Page 1 of 1

How IRQ's work?

Posted: Thu Nov 29, 2001 12:00 am
by Stefan
I'm in big trouble, I don't understand how IRQ's work.
My question is: Can I handle IRQ's (e.g. IRQ 15, IRQ 16) with interrupts like thows in the IDT?
Does anybody know some good info (good sites or texts) about progamming with IRQ support?
Please help, I need this for my OS!

Thank you.

RE:How IRQ's work?

Posted: Mon Dec 31, 2001 12:00 am
by Guest
You have a programmable interrupt controller (PIC)
When a device triggers an interrupt request, the
PIC signals the corresponding intterrupt (the
vector). The CPU looks up the handler for the
interrupt vector in either the IDT in protected
mode or the interrupt vector table in realmode.
The CPU calls the handler.