MODIFY_REGISTER_STATE (Function 10)

Call With

EBX: Contains the VM handle to modify state for.

CL: Contains 0 if it is desired to access memory at A000h. It contains 1 if it is desired to access flat linear memory.

Return Values

Save anything that you use.

Remarks

This function is obsolete and its use is not recommended.

Certain pieces of display hardware are "modal" and must have some of their extended registers set to certain values depending on whether the application is accessing memory at one of the VGA apertures (such as A000h:xxxx) or if it is accessing memory using a flat linear frame buffer. This routine is called by the Main VDD to explicitly tell the mini-VDD which way to set its extended registers. The recommended method to do this task is to use the functions ACCESS_LINEAR_MEMORY_MODE and ACCESS_VGA_MEMORY_MODE.