From: "Rob Kramer" Newsgroups: comp.os.msdos.djgpp Subject: System clock problem. Date: Fri, 16 Feb 2001 11:48:33 +0800 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 203.117.157.193 Message-ID: <3a8ca532$1@news.starhub.net.sg> X-Trace: 16 Feb 2001 11:57:38 +0800, 203.117.157.193 Organization: StarHub Internet Pte Ltd To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, My application shows a clock on a graphics screen, amongst other things. Recently I've had a problem that on some devices (after 2.5 years of perfect operation) the clock starts speeding up mysteriously. It will tick minutes about twice as fast as normal. My program gets the time from the time() call, which ultimately gets it from Int. 0x21 function 0x2a/0x2c as far as I can see in the DJGPP sources. Anybody has a clue what might cause the clock to speed up? The weird thing is that if I go back to DOS, the system time is perfectly OK. Doesn't the DOS time command use int 21 as well? There's only one RTC, right.. If I start my application again, it's fine (but only for a few hours/days). Thanks, Rob