Date: Tue, 18 Jul 1995 13:49:23 +0300 (IDT) From: Eli Zaretskii To: "David A. Bice" Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Timer routines... On 17 Jul 1995, David A. Bice wrote: > I'm seeking to port a game I'm writing to DJGPP, and I was wondering > if there exist any timer routines for DJGPP, suitable for game > programming. Basically, I just need them to consistently time the > movement delays, palette rotations, and other animations in the game. Look on any SimTel mirror, in the msdos/c directory, file PCTIME12.ZIP. This has working examples of timer routines which will compile under DJGPP. You can start from them and add whatever functionality you need. Be aware, though, that in DJGPP v1.x, a program which pages to disk might crash if it hooks hardware interrupts, because there is no way in v1.x to lock the pages touched by the interrupt handler, or even the handler's code itself.