www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/25/16:41:16

From: "Bradley T. Hughes" <bhughes AT fia DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: VESA Mouse support
Date: Mon, 25 Nov 1996 10:29:09 -0600
Organization: First Internet Alliance/First Internet Franchise Corp.
Lines: 14
Message-ID: <3299C955.1462@fia.net>
References: <01bbda26$9d825f40$0100007f AT hiway DOT co DOT uk DOT hiway DOT co DOT uk>
Reply-To: bhughes AT fia DOT net
NNTP-Posting-Host: ts18p1.fia.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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)

any q's, post here or email me...
Brad

- Raw text -


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