Method of transferring control in a multitasking computer system
First Claim
1. A method of transferring control in a multitasking computer system having a system monitor and a plurality of programs executing under the system monitor, comprising the steps performed by a computer of:
- writing an inoperative instruction into a selected routine of a program; and
monitoring the execution of the programs to detect an occurrence of the inoperative instruction and transferring control to the system monitor after detection of the occurrence.
2 Assignments
0 Petitions
Accused Products
Abstract
An improved method and system for transferring control in a multitasking computer system is provided. In preferred embodiments for use with 80386 machines, the virtual machine monitor (VMM) writes a virtual machine break point (VMBP) instruction into the executable code of selected DOS routines to cause the DOS routines to transfer control to the VMM. By selecting systems calls of indefinite duration for the application of this method, system performance can be improved. In this preferred embodiment for 80386 machines, 8086 programs designed to run under DOS can be more efficiently executed in a multitasking environment.
81 Citations
9 Claims
-
1. A method of transferring control in a multitasking computer system having a system monitor and a plurality of programs executing under the system monitor, comprising the steps performed by a computer of:
-
writing an inoperative instruction into a selected routine of a program; and monitoring the execution of the programs to detect an occurrence of the inoperative instruction and transferring control to the system monitor after detection of the occurrence. - View Dependent Claims (2, 3)
-
-
4. A method of transferring control in a multitasking computer system having virtual mode emulating a single tasking environment, a virtual machine monitor and a plurality of application programs running under DOS in virtual mode, the method comprising the steps performed by a computer of:
-
locating a routine in DOS for a system call of indefinite duration; and reading into the located routine an inoperative opcode for transferring control to the virtual machine monitor when the located routine is called by an application program.
-
-
5. A method of transferring control between DOS and a VDMM in an 80386-compatible computer system, the system including a virtual mode for executing an application program under DOS in a simulated 8086-8088 environment, the computer system having a computer memory, the method comprising the steps of:
-
loading the DOS into the computer memory; locating a selected DOS routine in the computer memory; writing an operation code that is invalid in virtual mode into the selected DOS routine; and executing the selected DOS routine with the invalid operation code in virtual mode so that when the invalid operation code is executed, control transfers from the DOS to the VDMM. - View Dependent Claims (6, 7)
-
-
8. The method of modifying a selected DOS routine so that the DOS routine will transfer control to a VDMM when executed on a 80386-compatible computer, the computer including a virtual mode for executing an application program under DOS in a simulated 8086-8088 environment, the method comprising the steps performed by a computer of:
-
locating the selected DOS routine; and writing an operation code that is invalid in virtual mode into the selected DOS routine. - View Dependent Claims (9)
-
Specification