Home | Links | Contact Us | More About Intellectual Property | Bookmark
Search patents:
Home CPUs Method-and-system-for-providing-event-response-capabilities-to-pseudocode

 Portable terminal which reliably confirms program installation
Therefore, a primary object of the present invention is to provide a portable terminal to be used ...


 Boundary drawing and area filling logic for a display system
We claim: 1. A computer graphics system having display logic comprising: a destination bit map ...


 Data acquisition system using non-linear digitization intervals
Accordingly, it is a general object of the present invention to provide an improved data ...


 High speed data acquisition system and method
OF THE PREFERRED EMBODIMENTS Reference will now be made to the drawings wherein like structures ...


 Data acquisition system and method with a selectable sampling rate
The present invention comprises an improved data acquisition system for digitizing and storing ...


 Data acquisition system comprising real-time analysis and storing means
OF THE INVENTION Although the circuit of the invention is particularly intended to be used in an ...


 Dither signal insertion inversely proportional to signal level in delta-sigma modulators
The foregoing and other problems are overcome and the foregoing objects and advantages are realized ...


 Model train control system
OF THE PREFERRED EMBODIMENT Referring to FIG. 1, a model train control system 10 includes a ...


 Control, sound, and operating system for model trains
The present invention provides a model train operating, sound and control system that provides a ...


 Control, sound, and operating system for model trains
The present invention provides a model train operating, sound and control system that provides a ...


 Method and system for providing event-response capabilities to pseudocode

Details
Inventors: Kimmerly, Randy S.; Saile, Robert E.;
Assignee: Microsoft Corporation (Redmond, WA)
Primary Examiner: Oberley; Alvin E.
Assistant Examiner: Richey; Michael T.
Attorney, Agent or Firm: Seed and Berry LLP

A method and system for providing event-response and monitoring capabilities to a pseudocode program operating in a message or event-based operating environment. The method and system allow the pseudocode program to asynchronously respond to events via one or more trap routines located in the pseudocode program. The method and system also allow the pseudocode program to synchronously monitor events and receive parameters from operating system routines via callback routines located in the pseudocode program. The system includes an execution engine for executing instructions of the pseudocode program. An event-response routine in the pseudocode program includes instructions for responding to the event. An event-response dispatcher is adapted to receive information identifying the event-response routine, save the execution state of the execution engine, cause the execution engine to execute the event-response routine, and restore the execution state of the execution engine that existed before the event-response routine was executed. A transfer routine accessible in response to a call triggered by the event accesses the event-response dispatcher, passes information identifying the event-response routine to the event-response dispatcher, and returns control to the execution engine after the event-response dispatcher restores the state of the execution engine and returns to the transfer routine.

DETAILED DESCRIPTION The present invention includes a method and system for providing event-response and monitoring capabilities to a pseudocode program operating in a message or event-based operating environment.
The method and system allow the pseudocode program to asynchronously respond to events via one or more trap routines located in the pseudocode program.
The method and system also allow the pseudocode program to synchronously monitor events and receive parameters from operating system routines via callback routines located in the pseudocode program.
One application of the invention is with a pseudocode program that is programmed to debug a test program by allowing the actions of the test program to be monitored.
A preferred embodiment of the invention is directed to a system for responding to an event using a pseudocode program operating in a message-based operating environment.
The system includes an execution engine for executing instructions of the pseudocode program, the execution engine having an execution state defined by at least the contents of an instruction counter.
An event-response routine in the pseudocode program includes instructions for responding to the event.
An event-response dispatcher is adapted to receive information identifying the event-response routine, and includes: means for saving the execution state of the execution engine; means for locating the event-response routine; means for causing the execution engine to execute the event-response routine; and means for restoring the execution state of the execution engine that existed before the event-response routine was executed.
A transfer routine accessible in response to a call triggered by the event includes: means for accessing the event-response dispatcher; means for passing information identifying the event-response routine to the event-response dispatcher; means for returning control to the execution engine after the event-response dispatcher restores the state of the execution engine and returns to the transfer routine



Related patents
  High speed parallel binary multiplier
According to the invention there is provided a multiplier circuit which employs a temporary register whose input is coupled in parallel with the input of the accumulator ...
  Color printing, correction, and conversion apparatus and method
OF THE PREFERRED EMBODIMENT While this invention is susceptible of embodiment in many different forms, here is shown in the drawing and will herein be described in ...
  Color image forming method and apparatus for improved image color reproducibility
An object of the present invention is to improve the reproducibility of image colors in a color image forming apparatus. Another object of the present invention is to ...
  Color printer calibration architecture
We claim: 1. A method of calibrating a color printer so that color images defined in terms of colorimetric color signals may be printed on a color printer responsive to ...
  Computer-printable adhesive note system
It is an object of the present invention to provide a computer-printable adhesive note system which overcomes the inadequacies of conventional adhesive notes. It is ...
  Method and apparatus for recording characters
It is an object of the present invention to specify a method and an apparatus for picture-element-by-picture-element and image-line-by-image-line recording of characters,...
  Pick function implementation in a parallel processing system
We claim: 1. In a graphics system in which a predetermined number of pixels representing a fragment of a two-dimensional pixel image are generated in parallel for ...
  Method of multiple CPU logic simulation
The present invention provides a method of simulating the hardware design of a multiple CPU computer system, wherein the CPU's have a common design and the design is ...
  Programmable logic device
I claim: 1. A method of operating a computing element to compile a set of state-machine states in an incompletely specified state-machine having an input alphabet and ...
  Programmable multiplexing input/output port
The present invention discloses an input/output buffer design for FPGAs and other programmable devices. An output buffer of the present invention multiplexes a selection ...

0.014

Archive: All patents - Links

Copyright (c)2006 Eipa-patents.org - All rights reserved