From: Fabrice ILPONSE Newsgroups: comp.os.msdos.djgpp Subject: Re: Mouse in SVGA Mode Date: Wed, 24 Feb 1999 17:34:30 +0100 Organization: Universites Paris VI/Paris VII - France Lines: 36 Message-ID: <36D42A16.A1CB8DAE@asim.lip6.fr> References: <0dcce4634131829NET015S AT hetnet DOT nl> NNTP-Posting-Host: asim.lip6.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: fr,en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Airhead Zoom wrote: > > Hello everybody. > > I've had the same problem and solved it in the same way a few years ago, but > discovered that the mouse pointer 'skipped' pixels. > I mean by this, that when I moved the mouse ONE pixel, the mouse cursor moved > TWO pixels. This was only in the X-direction, not the Y-direction. > It could be a software problem (it was one of my first programs), but I'm not > sure. > Does anyone know how to solve this problem? Easy!! :) There are 2 functions of the mouse driver you can use to set the max X and max Y coordonates. You just have to set them to SCREENX and SCREENY (and even more SCREENX*w SCREENY*z and devide the return X and Y by w and z.) > I sure hope there's a better way than just reading the ports, because that > really is no fun! > (I just used interrupts) > > Greetz, > > Airhead Zoom of Dancing Pumpkin Productions -- ^ ^ ^ | | | +-+-+ Fabrice ILPONSE | email: fabrice AT asim DOT lip6 DOT fr | | -