Mail Archives: djgpp/2000/10/05/18:41:18
> From: "Peter Remmers" <Peter DOT Remmers AT t-online DOT de>
> Newsgroups: comp.os.msdos.djgpp
> Date: Thu, 5 Oct 2000 11:35:34 +0200
> >
> > Are you sure the program indeed locks up?
>
> Yes, I'm sure. The counters on the screen don't count up
> anymore, which means the interrupt handler doesn't get called
> anymore. Also, the keytest function doesn't print any codes,
> and Ctrl-Break, which normally brings me back to rhide, doesn't
> work either.
>
> > What happens if you press another key after one of the above keys?
>
> Nothing. I don't even get an interrupt for the break-code of the
> shift key. The make-code is the last thing that happens.
How about locking everything that the interrupt handler touches? Did
you do that? The code you posted doesn't show.
> If I process every key in my ISR myself, and stuff the raw scancodes
> into the BIOS keyboard buffer, my keytest() really gets the raw
> codes, and ALL keys, including shift and num-lock etc. DO work.
Did you try to disable the keyboard hooking in the DJGPP startup code?
If so, did it change anything?
- Raw text -