home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / IRQCP.FAX < prev    next >
Text File  |  1995-02-20  |  6KB  |  150 lines

  1. OS2IRQCP - ASSIGNMENT OF IRQ LEVELS AND ENABLING COMPORTS
  2. 12/28/94
  3.  
  4. ================================================================
  5. ASSIGNMENT OF IRQ LEVELS AND ENABLING COMPORTS
  6. ================================================================
  7.  
  8. Please Read Entire Document for Full Explanation of Procedures
  9. ----------------------------------------------------------------
  10.  
  11.               INTERRUPT REQUEST (IRQ) LEVELS
  12.  
  13. The following information helps you determine the IRQ settings
  14. you can use for COM3 or COM4 port adapters to avoid shared
  15. interrupts.
  16.  
  17. On an ISA machine there are a total of 15 IRQ levels available.
  18. Most are already in use because they are the standard settings
  19. for the common devices. These standard settings are:
  20.  
  21.        IRQ LEVEL      DEVICE ASSOCIATED
  22.            0            System Timer
  23.  
  24.            1            Keyboard
  25.  
  26.            2            Secondary Interrupt Controller (see note)
  27.  
  28.            3            COM2 (Serial Communications Port 2)
  29.  
  30.            4            COM1 (Serial Communications Port 1)
  31.  
  32.            5            LPT2 (Parallel Port 2)
  33.  
  34.            6            Diskette
  35.  
  36.            7            LPT1 (Parallel Port 1)
  37.  
  38.            8            Real-time Clock
  39.  
  40.            9            Open
  41.  
  42.           10            Open
  43.  
  44.           11            Open
  45.  
  46.           12            Auxiliary Port (Mouse)
  47.  
  48.           13            Math Coprocessor
  49.  
  50.           14            Hard Disk
  51.  
  52.           15            Open
  53.  
  54. NOTE:  On the IBM-AT (ISA bus), the IRQ9 pin is identical to the
  55.        IRQ2 pin on the original IBM-PC.  If you have an earlier,
  56.        8-bit adapter whose documentation states that it uses
  57.        IRQ2, be aware that this is interpreted as IRQ9 when
  58.        plugged into the 16-bit ISA bus.
  59.  
  60.        The IRQ levels shown as open have no established,
  61.        standardized use.  When setting IRQ values on your COM3 or
  62.        COM4 ports, you may find these levels available for use,
  63.        without conflict, with some other adapter.  If you do not
  64.        have two parallel ports installed, IRQ5 might be usable
  65.        for another purpose, such as COM3 or COM4.  Be cautious
  66.        about doing this, it might cause a problem later if you
  67.        decide to install a second parallel port.  Also, another
  68.        non-standard device might be using IRQ5.
  69.  
  70.  
  71.  
  72. ENABLING COM PORTS
  73.  
  74. The original ISA computer (the IBM Personal Computer AT*) allows
  75. for the definition of up to four serial communications ports.
  76. However, there has never been any hardware architectural standard
  77. that defined the I/O port addresses or IRQ lines associated with
  78. communication ports 3 and 4.
  79.  
  80. A convention places the port addresses for COM3 and COM4 at 03E8
  81. and 02E8 respectively.  This is generally accepted convention,
  82. but not a standard.  Check the documentation and the settings of
  83. the adapters in your system to verify your hardware environment.
  84.  
  85.  
  86. After checking and setting the I/O and IRQ values on your COM
  87. ports or internal modems, you need to add this information
  88. to the communications device-driver (COM.SYS) statement in the
  89. CONFIG.SYS file.
  90.  
  91. You may also need to tell your communications program where the
  92. COM ports are.  If the program, operating system, and hardware
  93. are not in agreement, then the program does not run.
  94.  
  95. OS/2 COM ports do not need to be defined in sequence.  It is
  96. acceptable to have a COM4 without having a COM3.  However, DOS
  97. might have difficulty if there is a gap in the port definition.
  98. To avoid confusion for DOS, define COM ports that do not have
  99. any physical adapters attached in the COM.SYS statement.  These
  100. substitute definitions serve as place holders.  COM1 and
  101. COM2 are assumed to have standard values and do not need to
  102. be explicitly set up unless you want to set some non-standard
  103. values to accommodate your particular configuration.
  104.  
  105. The following parameter must be specified for COM3 and/or
  106. COM4 on ISA/EISA bus systems.  Micro-Channel bus systems do not
  107. need to specify this parameter unless the system has a COM port
  108. with a non-standard COM port address or non-standard IRQ.
  109.  
  110. To enable COM3 or COM4, place following in CONFIG.SYS file:
  111.  
  112.             DEVICE=X:\OS2\COM.SYS (n,x,i,s)
  113.  
  114.    where:   X = The drive where OS/2 is installed
  115.  
  116.             n = The communication port number (1,2,3,4)
  117.  
  118.             a = The communication port I/O address in hex (for
  119.                 example, 03E8 02E8, 2320).
  120.  
  121.             i = IRQ level.  Valid settings are 1 to 15 (decimal)
  122.  
  123.             s = The spurious interrupt handling switch.  Valid
  124.                 settings are D or I. The D setting uninstalls
  125.                 COM driver if more than 1000 spurious interrupts
  126.                 come in consecutively.  The I setting ignores
  127.                 spurious interrupt.  This setting is optional.
  128.  
  129. For example, to install COM3 at address 03E8 on IRQ5 (assuming
  130. that OS/2 is installed on drive C):
  131.  
  132.             DEVICE=C:\OS2\COM.SYS (3,03E8,5)
  133.  
  134. The I/O address and IRQ level should be noted in the
  135. documentation that came with your adapter.  Either or both might
  136. be fixed values or can be set to a range of values using jumpers
  137. or switches.  In some cases you might find the values are fixed
  138. or the range of settings available to you is insufficient to
  139. avoid the sharing conflict.  In that case, you must purchase a
  140. different, more versatile adapter or accept that you cannot use
  141. both adapters at the same time.
  142.  
  143. ----------------------------------------------------------------
  144. IBM disclaims all warranties, whether express or implied,
  145. including without limitation, warranties of fitness and
  146. merchantability with respect to the information in this document.
  147. By furnishing this document, IBM grants no licenses to any
  148. related patents or copyrights.
  149.  
  150.