How many two 8259A can connect interrupt sources?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
leetow2003
Member
Member
Posts: 70
Joined: Fri Nov 19, 2010 6:54 pm

How many two 8259A can connect interrupt sources?

Post by leetow2003 »

One 8259A can connect 8 interrupt sources,
the IRQ2 in master 8259A must connect to slave 8259A,
I think two 8259A can connect 7+8 interrupt sources,
but I find some books say two 8259A can connect
8+8 interrupt sources,I want to know how many?
User avatar
qw
Member
Member
Posts: 792
Joined: Mon Jan 26, 2009 2:48 am

Re: How many two 8259A can connect interrupt sources?

Post by qw »

Technically, one can attach 8 slave PIC's to one master PIC, resulting in 64 distinct IRQ lines. It's never been done as far as I know.
rdos
Member
Member
Posts: 3311
Joined: Wed Oct 01, 2008 1:55 pm

Re: How many two 8259A can connect interrupt sources?

Post by rdos »

The PIC is all legacy, and all modern computers have an APIC (and some PCI-cards even use MSI to directly generate processor interrupts). Some modern computers still have legacy-PICs as well, but then typically won't support non-legacy devices through PIC.
Post Reply