home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.tek.com!vice!bobbe
- From: bobbe@vice.ICO.TEK.COM (Robert Beauchaine)
- Newsgroups: comp.lang.pascal
- Subject: Mouse
- Message-ID: <11036@vice.ICO.TEK.COM>
- Date: 30 Dec 92 20:43:37 GMT
- Organization: Tektronix Inc., Beaverton, Or.
- Lines: 25
-
-
- I've been polishing up my complete mouse unit for TP, and I've
- encountered some problems I can't explain.
-
- I've installed a hardware interrupt mouse event handler as
- outlined by Microsoft using int $33, function $12. I trap all
- mouse button presses and mouse movements. All works splendidly in
- text mode. When writing a graphics demo using the BGI, however, I
- occassionally lose mouse events, particularly when I
- simultaneously move and click the mouse. I don't have the runtime
- library for any version of TP, so could someone in the know tell
- me if the BGI library is masking off interrupts or doing any other
- kind of shady activities that would cause the problem? Debugging
- this kind of program is always problematic, given it's interrupt
- nature, and I'm having difficulty narrowing down the range of
- possible causes.
-
- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
-
- Bob Beauchaine bobbe@vice.ICO.TEK.COM
-
- C: The language that combines the power of assembly language with the
- flexibility of assembly language.
-
- Real friends don't let friends use UNIX.
-