Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!usc!ucsd!helios.ee.lbl.gov!nosc!crash!peterson From: peterson@crash.cts.com (John Peterson) Newsgroups: comp.os.msdos.programmer Subject: Using Mouse from TURBO-C Graphics? Summary: mouse,graphics,TURBO-C Message-ID: <3729@crash.cts.com> Date: 28 Jul 90 18:18:19 GMT Organization: Crash Time Sharing, El Cajon, CA Lines: 21 X-Local-Date: 28 Jul 90 11:18:19 PDT 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 | +--------------------------------------+