JP2019209162A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2019209162A
JP2019209162A JP2019146193A JP2019146193A JP2019209162A JP 2019209162 A JP2019209162 A JP 2019209162A JP 2019146193 A JP2019146193 A JP 2019146193A JP 2019146193 A JP2019146193 A JP 2019146193A JP 2019209162 A JP2019209162 A JP 2019209162A
Authority
JP
Japan
Prior art keywords
storage area
main control
storage
control cpu
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019146193A
Other languages
Japanese (ja)
Other versions
JP6727592B2 (en
Inventor
理 出尾
Tadashi Ideo
理 出尾
元継 堀内
Mototsugu Horiuchi
元継 堀内
靖典 岩倉
Yasunori Iwakura
靖典 岩倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Newgin Co Ltd
Original Assignee
Newgin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Newgin Co Ltd filed Critical Newgin Co Ltd
Priority to JP2019146193A priority Critical patent/JP6727592B2/en
Publication of JP2019209162A publication Critical patent/JP2019209162A/en
Application granted granted Critical
Publication of JP6727592B2 publication Critical patent/JP6727592B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Slot Machines And Peripheral Devices (AREA)

Abstract

To provide a game machine capable of easily managing a storage section.SOLUTION: Processing performed by a main control CPU includes: power supply processing performed when power is supplied; and second storage area check initialization processing called in the power supply processing. The power supply processing rewrites a storage content in a first storage area out of a storage area of a main control RAM in accordance with a processing result and does not rewrite a storage content in a second storage area out of the storage area of the main control RAM. The second storage area check initialization processing rewrites the storage content in the second storage area out of the storage area of the main control RAM in accordance with the processing result and does not rewrite the storage content in the first storage area out of the storage area of the main control RAM.SELECTED DRAWING: Figure 12

Description

この発明は、遊技機に関するものである。   The present invention relates to a gaming machine.

従来、スロットマシンなどの遊技機は、中央演算素子などの処理部と、読み書き可能な記憶部と、を備えている。例えば、特許文献1に開示されている遊技機は、処理部による処理結果を、記憶部のうち7E00H〜7FFFHのアドレス範囲に記憶させるとともに、記憶させた処理結果を用いて更に処理を行うなどして、ゲームの進行を制御したり、演出を実行させたりしている。   Conventionally, a gaming machine such as a slot machine includes a processing unit such as a central processing element and a readable / writable storage unit. For example, the gaming machine disclosed in Patent Document 1 stores the processing result by the processing unit in the address range of 7E00H to 7FFFH in the storage unit, and further performs processing using the stored processing result. The progress of the game is controlled and the production is executed.

特開2007−307138号公報JP 2007-307138 A

ところで、近年では、ゲーム性の向上や演出の高度化に起因して、記憶部に記憶させることが必要な情報量が増大しており、記憶部の管理が煩雑となる虞がある。
本発明の目的は、記憶部の管理を容易にできる遊技機を提供することである。
By the way, in recent years, the amount of information that needs to be stored in the storage unit has increased due to the improvement in game performance and the sophistication of production, and there is a possibility that the management of the storage unit becomes complicated.
An object of the present invention is to provide a gaming machine that can easily manage a storage unit.

上記課題を解決する遊技機は、処理を行う処理部と、前記処理部の処理結果を記憶する記憶部と、を備え、前記処理部が行う処理には、所定の情報を復帰させるための第1電断復帰処理と、前記第1電断復帰処理において呼び出される第2電断復帰処理と、が少なくともあり、前記第1電断復帰処理は、前記記憶部の記憶領域のうち第1領域の記憶内容を処理結果に応じて書き換える一方で、前記記憶部の記憶領域のうち第2領域の記憶内容を書き換えない処理であり、前記第2電断復帰処理は、前記第2領域の記憶内容を処理結果に応じて書き換える一方で、前記第1領域の記憶内容を書き換えない処理であり、前記第2電断復帰処理においては、前記第1領域に記憶されている情報を特定可能な退避情報を前記第2領域に記憶させ、前記第1領域には、遊技の進行に関する情報が記憶される領域があり、前記第2領域には、不正に関する情報が記憶される領域があり、前記記憶部において割り当てられるアドレスにおいて、前記遊技の進行に関する情報が記憶される領域と、前記不正に関する情報が記憶される領域との間には情報が記憶されない未使用領域があることを要旨とする。   A gaming machine that solves the above problem includes a processing unit that performs processing and a storage unit that stores a processing result of the processing unit, and the processing performed by the processing unit includes a first unit for returning predetermined information. There is at least one power interruption recovery process and a second power interruption recovery process called in the first power interruption recovery process, and the first power interruption recovery process is performed in the first area of the storage area of the storage unit. While the stored content is rewritten according to the processing result, the stored content of the second area is not rewritten in the storage area of the storage unit, and the second power interruption recovery process is performed by changing the stored content of the second area. While rewriting according to the processing result, the stored contents of the first area are not rewritten. In the second power interruption recovery process, saved information that can specify the information stored in the first area is stored. Storing in the second region, In one area, there is an area for storing information related to the progress of the game, and in the second area, there is an area for storing information related to fraud, and the address assigned in the storage unit is related to the progress of the game. The gist is that there is an unused area in which information is not stored between an area in which information is stored and an area in which information on fraud is stored.

本発明によれば、記憶部の管理を容易にできる。   According to the present invention, management of the storage unit can be facilitated.

正面から見たときのスロットマシンを示す模式図。The schematic diagram which shows the slot machine when it sees from the front. スロットマシンの電気的構成を示すブロック図。The block diagram which shows the electrical constitution of a slot machine. 主制御用RAMの記憶領域を説明する説明図。Explanatory drawing explaining the memory area of RAM for main control. 第2記憶領域に記憶する情報の一例を説明する説明図。Explanatory drawing explaining an example of the information memorize | stored in a 2nd storage area. 遊技進行処理を示すフローチャート。The flowchart which shows a game progress process. 電源断処理を示すフローチャート。The flowchart which shows a power-off process. 電源投入処理を示すフローチャート。The flowchart which shows a power-on process. 第2記憶領域電源投入処理を示すフローチャート。The flowchart which shows a 2nd storage area power-on process. 第2記憶領域チェック初期化処理を示すフローチャート。The flowchart which shows a 2nd storage area check initialization process. 電源復帰処理を示すフローチャート。The flowchart which shows a power supply return process. 第2記憶領域電源復帰処理を示すフローチャート。The flowchart which shows a 2nd storage area power supply return process. 主制御用CPUの処理と該処理において更新又は参照する主制御用RAMの記憶領域との関係を説明する説明図。Explanatory drawing explaining the relationship between the process of main control CPU, and the memory area of main control RAM updated or referred in the process.

以下、遊技機の一種であるスロットマシンの一実施形態について説明する。この明細書において、上、下、左、右、前(表)、後(裏)の各方向は、スロットマシンで遊技を行う遊技者から見たときの各方向を指すものとする。   Hereinafter, an embodiment of a slot machine which is a kind of gaming machine will be described. In this specification, the directions of up, down, left, right, front (front), and back (back) are directions when viewed from a player who plays a game in a slot machine.

図1に示すように、スロットマシン10は、四角箱状の本体キャビネット11を備えている。本体キャビネット11は、前面に、図示されていない開口部11aを備えている。スロットマシン10は、本体キャビネット11の開口部11aを覆っている前面扉12を備えている。前面扉12は、本体キャビネット11に対して開閉可能に支持されている。本実施形態では、本体キャビネット11が機体に相当し、前面扉12が機体の開口部11aを閉じる扉に相当する。   As shown in FIG. 1, the slot machine 10 includes a square box-shaped main body cabinet 11. The main body cabinet 11 includes an opening 11a (not shown) on the front surface. The slot machine 10 includes a front door 12 that covers the opening 11 a of the main body cabinet 11. The front door 12 is supported so as to be openable and closable with respect to the main body cabinet 11. In the present embodiment, the main body cabinet 11 corresponds to the airframe, and the front door 12 corresponds to the door that closes the opening 11a of the airframe.

スロットマシン10は、前面扉12の前面に、遊技に伴う演出(以下、遊技演出と示す)の1つとして、例えば、発光体を点灯、消灯及び点滅させる演出(以下、発光演出と示す)を実行できる装飾ランプ13を備えている。スロットマシン10は、前面扉12の前面に、遊技演出の1つとして、例えば、効果音や楽曲などの音声を出力する演出(以下、音声演出と示す)を実行できるスピーカ14を備えている。   The slot machine 10 has, for example, an effect of turning on, turning off, and blinking a light emitter (hereinafter, referred to as a light-emitting effect) as one of the effects (hereinafter referred to as game effects) associated with the game on the front surface of the front door 12. A decorative lamp 13 that can be executed is provided. The slot machine 10 includes, on the front surface of the front door 12, a speaker 14 that can execute an effect of outputting sound such as sound effects and music (hereinafter referred to as an audio effect) as one of game effects.

スロットマシン10は、前面扉12の前面に、遊技演出の1つとして、例えば、キャラクタや文字などを模した画像を表示する演出(以下、表示演出と示す)を実行できる演出表示装置15を備えている。演出表示装置15としては、例えば液晶ディスプレイ、プラズマディスプレイ及び有機ELディスプレイなどを採用できる。   The slot machine 10 includes, on the front surface of the front door 12, an effect display device 15 that can execute an effect (hereinafter, referred to as a display effect) for displaying an image imitating a character or a character as one of game effects. ing. As the effect display device 15, for example, a liquid crystal display, a plasma display, an organic EL display, or the like can be adopted.

スロットマシン10は、前面扉12の前面であって且つ演出表示装置15の下方に、遊技者が機内部を透視できる略四角形の表示窓12aを備えている。スロットマシン10は、リールユニット16を備えている。リールユニット16は、表示窓12aを介して遊技者が視認できるように、機内部に配設されている。リールユニット16は、左リール16a(第1リール)と、中リール16b(第2リール)と、右リール16c(第3リール)と、を備えている。リール16a〜16cは、ドラムとも称される回胴である。   The slot machine 10 includes a substantially rectangular display window 12a through which the player can see through the interior of the front door 12 and below the effect display device 15. The slot machine 10 includes a reel unit 16. The reel unit 16 is disposed inside the machine so that the player can visually recognize it through the display window 12a. The reel unit 16 includes a left reel 16a (first reel), a middle reel 16b (second reel), and a right reel 16c (third reel). The reels 16a to 16c are rotating drums also called drums.

リール16a〜16cは、その外周面に沿って、複数の図柄が識別可能に配列されている図柄列をそれぞれ備えている。図柄列は、複数の図柄を長手方向に沿って印刷した帯状の透光性フィルムを、リール16a〜16cの外側に巻き付けることにより設けられている。リール16a〜16cの図柄列には、それぞれ図柄番号00から図柄番号20までの全21個の図柄が含まれている。   Each of the reels 16a to 16c includes a symbol row in which a plurality of symbols are identifiable along the outer peripheral surface thereof. The symbol row is provided by winding a strip-shaped translucent film on which a plurality of symbols are printed along the longitudinal direction, around the reels 16a to 16c. The symbol rows of the reels 16a to 16c include a total of 21 symbols from symbol number 00 to symbol number 20, respectively.

また、本実施形態の図柄には、複数種類の図柄がある。例えば、複数種類の図柄には、チェリーを模したチェリー図柄や、スイカを模したスイカ図柄、ベルを模したベル図柄、アラビア数字の「7」を模したセブン図柄、「BAR」の文字を模したBAR図柄、及び「REPLAY」の文字を模したリプレイ図柄が含まれている。   There are a plurality of types of symbols in the present embodiment. For example, for multiple types of symbols, a cherry symbol imitating cherry, a watermelon symbol imitating watermelon, a bell symbol imitating bell, a seven symbol imitating the Arabic numeral “7”, and the character “BAR” are imitated. The BAR symbol and the replay symbol imitating the characters “REPLAY” are included.

リールユニット16は、左リール16aを回転及び停止させる第1アクチュエータA1と、中リール16bを回転及び停止させる第2アクチュエータA2と、右リール16cを回転及び停止させる第3アクチュエータA3と、を備えている(図2に示す)。リール16a〜16cを駆動させるアクチュエータとしては、例えば、ステッピングモータを採用できる。リール16a〜16cは、それぞれに対応して設けられたアクチュエータによって、相互に独立して、縦方向に回転及び停止が可能である。スロットマシン10では、リール16a〜16cが回転すると、表示窓12aを介して視認可能な図柄列(複数種類の図柄)が変動され、これにより変動ゲームが実行される。例えば、図柄列の変動は、図柄列が上方から下方に向かって縦方向にスクロール表示される態様により行われる。リールユニット16のうち、表示窓12aから視認可能な部分は、複数の図柄列を変動させて変動ゲームを実行できるゲーム実行部といえる。このように、スロットマシン10は、複数の図柄が配列されたリールを動作(回転)させて変動ゲームを実行可能に構成されている。   The reel unit 16 includes a first actuator A1 that rotates and stops the left reel 16a, a second actuator A2 that rotates and stops the middle reel 16b, and a third actuator A3 that rotates and stops the right reel 16c. (Shown in FIG. 2). As an actuator for driving the reels 16a to 16c, for example, a stepping motor can be employed. The reels 16a to 16c can be rotated and stopped in the vertical direction independently of each other by actuators provided corresponding to the reels 16a to 16c. In the slot machine 10, when the reels 16 a to 16 c rotate, the symbol row (plural types of symbols) that can be visually recognized through the display window 12 a is changed, thereby executing a changing game. For example, the variation of the symbol sequence is performed in such a manner that the symbol sequence is scroll-displayed in the vertical direction from the top to the bottom. A portion of the reel unit 16 that is visible from the display window 12a can be said to be a game execution unit that can execute a variable game by changing a plurality of symbol rows. As described above, the slot machine 10 is configured to be able to execute a variable game by operating (rotating) a reel on which a plurality of symbols are arranged.

リールユニット16は、左リール16aの回転位置を検出するための第1リールセンサSE1と、中リール16bの回転位置を検出するための第2リールセンサSE2と、右リール16cの回転位置を検出するための第3リールセンサSE3と、を備えている(図2に示す)。   The reel unit 16 detects the rotational position of the first reel sensor SE1 for detecting the rotational position of the left reel 16a, the second reel sensor SE2 for detecting the rotational position of the middle reel 16b, and the rotational position of the right reel 16c. A third reel sensor SE3 (shown in FIG. 2).

表示窓12aは、リール16a〜16cにおいて周方向に連続している3つの図柄を表示可能な大きさである。表示窓12aには、リール16a〜16c毎に、上段停止位置、中段停止位置及び下段停止位置が設定されている。本実施形態のスロットマシン10では、リール16a〜16c毎に設定された3つの停止位置の中から1つずつ選択された停止位置の組み合わせによって、停止された図柄組合せを入賞と判定し得る有効な停止位置の組み合わせが設定されている。以下の説明では、有効な停止位置の組み合わせを構成する複数の停止位置を結んだラインを単に有効ラインNLと示す。本実施形態では、リール16a〜16cの各中段停止位置によって、有効ラインNL(有効な停止位置の組み合わせ)が構成されている。有効ラインは、入賞ラインともいわれる。   The display window 12a has a size capable of displaying three symbols that are continuous in the circumferential direction on the reels 16a to 16c. In the display window 12a, an upper stop position, a middle stop position, and a lower stop position are set for each of the reels 16a to 16c. In the slot machine 10 of the present embodiment, it is possible to determine that the stopped symbol combination is a winning combination by a combination of stop positions selected one by one from the three stop positions set for each of the reels 16a to 16c. A combination of stop positions is set. In the following description, a line connecting a plurality of stop positions constituting a combination of effective stop positions is simply referred to as an effective line NL. In the present embodiment, an effective line NL (a combination of effective stop positions) is configured by the middle stage stop positions of the reels 16a to 16c. The active line is also called a winning line.

ここで、図柄について「停止」とは、図柄が表示窓12a内、即ち上段停止位置、中段停止位置及び下段停止位置の何れかに停止され、遊技者に視認可能に表示されることを意味している。また、「入賞」とは、賞を獲得するために必要な図柄組合せとして予め定められたものが有効ラインNL上に表示されることを意味している。スロットマシン10では、入賞が発生すると、該入賞した図柄組合せに予め定められた賞が付与される。以下の説明では、有効ラインNL上に表示されることによって賞を獲得できる図柄組合せを「役」又は「停止目」と示す場合がある。   Here, “stop” for the symbol means that the symbol is stopped in the display window 12a, that is, at any one of the upper stop position, the middle stop position, and the lower stop position, and is displayed so as to be visible to the player. ing. Further, “winning” means that a predetermined combination of symbols necessary for winning a prize is displayed on the active line NL. In the slot machine 10, when a winning occurs, a predetermined prize is awarded to the winning symbol combination. In the following description, a symbol combination that can be awarded by being displayed on the active line NL may be indicated as “combination” or “stop eye”.

なお、有効な停止位置の組み合わせ以外の組み合わせは、表示された図柄組合せを入賞と判定し得ない無効な停止位置の組み合わせ(所謂、無効ライン)となる。この明細書において「導出する」とは、有効ラインNL上に図柄を停止させることにより、有効ラインNL上にゲーム結果に相当する図柄組合せを表示することを意味している。したがって、変動ゲームにて導出されるゲーム結果とは、変動ゲームにおいて有効ラインNL上に停止される図柄組合せに相当する。   Note that combinations other than valid stop position combinations are combinations of invalid stop positions (so-called invalid lines) in which the displayed symbol combination cannot be determined to be a prize. In this specification, “derived” means that a symbol combination corresponding to a game result is displayed on the effective line NL by stopping the symbol on the effective line NL. Therefore, the game result derived in the variation game corresponds to a symbol combination stopped on the active line NL in the variation game.

スロットマシン10は、前面扉12の前面に、遊技媒体としての遊技メダル(以下、単にメダルと示す)を投入するためのメダル投入口17を備えている。スロットマシン10は、前面扉12の前面に、ベットボタン18を備えている。ベットボタン18は、スロットマシン10において内部的に記憶しているクレジットからメダルを賭ける(以下、ベットと示す)ための手段として把握できる。スロットマシン10は、前面扉12の前面に、精算ボタン19を備えている。精算ボタン19は、ベットされたメダルや、スロットマシン10において内部的に記憶しているクレジットを払い戻すときに操作するための手段として把握できる。   The slot machine 10 includes a medal slot 17 for inserting a game medal (hereinafter simply referred to as a medal) as a game medium on the front surface of the front door 12. The slot machine 10 includes a bet button 18 on the front surface of the front door 12. The bet button 18 can be grasped as a means for betting medals from credits stored internally in the slot machine 10 (hereinafter referred to as a bet). The slot machine 10 includes a settlement button 19 on the front surface of the front door 12. The checkout button 19 can be grasped as a means for operating when betting out medals and credits stored internally in the slot machine 10.

スロットマシン10は、前面扉12の前面に、スタートレバー20を備えている。スタートレバー20は、リール16a〜16cの回転を開始させる開始操作をするための手段として把握できる。即ち、開始操作の受付は、変動ゲームを開始させる契機となる。   The slot machine 10 includes a start lever 20 on the front surface of the front door 12. The start lever 20 can be grasped as a means for performing a start operation for starting the rotation of the reels 16a to 16c. That is, the acceptance of the start operation is an opportunity to start the variable game.

スロットマシン10は、前面扉12の前面に、左ストップボタン21a(第1ストップボタン)を備えている。左ストップボタン21aは、左リール16aと対応しており、左リール16aの回転を停止させる停止操作をするための手段として把握できる。スロットマシン10は、前面扉12の前面に、中ストップボタン21b(第2ストップボタン)を備えている。中ストップボタン21bは、中リール16bと対応しており、中リール16bの回転を停止させる停止操作をするための手段として把握できる。スロットマシン10は、前面扉12の前面に、右ストップボタン21c(第3ストップボタン)を備えている。右ストップボタン21cは、右リール16cと対応しており、右リール16cの回転を停止させる停止操作をするための手段として把握できる。このように、ストップボタン21a〜21cは、複数の図柄列と各別に対応している。また、対応している図柄列の変動を停止させることは、対応しているリールの回転(回動)を停止させることに相当する。   The slot machine 10 includes a left stop button 21a (first stop button) on the front surface of the front door 12. The left stop button 21a corresponds to the left reel 16a, and can be grasped as means for performing a stop operation for stopping the rotation of the left reel 16a. The slot machine 10 includes a middle stop button 21b (second stop button) on the front surface of the front door 12. The middle stop button 21b corresponds to the middle reel 16b and can be grasped as a means for performing a stop operation for stopping the rotation of the middle reel 16b. The slot machine 10 includes a right stop button 21c (third stop button) on the front surface of the front door 12. The right stop button 21c corresponds to the right reel 16c, and can be grasped as means for performing a stop operation for stopping the rotation of the right reel 16c. As described above, the stop buttons 21a to 21c correspond to a plurality of symbol rows, respectively. Further, stopping the fluctuation of the corresponding symbol row corresponds to stopping the rotation (rotation) of the corresponding reel.

スロットマシン10は、前面扉12の前面における下部に、メダル払出し口22を備えている。スロットマシン10は、メダル払出し口22から払出されたメダルを受ける受皿23を備えている。また、スロットマシン10は、機内部に、メダルセレクタを備えている(図示していない)。メダルセレクタは、メダル投入口17から投入されたメダルを検出する投入センサを備えている(図示していない)。また、スロットマシン10は、機内部に、メダル払出し口22からメダルを払出す払出し動作が可能なホッパーユニットを備えている(図示していない)。   The slot machine 10 includes a medal payout port 22 at the lower part of the front surface of the front door 12. The slot machine 10 includes a tray 23 that receives medals paid out from the medal payout port 22. The slot machine 10 includes a medal selector (not shown) inside the machine. The medal selector includes an insertion sensor that detects a medal inserted from the medal insertion slot 17 (not shown). Further, the slot machine 10 includes a hopper unit (not shown) capable of a payout operation for paying out medals from the medal payout opening 22 inside the machine.

スロットマシン10は、前面扉12の前面に、予め定めた情報を表示できる情報表示部24を備えている。情報表示部24には、投入可能表示部、再遊技表示部、ウェイト表示部、状態表示部、賭数表示部、貯留枚数表示部、賞枚数表示部、及びエラー表示部が設けられている。   The slot machine 10 includes an information display unit 24 that can display predetermined information on the front surface of the front door 12. The information display unit 24 is provided with an insertable display unit, a replay display unit, a weight display unit, a status display unit, a bet number display unit, a stored number display unit, a prize number display unit, and an error display unit.

投入可能表示部は、例えば、発光体の点灯状態によって、メダルを投入可能な投入要求可状態であるか否かを表示する。ここで、メダルを投入可能とは、メダルをベット可能であること、及びメダルをスロットマシン10の機内部にクレジットとして記憶可能であることを含む。再遊技表示部は、例えば、発光体の点灯状態によって、再遊技(リプレイ)であるか否かを表示する。ウェイト表示部は、例えば、発光体の点灯状態によって、ウェイトタイム中であるか否かを表示する。ウェイトタイムは、単位時間当りの変動ゲームの実行回数が予め定めた規定回数を超えないように設定された最短の遊技時間(最短遊技時間)である。状態表示部は、例えば、発光体の点灯状態によって、スロットマシン10の状態を表示する。   The insertable display unit displays, for example, whether or not an insertion requestable state in which a medal can be inserted is possible depending on the lighting state of the light emitter. Here, being able to insert medals includes being able to bet medals and being able to store medals as credits inside the slot machine 10. For example, the replay display unit displays whether the game is replayed (replay) according to the lighting state of the light emitter. The weight display unit displays, for example, whether or not the wait time is in accordance with the lighting state of the light emitter. The wait time is the shortest game time (shortest game time) set so that the number of executions of the variable game per unit time does not exceed a predetermined number of times. For example, the state display unit displays the state of the slot machine 10 according to the lighting state of the light emitter.

賭数表示部は、例えば、3つの発光体の点灯状態によって、賭数(ベット数)を表示する。貯留枚数表示部は、機内部で貯留しているクレジット数を表示する。賞枚数表示部は、変動ゲーム中に入賞が発生した場合に、当該入賞に基づいて遊技者に付与されるメダルの枚数を表示する。また、エラー表示部は、スロットマシン10で発生した各種のエラー状態を特定可能な情報を表示する態様によりエラー報知を実行可能である。各種のエラー状態を特定可能な情報とは、例えば、エラー状態別に予め定められたエラー番号などである。   For example, the betting number display unit displays the betting number (the number of bets) according to the lighting state of the three light emitters. The stored number display section displays the number of credits stored in the machine. The award number display unit displays the number of medals awarded to the player based on the winning when the winning occurs during the variable game. In addition, the error display unit can perform error notification by displaying information that can identify various error states that have occurred in the slot machine 10. The information that can specify various error states is, for example, an error number determined in advance for each error state.

スロットマシン10は、前面扉12の前面に、前面扉12を開放するための開放錠25を備えている。スロットマシン10では、開放錠25に対して該開放錠25に適合するカギを挿入するとともに、該カギを所定方向に回動させることにより、開放錠25による施錠が解除され、前面扉12を開放可能となる。また、スロットマシン10は、開放錠25が解錠されたこと、即ち前面扉12が開放されていることを検知する扉開放センサSE4(図2に示す)を備えている。   The slot machine 10 includes an opening lock 25 for opening the front door 12 on the front surface of the front door 12. In the slot machine 10, a lock that fits the open lock 25 is inserted into the open lock 25 and the lock is released by opening the front door 12 by rotating the key in a predetermined direction. It becomes possible. Further, the slot machine 10 includes a door opening sensor SE4 (shown in FIG. 2) that detects that the unlocking lock 25 is unlocked, that is, the front door 12 is opened.

スロットマシン10は、前面扉12の裏面に、操作可能な設定器26を備えている(図2に示す)。前面扉12の裏面に設けられた設定器26は、前面扉12が閉鎖されることで、本体キャビネット11の内部に収容される。   The slot machine 10 includes an operable setting device 26 on the back surface of the front door 12 (shown in FIG. 2). The setting device 26 provided on the back surface of the front door 12 is accommodated inside the main body cabinet 11 when the front door 12 is closed.

設定器26は、該設定器26に適合するカギを用いることで操作することが可能に構成されている。以下の説明において、設定器26が操作されることとは、該設定器26に適合するカギを用いて設定器26が操作されることを意味する。本実施形態のスロットマシン10では、設定器26を操作することによって、スロットマシン10の設定を変更することが許容される。即ち、設定器26は、設定変更するための操作が可能な操作部に相当する。   The setting device 26 is configured to be operable by using a key that matches the setting device 26. In the following description, the operation of the setting device 26 means that the setting device 26 is operated using a key that matches the setting device 26. In the slot machine 10 of the present embodiment, it is allowed to change the setting of the slot machine 10 by operating the setting device 26. That is, the setting device 26 corresponds to an operation unit capable of performing an operation for changing the setting.

ここで、本実施形態における設定(設定値)について説明する。スロットマシン10は、大きさの異なるペイアウト率(遊技者に利益を付与する複数の確率)と対応付けられた複数段階(例えば「1」〜「6」の計6段階)の遊技機の設定のうち何れかの設定の下で遊技が行われる。ペイアウト率は、例えば、賞が定められた図柄組合せのうち少なくとも一部の図柄組合せを表示させることが許容される確率や、遊技者にとって有利な有利遊技状態へ移行する確率などによって異ならせることができる。本実施形態のスロットマシン10では、スロットマシン10の設定に応じて有利度が異なる。   Here, the setting (setting value) in the present embodiment will be described. The slot machine 10 is used to set gaming machines in a plurality of stages (for example, a total of six stages from “1” to “6”) that are associated with payout rates of different sizes (a plurality of probabilities of giving a player a profit). A game is played under any of these settings. The payout rate may differ depending on, for example, the probability that at least a part of symbol combinations for which a prize is determined is allowed to be displayed, or the probability of shifting to an advantageous gaming state advantageous to the player. it can. In the slot machine 10 of the present embodiment, the degree of advantage varies depending on the setting of the slot machine 10.

上述のように、本実施形態のスロットマシン10において、設定器26は、開放錠25を解錠しなければ開放できない前面扉12の裏面、即ち、スロットマシン10の機内部に配設されているため、原則として、開放錠25に適合するカギを所持していなければ操作することができない。さらに、設定器26は、前面扉12を開放したとしても、原則として、設定器26に適合するカギを所持していなければ操作することができない。したがって、設定器26は、主に遊技場の管理者などによって操作が可能である一方で、遊技者などによっては操作が不可能であるように構成されている。   As described above, in the slot machine 10 of the present embodiment, the setting device 26 is disposed on the back surface of the front door 12 that cannot be opened unless the unlocking lock 25 is unlocked, that is, inside the slot machine 10. Therefore, in principle, operation is not possible unless a key that fits the unlocked lock 25 is possessed. Furthermore, even if the front door 12 is opened, the setting device 26 cannot be operated unless a key that matches the setting device 26 is possessed. Therefore, the setting device 26 is configured so that it can be operated mainly by a game hall manager or the like, but cannot be operated by a player or the like.

次に、スロットマシン10の電気的構成を説明する。
図2に示すように、スロットマシン10の機内部には、各種の処理を行うとともに、該処理の結果に応じて制御信号(制御コマンド)を出力する主基板100が配設されている。また、スロットマシン10の機内部には、主基板100から入力される各種の制御信号に基づいて、各種の処理を行う副基板200が配設されている。また、スロットマシン10には、スロットマシン10へ供給される電源の電圧を所定の電圧に変換して、主基板100や副基板200などのスロットマシン10を構成する各種構成部材に供給する電源基板300が配設されている。
Next, the electrical configuration of the slot machine 10 will be described.
As shown in FIG. 2, a main board 100 that performs various processes and outputs a control signal (control command) according to the result of the process is disposed inside the slot machine 10. In addition, a sub-board 200 that performs various processes based on various control signals input from the main board 100 is disposed inside the slot machine 10. Further, the slot machine 10 converts a power supply voltage supplied to the slot machine 10 into a predetermined voltage and supplies it to various components constituting the slot machine 10 such as the main board 100 and the sub board 200. 300 is arranged.

まず、主基板100について詳しく説明する。
主基板100は、所定の処理を行う処理部としての主制御用CPU100aと、主制御用CPU100aの制御プログラムを格納する主制御用ROM100bと、主制御用CPU100aの処理結果を記憶する主制御用RAM100cとを備えている。
First, the main substrate 100 will be described in detail.
The main board 100 includes a main control CPU 100a as a processing unit that performs predetermined processing, a main control ROM 100b that stores a control program for the main control CPU 100a, and a main control RAM 100c that stores processing results of the main control CPU 100a. And.

主基板100は、各リールセンサSE1〜SE3と接続されている。そして、主制御用CPU100aは、各リールセンサSE1〜SE3が出力する信号をそれぞれ入力可能に構成されている。また、主基板100は、扉開放センサSE4と接続されている。そして、主制御用CPU100aは、扉開放センサSE4から前面扉12が開放されていることを示す開放信号を入力可能に構成されている。   The main board 100 is connected to the reel sensors SE1 to SE3. The main control CPU 100a is configured to be able to input signals output from the reel sensors SE1 to SE3. The main board 100 is connected to the door opening sensor SE4. The main control CPU 100a is configured to be able to input an opening signal indicating that the front door 12 is opened from the door opening sensor SE4.

主基板100は、投入センサと接続されている。そして、主制御用CPU100aは、投入センサからメダルを検知したことを示すメダル検知信号を入力可能に構成されている。また、主基板100は、設定器26と接続されている。そして、主制御用CPU100aは、設定器26が操作されていることを示す操作信号を入力可能に構成されている。   The main board 100 is connected to the making sensor. The main control CPU 100a is configured to be able to input a medal detection signal indicating that a medal has been detected from the insertion sensor. The main board 100 is connected to the setting device 26. The main control CPU 100a is configured to be able to input an operation signal indicating that the setting device 26 is being operated.

主基板100は、情報表示部24と接続されている。そして、主制御用CPU100aは、情報表示部24を制御可能に構成されている。主基板100は、ベットボタン18、精算ボタン19、スタートレバー20、及び各ストップボタン21a〜21cと接続されている。そして、主制御用CPU100aは、ベットボタン18、精算ボタン19、スタートレバー20、及び各ストップボタン21a〜21cが操作されたときに出力する各種の操作信号を入力可能に構成されている。   The main board 100 is connected to the information display unit 24. The main control CPU 100a is configured to control the information display unit 24. The main board 100 is connected to the bet button 18, the settlement button 19, the start lever 20, and the stop buttons 21a to 21c. The main control CPU 100a is configured to be able to input various operation signals that are output when the bet button 18, the settlement button 19, the start lever 20, and the stop buttons 21a to 21c are operated.

また、主基板100は、各アクチュエータA1〜A3と接続されている。そして、主制御用CPU100aは、リール16a〜16cの各アクチュエータA1〜A3に対する制御信号(パルス信号)の出力態様を制御することにより、リール16a〜16cの各アクチュエータA1〜A3の動作を各別に制御可能に構成されている。   The main board 100 is connected to the actuators A1 to A3. The main control CPU 100a controls the operation of the actuators A1 to A3 of the reels 16a to 16c by controlling the output mode of control signals (pulse signals) to the actuators A1 to A3 of the reels 16a to 16c. It is configured to be possible.

また、主基板100では、各種の抽選処理に用いられる乱数が生成される。この乱数は、例えば、クロック信号を入力する毎に値を更新する乱数生成回路を備えることにより、ハードウェア乱数として生成したり、主制御用CPU100aが所定の制御周期毎に値を更新する乱数更新処理を実行することにより、ソフトウェア乱数として生成したりできる。主基板100において生成される乱数には、変動ゲームにおいて導出表示(入賞)が可能な図柄組合せ(役)を特定可能な当選情報(例えば当選番号など)を決定するのに用いられる当選情報決定用乱数がある。なお、本実施形態のスロットマシン10において、各当選情報には、変動ゲームにおいて導出表示が可能な図柄組合せが1つ、又は複数対応付けられている。   In the main board 100, random numbers used for various lottery processes are generated. For example, the random number is generated as a hardware random number by providing a random number generation circuit that updates a value every time a clock signal is input, or a random number update in which the main control CPU 100a updates a value every predetermined control cycle. By executing the processing, it can be generated as a software random number. For the random numbers generated in the main board 100, for winning information determination used to determine winning information (for example, winning numbers) that can identify symbol combinations (combinations) that can be derived and displayed (winning) in the variable game. There are random numbers. In the slot machine 10 of the present embodiment, each winning information is associated with one or a plurality of symbol combinations that can be derived and displayed in the variable game.

また、主制御用ROM100bには、主制御プログラムが記憶されている。また、主制御用ROM100bには、変動ゲームに関する処理の実行に用いられる各種のテーブルが記憶されている。このようなテーブルには、例えば複数の当選情報の中から当選情報を決定するための当選情報決定テーブルなどがある。また、主制御用RAM100cには、前述した当選情報などの各種情報が記憶される。主制御用RAM100cに記憶された情報は、スロットマシン10の動作中に適宜更新される。なお、以下の説明では、情報を記憶させることや更新することをまとめて「書き換え」と示す場合がある。   The main control ROM 100b stores a main control program. In addition, the main control ROM 100b stores various tables used for execution of processing relating to the variable game. Examples of such a table include a winning information determination table for determining winning information from a plurality of winning information. The main control RAM 100c stores various information such as the above-described winning information. Information stored in the main control RAM 100c is updated as needed during the operation of the slot machine 10. In the following description, storing and updating information may be collectively referred to as “rewrite”.

ここで、主制御用RAM100cの記憶領域について詳しく説明する。
図3に示すように、本実施形態における主制御用RAM100cの記憶領域には、「F000H」から「F3FFH」までのアドレスが割り当てられている。以下、説明の便宜上、「F000H」から「F1FFH」までの第1範囲のアドレスが割り当てられた記憶領域を「第1記憶領域」と示す一方、「F200H」から「F3FFH」までの第2範囲のアドレスが割り当てられた記憶領域を「第2記憶領域」と示す。本実施形態では、第1記憶領域が第1領域に相当する一方で、第2記憶領域が第2領域に相当する。なお、以下の説明において、「記憶領域の記憶内容を書き換える」という場合、記憶領域の記憶内容の一部を書き換えることと、記憶領域の記憶内容の全てを書き換えることと、の両方を含む。
Here, the storage area of the main control RAM 100c will be described in detail.
As shown in FIG. 3, addresses from “F000H” to “F3FFH” are assigned to the storage area of the main control RAM 100c in the present embodiment. Hereinafter, for convenience of explanation, a storage area to which addresses in the first range from “F000H” to “F1FFH” are assigned is indicated as “first storage area”, while a storage area in the second range from “F200H” to “F3FFH” is indicated. A storage area to which an address is assigned is referred to as a “second storage area”. In the present embodiment, the first storage area corresponds to the first area, while the second storage area corresponds to the second area. In the following description, “rewriting the storage contents of the storage area” includes both rewriting part of the storage contents of the storage area and rewriting all of the storage contents of the storage area.

本実施形態における第1記憶領域及び第2記憶領域は、スロットマシン10において情報の書き換えが許容されているアドレス範囲を複数(本実施形態では2つ)に分割した記憶領域である。また、本実施形態において、第1記憶領域は、主制御用RAM100cの記憶領域のうち、第2記憶領域に割り当てられたアドレスよりも前のアドレスに割り当てられた記憶領域である。そして、本実施形態において、第1記憶領域及び第2記憶領域には、ワークエリア、スタックエリア、及び未使用エリアがそれぞれ設定されている。   The first storage area and the second storage area in the present embodiment are storage areas obtained by dividing the address range in which rewriting of information is allowed in the slot machine 10 into a plurality (two in this embodiment). In the present embodiment, the first storage area is a storage area assigned to an address before the address assigned to the second storage area in the storage area of the main control RAM 100c. In the present embodiment, a work area, a stack area, and an unused area are set in the first storage area and the second storage area, respectively.

なお、本実施形態において、第1記憶領域及び第2記憶領域は、独立して初期化が可能に構成されており、例えば、主制御用CPU100aは、第2記憶領域を初期化する一方で第1記憶領域を初期化しない処理が可能である。また、本実施形態において、第1記憶領域及び第2記憶領域は、各記憶領域の記憶内容を書き換えられる処理がそれぞれ異ならされている。具体的に、第1記憶領域は、主制御用CPU100aが行う処理のうち第2記憶領域を書き換える処理においては、書き換えられないように構成されている。また、第2記憶領域は、主制御用CPU100aが行う処理のうち第1記憶領域を書き換える処理においては、書き換えられないように構成されている。主制御用CPU100aが行う処理と書き換えられる記憶領域との関係について、詳しくは後述する。   In the present embodiment, the first storage area and the second storage area are configured to be initialized independently. For example, the main control CPU 100a initializes the second storage area while the second storage area is initialized. Processing that does not initialize one storage area is possible. In the present embodiment, the first storage area and the second storage area have different processes for rewriting the storage contents of each storage area. Specifically, the first storage area is configured not to be rewritten in the process of rewriting the second storage area among the processes performed by the main control CPU 100a. The second storage area is configured not to be rewritten in the process of rewriting the first storage area among the processes performed by the main control CPU 100a. The relationship between the processing performed by the main control CPU 100a and the rewritten storage area will be described in detail later.

また、本実施形態における第1記憶領域及び第2記憶領域は、記憶される記憶内容が異ならされている。本実施形態において、第1記憶領域には、遊技の進行に関する情報が記憶される。第1記憶領域に記憶される遊技の進行に関する情報には、例えば、前述した当選情報や、リールの回転に関する情報、クレジットに関する情報、遊技状態に関する情報などがある。一方、本実施形態において、第2記憶領域には、不正に関する情報が記憶される。第2記憶領域に記憶される不正に関する情報について、詳しくは後述する。   In addition, the storage contents stored in the first storage area and the second storage area in the present embodiment are different. In the present embodiment, information related to the progress of the game is stored in the first storage area. The information related to the progress of the game stored in the first storage area includes, for example, the above-described winning information, information related to reel rotation, information related to credit, information related to the game state, and the like. On the other hand, in the present embodiment, information related to fraud is stored in the second storage area. Details regarding fraud stored in the second storage area will be described later.

次に、副基板200について詳しく説明する。
図2に示すように、副基板200は、所定の処理を行う副制御用CPU200aと、副制御用CPU200aの制御プログラムなどを格納する副制御用ROM200bと、必要なデータの書き込み及び読み出しができる副制御用RAM200cとを備えている。副基板200は、演出表示装置15、装飾ランプ13、及びスピーカ14と接続されている。また、副基板200では、各種の抽選処理に用いられる乱数が生成される。この乱数は、例えば、クロック信号を入力する毎に値を更新する乱数生成回路を備えることにより、ハードウェア乱数として生成したり、副制御用CPU200aが所定の制御周期毎に値を更新する乱数更新処理を実行することにより、ソフトウェア乱数として生成したりできる。
Next, the sub-board 200 will be described in detail.
As shown in FIG. 2, the sub-board 200 includes a sub-control CPU 200a that performs predetermined processing, a sub-control ROM 200b that stores a control program for the sub-control CPU 200a, and a sub-control that can write and read necessary data. And a control RAM 200c. The sub-board 200 is connected to the effect display device 15, the decorative lamp 13, and the speaker 14. Further, in the sub board 200, random numbers used for various lottery processes are generated. For example, the random number is generated as a hardware random number by providing a random number generation circuit that updates a value every time a clock signal is input, or the sub-control CPU 200a updates the value every predetermined control cycle. By executing the processing, it can be generated as a software random number.

また、副制御用ROM200bには、副制御プログラムが記憶されている。また、副制御用ROM200bには、演出表示装置15における表示演出の態様を特定可能な表示演出パターン、スピーカ14における音声演出の態様を特定可能な音声演出パターン、及び装飾ランプ13における発光演出の態様を特定可能な発光演出パターンが記憶されている。また、副制御用RAM200cには、スロットマシン10の内部状態に関するフラグなどの各種情報が記憶される。副制御用RAM200cに記憶された情報は、スロットマシン10の動作中に適宜更新される。   The sub control ROM 200b stores a sub control program. Further, the sub-control ROM 200b has a display effect pattern that can specify a display effect mode in the effect display device 15, an audio effect pattern that can specify a sound effect mode in the speaker 14, and a light emission effect mode in the decoration lamp 13. Is stored. The sub-control RAM 200c stores various information such as flags relating to the internal state of the slot machine 10. The information stored in the sub control RAM 200c is updated as appropriate during the operation of the slot machine 10.

副基板200は、主基板100から一方向で情報(制御信号)が送信されるように主基板100と電気的に接続されている。そして、副制御用CPU200aは、主基板100(主制御用CPU100a)から入力した各種の制御信号に基づいて演出を実行させるように演出表示装置15、装飾ランプ13、及びスピーカ14を制御する。この演出には、例えば所定の図柄組合せを導出表示させるために必要なストップボタン21a〜21cの押し順を遊技者に報知する押し順報知演出や、導出表示が可能と決定された図柄組合せ(役)を遊技者に示唆する示唆演出などがある。また、副制御用CPU200aは、ボーナス遊技中などといったスロットマシン10の内部状態に対応させて演出を行わせることもできる。   The sub board 200 is electrically connected to the main board 100 so that information (control signal) is transmitted from the main board 100 in one direction. Then, the sub control CPU 200a controls the effect display device 15, the decoration lamp 13, and the speaker 14 so as to execute the effect based on various control signals input from the main board 100 (main control CPU 100a). This effect includes, for example, a push order notification effect for notifying the player of the push order of the stop buttons 21a to 21c necessary for deriving and displaying a predetermined symbol combination, and a symbol combination (role for which derivation display is possible) ) Suggestive to the player. Further, the sub-control CPU 200a can also make an effect corresponding to the internal state of the slot machine 10 such as during a bonus game.

次に、電源基板300について詳しく説明する。
電源基板300は、例えば遊技場において、スロットマシン10へ供給される電源の電圧を主基板100や副基板200が使用できる電圧に変換する電源回路300aを備えている。また、電源基板300は、スロットマシン10へ供給される電圧が所定の電圧まで低下(降下)したかを監視する電源断監視回路300bを備えている。電源断監視回路300bは、電源回路300aと接続されている。なお、所定の電圧は、遊技に支障をきたすことなくスロットマシン10を動作させるために最低限必要な電圧とされる。そして、電源断監視回路300bは、供給される電圧が所定の電圧以下である場合に電源断信号を出力する。電源断監視回路300bから出力される電源断信号は、主基板100(主制御用CPU100a)と、副基板200(副制御用CPU200a)とに出力される。ここで、スロットマシン10へ供給される電圧が所定の電圧以下に低下するのは、例えば、電源の遮断(電源OFF)時や停電時などである。これとは逆に、電源の投入(電源ON)時や復電時の場合は、スロットマシン10へ電源が供給されるので、電圧が上昇して所定の電圧を超える電圧となる。以下の説明では、スロットマシン10の電源が投入されることを「電源の供給が開始される」と示し、スロットマシン10の電源が遮断されることを「電源の供給が遮断される」と示す。
Next, the power supply substrate 300 will be described in detail.
The power supply board 300 includes, for example, a power supply circuit 300a that converts the voltage of the power supplied to the slot machine 10 into a voltage that can be used by the main board 100 and the sub board 200 in a game hall. The power supply board 300 also includes a power-off monitoring circuit 300b that monitors whether the voltage supplied to the slot machine 10 has dropped (decreased) to a predetermined voltage. The power-off monitoring circuit 300b is connected to the power circuit 300a. The predetermined voltage is a minimum voltage necessary for operating the slot machine 10 without affecting the game. The power-off monitoring circuit 300b outputs a power-off signal when the supplied voltage is equal to or lower than a predetermined voltage. The power-off signal output from the power-off monitoring circuit 300b is output to the main board 100 (main control CPU 100a) and the sub board 200 (sub control CPU 200a). Here, the voltage supplied to the slot machine 10 falls below a predetermined voltage, for example, when the power is shut off (power is turned off) or when a power failure occurs. On the contrary, when power is turned on (power is turned on) or when power is restored, the power is supplied to the slot machine 10, so that the voltage rises and exceeds a predetermined voltage. In the following description, turning on the power of the slot machine 10 is indicated as “power supply is started”, and shutting down the power of the slot machine 10 is indicated as “power supply is cut off”. .

電源基板300は、例えば電気二重層コンデンサからなるバックアップ用電源300cを備えている。主基板100の主制御用RAM100c及び副基板200の副制御用RAM200cは、スロットマシン10に電源の供給が行われているときには電源回路300aからの電源の供給によって記憶内容を保持し、電源の供給が行われていないときにはバックアップ用電源300cからの電源の供給によって記憶内容を保持するように構成されている。これにより、主制御用RAM100c及び副制御用RAM200cは、電源の供給が遮断された後も記憶内容を保持することが可能に構成されている。   The power supply board 300 includes a backup power supply 300c made of, for example, an electric double layer capacitor. The main control RAM 100c of the main board 100 and the sub control RAM 200c of the sub board 200 hold stored contents by supplying power from the power supply circuit 300a when power is supplied to the slot machine 10, and supply power. The storage contents are held by supplying power from the backup power source 300c when the operation is not performed. Thereby, the main control RAM 100c and the sub control RAM 200c are configured to be able to retain the stored contents even after the supply of power is cut off.

次に、本実施形態のスロットマシン10において、主制御用RAM100cに記憶される不正に関する情報について、具体例とともに説明する。
図4に示すように、不正に関する情報には、主制御用CPU100aが行う処理に関する情報を一時的に退避(記憶保持)させるための退避情報がある。詳しくは後述するが、退避情報は、スロットマシン10の電源が復帰した場合に実行される第2記憶領域電源復帰処理において書き換えられる情報である。なお、第2記憶領域電源復帰処理は、電源が復帰した場合に実行される処理であることから、不正が行われる虞がある処理といえる。即ち、退避情報は、不正が行われる虞がある処理において書き換えられる情報であることから、不正に関する重要な情報であるといえる。退避情報は、主制御用RAM100cの記憶領域のうち、第2記憶領域において予め定めた第1アドレスが割り当てられた記憶領域に記憶される。なお、以下の説明では、各アドレスが割り当てられた記憶領域を、単に「アドレスの記憶領域」と示す。
Next, in the slot machine 10 of the present embodiment, information on fraud stored in the main control RAM 100c will be described together with a specific example.
As shown in FIG. 4, the information related to fraud includes save information for temporarily saving (storing and holding) information related to processing performed by the main control CPU 100a. As will be described in detail later, the save information is information that is rewritten in the second storage area power recovery process executed when the power of the slot machine 10 is recovered. Note that the second storage area power supply recovery process is a process that is executed when the power supply is recovered, and thus can be said to be a process that may be fraudulent. In other words, the save information is information that is rewritten in a process that may be fraudulent, and thus can be said to be important information regarding fraud. The save information is stored in a storage area to which a predetermined first address is assigned in the second storage area among the storage areas of the main control RAM 100c. In the following description, a storage area to which each address is assigned is simply referred to as an “address storage area”.

また、本実施形態の不正に関する情報には、前面扉12が開放されていることを示す開放信号を入力しているか否かを示す開放信号入力情報や、前面扉12が開放されていることを示す扉開放フラグがある。開放信号入力情報は、前面扉12が開放されていることで、不正が行われ易い状態に関する情報であることから、不正に関する重要な情報といえる。開放信号入力情報は、主制御用RAM100cの記憶領域のうち、第2記憶領域において予め定めた第2アドレスの記憶領域に記憶される。また、扉開放フラグは、前面扉12が開放されていることで、不正が行われ易い状態であることを示すフラグであることから、不正に関する重要な情報であるといえる。扉開放フラグは、主制御用RAM100cの記憶領域のうち、第2記憶領域において予め定めた第3アドレスの記憶領域に記憶される。   In addition, in the information relating to fraud of the present embodiment, the opening signal input information indicating whether or not the opening signal indicating that the front door 12 is opened or the front door 12 is opened. There is a door open flag shown. Since the opening signal input information is information related to a state in which fraud is likely to be performed when the front door 12 is opened, it can be said to be important information regarding fraud. The release signal input information is stored in the storage area of the second address predetermined in the second storage area in the storage area of the main control RAM 100c. The door opening flag is a flag indicating that fraud is likely to be performed because the front door 12 is open, and thus can be said to be important information regarding fraud. The door opening flag is stored in the storage area of the third address predetermined in the second storage area in the storage area of the main control RAM 100c.

また、本実施形態の不正に関する情報には、設定器26が操作されていることを示す操作信号を入力しているか否かを示す操作信号入力情報や、設定器26が操作されていることを示す設定器操作フラグがある。操作信号入力情報は、遊技者の利益に直結するペイアウト率を変更する操作が可能であるために不正が行われ易い設定器26に関する情報であることから、不正に関する重要な情報といえる。操作信号入力情報は、主制御用RAM100cの記憶領域のうち、第2記憶領域において予め定めた第2アドレスの記憶領域に記憶される。なお、操作信号入力情報は、上述した開放信号入力信号と同一の第2アドレスの記憶領域内の別bitに記憶される。また、設定器操作フラグは、遊技者の利益に直結するペイアウト率を変更する操作が可能であるために不正が行われ易い設定器26に関するフラグであることから、不正に関する重要な情報であるといえる。設定器操作フラグは、主制御用RAM100cの記憶領域のうち、第2記憶領域において予め定めた第4アドレスの記憶領域に記憶される。   In addition, in the information regarding fraud of the present embodiment, operation signal input information indicating whether or not an operation signal indicating that the setting device 26 is operated is input, and that the setting device 26 is operated. There is a setter operation flag to indicate. The operation signal input information can be said to be important information regarding fraud because the operation signal input information is information regarding the setting device 26 in which fraud is likely to be performed because an operation for changing the payout rate directly related to the profit of the player is possible. The operation signal input information is stored in the storage area of the second address predetermined in the second storage area in the storage area of the main control RAM 100c. The operation signal input information is stored in another bit in the storage area of the same second address as the above-described release signal input signal. Further, the setter operation flag is a flag relating to the setter 26 that is likely to be fraudulent because an operation for changing the payout rate directly linked to the profit of the player is possible. I can say that. The setter operation flag is stored in a storage area having a predetermined fourth address in the second storage area in the storage area of the main control RAM 100c.

このように、本実施形態において、不正に関する情報のうち少なくとも一部の情報は、主制御用RAM100cの第2記憶領域に記憶される。換言すれば、第2記憶領域には、不正に関する重要な情報が記憶される。   As described above, in the present embodiment, at least part of information related to fraud is stored in the second storage area of the main control RAM 100c. In other words, important information regarding fraud is stored in the second storage area.

本実施形態において、第1〜第4アドレスは、第2記憶領域のアドレス「F200H〜F3FFH」のうち、それぞれ異なるアドレスであってもよく、同一のアドレスであってもよい。なお、第1〜第4アドレスを同一のアドレスとすることにより、1つの記憶領域を複数の情報で共用する場合には、それぞれの情報と対応付けられたbitごとに書き換えるとよい。また、本明細書において、第1〜第4アドレスの第1〜第4の番号は、説明の便宜のために付したものであって、主制御用RAM100cの記憶領域内におけるアドレスの順序を特定するものではない。例えば、第1〜第4アドレスは、第2記憶領域のアドレス「F200H〜F3FFH」のうち、第1アドレス→第2アドレス→・・・→第4アドレスの順序で、昇順に連続する4つのアドレスであってもよく、これとは異なるアドレスであってもよい。   In the present embodiment, the first to fourth addresses may be different from the addresses “F200H to F3FFH” of the second storage area, or may be the same address. In addition, when one storage area is shared by a plurality of pieces of information by setting the first to fourth addresses to be the same address, it may be rewritten for each bit associated with each piece of information. In the present specification, the first to fourth numbers of the first to fourth addresses are given for convenience of description, and specify the order of addresses in the storage area of the main control RAM 100c. Not what you want. For example, among the addresses “F200H to F3FFH” in the second storage area, the first to fourth addresses are four addresses that are consecutive in ascending order in the order of the first address → the second address →... → the fourth address. It may be a different address.

以下、主制御用CPU100aが主制御プログラムに基づき実行する各種の処理について説明する。まず、遊技の進行に関する遊技進行処理について説明する。本実施形態において、遊技進行処理は、メインルーチンに相当する。   Hereinafter, various processes executed by the main control CPU 100a based on the main control program will be described. First, the game progress process related to the progress of the game will be described. In the present embodiment, the game progress process corresponds to a main routine.

図5に示すように、遊技進行処理において、主制御用CPU100aは、遊技開始セット処理を行う(ステップSa01)。遊技開始セット処理において、主制御用CPU100aは、スロットマシン10の遊技状態やリールユニット16を用いた演出(所謂フリーズ演出)に関するフラグなどの情報を主制御用RAM100cの第1記憶領域に記憶させる処理や、第1記憶領域のうち予め定めた記憶領域を初期化する処理などを行う。なお、本実施形態において、主制御用CPU100aは、主制御用RAM100cの第1記憶領域を初期化する処理と第2記憶領域を初期化する処理とを独立して実行することができる。換言すれば、第1記憶領域及び第2記憶領域は、独立して初期化が可能に構成されている。   As shown in FIG. 5, in the game progress process, the main control CPU 100a performs a game start set process (step Sa01). In the game start set process, the main control CPU 100a stores information such as a flag relating to the game state of the slot machine 10 and an effect (so-called freeze effect) using the reel unit 16 in the first storage area of the main control RAM 100c. Alternatively, a process for initializing a predetermined storage area in the first storage area is performed. In the present embodiment, the main control CPU 100a can independently execute the process of initializing the first storage area of the main control RAM 100c and the process of initializing the second storage area. In other words, the first storage area and the second storage area can be initialized independently.

次に、主制御用CPU100aは、メダルのベット受付を開始する(ステップSa02)。次に、主制御用CPU100aは、スロットマシン10の遊技状態をチェックする(ステップSa03)。ステップSa03において、主制御用CPU100aは、スロットマシン10の遊技状態がボーナス遊技であるか否かなどを特定する。   Next, the main control CPU 100a starts receiving bets for medals (step Sa02). Next, the main control CPU 100a checks the gaming state of the slot machine 10 (step Sa03). In step Sa03, the main control CPU 100a specifies whether or not the gaming state of the slot machine 10 is a bonus game.

次に、主制御用CPU100aは、再遊技作動時であるか否かを判定する(ステップSa04)。主制御用CPU100aは、再遊技作動時ではない場合(ステップSa04:NO)、今回の変動ゲームにおけるベット数を設定するメダル管理処理を行う(ステップSa05)。ステップSa05の処理において主制御用CPU100aは、投入センサからメダルの検出信号を入力すると、主制御用RAM100cの第1記憶領域に記憶されているベット数に1加算する。また、ステップSa05の処理において主制御用CPU100aは、ベットボタン18から操作信号を入力すると、主制御用RAM100cに記憶されているベット数が規定ベット数となるようにベット数に加算するとともに、該加算分だけ、主制御用RAM100cの第1記憶領域に記憶されているクレジットを減算する。   Next, the main control CPU 100a determines whether or not it is a re-game operation time (step Sa04). If it is not during the re-game operation (step Sa04: NO), the main control CPU 100a performs a medal management process for setting the number of bets in the current variable game (step Sa05). In the process of step Sa05, when the medal detection signal is input from the insertion sensor, the main control CPU 100a adds 1 to the bet number stored in the first storage area of the main control RAM 100c. In the process of step Sa05, when the operation signal is input from the bet button 18, the main control CPU 100a adds to the bet number so that the bet number stored in the main control RAM 100c becomes the specified bet number. The credit stored in the first storage area of the main control RAM 100c is subtracted by the added amount.

主制御用CPU100aは、再遊技作動時である場合(ステップSa04:YES)、又はステップSa05の処理を終了した場合、今回の変動ゲームにおけるベット数が最大ベット数と一致するか否かを判定する(ステップSa06)。なお、主制御用CPU100aは、再遊技作動時である場合(ステップSa04:YES)、前回の変動ゲームにおけるベット数を今回の変動ゲームにおけるベット数として再設定する。   The main control CPU 100a determines whether or not the bet number in the current variation game matches the maximum bet number when the re-game operation is being performed (step Sa04: YES) or when the process of step Sa05 is terminated. (Step Sa06). In addition, when the re-game operation is being performed (step Sa04: YES), the main control CPU 100a resets the bet number in the previous variation game as the bet number in the current variation game.

今回の変動ゲームにおけるベット数が最大ベット数と一致しない場合(ステップSa06:NO)、主制御用CPU100aは、ステップSa03の処理に移行する。即ち、ステップSa06の処理において、主制御用CPU100aは、変動ゲームを開始可能な状態であるか否かを判定している。一方、今回の変動ゲームにおけるベット数が最大ベット数と一致する場合(ステップSa06:YES)、主制御用CPU100aは、スタートレバー20による開始操作を受け付けたか否かを判定する(ステップSa07)。ステップSa07の処理において、主制御用CPU100aは、スタートレバー20から操作信号を入力した場合には肯定判定する一方で、スタートレバー20から操作信号を入力しない場合には否定判定する。開始操作を受け付けていない場合(ステップSa07:NO)、主制御用CPU100aは、ステップSa03の処理へ移行する。   When the bet number in the current variable game does not match the maximum bet number (step Sa06: NO), the main control CPU 100a proceeds to the process of step Sa03. That is, in the process of step Sa06, the main control CPU 100a determines whether or not it is in a state where a variable game can be started. On the other hand, when the bet number in the current variation game matches the maximum bet number (step Sa06: YES), the main control CPU 100a determines whether or not a start operation by the start lever 20 has been accepted (step Sa07). In the process of step Sa07, the main control CPU 100a makes an affirmative determination when an operation signal is input from the start lever 20, while a negative determination is made when an operation signal is not input from the start lever 20. When the start operation is not accepted (step Sa07: NO), the main control CPU 100a proceeds to the process of step Sa03.

一方、開始操作を受け付けた場合(ステップSa07:YES)、主制御用CPU100aは、当選情報を決定する(ステップSa08)。ステップSa08において、主制御用CPU100aは、当選情報決定用乱数の値を用いた抽選により1つの当選情報を決定する。ステップSa08の処理は、スロットマシン10において内部的に行う役抽選(内部抽選)となる。また、主制御用CPU100aは、ステップSa08の処理において、変動ゲームの開始を指示するとともに、決定した当選情報(図柄組合せ(役))を特定可能な変動ゲーム開始コマンドを生成し、副基板200に出力する制御を行う。なお、本実施形態において、ステップSa08の処理における役抽選は、利益を付与するか否かの抽選に相当する。即ち、遊技進行処理には、利益を付与するか否かの抽選に関する処理を含む。   On the other hand, when the start operation is received (step Sa07: YES), the main control CPU 100a determines the winning information (step Sa08). In step Sa08, the main control CPU 100a determines one winning information by lottery using the value of the winning information determining random number. The processing of step Sa08 is a role lottery (internal lottery) performed internally in the slot machine 10. Further, the main control CPU 100a instructs the start of the variable game in the process of step Sa08 and generates a variable game start command that can specify the determined winning information (symbol combination (combination)). Control to output. In the present embodiment, the role lottery in the process of step Sa08 corresponds to a lottery for determining whether or not to provide a profit. That is, the game progress process includes a process related to a lottery for determining whether or not to give a profit.

次に、主制御用CPU100aは、最短遊技時間(ウェイトタイム)が経過したか否かを判定する(ステップSa09)。最短遊技時間が経過していない場合(ステップSa09:NO)、主制御用CPU100aは、最短遊技時間が経過するまで待機する。最短遊技時間が経過している場合(ステップSa09:YES)、主制御用CPU100aは、アクチュエータA1〜A3に作動信号(駆動信号)を出力して各リール16a〜16cの回転を開始させ、変動ゲームを開始させる(ステップSa10)。   Next, the main control CPU 100a determines whether or not the shortest game time (wait time) has elapsed (step Sa09). When the shortest game time has not elapsed (step Sa09: NO), the main control CPU 100a stands by until the shortest game time has elapsed. When the shortest game time has elapsed (step Sa09: YES), the main control CPU 100a outputs an operation signal (drive signal) to the actuators A1 to A3 to start the rotation of the reels 16a to 16c, thereby changing the game. Is started (step Sa10).

続けて、主制御用CPU100aは、各ストップボタン21a〜21cの何れかによる停止操作を受け付けたか否かを判定する(ステップSa11)。ステップSa11において、主制御用CPU100aは、ストップボタン21a〜21cの何れかから操作信号を入力した場合には肯定判定する一方で、ストップボタン21a〜21cの何れかから操作信号を入力しない場合には否定判定する。   Subsequently, the main control CPU 100a determines whether or not a stop operation by any one of the stop buttons 21a to 21c has been received (step Sa11). In step Sa11, the main control CPU 100a makes an affirmative determination when an operation signal is input from any one of the stop buttons 21a to 21c, whereas it does not input an operation signal from any one of the stop buttons 21a to 21c. Make a negative decision.

停止操作を受け付けた場合(ステップSa11:YES)、主制御用CPU100aは、決定済みの当選情報とストップボタンの操作タイミングとをもとに、入賞ライン上に停止表示させる図柄を決定し、該決定した図柄を入賞ライン上に停止表示させる図柄組合せ制御を実行する(ステップSa12)。   When the stop operation is received (step Sa11: YES), the main control CPU 100a determines a symbol to be stopped and displayed on the winning line based on the determined winning information and the operation timing of the stop button. The symbol combination control for stopping and displaying the symbol on the winning line is executed (step Sa12).

停止操作を受け付けていない場合(ステップSa11:NO)、及びステップSa12の処理を終了した場合、主制御用CPU100aは、各リール16a〜16cの全てを停止させたか否かを判定する(ステップSa13)。各リール16a〜16cのうち1つ以上のリールを停止させていない場合(ステップSa13:NO)、主制御用CPU100aは、ステップSa11の処理へ移行する。   When the stop operation has not been received (step Sa11: NO) and when the process of step Sa12 has been completed, the main control CPU 100a determines whether or not all of the reels 16a to 16c have been stopped (step Sa13). . When one or more of the reels 16a to 16c are not stopped (step Sa13: NO), the main control CPU 100a proceeds to the process of step Sa11.

一方、各リール16a〜16cの全てを停止させている場合(ステップSa13:YES)、主制御用CPU100aは、表示図柄判定を実行する(ステップSa14)。ステップSa14の処理において、主制御用CPU100aは、各リールにおいて、有効ラインNL上に停止表示されている図柄組合せが賞を定めた何れかの図柄組合せ(役)であるか否か、及び賞を定めた図柄組合せである場合にはその図柄組合せを判定する。即ち、ステップSa14の処理において、主制御用CPU100aは、ステップSa08の処理で決定した当選情報から特定可能な図柄組合せ(役)に実際に入賞したか否か、及び入賞している場合に入賞した図柄組合せを判定している。   On the other hand, when all of the reels 16a to 16c are stopped (step Sa13: YES), the main control CPU 100a executes display symbol determination (step Sa14). In the processing of step Sa14, the main control CPU 100a determines whether or not the symbol combination that is stopped and displayed on the active line NL is any symbol combination (combination) that determines a prize in each reel, and the prize. If the symbol combination is determined, the symbol combination is determined. That is, in the process of step Sa14, the main control CPU 100a has won whether or not it has actually won a symbol combination (combination) that can be identified from the winning information determined in the process of step Sa08, and has won a prize. The symbol combination is determined.

次に、主制御用CPU100aは、遊技者にメダルの払出しを行うか否かを判定する(ステップSa15)。ステップSa15において、主制御用CPU100aは、払出役に入賞している場合には肯定判定する一方で、払出役に入賞していない場合には否定判定する。メダルの払出しを行う場合(ステップSa15:YES)、主制御用CPU100aは、ホッパーユニットを駆動してメダルを払出すためのメダル払出し処理を実行する(ステップSa16)。このように、スロットマシン10では、有効ラインNLに停止表示された図柄組合せに応じてメダルの払出しを発生可能である。   Next, the main control CPU 100a determines whether or not to pay out a medal to the player (step Sa15). In step Sa15, the main control CPU 100a makes an affirmative determination when winning a payout combination, and makes a negative determination when not winning a payout combination. When a medal is paid out (step Sa15: YES), the main control CPU 100a executes a medal payout process for driving the hopper unit and paying out a medal (step Sa16). As described above, in the slot machine 10, medals can be paid out according to the symbol combination stopped and displayed on the active line NL.

主制御用CPU100aは、メダルの払出しを行わない場合(ステップSa15:NO)、及びステップSa16の処理を終了した場合、1回の変動ゲームを終了させる終了処理を行う(ステップSa17)。即ち、本実施形態のスロットマシン10では、図柄組合せが導出表示されることによって遊技を終了可能となる。ステップSa17の終了処理において、主制御用CPU100aは、入賞と判定した図柄組合せ(役)に応じて内部状態を移行させる制御や、入賞と判定したことを示す入賞指示コマンドを副基板200に出力する制御を行う。この入賞指示コマンドは、変動ゲーム開始コマンドで指示される図柄組合せ(役)の入賞を副基板200に把握させる。その後、主制御用CPU100aは、1回の変動ゲームの実行に係る遊技進行処理を終了し、再びステップSa01の処理へ移行する。   When the medal is not paid out (step Sa15: NO) and when the process of step Sa16 is completed, the main control CPU 100a performs an end process for ending one variation game (step Sa17). That is, in the slot machine 10 of the present embodiment, the game can be ended by the symbol combination being derived and displayed. In the end process of step Sa17, the main control CPU 100a outputs to the sub-board 200 a control for shifting the internal state in accordance with the symbol combination (combination) determined to be a winning or a winning instruction command indicating that the winning is determined. Take control. This winning instruction command causes the sub-board 200 to recognize the winning of the symbol combination (role) specified by the variable game start command. Thereafter, the main control CPU 100a finishes the game progress process related to the execution of one variable game, and proceeds to the process of step Sa01 again.

上述したように、主制御用CPU100aは、遊技進行処理において、例えば、ステップSa08の処理で決定した当選情報、スロットマシン10の遊技状態、及びリールユニット16を用いた演出に関するフラグといった遊技の進行に関する情報を第1記憶領域に記憶させるなど、第1記憶領域の記憶内容を処理結果に応じて書き換える。一方で、主制御用CPU100aは、遊技進行処理において、原則として第2記憶領域の記憶内容を書き換えない。換言すれば、本実施形態の遊技進行処理は、後述するサブルーチン化された一部の処理を除いて、主制御用RAM100cの記憶領域のうち第1記憶領域の記憶内容を処理結果に応じて書き換える一方で、第2記憶領域の記憶内容を書き換えない処理である。   As described above, the main control CPU 100a relates to the progress of the game in the game progress process, for example, the winning information determined in the process of step Sa08, the game state of the slot machine 10, and the flag relating to the effect using the reel unit 16. The storage contents of the first storage area are rewritten according to the processing result, for example, information is stored in the first storage area. On the other hand, in principle, the main control CPU 100a does not rewrite the stored contents of the second storage area in the game progress process. In other words, the game progress process of the present embodiment rewrites the storage contents of the first storage area in the storage area of the main control RAM 100c according to the processing result, except for a part of the subroutine processing described later. On the other hand, this is a process that does not rewrite the storage contents of the second storage area.

ここで、本明細書において、単に「特定の処理において特定の記憶領域の記憶内容を書き換えない」と示す場合、「特定の処理」に含まれる処理のうち、当該「特定の処理」の実行中に呼び出される処理(サブルーチン)を除いた処理の実行に伴って、「特定の記憶領域」の記憶内容を書き換えないことを意図している。即ち、本明細書では、「特定の処理において特定の記憶領域の記憶内容を書き換えない」と示す場合であっても、「特定の処理」の実行中に呼び出される処理において「特定の記憶領域」の記憶内容が書き換えられるときがある。また、本明細書において、単に「特定の処理において特定の記憶領域の記憶内容を書き換える」と示す場合、「特定の処理」に含まれる処理のうち、当該「特定の処理」の実行中に呼び出される処理(サブルーチン)を除いた処理の実行に伴って、「特定の記憶領域」の記憶内容を書き換えることを意図している。   Here, in this specification, when simply indicating that “the contents stored in a specific storage area are not rewritten in a specific process”, among the processes included in the “specific process”, the “specific process” is being executed. It is intended not to rewrite the storage contents of the “specific storage area” in accordance with the execution of the process excluding the process (subroutine) called by the user. That is, in this specification, even if it is indicated that “the storage content of a specific storage area is not rewritten in a specific process”, the “specific storage area” in the process called during the execution of the “specific process” There are times when the stored contents of are rewritten. Further, in this specification, when simply indicating “rewriting the storage contents of a specific storage area in a specific process”, it is called during the execution of the “specific process” among the processes included in the “specific process”. It is intended to rewrite the stored contents of the “specific storage area” in accordance with the execution of the process except for the process (subroutine) to be performed.

次に、主制御用CPU100aが電源断信号を入力した場合に行う電源断処理について説明する。即ち、電源断処理は、スロットマシン10の電源の遮断時に行われる処理である。   Next, the power-off process performed when the main control CPU 100a inputs a power-off signal will be described. That is, the power-off process is a process performed when the power to the slot machine 10 is shut off.

図6に示すように、電源断処理において、主制御用CPU100aは、所定のレジスタを退避させる(ステップSb01)。ステップSb01の処理において、主制御用CPU100aは、所定のレジスタの記憶内容を主制御用RAM100cの第1記憶領域に記憶させる。   As shown in FIG. 6, in the power-off process, the main control CPU 100a saves a predetermined register (step Sb01). In the process of step Sb01, the main control CPU 100a stores the stored contents of a predetermined register in the first storage area of the main control RAM 100c.

続いて、主制御用CPU100aは、電源断時の割込状態を主制御用RAM100cの第1記憶領域に記憶させる(ステップSb02)。ここで、割込状態とは、割込処理の実行を許可しているか否かの状態である。なお、本実施形態の割込処理は、割込処理の実行が許可されている場合に、所定周期毎に実行される。以下の説明では、割込処理の実行を許可することを、単に「割込みを許可」と示すとともに、割込み処理の実行を許可しないことを、単に「割込みを禁止」と示す。   Subsequently, the main control CPU 100a stores the interrupt state when the power is turned off in the first storage area of the main control RAM 100c (step Sb02). Here, the interrupt state is a state of whether or not execution of interrupt processing is permitted. Note that the interrupt process of this embodiment is executed at predetermined intervals when the execution of the interrupt process is permitted. In the following description, permitting execution of an interrupt process is simply indicated as “permit interrupt”, and not permitting execution of an interrupt process is simply indicated as “inhibit interrupt”.

ステップSb02の処理において、主制御用CPU100aは、電源断信号を入力したときに割込みが許可されていたか否かを特定可能な割込状態情報を所定のレジスタに記憶させた後、当該所定のレジスタの記憶内容を主制御用RAM100cの第1記憶領域に記憶させる。   In the process of step Sb02, the main control CPU 100a stores interrupt state information that can specify whether or not an interrupt is permitted when a power-off signal is input in a predetermined register, and then stores the predetermined register. Is stored in the first storage area of the main control RAM 100c.

その後、主制御用CPU100aは、所定のレジスタ以外のレジスタを退避させる(ステップSb03)。ステップSb03の処理において、主制御用CPU100aは、所定のレジスタ以外のレジスタの記憶内容を主制御用RAM100cの第1記憶領域に記憶させる。そして、主制御用CPU100aは、第1記憶領域において、処理結果に応じた情報(制御情報)を次に記憶させるスタックエリアのアドレスを特定可能なスタックポインタを主制御用RAM100cの第1記憶領域に記憶させる(ステップSb04)。   Thereafter, the main control CPU 100a saves registers other than the predetermined register (step Sb03). In the process of step Sb03, the main control CPU 100a stores the storage contents of registers other than the predetermined register in the first storage area of the main control RAM 100c. Then, the main control CPU 100a stores a stack pointer in the first storage area of the main control RAM 100c that can specify the address of the stack area in which information (control information) corresponding to the processing result is stored next in the first storage area. Store (step Sb04).

その後、主制御用CPU100aは、主制御用RAM100cの第1記憶領域に、電源断処理済フラグを設定する(ステップSb05)。ステップSb05において主制御用CPU100aは、ステップSb01〜ステップSb04の処理が正常に行われた場合には、正常に行われたことを特定可能なフラグを設定する一方、ステップSb01〜ステップSb04の処理が正常に行われなかった場合には、正常に行われなかったことを特定可能なフラグを設定する。   Thereafter, the main control CPU 100a sets a power-off process completion flag in the first storage area of the main control RAM 100c (step Sb05). In step Sb05, when the processing from step Sb01 to step Sb04 is performed normally, the main control CPU 100a sets a flag that can specify that the processing has been performed normally, while the processing from step Sb01 to step Sb04 is performed. If not performed normally, a flag that can specify that the operation has not been performed normally is set.

そして、主制御用CPU100aは、主制御用RAM100cの第1記憶領域に記憶されているチェックサムデータを消去する(ステップSb06)。その後、主制御用CPU100aは、主制御用RAM100cのチェックサムを算出する(ステップSb07)。ステップSb07の処理において、主制御用CPU100aは、主制御用RAM100cの全ての記憶領域(全アドレス範囲)を対象にチェックサムを算出する。即ち、ステップSb07の処理において、主制御用CPU100aは、主制御用RAM100cの第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方を参照して、チェックサムを算出する。   Then, the main control CPU 100a erases the checksum data stored in the first storage area of the main control RAM 100c (step Sb06). Thereafter, the main control CPU 100a calculates a checksum of the main control RAM 100c (step Sb07). In the process of step Sb07, the main control CPU 100a calculates a checksum for all storage areas (all address ranges) of the main control RAM 100c. That is, in the process of step Sb07, the main control CPU 100a calculates the checksum with reference to both the storage contents of the first storage area and the storage contents of the second storage area of the main control RAM 100c.

続いて、主制御用CPU100aは、ステップSb07にて算出したチェックサムの値を、チェックサムデータとして主制御用RAM100cの第1記憶領域に記憶させる(ステップSb08)。その後、主制御用CPU100aは、主制御用RAM100cへのアクセスを禁止する(ステップSb09)。その後、主制御用CPU100aは、電源の供給が開始されるまで待機する。   Subsequently, the main control CPU 100a stores the checksum value calculated in step Sb07 in the first storage area of the main control RAM 100c as checksum data (step Sb08). Thereafter, the main control CPU 100a prohibits access to the main control RAM 100c (step Sb09). Thereafter, the main control CPU 100a waits until the supply of power is started.

上述したように、主制御用CPU100aは、電源断処理において、第1記憶領域の記憶内容を処理結果に応じて書き換える。一方で、主制御用CPU100aは、電源断処理において、第2記憶領域の記憶内容を書き換えない。換言すれば、本実施形態の電源断処理は、主制御用RAM100cの記憶領域のうち第1記憶領域の記憶内容を処理結果に応じて書き換える一方で、第2記憶領域の記憶内容を書き換えない処理である。また、主制御用CPU100aは、電源断処理においては、主制御用RAM100cの第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方を参照できる。   As described above, the main control CPU 100a rewrites the storage content of the first storage area according to the processing result in the power-off processing. On the other hand, the main control CPU 100a does not rewrite the stored contents of the second storage area in the power-off process. In other words, the power-off process of the present embodiment is a process that rewrites the storage contents of the first storage area in the storage area of the main control RAM 100c according to the processing result, but does not rewrite the storage contents of the second storage area. It is. Further, the main control CPU 100a can refer to both the storage content of the first storage area and the storage content of the second storage area of the main control RAM 100c in the power-off process.

次に、スロットマシン10への電源の供給が開始された際に主制御用CPU100aが行う電源投入処理について説明する。即ち、電源投入処理は、スロットマシン10の電源投入がされたときに行う処理である。本実施形態において、電源投入処理は、開始処理及び第1開始処理に相当する。   Next, a power-on process performed by the main control CPU 100a when the supply of power to the slot machine 10 is started will be described. That is, the power-on process is a process performed when the slot machine 10 is powered on. In the present embodiment, the power-on process corresponds to a start process and a first start process.

図7に示すように、電源投入処理において主制御用CPU100aは、第1記憶領域のスタックエリアのアドレスを特定可能なスタックポインタを設定する(ステップSc01)。続いて、主制御用CPU100aは、当該主制御用CPU100aの初期設定を実行する(ステップSc02)。   As shown in FIG. 7, in the power-on process, the main control CPU 100a sets a stack pointer that can specify the address of the stack area of the first storage area (step Sc01). Subsequently, the main control CPU 100a executes initial setting of the main control CPU 100a (step Sc02).

その後、主制御用CPU100aは、前面扉12が開放されているか否かの判定や設定器26が操作されているか否かの判定を含む第2記憶領域電源投入処理を行う(ステップSc03)。第2記憶領域電源投入処理について、詳しくは後述する。   Thereafter, the main control CPU 100a performs a second storage area power-on process including determination of whether the front door 12 is opened and determination of whether the setting device 26 is operated (step Sc03). Details of the second storage area power-on process will be described later.

続いて、主制御用CPU100aは、主制御用RAM100cの第2記憶領域のうち、第3アドレスの記憶領域を参照して、扉開放フラグが設定されている(扉開放フラグあり)か否かを判定する(ステップSc04)。扉開放フラグが設定されていない場合(ステップSc04:NO)、主制御用CPU100aは、電源断時のスロットマシン10の状態に復帰させるための電源復帰処理に移行する。電源復帰処理について、詳しくは後述する。   Subsequently, the main control CPU 100a refers to the storage area of the third address in the second storage area of the main control RAM 100c and determines whether or not the door opening flag is set (there is a door opening flag). Determination is made (step Sc04). When the door opening flag is not set (step Sc04: NO), the main control CPU 100a shifts to a power supply return process for returning to the state of the slot machine 10 when the power is turned off. Details of the power recovery process will be described later.

一方、扉開放フラグが設定されている場合(ステップSc04:YES)、主制御用CPU100aは、主制御用RAM100cの第2記憶領域のうち、第4アドレスの記憶領域を参照して、設定器操作フラグが設定されている(設定器操作フラグあり)か否かを判定する(ステップSc05)。設定器操作フラグが設定されていない場合(ステップSc05:NO)、主制御用CPU100aは、電源復帰処理に移行する。   On the other hand, when the door opening flag is set (step Sc04: YES), the main control CPU 100a refers to the storage area of the fourth address in the second storage area of the main control RAM 100c, and operates the setter. It is determined whether the flag is set (the setter operation flag is present) (step Sc05). When the setter operation flag is not set (step Sc05: NO), the main control CPU 100a shifts to the power recovery process.

一方、設定器操作フラグが設定されている場合(ステップSc05:YES)、主制御用CPU100aは、主制御用RAM100cの第1記憶領域に記憶されているスロットマシン10の設定を特定可能な設定情報(設定値)を参照し、スロットマシン10の設定が正常であるか否かを判定する(ステップSc06)。ここで、スロットマシン10の設定が正常であるか否かの判定は、設定情報から特定可能な設定の段階が、スロットマシン10において予め変更可能に用意された設定の段階の範囲内にあるか否かにより判定できる。   On the other hand, when the setter operation flag is set (step Sc05: YES), the main control CPU 100a can set the setting information of the slot machine 10 stored in the first storage area of the main control RAM 100c. With reference to (setting value), it is determined whether or not the setting of the slot machine 10 is normal (step Sc06). Here, whether or not the setting of the slot machine 10 is normal is determined based on whether or not the setting stage that can be specified from the setting information is within the range of the setting stage prepared in advance so that the slot machine 10 can be changed. It can be determined by whether or not.

スロットマシン10の設定が正常でない場合(ステップSc06:NO)、主制御用CPU100aは、所定の設定をスロットマシン10の設定としてセットする(ステップSc07)。具体的に、本実施形態では、最も遊技者にとって有利でない設定を特定可能な設定情報を、主制御用RAM100cの第1記憶領域に記憶させる。   When the setting of the slot machine 10 is not normal (step Sc06: NO), the main control CPU 100a sets a predetermined setting as the setting of the slot machine 10 (step Sc07). Specifically, in the present embodiment, setting information that can specify a setting that is least advantageous to the player is stored in the first storage area of the main control RAM 100c.

スロットマシン10の設定が正常である場合(ステップSc06:YES)、及びステップSc07の処理を終了した場合、主制御用CPU100aは、主制御用RAM100cの第1記憶領域の記憶内容を参照し、第1記憶領域の記憶内容が正常であるか否かを判定する(ステップSc08)。即ち、本実施形態の電源投入処理は、第1記憶領域の記憶内容が正常であるか否かをチェックすることを含む処理である。第1記憶領域の記憶内容が正常でない場合(ステップSc08:NO)、主制御用CPU100aは、エラーストップさせる。ここで、エラーストップさせるとは、復帰不可能なエラー状態が発生していることから、各種の処理を停止することである。   When the setting of the slot machine 10 is normal (step Sc06: YES) and when the process of step Sc07 is completed, the main control CPU 100a refers to the storage contents of the first storage area of the main control RAM 100c, and It is determined whether or not the storage contents of one storage area are normal (step Sc08). That is, the power-on process of the present embodiment is a process including checking whether or not the storage contents of the first storage area are normal. If the storage content of the first storage area is not normal (step Sc08: NO), the main control CPU 100a stops the error. Here, the error stop means that various processes are stopped because an unrecoverable error state has occurred.

一方、第1記憶領域の記憶内容が正常である場合(ステップSc08:YES)、主制御用CPU100aは、主制御用RAM100cの第1記憶領域のうち所定の記憶領域を初期化する(ステップSc09)。即ち、本実施形態の電源投入処理は、第1記憶領域の記憶内容を初期化することを含む処理である。ここで、本明細書において「初期化」とは、初期化の対象となる記憶領域について、予め定めた情報(初期情報)に書き換えることである。即ち、初期化は、記憶内容の書き換えにあたる処理である。なお、ステップSc09の処理において、主制御用CPU100aは、第1記憶領域のうち、少なくとも設定情報が記憶されている記憶領域については初期化しない。これにより、設定器26が操作されているにもかかわらず、該操作による設定の変更が反映されない状況が生じることを抑制できる。   On the other hand, when the storage content of the first storage area is normal (step Sc08: YES), the main control CPU 100a initializes a predetermined storage area of the first storage area of the main control RAM 100c (step Sc09). . That is, the power-on process of the present embodiment is a process including initializing the storage contents of the first storage area. Here, “initialization” in this specification is to rewrite the storage area to be initialized to predetermined information (initial information). That is, the initialization is a process for rewriting the stored contents. In the process of step Sc09, the main control CPU 100a does not initialize at least a storage area in the first storage area in which setting information is stored. Thereby, it is possible to suppress the occurrence of a situation in which the setting change due to the operation is not reflected even though the setting device 26 is operated.

その後、主制御用CPU100aは、主制御用RAM100cの第2記憶領域の記憶内容が正常であるか否かをチェックし、初期化するための第2記憶領域チェック初期化処理を行う(ステップSc10)。第2記憶領域チェック初期化処理について、詳しくは後述する。   Thereafter, the main control CPU 100a checks whether or not the storage content of the second storage area of the main control RAM 100c is normal, and performs a second storage area check initialization process for initialization (step Sc10). . Details of the second storage area check initialization process will be described later.

続いて、主制御用CPU100aは、割込みを許可する(ステップSc11)。そして、主制御用CPU100aは、スロットマシン10の設定を変更するための設定変更処理を行う(ステップSc12)。   Subsequently, the main control CPU 100a permits an interrupt (step Sc11). Then, the main control CPU 100a performs a setting change process for changing the setting of the slot machine 10 (step Sc12).

設定変更処理において主制御用CPU100aは、所定の変更操作手段が操作される毎にスロットマシン10の設定として設定可能な設定を1段階ずつ変化させる。ここで、所定の変更操作手段は、設定変更専用の操作手段であってもよいし、例えばベットボタン18など、他の操作手段と兼用の操作手段であってもよい。そして、主制御用CPU100aは、所定の決定操作手段(例えば、スタートレバー20など)が操作されると、当該決定操作手段が操作されたときに選択されている設定を、スロットマシン10の設定とすることを決定する。その後、主制御用CPU100aは、設定器26の操作が終了すると、決定したスロットマシン10の設定を特定可能な設定情報を、主制御用RAM100cの第1記憶領域に記憶させ、設定変更処理を終了する。そして、設定変更処理を終了すると、主制御用CPU100aは、電源投入処理を終了する。   In the setting change process, the main control CPU 100a changes the setting that can be set as the setting of the slot machine 10 step by step every time a predetermined changing operation means is operated. Here, the predetermined change operation means may be an operation means dedicated to setting change, or may be an operation means that is also used as another operation means such as the bet button 18. Then, when a predetermined determination operation means (for example, the start lever 20) is operated, the main control CPU 100a uses the setting selected when the determination operation means is operated as the setting of the slot machine 10. Decide what to do. Thereafter, when the operation of the setting device 26 is completed, the main control CPU 100a stores setting information that can specify the determined setting of the slot machine 10 in the first storage area of the main control RAM 100c, and ends the setting change processing. To do. When the setting change process ends, the main control CPU 100a ends the power-on process.

上述したように、主制御用CPU100aは、電源投入処理において、第1記憶領域の記憶内容を処理結果に応じて書き換える。一方で、主制御用CPU100aは、電源投入処理において、第2記憶領域の記憶内容を書き換えない。換言すれば、本実施形態の電源投入処理は、主制御用RAM100cの記憶領域のうち第1記憶領域の記憶内容を処理結果に応じて書き換える一方で、第2記憶領域の記憶内容を書き換えない処理である。また、主制御用CPU100aは、電源投入処理においては、主制御用RAM100cの第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方を参照できる。   As described above, the main control CPU 100a rewrites the storage contents of the first storage area according to the processing result in the power-on processing. On the other hand, the main control CPU 100a does not rewrite the stored contents of the second storage area in the power-on process. In other words, the power-on process of the present embodiment is a process in which the storage contents of the first storage area in the storage area of the main control RAM 100c are rewritten according to the processing result, while the storage contents of the second storage area are not rewritten. It is. Further, the main control CPU 100a can refer to both the storage contents of the first storage area and the second storage area of the main control RAM 100c in the power-on process.

次に、第2記憶領域電源投入処理について説明する。第2記憶領域電源投入処理は、電源投入処理のステップSc03において実行されることから、電源投入処理において呼び出される処理(所謂、サブルーチン)として把握できる。   Next, the second storage area power-on process will be described. Since the second storage area power-on process is executed in step Sc03 of the power-on process, it can be grasped as a process (so-called subroutine) called in the power-on process.

図8に示すように、第2記憶領域電源投入処理において、主制御用CPU100aは、前面扉12が開放されているか否かを判定する(ステップSd01)。ステップSd01の処理において、主制御用CPU100aは、主制御用RAM100cの第2記憶領域のうち、第2アドレスの記憶領域に記憶されている開放信号入力情報を参照して、前面扉12が開放されていることを示す開放信号を入力しているか否かを特定する。そして、主制御用CPU100aは、開放信号を入力している場合には、前面扉12が開放されていると判定する一方、開放信号を入力していない場合には、前面扉12が開放されていないと判定する。前面扉12が開放されていると判定した場合(ステップSd01:YES)、主制御用CPU100aは、主制御用RAM100cの第2記憶領域のうち、第3アドレスの記憶領域に扉開放フラグを設定する(ステップSd02)。   As shown in FIG. 8, in the second storage area power-on process, the main control CPU 100a determines whether or not the front door 12 is opened (step Sd01). In the process of step Sd01, the main control CPU 100a refers to the opening signal input information stored in the storage area of the second address in the second storage area of the main control RAM 100c, and opens the front door 12. It is specified whether or not an open signal indicating that it is being input. When the open signal is input, the main control CPU 100a determines that the front door 12 is open. On the other hand, when the open signal is not input, the front door 12 is open. Judge that there is no. When it is determined that the front door 12 is opened (step Sd01: YES), the main control CPU 100a sets a door open flag in the storage area of the third address in the second storage area of the main control RAM 100c. (Step Sd02).

前面扉12が開放されていないと判定した場合(ステップSd01:NO)、及びステップSd02の処理を終了した場合、主制御用CPU100aは、設定器26が操作されているか否かを判定する(ステップSd03)。ステップSd03の処理において、主制御用CPU100aは、主制御用RAM100cの第2記憶領域のうち、第2アドレスの記憶領域に記憶されている操作信号入力情報を参照して、設定器26が操作されていることを示す操作信号を入力しているか否かを特定する。そして、主制御用CPU100aは、操作信号を入力している場合には、設定器26が操作されていると判定する一方、操作信号を入力していない場合には、設定器26が操作されていないと判定する。設定器26が操作されていると判定した場合(ステップSd03:YES)、主制御用CPU100aは、主制御用RAM100cの第2記憶領域のうち、第4アドレスの記憶領域に設定器操作フラグを設定する(ステップSd04)。   When it is determined that the front door 12 is not opened (step Sd01: NO) and when the process of step Sd02 is completed, the main control CPU 100a determines whether or not the setting device 26 is operated (step). Sd03). In the process of step Sd03, the main control CPU 100a operates the setting device 26 with reference to the operation signal input information stored in the storage area of the second address in the second storage area of the main control RAM 100c. It is specified whether or not an operation signal indicating that it is input. When the operation signal is input, the main control CPU 100a determines that the setting device 26 is operated. On the other hand, when the operation signal is not input, the setting device 26 is operated. Judge that there is no. If it is determined that the setter 26 is being operated (step Sd03: YES), the main control CPU 100a sets a setter operation flag in the storage area of the fourth address in the second storage area of the main control RAM 100c. (Step Sd04).

設定器26が操作されていないと判定した場合(ステップSd03:NO)、及びステップSd04の処理を終了した場合、主制御用CPU100aは、第2記憶領域電源投入処理を終了する。   When it is determined that the setting device 26 is not operated (step Sd03: NO), and when the process of step Sd04 is completed, the main control CPU 100a ends the second storage area power-on process.

上述したように、主制御用CPU100aは、第2記憶領域電源投入処理において、第2記憶領域の記憶内容を処理結果に応じて書き換える。一方で、主制御用CPU100aは、第2記憶領域電源投入処理において、第1記憶領域の記憶内容を書き換えない。換言すれば、本実施形態の第2記憶領域電源投入処理は、主制御用RAM100cの記憶領域のうち第2記憶領域の記憶内容を処理結果に応じて書き換える一方で、第1記憶領域の記憶内容を書き換えない処理である。   As described above, the main control CPU 100a rewrites the storage contents of the second storage area according to the processing result in the second storage area power-on process. On the other hand, the main control CPU 100a does not rewrite the storage contents of the first storage area in the second storage area power-on process. In other words, the second storage area power-on process of the present embodiment rewrites the storage contents of the second storage area in the storage area of the main control RAM 100c according to the processing result, while the storage contents of the first storage area Is a process that does not rewrite.

本実施形態の第2記憶領域電源投入処理は、前面扉12が開放されているか否かを判定することを含む処理であることから、前面扉12の開放状態に関する処理として把握できる。即ち、第2記憶領域電源投入処理は、開放状態処理に相当する。また、本実施形態の第2記憶領域電源投入処理は、設定器26が操作されているか否かを判定することを含む処理であることから、設定器26の操作状態に関する処理として把握できる。即ち、第2記憶領域電源投入処理は、操作状態処理に相当する。   Since the second storage area power-on process according to the present embodiment is a process including determining whether or not the front door 12 is opened, it can be grasped as a process related to the open state of the front door 12. That is, the second storage area power-on process corresponds to an open state process. Further, the second storage area power-on process according to the present embodiment is a process including determining whether or not the setting device 26 is operated, and thus can be grasped as processing related to the operation state of the setting device 26. That is, the second storage area power-on process corresponds to an operation state process.

次に、第2記憶領域チェック初期化処理について説明する。第2記憶領域チェック初期化処理は、電源投入処理のステップSc10において実行されることから、電源投入処理において呼び出される処理(所謂、サブルーチン)として把握できる。本実施形態において、第2記憶領域チェック初期化処理は、第2開始処理に相当する。   Next, the second storage area check initialization process will be described. Since the second storage area check initialization process is executed in step Sc10 of the power-on process, it can be grasped as a process (so-called subroutine) called in the power-on process. In the present embodiment, the second storage area check initialization process corresponds to a second start process.

図9に示すように、第2記憶領域チェック初期化処理において、主制御用CPU100aは、主制御用RAM100cの第2記憶領域の記憶内容を参照し、第2記憶領域の記憶内容が正常であるか否かを判定する(ステップSe01)。即ち、本実施形態の第2記憶領域チェック初期化処理は、第2記憶領域の記憶内容が正常であるか否かをチェックすることを含む処理である。第2記憶領域の記憶内容が正常でない場合(ステップSe01:NO)、主制御用CPU100aは、エラーストップさせる。   As shown in FIG. 9, in the second storage area check initialization process, the main control CPU 100a refers to the storage contents of the second storage area of the main control RAM 100c, and the storage contents of the second storage area are normal. Whether or not (step Se01). That is, the second storage area check initialization process of the present embodiment is a process including checking whether the storage contents of the second storage area are normal. When the storage content of the second storage area is not normal (step Se01: NO), the main control CPU 100a stops the error.

一方、第2記憶領域の記憶内容が正常である場合(ステップSe01:YES)、主制御用CPU100aは、第2記憶領域のうち所定の記憶領域を初期化する(ステップSe02)。即ち、本実施形態の第2記憶領域チェック初期化処理は、第2記憶領域の記憶内容を初期化することを含む処理である。その後、主制御用CPU100aは、第2記憶領域チェック初期化処理を終了する。   On the other hand, when the storage content of the second storage area is normal (step Se01: YES), the main control CPU 100a initializes a predetermined storage area of the second storage area (step Se02). In other words, the second storage area check initialization process of the present embodiment is a process including initializing the storage contents of the second storage area. Thereafter, the main control CPU 100a ends the second storage area check initialization process.

上述したように、主制御用CPU100aは、第2記憶領域チェック初期化処理において、第2記憶領域の記憶内容を処理結果に応じて書き換える。一方で、主制御用CPU100aは、第2記憶領域チェック初期化処理において、第1記憶領域の記憶内容を書き換えない。換言すれば、本実施形態の第2記憶領域チェック初期化処理は、主制御用RAM100cの記憶領域のうち第2記憶領域の記憶内容を処理結果に応じて書き換える一方で、第1記憶領域の記憶内容を書き換えない処理である。   As described above, the main control CPU 100a rewrites the storage contents of the second storage area according to the processing result in the second storage area check initialization process. On the other hand, the main control CPU 100a does not rewrite the storage contents of the first storage area in the second storage area check initialization process. In other words, the second storage area check initialization process of the present embodiment rewrites the storage contents of the second storage area in the storage area of the main control RAM 100c according to the processing result, while storing the first storage area. This process does not rewrite the contents.

次に、電源復帰処理について説明する。本実施形態において、電源復帰処理は、第1処理及び第1電断復帰処理に相当する。
図10に示すように、電源復帰処理において、主制御用CPU100aは、主制御用RAM100cのチェックサムを算出する(ステップSf01)。ステップSf01の処理において、主制御用CPU100aは、電源断処理におけるステップSb07の処理と同様、主制御用RAM100cの全ての記憶領域を対象にチェックサムを算出する。
Next, the power recovery process will be described. In the present embodiment, the power recovery process corresponds to a first process and a first power interruption recovery process.
As shown in FIG. 10, in the power recovery process, the main control CPU 100a calculates the checksum of the main control RAM 100c (step Sf01). In the process of step Sf01, the main control CPU 100a calculates the checksum for all the storage areas of the main control RAM 100c as in the process of step Sb07 in the power-off process.

続いて、主制御用CPU100aは、算出したチェックサムが正常であるか否かを判定する(ステップSf02)。ステップSf02において主制御用CPU100aは、ステップSf01にて算出したチェックサムと、電源断処理におけるステップSb08の処理にて主制御用RAM100cの第1記憶領域に記憶させたチェックサムとを比較して、一致する場合には正常であると判定する一方で、一致しない場合には正常でないと判定する。チェックサムが正常でない場合(ステップSf02:NO)、主制御用CPU100aはエラーストップさせる。   Subsequently, the main control CPU 100a determines whether or not the calculated checksum is normal (step Sf02). In step Sf02, the main control CPU 100a compares the checksum calculated in step Sf01 with the checksum stored in the first storage area of the main control RAM 100c in the process of step Sb08 in the power-off process. If they match, it is determined to be normal, while if they do not match, it is determined not to be normal. If the checksum is not normal (step Sf02: NO), the main control CPU 100a stops the error.

一方、チェックサムが正常である場合(ステップSf02:YES)、主制御用CPU100aは、スタックポインタを復帰させる(ステップSf03)。続いて、主制御用CPU100aは、電源断処理が正常に行われたか否かなどを判定するための第2記憶領域電源復帰処理を実行する(ステップSf04)。第2記憶領域電源復帰処理について、詳しくは後述する。   On the other hand, when the checksum is normal (step Sf02: YES), the main control CPU 100a restores the stack pointer (step Sf03). Subsequently, the main control CPU 100a executes a second storage area power return process for determining whether or not the power-off process has been normally performed (step Sf04). Details of the second storage area power recovery process will be described later.

その後、主制御用CPU100aは、主制御用RAM100cの第1記憶領域のうちワークエリア及びスタックエリアの最大使用エリアを除く記憶領域を初期化する(ステップSf05)。続いて、主制御用CPU100aは、所定のレジスタ以外のレジスタを復帰させる(ステップSf06)。   Thereafter, the main control CPU 100a initializes a storage area excluding the work area and the maximum use area of the stack area in the first storage area of the main control RAM 100c (step Sf05). Subsequently, the main control CPU 100a restores registers other than the predetermined register (step Sf06).

その後、主制御用CPU100aは、電源断時(供給される電圧が所定の電圧以下になった時)の割込状態を参照し、割込みが許可されていたか否かを判定する(ステップSf07)。ステップSf07の処理において、主制御用CPU100aは、電源断処理のステップSb02にて主制御用RAM100cの第1記憶領域に記憶させた割込状態情報を参照し、割込みが許可されていたか否かを判定する。   Thereafter, the main control CPU 100a refers to the interrupt state when the power is turned off (when the supplied voltage becomes equal to or lower than a predetermined voltage), and determines whether or not an interrupt is permitted (step Sf07). In the process of step Sf07, the main control CPU 100a refers to the interrupt status information stored in the first storage area of the main control RAM 100c in step Sb02 of the power-off process, and determines whether or not an interrupt is permitted. judge.

電源断時において割込みが許可されていた場合(ステップSf07:YES)、主制御用CPU100aは、所定のレジスタを復帰させる(ステップSf08)。その後、主制御用CPU100aは、割込みを許可する(ステップSf09)。そして、主制御用CPU100aは、電源復帰処理を終了し、電源断時の遊技進行処理へと復帰する。これにより、割込みが許可された状態で、遊技を行うことが可能な状態へ復帰できる。   When the interruption is permitted when the power is turned off (step Sf07: YES), the main control CPU 100a restores the predetermined register (step Sf08). Thereafter, the main control CPU 100a permits an interrupt (step Sf09). Then, the main control CPU 100a ends the power recovery process and returns to the game progress process when the power is turned off. Thereby, it is possible to return to a state in which a game can be performed in a state where interruption is permitted.

一方、電源断時において割込みが許可されていなかった(禁止されていた)場合(ステップSf07:NO)、主制御用CPU100aは、ステップSf08と同様に、所定のレジスタを復帰させる(ステップSf10)。そして、主制御用CPU100aは、電源復帰処理を終了し、電源断時の遊技進行処理へと復帰する。これにより、割込みが許可されていない状態で、遊技を行うことが可能な状態へ復帰できる。   On the other hand, if the interruption is not permitted (prohibited) when the power is turned off (step Sf07: NO), the main control CPU 100a restores the predetermined register in the same manner as in step Sf08 (step Sf10). Then, the main control CPU 100a ends the power recovery process and returns to the game progress process when the power is turned off. Thereby, it is possible to return to a state in which a game can be performed in a state where interruption is not permitted.

上述したように、主制御用CPU100aは、電源復帰処理において、第1記憶領域の記憶内容を処理結果に応じて書き換える。一方で、主制御用CPU100aは、電源復帰処理において、第2記憶領域の記憶内容を書き換えない。換言すれば、本実施形態の電源復帰処理は、主制御用RAM100cの記憶領域のうち第1記憶領域の記憶内容を処理結果に応じて書き換える一方で、第2記憶領域の記憶内容を書き換えない処理である。また、主制御用CPU100aは、電源復帰処理においては、主制御用RAM100cの第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方を参照できる。   As described above, the main control CPU 100a rewrites the storage content of the first storage area according to the processing result in the power recovery process. On the other hand, the main control CPU 100a does not rewrite the stored contents of the second storage area in the power recovery process. In other words, the power recovery process of the present embodiment is a process of rewriting the storage contents of the first storage area in the storage area of the main control RAM 100c according to the processing result, but not rewriting the storage contents of the second storage area. It is. Further, the main control CPU 100a can refer to both the storage content of the first storage area and the storage content of the second storage area of the main control RAM 100c in the power recovery process.

次に、第2記憶領域電源復帰処理について説明する。第2記憶領域電源復帰処理は、電源復帰処理のステップSf04において実行されることから、電源復帰処理において呼び出される処理(所謂、サブルーチン)として把握できる。本実施形態において、第2記憶領域電源復帰処理は、第2処理及び第2電断復帰処理に相当する。   Next, the second storage area power supply restoration process will be described. Since the second storage area power recovery process is executed in step Sf04 of the power recovery process, it can be grasped as a process (so-called subroutine) called in the power recovery process. In the present embodiment, the second storage area power recovery process corresponds to a second process and a second power interruption recovery process.

図11に示すように、第2記憶領域電源復帰処理において、主制御用CPU100aは、主制御用RAM100cの第1記憶領域のスタックポインタを参照し、該スタックポインタを特定可能な退避情報を、第2記憶領域のうち第1アドレスの記憶領域に記憶(退避)させる(ステップSg01)。続いて、主制御用CPU100aは、全レジスタを、第2記憶領域のスタックエリアに退避させる(ステップSg02)。   As shown in FIG. 11, in the second storage area power recovery process, the main control CPU 100a refers to the stack pointer of the first storage area of the main control RAM 100c, and saves the save information that can specify the stack pointer. Of the two storage areas, it is stored (saved) in the storage area of the first address (step Sg01). Subsequently, the main control CPU 100a saves all registers in the stack area of the second storage area (step Sg02).

その後、主制御用CPU100aは、主制御用RAM100cの第1記憶領域の記憶内容を参照し、電源断処理済フラグが設定されている(電源断処理済フラグあり)か否かを判定する(ステップSg03)。電源断処理済フラグが設定されている場合(ステップSg03:YES)、主制御用CPU100aは、主制御用RAM100cの第1記憶領域の記憶内容を参照し、スタックポインタが正常であるか否かを判定する(ステップSg04)。スタックポインタが正常であるか否かの判定は、スタックポインタに示される値がスタックエリアとして定めたアドレス範囲内(数値範囲内)にあるか否かにより判定できる。なお、ステップSg04の処理は、第2記憶領域のうち第1アドレスの記憶領域に記憶させた退避情報を参照して行うこともできる。スタックポインタが正常である場合(ステップSg04:YES)、主制御用CPU100aは、主制御用RAM100cの第1記憶領域の記憶内容を参照し、スロットマシン10の設定が正常であるか否かを判定する(ステップSg05)。   Thereafter, the main control CPU 100a refers to the stored contents of the first storage area of the main control RAM 100c, and determines whether or not the power-off processing flag has been set (the power-off processing flag is present) (step S1). Sg03). When the power-off processing completion flag is set (step Sg03: YES), the main control CPU 100a refers to the storage contents of the first storage area of the main control RAM 100c and determines whether or not the stack pointer is normal. Determination is made (step Sg04). Whether or not the stack pointer is normal can be determined based on whether or not the value indicated by the stack pointer is within the address range (numerical value range) defined as the stack area. Note that the process of step Sg04 can also be performed with reference to the save information stored in the storage area of the first address in the second storage area. When the stack pointer is normal (step Sg04: YES), the main control CPU 100a refers to the storage content of the first storage area of the main control RAM 100c and determines whether the setting of the slot machine 10 is normal. (Step Sg05).

スロットマシン10の設定が正常である場合(ステップSg05:YES)、主制御用CPU100aは、第2記憶領域のスタックエリアから全レジスタを復帰させる(ステップSg06)。続いて、主制御用CPU100aは、第2記憶領域のうち第1アドレスの記憶領域を参照し、退避させていた第1記憶領域のスタックポインタを復帰させる(ステップSg07)。なお、ステップSg07の処理は、ステップSg01の処理において記憶(退避)させた退避情報から特定可能な第1記憶領域のスタックポインタに基づいて、第2記憶領域電源復帰処理後に復帰する処理を特定するものであり、第1記憶領域の記憶内容を書き換えるものではない。その後、主制御用CPU100aは、第2記憶領域電源復帰処理を終了する。   When the setting of the slot machine 10 is normal (step Sg05: YES), the main control CPU 100a restores all registers from the stack area of the second storage area (step Sg06). Subsequently, the main control CPU 100a refers to the storage area of the first address in the second storage area, and restores the saved stack pointer of the first storage area (step Sg07). The process of step Sg07 specifies the process to be restored after the second storage area power supply restoration process based on the stack pointer of the first storage area that can be identified from the save information stored (saved) in the process of step Sg01. However, the stored contents of the first storage area are not rewritten. Thereafter, the main control CPU 100a ends the second storage area power supply recovery process.

一方、電源断処理済フラグが設定されていない場合(ステップSg03:NO)、スタックポインタが正常でない場合(ステップSg04:NO)、及びスロットマシン10の設定が正常でない場合(ステップSg05:NO)、主制御用CPU100aは、エラーストップさせる。なお、本実施形態において、電源断処理済フラグが設定されていない場合や、スタックポインタが正常でない場合、スロットマシン10の設定が正常でない場合とは、例えば、主制御用RAM100cの記憶内容が不正に書き換えられた場合などが考えられる。したがって、本実施形態の第2記憶領域電源復帰処理は、スロットマシン10の不正に関する処理として把握できる。   On the other hand, when the power-off processing completed flag is not set (step Sg03: NO), when the stack pointer is not normal (step Sg04: NO), and when the setting of the slot machine 10 is not normal (step Sg05: NO), The main control CPU 100a stops the error. In the present embodiment, when the power-off processing flag is not set, when the stack pointer is not normal, or when the setting of the slot machine 10 is not normal, for example, the stored contents of the main control RAM 100c are invalid. The case where it was rewritten to is considered. Therefore, the second storage area power supply restoration process of the present embodiment can be grasped as a process related to fraud of the slot machine 10.

上述したように、主制御用CPU100aは、第2記憶領域電源復帰処理において、第2記憶領域の記憶内容を処理結果に応じて書き換える。一方で、主制御用CPU100aは、第2記憶領域電源復帰処理において、第1記憶領域の記憶内容を書き換えない。換言すれば、本実施形態の第2記憶領域電源復帰処理は、主制御用RAM100cの記憶領域のうち第2記憶領域の記憶内容を処理結果に応じて書き換える一方で、第1記憶領域の記憶内容を書き換えない処理である。また、主制御用CPU100aは、第2記憶領域電源復帰処理においては、主制御用RAM100cの第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方を参照できる。   As described above, the main control CPU 100a rewrites the storage contents of the second storage area according to the processing result in the second storage area power supply recovery process. On the other hand, the main control CPU 100a does not rewrite the storage contents of the first storage area in the second storage area power recovery process. In other words, the second storage area power recovery process of the present embodiment rewrites the storage contents of the second storage area in the storage area of the main control RAM 100c according to the processing result, while storing the contents of the first storage area. Is a process that does not rewrite. The main control CPU 100a can refer to both the storage contents of the first storage area and the second storage area of the main control RAM 100c in the second storage area power supply recovery process.

次に、上記のように構成したスロットマシン10の作用について説明する。
図12に示すように、本実施形態の主制御用CPU100aが実行可能な処理は、第1記憶領域を書き換え対象とする第1種処理と、第2記憶領域を書き換え対象とする第2種処理と、に分類可能である。本実施形態において、第1種処理は第1処理に相当し、第2種処理は、第2処理に相当する。
Next, the operation of the slot machine 10 configured as described above will be described.
As shown in FIG. 12, the processing that can be executed by the main control CPU 100a according to the present embodiment includes a first type process for rewriting the first storage area and a second type process for rewriting the second storage area. And can be classified. In the present embodiment, the first type process corresponds to the first process, and the second type process corresponds to the second process.

本実施形態の第1種処理には、遊技進行処理と、電源断処理と、電源投入処理と、電源復帰処理と、が分類される。また、本実施形態の第2種処理には、第2記憶領域電源投入処理と、第2記憶領域チェック初期化処理と、第2記憶領域電源復帰処理と、が分類される。このように、第2種処理は、何れも不正に関する処理である。   The first type process of the present embodiment is classified into a game progress process, a power-off process, a power-on process, and a power return process. In addition, the second type storage process of the present embodiment is classified into a second storage area power-on process, a second storage area check initialization process, and a second storage area power return process. Thus, the second type process is a process related to fraud.

本実施形態の主制御用CPU100aは、第1種処理のような、主制御用RAM100cの第1記憶領域の記憶内容を書き換える処理においては、主制御用RAM100cの第2記憶領域の記憶内容を書き換えない。また、主制御用CPU100aは、第2種処理のような、主制御用RAM100cの第2記憶領域の記憶内容を書き換える処理においては、主制御用RAM100cの第1記憶領域の記憶内容を書き換えない。つまり、本実施形態の主制御用CPU100aは、実行する処理に応じて、記憶内容を書き換える記憶領域を異ならせている。   The main control CPU 100a of the present embodiment rewrites the storage contents of the second storage area of the main control RAM 100c in the process of rewriting the storage contents of the first storage area of the main control RAM 100c, such as the first type process. Absent. The main control CPU 100a does not rewrite the storage contents of the first storage area of the main control RAM 100c in the process of rewriting the storage contents of the second storage area of the main control RAM 100c, such as the second type process. That is, the main control CPU 100a according to the present embodiment changes the storage area in which the stored contents are rewritten according to the process to be executed.

換言すれば、第1記憶領域は、第1種処理にとっては、使用可能(書き換え可能)な使用領域として把握できる一方、第2種処理にとっては、使用不能(書き換え不能)な使用外領域(未使用領域)として把握できる。また、第2記憶領域は、第1種処理にとっては、使用不能(書き換え不能)な使用外領域(未使用領域)として把握できる一方、第2種処理にとっては、使用可能(書き換え可能)な使用領域として把握できる。即ち、第1種処理は、処理結果を示す情報を記憶させるアドレスが第1記憶領域にある処理である一方で、第2種処理は、処理結果を示す情報を格納するアドレスが第2記憶領域にある処理である。   In other words, the first storage area can be grasped as a usable (rewritable) usable area for the first type process, while an unusable (unrewritable) unusable area (unrepresented) for the second type process. Use area). Further, the second storage area can be grasped as an unusable area (unused area) that is unusable (unrewritable) for the first type process, while it can be used (rewritable) for the second type process. It can be grasped as an area. That is, the first type process is a process in which information indicating the processing result is stored in the first storage area, while the second type process has an address storing the information indicating the processing result in the second storage area. This is the process.

また、本実施形態の主制御用CPU100aは、第1種処理のなかでも電源断処理や電源投入処理、電源復帰処理において、第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方を参照できる。つまり、主制御用CPU100aは、第1記憶領域の記憶内容を書き換える処理においては、第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方に基づいて、第1記憶領域の記憶内容を書き換えることができる。また、主制御用CPU100aは、第2種処理のなかでも第2記憶領域電源復帰処理において、第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方を参照できる。つまり、主制御用CPU100aは、第2記憶領域の記憶内容を書き換える処理においては、第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方に基づいて、第2記憶領域の記憶内容を書き換えることができる。   Further, the main control CPU 100a of the present embodiment performs both the storage contents of the first storage area and the storage contents of the second storage area in the power-off process, the power-on process, and the power-return process among the first type processes. You can refer to it. That is, in the process of rewriting the storage contents of the first storage area, the main control CPU 100a determines the storage contents of the first storage area based on both the storage contents of the first storage area and the storage contents of the second storage area. Can be rewritten. In addition, the main control CPU 100a can refer to both the storage contents of the first storage area and the storage contents of the second storage area in the second storage area power recovery process among the second type processes. That is, in the process of rewriting the storage contents of the second storage area, the main control CPU 100a determines the storage contents of the second storage area based on both the storage contents of the first storage area and the storage contents of the second storage area. Can be rewritten.

また、本実施形態の主制御用CPU100aは、第2種処理のなかでも第2記憶領域電源復帰処理においては、第1記憶領域のスタックポインタを特定可能な退避情報や、全レジスタの記憶内容を第2記憶領域に記憶(退避)させる。そして、主制御用CPU100aは、これらの記憶内容を参照してスタックポインタや全レジスタを復帰させる。このため、主制御用CPU100aは、第2記憶領域の記憶領域を書き換える処理の実行中に、不正などによって第1記憶領域のスタックポインタや全レジスタの記憶内容が書き換えられることを抑制できる。   Also, the main control CPU 100a of the present embodiment uses the save information that can specify the stack pointer of the first storage area and the stored contents of all the registers in the second storage area power recovery process among the second type processes. Store (save) in the second storage area. Then, the main control CPU 100a refers to these stored contents and restores the stack pointer and all registers. For this reason, the main control CPU 100a can suppress rewriting of the stack pointer of the first storage area and the stored contents of all the registers due to fraud during execution of the process of rewriting the storage area of the second storage area.

また、本実施形態の主制御用CPU100aは、第1種処理においては、別の第1種処理や、第2種処理を呼び出して実行することができるように構成されている。一方で、主制御用CPU100aは、第2種処理においては、別の第2種処理や、第1種処理を呼び出して実行することができないように構成されている。   Further, the main control CPU 100a of the present embodiment is configured to call and execute another first type process or second type process in the first type process. On the other hand, the main control CPU 100a is configured not to be able to call and execute another second type process or the first type process in the second type process.

したがって、本実施形態によれば、以下に示す効果を得ることができる。
(1)主制御用CPU100aが行う各種の処理について、処理毎に主制御用RAM100cの記憶領域のうち書き換える記憶領域を異ならせることができるため、各種の処理と書き換え対象となる記憶領域とを対応付け、主制御用RAM100cの記憶領域の管理を容易にできる。
Therefore, according to the present embodiment, the following effects can be obtained.
(1) With respect to various processes performed by the main control CPU 100a, the storage area to be rewritten can be made different among the storage areas of the main control RAM 100c for each process, so that the various processes correspond to the storage area to be rewritten. In addition, the storage area of the main control RAM 100c can be easily managed.

(2)特に、第1種処理である電源復帰処理では、第1記憶領域の記憶内容を書き換える一方で第2記憶領域の記憶内容を書き換えない。また、電源復帰処理において呼び出される第2種処理である第2記憶領域電源復帰処理では、第2記憶領域の記憶内容を書き換える一方で第1記憶領域の記憶内容を書き換えない。このように、第1種処理と、該第1種処理により呼び出される第2種処理とで書き換え対象となる記憶領域を対応付けることで、主制御用RAM100cの記憶領域の管理をさらに容易にできる。   (2) In particular, in the power recovery process that is the first type process, the storage contents of the first storage area are rewritten while the storage contents of the second storage area are not rewritten. Also, in the second storage area power recovery process, which is the second type process called in the power recovery process, the storage contents of the second storage area are rewritten while the storage contents of the first storage area are not rewritten. As described above, by associating the storage area to be rewritten with the first type process and the second type process called by the first type process, it is possible to further easily manage the storage area of the main control RAM 100c.

(3)電源投入処理や電源復帰処理などの第1種処理においては、第2種処理において書き換えられる第2記憶領域の記憶内容を参照できることから、第2種処理と同様の処理を第1種処理で行う必要がなく、遊技機の処理を全体的に効率化できる。   (3) In the first type process such as the power-on process and the power return process, the storage contents of the second storage area rewritten in the second type process can be referred to. Therefore, the same process as the second type process is performed in the first type process. There is no need to perform the processing, and the processing of the gaming machine can be made more efficient overall.

(4)例えば、電源復帰処理においては、第2記憶領域電源復帰処理において書き換えられる第2記憶領域の記憶内容を参照できることから、第2記憶領域電源復帰処理と同様の処理を電源復帰処理で行う必要がなく、遊技機の処理を全体的に効率化できる。   (4) For example, in the power recovery process, the storage contents of the second storage area that are rewritten in the second storage area power recovery process can be referred to. Therefore, the same process as the second storage area power recovery process is performed in the power recovery process. There is no need, and the processing of gaming machines can be made more efficient overall.

(5)また、電源投入処理においては、第2記憶領域チェック初期化処理において書き換えられる第2記憶領域の記憶内容を参照できることから、第2記憶領域チェック初期化処理と同様の処理を電源投入処理で行う必要がなく、遊技機の処理を全体的に効率化できる。   (5) Further, in the power-on process, the storage contents of the second storage area that are rewritten in the second storage area check initialization process can be referred to, so the same process as the second storage area check initialization process is performed. There is no need to perform the above, and the processing of the gaming machine can be made more efficient overall.

(6)さらに、電源投入処理においては、第2記憶領域電源投入処理において書き換えられる第2記憶領域の記憶内容を参照できることから、第2記憶領域電源投入処理と同様の処理を電源投入処理で行う必要がなく、遊技機の処理を全体的に効率化できる。   (6) Further, in the power-on process, the storage contents of the second storage area that are rewritten in the second storage area power-on process can be referred to, and therefore the same process as the second storage area power-on process is performed in the power-on process. There is no need, and the processing of gaming machines can be made more efficient overall.

(7)具体的に、第2記憶領域電源投入処理では、前面扉12が開放されているか否かを判定し、扉開放フラグを第2記憶領域に設定する。そして、電源投入処理では、第2記憶領域電源投入処理で設定された第2記憶領域の扉開放フラグを参照できるため、前面扉12が開放されているか否かの処理を行う必要がない。このため、電源投入処理の処理内容を効率化できる。   (7) Specifically, in the second storage area power-on process, it is determined whether or not the front door 12 is opened, and a door opening flag is set in the second storage area. In the power-on process, since the door opening flag of the second storage area set in the second storage area power-on process can be referred to, there is no need to perform a process on whether or not the front door 12 is opened. For this reason, the processing content of the power-on process can be made efficient.

(8)また、第2記憶領域電源投入処理では、設定器26が操作されているか否かを判定し、設定器操作フラグを第2記憶領域に設定する。そして、電源投入処理では、第2記憶領域電源投入処理で設定された第2記憶領域の設定器操作フラグを参照できるため、設定器26が操作されているか否かの処理を行う必要がない。このため、電源投入処理の処理内容を効率化できる。   (8) In the second storage area power-on process, it is determined whether or not the setter 26 is operated, and a setter operation flag is set in the second storage area. In the power-on process, the setting device operation flag of the second storage area set in the second storage area power-on process can be referred to, and therefore it is not necessary to perform the process whether or not the setting device 26 is operated. For this reason, the processing content of the power-on process can be made efficient.

(9)第2記憶領域電源復帰処理のような第2種処理においては、第1種処理において書き換えられる第1記憶領域の記憶内容を参照できることから、第1種処理と同様の処理を第2種処理で行う必要がなく、遊技機の処理を全体的に効率化できる。   (9) In the second type process such as the second storage area power recovery process, the storage contents of the first storage area rewritten in the first type process can be referred to. There is no need to perform seed processing, and the processing of gaming machines can be made more efficient overall.

(10)例えば、第2記憶領域電源復帰処理においては、電源復帰処理において書き換えられる第1記憶領域の記憶内容を参照できることから、電源復帰処理と同様の処理を第2記憶領域電源復帰処理で行う必要がなく、遊技機の処理を全体的に効率化できる。   (10) For example, in the second storage area power recovery process, the storage contents of the first storage area that are rewritten in the power recovery process can be referred to, so the same process as the power recovery process is performed in the second storage area power recovery process. There is no need, and the processing of gaming machines can be made more efficient overall.

(11)電源復帰処理及び第2記憶領域電源復帰処理は、スロットマシン10の復電時に行われる処理であることから、不正が行われ易い重要な処理といえる。そして、本実施形態では、このような重要な処理である電源復帰処理及び第2記憶領域電源復帰処理について、書き換え対象となる記憶領域を互いに異ならせたため、不要な記憶内容の混入を抑制し、セキュリティ性を向上できる。   (11) The power recovery process and the second storage area power recovery process are processes that are performed when the slot machine 10 recovers. In the present embodiment, since the storage areas to be rewritten are different from each other for the power restoration process and the second storage area power restoration process, which are such important processes, the mixing of unnecessary storage contents is suppressed, Security can be improved.

(12)第2記憶領域電源復帰処理では、第1記憶領域のスタックポインタを特定可能な退避情報や、全レジスタの記憶内容を第2記憶領域に退避させるため、不正などによって第1記憶領域のスタックポインタや全レジスタの記憶内容が書き換えられることを抑制できる。したがって、不要な記憶内容の混入を抑制し、セキュリティ性をさらに向上できる。   (12) In the second storage area power recovery process, the save information that can specify the stack pointer of the first storage area and the storage contents of all registers are saved to the second storage area. It is possible to prevent the stored contents of the stack pointer and all registers from being rewritten. Therefore, it is possible to suppress the mixing of unnecessary stored contents and further improve the security.

(13)スロットマシン10の不正に関する処理である第2記憶領域電源復帰処理において、第2記憶領域の記憶内容を書き換えることとした。換言すれば、第2記憶領域には、不正に関する情報が記憶されるようにした。これによれば、各記憶領域に記憶される内容について規則性を持たせることができるため、主制御用RAM100cの記憶領域の管理をさらに容易にできる。   (13) In the second storage area power supply restoration process, which is a process related to fraud of the slot machine 10, the storage contents of the second storage area are rewritten. In other words, information related to fraud is stored in the second storage area. According to this, since the content stored in each storage area can be given regularity, the management of the storage area of the main control RAM 100c can be further facilitated.

(14)電源投入処理及び第2記憶領域チェック初期化処理は、スロットマシン10の電源が投入されたときに行われる処理であることから、不正が行われ易い重要な処理であるといえる。そして、本実施形態では、このような重要な処理である電源投入処理及び第2記憶領域チェック初期化処理について、書き換え対象となる記憶領域を互いに異ならせたため、不要な記憶内容の混入を抑制し、セキュリティ性を向上できる。   (14) The power-on process and the second storage area check initialization process are processes that are performed when the power of the slot machine 10 is turned on. In this embodiment, since the storage areas to be rewritten are different from each other for the power-on process and the second storage area check initialization process, which are such important processes, mixing of unnecessary storage contents is suppressed. , Security can be improved.

(15)電源投入処理は、第1記憶領域の記憶内容を初期化することを含み、第2記憶領域チェック初期化処理は、第2記憶領域の記憶内容を初期化することを含む。これにより、各処理と、記憶内容の初期化の対象となる記憶領域とを対応付けることができ、主制御用RAM100cの記憶領域の管理をさらに容易にできる。   (15) The power-on process includes initializing the storage contents of the first storage area, and the second storage area check initialization process includes initializing the storage contents of the second storage area. As a result, each process can be associated with a storage area to be initialized, and management of the storage area of the main control RAM 100c can be further facilitated.

(16)電源投入処理は、第1記憶領域の記憶内容が正常であるか否かをチェックすることを含み、第2記憶領域チェック初期化処理は、第2記憶領域の記憶内容が正常であるか否かをチェックすることを含む。これにより、各処理と、記憶内容のチェックの対象となる記憶領域とを対応付けることができ、主制御用RAM100cの記憶領域の管理をさらに容易にできる。   (16) The power-on process includes checking whether or not the storage contents of the first storage area are normal, and the second storage area check initialization process is that the storage contents of the second storage area are normal Including checking whether or not. As a result, each process can be associated with a storage area to be checked for stored contents, and management of the storage area of the main control RAM 100c can be further facilitated.

(17)第2記憶領域電源投入処理は、前面扉12が開放されているか否かを判定することを含む処理であることから、前面扉12を開放して行う不正に関する重要な処理であるといえる。そして、本実施形態では、このような重要な処理である第2記憶領域電源投入処理について、電源投入処理のサブルーチンとして行うとともに、電源投入処理にて書き換えられる第1記憶領域ではなく、該第1記憶領域とは異なる第2記憶領域の記憶内容を書き換える。このため、主制御用RAM100cの記憶領域の管理をさらに容易にできるとともに、不要な記憶内容の混入を抑制し、セキュリティ性を向上できる。   (17) The second storage area power-on process is a process including determining whether or not the front door 12 is opened, and is therefore an important process regarding fraud performed by opening the front door 12. I can say that. In this embodiment, the second storage area power-on process, which is such an important process, is performed as a subroutine of the power-on process, and is not the first storage area rewritten by the power-on process, but the first storage area. The storage contents of the second storage area different from the storage area are rewritten. For this reason, management of the storage area of the main control RAM 100c can be further facilitated, and mixing of unnecessary storage contents can be suppressed to improve security.

(18)また、第2記憶領域電源投入処理は、スロットマシン10の設定を変更可能な設定器26が操作されているか否かを判定することを含む処理であることから、不正が行われ易い設定器26に関する重要な処理であるといえる。そして、本実施形態では、このような重要な処理である第2記憶領域電源投入処理について、電源投入処理のサブルーチンとして行うとともに、電源投入処理にて書き換えられる第1記憶領域ではなく、該第1記憶領域とは異なる第2記憶領域の記憶内容を書き換える。このため、主制御用RAM100cの記憶領域の管理をさらに容易にできるとともに、不要な記憶内容の混入を抑制し、セキュリティ性を向上できる。   (18) Further, since the second storage area power-on process is a process including determining whether or not the setting device 26 capable of changing the setting of the slot machine 10 is operated, fraud is likely to be performed. It can be said that this is an important process related to the setting device 26. In this embodiment, the second storage area power-on process, which is such an important process, is performed as a subroutine of the power-on process, and is not the first storage area rewritten by the power-on process, but the first storage area. The storage contents of the second storage area different from the storage area are rewritten. For this reason, management of the storage area of the main control RAM 100c can be further facilitated, and mixing of unnecessary storage contents can be suppressed to improve security.

なお、上記実施形態は以下のように変更してもよい。
・主制御用RAM100cの記憶領域において、第1記憶領域及び第2記憶領域をどのように定義するかは、適宜変更してもよい。例えば、第2記憶領域を、第1記憶領域よりも前のアドレスに割り当てられた記憶領域としてもよい。また、各記憶領域において、未使用エリアを設定しなくてもよい。即ち、主制御用CPU100aが行う処理の種別ごとに、書き換えられる記憶領域と書き換えられない記憶領域が異ならされていればよい。
In addition, you may change the said embodiment as follows.
In the storage area of the main control RAM 100c, how to define the first storage area and the second storage area may be changed as appropriate. For example, the second storage area may be a storage area assigned to an address before the first storage area. Moreover, it is not necessary to set an unused area in each storage area. In other words, the rewriteable storage area and the non-rewritable storage area need only be different for each type of processing performed by the main control CPU 100a.

・第1記憶領域及び第2記憶領域は、同一の基板に設けられた同一のRAM内の記憶領域でなくてもよく、例えば、同一の基板に設けられた別のRAM内の記憶領域であってもよいし、別の基板に設けられた別のRAM内の記憶領域であってもよい。この場合、複数のRAMの両方が記憶部に相当する。   The first storage area and the second storage area may not be storage areas in the same RAM provided on the same substrate, for example, storage areas in another RAM provided on the same substrate. Alternatively, it may be a storage area in another RAM provided on another substrate. In this case, both of the plurality of RAMs correspond to the storage unit.

・第1記憶領域に記憶させる記憶内容と、第2記憶領域に記憶させる記憶内容は、適宜変更してもよい。例えば、第1記憶領域に不正に関する情報を記憶させてもよいし、第2記憶領域に遊技の進行に関する情報を記憶させてもよい。ただし、主制御用RAM100cの記憶領域の管理を容易にするという観点では、情報を種類別に分類し、該情報の種類に応じて記憶させる記憶領域を異ならせるとよい。なお、情報の種類には、上記実施形態に記載した、遊技の進行に関する情報や不正に関する情報の他にも、リールの制御に関する情報や、演出に関する情報などを含む。   The storage content stored in the first storage area and the storage content stored in the second storage area may be changed as appropriate. For example, information regarding fraud may be stored in the first storage area, or information regarding the progress of the game may be stored in the second storage area. However, from the viewpoint of facilitating the management of the storage area of the main control RAM 100c, it is preferable to classify information by type and to store different storage areas according to the type of information. Note that the types of information include information related to reel control, information related to effects, and the like in addition to information related to game progress and information related to fraud described in the above embodiment.

・主制御用CPU100aは、第1種処理及び第2種処理に加えて、主制御用RAM100cの第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方を書き換えない第3種処理を行ってもよい。また、このような第3種処理において、第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方を参照できるようにしてもよい。この場合、第3種処理において、第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方を参照できるため、記憶部の管理を容易にしつつも、さらに遊技機の処理を全体的に効率化できる。また、主制御用CPU100aは、第3種処理において、第1記憶領域の記憶内容及び第2記憶領域の記憶内容のうち何れか一方のみを参照してもよいし、何れも参照しないようにしてもよい。なお、第3種処理としては、例えば、第1記憶領域の記憶内容及び第2記憶領域の記憶内容のうち少なくとも一方の記憶内容を参照し、参照した結果に基づいて異なるサブルーチンを呼び出して実行させる処理などが想定できる。また、第3種処理としては、例えば、第1記憶領域の記憶内容及び第2記憶領域の記憶内容の何れも参照せず、当該第3種処理に予め定められた順序で所定のサブルーチンを呼び出して実行させる処理などが想定できる。   In addition to the first type process and the second type process, the main control CPU 100a performs the third type process that does not rewrite both the storage contents of the first storage area and the storage contents of the second storage area of the main control RAM 100c. You may go. In such a third type process, both the storage contents of the first storage area and the storage contents of the second storage area may be referred to. In this case, in the third type process, since both the storage contents of the first storage area and the storage contents of the second storage area can be referred to, the management of the storage unit is facilitated, and further the processing of the gaming machine is totally performed. Increase efficiency. Further, the main control CPU 100a may refer to only one of the storage contents of the first storage area and the storage contents of the second storage area in the third type process, or may not refer to any of them. Also good. As the third type process, for example, at least one of the storage contents of the first storage area and the storage contents of the second storage area is referred to, and a different subroutine is called and executed based on the referred result. Processing can be assumed. In addition, as the third type process, for example, a predetermined subroutine is called in a predetermined order for the third type process without referring to the stored contents of the first storage area and the stored contents of the second storage area. Can be executed.

・上記実施形態において、主制御用CPU100aは、第1記憶領域の記憶内容及び第2記憶領域の記憶内容の何れかを書き換える処理のうち一部の処理において、該処理で書き換える記憶領域とは異なる記憶領域の記憶内容を参照できるようにしたが、これに限らない。例えば、第1記憶領域の記憶内容及び第2記憶領域の記憶内容の何れかを書き換える処理のうち全ての処理において、該処理で書き換える記憶領域とは異なる記憶領域の記憶内容を参照できるようにしてもよい。これによれば、所定の記憶領域の記憶内容を書き換える処理と同様の処理を、所定の記憶領域とは異なる記憶領域を書き換える処理において行う必要がなく、スロットマシン10の処理を全体的に効率化できる。   In the above embodiment, the main control CPU 100a is different from the storage area to be rewritten in part of the process of rewriting either the storage content of the first storage area or the storage content of the second storage area. Although the storage contents of the storage area can be referred to, the present invention is not limited to this. For example, in all processes of rewriting one of the storage contents of the first storage area and the storage contents of the second storage area, the storage contents of a storage area different from the storage area to be rewritten by the process can be referred to Also good. According to this, it is not necessary to perform the same process as the process of rewriting the storage contents of the predetermined storage area in the process of rewriting the storage area different from the predetermined storage area, and the processing of the slot machine 10 is improved overall. it can.

・また、第1記憶領域の記憶内容及び第2記憶領域の記憶内容の何れかを書き換える処理のうち全ての処理において、該処理で書き換える記憶領域とは異なる記憶領域の記憶内容を参照できないようにしてもよい。また、第1記憶領域の記憶内容を書き換える処理において、第2記憶領域の記憶内容を参照できる一方で、第2記憶領域の記憶内容を書き換える処理において、第1記憶領域の記憶内容を参照できないようにしてもよい。また、第2記憶領域の記憶内容を書き換える処理において、第1記憶領域の記憶内容を参照できる一方で、第1記憶領域の記憶内容を書き換える処理において、第2記憶領域の記憶内容を参照できないようにしてもよい。   In addition, in all of the processes for rewriting one of the storage contents of the first storage area and the storage contents of the second storage area, the storage contents of a storage area different from the storage area to be rewritten by the process cannot be referred to. May be. In addition, in the process of rewriting the storage contents of the first storage area, the storage contents of the second storage area can be referred to, while in the process of rewriting the storage contents of the second storage area, the storage contents of the first storage area cannot be referred to. It may be. In addition, in the process of rewriting the storage contents of the second storage area, the storage contents of the first storage area can be referred to, while in the process of rewriting the storage contents of the first storage area, the storage contents of the second storage area cannot be referred to. It may be.

・具体的に、第2記憶領域チェック初期化処理(第2種処理)において、第1記憶領域の記憶内容を参照できるようにしてもよい。また、第2記憶領域電源投入処理(第2種処理)において、第1記憶領域の記憶内容を参照できるようにしてもよい。また、遊技の進行に関する遊技進行処理(第1種処理)において、第2記憶領域の記憶内容を参照できるようにしてもよい。   Specifically, the storage content of the first storage area may be referred to in the second storage area check initialization process (second type process). In the second storage area power-on process (second type process), the storage contents of the first storage area may be referred to. Further, in the game progress process (first type process) related to the progress of the game, the stored contents of the second storage area may be referred to.

・主制御用CPU100aが行う処理には、第1記憶領域の記憶内容及び第2記憶領域の記憶内容の両方を書き換える処理が含まれていてもよい。即ち、主制御用CPU100aが行う処理には、少なくとも第1記憶領域の記憶内容を書き換える一方で第2記憶領域の記憶内容を書き換えない処理と、第2記憶領域の記憶内容を書き換える一方で第2記憶領域の記憶内容を書き換えない処理と、が含まれていればよく、その他の処理をさらに含んでいてもよい。   The process performed by the main control CPU 100a may include a process of rewriting both the storage contents of the first storage area and the storage contents of the second storage area. That is, the processing performed by the main control CPU 100a includes at least rewriting the storage contents of the first storage area while not rewriting the storage contents of the second storage area, and rewriting the storage contents of the second storage area. It is only necessary to include a process that does not rewrite the storage contents of the storage area, and it may further include other processes.

・主制御用CPU100aは、第2記憶領域電源復帰処理において、第1記憶領域の記憶内容が書き換えられないように、第1記憶領域の記憶内容を第2記憶領域に退避させたが、他の記憶領域に退避させてもよいし、記憶内容を退避させなくてもよい。また、第2記憶領域の記憶内容を書き換える全ての処理において、第1記憶領域の記憶内容が書き換えられないように、第1記憶領域の記憶内容を退避させてもよい。これによれば、第1記憶領域の記憶内容を書き換えない処理を行っているにもかかわらず、不正などにより意図せず第1記憶領域の記憶内容が書き換えられることを抑制できる。また、主制御用CPU100aは、第1記憶領域の記憶内容を書き換える処理において、第2記憶領域の記憶内容が書き換えられないように、第2記憶領域の記憶内容を退避させてもよい。   The main control CPU 100a saves the storage contents of the first storage area to the second storage area so that the storage contents of the first storage area are not rewritten in the second storage area power recovery process. The contents may be saved in the storage area, or the stored contents may not be saved. Further, the storage contents of the first storage area may be saved so that the storage contents of the first storage area are not rewritten in all the processes for rewriting the storage contents of the second storage area. According to this, it is possible to prevent the storage contents of the first storage area from being rewritten unintentionally due to fraud, etc., even though the process of not rewriting the storage contents of the first storage area is performed. Further, the main control CPU 100a may save the storage contents of the second storage area so that the storage contents of the second storage area are not rewritten in the process of rewriting the storage contents of the first storage area.

・主制御用CPU100aが行う各種の処理における処理手順は、適宜変更してもよい。即ち、主制御用CPU100aが行う処理には、主制御用RAM100cの第1記憶領域の記憶内容を書き換える一方で第2記憶領域の記憶内容を書き換えない処理と、第2記憶領域の記憶内容を書き換える一方で第1記憶領域の記憶内容を書き換えない処理と、が少なくとも含まれていればよい。   The processing procedures in various processes performed by the main control CPU 100a may be changed as appropriate. That is, in the processing performed by the main control CPU 100a, the storage content of the first storage area of the main control RAM 100c is rewritten while the storage content of the second storage area is not rewritten, and the storage content of the second storage area is rewritten. On the other hand, it is only necessary to include at least processing that does not rewrite the storage contents of the first storage area.

・例えば、電源投入処理のステップSc10で実行される第2記憶領域チェック初期化処理のステップSe01の処理において、第2記憶領域の記憶内容が正常でないと判定された場合には、第2記憶領域にエラーフラグを設定した後、第2記憶領域チェック初期化処理を終了するようにしてもよい。この場合、第2記憶領域チェック初期化処理の終了後に、電源投入処理に復帰した際、エラーフラグが設定されているか否かを判定し、エラーフラグが設定されている場合にはエラーストップさせる一方で、エラーフラグが設定されていない場合には次の処理(ステップSc11)に進むようにしてもよい。   For example, if it is determined in step Se01 of the second storage area check initialization process executed in step Sc10 of the power-on process that the storage content of the second storage area is not normal, the second storage area After the error flag is set, the second storage area check initialization process may be terminated. In this case, after the second storage area check initialization process is finished, when returning to the power-on process, it is determined whether or not the error flag is set. If the error flag is set, the error is stopped. If the error flag is not set, the process may proceed to the next process (step Sc11).

・また、電源復帰処理のステップSf04で実行される第2記憶領域電源復帰処理のステップSg03〜Sg05の処理において、否定判定された場合には、第2記憶領域にエラーフラグを設定した後、第2記憶領域電源復帰処理を終了するようにしてもよい。この場合、第2記憶領域電源復帰処理の終了後に、電源復帰処理に復帰した際、エラーフラグが設定されているか否かを判定し、エラーフラグが設定されている場合にはエラーストップさせる一方で、エラーフラグが設定されていない場合には次の処理(ステップSf05)に進むようにしてもよい。   In addition, when a negative determination is made in the processing of steps Sg03 to Sg05 of the second storage area power recovery process executed in step Sf04 of the power recovery process, an error flag is set in the second storage area, and then 2 The storage area power supply restoration process may be terminated. In this case, after the second storage area power restoration process is completed, when the process returns to the power restoration process, it is determined whether or not an error flag is set. If the error flag is set, the error is stopped. If the error flag is not set, the process may proceed to the next process (step Sf05).

・また、電源復帰処理のステップSf04で実行される第2記憶領域電源復帰処理における全レジスタを復帰させる処理(ステップSg06)及び第1記憶領域のスタックポインタを復帰させる処理(ステップSg07)のうち何れか一方又は両方の処理を、電源復帰処理において実行するようにしてもよい。即ち、第2記憶領域電源復帰処理においては、ステップSg05で肯定判定された場合に第2記憶領域電源復帰処理を終了し、その後の電源復帰処理において、全レジスタを復帰させる処理及び第1記憶領域のスタックポインタを復帰させる処理を実行するようにしてもよい。   Any of the process for restoring all registers in the second storage area power supply restoration process executed in step Sf04 of the power restoration process (step Sg06) and the process for restoring the stack pointer of the first storage area (step Sg07) Either or both of the processes may be executed in the power recovery process. That is, in the second storage area power recovery process, if the determination in step Sg05 is affirmative, the second storage area power recovery process is terminated, and in the subsequent power recovery process, all registers are recovered and the first storage area A process for restoring the stack pointer may be executed.

・主制御用CPU100aは、第2種処理において、別の第2種処理や、第1種処理を呼び出して実行することができるように構成されていてもよい。
・第1種処理及び第2種処理に分類される処理の数は、適宜変更してもよい。例えば、第1種処理に分類される処理の数を1つとし、第2種処理に分類される処理の数を複数としてもよい。また、第1種処理に分類される処理の数を複数とし、第2種処理に分類される処理の数を1つとしてもよい。また、第1種処理に分類される処理の数と第2種処理に分類される処理の数を、何れも1つとしてもよい。また、第1種処理に分類される処理の数と第2種処理に分類される処理の数を、何れも複数としてもよく、この場合、第1種処理に分類される処理の数と第2種処理に分類される処理の数を異ならせてもよい。
The main control CPU 100a may be configured to call and execute another second type process or the first type process in the second type process.
-You may change suitably the number of processes classified into a 1st type process and a 2nd type process. For example, the number of processes classified as the first type process may be one, and the number of processes classified as the second type process may be plural. Further, the number of processes classified as the first type process may be plural, and the number of processes classified as the second type process may be one. Further, both the number of processes classified as the first type process and the number of processes classified as the second type process may be one. In addition, the number of processes classified as the first type process and the number of processes classified as the second type process may both be plural. In this case, the number of processes classified as the first type process and the The number of processes classified into two types of processes may be different.

・第1種処理や第2種処理として、割込処理を採用してもよい。また、第1種処理として割込処理を採用し、第2種処理として、割込処理により呼び出される処理(割込処理のサブルーチン)を採用してもよい。   An interrupt process may be adopted as the first type process or the second type process. Further, an interrupt process may be employed as the first type process, and a process called by the interrupt process (interrupt process subroutine) may be employed as the second type process.

・主制御用ROM100bは、主制御用CPU100aが行う各種の処理のうち、主制御用RAM100cの第1記憶領域を書き換える処理については、特定の記憶領域にて記憶保持する一方で、第2記憶領域を書き換える処理については、特定の記憶領域とは異なる非特定の記憶領域にて記憶保持するように構成されていてもよい。換言すれば、主制御用RAM100cの記憶領域のうち、第1記憶領域は、主制御用ROM100bの特定の記憶領域に記憶保持されている処理によって書き換えられる記憶領域であり、第2記憶領域は、主制御用ROM100bの非特定の記憶領域に記憶保持されている処理によって書き換えられる記憶領域として把握できる。   The main control ROM 100b stores and holds the specific storage area in the second storage area for the process of rewriting the first storage area of the main control RAM 100c among the various processes performed by the main control CPU 100a. As for the process of rewriting, it may be configured to store and hold in a non-specific storage area different from the specific storage area. In other words, of the storage areas of the main control RAM 100c, the first storage area is a storage area that is rewritten by processing stored and held in a specific storage area of the main control ROM 100b, and the second storage area is It can be grasped as a storage area that is rewritten by processing stored and held in a non-specific storage area of the main control ROM 100b.

・また、主制御用ROM100bの特定の記憶領域に記憶されている処理では、特定の記憶領域に記憶されている別の処理や非特定の記憶領域に記憶されている処理を呼び出して実行させることができるようにしてもよい。また、主制御用ROM100bの非特定の記憶領域に記憶されている処理では、特定の記憶領域に記憶されている処理を呼び出して実行させることができないようにしてもよい。また、主制御用ROM100bの非特定の記憶領域に記憶されている処理では、非特定の記憶領域に記憶されている別の処理を呼び出して実行させることができるようにしてもよいし、できないようにしてもよい。   In addition, in the process stored in the specific storage area of the main control ROM 100b, another process stored in the specific storage area or the process stored in the non-specific storage area is called and executed. You may be able to. Further, in the process stored in the non-specific storage area of the main control ROM 100b, the process stored in the specific storage area may not be called and executed. Further, in the process stored in the non-specific storage area of the main control ROM 100b, another process stored in the non-specific storage area may be called and executed. It may be.

・主制御用ROM100bと主制御用RAM100cとは、異なるメモリであってもよいし、同一のメモリにおける別の記憶領域であってもよい。同様に、副制御用ROM200bと副制御用RAM200cとは、異なるメモリであってもよいし、同一のメモリにおける別の記憶領域であってもよい。   The main control ROM 100b and the main control RAM 100c may be different memories or may be different storage areas in the same memory. Similarly, the sub control ROM 200b and the sub control RAM 200c may be different memories or may be different storage areas in the same memory.

・電源基板300のバックアップ用電源300cは、主基板100の主制御用RAM100cに電源を供給可能である一方で、副基板200の副制御用RAM200cには電源を供給不可能に構成されていてもよい。即ち、副制御用RAM200cは、電源遮断時において記憶内容を保持できないように構成されていてもよい。   The backup power supply 300c of the power supply board 300 can supply power to the main control RAM 100c of the main board 100, while it cannot be supplied to the sub control RAM 200c of the sub board 200. Good. That is, the sub control RAM 200c may be configured so that the stored contents cannot be retained when the power is shut off.

・副基板200の機能を複数の基板に分割してもよい。例えば、演出表示装置15を専門に制御する表示基板、スピーカ14を専門に制御する音声基板、及び装飾ランプ13を専門に制御するランプ基板を設けてもよく、これらの基板群を統括的に制御する統括基板をさらに設けてもよい。   -The function of the sub-board 200 may be divided into a plurality of boards. For example, a display board that specially controls the effect display device 15, an audio board that specially controls the speaker 14, and a lamp board that specially controls the decorative lamp 13 may be provided. An integrated board may be further provided.

・スロットマシン10は、設定器26に加えて又は代えて、主制御用RAM100cの記憶内容を消去(クリア)するためのRAMクリアスイッチを備えていてもよい。この場合、主制御用CPU100aは、図7に示す電源投入処理において、RAMクリアスイッチが操作されている場合、ステップSc09,Sc10の処理を実行するとよい。   The slot machine 10 may include a RAM clear switch for deleting (clearing) the stored contents of the main control RAM 100c in addition to or instead of the setting device 26. In this case, the main control CPU 100a may execute the processes of steps Sc09 and Sc10 when the RAM clear switch is operated in the power-on process shown in FIG.

・メダルとは異なる形状の遊技媒体を用いる遊技機に具体化してもよい。例えば、遊技媒体として遊技球(パチンコ球)を用いるスロットマシン(所謂パロット)や、パチンコ遊技機として具体化してもよい。パチンコ遊技機に具体化する場合、例えば、操作が可能な操作部として、設定器26に代えて、主制御用RAM100cの記憶内容を消去(クリア)するためのRAMクリアスイッチを備えるとよい。このとき、RAMクリアスイッチは、設定器26と同様に、前面扉(機体)の裏側に配設されるとよい。そして、主制御用CPU100aは、RAMクリアスイッチの操作状態に関する処理において、第2記憶領域の記憶内容を書き換える一方で、第1記憶領域の記憶内容を書き換えないようにしてもよい。なお、RAMクリアスイッチは、主制御用RAM100cの記憶内容を書き換える操作が可能な操作部であることから不正の対象となり易い。このため、RAMクリアスイッチの操作状態に関する処理は、不正に関する重要な処理として把握できる。また、RAMクリアスイッチの操作状態に関する処理において書き換えられる情報は、不正に関する情報として把握できる。   -You may actualize to the game machine using the game medium of a shape different from a medal. For example, the present invention may be embodied as a slot machine (so-called parrot) using a game ball (pachinko ball) as a game medium or a pachinko game machine. When embodied in a pachinko gaming machine, for example, a RAM clear switch for erasing (clearing) the stored contents of the main control RAM 100c may be provided as an operable operation unit instead of the setting device 26. At this time, the RAM clear switch may be disposed on the back side of the front door (airframe), like the setting device 26. Then, the main control CPU 100a may rewrite the storage contents of the second storage area while not rewriting the storage contents of the first storage area in the process related to the operation state of the RAM clear switch. Since the RAM clear switch is an operation unit capable of rewriting the stored contents of the main control RAM 100c, the RAM clear switch is likely to be an unauthorized target. For this reason, the process regarding the operation state of the RAM clear switch can be grasped as an important process regarding fraud. Information rewritten in the process related to the operation state of the RAM clear switch can be grasped as information related to fraud.

以下、上記実施形態及び別例から把握できる技術的思想を追記する。
(イ)前記処理部が行う処理には、前記第1領域の記憶内容及び前記第2領域の記憶内容を書き換えない処理があり、当該処理においては、前記第1領域の記憶内容及び前記第2領域の記憶内容を参照できる。
In the following, technical ideas that can be understood from the above embodiment and other examples will be added.
(A) The process performed by the processing unit includes a process that does not rewrite the storage contents of the first area and the storage contents of the second area. In this process, the storage contents of the first area and the second area The stored contents of the area can be referenced.

(ロ)処理を行う処理部と、前記処理部の処理結果を記憶する記憶部と、を備え、前記処理部が行う処理には、前記記憶部の記憶領域のうち第1領域の記憶内容を処理結果に応じて書き換える一方で、前記記憶部の記憶領域のうち第2領域の記憶内容を書き換えない第1処理と、前記第2領域の記憶内容を処理結果に応じて書き換える一方で、前記第1領域の記憶内容を書き換えない第2処理と、が少なくともあり、前記第2処理は、前記第1処理において呼び出される処理であって、前記第2領域の記憶内容のうち少なくとも一部の記憶内容を初期化することを含む処理であることを特徴とする遊技機。   (B) a processing unit that performs processing, and a storage unit that stores a processing result of the processing unit, and the processing performed by the processing unit includes the storage contents of the first area among the storage areas of the storage unit. While rewriting according to the processing result, the first processing that does not rewrite the storage content of the second area of the storage area of the storage unit, and while rewriting the storage content of the second area according to the processing result, There is at least a second process that does not rewrite the stored contents of one area, and the second process is a process called in the first process, and at least a part of the stored contents of the second area A game machine characterized by being a process including initializing a game machine.

(ハ)処理を行う処理部と、前記処理部の処理結果を記憶する記憶部と、を備え、前記処理部が行う処理には、前記記憶部の記憶領域のうち第1領域の記憶内容を処理結果に応じて書き換える一方で、前記記憶部の記憶領域のうち第2領域の記憶内容を書き換えない第1処理と、前記第2領域の記憶内容を処理結果に応じて書き換える一方で、前記第1領域の記憶内容を書き換えない第2処理と、が少なくともあり、前記第2処理は、前記第1処理において呼び出される処理であって、前記第2領域の記憶内容のうち少なくとも一部の記憶内容について、その記憶内容が正常であるか否かをチェックすることを含む処理であることを特徴とする遊技機。   (C) a processing unit that performs processing, and a storage unit that stores a processing result of the processing unit, and the processing performed by the processing unit includes the storage contents of the first area among the storage areas of the storage unit. While rewriting according to the processing result, the first processing that does not rewrite the storage content of the second area of the storage area of the storage unit, and while rewriting the storage content of the second area according to the processing result, There is at least a second process that does not rewrite the stored contents of one area, and the second process is a process called in the first process, and at least a part of the stored contents of the second area A game machine characterized by being a process including checking whether the stored content is normal or not.

11…本体キャビネット(機体)、12…前面扉(扉)、26…設定器(操作部)、100…主基板、100a…主制御用CPU(処理部)、100c…主制御用RAM(記憶部)。   DESCRIPTION OF SYMBOLS 11 ... Main body cabinet (machine body), 12 ... Front door (door), 26 ... Setting device (operation part), 100 ... Main board, 100a ... Main control CPU (processing part), 100c ... Main control RAM (storage part) ).

Claims (1)

処理を行う処理部と、
前記処理部の処理結果を記憶する記憶部と、を備え、
前記処理部が行う処理には、
所定の情報を復帰させるための第1電断復帰処理と、
前記第1電断復帰処理において呼び出される第2電断復帰処理と、が少なくともあり、
前記第1電断復帰処理は、前記記憶部の記憶領域のうち第1領域の記憶内容を処理結果に応じて書き換える一方で、前記記憶部の記憶領域のうち第2領域の記憶内容を書き換えない処理であり、
前記第2電断復帰処理は、前記第2領域の記憶内容を処理結果に応じて書き換える一方で、前記第1領域の記憶内容を書き換えない処理であり、
前記第2電断復帰処理においては、前記第1領域に記憶されている情報を特定可能な退避情報を前記第2領域に記憶させ、
前記第1領域には、遊技の進行に関する情報が記憶される領域があり、
前記第2領域には、不正に関する情報が記憶される領域があり、
前記記憶部において割り当てられるアドレスにおいて、前記遊技の進行に関する情報が記憶される領域と、前記不正に関する情報が記憶される領域との間には情報が記憶されない未使用領域があることを特徴とする遊技機。
A processing unit for processing;
A storage unit for storing the processing result of the processing unit,
The processing performed by the processing unit includes
A first power interruption recovery process for recovering predetermined information;
There is at least a second power interruption recovery process called in the first power interruption recovery process,
The first power interruption recovery process rewrites the storage contents of the first area in the storage area of the storage unit according to the processing result, but does not rewrite the storage contents of the second area of the storage area of the storage unit. Processing,
The second power interruption recovery process is a process of rewriting the storage content of the second area according to the processing result, but not rewriting the storage content of the first area,
In the second power interruption recovery process, the save information that can specify the information stored in the first area is stored in the second area,
In the first area, there is an area for storing information related to the progress of the game,
In the second area, there is an area for storing information on fraud,
In the address allocated in the storage unit, there is an unused area where no information is stored between an area where information related to the progress of the game is stored and an area where information related to the fraud is stored. Gaming machine.
JP2019146193A 2019-08-08 2019-08-08 Amusement machine Active JP6727592B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019146193A JP6727592B2 (en) 2019-08-08 2019-08-08 Amusement machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019146193A JP6727592B2 (en) 2019-08-08 2019-08-08 Amusement machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016062731A Division JP6571574B2 (en) 2016-03-25 2016-03-25 Game machine

Publications (2)

Publication Number Publication Date
JP2019209162A true JP2019209162A (en) 2019-12-12
JP6727592B2 JP6727592B2 (en) 2020-07-22

Family

ID=68844412

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019146193A Active JP6727592B2 (en) 2019-08-08 2019-08-08 Amusement machine

Country Status (1)

Country Link
JP (1) JP6727592B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002000878A (en) * 2000-06-21 2002-01-08 Daiman:Kk Game machine
JP2009072330A (en) * 2007-09-20 2009-04-09 Daito Giken:Kk Game machine
JP2009136408A (en) * 2007-12-05 2009-06-25 Daito Giken:Kk Game machine
JP2016101285A (en) * 2014-11-27 2016-06-02 サミー株式会社 Game machine
JP2017018494A (en) * 2015-07-14 2017-01-26 株式会社藤商事 Game machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002000878A (en) * 2000-06-21 2002-01-08 Daiman:Kk Game machine
JP2009072330A (en) * 2007-09-20 2009-04-09 Daito Giken:Kk Game machine
JP2009136408A (en) * 2007-12-05 2009-06-25 Daito Giken:Kk Game machine
JP2016101285A (en) * 2014-11-27 2016-06-02 サミー株式会社 Game machine
JP2017018494A (en) * 2015-07-14 2017-01-26 株式会社藤商事 Game machine

Also Published As

Publication number Publication date
JP6727592B2 (en) 2020-07-22

Similar Documents

Publication Publication Date Title
JP2017196185A (en) Game machine
JP6353823B2 (en) Game machine
JP4928204B2 (en) Slot machine
JP2017196186A (en) Game machine
JP6581028B2 (en) Game machine
JP2007167380A (en) Game machine
JP4928205B2 (en) Slot machine
JP4733658B2 (en) Slot machine
JP6571574B2 (en) Game machine
JP6462618B2 (en) Game machine
JP6634322B2 (en) Gaming machine
JP6685717B2 (en) Amusement machine
JP6727592B2 (en) Amusement machine
JP6779543B2 (en) Game machine
JP6626953B2 (en) Gaming machine
JP6490617B2 (en) Game machine
JP6484580B2 (en) Game machine
JP2020078398A (en) Game machine
JP7462328B2 (en) Gaming Machines
JP6675663B2 (en) Gaming machine
JP6484579B2 (en) Game machine
JP6490616B2 (en) Game machine
JP2008245698A (en) Game machine
JP6567452B2 (en) Game machine
JP4196420B2 (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190808

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200602

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200624

R150 Certificate of patent or registration of utility model

Ref document number: 6727592

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250