include vmm.inc mov al, Byte ; byte to locate VMMcall Locate_Byte_In_ROM jc not_found ; carry flag set if byte not found mov [Location], eax ; linear address of byte
Scans the system ROM for a specified byte. Virtual devices use this service to locate single-byte instructions, such as the iret instruction, that must be protected from modification by programs running in a virtual machine. This service is only available during initialization. Uses EAX, Flags.
Byte
Byte value to search for.
Users can disable this service by setting to false the SystemROMBreakpoint setting in the [386Enh] section of the SYSTEM.INI file.