Set Protected Mode Interrupt Vector


This function sets the address of the specified
protected mode interrupt vector.

To Call

AX = 0205h
BL = Interrupt number
CX:(E)DX = Selector:Offset of exception handler

Returns

If function was successful:
Carry flag is clear.

If function was not successful:
Carry flag is set.

Programmer's Notes

o The value passed in CX must be a valid protected
mode code selector, not a real mode segment.
o 32-bit mode programs must supply a 32-bit offset
in the EDX register. If your handler chains to
the next exception handler it must do so using a
32-bit interrupt stack frame.
o Note all 100h (256 decimal) interrupt vectors must
be supported by the DPMI host.