◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── include vmm.inc mov eax, Interrupt ; interrupt number mov cx, Segment ; segment selector for interrupt routine mov edx, Offset ; offset to interrupt routine VMMcall Set_PM_Int_Vector The Set_PM_Int_Vector service sets the specified protected-mode interrupt vector to the address of the given interrupt routine. Parameter Description ──────────────────────────────────────────────────────────────────────────── Interrupt Specifies the number of the interrupt to set. Segment Specifies the selector of the code segment containing the interrupt routine. Offset Specifies the offset to the interrupt routine. If the code segment containing the routine is a 16-bit segment, the high word of this parameter must be zero. Return Value This service has no return value. Comments If the Set_PM_Int_Vector service is called before the Sys_VM_Init control call, 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. By default, each table entry points to a protected-mode breakpoint procedure that reflects the interrupt to V86 mode. Uses Flags See Also Get_PM_Int_Vector, Set_PM_Int_Type, Set_V86_Int_Vector ♦