Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Set_V86_Int_Vector
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
mov     eax, Interrupt       ; interrupt number
mov     cx, Segment          ; segment address for interrupt routine
mov     edx, Offset          ; offset to interrupt routine
VMMcall Set_V86_Int_Vector
 
The Set_V86_Int_Vector service sets the specified real-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 address of the code segment containing the
           interrupt routine.
 
Offset     Specifies the offset to the interrupt routine. The high word must
           be zero.
 
Return Value
 
This service has no return value.
 
Comments
 
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.
 
Uses
 
Flags
 
See Also
 
Get_V86_Int_Vector, Set_PM_Int_Vector