home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / msdos / programm / 10656 < prev    next >
Encoding:
Text File  |  1992-11-15  |  1.2 KB  |  28 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!mcsun!news.funet.fi!network.jyu.fi!ap
  3. From: ap@jyu.fi (Patrick Aalto)
  4. Subject: Re: How can I check which COM port a mouse is a
  5. Message-ID: <1992Nov16.071145.18659@jyu.fi>
  6. Organization: University of Jyvaskyla, Finland
  7. References: <1dlqllINNhqn@mailgzrz.TU-Berlin.DE> <1992Nov11.101911.5984@ericsson.se> <1dtmvcINN39j@mailgzrz.TU-Berlin.DE>
  8. Date: Mon, 16 Nov 1992 07:11:45 GMT
  9. Lines: 17
  10.  
  11. In article <1dtmvcINN39j@mailgzrz.TU-Berlin.DE> meikel@marie.physik.tu-berlin.de (Michael Feig) writes:
  12. >In the newsgroup comp.os.msdos.programmer someone posted a solution using
  13. >Int 33h, function 24h, which returns the IRQ of the mouse handler.
  14. >It seems to work quite well so I think anyone interested in the problem should
  15. >read the article there.
  16.  
  17. Hi!
  18.  
  19. I had the same problem about detecting which IRQ the mouse driver uses, and
  20. I came up with the following simple method: Check (from INT table at 0000:0000)
  21. what is the INT 33h handler's segment. Then check which IRQ handler is at
  22. the same segment. This is most likely the IRQ mouse driver uses.
  23.  
  24. But of course, if INT 33h FUNC 24h is available, one should use it.
  25.  
  26. Patrick Aalto
  27. ap@jyu.fi
  28.