🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Opening four serial ports at once?

#2312
From: Steve Luzynski
Date: Tue, 06 Oct 1992 04:14
36 lines
1941 bytes
In article <1992Oct5.143153.11539@ms.uky.edu> sam@ms.uky.edu (Mike Mills) writes:
>From: sam@ms.uky.edu (Mike Mills)
>Subject: Opening four serial ports at once?
>Date: Mon, 5 Oct 1992 18:31:52 GMT
>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)
 Have you set them up in config.sys??

You need to amend the following lines as follows:

DEVICE=C:\OS2\MDOS\VCOM.SYS (port,addr,irq) [as many as req'd]
DEVICE=C:\OS2\MDOS\COMM.SYS (port,addr,irq) "

There's more info in the latest tips n' techniques file.
Technical Details
Message-ID: <sal8.52.718344825@po.cwru.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!agate!usenet.ins.cwru.edu!b61442.STUDENT.CWRU.Edu!sal8
References: <1992Oct5.143153.11539@ms.uky.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!spool.mu.edu!agate!usenet.ins.cwru.edu!b61442.STUDENT.CWRU.Edu!sal8
From: sal8@po.cwru.edu (Steve Luzynski)
Newsgroups: comp.os.os2.programmer
Subject: Re: Opening four serial ports at once?
Date: 6 Oct 1992 04:14:10 GMT
Organization: Case Western Reserve University
Lines: 36
Message-ID: <sal8.52.718344825@po.cwru.edu>
References: <1992Oct5.143153.11539@ms.uky.edu>
NNTP-Posting-Host: b61442.student.cwru.edu