home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / misc / 5738 < prev    next >
Encoding:
Text File  |  1992-12-28  |  3.3 KB  |  75 lines

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