home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.misc
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!mccall
- From: mccall@mksol.dseg.ti.com (fred j mccall 575-3539)
- Subject: Re: COM3 and IRQ5
- Message-ID: <1992Dec28.185430.16687@mksol.dseg.ti.com>
- Organization: Texas Instruments Inc
- References: <L2s3VB1w165w@bluemoon.use.com>
- Date: Mon, 28 Dec 1992 18:54:30 GMT
- Lines: 64
-
- In <L2s3VB1w165w@bluemoon.use.com> gerry@bluemoon.use.com (Gerard M. Foley) writes:
-
- > I find that my terminal program QModem 4.2 appears to have COM3 and
- >IRQ5 selected. The manual for the modem refers only to the standard
- >assignments of IRQ4 to COM1 and COM3 and IRQ3 to COM2 and COM4. It has a
- >diagram showing a jumper to select the IRQ which appears to have four
- >possible positions, but does not identify the significance of the four
- >positions. I do not want to pull the card to find out if there is any
- >informative marking on the board itself and where to jumper is currently
- >set.
-
- > If anyone can post a simple explanation of IRQ's and serial ports, I
- >for one will appreciate it.
-
- Ok, simple explanation. Any piece of hardware that needs to request
- the attention of software (like a serial port receiving input, for
- example) needs to have an interrupt assigned to it. This is what IRQ
- number is. Each device also needs an address in memory. The
- 'standard' (non-Microchannel) assignments are:
-
- COM1 - IRQ4
- COM2 - IRQ3
- COM3 - IRQ4
- COM4 - IRQ3
-
- The problem is created by two things: 1) COM ports above 2 aren't
- really 'standard' -- there is no 'real' IRQ that they are supposed to
- be at (which is why the ones for COM1 and COM2 got repeated in general
- practice); and 2) ISA boards CANNOT share an interrupt between two
- different boards -- no way to tell which port wants attention if you
- do that. Sometimes you can get away with using multiple COM ports on
- the same IRQ, so long as you don't try to use them at the same time.
- Some software gets upset if you try to do that.
-
- So, anyway, what people often do is to set COM3 and COM4 to unused
- IRQ's. The two most commonly used are IRQ5 (which is normally LPT2,
- except that parallel ports don't use the interrupts in DOS -- note
- that this may also be used by other boards, like a SoundBlaster) and
- IRQ2 (which is the cascade interrupt and will automatically be
- remapped to IRQ9). Most serial port boards allow setting the IRQ to
- any of IRQ2-IRQ5.
-
- Ideally, what you want to do (sans a smart multi-port board) is to
- have a different IRQ for each port. For example, my machine at home
- is set up as:
-
- COM1 - IRQ4 Serial Mouse
- COM2 - IRQ3 16550AFN UART w/ Modem
- COM3 - IRQ2 16550AFN UART w/ Modem
- COM4 - IRQ5 Not Used
-
- Were I you, I would either contact the vendor for the modem for better
- documentation, or pull the thing out and see if the jumper is marked
- somehow. If you want to have it at COM3 and want to use COM1 at the
- same time, you need to change it to a different IRQ.
-
- [Note that if you set it to IRQ2 on the hardware, software like
- Windows will insist that it be selected as being on IRQ9.]
-
- --
- "Insisting on perfect safety is for people who don't have the balls to live
- in the real world." -- Mary Shafer, NASA Ames Dryden
- ------------------------------------------------------------------------------
- Fred.McCall@dseg.ti.com - I don't speak for others and they don't speak for me.
-