Path: utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!uwm.edu!srcsip!eagle!rogers From: rogers@SRC.Honeywell.COM (Brynn Rogers) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: Using a mouse with Turbo C Keywords: mouse genius Turbo C Message-ID: <59689@srcsip.UUCP> Date: 22 Feb 90 17:11:00 GMT References: <1264@ac.dal.ca> <8873@wpi.wpi.edu> Sender: news@src.honeywell.COM Reply-To: rogers@src.honeywell.com (Brynn Rogers) Distribution: na Organization: Honeywell Systems & Research Center Lines: 59 In article <8873@wpi.wpi.edu> ear@wpi.wpi.edu (Eric A Rasmussen) writes: >In article <1264@ac.dal.ca> botterry@ac.dal.ca writes: >>I am interested in using a mouse systems mouse (Genius Mouse with Mouse.com) >>for some i/o on my Turbo-C programmers. Do I have to resort to Assembler in >>order to use the mouse or are there undocumented (or documented that I can't >>find documented) Turbo-C commands? > >When I purchased my Logitech mouse a couple of years ago, it came with >documentation (on disk) about how to use the mouse with high level languages >including Modula-2/86, Turbo Pascal, Microsoft C, and even Basic via assembly >language routines. The Logitech mouse, from what I understand, is a Mouse >Systems mouse compatible. I believe it will also emulate a Microsoft mouse. >In the user's manual, it recommends calling Logitech's bulletin board for the >latest list of languages supported. I believe the following excerpts from the >read.me file on one of the software disks contains the information that can >help you. My mouse didn't come with any programming information. I have a C-9 (the newest model that also didn't have a name for a while) with version 4.00 drivers. I like the mouse, programming info would be nice. I find the MSDOS Interrupt list to be the most complete source of information on any interrupt driven devices (mouse, vga ...) It can be found on simtel somewhere and probably many bbs's (INTER589.ARC is the latest version I think) Interrupt 33(hex) are all the mouse control functions for a microsoft compatable mouse. You can talk to mice through loading the registers and doing the C interrupt function call. In some cases, you can do things much more efficiently (read faster) through an assembly call, because there seems to be an appreciable overhead to the interrupt() calss built into most C langs. There is a book from the Microsoft press that tells how to program the mouse and includes a disk and examples and stuff (for under $30). I can't recall the name but it is copyrighted in 89 or 88, so it certainly is not out of date yet. >----------------------------------------------------------------------------- >LOGIMOUSE Electronic Information > >To report experiences and problems about the Logimouse software and hardware, >you can now call our Vax system using a modem. It accepts both 300 and 1200 >baud rates (not compatible with Racal-Vadic). Log as the "mouse" user. >This system will also provide new sources for LOGIMENU as they become >available (we will be happy to publish those that you send us). > > (415) 364-7057 > Login: mouse > Logitech has a PC based BBS that can be reached at (415) 795-0408 I believe it can handle anything up to 2400 baud. Brynn Rogers Honeywell S&RC rogers@src.honeywell.com home 612 874-7737