Page 1 of 1

irqs can be remaped?

Posted: Fri Apr 05, 2002 12:00 am
by blito
i think that irqs were fix but the only that could be
remaped was the Interrupt routine number.
were i cuold find info on this???
thank's
i'm new in writing os!!!!!!!!!.

RE:irqs can be remaped?

Posted: Sun Apr 07, 2002 12:00 am
by J. Weeks
>On 2002-04-05 14:45:27, blito wrote:
>i think that irqs were fix but the only that could be
>remaped was the Interrupt routine number.

Nope, you can remap your irq's.

>were i cuold find info on this???

Unfortunately, I don't have an exact source, but
if you search around for docs concerning the PIC
then you'll probably find something. Also, check
out some of the PIC code in the OSs off this
page for a code example.

It's been a while, but the basic process involves
initializing the pic, sending a new base interrupt
for the master, and then the slave (ie, the cascaded
unit) and you're golden. 'bout 15-20 lines of
assembler.

Jeff