Mail Archives: djgpp/1994/03/09/18:03:48
Mouse handler & kbhit
I have coded a mouse handler that stores mouse events (ala X Windows)
in a queue using '_go32_dpmi_allocate_real_mode_callback_retf'.
My test program polls the mouse queue waiting for an event, and display it.
Also the keyboard is examined to exit the program with a keystroke.
All is OK when I do not check the keyboard or when the keyboard polling is
done using 'kbhit'.
If I use 'bioskey' or my own '__waitingkey' function (in fact the same
that bioskey) the program always hangs the machine sometimes saying that
interrupt 0x0d or 0x2f is not supported.
Any idea?
--
Enrique Riego
ers AT taric DOT es
- Raw text -