[hatari-devel] IKBD clock year
Thomas Huth
huth at users.berlios.de
Tue Apr 19 23:22:15 CEST 2011
Am Tue, 19 Apr 2011 23:07:32 +0200
schrieb Thomas Huth <huth at users.berlios.de>:
> Am Tue, 19 Apr 2011 21:56:58 +0300
> schrieb Eero Tamminen <oak at helsinkinet.fi>:
>
> > > I have just fixed it in CVS, so they are now respectively handled
> > > as 2000 to 2079. The range 80 to 99 is still handled as 1980 to
> > > 1999.
> > >
> > > So my question is:
> > > Does Hatari return 0xb1 intentionally, or is this a bug ?
> >
> > I think it's a bug. Could you try the attached patch?
>
> Looking at the comment that you've removed with your patch, this was
> not a bug in Hatari but the emulated behaviour of the real machine...
> Have you tried your change with original TOS (without RTC) to see
> whether it still shows the correct date?
I've just checked it ... and yes, at least TOS 2.06 now calculates the
year wrongly, new files get the timestamp 2039 instead of 2011. So
please revert your change!
Thomas
More information about the hatari-devel
mailing list