Subject: It is 1970 years now?
To: None <port-atari@netbsd.org>
From: Junya Takeuchi <mail@jtake.net>
List: port-atari
Date: 01/26/2001 23:44:11
Hello,
I am using NetBSD1.41 with FALCON030(with Phantom 25Mhz)
In 2001 becoming a serious problem occurred.
The date becomes to 1970/01/01.
It is the problem of karnel?
sys/arch/atari/dev/clock.c
418 if(clkregs[MC_SEC] > 59)
419 return(0);
420 if(clkregs[MC_MIN] > 59)
421 return(0);
422 if(clkregs[MC_HOUR] > 23)
423 return(0);
424 if(range_test(clkregs[MC_DOM], 1, 31))
425 return(0);
426 if (range_test(clkregs[MC_MONTH], 1, 12))
427 return(0);
428 if(clkregs[MC_YEAR] > (2000 - GEMSTARTOFTIME))
429 return(0);
There is not a mistake in this description?
Regards,
Junya Takeuchi ( mail@jtake.net ) http://jtake.net