www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/26/14:34:34

From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
To: bhughes AT fia DOT net DOT inti DOT edu DOT ar, djgpp AT delorie DOT com
Subject: Re: VESA Mouse support
Date: Tue, 26 Nov 1996 16:03:12 +0300 (GMT)
Message-ID: <9611261603.aa10451@ailin.inti.edu.ar>

Hi Brad:

You wrote:
>unfortunately, vesa svga doesn't have it's own mouse pointer.  this is
>actually a good thing however because even in hi-res modes (e.g. 800x600
>and up) the mouse driver still reports the mouse coordinates as 640x480
>(not a good thing).  scaling isn't really a good solution (since some
>pixels won't be "clickable")
>       workaround:
>       the mouse driver has a spiffy function (0Bh) that doesn't tell you
>where the mouse is, but how far it has moved.  with this you can code
>your own mouse routine for svga modes (i know... i've done it... still
>working on getting a protected mode interrupt based interface... instead
>of wasting time and speed with repeated _dpmi_int() calls)
I'm using 640x800 (aprox.), in standard VGA and the mouse driver reports these 
coordinates, of course the pointer is drawed by me, I don't remmember the 
function but the drivers have a service to set the X and Y limits.

SET

********************************************************************************
Salvador Eduardo Tropea (SET) - salvador AT inti DOT edu DOT ar
Work: INTI (National Institute of Industrial Technology) Sector: ICE 
(Electronic Control & Instrumentation)
Post (Home): Curapaligue 2124 - Caseros (1678)- Buenos Aires - Argentina 

- Raw text -


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