[comp.os.msdos.programmer] Drawing a 'true' mouse cursor on an EGA/VGA in text mode.

a563@mindlink.UUCP (Dave Kirsch) (01/07/91)

Summary and announcement of code post.
--------------------------------------

Recently there was a discussion in the group comp.os.msdos.program about
the way Norton Utilities Version 5.0 does a 'true' mouse cursor arose. I
replied to a message by Brian K. W. Hook who indicated that he doubted
Norton changed the font on the fly the implement a 'true' mouse cursor in
text mode.  He stated he was 'baffled' by the way that Norton did it. I
stated that Norton did do it by changing the font on the fly, and that I
had written some routines to do it as well.

I orginally started working on the routines when I first saw the new
version of Norton's Utilities (version 5.0).  I was impressed with the
'true' mouse cursor it was drawing in text mode, and wanted to know if I
could write a set of routines to do the same thing.

Brian asked me for the routines, as well as a couple of other users, so I
cleaned them up, and otherwise prepared to unleash them on unsuspecting
Usenet victims. :)

These routines also illustrate interfacing to mouse driver function 12,
which seems to be a common question on comp.os.msdos.program (How to I do
interface to the mouse driver?).

I will mail the routines to whoever wants them.  They work with Turbo C 2.0
and MSC 6.0 and above.

Would anyone be so kind as to put these on an FTP site for me?
--
--
/// Dave 'Zoid' Kirsch UUCP: {uunet,ubc-cs}!van-bc!rsoft!mindlink!a563
Voice: (604) 585-8844        a563@mindlink.UUCP
                             Zoid@cc.sfu.ca
                       Vancouver, British Columbia
"In-no-sense?  Nonsense!" - The Art Of Noise.