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

Re: [MiNT] ()



> > >I have just added the creating of "DATE" and "TIME" cookies into MiNT.
> > 
> > Hm, excuse me, but what are these two cookies for?
> 
> they're very useful for TSR programs that can't read actual GEMDOS date
> and time because calling TGettime()/TGetdate() is forbidden from an
> interrupt. These cookies are already provided by BigDOS or by the
> DTCOOKIE.PRG (which is accompanied by a DTCOOKIE.TXT with long technical
> description of the whole problem in German).

Right, but where is the advantage if reading system date and time from an
interrupt? This sounds like a very _bad_ style of programming. For now I
can't imagine a program that would need that - in fact MiNT has enough
mechanisms to avoid using interrupts at all - so can you help?

--
Konrad M.Kokoszkiewicz
|mail: draco@mi.com.pl                  | Atari Falcon030/TT030/65XE |
|http://www.obta.uw.edu.pl/~draco/
|http://draco.atari.org

** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** U pospolstwa normalne jest, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.