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 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.