C/SVGA Mouse
Expert: Prince M. Premnath - 11/6/2006
QuestionI wants to work with Mouse in SVGA. I am now using Int 10
with function 0x4f02 and mode 0x101 (sometimes 0x101 to 0x11B) to initialize graphics driver. I used 0x33 for loading mouse in VGA. But
when I used this in SVGA it is not visible, but when I get the
positions by moving the mouse it gives only 0 to 640 in x position and
0 to 200 in y positioin. Please help. I am using turboc in windows
2000.
AnswerDear Babu !
Even i met with the same problem when i first started programming with SVGA , i can't see the mouse pointer. later i come to know mouse pointer is not avilable with VESA
Its a bit difficult to implement mouse with SVGA ,
1. design your own mouse pointer
2. At each and every point get the co - or dinates for the mouse and draw the mouse pointer ( just like a mouse driver ).
3. Its look hard but easy to implement .
4. You can implement this using a TSR logic , or within your program code!
Regards !
Prince M. Premnath