From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdd80,4e46f70df7df5843 X-Google-Attributes: gidfdd80,public X-Google-Thread: 1164f8,3f3f4e46f0994837 X-Google-Attributes: gid1164f8,public X-Google-Thread: ffc31,d8951083717b24d4 X-Google-Attributes: gidffc31,public From: Stuart Brook Subject: Re: PDP 11/93-94 Y2K problems Date: 1998/03/09 Message-ID: <3504947C.4875@concentric.net>#1/1 X-Deja-AN: 332495513 Content-Transfer-Encoding: 7bit References: <01bd3c66$7db6baa0$6214a6c3@turlington.unidec.co.uk> <6cf50h$7c0$1@nntp.ucs.ubc.ca> <1998Mar10.001032.17297@decus> <6e1j3d$lu$1@nntp.ucs.ubc.ca> Mime-Version: 1.0 Reply-To: sbrook@concentric.net Content-Type: text/plain; charset=us-ascii Organization: Concentric Internet Services Newsgroups: vmsnet.pdp-11,alt.sys.pdp11,comp.sys.dec OK ... The TOY clocks in Digital KDJ11-E based processors, and the TOY clocks in Mentec's processors are *Stupid* Which actually makes them good, and not a problem, so in fact the TOY clock problem can be worked around. The TOY clock assumes every 4th year is a leap year, so, because 2000 is a leap year, this is perfect. It will be a problem in 2100, but who cares. The user sets the day of the week in these TOY clocks, so the days just keep rolling over correctly, once set. The INFAMOUS toy clock problem is not really a TOY clock problem, but, rather, a problem with the KDJ-11E console firmware. It assumes an acceptable date range of 1990 through 2009 for starters, you cannot enter a valid date outside that range. Next, it assumes that 2000 is NOT a leap year, so if you reboot on Feb 29, 2000, it declares that an illegal date, and sets the year to 1-Jan-19XX (useless date) Finally, it calculates the day of the week from the DATE you enter and stuffs that in the TOY clock. But for the year 2000, it calculates the day of the week incorrectly, so any time you extract the TOY clock D.o.w. during 2000 it gets it wrong. The Mentec console firmware is not so inflicted. There is one simple answer to this problem, as you noted with your V4.4 system ... don't get the date from the TOY clock ... set it manually! The ONLY time any of the systems reference the TOY clock is at boot, or with selected TIME commands. The rest of the time, the O/S calculates the time totally independently of the TOY clock. A new version of RSX-11M+ could well have a workaround for the KDJ-11E problems ... to allow its continued use, by predicting its behaviour in the year 2000. The other operating systems should have the time set manually if rebooted on Feb 29, 2000. Other than that, it is NOT the major problem everyone wants to make out, unless they are specifically using the TOY clock for other purposes. I've never encountered a flat battery yet. Stuart