Patent ID: 7395199

Claim:
A method for emulating VGA hardware for a guest operating environment in a host operating environment for a computer system, wherein the guest operating environment is operable to send instructions to the VGA hardware, wherein the VGA hardware is configured under a current VGA mode and is operable to be configured in one of a possible plurality of VGA modes, and wherein the computer system comprises a memory, comprising the steps of: receiving an instruction issued from the guest operating system and directed to the VGA hardware, wherein the instruction is associated with the current VGA mode; branching to a jump table, wherein the jump table comprises one or more jump table entries operable for pointing to one or more addresses in memory and wherein the jump table entries are associated with a specific VGA mode; pointing to an address in memory corresponding to a function, wherein the function is operable to allow the host operating system to execute the instruction; and executing the function under the host operating environment.