Path: 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 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, ®s, ®s, &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