Hey all!
Hmm.. I always thought that generally speaking, PCs were fine when it came to
the so-called Year 2000 problem. However, while perusing the CMOS memory map
that comes with Ralf Brown's interrupt listing, I noticed it said that the
year
in the CMOS is stored as a BCD ranging from 00 to 99. Has this been fixed in
more recent CMOSs, or are they all like this? I figured they would all have
to
be like that, because otherwise Ralf would've had it in his list.
I decided to write a test program which displayed the date/time according to
the CMOS and the date/time according to the DOS interrupts, and set them to
just before 1/1/2000 and let them both tick over. Of course, the CMOS said
1/1/00, and the day of week was Monday, which is incorrect, as it should be a
Saturday. The Monday would've been correct if it was 1/1/1900 though. The
DOS
interrupts had the correct information, including the year. I rebooted, ran
the
program again, and DOS still reported 2000. How did DOS get the year as 2000
when in the CMOS it said 00?? Oh, and the CMOS setup said 2000.
It would seem, then, that most PCs, even up to this day, have a problem. Of
course, I could be completely wrong. Can anyone shed some light on all of
this?
Sam
... I am Drunk of Borg. Resultance is floor tile.
--- FMail/386 1.20+
---------------
* Origin: Comms Barrier BBS +61.3.9585.1112, +61.3.9583.6119 (3:632/533)
|