www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/11/13:04:31

Date: Thu, 11 Jan 1996 19:52:58 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Robert Henry <robhenry AT borg DOT mindspring DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: Mouse code - What am I doing wrong?

On Tue, 9 Jan 1996, Robert Henry wrote:

> I'm trying to use int 33 function C to set up an interrupt handler for
> the mouse. The following code causes a GPF when int86x is called.

It is usually wrong to assume int86x supports any interrupts function 
which requires a pointer to be passed via the registers.  int86x only 
supports a small subset of these.  (The reasons for this are explained in 
the DJGPP FAQ list, available as faq102.zip from the same place you get 
DJGPP, section 18.1.)  You should use _go32_dpmi_simulate_int() function 
instead, because it supports ANY interrupt function.

- Raw text -


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