You are here:

C/SVGA Mouse

Advertisement


Question
I 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.  

Answer
Dear 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  

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Prince M. Premnath

Expertise


I'm sure that I can solve any doubts in Turbo C ,Graphics Programing ,Mouse, Hardware Programming ,File System ,Interrupts, BIOS handling , TSR Programming , General Concepts in C Language, handling inline Assembly statements

Experience

Research over 6+ Years

Organizations
CG-VAK Softwares and Exports Limited

Education/Credentials
Masters in Computer Applications

©2012 About.com, a part of The New York Times Company. All rights reserved.