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.
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.
This service has no return value.
This service is always called at least once during initialization, but it must remain resident since it can also be called at system quit 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 value in the EAX register can be ignored.
EAX, EBX, ECX, EDI, EDX, ESI, and Flags