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.
Int13_Hooking_BIOS_Int
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include int13.inc
 
VxDcall Int13_Hooking_BIOS_Int
 
The Int13_Hooking_BIOS_Int service notifies the virtual device that the BIOS
Interrupt 13h interrupt has been hooked. The virtual block device calls this
service.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
EAX        Specifies the address (CS:IP) of the original Interrupt 13h BIOS
           handler.
 
ECX        Specifies the address (CS:IP) of the original ROM BIOS Interrupt
           13h hook.
 
Return Value
 
This service has no return value.
 
Comments
 
This service is always called at least once during initialization, but it
must remain resident since it can also be called at system exit time.
 
The virtual block device calls this service after the interrupt has been
hooked. If the service needs to call the BIOS, it should use the
Build_Int_Stack_Frame and Resume_Exec services instead of the Exec_Int
service.
 
This service should save the value in the ECX register to let the
Int13_Translate_VM_Int service chain to the original ROM BIOS at any point
in time. Since this virtual device always replaces the ROM BIOS, the EAX
value can be ignored.
 
Uses
 
EAX, EBX, ECX, EDX, ESI, EDI, and Flags
 
                                      ♦