home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / IRQ.FAX < prev    next >
Text File  |  1994-12-10  |  6KB  |  166 lines

  1. Assignment of IRQ Levels             (CP 3/15/94
  2.  
  3.  
  4. OS2IRQ.FAX                          ASSIGNMENT OF IRQ LEVELS
  5.  
  6.  
  7.               Interrupt Request (IRQ) Levels
  8.  
  9.  
  10. On an ISA machine there are a total of 15 IRQ levels available.
  11. Many of these are already being used.  Most are already in use
  12. because they are the standard settings for the common devices.
  13. These standard setings are as follows:
  14.  
  15.        IRQ LEVEL      DEVICE ASSOCIATED
  16.            0            System Timer
  17.  
  18.            1            Keyboard
  19.  
  20.            2            Secondary Interrupt Controller (see note)
  21.  
  22.            3            COM2 (Serial Communications Port 2)
  23.  
  24.            4            COM1 (Serial Communications Port 1)
  25.  
  26.            5            LPT2 (Parallel Port 2)
  27.  
  28.            6            Diskette
  29.  
  30.            7            LPT1 (Parallel Port 1)
  31.  
  32.            8            Real-time Clock
  33.  
  34.            9            open
  35.  
  36.           10            open
  37.  
  38.           11            open
  39.  
  40.           12            Auxiliary Port (Mouse)
  41.  
  42.           13            Math Coprocessor
  43.  
  44.           14            Hard Disk
  45.  
  46.           15            open
  47.  
  48. NOTE:  On the IBM-AT (ISA bus), the IRQ9 pin is idential with
  49.        IRQ2 pin on the original IBM-PC.  If you have an earlier,
  50.        8-bit adapter whose documentation states that it uses
  51.        IRQ2, be aware that this will actually be interpreted as
  52.        IRQ9 when plugged into the 16-bit ISA bus.
  53.  
  54. The IRQ levels shown as open have no established, standardized
  55. use.  When setting IRQ values on your COM3 or COM4 ports, you
  56. are likely to find these levels available to use without conflict
  57. with some other adapter.  Furthermore, if you don't have two
  58. parallel ports installed, IRQ5 might be usable for some other
  59. purpose, such as COM3 or COM4.  Be cautious about doing this
  60. because it might cause a problems later if you decide to install
  61. a second parallel port.  In addition, some other nonstandard
  62. device might be using IRQ5.
  63.  
  64.  
  65.  
  66.  
  67.                    Enabling COM Ports
  68.  
  69. The original ISA computer (the IBM Personal Computer AT*) allows
  70. for the definition of up to four serial communications ports.
  71. However, there has never been any hardware architectural standard
  72. that defined the I/O port addresses or IRQ lines associated with
  73. communication ports 3 and 4.
  74.  
  75. Over the years, a convention has developed that places the port
  76. addresses for COM3 and COM4 at 03E8 and 02E8 respectively.  This
  77. is generally accepted convention, but not a standard.  CHECK THE
  78. DOCUMENTATION AND THE SETTINGS OF THE ADAPTERS IN YOUR SYSTEM TO
  79. VERIFY YOUR HARDWARE ENVIRONMENT.
  80.  
  81. After you have checked and set I/O and IRQ values on your COM
  82. ports or internal modems, you must add this information to the
  83. communications device-driver (COM.SYS) statement in CONFIG.SYS.
  84.  
  85. You might also need to tell your communications program where
  86. COM ports are.  If the program, operating system, and hardware
  87. are not in agreement, then the program will not run.
  88.  
  89. OS/2 COM ports do not need to be defined in sequence.  It is
  90. acceptable to have a COM4 without having a COM3.  However, DOS
  91. might have difficulty if there is a gap in the port definition.
  92. To avoid confusion for DOS, you can define COM ports that do not
  93. have any physical adapters attached in the COM.SYS statement.
  94. These substitute definitions will serve as placeholders.  COM1
  95. and COM2 are assumed to have standard values and do not need to
  96. be explicitly set up unless you want to set some nonstandard
  97. values to accomodate your particular configuration.
  98.  
  99. The following parameter needs to be specified for COM3 and/or
  100. COM4 on ISA/EISA bus systems.  Micro-Channel bus systems do not
  101. need to specify this parameter unless the system has a COM port
  102. with a nonstandard COM port address or non-standard IRQ.
  103.  
  104. To enable COM3 or COM4, place following in CONFIG.SYS file:
  105.  
  106.             DEVICE=X:\OS2\COM.SYS (n,x,i,s)
  107.  
  108.    where:   X = The drive where OS/2 is installed
  109.  
  110.             n = The communication port number (1,2,3,4)
  111.  
  112.             a = The communication port I/O address in hex (for
  113.                 example, 03E8 02E8, 2320).
  114.  
  115.             i = IRQ level.  Valid settings are 1 to 15 (decimal)
  116.  
  117.             s = The spurious interrupt handling switch.  Valid
  118.                 settings are D or I. The D setting uninstalls
  119.                 COM driver if more than 1000 spurious interrupts
  120.                 come in consecutively.  The I setting ignores
  121.                 spurious interrupt.  This setting is optional.
  122.  
  123. For example, to install COM3 at address 03E8 on IRQ5 (assuming
  124. that OS/2 is installed on drive C):
  125.  
  126.             DEVICE=C:\OS2\COM.SYS (3,03E8,5)
  127.  
  128. The I/O address and IRQ level should be noted in the
  129. documentation that came with your adapter.  Either or both might
  130. be fixed values or can be set to a range of values via jumpers or
  131. switches.  In some cases you might find the values are fixed
  132. or the range of settings available to you is insufficient to
  133. avoid the sharing conflict.  In that case, you must purchase a
  134. different, more versatile adapter or accept that you cannot use
  135. both adapters at the same time.
  136.  
  137. You may read this and more detailed information on Pgs. 375 -
  138. 383 in the OS/2 2.1 Using the Operating System Guide.
  139.  
  140. -----------------------------------------------------------------
  141. DISCLAIMER:  The information contained in this document is
  142. distributed "AS IS" without any warranties of any kind either
  143. express or implied.  IBM will not be responsible for any direct,
  144. incidental, consequential, special or indirect damages.  IBM
  145. EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTY OF MERCHANTABILITY AND
  146. ANY IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE.
  147.  
  148. The use of this information or the implementation of any of these
  149. techniques is the sole responsibility of the customer and depends
  150. on the customer's ability to evaluate and integrate this
  151. information or implementation into the customer's operational
  152. environment.
  153. ------------------------------------------------------------------
  154. BOCA CBRX TEAM - 02/94
  155. If you have any comments or suggestions concerning our Faxes,
  156. please send a note to:
  157.             IBM Corporation
  158.             Boca CBRX Team
  159.             P.O.  Box 1328
  160.             Zip 1026
  161.             Boca Raton, FL 33429
  162.  
  163.  
  164.  
  165. 12/31/99
  166.