delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/22/03:37:02

Message-ID: <380FFCD6.5389@earthlink.net>
From: Rez <rividh DOT minusthispart AT earthlink DOT net>
X-Mailer: Mozilla 3.04 (Win16; I)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro slows down PC clock?
References: <00372b38 DOT 734663b2 AT usw-ex0101-005 DOT remarq DOT com>
Lines: 28
Date: Fri, 22 Oct 1999 05:54:54 GMT
NNTP-Posting-Host: 63.25.55.168
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread1.prod.itd.earthlink.net 940571694 63.25.55.168 (Thu, 21 Oct 1999 22:54:54 PDT)
NNTP-Posting-Date: Thu, 21 Oct 1999 22:54:54 PDT
Organization: EarthLink Network, Inc.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Clemens Valens wrote:
> 
> When I arrived this morning at the office, my PC clock had the correct
> time. Today I spend most of the day in DOS, programming using RHIDE,
> DJGPP and Allegro. At the end of the day my PC clock was about 1 hour
> and 25 minutes behind.
> 
> I haven't used any timer routines or interrupts in my program myself
> (that is, not that I know of), but I did use Allegro for mouse and
> graphics support.
> 
> To get a mouse pointer on the screen with Allegro you have to install
> the timer module (according to the Allegro docs). Does this slow down
> the PC clock? If so, how can I pre-/circum-vent this? Or is it maybe
> due to all the debugging I did today (a lot), i.e. a lot of installing
> and uninstalling Allegro?
> 
> Any enlightment would be appreciated.

I can't enlighten you, but I have noticed that sometimes (often enough
to be sure of the culprit) a couple apps that use Allegro basically stop
my PC's clock the whole time they're running. It seems to correlate at
least partly to how much disk thrashing they get into. Nothing else on
my system does this, and the system's clock is otherwise reliable and
fairly accurate (as PC clocks go :) And it's done this on two different
systems, so it's not just one set of hardware doing it.

~REZ~

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019