Subject: Re: Kernels with y2k+1 fix available
To: Mike <mike@cpdist.com>
From: Leo Weppelman <leo@wau.mis.ah.nl>
List: port-atari
Date: 02/06/2001 21:39:28
On Wed, Jan 31, 2001 at 04:03:13AM -0500, Mike wrote:
> Gee, no wonder my date kept coming up as 1970 everytime I rebooted. I thought
> the RTC battery died in the TT. Nobody's perfect eh? I guess I didn't give
> it too much thought. 8^)
So now you know for sure I'm not in the battery selling business ;-)
> Oh well I took a look in the clock.c and I'll try recompiling the kernel
> after nuking the lines after Leo made mention of it:
>
> if(clkregs[MC_YEAR] > (2000 - GEMSTARTOFTIME))
> return(0);
The 'official' change is:
if(clkregs[MC_YEAR] > 99)
return(0);
But I must admit that I don't have a datasheet handy, so I really don't
know if failing this check is possible ;-)
Welcome back to 2001,
Leo.