Patent ID: 7470182

Claim:
A universal operating system stored in a memory of a computerized controller comprising a processor with said memory and the operating system stored in said memory, the controller further comprising a operating state storage, a nonvolatile storage, the computerized controller being operable to control at least one computerized wagering game, the operating system comprising: an operating system kernel and a system handler application, the operating system kernel and system handler application operable to dynamically link with a plurality of program shared objects and device handlers and load said program shared objects and device handlers, wherein said plurality of program shared objects can be effectively shared between two or more computerized wagering games; the system handler application further comprising an event queue; the system handler application further comprising an Application Program Interface (API) comprising functions callable from the program shared objects, the Application Program Interface comprising a plurality of operating functions callable by and used by said plurality of said program shared objects; the device handlers accessing a look-up table in the operating state storage for the data variables stored in the nonvolatile storage; the system handler application operable to: initiate execution of a computerized wagering game based on data variables stored in the nonvolatile storage; write data variables to the nonvolatile storage when said computerized wagering game is executed; and wherein said writing of said data variables changes the data variables in the nonvolatile storage and consequently causes execution of a corresponding callback function in one of the plurality of program shared objects of the system handler application.