home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8579 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.4 KB

  1. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!netnews.cc.lehigh.edu!lubkt
  2. From: lubkt@synergy.CC.Lehigh.EDU (Binod Taterway)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: How to detect base address of COMx ports?
  5. Message-ID: <LUBKT.92Aug17132854@synergy.CC.Lehigh.EDU>
  6. Date: 17 Aug 92 18:28:54 GMT
  7. Sender: usenet@chili.cc.lehigh.edu
  8. Distribution: comp.os.msdos.programmer
  9. Organization: Lehigh University, Bethlehem, PA
  10. Lines: 19
  11. Nntp-Posting-Host: synergy.cc.lehigh.edu
  12.  
  13.  
  14. I am writing a software that dials various computers using a comm
  15. package. In order to dial thru a particular, I need to know the base
  16. address of the serial port. For COM1 and COM2, base addresses are set
  17. to 0x3F8 and 0x2F8, respectively. For the rest of the ports, their
  18. addresses are highly dependent on the vendor. So right now, I ask my
  19. users to specify this address and the interrupt level if they are
  20. using ports such as COM3 and COM4. Many of these users are too naive
  21. to understand what these two terms and have hard time looking up the
  22. manual. Is there any way, via some interrupt routine or the like, to
  23. determine how many ports are available and their base addresses and
  24. interrupt levels. Is it stored anywhere on the system?
  25.  
  26. Thanks in advance for your replies.
  27. --
  28.  
  29. - Binod Taterway                     
  30.   Sr. User Consultant (LUCC)
  31.   E-mail: bt00@Lehigh.EDU
  32.