Re: A92: Keyboard Interrupt


[Prev][Next][Index][Thread]

Re: A92: Keyboard Interrupt




Edward Plese wrote:
> 
> In the 3d raycasting game I am working on, it runs at a decent frame
> rate normally, but as soon as I hold down one of the arrow keys or any
> key at all, the frame rate is at least cut in half!  I'm sure this is
> due to the keyboard interrupt service routines.  Is there any way to get
> rid of this slowdown?

Do you read the keys using the keyboard matrix? If so, you can disable
all interrupts (except auto-int 7, of course). Otherwise, you'll have ti
disable auto-int 2 (or is it 1?).


References: