[hatari-devel] Mega ST clock

Vincent Rivière vincent.riviere at freesbee.fr
Wed Apr 20 17:15:26 CEST 2011


Hello.

I'm currently fixing EmuTOS which has various bugs related to the clock.
Now I work on the Mega ST clock.

I notice that Hatari returns the year 31 for 2011. By looking at Hatari 
sources, I see:

src/rtc.c, function Rtc_YearTens_ReadByte():
IoMem[0xfffc39] = (SystemTime->tm_year - 80) / 10;

Is that 80 offset something official ?

-- 
Vincent Rivière



More information about the hatari-devel mailing list