Date: Thu, 8 Apr 1999 12:10:37 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Max Erhard <erhard AT banstead DOT u-net DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: mouse
In-Reply-To: <TZsO2.165$6C.20503@newsr2.u-net.net>
Message-ID: <Pine.SUN.3.91.990408121006.29868j-100000@is>
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 Tue, 6 Apr 1999, Max Erhard wrote:

> How can I access the mouse on INT33h, all I'm getting so far is general
> protection faults, I have worked out that I cannot do this:-
> 
> regs.x.ax = 3;
> int86(0x33,&regs,&regs);

int86 is a trouble generator; don't use it.  I suggest to use the
function __dpmi_int instead.  See section 18.1 of the DJGPP FAQ list
for the details.