Date: Mon, 20 Jan 1997 12:55:37 -0500 (EST) From: Brien Donald C <6dcb AT qlink DOT queensu DOT ca> To: djgpp AT delorie DOT com Subject: Problems programming the mouse. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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."