Mail Archives: djgpp/1999/06/13/06:34:21
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 -