Article View: comp.os.msdos.programmer
Article #940How to detect base address of COMx ports?
From: Binod Taterway
Date: Mon, 17 Aug 1992 18:28
Date: Mon, 17 Aug 1992 18:28
19 lines
1433 bytes
1433 bytes
I am writing a software that dials various computers using a comm package. In order to dial thru a particular, I need to know the base address of the serial port. For COM1 and COM2, base addresses are set to 0x3F8 and 0x2F8, respectively. For the rest of the ports, their addresses are highly dependent on the vendor. So right now, I ask my users to specify this address and the interrupt level if they are using ports such as COM3 and COM4. Many of these users are too naive to understand what these two terms and have hard time looking up the manual. Is there any way, via some interrupt routine or the like, to determine how many ports are available and their base addresses and interrupt levels. Is it stored anywhere on the system? Thanks in advance for your replies. -- - Binod Taterway Sr. User Consultant (LUCC) E-mail: bt00@Lehigh.EDU
Technical Details
Message-ID:
<LUBKT.92Aug17132854@synergy.CC.Lehigh.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!netnews.cc.lehigh.edu!lubktShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!netnews.cc.lehigh.edu!lubkt From: lubkt@synergy.CC.Lehigh.EDU (Binod Taterway) Newsgroups: comp.os.msdos.programmer Subject: How to detect base address of COMx ports? Message-ID: <LUBKT.92Aug17132854@synergy.CC.Lehigh.EDU> Date: 17 Aug 92 18:28:54 GMT Sender: usenet@chili.cc.lehigh.edu Distribution: comp.os.msdos.programmer Organization: Lehigh University, Bethlehem, PA Lines: 19 Nntp-Posting-Host: synergy.cc.lehigh.edu