How IRQ's work?

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
Stefan

How IRQ's work?

Post 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.
Guest

RE:How IRQ's work?

Post 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.
Post Reply