www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/02/23/07:36:02

To: DJGPP AT sun DOT soe DOT clarkson DOT edu
From: Stuart Herbert <S DOT Herbert AT sheffield DOT ac DOT uk>
Date: 23 Feb 94 12:05:51
Subject: Re: GO32 interrupt woes

> /* 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019