×

Method and operating system for executing programs in a multi-mode microprocessor

  • US 4,779,187 A
  • Filed: 04/10/1985
  • Issued: 10/18/1988
  • Est. Priority Date: 04/10/1985
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of processing interrupts in a digital computer system including a processing unit, a memory, and a multi-tasking operating system, the processing unit including an interrupt vector table for storing the memory addresses of operating system routines or application program routines for servicing interrupts, the method including the steps of:

  • (a) for each interrupt serviced by an operating system routine, storing the address of the corresponding operating system interrupt service routine in a corresponding client list in a dispatcher routine in the operating system;

    (b) for each operating system interrupt service routine, storing the address of the dispatcher in the corresponding interrupt vector;

    (c) periodically examining the interrupt vector table to determine if any application programs have edited interrupt vecotrs to replace the address of the dispatcher with the address of an application program service routine;

    (d) for any edits located in step (c), placing the address of the application program interrupt service routine on top of the client list for the corresponding interrupt and restoring the interrupt vector value to point to the dispatcher;

    (e) upon receipt of an interrupt, successively transferring control to the interrupt service routines until one of the routines services the interrupt; and

    (f) upon termination of an application program that has edited the interrupt vector table, deleting the addresses of the interrupt service routines of the terminated program from the client lists of the dispatcher and restoring the values of the interrupts as necessary to point to the dispatcher.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×