🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2305

Opening four serial ports at once?

#2305
From: Mike Mills
Date: Mon, 05 Oct 1992 18:31
24 lines
1303 bytes
Hi,

I would like to access all of my serial ports at once (I have four; two
I/O cards with two ports on each.  The appropriate jumpers have been set
to the correct places for the base address and interrupts.)

The problem:  I can't seem to use them.  COM1 = mouse, COM2 = modem.  When
I try to use either COM3 or COM4 while COM1 and COM2 are in use, it complains
that the port is already in use.

Soooo...is there some parameter in DosOpen() that I need to specify in order
to use the other COM ports?  My theory is that perhaps by default, when I
try to use COM3 or COM4, it actually tries (by default?) to use the base
address and interrupt that is reserved for COM1 or COM2 (despite the I/O
cards being set differently.)

Any help is appreciated.

Thanks,

-- 
--Mike Mills              E-Mail:  sam@ms.uky.edu, {rutgers, uunet}!ukma!sam
--UK Math Sciences Dept.                  mike@ukpr.uky.edu    
--(606) 257-1429 (work) 263-0721 (home)
Technical Details
Message-ID: <1992Oct5.143153.11539@ms.uky.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!wupost!darwin.sura.net!ukma!sam

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!wupost!darwin.sura.net!ukma!sam
From: sam@ms.uky.edu (Mike Mills)
Subject: Opening four serial ports at once?
Message-ID: <1992Oct5.143153.11539@ms.uky.edu>
Date: Mon, 5 Oct 1992 18:31:52 GMT
Organization: University Of Kentucky, Dept. of Math Sciences
Lines: 24