I Can't Get Interrupts Working: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Line 58: | Line 58: | ||
=== I can only receive one IRQ === |
=== I can only receive one IRQ === |
||
Each IRQ needs to be acknowledged to the PIC manually. You need to have <source lang="c"> outb(0x20,0x20) </source> within any master handler and any <source lang="c"> outb(0x20,0x20); outb(0xa0,0x20); </source> within any slave handler. |
Each IRQ needs to be acknowledged to the PIC manually by sending an EOI. You need to have <source lang="c"> outb(0x20,0x20) </source> within any master handler and any <source lang="c"> outb(0x20,0x20); outb(0xa0,0x20); </source> within any slave handler. |
||
=== When I try to enable the PIT, the keyboard doesn't work anymore === |
=== When I try to enable the PIT, the keyboard doesn't work anymore === |