Interrupt 2Fh Function 4007h

mov ax, 4007h       ; Disable VM-Assisted Save/Restore
int 2fh
 

Disable VM-Assisted Save/Restore directs the virtual-display device (VDD) to discontinue notifying the VM application when it needs access to video registers.

VM applications call this function when they terminate.

This function has no parameters.

This function has no return value.

This function directs the VDD to restore I/O trapping of unreadable registers and to discontinue calling Save Video Register State and Restore Video Register State (Interrupt 2Fh Functions 4005h and 4006h) when it needs access to the registers. Furthermore, the VDD ignores any subsequent calls to Enter Critical Section and Exit Critical Section (Interrupt 2Fh Functions 4003h and 4004h).

This function does not disable Notify Background Switch and Notify Foreground Switch (Interrupt 2Fh Functions 4001h and 4002h).

See Also

Interrupt 2Fh Function 4001h Notify Background Switch,
Interrupt 2Fh Function 4002h Notify Foreground Switch,
Interrupt 2Fh Function 4003h Enter Critical Section,
Interrupt 2Fh Function 4004h Exit Critical Section,
Interrupt 2Fh Function 4005h Save Video Register State,
Interrupt 2Fh Function 4006h Restore Video Register State