Mail Archives: djgpp/1996/10/17/17:38:32
limabone wrote:
>
> I am new to djgpp and programming in protected mode and I was wondering
> if anyone had any source to a simple timer function. Is it alot
> different from doing it in real mode, which is pretty simple.
You should check out the Allegro library, which has source
code to handle the timer at the hardware level. Also, it has
some nice interfaces to make dealing with the timer-based
callbacks in C very easy.
I can't remember where I got it from, but I've got a copy of the
Allegro library on my ftp site at:
ftp://ftp.bird.org/pub/alleg21.zip
Tim Bird
- Raw text -