Mail Archives: djgpp/1996/10/23/08:04:53
On Tue, 22 Oct 1996, Lennart Steinke wrote:
> > 1) i'm using _go32_dpmi_allocate_real_mode_callback_iret() and set
> > es to rm_segment and dx to rm_offset, call __dpmi_int()...
> > Everything seems to work (no function does return a failure),
> > but my handler isn't called.
First, don't use `int86'; use `__dpmi_int' throughout. `int86' has some
subtle aspects regarding the 32bit/16bit registers issues which might be
the cause of your problems.
Second, I think you should use _go32_dpmi_allocate_real_mode_callback_retf
instead of _go32_dpmi_allocate_real_mode_callback_iret, since the mouse
driver expects far function, not an interrupt handler.
- Raw text -