Article View: comp.os.msdos.programmer
Article #775Using a mouse
From: Gnarled Among Mammoth
Date: Thu, 16 Apr 1992 06:23
Date: Thu, 16 Apr 1992 06:23
34 lines
2072 bytes
2072 bytes
I'm relatively new to programming ms-dos, at least at a system level, and I am desperately in need of getting mouse support into a very important (to me, if no one else) program. Rather than learning the in's and out's of programming mouse drivers, etc., I looked around for some kind of demonstration mouse package. The one I found that worked best for me (my main requirement being that it works with BC++) is MouCeLIB, which is a C conversion of a Turbo Pascal program. My problem now is that, when I insert the interrupt handler that came with it, the machine crashes. I could hack together a non- interrupt version that works, but I'd really prefer an interrupt routine (plus I don't know if I have enough time, anyway - I need a runnable version of this by the 22nd). I only made one modification to the library - it wouldn't compile with an underscore in front of a reference to "data" in the assembly of the handler. As near as I can tell, the "data" that it now refers to is the correct one, but I also don't know 80x86 assembly (and don't plan to learn). So my questions are: 1) Did I goof by removing that underscore? And if I did, what declaration should I make so that it will compile? 2) Am I going at this all wrong? Is there something I'm probably missing? Can I ever truly understand this way of doing things? 3) Is there a better package that I can get for my purposes? I can ftp, but I don't know the best sites for msdos. 4) Will I live if this isn't done by the 22nd? email (abradfor@copper.denver.colorado.edu) would be helpful, but I will continue to watch this newsgroup as well. --Andrew
Technical Details
Message-ID:
<2805@copper.Denver.Colorado.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!ncar!vexcel!copper!abradforShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!ncar!vexcel!copper!abradfor From: abradfor@copper.denver.colorado.edu (Gnarled Among Mammoth) Newsgroups: comp.os.msdos.programmer Subject: Using a mouse Summary: Running out of time and I need to make this @%#&! thing work Message-ID: <2805@copper.Denver.Colorado.EDU> Date: 16 Apr 92 06:23:41 GMT Distribution: na Organization: University of Colorado at Denver Lines: 34