Discussion Locked

irqs 2 and 9

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
can someone give me a clear answer on what is meant by irq cascades to 9 and vice versa? thanks

5 replies

by dmiles

Programmable interrupt controller,basically used in older systems since 286 on the signal line of ISA bus called IRQ2 actually routed to IRQ9
A PIC is the device used by the processor to receive signals from peripherals that they need service
The two interrupt controllers are linked,through IRQ2 which is used as a link to IRQ's 8-15,which means it is not available for general use

by donmars

Simply put, IRQ 9 and 2 are the same. They are "hard wired" together. PICs' are used for all IRQ this allows them to independently respond to request for interupt and not be polled continuosly. Cascading means you can daisy chain PIC chips together.This is what happened with the introduction of the IBM AT, we had a second PIC chip cascaded onto the first, giving us a total of 15 hardware lines... Why 15 and not 16? Thats because when you cascade chips, the PIC needs to use one of the int linesto signal to the other chip.

Thus, in an AT, IRQ line 2 is used to signal the second chip... But to confuse things more, IRQ 9 is redirectd to IRQ 2. So when you get an IRQ 9, the signal is redirected to IRQ 2. Clear? Reread it a few times it will come clear.

This discussion is closed to new replies.