JP2010088477A - Game machine, access control program and game control method - Google Patents

Game machine, access control program and game control method Download PDF

Info

Publication number
JP2010088477A
JP2010088477A JP2008258394A JP2008258394A JP2010088477A JP 2010088477 A JP2010088477 A JP 2010088477A JP 2008258394 A JP2008258394 A JP 2008258394A JP 2008258394 A JP2008258394 A JP 2008258394A JP 2010088477 A JP2010088477 A JP 2010088477A
Authority
JP
Japan
Prior art keywords
command
instruction code
input
access
data processing
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.)
Withdrawn
Application number
JP2008258394A
Other languages
Japanese (ja)
Inventor
Naoyuki Watanabe
直幸 渡辺
Motonari Yokoshima
元成 横島
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.)
Trinity Security Systems Inc
Kyoraku Sangyo Co Ltd
Original Assignee
Trinity Security Systems Inc
Kyoraku Sangyo 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 Trinity Security Systems Inc, Kyoraku Sangyo Co Ltd filed Critical Trinity Security Systems Inc
Priority to JP2008258394A priority Critical patent/JP2010088477A/en
Publication of JP2010088477A publication Critical patent/JP2010088477A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a game machine suitable for preventing a fraudulent action without increasing the difficulty level of development and design and a data capacity. <P>SOLUTION: A main control part 200 of a Pachinko game machine includes a CPU 202 and an access controller 230. The CPU 202 includes a CPU core 203 and an I/F 212, and the CPU core 203 executes the processing of adding an instruction code string executed by the CPU core 203 and the address to a power supply ON command and outputting them through the I/F 212. The access controller 230 includes registers 234 and 236, an input part 231 for inputting the instruction code string and the address from the I/F 212, and an access control part 238 for controlling access to the registers 234 and 236 by the CPU 202 on the basis of the instruction code string and the address inputted in the input part 231. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、図柄表示装置で図柄を変動表示し、所定の態様で図柄を停止させた後に特賞状態を発生させる遊技機に係り、特に、開発や設計の難易度およびデータ容量を増大することなく、不正動作を防止するのに好適な遊技機およびアクセス制御プログラム、並びに遊技制御方法に関する。   The present invention relates to a gaming machine that displays symbols in a variable manner on a symbol display device and generates a special prize state after the symbols are stopped in a predetermined manner, and in particular, without increasing the difficulty and data capacity of development and design. The present invention relates to a gaming machine, an access control program, and a game control method suitable for preventing unauthorized operation.

パチンコ機等の遊技機は、法令に従って所定の検定機関で検定試験に付される。検定試験では、遊技機のマイクロプロセッサが実行する命令コード列が一定の要件を満たしていることが合格条件の一つとして要求される。そして、検定試験に合格した遊技機だけが市場に流通させることができる。   Pachinko machines and other gaming machines are subjected to a certification test at a designated certification organization in accordance with the law. In the certification test, one of the passing conditions is that the instruction code sequence executed by the microprocessor of the gaming machine satisfies a certain requirement. Only gaming machines that pass the certification test can be distributed to the market.

しかしながら、市場に流通した後に、遊技機の基板やチップ(LSI等の半導体装置)を不正なものに交換したり、不正なチップを追加したり、マイクロプロセッサを改造したり、マイクロプロセッサのROMを書き換えたりするといった不正行為が行われることがある。これらは、主に、不正の利益を得る目的をもって第三者が遊技機を不正動作させるために行うものである。   However, after distribution to the market, gaming machine boards and chips (semiconductor devices such as LSIs) are replaced with unauthorized ones, unauthorized chips are added, microprocessors are modified, microprocessor ROMs are installed, etc. Injustices such as rewriting may be performed. These are mainly performed by a third party for illegal operation of the gaming machine for the purpose of obtaining illegal profits.

また、不正行為に限らず、電気的・物理的なエラーにより遊技機が不正動作した場合も同様の問題が考えられる。電気的・物理的なエラーとしては、例えば、命令コード列の読出(フェッチ)時に、電磁波や静電気等の影響によりビットエラーが発生し、命令コード列の内容が変化してしまうような場合が挙げられる。   Moreover, the same problem can be considered when the gaming machine is illegally operated due to an electrical / physical error. As an electrical / physical error, for example, when an instruction code string is read (fetched), a bit error occurs due to the influence of electromagnetic waves or static electricity, and the contents of the instruction code string change. It is done.

このように、不正行為やエラーに起因する不正動作は、パチンコホール等への損害が大きく、これを防止することが求められている。   As described above, the illegal operation caused by the illegal act or the error has a large damage to the pachinko hall or the like, and it is required to prevent this.

従来、マイクロプロセッサ等の不正動作を防止する技術としては、例えば、特許文献1、2記載の技術が知られている。   Conventionally, as a technique for preventing unauthorized operation of a microprocessor or the like, for example, techniques described in Patent Documents 1 and 2 are known.

特許文献1記載の技術は、プログラムカウンタの値をレジスタで保持するとともに、メモリ上の保護領域のアドレスを保持するテーブル、および保護領域へのアクセスが許されている命令のアドレスを保持するテーブルを保持しておき、アクセス検出回路によって、命令の解読結果、アクセス先のアドレスとテーブルのアドレスの比較結果に基づき、保護領域へのアクセス命令かどうかを判定する。そして、保護領域へのアクセス命令が検出された場合、比較回路によってレジスタおよびテーブルのアドレスを比較して、保護領域へのアクセスが許されていないエリアから読み出された命令と判断したときに禁止信号を出力して、不正なメモリアクセスを禁止する。   The technique described in Patent Document 1 holds a program counter value in a register, a table that holds an address of a protection area on a memory, and a table that holds an address of an instruction permitted to access the protection area. The access detection circuit determines whether the instruction is an access instruction to the protection area based on the result of decoding the instruction and the comparison result between the address of the access destination and the address of the table. If an access instruction to the protection area is detected, it is prohibited when the comparison circuit compares the register and table addresses and determines that the instruction is read from an area where access to the protection area is not permitted. A signal is output to prohibit unauthorized memory access.

特許文献2記載の技術は、遊技機のROMに記憶されているプログラムデータをROMチェッカによってチェックするものである。
特開平10−228421号公報 特開平11−333108号公報
The technique described in Patent Document 2 is to check program data stored in a ROM of a gaming machine using a ROM checker.
JP-A-10-228421 JP 11-333108 A

しかしながら、特許文献1記載の技術にあっては、命令コード列の解読やプログラムカウンタ値の読込を行うため、不正動作検出処理の工程が複雑となり、開発や設計の難易度が高くなってしまうという問題があった。   However, in the technique described in Patent Document 1, since the instruction code string is decoded and the program counter value is read, the process of the illegal operation detection process becomes complicated, and the difficulty of development and design increases. There was a problem.

また、特許文献2記載の技術にあっては、ROMチェッカをその都度接続してチェックを行うため、遊技機の稼働中に行うことができず、チェック作業が容易でないという問題があった。ROMチェッカの機能に相当する不正動作検出処理を設け、遊技機の起動時または稼働中にチェックを行うことも考えられるが、チェックのためにROMと同等容量のテーブルを用意する必要がある。しかしながら、遊技機に対しては、制御プログラムのためのデータ容量が法令で厳しく制限されているため、そのような大容量のテーブルを持つことは現実的でない。   Further, the technique described in Patent Document 2 has a problem in that since the check is performed by connecting a ROM checker each time, it cannot be performed while the gaming machine is in operation, and the check operation is not easy. Although it is conceivable to provide an illegal operation detection process corresponding to the function of the ROM checker and perform a check at the time of starting or operating the gaming machine, it is necessary to prepare a table having the same capacity as the ROM for the check. However, for gaming machines, the data capacity for the control program is strictly limited by law, so it is not practical to have such a large capacity table.

そこで、本発明は、このような従来の技術の有する未解決の課題に着目してなされたものであって、開発や設計の難易度およびデータ容量を増大することなく、不正動作を防止するのに好適な遊技機およびアクセス制御プログラム、並びに遊技制御方法を提供することを目的としている。   Therefore, the present invention has been made paying attention to such an unsolved problem of the conventional technology, and prevents unauthorized operation without increasing the difficulty of development and design and the data capacity. It is an object of the present invention to provide a game machine, an access control program, and a game control method suitable for the above.

〔発明1〕 上記目的を達成するために、発明1の遊技機は、遊技の主制御を行う主制御基板と、前記主制御基板の制御により動作する周辺基板とを備える遊技機であって、前記主制御基板は、所定条件の成立を契機として抽選を行う抽選手段と、図柄表示手段で図柄を変動表示する制御を行う変動表示制御手段と、前記抽選手段の抽選結果に基づいて、所定の態様で前記図柄を停止させた後に特賞状態を発生させる特賞状態発生手段と、遊技に関するデータ処理を行うデータ処理装置とを有し、前記データ処理装置は、データ処理手段と、電源の投入を指定するための電源オンコマンドを前記周辺基板に送信する送信手段と、前記データ処理手段が実行する命令に関する情報を前記電源オンコマンドと対応付けて外部に出力する出力手段とを有し、前記周辺基板は、前記電源オンコマンドを受信する受信手段を有し、当該遊技機は、前記データ処理装置によるアクセスを制御するアクセス制御装置をさらに備え、前記アクセス制御装置は、前記データ処理を行うためのデータを記憶する記憶手段と、前記命令に関する情報を前記出力手段から入力する入力手段と、前記入力手段で入力した命令に関する情報に基づいて、前記データ処理装置による前記記憶手段へのアクセスを制御するアクセス制御手段とを有する。   [Invention 1] In order to achieve the above object, a gaming machine of Invention 1 is a gaming machine comprising a main control board that performs main control of a game, and a peripheral board that operates under the control of the main control board, The main control board includes a lottery means for performing lottery upon the establishment of a predetermined condition, a variable display control means for performing variable display of the symbols on the symbol display means, and a predetermined result based on a lottery result of the lottery means. A special state generating means for generating a special state after stopping the symbol in the mode, and a data processing device for processing data relating to a game, the data processing device specifying data processing means and power-on Transmitting means for transmitting a power-on command to the peripheral board, and output means for outputting information relating to an instruction executed by the data processing means to the outside in association with the power-on command And the peripheral board has a receiving means for receiving the power-on command, and the gaming machine further includes an access control device that controls access by the data processing device, and the access control device includes the data Storage means for storing data for processing, input means for inputting information relating to the instruction from the output means, and information relating to the instruction input by the input means to the storage means by the data processing device Access control means for controlling the access.

このような構成であれば、主制御基板のデータ処理装置では、電源が投入されると、送信手段により、電源オンコマンドが周辺基板に送信される。   With such a configuration, in the data processing device of the main control board, when the power is turned on, the power-on command is transmitted to the peripheral board by the transmission means.

周辺基板では、受信手段により、電源オンコマンドを受信する。   In the peripheral board, the power-on command is received by the receiving means.

また、主制御基板のデータ処理装置では、出力手段により、データ処理手段が実行する命令に関する情報が電源オンコマンドと対応付けられて外部に出力される。   In the data processing device of the main control board, the output unit outputs information related to the command executed by the data processing unit in association with the power-on command.

アクセス制御装置では、入力手段により、命令に関する情報が入力され、アクセス制御手段により、入力された命令に関する情報に基づいて、データ処理装置による記憶手段へのアクセスが制御される。   In the access control device, information related to the command is input by the input unit, and the access control unit controls access to the storage unit by the data processing device based on the information related to the input command.

これにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性が低減する。   This reduces the possibility that the data in the storage means will be illegally rewritten or read out.

主制御基板では、遊技が開始され、所定条件が成立すると、抽選手段により、これを契機として抽選が行われる。また、変動表示制御手段により、図柄表示手段で図柄を変動表示する制御が行われる。そして、特賞状態発生手段により、抽選手段の抽選結果に基づいて、所定の態様で図柄が停止した後に特賞状態が発生する。   On the main control board, when a game is started and a predetermined condition is satisfied, the lottery means performs lottery with this as a trigger. Further, the variable display control means performs control to display the symbols in a variable manner by the symbol display means. Then, the special prize state is generated by the special prize state generating means after the symbol is stopped in a predetermined manner based on the lottery result of the lottery means.

このように、電源オンコマンドは、遊技機の電源の投入時やリセット時など、遊技機の初期化時に送信される。初期化は、遊技制御とは異なる区分に分類される。そのため、初期化時にアクセス制御装置へのアクセスを行うようにすれば、遊技制御時にアクセスを行う場合に比して、プログラム設計やテストにかかる工程(工数)を低減することができ、開発コストや品質管理の面で有利となる。   As described above, the power-on command is transmitted when the gaming machine is initialized, such as when the gaming machine is turned on or reset. Initialization is classified into a different category from game control. Therefore, if the access control device is accessed during initialization, the process (man-hours) required for program design and testing can be reduced compared with the case where access is performed during game control. This is advantageous in terms of quality control.

また、電源オンコマンドの送信時である初期化時にアクセス制御が行われるので、例えば、パチンコホールが閉店した後に不正行為が行われても、遊技客が入店する前に不正行為を検出することができる。   In addition, since access control is performed at the time of initialization that is at the time of transmission of a power-on command, for example, even if cheating is performed after the pachinko hall closes, cheating is detected before the player enters the store Can do.

また、電源オンコマンドの送信時にアクセス制御装置へのアクセスが行われるので、各コマンドの送信ごとにアクセスを行う場合に比して、主制御基板および周辺基板の処理負荷を低減することができる。したがって、主制御基板または周辺基板が高い処理能力を有していない遊技機や、処理負荷が大きい遊技機に対しても適用することができる。   In addition, since the access control device is accessed when the power-on command is transmitted, the processing load on the main control board and the peripheral board can be reduced as compared with the case where the access is performed every time each command is transmitted. Therefore, the present invention can also be applied to a gaming machine in which the main control board or the peripheral board does not have a high processing capacity or a gaming machine having a large processing load.

ここで、命令に関する情報としては、例えば、(1)命令コード若しくは命令コード列、(2)命令コード若しくは命令コード列の記憶位置を示す記憶位置情報(例えば、アドレス)、(3)命令コード若しくは命令コード列の実行結果を示す実行結果情報(例えば、フラグレジスタの値)、または(4)それら情報のうち1若しくは複数の情報に基づき得られる2次情報(例えば、演算等により得られる演算情報)が含まれる。以下、発明2の遊技機、発明11のアクセス制御プログラム、並びに発明12および13の遊技制御方法において同じである。   Here, as the information regarding the instruction, for example, (1) instruction code or instruction code string, (2) storage position information (for example, address) indicating the storage position of the instruction code or instruction code string, (3) instruction code or Execution result information indicating the execution result of the instruction code string (for example, the value of the flag register), or (4) secondary information obtained based on one or a plurality of pieces of information (for example, operation information obtained by operation or the like) ) Is included. Hereinafter, the same applies to the gaming machine of the invention 2, the access control program of the invention 11, and the game control methods of the inventions 12 and 13.

また、アクセスの「制御」については、例えば、(1)命令に関する情報または当該情報に基づき得られる2次情報に基づいてアクセス許可条件が成立すると判定したときは、アクセスの一部または全部を許可し、アクセス許可条件が成立しないと判定したときは、アクセスの一部または全部を制限すること、(2)命令に関する情報または当該情報に基づき得られる2次情報に基づいてアクセス制限条件が成立すると判定したときは、アクセスの一部または全部を制限し、アクセス制限条件が成立しないと判定したときは、アクセスの一部または全部を許可することが含まれる。アクセス許可条件またはアクセス制限条件としては、例えば、(1)命令に関する情報または当該情報に基づき得られる2次情報が所定の値、内容または範囲内であること、(2)命令に関する情報または当該情報に基づき得られる2次情報が所定の値、内容または範囲内でないことが含まれる。また、アクセスの「制限」については、例えば、(1)アクセスの一部または全部を禁止すること、(2)アクセス要求に応じたアクセス結果が得られないように制御すること(例えば、アクセス要求に係るデータとは異なるデータを読み出させまたは書き込ませること)が含まれる。以下、発明2の遊技機、発明11のアクセス制御プログラム、並びに発明12および13の遊技制御方法において同じである。   As for “control” of access, for example, (1) when it is determined that an access permission condition is established based on information on an instruction or secondary information obtained based on the information, a part or all of the access is permitted. If it is determined that the access permission condition is not satisfied, the access restriction condition is satisfied based on information related to the instruction or secondary information obtained based on the information, or (2) restricting part or all of the access. When it is determined, part or all of the access is restricted, and when it is determined that the access restriction condition is not satisfied, permitting part or all of the access is included. As the access permission condition or the access restriction condition, for example, (1) information related to the instruction or secondary information obtained based on the information is within a predetermined value, content, or range, and (2) information related to the instruction or the information It is included that the secondary information obtained based on is not within a predetermined value, content or range. As for “restriction” of access, for example, (1) prohibiting a part or all of access, and (2) controlling so that an access result corresponding to the access request cannot be obtained (for example, access request Read or write data different from the related data). Hereinafter, the same applies to the gaming machine of the invention 2, the access control program of the invention 11, and the game control methods of the inventions 12 and 13.

また、命令に関する情報における当該命令と、アクセス制御との関係については、例えば、(1)記憶手段へのアクセスのためにデータ処理手段が実行する命令に関する情報に基づいて、当該命令に係るアクセスを制御すること、(2)データ処理手段が実行する命令に関する情報に基づいて、当該命令よりも前または後に、記憶手段へのアクセスのためにデータ処理手段が実行する命令に係るアクセスを制御することが含まれる。(2)の場合は、因果関係が分かりにくく、不正行為が行われる可能性をさらに低減することができる。以下、発明2の遊技機、発明11のアクセス制御プログラム、並びに発明12および13の遊技制御方法において同じである。   Regarding the relationship between the instruction in the information related to the instruction and the access control, for example, (1) based on the information related to the instruction executed by the data processing means for accessing the storage means, the access related to the instruction is performed. (2) Controlling access related to an instruction executed by the data processing means for accessing the storage means before or after the instruction based on information relating to the instruction executed by the data processing means. Is included. In the case of (2), the causal relationship is difficult to understand, and the possibility of fraudulent acts can be further reduced. Hereinafter, the same applies to the gaming machine of the invention 2, the access control program of the invention 11, and the game control methods of the inventions 12 and 13.

また、命令に関する情報の対応付けとしては、例えば、命令に関する情報を電源オンコマンドに付加すること、電源オンコマンドの出力または入力に関連する規則で(例えば、電源オンコマンドを出力してから所定時間経過後に)命令に関する情報を出力すること、命令に関する情報へのアクセスに必要なアクセス情報(例えば、リンク情報)を電源オンコマンドに付加すること、電源オンコマンドの出力または入力に関連する規則でアクセス情報を送信することが含まれる。以下、発明2の遊技機、発明11のアクセス制御プログラム、並びに発明12および13の遊技制御方法において同じである。   In addition, for example, information relating to an instruction may be associated with a rule relating to output or input of a power-on command by adding information related to the instruction to the power-on command (for example, a predetermined time after the power-on command is output). Output information about the instruction (after the elapse of time), add access information (eg, link information) necessary to access the information about the instruction to the power-on command, and access according to the rules related to the output or input of the power-on command Transmitting information is included. Hereinafter, the same applies to the gaming machine of the invention 2, the access control program of the invention 11, and the game control methods of the inventions 12 and 13.

また、電源オンコマンドの送信時は、アクセス制御の全部を行ってもよいし、アクセス制御の一部を行ってもよい。アクセス制御の一部としては、例えば、アクセス制御が、(1)命令に関する情報についての判定を行うこと、(2)所定の判定結果が得られたときに記憶手段へのアクセスを制限することとからなる場合は、命令に関する情報についての判定だけを電源オンコマンドの送信時に行い、記憶手段へのアクセス制限は、記憶手段へのアクセスがあったときに行うことが考えられる。また、命令に関する情報を保持しておき、その後に(1)、(2)を行う場合の当該保持も、アクセス制御の一部に含まれる。以下、発明2の遊技機、発明11のアクセス制御プログラム、並びに発明12および13の遊技制御方法において同じである。   Further, when the power-on command is transmitted, all access control may be performed or a part of access control may be performed. As part of the access control, for example, the access control (1) makes a determination on information related to an instruction, and (2) restricts access to the storage means when a predetermined determination result is obtained. In the case of the above, it is conceivable that only the information on the instruction is determined when the power-on command is transmitted, and the access to the storage unit is limited when the storage unit is accessed. In addition, information related to an instruction is held, and the holding in the case of performing (1) and (2) thereafter is also included as part of access control. Hereinafter, the same applies to the gaming machine of the invention 2, the access control program of the invention 11, and the game control methods of the inventions 12 and 13.

また、特賞状態とは、遊技者に対して所定の遊技価値を付与可能な有利な状態をいい、例えば、大入賞口の開放動作等が含まれる。以下、発明2の遊技機において同じである。   Further, the special prize state means an advantageous state in which a predetermined game value can be given to the player, and includes, for example, an opening operation of a special prize opening. Hereinafter, the same applies to the gaming machine of the second aspect.

また、所定条件の成立としては、パチンコ機である場合は、例えば、始動入賞口に遊技球が入賞すること、パチスロ機である場合は、例えば、遊技開始を指示する操作レバーが操作されることが含まれる。以下、発明2の遊技機において同じである。   In addition, as for the establishment of the predetermined condition, for a pachinko machine, for example, a game ball wins a start winning opening, and for a pachislot machine, for example, an operation lever that instructs a game start is operated. Is included. Hereinafter, the same applies to the gaming machine of the second aspect.

また、記憶手段は、あらゆる手段でかつあらゆる時期にデータを記憶可能なものを含み、所定のデータをあらかじめ記憶してあるものであってもよいし、所定のデータをあらかじめ記憶することなく、本遊技機の動作時に外部からの入力等によって所定のデータを記憶するものであってもよい。以下、発明2の遊技機において同じである。   The storage means may include any means that can store data at any time, and may store predetermined data in advance, or may store the present data without storing the predetermined data in advance. Predetermined data may be stored by an external input or the like during operation of the gaming machine. Hereinafter, the same applies to the gaming machine of the second aspect.

〔発明2〕 さらに、発明2の遊技機は、遊技の主制御を行う主制御基板と、前記主制御基板の制御により動作する周辺基板とを備える遊技機であって、前記主制御基板は、所定条件の成立を契機として抽選を行う抽選手段と、図柄表示手段で図柄を変動表示する制御を行う変動表示制御手段と、前記抽選手段の抽選結果に基づいて、所定の態様で前記図柄を停止させた後に特賞状態を発生させる特賞状態発生手段と、電源の投入を指定するための電源オンコマンドを前記周辺基板に送信する送信手段とを有し、前記周辺基板は、遊技に関するデータ処理を行うデータ処理装置を有し、前記データ処理装置は、データ処理手段と、前記電源オンコマンドを受信する受信手段と、前記データ処理手段が実行する命令に関する情報を前記電源オンコマンドと対応付けて外部に出力する出力手段とを有し、当該遊技機は、前記データ処理装置によるアクセスを制御するアクセス制御装置をさらに備え、前記アクセス制御装置は、前記データ処理を行うためのデータを記憶する記憶手段と、前記命令に関する情報を前記出力手段から入力する入力手段と、前記入力手段で入力した命令に関する情報に基づいて、前記データ処理装置による前記記憶手段へのアクセスを制御するアクセス制御手段とを有する。   [Invention 2] Furthermore, the gaming machine of Invention 2 is a gaming machine comprising a main control board that performs main control of a game and a peripheral board that operates under the control of the main control board, wherein the main control board comprises: Lottery means for performing lottery upon the establishment of a predetermined condition, variable display control means for performing variable display of the symbol on the symbol display means, and stopping the symbol in a predetermined manner based on the lottery result of the lottery means A special state generating means for generating a special state after the operation and a transmission means for transmitting a power-on command for designating power-on to the peripheral board, the peripheral board performing data processing relating to a game A data processing device, the data processing device including data processing means, receiving means for receiving the power-on command, and information relating to a command executed by the data processing means. An output means for outputting to the outside in association with the command, and the gaming machine further includes an access control device for controlling access by the data processing device, the access control device for performing the data processing Storage means for storing data, input means for inputting information related to the command from the output means, and control of access to the storage means by the data processing device based on information related to the command input by the input means Access control means.

このような構成であれば、主制御基板では、電源が投入されると、送信手段により、電源オンコマンドが周辺基板に送信される。   With such a configuration, when power is turned on in the main control board, a power-on command is transmitted to the peripheral board by the transmission means.

周辺基板のデータ処理装置では、受信手段により、電源オンコマンドを受信する。また、出力手段により、データ処理手段が実行する命令に関する情報が電源オンコマンドと対応付けられて外部に出力される。   In the peripheral board data processing apparatus, the power-on command is received by the receiving means. Further, the output unit outputs information related to the command executed by the data processing unit in association with the power-on command.

アクセス制御装置では、入力手段により、命令に関する情報が入力され、アクセス制御手段により、入力された命令に関する情報に基づいて、データ処理装置による記憶手段へのアクセスが制御される。   In the access control device, information related to the command is input by the input unit, and the access control unit controls access to the storage unit by the data processing device based on the information related to the input command.

これにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性が低減する。   This reduces the possibility that the data in the storage means will be illegally rewritten or read out.

主制御基板では、遊技が開始され、所定条件が成立すると、抽選手段により、これを契機として抽選が行われる。また、変動表示制御手段により、図柄表示手段で図柄を変動表示する制御が行われる。そして、特賞状態発生手段により、抽選手段の抽選結果に基づいて、所定の態様で図柄が停止した後に特賞状態が発生する。   On the main control board, when a game is started and a predetermined condition is satisfied, the lottery means performs lottery with this as a trigger. Further, the variable display control means performs control to display the symbols in a variable manner by the symbol display means. Then, the special prize state is generated by the special prize state generating means after the symbol is stopped in a predetermined manner based on the lottery result of the lottery means.

このように、電源オンコマンドは、遊技機の電源の投入時やリセット時など、遊技機の初期化時に送信される。初期化は、遊技制御とは異なる区分に分類される。そのため、初期化時にアクセス制御装置へのアクセスを行うようにすれば、遊技制御時にアクセスを行う場合に比して、プログラム設計やテストにかかる工程(工数)を低減することができ、開発コストや品質管理の面で有利となる。   As described above, the power-on command is transmitted when the gaming machine is initialized, such as when the gaming machine is turned on or reset. Initialization is classified into a different category from game control. Therefore, if the access control device is accessed during initialization, the process (man-hours) required for program design and testing can be reduced compared with the case where access is performed during game control. This is advantageous in terms of quality control.

また、電源オンコマンドの送信時である初期化時にアクセス制御が行われるので、例えば、パチンコホールが閉店した後に不正行為が行われても、遊技客が入店する前に不正行為を検出することができる。   In addition, since access control is performed at the time of initialization that is at the time of transmission of a power-on command, for example, even if cheating is performed after the pachinko hall closes, cheating is detected before the player enters the store Can do.

また、電源オンコマンドの送信時にアクセス制御装置へのアクセスが行われるので、各コマンドの送信ごとにアクセスを行う場合に比して、主制御基板および周辺基板の処理負荷を低減することができる。したがって、主制御基板または周辺基板が高い処理能力を有していない遊技機や、処理負荷が大きい遊技機に対しても適用することができる。   In addition, since the access control device is accessed when the power-on command is transmitted, the processing load on the main control board and the peripheral board can be reduced as compared with the case where the access is performed every time each command is transmitted. Therefore, the present invention can also be applied to a gaming machine in which the main control board or the peripheral board does not have a high processing capacity or a gaming machine having a large processing load.

〔発明3〕 さらに、発明3の遊技機は、発明1および2のいずれか1の遊技機において、前記アクセス制御手段は、前記入力手段で入力した命令に関する情報に基づいてアクセス許可条件が成立すると判定したときは、前記記憶手段へのアクセスを許可し、前記アクセス許可条件が成立しないと判定したときは、前記記憶手段へのアクセスを制限する。   [Invention 3] Further, in the gaming machine of Invention 3, in the gaming machine of any one of Inventions 1 and 2, when the access control means establishes an access permission condition based on information relating to the command input by the input means. When it is determined, access to the storage unit is permitted, and when it is determined that the access permission condition is not satisfied, access to the storage unit is restricted.

このような構成であれば、アクセス制御装置では、アクセス制御手段により、入力された命令に関する情報に基づいてアクセス許可条件が成立すると判定されると、記憶手段へのアクセスが許可される。これに対し、入力された命令に関する情報に基づいてアクセス許可条件が成立しないと判定されると、記憶手段へのアクセスが制限される。   With such a configuration, in the access control device, when it is determined by the access control means that the access permission condition is satisfied based on the information related to the input command, access to the storage means is permitted. On the other hand, if it is determined that the access permission condition is not satisfied based on the information related to the input command, access to the storage unit is restricted.

〔発明4〕 さらに、発明4の遊技機は、発明3の遊技機において、前記出力手段は、前記データ処理手段が実行する命令コードまたは命令コード列を出力し、前記アクセス許可条件は、前記入力手段で入力した命令コードまたは命令コード列が所定のコードまたはコード列であることを含む。   [Invention 4] Further, in the gaming machine of Invention 4, in the gaming machine of Invention 3, the output means outputs an instruction code or an instruction code string executed by the data processing means, and the access permission condition is the input The instruction code or instruction code string input by the means includes a predetermined code or code string.

このような構成であれば、データ処理装置では、出力手段により、データ処理手段が実行する命令コードまたは命令コード列が出力される。   With such a configuration, in the data processing apparatus, the output unit outputs an instruction code or an instruction code string executed by the data processing unit.

アクセス制御装置では、入力手段により、命令コードまたは命令コード列が入力され、アクセス制御手段により、入力された命令コードまたは命令コード列が所定のコードまたはコード列であると判定されると、記憶手段へのアクセスが許可される。   In the access control device, an instruction code or an instruction code string is input by the input means, and when the access control means determines that the input instruction code or instruction code string is a predetermined code or code string, the storage means Access to is allowed.

これにより、不正に書き換えられた命令コードまたは命令コード列や、ビットエラーによって内容が変化した命令コードまたは命令コード列が実行されることにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性が低減する。   As a result, an illegally rewritten instruction code or instruction code string, or an instruction code or instruction code string whose contents have changed due to a bit error, is executed, so that the data in the storage means can be illegally rewritten or read. The possibility of doing is reduced.

〔発明5〕 さらに、発明5の遊技機は、発明3および4のいずれか1の遊技機において、前記データ処理装置は、前記データ処理手段が実行する命令コードを記憶する命令コード記憶手段をさらに有し、前記出力手段は、前記データ処理手段が実行する命令コードまたは命令コード列の前記命令コード記憶手段における記憶位置を示す記憶位置情報を出力し、前記アクセス許可条件は、前記入力手段で入力した記憶位置情報の記憶位置が所定の記憶位置であることを含む。   [Invention 5] The gaming machine according to Invention 5 is the gaming machine according to any one of Inventions 3 and 4, wherein the data processing device further includes instruction code storage means for storing an instruction code executed by the data processing means. And the output means outputs storage position information indicating a storage position in the instruction code storage means of an instruction code or instruction code sequence executed by the data processing means, and the access permission condition is input by the input means The storage position of the stored storage position information includes a predetermined storage position.

このような構成であれば、データ処理装置では、出力手段により、データ処理手段が実行する命令コードまたは命令コード列の命令コード記憶手段における記憶位置を示す記憶位置情報が出力される。   With such a configuration, in the data processing apparatus, the output means outputs storage position information indicating the storage position in the instruction code storage means of the instruction code or instruction code string executed by the data processing means.

アクセス制御装置では、入力手段により、記憶位置情報が入力され、アクセス制御手段により、入力された記憶位置情報の記憶位置が所定の記憶位置であると判定されると、記憶手段へのアクセスが許可される。   In the access control device, storage position information is input by the input means, and access to the storage means is permitted when the access control means determines that the storage position of the input storage position information is a predetermined storage position. Is done.

これにより、不正な位置に記憶された命令コードまたは命令コード列が実行されることにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性が低減する。   As a result, the possibility that the data in the storage means is illegally rewritten or read out by executing the instruction code or the instruction code string stored in the illegal position is reduced.

ここで、命令コード列の記憶位置としては、例えば、命令コード列のうち先頭の命令コードの記憶位置、命令コード列のうち所定番目の命令コードの記憶位置、命令コード列に含まれる命令コードのそれぞれの記憶位置が含まれる。   Here, as the storage position of the instruction code string, for example, the storage position of the first instruction code in the instruction code string, the storage position of the predetermined instruction code in the instruction code string, the instruction code included in the instruction code string, Each storage location is included.

また、命令コード記憶手段は、あらゆる手段でかつあらゆる時期に命令コードを記憶可能なものを含み、命令コードをあらかじめ記憶してあるものであってもよいし、命令コードをあらかじめ記憶することなく、本遊技機の動作時に外部からの入力等によって命令コードを記憶するものであってもよい。以下、発明6および7の遊技機において同じである。   In addition, the instruction code storage means includes a means capable of storing the instruction code at any time and at any time, and may store the instruction code in advance, or without storing the instruction code in advance, An instruction code may be stored by an external input or the like during operation of the gaming machine. Hereinafter, the same applies to the gaming machines of the inventions 6 and 7.

〔発明6〕 さらに、発明6の遊技機は、発明3および4のいずれか1の遊技機において、前記データ処理装置は、前記データ処理手段が実行する命令コードを記憶する命令コード記憶手段と、前記命令コード記憶手段に記憶された命令コードまたは命令コード列の少なくとも一部を用いて所定の演算を行う演算手段とをさらに有し、前記出力手段は、前記演算手段の演算結果を出力し、前記アクセス許可条件は、前記入力手段で入力した演算結果が所定の結果であることを含む。   [Invention 6] Further, in the gaming machine of Invention 6, in the gaming machine of any one of Inventions 3 and 4, the data processing device includes an instruction code storage means for storing an instruction code executed by the data processing means; An arithmetic unit that performs a predetermined operation using at least a part of the instruction code or the instruction code string stored in the instruction code storage unit, and the output unit outputs an operation result of the operation unit; The access permission condition includes that a calculation result input by the input unit is a predetermined result.

このような構成であれば、データ処理装置では、演算手段により、命令コード記憶手段に記憶された命令コードまたは命令コード列の少なくとも一部を用いて所定の演算が行われ、出力手段により、その演算結果が出力される。   In such a configuration, in the data processing apparatus, the calculation means performs a predetermined calculation using at least a part of the instruction code or the instruction code string stored in the instruction code storage means, and the output means performs the calculation. The calculation result is output.

アクセス制御装置では、入力手段により、演算手段の演算結果が入力され、アクセス制御手段により、入力された演算結果が所定の結果であると判定されると、記憶手段へのアクセスが許可される。   In the access control device, the calculation result of the calculation means is input by the input means, and when the access control means determines that the input calculation result is a predetermined result, access to the storage means is permitted.

〔発明7〕 さらに、発明7の遊技機は、発明3および4のいずれか1の遊技機において、前記データ処理装置は、前記データ処理手段が実行する命令コードを記憶する命令コード記憶手段と、前記命令コード記憶手段に記憶された所定の固定値を用いて所定の演算を行う演算手段とをさらに有し、前記出力手段は、前記演算手段の演算結果を出力し、前記アクセス許可条件は、前記入力手段で入力した演算結果が所定の結果であることを含む。   [Invention 7] Furthermore, the gaming machine of Invention 7 is the gaming machine according to any one of Inventions 3 and 4, wherein the data processing device includes an instruction code storage means for storing an instruction code executed by the data processing means; And a calculation unit that performs a predetermined calculation using a predetermined fixed value stored in the instruction code storage unit, the output unit outputs a calculation result of the calculation unit, and the access permission condition is: The calculation result input by the input means includes a predetermined result.

このような構成であれば、データ処理装置では、演算手段により、命令コード記憶手段に記憶された所定の固定値を用いて所定の演算が行われ、出力手段により、その演算結果が出力される。   With such a configuration, in the data processing apparatus, the calculation unit performs a predetermined calculation using a predetermined fixed value stored in the instruction code storage unit, and the output unit outputs the calculation result. .

アクセス制御装置では、入力手段により、演算手段の演算結果が入力され、アクセス制御手段により、入力された演算結果が所定の結果であると判定されると、記憶手段へのアクセスが許可される。   In the access control device, the calculation result of the calculation means is input by the input means, and when the access control means determines that the input calculation result is a predetermined result, access to the storage means is permitted.

〔発明8〕 さらに、発明8の遊技機は、発明3ないし7のいずれか1の遊技機において、前記出力手段は、前記データ処理手段が実行する命令コードまたは命令コード列の実行結果を示す実行結果情報を出力し、前記アクセス許可条件は、前記入力手段で入力した実行結果情報の実行結果が所定の結果であることを含む。   [Invention 8] The gaming machine according to Invention 8 is the gaming machine according to any one of Inventions 3 to 7, wherein the output means executes execution of an instruction code or an instruction code string executed by the data processing means. Result information is output, and the access permission condition includes that the execution result of the execution result information input by the input unit is a predetermined result.

このような構成であれば、データ処理装置では、出力手段により、データ処理手段が実行する命令コードまたは命令コード列の実行結果を示す実行結果情報が出力される。   With such a configuration, in the data processing apparatus, the output means outputs execution result information indicating the execution result of the instruction code or the instruction code string executed by the data processing means.

アクセス制御装置では、入力手段により、実行結果情報が入力され、アクセス制御手段により、入力された実行結果情報の実行結果が所定の結果であると判定されると、記憶手段へのアクセスが許可される。   In the access control device, when the execution result information is input by the input unit, and the access control unit determines that the execution result of the input execution result information is a predetermined result, access to the storage unit is permitted. The

これにより、不正に書き換えられた命令コードまたは命令コード列や、ビットエラーによって内容が変化した命令コードまたは命令コード列が実行されることにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性が低減する。   As a result, an illegally rewritten instruction code or instruction code string, or an instruction code or instruction code string whose contents have changed due to a bit error, is executed, so that the data in the storage means can be illegally rewritten or read. The possibility of doing is reduced.

〔発明9〕 さらに、発明9の遊技機は、発明1ないし8のいずれか1の遊技機において、前記アクセス制御手段は、前記記憶手段のうち特定のアドレス空間へのアクセスを制御する。   [Invention 9] Further, in the gaming machine according to Invention 9, in the gaming machine according to any one of Inventions 1 to 8, the access control means controls access to a specific address space in the storage means.

このような構成であれば、アクセス制御装置では、アクセス制御手段により、記憶手段のうち特定のアドレス空間へのアクセスが制御される。これにより、記憶手段のうち、機密情報等の重要な情報が記憶されたアドレス空間へのアクセスを制御することにより、重要な情報が不正に書き換えられたり読み出されたりする可能性が低減する。   With such a configuration, in the access control device, access to a specific address space in the storage means is controlled by the access control means. Thereby, by controlling access to the address space in which important information such as confidential information is stored in the storage means, the possibility that the important information is illegally rewritten or read is reduced.

〔発明10〕 さらに、発明10の遊技機は、発明1ないし9のいずれか1の遊技機において、前記アクセス制御手段によるアクセス制御の状況を通知する制御状況通知手段をさらに備える。   [Invention 10] The gaming machine according to Invention 10 further includes control status notification means for notifying the status of access control by the access control means in the gaming machine according to any one of Inventions 1 to 9.

このような構成であれば、制御状況通知手段により、アクセス制御手段によるアクセス制御の状況が通知される。   With such a configuration, the status of access control by the access control means is notified by the control status notification means.

ここで、制御状況通知手段は、通知対象が認識可能な方法により通知を行えばよく、通知対象が人である場合は、例えば、表示、音声出力、振動その他五感で知覚可能な方法により行うことができる。通知対象がコンピュータ等である場合は、信号出力、データ送信その他コンピュータ等が認識可能な方法により行うことができる。   Here, the control status notification means may be notified by a method capable of recognizing the notification target, and when the notification target is a person, for example, display, sound output, vibration, or other methods perceivable by the five senses. Can do. When the notification target is a computer or the like, signal output, data transmission, or other methods that can be recognized by the computer or the like can be performed.

〔発明11〕 一方、上記目的を達成するために、発明11のアクセス制御プログラムは、コンピュータからなる発明1および2のいずれかのアクセス制御装置に対して、発明1および2のいずれかのデータ処理装置によるアクセスを制御する処理を実行させるためのアクセス制御プログラムであって、前記データ処理手段が実行する命令に関する情報を前記出力手段から入力する入力ステップと、前記入力ステップで入力した命令に関する情報に基づいて、前記データ処理装置による前記記憶手段へのアクセスを制御するアクセス制御ステップとを含む処理を実行させるためのプログラムである。   [Invention 11] On the other hand, in order to achieve the above object, an access control program according to Invention 11 provides data processing according to any one of Inventions 1 and 2 to an access control apparatus according to any one of Inventions 1 and 2. An access control program for executing processing for controlling access by a device, wherein information relating to an instruction executed by the data processing means is input from the output means, and information relating to an instruction input in the input step And an access control step for controlling access to the storage means by the data processing apparatus.

このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、発明1または2のアクセス制御装置と同等の作用が得られる。   With such a configuration, when the program is read by the computer and the computer executes processing in accordance with the read program, an operation equivalent to that of the access control device of the first or second aspect of the invention can be obtained.

〔発明12〕 一方、上記目的を達成するために、発明12の遊技制御方法は、発明1の遊技機に適用される遊技制御方法であって、前記データ処理装置に対しては、前記電源オンコマンドを前記周辺基板に送信する送信ステップと、前記出力手段が、前記データ処理手段が実行する命令に関する情報を前記電源オンコマンドと対応付けて外部に出力する出力ステップを含み、前記アクセス制御装置に対しては、前記命令に関する情報を前記出力手段から入力する入力ステップと、前記入力ステップで入力した命令に関する情報に基づいて、前記データ処理装置による前記記憶手段へのアクセスを制御するアクセス制御ステップとを含む。   [Invention 12] On the other hand, in order to achieve the above object, the game control method of Invention 12 is a game control method applied to the gaming machine of Invention 1, wherein the data processing device is powered on. A transmission step of transmitting a command to the peripheral board; and an output step in which the output means outputs information relating to a command executed by the data processing means in association with the power-on command to the outside. On the other hand, an input step of inputting information related to the instruction from the output means, and an access control step of controlling access to the storage means by the data processing device based on the information related to the instruction input in the input step; including.

〔発明13〕 さらに、発明13の遊技制御方法は、発明2の遊技機に適用される遊技制御方法であって、前記データ処理装置に対しては、前記電源オンコマンドを受信する受信ステップと、前記出力手段が、前記データ処理手段が実行する命令に関する情報を前記電源オンコマンドと対応付けて外部に出力する出力ステップを含み、前記アクセス制御装置に対しては、前記命令に関する情報を前記出力手段から入力する入力ステップと、前記入力ステップで入力した命令に関する情報に基づいて、前記データ処理装置による前記記憶手段へのアクセスを制御するアクセス制御ステップとを含む。   [Invention 13] Further, the game control method of the invention 13 is a game control method applied to the gaming machine of the invention 2, wherein the data processing device receives the power-on command; The output means includes an output step of outputting information relating to an instruction executed by the data processing means to the outside in association with the power-on command, and for the access control device, information relating to the instruction is output to the output means. And an access control step of controlling access to the storage means by the data processing device based on information related to the command input in the input step.

以上説明したように、発明1の遊技機によれば、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正行為やエラーに起因する不正動作が行われる可能性を低減することができるという効果が得られる。また、データ処理装置とは別体のアクセス制御装置がアクセス制御機能を実現するので、データ処理装置自体が不正動作検出処理を行う必要がなく、従来に比して、開発や設計の難易度が高くなることを抑制することができるという効果も得られる。さらに、命令に関する情報に基づいてアクセスが制御されるので、ROMと同等容量のテーブルを用意する必要がなく、従来に比して、データ容量が増大することを抑制することができるという効果も得られる。さらに、主制御基板のデータ処理装置が不正動作する可能性を低減することができるという効果も得られる。さらに、電源オンコマンドの送信時である初期化時にアクセス制御装置へのアクセスが行われるので、遊技制御時にアクセスを行う場合に比して、プログラム設計やテストにかかる工程(工数)を低減することができ、開発コストや品質管理の面で有利となるという効果も得られる。さらに、初期化時にアクセス制御が行われるので、例えば、パチンコホールが閉店した後に不正行為が行われても、遊技客が入店する前に不正行為を検出することができる。したがって、不正行為が行われる可能性を効果的に低減することができるという効果も得られる。さらに、電源オンコマンドの送信時にアクセス制御装置へのアクセスが行われるので、各コマンドの送信ごとにアクセスを行う場合に比して、主制御基板および周辺基板の処理負荷を低減することができる。したがって、主制御基板または周辺基板が高い処理能力を有していない遊技機や、処理負荷が大きい遊技機に対しても適用することができるという効果も得られる。   As described above, according to the gaming machine of the first aspect, it is possible to reduce the possibility that the data in the storage means is illegally rewritten or read out. The effect that the possibility of being performed can be reduced is obtained. In addition, since an access control device that is separate from the data processing device realizes the access control function, the data processing device itself does not need to perform unauthorized operation detection processing, and development and design are more difficult than in the past. The effect that it can suppress becoming high is also acquired. Furthermore, since access is controlled based on information related to instructions, it is not necessary to prepare a table having the same capacity as that of a ROM, and an effect of suppressing an increase in data capacity as compared with the prior art can be obtained. It is done. Furthermore, the effect that the possibility that the data processing device of the main control board operates illegally can be reduced. Furthermore, since access to the access control device is performed during initialization, which is the time when the power-on command is transmitted, the process (man-hours) required for program design and testing is reduced compared to when accessing during game control. This is advantageous in that it is advantageous in terms of development cost and quality control. Furthermore, since access control is performed at the time of initialization, for example, even if cheating is performed after the pachinko hall is closed, cheating can be detected before the player enters the store. Therefore, the effect that it is possible to effectively reduce the possibility of cheating is also obtained. Furthermore, since the access control apparatus is accessed when the power-on command is transmitted, the processing load on the main control board and the peripheral board can be reduced as compared with the case where the access is performed for each command transmission. Therefore, it is possible to obtain an effect that the present invention can be applied to a gaming machine in which the main control board or the peripheral board does not have a high processing capability or a gaming machine having a large processing load.

さらに、発明2の遊技機によれば、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正行為やエラーに起因する不正動作が行われる可能性を低減することができるという効果が得られる。また、データ処理装置とは別体のアクセス制御装置がアクセス制御機能を実現するので、データ処理装置自体が不正動作検出処理を行う必要がなく、従来に比して、開発や設計の難易度が高くなることを抑制することができるという効果も得られる。さらに、命令に関する情報に基づいてアクセスが制御されるので、ROMと同等容量のテーブルを用意する必要がなく、従来に比して、データ容量が増大することを抑制することができるという効果も得られる。さらに、周辺基板のデータ処理装置が不正動作する可能性を低減することができるという効果も得られる。さらに、電源オンコマンドの送信時である初期化時にアクセス制御装置へのアクセスが行われるので、遊技制御時にアクセスを行う場合に比して、プログラム設計やテストにかかる工程(工数)を低減することができ、開発コストや品質管理の面で有利となるという効果も得られる。さらに、初期化時にアクセス制御が行われるので、例えば、パチンコホールが閉店した後に不正行為が行われても、遊技客が入店する前に不正行為を検出することができる。したがって、不正行為が行われる可能性を効果的に低減することができるという効果も得られる。さらに、電源オンコマンドの送信時にアクセス制御装置へのアクセスが行われるので、各コマンドの送信ごとにアクセスを行う場合に比して、主制御基板および周辺基板の処理負荷を低減することができる。したがって、主制御基板または周辺基板が高い処理能力を有していない遊技機や、処理負荷が大きい遊技機に対しても適用することができるという効果も得られる。   Further, according to the gaming machine of the second aspect, the possibility that the data in the storage means is illegally rewritten or read out can be reduced, so that an illegal operation due to an illegal act or an error may be performed. The effect that can be reduced is obtained. In addition, since an access control device that is separate from the data processing device realizes the access control function, the data processing device itself does not need to perform unauthorized operation detection processing, and development and design are more difficult than in the past. The effect that it can suppress becoming high is also acquired. Furthermore, since access is controlled based on information related to instructions, it is not necessary to prepare a table having the same capacity as that of a ROM, and an effect of suppressing an increase in data capacity as compared with the prior art can be obtained. It is done. Furthermore, there is an effect that the possibility that the data processing device on the peripheral board operates illegally can be reduced. Furthermore, since access to the access control device is performed during initialization, which is the time when the power-on command is transmitted, the number of steps (man-hours) required for program design and testing is reduced compared to when accessing during game control. This is advantageous in that it is advantageous in terms of development cost and quality control. Furthermore, since access control is performed at the time of initialization, for example, even if cheating is performed after the pachinko hall is closed, cheating can be detected before the player enters the store. Therefore, the effect that it is possible to effectively reduce the possibility of cheating is also obtained. Furthermore, since the access control apparatus is accessed when the power-on command is transmitted, the processing load on the main control board and the peripheral board can be reduced as compared with the case where the access is performed for each command transmission. Therefore, it is possible to obtain an effect that the present invention can be applied to a gaming machine in which the main control board or the peripheral board does not have a high processing capability or a gaming machine having a large processing load.

さらに、発明3の遊技機によれば、アクセス許可条件の成否によりアクセスが制御されるので、データ容量が増大することをさらに抑制することができるという効果が得られる。   Furthermore, according to the gaming machine of the invention 3, since access is controlled according to the success or failure of the access permission condition, it is possible to further suppress an increase in data capacity.

さらに、発明4の遊技機によれば、不正に書き換えられた命令コードまたは命令コード列や、ビットエラーによって内容が変化した命令コードまたは命令コード列が実行されることにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができるという効果が得られる。   Further, according to the gaming machine of the invention 4, the data in the storage means is illegal by executing the illegally rewritten instruction code or instruction code string or the instruction code or instruction code string whose contents are changed due to a bit error. Since the possibility of being rewritten or read out can be reduced, there is an effect that the possibility that an illegal operation is performed can be further reduced.

さらに、発明5の遊技機によれば、不正な位置に記憶された命令コードまたは命令コード列が実行されることにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができるという効果が得られる。   Furthermore, according to the gaming machine of the invention 5, the possibility that the data in the storage means is illegally rewritten or read out by executing the instruction code or the instruction code sequence stored in the illegal position is reduced. Therefore, it is possible to further reduce the possibility that an illegal operation is performed.

さらに、発明6の遊技機によれば、命令コード記憶手段に記憶された命令コードまたは命令コード列が不正に書き換えられたことを検出することができるという効果が得られる。   Furthermore, according to the gaming machine of the sixth aspect of the invention, it is possible to detect that the instruction code or the instruction code string stored in the instruction code storage unit can be illegally rewritten.

さらに、発明7の遊技機によれば、命令コード記憶手段が不正なものに交換されたことを検出することができるという効果が得られる。   Furthermore, according to the gaming machine of the invention 7, it is possible to detect that the instruction code storage means has been replaced with an illegal one.

さらに、発明8の遊技機によれば、不正に書き換えられた命令コードまたは命令コード列や、ビットエラーによって内容が変化した命令コードまたは命令コード列が実行されることにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができるという効果が得られる。   Furthermore, according to the gaming machine of the eighth aspect of the invention, the illegally rewritten instruction code or instruction code string or the instruction code or instruction code string whose contents have been changed due to a bit error is executed, whereby the data in the storage means is illegal. Since the possibility of being rewritten or read out can be reduced, there is an effect that the possibility that an illegal operation is performed can be further reduced.

さらに、発明9の遊技機によれば、記憶手段のうち、機密情報等の重要な情報が記憶されたアドレス空間へのアクセスを制御することにより、重要な情報が不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができるという効果が得られる。   Furthermore, according to the gaming machine of the invention 9, by controlling access to an address space in which important information such as confidential information is stored in the storage means, the important information is illegally rewritten or read out. Therefore, there is an effect that it is possible to further reduce the possibility that an illegal operation is performed.

さらに、発明10の遊技機によれば、不正動作が行われた可能性があることを把握することができるという効果が得られる。   Furthermore, according to the gaming machine of the tenth aspect, there is an effect that it is possible to grasp that there is a possibility that an illegal operation has been performed.

一方、発明11のアクセス制御プログラム、または発明12若しくは13の遊技制御方法によれば、発明1または2の遊技機と同等の効果が得られる。   On the other hand, according to the access control program of the eleventh aspect or the game control method of the twelfth or thirteenth aspect, the same effect as the gaming machine of the first or second aspect can be obtained.

〔第1の実施の形態〕
以下、本発明の第1の実施の形態を図面を参照しながら説明する。図1ないし図20は、本発明に係る遊技機およびアクセス制御プログラム、並びに遊技制御方法の第1の実施の形態を示す図である。
[First Embodiment]
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. 1 to 20 are views showing a first embodiment of a gaming machine, an access control program, and a game control method according to the present invention.

本実施の形態は、本発明に係る遊技機およびアクセス制御プログラム、並びに遊技制御方法をパチンコ機に適用したものである。   In this embodiment, a gaming machine, an access control program, and a gaming control method according to the present invention are applied to a pachinko machine.

〔遊技盤の構成〕
まず、パチンコ機における遊技盤101の構成を説明する。
[Composition of game board]
First, the configuration of the game board 101 in the pachinko machine will be described.

図1は、遊技盤101の正面図である。   FIG. 1 is a front view of the game board 101.

図1において、遊技盤101の左側には、円弧を描いて上方に延長する2つのレール102a、102bが設けられている。遊技領域103には、遊技球の落下軌跡を変則的にするための複数の釘(不図示)が設けられ、落下途中の位置には、遊技球の落下方向を変化させる風車や入賞口が設けられている。遊技球は、遊技盤101の下部位置に配置された発射部(不図示)により発射され、レール102a、102b間を上昇して遊技盤101の上部位置に達した後、遊技領域103内を落下する。   In FIG. 1, two rails 102 a and 102 b are provided on the left side of the game board 101 so as to draw an arc and extend upward. The game area 103 is provided with a plurality of nails (not shown) for making the trajectory of the game ball fall irregularly, and a windmill or a prize opening for changing the fall direction of the game ball is provided in the middle of the fall. It has been. The game ball is fired by a launching unit (not shown) disposed at a lower position of the game board 101, rises between the rails 102a and 102b, reaches the upper position of the game board 101, and then falls within the game area 103. To do.

遊技盤101の中央部には、3つの領域にそれぞれ演出図柄を独立に変動させながら表示する図柄表示部104が設けられている。図柄表示部104は、例えば、液晶表示器(LCD(Liquid Crystal
Display))またはCRT(Cathode Ray Tube)ディスプレイ等の可変表示装置、7セグメントLED、ドットマトリクス表示装置、モータの回転により可変表示するドラム等であり、複数の数字や図柄等からなる演出図柄を変動表示する。
In the central portion of the game board 101, a symbol display unit 104 is provided that displays the effect symbols in three regions while independently varying them. The symbol display unit 104 is, for example, a liquid crystal display (LCD (Liquid Crystal).
Display)) or variable display devices such as CRT (Cathode Ray Tube) displays, 7-segment LEDs, dot matrix display devices, drums that can be variably displayed by the rotation of the motor, etc. indicate.

図柄表示部104の下方には、遊技球を入賞可能な始動入賞口105が設けられている。また、図柄表示部104の左右両側には、それぞれ入賞ゲート106が設けられている。入賞ゲート106を遊技球が通過すると、所定の抽選が行われ、これに当選すると、始動入賞口105が所定時間だけ開放する。   Below the symbol display unit 104 is provided a start winning opening 105 through which a game ball can be won. A winning gate 106 is provided on each of the left and right sides of the symbol display unit 104. When the game ball passes through the winning gate 106, a predetermined lottery is performed, and when the winning ball is won, the start winning opening 105 is opened for a predetermined time.

始動入賞口105の左右両側には、それぞれ普通入賞口107が設けられている。普通入賞口107に遊技球が入賞すると、遊技球1個につき所定数(例えば、10個)の遊技球が賞球として払い出される。   A normal winning opening 107 is provided on each of the left and right sides of the start winning opening 105. When a game ball wins the normal winning opening 107, a predetermined number (for example, 10) of game balls is paid out as a prize ball for each game ball.

始動入賞口105の下方には、通常時は閉止状態であるが図柄表示部104の演出図柄が大当たり図柄(例えば、「777」)となったときは、開放状態となって遊技球を入賞可能とする大入賞口109が設けられている。大当たり抽選で「大当たり」(以下、単に「大当たり」という。)となったときは、大入賞口109の全面に設置された開閉部材が開閉動作を繰り返す。開閉部材が開放中は、多数の遊技球の入賞を受け付ける。大入賞口109に遊技球が入賞すると、遊技球1個につき所定数(例えば、10個)の遊技球が賞球として払い出される。大入賞口109の開放は、所定時間(例えば、30秒)経過するか、所定数(例えば、10個)の遊技球が入賞するまで継続する。大入賞口109の1回の開放期間をラウンドと呼び、ラウンドは、最大で所定回数(以下、最大ラウンド数という。)継続する。   Below the start winning opening 105, it is normally closed, but when the design symbol on the symbol display unit 104 becomes a jackpot symbol (for example, “777”), the game ball can be won in an open state. A special winning opening 109 is provided. When the jackpot lottery results in a “hit” (hereinafter simply referred to as “hit”), the opening and closing members installed on the entire surface of the big winning opening 109 repeat the opening and closing operation. While the open / close member is open, a large number of game balls are received. When a game ball wins the big winning opening 109, a predetermined number (for example, 10) of game balls is paid out as a prize ball for each game ball. The opening of the special winning opening 109 continues until a predetermined time (for example, 30 seconds) elapses or a predetermined number (for example, 10) of game balls wins. One opening period of the big prize opening 109 is called a round, and the round continues a maximum of a predetermined number of times (hereinafter referred to as the maximum number of rounds).

遊技領域103の最下方には、いずれの入賞口にも入賞しなかった遊技球を回収するための回収口108が設けられている。   At the lowermost part of the game area 103, a collection port 108 is provided for collecting game balls that have not won any of the winning ports.

〔遊技制御装置の構成〕
次に、パチンコ機における遊技制御装置100の構成を説明する。
[Configuration of game control device]
Next, the configuration of the game control device 100 in the pachinko machine will be described.

図2は、遊技制御装置100の構成を示すブロック図である。   FIG. 2 is a block diagram showing a configuration of the game control device 100.

遊技制御装置100は、図2に示すように、遊技の主制御を行う主制御部200と、主制御部200の制御により遊技の演出制御を行う演出制御部300と、主制御部200の制御により遊技球の払出制御を行う賞球制御部400とを有して構成されている。   As shown in FIG. 2, the game control device 100 includes a main control unit 200 that performs main control of the game, an effect control unit 300 that performs game effect control by the control of the main control unit 200, and control of the main control unit 200. And a prize ball control unit 400 that controls the payout of game balls.

主制御部200は、遊技の主制御を行い、遊技の演出制御または遊技球の払出制御を行うための各種の制御コマンドを演出制御部300および賞球制御部400にそれぞれ送信する。   The main control unit 200 performs main control of the game and transmits various control commands for performing game effect control or game ball payout control to the effect control unit 300 and the prize ball control unit 400, respectively.

主制御部200には、始動入賞口105に入賞した遊技球を検出する始動入賞口検出部280と、入賞ゲート106を通過した遊技球を検出するゲート検出部282と、普通入賞口107に入賞した遊技球を検出する普通入賞口検出部284と、大入賞口109に入賞した遊技球を検出する大入賞口検出部286とが接続されている。これらの検出部280〜286は、例えば、近接スイッチを用いて構成することができる。   The main control unit 200 includes a start winning port detection unit 280 that detects a game ball won in the start winning port 105, a gate detection unit 282 that detects a game ball that has passed through the winning gate 106, and a normal winning port 107. An ordinary winning opening detection unit 284 that detects the game ball that has been played and a large winning opening detection unit 286 that detects the game ball that has won the winning prize port 109 are connected. These detection parts 280-286 can be comprised using a proximity switch, for example.

主制御部200には、さらに、大当たり中に大入賞口109の開閉部材を開閉動作させる大入賞口開閉部288と、演出制御部300と、賞球制御部400とが接続されている。なお、演出制御部300との通信は、主制御部200から演出制御部300への一方向となっている。これに対し、賞球制御部400との通信は、双方向となっている。   The main control unit 200 is further connected to a big prize opening / closing part 288 that opens and closes the opening / closing member of the big prize opening 109 during the big hit, an effect control part 300, and a prize ball control part 400. Communication with the production control unit 300 is one direction from the main control unit 200 to the production control unit 300. In contrast, communication with the prize ball control unit 400 is bidirectional.

大入賞口開閉部288は、例えば、ソレノイドを用いて構成することができる。大当たりは、大当たり決定乱数に基づいて所定確率(例えば、1/300)で発生するようあらかじめプログラムされている。   The big prize opening opening / closing unit 288 can be configured using, for example, a solenoid. The jackpot is pre-programmed to occur with a predetermined probability (for example, 1/300) based on the jackpot random number.

演出制御部300は、主制御部200から制御コマンドを受信し、受信した制御コマンドに基づいて遊技の演出制御を行う。演出制御部300は、制御プログラムを記憶したROM304と、ROM304の制御プログラムに従って演出制御処理を実行するCPU302と、CPU302の演算処理時におけるデータのワークエリアとして機能するRAM306と、図柄表示部104に表示させる画像データを書き込むVRAM308と、外部装置との入出力を行うI/F310とを有して構成されている。   The effect control unit 300 receives a control command from the main control unit 200 and performs an effect control of the game based on the received control command. The effect control unit 300 includes a ROM 304 that stores a control program, a CPU 302 that executes an effect control process according to the control program stored in the ROM 304, a RAM 306 that functions as a data work area during the calculation process of the CPU 302, and a display on the symbol display unit 104. And an I / F 310 for inputting / outputting data to / from an external device.

RAM306は、主制御部200からの入力データ、演算処理のためのデータ、乱数を生成するための乱数カウンタその他各種のカウンタ、および各種のフラグを記憶する。   The RAM 306 stores input data from the main control unit 200, data for arithmetic processing, a random number counter for generating random numbers, various other counters, and various flags.

I/F310には、主制御部200と、図柄表示部104と、スピーカ380から音声を出力する音声制御を行う音声制御部382と、ランプ384を点灯させるランプ制御を行うランプ制御部386とが接続されている。   The I / F 310 includes a main control unit 200, a symbol display unit 104, a sound control unit 382 that performs sound control for outputting sound from the speaker 380, and a lamp control unit 386 that performs lamp control for lighting the lamp 384. It is connected.

賞球制御部400は、主制御部200から制御コマンドを受信し、受信した制御コマンドに基づいて遊技球の払出制御を行う。賞球制御部400は、制御プログラムを記憶したROM404と、ROM404の制御プログラムに従って払出制御処理を実行するCPU402と、CPU402の演算処理時におけるデータのワークエリアとして機能するRAM406と、外部装置との入出力を行うI/F410とを有して構成されている。   The award ball control unit 400 receives a control command from the main control unit 200 and performs payout control of the game ball based on the received control command. The prize ball control unit 400 includes a ROM 404 that stores a control program, a CPU 402 that executes a payout control process according to the control program in the ROM 404, a RAM 406 that functions as a data work area during the calculation process of the CPU 402, and an external device. And an I / F 410 that performs output.

I/F410には、主制御部200と、遊技球の貯留部から所定数の遊技球を払い出す払出部480と、遊技球を遊技盤101に発射する発射部482とが接続されている。   The I / F 410 is connected to the main control unit 200, a payout unit 480 that pays out a predetermined number of game balls from the game ball storage unit, and a launch unit 482 that launches the game balls to the game board 101.

賞球制御部400は、払出部480に対して、各入賞口(始動入賞口105、普通入賞口107、大入賞口109)への入賞に応じて所定数の遊技球を払い出す制御を行う。また、発射部482に対する操作を検出し、遊技球の発射を制御する。   The award ball control unit 400 controls the payout unit 480 to pay out a predetermined number of game balls in accordance with winnings in each winning award (starting winning port 105, normal winning port 107, large winning port 109). . In addition, an operation on the launch unit 482 is detected, and the launch of the game ball is controlled.

発射部482は、遊技者による操作を検出するセンサ(不図示)と、遊技球を発射させるソレノイド(不図示)とを有して構成されている。賞球制御部400は、発射部482のセンサにより操作を検出すると、その操作量に応じてソレノイドを駆動させて遊技球を間欠的に発射する。   The launching unit 482 includes a sensor (not shown) that detects an operation by the player and a solenoid (not shown) that launches a game ball. When the award ball control unit 400 detects an operation by the sensor of the launch unit 482, the prize ball control unit 400 intermittently fires a game ball by driving a solenoid according to the operation amount.

なお、主制御部200、演出制御部300および賞球制御部400は、それぞれ異なるプリント基板(主制御基板、演出制御基板および賞球制御基板)に設けられる。これに限らず、例えば、賞球制御部400は、主制御部200と同一のプリント基板に設けることもできる。   The main control unit 200, the effect control unit 300, and the prize ball control unit 400 are provided on different printed circuit boards (main control board, effect control board, and prize ball control board). For example, the prize ball control unit 400 may be provided on the same printed circuit board as the main control unit 200.

〔主制御部の構成〕
次に、主制御部200の構成を説明する。
[Configuration of main controller]
Next, the configuration of the main control unit 200 will be described.

図3は、主制御部200の構成を示すブロック図である。   FIG. 3 is a block diagram illustrating a configuration of the main control unit 200.

主制御部200は、図3に示すように、DIP(Dual Inline
Package)等からなるワンチップ型のマイクロプロセッサであるCPU202と、CPU202によるアクセスを制御するアクセス制御装置230と、パチンコ機の検定試験に用いられる検査ポート240とを有して構成されている。
As shown in FIG. 3, the main control unit 200 is a DIP (Dual Inline
CPU 202, which is a one-chip type microprocessor composed of a package), an access control device 230 for controlling access by the CPU 202, and an inspection port 240 used for a pachinko machine verification test.

CPU202は、制御プログラムを記憶したROM204と、ROM204の制御プログラムに従って遊技制御処理を実行するCPUコア203と、CPUコア203の演算処理時におけるデータのワークエリアとして機能するRAM206と、検査ポート240を介してCPUコア203が実行する命令コード列その他の検査データを出力するセキュリティ検査回路208とを有して構成されている。   The CPU 202 includes a ROM 204 that stores a control program, a CPU core 203 that executes game control processing in accordance with the control program stored in the ROM 204, a RAM 206 that functions as a data work area when the CPU core 203 performs arithmetic processing, and an inspection port 240. And a security inspection circuit 208 that outputs an instruction code string executed by the CPU core 203 and other inspection data.

CPU202は、さらに、外部装置との入出力を行うI/F210、212と、時間を計測するタイマ214とを有して構成されている。そして、CPUコア203、ROM204、RAM206、セキュリティ検査回路208、I/F210、212およびタイマ214は、バス216を介して相互に接続されている。   The CPU 202 further includes I / Fs 210 and 212 that perform input / output with an external device, and a timer 214 that measures time. The CPU core 203, ROM 204, RAM 206, security inspection circuit 208, I / Fs 210 and 212, and timer 214 are connected to each other via a bus 216.

RAM206は、主制御部200に対する入出力データ、演算処理のためのデータ、乱数を生成するための乱数カウンタその他各種のカウンタ、大当たりフラグその他各種のフラグ、および保留球数を記憶する。RAM206の内容は、バックアップ電源(不図示)により電源遮断時でも保持される。   The RAM 206 stores input / output data for the main control unit 200, data for arithmetic processing, a random number counter for generating random numbers and other various counters, a jackpot flag and other various flags, and the number of reserved balls. The contents of the RAM 206 are retained even when the power is shut off by a backup power source (not shown).

乱数カウンタは、大当たり抽選に用いる乱数(大当たり決定乱数)、演出図柄の停止態様を決定するための乱数(停止図柄決定乱数)、演出図柄の変動パターンを決定するための乱数(変動パターン決定乱数)、演出図柄の一部をリーチ図柄(例えば、「77」)で停止させて大当たりの予告を行う演出(以下、リーチ演出という。)の有無を決定するための乱数(リーチ決定乱数)、その他遊技制御に用いる乱数のそれぞれに対応して設けられている。また、保留球数とは、始動入賞口105に入賞した遊技球の数であって大当たり抽選が行われていない分をいう。   The random number counter is a random number used for lottery lottery (a jackpot determined random number), a random number for determining the stop mode of the effect symbol (stop symbol determined random number), and a random number for determining the variation pattern of the effect symbol (variation pattern determining random number) A random number (reach determination random number) for determining the presence or absence of an effect (hereinafter referred to as a reach effect) for making a jackpot notice by stopping a part of the effect symbol at a reach symbol (eg, “77”), and other games It is provided corresponding to each random number used for control. In addition, the number of reserved balls is the number of game balls won in the start winning opening 105, and means that the big hit lottery is not performed.

I/F212には、アクセス制御装置230が接続されている。CPU202は、そのハードウェア構造上、バス216を介して送受信されるアドレス信号、データ信号および制御信号を外部に出力しない構成となっている。また、バス216の信号線がCPU202に内蔵されているので、アクセス制御装置230をバス216の信号線に直結することも改造を要し難しい。したがって、そのままの構成では、アクセス制御装置230は、CPUコア203が実行する命令に関する情報を取得することができない。そこで、本実施の形態では、CPUコア203が実行する命令に関する情報として、CPUコア203が実行する命令コード列、およびそのROM204におけるアドレス(以下、単にアドレスという。)を、I/F212を介して出力する処理をCPUコア203に実行させる。この出力処理は、例えば、ROM204の制御プログラムの一処理として組み込んでおくことができる。これにより、アクセス制御装置230は、CPUコア203が実行する命令コード列およびそのアドレスをI/F212から入力することができる。ここで、命令コード列のアドレスとは、命令コード列のうち先頭の命令コードのアドレスをいう。   An access control device 230 is connected to the I / F 212. Due to its hardware structure, the CPU 202 does not output address signals, data signals, and control signals transmitted / received via the bus 216 to the outside. Further, since the signal line of the bus 216 is built in the CPU 202, it is difficult to directly connect the access control device 230 to the signal line of the bus 216 because it requires modification. Therefore, in the configuration as it is, the access control device 230 cannot acquire information related to an instruction executed by the CPU core 203. Therefore, in the present embodiment, as information relating to instructions executed by the CPU core 203, an instruction code string executed by the CPU core 203 and an address (hereinafter simply referred to as an address) in the ROM 204 are transmitted via the I / F 212. The CPU core 203 is caused to execute the output process. This output process can be incorporated as one process of the control program in the ROM 204, for example. Thereby, the access control device 230 can input the instruction code string executed by the CPU core 203 and its address from the I / F 212. Here, the address of the instruction code string refers to the address of the first instruction code in the instruction code string.

なお、演出制御部300は、CPU302、ROM304、RAM306、VRAM308およびI/F310のほか、遊技の演出制御に必要な複数のデバイスからなる演出関連デバイス群314を有して構成されている。同様に、賞球制御部400は、CPU402、ROM404、RAM406およびI/F410のほか、遊技球の払出制御に必要な複数のデバイスからなる賞球関連デバイス群414を有して構成されている。   In addition to the CPU 302, ROM 304, RAM 306, VRAM 308, and I / F 310, the effect control unit 300 includes an effect-related device group 314 including a plurality of devices necessary for game effect control. Similarly, the prize ball control unit 400 includes a prize ball related device group 414 including a plurality of devices required for game ball payout control, in addition to the CPU 402, the ROM 404, the RAM 406, and the I / F 410.

〔制御コマンドのデータ構造〕
次に、制御コマンドのデータ構造を説明する。
[Data structure of control command]
Next, the data structure of the control command will be described.

図4は、通常の制御コマンドおよび命令コード列付制御コマンドのデータ構造を示す図である。   FIG. 4 is a diagram illustrating the data structure of a normal control command and a control command with an instruction code string.

通常の制御コマンドは、電源オンコマンド以外の制御コマンドであって、図4に示すように、制御コマンド500のみからなる。これに対し、命令コード列付制御コマンドは、電源オンコマンドである制御コマンド500に、CPUコア203が実行する命令コード列502およびそのアドレス504を付加してなる。   The normal control command is a control command other than the power-on command, and includes only the control command 500 as shown in FIG. On the other hand, the control command with instruction code string is formed by adding an instruction code string 502 executed by the CPU core 203 and its address 504 to the control command 500 which is a power-on command.

図5は、制御コマンド500のデータ構造を示す図である。   FIG. 5 is a diagram illustrating the data structure of the control command 500.

制御コマンド500は、図5に示すように、制御コマンド500を識別するための識別子であるモード(MODE)と、制御コマンド500の具体的な実行内容を示すデータであるイベント(EVENT)とからなる。モードには、1バイト長のモード識別番号が、イベントには、1バイト長のイベント番号がそれぞれ設定される。   As shown in FIG. 5, the control command 500 includes a mode (MODE) that is an identifier for identifying the control command 500 and an event (EVENT) that is data indicating the specific execution contents of the control command 500. . A mode identification number of 1 byte length is set for the mode, and an event number of 1 byte length is set for the event.

図6は、主制御部200から送信される制御コマンドの内容を示す図である。   FIG. 6 is a diagram illustrating the contents of the control command transmitted from the main control unit 200.

制御コマンドには、図6に示すように、電源オンコマンド、電源オフコマンド、客待ちデモコマンド、客待ちデモ停止コマンド、変動パターンコマンド、大当たり開始コマンド、大当たり終了コマンドおよび大当たりコマンドがある。   As shown in FIG. 6, the control commands include a power-on command, a power-off command, a customer waiting demo command, a customer waiting demo stop command, a variation pattern command, a jackpot start command, a jackpot end command, and a jackpot command.

電源オンコマンドは、電源の投入を指定するための制御コマンドであって、電源投入時に演出制御部300および賞球制御部400に送信される。電源オンコマンドには、CPUコア203が実行する命令コード列およびそのアドレスが付加される。   The power-on command is a control command for designating power-on, and is transmitted to the effect control unit 300 and the prize ball control unit 400 when the power is turned on. An instruction code sequence executed by the CPU core 203 and its address are added to the power-on command.

電源オフコマンドは、電源の遮断を指定するための制御コマンドであって、電源遮断時に演出制御部300および賞球制御部400に送信される。   The power-off command is a control command for designating power-off, and is transmitted to the effect control unit 300 and the prize ball control unit 400 when the power is turned off.

客待ちデモコマンドは、遊技客を誘致するためのデモンストレーション演出(以下、客待ちデモという。)の開始を指定するための制御コマンドであって、遊技中断時に演出制御部300に送信される。   The customer waiting demo command is a control command for designating the start of a demonstration effect (hereinafter referred to as a customer waiting demo) for attracting a player, and is transmitted to the effect control unit 300 when the game is interrupted.

客待ちデモ停止コマンドは、客待ちデモの終了を指定するための制御コマンドであって、遊技再開時に演出制御部300に送信される。   The customer waiting demo stop command is a control command for designating the end of the customer waiting demo, and is transmitted to the effect control unit 300 when the game is resumed.

変動パターンコマンドは、演出図柄の変動パターンを指定するための制御コマンドであって、演出図柄の変動開始時に演出制御部300に送信される。変動パターンコマンドには、はずれ非リーチコマンド、はずれリーチコマンドおよび大当たりリーチコマンドがある。   The variation pattern command is a control command for designating the variation pattern of the effect symbol, and is transmitted to the effect control unit 300 when the variation of the effect symbol is started. The variation pattern commands include an outlier non-reach command, an outlier reach command, and a jackpot reach command.

はずれ非リーチコマンドは、大当たり抽選で「はずれ」(以下、単に「はずれ」という。)となったときに選択される変動パターンのうちリーチ演出を行わない変動パターンを指定するための制御コマンドである。   The non-reach non-reach command is a control command for designating a change pattern that does not perform reach among the change patterns that are selected when the big hit lottery results in “out” (hereinafter, simply referred to as “out”). .

はずれリーチコマンドは、はずれ時に選択される変動パターンのうちリーチ演出を行う変動パターンを指定するための制御コマンドである。演出制御部300では、はずれリーチコマンドまたははずれ非リーチコマンドに基づいてはずれであることを判定することができる。   The detachment reach command is a control command for designating a variation pattern for performing a reach effect among the variation patterns selected at the time of detachment. The effect control unit 300 can determine that there is a loss based on a loss reach command or a loss non-reach command.

大当たりリーチコマンドは、大当たり時に選択される変動パターンのうちリーチ演出を行う変動パターンを指定するための制御コマンドである。演出制御部300では、大当たりリーチコマンドに基づいて大当たりであることを判定することができる。   The jackpot reach command is a control command for designating a variation pattern for performing a reach effect among the variation patterns selected at the time of the jackpot. The effect control unit 300 can determine that the jackpot is based on the jackpot reach command.

大当たり開始コマンドは、大当たり演出の開始を指定するための制御コマンドであって、大当たり演出の開始時に演出制御部300に送信される。   The jackpot start command is a control command for designating the start of the jackpot effect, and is transmitted to the effect control unit 300 at the start of the jackpot effect.

大当たり終了コマンドは、大当たり演出の終了を指定するための制御コマンドであって、大当たり演出の終了時(最終ラウンドの終了時)に演出制御部300に送信される。   The jackpot end command is a control command for designating the end of the jackpot effect, and is transmitted to the effect control unit 300 at the end of the jackpot effect (at the end of the final round).

大当たりコマンドは、大当たりを指定するための制御コマンドであって、これには、ラウンド開始コマンドおよびラウンド終了コマンドがある。   The jackpot command is a control command for designating a jackpot, and includes a round start command and a round end command.

ラウンド開始コマンドは、ラウンドの開始を指定するための制御コマンドであって、ラウンドの開始時に演出制御部300に送信される。ラウンド開始コマンドは、各ラウンドごとに設定されている。例えば、最大ラウンド数が15回である場合は、15種類のラウンド開始コマンドが設定される。したがって、ラウンドが2回以上継続する場合は、大当たり中にラウンド開始コマンドが複数回にわたって送信されることになる。   The round start command is a control command for designating the start of a round, and is transmitted to the effect control unit 300 at the start of the round. The round start command is set for each round. For example, when the maximum number of rounds is 15, 15 types of round start commands are set. Accordingly, when the round continues twice or more, the round start command is transmitted a plurality of times during the jackpot.

ラウンド終了コマンドは、ラウンドの終了を指定するための制御コマンドであって、最終ラウンドを除くラウンドの終了時に演出制御部300に送信される。ラウンド終了コマンドは、最終ラウンドを除く各ラウンドごとに設定されている。例えば、最大ラウンド数が15回である場合は、14種類のラウンド終了コマンドが設定される。したがって、ラウンドが3回以上継続する場合は、大当たり中にラウンド終了コマンドが複数回にわたって送信されることになる。   The round end command is a control command for designating the end of the round, and is transmitted to the effect control unit 300 at the end of the round excluding the final round. The round end command is set for each round except the final round. For example, when the maximum number of rounds is 15, 14 types of round end commands are set. Therefore, when the round continues three or more times, the round end command is transmitted a plurality of times during the jackpot.

なお、これら制御コマンドは、あくまで代表的なものであり、その他にも各種の制御コマンドが規定されている。   These control commands are merely representative, and various other control commands are defined.

〔CPUコアおよびアクセス制御装置の構成〕
次に、CPUコア203およびアクセス制御装置230の構成を説明する。
[Configuration of CPU core and access control device]
Next, the configuration of the CPU core 203 and the access control device 230 will be described.

図7は、CPUコア203およびアクセス制御装置230の構成を示すブロック図である。なお、図7では、説明の便宜上、構成の一部を省略している。   FIG. 7 is a block diagram showing the configuration of the CPU core 203 and the access control device 230. In FIG. 7, a part of the configuration is omitted for convenience of explanation.

CPUコア203は、図7に示すように、ROM204に記憶された命令コード列を読み出し(フェッチ)、読み出した命令コード列に従ってデータ処理を行う。CPUコア203は、制御部203a、演算部203bおよびレジスタ203cを有して構成されている。   As shown in FIG. 7, the CPU core 203 reads (fetches) the instruction code sequence stored in the ROM 204 and performs data processing according to the read instruction code sequence. The CPU core 203 includes a control unit 203a, a calculation unit 203b, and a register 203c.

制御部203aは、CPU202全体の動作を制御し、命令コード列その他データの読出および書込を行うためにバス216に制御信号を出力する。   The control unit 203a controls the overall operation of the CPU 202 and outputs a control signal to the bus 216 in order to read and write instruction code strings and other data.

演算部203bは、レジスタ203cに保持されたデータに対して演算を行う。   The operation unit 203b performs an operation on the data held in the register 203c.

レジスタ203cは、ROM204から読み出した命令コード列およびそのアドレス、並びに演算部203bで処理したデータを保持する。   The register 203c holds the instruction code string read from the ROM 204, its address, and the data processed by the arithmetic unit 203b.

アクセス制御装置230は、入力部231、演算部232、レジスタ234、236およびアクセス制御部238を有して構成されている。   The access control device 230 includes an input unit 231, a calculation unit 232, registers 234 and 236, and an access control unit 238.

入力部231は、ラッチ回路等からなり、電源オンコマンドに付加されている、CPUコア203が実行する命令コード列およびそのアドレスをI/F212から入力する。   The input unit 231 includes a latch circuit or the like, and inputs an instruction code string executed by the CPU core 203 and its address added to the power-on command from the I / F 212.

演算部232は、認証に必要な認証情報を生成する。   The computing unit 232 generates authentication information necessary for authentication.

レジスタ234は、演算部232で生成した認証情報を保持する。レジスタ234へのアクセスは、アクセス制御部238により制御される。   The register 234 holds the authentication information generated by the calculation unit 232. Access to the register 234 is controlled by the access control unit 238.

レジスタ236は、CPUコア203で処理したデータを保持する。レジスタ236へのアクセスは、アクセス制御部238により制御される。   The register 236 holds data processed by the CPU core 203. Access to the register 236 is controlled by the access control unit 238.

アクセス制御部238は、レジスタ234、236に対するリード要求を入力したときは、そのリード要求に係るリード命令およびそのアドレスを入力部231から入力し、入力したリード命令およびアドレスに基づいてアクセス許可条件が成立すると判定したときは、レジスタ234、236からのデータの読出を許可する。これに対し、アクセス許可条件が成立しないと判定したときは、レジスタ234、236からのデータの読出を禁止する。具体的には、入力部231で入力した命令コード列が、あらかじめ許可されたコード列(以下、許可命令コード列という。)であり、かつ、その命令コード列のアドレスが、あらかじめ許可されたアドレス(以下、許可アドレスという。)であるときにのみ、レジスタ234、236からデータを読み出すことができる。   When the access control unit 238 inputs a read request to the registers 234 and 236, the access control unit 238 inputs a read command and its address related to the read request from the input unit 231, and the access permission condition is set based on the input read command and address. When it is determined that it is established, reading of data from the registers 234 and 236 is permitted. On the other hand, when it is determined that the access permission condition is not satisfied, reading of data from the registers 234 and 236 is prohibited. Specifically, the instruction code string input by the input unit 231 is a code string permitted in advance (hereinafter referred to as a permitted instruction code string), and the address of the instruction code string is an address permitted in advance. The data can be read from the registers 234 and 236 only when it is (hereinafter referred to as a permitted address).

アクセス制御部238は、レジスタ236に対するライト要求を入力したときは、そのライト要求に係るライト命令およびそのアドレスを入力部231から入力し、入力したライト命令およびアドレスに基づいてアクセス許可条件が成立すると判定したときは、レジスタ236へのデータの書込を許可する。これに対し、アクセス許可条件が成立しないと判定したときは、レジスタ236へのデータの書込を禁止する。具体的には、入力部231で入力した命令コード列が許可命令コード列であり、かつ、その命令コード列のアドレスが許可アドレスであるときにのみ、レジスタ236にデータを書き込むことができる。   When the access control unit 238 inputs a write request to the register 236, the access control unit 238 inputs a write command and its address related to the write request from the input unit 231, and the access permission condition is satisfied based on the input write command and address. When the determination is made, writing of data to the register 236 is permitted. On the other hand, when it is determined that the access permission condition is not satisfied, data writing to the register 236 is prohibited. Specifically, data can be written into the register 236 only when the instruction code string input from the input unit 231 is a permitted instruction code string and the address of the instruction code string is a permitted address.

〔アクセス制御処理〕
次に、アクセス制御部238で実行されるアクセス制御処理を説明する。
[Access control processing]
Next, an access control process executed by the access control unit 238 will be described.

図8は、アクセス制御処理を示すフローチャートである。   FIG. 8 is a flowchart showing the access control process.

アクセス制御部238は、アクセス制御処理を実行すると、図8に示すように、まず、ステップS100に移行する。   When executing the access control process, the access control unit 238 first proceeds to step S100 as shown in FIG.

ステップS100では、レジスタ234、236に対するリード要求をI/F212から入力したか否かを判定し、リード要求を入力したと判定したとき(Yes)は、ステップS102に移行する。   In step S100, it is determined whether or not a read request for the registers 234 and 236 is input from the I / F 212. When it is determined that a read request is input (Yes), the process proceeds to step S102.

ステップS102では、電源オンコマンドをI/F212から入力したか否かを判定し、電源オンコマンドを入力したと判定したとき(Yes)は、ステップS104に移行するが、そうでないと判定したとき(No)は、電源オンコマンドを入力するまでステップS102で待機する。   In step S102, it is determined whether or not a power-on command is input from the I / F 212. When it is determined that a power-on command is input (Yes), the process proceeds to step S104, but when it is determined that it is not ( No) waits in step S102 until a power-on command is input.

ステップS104では、CPUコア203が実行する命令コード列およびそのアドレスを入力部231から入力し、ステップS106に移行する。   In step S104, the instruction code string executed by the CPU core 203 and its address are input from the input unit 231 and the process proceeds to step S106.

ステップS106では、入力した命令コード列が許可命令コード列であるか否かを判定し、許可命令コード列であると判定したとき(Yes)は、ステップS108に移行して、入力したアドレスが許可アドレスであるか否かを判定し、許可アドレスであると判定したとき(Yes)は、ステップS110に移行する。   In step S106, it is determined whether or not the input instruction code string is a permitted instruction code string. When it is determined that the input instruction code string is a permitted instruction code string (Yes), the process proceeds to step S108, and the input address is permitted. It is determined whether the address is an address, and when it is determined that the address is a permitted address (Yes), the process proceeds to step S110.

ステップS110では、レジスタ234、236が保持しているデータを読み出し、ステップS112に移行して、読み出したデータをI/F212に出力する。出力されたデータは、I/F212を介してCPUコア203のレジスタ203cに保持される。   In step S110, the data held in the registers 234 and 236 are read, the process proceeds to step S112, and the read data is output to the I / F 212. The output data is held in the register 203c of the CPU core 203 via the I / F 212.

次いで、ステップS114に移行して、レジスタ236に対するライト要求をI/F212から入力したか否かを判定し、ライト要求を入力したと判定したとき(Yes)は、ステップS116に移行する。   Next, the process proceeds to step S114, where it is determined whether a write request for the register 236 is input from the I / F 212. When it is determined that a write request is input (Yes), the process proceeds to step S116.

ステップS116では、電源オンコマンドをI/F212から入力したか否かを判定し、電源オンコマンドを入力したと判定したとき(Yes)は、ステップS118に移行するが、そうでないと判定したとき(No)は、電源オンコマンドを入力するまでステップS116で待機する。   In step S116, it is determined whether a power-on command is input from the I / F 212. When it is determined that the power-on command is input (Yes), the process proceeds to step S118, but when it is determined that it is not ( No) waits in step S116 until a power-on command is input.

ステップS118では、CPUコア203が実行する命令コード列およびそのアドレスを入力部231から入力し、ステップS120に移行する。   In step S118, the instruction code string executed by the CPU core 203 and its address are input from the input unit 231 and the process proceeds to step S120.

ステップS120では、入力した命令コード列が許可命令コード列であるか否かを判定し、許可命令コード列であると判定したとき(Yes)は、ステップS122に移行して、入力したアドレスが許可アドレスであるか否かを判定し、許可アドレスであると判定したとき(Yes)は、ステップS124に移行する。   In step S120, it is determined whether or not the input instruction code string is a permitted instruction code string. When it is determined that the input instruction code string is a permitted instruction code string (Yes), the process proceeds to step S122, and the input address is permitted. It is determined whether or not it is an address, and when it is determined that the address is a permitted address (Yes), the process proceeds to step S124.

ステップS124では、CPUコア203のレジスタ203cが保持しているデータをI/F212から入力し、ステップS126に移行して、入力したデータをレジスタ236に書き込み、アクセス制御処理を終了する。   In step S124, the data held in the register 203c of the CPU core 203 is input from the I / F 212, the process proceeds to step S126, the input data is written in the register 236, and the access control process ends.

一方、ステップS122で、許可アドレスでないと判定したとき(No)、ステップS120で、許可命令コード列でないと判定したとき(No)、およびステップS114で、ライト要求を入力しないと判定したとき(No)はいずれも、レジスタ236にデータを書き込まずに、アクセス制御処理を終了する。このとき、CPUコア203は、アクセス制御装置230からの通知を受け、不正が行われている可能性がある旨の通知(以下、不正通知という。)を行ってもよい。不正通知は、例えば、所定のメッセージ、マークまたは画像を図柄表示部104に表示したり、所定のメッセージ音や効果音をスピーカ380から出力したり、I/F210を介してCPU202の製造元、管理者または他の機器にエラーメッセージを送信したり、I/F210を介して上記表示や音声出力を他の機器に行わせるための制御信号を送信したりすることにより行うことができる。これにより、主制御部200に不正が行われた可能性があることをユーザ等に認識させ、調査や修理等の措置を講じさせることができる。   On the other hand, when it is determined at step S122 that the address is not a permitted address (No), when it is determined at step S120 that it is not a permitted instruction code string (No), and when it is determined at step S114 that a write request is not input (No). ) Terminates the access control process without writing data to the register 236. At this time, the CPU core 203 may receive a notification from the access control device 230 and may notify that there is a possibility of fraud (hereinafter referred to as fraud notification). For example, the fraud notification may be performed by displaying a predetermined message, mark, or image on the symbol display unit 104, outputting a predetermined message sound or sound effect from the speaker 380, or the manufacturer or administrator of the CPU 202 via the I / F 210. Alternatively, an error message can be transmitted to another device, or a control signal for causing the other device to perform the display or audio output can be transmitted via the I / F 210. As a result, the main control unit 200 can make the user or the like recognize that there is a possibility of fraud, and can take measures such as investigation and repair.

一方、ステップS108で、許可アドレスでないと判定したとき(No)、ステップS106で、許可命令コード列でないと判定したとき(No)、およびステップS100で、リード要求を入力しないと判定したとき(No)はいずれも、レジスタ234、236が保持しているデータをI/F212に出力せずに、ステップS114に移行する。このとき、CPUコア203のレジスタ203cには、アクセス制御装置230からの出力がないので、「0000」や「1111」等の非正当値が保持される。非正当値を所定値にしておき、その値がレジスタ203cに保持された場合、CPUコア203は、不正通知を行ってもよい。ここで、所定値とは、例えば、複数種類の固定値群や、あらかじめ変動規則を定めておいた変動値である。   On the other hand, when it is determined at step S108 that the address is not a permitted address (No), when it is determined at step S106 that it is not a permitted instruction code string (No), and when it is determined at step S100 that a read request is not input (No). In both cases, the data held in the registers 234 and 236 is not output to the I / F 212, and the process proceeds to step S114. At this time, since there is no output from the access control device 230, the register 203c of the CPU core 203 holds an invalid value such as “0000” or “1111”. If the non-legitimate value is set to a predetermined value and the value is held in the register 203c, the CPU core 203 may make an unauthorized notification. Here, the predetermined value is, for example, a plurality of types of fixed value groups or a variation value for which a variation rule has been defined in advance.

〔ROMのメモリ構造〕
次に、ROM204のメモリ構造を説明する。
[ROM memory structure]
Next, the memory structure of the ROM 204 will be described.

図9は、ROM204のメモリ構造を模式的に示した図である。   FIG. 9 is a diagram schematically showing the memory structure of the ROM 204.

ROM204は、図9に示すように、CPUコア203が実行する命令コード列を記憶する。   As shown in FIG. 9, the ROM 204 stores an instruction code string executed by the CPU core 203.

ROM204の記憶領域204aには、所定領域ごと(例えば、1バイトごと)にアドレスが割り当てられている。図9の例では、記憶領域204aに対してアドレス「0x000」〜「0xNNN」が割り当てられており、各アドレスは1バイト分の領域を示している。例えば、アドレス「0x100」〜「0x103」には、命令コード列「0xABCDEFGH」(リード命令)が格納されている。また、アドレス「0x104」〜「0x107」には、命令コード列「0xJKLMNOPQ」(ライト命令)が格納されている。   An address is assigned to the storage area 204a of the ROM 204 for each predetermined area (for example, for each byte). In the example of FIG. 9, addresses “0x000” to “0xNNN” are assigned to the storage area 204a, and each address indicates an area of 1 byte. For example, an instruction code string “0xABCDEFGH” (read instruction) is stored at addresses “0x100” to “0x103”. In addition, an instruction code string “0xJKLMNOPQ” (write instruction) is stored at addresses “0x104” to “0x107”.

〔遊技制御処理〕
次に、CPUコア203で実行される遊技制御処理を説明する。
[Game control processing]
Next, game control processing executed by the CPU core 203 will be described.

CPUコア203は、所定の動作クロック(例えば、4[ms])で1サイクルを実行可能な制御プログラムをROM204から読み出し、読み出した制御プログラムに従って、図10のフローチャートに示す遊技制御処理を実行する。   The CPU core 203 reads a control program capable of executing one cycle at a predetermined operation clock (for example, 4 [ms]) from the ROM 204, and executes the game control process shown in the flowchart of FIG. 10 according to the read control program.

図10は、遊技制御処理を示すフローチャートである。   FIG. 10 is a flowchart showing the game control process.

遊技制御処理は、CPUコア203において実行されると、図10に示すように、まず、ステップS200に移行する。   When the game control process is executed in the CPU core 203, first, the process proceeds to step S200 as shown in FIG.

ステップS200では、電源がオンになったか否かを判定し、電源がオンになったと判定したとき(Yes)は、ステップS202に移行するが、そうでないと判定したとき(No)は、電源がオンになるまでステップS200で待機する。   In step S200, it is determined whether or not the power is turned on. When it is determined that the power is turned on (Yes), the process proceeds to step S202. When it is determined that the power is not turned on (No), the power is turned on. It waits at step S200 until it turns on.

ステップS202では、初期化処理を実行し、ステップS204に移行して、始動入賞口105に遊技球が入賞したことを判定する入賞判定処理を実行し、ステップS206に移行する。   In step S202, an initialization process is executed, the process proceeds to step S204, a winning determination process is performed to determine that a game ball has won the start winning opening 105, and the process proceeds to step S206.

ステップS206では、大当たりの判定を行うとともに演出図柄の変動パターンを決定する大当たり判定処理を実行し、ステップS208に移行して、大入賞口109の開閉部材を所定パターンで開放させる電動役物制御処理を実行し、ステップS210に移行する。   In step S206, the jackpot determination process for determining the jackpot and determining the variation pattern of the effect symbol is executed, and the process proceeds to step S208 to open the opening / closing member of the big winning opening 109 in a predetermined pattern. And the process proceeds to step S210.

ステップS210では、賞球制御部400に対して遊技球の払出を指定するための制御コマンド(払出制御コマンド)をRAM206の送信バッファに格納する賞球払出制御処理を実行し、ステップS212に移行して、I/F210を介して、送信バッファに格納された制御コマンドを演出制御部300または賞球制御部400に送信する制御コマンド送信処理を実行し、ステップS214に移行する。   In step S210, a prize ball payout control process is executed in which a control command (payout control command) for designating game ball payout to the prize ball control unit 400 is stored in the transmission buffer of the RAM 206, and the process proceeds to step S212. Then, a control command transmission process for transmitting the control command stored in the transmission buffer to the effect control unit 300 or the prize ball control unit 400 via the I / F 210 is executed, and the process proceeds to step S214.

ステップS214では、電源がオフになったか否かを判定し、電源がオフになったと判定したとき(Yes)は、ステップS216に移行して、I/F210を介して、演出制御部300および賞球制御部400に電源オフコマンドを送信する終了処理を実行し、遊技制御処理を終了する。   In step S214, it is determined whether or not the power has been turned off. If it is determined that the power has been turned off (Yes), the process proceeds to step S216 and the effect control unit 300 and the award are received via the I / F 210. A termination process for transmitting a power-off command to the ball control unit 400 is executed, and the game control process is terminated.

一方、ステップS214で、電源がオフになっていないと判定したとき(No)は、ステップS204に移行する。   On the other hand, when it is determined in step S214 that the power is not turned off (No), the process proceeds to step S204.

なお、乱数カウンタは、上記動作クロックの1周期(例えば、4[ms])のうち各処理を実行した残余時間を利用して更新される。またその他、遊技制御処理と並列に実行される乱数更新処理で更新することもできる。乱数カウンタは、例えば、「0」から順に「1」ずつカウントアップを行っていき、カウント値が最大値(例えば、「999」)を超えたときに「0」に戻すことにより、所定の数値範囲(例えば、「0」〜「999」)で循環的にカウントを行う。   Note that the random number counter is updated using the remaining time during which each process is executed in one cycle (for example, 4 [ms]) of the operation clock. In addition, it can be updated by a random number update process executed in parallel with the game control process. For example, the random number counter counts up by “1” sequentially from “0”, and returns to “0” when the count value exceeds the maximum value (for example, “999”). Counting is performed cyclically in a range (for example, “0” to “999”).

〔初期化処理〕
次に、ステップS202の初期化処理を説明する。
[Initialization process]
Next, the initialization process in step S202 will be described.

図11は、初期化処理を示すフローチャートである。   FIG. 11 is a flowchart showing the initialization process.

初期化処理は、ステップS202において実行されると、図11に示すように、まず、ステップS300に移行して、RAM206の内容を初期化し、ステップS304に移行する。   When the initialization process is executed in step S202, as shown in FIG. 11, first, the process proceeds to step S300, the contents of the RAM 206 are initialized, and the process proceeds to step S304.

ステップS304では、CPU202に接続された機器(以下、接続機器という。)の認証を行う接続機器認証処理を実行し、一連の処理を終了して元の処理に復帰させる。   In step S304, a connected device authentication process for authenticating a device connected to the CPU 202 (hereinafter referred to as a connected device) is executed, a series of processes are terminated, and the original process is restored.

〔接続機器認証処理〕
次に、ステップS304の接続機器認証処理を説明する。
[Device / PLC authentication processing]
Next, the connected device authentication process in step S304 will be described.

CPU202には、各種の機器の接続が可能であるが、ユーザやメーカが承認していない機器が不正に接続され、CPU202の誤動作を発生させたり、ROM204のデータが改ざんされたり、盗まれたりする恐れがある。これを防止するため、CPU202は、接続機器の認証を行う。なお、接続機器認証処理の実行にはアクセス制御装置230も密接に関係するため、ここでは、接続機器認証処理の実行に伴うCPUコア203およびアクセス制御装置230の動作を説明する。   Various devices can be connected to the CPU 202, but devices that are not approved by the user or manufacturer are illegally connected, causing the CPU 202 to malfunction, or the data in the ROM 204 to be altered or stolen. There is a fear. In order to prevent this, the CPU 202 authenticates the connected device. Since the access control device 230 is also closely related to the execution of the connected device authentication process, the operations of the CPU core 203 and the access control device 230 accompanying the execution of the connected device authentication process will be described here.

図12は、接続機器認証処理の実行に伴うCPUコア203およびアクセス制御装置230の動作を示すフローチャートである。   FIG. 12 is a flowchart showing the operations of the CPU core 203 and the access control device 230 when the connected device authentication process is executed.

CPUコア203は、図12に示すように、まず、ステップS400を経て、RAM206のフラグに基づいてステップS414の処理まで終了しているか否かを判定する。その結果、ステップS414の処理まで終了していないと判定したとき(No)は、ステップS402、S404を経て、接続機器から認証用データを取得し、I/F212を介して、取得した認証用データを用いて検証値Vの生成要求を出力する。検証値Vは、接続機器を認証するために用いる値である。なお、ステップS402で取得した認証用データをそのまま検証値Vとしてもよい。   As shown in FIG. 12, the CPU core 203 first determines whether or not the processing up to step S414 has been completed based on the flag of the RAM 206 through step S400. As a result, when it is determined that the processing up to step S414 has not been completed (No), authentication data is acquired from the connected device through steps S402 and S404, and the acquired authentication data is obtained via the I / F 212. Is used to output a verification value V generation request. The verification value V is a value used for authenticating the connected device. Note that the authentication data acquired in step S402 may be used as the verification value V as it is.

アクセス制御装置230は、検証値Vの生成要求を入力すると、ステップS406を経て、演算部232で検証値Vを生成し、レジスタ234に保持する。   Upon receiving the verification value V generation request, the access control device 230 generates the verification value V by the arithmetic unit 232 through step S406 and stores the verification value V in the register 234.

次いで、CPUコア203は、ステップS408を経て、アクセス制御装置230のレジスタ234から検証値Vを読み出すリード命令をROM204から読み出し、読み出したリード命令を実行することにより、I/F212を介してレジスタ234に対するリード要求を出力する。また、ステップS410を経て、読み出したリード命令およびそのアドレスを電源オンコマンドに付加して、I/F212を介して出力するとともにI/F210を介して演出制御部300に送信する。   Next, the CPU core 203 reads a read command for reading the verification value V from the register 234 of the access control device 230 from the ROM 204 through step S408, and executes the read command to read the register 234 via the I / F 212. A read request for is output. In addition, through step S410, the read command read and its address are added to the power-on command, output via the I / F 212, and transmitted to the effect control unit 300 via the I / F 210.

アクセス制御装置230は、リード要求を入力すると、ステップS412を経て、電源オンコマンドを入力し、電源オンコマンドに付加されているリード命令およびそのアドレスを入力する。そして、許可命令コード列および許可アドレスであれば、レジスタ234が保持している検証値Vを読み出し、読み出した検証値VをI/F212に出力する。   When the read request is input, the access control device 230 inputs a power-on command through step S412 and inputs a read command and its address added to the power-on command. If it is a permitted instruction code string and a permitted address, the verification value V held in the register 234 is read, and the read verification value V is output to the I / F 212.

CPUコア203は、検証値Vを入力すると、ステップS414を経て、入力した検証値Vをレジスタ203cに保持し、ステップS414の処理まで終了したことを示すフラグをRAM206に格納し、一連の処理を終了して元の処理に復帰させる。   When the verification value V is input, the CPU core 203 holds the input verification value V in the register 203c through step S414, stores a flag indicating that the processing up to step S414 is completed in the RAM 206, and performs a series of processing. End and return to the original process.

一方、CPUコア203は、ステップS400で、ステップS414の処理まで終了していると判定したとき(Yes)は、ステップS416を経て、RAM206のフラグに基づいてステップS422の処理まで終了しているか否かを判定する。その結果、ステップS422の処理まで終了していないと判定したとき(No)は、ステップS418を経て、アクセス制御装置230のレジスタ236に検証値Vを書き込むライト命令をROM204から読み出し、読み出したライト命令を実行することにより、I/F212を介してレジスタ236に対するライト要求を出力する。また、ステップS420を経て、読み出したライト命令およびそのアドレスを電源オンコマンドに付加して、I/F212を介して出力するとともにI/F210を介して演出制御部300に送信する。さらに、ステップS422を経て、I/F212を介して、ステップS414でレジスタ203cに保持した検証値Vを出力する。そして、ステップS422の処理まで終了したことを示すフラグをRAM206に格納し、一連の処理を終了して元の処理に復帰させる。   On the other hand, when the CPU core 203 determines in step S400 that the processing up to step S414 has been completed (Yes), whether or not the processing through step S416 is completed up to the processing of step S422 based on the flag of the RAM 206. Determine whether. As a result, when it is determined that the processing up to step S422 has not been completed (No), a write command for writing the verification value V to the register 236 of the access control device 230 is read from the ROM 204 through step S418, and the read write command is read. As a result, a write request to the register 236 is output via the I / F 212. In addition, through step S420, the read write command and its address are added to the power-on command, and are output via the I / F 212 and transmitted to the effect control unit 300 via the I / F 210. Further, through step S422, the verification value V held in the register 203c in step S414 is output via the I / F 212. Then, a flag indicating that the processing up to step S422 has been completed is stored in the RAM 206, the series of processing is terminated, and the original processing is restored.

アクセス制御装置230は、ライト要求を入力すると、ステップS424を経て、電源オンコマンドを入力し、電源オンコマンドに付加されているライト命令およびそのアドレスを入力する。そして、許可命令コード列および許可アドレスであれば、検証値Vを入力し、入力した検証値Vをレジスタ236に書き込む。   When the write request is input, the access control device 230 inputs a power-on command through step S424, and inputs a write command added to the power-on command and its address. If it is a permitted instruction code string and a permitted address, the verification value V is input, and the input verification value V is written in the register 236.

一方、CPUコア203は、ステップS416で、ステップS422の処理まで終了していると判定したとき(Yes)は、ステップS426を経て、RAM206のフラグに基づいてステップS434の処理まで終了しているか否かを判定する。その結果、ステップS434の処理まで終了していないと判定したとき(No)は、ステップS428を経て、I/F212を介して期待値Pの生成要求を出力する。期待値Pは、検証値Vを照合するために用いる値である。   On the other hand, when the CPU core 203 determines in step S416 that the processing up to step S422 has been completed (Yes), whether or not the processing through step S426 is completed up to the processing of step S434 based on the flag of the RAM 206. Determine whether. As a result, when it is determined that the processing up to step S434 has not been completed (No), a request for generating the expected value P is output via the I / F 212 through step S428. The expected value P is a value used for verifying the verification value V.

アクセス制御装置230は、期待値Pの生成要求を入力すると、ステップS430を経て、演算部232で期待値Pを生成し、レジスタ234に保持する。   When the access control device 230 receives a generation request for the expected value P, the operation unit 232 generates the expected value P and stores it in the register 234 through step S430.

次いで、CPUコア203は、ステップS432を経て、アクセス制御装置230のレジスタ234から期待値Pを読み出すリード命令をROM204から読み出し、読み出したリード命令を実行することにより、I/F212を介してレジスタ234に対するリード要求を出力する。また、ステップS434を経て、読み出したリード命令およびそのアドレスを電源オンコマンドに付加して、I/F212を介して出力するとともにI/F210を介して演出制御部300に送信する。そして、ステップS434の処理まで終了したことを示すフラグをRAM206に格納し、一連の処理を終了して元の処理に復帰させる。   Next, the CPU core 203 reads the read command for reading the expected value P from the register 234 of the access control device 230 from the ROM 204 through step S432, and executes the read command to read the register 234 via the I / F 212. A read request for is output. In addition, through step S434, the read instruction and the read address are added to the power-on command, output via the I / F 212, and transmitted to the effect control unit 300 via the I / F 210. Then, a flag indicating that the processing up to step S434 has been completed is stored in the RAM 206, a series of processing is terminated, and the original processing is restored.

アクセス制御装置230は、リード要求を入力すると、ステップS436を経て、電源オンコマンドを入力し、電源オンコマンドに付加されているリード命令およびそのアドレスを入力する。そして、許可命令コード列および許可アドレスであれば、レジスタ234が保持している期待値Pを読み出し、読み出した期待値PをI/F212に出力する。   When a read request is input, the access control device 230 inputs a power-on command through step S436, and inputs a read command and its address added to the power-on command. If it is a permitted instruction code string and a permitted address, the expected value P held in the register 234 is read, and the read expected value P is output to the I / F 212.

一方、CPUコア203は、ステップS426で、ステップS434の処理まで終了していると判定したとき(Yes)は、ステップS438を経て、RAM206のフラグに基づいてステップS450、S452の処理まで終了しているか否かを判定する。その結果、ステップS450、S452の処理まで終了していないと判定したとき(No)は、ステップS440を経て、アクセス制御装置230のレジスタ236から検証値Vを読み出すリード命令をROM204から読み出し、読み出したリード命令を実行することにより、I/F212を介してレジスタ236に対するリード要求を出力する。また、ステップS442を経て、読み出したリード命令およびそのアドレスを電源オンコマンドに付加して、I/F212を介して出力するとともにI/F210を介して演出制御部300に送信する。   On the other hand, when the CPU core 203 determines in step S426 that the processing up to step S434 has been completed (Yes), it passes through step S438 and ends up to the processing of steps S450 and S452 based on the flag of the RAM 206. It is determined whether or not. As a result, when it is determined that the processing of steps S450 and S452 has not been completed (No), the read instruction for reading the verification value V from the register 236 of the access control device 230 is read from the ROM 204 and read through step S440. By executing the read command, a read request for the register 236 is output via the I / F 212. Further, through step S442, the read instruction and the address read are added to the power-on command, output via the I / F 212, and transmitted to the effect control unit 300 via the I / F 210.

アクセス制御装置230は、リード要求を入力すると、ステップS444を経て、電源オンコマンドを入力し、電源オンコマンドに付加されているリード命令およびそのアドレスを入力する。そして、許可命令コード列および許可アドレスであれば、レジスタ236が保持している検証値Vを読み出し、読み出した検証値VをI/F212に出力する。   When a read request is input, the access control device 230 inputs a power-on command through step S444, and inputs a read command and its address added to the power-on command. If it is a permitted instruction code string and a permitted address, the verification value V held in the register 236 is read, and the read verification value V is output to the I / F 212.

CPUコア203は、検証値Vおよび期待値Pを入力すると、ステップS446、S448を経て、検証値Vと期待値Pとを照合し、照合結果が正しいか否かを判定する。照合結果が正しいか否かは、例えば、検証値Vが期待値Pと所定関係にあるか否かにより判定する。所定関係とは、例えば、検証値Vが期待値Pと一致していること、検証値Vおよび期待値Pの一方を所定の演算方法により演算した演算値が他方と一致していること、検証値Vおよび期待値Pに大小関係その他の相関関係があることをいう。   When the verification value V and the expected value P are input, the CPU core 203 compares the verification value V with the expected value P through steps S446 and S448, and determines whether the verification result is correct. Whether or not the collation result is correct is determined based on, for example, whether or not the verification value V has a predetermined relationship with the expected value P. The predetermined relationship is, for example, that the verification value V matches the expected value P, that the calculation value obtained by calculating one of the verification value V and the expected value P by a predetermined calculation method matches the other, This means that the value V and the expected value P have a magnitude relationship and other correlations.

照合結果が正しいと判定したとき(Yes)は、CPUコア203は、ステップS450を経て、接続機器を認証し、ステップS450の処理まで終了したことを示すフラグをRAM206に格納し、一連の処理を終了して元の処理に復帰させる。一方、照合結果が正しくないと判定したとき(No)は、CPUコア203は、ステップS452を経て、接続機器を認証せず、ステップS452の処理まで終了したことを示すフラグをRAM206に格納し、一連の処理を終了して元の処理に復帰させる。接続機器を認証しなかった場合、CPUコア203は、不正通知を行ったり接続機器との接続を切断したりする。   When it is determined that the collation result is correct (Yes), the CPU core 203 authenticates the connected device through step S450, stores a flag indicating that the processing up to step S450 is completed in the RAM 206, and performs a series of processing. End and return to the original process. On the other hand, when it is determined that the collation result is not correct (No), the CPU core 203 stores, in the RAM 206, a flag indicating that the connected device has not been authenticated through step S452 and the processing up to step S452 has been completed. A series of processing is terminated and the original processing is restored. When the connected device is not authenticated, the CPU core 203 performs fraud notification or disconnects the connection with the connected device.

一方、CPUコア203は、ステップS438で、ステップS450、S452の処理まで終了していると判定したとき(Yes)は、ステップS454を経て、I/F210を介して電源オンコマンドをそのまま演出制御部300に送信する。   On the other hand, when the CPU core 203 determines in step S438 that the processing up to steps S450 and S452 has been completed (Yes), the power-on command is directly sent via the I / F 210 via step S454. To 300.

〔入賞判定処理〕
次に、ステップS204の入賞判定処理を説明する。
[Winning determination process]
Next, the winning determination process in step S204 will be described.

図13は、入賞判定処理を示すフローチャートである。   FIG. 13 is a flowchart showing a winning determination process.

入賞判定処理は、ステップS204において実行されると、図13に示すように、まず、ステップS500に移行する。   When the winning determination process is executed in step S204, the process first proceeds to step S500 as shown in FIG.

ステップS500では、保留球数が「0」であるか否かを判定し、保留球数が「0」であると判定したとき(Yes)は、ステップS502に移行する。   In step S500, it is determined whether or not the number of reserved balls is “0”, and when it is determined that the number of reserved balls is “0” (Yes), the process proceeds to step S502.

ステップS502では、タイマ214を用いて始動入賞口105への最後の入賞から所定時間(例えば、10分)が経過したか否かを判定し、所定時間が経過したと判定したとき(Yes)は、ステップS504に移行する。   In step S502, it is determined whether or not a predetermined time (for example, 10 minutes) has elapsed since the last winning to the start winning opening 105 using the timer 214, and when it is determined that the predetermined time has elapsed (Yes). Then, the process proceeds to step S504.

ステップS504では、客待ちデモを行う客待ちデモ実行処理を実行する。客待ちデモ実行処理では、客待ちデモコマンドを送信バッファに格納することにより客待ちデモを開始する。また、始動入賞口105への入賞、発射部482に対する操作等を契機として遊技の再開を検出したときは、客待ちデモ停止コマンドを送信バッファに格納することにより客待ちデモを終了する。これにより、ステップS212の制御コマンド送信処理では、客待ちデモコマンドまたは客待ちデモ停止コマンドが演出制御部300に送信される。   In step S504, a customer waiting demonstration execution process for performing a customer waiting demonstration is executed. In the customer waiting demo execution process, the customer waiting demo is started by storing the customer waiting demo command in the transmission buffer. Further, when the resumption of the game is detected in response to winning at the start winning opening 105, an operation on the launching unit 482, etc., the customer waiting demo is terminated by storing a customer waiting demo stop command in the transmission buffer. Thereby, in the control command transmission process of step S212, a customer waiting demo command or a customer waiting demo stop command is transmitted to the effect control unit 300.

次いで、ステップS506に移行して、I/F210を介して始動入賞口検出部280からのセンサ信号を読み込み、読み込んだセンサ信号に基づいて始動入賞口105に遊技球が入賞したことを検出したか否かを判定し、遊技球の入賞を検出したと判定したとき(Yes)は、ステップS508に移行する。   Next, the process proceeds to step S506, where the sensor signal from the start winning opening detection unit 280 is read via the I / F 210, and whether it is detected that a game ball has won the start winning opening 105 based on the read sensor signal. If it is determined whether or not the winning of the game ball is detected (Yes), the process proceeds to step S508.

ステップS508では、保留球数が「4」以上であるか否かを判定し、保留球数が「4」未満であると判定したとき(No)は、ステップS510に移行して、保留球数に「1」を加算し、ステップS512に移行する。   In step S508, it is determined whether or not the number of retained balls is “4” or more, and when it is determined that the number of retained balls is less than “4” (No), the process proceeds to step S510, and the number of retained balls is determined. “1” is added to, and the process proceeds to step S512.

ステップS512では、大当たり決定乱数、停止図柄決定乱数その他遊技制御に用いる乱数を乱数カウンタから取得し、ステップS514に移行して、取得した各乱数を、保留球数に対応したRAM206の所定領域にそれぞれ格納し、一連の処理を終了して元の処理に復帰させる。   In step S512, the jackpot determined random number, stop symbol determined random number, and other random numbers used for game control are acquired from the random number counter, and the process proceeds to step S514, where each acquired random number is stored in a predetermined area of the RAM 206 corresponding to the number of reserved balls. Store, end a series of processing, and return to the original processing.

一方、ステップS508で、保留球数が「4」以上であると判定したとき(Yes)、およびステップS506で、遊技球の入賞を検出しないと判定したとき(No)はいずれも、一連の処理を終了して元の処理に復帰させる。   On the other hand, when it is determined in step S508 that the number of held balls is “4” or more (Yes) and when it is determined in step S506 that a winning of a game ball is not detected (No), a series of processing is performed. To return to the original process.

一方、ステップS502で、所定時間が経過していないと判定したとき(No)、およびステップS500で、保留球数が「0」でないと判定したとき(No)はいずれも、ステップS506に移行する。   On the other hand, when it is determined in step S502 that the predetermined time has not elapsed (No) and when it is determined in step S500 that the number of reserved balls is not “0” (No), the process proceeds to step S506. .

〔大当たり判定処理〕
次に、ステップS206の大当たり判定処理を説明する。
[Big hit judgment processing]
Next, the jackpot determination process in step S206 will be described.

図14は、大当たり判定処理を示すフローチャートである。   FIG. 14 is a flowchart showing the jackpot determination process.

大当たり判定処理は、所定確率で大当たりを発生させるために、大当たり決定乱数がとり得る所定の数値範囲(例えば、「0」〜「400」)に1個の大当たり値を設定し、始動入賞口105に遊技球が入賞した入賞タイミングで大当たり決定乱数を取得し、取得した乱数値と大当たり値とが一致しているときに大当たりを発生させる処理であって、ステップS206において実行されると、図14に示すように、まず、ステップS600に移行する。   In the jackpot determination process, in order to generate a jackpot with a predetermined probability, one jackpot value is set in a predetermined numerical range (for example, “0” to “400”) that can be taken by the jackpot determination random number, and the start winning hole 105 14 is a process for obtaining a jackpot decision random number at the winning timing when the game ball is won and generating the jackpot when the acquired random number value matches the jackpot value, and when executed in step S206, First, the process proceeds to step S600.

ステップS600では、図柄表示部104において演出図柄が変動中か否かを判定し、演出図柄が変動中でないと判定したとき(No)は、ステップS602に移行して、保留球数が「1」以上であるか否かを判定し、保留球数が「1」以上であると判定したとき(Yes)は、ステップS604に移行する。   In step S600, it is determined whether or not the effect symbol is changing in the symbol display unit 104. When it is determined that the effect symbol is not changing (No), the process proceeds to step S602, and the number of reserved balls is “1”. When it is determined whether or not the number is equal to or greater than “1” or more (Yes), the process proceeds to step S604.

ステップS604では、保留球数に対応したRAM206の所定領域から大当たり決定乱数を読み出し、ステップS606に移行して、読み出した乱数値が大当たり値と一致しているか否かを判定し、大当たり値と一致していると判定したとき(Yes)は、ステップS608に移行して、大当たりフラグをセットし、ステップS610に移行する。   In step S604, a jackpot determination random number is read from a predetermined area of the RAM 206 corresponding to the number of reserved balls, and the process proceeds to step S606 to determine whether or not the read random number value matches the jackpot value. When it is determined that it has been done (Yes), the process proceeds to step S608, the jackpot flag is set, and the process proceeds to step S610.

ステップS610では、大当たり時に停止させる演出図柄の態様を決定する大当たり時停止図柄決定処理を実行する。大当たり時停止図柄決定処理では、例えば、大当たり用の停止図柄決定テーブルをROM204から読み出す。そして、保留球数に対応したRAM206の所定領域から停止図柄決定乱数を読み出し、読み出した乱数値の順位の停止図柄番号を、読み出した停止図柄決定テーブルから取得し、取得した停止図柄番号を示す制御コマンド(図柄指定コマンド)を送信バッファに格納する。   In step S610, a big-hit stop symbol determination process is executed to determine the mode of the effect symbol to be stopped at the big-hit. In the jackpot stop symbol determination process, for example, a jackpot stop symbol determination table is read from the ROM 204. Then, a stop symbol determination random number is read from a predetermined area of the RAM 206 corresponding to the number of reserved balls, a stop symbol number of the order of the read random number value is acquired from the read stop symbol determination table, and control indicating the acquired stop symbol number Store the command (designation command) in the transmission buffer.

次いで、ステップS612に移行して、大当たり時に変動表示する演出図柄の変動パターンを決定する大当たり時変動パターン決定処理を実行する。大当たり時変動パターン決定処理では、例えば、リーチ決定乱数を乱数カウンタから取得し、取得した乱数値に対応する大当たり用の変動パターン決定テーブルをROM204から読み出す。大当たりリーチコマンドは、1または複数の特定の変動パターン決定テーブルにのみ登録されているので、リーチ決定乱数に基づくこの選択は、リーチ演出を行うか否かを決定することになる。そして、変動パターン決定乱数を乱数カウンタから取得し、取得した乱数値の順位の変動パターン番号を、読み出した変動パターン決定テーブルから取得し、取得した変動パターン番号を示す変動パターンコマンドを送信バッファに格納する。これにより、ステップS212の制御コマンド送信処理では、大当たりリーチコマンドその他大当たり時に選択される変動パターンコマンドが演出制御部300に送信される。   Next, the process proceeds to step S612, and the big hit hour fluctuation pattern determination process is executed for determining the fluctuation pattern of the effect symbol to be displayed in a variable manner at the big hit. In the jackpot variation pattern determination process, for example, a reach determination random number is acquired from a random number counter, and a variation pattern determination table for jackpot corresponding to the acquired random number value is read from the ROM 204. Since the jackpot reach command is registered only in one or a plurality of specific variation pattern determination tables, this selection based on the reach determination random number determines whether or not to perform the reach effect. Then, the fluctuation pattern determination random number is obtained from the random number counter, the fluctuation pattern number of the order of the obtained random number value is obtained from the read fluctuation pattern determination table, and the fluctuation pattern command indicating the obtained fluctuation pattern number is stored in the transmission buffer. To do. As a result, in the control command transmission process of step S212, the big hit reach command and other variation pattern commands selected at the time of the big hit are transmitted to the effect control unit 300.

次いで、ステップS614に移行して、演出制御部300に対して演出図柄の変動開始を指定するための制御コマンド(変動開始コマンド)を送信バッファに格納する図柄変動開始処理を実行し、ステップS616に移行して、保留球数から「1」を減算し、一連の処理を終了して元の処理に復帰させる。   Next, the process proceeds to step S614, and a symbol variation start process for storing in the transmission buffer a control command (variation start command) for designating the variation start of the effect symbol to the effect control unit 300 is executed, and the process proceeds to step S616. Then, “1” is subtracted from the number of held balls, a series of processing is terminated, and the original processing is restored.

一方、ステップS606で、大当たり値と一致しないと判定したとき(No)は、ステップS618に移行して、はずれ時に停止させる演出図柄の態様を決定するはずれ時停止図柄決定処理を実行する。はずれ時停止図柄決定処理は、ステップS610と同様に構成される。ステップS610と異なるのは、はずれ用の停止図柄決定テーブルを用いる点である。   On the other hand, when it is determined in step S606 that it does not match the jackpot value (No), the process proceeds to step S618, and a stoppage stop symbol determination process for determining an aspect of the effect symbol to be stopped at the time of disconnection is executed. The off-time stop symbol determination process is configured in the same manner as in step S610. The difference from step S610 is that a stop symbol determination table for loss is used.

次いで、ステップS620に移行して、はずれ時に変動表示する演出図柄の変動パターンを決定するはずれ時変動パターン決定処理を実行する。はずれ時変動パターン決定処理は、ステップS612と同様に構成される。ステップS612と異なるのは、はずれ用の変動パターン決定テーブルを用いる点である。これにより、ステップS212の制御コマンド送信処理では、はずれ非リーチコマンド、はずれリーチコマンドその他はずれ時に選択される変動パターンコマンドが演出制御部300に送信される。   Next, the process proceeds to step S620, and a variation pattern determination process at the time of detachment is performed to determine a variation pattern of the effect symbol that is variably displayed at the time of the separation. The deviation variation pattern determination processing is configured in the same manner as in step S612. The difference from step S612 is that a variation pattern determination table for deviation is used. As a result, in the control command transmission process of step S212, the variation non-reach command, the deviation reach command, and other variation pattern commands selected at the time of deviation are transmitted to the effect control unit 300.

ステップS620の処理が終了すると、ステップS614に移行する。   When the process of step S620 ends, the process proceeds to step S614.

一方、ステップS600で、図柄表示部104において演出図柄が変動中であると判定したとき(Yes)は、ステップS622に移行する。   On the other hand, when it is determined in step S600 that the effect symbol is changing in the symbol display unit 104 (Yes), the process proceeds to step S622.

ステップS622では、演出図柄の変動を開始してから所定時間(例えば、30秒)が経過したか否かを判定し、所定時間が経過したと判定したとき(Yes)は、ステップS624に移行して、演出制御部300に対して演出図柄の停止を指定するための制御コマンド(図柄停止コマンド)を送信バッファに格納する図柄停止処理を実行し、一連の処理を終了して元の処理に復帰させる。   In step S622, it is determined whether or not a predetermined time (for example, 30 seconds) has elapsed since the start of the change in the effect design. If it is determined that the predetermined time has elapsed (Yes), the process proceeds to step S624. The symbol stop process for storing in the transmission buffer a control command (design stop command) for designating the stop of the effect symbol to the effect control unit 300 is executed, and the series of processes is terminated and the original process is restored. Let

一方、ステップS622で、所定時間が経過していないと判定したとき(No)、およびステップS602で、保留球数が「0」であると判定したとき(No)はいずれも、一連の処理を終了して元の処理に復帰させる。   On the other hand, when it is determined in step S622 that the predetermined time has not elapsed (No) and when it is determined in step S602 that the number of reserved balls is “0” (No), a series of processing is performed. End and return to the original process.

〔電動役物制御処理〕
次に、ステップS208の電動役物制御処理を説明する。
[Electric character control processing]
Next, the electric accessory control process in step S208 will be described.

図15は、電動役物制御処理を示すフローチャートである。   FIG. 15 is a flowchart showing the electric accessory control process.

電動役物制御処理は、ステップS108において実行されると、図15に示すように、まず、ステップS700に移行する。   When the electric accessory control process is executed in step S108, the process first proceeds to step S700 as shown in FIG.

ステップS700では、大当たりフラグに基づいて大当たりか否かを判定し、大当たりフラグがセットされていることにより大当たりであると判定したとき(Yes)は、ステップS702に移行する。   In step S700, it is determined whether or not the jackpot is based on the jackpot flag, and when it is determined that the jackpot flag is set because the jackpot flag is set (Yes), the process proceeds to step S702.

ステップS702では、大当たり演出を開始するタイミングであるか否かを判定し、大当たり演出を開始するタイミングであると判定したとき(Yes)は、ステップS704に移行する。   In step S702, it is determined whether or not it is time to start the jackpot effect. If it is determined that it is time to start the jackpot effect (Yes), the process proceeds to step S704.

ステップS704では、大当たり開始コマンドを送信バッファに格納する大当たり演出開始処理を実行し、一連の処理を終了して元の処理に復帰させる。これにより、ステップS212の制御コマンド送信処理では、大当たり開始コマンドが演出制御部300に送信される。   In step S704, a jackpot presentation start process for storing the jackpot start command in the transmission buffer is executed, a series of processes are terminated, and the process returns to the original process. Thereby, in the control command transmission process of step S212, the big hit start command is transmitted to the effect control unit 300.

一方、ステップS702で、大当たり演出を開始するタイミングでないと判定したとき(No)は、ステップS706に移行して、ラウンドを開始するタイミングであるか否かを判定し、ラウンドを開始するタイミングであると判定したとき(Yes)は、ステップS708に移行する。   On the other hand, when it is determined in step S702 that it is not the timing to start the jackpot effect (No), the process proceeds to step S706, where it is determined whether it is the timing to start the round, and the timing to start the round. (Yes), the process proceeds to step S708.

ステップS708では、ラウンド開始コマンドを送信バッファに格納するラウンド開始処理を実行し、一連の処理を終了して元の処理に復帰させる。これにより、ステップS212の制御コマンド送信処理では、ラウンド開始コマンドが演出制御部300に送信される。   In step S708, a round start process for storing a round start command in the transmission buffer is executed, a series of processes are terminated, and the original process is restored. Thereby, in the control command transmission process of step S212, the round start command is transmitted to the effect control unit 300.

一方、ステップS706で、ラウンドを開始するタイミングでないと判定したとき(No)は、ステップS710に移行して、ラウンドが継続中であるか否かを判定し、ラウンドが継続中であると判定したとき(Yes)は、ステップS712に移行する。   On the other hand, when it is determined in step S706 that it is not the timing to start the round (No), the process proceeds to step S710, where it is determined whether the round is continuing, and it is determined that the round is continuing. If (Yes), the process proceeds to step S712.

ステップS712では、大入賞口開閉部288により大入賞口109の開閉を制御する大入賞口開閉制御処理を実行し、一連の処理を終了して元の処理に復帰させる。   In step S712, a special prize opening / closing control process for controlling the opening / closing of the special prize opening 109 is executed by the special prize opening / closing unit 288, and a series of processes is terminated to return to the original process.

一方、ステップS710で、ラウンドが継続中でないと判定したとき(No)は、ステップS714に移行して、ラウンドを終了するタイミングであるか否かを判定し、ラウンドを終了するタイミングであると判定したとき(Yes)は、ステップS716に移行する。   On the other hand, when it is determined in step S710 that the round is not continuing (No), the process proceeds to step S714, where it is determined whether it is time to end the round, and it is determined that it is time to end the round. If yes (Yes), the process proceeds to step S716.

ステップS716では、ラウンド回数に「1」を加算し、ステップS718に移行して、ラウンド回数が最大ラウンド数(例えば、15回)を超えたか否かを判定し、最大ラウンド数を超えていないと判定したとき(No)は、ステップS720に移行する。   In step S716, “1” is added to the number of rounds, and the process proceeds to step S718 to determine whether or not the number of rounds exceeds the maximum number of rounds (for example, 15 times). When it determines (No), it transfers to step S720.

ステップS720では、ラウンド終了コマンドを送信バッファに格納するラウンド終了処理を実行し、一連の処理を終了して元の処理に復帰させる。これにより、ステップS212の制御コマンド送信処理では、ラウンド終了コマンドが演出制御部300に送信される。   In step S720, a round end process for storing the round end command in the transmission buffer is executed, a series of processes are ended, and the original process is restored. Thereby, in the control command transmission process of step S212, the round end command is transmitted to the effect control unit 300.

一方、ステップS718で、ラウンド回数が最大ラウンド数を超えていると判定したとき(Yes)は、ステップS722に移行する。   On the other hand, when it is determined in step S718 that the number of rounds exceeds the maximum number of rounds (Yes), the process proceeds to step S722.

ステップS722では、大当たり終了コマンドを送信バッファに格納する大当たり演出終了処理を実行する。これにより、ステップS212の制御コマンド送信処理では、大当たり終了コマンドが演出制御部300に送信される。   In step S722, a jackpot presentation end process for storing the jackpot end command in the transmission buffer is executed. Thereby, in the control command transmission process of step S212, a jackpot end command is transmitted to the effect control unit 300.

次いで、ステップS724に移行して、大当たりフラグをリセットし、一連の処理を終了して元の処理に復帰させる。   Next, the process proceeds to step S724, where the jackpot flag is reset, the series of processes is terminated, and the original process is restored.

一方、ステップS714で、ラウンドを終了するタイミングでないと判定したとき(No)、およびステップS700で、大当たりフラグがリセットされていることにより大当たりでないと判定したとき(No)はいずれも、一連の処理を終了して元の処理に復帰させる。   On the other hand, when it is determined in step S714 that it is not the timing for ending the round (No) and in step S700, when it is determined that the big hit flag is not reset (No), a series of processing To return to the original process.

〔演出制御処理〕
次に、演出制御部300で実行される演出制御処理を説明する。
[Production control processing]
Next, the effect control process executed by the effect control unit 300 will be described.

CPU302は、制御プログラムをROM304から読み出し、読み出した制御プログラムに従って、図16のフローチャートに示す演出制御処理を実行する。   CPU302 reads a control program from ROM304, and performs the production | presentation control process shown in the flowchart of FIG. 16 according to the read control program.

図16は、演出制御処理を示すフローチャートである。   FIG. 16 is a flowchart showing the effect control process.

演出制御処理は、CPU302において実行されると、図16に示すように、まず、ステップS800に移行する。   When the effect control process is executed by the CPU 302, as shown in FIG. 16, first, the process proceeds to step S800.

ステップS800では、変動パターンコマンドを受信する変動パターンコマンド受信処理を実行し、ステップS802に移行して、大当たりコマンドを受信する大当たりコマンド受信処理を実行し、ステップS804に移行する。   In step S800, a fluctuation pattern command reception process for receiving a fluctuation pattern command is executed, the process proceeds to step S802, a jackpot command reception process for receiving a jackpot command is executed, and the process proceeds to step S804.

ステップS804では、変動パターンコマンドおよび大当たりコマンド以外の制御コマンドを受信するその他制御コマンド受信処理を実行し、ステップS800に移行する。   In step S804, other control command reception processing for receiving control commands other than the variation pattern command and jackpot command is executed, and the process proceeds to step S800.

〔変動パターンコマンド受信処理〕
次に、ステップS800の変動パターンコマンド受信処理を説明する。
[Variation pattern command reception processing]
Next, the fluctuation pattern command reception process in step S800 will be described.

図17は、変動パターンコマンド受信処理を示すフローチャートである。   FIG. 17 is a flowchart showing the variation pattern command reception process.

変動パターンコマンド受信処理は、ステップS800において実行されると、図17に示すように、まず、ステップS900に移行する。   When the variation pattern command reception process is executed in step S800, as shown in FIG. 17, first, the process proceeds to step S900.

ステップS900では、I/F310を介して変動パターンコマンドを受信したか否かを判定し、変動パターンコマンドを受信したと判定したとき(Yes)は、ステップS902に移行するが、そうでないと判定したとき(No)は、変動パターンコマンドを受信するまでステップS900で待機する。   In step S900, it is determined whether or not a variation pattern command has been received via the I / F 310. When it is determined that a variation pattern command has been received (Yes), the process proceeds to step S902, but it is determined that this is not the case. If (No), the process waits in step S900 until a variation pattern command is received.

ステップS902では、乱数カウンタから乱数を取得し、ステップS904に移行して、取得した乱数に基づいて、受信した変動パターンコマンドに対応する複数の変動演出のなかからいずれかを選択し、ステップS906に移行する。   In step S902, a random number is acquired from a random number counter, the process proceeds to step S904, and one of a plurality of variation effects corresponding to the received variation pattern command is selected based on the acquired random number, and the process proceeds to step S906. Transition.

ステップS906では、図柄表示部104、音声制御部382およびランプ制御部386に対して、選択した変動演出の開始を指定するための制御コマンド(変動演出開始コマンド)をそれぞれ送信する変動演出開始処理を実行する。   In step S906, a variation effect start process for transmitting a control command (variation effect start command) for designating the start of the selected variation effect to the symbol display unit 104, the sound control unit 382, and the lamp control unit 386, respectively. Execute.

次いで、ステップS908に移行して、変動演出開始コマンドを送信してから所定時間(例えば、30秒)が経過したか否かを判定し、所定時間が経過していないと判定したとき(No)は、ステップS910に移行して、I/F310を介して図柄停止コマンドを受信したか否かを判定し、図柄停止コマンドを受信したと判定したとき(Yes)は、ステップS912に移行する。   Next, the process proceeds to step S908, where it is determined whether or not a predetermined time (for example, 30 seconds) has elapsed since the transmission of the change effect start command, and when it is determined that the predetermined time has not elapsed (No). Shifts to step S910 to determine whether or not a symbol stop command has been received via the I / F 310, and when it is determined that a symbol stop command has been received (Yes), shifts to step S912.

ステップS912では、図柄表示部104、音声制御部382およびランプ制御部386に対して、変動演出の終了を指定するための制御コマンド(変動演出終了コマンド)をそれぞれ送信する変動演出終了処理を実行する。   In step S912, a variable effect end process for transmitting a control command (variable effect end command) for designating the end of the variable effect to the symbol display unit 104, the sound control unit 382, and the lamp control unit 386 is executed. .

ステップS912の処理が終了すると、一連の処理を終了して元の処理に復帰させる。   When the process of step S912 ends, the series of processes ends and the original process is restored.

一方、ステップS910で、図柄停止コマンドを受信しないと判定したとき(No)は、ステップS908に移行する。   On the other hand, when it determines with not receiving a symbol stop command by step S910 (No), it transfers to step S908.

一方、ステップS908で、所定時間が経過したと判定したとき(Yes)は、ステップS912に移行する。   On the other hand, when it is determined in step S908 that the predetermined time has elapsed (Yes), the process proceeds to step S912.

なお、乱数カウンタの更新は、主制御部200で採用される上記方法により行うことができる。ただし、更新方法は、主制御部200とは必ずしも同一でなくてもよい。   The random number counter can be updated by the above method employed by the main control unit 200. However, the update method is not necessarily the same as that of the main control unit 200.

〔大当たりコマンド受信処理〕
次に、ステップS802の大当たりコマンド受信処理を説明する。
[Big hit command reception processing]
Next, the jackpot command reception process in step S802 will be described.

図18は、大当たりコマンド受信処理を示すフローチャートである。   FIG. 18 is a flowchart showing the jackpot command reception process.

大当たりコマンド受信処理は、ステップS802において実行されると、図18に示すように、まず、ステップS1000に移行する。   When the jackpot command reception process is executed in step S802, the process first proceeds to step S1000 as shown in FIG.

ステップS1000では、I/F310を介して大当たり開始コマンドを受信したか否かを判定し、大当たり開始コマンドを受信したと判定したとき(Yes)は、ステップS1002に移行する。   In step S1000, it is determined whether a jackpot start command has been received via the I / F 310. If it is determined that a jackpot start command has been received (Yes), the process proceeds to step S1002.

ステップS1002では、図柄表示部104、音声制御部382およびランプ制御部386に対して、大当たり演出の開始を指定するための制御コマンド(大当たり演出開始コマンド)をそれぞれ送信する大当たり演出開始処理を実行する。   In step S1002, a jackpot effect start process for transmitting a control command (a jackpot effect start command) for designating the start of a jackpot effect to the symbol display unit 104, the sound control unit 382, and the lamp control unit 386 is executed. .

次いで、ステップS1004に移行して、I/F310を介してラウンド開始コマンドを受信したか否かを判定し、ラウンド開始コマンドを受信したと判定したとき(Yes)は、ステップS1006に移行する。   Next, the process proceeds to step S1004, where it is determined whether a round start command is received via the I / F 310. When it is determined that a round start command is received (Yes), the process proceeds to step S1006.

ステップS1006では、図柄表示部104、音声制御部382およびランプ制御部386に対して、ラウンド演出の開始を指定するための制御コマンド(ラウンド演出開始コマンド)をそれぞれ送信するラウンド演出開始処理を実行する。   In step S1006, a round effect start process for transmitting a control command (round effect start command) for designating the start of the round effect to the symbol display unit 104, the sound control unit 382, and the lamp control unit 386 is executed. .

次いで、ステップS1008に移行して、I/F310を介してラウンド終了コマンドを受信したか否かを判定し、ラウンド終了コマンドを受信したと判定したとき(Yes)は、ステップS1010に移行する。   Next, the process proceeds to step S1008, where it is determined whether a round end command is received via the I / F 310. When it is determined that a round end command is received (Yes), the process proceeds to step S1010.

ステップS1010では、図柄表示部104、音声制御部382およびランプ制御部386に対して、ラウンド演出の終了を指定するための制御コマンド(ラウンド演出終了コマンド)をそれぞれ送信するラウンド演出終了処理を実行し、ステップS1004に移行する。   In step S1010, a round effect end process for transmitting a control command (round effect end command) for designating the end of the round effect to the symbol display unit 104, the sound control unit 382, and the lamp control unit 386 is executed. The process proceeds to step S1004.

一方、ステップS1008で、ラウンド終了コマンドを受信しないと判定したとき(No)は、ステップS1012に移行して、I/F310を介して大当たり終了コマンドを受信したか否かを判定し、大当たり終了コマンドを受信したと判定したとき(Yes)は、ステップS1014に移行する。   On the other hand, when it is determined in step S1008 that the round end command is not received (No), the process proceeds to step S1012, where it is determined whether the jackpot end command is received via the I / F 310, and the jackpot end command is determined. (Yes), the process proceeds to step S1014.

ステップS1014では、図柄表示部104、音声制御部382およびランプ制御部386に対して、大当たり演出の終了を指定するための制御コマンド(大当たり演出終了コマンド)をそれぞれ送信する大当たり演出終了処理を実行し、一連の処理を終了して元の処理に復帰させる。   In step S1014, a jackpot effect end process is executed to transmit a control command (a jackpot effect end command) for designating the end of the jackpot effect to the symbol display unit 104, the sound control unit 382, and the lamp control unit 386, respectively. Then, the series of processes is terminated and the original process is restored.

一方、ステップS1012で、大当たり終了コマンドを受信しないと判定したとき(No)は、ステップS1008に移行する。   On the other hand, when it is determined in step S1012 that the jackpot end command is not received (No), the process proceeds to step S1008.

一方、ステップS1004で、ラウンド開始コマンドを受信しないと判定したとき(No)は、ラウンド開始コマンドを受信するまでステップS1004で待機する。   On the other hand, when it is determined in step S1004 that the round start command is not received (No), the process waits in step S1004 until the round start command is received.

一方、ステップS1000で、大当たり開始コマンドを受信しないと判定したとき(No)は、大当たり開始コマンドを受信するまでステップS1000で待機する。   On the other hand, when it is determined in step S1000 that the jackpot start command is not received (No), the process waits in step S1000 until the jackpot start command is received.

〔本実施の形態の動作〕
次に、本実施の形態の動作を説明する。
[Operation of the present embodiment]
Next, the operation of the present embodiment will be described.

まず、パチンコ機に電源が投入されると、主制御部200では、ステップS202を経て、初期化処理が実行される。初期化処理では、電源オンコマンドが送信される。電源オンコマンドの送信時は、ステップS304を経て、接続機器認証処理が実行される。   First, when power is turned on to the pachinko machine, the main control unit 200 executes an initialization process through step S202. In the initialization process, a power-on command is transmitted. When the power-on command is transmitted, the connected device authentication process is executed through step S304.

接続機器認証処理では、ステップS402〜S454を経て、アクセス制御装置230により接続機器の認証が行われる。このとき、アクセス制御装置230へのアクセスのためにCPUコア203が実行する命令コード列およびそのアドレスは、ステップS410、S420、S434、S442を経て、電源オンコマンドに付加されて出力される。これにより、接続機器の正当性を認証することができる。しかしながら、例えば、悪意を有する第三者によって、不正な機器が認証されるように接続機器認証処理を改ざんされてしまう場合がある。   In the connected device authentication process, the connected device is authenticated by the access control device 230 through steps S402 to S454. At this time, the instruction code string executed by the CPU core 203 for accessing the access control device 230 and its address are added to the power-on command and output through steps S410, S420, S434, and S442. As a result, the validity of the connected device can be authenticated. However, for example, a connected device authentication process may be falsified by a malicious third party so that an unauthorized device is authenticated.

例えば、ステップS424では、アクセス制御装置230のレジスタ236に対して検証値Vが書き込まれている。このとき、レジスタ236に書き込まれるのは、本来、CPUコア203のレジスタ203cに保持されている検証値Vである。しかしながら、不正な命令コード列によって、レジスタ236に書き込む値をレジスタ203c以外の場所(または、レジスタ203cのうち検証値Vが保持されている領域以外の領域)に記憶された値とすることが可能となる。   For example, in step S424, the verification value V is written in the register 236 of the access control device 230. At this time, what is written in the register 236 is the verification value V originally held in the register 203 c of the CPU core 203. However, the value written to the register 236 can be set to a value stored in a place other than the register 203c (or an area other than the area where the verification value V is held in the register 203c) by an illegal instruction code string. It becomes.

また、例えば、ステップS412では、アクセス制御装置230のレジスタ234から検証値Vが読み出されている。このとき、読み出す値をレジスタ234以外の場所(または、レジスタ234のうち検証値Vが保持されている領域以外の領域)に記憶された値とすることが可能となる。   For example, in step S412, the verification value V is read from the register 234 of the access control device 230. At this time, the value to be read can be a value stored in a place other than the register 234 (or an area other than the area in the register 234 where the verification value V is held).

これらの不正は、例えば、不正なパッチ等によってCPUコア203の処理を分岐させることにより可能となる。   These frauds can be made, for example, by branching the processing of the CPU core 203 by an illegal patch or the like.

このような不正行為が行われると、正しい接続機器認証処理が行えず、不正な機器の接続が可能となってしまう。そのため、主制御部200では、アクセス制御装置230を設け、CPU202によるレジスタ234、236へのアクセスを制御する。これにより、不正な命令コード列の実行により不正な機器が認証されてしまう可能性を低減することができる。   If such an illegal act is performed, a correct connection device authentication process cannot be performed, and an unauthorized device can be connected. Therefore, the main control unit 200 is provided with an access control device 230 and controls access to the registers 234 and 236 by the CPU 202. As a result, it is possible to reduce the possibility that an unauthorized device is authenticated by executing an unauthorized instruction code string.

図19は、アクセス制御部238が行うアクセス制御の概要を示す説明図である。なお、図19では、説明の便宜上、構成の一部を省略している。   FIG. 19 is an explanatory diagram showing an outline of access control performed by the access control unit 238. In FIG. 19, a part of the configuration is omitted for convenience of explanation.

図19に示すように、例えば、許可命令コード列および許可アドレスが、命令コード列「0xJKLMNOPQ」(ライト命令)およびアドレス「0x104」であるとする。このとき、正規のROM204には、アドレス「0x104」〜「0x107」に命令コード列「0xJKLMNOPQ」(ライト命令)が記憶されている。   As illustrated in FIG. 19, for example, it is assumed that the permitted instruction code sequence and the permitted address are an instruction code sequence “0xJKLMNOPQ” (write command) and an address “0x104”. At this time, the normal ROM 204 stores an instruction code string “0xJKLMNOPQ” (write instruction) at addresses “0x104” to “0x107”.

CPUコア203が、アドレス「0x104」〜「0x107」から命令コード列「0xJKLMNOPQ」を読み出して実行する場合(矢印α)、アクセス制御部238は、レジスタ236へのデータの書込を許可する。   When the CPU core 203 reads and executes the instruction code string “0xJKLMNOPQ” from the addresses “0x104” to “0x107” (arrow α), the access control unit 238 permits writing of data to the register 236.

ところが、例えば、不正例1のように、アドレス「0x200」〜「0x203」に不正な命令コード列「0xPOIUYTRE」(ライト命令)が書き込まれてしまったとする。この場合、CPUコア203が、アドレス「0x200」〜「0x203」から命令コード列「0xPOIUYTRE」を読み出して実行しても(矢印β)、命令コード列のアドレスが許可アドレスではないので、アクセス制御部238は、レジスタ236へのデータの書込を禁止する(ライト命令を拒否)。   However, suppose that an illegal instruction code string “0xPOIYUTRE” (write instruction) has been written to addresses “0x200” to “0x203” as in unauthorized example 1, for example. In this case, even if the CPU core 203 reads and executes the instruction code string “0xPOIYUTRE” from the addresses “0x200” to “0x203” (arrow β), the address of the instruction code string is not a permitted address, so the access control unit 238 prohibits writing of data to the register 236 (deny write command).

また、例えば、不正例2のように、アドレス「0x080」〜「0x083」に不正な命令コード列「0xLKJHGFDS」が挿入されてしまったとする。この不正な命令コード列は、例えば、レジスタ236に書き込む値を変更する命令コード列である。しかしながら、この不正な命令コード列が挿入されたことにより、本来実行が許可される命令コード列「0xJKLMNOPQ」(ライト命令)のアドレスが「0x108」〜「0x10B」となってしまっている。   Further, for example, it is assumed that an illegal instruction code string “0xLKJHGFDS” is inserted into addresses “0x080” to “0x083” as in the illegal example 2. This illegal instruction code string is, for example, an instruction code string that changes a value written to the register 236. However, due to the insertion of this illegal instruction code string, the addresses of the instruction code string “0xJKLMNOPQ” (write instruction) that is originally permitted to be executed are “0x108” to “0x10B”.

そのため、CPUコア203が、アドレス「0x108」〜「0x10B」から命令コード列「0xJKLMNOPQ」を読み出して実行しても(矢印γ)、命令コード列のアドレスが許可アドレスではないので、アクセス制御部238は、レジスタ236へのデータの書込を禁止する(ライト命令を拒否)。このとき、CPUコア203は、アクセス制御装置230からの通知を受け、不正通知を行ってもよい。これにより、不正な命令コード列「0xLKJHGFDS」の実行により書き込み値が変更されたとしても、その値がレジスタ236に書き込まれないので、不正行為が行われる可能性を低減することができる。   Therefore, even if the CPU core 203 reads and executes the instruction code string “0xJKLMNOPQ” from the addresses “0x108” to “0x10B” (arrow γ), the address of the instruction code string is not a permitted address, so the access control unit 238 Prohibits the writing of data to the register 236 (denies the write command). At this time, the CPU core 203 may receive a notification from the access control device 230 and perform an unauthorized notification. As a result, even if the write value is changed by execution of the illegal instruction code string “0xLKJHGFDS”, the value is not written to the register 236, so that the possibility of an illegal act can be reduced.

一方、アクセス制御部238は、上記不正行為のほか、ビットエラーによりCPU202が誤動作する可能性を低減することもできる。   On the other hand, the access control unit 238 can reduce the possibility that the CPU 202 malfunctions due to a bit error in addition to the above-mentioned fraudulent acts.

図20は、アクセス制御部238が行うアクセス制御の概要を示す説明図である。   FIG. 20 is an explanatory diagram showing an outline of access control performed by the access control unit 238.

図20に示すように、例えば、許可命令コード列および許可アドレスが、命令コード列「0xABCDEFGH」(リード命令)およびアドレス「0x100」、並びに、命令コード列「0xABCDEFGI」(ライト命令)およびアドレス「0x104」であるとする。このとき、正規のROM204には、アドレス「0x100」〜「0x103」に命令コード列「0xABCDEFGH」(リード命令)が記憶されている。   As illustrated in FIG. 20, for example, the permitted instruction code string and the permitted address are an instruction code string “0xABCDEFGH” (read instruction) and address “0x100”, and an instruction code string “0xABCDEFGI” (write instruction) and address “0x104”. ”. At this time, the regular ROM 204 stores an instruction code string “0xABCDEFGH” (read instruction) at addresses “0x100” to “0x103”.

CPUコア203が命令コード列を読み出す際、命令コード列にビットエラー(例えば、「1」が「0」となる。)が発生してしまう場合がある。その結果、CPUコア203がアドレス「0x100」〜「0x103」から読み出した命令コード列「0xABCDEFGH」(リード命令)が、例えば、命令コード列「0xABCDEFGI」(ライト命令)に置き換わってしまう場合がある(矢印δ)。この場合、CPUコア203が命令コード列「0xABCDEFGI」(ライト命令)を実行すると、アクセス制御装置230のデータが予期しない形で書き換えられてしまう可能性がある。   When the CPU core 203 reads the instruction code string, a bit error (for example, “1” becomes “0”) may occur in the instruction code string. As a result, the instruction code string “0xABCDEFGH” (read instruction) read from the addresses “0x100” to “0x103” by the CPU core 203 may be replaced with, for example, the instruction code string “0xABCDEFGI” (write instruction) ( Arrow δ). In this case, if the CPU core 203 executes the instruction code string “0xABCDEFGI” (write instruction), the data of the access control device 230 may be rewritten in an unexpected manner.

しかしながら、このようなライト命令が実行されたとしても(矢印ε)、命令コード列のアドレスが許可アドレスではないので、アクセス制御部238は、レジスタ236へのデータの書込を禁止する(ライト命令を拒否)。   However, even if such a write instruction is executed (arrow ε), the address of the instruction code string is not a permitted address, so the access control unit 238 prohibits writing of data to the register 236 (write instruction). Rejected).

演出制御部300では、電源オンコマンドを受信すると、図柄表示部104、音声制御部382およびランプ制御部386に対して、電源オン時の演出用の制御コマンド(具体的には、デモ画面の表示、ランプ384の点灯、音声の出力を指定するための制御コマンド)がそれぞれ送信される。   When the effect control unit 300 receives the power-on command, the effect display unit 104, the sound control unit 382, and the lamp control unit 386 receive the control command for the effect when the power is turned on (specifically, display of a demonstration screen). , The lighting of the lamp 384 and the control command for designating the output of sound) are transmitted respectively.

初期化処理が終了すると、主制御部200では、ステップS204〜S212を経て、入賞判定処理、大当たり判定処理、電動役物制御処理および制御コマンド送信処理が所定周期で繰り返し実行される。これにより、パチンコ機は、遊技可能な状態となる。遊技者は、貸し出しを受けた遊技球をパチンコ機に装填し、発射部482を操作して遊技球を遊技盤101に発射することにより遊技を行うことができる。   When the initialization process is completed, the main control unit 200 repeatedly performs a winning determination process, a jackpot determination process, an electric accessory control process, and a control command transmission process at predetermined intervals through steps S204 to S212. As a result, the pachinko machine is in a playable state. A player can play a game by loading a rented game ball into a pachinko machine and operating the launch unit 482 to fire the game ball onto the game board 101.

遊技者により発射された遊技球が始動入賞口105に入賞すると、主制御部200では、ステップS506、S512を経て、その入賞タイミングで大当たり決定乱数が取得される。そして、ステップS604、S606を経て、取得された乱数値が大当たり値と一致していれば、大当たりとなる。   When the game ball launched by the player wins the start winning opening 105, the main control unit 200 obtains a jackpot determination random number at the winning timing through steps S506 and S512. Then, after steps S604 and S606, if the acquired random number value matches the jackpot value, the jackpot is won.

大当たりとなると、ステップS610、S612を経て、大当たり時の停止図柄の態様および変動パターンが決定される。このとき、リーチ演出を行うことが決定されると、制御コマンド送信処理では、大当たり図柄を指定するための図柄指定コマンドおよび大当たりリーチコマンドが送信される。大当たりリーチコマンドは、電源オンコマンド以外の制御コマンドであるので、命令コード列およびアドレスが付加されることなく演出制御部300にそのまま送信される。   When the jackpot is reached, the stop symbol mode and the variation pattern at the jackpot are determined through steps S610 and S612. At this time, when it is determined to perform the reach effect, in the control command transmission process, a symbol designation command for designating a jackpot symbol and a jackpot reach command are transmitted. Since the jackpot reach command is a control command other than the power-on command, the command code string and the address are not added to the effect control unit 300 as they are.

演出制御部300では、大当たりリーチコマンドを受信すると、ステップS902〜S912を経て、受信した大当たりリーチコマンドに基づいて大当たりリーチ変動時の処理が実行される。   When receiving the jackpot reach command, the effect control unit 300 performs steps S902 to S912 and executes processing when the jackpot reach changes based on the received jackpot reach command.

主制御部200では、ステップS614、S624を経て、所定の変動パターンで演出図柄を変動表示させ、演出図柄の一部をリーチ図柄で停止させた後に大当たり図柄で演出図柄を停止させる。演出図柄が停止すると、制御コマンド送信処理では、大当たり開始コマンドが送信される。大当たり開始コマンドは、電源オンコマンド以外の制御コマンドであるので、命令コード列およびアドレスが付加されることなく演出制御部300にそのまま送信される。   In step S614 and S624, the main control unit 200 displays the effect symbols in a predetermined variation pattern, stops a portion of the effect symbols in the reach symbol, and then stops the effect symbol in the jackpot symbol. When the effect symbol stops, a jackpot start command is transmitted in the control command transmission process. Since the jackpot start command is a control command other than the power-on command, it is transmitted as it is to the effect control unit 300 without adding an instruction code string and an address.

演出制御部300では、大当たり開始コマンドを受信すると、ステップS1002を経て、受信した大当たり開始コマンドに基づいて大当たり演出開始時の処理が実行される。   When the effect control unit 300 receives the jackpot start command, the process at the time of starting the jackpot effect is executed based on the received jackpot start command through step S1002.

大当たり中は、最大ラウンド数を上限として所定条件を満たすまでラウンドが継続される。制御コマンド送信処理では、ラウンドの開始時および終了時に大当たりコマンドが送信される。大当たりコマンドは、電源オンコマンド以外の制御コマンドであるので、命令コード列およびアドレスが付加されることなく演出制御部300にそのまま送信される。   During the big hit, the round continues until the predetermined condition is satisfied with the maximum number of rounds as the upper limit. In the control command transmission process, a jackpot command is transmitted at the start and end of a round. Since the jackpot command is a control command other than the power-on command, it is transmitted as it is to the effect control unit 300 without adding an instruction code string and an address.

演出制御部300では、大当たりコマンドを受信すると、ステップS906、S910を経て、受信した大当たりコマンドに基づいて大当たり演出中の処理が実行される。   When the effect control unit 300 receives the jackpot command, the process during the jackpot effect is executed based on the received jackpot command through steps S906 and S910.

また、大当たり中は、大入賞口109が所定の開閉パターンで開放し、大入賞口109に遊技球が入賞すると、遊技球1個につき所定数の遊技球が賞球として払い出される。   In addition, during the big hit, the big winning opening 109 is opened with a predetermined opening / closing pattern, and when a gaming ball wins the big winning opening 109, a predetermined number of gaming balls are paid out as one winning ball.

そして、最終ラウンドが終了すると、制御コマンド送信処理では、大当たり終了コマンドが送信される。大当たり終了コマンドは、電源オンコマンド以外の制御コマンドであるので、命令コード列およびアドレスが付加されることなく演出制御部300にそのまま送信される。   When the final round ends, a jackpot end command is transmitted in the control command transmission process. Since the jackpot end command is a control command other than the power-on command, it is transmitted as it is to the effect control unit 300 without adding an instruction code string and an address.

演出制御部300では、大当たり終了コマンドを受信すると、ステップS1014を経て、受信した大当たり終了コマンドに基づいて大当たり演出終了時の処理が実行される。   In the effect control unit 300, when the jackpot end command is received, the process at the end of the jackpot effect is executed based on the received jackpot end command through step S1014.

一方、ステップS604、S606を経て、取得された乱数値が大当たり値と一致しなければ、はずれとなる。   On the other hand, if the random number obtained through steps S604 and S606 does not match the jackpot value, the result is a loss.

はずれとなると、ステップS618、S620を経て、はずれ時の停止図柄の態様および変動パターンが決定される。このとき、リーチ演出を行うことが決定されると、制御コマンド送信処理では、はずれ図柄(または、はずれ図柄となる旨)を指定するための図柄指定コマンドおよびはずれリーチコマンドが送信される。これに対し、リーチ演出を行わないことが決定されると、制御コマンド送信処理では、同図柄指定コマンドおよびはずれ非リーチコマンドが送信される。はずれリーチコマンドまたははずれ非リーチコマンドは、電源オンコマンド以外の制御コマンドであるので、命令コード列およびアドレスが付加されることなく演出制御部300にそのまま送信される。   When it comes off, through steps S618 and S620, the stop symbol mode and the fluctuation pattern at the time of loss are determined. At this time, when it is determined to perform the reach effect, in the control command transmission process, a symbol designating command and a missed reach command for designating a missed symbol (or an effect of becoming a missed symbol) are transmitted. On the other hand, when it is determined not to perform the reach effect, the symbol designation command and the off-reach non-reach command are transmitted in the control command transmission process. Since the outlier reach command or the outlier non-reach command is a control command other than the power-on command, the command code string and the address are not added to the effect control unit 300 as they are.

演出制御部300では、はずれリーチコマンドまたははずれ非リーチコマンドを受信すると、ステップS902〜S912を経て、受信したはずれリーチコマンドまたははずれ非リーチコマンドに基づいてはずれ変動時の処理が実行される。   In the production control unit 300, when an outlier reach command or an outlier nonreach command is received, through steps S902 to S912, processing at the time of deviation fluctuation is executed based on the received outlier reach command or outlier nonreach command.

一方、遊技が中断されると、主制御部200では、客待ちデモ実行処理が実行される。そして、制御コマンド送信処理では、客待ちデモコマンドが送信される。客待ちデモコマンドは、電源オンコマンド以外の制御コマンドであるので、命令コード列およびアドレスが付加されることなく演出制御部300にそのまま送信される。   On the other hand, when the game is interrupted, the main control unit 200 executes a customer waiting demonstration execution process. In the control command transmission process, a customer waiting demo command is transmitted. Since the customer waiting demonstration command is a control command other than the power-on command, it is transmitted as it is to the effect control unit 300 without adding an instruction code string and an address.

演出制御部300では、客待ちデモコマンドを受信すると、客待ちデモ開始時の処理として、図柄表示部104、音声制御部382およびランプ制御部386に対して客待ちデモ用の制御コマンドがそれぞれ送信される。   When the production control unit 300 receives the customer waiting demonstration command, the customer waiting demonstration control command is transmitted to the symbol display unit 104, the voice control unit 382, and the lamp control unit 386 as processing at the time of the customer waiting demonstration start. Is done.

その後、遊技が再開されると、制御コマンド送信処理では、客待ちデモ停止コマンドが送信される。客待ちデモ停止コマンドは、電源オンコマンド以外の制御コマンドであるので、命令コード列およびアドレスが付加されることなく演出制御部300にそのまま送信される。   Thereafter, when the game is resumed, a customer waiting demonstration stop command is transmitted in the control command transmission process. Since the customer waiting demonstration stop command is a control command other than the power-on command, it is transmitted as it is to the effect control unit 300 without adding an instruction code string and an address.

演出制御部300では、客待ちデモ停止コマンドを受信すると、客待ちデモ終了時の処理として、図柄表示部104、音声制御部382およびランプ制御部386に対して客待ちデモ用の制御コマンドがそれぞれ送信される。   When the production control unit 300 receives the customer waiting demonstration stop command, a control command for the customer waiting demonstration is sent to the symbol display unit 104, the voice control unit 382, and the lamp control unit 386 as processing at the time of the customer waiting demonstration end. Sent.

〔本実施の形態の効果〕
このようにして、本実施の形態では、アクセス制御装置230は、レジスタ234、236と、CPUコア203が実行する命令コード列およびそのアドレスをI/F212から入力する入力部231と、入力部231で入力した命令コード列およびアドレスに基づいて、CPU202によるレジスタ234、236へのアクセスを制御するアクセス制御部238とを備える。
[Effect of this embodiment]
In this way, in the present embodiment, the access control device 230 includes the registers 234 and 236, the input code 231 executed by the CPU core 203 and its address from the I / F 212, and the input module 231. And an access control unit 238 for controlling the access to the registers 234 and 236 by the CPU 202 based on the instruction code string and the address input in (1).

これにより、レジスタ234、236のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正行為やエラーに起因する不正動作が行われる可能性を低減することができる。また、CPU202とは別体のアクセス制御装置230がアクセス制御機能を実現するので、CPUコア203自体が不正動作検出処理を行う必要がなく、従来に比して、開発や設計の難易度が高くなることを抑制することができる。さらに、命令コード列およびそのアドレスに基づいてアクセスが制御されるので、ROM204と同等容量のテーブルを用意する必要がなく、従来に比して、データ容量が増大することを抑制することができる。   This can reduce the possibility that the data in the registers 234 and 236 will be illegally rewritten or read out, thereby reducing the possibility that an illegal operation or an illegal operation due to an error will be performed. . In addition, since the access control device 230 that is separate from the CPU 202 realizes the access control function, the CPU core 203 itself does not need to perform unauthorized operation detection processing, and is more difficult to develop and design than in the past. It can be suppressed. Furthermore, since access is controlled based on the instruction code string and its address, it is not necessary to prepare a table having the same capacity as the ROM 204, and an increase in data capacity can be suppressed as compared with the conventional case.

さらに、DIP等からなるワンチップ型のマイクロプロセッサであるCPU202を採用する場合において、CPUコア203が不正動作検出処理を行う構成では、CPU202が丸ごと交換されるような不正行為が行われると、CPUコア203自体が交換されてしまうことになるので、CPU202の正当性を認証することはできない。これに対し、本実施の形態は、アクセス制御装置230がCPU202とは別体に設けられているので、そのような不正行為が行われても、CPU202の正当性を認証することができる。   Further, in the case of adopting the CPU 202 that is a one-chip type microprocessor made of DIP or the like, in a configuration in which the CPU core 203 performs an unauthorized operation detection process, if an unauthorized action is performed such that the entire CPU 202 is replaced, the CPU Since the core 203 itself is exchanged, the validity of the CPU 202 cannot be authenticated. On the other hand, in this embodiment, since the access control device 230 is provided separately from the CPU 202, the legitimacy of the CPU 202 can be authenticated even if such an illegal act is performed.

さらに、DIP等からなるワンチップ型のマイクロプロセッサであるCPU202を採用する場合において、アクセス制御装置230のアクセス制限機能を実現する回路等をCPU202に内蔵する構成では、CPU202を新たに開発、設計等しなければならず、既存のCPUには適用することができない。これに対し、本実施の形態では、アクセス制御装置230をCPU202に接続するだけでよいので、既存のCPUにも適用することができる。   Further, in the case where the CPU 202 which is a one-chip type microprocessor made of DIP or the like is employed, the CPU 202 is newly developed, designed, etc. in the configuration in which the circuit for realizing the access restriction function of the access control device 230 is built in the CPU 202. And must not be applied to existing CPUs. On the other hand, in this embodiment, it is only necessary to connect the access control device 230 to the CPU 202, so that the present invention can also be applied to an existing CPU.

さらに、本実施の形態では、主制御部200は、アクセス制御装置230へのアクセスのためにCPUコア203が実行する命令コード列およびそのアドレスを電源オンコマンドに付加して出力する。   Further, in the present embodiment, the main control unit 200 adds an instruction code sequence executed by the CPU core 203 for accessing the access control device 230 and its address to the power-on command and outputs it.

これにより、電源オンコマンドは、パチンコ機の電源の投入時やリセット時など、パチンコ機の初期化処理時に送信される。初期化処理は、遊技制御処理とは異なる処理区分に分類される。そのため、初期化処理時に接続機器の認証を行うようにすれば、遊技制御処理時に認証を行う場合に比して、プログラム設計やテストにかかる工程(工数)を低減することができ、開発コストや品質管理の面で有利となる。   As a result, the power-on command is transmitted during the initialization process of the pachinko machine, such as when the pachinko machine is powered on or reset. The initialization process is classified into a process category different from the game control process. Therefore, if the connected device is authenticated during the initialization process, the process (man-hours) required for program design and testing can be reduced compared to the case where authentication is performed during the game control process, and development costs and This is advantageous in terms of quality control.

さらに、電源オンコマンドの送信時である初期化処理時に接続機器の認証が行われるので、例えば、パチンコホールが閉店した後に不正行為が行われても、遊技客が入店する前に不正行為を検出することができる。したがって、不正行為が行われる可能性を効果的に低減することができる。   In addition, since the connected device is authenticated during the initialization process, which is the time when the power-on command is transmitted, for example, even if a fraudulent act is performed after the pachinko hall is closed, a fraudulent act is performed before the player enters the store. Can be detected. Therefore, it is possible to effectively reduce the possibility of fraud.

さらに、電源オンコマンドの送信時に接続機器の認証が行われるので、各制御コマンドの送信ごとに認証を行う場合に比して、主制御部200および演出制御部300の処理負荷を低減することができる。したがって、主制御部200または演出制御部300が高い処理能力を有していないパチンコ機や、処理負荷が大きいパチンコ機に対しても適用することができる。   Furthermore, since the connected device is authenticated when the power-on command is transmitted, the processing load on the main control unit 200 and the effect control unit 300 can be reduced as compared with the case where the authentication is performed every time each control command is transmitted. it can. Therefore, the present invention can also be applied to a pachinko machine in which the main control unit 200 or the production control unit 300 does not have a high processing capacity or a pachinko machine with a large processing load.

さらに、命令コード列およびアドレスを電源コマンドに付加して出力するので、命令コード列およびアドレスを単体で出力する場合に比して、通信データ中から命令コード列およびアドレスが抽出される可能性を低減することができる。   Furthermore, since the instruction code string and address are added to the power supply command and output, the possibility of extracting the instruction code string and address from the communication data is greater than when the instruction code string and address are output alone. Can be reduced.

さらに、本実施の形態では、アクセス制御部238は、入力部231で入力した命令コード列が許可命令コード列であり、かつ、その命令コード列のアドレスが許可アドレスであるときにのみ、レジスタ234、236へのアクセスを許可する。   Further, in the present embodiment, the access control unit 238 only registers the register 234 when the instruction code string input from the input unit 231 is a permitted instruction code string and the address of the instruction code string is a permitted address. 236 is permitted.

これにより、不正に書き換えられた命令コード列、ビットエラーによって内容が変化した命令コード列、または不正なアドレスに記憶された命令コード列が実行されることにより、レジスタ234、236のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができる。   As a result, an illegally rewritten instruction code string, an instruction code string whose contents have been changed due to a bit error, or an instruction code string stored at an illegal address are executed, whereby the data in the registers 234 and 236 are illegally stored. Since the possibility of being rewritten or read can be reduced, the possibility of an unauthorized operation can be further reduced.

さらに、本実施の形態では、アクセス制御装置230によるアクセス制御の状況に応じて不正通知を行う。   Further, in the present embodiment, fraud notification is performed according to the status of access control by the access control device 230.

これにより、不正動作が行われた可能性があることを把握することができる。   Thereby, it is possible to grasp that there is a possibility that an illegal operation has been performed.

さらに、本実施の形態では、主制御部200のCPU202にアクセス制御装置230を適用した。   Further, in this embodiment, the access control device 230 is applied to the CPU 202 of the main control unit 200.

これにより、主制御部200のCPU202が不正動作する可能性を低減することができる。主制御部200は、遊技の根幹となる主制御を行っているので、セキュリティ効果が高い。   Thereby, possibility that CPU202 of the main-control part 200 will operate | move illegally can be reduced. Since the main control unit 200 performs main control that is the basis of the game, the security effect is high.

上記第1の実施の形態において、図柄表示部104は、発明1の図柄表示手段に対応し、CPU202は、発明1、5、11または12のデータ処理装置に対応し、CPUコア203は、発明1、4、5、11または12のデータ処理手段に対応し、ROM204は、発明5の命令コード記憶手段に対応している。また、I/F210およびステップS410、S420、S434、S442、S454は、発明1の送信手段に対応し、ステップS410、S420、S434、S442、S454は、発明12の送信ステップに対応し、I/F212およびステップS410、S420、S434、S442は、発明1、4、5、11または12の出力手段に対応している。   In the first embodiment, the symbol display unit 104 corresponds to the symbol display means of the invention 1, the CPU 202 corresponds to the data processing device of the invention 1, 5, 11 or 12, and the CPU core 203 corresponds to the invention. Corresponding to the data processing means 1, 4, 5, 11 or 12, the ROM 204 corresponds to the instruction code storage means of the invention 5. Further, the I / F 210 and steps S410, S420, S434, S442, and S454 correspond to the transmission means of the invention 1, steps S410, S420, S434, S442, and S454 correspond to the transmission step of the invention 12, and the I / F F212 and steps S410, S420, S434, and S442 correspond to the output means of the invention 1, 4, 5, 11, or 12.

また、上記第1の実施の形態において、ステップS410、S420、S434、S442は、発明12の出力ステップに対応し、I/F310およびステップS900、S910、S1000、S1004、S1008、S1012は、発明1の受信手段に対応し、入力部231は、発明1、3ないし5の入力手段に対応している。また、レジスタ234、236は、発明1、3、11または12の記憶手段に対応し、アクセス制御部238およびステップS106〜S112、S120〜S126は、発明1、3または10のアクセス制御手段に対応し、ステップS106〜S112、S120〜S126は、発明11または12のアクセス制御ステップに対応している。   In the first embodiment, steps S410, S420, S434, and S442 correspond to the output steps of the invention 12, and the I / F 310 and steps S900, S910, S1000, S1004, S1008, and S1012 are the invention 1. The input unit 231 corresponds to the input means of the first, third, and fifth aspects. The registers 234 and 236 correspond to the storage means of the invention 1, 3, 11 or 12, and the access control unit 238 and steps S106 to S112 and S120 to S126 correspond to the access control means of the invention 1, 3 or 10. Steps S106 to S112 and S120 to S126 correspond to the access control step of Invention 11 or 12.

また、上記第1の実施の形態において、ステップS512、S514、S604、S606は、発明1の抽選手段に対応し、ステップS610、S612、S624は、発明1の特賞状態発生手段に対応し、ステップS614は、発明1の変動表示制御手段に対応している。   In the first embodiment, steps S512, S514, S604, and S606 correspond to the lottery means of the invention 1, and steps S610, S612, and S624 correspond to the special prize state generating means of the invention 1. S614 corresponds to the variable display control means of the first aspect.

〔第2の実施の形態〕
次に、本発明の第2の実施の形態を図面を参照しながら説明する。図21ないし図23は、本発明に係る遊技機およびアクセス制御プログラム、並びに遊技制御方法の第2の実施の形態を示す図である。
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 21 to FIG. 23 are diagrams showing a second embodiment of the gaming machine, the access control program, and the game control method according to the present invention.

本実施の形態は、上記第1の実施の形態に対して、アクセス制御部238が、CPUコア203が実行する命令コード列およびそのアドレスに加えて、命令コード列から算出されたチェック値に基づいてアクセスを制御する点が異なる。なお、以下、上記第1の実施の形態と異なる部分についてのみ説明し、上記第1の実施の形態と重複する部分については同一の符号を付して説明を省略する。   The present embodiment is based on the check value calculated from the instruction code string in addition to the instruction code string and its address executed by the CPU core 203, compared to the first embodiment. The point of controlling access is different. Hereinafter, only the parts different from the first embodiment will be described, and the same parts as those in the first embodiment will be denoted by the same reference numerals and the description thereof will be omitted.

〔主制御部の構成〕
まず、主制御部200の構成を説明する。
[Configuration of main controller]
First, the configuration of the main control unit 200 will be described.

図21は、主制御部200の構成を示すブロック図である。   FIG. 21 is a block diagram illustrating a configuration of the main control unit 200.

CPU202は、図21に示すように、CPUコア203、ROM204、RAM206、セキュリティ検査回路208、I/F210、212およびタイマ214のほか、命令コード列からチェック値を算出するチェック値算出部218を有して構成されている。これらは、バス216を介して相互に接続されている。   As shown in FIG. 21, the CPU 202 includes a CPU core 203, ROM 204, RAM 206, security inspection circuit 208, I / F 210, 212, and timer 214, and a check value calculation unit 218 that calculates a check value from an instruction code string. Configured. These are connected to each other via a bus 216.

チェック値算出部218は、命令コード列をROM204から取得する。そして、取得した命令コード列から、命令コード列の正当性を検査するチェック値を算出する。チェック値は、アクセス制御部238によるアクセス制御に用いられる。ここで、チェック値とは、ROM204に記憶された一部若しくはすべての命令コード若しくは命令コード列、1つの命令コードの一部またはそれらの組み合わせから算出される値である。チェック値算出部218は、例えば、ROM204に記憶されたすべての命令コード列に対して、ハッシュ関数による演算、パリティチェック、巡回冗長検査(CRC(Cyclic Redundancy
Check))またはチェックサム等の誤り検出演算を行ってチェック値を算出する。このように、チェック値は、ROM204に実際に記憶されている命令コード列から算出される。したがって、チェック値を用いて照合を行うことにより、ROM204に記憶された命令コード列の不正な書き換えや、ROM204の不正な差し替え等を検出することができる。
The check value calculation unit 218 acquires an instruction code string from the ROM 204. Then, a check value for checking the validity of the instruction code string is calculated from the acquired instruction code string. The check value is used for access control by the access control unit 238. Here, the check value is a value calculated from a part or all of the instruction code or instruction code string stored in the ROM 204, a part of one instruction code, or a combination thereof. The check value calculation unit 218, for example, performs an operation using a hash function, parity check, and cyclic redundancy check (CRC (Cyclic Redundancy) on all instruction code strings stored in the ROM 204.
Check)) or error detection calculation such as checksum is performed to calculate a check value. As described above, the check value is calculated from the instruction code string actually stored in the ROM 204. Therefore, by performing verification using the check value, it is possible to detect unauthorized rewriting of the instruction code sequence stored in the ROM 204, unauthorized replacement of the ROM 204, and the like.

入力部231は、電源オンコマンドに付加されている、CPUコア203が実行する命令コード列およびそのアドレス、並びにチェック値算出部218で算出したチェック値をI/F212から入力する。このとき、チェック値を複数に分割して入力してもよい。この場合、各分割データを結合することによりチェック値を複合する。   The input unit 231 inputs from the I / F 212 the instruction code sequence executed by the CPU core 203 and its address, which is added to the power-on command, and the check value calculated by the check value calculation unit 218. At this time, the check value may be divided and input. In this case, the check values are combined by combining the divided data.

アクセス制御部238は、入力部231で入力した命令コード列が許可命令コード列であり、かつ、その命令コード列のアドレスが許可アドレスであり、かつ、入力部231で入力したチェック値がチェック値の期待値と所定関係にあるときにのみ、レジスタ234、236へのアクセスを許可する。所定関係とは、例えば、チェック値が期待値と一致していること、チェック値および期待値の一方を所定の演算方法により演算した演算値が他方と一致していること、チェック値および期待値に大小関係その他の相関関係があることをいう。このように、命令コード列およびアドレスの照合と、チェック値の照合とを組み合わせることにより、不正動作が行われる可能性をさらに低減することができる。   In the access control unit 238, the instruction code string input from the input unit 231 is a permitted instruction code string, the address of the instruction code string is a permitted address, and the check value input from the input unit 231 is a check value. Access to the registers 234 and 236 is permitted only when there is a predetermined relationship with the expected value. The predetermined relationship is, for example, that the check value matches the expected value, that the calculated value obtained by calculating one of the check value and the expected value by the predetermined calculation method matches the other, the check value and the expected value Means that there is a magnitude relationship or other correlation. In this way, by combining the collation of the instruction code string and address with the collation of the check value, the possibility of an illegal operation can be further reduced.

アクセス制御部238が照合に用いる期待値は、例えば、あらかじめ(製造時等)アクセス制御部238に記憶させておく。また、アクセス制御部238が照合に用いる期待値を、他の構成部からアクセス制御部238に送信してもよい。他の構成部とは、例えば、CPUコア203やチェック値の期待値を生成するための専用の処理部(以下、期待値算出部という。)である。CPUコア203や期待値算出部は、あらかじめ記憶されている期待値をアクセス制御部238に送信してもよいし、照合処理ごとに期待値を生成してもよい。また、I/F210を介して、外部の機器からCPUコア203や期待値算出部に期待値を算出するために必要な係数等を受信してもよい。このように、アクセス制御部238に、あらかじめ期待値を記憶させずに、他の構成部から入力することとすれば、ROM204のチェック値を後発的に変更することが可能となる。   The expected value used by the access control unit 238 for verification is stored in the access control unit 238 in advance (for example, at the time of manufacture). In addition, an expected value used for collation by the access control unit 238 may be transmitted to the access control unit 238 from another component unit. The other components are, for example, a CPU core 203 and a dedicated processing unit (hereinafter referred to as an expected value calculation unit) for generating an expected value of a check value. The CPU core 203 and the expected value calculation unit may transmit an expected value stored in advance to the access control unit 238, or may generate an expected value for each matching process. Further, a coefficient or the like necessary for calculating an expected value may be received from an external device via the I / F 210 to the CPU core 203 or the expected value calculation unit. As described above, if the expected value is not stored in advance in the access control unit 238 and is input from another component unit, the check value of the ROM 204 can be changed later.

〔チェック値算出処理〕
次に、チェック値算出部218で実行されるチェック値算出処理を説明する。
[Check value calculation processing]
Next, a check value calculation process executed by the check value calculation unit 218 will be described.

図22は、チェック値算出処理を示すフローチャートである。   FIG. 22 is a flowchart showing the check value calculation process.

チェック値算出部218は、チェック値算出処理を実行すると、図22に示すように、まず、ステップS1100に移行する。   When executing the check value calculation process, the check value calculation unit 218 first proceeds to step S1100 as shown in FIG.

ステップS1100では、アクセス制御部238からチェック値の取得要求を受信したか否かを判定し、チェック値の取得要求を受信したと判定したとき(Yes)は、ステップS1102に移行するが、そうでないと判定したとき(No)は、チェック値の取得要求を受信するまでステップS1100で待機する。   In step S1100, it is determined whether a check value acquisition request has been received from the access control unit 238. When it is determined that a check value acquisition request has been received (Yes), the process proceeds to step S1102, but this is not the case. (No), the process waits in step S1100 until a check value acquisition request is received.

ステップS1102では、ROM204から命令コード列を読み出し、ステップS1104に移行して、読み出した命令コード列に対して上記誤り検出演算を行ってチェック値を算出し、ステップS1106に移行して、算出したチェック値をアクセス制御部238に送信し、チェック値算出処理を終了する。   In step S1102, the instruction code string is read from the ROM 204, the process proceeds to step S1104, the above error detection calculation is performed on the read instruction code string, the check value is calculated, the process proceeds to step S1106, and the calculated check The value is transmitted to the access control unit 238, and the check value calculation process ends.

〔アクセス制御処理〕
次に、アクセス制御部238で実行されるアクセス制御処理を説明する。
[Access control processing]
Next, an access control process executed by the access control unit 238 will be described.

図23は、アクセス制御処理を示すフローチャートである。   FIG. 23 is a flowchart showing the access control process.

アクセス制御部238は、アクセス制御処理を実行すると、図23に示すように、まず、ステップS1200に移行する。   When executing the access control process, the access control unit 238 first proceeds to step S1200 as shown in FIG.

ステップS1200では、レジスタ234、236に対するリード要求をI/F212から入力したか否かを判定し、リード要求を入力したと判定したとき(Yes)は、ステップS1202に移行する。   In step S1200, it is determined whether or not a read request for the registers 234 and 236 is input from the I / F 212. When it is determined that a read request is input (Yes), the process proceeds to step S1202.

ステップS1202では、電源オンコマンドをI/F212から入力したか否かを判定し、電源オンコマンドを入力したと判定したとき(Yes)は、ステップS1204に移行するが、そうでないと判定したとき(No)は、電源オンコマンドを入力するまでステップS1202で待機する。   In step S1202, it is determined whether or not a power-on command is input from the I / F 212. When it is determined that a power-on command is input (Yes), the process proceeds to step S1204, but when it is determined that it is not ( No) waits in step S1202 until a power-on command is input.

ステップS1204では、CPUコア203が実行する命令コード列およびそのアドレスを入力部231から入力し、ステップS1206に移行する。   In step S1204, the instruction code string executed by the CPU core 203 and its address are input from the input unit 231 and the process proceeds to step S1206.

ステップS1206では、入力した命令コード列が許可命令コード列であるか否かを判定し、許可命令コード列であると判定したとき(Yes)は、ステップS1208に移行して、入力したアドレスが許可アドレスであるか否かを判定し、許可アドレスであると判定したとき(Yes)は、ステップS1210に移行する。   In step S1206, it is determined whether or not the input instruction code string is a permitted instruction code string. If it is determined that the input instruction code string is a permitted instruction code string (Yes), the process proceeds to step S1208, and the input address is permitted. It is determined whether or not it is an address, and when it is determined that the address is a permitted address (Yes), the process proceeds to step S1210.

ステップS1210では、チェック値の取得要求をチェック値算出部218に送信し、ステップS1212に移行して、その応答としてチェック値を入力部231から入力し、ステップS1214に移行する。   In step S1210, a check value acquisition request is transmitted to the check value calculation unit 218, the process proceeds to step S1212, the check value is input from the input unit 231 as a response, and the process proceeds to step S1214.

ステップS1214では、アクセス制御部238に記憶されている期待値を読み出したしたり、CPUコア203や期待値算出部が生成した期待値を受信したりすることによりチェック値の期待値を取得し、ステップS1216に移行する。   In step S1214, the expected value of the check value is acquired by reading the expected value stored in the access control unit 238 or by receiving the expected value generated by the CPU core 203 or the expected value calculating unit. The process proceeds to step S1216.

ステップS1216では、入力したチェック値が、入力した期待値と一致しているか否かを判定し、チェック値が期待値と一致していると判定したとき(Yes)は、ステップS1218に移行する。   In step S1216, it is determined whether or not the input check value matches the input expected value. If it is determined that the check value matches the expected value (Yes), the process proceeds to step S1218.

ステップS1218では、レジスタ234、236が保持しているデータを読み出し、ステップS1220に移行して、読み出したデータをI/F212に出力する。出力されたデータは、I/F212を介してCPUコア203のレジスタ203cに保持される。   In step S1218, the data held in the registers 234 and 236 are read, the process proceeds to step S1220, and the read data is output to the I / F 212. The output data is held in the register 203c of the CPU core 203 via the I / F 212.

次いで、ステップS1222に移行して、レジスタ236に対するライト要求をI/F212から入力したか否かを判定し、ライト要求を入力したと判定したとき(Yes)は、ステップS1224に移行する。   Next, the process proceeds to step S1222, where it is determined whether a write request for the register 236 is input from the I / F 212. When it is determined that a write request is input (Yes), the process proceeds to step S1224.

ステップS1224では、電源オンコマンドをI/F212から入力したか否かを判定し、電源オンコマンドを入力したと判定したとき(Yes)は、ステップS1226に移行するが、そうでないと判定したとき(No)は、電源オンコマンドを入力するまでステップS1224で待機する。   In step S1224, it is determined whether or not a power-on command is input from the I / F 212. When it is determined that a power-on command is input (Yes), the process proceeds to step S1226, but when it is determined that it is not ( No) waits in step S1224 until a power-on command is input.

ステップS1226では、CPUコア203が実行する命令コード列およびそのアドレスを入力部231から入力し、ステップS1228に移行する。   In step S1226, the instruction code string executed by the CPU core 203 and its address are input from the input unit 231 and the process proceeds to step S1228.

ステップS1228では、入力した命令コード列が許可命令コード列であるか否かを判定し、許可命令コード列であると判定したとき(Yes)は、ステップS1230に移行して、入力したアドレスが許可アドレスであるか否かを判定し、許可アドレスであると判定したとき(Yes)は、ステップS1232に移行する。   In step S1228, it is determined whether or not the input instruction code string is a permitted instruction code string. When it is determined that the input instruction code string is a permitted instruction code string (Yes), the process proceeds to step S1230 and the input address is permitted. It is determined whether the address is an address, and when it is determined that the address is a permitted address (Yes), the process proceeds to step S1232.

ステップS1232〜S1236では、ステップS1210〜S1214と同様の処理を実行し、ステップS1238に移行する。   In steps S1232 to S1236, processing similar to that in steps S1210 to S1214 is executed, and the process proceeds to step S1238.

ステップS1238では、チェック値が期待値と一致しているか否かを判定し、チェック値が期待値と一致していると判定したとき(Yes)は、ステップS1240に移行する。   In step S1238, it is determined whether or not the check value matches the expected value. If it is determined that the check value matches the expected value (Yes), the process proceeds to step S1240.

ステップS1240では、CPUコア203のレジスタ203cが保持しているデータをI/F212から入力し、ステップS1242に移行して、入力したデータをレジスタ236に書き込み、アクセス制御処理を終了する。   In step S1240, the data held in the register 203c of the CPU core 203 is input from the I / F 212, the process proceeds to step S1242, the input data is written in the register 236, and the access control process ends.

一方、ステップS1238で、チェック値が期待値と一致していないと判定したとき(No)、ステップS1230で、許可アドレスでないと判定したとき(No)、ステップS1228で、許可命令コード列でないと判定したとき(No)、およびステップS1222で、ライト要求を入力しないと判定したとき(No)はいずれも、レジスタ236にデータを書き込まずに、アクセス制御処理を終了する。このとき、CPUコア203は、アクセス制御装置230からの通知を受け、不正通知を行ってもよい。   On the other hand, when it is determined at step S1238 that the check value does not match the expected value (No), when it is determined at step S1230 that it is not a permitted address (No), it is determined at step S1228 that it is not a permitted instruction code string. If it is determined (No) and if it is determined in step S1222 that the write request is not input (No), the access control process is terminated without writing data to the register 236. At this time, the CPU core 203 may receive a notification from the access control device 230 and perform an unauthorized notification.

一方、ステップS1216で、チェック値が期待値と一致していないと判定したとき(No)、ステップS1208で、許可アドレスでないと判定したとき(No)、ステップS1206で、許可命令コード列でないと判定したとき(No)、およびステップS1200で、リード要求を入力しないと判定したとき(No)はいずれも、レジスタ234、236が保持しているデータをI/F212に出力せずに、ステップS1222に移行する。このとき、CPUコア203のレジスタ203cに非正当値が保持されるが、その値が所定値である場合、CPUコア203は、不正通知を行ってもよい。   On the other hand, when it is determined in step S1216 that the check value does not match the expected value (No), when it is determined in step S1208 that it is not a permitted address (No), it is determined in step S1206 that it is not a permitted instruction code string. (No) and when it is determined in step S1200 that no read request is input (No), the data held in the registers 234 and 236 is not output to the I / F 212, and the process returns to step S1222. Transition. At this time, the illegal value is held in the register 203c of the CPU core 203. However, when the value is a predetermined value, the CPU core 203 may make an unauthorized notification.

〔本実施の形態の効果〕
このようにして、本実施の形態では、CPU202は、ROM204に記憶された命令コード列からチェック値を算出するチェック値算出部218を備え、アクセス制御部238は、入力部231で入力した命令コード列が許可命令コード列であり、かつ、その命令コード列のアドレスが許可アドレスであり、かつ、入力部231で入力したチェック値がチェック値の期待値と所定関係にあるときにのみ、レジスタ234、236へのアクセスを許可する。
[Effect of this embodiment]
Thus, in this embodiment, the CPU 202 includes the check value calculation unit 218 that calculates the check value from the instruction code string stored in the ROM 204, and the access control unit 238 receives the instruction code input from the input unit 231. Only when the column is a permitted instruction code string, the address of the instruction code string is a permitted address, and the check value input by the input unit 231 has a predetermined relationship with the expected value of the check value, the register 234 236 is permitted.

これにより、ROM204に記憶された命令コード列が不正に書き換えられたことを検出することができる。また、命令コード列およびアドレスの照合と、チェック値の照合とを組み合わせることにより、不正動作が行われる可能性をさらに低減することができる。なお、チェック値の照合は、命令コード列およびアドレスの照合と組み合わせて行うので、チェック値の算出に比較的処理負荷が軽い誤り検出演算(例えば、パリティチェック)を用いても、一定の精度を得ることができる。   Thereby, it can be detected that the instruction code string stored in the ROM 204 has been illegally rewritten. Further, by combining the collation of the instruction code string and address with the collation of the check value, the possibility of an illegal operation can be further reduced. Note that check value verification is performed in combination with instruction code string and address verification, so that even if an error detection operation (for example, parity check) with a relatively low processing load is used for calculation of the check value, a certain degree of accuracy can be obtained. Obtainable.

上記第2の実施の形態において、CPU202は、発明6のデータ処理装置に対応し、CPUコア203は、発明6のデータ処理手段に対応し、ROM204は、発明6の命令コード記憶手段に対応し、チェック値算出部218は、発明6の演算手段に対応している。また、入力部231は、発明6の入力手段に対応している。   In the second embodiment, the CPU 202 corresponds to the data processing device of the sixth aspect, the CPU core 203 corresponds to the data processing means of the sixth aspect, and the ROM 204 corresponds to the instruction code storage means of the sixth aspect. The check value calculation unit 218 corresponds to the calculation means of the sixth aspect. The input unit 231 corresponds to the input unit of the sixth aspect.

〔他の実施の形態〕
なお、上記第2の実施の形態において、アクセス制御装置230は、命令コード列からチェック値を算出するように構成したが、これに限らず、次の3つの構成を採用することができる。
(1)第1の構成
第1の構成は、命令コード列に代えて、ROM204に記憶されたデータ(以下、第1算出基礎データという。)からチェック値を算出する。第1算出基礎データとは、例えば、ROM204に記憶された所定の固定値である。なお、第1算出基礎データは、固定値に限らず、変動前後のデータ値を正確に予測可能な変動データであってもよい。変動前後のデータ値を正確に予測可能とは、具体的には、例えば、変動範囲が定まっている場合や変動規則が定まっている場合をいう。
[Other Embodiments]
In the second embodiment, the access control device 230 is configured to calculate the check value from the instruction code string. However, the present invention is not limited to this, and the following three configurations can be employed.
(1) First Configuration In the first configuration, a check value is calculated from data stored in the ROM 204 (hereinafter referred to as first calculation basic data) instead of an instruction code string. The first calculation basic data is, for example, a predetermined fixed value stored in the ROM 204. The first calculation basic data is not limited to a fixed value, and may be fluctuation data that can accurately predict data values before and after the fluctuation. To be able to accurately predict the data values before and after the fluctuation specifically refers to, for example, a case where the fluctuation range is fixed or a fluctuation rule is fixed.

チェック値算出部218は、第1算出基礎データをROM204から読み出し、読み出した第1算出基礎データからチェック値を算出する。   The check value calculation unit 218 reads the first calculation basic data from the ROM 204 and calculates the check value from the read first calculation basic data.

アクセス制御部238は、あらかじめ第1算出基礎データの期待値を記憶している。アクセス制御部238は、期待値からチェック値を算出し、入力部231で入力したチェック値が、算出したチェック値と所定関係にあるか否かを判定する。その他、入力部231で入力したチェック値が期待値と所定関係にあるか否かを判定してもよい。なお、命令コード列から算出したチェック値と、第1算出基礎データから算出したチェック値の両方に基づいてアクセス制御を行ってもよい。   The access control unit 238 stores the expected value of the first calculation basic data in advance. The access control unit 238 calculates a check value from the expected value, and determines whether the check value input by the input unit 231 has a predetermined relationship with the calculated check value. In addition, it may be determined whether the check value input by the input unit 231 has a predetermined relationship with the expected value. Note that access control may be performed based on both the check value calculated from the instruction code string and the check value calculated from the first calculation basic data.

これにより、ROM204が不正なものに交換されたことを検出することができる。   As a result, it is possible to detect that the ROM 204 has been replaced with an illegal one.

この場合において、CPU202は、発明7のデータ処理装置に対応し、CPUコア203は、発明7のデータ処理手段に対応し、ROM204は、発明7の命令コード記憶手段に対応し、チェック値算出部218は、発明7の演算手段に対応している。また、入力部231は、発明7の入力手段に対応している。
(2)第2の構成
第2の構成は、命令コード列に代えて、CPUコア203が実行する命令コード列の実行結果(以下、第2算出基礎データという。)からチェック値を算出する。第2算出基礎データとは、例えば、CPUコア203のフラグレジスタの値である。なお、第2算出基礎データは、フラグレジスタの値に限らず、命令コード列が正しく実行されたときに第1の値を返し、それ以外は第2の値を返す関数の戻り値であってもよい。
In this case, the CPU 202 corresponds to the data processing apparatus of the seventh invention, the CPU core 203 corresponds to the data processing means of the seventh invention, the ROM 204 corresponds to the instruction code storage means of the seventh invention, and the check value calculation unit Reference numeral 218 corresponds to the calculating means of the seventh aspect. The input unit 231 corresponds to the input unit of the seventh aspect.
(2) Second Configuration In the second configuration, a check value is calculated from an execution result of an instruction code sequence executed by the CPU core 203 (hereinafter referred to as second calculation basic data) instead of an instruction code sequence. The second calculation basic data is, for example, the value of the flag register of the CPU core 203. Note that the second calculation basic data is not limited to the value of the flag register, and is a return value of a function that returns the first value when the instruction code string is correctly executed, and otherwise returns the second value. Also good.

チェック値算出部218は、第2算出基礎データをフラグレジスタ等から取得し、取得した第2算出基礎データからチェック値を算出する。   The check value calculation unit 218 acquires second calculation basic data from a flag register or the like, and calculates a check value from the acquired second calculation basic data.

アクセス制御部238は、第1の構成の場合と同様に構成することができる。なお、第1算出基礎データから算出したチェック値にさらに基づいてアクセス制御を行ってもよい。   The access control unit 238 can be configured in the same manner as in the first configuration. Note that access control may be performed based on the check value calculated from the first calculation basic data.

また、第2算出基礎データからチェック値を算出せず、第2算出基礎データをそのまま用いてもよい。すなわち、アクセス制御部238は、入力部231で入力した命令コード列が許可命令コード列であり、かつ、その命令コード列のアドレスが許可アドレスであり、かつ、第2算出基礎データが所定値であるときにのみ、アクセスを許可する。   Further, the second calculation basic data may be used as it is without calculating the check value from the second calculation basic data. That is, the access control unit 238 has the instruction code string input from the input unit 231 as a permitted instruction code string, the address of the instruction code string is a permitted address, and the second calculation basic data is a predetermined value. Allow access only at certain times.

これにより、不正に書き換えられた命令コード列や、ビットエラーによって内容が変化した命令コード列が実行されることにより、レジスタ234、236のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができる。   As a result, there is a possibility that the data in the registers 234 and 236 may be illegally rewritten or read by executing an illegally rewritten instruction code string or an instruction code string whose contents have changed due to a bit error. Since it can reduce, possibility that an unauthorized operation will be performed can further be reduced.

この場合において、CPUコア203は、発明8のデータ処理手段に対応し、入力部231は、発明8の入力手段に対応している。
(3)第3の構成
第3の構成は、命令コード列に代えて、命令コード列のアドレス(以下、第3算出基礎データという。)からチェック値を算出する。
In this case, the CPU core 203 corresponds to the data processing means of the eighth aspect, and the input unit 231 corresponds to the input means of the eighth aspect.
(3) Third Configuration In the third configuration, a check value is calculated from the address of the instruction code string (hereinafter referred to as third calculation basic data) instead of the instruction code string.

チェック値算出部218は、第3算出基礎データをバス216等から取得し、取得した第3算出基礎データからチェック値を算出する。   The check value calculation unit 218 acquires third calculation basic data from the bus 216 or the like, and calculates a check value from the acquired third calculation basic data.

アクセス制御部238は、第1の構成の場合と同様に構成することができる。なお、第1算出基礎データおよび第2算出基礎データの一方または両方から算出したチェック値にさらに基づいてアクセス制御を行ってもよい。   The access control unit 238 can be configured in the same manner as in the first configuration. Note that access control may be performed based on a check value calculated from one or both of the first calculation basic data and the second calculation basic data.

また、上記第2の実施の形態において、アクセス許可条件は、入力部231で入力した命令コード列が許可命令コード列であり、かつ、その命令コード列のアドレスが許可アドレスであり、かつ、入力部231で入力したチェック値がチェック値の期待値と所定関係にあることとしたが、これに限らず、(1)入力部231で入力した命令コード列が許可命令コード列であること、(2)その命令コード列のアドレスが許可アドレスであること、(3)入力部231で入力したチェック値がチェック値の期待値と所定関係にあることのうちいずれか1つまたは任意の2つの組み合わせとすることもできる。第1算出基礎データまたは第2算出基礎データを用いる場合も、(1)〜(3)との任意の組み合わせでアクセス許可条件を設定することができる。また、上記第1の実施の形態においても、(1)または(2)でアクセス許可条件を設定することができる。   In the second embodiment, the access permission condition is that the instruction code string input by the input unit 231 is a permitted instruction code string, the address of the instruction code string is a permission address, and the input The check value input in the unit 231 has a predetermined relationship with the expected value of the check value. However, the present invention is not limited to this. (1) The instruction code string input in the input unit 231 is a permitted instruction code string. 2) that the address of the instruction code string is a permitted address, or (3) that the check value input by the input unit 231 has a predetermined relationship with the expected value of the check value, or any two combinations It can also be. Even when the first calculation basic data or the second calculation basic data is used, the access permission condition can be set in any combination with (1) to (3). Also in the first embodiment, the access permission condition can be set in (1) or (2).

また、上記第1および第2の実施の形態においては、アクセス制御装置230を主制御部200に設けたが、これに限らず、次の2つの構成を採用することができる。
(1)第1の構成
第1の構成は、アクセス制御装置230を演出制御部300に設けた構成である。
In the first and second embodiments, the access control device 230 is provided in the main control unit 200. However, the present invention is not limited to this, and the following two configurations can be employed.
(1) First Configuration The first configuration is a configuration in which the access control device 230 is provided in the effect control unit 300.

図24は、演出制御部300の構成を示すブロック図である。   FIG. 24 is a block diagram showing the configuration of the effect control unit 300. As shown in FIG.

演出制御部300は、図24に示すように、CPU302およびアクセス制御装置230を有して構成されている。   As shown in FIG. 24, the effect control unit 300 includes a CPU 302 and an access control device 230.

CPU302は、DIP等からなるワンチップ型のマイクロプロセッサであって、CPUコア303、ROM304、RAM306、VRAM308、I/F310および演出関連デバイス群314のほか、外部装置との入出力を行うI/F312を有して構成されている。これらは、バス316を介して相互に接続されている。   The CPU 302 is a one-chip type microprocessor composed of a DIP or the like, and an I / F 312 that performs input / output with an external device in addition to the CPU core 303, the ROM 304, the RAM 306, the VRAM 308, the I / F 310, and the effect related device group 314. It is comprised. These are connected to each other via a bus 316.

アクセス制御装置230は、I/F312に接続されている。CPU302は、そのハードウェア構造上、バス316を介して送受信されるアドレス信号、データ信号および制御信号を外部に出力しない構成となっている。また、バス316の信号線がCPU302に内蔵されているので、アクセス制御装置230をバス316の信号線に直結することも改造を要し難しい。したがって、そのままの構成では、アクセス制御装置230は、CPUコア303が実行する命令に関する情報を取得することができない。そこで、第1の構成では、CPUコア303が実行する命令に関する情報として、CPUコア303が実行する命令コード列、およびそのROM304におけるアドレスを、主制御部200から受信した電源オンコマンドに付加して、I/F312を介して出力する処理をCPUコア303に実行させる。この出力処理は、例えば、ROM304の制御プログラムの一処理として組み込んでおくことができる。これにより、アクセス制御装置230は、CPUコア303が実行する命令コード列およびそのアドレスをI/F312から入力することができる。   The access control device 230 is connected to the I / F 312. Due to its hardware structure, the CPU 302 does not output address signals, data signals, and control signals transmitted / received via the bus 316 to the outside. Further, since the signal line of the bus 316 is built in the CPU 302, it is difficult to directly connect the access control device 230 to the signal line of the bus 316 because it requires modification. Therefore, in the configuration as it is, the access control device 230 cannot acquire information related to an instruction executed by the CPU core 303. Therefore, in the first configuration, the instruction code string executed by the CPU core 303 and the address in the ROM 304 are added to the power-on command received from the main control unit 200 as information related to the instruction executed by the CPU core 303. , The CPU core 303 executes processing to be output via the I / F 312. This output process can be incorporated as one process of the control program in the ROM 304, for example. As a result, the access control device 230 can input the instruction code string executed by the CPU core 303 and its address from the I / F 312.

これにより、演出制御部300のCPU302が不正動作する可能性を低減することができる。   Thereby, possibility that CPU302 of the production | presentation control part 300 will operate | move illegally can be reduced.

この場合において、演出制御部300は、発明2の周辺基板に対応している。
(2)第2の構成
第2の構成は、アクセス制御装置230を賞球制御部400に設けた構成である。
In this case, the effect control unit 300 corresponds to the peripheral board of the second aspect.
(2) Second Configuration The second configuration is a configuration in which the access control device 230 is provided in the prize ball control unit 400.

図25は、賞球制御部400の構成を示すブロック図である。   FIG. 25 is a block diagram illustrating a configuration of the prize ball control unit 400.

賞球制御部400は、図25に示すように、CPU402およびアクセス制御装置230を有して構成されている。   As shown in FIG. 25, the prize ball control unit 400 includes a CPU 402 and an access control device 230.

CPU402は、DIP等からなるワンチップ型のマイクロプロセッサであって、CPUコア403、ROM404、RAM406、I/F410および賞球関連デバイス群414のほか、外部装置との入出力を行うI/F412を有して構成されている。これらは、バス416を介して相互に接続されている。   The CPU 402 is a one-chip type microprocessor composed of a DIP or the like, and includes an I / F 412 that performs input / output with an external device in addition to the CPU core 403, ROM 404, RAM 406, I / F 410 and prize ball related device group 414. It is configured. These are connected to each other via a bus 416.

アクセス制御装置230は、I/F412に接続されている。CPU402は、そのハードウェア構造上、バス416を介して送受信されるアドレス信号、データ信号および制御信号を外部に出力しない構成となっている。また、バス416の信号線がCPU402に内蔵されているので、アクセス制御装置230をバス416の信号線に直結することも改造を要し難しい。したがって、そのままの構成では、アクセス制御装置230は、CPUコア403が実行する命令に関する情報を取得することができない。そこで、第2の構成では、CPUコア403が実行する命令に関する情報として、CPUコア403が実行する命令コード列、およびそのROM404におけるアドレスを、主制御部200から受信した電源オンコマンドに付加して、I/F412を介して出力する処理をCPUコア403に実行させる。この出力処理は、例えば、ROM404の制御プログラムの一処理として組み込んでおくことができる。これにより、アクセス制御装置230は、CPUコア403が実行する命令コード列およびそのアドレスをI/F412から入力することができる。   The access control device 230 is connected to the I / F 412. Due to its hardware structure, the CPU 402 is configured not to output address signals, data signals, and control signals transmitted / received via the bus 416 to the outside. Further, since the signal line of the bus 416 is built in the CPU 402, it is difficult to directly connect the access control device 230 to the signal line of the bus 416 because it requires modification. Therefore, in the configuration as it is, the access control device 230 cannot acquire information related to an instruction executed by the CPU core 403. Therefore, in the second configuration, the instruction code string executed by the CPU core 403 and the address in the ROM 404 are added to the power-on command received from the main control unit 200 as information related to the instruction executed by the CPU core 403. , The CPU core 403 executes processing to be output via the I / F 412. This output process can be incorporated as one process of the control program in the ROM 404, for example. As a result, the access control device 230 can input the instruction code string executed by the CPU core 403 and its address from the I / F 412.

これにより、賞球制御部400のCPU402が不正動作する可能性を低減することができる。   Thereby, possibility that CPU402 of the prize ball control part 400 will operate | move illegally can be reduced.

この場合において、賞球制御部400は、発明2の周辺基板に対応している。   In this case, the prize ball control unit 400 corresponds to the peripheral substrate of the second aspect.

また、上記第1および第2の実施の形態において、アクセス制御部238は、レジスタ234、236へのアクセスを制御するように構成したが、これに限らず、レジスタ234、236のうち特定のアドレス空間へのアクセスを制御するように構成することもできる。   In the first and second embodiments, the access control unit 238 is configured to control access to the registers 234 and 236. However, the present invention is not limited to this, and a specific address of the registers 234 and 236 is used. It can also be configured to control access to the space.

これにより、レジスタ234、236のうち、機密情報等の重要な情報が記憶されたアドレス空間へのアクセスを制御することにより、重要な情報が不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができる。   Thus, by controlling access to the address space in which important information such as confidential information is stored in the registers 234 and 236, the possibility that the important information is illegally rewritten or read is reduced. Therefore, the possibility of unauthorized operation can be further reduced.

また、上記第1および第2の実施の形態においては、命令コード列の単位で読出、実行、判定その他の処理を行うように構成したが、これに限らず、命令コードの単位で読出、実行、判定その他の処理を行うように構成することもできる。これは、上記他の実施の形態についても同様である。代表例として、入力した命令コードが、あらかじめ許可されたコードであり、かつ、その命令コードのアドレスが許可アドレスであるときにのみ、アクセスを許可する。アクセス許可条件の組み合わせについては、命令コード列の場合と同様の組み合わせを採用することができる。   In the first and second embodiments, the read, execute, determination and other processes are performed in units of instruction code strings. However, the present invention is not limited to this, and read and execute in units of instruction codes. Further, it can be configured to perform determination and other processing. The same applies to the other embodiments described above. As a representative example, access is permitted only when the input instruction code is a previously permitted code and the address of the instruction code is a permitted address. For the combination of access permission conditions, the same combination as in the case of the instruction code string can be adopted.

また、上記第1および第2の実施の形態においては、アクセス制御装置230を1つだけ設けたが、これに限らず、複数のアクセス制御装置230を設けることもできる。2台の場合、例えば、第1アクセス制御装置は、入力部231、演算部232、レジスタ234およびアクセス制御部238を有して構成されている。第2アクセス制御装置は、入力部231、演算部232、レジスタ236およびアクセス制御部238を有して構成されている。この場合、アクセス制御部238は、いずれかのアクセス制御装置にのみ設けてもよい。   In the first and second embodiments, only one access control device 230 is provided. However, the present invention is not limited to this, and a plurality of access control devices 230 may be provided. In the case of two units, for example, the first access control device includes an input unit 231, a calculation unit 232, a register 234, and an access control unit 238. The second access control apparatus includes an input unit 231, a calculation unit 232, a register 236, and an access control unit 238. In this case, the access control unit 238 may be provided only in one of the access control devices.

また、上記第2の実施の形態において、チェック値算出部218は、チェック値の取得要求に応じてチェック値を算出するように構成したが、これに限らず、所定条件が成立したときにチェック値を算出し、算出したチェック値をアクセス制御部238に送信するように構成することもできる。   In the second embodiment, the check value calculation unit 218 is configured to calculate the check value in response to the check value acquisition request. However, the present invention is not limited to this, and the check value calculation unit 218 checks when a predetermined condition is satisfied. A value may be calculated, and the calculated check value may be transmitted to the access control unit 238.

また、上記第1および第2の実施の形態において、CPU202は、2つのI/F210、212を設けて構成したが、これに限らず、1つのI/Fのみを設けて構成してもよいし、さらに多数のI/Fを設けて構成してもよい。図24におけるCPU302および図25におけるCPU402についても同様である。   In the first and second embodiments, the CPU 202 is configured by providing the two I / Fs 210 and 212. However, the present invention is not limited thereto, and may be configured by providing only one I / F. However, a larger number of I / Fs may be provided. The same applies to the CPU 302 in FIG. 24 and the CPU 402 in FIG.

また、上記第1および第2の実施の形態において、CPU202は、アクセス制御装置230を利用して接続機器認証処理を行うように構成したが、これに限らず、アクセス制御装置230を利用して乱数を取得するように構成することもできる。図24におけるCPU302および図25におけるCPU402についても同様である。   In the first and second embodiments, the CPU 202 is configured to perform the connected device authentication process using the access control device 230. However, the present invention is not limited to this, and the access control device 230 is used. It can also be configured to obtain a random number. The same applies to the CPU 302 in FIG. 24 and the CPU 402 in FIG.

この場合、演算部232は、乱数生成器等からなり、遊技制御に用いる乱数および認証に必要な認証情報を生成する。遊技制御に用いる乱数としては、大当たり決定乱数、停止図柄決定乱数、変動パターン決定乱数、リーチ決定乱数その他遊技制御に用いる乱数を生成する。   In this case, the arithmetic unit 232 includes a random number generator or the like, and generates a random number used for game control and authentication information necessary for authentication. As the random numbers used for game control, a jackpot determined random number, stop symbol determined random number, variation pattern determined random number, reach determined random number, and other random numbers used for game control are generated.

アクセス制御装置230のレジスタ234から乱数を読み出す場合、命令コード列およびアドレスを電源オンコマンドに付加する構成では、命令コード列およびそのアドレスの出力タイミングと、乱数の読出タイミングとが一致しないことがある。すなわち、命令コード列およびそのアドレスは起動時に出力されるのに対し、大当たり決定乱数は始動入賞口105への入賞タイミングで読み出さなければならない。そこで、アクセス制御装置230の構成として、例えば、次の2つの構成を採用することができる。   When a random number is read from the register 234 of the access control device 230, in the configuration in which the instruction code string and the address are added to the power-on command, the output timing of the instruction code string and its address may not match the random number read timing. . That is, the instruction code string and its address are output at the time of activation, whereas the jackpot determination random number must be read at the winning timing to the start winning opening 105. Thus, for example, the following two configurations can be adopted as the configuration of the access control device 230.

第1の構成は、制御コマンドの送信時に認証(命令コード列、アドレスまたはチェック値の一致の判定結果)が得られたときは、所定許可回数のアクセスに限り認証を行わない。所定許可回数は、認証が得られた後最初のアクセスから計数を開始してもよいし、認証が得られた後所定回数のアクセスを待って計数を開始してもよい。後者の場合、計数開始前のアクセスは禁止される。したがって、認証後に所定回数のダミーアクセスが必要となり、この回数が分からなければ、認証が得られてもレジスタ234、236へのアクセスができないので、不正動作が行われる可能性を低減することができる。   In the first configuration, when authentication (instruction code string, address or check value coincidence determination result) is obtained when a control command is transmitted, authentication is not performed only for a predetermined number of permitted accesses. The predetermined permission count may start counting from the first access after the authentication is obtained, or may start counting after a predetermined number of accesses after the authentication is obtained. In the latter case, access before the start of counting is prohibited. Therefore, a predetermined number of dummy accesses are required after authentication. If this number is not known, access to the registers 234 and 236 cannot be made even if authentication is obtained, so that the possibility of unauthorized operation can be reduced. .

第2の構成は、制御コマンドの送信時に認証が得られたときは、所定許可期間内に限り認証を行わない。所定許可期間は、認証が得られた直後から開始してもよいし、認証が得られた後所定時間経過を待って開始してもよい。後者の場合、開始前のアクセスは禁止される。また、開始前にアクセスがあったときは、その後のアクセスを禁止してもよい。したがって、認証後に所定時間の待機が必要となり、この時間が分からなければ、認証が得られてもレジスタ234、236へのアクセスができないので、不正動作が行われる可能性を低減することができる。   In the second configuration, when authentication is obtained when the control command is transmitted, authentication is not performed only within a predetermined permission period. The predetermined permission period may be started immediately after the authentication is obtained, or may be started after a predetermined time has elapsed after the authentication is obtained. In the latter case, access before starting is prohibited. Further, when there is an access before the start, subsequent access may be prohibited. Therefore, it is necessary to wait for a predetermined time after the authentication. If this time is not known, the registers 234 and 236 cannot be accessed even if the authentication is obtained, so that the possibility of an unauthorized operation can be reduced.

また、上記第1および第2の実施の形態においては、アクセス制御装置230を主制御部200に設けて構成したが、これに限らず、演出制御部300、賞球制御部400その他の場所に設けて構成することもできる。図24および図25の構成についても同様である。すなわち、アクセス制御装置230を利用するCPU202、302、402と、アクセス制御装置230とは、同一の基板に設けなくてもよく、異なる基板その他の場所に設けることができる。   In the first and second embodiments, the access control device 230 is provided in the main control unit 200. However, the present invention is not limited to this, and the production control unit 300, the prize ball control unit 400, and other places It can also be provided. The same applies to the configurations of FIGS. That is, the CPUs 202, 302, and 402 that use the access control device 230 and the access control device 230 do not have to be provided on the same substrate, but can be provided on different substrates or other places.

また、上記第1および第2の実施の形態においては、1つの命令コード列およびアドレスを1つの電源オンコマンドに付加して出力するように構成したが、これに限らず、複数の命令コード列およびアドレスを1つの電源オンコマンドに付加して出力するように構成することもできる。例えば、図12の接続機器認証処理では、命令コード列およびアドレスを4回入出力しているので、4つの命令コード列およびアドレスを1つの電源オンコマンドに付加して出力すれば、電源オンコマンドの1回の送信で接続機器認証処理を完了することができる。図24および図25の構成についても同様である。   In the first and second embodiments, one instruction code string and an address are added to one power-on command and output. However, the present invention is not limited to this. It is also possible to add the address and the address to one power-on command for output. For example, in the connected device authentication process of FIG. 12, since the instruction code string and address are input / output four times, if four instruction code strings and addresses are added to one power-on command and output, the power-on command The connected device authentication process can be completed with a single transmission. The same applies to the configurations of FIGS.

また、上記第1および第2の実施の形態において、主制御部200は、電源オンコマンドの各送信ごとに命令コード列およびアドレスを出力するように構成したが、これに限らず、電源オンコマンドの所定の送信単位ごとに命令コード列およびアドレスを出力するように構成することもできる。図24および図25の構成についても同様である。   In the first and second embodiments, the main control unit 200 is configured to output an instruction code string and an address for each transmission of a power-on command. An instruction code string and an address may be output for each predetermined transmission unit. The same applies to the configurations of FIGS.

所定の送信単位ごとに出力する構成としては、例えば、電源オンコマンドをn(nは2以上の整数)回送信するごとに出力する構成、所定時間内に送信される電源オンコマンドを単位としてその開始または終了ごとに出力する構成を採用することができる。   As a configuration for outputting every predetermined transmission unit, for example, a configuration in which a power-on command is transmitted every n (n is an integer of 2 or more) times, and a power-on command transmitted within a predetermined time is used as a unit. It is possible to adopt a configuration in which output is performed at each start or end.

また、上記第1および第2の実施の形態において、主制御部200は、電源オンコマンドに命令コード列およびアドレスを付加するように構成したが、これに限らず、電源オンコマンド以外の1または複数種類の制御コマンドに命令コード列およびアドレスを付加するように構成することもできる。図24および図25の構成についても同様である。   In the first and second embodiments, the main control unit 200 is configured to add an instruction code string and an address to the power-on command. However, the present invention is not limited to this. An instruction code string and an address may be added to a plurality of types of control commands. The same applies to the configurations of FIGS.

他の制御コマンドとしては、例えば、電源オフコマンド、客待ちデモコマンド、客待ちデモ停止コマンド、はずれ非リーチコマンド、はずれリーチコマンド、大当たりリーチコマンド、大当たり開始コマンド、大当たり終了コマンド、大当たりコマンド、図柄指定コマンド、変動開始コマンドおよび図柄停止コマンドが考えられる。   Other control commands include, for example, a power off command, a customer waiting demo command, a customer waiting demo stop command, a missed non-reach command, a missed reach command, a jackpot reach command, a jackpot start command, a jackpot end command, a jackpot command, symbol designation A command, a change start command, and a symbol stop command can be considered.

この場合、セキュリティ強度と処理負荷のバランスを考慮し、命令コード列およびアドレスを付加する制御コマンドを選択することができる。すなわち、送信頻度が高い制御コマンドであれば単位時間あたりの認証回数が多くなるので、処理負荷は大きくなるがセキュリティ強度は高くなる。逆に、送信頻度が低い制御コマンドであれば単位時間あたりの認証回数が少なくなるので、セキュリティ強度は低くなるが処理負荷は小さくなる。したがって、セキュリティ強度を高くしたい場面では、送信頻度の高い制御コマンドを選択し、処理負荷を小さくしたい場面では、送信頻度の低い制御コマンドを選択する。これらの場面は、例えば、所望に応じてテーブル等に設定し、主制御部200に保持させておけばよい。例えば、遊技者が所定数以上となる見込みの日または時間帯は、セキュリティ強度を高くしたい場面に設定し、それ以外の日または時間帯は、処理負荷を小さくしたい場面に設定することが考えられる。   In this case, a control command to which an instruction code string and an address are added can be selected in consideration of the balance between security strength and processing load. That is, if the control command has a high transmission frequency, the number of authentications per unit time increases, so the processing load increases but the security strength increases. Conversely, if the control command has a low transmission frequency, the number of authentications per unit time decreases, so the security strength decreases but the processing load decreases. Therefore, a control command with a high transmission frequency is selected in a scene where the security strength is to be increased, and a control command with a low transmission frequency is selected in a scene where the processing load is to be reduced. These scenes may be set in a table or the like as desired and held in the main control unit 200, for example. For example, it is possible to set a day or time zone in which the player is expected to exceed a predetermined number to a scene where the security strength is desired to be increased and to set a scene where the processing load is desired to be reduced on other days or time periods. .

また、上記第1および第2の実施の形態においては、電源オンコマンドの後に命令コード列およびアドレスを付加したが、これに限らず、電源オンコマンドの前に命令コード列およびアドレスを付加してもよいし、電源オンコマンドとの間に他のデータ(例えば、ダミーデータ)を介して命令コード列およびアドレスを付加してもよい。また、電源オンコマンドと命令コード列およびアドレスの一方を出力してから所定時間経過後に他方を出力してもよいし、命令コード列およびアドレスに代えて命令コード列およびアドレスへのアクセスに必要なアクセス情報(例えば、リンク情報)を付加等してもよい。図24および図25の構成についても同様である。   In the first and second embodiments, the instruction code string and the address are added after the power-on command. However, the present invention is not limited to this, and the instruction code string and the address are added before the power-on command. Alternatively, an instruction code string and an address may be added to the power-on command via other data (for example, dummy data). The power-on command and one of the instruction code string and address may be output after the predetermined time has elapsed, and the other may be output. Necessary for accessing the instruction code string and address instead of the instruction code string and address. Access information (for example, link information) may be added. The same applies to the configurations of FIGS.

また、上記第1および第2の実施の形態においては、電源オンコマンドの各送信ごとにアクセス制御を行うように構成したが、これに限らず、命令コード列およびアドレスを保持しておき、所定のタイミングで、保持している命令コード列およびアドレスに基づいて一括でアクセス制御を行うように構成することもできる。図24および図25の構成についても同様である。   In the first and second embodiments, the access control is performed for each transmission of the power-on command. However, the present invention is not limited to this. At this timing, the access control can also be performed collectively based on the retained instruction code string and address. The same applies to the configurations of FIGS.

また、上記第1および第2の実施の形態において、図10ないし図15のフローチャートに示す遊技制御処理を実行するにあたってはいずれも、ROM204にあらかじめ格納されている制御プログラムを実行する場合について説明したが、これに限らず、これらの手順を示したプログラムが記憶された記憶媒体から、そのプログラムをRAM206に読み込んで実行するようにしてもよい。図8、図16ないし図18、図22および図23のフローチャートに示す処理についても同様である。   In the first and second embodiments, the case where the control program stored in advance in the ROM 204 is executed in executing the game control processing shown in the flowcharts of FIGS. 10 to 15 has been described. However, the present invention is not limited to this, and the program may be read into the RAM 206 and executed from a storage medium storing the program showing these procedures. The same applies to the processing shown in the flowcharts of FIGS. 8, 16 to 18, 22 and 23.

ここで、記憶媒体とは、RAM、ROM等の半導体記憶媒体、FD、HD等の磁気記憶型記憶媒体、CD、CDV、LD、DVD等の光学的読取方式記憶媒体、MO等の磁気記憶型/光学的読取方式記憶媒体であって、電子的、磁気的、光学的等の読み取り方法のいかんにかかわらず、コンピュータで読み取り可能な記憶媒体であれば、あらゆる記憶媒体を含むものである。   Here, the storage medium is a semiconductor storage medium such as RAM or ROM, a magnetic storage type storage medium such as FD or HD, an optical reading type storage medium such as CD, CDV, LD, or DVD, or a magnetic storage type such as MO. / Optical reading type storage media, including any storage media that can be read by a computer regardless of electronic, magnetic, optical, or other reading methods.

また、上記第1および第2の実施の形態においては、本発明をパチンコ機に適用した場合について説明したが、これに限らず、本発明の主旨を逸脱しない範囲で、パチスロ機、アミューズメントゲーム機その他の遊技機にも適用可能である。   In the first and second embodiments, the case where the present invention is applied to a pachinko machine has been described. However, the present invention is not limited to this, and a pachislot machine and an amusement game machine are within the scope of the present invention. It can be applied to other game machines.

遊技盤101の正面図である。1 is a front view of a game board 101. FIG. 遊技制御装置100の構成を示すブロック図である。2 is a block diagram showing a configuration of a game control device 100. FIG. 主制御部200の構成を示すブロック図である。3 is a block diagram showing a configuration of a main control unit 200. FIG. 通常の制御コマンドおよび命令コード列付制御コマンドのデータ構造を示す図である。It is a figure which shows the data structure of a normal control command and a control command with an instruction code sequence. 制御コマンド500のデータ構造を示す図である。6 is a diagram illustrating a data structure of a control command 500. FIG. 主制御部200から送信される制御コマンドの内容を示す図である。It is a figure which shows the content of the control command transmitted from the main control part. CPUコア203およびアクセス制御装置230の構成を示すブロック図である。FIG. 3 is a block diagram illustrating configurations of a CPU core 203 and an access control device 230. アクセス制御処理を示すフローチャートである。It is a flowchart which shows an access control process. ROM204のメモリ構造を模式的に示した図である。2 is a diagram schematically showing a memory structure of a ROM 204. FIG. 遊技制御処理を示すフローチャートである。It is a flowchart which shows a game control process. 初期化処理を示すフローチャートである。It is a flowchart which shows the initialization process. 接続機器認証処理の実行に伴うCPUコア203およびアクセス制御装置230の動作を示すフローチャートである。It is a flowchart which shows operation | movement of CPU core 203 and the access control apparatus 230 accompanying execution of a connection apparatus authentication process. 入賞判定処理を示すフローチャートである。It is a flowchart which shows a winning determination process. 大当たり判定処理を示すフローチャートである。It is a flowchart which shows a jackpot determination process. 電動役物制御処理を示すフローチャートである。It is a flowchart which shows an electric accessory control process. 演出制御処理を示すフローチャートである。It is a flowchart which shows production control processing. 変動パターンコマンド受信処理を示すフローチャートである。It is a flowchart which shows a fluctuation pattern command reception process. 大当たりコマンド受信処理を示すフローチャートである。It is a flowchart which shows a jackpot command reception process. アクセス制御部238が行うアクセス制御の概要を示す説明図である。It is explanatory drawing which shows the outline | summary of the access control which the access control part 238 performs. アクセス制御部238が行うアクセス制御の概要を示す説明図である。It is explanatory drawing which shows the outline | summary of the access control which the access control part 238 performs. 主制御部200の構成を示すブロック図である。3 is a block diagram showing a configuration of a main control unit 200. FIG. チェック値算出処理を示すフローチャートである。It is a flowchart which shows a check value calculation process. アクセス制御処理を示すフローチャートである。It is a flowchart which shows an access control process. 演出制御部300の構成を示すブロック図である。4 is a block diagram showing a configuration of an effect control unit 300. FIG. 賞球制御部400の構成を示すブロック図である。3 is a block diagram showing a configuration of a prize ball control unit 400. FIG.

符号の説明Explanation of symbols

101…遊技盤、 102a、102b…レール、 103…遊技領域、 104…図柄表示部、 105…始動入賞口、 106…入賞ゲート、 107…普通入賞口、 109…大入賞口、 108…回収口、 100…遊技制御装置、 200…主制御部、 202、302、402…CPU、 203、303、403…CPUコア、 203a…制御部、 203b、232…演算部、 203c、234、236…レジスタ、 204、304、404…ROM、 204a…記憶領域、 206、306、406…RAM、 208…セキュリティ検査回路、 210、212、310、312、410、412…I/F、 214…タイマ、 216、316、416…バス、 218…チェック値算出部、 230…アクセス制御装置、 231…入力部、 238…アクセス制御部、 240…検査ポート、 280…始動入賞口検出部、 282…ゲート検出部、 284…普通入賞口検出部、 286…大入賞口検出部、 288…大入賞口開閉部、 300…演出制御部、 308…VRAM、 314…演出関連デバイス群、 380…スピーカ、 382…音声制御部、 384…ランプ、 386…ランプ制御部、 400…賞球制御部、 414…賞球関連デバイス群、 480…払出部、 482…発射部 DESCRIPTION OF SYMBOLS 101 ... Game board, 102a, 102b ... Rail, 103 ... Game area, 104 ... Symbol display part, 105 ... Start winning opening, 106 ... Winning gate, 107 ... Normal winning opening, 109 ... Large winning opening, 108 ... Collection opening, DESCRIPTION OF SYMBOLS 100 ... Game control apparatus 200 ... Main control part 202, 302, 402 ... CPU, 203, 303, 403 ... CPU core, 203a ... Control part, 203b, 232 ... Operation part, 203c, 234, 236 ... Register, 204 304, 404 ... ROM, 204a ... Storage area, 206, 306, 406 ... RAM, 208 ... Security inspection circuit, 210, 212, 310, 312, 410, 412 ... I / F, 214 ... Timer, 216, 316, 416 ... bus, 218 ... check value calculation unit, 230 ... access control device, 31 ... Input unit, 238 ... Access control unit, 240 ... Inspection port, 280 ... Start winning port detection unit, 282 ... Gate detection unit, 284 ... Normal winning port detection unit, 286 ... Big winning port detection unit, 288 ... Grand prize Mouth opening / closing unit, 300 ... Production control unit, 308 ... VRAM, 314 ... Production related device group, 380 ... Speaker, 382 ... Audio control unit, 384 ... Lamp, 386 ... Lamp control unit, 400 ... Prize ball control unit, 414 ... Prize ball related device group, 480 ... payout unit, 482 ... launching unit

Claims (13)

遊技の主制御を行う主制御基板と、前記主制御基板の制御により動作する周辺基板とを備える遊技機であって、
前記主制御基板は、
所定条件の成立を契機として抽選を行う抽選手段と、
図柄表示手段で図柄を変動表示する制御を行う変動表示制御手段と、
前記抽選手段の抽選結果に基づいて、所定の態様で前記図柄を停止させた後に特賞状態を発生させる特賞状態発生手段と、
遊技に関するデータ処理を行うデータ処理装置とを有し、
前記データ処理装置は、
データ処理手段と、
電源の投入を指定するための電源オンコマンドを前記周辺基板に送信する送信手段と、
前記データ処理手段が実行する命令に関する情報を前記電源オンコマンドと対応付けて外部に出力する出力手段とを有し、
前記周辺基板は、
前記電源オンコマンドを受信する受信手段を有し、
当該遊技機は、
前記データ処理装置によるアクセスを制御するアクセス制御装置をさらに備え、
前記アクセス制御装置は、
前記データ処理を行うためのデータを記憶する記憶手段と、
前記命令に関する情報を前記出力手段から入力する入力手段と、
前記入力手段で入力した命令に関する情報に基づいて、前記データ処理装置による前記記憶手段へのアクセスを制御するアクセス制御手段とを有することを特徴とする遊技機。
A gaming machine comprising a main control board that performs main control of a game and a peripheral board that operates under the control of the main control board,
The main control board is
Lottery means for performing lottery with the establishment of a predetermined condition;
Fluctuation display control means for performing control to display the symbols in a variable manner by the symbol display means;
Based on the lottery result of the lottery means, the special state generating means for generating the special state after stopping the symbol in a predetermined manner;
A data processing device for performing data processing relating to games,
The data processing device includes:
Data processing means;
Transmitting means for transmitting a power-on command for designating power-on to the peripheral board;
Output means for outputting information relating to an instruction executed by the data processing means to the outside in association with the power-on command;
The peripheral substrate is
Receiving means for receiving the power-on command;
The gaming machine is
An access control device for controlling access by the data processing device;
The access control device
Storage means for storing data for performing the data processing;
Input means for inputting information on the command from the output means;
An access control means for controlling access to the storage means by the data processing device based on information relating to an instruction input by the input means.
遊技の主制御を行う主制御基板と、前記主制御基板の制御により動作する周辺基板とを備える遊技機であって、
前記主制御基板は、
所定条件の成立を契機として抽選を行う抽選手段と、
図柄表示手段で図柄を変動表示する制御を行う変動表示制御手段と、
前記抽選手段の抽選結果に基づいて、所定の態様で前記図柄を停止させた後に特賞状態を発生させる特賞状態発生手段と、
電源の投入を指定するための電源オンコマンドを前記周辺基板に送信する送信手段とを有し、
前記周辺基板は、
遊技に関するデータ処理を行うデータ処理装置を有し、
前記データ処理装置は、
データ処理手段と、
前記電源オンコマンドを受信する受信手段と、
前記データ処理手段が実行する命令に関する情報を前記電源オンコマンドと対応付けて外部に出力する出力手段とを有し、
当該遊技機は、
前記データ処理装置によるアクセスを制御するアクセス制御装置をさらに備え、
前記アクセス制御装置は、
前記データ処理を行うためのデータを記憶する記憶手段と、
前記命令に関する情報を前記出力手段から入力する入力手段と、
前記入力手段で入力した命令に関する情報に基づいて、前記データ処理装置による前記記憶手段へのアクセスを制御するアクセス制御手段とを有することを特徴とする遊技機。
A gaming machine comprising a main control board that performs main control of a game and a peripheral board that operates under the control of the main control board,
The main control board is
Lottery means for performing lottery with the establishment of a predetermined condition;
Fluctuation display control means for performing control to display the symbols in a variable manner by the symbol display means;
Based on the lottery result of the lottery means, the special state generating means for generating the special state after stopping the symbol in a predetermined manner;
Transmitting means for transmitting a power-on command for designating power-on to the peripheral board,
The peripheral substrate is
It has a data processing device that performs data processing related to games,
The data processing device includes:
Data processing means;
Receiving means for receiving the power-on command;
Output means for outputting information relating to an instruction executed by the data processing means to the outside in association with the power-on command;
The gaming machine is
An access control device for controlling access by the data processing device;
The access control device
Storage means for storing data for performing the data processing;
Input means for inputting information on the command from the output means;
An access control means for controlling access to the storage means by the data processing device based on information relating to an instruction input by the input means.
請求項1および2のいずれか1項において、
前記アクセス制御手段は、前記入力手段で入力した命令に関する情報に基づいてアクセス許可条件が成立すると判定したときは、前記記憶手段へのアクセスを許可し、前記アクセス許可条件が成立しないと判定したときは、前記記憶手段へのアクセスを制限することを特徴とする遊技機。
In any one of Claim 1 and 2,
When the access control means determines that the access permission condition is satisfied based on the information related to the command input by the input means, the access control means permits access to the storage means and determines that the access permission condition is not satisfied Is a game machine that restricts access to the storage means.
請求項3において、
前記出力手段は、前記データ処理手段が実行する命令コードまたは命令コード列を出力し、
前記アクセス許可条件は、前記入力手段で入力した命令コードまたは命令コード列が所定のコードまたはコード列であることを含むことを特徴とする遊技機。
In claim 3,
The output means outputs an instruction code or an instruction code string executed by the data processing means,
The gaming machine characterized in that the access permission condition includes that the instruction code or instruction code string input by the input means is a predetermined code or code string.
請求項3および4のいずれか1項において、
前記データ処理装置は、
前記データ処理手段が実行する命令コードを記憶する命令コード記憶手段をさらに有し、
前記出力手段は、前記データ処理手段が実行する命令コードまたは命令コード列の前記命令コード記憶手段における記憶位置を示す記憶位置情報を出力し、
前記アクセス許可条件は、前記入力手段で入力した記憶位置情報の記憶位置が所定の記憶位置であることを含むことを特徴とする遊技機。
In any one of Claims 3 and 4,
The data processing device includes:
Further comprising instruction code storage means for storing an instruction code executed by the data processing means;
The output means outputs storage position information indicating a storage position in the instruction code storage means of an instruction code or an instruction code sequence executed by the data processing means;
The gaming machine characterized in that the access permission condition includes that the storage position of the storage position information input by the input means is a predetermined storage position.
請求項3および4のいずれか1項において、
前記データ処理装置は、
前記データ処理手段が実行する命令コードを記憶する命令コード記憶手段と、
前記命令コード記憶手段に記憶された命令コードまたは命令コード列の少なくとも一部を用いて所定の演算を行う演算手段とをさらに有し、
前記出力手段は、前記演算手段の演算結果を出力し、
前記アクセス許可条件は、前記入力手段で入力した演算結果が所定の結果であることを含むことを特徴とする遊技機。
In any one of Claims 3 and 4,
The data processing device includes:
Instruction code storage means for storing an instruction code executed by the data processing means;
An arithmetic means for performing a predetermined operation using at least a part of the instruction code or the instruction code string stored in the instruction code storage means;
The output means outputs a calculation result of the calculation means;
The gaming machine according to claim 1, wherein the access permission condition includes that the calculation result input by the input means is a predetermined result.
請求項3および4のいずれか1項において、
前記データ処理装置は、
前記データ処理手段が実行する命令コードを記憶する命令コード記憶手段と、
前記命令コード記憶手段に記憶された所定の固定値を用いて所定の演算を行う演算手段とをさらに有し、
前記出力手段は、前記演算手段の演算結果を出力し、
前記アクセス許可条件は、前記入力手段で入力した演算結果が所定の結果であることを含むことを特徴とする遊技機。
In any one of Claims 3 and 4,
The data processing device includes:
Instruction code storage means for storing an instruction code executed by the data processing means;
A calculation unit that performs a predetermined calculation using a predetermined fixed value stored in the instruction code storage unit;
The output means outputs a calculation result of the calculation means;
The gaming machine according to claim 1, wherein the access permission condition includes that the calculation result input by the input means is a predetermined result.
請求項3ないし7のいずれか1項において、
前記出力手段は、前記データ処理手段が実行する命令コードまたは命令コード列の実行結果を示す実行結果情報を出力し、
前記アクセス許可条件は、前記入力手段で入力した実行結果情報の実行結果が所定の結果であることを含むことを特徴とする遊技機。
In any one of Claims 3 thru | or 7,
The output means outputs execution result information indicating an execution result of an instruction code or an instruction code sequence executed by the data processing means;
The gaming machine characterized in that the access permission condition includes that the execution result of the execution result information input by the input means is a predetermined result.
請求項1ないし8のいずれか1項において、
前記アクセス制御手段は、前記記憶手段のうち特定のアドレス空間へのアクセスを制御することを特徴とする遊技機。
In any one of Claims 1 thru | or 8,
The access control means controls access to a specific address space in the storage means.
請求項1ないし9のいずれか1項において、
前記アクセス制御手段によるアクセス制御の状況を通知する制御状況通知手段をさらに備えることを特徴とする遊技機。
In any one of Claims 1 thru | or 9,
A gaming machine, further comprising a control status notification means for notifying a status of access control by the access control means.
コンピュータからなる請求項1および2のいずれかに記載のアクセス制御装置に対して、請求項1および2のいずれかに記載のデータ処理装置によるアクセスを制御する処理を実行させるためのアクセス制御プログラムであって、
前記データ処理手段が実行する命令に関する情報を前記出力手段から入力する入力ステップと、
前記入力ステップで入力した命令に関する情報に基づいて、前記データ処理装置による前記記憶手段へのアクセスを制御するアクセス制御ステップとを含む処理を実行させるためのプログラムであることを特徴とするアクセス制御プログラム。
An access control program for causing an access control device according to claim 1 or 2 comprising a computer to execute processing for controlling access by the data processing device according to claim 1 or 2. There,
An input step of inputting information on an instruction executed by the data processing means from the output means;
An access control program for executing a process including an access control step for controlling access to the storage means by the data processing device based on information relating to an instruction input in the input step .
請求項1記載の遊技機に適用される遊技制御方法であって、
前記データ処理装置に対しては、
前記電源オンコマンドを前記周辺基板に送信する送信ステップと、
前記出力手段が、前記データ処理手段が実行する命令に関する情報を前記電源オンコマンドと対応付けて外部に出力する出力ステップを含み、
前記アクセス制御装置に対しては、
前記命令に関する情報を前記出力手段から入力する入力ステップと、
前記入力ステップで入力した命令に関する情報に基づいて、前記データ処理装置による前記記憶手段へのアクセスを制御するアクセス制御ステップとを含むことを特徴とする遊技制御方法。
A game control method applied to the gaming machine according to claim 1,
For the data processing device,
A transmission step of transmitting the power-on command to the peripheral board;
The output means includes an output step of outputting information relating to an instruction executed by the data processing means to the outside in association with the power-on command;
For the access control device,
An input step of inputting information relating to the command from the output means;
A game control method comprising: an access control step of controlling access to the storage means by the data processing device based on information relating to the command input in the input step.
請求項2記載の遊技機に適用される遊技制御方法であって、
前記データ処理装置に対しては、
前記電源オンコマンドを受信する受信ステップと、
前記出力手段が、前記データ処理手段が実行する命令に関する情報を前記電源オンコマンドと対応付けて外部に出力する出力ステップを含み、
前記アクセス制御装置に対しては、
前記命令に関する情報を前記出力手段から入力する入力ステップと、
前記入力ステップで入力した命令に関する情報に基づいて、前記データ処理装置による前記記憶手段へのアクセスを制御するアクセス制御ステップとを含むことを特徴とする遊技制御方法。
A game control method applied to the gaming machine according to claim 2,
For the data processing device,
Receiving the power-on command;
The output means includes an output step of outputting information relating to an instruction executed by the data processing means to the outside in association with the power-on command;
For the access control device,
An input step of inputting information relating to the command from the output means;
A game control method comprising: an access control step of controlling access to the storage means by the data processing device based on information relating to the command input in the input step.
JP2008258394A 2008-10-03 2008-10-03 Game machine, access control program and game control method Withdrawn JP2010088477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008258394A JP2010088477A (en) 2008-10-03 2008-10-03 Game machine, access control program and game control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008258394A JP2010088477A (en) 2008-10-03 2008-10-03 Game machine, access control program and game control method

Publications (1)

Publication Number Publication Date
JP2010088477A true JP2010088477A (en) 2010-04-22

Family

ID=42251822

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008258394A Withdrawn JP2010088477A (en) 2008-10-03 2008-10-03 Game machine, access control program and game control method

Country Status (1)

Country Link
JP (1) JP2010088477A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252477A (en) * 2005-03-14 2006-09-21 Ntt Docomo Inc Access control device and access control method
JP2007323149A (en) * 2006-05-30 2007-12-13 Matsushita Electric Ind Co Ltd Memory data protection apparatus and lsi for ic card
JP2008125984A (en) * 2006-11-24 2008-06-05 Sankyo Co Ltd Game machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252477A (en) * 2005-03-14 2006-09-21 Ntt Docomo Inc Access control device and access control method
JP2007323149A (en) * 2006-05-30 2007-12-13 Matsushita Electric Ind Co Ltd Memory data protection apparatus and lsi for ic card
JP2008125984A (en) * 2006-11-24 2008-06-05 Sankyo Co Ltd Game machine

Similar Documents

Publication Publication Date Title
JP4981851B2 (en) Game machine, authentication method, program
JP5150938B2 (en) Game machine, authentication method, program
JP2011005104A (en) Game machine, authentication method and program
JP2011005105A (en) Game machine, authentication method and program
JP2011005100A (en) Game machine, authentication method and program
JP2011005080A (en) Game machine, authentication method and program
JP4881921B2 (en) Game machine, game control program, and game control method
JP4987832B2 (en) Game machine, access control program, and game control method
JP2010088477A (en) Game machine, access control program and game control method
JP2010088482A (en) Game machine, access control program and game control method
JP2010088475A (en) Game machine, access control program and game control method
JP2010088474A (en) Game machine, access control program and game control method
JP2010088483A (en) Game machine, access control program and game control method
JP4881932B2 (en) Game machine, access control program, and game control method
JP4976448B2 (en) Game machine, authentication method, program
JP4976453B2 (en) Game machine, authentication method, program
JP4976454B2 (en) Game machine, authentication method, program
JP4976449B2 (en) Game machine, authentication method, program
JP4976450B2 (en) Game machine, authentication method, program
JP4976452B2 (en) Game machine, authentication method, program
JP4976451B2 (en) Game machine, authentication method, program
JP5238999B2 (en) Game machine, authentication method, program
JP4976457B2 (en) Game machine, authentication method, program
JP4976460B2 (en) Game machine, authentication method, program
JP4976455B2 (en) Game machine, authentication method, program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110308

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110509

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20111122

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20120120