include vmm.inc
VMMCall Set_V86_Exec_Mode
Forces the current virtual machine into V86 mode. If the current virtual machine is already in V86 mode, this service has no effect. Uses Flags.
Whenever possible, a virtual device should use the Begin_Nest_V86_Exec service instead of this service.
Changing the execution mode of a virtual machine does not change the virtual machine's EAX, EBX, ECX, EDX, ESI, EDI, and EBP registers or most flags. The VM flag and IOPL flags change. The DS, ES, FS, GS, SS, ESP, CS, and EIP registers are restored to the previous values for V86 mode.
Begin_Nest_V86_Exec, Set_PM_Exec_Mode