peterson@crash.cts.com (John Peterson) (07/29/90)
I have been attempting to write a program in TURBO-C in graphics display mode which uses my serial mouse. My mouse works fine with various commercial software packages, and I have successfully written TURBO-C programs that use the mouse in *text* display mode, so... I suspect the difficulty is related to the fact that I have a Hercules card. I initialize graphics mode, set location 0x0040:0x0049 to the value 6, then reset the mouse driver with a call to int 0x33 function 0. I make the int 0x33 call to un-hide the mouse cursor, it comes up just fine and everything, but when I try to return to text mode and exit, the machine just hangs up. None of the references I have indicate any special tricks are required here. Does anyone know what I am doing wrong, or know of a really good programmer's reference for the mouse??? Thanks in advance! -- +---------- John C. Peterson ----------+ | INTERNET: peterson@crash.cts.com | | UUCP: { nosc ucsd }!crash!peterson | +--------------------------------------+