Mail Archives: djgpp/1997/04/17/03:19:22
On 17 Apr 1997, Jeff Weeks wrote:
> Hi, I've been converting some of my old TC++ routines into DJGPP for a
> long time and thought I'd tackle my mouse class, figuring it'd be real
> easy. It hasn't been :). I can't get it to detect the presence of a
> mouse. I've tried three different things.
Who says that when the mouse isn't present, Int 33h should point to a
NULL address? It could point to an IRET instruction, for example.
The usual way to detect a mouse is just use Int 33h, function 0.
Every program I saw does it this way. I suggest you do that also.
- Raw text -