home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / pascal / 5096 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.4 KB

  1. Xref: sparky comp.lang.pascal:5096 comp.os.msdos.misc:4933 comp.os.msdos.apps:4563
  2. Path: sparky!uunet!cs.utexas.edu!uwm.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!ss62+
  3. From: ss62+@andrew.cmu.edu (Shelby Stewman)
  4. Newsgroups: comp.lang.pascal,comp.os.msdos.misc,comp.os.msdos.apps
  5. Subject: Re: Turbo Pascal 5.5 Mouse Support??
  6. Message-ID: <YebiPES00UhW087tkO@andrew.cmu.edu>
  7. Date: 28 Aug 92 18:54:08 GMT
  8. Article-I.D.: andrew.YebiPES00UhW087tkO
  9. Organization: Heinz School, Carnegie Mellon, Pittsburgh, PA
  10. Lines: 19
  11. In-Reply-To: <1992Aug24.154313.29858@magnus.acs.ohio-state.edu>
  12.  
  13. To get mouse support, you must first have the mouse driver installed
  14. (normally mouse.com or mouse.sys). Then refer to a mouse reference on
  15. the interrupt access. An example procedure might be:
  16.  
  17. procedure LowLevelMouse(var r:registers);
  18. begin
  19.     Intr($33,r);
  20. end;
  21.  
  22. Some mice come with references in their manuals or in text files on
  23. disk, others (like microsoft's [who are so CHEAP they squeak]) come in a
  24. seperate book with lots of superflous info on THEIR compilers
  25. (QuickBasic, etc) and one chapter on connection with Turbo Pascal.
  26. Another source you might try is Que's DOS Programmer's Reference
  27. (something like that) or Ralf Brown's Interrupt List (locatable at any
  28. decent anonymous FTP site). Hope this helped.
  29.  
  30.  
  31.                 -- Shannon F. Stewman
  32.