delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/12/22:04:41

Xref: news-dnh.mv.net comp.os.msdos.djgpp:4283
Path: news-dnh.mv.net!mv!news.sprintlink.net!cs.utexas.edu!academ!news.sesqui.net!rice!news!sandmann
From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Mouse code - What am I doing wrong?
Date: Wed, 10 Jan 1996 21:11:44 CST
Organization: Rice University, Houston, Texas
Lines: 7
Message-ID: <30f47ff0.sandmann@clio.rice.edu>
References: <4cvd2h$etf AT brickbat DOT mindspring DOT com>
Reply-To: sandmann AT clio DOT rice DOT edu
NNTP-Posting-Host: clio.rice.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> 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.
> What an I doing wrong?

Calling int86x.  Don't do that.  You're passing a real mode segement.
Use one of the dpmi simulate interrupt subroutines instead.
And don't forget to lock the memory.

- Raw text -


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