Mail Archives: djgpp/1994/02/23/07:36:02
> /* DJGPP list subscribers,
> We would like to use GCC/GO32 for a real-time graphical program
> (read "game") but are having trouble getting interrupts when the program
> is in real mode (e.g., getkey in the BIOS). This program demos the
> problem. I believe this may also be the problem with the sound blaster
> example (oak.oakland.edu pub/msdos/djgpp/sblaster.zip). I anyone can
> confirm that this is a GO32 problem or just stupidity on our part we
> would love to hear from you! - Thanx!
Can I suggest that you avoid using getkey, and read the keyboard interrupt
(int 0x09) instead? If you've ever had the misfortune to play X Wing on
keyboard, you'll know what I mean - the bios routines are slow, and when
playing X Wing, you have trouble blasting anything because the keyboard
buffer fills up and all you get is the BIOS beeping at you.
Stuart
- Raw text -