Embodiments of the invention described herein relate to a gaming device with resource swapping.
A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent files or records, but otherwise reserves all copyright rights whatsoever. The following notice applies to any software and data as described below and in the drawings that form a part of this document: Copyright 2005, WMS Gaming, Inc. All Rights Reserved.
Embodiments of the invention include a method for conserving memory storage on a gaming machine. The method includes creating a resource file and caching the resource file in RAM on a gaming machine; determining whether the resource file is accessed more than a preselected number of times within a preselected time interval; caching the resource file in a SWAP store as a SWAP file if the resource file has not been accessed the preselected number of times within the preselected time interval; monitoring the number of times the SWAP file is accessed within a preselected period of time; and caching the SWAP file as a resource file in RAM of the gaming machine if the SWAP file is accessed a number of preselected times or more.
Another embodiment includes a method for increasing the number of images, animations, and sounds on a gaming machine. The method includes creating one or more resource files associated with one or more games and caching the one or more resource files in RAM on the gaming machine; determining whether the one or more resource files is accessed more than a preselected number of times within a preselected time interval; caching one or more of the resource files in a SWAP store as one or more SWAP files if the one or more resource files has not been accessed the preselected number of times within the preselected time interval; monitoring the number of times the one or more “SWAP files are accessed within a preselected period of time; and caching the one or more SWAP files as one or more resource files in RAM of the gaming machine if the SWAP file is accessed a number of preselected times or more.
Another embodiment includes a gaming machine. The gaming machine includes RAM; a plurality of resource files stored on RAM, wherein the resource files have been accessed a preselected number of times or more over a preselected time interval; a SWAP store; and a plurality of SWAP files cached on the SWAP store.
One other embodiment includes a Computer Readable Medium for conserving memory storage on a gaming machine, the computer readable medium includes creating a resource file and caching the resource file in RAM on a gaming machine; determining whether the resource file is accessed more than a preselected number of times within a preselected time interval; caching the resource file in a SWAP store as a SWAP file if the resource file has not been accessed the preselected number of times within the preselected time interval; monitoring the number of times the SWAP file is accessed within a preselected period of time; and caching the SWAP file as a resource file in RAM of the gaming machine if the SWAP file is accessed a number of preselected times or more.
In the following detailed description of exemplary embodiments of the invention, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration specific exemplary embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that logical, mechanical, electrical and other changes may be made without departing from the scope of the present invention.
Some portions of the detailed descriptions which follow are presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the ways used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of steps leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like. It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussions, terms such as “processing” or “computing” or “calculating” or “determining” or “displaying” or the like, refer to the action and processes of a computer system, or similar computing device, that manipulates and transforms data represented as physical (e.g., electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.
In the Figures, the same reference number is used throughout to refer to an identical component which appears in multiple Figures. Signals and connections may be referred to by the same reference number or label, and the actual meaning will be clear from its use in the context of the description.
The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims.
Prior art
The gaming machine 10 includes a button panel 14 and an optional touch screen 16 for enabling a player to conduct the wagering game. The button panel 14 and the touch screen 16 may have some corresponding buttons for performing the same functions and other buttons for performing different functions. By way of example, a “$” button may be pressed to insert money to increase a player's credits. A “Change Denom” button may be touched to change denomination. A “Collect” button may be touched to collect winnings. A “Pay Table” button may be touched to see the game's pay table. A “Select Lines” button may be touched to change the number of pay lines bet. A “Bet Per Line” button may be touched to change the amount of credits bet on each line. The number of lines to play is generally selected prior to selecting the amount to bet per line. A “Spin Reels” button may be touched to begin the game. A “Stop Reels” button may be touched to stop the reels while they are spinning. If the player does not touch the “Stop Reels” button, the reels will stop on their own. A “Max Bet Spin” button may be touched to play the maximum credits instantly.
Prior art
A system memory 22 stores control software, operational instructions and data associated with the gaming machine. In one embodiment, the system memory 22 comprises a separate read-only memory (ROM) and battery-backed random-access memory (RAM). However, it will be appreciated that the system memory 22 may be implemented on any of several alternative types of memory structures or may be implemented on a single memory structure. A payoff mechanism 24 is operable in response to instructions from the CPU 20 to award a payoff to the player. The payoff may, for example, be in the form of a number of credits. The number of credits are determined by one or more math tables stored in the system memory 22.
A wagering game is described below wherein the basic game is a multi-line, multi-coin video reel slot game. It should, however, be understood that the basic game may be any type of wagering game, including but not limited to video or mechanical reel slots (one or more pay lines), poker, keno, bingo, blackjack, or roulette.
Referring back to prior art
The CPU may use a random number generator to select a game outcome (e.g., “basic” game outcome) corresponding to a particular set of reel “stop positions.” The CPU then causes each of the reels 26 to stop at the appropriate stop position. Symbols are displayed on the reels 26 to graphically illustrate the reel stop positions and indicate whether the stop positions of the reels 26 represent a winning game outcome. Winning basic game outcomes (e.g., symbol combinations resulting in payment of coins or credits) are identifiable to the player by a pay table. The pay table may be affixed to the machine 10 and/or displayed by the display 12 in response to a command by the player (e.g., by pressing the “Pay Table” button). A winning basic game outcome occurs when the symbols appearing on the reels 26 along an active pay line 28 correspond to one of the winning combinations on the pay table. A winning combination could, for example, be three or more matching symbols along an active pay line 28, where the award is greater as the number of matching symbols along the active pay line 28 increases. If the displayed symbols stop in a winning combination, the game credits the player an amount corresponding to the award in the pay table for that combination multiplied by the number of wagered credits. The player may collect the amount of accumulated credits by pressing the “Collect” button.
Included among the plurality of basic game outcomes are one or more start-bonus outcomes for triggering play of bonus games. A start-bonus outcome may be defined in any number of ways. For example, a start-bonus outcome may occur when a special start-bonus symbol or a special combination of symbols appears on one or more of the reels 26. A start-bonus outcome may require the combination of symbols to appear along an active pay line 28, or may alternatively require that the combination of symbols appear anywhere on the display regardless of whether the symbols are along an active pay line 28. The appearance of a start-bonus outcome causes the CPU to shift operation from the basic slot game to the bonus game associated with that start-bonus outcome.
A modern gaming machine has a large number of Resource files, which store individual images, animations, sounds and so forth. Most jurisdictions require that these Resource files be stored on read-only media in a secure, verifiable format. This type of media is generally much slower than system RAM.
To speed rendering, most Resource files are verified, decompressed, converted to a native display format and cached in RAM. This is typically done at start-up. All Resources, even those that are not currently visible, are cached in system RAM. This approach improves performance during game play but limits the number and complexity of the Resources to what will fit into RAM after decompression.
On multi-game platforms the number and size of the Resources exceeds the capacity of system RAM and may therefore limit a manufacturer's product offerings.
Since most Resources are not visible at any given moment, a mechanism is needed for moving the decompressed, cached images from system RAM to a high-speed storage device when they are not needed.
Referring to
In the example shown at 30 in
When a Resource is to be instantiated a Cached Resource Object (CImage in this example) 36 is created. The specified Resource file 38 is read from the Resource Store, verified, decompressed, converted to the native display format and cached into RAM. The Cached Resource Object 36 maintains a reference to this Cached Image. Note that the Cached Image may be deleted without destroying the Cached Resource Object. In this case the associated reference will be NULL.
If swapping is enabled then a corresponding swap file 40 is created on the high-speed Swap Store 34 and the cached image is copied into the swap file.
A particular image may appear in more than one location on a particular display or set of displays. For example, a particular symbol such as a cherry may appear in multiple locations on one or more reels in a video slot game. Each of these potential appearances has a reference to the associated Cached Resource Object (CImage in this example). The Cached Resource Object keeps a Reference Count.
Each reference to a Cached Resource Object is independent and may be visible or invisible at any given moment. If the reference is visible then it instructs the corresponding Cached Resource Object to Show. Conversely, if the reference is not visible it instructs the Cached Resource Object to Hide. The Cached Resource Object maintains a Show Count, which keeps track of the number of references that wish to show the image.
If the Show Count becomes zero and swapping is enabled then the Cached Resource Object will delete the Cached Image from memory, which frees valuable RAM space. Thus, only those images that are actually visible are retained in limited system RAM.
When the Show Count becomes non-zero then the cached image is restored from the swap file. Since the swap file has already been verified and decompressed and exists on high-speed storage, restoration is much faster than retrieving and decompressing the original resource image from the Resource Store.
Swapping shall be enabled/disabled on an individual object basis. In other words, individual objects may be declared “non-swappable”. For example, critical items such as tilt displays or frequently used items such as fonts may be declared “non-swappable.”
If any single reference is non-swappable then the object is non-swappable.
When the Cached Resource Object is destroyed it deletes the cached image from RAM and deletes the corresponding swap file from the Swap Store. Since the swap files are not validated (i.e. verified) they must be reconstructed each time the corresponding Resource file is loaded to satisfy jurisdictional requirements.
The above technique is not limited to graphical images but can also be applied for any type of Resource that may be stored in slow media. For example, the technique may also be applied to audio files or scripts.
Although the foregoing invention has been described in some detail for purposes of clarity of understanding, it will be apparent that certain changes and modifications may be practiced within the scope of the appended claims. For instance, while the gaming machines of this invention have been depicted as upright models having top box mounted on top of the main gaming machine cabinet, the use of gaming devices in accordance with this invention is not so limited. For example, gaming machine may be provided without a top box or the gaming machine may be of a slant-top or a table top design.
This application is related to U.S. Provisional Patent Application Ser. No. 60/577,706, entitled “Gaming Device with Resource Swapping” (Attorney Docket 1842.115PRV), filed on Jun. 7, 2004.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/US05/20133 | 6/7/2005 | WO | 00 | 2/4/2008 |
Number | Date | Country | |
---|---|---|---|
60577706 | Jun 2004 | US |