Mail Archives: djgpp/1997/02/17/07:57:24
On Sun, 16 Feb 1997, DJ Delorie wrote:
>
> > Will somebody who sees these problems please try debugging them?
> > `uclock' works on MSDOS (at least for me), so I suspect that something in
> > it is incompatible with Windows. It reprograms the system timer, but
> > that in itself doesn't necessarily mean that it shouldn't work.
>
> uclock() will give negative numbers if the OS prevents it from
> reprogramming the timer chip (or resets it). The default clocking
so allegro problems are caused by reseting timer? So in case I will start
timing after I will init allegro timers everything should work?
I will try it..
> mode is a stupid 50% duty cycle that doesn't count linearly (it counts
> even numbers up to N, then triggers, then goes back and counts the odd
> numbers up to N, then resets).
>
> There is no way to get a meaningful result in this mode, and the clock
> works just fine in the other mode (count to N then pulse-trigger).
>
Honza
------------------------------------------------------------------------------
Have you browsed my www pages? Look at:
http://www.paru.cas.cz/~hubicka
Koules-the game for Svgalib,X11 and OS/2, Xonix-the game for X11
czech documentation for linux index, original 2D computer art and
funny 100 years old photos and articles are there!
- Raw text -