JP2010029410A - Game machine, game control program, and game control method - Google Patents

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

Info

Publication number
JP2010029410A
JP2010029410A JP2008194320A JP2008194320A JP2010029410A JP 2010029410 A JP2010029410 A JP 2010029410A JP 2008194320 A JP2008194320 A JP 2008194320A JP 2008194320 A JP2008194320 A JP 2008194320A JP 2010029410 A JP2010029410 A JP 2010029410A
Authority
JP
Japan
Prior art keywords
instruction code
access
game
data processing
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008194320A
Other languages
Japanese (ja)
Other versions
JP4881921B2 (en
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 JP2008194320A priority Critical patent/JP4881921B2/en
Publication of JP2010029410A publication Critical patent/JP2010029410A/en
Application granted granted Critical
Publication of JP4881921B2 publication Critical patent/JP4881921B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a game machine suitable for preventing fraudulent action without increasing the difficulty level of development or designing and data capacity. <P>SOLUTION: The main control section 200 of a Pachinko game machine is constituted of a CPU 202 and an access certification unit 230 for certificating the justice of the access by the CPU 202. The access certification unit 230 has registers 234, 236, an obtaining section 231 obtaining order code train which the CPU core 204 executes and the addresses of the same, and an access control section 238 controlling the accesses to the registers 234, 236 by the CPU core 204 based on the order code trains and the addresses obtained in the obtaining section 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, a game control program, and a game control method suitable for preventing unauthorized operation.

パチンコ機等の遊技機は、法令に従って所定の検定機関で検定試験に付される。検定試験では、遊技機のマイクロプロセッサが実行する命令コード列が一定の要件を満たしていることが合格条件の一つとして要求される。そして、検定試験に合格した遊技機だけが市場に流通させることができる。
しかしながら、市場に流通した後に、遊技機の基板やチップ(LSI等の半導体装置)を不正なものに交換したり、不正なチップを追加したり、マイクロプロセッサを改造したり、マイクロプロセッサのROMを書き換えたりするといった不正行為が行われることがある。これらは、主に、不正の利益を得る目的をもって第三者が遊技機を不正動作させるために行うものである。
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.
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記載の技術が知られている。
特許文献1記載の技術は、プログラムカウンタの値をレジスタで保持するとともに、メモリ上の保護領域のアドレスを保持するテーブル、および保護領域へのアクセスが許されている命令のアドレスを保持するテーブルを保持しておき、アクセス検出回路によって、命令の解読結果、アクセス先のアドレスとテーブルのアドレスの比較結果に基づき、保護領域へのアクセス命令かどうかを判定する。そして、保護領域へのアクセス命令が検出された場合、比較回路によってレジスタおよびテーブルのアドレスを比較して、保護領域へのアクセスが許されていないエリアから読み出された命令と判断したときに禁止信号を出力して、不正なメモリアクセスを禁止する。
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.
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記載の技術にあっては、命令コード列の解読やプログラムカウンタ値の読込を行うため、不正動作検出処理の工程が複雑となり、開発や設計の難易度が高くなってしまうという問題があった。
また、特許文献2記載の技術にあっては、ROMチェッカをその都度接続してチェックを行うため、遊技機の稼働中に行うことができず、チェック作業が容易でないという問題があった。ROMチェッカの機能に相当する不正動作検出処理を設け、遊技機の起動時または稼働中にチェックを行うことも考えられるが、チェックのためにROMと同等容量のテーブルを用意する必要がある。しかしながら、遊技機に対しては、制御プログラムのためのデータ容量が法令で厳しく制限されているため、そのような大容量のテーブルを持つことは現実的でない。
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.
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, a game control program, and a game control method suitable for the above.

〔発明1〕 上記目的を達成するために、発明1の遊技機は、所定条件の成立を契機として特賞状態を発生させるか否かの抽選を行う抽選手段と、図柄表示手段で図柄を変動表示する図柄変動手段と、遊技に関するデータ処理を行うデータ処理手段とを備え、前記抽選手段で前記特賞状態を発生させると判定したときは、所定の態様で前記図柄を停止させた後に前記特賞状態を発生させる遊技機であって、前記データ処理を行うためのデータを記憶する記憶手段と、前記データ処理手段が実行する命令に関する情報を取得する取得手段と、前記取得手段で取得した命令に関する情報に基づいて、前記データ処理手段による前記記憶手段へのアクセスを制御するアクセス制御手段とを備える。   [Invention 1] In order to achieve the above object, the gaming machine of Invention 1 variably displays a symbol by a lottery means for performing a lottery to determine whether or not a special prize state is generated when a predetermined condition is satisfied, and a symbol display means. And a data processing means for performing data processing relating to a game, and when the lottery means determines that the special prize state is generated, the special prize state is displayed after the symbol is stopped in a predetermined mode. A game machine to be generated, a storage means for storing data for performing the data processing, an acquisition means for acquiring information relating to an instruction executed by the data processing means, and an information relating to the instruction acquired by the acquisition means And an access control means for controlling access to the storage means by the data processing means.

このような構成であれば、取得手段により、データ処理手段が実行する命令に関する情報が取得され、アクセス制御手段により、取得された命令に関する情報に基づいて、データ処理手段による記憶手段へのアクセスが制御される。これにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性が低減する。
ここで、命令に関する情報としては、例えば、(1)命令コード若しくは命令コード列、(2)命令コード若しくは命令コード列の記憶位置を示す記憶位置情報(例えば、アドレス)、(3)命令コード若しくは命令コード列の実行結果を示す実行結果情報(例えば、フラグレジスタの値)、または(4)それら情報のうち1若しくは複数の情報に基づき得られる2次情報(例えば、演算等により得られる演算情報)が含まれる。以下、発明11の遊技制御プログラム、および発明12の遊技制御方法において同じである。
With this configuration, the acquisition unit acquires information related to the instruction executed by the data processing unit, and the access control unit accesses the storage unit by the data processing unit based on the acquired information related to the instruction. Be controlled. This reduces the possibility that the data in the storage means will be illegally rewritten or read out.
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 game control program of the eleventh aspect and the game control method of the twelfth aspect.

また、アクセスの「制御」については、例えば、(1)命令に関する情報または当該情報に基づき得られる2次情報に基づいてアクセス許可条件が成立すると判定したときは、アクセスの一部または全部を許可し、アクセス許可条件が成立しないと判定したときは、アクセスの一部または全部を制限すること、(2)命令に関する情報または当該情報に基づき得られる2次情報に基づいてアクセス制限条件が成立すると判定したときは、アクセスの一部または全部を制限し、アクセス制限条件が成立しないと判定したときは、アクセスの一部または全部を許可することが含まれる。アクセス許可条件またはアクセス制限条件としては、例えば、(1)命令に関する情報または当該情報に基づき得られる2次情報が所定値、内容または範囲内であること、(2)命令に関する情報または当該情報に基づき得られる2次情報が所定値、内容または範囲内でないことが含まれる。また、アクセスの「制限」については、例えば、(1)アクセスの一部または全部を禁止すること、(2)アクセス要求に応じたアクセス結果が得られないように制御すること(例えば、アクセス要求に係るデータとは異なるデータを読み出させまたは書き込ませること)が含まれる。以下、発明11の遊技制御プログラム、および発明12の遊技制御方法において同じである。   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 an instruction or secondary information obtained based on the information is within a predetermined value, content, or range; It is included that the secondary information obtained on the basis 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 game control program of the eleventh aspect and the game control method of the twelfth aspect.

また、命令に関する情報における当該命令と、アクセスの制御との関係については、例えば、(1)記憶手段へのアクセスのためにデータ処理手段が実行する命令に関する情報に基づいて、当該命令に係るアクセスを制御すること、(2)データ処理手段が実行する命令に関する情報に基づいて、当該命令よりも前または後に、記憶手段へのアクセスのためにデータ処理手段が実行する命令に係るアクセスを制御することが含まれる。(2)の場合は、因果関係が分かりにくく、不正行為が行われる可能性をさらに低減することができる。以下、発明11の遊技制御プログラム、および発明12の遊技制御方法において同じである。   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 (2) Based on the information related to the instruction executed by the data processing means, the access related to the instruction executed by the data processing means for accessing the storage means is controlled before or after the instruction. It 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 game control program of the eleventh aspect and the game control method of the twelfth aspect.

また、特賞状態とは、遊技者に対して所定の遊技価値を付与可能な有利な状態をいい、例えば、大入賞口の開放動作等が含まれる。以下、発明11の遊技制御プログラム、および発明12の遊技制御方法において同じである。
また、所定条件の成立としては、パチンコ機である場合は、例えば、始動入賞口に遊技球が入賞すること、パチスロ機である場合は、例えば、遊技開始を指示する操作レバーが操作されることが含まれる。以下、発明11の遊技制御プログラム、および発明12の遊技制御方法において同じである。
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 game control program of the eleventh aspect and the game control method of the twelfth aspect.
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 game control program of the eleventh aspect and the game control method of the twelfth aspect.

また、記憶手段は、あらゆる手段でかつあらゆる時期にデータを記憶可能なものを含み、所定のデータをあらかじめ記憶してあるものであってもよいし、所定のデータをあらかじめ記憶することなく、本遊技機の動作時に外部からの入力等によって所定のデータを記憶するものであってもよい。   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.

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

このような構成であれば、アクセス制御手段により、取得された命令に関する情報に基づいてアクセス許可条件が成立すると判定されると、記憶手段へのアクセスが許可される。これに対し、取得された命令に関する情報に基づいてアクセス許可条件が成立しないと判定されると、記憶手段へのアクセスが制限される。   With such a configuration, when it is determined by the access control means that the access permission condition is satisfied based on the information related to the acquired instruction, 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 acquired command, access to the storage unit is restricted.

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

このような構成であれば、取得手段により、データ処理手段が実行する命令コードまたは命令コード列が取得される。そして、アクセス制御手段により、取得された命令コードまたは命令コード列が所定のコードまたはコード列であると判定されると、記憶手段へのアクセスが許可される。これにより、不正に書き換えられた命令コードまたは命令コード列や、ビットエラーによって内容が変化した命令コードまたは命令コード列が実行されることにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性が低減する。   With such a configuration, an instruction code or an instruction code string executed by the data processing unit is acquired by the acquisition unit. When the access control means determines that the acquired instruction code or instruction code string is a predetermined code or code string, access to the storage means is permitted. 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.

〔発明4〕 さらに、発明4の遊技機は、発明2および3のいずれか1の遊技機において、前記命令コードを記憶する命令コード記憶手段をさらに備え、前記取得手段は、前記データ処理手段が実行する命令コードまたは命令コード列の前記命令コード記憶手段における記憶位置を示す記憶位置情報を取得し、前記アクセス許可条件は、前記取得手段で取得した記憶位置情報の記憶位置が所定の記憶位置であることを含む。   [Invention 4] Further, the gaming machine of Invention 4 is the gaming machine according to any one of Inventions 2 and 3, further comprising an instruction code storage means for storing the instruction code, wherein the acquisition means is the data processing means. The storage position information indicating the storage position of the instruction code or instruction code string to be executed in the instruction code storage means is acquired, and the access permission condition is that the storage position of the storage position information acquired by the acquisition means is a predetermined storage position. Including being.

このような構成であれば、取得手段により、データ処理手段が実行する命令コードまたは命令コード列の命令コード記憶手段における記憶位置を示す記憶位置情報が取得される。そして、アクセス制御手段により、取得された記憶位置情報の記憶位置が所定の記憶位置であると判定されると、記憶手段へのアクセスが許可される。これにより、不正な位置に記憶された命令コードまたは命令コード列が実行されることにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性が低減する。   With such a configuration, the acquisition unit acquires the storage position information indicating the storage position in the instruction code storage unit of the instruction code or the instruction code sequence executed by the data processing unit. When the access control means determines that the storage position of the acquired storage position information is a predetermined storage position, access to the storage means is permitted. 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.

ここで、命令コード列の記憶位置としては、例えば、命令コード列のうち先頭の命令コードの記憶位置、命令コード列のうち所定番目の命令コードの記憶位置、命令コード列に含まれる命令コードのそれぞれの記憶位置が含まれる。
また、命令コード記憶手段は、あらゆる手段でかつあらゆる時期に命令コードを記憶可能なものを含み、命令コードをあらかじめ記憶してあるものであってもよいし、命令コードをあらかじめ記憶することなく、本遊技機の動作時に外部からの入力等によって命令コードを記憶するものであってもよい。以下、発明5および6の遊技機において同じである。
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.
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 inventions 5 and 6.

〔発明5〕 さらに、発明5の遊技機は、発明2および3のいずれか1の遊技機において、前記命令コードを記憶する命令コード記憶手段と、前記命令コード記憶手段に記憶された命令コードまたは命令コード列の少なくとも一部を用いて所定の演算を行う演算手段とをさらに備え、前記取得手段は、前記演算手段の演算結果を取得し、前記アクセス許可条件は、前記取得手段で取得した演算結果が所定の結果であることを含む。   [Invention 5] The gaming machine according to Invention 5 is the gaming machine according to any one of Inventions 2 and 3, wherein the instruction code storage means stores the instruction code and the instruction code stored in the instruction code storage means or An arithmetic means for performing a predetermined operation using at least a part of the instruction code string, wherein the acquisition means acquires an operation result of the arithmetic means, and the access permission condition is an operation acquired by the acquisition means It includes that the result is a predetermined result.

このような構成であれば、演算手段により、命令コード記憶手段に記憶された命令コードまたは命令コード列の少なくとも一部を用いて所定の演算が行われ、取得手段により、その演算結果が取得される。そして、アクセス制御手段により、取得された演算結果が所定の結果であると判定されると、記憶手段へのアクセスが許可される。   In such a configuration, 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 acquisition means acquires the calculation result. The When the access control means determines that the obtained calculation result is a predetermined result, access to the storage means is permitted.

〔発明6〕 さらに、発明6の遊技機は、発明2および3のいずれか1の遊技機において、前記命令コードを記憶する命令コード記憶手段と、前記命令コード記憶手段に記憶された所定の固定値を用いて所定の演算を行う演算手段とをさらに備え、前記取得手段は、前記演算手段の演算結果を取得し、前記アクセス許可条件は、前記取得手段で取得した演算結果が所定の結果であることを含む。   [Invention 6] Furthermore, the gaming machine of Invention 6 is the gaming machine according to any one of Inventions 2 and 3, wherein the instruction code is stored in the instruction code storage means and the predetermined code stored in the instruction code storage means. Computing means for performing a predetermined calculation using a value, wherein the acquisition means acquires a calculation result of the calculation means, and the access permission condition is that the calculation result acquired by the acquisition means is a predetermined result. Including being.

このような構成であれば、演算手段により、命令コード記憶手段に記憶された所定の固定値を用いて所定の演算が行われ、取得手段により、その演算結果が取得される。そして、アクセス制御手段により、取得された演算結果が所定の結果であると判定されると、記憶手段へのアクセスが許可される。   If it is such a structure, a predetermined calculation will be performed by the calculating means using the predetermined fixed value memorize | stored in the instruction code memory | storage means, and the calculation result will be acquired by an acquisition means. When the access control means determines that the obtained calculation result is a predetermined result, access to the storage means is permitted.

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

このような構成であれば、取得手段により、データ処理手段が実行する命令コードまたは命令コード列の実行結果を示す実行結果情報が取得される。そして、アクセス制御手段により、取得された実行結果情報の実行結果が所定の結果であると判定されると、記憶手段へのアクセスが許可される。これにより、不正に書き換えられた命令コードまたは命令コード列や、ビットエラーによって内容が変化した命令コードまたは命令コード列が実行されることにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性が低減する。   With such a configuration, execution result information indicating an execution result of an instruction code or an instruction code sequence executed by the data processing unit is acquired by the acquisition unit. When the access control means determines that the execution result of the acquired execution result information is a predetermined result, access to the storage means is permitted. 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.

〔発明8〕 さらに、発明8の遊技機は、発明1ないし7のいずれか1の遊技機において、前記アクセス制御手段は、前記記憶手段のうち特定のアドレス空間へのアクセスを制御する。
このような構成であれば、アクセス制御手段により、記憶手段のうち特定のアドレス空間へのアクセスが制御される。これにより、記憶手段のうち、機密情報等の重要な情報が記憶されたアドレス空間へのアクセスを制御することにより、重要な情報が不正に書き換えられたり読み出されたりする可能性が低減する。
[Invention 8] The gaming machine of Invention 8 is the gaming machine according to any one of Inventions 1 to 7, wherein the access control means controls access to a specific address space in the storage means.
With such a configuration, the access control means controls access to a specific address space in the storage 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.

〔発明9〕 さらに、発明9の遊技機は、発明1ないし8のいずれか1の遊技機において、前記アクセス制御手段によるアクセスの制御状況を通知する制御状況通知手段をさらに備える。
このような構成であれば、制御状況通知手段により、アクセス制御手段によるアクセスの制御状況が通知される。
[Invention 9] The gaming machine according to Invention 9 is further provided with control status notification means for notifying the access control status by the access control means in the gaming machine according to any one of Inventions 1 to 8.
With such a configuration, the control status notification means notifies the access control status by the access control 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.

〔発明10〕 さらに、発明10の遊技機は、発明1ないし9のいずれか1の遊技機において、前記データ処理手段は、遊技の主制御を行う主制御手段、前記主制御手段の制御により遊技の演出制御を行う演出制御手段、または前記主制御手段の制御により遊技媒体の払出制御を行う払出制御手段のデータ処理手段である。
このような構成であれば、アクセス制御手段により、主制御手段、演出制御手段または払出制御手段のデータ処理手段による記憶手段へのアクセスが制御される。
[Invention 10] Furthermore, the gaming machine of Invention 10 is the gaming machine according to any one of Inventions 1 to 9, wherein the data processing means is a main control means for performing main control of the game, and is controlled by the control of the main control means. This is a data processing means for effect control means for performing the effect control, or payout control means for performing payout control of the game medium by the control of the main control means.
With such a configuration, access to the storage means by the data processing means of the main control means, the effect control means or the payout control means is controlled by the access control means.

〔発明11〕 一方、上記目的を達成するために、発明11の遊技制御プログラムは、所定条件の成立を契機として特賞状態を発生させるか否かの抽選を行う抽選手段と、図柄表示手段で図柄を変動表示する図柄変動手段と、遊技に関するデータ処理を行うデータ処理手段と、前記データ処理を行うためのデータを記憶する記憶手段とを備え、前記抽選手段で前記特賞状態を発生させると判定したときは、所定の態様で前記図柄を停止させた後に前記特賞状態を発生させる遊技機に適用される遊技制御プログラムであって、前記データ処理手段が実行する命令に関する情報を取得する取得ステップと、前記取得ステップで取得した命令に関する情報に基づいて、前記データ処理手段による前記記憶手段へのアクセスを制御するアクセス制御ステップとを含む処理をコンピュータに実行させるためのプログラムである。
このような構成であれば、コンピュータによってプログラムが読み取られ、読み取られたプログラムに従ってコンピュータが処理を実行すると、発明1の遊技機と同等の作用が得られる。
[Invention 11] On the other hand, in order to achieve the above object, the game control program of Invention 11 includes a lottery means for performing a lottery to determine whether or not a special prize state is generated when a predetermined condition is satisfied, and a symbol display means. It is determined that the special prize state is generated by the lottery means, the symbol changing means for variably displaying, a data processing means for performing data processing relating to the game, and a storage means for storing data for performing the data processing. When it is a game control program applied to a gaming machine that generates the special prize state after stopping the symbol in a predetermined manner, an acquisition step of acquiring information related to an instruction executed by the data processing means; An access control step for controlling access to the storage means by the data processing means on the basis of information on the instruction obtained in the obtaining step. Is a program for causing a computer to execute processing including
If it is such a structure, if a computer reads a program and a computer will perform a process according to the read program, the effect | action equivalent to the game machine of invention 1 will be acquired.

〔発明12〕 一方、上記目的を達成するために、発明12の遊技制御方法は、所定条件の成立を契機として特賞状態を発生させるか否かの抽選を行う抽選手段と、図柄表示手段で図柄を変動表示する図柄変動手段と、遊技に関するデータ処理を行うデータ処理手段と、前記データ処理を行うためのデータを記憶する記憶手段とを備え、前記抽選手段で前記特賞状態を発生させると判定したときは、所定の態様で前記図柄を停止させた後に前記特賞状態を発生させる遊技機に適用される遊技制御方法であって、前記データ処理手段が実行する命令に関する情報を取得する取得ステップと、前記取得ステップで取得した命令に関する情報に基づいて、前記データ処理手段による前記記憶手段へのアクセスを制御するアクセス制御ステップとを含む。   [Invention 12] On the other hand, in order to achieve the above object, the game control method of Invention 12 includes a lottery means for performing a lottery to determine whether or not a special prize state is generated when a predetermined condition is satisfied, and a symbol display means. It is determined that the special prize state is generated by the lottery means, the symbol changing means for variably displaying, a data processing means for performing data processing relating to the game, and a storage means for storing data for performing the data processing. When it is a game control method applied to a gaming machine that generates the special prize state after stopping the symbol in a predetermined manner, an acquisition step of acquiring information on an instruction executed by the data processing means; An access control step for controlling access to the storage means by the data processing means based on information about the instruction obtained in the obtaining 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 the acquisition means and the access control means that are separate from the data processing means realize the access control function, the data processing means itself does not need to perform unauthorized operation detection processing, and development and design of the data processing means are not necessary. The effect that it can suppress that a difficulty level becomes 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.

さらに、発明2の遊技機によれば、アクセス許可条件の成否によりアクセスが制御されるので、データ容量が増大することをさらに抑制することができるという効果が得られる。
さらに、発明3の遊技機によれば、不正に書き換えられた命令コードまたは命令コード列や、ビットエラーによって内容が変化した命令コードまたは命令コード列が実行されることにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができるという効果が得られる。
Furthermore, according to the gaming machine of the second aspect, 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.
Furthermore, according to the gaming machine of the invention 3, by executing the illegally rewritten instruction code or instruction code string or the instruction code or instruction code string whose contents have changed due to a bit error, 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.

さらに、発明4の遊技機によれば、不正な位置に記憶された命令コードまたは命令コード列が実行されることにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができるという効果が得られる。
さらに、発明5の遊技機によれば、命令コード記憶手段に記憶された命令コードまたは命令コード列が不正に書き換えられたことを検出することができるという効果が得られる。
Furthermore, according to the gaming machine of the invention 4, 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.
Furthermore, according to the gaming machine of the invention 5, it is possible to detect that the instruction code or the instruction code string stored in the instruction code storage means can be illegally rewritten.

さらに、発明6の遊技機によれば、命令コード記憶手段が不正なものに交換されたことを検出することができるという効果が得られる。
さらに、発明7の遊技機によれば、不正に書き換えられた命令コードまたは命令コード列や、ビットエラーによって内容が変化した命令コードまたは命令コード列が実行されることにより、記憶手段のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができるという効果が得られる。
Furthermore, according to the gaming machine of the sixth aspect, it is possible to detect that the instruction code storage means has been replaced with an illegal one.
Furthermore, according to the gaming machine of the invention 7, the data in the storage means is illegal by executing 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. 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.

さらに、発明8の遊技機によれば、記憶手段のうち、機密情報等の重要な情報が記憶されたアドレス空間へのアクセスを制御することにより、重要な情報が不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができるという効果が得られる。
さらに、発明9の遊技機によれば、不正動作が行われた可能性があることを把握することができるという効果が得られる。
Furthermore, according to the gaming machine of the eighth aspect, by controlling access to the address space in which the 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.
Furthermore, according to the gaming machine of the ninth aspect, it is possible to grasp that there is a possibility that an illegal operation has been performed.

さらに、発明10の遊技機によれば、主制御手段、演出制御手段または払出制御手段のデータ処理手段が不正動作する可能性を低減することができるという効果が得られる。
一方、発明11の遊技制御プログラム、または発明12の遊技制御方法によれば、発明1の遊技機と同等の効果が得られる。
Furthermore, according to the gaming machine of the tenth aspect, it is possible to reduce the possibility that the data processing means of the main control means, the effect control means or the payout control means can be illegally operated.
On the other hand, according to the game control program of the invention 11 or the game control method of the invention 12, the same effect as the gaming machine of the invention 1 can be obtained.

〔第1の実施の形態〕
以下、本発明の第1の実施の形態を図面を参照しながら説明する。図1ないし図13は、本発明に係る遊技機および遊技制御プログラム、並びに遊技制御方法の第1の実施の形態を示す図である。
本実施の形態は、本発明に係る遊技機および遊技制御プログラム、並びに遊技制御方法をパチンコ機に適用したものである。
〔遊技盤の構成〕
まず、パチンコ機における遊技盤101の構成を説明する。
[First Embodiment]
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. 1 to 13 are diagrams showing a first embodiment of a gaming machine, a game control program, and a game control method according to the present invention.
In this embodiment, a gaming machine, a gaming control program, and a gaming control method according to the present invention are applied to a pachinko machine.
[Composition of game board]
First, the configuration of the game board 101 in the pachinko machine will be described.

図1は、遊技盤101の正面図である。
図1において、遊技盤101の左側には、円弧を描いて上方に延長する2つのレール102a、102bが設けられている。遊技領域103には、遊技球の落下軌跡を変則的にするための複数の釘(不図示)が設けられ、落下途中の位置には、遊技球の落下方向を変化させる風車や入賞口が設けられている。遊技球は、遊技盤101の下部位置に配置された発射部(不図示)により発射され、レール102a、102b間を上昇して遊技盤101の上部位置に達した後、遊技領域103内を落下する。
FIG. 1 is a front view of the game board 101.
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 a CRT (Cathode).
Ray Tube), a variable display device such as a display, a 7 segment LED, a dot matrix display device, a drum that is variably displayed by the rotation of a motor, and the like.

図柄表示部104の下方には、遊技球を入賞可能な始動入賞口105が設けられている。また、図柄表示部104の左右両側には、それぞれ入賞ゲート106が設けられている。入賞ゲート106を遊技球が通過すると、所定の抽選が行われ、これに当選すると、始動入賞口105が所定時間だけ開放する。
始動入賞口105の左右両側には、それぞれ普通入賞口107が設けられている。普通入賞口107に遊技球が入賞すると、遊技球1個につき所定数(例えば、10個)の遊技球が賞球として払い出される。
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.
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回の開放期間をラウンドと呼び、ラウンドは、所定回数(例えば、15回)だけ継続する。
遊技領域103の最下方には、いずれの入賞口にも入賞しなかった遊技球を回収するための回収口108が設けられている。
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 is won, the opening and closing members installed on the entire surface of the winning prize 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 special winning opening 109 is called a round, and the round continues for a predetermined number of times (for example, 15 times).
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の構成を説明する。
図2は、遊技制御装置100の構成を示すブロック図である。
遊技制御装置100は、図2に示すように、遊技の主制御を行う主制御部200と、主制御部200の制御により遊技の演出制御を行う演出制御部300と、主制御部200の制御により遊技球の払出制御を行う賞球制御部400とを有して構成されている。
主制御部200は、遊技の主制御を行い、遊技の演出制御または遊技球の払出制御を行うための各種の制御コマンドを演出制御部300および賞球制御部400にそれぞれ送信する。
[Configuration of game control device]
Next, the configuration of the game control device 100 in the pachinko machine will be described.
FIG. 2 is a block diagram showing a configuration of the game control device 100.
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.
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は、例えば、近接スイッチを用いて構成することができる。   On the input side of the main control unit 200, 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 the winning gate 106, and a normal winning port A normal winning hole detection unit 284 that detects a game ball won in 107 and a big winning port detection unit 286 that detects a game ball won in the big winning port 109 are connected. These detection parts 280-286 can be comprised using a proximity switch, for example.

主制御部200の出力側には、大当たり中に大入賞口109の開閉部材を開閉動作させる大入賞口開閉部288が接続されている。大入賞口開閉部288は、例えば、ソレノイドを用いて構成することができる。大当たりは、大当たり決定乱数に基づいて所定確率(例えば、1/300)で発生するようあらかじめプログラムされている。
演出制御部300は、主制御部200から制御コマンドを受信し、受信した制御コマンドに基づいて遊技の演出制御を行う。演出制御部300は、制御プログラムを記憶したROM304と、ROM304の制御プログラムに従って演出制御処理を実行するCPU302と、CPU302の演算処理時におけるデータのワークエリアとして機能するRAM306と、図柄表示部104に表示させる画像データを書き込むVRAM308と、外部装置との入出力を行うI/F310とを有して構成されている。
To the output side of the main control unit 200 is connected a large winning opening / closing portion 288 that opens and closes the opening / closing member of the large winning opening 109 during the big hit. 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.
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.

I/F310には、図柄表示部104と、スピーカ380から音声を出力する音声制御を行う音声制御部382と、ランプ384を点灯させるランプ制御を行うランプ制御部386とが接続されている。
賞球制御部400は、主制御部200から制御コマンドを受信し、受信した制御コマンドに基づいて遊技球の払出制御を行う。賞球制御部400は、制御プログラムを記憶したROM404と、ROM404の制御プログラムに従って払出制御処理を実行するCPU402と、CPU402の演算処理時におけるデータのワークエリアとして機能するRAM406と、外部装置との入出力を行うI/F410とを有して構成されている。
Connected to the I / F 310 are 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.
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には、遊技球の貯留部から所定数の遊技球を払い出す払出部480と、遊技球を遊技盤101に発射する発射部482とが接続されている。
賞球制御部400は、払出部480に対して、各入賞口(始動入賞口105、普通入賞口107、大入賞口109)への入賞に応じて所定数の遊技球を払い出す制御を行う。また、発射部482に対する操作を検出し、遊技球の発射を制御する。
Connected to the I / F 410 are 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.
The winning ball control unit 400 controls the paying 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のセンサにより操作を検出すると、その操作量に応じてソレノイドを駆動させて遊技球を間欠的に発射する。
なお、主制御部200、演出制御部300および賞球制御部400は、それぞれ異なるプリント基板(主制御基板、演出基板および賞球基板)に設けられる。これに限らず、例えば、賞球制御部400は、主制御部200と同一のプリント基板に設けることもできる。
The launching unit 482 includes a sensor that detects an operation by a player and a solenoid 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.
The main control unit 200, the effect control unit 300, and the prize ball control unit 400 are provided on different printed boards (main control board, effect board, and prize ball board), respectively. For example, the prize ball control unit 400 may be provided on the same printed circuit board as the main control unit 200.

〔主制御部の構成〕
次に、主制御部200の構成を説明する。
図3は、主制御部200の構成を示すブロック図である。
主制御部200は、図3に示すように、DIP(Dual
Inline Package)等からなるワンチップ型のマイクロプロセッサであるCPU202と、CPU202によるアクセスの正当性を認証するアクセス認証装置230と、パチンコ機の検定試験に用いられる検査ポート240とを有して構成されている。
[Configuration of main controller]
Next, the configuration of the main control unit 200 will be described.
FIG. 3 is a block diagram illustrating a configuration of the main control unit 200.
As shown in FIG. 3, the main control unit 200 is a DIP (Dual
CPU 202 which is a one-chip type microprocessor composed of Inline Package), an access authentication device 230 for authenticating the legitimacy of access by the CPU 202, and an inspection port 240 used for a pachinko machine verification test. ing.

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

CPU202は、さらに、時間を計測するタイマ214と、CPUコア204が実行する命令に関する情報を出力する外部デバイス制御回路216とを有して構成されている。そして、CPUコア204、ROM206、RAM208、セキュリティ検査回路210、I/F212、タイマ214および外部デバイス制御回路216は、バス218を介して相互に接続されている。   The CPU 202 is further configured to include a timer 214 that measures time and an external device control circuit 216 that outputs information related to instructions executed by the CPU core 204. The CPU core 204, ROM 206, RAM 208, security inspection circuit 210, I / F 212, timer 214, and external device control circuit 216 are connected to each other via a bus 218.

外部デバイス制御回路216には、アクセス認証装置230が接続されている。外部デバイス制御回路216は、バス218を介して送受信されるアドレス信号、データ信号および制御信号をアクセス認証装置230に出力する。これにより、アクセス認証装置230は、CPUコア204が実行する命令コード列、およびそのROM206におけるアドレス(以下、単にアドレスという。)を取得することができる。ここで、命令コード列のアドレスとは、命令コード列のうち先頭の命令コードのアドレスをいう。   An access authentication device 230 is connected to the external device control circuit 216. The external device control circuit 216 outputs an address signal, a data signal, and a control signal transmitted / received via the bus 218 to the access authentication device 230. Thereby, the access authentication device 230 can acquire an instruction code string executed by the CPU core 204 and an address in the ROM 206 (hereinafter simply referred to as an address). 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のほか、遊技の演出制御に必要な複数のデバイスからなる演出関連デバイス群312を有して構成されている。同様に、賞球制御部400は、CPU402、ROM404、RAM406およびI/F410のほか、遊技球の払出制御に必要な複数のデバイスからなる賞球関連デバイス群412を有して構成されている。   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 312 including a plurality of devices necessary for game effect control. Similarly, the prize ball control unit 400 includes a prize ball related device group 412 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.

〔CPUコアおよびアクセス認証装置の構成〕
次に、CPUコア204およびアクセス認証装置230の構成を説明する。
図4は、CPUコア204およびアクセス認証装置230の構成を示すブロック図である。なお、図4では、説明の便宜上、構成の一部を省略している。
CPUコア204は、図4に示すように、ROM206に記憶された命令コード列を読み出し(フェッチ)、読み出した命令コード列に従ってデータ処理を行う。CPUコア204は、制御部204a、演算部204bおよびレジスタ204cを有して構成されている。
[Configuration of CPU core and access authentication device]
Next, the configuration of the CPU core 204 and the access authentication device 230 will be described.
FIG. 4 is a block diagram showing the configuration of the CPU core 204 and the access authentication device 230. In FIG. 4, a part of the configuration is omitted for convenience of explanation.
As shown in FIG. 4, the CPU core 204 reads (fetches) an instruction code string stored in the ROM 206 and performs data processing according to the read instruction code string. The CPU core 204 includes a control unit 204a, a calculation unit 204b, and a register 204c.

制御部204aは、CPU202全体の動作を制御し、命令コード列その他データの読出および書込を行うためにバス218に制御信号を出力する。
演算部204bは、レジスタ204cに保持されたデータに対して演算を行う。
レジスタ204cは、ROM206から読み出した命令コード列およびそのアドレス、並びに演算部204bで処理したデータを保持する。
The control unit 204a controls the overall operation of the CPU 202 and outputs a control signal to the bus 218 in order to read and write instruction code strings and other data.
The arithmetic unit 204b performs an operation on the data held in the register 204c.
The register 204c holds the instruction code string read from the ROM 206 and its address, and the data processed by the arithmetic unit 204b.

アクセス認証装置230は、大当たり決定乱数その他遊技制御に用いる乱数を生成するとともにCPUコア204で処理したデータを保持する。アクセス認証装置230は、取得部231、演算部232、レジスタ234、236およびアクセス制御部238を有して構成されている。
取得部231は、ラッチ回路等からなり、CPUコア204が実行する命令コード列およびそのアドレスを外部デバイス制御回路216から取得する。
The access authentication device 230 generates a jackpot decision random number and other random numbers used for game control and holds data processed by the CPU core 204. The access authentication device 230 includes an acquisition unit 231, a calculation unit 232, registers 234 and 236, and an access control unit 238.
The acquisition unit 231 includes a latch circuit and the like, and acquires an instruction code string executed by the CPU core 204 and its address from the external device control circuit 216.

演算部232は、乱数生成器等からなり、大当たり決定乱数その他遊技制御に用いる乱数および認証に必要な認証情報を生成する。
レジスタ234は、演算部232で生成した乱数および認証情報を保持する。レジスタ234へのアクセスは、アクセス制御部238により制御される。
レジスタ236は、CPUコア204で処理したデータを保持する。レジスタ236へのアクセスは、アクセス制御部238により制御される。
The arithmetic unit 232 includes a random number generator or the like, and generates a jackpot determination random number and other random numbers used for game control and authentication information necessary for authentication.
The register 234 holds the random number and authentication information generated by the calculation unit 232. Access to the register 234 is controlled by the access control unit 238.
The register 236 holds data processed by the CPU core 204. Access to the register 236 is controlled by the access control unit 238.

アクセス制御部238は、レジスタ234からデータを読み出すリード命令をCPUコア204から受けた場合に、取得部231で取得したそのリード命令の命令コード列およびアドレスに基づいてアクセス許可条件が成立すると判定したときは、レジスタ234からのデータの読出を許可する。これに対し、アクセス許可条件が成立しないと判定したときは、レジスタ234からのデータの読出を禁止する。具体的には、取得部231で取得した命令コード列が、あらかじめ許可されたコード列(以下、許可命令コード列という。)であり、かつ、その命令コード列のアドレスが、あらかじめ許可されたアドレス(以下、許可アドレスという。)であるときにのみ、レジスタ234からデータを読み出すことができる。   When the access control unit 238 receives a read instruction for reading data from the register 234 from the CPU core 204, the access control unit 238 determines that the access permission condition is satisfied based on the instruction code string and address of the read instruction acquired by the acquisition unit 231. At that time, reading of data from the register 234 is permitted. On the other hand, when it is determined that the access permission condition is not satisfied, reading of data from the register 234 is prohibited. Specifically, the instruction code string acquired by the acquisition unit 231 is a code string that is permitted in advance (hereinafter referred to as a permitted instruction code string), and the address of the instruction code string is an address that is permitted in advance. The data can be read from the register 234 only when it is (hereinafter referred to as a permitted address).

アクセス制御部238は、レジスタ236にデータを書き込むライト命令をCPUコア204から受けた場合に、取得部231で取得したそのライト命令の命令コード列およびアドレスに基づいてアクセス許可条件が成立すると判定したときは、レジスタ236へのデータの書込を許可する。これに対し、アクセス許可条件が成立しないと判定したときは、レジスタ236へのデータの書込を禁止する。具体的には、取得部231で取得した命令コード列が許可命令コード列であり、かつ、その命令コード列のアドレスが許可アドレスであるときにのみ、レジスタ236にデータを書き込むことができる。   When the access control unit 238 receives a write command for writing data to the register 236 from the CPU core 204, the access control unit 238 determines that the access permission condition is satisfied based on the instruction code string and address of the write command acquired by the acquisition unit 231. When writing, data writing 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 acquired by the acquisition unit 231 is a permitted instruction code string and the address of the instruction code string is a permitted address.

〔アクセス制御処理〕
次に、アクセス制御部238で実行されるアクセス制御処理を説明する。
図5は、アクセス制御処理を示すフローチャートである。
アクセス制御部238は、アクセス制御処理を実行すると、図5に示すように、まず、ステップS100に移行する。
ステップS100では、CPUコア204が実行する命令コード列およびそのアドレスを取得部231から入力し、ステップS102に移行して、入力した命令コード列がリード命令であるか否かを判定し、リード命令であると判定したとき(Yes)は、ステップS104に移行する。
[Access control processing]
Next, an access control process executed by the access control unit 238 will be described.
FIG. 5 is a flowchart showing the access control process.
When executing the access control process, the access control unit 238 first proceeds to step S100 as shown in FIG.
In step S100, an instruction code string executed by the CPU core 204 and its address are input from the acquisition unit 231. The process proceeds to step S102, where it is determined whether the input instruction code string is a read instruction. When it is determined that (Yes), the process proceeds to step S104.

ステップS104では、入力した命令コード列が、許可するリード命令であるか否かを判定する。許可するリード命令であるか否は、入力した命令コード列が許可命令コード列と一致するか否か、およびその命令コード列のアドレスが許可アドレスであるか否かにより判定する。両方とも一致したときにのみ、許可するリード命令であると判定する。その結果、許可するリード命令であると判定したとき(Yes)は、ステップS106に移行する。   In step S104, it is determined whether or not the input instruction code string is a permitted read instruction. Whether or not the read instruction is permitted is determined based on whether or not the input instruction code string matches the permitted instruction code string and whether or not the address of the instruction code string is a permitted address. Only when both match, it is determined that the read instruction is permitted. As a result, when it is determined that the read instruction is permitted (Yes), the process proceeds to step S106.

ステップS106では、レジスタ234が保持しているデータをCPUコア204に出力する。出力されたデータは、CPUコア204のレジスタ204cに保持される。
次いで、ステップS108に移行して、入力した命令コード列がライト命令であるか否かを判定し、ライト命令であると判定したとき(Yes)は、ステップS110に移行する。
ステップS110では、入力した命令コード列が、許可するライト命令であるか否かを判定する。許可するライト命令であるか否は、ステップS104と同様の方法により判定する。その結果、許可するライト命令であると判定したとき(Yes)は、ステップS112に移行する。
In step S106, the data held in the register 234 is output to the CPU core 204. The output data is held in the register 204c of the CPU core 204.
Next, the process proceeds to step S108, where it is determined whether or not the input instruction code string is a write instruction. When it is determined that the input instruction code string is a write instruction (Yes), the process proceeds to step S110.
In step S110, it is determined whether or not the input instruction code string is a write instruction to be permitted. Whether or not the write command is permitted is determined by the same method as in step S104. As a result, when it is determined that the write command is permitted (Yes), the process proceeds to step S112.

ステップS112では、CPUコア204のレジスタ204cが保持しているデータをレジスタ236に書き込み、アクセス制御処理を終了する。
一方、ステップS110で、許可するライト命令でないと判定したとき(No)、およびステップS108で、ライト命令でないと判定したとき(No)はいずれも、レジスタ236にデータを書き込まずに、アクセス制御処理を終了する。このとき、CPUコア204は、不正が行われている可能性がある旨の通知(以下、不正通知という。)を行ってもよい。不正通知は、例えば、所定のメッセージ、マークまたは画像を図柄表示部104に表示したり、所定のメッセージ音や効果音をスピーカ380から出力したり、I/F212を介してCPU202の製造元、管理者または他の機器にエラーメッセージを送信したり、I/F212を介して上記表示や音声出力を他の機器に行わせるための制御信号を送信したりすることにより行うことができる。これにより、主制御部200に不正が行われた可能性があることをユーザ等に認識させ、調査や修理等の措置を講じさせることができる。
In step S112, the data held in the register 204c of the CPU core 204 is written into the register 236, and the access control process is terminated.
On the other hand, when it is determined in step S110 that the write command is not permitted (No) and in step S108, when it is determined that the command is not a write command (No), the access control process is performed without writing data to the register 236. Exit. At this time, the CPU core 204 may make a notification indicating that there is a possibility of fraud (hereinafter referred to as fraud notification). The fraud notification may be, for example, 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 212. 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 212. 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.

一方、ステップS104で、許可するリード命令でないと判定したとき(No)、およびステップS102で、リード命令でないと判定したとき(No)はいずれも、レジスタ234が保持しているデータをCPUコア204に出力せずに、ステップS108に移行する。このとき、CPUコア204のレジスタ204cには、アクセス認証装置230からの出力がないので、「0000」や「1111」等の非正当値が保持される。非正当値を所定値にしておき、その値がレジスタ204cに保持された場合は、不正通知を行ってもよい。ここで、所定値とは、例えば、複数種類の固定値群や、あらかじめ変動規則を定めておいた変動値である。   On the other hand, when it is determined in step S104 that the read command is not permitted (No) and in step S102, it is determined that the read command is not a read command (No), the data held in the register 234 is stored in the CPU core 204. The process proceeds to step S108. At this time, since there is no output from the access authentication device 230, the register 204c of the CPU core 204 holds an invalid value such as “0000” or “1111”. If the invalid value is set to a predetermined value and the value is held in the register 204c, an unauthorized notification may be performed. 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のメモリ構造〕
次に、ROM206のメモリ構造を説明する。
図6は、ROM206のメモリ構造を模式的に示した図である。
ROM206は、図6に示すように、CPUコア204が実行する命令コード列を記憶する。
ROM206の記憶領域206aには、所定領域ごと(例えば、1バイトごと)にアドレスが割り当てられている。図6の例では、記憶領域206aに対してアドレス「0x000」〜「0xNNN」が割り当てられており、各アドレスは1バイト分の領域を示している。例えば、アドレス「0x100」〜「0x103」には、命令コード列「0xABCDEFGH」(リード命令)が格納されている。また、アドレス「0x104」〜「0x107」には、命令コード列「0xJKLMNOPQ」(ライト命令)が格納されている。
[ROM memory structure]
Next, the memory structure of the ROM 206 will be described.
FIG. 6 is a diagram schematically showing the memory structure of the ROM 206.
As shown in FIG. 6, the ROM 206 stores an instruction code string executed by the CPU core 204.
An address is assigned to the storage area 206a of the ROM 206 for each predetermined area (for example, for each byte). In the example of FIG. 6, addresses “0x000” to “0xNNN” are assigned to the storage area 206a, and each address indicates an area for 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コア204で実行される遊技制御処理を説明する。
CPUコア204は、所定の動作クロック(例えば、4[ms])で1サイクルを実行可能な制御プログラムをROM206から読み出し、読み出した制御プログラムに従って、図7のフローチャートに示す遊技制御処理を実行する。
図7は、遊技制御処理を示すフローチャートである。
遊技制御処理は、CPUコア204において実行されると、図7に示すように、まず、ステップS200に移行する。
[Game control processing]
Next, game control processing executed by the CPU core 204 will be described.
The CPU core 204 reads from the ROM 206 a control program that can execute one cycle at a predetermined operation clock (for example, 4 [ms]), and executes the game control process shown in the flowchart of FIG. 7 in accordance with the read control program.
FIG. 7 is a flowchart showing the game control process.
When the game control process is executed in the CPU core 204, first, the process proceeds to step S200 as shown in FIG.

ステップS200では、電源がオンになったか否かを判定し、電源がオンになったと判定したとき(Yes)は、ステップS202に移行するが、そうでないと判定したとき(No)は、電源がオンになるまでステップS200で待機する。
ステップS202では、RAM208の内容を初期化し、I/F212を介して、電源投入を指示するための制御コマンド(電源オンコマンド)を演出制御部300および賞球制御部400に送信する初期化処理を実行する。演出制御部300では、電源オンコマンドを受信すると、図柄表示部104、ランプ制御部386および音声制御部382に対して、電源オン時の演出用の制御コマンド(具体的には、デモ画面の表示、ランプの点灯、音声の出力を指示するための制御コマンド)をそれぞれ送信する。
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.
In step S202, initialization processing for initializing the contents of the RAM 208 and transmitting a control command (power-on command) for instructing power-on to the effect control unit 300 and the prize ball control unit 400 via the I / F 212 is performed. Execute. When the effect control unit 300 receives the power-on command, the effect display unit 104, the lamp control unit 386, and the sound control unit 382 receive a control command for the effect at the time of power-on (specifically, display of a demonstration screen). , Control commands for instructing lamp lighting and sound output).

次いで、ステップS204に移行して、CPU202に接続された機器(以下、接続機器という。)の認証を行う接続機器認証処理を実行し、ステップS206に移行して、始動入賞口105に遊技球が入賞したことを判定する入賞判定処理を実行し、ステップS208に移行する。
ステップS208では、大当たりの判定を行うとともに図柄の変動パターンを決定する大当たり判定処理を実行し、ステップS210に移行して、大入賞口109の開閉部材を所定パターンで開放させる電動役物制御処理を実行し、ステップS212に移行する。
Next, the process proceeds to step S204, and a connected device authentication process for authenticating a device connected to the CPU 202 (hereinafter referred to as a connected device) is executed. The process proceeds to step S206, and a game ball is placed in the start winning opening 105. A winning determination process is performed to determine that a prize has been won, and the process proceeds to step S208.
In step S208, a jackpot determination process for determining a jackpot and determining a symbol variation pattern is executed, and the process proceeds to step S210 to perform an electric accessory control process for opening the opening / closing member of the prize winning port 109 in a predetermined pattern. Execute, and the process proceeds to step S212.

ステップS212では、賞球制御部400に対して遊技球の払出を指示するための制御コマンドをRAM208に格納する賞球払出制御処理を実行し、ステップS214に移行して、I/F212を介して、RAM208に格納した制御コマンドを演出制御部300または賞球制御部400に送信する制御コマンド送信処理を実行し、ステップS216に移行する。   In step S212, a prize ball payout control process for storing in the RAM 208 a control command for instructing the prize ball control unit 400 to pay out a game ball is executed. The process proceeds to step S214, and the I / F 212 is used. Then, a control command transmission process for transmitting the control command stored in the RAM 208 to the effect control unit 300 or the prize ball control unit 400 is executed, and the process proceeds to step S216.

ステップS216では、電源がオフになったか否かを判定し、電源がオフになったと判定したとき(Yes)は、ステップS218に移行して、I/F212を介して、電源遮断を指示するための制御コマンド(電源オフコマンド)を演出制御部300および賞球制御部400に送信する終了処理を実行し、遊技制御処理を終了する。
一方、ステップS216で、電源がオフになっていないと判定したとき(No)は、ステップS206に移行する。
In step S216, it is determined whether or not the power supply has been turned off. When it is determined that the power supply has been turned off (Yes), the process proceeds to step S218 to instruct power shutdown via the I / F 212. Is terminated to transmit the control command (power off command) to the effect control unit 300 and the prize ball control unit 400, and the game control process is terminated.
On the other hand, when it is determined in step S216 that the power is not turned off (No), the process proceeds to step S206.

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

図8は、接続機器認証処理の実行に伴うCPUコア204およびアクセス認証装置230の動作を示すフローチャートである。
CPUコア204は、図8に示すように、まず、ステップS300、S302を経て、接続機器から認証用データを取得し、取得した認証用データを用いてアクセス認証装置230に検証値Vを生成させる。検証値Vは、接続機器を認証するために用いる値である。アクセス認証装置230は、演算部232で検証値Vを生成し、レジスタ234に保持する。なお、ステップS300で取得した認証用データをそのまま検証値Vとしてもよい。
FIG. 8 is a flowchart showing the operations of the CPU core 204 and the access authentication device 230 when the connected device authentication process is executed.
As illustrated in FIG. 8, the CPU core 204 first acquires authentication data from the connected device through steps S300 and S302, and causes the access authentication device 230 to generate a verification value V using the acquired authentication data. . The verification value V is a value used for authenticating the connected device. The access authentication device 230 generates a verification value V by the calculation unit 232 and stores the verification value V in the register 234. Note that the authentication data acquired in step S300 may be used as the verification value V as it is.

次いで、CPUコア204は、ステップS304、S306を経て、アクセス認証装置230のレジスタ234から検証値Vを読み出し、読み出した検証値Vをレジスタ204cに保持する。そして、CPUコア204は、ステップS308を経て、アクセス認証装置230のレジスタ236に検証値Vを書き込む。
次いで、CPUコア204は、ステップS310を経て、アクセス認証装置230に期待値Pを生成させる。期待値Pは、検証値Vを照合するために用いる値である。アクセス認証装置230は、演算部232で期待値Pを生成し、レジスタ234に保持する。
Next, the CPU core 204 reads the verification value V from the register 234 of the access authentication device 230 through steps S304 and S306, and holds the read verification value V in the register 204c. Then, the CPU core 204 writes the verification value V into the register 236 of the access authentication device 230 through step S308.
Next, the CPU core 204 causes the access authentication device 230 to generate the expected value P through step S310. The expected value P is a value used for verifying the verification value V. In the access authentication device 230, the calculation unit 232 generates the expected value P and holds it in the register 234.

CPUコア204は、ステップS312、S314を経て、アクセス認証装置230のレジスタ234から期待値Pを読み出し、アクセス認証装置230のレジスタ236から検証値Vを読み出す。そして、CPUコア204は、ステップS316、S318を経て、検証値Vと期待値Pとを照合し、照合結果が正しいか否かを判定する。照合結果が正しいか否かは、例えば、検証値Vと期待値Pとの間に所定関係が成立しているか(例えば、検証値V=期待値P)否かにより判定する。   The CPU core 204 reads the expected value P from the register 234 of the access authentication device 230 and the verification value V from the register 236 of the access authentication device 230 through steps S312 and S314. Then, the CPU core 204 collates the verification value V with the expected value P through steps S316 and S318, and determines whether or not the collation result is correct. Whether or not the collation result is correct is determined, for example, based on whether or not a predetermined relationship is established between the verification value V and the expected value P (for example, verification value V = expected value P).

照合結果が正しいと判定したとき(Yes)は、CPUコア204は、ステップS320を経て、接続機器を認証し、接続機器認証処理を終了する。一方、照合結果が正しくないと判定したとき(No)は、CPUコア204は、ステップS322を経て、接続機器を認証せず、接続機器認証処理を終了する。接続機器を認証しなかった場合、CPUコア204は、例えば、不正通知を行ったり、接続機器との接続を切断したりする。   When it is determined that the collation result is correct (Yes), the CPU core 204 authenticates the connected device through step S320, and ends the connected device authentication process. On the other hand, when it is determined that the collation result is not correct (No), the CPU core 204 does not authenticate the connected device through step S322, and ends the connected device authentication process. When the connected device is not authenticated, the CPU core 204 performs, for example, an unauthorized notification or disconnects the connection device.

〔入賞判定処理〕
次に、ステップS206の入賞判定処理を説明する。
図9は、入賞判定処理を示すフローチャートである。
入賞判定処理は、ステップS206において実行されると、図9に示すように、まず、ステップS400に移行する。
ステップS400では、始動入賞口105への入賞遊技球数が「0」であるか否かを判定し、入賞遊技球数が「0」であると判定したとき(Yes)は、ステップS402に移行する。
[Winning determination process]
Next, the winning determination process in step S206 will be described.
FIG. 9 is a flowchart showing a winning determination process.
When the winning determination process is executed in step S206, as shown in FIG. 9, first, the process proceeds to step S400.
In step S400, it is determined whether or not the number of winning game balls to the start winning opening 105 is “0”. If it is determined that the number of winning game balls is “0” (Yes), the process proceeds to step S402. To do.

ステップS402では、タイマ214を用いて始動入賞口105への最後の入賞から所定時間(例えば、10分)が経過したか否かを判定し、所定時間が経過したと判定したとき(Yes)は、ステップS404に移行する。
ステップS404では、演出制御部300に対して客待ちデモの開始を指示するための制御コマンド(客待ちデモコマンド)をRAM208に格納する客待ちデモ開始処理を実行する。演出制御部300は、客待ちデモコマンドを受信すると、図柄表示部104、ランプ制御部386および音声制御部382に対して客待ちデモ用の制御コマンドをそれぞれ送信する。
In step S402, 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). The process proceeds to step S404.
In step S <b> 404, a customer waiting demo start process is executed in which a control command (customer waiting demo command) for instructing the production control unit 300 to start a customer waiting demo is stored in the RAM 208. When receiving the customer waiting demo command, the effect control unit 300 transmits a customer waiting demo control command to the symbol display unit 104, the lamp control unit 386, and the voice control unit 382, respectively.

次いで、ステップS406に移行して、I/F212を介して始動入賞口検出部280からのセンサ信号を読み込み、読み込んだセンサ信号に基づいて始動入賞口105に遊技球が入賞したことを検出したか否かを判定し、遊技球の入賞を検出したと判定したとき(Yes)は、ステップS408に移行する。
ステップS408では、入賞遊技球数が「4」以上であるか否かを判定し、入賞遊技球数が「4」未満であると判定したとき(No)は、ステップS410に移行して、入賞遊技球数に「1」を加算し、ステップS412に移行する。
Next, the process proceeds to step S406, whether the sensor signal from the start winning port detection unit 280 is read via the I / F 212, and whether it is detected that a game ball has won the start winning port 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 S408.
In step S408, it is determined whether or not the number of winning game balls is “4” or more. If it is determined that the number of winning game balls is less than “4” (No), the process proceeds to step S410, and the winning is achieved. “1” is added to the number of game balls, and the process proceeds to step S412.

ステップS412では、アクセス認証装置230のレジスタ234から大当たり決定乱数その他遊技制御に用いる乱数を読み出し、ステップS414に移行して、読み出した乱数を、入賞遊技球数に対応したRAM208の所定領域にそれぞれ格納し、一連の処理を終了して元の処理に復帰させる。
一方、ステップS408で、入賞遊技球数が「4」以上であると判定したとき(Yes)、およびステップS406で、遊技球の入賞を検出しないと判定したとき(No)はいずれも、一連の処理を終了して元の処理に復帰させる。
In step S412, the jackpot determination random number and other random numbers used for game control are read from the register 234 of the access authentication device 230, and the process proceeds to step S414, where the read random numbers are stored in predetermined areas of the RAM 208 corresponding to the number of winning game balls. Then, the series of processes is terminated and the original process is restored.
On the other hand, when it is determined in step S408 that the number of winning game balls is “4” or more (Yes) and when it is determined in step S406 that no winning of game balls is detected (No), a series of End the process and return to the original process.

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

〔大当たり判定処理〕
次に、ステップS208の大当たり判定処理を説明する。
図10は、大当たり判定処理を示すフローチャートである。
大当たり判定処理は、所定確率で大当たりを発生させるために、大当たり決定乱数がとり得る所定の数値範囲(例えば、「0」〜「400」)に1個の大当たり値を設定し、始動入賞口105に遊技球が入賞した入賞タイミングで大当たり決定乱数を読み出し、読み出した乱数値と大当たり値とが一致しているときに大当たりを発生させる処理であって、ステップS208において実行されると、図10に示すように、まず、ステップS500に移行する。
[Big hit judgment processing]
Next, the jackpot determination process in step S208 will be described.
FIG. 10 is a flowchart showing the jackpot determination process.
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 10 is a process of reading a jackpot determined random number at the winning timing when the game ball is won, and generating a jackpot when the read random number value matches the jackpot value, and when executed in step S208, As shown, first, the process proceeds to step S500.

ステップS500では、図柄表示部104において演出図柄が変動中か否かを判定し、演出図柄が変動中でないと判定したとき(No)は、ステップS502に移行して、入賞遊技球数が「1」以上であるか否かを判定し、入賞遊技球数が「1」以上であると判定したとき(Yes)は、ステップS504に移行する。
ステップS504では、入賞遊技球数に対応したRAM208の所定領域から大当たり決定乱数を読み出し、ステップS506に移行して、読み出した乱数値が大当たり値と一致しているか否かを判定し、それらが一致していると判定したとき(Yes)は、ステップS508に移行する。
In step S500, the symbol display unit 104 determines whether or not the effect symbol is changing. If it is determined that the effect symbol is not changing (No), the process proceeds to step S502, and the number of winning game balls is “1”. It is determined whether or not the number of winning game balls is “1” or more (Yes), the process proceeds to step S504.
In step S504, a jackpot determination random number is read from a predetermined area of the RAM 208 corresponding to the number of winning game balls, and the process proceeds to step S506 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 S508.

ステップS508では、大当たり時に停止させる演出図柄の態様を決定する大当たり時停止図柄決定処理を実行する。大当たり時停止図柄決定処理では、例えば、入賞遊技球数に対応したRAM208の所定領域から停止図柄決定乱数を読み出し、読み出した乱数値の順位の停止図柄番号を、ROM206に格納されている大当たり用の停止図柄決定テーブルから読み出し、読み出した停止図柄番号を示す制御コマンド(図柄指定コマンド)をRAM208に格納する。これにより、ステップS218の制御コマンド送信処理では、I/F212を介してその制御コマンドが演出制御部300に送信される。   In step S508, 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, the stop symbol determination random number is read from a predetermined area of the RAM 208 corresponding to the number of winning game balls, and the stop symbol number of the rank of the read random number value is stored in the ROM 206 for jackpot A control command (symbol designation command) indicating the stopped symbol number read out from the stop symbol determination table is stored in the RAM 208. Thereby, in the control command transmission process of step S218, the control command is transmitted to the effect control unit 300 via the I / F 212.

次いで、ステップS510に移行して、大当たり時に変動表示する演出図柄の変動パターンを決定する大当たり時変動パターン決定処理を実行する。大当たり時変動パターン決定処理では、例えば、アクセス認証装置230のレジスタ234から変動パターン決定乱数を読み出し、読み出した乱数値の順位の変動パターン番号を、ROM206に格納されている大当たり用の変動パターン決定テーブルから読み出し、読み出した変動パターン番号を示す制御コマンド(図柄変動コマンド)をRAM208に格納する。これにより、ステップS218の制御コマンド送信処理では、I/F212を介して図柄変動コマンドが演出制御部300に送信される。   Next, the process proceeds to step S510, and the jackpot hour variation pattern determination process is performed for determining the variation pattern of the effect symbol to be displayed variably at the jackpot. In the jackpot variation pattern determination process, for example, a variation pattern determination random number is read from the register 234 of the access authentication device 230, and the variation pattern number of the order of the read random number value is stored in the variation pattern determination table for jackpot stored in the ROM 206. The control command (design variation command) indicating the variation pattern number read out is stored in the RAM 208. Thereby, in the control command transmission process of step S218, the symbol variation command is transmitted to the effect control unit 300 via the I / F 212.

次いで、ステップS512に移行して、演出制御部300に対して演出図柄の変動開始を指示するための制御コマンド(変動開始コマンド)をRAM208に格納する図柄変動開始処理を実行し、ステップS514に移行して、入賞遊技球数から「1」を減算し、一連の処理を終了して元の処理に復帰させる。
一方、ステップS506で、大当たり値と一致しないと判定したとき(No)は、ステップS516に移行して、はずれ時に停止させる演出図柄の組み合わせを決定するはずれ時停止図柄決定処理を実行する。はずれ時停止図柄決定処理は、ステップS508と同様に構成される。ステップS508と異なるのは、はずれ用の停止図柄決定テーブルを用いる点である。
Next, the process proceeds to step S512, and a symbol variation start process for storing in the RAM 208 a control command (variation start command) for instructing the effect control unit 300 to start the variation of the effect symbol is executed, and the process proceeds to step S514. Then, “1” is subtracted from the number of winning game balls, a series of processing is terminated, and the original processing is restored.
On the other hand, when it is determined in step S506 that it does not match the jackpot value (No), the process proceeds to step S516, and a stoppage stop symbol determination process for determining a combination of effect symbols 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 S508. The difference from step S508 is that a stop symbol determination table for loss is used.

次いで、ステップS518に移行して、はずれ時に変動表示する演出図柄の変動パターンを決定するはずれ時変動パターン決定処理を実行する。はずれ時変動パターン決定処理は、ステップS510と同様に構成される。ステップS510と異なるのは、はずれ用の変動パターン決定テーブルを用いる点である。
ステップS518の処理が終了すると、ステップS512に移行する。
Subsequently, the process proceeds to step S518, 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 process is configured in the same manner as in step S510. The difference from step S510 is that a deviation variation pattern determination table is used.
When the process of step S518 ends, the process proceeds to step S512.

一方、ステップS500で、図柄表示部104において演出図柄が変動中であると判定したとき(Yes)は、ステップS520に移行する。
ステップS520では、演出図柄の変動を開始してから所定時間(例えば、30秒)が経過したか否かを判定し、所定時間が経過したと判定したとき(Yes)は、ステップS522に移行して、演出制御部300に対して演出図柄の停止を指示するための制御コマンド(図柄停止コマンド)をRAM208に格納する図柄停止処理を実行し、一連の処理を終了して元の処理に復帰させる。
On the other hand, when it is determined in step S500 that the effect display is changing in the symbol display unit 104 (Yes), the process proceeds to step S520.
In step S520, 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 S522. Then, a symbol stop process for storing in the RAM 208 a control command (design stop command) for instructing the effect control unit 300 to stop the effect symbol is executed, and a series of processes is terminated and the original process is restored. .

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

〔電動役物制御処理〕
次に、ステップS210の電動役物制御処理を説明する。
図11は、電動役物制御処理を示すフローチャートである。
電動役物制御処理は、ステップS210において実行されると、図11に示すように、まず、ステップS600に移行する。
ステップS600では、大当たりの開始タイミングであるか否かを判定し、大当たりの開始タイミングであると判定したとき(Yes)は、ステップS602に移行して、演出制御部300に対して大当たりの演出開始を指示するための制御コマンド(大当たり開始コマンド)をRAM208に格納する大当たり演出開始処理を実行し、ステップS604に移行する。
[Electric character control processing]
Next, the electric accessory control process in step S210 will be described.
FIG. 11 is a flowchart showing the electric accessory control process.
When the electric accessory control process is executed in step S210, as shown in FIG. 11, the process first proceeds to step S600.
In step S600, it is determined whether or not it is a jackpot start timing, and when it is determined that it is a jackpot start timing (Yes), the process proceeds to step S602 and the effect control unit 300 starts a jackpot presentation. The jackpot presentation start process is executed in which a control command (a jackpot start command) for instructing is stored in the RAM 208, and the process proceeds to step S604.

ステップS604では、大当たり中であるか否かを判定し、大当たり中であると判定したとき(Yes)は、ステップS606に移行して、ラウンド中であるか否かを判定し、ラウンド中であると判定したとき(Yes)は、ステップS608に移行する。
ステップS608では、大入賞口開閉部288により大入賞口109の開閉を制御する大入賞口開閉制御処理を実行し、一連の処理を終了して元の処理に復帰させる。
In step S604, it is determined whether or not it is a big hit, and when it is determined that a big hit is made (Yes), the process proceeds to step S606 to determine whether or not it is in a round, and it is in a round. (Yes), the process proceeds to step S608.
In step S608, 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 part 288, and a series of processes is terminated to return to the original process.

一方、ステップS606で、ラウンド中でないと判定したとき(No)は、ステップS610に移行して、1ラウンドが終了したか否かを判定し、1ラウンドが終了したと判定したとき(Yes)は、ステップS612に移行して、ラウンド回数に「1」を加算し、ステップS614に移行する。
ステップS614では、ラウンド回数が所定値(例えば、15回)を超えたか否かを判定し、ラウンド回数が所定値を超えていないと判定したとき(No)は、演出制御部300に対して次のラウンドへの移行を指示するための制御コマンド(大当たり継続コマンド)をRAM208に格納する次ラウンド移行処理を実行し、一連の処理を終了して元の処理に復帰させる。
On the other hand, when it is determined in step S606 that it is not in the round (No), the process proceeds to step S610, where it is determined whether or not one round is completed, and when it is determined that one round is completed (Yes). Then, the process proceeds to step S612, "1" is added to the number of rounds, and the process proceeds to step S614.
In step S614, it is determined whether or not the number of rounds exceeds a predetermined value (for example, 15 times). When it is determined that the number of rounds does not exceed the predetermined value (No), the next step is directed to the effect control unit 300. The next round transition process is executed in which a control command (big hit continuation command) for instructing the transition to the next round is stored in the RAM 208, the series of processes are terminated, and the original process is restored.

一方、ステップS614で、ラウンド回数が所定値を超えたと判定したとき(Yes)は、ステップS618に移行して、演出制御部300に対して大当たりの演出終了を指示するための制御コマンド(大当たり終了コマンド)をRAM208に格納する大当たり演出終了処理を実行し、一連の処理を終了して元の処理に復帰させる。
一方、ステップS610で、1ラウンドが終了していないと判定したとき(No)、およびステップS604で、大当たり中でないと判定したとき(No)はいずれも、一連の処理を終了して元の処理に復帰させる。
On the other hand, when it is determined in step S614 that the number of rounds has exceeded a predetermined value (Yes), the process proceeds to step S618, and a control command for instructing the effect control unit 300 to end the jackpot effect (the jackpot end) Command) is stored in the RAM 208, a big hit effect end process is executed, a series of processes are ended, and the original process is restored.
On the other hand, when it is determined in step S610 that one round has not ended (No) and when it is determined in step S604 that it is not a big hit (No), the series of processing ends and the original processing is completed. Return to.

一方、ステップS600で、大当たりの開始タイミングでないと判定したとき(No)は、ステップS604に移行する。   On the other hand, when it is determined in step S600 that it is not the big hit start timing (No), the process proceeds to step S604.

〔本実施の形態の動作〕
次に、本実施の形態の動作を説明する。
まず、パチンコ機に電源が投入されると、主制御部200により、ステップS202、S204を経て、初期化処理および接続機器認証処理が実行される。
接続機器認証処理では、ステップS200〜S222を経て、アクセス認証装置230により接続機器の認証が行われる。これにより、接続機器の正当性を認証することができる。しかしながら、例えば、悪意を有する第三者によって、不正な機器が認証されるように接続機器認証処理を改ざんされてしまう場合がある。
例えば、ステップS308では、アクセス認証装置230のレジスタ236に対して検証値Vが書き込まれている。このとき、レジスタ236に書き込まれるのは、本来、CPUコア204のレジスタ204cに保持されている検証値Vである。しかしながら、不正な命令コード列によって、レジスタ236に書き込む値をレジスタ204c以外の場所(または、レジスタ204cのうち検証値Vが保持されている領域以外の領域)に記憶された値とすることが可能となる。
[Operation of the present embodiment]
Next, the operation of the present embodiment will be described.
First, when power is turned on to the pachinko machine, the main control unit 200 performs initialization processing and connected device authentication processing through steps S202 and S204.
In the connected device authentication process, the connected device is authenticated by the access authentication device 230 through steps S200 to S222. 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.
For example, in step S308, the verification value V is written in the register 236 of the access authentication device 230. At this time, what is written in the register 236 is the verification value V originally held in the register 204 c of the CPU core 204. However, the value written to the register 236 can be set to a value stored in a place other than the register 204c (or an area other than the area where the verification value V is held in the register 204c) by an illegal instruction code sequence. It becomes.

また、例えば、ステップS304では、アクセス認証装置230のレジスタ234から検証値Vが読み出されている。このとき、読み出す値をレジスタ234以外の場所(または、レジスタ234のうち検証値Vが保持されている領域以外の領域)に記憶された値とすることが可能となる。
これらの不正は、例えば、不正なパッチ等によってCPUコア204の処理を分岐させることにより可能となる。
For example, in step S304, the verification value V is read from the register 234 of the access authentication 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).
These frauds can be made, for example, by branching the processing of the CPU core 204 by an illegal patch or the like.

このような不正行為が行われると、正しい接続機器認証処理が行えず、不正な機器の接続が可能となってしまう。そのため、主制御部200では、アクセス認証装置230を設け、レジスタ234、236に対するCPUコア204からのアクセスを制御する。これにより、不正な命令コード列の実行により不正な機器が認証されてしまう可能性を低減することができる。   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 authentication device 230 to control access from the CPU core 204 to the registers 234 and 236. As a result, it is possible to reduce the possibility that an unauthorized device is authenticated by executing an unauthorized instruction code string.

図12は、アクセス制御部238が行うアクセス制御の概要を示す説明図である。なお、図12では、説明の便宜上、構成の一部を省略している。
図12に示すように、例えば、許可命令コード列および許可アドレスが、命令コード列「0xJKLMNOPQ」(ライト命令)およびアドレス「0x104」であるとする。このとき、正規のROM206には、アドレス「0x104」〜「0x107」に命令コード列「0xJKLMNOPQ」(ライト命令)が記憶されている。
FIG. 12 is an explanatory diagram showing an outline of access control performed by the access control unit 238. In FIG. 12, a part of the configuration is omitted for convenience of explanation.
As shown in FIG. 12, for example, it is assumed that the permitted instruction code string and the permitted address are an instruction code string “0xJKLMNOPQ” (write instruction) and an address “0x104”. At this time, the regular ROM 206 stores an instruction code string “0xJKLMNOPQ” (write instruction) at addresses “0x104” to “0x107”.

CPUコア204が、アドレス「0x104」〜「0x107」から命令コード列「0xJKLMNOPQ」を読み出して実行する場合(矢印α)、アクセス制御部238は、レジスタ236へのデータの書込を許可する。
ところが、例えば、不正例1のように、アドレス「0x200」〜「0x203」に不正な命令コード列「0xPOIUYTRE」(ライト命令)が書き込まれてしまったとする。この場合、CPUコア204が、アドレス「0x200」〜「0x203」から命令コード列「0xPOIUYTRE」を読み出して実行しても(矢印β)、命令コード列のアドレスが許可アドレスではないので、アクセス制御部238は、レジスタ236へのデータの書込を禁止する(ライト命令を拒否)。
When the CPU core 204 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.
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 204 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コア204が、アドレス「0x108」〜「0x10B」から命令コード列「0xJKLMNOPQ」を読み出して実行しても(矢印γ)、命令コード列のアドレスが許可アドレスではないので、アクセス制御部238は、レジスタ236へのデータの書込を禁止する(ライト命令を拒否)。このとき、CPUコア204は、不正通知を行ってもよい。これにより、不正な命令コード列「0xLKJHGFDS」の実行により書き込み値が変更されたとしても、その値がレジスタ236に書き込まれないので、不正行為が行われる可能性を低減することができる。   Therefore, even if the CPU core 204 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 204 may perform fraud 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が誤動作する可能性を低減することもできる。
図13は、アクセス制御部238が行うアクセス制御の概要を示す説明図である。
図13に示すように、例えば、許可命令コード列および許可アドレスが、命令コード列「0xABCDEFGH」(リード命令)およびアドレス「0x100」、並びに、命令コード列「0xABCDEFGI」(ライト命令)およびアドレス「0x104」であるとする。このとき、正規のROM206には、アドレス「0x100」〜「0x103」に命令コード列「0xABCDEFGH」(リード命令)が記憶されている。
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.
FIG. 13 is an explanatory diagram showing an outline of access control performed by the access control unit 238.
As illustrated in FIG. 13, for example, the permitted instruction code string and the permitted address include an instruction code string “0xABCDEFGH” (read instruction) and an address “0x100”, and an instruction code string “0xABCDEFGI” (write instruction) and an address “0x104”. ”. At this time, the normal ROM 206 stores an instruction code string “0xABCDEFGH” (read instruction) at addresses “0x100” to “0x103”.

CPUコア204が命令コード列を読み出す際、命令コード列にビットエラー(例えば、「1」が「0」となる。)が発生してしまう場合がある。その結果、CPUコア204がアドレス「0x100」〜「0x103」から読み出した命令コード列「0xABCDEFGH」(リード命令)が、例えば、命令コード列「0xABCDEFGI」(ライト命令)に置き換わってしまう場合がある(矢印δ)。この場合、CPUコア204が命令コード列「0xABCDEFGI」(ライト命令)を実行すると、アクセス認証装置230のデータが予期しない形で書き換えられてしまう可能性がある。
しかしながら、このようなライト命令の命令コード列が実行されたとしても(矢印ε)、命令コード列のアドレスが許可アドレスではないので、アクセス制御部238は、レジスタ236へのデータの書込を禁止する(ライト命令を拒否)。
When the CPU core 204 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 204 may be replaced with, for example, the instruction code string “0xABCDEFGI” (write instruction) ( Arrow δ). In this case, if the CPU core 204 executes the instruction code string “0xABCDEFGI” (write instruction), the data in the access authentication device 230 may be rewritten in an unexpected manner.
However, even if the instruction code string of 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. (Reject write command).

次に、パチンコ機で遊技を行う場合を説明する。
接続機器が認証されると、主制御部200により、ステップS206〜S214を経て、入賞判定処理、大当たり判定処理、電動役物制御処理および制御コマンド送信処理が所定周期で繰り返し実行される。これにより、パチンコ機は、遊技可能な状態となる。遊技者は、貸し出しを受けた遊技球をパチンコ機に装填し、発射部482を操作して遊技球を遊技盤101に発射することにより遊技を行うことができる。
Next, a case where a game is played with a pachinko machine will be described.
When the connected device is authenticated, the main control unit 200 repeatedly executes a winning determination process, a jackpot determination process, an electric accessory control process, and a control command transmission process at predetermined intervals through steps S206 to S214. 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.

遊技盤101に発射された遊技球が始動入賞口105に入賞すると、主制御部200では、その入賞タイミングでアクセス認証装置230から大当たり決定乱数が取得される。この大当たり決定乱数も、上記接続機器認証処理の場合と同様に、アクセス認証装置230によりアクセスが許可された場合にのみ、取得することができる。すなわち、大当たり決定乱数の取得に関する命令コード列が許可命令コード列であり、かつ、その命令コード列のアドレスが許可アドレスであるときにのみ、取得することができる。その他遊技制御に用いる乱数についても同様である。そして、大当たり決定乱数の取得に成功した場合、取得された乱数値が大当たり値と一致していれば、大当たりとなる。   When the game ball launched on the game board 101 wins the start winning opening 105, the main control unit 200 acquires a big hit determination random number from the access authentication device 230 at the winning timing. This jackpot-determined random number can also be acquired only when access is permitted by the access authentication device 230, as in the case of the connected device authentication process. That is, it can be acquired only when the instruction code string relating to the acquisition of the jackpot determination random number is a permitted instruction code string and the address of the instruction code string is a permitted address. The same applies to other random numbers used for game control. Then, when the jackpot determination random number is successfully acquired, if the acquired random number value matches the jackpot value, the jackpot is determined.

大当たりとなると、ステップS508、S510を経て、演出図柄の停止図柄の態様および大当たり時の変動パターンが決定される。そして、所定の変動パターンで演出図柄が変動表示され、所定の変動時間経過後に、大当たり図柄で演出図柄が停止する。演出図柄の停止後は、大当たり演出が開始される。
大当たり中は、大入賞口109が所定の開閉パターンで開放し、大入賞口109に遊技球が入賞すると、遊技球1個につき所定数の遊技球が賞球として払い出される。
When the jackpot is reached, through steps S508 and S510, the stop pattern of the effect symbol and the variation pattern at the jackpot are determined. Then, the effect symbol is variably displayed in a predetermined variation pattern, and after the predetermined variation time has elapsed, the effect symbol stops at the jackpot symbol. After the stoppage of the effect design, the jackpot effect is started.
During the big hit, the big winning opening 109 is opened in a predetermined opening / closing pattern, and when a game ball wins the big winning opening 109, a predetermined number of gaming balls are paid out as one winning ball.

〔本実施の形態の効果〕
このようにして、本実施の形態では、アクセス認証装置230は、レジスタ234、236と、CPUコア204が実行する命令コード列およびそのアドレスを取得する取得部231と、取得部231で取得した命令コード列およびアドレスに基づいて、CPUコア204によるレジスタ234、236へのアクセスを制御するアクセス制御部238とを備える。
[Effect of this embodiment]
In this way, in the present embodiment, the access authentication device 230 includes the registers 234 and 236, the instruction code sequence executed by the CPU core 204 and the address thereof, the acquisition unit 231 that acquires the address, and the instruction acquired by the acquisition unit 231. And an access control unit 238 for controlling access to the registers 234 and 236 by the CPU core 204 based on the code string and the address.

これにより、レジスタ234、236のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正行為やエラーに起因する不正動作が行われる可能性を低減することができる。また、CPU202とは別体のアクセス認証装置230がアクセス制御機能を実現するので、CPUコア204自体が不正動作検出処理を行う必要がなく、従来に比して、開発や設計の難易度が高くなることを抑制することができる。さらに、命令コード列およびそのアドレスに基づいてアクセスが制御されるので、ROM206と同等容量のテーブルを用意する必要がなく、従来に比して、データ容量が増大することを抑制することができる。   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 authentication device 230 that is separate from the CPU 202 realizes the access control function, the CPU core 204 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 206, and it is possible to suppress an increase in data capacity compared to the conventional case.

さらに、DIP等からなるワンチップ型のマイクロプロセッサであるCPU202を採用する場合において、CPUコア204が不正動作検出処理を行う構成では、CPU202が丸ごと交換されるような不正行為が行われると、CPUコア204自体が交換されてしまうことになるので、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 204 performs an unauthorized operation detection process, if an unauthorized action is performed such that the CPU 202 is entirely replaced, the CPU Since the core 204 itself is exchanged, the validity of the CPU 202 cannot be authenticated. On the other hand, in this embodiment, since the access authentication device 230 is provided separately from the CPU 202, it is possible to authenticate the validity of the CPU 202 even if such an illegal act is performed.

さらに、DIP等からなるワンチップ型のマイクロプロセッサであるCPU202を採用する場合において、アクセス認証装置230のアクセス制限機能を実現する回路等をCPU202に内蔵する構成では、CPU202を新たに開発、設計等しなければならず、既存のCPUには適用することができない。これに対し、本実施の形態では、アクセス認証装置230をCPU202に接続するだけでよいので、既存のCPUにも適用することができる。   Further, when the CPU 202, which is a one-chip type microprocessor made of DIP or the like, is adopted, the CPU 202 is newly developed, designed, etc. in the configuration in which the circuit for realizing the access restriction function of the access authentication 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 authentication device 230 to the CPU 202, so that the present invention can also be applied to an existing CPU.

さらに、本実施の形態では、アクセス制御部238は、取得部231で取得した命令コード列が許可命令コード列であり、かつ、その命令コード列のアドレスが許可アドレスであるときにのみ、レジスタ234、236へのアクセスを許可する。
これにより、不正に書き換えられた命令コード列、ビットエラーによって内容が変化した命令コード列、または不正なアドレスに記憶された命令コード列が実行されることにより、レジスタ234、236のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができる。
Furthermore, in this embodiment, the access control unit 238 registers the register 234 only when the instruction code string acquired by the acquisition unit 231 is a permitted instruction code string and the address of the instruction code string is a permitted address. 236 is permitted.
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によるアクセスの制御状況に応じて不正通知を行う。
これにより、不正動作が行われた可能性があることを把握することができる。
さらに、本実施の形態では、主制御部200のCPUコア204にアクセス認証装置230を適用した。
Furthermore, in this embodiment, fraud notification is performed according to the access control status by the access authentication device 230.
Thereby, it is possible to grasp that there is a possibility that an illegal operation has been performed.
Furthermore, in this embodiment, the access authentication device 230 is applied to the CPU core 204 of the main control unit 200.

これにより、主制御部200のCPUコア204が不正動作する可能性を低減することができる。主制御部200は、遊技の根幹となる主制御を行っているので、セキュリティ効果が高い。
上記第1の実施の形態において、図柄表示部104は、発明1、11または12の図柄表示手段に対応し、主制御部200は、発明10の主制御手段に対応し、CPUコア204は、発明1、3、4、10ないし12のデータ処理手段に対応し、ROM206は、発明4の命令コード記憶手段に対応している。また、取得部231は、発明1ないし4の取得手段に対応し、レジスタ234、236は、発明1、2、11または12の記憶手段に対応し、アクセス制御部238およびステップS102〜S112は、発明1、2または9のアクセス制御手段に対応している。
Thereby, it is possible to reduce the possibility that the CPU core 204 of the main control unit 200 operates illegally. Since the main control unit 200 performs main control that is the basis of the game, the security effect is high.
In the first embodiment, the symbol display unit 104 corresponds to the symbol display unit of the invention 1, 11 or 12, the main control unit 200 corresponds to the main control unit of the invention 10, and the CPU core 204 The ROM 206 corresponds to the instruction code storage means of the invention 4, corresponding to the data processing means of the inventions 1, 3, 4, 10 to 12. The acquisition unit 231 corresponds to the acquisition unit of the inventions 1 to 4, the registers 234 and 236 correspond to the storage unit of the invention 1, 2, 11 or 12, and the access control unit 238 and steps S102 to S112 are This corresponds to the access control means of the invention 1, 2 or 9.

また、上記第1の実施の形態において、ステップS102〜S112は、発明11または12のアクセス制御ステップに対応し、ステップS412、S414、S504、S506は、発明1、11または12の抽選手段に対応し、ステップS512は、発明1、11または12の図柄変動手段に対応している。   In the first embodiment, steps S102 to S112 correspond to the access control step of invention 11 or 12, and steps S412, S414, S504 and S506 correspond to the lottery means of invention 1, 11 or 12. Step S512 corresponds to the symbol variation means of the invention 1, 11 or 12.

〔第2の実施の形態〕
次に、本発明の第2の実施の形態を図面を参照しながら説明する。図14ないし図16は、本発明に係る遊技機および遊技制御プログラム、並びに遊技制御方法の第2の実施の形態を示す図である。
本実施の形態は、上記第1の実施の形態に対して、アクセス制御部238が、CPUコア204が実行する命令コード列およびそのアドレスに加えて、命令コード列から算出されたチェック値に基づいてアクセスを制御する点が異なる。なお、以下、上記第1の実施の形態と異なる部分についてのみ説明し、上記第1の実施の形態と重複する部分については同一の符号を付して説明を省略する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to the drawings. 14 to 16 are views showing a second embodiment of the gaming machine, the game control program, and the game control method according to the present invention.
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 204, 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の構成を説明する。
図14は、主制御部200の構成を示すブロック図である。
CPU202は、図14に示すように、CPUコア204、ROM206、RAM208、セキュリティ検査回路210、I/F212、タイマ214および外部デバイス制御回路216のほか、命令コード列からチェック値を算出するチェック値算出部220を有して構成されている。これらは、バス218を介して相互に接続されている。
[Configuration of main controller]
First, the configuration of the main control unit 200 will be described.
FIG. 14 is a block diagram illustrating a configuration of the main control unit 200.
As shown in FIG. 14, the CPU 202 calculates the check value from the instruction code string in addition to the CPU core 204, ROM 206, RAM 208, security inspection circuit 210, I / F 212, timer 214 and external device control circuit 216. A portion 220 is included. These are connected to each other via a bus 218.

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

取得部231は、CPUコア204が実行する命令コード列およびそのアドレス、並びにチェック値算出部220で算出したチェック値を外部デバイス制御回路216から取得する。このとき、チェック値を複数に分割して取得してもよい。この場合、各分割データを結合することによりチェック値を複合する。
アクセス制御部238は、取得部231で取得した命令コード列が許可命令コード列であり、かつ、その命令コード列のアドレスが許可アドレスであり、かつ、取得部231で取得したチェック値がチェック値の期待値と所定関係にあるときにのみ、レジスタ234、236へのアクセスを許可する。所定関係とは、例えば、チェック値が期待値と一致していること、チェック値および期待値の一方を所定の演算方法により演算した演算値が他方と一致していること、チェック値および期待値に大小関係その他の相関関係があることをいう。このように、命令コード列およびアドレスの照合と、チェック値の照合とを組み合わせることにより、不正動作が行われる可能性をさらに低減することができる。
The acquisition unit 231 acquires from the external device control circuit 216 the instruction code sequence executed by the CPU core 204 and its address, and the check value calculated by the check value calculation unit 220. At this time, the check value may be obtained by being divided into a plurality of parts. In this case, the check values are combined by combining the divided data.
The access control unit 238 determines that the instruction code sequence acquired by the acquisition unit 231 is a permitted instruction code sequence, the address of the instruction code sequence is a permitted address, and the check value acquired by the acquisition 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コア204やチェック値の期待値を生成するための専用の処理部(以下、期待値算出部という。)である。CPUコア204や期待値算出部は、あらかじめ記憶されている期待値をアクセス制御部238に送信してもよいし、照合処理ごとに期待値を生成してもよい。また、I/F212を介して、外部の機器からCPUコア204や期待値算出部に期待値を算出するために必要な係数等を受信してもよい。このように、アクセス制御部238に、あらかじめ期待値を記憶させずに、他の構成部から取得することとすれば、ROM206のチェック値を後発的に変更することが可能となる。   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 204 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 204 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 212 to the CPU core 204 or the expected value calculation unit. As described above, if the access control unit 238 obtains the expected value from another component without storing it in advance, the check value of the ROM 206 can be changed later.

〔チェック値算出処理〕
次に、チェック値算出部220で実行されるチェック値算出処理を説明する。
図15は、チェック値算出処理を示すフローチャートである。
チェック値算出部220は、チェック値算出処理を実行すると、図15に示すように、まず、ステップS700に移行する。
ステップS700では、アクセス制御部238からチェック値の取得要求を受信したか否かを判定し、チェック値の取得要求を受信したと判定したとき(Yes)は、ステップS702に移行するが、そうでないと判定したとき(No)は、チェック値の取得要求を受信するまでステップS700で待機する。
[Check value calculation processing]
Next, a check value calculation process executed by the check value calculation unit 220 will be described.
FIG. 15 is a flowchart showing the check value calculation process.
When the check value calculation unit 220 executes the check value calculation process, first, as illustrated in FIG. 15, the process proceeds to step S700.
In step S700, it is determined whether or not 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 S702. (No), the process waits in step S700 until a check value acquisition request is received.

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

〔アクセス制御処理〕
次に、アクセス制御部238で実行されるアクセス制御処理を説明する。
図16は、アクセス制御処理を示すフローチャートである。
アクセス制御部238は、アクセス制御処理を実行すると、図16に示すように、まず、ステップS800に移行する。
ステップS800では、CPUコア204が実行する命令コード列およびそのアドレスを取得部231から入力し、ステップS802に移行して、入力した命令コード列がリード命令であるか否かを判定し、リード命令であると判定したとき(Yes)は、ステップS804に移行する。
[Access control processing]
Next, an access control process executed by the access control unit 238 will be described.
FIG. 16 is a flowchart showing the access control process.
When executing the access control process, the access control unit 238 first proceeds to step S800 as shown in FIG.
In step S800, an instruction code string executed by the CPU core 204 and its address are input from the acquisition unit 231. The process proceeds to step S802, where it is determined whether the input instruction code string is a read instruction. When it is determined that (Yes), the process proceeds to step S804.

ステップS804では、入力した命令コード列が、許可するリード命令であるか否かを判定する。許可するリード命令であるか否は、ステップS104と同様の方法により判定する。その結果、許可するリード命令であると判定したとき(Yes)は、ステップS806に移行する。
ステップS806では、チェック値の取得要求をチェック値算出部220に送信し、ステップS808に移行して、その応答として取得部231が取得したチェック値を取得部231から入力し、ステップS810に移行する。
In step S804, it is determined whether the input instruction code string is a permitted read instruction. Whether or not the read instruction is permitted is determined by the same method as in step S104. As a result, when it is determined that the read instruction is permitted (Yes), the process proceeds to step S806.
In step S806, a check value acquisition request is transmitted to the check value calculation unit 220, the process proceeds to step S808, the check value acquired by the acquisition unit 231 is input from the acquisition unit 231 as a response, and the process proceeds to step S810. .

ステップS810では、アクセス制御部238に記憶されている期待値を読み出したしたり、CPUコア204や期待値算出部が生成した期待値を受信したりすることによりチェック値の期待値を取得し、ステップS812に移行する。
ステップS812では、入力したチェック値が、取得した期待値と一致しているか否かを判定し、チェック値が期待値と一致していると判定したとき(Yes)は、ステップS814に移行して、レジスタ234が保持しているデータをCPUコア204に出力する。出力されたデータは、CPUコア204のレジスタ204cに保持される。
In step S810, 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 204 or the expected value calculating unit. Control goes to step S812.
In step S812, it is determined whether or not the input check value matches the acquired expected value. If it is determined that the check value matches the expected value (Yes), the process proceeds to step S814. , The data held in the register 234 is output to the CPU core 204. The output data is held in the register 204c of the CPU core 204.

次いで、ステップS816に移行して、入力した命令コード列がライト命令であるか否かを判定し、ライト命令であると判定したとき(Yes)は、ステップS818に移行する。
ステップS818では、入力した命令コード列が、許可するライト命令であるか否かを判定する。許可するライト命令であるか否は、ステップS104と同様の方法により判定する。その結果、許可するライト命令であると判定したとき(Yes)は、ステップS820に移行する。
Next, the process proceeds to step S816, where it is determined whether or not the input instruction code string is a write instruction. If it is determined that the input instruction code string is a write instruction (Yes), the process proceeds to step S818.
In step S818, it is determined whether the input instruction code string is a write instruction to be permitted. Whether or not the write command is permitted is determined by the same method as in step S104. As a result, when it is determined that the write command is permitted (Yes), the process proceeds to step S820.

ステップS820〜S824では、ステップS806〜S810と同様の処理を実行し、ステップS826に移行する。
ステップS826では、チェック値が期待値と一致しているか否かを判定し、チェック値が期待値と一致していると判定したとき(Yes)は、ステップS828に移行して、CPUコア204のレジスタ204cが保持しているデータをレジスタ236に書き込み、アクセス制御処理を終了する。
In steps S820 to S824, processing similar to that in steps S806 to S810 is executed, and the process proceeds to step S826.
In step S826, it is determined whether or not the check value matches the expected value. When it is determined that the check value matches the expected value (Yes), the process proceeds to step S828 and the CPU core 204 The data held in the register 204c is written to the register 236, and the access control process is terminated.

一方、ステップS826で、チェック値が期待値と一致していないと判定したとき(No)、ステップS810で、許可するライト命令でないと判定したとき(No)、およびステップS808で、ライト命令でないと判定したとき(No)はいずれも、レジスタ236にデータを書き込まずに、アクセス制御処理を終了する。このとき、CPUコア204は、不正通知を行ってもよい。   On the other hand, if it is determined in step S826 that the check value does not match the expected value (No), if it is determined in step S810 that it is not an allowed write command (No), and in step S808, it is not a write command. When the determination is made (No), the access control process is terminated without writing data to the register 236. At this time, the CPU core 204 may perform fraud notification.

一方、ステップS812で、チェック値が期待値と一致していないと判定したとき(No)、ステップS804で、許可するリード命令でないと判定したとき(No)、およびステップS802で、リード命令でないと判定したとき(No)はいずれも、レジスタ234が保持しているデータをCPUコア204に出力せずに、ステップS808に移行する。このとき、CPUコア204のレジスタ204cに非正当値が保持されるが、その値が所定値である場合は、不正通知を行ってもよい。   On the other hand, if it is determined in step S812 that the check value does not match the expected value (No), if it is determined in step S804 that the read command is not permitted (No), and in step S802, it is not a read command. When the determination is made (No), the data held in the register 234 is not output to the CPU core 204, and the process proceeds to step S808. At this time, an illegal value is held in the register 204c of the CPU core 204, but if the value is a predetermined value, an unauthorized notification may be performed.

〔本実施の形態の効果〕
このようにして、本実施の形態では、ROM206に記憶された命令コード列からチェック値を算出するチェック値算出部220を備え、アクセス制御部238は、取得部231で取得した命令コード列が許可命令コード列であり、かつ、その命令コード列のアドレスが許可アドレスであり、かつ、取得部231で取得したチェック値がチェック値の期待値と所定関係にあるときにのみ、レジスタ234、236へのアクセスを許可する。
[Effect of this embodiment]
As described above, in this embodiment, the check value calculation unit 220 that calculates the check value from the instruction code sequence stored in the ROM 206 is provided, and the access control unit 238 allows the instruction code sequence acquired by the acquisition unit 231 to be permitted. Only when it is an instruction code string, the address of the instruction code string is a permitted address, and the check value acquired by the acquisition unit 231 is in a predetermined relationship with the expected value of the check value, to the registers 234 and 236 Allow access.

これにより、ROM206に記憶された命令コード列が不正に書き換えられたことを検出することができる。また、命令コード列およびアドレスの照合と、チェック値の照合とを組み合わせることにより、不正動作が行われる可能性をさらに低減することができる。なお、チェック値の照合は、命令コード列およびアドレスの照合と組み合わせて行うので、チェック値の算出に比較的処理負荷が軽い誤り検出演算(例えば、パリティチェック)を用いても、一定の精度を得ることができる。
上記第2の実施の形態において、ROM206は、発明5の命令コード記憶手段に対応し、チェック値算出部220は、発明5の演算手段に対応し、取得部231は、発明5の取得手段に対応している。
As a result, it is possible to detect that the instruction code string stored in the ROM 206 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.
In the second embodiment, the ROM 206 corresponds to the instruction code storage unit of the invention 5, the check value calculation unit 220 corresponds to the calculation unit of the invention 5, and the acquisition unit 231 corresponds to the acquisition unit of the invention 5. It corresponds.

〔他の実施の形態〕
なお、上記第2の実施の形態において、アクセス認証装置230は、命令コード列からチェック値を算出するように構成したが、これに限らず、次の3つの構成を採用することができる。
(1)第1の構成
第1の構成は、命令コード列に代えて、ROM206に記憶されたデータ(以下、第1算出基礎データという。)からチェック値を算出する。第1算出基礎データとは、例えば、ROM206に記憶された所定の固定値である。なお、第1算出基礎データは、固定値に限らず、変動前後のデータ値を正確に予測可能な変動データであってもよい。変動前後のデータ値を正確に予測可能とは、具体的には、例えば、変動範囲が定まっている場合や変動規則が定まっている場合をいう。
[Other Embodiments]
In the second embodiment, the access authentication 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 206 (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 206. 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.

チェック値算出部220は、第1算出基礎データをROM206から読み出し、読み出した第1算出基礎データからチェック値を算出する。
アクセス制御部238は、あらかじめ第1算出基礎データの期待値を記憶している。アクセス制御部238は、期待値からチェック値を算出し、取得部231で取得したチェック値が、算出したチェック値と所定関係にあるか否かを判定する。その他、取得部231で取得したチェック値が期待値と所定関係にあるか否かを判定してもよい。なお、命令コード列から算出したチェック値と、第1算出基礎データから算出したチェック値の両方に基づいてアクセス制御を行ってもよい。
これにより、ROM206が不正なものに交換されたことを検出することができる。
この場合において、ROM206は、発明6の命令コード記憶手段に対応し、チェック値算出部220は、発明6の演算手段に対応し、取得部231は、発明6の取得手段に対応している。
The check value calculation unit 220 reads the first calculation basic data from the ROM 206, and calculates the check value from the read first calculation basic data.
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 or not the check value acquired by the acquisition unit 231 has a predetermined relationship with the calculated check value. In addition, it may be determined whether the check value acquired by the acquisition 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.
As a result, it is possible to detect that the ROM 206 has been replaced with an illegal one.
In this case, the ROM 206 corresponds to the instruction code storage unit of the sixth aspect, the check value calculation unit 220 corresponds to the calculation unit of the sixth aspect, and the acquisition unit 231 corresponds to the acquisition unit of the sixth aspect.

(2)第2の構成
第2の構成は、命令コード列に代えて、CPUコア204が実行する命令コード列の実行結果(以下、第2算出基礎データという。)からチェック値を算出する。第2算出基礎データとは、例えば、CPUコア204のフラグレジスタの値である。なお、第2算出基礎データは、フラグレジスタの値に限らず、命令コード列が正しく実行されたときに第1の値を返し、それ以外は第2の値を返す関数の戻り値であってもよい。
(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 204 (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 204. 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.

チェック値算出部220は、第2算出基礎データをフラグレジスタ等から取得し、取得した第2算出基礎データからチェック値を算出する。
アクセス制御部238は、第1の構成の場合と同様に構成することができる。なお、第1算出基礎データから算出したチェック値にさらに基づいてアクセス制御を行ってもよい。
The check value calculation unit 220 acquires second calculation basic data from a flag register or the like, and calculates a check value from the acquired second calculation basic data.
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算出基礎データが所定値であるときにのみ、アクセスを許可する。
これにより、不正に書き換えられた命令コード列や、ビットエラーによって内容が変化した命令コード列が実行されることにより、レジスタ234、236のデータが不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができる。
この場合において、CPUコア204は、発明7のデータ処理手段に対応し、取得部231は、発明7の取得手段に対応している。
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 acquired by the acquisition 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.
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.
In this case, the CPU core 204 corresponds to the data processing means of the seventh aspect, and the acquisition unit 231 corresponds to the acquisition means of the seventh aspect.

(3)第3の構成
第3の構成は、命令コード列に代えて、命令コード列のアドレス(以下、第3算出基礎データという。)からチェック値を算出する。
(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.

チェック値算出部220は、第3算出基礎データをバス218等から取得し、取得した第3算出基礎データからチェック値を算出する。
アクセス制御部238は、第1の構成の場合と同様に構成することができる。なお、第1算出基礎データおよび第2算出基礎データの一方または両方から算出したチェック値にさらに基づいてアクセス制御を行ってもよい。
The check value calculation unit 220 acquires third calculation basic data from the bus 218 or the like, and calculates a check value from the acquired third calculation basic data.
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および第2の実施の形態においては、アクセス認証装置230を主制御部200に設けたが、これに限らず、次の3つの構成を採用することができる。
In the second embodiment, the access permission condition is that the instruction code string acquired by the acquiring unit 231 is a permitted instruction code string, the address of the instruction code string is a permitted address, and acquisition is performed. The check value acquired by 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 sequence acquired by the acquisition unit 231 is a permitted instruction code sequence. 2) The address of the instruction code string is a permitted address, or (3) one or any combination of two of the check values acquired by the acquisition unit 231 being in a predetermined relationship with the expected value of the check value 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 by any combination of (1) to (3).
In the first and second embodiments, the access authentication device 230 is provided in the main control unit 200. However, the present invention is not limited to this, and the following three configurations can be employed.

(1)第1の構成
第1の構成は、アクセス認証装置230を演出制御部300に設けた構成である。
図17は、演出制御部300の構成を示すブロック図である。
アクセス認証装置230は、図17に示すように、演出制御部300のCPU302等が接続するバスに接続されている。取得部231は、CPU302が実行する命令コード列およびそのアドレスをバスから取得する。
これにより、演出制御部300のCPU302が不正動作する可能性を低減することができる。
(1) First Configuration The first configuration is a configuration in which the access authentication device 230 is provided in the effect control unit 300.
FIG. 17 is a block diagram showing the configuration of the effect control unit 300. As shown in FIG.
As shown in FIG. 17, the access authentication device 230 is connected to a bus to which the CPU 302 of the effect control unit 300 is connected. The acquisition unit 231 acquires an instruction code string executed by the CPU 302 and its address from the bus.
Thereby, possibility that CPU302 of the production | presentation control part 300 will operate | move illegally can be reduced.

なお、演出制御部300は、CPU302、ROM304、RAM306、VRAM308およびI/F310に代えて、CPU202と同様に、DIP等からなるワンチップ型のマイクロプロセッサであるCPUを備えることもできる。この場合、アクセス認証装置230は、上記第1および第2の実施の形態と同様の接続関係となる。
この場合において、演出制御部300は、発明10の演出制御手段に対応している。
The effect control unit 300 can include a CPU that is a one-chip type microprocessor made of DIP or the like, similar to the CPU 202, instead of the CPU 302, ROM 304, RAM 306, VRAM 308, and I / F 310. In this case, the access authentication device 230 has the same connection relationship as in the first and second embodiments.
In this case, the effect control unit 300 corresponds to the effect control means of the tenth aspect.

(2)第2の構成
第2の構成は、アクセス認証装置230を賞球制御部400に設けた構成である。
図18は、賞球制御部400の構成を示すブロック図である。
アクセス認証装置230は、図18に示すように、賞球制御部400のCPU402等が接続するバスに接続されている。取得部231は、CPU402が実行する命令コード列およびそのアドレスをバスから取得する。
これにより、賞球制御部400のCPU302が不正動作する可能性を低減することができる。
(2) Second Configuration The second configuration is a configuration in which the access authentication device 230 is provided in the prize ball control unit 400.
FIG. 18 is a block diagram illustrating a configuration of the prize ball control unit 400.
As shown in FIG. 18, the access authentication device 230 is connected to a bus to which the CPU 402 of the prize ball control unit 400 is connected. The acquisition unit 231 acquires an instruction code string executed by the CPU 402 and its address from the bus.
As a result, the possibility that the CPU 302 of the prize ball control unit 400 operates illegally can be reduced.

なお、賞球制御部400は、CPU402、ROM404、RAM406およびI/F410に代えて、CPU202と同様に、DIP等からなるワンチップ型のマイクロプロセッサであるCPUを備えることもできる。この場合、アクセス認証装置230は、上記第1および第2の実施の形態と同様の接続関係となる。
この場合において、賞球制御部400は、発明10の払出制御手段に対応している。
The prize ball control unit 400 may include a CPU that is a one-chip type microprocessor made of DIP or the like, similar to the CPU 202, instead of the CPU 402, the ROM 404, the RAM 406, and the I / F 410. In this case, the access authentication device 230 has the same connection relationship as in the first and second embodiments.
In this case, the prize ball control unit 400 corresponds to the payout control means of the tenth aspect.

(3)第3の構成
第3の構成は、アクセス認証装置230をCPU202に内蔵した構成である。
図19は、主制御部200の構成を示すブロック図である。
アクセス認証装置230は、図19に示すように、バス218に接続されている。取得部231は、CPUコア204が実行する命令コード列およびそのアドレスをバス218から取得する。
また、上記第1および第2の実施の形態において、アクセス制御部238は、レジスタ234、236へのアクセスを制御するように構成したが、これに限らず、レジスタ234、236のうち特定のアドレス空間へのアクセスを制御するように構成することもできる。
(3) Third Configuration The third configuration is a configuration in which the access authentication device 230 is built in the CPU 202.
FIG. 19 is a block diagram illustrating a configuration of the main control unit 200.
The access authentication device 230 is connected to the bus 218 as shown in FIG. The acquisition unit 231 acquires an instruction code string executed by the CPU core 204 and its address from the bus 218.
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のうち、機密情報等の重要な情報が記憶されたアドレス空間へのアクセスを制御することにより、重要な情報が不正に書き換えられたり読み出されたりする可能性を低減することができるので、不正動作が行われる可能性をさらに低減することができる。
また、上記第1および第2の実施の形態においては、命令コード列の単位で読出、実行、判定その他の処理を行うように構成したが、これに限らず、命令コードの単位で読出、実行、判定その他の処理を行うように構成することもできる。これは、上記他の実施の形態においても同様である。代表例として、取得した命令コードが、あらかじめ許可されたコードであり、かつ、その命令コードのアドレスが許可アドレスであるときにのみ、アクセスを許可する。アクセス許可条件の組み合わせについては、命令コード列の場合と同様の組み合わせを採用することができる。
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.
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 acquired 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 authentication device 230 is provided. However, the present invention is not limited to this, and a plurality of access authentication devices 230 may be provided. In the case of two devices, for example, the first access authentication device is configured to include an acquisition unit 231, a calculation unit 232, a register 234, and an access control unit 238. The second access authentication device includes an acquisition 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 authentication devices.

また、上記第2の実施の形態において、チェック値算出部220は、チェック値の取得要求に応じてチェック値を算出するように構成したが、これに限らず、所定条件が成立したときにチェック値を算出し、算出したチェック値をアクセス制御部238に送信するように構成することもできる。
また、上記第1および第2の実施の形態において、図7ないし図11のフローチャートに示す遊技制御処理を実行するにあたってはいずれも、ROM206にあらかじめ格納されている制御プログラムを実行する場合について説明したが、これに限らず、これらの手順を示したプログラムが記憶された記憶媒体から、そのプログラムをRAM208に読み込んで実行するようにしてもよい。図5および図16のフローチャートに示す処理についても同様である。
In the second embodiment, the check value calculation unit 220 is configured to calculate the check value in response to the check value acquisition request. However, the check value calculation unit 220 is not limited to this, and the check value calculation unit 220 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.
In the first and second embodiments described above, the case where the control program stored in advance in the ROM 206 is executed when executing the game control processing shown in the flowcharts of FIGS. However, the present invention is not limited to this, and the program may be read into the RAM 208 and executed from the storage medium storing the program showing these procedures. The same applies to the processing shown in the flowcharts of FIGS.

ここで、記憶媒体とは、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. CPUコア204およびアクセス認証装置230の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a CPU core 204 and an access authentication device 230. アクセス制御処理を示すフローチャートである。It is a flowchart which shows an access control process. ROM206のメモリ構造を模式的に示した図である。3 is a diagram schematically showing a memory structure of a ROM 206. FIG. 遊技制御処理を示すフローチャートである。It is a flowchart which shows a game control process. 接続機器認証処理の実行に伴うCPUコア204およびアクセス認証装置230の動作を示すフローチャートである。It is a flowchart which shows operation | movement of CPU core 204 and the access authentication 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. アクセス制御部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. 主制御部200の構成を示すブロック図である。3 is a block diagram showing a configuration of a main control unit 200. FIG.

符号の説明Explanation of symbols

101…遊技盤、 102a、102b…レール、 103…遊技領域、 104…図柄表示部、 105…始動入賞口、 106…入賞ゲート、 107…普通入賞口、 109…大入賞口、 108…回収口、 100…遊技制御装置、 200…主制御部、 280…始動入賞口検出部、 282…ゲート検出部、 284…普通入賞口検出部、 286…大入賞口検出部、 288…大入賞口開閉部、 202、302、402…CPU、 204…CPUコア、 204a…制御部、 204b、232…演算部、 204c、234、236…レジスタ、 206、304、404…ROM、 206a…記憶領域、 208、306、406…RAM、 210…セキュリティ検査回路、 212、310、410…I/F、 214…タイマ、 216…外部デバイス制御回路、 218…バス、 220…チェック値算出部、 230…アクセス認証装置、 231…取得部、 238…アクセス制御部、 240…検査ポート、 300…演出制御部、 380…スピーカ、 382…音声制御部、 384…ランプ、 386…ランプ制御部、 308…VRAM、 312…演出関連デバイス群、 400…賞球制御部、 480…払出部、 482…発射部、 412…賞球関連デバイス群 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, 280 ... Start winning opening detection part, 282 ... Gate detection part, 284 ... Normal winning opening detection part, 286 ... Large winning opening detection part, 288 ... Large winning opening opening / closing part, 202, 302, 402 ... CPU, 204 ... CPU core, 204a ... control unit, 204b, 232 ... calculation unit, 204c, 234, 236 ... register, 206, 304, 404 ... ROM, 206a ... storage area, 208, 306, 406 ... RAM, 210 ... Security inspection circuit, 212, 310, 410 ... I / F, 214 ... Timer, 216 ... External device control circuit, 218 ... Bus, 220 ... Check value calculation unit, 230 ... Access authentication device, 231 ... Acquisition unit, 238 ... Access control unit, 240 ... Inspection port, 300 ... Production control unit, 380 ... Speaker, 382 ... Voice control unit, 384 ... Lamp, 386 ... Lamp control unit, 308 ... VRAM, 312 ... Production related device group, 400 ... Prize ball control unit, 480 ... Dispensing unit, 482 ... Launching unit, 412 ... Prize ball related device group

Claims (12)

所定条件の成立を契機として特賞状態を発生させるか否かの抽選を行う抽選手段と、図柄表示手段で図柄を変動表示する図柄変動手段と、遊技に関するデータ処理を行うデータ処理手段とを備え、前記抽選手段で前記特賞状態を発生させると判定したときは、所定の態様で前記図柄を停止させた後に前記特賞状態を発生させる遊技機であって、
前記データ処理を行うためのデータを記憶する記憶手段と、
前記データ処理手段が実行する命令に関する情報を取得する取得手段と、
前記取得手段で取得した命令に関する情報に基づいて、前記データ処理手段による前記記憶手段へのアクセスを制御するアクセス制御手段とを備えることを特徴とする遊技機。
A lottery means for performing a lottery to determine whether or not a special prize state is generated when a predetermined condition is satisfied, a symbol changing means for variably displaying a symbol on the symbol display means, and a data processing means for performing data processing relating to a game, When it is determined that the special prize state is generated by the lottery means, the gaming machine generates the special prize state after stopping the symbol in a predetermined manner,
Storage means for storing data for performing the data processing;
Obtaining means for obtaining information relating to an instruction executed by the data processing means;
A gaming machine comprising: an access control unit that controls access to the storage unit by the data processing unit based on information about the command acquired by the acquiring unit.
請求項1において、
前記アクセス制御手段は、前記取得手段で取得した命令に関する情報に基づいてアクセス許可条件が成立すると判定したときは、前記記憶手段へのアクセスを許可し、前記アクセス許可条件が成立しないと判定したときは、前記記憶手段へのアクセスを制限することを特徴とする遊技機。
In claim 1,
When the access control means determines that the access permission condition is satisfied based on the information related to the instruction acquired by the acquisition 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.
請求項2において、
前記取得手段は、前記データ処理手段が実行する命令コードまたは命令コード列を取得し、
前記アクセス許可条件は、前記取得手段で取得した命令コードまたは命令コード列が所定のコードまたはコード列であることを含むことを特徴とする遊技機。
In claim 2,
The acquisition unit acquires an instruction code or an instruction code string executed by the data processing unit,
The gaming machine characterized in that the access permission condition includes that the instruction code or instruction code string acquired by the acquiring means is a predetermined code or code string.
請求項2および3のいずれか1項において、
前記命令コードを記憶する命令コード記憶手段をさらに備え、
前記取得手段は、前記データ処理手段が実行する命令コードまたは命令コード列の前記命令コード記憶手段における記憶位置を示す記憶位置情報を取得し、
前記アクセス許可条件は、前記取得手段で取得した記憶位置情報の記憶位置が所定の記憶位置であることを含むことを特徴とする遊技機。
In any one of Claim 2 and 3,
Further comprising instruction code storage means for storing the instruction code;
The acquisition means acquires storage position information indicating a storage position in the instruction code storage means of an instruction code or an instruction code string executed by the data processing means,
The access permission condition includes that the storage position of the storage position information acquired by the acquisition unit is a predetermined storage position.
請求項2および3のいずれか1項において、
前記命令コードを記憶する命令コード記憶手段と、
前記命令コード記憶手段に記憶された命令コードまたは命令コード列の少なくとも一部を用いて所定の演算を行う演算手段とをさらに備え、
前記取得手段は、前記演算手段の演算結果を取得し、
前記アクセス許可条件は、前記取得手段で取得した演算結果が所定の結果であることを含むことを特徴とする遊技機。
In any one of Claim 2 and 3,
Instruction code storage means for storing the instruction code;
A calculation means for performing a predetermined calculation using at least a part of the instruction code or the instruction code string stored in the instruction code storage means;
The acquisition unit acquires a calculation result of the calculation unit,
The gaming machine characterized in that the access permission condition includes that the calculation result acquired by the acquisition means is a predetermined result.
請求項2および3のいずれか1項において、
前記命令コードを記憶する命令コード記憶手段と、
前記命令コード記憶手段に記憶された所定の固定値を用いて所定の演算を行う演算手段とをさらに備え、
前記取得手段は、前記演算手段の演算結果を取得し、
前記アクセス許可条件は、前記取得手段で取得した演算結果が所定の結果であることを含むことを特徴とする遊技機。
In any one of Claim 2 and 3,
Instruction code storage means for storing the instruction code;
A calculation unit that performs a predetermined calculation using a predetermined fixed value stored in the instruction code storage unit;
The acquisition unit acquires a calculation result of the calculation unit,
The gaming machine characterized in that the access permission condition includes that the calculation result acquired by the acquisition means is a predetermined result.
請求項2ないし6のいずれか1項において、
前記取得手段は、前記データ処理手段が実行する命令コードまたは命令コード列の実行結果を示す実行結果情報を取得し、
前記アクセス許可条件は、前記取得手段で取得した実行結果情報の実行結果が所定の結果であることを含むことを特徴とする遊技機。
In any one of Claims 2 thru | or 6,
The acquisition unit acquires execution result information indicating an execution result of an instruction code or an instruction code string executed by the data processing unit,
The gaming machine characterized in that the access permission condition includes that the execution result of the execution result information acquired by the acquisition means is a predetermined result.
請求項1ないし7のいずれか1項において、
前記アクセス制御手段は、前記記憶手段のうち特定のアドレス空間へのアクセスを制御することを特徴とする遊技機。
In any one of Claims 1 thru | or 7,
The access control means controls access to a specific address space in the storage means.
請求項1ないし8のいずれか1項において、
前記アクセス制御手段によるアクセスの制御状況を通知する制御状況通知手段をさらに備えることを特徴とする遊技機。
In any one of Claims 1 thru | or 8,
A gaming machine, further comprising a control status notification means for notifying a control status of access by the access control means.
請求項1ないし9のいずれか1項において、
前記データ処理手段は、遊技の主制御を行う主制御手段、前記主制御手段の制御により遊技の演出制御を行う演出制御手段、または前記主制御手段の制御により遊技媒体の払出制御を行う払出制御手段のデータ処理手段であることを特徴とする遊技機。
In any one of Claims 1 thru | or 9,
The data processing means includes main control means for performing main control of the game, effect control means for performing effect control of the game by control of the main control means, or payout control for performing payout control of the game medium by control of the main control means. A game machine characterized by being a data processing means.
所定条件の成立を契機として特賞状態を発生させるか否かの抽選を行う抽選手段と、図柄表示手段で図柄を変動表示する図柄変動手段と、遊技に関するデータ処理を行うデータ処理手段と、前記データ処理を行うためのデータを記憶する記憶手段とを備え、前記抽選手段で前記特賞状態を発生させると判定したときは、所定の態様で前記図柄を停止させた後に前記特賞状態を発生させる遊技機に適用される遊技制御プログラムであって、
前記データ処理手段が実行する命令に関する情報を取得する取得ステップと、
前記取得ステップで取得した命令に関する情報に基づいて、前記データ処理手段による前記記憶手段へのアクセスを制御するアクセス制御ステップとを含む処理をコンピュータに実行させるためのプログラムであることを特徴とする遊技制御プログラム。
A lottery means for performing a lottery to determine whether or not a special prize state is generated when a predetermined condition is established, a symbol changing means for variably displaying a symbol on the symbol display means, a data processing means for performing data processing relating to a game, and the data A storage device for storing data for processing, and when the lottery means determines that the special prize state is to be generated, the gaming machine that generates the special prize state after stopping the symbol in a predetermined manner A game control program applied to
An acquisition step of acquiring information relating to an instruction executed by the data processing means;
A game for causing a computer to execute a process including an access control step for controlling access to the storage unit by the data processing unit based on information about the instruction acquired in the acquiring step Control program.
所定条件の成立を契機として特賞状態を発生させるか否かの抽選を行う抽選手段と、図柄表示手段で図柄を変動表示する図柄変動手段と、遊技に関するデータ処理を行うデータ処理手段と、前記データ処理を行うためのデータを記憶する記憶手段とを備え、前記抽選手段で前記特賞状態を発生させると判定したときは、所定の態様で前記図柄を停止させた後に前記特賞状態を発生させる遊技機に適用される遊技制御方法であって、
前記データ処理手段が実行する命令に関する情報を取得する取得ステップと、
前記取得ステップで取得した命令に関する情報に基づいて、前記データ処理手段による前記記憶手段へのアクセスを制御するアクセス制御ステップとを含むことを特徴とする遊技制御方法。
A lottery means for performing a lottery to determine whether or not a special prize state is generated when a predetermined condition is established, a symbol changing means for variably displaying a symbol on the symbol display means, a data processing means for performing data processing relating to a game, and the data A storage device for storing data for processing, and when the lottery means determines that the special prize state is to be generated, the gaming machine that generates the special prize state after stopping the symbol in a predetermined manner A game control method applied to
An acquisition step of acquiring information relating to an instruction executed by the data processing means;
A game control method comprising: an access control step of controlling access to the storage means by the data processing means based on information relating to the command obtained in the obtaining step.
JP2008194320A 2008-07-29 2008-07-29 Game machine, game control program, and game control method Active JP4881921B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008194320A JP4881921B2 (en) 2008-07-29 2008-07-29 Game machine, game control program, and game control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008194320A JP4881921B2 (en) 2008-07-29 2008-07-29 Game machine, game control program, and game control method

Publications (2)

Publication Number Publication Date
JP2010029410A true JP2010029410A (en) 2010-02-12
JP4881921B2 JP4881921B2 (en) 2012-02-22

Family

ID=41734612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008194320A Active JP4881921B2 (en) 2008-07-29 2008-07-29 Game machine, game control program, and game control method

Country Status (1)

Country Link
JP (1) JP4881921B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015208435A (en) * 2014-04-25 2015-11-24 山佐株式会社 Game machine
JP2015208434A (en) * 2014-04-25 2015-11-24 山佐株式会社 Game machine
JP2020124603A (en) * 2020-05-19 2020-08-20 株式会社三洋物産 Game machine
JP2020127811A (en) * 2020-05-19 2020-08-27 株式会社三洋物産 Game machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004073410A (en) * 2002-08-14 2004-03-11 Daiichi Shokai Co Ltd Game machine, its pattern displaying device and pattern displaying method
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004073410A (en) * 2002-08-14 2004-03-11 Daiichi Shokai Co Ltd Game machine, its pattern displaying device and pattern displaying method
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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015208435A (en) * 2014-04-25 2015-11-24 山佐株式会社 Game machine
JP2015208434A (en) * 2014-04-25 2015-11-24 山佐株式会社 Game machine
JP2020124603A (en) * 2020-05-19 2020-08-20 株式会社三洋物産 Game machine
JP2020127811A (en) * 2020-05-19 2020-08-27 株式会社三洋物産 Game machine
JP6996589B2 (en) 2020-05-19 2022-01-17 株式会社三洋物産 Pachinko machine

Also Published As

Publication number Publication date
JP4881921B2 (en) 2012-02-22

Similar Documents

Publication Publication Date Title
JP4881921B2 (en) Game machine, game control program, and game control method
JP5150938B2 (en) Game machine, authentication method, program
JP4981851B2 (en) Game machine, authentication method, program
JP2011005105A (en) Game machine, authentication method and program
JP2011005106A (en) Game machine, authentication method and program
JP2011005100A (en) Game machine, authentication method and program
JP4987832B2 (en) Game machine, access control program, and game control method
JP4881932B2 (en) Game machine, access control program, and game control method
JP5315511B2 (en) Game machine, authentication method, program
JP2011005129A (en) Game machine, authentication method and program
JP4976448B2 (en) Game machine, authentication method, program
JP4976453B2 (en) Game machine, authentication method, program
JP5238999B2 (en) Game machine, authentication method, program
JP4976450B2 (en) Game machine, authentication method, program
JP4976454B2 (en) Game machine, authentication method, program
JP4976449B2 (en) Game machine, authentication method, program
JP4976451B2 (en) Game machine, authentication method, program
JP4976452B2 (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
JP4933588B2 (en) Game machine, authentication method, program
JP2010088477A (en) Game machine, access control program and game control method
JP2011005073A (en) Game machine, authentication method and program
JP2011005069A (en) Game machine, authentication method and 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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111129

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111205

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4881921

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20141209

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20141209

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

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

Free format text: PAYMENT UNTIL: 20141209

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250