Mail Archives: djgpp/1997/01/20/13:19:00
I'm trying to program the mouse under djgpp and it is giving me some
problems. I've programmed the mouse many times before in real mode
compilers and it works just fine. Particularly, I like to use the
relative mouse position function (0x0b with int 0x33). When I call this
interrupt in djgpp I get garbage numbers returned in cx and dx (nothing
close to the number of mickeys relative to last position.) I tried using
int86 and __dpmi_int, but I have had no luck. I haven't tried writing an
assembly version, but I suspect I would get the same problems. All other
mouse functions work perfectly. Any help on this problem (or an
alternative approach) would be greatly appreciated.
Fustrated.
"I've come to realize that the transition to protected mode is not as
smooth as some would have me believe."
- Raw text -