Article View: comp.os.msdos.programmer
Article #947Re: How to detect base address of COMx ports?
From: Jon K. Salmon
Date: Tue, 18 Aug 1992 02:14
Date: Tue, 18 Aug 1992 02:14
10 lines
805 bytes
805 bytes
Well, in theory you can look at the 4 WORD values at 40h:00h, which SHOULD be the port addrs for COM1-COM4. How safe/reliable this technique is, I do not know. There is a similar table of LPT port addrs (next 4 WORDs? I don't recall), but I KNOW that is unreliable. For what it's worth... -- Jon --
Technical Details
Message-ID:
<1992Aug18.021412.19094@news.ysu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!news.ysu.edu!do-not-reply-to-pathShow Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!news.ysu.edu!do-not-reply-to-path From: af458@yfn.ysu.edu (Jon K. Salmon) Subject: Re: How to detect base address of COMx ports? Message-ID: <1992Aug18.021412.19094@news.ysu.edu> Sender: news@news.ysu.edu (Usenet News Admin) Nntp-Posting-Host: yfn Organization: Youngstown State University/Youngstown Free-Net Date: Tue, 18 Aug 1992 02:14:12 GMT Lines: 10