Dec 092017
View and/or set com port addresses w/TC source.
File SETCOMM_.ZIP from The Programmer’s Corner in
Category C Source Code
View and/or set com port addresses w/TC source.
File Name File Size Zip Size Zip Type
SETCOMM.C 1544 589 deflated
SETCOMM.COM 8052 5045 deflated
SETCOMM.DOC 1236 608 deflated
SET_COMM.C 704 343 deflated
SET_COMM.COM 3066 1971 deflated

Download File SETCOMM_.ZIP Here

Contents of the SETCOMM.DOC file

Raymond Genovese

DOS offers only partial support for com ports 3 & 4. These two programs, and allow you to place the base address of the
communications adapter you want to use as a com port. For many programs this
is all you need to be able to use com ports 3 or 4. Usually, it is also
important that the interrupt vector that the com ports use also be made known
to the program. Unfortunately, there are no standards for which vectors com's
3 and 4 use. Frequently, COM3 shares IRQ vector 0x30 with COM1 and COM4 shares
IRQ vector 0x2C with COM2. This information should come out of the manual for
the device you are configuring. can be used to list and/or change the com port base addresses.
The syntax is setcomm (port) (address). Use a 0x prefix if the address is in
hexadecimal. Examples, setcomm 4 0x2e8 or setcomm 4 744. If you do not enter
any arguments (i.e. setcomm) the base addresses are displayed and no action is
taken. is used only to set the port base addresses and does not
print any messages making it the choice for batch files.

 December 9, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>