Message-ID: <38A3779D.567916CF@geocities.com> From: Sahab Yazdani Organization: PheonixSoft Inc. X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Mouse cursor in SVGA mode References: <87vqo6$dh4$1 AT zingo DOT tninet DOT se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 36 Date: Thu, 10 Feb 2000 21:44:45 -0500 NNTP-Posting-Host: 209.103.57.160 X-Complaints-To: abuse AT sprint DOT ca X-Trace: newscontent-01.sprint.ca 950237422 209.103.57.160 (Thu, 10 Feb 2000 21:50:22 EST) NNTP-Posting-Date: Thu, 10 Feb 2000 21:50:22 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com This will not work, as the mouse driver doesn't know where to plot the graphics information in SVGA mode (as not all SVGA modes start at address 0xA000 (as far as I understand). So you have to define your own handler and inside the handler plot the cursor to the screen. I'm sure other people on this newsgroup can explain it better than I Marcus wrote: > > Hi! > I wonder how to get a mouse curson in the SVGA mode. I think it's no default > cursor so I have to specify the cursor bitmap. Am I right? The problem is > that I can't get it work. I don't know how to do this in DJGPP and if it's > enough to change the bitmap. I attach the specification for the IRQ > function. Thanks for all help... > > "INT 33 - MS MOUSE v3.0+ - DEFINE GRAPHICS CURSOR > AX = 0009h > BX = column of cursor hot spot in bitmap (-16 to 16) > CX = row of cursor hot spot (-16 to 16) > ES:DX -> mask bitmap (see #03170) > > Format of mouse mask bitmap: > Offset Size Description (Table 03170) > 00h 16 WORDs screen mask > 10h 16 WORDs cursor mask" > -- > /regards Marcus -- *********************************************************** * Sahab Yazdani * "We are all who we are, no more and no * * Thornhill S.S * less" - al'Lan Mandragoran * *********************************************************** * http://pheonixware.8m.com/ * ***********************************************************