JP5194092B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP5194092B2
JP5194092B2 JP2010242851A JP2010242851A JP5194092B2 JP 5194092 B2 JP5194092 B2 JP 5194092B2 JP 2010242851 A JP2010242851 A JP 2010242851A JP 2010242851 A JP2010242851 A JP 2010242851A JP 5194092 B2 JP5194092 B2 JP 5194092B2
Authority
JP
Japan
Prior art keywords
control unit
unit
information
error check
storage area
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
JP2010242851A
Other languages
Japanese (ja)
Other versions
JP2012090908A (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.)
Kyoraku Industrial Co Ltd
Original Assignee
Kyoraku Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyoraku Industrial Co Ltd filed Critical Kyoraku Industrial Co Ltd
Priority to JP2010242851A priority Critical patent/JP5194092B2/en
Publication of JP2012090908A publication Critical patent/JP2012090908A/en
Application granted granted Critical
Publication of JP5194092B2 publication Critical patent/JP5194092B2/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 pachinko gaming machine, a sparrow ball gaming machine, a ball ball gaming machine such as an arrangement ball, and a revolving type gaming machine such as a slot machine installed in a gaming shop such as a pachinko shop.

遊技機に対し行われる、メダルや遊技球など(以下、「遊技媒体」という)を遊技内容とは無関係に強制的に払い出させる不正行為のうち、遊技進行に伴う基本動作を制御する主制御部が搭載された主制御基板や、主制御部からの制御命令情報(以下、「制御コマンド」という)に基づき演出処理等を実行する周辺部が搭載された周辺基板に関するものとして、例えば以下に示すものがある。
(1)正規な主制御基板と不正な主制御基板との交換
(2)主制御基板に搭載されたCPUが実行する正規なプログラムが記憶されたROMと上記プログラムを改ざんした不正なプログラムが記憶されたROMとの交換
(3)主制御基板と周辺基板との間に不正な基板(なりすまし基板)を設け、かつ上記(2)のROMの交換
Main control that controls basic actions associated with the progress of a game, among illegal acts that are performed on a gaming machine and forcibly pays out medals, game balls, etc. (hereinafter referred to as “game media”) regardless of the game content. For example, the following is related to a peripheral board on which a peripheral part that executes a rendering process or the like based on control command information from the main control part (hereinafter referred to as “control command”) is mounted. There is something to show.
(1) Replacing an authorized main control board with an unauthorized main control board (2) A ROM storing a legitimate program executed by the CPU mounted on the main control board and an unauthorized program obtained by falsifying the above program are stored. (3) An illegal board (impersonated board) is provided between the main control board and the peripheral board, and the ROM of (2) above is replaced.

このような不正行為を防止するため、従来の遊技機には、次のようなものがあった。例えば、特許文献1に記載の遊技機では、主制御基板は、制御コマンドを生成してサブ制御基板に送信する第1送信手段と、第1送信手段が所定期間内に送信した制御コマンドのチェックサムを状態監視コマンドとして所定のタイミングで送信する第2送信手段とを備えている。また、サブ制御基板が、所定期間内に受信した制御コマンドのチェックサムと、所定のタイミングで受信した状態監視コマンドとを比較することで、所定期間内に送信された制御コマンドの正当性を検証している。すなわち、特許文献1に記載の遊技機は、制御コマンドの正当性を検証するための状態監視コマンドを所定のタイミングで送信することで、上記不正行為の防止を図っている。   In order to prevent such illegal acts, the conventional gaming machines include the following. For example, in the gaming machine described in Patent Document 1, the main control board generates a control command and transmits it to the sub-control board, and checks the control command transmitted by the first transmission means within a predetermined period. Second transmission means for transmitting the thumb as a state monitoring command at a predetermined timing. In addition, the sub-control board verifies the validity of the control command transmitted within the predetermined period by comparing the checksum of the control command received within the predetermined period with the state monitoring command received at the predetermined timing. doing. That is, the gaming machine described in Patent Document 1 attempts to prevent the illegal act by transmitting a state monitoring command for verifying the validity of the control command at a predetermined timing.

特開2002−18095号公報JP 2002-18095 A

しかしながら、特許文献1に記載の遊技機では、所定のタイミングで状態監視コマンドを単独で送信する処理を行っている。状態監視コマンドは、上述のように所定期間内に送信した制御コマンドのチェックサムなので、状態監視コマンドと通常の制御コマンドとは異なるデータ形式あるいはデータ量の情報である。したがって、特許文献1に記載の遊技機では、不正行為を働こうとする者(以下、「不正者」という)は状態監視コマンドの送信タイミングを容易に知ることができ、不正行為検出のための検査タイミングを容易に知ることができる。そして、状態監視コマンドの送信タイミングを知ることができる不正者が、状態監視コマンドを窃取して内容を解析するおそれがあった。   However, in the gaming machine described in Patent Document 1, a process of independently transmitting a state monitoring command at a predetermined timing is performed. Since the status monitoring command is a checksum of the control command transmitted within the predetermined period as described above, the status monitoring command and the normal control command have information of different data formats or data amounts. Therefore, in the gaming machine described in Patent Document 1, a person who intends to engage in fraud (hereinafter referred to as “illegal person”) can easily know the transmission timing of the state monitoring command, and can detect fraud. The inspection timing can be easily known. An unauthorized person who can know the transmission timing of the status monitoring command may steal the status monitoring command and analyze the contents.

また、特許文献1に記載の遊技機では、制御コマンドにそのチェックサムを付加して送信している。制御コマンドにそのチェックサムを付加して送信することにより、通信エラーチェックを行うことは一般的に行われることである。しかしながら、所定期間内に送信した制御コマンドのチェックサムを状態監視コマンドとしている特許文献1に記載の遊技機では、制御コマンドにそのチェックサムを付加していることにより、不正者が制御コマンドを窃取することで状態監視コマンドの内容を解析容易にしている。具体的には、不正者が、状態監視コマンドの送信タイミングを容易に知ることができるのは上述したとおりである。状態監視コマンドの送信タイミングを知った不正者が、所定期間内の制御コマンドとそのチェックサムを取得して比較することで、状態監視コマンドの内容を容易に解析することができるというおそれがあった。   In the gaming machine described in Patent Document 1, the checksum is added to the control command and transmitted. A communication error check is generally performed by adding the checksum to a control command and transmitting it. However, in the gaming machine described in Patent Document 1 in which a check sum of a control command transmitted within a predetermined period is used as a state monitoring command, an unauthorized person steals the control command by adding the check sum to the control command. This makes it easy to analyze the contents of the status monitoring command. Specifically, as described above, an unauthorized person can easily know the transmission timing of the state monitoring command. There is a possibility that an unauthorized person who knows the transmission timing of the status monitoring command can easily analyze the contents of the status monitoring command by acquiring and comparing the control command and its checksum within a predetermined period. .

また、特許文献1に記載の遊技機では、状態監視コマンドを送信するという、通常の処理とは異なる処理を行っている。これにより、処理が複雑となるうえ、所定期間内に送信する全てのチェックサムを記憶しておく必要があり、主制御基板の処理負荷が増大するという問題があった。遊技機においては、「風俗営業等の規制及び業務の適正化等に関する法律(風営法)」の規制により主制御基板のROMやRAMの容量に制限があり、主制御基板のリソースが限られている。一方で、遊技機メーカーには、遊技機の演出に係るプログラムに、限られた容量の多くを割り振りたいという要望がある。このため、遊技機にセキュリティに関する機能を追加することで、主制御基板の処理負荷が増大したり、プログラムのコードサイズが増大したりする問題は看過できないものとなっている。   Moreover, in the gaming machine described in Patent Document 1, a process different from the normal process of transmitting a state monitoring command is performed. As a result, the processing becomes complicated, and it is necessary to store all the checksums transmitted within a predetermined period, which increases the processing load on the main control board. In gaming machines, the ROM and RAM capacities of the main control board are limited due to the regulations of the “Customs Business Regulations and the Act on the Optimization of Business (Fusei Law)”, and the resources of the main control board are limited. . On the other hand, gaming machine manufacturers have a desire to allocate a large amount of limited capacity to programs related to the effects of gaming machines. For this reason, it is not possible to overlook the problems of increasing the processing load on the main control board and increasing the code size of the program by adding security-related functions to the gaming machine.

また、セキュリティに関する機能をハードウェアで実現しようとする場合、処理速度の低下やコードサイズの増大は抑制できても、ハードウェアの特性上、追加したセキュリティ機能の具体的な処理内容は固定化し、不正に解析され易くなるのは勿論、仮に不正に解析されると、そのセキュリティ機能を追加した遊技機は全て不正行為を防止できない。また、処理内容が固定化すると、処理内容を遊技機メーカー毎や機種毎に異ならせることができず、セキュリティ機能は多様性に乏しいものとなってしまう。一方、処理内容を遊技機メーカー毎や機種毎に異ならせたものを、都度、製造することは膨大な負担を招き現実的ではない。したがって、多様性に富んだ実効性のあるセキュリティ機能を比較的簡易に追加したいという要求に応えることができない。   In addition, when trying to implement security-related functions in hardware, even if the processing speed decrease and code size increase can be suppressed, the specific processing content of the added security function is fixed due to the characteristics of the hardware, Of course, it becomes easy to analyze fraudulently, and if it is fraudulently analyzed, all gaming machines to which the security function is added cannot prevent fraud. Further, if the processing contents are fixed, the processing contents cannot be made different for each gaming machine manufacturer or each model, and the security function is poor in diversity. On the other hand, it is impractical to produce a product whose processing contents are different for each gaming machine manufacturer or each model, resulting in a huge burden. Accordingly, it is impossible to meet the demand for adding a variety of effective security functions that are rich in diversity.

本発明は、上記事情に鑑みてなされたものであり、従来ない簡易な手段により上記不正行為を防止してセキュリティ強度を向上させることができ、かつ処理負荷やコードサイズの増大を抑制しながら汎用性の高いセキュリティ機能を備えた遊技機を提供することを目的とする。   The present invention has been made in view of the above circumstances, and can improve the security strength by preventing illegal acts by a simple means that has not been conventionally used, and can be used for general purposes while suppressing an increase in processing load and code size. An object of the present invention is to provide a gaming machine having a highly secure security function.

上記課題を解決するために本発明は、制御情報を出力する主制御部と、前記制御情報に基づく処理を行う第1副制御部と、前記第1副制御部に後続して設けられた第2副制御部とを備えた遊技機であって、前記主制御部は、所定の遊技情報及び制御プログラムを記憶する情報記憶領域を有すると共に、遊技機の起動の際にアクセス可能であって遊技機の初期設定情報を記憶する初期設定情報記憶領域を有する情報記憶部と前記情報記憶領域に記憶された前記制御プログラムに従って、遊技情報に応じた所定の演算を行って制御情報を生成し出力すると共に、制御情報を送信せしめるための送信指示を出力する演算処理部と前記演算処理部の指示に依らず独自に保持するアルゴリズムに従って、所定の過去に生成された前記制御情報に対応する誤り検査値を生成し出力する第1生成手段と、前記演算処理部の指示に依らず前記アルゴリズムに従って、前記送信指示に対応する前記制御情報に前記第1生成手段で生成した前記誤り検査値を付加する付加手段とを内部に有し、該誤り検査値が付加された該制御情報を、前記第1副制御部を介して前記第2副制御部へ送信する情報送信部と、を含み、前記第2副制御部は、前記所定の過去に生成された制御情報に対応する検証用の誤り検査値を生成する第2生成部と、前記第1副制御部を介して送信された前記誤り検査値と、前記検証用の誤り検査値とを比較し、前記第1副制御部を介して送信された前記制御情報の正当性を認証する検査を行うと共に、前記検査の結果情報を生成する情報検査部と、前記結果情報を前記第1副制御部へ送信する送信部と、を含み、前記第1副制御部は、前記情報送信部にて送信された前記制御情報に基づいた所定の処理を行うと共に、前記送信部にて送信された前記結果情報に応じた処理を行う情報処理部と、を含み、前記第1生成手段は、誤り検査値を生成する互いに異なる複数の生成回路を有し、前記初期設定情報は、前記複数の生成回路のそれぞれに対応した選択情報を含み、前記演算処理部は、前記遊技機の起動の際に、前記選択情報のうちの特定の選択情報を前記第1生成手段へ設定し、前記第1生成手段は、設定された前記特定の選択情報に対応する特定の生成回路によって、前記誤り検査値を生成することを特徴とする。
In order to solve the above problems, the present invention provides a main control unit that outputs control information, a first sub control unit that performs processing based on the control information, and a first sub control unit that is provided subsequent to the first sub control unit. a game machine and a second sub-control unit, the main control unit, which has a information storage area you storing predetermined game information and a control program, be accessible upon activation of the gaming machine In accordance with the information storage unit having an initial setting information storage area for storing the initial setting information of the gaming machine and the control program stored in the information storage area, the control information is generated by performing a predetermined calculation according to the gaming information as well as output, an arithmetic processing unit for outputting a transmission instruction for allowing transmitting the control information, in accordance with an algorithm uniquely held regardless of the instruction of the arithmetic processing unit, the control information generated in a predetermined past versus A first generating means for generating and outputting an error check value for the calculation according to a processing unit wherein the algorithm regardless of the instruction of the transmission instruction generated by said first generating means to said control information corresponding to the error check value And an information transmitting unit for transmitting the control information to which the error check value is added to the second sub-control unit via the first sub-control unit. The second sub control unit is transmitted via the first sub control unit and a second generation unit that generates a verification error check value corresponding to the control information generated in the past. The error check value is compared with the verification error check value, and a test for authenticating the validity of the control information transmitted via the first sub-control unit is performed, and the result information of the check is An information inspection unit to generate and the result information to the first sub-control Look including a transmission section that transmits to the first sub-control unit performs predetermined processing based on the control information transmitted in the information transmitting unit, which is transmitted by the transmitting portion and the result processing unit which performs a process according to information, only contains the first generation means has a plurality of generator circuits different from each other to generate an error check value, the initial setting information, generates the plurality Selection information corresponding to each of the circuits , and when the gaming machine is activated, the arithmetic processing unit sets specific selection information of the selection information in the first generation unit, and the first generation unit The means is characterized in that the error check value is generated by a specific generation circuit corresponding to the specific selection information that has been set.

本発明によれば、セキュリティ機能として主制御部に対する認証機能を追加すべく、主制御部に備える誤り検査値生成機能をハードウェアで構成し、当該生成機能を複数種類備えるとともに、当該機能の種類の選択を、遊技中に関知できないブート処理での初期値設定時に行っている。また、当該機能を実現するため誤り検査値を生成する送信部は、送信する制御コマンドに対して、当該制御コマンドより過去に生成された制御コマンドから生成した誤り検査値を付加し、誤り検査値付きの制御コマンドを送信する。また、送信部は誤り検査値の生成および付加処理を、メインCPUからの指示によらず自動的に行い、演出制御部を介して後段制御部へ送信している。
このような従来にない簡易な方法を適用することにより、制御コマンドとそれに付加された誤り検査値の関係を不正者が解析することを困難にし、簡易な方法で遊技機のセキュリティ強度を向上することができる。また、セキュリティ機能の追加に伴って増大する主制御部のCPUの処理負荷やコードサイズを最大限抑制することができるとともに、多様性に富んだ実効性のあるセキュリティ機能を比較的簡易に追加することができ、汎用性の高いセキュリティ機能を提供することができる。
According to the present invention, in order to add an authentication function for the main control unit as a security function, the error check value generation function provided in the main control unit is configured by hardware, and includes a plurality of types of the generation functions. Is selected when setting an initial value in a boot process that cannot be known during a game. Further, the transmission unit that generates the error check value to realize the function adds the error check value generated from the control command generated in the past from the control command to the control command to be transmitted, and the error check value Send control commands with Further, the transmission unit automatically performs error check value generation and addition processing regardless of an instruction from the main CPU, and transmits the error check value to the subsequent control unit via the effect control unit.
By applying such an unprecedented simple method, it becomes difficult for an unauthorized person to analyze the relationship between the control command and the error check value added thereto, and the security strength of the gaming machine is improved by a simple method. be able to. Moreover, the CPU processing load and code size of the main control unit, which increase with the addition of security functions, can be suppressed to the maximum, and a variety of effective security functions can be added relatively easily. And a highly versatile security function can be provided.

本発明の実施形態に係る遊技機の外観構成を示す正面図である。It is a front view which shows the external appearance structure of the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機のガラス枠を開放させた状態の外観構成を示す斜視図である。It is a perspective view which shows the external appearance structure of the state which open | released the glass frame of the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機の裏面側の外観構成を示す斜視図である。It is a perspective view which shows the external appearance structure of the back surface side of the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する主制御部の認証処理に関する構成を示すブロック図である。It is a block diagram which shows the structure regarding the authentication process of the main control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する主制御部を構成するメインROMおよびブートROMのメモリマップを説明するための概略図である。It is the schematic for demonstrating the memory map of the main ROM and boot ROM which comprise the main control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する主制御部が出力する制御コマンドへの誤り検査値の付加方法を説明するための概略図である。It is the schematic for demonstrating the addition method of the error check value to the control command which the main control part which comprises the game machine which concerns on embodiment of this invention outputs. 本発明の実施形態に係る遊技機を構成する後段制御部の認証処理に関する構成を示すブロック図である。It is a block diagram which shows the structure regarding the authentication process of the back | latter stage control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する主制御部から演出制御部へ送信される制御コマンドの種別を示す図である。It is a figure which shows the classification of the control command transmitted to the production | presentation control part from the main control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する主制御部によるメイン処理におけるフローチャートを示す図である。It is a figure which shows the flowchart in the main process by the main control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する主制御部による割込処理におけるフローチャートを示す図である。It is a figure which shows the flowchart in the interruption process by the main control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する主制御部による特図特電制御処理におけるフローチャートを示す図である。It is a figure which shows the flowchart in the special figure special electricity control process by the main control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する主制御部による特別図柄記憶判定処理におけるフローチャートを示す図である。It is a figure which shows the flowchart in the special symbol memory | storage determination process by the main control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する主制御部による起動時のブート処理におけるフローチャートを示す図である。It is a figure which shows the flowchart in the boot process at the time of starting by the main control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する主制御部によるコマンド送信処理におけるフローチャートを示す図である。It is a figure which shows the flowchart in the command transmission process by the main control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する演出制御部によるメイン処理におけるフローチャートを示す図である。It is a figure which shows the flowchart in the main process by the production | presentation control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する演出制御部による割込処理におけるフローチャートを示す図である。It is a figure which shows the flowchart in the interruption process by the production | presentation control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する演出制御部によるコマンド解析処理1におけるフローチャートを示す図である。It is a figure which shows the flowchart in the command analysis process 1 by the presentation control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する演出制御部によるコマンド解析処理2におけるフローチャートを示す図である。It is a figure which shows the flowchart in the command analysis process 2 by the production | presentation control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する演出制御部による認証結果データ解析処理におけるフローチャートを示す図である。It is a figure which shows the flowchart in the authentication result data analysis process by the presentation control part which comprises the game machine which concerns on embodiment of this invention. 本発明の実施形態に係る遊技機を構成する後段制御部によるメイン処理におけるフローチャートを示す図である。It is a figure which shows the flowchart in the main process by the back | latter stage control part which comprises the game machine which concerns on embodiment of this invention.

以下、本発明を実施するための形態について、図面を参照しながら説明する。具体的には、本発明の実施形態に係る遊技機の1つであるパチンコ遊技機1(以下、「遊技機1」という)について説明する。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. Specifically, a pachinko gaming machine 1 (hereinafter referred to as “gaming machine 1”), which is one of the gaming machines according to the embodiment of the present invention, will be described.

[遊技機の構成]
以下に、本発明の実施形態に係る遊技機1の構成について説明する。
図1は、本実施形態に係る遊技機1の外観構成を示す正面図である。図2は、本実施形態に係る遊技機1のガラス枠を開放させた状態の外観構成を示す斜視図である。図3は、本実施形態に係る遊技機1の裏面側の外観構成を示す斜視図である。
[Composition of gaming machine]
The configuration of the gaming machine 1 according to the embodiment of the present invention will be described below.
FIG. 1 is a front view showing an external configuration of the gaming machine 1 according to the present embodiment. FIG. 2 is a perspective view showing an external configuration of the gaming machine 1 according to the present embodiment in a state where the glass frame is opened. FIG. 3 is a perspective view showing an external configuration of the back side of the gaming machine 1 according to the present embodiment.

遊技機1は、遊技店の島設備に取り付けられる外枠60と、その外枠60と回動可能に支持されたガラス枠50とが備えられている(図1、図2参照)。また、外枠60には、遊技球200が流下する遊技領域6が形成された遊技盤2が設けられている。ガラス枠50には、回動操作されることにより遊技領域6に向けて遊技球を発射させる操作ハンドル3と、スピーカからなる音声出力装置32と、複数のランプを有する演出用照明装置34と、押圧操作により演出態様を変更させるための演出ボタン35とが設けられている。   The gaming machine 1 includes an outer frame 60 attached to an island facility of a game store, and a glass frame 50 that is rotatably supported by the outer frame 60 (see FIGS. 1 and 2). In addition, the outer frame 60 is provided with a game board 2 in which a game area 6 in which the game ball 200 flows down is formed. In the glass frame 50, an operation handle 3 for launching a game ball toward the game area 6 by being rotated, an audio output device 32 including a speaker, an effect lighting device 34 having a plurality of lamps, An effect button 35 for changing the effect mode by a pressing operation is provided.

さらに、ガラス枠50には、複数の遊技球200を貯留する受け皿40が設けられており、この受け皿40は、操作ハンドル3の方向側に遊技球200が流下するように下りの傾斜を有している(図2参照)。この受け皿40の下りの傾斜の端部には、遊技球を受け入れる図示しない受入口が設けられており、この受入口に受け入れられた遊技球は、玉送りソレノイド4bが駆動することにより、ガラス枠50の裏面に設けられた玉送り開口部41へ1個ずつ送り出される。そして、玉送り開口部41へ送り出された遊技球は、打出部材4cの方向に向けて下り傾斜を有している発射レール42により、発射レール42の下り傾斜の端部に誘導される。発射レール42の下り傾斜の端部の上方には、遊技球を停留させるストッパー43が設けられており、玉送り開口部41から送り出された遊技球200は、発射レール42の下り傾斜の端部で1個の遊技球が停留されることになる(図2参照)。   Further, the glass frame 50 is provided with a tray 40 for storing a plurality of game balls 200, and the tray 40 has a downward slope so that the game balls 200 flow down toward the operation handle 3. (See FIG. 2). A receiving opening (not shown) for receiving a game ball is provided at the end of the downward slope of the tray 40, and the game ball received in the receiving opening is driven by the ball feed solenoid 4b, so that the glass frame One by one is sent to a ball feed opening 41 provided on the back surface of 50. Then, the game ball sent out to the ball feed opening 41 is guided to the end of the downward slope of the launch rail 42 by the launch rail 42 having a downward slope toward the launching member 4c. A stopper 43 for stopping the game ball is provided above the downwardly inclined end portion of the launch rail 42, and the game ball 200 sent out from the ball feed opening 41 is the downwardly inclined end portion of the launch rail 42. Thus, one game ball is stopped (see FIG. 2).

そして、遊技者が操作ハンドル3を回動させると、操作ハンドル3に直結している発射ボリューム3b(図4参照)も回動し、発射ボリューム3bにより遊技球の発射強度が調整され、調整された発射強度で発射用ソレノイド4a(図4参照)に直結された打出部材4cが回転する。この打出部材4cが回転することで、打出部材4cにより発射レール42の下り傾斜の端部に貯留されている遊技球200が打ち出され、遊技球が遊技領域6に発射されることとなる。   When the player rotates the operation handle 3, the launch volume 3b (see FIG. 4) directly connected to the operation handle 3 also rotates, and the launch volume of the game ball is adjusted and adjusted by the launch volume 3b. The launching member 4c directly connected to the firing solenoid 4a (see FIG. 4) rotates with the firing strength. By rotating the launch member 4 c, the game ball 200 stored at the end of the downward slope of the launch rail 42 is launched by the launch member 4 c, and the game ball is launched into the game area 6.

上記のようにして発射された遊技球は、発射レール42からレール5a、5b間を上昇して玉戻り防止片5cを超えると、遊技領域6に到達し、その後遊技領域6内を落下する。このとき、遊技領域6に設けられた複数の釘や風車によって、遊技球は予測不能に落下することとなる。   When the game ball fired as described above rises between the rails 5a and 5b from the launch rail 42 and exceeds the ball return prevention piece 5c, the game ball reaches the game area 6 and then falls in the game area 6. At this time, the game ball falls unpredictably by a plurality of nails and windmills provided in the game area 6.

また、上記遊技領域6には、複数の一般入賞口12が設けられている。これら各一般入賞口12には、一般入賞口検出スイッチ12a(図4参照)が設けられており、この一般入賞口検出スイッチ12aが遊技球の入賞を検出すると、所定の賞球(例えば10個の遊技球)が払い出される。   The game area 6 is provided with a plurality of general winning awards 12. Each of these general winning awards 12 is provided with a general winning opening detecting switch 12a (see FIG. 4). When this general winning opening detecting switch 12a detects the winning of a game ball, a predetermined winning ball (for example, 10) Game balls).

また、上記遊技領域6の中央下側の領域には、遊技球が入球可能な始動領域を構成する第1始動口14および第2始動口15と、遊技球が入球可能な第2大入賞口17とが設けられている。   Further, in the area below the center of the game area 6, there are a first start port 14 and a second start port 15 that constitute a start area into which game balls can enter, and a second large area in which game balls can enter. A winning opening 17 is provided.

この第2始動口15は、一対の可動片15bを有しており、これら一対の可動片15bが閉状態に維持される態様(以下、「第1の態様」という)と、一対の可動片15bが開状態となる態様(以下、「第2の態様」という)とに可動制御される。なお、第2始動口15が上記第1の態様に制御されているときには、当該第2始動口15の真上に位置する第2大入賞口17の入賞部材が障害物となって、遊技球の受入れを不可能としている。一方で、第2始動口15が上記第2の態様に制御されているときには、上記一対の可動片15bが受け皿として機能し、第2始動口15への遊技球の入賞が容易となる。つまり、第2始動口15は、第1の態様にあるときには遊技球の入賞機会がなく、第2の態様にあるときには遊技球の入賞機会が増すこととなる。   The second starting port 15 has a pair of movable pieces 15b, a mode in which the pair of movable pieces 15b is maintained in a closed state (hereinafter referred to as “first mode”), and a pair of movable pieces. The movement control is performed so that 15b is in an open state (hereinafter referred to as “second aspect”). When the second starting port 15 is controlled in the first mode, the winning member of the second large winning port 17 located immediately above the second starting port 15 becomes an obstacle, and the game ball Is impossible to accept. On the other hand, when the second start port 15 is controlled to the second mode, the pair of movable pieces 15b function as a tray, and it is easy to win a game ball to the second start port 15. That is, when the second start port 15 is in the first mode, there is no game ball winning opportunity, and when it is in the second mode, the game ball winning opportunity is increased.

ここで、第1始動口14には遊技球の入球を検出する第1始動口検出スイッチ14a(図4参照)が設けられ、第2始動口15には遊技球の入球を検出する第2始動口検出スイッチ15a(図4参照)が設けられている。そして、第1始動口検出スイッチ14aまたは第2始動口検出スイッチ15aが遊技球の入球を検出すると、特別図柄判定用乱数値等を取得し、後述する大当たり遊技を実行する権利獲得の抽選(以下、「大当たりの抽選」という)が行われる。また、第1始動口検出スイッチ14aまたは第2始動口検出スイッチ15aが遊技球の入球を検出した場合にも、所定の賞球(例えば3個の遊技球)が払い出される。   Here, the first start port 14 is provided with a first start port detection switch 14a (see FIG. 4) for detecting the entrance of a game ball, and the second start port 15 is a first for detecting the entrance of a game ball. 2 A start port detection switch 15a (see FIG. 4) is provided. When the first start port detection switch 14a or the second start port detection switch 15a detects the entry of a game ball, a special symbol determination random number value is acquired, and a right acquisition lottery (to be described later) Hereinafter, “Lottery for jackpot” is performed. Also, when the first start port detection switch 14a or the second start port detection switch 15a detects the entry of a game ball, a predetermined prize ball (for example, three game balls) is paid out.

また、第2大入賞口17は、遊技盤2に形成された開口部から構成されている。この第2大入賞口17の下部には、遊技盤面側からガラス板52側に突出可能な第2大入賞口開閉扉17bを有しており、この第2大入賞口開閉扉17bが遊技盤面側に突出する開放状態と、遊技盤面に埋没する閉鎖状態とに可動制御される。そして、第2大入賞口開閉扉17bが遊技盤面に突出していると、遊技球を第2大入賞口17内に導く受け皿として機能し、遊技球が第2大入賞口17に入球可能となる。この第2大入賞口17には第2大入賞口検出スイッチ17a(図4参照)が設けられており、この第2大入賞口検出スイッチ17aが遊技球の入球を検出すると、予め設定された賞球(例えば15個の遊技球)が払い出される。   In addition, the second grand prize winning port 17 is configured by an opening formed in the game board 2. Below the second grand prize opening 17, there is a second big prize opening / closing door 17b that can protrude from the game board surface side to the glass plate 52 side. It is controlled to move between an open state protruding to the side and a closed state buried in the game board surface. When the second grand prize opening opening / closing door 17b protrudes from the game board surface, it functions as a tray for guiding the game ball into the second big prize opening 17, and the game ball can enter the second big prize opening 17. Become. The second big prize opening 17 is provided with a second big prize opening detection switch 17a (see FIG. 4). When the second big prize opening detection switch 17a detects the entry of a game ball, it is set in advance. Award balls (for example, 15 game balls) are paid out.

さらに、上記遊技領域6の右側の領域には、遊技球が通過可能な普通領域を構成する普通図柄ゲート13と、遊技球が入球可能な第1大入賞口16とが設けられている。
このため、操作ハンドル3を大きく回動させ、強い力で打ち出された遊技球でないと、普通図柄ゲート13と第1大入賞口16とには遊技球が、通過または入賞しないように構成されている。
Furthermore, in the area on the right side of the game area 6, there are provided a normal symbol gate 13 constituting a normal area through which game balls can pass and a first grand prize opening 16 through which game balls can enter.
For this reason, if the operation ball 3 is not a game ball which has been greatly rotated and launched with a strong force, the normal design gate 13 and the first big winning opening 16 are configured so that the game ball does not pass or win. Yes.

この普通図柄ゲート13には、遊技球の通過を検出するゲート検出スイッチ13a(図4参照)が設けられており、このゲート検出スイッチ13aが遊技球の通過を検出すると、普通図柄判定用乱数値を取得し、後述する「普通図柄の抽選」が行われる。   The normal symbol gate 13 is provided with a gate detection switch 13a (see FIG. 4) for detecting the passage of the game ball. When the gate detection switch 13a detects the passage of the game ball, the normal symbol determination random number value. Is acquired, and a “normal symbol lottery” to be described later is performed.

第1大入賞口16は、通常は第1大入賞口開閉扉16bによって閉状態に維持されており、遊技球の入球を不可能としている。これに対して、後述する特別遊技が開始されると、第1大入賞口開閉扉16bが開放されるとともに、この第1大入賞口開閉扉16bが遊技球を第1大入賞口16内に導く受け皿として機能し、遊技球が第1大入賞口16に入球可能となる。第1大入賞口16には第1大入賞口検出スイッチ16a(図4参照)が設けられており、この第1大入賞口検出スイッチ16aが遊技球の入球を検出すると、予め設定された賞球(例えば15個の遊技球)が払い出される。   The first grand prize opening 16 is normally kept closed by the first big prize opening opening / closing door 16b, and it is impossible to enter a game ball. In contrast, when a special game, which will be described later, is started, the first grand prize opening opening / closing door 16b is opened, and the first big prize opening opening / closing door 16b puts the game ball in the first big winning opening 16; It functions as a receiving tray that guides the game ball and can enter the first grand prize opening 16. The first big prize opening 16 is provided with a first big prize opening detection switch 16a (see FIG. 4). When the first big prize opening detection switch 16a detects the entry of a game ball, it is set in advance. Prize balls (for example, 15 game balls) are paid out.

さらには、遊技領域6の最下部であって遊技領域6の最下部の領域には、一般入賞口12、第1始動口14、第2始動口15、第1大入賞口16および第2大入賞口17のいずれにも入球しなかった遊技球を排出するためのアウト口11が設けられている。   Further, in the lowermost area of the game area 6 and the lowermost area of the game area 6, the general winning opening 12, the first starting opening 14, the second starting opening 15, the first major winning opening 16, and the second large winning opening. An out port 11 is provided for discharging game balls that have not entered any of the winning ports 17.

また、遊技領域6の中央には、遊技球の流下に影響を与える飾り部材7が設けられている。この飾り部材7の略中央部分には、液晶表示装置31が設けられており、この液晶表示装置31の上方には、ベルトの形をした演出用駆動装置33が設けられている。
なお、本実施形態においては、液晶表示装置31を液晶表示器として用いているが、有機ELディスプレイを用いてもよいし、プロジェクター、円環状の構造物からなるリール、いわゆる7セグメントLED、ドットマトリクス等の表示装置等を用いてもよい。
In addition, a decoration member 7 that affects the flow of the game ball is provided in the center of the game area 6. A liquid crystal display device 31 is provided at a substantially central portion of the decorative member 7, and an effect driving device 33 in the form of a belt is provided above the liquid crystal display device 31.
In this embodiment, the liquid crystal display device 31 is used as a liquid crystal display. However, an organic EL display may be used, a projector, a reel made of an annular structure, a so-called 7-segment LED, a dot matrix. A display device or the like may be used.

この液晶表示装置31は、遊技が行われていない待機中に画像を表示したり、遊技の進行に応じた画像を表示したりする。なかでも、後述する大当りの抽選結果を報知するための3個の演出図柄36が表示され、特定の演出図柄36の組合せ(例えば、777等)が停止表示されることにより、大当りの抽選結果として大当りが報知される。
より具体的には、第1始動口14または第2始動口15に遊技球が入球したときには、3個の演出図柄36をそれぞれスクロール表示するとともに、所定時間経過後に当該スクロールを停止させて、演出図柄36を停止表示するものである。また、この演出図柄36の変動表示中に、さまざまな画像やキャラクタ等を表示することによって、大当たりに当選するかもしれないという高い期待感を遊技者に与えるようにもしている。
The liquid crystal display device 31 displays an image during standby when no game is being performed, or displays an image according to the progress of the game. Among them, three effect symbols 36 for informing the jackpot lottery result, which will be described later, are displayed, and a combination of specific effect symbols 36 (for example, 777) is stopped and displayed as a jackpot lottery result. A big hit is announced.
More specifically, when a game ball enters the first start port 14 or the second start port 15, the three effect symbols 36 are scroll-displayed, and the scroll is stopped after a predetermined time, The effect design 36 is stopped and displayed. Further, by displaying various images, characters, and the like during the variation display of the effect symbol 36, a high expectation that the player may win a big hit is given to the player.

上記演出用駆動装置33は、その動作態様によって遊技者に期待感を与えるものである。演出用駆動装置33は、例えば、ベルトが下方に移動したり、ベルト中央部の回転部材が回転したりする動作を行う。これら演出用駆動装置33の動作態様によって、遊技者にさまざまな期待感を与えるようにしている。   The effect driving device 33 gives a player a sense of expectation according to the operation mode. The effect driving device 33 performs, for example, an operation in which the belt moves downward or a rotating member at the center of the belt rotates. Various operational feelings are given to the player depending on the operation mode of the effect driving device 33.

さらに、上記の各種の演出装置に加えて、音声出力装置32は、バックグラウンドミュージック、サウンドエフェクト等を出力し、サウンドによる演出を行い、演出用照明装置34は、各ランプの光の照射方向や発光色を変更して、照明による演出を行うようにしている。   Furthermore, in addition to the above-described various production devices, the audio output device 32 outputs background music, sound effects, and the like, and produces productions using sound. The production lighting device 34 uses the light irradiation direction of each lamp, The luminescent color is changed to produce lighting.

また、演出ボタン35は、例えば、上記液晶表示装置31に当該演出ボタン35を操作するようなメッセージが表示されたときのみ有効となる。演出ボタン35には、演出ボタン検出スイッチ35a(図4参照)が設けられており、この演出ボタン検出スイッチ35aが遊技者の操作を検出すると、この操作に応じてさらなる演出が実行される。   The effect button 35 is effective only when, for example, a message for operating the effect button 35 is displayed on the liquid crystal display device 31. The effect button 35 is provided with an effect button detection switch 35a (see FIG. 4). When the effect button detection switch 35a detects the player's operation, a further effect is executed in accordance with this operation.

遊技領域6の右下方には、第1特別図柄表示装置20、第2特別図柄表示装置21、普通図柄表示装置22、第1特別図柄保留表示器23、第2特別図柄保留表示器24、普通図柄保留表示器25が設けられている。   In the lower right of the game area 6, a first special symbol display device 20, a second special symbol display device 21, a normal symbol display device 22, a first special symbol hold indicator 23, a second special symbol hold indicator 24, a normal A symbol hold indicator 25 is provided.

上記第1特別図柄表示装置20は、第1始動口14に遊技球が入球したことを契機として行われた大当たりの抽選結果を報知するものであり、7セグメントのLEDで構成されている。つまり、大当たりの抽選結果に対応する特別図柄が複数設けられており、この第1特別図柄表示装置20に大当たりの抽選結果に対応する特別図柄を表示することによって、抽選結果を遊技者に報知するようにしている。例えば、大当たりに当選した場合には「7」が表示され、ハズレであった場合には「−」が表示される。このようにして表示される「7」や「−」が特別図柄となるが、この特別図柄はすぐに表示されるわけではなく、所定時間変動表示された後に、停止表示されるようにしている。   The first special symbol display device 20 is for notifying a lottery result obtained when a game ball enters the first start port 14, and is composed of 7-segment LEDs. That is, a plurality of special symbols corresponding to the jackpot lottery result are provided, and the lottery result is notified to the player by displaying the special symbol corresponding to the jackpot lottery result on the first special symbol display device 20. I am doing so. For example, “7” is displayed when the jackpot is won, and “−” is displayed when the player wins. “7” and “−” displayed in this way are special symbols, but these special symbols are not displayed immediately, but are displayed in a stopped state after being displayed for a predetermined time. .

ここで、「大当たりの抽選」とは、第1始動口14または第2始動口15に遊技球が入球したときに、特別図柄判定用乱数値を取得し、取得した特別図柄判定用乱数値が「大当たり」に対応する乱数値であるか、「小当たり」に対応する乱数値であるかの判定する処理をいう。この大当たりの抽選結果は即座に遊技者に報知されるわけではなく、第1特別図柄表示装置20において特別図柄が点滅等の変動表示を行い、所定の変動時間を経過したところで、大当たりの抽選結果に対応する特別図柄が停止表示して、遊技者に抽選結果が報知されるようにしている。なお、第2特別図柄表示装置21は、第2始動口15に遊技球が入球したことを契機として行われた大当たりの抽選結果を報知するためのもので、その表示態様は、上記第1特別図柄表示装置20における特別図柄の表示態様と同一である。   Here, the “successful lottery” means that when a game ball enters the first starting port 14 or the second starting port 15, a special symbol determining random number value is acquired, and the acquired special symbol determining random value is acquired. Is a random number value corresponding to “big hit” or a random number value corresponding to “small hit”. The jackpot lottery result is not immediately notified to the player, and the first special symbol display device 20 displays a variation such as blinking of the special symbol, and when the predetermined variation time has passed, the jackpot lottery result The special symbol corresponding to is stopped and displayed so that the player is notified of the lottery result. The second special symbol display device 21 is for notifying a lottery result of a jackpot that is performed when a game ball enters the second start port 15, and the display mode is the above-described first display mode. This is the same as the special symbol display mode in the special symbol display device 20.

また、本実施形態において「大当たり」というのは、第1始動口14または第2始動口15に遊技球が入球したことを条件として行われる大当たりの抽選において、大当たり遊技を実行する権利を獲得したことをいう。「大当たり遊技」においては、第1大入賞口16または第2大入賞口17が開放されるラウンド遊技を計15回行う。各ラウンド遊技における第1大入賞口16または第2大入賞口17の最大開放時間については予め定められた時間が設定されており、この間に第1大入賞口16または第2大入賞口17に所定個数の遊技球(例えば9個)が入球すると、1回のラウンド遊技が終了となる。つまり、「大当たり遊技」は、第1大入賞口16または第2大入賞口17に遊技球が入球するとともに、当該入球に応じた賞球を遊技者が獲得できる遊技である。   Further, in this embodiment, “big hit” means that a right to win a big hit game is obtained in a big win lottery performed on condition that a game ball has entered the first start port 14 or the second start port 15 Say what you did. In the “hit game”, a round game in which the first big prize opening 16 or the second big prize opening 17 is opened is performed 15 times in total. A predetermined time is set for the maximum opening time of the first grand prize port 16 or the second grand prize port 17 in each round game, and during this time, the first grand prize port 16 or the second grand prize port 17 is set. When a predetermined number of game balls (for example, nine) enter, one round game is completed. In other words, the “big hit game” is a game in which a game ball can enter the first grand prize winning opening 16 or the second big winning prize opening 17 and the player can acquire a winning ball according to the winning prize.

本実施形態では、「大当たりの抽選」においては、その当選確率により2つの遊技状態が設定されている。すなわち、当選確率が1/299.5に設定された「低確率遊技状態」と、当選確率が1/29.95に設定された「高確率遊技状態」である。また、「大当たり遊技」においても、複数種類の大当たり遊技が設定されている。例えば、「長当たり遊技」となれば、第1大入賞口16が、1ラウンド遊技ごとに、29.000秒間×1回開放(×15ラウンド)される。「短当たり遊技」となれば、第2大入賞口17が、1ラウンド遊技ごとに、0.052秒間×1回(×15ラウンド)開放される。「発展当たり遊技」となれば、第2大入賞口17が、最初の1ラウンド遊技では0.052秒間×3回開放され、2ラウンド目以降は、1ラウンド遊技ごとに29.000秒間×1回(×14ラウンド)開放される。
また、「小当たり」の場合は、当選確率が1/149.75の1つの遊技状態が設定されている。また、「小当たり遊技」となれば、ラウンド遊技ではないものの、第2大入賞口17が0.052秒間×15回開放される。なお、本実施形態では、「大当たり遊技」と「小当たり遊技」とを総称して「特別遊技」という。
In this embodiment, in the “hit lottery”, two gaming states are set according to the winning probability. That is, the “low probability gaming state” in which the winning probability is set to 1 / 299.5 and the “high probability gaming state” in which the winning probability is set to 1 / 29.95. Also, in the “jackpot game”, a plurality of types of jackpot games are set. For example, in the case of “game per long”, the first grand prize opening 16 is released once (× 15 rounds) for 29.000 seconds for each round game. If it is “short win game”, the second big prize opening 17 is opened for 0.052 seconds × 1 time (× 15 rounds) for each round game. In the case of “game per development”, the second grand prize opening 17 is opened for 0.052 seconds × 3 times in the first round game, and after the second round, 29.000 seconds × 1 for each round game. Times (× 14 rounds).
In the case of “small hit”, one gaming state with a winning probability of 1 / 149.75 is set. In addition, if it is a “small hit game”, although it is not a round game, the second big prize opening 17 is opened for 0.052 seconds × 15 times. In the present embodiment, “big hit game” and “small hit game” are collectively referred to as “special game”.

また、普通図柄表示装置22は、普通図柄ゲート13を遊技球が通過したことを契機として行われる普通図柄の抽選結果を報知するためのものである。詳しくは後述するが、この普通図柄の抽選によって当たりに当選すると普通図柄表示装置22が点灯し、その後、上記第2始動口15が所定時間、第2の態様に制御される。   The normal symbol display device 22 is for notifying the lottery result of the normal symbol that is performed when the game ball passes through the normal symbol gate 13. As will be described in detail later, when the winning symbol is won by the normal symbol lottery, the normal symbol display device 22 is turned on, and then the second start port 15 is controlled to the second mode for a predetermined time.

ここで、「普通図柄の抽選」とは、普通図柄ゲート13に遊技球が通過したときに、普通図柄判定用乱数値を取得し、取得した普通図柄判定用乱数値が「当たり」に対応する乱数値であるかどうかを判定する処理をいう。この普通図柄の抽選結果についても、普通図柄ゲート13を遊技球が通過して即座に抽選結果が報知されるわけではなく、普通図柄表示装置22において普通図柄が点滅等の変動表示を行い、所定の変動時間を経過したところで、普通図柄の抽選結果に対応する普通図柄が停止表示して、遊技者に抽選結果が報知されるようにしている。   Here, “normal symbol lottery” means that when a game ball passes through the normal symbol gate 13, the normal symbol determination random number value is acquired, and the acquired normal symbol determination random value corresponds to “winning”. A process for determining whether or not the value is a random value. The lottery result of the normal symbol is not always notified immediately after the game ball passes through the normal symbol gate 13, but the normal symbol display device 22 displays a variation such as blinking of the normal symbol. When the fluctuation time elapses, the normal symbol corresponding to the lottery result of the normal symbol is stopped and displayed so that the player is notified of the lottery result.

さらに、特別図柄の変動表示中や後述する特別遊技中等、第1始動口14または第2始動口15に遊技球が入球して、即座に大当たりの抽選が行えない場合には、一定の条件のもとで、大当たりの抽選の権利が保留される。より詳細には、第1始動口14に遊技球が入球したときに取得された特別図柄判定用乱数値を第1保留として記憶し、第2始動口15に遊技球が入球したときに取得された特別図柄判定用乱数値を第2保留として記憶する。
これら両保留は、それぞれ上限保留個数を4個に設定し、その保留個数は、それぞれ第1特別図柄保留表示器23と第2特別図柄保留表示器24とに表示される。なお、第1保留が1つの場合には、第1特別図柄保留表示器23の左側のLEDが点灯し、第1保留が2つの場合には、第1特別図柄保留表示器23の2つのLEDが点灯する。また、第1保留が3つの場合には、第1特別図柄保留表示器23の左側のLEDが点滅するとともに右側のLEDが点灯し、第1保留が4つの場合には、第1特別図柄保留表示器23の2つのLEDが点滅する。また、第2特別図柄保留表示器24においても、上記と同様に第2保留の保留個数が表示される。
そして、普通図柄の上限保留個数も4個に設定されており、その保留個数が、上記第1特別図柄保留表示器23および第2特別図柄保留表示器24と同様の態様によって、普通図柄保留表示器25において表示される。
Furthermore, if a game ball enters the first start port 14 or the second start port 15 during special symbol fluctuation display or a special game to be described later, and if a big win lottery cannot be performed immediately, a certain condition The right to win a jackpot will be withheld. More specifically, the random number value for special symbol determination acquired when the game ball enters the first start port 14 is stored as the first hold, and when the game ball enters the second start port 15 The acquired special symbol determination random number value is stored as the second hold.
For both of these holds, the upper limit hold number is set to 4, and the hold number is displayed on the first special symbol hold indicator 23 and the second special symbol hold indicator 24, respectively. When there is one first hold, the LED on the left side of the first special symbol hold indicator 23 lights up, and when there are two first holds, two LEDs on the first special symbol hold indicator 23 Lights up. In addition, when there are three first holds, the LED on the left side of the first special symbol hold indicator 23 blinks and the right LED is lit, and when there are four first holds, the first special symbol hold. Two LEDs on the display 23 blink. The second special symbol hold indicator 24 also displays the number of second hold on hold in the same manner as described above.
The upper limit reserved number of normal symbols is also set to four, and the reserved number of normal symbols is displayed in the same manner as the first special symbol hold indicator 23 and the second special symbol hold indicator 24. Displayed on the instrument 25.

ガラス枠50は、遊技盤2の前方(遊技者側)において遊技領域6を視認可能に覆うガラス板52を支持している。なお、ガラス板52は、ガラス枠50に対して着脱可能に固定されている。   The glass frame 50 supports a glass plate 52 that covers the game area 6 in a visible manner in front of the game board 2 (player side). The glass plate 52 is detachably fixed to the glass frame 50.

また、ガラス枠50は、左右方向の一端側(たとえば遊技機1に正対して左側)においてヒンジ機構部51を介して外枠60に連結されており、ヒンジ機構部51を支点として左右方向の他端側(たとえば遊技機1に正対して右側)を外枠60から開放させる方向に回動可能とされている。ガラス枠50は、ガラス板52とともに遊技盤2を覆い、ヒンジ機構部51を支点として扉のように回動することによって、遊技盤2を含む外枠60の内側部分を開放することができる。ガラス枠50の他端側には、ガラス枠50の他端側を外枠60に固定するロック機構が設けられている。ロック機構による固定は、専用の鍵によって解除することが可能とされている。また、ガラス枠50には、ガラス枠50が外枠60から開放されているか否かを検出する扉開放スイッチ133(図4参照)も設けられている。   The glass frame 50 is connected to the outer frame 60 via the hinge mechanism 51 on one end side in the left-right direction (for example, the left side facing the gaming machine 1). The other end side (for example, the right side facing the gaming machine 1) can be rotated in a direction to release from the outer frame 60. The glass frame 50 covers the game board 2 together with the glass plate 52, and can be opened like a door with the hinge mechanism 51 as a fulcrum to open the inner part of the outer frame 60 including the game board 2. On the other end side of the glass frame 50, a lock mechanism for fixing the other end side of the glass frame 50 to the outer frame 60 is provided. The fixing by the lock mechanism can be released by a dedicated key. The glass frame 50 is also provided with a door opening switch 133 (see FIG. 4) for detecting whether or not the glass frame 50 is opened from the outer frame 60.

遊技機1の裏面には、主制御部110が搭載された主制御基板、演出制御部120が搭載された演出制御基板、後段制御部180が搭載された後段制御基板、払出制御部130が搭載された払出制御基板、電源部170が搭載された電源基板、遊技情報出力端子板30などが設けられている。また、電源部170に遊技機1に電力を給電するための電源プラグ171や、図示しない電源スイッチが設けられている。   On the back surface of the gaming machine 1, a main control board on which the main control unit 110 is mounted, an effect control board on which the effect control unit 120 is mounted, a rear control board on which the rear control unit 180 is mounted, and a payout control unit 130 The payout control board, the power board on which the power supply unit 170 is mounted, the game information output terminal board 30 and the like are provided. Further, the power supply unit 170 is provided with a power plug 171 for supplying power to the gaming machine 1 and a power switch (not shown).

[遊技機の内部構成]
以下、本発明の実施形態に係る遊技機1の遊技進行に係る処理を制御する制御手段について説明する。
図4は、本実施形態に係る遊技機1の内部構成を示すブロック図である。
[Internal configuration of gaming machine]
Hereinafter, control means for controlling processing related to game progress of the gaming machine 1 according to the embodiment of the present invention will be described.
FIG. 4 is a block diagram showing an internal configuration of the gaming machine 1 according to the present embodiment.

主制御部110は、遊技の基本動作を制御する主制御手段であり、第1始動口検出スイッチ14a等の各種検出信号を入力して、第1特別図柄表示装置20や第1大入賞口開閉ソレノイド16c等を駆動させて遊技を制御するものである。   The main control unit 110 is a main control means for controlling the basic operation of the game, and receives various detection signals from the first start port detection switch 14a, etc., and opens and closes the first special symbol display device 20 and the first grand prize opening. The game is controlled by driving the solenoid 16c and the like.

この主制御部110は、メインCPU110a、メインROM110b、メインRAM110c、ブートROM110dから少なくとも構成されるワンチップマイコン110mと、主制御用の入力ポートと出力ポート(図示せず)とを少なくとも備えている。また、主制御部110は、出力ポートの中でも、特に、他の制御部(後述する演出制御部120や払出制御部130等)への制御コマンドの出力に用いられる送信部500を備えている。   The main control unit 110 includes at least a one-chip microcomputer 110m including at least a main CPU 110a, a main ROM 110b, a main RAM 110c, and a boot ROM 110d, and an input port and an output port (not shown) for main control. The main control unit 110 includes a transmission unit 500 that is used to output control commands to other control units (such as an effect control unit 120 and a payout control unit 130 described later), among other output ports.

この主制御用の入力ポートには、払出制御部130、一般入賞口12に遊技球が入球したことを検知する一般入賞口検出スイッチ12a、普通図柄ゲート13に遊技球が入球したことを検知するゲート検出スイッチ13a、第1始動口14に遊技球が入球したことを検知する第1始動口検出スイッチ14a、第2始動口15に遊技球が入球したことを検知する第2始動口検出スイッチ15a、第1大入賞口16に遊技球が入球したことを検知する第1大入賞口検出スイッチ16a、第2大入賞口17に遊技球が入球したことを検知する第2大入賞口検出スイッチ17aが接続されている。この主制御用の入力ポートによって、各種信号が主制御部110に入力される。   The main control input port includes a payout control unit 130, a general winning port detecting switch 12a for detecting that a gaming ball has entered the general winning port 12, and a game ball having been inserted into the normal symbol gate 13. Gate detection switch 13a to detect, first start port detection switch 14a to detect that a game ball has entered the first start port 14, and second start to detect that a game ball has entered the second start port 15 The mouth detection switch 15a, the first grand prize opening detection switch 16a that detects that a game ball has entered the first grand prize opening 16, and the second that detects that a game ball has entered the second grand prize opening 17 A big prize opening detection switch 17a is connected. Various signals are input to the main control unit 110 through the input port for main control.

また、主制御用の出力ポートには、払出制御部130、第2始動口15の一対の可動片15bを開閉動作させる始動口開閉ソレノイド15c、第1大入賞口開閉扉16bを動作させる第1大入賞口開閉ソレノイド16c、第2大入賞口開閉扉17bを動作させる第2大入賞口開閉ソレノイド17c、特別図柄を表示する第1特別図柄表示装置20と第2特別図柄表示装置21、普通図柄を表示する普通図柄表示装置22、特別図柄の保留球数を表示する第1特別図柄保留表示器23と第2特別図柄保留表示器24、普通図柄の保留球数を表示する普通図柄保留表示器25、外部情報信号を出力する遊技情報出力端子板30が接続されている。この主制御用の出力ポートによって、各種信号が出力される。   The main control output port includes a payout control unit 130, a start opening / closing solenoid 15c for opening / closing the pair of movable pieces 15b of the second start opening 15, and a first large winning opening opening / closing door 16b. A special winning opening / closing solenoid 16c, a second large winning opening / closing solenoid 17c for operating the second winning opening / closing door 17b, a first special symbol display device 20 and a second special symbol display device 21 for displaying special symbols, and a normal symbol. A normal symbol display device 22 for displaying a symbol, a first special symbol hold indicator 23 and a second special symbol hold indicator 24 for displaying the number of reserved balls for a special symbol, and a normal symbol hold indicator for displaying the number of reserved balls for a normal symbol 25. A game information output terminal board 30 for outputting an external information signal is connected. Various signals are output from the main control output port.

主制御部110のメインCPU110aは、各検出スイッチや内部機能として組み込まれている図示しないタイマ等からの入力信号に基づいて、メインROM110bに記憶されたプログラムを読み出して演算処理を行うとともに、演算処理の結果に応じて、主制御部110を構成する各構成部に対する制御指示(以下、「制御信号」という)や主制御部110以外の他の制御部に対する制御コマンドを出力したりする。   The main CPU 110a of the main control unit 110 reads out a program stored in the main ROM 110b based on an input signal from each detection switch or a timer (not shown) incorporated as an internal function, and performs arithmetic processing. Depending on the result, a control instruction (hereinafter referred to as “control signal”) for each component constituting the main control unit 110 and a control command for another control unit other than the main control unit 110 are output.

主制御部110のメインROM110bには、遊技進行に係る処理の内容や手順を記述した遊技処理用プログラムや、各種の遊技の決定に必要な固定データ、テーブルが予め記憶されている。
メインROM110bに記憶されたテーブルとして一例を挙げれば、大当たり抽選に参照される大当り判定テーブル、普通図柄の抽選に参照される当り判定テーブル、特別図柄の停止図柄を決定する図柄決定テーブル、大当たり終了後の遊技状態を決定するための大当たり遊技終了時設定データテーブル、大入賞口開閉扉の開閉条件を決定する特別電動役物作動態様決定テーブル、大入賞口開放態様テーブル、特別図柄の変動パターンを決定する変動パターン決定テーブルなどがある。
The main ROM 110b of the main control unit 110 stores in advance a game processing program that describes the content and procedure of processing related to game progress, and fixed data and tables necessary for determining various games.
As an example of the table stored in the main ROM 110b, a jackpot determination table referred to in the jackpot lottery, a hit determination table referred to in the normal symbol lottery, a symbol determination table for determining the stop symbol of the special symbol, after the jackpot ends End of jackpot game setting data table for determining the gaming state of the game, special electric accessory operating mode determination table for determining the opening / closing conditions of the special winning opening opening door, determining the opening pattern table of the special winning opening, and the variation pattern of the special symbol There is a variation pattern determination table.

また、メインROM110bには、電源投入時などの遊技機1のリセット時に行われる主制御部110のブート処理中に、ワンチップマイコン110mの内蔵回路や周辺回路等に対して設定される初期値(いわゆるハードウェアパラメータ)が予め記憶されている。また、メインROM110bには、遊技機1固有の情報である固有情報などが予め記憶されている。   The main ROM 110b also stores initial values set for the built-in circuit and peripheral circuits of the one-chip microcomputer 110m during the boot process of the main control unit 110 performed when the gaming machine 1 is reset such as when the power is turned on. So-called hardware parameters) are stored in advance. In addition, unique information that is unique to the gaming machine 1 is stored in the main ROM 110b in advance.

主制御部110のブートROM110dには、ワンチップマイコン110mの内蔵回路や周辺回路等の初期化および初期値の設定処理(以下、「初期値設定処理」という)を含む、メインCPU110aが実行するブート処理の内容や手順を記述したブート処理用プログラムや、ブート処理用プログラムの実行の際に使用される固定データが記憶されている。このブート処理用プログラムは、メインCPU110aの起動直後に立ち上るように設定されている。   The boot ROM 110d of the main control unit 110 includes a boot executed by the main CPU 110a, including initialization of internal circuits and peripheral circuits of the one-chip microcomputer 110m and initial value setting processing (hereinafter referred to as “initial value setting processing”). A boot processing program describing the contents and procedure of processing, and fixed data used when executing the boot processing program are stored. This boot processing program is set to start immediately after the main CPU 110a is activated.

主制御部110のメインRAM110cは、メインCPU110aの演算処理時におけるデータのワークエリアとして機能し、複数の記憶領域を有している。
メインRAM110cが有する記憶領域として一例を挙げれば、普通図柄保留数(G)記憶領域、普通図柄保留記憶領域、普通図柄データ記憶領域、第1特別図柄保留数(U1)記憶領域、第2特別図柄保留数(U2)記憶領域、第1特別図柄乱数値記憶領域、第2特別図柄乱数値記憶領域、ラウンド遊技回数(R)記憶領域、開放回数(K)記憶領域、大入賞口入球数(C)記憶領域、遊技状態記憶領域(高確率遊技フラグ記憶領域等)、高確率遊技回数(X)カウンタ、遊技状態バッファ、停止図柄データ記憶領域、送信データ用記憶領域、特別図柄時間カウンタ、特別遊技タイマカウンタなど各種のタイマカウンタなどがある。
The main RAM 110c of the main control unit 110 functions as a data work area during the arithmetic processing of the main CPU 110a, and has a plurality of storage areas.
As an example of the storage area that the main RAM 110c has, a normal symbol holding number (G) storage area, a normal symbol holding storage area, a normal symbol data storage area, a first special symbol holding number (U1) storage area, a second special symbol Reservation count (U2) storage area, first special symbol random value storage area, second special symbol random value storage area, round game number (R) storage area, number of open times (K) storage area, number of big winning entrances ( C) Storage area, game state storage area (high probability game flag storage area, etc.), high probability game count (X) counter, game state buffer, stop symbol data storage region, transmission data storage region, special symbol time counter, special There are various timer counters such as game timer counters.

主制御部110の送信部500は、メインCPU110aからの指示によらず、主制御部110が出力する制御コマンドの正当性を検査して主制御部110の正当性を認証するための誤り検査値を生成するとともに、当該誤り検査値を用いた主制御部110に対する認証機能を担うよう予め定められた制御部(演出制御部120や払出制御部130等)へ送信する。具体的には、送信部500は、電源が投入されるとメインROM110bに記憶されたプログラムとは独立した自身のアルゴリズムに従って動作し、メインCPU110aから制御コマンドを受け取ると、受け取った制御コマンドの誤り検査値を生成する(以下、「検査値生成処理という」)。そして、送信部500は、生成した誤り検査値を制御コマンドに付加した後(以下、「検査値付加処理」という)、演出制御部120や払出制御部130等へ送信する。   The transmission unit 500 of the main control unit 110 checks the validity of the control command output from the main control unit 110 and authenticates the validity of the main control unit 110 without depending on an instruction from the main CPU 110a. Is transmitted to a predetermined control unit (such as the effect control unit 120 or the payout control unit 130) so as to have an authentication function for the main control unit 110 using the error check value. Specifically, the transmission unit 500 operates according to its own algorithm independent of the program stored in the main ROM 110b when the power is turned on. When receiving the control command from the main CPU 110a, the transmission unit 500 checks the error of the received control command. A value is generated (hereinafter referred to as “inspection value generation processing”). Then, the transmission unit 500 adds the generated error check value to the control command (hereinafter referred to as “check value addition process”), and then transmits it to the effect control unit 120, the payout control unit 130, and the like.

遊技情報出力端子板30は、主制御部110において生成された外部情報信号を遊技店のホールコンピュータ等に出力するための基板である。遊技情報出力端子板30は、主制御部110と配線接続され、外部情報を遊技店のホールコンピュータ等と接続をするためのコネクタが設けられている。   The game information output terminal board 30 is a board for outputting an external information signal generated by the main control unit 110 to a hall computer or the like of a game store. The game information output terminal board 30 is connected to the main controller 110 by wiring, and is provided with a connector for connecting external information to a hall computer or the like of a game store.

電源部170は、コンデンサからなるバックアップ電源を備えており、遊技機1に電源電圧を供給するとともに、遊技機1に供給する電源電圧を監視し、電源電圧が所定値以下となったときに、電断検知信号を主制御部110へ出力する。より具体的には、電源電圧が、所定値以下を示すために電断検知信号がローレベルとなり一定時間経過すると、リセット信号がローレベルとなり、メインCPU110aは動作を停止する処理を行う。その後、電源電圧が、所定値以上を示すために電断検知信号がハイレベルとなり一定時間経過すると、リセット信号がハイレベルとなり、メインCPU110aは動作を開始する処理を行う。バックアップ電源はコンデンサに限らず、例えば、電池でもよく、コンデンサと電池とを併用して用いてもよい。   The power supply unit 170 includes a backup power source composed of a capacitor, supplies a power supply voltage to the gaming machine 1, and monitors a power supply voltage supplied to the gaming machine 1, and when the power supply voltage becomes a predetermined value or less, An electric interruption detection signal is output to the main control unit 110. More specifically, when the power interruption detection signal becomes low level and a certain time elapses because the power supply voltage indicates a predetermined value or less, the reset signal becomes low level, and the main CPU 110a performs processing to stop the operation. Thereafter, when the power interruption detection signal becomes a high level because the power supply voltage indicates a predetermined value or more and a predetermined time elapses, the reset signal becomes a high level, and the main CPU 110a performs a process of starting an operation. The backup power source is not limited to a capacitor, and may be a battery, for example, or a capacitor and a battery may be used in combination.

演出制御部120は、主に遊技中や待機中等の各演出を制御する。この演出制御部120は、サブCPU120a、サブROM120b、サブRAM120cを備えており、主制御部110に対して、当該主制御部110から演出制御部120への一方向に通信可能に接続されている。サブCPU120aは、主制御部110から送信された制御コマンド、または、上記演出ボタン検出スイッチ35a、タイマからの入力信号に基づいて、サブROM120bに記憶されたプログラムを読み出して演算処理を行うとともに、当該処理に基づいて、対応するデータをランプ制御部140または画像制御部150に送信する。サブRAM120cは、サブCPU120aの演算処理時におけるデータのワークエリアとして機能する。   The effect control unit 120 mainly controls each effect such as during a game or standby. The effect control unit 120 includes a sub CPU 120a, a sub ROM 120b, and a sub RAM 120c, and is connected to the main control unit 110 so as to be communicable in one direction from the main control unit 110 to the effect control unit 120. . The sub CPU 120a reads out the program stored in the sub ROM 120b based on the control command transmitted from the main control unit 110 or the input signal from the effect button detection switch 35a and the timer, performs arithmetic processing, and Based on the processing, the corresponding data is transmitted to the lamp control unit 140 or the image control unit 150. The sub RAM 120c functions as a data work area during the arithmetic processing of the sub CPU 120a.

例えば、演出制御部120におけるサブCPU120aは、主制御部110から送信された制御コマンドの1つである特別図柄の変動態様を示す変動パターン指定コマンドを受信すると、受信した変動パターン指定コマンドの内容を解析して、液晶表示装置31、音声出力装置32、演出用駆動装置33、演出用照明装置34に所定の演出を実行させるためのデータを生成し、かかるデータを画像制御部150やランプ制御部140へ送信する。   For example, when the sub CPU 120a in the effect control unit 120 receives a variation pattern designation command indicating a variation pattern of a special symbol, which is one of the control commands transmitted from the main control unit 110, the contents of the received variation pattern designation command are displayed. Analysis is performed to generate data for causing the liquid crystal display device 31, the audio output device 32, the effect driving device 33, and the effect illumination device 34 to execute a predetermined effect, and the data is used for the image control unit 150 and the lamp control unit. 140.

また、後述するように、演出制御部120に対して後段制御部180が接続されている場合には、サブCPU120aは、主制御部110から送信された制御コマンドを受信すると、受信した制御コマンドの具体的な処理内容および受信順序を維持したまま、当該制御コマンドを後続する後段制御部180へ送信する中継送信処理を行う。なお、後段制御部180が払出制御部130に接続されている場合は、後述する払出CPUが、上記演出制御部120の中継送信処理に関する構成を備えている。   As will be described later, when the rear control unit 180 is connected to the effect control unit 120, when the sub CPU 120a receives the control command transmitted from the main control unit 110, the sub CPU 120a receives the control command received. A relay transmission process is performed in which the control command is transmitted to the succeeding post-control unit 180 while maintaining the specific processing contents and the reception order. When the latter control unit 180 is connected to the payout control unit 130, a payout CPU described later has a configuration related to the relay transmission process of the effect control unit 120.

演出制御部120のサブROM120bには、演出制御用のプログラムや各種の遊技の決定に必要なデータ、テーブルが記憶されている。
サブROM120bに記憶されたテーブルとして一例を挙げれば、主制御部から受信した変動パターン指定コマンドに基づいて演出パターンを決定するための演出パターン決定テーブル、停止表示する演出図柄36の組み合わせを決定するための演出図柄決定テーブルなどがある。
The sub ROM 120b of the effect control unit 120 stores a program for effect control, data necessary for determining various games, and a table.
As an example of the table stored in the sub-ROM 120b, to determine a combination of an effect pattern determination table for determining an effect pattern based on a variation pattern designation command received from the main control unit and an effect symbol 36 to be stopped and displayed. There is a production design determination table.

演出制御部120のサブRAM120cは、サブCPU120aの演算処理時におけるデータのワークエリアとして機能し、複数の記憶領域を有している。
サブRAM120cが有する記憶領域として一例を挙げれば、遊技状態記憶領域、演出モード記憶領域、演出パターン記憶領域、演出図柄記憶領域などがある。
The sub RAM 120c of the effect control unit 120 functions as a data work area during the arithmetic processing of the sub CPU 120a, and has a plurality of storage areas.
As an example of the storage area that the sub-RAM 120c has, there are a game state storage area, an effect mode storage area, an effect pattern storage area, an effect symbol storage area, and the like.

後段制御部180は、主に主制御部110に対する認証機能を実現するための制御手段である。この後段制御部180は、CPU180a、ROM180b、RAM180cを備えており、主制御部110が本来の遊技処理に係る制御コマンドを送信する対象となる制御部(演出制御部120や払出制御部130等)に対して、主制御部110からみて後続するように設けられている。例えば、図4に示すように、後段制御部180が演出制御部120に後続するように設けられている場合、後段制御部180は、演出制御部120との間で双方向に通信可能に接続される。また、図示しないが、後段制御部180が払出制御部130に後続するように設けられている場合、後段制御部180は、払出制御部130との間で双方向に通信可能に接続される。よって、後段制御部180は、主制御部110から直接制御コマンドを送信されず、演出制御部120や払出制御部130等を介して送信されることとなる。   The latter control unit 180 is a control unit for mainly realizing an authentication function for the main control unit 110. The post-stage control unit 180 includes a CPU 180a, a ROM 180b, and a RAM 180c. On the other hand, it is provided to follow the main control unit 110. For example, as shown in FIG. 4, when the rear stage control unit 180 is provided so as to follow the effect control unit 120, the rear stage control unit 180 is connected to the effect control unit 120 so as to be capable of bidirectional communication. Is done. Although not shown, when the rear stage control unit 180 is provided so as to follow the payout control unit 130, the rear stage control unit 180 is connected to the payout control unit 130 so as to be capable of bidirectional communication. Therefore, the post-stage control unit 180 does not transmit a control command directly from the main control unit 110, but transmits it via the effect control unit 120, the payout control unit 130, and the like.

CPU180aは、主制御部110から演出制御部120または払出制御部130等を介して送信された制御コマンド、または、内部機能として組み込まれている図示しないタイマからの入力信号に基づいて、ROM180bに記憶されたプログラムを読み出して演算処理を行うとともに、当該処理に基づいて、対応するデータを演出制御部120や払出制御部130へ送信する。RAM180cは、CPU180aの演算処理時におけるデータのワークエリアとして機能する。   The CPU 180a stores in the ROM 180b based on a control command transmitted from the main control unit 110 via the effect control unit 120 or the payout control unit 130 or an input signal from a timer (not shown) incorporated as an internal function. The read program is read to perform arithmetic processing, and corresponding data is transmitted to the effect control unit 120 and the payout control unit 130 based on the processing. The RAM 180c functions as a data work area during the arithmetic processing of the CPU 180a.

例えば、後段制御部180のCPU180aは、上記のように演出制御部120や払出制御部130等から中継送信された制御コマンドを受信すると、当該制御コマンドの正当性を検査して主制御部110の正当性を認証する誤り検査処理を行うとともに、当該処理にて得られた認証結果の情報(以下、「認証結果データ」という)を演出制御部120や払出制御部130等へ送信し、認証結果データに基づく処理を実行させる。また、CPU180aは、受信した制御コマンドの具体的な処理内容および受信順序を維持したまま、当該制御コマンドを演出制御部120や払出制御部130等へ中継送信する中継送信処理を行う。   For example, when the CPU 180a of the post-stage control unit 180 receives the control command relayed from the effect control unit 120 or the payout control unit 130 as described above, the CPU 180a checks the legitimacy of the control command and performs the control of the main control unit 110. While performing an error checking process for authenticating the validity, the information of the authentication result obtained by the process (hereinafter referred to as “authentication result data”) is transmitted to the effect control unit 120, the payout control unit 130, etc., and the authentication result Perform processing based on data. In addition, the CPU 180a performs a relay transmission process in which the control command is relay-transmitted to the effect control unit 120, the payout control unit 130, and the like while maintaining the specific processing contents and the reception order of the received control command.

また、ROM180bは、主制御部110のメインROM110bに記憶された固有情報に対応する情報や、CPU180aにて行われる受信した制御コマンドへの誤り検査処理を含む認証処理の内容や手順を記述した認証処理用プログラムが予め記憶されている。
このように、後段制御部180は、主制御部110に対する認証機能と、受信した制御コマンドを演出制御部120や払出制御部130等へ再び中継送信する機能と、誤り検査処理にて得られた認証結果データを演出制御部120や払出制御部130等へ送信する機能とを少なくとも有している。なお、これら認証処理に関する構成については後述する。
In addition, the ROM 180b is an authentication that describes information corresponding to the unique information stored in the main ROM 110b of the main control unit 110, and details and procedures of an authentication process including an error check process for the received control command performed by the CPU 180a. A processing program is stored in advance.
As described above, the post-stage control unit 180 is obtained by the error checking process, the authentication function for the main control unit 110, the function of relaying the received control command again to the effect control unit 120, the payout control unit 130, and the like. It has at least a function of transmitting the authentication result data to the effect control unit 120, the payout control unit 130, and the like. In addition, the structure regarding these authentication processes is mentioned later.

払出制御部130は、遊技球の払い出し制御を行う。この払出制御部130は、図示しない払出CPU、払出ROM、払出RAMから構成されるワンチップマイコンを備えており、主制御部110に対して、双方向に通信可能に接続されている。払出CPUは、遊技球が払い出されたか否かを検知する払出球計数スイッチ132、扉開放スイッチ133、タイマからの入力信号に基づいて、払出ROMに記憶されたプログラムを読み出して演算処理を行うとともに、当該処理に基づいて、対応するデータを主制御部110に送信する。   The payout control unit 130 controls payout of game balls. The payout control unit 130 includes a one-chip microcomputer including a payout CPU, a payout ROM, and a payout RAM (not shown), and is connected to the main control unit 110 so as to be capable of bidirectional communication. The payout CPU reads out a program stored in the payout ROM based on input signals from the payout ball count switch 132, the door opening switch 133, and the timer that detect whether or not the game ball has been paid out, and performs arithmetic processing. At the same time, the corresponding data is transmitted to the main control unit 110 based on the processing.

また、払出制御部130の出力側には、遊技球の貯留部から所定数の遊技球を払い出すための払出装置の払出モータ131が接続されている。払出CPUは、主制御部110から送信された制御コマンドの1つである払出個数指定コマンドに基づいて、払出ROMから所定のプログラムを読み出して演算処理を行うとともに、払出装置の払出モータ131を制御して所定の遊技球を払い出す。このとき、払出RAMは、払出CPUの演算処理時におけるデータのワークエリアとして機能する。   Further, a payout motor 131 of a payout device for paying out a predetermined number of game balls from the game ball storage unit is connected to the output side of the payout control unit 130. The payout CPU reads out a predetermined program from the payout ROM based on a payout number designation command that is one of the control commands transmitted from the main control unit 110, performs arithmetic processing, and controls the payout motor 131 of the payout device. Then, a predetermined game ball is paid out. At this time, the payout RAM functions as a data work area at the time of calculation processing of the payout CPU.

ランプ制御部140は、遊技盤2に設けられた演出用照明装置34を点灯制御したり、光の照射方向を変更するためのモータに対する駆動制御をしたりする。また、演出用駆動装置33を動作させるソレノイドやモータ等の駆動源を通電制御する。このランプ制御部140は、演出制御部120に接続されており、演出制御部120から送信された各種のコマンドに基づいて、上記の各制御を行うこととなる。   The lamp control unit 140 controls lighting of the effect lighting device 34 provided on the game board 2 and controls driving of the motor for changing the light irradiation direction. In addition, energization control is performed on a drive source such as a solenoid or a motor that operates the effect driving device 33. The lamp control unit 140 is connected to the effect control unit 120, and performs the above-described controls based on various commands transmitted from the effect control unit 120.

画像制御部150は、液晶表示装置31の画像表示制御を行うためのホストCPU、ホストCPU150aのワークエリアとして機能する一時的な記憶領域を有するホストRAM、ホストCPU150aの制御処理のプログラム等が記憶されたホストROM、画像データが記憶されたCGROM、画像データを描画するフレームバッファを有するVRAM、画像プロセッサとなるVDP(Video Display Processor)と、音の制御を行う音制御回路とを備えている。   The image control unit 150 stores a host CPU for performing image display control of the liquid crystal display device 31, a host RAM having a temporary storage area functioning as a work area for the host CPU 150a, a control processing program for the host CPU 150a, and the like. A host ROM, a CGROM storing image data, a VRAM having a frame buffer for drawing image data, a VDP (Video Display Processor) serving as an image processor, and a sound control circuit for controlling sound.

ホストCPUは、演出制御部120から受信した演出パターン指定コマンドに基づいて、VDPにCGROMに記憶されている画像データを液晶表示装置31に表示させる指示を行う。
VDPは、ホストCPUからの指示に基づいて、CGROMに記憶された画像データをVRAMのフレームバッファに描画する。次に、VRAMにある表示用のフレームバッファに記憶された画像データに基づいて映像信号(RGB信号等)を生成し、生成した映像信号を液晶表示装置に出力する。
Based on the effect pattern designation command received from the effect control unit 120, the host CPU instructs the liquid crystal display device 31 to display the image data stored in the CGROM in the VDP.
The VDP draws image data stored in the CGROM in the frame buffer of the VRAM based on an instruction from the host CPU. Next, a video signal (RGB signal or the like) is generated based on the image data stored in the display frame buffer in the VRAM, and the generated video signal is output to the liquid crystal display device.

音制御回路には、音声データが多数記憶されている音声ROMが備えられており、音制御回路が、演出制御部120から送信されたコマンドに基づいて所定のプログラムを読み出すとともに、音声出力装置32における音声出力制御をする。   The sound control circuit includes an audio ROM that stores a large number of audio data. The sound control circuit reads a predetermined program based on a command transmitted from the effect control unit 120 and also outputs the audio output device 32. Audio output control at.

発射制御部160は、遊技球の発射制御を行う。この発射制御部160は、入力側にタッチセンサ3aおよび発射ボリューム3bが接続されており、出力側に発射用ソレノイド4aおよび玉送りソレノイド4bを接続している。発射制御部160は、タッチセンサ3aからのタッチ信号を入力するとともに、発射ボリューム3bから供給された電圧に基づいて、発射用ソレノイド4aや玉送りソレノイド4bを通電させる制御を行う。   The launch control unit 160 performs launch control of the game ball. In the firing control unit 160, the touch sensor 3a and the firing volume 3b are connected to the input side, and the firing solenoid 4a and the ball feeding solenoid 4b are connected to the output side. The firing control unit 160 inputs a touch signal from the touch sensor 3a and performs control to energize the firing solenoid 4a and the ball feed solenoid 4b based on the voltage supplied from the firing volume 3b.

タッチセンサ3aは、操作ハンドル3の内部に設けられ、遊技者が操作ハンドル3に触れたことによる静電容量の変化を利用した静電容量型の近接スイッチから構成される。タッチセンサ3aは、遊技者が操作ハンドル3に触れたことを検知すると、発射制御部160(図4参照)に発射用ソレノイド4aの通電を許可するタッチ信号を出力する。発射制御部160は、大前提としてタッチセンサ3aからタッチ信号の入力がなければ、遊技球200を遊技領域6に発射させないように構成されている。   The touch sensor 3a is provided in the inside of the operation handle 3, and is comprised from the electrostatic capacitance type proximity switch using the change of the electrostatic capacitance by the player touching the operation handle 3. When the touch sensor 3a detects that the player has touched the operation handle 3, the touch sensor 3a outputs a touch signal that permits energization of the firing solenoid 4a to the firing control unit 160 (see FIG. 4). The firing control unit 160 is configured so that the game ball 200 is not fired into the game area 6 unless a touch signal is input from the touch sensor 3a.

発射ボリューム3bは、操作ハンドル3が回動する回動部に直結して設けられ、可変抵抗器から構成される。発射ボリューム3bは、その発射ボリューム3bに印加された定電圧(例えば5V)を可変抵抗器により分圧して、分圧した電圧を発射制御部160に供給する(発射制御部160に供給する電圧を可変させる)。発射制御部160は、発射ボリューム3bにより分圧された電圧に基づいて、発射用ソレノイド4aを通電して、発射用ソレノイド4aに直結された打出部材4cを回転させることで、遊技球200を遊技領域6に発射させる。   The firing volume 3b is provided directly connected to a rotating portion around which the operation handle 3 rotates, and is composed of a variable resistor. The firing volume 3b divides a constant voltage (for example, 5V) applied to the firing volume 3b by a variable resistor, and supplies the divided voltage to the firing control unit 160 (the voltage to be supplied to the firing control unit 160). Variable). The launch controller 160 energizes the launch solenoid 4a based on the voltage divided by the launch volume 3b, and rotates the launch member 4c directly connected to the launch solenoid 4a, thereby playing the game ball 200 in the game. Fire into area 6.

発射用ソレノイド4aは、ロータリーソレノイドから構成され、発射用ソレノイド4aには打出部材4cが直結されており、発射用ソレノイド4aが回転することで、打出部材4cを回転させる。   The firing solenoid 4a is composed of a rotary solenoid, and a launching member 4c is directly connected to the firing solenoid 4a, and the launching member 4c is rotated by rotating the launching solenoid 4a.

ここで、発射用ソレノイド4aの回転速度は、発射制御部160に設けられた水晶発振器の出力周期に基づく周波数から、約99.9(回/分)に設定されている。これにより、1分間における発射遊技数は、発射ソレノイドが1回転する毎に1個発射されるため、約99.9(個/分)となる。すなわち、1個の遊技球は約0.6秒毎に発射されることになる。   Here, the rotational speed of the firing solenoid 4a is set to about 99.9 (times / minute) based on the frequency based on the output period of the crystal oscillator provided in the firing control unit 160. As a result, the number of games played per minute is about 99.9 (pieces / minute) because one shot is fired every time the firing solenoid rotates. That is, one game ball is fired about every 0.6 seconds.

玉送りソレノイド4bは、直進ソレノイドから構成され、受け皿40にある遊技球を、発射用ソレノイド4aに直結された打出部材4cに向けて1個ずつ送り出す。   The ball feed solenoid 4b is composed of a linear solenoid, and sends out the game balls in the tray 40 one by one toward the launch member 4c directly connected to the launch solenoid 4a.

ここで、上記構成の演出制御部120、払出制御部130、ランプ制御部140、画像制御部150、および発射制御部160など、主制御部110からの制御コマンドに基づいて、若しくは当該制御コマンドに基づいて生成されるコマンドに従って遊技機1の制御処理を行う制御部であって、後段制御部180以外の制御部を総称して「周辺部300」という。また、演出制御部120が搭載された演出制御基板や払出制御部130が搭載された払出制御基板など、周辺部300の各制御部が搭載された各制御基板を総称して「周辺基板」という。なお、後段制御部180、ランプ制御部140、および画像制御部150は、演出制御部120と同一の基板上に搭載することもできる。また、払出制御部130および発射制御部160は、主制御部110と同一の基板上に搭載することもできる。   Here, based on the control command from the main control unit 110 such as the effect control unit 120, the payout control unit 130, the lamp control unit 140, the image control unit 150, and the launch control unit 160 having the above-described configuration, or based on the control command. A control unit that performs control processing of the gaming machine 1 in accordance with a command generated based on the command, and the control units other than the rear-stage control unit 180 are collectively referred to as “peripheral unit 300”. In addition, each control board on which each control unit of the peripheral unit 300 is mounted, such as an effect control board on which the effect control unit 120 is mounted and a payout control board on which the payout control unit 130 is mounted, is collectively referred to as a “peripheral board”. . Note that the rear stage control unit 180, the lamp control unit 140, and the image control unit 150 can be mounted on the same substrate as the effect control unit 120. Further, the payout control unit 130 and the firing control unit 160 can be mounted on the same substrate as the main control unit 110.

[遊技機の認証処理に関する内部構成]
以下、上記構成の遊技機1が不正行為防止のために有するセキュリティ機能を実現する制御手段について説明する。
本実施形態に係る遊技機1のセキュリティ機能は、後段制御部180が主制御部110から送信された制御コマンドの正当性を検査し、主制御部110の認証を行うことによって実現される。そして、後段制御部180で得られた認証結果は周辺部300へ送信され、周辺部300にて受信した認証結果に応じた処理が行われる。そのために主制御部110、後段制御部180、および周辺部300が実行する処理を、通常の遊技進行に係る処理とは区別する意味で「認証処理」という。なお、本実施形態では、後段制御部180は、演出制御部120に後続して接続されているとともに、後段制御部180で得られた認証結果は、周辺部300のうち演出制御部120へ送信され、演出制御部120が認証結果に応じた処理を行うこととして説明する。
[Internal configuration related to authentication processing of gaming machines]
Hereinafter, control means for realizing the security function that the gaming machine 1 having the above configuration has for preventing fraud will be described.
The security function of the gaming machine 1 according to the present embodiment is realized by the post-stage control unit 180 checking the validity of the control command transmitted from the main control unit 110 and authenticating the main control unit 110. Then, the authentication result obtained by the latter control unit 180 is transmitted to the peripheral unit 300, and processing according to the authentication result received by the peripheral unit 300 is performed. For this reason, the processing executed by the main control unit 110, the subsequent control unit 180, and the peripheral unit 300 is referred to as “authentication processing” in a sense that distinguishes it from processing related to normal game progression. In the present embodiment, the rear control unit 180 is connected subsequent to the effect control unit 120, and the authentication result obtained by the rear control unit 180 is transmitted to the effect control unit 120 in the peripheral unit 300. In the following description, the production control unit 120 performs processing according to the authentication result.

具体的には、主制御部110は、制御コマンドを生成し演出制御部120を介して後段制御部180へ送信する際に、当該制御コマンドより前(過去)に生成された制御コマンドの誤り検査値を生成し、今回送信すべき制御コマンドに付加して送信する。後段制御部180は、今回受信した制御コマンドに付加された誤り検査値と、当該制御コマンドより前に受信した制御コマンドを用いて予め生成しておいた誤り検査値とを照合する。そして、両者が一致すると、今回受信した制御コマンドの正当性が認証され、主制御部110の認証に成功したと判断される。後段制御部180は、得られた主制御部110に対する認証結果を、演出制御部120へ送信する。演出制御部120は、後段制御部180から送信された認証結果を確認し、認証結果に応じた処理を行う。   Specifically, when the main control unit 110 generates a control command and transmits the control command to the subsequent control unit 180 via the effect control unit 120, the main control unit 110 checks the error of the control command generated before (in the past) the control command. A value is generated and added to the control command to be transmitted this time. The post-stage control unit 180 collates the error check value added to the control command received this time with the error check value generated in advance using the control command received before the control command. If the two match, the validity of the control command received this time is authenticated, and it is determined that the main control unit 110 has been successfully authenticated. The rear control unit 180 transmits the obtained authentication result for the main control unit 110 to the effect control unit 120. The effect control unit 120 confirms the authentication result transmitted from the subsequent control unit 180, and performs a process according to the authentication result.

図5は、本実施形態に係る主制御部110の認証処理に関する内部構成を示す機能ブロック図である。図6は、本実施形態に係る(a)メインROM110bおよび(b)ブートROM110dのメモリマップを説明するための概略図である。図7は、本実施形態に係る制御コマンドへの誤り検査値の付加方法を説明するための概略図である。また、図6では、本発明の特徴的な領域以外は省略している。また、「xxxFH」などのアドレス表記は、各領域の区分を示すために便宜上設けたものであるとともに、各領域同士の位置関係においても、図6に示した位置関係に限定されるものではない。   FIG. 5 is a functional block diagram showing an internal configuration related to authentication processing of the main control unit 110 according to the present embodiment. FIG. 6 is a schematic diagram for explaining a memory map of (a) main ROM 110b and (b) boot ROM 110d according to the present embodiment. FIG. 7 is a schematic diagram for explaining a method for adding an error check value to a control command according to the present embodiment. In FIG. 6, areas other than the characteristic area of the present invention are omitted. The address notation such as “xxxFH” is provided for convenience in order to indicate the division of each region, and the positional relationship between the regions is not limited to the positional relationship shown in FIG. .

主制御部110は、上記のようなメインCPU110a、メインROM110b、およびブートROM110dに加え、メインCPU110aからの送信指示に基づき、演出制御部120への制御コマンドの送信や誤り検査値の生成処理を行う送信部500を少なくとも備えている。また、これら主制御部110の各構成部は、各々が出力する各種データや信号を授受できるよう内部バス550にて接続されている。内部バス550は、アドレスバス、データバスおよび制御バスの機能を少なくとも備え、主制御部110の各構成部から出力された制御信号に基づき内部バス550を通るデータの割り当てを行い、データの衝突が生じないように制御している。なお、図5においては、便宜上、内部バス550という形では明示せず、主制御部110の各構成部を結ぶ信号線として表している。   In addition to the main CPU 110a, the main ROM 110b, and the boot ROM 110d as described above, the main control unit 110 performs transmission of control commands to the production control unit 120 and generation of error check values based on transmission instructions from the main CPU 110a. The transmitter 500 is provided at least. Each component of the main control unit 110 is connected by an internal bus 550 so that various data and signals output from the main control unit 110 can be exchanged. The internal bus 550 has at least functions of an address bus, a data bus, and a control bus, assigns data passing through the internal bus 550 based on control signals output from each component of the main control unit 110, and causes data collision. It is controlled not to occur. In FIG. 5, for the sake of convenience, the internal bus 550 is not clearly shown, and is represented as a signal line that connects each component of the main control unit 110.

メインCPU110aは、上記のような遊技進行に係る処理を実行する他、遊技機1での認証処理を実行する。メインCPU110aは、ブートROM110dに記憶されたブート処理用プログラムやメインROM110bに記憶された各種初期値を用いて、各種演算処理を実行するとともに、各種演算処理の結果に応じて制御信号や制御コマンドを出力する。   The main CPU 110a executes an authentication process in the gaming machine 1 in addition to executing the process related to the game progress as described above. The main CPU 110a executes various arithmetic processes using a boot processing program stored in the boot ROM 110d and various initial values stored in the main ROM 110b, and outputs control signals and control commands according to the results of the various arithmetic processes. Output.

例えば、メインCPU110aは、遊技処理用プログラムに基づいて、演出制御部120にて遊技進行に応じた演出処理を実行させるための制御コマンドを送信部500にて送信させる処理(以下、「コマンド送信処理」という)を行う際には、送信部500へ当該制御コマンドを書き込むための制御信号(以下、「書き込み信号」という)を出力し、当該制御コマンドを送信部500にて送信させる。
また、メインCPU110aは、ブート処理用プログラムに基づいて、ブート処理中の初期値設定処理を行う際には、メインROM110bに記憶された各種初期値を読み出すための制御信号(以下、「読み出し信号」という)を出力して各種初期値を取得し、取得した各種初期値のそれぞれに対応した構成回路へ出力して設定処理を行う。
For example, the main CPU 110a, based on the game processing program, causes the transmission controller 500 to transmit a control command for causing the effect control unit 120 to execute an effect process corresponding to the progress of the game (hereinafter referred to as “command transmission process”). ”), A control signal for writing the control command (hereinafter referred to as“ write signal ”) is output to the transmission unit 500, and the control unit 500 transmits the control command.
Further, the main CPU 110a, when performing initial value setting processing during boot processing based on the boot processing program, reads control signals (hereinafter referred to as “read signals”) for reading various initial values stored in the main ROM 110b. To obtain various initial values, and outputs the obtained initial values to the configuration circuit corresponding to each of the obtained various initial values.

メインROM110bには、上記のような遊技処理用プログラムやデータの他、リセット時のような主制御部110のブート処理後に初めて出力する制御コマンドに付加する誤り検査値として使用する、遊技機1の固有情報が記憶されている(図6(a)の「xyz0H」〜「xzxFH」の領域)。また、メインROM110bは、メインCPU110aや送信部500からの読み出し信号に応じて、遊技処理用プログラムコードや固有情報などを出力する。   In the main ROM 110b, in addition to the game processing program and data as described above, the gaming machine 1 is used as an error check value to be added to a control command output for the first time after the boot processing of the main control unit 110 at the time of resetting. Unique information is stored (regions “xyz0H” to “xzzFH” in FIG. 6A). In addition, the main ROM 110b outputs game processing program codes, unique information, and the like in accordance with read signals from the main CPU 110a and the transmission unit 500.

主制御部110が出力する制御コマンドは、演出制御部120へ送信される際に、図7に示すように、今回送信するべき制御コマンドより前(過去)に生成された制御コマンドの誤り検査値が付加されるようになっている。この付加するべき誤り検査値は、所定の記憶領域(後述する送信部500の格納回路522)に格納されている。ただし、電源投入直後などの遊技機1のリセット時などにおいて、主制御部110が初期化された場合は、上記記憶領域に格納されていた付加するべき誤り検査値もクリアされる。このとき、付加するべき誤り検査値がクリアされてから、最初に生成された制御コマンドなどに付加する誤り検査値(以下、「初期検査値」)として、メインROM110bに予め格納された固有情報を用いる。初期検査値は、後述する誤り検査値の付加方法の内容によっては複数個(N個;Nは自然数)必要であるため、固有情報は、少なくとも初期検査値の必要数個以上、予め用意されている。   When the control command output by the main control unit 110 is transmitted to the effect control unit 120, as shown in FIG. 7, the error check value of the control command generated before (past) the control command to be transmitted this time. Is added. The error check value to be added is stored in a predetermined storage area (a storage circuit 522 of the transmission unit 500 described later). However, when the main control unit 110 is initialized at the time of resetting the gaming machine 1 such as immediately after the power is turned on, the error check value to be added stored in the storage area is also cleared. At this time, after the error check value to be added is cleared, specific information stored in advance in the main ROM 110b is used as an error check value to be added to the first generated control command or the like (hereinafter referred to as “initial check value”). Use. Depending on the content of the error check value adding method described later, a plurality of initial check values (N; N is a natural number) is required, so that the specific information is prepared in advance for at least the required number of initial check values. Yes.

ここで、誤り検査値が上記のようにクリアされた直後に、最初に生成れた制御コマンドを「制御コマンド(1)」といい、制御コマンド(1)を用いて生成された誤り検査値を「誤り検査値(1)」という。同様に、誤り検査値が上記のようにクリアされてからM番目(Mは自然数)に生成された制御コマンドを「制御コマンド(M)」といい、制御コマンド(M)を用いて生成された誤り検査値を「誤り検査値(M)」という。Mは制御コマンドの生成回数を示しており、公知のカウンタ回路などによって計数すればよい。また、主制御部110が、制御コマンド(M)を生成する度に、都度、演出制御部120へ送信するならば、Mは送信回数とも考えることができ、本発明には、このような概念も含まれる。   Here, immediately after the error check value is cleared as described above, the control command generated first is referred to as “control command (1)”, and the error check value generated using the control command (1) is referred to as “control command (1)”. This is referred to as “error check value (1)”. Similarly, the control command generated Mth (M is a natural number) after the error check value is cleared as described above is referred to as “control command (M)”, and is generated using the control command (M). The error check value is referred to as “error check value (M)”. M indicates the number of generations of the control command and may be counted by a known counter circuit or the like. In addition, if the main control unit 110 generates a control command (M) and transmits it to the effect control unit 120 each time, M can be considered as the number of transmissions. Is also included.

固有情報は、主制御部110が保持する遊技機1固有の情報であれば特に限定されない。固有情報は、図6(a)では、メインROM110bの固定データが記憶された領域の中の特定のアドレス(図6(a)の「xyz0H」〜「xzxFH」の領域)のデータ(例えば、制御コマンドデータ)となっているが、例えば、メインROM110bのプログラムコードが記憶された領域の中の特定のアドレスにおけるチェックサム値や、メインCPU110aに固有に付与されている識別番号(ID)や、メーカーコード・機種コード等の製品情報などが考えられる。また、予め後段制御部180との間で取り決められた誤り検査値のダミーデータなども考えられる。なお、固有情報は、メインROM110bとは別個の記憶手段(メモリセルやROMなど)に記憶されていてもよい。   The unique information is not particularly limited as long as it is unique to the gaming machine 1 held by the main control unit 110. In FIG. 6A, the unique information is data (for example, control) in a specific address (area “xyz0H” to “xzzFH” in FIG. 6A) in the area where the fixed data of the main ROM 110b is stored. Command data), for example, the checksum value at a specific address in the area where the program code of the main ROM 110b is stored, the identification number (ID) uniquely assigned to the main CPU 110a, the manufacturer Product information such as codes and model codes can be considered. Further, dummy data of error check values determined in advance with the post-stage control unit 180 may be considered. The unique information may be stored in storage means (memory cell, ROM, etc.) separate from the main ROM 110b.

また、メインROM110bには、上記のようなワンチップマイコン110mの内蔵回路や周辺回路等の初期値の一つであって、送信部500に設定される初期値である「生成パラメータ」が予め記憶されている(図6(a)の「yyy0H」〜「yyzFH」の領域)。生成パラメータは、ブート処理中の初期値設定処理の際に、送信部500が有する、誤り検査値を生成する複数種類の処理機能(以下、「誤り検査値生成機能」という)のうち、どの誤り検査値生成機能を選択するかを決定するためのパラメータである。   The main ROM 110b stores in advance a “generation parameter” that is one of the initial values of the built-in circuit and peripheral circuits of the one-chip microcomputer 110m as described above and is an initial value set in the transmission unit 500. (Regions “yyy0H” to “yyzFH” in FIG. 6A). The generation parameter indicates which error among a plurality of types of processing functions (hereinafter referred to as “error check value generation function”) that the transmission unit 500 has to generate an error check value during the initial value setting process during the boot process. This is a parameter for determining whether to select the inspection value generation function.

具体的には、本実施形態の生成パラメータは、送信部500を構成する複数種類の誤り検査値を生成する生成回路521(図5では生成回路A、B、C)のそれぞれと対応づけられた値である。例えば、生成パラメータは、対応する生成回路521のそれぞれに付与された識別番号やアドレスデータを示す値などである。本実施形態では、ブート処理中の初期値設定処理でも、特に、送信部500へ生成パラメータを設定する処理を「生成パラメータ設定処理」という。また、設定された生成パラメータに対応した送信部500が有する特定の生成回路521を有効に作動させる処理を「生成回路作動処理」という。なお、誤り検査値生成機能およびその選択情報は、予め主制御部110と後段制御部180との間で取り決めておく。   Specifically, the generation parameter of the present embodiment is associated with each of the generation circuits 521 (generation circuits A, B, and C in FIG. 5) that generate a plurality of types of error check values constituting the transmission unit 500. Value. For example, the generation parameter is an identification number assigned to each of the corresponding generation circuits 521, a value indicating address data, or the like. In the present embodiment, even in the initial value setting process during the boot process, a process for setting a generation parameter in the transmission unit 500 is particularly referred to as a “generation parameter setting process”. In addition, a process for effectively operating the specific generation circuit 521 included in the transmission unit 500 corresponding to the set generation parameter is referred to as a “generation circuit operation process”. The error check value generation function and the selection information thereof are determined in advance between the main control unit 110 and the subsequent control unit 180.

なお、上記初期値および生成パラメータを記憶する領域は、図6ではメインROM110b内の領域であるが、本発明はこれに限定されず、メインROM110bとは別個のメモリセルに記憶したり、ブートROM110d内に記憶したりするように構成することもできる。すなわち、本発明では、上記初期値および生成パラメータの記憶領域と、遊技処理用プログラムや固定データ等の記憶領域とは、同一の記憶手段(メモリセルやROMなど)に搭載されていてもよいし、異なる記憶手段に搭載されていてもよい。   The area for storing the initial value and the generation parameter is the area in the main ROM 110b in FIG. 6, but the present invention is not limited to this, and the area is stored in a memory cell separate from the main ROM 110b or the boot ROM 110d. It can also be configured to be stored in. That is, in the present invention, the storage area for the initial value and the generation parameter and the storage area for the game processing program, fixed data, etc. may be mounted on the same storage means (memory cell, ROM, etc.). It may be mounted on different storage means.

ブートROM110dには、ブート処理用プログラムやブート処理用プログラムの実行の際に使用する固定データが予め記憶されている(図6(b)の「zxx0H」〜「zyzFH」の領域)。ブート処理用プログラムは、メインCPU110aの起動直後にブートROM110dからブート処理専用RAM(図示せず)へ読み込まれ、メインCPU110aにて実行が開始されるように予め設定されており、メインCPU110a自身の自己診断処理や、メインCPU110aを搭載するワンチップマイコン110mの内蔵回路や送信部500を含む周辺回路等の初期化および初期値の設定処理(すなわち初期値設定処理)を制御するものである。なお、本実施形態では、ブート処理後に実行される遊技処理用プログラムなど、ブート処理用プログラム以外のプログラムを「ユーザープログラム」という。   The boot ROM 110d stores in advance boot processing programs and fixed data used when the boot processing programs are executed (regions “zxx0H” to “zyzFH” in FIG. 6B). The boot processing program is set in advance to be read from the boot ROM 110d into a boot processing dedicated RAM (not shown) immediately after the main CPU 110a is started, and to be executed by the main CPU 110a. It controls diagnosis processing, initialization of a built-in circuit of the one-chip microcomputer 110m on which the main CPU 110a is mounted, peripheral circuits including the transmission unit 500, and initial value setting processing (that is, initial value setting processing). In the present embodiment, a program other than the boot processing program such as a game processing program executed after the boot processing is referred to as a “user program”.

ブート処理用プログラムは、CPUメーカーが開発・実装するプログラムであり、これらが記憶されたブートROM110dに対するアクセスは、遊技機1の出荷後、ブート処理時のメインCPU110aからのアクセスにのみ制限されている。一方、ユーザープログラムは、遊技機メーカーが開発・実装するプログラムであり、これらが記憶されたメインROM110bに対するアクセスは、遊技処理が実行されるたびにメインCPU110aからアクセスされる。しかしながら、メインROM110bのアドレス領域でも、ワンチップマイコン110mの内蔵回路や送信部500を含む周辺回路等の初期値(生成パラメータを含む)が記憶された領域など、ユーザープログラムや固定データ等(固有情報を含む)が記憶された領域以外のアドレス領域(例えば、図6(a)の「yxx0H」〜「yyzFH」の領域)は、ブート処理用プログラムの中でのみ定義された領域であり、遊技処理に係るユーザープログラム上では全く現れることが無い領域とされている。つまり、ブート処理が終了した後は、上記領域(図6(a)の「yxx0H」〜「yyzFH」の領域)は、ユーザープログラムからはアクセスできないように実質的な制限がかけられた領域とされている。   The boot processing program is a program developed and implemented by a CPU manufacturer, and access to the boot ROM 110d in which these programs are stored is limited to access from the main CPU 110a during boot processing after the gaming machine 1 is shipped. . On the other hand, the user program is a program developed and implemented by a gaming machine manufacturer, and access to the main ROM 110b in which these are stored is accessed from the main CPU 110a every time a game process is executed. However, even in the address area of the main ROM 110b, user programs, fixed data, etc. (specific information) such as areas in which initial values (including generation parameters) of the built-in circuit of the one-chip microcomputer 110m and peripheral circuits including the transmission unit 500 are stored. Address areas (for example, the areas “xxx0H” to “yyzFH” in FIG. 6A) are areas defined only in the boot processing program. It is an area that never appears on the user program. That is, after the boot process is completed, the above-mentioned area ("xxx0H" to "yyzFH" in FIG. 6A) is an area that is substantially restricted so that it cannot be accessed from the user program. ing.

しかしながら、不正なアクセスを試みられた場合を考慮して、以下に示すさらなる制限をかけることで、ブート処理時にのみ得られる生成パラメータの秘匿性をより向上させることができる。
ブートROM110dおよびメインROM110bへのアクセス制限は、例えば、主制御部110に実行アドレス監視手段(図示せず)を設けておき、ブート処理終了後に実行アドレス監視手段を作動させ、ユーザープログラムが所定のアドレス領域(例えば、図6(a)の「0000H」〜「xzyFH」の領域)を超えて実行されるような場合には、メインCPU110aへリセット信号を出力してメインCPU110aを動作停止状態にすればよい。また、リセット信号を出力しないまでも、異常を検知した旨を示す報知信号を出力するようにしてもよい。
However, in consideration of the case where unauthorized access is attempted, the following additional restrictions can be applied to further improve the confidentiality of the generation parameter obtained only during the boot process.
To restrict access to the boot ROM 110d and the main ROM 110b, for example, an execution address monitoring unit (not shown) is provided in the main control unit 110, and the execution address monitoring unit is activated after the boot process is completed. When the process is executed beyond the area (for example, the area from “0000H” to “xzyFH” in FIG. 6A), a reset signal is output to the main CPU 110a to stop the operation of the main CPU 110a. Good. Further, a notification signal indicating that an abnormality has been detected may be output before the reset signal is output.

送信部500は、メインCPU110aから出力されたデータの中でも、特に、制御コマンドを演出制御部120へ送信するための出力ポートの機能を果たし、制御部510と、検査値生成部520と、送信バッファ530と、送信回路540とを少なくとも備えている。なお、検査値生成部520は、誤り検査値を生成する生成回路521と、生成した誤り検査値を格納する格納回路522とを少なくとも有している。   The transmission unit 500 functions as an output port for transmitting a control command to the effect control unit 120 among the data output from the main CPU 110a, and includes a control unit 510, a test value generation unit 520, and a transmission buffer. 530 and a transmission circuit 540 at least. The check value generation unit 520 includes at least a generation circuit 521 that generates an error check value and a storage circuit 522 that stores the generated error check value.

制御部510は、自身が保持するアルゴリズムに従って、ブート処理中の生成回路作動処理、ならびにブート処理後の検査値生成処理および検査値付加処理を含むコマンド送信処理など、遊技機1のセキュリティ機能実現に係る主制御部110の処理全般を制御する回路である。   The control unit 510 implements security functions of the gaming machine 1 such as a generation circuit operation process during the boot process and a command transmission process including a test value generation process and a test value addition process after the boot process according to the algorithm held by itself. This is a circuit for controlling the overall processing of the main control unit 110.

制御部510は、生成回路作動処理において、メインCPU110aから設定された生成パラメータを確認し、設定された生成パラメータに対応した生成回路521を有効に作動するように設定する。例えば、制御部510は、送信部500に予め設けられた複数種類の生成回路521と、予め用意された複数種類の生成パラメータとの対応付けが記憶されたデータテーブルを備えおり、生成回路作動処理において、メインCPU110aから設定された生成パラメータがどの生成回路521に対応するかを確認することができる。そして、制御部510は、複数種類の生成回路521のそれぞれと接続されており、生成回路521を有効に作動させるための制御信号(以下、「作動許可信号」という)を、設定された生成パラメータに対応する生成回路521にのみ出力し、当該生成回路521のみを作動させる。また、制御部510は、格納回路522の検査値記憶領域と生成回路521との接続を切り替えさせるための制御信号(以下、「接続切替信号」という)を格納回路522へ出力し、上記で有効に作動させた生成回路521との接続のみが有効に繋がるように設定する。   In the generation circuit operation process, the control unit 510 checks the generation parameter set from the main CPU 110a and sets the generation circuit 521 corresponding to the set generation parameter to operate effectively. For example, the control unit 510 includes a data table storing a plurality of types of generation circuits 521 provided in advance in the transmission unit 500 and a plurality of types of generation parameters prepared in advance. The generation circuit 521 to which the generation parameter set from the main CPU 110a corresponds can be confirmed. The control unit 510 is connected to each of a plurality of types of generation circuits 521, and a control signal (hereinafter referred to as an “operation permission signal”) for effectively operating the generation circuit 521 is set as a set generation parameter. Is output only to the generation circuit 521 corresponding to, and only the generation circuit 521 is operated. In addition, the control unit 510 outputs a control signal (hereinafter referred to as “connection switching signal”) for switching the connection between the test value storage area of the storage circuit 522 and the generation circuit 521 to the storage circuit 522 and is effective as described above. It is set so that only the connection with the generation circuit 521 operated in the above is effectively connected.

また、制御部510は、メインCPU110aからの制御コマンドの出力に基づいて、格納回路522に格納された誤り検査値を制御コマンドに付加する検査値付加処理を行う。具体的には、制御部510は、メインCPU110aが送信バッファ530へ出力する制御コマンドの書き込み信号を、内部バス550を通じて検知する検知手段(図示せず)を備えており、当該書き込み信号を検知することで、メインCPU110aが制御コマンドを送信バッファ530へ出力するタイミングを知ることができる。そして、制御部510は、当該書き込み信号の検知を契機として、格納回路522の検査値記憶領域に格納された誤り検査値を送信バッファ530へ書き込むための書き込み信号を出力し、送信バッファ530に誤り検査値を書き込んでセットする。   Further, the control unit 510 performs a check value addition process for adding the error check value stored in the storage circuit 522 to the control command based on the output of the control command from the main CPU 110a. Specifically, the control unit 510 includes detection means (not shown) that detects a write signal of a control command output from the main CPU 110a to the transmission buffer 530 through the internal bus 550, and detects the write signal. Thus, the timing at which the main CPU 110a outputs the control command to the transmission buffer 530 can be known. Then, the control unit 510 outputs a write signal for writing the error check value stored in the check value storage area of the storage circuit 522 to the transmission buffer 530 in response to the detection of the write signal, and the error is transmitted to the transmission buffer 530. Write and set the inspection value.

すなわち、制御部510は、誤り検査値の書き込み信号を、メインCPU110aが出力する制御コマンドの書き込み信号を検知したことを契機として出力する。ただし、制御部510は、上記制御コマンドの書き込み信号を検知したときは無制限に誤り検査値の書き込み信号を出力するわけではなく、後述する予め取り決められた誤り検査値の付加方法に従って出力する。なお、制御部510が誤り検査値を送信バッファ530へ書き込むための書き込み信号を出力するタイミングについては後述する。そして、送信バッファ530にて、上記制御コマンドに誤り検査値が付加される。   That is, the control unit 510 outputs an error check value write signal when a control command write signal output from the main CPU 110a is detected. However, when detecting the control command write signal, control unit 510 does not output an error check value write signal indefinitely, but outputs it according to a predetermined error check value adding method described later. Note that the timing at which the control unit 510 outputs a write signal for writing the error check value to the transmission buffer 530 will be described later. Then, the transmission buffer 530 adds an error check value to the control command.

なお、制御部510は、検査値付加処理において、リセット時など付加するべき誤り検査値が格納回路522に格納されていない場合は、主制御部110のブート処理後の初期化処理中に、メインROM110bに記憶された固有情報を格納回路522へ設定する。具体的には、制御部510は、メインROM110bに記憶された固有情報を読み出すための読み出し信号を出力し、固有情報を取り込んで格納回路522を構成する初期検査値記憶領域へ書き込み、書き込んだ固有情報を誤り検査値の初期検査値として格納する。このとき、後述する誤り検査値の付加方法の内容に起因して、固有情報が予め複数個(N個)用意されている場合は、制御部510は、複数個(N個)の初期検査値が格納されることになる。そして、制御部510は、格納された初期検査値の送信バッファ530へ書き込むための書き込み信号を出力し、送信バッファ530に初期検査値を書き込んでセットする。そして、送信バッファ530にて、上記制御コマンドに初期検査値が付加させる。   In the check value adding process, when the error check value to be added is not stored in the storage circuit 522 in the check value adding process, the control unit 510 performs the main control unit 110 during the initialization process after the boot process. The unique information stored in the ROM 110b is set in the storage circuit 522. Specifically, the control unit 510 outputs a read signal for reading out the unique information stored in the main ROM 110b, takes in the unique information, writes it in the initial test value storage area constituting the storage circuit 522, and writes the written unique information. Information is stored as an initial check value of an error check value. At this time, when a plurality of (N) pieces of unique information are prepared in advance due to the content of an error check value adding method described later, the control unit 510 sets a plurality (N) of initial check values. Will be stored. Then, control unit 510 outputs a write signal for writing the stored initial check value to transmission buffer 530, and writes and sets the initial check value in transmission buffer 530. Then, the transmission buffer 530 adds an initial inspection value to the control command.

検査値付加処理において、メインCPU110aが今回送信するとして送信バッファ530にセットした制御コマンドに対し、制御部510が付加する誤り検査値は、送信バッファ530にセットされた制御コマンドより前(過去)に生成された制御コマンドの誤り検査値であれば、特に限定されない。この誤り検査値の付加方法は、具体的には、次のとおりである。   In the check value addition processing, the error check value added by the control unit 510 to the control command set in the transmission buffer 530 by the main CPU 110a to be transmitted this time is before (in the past) the control command set in the transmission buffer 530. There is no particular limitation as long as it is an error check value of the generated control command. Specifically, the method of adding the error check value is as follows.

例えば、図7(a)に示すように、今回送信する制御コマンドに、これより1個前に生成された制御コマンドの誤り検査値を付加すると取り決められている場合、今回送信する制御コマンドを制御コマンド(M)とすると、制御部510は、送信バッファ530にセットされた制御コマンド(M)に対し、制御コマンド(M−1)を用いて生成された誤り検査値(M−1)を付加するようにすればよい。この場合、制御部510は、予め生成されて格納回路522に格納されていた誤り検査値(M−1)を、制御コマンド(M)がセットされた送信バッファ530に書き込んで、制御コマンド(M)に誤り検査値(M−1)を付加させる。   For example, as shown in FIG. 7A, when it is determined that an error check value of the control command generated immediately before this is added to the control command transmitted this time, the control command transmitted this time is controlled. When the command (M) is used, the control unit 510 adds the error check value (M-1) generated using the control command (M-1) to the control command (M) set in the transmission buffer 530. You just have to do it. In this case, the control unit 510 writes the error check value (M−1) generated in advance and stored in the storage circuit 522 into the transmission buffer 530 in which the control command (M) is set, and the control command (M ) Is added with an error check value (M-1).

同様に、例えば、今回送信する制御コマンド(M)に、これよりN個前に生成した制御コマンド(M−N)の誤り検査値(M−N)を付加すると取り決められている場合、
(i)M>Nであれば、制御部510は、予め生成されて格納回路522の検査値記憶領域に格納されていた誤り検査値(M−N)を、送信バッファ530に書き込んで、制御コマンドに誤り検査値を付加させる。すなわち、Nは、今回送信する制御コマンドに対して、何個前に生成された制御コマンドの誤り検査値を付加するのかということを取り決めておいた数である(以下、Nを「遡及数」という)。
Similarly, for example, when it is decided to add the error check value (MN) of the control command (MN) generated N times earlier to the control command (M) to be transmitted this time,
(I) If M> N, the control unit 510 writes the error check value (MN) generated in advance and stored in the check value storage area of the storage circuit 522 to the transmission buffer 530, and performs control. Add an error checking value to the command. In other words, N is a number that determines how many error check values of the previously generated control command are added to the control command to be transmitted this time (hereinafter, N is a “retroactive number”). Called).

なお、主制御部110が、制御コマンド(M)を生成する度に、都度、演出制御部120へ送信するならば、Nは、今回送信する制御コマンドに対して、何個前に送信された制御コマンドの誤り検査値を付加するのかということを取り決めておいた数であると考えることができる。本発明には、このような概念も含まれる。すなわち、この場合、誤り検査値(M−N)は、今回送信する制御コマンド(M)に、これよりN個前に送信した制御コマンド(M−N)の誤り検査値となる。   If the main control unit 110 generates a control command (M) and transmits it to the effect control unit 120 each time, N is transmitted before the control command transmitted this time. It can be considered that it is a predetermined number whether to add an error check value of the control command. The present invention includes such a concept. That is, in this case, the error check value (MN) is the error check value of the control command (MN) transmitted N times before the control command (M) transmitted this time.

また、(ii)M≦Nであれば、制御部510は、メインROM110bに格納されたN個の固有情報を、格納回路522の初期検査値記憶領域に初期検査値(1)〜初期検査値(N)として格納し、制御コマンド(1)〜制御コマンド(N)と対応付ける。そして、制御部510は、初期検査値(1)〜初期検査値(N)のいずれかを、制御コマンドの生成順序と対応するように送信バッファ530に書き込んで、制御コマンドに初期検査値を付加させる。なお、図7(b)には、N=2の場合が示されている。また、この誤り検査値の付加方法については、主制御部110と後段制御部180との間で予め取り決められている。   If (ii) M ≦ N, the control unit 510 stores the N pieces of unique information stored in the main ROM 110b in the initial inspection value storage area of the storage circuit 522 from the initial inspection value (1) to the initial inspection value. (N) is stored and associated with the control commands (1) to (N). Then, control unit 510 writes any one of initial test value (1) to initial test value (N) to transmission buffer 530 so as to correspond to the generation order of the control command, and adds the initial test value to the control command. Let FIG. 7B shows the case where N = 2. The error check value adding method is determined in advance between the main control unit 110 and the subsequent control unit 180.

なお、本実施形態では、今回送信する制御コマンド(M)に対して、これよりN個前に生成した制御コマンド(M−N)の誤り検査値(M−N)を付加すると取り決められているとして説明する。このようにすることで、不正者にとっては、制御コマンドとそれに付加された誤り検査値との関係を解析することがより困難となり、不正行為をより一層防止することができる。また、「誤り検査値(M−N)」という表現には、特に明記する場合を除き、M≦Nの場合に付加される初期検査値(初期検査値(1)〜初期検査値(N)のいずれか)も含まれるものとして説明する。   In the present embodiment, it is agreed to add the error check value (MN) of the control command (MN) generated N times before to the control command (M) to be transmitted this time. Will be described. By doing so, it becomes more difficult for an unauthorized person to analyze the relationship between the control command and the error check value added thereto, and it is possible to further prevent fraud. In addition, unless otherwise specified, the expression “error check value (MN)” includes an initial check value (initial check value (1) to initial check value (N) added when M ≦ N. Any one of these will be described.

また、制御部510は、送信バッファ530に保持されたデータを送信回路540へ出力し、送信回路540から演出制御部120へ直ちに送信させる。具体的には、制御部510は、送信バッファ530に保持された制御コマンドおよび誤り検査値を送信回路540へ転送させるための制御信号(以下、「送信許可信号」という)を、送信バッファ530へ出力し、送信バッファ530に保持された誤り検査値付きの制御コマンドを送信回路540へ転送させ、送信回路540から演出制御部120へ直ちに送信させる。送信許可信号の出力タイミングは、例えば、メインCPU110aが実行する後述のタイマ割込処理の実行周期(α、例えば4ミリ秒)に同期させるように設定しておけばよい。   Control unit 510 outputs the data held in transmission buffer 530 to transmission circuit 540 and causes transmission circuit 540 to immediately transmit to effect control unit 120. Specifically, control unit 510 sends a control signal (hereinafter referred to as “transmission permission signal”) for transferring the control command and error check value held in transmission buffer 530 to transmission circuit 540 to transmission buffer 530. The control command with the error check value that is output and held in the transmission buffer 530 is transferred to the transmission circuit 540, and is immediately transmitted from the transmission circuit 540 to the effect control unit 120. The output timing of the transmission permission signal may be set so as to be synchronized with an execution period (α, for example, 4 milliseconds) of a timer interrupt process (described later) executed by the main CPU 110a.

生成回路521は、入力されたデータを予め設定された誤り検査値生成のための演算方式(以下、「生成方式」という)で演算して誤り検査値を生成し、出力する回路である。具体的には、生成回路521は、メインCPU110aが出力した制御コマンドを入力するように接続されており、入力した制御コマンドを、生成回路作動処理で設定された生成回路521の生成方式で演算し、誤り検査値を生成する。生成方式は、主制御部110と後段制御部180との間で予め取り決めてあれば、特に限定されない。生成方式は、例えば、チェックサム方式、CRC方式、奇数パリティ方式、偶数パリティ方式、群計数チェック方式、垂直パリティ方式、水平パリティ方式、またはハミング符号方式等の公知の方式を用いることができる。また、生成回路521は、メインCPU110aが出力した制御コマンドをそのまま入力し、演算するように構成することもできるし、メインCPU110aが出力した制御コマンドの一部だけを入力し、演算するように構成することもできる。例えば、制御コマンドは後述するように1バイトの「MODE」の情報と1バイトの「DATA」の情報とから構成されているが、出力された制御コマンドの「MODE」の情報のみを入力し、演算するように構成することができる。   The generation circuit 521 is a circuit that generates and outputs an error check value by calculating the input data using a preset calculation method for error check value generation (hereinafter referred to as “generation method”). Specifically, the generation circuit 521 is connected to input a control command output from the main CPU 110a, and calculates the input control command by the generation method of the generation circuit 521 set in the generation circuit operation processing. Generate error checking values. The generation method is not particularly limited as long as it is determined in advance between the main control unit 110 and the subsequent control unit 180. As the generation method, for example, a known method such as a checksum method, a CRC method, an odd parity method, an even parity method, a group count check method, a vertical parity method, a horizontal parity method, or a Hamming code method can be used. Further, the generation circuit 521 can be configured to directly input and calculate the control command output from the main CPU 110a, or can be configured to input and calculate only a part of the control command output from the main CPU 110a. You can also For example, the control command is composed of 1-byte “MODE” information and 1-byte “DATA” information as will be described later, but only the “MODE” information of the output control command is input. It can be configured to operate.

また、生成回路521は、複数の生成回路(図5では生成回路A、B、C)を備えている。生成回路521を担う複数の生成回路のそれぞれは、互いに異なる複数の生成方式を採用することが可能であり、例えば遊技機メーカーごとに所望する生成方式が異なれば、送信部500の回路形成過程にて所望の生成方式に対応する生成回路をそれぞれ形成しておくことができる。また、生成回路521におけるそれぞれの生成回路は、制御部510から出力された作動許可信号によって、有効に作動させるか否かが制御される。つまり、稼動状態においては、一つの生成回路のみ有効とされ、この有効とされた生成回路が生成回路521として機能するのである。そして、生成回路521は、生成した誤り検査値を格納回路522へ出力する。   In addition, the generation circuit 521 includes a plurality of generation circuits (generation circuits A, B, and C in FIG. 5). Each of the plurality of generation circuits responsible for the generation circuit 521 can adopt a plurality of different generation methods. For example, if a desired generation method differs for each gaming machine manufacturer, the circuit formation process of the transmission unit 500 is performed. Thus, a generation circuit corresponding to a desired generation method can be formed. In addition, whether or not each generation circuit in the generation circuit 521 is effectively operated is controlled by an operation permission signal output from the control unit 510. That is, in the operating state, only one generation circuit is enabled, and this enabled generation circuit functions as the generation circuit 521. Then, the generation circuit 521 outputs the generated error check value to the storage circuit 522.

なお、生成パラメータのメインROM110bへの実装においては複数の方法が考えられる。例えば、生成回路521における複数の生成回路のそれぞれと対応する複数の生成パラメータを予め用意し、メインROM110bに実装する。そして、生成パラメータ設定処理の中で、どの生成パラメータを選択するかを決定するためのプログラムをブートROM110dに実装しておき、ブート処理のたびにどの生成回路を生成回路521として作動させるかを任意に選択できるように構成することができる。このように実装すると、ブート処理のたびに誤り検査値の生成方式が変更され、誤り検査値生成機能の秘匿性を向上させることができ、遊技機1のセキュリティ強度を向上させることができる。   A plurality of methods are conceivable for mounting the generated parameters in the main ROM 110b. For example, a plurality of generation parameters corresponding to each of the plurality of generation circuits in the generation circuit 521 are prepared in advance and mounted on the main ROM 110b. In the generation parameter setting process, a program for determining which generation parameter to select is mounted in the boot ROM 110d, and any generation circuit is operated as the generation circuit 521 every time the boot process is performed. It can be configured to be selectable. When implemented in this manner, the error check value generation method is changed every time the boot process is performed, the confidentiality of the error check value generation function can be improved, and the security strength of the gaming machine 1 can be improved.

一方、生成回路521における生成回路および生成パラメータについては予め複数用意するものの、特定の生成パラメータのみをメインROM110bに実装し、これに対応する特定の生成回路のみを生成回路521として作動させるように構成することもできる。このように実装すると、ブート処理での生成パラメータの選択処理に伴うプログラムを新たに設ける必要がなく、プログラムのコードサイズを増大させることがない。また、このように実装すると、遊技機メーカーが特定の生成方式だけを採用したい場合であっても、遊技機メーカーが行うプログラム実装過程において、所望の生成方式を示す生成回路に対応した生成パラメータのみをメインROM110bに実装すればよく、遊技機メーカーの用途や嗜好に柔軟に対応することができる。なお、この場合であっても、生成パラメータは、主制御部110のブート処理時の初期値設定時以外ではアクセスされない記憶領域に記憶されているため、外部から生成方式の内容を知ることができず、誤り検査値の秘匿性は確保される。また、遊技機1の開発段階中で設計・検証作業などに使用する生成パラメータと、その後に実際に実装される生成パラメータとを変えることによって、最終的にどの生成パラメータが実装されたのかを知り得る者が限定され、誤り検査値生成機能の秘匿性は更に向上する。   On the other hand, although a plurality of generation circuits and generation parameters in the generation circuit 521 are prepared in advance, only a specific generation parameter is mounted on the main ROM 110b, and only a specific generation circuit corresponding thereto is operated as the generation circuit 521. You can also When implemented in this way, it is not necessary to newly provide a program associated with the generation parameter selection process in the boot process, and the code size of the program is not increased. In addition, when implemented in this way, even if the gaming machine manufacturer wants to adopt only a specific generation method, only the generation parameter corresponding to the generation circuit indicating the desired generation method in the program implementation process performed by the gaming machine manufacturer. Can be mounted on the main ROM 110b, and it is possible to flexibly deal with the usage and preference of the gaming machine manufacturer. Even in this case, since the generation parameter is stored in a storage area that is not accessed except when the initial value is set during the boot process of the main control unit 110, the contents of the generation method can be known from the outside. Therefore, the confidentiality of the error check value is ensured. In addition, by changing the generation parameters used for design and verification work during the development stage of the gaming machine 1 and the generation parameters that are actually mounted thereafter, it is possible to know which generation parameters are finally mounted. The person who obtains it is limited, and the confidentiality of the error check value generation function is further improved.

本実施形態では、特定の生成回路521(図5では生成回路A)に対応する生成パラメータのみがメインROM110bに実装されていることとして説明する。すなわち、生成回路作動処理では、生成回路Aのみが有効に作動するように設定され、生成回路Bおよび生成回路Cは作動しないように設定されることとなる。また、生成回路Aに対応する生成パラメータを生成パラメータA、生成回路Aにて表された生成方式を生成方式Aとする。   In the present embodiment, description will be made assuming that only the generation parameter corresponding to the specific generation circuit 521 (the generation circuit A in FIG. 5) is mounted in the main ROM 110b. That is, in the generation circuit operation process, only the generation circuit A is set to operate effectively, and the generation circuit B and the generation circuit C are set not to operate. A generation parameter corresponding to the generation circuit A is a generation parameter A, and a generation method represented by the generation circuit A is a generation method A.

格納回路522は、制御部510や生成回路521から出力されたデータを格納しておく記憶回路であり、制御部510から出力された固有情報が格納される初期検査値記憶領域と、生成回路521から出力された誤り検査値が格納される検査値格納領域とを少なくとも備えている。検査値記憶領域には、生成回路521で生成および出力された誤り検査値を格納する記憶領域であって、少なくともN+1個以上の誤り検査値を格納することができるように設けられている。また、初期検査値記憶領域は、検査値記憶領域に格納された誤り検査値の代わりに用いる固有情報を格納する記憶領域であって、N個以上の固有情報を格納することができるように設けられている。なお、これらの記憶領域では、格納する誤り検査値および初期検査値と、当該誤り検査値の生成元となった制御コマンドとの対応関係が分かる形で格納されている。   The storage circuit 522 is a storage circuit that stores data output from the control unit 510 and the generation circuit 521, and includes an initial test value storage area in which unique information output from the control unit 510 is stored, and a generation circuit 521. At least a check value storage area in which the error check value output from is stored. The check value storage area is a storage area for storing error check values generated and output by the generation circuit 521, and is provided so that at least N + 1 or more error check values can be stored. The initial check value storage area is a storage area for storing unique information used in place of the error check value stored in the check value storage area, and is provided so that N or more pieces of unique information can be stored. It has been. In these storage areas, the correspondence between the error check value and the initial check value to be stored and the control command that is the generation source of the error check value is stored.

そして、格納回路522は、制御部510が格納した誤り検査値を送信バッファ530へ書き込むための書き込み信号が入力されると、格納された誤り検査値を送信バッファ530へ出力する。ただし、M≦Nの場合、すなわち、リセット時など付加するべき誤り検査値がクリアされてからカウントして制御コマンドの生成回数Mが、遡及数N以下である場合は、初期検査値記憶領域に格納された固有情報を初期検査値として出力する。   The storage circuit 522 outputs the stored error check value to the transmission buffer 530 when a write signal for writing the error check value stored in the control unit 510 to the transmission buffer 530 is input. However, in the case of M ≦ N, that is, when the error check value to be added at the time of reset or the like is counted and the control command generation count M is less than the retroactive number N, the initial check value storage area The stored unique information is output as an initial inspection value.

また、検査値記憶領域と制御部510との間には、生成回路521を担う複数の生成回路が配置されており、検査値記憶領域と制御部510は、これら複数の生成回路のそれぞれと接続されている。また、検査値記憶領域は、これら複数の生成回路の中の特定の生成回路を生成回路521として選択的に接続できるような接続切替機能を有しており、制御部510からの接続切替信号に応じて、生成回路作動処理にて有効と設定された生成回路との接続のみ有効に繋がるように、生成回路521に対する接続を切替ることができる。   In addition, a plurality of generation circuits responsible for the generation circuit 521 are arranged between the inspection value storage area and the control unit 510, and the inspection value storage area and the control unit 510 are connected to each of the plurality of generation circuits. Has been. Further, the inspection value storage area has a connection switching function that allows a specific generation circuit of the plurality of generation circuits to be selectively connected as the generation circuit 521. Accordingly, the connection to the generation circuit 521 can be switched so that only the connection with the generation circuit set to be valid in the generation circuit operation processing is effectively connected.

生成回路521へ入力されたデータは、生成回路521を担う複数の生成回路のそれぞれへ受け渡されることになる。また、複数の生成回路のそれぞれからデータが出力されたならば、各データは、それぞれ検査値記憶領域へ受け渡されることになる。しかしながら、生成回路作動処理にて複数の生成回路のうち、特定の生成回路のみを生成回路521として作動するように設定し、検査値記憶領域の当該生成回路521との接続のみ有効となるように設定したため、検査値記憶領域へ受け渡されるデータは、生成パラメータに対応した生成回路521から出力されるデータのみとなる。   Data input to the generation circuit 521 is transferred to each of the plurality of generation circuits that bear the generation circuit 521. Further, if data is output from each of the plurality of generation circuits, each data is transferred to the inspection value storage area. However, in the generation circuit operation processing, only a specific generation circuit among the plurality of generation circuits is set to operate as the generation circuit 521 so that only the connection with the generation circuit 521 in the inspection value storage area is valid. Since it is set, the data transferred to the inspection value storage area is only the data output from the generation circuit 521 corresponding to the generation parameter.

送信バッファ530は、演出制御部120へ送信するデータを一時的に保持するためのバッファ回路である。具体的には、送信バッファ530は、メインCPU110aが出力した、今回送信すべき制御コマンドを送信バッファ530へ書き込むための書き込み信号が入力されると、当該書き込み信号に対応した制御コマンドを、内部バス550を介して取り込む。また、送信バッファ530は、制御部510が出力した、上記制御コマンドに付加すべき誤り検査値を送信バッファ530へ書き込むための書き込み信号が入力されると、当該書き込み信号に対応した誤り検査値を、内部バス550を介して取り込む。そして、送信バッファ530は、制御部510からの送信許可信号が入力されるまで取り込んだ制御コマンドおよび誤り検査値を一時的に保持し、送信許可信号が入力されると保持したデータを送信回路540へ直ちに受け渡す。   The transmission buffer 530 is a buffer circuit for temporarily holding data to be transmitted to the effect control unit 120. Specifically, when a write signal output from the main CPU 110a for writing a control command to be transmitted this time is input to the transmission buffer 530, the transmission buffer 530 sends the control command corresponding to the write signal to the internal bus. Capture via 550. In addition, when a write signal for writing an error check value to be added to the control command output from the control unit 510 is input to the transmission buffer 530, the transmission buffer 530 outputs an error check value corresponding to the write signal. , Via the internal bus 550. The transmission buffer 530 temporarily holds the control command and the error check value acquired until the transmission permission signal from the control unit 510 is input. When the transmission permission signal is input, the transmission buffer 530 stores the stored data. Deliver immediately.

送信回路540は、演出制御部120へ送信するデータを、主制御部110と演出制御部120や後段制御部180との間のデータ伝送形式(シリアル伝送形式やパラレル伝送形式)に対応したデータ形式へ変換する機能などを備えている。そして、送信回路540は、送信バッファ530から受け渡されたデータに上記変換処理等を施して送信データとし、演出制御部120へ直ちに送信する。   The transmission circuit 540 is a data format corresponding to a data transmission format (serial transmission format or parallel transmission format) between the main control unit 110 and the production control unit 120 or the subsequent control unit 180. The function to convert to. Then, the transmission circuit 540 performs the conversion process or the like on the data delivered from the transmission buffer 530 to obtain transmission data, and immediately transmits it to the effect control unit 120.

次に、主制御部110の各構成部の認証処理に関する動作について説明する。
遊技機1に電源が投入されると、主制御部110にシステムリセットが発生し、メインCPU110aは、ブートROM110dに予め記憶されたブート処理用プログラムに基づいて、主制御部110のブート処理を行う。ブート処理の中で、メインCPU110aは、主制御部110のハードウェア設定項目の一つとして、メインROM110bに予め記憶された送信部500に関する初期値を送信部500に設定する。その際、メインCPU110aは、送信部500に関する初期値の一つである生成パラメータを送信部500に設定する生成パラメータ設定処理を行う。
Next, an operation related to authentication processing of each component of the main controller 110 will be described.
When the gaming machine 1 is powered on, a system reset occurs in the main control unit 110, and the main CPU 110a performs a boot process of the main control unit 110 based on a boot processing program stored in advance in the boot ROM 110d. . During the boot process, the main CPU 110 a sets an initial value for the transmission unit 500 stored in advance in the main ROM 110 b in the transmission unit 500 as one of the hardware setting items of the main control unit 110. At that time, the main CPU 110a performs a generation parameter setting process for setting a generation parameter, which is one of initial values related to the transmission unit 500, in the transmission unit 500.

具体的には、メインCPU110aは、メインCPU110aの起動直後に立ち上るように設定されているブート処理用プログラムを実行し、生成パラメータ設定処理を行う。まず、メインCPU110aは、送信部500の生成パラメータを読み出すための読み出し信号をメインROM110bへ出力する。メインROM110bでは、メインCPU110aからの読み出し信号が入力されたことにより、予め定めたメインROM110bの特定のアドレスに記憶されている各種初期値(図6の「yxz0H」〜「yyzFH」の領域)のうちの生成パラメータ(図6の「yyy0H」〜「yyzFH」の領域)が出力される。そして、メインCPU110aは、当該読み出し信号によりメインROM110bから出力された生成パラメータを、内部バス550を介して取り込む。   Specifically, the main CPU 110a executes a boot processing program that is set to start up immediately after the main CPU 110a starts up, and performs a generation parameter setting process. First, the main CPU 110a outputs a read signal for reading the generation parameter of the transmission unit 500 to the main ROM 110b. In the main ROM 110b, when a read signal is input from the main CPU 110a, among various initial values (regions “yxz0H” to “yyzFH” in FIG. 6) stored in a predetermined specific address of the main ROM 110b. Are generated (regions “yyy0H” to “yyzFH” in FIG. 6). Then, the main CPU 110a takes in the generated parameters output from the main ROM 110b by the read signal via the internal bus 550.

続いて、メインCPU110aは、取り込んだ生成パラメータを送信部500へ設定する。具体的には、メインCPU110aは、取り込んだ生成パラメータを送信部500の制御部510へ書き込むための書き込み信号を出力する。そして、メインCPU110aは、当該書き込み信号によりメインCPU110aから出力された生成パラメータを、内部バス550を介して制御部510の生成パラメータ用記憶領域へセットする。   Subsequently, the main CPU 110 a sets the acquired generation parameter in the transmission unit 500. Specifically, the main CPU 110 a outputs a write signal for writing the acquired generation parameter to the control unit 510 of the transmission unit 500. Then, the main CPU 110 a sets the generation parameter output from the main CPU 110 a by the write signal to the generation parameter storage area of the control unit 510 via the internal bus 550.

次に、送信部500は、生成回路作動処理を行う。具体的には、送信部500を構成する制御部510は、自身が保持するアルゴリズムに従って、生成パラメータ用記憶領域にセットされた生成パラメータが、生成回路521を担う複数の生成回路のうち、どの生成回路に対応した値であるかを確認する。そして、制御部510は、生成パラメータが示す生成回路(生成回路A)に対し、当該生成回路(生成回路A)を生成回路521として有効とする作動許可信号を出力するとともに、格納回路522の検査値記憶領域の当該生成回路521(生成回路A)との接続のみを有効とする接続切替信号を出力する。よって、生成回路Aからのみ有効なデータが出力される。   Next, the transmission unit 500 performs generation circuit operation processing. Specifically, the control unit 510 included in the transmission unit 500 generates a generation parameter set in the generation parameter storage area from among a plurality of generation circuits that bear the generation circuit 521 according to an algorithm held by itself. Check if the value corresponds to the circuit. Then, the control unit 510 outputs an operation permission signal that validates the generation circuit (generation circuit A) as the generation circuit 521 to the generation circuit (generation circuit A) indicated by the generation parameter, and checks the storage circuit 522. A connection switching signal for enabling only the connection with the generation circuit 521 (generation circuit A) in the value storage area is output. Therefore, valid data is output only from the generation circuit A.

その後、主制御部110のブート処理が終了すると、メインCPU110aは、メインROM110bに記憶された遊技処理用プログラムに基づき遊技進行に係る処理を行う。そして、メインCPU110aは、制御コマンドを送信するタイミングとなると、制御コマンド送信処理を行う。   Thereafter, when the boot process of the main control unit 110 is completed, the main CPU 110a performs a process related to the game progress based on the game process program stored in the main ROM 110b. Then, the main CPU 110a performs control command transmission processing when it is time to transmit a control command.

具体的には、まず、メインCPU110aは、制御コマンドを構成するために必要なデータをメインROM110bから読み出すための読み出し信号を出力する。メインROM110bでは、当該読み出し信号に応じて、予め設定された記憶領域から取得して制御コマンドを構成するのに必要なデータを内部バス550へ出力する。そして、メインCPU110aは、当該読み出し信号によりメインROM110bから出力された上記データを、内部バス550を介して取り込む。そして、メインCPU110aは、取り込んだデータを用いて今回送信する制御コマンド(M)を構成し、メインRAM110cの送信データ用記憶領域にセットする。   Specifically, first, the main CPU 110a outputs a read signal for reading data necessary for configuring a control command from the main ROM 110b. In the main ROM 110b, in response to the read signal, data necessary for configuring a control command acquired from a preset storage area is output to the internal bus 550. Then, the main CPU 110a takes in the data output from the main ROM 110b by the read signal via the internal bus 550. Then, the main CPU 110a configures a control command (M) to be transmitted this time using the captured data, and sets it in the transmission data storage area of the main RAM 110c.

次に、メインCPU110aは、送信データ用記憶領域にセットされた制御コマンド(M)を送信部500にて演出制御部120へ送信させる。具体的には、メインCPU110aは、メインRAM110cの送信データ用記憶領域にセットされている制御コマンド(M)を送信部520へ書き込むための書き込み信号を出力する。そして、メインCPU110aは、当該書き込み信号により送信データ用記憶領域から出力された制御コマンド(M)を、送信部500を構成する送信バッファ530へ書き込んでセットする。このとき、上記書き込み信号が、送信部500を構成する制御部510へ入力されるとともに、制御コマンド(M)が生成回路521へ入力される。これらの入力の検知を契機として、送信部500は、自身が保持するアルゴリズムに従って、検査値生成処理および検査値付加処理を実行する。   Next, the main CPU 110a causes the transmission unit 500 to transmit the control command (M) set in the transmission data storage area to the effect control unit 120. Specifically, the main CPU 110a outputs a write signal for writing the control command (M) set in the transmission data storage area of the main RAM 110c to the transmission unit 520. Then, the main CPU 110a writes and sets the control command (M) output from the transmission data storage area by the write signal to the transmission buffer 530 constituting the transmission unit 500. At this time, the write signal is input to the control unit 510 included in the transmission unit 500 and the control command (M) is input to the generation circuit 521. In response to the detection of these inputs, the transmission unit 500 executes a test value generation process and a test value addition process according to an algorithm held by itself.

まず、送信部500は、送信バッファ530へセットされた制御コマンド(M)を用いて誤り検査値(M)を生成する検査値生成処理を行う。具体的には、送信部500を構成する生成回路521には、メインCPU110aが送信バッファ530へセットするために出力した制御コマンド(M)が入力される。生成回路521は、入力された制御コマンド(M)に対して予め制御部510から設定された生成方式にて誤り検査値(M)を生成する。より詳細には、生成回路521のうちの生成回路Aのみが作動し、入力された制御コマンド(M)に対して生成回路Aにて表された生成方式Aで演算し、誤り検査値Mを生成する。生成された誤り検査値(M)は、そのまま格納回路522へ受け渡され、格納回路522の検査値記憶領域に格納される。   First, the transmission unit 500 performs a check value generation process for generating an error check value (M) using the control command (M) set in the transmission buffer 530. Specifically, a control command (M) output by the main CPU 110 a for setting in the transmission buffer 530 is input to the generation circuit 521 constituting the transmission unit 500. The generation circuit 521 generates an error check value (M) by a generation method set in advance from the control unit 510 with respect to the input control command (M). More specifically, only the generation circuit A of the generation circuit 521 is operated, and the input control command (M) is operated by the generation method A represented by the generation circuit A, and the error check value M is calculated. Generate. The generated error check value (M) is directly transferred to the storage circuit 522 and stored in the check value storage area of the storage circuit 522.

そして、制御部510は、予め取り決められた付加方法に基づき検査値付加処理を行う。制御部510は、格納回路522に格納された誤り検査値(M−N)を送信バッファ530へセットする。具体的には、制御部510は、自身の検知手段が、メインCPU110aからの制御コマンドの書き込み信号を検知すると、当該書き込み信号の検知を契機として、格納回路522の検査値記憶領域に格納された誤り検査値(M−N)を送信バッファ530へ書き込むための書き込み信号を出力する。そして、制御部510は、当該書き込み信号により検査値格納領域から出力された誤り検査値(M−N)を、送信バッファ530へ書き込んでセットする。   Then, control unit 510 performs an inspection value addition process based on a predetermined addition method. The control unit 510 sets the error check value (M−N) stored in the storage circuit 522 in the transmission buffer 530. Specifically, when its detection means detects a control command write signal from the main CPU 110a, the control unit 510 stores the control command 510 in the test value storage area of the storage circuit 522, triggered by the detection of the write signal. A write signal for writing the error check value (MN) to the transmission buffer 530 is output. Then, the control unit 510 writes the error check value (MN) output from the check value storage area by the write signal into the transmission buffer 530 and sets it.

なお、遊技機1のリセット時等では、格納回路522を構成する初期検査値記憶領域に遊技機1の固有情報をセットしたうえで、上記検査値付加処理を行う。具体的には、制御部510は、固有情報を読み出すための読み出し信号をメインROM110bへ出力する。メインROM110bでは、制御部510からの読み出し信号が入力されたことにより、予め定めたメインROM110bの特定のアドレスに記憶されている固有情報(図6の「yyy0H」〜「yyzFH」の領域)が出力される。そして、制御部510は、当該読み出し信号によりメインROM110bから出力された固有情報を、内部バス550を介して格納回路522の初期検査値記憶領域に取り込んで格納しておく。その後、制御部510は、格納回路522に格納した固有情報を初期検査値として送信バッファ530へセットする。   When the gaming machine 1 is reset or the like, the above-described inspection value addition processing is performed after setting the unique information of the gaming machine 1 in the initial inspection value storage area configuring the storage circuit 522. Specifically, control unit 510 outputs a read signal for reading unique information to main ROM 110b. In the main ROM 110b, when a read signal is input from the control unit 510, unique information (regions “yyy0H” to “yyzFH” in FIG. 6) stored in a predetermined specific address of the main ROM 110b is output. Is done. Then, the control unit 510 captures and stores the unique information output from the main ROM 110b by the read signal in the initial test value storage area of the storage circuit 522 via the internal bus 550. Thereafter, control unit 510 sets the unique information stored in storage circuit 522 in transmission buffer 530 as an initial check value.

続いて、制御部510は、送信バッファ530にセットされた制御コマンド(M)および誤り検査値(M−N)を、送信回路540へ受け渡し、これらを送信データとして演出制御部120へ送信する。具体的には、制御部510は、上記検知手段での検知を契機として、予め定められた制御コマンドの送信タイミングで、送信バッファ530へ送信許可信号を出力する。送信バッファ530は、制御部510から送信許可信号が入力されると、セットされた制御コマンド(M)および誤り検査値(M−N)を、送信回路540へ直ちに受け渡す。送信回路540は、送信バッファ530から受け渡された制御コマンド(M)および誤り検査値(M−N)に上記変換処理等を施して送信データとし、演出制御部120へ直ちに送信する。このようにして、主制御部110を構成する送信部500から誤り検査値付きの制御コマンドが演出制御部120へ送信されることとなる。   Subsequently, control unit 510 passes the control command (M) and error check value (MN) set in transmission buffer 530 to transmission circuit 540, and transmits these to transmission control unit 120 as transmission data. Specifically, control unit 510 outputs a transmission permission signal to transmission buffer 530 at a predetermined control command transmission timing triggered by detection by the detection unit. When a transmission permission signal is input from the control unit 510, the transmission buffer 530 immediately transfers the set control command (M) and error check value (MN) to the transmission circuit 540. The transmission circuit 540 performs the conversion process on the control command (M) and the error check value (MN) passed from the transmission buffer 530 to obtain transmission data, and immediately transmits it to the effect control unit 120. In this way, a control command with an error check value is transmitted from the transmission unit 500 constituting the main control unit 110 to the effect control unit 120.

その後、主制御部110を構成する送信部500から送信された制御コマンド(M)は、演出制御部120を構成する受信部700(図示せず)にて受信される。
受信部700は、主制御部110からの送信データに上記変換処理に対応する処理等を施して制御コマンド(M)とし、自身の受信バッファに記憶する。また、受信部700は、制御コマンド(M)の受信割込要求があった旨を示す信号を出力したり、制御コマンド(M)の受信が完了したことを示すフラグを立てたりして、サブCPU120aが、主制御部110から送信された制御コマンド(M)の受信が完了したことを検知できるようにする。
Thereafter, the control command (M) transmitted from the transmission unit 500 constituting the main control unit 110 is received by a reception unit 700 (not shown) constituting the effect control unit 120.
The receiving unit 700 performs a process corresponding to the conversion process on the transmission data from the main control unit 110 to generate a control command (M), and stores it in its own reception buffer. The receiving unit 700 outputs a signal indicating that a control command (M) reception interrupt request has been issued, or sets a flag indicating that reception of the control command (M) is completed, The CPU 120a can detect that the reception of the control command (M) transmitted from the main control unit 110 is completed.

そして、サブCPU120aは、受信した制御コマンド(M)の処理内容および受信順序を維持したまま、制御コマンド(M)を後続する後段制御部180へ中継送信する。
具体的には、サブCPU120aは、受信部700の受信バッファに記憶された制御コマンド(M)を、サブRAM120cの送信データ用記憶領域にそのまま書き込んでセットする。そして、サブCPU120aは、送信データ用記憶領域にセットされた制御コマンド(M)を、演出制御部120を構成する中継送信部740(図示せず)にセットし、中継送信部740にて後段制御部180へ送信させる。
Then, the sub CPU 120a relays and transmits the control command (M) to the succeeding subsequent stage control unit 180 while maintaining the processing content and the reception order of the received control command (M).
Specifically, the sub CPU 120a writes and sets the control command (M) stored in the reception buffer of the receiving unit 700 as it is in the transmission data storage area of the sub RAM 120c. Then, the sub CPU 120a sets the control command (M) set in the transmission data storage area to a relay transmission unit 740 (not shown) that constitutes the effect control unit 120, and the relay transmission unit 740 performs subsequent control. To the unit 180.

ここで、演出制御部120の受信部700は、主制御部110からの送信データと後段制御部180からの送信データとを受信するが、両者を区別する必要があるときは、主制御部110からの送信データを受信する受信部700を、「第1受信部700a」とし、後段制御部180からの送信データを受信する受信部700を、「第2受信部700b」とする。また、第1受信部700aから取り込んだデータを記憶する受信データ用記憶領域を「第1受信データ用記憶領域」とし、第2受信部700bから取り込んだデータを記憶する受信データ用記憶領域を「第2受信データ用記憶領域」とする。   Here, the receiving unit 700 of the effect control unit 120 receives the transmission data from the main control unit 110 and the transmission data from the subsequent control unit 180. When it is necessary to distinguish between the two, the main control unit 110 The receiving unit 700 that receives the transmission data from the receiver is referred to as a “first receiving unit 700a”, and the receiving unit 700 that receives the transmission data from the subsequent control unit 180 is referred to as a “second receiving unit 700b”. In addition, the storage area for received data that stores the data acquired from the first receiving unit 700a is referred to as a “first storage area for received data”, and the storage area for received data that stores the data acquired from the second receiving unit 700b is “ The second received data storage area ”.

その後、演出制御部120を構成する中継送信部740から送信された制御コマンド(M)は、後段制御部180を構成する受信部600にて受信される。
図8に、本実施形態に係る後段制御部180の認証処理に関する機能ブロックを示す。
後段制御部180は、認証処理に関する機能として、受信部600と、検査部610と、検査値生成部620と、付加部630と、中継送信部640と、を少なくとも有している。さらに、検査値生成部620は、誤り検査値を生成する生成部621と、生成した誤り検査値を格納する格納部622の機能を少なくとも有している。
Thereafter, the control command (M) transmitted from the relay transmission unit 740 configuring the effect control unit 120 is received by the reception unit 600 configuring the subsequent stage control unit 180.
FIG. 8 shows functional blocks related to authentication processing of the post-stage control unit 180 according to this embodiment.
The post-stage control unit 180 includes at least a reception unit 600, an inspection unit 610, an inspection value generation unit 620, an addition unit 630, and a relay transmission unit 640 as functions related to authentication processing. Furthermore, the check value generation unit 620 has at least functions of a generation unit 621 that generates an error check value and a storage unit 622 that stores the generated error check value.

受信部600は、送信データに上記変換処理に対応する処理等を施し、受信部600を構成する受信バッファに、主制御部110から送信された誤り検査値付き制御コマンド(M)を記憶させる機能を有するものである。また、受信部600は、主制御部110の送信データについて受信割込要求があった旨を示す信号を出力したり、主制御部110の送信データの受信が完了したことを示すフラグを立てたりして、後段制御部180のCPU180aが、主制御部110の送信データの受信が完了したことを検知できるようにする機能を有するものである。   The receiving unit 600 performs processing corresponding to the above conversion processing on the transmission data, and stores the control command (M) with the error check value transmitted from the main control unit 110 in the receiving buffer that configures the receiving unit 600. It is what has. In addition, the receiving unit 600 outputs a signal indicating that there is a reception interrupt request for transmission data of the main control unit 110, or sets a flag indicating that reception of transmission data of the main control unit 110 is completed. Thus, the CPU 180a of the post-stage control unit 180 has a function that can detect that the transmission of the transmission data of the main control unit 110 is completed.

また、受信部600は、受信した誤り検査値付きの制御コマンド(M)から、付加された誤り検査値(M−N)を抽出して検査部610へ出力するとともに、誤り検査値(M−N)を抽出後の制御コマンド(M)を検査値生成部620および付加部630へ出力する機能を有するものである。なお、受信部600の機能を実現する具体的な手段は、図4に示すCPU180aの一部、ROM180bの一部、RAM180cの一部、およびコマンド受信用入力ポート(図示せず)等から構成することができる。   The receiving unit 600 extracts the added error check value (MN) from the received control command (M) with the error check value and outputs the extracted error check value (MN) to the check unit 610. The control command (M) after extracting N) is output to the inspection value generation unit 620 and the addition unit 630. Note that specific means for realizing the function of the receiving unit 600 includes a part of the CPU 180a, a part of the ROM 180b, a part of the RAM 180c, and a command receiving input port (not shown) shown in FIG. be able to.

検査値生成部620は、生成部621によって受信部600から出力された制御コマンド(M)を用いて誤り検査値(M)を生成する機能を有するものであり、この機能で生成された誤り検査値は受信した制御コマンド(M)の正当性を検証するために用いられる。また、検査値生成部620は、生成部621で生成した誤り検査値(M)を格納部622に格納する機能を有するものである。また、検査値生成部620は、主制御部110との間で予め取り決められた誤り検査値の付加方法に基づいて、過去に格納部622にて格納しておいた誤り検査値を、検査部610へ出力する機能を有するものである。すなわち、検査値生成部620は、今回受信した制御コマンド(M)より前の制御コマンド(M−N)を用いて生成部621にて生成され、格納部622に格納しておいた誤り検査値(M−N)を検査部610へ出力する。   The check value generation unit 620 has a function of generating an error check value (M) using the control command (M) output from the reception unit 600 by the generation unit 621, and the error check generated by this function The value is used to verify the validity of the received control command (M). The check value generation unit 620 has a function of storing the error check value (M) generated by the generation unit 621 in the storage unit 622. In addition, the check value generation unit 620 uses the error check value stored in the storage unit 622 in the past based on the error check value addition method determined in advance with the main control unit 110. It has a function to output to 610. That is, the check value generation unit 620 generates the error check value generated by the generation unit 621 using the control command (MN) before the control command (M) received this time and stored in the storage unit 622. (MN) is output to the inspection unit 610.

生成部621が有する誤り検査値生成機能は、主制御部110が有する誤り検査値生成機能と同様のものであり、本実施形態では、主制御部110の上記生成回路521にて示された生成方式等である。この誤り検査値生成機能に対する選択情報も、主制御部110の生成パラメータと同様のものである。そして、これら後段制御部180の誤り検査値生成機能およびその選択情報は、予め主制御部110と後段制御部180との間で取り決められている。また、格納部622においても、主制御部110の上記格納回路522と同様に、検査値記憶領域と初期検査値記憶領域とを有し、初期検査値記憶領域には、N個の固有情報が予め格納されている。そして、M≦Nの場合には、受信した制御コマンド(1)〜制御コマンド(N)に対応する初期検査値(1)〜初期検査値(N)のいずれかを検査部610へ出力する。このとき、遊技機1のリセット時等、主制御部110または後段制御部180が初期化され、格納部622に格納されていた過去の誤り検査値がクリアされた場合には、ROM180bから固有情報を読み出し、初期検査値記憶領域に格納する。なお、生成部621および格納部622の機能を実現する具体的な手段は、図4に示すCPU180aの一部、ROM180bの一部、RAM180cの一部等から構成することができる。   The error check value generation function of the generation unit 621 is the same as the error check value generation function of the main control unit 110. In this embodiment, the generation shown by the generation circuit 521 of the main control unit 110 is performed. System. The selection information for the error check value generation function is the same as the generation parameter of the main control unit 110. The error check value generation function and the selection information thereof of the subsequent control unit 180 are negotiated between the main control unit 110 and the subsequent control unit 180 in advance. Similarly to the storage circuit 522 of the main control unit 110, the storage unit 622 has a test value storage area and an initial test value storage area, and N pieces of unique information are stored in the initial test value storage area. Stored in advance. If M ≦ N, any one of the initial inspection value (1) to the initial inspection value (N) corresponding to the received control command (1) to control command (N) is output to the inspection unit 610. At this time, when the main control unit 110 or the subsequent control unit 180 is initialized, such as when the gaming machine 1 is reset, and the past error check value stored in the storage unit 622 is cleared, the unique information is read from the ROM 180b. Are stored in the initial inspection value storage area. Note that specific means for realizing the functions of the generation unit 621 and the storage unit 622 can be configured from a part of the CPU 180a, a part of the ROM 180b, a part of the RAM 180c, and the like shown in FIG.

検査部610は、受信部600から出力された誤り検査値と、検査値生成部620の格納部622から出力された誤り検査値とを照合する誤り検査処理を行う機能を有するものである。誤り検査処理では、受信部600から出力された誤り検査値と、格納部622から出力された誤り検査値とを比較し、共に誤り検査値(M−N)で一致する場合は、検査結果は正常であると判断され、一致しない場合は、検査結果は正常でないと判断される。   The checking unit 610 has a function of performing an error checking process for collating the error check value output from the receiving unit 600 with the error check value output from the storage unit 622 of the check value generating unit 620. In the error check process, the error check value output from the receiving unit 600 is compared with the error check value output from the storage unit 622. If both match with the error check value (MN), the check result is If it is determined to be normal and does not match, it is determined that the test result is not normal.

検査結果が正常と判断された場合、検査部610は、今回受信した誤り検査値(M−N)が付加された制御コマンド(M)、および今回の誤り検査値(M−N)の生成元であるN個前の制御コマンド(M−N)の正当性を認証し、主制御部110の正当性を認証することができたと判断する。そして、検査部610は、認証成功を示す認証結果データを生成し、付加部630へ出力する。一方、検査結果が正常と判断されなかった場合は、検査部610は、不正行為や通信エラーなどが発生したため主制御部110の正当性を認証することができなかったと判断する。そして、検査部610は、認証不成功を示す認証結果データを生成し、付加部630へ出力する。なお、認証結果データのデータ形式は、特に限定されないが、受信した制御コマンドに付加された誤り検査値と同一のデータ長を有するデータ形式としておけばよい。また、検査部610の機能を実現する具体的な手段は、図4に示すCPU180aの一部、ROM180bの一部、RAM180cの一部等から構成することができる。   When the inspection result is determined to be normal, the inspection unit 610 generates the control command (M) to which the currently received error check value (MN) is added and the current error check value (MN) generation source. It is determined that the validity of the N previous control command (MN) is authenticated and the validity of the main control unit 110 can be authenticated. Then, the inspection unit 610 generates authentication result data indicating successful authentication and outputs the generated authentication result data to the adding unit 630. On the other hand, when the inspection result is not determined to be normal, the inspection unit 610 determines that the legitimacy of the main control unit 110 could not be authenticated due to an illegal act or a communication error. Then, the inspection unit 610 generates authentication result data indicating unsuccessful authentication and outputs it to the adding unit 630. The data format of the authentication result data is not particularly limited, but may be a data format having the same data length as the error check value added to the received control command. Further, specific means for realizing the function of the inspection unit 610 can be configured from a part of the CPU 180a, a part of the ROM 180b, a part of the RAM 180c, and the like shown in FIG.

付加部630は、受信部600から出力された、誤り検査値(M−N)抽出後の制御コマンド(M)に、検査部610から出力された認証結果データを付加し、認証結果データ付きの制御コマンド(M)を生成する機能を有するものである。また、付加部630は、生成した認証結果データ付きの制御コマンド(M)を中継送信部640へ出力する機能を有するものである。なお、付加部630の機能を実現する具体的な手段は、図4に示すCPU180aの一部、ROM180bの一部、およびRAM180cの一部等から構成することができる。   The adding unit 630 adds the authentication result data output from the checking unit 610 to the control command (M) output from the receiving unit 600 after extracting the error check value (MN), and includes the authentication result data. It has a function of generating a control command (M). The adding unit 630 has a function of outputting the generated control command (M) with authentication result data to the relay transmitting unit 640. Note that specific means for realizing the function of the adding unit 630 can be configured from a part of the CPU 180a, a part of the ROM 180b, a part of the RAM 180c, and the like shown in FIG.

中継送信部640は、付加部630から出力された認証結果データ付きの制御コマンド(M)を演出制御部120へ送信する機能を有するものである。中継送信部640が演出制御部120へ送信する認証結果データ付きの制御コマンド(M)は、受信部600にて受信した制御コマンド(M)と同一内容の演出処理を示すものである。すなわち、受信部600にて受信した制御コマンド(M)は、その具体的な処理内容および受信順序が維持された状態で中継送信部640へ出力され、中継送信部640にて演出制御部120へ送信されることとなる。なお、中継送信部640の機能を実現する具体的な手段は、図4に示すCPU180aの一部、ROM180bの一部、およびRAM180cの一部等から構成することができる。   The relay transmission unit 640 has a function of transmitting the control command (M) with authentication result data output from the adding unit 630 to the effect control unit 120. The control command (M) with authentication result data transmitted from the relay transmission unit 640 to the effect control unit 120 indicates an effect process having the same content as the control command (M) received by the receiving unit 600. That is, the control command (M) received by the receiving unit 600 is output to the relay transmitting unit 640 in a state where the specific processing content and the receiving order are maintained, and the relay transmitting unit 640 sends the control command (M) to the effect control unit 120. Will be sent. Note that specific means for realizing the function of the relay transmission unit 640 can be configured from a part of the CPU 180a, a part of the ROM 180b, a part of the RAM 180c, and the like shown in FIG.

後段制御部180は、生成した認証結果データを演出制御部120へ送信する際に、受信した制御コマンドに付加して演出制御部120へ送信する。すなわち、認証結果データは、認証結果データ単体では送信されず、他の送信データである制御コマンドと一体的に演出制御部120へ送信されることとなる。認証結果データと誤り検査値とを同一のデータ長を有するデータ形式としておけば、主制御部110から演出制御部120を介して後段制御部180へ送信される送信データと、後段制御部180から演出制御部120へ送信される送信データとは同一のデータ長を有するデータ形式とすることができる。このようにすることで、不正者が、後段制御部180と演出制御部120の間の送信データを窃取して、認証結果データの演出制御部120への送信タイミングを不正に解析することが困難となり、遊技機1のセキュリティ強度を向上することができる。   When transmitting the generated authentication result data to the effect control unit 120, the latter-stage control unit 180 adds the received authentication command data to the effect control unit 120 and transmits it. That is, the authentication result data is not transmitted by the authentication result data alone, but is transmitted to the effect control unit 120 integrally with the control command which is other transmission data. If the authentication result data and the error check value are in a data format having the same data length, the transmission data transmitted from the main control unit 110 to the subsequent control unit 180 via the effect control unit 120 and the subsequent control unit 180 The transmission data transmitted to the effect control unit 120 can be in a data format having the same data length. By doing so, it is difficult for an unauthorized person to steal transmission data between the post-stage control unit 180 and the production control unit 120 and to illegally analyze the transmission timing of the authentication result data to the production control unit 120. Thus, the security strength of the gaming machine 1 can be improved.

[制御コマンドの説明]
以下、本発明の実施形態に係る遊技機1の主制御部110から演出制御部120に対して送信される制御コマンドの種別について説明する。
図9は、本実施形態に係る遊技機1を構成する主制御部110から演出制御部120へ送信される制御コマンドの種別を示す図である。なお、図9に示された制御コマンドは一例であり、本発明に係る制御コマンドはこれに限定されるものではない。
[Explanation of control commands]
Hereinafter, the types of control commands transmitted from the main control unit 110 to the effect control unit 120 of the gaming machine 1 according to the embodiment of the present invention will be described.
FIG. 9 is a diagram showing the types of control commands transmitted from the main control unit 110 to the effect control unit 120 constituting the gaming machine 1 according to the present embodiment. The control command shown in FIG. 9 is an example, and the control command according to the present invention is not limited to this.

主制御部110から演出制御部120へ送信される制御コマンドは、1コマンドが2バイトのデータで構成されており、制御コマンドの分類を識別するための1バイトの「MODE」の情報と、各制御コマンドの詳細な制御内容を示す1バイトの「DATA」の情報とから構成されている。「MODE」の情報と「DATA」の情報は、上記のようにメインROM110bに予め記憶されている。なお、本実施形態では、制御コマンドには誤り検査値が付加され、誤り検査値付きの制御コマンドとして演出制御部120に送信されるが、以下の説明において、「制御コマンドを送信する」との表現には、制御コマンドに誤り検査値を付加して送信することが含まれる。   The control command transmitted from the main control unit 110 to the production control unit 120 is composed of 1-byte data, and 1-byte “MODE” information for identifying the control command classification, It consists of 1-byte “DATA” information indicating the detailed control contents of the control command. The “MODE” information and the “DATA” information are stored in advance in the main ROM 110b as described above. In this embodiment, an error check value is added to the control command and transmitted to the effect control unit 120 as a control command with an error check value. In the following description, “transmit a control command” The expression includes transmitting the control command with an error check value.

「演出図柄指定コマンド」は、停止表示される特別図柄の種別を示すものであり、「MODE」の情報が「E0H」で設定され、特別図柄の種別に合わせて「DATA」の情報が設定されている。なお、特別図柄の種別が結果的に大当たりの種別や遊技状態を決定するものであるから、演出図柄指定コマンドは、大当たりの種別や、遊技状態を示すものともいえる。
この演出図柄指定コマンドは、各種の特別図柄が決定され、特別図柄の変動表示が開始されるときに、決定された特別図柄に対応する演出図柄指定コマンドが演出制御部120に送信される。具体的には、大当たりの抽選結果を判定し特別図柄各種の特別図柄が決定され特別図柄の変動表示が開始されるときに、決定された特別図柄に対応する演出図柄指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされている演出図柄指定コマンドが演出制御部120へ直ちに送信されることになる。
なお、演出図柄指定コマンド等と関連する大当たりの抽選に関する処理については後述する。
The “designation designating command” indicates the type of the special symbol that is stopped and displayed. The “MODE” information is set as “E0H”, and the “DATA” information is set according to the special symbol type. ing. Since the special symbol type eventually determines the jackpot type and gaming state, the effect symbol designation command can also be said to indicate the jackpot type and gaming state.
In the effect symbol designation command, when various special symbols are determined and the variation display of the special symbol is started, an effect symbol designation command corresponding to the determined special symbol is transmitted to the effect control unit 120. Specifically, when the lottery result of the jackpot is determined, various special symbols are determined, and the variation display of the special symbols is started, an effect designating command corresponding to the determined special symbol is transmitted to the main RAM 110c. Set in the data storage area. Thereafter, the effect designating command set in the transmission data storage area is immediately transmitted to the effect control unit 120.
The process related to the jackpot lottery related to the production symbol designation command will be described later.

「第1特別図柄記憶指定コマンド」は、第1特別図柄保留数(U1)記憶領域に記憶されている保留記憶数を示すものであり、「MODE」の情報が「E1H」で設定され、保留記憶数に合わせて「DATA」の情報が設定されている。
この第1特別図柄記憶指定コマンドは、第1特別図柄保留数(U1)記憶領域に記憶されている保留記憶数が切り替わるときに、保留記憶数に対応する第1特別図柄記憶指定コマンドが演出制御部120に送信される。具体的には、第1始動口14への入球や大当たりの抽選結果の判定に際し第1特別図柄保留数(U1)記憶領域に記憶されている値が増減したときに、増減後の保留記憶数に対応する第1特別図柄記憶指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされている第1特別図柄記憶指定コマンドが演出制御部120へ直ちに送信されることになる。
The “first special symbol memory designation command” indicates the number of reserved memories stored in the first special symbol reservation number (U1) storage area, and the information of “MODE” is set to “E1H”, “DATA” information is set according to the number of memories.
This first special symbol memory designation command is effect-controlled by the first special symbol memory designation command corresponding to the number of reserved memories when the number of reserved memories stored in the first special symbol reservation number (U1) storage area is switched. Is transmitted to the unit 120. Specifically, when the value stored in the first special symbol hold number (U1) storage area is increased or decreased when determining the result of entering the first start port 14 or the big win lottery result, the reserved memory after the increase or decrease is stored. The first special symbol storage designation command corresponding to the number is set in the transmission data storage area of the main RAM 110c. Thereafter, the first special symbol storage designation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.

「第2特別図柄記憶指定コマンド」は、第2特別図柄保留数(U2)記憶領域に記憶されている保留記憶数を示すものであり、「MODE」の情報が「E2H」で設定され、保留記憶数に合わせて「DATA」の情報が設定されている。
この第2特別図柄記憶指定コマンドは、第2特別図柄保留数(U2)記憶領域に記憶されている保留記憶数が切り替わるときに、保留記憶数に対応する第2特別図柄記憶指定コマンドが演出制御部120に送信される。具体的には、第2始動口15への入球や大当たりの抽選結果の判定に際し第2特別図柄保留数(U2)記憶領域に記憶されている値が増減したときに、増減後の保留記憶数に対応する第2特別図柄記憶指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされている第2特別図柄記憶指定コマンドが演出制御部120へ直ちに送信されることになる。
なお、本実施形態では、「第1特別図柄記憶指定コマンド」と「第2特別図柄記憶指定コマンド」とをまとめて「特別図柄記憶指定コマンド」という。
The “second special symbol memory designation command” indicates the number of reserved memories stored in the second special symbol reservation number (U2) storage area, and the information of “MODE” is set to “E2H”, “DATA” information is set according to the number of memories.
This second special symbol memory designation command is directed by the second special symbol memory designation command corresponding to the number of reserved memories when the number of reserved memories stored in the second special symbol reservation number (U2) storage area is switched. Is transmitted to the unit 120. Specifically, when the value stored in the second special symbol holding number (U2) storage area is increased or decreased in determining the result of entering the second starting port 15 or the jackpot lottery result, the holding storage after the increase / decrease is performed. The second special symbol storage designation command corresponding to the number is set in the transmission data storage area of the main RAM 110c. Thereafter, the second special symbol storage designation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.
In the present embodiment, the “first special symbol memory designation command” and the “second special symbol memory designation command” are collectively referred to as “special symbol memory designation command”.

「図柄確定コマンド」は、特別図柄が停止表示されていることを示すものであり、「MODE」の情報が「E3H」で設定され、「DATA」の情報が「00H」に設定されている。
この図柄確定コマンドは、特別図柄が停止表示されているときに演出制御部120に送信される。具体的には、大当たりの抽選結果を判定し特別図柄の変動時間が経過した後に、特別図柄を第1特別図柄表示装置20または第2特別図柄表示装置21に停止表示させるときに、図柄確定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされている図柄確定コマンドが演出制御部120へ直ちに送信されることになる。
The “symbol confirmation command” indicates that the special symbol is stopped and displayed, and “MODE” information is set to “E3H” and “DATA” information is set to “00H”.
This symbol confirmation command is transmitted to the effect control unit 120 when the special symbol is stopped and displayed. Specifically, after determining the jackpot lottery result and the special symbol change time has elapsed, when the special symbol is stopped and displayed on the first special symbol display device 20 or the second special symbol display device 21, the symbol confirmation command Is set in the transmission data storage area of the main RAM 110c. Thereafter, the symbol confirmation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.

「電源投入時指定コマンド」は、遊技機1の電源が投入されたことを示すものであり、「MODE」の情報が「E4H」で設定され、「DATA」の情報が「00H」に設定されている。
この電源投入時指定コマンドは、遊技機1の電源が投入されたときに演出制御部120に送信される。遊技機1の電源が投入され主制御部110の初期化処理が行われる際に、電源遮断時(以下、「電断時」という)に生成したメインRAM110cのバックアップ情報が有効でない場合は、メインRAM110cの作業領域がクリアされ、新たに作業領域の設定が行われる。その後、電源投入時指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされている電源投入時指定コマンドが演出制御部120へ直ちに送信されることになる。
なお、電源投入時指定コマンド等と関連する初期化処理については後述する。
The “power-on designation command” indicates that the gaming machine 1 is powered on, the “MODE” information is set to “E4H”, and the “DATA” information is set to “00H”. ing.
The power-on designation command is transmitted to the effect control unit 120 when the gaming machine 1 is powered on. When the gaming machine 1 is powered on and the initialization process of the main control unit 110 is performed, if the backup information of the main RAM 110c generated when the power is turned off (hereinafter referred to as “power interruption”) is not valid, The work area in the RAM 110c is cleared and a new work area is set. Thereafter, a power-on designation command is set in the transmission data storage area of the main RAM 110c. Thereafter, the power-on designation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.
The initialization process related to the power-on designation command and the like will be described later.

「RAMクリア指定コマンド」は、メインRAM110cに記憶された情報がクリアされたことを示すものであり、「MODE」の情報が「E4H」で設定され、「DATA」の情報が「01H」に設定されている。
遊技機1の裏側には図示しないRAMクリアボタンが設けられており、RAMクリアボタンを押下しながら遊技機1の電源を投入すると、主制御部110にシステムリセットが発生し初期化処理が行われる。そして、メインRAM110cの作業領域がクリアされ新たに作業領域の設定が行われ電源投入時指定コマンドを送信した後に、RAMクリア指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされているRAMクリア指定コマンドが演出制御部120へ直ちに送信されることになる。
The “RAM clear designation command” indicates that the information stored in the main RAM 110c has been cleared. The “MODE” information is set to “E4H” and the “DATA” information is set to “01H”. Has been.
A RAM clear button (not shown) is provided on the back side of the gaming machine 1. When the gaming machine 1 is turned on while pressing the RAM clear button, a system reset occurs in the main control unit 110 and initialization processing is performed. . After the work area of the main RAM 110c is cleared and a new work area is set and a power-on designation command is transmitted, the RAM clear designation command is set in the transmission data storage area of the main RAM 110c. Thereafter, the RAM clear designation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.

「電源復旧指定コマンド」は、遊技機1の電源が投入されて、正常に復旧したことを示すものであり、「MODE」の情報が「E4H」で設定され、電断時の遊技状態別に合わせて「DATA」の情報が設定されている。
この電源復旧指定コマンドは、遊技機1の電源が投入されて、正常に復旧したときに演出制御部120に送信される。具体的には、遊技機1の電源が投入され初期化処理が行われる際に、電断時に生成したメインRAM110cのバックアップ情報が有効である場合は、バックアップ情報が示す遊技状態に応じた電源復旧指定コマンドを生成し、生成した電源復旧指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされている電源復旧指定コマンドが演出制御部120へ直ちに送信されることになる。
The “power recovery designation command” indicates that the gaming machine 1 has been powered on and has been restored normally. The “MODE” information is set to “E4H” and is matched according to the gaming state at the time of power interruption. "DATA" information is set.
This power supply restoration designation command is transmitted to the effect control unit 120 when the gaming machine 1 is turned on and normally restored. Specifically, when the gaming machine 1 is turned on and the initialization process is performed, if the backup information of the main RAM 110c generated at the time of power interruption is valid, the power is restored according to the gaming state indicated by the backup information. A designated command is generated, and the generated power supply restoration designation command is set in the transmission data storage area of the main RAM 110c. Thereafter, the power restoration designation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.

「デモ指定コマンド」は、第1特別図柄表示装置20または第2特別図柄表示装置21が作動していないことを示すものであり、「MODE」の情報が「E5H」で設定され、「DATA」の情報が「00H」に設定されている。
このデモ指定コマンドは、第1特別図柄表示装置20または第2特別図柄表示装置21の特別図柄の保留記憶がないときに、演出制御部120に送信される。具体的には、大当たりの抽選、特別電動役物、遊技状態の制御を行うに際し、第1特別図柄保留数(U1)記憶領域または第2特別図柄保留数(U2)記憶領域のいずれの記憶領域にも1以上のデータがセットされていないときに、デモ指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされているデモ指定コマンドが演出制御部120へ直ちに送信されることになる。
The “demonstration designation command” indicates that the first special symbol display device 20 or the second special symbol display device 21 is not operating, the information of “MODE” is set to “E5H”, and “DATA” Is set to “00H”.
This demonstration designation command is transmitted to the effect control unit 120 when there is no special symbol holding storage of the first special symbol display device 20 or the second special symbol display device 21. Specifically, when the jackpot lottery, the special electric accessory, and the gaming state are controlled, either the first special symbol hold number (U1) storage area or the second special symbol hold number (U2) storage area When one or more data is not set, the demo designation command is set in the transmission data storage area of the main RAM 110c. Thereafter, the demonstration designation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.

「第1特別図柄用変動パターン指定コマンド」は、第1特別図柄表示装置20における特別図柄の変動時間(変動態様)を示すものであり、「MODE」の情報が「E6H」で設定され、各種の変動パターンに合わせて「DATA」の情報が設定されている。
この第1特別図柄用変動パターン指定コマンドは、第1特別図柄表示装置20の特別図柄の変動表示が開始されるときに、決定された特別図柄の変動パターンに対応する第1特別図柄用変動パターン指定コマンドが演出制御部120に送信される。具体的には、大当たりの抽選結果を判定し特別図柄の変動パターンが決定され特別図柄の変動表示が開始されるときに、決定された特別図柄の変動パターンに対応する第1特別図柄用変動パターン指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされている第1特別図柄用変動パターン指定コマンドが演出制御部120へ直ちに送信されることになる。
The “variable pattern designation command for the first special symbol” indicates the variation time (variation mode) of the special symbol in the first special symbol display device 20, the information of “MODE” is set as “E6H”, and various “DATA” information is set in accordance with the fluctuation pattern.
The first special symbol variation pattern designation command is a first special symbol variation pattern corresponding to the variation pattern of the special symbol determined when the special symbol variation display of the first special symbol display device 20 is started. A designation command is transmitted to the effect control unit 120. Specifically, the variation pattern for the first special symbol corresponding to the determined variation pattern of the special symbol when the variation pattern of the special symbol is determined and the variation display of the special symbol is started by judging the lottery result of the jackpot The designated command is set in the transmission data storage area of the main RAM 110c. Thereafter, the first special symbol variation pattern designation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.

「第2特別図柄用変動パターン指定コマンド」は、第2特別図柄表示装置21における特別図柄の変動時間(変動態様)を示すものであり、「MODE」の情報が「E7H」で設定され、各種の変動パターンに合わせて「DATA」の情報が設定されている。
この第2特別図柄用変動パターン指定コマンドは、第2特別図柄表示装置21の特別図柄の変動表示が開始されるときに、決定された特別図柄の変動パターンに対応する第2特別図柄用変動パターン指定コマンドが演出制御部120に送信される。具体的には、大当たりの抽選結果を判定し特別図柄の変動パターンが決定され特別図柄の変動表示が開始されるときに、決定された特別図柄の変動パターンに対応する第2特別図柄用変動パターン指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされている第2特別図柄用変動パターン指定コマンドが演出制御部120へ直ちに送信されることになる。
なお、本実施形態では、「第1特別図柄用変動パターン指定コマンド」と「第2特別図柄用変動パターン指定コマンド」とをまとめて、「変動パターン指定コマンド」という。
The “variable pattern designation command for the second special symbol” indicates the variation time (variation mode) of the special symbol in the second special symbol display device 21, and the information of “MODE” is set to “E7H”. “DATA” information is set in accordance with the fluctuation pattern.
The second special symbol variation pattern designation command is a second special symbol variation pattern corresponding to the variation pattern of the special symbol determined when the special symbol variation display of the second special symbol display device 21 is started. A designation command is transmitted to the effect control unit 120. Specifically, the variation pattern for the second special symbol corresponding to the determined variation pattern of the special symbol when the variation pattern of the special symbol is determined and the variation display of the special symbol is started by judging the lottery lottery result The designated command is set in the transmission data storage area of the main RAM 110c. Thereafter, the second special symbol variation pattern designation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.
In the present embodiment, the “first special symbol variation pattern designation command” and the “second special symbol variation pattern designation command” are collectively referred to as a “variation pattern designation command”.

「大入賞口開放指定コマンド」は、各種大当りの種別に合わせた大当たりのラウンド数を示すものであり、「MODE」の情報が「EAH」で設定され、大当たりのラウンド数に合わせて「DATA」の情報が設定されている。
この大入賞口開放指定コマンドは、大当りラウンドが開始されるときに、開始されたラウンド数に対応する大入賞口開放指定コマンドが演出制御部120に送信される。具体的には、大当たり遊技処理において第1大入賞口開閉扉16b(または第2大入賞口開閉扉17b)を開放させるときに、開放させるときのラウンド数に対応する大入賞口開放指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされている大入賞口開放指定コマンドが演出制御部120へ直ちに送信されることになる。
The “big prize opening opening designation command” indicates the number of rounds of jackpots according to various types of jackpots, the “MODE” information is set as “EAH”, and “DATA” is set according to the number of rounds of jackpots. Information is set.
With respect to the special winning opening opening designation command, when the big hit round is started, the big winning opening opening designation command corresponding to the started round number is transmitted to the effect control unit 120. Specifically, when the first big prize opening opening / closing door 16b (or the second big prize opening opening / closing door 17b) is opened in the big hit game process, the big winning opening opening designation command corresponding to the number of rounds to be opened is It is set in the transmission data storage area of the main RAM 110c. Thereafter, the special winning opening opening designation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.

「オープニング指定コマンド」は、各種の大当りが開始することを示すものであり、「MODE」の情報が「EBH」で設定され、大当たりの種別に合わせて「DATA」の情報が設定されている。
このオープニング指定コマンドは、各種の大当りが開始するときに、大当たりの種別に対応するオープニング指定コマンドが演出制御部120に送信される。具体的には、大当たり遊技処理の開始のときに、大当たりの種別に対応するオープニング指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされているオープニング指定コマンドが演出制御部120へ直ちに送信されることになる。
The “opening designation command” indicates that various jackpots start, “MODE” information is set as “EBH”, and “DATA” information is set according to the jackpot type.
As for this opening designation command, when various jackpots start, an opening designation command corresponding to the type of jackpot is transmitted to the effect control unit 120. Specifically, at the start of the jackpot game process, an opening designation command corresponding to the jackpot type is set in the transmission data storage area of the main RAM 110c. Thereafter, the opening designation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.

「エンディング指定コマンド」は、各種の大当りが終了したことを示すものであり、「MODE」の情報が「ECH」で設定され、大当たりの種別に合わせて「DATA」の情報が設定されている。
このエンディング指定コマンドは、各種の大当りが終了するときに、大当たりの種別に対応するエンディング指定コマンドが演出制御部120に送信される。具体的には、大当り遊技終了処理の開始のときに、大当たりの種別に対応するエンディング指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされているエンディング指定コマンドが演出制御部120へ直ちに送信されることになる。
“Ending designation command” indicates that various jackpots have ended, “MODE” information is set as “ECH”, and “DATA” information is set according to the jackpot type.
As for the ending designation command, when various jackpots are completed, the ending designation command corresponding to the jackpot type is transmitted to the effect control unit 120. Specifically, at the start of the jackpot game end process, an ending designation command corresponding to the jackpot type is set in the transmission data storage area of the main RAM 110c. Thereafter, the ending designation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.

「遊技状態指定コマンド」は、遊技状態の内容を示すものであり、「MODE」の情報が「EDH」で設定され、遊技状態の内容に合わせて「DATA」の情報が設定されている。
この遊技状態指定コマンドは、特別図柄の変動開始時および変動終了時に遊技状態指定コマンドが演出制御部120に送信される。具体的には、特別図柄の変動開始時および変動終了時などによって、遊技状態記憶領域や高確率遊技回数カウンタなどの現在の遊技状態を示すデータを記憶した各種記憶領域の値が変化したときに、現在の遊技状態に対応する遊技状態指定コマンドがメインRAM110cの送信データ用記憶領域にセットされる。その後、送信データ用記憶領域にセットされている遊技状態指定コマンドが演出制御部120へ直ちに送信されることになる。
The “gaming state designation command” indicates the contents of the gaming state, the information of “MODE” is set as “EDH”, and the information of “DATA” is set according to the contents of the gaming state.
As for the gaming state designation command, the gaming state designation command is transmitted to the effect control unit 120 at the start and end of the variation of the special symbol. Specifically, when the value of various storage areas storing data indicating the current gaming state, such as the gaming state storage area and the high probability game number counter, changes due to the start and end of the change of the special symbol A gaming state designation command corresponding to the current gaming state is set in the transmission data storage area of the main RAM 110c. Thereafter, the gaming state designation command set in the transmission data storage area is immediately transmitted to the effect control unit 120.

[主制御部の制御処理]
以下、本発明の実施形態に係る遊技機1の主制御部110の制御処理について説明する。まず、主制御部110のメイン処理について説明する。
図10は、本実施形態に係る主制御部110によるメイン処理を示すフローチャートである。
[Control processing of main control unit]
Hereinafter, the control process of the main control unit 110 of the gaming machine 1 according to the embodiment of the present invention will be described. First, main processing of the main control unit 110 will be described.
FIG. 10 is a flowchart showing main processing by the main control unit 110 according to the present embodiment.

遊技機1に電源が投入され、電源部170により電源が供給されると、主制御部110にシステムリセットが発生し、メインCPU110aは、初期化処理(図10のステップS1〜ステップS17までの処理)および乱数値更新処理(図10のステップS20およびステップS30の処理)を行う。   When the gaming machine 1 is powered on and powered by the power supply unit 170, a system reset occurs in the main control unit 110, and the main CPU 110a performs initialization processing (processing from step S1 to step S17 in FIG. 10). ) And random number value update processing (step S20 and step S30 in FIG. 10).

ステップS1において、メインCPU110aは、主制御部110の初期化処理の前提としてブート処理を行う。このブート処理において、メインCPU110aは、自身の自己診断処理や、内蔵回路や周辺回路等の初期化および初期値の設定を行う。なお、ブート処理の詳細については後述する。
ステップS2において、メインCPU110aは、メインRAM110cへのアクセスを許可に設定する。
ステップS3において、メインCPU110aは、RAMクリアスイッチがオンとなっているか判定し、RAMクリアスイッチがオンと判定された場合、RAMクリアを行うためステップS10に処理を移す。一方、RAMクリアスイッチがオンと判定されなかた場合には、ステップS4に処理を移す。
In step S1, the main CPU 110a performs a boot process as a premise of the initialization process of the main control unit 110. In this boot process, the main CPU 110a performs its own self-diagnosis process, initialization of built-in circuits and peripheral circuits, and setting of initial values. Details of the boot process will be described later.
In step S2, the main CPU 110a sets permission to access the main RAM 110c.
In step S3, the main CPU 110a determines whether or not the RAM clear switch is on. If it is determined that the RAM clear switch is on, the main CPU 110a moves the process to step S10 to perform RAM clear. On the other hand, if the RAM clear switch is not determined to be on, the process proceeds to step S4.

ステップS4において、メインCPU110aは、電源投入時のメインRAM110cの所定の記憶領域におけるチェックサムを生成する。
ステップS5において、メインCPU110aは、生成したチェックサムと、電断時に生成したメインRAM110cの所定の記憶領域におけるチェックサムとを比較する。ここで、一致していれば正常と判定し、ステップS6に処理を移し、一致していなければエラーと判定し、ステップS10に処理を移す。
ステップS6において、メインCPU110aは、演出制御部120をはじめとした周辺部300との間で、起動後の動作の開始タイミングを調整する。具体的には、周辺部300がすべて起動し安定状態となってから演出処理等をほぼ同じタイミングで開始できるように、一定時間だけ待機する。
In step S4, the main CPU 110a generates a checksum in a predetermined storage area of the main RAM 110c when the power is turned on.
In step S5, the main CPU 110a compares the generated checksum with the checksum in the predetermined storage area of the main RAM 110c generated at the time of power interruption. If they match, it is determined to be normal, and the process proceeds to step S6. If they do not match, it is determined to be an error, and the process proceeds to step S10.
In step S <b> 6, the main CPU 110 a adjusts the start timing of the operation after activation with the peripheral unit 300 including the effect control unit 120. Specifically, after all the peripheral parts 300 are activated and become stable, the apparatus waits for a certain period of time so that the rendering process can be started at almost the same timing.

ステップS7において、メインCPU110aは、電断からの復旧に際して初期値を必要とするメインRAM110cの作業領域に初期値を設定し、バックアップが有効である場合のRAMの設定処理を行う。
ステップS8において、メインCPU110aは、電断時の遊技状態に復旧すべく、電断時に生成したメインRAM110cのバックアップ情報を読み込む。具体的には、バックアップされているメインRAM110cの遊技状態記憶領域から遊技状態の情報を読み込む。
ステップS9において、メインCPU110aは、読み込んだ遊技状態の情報に基づいて電源復旧指定コマンドを決定し、決定した電源復旧指定コマンドをメインRAM110cの送信データ用記憶領域にセットする。
In step S7, the main CPU 110a sets an initial value in the work area of the main RAM 110c that requires an initial value upon recovery from power interruption, and performs a RAM setting process when backup is valid.
In step S8, the main CPU 110a reads the backup information of the main RAM 110c generated at the time of power interruption in order to restore the gaming state at the time of power interruption. Specifically, the game state information is read from the game state storage area of the main RAM 110c that is backed up.
In step S9, the main CPU 110a determines a power restoration designation command based on the read gaming state information, and sets the decided power restoration designation command in the transmission data storage area of the main RAM 110c.

ステップS10において、メインCPU110aは、上記ステップS6と同様に周辺部300との間でのタイミング調整を行う。
ステップS11において、メインCPU110aは、メインRAM110cの使用領域をクリアする。
ステップS12において、メインCPU110aは、各種乱数値の初期値の設定をはじめとする、遊技機1の初期化に際して初期値を必要とするメインRAM110cの作業領域に初期値を設定し、バックアップが有効でない場合のメインRAM110cの設定処理を行う。
In step S10, the main CPU 110a performs timing adjustment with the peripheral portion 300 in the same manner as in step S6.
In step S11, the main CPU 110a clears the used area of the main RAM 110c.
In step S12, the main CPU 110a sets initial values in the work area of the main RAM 110c that requires initial values when initializing the gaming machine 1, including setting initial values of various random numbers, and backup is not valid. In this case, the main RAM 110c is set.

ステップS13において、メインCPU110aは、電源投入時指定コマンドを生成し、生成した電源投入時指定コマンドをメインRAM110cの送信データ用記憶領域にセットする。
ステップS14において、メインCPU110aは、送信データ用記憶領域にセットされている制御コマンドを演出制御部120へ送信するコマンド送信処理を行う。すなわち、電源投入時指定コマンドを演出制御部120へ送信する。なお、本ステップS14およびステップS16のコマンド送信処理は、上記検査値生成処理および上記検査値付加処理を伴う。さらに、この検査値付加処理では、格納回路522の初期検査値記憶領域への上記固有情報の設定処理を伴う。コマンド送信処理の詳細については後述する。
In step S13, the main CPU 110a generates a power-on designation command, and sets the generated power-on designation command in the transmission data storage area of the main RAM 110c.
In step S14, the main CPU 110a performs a command transmission process for transmitting the control command set in the transmission data storage area to the effect control unit 120. That is, a power-on designation command is transmitted to the effect control unit 120. Note that the command transmission processing in steps S14 and S16 involves the inspection value generation processing and the inspection value addition processing. Further, this inspection value addition processing involves setting processing of the specific information in the initial inspection value storage area of the storage circuit 522. Details of the command transmission process will be described later.

ステップS15において、メインCPU110aは、RAMクリア指定コマンドを生成し、生成したRAMクリア指定コマンドをメインRAM110cの送信データ用記憶領域にセットする。
ステップS16において、メインCPU110aは、メインRAM110cの送信データ用記憶領域にセットされている制御コマンドを演出制御部120へ送信するコマンド送信処理を行う。すなわち、電源復旧指定コマンドまたはRAMクリア指定コマンドのいずれかの制御コマンドを演出制御部120へ送信する。
ステップS17において、メインCPU110aは、割込許可の設定をするとともに、タイマ割込プログラムの実行周期(α、例えば4ミリ秒)を設定する。
In step S15, the main CPU 110a generates a RAM clear designation command, and sets the generated RAM clear designation command in the transmission data storage area of the main RAM 110c.
In step S16, the main CPU 110a performs a command transmission process for transmitting the control command set in the transmission data storage area of the main RAM 110c to the effect control unit 120. That is, the control command of either the power supply restoration designation command or the RAM clear designation command is transmitted to the effect control unit 120.
In step S <b> 17, the main CPU 110 a sets the interrupt permission and sets the execution period (α, for example, 4 milliseconds) of the timer interrupt program.

なお、ステップS14およびステップS16のコマンド送信処理は、本ステップ17での割込許可後に行われるタイマ割込処理の中で行ってもよい。このとき、各制御コマンドの送信順番が前後しないよう予め取り決めておく。   Note that the command transmission processing in step S14 and step S16 may be performed in the timer interrupt processing performed after interrupt permission in step 17. At this time, it is determined in advance that the transmission order of each control command is not changed.

ステップS20において、メインCPU110aは、特別図柄の変動態様(変動時間)を決定するためのリーチ判定用乱数値および特図変動用乱数値を更新する演出用乱数値更新処理を行う。
ステップS30において、メインCPU110aは、特別図柄判定用初期乱数値、大当たり図柄用初期乱数値、小当たり図柄用初期値乱数値、普通図柄判定用初期乱数値を更新する初期乱数値更新処理を行う。その後、所定の割込処理が行われるまで、ステップS20とステップS30との処理を繰り返し行う。
In step S20, the main CPU 110a performs an effect random number update process for updating the reach determination random number value and the special figure variation random value for determining the variation mode (variation time) of the special symbol.
In step S30, the main CPU 110a performs an initial random value updating process for updating the special symbol determining initial random number value, the big hit symbol initial random number value, the small hit symbol initial random number value, and the normal symbol determining initial random number value. Thereafter, the processes in steps S20 and S30 are repeated until a predetermined interrupt process is performed.

次に、主制御部110の割込処理について説明する。
図11は、本実施形態に係る主制御部110による割込処理を示すフローチャートである。
メインCPU110aは、主制御部110に設けられたクロックパルス発生回路(図示せず)から出力されるクロック信号に基づいて、所定の周期(α)ごとに、主制御部110のタイマ割込処理を実行する。
Next, interrupt processing of the main control unit 110 will be described.
FIG. 11 is a flowchart showing interrupt processing by the main control unit 110 according to the present embodiment.
The main CPU 110a performs timer interruption processing of the main control unit 110 at predetermined intervals (α) based on a clock signal output from a clock pulse generation circuit (not shown) provided in the main control unit 110. Run.

まず、ステップS100において、メインCPU110aは、メインCPU110aのレジスタに記憶されている情報をスタック領域に退避させる。   First, in step S100, the main CPU 110a saves the information stored in the register of the main CPU 110a to the stack area.

ステップS110において、メインCPU110aは、特別図柄時間カウンタの更新処理、特別電動役物の開放時間等などの特別遊技タイマカウンタの更新処理、普通図柄時間カウンタの更新処理、普電開放時間カウンタの更新処理等の各種タイマカウンタを更新する時間制御処理を行う。具体的には、特別図柄時間カウンタ、特別遊技タイマカウンタ、普通図柄時間カウンタ、普電開放時間カウンタから1を減算する処理を行う。   In step S110, the main CPU 110a updates the special symbol time counter, updates the special game timer counter such as the opening time of the special electric accessory, updates the normal symbol time counter, and updates the normal power release time counter. A time control process for updating various timer counters is performed. Specifically, a process of subtracting 1 from a special symbol time counter, a special game timer counter, a normal symbol time counter, and a general electricity open time counter is performed.

ステップS120において、メインCPU110aは、特別図柄判定用乱数値、大当たり図柄用乱数値、小当たり図柄用乱数値、普通図柄判定用乱数値の乱数更新処理を行う。
具体的には、それぞれの乱数値および乱数カウンタに1を加算して更新する。なお、加算した乱数カウンタが乱数範囲の最大値を超えた場合(乱数カウンタが1周した場合)には、乱数カウンタを0に戻し、その時の初期乱数値からそれぞれの乱数値を新たに更新する。
In step S120, the main CPU 110a performs a random number update process for the special symbol determination random number value, the big hit symbol random number value, the small hit symbol random number value, and the normal symbol determination random number value.
Specifically, 1 is added to each random number value and random number counter to be updated. When the added random number counter exceeds the maximum value in the random number range (when the random number counter makes one round), the random number counter is returned to 0, and each random number value is newly updated from the initial random number value at that time. .

ステップS130において、メインCPU110aは、ステップS30と同様に、特別図柄判定用初期乱数値、大当たり図柄用初期乱数値、小当たり図柄用初期値乱数値、普通図柄判定用初期乱数値を更新する初期乱数値更新処理を行う。   In step S130, as in step S30, the main CPU 110a updates the initial random number value for special symbol determination, the initial random number value for big hit symbol, the initial random number value for small hit symbol, and the initial random number value for normal symbol determination. Perform numerical value update processing.

ステップS200において、メインCPU110aは、入力制御処理を行う。この処理において、メインCPU110aは、一般入賞口検出スイッチ12a、第1大入賞口検出スイッチ16a、第2大入賞口検出スイッチ17a、第1始動口検出スイッチ14a、第2始動口検出スイッチ15a、ゲート検出スイッチ13aの各スイッチに入力があったか否か判定する入力処理を行う。   In step S200, the main CPU 110a performs input control processing. In this process, the main CPU 110a includes a general winning opening detection switch 12a, a first large winning opening detection switch 16a, a second large winning opening detection switch 17a, a first starting opening detection switch 14a, a second starting opening detection switch 15a, a gate. An input process for determining whether or not there is an input to each switch of the detection switch 13a is performed.

具体的には、一般入賞口検出スイッチ12a、第1大入賞口検出スイッチ16a、第2大入賞口検出スイッチ17a、第1始動口検出スイッチ14a、第2始動口検出スイッチ15aからの各種検出信号を入力した場合には、ぞれぞれの入賞口毎に設けられた賞球のために用いる賞球カウンタに所定のデータを加算して更新する。   Specifically, various detection signals from the general winning opening detecting switch 12a, the first big winning opening detecting switch 16a, the second large winning opening detecting switch 17a, the first starting opening detecting switch 14a, and the second starting opening detecting switch 15a. Is inputted, predetermined data is added to the prize ball counter used for the prize ball provided for each prize opening and updated.

さらに、第1始動口検出スイッチ14aから検出信号を入力した場合には、第1特別図柄保留数(U1)記憶領域にセットされているデータが4未満であれば、第1特別図柄保留数(U1)記憶領域に1を加算し、特別図柄判定用乱数値、大当たり図柄用乱数値、小当たり図柄用乱数値、リーチ判定用乱数値および特図変動用乱数値を取得して、取得した各種乱数値を第1特別図柄乱数値記憶領域にある所定の記憶部(第0記憶部〜第4記憶部)に記憶する。   Furthermore, when a detection signal is input from the first start port detection switch 14a, if the data set in the first special symbol hold number (U1) storage area is less than 4, the first special symbol hold number ( U1) Add 1 to the storage area to obtain special symbol determination random number value, jackpot symbol random number value, small hit symbol random number value, reach determination random value, and special symbol variation random value The random number value is stored in a predetermined storage unit (0th storage unit to 4th storage unit) in the first special symbol random value storage area.

同様に、第2始動口検出スイッチ15aから検出信号を入力した場合には、第2特別図柄保留数(U2)記憶領域にセットされているデータが4未満であれば、第2特別図柄保留数(U2)記憶領域に1を加算し、特別図柄判定用乱数値、大当たり図柄用乱数値、小当たり図柄用乱数値、リーチ判定用乱数値および特図変動用乱数値を取得して、取得した各種乱数値を第2特別図柄乱数値記憶領域にある所定の記憶部(第0記憶部〜第4記憶部)に記憶する。   Similarly, when a detection signal is input from the second start port detection switch 15a, if the data set in the second special symbol hold number (U2) storage area is less than 4, the second special symbol hold number (U2) 1 is added to the storage area, and a special symbol determination random number value, a big hit symbol random number value, a small hit symbol random number value, a reach determination random number value, and a special symbol variation random value are acquired. Various random numbers are stored in a predetermined storage unit (0th storage unit to 4th storage unit) in the second special symbol random number value storage area.

また、ゲート検出スイッチ13aから検出信号を入力した場合には、普通図柄保留数(G)記憶領域にセットされているデータが4未満であれば、普通図柄保留数(G)記憶領域に1を加算し、普通図柄判定用乱数値を取得して、取得した普通図柄判定用乱数値を普通図柄保留記憶領域にある所定の記憶部(第0記憶部〜第4記憶部)に記憶する。   When a detection signal is input from the gate detection switch 13a, if the data set in the normal symbol hold number (G) storage area is less than 4, the normal symbol hold number (G) storage area is set to 1. It adds, acquires the random number value for normal symbol determination, and memorize | stores the acquired random number value for normal symbol determination in the predetermined memory | storage part (0th memory | storage part-4th memory | storage part) in a normal symbol holding | maintenance storage area.

さらに、第1大入賞口検出スイッチ16aまたは第2大入賞口検出スイッチ17aからの検出信号を入力した場合には、第1大入賞口16または第2大入賞口17に入賞した遊技球を計数するための大入賞口入球数(C)記憶領域に1を加算して更新する。   Further, when a detection signal is input from the first grand prize opening detection switch 16a or the second big prize opening detection switch 17a, the number of game balls won in the first big prize opening 16 or the second big prize opening 17 is counted. 1 is added to the number of entries (C) storage area for the big winning opening to update.

ステップS300において、メインCPU110aは、上記ステップS200での入力制御処理に基づいて、大当たりの抽選、特別電動役物、遊技状態の制御を行うための特別図柄・特別電動役物制御処理(以下、「特図特電制御処理」という)を行う。特図特電制御処理の詳細については、図12を用いて後述する。   In step S300, the main CPU 110a, based on the input control process in step S200, performs a special symbol / special electric accessory control process (hereinafter referred to as “a special jackpot lottery, a special electric accessory, and a gaming state control”). Special figure special electricity control process ”). Details of the special figure special electric control process will be described later with reference to FIG.

ステップS400において、メインCPU110aは、普通図柄の抽選、普通電動役物の制御を行うための普通図柄・普通電動役物制御処理(以下、「普図普電制御処理」という)を行う。
具体的には、まず普通図柄保留数(G)記憶領域に1以上のデータがセットされているか否かを判定し、普通図柄保留数(G)記憶領域に1以上のデータがセットされていなければ、今回の普図普電制御処理を終了する。
In step S400, the main CPU 110a performs a normal symbol / ordinary electric accessory control process (hereinafter referred to as a “general-purpose electric power control process”) for performing the normal symbol lottery and the control of the ordinary electric accessory.
Specifically, it is first determined whether or not one or more data is set in the normal symbol hold count (G) storage area, and one or more data must be set in the normal symbol hold count (G) storage area. If this is the case, the current ordinary power transmission control process is terminated.

普通図柄保留数(G)記憶領域に1以上のデータがセットされていれば、普通図柄保留数(G)記憶領域に記憶されている値から1を減算した後、普通図柄保留記憶領域にある第1記憶部〜第4記憶部に記憶された普通図柄判定用乱数値を1つ前の記憶部にシフトさせる。このとき、既に第0記憶部に書き込まれていた普通図柄判定用乱数値は上書きされて消去されることとなる。
そして、当たり判定テーブルを参照し、普通図柄保留記憶領域の第0記憶部に記憶された普通図柄判定用乱数値が「当たり」に対応する乱数値であるかどうかの判定する処理を行う。その後、普通図柄表示装置22において普通図柄の変動表示を行って、普通図柄の変動時間が経過すると普通図柄の抽選の結果に対応する普通図柄の停止表示を行う。そして、参照した普通図柄判定用乱数値が「当たり」のものであれば、始動口開閉ソレノイド15cを駆動させ、第2始動口15を所定の開放時間、第2の態様に制御する。
If 1 or more data is set in the normal symbol holding number (G) storage area, after subtracting 1 from the value stored in the normal symbol holding number (G) storage area, the data is in the normal symbol holding storage area. The normal symbol determination random numbers stored in the first storage unit to the fourth storage unit are shifted to the previous storage unit. At this time, the normal symbol determination random number value already written in the 0th storage unit is overwritten and erased.
Then, referring to the hit determination table, a process is performed to determine whether or not the normal symbol determination random number value stored in the 0th storage unit of the normal symbol hold storage area is a random value corresponding to “win”. Thereafter, the normal symbol display device 22 displays the fluctuation of the normal symbol. When the fluctuation time of the normal symbol elapses, the normal symbol corresponding to the result of the normal symbol lottery is stopped and displayed. If the random number for normal symbol determination referred to is “winning”, the start opening / closing solenoid 15c is driven to control the second start opening 15 to the second mode for a predetermined opening time.

ステップS500において、メインCPU110aは、払出制御処理を行う。この払出制御処理において、メインCPU110aは、ぞれぞれの賞球カウンタを参照し、各種入賞口に対応する払出個数指定コマンドを生成して、生成した払出個数指定コマンドを払出制御部130に送信する。   In step S500, the main CPU 110a performs a payout control process. In this payout control process, the main CPU 110 a refers to each prize ball counter, generates payout number designation commands corresponding to various winning ports, and transmits the generated payout number designation commands to the payout control unit 130. To do.

ステップS600において、メインCPU110aは、外部情報データ、始動口開閉ソレノイドデータ、第1大入賞口開閉ソレノイドデータ、第2大入賞口開閉ソレノイドデータ、特別図柄表示装置データ、普通図柄表示装置データ、記憶数指定コマンドのデータ作成処理を行う。   In step S600, the main CPU 110a, external information data, start opening / closing solenoid data, first big prize opening opening / closing solenoid data, second big prize opening opening / closing solenoid data, special symbol display device data, normal symbol display device data, number of stored Performs data creation for the specified command.

ステップS700において、メインCPU110aは、出力制御処理を行う。この処理において、ステップS600で作成した外部情報データ、始動口開閉ソレノイドデータ、第1大入賞口開閉ソレノイドデータ、第2大入賞口開閉ソレノイドデータの信号を出力させるポート出力処理を行う。
また、第1特別図柄表示装置20、第2特別図柄表示装置21および普通図柄表示装置22の各LEDを点灯させるために、上記S600で作成した特別図柄表示装置データと普通図柄表示装置データとを出力する表示装置出力処理を行う。
In step S700, the main CPU 110a performs output control processing. In this process, port output processing is performed for outputting signals of the external information data, the start opening / closing solenoid data, the first big prize opening / closing solenoid data, and the second big prize opening / closing solenoid data created in step S600.
Further, the special symbol display device data and the normal symbol display device data created in S600 are used to turn on the LEDs of the first special symbol display device 20, the second special symbol display device 21 and the normal symbol display device 22. Display device output processing is performed.

さらに、メインRAM110cの送信データ用記憶領域にセットされている制御コマンドを演出制御部120へ送信するコマンド送信処理も行う。なお、本ステップS700のコマンド送信処理においても上記検査値生成処理および上記検査値付加処理を伴うが、詳細については後述する。   Further, command transmission processing for transmitting the control command set in the transmission data storage area of the main RAM 110c to the effect control unit 120 is also performed. Note that the command transmission process in step S700 also involves the test value generation process and the test value addition process, details of which will be described later.

ステップS800において、メインCPU110aは、ステップS100で退避した情報をメインCPU110aのレジスタに復帰させる。   In step S800, the main CPU 110a restores the information saved in step S100 to the register of the main CPU 110a.

次に、主制御部110の特図特電制御処理を説明する。
図12は、本実施形態に係る主制御部110による特図特電制御処理を示すフローチャートである。
Next, the special figure special electric control process of the main control unit 110 will be described.
FIG. 12 is a flowchart showing a special figure special power control process by the main control unit 110 according to the present embodiment.

ステップS301において、メインCPU110aは、特図特電処理データの値を読み込む。この「特図特電処理データ」は、特図特電制御処理の各サブルーチンが記憶された記憶領域のアドレスにそれぞれ割り当てられた値であり、特図特電処理データを参照することで、どのサブルーチンを処理するかを識別することができる。そして、特図特電処理データは、後述するように特図特電制御処理の各サブルーチンの中で必要に応じてセットされていき、その遊技において必要なサブルーチンが適宜処理されていくことになる。   In step S301, the main CPU 110a reads the value of the special figure special electricity processing data. This “Special Figure Special Electric Processing Data” is a value assigned to the address of the storage area in which each subroutine of the special figure special electric control process is stored, and which subroutine is processed by referring to the special figure special electric processing data. You can identify what to do. The special figure special electricity processing data is set as necessary in each subroutine of the special figure special electricity control processing as will be described later, and the subroutine necessary for the game is appropriately processed.

ステップS302において、メインCPU110aは、読み込んだ特図特電処理データから分岐アドレスを参照し、特図特電処理データ=0であれば特別図柄記憶判定処理(ステップS310)に処理を移し、特図特電処理データ=1であれば特別図柄変動処理(ステップS320)に処理を移し、特図特電処理データ=2であれば特別図柄停止処理(ステップS330)に処理を移し、特図特電処理データ=3であれば大当たり遊技処理(ステップS340)に処理を移し、特図特電処理データ=4であれば大当り遊技終了処理(ステップS350)に処理を移し、特図特電処理データ=5であれば小当り遊技終了処理(ステップS360)に処理を移す。   In step S302, the main CPU 110a refers to the branch address from the read special figure special processing data, and if special figure special electric treatment data = 0, the main CPU 110a moves the processing to the special symbol storage determination process (step S310). If data = 1, the process moves to the special symbol variation process (step S320), and if the special figure special electricity process data = 2, the process moves to the special symbol stop process (step S330), and the special figure special electricity process data = 3. If there is, the process moves to the jackpot game process (step S340). If the special figure special electric processing data = 4, the process moves to the big hit game end process (step S350), and if the special figure special electric process data = 5, the small hit game. The process moves to an end process (step S360).

ステップS310の特別図柄記憶判定処理においては、メインCPU110aは、大当たり判定処理、停止表示する特別図柄の決定をする特別図柄決定処理、特別図柄の変動時間を決定する変動時間決定処理等を行う。ここで、図13を用いて、特別図柄記憶判定処理の具体的な内容を説明する。   In the special symbol memory determination process in step S310, the main CPU 110a performs a jackpot determination process, a special symbol determination process for determining a special symbol to be stopped and displayed, a variation time determination process for determining a variation time of the special symbol, and the like. Here, the specific content of the special symbol memory determination process will be described with reference to FIG.

図13は、本実施形態に係る主制御部110による特別図柄記憶判定処理におけるフローチャートである。   FIG. 13 is a flowchart in the special symbol memory determination process by the main control unit 110 according to the present embodiment.

ステップS311において、メインCPU110aは、第1特別図柄保留数(U1)記憶領域または第2特別図柄保留数(U2)記憶領域に1以上のデータがセットされているか否かを判定する。
そして、第1特別図柄保留数(U1)記憶領域または第2特別図柄保留数(U2)記憶領域のいずれの記憶領域にも1以上のデータがセットされていなければ、特図特電処理データ=0を保持したまま、今回の特別図柄変動処理を終了する。
一方、第1特別図柄保留数(U1)記憶領域または第2特別図柄保留数(U2)記憶領域に1以上のデータがセットされていれば、ステップS312に処理を移す。
In step S311, the main CPU 110a determines whether one or more data is set in the first special symbol hold count (U1) storage area or the second special symbol hold count (U2) storage area.
If one or more data is not set in any storage area of the first special symbol hold count (U1) storage area or the second special symbol hold count (U2) storage area, the special figure special electricity processing data = 0. The special symbol variation process of this time is terminated while holding.
On the other hand, if one or more data is set in the first special symbol hold count (U1) storage area or the second special symbol hold count (U2) storage area, the process proceeds to step S312.

ステップS312において、メインCPU110aは、大当たり判定処理を行う。
具体的には、第2特別図柄保留数(U2)記憶領域に1以上のデータがセットされている場合には、第2特別図柄保留数(U2)記憶領域に記憶されている値から1を減算した後、第2特別図柄乱数値記憶領域にある第1記憶部〜第4記憶部に記憶された各種乱数値を1つ前の記憶部にシフトさせる。このとき、既に第0記憶部に書き込まれていた各種乱数値は上書きされて消去されることとなる。そして、大当たり判定テーブルを参照して、第2特別図柄乱数値記憶領域の第0記憶部に記憶された特別図柄判定用乱数値が「大当たり」に対応する乱数値であるか、「小当たり」に対応する乱数値であるかの判定を行う。
In step S312, the main CPU 110a performs a jackpot determination process.
Specifically, when one or more data is set in the second special symbol hold count (U2) storage area, 1 is calculated from the value stored in the second special symbol hold count (U2) storage area. After subtraction, various random numbers stored in the first to fourth storage units in the second special symbol random number storage area are shifted to the previous storage unit. At this time, various random values already written in the 0th storage unit are overwritten and deleted. Then, referring to the jackpot determination table, whether the special symbol determination random number value stored in the 0th storage unit of the second special symbol random value storage area is a random value corresponding to “big hit” or “small hit” It is determined whether it is a random value corresponding to.

また、第2特別図柄保留数(U2)記憶領域に1以上のデータがセットされておらず、第1特別図柄保留数(U1)記憶領域に1以上のデータがセットされている場合には、第1特別図柄保留数(U1)記憶領域に記憶されている値から1を減算した後、第1特別図柄乱数値記憶領域にある第1記憶部〜第4記憶部に記憶された各種乱数値を1つ前の記憶部にシフトさせる。このときにも、既に第0記憶部に書き込まれていた各種乱数値は上書きされて消去されることとなる。そして、大当たり判定テーブルを参照して、第1特別図柄乱数値記憶領域の第0記憶部に記憶された特別図柄判定用乱数値が「大当たり」に対応する乱数値であるか、「小当たり」に対応する乱数値であるかの判定を行う。   In addition, when one or more data is not set in the second special symbol hold number (U2) storage area and one or more data is set in the first special symbol hold number (U1) storage area, Various random numbers stored in the first to fourth storage units in the first special symbol random number storage area after subtracting 1 from the value stored in the first special symbol hold number (U1) storage area Is shifted to the previous storage unit. Also at this time, various random numbers already written in the 0th storage unit are overwritten and deleted. Then, referring to the jackpot determination table, whether the special symbol determination random number value stored in the 0th storage unit of the first special symbol random number storage area is a random value corresponding to “big hit” or “small hit” It is determined whether it is a random value corresponding to.

本実施形態では、第1特別図柄乱数値記憶領域よりも第2特別図柄乱数値記憶領域に記憶された乱数値が優先してシフト(消化)されることになる。しかしながら、始動口に入賞した順序で、第1特別図柄記憶領域または第2特別図柄記憶領域をシフトさせてもよいし、第1特別図柄記憶領域を第2特別図柄記憶領域よりも優先させてシフトさせてもよい。   In the present embodiment, the random number value stored in the second special symbol random value storage area is shifted (digested) with priority over the first special symbol random value storage area. However, the first special symbol storage area or the second special symbol storage area may be shifted in the order of winning in the starting opening, and the first special symbol storage area is given priority over the second special symbol storage area. You may let them.

ステップS313において、メインCPU110aは、停止表示する特別図柄の種類を決定するための特別図柄決定処理を行う。
この特別図柄決定処理では、上記大当り判定処理(ステップS312)において「大当たり」と判定された場合には、図柄決定テーブルを参照して、第1特別図柄乱数値記憶領域の第0記憶部に記憶された大当たり図柄用乱数値に基づいて大当たり図柄(特別図柄1〜特別図柄6)を決定する。また、上記大当り判定処理(ステップS312)において「小当たり」と判定された場合には、図柄決定テーブルを参照して、第1特別図柄乱数値記憶領域の第0記憶部に記憶された小当たり図柄用乱数値に基づいて小当たり図柄(特別図柄A、特別図柄B)を決定する。また、上記大当り判定処理(ステップS312)において「ハズレ」と判定された場合には、図柄決定テーブルを参照して、ハズレ図柄(特別図柄0)を決定する。
そして、決定した特別図柄に対応する停止図柄データを停止図柄データ記憶領域に記憶する。
In step S313, the main CPU 110a performs a special symbol determination process for determining the type of special symbol to be stopped and displayed.
In this special symbol determination process, when it is determined as “big hit” in the jackpot determination process (step S312), the symbol determination table is referred to and stored in the 0th storage unit of the first special symbol random value storage area. The jackpot symbol (special symbol 1 to special symbol 6) is determined based on the random number value for the jackpot symbol. In addition, when it is determined as “small hit” in the big hit determination process (step S312), the small hit stored in the 0th storage unit of the first special symbol random value storage area with reference to the symbol determination table. Based on the symbol random number value, the small hit symbol (special symbol A, special symbol B) is determined. If it is determined that the game has been “lost” in the jackpot determination process (step S312), the lost symbol (special symbol 0) is determined with reference to the symbol determination table.
Then, stop symbol data corresponding to the determined special symbol is stored in the stop symbol data storage area.

ステップS314において、メインCPU110aは、特別図柄の変動時間決定処理を行う。
具体的には、変動パターン決定テーブルを参照して、第1特別図柄乱数値記憶領域の第0記憶部に記憶されたリーチ判定用乱数値および特図変動用乱数値に基づいて、特別図柄の変動パターンを決定する。その後、決定した特別図柄の変動パターンに対応する特別図柄の変動時間を決定する。そして、決定した特別図柄の変動時間に対応するカウンタを特別図柄時間カウンタにセットする処理を行う。
In step S314, the main CPU 110a performs special symbol variation time determination processing.
Specifically, referring to the variation pattern determination table, based on the reach determination random value and the special diagram variation random value stored in the 0th storage unit of the first special symbol random value storage area, the special symbol Determine the variation pattern. Thereafter, the variation time of the special symbol corresponding to the determined variation pattern of the special symbol is determined. Then, a process of setting a counter corresponding to the determined variation time of the special symbol in the special symbol time counter is performed.

ステップS315において、メインCPU110aは、第1特別図柄表示装置20または第2特別図柄表示装置21に特別図柄の変動表示(LEDの点滅)を行わせるための変動表示データを所定の処理領域にセットする。これにより、所定の処理領域に変動表示データがセットされていると、上記ステップS600でLEDの点灯または消灯のデータが適宜作成され、作成されたデータがステップS700において出力されることで、第1特別図柄表示装置20または第2特別図柄表示装置21の変動表示が行われる。
さらに、メインCPU110aは、特別図柄の変動表示が開始されるときに、上記ステップS314で決定された特別図柄の変動パターンに対応する特別図柄の変動パターン指定コマンド(第1特別図柄用変動パターン指定コマンドまたは第2特別図柄用変動パターン指定コマンド)をメインRAM110cの送信データ用記憶領域にセットする。
In step S315, the main CPU 110a sets, in a predetermined processing area, variation display data for causing the first special symbol display device 20 or the second special symbol display device 21 to perform special symbol variation display (LED blinking). . As a result, when the variable display data is set in the predetermined processing area, the LED lighting / extinguishing data is appropriately created in step S600, and the created data is output in step S700. Variation display of the special symbol display device 20 or the second special symbol display device 21 is performed.
Further, the main CPU 110a, when the special symbol variation display is started, the special symbol variation pattern designation command (the first special symbol variation pattern designation command) corresponding to the variation pattern of the special symbol determined in step S314. Alternatively, the second special symbol variation pattern designation command) is set in the transmission data storage area of the main RAM 110c.

ステップS316において、メインCPU110aは、特図特電処理データ=0から特図特電処理データ=1にセットして、特別図柄変動処理のサブルーチンに移す準備を行い、特別図柄記憶判定処理を終了する。   In step S316, the main CPU 110a sets the special symbol special electricity processing data = 0 to the special symbol special electric treatment data = 1, prepares to move to the special symbol variation processing subroutine, and ends the special symbol memory determination processing.

再び、図12に示す特図特電制御処理について説明を戻すことにする。
ステップS320の特別図柄変動処理においては、メインCPU110aは、特別図柄の変動時間が経過したか否かを判定する処理を行う。
具体的には、ステップS314で決定された特別図柄の変動時間が経過したか(特別図柄時間カウンタ=0)否かを判定し、特別図柄の変動時間が経過していないと判定した場合には、特図特電処理データ=1を保持したまま、今回の特別図柄変動処理を終了する。なお、上記ステップS314でセットされた特別図柄の変動時間のカウンタは、上記ステップS110において減算処理されていく。
Again, the description of the special figure special electric control process shown in FIG. 12 will be returned.
In the special symbol variation process of step S320, the main CPU 110a performs a process of determining whether or not the special symbol variation time has elapsed.
Specifically, it is determined whether or not the variation time of the special symbol determined in step S314 has elapsed (special symbol time counter = 0), and if it is determined that the variation time of the special symbol has not elapsed The special symbol variation process is terminated while the special symbol special electricity processing data = 1 is held. Note that the special symbol variation time counter set in step S314 is subtracted in step S110.

特別図柄の変動時間が経過したと判定すれば、上記ステップS313で決定された特別図柄を第1特別図柄表示装置20または第2特別図柄表示装置21に停止表示させる。これにより、第1特別図柄表示装置20または第2特別図柄表示装置21に特別図柄が停止表示され、遊技者に大当たりの判定結果が報知されることとなる。
また、高確率遊技回数(X)>0のときには高確率遊技回数(X)カウンタから1を減算して更新し、高確率遊技回数(X)=0となれば、高確率遊技フラグをクリアする。
最後に、特図特電処理データ=1から特図特電処理データ=2にセットして、特別図柄停止処理のサブルーチンに移す準備を行い、特別図柄変動処理を終了する。
If it is determined that the variation time of the special symbol has elapsed, the special symbol determined in step S313 is stopped and displayed on the first special symbol display device 20 or the second special symbol display device 21. Thereby, the special symbol is stopped and displayed on the first special symbol display device 20 or the second special symbol display device 21, and the player is notified of the jackpot determination result.
When the number of high probability games (X)> 0, 1 is subtracted from the high probability game number (X) counter and updated. When the number of high probability games (X) = 0, the high probability game flag is cleared. .
Finally, the special symbol special power processing data = 1 is set to the special symbol special power processing data = 2, preparation is made to move to a special symbol stop processing subroutine, and the special symbol variation processing is terminated.

ステップS330の特別図柄停止処理においては、メインCPU110aは、停止表示された特別図柄が「大当たり図柄」であるか、「小当たり図柄」であるか、「ハズレ図柄」であるかを判定する処理を行う。
そして、大当たり図柄と判定された場合には、遊技状態記憶領域に記憶されているデータを参照し、現在の遊技状態を示すデータを遊技状態バッファにセットする。その後に、遊技状態記憶領域(高確率遊技フラグ記憶領域等)に記憶されているデータ(高確率遊技フラグ)、高確率遊技回数(X)カウンタをクリアする。さらに、特図特電処理データ=2から特図特電処理データ=3にセットして、大当たり遊技処理のサブルーチンに移す準備を行い、特別図柄停止処理を終了する。
In the special symbol stop process in step S330, the main CPU 110a performs a process of determining whether the special symbol that is stopped and displayed is a “big hit symbol”, a “small bonus symbol”, or a “losing symbol”. Do.
When it is determined that the game is a jackpot symbol, the data stored in the gaming state storage area is referred to and data indicating the current gaming state is set in the gaming state buffer. Thereafter, the data (high probability game flag) and high probability game count (X) counter stored in the game state storage area (high probability game flag storage area or the like) are cleared. Further, the special figure special power processing data = 2 is set to the special figure special electric processing data = 3, preparation is made to move to the jackpot game processing subroutine, and the special symbol stop processing is ended.

また、小当たり図柄と判定された場合には、遊技状態記憶領域に記憶されているデータはクリアせずに、特図特電処理データ=2から特図特電処理データ=5にセットして、小当たり遊技処理のサブルーチンに移す準備を行い、特別図柄停止処理を終了する。
一方、ハズレ図柄と判定された場合には、特図特電処理データ=2から特図特電処理データ=0にセットして、特別図柄記憶判定処理のサブルーチンに移す準備を行い、特別図柄停止処理を終了する。
In addition, when it is determined that the small winning symbol, the data stored in the game state storage area is not cleared, and the special figure special electric processing data = 2 to the special figure special electric treatment data = 5 is set. The special symbol stop process is completed by making preparations for transferring to a winning game process subroutine.
On the other hand, if it is determined that the symbol is a lost symbol, the special symbol special electric processing data = 2 is set to special special electric symbol processing data = 0, and the special symbol memory determination processing subroutine is prepared for the special symbol stop processing. finish.

ステップS340の大当たり遊技処理においては、メインCPU110aは、上記長当たりまたは短当たりのいずれの大当たりを実行させるかを決定し、決定した大当たりを制御する処理を行う。
具体的には、まず、特別電動役物作動態様決定テーブルを参照し、上記ステップS313で決定された大当たり図柄の種類(停止図柄データ)に基づいて、大当たりの開放態様を決定する。
In the jackpot game process of step S340, the main CPU 110a determines which jackpot of the long hit or short hit is executed, and performs a process of controlling the determined jackpot.
Specifically, first, with reference to the special electric accessory operating mode determination table, the jackpot release mode is determined based on the type of jackpot symbol (stop symbol data) determined in step S313.

次に、決定した大当たりの開放態様を実行させるために、大入賞口開放態様テーブルを参照し、大当たりの種類に応じた開放時間を特別遊技タイマカウンタにセットするとともに、第1大入賞口開閉ソレノイド16c(または第2大入賞口開閉ソレノイド17c)の駆動データを出力して第1大入賞口開閉扉16b(または第2大入賞口開閉扉17b)を開放させる。このとき、ラウンド遊技回数(R)記憶領域に1を加算する。
この開放中に規定個数の遊技球が入球するか、大入賞口の開放時間が経過すると(大入賞口入球数(C)=9または特別遊技タイマカウンタ=0である)と、第1大入賞口開閉ソレノイド16c(または第2大入賞口開閉ソレノイド17c)の駆動データの出力を停止して第1大入賞口開閉扉16b(または第2大入賞口開閉扉17b)を閉鎖させる。これにより、1回のラウンド遊技が終了する。このラウンド遊技の制御を繰り返し15回行う。
Next, in order to execute the determined jackpot opening mode, the bonus game opening mode table is referred to, the opening time corresponding to the type of jackpot is set in the special game timer counter, and the first jackpot opening / closing solenoid The drive data of 16c (or the second big prize opening / closing solenoid 17c) is output to open the first big prize opening / closing door 16b (or the second big prize opening / closing door 17b). At this time, 1 is added to the round game count (R) storage area.
When a predetermined number of game balls enter during the opening or when the opening time of the big prize opening has elapsed (the number of the big prize opening (C) = 9 or the special game timer counter = 0), The output of the drive data of the big prize opening / closing solenoid 16c (or the second big prize opening / closing solenoid 17c) is stopped, and the first big prize opening / closing door 16b (or the second big prize opening / closing door 17b) is closed. Thereby, one round game is completed. This round game control is repeated 15 times.

15回のラウンド遊技が終了すると(ラウンド遊技回数(R)=15)、ラウンド遊技回数(R)記憶領域および大入賞口入球数(C)記憶領域に記憶されているデータをクリアするとともに、特図特電処理データ=3から特図特電処理データ=4にセットして、大当り遊技終了処理のサブルーチンに移す準備を行い、大当たり遊技処理を終了する。   When the 15 round games are completed (round game count (R) = 15), the data stored in the round game count (R) storage area and the number of winning prize entrance (C) storage areas are cleared, The special figure special electric processing data = 3 is set to the special figure special electric treatment data = 4, preparation is made to move to the big hit game end processing subroutine, and the big hit game processing is ended.

ステップS350の大当り遊技終了処理においては、メインCPU110aは、高確率遊技状態または低確率遊技状態のいずれかの確率遊技状態を決定する処理を行う。
具体的には、大当たり遊技終了時設定データテーブルを参照し、遊技状態バッファに記憶されているデータと上記ステップS313で決定された大当たり図柄の種類(停止図柄データ)とに基づいて、高確率遊技フラグの設定、高確率遊技回数(X)の設定を行う。例えば、特別図柄1であれば、高確率遊技フラグ記憶領域に高確率遊技フラグをセットし、高確率遊技回数(X)カウンタに10000回をセットする。
その後、特図特電処理データ=4から特図特電処理データ=0にセットして、特別図柄記憶判定処理のサブルーチンに移す準備を行い、大当り遊技終了処理を終了する。
In the big hit game ending process in step S350, the main CPU 110a performs a process of determining a probability game state of either a high probability game state or a low probability game state.
Specifically, with reference to the jackpot game end setting data table, based on the data stored in the game state buffer and the type of jackpot symbol (stop symbol data) determined in step S313, the high probability game Set a flag and set the number of high probability games (X). For example, in the case of the special symbol 1, the high probability game flag is set in the high probability game flag storage area, and the high probability game number (X) counter is set to 10,000 times.
After that, the special symbol special power processing data = 4 is set to the special symbol special power processing data = 0, and preparation for moving to the special symbol memory determination processing subroutine is made, and the big hit game end processing is ended.

ステップS360の小当たり遊技処理においては、メインCPU110aは、まず、特別電動役物作動態様決定テーブルを参照し、上記ステップS313で決定された小当たり図柄の種類(停止図柄データ)に基づいて、小当たりの開放態様を決定する。
次に、決定した小当たりの開放態様を実行させるために、大入賞口開放態様テーブルを参照し、小当たりの開放時間を特別遊技タイマカウンタにセットするとともに、第2大入賞口開閉ソレノイド17cの駆動データを出力して第2大入賞口開閉扉17bを開放させる。このとき、開放回数(K)記憶領域に1を加算する。
小当たりの開放時間が経過する(特別遊技タイマカウンタ=0)と、第2大入賞口開閉ソレノイド17cの駆動データの出力を停止して第2大入賞口開閉扉17bを閉鎖させる。この第2大入賞口開閉扉17bの開閉制御を繰り返し15回行う。
In the small hit game process of step S360, the main CPU 110a first refers to the special electric accessory operation mode determination table, and based on the type of small hit symbol (stop symbol data) determined in step S313 above, Determine the opening mode.
Next, in order to execute the determined small winning opening mode, the large winning opening opening mode table is referred to, and the small winning opening time is set in the special game timer counter, and the second large winning port opening / closing solenoid 17c is set. The drive data is output to open the second big prize opening / closing door 17b. At this time, 1 is added to the number-of-releases (K) storage area.
When the small winning opening time elapses (special game timer counter = 0), the drive data output of the second big prize opening / closing solenoid 17c is stopped and the second big prize opening / closing door 17b is closed. The opening / closing control of the second big prize opening opening / closing door 17b is repeated 15 times.

そして、第2大入賞口開閉扉17bの開閉制御が15回行われるか、第2大入賞口17に規定個数の遊技球が入球する(開放回数(K)=15または大入賞口入球数(C)=9である)と、小当たり遊技を終了させるため、第2大入賞口開閉ソレノイド17cの駆動データの出力を停止させ、開放回数(K)記憶領域および大入賞口入球数(C)記憶領域に記憶されているデータをクリアするとともに、特図特電処理データ=5から特図特電処理データ=0にセットして、特別図柄記憶判定処理のサブルーチンに移す準備を行い、小当たり遊技処理を終了する。   Then, the opening / closing control of the second grand prize opening / closing door 17b is performed 15 times, or a predetermined number of game balls enter the second big prize opening 17 (the number of times of opening (K) = 15 or the grand prize opening entrance) Number (C) = 9), in order to end the small hit game, the output of the drive data of the second large winning opening / closing solenoid 17c is stopped, the number of times of opening (K) storage area and the number of winning winning holes (C) Clear the data stored in the storage area, set special figure special electricity processing data = 5 to special figure special electricity treatment data = 0, and prepare to move to a special symbol memory judgment processing subroutine. The winning game process is terminated.

[主制御部の認証処理に関する制御処理]
以下、本発明の実施形態に係る遊技機1の主制御部110の認証処理に関する制御処理について説明する。まず、主制御部110のブート処理について説明する。
遊技機1に電源が投入されると、主制御部110にシステムリセットが発生し、メインCPU110aは、ブートROM110dに予め記憶されたブート処理用プログラムに基づいて、主制御部110のブート処理を行う。
図14は、本実施形態に係る主制御部110によるブート処理を示すフローチャートである。
[Control processing related to authentication processing of the main control unit]
Hereinafter, the control process regarding the authentication process of the main control unit 110 of the gaming machine 1 according to the embodiment of the present invention will be described. First, the boot process of the main control unit 110 will be described.
When the gaming machine 1 is powered on, a system reset occurs in the main control unit 110, and the main CPU 110a performs a boot process of the main control unit 110 based on a boot processing program stored in advance in the boot ROM 110d. .
FIG. 14 is a flowchart showing a boot process by the main control unit 110 according to the present embodiment.

ステップS51において、メインCPU110aは、内部状態を割込禁止に設定する。
ステップS52において、メインCPU110aは、自身の初期化後、メインCPU110a自身が正常に作動可能かどうかを確認する自己診断処理を行う。自己診断処理の結果、正常に作動可能であればステップS53へ処理を移し、正常に作動可能でなければ、その後の処理を行わない。
In step S51, the main CPU 110a sets the internal state to interrupt prohibition.
In step S52, the main CPU 110a performs a self-diagnosis process for checking whether or not the main CPU 110a itself can operate normally after initialization. As a result of the self-diagnosis process, if it can operate normally, the process proceeds to step S53, and if it cannot operate normally, the subsequent process is not performed.

ステップS53において、メインCPU110aは、内蔵回路等への初期値設定処理を行う。具体的には、メインCPU110aは、スタックポインタにスタックポイント指定アドレスを設定し、内蔵レジスタの初期化を行うとともに、ワンチップマイコン110mの内蔵回路や周辺回路等の初期化、入出力ポートの初期化を行う。そして、メインCPU110aは、初期値を必要とするこれらの内蔵回路等へ各種の初期値を設定する。このとき、メインCPU110aは、送信部500の各構成部に対しても同様の処理を施して、送信部500に対する初期値設定処理を行う。   In step S53, the main CPU 110a performs an initial value setting process for a built-in circuit or the like. Specifically, the main CPU 110a sets the stack point designation address in the stack pointer, initializes the internal register, initializes the internal circuit and peripheral circuits of the one-chip microcomputer 110m, and initializes the input / output ports. I do. Then, the main CPU 110a sets various initial values to these built-in circuits that require initial values. At this time, the main CPU 110a performs the same process on each component of the transmission unit 500 to perform an initial value setting process on the transmission unit 500.

ステップS54において、メインCPU110aは、送信部500に対して生成パラメータ設定処理を行う。具体的には、メインCPU110aは、送信部500に対する生成パラメータを読み出すための読み出し信号をメインROM110bへ出力する。そして、メインCPU110aは、当該読み出し信号によりメインROM110bから出力された生成パラメータを、内部バス550を介して取り込む。続いて、メインCPU110aは、取り込んだ生成パラメータを送信部500の制御部510へ書き込むための書き込み信号を出力する。そして、メインCPU110aは、当該書き込み信号によりメインCPU110aから出力された生成パラメータを、内部バス550を介して制御部510の生成パラメータ用記憶領域へセットする。なお、本ステップS54の生成パラメータ設定処理は、メインCPU110aが行う初期値設定処理の中でも、送信部500に生成パラメータを設定する処理を特筆したものであるため、初期値設定処理の一環として、ステップS53の中で行うように構成することも可能である。   In step S54, the main CPU 110a performs a generation parameter setting process on the transmission unit 500. Specifically, the main CPU 110a outputs a read signal for reading a generation parameter for the transmission unit 500 to the main ROM 110b. Then, the main CPU 110a takes in the generated parameters output from the main ROM 110b by the read signal via the internal bus 550. Subsequently, the main CPU 110 a outputs a write signal for writing the acquired generation parameter to the control unit 510 of the transmission unit 500. Then, the main CPU 110 a sets the generation parameter output from the main CPU 110 a by the write signal to the generation parameter storage area of the control unit 510 via the internal bus 550. The generation parameter setting process in step S54 is a special feature of the process for setting the generation parameter in the transmission unit 500 among the initial value setting processes performed by the main CPU 110a. It is also possible to configure to perform in S53.

ステップS55において、送信部500は、生成回路作動処理を行う。具体的には、送信部500を構成する制御部510は、自身が保持するアルゴリズムに従って、生成パラメータ用記憶領域にセットされた生成パラメータが、生成回路521を担う複数の生成回路のうち、どの生成回路に対応した値であるかを確認する。そして、制御部510は、生成パラメータが示す生成回路に対し、当該生成回路を生成回路521として有効とする作動許可信号を出力するとともに、格納回路522の当該生成回路521との接続のみを有効とする接続切替信号を出力する。本実施形態では、制御部510にて、複数の生成回路のうちの生成回路Aにのみ、これを有効とする作動許可信号が出力され、生成回路Aのみが生成回路521として有効に作動するよう設定される。また、制御部510にて、格納回路522と生成回路Aとの接続のみを有効とする接続切替信号が出力される。よって、生成回路Aからのみ有効なデータが出力される。本処理を終了すると、ブート処理が終了する。   In step S55, the transmission unit 500 performs a generation circuit operation process. Specifically, the control unit 510 included in the transmission unit 500 generates a generation parameter set in the generation parameter storage area from among a plurality of generation circuits that bear the generation circuit 521 according to an algorithm held by itself. Check if the value corresponds to the circuit. Then, the control unit 510 outputs an operation permission signal for enabling the generation circuit as the generation circuit 521 to the generation circuit indicated by the generation parameter, and enables only the connection of the storage circuit 522 with the generation circuit 521. A connection switching signal is output. In the present embodiment, the control unit 510 outputs an operation permission signal that enables only the generation circuit A among the plurality of generation circuits, so that only the generation circuit A operates effectively as the generation circuit 521. Is set. In addition, the control unit 510 outputs a connection switching signal that enables only the connection between the storage circuit 522 and the generation circuit A. Therefore, valid data is output only from the generation circuit A. When this process ends, the boot process ends.

次に、上記検査値生成処理および上記検査値付加処理を含む主制御部110のコマンド送信処理について説明する。
図15は、本実施形態に係る主制御部110におけるコマンド送信処理を示すフローチャートである。
主制御部110のブート処理を含む初期化処理を行った後、コマンド送信処理の実行タイミングとなると、メインCPU110aは、メインRAM110cの送信データ用記憶領域にセットされた制御コマンド(M)を送信部500へ出力し、誤り検査値を付加して演出制御部120へ送信させる。
Next, a command transmission process of the main control unit 110 including the test value generation process and the test value addition process will be described.
FIG. 15 is a flowchart showing command transmission processing in the main control unit 110 according to the present embodiment.
After the initialization process including the boot process of the main control unit 110 is performed, when the command transmission process is executed, the main CPU 110a transmits the control command (M) set in the transmission data storage area of the main RAM 110c to the transmission unit. The data is output to 500, and an error check value is added and transmitted to the effect control unit 120.

ステップS71において、メインCPU110aは、送信部500を構成する送信バッファ530へ制御コマンド(M)を書き込むための書き込み信号を出力し、送信データ用記憶領域にセットされた制御コマンド(M)を、送信バッファ530へ書き込んでセットする。
ステップS72において、送信部500を構成する生成回路521は、メインCPU110aが出力した制御コマンド(M)が入力されると、生成回路作動設定にて設定された生成方式にて誤り検査値(M)を生成し、格納回路522の検査値記憶領域へ出力する。
In step S71, the main CPU 110a outputs a write signal for writing the control command (M) to the transmission buffer 530 constituting the transmission unit 500, and transmits the control command (M) set in the transmission data storage area. Write to buffer 530 and set.
In step S72, when the control command (M) output from the main CPU 110a is input to the generation circuit 521 constituting the transmission unit 500, the error check value (M) is generated using the generation method set in the generation circuit operation setting. Is output to the inspection value storage area of the storage circuit 522.

ステップS73において、格納回路522は、生成回路521が出力した誤り検査値(M)が入力されると、上記ステップS72で生成した誤り検査値(M)を検査値記憶領域へ格納する。
ステップS74において、送信部500を構成する制御部510は、上記ステップS71で送信バッファ530にセットされた制御コマンド(M)のMの値が、予め取り決められた遡及数Nより大きいか否かを判定する。制御部510は、M>Nでなければ、すなわちM≦Nであれば、ステップS76に処理を移し、M>Nであれば、ステップS75に処理を移す。
In step S73, when the error check value (M) output from the generation circuit 521 is input, the storage circuit 522 stores the error check value (M) generated in step S72 in the check value storage area.
In step S74, the control unit 510 constituting the transmission unit 500 determines whether or not the value of M of the control command (M) set in the transmission buffer 530 in step S71 is greater than a predetermined retroactive number N. judge. Control unit 510 moves the process to step S76 if M> N, that is, if M ≦ N, moves the process to step S75 if M> N.

ステップS75において、制御部510は、予め取り決められた付加方法に基づき、上記ステップS71で送信バッファ530にセットされた制御コマンド(M)よりN個前に生成され、格納回路522の検査値記憶領域に格納された誤り検査値(M−N)(初期検査値を含まず)を、送信バッファ530へ書き込み信号を出力し、過去に格納された誤り検査値(M−N)(初期検査値を含まず)を送信バッファ530へ書き込んでセットする。
この誤り検査値(M−N)(初期検査値を含まず)の送信バッファ530への書き込み信号を出力するタイミングは、メインCPU110aが制御コマンド(M)を送信バッファ530へセットしてから、所定時間(β)経過後に、誤り検査値(M−N)(初期検査値を含まず)を送信バッファ530へ書き込むとして設定する。そして、このタイミングは、送信バッファ530において、メインCPU110aのタイマ割込処理プログラムの実行周期(α)ごとに書き込まれる各制御コマンドの直後に連続して誤り検査値が書き込まれるようなタイミングである。
In step S75, based on the predetermined addition method, the control unit 510 is generated N times before the control command (M) set in the transmission buffer 530 in step S71, and the test value storage area of the storage circuit 522 is stored. The error check value (MN) (not including the initial check value) stored in the memory is output to the transmission buffer 530, and the error check value (MN) (initial check value stored in the past) is output. (Not included) is written into the transmission buffer 530 and set.
The timing for outputting the write signal of the error check value (MN) (not including the initial check value) to the transmission buffer 530 is predetermined after the main CPU 110a sets the control command (M) to the transmission buffer 530. After the elapse of time (β), an error check value (MN) (not including the initial check value) is set to be written to the transmission buffer 530. This timing is such that the error check value is written in the transmission buffer 530 immediately after each control command written for each execution cycle (α) of the timer interrupt processing program of the main CPU 110a.

具体的には、制御部510は、メインCPU110aが上記ステップS71で制御コマンド(M)を送信バッファ530へ書き込む際に出力される書き込み信号を検知し、検知した書き込み信号を入力する。そして、制御部510は、検知した書き込み信号の入力時点から、制御コマンド(M)の送信バッファ530への書き込みが完了して制御コマンド(M)がセットされるまでに要する時間(=β <<α)が経過した後に、誤り検査値(M−N)(初期検査値を含まず)の送信バッファ530への書き込みが開始されるようなタイミングに、誤り検査値(M−N)(初期検査値を含まず)の書き込み信号の出力タイミングを設定する。なお、当該誤り検査値(M−N)(初期検査値を含まず)の書き込み信号の出力タイミングは、メインCPU110aからの指示によらず、送信部500が保持するアルゴリズムで予め設定されている。   Specifically, the control unit 510 detects a write signal output when the main CPU 110a writes the control command (M) to the transmission buffer 530 in step S71, and inputs the detected write signal. The control unit 510 then takes a time (= β <<) from when the detected write signal is input until the control command (M) is set after the writing of the control command (M) to the transmission buffer 530 is completed. After the elapse of (α), the error check value (MN) (initial check) is started at a timing at which writing of the error check value (MN) (not including the initial check value) to the transmission buffer 530 is started. Set the output timing of the write signal. Note that the output timing of the write signal of the error check value (MN) (not including the initial check value) is set in advance by an algorithm held by the transmission unit 500 regardless of an instruction from the main CPU 110a.

ステップS76において、制御部510は、メインROM110bに記憶されている固有情報を読み出し、格納回路522の初期検査値記領域に初期検査値として格納する。このとき、予め取り決められた付加方法により、固有情報および初期検査値記憶領域がN個分ある場合は、一度にN個の固有情報を読み出してもよいし、一度に1個ずつ、都度、固有情報を読み出してもよい。なお、本ステップS76は、遊技機1のリセット時など、格納回路522に格納されていた過去の誤り検査値がクリアされた場合に行う処理であり、一度にN個全ての固有情報を読み出すならば、その後は実行しない。
ステップS77において、制御部510は、格納回路522の初期検査値記憶領域に格納された初期検査値を、送信バッファ530に書き込むための書き込み信号を出力し、初期検査値を送信バッファ530へ書き込んでセットする。この書き込み信号の出力タイミングも、ステップS75の、誤り検査値(M−N)(初期検査値を含まず)の送信バッファ530への書き込み信号を出力するタイミングと同様である。
In step S76, the control unit 510 reads the unique information stored in the main ROM 110b and stores it as an initial inspection value in the initial inspection value recording area of the storage circuit 522. At this time, when there are N pieces of unique information and initial test value storage areas according to a predetermined addition method, N pieces of unique information may be read at a time, or one piece at a time. Information may be read out. Note that this step S76 is a process performed when the past error check value stored in the storage circuit 522 is cleared, such as when the gaming machine 1 is reset, and if all N pieces of unique information are read at a time. Then do not run.
In step S77, control unit 510 outputs a write signal for writing the initial test value stored in the initial test value storage area of storage circuit 522 to transmission buffer 530, and writes the initial test value to transmission buffer 530. set. The output timing of the write signal is also the same as the output timing of the write signal to the transmission buffer 530 for the error check value (MN) (not including the initial check value) in step S75.

なお、ステップS74〜ステップS77における処理(検査値付加処理)は、ステップS72〜ステップS73における処理(検査値生成処理)の前に行ってもよい。この場合、格納回路522の検査値記憶領域は、N個以上の誤り検査値を格納することができるように設けておけばよく、格納回路522の記憶領域を少なくすることができる。   Note that the processing (inspection value addition processing) in steps S74 to S77 may be performed before the processing (inspection value generation processing) in steps S72 to S73. In this case, the check value storage area of the storage circuit 522 may be provided so that N or more error check values can be stored, and the storage area of the storage circuit 522 can be reduced.

ステップS78において、制御部510は、送信バッファ530にセットされている制御コマンド(M)の送信タイミングを設定する。具体的には、制御部510は、制御コマンド(M)の送信許可信号を送信バッファ530へ出力するタイミングを設定する。送信許可信号を出力するタイミングは、概略的に言えば、上記ステップS71での制御コマンド(M)の書き込み信号の出力から、次回の制御コマンド(M+1)の送信バッファ530への書き込み信号の出力までの間に行われる。本実施形態では、ステップS71での制御コマンド(M)の書き込み信号の出力から、メインCPU110aのタイマ割込処理プログラムの実行周期(α)が経過する前までの間に行われる。   In step S78, control unit 510 sets the transmission timing of the control command (M) set in transmission buffer 530. Specifically, control unit 510 sets a timing for outputting a transmission permission signal for the control command (M) to transmission buffer 530. Generally speaking, the timing for outputting the transmission permission signal is from the output of the write signal of the control command (M) in step S71 to the output of the write signal to the transmission buffer 530 of the next control command (M + 1). Done during. In this embodiment, it is performed from the output of the write signal of the control command (M) in step S71 to before the execution period (α) of the timer interrupt processing program of the main CPU 110a elapses.

ステップS79において、送信バッファ530は、制御部510が出力した送信許可信号が入力されると、セットされた制御コマンド(M)および誤り検査値(M−N)を送信回路540へ直ちに出力する。送信回路540は、送信バッファ530から出力された制御コマンド(M)および誤り検査値(M−N)を一連の送信データとして、演出制御部120へ直ちに送信する。よって、制御コマンド(M)は、誤り検査値(M−N)が付加された制御コマンドとして演出制御部120へ送信されることになる。   In step S79, when the transmission permission signal output from control unit 510 is input, transmission buffer 530 immediately outputs the set control command (M) and error check value (MN) to transmission circuit 540. The transmission circuit 540 immediately transmits the control command (M) and the error check value (MN) output from the transmission buffer 530 to the effect control unit 120 as a series of transmission data. Therefore, the control command (M) is transmitted to the effect control unit 120 as a control command to which the error check value (MN) is added.

誤り検査値の書き込みタイミングを上記のように設定することで、今回付加すべき誤り検査値(M−N)の送信バッファ530への書き込みタイミングが他のデータの書き込みタイミングと重複して上書きされたり、誤り検査値(M−N)の書き込みタイミングに送信バッファ530の記憶領域に空き容量が存在せず、オーバーフローが発生したりすることを抑止することができる。このことが、後段制御部180での誤り検査処理の際に、予め取り決められた誤り検査値の付加方法との不整合によって誤り検査処理の検査結果が正常と判定されなくなるおそれを抑止し、誤り検査処理の確度を向上することにつながる。   By setting the write timing of the error check value as described above, the write timing of the error check value (MN) to be added this time to the transmission buffer 530 may be overwritten with another data write timing. Thus, it is possible to prevent the occurrence of overflow because there is no free space in the storage area of the transmission buffer 530 at the timing of writing the error check value (MN). This suppresses the possibility that the inspection result of the error checking process may not be determined to be normal due to inconsistency with a predetermined error checking value adding method during the error checking process in the subsequent control unit 180. This leads to an improvement in the accuracy of the inspection process.

また、誤り検査値の書き込みタイミングを上記のように設定することで、今回付加すべき誤り検査値(M−N)の送信バッファ530への書き込みタイミングと、制御コマンド(M)の送信バッファ530への書き込みタイミングの時間軸上の位置関係が明確化され、誤り検査値(M−N)は制御コマンド(M)の直後に必ず付加され、一つの送信データとして送信されることとなる。これにより、誤り検査値(M−N)が、誤り検査値(M−N)単体で演出制御部120へ送信されることがない。よって、不正者が、主制御部110と中間制御部180の間の送信データを窃取して、誤り検査値(M−N)を不正に解析し再利用することが困難となり、遊技機1のセキュリティ強度を向上することができる。   Also, by setting the error check value write timing as described above, the error check value (MN) to be added this time is written to the transmission buffer 530 and the control command (M) is sent to the transmission buffer 530. The positional relationship of the write timing on the time axis is clarified, and the error check value (MN) is always added immediately after the control command (M) and is transmitted as one transmission data. As a result, the error check value (MN) is not transmitted to the effect control unit 120 as a single error check value (MN). Therefore, it becomes difficult for an unauthorized person to steal transmission data between the main control unit 110 and the intermediate control unit 180, illegally analyze and reuse the error check value (MN), and the gaming machine 1 Security strength can be improved.

[演出制御部の制御処理]
以下、本発明の実施形態に係る遊技機1の演出制御部120の制御処理について説明する。まず、演出制御部120のメイン処理について説明する。
図16は、本実施形態に係る演出制御部120によるメイン処理を示すフローチャートである。
[Control processing of production control unit]
Hereinafter, the control processing of the effect control unit 120 of the gaming machine 1 according to the embodiment of the present invention will be described. First, the main process of the production control unit 120 will be described.
FIG. 16 is a flowchart showing main processing by the effect control unit 120 according to the present embodiment.

ステップS1000において、サブCPU120aは、初期化処理を行う。この処理において、サブCPU120aは、電源投入に応じて、サブROM120bからメイン処理に関するプログラムコードを読み込む。これとともに、サブCPU120aは、サブRAM120cに記憶されるフラグなどを初期化し、所定値を設定する処理を行う。この処理が終了した場合には、ステップS1100へ処理を移す。   In step S1000, the sub CPU 120a performs an initialization process. In this process, the sub CPU 120a reads the program code related to the main process from the sub ROM 120b in response to power-on. At the same time, the sub CPU 120a initializes a flag and the like stored in the sub RAM 120c and performs a process of setting a predetermined value. If this process ends, the process moves to a step S1100.

ステップS1100において、サブCPU120aは、演出用乱数更新処理を行う。この処理において、サブCPU120aは、サブRAM120cに記憶される演出用乱数値、演出図柄決定用乱数、演出モード決定用乱数等を更新する処理を行う。以降は、所定の割込処理が行われるまで、上記ステップS1100の処理を繰り返し行う。   In step S1100, the sub CPU 120a performs an effect random number update process. In this process, the sub CPU 120a performs a process of updating the effect random number value, effect design determining random number, effect mode determining random number and the like stored in the sub RAM 120c. Thereafter, the process of step S1100 is repeated until a predetermined interrupt process is performed.

次に、演出制御部120の割込処理について説明する。
図17は、本実施形態に係る演出制御部120による割込処理を示すフローチャートである。
サブCPU120aは、演出制御部120に設けられたクロックパルス発生回路(図示せず)から出力されるクロック信号に基づいて、所定の周期(例えば2ミリ秒)ごとに、演出制御部120のタイマ割込処理を実行する。
Next, the interruption process of the production control unit 120 will be described.
FIG. 17 is a flowchart showing interrupt processing by the effect control unit 120 according to the present embodiment.
Based on a clock signal output from a clock pulse generation circuit (not shown) provided in the effect control unit 120, the sub CPU 120a performs timer allocation of the effect control unit 120 at predetermined intervals (for example, 2 milliseconds). Execute the included process.

ステップS1200において、サブCPU120aは、サブCPU120aのレジスタに記憶されている情報をスタック領域に退避させる。
ステップS1300において、サブCPU120aは、演出制御部120で用いられる各種タイマカウンタの更新処理を行う。
In step S1200, the sub CPU 120a saves the information stored in the register of the sub CPU 120a to the stack area.
In step S1300, the sub CPU 120a performs update processing of various timer counters used in the effect control unit 120.

ステップS1350において、サブCPU120aは、中継送信処理を行う。この処理において、サブCPU120aは、サブRAM120cの第1受信データ用記憶領域に記憶された制御コマンドを、後段制御部180へそのまま送信する中継送信処理を行う。   In step S1350, the sub CPU 120a performs relay transmission processing. In this process, the sub CPU 120a performs a relay transmission process in which the control command stored in the first received data storage area of the sub RAM 120c is transmitted to the subsequent control unit 180 as it is.

演出制御部120を構成する第1受信部700aでは、主制御部110から送信された制御コマンドを受信し受信バッファに記憶すると、主制御部110から制御コマンドの受信割込要求があった旨を示す信号を出力し、制御コマンドの受信割込処理を発生させる。
そして、サブCPU120aは、受信バッファからサブRAM120cの第1受信データ用記憶領域へ取り込んで記憶する。そして、サブCPU120aは、第1受信データ用記憶領域に記憶された制御コマンドを、サブRAM120cの送信データ用記憶領域にそのまま書き込んでセットする。
When receiving the control command transmitted from the main control unit 110 and storing it in the reception buffer, the first receiving unit 700a constituting the effect control unit 120 indicates that there has been a control command reception interrupt request from the main control unit 110. A control command reception interrupt process is generated.
Then, the sub CPU 120a takes in from the reception buffer to the first reception data storage area of the sub RAM 120c and stores it. Then, the sub CPU 120a writes and sets the control command stored in the first reception data storage area as it is in the transmission data storage area of the sub RAM 120c.

続いて、サブCPU120aは、サブRAM120cの送信データ用記憶領域にセットされた制御コマンドを送信データとして、演出制御部120を構成する中継送信部740にて、後段制御部180へ直ちに送信させる。なお、サブRAM120cの第1受信データ用記憶領域に書き込まれた制御コマンドを、サブRAM120cの送信データ用記憶領域に書き込む際には、これらの記憶領域に書き込まれた順番とこれらの記憶領域から読み出す順番とが一致するように予め取り決めておく。なお、このことは、後段制御部180から演出制御部120へ制御コマンドを再び中継送信する場合も同様である。   Subsequently, the sub CPU 120a immediately transmits the control command set in the transmission data storage area of the sub RAM 120c as transmission data to the subsequent control unit 180 in the relay transmission unit 740 constituting the effect control unit 120. When the control command written in the first received data storage area of the sub-RAM 120c is written in the transmission data storage area of the sub-RAM 120c, the order in which these control areas are written and these storage areas are read out. Arrange in advance so that the order matches. This also applies to the case where the control command is relay-transmitted again from the subsequent control unit 180 to the effect control unit 120.

ステップS1500において、サブCPU120aは、コマンド解析処理を行う。この処理において、サブCPU120aは、サブRAM120cの第2受信データ用記憶領域に記憶された制御コマンドの種別を解析する処理を行う。   In step S1500, the sub CPU 120a performs command analysis processing. In this process, the sub CPU 120a performs a process of analyzing the type of the control command stored in the second received data storage area of the sub RAM 120c.

主制御部110から送信された制御コマンドは、上記ステップS1350において、演出制御部120から後段制御部180へ中継送信される。なお、後述するが、当該制御コマンドは、演出制御部120から後段制御部180へ中継送信されたものと同一の送信順序で、後段制御部180から演出制御部120へ再び中継送信される。   The control command transmitted from the main control unit 110 is relay-transmitted from the effect control unit 120 to the subsequent control unit 180 in step S1350. In addition, although mentioned later, the said control command is relay-transmitted again from the latter control part 180 to the effect control part 120 in the same transmission order as what was relay-transmitted from the effect control part 120 to the latter-stage control part 180.

演出制御部120を構成する第2受信部700bでは、後段制御部180から送信された制御コマンドを受信し受信バッファに記憶すると、後段制御部180から制御コマンドの受信割込要求があった旨を示す信号を出力し、制御コマンドの受信割込処理を発生させる。
サブCPU120aは、受信した制御コマンドを、受信バッファからサブRAM120cの第2受信データ用記憶領域へ取り込んで記憶する。そして、サブCPU120aは、第2受信データ用記憶領域に記憶された制御コマンドの種別を解析し、制御コマンドの種別に応じた処理を行う。なお、コマンド解析処理の詳細については後述する。
When receiving the control command transmitted from the latter-stage control unit 180 and storing it in the reception buffer, the second reception unit 700b constituting the effect control unit 120 indicates that there has been a control command reception interrupt request from the latter-stage control unit 180. A control command reception interrupt process is generated.
The sub CPU 120a takes the received control command from the reception buffer and stores it in the second reception data storage area of the sub RAM 120c. Then, the sub CPU 120a analyzes the type of the control command stored in the second received data storage area, and performs processing according to the type of the control command. Details of the command analysis process will be described later.

ステップS1700において、サブCPU120aは、演出ボタン検出スイッチ35aの信号のチェックを行い、演出ボタン35からの入力に関する演出用入力制御処理を行う。
ステップS1800において、サブCPU120aは、サブRAM120cの送信データ用記憶領域にセットされた制御コマンドや各種データを、ランプ制御部140や画像制御部150へ送信するための処理である演出用出力制御処理を行う。
ステップS1900において、サブCPU120aは、ステップS1200で退避した情報をサブCPU120aのレジスタに復帰させる。
In step S <b> 1700, the sub CPU 120 a checks the signal of the effect button detection switch 35 a, and performs effect input control processing related to input from the effect button 35.
In step S1800, the sub CPU 120a performs an effect output control process that is a process for transmitting the control command and various data set in the transmission data storage area of the sub RAM 120c to the lamp control unit 140 and the image control unit 150. Do.
In step S1900, the sub CPU 120a restores the information saved in step S1200 to the register of the sub CPU 120a.

次に、演出制御部120のコマンド解析処理について説明する。
図18および図19は、本実施形態に係る演出制御部120によるコマンド解析処理を示すフローチャートである。なお、図19のコマンド解析処理2は、図18のコマンド解析処理1に引き続いて行われるものである。
Next, command analysis processing of the effect control unit 120 will be described.
18 and 19 are flowcharts showing command analysis processing by the effect control unit 120 according to the present embodiment. Note that the command analysis process 2 in FIG. 19 is performed subsequent to the command analysis process 1 in FIG.

ステップS1501において、サブCPU120aは、第2受信部700bの受信バッファに制御コマンドが記憶されているか否かを確認して、制御コマンドを受信したか否かを判定する。
サブCPU120aは、受信バッファに制御コマンドが記憶されていなければコマンド解析処理を終了し、受信バッファに制御コマンドが記憶されていればステップS1650に処理を移す。
In step S1501, the sub CPU 120a checks whether or not the control command is stored in the reception buffer of the second reception unit 700b, and determines whether or not the control command has been received.
If the control command is not stored in the reception buffer, the sub CPU 120a ends the command analysis process, and if the control command is stored in the reception buffer, the sub CPU 120a moves the process to step S1650.

ステップS1650において、サブCPU120aは、受信バッファに記憶されている制御コマンドに付加された認証結果データの内容を確認する認証結果データ解析処理を行い、認証成功が確認されると、受信した制御コマンドを第2受信データ用記憶領域に取り込み、制御コマンドの種別を解析するべく、ステップS1510に処理を移す。なお、認証結果データ解析処理の詳細については後述する。   In step S1650, the sub CPU 120a performs an authentication result data analysis process for confirming the content of the authentication result data added to the control command stored in the reception buffer. When the authentication success is confirmed, the sub CPU 120a displays the received control command. Processing is transferred to step S1510 in order to import into the second received data storage area and analyze the type of control command. The details of the authentication result data analysis process will be described later.

ステップS1510において、サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが、デモ指定コマンドであるか否かを確認する。
サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドがデモ指定コマンドであれば、ステップS1511に処理を移し、デモ指定コマンドでなければステップS1520に処理を移す。
In step S1510, the sub CPU 120a confirms whether or not the control command stored in the second reception data storage area is a demonstration designation command.
If the control command stored in the second received data storage area is a demo designation command, the sub CPU 120a moves the process to step S1511, and if not, moves the process to step S1520.

ステップS1511において、サブCPU120aは、デモ演出パターンを決定するデモ演出パターン決定処理を行う。
具体的には、デモ演出パターンを決定し、決定したデモ演出パターンを演出パターン記憶領域にセットするとともに、決定したデモ演出パターンの情報を画像制御部150とランプ制御部140に送信するため、決定したデモ演出パターンに基づく演出パターン指定コマンドをサブRAM120cの送信データ用記憶領域にセットする。
In step S1511, the sub CPU 120a performs a demonstration effect pattern determination process for determining a demonstration effect pattern.
Specifically, the demonstration effect pattern is determined, the determined demonstration effect pattern is set in the effect pattern storage area, and information on the determined demonstration effect pattern is transmitted to the image control unit 150 and the lamp control unit 140. An effect pattern designation command based on the demo effect pattern is set in the transmission data storage area of the sub-RAM 120c.

ステップS1520において、サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが、特別図柄記憶指定コマンドであるか否かを確認する。
サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが特別図柄記憶指定コマンドであれば、ステップS1521に処理を移し、特別図柄記憶指定コマンドでなければステップS1530に処理を移す。
In step S1520, sub CPU 120a checks whether or not the control command stored in the second received data storage area is a special symbol storage designation command.
If the control command stored in the second received data storage area is a special symbol storage designation command, the sub CPU 120a moves the process to step S1521, and moves to step S1530 if it is not a special symbol storage designation command.

ステップS1521において、サブCPU120aは、特別図柄記憶指定コマンドを解析して、液晶表示装置31に表示させる特別図柄の保留画像(以下、「特図保留画像」という)の表示個数を決定するとともに、決定した特図保留画像の表示個数に対応する特図表示個数指定コマンドを画像制御部150とランプ制御部140に送信する特別図柄記憶数決定処理を行う。   In step S1521, the sub CPU 120a analyzes the special symbol storage designation command to determine the number of display images of special symbols to be displayed on the liquid crystal display device 31 (hereinafter referred to as “special diagram reserved images”). The special symbol display number designation command corresponding to the display number of the special figure reserved images is transmitted to the image control unit 150 and the lamp control unit 140, and a special symbol storage number determination process is performed.

ステップS1530において、サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが、演出図柄指定コマンドであるか否かを確認する。
サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが演出図柄指定コマンドであれば、ステップS1531に処理を移し、演出図柄指定コマンドでなければステップS1540に処理を移す。
In step S1530, the sub CPU 120a confirms whether or not the control command stored in the second received data storage area is an effect designating command.
If the control command stored in the second received data storage area is an effect designating command, the sub CPU 120a moves the process to step S1531, and moves to step S1540 if it is not an effect designating command.

ステップS1531において、サブCPU120aは、受信した演出図柄指定コマンドの内容に基づいて、液晶表示装置31に停止表示させる演出図柄36を決定する演出図柄決定処理を行う。
具体的には、演出図柄指定コマンドを解析して、大当たりの有無、大当たりの種別に応じて演出図柄36の組み合わせを構成する演出図柄データを決定し、決定された演出図柄データを演出図柄記憶領域にセットするとともに、演出図柄データを画像制御部150とランプ制御部140に送信するため、演出図柄データ示す停止図柄指定コマンドをサブRAM120cの送信データ用記憶領域にセットする。
In step S1531, the sub CPU 120a performs an effect symbol determination process for determining an effect symbol 36 to be stopped and displayed on the liquid crystal display device 31 based on the content of the received effect symbol designation command.
Specifically, the effect designating command is analyzed, the effect symbol data constituting the combination of the effect symbols 36 is determined according to the presence / absence of jackpot and the type of jackpot, and the determined effect symbol data is stored in the effect symbol storage area In addition, in order to transmit the effect symbol data to the image control unit 150 and the lamp control unit 140, a stop symbol designation command indicating the effect symbol data is set in the transmission data storage area of the sub RAM 120c.

ステップS1532において、サブCPU120aは、上記ステップ1100において更新されている演出モード決定用乱数値から1つの乱数値を取得し、取得した演出モード決定用乱数値と受信した演出図柄指定コマンドに基づいて、複数の演出モード(例えば、ノーマル演出モードやチャンス演出モード)の中から1つの演出モードを決定する演出モード決定処理を行う。また、決定した演出モードは、演出モード記憶領域にセットされる。   In step S1532, the sub CPU 120a acquires one random value from the effect mode determination random value updated in step 1100, and based on the acquired effect mode determination random value and the received effect designating command, An effect mode determination process for determining one effect mode from a plurality of effect modes (for example, a normal effect mode and a chance effect mode) is performed. Further, the determined effect mode is set in the effect mode storage area.

ステップS1540において、サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが、変動パターン指定コマンドであるか否かを確認する。
サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが変動パターン指定コマンドであれば、ステップS1541に処理を移し、変動パターン指定コマンドでなければステップS1550に処理を移す。
In step S1540, the sub CPU 120a checks whether or not the control command stored in the second received data storage area is a variation pattern designation command.
If the control command stored in the second received data storage area is the variation pattern designation command, the sub CPU 120a moves the process to step S1541 and moves the process to step S1550 if it is not the variation pattern designation command.

ステップS1541において、サブCPU120aは、上記ステップ1100において更新されている演出用乱数値から1つの乱数値を取得し、取得した演出用乱数値、受信した変動パターン指定コマンドおよび演出モード記憶領域にセットされている演出モードに基づいて、複数の変動演出パターンの中から1つの変動演出パターンを決定する変動演出パターン決定処理を行う。
具体的には、ノーマル演出モードであれば、変動演出パターン決定テーブルを参照し、取得した演出用乱数値に基づいて1つの変動演出パターンを決定し、決定した変動演出パターンを演出パターン記憶領域にセットするとともに、決定した変動演出パターンの情報を画像制御部150とランプ制御部140に送信するため、決定した変動演出パターンに基づく演出パターン指定コマンドをサブRAM120cの送信データ用記憶領域にセットする。
その後、かかる演出パターンに基づいて、液晶表示装置31、音声出力装置32、演出用駆動装置33、演出用照明装置34が制御されることになる。なお、ここで決定した変動演出パターンに基づいて、演出図柄36の変動態様が決定されることとなる。
In step S1541, the sub CPU 120a acquires one random number value from the effect random number value updated in step 1100, and sets the acquired effect random number value, the received variation pattern designation command, and the effect mode storage area. Based on the effect mode being performed, a variation effect pattern determination process for determining one variation effect pattern from a plurality of variation effect patterns is performed.
Specifically, in the normal effect mode, the variation effect pattern determination table is referred to, one change effect pattern is determined based on the acquired effect random number value, and the determined change effect pattern is stored in the effect pattern storage area. At the same time, in order to transmit the determined variation effect pattern information to the image control unit 150 and the lamp control unit 140, an effect pattern designation command based on the determined variation effect pattern is set in the transmission data storage area of the sub RAM 120c.
Thereafter, based on the effect pattern, the liquid crystal display device 31, the audio output device 32, the effect drive device 33, and the effect illumination device 34 are controlled. Note that the variation mode of the effect symbol 36 is determined based on the variation effect pattern determined here.

ステップS1550において、サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが、図柄確定コマンドであるか否かを確認する。
サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが図柄確定コマンドであれば、ステップS1551に処理を移し、図柄確定コマンドでなければステップS1560に処理を移す。
In step S1550, the sub CPU 120a checks whether or not the control command stored in the second received data storage area is a symbol determination command.
If the control command stored in the second received data storage area is the symbol confirmation command, the sub CPU 120a moves the process to step S1551, and moves to step S1560 if it is not the symbol confirmation command.

ステップS1551において、サブCPU120aは、演出図柄36を停止表示させるために、演出図柄を停止表示させるための停止指定コマンドをサブRAM120cの送信データ用記憶領域にセットする演出図柄停止表示処理を行う。   In step S1551, the sub CPU 120a performs an effect symbol stop display process for setting a stop designation command for stopping the effect symbol in the transmission data storage area of the sub RAM 120c in order to stop the effect symbol 36.

ステップS1560において、サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが、遊技状態指定コマンドであるか否かを判定する。
サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが遊技状態指定コマンドであればステップS1561に処理を移し、遊技状態指定コマンドでなければステップS1570に処理を移す。
In step S1560, the sub CPU 120a determines whether or not the control command stored in the second reception data storage area is a gaming state designation command.
If the control command stored in the second received data storage area is a gaming state designation command, the sub CPU 120a moves the process to step S1561, and if not the gaming command, the sub CPU 120a moves the process to step S1570.

ステップS1561において、サブCPU120aは、受信した遊技状態指定コマンドに基づいた遊技状態を示すデータをサブRAM120cにある遊技状態記憶領域にセットする。   In step S1561, the sub CPU 120a sets data indicating the gaming state based on the received gaming state designation command in the gaming state storage area in the sub RAM 120c.

ステップS1570において、サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが、オープニング指定コマンドであるか否かを確認する。
サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドがオープニング指定コマンドであればステップS1571に処理を移し、オープニング指定コマンドでなければステップS1580に処理を移す。
In step S1570, the sub CPU 120a checks whether or not the control command stored in the second received data storage area is an opening designation command.
If the control command stored in the second received data storage area is an opening designation command, the sub CPU 120a moves the process to step S1571, and moves to step S1580 if it is not the opening designation command.

ステップS1571において、サブCPU120aは、当たり開始演出パターンを決定する当たり開始演出パターン決定処理を行う。
具体的には、オープニング指定コマンドに基づいて当たり開始演出パターンを決定し、決定した当たり開始演出パターンを演出パターン記憶領域にセットするとともに、決定した当たり開始演出パターンの情報を画像制御部150とランプ制御部140に送信するため、決定した当たり開始演出パターンに基づく演出パターン指定コマンドをサブRAM120cの送信データ用記憶領域にセットする。
In step S1571, the sub CPU 120a performs a hit start effect pattern determination process for determining a hit start effect pattern.
Specifically, the hit start effect pattern is determined based on the opening designation command, the determined hit start effect pattern is set in the effect pattern storage area, and information on the determined hit start effect pattern is transmitted to the image controller 150 and the lamp. In order to transmit to the control unit 140, an effect pattern designation command based on the determined hit start effect pattern is set in the transmission data storage area of the sub RAM 120c.

ステップS1580において、サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが、大入賞口開放指定コマンドであるか否かを確認する。
サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが大入賞口開放指定コマンドであればステップS1581に処理を移し、大入賞口開放指定コマンドでなければステップS1590に処理を移す。
In step S1580, the sub CPU 120a checks whether or not the control command stored in the second received data storage area is a special winning opening opening designation command.
If the control command stored in the second received data storage area is a big winning opening release designation command, the sub CPU 120a moves the process to step S1581, and if not, moves the processing to step S1590. .

ステップS1581において、サブCPU120aは、大当たり演出パターンを決定する大当たり演出パターン決定処理を行う。
具体的には、大入賞口開放指定コマンドに基づいて大当たり演出パターンを決定し、決定した大当たり演出パターンを演出パターン記憶領域にセットするとともに、決定した大当たり演出パターンの情報を画像制御部150とランプ制御部140に送信するため、決定した大当たり演出パターンに基づく演出パターン指定コマンドをサブRAM120cの送信データ用記憶領域にセットする。
In step S1581, the sub CPU 120a performs a jackpot effect pattern determination process for determining a jackpot effect pattern.
Specifically, the jackpot effect pattern is determined based on the big prize opening opening designation command, the determined jackpot effect pattern is set in the effect pattern storage area, and information on the determined jackpot effect pattern is transmitted to the image controller 150 and the lamp. In order to transmit to the control unit 140, an effect pattern designation command based on the determined jackpot effect pattern is set in the transmission data storage area of the sub RAM 120c.

ステップS1590において、サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドが、エンディング指定コマンドであるか否かを確認する。
サブCPU120aは、第2受信データ用記憶領域に記憶されている制御コマンドがエンディング指定コマンドであればステップS1591に処理を移し、エンディング指定コマンドでなければコマンド解析処理を終了する。
In step S1590, the sub CPU 120a checks whether or not the control command stored in the second received data storage area is an ending designation command.
If the control command stored in the second received data storage area is an ending designation command, the sub CPU 120a moves the process to step S1591, and ends the command analysis process if it is not an ending designation command.

ステップS1591において、サブCPU120aは、当たり終了演出パターンを決定する当たり終了演出パターン決定処理を行う。
具体的には、エンディング指定コマンドに基づいて当たり終了演出パターンを決定し、決定した当たり終了演出パターンを演出パターン記憶領域にセットするとともに、決定した当たり終了演出パターンの情報を画像制御部150とランプ制御部140に送信するため、決定した当たり終了演出パターンに基づく演出パターン指定コマンドをサブRAM120cの送信データ用記憶領域にセットする。本処理を終了すると、コマンド解析処理が終了する。
In step S1591, the sub CPU 120a performs a hit end effect pattern determination process for determining a hit end effect pattern.
Specifically, the winning end effect pattern is determined based on the ending designation command, the determined hit end effect pattern is set in the effect pattern storage area, and information on the determined hit end effect pattern is stored in the image control unit 150 and the lamp. In order to transmit to the control unit 140, an effect pattern designation command based on the determined winning end effect pattern is set in the transmission data storage area of the sub RAM 120c. When this process ends, the command analysis process ends.

次に、演出制御部120の認証結果データ解析処理について説明する。
図20は、本実施形態に係る演出制御部120による認証結果データ解析処理を示すフローチャートである。
Next, the authentication result data analysis process of the production control unit 120 will be described.
FIG. 20 is a flowchart showing authentication result data analysis processing by the effect control unit 120 according to the present embodiment.

ステップS1651において、サブCPU120aは、第2受信部700bの受信バッファに記憶された制御コマンドに、認証結果データが付加されているか否かを判定する。そして、サブCPU120aは、制御コマンドに認証結果データが付加されていなければ認証結果データ解析処理を終了し、認証結果データが付加されていればステップS1652に処理を移す。
ステップS1652において、サブCPU120aは、受信バッファに記憶された制御コマンドから認証結果データを抽出し、ステップS1653に処理を移す。
In step S1651, the sub CPU 120a determines whether authentication result data is added to the control command stored in the reception buffer of the second reception unit 700b. If the authentication result data is not added to the control command, the sub CPU 120a ends the authentication result data analysis process, and if the authentication result data is added, the sub CPU 120a moves the process to step S1652.
In step S1652, the sub CPU 120a extracts authentication result data from the control command stored in the reception buffer, and the process proceeds to step S1653.

ステップS1653において、サブCPU120aは、抽出した認証結果データが、後段制御部180にて行った誤り検査処理の検査結果が正常であり、主制御部110の正当性を認証することができたか否かを判定する。そして、サブCPU120aは、認証結果データが認証成功を示す結果である場合、受信した制御コマンドをサブRAM120cの第2受信データ用記憶領域へ出力し、当該制御コマンドに応じた処理を行わせるべく、認証結果データ解析処理を終了する。一方、サブCPU120aは、認証結果データが認証不成功を示す結果である場合、遊技機1で不正行為等が発生したおそれがあると判断し、ステップS1654に処理を移す。
ステップS1654において、遊技機1で不正行為等が発生したおそれがあると判断された場合、サブCPU120aは、その旨を報知する為に報知信号を出力する。
In step S1653, the sub CPU 120a determines whether or not the extracted authentication result data indicates that the inspection result of the error inspection process performed by the post-control unit 180 is normal and the main control unit 110 can be authenticated. Determine. Then, if the authentication result data is a result indicating the authentication success, the sub CPU 120a outputs the received control command to the second received data storage area of the sub RAM 120c, and performs processing according to the control command. The authentication result data analysis process ends. On the other hand, if the authentication result data is a result indicating that the authentication is unsuccessful, the sub CPU 120a determines that there is a possibility that an illegal act or the like has occurred in the gaming machine 1, and moves the process to step S1654.
If it is determined in step S1654 that there is a possibility that an illegal act or the like has occurred in the gaming machine 1, the sub CPU 120a outputs a notification signal in order to notify that fact.

サブCPU120aは、生成した報知信号を、例えば、ランプ制御部140や画像制御部150、あるいは遊技機1を管理するホールコンピュータ等へ送信する。ランプ制御部140や画像制御部150等は、受信した報知信号に基づいて、遊技機1で不正行為が発生したおそれがある旨を報知する演出を実行する。この演出は、例えば、液晶表示装置31に通常出現しないキャラクタを出現させたり、通常出現するキャラクタを通常とは異なる方法で出現させるなどである。また、液晶表示装置31の輝度を変えたり、色を変えたり、ランプ制御部140に対して所定のランプを表示制御するようにしてもよい。いずれにしても、遊技店の従業員が当該遊技機1の前を通過した際に、その状態に気付くようにしてあればよい。また、この演出は、顧客がその状態に気付かないような演出でもよく、また、顧客が容易に気付く演出であってもよい。顧客が容易に気付く演出にすれば、不正行為を効率的に抑止することができる。   The sub CPU 120a transmits the generated notification signal to, for example, the lamp control unit 140, the image control unit 150, or a hall computer that manages the gaming machine 1. Based on the received notification signal, the lamp control unit 140, the image control unit 150, and the like perform an effect that notifies that there is a possibility that an illegal act has occurred in the gaming machine 1. This effect is, for example, causing a character that does not normally appear on the liquid crystal display device 31 to appear, or causing a character that normally appears to appear by a method different from normal. In addition, the brightness of the liquid crystal display device 31 may be changed, the color may be changed, or the lamp controller 140 may be controlled to display a predetermined lamp. In any case, when the employee of the game shop passes in front of the gaming machine 1, it is only necessary to notice the state. This effect may be an effect that the customer does not notice the state or an effect that the customer can easily notice. If the production is easily noticed by the customer, fraud can be efficiently suppressed.

また、報知信号に、遊技機1の遊技状態や大当たりの種別に関する情報を含めてもよい。これらの情報に基づいて、遊技機1を管理するホールコンピュータ等によって不正行為が行われているか否かの判断を行ってもよい。例えば、「高確率遊技状態」は賞球が集中していても正常である場合がある。よって、高確率遊技状態中は、その他の状態とは異なる条件で不正行為のおそれがあるか否かについて判断するのがよい。また、遊技状態や大当たりの種別に関する情報は、報知信号に含めずに別信号として出力するようにしてもよい。この場合、従業員は、報知信号と遊技状態や大当たりの種別に関する情報の両方に基づいて、不正行為のおそれがあるか否かについて判断する。   Moreover, you may include the information regarding the gaming state or jackpot type of the gaming machine 1 in the notification signal. Based on these pieces of information, it may be determined whether a fraudulent act is being performed by a hall computer or the like that manages the gaming machine 1. For example, the “high probability gaming state” may be normal even if prize balls are concentrated. Therefore, during the high-probability gaming state, it is preferable to determine whether or not there is a risk of cheating under different conditions from the other states. Moreover, you may make it output the information regarding a gaming state or jackpot type as a separate signal without including it in a notification signal. In this case, the employee determines whether or not there is a risk of fraud based on both the notification signal and the information regarding the gaming state and the jackpot type.

[後段制御部の制御処理]
以下、本発明の実施形態に係る遊技機1の後段制御部180の制御処理について説明する。
図21は、本実施形態に係る後段制御部180によるメイン処理を示すフローチャートである。
[Control processing of rear-stage control unit]
Hereinafter, the control process of the rear stage control unit 180 of the gaming machine 1 according to the embodiment of the present invention will be described.
FIG. 21 is a flowchart showing main processing by the post-stage control unit 180 according to the present embodiment.

ステップS4010において、CPU180aは、初期化処理を行う。この処理において、CPU180aは、電源投入に応じて、ROM180bからメイン処理に関するプログラムコードを読み込む。これとともに、CPU180aは、RAM180cに記憶されるフラグなどを初期化し、所定値に設定する処理を行う。この処理が終了した場合には、ステップS4020へ処理を移す。なお、本ステップS4010の中で、主制御部110と同様の誤り検査値生成機能を設定する処理が行われる。   In step S4010, the CPU 180a performs initialization processing. In this process, the CPU 180a reads a program code related to the main process from the ROM 180b in response to power-on. At the same time, the CPU 180a performs processing for initializing a flag stored in the RAM 180c and setting it to a predetermined value. If this process ends, the process moves to a step S4020. In step S4010, a process for setting an error check value generation function similar to that of the main control unit 110 is performed.

ステップS4020において、CPU180aは、主制御部110が送信する制御コマンドを受信したか否かを判定する。
後段制御部180を構成する受信部600では、主制御部110から送信された制御コマンドを受信し受信バッファに記憶すると、主制御部110から制御コマンドの受信割込要求があった旨を示す信号を出力し、制御コマンドの受信割込処理を発生させる。
そして、CPU180aは、本ステップS4020において、受信部600からの上記受信割込要求信号が入力されるまで待機し、受信部600からの上記信号が入力されると、受信バッファに記憶されている制御コマンドに対して誤り検査処理を行う。具体的には、次のステップS4030からステップS4130の処理である。
In step S4020, CPU 180a determines whether a control command transmitted from main control unit 110 has been received or not.
In the receiving unit 600 constituting the latter control unit 180, when the control command transmitted from the main control unit 110 is received and stored in the reception buffer, a signal indicating that there is a control command reception interrupt request from the main control unit 110 To generate a control command reception interrupt process.
In step S4020, the CPU 180a waits until the reception interrupt request signal from the reception unit 600 is input. When the signal from the reception unit 600 is input, the CPU 180a stores the control stored in the reception buffer. Perform error checking for the command. Specifically, it is the process of the next step S4030 to step S4130.

ステップS4030において、CPU180aは、受信部600の受信バッファに記憶された制御コマンド(M)から、当該制御コマンド(M)に付加された誤り検査値(M−N)を抽出する。そして、CPU180aは、抽出した誤り検査値(M−N)を検査部610へ出力するとともに、誤り検査値(M−N)抽出後の制御コマンド(M)を検査値生成部620および付加部630へ出力する。
ステップS4040において、CPU180aは、検査値生成部620から出力された制御コマンド(M)の誤り検査値(M)を、検査値生成部620を構成する生成部621にて生成する。
ステップS4050において、CPU180aは、生成部621にて生成された誤り検査値(M)を、検査値生成部620を構成する格納部622にて格納する。
In step S4030, the CPU 180a extracts the error check value (MN) added to the control command (M) from the control command (M) stored in the reception buffer of the reception unit 600. Then, the CPU 180a outputs the extracted error check value (MN) to the check unit 610, and outputs the control command (M) after extracting the error check value (MN) to the check value generation unit 620 and the addition unit 630. Output to.
In step S <b> 4040, the CPU 180 a generates the error check value (M) of the control command (M) output from the check value generation unit 620 in the generation unit 621 constituting the check value generation unit 620.
In step S4050, the CPU 180a stores the error check value (M) generated by the generation unit 621 in the storage unit 622 constituting the check value generation unit 620.

ステップS4060において、CPU180aは、今回受信した制御コマンド(M)のMの値が、予め取り決められた遡及数Nより大きいか否かを判定する。CPU180aは、M>Nでなければ、すなわちM≦Nであれば、ステップS4080に処理を移し、M>Nであれば、ステップS4070に処理を移す。
ステップS4070において、CPU180aは、予め取り決められた付加方法に基づき、受信バッファに記憶された制御コマンド(M)よりN個前に生成され、格納部622の検査値記憶領域に格納された誤り検査値(M−N)(初期検査値を含まず)を検査部610へ出力する。
In step S4060, the CPU 180a determines whether or not the value of M of the control command (M) received this time is larger than a predetermined retroactive number N. If M> N is not satisfied, that is, if M ≦ N, the process proceeds to step S4080, and if M> N, the process proceeds to step S4070.
In step S4070, the CPU 180a generates an error check value generated N times before the control command (M) stored in the reception buffer and stored in the check value storage area of the storage unit 622 based on a predetermined addition method. (MN) (not including the initial inspection value) is output to the inspection unit 610.

ステップS4080において、CPU180aは、ROM180bに記憶されている固有情報を読み出し、格納部622の初期検査値記領域に初期検査値として格納する。このとき、予め取り決められた付加方法により、固有情報および初期検査値記憶領域がN個分ある場合は、一度にN個の固有情報を読み出してもよいし、一度に1個ずつ、都度、固有情報を読み出してもよい。なお、本ステップS4080は、遊技機1のリセット時など、格納部622に格納されていた過去の誤り検査値がクリアされた場合に行う処理であり、一度にN個全ての固有情報を読み出すならば、その後は実行しない。
ステップS4090において、CPU180aは、格納部622の初期検査値記憶領域に格納された初期検査値を検査部610へ出力する。
In step S4080, the CPU 180a reads the unique information stored in the ROM 180b and stores it as an initial inspection value in the initial inspection value recording area of the storage unit 622. At this time, when there are N pieces of unique information and initial test value storage areas according to a predetermined addition method, N pieces of unique information may be read at a time, or one piece at a time. Information may be read out. Note that this step S4080 is a process performed when the past error check value stored in the storage unit 622 is cleared, such as when the gaming machine 1 is reset, and if all N pieces of unique information are read at a time. Then do not run.
In step S 4090, CPU 180 a outputs the initial inspection value stored in the initial inspection value storage area of storage unit 622 to inspection unit 610.

なお、ステップS4060からステップS4090における処理は、ステップS4040からステップS4050における処理の前に行ってもよい。この場合、格納部622の検査値記憶領域は、N個以上の誤り検査値を格納することができるように設けておけばよく、格納部622の記憶領域を少なくすることができる。   Note that the processing from step S4060 to step S4090 may be performed before the processing from step S4040 to step S4050. In this case, the check value storage area of the storage unit 622 may be provided so as to store N or more error check values, and the storage area of the storage unit 622 can be reduced.

ステップS4100において、CPU180aは、受信部600から出力された誤り検査値(M−N)と、上記ステップS4030より過去に格納部620から出力された誤り検査値(M−N)とを検査部610にて比較する。両者とも誤り検査値(M−N)で一致する場合は、誤り検査の検査結果は正常であると判断し、一致しない場合は、検査結果は正常でないと判断する。   In step S4100, the CPU 180a checks the error check value (MN) output from the receiving unit 600 and the error check value (MN) output from the storage unit 620 in the past from step S4030. Compare with. If both match with the error check value (MN), it is determined that the test result of the error check is normal, and if they do not match, it is determined that the test result is not normal.

ステップS4110において、CPU180aは、検査結果が正常であると判断されたか否かを検査部610にて判定する。CPU180aは、検査結果が正常であると判断された場合は、今回受信した誤り検査値(M−N)が付加された制御コマンド(M)、および今回の誤り検査値(M−N)の生成元であるN個前の制御コマンド(M−N)の正当性を認証することができたことにより、主制御部110の正当性が認証されたと判断し、ステップS4120に処理を移す。また、検査結果が正常でないと判断された場合は、主制御部110の正当性を認証することができなかったと判断し、ステップS4130に処理を移す。   In step S4110, the CPU 180a determines in the inspection unit 610 whether or not it is determined that the inspection result is normal. When it is determined that the inspection result is normal, the CPU 180a generates the control command (M) to which the currently received error check value (MN) is added and the current error check value (MN). Since the validity of the original N control commands (MN) can be authenticated, it is determined that the validity of the main control unit 110 has been authenticated, and the process proceeds to step S4120. If it is determined that the inspection result is not normal, it is determined that the validity of the main control unit 110 could not be authenticated, and the process proceeds to step S4130.

ステップS4120において、CPU180aは、認証成功を示す認証結果データを検査部610にて生成し、生成した認証結果データを付加部630へ出力し、ステップS4140に処理を移す。
ステップS4130において、CPU180aは、認証不成功を示す認証結果データを検査部610にて生成し、生成した認証結果データを付加部630へ出力し、ステップS4140に処理を移す。
In step S4120, the CPU 180a generates authentication result data indicating successful authentication in the inspection unit 610, outputs the generated authentication result data to the adding unit 630, and moves the process to step S4140.
In step S4130, the CPU 180a generates authentication result data indicating unsuccessful authentication in the inspection unit 610, outputs the generated authentication result data to the adding unit 630, and shifts the processing to step S4140.

ステップS4140において、CPU180aは、上記ステップS4030にて出力された制御コマンド(M)に対し、上記ステップS4120または上記ステップS4130にて出力された認証結果データを付加部630にて付加し、認証結果データ付きの制御コマンド(M)を中継送信部640へ出力し、ステップS4150に処理を移す。
ステップS4150において、CPU180aは、認証結果データ付きの制御コマンド(M)を送信データとして中継送信部640にて演出制御部120へ直ちに送信させる。その後、所定の割込処理があるまで、ステップS4020以降の処理を繰り返す。
In step S4140, the CPU 180a adds the authentication result data output in step S4120 or step S4130 to the control command (M) output in step S4030 by the adding unit 630, and the authentication result data. The attached control command (M) is output to the relay transmission unit 640, and the process proceeds to step S4150.
In step S4150, CPU 180a causes relay transmission unit 640 to immediately transmit control command (M) with authentication result data as transmission data to effect control unit 120. Thereafter, the processes after step S4020 are repeated until a predetermined interrupt process is performed.

なお、払出制御部130に対して後段制御部180が接続されている場合の認証処理は、演出制御部120に対して後段制御部180が接続されている場合の認証処理とほぼ同様の手順で行われるため説明を省略する。   The authentication process when the latter control unit 180 is connected to the payout control unit 130 is substantially the same procedure as the authentication process when the latter control unit 180 is connected to the effect control unit 120. Since it is performed, the description is omitted.

以上のように、本実施形態では、セキュリティ機能として、主制御部110が出力する制御コマンドの正当性を検査して主制御部110の正当性を認証する。主制御部110は、制御コマンドの誤り検査値を生成し格納している。そして主制御部110は、今回送信する制御コマンドに、これより前(過去)に生成した制御コマンドの誤り検査値を付加して演出制御部120を介して後段制御部180に送信する。一方、後段制御部180は、受信した制御コマンドの誤り検査値を生成し保存している。そして後段制御部180は、今回受信した制御コマンドに付加された誤り検査値と、今回受信した制御コマンドより前(過去)に生成された制御コマンドの誤り検査値とを照合して誤り検査を行う。   As described above, in the present embodiment, as a security function, the validity of the main control unit 110 is authenticated by checking the validity of the control command output from the main control unit 110. The main control unit 110 generates and stores an error check value for the control command. The main control unit 110 adds the error check value of the control command generated before (past) to the control command to be transmitted this time, and transmits the control command to the subsequent control unit 180 via the effect control unit 120. On the other hand, the post-stage control unit 180 generates and stores an error check value for the received control command. Then, the post-stage control unit 180 performs error checking by comparing the error check value added to the control command received this time with the error check value of the control command generated before (past) the control command received this time. .

通常、チェックサム等の誤り検査値は生成元の制御コマンドに付加されて通信エラーチェックに利用される。これに対して、本実施形態では、上述のように、過去に生成した制御コマンドの誤り検査値を、今回送信する制御コマンドに付加する。このような従来にない新規かつ簡易な手法を用いることにより、不正者が制御コマンドと誤り検査値を窃取しても制御コマンドと誤り検査値の関係を容易に知ることができないようにすることができる。したがって、本実施形態によれば、不正行為を防止することができ、遊技機1のセキュリティ強度を向上させることができる。   Normally, an error check value such as a checksum is added to the control command of the generation source and used for a communication error check. In contrast, in the present embodiment, as described above, the error check value of the control command generated in the past is added to the control command to be transmitted this time. By using such a new and simple method that has not been used in the past, even if an unauthorized person steals a control command and an error check value, the relationship between the control command and the error check value cannot be easily known. it can. Therefore, according to this embodiment, fraud can be prevented and the security strength of the gaming machine 1 can be improved.

また、主制御部110が過去に生成した制御コマンドの誤り検査値を、今回送信する制御コマンドに付加して送信し、後段制御部180が制御コマンドの誤り検査処理を行うことにより、今回受信した制御コマンドの正当性を認証するとともに、過去に生成された制御コマンド、すなわち、今回付加された誤り検査値の生成元となった制御コマンドの正当性をも認証することができる。すなわち、制御コマンドの連続性を認証することができることとなり、不正行為をより検出しやすくなり、遊技機1のセキュリティ強度を向上させることができる。   In addition, the error check value of the control command generated in the past by the main control unit 110 is added to the control command to be transmitted this time and transmitted, and the subsequent control unit 180 performs the error check process of the control command to receive this time In addition to authenticating the validity of the control command, it is also possible to authenticate the validity of the control command generated in the past, that is, the control command from which the error check value added this time is generated. That is, it is possible to authenticate the continuity of the control command, and it becomes easier to detect fraud, and the security strength of the gaming machine 1 can be improved.

また、本実施形態では、M≦Nの場合に送信される制御コマンドには、遊技機1に固有の固有情報が付加されることで、誤り検査値が遊技機1に固有の値とすることができる。これにより、固有情報を知らない不正者が一部の制御コマンドを窃取したとしても誤り検査値の解析を不可能とすることができ、遊技機1のセキュリティ強度をより一層向上させることができる。   In the present embodiment, the error check value is set to a value unique to the gaming machine 1 by adding unique information unique to the gaming machine 1 to the control command transmitted when M ≦ N. Can do. As a result, even if an unauthorized person who does not know the specific information steals a part of the control command, the error check value cannot be analyzed, and the security strength of the gaming machine 1 can be further improved.

また、本実施形態では、通常は通信エラーチェックに用いる誤り検査値を、不正行為を検出するための検査値として利用している。このように通信エラーチェックに従来から用いられている誤り検査値を利用することで、不正行為を検出するための検査値生成手段を別途設けずとも不正行為を検出することができ、セキュリティ強度を向上させることができる。すなわち、遊技機の主制御部のリソースが限られているという状況下において、セキュリティ強度を向上させつつ、主制御部110の処理負荷の増大を抑制することができる。   In this embodiment, an error check value that is normally used for communication error check is used as a check value for detecting fraud. In this way, by using an error check value conventionally used for communication error check, it is possible to detect fraud without separately providing test value generation means for detecting fraud. Can be improved. That is, in a situation where the resources of the main control unit of the gaming machine are limited, an increase in processing load on the main control unit 110 can be suppressed while improving the security strength.

また、本実施形態では、主制御部110が有する誤り検査値生成機能をハードウェアで構成するとともに、誤り検査値の生成および付加処理を、プログラムに記述されたメインCPU110aからの指示によらず、送信部500独自に保持するアルゴリズムに従って実行し、誤り検査値付きの制御コマンドを、演出制御部120を介して後段制御部180へ自動的に送信している。そして、後段制御部180での誤り検査処理において、現在および過去に生成された制御コマンドの正当性を認証することで、主制御部110の個体としての正当性(アイデンティティ)を認証する。したがって、遊技機1は、セキュリティ機能を有しながらも、セキュリティ機能を有することで増大する主制御部110のCPUの処理負荷やコードサイズを最大限抑制することができ、遊技機1のセキュリティ強度の向上と処理速度の向上とを両立させることができる。   Further, in the present embodiment, the error check value generation function of the main control unit 110 is configured by hardware, and error check value generation and addition processing is performed regardless of an instruction from the main CPU 110a described in the program. This is executed according to an algorithm that is uniquely stored in the transmission unit 500, and a control command with an error check value is automatically transmitted to the subsequent control unit 180 via the effect control unit 120. Then, in the error checking process in the post-stage control unit 180, the validity (identity) of the main control unit 110 as an individual is authenticated by authenticating the validity of the control commands generated now and in the past. Therefore, although the gaming machine 1 has the security function, the processing load and code size of the CPU of the main control unit 110 that increase by having the security function can be suppressed to the maximum, and the security strength of the gaming machine 1 It is possible to achieve both improvement of the processing speed and improvement of the processing speed.

また、本実施形態では、送信部500が生成回路521を担う生成回路を複数備えることで、送信部500の誤り検査値生成機能を予め複数用意している。そして、どの誤り検査値生成機能によって誤り検査値を生成するかは、主制御部110のブート処理時の初期値設定時以外ではアクセスされないメインROM110bの特定の記憶領域に記憶されている生成パラメータの値に基づいて決定されている。よって、不正者が、主制御部110と演出制御部120との間の送信データを窃取しても、誤り検査値がどの生成機能で生成されたかを解析することが困難となる。したがって、遊技機1が有する誤り検査値生成機能の秘匿性を確保することができ、遊技機1のセキュリティ強度を向上させることができる。   Further, in the present embodiment, a plurality of error check value generation functions of the transmission unit 500 are prepared in advance by providing the transmission unit 500 with a plurality of generation circuits responsible for the generation circuit 521. Which error check value generation function generates the error check value depends on the generation parameter stored in a specific storage area of the main ROM 110b that is not accessed except when the initial value is set during the boot process of the main control unit 110. It is determined based on the value. Therefore, even if an unauthorized person steals transmission data between the main control unit 110 and the effect control unit 120, it is difficult to analyze which generation function generates the error check value. Therefore, the confidentiality of the error check value generation function of the gaming machine 1 can be ensured, and the security strength of the gaming machine 1 can be improved.

また、本実施形態では、誤り検査値生成機能およびその選択情報としての生成パラメータを予め複数種類用意するものの、特定の生成パラメータのみを実装している。よって、ブート処理での生成パラメータの選択処理に伴うプログラムを新たに設ける必要がなく、プログラムのコードサイズを増大させることもない。また、遊技機メーカーが特定の誤り検査値生成機能だけを採用したい場合などであっても、所望の誤り検査値生成機能に対応した生成パラメータのみを実装すればよく、遊技機メーカーの嗜好や用途に柔軟に対応することができる。したがって、多様性に富んだセキュリティ機能であっても比較的簡易に追加することができ、汎用性の高いセキュリティ機能を提供することができる。また、遊技機1の開発段階中で設計・検証作業等に使用する生成パラメータと、遊技機1の出荷前に実際に実装される生成パラメータとを変えることにより、最終的にどの生成パラメータが採用されたのかを知り得る者を限定することができ、誤り検査値生成機能に対する秘匿性を更に向上させることができる。   In this embodiment, although a plurality of types of error check value generation functions and generation parameters as selection information thereof are prepared in advance, only specific generation parameters are implemented. Therefore, it is not necessary to newly provide a program associated with the generation parameter selection process in the boot process, and the code size of the program is not increased. Also, even if a gaming machine manufacturer wants to adopt only a specific error check value generation function, it is only necessary to implement the generation parameters corresponding to the desired error check value generation function. Can respond flexibly. Therefore, even diverse security functions can be added relatively easily, and a highly versatile security function can be provided. In addition, by changing the generation parameters used for design and verification work during the development stage of the gaming machine 1 and the generation parameters that are actually mounted before the gaming machine 1 is shipped, which generation parameters are finally adopted It is possible to limit the persons who can know whether it has been done, and to further improve the confidentiality of the error check value generation function.

また、本実施形態では、主制御部110に対する認証機能は、通常の遊技進行に係る処理を行う周辺部300とは別個独立した後段制御部180に備えられている。よって、例えば、後段制御部180が演出制御部120に後続して設けられているとき、演出制御部120で認証処理が実行されるのは、後段制御部180から認証結果データを受信した場合のみである。すなわち、認証処理を行うことによって演出制御部120のCPUの処理負荷が増大するのは、認証結果データを受信したときのみであるため、演出制御部120の処理負荷が増大する割合を抑えることができる。また、演出制御部120が実行するプログラムには、認証結果データ解析処理に関するプログラムコードを追加するだけでよい。したがって、演出制御部120が実行するプログラム全体にわたっての新たなタイミング設計を行う必要がないので、認証機能を追加する際の実装および検証作業を、より簡単に少ない作業工数で実施することができる。   In the present embodiment, the authentication function for the main control unit 110 is provided in the rear stage control unit 180 that is independent from the peripheral unit 300 that performs processing related to normal game progression. Therefore, for example, when the rear stage control unit 180 is provided subsequent to the production control unit 120, the production control unit 120 executes the authentication process only when authentication result data is received from the rear stage control unit 180. It is. That is, the processing load of the CPU of the effect control unit 120 increases only when the authentication result data is received by performing the authentication process, and thus the rate of increase in the processing load of the effect control unit 120 can be suppressed. it can. Further, it is only necessary to add a program code related to the authentication result data analysis process to the program executed by the effect control unit 120. Therefore, since it is not necessary to perform new timing design over the entire program executed by the effect control unit 120, the mounting and verification work when adding the authentication function can be performed more easily and with less work man-hours.

また、本実施形態では、演出制御部120に後続して後段制御部180が設けられているので、主制御部110を構成するメインCPU110aと演出制御部120を構成するサブCPU120aとの間の処理能力の差異や、主制御部110を構成するメインROM110bやメインRAM110cと演出制御部120を構成するサブROM120bやサブRAM120cとの間の記憶容量の差異を、後段制御部180において吸収することができる。これにより、主制御部110と演出制御部120との間で処理能力や記憶容量に差異がある場合でも、主制御部110と演出制御部120との間のセキュリティ強度を維持することができる。なお、このことは、後段制御部180が、払出制御部130に後続して設けられた場合も同様である。   Further, in the present embodiment, since the post-stage control unit 180 is provided subsequent to the effect control unit 120, processing between the main CPU 110a configuring the main control unit 110 and the sub CPU 120a configuring the effect control unit 120 is performed. Differences in capacity and differences in storage capacity between the main ROM 110b and main RAM 110c constituting the main control unit 110 and the sub ROM 120b and sub RAM 120c constituting the effect control unit 120 can be absorbed by the subsequent control unit 180. . Thereby, even when there is a difference in processing capacity and storage capacity between the main control unit 110 and the effect control unit 120, the security strength between the main control unit 110 and the effect control unit 120 can be maintained. This also applies to the case where the latter control unit 180 is provided subsequent to the payout control unit 130.

本実施形態では、格納回路522を生成回路521の出力側に設け、格納回御522で格納する対象を生成した誤り検査値としたが、本発明はこれに限定されず、格納回路522を生成回路521の入力側に設け、格納回路522で格納する対象を制御コマンドとしてもよい。このとき、後段制御部180においても、格納部622で格納する対象を制御コマンドとしてもよいし、本実施形態と同様に、格納部622で格納する対象を誤り検査値としてもよい。すなわち、主制御部110での格納対象と、後段制御部180での格納対象とが異なってもよい。   In the present embodiment, the storage circuit 522 is provided on the output side of the generation circuit 521 and the error check value generated by the storage control 522 is generated. However, the present invention is not limited to this, and the storage circuit 522 is generated. An object provided on the input side of the circuit 521 and stored in the storage circuit 522 may be a control command. At this time, also in the post-stage control unit 180, the target stored in the storage unit 622 may be a control command, and the target stored in the storage unit 622 may be an error check value as in the present embodiment. That is, the storage target in the main control unit 110 and the storage target in the subsequent control unit 180 may be different.

また、本実施形態では、今回送信する制御コマンド(M)に対し、1個の制御コマンド(M−N)だけから生成された誤り検査値(M−N)を付加していたが、本発明はこれに限定されず、制御コマンド(M)に対して付加する誤り検査値は、複数個の制御コマンドから生成された誤り検査値であってもよい。この場合、検査値生成部520は、制御コマンドを複数記憶しておくための記憶領域を新たに設け、この記憶領域から生成回路521へ制御コマンドを入力させるように構成すればよい。これにより、制御コマンドとそれに付加された誤り検査値との関係がより一層解析困難となり、遊技機1のセキュリティ強度を向上させることができる。   In this embodiment, the error check value (MN) generated from only one control command (MN) is added to the control command (M) transmitted this time. However, the error check value added to the control command (M) may be an error check value generated from a plurality of control commands. In this case, the inspection value generation unit 520 may be configured to newly provide a storage area for storing a plurality of control commands and to input the control commands from the storage area to the generation circuit 521. Thereby, the relationship between the control command and the error check value added thereto becomes more difficult to analyze, and the security strength of the gaming machine 1 can be improved.

なお、制御コマンド(M)に対して付加する誤り検査値は、過去に生成した制御コマンドだけではなく、現在生成した制御コマンドも含む複数個の制御コマンドから生成された誤り検査値であってもよい。こうすると、後段制御部180にて今回受信した制御コマンドの通信エラーチェックを、今回受信した制御コマンドに付加された誤り検査値を用いて、リアルタイムに行うことができる。   The error check value added to the control command (M) is not only a control command generated in the past, but also an error check value generated from a plurality of control commands including the currently generated control command. Good. In this way, the communication error check of the control command received this time by the subsequent control unit 180 can be performed in real time using the error check value added to the control command received this time.

また、本実施形態では、M≦Nの場合に、主制御部110では、制御コマンド(M)に対して初期検査値を付加して送信し、後段制御部180では、対応する初期検査値を用いて誤り検査処理を行うこととしたが、本発明はこれに限定されず、後段制御部180は、M≦Nの場合は誤り検査処理を行わず、M>Nとなってから初めて誤り検査処理を行うこととしてもよい。   In the present embodiment, when M ≦ N, the main control unit 110 adds an initial inspection value to the control command (M) and transmits the control command (M), and the subsequent control unit 180 transmits a corresponding initial inspection value. However, the present invention is not limited to this, and the post-stage control unit 180 does not perform error check processing when M ≦ N, and does not perform error check until M> N. Processing may be performed.

また、本実施形態では、M≦Nの場合に用いる初期検査値を、メインROM110bに予め記憶された固有情報としたが、本発明はこれに限定されない。例えば、主制御部110に計時手段を設け、または主制御部110が予め備えている計時手段から、制御コマンドの送信タイミングに計時情報を取得し、取得した計時情報を初期検査値として用いてもよい。取得した計時情報の値は、ランダム性を有する変動値であるため、これを用いて生成された初期検査値を再利用することは困難であり、遊技機1のセキュリティ強度をより一層向上させることができる。このとき、後段制御部180は、上記のようにM≦Nの場合は誤り検査処理を行わないようにすればよい。   In the present embodiment, the initial inspection value used when M ≦ N is the unique information stored in advance in the main ROM 110b, but the present invention is not limited to this. For example, the main control unit 110 may be provided with time measuring means, or time information may be acquired at the transmission timing of the control command from the time measuring means provided in the main control unit 110 in advance, and the acquired time information may be used as the initial inspection value. Good. Since the value of the acquired timing information is a variable value having randomness, it is difficult to reuse the initial inspection value generated using this, and the security strength of the gaming machine 1 is further improved. Can do. At this time, the post-stage control unit 180 may not perform the error check process when M ≦ N as described above.

また、このとき、予めN≧2と取り決めてあれば、後段制御部180は、初期検査値として連続して送信された計時情報同士が時系列として連続性を有するか否か、すなわち、連続して送信された計時情報の値が送信順番に従って増加しているか否かを確認することによって誤り検査処理を行ってもよい。なお、計時情報は、計時手段をリアルタイムクロック回路等として取得される絶対的な時間であってもよいし、リセット時から計数された相対的な時間であってもよい。いずれにしても、計時情報は、その取得されるタイミングが不定期なタイミングであればある程、様々な値に変動するため、実質的に遊技機1に固有の情報と捉える事ができる。また、N≧2のとき、計時情報は、制御コマンドの送信タイミング毎に計時手段から取得した計時情報を用いてもよいし、最初に生成した制御コマンドの送信タイミングに取得した計時情報を複数の制御コマンドに対して初期検査値として用いてもよい。また、例えば、最初に生成した制御コマンドに付加する初期検査値は固定値あるメインCPU110aの識別番号(ID)を用い、それ以降の初期検査値は変動値である計時情報を用いるというように、固定値と変動値を組み合わせることもできる。   At this time, if it is determined that N ≧ 2 in advance, the subsequent control unit 180 determines whether or not the timing information continuously transmitted as the initial inspection value has continuity in time series, that is, continuously. The error check process may be performed by confirming whether or not the value of the timing information transmitted in this way increases according to the transmission order. The time measurement information may be an absolute time acquired by using the time measuring means as a real time clock circuit or the like, or may be a relative time counted from the time of reset. In any case, the timing information changes to various values as the acquisition timing becomes irregular, so that it can be regarded as information inherent to the gaming machine 1 substantially. Further, when N ≧ 2, the timekeeping information may use timekeeping information obtained from the timekeeping means for each transmission timing of the control command, or a plurality of pieces of timekeeping information obtained at the transmission timing of the first generated control command may be used. It may be used as an initial check value for a control command. In addition, for example, the initial inspection value added to the control command generated first uses the identification number (ID) of the main CPU 110a which is a fixed value, and the subsequent initial inspection value uses timekeeping information which is a variable value. It is also possible to combine fixed values and variable values.

また、M≦Nの場合に用いる初期検査値として、例えば、主制御部110の誤り検査値生成機能の選択情報である生成パラメータを用いてもよい。すなわち、主制御部110の送信部500を構成する制御部510は、ブート処理時に自身の生成パラメータ用記憶領域にセットされた生成パラメータを、生成パラメータ設定処理後も記憶しておく。そして、制御部510は、M≦Nの場合に、メインROM110bに記憶された固有情報を読み出す替わりに、自身の生成パラメータ用記憶領域に記憶しておいた生成パラメータを読み出し、格納回路522の初期検査値記憶領域に格納しておき、初期検査値として生成パラメータを用いればよい。生成パラメータは、その内容や実装方法を遊技機メーカーの独自の判断で決定することができるため秘匿性が高く、実質的に遊技機1に固有の情報と捉えることができる。なお、後段制御部180は、上記のようにM≦Nの場合は誤り検査処理を行わないようにすればよい。このようにすることで、後段制御部180は、生成パラメータに相当する誤り検査値生成機能の選択情報を、予め主制御部110との間で取り決めていなくとも、主制御部110で設定されたものと同様の誤り検査値生成機能を選択することができる。よって、不正者が、後段制御部180自体を解析しても、複数の誤り検査値生成機能のうちのどの生成機能で誤り検査値を生成するかを特定することができず、当該生成機能の秘匿性を確保することができ、遊技機1のセキュリティ強度を更に向上させることができる。   Further, as an initial check value used when M ≦ N, for example, a generation parameter that is selection information of an error check value generation function of the main control unit 110 may be used. That is, the control unit 510 constituting the transmission unit 500 of the main control unit 110 stores the generation parameter set in its own generation parameter storage area during the boot process even after the generation parameter setting process. Then, when M ≦ N, the control unit 510 reads the generation parameter stored in its own generation parameter storage area instead of reading the unique information stored in the main ROM 110b, and the initial value of the storage circuit 522 is read. A generation parameter may be used as an initial inspection value stored in the inspection value storage area. The generated parameter can be determined as the information unique to the gaming machine 1 because the content and the mounting method can be determined by the independent judgment of the gaming machine manufacturer, and thus the confidentiality is high. Note that the post-stage control unit 180 may not perform the error check process when M ≦ N as described above. By doing so, the post-control unit 180 is set by the main control unit 110 even if the selection information of the error check value generation function corresponding to the generation parameter has not been negotiated with the main control unit 110 in advance. An error check value generation function similar to the above can be selected. Therefore, even if an unauthorized person analyzes the latter-stage control unit 180 itself, it cannot specify which generation function of the plurality of error check value generation functions generates the error check value. Confidentiality can be ensured, and the security strength of the gaming machine 1 can be further improved.

また、本実施形態では、誤り検査値生成機能を複数種類備えるために、送信部500に生成方式の異なる生成回路を複数設けることとしたが、本発明はこれに限定されず、生成回路の替わりに初期検査値としての固有情報を複数種類設けるように構成することができる。例えば、メインROM110bは、固有情報として、メインCPU110aの識別番号(ID)と、特定アドレスのプログラムコードのチェックサム値と、計時情報とを設けておくといった具合である。そして、これらに対応する生成パラメータを複数種類用意しておけばよい。この場合、生成回路を複数設ける必要が無いため、比較的簡易な回路構成とすることができる。   Further, in this embodiment, in order to provide a plurality of types of error check value generation functions, a plurality of generation circuits having different generation methods are provided in the transmission unit 500. However, the present invention is not limited to this, and the generation circuit is replaced. A plurality of types of unique information as initial inspection values can be provided. For example, the main ROM 110b is provided with an identification number (ID) of the main CPU 110a, a checksum value of a program code at a specific address, and timekeeping information as unique information. A plurality of types of generation parameters corresponding to these may be prepared. In this case, since there is no need to provide a plurality of generation circuits, a relatively simple circuit configuration can be achieved.

また、本実施形態では、誤り検査値の付加タイミングの基準として制御部510が検知する対象を、メインCPU110aが送信バッファ530へ制御コマンドを書き込む際の書き込み信号の出力としたが、本発明はこれに限定されず、制御コマンドそのものの出力や、送信バッファ530に書き込みフラグが立てられたこととすることもできる。制御コマンドそのものの出力や、書き込みフラグが立てられたことを検知するというのは、メインCPU110aが制御コマンドを送信バッファ530へ出力が開始したタイミングや、出力が完了したタイミングを検知することであり、当該制御コマンドを演出制御部120へ送信せしめるための送信部500への送信指示を担う情報と捉える事ができる。この場合、制御部510は、メインCPU110aによる制御コマンドそのものの出力や、書き込みフラグが立てられたことを検知し、この検知信号の入力を基準として、所定時間(β)経過後に、格納回路522に格納された誤り検査値を送信バッファ530へ書き込むこととなる。   In the present embodiment, the target detected by the control unit 510 as the reference for adding the error check value is the output of the write signal when the main CPU 110a writes the control command to the transmission buffer 530. However, the present invention is not limited to this, and it is possible to output the control command itself or to set a write flag in the transmission buffer 530. The detection of the output of the control command itself and the setting of the write flag means that the main CPU 110a detects the timing when the output of the control command to the transmission buffer 530 is started and the timing when the output is completed. This control command can be regarded as information bearing a transmission instruction to the transmission unit 500 for causing the production control unit 120 to transmit the control command. In this case, the control unit 510 detects the output of the control command itself by the main CPU 110a or the fact that the write flag is set, and stores the storage circuit 522 after a predetermined time (β) with reference to the input of the detection signal. The stored error check value is written into the transmission buffer 530.

また、本実施形態では、演出制御部120は、主制御部110から送信された制御コマンドを後段制御部180へ中継送信し、後段制御部180から再び中継送信された制御コマンドに対してコマンド解析処理を行い、制御コマンドに応じた処理を行うこととしたが、本発明はこれに限定されない。例えば、演出制御部120は、主制御部110から送信された制御コマンドに対してコマンド解析処理を行い、制御コマンドに応じた処理を行いながら、当該制御コマンドを後段制御部180へ中継送信してもよい。後段制御部180では、受信した制御コマンドに対して誤り検査処理を施して認証結果データを生成し、受信した制御コマンドに付加して演出制御部120へ送信するが、このとき、演出制御部120は、後段制御部180から送信された制御コマンドを、認証結果データを抽出した後に、破棄するようにすればよい。このように構成することで、演出制御部120は、後段制御部180から認証結果データが送信されるまで、少なくとも遊技機1で不正行為等が検知されていないとみなして、主制御部110より送信された制御コマンドに基づいて通常の遊技処理を実行することとなり、仮に後段制御部180に故障等の不測の事態が発生しても、遊技処理に直接影響を与えることがない。   In the present embodiment, the effect control unit 120 relays the control command transmitted from the main control unit 110 to the subsequent control unit 180, and analyzes the command for the control command relayed again from the subsequent control unit 180. Although processing is performed and processing according to the control command is performed, the present invention is not limited to this. For example, the effect control unit 120 performs command analysis processing on the control command transmitted from the main control unit 110 and relays the control command to the subsequent control unit 180 while performing processing according to the control command. Also good. The post-stage control unit 180 performs error check processing on the received control command to generate authentication result data, adds it to the received control command, and transmits it to the production control unit 120. At this time, the production control unit 120 The control command transmitted from the post-stage control unit 180 may be discarded after extracting the authentication result data. By configuring in this way, the production control unit 120 considers that at least the gaming machine 1 has not detected an illegal act or the like until the authentication result data is transmitted from the post-stage control unit 180, and the main control unit 110 A normal game process is executed based on the transmitted control command, and even if an unexpected situation such as a failure occurs in the subsequent control unit 180, the game process is not directly affected.

また、本実施形態では、後段制御部180は、認証結果データを制御コマンドに付加して認証結果データ付き制御コマンドとして演出制御部120へ送信することとしたが、本発明はこれに限定されず、制御コマンドおよび認証結果データを別々に送信するようにしてもよい。この場合、演出制御部120は、認証結果データを受信したかを判断し、認証結果データを受信した場合に認証結果データ解析処理を行うようにすればよい。なお、制御コマンドと認証結果データのそれぞれにダミーデータを付加して、データ長が同一となるようにしてもよい。このようにすることにより、不正者が、制御コマンドと認証結果データを区別することが困難となり、遊技機1のセキュリティ強度を向上することができる。   In the present embodiment, the post-control unit 180 adds the authentication result data to the control command and transmits the result to the effect control unit 120 as a control command with authentication result data. However, the present invention is not limited to this. The control command and the authentication result data may be transmitted separately. In this case, the effect control unit 120 may determine whether or not the authentication result data has been received, and perform authentication result data analysis processing when the authentication result data is received. Note that dummy data may be added to each of the control command and the authentication result data so that the data length is the same. By doing so, it becomes difficult for an unauthorized person to distinguish between the control command and the authentication result data, and the security strength of the gaming machine 1 can be improved.

また、本実施形態では、後段制御部180は、認証成功の場合も認証不成功の場合も、認証結果データを生成し、受信した制御コマンドへ付加して演出制御部120へ送信することとしたが、本発明はこれに限定されず、例えば、後段制御部180は、認証不成功の場合のみ認証結果データを生成し、あるいは、認証不成功を示す信号を出力し、演出制御部120へ送信するようにしてもよい。演出制御部120は、認証結果データまたは認証不成功を示す信号を受信したか否かを判断し、受信した場合に報知信号を出力するように構成すればよい。   Further, in the present embodiment, the post-stage control unit 180 generates authentication result data, adds it to the received control command, and transmits it to the effect control unit 120 regardless of whether authentication is successful or unsuccessful. However, the present invention is not limited to this. For example, the post-stage control unit 180 generates authentication result data only when authentication is unsuccessful, or outputs a signal indicating unsuccessful authentication and transmits it to the effect control unit 120. You may make it do. The effect control unit 120 may determine whether or not a signal indicating authentication result data or authentication failure has been received and output a notification signal when received.

また、本実施形態では、制御部510、検査値生成部520、送信バッファ530、および送信回路540を送信部500として、ワンチップマイコン110mとは別個の回路構成としたが、本発明はこれに限定されず、送信部500をワンチップマイコン110mと一体の回路構成としてもよい。また、この場合、送信部500のうち、送信バッファ530、送信回路540、およびこれを制御する制御部510の制御機能のみをワンチップマイコン110mと一体の回路構成とし、検査値生成部520、およびこれを制御する制御部510の制御機能は、ワンチップマイコン110mとは別個の回路構成としてもよい。このようにすることで、既存のワンチップマイコンの送信部を転用することができ、セキュリティ機能を実現するために追加する回路を、比較的簡易な回路構成とすることができる。   In the present embodiment, the control unit 510, the inspection value generation unit 520, the transmission buffer 530, and the transmission circuit 540 are configured as a transmission unit 500, and the circuit configuration is separate from the one-chip microcomputer 110m. Without limitation, the transmission unit 500 may be integrated with the one-chip microcomputer 110m. In this case, only the control functions of the transmission buffer 530, the transmission circuit 540, and the control unit 510 that controls the transmission unit 500 are integrated with the one-chip microcomputer 110m, and the test value generation unit 520, The control function of the control unit 510 for controlling this may be a circuit configuration separate from the one-chip microcomputer 110m. By doing in this way, the transmission part of the existing one-chip microcomputer can be diverted, and the circuit added in order to implement | achieve a security function can be made into a comparatively simple circuit structure.

また、本実施形態に係る遊技機1では、後段制御部180をCPU、ROM、RAM等を備えて構成しているが、同様の機能をLSI等の集積回路として実現するように構成してもよい。
また、本実施形態では、本発明をパチンコ遊技機に適用する例を示したが、これに限定されず、本発明は、雀球遊技機、アレンジボール等のパチンコ遊技機以外の弾球遊技機、スロットマシン等の回胴式遊技機などの他の遊技機にも適用することができる。これらの遊技機においても、本実施形態と同様に構成することにより、本実施形態と同様の効果を得ることができる。また、本実施形態は、その目的および構成等に特に矛盾や問題がない限り、互いの技術を流用することができる。
Further, in the gaming machine 1 according to the present embodiment, the post-stage control unit 180 is configured to include a CPU, a ROM, a RAM, and the like, but may be configured to realize the same function as an integrated circuit such as an LSI. Good.
Moreover, in this embodiment, although the example which applies this invention to a pachinko game machine was shown, it is not limited to this, This invention is a ball game machine other than pachinko game machines, such as a sparrow ball game machine and an arrangement ball. It can also be applied to other gaming machines such as slot machines such as slot machines. Even in these gaming machines, the same effects as in the present embodiment can be obtained by configuring in the same manner as in the present embodiment. Moreover, this embodiment can divert each other's technology as long as there is no particular contradiction or problem in its purpose and configuration.

1 遊技機
110 主制御部
110a メインCPU
110b メインROM
110c メインRAM
110d ブートROM
110m ワンチップマイコン
120 演出制御部
120a サブCPU
120b サブROM
120c サブRAM
130 払出制御部
140 ランプ制御部
150 画像制御部
160 発射制御部
170 電源部
180 後段制御部
500 送信部
510 制御部
520 検査値生成部
521 生成回路
522 格納回路
530 送信バッファ
540 送信回路
550 内部バス
600 受信部
610 検査部
620 検査値生成部
621 生成部
622 格納部
630 付加部
640 中継送信部
700 受信部
740 中継送信部
1 gaming machine 110 main control unit 110a main CPU
110b Main ROM
110c Main RAM
110d Boot ROM
110m One-chip microcomputer 120 Production control unit 120a Sub CPU
120b Sub ROM
120c sub RAM
DESCRIPTION OF SYMBOLS 130 Discharge control part 140 Lamp control part 150 Image control part 160 Launch control part 170 Power supply part 180 Back | latter stage control part 500 Transmission part 510 Control part 520 Inspection value generation part 521 Generation circuit 522 Storage circuit 530 Transmission buffer 540 Transmission circuit 550 Internal bus 600 Reception unit 610 Inspection unit 620 Inspection value generation unit 621 Generation unit 622 Storage unit 630 Addition unit 640 Relay transmission unit 700 Reception unit 740 Relay transmission unit

Claims (3)

制御情報を出力する主制御部と、前記制御情報に基づく処理を行う第1副制御部と、前記第1副制御部に後続して設けられた第2副制御部とを備えた遊技機であって、
前記主制御部は、
所定の遊技情報及び制御プログラムを記憶する情報記憶領域を有すると共に、遊技機の起動の際にアクセス可能であって遊技機の初期設定情報を記憶する初期設定情報記憶領域を有する情報記憶部と、
前記情報記憶領域に記憶された前記制御プログラムに従って、遊技情報に応じた所定の演算を行って制御情報を生成し出力すると共に、制御情報を送信せしめるための送信指示を出力する演算処理部と、
前記演算処理部の指示に依らず独自に保持するアルゴリズムに従って、所定の過去に生成された前記制御情報に対応する誤り検査値を生成し出力する第1生成手段と、前記演算処理部の指示に依らず前記アルゴリズムに従って、前記送信指示に対応する前記制御情報に前記第1生成手段で生成した前記誤り検査値を付加する付加手段とを内部に有し、該誤り検査値が付加された該制御情報を、前記第1副制御部を介して前記第2副制御部へ送信する情報送信部と、
を含み、
前記第2副制御部は、
前記所定の過去に生成された制御情報に対応する検証用の誤り検査値を生成する第2生成部と、
前記第1副制御部を介して送信された前記誤り検査値と、前記検証用の誤り検査値とを比較し、前記第1副制御部を介して送信された前記制御情報の正当性を認証する検査を行うと共に、前記検査の結果情報を生成する情報検査部と、
前記結果情報を前記第1副制御部へ送信する送信部と、
を含み、
前記第1副制御部は、
前記情報送信部にて送信された前記制御情報に基づいた所定の処理を行うと共に、前記送信部にて送信された前記結果情報に応じた処理を行う情報処理部と、
を含み、
前記第1生成手段は、誤り検査値を生成する互いに異なる複数の生成回路を有し、
前記初期設定情報は、前記複数の生成回路のそれぞれに対応した選択情報を含み、
前記演算処理部は、前記遊技機の起動の際に、前記選択情報のうちの特定の選択情報を前記第1生成手段へ設定し、
前記第1生成手段は、設定された前記特定の選択情報に対応する特定の生成回路によって、前記誤り検査値を生成する
ことを特徴とする遊技機。
A gaming machine comprising: a main control unit that outputs control information; a first sub-control unit that performs processing based on the control information; and a second sub-control unit provided subsequent to the first sub-control unit. There,
The main control unit
Together with the information storage area you storing predetermined game information and a control program, the information storage unit with an initial setting information storage area for storing initial setting information accessible to a by gaming machine upon activation of the gaming machine When,
In accordance with the control program stored in the information storage area, a predetermined calculation with generates and outputs the control information by performing in accordance with game information, a calculation processing unit for outputting a transmission instruction for allowing transmitting the control information ,
First generation means for generating and outputting an error check value corresponding to the control information generated in the past in accordance with an algorithm that is independently held without depending on an instruction of the arithmetic processing unit, and an instruction of the arithmetic processing unit Regardless of the algorithm, the control information corresponding to the transmission instruction includes an adding means for adding the error check value generated by the first generating means to the control information, and the control to which the error check value is added. An information transmission unit for transmitting information to the second sub-control unit via the first sub-control unit ;
Only including,
The second sub-control unit
A second generation unit for generating an error check value for verification corresponding to the control information generated in the predetermined past;
The error check value transmitted through the first sub control unit is compared with the verification error check value, and the validity of the control information transmitted through the first sub control unit is authenticated. An information inspection unit for performing the inspection and generating the result information of the inspection;
A transmission unit for transmitting the result information to the first sub-control unit;
Only including,
The first sub-control unit
An information processing unit that performs predetermined processing based on the control information transmitted by the information transmission unit and performs processing according to the result information transmitted by the transmission unit;
Only including,
The first generation means includes a plurality of different generation circuits that generate error check values,
The initial setting information includes selection information corresponding to each of the plurality of generation circuits ,
The arithmetic processing unit sets specific selection information of the selection information in the first generation unit when the gaming machine is activated.
The first generation means generates the error check value by a specific generation circuit corresponding to the set specific selection information.
前記情報記憶部は、前記情報記憶領域を担う第1記憶手段と、該第1記憶手段とは異なり、前記初期設定情報記憶領域を担う第2記憶手段と、を有することを特徴とする請求項に記載の遊技機。 The information storage unit, before a first memory means responsible for Kijo report storage area, unlike the first storage means, and having a second storage unit responsible for the initial setting information storage area The gaming machine according to claim 1 . 前記初期設定情報に含まれる前記選択情報は、前記演算処理部が前記遊技機の起動の際に前記第1生成部へ設定する前記特定の選択情報であることを特徴とする請求項1又は2に記載の遊技機。 The selection information included in the initial setting information, according to claim 1 or 2, wherein the processing unit is the specific selection information to be set to the first generator upon activation of said gaming machine The gaming machine described in 1.
JP2010242851A 2010-10-28 2010-10-28 Game machine Expired - Fee Related JP5194092B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010242851A JP5194092B2 (en) 2010-10-28 2010-10-28 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010242851A JP5194092B2 (en) 2010-10-28 2010-10-28 Game machine

Publications (2)

Publication Number Publication Date
JP2012090908A JP2012090908A (en) 2012-05-17
JP5194092B2 true JP5194092B2 (en) 2013-05-08

Family

ID=46384962

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010242851A Expired - Fee Related JP5194092B2 (en) 2010-10-28 2010-10-28 Game machine

Country Status (1)

Country Link
JP (1) JP5194092B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5269126B2 (en) * 2011-02-25 2013-08-21 京楽産業.株式会社 Game machine
JP5269135B2 (en) * 2011-03-29 2013-08-21 京楽産業.株式会社 Game machine
JP6480391B2 (en) * 2016-09-06 2019-03-06 株式会社三共 Game machine
JP6862264B2 (en) * 2017-04-28 2021-04-21 株式会社三共 Game machine

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4236069B2 (en) * 1999-11-10 2009-03-11 株式会社ソフィア Game machine
JP2001293230A (en) * 2000-04-11 2001-10-23 Heiwa Corp Security system of game machine and game machine
JP4898082B2 (en) * 2003-05-19 2012-03-14 富士通株式会社 Software authentication method, software authentication program
JP4598850B2 (en) * 2008-09-29 2010-12-15 京楽産業.株式会社 Game machine, authentication method and authentication program
JP2010194177A (en) * 2009-02-26 2010-09-09 Kyoraku Sangyo Kk Game machine, peripheral board, authentication method and program
JP5017308B2 (en) * 2009-03-27 2012-09-05 京楽産業.株式会社 Electronic device, game machine, main control board, peripheral board, authentication method and authentication program

Also Published As

Publication number Publication date
JP2012090908A (en) 2012-05-17

Similar Documents

Publication Publication Date Title
JP5109011B2 (en) Game machine
JP5109015B2 (en) Game machine
JP5109014B2 (en) Game machine
JP5194092B2 (en) Game machine
JP5238833B2 (en) Game machine
JP5194091B2 (en) Game machine
JP5194090B2 (en) Game machine
JP5109017B2 (en) Game machine
JP5228100B2 (en) Authentication method for gaming machines and electronic devices
JP5202688B2 (en) Authentication method for gaming machines and electronic devices
JP5202695B2 (en) Authentication method for gaming machines and electronic devices
JP5269126B2 (en) Game machine
JP5269125B2 (en) Game machine
JP5109010B2 (en) Game machine
JP5202620B2 (en) Game machine
JP5202619B2 (en) Game machine
JP5238832B2 (en) Game machine
JP5202680B2 (en) Game machine
JP5202689B2 (en) Authentication method for gaming machines and electronic devices
JP5202696B2 (en) Authentication method for gaming machines and electronic devices
JP5202681B2 (en) Game machine
JP5269134B2 (en) Game machine
JP5269135B2 (en) Game machine
JP5202705B2 (en) Authentication method for gaming machines and electronic devices
JP5202706B2 (en) Authentication method for gaming machines and electronic devices

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20120720

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121009

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121210

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130204

R150 Certificate of patent or registration of utility model

Ref document number: 5194092

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160208

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees