From: lonniem AT cs DOT utexas DOT edu (Lonnie McCullough) Newsgroups: comp.os.msdos.djgpp Subject: Re: MOUSE Function Date: Wed, 17 Sep 1997 22:23:51 GMT Organization: The University of Texas at Austin, Austin, Texas Lines: 27 Message-ID: <342056e0.1263074@newshost.cc.utexas.edu> References: <01bcc13a$714766e0$d7b4f482 AT ast> NNTP-Posting-Host: resnet-47-68.dorm.utexas.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 14 Sep 1997 18:18:55 GMT, "Jakob" wrote: >Hello, > >could someone please give me a full explanation about how to set a graphic >mouse cursor, in DJGPP. > >thanx, > >// Jakob Well this is a complicated question. If your using Allegro then it's really easy but I suspect you mean without Allegro. A default pointer is provided only in standard VGA modes by the mouse driver. For all other modes (SVGA / VESA modes) you must hook into or poll the mouse driver to get information about the current (x,y) coordinate of the mouse pointer. This is a whole other subject completely. After getting current pointer location you then have to draw the mouse on the screen. But this is only in non-VGA modes. If you want a pointer in Mode 13h then just initalize the mouse driver and it will magically appear. Check out Ralf Brown's interrupt list for exact details on all this. Lonnie McCullough lonniem AT cs DOT utexas DOT edu