home *** CD-ROM | disk | FTP | other *** search
-
- Greetings from MEL's Diner BBS! (714) 686-1522
-
-
- IP is a serial interrupt and port verification program. Just run "ip" and the
- program will check the RAM bios data area to see what port addresses your
- system is currently aware of. The program will then run a diagnostic routine
- to discover any additional ports, and update the data area accordingly. In the
- meantime, IP will also tell you which IRQ's are being used by what ports.
-
- NOTE: IP does not assume that address 0x3F8 is connected to IRQ3, 0x2F8 to
- IRQ4, etc... as several other serial port diagnostic utilities do. IP acually
- enables the 8250's interrupts and does a functional check of the 8259 interrupt
- controller chip and it's associated circuitry. In doing so, IP determines
- exactly which hardware ports are connected to which IRQ's.
-
- IP will now take a command line switch (/n or /x). The /n (default) switch tells
- IP to check standard IBM port addresses (3F8h,2F8h,3E8h,2E8h). The /x switch
- will allow IP to look for additional addresses which are sometimes used in non-
- standard hardware schemes. The /x switch should be used with caution as some
- non-standard hardware layouts will crash unexpectedly when one of these add-
- itional port addresses are searched by IP.
-
- EXAMPLE:
-
- Interrupt and Port Verifier (serial) - Version x.xx
- Copyright (C) 1990-1991, AM Research Co.
-
- Bios reports --> COM1:3F8 COM2:2F8 2 serial ports
-
- PART# BASE RD IE ID LC MC LS MS SP LSB MSB IRQ (XT) IRQ (AT) INT VECTOR
- 01234567 89ABCDEF
- 8250-B 3F8: 00 00 01 03 00 62 08 FF 030 000 00001000 00000000 0Ch 119C:032A
- 8250A 2F8: 0D 00 01 03 00 60 F0 00 030 000 00010000 00000000 0Bh 119C:02A2
- 16550A 3E8: 00 00 01 03 00 62 30 00 006 000 00000100 00000000 0Dh 119C:02FA
-
- 3 serial ports found! Updating bios data area.
-
-
- EXPLANATION:
-
- The first info line after the copyright notice tells us that the system
- bios data area (RAM) thinks that there are two serial port addresses in-
- stalled in the computer under test. These addresses are found by the bios
- POST routines when the system is first booted. Many older bios test routines
- only check for COM1 and COM2 as the example shows.
-
- After reading the bios, the program prints a list of each port address that
- it found to contain a serial port. Each line will begin with the part number
- of the UART chip which was found. After the part number the port address is
- shown followed by the contents of the port's ten readable registers. The
- values displayed may make more sense if you check the 8250 data sheet for
- register descriptions, etc.
-
- Following the register values is a list of 1's and 0's indicating which
- hardware IRQ the port in question is connected to. This is the place to look
- if you are having a problem that you suspect is due to an IRQ conflict.
- Generally speaking, it is ok for two ports to share the same IRQ as long as
- your work only uses one of the hardware devices at at time.
-
- After the IRQ block is the interrupt number and vector of the ISR that will
- be called to service the port if an interrupt is generated. Note that almost
- all serial ports will have their interrupts turned OFF at the time you are
- performing the test. The interrupt vector that is displayed will probably be
- changed by an application that enables the port's interrupts.
-
- It is very important for the operator to realize that IP is a diagnostic
- utility which is meant to be used in checking/troubleshooting a newly modifed
- or questionable computer. As such, IP may therefore interfere with the system's
- operation as it actively enables and operates each port's interrupt circuitry.
-
- IP will probably NOT work properly if you have loaded any type of software that
- activates the port's interrupts such as fossil drivers, etc. IP may very well
- cause a crash if used with any type of multi-tasking software.
-
- Finally, IP will modify the bios data area to report any additional ports it
- discovers.
-
- I would be quite interested in hearing from anyone with comments, suggestions,
- crashing reports, etc...
-
- As you might imagine, IP remains Copyright (C) 1990-1991, AM Research Co.
-
-
-
- Hope you enjoy using it.
-
-
- bye for now...
-
- MEL
-
-
-
- HISTORY
-
- Version 1.22 - Fixed bug in the bios data area update routine. (It didn't
- always update it!)
-
- Version 1.21 - Fixed bug whereby NS16550's and NS16550A's wouldn't produce
- an interrupt if the fifo buffers were activated. Also added
- NS16552 detection.
-
- Version 1.20 - Added extended base addresses. Also protected system from the
- isr test if interrupts are already activated.
-
- Version 1.10 - Rewrote the isr. Works much better now.
-
- Version 1.04 - Yet more bugs.
-
- Version 1.03 - More minor bugs.
-
- Version 1.02 - Minor bug fix.
-
- Version 1.01 - First release.
-
-
-