Mail Archives: djgpp/1999/10/22/03:37:02
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 -