Mail Archives: djgpp/1995/07/18/07:10:40
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.
- Raw text -