🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6245

Re: programming in a mouse interface

#6245
From: Joe Huffman
Date: Thu, 31 Dec 1992 20:52
24 lines
1359 bytes
pdh@netcom.com (Phil Howard ) writes:

>What is the typical way this kind of thing is done?  Do programs actually
>trap the serial signals sent by the mouse itself, or do they depend on the
>int 33h functions?

I strongly suggest you use int 33h subfunction 12 to have the mouse driver
call your code to handle the mouse events.

>I notice the int 33h functions mostly deal with a row and column, and I
>assume this refers to the existing video mode.  Can the mouse drivers
>handle all the video modes at least through to 1280x1024 in terms of
>knowing correctly the number of columns and rows?  Or do you HAVE to use
>functions 7 and 8 to tell the driver?

Use subfunction 12 and draw the mouse cursor yourself.  I don't know of
any mouse drivers that know of all the various super VGA modes.

Alternately you can use a graphics library that does all this for you.

Flash Graphics from FlashTek, Inc. is one such library...
-- 
netcom!proto!joe
joe@proto.com
Technical Details
Message-ID: <1992Dec31.205206.1244@proto.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!proto!joe
References: <1992Dec31.062053.2414@netcom.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!netcomsv!proto!joe
From: joe@proto.com (Joe Huffman)
Subject: Re: programming in a mouse interface
Organization: FlashTek, Inc.
Date: Thu, 31 Dec 1992 20:52:06 GMT
Message-ID: <1992Dec31.205206.1244@proto.com>
References: <1992Dec31.062053.2414@netcom.com>
Lines: 24