Date: Thu, 17 Apr 1997 10:01:14 +0300 (IDT) From: Eli Zaretskii To: Jeff Weeks cc: djgpp AT delorie DOT com Subject: Re: mouse detection in DJGPP. Need help. In-Reply-To: <5j3pro$pn6@nr1.toronto.istar.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.