Mail Archives: djgpp/2002/06/27/15:46:42

From: gienek AT zsk DOT lub DOT pl (gienek)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: VESA mouse problem
Date: Thu, 27 Jun 2002 18:47:26 GMT
Lines: 29
Sender: daro_news AT poczta DOT onet DOT
Message-ID: <>
References: <20020627095451 DOT 21975 DOT 00000345 AT mb-ms DOT aol DOT com>
X-Trace: 1025203516 2196 (27 Jun 2002 18:45:16 GMT)
X-Complaints-To: abuse AT onet DOT pl
NNTP-Posting-Date: 27 Jun 2002 18:45:16 GMT
X-Newsreader: Forte Free Agent 1.21/32.243
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On 27 Jun 2002 13:54:51 GMT, platonman1 AT aol DOT com (Platonman1) wrote:

>I have a problem with the mouse in VESA modes.
>I'm trying to use it in mode 101h (640 * 480 256 colors), using interrupt 33h
>But the coordinates returned arent correct :
>* x goes from 0 to 80
>* y goes from 0 to 25
>Like text mode 03h..
>Anyone can help ??

Try this:

void MouseRange(unsigned int x1,unsigned int y1,unsigned int
x2,unsigned int y2)
__dpmi_regs r;;;

to set the range of mouse (like MouseRange(0,0,640,480)).


- Raw text -

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