🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #8621

Re: Controlling mouse cursor

#8621
From: kevin.laux
Date: Mon, 25 Mar 1991 15:24
31 lines
1423 bytes
In article <1991Mar25.081620.10977@gpu.utcs.utoronto.ca>, barry@gpu.utcs.utoronto.ca (Barry Lay) writes:
	[trying to change mouse cursor shape deleted]

> struct POINTER_MASKS
> {
>     char ScreenMask[8], CursorMask[8];
      ^^^^	      ^		     ^
      int	     16             16
The masks are bit mapped blocks of 16 bit words
> };
> 
> #define MOUSE 33
		^^
		0x0033
Must be HEX not decimal; you were calling Int 21h Function 09h (display string),
which is why the mouse cursor never changed.

	[code deleted]

>     int86x( MOUSE, &regs, &regs, &sregs );
> }

Anyway, once you make the above changes, the code should work ok.  Your next
possible problem will be getting the data values in the masks to work out
right :-).

-- 
________________________________________________________________________________
	R. Kevin Laux				Email: rkl1@hound.att.com
	AT&T Bell Labs				Voice: (908) 949-1160
	Holmdel, NJ 07733			Fax:   (908) 949-0959
Technical Details
Message-ID: <1991Mar25.152449.26206@cbnewsh.att.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsh!rkl
References: <1991Mar25.081620.10977@gpu.utcs.utoronto.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsh!rkl
From: rkl@cbnewsh.att.com (kevin.laux)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: Controlling mouse cursor
Message-ID: <1991Mar25.152449.26206@cbnewsh.att.com>
Date: 25 Mar 91 15:24:49 GMT
References: <1991Mar25.081620.10977@gpu.utcs.utoronto.ca>
Distribution: na
Organization: AT&T Bell Laboratories
Lines: 31