Date: Sun, 13 Jun 1999 11:38:33 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Sahab Yazdani cc: djgpp AT delorie DOT com Subject: Re: Mice problems.. In-Reply-To: <3761912B.933595F8@geocities.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.