Set_V86_Int_Vector

include vmm.inc

mov     eax, Interrupt   ; interrupt number
mov     cx, Segment      ; segment address of interrupt routine
mov     edx, Offset      ; offset of interrupt routine
VMMCall Set_V86_Int_Vector
 

Sets the specified real-mode interrupt vector to the address of the given interrupt routine. Uses Flags.

Interrupt
Number of the interrupt to set.
Segment
Segment address of the code segment containing the interrupt routine.
Offset
Offset of the interrupt routine. The high word must be zero.

If the Set_V86_Int_Vector service is called before the Sys_VM_Init message, the installed interrupt routine becomes part of the default interrupt vector table for every virtual machine. Otherwise, this service affects the interrupt vector table for the current virtual machine only.

See Also

Get_V86_Int_Vector, Set_PM_Int_Vector