[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [MiNT] ext2fs



> > Guido (or someone else) said those variables would be removed soon. I
> > don't know why the variables should be removed, though.
> 
> Because they are in DOS format, but MiNT's time functions are moving to the
> UNIX based time representation.

Right, now I recall it: FreeMiNT will keep the date/time in UNIX format
internally. The code for converting this UNIX format into those two short
ints (GEMDOS format) will still be there (and will be used when an app
will call TGettime/Tgetdate) but people here on the list said this code
could not be called once per second (as I wanted) to update the old
GEMDOS-like vars because it would slow their machines down unnecessarily.

That was the main reason at the end of the discussion. And Julian came up
with the idea of the new, MiNT friendly daemon (instead of DTCOOKIE hack
that won't work once the UNIX based time/date representation becomes
reality). This way people will be able to decide whether to support the
DATE/TIME cookie (and get a 0.01% slowdown) or not.

Petr