[comp.sys.ibm.pc] COM3 and COM4

millerp@silver.bacs.indiana.edu (Lost My Mind) (11/15/88)

Hi, I'm working on a terminal emulation program at work and I've
run into a slight problem. One of the tech's here has an IBM Clone
and they want to put their 'Internal Half-Card' Modem in as either
Com3 or Com4 depending on ???? Anyway, I need to know what the interrupt
vector address for these comports are, I can't find it in my manual 
mound. I know where the control registers for these comports are, so
if someone could e-mail or post the interrupt vector addresss for these
comports I would really appriciate it.

Pam Miller

millerp@silver.bacs.indiana.edu
or
pmiller@iucf.bitnet

Thanks!!!!!

figlik@ihlpl.ATT.COM (Jim Figlik) (11/16/88)

In article <2677@silver.bacs.indiana.edu> millerp@silver.bacs.indiana.edu (Lost My Mind) writes:
>
>Hi, I'm working on a terminal emulation program at work and I've
>run into a slight problem. One of the tech's here has an IBM Clone
>and they want to put their 'Internal Half-Card' Modem in as either
>Com3 or Com4 depending on ???? Anyway, I need to know what the interrupt
>vector address for these comports are, I can't find it in my manual 
>mound. I know where the control registers for these comports are, so
>if someone could e-mail or post the interrupt vector addresss for these
>comports I would really appriciate it.

Com1 is 0x3F8 and usually uses IRQ4, Com2 is 02F8 and usually uses IRQ3. 

Jim
-- 
 Name/Number:  Jim Figlik      (312) 979-3478
Organization:  CAP Gemini America @ AT&T Bell Labs, Indian Hill, IL
Elec.Address:  {world}!att!ihlpl!figlik
Phys.Address:  2000 N. Naperville Rd/IH 6U-212, Naperville, IL 60566-7033

rkl1@hound.UUCP (K.LAUX) (11/16/88)

	Unfortunately, there are no interrupt vectors for COM3 and COM4 on a
PC/XT.  What you would need to do is to enable COM3/4 ports to interrupt on
IRQ2/3 and the interrupt routines would have to POLL the ports attached to
the IRQ to see which one actually issued the interrupt.

	If the COM1/2 ports are NOT interrupt driven but polled, then simply
assign COM3/4 to IRQ2/3; but if they are, you have to do as described above.

--rkl

simon@ms.uky.edu (Simon Gales) (11/16/88)

In article <2677@silver.bacs.indiana.edu> millerp@silver.bacs.indiana.edu (Lost My Mind) writes:
>
>Hi, I'm working on a terminal emulation program at work and I've
>run into a slight problem. One of the tech's here has an IBM Clone
>and they want to put their 'Internal Half-Card' Modem in as either
>Com3 or Com4 depending on ???? Anyway, I need to know what the interrupt
>vector address for these comports are, I can't find it in my manual 
>mound. I know where the control registers for these comports are, so
>if someone could e-mail or post the interrupt vector addresss for these
>comports I would really appriciate it.

Port addresses for the 3rd/4th serial port depends entirely upon the 
card you are using - look it up in its manual.  Normally you must set 
the int# that each port uses to either 3 or 4, using dip switches on 
the card.

COM3 and COM4 normally use the same interrupt as COM1 and COM2.  
COM3 uses int4, COM4 uses int3.  This sort of messes with using 
COM1&3 or 2&4 at the same life, but thats life with DOS.  

Placing the port addressess of com3 & 4 at 0040:0004 and 0040:0006 (this
is the bios port table) allows many popular programs to use them.  

>Pam Miller

<-------------------------------------------------------------------------->
<---   Simon Gales@University of Ky                 263-2285/257-3597   --->
<---            [ simon@ms.uky.edu ]  |  [ simon@UKMA.BITNET ]          --->
<-------------------------------------------------------------------------->
-- 
<-------------------------------------------------------------------------->
<---   Simon Gales@University of Ky                 263-2285/257-3597   --->
<---            [ simon@ms.uky.edu ]  |  [ simon@UKMA.BITNET ]          --->
<-------------------------------------------------------------------------->

Dan.Husk@p9.f1.n360.z1.uucp (Dan Husk) (11/17/88)

 > From: figlik@ihlpl.ATT.COM (Jim Figlik) Date: 15 Nov 88 17:06:08 GMT
 > Organization: AT&T Bell Laboratories - Naperville, Illinois Message-ID:
 > <7681@ihlpl.ATT.COM> Newsgroups: comp.sys.ibm.pc
 > 
 >
 > In article <2677@silver.bacs.indiana.edu>
 > millerp@silver.bacs.indiana.edu (Lost My Mind) writes: > >Hi, I'm
 > working on a terminal emulation program at work and I've >run into a
 > slight problem. One of the tech's here has an IBM Clone >and they want
 > to put their 'Internal Half-Card' Modem in as either >Com3 or Com4
 > depending on ????
 Comm Port           Base(HEX)       IRQ
----------           ---------       ----
1                       3F8         4
2                       2F8         3
3                       3E8         4
4                       3E0         3
5                       2F0         4
6                       2E8         3
7                       000         0
8                       000         0
Jim..The COMMS according to QMODE.
Dan (-|

--  
Dan Husk - via FidoNet node 1:135/3
Medical Software Exchange BBS (305) 325-8709
UUCP: ...uunet!gould!umbio!medsoft!360!1.9!Dan.Husk
ARPA: Dan.Husk@p9.f1.n360.z1.uucp

rps@homxc.UUCP (R.SHARPLES) (11/18/88)

> [much discussion about how to talk to com3 and com4]

I have a different question about COM3 and COM4: 
I have a PC's Limited 386 with a modem and a serial card that provides
two serial ports.  The card can be configured as COM 1&2, 2&3 or 3&4.
The modem can be configured as COM 1, 2, 3 or 4.  The way I have it set
up is the modem is COM1, and the serial ports are COM2 & 3.  I have 
MS-DOS 3.3 and the instructions for the MODE command specifically mention
that you can specify COMn as a device with n = {1,2,3,4}.  However, 
MODE COM3:96<cr> results in the message "invalid parameters".  The command
MODE COM4:96<cr> produces "invalid parameter 'com4'".  The MODE command works
fine with COM1 and COM2.  Software that uses the respective COM ports works 
fine.  So what is with the MODE command and COM3?  

Russ Sharples
homxc!rps

NOTE:

The above in NO WAY reflects the opinions of AT&T.
These opinions are my own and the results of un-scientific and 
highly irregular analysis methods.

mason@tc.fluke.COM (Nick Mason) (11/19/88)

In article <2677@silver.bacs.indiana.edu> millerp@silver.bacs.indiana.edu (Lost My Mind) writes:
>
>Hi, I'm working on a terminal emulation program at work and I've
>run into a slight problem. One of the tech's here has an IBM Clone
>and they want to put their 'Internal Half-Card' Modem in as either
>Com3 or Com4 depending on ???? Anyway, I need to know what the interrupt
>vector address for these comports are, I can't find it in my manual 


The problem you face is the interrupt vectors for COM3 and COM4 are
not standard.  We have the same problem and had to restrict
the cards our software would run on.  For your reference:

IBM Dual Async card
COM3  int 3
COM4  int 3


HP Dual asyn card
COM3  INT 10
COM4  INT 11


but.. kermit 2.3 says
com3 int 3
com4 int 4


The above are the hardware interrupt levels.

Anyway, the bottom line is that the int level depends
on the card.


Nick Mason/ms272G/John Fluke Mfg Co/Box C9090/Everett WA 98206 USA
   mason@tc.fluke.COM
UUCP:
 {{cornell,decvax,sdcsvax,tektronix,utcsrgv}!uw-beaver} \
{microsoft,gatech!sb1,hplabs!lbl-csam,decwrl!sun,sunup} - !fluke!mason
		 {ssc-vax,hplsla,wavetek,uw-vlsi,tikal} /
ARPA: fluke!mason@uw-beaver.ARPA
BITNET: "fluke!mason@uw-beaver.ARPA"@PSUVAX1.bitnet
"Avoid the Dull and Ignorant"

kirk%enterprise@Sun.COM ('Captain' Kirk DeHaan) (05/12/89)

This is in response to the request for a driver for the com3 and
com4 ports on an IBM machine.  I had agreed to send this file to 
someone earlier in the week but unfortunately for me my hard
disk went south.  Thank God for backups, as I actually did
one last week. :-)  But the mail since then was gone.

Anyway, this is the software I promised.  Maybe some others
can use it also.


Cut here
-------------------------------------
begin 644 com3_4.arc
M&@A#34]$12Y#3TT )24 G@4  "0//6_)%/,%   ,Z98(4 >@( ""!IF4"4.&
M3IDU5Q;I<V&O4)4  ;[4*8"PX!0/,[8YVK8K#@% )_Y\V *%DXM_'D($L$<,
M$)T)'T..+$G W@% *^L,P+)N&A$BSPP"D'(%BD07BBJ]"@!(WX Y"3AI4KHN
M!R0 @-0-H!F@C@M _ #4F4 K0#,*-&T6H)5AG8>OM+ZNRX!WP%M Y,"@!;,Q
M+X!U"/!"6#< +R MBH1]T9(T@  6( PV4##D21,8.D" :"%:-(L6IU.WV+R9
MQ&8F4*B %BVGC)PW=1R2 4'G#0A(!G2P5D"BH)0R<]*0*>.&#@@X;^302?/&
M#8@W9D ,:?*$2!$0;-XP+$.F]>8D;NR$8:/\>1@Y8=J4<2AGCGD%R^VD&5/F
MMP$R;R '@AMO.%<&'FG,04=K!'361 P->B9#A$W,0"$-!,!&!80:3JCA#  $
M $4 3@3P1 !%!#!% $T4$$,.,L   P$YV" C" 3<$",,.-* PXT$S& CCP3(
M0 .0.Q(9PX]*[@C" $.*-L ,-SX90PT\@N#B##2X4,, ,<20I0 WU%": %B>
M^:( -9(I@P ^"B"D $;2"8, 2^+YIHURWGDEGC/@&4, @\H00 T!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UZT9-F"9=G+F#-KWLRYL^<)H"92$!UU-&E*IBV?1ITJ
M-^O6KE_#CI7+MBP&M&[ARJ6K:V[>O7TM7'816/,Z2AZF[ ("P-&V77$(GOBS
MY8,)1U^H+KKCP,2B)Q)F_%N0C X.%Z TA"R; :T+8P;* Z #@I: 9A3L$0-$
M9T+PX<6/)[=W %!S.N;4H8 "Y-2Q "($'&&$.-J8D,@?$@PCUP*!K#-/> *0
MAQ8='= R 'SR!5#' ;,),(Q[(,Y7!SP$UM& *.*9@,@1#:!7WC\26C4 A2=^
M&!\Q =#Q3(\I!DD BA1(")UTU%F'G7;<T>&((D<&D"(@=22@H#CQ. AACE<I
M4.$\'J8( AV)##/,% /8$X";;A80P!H!F!( + 'XDF< [+SI)YQ^ @ )!<< 
M4.BAAB:*Z***-LKHHXY&"NFDDE9*Z:65#A&&&R"X\09[9J3A!AD@D%&&'6F,
M408("C$$0@@-*$""IIQZ"JJHI)J*JJJL9O1JK+(2<6JJJ[;:4!IS@"#J''2$
MP08;99#!0JQ0A"%'&&V404<9<B0[A[9GO@&"##3   ,+;K"  PLQQ$J"L+L6
MZRNRRKK!K+/02DNMM=AJRZVWX-(A+KGFHJLNN\"2H)8#G)G R!,0#*+/ '2,
MH(LZ Z!#W!P'Z,(9.FD , QZ9_UC%P"XC ( ?+IX(P Z58A\\<L= ,"Q+L"\
M;(3(Z+UF\EPIKTR!+AAD+(/([*""3QTD#"+, .R0  X/8-2AP2#J%( +<3OY
M0@  @>B##L4#^&(  (E0X, '^( Y %OYG)A ,R$, QH                 
 
end
------------------------------
Cut here


********************************************************************
* 'Captain' Kirk DeHaan			"There's a lot to be said  *
*  Sun Microsystems Inc.		  For a blow to the head"  *
*								   *
*  kirk@sun.com				      Blue Oyster Cult     *
*								   *
********************************************************************

Berry.Mobley@uscacm.UUCP (Berry Mobley) (02/25/90)

     I have a 386 clone at work that I am trying to install 2 more serial 
ports in.  It's running MS-Dos 4.01 (which supposedly supp
orts COM3 and COM4.)  The serial card appears to be connected correctly, 
but I can't get anything to access the ports.  When I do a 
MODE COMn (n is 3 or 4) I get "Illegal device name".  Using n greater 
than 4 returns "Invalid Parameter".  
 
My question:  Has anyone successfully installed COM3 and COM4 without 
custom drivers under MSDOS 4.01?
                                            Berry Mobley



--  
--
Berry Mobley == ...!usceast!uscacm!Berry.Mobley

mccarthy@well.sf.ca.us (Patrick McCarthy) (02/27/90)

In article <278.25E7ADD9@uscacm.UUCP> Berry.Mobley@uscacm.UUCP (Berry Mobley) writes:
>
>     I have a 386 clone at work that I am trying to install 2 more serial 
>ports in.  It's running MS-Dos 4.01 (which supposedly supp
>orts COM3 and COM4.)  The serial card appears to be connected correctly, 
>but I can't get anything to access the ports.  When I do a 
>MODE COMn (n is 3 or 4) I get "Illegal device name".  Using n greater 
>than 4 returns "Invalid Parameter".  
> 
>My question:  Has anyone successfully installed COM3 and COM4 without 
>custom drivers under MSDOS 4.01?
>                                            Berry Mobley
>
>
>
>--  
>--
>Berry Mobley == ...!usceast!uscacm!Berry.Mobley

The problem is that DOS's "support" of four com ports is only half the
solution.  In the original IBM PC, two interrupt lines were set aside for
the COM ports (who will EVER need more than two?).  Thus, software by and
large came to expect that each COM port would have its own interrupt
line (hardware); most serial cards have a switch to choose which of the
two standard lines to use (IRQ 3 or IRQ 4). So even though DOS 4.0 has
enough sense to realize there may be more than two COM ports hooked up,
most existing hardware and software doesn't.  There are really only two ways
to provide a total solution. One is to buy a card which allows you to choose
the IRQ level you want to use; the accompanying software must also allow
you to use a nonstandard IRQ.  Qua-Tech (Canton, OH, I believe) makes
such a board.  The other solution is to use something like the DigiBoard,
which allows multiple (totally nonstandard) ports to share a single
IRQ.  Not many general software packages use this scheme, because there
are many similar but incompatible boards on the market.

Basically, unless you have smart software, it really doesn't matter
whether DOS allegedly supports four ports or not, except on
microchannel machines, where the interrupt sharing scheme is documented
by IBM, and therefore standard across all hardware and software.


Pat McCarthy
mccarthy@well.uucp

ajai@sce.carleton.ca (Ajai Sehgal) (02/28/90)

I have installed both COM3 and COM4 under PC DOS 4.01 with no special
drivers or problems. When installing additional COM ports it is important
to check the IRQ settings of the addtional ports and make sure you don't
have a conflict. A good program to check this is QAPLUS which is also
great for setting up a PC harddrive.

Ajai

koch@cell.mot.COM (Clifton Koch) (03/01/90)

> >     I have a 386 clone at work that I am trying to install 2 more serial 
> >ports in.  It's running MS-Dos 4.01 (which supposedly supp
> >orts COM3 and COM4.)  The serial card appears to be connected correctly, 
> >but I can't get anything to access the ports.  When I do a 
> >MODE COMn (n is 3 or 4) I get "Illegal device name".  Using n greater 
> >than 4 returns "Invalid Parameter".  
> > 
> The problem is that DOS's "support" of four com ports is only half the
> solution.  In the original IBM PC, two interrupt lines were set aside for
> the COM ports (who will EVER need more than two?).  Thus, software by and
> large came to expect that each COM port would have its own interrupt
> line (hardware); most serial cards have a switch to choose which of the
> two standard lines to use (IRQ 3 or IRQ 4). So even though DOS 4.0 has
> enough sense to realize there may be more than two COM ports hooked up,
> most existing hardware and software doesn't.  There are really only two ways
> to provide a total solution. One is to buy a card which allows you to choose
> the IRQ level you want to use; the accompanying software must also allow

That's still only part of the story.  The BIOS has to support COM3 and COM4
also.  If it doesn't you have to install a driver.  I've used a shareware
program called PORTFINDER that pokes around memory and looks for COM and LPT
port hardware, if it finds hardware, but no drivers, it loads in drivers.
It worked great with DOS3.3.  It allowed me ways to init modems via the
command line (i.e. echo AT&C1 S0=0 etc >COM3; it was a stupid modem).  Let
me know if you can't find a copy of the program (usually called PFxx.ZIP
where xx is the version, I think mine was PF22), let me know, and we'll
work out some way to get it to you.

Also, the 'standard' way I've seen com ports configured is that COM1 and COM3
share IRQ4, and COM2 and COM4 share IRQ3.  The drivers sort out who really
caused the interrupt.

Cliff Koch