From mint-bounce@lists.fishpool.fi  Mon Jan  5 10:04:12 2009
From: Eero Tamminen <oak@helsinkinet.fi>
Organization: Koti
To: Frank Wille <frank@phoenix.owl.de>
Subject: Re: [MiNT] Comments on the vbcc manual
Date: Mon, 5 Jan 2009 17:00:52 +0200
User-Agent: KMail/1.9.9
Cc: mint@lists.fishpool.fi
References: <200901042350.40896.oak@helsinkinet.fi> <200901051538.29942.oak@helsinkinet.fi> <4962163E.8010907@phoenix.owl.de>
In-Reply-To: <4962163E.8010907@phoenix.owl.de>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200901051700.53049.oak@helsinkinet.fi>
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: oak@helsinkinet.fi
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

Hi,

On Monday 05 January 2009, Frank Wille wrote:
> > Btw. Programs compiled against MiNTlib work also on plain TOS, so the
> > users might expect this also from the programs compiled against the
> > vbcc library MiNT version.  The section on MiNT could mention whether
> > this is true.
>
> Yes, it is true, of course. I added a note about it.
>
> The documentation should be much better, but I was in a hurry before
> the release. :)
>
> Do you know if there is a useable tmpfile() or clock() implementation
> in MiNT (or even plain TOS)? I guess that clock() could be done
> easily for TOS, as there is no real multitasking.

I haven't really used (programmed) Atari or MiNT for almost ten years[1],
so I don't know, but I added CC to the MiNT mailing list.

On quick googling I found out that MiNTlib initialization code has something
for (emulating?) clock().  I think some "emulated" value could be better
than none at all because I've seen quite a lot of (old) code that for
example initializes the random generator with clock().

As to tmpfile(), maybe vbcc library could have a somewhat insecure
default implementation for it?


Btw. does somebody on the list know whether anybody's already ported GEMlib 
for the vbcc compiler?


	- Eero

[1] I follow the mailing list though and have intended to check MiNT
     out again when Hatari emulator HD image support improves a bit...


