1. SVGA mouse routine - to Pete
- Posted by Lee woo seob <wslee at HHI.CO.KR> Aug 07, 1997
- 619 views
Dear Pete, I have tested your SVGA mouse routines included in GUI_256.ZIP. I think it is very cool, however, when your routines are used in the vesa environment (i.e., with the command "use_vesa(1)"), some trouble did occur in my computers (both in the 486 and Pentium). Please run the example program attached below, and then move the mouse pointer around the screen... In my computers, the pixels on several lines of screen were erased and the character string at the top of the screen was appeared on those lines. I tested with a few mouse drivers... the results are all same... I think this is not the problem of mouse driver... Bye! --from Lee, Woo Seob ---------------------------test program------------------------------ include graphics.e include image.e include mouse.e -- Pete's SVGA routine object junk,mouse use_vesa(1) junk=graphics_mode(259) -- 800*600*256 mode set_svga_mouse() mouse_pointer(1) while 1 do mouse=get_mouse() if sequence(mouse) then position(1,1) printf(1,"Event:%3d, X:%3d, Y:%3d, Press right button to quit ",mouse) if and_bits(mouse[1],RIGHT_DOWN) then exit end if end if end while junk=graphics_mode(-1) ------------------------- end of program ---------------------------