- Introduction
- Extended I/O
- Hexadecimal Addresses
- Chapter Summary
- Apply Your Knowledge
Apply Your Knowledge
Review Questions
On which I/O address would you find the second IDE controller in a PC-compatible system?
070
170
278
378
Which IRQ channel would you expect to be servicing an external modem in a PC system that was using a serial mouse in COM1 for input?
IRQ 2
IRQ 3
IRQ 4
IRQ 10
If you wanted to add a color ink-jet printer to a system with a secondary printer port that already had a laser printer attached to LPT1, how could you configure it?
Connect the color printer to LPT2.
Connect the color printer to COM1.
Connect the color printer to COM2 so that the mouse can remain on COM1.
Install a printer switch box so that both printers can use LPT1.
How many DMA channels are there in an AT-compatible system?
2
4
8
16
Which standard system device uses IRQ6?
The keyboard
Floppy disk drives
The system board's DRAM Refresh circuitry
The parallel printer port
What action normally accompanies installing an external modem?
Rebooting the system
Pushing the reset button on the modem
Disabling the second parallel port
Disabling the second onboard COM port
What type of problem will create an NMI type of interrupt in the system? (Select all that apply.)
A Parity Check (PCK) error in the system's DRAM memory
IRQ conflict between devices
When an active IO Channel Check (IOCHCK) signal is received from an adapter card located in one of the board's expansion slots
Over-voltage of the system board
Which of the following describes the bit pattern that would appear on the address bus to activate the first serial port? (You may use a scientific calculator.)
0111110000
1001111000
1011111000
1111111000
What does the computer system typically use to stop the processes of the microprocessor so that attention can be given to the demands of a particular device?
ATX
ATA
IRQ
NMI
Which interrupt request channels are available for use through the ISA bus?
IRQ 0-15
IRQ 0-7, 14-15
IRQ 3-7, 9-12, 14-15
IRQ 1-4, 9-11
The IRQ1 channel is used _______ and cannot be used for other devices.
for the system's internal time-of-day clock
by the system's keyboard receiver
by the floppy disk drive
by the printer for LPT1
The IRQ0 channel is _______.
used by the system's timer/counter and cannot be used for other devices
used by the keyboard and cannot be used for other devices
used by the floppy disk drive and cannot be used for other devices
open and can be used for any device requiring an IRQ channel
Which interrupt is cascaded with IRQ2?
IRQ5
IRQ7
IRQ9
IRQ10
Which device normally uses IRQ7?
A laser printer
A modem
A floppy disk drive
A hard disk drive
IRQ4 is normally assigned to the device connected to the ______.
COM1 port
LPT1 port
COM2 port
LPT2 port
A floppy disk drive uses which of the following IRQs?
IRQ2
IRQ5
IRQ6
IRQ9
Which IRQ is the default assignment for the printer attached to LPT1?
IRQ3
IRQ5
IRQ7
IRQ13
What is the IRQ for COM1?
IRQ1
IRQ2
IRQ3
IRQ4
Which of the following combinations are correct? (Select all that apply.)
IRQ1 is the default for COM2 and COM4.
IRQ2 is the default for COM1 and COM3.
IRQ3 is the default for COM2 and COM4.
IRQ4 is the default for COM1 and COM3.
What is the standard IRQ for COM2?
IRQ3
IRQ4
IRQ2
IRQ1
On which I/O address would you find the primary IDE controller in a PC-compatible system?
070
170
1F0
3F8
Which standard PC device uses a DMA channel?
LPT1
COM1
INTC1
FDD
What I/O address range is typically assigned to the video controller BIOS?
C000-C7FF
C700-CFFF
D000-C7FF
D800-D8FF
Which IRQ channel is reserved for the Real-Time Clock module in an ATX system?
IRQ0
IRQ1
IRQ8
IRQ9
Answers and Explanations
B. The first or Primary IDE controller is assigned IRQ14 while the Secondary controller uses IRQ15 to interrupt the system. The I/O port address for the second IDE controller is 170h-177h. For a detailed listing, consult Table 3.3: I/O Port Addresses. For more information, see the section "Onboard I/O."
B. The modem (or its host COM port) should be configured to for addresses 278 through 27Fh, IRQ3, and COM2. For more information, see the section "Modems."
A. If you have a secondary printer port, the new printer should be configured to LPT2. For more information, see the section "Interrupts."
C. There are two DMA controllers of four channels each. One of these channels (CH4) is a cascade channel and is not available for designation. Therefore, although there are eight DMA channels total, only seven are actually available. For more information, see the section "Direct Memory Access."
B. IRQ6 is normally assigned to the floppy disk drives (FDDs). For more information, see the section "Interrupts."
D. In the case of the internal modem, the UART in the modem normally replaces one of the two COM port UARTs provided by a typical PC system. If the COM port UART is not disabled, the system might have trouble differentiating between the two ports and a conflict can develop. Therefore, it is common practice to disable an onboard UART when an internal modem is installed. The COM ports can be enabled or disabled through the system's CMOS SetupPeripherals screen. For more information, see the section "Modems."
A, C. There are two system board-based conditions that will cause a Non-Maskable Interrupt (NMI) signal to be sent to the microprocessor. The first condition occurs when an active IO Channel Check (IOCHCK) signal is received from an adapter card located in one of the board's expansion slots. The other event that will cause an NMI signal to be generated is the occurrence of a Parity Check (PCK) error in the system's DRAM memory. For more information, see the section "Interrupts."
D. The first serial port is 3F8h. This translates to a binary bit code of 1111111000. For more information, see the section "Onboard I/O."
C. In the course of normal operations, the various I/O devices attached to a PC, such as the keyboard and disk drives, require servicing from the system's microprocessor. Because these service requests can happen at any time and tend to require immediate attention, I/O devices generally have the capability to interrupt the microprocessor while it is executing a program. The I/O device accomplishes this by issuing an interrupt request (IRQ) input signal to the microprocessor. For more information, see the section "Interrupts."
C. See Table 3.1: System Interrupt Levels. For more information, see the section "Interrupts."
B. See Table 3.1: System Interrupt Levels. For more information, see the section "Interrupts."
A. See Table 3.1: System Interrupt Levels. For more information, see the section "Interrupts."
C. See Table 3.1: System Interrupt Levels. For more information, see the section "Interrupts."
A. See Table 3.1: System Interrupt Levels. For more information, see the section "Interrupts."
A. See Table 3.1: System Interrupt Levels. For more information, see the section "Interrupts."
C. See Table 3.1: System Interrupt Levels. For more information, see the section "Interrupts."
C. See Table 3.1: System Interrupt Levels. For more information, see the section "Interrupts."
D. See Table 3.1: System Interrupt Levels. For more information, see the section "Interrupts."
C, D. See Table 3.1: System Interrupt Levels. For more information, see the section "Interrupts."
A. See Table 3.1: System Interrupt Levels. For more information, see the section "Interrupts."
B. The first or Primary IDE controller is assigned IRQ14, whereas the Secondary controller uses IRQ15 to interrupt the system. The I/O port address for the primary IDE controller is 1F0h-1F7h. For a detailed listing, consult Table 3.3: I/O Port Addresses. For more information, see the section "Onboard I/O."
D. See Table 3.2: System's DMA Channel Designations. For more information, see the section "Direct Memory Access."
A. See Table 3.4: System Memory Map. For more information, see the section "Onboard I/O."
C. See Table 3.1: System Interrupt Levels. For more information, see the section "Interrupts."
Challenge Solutions
He should assign the new printer IRQ5, which is the standard second LPT port (LPT2) in a PC-compatible system. The system will be able to communicate with the printer at hex addresses 278-27Fh. For more information, see the section "Interrupts."
You should be able to fax him the following list:
For more information, see the section "Onboard I/O."
Suggested Readings and Resources
I/O Transfer Methods http://www.ebiz.com.pk/pakistan/dma.doc
System Resources http://www.pcguide.com/ref/mbsys/res/
Introduction to Hexidecimal http://www.intuitor.com/hex/bases.html