From: "Trond Bjerksund" Newsgroups: comp.os.msdos.djgpp References: <3 DOT 0 DOT 6 DOT 16 DOT 20000103113903 DOT 2b37b688 AT mail DOT cybercable DOT fr> <3 DOT 0 DOT 6 DOT 16 DOT 20000104110739 DOT 359f5942 AT mail DOT cybercable DOT fr> Subject: RE: y2k problem and BIOS-Editor Lines: 37 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Wed, 5 Jan 2000 11:30:34 +0100 NNTP-Posting-Host: 194.248.7.3 X-Complaints-To: news-abuse AT online DOT no X-Trace: news1.online.no 947068313 194.248.7.3 (Wed, 05 Jan 2000 11:31:53 MET) NNTP-Posting-Date: Wed, 05 Jan 2000 11:31:53 MET Organization: Telenor Online Public Access To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id HAB03920 Reply-To: djgpp AT delorie DOT com Michelle Konzack skrev i meldingsnyheter:3 DOT 0 DOT 6 DOT 16 DOT 20000104110739 DOT 359f5942 AT mail DOT cybercable DOT fr... > Hello and good morning. > > The Computer runs under Linux... > > OK, I know DR-Dos is working very well ;-)) but my Mainboards are jumping > not to 1980 but 1900 ;-)) which mean the "19" is hardcoded in the Bios. > > So if I find it, I can continue to use the mainboards. > If the year is wrong, and the rest of the date/time is ok, you might try my date adjust program. See htttp://members.tripod.com/trondb/date2.zip It comes with source (and precompiled 16bit dos executable). It even works in Linux. I have an '95 Award bios. The only problem with this one is that it changes the year byte to 94 when booting. My program set realtime clock (via bios interrupt) + msdos time in dos and just calls stime() for non-msdos. I use it to correct the year from 2094 in Dos and from 1994 in Linux. By the way you should avoid touching the realtime clock directly. Yes, I can send you a 'cmos ram' program which almost killed a '286 some years ago... (Hint: outportb(0x70,index); val=inportb(0x71); ) Good luck! -Trond.