delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/13/06:34:21

Date: Sun, 13 Jun 1999 11:38:33 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Sahab Yazdani <beyonder69 AT geocities DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Mice problems..
In-Reply-To: <3761912B.933595F8@geocities.com>
Message-ID: <Pine.SUN.3.91.990613113815.17906Y-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Fri, 11 Jun 1999, Sahab Yazdani wrote:

> I have written a mouse event handler library (in C++) to control the
> mouse.  The weird thing is that the code seems to work (no GPFs) but it
> just doesn't do the write thing.   It grabs some registers (AX, BX, CX,
> DX, SI, DI ) 

Are you using int86 in your driver?  If so, you might be hit by the
problems with 16-bit as opposed to 32-bit registers, see section 18.1
of the FAQ for details.

In general, I suggest to use __dpmi_int instead of int86, the former
is much safer in such cases.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019