include vmm.inc VMMcall GetDOSVectors mov [Int23], eax ; V86 address of original Interrupt 23 handler mov [Int24], edx ; V86 address of original Interrupt 24 handler |
The GetDOSVectors service returns the Interrupt 23h and Interrupt 24h vectors as originally set by MS-DOS for the Windows virtual machine manager (VMM). When Windows starts, the VMM changes the original Interrupt 23h and 24h vectors to the addresses of its own handlers. When a virtual machine starts, the virtual MS-DOS manager resets these vectors to the original handlers using this service to retrieve the original addresses.
Virtual devices must not use this service; this service is reserved for exclusive use by the virtual MS-DOS manager.
This service has no parameters.
The EAX register contains the V86-mode address (segment:offset) for the MS-DOS Interrupt 23h handler, and the EDX register contains the V86-mode address (segment:offset) for the MS-DOS Interrupt 24h handler.
EAX, EDX