doing stuff in protected mode - another question

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
keyboard_ninja

doing stuff in protected mode - another question

Post by keyboard_ninja »

So how can i use that info that you just gave me:
J. Weeks

RE:doing stuff in protected mode - another question

Post by J. Weeks »

>On 2002-05-14 22:28:22, keyboard_ninja wrote:
>So how can i use that info that you just gave me:

You do know what an exception is, right? In other
words, a hardware interrupt?

So, what you want to do, is define ISR (interrupt
service routines) for each of those vectors... or
at least each of those vectors that haven't been
masked off (check out documents on the PIC if
this seems foreign).

If you don't, whenever you have an exception, your
operating system will triple-fault, and you're
outta luck. At the very least, I'd define one
for the timer, the keyboard, and some of the more
"famous" faults (GPF, double fault, etc).

Jeff
Post Reply