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.
GetDOSVectors
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall GetDOSVectors
 
mov     [Int23], eax            ; V86 address of original Int23 handler
mov     [Int24], edx            ; V86 address of original Int24 handler
 
The GetDOSVectors service returns the Interrupt 23h and Interrupt 24h
vectors as originally set by MS-DOS for the Windows virtual machine manager.
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.
 
Return Value
 
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.
 
Uses
 
EAX, EDX
 
See Also
 
Get_PSP_Segment