Page 1 of 1

IDT

Posted: Mon Oct 28, 2002 12:00 am
by Tom Fritz
I know I've posted this on other boards(not much help there)

But I need to know if I should remap the IRQs and load an IDT, and make my own interrupt handler then use sti to enable harware interrupts?

Thank you,
Tom www.sourceforge.net/projects/fritzos

RE:IDT

Posted: Mon Oct 28, 2002 12:00 am
by carbonBased
You're definitly going to want to remap the hardware IRQs to above 32d.  You don't really _have_ to, but it makes things _a lot_ easier.  Essentially, it's because the hardware exceptions also occupy ints 0-32d, which makes things complicated (did int 4 come from a serial port, or is it a stack fault exception?, for example)

And yes, you're going to have to make your own interrupt handlers _AND_ use sti to enable interrupts... the two are NOT mutually exclusive.

Jeff