Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!kth!sunic!dkuug!dde!kbe From: kbe@dde.uucp (Kjeld Borch Egevang) Newsgroups: comp.sys.ibm.pc Subject: Re: How to set clock time? Message-ID: <199@mother.dde.uucp> Date: 4 Aug 89 09:47:45 GMT References: <89210.221625HJW2@PSUVM> Organization: Dansk Data Elektronik A/S, Herlev, Denmark Lines: 20 HJW2@PSUVM.BITNET writes: >My AT clone (DTK motherboard, DTK BIOS) has a built-in, battery operated clock >which is 5 minutes slower per day. I have tried to use setup program to reset >the clock time but all I could do is to set the current time not the clock >speed. So, every once in a while, I just set the time to keep it accurate. I >am wondering if there is a way to set the clock speed just like that in an >ordinary watch? It does not affect the system performance though. Write a program setting the hardware-clock and call it from AUTOEXEC.BAT. The necessary interrupt is described in the recently posted list in comp.binaries.ibm.pc. You'll need some day-to-seconds routines in order to find the number of seconds since last setting and the add the percentage necessary (hey, perhaps I ought to write such a program myself!). The original IBM AT uses a Motorola hardware clock (I'm very unsure, but I think it's called 6318) with a fixed clock :->, so tuning is not possible. | UUCP: kbe@dde.dk (Kjeld Borch Egevang) | Dansk Data Elektronik | or ...mcvax!enea!dkuug!dde!kbe | Denmark