Page 1 of 1
Interrupts: how to begin?
Posted: Tue Dec 14, 2004 2:56 pm
by Poseidon
I'm only a few days working now on a kernel, and I'm gonna do the interrupts now, but I haven't really a clue how to begin. I read a few webpages, but can I just do this for example in assemble code?:
Re:Interrupts: how to begin?
Posted: Tue Dec 14, 2004 3:21 pm
by gaf
Hi
I hope you're already in pmode ?
If so - here are some tutorials that may help you:
http://www.osdever.net/tutorials/interr ... ?the_id=39
http://www.osdever.net/tutorials/pic.php?the_id=38
1. Reprogram the PIC
2. Set-up an idt
3. Write your interrupt handlers
regards,
gaf
Re:Interrupts: how to begin?
Posted: Wed Dec 15, 2004 6:19 am
by Neo
osdever.net used to have good docs on this thing. Just check if they still do.