JP6134416B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP6134416B2
JP6134416B2 JP2016078684A JP2016078684A JP6134416B2 JP 6134416 B2 JP6134416 B2 JP 6134416B2 JP 2016078684 A JP2016078684 A JP 2016078684A JP 2016078684 A JP2016078684 A JP 2016078684A JP 6134416 B2 JP6134416 B2 JP 6134416B2
Authority
JP
Japan
Prior art keywords
data
command
error
symbol
main cpu
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.)
Expired - Fee Related
Application number
JP2016078684A
Other languages
Japanese (ja)
Other versions
JP2016128069A (en
Inventor
一之 柳
一之 柳
芳典 斎藤
芳典 斎藤
昌臣 渡辺
昌臣 渡辺
篤 西田
篤 西田
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.)
Universal Entertainment Corp
Original Assignee
Universal Entertainment Corp
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 Universal Entertainment Corp filed Critical Universal Entertainment Corp
Priority to JP2016078684A priority Critical patent/JP6134416B2/en
Publication of JP2016128069A publication Critical patent/JP2016128069A/en
Application granted granted Critical
Publication of JP6134416B2 publication Critical patent/JP6134416B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、パチスロ等の遊技機に関する。   The present invention relates to a gaming machine such as a pachislot machine.

従来、複数の図柄がそれぞれの表面に配された複数のリールと、遊技メダルやコイン等が投入され、遊技者によりスタートレバーが操作されたことを検出し、複数のリールの回転の開始を要求するスタートスイッチと、複数のリールのそれぞれに対応して設けられたストップボタンが遊技者により押されたことを検出し、該当するリールの回転の停止を要求する信号を出力するストップスイッチと、複数のリールのそれぞれに対応して設けられ、それぞれの駆動力を各リールに伝達するステッピングモータと、スタートスイッチおよびストップスイッチにより出力された信号に基づいて、ステッピングモータの動作を制御し、各リールの回転およびその停止を行うリール制御部とを備え、スタートレバーが操作されたことを検出すると、乱数値に基づいて抽籤を行い、この抽籤の結果(以下、「内部当籤役」という)とストップボタンが操作されたことを検出したタイミングとに基づいてリールの回転の停止を行う、いわゆるパチスロと称される遊技機が知られている。   Conventionally, multiple reels with multiple symbols on each surface, game medals, coins, etc. are inserted, the start lever is operated by the player, and the start of rotation of multiple reels is requested A stop switch that detects that the player has pressed a stop button provided corresponding to each of the plurality of reels, and outputs a signal requesting the rotation of the corresponding reel to stop, A stepping motor is provided corresponding to each of the reels, and the operation of the stepping motor is controlled based on the signals output from the start switch and the stop switch that transmit the respective driving forces to the reels. A reel control unit that rotates and stops the rotation, and when it detects that the start lever has been operated, This is called so-called pachislot, in which the reel rotation is stopped based on the result of the lottery (hereinafter referred to as “internal winning combination”) and the timing at which the stop button is detected to be operated. Are known.

この種の遊技機は、内部当籤役の決定やリールの回転制御等一連の遊技の進行を制御する主制御回路と、この主制御回路から出力された各種コマンドに基づいて演出データの決定や実行等の各種の処理を行う副制御回路とを備えている。   This type of gaming machine has a main control circuit that controls the progression of a series of games such as determination of internal winning combination and reel rotation control, and determination and execution of effect data based on various commands output from this main control circuit. And a sub-control circuit that performs various processes such as the above.

近年、主制御回路から副制御回路に送信されるコマンドを解析し、遊技機を不正に操作する行為が発見されている。そこで、主制御回路から暗号化したコマンドを副制御回路に送り、副制御回路で復号化する技術が提案されている(例えば、特許文献1、2参照)。   In recent years, an act of illegally operating a gaming machine by analyzing a command transmitted from a main control circuit to a sub-control circuit has been discovered. Therefore, a technique has been proposed in which an encrypted command is sent from the main control circuit to the sub control circuit and decrypted by the sub control circuit (see, for example, Patent Documents 1 and 2).

特開2005−21660号公報Japanese Patent Laid-Open No. 2005-21660 特開2006−204324号公報JP 2006-204324 A

しかしながら、特許文献1、2に記載の従来のものは、主制御回路で暗号化したコマンドを副制御回路で単に復号化するものであり、復号化したコマンドが正規のコマンドではないと判明した場合でも、その情報をエラー情報として登録するものではなかった。そのため、従来のものは、不正行為により発生したエラー情報を有効利用することができないという課題があった。その結果、従来のものは、遊技機が設置された店舗の係員にエラー情報を表示したり、エラー情報を解析することにより次機種の開発に反映したりすることができなかった。   However, the conventional ones described in Patent Documents 1 and 2 are those in which a command encrypted by the main control circuit is simply decrypted by the sub control circuit, and it is found that the decrypted command is not a regular command. However, that information was not registered as error information. For this reason, the conventional one has a problem that it cannot effectively use error information generated by fraud. As a result, the conventional product cannot display the error information to the staff of the store where the gaming machine is installed, and cannot reflect the error information in the development of the next model by analyzing the error information.

本発明は、前述のような事情に鑑みてなされたもので、不正行為により発生したエラー情報の有効利用を図ることができる遊技機を提供することを目的とする。   The present invention has been made in view of the above-described circumstances, and an object thereof is to provide a gaming machine capable of effectively using error information generated by an illegal act.

本発明に係る遊技機は、遊技の進行に関する処理を実行する第1制御部と、前記第1制御部から送信されるコマンドに基づいて制御を行う第2制御部と、を備え、前記第1制御部は、前記第2制御部に送信するコマンドを暗号化する暗号化手段と、前記暗号化手段が暗号化したコマンドを前記第2制御部に送信する送信手段と、を備え、前記第2制御部は、暗号化された前記コマンドを受信する受信手段と、前記受信手段が受信した前記コマンドを復号化する復号化手段と、前記復号化されたコマンドに基づいて、該コマンドのデータが予め定められた範囲内にある場合に正常と判定し前記範囲外にある場合に異常と判定する第1判定手段と、前記第1判定手段において前記正常と判定された場合に、前記復号化されたコマンドに基づいて、該コマンドのデータの整合性がある場合に正常と判定し前記整合性がない場合に異常と判定する第2判定手段と、前記第2判定手段において前記正常と判定された場合に、前記復号化されたコマンドに基づいて、該コマンドが特定のコマンド種別以外の場合に該特定のコマンド種別以外の受信順序を判定し、前記受信順序が予め定められた順序である場合に正常と判定し前記順序でない場合に異常と判定する第3判定手段と、前記第1判定手段、前記第2判定手段及び前記第3判定手段のいずれか1つにおいて前記異常と判定された場合にエラーに基づいてエラー処理を行うエラー処理手段と、を備え、前記コマンドは、予め定められた順序で配列された、所定バイトのデータで構成され、前記受信手段は、前記送信手段から送信されたコマンドを1バイト単位で発生する受信割込みにより、前記1バイト単位の受信データと、該受信データの受信ステータスデータとを取得するとともに、所定の領域に登録し、前記暗号化手段は、前記コマンドを構成する前記所定バイトのデータを予め定められた暗号化手順で入れ替えることにより前記コマンドを暗号化し、前記復号化手段は、前記受信割込みが前記所定バイトの回数発生したことに基づいて前記所定の領域に登録した暗号化された前記コマンドを、予め定められた復号化手順で入れ替えることにより復号化することを特徴とする。   A gaming machine according to the present invention includes a first control unit that executes a process related to the progress of a game, and a second control unit that performs control based on a command transmitted from the first control unit. The control unit includes an encryption unit that encrypts a command to be transmitted to the second control unit, and a transmission unit that transmits the command encrypted by the encryption unit to the second control unit. The control unit includes: a receiving unit that receives the encrypted command; a decrypting unit that decrypts the command received by the receiving unit; and the data of the command is preliminarily stored based on the decrypted command. A first determination unit that determines normal when it is within a predetermined range and determines abnormal when it is outside the range; and the first determination unit that determines that the normal is detected by the first determination unit; Based on the command A second determination unit that determines that the command data is normal when the data is consistent, and determines that the command data is abnormal when the command data is not consistent; Based on the received command, when the command is other than the specific command type, the reception order other than the specific command type is determined, and when the reception order is a predetermined order, it is determined as normal and not in the order Error determination based on an error when any of the first determination means, the second determination means, and the third determination means determines the abnormality. Error processing means for performing, wherein the command is composed of predetermined bytes of data arranged in a predetermined order, and the receiving means is a frame transmitted from the transmitting means. In response to a reception interrupt that generates a 1-byte unit, the received data in 1-byte units and the reception status data of the received data are acquired and registered in a predetermined area, and the encryption means The command is encrypted by exchanging the data of the predetermined bytes constituting a predetermined encryption procedure, and the decryption means is configured to determine the predetermined area based on the occurrence of the predetermined number of bytes of the reception interrupt. The encrypted command registered in (1) is decrypted by replacing it with a predetermined decryption procedure.

この遊技機によると、不正行為により発生したエラー情報の有効利用を図ることができる。   According to this gaming machine, it is possible to effectively use error information generated by an illegal act.

本発明に係る遊技機は、遊技の進行に関する処理を実行する第1制御部と、前記第1制御部から送信されるコマンドに基づいて制御を行う第2制御部と、を備え、前記第1制御部は、前記第2制御部に送信するコマンドを暗号化する暗号化手段と、前記暗号化手段が暗号化したコマンドを前記第2制御部に送信する送信手段と、を備え、前記第2制御部は、暗号化された前記コマンドを受信する受信手段と、前記受信手段が受信した前記コマンドを復号化する復号化手段と、前記復号化されたコマンドに基づいて、該コマンドのデータが予め定められた範囲内にある場合に正常と判定し前記範囲外にある場合に異常と判定する第1判定手段と、前記第1判定手段において前記正常と判定された場合に、前記復号化されたコマンドに基づいて、該コマンドのデータの整合性がある場合に正常と判定し前記整合性がない場合に異常と判定する第2判定手段と、前記第2判定手段において前記正常と判定された場合に、前記復号化されたコマンドに基づいて、該コマンドが特定のコマンド種別以外の場合に該特定のコマンド種別以外の受信順序を判定し、前記受信順序が予め定められた順序である場合に正常と判定し前記順序でない場合に異常と判定する第3判定手段と、前記第1判定手段、前記第2判定手段及び前記第3判定手段のいずれか1つにおいて前記異常と判定された場合にエラーに基づいてエラー処理を行うエラー処理手段と、を備え、前記コマンドは、予め定められた順序で配列された、所定バイトのデータで構成され、前記受信手段は、前記送信手段から送信されたコマンドを1バイト単位で発生する受信割込みにより、前記1バイト単位の受信データと、該受信データの受信ステータスデータとを取得するとともに、所定の領域に登録し、前記暗号化手段は、予め定められた暗号化手順に基づいて前記所定バイトのデータを1バイト単位でビット入れ替えすることにより前記コマンドを暗号化し、前記復号化手段は、前記受信割込みが前記所定バイトの回数発生したことに基づいて前記所定の領域に登録した暗号化された前記コマンドを、予め定められた復号化手順に基づいて前記所定バイトのデータを1バイト単位でビット入れ替えすることにより復号化することを特徴とする。   A gaming machine according to the present invention includes a first control unit that executes a process related to the progress of a game, and a second control unit that performs control based on a command transmitted from the first control unit. The control unit includes an encryption unit that encrypts a command to be transmitted to the second control unit, and a transmission unit that transmits the command encrypted by the encryption unit to the second control unit. The control unit includes: a receiving unit that receives the encrypted command; a decrypting unit that decrypts the command received by the receiving unit; and the data of the command is preliminarily stored based on the decrypted command. A first determination unit that determines normal when it is within a predetermined range and determines abnormal when it is outside the range; and the first determination unit that determines that the normal is detected by the first determination unit; Based on the command A second determination unit that determines that the command data is normal when the data is consistent, and determines that the command data is abnormal when the command data is not consistent; Based on the received command, when the command is other than the specific command type, the reception order other than the specific command type is determined, and when the reception order is a predetermined order, it is determined as normal and not in the order Error determination based on an error when any of the first determination means, the second determination means, and the third determination means determines the abnormality. Error processing means for performing, wherein the command is composed of predetermined bytes of data arranged in a predetermined order, and the receiving means is a frame transmitted from the transmitting means. The reception data generated in units of 1 byte is received, and the received data in units of 1 byte and the reception status data of the received data are acquired and registered in a predetermined area, and the encryption unit is predetermined. The command is encrypted by exchanging the data of the predetermined byte in units of 1 byte based on the encryption procedure, and the decryption means is configured to generate the reception interrupt based on the occurrence of the predetermined byte. The encrypted command registered in a predetermined area is decrypted by exchanging the data of the predetermined byte in units of 1 byte based on a predetermined decryption procedure.

この遊技機によると、不正行為により発生したエラー情報の有効利用を図ることができる。   According to this gaming machine, it is possible to effectively use error information generated by an illegal act.

本発明は、不正行為により発生したエラー情報の有効利用を図ることができるという効果を有する遊技機を提供することができるものである。   The present invention can provide a gaming machine having an effect that it is possible to effectively use error information generated by an illegal act.

本実施の形態における遊技機の外観図である。It is an external view of the gaming machine in the present embodiment. 本実施の形態における遊技機の図柄表示領域および入賞ラインを示す図である。It is a figure which shows the symbol display area and winning line of the game machine in this Embodiment. 本実施の形態における遊技機の図柄配置テーブルを示す図である。It is a figure which shows the symbol arrangement | positioning table of the game machine in this Embodiment. 本実施の形態における遊技機の正面上部を示す図である。It is a figure which shows the front upper part of the game machine in this Embodiment. (a)は本実施の形態における遊技機の左飾りパネルと左赤外線センサーを示す図である。(b)は本実施の形態における遊技機の左赤外線センサーを示す図である。(A) is a figure which shows the left decoration panel and left infrared sensor of the game machine in this Embodiment. (B) is a figure which shows the left infrared sensor of the game machine in this Embodiment. 本実施の形態における遊技機の主制御回路の構成を示す図である。It is a figure which shows the structure of the main control circuit of the game machine in this Embodiment. 本実施の形態における遊技機の副制御回路の構成を示す図である。It is a figure which shows the structure of the sub control circuit of the game machine in this Embodiment. 本実施の形態における副制御回路のサブROMにおける領域イメージを示す図である。It is a figure which shows the area | region image in the sub ROM of the sub control circuit in this Embodiment. 本実施の形態における副制御回路のサブRAMにおける領域イメージを示す図である。It is a figure which shows the area | region image in the sub-RAM of the sub-control circuit in this Embodiment. 本実施の形態における副制御回路のバックアップRAMにおける領域イメージを示す図である。It is a figure which shows the area | region image in the backup RAM of the sub control circuit in this Embodiment. 本実施の形態における副制御回路のサブRAMにおけるエラー情報履歴格納領域の構造の一例を示す図である。It is a figure which shows an example of the structure of the error information log | history storage area in the sub RAM of the sub control circuit in this Embodiment. 本実施の形態における副制御回路のサブRAMにおけるエラー情報履歴格納領域に格納されたデータの内容の一例を示す図である。It is a figure which shows an example of the content of the data stored in the error information log | history storage area in the sub RAM of the sub control circuit in this Embodiment. 本実施の形態における副制御回路のサブRAMにおける通信ログ収集用リングバッファ領域を示す説明図である。It is explanatory drawing which shows the ring buffer area | region for communication log collection in the sub RAM of the sub control circuit in this Embodiment. 本実施の形態における副制御回路のサブRAMにおける通信エラー保存領域を示す説明図である。It is explanatory drawing which shows the communication error preservation | save area | region in sub RAM of the sub control circuit in this Embodiment. 本実施の形態における遊技機においてデータ入替パターンAを用いた場合の暗号化処理および復号化処理の説明図である。It is explanatory drawing of the encryption process at the time of using the data replacement pattern A in the game machine in this Embodiment. 本実施の形態における遊技機においてデータ入替パターンBを用いた場合の暗号化処理および復号化処理の説明図である。It is explanatory drawing of the encryption process at the time of using the data replacement pattern B in the game machine in this Embodiment. 本実施の形態における遊技機において演算パターンAを用いた場合の暗号化処理および復号化処理の説明図である。It is explanatory drawing of an encryption process and a decoding process at the time of using the calculation pattern A in the game machine in this Embodiment. 本実施の形態における遊技機において演算パターンBを用いた場合の暗号化処理および復号化処理の説明図である。It is explanatory drawing of the encryption process at the time of using the calculation pattern B in the game machine in this Embodiment. 本実施の形態における遊技機の遊技状態の遷移例を示す図である。It is a figure which shows the example of a transition of the game state of the game machine in this Embodiment. 本実施の形態における遊技機の内部抽籤テーブル決定テーブルの例を示す図である。It is a figure which shows the example of the internal lottery table determination table of the game machine in this Embodiment. 本実施の形態における遊技機の内部抽籤テーブルの例を示す図である。It is a figure which shows the example of the internal lottery table of the game machine in this Embodiment. 本実施の形態における遊技機のRB1遊技状態用内部抽籤テーブルの例を示す図である。It is a figure which shows the example of the internal lottery table for RB1 gaming states of the game machine in this Embodiment. 本実施の形態における遊技機のRB2遊技状態用内部抽籤テーブルの例を示す図である。It is a figure which shows the example of the internal lottery table for RB2 game states of the game machine in this Embodiment. 本実施の形態における遊技機のRT遷移テーブルの例を示す図である。It is a figure which shows the example of RT transition table of the game machine in this Embodiment. 本実施の形態における遊技機のボーナス用内部当籤役決定テーブルの例を示す図である。It is a figure which shows the example of the internal winning combination determination table for bonus of the gaming machine in this Embodiment. 本実施の形態における遊技機の小役・リプレイ用内部当籤役決定テーブルの例を示す図である。It is a figure which shows the example of the internal winning combination determination table for a small combination and replay of the game machine in this Embodiment. 本実施の形態における遊技機の図柄組合せテーブルの例を示す図である。It is a figure which shows the example of the symbol combination table of the game machine in this Embodiment. 本実施の形態における遊技機のボーナス作動時テーブルの例を示す図である。It is a figure which shows the example of the table at the time of the bonus action | operation of the game machine in this Embodiment. 本実施の形態における遊技機の引込優先順位テーブルAの例を示す図である。It is a figure which shows the example of the drawing-in priority order table A of the gaming machine in this Embodiment. 本実施の形態における遊技機の引込優先順位テーブルBの例を示す図である。It is a figure which shows the example of the drawing-in priority order table B of the gaming machine in this Embodiment. 本実施の形態における遊技機の停止テーブルの例を示す図である。It is a figure which shows the example of the stop table of the game machine in this Embodiment. 本実施の形態における遊技機の内部当籤役格納領域の例を示す図である。It is a figure which shows the example of the internal winning combination storing area | region of the game machine in this Embodiment. 本実施の形態における遊技機の表示役格納領域の例を示す図である。It is a figure which shows the example of the display combination storage area | region of the game machine in this Embodiment. 本実施の形態の遊技機の持越役格納領域の例を示す図である。It is a figure which shows the example of the carryover combination storage area | region of the game machine of this Embodiment. 本実施の形態の遊技機の遊技状態フラグ格納領域の例を示す図である。It is a figure which shows the example of the game state flag storage area | region of the gaming machine of this Embodiment. 本実施の形態における遊技機の図柄格納領域Aの格納例を示す図である。It is a figure which shows the example of storage of the symbol storage area A of the game machine in this Embodiment. 本実施の形態における遊技機の図柄格納領域Bの格納例を示す図である。It is a figure which shows the example of storage of the symbol storage area B of the game machine in this Embodiment. 本実施の形態における主制御回路で行われるメインCPUによるリセット割込処理のフローチャートを示す図である。It is a figure which shows the flowchart of the reset interruption process by the main CPU performed by the main control circuit in this Embodiment. 本実施の形態における主制御回路で行われるボーナス作動監視処理のフローチャートを示す図である。It is a figure which shows the flowchart of the bonus action | operation monitoring process performed with the main control circuit in this Embodiment. 本実施の形態における主制御回路で行われる内部抽籤処理のフローチャートを示す図である。It is a figure which shows the flowchart of the internal lottery process performed with the main control circuit in this Embodiment. 本実施の形態における主制御回路で行われる内部抽籤処理のフローチャートを示す図である。It is a figure which shows the flowchart of the internal lottery process performed with the main control circuit in this Embodiment. 本実施の形態における主制御回路で行われるリール停止制御処理のフローチャートを示す図である。It is a figure which shows the flowchart of the reel stop control process performed with the main control circuit in this Embodiment. 本実施の形態における主制御回路で行われる表示役検索処理のフローチャートを示す図である。It is a figure which shows the flowchart of the display combination search process performed in the main control circuit in this Embodiment. 本実施の形態における主制御回路で行われるRT制御処理のフローチャートを示す図である。It is a figure which shows the flowchart of RT control processing performed with the main control circuit in this Embodiment. 本実施の形態における主制御回路で行われるボーナス終了チェック処理のフローチャートを示す図である。It is a figure which shows the flowchart of the bonus completion | finish check process performed in the main control circuit in this Embodiment. 本実施の形態における主制御回路で行われるボーナス作動チェック処理のフローチャートを示す図である。It is a figure which shows the flowchart of the bonus operation | movement check process performed with the main control circuit in this Embodiment. 本発明の実施の形態における主制御回路のマインCPUにより行われる通信データ格納処理のフローチャートを示す図である。It is a figure which shows the flowchart of the communication data storage process performed by main CPU of the main control circuit in embodiment of this invention. 本実施の形態における主制御回路のメインCPUにより行われる暗号化データ作成処理のフローチャートを示す図である。It is a figure which shows the flowchart of the encryption data creation process performed by main CPU of the main control circuit in this Embodiment. 本実施の形態における主制御回路で行われるメインCPUによる割込処理(1.1173ms)のフローチャートを示す図である。It is a figure which shows the flowchart of the interruption process (1.1173 ms) by the main CPU performed by the main control circuit in this Embodiment. 本発明の実施の形態における主制御回路のマインCPUにより行われる通信データ送信処理のフローチャートを示す図である。It is a figure which shows the flowchart of the communication data transmission process performed by main CPU of the main control circuit in embodiment of this invention. 本実施の形態における遊技機の管理システムの全体を示す概略図である。It is the schematic which shows the whole management system of the game machine in this Embodiment. 本実施の形態における遊技機のメニュー画面を示す概略図である。It is the schematic which shows the menu screen of the game machine in this Embodiment. 本実施の形態における遊技機のエラー情報履歴画面を示す概略図である。It is the schematic which shows the error information log | history screen of the game machine in this Embodiment. 本実施の形態における遊技機の管理システムに用いる二次元コードの情報の内容を示す説明図である。It is explanatory drawing which shows the content of the information of the two-dimensional code used for the management system of the game machine in this Embodiment. 本実施の形態における遊技機に用いる受信コマンドのコード番号と種別とパラメータとを示す説明図である。It is explanatory drawing which shows the code number of the reception command used for the game machine in this Embodiment, a classification | category, and a parameter. 本実施の形態における遊技機においてCOMエラーが発生した場合の二次元コードの情報の記録イメージを示す説明図であり、(a)は通常の遊技中に偶発的に発生した場合、(b)はゴト行為により発生して設定変更があった場合、(c)はレバー連続送信がなされた場合をそれぞれ示す。It is explanatory drawing which shows the recording image of the information of the two-dimensional code when a COM error occurs in the gaming machine in the present embodiment, (a) is an accidental occurrence during a normal game, (b) When the setting is changed due to the goto action, (c) shows the case where the lever continuous transmission is performed. 本実施の形態における遊技機において、RAM破壊があった場合に、それを液晶表示領域に報知する一例を示す図である。In the gaming machine in the present embodiment, when there is a RAM destruction, it is a diagram showing an example of notifying the liquid crystal display area of it. 本実施の形態における副制御回路のサブCPUの電源投入時の処理を説明するためのフローチャートを示す図である。It is a figure which shows the flowchart for demonstrating the process at the time of power activation of the sub CPU of the sub control circuit in this Embodiment. 本実施の形態における副制御回路のサブCPUにより行われる各種のタスク起動要求を行うマザータスクのフローチャートを示す図である。It is a figure which shows the flowchart of the mother task which performs the various task starting request | requirement performed by the sub CPU of the sub control circuit in this Embodiment. 本実施の形態における副制御回路のサブCPUの電断割込処理のフローチャートを示す図である。It is a figure which shows the flowchart of the power interruption interruption process of the sub CPU of the sub control circuit in this Embodiment. 本実施の形態における副制御回路で行われるサブCPUによる主基板通信受信割込処理のフローチャートを示す図である。It is a figure which shows the flowchart of the main board | substrate communication reception interruption process by sub CPU performed by the sub control circuit in this Embodiment. 本実施の形態における副制御回路で行われる演出登録処理のフローチャートを示す図である。It is a figure which shows the flowchart of the effect registration process performed with the sub control circuit in this Embodiment. 本実施の形態における副制御回路で行われる演出内容決定処理のフローチャートを示す図である。It is a figure which shows the flowchart of the effect content determination process performed with the sub control circuit in this Embodiment. 本実施の形態における副制御回路で行われる主基板通信タスクの詳細なフローチャートを示す図である。It is a figure which shows the detailed flowchart of the main board | substrate communication task performed with the sub control circuit in this Embodiment. 本実施の形態における副制御回路で行われる受信データ復号化処理のフローチャートを示す図である。It is a figure which shows the flowchart of the reception data decoding process performed with the sub control circuit in this Embodiment. 本実施の形態の副制御回路で行われる主基板受信データBCCチェック処理のフローチャートを示す図である。It is a figure which shows the flowchart of the main board | substrate reception data BCC check process performed with the sub control circuit of this Embodiment. 本実施の形態における副制御回路で行われる主基板通信受信データログ保存処理のフローチャートを示す図である。It is a figure which shows the flowchart of the main board | substrate communication reception data log preservation | save process performed with the sub control circuit in this Embodiment. 本実施の形態における副制御回路で行われる主基板通信受信データログ一時領域保存処理のフローチャートを示す図である。It is a figure which shows the flowchart of the main board | substrate communication reception data log temporary area | region preservation | save process performed by the sub control circuit in this Embodiment. 本実施の形態における副制御回路で行われる主基板通信エラー履歴データ保存処理のフローチャートを示す図である。It is a figure which shows the flowchart of the main board | substrate communication error log | history data preservation | save process performed with the sub control circuit in this Embodiment. 本発明の実施の形態における副制御回路で行われる主基板受信コマンドチェック処理のフローチャートを示す図である。It is a figure which shows the flowchart of the main board | substrate reception command check process performed with the sub control circuit in embodiment of this invention. 本実施の形態における副制御回路で行われるCOMエラーチェック処理のフローチャートを示す図である。It is a figure which shows the flowchart of the COM error check process performed with the sub control circuit in this Embodiment. 本実施の形態における副制御回路のサブCPUにより行われるRTC制御タスクのフローチャートを示す図である。It is a figure which shows the flowchart of the RTC control task performed by the sub CPU of the sub control circuit in this Embodiment. 本実施の形態における副制御回路のサブCPUにより行われるサブRAM管理処理のフローチャートを示す図である。It is a figure which shows the flowchart of the sub RAM management process performed by the sub CPU of the sub control circuit in this Embodiment. 図73に示すサブRAM管理処理におけるバックアップ作成処理のフローチャートを示す図である。FIG. 74 is a diagram showing a flowchart of a backup creation process in the sub RAM management process shown in FIG. 73. 本発明の他の実施の形態における遊技機の外観を示す斜視図である。It is a perspective view which shows the external appearance of the game machine in other embodiment of this invention. 本発明の他の実施の形態における遊技機の遊技盤の概略の構成を示す正面図である。It is a front view which shows the structure of the outline of the game board of the game machine in other embodiment of this invention. 本発明の他の実施の形態における遊技機の主制御回路および副制御回路の構成を示すブロック図である。It is a block diagram which shows the structure of the main control circuit and sub control circuit of the game machine in other embodiment of this invention.

[パチスロ遊技機の構成]
以下に、本発明の遊技機について、図面を用いて具体的に説明する。なお、以下の実施の形態では、本発明の遊技機として、図柄を変動表示する3つの回転リールを備えた遊技機であって、コイン、メダルまたはトークン等の他に、遊技者に付与されたカード等の遊技価値を用いて遊技することが可能な遊技機、いわゆるパチスロ遊技機を用いて説明する。また、以下の実施の形態では、パチスロ遊技機を例に挙げて説明するが、本願発明の遊技機を限定するものではなく、パチンコ機やスロットマシンであってもよい。パチンコ遊技機の例は別途後述する。
[Configuration of pachislot machines]
The gaming machine of the present invention will be specifically described below with reference to the drawings. In the following embodiment, as a gaming machine of the present invention, a gaming machine having three rotating reels that variably display symbols, in addition to coins, medals or tokens, etc. A description will be given using a game machine capable of playing using a game value such as a card, a so-called pachislot machine. In the following embodiments, a pachislot gaming machine will be described as an example. However, the gaming machine of the present invention is not limited, and a pachinko machine or a slot machine may be used. An example of a pachinko machine will be described later.

まず、図1を参照して、本実施の形態に係るパチスロ遊技機の概観について説明する。なお、図1は、本実施の形態に係る遊技機1の斜視図である。   First, an overview of the pachislot machine according to the present embodiment will be described with reference to FIG. FIG. 1 is a perspective view of the gaming machine 1 according to the present embodiment.

遊技機1は、図1に示すように、リール3L、3C、3Rや後述の主制御回路60(図6参照)等を収容する筐体1aを備えている。筐体1aは、開閉可能な前面扉1bを備えている。さらに、遊技機1は、前面扉1bを閉じた状態で前面扉1bをロック状態またはアンロック状態に切り替えるロック機構を備えている。このロック機構は、ドアキー穴1cにドアキー2を挿入して、ドアキー2を回転することにより操作されるようになっている。   As shown in FIG. 1, the gaming machine 1 includes a housing 1a that houses reels 3L, 3C, and 3R, a main control circuit 60 (see FIG. 6), which will be described later, and the like. The housing 1a includes a front door 1b that can be opened and closed. Furthermore, the gaming machine 1 includes a lock mechanism that switches the front door 1b to a locked state or an unlocked state with the front door 1b closed. This lock mechanism is operated by inserting the door key 2 into the door key hole 1 c and rotating the door key 2.

ドアキー2がドアキー穴1cに挿入され、例えば、右回転されることにより前面扉1bが開閉可能になるとともに、左回転されることにより主制御回路60等が電気的にリセットされるようになっている。すなわち、ドアキー2は、ロック機構の操作の他に、遊技機1を電気的にリセットするリセット機能を有している。   When the door key 2 is inserted into the door key hole 1c and rotated to the right, for example, the front door 1b can be opened and closed, and when rotated to the left, the main control circuit 60 and the like are electrically reset. Yes. That is, the door key 2 has a reset function for electrically resetting the gaming machine 1 in addition to the operation of the lock mechanism.

前面扉1bの中央部正面には、略垂直面としての図柄表示領域4L、4C、4Rと、液晶表示領域23が形成されている。キャビネット1aの中央部正面の内部には、3個のリール3L、3C、3Rが回転自在に横一列に設けられている。3個のリール3L、3C、3Rには、各々の外周面に複数種類の図柄によって構成される図柄列が描かれている。   A symbol display region 4L, 4C, 4R as a substantially vertical surface and a liquid crystal display region 23 are formed in front of the central portion of the front door 1b. Three reels 3L, 3C, 3R are rotatably provided in a horizontal row inside the front of the central portion of the cabinet 1a. On the three reels 3L, 3C, 3R, a symbol row composed of a plurality of types of symbols is drawn on each outer peripheral surface.

各リール3L、3C、3Rの図柄は、図柄表示領域4L、4C、4Rを透過して視認できるようになっている。また、各リール3L、3C、3Rは、定速で回転(例えば80回転/分)するように後述の主制御回路60(図6参照)により制御され、図柄表示領域4L、4C、4R内に表示されるリール3L、3C、3R上に描かれた図柄が、リールの回転に伴って変動する。   The symbols of the reels 3L, 3C, 3R can be seen through the symbol display areas 4L, 4C, 4R. Each reel 3L, 3C, 3R is controlled by a later-described main control circuit 60 (see FIG. 6) so as to rotate at a constant speed (for example, 80 revolutions / minute), and within the symbol display areas 4L, 4C, 4R. The symbols drawn on the displayed reels 3L, 3C, 3R vary as the reels rotate.

液晶表示領域23の下方には略水平面の台座部10が形成されている。台座部10の左側には、遊技者が遊技で獲得したメダルのクレジット(Credit)/払い出し(Pay)の切り替えを行うC/Pボタン14と、押しボタン操作により、クレジットされているメダルを賭けるための最大BETボタン13が設けられる。   A substantially horizontal base 10 is formed below the liquid crystal display area 23. On the left side of the pedestal 10, a C / P button 14 that switches between credit (Credit) / payout (Pay) of medals acquired by the player and bet the credited medals by operating a push button. The maximum BET button 13 is provided.

C/Pボタン14に対する遊技者の操作によって払出モードまたはクレジットモードの切り替えが行われる。クレジットモードでは、入賞が成立すると、入賞に対応する払出枚数分のメダルがクレジットされる。   The payout mode or the credit mode is switched by the player's operation on the C / P button 14. In the credit mode, when a winning is established, medals for the number of payouts corresponding to the winning are credited.

また、払出モードでは、入賞が成立すると、入賞に対応する払出枚数分のメダルが正面下部のメダル払出口15から払い出され、このメダル払出口15から払い出されたメダルはメダル受け部16に溜められる。   Further, in the payout mode, when a winning is established, medals corresponding to the payout are paid out from the medal payout exit 15 at the lower front, and the medals paid out from the medal payout exit 15 are sent to the medal receiving unit 16. Can be stored.

なお、入賞とは、小役に係る図柄の組合せを有効ライン上に停止することをいう。また、小役とは、成立することによりメダルの払い出しが行われる役のことである。   Note that winning means that a combination of symbols relating to a small combination is stopped on the active line. The small role is a role in which medals are paid out when established.

また、最大BETボタン13に対する遊技者の操作によって、クレジットされているメダルのうち、その時点で投入可能な最大枚数のメダルが投入される。最大BETボタン13を操作することにより、後述の入賞ラインが有効化される。   Further, by the player's operation on the maximum BET button 13, among the credited medals, the maximum number of medals that can be inserted at that time is inserted. By operating the maximum BET button 13, a winning line described later is activated.

台座部10の右側には、メダル投入口22が設けられている。メダル投入口22に投入されたメダルに応じて、後述の入賞ラインが有効化される。   On the right side of the pedestal portion 10, a medal slot 22 is provided. In accordance with the medal inserted into the medal slot 22, a pay line described later is activated.

メダル投入口22の左には選択ボタン24と、決定ボタン25とが設けられている。遊技者は、液晶表示領域23に表示されたメニュー画面等に対して選択ボタン24および決定ボタン25により入力を行うことができる。   On the left side of the medal slot 22, a selection button 24 and a determination button 25 are provided. The player can input to the menu screen displayed in the liquid crystal display area 23 using the selection button 24 and the determination button 25.

メダル受け部16の上方の左右には、スピーカ21L、21Rが設けられている。スピーカ21L、21Rは、遊技の状況に応じて演出音や報知音等の遊技音を出力する。   Speakers 21 </ b> L and 21 </ b> R are provided on the left and right above the medal receiving portion 16. The speakers 21L and 21R output game sounds such as performance sounds and notification sounds according to the game situation.

台座部10の前面部の左寄りには、スタートレバー6が設けられている。スタートレバー6は、遊技者の開始操作により、リール3L、3C、3Rを回転させ、図柄表示領域4L、4C、4Rに表示された図柄の変動を開始させる。   A start lever 6 is provided on the left side of the front surface of the pedestal 10. The start lever 6 rotates the reels 3L, 3C, and 3R by the player's start operation, and starts changing the symbols displayed in the symbol display areas 4L, 4C, and 4R.

台座部10の前面部中央で、スタートレバー6の右側には、遊技者の押下操作(停止操作)により3個のリール3L、3C、3Rの回転をそれぞれ停止させるための3個のストップボタン7L、7C、7Rが設けられている。   Three stop buttons 7L for stopping the rotation of the three reels 3L, 3C, and 3R by the player's pressing operation (stopping operation) are provided on the right side of the start lever 6 at the center of the front surface portion of the base 10. , 7C, 7R are provided.

ここで、3つのリール3L、3C、3Rの回転が行われているときに最初に行われるリールの回転の停止を第1停止といい、第1停止の次に行われ、2つのリールの回転が行われているときに2番目に行われるリールの回転の停止を第2停止といい、第2停止の次に行われ、残り1つのリールの回転が行われているときに最後に行われるリールの回転の停止を第3停止という。   Here, when the three reels 3L, 3C, and 3R are rotating, the first stop of the rotation of the reels is referred to as a first stop, which is performed after the first stop and the two reels are rotated. The second stop of the rotation of the reel that is performed when the operation is performed is referred to as the second stop, which is performed after the second stop, and is performed last when the rotation of the remaining one reel is performed. Stopping the rotation of the reel is referred to as a third stop.

また、遊技者が第1停止させるための停止操作を第1停止操作という。同様に、遊技者が第2停止させるための停止操作を第2停止操作、第3停止させるための停止操作を第3停止操作という。   The stop operation for the player to stop for the first time is referred to as a first stop operation. Similarly, a stop operation for the player to stop the second stop is referred to as a second stop operation, and a stop operation for the third stop is referred to as a third stop operation.

前面扉1bの上部には、光透過性の上部パネル101が設けられており、その内側に図示しない上部パネル用LED(Light Emitting Diode)が設けられている。なお、LEDの代わりに他の発光体を用いることとしてもよい。上部パネル101は、後述する演出内容に応じて発光する。   A light transmissive upper panel 101 is provided on the upper portion of the front door 1b, and an upper panel LED (Light Emitting Diode) (not shown) is provided on the inner side. In addition, it is good also as using another light-emitting body instead of LED. The upper panel 101 emits light according to the contents of effects described later.

液晶表示領域23は、正面側から見てリール3L、3C、3Rの手前側に配設され、画像を表示すると共に、図柄表示領域4L、4C、4R内に、リール3L、3C、3Rに描かれた図柄を透過表示するものである。なお、図柄表示領域4L、4C、4R内における透過率は変更可能である。   The liquid crystal display area 23 is disposed on the front side of the reels 3L, 3C, and 3R when viewed from the front side, displays an image, and is drawn on the reels 3L, 3C, and 3R in the symbol display areas 4L, 4C, and 4R. The displayed design is displayed transparently. The transmittance in the symbol display areas 4L, 4C, 4R can be changed.

この液晶表示領域23は、貯留(クレジット)されているメダルの枚数を表示したり、入賞成立時にメダルの払出枚数を表示したりする。また、液晶表示領域23は、図柄表示領域4L、4C、4Rを囲むように所定の形状からなる枠画像と、後述する演出内容に応じた所定の画像を表示する。   The liquid crystal display area 23 displays the number of medals stored (credited) or displays the number of medals paid out when winning is established. In addition, the liquid crystal display area 23 displays a frame image having a predetermined shape so as to surround the symbol display areas 4L, 4C, and 4R, and a predetermined image corresponding to the contents of effects described later.

液晶表示領域23の下方であって、台座部10の上方には、下部パネル102が設けられており、その内側に下部パネル102用のLED(LEDの代わりに他の発光体を用いることとしてもよい)が設けられている。下部パネル102は、後述する演出内容に応じて発光する。   A lower panel 102 is provided below the liquid crystal display area 23 and above the pedestal 10, and an LED for the lower panel 102 (other light emitters may be used in place of the LEDs). Is good). The lower panel 102 emits light according to the contents of effects described later.

台座部10の下方には、光透過性の腰部パネル103が設けられており、その内側に腰部パネル103用のLED(LEDの代わりに他の発光体を用いることとしてもよい)が設けられている。腰部パネル103は、後述する演出内容に応じて発光する。   A light-transmitting waist panel 103 is provided below the pedestal 10, and an LED for the waist panel 103 (other light emitters may be used in place of the LEDs) is provided on the inside thereof. Yes. The lower back panel 103 emits light according to the contents of effects described later.

縦長矩形の各図柄表示領域4L、4C、4R内における上段、中段および下段の各領域には一の図柄が表示され、各図柄表示領域4L、4C、4Rには、対応するリールの周面に配された図柄のうち3つの図柄が表示される。つまり、図柄表示領域4L、4C、4Rは、いわゆる表示窓としての機能を有する。   One symbol is displayed in each of the upper, middle, and lower regions in each of the vertically long rectangular symbol display areas 4L, 4C, and 4R. Each symbol display area 4L, 4C, and 4R has a corresponding reel peripheral surface. Three symbols of the arranged symbols are displayed. That is, the symbol display areas 4L, 4C, and 4R have a function as a so-called display window.

次に、図2を用いて入賞ラインについて説明する。図柄表示領域4L、4C、4Rには、前述の各図柄表示領域4L、4C、4R内における上段、中段および下段のうち何れかを結ぶ5本の入賞ライン(センターライン8c、ボトムライン8d、クロスアップライン8a、クロスダウンライン8eおよびRB中特殊ライン8f)が設けられている。   Next, the winning line will be described with reference to FIG. In the symbol display areas 4L, 4C, 4R, five winning lines (center line 8c, bottom line 8d, cross) connecting any one of the upper, middle, and lower stages in each of the symbol display areas 4L, 4C, 4R described above. An up line 8a, a cross down line 8e, and an RB middle special line 8f) are provided.

遊技機1は、リール3L、3C、3Rの回転が停止した際に、有効化された入賞ライン上に表示された図柄の組合せに基づいて、役の成立・不成立を判定する。なお、以下、有効化された入賞ラインを有効ラインといい、また、有効化されていない入賞ラインを非有効ラインという。   When the rotation of the reels 3L, 3C, 3R is stopped, the gaming machine 1 determines whether the winning combination is established or not based on the combination of symbols displayed on the activated winning line. Hereinafter, the activated winning line is referred to as an activated line, and the activated winning line is referred to as an inactivated line.

図2に示すように、センターライン8cは、左・中段領域D、中・中段領域E、右・中段領域Fを夫々結んでなるラインである。ボトムライン8dは、左・下段領域G、中・下段領域H、右・下段領域Iを夫々結んでなるラインである。   As shown in FIG. 2, the center line 8c is a line formed by connecting the left / middle stage region D, the middle / middle stage region E, and the right / middle stage region F, respectively. The bottom line 8d is a line formed by connecting the left / lower region G, the middle / lower region H, and the right / lower region I, respectively.

クロスアップライン8aは、左・下段領域G、中・中段領域E、右・上段領域Cを夫々結んでなるラインである。クロスダウンライン8eは、左・上段領域A、中・中段領域E、右・下段領域Iを夫々結んでなるラインである。RB中特殊ライン8fは、左・中段領域D、中・下段領域H、右・上段領域Cを夫々結んでなるラインである。   The cross-up line 8a is a line formed by connecting the left / lower region G, the middle / middle region E, and the right / upper region C, respectively. The cross-down line 8e is a line formed by connecting the left / upper region A, the middle / middle region E, and the right / lower region I, respectively. The RB middle special line 8f is a line formed by connecting the left / middle stage area D, the middle / lower stage area H, and the right / upper stage area C, respectively.

なお、本実施の形態においては、BB遊技状態(RB遊技状態)では、2枚のメダルの投入によりRB中特殊ライン8fのみが有効ラインとなる。一方、BB遊技状態(RB遊技状態)以外の遊技状態では、3枚のメダルの投入によりセンターライン8c、ボトムライン8d、クロスアップライン8a、クロスダウンライン8eの4本の入賞ラインが有効ラインとなる。   In the present embodiment, in the BB gaming state (RB gaming state), only the special line 8f during RB becomes an effective line by inserting two medals. On the other hand, in a game state other than the BB game state (RB game state), four winning lines including the center line 8c, the bottom line 8d, the cross-up line 8a, and the cross-down line 8e are activated as three medals are inserted. Become.

なお、BB1遊技状態〜BB4遊技状態を総称してBB遊技状態という場合がある。また、RB1遊技状態〜RB2遊技状態を総称してRB遊技状態という場合がある。   In some cases, the BB1 gaming state to the BB4 gaming state are collectively referred to as the BB gaming state. In addition, the RB1 gaming state to the RB2 gaming state may be collectively referred to as an RB gaming state.

次に、図3に示す図柄配置テーブルを参照して、リール3L、3C、3R上に配列された図柄列について説明する。図3は、本実施の形態における遊技機1のリール3L、3C、3R上の外周面上に描かれた図柄の配列を示す図である。   Next, the symbol sequence arranged on the reels 3L, 3C, 3R will be described with reference to the symbol arrangement table shown in FIG. FIG. 3 is a diagram showing an arrangement of symbols drawn on the outer peripheral surface of the reels 3L, 3C, 3R of the gaming machine 1 according to the present embodiment.

リール3L、3C、3Rの外周面上には、複数種類の図柄が21個配列された図柄列が描かれている。具体的には、赤7図柄、ドン1図柄、ドン2図柄、BAR図柄、波図柄、ベル1図柄、ベル2図柄、チェリー1図柄、チェリー2図柄、リプレイ図柄で構成された図柄列が描かれている。   On the outer peripheral surfaces of the reels 3L, 3C, 3R, a symbol row in which 21 types of symbols are arranged is drawn. Specifically, a symbol sequence consisting of 7 red symbols, 1 don symbol, 2 don symbols, BAR symbol, wave symbol, 1 bell symbol, 2 bell symbols, 1 cherry symbol, 2 cherry symbols, and a replay symbol is drawn. ing.

図柄配置テーブルは、後述する主制御回路60のメインROM32に記憶されている。図3に示すように、図柄配置テーブルには、リール3L、3C、3Rの回転位置とリール外周面上に描かれた図柄とを対応づけるために、リール3L、3C、3Rの1/21回転毎に順次付与される「0」から「20」までの図柄位置が規定されている。   The symbol arrangement table is stored in the main ROM 32 of the main control circuit 60 described later. As shown in FIG. 3, in the symbol arrangement table, the reels 3L, 3C, and 3R are rotated 1/21 times in order to associate the rotation positions of the reels 3L, 3C, and 3R with the symbols drawn on the outer peripheral surface of the reel. Symbol positions from “0” to “20” that are sequentially assigned to each are defined.

次に、図4を参照して、遊技機の上部について説明する。なお、図4は遊技機1の正面上部を示す図である。   Next, the upper part of the gaming machine will be described with reference to FIG. FIG. 4 is a view showing the upper front of the gaming machine 1.

図4に示すように、液晶表示領域23の上部中央には、表示パネルユニット110が設けられており、表示パネルユニット110の左右には左選択パネル151Lおよび右選択パネル151Rが設けられている。   As shown in FIG. 4, a display panel unit 110 is provided in the upper center of the liquid crystal display area 23, and a left selection panel 151L and a right selection panel 151R are provided on the left and right sides of the display panel unit 110.

表示パネルユニット110の上部左右には、左飾りパネル121Lおよび右飾りパネル121Rが設けられている。   A left decorative panel 121L and a right decorative panel 121R are provided on the upper left and right of the display panel unit 110.

表示パネルユニット110は光透過性が高く導光性の優れた複数枚の表示パネルと、複数のLEDとを有している。   The display panel unit 110 includes a plurality of display panels having high light transmittance and excellent light guiding properties, and a plurality of LEDs.

図5(a)に示すように、左飾りパネル121Lの奥には左赤外線センサー120Lが設けられている。なお、図示しないが、右飾りパネル121Rの奥にも右赤外線センサー120Rが設けられている。   As shown in FIG. 5A, a left infrared sensor 120L is provided in the back of the left decorative panel 121L. Although not shown, the right infrared sensor 120R is also provided behind the right decorative panel 121R.

赤外線センサー120L、120Rは、いわゆる反射型赤外線センサーであり、赤外線ビームを出力した方向に物体(例えば、遊技者の手)が存在するかまたは近付いてきたかを検知することができる。   The infrared sensors 120L and 120R are so-called reflective infrared sensors, and can detect whether an object (for example, a player's hand) is present or approached in the direction in which the infrared beam is output.

図5(b)に示すように、左赤外線センサー120Lは、矢印AR方向に赤外線ビームを出力し、反射した赤外線ビームを受光することにより左選択パネル151L付近に遊技者の手等が近付いてきたことを検知する。右赤外線センサー120Rも同様に、右選択パネル151R付近に遊技者の手等が近付いてきたかを検知する。   As shown in FIG. 5B, the left infrared sensor 120L outputs an infrared beam in the direction of the arrow AR, and receives the reflected infrared beam, thereby bringing the player's hand or the like closer to the left selection panel 151L. Detect that. Similarly, the right infrared sensor 120R detects whether the player's hand or the like has approached the right selection panel 151R.

なお、赤外線センサー120L、120Rは常に動作しているわけではなく、特定の演出が実行された場合に動作するようになっている。   Note that the infrared sensors 120L and 120R do not always operate, but operate when a specific effect is executed.

また、本実施の形態では、反射型赤外線センサーを採用したが、左選択パネル151Lおよび右選択パネル151R付近に遊技者の手等が近付いたことを検知することができるその他のセンサーを採用することとしてもよい。また、左選択パネル151Lおよび右選択パネル151Rそのものをいわゆるタッチセンサとすることとしてもよい。   In this embodiment, a reflective infrared sensor is used. However, other sensors that can detect that a player's hand or the like has come close to the left selection panel 151L and the right selection panel 151R are used. It is good. The left selection panel 151L and the right selection panel 151R themselves may be so-called touch sensors.

[遊技機の回路構成]
次に、図6を参照して、主制御回路60、副制御回路70、主制御回路60または副制御回路70に電気的に接続する周辺装置等を含む遊技機1の回路構成について説明する。なお、図6は、遊技機1の回路構成を示す図である。
[Circuit configuration of gaming machine]
Next, with reference to FIG. 6, a circuit configuration of the gaming machine 1 including a main control circuit 60, a sub control circuit 70, a peripheral device and the like electrically connected to the main control circuit 60 or the sub control circuit 70 will be described. FIG. 6 is a diagram showing a circuit configuration of the gaming machine 1.

主制御回路60は、内部当籤役の決定やリールの回転制御等一連の遊技の進行を制御する。主制御回路60は、回路基板上に配置されたマイクロコンピュータ30を主たる構成要素とし、これに乱数サンプリングのための回路を加えて構成されている。マイクロコンピュータ30は、メインCPU31、メインROM32およびメインRAM33により構成されている。この主制御回路60は、本発明に係る主制御部を構成する。   The main control circuit 60 controls the progress of a series of games such as determination of an internal winning combination and reel rotation control. The main control circuit 60 includes a microcomputer 30 disposed on a circuit board as a main component, and is added to a circuit for random number sampling. The microcomputer 30 includes a main CPU 31, a main ROM 32 and a main RAM 33. The main control circuit 60 constitutes a main control unit according to the present invention.

メインCPU31は、コマンド暗号化手段31a、コマンド送信手段31bを備えている。コマンド暗号化手段31aは、メインROM32に記憶された暗号化情報(後述)に基づいて、メインCPU31が生成したコマンドを暗号化するようになっている。コマンド送信手段31bは、暗号化されたコマンドを副制御回路70に送信するようになっている。   The main CPU 31 includes command encryption means 31a and command transmission means 31b. The command encryption unit 31a encrypts a command generated by the main CPU 31 based on encryption information (described later) stored in the main ROM 32. The command transmission unit 31b transmits the encrypted command to the sub control circuit 70.

メインCPU31が生成するコマンドとしては、例えば、図55に示すように、受信コマンド欄に記載した「01H」〜「10H」の16種類の種別がある。このコマンドのデータは、各々が1バイトからなる8つのデータ、例えば、コマンド種別、5つのパラメータP1〜P5、遊技状態を示す遊技状態フラグ(遊技状態情報)、主制御回路60と副制御回路70との間における通信エラーの有無を確認するためのエラーチェック情報であるBCC(Block Check Character)のデータによって構成される。これらの各データは、コマンド種別に応じて、各々のビットパターンによってデータ内容を識別することができるようになっている。コマンドのデータは、これら8つのデータ(8バイトのデータ)によって1パケットを構成している。   As commands generated by the main CPU 31, for example, as shown in FIG. 55, there are 16 types “01H” to “10H” described in the received command column. The command data includes eight data each consisting of 1 byte, for example, command type, five parameters P1 to P5, a gaming state flag (gaming state information) indicating a gaming state, a main control circuit 60 and a sub control circuit 70. And BCC (Block Check Character) data, which is error check information for confirming the presence or absence of a communication error between the two. Each of these data can be identified by the bit pattern according to the command type. The command data constitutes one packet by these eight data (8-byte data).

なお、BCCデータは、本発明に係るエラーチェック情報に対応する。また、コマンドデータは、各々が複数バイトからなるデータであってもよい。また、コマンドデータは、8バイトのデータに限定されない。   The BCC data corresponds to the error check information according to the present invention. Further, the command data may be data each consisting of a plurality of bytes. The command data is not limited to 8-byte data.

メインCPU31には、クロックパルス発生回路34、分周器35、乱数発生器36およびサンプリング回路37が接続されている。   The main CPU 31 is connected to a clock pulse generation circuit 34, a frequency divider 35, a random number generator 36, and a sampling circuit 37.

メインCPU31は、乱数値と内部抽籤テーブルとに基づいて内部当籤役を決定し、当該内部当籤役と停止操作が検出されたタイミングとに基づいて、リール3L、3C、3Rの回転を停止させる。   The main CPU 31 determines an internal winning combination based on the random number value and the internal lottery table, and stops the rotation of the reels 3L, 3C, 3R based on the internal winning combination and the timing when the stop operation is detected.

また、メインCPU31は、リール3L、3C、3Rの回転を停止させた際に、図柄表示領域4L、4C、4Rに表示された図柄の組合せに基づいて、役が成立したか否かを判別して成立している場合に、当該成立した役に応じてメダルを払い出す等の利益を遊技者に付与する。   Further, when the main CPU 31 stops the rotation of the reels 3L, 3C, and 3R, it determines whether or not a winning combination has been established based on the combination of symbols displayed in the symbol display areas 4L, 4C, and 4R. If established, the player is given a profit such as paying out medals according to the established combination.

クロックパルス発生回路34および分周器35は、基準クロックパルスを発生する。乱数発生器36は、「0」〜「65535」の範囲の乱数を発生する。サンプリング回路37は、乱数発生器36により発生された乱数から1つの乱数値を抽出(サンプリング)する。   The clock pulse generation circuit 34 and the frequency divider 35 generate a reference clock pulse. The random number generator 36 generates a random number in the range of “0” to “65535”. The sampling circuit 37 extracts (samples) one random number value from the random number generated by the random number generator 36.

また、遊技機1では、抽出した乱数値を後述のメインRAM33の乱数値記憶領域に記憶する。そして、遊技毎にメインRAM33の乱数値記憶領域に記憶された乱数値に基づいて、内部抽籤処理において内部当籤役の決定を行う。   In the gaming machine 1, the extracted random number value is stored in a random value storage area of the main RAM 33 described later. The internal winning combination is determined in the internal lottery process based on the random value stored in the random value storage area of the main RAM 33 for each game.

なお、乱数サンプリングのための手段として、マイクロコンピュータ30内で、即ちメインCPU31の動作プログラム上で、乱数サンプリングを実行する構成にしてもよい。その場合、乱数発生器36およびサンプリング回路37は省略可能であり、或いは、乱数サンプリング動作のバックアップ用として残しておくことも可能である。   In addition, as a means for random number sampling, you may make it the structure which performs random number sampling within the microcomputer 30, ie, on the operation program of the main CPU31. In that case, the random number generator 36 and the sampling circuit 37 can be omitted, or can be left as a backup for the random number sampling operation.

マイクロコンピュータ30のメインROM32には、メインCPU31の処理に係るプログラム、各種テーブル、暗号化情報等が記憶されている。ここで、暗号化情報は、機種ごと(タイトルごと)に予め定められた固有のデータ(以下、機種IDという)と、予め定められた暗号化方式を示す暗号化方式コードのデータを含む。なお、機種IDの代わりに、例えば、遊技機をハードウェア的に識別するための固有のデータを用いてもよい。   The main ROM 32 of the microcomputer 30 stores programs related to the processing of the main CPU 31, various tables, encryption information, and the like. Here, the encryption information includes unique data predetermined for each model (for each title) (hereinafter referred to as model ID) and data of an encryption method code indicating a predetermined encryption method. Instead of the model ID, for example, unique data for identifying the gaming machine in hardware may be used.

メインRAM33には、メインCPU31の処理により得られる種々の情報がセットされる。例えば、抽出した乱数値、遊技状態、内部当籤役、払出枚数、ボーナス持越状況、設定値等を特定する情報、各種カウンタおよびフラグがセットされている。これらの情報の一部は、前述のコマンドにより副制御回路70に送信される。   Various information obtained by processing of the main CPU 31 is set in the main RAM 33. For example, information for identifying the extracted random number value, gaming state, internal winning combination, number of payouts, bonus carryover status, setting value, etc., various counters and flags are set. Some of these pieces of information are transmitted to the sub-control circuit 70 by the above-described command.

マイクロコンピュータ30からの制御信号により動作が制御される主要な周辺装置等としては、ホッパー40、ステッピングモータ49L、49C、49R等がある。これらのアクチュエータとメインCPU31との間の信号の授受は、I/Oポート38を介して行われる。   Examples of main peripheral devices whose operation is controlled by a control signal from the microcomputer 30 include a hopper 40 and stepping motors 49L, 49C, 49R. The exchange of signals between these actuators and the main CPU 31 is performed via the I / O port 38.

また、マイクロコンピュータ30の出力部には、メインCPU31から出力される制御信号を受けて、前述の各周辺装置等の動作を制御するための各回路が接続されている。各回路としては、モータ駆動回路39およびホッパー駆動回路41がある。   In addition, the output unit of the microcomputer 30 is connected to each circuit for receiving the control signal output from the main CPU 31 and controlling the operation of each peripheral device described above. Each circuit includes a motor drive circuit 39 and a hopper drive circuit 41.

ホッパー駆動回路41は、ホッパー40を駆動制御する。これにより、ホッパー40に収容されたメダルの払い出しが行われる。   The hopper drive circuit 41 drives and controls the hopper 40. Thereby, the medal accommodated in the hopper 40 is paid out.

モータ駆動回路39は、ステッピングモータ49L、49C、49Rを駆動制御する。これにより、リール3L、3C、3Rの回転や停止が行われる。   The motor drive circuit 39 drives and controls the stepping motors 49L, 49C, 49R. As a result, the reels 3L, 3C, and 3R are rotated and stopped.

また、マイクロコンピュータ30の入力部には、前述の各回路および各周辺装置等に制御信号を出力する契機となる入力信号を発生する各スイッチおよび各回路が接続されている。各スイッチおよび各回路としては、スタートスイッチ6S、ストップスイッチ7LS、7CS、7RS、最大BETスイッチ13S、C/Pスイッチ14S、設定キーSW20S、メダルセンサ22S、リール位置検出回路50、払出完了信号回路51がある。なお、ストップスイッチ7LS、7CS、7RSを総称してストップスイッチ7Sという。   In addition, each switch and each circuit for generating an input signal that triggers the output of a control signal to each circuit and each peripheral device are connected to the input unit of the microcomputer 30. As each switch and each circuit, a start switch 6S, stop switches 7LS, 7CS, 7RS, maximum BET switch 13S, C / P switch 14S, setting key SW20S, medal sensor 22S, reel position detection circuit 50, payout completion signal circuit 51 There is. Note that the stop switches 7LS, 7CS, and 7RS are collectively referred to as the stop switch 7S.

スタートスイッチ6Sは、スタートレバー6に対する遊技者の開始操作を検出し、遊技の開始を指令する開始信号をマイクロコンピュータ30に出力する。   The start switch 6S detects a player's start operation on the start lever 6 and outputs a start signal instructing the start of the game to the microcomputer 30.

ストップスイッチ7LS、7CS、7RSは、それぞれストップボタン7L、7C、7Rに対する遊技者の停止操作を検出し、検出したストップボタン7L、7C、7Rに対応するリール3L、3C、3Rの回転の停止を指令する停止信号をマイクロコンピュータ30に出力する。   The stop switches 7LS, 7CS, and 7RS detect the player's stop operation on the stop buttons 7L, 7C, and 7R, respectively, and stop the rotation of the reels 3L, 3C, and 3R corresponding to the detected stop buttons 7L, 7C, and 7R. A stop signal to be commanded is output to the microcomputer 30.

最大BETスイッチ13Sは、最大BETボタン13に対する遊技者の投入操作(押下操作)を検出し、クレジットされたメダルからのメダルの投入を指令する信号をマイクロコンピュータ30に出力する。   The maximum BET switch 13 </ b> S detects a player's insertion operation (pressing operation) on the maximum BET button 13 and outputs a signal for instructing insertion of a medal from a credited medal to the microcomputer 30.

C/Pスイッチ14Sは、C/Pボタン14に対する遊技者の切り替え操作を検出し、クレジットモードまたは払出モードを切り替えるための信号をマイクロコンピュータ30に出力する。また、クレジットモードから払出モードに切り替えられた場合、遊技機1にクレジットされているメダルの払い出しを指令する信号をマイクロコンピュータ30に出力する。   The C / P switch 14S detects a player's switching operation on the C / P button 14, and outputs a signal for switching the credit mode or the payout mode to the microcomputer 30. When the credit mode is switched to the payout mode, a signal for instructing the payout of medals credited to the gaming machine 1 is output to the microcomputer 30.

設定キースイッチ20Sは、遊技機1の設定値を操作するための設定キーが操作されたことを検出して、その検出信号をマイクロコンピュータ30に出力する。   The setting key switch 20S detects that a setting key for operating the setting value of the gaming machine 1 has been operated, and outputs a detection signal to the microcomputer 30.

メダルセンサ22Sは、遊技者の投入操作によりメダル投入口22に投入されたメダルを検出し、メダルが投入されたことを示す信号をマイクロコンピュータ30に出力する。   The medal sensor 22S detects medals inserted into the medal insertion slot 22 by the player's insertion operation, and outputs a signal indicating that a medal has been inserted to the microcomputer 30.

リール位置検出回路50は、リール回転センサーからのパルス信号を検出し、各リール3L、3C、3R上の図柄の位置を検出するための信号を発生する。   The reel position detection circuit 50 detects a pulse signal from the reel rotation sensor and generates a signal for detecting the position of the symbol on each reel 3L, 3C, 3R.

払出完了信号回路51は、メダル検出部40Sにより検出されたメダルの枚数(即ちホッパー40から払い出されたメダルの枚数)が指定された枚数に達した際に、メダルの払い出しが完了したことを示すための信号を発生する。   The payout completion signal circuit 51 indicates that the medal payout has been completed when the number of medals detected by the medal detection unit 40S (that is, the number of medals paid out from the hopper 40) reaches the designated number. Generate a signal to indicate.

副制御回路70は、後述するスタートコマンド等の主制御回路60から出力された各種コマンドに基づいて演出データの決定や実行等の各種の処理を行う。副制御回路70が主制御回路60へコマンド、情報等を入力することはなく、主制御回路60から副制御回路70への一方向で通信が行われる。この副制御回路70は、本発明に係る副制御部を構成する。   The sub control circuit 70 performs various processes such as determination and execution of effect data based on various commands output from the main control circuit 60 such as a start command described later. The sub control circuit 70 does not input commands, information, or the like to the main control circuit 60, and communication is performed in one direction from the main control circuit 60 to the sub control circuit 70. The sub control circuit 70 constitutes a sub control unit according to the present invention.

副制御回路70からの制御信号により動作が制御される主要な周辺装置等としては、液晶表示領域23に画像を表示させる表示部としての液晶表示装置5、スピーカ21L、21R、各種操作パネル101〜103、表示パネルユニット110、赤外線センサー120L、120Rがある。なお、液晶表示装置5は、本発明に係るエラー情報表示手段を構成する。   As main peripheral devices whose operation is controlled by a control signal from the sub control circuit 70, the liquid crystal display device 5 as a display unit for displaying an image on the liquid crystal display region 23, speakers 21L and 21R, various operation panels 101 to 101, and the like. 103, a display panel unit 110, and infrared sensors 120L and 120R. The liquid crystal display device 5 constitutes error information display means according to the present invention.

副制御回路70は、決定した演出データに基づいて、液晶表示装置5に表示される画像の決定とその表示、各種操作パネル101〜103や表示パネルユニット110の発光パターンの決定と出力、赤外線センサー120L、120Rの動作タイミングの決定等、スピーカ21L、21Rから出力する演出音や効果音の決定と出力等の制御を行う。   The sub control circuit 70 determines and displays an image displayed on the liquid crystal display device 5 based on the determined effect data, determines and outputs the light emission patterns of the various operation panels 101 to 103 and the display panel unit 110, and an infrared sensor. Controls such as determination and output of effect sound and effect sound output from the speakers 21L and 21R, such as determination of operation timing of 120L and 120R.

なお、本実施の形態における副制御回路70の構成の詳細については、後述する。   Details of the configuration of the sub control circuit 70 in the present embodiment will be described later.

遊技機1では、メダルの投入を条件に、遊技者のスタートレバー6に対する操作によって、スタートスイッチ6Sから遊技を開始する信号が出力されると、モータ駆動回路39に制御信号が出力され、ステッピングモータ49L、49C、49Rの駆動制御(例えば、各相への励磁等)によりリール3L、3C、3Rの回転が開始される。   In the gaming machine 1, when a signal for starting a game is output from the start switch 6S by a player's operation on the start lever 6 on condition that a medal is inserted, a control signal is output to the motor drive circuit 39, and the stepping motor The rotation of the reels 3L, 3C, and 3R is started by the drive control of 49L, 49C, and 49R (for example, excitation to each phase).

この際、ステッピングモータ49L、49C、49Rに出力されるパルスの数が計数され、その計数値はパルスカウンタとしてメインRAM33の所定の領域にセットされる。   At this time, the number of pulses output to the stepping motors 49L, 49C, 49R is counted, and the counted value is set as a pulse counter in a predetermined area of the main RAM 33.

遊技機1では、「16」のパルスが出力されると、リール3L、3C、3Rが図柄1つ分移動する。移動した図柄の数は計数され、その計数値は図柄カウンタとしてメインRAM33の所定の領域にセットされる。つまり、パルスカウンタにより「16」のパルスが計数される毎に、図柄カウンタが「1」ずつ更新される。   In the gaming machine 1, when the “16” pulse is output, the reels 3L, 3C, and 3R move by one symbol. The number of symbols moved is counted, and the counted value is set in a predetermined area of the main RAM 33 as a symbol counter. That is, every time the pulse counter counts “16”, the symbol counter is updated by “1”.

なお、図柄カウンタの値が示す図柄位置の図柄(図3参照)がセンターライン8c上に位置している図柄に対応する。例えば、左リール3Lの図柄カウンタが「0」である際には、図3に示す図柄配置テーブルの図柄位置「0」の赤7がセンターライン8c上に位置している。   In addition, the symbol (refer FIG. 3) of the symbol position which the value of a symbol counter shows corresponds to the symbol located on the center line 8c. For example, when the symbol counter of the left reel 3L is “0”, the red 7 at the symbol position “0” in the symbol arrangement table shown in FIG. 3 is located on the center line 8c.

また、リール3L、3C、3Rからは一回転毎にリールインデックスが得られ、リール位置検出回路50を介してメインCPU31に出力される。リールインデックスの出力により、メインRAM33にセットされているパルスカウンタや図柄カウンタが「0」にクリアされる。   A reel index is obtained from the reels 3L, 3C, and 3R for each rotation and is output to the main CPU 31 via the reel position detection circuit 50. By the output of the reel index, the pulse counter and the symbol counter set in the main RAM 33 are cleared to “0”.

このようにして、各リール3L、3C、3Rについて1回転の範囲内における図柄位置を特定することとしている。なお、リールの回転により各図柄が一図柄分移動する距離を1コマという。すなわち、図柄が1コマ移動することは、図柄カウンタが「1」更新されることに対応する。   In this way, the symbol position within one rotation range is specified for each reel 3L, 3C, 3R. The distance that each symbol moves by one symbol by the rotation of the reel is called one frame. That is, moving the symbol by one frame corresponds to updating the symbol counter by “1”.

リール3L、3C、3Rの回転位置とリール外周面上に描かれた図柄とを対応づけるために、図柄配置テーブルがメインROM32に記憶されている。この図柄配置テーブルは、前述のリールインデックスが出力される位置を基準として、各リール3L、3C、3Rの一定の回転ピッチ毎に順次付与される、「0」から「20」までのコードナンバーと、それぞれのコードナンバー毎に対応して設けられた図柄の種類を識別する図柄コードとを対応付けている。   In order to associate the rotational positions of the reels 3L, 3C, and 3R with the symbols drawn on the outer peripheral surface of the reel, a symbol arrangement table is stored in the main ROM 32. This symbol arrangement table includes code numbers from “0” to “20” that are sequentially given at fixed rotation pitches of the reels 3L, 3C, and 3R with reference to the position where the reel index is output. A symbol code for identifying the type of symbol provided corresponding to each code number is associated with each other.

また、スタートスイッチ6Sから開始信号が出力されると、乱数発生器36やサンプリング回路37により乱数値が抽出される。遊技機1では、乱数値が抽出されると、メインRAM33の乱数値記憶領域に記憶される。そして、乱数値記憶領域に記憶された乱数値に基づいて内部当籤役が決定される。   When a start signal is output from the start switch 6S, a random number value is extracted by the random number generator 36 and the sampling circuit 37. In the gaming machine 1, when the random value is extracted, it is stored in the random value storage area of the main RAM 33. Then, an internal winning combination is determined based on the random value stored in the random value storage area.

リール3L、3C、3Rが定速回転に達した後、停止操作によりストップスイッチ7LS、7CS、7RSから停止信号が出力されると、出力された停止信号および決定された内部当籤役に基づいて、リール3L、3C、3Rを停止制御する制御信号がモータ駆動回路39に出力される。モータ駆動回路39はステッピングモータ49L、49C、49Rを駆動制御し、リール3L、3C、3Rの回転を停止させる。   After the reels 3L, 3C, 3R have reached constant speed rotation, when a stop signal is output from the stop switches 7LS, 7CS, 7RS by a stop operation, based on the output stop signal and the determined internal winning combination, A control signal for stopping and controlling the reels 3L, 3C, 3R is output to the motor drive circuit 39. The motor drive circuit 39 drives and controls the stepping motors 49L, 49C, 49R, and stops the rotation of the reels 3L, 3C, 3R.

遊技機1は、停止操作が行われた時点から内部当籤役の成立に係る図柄を最大滑りコマ数分、すなわち、4コマ分引き込んでリール3の回転を停止させる。具体的には、遊技機1は、ストップスイッチ7LS、7CS、7RSにより停止操作の検出が行われた後、4コマ以内に内部当籤役の成立に係る図柄が存在するか否かを判別し、4コマ以内に内部当籤役の成立に係る図柄が存在する場合に、当該図柄を有効ライン上に停止表示されるように滑りコマ数を決定し、該当するリールを停止させる。   The gaming machine 1 stops the rotation of the reel 3 by drawing in the symbols related to the establishment of the internal winning combination for the maximum number of sliding frames, that is, four frames from the time when the stop operation is performed. Specifically, the gaming machine 1 determines whether or not there is a symbol related to the establishment of an internal winning combination within 4 frames after the stop operation is detected by the stop switches 7LS, 7CS, and 7RS. When there is a symbol related to the establishment of an internal winning combination within four frames, the number of sliding symbols is determined so that the symbol is stopped and displayed on the active line, and the corresponding reel is stopped.

また、遊技機1は、内部当籤役として複数の役を決定した場合において、4コマ以内に内部当籤役の成立に係る図柄が複数存在する場合には、より優先順位の高い内部当籤役に係る図柄を有効ライン上に停止表示させるように滑りコマ数を決定する。   In addition, in the case where a plurality of winning combinations are determined as internal winning combinations, the gaming machine 1 relates to an internal winning combination having a higher priority when there are a plurality of symbols related to establishment of the internal winning combination within 4 frames. The number of sliding symbols is determined so that the symbols are stopped and displayed on the active line.

なお、基本的には、優先順位1位(優先度が最も高い)はリプレイに係る図柄の組合せであり、優先順位2位は小役に係る図柄の組合せである。次いで、優先順位3位はボーナスに係る図柄の組合せである。   Basically, the first priority (highest priority) is a symbol combination related to replay, and the second priority is a symbol combination related to a small role. Next, the third highest priority is a combination of symbols related to the bonus.

また、ストップスイッチ7LS、7CS、7RSにより停止操作の検出された際、該当するリール3の図柄カウンタに対応する図柄位置、すなわち、リール3の回転の停止が開始される図柄位置を「停止開始位置」といい、当該停止開始位置に決定した滑りコマ数(数値範囲「0」〜「4」)を加算した図柄位置、すなわち、リール3の回転を停止させる図柄位置を「停止予定位置」という。滑りコマ数は、ストップスイッチ7LS、7CS、7RSにより停止操作が検出されてから対応するリール3の回転が停止するまでのリール3の回転量であり、遊技機1では、最大滑りコマ数を「4」と規定している。   When the stop operation is detected by the stop switches 7LS, 7CS, 7RS, the symbol position corresponding to the symbol counter of the corresponding reel 3, that is, the symbol position at which the rotation of the reel 3 is stopped is set as “stop start position”. The symbol position obtained by adding the determined number of sliding symbols (numerical range “0” to “4”) to the stop start position, that is, the symbol position at which the rotation of the reel 3 is stopped is referred to as “scheduled stop position”. The number of sliding symbols is the amount of rotation of the reel 3 until the corresponding reel 3 stops rotating after the stop operation is detected by the stop switches 7LS, 7CS, 7RS. 4 ”.

全てのリール3L、3C、3Rの回転が停止すると、有効ライン上に表示された図柄の組合せに基づいて表示役の検索処理、すなわち役の成立・不成立の判定処理が行われる。表示役の検索は、メインROM32に記憶された後述の図柄組合せテーブルに基づいて行われる。この図柄組合せテーブルでは、表示役に係る図柄の組合せと、対応する配当とが設定されている。   When the rotation of all the reels 3L, 3C, and 3R is stopped, the display combination retrieval process, that is, the determination process of the formation / non-establishment of the combination is performed based on the combination of symbols displayed on the effective line. The search for the display combination is performed based on a later-described symbol combination table stored in the main ROM 32. In this symbol combination table, a symbol combination related to a display combination and a corresponding payout are set.

表示役の検索により、入賞に係る図柄の組合せが表示されたと判別されると、ホッパー駆動回路41に制御信号が出力され、ホッパー40の駆動によりメダルの払い出しが行われる。   When it is determined by the display combination search that a combination of symbols related to winning is displayed, a control signal is output to the hopper driving circuit 41 and the hopper 40 is driven to pay out medals.

この際、メダル検出部40Sは、ホッパー40から払い出されるメダルの枚数を計数し、その計数値が指定された数に達すると、払出完了信号回路51によりメダル払い出しの完了を示す信号が出力される。これにより、ホッパー駆動回路41に制御信号が出力され、ホッパー40の駆動が停止される。   At this time, the medal detection unit 40S counts the number of medals to be paid out from the hopper 40, and when the count value reaches the designated number, the payout completion signal circuit 51 outputs a signal indicating the completion of the medal payout. . Thereby, a control signal is output to the hopper drive circuit 41, and the drive of the hopper 40 is stopped.

なお、C/Pスイッチ14Sにより、クレジットモードに切り替えられている場合には、入賞に係る図柄の組合せが表示されたと判別されると、入賞に係る図柄の組合せに応じた払出枚数をメインRAM33のクレジットカウンタに加算する。   When the credit mode is switched by the C / P switch 14S, if it is determined that the symbol combination related to winning is displayed, the payout amount corresponding to the symbol combination related to winning is displayed in the main RAM 33. Add to credit counter.

また、払い出されたメダルの枚数は副制御回路70に送信され、これに基づいて液晶表示領域23にはメダルの払出枚数および更新されたクレジット枚数が表示される。ここで、入賞に係る図柄の組合せが表示された場合に行われる、メダルの払い出しまたはクレジットを総称して単に「払い出し」という場合がある。   Further, the number of medals paid out is transmitted to the sub-control circuit 70, and based on this, the number of medals paid out and the updated number of credits are displayed in the liquid crystal display area 23. Here, there is a case where a medal payout or a credit performed when a symbol combination related to winning is displayed is simply referred to as “payout”.

次に、図7を参照して、副制御回路70の回路構成について説明する。なお、図7は、遊技機1の副制御回路70の回路構成を示す図である。   Next, the circuit configuration of the sub control circuit 70 will be described with reference to FIG. FIG. 7 is a diagram showing a circuit configuration of the sub control circuit 70 of the gaming machine 1.

副制御回路70は、映像、音、光等を用いた遊技に関する演出を行うための制御を行う。副制御回路70は、主制御回路60から送信される各種コマンドや、選択スイッチ24S、決定スイッチ25Sからの入力情報に基づいて、演出データを決定して各種演出処理を行う。   The sub-control circuit 70 performs control for performing effects related to games using video, sound, light, and the like. The sub control circuit 70 determines effect data and performs various effect processes based on various commands transmitted from the main control circuit 60 and input information from the selection switch 24S and the determination switch 25S.

副制御回路70は、処理手段としてのサブCPU71、処理情報記憶手段として機能するサブROM72、制御情報記憶手段として機能するDRAM73−1(「サブRAM73−1」ともいう)、SRAM73−2、GPU74、VRAM75、デジタルアンプ78を有している。   The sub control circuit 70 includes a sub CPU 71 as processing means, a sub ROM 72 functioning as processing information storage means, a DRAM 73-1 functioning as control information storage means (also referred to as “sub RAM 73-1”), an SRAM 73-2, a GPU 74, A VRAM 75 and a digital amplifier 78 are provided.

選択スイッチ24Sは、選択ボタン24に対する遊技者の操作を検出し、例えば、メニュー画面等に表示された選択すべき項目のうち何れが選択状態にあるかを示す表示(例えば、アイコン)を移動させるための信号をサブCPU71に出力する。   The selection switch 24S detects a player's operation on the selection button 24 and moves, for example, a display (for example, an icon) indicating which of the items to be selected displayed on the menu screen or the like is in a selected state. Is output to the sub CPU 71.

また、決定スイッチ25Sは、決定ボタン25に対する遊技者の操作を検出し、例えば、選択状態にある項目を遊技者が選択したことを示す信号をサブCPU71に出力する。すなわち、遊技者はメニュー画面等において、選択したい項目が選択状態になるまで選択ボタン24を押下した後、決定ボタンを押下することにより項目を選択することができる。   In addition, the determination switch 25S detects the player's operation on the determination button 25, and outputs, for example, a signal indicating that the player has selected an item in the selected state to the sub CPU 71. That is, the player can select an item on the menu screen or the like by pressing the selection button 24 until the item to be selected is selected, and then pressing the enter button.

サブCPU71は、サブROM72に記憶されているプログラムに基づいて、液晶表示装置5の表示制御、スピーカ21L、21Rの出力制御、各種操作パネル101〜103、表示パネルユニット110の発光制御等を行う。具体的には、サブCPU71は、主制御回路60から各種コマンド等を受信し、コマンドに含まれる各種情報をサブRAM73−1に記憶させる。なお、サブCPU71は、本発明に係るコマンド受信手段、通信エラー確認手段を構成する。   The sub CPU 71 performs display control of the liquid crystal display device 5, output control of the speakers 21L and 21R, various operation panels 101 to 103, light emission control of the display panel unit 110, and the like based on a program stored in the sub ROM 72. Specifically, the sub CPU 71 receives various commands and the like from the main control circuit 60 and stores various information included in the commands in the sub RAM 73-1. The sub CPU 71 constitutes command receiving means and communication error checking means according to the present invention.

また、サブCPU71には、後述するSRAM73−2(「バックアップRAM73−2」ともいう)が接続されている。バックアップRAM73−2には、電源投入時に、サブRAM73−1に複写されるデータがバックアップされている。   The sub CPU 71 is connected to an SRAM 73-2 (also referred to as “backup RAM 73-2”) described later. The backup RAM 73-2 is backed up with data copied to the sub RAM 73-1 when the power is turned on.

なお、主制御回路60におけるあらゆる情報が、コマンドにより送信され、副制御回路70では、主制御回路60の状態を逐一判断することができる。サブCPU71は、DRAM73−1に記憶させた遊技状態情報、内部当籤役情報等を参照しながら、プログラムを実行することにより、液晶表示装置5、スピーカ21L、21Rおよび各種操作パネル101〜103、表示パネルユニット110等の演出装置に行わせる演出の内容を決定する。   All information in the main control circuit 60 is transmitted by a command, and the sub control circuit 70 can determine the state of the main control circuit 60 step by step. The sub CPU 71 executes the program while referring to the game state information, the internal winning combination information, etc. stored in the DRAM 73-1, so that the liquid crystal display device 5, the speakers 21L and 21R, the various operation panels 101 to 103, the display The content of the effect to be performed by the effect device such as the panel unit 110 is determined.

また、サブCPU71は、決定した演出データに基づいて、GPU74を介して液晶表示装置5を制御し、また、スピーカ21L、21Rから出力させる音と、各種操作パネル101〜103、表示パネルユニット110の発光を制御する。   In addition, the sub CPU 71 controls the liquid crystal display device 5 via the GPU 74 based on the determined effect data, and also outputs sounds output from the speakers 21L and 21R, the various operation panels 101 to 103, and the display panel unit 110. Control light emission.

なお、上部パネル101、腰部パネル102、下部パネル103は、実際にはそれぞれ複数のLEDを備えており、これらはそれぞれ個別に設けられたポート(図示しない)の入出力処理で制御される。したがって、各ポートによってそれぞれ個別に発光を制御することができる。   The upper panel 101, the waist panel 102, and the lower panel 103 are each actually provided with a plurality of LEDs, and these are controlled by input / output processing of ports (not shown) provided individually. Therefore, light emission can be individually controlled by each port.

また、サブCPU71は、サブROM72に記憶されている乱数取得プログラムを実行することにより、演出データ等を決定する際に用いる乱数値を取得する。但し、主制御回路60と同様に乱数発生器およびサンプリング回路を副制御回路70内に設ける場合には、当該処理は不要である。   Further, the sub CPU 71 executes a random number acquisition program stored in the sub ROM 72, thereby acquiring a random value used when determining effect data and the like. However, when a random number generator and a sampling circuit are provided in the sub-control circuit 70 as in the main control circuit 60, this processing is not necessary.

サブROM72は、図8に示すように、オペレーティングシステムを記憶するOS領域72aと、サブCPU71が実行するプログラムを記憶するサブ制御プログラム記憶領域72bと、ゲームデータ初期化設定データ領域72cと、係員操作初期設定データ領域72dと、各種テーブル等を記憶する各種プログラムテーブル領域72eと、プログラム管理データ領域72fと、画像データ(静止画/動画)領域72gと、サウンドデータ領域72hと、役物可動データ領域72iと、復号化情報領域72jとを有する。   As shown in FIG. 8, the sub ROM 72 has an OS area 72a for storing an operating system, a sub control program storage area 72b for storing a program executed by the sub CPU 71, a game data initialization setting data area 72c, and a staff operation. Initial setting data area 72d, various program table areas 72e for storing various tables, a program management data area 72f, an image data (still image / moving image) area 72g, a sound data area 72h, and an accessory movable data area 72i and a decryption information area 72j.

サブ制御プログラム記憶領域72bは、デバイスドライバ、主制御回路60との通信を制御するための基板間通信処理、演出の内容を決定するための演出登録処理、登録されたLEDデータに基づいて各種操作パネル101〜103、表示パネルユニット110による光の出力を制御するためのLED制御タスク、登録されたサウンドデータに基づいてスピーカ21L、21Rによる音の出力を制御するための音声制御タスク、登録されたアニメーションデータに基づいて液晶表示装置5による映像の表示制御をするための描画制御タスク等を記憶する。   The sub-control program storage area 72b has various operations based on the device driver, inter-board communication processing for controlling communication with the main control circuit 60, effect registration processing for determining the contents of the effect, and the registered LED data. LED control task for controlling light output by panels 101 to 103 and display panel unit 110, voice control task for controlling sound output by speakers 21L and 21R based on registered sound data, registered A drawing control task and the like for controlling display of an image by the liquid crystal display device 5 based on the animation data are stored.

各種プログラムテーブル領域72eは、演出抽籤テーブル、図12に示す副制御回路のエラーコードテーブル等を記憶する。   The various program table area 72e stores an effect lottery table, an error code table of the sub control circuit shown in FIG.

プログラム管理データ領域72fは、マジックコード、プログラムバージョン等を記憶する。画像データ(静止画/動画)領域72gは、キャラクタオブジェクトデータといったアニメーションデータ等を記憶する。サウンドデータ領域72hは、BGMや効果音といった音データ等を記憶する。また、役物可動データ領域72iは、例えば、光の点灯パターン等を行うためのLED制御データを記憶する。復号化情報領域72jは、マイクロコンピュータ30のメインROM32に記憶された暗号化情報に対応する情報であり、機種IDと、予め定められた復号化方式を示す復号化方式コードのデータとを記憶する。   The program management data area 72f stores a magic code, a program version, and the like. The image data (still image / moving image) area 72g stores animation data such as character object data. The sound data area 72h stores sound data such as BGM and sound effects. Further, the accessory movable data area 72i stores, for example, LED control data for performing a light lighting pattern or the like. The decryption information area 72j is information corresponding to the encryption information stored in the main ROM 32 of the microcomputer 30, and stores a model ID and data of a decryption method code indicating a predetermined decryption method. .

サブRAM73−1は、図9に示すように、ゲームデータ保存領域としてのゲームデータ領域73a−1と、ゲームデータサム値領域73b−1と、ワーク領域73c−1と、係員操作設定データ領域73g−1と、エラー情報履歴格納領域73d−1と、通信ログ収集用リングバッファ領域73e−1と、通信エラー保存バッファ領域73f−1とを備えている。係員操作設定データ領域73g−1に登録されている係員操作設定データは、メニュー画面での設定項目が保存されているデータである。   As shown in FIG. 9, the sub RAM 73-1 has a game data area 73a-1, a game data sum value area 73b-1, a work area 73c-1, and a staff operation setting data area 73g as a game data storage area. -1, an error information history storage area 73d-1, a communication log collection ring buffer area 73e-1, and a communication error storage buffer area 73f-1. The clerk operation setting data registered in the clerk operation setting data area 73g-1 is data in which setting items on the menu screen are stored.

ゲームデータ領域73a−1は、遊技の進行に関するゲームデータを含む情報のうちでサブRAM73−1に記憶されるデータを記憶するようになっている。ゲームデータサム値領域73b−1は、ゲームデータ領域73a−1に記憶されたゲームデータのチェックサム用のサム値を記憶するようになっている。ワーク領域73c−1は、各種処理におけるデータを記憶するようになっている。   The game data area 73a-1 stores data stored in the sub RAM 73-1 among information including game data relating to the progress of the game. The game data sum value area 73b-1 stores the checksum sum value for the game data stored in the game data area 73a-1. The work area 73c-1 stores data in various processes.

ゲームデータ領域73a−1およびワーク領域73c−1は、サブCPU71が各プログラムを実行する際に、作業用一時記憶手段として使用される。また、ゲームデータ領域73a−1は、例えば、主制御回路60から送信されたコマンド、演出データ情報、遊技状態情報、内部当籤役情報、表示役情報、各種カウンタ、4バイトから8バイトの任意のマジックコードおよび各種フラグ等の情報を記憶するようになっている。   The game data area 73a-1 and the work area 73c-1 are used as work temporary storage means when the sub CPU 71 executes each program. The game data area 73a-1 includes, for example, commands transmitted from the main control circuit 60, effect data information, game state information, internal winning combination information, display combination information, various counters, and any arbitrary byte from 4 bytes to 8 bytes. Information such as a magic code and various flags is stored.

エラー情報履歴格納領域73d−1は、後述する通信エラー検出手段71b、手順検出手段71c、データ破壊検出手段71d等により検出された全てのエラー情報を示すエラーコード(図12参照)を記憶するようになっている。エラー情報履歴格納領域73d−1では、エラーコードが逐次記憶されることにより、エラー情報履歴が作成されるようになっている。   The error information history storage area 73d-1 stores an error code (see FIG. 12) indicating all error information detected by a communication error detecting means 71b, a procedure detecting means 71c, a data destruction detecting means 71d, and the like which will be described later. It has become. In the error information history storage area 73d-1, an error information history is created by sequentially storing error codes.

エラー情報履歴格納領域73d−1では、通信エラー検出手段71bにより検出されたエラーはCOMエラーとして記憶され、手順検出手段71cにより検出されたエラーは手順異常エラーとして記憶される。また、データ破壊検出手段71dにより検出されたエラーはデータ破壊エラーとして記憶されるようになっている。   In the error information history storage area 73d-1, the error detected by the communication error detecting means 71b is stored as a COM error, and the error detected by the procedure detecting means 71c is stored as a procedure abnormal error. Further, the error detected by the data destruction detection means 71d is stored as a data destruction error.

バックアップRAM73−2は、図10に示すように、バックアップデータ1領域73a−2と、バックアップデータ1サム値領域73b−2と、バックアップデータ1領域73a−2のミラーリングであるバックアップデータ2領域73c−2と、バックアップデータ2サム値領域73d−2と、係員バックアップデータ領域73e−2と、エラー情報履歴格納領域73f−2と、係員バックアップデータサム値領域73g−2とを備えている。   As shown in FIG. 10, the backup RAM 73-2 has a backup data 1 area 73a-2, a backup data 1 sum value area 73b-2, and a backup data 2 area 73c- which is a mirroring of the backup data 1 area 73a-2. 2, backup data 2 sum value area 73 d-2, clerk backup data area 73 e-2, error information history storage area 73 f-2, and clerk backup data sum value area 73 g-2.

なお、本実施の形態では、バックアップデータ1領域73a−2とバックアップデータ2領域73c−2とは、単体のバックアップRAM73−2に構成されている。本明細書では、「ミラーリング」をデータを複製することの意味に用いており、データを別のストレージに複製するという意味に限定するものではない。   In this embodiment, the backup data 1 area 73a-2 and the backup data 2 area 73c-2 are configured in a single backup RAM 73-2. In this specification, “mirroring” is used to mean copying data, and is not limited to the meaning of copying data to another storage.

また、バックアップデータ1領域73a−2およびバックアップデータ2領域73c−2は、それぞれ、4バイトから8バイトの任意のマジックコードを備える。   The backup data 1 area 73a-2 and the backup data 2 area 73c-2 each include an arbitrary magic code of 4 to 8 bytes.

図11に示すように、サブRAM73−1のエラー情報履歴格納領域73d−1は、エラーコード(図中、ERROR CODE)と、エラー発生時刻(図中、「発生」)と、エラー解除時刻(図中、「解除」)とを1組として、128組格納可能になっている。   As shown in FIG. 11, the error information history storage area 73d-1 of the sub RAM 73-1 includes an error code (ERROR CODE in the figure), an error occurrence time ("occurrence" in the figure), and an error release time ( In the drawing, “cancel”) can be stored as one set, and 128 sets can be stored.

エラーコードは、1バイトデータであり、副制御回路に関するエラーコードの内容は、図12に示すように、通信エラー(図中、「COMエラー」)や、手順異常エラー(図中、「手順異常」)や、データ破壊エラー(図中、「サム異常」)や、その他のエラーを含んでいる。   The error code is 1-byte data. The error code related to the sub-control circuit includes a communication error ("COM error" in the figure) and a procedure error ("procedure error" in the figure) as shown in FIG. ”), Data destruction errors (“ Sum Abnormal ”in the figure), and other errors.

エラー情報履歴格納領域73d−1では、エラー発生時刻およびエラー解除時刻は、いずれも2バイトデータの年、1バイトデータの月、1バイトデータの日、1バイトデータの時、1バイトデータの分、1バイトデータの秒から構成されている。   In the error information history storage area 73d-1, the error occurrence time and the error release time are both a 2-byte data year, a 1-byte data month, a 1-byte data day, a 1-byte data time, and a 1-byte data minute. It consists of seconds of 1-byte data.

図13に示すように、通信ログ収集用リングバッファ領域73e−1には、256のコマンドおよびパラメータのデータ組と、対応する1つのバッファインデックスとからなるデータ群が適宜数記憶され、それらがリングバッファとして機能するようになっている。   As shown in FIG. 13, the communication log collection ring buffer area 73e-1 stores an appropriate number of data groups including 256 command and parameter data sets and one corresponding buffer index. It functions as a buffer.

図14に示すように、通信エラー保存バッファ領域73f−1には、256のコマンドおよびパラメータのデータ組と、対応する1つのバッファインデックスとからなるデータ群が1024個記憶されている。また、通信エラー保存バッファ領域73f−1には、1024のバッファインデックスのうちのどのバッファインデックスが選択されているかを示すバッファ選択インデックスが1つ設けられている。   As shown in FIG. 14, the communication error storage buffer area 73f-1 stores 1024 data groups including 256 command and parameter data sets and one corresponding buffer index. The communication error storage buffer area 73f-1 is provided with one buffer selection index indicating which buffer index is selected from among the 1024 buffer indexes.

また、図13に示す通信ログ収集用リングバッファ領域73e−1および図14に示す通信エラー保存バッファ領域73f−1では、コマンドは1文字データからなるとともに、パラメータは2文字データからなるものとしている。   In the communication log collection ring buffer area 73e-1 shown in FIG. 13 and the communication error storage buffer area 73f-1 shown in FIG. 14, the command is made up of one character data and the parameter is made up of two character data. .

また、サブCPU71は、図7に示すように、コマンド復号化手段71aと、通信エラー検出手段71bと、手順検出手段71cと、データ破壊検出手段71dと、エラー情報登録手段71eと、受信データログ保存手段71fと、エラー情報履歴表示手段71gと、二次元コード変換手段71hとを備えている。   Further, as shown in FIG. 7, the sub CPU 71 includes a command decryption unit 71a, a communication error detection unit 71b, a procedure detection unit 71c, a data destruction detection unit 71d, an error information registration unit 71e, and a received data log. A storage unit 71f, an error information history display unit 71g, and a two-dimensional code conversion unit 71h are provided.

コマンド復号化手段71aは、サブROM72の復号化情報領域72jに記憶された機種IDおよび暗号化方式コードに基づいて、主制御回路60からの暗号化されたコマンドを復号化するようになっている。   The command decryption means 71a decrypts the encrypted command from the main control circuit 60 based on the model ID and the encryption method code stored in the decryption information area 72j of the sub ROM 72. .

通信エラー検出手段71bは、後述する図71に示すCOMエラーチェック処理を実行することにより、主制御回路60と副制御回路70との間に通信エラーが発生したことを検出するようになっている。   The communication error detection means 71b detects that a communication error has occurred between the main control circuit 60 and the sub control circuit 70 by executing a COM error check process shown in FIG. .

手順検出手段71cは、後述する図70に示す主基板受信コマンドチェック処理を実行することにより、通常の遊技の手順と異なる手順、すなわち、異常な手順で遊技が進行したことを検出するようになっている。   The procedure detecting means 71c detects the progress of the game in a procedure different from the normal game procedure, that is, an abnormal procedure by executing a main board received command check process shown in FIG. ing.

データ破壊検出手段71dは、後述する図64に示すサブ制御ゲームデータ保存領域のサムチェック処理を実行することにより、サブRAM73−1のゲームデータ領域73a−1(図9参照)のデータ破壊、特に、主制御回路60から受信したコマンド、演出データ情報、遊技状態情報、内部当籤役情報、表示役情報、各種カウンタおよび各種フラグ等の情報に関するデータ破壊を検出可能なようになっている。   The data destruction detection unit 71d performs a data check of the game data area 73a-1 (see FIG. 9) of the sub RAM 73-1 by performing a sum check process of the sub control game data storage area shown in FIG. Further, it is possible to detect data destruction related to information received from the main control circuit 60, such as effect data information, game state information, internal winning combination information, display combination information, various counters and various flags.

エラー情報登録手段71eは、エラーの検出手段によりエラーの発生が検出された場合に、検出されたエラーのエラーコードをサブRAM73−1のエラー情報履歴格納領域73d−1に記憶するようになっている。このエラー情報登録手段71eは、本発明に係るエラー情報登録手段を構成する。   The error information registration unit 71e stores the error code of the detected error in the error information history storage area 73d-1 of the sub RAM 73-1, when the occurrence of an error is detected by the error detection unit. Yes. The error information registration unit 71e constitutes an error information registration unit according to the present invention.

具体的には、エラー情報登録手段71eは、通信エラー検出手段71bにより通信エラーの発生が検出された場合は、エラー情報履歴格納領域73d−1にCOMエラーのエラーコード(COM ERR ALM)を記憶するようになっている。   Specifically, the error information registration unit 71e stores a COM error error code (COM ERR ALM) in the error information history storage area 73d-1 when the occurrence of a communication error is detected by the communication error detection unit 71b. It is supposed to be.

エラー情報登録手段71eは、手順検出手段71cにより手順異常エラーの発生が検出された場合は、エラー情報履歴格納領域73d−1に手順異常のエラーコード(例えば、BLS123PE)を記憶するようになっている。   When the procedure detection unit 71c detects the occurrence of a procedure abnormality error, the error information registration unit 71e stores a procedure abnormality error code (for example, BLS123PE) in the error information history storage area 73d-1. Yes.

エラー情報登録手段71eは、データ破壊検出手段71dによりサム異常エラーの発生が検出された場合は、エラー情報履歴格納領域73d−1にサム異常のエラーコード(MEM ERR ALM)を記憶するようになっている。   The error information registration unit 71e stores the error code (MEM ERR ALM) of the sum abnormality in the error information history storage area 73d-1 when the occurrence of the sum abnormality error is detected by the data destruction detection unit 71d. ing.

また、エラー情報履歴格納領域73d−1では、エラーコードが逐次記憶されることにより、エラー情報履歴が作成されるようになっている。   In the error information history storage area 73d-1, an error information history is created by sequentially storing error codes.

受信データログ保存手段71fは、後述する図67に示す主基板通信受信データログ保存処理を実行することにより、受信ログ(以下、通信ログともいう)に関する情報を収集して、後述する図68に示す主基板通信受信データログ一時領域保存処理を実行することにより通信ログ収集用リングバッファ領域73e−1に通信ログを1つだけ一時的に保存する。   The reception data log storage unit 71f collects information about a reception log (hereinafter also referred to as a communication log) by executing a main board communication reception data log storage process shown in FIG. By executing the main board communication reception data log temporary area saving process shown, only one communication log is temporarily stored in the communication log collection ring buffer area 73e-1.

さらに、受信データログ保存手段71fは、後述する図69に示す主基板通信エラー履歴データ保存処理を実行することにより、通信エラー検出手段71bにより通信エラーの発生が検出された場合に、通信エラー保存バッファ領域73f−1に通信エラーに関する通信ログ(以下、通信エラーログという)を1024個まで保存するようになっている。   Further, the received data log storage unit 71f executes a main board communication error history data storage process shown in FIG. 69 to be described later, and when the occurrence of a communication error is detected by the communication error detection unit 71b, a communication error storage is performed. Up to 1024 communication logs related to communication errors (hereinafter referred to as communication error logs) are stored in the buffer area 73f-1.

エラー情報履歴表示手段71gは、ドアキー2が所定の操作をされることにより、エラー情報履歴格納領域73d−1に記憶されたエラー情報履歴を液晶表示装置5に表示させるようになっている。このエラー情報履歴表示手段71gは、本発明に係るエラー情報表示手段を構成する。   The error information history display means 71g displays the error information history stored in the error information history storage area 73d-1 on the liquid crystal display device 5 when the door key 2 is operated in a predetermined manner. This error information history display means 71g constitutes an error information display means according to the present invention.

二次元コード変換手段71hは、通信エラー検出手段71bにより通信エラーの発生が検出された場合に、通信エラー保存バッファ領域73f−1に記憶された通信エラーに関する通信エラーログおよび送信先であるデータ管理サーバ500のドメインを送信情報として二次元コード300に変換し、エラー情報履歴表示手段71gに送信するようになっている。   The two-dimensional code conversion means 71h, when the occurrence of a communication error is detected by the communication error detection means 71b, the communication error log related to the communication error stored in the communication error storage buffer area 73f-1 and the data management as the transmission destination The domain of the server 500 is converted into two-dimensional code 300 as transmission information and transmitted to the error information history display means 71g.

そして、エラー情報履歴表示手段71gは、図53に示すように、エラー情報履歴が表示された液晶表示領域23において「COMエラーアラーム」項目23bが選択された場合に、「COMエラーアラーム」項目23bの右側に、その通信エラーに対応する二次元コード300を表示させるようになっている。   Then, as shown in FIG. 53, the error information history display means 71g displays the “COM error alarm” item 23b when the “COM error alarm” item 23b is selected in the liquid crystal display area 23 where the error information history is displayed. A two-dimensional code 300 corresponding to the communication error is displayed on the right side.

ここで、図54に示すように、二次元コード変換手段71hにより作成される二次元コード300に含まれる送信情報は192バイトからなる。送信情報は、本実施の形態において説明した機種の遊技機1のみならず、他機種の遊技機で記録されたエラー情報も送信できるように汎用的な構成となっている。あるいは、送信情報に遊技者の遊技記録を含めてもよい。以下、送信情報に含まれる項目について説明する。   Here, as shown in FIG. 54, the transmission information included in the two-dimensional code 300 created by the two-dimensional code conversion means 71h consists of 192 bytes. The transmission information has a general-purpose configuration so that error information recorded in not only the gaming machine 1 of the model described in the present embodiment but also other types of gaming machines can be transmitted. Alternatively, a player's game record may be included in the transmission information. Hereinafter, items included in the transmission information will be described.

送信情報の0バイト目から28バイト目には、データ管理サーバ500のドメインと、データ管理サーバ500に対するリクエストを示すデータがセットされる。送信情報の29バイト目から39バイト目には、遊技機1を識別するための筐体固有コードがセットされる。   Data indicating the domain of the data management server 500 and a request to the data management server 500 is set in the 0th to 28th bytes of the transmission information. A case-specific code for identifying the gaming machine 1 is set in the 29th to 39th bytes of the transmission information.

送信情報の40バイト目から61バイト目は、予備領域である。送信情報の62バイト目から67バイト目には、送信情報生成時の時刻がセットされる。送信情報の68バイト目から71バイト目には、遊技機1の種別を示す機種コードがセットされる。   The 40th to 61st bytes of the transmission information are reserved areas. The transmission information generation time is set in the 62nd to 67th bytes of the transmission information. A model code indicating the type of the gaming machine 1 is set in the 68th to 71st bytes of the transmission information.

送信情報の72バイト目から73バイト目には、種別番号がセットされる。ここでは、72バイト目および73バイト目の両方を3FHに設定する。   A type number is set in the 72nd to 73rd bytes of the transmission information. Here, both the 72nd byte and the 73rd byte are set to 3FH.

送信情報の74バイト目から75バイト目には、エラーの種類がセットされる。送信情報の76バイト目から188バイト目には、エラー情報がセットされる。送信情報の189バイト目から191バイト目には、チェックサムがセットされる。   The error type is set in the 74th to 75th bytes of the transmission information. Error information is set in the 76th to 188th bytes of the transmission information. A checksum is set from the 189th byte to the 191st byte of the transmission information.

送信情報の76バイト目から188バイト目に設定されるエラー情報は、1文字(6ビット)からなるコマンド種別を備えている。そして、コマンド種別がパラメータを付随するものである場合は、その1文字のコマンド種別の後に2文字(12ビット)からなるパラメータをも備えている。図55にコマンドの種別とパラメータとの例を示す。   The error information set in the 76th to 188th bytes of the transmission information has a command type consisting of one character (6 bits). If the command type is accompanied by a parameter, it is also provided with a parameter consisting of two characters (12 bits) after the one-character command type. FIG. 55 shows examples of command types and parameters.

本実施の形態では、サブCPU71には、ドアキースイッチ2Sが接続されている。ドアキースイッチ2Sは、ドアキー2が左方向に回転操作されたことを検出して、サブCPU71に出力する。   In the present embodiment, a door key switch 2S is connected to the sub CPU 71. The door key switch 2S detects that the door key 2 has been rotated in the left direction and outputs it to the sub CPU 71.

ここでは、ドアキー2が左方向に回転操作されることにより、遊技機1のエラーがリセットされるようになっている。   Here, the error of the gaming machine 1 is reset when the door key 2 is rotated leftward.

通信エラー検出手段71bにより通信エラーの発生が検出された場合は、エラー情報登録手段71eは、通信エラーのエラーコードをサブRAM73−1のエラー情報履歴格納領域73d−1に記憶する。そして、受信データログ保存手段71fは、通信ログ収集用リングバッファ領域73e−1に通信ログを保存するとともに、通信エラー保存バッファ領域73f−1に通信エラーログを保存する。   When the occurrence of a communication error is detected by the communication error detection means 71b, the error information registration means 71e stores the error code of the communication error in the error information history storage area 73d-1 of the sub RAM 73-1. The received data log storage unit 71f stores the communication log in the communication log collection ring buffer area 73e-1, and stores the communication error log in the communication error storage buffer area 73f-1.

また、通信エラー検出手段71b以外の手順検出手段71cやデータ破壊検出手段71dやその他のエラー検出手段により通信エラー以外のエラーの発生が検出された場合は、エラー情報登録手段71eは、エラーのエラーコードをサブRAM73−1のエラー情報履歴格納領域73d−1に記憶する。そして、受信データログ保存手段71fは、通信ログ収集用リングバッファ領域73e−1に通信ログを保存するが、通信エラー保存バッファ領域73f−1に対しては保存を行わない。   If the occurrence of an error other than a communication error is detected by the procedure detection means 71c other than the communication error detection means 71b, the data destruction detection means 71d, or other error detection means, the error information registration means 71e The code is stored in the error information history storage area 73d-1 of the sub RAM 73-1. The received data log storage unit 71f stores the communication log in the communication log collection ring buffer area 73e-1, but does not store the communication error storage buffer area 73f-1.

そして、ドアキー2が所定の操作をされることにより、エラー情報履歴表示手段71gが、エラー情報履歴格納領域73d−1に記憶されたエラー情報履歴を液晶表示装置5に表示させる。この場合、エラー情報履歴表示手段71gは、図53に示すように、液晶表示領域23において「COMエラーアラーム」項目23bが選択された場合に、「COMエラーアラーム」項目23bの右側に、その通信エラーに対応する二次元コード300を表示させるようになっている。   Then, when the door key 2 is operated in a predetermined manner, the error information history display means 71g causes the liquid crystal display device 5 to display the error information history stored in the error information history storage area 73d-1. In this case, as shown in FIG. 53, when the “COM error alarm” item 23b is selected in the liquid crystal display area 23, the error information history display means 71g displays the communication on the right side of the “COM error alarm” item 23b. A two-dimensional code 300 corresponding to the error is displayed.

本実施の形態では、図53に示すエラー情報履歴を液晶表示装置5に表示させるために、係員による通常操作と簡易操作との2種類の操作法を採用している。   In the present embodiment, in order to display the error information history shown in FIG. 53 on the liquid crystal display device 5, two kinds of operation methods of normal operation and simple operation by an attendant are adopted.

通常操作では、係員がドアキー2を右回転させて前面扉1bのロック機構を解放し、設定キーをオン操作して設定キースイッチ20Sをオンにすることで、液晶表示領域23に図52に示すメニュー画面が表示される。そして、係員が操作キーを操作して、「エラー情報履歴」項目23aを選択することで、液晶表示領域23に図53に示すエラー情報履歴画面が表示されるようになっている。   In the normal operation, the clerk turns the door key 2 to the right to release the lock mechanism of the front door 1b, turns on the setting key to turn on the setting key switch 20S, and the liquid crystal display area 23 is shown in FIG. The menu screen is displayed. Then, when the clerk operates the operation key and selects the “error information history” item 23 a, the error information history screen shown in FIG. 53 is displayed in the liquid crystal display area 23.

一方、簡易操作では、係員がドアキー2を左回転させてエラーのリセットを行い、その状態を一定時間、例えば5秒間以上保持することで、液晶表示領域23に図53に示すエラー情報履歴画面が表示されるようになっている。   On the other hand, in the simple operation, the clerk turns the door key 2 counterclockwise to reset the error, and holds the state for a predetermined time, for example, 5 seconds or more, so that the error information history screen shown in FIG. It is displayed.

また、サブCPU71は、計時専用回路の内蔵RTC70aを内蔵する。サブCPU71には、その内蔵RTC70aのバックアップ用として外付けRTC70cが接続されている。外付けRTC70cおよびSRAM73−2にはバッテリー70bが接続されている。内蔵RTC70aおよび外付けRTC70cは後述する図72に示すRTC制御タスクにより処理される。   Further, the sub CPU 71 has a built-in RTC 70a with a dedicated clocking circuit. An external RTC 70c is connected to the sub CPU 71 for backup of the built-in RTC 70a. A battery 70b is connected to the external RTC 70c and the SRAM 73-2. The internal RTC 70a and the external RTC 70c are processed by an RTC control task shown in FIG.

GPU74は、サブCPU71から受信する画像表示コマンド等に基づいて、液晶表示装置5に画像を表示させるための処理を行う。GPU74が行う処理に必要なデータは起動時にVRAM75に展開される。GPU74は、VRAM75に展開されている画像データを後方に位置する背景画像から前方に位置する画像まで順に重ね合わせて画像データを生成し、液晶表示装置5に供給する。   The GPU 74 performs a process for displaying an image on the liquid crystal display device 5 based on an image display command received from the sub CPU 71. Data necessary for processing performed by the GPU 74 is expanded in the VRAM 75 at the time of activation. The GPU 74 superimposes the image data developed in the VRAM 75 in order from the background image located at the rear to the image located at the front to generate image data, and supplies the image data to the liquid crystal display device 5.

この結果、サブCPU71により決定された演出データに応じた画像が液晶表示装置5によって液晶表示領域23に表示される。   As a result, an image corresponding to the effect data determined by the sub CPU 71 is displayed on the liquid crystal display area 23 by the liquid crystal display device 5.

VRAM75は、書込画像データ領域と表示画像データ領域の2つのフレームバッファを有し、書込画像データ領域は、GPU74が表示画像を生成した画像データを格納し、また、表示画像データ領域は、液晶表示装置5に表示させる画像データを格納する。   The VRAM 75 has two frame buffers, a writing image data area and a display image data area. The writing image data area stores image data generated by the GPU 74, and the display image data area includes Image data to be displayed on the liquid crystal display device 5 is stored.

GPU74は、これらのフレームバッファを交互に切り替える(すなわち、バンクを切り替える)ことにより、順次、画像データを液晶表示装置5に表示させる。   The GPU 74 causes the liquid crystal display device 5 to sequentially display image data by alternately switching these frame buffers (that is, switching banks).

デジタルアンプ78は、サブCPU71が演出データに基づいて選択するデジタル形式の音データを、遊技機1に設けられた音量調整用ツマミ(図示しない)により調節された音量に基づいて増幅し、アナログ形式の音データに変換してスピーカ21L、21Rに送信する。この結果、サブCPU71により決定された演出データに応じた音が、スピーカ21L、21Rから出力される。   The digital amplifier 78 amplifies the digital sound data selected by the sub CPU 71 based on the effect data based on the volume adjusted by a volume adjusting knob (not shown) provided in the gaming machine 1, and the analog amplifier Is transmitted to the speakers 21L and 21R. As a result, sounds corresponding to the effect data determined by the sub CPU 71 are output from the speakers 21L and 21R.

[暗号化処理、復号化処理]
次に、図15〜図18を参照して、主制御回路60のメインCPU31が行う暗号化処理と、副制御回路70のサブCPU71が行う復号化処理について説明する。本実施の形態では、データ入替パターンAおよびBと、演算パターンAおよびBの4つの暗号化処理、復号化処理について説明する。
[Encryption processing, decryption processing]
Next, an encryption process performed by the main CPU 31 of the main control circuit 60 and a decryption process performed by the sub CPU 71 of the sub control circuit 70 will be described with reference to FIGS. In the present embodiment, four encryption processes and decryption processes of data replacement patterns A and B and operation patterns A and B will be described.

(データ入替パターンA)
図15を参照して、データ入替パターンAについて説明する。図15(a)は、暗号化処理を行う前の、1パケットに含まれる8バイトのデータの構成を示している。図15(a)において、B0〜B7は8バイトの各データを2進数で表したときの0ビット〜7ビットのデータを示している。また、例えば、「1−B7」は、1バイト目のデータを2進数で表したときの7ビットのデータを表している。
(Data replacement pattern A)
The data replacement pattern A will be described with reference to FIG. FIG. 15A shows the structure of 8-byte data included in one packet before encryption processing. In FIG. 15A, B0 to B7 indicate 0-bit to 7-bit data when each 8-byte data is represented by a binary number. For example, “1-B7” represents 7-bit data when the first byte data is represented in binary.

メインCPU31は、図15(a)に示す構成において、1バイトずつ取り出して、ビット列の配列順序を維持した状態で、予め定められたデータ配列順序に基づいて、1バイト目のデータから8バイト目までのデータの配置を入れ替え、図15(b)に示すような8バイトのデータを生成することにより、暗号化処理を行うようになっている。   In the configuration shown in FIG. 15A, the main CPU 31 takes out one byte at a time, maintains the bit string arrangement order, and starts with the eighth byte from the first byte data based on the predetermined data arrangement order. The arrangement of the data up to this point is exchanged to generate 8-byte data as shown in FIG. 15B, thereby performing encryption processing.

具体的には、メインCPU31は、1バイト目のデータを8バイト目に、2バイト目のデータを7バイト目に、・・・、8バイト目のデータを1バイト目にというように、各データのビット列の配列順序を維持したままデータを入れ替えて暗号化処理を行うようになっている。   Specifically, the main CPU 31 sets the first byte data to the eighth byte, the second byte data to the seventh byte,..., The eighth byte data to the first byte, and so on. The encryption process is performed by replacing the data while maintaining the arrangement order of the bit strings of the data.

サブCPU71は、図15(b)に示す構成において、1バイトずつ取り出して、ビット列の配列順序を維持した状態で、予め定められたデータ配列順序に基づいて、1バイト目のデータから8バイト目までのデータの配置を入れ替え、図15(a)に示すような8バイトのデータを生成することにより、復号化処理を行うようになっている。すなわち、復号化処理は、暗号化処理の逆の手順となる。   In the configuration shown in FIG. 15 (b), the sub CPU 71 takes out one byte at a time and maintains the bit string arrangement order, and the eighth byte from the first byte data based on a predetermined data arrangement order. Decoding processing is performed by replacing the arrangement of the data up to and generating 8-byte data as shown in FIG. That is, the decryption process is the reverse procedure of the encryption process.

サブCPU71は、8バイト目のデータを1バイト目に、7バイト目のデータを2バイト目に、・・・、1バイト目のデータを8バイト目にというように、各データのビット列の配列順序を維持したままデータを入れ替えて復号化処理を行うようになっている。   The sub CPU 71 arranges the bit string of each data so that the eighth byte data is the first byte, the seventh byte data is the second byte,... The first byte data is the eighth byte. Decoding processing is performed by exchanging data while maintaining the order.

さらに具体的には、図15(a)の右側に示すように、暗号化処理前のデータの1〜8バイトの構成が、01H、03H、05H、07H、09H、0BH、0DH、0FHである場合、メインCPU31が暗号化処理を行うと、図15(b)の右側に示すように、暗号化処理後のデータの1〜8バイトの構成が、0FH、0DH、0BH、09H、07H、05H、03H、01Hとなる。   More specifically, as shown on the right side of FIG. 15A, the structure of 1 to 8 bytes of data before encryption processing is 01H, 03H, 05H, 07H, 09H, 0BH, 0DH, and 0FH. In this case, when the main CPU 31 performs the encryption process, as shown on the right side of FIG. 15B, the configuration of 1 to 8 bytes of the data after the encryption process is 0FH, 0DH, 0BH, 09H, 07H, 05H. , 03H and 01H.

なお、前述の説明では、1パケットに含まれるデータを8バイトとしたが、本発明はこれに限定されない。1パケットに含まれるデータをnバイトとすると、メインCPU31は、1バイト目のデータをnバイト目に、2バイト目のデータを(nー1)バイト目に、3バイト目のデータを(nー2)バイト目にというように、各データのビット位置は保持したままデータを入れ替えて暗号化処理を行う。この場合、サブCPU71は、nバイト目のデータを1バイト目に、(n−1)バイト目のデータを2バイト目に、(n−2)バイト目のデータを3バイト目にというように、各データのビット位置を保持したままデータを入れ替えて復号化処理を行う。   In the above description, the data included in one packet is 8 bytes, but the present invention is not limited to this. If the data included in one packet is n bytes, the main CPU 31 sets the first byte data to the nth byte, the second byte data to the (n-1) byte, the third byte data to (n -2) As in the byte, the data is exchanged while the bit position of each data is held, and the encryption process is performed. In this case, the sub CPU 71 sets the nth byte data to the first byte, the (n-1) th byte data to the second byte, the (n-2) th byte data to the third byte, and so on. The data is exchanged while the bit position of each data is held, and the decoding process is performed.

また、例えば、メインCPU31が、互いに隣接するデータを入れ替える構成であってもよい。具体的には、メインCPU31が、1バイト目と2バイト目とを入れ替え、・・・、(n−1)バイト目とnバイト目とを入れ替えて暗号化処理を行う構成であってもよい。   For example, the main CPU 31 may be configured to replace adjacent data. Specifically, the main CPU 31 may perform encryption processing by exchanging the first byte and the second byte,..., (N−1) th byte and the nth byte. .

(データ入替パターンB)
図16を参照して、データ入替パターンBについて説明する。図16(a)は、前述の図15(a)と同様に、1パケットに含まれる8バイトのデータの構成を示している。
(Data replacement pattern B)
The data replacement pattern B will be described with reference to FIG. FIG. 16A shows the configuration of 8-byte data included in one packet, similar to FIG. 15A described above.

メインCPU31は、図16(a)に示す構成において、1バイトずつ取り出して、データ配列順序を維持した状態で、予め定められたビット列の配列順序に基づいて、0ビット目(B0)のデータから7ビット目(B7)までのビット列の配列順序を入れ替え、図16(b)に示すような8バイトのデータを生成することにより、暗号化処理を行うようになっている。   In the configuration shown in FIG. 16A, the main CPU 31 extracts one byte at a time and maintains the data arrangement order from the 0th bit (B0) data based on the predetermined bit string arrangement order. The arrangement order of the bit string up to the seventh bit (B7) is changed, and the 8-byte data as shown in FIG. 16B is generated to perform the encryption process.

具体的には、メインCPU31は、0ビット目のデータを7ビット目のデータに、1ビット目のデータを6ビット目のデータに、・・・7ビット目のデータを0ビット目のデータにというように、データ配列順序を維持した状態で、ビット列の配列順序を入れ替えて暗号化処理を行うようになっている。   Specifically, the main CPU 31 converts the 0th bit data into the 7th bit data, the 1st bit data into the 6th bit data,..., The 7th bit data into the 0th bit data. As described above, while maintaining the data arrangement order, the bit string arrangement order is changed and encryption processing is performed.

サブCPU71は、図16(b)に示す構成において、1バイトずつ取り出して、データ配列順序を維持した状態で、予め定められたビット列の配列順序に基づいて、0ビット目(B0)のデータから7ビット目(B7)までのビット列の配列順序を入れ替え、図16(a)に示すような8バイトのデータを生成することにより、復号化処理を行うようになっている。すなわち、復号化処理は、暗号化処理の逆の手順となる。   In the configuration shown in FIG. 16B, the sub CPU 71 extracts one byte at a time and maintains the data arrangement order from the 0th bit (B0) data based on the predetermined bit string arrangement order. Decoding processing is performed by changing the arrangement order of the bit strings up to the seventh bit (B7) and generating 8-byte data as shown in FIG. That is, the decryption process is the reverse procedure of the encryption process.

サブCPU71は、7ビット目のデータを0ビット目のデータに、6ビット目のデータを1ビット目のデータに、・・・0ビット目のデータを7ビット目のデータにというように、データ配列順序を維持したままビット列の配列順序を入れ替えて暗号化処理を行うようになっている。   The sub CPU 71 sets the 7th bit data to the 0th bit data, the 6th bit data to the 1st bit data,..., The 0th bit data to the 7th bit data, and so on. The encryption processing is performed by changing the arrangement order of the bit strings while maintaining the arrangement order.

さらに具体的には、図16(a)の右側に示すように、暗号化処理前のデータの1〜8バイトの構成が、01H、03H、05H、07H、09H、0BH、0DH、0FHである場合、メインCPU31が暗号化処理を行うと、図16(b)の右側に示すように、暗号化処理後のデータの1〜8バイトの構成が、80H、C0H、A0H、E0H、90H、50H、B0H、F0Hとなる。   More specifically, as shown on the right side of FIG. 16A, the configuration of 1 to 8 bytes of data before encryption processing is 01H, 03H, 05H, 07H, 09H, 0BH, 0DH, and 0FH. In this case, when the main CPU 31 performs the encryption process, as shown on the right side of FIG. 16B, the configuration of 1 to 8 bytes of the data after the encryption process is 80H, C0H, A0H, E0H, 90H, 50H. , B0H, F0H.

なお、前述の説明では、1パケットに含まれるデータを8バイトとしたが、本発明はこれに限定されない。また、例えば、メインCPU31が、互いに隣接するビット位置のデータを入れ替える構成であってもよい。具体的には、メインCPU31が、0ビット目と1ビット目とを入れ替え、2ビット目と3ビット目とを入れ替え、というように暗号化処理を行う構成であってもよい。   In the above description, the data included in one packet is 8 bytes, but the present invention is not limited to this. Further, for example, the main CPU 31 may replace data at bit positions adjacent to each other. Specifically, the main CPU 31 may perform the encryption process such that the 0th bit and the 1st bit are exchanged, and the 2nd bit and the 3rd bit are exchanged.

また、前述のデータ入替パターンAと、データ入替パターンBとを組み合わせて、暗号化処理、復号化処理を行う構成としてもよい。   Further, the data replacement pattern A and the data replacement pattern B described above may be combined to perform encryption processing and decryption processing.

(演算パターンA)
図17を参照して、演算パターンAについて説明する。図17(a)は、暗号化処理を行う前の、1パケットに含まれる8バイトのデータの構成を示している。図17(a)に示すように、1バイト目のデータは01H、2バイト目のデータは03H、・・・、8バイト目のデータは0FHである。また、機種IDを示すデータは5AHとしている。
(Calculation pattern A)
The calculation pattern A will be described with reference to FIG. FIG. 17A shows the structure of 8-byte data included in one packet before encryption processing. As shown in FIG. 17A, the first byte data is 01H, the second byte data is 03H,..., And the eighth byte data is 0FH. The data indicating the model ID is 5AH.

メインCPU31は、図17(a)に示す構成において、1バイト目から8バイト目までの各データに対して、機種IDを示すデータである5AHとの排他的論理和(以下、「XOR論理演算」という)を行って、図17(b)に示すような8バイトのデータを生成することにより、データ配列順序を維持した状態で、暗号化処理を行うようになっている。   In the configuration shown in FIG. 17A, the main CPU 31 performs exclusive OR (hereinafter referred to as “XOR logical operation”) on each data from the 1st byte to the 8th byte with 5AH which is data indicating the model ID. ”) To generate 8-byte data as shown in FIG. 17B, whereby the encryption process is performed while maintaining the data arrangement order.

具体的には、例えば、メインCPU31は、1バイト目の01Hと5AHとのXOR論理演算から5BHを得る。また、例えば、メインCPU31は、8バイト目の0FHと5AHとのXOR論理演算から55Hを得る。メインCPU31は、このXOR論理演算の結果、図17(b)に示すように、1バイト目のデータは5BH、2バイト目のデータは59H、・・・、8バイト目のデータは55Hという暗号化処理がなされたデータを生成する。   Specifically, for example, the main CPU 31 obtains 5BH from the XOR logical operation of 01H and 5AH in the first byte. For example, the main CPU 31 obtains 55H from the XOR logic operation of 0FH and 5AH in the eighth byte. As a result of this XOR logic operation, the main CPU 31 encrypts that the first byte data is 5BH, the second byte data is 59H,..., And the eighth byte data is 55H, as shown in FIG. Data that has been processed is generated.

サブCPU71は、図17(b)に示す構成において、1バイト目から8バイト目までの各データに対して、機種IDを示すデータである5AHとのXOR論理演算を行って、図17(a)に示すような8バイトのデータを生成することにより、データ配列順序を維持した状態で、復号化処理を行うようになっている。   In the configuration shown in FIG. 17B, the sub CPU 71 performs an XOR logic operation on each data from the 1st byte to the 8th byte and 5AH which is data indicating the model ID, and then performs the operation shown in FIG. 8) data is generated, the decoding process is performed while maintaining the data arrangement order.

具体的には、例えば、サブCPU71は、1バイト目の5BHと5AHとのXOR論理演算から01Hを得る。また、例えば、サブCPU71は、8バイト目の55Hと5AHとのXOR論理演算から0FHを得る。サブCPU71は、このXOR論理演算の結果、図17(a)に示すように、1バイト目のデータは01H、2バイト目のデータは03H、・・・、8バイト目のデータは0FHという復号化処理がなされたデータを生成する。   Specifically, for example, the sub CPU 71 obtains 01H from the XOR logic operation of 5BH and 5AH in the first byte. For example, the sub CPU 71 obtains 0FH from the XOR logic operation of 55H and 5AH in the eighth byte. As a result of this XOR logic operation, the sub CPU 71 decodes 01H for the first byte data, 03H for the second byte data,..., 0FH for the eighth byte data, as shown in FIG. Data that has been processed is generated.

なお、前述の説明では、1パケットに含まれるデータを8バイトとしたが、本発明はこれに限定されない。また、機種IDのデータとのXOR論理演算により暗号化処理、復号化処理を行う説明をしたが、本発明はこれに限定されず、機種ID以外の所定データとのXOR論理演算により暗号化処理、復号化処理を行うものでもよい。   In the above description, the data included in one packet is 8 bytes, but the present invention is not limited to this. Further, the encryption process and the decryption process are described by the XOR logic operation with the model ID data, but the present invention is not limited to this, and the encryption process is performed by the XOR logic operation with predetermined data other than the model ID. Alternatively, a decoding process may be performed.

(演算パターンB)
図18を参照して、演算パターンBについて説明する。図18(a)は、暗号化処理を行う前の、1パケットに含まれる8バイトのデータの構成を示しており、前述の図17(a)と同じである。
(Calculation pattern B)
The calculation pattern B will be described with reference to FIG. FIG. 18A shows the configuration of 8-byte data included in one packet before encryption processing, and is the same as FIG. 17A described above.

メインCPU31は、図18(a)に示す構成において、1バイト目から8バイト目までの各データに対して、機種IDを示すデータである5AHとの加算演算を行って、図18(b)に示すような8バイトのデータを生成することにより、データ配列順序を維持した状態で、暗号化処理を行うようになっている。   In the configuration shown in FIG. 18A, the main CPU 31 performs an addition operation with 5AH, which is data indicating the model ID, for each data from the first byte to the eighth byte, and FIG. By generating the 8-byte data as shown in FIG. 6, the encryption process is performed while maintaining the data arrangement order.

具体的には、例えば、メインCPU31は、1バイト目の01Hに5AHを加算して5BHを得る。また、例えば、メインCPU31は、8バイト目の0FHに5AHを加算して69Hを得る。メインCPU31は、この加算演算の結果、図18(b)に示すように、1バイト目のデータは5BH、2バイト目のデータは5DH、・・・、8バイト目のデータは69Hという暗号化処理がなされたデータを生成する。   Specifically, for example, the main CPU 31 adds 5AH to 01H of the first byte to obtain 5BH. For example, the main CPU 31 adds 69 AH to 0FH of the eighth byte to obtain 69H. As a result of this addition operation, the main CPU 31 encrypts the first byte of data as 5BH, the second byte of data as 5DH,..., The eighth byte of data as 69H, as shown in FIG. Generate processed data.

サブCPU71は、図18(b)に示す構成において、1バイト目から8バイト目までの各データに対して、機種IDを示すデータである5AHとの減算演算を行って、図18(a)に示すような8バイトのデータを生成することにより、データ配列順序を維持した状態で、復号化処理を行うようになっている。   In the configuration shown in FIG. 18B, the sub CPU 71 performs a subtraction operation with respect to each data from the 1st byte to the 8th byte with 5AH which is data indicating the model ID. By generating the 8-byte data as shown in FIG. 8, the decoding process is performed while maintaining the data arrangement order.

具体的には、例えば、サブCPU71は、1バイト目の5BHから5AHを減算して01Hを得る。また、例えば、サブCPU71は、8バイト目の69Hから5AHを減算して0FHを得る。サブCPU71は、この減算演算の結果、図18(a)に示すように、1バイト目のデータは01H、2バイト目のデータは03H、・・・、8バイト目のデータは0FHという復号化処理がなされたデータを生成する。   Specifically, for example, the sub CPU 71 subtracts 5AH from 5BH of the first byte to obtain 01H. Further, for example, the sub CPU 71 subtracts 5AH from 69H of the 8th byte to obtain 0FH. As a result of this subtraction operation, the sub CPU 71 decodes the first byte data as 01H, the second byte data as 03H,..., And the eighth byte data as 0FH as shown in FIG. Generate processed data.

なお、前述の説明では、1パケットに含まれるデータを8バイトとしたが、本発明はこれに限定されない。また、機種IDのデータとの加算演算により暗号化処理を行い、機種IDのデータとの減算演算により復号化処理を行う説明をしたが、本発明はこれに限定されず、機種ID以外の所定データとの加算演算、減算演算により暗号化処理、復号化処理を行う構成としてもよい。   In the above description, the data included in one packet is 8 bytes, but the present invention is not limited to this. In addition, although the encryption process is performed by the addition operation with the model ID data and the decryption process is performed by the subtraction operation with the model ID data, the present invention is not limited to this, and the predetermined process other than the model ID is performed. An encryption process and a decryption process may be performed by addition and subtraction operations with data.

[遊技状態]
次に、図19を参照して、遊技状態の遷移について説明する。主制御回路60において管理する主な遊技状態には一般遊技状態、RT1遊技状態、RT2遊技状態、RT3遊技状態、RT4遊技状態、BB遊技状態(BB1遊技状態〜BB4遊技状態の総称)がある。また、図示しないが、1ゲームのみ他の遊技状態と併存するSB遊技状態や、BB1遊技状態〜BB3遊技状態において作動するRB1遊技状態、BB4遊技状態において作動するRB2遊技状態がある。
[Game state]
Next, with reference to FIG. 19, the transition of the gaming state will be described. The main gaming state managed by the main control circuit 60 includes a general gaming state, an RT1 gaming state, an RT2 gaming state, an RT3 gaming state, an RT4 gaming state, and a BB gaming state (a general term of BB1 gaming state to BB4 gaming state). Although not shown, there is an SB gaming state in which only one game coexists with other gaming states, an RB1 gaming state that operates in the BB1 gaming state to the BB3 gaming state, and an RB2 gaming state that operates in the BB4 gaming state.

まず、一般遊技状態においてSBこぼし目(SBこぼし目1〜SBこぼし目12)が有効ライン上に表示されることにより、RT1遊技状態に遷移する。次いで、RT1遊技状態において上げ1段階リプ1が有効ライン上に表示されることにより、RT2遊技状態に遷移する。次いで、RT2遊技状態において上げ2段階リプ(上げ2段階リプ1、上げ2段階リプ2)、上げ2目(上げ2目1〜上げ2目3)が有効ライン上に表示されることにより、RT3遊技状態に遷移する。   First, in the general gaming state, the SB spilled eyes (SB spilled eyes 1 to SB spilled eyes 12) are displayed on the active line, thereby transitioning to the RT1 gaming state. Next, in the RT1 gaming state, the raised one-step lip 1 is displayed on the active line, thereby transitioning to the RT2 gaming state. Next, in the RT2 gaming state, the two-step up lip (up two-step lip 1, up two-step lip 2) and the second up (up two to one up two) are displayed on the active line, so that RT3 Transition to the gaming state.

また、RT2遊技状態またはRT3遊技状態において、SBこぼし目(SBこぼし目1〜SBこぼし目12)が有効ライン上に表示されることにより、RT1遊技状態に遷移する。RT1遊技状態〜RT3遊技状態において、押し順ベル失敗(押し順ベル失敗1〜押し順ベル失敗4)が有効ライン上に表示されることにより、一般遊技状態に遷移する。   Further, in the RT2 gaming state or the RT3 gaming state, the SB spilling eyes (SB spilling eyes 1 to SB spilling eyes 12) are displayed on the active line, thereby transitioning to the RT1 gaming state. In the RT1 gaming state to the RT3 gaming state, the push order bell failure (push order bell failure 1 to push order bell failure 4) is displayed on the active line, thereby transitioning to the general gaming state.

一般遊技状態、RT1遊技状態〜RT3遊技状態において、BB(BB1〜BB4)が内部当籤役として決定されることにより、RT4遊技状態に遷移する。RT4遊技状態において、BB(BB1〜BB4)が表示されることにより、BB遊技状態に遷移する。BB遊技状態において所定枚数(270枚または60枚)のメダルが払い出されると、一般遊技状態に遷移する。   In the general gaming state, the RT1 gaming state to the RT3 gaming state, the BB (BB1 to BB4) is determined as the internal winning combination, thereby transitioning to the RT4 gaming state. In the RT4 gaming state, BB (BB1 to BB4) is displayed, thereby transitioning to the BB gaming state. When a predetermined number (270 or 60) of medals are paid out in the BB gaming state, a transition is made to the general gaming state.

次に、図20を参照して、主制御回路60のメインROM32に記憶されている内部抽籤テーブル決定テーブルについて説明する。なお、図20は、本実施の形態における遊技機1の内部抽籤テーブル決定テーブルの例を示す図である。   Next, an internal lottery table determination table stored in the main ROM 32 of the main control circuit 60 will be described with reference to FIG. FIG. 20 is a diagram illustrating an example of an internal lottery table determination table of the gaming machine 1 in the present embodiment.

内部抽籤テーブル決定テーブルには、遊技状態(後述する各遊技状態フラグのオン、オフ)に対応して、後述する内部抽籤処理において内部当籤役を決定するために使用する内部抽籤テーブルと、抽籤回数が規定されている。これにより、例えば、SB遊技状態フラグおよびRT1遊技状態フラグのみが「1(オン)」である場合には、内部抽籤テーブルとして「SB中RT1遊技状態用内部抽籤テーブル」が選択され、抽籤回数として「49」が選択される。   In the internal lottery table determination table, an internal lottery table used for determining an internal winning combination in an internal lottery process described later corresponding to a gaming state (on / off of each game state flag described later), and the number of lotteries Is stipulated. Thereby, for example, when only the SB gaming state flag and the RT1 gaming state flag are “1 (ON)”, “the internal lottery table for RT1 gaming state during SB” is selected as the number of lotteries. “49” is selected.

次に、図21〜図23を参照して、主制御回路60のメインROM32に記憶されている内部抽籤テーブルについて説明する。図21は、本実施の形態における遊技機1の一般遊技状態用内部抽籤テーブル、RT1遊技状態用内部抽籤テーブル〜RT4遊技状態用内部抽籤テーブルの例を1つに纏めた図である。   Next, an internal lottery table stored in the main ROM 32 of the main control circuit 60 will be described with reference to FIGS. FIG. 21 is a diagram in which examples of a general gaming state internal lottery table, an RT1 gaming state internal lottery table to an RT4 gaming state internal lottery table of the gaming machine 1 according to the present embodiment are grouped into one.

図22は、本実施の形態における遊技機1のRB1遊技状態用内部抽籤テーブルの例を示す図である。   FIG. 22 is a diagram illustrating an example of the internal lottery table for the RB1 gaming state of the gaming machine 1 according to the present embodiment.

図23は、本実施の形態における遊技機1のRB2遊技状態用内部抽籤テーブルの例を示す図である。なお、SB中一般遊技状態用内部抽籤テーブル、SB中RT1遊技状態用内部抽籤テーブル〜SB中RT4遊技状態用内部抽籤テーブルは、図21における当籤番号「1」に対応する抽籤値がそれぞれ「1000」ではなく「1001」であるという違いだけなので、図示を省略する。   FIG. 23 is a diagram illustrating an example of the RB2 gaming state internal lottery table of the gaming machine 1 according to the present embodiment. It should be noted that the lottery value corresponding to the winning number “1” in FIG. 21 is “1000” in the internal lottery table for the general gaming state during SB and the internal lottery table for the RT1 gaming state during SB to the internal lottery table for the RT4 gaming state during SB. The difference is only “1001”, not “”.

内部抽籤テーブルは、後述する内部抽籤処理において、内部抽籤を行う際、すなわち内部当籤役を決定する際に使用するテーブルである。内部抽籤テーブルには当籤番号毎に抽籤値とデータポインタとが規定されている。抽籤値は、データポインタを決定するために用いられる数値である。データポインタには、小役・リプレイ用データポインタとボーナス用データポインタの2種類あり、1または複数の内部当籤役と対応している。   The internal lottery table is a table used when performing internal lottery in an internal lottery process described later, that is, when determining an internal winning combination. In the internal lottery table, lottery values and data pointers are defined for each winning number. The lottery value is a numerical value used to determine the data pointer. There are two types of data pointers, a small combination / replay data pointer and a bonus data pointer, which correspond to one or more internal winning combinations.

図21〜図23に示す内部抽籤テーブルにおける当籤番号の右欄には、データポインタに対応する内部当籤役の略称を示している。また、図22および図23に示すそれぞれの内部抽籤テーブルの右側には、データポインタに対応する、各リールの上段を結ぶライン、中段を結ぶライン、または下段を結ぶラインに停止表示されうる図柄の停止形を示している。   In the internal lottery tables shown in FIGS. 21 to 23, the abbreviated names of the internal winning combinations corresponding to the data pointers are shown in the right column of the winning numbers. Also, on the right side of each internal lottery table shown in FIG. 22 and FIG. 23, symbols that can be stopped and displayed on the line connecting the upper stage, the line connecting the middle stage, or the line connecting the lower stage corresponding to the data pointer. The stop form is shown.

例えば、RB1遊技状態において、小役・リプレイ用データポインタとして「25」が決定されたときに、左リール3Lの下段、および中リール3Cの下段にドン図柄を停止表示可能なタイミングで停止操作が行われた場合には、左リール3Lの下段、および中リール3Cの下段にドン図柄が停止表示されるが、右リール3Rの下段にドン図柄が停止表示可能なタイミングで停止操作が行われた場合であっても、右リール3Rの下段にドン図柄は停止表示されない。   For example, in the RB1 gaming state, when “25” is determined as the small role / replay data pointer, a stop operation is performed at a timing at which a don symbol can be stopped and displayed on the lower stage of the left reel 3L and the lower stage of the middle reel 3C. If it is performed, the don symbol is stopped and displayed on the lower stage of the left reel 3L and the lower stage of the middle reel 3C, but the stop operation was performed at a timing at which the don symbol can be stopped and displayed on the lower stage of the right reel 3R. Even in this case, the don symbol is not stopped and displayed in the lower stage of the right reel 3R.

一方、小役・リプレイ用データポインタとして「28」が決定された場合には、左リール3Lの下段、中リール3Cの下段、右リール3Rの下段にドン図柄を停止表示可能なタイミングで停止操作が行われることで、各リールの下段を結ぶラインにドン図柄が停止表示される。   On the other hand, if “28” is determined as the small role / replay data pointer, the stop operation is performed at a timing at which a don symbol can be stopped and displayed on the lower stage of the left reel 3L, the lower stage of the middle reel 3C, and the lower stage of the right reel 3R. As a result, the don symbol is stopped and displayed on the line connecting the lower stages of the reels.

なお、図22中の入賞ライン上に揃う図柄の停止形において、「テンパイはずれ」とは、対応するライン上にドン図柄を停止表示可能なタイミングで停止操作が行われた場合であっても、「ドン図柄−ドン図柄−ドン図柄」が各リールの上段を結ぶライン、中段を結ぶライン、下段を結ぶラインに停止表示されることがない停止形を意味する。   In the stop form of the symbols aligned on the winning line in FIG. 22, “tempered losing” means that even if the stop operation is performed at a timing at which the don symbol can be stopped and displayed on the corresponding line, "Don symbol-Don symbol-Don symbol" means a stop type that is not stopped and displayed on a line connecting the upper stage of each reel, a line connecting the middle stage, and a line connecting the lower stage.

一方、「テンパイあたり」とは、対応するライン上に、ドン図柄を停止表示可能なタイミングで停止操作が行われることで、「ドン図柄−ドン図柄−ドン図柄」が各リールの上段を結ぶライン、中段を結ぶライン、または下段を結ぶラインに停止表示される停止形を意味する。   On the other hand, “per tempering” is a line in which “Don symbol-Don symbol-Don symbol” connects the upper stages of each reel by performing a stop operation on the corresponding line at a timing at which the Don symbol can be stopped and displayed. , Means a stop form that is stopped and displayed on a line connecting the middle stages or a line connecting the lower stages.

次に、抽籤値を用いてデータポインタを決定する方法、すなわち内部抽籤の方法について説明する。内部抽籤は、まず、予め定められた数値の範囲「0〜65535」の中から乱数値を抽出し、抽出した乱数値から各当籤番号に対応する抽籤値を順次減算するとともに桁かりが行われたか否かを判定することにより行われる。桁かりは、減じられる対象の数値の方が小さい場合に行われ、換言すれば減算の結果が負となるときに行われる。   Next, a method for determining a data pointer using a lottery value, that is, an internal lottery method will be described. In the internal lottery, first, a random number value is extracted from a predetermined numerical range “0 to 65535”, and a lottery value corresponding to each winning number is sequentially subtracted from the extracted random number value and a digit is performed. This is done by determining whether or not. Digit is performed when the numerical value to be subtracted is smaller, in other words, when the result of subtraction is negative.

例えば、一般遊技状態用内部抽籤テーブルが内部抽籤テーブルに決定された場合において、抽出した乱数値が「1500」である場合、初めに、メインCPU31は、「1500」から当籤番号「1」に対応する抽籤値「1000」を減算する。減算結果は「1500−1000=500」であり、正である。   For example, when the internal lottery table for the general gaming state is determined to be the internal lottery table, when the extracted random number value is “1500”, the main CPU 31 first corresponds to the winning number “1” from “1500”. The lottery value “1000” to be subtracted is subtracted. The subtraction result is “1500−1000 = 500”, which is positive.

次いで、メインCPU31は、この減算後の値「500」から当籤番号「2」に対応する抽籤値「2100」を減算する。減算結果は「500−2100=−1600」であり、負である。したがって、メインCPU31は、内部当籤役として当籤番号「2」、すなわち、小役・リプレイ用データポインタとして「13」、ボーナス用データポインタとして「0」を決定する。   Next, the main CPU 31 subtracts the lottery value “2100” corresponding to the winning number “2” from the subtracted value “500”. The subtraction result is “500-2100 = −1600”, which is negative. Therefore, the main CPU 31 determines the winning number “2” as the internal winning combination, that is, “13” as the small combination / replay data pointer and “0” as the bonus data pointer.

この内部抽籤の方法によると、抽籤値として規定されている数値が大きいほど、対応する当籤番号のデータポインタが決定される可能性が高くなる。なお、各当籤番号の当籤確率は、「各当籤番号に対応する抽籤値/抽出される可能性のある全ての乱数値の個数(「65536」)」となる。   According to this internal lottery method, the larger the numerical value defined as the lottery value, the higher the possibility that the data pointer of the corresponding winning number will be determined. The winning probability of each winning number is “the lottery value corresponding to each winning number / the number of all random values that may be extracted (“ 65536 ”)”.

なお、後述する抽籤値を用いて行う各種抽籤は、当該データポインタを決定する場合と同様である。すなわち、各種抽籤用のテーブルには、抽籤により選択する可能性のある項目(例えば、当籤番号)に対応させて抽籤値が規定されている。以下、抽籤値による各種抽籤の方法は、内部抽籤の方法と同様であるので説明を省略する。   Note that various types of lottery performed using lottery values, which will be described later, are the same as those for determining the data pointer. That is, lottery values are defined in the various lottery tables in association with items (for example, winning numbers) that may be selected by lottery. Hereinafter, the various lottery methods based on the lottery value are the same as the internal lottery method, and thus description thereof is omitted.

次に、図24を参照して、RT遷移テーブルについて説明する。RT遷移テーブルは、後述するRT制御処理において、遊技状態フラグを更新する際に使用するテーブルである。図24に示すようにRT遷移テーブルには、表示役と、これに対応して遊技状態フラグに対する制御内容が規定されている。   Next, the RT transition table will be described with reference to FIG. The RT transition table is a table used when a gaming state flag is updated in an RT control process to be described later. As shown in FIG. 24, in the RT transition table, the display combination and the control contents for the game state flag are defined correspondingly.

具体的には、押し順ベル失敗1〜押し順ベル失敗4の何れかに係る図柄の組合せが有効ライン上に停止表示された場合に、全ての遊技状態フラグをオフにする。すなわち一般遊技状態を作動させる。また、SBこぼし目1〜SBこぼし目12の何れかに係る図柄の組合せが有効ライン上に停止表示された場合に、RT1遊技状態フラグをオンとする。また、上げ1段階リプ1に係る図柄の組合せが有効ライン上に停止表示された場合に、RT2遊技状態フラグをオンとする。また、上げ2段階リプ1、上げ2段階リプ2、上げ2目1〜上げ2目3の何れかに係る図柄の組合せが有効ライン上に停止表示された場合に、RT3遊技状態フラグをオンとする。   Specifically, when the combination of symbols related to any one of push order bell failure 1 to push order bell failure 4 is stopped and displayed on the active line, all the game state flags are turned off. That is, the general gaming state is activated. In addition, when the combination of symbols related to any one of the SB spilled eyes 1 to 12 is stopped and displayed on the active line, the RT1 gaming state flag is turned on. In addition, when the combination of symbols related to the raising 1-step lip 1 is stopped and displayed on the active line, the RT2 gaming state flag is turned on. In addition, when the combination of symbols related to any one of the raising 2 stage lip 1, the raising 2 stage lip 2, and the second raising 1 to the second raising 3 is stopped on the active line, the RT3 gaming state flag is turned on. To do.

なお、押し順ベル失敗1〜押し順ベル失敗4、SBこぼし目1〜SBこぼし目12、上げ1段階リプ1、上げ2段階リプ1、上げ2段階リプ2、上げ2目1〜上げ2目3は、所定の役が内部当籤役として決定された場合であって、予め定められた停止操作順序に従って停止操作が行われた場合、予め定められた停止操作順序とは異なる停止操作順序で停止操作が行われた場合、または適切なタイミングで停止操作が行われなかった場合に、有効ライン上に停止表示される可能性がある表示役であり、詳細は後述する。   In addition, push order bell failure 1-push order bell failure 4, SB spilled eyes 1-SB spilled eyes 12, raised 1 stage lip 1, raised 2 stage lip 1, raised 2 stage lip 2, raised 2 stage 1-raised 2nd stage 3 is a case where a predetermined combination is determined as an internal winning combination, and when a stop operation is performed according to a predetermined stop operation sequence, the stop operation is stopped in a stop operation sequence different from the predetermined stop operation sequence. This is a display combination that may be stopped and displayed on the active line when an operation is performed or when a stop operation is not performed at an appropriate timing, which will be described in detail later.

次に、図25、図26を参照して、主制御回路60のメインROM32に記憶されているボーナス用内部当籤役決定テーブルおよび小役・リプレイ用内部当籤役決定テーブルについて説明する。なお、図25は、本実施の形態における遊技機1のボーナス用内部当籤役決定テーブルの例を示す図である。また、図26は、本実施の形態における遊技機1の小役・リプレイ用内部当籤役決定テーブルの例を示す図である。以下、ボーナス用内部当籤役決定テーブルおよび小役・リプレイ用内部当籤役決定テーブルを総称して、内部当籤役決定テーブルという。   Next, with reference to FIGS. 25 and 26, the bonus internal winning combination determining table and the small winning combination / replay internal winning combination determining table stored in the main ROM 32 of the main control circuit 60 will be described. FIG. 25 is a diagram showing an example of a bonus internal winning combination determination table for the gaming machine 1 in the present embodiment. FIG. 26 is a diagram showing an example of a small winning combination / replay internal winning combination determining table of the gaming machine 1 according to the present embodiment. Hereinafter, the bonus internal winning combination determination table and the small winning combination / replay internal winning combination determination table are collectively referred to as an internal winning combination determination table.

内部当籤役決定テーブルは、後述する内部抽籤処理において、データポインタに基づいて内部当籤役を決定する際に使用するテーブルである。内部当籤役決定テーブルには、データポインタに対応する内部当籤役として決定される各役が規定されている。各役は、後述する内部当籤役格納領域の格納される各ビットと対応している。したがって、何れの役が内部当籤役であるかは、内部当籤役格納領域における何れのビットが「1」であるか否かによって識別することができる。   The internal winning combination determination table is a table used when determining an internal winning combination based on a data pointer in an internal lottery process described later. Each winning combination determined as an internal winning combination corresponding to the data pointer is defined in the internal winning combination determination table. Each combination corresponds to each bit stored in an internal winning combination storage area described later. Therefore, it is possible to identify which combination is an internal winning combination by determining which bit in the internal winning combination storing area is “1”.

図25に示すボーナス用内部当籤役決定テーブルには、ボーナス用データポインタ「1」〜「5」に対応する内部当籤役が規定されている。なお、ボーナス用データポインタとして「5」が決定された場合には、所定の停止順序で停止操作を行ったか否かにより、有効ライン上にSBに係る図柄の組合せが停止表示されるか、または、有効ライン上に、SBこぼし目1〜SBこぼし目12のいずれかに係る図柄の組合せが停止表示される。   In the bonus internal winning combination determination table shown in FIG. 25, internal winning combinations corresponding to bonus data pointers “1” to “5” are defined. When “5” is determined as the bonus data pointer, the combination of symbols related to SB is stopped and displayed on the active line depending on whether or not the stop operation is performed in a predetermined stop order, or The combination of symbols related to any of the SB spilled eyes 1 to SB spilled eyes 12 is stopped and displayed on the effective line.

図26に示す小役・リプレイ用内部当籤役決定テーブルには、小役・リプレイ用データポインタ「1」〜「31」に対応する内部当籤役が規定されている。例えば、小役・リプレイ用データポインタとして「1」が決定された場合には、通常リプ1と上げ1段階リプ1が内部当籤役となる。   In the small winning combination / replay internal winning combination determining table shown in FIG. 26, internal winning combinations corresponding to the small winning combination / replay data pointers “1” to “31” are defined. For example, when “1” is determined as the small combination / replay data pointer, the normal lip 1 and the raised one-stage lip 1 become the internal winning combination.

なお、小役・リプレイ用データポインタとして「2」が決定された場合には、左リール3Lに対して第1停止操作、中リール3Cに対して第2停止操作、右リール3Rに対して第3停止操作を行った場合に限り、上げ1段階リプ1に係る図柄の組合せが有効ライン上に停止表示される。一方、これ以外の停止操作順序で停止操作を行った場合には、通常リプ1に係る図柄の組合せが有効ライン上に停止表示される。   When “2” is determined as the small role / replay data pointer, the first stop operation is performed on the left reel 3L, the second stop operation is performed on the middle reel 3C, and the second stop operation is performed on the right reel 3R. Only when the 3 stop operation is performed, the combination of symbols related to the raised 1-step lip 1 is stopped and displayed on the active line. On the other hand, when the stop operation is performed in the other stop operation order, the symbol combination related to the normal lip 1 is stopped and displayed on the active line.

小役・リプレイ用データポインタ「3」〜「6」についても、上げ1段階リプ1に係る図柄の組合せが有効ライン上に停止表示される停止操作順序が予め定められており、この停止操作順序以外の停止操作順序で停止操作が行われた場合には、通常リプ1に係る図柄の組合せが有効ライン上に停止表示される。   Also for the small role / replay data pointers “3” to “6”, a stop operation sequence in which the combination of symbols related to the raised 1-step lip 1 is stopped and displayed on the active line is determined in advance. When the stop operation is performed in a stop operation order other than the above, the symbol combination related to the normal lip 1 is stopped and displayed on the active line.

また、小役・リプレイ用データポインタとして「7」が決定された場合には、左リール3Lに対して第1停止操作を行った場合に限り、上げ2段階リプ1、上げ2段階リプ2、上げ2目1、上げ2目2、上げ2目3のいずれかに係る図柄の組合せが有効ライン上に停止表示される。   In addition, when “7” is determined as the small role / replay data pointer, only when the first stop operation is performed on the left reel 3L, the raised two-step lip 1, the raised two-step lip 2, The combination of symbols relating to any one of the raised second eye 1, the raised second eye 2, and the raised second eye 3 is stopped and displayed on the active line.

なお、上げ2目1、上げ2目2、上げ2目3が有効ライン上に停止表示された場合には、同時に通常リプ1または上げ1段階リプ1が有効ライン上に停止表示される。一方、これ以外の停止操作順序で停止操作を行った場合には、通常リプ1に係る図柄の組合せが有効ライン上に停止表示される。   In addition, when the raised second 1, raised second 2, and raised second 3 are stopped and displayed on the effective line, the normal lip 1 or the raised one-step lip 1 is simultaneously stopped and displayed on the effective line. On the other hand, when the stop operation is performed in the other stop operation order, the symbol combination related to the normal lip 1 is stopped and displayed on the active line.

小役・リプレイ用データポインタ「8」〜「11」についても、上げ2段階リプ1、上げ2段階リプ2、上げ2目1、上げ2目2、上げ2目3に係る図柄の組合せが有効ライン上に停止表示される停止操作順序が予め定められており、この停止操作順序以外の停止操作順序で停止操作が行われた場合には、通常リプ1に係る図柄の組合せが有効ライン上に停止表示される。   For the data pointers “8” to “11” for the small role / replay, the combination of the symbols related to the two-step-up lip 1, the two-step lip-up 2, the second-up 1, the second-up 2, and the second-up 3 is effective. The stop operation order to be stopped and displayed on the line is determined in advance, and when the stop operation is performed in a stop operation order other than this stop operation order, the combination of symbols related to the normal Lip 1 is on the active line. Stopped display.

また、小役・リプレイ用データポインタとして「12」が決定された場合には、停止操作順序にかかわらず、中リール3Cの中段にベルに係る図柄が停止表示される。   When “12” is determined as the small role / replay data pointer, the symbol related to the bell is stopped and displayed in the middle of the middle reel 3C regardless of the stop operation order.

小役・リプレイ用データポインタとして「13」が決定された場合には、左リール3Lに対して第1停止操作、中リール3Cに対して第2停止操作、右リール3Rに対して第3停止操作を行った場合に限り、中リール3Cの中段にベルに係る図柄が停止表示される。   When “13” is determined as the small role / replay data pointer, the first stop operation is performed on the left reel 3L, the second stop operation is performed on the middle reel 3C, and the third stop is performed on the right reel 3R. Only when the operation is performed, the symbol related to the bell is stopped and displayed on the middle stage of the middle reel 3C.

一方、これ以外の停止操作順序で停止操作を行った場合には、押し順ベル失敗1〜押し順ベル失敗4のいずれかに係る図柄の組合せが有効ライン上に停止表示される。なお、中リール3Cの中段にベルに係る図柄が停止表示されるときには、センターライン8c、クロスアップライン8a、クロスダウンライン8eのいずれかに「ベル1図柄(ベル2図柄)−ベル1図柄−ベル1図柄」が停止表示される。   On the other hand, when the stop operation is performed in the other stop operation order, the combination of symbols related to any one of the push order bell failure 1 to the push order bell failure 4 is stopped and displayed on the active line. When the symbol related to the bell is stopped and displayed on the middle stage of the middle reel 3C, any one of the center line 8c, the cross-up line 8a, and the cross-down line 8e indicates "Bell 1 symbol (Bell 2 symbol)-Bell 1 symbol-" "Bell 1 symbol" is stopped and displayed.

また、押し順ベル失敗1〜押し順ベル失敗4のいずれかに係る図柄の組合せが有効ライン上に停止表示されるときには、左リール3Lの下段、中リール3Cの下段、右リール3Rの下段に、「ベル1図柄(ベル2図柄)−ベル1図柄−ベル1図柄」が停止表示される。   Further, when the combination of symbols relating to any one of the push order bell failure 1 to the push order bell failure 4 is stopped and displayed on the active line, the lower stage of the left reel 3L, the lower stage of the middle reel 3C, and the lower stage of the right reel 3R. "Bell 1 symbol (Bell 2 symbol)-Bell 1 symbol-Bell 1 symbol" is stopped and displayed.

小役・リプレイ用データポインタ「14」〜「17」についても、中リール3Cの中段にベルに係る図柄が停止表示される停止操作順序が予め定められており、この停止操作順序以外の停止操作順序で停止操作を行った場合には、押し順ベル失敗1〜押し順ベル失敗4のいずれかに係る図柄の組合せが有効ライン上に停止表示される。   As for the small role / replay data pointers “14” to “17”, a stop operation order in which symbols related to the bell are stopped and displayed in the middle stage of the middle reel 3C is determined in advance, and stop operations other than this stop operation order are performed. When the stop operation is performed in order, the combination of symbols related to any one of the push order bell failure 1 to the push order bell failure 4 is stopped and displayed on the active line.

なお、内部抽籤テーブルにおいて、略称がリールに対する停止操作順序(押し順)を示唆する小役・リプレイ用ポインタが決定された場合には、その示唆する押し順がいわゆる正解の押し順であり、当該押し順通りに停止操作が行うことにより、遊技者が有利となるように各リール3が停止することとなる。   In addition, in the internal lottery table, when the small role / replay pointer that indicates the stop operation order (push order) for the reel is determined, the suggested push order is the so-called correct push order, When the stop operation is performed in the pushing order, each reel 3 is stopped so that the player is advantageous.

例えば、小役・リプレイ用ポインタ「2」(略称「左中右ベル」)が決定された場合には、左リール3Lに対して第1停止操作、中リール3Cに対して第2停止操作、右リール3Rに対して第3停止操作を行った場合に限り、中リール3Cの中段にベルに係る図柄が停止表示され(払出枚数:4枚×3ライン=12枚)、それ以外の押し順であった場合には中リール3Cの下段にベルに係る図柄が停止表示される(払出枚数:4枚×1ライン=4枚)。なお、略称がリールに対する停止操作順序(押し順)を示唆する小役・リプレイ用ポインタは「2」〜「11」、「13」〜「17」である。   For example, when the small role / replay pointer “2” (abbreviation “left middle right bell”) is determined, the first stop operation is performed on the left reel 3L, the second stop operation is performed on the middle reel 3C, Only when the third stop operation is performed on the right reel 3R, the symbol related to the bell is stopped and displayed on the middle stage of the middle reel 3C (payout number: 4 sheets × 3 lines = 12 sheets). If it is, the symbol related to the bell is stopped and displayed on the lower stage of the middle reel 3C (paid-out number: 4 sheets × 1 line = 4 sheets). Note that the small role / replay pointers whose abbreviations indicate the stop operation order (pushing order) for the reels are “2” to “11” and “13” to “17”.

次に、図27を参照して、主制御回路60のメインROM32に記憶されている図柄組合せテーブルについて説明する。なお、図27は、本実施の形態における遊技機1の図柄組合せテーブルの例を示す図である。   Next, the symbol combination table stored in the main ROM 32 of the main control circuit 60 will be described with reference to FIG. FIG. 27 is a diagram showing an example of the symbol combination table of the gaming machine 1 in the present embodiment.

図柄組合せテーブルには、有効ライン上に表示される特典付与に係る図柄の組合せ、または、遊技状態の移行に係る図柄の組合せと、当該図柄の組合せに対応する表示役を示すデータと格納領域種別、および払出枚数が規定されている。表示役を示すデータは、後述の夫々1バイトからなる表示役格納領域1〜表示役格納領域7(表示役格納領域1〜表示役格納領域7を総称して表示役格納領域という)の何れかに格納されるデータである。また、当該データが何れの表示役格納領域に格納されるかは、格納領域種別により規定される。   In the symbol combination table, a combination of symbols related to the privilege display displayed on the active line, or a combination of symbols related to the transition of the gaming state, data indicating a display combination corresponding to the symbol combination, and a storage area type , And the number of payouts. The data indicating the display combination is any one of a display combination storage area 1 to a display combination storage area 7 each of which will be described later (display combination storage area 1 to display combination storage area 7 are collectively referred to as a display combination storage area). Is stored in the data. Further, in which display combination storage area the data is stored is defined by the storage area type.

図柄組合せテーブルには、表示役として、BB1〜BB4、SB、通常リプ1、上げ1段階リプ1、上げ2段階リプ1、上げ2段階リプ2、制御リプ1〜制御リプ3、ベル、氷1、チェリー1〜チェリー12、制御役1〜制御役3、BB中用役1〜BB中用役5、上げ2目1〜上げ2目3、押し順ベル失敗1〜押し順ベル失敗4、SBこぼし目1〜SBこぼし目12が規定されている。   In the symbol combination table, BB1 to BB4, SB, normal lip 1, raised 1 stage lip 1, raised 2 stage lip 1, raised 2 stage lip 2, control lip 1 to control lip 3, bell, ice 1 Cherry 1-Cherry 12, Control role 1-Control role 3, BB middle role 1-BB middle role 5, Raise 2-1, Raise 2, Push order bell failure 1-Push order bell failure 4, SB Spilled eyes 1 to SB spilled eyes 12 are defined.

例えば、通常リプ1は、「リプレイ図柄−リプレイ図柄−リプレイ図柄」が有効ライン上に表示されることにより成立する。各種リプレイ(通常リプ1、上げ1段階リプ1、上げ2段階リプ1、上げ2段階リプ2、制御リプ1〜制御リプ3)の何れかが成立することで、次回の遊技において再遊技が行われる。即ち、各種リプレイの何れかが成立した遊技における投入枚数と同数のメダルが、次回の遊技において、遊技者による投入操作に基づかずに、自動的に投入される。   For example, the normal lip 1 is established by displaying “replay symbol-replay symbol-replay symbol” on the active line. When any of the various replays (normal lip 1, raising 1-step lip 1, raising 2-step lip 1, raising 2-step lip 2, control lip 1 to control lip 3) is established, re-playing is performed in the next game. Is called. That is, the same number of medals as the number inserted in the game in which any of the various replays is established is automatically inserted in the next game without being based on the player's input operation.

これにより、遊技者はメダルを消費することなく次回の遊技を行うことができる。ここで、前述のメダルの払い出しや再遊技は、遊技価値を付与することの一例である。ベルは、「ANY図柄−ベル1図柄−ANY図柄」が有効ライン上に表示されることにより成立する。なお、「ANY」は、如何なる図柄でも良いことを表す。   Thereby, the player can play the next game without consuming medals. Here, the above-mentioned medal payout and re-game are examples of giving game value. The bell is established by displaying “ANY symbol-Bell 1 symbol-ANY symbol” on the active line. “ANY” represents that any symbol may be used.

次に、図28を参照して、主制御回路60のメインROM32に記憶されているボーナス作動時テーブルについて説明する。なお、図28は、本実施の形態における遊技機1のボーナス作動時テーブルの例を示す図である。   Next, with reference to FIG. 28, the bonus operation time table stored in the main ROM 32 of the main control circuit 60 will be described. FIG. 28 is a diagram showing an example of the bonus operation time table of the gaming machine 1 in the present embodiment.

ボーナス作動時テーブルは、BB遊技状態、およびRB遊技状態を終了させる条件を設定する際に使用するテーブルである。ボーナス作動時テーブルには、BB1遊技状態〜BB4遊技状態、RB1遊技状態、RB2遊技状態に係る終了条件が規定されている。具体的には、ボーナス作動時テーブルには、BB1遊技状態〜BB3遊技状態の終了条件として、ボーナス終了枚数カウンタの値について「270」が規定されている。   The bonus operating time table is a table used when setting conditions for ending the BB gaming state and the RB gaming state. In the bonus operation time table, end conditions relating to the BB1 gaming state to the BB4 gaming state, the RB1 gaming state, and the RB2 gaming state are defined. Specifically, in the bonus operation time table, “270” is defined for the value of the bonus end number counter as the end condition of the BB1 gaming state to the BB3 gaming state.

また、BB4遊技状態の終了条件として、ボーナス終了枚数カウンタの値について「60」が規定されている。なお、BB1遊技状態〜BB3遊技状態においてはRB1遊技状態が作動し、BB4遊技状態ではRB2遊技状態が作動する。また、ボーナス作動時テーブルには、RB1遊技状態、RB2遊技状態の終了条件として、遊技可能回数と入賞可能回数の値について夫々「12」と「8」が規定されている。   Further, “60” is defined for the value of the bonus end number counter as an end condition of the BB4 gaming state. In the BB1 gaming state to the BB3 gaming state, the RB1 gaming state operates, and in the BB4 gaming state, the RB2 gaming state operates. Further, in the bonus operation time table, “12” and “8” are defined for the values of the number of possible games and the number of possible winnings, respectively, as termination conditions for the RB1 gaming state and the RB2 gaming state.

次に、図29、図30を参照して主制御回路60のメインROM32に記憶されている引込優先順位テーブルについて説明する。なお、図29は、本実施の形態における遊技機1の引込優先順位テーブルAの例を示す図であり、図30は、本実施の形態における遊技機1の引込優先順位テーブルBの例を示す図である。以下、引込優先順位テーブルA、引込優先順位テーブルBを総称して、引込優先順位テーブルという。   Next, the pull-in priority order table stored in the main ROM 32 of the main control circuit 60 will be described with reference to FIGS. 29 and 30. FIG. FIG. 29 is a diagram illustrating an example of the pull-in priority table A of the gaming machine 1 in the present embodiment, and FIG. 30 illustrates an example of the pull-in priority table B of the gaming machine 1 in the present embodiment. FIG. Hereinafter, the pull-in priority table A and the pull-in priority table B are collectively referred to as a pull-in priority table.

引込優先順位テーブルは、内部当籤役として複数の役が決定された場合において、その複数の役を有効ライン上に引き込むことができるときに、何れの役に係る図柄を優先して有効ライン上に停止させるかを規定している。上述したように、基本的には、優先順位は高い方からリプレイ、小役(払出枚数が多いほど優先順位は高い。JAC1(BB中7揃い)の場合にはこれを優先)、ボーナスの順となっている。   When multiple winning combinations are determined as internal winning combinations, when the multiple winning combinations can be drawn on the active line, the drawing priority order table gives priority to the symbol related to any combination on the active line. Specifies whether to stop. As described above, basically, replay from the highest priority order, small role (the higher the payout number, the higher the priority order. In the case of JAC1 (seven in BB), priority is given), and bonus order It has become.

但し、本実施の形態においてはリプレイが複数種類あり、条件によって各リプレイの優先順位が異なるため、その条件毎に引込優先順位テーブルAと引込優先順位テーブルBが設けられている。   However, in the present embodiment, there are a plurality of types of replays, and the priority order of each replay differs depending on the conditions. Therefore, a pull-in priority table A and a pull-in priority table B are provided for each condition.

引込優先順位テーブルAは、通常時(BB中を含む)やいわゆる押し順正解時に用いられるテーブルであり、各リプレイの優先順位は上げ2段階リプ1、上げ2段階リプ2>上げ1段階リプ1>通常リプ1>制御リプ1−制御リプ3の順となっている。   The pull-in priority table A is a table that is used during normal times (including during BB) or so-called correct push order, and the priority of each replay is raised two-step Lip 1, raised two-step Lip 2> up one-step Lip 1 > Normal Lip 1> Control Lip 1-Control Lip 3

一方、引込優先順位テーブルBは、いわゆる押し順不正解時に用いられるテーブルであり、各リプレイの優先順位は通常リプ1>上げ2段階リプ1、上げ2段階リプ2、上げ1段階リプ1>制御リプ1−制御リプ3の順となっている。   On the other hand, the pull-in priority table B is a table used at the time of so-called incorrect push order, and the priority of each replay is normal lip 1> up 2 step lip 1, up 2 step lip 2, up 1 step lip 1> control. Lip 1-control Lip 3 is in this order.

なお、図示しないが、RT遊技状態の遷移に係る2以上の役が同時に表示役となった場合には、何れを優先させるかが予め定められている。本実施の形態においては、より優先される役から順に、上げ2段階リプ1、上げ2段階リプ2、上げ2目1−上げ2目3>上げ1段階リプ1>SBこぼし目1−SBこぼし目12>押し順ベル失敗1−押し順ベル失敗4、となっている。   Although not shown, when two or more combinations related to the transition of the RT gaming state simultaneously become display combinations, it is determined in advance which one is to be prioritized. In the present embodiment, in the order of higher priority, the two-step raising lip 1, the two-step raising lip 2, the second raising 1-the second raising 3> the first raising lip 1> SB spilling 1-SB spilling Eye 12> Pushing order bell failure 1-pushing order bell failure 4

次に、図31を参照して、主制御回路60のメインROM32に記憶されている停止テーブルについて説明する。なお、図31は小役・リプレイ用データポインタ「15」当籤時、中リール第1停止時用の停止テーブルの例を示す図である。停止テーブルには、ラインデータおよび図柄位置「0」〜「20」に対応する停止データが規定されている。図柄位置とは、停止操作が検出された際に、図柄表示領域の中段に位置する図柄位置であって、リールの回転の停止が開始される図柄位置のことである。   Next, the stop table stored in the main ROM 32 of the main control circuit 60 will be described with reference to FIG. FIG. 31 shows an example of a stop table for the first stop of the middle reel when the small role / replay data pointer “15” is won. The stop table defines line data and stop data corresponding to symbol positions “0” to “20”. The symbol position is a symbol position located in the middle of the symbol display area when a stop operation is detected, and is a symbol position at which rotation of the reel starts to be stopped.

また、図示しないが、主制御回路60のメインROM32には、小役・リプレイ用データポインタ、遊技者の停止操作順序に応じた複数の停止テーブルが記憶されている。例えば、ボーナス用データポインタとして「5」が決定された場合には、右リール3Rに対して第1停止操作、左リール3Lに対して第2停止操作、中リール3Cに対して第3停止操作を行った場合に限り、SBこぼし目1〜SBこぼし目12の何れもが有効ライン上に停止表示されることのない滑りコマ数が規定された停止テーブルが選択される。   Although not shown, the main ROM 32 of the main control circuit 60 stores a small role / replay data pointer and a plurality of stop tables corresponding to the stop operation order of the player. For example, when “5” is determined as the bonus data pointer, the first stop operation is performed on the right reel 3R, the second stop operation is performed on the left reel 3L, and the third stop operation is performed on the middle reel 3C. Only when the operation is performed, a stop table in which the number of sliding frames is defined so that none of the SB spilled eyes 1 to SB spilled eyes 12 is stopped and displayed on the active line is selected.

一方、この停止操作順序以外の停止操作順序で停止操作が行われた場合には、SBに係る図柄の組合せが停止表示されないタイミングで各リールに対する停止操作が行われた場合に、SBこぼし目1〜SBこぼし目12の何れかに係る図柄の組合せが有効ライン上に停止表示されるように滑りコマ数が規定された停止テーブルが選択される。   On the other hand, when the stop operation is performed in a stop operation order other than the stop operation order, when the stop operation is performed on each reel at a timing at which the combination of symbols relating to SB is not stopped and displayed, SB spill 1 A stop table in which the number of sliding frames is defined so that the combination of symbols relating to any one of the SB spilled eyes 12 is stopped and displayed on the active line is selected.

次に、図32〜図34を参照して、主制御回路60のメインRAM33に割り当てられる内部当籤役格納領域、表示役格納領域および持越役格納領域について説明する。なお、図32は、本実施の形態における遊技機1の内部当籤役格納領域の例を示す図である。また、図33は、本実施の形態における遊技機1の表示役格納領域の例を示す図である。また、図34は、本実施の形態における遊技機1の持越役格納領域の例を示す図である。   Next, an internal winning combination storing area, a display combination storing area and a carryover combination storing area allocated to the main RAM 33 of the main control circuit 60 will be described with reference to FIGS. FIG. 32 is a diagram showing an example of the internal winning combination storing area of the gaming machine 1 in the present embodiment. FIG. 33 is a diagram showing an example of the display combination storing area of the gaming machine 1 in the present embodiment. FIG. 34 is a diagram showing an example of the carryover combination storage area of the gaming machine 1 in the present embodiment.

図32に示すように、内部当籤役格納領域は、内部当籤役格納領域1〜内部当籤役格納領域5から構成されている。内部当籤役格納領域1〜内部当籤役格納領域5は、それぞれメインRAM33上に割り当てられる8ビットのデータ領域であり、内部当籤役情報を記憶する。各内部当籤役格納領域は、ビット「0」〜「7」の領域に「0」または「1」のデータを格納することにより、何れの役が内部当籤役であるかを示す。   As shown in FIG. 32, the internal winning combination storing area is composed of an internal winning combination storing area 1 to an internal winning combination storing area 5. The internal winning combination storing area 1 to the internal winning combination storing area 5 are 8-bit data areas allocated on the main RAM 33, and store internal winning combination information. Each internal winning combination storing area indicates which combination is an internal winning combination by storing data of “0” or “1” in the area of bits “0” to “7”.

図33に示すように、表示役格納領域は、表示役格納領域1〜表示役格納領域7から構成されている。表示役格納領域1〜表示役格納領域7は、それぞれメインRAM33上に割り当てられる8ビットのデータ領域であり、表示役情報を記憶する。各表示役格納領域は、ビット「0」〜「7」の領域に「0」または「1」のデータを格納することにより、何れの役が表示役であるかを示す。   As shown in FIG. 33, the display combination storage area is composed of a display combination storage area 1 to a display combination storage area 7. The display combination storage area 1 to the display combination storage area 7 are 8-bit data areas allocated on the main RAM 33 and store display combination information. Each display combination storage area indicates which combination is a display combination by storing data of “0” or “1” in an area of bits “0” to “7”.

図34に示すように、持越役格納領域は、メインRAM33上に割り当てられる8ビットのデータ領域であり、持越役情報を記憶する。持越役格納領域はビット「0」〜「3」の領域に「0」または「1」のデータを格納することにより、何れの役が持越役であるかを示す。   As shown in FIG. 34, the carryover combination storage area is an 8-bit data area allocated on the main RAM 33 and stores carryover combination information. The carryover combination storage area indicates which combination is a carryover combination by storing data of “0” or “1” in an area of bits “0” to “3”.

次に、図35を参照して、主制御回路60のメインRAM33に割り当てられる遊技状態フラグ格納領域について説明する。なお、図35は、本実施の形態における遊技機1の遊技状態フラグ格納領域の例を示す図である。   Next, with reference to FIG. 35, the gaming state flag storage area allocated to the main RAM 33 of the main control circuit 60 will be described. FIG. 35 is a diagram showing an example of the game state flag storage area of the gaming machine 1 in the present embodiment.

図35に示すように、遊技状態フラグ格納領域は、遊技状態フラグ格納領域1、遊技状態フラグ格納領域2とから構成されている。遊技状態フラグ格納領域は、それぞれメインRAM33上に割り当てられる8ビットのデータ領域であり、各遊技状態フラグがオンであるかまたはオフであるかを示す。また、遊技状態フラグ格納領域の各領域のデータが全て「0」である場合には一般遊技状態であることを示す。   As shown in FIG. 35, the gaming state flag storage area is composed of a gaming state flag storage area 1 and a gaming state flag storage area 2. The gaming state flag storage area is an 8-bit data area allocated on the main RAM 33, and indicates whether each gaming state flag is on or off. Further, when all the data in each area of the game state flag storage area is “0”, it indicates that the game state is a general game state.

次に、図36、図37を参照して、主制御回路60のメインRAM33における図柄格納領域について説明する。なお、図36は、本実施の形態における遊技機1の図柄格納領域A(非RB中)の格納例(各リールの図柄位置データが「0」であった場合)を示す図である。図37は、本実施の形態における遊技機1の図柄格納領域B(RB中)の格納例(各リールの図柄位置データが左リールから「9」、「8」、「9」であった場合)を示す図である。   Next, the symbol storage area in the main RAM 33 of the main control circuit 60 will be described with reference to FIGS. FIG. 36 is a diagram showing a storage example (when the symbol position data of each reel is “0”) in the symbol storage area A (non-RB) of the gaming machine 1 in the present embodiment. FIG. 37 shows a storage example of the symbol storage area B (in RB) of the gaming machine 1 in the present embodiment (when the symbol position data of each reel is “9”, “8”, “9” from the left reel). ).

図柄格納領域は、各有効ラインを構成する図柄表示領域4L、4C、4Rに、対応する図柄コードを格納する領域であり、有効ライン毎に設けられている。例えば、遊技状態がRB遊技状態以外の遊技状態である場合にセンターライン8cを構成する左図柄表示領域4Lの中段、中図柄表示領域4Cの中段、右図柄表示領域4Rの中段のそれぞれに対応する図柄コードを格納する。   The symbol storage area is an area for storing a corresponding symbol code in the symbol display areas 4L, 4C, and 4R constituting each effective line, and is provided for each effective line. For example, when the gaming state is a gaming state other than the RB gaming state, it corresponds to each of the middle stage of the left symbol display area 4L, the middle stage of the middle symbol display area 4C, and the middle stage of the right symbol display area 4R constituting the center line 8c. Stores the symbol code.

こうした図柄格納領域が他の有効ライン(クロスダウンライン8e、ボトムライン8d、クロスアップライン8a)についても設けられている。なお、遊技状態がRB遊技状態である場合には有効ラインは1ライン(RB中特殊ライン8f)のみとなり、RB中特殊ライン8fに対応する図柄格納領域には、RB中特殊ライン8fを構成する左図柄表示領域4Lの中段、中図柄表示領域4Cの下段、右図柄表示領域4Rの上段のそれぞれに対応する図柄コードを格納する。   Such symbol storage areas are also provided for the other effective lines (cross down line 8e, bottom line 8d, cross up line 8a). When the gaming state is the RB gaming state, the effective line is only one line (RB special line 8f), and the RB special line 8f is configured in the symbol storage area corresponding to the RB special line 8f. The symbol codes corresponding to the middle part of the left symbol display area 4L, the lower part of the middle symbol display area 4C, and the upper part of the right symbol display area 4R are stored.

図36に示す図柄格納領域は、各リールの図柄位置データが「0」である時に図柄コードが格納された場合の図柄格納領域を示している。図柄位置データが「0」である場合とは、各リール3L、3C、3Rの図柄位置「0」の図柄(左リール3Lでは赤7図柄、中リール3Cでは赤7図柄、右リール3Rでは赤7図柄)がそれぞれ左図柄表示領域4Lの中段、中図柄表示領域4Cの中段、右図柄表示領域4Rの中段に表示される場合に対応する。   The symbol storage area shown in FIG. 36 indicates the symbol storage area when the symbol code is stored when the symbol position data of each reel is “0”. The case where the symbol position data is “0” means that the symbol position “0” of each reel 3L, 3C, 3R (red 7 symbol for left reel 3L, red 7 symbol for middle reel 3C, red for right reel 3R) 7 symbols) are displayed in the middle of the left symbol display area 4L, the middle of the middle symbol display area 4C, and the middle of the right symbol display area 4R, respectively.

したがって、この場合、左図柄表示領域4Lの上段に対応する図柄格納領域には図柄位置「1」の図柄(波図柄)、左図柄表示領域4Lの下段に対応する図柄格納領域には図柄位置「20」の図柄(リプレイ図柄)を示す図柄コードが格納されることとなる。また、中図柄表示領域4Cの上段に対応する図柄格納領域には図柄位置「1」の図柄(リプレイ図柄)、中図柄表示領域4Cの下段に対応する図柄格納領域には図柄位置「20」の図柄(チェリー1図柄)を示す図柄コードが格納されることとなる。   Therefore, in this case, the symbol storage area corresponding to the upper symbol display area 4L has a symbol position “1” (wave symbol), and the symbol storage area corresponding to the lower symbol display area 4L has a symbol position “ The symbol code indicating the symbol “20” (replay symbol) is stored. The symbol storage area corresponding to the upper part of the middle symbol display area 4C has a symbol position “1” (replay symbol), and the symbol storage area corresponding to the lower part of the middle symbol display area 4C has symbol position “20”. A symbol code indicating a symbol (cherry 1 symbol) is stored.

さらに、右図柄表示領域4Rの上段に対応する図柄格納領域には図柄位置「1」の図柄(チェリー1図柄)、右図柄表示領域4Rの下段に対応する図柄格納領域には図柄位置「20」の図柄(ベル1図柄)を示す図柄コードが格納されることとなる。   Furthermore, in the symbol storage area corresponding to the upper part of the right symbol display area 4R, the symbol at the symbol position “1” (cherry 1 symbol), and in the symbol storage area corresponding to the lower part of the right symbol display area 4R, the symbol position “20”. The symbol code indicating the symbol (bell 1 symbol) is stored.

[主制御回路の制御動作]
次に、図38〜図50に示すフローチャートを参照して、主制御回路60のメインCPU31の制御動作について説明する。
[Control operation of main control circuit]
Next, the control operation of the main CPU 31 of the main control circuit 60 will be described with reference to the flowcharts shown in FIGS.

まず、図38を参照して、主制御回路60のメインCPU31によるリセット割込処理について説明する。なお、図38は、本実施の形態の主制御回路60で行われるメインCPU31によるリセット割込処理のフローチャートを示す図である。また、メインCPU31は、電源が投入され、リセット端子に電圧が印加されることにより、リセット割込を発生させ、その割込の発生に基づいて、メインROM32に記憶されたリセット割込処理を順次行うように構成されている。   First, with reference to FIG. 38, the reset interrupt process by the main CPU 31 of the main control circuit 60 will be described. FIG. 38 is a diagram showing a flowchart of reset interrupt processing by the main CPU 31 performed by the main control circuit 60 of the present embodiment. Further, the main CPU 31 generates a reset interrupt when power is turned on and a voltage is applied to the reset terminal, and the reset interrupt process stored in the main ROM 32 is sequentially performed based on the occurrence of the interrupt. Configured to do.

初めに、メインCPU31は、指定格納領域のクリアを行う(ステップS1)。具体的には、メインCPU31は、前回ゲーム終了時におけるメインRAM33の指定格納領域をクリアする。より具体的には、メインCPU31は、前回のゲームに使用されたメインRAM33における書き込み可能領域のデータ消去、メインRAM33における書き込み可能領域への今回のゲームに必要なパラメータの書き込み、今回のゲームでのシーケンスプログラムへの開始アドレスの指定等を行う。   First, the main CPU 31 clears the designated storage area (step S1). Specifically, the main CPU 31 clears the designated storage area of the main RAM 33 at the end of the previous game. More specifically, the main CPU 31 erases data in the writable area in the main RAM 33 used in the previous game, writes parameters necessary for the current game in the writable area in the main RAM 33, Specify the start address to the sequence program.

次に、メインCPU31は、ボーナス作動監視処理を行う(ステップS2)。   Next, the main CPU 31 performs a bonus operation monitoring process (step S2).

次に、メインCPU31は、メダル受付・スタートチェック処理を行う(ステップS3)。メダル受付・スタートチェック処理では、メダルセンサ22Sおよび最大BETスイッチ13S等のチェックによる投入枚数カウンタの更新や、スタートスイッチ6Sの入力チェック等が行われる。メインCPU31は、メダル受付・スタートチェック処理により入賞ラインを有効化する。   Next, the main CPU 31 performs medal acceptance / start check processing (step S3). In the medal acceptance / start check process, the insertion number counter is updated by checking the medal sensor 22S, the maximum BET switch 13S, and the like, and the input of the start switch 6S is checked. The main CPU 31 validates the winning line through the medal acceptance / start check process.

次に、メインCPU31は、乱数値を抽出し、乱数値格納領域に格納する処理を行う(ステップS4)。具体的には、メインCPU31は、乱数発生器36とサンプリング回路37によって「0」〜「65535」の範囲から乱数値を抽出し、抽出した乱数値をメインRAM33の乱数値記憶領域に記憶させる。   Next, the main CPU 31 performs a process of extracting a random value and storing it in the random value storage area (step S4). Specifically, the main CPU 31 extracts a random value from the range of “0” to “65535” by the random number generator 36 and the sampling circuit 37 and stores the extracted random value in the random value storage area of the main RAM 33.

次に、メインCPU31は、内部抽籤処理を行う(ステップS5)。具体的には、メインCPU31は、前述の内部抽籤テーブル決定テーブル(図20参照)、内部抽籤テーブル(図21〜図23参照)および内部当籤役決定テーブル(図25、図26参照)を参照して内部当籤役を決定する。   Next, the main CPU 31 performs an internal lottery process (step S5). Specifically, the main CPU 31 refers to the internal lottery table determination table (see FIG. 20), the internal lottery table (see FIGS. 21 to 23), and the internal winning combination determination table (see FIGS. 25 and 26). To determine the internal winning role.

次に、メインCPU31は、スタートコマンドデータを副制御回路70に送信する(ステップS6)。スタートコマンドには、遊技状態情報、内部当籤役情報(小役・リプレイ用データポインタ、ボーナス用データポインタおよび内部当籤役格納領域)、ボーナス持越状態であるか否かを示す持越状態情報等の情報が含まれている。   Next, the main CPU 31 transmits start command data to the sub-control circuit 70 (step S6). The start command includes information such as game state information, internal winning combination information (data pointer for small role / replay, bonus data pointer and internal winning combination storage area), and carryover state information indicating whether or not a bonus carryover state exists. It is included.

具体的な処理としては、メインCPU31は、例えば、フラグやカウンタ等のパラメータをセットし、スタートコマンドをセットして、後述する通信データ格納処理を行うことにより、送信する通信データをメインRAM33に割り当てられる通信データ格納領域に登録するようになっている。なお、以下のコマンドデータについても同様に副制御回路70に送信される。   Specifically, the main CPU 31 assigns communication data to be transmitted to the main RAM 33 by setting parameters such as a flag and a counter, setting a start command, and performing communication data storage processing described later. To be registered in the communication data storage area. The following command data is also transmitted to the sub control circuit 70 in the same manner.

次に、メインCPU31は、全リールの回転開始を要求する(ステップS7)。全リールの回転開始を要求すると、リール3L、3C、3Rの回転開始処理および加速制御処理が行われる。   Next, the main CPU 31 requests rotation start of all reels (step S7). When the start of rotation of all reels is requested, rotation start processing and acceleration control processing of the reels 3L, 3C, and 3R are performed.

次に、メインCPU31は、リール回転の定速待ちを行う(ステップS8)。   Next, the main CPU 31 waits for a constant speed for reel rotation (step S8).

次に、メインCPU31は、リール停止制御処理を行う(ステップS9)。このリール停止制御処理では、メインCPU31は、遊技者の停止操作によりストップスイッチ7LS、7CS、7RSから送信された停止信号等に基づいて、各リール3L、3C、3Rの回転を停止させる。   Next, the main CPU 31 performs a reel stop control process (step S9). In the reel stop control process, the main CPU 31 stops the rotation of the reels 3L, 3C, 3R based on a stop signal transmitted from the stop switches 7LS, 7CS, 7RS by the stop operation of the player.

次に、メインCPU31は、表示役検索処理を行う(ステップS10)。この表示役検索処理では、メインCPU31は、全リール3L、3C、3Rの回転を停止させた結果、有効ライン上に表示された図柄の組合せに基づいて、表示役および払出枚数を決定する。   Next, the main CPU 31 performs a display combination search process (step S10). In this display combination search process, the main CPU 31 determines the display combination and the number of payouts based on the combination of symbols displayed on the effective line as a result of stopping the rotation of all the reels 3L, 3C, 3R.

次に、メインCPU31は、RT制御処理を行う(ステップS11)。   Next, the main CPU 31 performs an RT control process (step S11).

次に、メインCPU31は、表示コマンドデータを送信する(ステップS12)。表示コマンドには、表示役を示す表示役情報や払出枚数を示す払出枚数情報等の情報が含まれている。   Next, the main CPU 31 transmits display command data (step S12). The display command includes information such as display combination information indicating a display combination and payout number information indicating a payout number.

具体的な処理としては、メインCPU31は、例えば、P1にRT作動組合せ表示フラグをセットし、P2に入賞枚数カウンタをセットする。そして、メインCPU31は、表示コマンドをセットし、後述する通信データ格納処理を行うことにより、送信する通信データを通信データ格納領域に登録するようになっている。   As a specific process, for example, the main CPU 31 sets an RT operation combination display flag in P1, and sets a winning number counter in P2. The main CPU 31 sets a display command and performs communication data storage processing described later, thereby registering communication data to be transmitted in the communication data storage area.

次に、メインCPU31は、メダル払出処理を行う(ステップS13)。具体的には、メインCPU31は、払出モードであれば、払出枚数に基づいてホッパー駆動回路41によりホッパー40を駆動制御してメダルの払い出しを行い、クレジットモードであれば、払出枚数に基づいてメインRAM33にセットされたクレジットカウンタを更新する。   Next, the main CPU 31 performs medal payout processing (step S13). Specifically, in the payout mode, the main CPU 31 drives and controls the hopper 40 by the hopper drive circuit 41 based on the payout number, and pays out medals. In the credit mode, the main CPU 31 performs main control based on the payout number. The credit counter set in the RAM 33 is updated.

次に、ボーナス作動中であるか否かを判別する(ステップS14)。具体的には、BB1遊技状態〜BB4遊技状態、またはSB遊技状態であるか否かを判別する。このとき、メインCPU31は、ボーナス作動中であると判別したときには、ボーナス終了チェック処理を行い(ステップS15)、ステップS16の処理に移行する。一方、メインCPU31は、ボーナス作動中ではないと判別したとき、またはステップS15の処理を終了した後には、次いで、ボーナス作動チェック処理を行う(ステップS16)この処理が終了すると、メインCPU31は、ステップS1の処理に移行する。   Next, it is determined whether or not the bonus is being operated (step S14). Specifically, it is determined whether or not the BB1 gaming state to the BB4 gaming state or the SB gaming state. At this time, if the main CPU 31 determines that the bonus is being operated, it performs a bonus end check process (step S15), and proceeds to the process of step S16. On the other hand, when the main CPU 31 determines that the bonus operation is not being performed, or after finishing the processing of step S15, the main CPU 31 then performs a bonus operation check processing (step S16). The process proceeds to S1.

このように、メインCPU31は、ステップS1からステップS16までの処理を1ゲーム(1遊技)における処理として実行し、ステップS16の処理が終了すると次回のゲームにおける処理を実行すべく、ステップS1の処理に移行する。   In this way, the main CPU 31 executes the processing from step S1 to step S16 as processing in one game (one game), and when the processing in step S16 ends, the processing in step S1 is executed to execute processing in the next game. Migrate to

次に、図39を参照してボーナス作動監視処理について説明する。なお、図39は、本実施の形態の主制御回路60で行われるボーナス作動監視処理のフローチャートを示す図である。   Next, the bonus operation monitoring process will be described with reference to FIG. FIG. 39 is a view showing a flowchart of the bonus operation monitoring process performed in the main control circuit 60 of the present embodiment.

初めに、メインCPU31は、BB遊技状態か否かを判別する(ステップS31)。このとき、メインCPU31は、BB遊技状態であると判別したときにはステップS32の処理に移行する。一方、メインCPU31は、BB遊技状態ではないと判別したときには、ボーナス作動監視処理を終了させる。   First, the main CPU 31 determines whether or not the BB gaming state is set (step S31). At this time, when the main CPU 31 determines that it is in the BB gaming state, it proceeds to the processing of step S32. On the other hand, when determining that the main CPU 31 is not in the BB gaming state, the main CPU 31 ends the bonus operation monitoring process.

メインCPU31は、ステップS31の処理において、BB遊技状態であると判別したときには、次いで、RB遊技状態であるか否かを判別する(ステップS32)。このとき、メインCPU31は、RB遊技状態であると判別したときには、ボーナス作動監視処理を終了させる。   When the main CPU 31 determines in the process of step S31 that it is in the BB gaming state, it then determines whether or not it is in the RB gaming state (step S32). At this time, when determining that the main CPU 31 is in the RB gaming state, the bonus operation monitoring process is terminated.

一方、メインCPU31は、RB遊技状態ではないと判別したときには、ボーナス作動時テーブル(図28参照)に基づいてBBの種別に応じたRB作動時処理を行い(ステップS33)、ボーナス作動監視処理を終了させる。具体的には、BB1遊技状態〜BB3遊技状態である場合には、RB1遊技状態を作動させ、BB4遊技状態である場合には、RB2遊技状態を作動させる。   On the other hand, when the main CPU 31 determines that it is not in the RB gaming state, the main CPU 31 performs RB operation processing according to the type of BB based on the bonus operation table (see FIG. 28) (step S33), and performs bonus operation monitoring processing. Terminate. Specifically, the RB1 gaming state is activated in the BB1 gaming state to the BB3 gaming state, and the RB2 gaming state is activated in the BB4 gaming state.

次に、図40および図41を参照して、内部抽籤処理について説明する。なお、図40および図41は、本実施の形態の主制御回路60で行われる内部抽籤処理のフローチャートを示す図である。   Next, with reference to FIGS. 40 and 41, the internal lottery process will be described. 40 and 41 are diagrams showing a flowchart of an internal lottery process performed by the main control circuit 60 of the present embodiment.

初めに、メインCPU31は内部抽籤テーブル決定テーブル(図20参照)を参照して、遊技状態フラグに基づいて内部抽籤テーブルの種別および抽籤回数を決定する(ステップS61)。次に、メインCPU31は、乱数値記憶領域から乱数値を取得し、判定用乱数値としてセットする(ステップS62)。次に、メインCPU31は、当籤番号の初期値として「1」をセットする(ステップS63)。   First, the main CPU 31 refers to the internal lottery table determination table (see FIG. 20) and determines the type of the internal lottery table and the number of lotteries based on the gaming state flag (step S61). Next, the main CPU 31 acquires a random value from the random value storage area and sets it as a random number for determination (step S62). Next, the main CPU 31 sets “1” as the initial value of the winning number (step S63).

次に、メインCPU31は、内部抽籤テーブルを参照して、当籤番号に基づいて抽籤値を取得する(ステップS64)。次に、メインCPU31は、判定用乱数値から抽籤値を減算し、減算結果を判定用乱数値としてセットする(ステップS65)。具体的には、メインCPU31は、判定用乱数値記憶領域に記憶させた判定用乱数値からステップS64の処理において取得した抽籤値を減算し、当該減算結果によって判定用乱数値記憶領域を更新する。   Next, the main CPU 31 refers to the internal lottery table and acquires a lottery value based on the winning number (step S64). Next, the main CPU 31 subtracts the lottery value from the determination random number value, and sets the subtraction result as the determination random number value (step S65). Specifically, the main CPU 31 subtracts the lottery value acquired in the process of step S64 from the random number value for determination stored in the random number value storage area for determination, and updates the random number value storage area for determination with the subtraction result. .

次に、メインCPU31は、ステップS65の減算処理において桁かりが行われたか否か、すなわち、減算結果が負の値となったか否かを判別する(ステップS66)。このとき、メインCPU31は、桁かりが行われたと判別したときには、当籤番号に基づいて小役・リプレイ用データポインタおよびボーナス用データポインタを取得し(ステップS70)、ステップS71の処理に移行する。   Next, the main CPU 31 determines whether or not a digit has been performed in the subtraction process of step S65, that is, whether or not the subtraction result has become a negative value (step S66). At this time, when the main CPU 31 determines that a digit has been made, the main CPU 31 obtains the small role / replay data pointer and the bonus data pointer based on the winning number (step S70), and proceeds to the processing of step S71.

一方、メインCPU31は、桁かりが行われなかったと判別したときには、次いで、抽籤回数から「1」を減算し、当籤番号に「1」を加算する(ステップS67)。次いで、メインCPU31は、抽籤回数は「0」であるか否かを判別する(ステップS68)。   On the other hand, when the main CPU 31 determines that no digit has been placed, it then subtracts “1” from the number of lotteries and adds “1” to the winning number (step S67). Next, the main CPU 31 determines whether or not the number of lotteries is “0” (step S68).

メインCPU31は、ステップS68の処理において抽籤回数は「0」であると判別したときには、小役・リプレイ用データポインタおよびボーナス用データポインタをそれぞれ「0」に決定し(ステップS69)、ステップS71の処理に移行する。一方、メインCPU31は、抽籤回数は「0」ではないと判別したときには、ステップS64の処理に移行する。この後、メインCPU31は、ステップS64からステップS68の処理を、抽籤回数が「0」になるか、または桁かりが行われるまで繰り返す。   When determining that the number of lotteries is “0” in the process of step S68, the main CPU 31 determines the small role / replay data pointer and the bonus data pointer to be “0” (step S69). Transition to processing. On the other hand, when determining that the number of lotteries is not “0”, the main CPU 31 proceeds to the process of step S64. Thereafter, the main CPU 31 repeats the processing from step S64 to step S68 until the number of lotteries becomes “0” or a digit is made.

メインCPU31は、ステップS69またはステップS70の処理を終了した後には、次いで、小役・リプレイ用内部当籤役決定テーブル(図26参照)を参照し、小役・リプレイ用データポインタに基づいて内部当籤役を取得する(ステップS71)。次に、メインCPU31は、内部当籤役格納領域に応じて内部当籤役格納領域を更新する(ステップS72)。   After completing the process of step S69 or step S70, the main CPU 31 then refers to the internal winning combination determination table for small roles / replay (see FIG. 26) and determines the internal winnings based on the small role / replay data pointer. A combination is acquired (step S71). Next, the main CPU 31 updates the internal winning combination storing area according to the internal winning combination storing area (step S72).

次に、メインCPU31は、持越役格納領域は「00000000」であるか否かを判別する(ステップS73)。このとき、メインCPU31は、持越役格納領域は「00000000」ではないと判別したときには、ステップS80の処理に移行する。一方、メインCPU31は、持越役格納領域は「00000000」であると判別したときには、ボーナス用内部当籤役決定テーブル(図25)を参照し、ボーナス用データポインタに基づいて内部当籤役を取得する(ステップS74)。   Next, the main CPU 31 determines whether or not the carryover combination storage area is “00000000” (step S73). At this time, when the main CPU 31 determines that the carryover combination storage area is not “00000000”, the main CPU 31 proceeds to the process of step S80. On the other hand, when the main CPU 31 determines that the carryover combination storage area is “00000000”, the main CPU 31 refers to the bonus internal winning combination determination table (FIG. 25) and acquires the internal winning combination based on the bonus data pointer ( Step S74).

次いで、メインCPU31は、SBが内部当籤役であるか否かを判別する(ステップS75)。このとき、メインCPU31は、SBが内部当籤役であると判別したときには、SBに応じて内部当籤役格納領域を更新し(ステップS76)、ステップS80の処理に移行する。一方、メインCPU31は、SBが内部当籤役ではないと判別したときには、BBが内部当籤役であるか否かを判別する(ステップS77)。   Next, the main CPU 31 determines whether or not SB is an internal winning combination (step S75). At this time, when the main CPU 31 determines that the SB is an internal winning combination, the main CPU 31 updates the internal winning combination storing area according to the SB (step S76), and proceeds to the processing of step S80. On the other hand, when determining that SB is not an internal winning combination, the main CPU 31 determines whether or not BB is an internal winning combination (step S77).

メインCPU31は、ステップS77の処理において、BBが内部当籤役ではないと判別したときには、ステップS80の処理に移行する。一方、メインCPU31は、BBが内部当籤役であると判別したときには、BBに応じて持越役格納領域を更新し(ステップS78)、RT4遊技状態フラグをオンにし(ステップS79)、ステップS80の処理に移行する。   When the main CPU 31 determines in step S77 that BB is not an internal winning combination, the main CPU 31 proceeds to step S80. On the other hand, when determining that BB is an internal winning combination, the main CPU 31 updates the carryover combination storing area according to BB (step S78), turns on the RT4 gaming state flag (step S79), and performs the process of step S80. Migrate to

メインCPU31は、ステップS73の処理において、持越役格納領域は「00000000」ではないと判別したとき、ステップS77の処理において、BBが内部当籤役ではないと判別したとき、ステップS76、ステップS79の処理を終了した後には、次いで、持越役格納領域と内部当籤役格納領域1の論理和をとり、その結果を内部当籤役格納領域1に格納する(ステップS80)。   When the main CPU 31 determines that the carryover combination storage area is not “00000000” in the process of step S73, and determines that BB is not the internal winning combination in the process of step S77, the process of steps S76 and S79. Then, the logical OR of the carryover combination storage area and the internal winning combination storage area 1 is taken, and the result is stored in the internal winning combination storage area 1 (step S80).

なお、メインCPU31は、内部抽籤処理においてステップS64〜ステップS68の処理を繰り返し実行することにより、内部当籤役の抽籤を行っている。具体的には、メインCPU31は、抽出した乱数値から順次、抽籤値を減算することにより、桁かりが行われた際の当籤番号に対応する小役・リプレイ用データポインタおよびボーナス用データポインタを決定し、決定した当該各データポインタと内部当籤役決定テーブルとに基づいて内部当籤役を決定する。   The main CPU 31 performs lottery of an internal winning combination by repeatedly executing the processes of steps S64 to S68 in the internal lottery process. Specifically, the main CPU 31 sequentially subtracts the lottery value from the extracted random number value, thereby obtaining the small role / replay data pointer and the bonus data pointer corresponding to the winning number when the digit is placed. The internal winning combination is determined based on the determined data pointers and the internal winning combination determination table.

次に、図42を参照して、リール停止制御処理について説明する。なお、図42は、本実施の形態の主制御回路60で行われるリール停止制御処理のフローチャートを示す図である。   Next, the reel stop control process will be described with reference to FIG. FIG. 42 is a flowchart of the reel stop control process performed by the main control circuit 60 of the present embodiment.

初めに、メインCPU31は、ストップボタン未作動カウンタに「3」をセットし(ステップS101)、次いで、内部当籤役に応じた停止テーブルを取得する(ステップS102)。   First, the main CPU 31 sets “3” in the stop button non-operation counter (step S101), and then acquires a stop table corresponding to the internal winning combination (step S102).

次に、メインCPU31は、有効なストップボタンが押されたか否かを判別する(ステップS103)。有効なストップボタンとは停止操作が行われていないストップボタンである。このとき、メインCPU31は、有効なストップボタンが押されたと判別したときにはステップS104の処理に移行する。一方、メインCPU31は、有効なストップボタンが押されていないと判別したときには、再度ステップS103の処理を実行する。すなわち、メインCPU31は、有効なストップボタンに対応する停止操作が検出されるまでステップS103の処理を繰り返す。   Next, the main CPU 31 determines whether or not a valid stop button has been pressed (step S103). An effective stop button is a stop button that has not been stopped. At this time, if the main CPU 31 determines that a valid stop button has been pressed, the main CPU 31 proceeds to the processing of step S104. On the other hand, when the main CPU 31 determines that a valid stop button has not been pressed, the main CPU 31 executes the process of step S103 again. That is, the main CPU 31 repeats the process of step S103 until a stop operation corresponding to a valid stop button is detected.

メインCPU31は、ステップS103の処理において、有効なストップボタンが押されたと判別したときには、該当するストップボタンの操作を無効化する(ステップS104)。次いで、作動ストップボタン(停止順序)に応じて停止テーブルを再選択する(ステップS105)。   When the main CPU 31 determines in the process of step S103 that an effective stop button has been pressed, the main CPU 31 invalidates the operation of the corresponding stop button (step S104). Next, the stop table is reselected according to the operation stop button (stop order) (step S105).

次に、メインCPU31は、チェック回数として「5」をセットする(ステップS106)。次いで、メインCPU31は、引込優先順位テーブル(図29、図30参照)を参照し、内部当籤役に基づいて、図柄カウンタに対応する図柄位置からチェック回数の範囲内において、最も優先順位の高い図柄位置を検索する(ステップS107)。   Next, the main CPU 31 sets “5” as the number of checks (step S106). Next, the main CPU 31 refers to the drawing priority table (see FIGS. 29 and 30), and based on the internal winning combination, the symbol having the highest priority within the range of the number of checks from the symbol position corresponding to the symbol counter. The position is searched (step S107).

次に、メインCPU31は、停止テーブル、図柄カウンタに対応する図柄位置、および検索の結果に基づいて滑りコマ数を決定し、停止予定位置をセットする(ステップS108)。次いで、メインCPU31は、リール停止コマンドを送信する(ステップS109)。リール停止コマンドには、何れのリールが停止したかを示す停止リール種別情報、停止開始位置を示す停止開始位置情報、滑りコマ数を示す滑りコマ数情報等の情報が含まれる。   Next, the main CPU 31 determines the number of sliding symbols based on the stop table, the symbol position corresponding to the symbol counter, and the search result, and sets the planned stop position (step S108). Next, the main CPU 31 transmits a reel stop command (step S109). The reel stop command includes information such as stop reel type information indicating which reel has stopped, stop start position information indicating the stop start position, and slip frame number information indicating the number of slide frames.

次に、メインCPU31は、図柄配置テーブル(図3参照)を参照し、停止リール、停止予定位置、遊技状態に基づいて図柄コードを取得し、図柄格納領域に格納する(ステップS110)。   Next, the main CPU 31 refers to the symbol arrangement table (see FIG. 3), acquires a symbol code based on the stop reel, the planned stop position, and the gaming state, and stores it in the symbol storage area (step S110).

最後にメインCPU31は、操作が有効なストップボタンはあるか否かを判別する(ステップS111)。このとき、メインCPU31は、操作が有効なストップボタンがないと判別したときには、リール停止制御処理を終了させる。一方、メインCPU31は、操作が有効なストップボタンがあると判別したときには、ステップS103の処理に移行する。この後、メインCPU31は、ステップS103からステップS111の処理を、操作が有効なストップボタンがないと判別するまで繰り返す。   Finally, the main CPU 31 determines whether or not there is a stop button whose operation is valid (step S111). At this time, when the main CPU 31 determines that there is no stop button for which the operation is effective, the main CPU 31 ends the reel stop control process. On the other hand, when the main CPU 31 determines that there is a stop button whose operation is valid, the main CPU 31 proceeds to the process of step S103. Thereafter, the main CPU 31 repeats the processing from step S103 to step S111 until it is determined that there is no stop button for which the operation is valid.

次に、図43を参照して、表示役検索処理について説明する。なお、図43は、本実施の形態の主制御回路60で行われる表示役検索処理のフローチャートを示す図である。   Next, the display combination search process will be described with reference to FIG. FIG. 43 is a diagram showing a flowchart of the display combination search process performed in the main control circuit 60 of the present embodiment.

初めに、メインCPU31は、表示役格納領域をクリアする(ステップS121)。   First, the main CPU 31 clears the display combination storing area (step S121).

次に、メインCPU31は、図柄格納領域の先頭アドレスを指定する(ステップS122)。具体的には、メインCPU31は、遊技状態がRB遊技状態以外の遊技状態である場合にはセンターライン8cに対応するアドレスを先頭アドレスとして指定し、遊技状態がRB遊技状態である場合にはRB中特殊ライン8fに対応するアドレスを先頭アドレスとして指定する。   Next, the main CPU 31 designates the top address of the symbol storage area (step S122). Specifically, the main CPU 31 designates an address corresponding to the center line 8c as the head address when the gaming state is a gaming state other than the RB gaming state, and RB when the gaming state is the RB gaming state. The address corresponding to the middle special line 8f is designated as the head address.

次に、メインCPU31は、図柄組合せテーブル(図27参照)の先頭アドレスを指定する(ステップS123)。具体的には、メインCPU31は、BB1に対応するアドレスを先頭アドレスとして指定する。   Next, the main CPU 31 designates the head address of the symbol combination table (see FIG. 27) (step S123). Specifically, the main CPU 31 designates an address corresponding to BB1 as the head address.

次に、メインCPU31は、図柄組合せテーブルに規定されている図柄の組合せと、図柄格納領域に格納されている図柄の組合せを比較する(ステップS124)。   Next, the main CPU 31 compares the symbol combination defined in the symbol combination table with the symbol combination stored in the symbol storage area (step S124).

次に、メインCPU31は、ステップS124の処理において比較した結果、図柄組合せテーブルに規定されている図柄の組合せと、図柄格納領域に格納されている図柄の組合せが一致したか否かを判別する(ステップS125)。このとき、メインCPU31は、図柄組合せテーブルに規定されている図柄の組合せと、図柄格納領域に格納されている図柄の組合せとが一致しないと判別したときには、ステップS129の処理に移行し、一方、一致すると判別したときには、図柄組合せテーブルから格納領域種別および表示役を示すデータを取得する(ステップS126)。   Next, as a result of the comparison in the process of step S124, the main CPU 31 determines whether or not the symbol combination specified in the symbol combination table matches the symbol combination stored in the symbol storage area ( Step S125). At this time, when the main CPU 31 determines that the symbol combination defined in the symbol combination table does not match the symbol combination stored in the symbol storage area, the main CPU 31 proceeds to the process of step S129, When it is determined that they match, data indicating the storage area type and the display combination is acquired from the symbol combination table (step S126).

次に、メインCPU31は、取得した格納領域種別に対応する表示役格納領域と、取得した表示役を示すデータの論理和を表示役格納領域に格納する(ステップS127)。   Next, the main CPU 31 stores the logical combination of the display combination storage area corresponding to the acquired storage area type and the data indicating the acquired display combination in the display combination storage area (step S127).

次に、メインCPU31は、図柄組合せテーブルから払出枚数を取得し、払出枚数カウンタに加算する(ステップS128)。   Next, the main CPU 31 acquires the number of payouts from the symbol combination table and adds it to the payout number counter (step S128).

メインCPU31は、ステップS125の処理において図柄組合せテーブルに規定されている図柄の組合せと、図柄格納領域に格納されている図柄の組合せとが一致しないと判別したとき、または、ステップS128の処理を終了したときには、次いで、図柄組合せテーブルの次の役に対応するアドレスを指定する(ステップS129)。   When the main CPU 31 determines in the process of step S125 that the symbol combination specified in the symbol combination table does not match the symbol combination stored in the symbol storage area, or ends the process of step S128. Then, an address corresponding to the next combination in the symbol combination table is designated (step S129).

次に、メインCPU31は、ステップS129の処理において指定したアドレスには、エンドコードが格納されているか否かを判別する(ステップS130)。このとき、メインCPU31は、エンドコードが格納されていないと判別したときには、ステップS124の処理に移行する。一方、メインCPU31は、エンドコードが格納されていると判別したときには、次いで、全有効ラインについて検索したか、すなわち、全有効ラインに対して、ステップS124〜ステップS130の処理を行ったか否かを判別する(ステップS131)。   Next, the main CPU 31 determines whether or not an end code is stored at the address designated in the process of step S129 (step S130). At this time, when the main CPU 31 determines that the end code is not stored, the main CPU 31 proceeds to the process of step S124. On the other hand, when determining that the end code is stored, the main CPU 31 then searches for all the effective lines, that is, whether or not the processes of steps S124 to S130 have been performed for all the effective lines. A determination is made (step S131).

メインCPUは、ステップS131の処理において全有効ラインについて検索したと判別したときには、表示役検索処理を終了させる。一方、メインCPUは、全有効ラインについて検索していないと判別したときには、次いで、図柄格納領域の次の有効ラインに対応するアドレスを指定し(ステップS132)、ステップS123の処理に移行する。   When the main CPU determines that all the effective lines have been searched in the process of step S131, the main CPU ends the display combination search process. On the other hand, when the main CPU determines that all the effective lines are not searched, the main CPU then designates an address corresponding to the next effective line in the symbol storage area (step S132), and the process proceeds to step S123.

次に、図44を参照して、RT制御処理について説明する。なお、図44は、本実施の形態の主制御回路60で行われるRT制御処理のフローチャートを示す図である。   Next, the RT control process will be described with reference to FIG. FIG. 44 is a diagram showing a flowchart of the RT control process performed in the main control circuit 60 of the present embodiment.

初めに、メインCPU31は、BB持越中(RT4遊技状態)であるか否かを判別する(ステップS161)。このとき、メインCPU31は、BB持越中であると判別したときには、RT制御処理を終了させる。一方、メインCPU31は、BB持越中ではないと判別したときには、BB中であるか否かを判別する(ステップS162)。具体的には何れかのBB遊技状態フラグがオンであるか否かを判別する。   First, the main CPU 31 determines whether or not it is BB carryover (RT4 gaming state) (step S161). At this time, if the main CPU 31 determines that the BB is being carried over, it terminates the RT control process. On the other hand, when determining that the BB is not being carried over, the main CPU 31 determines whether or not the BB is being carried out (step S162). Specifically, it is determined whether any BB gaming state flag is on.

メインCPU31は、ステップS162の処理においてBB中であると判別したときには、RT制御処理を終了させる。一方、メインCPU31は、BB中ではないと判別したときには、RT遷移テーブル(図24参照)を参照し、表示役に基づいて、遊技状態フラグを更新する必要がある場合には更新し(ステップS163)、RT制御処理を終了させる。   When the main CPU 31 determines in step S162 that the BB is being performed, the main CPU 31 ends the RT control process. On the other hand, when determining that the BB is not in progress, the main CPU 31 refers to the RT transition table (see FIG. 24), and updates it when it is necessary to update the gaming state flag based on the display combination (step S163). ), The RT control process is terminated.

次に、図45を参照して、ボーナス終了チェック処理について説明する。なお、図45は、本実施の形態の主制御回路60で行われるボーナス終了チェック処理のフローチャートを示す図である。   Next, with reference to FIG. 45, the bonus end check process will be described. FIG. 45 is a flowchart of the bonus end check process performed in the main control circuit 60 of the present embodiment.

初めに、メインCPU31は、BB中であるか否かを判別する(ステップS141)。このとき、メインCPU31は、BB中ではないと判別したときには、SB遊技状態フラグをオフにし(ステップS142)、ボーナス終了チェック処理を終了させる。一方、メインCPU31は、BB中であると判別したときには、ボーナス終了枚数カウンタの値は「0」であるか否かを判別する(ステップS143)。   First, the main CPU 31 determines whether or not BB is in progress (step S141). At this time, when the main CPU 31 determines that the BB is not in progress, the main CPU 31 turns off the SB gaming state flag (step S142) and ends the bonus end check process. On the other hand, when determining that the BB is in progress, the main CPU 31 determines whether or not the value of the bonus end number counter is “0” (step S143).

メインCPU31は、ボーナス終了枚数カウンタの値は「0」であると判別したときには、ボーナス終了時処理を行う(ステップS144)。具体的には、オンであるBB遊技状態フラグ、RB遊技状態フラグをオフにする。次いで、メインCPU31は、ボーナス終了コマンドを送信し(ステップS145)、ボーナス終了チェック処理を終了させる。   When determining that the value of the bonus end number counter is “0”, the main CPU 31 performs a bonus end time process (step S144). Specifically, the BB gaming state flag and the RB gaming state flag that are on are turned off. Next, the main CPU 31 transmits a bonus end command (step S145), and ends the bonus end check process.

一方、メインCPU31は、ボーナス終了枚数カウンタの値は「0」ではないと判別したときには、遊技可能回数カウンタの値から「1」を減算し(ステップS146)、表示役は小役であるか否かを判別する(ステップS147)。このとき、メインCPU31は、表示役は小役ではないと判別したときには、ステップS149の処理に移行する。一方、メインCPU31は、表示役は小役であると判別したときには、入賞可能回数カウンタの値から「1」を減算し(ステップS148)、ステップS149の処理に移行する。   On the other hand, when determining that the value of the bonus end number counter is not “0”, the main CPU 31 subtracts “1” from the value of the possible game number counter (step S146), and whether or not the display combination is a small combination Is determined (step S147). At this time, when the main CPU 31 determines that the display combination is not a small combination, the main CPU 31 proceeds to the process of step S149. On the other hand, when determining that the display combination is a small combination, the main CPU 31 subtracts “1” from the value of the winning possible number counter (step S148), and proceeds to the processing of step S149.

次に、メインCPU31は、入賞可能回数カウンタの値または遊技可能回数カウンタの値が「0」であるか否かを判別する(ステップS149)。このとき、メインCPU31は、入賞可能回数カウンタの値および遊技可能回数カウンタの値の何れも「0」ではないと判別したときには、ボーナス終了チェック処理を終了させる。一方、メインCPU31は、入賞可能回数カウンタの値または遊技可能回数カウンタの値が「0」であると判別したときには、次いで、RB終了時処理を行い(ステップS150)、ボーナス終了チェック処理を終了させる。RB終了時処理では、オンとなっているRB遊技状態フラグをオフにする等の処理を行う。   Next, the main CPU 31 determines whether or not the value of the winning possible number counter or the value of the possible gaming number counter is “0” (step S149). At this time, when the main CPU 31 determines that neither the value of the winning possible number counter or the value of the possible gaming number counter is “0”, the main CPU 31 ends the bonus end check process. On the other hand, when the main CPU 31 determines that the value of the winning possible number counter or the value of the possible gaming number counter is “0”, the main CPU 31 then performs RB end time processing (step S150) and ends the bonus end check processing. . In the RB end process, a process such as turning off an RB gaming state flag that is turned on is performed.

次に、図46を参照して、ボーナス作動チェック処理について説明する。なお、図46は、本実施の形態の主制御回路60で行われるボーナス作動チェック処理のフローチャートを示す図である。   Next, with reference to FIG. 46, the bonus operation check process will be described. FIG. 46 is a view showing a flowchart of the bonus operation check process performed in the main control circuit 60 of the present embodiment.

初めに、メインCPU31は、表示役はBB(BB1〜BB4の何れか)であるか否かを判別する(ステップS171)。このとき、メインCPU31は、表示役はBBでないと判別したときには、ステップS174の処理に移行する。一方、メインCPU31は、表示役はBBであると判別したときには、ボーナス作動時処理を行う(ステップS172)。このボーナス作動時処理では、ボーナス作動時テーブル(図28)を参照し、作動させる遊技状態に応じて、遊技状態フラグをオンに、ボーナス終了枚数カウンタに値をセットする。次いで、メインCPU31は、RT4遊技状態フラグをオフにするとともに、持越役格納領域をクリアし(ステップS173)、ボーナス開始コマンドを送信して(ステップS176)、ボーナス作動チェック処理を終了させる。ボーナス開始コマンドには、開始するボーナスの種別等を示す情報が含まれている。   First, the main CPU 31 determines whether or not the display combination is BB (any one of BB1 to BB4) (step S171). At this time, when the main CPU 31 determines that the display combination is not BB, the main CPU 31 proceeds to the process of step S174. On the other hand, when the main CPU 31 determines that the display combination is BB, the main CPU 31 performs a bonus operation process (step S172). In this bonus operation time process, the bonus operation time table (FIG. 28) is referred to, the game state flag is turned on and a value is set in the bonus end number counter according to the game state to be operated. Next, the main CPU 31 turns off the RT4 gaming state flag, clears the carryover combination storage area (step S173), transmits a bonus start command (step S176), and ends the bonus operation check process. The bonus start command includes information indicating the type of bonus to be started.

メインCPU31は、ステップS171の処理において、表示役がBBではないと判別したときには、次いで、表示役はSBであるか否かを判別する(ステップS174)。このとき、メインCPU31は、表示役はSBでないと判別したときにはステップS177の処理に移行する。一方、メインCPU31は、表示役はSBであると判別したときには、ボーナス作動時処理を行う(ステップS175)。このボーナス作動時処理では、ボーナス作動時テーブル(図28)を参照し、SB遊技状態フラグをオンにする。次いで、メインCPU31は、ボーナス開始コマンドを送信して(ステップS176)、ボーナス作動チェック処理を終了させる。   When the main CPU 31 determines in the process of step S171 that the display combination is not BB, the main CPU 31 then determines whether or not the display combination is SB (step S174). At this time, when the main CPU 31 determines that the display combination is not SB, the main CPU 31 proceeds to the process of step S177. On the other hand, when the main CPU 31 determines that the display combination is SB, it performs a bonus operation process (step S175). In this bonus operation time process, the bonus operation time table (FIG. 28) is referred to and the SB game state flag is turned on. Next, the main CPU 31 transmits a bonus start command (step S176), and ends the bonus operation check process.

メインCPU31は、ステップS174の処理において、表示役はSBではないと判別したときには、次いで、表示役はリプレイであるか否かを判別する(ステップS177)。このとき、メインCPU31は、表示役はリプレイでないと判別したときには、ボーナス作動チェック処理を終了させる。一方、メインCPU31は、表示役はリプレイであると判別したときには、投入枚数カウンタの値を自動投入枚数カウンタに複写し(ステップS178)、ボーナス作動チェック処理を終了させる。自動投入枚数カウンタに値がセットされている場合には、次遊技におけるステップS3の処理において、その値に対応する枚数のメダルが自動投入される(遊技者のメダルは減らない)。   When the main CPU 31 determines in the process of step S174 that the display combination is not SB, it next determines whether or not the display combination is replay (step S177). At this time, when determining that the display combination is not replay, the main CPU 31 ends the bonus operation check process. On the other hand, when determining that the display combination is replay, the main CPU 31 copies the value of the insertion number counter to the automatic insertion number counter (step S178), and ends the bonus operation check process. When a value is set in the automatic insertion number counter, in the process of step S3 in the next game, the number of medals corresponding to the value is automatically inserted (the player's medal is not reduced).

次に、図47を参照して、通信データ格納処理について説明する。なお、図47は、本実施の形態の主制御回路60で行われる通信データ格納処理のフローチャートを示す図である。また、図示のP1〜P5データは、各コマンドのパラメータを示す。   Next, communication data storage processing will be described with reference to FIG. FIG. 47 is a diagram showing a flowchart of the communication data storage process performed in the main control circuit 60 of the present embodiment. In addition, the illustrated P1 to P5 data indicate parameters of each command.

メインCPU31は、通信一時格納領域の第0バイトに送信コマンドを格納する(ステップS1291)。メインCPU31は、メインRAM33に割り当てられる通信一時格納領域の第1バイトにP1データを格納する(ステップS1292)。メインCPU31は、通信一時格納領域の第2バイトにP2データを格納する(ステップS1293)。メインCPU31は、通信一時格納領域の第3バイトにP3データを格納する(ステップS1294)。メインCPU31は、通信一時格納領域の第4バイトにP4データを格納する(ステップS1295)。メインCPU31は、通信一時格納領域の第5バイトにP5データを格納する(ステップS1296)。メインCPU31は、通信一時格納領域の第6バイトに遊技状態フラグを格納する(ステップS1297)。   The main CPU 31 stores the transmission command in the 0th byte of the communication temporary storage area (step S1291). The main CPU 31 stores the P1 data in the first byte of the communication temporary storage area allocated to the main RAM 33 (step S1292). The main CPU 31 stores the P2 data in the second byte of the communication temporary storage area (step S1293). The main CPU 31 stores the P3 data in the third byte of the communication temporary storage area (step S1294). The main CPU 31 stores the P4 data in the fourth byte of the communication temporary storage area (step S1295). The main CPU 31 stores the P5 data in the fifth byte of the temporary communication storage area (step S1296). The main CPU 31 stores the gaming state flag in the sixth byte of the temporary communication storage area (step S1297).

そして、メインCPU31は、通信一時格納領域の第0バイト〜第6バイトのデータを排他的論理和により演算して、主サム値であるBCCデータを作成する(ステップS1298)。   Then, the main CPU 31 calculates the 0th to 6th bytes of data in the temporary communication storage area by exclusive OR, and creates BCC data that is the main sum value (step S1298).

メインCPU31は、BCCデータを通信一時格納領域の第7バイトに格納する(ステップS1299)。   The main CPU 31 stores the BCC data in the seventh byte of the communication temporary storage area (step S1299).

続いて、メインCPU31は、後述する暗号化データ作成処理を行う(ステップS1300)。   Subsequently, the main CPU 31 performs encrypted data creation processing described later (step S1300).

次に、メインCPU31は、通信データ格納設定情報から、通信データ格納領域の格納先アドレスを求める(ステップS1301)。ここで、メインCPU31は、通信データ格納領域に空きがあるか否かを判断する(ステップS1302)。メインCPU31が通信データ格納領域に空きが無いと判断したときには、通信データ格納処理を終了させる。   Next, the main CPU 31 obtains the storage address of the communication data storage area from the communication data storage setting information (step S1301). Here, the main CPU 31 determines whether or not there is an empty communication data storage area (step S1302). When the main CPU 31 determines that there is no free space in the communication data storage area, the communication data storage process is terminated.

メインCPU31が通信データ格納領域に空きがあると判断したときには、通信一時格納領域に格納されたデータを、通信データ格納領域に格納する(ステップS1303)。さらに、メインCPU31は、通信データ格納設定情報を更新し(ステップS1304)、通信データ格納処理を終了させる。   When the main CPU 31 determines that there is an empty communication data storage area, the data stored in the communication temporary storage area is stored in the communication data storage area (step S1303). Further, the main CPU 31 updates the communication data storage setting information (step S1304), and ends the communication data storage process.

次に、図48を参照して、暗号化データ作成処理について説明する。なお、図48は、本実施の形態のメインCPU31が実行する暗号化データ作成処理のフローチャートを示す図である。   Next, encrypted data creation processing will be described with reference to FIG. FIG. 48 is a diagram showing a flowchart of encrypted data creation processing executed by the main CPU 31 of the present embodiment.

メインCPU31は、メインROM32に記憶された暗号化情報を参照し、暗号化処理を行うための暗号化シーケンスはデータ入れ替えか否かを判断する(ステップS1311)。メインCPU31がデータ入れ替えと判断しなかったときには、後述のステップS1325に進む。   The main CPU 31 refers to the encryption information stored in the main ROM 32, and determines whether or not the encryption sequence for performing the encryption process is data replacement (step S1311). If the main CPU 31 does not determine that the data is to be replaced, the process proceeds to step S1325 described later.

メインCPU31がデータ入れ替えと判断したときには、データの入れ替えパターンはAか否かを判断する(ステップS1312)。メインCPU31は、データの入れ替えパターンはAと判断したときには、通信一時格納領域の送信データを図15に示したデータ入替パターンAで暗号化し(ステップS1313)、メインルーチン(図47参照)の処理に戻る。   When the main CPU 31 determines that the data is to be replaced, it is determined whether or not the data replacement pattern is A (step S1312). When determining that the data replacement pattern is A, the main CPU 31 encrypts the transmission data in the temporary communication storage area with the data replacement pattern A shown in FIG. 15 (step S1313), and performs the processing of the main routine (see FIG. 47). Return.

メインCPU31は、データの入れ替えパターンはAと判断しなかったときには、通信一時格納領域の送信データをデータ入替パターンB(図16参照)で暗号化し(ステップS1314)、メインルーチンの処理に戻る。   When the main CPU 31 does not determine that the data replacement pattern is A, the transmission data in the temporary communication storage area is encrypted with the data replacement pattern B (see FIG. 16) (step S1314), and the process returns to the main routine.

ステップS1311において、メインCPU31は、データ入れ替えと判断しなかたときには、演算パターンはAか否かを判断する(ステップS1315)。メインCPU31は、演算パターンはAと判断したときには、通信一時格納領域の送信データを図17に示した演算パターンAで暗号化し(ステップS1316)、メインルーチンの処理に戻る。   In step S1311, the main CPU 31 determines whether the calculation pattern is A or not (step S1315) when it is not determined to replace data. When determining that the calculation pattern is A, the main CPU 31 encrypts the transmission data in the temporary communication storage area with the calculation pattern A shown in FIG. 17 (step S1316), and returns to the processing of the main routine.

メインCPU31は、演算パターンはAと判断しなかったときには、通信一時格納領域の送信データを図18に示した演算パターンBで暗号化し(ステップS1317)、メインルーチンの処理に戻る。   When the main CPU 31 does not determine that the calculation pattern is A, the transmission data in the temporary communication storage area is encrypted with the calculation pattern B shown in FIG. 18 (step S1317), and the process returns to the main routine.

次に、図49を参照して、メインCPU31の制御による割込処理について説明する。なお、図49は、本実施の形態の主制御回路60で行われるメインCPU31の制御による割込処理のフローチャートを示す図である。また、このメインCPU31の制御による割込処理は、所定の周期(本実施の形態では、1.1173ミリ秒)毎に発生する割込処理である。   Next, with reference to FIG. 49, an interrupt process by the control of the main CPU 31 will be described. FIG. 49 is a diagram showing a flowchart of an interrupt process under the control of the main CPU 31 performed by the main control circuit 60 of the present embodiment. The interrupt process under the control of the main CPU 31 is an interrupt process that occurs every predetermined period (1.1173 milliseconds in this embodiment).

初めに、メインCPU31は、当該メインCPU31の制御による割込処理を呼び出す前に実行されているプログラムを中断し、その中断した位置を示すアドレス、各種レジスタの値をメインRAM33の所定の領域に退避させる(ステップS181)。これは、当該メインCPU31の制御による割込処理が終了した場合に、退避されたプログラムの中断した位置を示すアドレス、各種レジスタの値を復帰させ、中断した時点からプログラムを継続して実行するためである。   First, the main CPU 31 interrupts the program being executed before calling the interrupt process under the control of the main CPU 31, and saves the address indicating the interrupted position and the values of various registers in a predetermined area of the main RAM 33. (Step S181). This is because when the interrupt process under the control of the main CPU 31 ends, the address indicating the interrupted position of the saved program and the values of various registers are restored, and the program is continuously executed from the point of interruption. It is.

次に、メインCPU31は、入力ポートチェック処理を行う(ステップS182)。具体的には、メインCPU31は、最大BETスイッチ13S等の各スイッチからの信号をチェックする。   Next, the main CPU 31 performs input port check processing (step S182). Specifically, the main CPU 31 checks a signal from each switch such as the maximum BET switch 13S.

次に、メインCPU31は、リール制御処理を行う(ステップS183)。具体的には、メインCPU31は、リセット割込処理(図38参照)においてリールの回転開始要求があった場合には、リール3L、3C、3Rの回転を開始させ、一定速度で回転させるための制御を行う。また、メインCPU31は、リール停止制御処理(図42参照)において滑りコマ数が決定されたことにより停止予定位置が定まっている場合には、該当するリールの図柄カウンタの値が停止予定位置を示す値と同一の値となったときに当該リールを停止させるための制御を行う。例えば、メインCPU31は、停止予定位置を示す値が「4」である場合には、図柄カウンタの値が「4」になったときに、該当するリールを停止させるための制御を行う。   Next, the main CPU 31 performs a reel control process (step S183). Specifically, the main CPU 31 starts rotation of the reels 3L, 3C, and 3R and rotates them at a constant speed when there is a reel rotation start request in the reset interrupt process (see FIG. 38). Take control. Further, when the planned stop position is determined by determining the number of sliding frames in the reel stop control process (see FIG. 42), the main CPU 31 determines the value of the symbol counter of the corresponding reel to indicate the planned stop position. When the value becomes the same as the value, control is performed to stop the reel. For example, when the value indicating the planned stop position is “4”, the main CPU 31 performs control for stopping the corresponding reel when the value of the symbol counter becomes “4”.

次に、メインCPU31は、後述する通信データ送信処理を行う(ステップS184)。さらに、メインCPU31は、ランプ駆動制御処理を行う(ステップS185)。次に、メインCPU31は、ステップS181の処理においてメインRAM33に退避した値を参照してレジスタの復帰を行う(ステップS186)。この処理が終了すると、当該メインCPUの制御による割込処理を終了させ、当該メインCPUの制御による割込処理の発生により中断したプログラムを継続して実行する。   Next, the main CPU 31 performs communication data transmission processing to be described later (step S184). Further, the main CPU 31 performs a lamp drive control process (step S185). Next, the main CPU 31 refers to the value saved in the main RAM 33 in the process of step S181 and restores the register (step S186). When this process ends, the interrupt process under the control of the main CPU is ended, and the program interrupted by the occurrence of the interrupt process under the control of the main CPU is continuously executed.

次に、図50を参照して、通信データ送信処理について説明する。なお、図50は、本実施の形態の主制御回路60で行われる通信データ送信処理のフローチャートを示す図である。この通信データ送信処理は、主としてメインCPU31のコマンド送信手段31bが実行する。   Next, communication data transmission processing will be described with reference to FIG. FIG. 50 is a flowchart of communication data transmission processing performed by the main control circuit 60 of the present embodiment. This communication data transmission process is mainly executed by the command transmission unit 31b of the main CPU 31.

初めに、メインCPU31は、通信データ格納設定情報に基づいて、今回の通信データ格納領域のアドレスをセットする(ステップS1341)。そして、メインCPU31は、通信データ格納領域のセットされたアドレスに、副制御回路70へ送信しようとする通信データ(送信データ)が格納されているか否かを判断する(ステップS1342)。   First, the main CPU 31 sets the address of the current communication data storage area based on the communication data storage setting information (step S1341). Then, the main CPU 31 determines whether or not communication data (transmission data) to be transmitted to the sub control circuit 70 is stored at the set address of the communication data storage area (step S1342).

メインCPU31が、通信データ格納領域のセットされたアドレスに送信データが格納されていないと判断したときには、無操作コマンドをセットして(ステップS1343)、上述した通信データ格納処理を行う(ステップS1344)。   When the main CPU 31 determines that transmission data is not stored at the set address in the communication data storage area, it sets a no-operation command (step S1343) and performs the communication data storage process described above (step S1344). .

ここでの通信データ格納処理が終了した後、あるいは、メインCPU31が、通信データ格納領域のセットされたアドレスに送信データが格納されていると判断したときには、メインCPU31は、主制御回路60の送信ポートに空きがあるか否かを判断する(ステップS1345)。メインCPU31は、主制御回路60の送信ポートに空きがないと判断したときには、通信データ送信処理を終了する。   After completion of the communication data storage process here, or when the main CPU 31 determines that transmission data is stored at the set address of the communication data storage area, the main CPU 31 transmits the main control circuit 60. It is determined whether or not there is an available port (step S1345). When the main CPU 31 determines that the transmission port of the main control circuit 60 is not empty, the main CPU 31 ends the communication data transmission process.

メインCPU31が、主制御回路60の送信ポートに空きがあると判断したときには、1パケット分のデータ数(本実施の形態では8)をセットする(ステップS1346)。そして、メインCPU31は、パケット送信データ設定用出力ポートの先頭番号をセットする(ステップS1347)。さらに、メインCPU31は、通信データ格納領域のデータを出力ポートにセットする(ステップS1348)。   When the main CPU 31 determines that there is an empty transmission port of the main control circuit 60, the number of data for one packet (8 in this embodiment) is set (step S1346). Then, the main CPU 31 sets the leading number of the packet transmission data setting output port (step S1347). Further, the main CPU 31 sets the data in the communication data storage area to the output port (step S1348).

メインCPU31は、通信データ格納領域のアドレスを1加算して更新する(ステップS1349)。次に、メインCPU31は、出力ポート番号を1加算して更新する(ステップS1350)。さらに、メインCPU31は、データ数カウンタを1減算する(ステップS1351)。   The main CPU 31 adds 1 to the address of the communication data storage area and updates it (step S1349). Next, the main CPU 31 adds 1 to the output port number and updates it (step S1350). Further, the main CPU 31 subtracts 1 from the data number counter (step S1351).

次に、メインCPU31は、データ数カウンタは0か否かを判断する(ステップS1352)。メインCPU31が、データ数カウンタは0ではないと判断した場合、通信データ格納領域には出力ポートにまだセットされていないデータが残っていると判断して、再度通信データ格納領域のデータを出力ポートにセットする(ステップ1348)。   Next, the main CPU 31 determines whether or not the data number counter is 0 (step S1352). If the main CPU 31 determines that the data number counter is not 0, it determines that data that has not yet been set in the output port remains in the communication data storage area, and again outputs the data in the communication data storage area to the output port. (Step 1348).

メインCPU31が、データ数カウンタが0であると判断した場合、出力ポートには1パケット分のデータが格納されたと判断して、送信起動要求を通信レジスタポートにセットする(ステップS1353)。これにより、1パケット分のデータが送信されるようになる。   If the main CPU 31 determines that the data number counter is 0, it determines that one packet of data has been stored in the output port, and sets a transmission activation request in the communication register port (step S1353). As a result, data for one packet is transmitted.

そして、メインCPU31は、通信データ格納領域に送信済みデータをセットする(ステップS1354)。さらに、メインCPU31は、通信データ格納設定情報を更新して、次回の通信データ格納領域のアドレスをセットし(ステップS1355)、通信データ送信処理を終了する。   The main CPU 31 sets the transmitted data in the communication data storage area (step S1354). Further, the main CPU 31 updates the communication data storage setting information, sets the address of the next communication data storage area (step S1355), and ends the communication data transmission process.

[遊技機の管理システム]
次に、本実施の形態の遊技機1を利用したエラー情報履歴送信システムについて説明する。エラー情報履歴送信システムとは、遊技機1で発生した各種のエラーをエラー情報として記憶し、エラー情報の履歴を携帯端末の利用により遠隔のサーバに送信し、エラーの原因を解析するシステムである。
[Game machine management system]
Next, an error information history transmission system using the gaming machine 1 of the present embodiment will be described. The error information history transmission system is a system that stores various errors generated in the gaming machine 1 as error information, transmits the error information history to a remote server by using a mobile terminal, and analyzes the cause of the error. .

図51に示すように、エラー情報履歴送信システムは、遊技機1と、係員が所持する携帯端末としてのカメラ付き携帯通信端末(以下、「携帯端末」という)400と、サーバとしてのデータ管理サーバ500と、解析手段としての解析用PC600とを含んで構成される。なお、図51の例では、説明の便宜上、1つの携帯端末400を示しているが、実際には多数の携帯端末400からデータ管理サーバ500にアクセス可能となっている。   As shown in FIG. 51, the error information history transmission system includes a gaming machine 1, a mobile communication terminal with a camera 400 (hereinafter referred to as “mobile terminal”) as a mobile terminal held by a staff member, and a data management server as a server. 500 and an analysis PC 600 as analysis means. In the example of FIG. 51, for convenience of explanation, one mobile terminal 400 is shown, but in reality, the data management server 500 can be accessed from many mobile terminals 400.

データ管理サーバ500は、例えば、エラー情報の管理のみならず遊技記録に関する情報も管理する。携帯端末400とデータ管理サーバ500とは、ネットワークNWを介して、例えば、通信プロトコルにTCP/IP等を用いて相互にデータの送受信が可能になっている。なお、ネットワークNWは、例えば、インターネット、専用通信回線(例えば、CATV(Community Antenna Television)回線)、移動体通信網(基地局等を含む)、およびゲートウェイ等により構築されている。なお、遊技機1はネットワークNWに接続されていない。   For example, the data management server 500 manages not only error information but also information related to game records. The portable terminal 400 and the data management server 500 can exchange data with each other using, for example, TCP / IP as a communication protocol via the network NW. The network NW is constructed by, for example, the Internet, a dedicated communication line (for example, a CATV (Community Antenna Television) line), a mobile communication network (including a base station, etc.), a gateway, and the like. Note that the gaming machine 1 is not connected to the network NW.

なお、携帯端末400と、データ管理サーバ500と、解析用PC600とは、特に図示しないが、それぞれ、制御部、記憶部、表示部、通信部等を備えている。また、データ管理サーバ500および解析用PC600は、例えば、遊技機1のメーカやシステム管理会社等、遊技機1の設置場所とは離隔した区域700に設置されることが好ましい。   Note that the portable terminal 400, the data management server 500, and the analysis PC 600 are each provided with a control unit, a storage unit, a display unit, a communication unit, and the like, although not particularly illustrated. Further, the data management server 500 and the analysis PC 600 are preferably installed in an area 700 separated from the installation location of the gaming machine 1 such as a manufacturer of the gaming machine 1 or a system management company.

遊技機1のサブCPU71は、エラー情報履歴送信システムによりサービスを提供する際、係員(携帯端末400)がデータ管理サーバ500にアクセスするように二次元コード300を液晶表示領域23に表示させる。具体的には、図53に示すように、係員が液晶表示領域23にエラー情報履歴を表示させ、例えば、通信エラーアラームであるCOMエラーアラーム(COM ERR ALM)23b等の所定の項目を選択することにより、二次元コード300を表示させる。   The sub CPU 71 of the gaming machine 1 displays the two-dimensional code 300 on the liquid crystal display area 23 so that the staff (portable terminal 400) accesses the data management server 500 when providing the service by the error information history transmission system. Specifically, as shown in FIG. 53, the clerk displays the error information history in the liquid crystal display area 23 and selects, for example, a predetermined item such as a COM error alarm (COM ERR ALM) 23b which is a communication error alarm. As a result, the two-dimensional code 300 is displayed.

携帯端末400の制御部は、表示された二次元コード300を携帯端末400のカメラ401で読み取り、例えば携帯端末400の専用ソフトにより二次元コード300を解析し、コード内のドメインおよび通信エラーログ等の情報を取得し、二次元コード300に含まれるドメイン等に従ってデータ管理サーバ500にアクセスし、二次元コード300に含まれる情報を出力時送信データとして送信する。   The control unit of the portable terminal 400 reads the displayed two-dimensional code 300 with the camera 401 of the portable terminal 400, analyzes the two-dimensional code 300 with the dedicated software of the portable terminal 400, for example, the domain in the code, the communication error log, etc. And the data management server 500 is accessed according to the domain included in the two-dimensional code 300, and the information included in the two-dimensional code 300 is transmitted as output transmission data.

一方、データ管理サーバ500の制御部は、受信した送信データに含まれる通信エラー情報を記憶部に記憶する。   On the other hand, the control unit of the data management server 500 stores the communication error information included in the received transmission data in the storage unit.

また、データ管理サーバ500の制御部は、出力時送信データに含まれる通信エラー情報を図示しないエラー情報データベースDB(database)に蓄積するとともに、当該通信エラー情報を解析用PC600に送信する。また、データ管理サーバ500の制御部は、受信した通信エラー情報等が示すエラー内容を携帯端末400が表示できるような表示データ(例えば、Webページ)を生成し、アクセスしてきた携帯端末400に対して返信する(図中、一点鎖線矢視)。そして、携帯端末400の制御部は受信した表示データに基づいて、エラー内容等を示す画面402を表示部に表示させる。係員は、その画面402からエラー内容等を確認することができる。   The control unit of the data management server 500 accumulates communication error information included in the output transmission data in an error information database DB (database) (not shown), and transmits the communication error information to the analysis PC 600. In addition, the control unit of the data management server 500 generates display data (for example, a web page) that allows the mobile terminal 400 to display the error content indicated by the received communication error information and the like. To reply (in the figure, one-dot chain line arrow). And the control part of the portable terminal 400 displays the screen 402 which shows an error content etc. on a display part based on the received display data. The clerk can confirm the error content from the screen 402.

さらに、通信エラー情報を受信した解析用PC600は、その通信エラー情報や、エラー情報データベースDBに蓄積された各種の情報に基づいて通信エラーの原因を解析するようになっている。解析用PC600により解析された通信エラーの原因は、当該解析用PC600が設置される遊技機1のメーカやシステム管理会社等において、遊技機1のプログラムや構造等の改善、あるいは遊技機1の設置されたホールでの管理の改善等、適宜利用される。   Further, the analysis PC 600 that has received the communication error information analyzes the cause of the communication error based on the communication error information and various information stored in the error information database DB. The cause of the communication error analyzed by the analysis PC 600 is that the game machine 1 manufacturer or system management company where the analysis PC 600 is installed improves the program or structure of the game machine 1 or installs the game machine 1. It will be used as appropriate, such as improved management in the halls.

次に、係員がエラー情報履歴送信サービスを利用する際における遊技機1について説明する。遊技機1のサブCPU71は、図53に示すエラー情報履歴を液晶表示装置5に表示させるために、係員による通常操作と簡易操作との2種類の操作法を採用している。通常操作を実行する場合は、係員がドアキー2を右回転させて前面扉1bのロック機構を解放し、設定キーをオン操作して設定キースイッチ20Sをオンにすることで、液晶表示領域23に図53に示すメニュー画面が表示される。   Next, the gaming machine 1 when the staff uses the error information history transmission service will be described. The sub CPU 71 of the gaming machine 1 employs two types of operation methods, a normal operation by a staff member and a simple operation, in order to display the error information history shown in FIG. 53 on the liquid crystal display device 5. When executing the normal operation, the clerk turns the door key 2 to the right to release the lock mechanism of the front door 1b, turns on the setting key to turn on the setting key switch 20S, and enters the liquid crystal display area 23. The menu screen shown in FIG. 53 is displayed.

そして、係員が操作キーを操作して、「エラー情報履歴」項目23aを選択することで、液晶表示領域23に図53に示すエラー情報履歴画面が表示される。一方、簡易操作を実行する場合は、係員は、エラー発生時や非遊技時にドアキー2を左回転させてエラーのリセットを行い、その状態を一定時間、例えば5秒間以上保持する。これにより、液晶表示領域23に、図53に示すエラー情報履歴画面が表示される。   Then, when the clerk operates the operation key and selects the “error information history” item 23 a, the error information history screen shown in FIG. 53 is displayed in the liquid crystal display area 23. On the other hand, when executing a simple operation, the attendant resets the error by rotating the door key 2 counterclockwise when an error occurs or not playing, and holds the state for a predetermined time, for example, 5 seconds or more. As a result, the error information history screen shown in FIG. 53 is displayed in the liquid crystal display area 23.

サブCPU71は、係員が選択ボタン24と決定ボタン25を用いて、「エラー情報履歴」項目23aを選択する操作を検出すると、図53に示すように、液晶表示領域23にエラー情報履歴を表示する。さらに、サブCPU71は、係員が選択ボタン24と決定ボタン25を用いて、「COMエラーアラーム」項目23bを選択する操作を検出すると、当該エラー情報履歴に基づいて送信情報を生成し、図53に示すように、「COMエラーアラーム」項目23bの右側に送信情報に基づく二次元コード300を表示させる。   When the sub CPU 71 detects an operation of selecting the “error information history” item 23a using the selection button 24 and the determination button 25, the sub CPU 71 displays the error information history in the liquid crystal display area 23 as shown in FIG. . Further, when the sub CPU 71 detects an operation of selecting the “COM error alarm” item 23b by using the selection button 24 and the determination button 25, the sub CPU 71 generates transmission information based on the error information history, and FIG. As shown, the two-dimensional code 300 based on the transmission information is displayed on the right side of the “COM error alarm” item 23b.

また、サブCPU71は、通信エラーが1回発生した時点ではCOMエラーアラームを表示させず、1回目の通信エラーが発生してから30分以内に再度通信エラーが発生した場合に限り、COMエラーアラームを表示するようになっている。このため、サブCPU71は、通信エラーの発生した間隔を計測するためのCOMエラータイマを備えている。COMエラータイマは、内蔵RTC70aの計時またはOSが提供する機能による計時に基づいて計測を行う。   The sub CPU 71 does not display a COM error alarm when a communication error occurs once, and only when a communication error occurs again within 30 minutes after the first communication error occurs. Is displayed. For this reason, the sub CPU 71 includes a COM error timer for measuring an interval at which a communication error occurs. The COM error timer performs measurement based on the time measurement of the built-in RTC 70a or the time measurement by the function provided by the OS.

また、本実施の形態では、サブCPU71は、通信エラーが発生した場合に限って二次元コード300を作成するようにしている。このため、通信エラーが、例えば通常の遊技中に偶発的に発生した場合は、二次元コード300にエラー情報として載せられるデータは、図56(a)に示すように正常な処理の途中で通信エラーが発生し、その直後から再び正常な処理が実行されたものとなる。ここで、図56中の数値はデータの文字数であり、1文字のデータはコマンド種別、2文字のデータは直前のコマンドに対するパラメータをそれぞれ示す。   In the present embodiment, the sub CPU 71 generates the two-dimensional code 300 only when a communication error occurs. For this reason, if a communication error occurs accidentally during, for example, a normal game, the data that is loaded as error information on the two-dimensional code 300 is communicated during normal processing as shown in FIG. An error occurs, and normal processing is executed again immediately after that. Here, the numerical values in FIG. 56 are the number of data characters, one character data indicates a command type, and two character data indicates a parameter for the immediately preceding command.

また、通信エラーがゴト行為により発生したもので、遊技機1に設定変更があった場合は、二次元コード300にエラー情報として載せられるデータは、図56(b)に示すように通信エラーの発生直後に設定変更がなされたものとなる。さらに、通信エラーが発生してレバー操作による連続送信がなされた場合は、二次元コード300にエラー情報として載せられるデータは、図56(c)に示すように通信エラーの発生直後からコマンド種別であるレバー操作とパラメータである成立役とが連続したものとなる。   In addition, when a communication error occurs due to the goto action and the setting is changed in the gaming machine 1, the data placed as error information in the two-dimensional code 300 is a communication error as shown in FIG. 56 (b). The settings are changed immediately after the occurrence. Furthermore, when a communication error occurs and continuous transmission is performed by lever operation, the data that is placed as error information on the two-dimensional code 300 is the command type immediately after the occurrence of the communication error, as shown in FIG. A certain lever operation and a parameterized winning combination are continuous.

図57は、副制御回路70のサブRAM73−1のデータが破壊された場合に、副制御回路70が、遊技機1の液晶表示領域23のほぼ全面に、RAMデータにサム異常が生じたため遊技を続行できない旨を報知した一例を示す。   FIG. 57 shows that when the data in the sub-RAM 73-1 of the sub-control circuit 70 is destroyed, the sub-control circuit 70 has a thumb abnormality in the RAM data over almost the entire liquid crystal display area 23 of the gaming machine 1. An example of notifying that it cannot continue is shown.

例えば、主制御回路60から受信したコマンド、演出データ情報、遊技状態情報、内部当籤役情報、表示役情報、各種カウンタおよび各種フラグ等の情報に関するデータの一部や全部が消去された場合に、遊技機1の液晶表示領域23の図柄表示領域4L、4C、4Rを除いた部分に、「RAMデータ異常 遊技を続行できません。設定変更を行ってください。」との報知を行う。このような報知を行うことにより、ゴト行為の抑制を図ることが期待できる。   For example, when some or all of the data related to the command, effect data information, game state information, internal winning combination information, display combination information, various counters and various flags received from the main control circuit 60 are deleted, A notification that “RAM data abnormal game cannot be continued. Please change the setting” is given to the portion of the liquid crystal display area 23 of the gaming machine 1 excluding the symbol display areas 4L, 4C, 4R. By performing such notification, it can be expected to suppress goto action.

[サブCPU]
次に、図58を参照しながらサブCPU71の電源投入処理について説明する。図58はサブCPU71の電源投入処理のフローチャートである。
[Sub CPU]
Next, the power-on process of the sub CPU 71 will be described with reference to FIG. FIG. 58 is a flowchart of the power-on process of the sub CPU 71.

サブCPU71の電源投入処理は、OS内の初期化処理であり、サブCPU71の電源が投入されると、CPUおよび内部デバイスの初期化や周辺ICの初期化を行うためにサブCPU初期設定処理が実行される(ステップS910)。   The power-on process of the sub CPU 71 is an initialization process in the OS. When the power of the sub CPU 71 is turned on, a sub CPU initial setting process is performed to initialize the CPU and internal devices and peripheral ICs. It is executed (step S910).

次に、サブCPU71は、各種のタスク起動要求のために、図59に基づいて後述するマザータスクの起動要求処理を実行する(ステップS911)。そして、サブCPU71は、図73に基づいて後述するサブRAM管理処理を実行する。   Next, the sub CPU 71 executes mother task activation request processing, which will be described later with reference to FIG. 59, for various task activation requests (step S911). Then, the sub CPU 71 executes a sub RAM management process described later based on FIG.

また、副制御回路70内に電断検知回路が設けられている(図示しない)。その電断検知回路が、電圧低下、例えば、4.5Vまで電圧が低下したことを検知すると、電断検知信号を出力する。サブCPU71は、外部割込ポート(NMI)からの割込入力により、図60に示す電断割込処理を実行する。電断割込処理では、後述する図74に示すバックアップ作成処理(ステップS950)を実行する。   Further, a power interruption detection circuit is provided in the sub control circuit 70 (not shown). When the power interruption detection circuit detects a voltage drop, for example, a voltage drop to 4.5 V, it outputs a power interruption detection signal. The sub CPU 71 executes a power interruption interrupt process shown in FIG. 60 by an interrupt input from the external interrupt port (NMI). In the power interruption process, a backup creation process (step S950) shown in FIG. 74 described later is executed.

なお、主制御と異なり、電断割込処理では、サブCPU71はサム値の計算は行わない。サブCPU71によるサム値の計算は、有効コマンド受信時、演出モード変更時等ごとに行われている。   Unlike the main control, the sub CPU 71 does not calculate the sum value in the power interruption processing. The calculation of the sum value by the sub CPU 71 is performed every time a valid command is received, when the effect mode is changed, or the like.

図59に示すマザータスクの要求処理は、OSに遊技機1の機能に必要なタスクの起動要求をする処理である。まずサブCPU71は演出登録処理の起動要求をする(ステップS1001)。次にサブタスクの起動要求として、役物制御タスク起動要求(ステップS1002)、ランプ制御タスク起動要求(ステップS1003)、サウンド制御タスク起動要求(ステップS1004)、主基板通信タスク起動要求(ステップS1005)、アニメタスク起動要求(ステップS1006)、次に、RTC制御タスク起動要求(ステップS1007)をする。   The mother task request process shown in FIG. 59 is a process of requesting the OS to start a task necessary for the function of the gaming machine 1. First, the sub CPU 71 makes an activation request for the effect registration process (step S1001). Next, as an activation request for subtasks, an accessory control task activation request (step S1002), a lamp control task activation request (step S1003), a sound control task activation request (step S1004), a main board communication task activation request (step S1005), An animation task activation request (step S1006) and then an RTC control task activation request (step S1007) are made.

次に、上述したエラー情報履歴送信システムの動作を、図61〜図71に示すフローチャートに沿って説明する。まず、図61を参照して副制御回路70における主基板通信受信割込処理について説明する。なお、図61は、本実施の形態の副制御回路70における主基板通信受信割込処理のフローチャートを示す図である。この副制御回路70における主基板通信受信割込処理のプログラムは、主制御回路60から副制御回路70に送信データが送信された時に、サブCPU71が割込処理として実行する。   Next, the operation of the error information history transmission system described above will be described with reference to the flowcharts shown in FIGS. First, the main board communication reception interrupt process in the sub control circuit 70 will be described with reference to FIG. FIG. 61 is a flowchart of the main board communication reception interrupt process in the sub control circuit 70 of the present embodiment. The main board communication reception interrupt process program in the sub control circuit 70 is executed by the sub CPU 71 as an interrupt process when transmission data is transmitted from the main control circuit 60 to the sub control circuit 70.

サブCPU71は、メインCPU31との間に介在するI/Oポートの受信データレジスタから受信データを取得する(ステップS800)。また、サブCPU71は、I/Oポートの受信ステータスレジスタから受信ステータスデータを取得する(ステップS801)。さらに、サブCPU71は、受信データと、その受信データに関する受信ステータスデータとを、各キューバッファに登録し(ステップS802)、主基板通信受信割込処理を終了する。   The sub CPU 71 acquires received data from the received data register of the I / O port interposed between the main CPU 31 (step S800). In addition, the sub CPU 71 acquires reception status data from the reception status register of the I / O port (step S801). Further, the sub CPU 71 registers the reception data and the reception status data related to the reception data in each queue buffer (step S802), and ends the main board communication reception interrupt process.

サブCPU71は、上述したステップS800〜ステップS802の主基板通信受信割込処理を1回実行することにより、1バイトの受信データを処理するようになっている。本実施の形態では、1コマンドは8バイトのデータから構成される。したがって、サブCPU71は、ステップS800〜S802を8回連続して処理することにより、シリアルデータ通信の実行により1コマンドの処理を完了するようになっている。   The sub CPU 71 processes the received data of 1 byte by executing the main board communication reception interrupt process of steps S800 to S802 described above once. In the present embodiment, one command is composed of 8-byte data. Therefore, the sub CPU 71 completes processing of one command by executing serial data communication by processing steps S800 to S802 continuously eight times.

[演出登録処理]
次に、図62に示すフローチャートを参照して、副制御回路70の遊技に関する動作について説明する。
[Production registration process]
Next, with reference to the flowchart shown in FIG. 62, the operation | movement regarding the game of the sub control circuit 70 is demonstrated.

図62を参照して、演出登録処理について説明する。なお、図62は、本実施の形態の演出登録処理のフローチャートを示す図である。   With reference to FIG. 62, the effect registration process will be described. FIG. 62 is a diagram showing a flowchart of the effect registration process of the present embodiment.

初めに、サブCPU71は、演出登録処理に4msの周期を設定する(ステップS310)。次に、サブCPU71は、メッセージキューからメッセージを取り出す(ステップS311)。次いで、サブCPU71は、メッセージキューにメッセージはあったか否かを判別する(ステップS312)。このとき、サブCPU71は、メッセージキューにメッセージはなかったと判別したときには、ステップS316の処理に移行する。   First, the sub CPU 71 sets a period of 4 ms for the effect registration process (step S310). Next, the sub CPU 71 takes out a message from the message queue (step S311). Next, the sub CPU 71 determines whether or not there is a message in the message queue (step S312). At this time, when the sub CPU 71 determines that there is no message in the message queue, the sub CPU 71 proceeds to the process of step S316.

一方、サブCPU71は、ステップS312において、メッセージキューにメッセージはあったと判別したときには、メッセージから遊技情報を複写し(ステップS313)、次に、演出内容決定処理を行う(ステップS314)。演出内容決定処理では、メインCPU31から送信された各種コマンドに応じた演出内容を決定し、受信したコマンドで特定される例えば遊技状態や動作状態に応じた演出データを登録する。続いて、サブCPU71は、サブRAM73−1からSRAM73−2にバックアップデータを作成するバックアップ作成処理を行う(ステップS315)。   On the other hand, when the sub CPU 71 determines in step S312 that there is a message in the message queue, the sub CPU 71 copies the game information from the message (step S313), and then performs effect content determination processing (step S314). In the effect content determination process, the effect content according to various commands transmitted from the main CPU 31 is determined, and effect data corresponding to, for example, a gaming state or an operation state specified by the received command is registered. Subsequently, the sub CPU 71 performs a backup creation process for creating backup data from the sub RAM 73-1 to the SRAM 73-2 (step S315).

次に、サブCPU71は、アニメーションデータの登録を行う(ステップS316)。具体的には、サブCPU71は、演出内容決定処理において登録された演出データに基づいて、アニメーションデータの登録を行う。これにより、液晶表示装置5に画像が表示される。すなわち、サブCPU71は、演出内容決定処理において決定された演出データに基づいて、画像表示コマンドをGPU74に送信する。   Next, the sub CPU 71 registers animation data (step S316). Specifically, the sub CPU 71 registers animation data based on the effect data registered in the effect content determination process. Thereby, an image is displayed on the liquid crystal display device 5. That is, the sub CPU 71 transmits an image display command to the GPU 74 based on the effect data determined in the effect content determination process.

GPU74は、受信した画像表示コマンドに基づいて、VRAM75に展開されている画像データの中から適当な画像データを選択するとともに当該画像データの表示位置や大きさを決定し、画像データをVRAM75に備えられた一方のフレームバッファに格納する。   The GPU 74 selects appropriate image data from the image data expanded in the VRAM 75 based on the received image display command, determines the display position and size of the image data, and provides the image data in the VRAM 75. Is stored in one of the specified frame buffers.

GPU74は、所定の周期(1/30秒)毎にフレームバッファ領域の表示画像データ領域と書込画像データ領域とを入れ換えるバンク切換処理を行う。バンク切換処理においてGPU74は、書込画像データ領域に書き込まれている画像データを液晶表示装置5に出力するとともに、表示画像データ領域を書込画像データ領域に入れ換え、次に表示すべき画像データの書き込みを行う。   The GPU 74 performs a bank switching process for exchanging the display image data area and the write image data area in the frame buffer area at predetermined intervals (1/30 seconds). In the bank switching process, the GPU 74 outputs the image data written in the write image data area to the liquid crystal display device 5, replaces the display image data area with the write image data area, and sets the image data to be displayed next. Write.

次に、サブCPU71は、サウンドデータの登録を行う(ステップS317)。具体的には、サブCPU71は、演出内容決定処理において登録した演出データに基づいて、サウンドデータの登録を行う。これにより、スピーカ21L、21Rから音が出力される。次に、サブCPU71は、LEDデータの登録を行う(ステップS318)。   Next, the sub CPU 71 registers sound data (step S317). Specifically, the sub CPU 71 registers sound data based on the effect data registered in the effect content determination process. Thereby, a sound is output from the speakers 21L and 21R. Next, the sub CPU 71 registers LED data (step S318).

具体的には、サブCPU71は、演出内容決定処理において登録した演出データに基づいて、LEDデータの登録を行う。これにより、各種操作パネル101〜103、表示パネルユニット110が点灯したり消灯したりする。この処理が終了すると、サブCPU71は、4msの周期待ちをして(ステップS319)、ステップS311の処理に戻る。   Specifically, the sub CPU 71 registers LED data based on the effect data registered in the effect content determination process. As a result, the various operation panels 101 to 103 and the display panel unit 110 are turned on or off. When this process ends, the sub CPU 71 waits for a period of 4 ms (step S319), and returns to the process of step S311.

次に、図63を参照して、図62に示すサブCPUにより行われる演出登録処理のフローチャートの中の演出内容決定処理について説明する。なお、図63は、演出内容決定処理のフローチャートを示す図である。また、下記の処理は、サブCPU71が有するコマンド復号化手段71aが、主制御回路60が暗号化して送信する各種のコマンドを復号化した後に行う処理である。   Next, with reference to FIG. 63, an effect content determination process in the flowchart of the effect registration process performed by the sub CPU shown in FIG. 62 will be described. FIG. 63 is a flowchart of the effect content determination process. The following processing is processing performed after the command decryption means 71a of the sub CPU 71 decrypts various commands that the main control circuit 60 encrypts and transmits.

初めに、サブCPU71は、スタートコマンドを受信したか否かを判別する(ステップS351)。サブCPU71は、スタートコマンドを受信したと判別したときには、スタートコマンド受信時処理を行い(ステップS352)、スタート時の演出データを登録して(ステップS353)、演出内容決定処理を終了させる。   First, the sub CPU 71 determines whether or not a start command has been received (step S351). When determining that the start command has been received, the sub CPU 71 performs a start command reception process (step S352), registers the start effect data (step S353), and ends the effect content determination process.

サブCPU71は、ステップS351の処理においてスタートコマンドを受信していないと判別したときには、次いで、リール停止コマンドを受信したか否かを判別する(ステップS354)。   If the sub CPU 71 determines in step S351 that a start command has not been received, the sub CPU 71 then determines whether or not a reel stop command has been received (step S354).

ステップS354の処理において、サブCPU71は、リール停止コマンドを受信したと判別したときには、リール停止コマンド受信時処理を行い(ステップS355)、作動ストップボタンの種別等に応じて、停止時の演出データを登録して(ステップS356)、演出内容決定処理を終了させる。   In the process of step S354, when the sub CPU 71 determines that a reel stop command has been received, the sub CPU 71 performs a reel stop command reception process (step S355), and displays stop effect data according to the type of the operation stop button and the like. Registration is performed (step S356), and the effect content determination process is terminated.

サブCPU71は、ステップS354の処理においてリール停止コマンドを受信していないと判別したときには、次いで、表示コマンドを受信したか否かを判別する(ステップS357)。サブCPU71は、表示コマンドを受信したと判別したときには、表示コマンド受信時処理を行い(ステップS358)、演出内容決定処理を終了させる。   When the sub CPU 71 determines in the process of step S354 that the reel stop command has not been received, the sub CPU 71 then determines whether or not a display command has been received (step S357). When the sub CPU 71 determines that a display command has been received, the sub CPU 71 performs a display command reception process (step S358), and ends the effect content determination process.

サブCPU71は、ステップS357の処理において表示コマンドを受信していないと判別したときには、次いで、BETコマンドを受信したか否かを判別する(ステップS359)。サブCPU71は、BETコマンドを受信したと判別したときには、投入枚数等に応じて、BET時の演出データを登録し(ステップS360)、演出内容決定処理を終了させる。   If the sub CPU 71 determines in step S357 that it has not received a display command, it then determines whether or not a BET command has been received (step S359). When determining that the BET command has been received, the sub CPU 71 registers the effect data for the BET according to the number of inserted sheets (step S360), and ends the effect content determination process.

サブCPU71は、ステップS359の処理においてBETコマンドを受信していないと判別したときには、次いで、ボーナス開始コマンドを受信したか否かを判別する(ステップS361)。サブCPU71は、ボーナス開始コマンドを受信したと判別したときには、ボーナス開始時用演出データを登録し(ステップS362)、演出内容決定処理を終了させる。   If the sub CPU 71 determines in step S359 that the BET command has not been received, the sub CPU 71 then determines whether or not a bonus start command has been received (step S361). When determining that the bonus start command has been received, the sub CPU 71 registers the bonus start time effect data (step S362), and ends the effect content determination process.

サブCPU71は、ステップS361の処理においてボーナス開始コマンドを受信していないと判別したときには、次いで、ボーナス終了コマンドを受信したか否かを判別する(ステップS363)。このとき、サブCPU71は、ボーナス終了コマンドを受信していないと判別したときには、演出内容決定処理を終了させる。一方、サブCPU71は、ボーナス終了コマンドを受信したと判別したときには、ボーナス終了コマンド受信時処理を行い(ステップS364)、ボーナス終了時用演出データを登録し(ステップS365)、演出内容決定処理を終了させる。   If the sub CPU 71 determines in step S361 that a bonus start command has not been received, the sub CPU 71 then determines whether or not a bonus end command has been received (step S363). At this time, when determining that the bonus end command has not been received, the sub CPU 71 ends the effect content determination process. On the other hand, when the sub CPU 71 determines that the bonus end command has been received, the sub CPU 71 performs a bonus end command reception process (step S364), registers bonus end time effect data (step S365), and ends the effect content determination process. Let

[主基板通信処理]
次に、図64を参照してサブCPU71の主基板通信処理について説明する。なお、図64は、本実施の形態のサブCPU71の主基板通信処理のフローチャートを示す図である。
[Main board communication processing]
Next, the main board communication processing of the sub CPU 71 will be described with reference to FIG. FIG. 64 is a diagram showing a flowchart of main board communication processing of the sub CPU 71 of this embodiment.

サブCPU71は、OSのスケジューリングの機能に応答して、サブCPU71の主基板通信処理のプログラムを2msの周期で実行するように周期を設定する(ステップS808)。これにより、本タスクは、処理時間を含めて2msの周期で繰り返される。このため、サブCPU71は、2msの周期待ちをして(ステップS809)、フローチャートが繰り返される場合に2msの残り時間を待機する。   In response to the scheduling function of the OS, the sub CPU 71 sets a cycle so that the main board communication processing program of the sub CPU 71 is executed at a cycle of 2 ms (step S808). Thereby, this task is repeated at a cycle of 2 ms including the processing time. For this reason, the sub CPU 71 waits for a cycle of 2 ms (step S809), and waits for the remaining time of 2 ms when the flowchart is repeated.

なお、本タスク処理の周期は2msに限定されるものではなく、2ms〜4msの間で実行されてもよい。また、サブCPU71の主基板通信処理のプログラムは所定時間ごとに実行されるものに限られず、周期設定および周期待ちをすることなく、例えば、時間間隔に関係なく所定の条件が満たされた場合に実行されるようにしてもよい。   Note that the cycle of this task process is not limited to 2 ms, and may be executed between 2 ms and 4 ms. In addition, the main board communication processing program of the sub CPU 71 is not limited to one executed every predetermined time. For example, when a predetermined condition is satisfied regardless of the time interval, without setting the cycle and waiting for the cycle. It may be executed.

次に、サブCPU71は、ステップS802で受信データを登録したキューから受信データを取得する(ステップS810)。サブCPU71は、キューに受信データがあるか否かを判断する(ステップS811)。サブCPU71は、キューに受信データが無いと判断した場合は、再度キューから受信データを取得する(ステップS810)。   Next, the sub CPU 71 acquires the reception data from the queue in which the reception data is registered in step S802 (step S810). The sub CPU 71 determines whether there is received data in the queue (step S811). If the sub CPU 71 determines that there is no received data in the queue, it acquires the received data from the queue again (step S810).

サブCPU71が、キューに受信データがあると判断した場合は、受信データに物理層エラーが発生していないか否かを判断する(ステップS812)。サブCPU71は、受信データに物理層エラーが発生していないと判断した場合は、後述する受信データの復号化処理を行って(ステップS813)、受信コマンドの数値範囲をチェックして取得する(ステップS814)。本実施の形態では、受信コマンドの数値範囲は、図55に示すように、01H〜10Hとなっている。そして、サブCPU71は、受信コマンドの数値が適正範囲内であるか否かを判断する(ステップS815)。   When the sub CPU 71 determines that there is received data in the queue, it determines whether a physical layer error has occurred in the received data (step S812). If the sub CPU 71 determines that no physical layer error has occurred in the received data, the sub CPU 71 performs a decoding process on the received data, which will be described later (step S813), and checks and acquires the numerical range of the received command (step S813). S814). In the present embodiment, the numerical range of the received command is 01H to 10H as shown in FIG. Then, the sub CPU 71 determines whether or not the numerical value of the received command is within an appropriate range (step S815).

サブCPU71が、コマンドの数値は適正範囲内であると判断した場合は、受信データについてBCCチェック処理を行う(ステップS816)。   When the sub CPU 71 determines that the numerical value of the command is within the proper range, the BCC check process is performed on the received data (step S816).

そして、サブCPU71は、BCCチェック処理の結果が正常であるか否かを判断する(ステップS817)。サブCPU71が、BCCチェック処理の結果が正常であると判断した場合は、コマンドの種別を抽出する(ステップS818)。   Then, the sub CPU 71 determines whether or not the result of the BCC check process is normal (step S817). When the sub CPU 71 determines that the result of the BCC check process is normal, the command type is extracted (step S818).

そして、サブCPU71は、抽出したコマンドが無操作コマンドか否かを判断する(ステップS819)。サブCPU71は、抽出したコマンドが無操作コマンドであると判断した場合は、再度キューから受信データを取得する(ステップS810)。   Then, the sub CPU 71 determines whether or not the extracted command is a no-operation command (step S819). If the sub CPU 71 determines that the extracted command is a no-operation command, the sub CPU 71 acquires the received data from the queue again (step S810).

サブCPU71は、抽出したコマンドが無操作コマンドではないと判断した場合は、後述する受信データログ保存処理を実行する(ステップS820)。さらに、サブCPU71は、後述する主基板受信コマンドチェック処理を実行する(ステップS821)。   If the sub CPU 71 determines that the extracted command is not a no-operation command, the sub CPU 71 executes a received data log saving process to be described later (step S820). Further, the sub CPU 71 executes a main board reception command check process to be described later (step S821).

そして、サブCPU71は、今回受信したコマンドが前回(直前の回)に受信したコマンドと異なっているか否かを判断する(ステップS822)。サブCPU71は、今回受信したコマンドが直前に受信したコマンドと異なっていない、すなわち同一であると判断した場合は、2msの周期待ちをして(ステップS809)再度キューから受信データを取得する(ステップS810)。   Then, the sub CPU 71 determines whether or not the command received this time is different from the command received last time (immediately before) (step S822). If the sub CPU 71 determines that the command received this time is not different from the command received immediately before, that is, it is the same, it waits for a period of 2 ms (step S809) and acquires the received data from the queue again (step S809). S810).

サブCPU71は、今回受信したコマンドが直前に受信したコマンドと異なっていると判断した場合は、今回受信したコマンドをメッセージキューに登録する(ステップS823)。そして、サブCPU71は、ゲームデータサム値領域73b−1に対してサムチェックを行う(ステップS824)。   If the sub CPU 71 determines that the command received this time is different from the command received immediately before, the sub CPU 71 registers the command received this time in the message queue (step S823). Then, the sub CPU 71 performs a sum check on the game data sum value area 73b-1 (step S824).

さらに、サブCPU71は、サムチェックした結果、ゲームデータは正常であるか否かを判断する(ステップS825)。サブCPU71は、ゲームデータが正常であると判断した場合は2msの周期待ちをして(ステップS809)、再度キューから受信データを取得する(ステップS810)。   Further, the sub CPU 71 determines whether or not the game data is normal as a result of the sum check (step S825). If the sub CPU 71 determines that the game data is normal, the sub CPU 71 waits for a period of 2 ms (step S809), and acquires the received data from the queue again (step S810).

サブCPU71は、ゲームデータが異常であると判断した場合は、エラー情報登録手段71eがデータ破壊エラーの発生をエラー情報履歴格納領域73d−1に登録する(ステップS826)。そして、サブCPU71は、2msの周期待ちをして(ステップS809)再度キューから受信データを取得する(ステップS810)。   When the sub CPU 71 determines that the game data is abnormal, the error information registration unit 71e registers the occurrence of the data destruction error in the error information history storage area 73d-1 (step S826). Then, the sub CPU 71 waits for a period of 2 ms (step S809), and obtains received data from the queue again (step S810).

また、サブCPU71は、ステップS812において受信データに物理層エラーが発生したと判断した場合、あるいはステップS815においてコマンドは適正範囲内ではないと判断した場合、あるいはステップS817においてBCCチェック処理の結果が正常ではないと判断した場合は、通信エラーが発生したと判断し、後述するCOMエラーチェック処理を実行する(ステップS827)。そして、サブCPU71は、2msの周期待ちをして(ステップS809)再度キューから受信データを取得する(ステップS810)。なお、サブCPU71が、ステップS815においてコマンドは適正範囲内ではないと判断した場合や、ステップS817においてBCCチェック処理の結果が正常ではないと判断した場合は、復号化したデータにエラー要因が含まれていたことになる。   The sub CPU 71 determines that a physical layer error has occurred in the received data in step S812, determines that the command is not within the proper range in step S815, or determines that the result of the BCC check process is normal in step S817. If not, it is determined that a communication error has occurred, and a COM error check process described later is executed (step S827). Then, the sub CPU 71 waits for a period of 2 ms (step S809), and obtains received data from the queue again (step S810). If the sub CPU 71 determines in step S815 that the command is not within the proper range, or if the sub CPU 71 determines that the result of the BCC check process is not normal in step S817, the decrypted data includes an error factor. It would have been.

次に、図65を参照してステップS813の受信データ復号化処理について説明する。なお、図65は、本実施の形態の副制御回路70で行われる受信データ復号化処理のフローチャートを示す図である。   Next, the received data decoding process in step S813 will be described with reference to FIG. FIG. 65 is a diagram showing a flowchart of the received data decoding process performed by the sub-control circuit 70 of the present embodiment.

サブCPU71は、サブROM72に記憶された復号化情報領域72j(図8参照)を参照し、復号化処理を行うための復号化シーケンスはデータ入れ替えか否かを判断する(ステップS1321)。サブCPU71がデータ入れ替えと判断しなかったときには、後述のステップS1325に進む。   The sub CPU 71 refers to the decoding information area 72j (see FIG. 8) stored in the sub ROM 72, and determines whether or not the decoding sequence for performing the decoding process is data exchange (step S1321). If the sub CPU 71 does not determine that the data is to be replaced, the process proceeds to step S1325 described later.

サブCPU71がデータ入れ替えと判断したときには、データの入れ替えパターンはAか否かを判断する(ステップS1322)。サブCPU71は、データの入れ替えパターンはAと判断したときには、通信一時格納領域の送信データを図15に示したデータ入替パターンAで復号化し(ステップS1323)、受信データ復号化処理を終了する。   When the sub CPU 71 determines that the data is to be replaced, it is determined whether or not the data replacement pattern is A (step S1322). When determining that the data replacement pattern is A, the sub CPU 71 decodes the transmission data in the temporary communication storage area with the data replacement pattern A shown in FIG. 15 (step S1323), and ends the received data decoding process.

サブCPU71は、データの入れ替えパターンはAと判断しなかったときには、通信一時格納領域の送信データをデータ入替パターンB(図16参照)で復号化し(ステップS1324)、受信データ復号化処理を終了する。   If the sub-CPU 71 does not determine that the data replacement pattern is A, the sub-CPU 71 decodes the transmission data in the temporary communication storage area with the data replacement pattern B (see FIG. 16) (step S1324), and ends the received data decoding process. .

ステップS1321において、サブCPU71は、データ入れ替えと判断しなかったときには、演算パターンはAか否かを判断する(ステップS1325)。サブCPU71は、演算パターンはAと判断したときには、通信一時格納領域の送信データを図17に示した演算パターンAで復号化し(ステップS1326)、受信データ復号化処理を終了する。   In step S1321, if the sub CPU 71 does not determine that the data is to be replaced, the sub CPU 71 determines whether or not the calculation pattern is A (step S1325). When the sub CPU 71 determines that the calculation pattern is A, the transmission data in the temporary communication storage area is decoded by the calculation pattern A shown in FIG. 17 (step S1326), and the reception data decoding process is terminated.

サブCPU71は、演算パターンはAと判断しなかったときには、通信一時格納領域の送信データを図18に示した演算パターンBで復号化し(ステップS1327)、受信データ復号化処理を終了する。   When the sub CPU 71 does not determine that the calculation pattern is A, the sub CPU 71 decodes the transmission data in the temporary communication storage area with the calculation pattern B shown in FIG. 18 (step S1327), and ends the reception data decoding process.

次に、図66を参照してステップS816の主基板受信データBCCチェック処理について説明する。なお、図65は、本実施の形態の副制御回路70で行われる主基板受信データBCCチェック処理のフローチャートを示す図である。   Next, the main board reception data BCC check process in step S816 will be described with reference to FIG. FIG. 65 is a diagram showing a flowchart of the main board reception data BCC check process performed by the sub-control circuit 70 of the present embodiment.

サブCPU71は、受信データからBCCデータを算出し(ステップS1331)、受信BCCデータを取得する(ステップS1332)。   The sub CPU 71 calculates BCC data from the received data (step S1331), and acquires the received BCC data (step S1332).

サブCPU71は、取得したBCCデータが正常か否かを判断する(ステップS1333)。ここでは、1コマンドは8バイトのデータから構成されるので、サブCPU71は、各コマンドの第1バイト〜第7バイトのデータを順にXOR演算し、その結果を予め正しい結果を設定しておいた第8バイトのデータと比較することでチェック処理を行う。   The sub CPU 71 determines whether or not the acquired BCC data is normal (step S1333). Here, since one command is composed of 8-byte data, the sub CPU 71 sequentially XORs the data of the first byte to the seventh byte of each command, and sets the result in advance as a correct result. A check process is performed by comparing with the 8th byte data.

サブCPU71は、取得したBCCデータが正常と判断しなかったときには、BCCが正常か否かを示すレジスタにBBCが異常であることを示す情報をセットする(ステップS1334)。一方、サブCPU71は、取得したBCCデータが正常と判断したときには、BCCが正常か否かを示すレジスタにBBCが正常であることを示す情報をセットし(ステップS1335)、主基板受信データBCCチェック処理を終了する。   When the sub CPU 71 does not determine that the acquired BCC data is normal, the sub CPU 71 sets information indicating that the BBC is abnormal in a register indicating whether the BCC is normal (step S1334). On the other hand, when the sub CPU 71 determines that the acquired BCC data is normal, the sub CPU 71 sets information indicating that the BBC is normal in a register indicating whether the BCC is normal (step S1335), and checks the main board reception data BCC. The process ends.

次に、図67を参照してステップS820の受信データログ保存処理について説明する。なお、図67は、本実施の形態の副制御回路70で行われる主基板通信受信データログ保存処理のフローチャートを示す図である。この主基板通信受信データログ保存処理は、主としてサブCPU71の受信データログ保存手段71fにより実行される。   Next, the received data log saving process in step S820 will be described with reference to FIG. FIG. 67 is a diagram showing a flowchart of main board communication reception data log storage processing performed in the sub control circuit 70 of the present embodiment. The main board communication reception data log storage process is mainly executed by the reception data log storage means 71f of the sub CPU 71.

主基板通信受信データログ保存処理が実行されると、サブCPU71は、後述する主基板通信受信データログ一時領域保存処理を実行する(ステップS830)。主基板通信受信データログ一時領域保存処理は、図13に示す通信ログ収集用リングバッファ領域73e−1を用いるとともに、エラー発生の有無に関わらず、全ての通信ログを保存するための処理となっている。   When the main board communication received data log saving process is executed, the sub CPU 71 executes a main board communication received data log temporary area saving process described later (step S830). The main board communication reception data log temporary area saving process uses the communication log collection ring buffer area 73e-1 shown in FIG. 13 and saves all communication logs regardless of whether or not an error has occurred. ing.

続いて、サブCPU71は、後述する主基板通信エラー履歴データ保存処理を実行する(ステップS831)。主基板通信エラー履歴データ保存処理は、図14に示す通信エラー保存領域を用いるとともに、通信エラーが発生した場合に、関連する通信ログを保存するための処理となっている。その後、サブCPU71は、主基板通信受信データログ保存処理を終了する。   Subsequently, the sub CPU 71 executes main board communication error history data storage processing to be described later (step S831). The main board communication error history data storage process uses the communication error storage area shown in FIG. 14 and is a process for storing a related communication log when a communication error occurs. Thereafter, the sub CPU 71 ends the main board communication reception data log saving process.

次に、図68を参照してステップS830の主基板通信受信データログ一時領域保存処理について説明する。なお、図68は、本実施の形態の副制御回路70で行われる主基板通信受信データログ一時領域保存処理のフローチャートを示す図である。   Next, with reference to FIG. 68, the main board communication received data log temporary area saving process in step S830 will be described. FIG. 68 is a diagram showing a flowchart of main board communication reception data log temporary area storage processing performed by the sub-control circuit 70 of the present embodiment.

主基板通信受信データログ一時領域保存処理が実行されると、サブCPU71は、通信ログ収集用リングバッファ領域73e−1の通信ログデータバッファインデックスを取得する(ステップS840)。ここでのバッファ数は、適宜設定されている。   When the main board communication reception data log temporary area saving process is executed, the sub CPU 71 acquires the communication log data buffer index of the communication log collection ring buffer area 73e-1 (step S840). The number of buffers here is set as appropriate.

そして、サブCPU71は、通信ログ収集用リングバッファ領域73e−1の通信ログデータバッファ保存位置を算出する(ステップS841)。ここでは、サブCPU71は、バッファインデックスの値から、通信ログ収集用リングバッファ領域73e−1における保存位置を算出する。   Then, the sub CPU 71 calculates the communication log data buffer storage position of the communication log collection ring buffer area 73e-1 (step S841). Here, the sub CPU 71 calculates the storage position in the communication log collection ring buffer area 73e-1 from the value of the buffer index.

さらに、サブCPU71は、通信ログ収集用リングバッファ領域73e−1に受信データを保存する(ステップS842)。本実施の形態では、図13に示すように、コマンドと各コマンドに対応するパラメータとを連続した数値のセットが、最大で256セット保存されるようになっている。そして、サブCPU71は、通信ログデータバッファインデックスを更新する(ステップS843)。ここでは、サブCPU71は、受信データを保存したバッファインデックスを1つ加算する。   Further, the sub CPU 71 stores the received data in the communication log collection ring buffer area 73e-1 (step S842). In the present embodiment, as shown in FIG. 13, a set of numerical values in which a command and a parameter corresponding to each command are consecutive is stored in a maximum of 256 sets. Then, the sub CPU 71 updates the communication log data buffer index (step S843). Here, the sub CPU 71 adds one buffer index storing the received data.

そして、サブCPU71は、バッファインデックスの値が上限値であるか否かを判断する(ステップS844)。サブCPU71は、バッファインデックスの値が上限値であると判断した場合は、通信ログデータバッファインデックスを先頭の1に戻し(ステップS845)、本バッファをリングバッファとして機能させる。その後、サブCPU71は、主基板通信受信データログ一時領域保存処理を終了する。また、サブCPU71は、バッファインデックスの値が上限値でないと判断した場合は、そのまま主基板通信受信データログ一時領域保存処理を終了する。   Then, the sub CPU 71 determines whether or not the value of the buffer index is an upper limit value (step S844). If the sub CPU 71 determines that the value of the buffer index is the upper limit value, the sub CPU 71 returns the communication log data buffer index to the first one (step S845), and causes this buffer to function as a ring buffer. Thereafter, the sub CPU 71 ends the main board communication reception data log temporary area saving process. If the sub CPU 71 determines that the value of the buffer index is not the upper limit value, the sub-CPU 71 ends the main board communication reception data log temporary area saving process as it is.

次に、図69を参照してステップS831の主基板通信エラー履歴データ保存処理について説明する。なお、図69は、本実施の形態の副制御回路70で行われる主基板通信エラー履歴データ保存処理のフローチャートを示す図である。   Next, the main board communication error history data storage processing in step S831 will be described with reference to FIG. FIG. 69 is a diagram showing a flowchart of main board communication error history data storage processing performed in the sub-control circuit 70 of the present embodiment.

主基板通信エラー履歴データ保存処理が実行されると、サブCPU71は、通信エラー保存バッファ領域73f−1の保存バッファ選択インデックスを取得する(ステップS850)。そして、サブCPU71は、保存バッファ選択インデックスに基づいて通信エラー保存バッファを選択する(ステップS851)。   When the main board communication error history data storage process is executed, the sub CPU 71 acquires the storage buffer selection index of the communication error storage buffer area 73f-1 (step S850). Then, the sub CPU 71 selects a communication error storage buffer based on the storage buffer selection index (step S851).

ここで、サブCPU71は、通信エラー(COMエラー)が発生したか否かを判断する(ステップS852)。サブCPU71が、COMエラーが発生したと判断した場合は、受信データログ保存手段71fがステップS851において選択された通信エラー保存バッファ領域73f−1に、通信エラーに関連する通信ログを保存する(ステップS853)。そして、サブCPU71は、その選択されたバッファインデックスを更新する(ステップS854)。その後、サブCPU71は、主基板通信エラー履歴データ保存処理を終了する。   Here, the sub CPU 71 determines whether or not a communication error (COM error) has occurred (step S852). If the sub CPU 71 determines that a COM error has occurred, the received data log storage means 71f stores a communication log related to the communication error in the communication error storage buffer area 73f-1 selected in step S851 (step S851). S853). Then, the sub CPU 71 updates the selected buffer index (step S854). Thereafter, the sub CPU 71 ends the main board communication error history data storage process.

また、サブCPU71が、COMエラーが発生していないと判断した場合は、選択されたバッファインデックスを取得する(ステップS855)。そして、サブCPU71は、受信データを収集中であるか否かを判断する(ステップS856)。サブCPU71は、受信データを収集中でないと判断した場合は、主基板通信エラー履歴データ保存処理を終了する。   If the sub CPU 71 determines that no COM error has occurred, the sub CPU 71 acquires the selected buffer index (step S855). Then, the sub CPU 71 determines whether or not reception data is being collected (step S856). If the sub CPU 71 determines that the received data is not being collected, the main CPU communication error history data storage process is terminated.

サブCPU71は、受信データを収集中であると判断した場合は、バッファインデックスの値が上限値であるか否かを判断する(ステップS857)。本実施の形態では、バッファインデックスの値は0〜255であり、上限値は255となっている。サブCPU71は、バッファインデックスの値が上限値でないと判断した場合は、ステップS851において選択された通信エラー保存バッファに受信データを保存する(ステップS858)。そして、サブCPU71は、その選択されたバッファインデックスを更新する(ステップS859)。その後、サブCPU71は、主基板通信エラー履歴データ保存処理を終了する。   If the sub CPU 71 determines that the received data is being collected, the sub CPU 71 determines whether or not the value of the buffer index is the upper limit value (step S857). In this embodiment, the value of the buffer index is 0 to 255, and the upper limit value is 255. When determining that the buffer index value is not the upper limit value, the sub CPU 71 stores the received data in the communication error storage buffer selected in step S851 (step S858). Then, the sub CPU 71 updates the selected buffer index (step S859). Thereafter, the sub CPU 71 ends the main board communication error history data storage process.

サブCPU71は、バッファインデックスの値が上限値であると判断した場合は、保存バッファ選択インデックスを取得する(ステップS860)。そして、サブCPU71は、保存バッファ選択インデックスの値が上限値であるか否かを判断する(ステップS861)。本実施の形態では、保存バッファ選択インデックスの上限値は1024である。   If the sub CPU 71 determines that the buffer index value is the upper limit value, the sub CPU 71 obtains a storage buffer selection index (step S860). Then, the sub CPU 71 determines whether or not the value of the storage buffer selection index is an upper limit value (step S861). In the present embodiment, the upper limit value of the storage buffer selection index is 1024.

サブCPU71は、保存バッファ選択インデックスの値が上限値でないと判断した場合(ステップS861)は、保存バッファ選択インデックスを更新する(ステップS862)。ここでは、サブCPU71は、保存バッファ選択インデックスを1つ加算する。その後、サブCPU71は、主基板通信エラー履歴データ保存処理を終了する。サブCPU71は、バッファ選択インデックスの値が上限値であると判断した場合(ステップS861)は、主基板通信エラー履歴データ保存処理を終了する。   When the sub CPU 71 determines that the value of the storage buffer selection index is not the upper limit value (step S861), the sub CPU 71 updates the storage buffer selection index (step S862). Here, the sub CPU 71 adds one storage buffer selection index. Thereafter, the sub CPU 71 ends the main board communication error history data storage process. When the sub CPU 71 determines that the value of the buffer selection index is the upper limit value (step S861), the main board communication error history data storage process is terminated.

次に、図70を参照してステップS820の主基板受信コマンドチェック処理について説明する。なお、図70は、本実施の形態の副制御回路70で行われる主基板受信コマンドチェック処理のフローチャートを示す図である。   Next, the main board reception command check process in step S820 will be described with reference to FIG. FIG. 70 is a diagram showing a flowchart of main board reception command check processing performed by the sub control circuit 70 of the present embodiment.

主基板受信コマンドチェック処理が実行されると、サブCPU71は、受信データを取得する(ステップS870)。そして、サブCPU71は、受信コマンドチェックテーブルをセットする(ステップS871)。さらに、サブCPU71は、前回(直前の回)の受信データを取得する(ステップS872)。   When the main board reception command check process is executed, the sub CPU 71 obtains reception data (step S870). Then, the sub CPU 71 sets a received command check table (step S871). Further, the sub CPU 71 acquires the previous (preceding time) received data (step S872).

そして、サブCPU71は、コマンドチェックカウンタをセットする(ステップS873)。さらに、サブCPU71は、受信プロトコル確認データテーブルから確認データを取得する(ステップS874)。つまり、ここでは、図55に示す受信コマンドおよび前回受信コマンドのテーブルを取得する。   Then, the sub CPU 71 sets a command check counter (step S873). Further, the sub CPU 71 acquires confirmation data from the reception protocol confirmation data table (step S874). That is, here, a table of received commands and previous received commands shown in FIG. 55 is acquired.

次に、サブCPU71は、ステップS874で取得した受信コマンドおよび前回受信コマンドのテーブルをチェックして、受信コマンドは異常な順序か否かを判断する(ステップS875)。例えば、Dataの03Hに示した受信コマンドが「BET」の場合、前回の受信コマンドが、デモ表示、BET、払出終了、ボーナス開始またはエラーであれば、手順は正常な順序であると判断する。   Next, the sub CPU 71 checks the table of the received command acquired in step S874 and the previous received command, and determines whether or not the received commands are in an abnormal order (step S875). For example, if the received command shown in 03H of Data is “BET”, if the previous received command is a demo display, BET, payout end, bonus start or error, it is determined that the procedure is in normal order.

サブCPU71は、ステップS875において、受信コマンドは異常な順序ではない、即ち正常な順序であると判断した場合は、受信コマンドチェック処理を終了する。   If the sub CPU 71 determines in step S875 that the received commands are not in an abnormal order, that is, in a normal order, the sub CPU 71 ends the received command check process.

サブCPU71は、ステップS875において、受信コマンドは異常な順序であると判断した場合、例えば、図55に示すテーブルにおいて、Dataの07Hに示した受信コマンドが「表示」の場合、前回の受信コマンドが全回胴停止状態ではなく第2停止の場合には、通常の遊技で行われる手順ではないと判断し、受信コマンドチェックテーブルを更新する(ステップS876)。そして、サブCPU71は、コマンドチェックカウンタを減算する(ステップS877)。   When the sub CPU 71 determines in step S875 that the received commands are in an abnormal order, for example, in the table shown in FIG. 55, if the received command shown in Data 07H is “display”, the previous received command is In the case of the second stop instead of the all-cylinder stop state, it is determined that the procedure is not performed in the normal game, and the received command check table is updated (step S876). Then, the sub CPU 71 subtracts the command check counter (step S877).

ステップS877に続いて、サブCPU71は、コマンドチェックが終了したか否かを判断する(ステップS878)。ここでは、サブCPU71は、例えばコマンドチェックカウンタが0等の閾値以下になったことでコマンドチェックが終了したと判断するようになっている。   Subsequent to step S877, the sub CPU 71 determines whether or not the command check is completed (step S878). Here, for example, the sub CPU 71 determines that the command check has been completed when the command check counter is equal to or less than a threshold value such as 0.

サブCPU71は、ステップS878において、コマンドチェックが終了していないと判断した場合は、再度、受信プロトコル確認データテーブルから確認データを取得する(ステップS874)。   If the sub CPU 71 determines in step S878 that the command check has not ended, the sub CPU 71 obtains confirmation data from the reception protocol confirmation data table again (step S874).

サブCPU71は、ステップS878において、コマンドチェックが終了したと判断した場合は、エラー情報登録手段71eが異常手順エラー(シーケンスエラー)の発生をエラー情報履歴格納領域73dに登録する(ステップS879)。その後、サブCPU71は、受信コマンドチェック処理を終了する。   If the sub CPU 71 determines in step S878 that the command check has ended, the error information registration unit 71e registers the occurrence of an abnormal procedure error (sequence error) in the error information history storage area 73d (step S879). Thereafter, the sub CPU 71 ends the received command check process.

次に、図71を参照してステップS826のCOMエラーチェック処理について説明する。なお、図71は、本実施の形態の副制御回路70で行われるCOMエラーチェック処理のフローチャートを示す図である。   Next, the COM error check process in step S826 will be described with reference to FIG. FIG. 71 is a diagram showing a flowchart of the COM error check process performed in the sub control circuit 70 of the present embodiment.

COMエラーチェック処理が実行されると、サブCPU71は、受信データログ保存処理を実行する(ステップS880)。この受信データログ保存処理の手順は、図67に示す主基板通信受信データログ保存処理のフローチャートの通りである。この場合、図69に示すステップS852において、COMエラーが発生したものと判断され、受信データログ保存手段71fは、通信エラー保存バッファ領域73f−1に通信エラーに関連する通信ログを保存する(ステップS853)。   When the COM error check process is executed, the sub CPU 71 executes a received data log storage process (step S880). The procedure of the received data log saving process is as shown in the flowchart of the main board communication received data log saving process shown in FIG. In this case, it is determined in step S852 shown in FIG. 69 that a COM error has occurred, and the received data log storage unit 71f stores a communication log related to the communication error in the communication error storage buffer area 73f-1 (step S852). S853).

そして、サブCPU71は、COMエラータイマがカウント中であるか否かを判断する(ステップS881)。サブCPU71は、COMエラータイマがカウント中であると判断した場合は、COMエラータイマが30分以内であるか否かを判断する(ステップS882)。   Then, the sub CPU 71 determines whether or not the COM error timer is being counted (step S881). If the sub CPU 71 determines that the COM error timer is counting, it determines whether the COM error timer is within 30 minutes (step S882).

サブCPU71は、COMエラータイマが30分以内であると判断した場合は、エラー情報登録手段71eが通信エラー(COMエラー)の発生をエラー情報履歴格納領域73d−1に登録する(ステップS883)。そして、サブCPU71は、COMエラータイマのカウントストップをセットして(ステップS884)、COMエラーチェック処理を終了する。   If the sub CPU 71 determines that the COM error timer is within 30 minutes, the error information registration unit 71e registers the occurrence of a communication error (COM error) in the error information history storage area 73d-1 (step S883). Then, the sub CPU 71 sets the count stop of the COM error timer (step S884), and ends the COM error check process.

また、サブCPU71は、COMエラータイマがカウント中でないと判断した場合、またはCOMエラータイマが30分以内でないと判断した場合は、COMエラータイマのカウントスタートをセットして(ステップS885)、COMエラーチェック処理を終了する。   If the sub CPU 71 determines that the COM error timer is not being counted, or if the COM error timer is determined not to be within 30 minutes, the sub CPU 71 sets the count start of the COM error timer (step S885), and the COM error End the check process.

以上説明したように、本実施の形態の遊技機の管理システムは、データ管理サーバ500により受信された二次元コード300からエラー情報を取得し、エラー情報に基づいてエラーの原因を解析する解析用PC600を備えている。   As described above, the gaming machine management system according to the present embodiment obtains error information from the two-dimensional code 300 received by the data management server 500 and analyzes the cause of the error based on the error information. PC600 is provided.

したがって、従来のように遊技機1において単に通信エラーの内容を特定するだけに止まらず、別個に設置された解析用PC600を用いてエラー情報からエラーの原因を解析して特定できるようになる。得られたエラーの原因は、遊技機1のその後の改良等に利用することができる。   Therefore, in the gaming machine 1 as in the prior art, it is not limited to simply specifying the content of the communication error, but the cause of the error can be analyzed and specified from the error information using the separately installed analysis PC 600. The cause of the obtained error can be used for the subsequent improvement of the gaming machine 1 or the like.

また、本実施の形態の遊技機1では、サブCPU71により通信エラーの発生が検出された場合に限り、通信エラーに関する通信エラー情報を二次元コード300に変換するので、必要以上に二次元コードを作成する場合に比べて制御を簡素化することができる。   Further, in the gaming machine 1 of the present embodiment, only when the occurrence of a communication error is detected by the sub CPU 71, the communication error information related to the communication error is converted into the two-dimensional code 300. Control can be simplified compared with the case of creating.

また、本実施の形態の遊技機1では、ドアキー2の操作によりエラー情報履歴を液晶表示装置5に表示させることができるので、係員は遊技機1の設定キーを操作することなくエラー情報履歴を確認できるようになる。このため、係員は営業時間中であっても遊技機1のエラー情報履歴を表示させることができるので、エラーの原因特定をより効果的に促進できるようになる。   Further, in the gaming machine 1 of the present embodiment, the error information history can be displayed on the liquid crystal display device 5 by operating the door key 2, so that the clerk displays the error information history without operating the setting key of the gaming machine 1. It becomes possible to confirm. For this reason, since the clerk can display the error information history of the gaming machine 1 even during business hours, the cause of the error can be more effectively promoted.

しかも、本実施の形態の遊技機1では、係員はドアキー2を左回転方向へ回転させて、遊技機1のエラーをリセットさせた状態を一定時間保持することにより、エラー情報履歴を表示するようになっている。このため、ドアキー2を保有している係員であれば容易にエラー情報履歴を表示できるとともに、通常はドアキー2を保有する係員は設定キーを保有する係員よりも多いことから、利便性を向上することができる。   Moreover, in the gaming machine 1 of the present embodiment, the attendant displays the error information history by rotating the door key 2 in the counterclockwise direction and holding the state where the error of the gaming machine 1 is reset for a certain period of time. It has become. For this reason, if it is a clerk who has the door key 2, the error information history can be displayed easily, and usually the clerk who has the door key 2 is more than the clerk who has the setting key, thereby improving convenience. be able to.

また、本実施の形態の遊技機1では、サブCPU71は、通信エラーの発生が検出された場合に、通信異常が発生したことと、その発生時刻と、その解除時刻とをエラー情報としてサブRAM73−1に逐次記憶させるようになっている。   Further, in the gaming machine 1 of the present embodiment, when the occurrence of a communication error is detected, the sub CPU 71 uses the sub RAM 73 as error information that indicates that a communication error has occurred, its occurrence time, and its release time. -1 is sequentially stored.

さらに、サブCPU71は、記憶したエラー情報からエラー情報履歴を作成し、ドアキー2の操作により情報開示要求があった場合に、エラー情報履歴を液晶表示装置5に表示させる。   Further, the sub CPU 71 creates an error information history from the stored error information, and causes the liquid crystal display device 5 to display the error information history when there is an information disclosure request by operating the door key 2.

このため、遊技機1での通信エラー報知の不正な解除を確認できるとともに、通信エラー報知の発生時刻や解除時刻を後から確認できるようになる。   For this reason, it is possible to confirm the unauthorized release of the communication error notification in the gaming machine 1 and to confirm the occurrence time and the release time of the communication error notification later.

また、本実施の形態の遊技機1では、サブCPU71は、手順検出手段71cにより通常の遊技では起こりえない手順、すなわち、異常な手順で遊技が進行したことが検出された場合に、そのような異常な手順が発生したことと、正常な手順のうちで取りこぼした手順とをエラー情報としてサブRAM73−1に逐次記憶させるようになっている。   Further, in the gaming machine 1 of the present embodiment, the sub CPU 71 detects that the procedure detecting means 71c detects a procedure that cannot occur in a normal game, that is, that the game has progressed in an abnormal procedure. The occurrence of an abnormal procedure and the procedure missed in the normal procedure are sequentially stored in the sub-RAM 73-1 as error information.

さらに、サブCPU71は、記憶したエラー情報からエラー情報履歴を作成し、ドアキー2の操作により情報開示要求があった場合に、エラー情報履歴を液晶表示装置5に表示させる。   Further, the sub CPU 71 creates an error information history from the stored error information, and causes the liquid crystal display device 5 to display the error information history when there is an information disclosure request by operating the door key 2.

例えば、図53に液晶表示領域23にエラー情報履歴の一例を示す。例えば、No.7に示すエラー内容の「BLS123PE」では、通常、メダル等の投入を表す「B」の手順の次に、レバーの操作によるリールの回転開始を表す「L」および「S」の手順、リール1の停止を表す「1」の手順、リール2の停止を表す「2」の手順、リール3の停止を表す「3」の手順、支払の「P」の手順が続いて遊技が終了する。   For example, FIG. 53 shows an example of the error information history in the liquid crystal display area 23. For example, no. In the error content “BLS123PE” shown in FIG. 7, the procedure of “L” and “S” indicating the start of rotation of the reel by the operation of the lever is usually followed by the procedure of “B” indicating insertion of a medal or the like, reel 1 The game ends after the procedure “1” indicating the stop of the reel 2, the procedure “2” indicating the stop of the reel 2, the procedure “3” indicating the stop of the reel 3, and the procedure “P” of the payment.

しかし、そこでは、数字の「1」を丸で囲み、リール1の停止の手順を取りこぼしたことを示している。このため、従来のように異常な手順が発生すると単にデモ画面に戻ってしまう場合に比べ、通常の遊技では起こりえない手順が発生したこと、取りこぼした手順、発生件数、連続発生の有無等を確認できるようになるので、ゴトの発生を判断材料の1つにすることができる。なお、取りこぼした手順は、丸で囲む以外に、文字自体の色で区別したり、書体を異なるものにしたり、文字の線を太くしたりすることによって明瞭に表すことができる。   However, the numeral “1” is circled to indicate that the procedure for stopping the reel 1 has been missed. Therefore, compared to the case where an abnormal procedure occurs as in the past, the procedure returns to the demo screen, the procedure that could not occur in normal games occurred, the number of steps that were missed, the number of occurrences, the presence or absence of continuous occurrence, etc. Since it can be confirmed, the occurrence of goto can be one of the judgment materials. In addition to enclosing a circle, the procedure that has been missed can be clearly expressed by distinguishing it by the color of the character itself, making the font different, or making the character line thicker.

また、本実施の形態の遊技機1では、サブCPU71は、データ破壊検出手段71dによりサブRAM73−1のデータ破壊が検出された場合に、データ破壊が発生したことをエラー情報としてサブRAM73−1に逐次記憶させるようになっている(ステップS825)。さらに、サブCPU71は、ドアキー2の操作により情報開示要求があった場合に、エラー情報履歴格納領域73d−1からエラー情報履歴を読み出して液晶表示装置5に表示させる。   Further, in the gaming machine 1 according to the present embodiment, the sub CPU 71-1 uses the sub RAM 73-1 as error information to indicate that data corruption has occurred when the data corruption detection means 71d detects data corruption in the sub RAM 73-1. Are sequentially stored (step S825). Further, the sub CPU 71 reads the error information history from the error information history storage area 73 d-1 and displays it on the liquid crystal display device 5 when there is an information disclosure request by operating the door key 2.

このため、この遊技機1によれば遊技中のサブRAM73−1のデータ破壊を検出できるようになるので、データ破壊に対し直ちにエラー報知をすることでゴトの発生を抑制することができる。   For this reason, according to this gaming machine 1, it becomes possible to detect the data destruction of the sub RAM 73-1 during the game, and thus it is possible to suppress the occurrence of the goto by immediately informing the error against the data destruction.

エラー報知としては、例えば、図57に示すように、副制御回路70のサブRAM73−1のデータが破壊された場合に、致命的なエラーとして、遊技機1の液晶表示領域23のほぼ全面に、RAMデータに異常が生じたため遊技を続行できない旨を示す。これにより、ゴト行為によるRAM破壊行為を抑制することができる。このような報知の解除は、例えば電源切断等の設定変更によって行う。   As an error notification, for example, as shown in FIG. 57, when the data in the sub RAM 73-1 of the sub control circuit 70 is destroyed, a fatal error is detected on almost the entire surface of the liquid crystal display area 23 of the gaming machine 1. This indicates that the game cannot be continued because of an abnormality in the RAM data. Thereby, the RAM destruction action by a goto action can be suppressed. Such notification is canceled by a setting change such as power-off.

また、上述した本実施の形態の遊技機においては、遊技機1をパチスロ機とした場合について説明した。しかしながら、本発明に係る遊技機においては、これに限られず、後述するように、例えば、図柄の変動表示装置を有するパチンコ機に対しても適用することができる。   Further, in the gaming machine of the present embodiment described above, the case where the gaming machine 1 is a pachislot machine has been described. However, the gaming machine according to the present invention is not limited to this, and can be applied to, for example, a pachinko machine having a symbol variation display device as described later.

また、上述した本実施の形態の遊技機においては、二次元コード300は通信エラー履歴データのみを含むものとして説明した。しかしながら、本発明に係る遊技機においては、これに限られず、例えば、エラー情報履歴あるいは遊技者の遊技記録を含むようにしてもよい。   Further, in the gaming machine of the present embodiment described above, the two-dimensional code 300 has been described as including only communication error history data. However, the gaming machine according to the present invention is not limited to this, and may include, for example, an error information history or a player's game record.

以上のように、本実施の形態の遊技機は、副制御回路とスケーラ装置との間で通信エラーが生じた場合に、エラーの発生の日時および内容を確認することができ、パチスロ等の遊技機および遊技機の管理方法に有用である。   As described above, the gaming machine according to the present embodiment can check the date and content of the occurrence of an error when a communication error occurs between the sub-control circuit and the scaler device. This is useful for managing machines and gaming machines.

図59に示すマザータスクのフローチャートにおいて、主基板通信タスク起動要求に応答してOSから主基板通信タスク起動要求がでると(ステップS1005)、上記の通り、主基板通信タスクが、図64に示すフローチャートに沿って実行される。   In the mother task flowchart shown in FIG. 59, when the main board communication task start request is issued from the OS in response to the main board communication task start request (step S1005), the main board communication task is shown in FIG. It is executed according to the flowchart.

また、RTC制御タスクは、図72に示すフローチャットに沿って実行される。まず、サブCPU71は、OSの時間管理として100msの周期設定を行う(ステップS1011)。次に、サブCPU71は、外付けRTC70cから日時を読み込み(ステップS1012)、その読み込んだ外付けRTC70cの日時を内蔵RTC70aの初期値として設定する(ステップS1013)。   The RTC control task is executed along the flow chat shown in FIG. First, the sub CPU 71 sets a period of 100 ms for OS time management (step S1011). Next, the sub CPU 71 reads the date / time from the external RTC 70c (step S1012), and sets the read date / time of the external RTC 70c as an initial value of the internal RTC 70a (step S1013).

次に、サブCPU71は、外付けRTC70cからステータス情報を読み込み(ステップS1014)、ステータス情報を正常に読み込むことができたか否かを判断し(ステップS1015)、正常に読み込めた場合には、電源に異常があるか否かを判断し(ステップS1016)、電源異常がない場合には、発振異常があるか否かを判断し(ステップS1017)、発振異常がない場合には、リセット信号を検出したか否かを判断し(ステップS1018)、リセット信号を検出しない場合には、外付けRTC70cから日時を読み込む(ステップS1019)。   Next, the sub CPU 71 reads the status information from the external RTC 70c (step S1014), determines whether or not the status information has been read normally (step S1015). It is determined whether there is an abnormality (step S1016). If there is no power supply abnormality, it is determined whether there is an oscillation abnormality (step S1017). If there is no oscillation abnormality, a reset signal is detected. If the reset signal is not detected, the date / time is read from the external RTC 70c (step S1019).

この日時を読み込んだ時に、サブCPU71は、日時の範囲に異常があるか否かを判断する(ステップS1020)。例えば、年、月、日または時間の値が2桁を越えている場合には日時範囲に異常があると判断する。サブCPU71は、日時範囲に異常があると判断したときには、図12のテーブルに示すように、RTCの時刻異常として、エラーコード(RTC TIM)をサブRAM73−1のエラー情報履歴格納領域73d−1に登録する(ステップS1021)。   When reading this date and time, the sub CPU 71 determines whether or not there is an abnormality in the date and time range (step S1020). For example, when the year, month, day, or time value exceeds two digits, it is determined that the date / time range is abnormal. When the sub CPU 71 determines that there is an abnormality in the date and time range, as shown in the table of FIG. 12, the error information (RTC TIM) of the error information history storage area 73d-1 of the sub RAM 73-1 is set as an RTC time abnormality. (Step S1021).

一方、サブCPU71は、ステップS1015において、外付けRTC70cからステータス情報を正常に読み込むことができないと判断した場合には、エラー情報履歴格納領域73d−1に、RTC通信回線異常として、エラーコード(RTC DSC)を登録する(ステップS1021)。   On the other hand, if the sub CPU 71 determines in step S1015 that the status information cannot be normally read from the external RTC 70c, an error code (RTC) is stored in the error information history storage area 73d-1 as an RTC communication line abnormality. DSC) is registered (step S1021).

サブCPU71は、ステップS1016において、外付けRTC70cに関して電源に異常があると判断した場合には、エラー情報履歴格納領域73d−1に、RTC電圧低下として、エラーコード(RTC POWER)を登録する(ステップS1021)。   If the sub CPU 71 determines in step S1016 that there is an abnormality in the power supply regarding the external RTC 70c, it registers an error code (RTC POWER) in the error information history storage area 73d-1 as the RTC voltage drop (step S1016). S1021).

また、サブCPU71は、ステップS1017において、外付けRTC70cに関して発振異常があると判断した場合には、エラー情報履歴格納領域73d−1に、発振停止検出として、エラーコード(RTC CLK)を登録する(ステップS1021)。   If the sub CPU 71 determines in step S1017 that there is an oscillation abnormality with respect to the external RTC 70c, it registers an error code (RTC CLK) in the error information history storage area 73d-1 as oscillation stop detection ( Step S1021).

サブCPU71は、上記のように、ステップS1021において、外付けRTC70cのエラー種別に対応したエラーコードをエラー情報として登録すると、外付けRTC70cを初期化し、外付けRTC70cに内蔵RTC70aの現在の日時を設定する(ステップS1022)。   As described above, when registering an error code corresponding to the error type of the external RTC 70c as error information in step S1021, the sub CPU 71 initializes the external RTC 70c and sets the current date and time of the internal RTC 70a in the external RTC 70c. (Step S1022).

このように、外付けRTC70cを初期化し、外付けRTC70cに内蔵RTC70aの現在の日時を設定した場合、またはステップS1019によって外付けRTC70cから読み込んだ日時の範囲に異常がないとステップS1020において判断した場合には、サブCPU71は、係員操作画面から外付けRTC70cの日時の設定に変更がされているか否かを判断し(ステップS1023)、変更されている場合には、内蔵RTC70aの日時データを外付けRTC70cに設定する(ステップS1024)。   As described above, when the external RTC 70c is initialized and the current date and time of the built-in RTC 70a is set in the external RTC 70c, or when it is determined in step S1020 that there is no abnormality in the date and time range read from the external RTC 70c in step S1019. In step S1023, the sub CPU 71 determines whether or not the date and time setting of the external RTC 70c has been changed from the staff operation screen. The RTC 70c is set (step S1024).

ステップS1024において内蔵RTC70aの日時データを外付けRTC70cに設定した場合、または、ステップS1023において、外付けRTC70cの日時の設定に変更がないと判断した場合には、サブCPU71は、100msの周期待ちをして(ステップS1025)、再度外付けRTC70cからステータス情報を読み込む(ステップS1014)。   If the date / time data of the built-in RTC 70a is set in the external RTC 70c in step S1024, or if it is determined in step S1023 that there is no change in the date / time setting of the external RTC 70c, the sub CPU 71 waits for a cycle of 100 ms. Then, the status information is read again from the external RTC 70c (step S1014).

次に、図73を参照しながら、サブ制御バックアップメモリ(SRAM)73−2の管理処理について説明する。図73は、サブRAM管理処理のフローチャートを示す。   Next, management processing of the sub control backup memory (SRAM) 73-2 will be described with reference to FIG. FIG. 73 shows a flowchart of the sub RAM management processing.

まず、サブCPU71は、SRAM73−2のバックアップデータ1領域73a−2のサム値を計算して、4バイトのバックアップデータ1サム値を得る(ステップS1031)。   First, the sub CPU 71 calculates the sum value of the backup data 1 area 73a-2 of the SRAM 73-2 to obtain a 4-byte backup data 1 sum value (step S1031).

次に、サブCPU71は、その取得したサム値が正常であるか、かつ、バックアップデータ1領域73a−2のマジックコードとサブROM72のプログラム管理データ領域72fのマジックコードとが同一か否かを判断し(ステップS1032)、YESの場合には、バックアップRAM73−2のバックアップデータ1領域73a−2をサブRAM73−1のゲームデータ領域73a−1に複写する(ステップS1033)。   Next, the sub CPU 71 determines whether the acquired sum value is normal and whether the magic code of the backup data 1 area 73a-2 and the magic code of the program management data area 72f of the sub ROM 72 are the same. If the answer is YES, the backup data 1 area 73a-2 of the backup RAM 73-2 is copied to the game data area 73a-1 of the sub RAM 73-1 (step S1033).

ステップS1032において、サブCPU71は、NOと判断した場合には、バックアップデータ1領域73a−2のミラーリングであるバックアップデータ2領域73c−2のサム値を計算して、4バイトのバックアップデータ2サム値を得る(ステップS1034)。   If the sub CPU 71 determines NO in step S1032, the sub CPU 71 calculates the sum value of the backup data 2 area 73c-2, which is the mirroring of the backup data 1 area 73a-2, and calculates the 4-byte backup data 2 sum value. Is obtained (step S1034).

ステップS1034に続いて、サブCPU71は、その取得したサム値が正常であるか、かつ、バックアップデータ2領域73c−2のマジックコードとサブROM72のプログラム管理データ領域72fのマジックコードとが同一かを判断する(ステップS1035)。   Subsequent to step S1034, the sub CPU 71 determines whether the acquired sum value is normal and whether the magic code in the backup data 2 area 73c-2 and the magic code in the program management data area 72f of the sub ROM 72 are the same. Determination is made (step S1035).

ステップS1035の判断がYESの場合には、サブCPU71は、バックアップRAM73−2のバックアップデータ2領域73c−2をサブRAM73−1のゲームデータ領域73a−1に複写する(ステップS1036)。   If the determination in step S1035 is YES, the sub CPU 71 copies the backup data 2 area 73c-2 of the backup RAM 73-2 to the game data area 73a-1 of the sub RAM 73-1 (step S1036).

ステップS1035の判断がNOの場合には、サブCPU71は、サブROM72のゲームデータ初期化設定データ領域72cをサブRAM73−1のゲームデータ領域73a−1に複写する(ステップS1037)。   If the determination in step S1035 is NO, the sub CPU 71 copies the game data initialization setting data area 72c in the sub ROM 72 to the game data area 73a-1 in the sub RAM 73-1 (step S1037).

ステップS1036またはステップS1037が実行された場合、サブCPU71は、ゲームデータサム異常として、エラーコード(MEM ERR 1)をエラー情報履歴格納領域73d−1に登録する(ステップS1038)。ただし、このRAMデータ異常を報知する図57に示すような画面は表示されない。   When step S1036 or step S1037 is executed, the sub CPU 71 registers an error code (MEM ERR 1) in the error information history storage area 73d-1 as a game data sum abnormality (step S1038). However, the screen as shown in FIG. 57 for notifying the RAM data abnormality is not displayed.

ステップS1033の処理またはステップS1038の処理を実行した後、サブCPU71は、係員バックアップデータ領域73e−2から4バイトのサム値を計算して、それを係員バックアップデータサム値領域73g−2に保存する(ステップS1039)。   After executing the process of step S1033 or the process of step S1038, the sub CPU 71 calculates a 4-byte sum value from the attendant backup data area 73e-2 and stores it in the attendant backup data sum value area 73g-2. (Step S1039).

次に、サブCPU71は、その保存した係員バックアップデータ領域73e−2のサム値が正常であるかを判断し(ステップS1040)、正常と判断した場合には、係員バックアップデータ領域73e−2をサブRAM73−1の係員操作設定データ領域73g−1に複写する(ステップS1041)。   Next, the sub CPU 71 determines whether or not the stored sum value of the clerk backup data area 73e-2 is normal (step S1040). The data is copied to the clerk operation setting data area 73g-1 of the RAM 73-1 (step S1041).

ステップS1040の判断がNOの場合には、サブCPU71は、サブROM72の係員操作初期設定データ領域72dのデータをサブRAM73−1の係員操作設定データ領域73g−1に複写する(ステップS1042)。   If the determination in step S1040 is NO, the sub CPU 71 copies the data in the clerk operation initial setting data area 72d in the sub ROM 72 to the clerk operation setting data area 73g-1 in the sub RAM 73-1 (step S1042).

ステップS1042を実行した後、サブCPU71は、エラー情報履歴格納領域73d−1に、係員操作設定データサム異常として、エラーコード(MEM ERR 2)を登録する(ステップS1043)。このRAMデータ異常についても、図57に示すような異常を報知する画面は表示されない。   After executing step S1042, the sub CPU 71 registers an error code (MEM ERR 2) in the error information history storage area 73d-1 as the clerk operation setting data sum abnormality (step S1043). Even for this RAM data abnormality, a screen for notifying abnormality as shown in FIG. 57 is not displayed.

次に、ステップS1041またはステップS1043を実行した後、サブCPU71は、後述する図74に示すバックアップ作成処理を実行する(ステップS1044)。   Next, after executing step S1041 or step S1043, the sub CPU 71 executes a backup creation process shown in FIG. 74 described later (step S1044).

上記のように、サブCPU71が、その取得したサム値が正常であるか、かつ、バックアップデータ2領域73c−2のマジックコードとサブROM72のプログラム管理データ領域72fのマジックコードとが同一かを判断し(ステップS1035)、少なくともサム値またはマジックコードが同一でない場合には、サブCPU71が、サブROM72のゲームデータ初期化設定データ領域72cをサブRAM73−1のゲームデータ領域73a−1に複写する(ステップS1037)。   As described above, the sub CPU 71 determines whether the acquired sum value is normal and whether the magic code of the backup data 2 area 73c-2 and the magic code of the program management data area 72f of the sub ROM 72 are the same. However, if at least the sum value or the magic code is not the same, the sub CPU 71 copies the game data initialization setting data area 72c of the sub ROM 72 to the game data area 73a-1 of the sub RAM 73-1 (step S1035). Step S1037).

また、サブCPU71は、係員バックアップデータ領域73e−2のサム値が正常であるかを判断し(ステップS1040)、異常な場合には、サブROM72の係員操作初期設定データ領域72dのデータをサブRAM73−1の係員操作設定データ領域73g−1に複写する(ステップS1042)。   Further, the sub CPU 71 determines whether or not the sum value of the clerk backup data area 73e-2 is normal (step S1040), and if abnormal, the data in the clerk operation initial setting data area 72d of the sub ROM 72 is stored in the sub RAM 73. -1 is copied to the clerk operation setting data area 73g-1 (step S1042).

これらにより、電源投入時に、サブRAM73−1のデータが破損しているか確認することができ、また、破損したSRAMデータを使用することなく、自動的に初期値を設定することができる。   As a result, it is possible to confirm whether or not the data in the sub RAM 73-1 is damaged when the power is turned on, and the initial value can be automatically set without using the damaged SRAM data.

図74は、図42に示すサブRAM管理処理のバックアップ作成処理のフローチャートである。この処理により、データが破壊されていたとしても正しい値をバックアップとして保存できるようになる。なお、上記の通り、このバックアップ作成処理は、図60に示す電断割込処理でも実行される。   FIG. 74 is a flowchart of the backup creation process of the sub RAM management process shown in FIG. This process allows the correct value to be saved as a backup even if the data is corrupted. As described above, this backup creation process is also executed in the power interruption interrupt process shown in FIG.

最初に、サブCPU71は、ゲームデータ領域73a−1のサム値を作成し、その作成したサム値をゲームデータサム値領域73b−1に保存する(ステップS1051)。次に、サブCPU71は、ゲームデータ領域73a−1をバックアップデータ1領域73a−2に複写し、ステップS1051で保存したサム値をバックアップデータ1サム値領域73b−2に保存する(ステップS1052)。   First, the sub CPU 71 creates a sum value of the game data area 73a-1, and stores the created sum value in the game data sum value area 73b-1 (step S1051). Next, the sub CPU 71 copies the game data area 73a-1 to the backup data 1 area 73a-2, and stores the sum value stored in step S1051 in the backup data 1 sum value area 73b-2 (step S1052).

次に、サブCPU71は、ゲームデータ領域73a−1をバックアップデータ1領域73a−2のミラーリングとしてのバックアップデータ2領域73c−2に複写し、ステップS1051で保存したサム値をバックアップデータ2サム値領域73d−2に保存する(ステップS1053)。   Next, the sub CPU 71 copies the game data area 73a-1 to the backup data 2 area 73c-2 as mirroring of the backup data 1 area 73a-2, and uses the sum value stored in step S1051 as the backup data 2 sum value area. 73d-2 (step S1053).

次に、サブCPU71は、係員操作設定データ領域73g−1のサム値を作成して、その作成したサム値を係員操作設定データサム値領域73h−1に保存する(ステップS1054)。   Next, the sub CPU 71 creates a sum value of the clerk operation setting data area 73g-1, and stores the created sum value in the clerk operation setting data sum value area 73h-1 (step S1054).

次に、サブCPU71は、係員操作設定データ領域73g−1を係員バックアップデータ領域73e−2に複写し、ステップS1054で保存したサム値を係員バックアップデータサム値領域73g−2に保存する(ステップS1055)。これにより、バックアップ作成処理は終了する。   Next, the sub CPU 71 copies the clerk operation setting data area 73g-1 to the clerk backup data area 73e-2 and saves the sum value stored in step S1054 in the clerk backup data sum value area 73g-2 (step S1055). ). Thereby, the backup creation process ends.

以上のように、本実施の形態における遊技機1は、主制御回路60から副制御回路70に送信するコマンドを暗号化する構成としたので、第三者がコマンドを解析することが困難となる。また、本実施の形態における遊技機1は、主制御回路60で暗号化されたコマンドを副制御回路70で復号化し、復号化したコマンドが予め定められたコマンドと一致しなかった場合や、BCCのデータが一致しなかった場合に、エラー情報として登録し、液晶表示装置5にエラー履歴を表示する構成としたので、不正行為により発生したエラー情報の有効利用を図ることができる。その結果、本実施の形態における遊技機1は、それが設置された店舗の係員にエラー情報を表示したり、エラー情報を解析することにより次機種の開発に反映したりすることができる。   As described above, since the gaming machine 1 according to the present embodiment is configured to encrypt the command transmitted from the main control circuit 60 to the sub control circuit 70, it becomes difficult for a third party to analyze the command. . In addition, the gaming machine 1 in the present embodiment decrypts a command encrypted by the main control circuit 60 by the sub control circuit 70, and when the decrypted command does not match a predetermined command, If the data does not match, it is registered as error information and the error history is displayed on the liquid crystal display device 5, so that the error information generated by fraud can be effectively used. As a result, the gaming machine 1 according to the present embodiment can display error information to the staff of the store where the game machine 1 is installed, or reflect the error information in the development of the next model by analyzing the error information.

[パチンコ遊技機の構成]
本発明は、パチスロに限定されるものではなく、パチンコ遊技機にも適用することができる。以下、パチンコ遊技機について説明する。
[Configuration of pachinko machines]
The present invention is not limited to a pachislot machine but can also be applied to a pachinko gaming machine. Hereinafter, the pachinko gaming machine will be described.

図75、図76に示すように、パチンコ機1010は、ガラスドア1011、木枠1012、ベースドア1013、遊技盤1014、皿ユニット1020、画像を表示する液晶表示装置1032、遊技球を発射する発射装置1130、図示しない払出ユニット及び基板ユニット等から構成されている。   As shown in FIGS. 75 and 76, the pachinko machine 1010 includes a glass door 1011, a wooden frame 1012, a base door 1013, a game board 1014, a dish unit 1020, a liquid crystal display device 1032 that displays an image, and a launch that fires a game ball. The apparatus 1130 includes a dispensing unit (not shown) and a substrate unit.

ガラスドア1011は、ベースドア1013に対して回転軸により開閉自在になるように取り付けられている。ガラスドア1011の中央には、開口1011aが形成されており、その開口1011aには、透過性を有する保護ガラス1019が配設されている。   The glass door 1011 is attached to the base door 1013 so that it can be opened and closed by a rotating shaft. An opening 1011a is formed at the center of the glass door 1011. A protective glass 1019 having transparency is disposed in the opening 1011a.

皿ユニット1020は、上皿1021及び下皿1022を一体化したユニット体であり、ベースドア1013におけるガラスドア1011の下部に配設されている。上皿1021及び下皿1022には、遊技球の貸し出し、遊技球の払い出し(賞球)を行うための払出口1021a、1022aが形成されており、所定の払出条件が成立した場合には、遊技球が排出され、特に、上皿1021には、後述する遊技領域1015に発射させるための遊技球が貯留される。   The dish unit 1020 is a unit body in which the upper dish 1021 and the lower dish 1022 are integrated, and is disposed below the glass door 1011 in the base door 1013. The upper plate 1021 and the lower plate 1022 are provided with payout ports 1021a and 1022a for renting out game balls and paying out game balls (prize balls). If predetermined payout conditions are met, The balls are discharged, and in particular, the upper plate 1021 stores game balls for launching into a game area 1015 described later.

発射装置1130は、ベースドア1013の右下部に配設され、遊技者によって操作可能な発射ハンドル1026と、皿ユニット1020の右下部に適合するパネル体1027とを備えている。発射ハンドル1026は、パネル体1027の表側に設けられている。パネル体1027の裏側には遊技球を発射するための駆動装置が設けられている。遊技者は、発射ハンドル1026を操作することで遊技球を発射して遊技を進めることができる。   The launching device 1130 includes a launching handle 1026 that is disposed at the lower right portion of the base door 1013 and can be operated by the player, and a panel body 1027 that fits in the lower right portion of the dish unit 1020. The firing handle 1026 is provided on the front side of the panel body 1027. A drive device for launching a game ball is provided on the back side of the panel body 1027. A player can advance the game by firing the game ball by operating the launch handle 1026.

遊技盤1014は、保護ガラス1019の後方に位置するように、ベースドア1013の前方に配設されている。遊技盤1014の後方には、液晶表示装置1032などが配設されている。ベースドア1013の後方には、払出ユニット及び基板ユニットが配設されている。下皿1022の下部には、図示しない演出用のスピーカが配設されている。   The game board 1014 is disposed in front of the base door 1013 so as to be positioned behind the protective glass 1019. A liquid crystal display device 1032 and the like are disposed behind the game board 1014. A payout unit and a substrate unit are disposed behind the base door 1013. In the lower part of the lower plate 1022, a speaker for performance not shown is arranged.

遊技盤1014は、その全部が透過性を有する板形状のアクリル樹脂、ポリカーボネート樹脂、メタクリル樹脂など各種樹脂(透過性を有する部材)によって形成されている。また、遊技盤1014は、その前面側に、発射された遊技球が転動流下可能な遊技領域1015を有している。遊技領域1015には、複数の遊技釘1017が打ちこまれている。また、遊技盤1014の左下部には、LEDユニット1053が設けられている。   The game board 1014 is formed of various types of resin (permeability members) such as plate-shaped acrylic resin, polycarbonate resin, and methacrylic resin, all of which are permeable. In addition, the game board 1014 has a game area 1015 on the front side thereof in which the launched game ball can roll down. In the game area 1015, a plurality of game nails 1017 are driven. In addition, an LED unit 1053 is provided at the lower left portion of the game board 1014.

液晶表示装置1032は、遊技盤1014の後方(背面側)に配設されている。液晶表示装置1032は、遊技に関する画像の表示を可能とする表示領域1032aを有している。表示領域1032aには、演出用の識別図柄、演出画像、装飾用の装飾画像など、各種の画像が表示される。   The liquid crystal display device 1032 is disposed behind the game board 1014 (on the back side). The liquid crystal display device 1032 has a display area 1032a that enables display of an image relating to a game. In the display area 1032a, various kinds of images such as an identification pattern for effect, an effect image, and a decoration image for decoration are displayed.

発射ハンドル1026は回転自在であり、その裏側には駆動装置である発射ソレノイド(図示せず)が設けられている。さらに、発射ハンドル1026の周縁部には、タッチセンサ(図示せず)が設けられている。発射ハンドル1026の内部には、発射ハンドル1026の回転量に応じて抵抗値を変化させ、発射ソレノイド(図示せず)に供給する電力を変化させる発射ボリュームが設けられている。   The firing handle 1026 is rotatable, and a firing solenoid (not shown) as a driving device is provided on the back side thereof. Further, a touch sensor (not shown) is provided on the peripheral edge of the firing handle 1026. Inside the firing handle 1026 is provided a firing volume that changes the resistance value according to the amount of rotation of the firing handle 1026 and changes the power supplied to the firing solenoid (not shown).

タッチセンサ(図示せず)に遊技者が接触したときには、遊技者により発射ハンドル1026が握持されたと検知される。発射ハンドル1026が遊技者によって握持され、かつ、時計回り方向へ回転操作されたときには、その回転角度に応じて発射ボリューム(図示せず)の抵抗値が変化し、この時の抵抗値に対応する電力が発射ソレノイド(図示せず)に供給される。その結果、上皿1021に貯留された遊技球が遊技領域1015に順次発射され、遊技が進められる。なお、発射停止ボタン(図示せず)が押下された場合には、発射ハンドル1026を握持しかつ回転させた状態であっても遊技球の発射が停止される。   When the player touches a touch sensor (not shown), it is detected that the firing handle 1026 is gripped by the player. When the firing handle 1026 is gripped by the player and rotated clockwise, the resistance value of the firing volume (not shown) changes according to the rotation angle, and corresponds to the resistance value at this time. Electric power is supplied to a firing solenoid (not shown). As a result, the game balls stored in the upper plate 1021 are sequentially launched into the game area 1015 and the game is advanced. When a firing stop button (not shown) is pressed, the game ball is stopped firing even when the firing handle 1026 is held and rotated.

遊技盤1014の左下方には、一般入賞口1056a、1056b、1056cを形成する部材が配置されており、この部材におけるLEDユニット1053との対向部位は透明になっている。このため、遊技盤1014の左下方からLEDユニット1053が視認可能となる。LEDユニット1053には、図77に図示した特別図柄表示装置、普通図柄表示装置1033、第1特別図柄保留表示LED1034a、1034b、第2特別図柄保留表示LED1034c、1034d、普通図柄保留表示LED1050a、1050b等が設けられている。   On the lower left side of the game board 1014, members forming the general winning ports 1056a, 1056b, and 1056c are arranged, and a portion of the member facing the LED unit 1053 is transparent. For this reason, the LED unit 1053 is visible from the lower left of the game board 1014. The LED unit 1053 includes a special symbol display device, a normal symbol display device 1033, a first special symbol hold display LED 1034a, 1034b, a second special symbol hold display LED 1034c, 1034d, a normal symbol hold display LED 1050a, 1050b, etc. Is provided.

特別図柄表示装置は、16個のLEDによって構成されている。これら16個のLEDは、8個のLEDからなる2つのグループに分かれており、一方のグループは、第1始動口1023への始動入賞を契機として変動表示を行うものであり、他方のグループは、第2始動口1044への始動入賞を契機として変動表示を行うものである。なお、以下の説明の便宜上、一方のLEDのグループを第1特別図柄表示装置1035a(図77参照)、他方のLEDのグループを第2特別図柄表示装置1035b(図77参照)と称する。   The special symbol display device is composed of 16 LEDs. These 16 LEDs are divided into two groups of 8 LEDs, one of which is a variable display triggered by the start winning to the first start port 1023, the other group is The change display is performed in response to the start winning at the second start port 1044. For convenience of the following description, one LED group is referred to as a first special symbol display device 1035a (see FIG. 77), and the other LED group is referred to as a second special symbol display device 1035b (see FIG. 77).

第1、第2特別図柄表示装置1035a、1035bのLEDは、所定の特別図柄の変動表示開始条件の成立により、グループ単位で点灯・消灯を繰り返すことで特別図柄の変動表示を行う。そして、特別図柄が、特定の停止表示態様の場合には、通常遊技状態から遊技者に有利な状態である当り遊技状態(特別遊技状態)に遊技状態が移行する。この当り遊技状態となった場合には、後述するように、シャッタ1040が開放状態に制御され、大入賞口1039に遊技球が受け入れ可能な状態となる。   The LEDs of the first and second special symbol display devices 1035a and 1035b perform special symbol variation display by repeatedly turning on and off in units of groups when a predetermined special symbol variation display start condition is satisfied. When the special symbol is in a specific stop display mode, the gaming state shifts from a normal gaming state to a winning gaming state (special gaming state) that is advantageous to the player. In this winning game state, as will be described later, the shutter 1040 is controlled to be in the open state, and the game ball can be received in the special winning opening 1039.

普通図柄表示装置1033は、2つの表示用ランプが交互に点灯・消灯を繰り返すことによって普通図柄として変動表示され、その停止態様により普通電動役物1048の開放が行われる。   The normal symbol display device 1033 is variably displayed as a normal symbol by alternately turning on and off the two display lamps, and the normal electric accessory 1048 is opened according to the stop mode.

普通図柄保留表示LED1050a、1050bは、点灯、消灯又は点滅によって保留されている普通図柄の変動表示の実行回数(いわゆる、「保留個数」、「普通図柄に関する保留個数」)を表示する。   The normal symbol hold display LEDs 1050a and 1050b display the number of executions of fluctuation display of the normal symbols that are held by turning on, turning off, or blinking (so-called “hold number”, “hold number related to normal symbols”).

第1特別図柄保留表示LED1034a、1034b及び第2特別図柄保留表示LED1034c、1034dは、点灯、消灯又は点滅によって保留されている特別図柄の変動表示の実行回数(いわゆる、「保留個数」、「特別図柄に関する保留個数」)を表示する。   The first special symbol hold display LEDs 1034a and 1034b and the second special symbol hold display LEDs 1034c and 1034d are executed by the number of executions of the variable symbol variable display held by turning on, turning off, or blinking (so-called “hold number”, “special symbols”). Display the number of pending items ").

また、液晶表示装置1032の表示領域では、第1特別図柄表示装置1035a及び第2特別図柄表示装置1035bにおいて表示される特別図柄と関連する演出画像が表示される。   In the display area of the liquid crystal display device 1032, an effect image related to the special symbol displayed on the first special symbol display device 1035 a and the second special symbol display device 1035 b is displayed.

図76に示すように、遊技盤1014上には、二つのガイドレール1030(1030a及び1030b)、ステージ1055、第1始動口1023、第2始動口1044、通過ゲート1054、シャッタ1040、大入賞口1039、一般入賞口1056a、1056b、1056c、1056d、普通電動役物1048等が設けられている。   As shown in FIG. 76, on the game board 1014, there are two guide rails 1030 (1030a and 1030b), a stage 1055, a first starting port 1023, a second starting port 1044, a passing gate 1054, a shutter 1040, and a prize winning port. 1039, a general winning opening 1056a, 1056b, 1056c, 1056d, an ordinary electric accessory 1048, etc. are provided.

ステージ1055は遊技盤1014の上部に設けられ、ガイドレール1030は遊技領域1015を囲むように設けられている。   The stage 1055 is provided on the upper part of the game board 1014, and the guide rail 1030 is provided so as to surround the game area 1015.

ガイドレール1030は、外レール1030aと、内レール1030bとから構成される。発射された遊技球は、ガイドレール1030に案内されて、遊技盤1014の上部に移動し、前述した複数の遊技釘(図示せず)、ステージ1055などとの衝突により、その進行方向を変えながら遊技盤1014の下方に向かって流下する。具体的には、ステージ1055の左側を流下する系統(いわゆる、左打ち)と、発射ハンドル1026を右側に最大に回転させて、ステージ1055の右側に遊技球を打ち込み、ステージ1055の右側を流下する系統(いわゆる、右打ち)がある。   The guide rail 1030 includes an outer rail 1030a and an inner rail 1030b. The launched game ball is guided by the guide rail 1030 and moves to the upper part of the game board 1014, and its traveling direction is changed by the collision with the plurality of game nails (not shown), the stage 1055, etc. It flows down toward the bottom of the game board 1014. Specifically, a system that flows down the left side of the stage 1055 (so-called left-handed) and a firing handle 1026 are rotated to the right to the maximum, and a game ball is driven into the right side of the stage 1055 and flows down the right side of the stage 1055. There is a system (so-called right-handed).

第1始動口1023は、遊技盤1014の中央の下方に設けられている。通過ゲート1054はステージ1055の右側上部に設けられ、この通過ゲート1054の下方に第2始動口1044が設けられている。普通電動役物1048は、第2始動口1044に設けられている。   The first start port 1023 is provided below the center of the game board 1014. The passage gate 1054 is provided on the upper right side of the stage 1055, and a second start port 1044 is provided below the passage gate 1054. The ordinary electric accessory 1048 is provided at the second start port 1044.

また、普通電動役物1048は、遊技盤面に対して前後方向に、突出、引き込みを行う舌状部材1048aを備えている。普通電動役物1048は、舌状部材1048aの突出時に第2始動口1044への遊技球の入賞を可能とし、引き込み時に第2始動口1044への遊技球の入賞を不可能としている。なお、普通電動役物1048は、一対の羽根部材が開放、閉鎖するもの(いわゆる、電動チューリップ)であってもよい。   The ordinary electric accessory 1048 includes a tongue-like member 1048a that projects and retracts in the front-rear direction with respect to the game board surface. The ordinary electric accessory 1048 can win a game ball to the second start port 1044 when the tongue-like member 1048a protrudes, and cannot win a game ball to the second start port 1044 when retracted. The ordinary electric accessory 1048 may be a pair of blade members that are opened and closed (so-called electric tulips).

また、右打ち時は、遊技釘1017によって遊技球がステージ1055の右側から第1始動口1023に入賞不可能なように構成されている。   Further, when the player strikes the right side, the game nail 1017 is configured such that the game ball cannot enter the first start port 1023 from the right side of the stage 1055.

また、普通図柄の変動表示中において通過ゲート1054を遊技球が通過した場合には、普通図柄保留表示LED1050a、1050bによる表示態様を切り換えて、変動表示中の普通図柄が停止表示されるまで、当該通過ゲート1054への遊技球の通過に基づく普通図柄の変動表示の実行(開始)が保留される。その後、変動表示していた普通図柄が停止表示された場合には、保留されていた普通図柄の変動表示が開始される。   If the game ball passes through the passing gate 1054 during the normal symbol variation display, the display mode by the normal symbol hold display LEDs 1050a and 1050b is switched until the normal symbol during the variation display is stopped and displayed. Execution (start) of the normal symbol variation display based on the passing of the game ball to the passing gate 1054 is suspended. After that, when the normal symbol that has been variably displayed is stopped and displayed, the variably displayed normal symbol that has been suspended is started.

なお、普通図柄表示装置1033において普通図柄として特定の図柄が停止表示された場合には、普通図柄抽選が当選であることを遊技者に把握させる演出画像が液晶表示装置1032の表示領域において表示されるようにしてもよい。   When a specific symbol is stopped and displayed as a normal symbol on the normal symbol display device 1033, an effect image for allowing the player to grasp that the normal symbol lottery is won is displayed in the display area of the liquid crystal display device 1032. You may make it do.

また、シャッタ1040は、第1始動口1023の直下に配置され、大入賞口1039を開閉するようになっている。シャッタ1040の直下の遊技領域1015の最下部位には、アウト口1057が形成されている。一般入賞口1056a、1056b、1056cは、遊技領域1015の左側下部に設けられている。また、遊技領域1015の右側下部には、一般入賞口1056dが設けられている。   The shutter 1040 is disposed directly below the first start port 1023, and opens and closes the big prize port 1039. An out port 1057 is formed at the lowermost part of the game area 1015 immediately below the shutter 1040. The general winning ports 1056a, 1056b, 1056c are provided in the lower left part of the game area 1015. Further, a general winning opening 1056d is provided at the lower right side of the game area 1015.

また、前述した第1始動口1023内には入賞領域が設けられ、この入賞領域には第1始動入賞口スイッチ1116(図77参照)が備えられている。第2始動口1044内には入賞領域が設けられ、この入賞領域には第2始動入賞口スイッチ1117(図77参照)が備えられている。遊技球が第1始動入賞口スイッチ1116によって検出されると、第1特別図柄表示装置1035aによる特別図柄の変動表示が開始される。   In addition, a winning area is provided in the first starting port 1023 described above, and a first starting winning port switch 1116 (see FIG. 77) is provided in this winning area. A winning area is provided in the second starting opening 1044, and a second starting winning opening switch 1117 (see FIG. 77) is provided in the winning area. When the game ball is detected by the first start winning a prize opening switch 1116, the first special symbol display device 1035a starts to display the variation of the special symbol.

また、特別図柄の変動表示中に第1始動口1023へ遊技球が入球した場合には、変動表示中の特別図柄が停止表示されるまで、第1始動口1023への遊技球の入球に基づく特別図柄の変動表示の実行(開始)が保留される。その後、変動表示していた特別図柄が停止表示された場合には、保留されていた特別図柄の変動表示が開始される。なお、以降の説明において、第1始動口1023への遊技球の入球に基づいて第1特別図柄表示装置1035aに変動表示される特別図柄を第1特別図柄と称する。   In addition, when a game ball enters the first start port 1023 during the special symbol variation display, the game ball enters the first start port 1023 until the special symbol during the variation display is stopped and displayed. Execution (start) of the special symbol variation display based on is suspended. Thereafter, when the special symbol that has been variably displayed is stopped and displayed, the variably displayed suspended special symbol is started. In the following description, the special symbol variably displayed on the first special symbol display device 1035a based on the game ball entering the first start port 1023 is referred to as a first special symbol.

また、遊技球が第2始動入賞口スイッチ1117によって検出された場合、第2特別図柄表示装置1035bによる特別図柄の変動表示が開始される。また、特別図柄の変動表示中に第2始動口1044へ遊技球が入球した場合には、変動表示中の特別図柄が停止表示されるまで、第2始動口1044への遊技球の入球に基づく特別図柄の変動表示の実行(開始)が保留される。その後、変動表示していた特別図柄が停止表示された場合には、保留されていた特別図柄の変動表示が開始される。なお、以降の説明において、第2始動口1044への遊技球の入球に基づいて第2特別図柄表示装置1035bに変動表示される特別図柄を第2特別図柄と称する。   When the game ball is detected by the second start winning a prize opening switch 1117, the special symbol variation display by the second special symbol display device 1035b is started. In addition, when a game ball enters the second start opening 1044 during the variation display of the special symbol, the game ball enters the second start opening 1044 until the special symbol during the variation display is stopped and displayed. Execution (start) of the special symbol variation display based on is suspended. Thereafter, when the special symbol that has been variably displayed is stopped and displayed, the variably displayed suspended special symbol is started. In the following description, the special symbol variably displayed on the second special symbol display device 1035b based on the game ball entering the second start port 1044 is referred to as a second special symbol.

ここで、第1特別図柄表示装置1035aと第2特別図柄表示装置1035bとは同時に特別図柄が変動することはない。また、第2始動口1044への始動入賞を優先に特別図柄の変動表示が行われる。   Here, the first special symbol display device 1035a and the second special symbol display device 1035b do not fluctuate at the same time. In addition, the special symbol variation display is performed with priority given to the start winning at the second start port 1044.

なお、第1始動口1023、第2始動口1044への入球による特別図柄の変動表示の保留数は、それぞれ4回を上限としている。したがって、最大8回の保留が可能になる。   It should be noted that the upper limit of the number of suspensions of the special symbol variation display by entering the first start port 1023 and the second start port 1044 is four times. Therefore, a maximum of 8 holds is possible.

また、その他の(所定の特別図柄の変動表示開始)条件としては、特別図柄が停止表示されていることである。つまり、所定の特別図柄の変動表示開始条件が成立する毎に特別図柄の変動表示が開始される。   In addition, as another condition (start of variable display of a predetermined special symbol), the special symbol is stopped and displayed. In other words, every time a predetermined special symbol variable display start condition is satisfied, the special symbol variable display is started.

第1特別図柄表示装置1035a及び第2特別図柄表示装置1035bにおいて特別図柄が特定の停止表示態様となって、遊技状態が大当り遊技状態に移行された場合は、シャッタ1040が開放状態となるように駆動される。その結果、大入賞口1039は、遊技球を受け入れやすい開放状態(第1の状態)となる。   In the first special symbol display device 1035a and the second special symbol display device 1035b, when the special symbol becomes a specific stop display mode and the gaming state is shifted to the big hit gaming state, the shutter 1040 is opened. Driven. As a result, the special winning opening 1039 is in an open state (first state) in which a game ball can be easily received.

一方、シャッタ1040の背面側(後方)に設けられた大入賞口1039には、カウントスイッチ1104(図77参照)を有する領域(図示せず)があり、その領域を遊技球が所定個数(例えば7個)通過するか、又は所定時間(例えば、約0.1秒あるいは約30秒)が経過するまでシャッタ1040が開放状態に駆動される。そして、開放状態において大入賞口1039への所定数の遊技球の入賞又は所定時間の経過のいずれかの条件が成立すると、シャッタ1040は、閉鎖状態になるように駆動される。その結果、大入賞口1039は、遊技球を受け入れ難い閉鎖状態となる(第2の状態)。   On the other hand, the special winning opening 1039 provided on the back side (rear side) of the shutter 1040 has an area (not shown) having a count switch 1104 (see FIG. 77), and a predetermined number of game balls (for example, 7) or the shutter 1040 is driven to the open state until a predetermined time (for example, about 0.1 second or about 30 seconds) elapses. When either a predetermined number of game balls are awarded to the big winning opening 1039 or a predetermined time has elapsed in the open state, the shutter 1040 is driven to be in the closed state. As a result, the special winning opening 1039 is in a closed state in which it is difficult to accept a game ball (second state).

なお、一定時間において、大入賞口1039が遊技球を受け入れやすい状態となっている遊技をラウンドゲームという。したがって、シャッタ1040は、ラウンドゲーム時に開放し、各ラウンドゲーム間では閉鎖することになる。また、ラウンドゲームは、"1"ラウンド、"2"ラウンド等のラウンド数として計数される。例えば、ラウンドゲームの1回目を第1ラウンド、2回目を第2ラウンドと呼称する場合がある。なお、この例においては、1ラウンドにおいて、複数回シャッタ1040を開閉して、開放状態となる時間を一定時間とする場合がある。   Note that a game in which the special winning opening 1039 easily accepts a game ball for a certain period of time is referred to as a round game. Therefore, the shutter 1040 is opened during the round game and is closed between the round games. A round game is counted as the number of rounds such as “1” round, “2” round, and the like. For example, the first round game may be referred to as the first round and the second round as the second round. In this example, in one round, the shutter 1040 is opened and closed a plurality of times, and the open time may be set to a certain time.

続いて、開放状態から閉鎖状態(第2の状態)に駆動されたシャッタ1040は、再度開放状態に駆動される。つまり、ラウンドゲームが終了した場合には、次のラウンドゲームへ継続して進むことができる。なお、第1ラウンドのラウンドゲームから、次のラウンドゲームに継続して進むことができない(最終の)ラウンドゲームが終了するまでの遊技を特別遊技あるいは大当り遊技という。なお、この例においては、全ての大当りは15ラウンドである。   Subsequently, the shutter 1040 driven from the open state to the closed state (second state) is driven again to the open state. That is, when the round game is finished, it is possible to continue to the next round game. A game from the first round game until the end of the (final) round game that cannot continue to the next round game is called a special game or a big hit game. In this example, all jackpots are 15 rounds.

また、前述した第1始動口1023、第2始動口1044、一般入賞口1056a〜1056d、大入賞口1039に遊技球が入賞したときには、それぞれの入賞口の種類に応じて予め設定されている数の遊技球が上皿1021又は下皿1022に払い出される。   Further, when a game ball is won in the first start port 1023, the second start port 1044, the general winning ports 1056a to 1056d, and the big winning port 1039, the number set in advance according to the type of each winning port. Of the game balls are paid out to the upper plate 1021 or the lower plate 1022.

また、この例においては、大当り遊技終了後に、普通図柄抽選の当選確率が高確率状態となり、普通電動役物1048によるサポートによって特別図柄ゲームの保留球が貯まりやすくなる時短状態に移行する場合がある。ここで、時短状態においては、通過ゲート1054に遊技球を通過させることが、普通図柄抽選を実行させる条件となるため、右打ちをしながら遊技を進行することになる。   Also, in this example, after the big hit game is over, there is a case where the winning probability of the normal symbol lottery becomes a high probability state, and the support by the normal electric accessory 1048 makes a transition to a short time state where the reserved balls of the special symbol game are easily stored. . Here, in the short-time state, passing the game ball to the passing gate 1054 is a condition for executing the normal symbol lottery, so that the game proceeds while making a right strike.

また、右打ち状態で大当りが発生した場合には、そのまま右打ちを継続することにより、大入賞口1039へ入賞させることが可能である。また、普通電動役物1048によるサポートが受けられない場合には、左打ちをしながら遊技を進行することになる。   Further, when a big hit occurs in the right-handed state, it is possible to win the big winning opening 1039 by continuing the right-handed as it is. Further, when the support by the ordinary electric accessory 1048 cannot be received, the game is advanced while making a left strike.

また、図75に示すように、上皿1021の前面には、演出ボタン1080a,1080b,1080cが設けられており、目押しゲーム、カードめくり、すごろく等のようなミニゲーム中に、それらの演出ボタンを押下することにより、液晶表示装置1032における演出表示内容を変えることができる。   Also, as shown in FIG. 75, effect buttons 1080a, 1080b, and 1080c are provided on the front surface of the upper plate 1021, and these effects are performed during a mini-game such as an open game, a card flip, a sugoroku or the like. By pressing the button, the effect display content on the liquid crystal display device 1032 can be changed.

なお、パチンコ機1010においては、演出手段の一例として液晶表示装置を記載したが、これに限らず、プラズマディスプレイやリアプロジェクションディスプレイ、CRTディスプレイ、ランプ、スピーカや可動役物等を演出手段として用いてもよい。   In the pachinko machine 1010, the liquid crystal display device is described as an example of the production means. However, the present invention is not limited to this, and a plasma display, a rear projection display, a CRT display, a lamp, a speaker, a movable accessory, or the like is used as the production means. Also good.

次に、図77を参照して、パチンコ機1010の電気的構成について説明する。   Next, the electrical configuration of the pachinko machine 1010 will be described with reference to FIG.

図77に示すように、パチンコ機1010は、主に、遊技の制御を行う主制御回路1060と、遊技の進行に応じた演出の制御を行う副制御回路1200とから構成される。   As shown in FIG. 77, the pachinko machine 1010 mainly includes a main control circuit 1060 that controls a game and a sub-control circuit 1200 that controls an effect according to the progress of the game.

主制御回路1060は、メインCPU1066、メインROM1068(読み出し専用メモリ)、メインRAM1070(読み書き可能メモリ)を備えている。この主制御回路1060は、本発明に係る主制御部を構成する。   The main control circuit 1060 includes a main CPU 1066, a main ROM 1068 (read only memory), and a main RAM 1070 (read / write memory). The main control circuit 1060 constitutes a main control unit according to the present invention.

メインCPU1066は、本実施の形態のパチスロ遊技機において説明したメインCPU31(図6参照)と同様に、コマンド暗号化手段1066a、コマンド送信手段1066bを備えている。コマンド暗号化手段1066aは、メインROM1068に記憶された暗号化情報に基づいて、メインCPU1066が生成したコマンドを暗号化するようになっている。コマンド送信手段1066bは、暗号化されたコマンドを副制御回路1200に送信するようになっている。   The main CPU 1066 includes a command encryption unit 1066a and a command transmission unit 1066b, similar to the main CPU 31 (see FIG. 6) described in the pachislot machine of the present embodiment. The command encryption unit 1066a encrypts the command generated by the main CPU 1066 based on the encryption information stored in the main ROM 1068. The command transmission means 1066b transmits the encrypted command to the sub control circuit 1200.

メインCPU1066には、メインROM1068、メインRAM1070等が接続されており、このメインROM1068に記憶されたプログラムに従って、各種の処理を実行する機能を有する。   The main CPU 1066 is connected to a main ROM 1068, a main RAM 1070, and the like, and has a function of executing various processes according to a program stored in the main ROM 1068.

メインROM1068には、メインCPU1066によりパチンコ機1010の動作を制御するためのプログラム、メイン処理等をメインCPU1066に実行させるためのプログラムや、各種のテーブル等が記憶されている。   The main ROM 1068 stores a program for controlling the operation of the pachinko machine 1010 by the main CPU 1066, a program for causing the main CPU 1066 to execute main processing, and various tables.

メインRAM1070は、メインCPU1066の一時記憶領域として種々のフラグや変数の値を記憶する機能を有する。なお、メインCPU1066の一時記憶領域としては、メインRAM1070に限らず、その他の読み書き可能な記憶媒体を用いてもよい。   The main RAM 1070 has a function of storing various flags and variable values as a temporary storage area of the main CPU 1066. The temporary storage area of the main CPU 1066 is not limited to the main RAM 1070, and other readable / writable storage media may be used.

また、主制御回路1060は、電源投入時においてリセット信号を生成する初期リセット回路1064、I/Oポート1071、コマンド出力ポート1072を備えている。また、初期リセット回路1064は、メインCPU1066に接続されている。I/Oポート1071は、各種のデバイスからの入力信号をメインCPU1066に、メインCPU1066からの出力信号を各種のデバイスに送信するものである。   The main control circuit 1060 includes an initial reset circuit 1064 that generates a reset signal when the power is turned on, an I / O port 1071, and a command output port 1072. The initial reset circuit 1064 is connected to the main CPU 1066. The I / O port 1071 is used to transmit input signals from various devices to the main CPU 1066 and output signals from the main CPU 1066 to various devices.

コマンド出力ポート1072は、メインCPU1066からのコマンドを副制御回路1200に送信するものである。また、主制御回路1060は、バックアップコンデンサ1074を備えている。バックアップコンデンサ1074は、電断時において、例えば、メインRAM1070に対して速やかに電源を供給することにより、メインRAM1070に記憶されている各種データを保持することに用いられる。   The command output port 1072 transmits a command from the main CPU 1066 to the sub control circuit 1200. The main control circuit 1060 includes a backup capacitor 1074. The backup capacitor 1074 is used to hold various data stored in the main RAM 1070, for example, by quickly supplying power to the main RAM 1070 when power is interrupted.

また、主制御回路1060には、各種の装置が接続されている。例えば、主制御回路1060には、第1特別図柄表示装置1035a及び第2特別図柄表示装置1035b、第1特別図柄保留表示LED1034a、1034b及び第2特別図柄保留表示LED1034c、1034d、普通図柄表示装置1033、普通図柄保留表示LED1050a、1050b、普通電動役物1048の舌状部材1048aを突出状態又は引込状態とする始動口ソレノイド1118、シャッタ1040を駆動させ、大入賞口1039を開放状態又は閉鎖状態とする大入賞口ソレノイド1120等が接続されている。   Various devices are connected to the main control circuit 1060. For example, the main control circuit 1060 includes a first special symbol display device 1035a and a second special symbol display device 1035b, first special symbol hold display LEDs 1034a and 1034b, second special symbol hold display LEDs 1034c and 1034d, and a normal symbol display device 1033. The normal symbol hold display LEDs 1050a and 1050b, the start-port solenoid 1118 that causes the tongue-like member 1048a of the ordinary electric accessory 1048 to be in the protruding state or the retracted state, and the shutter 1040 are driven, and the grand prize winning port 1039 is opened or closed. A big prize solenoid 1120 or the like is connected.

また、主制御回路1060には、ホール係員を呼び出す機能や当り回数を表示するといった機能を有する図示しない呼出装置や、ホール全体のパチンコ機を管理するホールコンピュータ1400にデータ送信するために用いる外部端子板1310が接続されている。   Further, the main control circuit 1060 has a call device (not shown) having a function of calling a hall attendant and a function of displaying the number of hits, and an external terminal used for transmitting data to a hall computer 1400 that manages pachinko machines for the entire hall. A plate 1310 is connected.

また、主制御回路1060には、例えば、大入賞口1039における領域を遊技球が通過した場合に、所定の検知信号を主制御回路1060に供給するカウントスイッチ1104、各一般入賞口1056を遊技球が通過した場合に、所定の検知信号を主制御回路60に供給する一般入賞口スイッチ1106、1108、1110、1112、通過ゲート1054を遊技球が通過した場合に、所定の検知信号を主制御回路1060に供給する通過ゲートスイッチ1114、第1始動口1023を遊技球が入賞した場合に、所定の検知信号を主制御回路1060に供給する第1始動入賞口スイッチ1116、第2始動口1044を遊技球が入賞した場合に、所定の検知信号を主制御回路1060に供給する第2始動入賞口スイッチ1117、電断時等におけるバックアップデータを遊技場の管理者の操作に応じてクリアするバックアップクリアスイッチ1124等が接続されている。   The main control circuit 1060 also includes, for example, a count switch 1104 that supplies a predetermined detection signal to the main control circuit 1060 when a game ball passes through an area of the big prize opening 1039, and each general winning opening 1056. When a game ball passes through the general prize opening switches 1106, 1108, 1110, 1112 and the pass gate 1054, which supply a predetermined detection signal to the main control circuit 60 when the game passes, the predetermined detection signal is sent to the main control circuit 60. When the game ball wins the passing gate switch 1114 and the first starting port 1023 supplied to 1060, the first starting winning port switch 1116 and the second starting port 1044 that supply a predetermined detection signal to the main control circuit 1060 are played. Second start winning port switch 1117 for supplying a predetermined detection signal to the main control circuit 1060 when the ball has won, Such as backup clear switch 1124 to clear depending on the administrator of the operation of the game arcade is connected to a backup data in such.

また、主制御回路1060には、払出・発射制御回路1126が接続されている。この払出・発射制御回路1126には、遊技球の払い出しを行う払出装置1128、遊技球の発射を行う発射装置1130、カードユニット1300が接続されている。カードユニット1300は、遊技者の操作によって、カードユニット1300に遊技球の貸し出しを要求する信号を出力する球貸し操作パネル1155との間で送受信可能である。   The main control circuit 1060 is connected to a payout / firing control circuit 1126. Connected to the payout / launch control circuit 1126 are a payout device 1128 for paying out game balls, a launch device 1130 for launching game balls, and a card unit 1300. The card unit 1300 can be transmitted / received to / from a ball lending operation panel 1155 that outputs a signal requesting the card unit 1300 to lend a game ball to the card unit 1300 by an operation of the player.

払出・発射制御回路1126は、主制御回路1060から供給される賞球制御コマンド、カードユニット1300から供給される貸し球制御信号を受け取り、払出装置1128に対して所定の信号を送信することにより、払出装置1128に遊技球を払い出させる。また、払出・発射制御回路1126は、発射ハンドル1026が遊技者によって握持され、かつ、時計回り方向へ回動操作されたときには、その回動角度に応じて発射ソレノイドに電力を供給し、遊技球を発射させる制御を行う。   The payout / launch control circuit 1126 receives a prize ball control command supplied from the main control circuit 1060 and a lending ball control signal supplied from the card unit 1300, and transmits a predetermined signal to the payout device 1128. The payout device 1128 is caused to pay out the game ball. Further, the payout / firing control circuit 1126 supplies electric power to the firing solenoid according to the turning angle when the launching handle 1026 is gripped by the player and is turned clockwise. Control to fire the ball.

コマンド出力ポート1072には、副制御回路1200が接続されている。副制御回路1200は、本実施の形態のパチスロ遊技機において説明した副制御回路70(図7参照)と同様の構成を有し、この副制御回路70と同様な各種処理を実行することができるようになっている。例えば、副制御回路1200は、主制御回路1060が暗号化して送信する各種のコマンドを復号化するコマンド復号化手段1201aを有するサブCPU1201を備え、復号化したコマンドに応じて、液晶表示装置1032(エラー情報表示手段)における表示制御、スピーカ1046から発生させる音声に関する制御、装飾ランプ等を含むランプの制御等を行うようになっている。なお、副制御回路1200は、本発明に係る副制御部を構成する。また、サブCPU1201は、本発明に係る通信エラー確認手段を構成する。   A sub control circuit 1200 is connected to the command output port 1072. The sub-control circuit 1200 has the same configuration as the sub-control circuit 70 (see FIG. 7) described in the pachislot machine of the present embodiment, and can execute various processes similar to the sub-control circuit 70. It is like that. For example, the sub control circuit 1200 includes a sub CPU 1201 having a command decryption unit 1201a for decrypting various commands encrypted and transmitted by the main control circuit 1060, and according to the decrypted command, the liquid crystal display device 1032 ( Display control in error information display means), control related to sound generated from the speaker 1046, control of lamps including decorative lamps, and the like. The sub-control circuit 1200 constitutes a sub-control unit according to the present invention. Further, the sub CPU 1201 constitutes a communication error confirmation unit according to the present invention.

以上説明したように、本実施の形態によるパチンコ遊技機によると、上記の実施の形態に係るパチスロ遊技機と同様の効果を得ることができる。   As described above, according to the pachinko gaming machine according to the present embodiment, the same effects as those of the pachislot gaming machine according to the above embodiment can be obtained.

5 液晶表示装置(エラー情報表示手段)
30 マイクロコンピュータ
31 メインCPU
31a コマンド暗号化手段
31b コマンド送信手段
32 メインROM
33 メインRAM
60 主制御回路(主制御部)
70 副制御回路(副制御部)
71 サブCPU(コマンド受信手段、通信エラー確認手段)
71a コマンド復号化手段
71g エラー情報履歴表示手段(エラー情報表示手段)
72 サブROM
72j 復号化情報領域
1010 パチンコ機
1032 液晶表示装置(エラー情報表示手段)
1060 主制御回路(主制御部)
1064 初期リセット回路
1066 メインCPU
1066a コマンド暗号化手段
1066b コマンド送信手段
1200 副制御回路(副制御部)
1201 サブCPU(通信エラー確認手段)
1201a コマンド復号化手段
5 Liquid crystal display (error information display means)
30 Microcomputer 31 Main CPU
31a Command encryption means 31b Command transmission means 32 Main ROM
33 Main RAM
60 Main control circuit (main control unit)
70 Sub Control Circuit (Sub Control Unit)
71 Sub CPU (command receiving means, communication error checking means)
71a Command decoding means 71g Error information history display means (error information display means)
72 Sub ROM
72j Decoded information area 1010 Pachinko machine 1032 Liquid crystal display device (error information display means)
1060 Main control circuit (main control unit)
1064 Initial reset circuit 1066 Main CPU
1066a Command encryption unit 1066b Command transmission unit 1200 Sub control circuit (sub control unit)
1201 Sub CPU (communication error confirmation means)
1201a Command decoding means

Claims (2)

遊技の進行に関する処理を実行する第1制御部と、
前記第1制御部から送信されるコマンドに基づいて制御を行う第2制御部と、を備え、
前記第1制御部は、
前記第2制御部に送信するコマンドを暗号化する暗号化手段と、
前記暗号化手段が暗号化したコマンドを前記第2制御部に送信する送信手段と、を備え、
前記第2制御部は、
暗号化された前記コマンドを受信する受信手段と、
前記受信手段が受信した前記コマンドを復号化する復号化手段と、
前記復号化されたコマンドに基づいて、該コマンドのデータが予め定められた範囲内にある場合に正常と判定し前記範囲外にある場合に異常と判定する第1判定手段と、
前記第1判定手段において前記正常と判定された場合に、前記復号化されたコマンドに基づいて、該コマンドのデータの整合性がある場合に正常と判定し前記整合性がない場合に異常と判定する第2判定手段と、
前記第2判定手段において前記正常と判定された場合に、前記復号化されたコマンドに基づいて、該コマンドが特定のコマンド種別以外の場合に該特定のコマンド種別以外の受信順序を判定し、前記受信順序が予め定められた順序である場合に正常と判定し前記順序でない場合に異常と判定する第3判定手段と、
前記第1判定手段、前記第2判定手段及び前記第3判定手段のいずれか1つにおいて前記異常と判定された場合にエラーに基づいてエラー処理を行うエラー処理手段と、を備え、
前記コマンドは、予め定められた順序で配列された、所定バイトのデータで構成され、
前記受信手段は、前記送信手段から送信されたコマンドを1バイト単位で発生する受信割込みにより、前記1バイト単位の受信データと、該受信データの受信ステータスデータとを取得するとともに、所定の領域に登録し、
前記暗号化手段は、前記コマンドを構成する前記所定バイトのデータを予め定められた暗号化手順で入れ替えることにより前記コマンドを暗号化し、
前記復号化手段は、前記受信割込みが前記所定バイトの回数発生したことに基づいて前記所定の領域に登録した暗号化された前記コマンドを、予め定められた復号化手順で入れ替えることにより復号化する
ことを特徴とする遊技機。
A first control unit that executes processing related to the progress of the game;
A second control unit that performs control based on a command transmitted from the first control unit,
The first controller is
Encryption means for encrypting a command to be transmitted to the second control unit;
Transmission means for transmitting the command encrypted by the encryption means to the second control unit,
The second controller is
Receiving means for receiving the encrypted command;
Decoding means for decoding the command received by the receiving means;
Based on the decoded command, first determination means for determining that the data of the command is normal when the data is within a predetermined range and determining abnormal when the data of the command is outside the range;
Based on the decrypted command, when the first determination means determines that the data is normal, the command determines that the data of the command is consistent, and determines that the command is abnormal if the data is not consistent Second determining means for
When the second determination means determines that the normal, the reception order other than the specific command type is determined when the command is other than a specific command type based on the decoded command, Third determination means for determining normal when the reception order is a predetermined order and determining abnormal when the reception order is not the order;
Error processing means for performing error processing based on an error when any one of the first determination means, the second determination means, and the third determination means is determined to be abnormal,
The command is composed of predetermined bytes of data arranged in a predetermined order,
The receiving unit obtains the reception data of the 1-byte unit and the reception status data of the reception data by a reception interrupt that generates the command transmitted from the transmission unit in units of 1 byte, and stores the received data in a predetermined area. Register,
The encryption means encrypts the command by replacing the predetermined bytes of data constituting the command with a predetermined encryption procedure,
The decryption means decrypts the encrypted command registered in the predetermined area on the basis of the occurrence of the predetermined number of bytes of the reception interrupt by replacing with a predetermined decryption procedure. A gaming machine characterized by that.
遊技の進行に関する処理を実行する第1制御部と、
前記第1制御部から送信されるコマンドに基づいて制御を行う第2制御部と、を備え、
前記第1制御部は、
前記第2制御部に送信するコマンドを暗号化する暗号化手段と、
前記暗号化手段が暗号化したコマンドを前記第2制御部に送信する送信手段と、を備え、
前記第2制御部は、
暗号化された前記コマンドを受信する受信手段と、
前記受信手段が受信した前記コマンドを復号化する復号化手段と、
前記復号化されたコマンドに基づいて、該コマンドのデータが予め定められた範囲内にある場合に正常と判定し前記範囲外にある場合に異常と判定する第1判定手段と、
前記第1判定手段において前記正常と判定された場合に、前記復号化されたコマンドに基づいて、該コマンドのデータの整合性がある場合に正常と判定し前記整合性がない場合に異常と判定する第2判定手段と、
前記第2判定手段において前記正常と判定された場合に、前記復号化されたコマンドに基づいて、該コマンドが特定のコマンド種別以外の場合に該特定のコマンド種別以外の受信順序を判定し、前記受信順序が予め定められた順序である場合に正常と判定し前記順序でない場合に異常と判定する第3判定手段と、
前記第1判定手段、前記第2判定手段及び前記第3判定手段のいずれか1つにおいて前記異常と判定された場合にエラーに基づいてエラー処理を行うエラー処理手段と、を備え、
前記コマンドは、予め定められた順序で配列された、所定バイトのデータで構成され、
前記受信手段は、前記送信手段から送信されたコマンドを1バイト単位で発生する受信割込みにより、前記1バイト単位の受信データと、該受信データの受信ステータスデータとを取得するとともに、所定の領域に登録し、
前記暗号化手段は、予め定められた暗号化手順に基づいて前記所定バイトのデータを1バイト単位でビット入れ替えすることにより前記コマンドを暗号化し、
前記復号化手段は、前記受信割込みが前記所定バイトの回数発生したことに基づいて前記所定の領域に登録した暗号化された前記コマンドを、予め定められた復号化手順に基づいて前記所定バイトのデータを1バイト単位でビット入れ替えすることにより復号化することを特徴とする遊技機。
A first control unit that executes processing related to the progress of the game;
A second control unit that performs control based on a command transmitted from the first control unit,
The first controller is
Encryption means for encrypting a command to be transmitted to the second control unit;
Transmission means for transmitting the command encrypted by the encryption means to the second control unit,
The second controller is
Receiving means for receiving the encrypted command;
Decoding means for decoding the command received by the receiving means;
Based on the decoded command, first determination means for determining that the data of the command is normal when the data is within a predetermined range and determining abnormal when the data of the command is outside the range;
Based on the decrypted command, when the first determination means determines that the data is normal, the command determines that the data of the command is consistent, and determines that the command is abnormal if the data is not consistent Second determining means for
When the second determination means determines that the normal, the reception order other than the specific command type is determined when the command is other than a specific command type based on the decoded command, Third determination means for determining normal when the reception order is a predetermined order and determining abnormal when the reception order is not the order;
Error processing means for performing error processing based on an error when any one of the first determination means, the second determination means, and the third determination means is determined to be abnormal,
The command is composed of predetermined bytes of data arranged in a predetermined order,
The receiving unit obtains the reception data of the 1-byte unit and the reception status data of the reception data by a reception interrupt that generates the command transmitted from the transmission unit in units of 1 byte, and stores the received data in a predetermined area. Register,
The encryption means encrypts the command by exchanging the data of the predetermined byte in units of 1 byte based on a predetermined encryption procedure,
The decryption means is configured to transmit the encrypted command registered in the predetermined area based on the occurrence of the predetermined number of times the reception interrupt has occurred in the predetermined byte based on a predetermined decryption procedure. A game machine, wherein data is decoded by exchanging bits in units of 1 byte.
JP2016078684A 2016-04-11 2016-04-11 Game machine Expired - Fee Related JP6134416B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016078684A JP6134416B2 (en) 2016-04-11 2016-04-11 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016078684A JP6134416B2 (en) 2016-04-11 2016-04-11 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013126589A Division JP5919224B2 (en) 2013-06-17 2013-06-17 Game machine management method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017084355A Division JP6281010B2 (en) 2017-04-21 2017-04-21 Game machine

Publications (2)

Publication Number Publication Date
JP2016128069A JP2016128069A (en) 2016-07-14
JP6134416B2 true JP6134416B2 (en) 2017-05-24

Family

ID=56383896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016078684A Expired - Fee Related JP6134416B2 (en) 2016-04-11 2016-04-11 Game machine

Country Status (1)

Country Link
JP (1) JP6134416B2 (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3462229B2 (en) * 1993-01-12 2003-11-05 株式会社リコス Device for preventing unauthorized use of information in wireless communication
JP4658282B2 (en) * 1999-12-22 2011-03-23 株式会社ユニバーサルエンターテインメント Slot machine
JP2003312067A (en) * 2002-04-26 2003-11-06 Hitachi Ltd Printer
JP2004187230A (en) * 2002-12-06 2004-07-02 Matsushita Electric Ind Co Ltd Streaming distribution system and stream distribution server
JP2005021660A (en) * 2003-06-11 2005-01-27 Olympia:Kk Game machine, and command communication method and command communication program for game machine
JP2006204324A (en) * 2005-01-25 2006-08-10 Samii Kk Game machine
JP4643420B2 (en) * 2005-11-15 2011-03-02 株式会社オリンピア Game machine
JP2008187608A (en) * 2007-01-31 2008-08-14 Sains Ltd Data transmission system
JP2013046695A (en) * 2011-08-29 2013-03-07 Sammy Corp Slot machine

Also Published As

Publication number Publication date
JP2016128069A (en) 2016-07-14

Similar Documents

Publication Publication Date Title
JP5852054B2 (en) Game machine and its management method
JP6134415B2 (en) Game machine
JP6281008B2 (en) Game machine
JP6281010B2 (en) Game machine
JP6281011B2 (en) Game machine
JP6281007B2 (en) Game machine
JP6144377B2 (en) Game machine
JP6076447B2 (en) Game machine and its management method
JP6076448B2 (en) Game machine and its management method
JP6148908B2 (en) Game machine
JP5919224B2 (en) Game machine management method
JP6281009B2 (en) Game machine
JP6134416B2 (en) Game machine
JP6134417B2 (en) Game machine
JP6134410B2 (en) Game machine
JP6134409B2 (en) Game machine
JP6144376B2 (en) Game machine
JP6152448B2 (en) Game machine
JP5905852B2 (en) Game machine
JP5905853B2 (en) Game machine
JP5919223B2 (en) Game machine management method
JP5919225B2 (en) Game machine management method
JP5852055B2 (en) Game machine and its management method
JP5899163B2 (en) Game machine and its management method
JP5899162B2 (en) Game machine and its management method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160411

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: 20170404

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170421

R150 Certificate of patent or registration of utility model

Ref document number: 6134416

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees