JP2015073609A - Chip capable of selecting system reset or user reset - Google Patents

Chip capable of selecting system reset or user reset Download PDF

Info

Publication number
JP2015073609A
JP2015073609A JP2013210228A JP2013210228A JP2015073609A JP 2015073609 A JP2015073609 A JP 2015073609A JP 2013210228 A JP2013210228 A JP 2013210228A JP 2013210228 A JP2013210228 A JP 2013210228A JP 2015073609 A JP2015073609 A JP 2015073609A
Authority
JP
Japan
Prior art keywords
reset
user
mode
security
gaming machine
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.)
Pending
Application number
JP2013210228A
Other languages
Japanese (ja)
Inventor
俊憲 岩切
Toshinori Iwakiri
俊憲 岩切
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.)
LETech Co Ltd
Original Assignee
LETech 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 LETech Co Ltd filed Critical LETech Co Ltd
Priority to JP2013210228A priority Critical patent/JP2015073609A/en
Publication of JP2015073609A publication Critical patent/JP2015073609A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a computer chip capable of arbitrarily selecting either system reset or user reset as dealing with occurrence of an internal reset factor on the basis of preset reset management information.SOLUTION: Security reset to execute initialization during a random security check time including a delay time that is set to a different value for each game machine, and user reset to execute initialization by shifting to a user mode not through a security mode are switched on the basis of the preset reset management information. Thus, each development user is enabled to arbitrarily designate the selection of setting to execute the system reset when placing value on security or setting to execute the user reset when placing value on the shift to the user mode within a short time.

Description

本発明は、ぱちんこやパチスロ等で代表される遊技機の内部リセットを実行するとき、システムリセットにするか或いはユーザリセットにするかを選択できる機能を備えた遊技機制御用マイクロコンピュータに関する。   The present invention relates to a gaming machine control microcomputer having a function of selecting whether to perform a system reset or a user reset when an internal reset of a gaming machine represented by pachinko or pachislot is executed.

CPUが暴走したときに発生する内部リセット要因として、WDT(ウォッチドッグタイマー)やIAT(イリーガル・アドレストラップ)などがある。CPUの暴走を解除するにはリセットを行う必要があり、リセットには「システムリセット」と「ユーザリセット」とがある。   Internal reset factors that occur when the CPU runs away include WDT (watchdog timer) and IAT (illegal address trap). In order to cancel the runaway of the CPU, it is necessary to perform a reset. The reset includes a “system reset” and a “user reset”.

ここで、遊技機を制御するマイクロコンピュータ(以下、「メインチップ」という。)の状態遷移について説明しておく。遊技機は、メインチップ内のユーザROMと呼ばれる不揮発性メモリ内に遊技機メーカーが開発したプログラムが格納されている。出玉や大当たり回数などを操作する不正行為はこのユーザプログラムが書き換えられることで行われる。不正行為の対策の一つとして、ユーザROM内のプログラムが改ざんされた場合にCPUの動作を停止するセキュリティチェック機能がチップに搭載されている。   Here, the state transition of a microcomputer (hereinafter referred to as “main chip”) that controls the gaming machine will be described. In the gaming machine, a program developed by a gaming machine manufacturer is stored in a non-volatile memory called a user ROM in the main chip. The fraudulent act of manipulating the number of balls and the number of jackpots is performed by rewriting this user program. As one countermeasure against fraud, a security check function that stops the operation of the CPU when a program in the user ROM is altered is mounted on the chip.

図1は、メインチップのモード遷移図を示している。まず、メインチップに電源が投入されリセット信号が入力されるとセキュリティモードに入り、セキュリティチェックが実行される。このセキュリティチェックにおいて、ユーザプログラムが正規のもの(改ざんなし)であると判定された場合、ユーザプログラムにしたがって通常の遊技を実行するユーザモードに移行することができる。ユーザモード中にWDTなどの内部リセット要因が発生した場合は、電源投入時と同じ手順を踏んでセキュリティモードでCPUを初期化させた後にユーザプログラムを動作させるシステムリセットを実行するか、或いはユーザモードの開始状態に戻るユーザリセットの実行で対処する。ユーザリセットは、セキュリティモードを経ずにユーザモードにするため、セキュリティモードを省略した割り込みを開始させることになる。   FIG. 1 shows a mode transition diagram of the main chip. First, when the main chip is powered on and a reset signal is input, the security mode is entered and a security check is executed. In this security check, when it is determined that the user program is legitimate (no alteration), it is possible to shift to a user mode in which a normal game is executed according to the user program. If an internal reset factor such as WDT occurs during the user mode, execute the system reset to operate the user program after initializing the CPU in the security mode following the same procedure as when the power is turned on, or the user mode This is dealt with by executing a user reset to return to the start state. Since the user reset enters the user mode without going through the security mode, an interrupt without the security mode is started.

システムリセット信号が入力されてセキュリティモードが経過し、その後ユーザモードに入って最初の大当たりまでの時間が一定であると、当該時間から大当たり発生タイミングが計算され、想定外で大当たりが発生させられてしまう不正行為が行われることもあった。このような不正行為の対策として、セキュリティモードにおけるセキュリティチェック時間を可変にするための情報をメインチップ内のユーザROMに設定しておき、システムリセットの入力があると、このユーザROM内の情報を基にセキュリティチェック時間がランダムに変更されるようにしていた(例えば、下記特許文献1)。   If the security mode elapses after the system reset signal is input and then the user mode is entered and the time until the first jackpot is constant, the jackpot occurrence timing is calculated from that time, and the jackpot is unexpectedly generated. In some cases, misconduct occurred. As a countermeasure against such fraud, information for making the security check time in the security mode variable is set in the user ROM in the main chip, and if there is a system reset input, the information in the user ROM is changed. Based on this, the security check time is randomly changed (for example, Patent Document 1 below).

ユーザリセットでは、同じタイミングでユーザモードが開始されることになるので大当たり発生タイミングの予測がされやすく、しかも複数の遊技機にわたり当該予測が展開されて人為的に乱数値が操作され得るリスクが大きい。これに対してシステムリセットの場合、CPUの立ち上がり時間をランダムなセキュリティチェック時間でばらつかせることができるので、システムリセットの入力からユーザプログラムの実行開始までの時間を外部から予測できないようにすることが可能であるというメリットを有している。   In user reset, the user mode is started at the same timing, so it is easy to predict the jackpot occurrence timing, and there is a high risk that the prediction can be developed across a plurality of gaming machines and the random number value can be manipulated artificially. . On the other hand, in the case of a system reset, the rise time of the CPU can be varied with a random security check time, so that the time from the input of the system reset to the start of execution of the user program cannot be predicted from the outside. Has the advantage of being possible.

特開2005−342355号公報JP 2005-342355 A

しかしながら、WDTなどの内部リセット要因が発生したときシステムリセットをしてしまうとユーザプログラムを実行させる状態のユーザモードへ移行するまでに時間がかかるため、ユーザリセットが行われるようにすることも多い。CPUを迅速に回復させるという時間面ではユーザリセットを行うのが好都合な一方で、ユーザリセットでは上述したランダムなセキュリティチェック時間が考慮されることがないため、内部リセット要因でユーザリセットが用いられているときはセキュリティ面、即ち不正対策が万全とは言えない。   However, when an internal reset factor such as WDT occurs, if a system reset is performed, it takes time to shift to a user mode in which a user program is executed, so that a user reset is often performed. While it is convenient to perform a user reset in terms of time to recover the CPU quickly, the user reset is used as an internal reset factor because the above-mentioned random security check time is not considered. Security, that is, fraud countermeasures are not perfect.

そこで、本発明は上記問題に鑑みて成されたもので、あらかじめ設定してあるリセット管理情報に基づき、内部リセット要因が発生したときの対応としてシステムリセットとユーザリセットを任意に選択できるチップを提供することを目的とする。   Therefore, the present invention has been made in view of the above problems, and provides a chip that can arbitrarily select a system reset and a user reset as a response when an internal reset factor occurs based on preset reset management information. The purpose is to do.

本発明の遊技機用コンピュータチップは、セキュリティチェックに関するセキュリティモードと、所望の遊技処理に関するユーザモードの状態遷移を有しており、(i)リセット信号を入力したとき、遊技機毎で異なる値に設定される遅延時間を所定のセキュリティモード時間に加算したランダム・セキュリティチェック時間を有するセキュリティモードに移行させて前記遊技機用コンピュータチップの初期化を実行するシステムリセットと、(ii)リセット信号を入力したとき、前記セキュリティモードを経ずにユーザモードに移行させて初期化を実行するユーザリセットと、の何れか一方を指定するためのリセット管理情報を記憶し、ウォッチドッグタイマー及びイリーガル・アドレストラップを含む内部リセット要因の発生を識別したときは、前記リセット管理情報に基づきシステムリセット或いはユーザリセットの選択がされることを特徴とする。   The gaming machine computer chip of the present invention has a state transition between a security mode related to a security check and a user mode related to a desired gaming process. (I) When a reset signal is input, the gaming chip has a different value for each gaming machine. System reset for executing initialization of the gaming machine computer chip by shifting to a security mode having a random security check time obtained by adding a set delay time to a predetermined security mode time, and (ii) inputting a reset signal When this happens, reset management information for designating either one of the user reset and the user reset that executes the initialization without passing through the security mode is stored, and the watchdog timer and illegal address trap are stored. When the occurrence of internal reset factors including System reset or user reset is selected based on the reset management information.

また、本発明の遊技機用コンピュータチップは、セキュリティモードでセキュリティチェックが実行された後は、ユーザモードに切り替わって所定のユーザプログラムに従った遊技処理が実行され、特に、リセット管理情報は、ユーザプログラム内の初期設定用エリアに事前に格納され、内部リセット要因の発生が識別されると初期設定用エリアから読み出されることを特徴とする。   In addition, the computer chip for gaming machine of the present invention is switched to the user mode after the security check is executed in the security mode, and the gaming process according to the predetermined user program is executed. It is stored in advance in an initial setting area in the program, and is read from the initial setting area when occurrence of an internal reset factor is identified.

本発明の遊技機用コンピュータチップによれば、セキュリティチェック時間が一定ではくランダムであることを特徴とするセキュリティモードに移行させるシステムリセットと、セキュリティモードを経ずにユーザモードに移行させるとの切替えをリセット管理情報に基づき実行するため、セキュリティに重点を置くのであればシステムリセットが実行されるように設定し、ユーザモードへ短時間で移行させることに重点を置くのであればユーザリセットが実行されるように設定するといったフレキシブルな選択が可能になる。   According to the computer chip for gaming machine of the present invention, the system reset for shifting to the security mode characterized by the security check time being constant and random, and switching between shifting to the user mode without going through the security mode Is executed based on the reset management information, so if security is a priority, set the system reset to be executed, and if the focus is on shifting to user mode in a short time, a user reset is executed. Flexible selection such as setting is possible.

したがって、ノイズ等によって故意にCPUを暴走させることで初期化処理を開始させ、乱数値の生成が制御されてしまう不正に対してユーザリセットが行われることに不都合がある場合はシステムリセットの選択が可能になり、初期状態から大当たりのタイミングを予測されにくいシステムリセットの利点が、ウォッチドッグタイマーやイリーガル・アドレストラップなどの内部リセット要因に対しても適用できるようになる。   Therefore, if it is inconvenient to start the initialization process by intentionally causing the CPU to run away due to noise or the like, and to perform a user reset for an unauthorized act that controls the generation of random numbers, the system reset is selected. The system reset advantage that makes it difficult to predict the jackpot timing from the initial state can be applied to internal reset factors such as a watchdog timer and illegal address trap.

遊技機に設置される制御基板内のコンピュータチップの一般的なモード遷移図である。It is a general mode transition diagram of a computer chip in a control board installed in a gaming machine. 本発明の遊技機のメインチップの動作モードを表した図である。It is a figure showing the operation mode of the main chip of the gaming machine of the present invention. セキュリティモードにおいてシステムリセットを入力した時点からユーザモードに移行するまでのセキュリティチェック時間が変化する状態を表した図である。It is a figure showing the state from which the security check time until it transfers to user mode from the time of inputting system reset in security mode changes. セキュリティチェック時間に関係する追加の遅延時間や延長時間の一例を示す図である。It is a figure which shows an example of the additional delay time and extension time relevant to security check time.

以下に図面を参照しながら、本発明の実施形態について説明する。図2は、遊技機のメインチップの動作モードを表した図である。電源投入後は、メインチップにシステムリセット信号が入力されるが、この場合には、最初にセキュリティモード10になる。セキュリティモード10は、例えば、メインチップ内のブートROMからブートプログラムを読出し、CPU内の様々な設定をやり直すための初期化を行うものである。セキュリティモード10でセキュリティチェックがOKであればユーザモード20に移行する。   Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 is a diagram showing an operation mode of the main chip of the gaming machine. After the power is turned on, a system reset signal is input to the main chip. In this case, the security mode 10 is first set. In the security mode 10, for example, a boot program is read from a boot ROM in the main chip, and initialization is performed to redo various settings in the CPU. If the security check is OK in the security mode 10, the mode shifts to the user mode 20.

WDTやIATなどのリセット要因が発生した場合、メインチップはシステムリセットにすべきか、ユーザリセットにすべきかの選択処理を行う。どちらを選択するかの判断はリセット管理情報に基づき決定され、このリセット管理情報はユーザプログラム内の初期設定用エリアに事前に格納されている。したがって、メインチップは、WDTやIATなどのリセット要因が発生したことを識別したら、初期設定用エリアからリセット管理情報を読み出す。   When a reset factor such as WDT or IAT occurs, the main chip performs a process of selecting whether to perform system reset or user reset. Which one to select is determined based on the reset management information, and this reset management information is stored in advance in an initial setting area in the user program. Therefore, when the main chip identifies that a reset factor such as WDT or IAT has occurred, the main chip reads the reset management information from the initial setting area.

セキュリティに重点を置く開発ユーザはシステムリセット、ユーザモードへ短時間で移行させることに重点を置くのであればユーザリセットが指定される情報を、リセット管理情報として初期設定用エリアに事前に設定しておく。なお、このリセット管理情報は、ユーザモードで実行されるユーザプログラムでは書き換えられない情報である。   If the development user who focuses on security focuses on system reset and shifting to user mode in a short time, information that specifies user reset should be set in advance in the initial setting area as reset management information. deep. The reset management information is information that cannot be rewritten by a user program executed in the user mode.

読み出されたリセット管理情報に応じて、セキュリティモードでのリセット、或いはユーザモードでのユーザリセットの何れか一方が実行されることになるので、メインチップを使う開発ユーザは、WDTやIATなどのリセット要因に対して、システムリセット或いはユーザリセットのどちらのリセットを選択するかを柔軟に決定することができるようになる。   Depending on the read reset management information, either reset in the security mode or user reset in the user mode will be executed. Therefore, the development user using the main chip, such as WDT or IAT It becomes possible to flexibly determine whether to select a system reset or a user reset for a reset factor.

図3は、セキュリティモードにおいてシステムリセットを入力した時点からユーザモードに移行するまでのセキュリティチェック時間が変化する理由を表している。チップの種類(バージョン)が同じであれば同一の値をもつ固定セキュリティモード時間を有するが、この固定セキュリティモード時間に対してランダムな遅延時間、延長時間、又は両者を加算した時間が、セキュリティチェック時間である。   FIG. 3 shows the reason why the security check time changes from when the system reset is input in the security mode to when shifting to the user mode. If the chip type (version) is the same, it has a fixed security mode time having the same value. However, a random delay time, an extended time, or a time obtained by adding both to the fixed security mode time is a security check. It's time.

図4(A)に示すように、ランダムな遅延時間は延長時間が設定コード(設定値)と対応づけられる。例えば、メインチップ固有のID番号で固定延長させたり、0〜200ms等のある時間幅の中で、乱数回路で発生させた乱数値に基づき遅延させるためのランダムな時間が決められたりする。また、図4(B)に示すように、設定コードごとに所定の延長時間が加算されるようにすることもある。   As shown in FIG. 4A, the random delay time is associated with the setting code (setting value). For example, it may be fixedly extended with an ID number unique to the main chip, or a random time for delaying may be determined based on a random value generated by a random number circuit within a certain time width such as 0 to 200 ms. Further, as shown in FIG. 4B, a predetermined extension time may be added for each setting code.

したがって、メインチップにシステムリセットが入ってから、ユーザモードが開始するまでの時間は、ランダムな遅延時間や延長時間が加算されている分、常に同じとならないことから、メインチップごとに(すなわち、個々の遊技機で)大当たりの発生時間が異なる状況にすることができるのである。   Therefore, the time from when the system reset is entered to the main chip until the user mode is started is not always the same as the random delay time and extension time are added. It can be in a situation where the jackpot generation time is different (in individual gaming machines).

なお、メインチップには、リセットで初期化されないカウンタがあり、このカウンタの値を初期値として遅延時間をランダムに変動させている。   The main chip has a counter that is not initialized by reset, and the delay time is varied randomly with the value of this counter as an initial value.

以上説明してきたとおり、本実施の形態のメインチップは、ユーザリセットではランダムなセキュリティチェック時間による遊技機ごとの変動性がないために大当たりのタイミングが予測され易いリスクを、システムリセットに切替える機能を利用して回避している。従来では、ウォッチドッグタイマーやイリーガル・アドレストラップなどの内部リセット要因についてはユーザリセットで対処していた状況を、ユーザの任意な選択(事前の設定)により、システムリセットでも対処できるという拡張性のあるメインチップを実現することができるようになった。   As described above, the main chip of the present embodiment has a function of switching the risk that the jackpot timing is easily predicted to the system reset because there is no variability for each gaming machine due to the random security check time in the user reset. It is avoided by using it. In the past, internal reset factors such as watchdog timers and illegal address traps can be dealt with by system reset by any user selection (advanced setting) that can be handled by user reset. The main chip can be realized.

また、個々のメインチップのプログラム管理エリアに設定されたコードに応じてセキュリティチェック時間を延長させたり、更には当該コードに応じて異なる時間幅の中で電源投入ごとに異なるランダムな遅延時間を設定することもできるので、一つの遊技機の大当たり発生時間が不正者に解析されたとしても、別の遊技機に対する不正行為を阻止することを、上述したシステムリセットへの切替えによって容易に実現できるようになった。   In addition, the security check time is extended according to the code set in the program management area of each main chip, and further, a random delay time that is different for each power-on within a different time width according to the code is set. Therefore, even if the jackpot occurrence time of one gaming machine is analyzed by an unauthorized person, it can be easily realized by switching to the above-described system reset to prevent an illegal act against another gaming machine. Became.

10 セキュリティモード
20 ユーザモード
10 Security mode 20 User mode

Claims (3)

セキュリティチェックに関するセキュリティモードと、所望の遊技処理に関するユーザモードの状態遷移を有する遊技機用コンピュータチップであって、
リセット信号を入力したとき、遊技機毎で異なる値に設定される遅延時間を所定のセキュリティモード時間に加算したランダム・セキュリティチェック時間を有するセキュリティモードに移行させて前記遊技機用コンピュータチップの初期化を実行するシステムリセットと、
リセット信号を入力したとき、前記セキュリティモードを経ずにユーザモードに移行させて初期化を実行するユーザリセットと、
の何れか一方を指定するためのリセット管理情報を記憶しており、
ウォッチドッグタイマー及びイリーガル・アドレストラップを含む内部リセット要因の発生を識別したとき、前記リセット管理情報に基づきシステムリセット或いはユーザリセットの選択がされることを特徴とする遊技機用コンピュータチップ。
A gaming machine computer chip having a security mode relating to a security check and a user mode state transition relating to a desired gaming process,
When a reset signal is input, the game machine computer chip is initialized by shifting to a security mode having a random security check time obtained by adding a delay time set to a different value for each gaming machine to a predetermined security mode time. Perform a system reset,
When a reset signal is input, a user reset that performs initialization by shifting to the user mode without passing through the security mode;
Reset management information for designating either one of
A computer chip for a gaming machine, wherein when a generation of an internal reset factor including a watchdog timer and an illegal address trap is identified, a system reset or a user reset is selected based on the reset management information.
前記セキュリティモードでセキュリティチェックが実行された後は、前記ユーザモードに切り替わって所定のユーザプログラムに従った遊技処理が実行される、請求項1に記載の遊技機用コンピュータチップ。   2. The gaming machine computer chip according to claim 1, wherein after the security check is executed in the security mode, the gaming mode is switched to the user mode and a gaming process according to a predetermined user program is executed. 前記リセット管理情報は、前記ユーザプログラム内の初期設定用エリアに事前に格納され、前記内部リセット要因の発生が識別されると当該初期設定用エリアから読み出される、請求項1又は2に記載の遊技機用コンピュータチップ。   The game according to claim 1 or 2, wherein the reset management information is stored in advance in an initial setting area in the user program, and is read out from the initial setting area when occurrence of the internal reset factor is identified. Computer chip for machine.
JP2013210228A 2013-10-07 2013-10-07 Chip capable of selecting system reset or user reset Pending JP2015073609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013210228A JP2015073609A (en) 2013-10-07 2013-10-07 Chip capable of selecting system reset or user reset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013210228A JP2015073609A (en) 2013-10-07 2013-10-07 Chip capable of selecting system reset or user reset

Publications (1)

Publication Number Publication Date
JP2015073609A true JP2015073609A (en) 2015-04-20

Family

ID=52998953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013210228A Pending JP2015073609A (en) 2013-10-07 2013-10-07 Chip capable of selecting system reset or user reset

Country Status (1)

Country Link
JP (1) JP2015073609A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013027437A (en) * 2011-07-26 2013-02-07 Daito Giken:Kk Game machine

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013027437A (en) * 2011-07-26 2013-02-07 Daito Giken:Kk Game machine

Similar Documents

Publication Publication Date Title
JP2019092548A5 (en)
JP6373888B2 (en) Information processing apparatus and control method
KR101618535B1 (en) Secure data protection with improved read-only memory locking during system pre-boot
JP2013250980A (en) Processor resource and execution protection methods and apparatus
JP2014028036A5 (en)
JP2009089966A (en) Microcomputer for controlling game machine
JP2015058102A5 (en)
JP5514982B2 (en) Microcomputer chip for gaming machine control
JP2007323631A (en) Cpu runaway determination circuit
TWI604336B (en) Runtime verification using external device
US7624442B2 (en) Memory security device for flexible software environment
JP2007190097A5 (en)
US20160202977A1 (en) Handling time intensive instructions
JP2015073609A (en) Chip capable of selecting system reset or user reset
JP2017023493A5 (en)
JP2017023494A5 (en)
JP2017023492A5 (en)
JP2020018516A5 (en)
JP2013114621A (en) Information processing apparatus and program verification method for information processing apparatus
US7941639B2 (en) Protection of the execution of a program
JP2014028063A5 (en)
JP2004246899A (en) Antifraud method of algorithm executed by integrated circuit
JPH05100827A (en) Personal computer
JP2018027230A (en) Game machine-use processor device, chip, substrate, and game machine
JP3593701B2 (en) Control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170919

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180328