Date: Wed, 23 Oct 1996 13:15:21 +0200 (IST) From: Eli Zaretskii To: Lennart Steinke Cc: djgpp AT delorie DOT com Subject: Re: user defined mouse handler In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.