home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pascal / 7750 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.3 KB

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