doing stuff in protected mode

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

Post by keyboard_ninja »

Is there a reference like the interrupt list except for protected mode ?
J. Weeks

RE:doing stuff in protected mode

Post by J. Weeks »

>On 2002-05-14 00:37:35, keyboard_ninja wrote:
>Is there a reference like the interrupt list except for protected mode ?

If you're looking for a list of interrupts you can
call to support BIOS-like functions in protected
mode, there aren't any.

The following exceptions are "defined" in protected
mode, by default, but there are no code associated
with them, you must code them yourself:

exception/interrupt - vector #
divide error - 0
single-step - 1
NMI - 2
BreakPoint - 3
Overflow - 4

in 286+
bounds check - 5
invalid opcode - 6
processor extension not available - 7

in 386+
double fault - 8
coprocessor segment overrun abort - 9
invalid tss - 10
segment not present - 11
stack exception - 12
gpf - 13
page fault - 14
reserved - 15
floating point error - 16

in 486+
alignment check - 17

in pentium+
Machine check - 18

That's it,
Jeff
Post Reply