🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #1899

int 33h (mouse) services question

#1899
From: Brian Ostergren
Date: Tue, 26 Jan 1993 01:04
14 lines
1198 bytes
 CDS>    Is there a service in int 33h for programming a new bitmap into
 CDS> the mouse cursor?  Or, can someone direct me to a place where I
 CDS> can grab the int33h list.  Thanx in advance for any help!

        Yes there is. You must have an array[0..31] of word to store the bitmap in. The cursor is 16x16 so, the first 16 words show the what should appear white and the second 16 words show where the background should show through. Or it could possibly be the other way around, I haven't used it for a while so I don't remember. The registers should be set the following way:
 AX:=9;
 BX:=hsx; {hsx being the x-coordinate of the "hot-spot"}
 CX:=hsy; {same as hsx except for y}
 DX:=ofs(cursorarray[0]);
 ES:=seg(cursorarray[0]);
And then you must call int 33h.


 * Origin: NineJackNine (1:121/99)
Technical Details
Message-ID: <728017105.0@njackn.njackn.uucp>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!spool.mu.edu!uwm.edu!daffy!uwvax!gorgon!fullfeed!njackn!FredGate

Show Full Headers
Complete Article Headers
From: Brian.Ostergren@njackn.uucp (Brian Ostergren)
Sender: FredGate@njackn.uucp
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!agate!spool.mu.edu!uwm.edu!daffy!uwvax!gorgon!fullfeed!njackn!FredGate
Newsgroups: rec.games.programmer
Subject: int 33h (mouse) services question
Message-ID: <728017105.0@njackn.njackn.uucp>
Date: 25 Jan 93  20:04:30 EST
Lines: 14