Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5479537B2 - Game machine - Google Patents
[go: Go Back, main page]

JP5479537B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP5479537B2
JP5479537B2 JP2012139819A JP2012139819A JP5479537B2 JP 5479537 B2 JP5479537 B2 JP 5479537B2 JP 2012139819 A JP2012139819 A JP 2012139819A JP 2012139819 A JP2012139819 A JP 2012139819A JP 5479537 B2 JP5479537 B2 JP 5479537B2
Authority
JP
Japan
Prior art keywords
value
random number
circuit
signal
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012139819A
Other languages
Japanese (ja)
Other versions
JP2012176316A (en
Inventor
和俊 中島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sankyo Co Ltd
Original Assignee
Sankyo 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 Sankyo Co Ltd filed Critical Sankyo Co Ltd
Priority to JP2012139819A priority Critical patent/JP5479537B2/en
Publication of JP2012176316A publication Critical patent/JP2012176316A/en
Application granted granted Critical
Publication of JP5479537B2 publication Critical patent/JP5479537B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

本発明は、各々を識別可能な複数種類の識別情報を可変表示可能な可変表示手段を備え、あらかじめ定められている可変表示の実行条件が成立した後、可変表示の開始条件の成立にもとづいて識別情報の可変表示を開始し、識別情報の可変表示の表示結果が特定の表示結果となったときに遊技者にとって有利な特定遊技状態に移行させるパチンコ遊技機などの遊技機に関する。   The present invention includes variable display means capable of variably displaying a plurality of types of identification information that can identify each of the identification information. After a predetermined variable display execution condition is satisfied, the variable display start condition is satisfied. The present invention relates to a gaming machine such as a pachinko gaming machine that starts variable display of identification information and shifts to a specific gaming state advantageous to the player when the display result of variable display of identification information becomes a specific display result.

遊技機として、遊技球などの遊技媒体を発射装置によって遊技領域に発射し、遊技領域に設けられている入賞口などの入賞領域に遊技媒体が入賞すると、所定個の賞球が遊技者に払い出されるものがある。さらに、表示状態が変化可能な可変表示部が設けられ、可変表示部の表示結果があらかじめ定められた特定表示態様となった場合に所定の遊技価値を遊技者に与えるように構成されたものがある。   As a gaming machine, a game medium such as a game ball is launched into a game area by a launching device, and when a game medium wins a prize area such as a prize opening provided in the game area, a predetermined number of prize balls are paid out to the player. There is something to be done. Furthermore, there is provided a variable display unit capable of changing the display state, and configured to give a predetermined game value to the player when the display result of the variable display unit is in a predetermined specific display mode. is there.

なお、遊技価値とは、遊技機の遊技領域に設けられた可変入賞球装置の状態が打球が入賞しやすい遊技者にとって有利な状態になることや、遊技者にとって有利な状態になるための権利を発生させたりすることや、賞球払出の条件が成立しやすくなる状態になることである。   The game value is the right that the state of the variable winning ball apparatus provided in the gaming area of the gaming machine becomes advantageous for a player who is easy to win, and the right for becoming advantageous for a player. In other words, or a condition for winning a prize ball is easily established.

遊技機では、所定の移行条件が成立したときに、遊技状態を遊技者にとって有利な特定遊技状態に移行させる。例えば、パチンコ遊技機では、特別図柄を表示する可変表示部の表示結果があらかじめ定められた特定表示態様の組合せになることを、通常、「大当り」という。大当りが発生すると、例えば、大入賞口が所定回数開放して打球が入賞しやすい大当り遊技状態に移行する。   In the gaming machine, when a predetermined transition condition is established, the gaming state is shifted to a specific gaming state that is advantageous to the player. For example, in a pachinko gaming machine, a combination of a specific display mode in which a display result of a variable display unit that displays a special symbol is a predetermined combination is generally referred to as “big hit”. When the big hit occurs, for example, the big winning opening is opened a predetermined number of times, and the game shifts to a big hit gaming state where the hit ball is easy to win.

遊技機における遊技進行は、マイクロコンピュータ等による遊技制御手段によって制御される。特定遊技状態等の遊技価値が付与されている場合には、遊技者が景品を得やすくなっている。そのために、不正に遊技価値を得ようとする行為が生ずることも考えられる。そのような行為として、例えば、マイクロコンピュータが実行する遊技制御プログラムを、「大当り」が発生しやすいように改変する行為がある。また、景品遊技媒体の払出条件が成立していないにも関わらず景品遊技媒体の払い出しがなされるように、払出制御プログラムが改変されることも考えられる。改変された不正プログラムによって遊技制御等が実行されないように、マイクロコンピュータには、一般に、プログラムが正当なものであるか否かを判定するセキュリティチェック機能が組み込まれている。そして、マイクロコンピュータは、セキュリティチェック機能によってプログラムが正当なものでないと判断された場合には、遊技制御プログラム等を実行しないように構成されている。   Game progress in the gaming machine is controlled by game control means such as a microcomputer. When a game value such as a specific game state is given, it is easy for a player to obtain a prize. For this reason, an act of illegally obtaining a game value may occur. As such an action, for example, there is an action of modifying a game control program executed by a microcomputer so that a “hit” is likely to occur. It is also conceivable that the payout control program is modified so that the prize game medium is paid out even though the prize game medium payout condition is not satisfied. In order to prevent game control and the like from being executed by a modified illegal program, a microcomputer generally has a security check function for determining whether or not the program is valid. The microcomputer is configured not to execute the game control program or the like if the security check function determines that the program is not valid.

しかし、プログラムを内蔵した正規のマイクロコンピュータを取り外して、大当りを生じさせやすい不正プログラムを内蔵したマイクロコンピュータを搭載してしまうといった不正行為が考えられる。そのような不正プログラムを内蔵したマイクロコンピュータでは、セキュリティチェック機能が存在しないか、または、存在しても不正プログラムを正当なプログラムと判定するように改変されている。従って、セキュリティチェック機能だけでは、不正プログラムによる遊技を防止することができないおそれがある。   However, an illegal act such as removing a regular microcomputer with a built-in program and installing a microcomputer with a built-in fraudulent program that is likely to cause a big hit is conceivable. In a microcomputer incorporating such a malicious program, the security check function does not exist, or even if it exists, it is modified so that the malicious program is determined as a legitimate program. Therefore, there is a possibility that a game due to an unauthorized program cannot be prevented only by the security check function.

正規のマイクロコンピュータであるかの認証を行い、不正プログラムを内蔵したマイクロコンピュータ等の正規のマイクロコンピュータとは異なるマイクロコンピュータでないか否かが判定される遊技機がある(例えば、特許文献1参照)。   There is a gaming machine that authenticates whether it is a regular microcomputer and determines whether the microcomputer is different from a regular microcomputer such as a microcomputer with a built-in illegal program (for example, see Patent Document 1). .

特開2004−33453号公報JP 2004-33453 A

しかし、プログラムを内蔵した正規のマイクロコンピュータが搭載された正規の基板の他に、あたかも正規の基板のように大当りを生じさせやすい不正プログラムを内蔵したマイクロコンピュータを搭載した不正回路基板(なりすまし基板)を配線して設置してしまうといった不正行為がなされた場合には、正規の基板は搭載されているため、特許文献1に記載された遊技機では、不正プログラムを内蔵したマイクロコンピュータにより遊技が進行していることを検出することができない。   However, in addition to a regular board on which a regular microcomputer with a built-in program is mounted, a fraudulent circuit board (spoofed board) with a microcomputer with a built-in fraudulent program that is likely to cause a big hit like a regular board When a fraudulent act such as wiring and installing is performed, since a legitimate board is mounted, in the gaming machine described in Patent Document 1, the game is progressed by a microcomputer incorporating a fraudulent program I can't detect what I'm doing.

そこで、本発明は、遊技機において、不正回路基板が設置されていることを容易に発見することができるようにすることを課題とする。   Therefore, an object of the present invention is to make it possible to easily find that an unauthorized circuit board is installed in a gaming machine.

本発明による遊技機は、遊技媒体(例えば、遊技球)を用いて技を行い、特定条件が成立したとき(例えば、大当りとすることに決定したとき)に遊技者にとって有利な特定遊技状態(例えば、大当り遊技状態)に移行させる遊技機であって、遊技媒体を払い出すための払出制御処理を実行する払出制御用マイクロコンピュータを搭載した払出制御基板と、払出制御用マイクロコンピュータにより制御され、態を認識可能な報知を行う状態報知手段とを備え、払出制御用マイクロコンピュータは、状態報知手段の報知態様を制御する状態報知制御手段を含み、状態報知制御手段は、態に応じて状態報知手段の報知態様を異ならせ、払出制御基板は、開封不能封止された基板ボックス内に収納され、状態報知手段は、前記基板ボックス内に収納されることを特徴とする。 Gaming machine according to the present invention performs Yu technique using a game medium (e.g., game balls), when a specific condition is satisfied (e.g., when determined to be a big hit) favorable specific game state for the player (E.g., a big hit gaming state) that is controlled by a payout control board and a payout control microcomputer equipped with a payout control microcomputer that executes payout control processing for paying out game media. , and a state informing means for performing recognizable notifying the status, the payout control microcomputer, includes a state notification control means for controlling the notification manner of state informing means, the state notification control means, depending on the state with different notification manner of state informing means Te, dispensing control board is accommodated in the opening incapable sealed the substrate box, state informing unit, the substrate box Characterized in that it is housed in.

状態報知制御手段は、遊技状態が特定遊技状態であるときの状態報知手段の報知態様(例えば、図42(C)に示す高速点滅)を、特定遊技状態以外の状態における報知態様(例えば、図42(A)に示す点滅継続および図42(B)に示す低速点滅)と異ならせることが好ましい(図43参照)。   The state notification control unit changes the notification mode of the state notification unit when the gaming state is the specific gaming state (for example, the fast flashing shown in FIG. 42C) in the state other than the specific gaming state (for example, FIG. It is preferable to make it different from the blinking continued shown in FIG. 42 (A) and the slow blinking shown in FIG. 42 (B) (see FIG. 43).

各々を識別可能な複数種類の識別情報(例えば、特別図柄や飾り図柄)を可変表示可能な可変表示手段(例えば、特別図柄表示器8や可変表示装置9)を備え、あらかじめ定められている可変表示の実行条件(例えば、始動入賞口14への遊技球の入賞)が成立した後、可変表示の開始条件(例えば、特別図柄の最終停止および大当たり遊技の終了)の成立にもとづいて可変表示手段にて識別情報の可変表示を開始し、識別情報の可変表示の表示結果が特定の表示結果(例えば、大当たり図柄)となったときに遊技者にとって有利な特定遊技状態(例えば、大当り遊技状態)に移行させる遊技機であって、遊技制御用マイクロコンピュータは、可変表示の開始条件の成立にもとづいて可変表示手段に識別情報の可変表示を開始させ、所定の可変表示時間が経過すると識別情報の可変表示を停止させる制御を行う可変表示制御手段(例えば、遊技制御用マイクロコンピュータ560においてステップS301〜S303の処理を実行する部分)を含むように構成されていてもよい。   A variable display means (for example, a special symbol display 8 or a variable display device 9) capable of variably displaying a plurality of types of identification information (for example, special symbols and decorative symbols) that can identify each of them is provided, and a predetermined variable is provided. After a display execution condition (for example, winning a game ball to the start winning opening 14) is established, variable display means based on establishment of a variable display start condition (for example, final stop of special symbol and end of jackpot game) The identification information variable display is started, and the specific gaming state (for example, jackpot gaming state) advantageous to the player when the display result of the variable identification information display becomes a specific display result (for example, jackpot symbol). The gaming control microcomputer causes the variable display means to start variable display of the identification information based on the establishment of the variable display start condition, and Even if it is configured to include variable display control means (for example, a part for executing the processing of steps S301 to S303 in the game control microcomputer 560) that performs control to stop the variable display of the identification information when the display time has elapsed. Good.

状態報知制御手段は、遊技状態が識別情報の可変表示が行われている可変表示中状態であるときの状態報知手段の報知態様(例えば、図42(B)に示す低速点滅)を、可変表示中状態以外の状態における報知態様(例えば、図42(A)に示す点滅継続および図42(C)に示す高速点滅)と異ならせることが好ましい(図43参照)。   The state notification control means variably displays the notification mode of the state notification means (for example, the slow blinking shown in FIG. 42B) when the gaming state is a variable display state in which the variable display of the identification information is performed. It is preferable to make it different from the notification mode in a state other than the middle state (for example, the blinking continuation shown in FIG. 42A and the high-speed blinking shown in FIG. 42C) (see FIG. 43).

状態報知制御手段は、遊技状態が識別情報の可変表示が行われていない状態であって特定遊技状態でない状態である通常状態であるときの状態報知手段の報知態様(例えば、図42(A)に示す点滅継続)を、通常状態以外の状態における報知態様(例えば、図42(B)に示す低速点滅および図42(C)に示す高速点滅)と異ならせることが好ましい(図43参照)。   The state notification control means is a notification state of the state notification means when the gaming state is a state in which the variable display of the identification information is not performed and is not a specific gaming state (for example, FIG. 42A). It is preferable that the flashing continuation shown in FIG. 4 be different from the notification mode (for example, slow flashing shown in FIG. 42B and high-speed flashing shown in FIG. 42C) in a state other than the normal state (see FIG. 43).

状態報知制御手段は、払出制御基板に電力が供給されている状態では、状態報知手段による報知がなされない期間を所定時間以下にする(例えば、消灯している期間を5秒以下にする)ことが好ましい。   The state notification control means sets a period during which the notification by the state notification means is not performed to a predetermined time or less in a state where power is supplied to the payout control board (for example, a period when the light is turned off is set to 5 seconds or less). Is preferred.

本発明では、払出制御用マイクロコンピュータにより制御され、態を認識可能な報知を行う状態報知手段を備え、払出制御用マイクロコンピュータにおける状態報知制御手段が、態に応じて状態報知手段の報知態様を異ならせるように構成されているので、状態報知制御手段の報知態様が態に応じた正規の態様と異なることを検知することによって、不正基板を容易に発見することができる。また、状態報知手段を偽造したり、状態報知手段への不正行為(例えば、なりすまし基板を設け、払出制御基板を払出制御させない状態にして、状態報知手段に正規の報知態様を実行させるような行為)を防止することができる。 In the present invention, is controlled by the payout controlling microcomputer, includes a state notification means for performing a recognizable notifying the status, state informing control means in the payout control microcomputer is informed of the state notification means in accordance with the state is configured so as to vary the aspect, by detecting that the notification manner of a state notification control means is different from the embodiment of normal according to the state, it is possible to discover unauthorized substrate easily. In addition, forgery of the state notification means, or an illegal act to the state notification means (for example, an act of providing a spoofing board and not causing the payout control board to perform payout control and causing the state notification means to execute a normal notification mode) ) Can be prevented.

状態報知制御手段が、遊技状態が特定遊技状態であるときの状態報知手段の報知態様を、特定遊技状態以外の状態における報知態様と異ならせるように構成されることによって、検査時に特定遊技状態を発生させ、状態報知制御手段の報知態様が特定遊技状態に応じた報知態様であるか否かを確認することによって、不正基板を容易に発見することができる。   The state notification control means is configured to make the notification mode of the state notification means when the gaming state is the specific gaming state different from the notification mode in the state other than the specific gaming state, so that the specific gaming state is determined at the time of inspection. By generating and confirming whether or not the notification mode of the state notification control means is a notification mode according to the specific gaming state, it is possible to easily find the illegal board.

識別情報の可変表示の表示結果が特定の表示結果となったときに遊技者にとって有利な特定遊技状態に移行させ、遊技制御用マイクロコンピュータが、可変表示の開始条件の成立にもとづいて可変表示手段に識別情報の可変表示を開始させ、所定の可変表示時間が経過すると識別情報の可変表示を停止させる制御を行う可変表示制御手段を含むように構成されることによって、識別情報の可変表示の表示結果が特定の表示結果となったときに遊技者にとって有利な特定遊技状態に移行させる遊技機において不正基板を容易に発見することができる。   When the display result of the variable display of the identification information becomes the specific display result, the game control microcomputer shifts to a specific game state advantageous to the player, and the game control microcomputer performs variable display means based on the establishment of the variable display start condition Display of variable display of the identification information by including variable display control means for starting the variable display of the identification information and stopping the variable display of the identification information when a predetermined variable display time elapses. An illegal board can be easily found in a gaming machine that shifts to a specific gaming state advantageous to the player when the result is a specific display result.

状態報知制御手段が、遊技状態が識別情報の可変表示が行われている可変表示中状態であるときの状態報知手段の報知態様を、可変表示中状態以外の状態における報知態様と異ならせるように構成されることによって、検査時に可変表示の実行条件が成立させ、状態報知制御手段の報知態様が可変表示中状態に応じた報知態様であるか否かを確認することによって、不正基板を容易に発見することができる。   The state notification control means is configured to make the notification mode of the state notification means when the gaming state is a variable display state in which the variable display of the identification information is performed different from the notification mode in a state other than the variable display state. By configuring, the execution condition of variable display is established at the time of inspection, and it is possible to easily make an illegal substrate by checking whether the notification mode of the state notification control means is a notification mode according to the variable display state. Can be found.

状態報知制御手段が、遊技状態が識別情報の可変表示が行われていない状態であって特定遊技状態でない状態である通常状態であるときの状態報知手段の報知態様を、通常状態以外の状態における報知態様と異ならせるように構成されることによって、検査時に可変表示の実行条件が成立させて識別情報の可変表示を開始させ、状態報知制御手段の報知態様が通常状態に応じた報知態様から変化したか否かを確認することによって、不正基板を容易に発見することができる。   When the state notification control means is a normal state in which the game state is a state in which the variable display of the identification information is not performed and is not a specific gaming state, the state notification means is in a state other than the normal state. By being configured to be different from the notification mode, the execution condition of variable display is established at the time of inspection, and variable information is displayed, and the notification mode of the state notification control unit is changed from the notification mode according to the normal state. By confirming whether or not, the illegal substrate can be easily found.

状態報知制御手段が、払出制御基板に電力が供給されている状態では、状態報知手段による報知がなされない期間を所定時間以下にするように構成されていることによって、遊技機への電力供給を開始させ、状態報知制御手段が何らかの報知態様を呈したか否かを確認することによって、不正基板を容易に発見することができる。   When the state notification control means is in a state where electric power is supplied to the payout control board, the period during which the state notification means is not notified is set to a predetermined time or less, thereby supplying power to the gaming machine. By starting and confirming whether or not the state notification control means exhibits any notification mode, it is possible to easily find the illegal substrate.

パチンコ遊技機を正面からみた正面図である。It is the front view which looked at the pachinko game machine from the front. ガラス扉枠を取り外した状態での遊技盤の前面を示す正面図である。It is a front view which shows the front surface of the game board in the state which removed the glass door frame. 遊技機を裏面から見た背面図である。It is the rear view which looked at the gaming machine from the back. 遊技制御基板(主基板)の構成例を示すブロック図である。It is a block diagram which shows the structural example of a game control board (main board). 主基板における回路構成および主基板から演出制御基板に送信される演出制御コマンドの信号線を示すブロック図である。It is a block diagram showing a circuit configuration of the main board and a signal line of an effect control command transmitted from the main board to the effect control board. 乱数回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of a random number circuit. 更新規則選択レジスタの例を示す説明図である。It is explanatory drawing which shows the example of an update rule selection register. 更新規則メモリの例を示す説明図である。It is explanatory drawing which shows the example of an update rule memory. カウント値順列変更回路が、カウンタが出力するカウント値の順列を変更する場合の例を示す説明図である。It is explanatory drawing which shows the example in case a count value permutation change circuit changes the permutation of the count value which a counter outputs. カウント値順列変更レジスタの例を示す説明図である。It is explanatory drawing which shows the example of a count value permutation change register. 乱数最大値設定レジスタの例を示す説明図である。It is explanatory drawing which shows the example of a random number maximum value setting register. 周期設定レジスタの例を示す説明図である。It is explanatory drawing which shows the example of a period setting register. カウント値更新レジスタの例を示す説明図である。It is explanatory drawing which shows the example of a count value update register. 乱数値取込レジスタの例を示す説明図である。It is explanatory drawing which shows the example of a random value taking-in register. 乱数更新方式選択レジスタ、および乱数更新方式選択レジスタに書き込まれる乱数更新方式選択データの一例の説明図である。It is explanatory drawing of an example of the random number update system selection register and the random number update system selection data written in the random number update system selection register. 乱数回路起動レジスタの例を示す説明図である。It is explanatory drawing which shows the example of a random number circuit starting register. 乱数値記憶回路の一構成例を示す回路図である。It is a circuit diagram which shows one structural example of a random value memory circuit. 乱数値記憶回路に各信号が入力されるタイミング、および乱数値記憶回路が各信号を出力するタイミングを示すタイミングチャートである。It is a timing chart which shows the timing when each signal is input into a random value storage circuit, and the timing when a random value storage circuit outputs each signal. 遊技制御用マイクロコンピュータにおける記憶領域のアドレスマップの一例を示す説明図である。It is explanatory drawing which shows an example of the address map of the storage area in the microcomputer for game control. ユーザプログラム管理エリアにおけるアドレスマップの一例を示す説明図である。It is explanatory drawing which shows an example of the address map in a user program management area. 初期値変更方式設定データの一例を示す説明図である。It is explanatory drawing which shows an example of initial value change system setting data. ユーザプログラムの構成例を示す説明図である。It is explanatory drawing which shows the structural example of a user program. 乱数回路設定プログラムの構成例を示す説明図である。It is explanatory drawing which shows the structural example of a random number circuit setting program. 第1の乱数更新方式が選択されている場合に、ランダムRの値を更新させたりランダムRの値を読出したりする動作を示す説明図である。It is explanatory drawing which shows the operation | movement which updates the value of random R, or reads the value of random R, when the 1st random number update system is selected. 第2の乱数更新方式が選択されている場合に、ランダムRの値の更新させたりランダムRの値を読出したりする動作を示す説明図である。It is explanatory drawing which shows the operation | movement which updates the value of random R, or reads the value of random R, when the 2nd random number update system is selected. 遊技制御用マイクロコンピュータが備える各メモリを示す説明図である。It is explanatory drawing which shows each memory with which the microcomputer for game control is provided. 大当り判定用テーブルメモリの例を示す説明図である。It is explanatory drawing which shows the example of the table memory for jackpot determination. なりすまし基板が遊技機に設置された状態の例を示すブロック図である。It is a block diagram which shows the example of the state by which the impersonation board | substrate was installed in the gaming machine. 遊技制御基板ボックスを簡略化して示す正面図である。It is a front view which simplifies and shows a game control board box. 中断ボタンの搭載状態の例を示す説明図である。It is explanatory drawing which shows the example of the mounting state of an interruption button. 遊技制御用マイクロコンピュータが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which the microcomputer for game control performs. 遊技制御用マイクロコンピュータが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which the microcomputer for game control performs. 乱数回路設定処理を示すフローチャートである。It is a flowchart which shows a random circuit setting process. 乱数最大値再設定処理を示すフローチャートである。It is a flowchart which shows a random number maximum value reset process. 初期値変更処理を示すフローチャートである。It is a flowchart which shows an initial value change process. 乱数回路に各信号が入力されるタイミング、および乱数回路内で各信号が生成されるタイミングを示すタイミングチャートである。It is a timing chart which shows the timing when each signal is input into a random number circuit, and the timing when each signal is generated in a random number circuit. タイマ割込処理を示すフローチャートである。It is a flowchart which shows a timer interruption process. 初期値更新処理を示すフローチャートである。It is a flowchart which shows an initial value update process. カウント値順列変更処理を示すフローチャートである。It is a flowchart which shows a count value permutation change process. 特別図柄プロセス処理の一例を示すフローチャートである。It is a flowchart which shows an example of a special symbol process process. 始動口スイッチ通過処理を示すフローチャートである。It is a flowchart which shows a starting port switch passage process. 状態報知LEDの点灯状態と遊技状態との関係を示す説明図である。It is explanatory drawing which shows the relationship between the lighting state of state alert LED and a game state. 状態報知LED制御処理の一例を示すフローチャートである。It is a flowchart which shows an example of a status alert | report LED control process. 遊技制御基板(主基板)の構成例を示すブロック図である。It is a block diagram which shows the structural example of a game control board (main board). 払出制御信号の内容の一例を示す説明図である。It is explanatory drawing which shows an example of the content of the payout control signal. 払出制御信号の送受信に用いられる信号線等を示すブロック図である。It is a block diagram which shows the signal line etc. which are used for transmission / reception of a payout control signal. 払出制御信号の出力の仕方の一例を示すタイミング図である。It is a timing diagram which shows an example of how to output a payout control signal. 賞球処理を示すフローチャートである。It is a flowchart which shows a prize ball process. 賞球個数テーブルの構成例を示す説明図である。It is explanatory drawing which shows the structural example of a prize ball number table. 賞球個数加算処理を示すフローチャートである。It is a flowchart which shows a prize ball number addition process. 賞球制御処理を示すフローチャートである。It is a flowchart which shows a prize ball control process. 待機処理を示すフローチャートである。It is a flowchart which shows a standby process. 払出個数信号送信処理を示すフローチャートである。It is a flowchart which shows payout number signal transmission processing. 受信確認信号オン待ち処理を示すフローチャートである。It is a flowchart which shows a reception confirmation signal ON waiting process. 受信確認信号オフ待ち処理を示すフローチャートである。It is a flowchart which shows a reception confirmation signal OFF waiting process. 払出動作中信号オン待ち処理を示すフローチャートである。It is a flowchart which shows a payout operation signal on waiting process. 払出動作中信号オフ待ち処理を示すフローチャートである。It is a flowchart which shows the signal off waiting process during payout operation. 払出制御信号の出力の仕方の一例を示すタイミング図である。It is a timing diagram which shows an example of how to output a payout control signal. 払出制御用マイクロコンピュータが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which the microcomputer for payout control performs. 払出制御用マイクロコンピュータが実行するタイマ割込処理を示すフローチャートである。It is a flowchart which shows the timer interruption process which the microcomputer for payout control performs. 払出モータ制御処理を示すフローチャートである。It is a flowchart which shows a payout motor control process. 主制御通信処理を示すフローチャートである。It is a flowchart which shows a main control communication process. 待機処理を示すフローチャートである。It is a flowchart which shows a standby process. 払出REQ信号オフ待ち処理を示すフローチャートである。It is a flowchart which shows payout REQ signal OFF waiting processing. 払出動作開始待ち処理を示すフローチャートである。It is a flowchart which shows payout operation start waiting processing. 払出動作中処理を示すフローチャートである。It is a flowchart which shows the process during payout operation. 払出個数信号オフ待ち処理を示すフローチャートである。It is a flowchart which shows payout number signal OFF waiting processing. 賞球球貸し制御処理を示すフローチャートである。It is a flowchart which shows a prize ball lending control process. 払出開始待ち処理を示すフローチャートである。It is a flowchart which shows the payout start waiting process. 払出モータ停止待ち処理を示すフローチャートである。It is a flowchart which shows a payout motor stop waiting process. 払出通過待ち処理を示すフローチャートである。It is a flowchart which shows payout passage waiting processing. 払出通過待ち処理を示すフローチャートである。It is a flowchart which shows payout passage waiting processing. 払出通過待ち処理を示すフローチャートである。It is a flowchart which shows payout passage waiting processing. 乱数回路の他の構成例を示すブロック図である。It is a block diagram which shows the other structural example of a random number circuit. 第4の実施の形態における主基板の構成を示すブロック図である。It is a block diagram which shows the structure of the main board | substrate in 4th Embodiment. 第4の実施の形態における遊技制御用マイクロコンピュータが実行するメイン処理の一部を示すフローチャートである。It is a flowchart which shows a part of main process which the microcomputer for game control in 4th Embodiment performs. 演出制御用マイクロコンピュータが実行するメイン処理を示すフローチャートである。It is a flowchart which shows the main process which the microcomputer for production control performs. コマンド受信バッファの構成を示す説明図である。It is explanatory drawing which shows the structure of a command reception buffer. コマンド解析処理を示すフローチャートである。It is a flowchart which shows a command analysis process. スロット機を正面からみた正面図である。It is the front view which looked at the slot machine from the front.

実施の形態1.
以下、本発明の一実施形態を図面を参照して説明する。
まず、遊技機の一例であるパチンコ遊技機の全体の構成について説明する。図1はパチンコ遊技機を正面からみた正面図、図2は遊技盤の前面を示す正面図である。なお、以下の実施の形態では、パチンコ遊技機を例に説明を行うが、本発明による遊技機はパチンコ遊技機に限られず、スロット機などの他の遊技機に適用することもできる。
Embodiment 1 FIG.
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
First, the overall configuration of a pachinko gaming machine that is an example of a gaming machine will be described. FIG. 1 is a front view of a pachinko gaming machine as viewed from the front, and FIG. 2 is a front view showing the front of the game board. In the following embodiments, a pachinko gaming machine will be described as an example. However, the gaming machine according to the present invention is not limited to a pachinko gaming machine, and can be applied to other gaming machines such as a slot machine.

パチンコ遊技機1は、縦長の方形状に形成された外枠(図示せず)と、外枠の内側に開閉可能に取り付けられた遊技枠とで構成される。また、パチンコ遊技機1は、遊技枠に開閉可能に設けられている額縁状に形成されたガラス扉枠2を有する。遊技枠は、外枠に対して開閉自在に設置される前面枠(図示せず)と、機構部品等が取り付けられる機構板と、それらに取り付けられる種々の部品(後述する遊技盤を除く。)とを含む構造体である。   The pachinko gaming machine 1 includes an outer frame (not shown) formed in a vertically long rectangular shape, and a game frame attached to the inside of the outer frame so as to be opened and closed. Further, the pachinko gaming machine 1 has a glass door frame 2 formed in a frame shape that is provided in the game frame so as to be opened and closed. The game frame includes a front frame (not shown) installed to be openable and closable with respect to the outer frame, a mechanism plate to which mechanism parts and the like are attached, and various parts attached to them (excluding a game board described later). Is a structure including

図1に示すように、パチンコ遊技機1は、額縁状に形成されたガラス扉枠2を有する。ガラス扉枠2の下部表面には打球供給皿(上皿)3がある。打球供給皿3の下部には、打球供給皿3に収容しきれない遊技球を貯留する余剰球受皿4と遊技球を発射する打球操作ハンドル(操作ノブ)5が設けられている。外枠のガラス扉枠2の背面に対応する位置には、遊技盤6が着脱可能に取り付けられている。なお、遊技盤6は、それを構成する板状体と、その板状体に取り付けられた種々の部品とを含む構造体である。また、遊技盤6の前面には遊技領域7が形成されている。   As shown in FIG. 1, the pachinko gaming machine 1 has a glass door frame 2 formed in a frame shape. On the lower surface of the glass door frame 2 is a hitting ball supply tray (upper plate) 3. Under the hitting ball supply tray 3, an extra ball receiving tray 4 for storing game balls that cannot be accommodated in the hit ball supply tray 3 and a hitting operation handle (operation knob) 5 for launching the game balls are provided. A game board 6 is detachably attached to a position corresponding to the back surface of the glass door frame 2 of the outer frame. The game board 6 is a structure including a plate-like body constituting the game board 6 and various components attached to the plate-like body. A game area 7 is formed on the front surface of the game board 6.

遊技領域7の中央付近には、それぞれが演出用の飾り図柄を可変表示する複数の可変表示部を含む可変表示装置(飾り図柄表示装置)9が設けられている。可変表示装置9には、例えば「左」、「中」、「右」の3つの可変表示部(図柄表示エリア)がある。可変表示装置9は、特別図柄表示器8による特別図柄の可変表示期間中に、装飾用(演出用)の図柄としての飾り図柄の可変表示を行う。飾り図柄の可変表示を行う可変表示装置9は、演出制御基板に搭載されている演出制御用マイクロコンピュータによって制御される。   Near the center of the game area 7, there is provided a variable display device (decorative symbol display device) 9 including a plurality of variable display portions each variably displaying an effect decorative symbol. The variable display device 9 has, for example, three variable display portions (symbol display areas) of “left”, “middle”, and “right”. The variable display device 9 performs variable display of a decorative symbol as a symbol for decoration (production) during the variable symbol display period of the special symbol by the special symbol indicator 8. The variable display device 9 that performs variable display of decorative symbols is controlled by an effect control microcomputer mounted on the effect control board.

可変表示装置9の下部には、始動入賞口14に入った有効入賞球数すなわち保留記憶(始動記憶または始動入賞記憶ともいう。)数を表示する4つの特別図柄保留記憶表示器18が設けられている。特別図柄保留記憶表示器18は、保留記憶数を入賞順に4個まで表示する。特別図柄保留記憶表示器18は、始動入賞口14に始動入賞があるごとに、点灯状態のLEDの数を1増やす。そして、特別図柄保留記憶表示器18は、特別図柄表示器8で可変表示が開始されるごとに、点灯状態のLEDの数を1減らす(すなわち1つのLEDを消灯する)。具体的には、特別図柄保留記憶表示器18は、特別図柄表示器8で可変表示が開始されるごとに、点灯状態をシフトする。なお、この例では、始動入賞口14への入賞による始動記憶数に上限数(4個まで)が設けられているが、上限数を4個以上にしてもよい。   At the bottom of the variable display device 9, four special symbol hold memory indicators 18 for displaying the number of valid winning balls that have entered the start winning opening 14, that is, the number of hold memories (also referred to as start memory or start prize memory), are provided. ing. The special symbol reservation storage display 18 displays up to four reservation storage numbers in the order of winning. The special symbol hold storage display 18 increases the number of LEDs in the lit state by 1 each time there is a start winning in the start winning opening 14. Then, each time the special symbol display 8 starts variable display, the special symbol hold storage indicator 18 reduces the number of LEDs in the lit state by 1 (that is, turns off one LED). Specifically, the special symbol hold storage display 18 shifts the lighting state each time variable display is started on the special symbol display 8. In this example, the upper limit number (up to 4) is provided for the number of starting memories by winning to the start winning opening 14, but the upper limit number may be four or more.

可変表示装置9の上部には、識別情報としての特別図柄を可変表示する特別図柄表示器(特別図柄表示装置)8が設けられている。この実施の形態では、特別図柄表示器8は、例えば0〜9の数字を可変表示可能な簡易で小型の表示器(例えば7セグメントLED)で実現されている。特別図柄表示器8は、遊技者に特定の停止図柄を把握しづらくさせるために、0〜99など、より多種類の数字を可変表示するように構成されていてもよい。また、可変表示装置9は、特別図柄表示器8による特別図柄の可変表示期間中に、装飾用(演出用)の図柄としての飾り図柄の可変表示を行う。特別図柄の可変表示と飾り図柄の可変表示とは同期(可変表示開始時期および可変表示終了時期が同じ。)している。   A special symbol display (special symbol display device) 8 that variably displays a special symbol as identification information is provided on the variable display device 9. In this embodiment, the special symbol display 8 is realized by a simple and small display (for example, 7 segment LED) capable of variably displaying numbers 0 to 9, for example. The special symbol display 8 may be configured to variably display a larger number of numbers such as 0 to 99 in order to make it difficult for the player to grasp a specific stop symbol. In addition, the variable display device 9 performs variable display of a decorative symbol as a symbol for decoration (for production) during the variable symbol display period of the special symbol by the special symbol indicator 8. The special symbol variable display and the decorative symbol variable display are synchronized (the variable display start time and the variable display end time are the same).

可変表示装置9の下方には、始動入賞口14を形成する可変入賞球装置15が設けられている。始動入賞口14に入った入賞球は、遊技盤6の背面に導かれ、始動口スイッチ14aによって検出される。可変入賞球装置15は、ソレノイド16によって開状態にされる。   Below the variable display device 9 is provided a variable winning ball device 15 that forms a start winning opening 14. The winning ball that has entered the start winning opening 14 is guided to the back of the game board 6 and detected by the start opening switch 14a. The variable winning ball device 15 is opened by a solenoid 16.

可変入賞球装置15の下部には、特定遊技状態(大当り遊技状態)においてソレノイド21によって開放状態とされる特別可変入賞球装置20(大入賞口)が設けられている。特別可変入賞球装置20は開閉板を有し、開閉板が開放状態に制御されることによって特別可変入賞球装置20が開放状態になる。特別可変入賞球装置20に入賞した入賞球はカウントスイッチ23で検出される。   Below the variable winning ball apparatus 15, a special variable winning ball apparatus 20 (large winning opening) that is opened by a solenoid 21 in a specific gaming state (big hit gaming state) is provided. The special variable winning ball device 20 has an opening / closing plate, and the special variable winning ball device 20 is opened when the opening / closing plate is controlled to be opened. The winning ball that has won the special variable winning ball device 20 is detected by the count switch 23.

遊技球がゲート32を通過しゲートスイッチ32aで検出されると、普通図柄表示器10の表示の可変表示が開始される。この実施の形態では、左右のランプ(点灯時に図柄が視認可能になる)が交互に点灯することによって可変表示が行われ、例えば、可変表示の終了時に左側のランプが点灯すれば当たりになる。そして、普通図柄表示器10における停止図柄が所定の図柄(当り図柄)である場合に、可変入賞球装置15が所定回数、所定時間だけ開状態になる。普通図柄表示器10の近傍には、ゲート32を通過した入賞球数を表示する4つのLEDによる表示部を有する普通図柄始動記憶表示器41が設けられている。ゲート32への遊技球の通過があるごとに、普通図柄始動記憶表示器41は点灯するLEDを1増やす。そして、普通図柄表示器10の可変表示が開始されるごとに、点灯するLEDを1減らす。   When the game ball passes through the gate 32 and is detected by the gate switch 32a, variable display of the normal symbol display 10 is started. In this embodiment, variable display is performed by alternately lighting left and right lamps (designs can be visually recognized when lit). For example, if the left lamp is lit at the end of variable display, it is a hit. When the stop symbol on the normal symbol display 10 is a predetermined symbol (winning symbol), the variable winning ball device 15 is opened for a predetermined number of times. In the vicinity of the normal symbol display 10, a normal symbol start memory display 41 having a display unit with four LEDs for displaying the number of winning balls that have passed through the gate 32 is provided. Each time there is a game ball passing through the gate 32, the normal symbol start memory display 41 increases the number of LEDs to be turned on by one. Each time the variable display on the normal symbol display 10 is started, the number of LEDs to be lit is reduced by one.

遊技盤6には、複数の入賞口29,30,33,39が設けられ、遊技球の入賞口29,30,33,39への入賞は、それぞれ入賞口スイッチ29a,30a,33a,39aによって検出される。各入賞口29,30,33,39は、遊技媒体を受け入れて入賞を許容する領域として遊技盤6に設けられる入賞領域を構成している。なお、始動入賞口14や大入賞口も、遊技媒体を受け入れて入賞を許容する入賞領域を構成する。遊技領域7の左右周辺には、遊技中に点滅表示される装飾ランプ25が設けられ、下部には、入賞しなかった遊技球を吸収するアウト口26がある。また、遊技領域7の外側の左右上部には、効果音を発する2つのスピーカ27が設けられている。遊技領域7の外周には、天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cが設けられている。さらに、遊技領域7における各構造物(大入賞口等)の周囲には装飾LEDが設置されている。天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cおよび装飾用LEDは、遊技機に設けられている装飾発光体の一例である。   The game board 6 is provided with a plurality of winning holes 29, 30, 33, 39, and winning of game balls to the winning holes 29, 30, 33, 39 is performed by winning hole switches 29a, 30a, 33a, 39a, respectively. Detected. Each winning opening 29, 30, 33, 39 constitutes a winning area provided in the game board 6 as an area for accepting game media and allowing winning. The start winning opening 14 and the big winning opening also constitute a winning area that accepts game media and allows winning. Around the left and right of the game area 7, there are provided decorative lamps 25 blinking and displayed during the game, and at the lower part there is an outlet 26 for absorbing a game ball that has not won a prize. Two speakers 27 that emit sound effects are provided on the left and right upper portions outside the game area 7. On the outer periphery of the game area 7, a top frame lamp 28a, a left frame lamp 28b, and a right frame lamp 28c are provided. Further, a decoration LED is installed around each structure (such as a big prize opening) in the game area 7. The top frame lamp 28a, the left frame lamp 28b, the right frame lamp 28c, and the decoration LED are examples of a decorative light emitter provided in the gaming machine.

そして、この例では、左枠ランプ28bの近傍に、賞球払出中に点灯する賞球ランプ51が設けられ、天枠ランプ28aの近傍に、補給球が切れたときに点灯する球切れランプ52が設けられている。さらに、プリペイドカードが挿入されることによって球貸しを可能にするプリペイドカードユニット(以下、「カードユニット」という。)50が、パチンコ遊技機1に隣接して設置されている。   In this example, a prize ball lamp 51 that is lit during award ball payout is provided in the vicinity of the left frame lamp 28b, and a ball break lamp 52 that is lit when the supply ball is cut in the vicinity of the top frame lamp 28a. Is provided. Further, a prepaid card unit (hereinafter referred to as “card unit”) 50 that enables lending a ball by inserting a prepaid card is installed adjacent to the pachinko gaming machine 1.

カードユニット50には、例えば、使用可能状態であるか否かを示す使用可表示ランプ、カードユニットがいずれの側のパチンコ遊技機1に対応しているのかを示す連結台方向表示器、カードユニット内にカードが投入されていることを示すカード投入表示ランプ、記録媒体としてのカードが挿入されるカード挿入口、およびカード挿入口の裏面に設けられているカードリーダライタの機構を点検する場合にカードユニットを解放するためのカードユニット錠が設けられている。   The card unit 50 includes, for example, a usable display lamp that indicates whether or not the card unit 50 is in a usable state, a connection table direction indicator that indicates which side of the pachinko gaming machine 1 corresponds to the card unit, and a card unit. When checking the card insertion indicator lamp indicating that a card is inserted in the card, the card insertion slot into which the card as a recording medium is inserted, and the card reader / writer mechanism provided on the back of the card insertion slot A card unit lock for releasing the card unit is provided.

遊技者の操作により打球発射装置から発射された遊技球は、打球レールを通って遊技領域7に入り、その後、遊技領域7を下りてくる。遊技球が始動入賞口14に入り始動口スイッチ14aで検出されると、図柄の可変表示を開始できる状態であれば、特別図柄表示器8において特別図柄が可変表示(変動)を始めるとともに、可変表示装置9において飾り図柄が可変表示(変動)を始める。図柄の可変表示を開始できる状態でなければ、保留記憶数を1増やす。   A game ball launched from the ball striking device by the player's operation enters the game area 7 through the hit ball rail, and then descends the game area 7. When the game ball enters the start winning port 14 and is detected by the start port switch 14a, the special symbol on the special symbol display unit 8 starts variable display (variation) and is variable if the variable symbol display can be started. The decorative design on the display device 9 starts variable display (variation). If the variable display of the symbol cannot be started, the number of reserved memories is increased by one.

特別図柄表示器8における特別図柄の可変表示、および可変表示装置9における飾り図柄の可変表示は、一定時間が経過したときに停止する。停止時の特別図柄(停止図柄)が大当り図柄(特定表示結果)であると、大当り遊技状態に移行する。すなわち、特別可変入賞球装置20が、一定時間経過するまで、または、所定個数(例えば10個)の遊技球が入賞するまで開放する。特別可変入賞球装置20の開放は、所定回数(例えば、15ラウンド)許容される。   The variable display of the special symbol on the special symbol display 8 and the variable display of the decorative symbol on the variable display device 9 are stopped when a certain time has passed. If the special symbol (stop symbol) at the time of stoppage is a jackpot symbol (specific display result), the game shifts to a jackpot gaming state. That is, the special variable winning ball apparatus 20 is released until a predetermined time elapses or a predetermined number (for example, 10) of gaming balls wins. The opening of the special variable winning ball apparatus 20 is allowed a predetermined number of times (for example, 15 rounds).

停止時の特別図柄表示器8における特別図柄が確率変動を伴う大当り図柄(確変図柄)である場合には、次に大当りになる確率が高くなる。すなわち、確変状態という遊技者にとってさらに有利な状態になる。   When the special symbol on the special symbol display 8 at the time of stoppage is a jackpot symbol (probability variation symbol) with a probability variation, the probability of the next jackpot increases. That is, it becomes a more advantageous state for the player in the probability variation state.

遊技球がゲート32に入賞すると、普通図柄表示器10において普通図柄が可変表示される状態になる。また、普通図柄表示器10における停止図柄が所定の図柄(当り図柄)である場合に、可変入賞球装置15が所定時間だけ開放状態になる。さらに、確変状態では、普通図柄表示器10における停止図柄が当り図柄になる確率が高められるとともに、可変入賞球装置15の開放時間と開放回数が高められる。また、時短状態(特別図柄の可変表示時間が短縮される遊技状態)において、可変入賞球装置15の開放時間と開放回数が高められるようにしてもよい。   When the game ball wins the gate 32, the normal symbol display unit 10 is in a state where the normal symbol is variably displayed. When the stop symbol on the normal symbol display 10 is a predetermined symbol (winning symbol), the variable winning ball device 15 is opened for a predetermined time. Further, in the probability variation state, the probability that the stop symbol in the normal symbol display 10 becomes a winning symbol is increased, and the opening time and the number of times of opening of the variable winning ball device 15 are increased. Further, in the short time state (the game state in which the variable symbol display time for special symbols is shortened), the opening time and the number of opening times of the variable winning ball device 15 may be increased.

次に、パチンコ遊技機1の裏面の構造について図3を参照して説明する。図3は、遊技機を裏面から見た背面図である。   Next, the structure of the back surface of the pachinko gaming machine 1 will be described with reference to FIG. FIG. 3 is a rear view of the gaming machine as seen from the back side.

図3に示すように、遊技機裏面側では、可変表示装置9を制御する演出制御用マイクロコンピュータが搭載された演出制御基板80を含む可変表示制御ユニット49、遊技制御用マイクロコンピュータ等が搭載された遊技制御基板(主基板)31が設置されている。また、球払出制御を行う払出制御用マイクロコンピュータ等が搭載された払出制御基板37が設置されている。なお、演出制御マイクロコンピュータは、遊技盤6に設けられている可変表示装置9を制御するとともに、各種装飾LED、装飾ランプ25、枠側に設けられている天枠ランプ28a、左枠ランプ28bおよび右枠ランプ28cを点灯制御し、スピーカ27からの音発生を制御する。また、主基板31以外のマイクロコンピュータが搭載された基板を電気部品制御基板またはサブ基板ということがある。   As shown in FIG. 3, on the back side of the gaming machine, a variable display control unit 49 including an effect control board 80 on which an effect control microcomputer for controlling the variable display device 9 is mounted, a game control microcomputer and the like are mounted. A game control board (main board) 31 is installed. In addition, a payout control board 37 on which a payout control microcomputer for performing ball payout control is mounted is installed. The production control microcomputer controls the variable display device 9 provided on the game board 6, and various decoration LEDs, a decoration lamp 25, a top frame lamp 28a, a left frame lamp 28b provided on the frame side, and The lighting of the right frame lamp 28c is controlled, and the sound generation from the speaker 27 is controlled. A board on which a microcomputer other than the main board 31 is mounted may be referred to as an electric component control board or a sub board.

さらに、DC30V、DC21V、DC12VおよびDC5Vを作成する電源回路が搭載された電源基板910やタッチセンサ基板91が設けられている。   Further, a power supply substrate 910 and a touch sensor substrate 91 on which a power supply circuit for generating DC30V, DC21V, DC12V, and DC5V is mounted are provided.

遊技機裏面において、上方には、各種情報を遊技機外部に出力するための各端子を備えたターミナル基板160が設置されている。また、中央付近には、主基板31からの各種情報を遊技機外部に出力するための各端子を備えた情報端子基板(情報出力基板)36が設置されている。   On the back side of the gaming machine, a terminal board 160 provided with terminals for outputting various information to the outside of the gaming machine is installed above. Further, an information terminal board (information output board) 36 having terminals for outputting various information from the main board 31 to the outside of the gaming machine is installed near the center.

貯留タンク38に貯留された遊技球は誘導レールを通り、カーブ樋を経て払出ケース40Aで覆われた球払出装置に至る。球払出装置の上部には、遊技媒体切れ検出手段としての球切れスイッチ187が設けられている。球切れスイッチ187が球切れを検出すると、球払出装置の払出動作が停止する。球切れスイッチ187は遊技球通路内の遊技球の有無を検出するスイッチであるが、貯留タンク38内の補給球の不足を検出する球切れ検出スイッチも誘導レールにおける上流部分(貯留タンク38に近接する部分)に設けられている。球切れ検出スイッチが遊技球の不足を検知すると、遊技機設置島に設けられている補給機構から遊技機に対して遊技球の補給が行われる。   The game balls stored in the storage tank 38 pass through the guide rails, and reach the ball payout device covered with the payout case 40A through the curve cage. A ball break switch 187 as a game medium break detection means is provided on the upper part of the ball payout device. When the ball break switch 187 detects a ball break, the dispensing operation of the ball dispensing device stops. The ball break switch 187 is a switch for detecting the presence or absence of a game ball in the game ball passage, but the ball break detection switch for detecting the shortage of supply balls in the storage tank 38 is also an upstream portion of the guide rail (close to the storage tank 38). Part). When the shortage of balls detection switch detects a shortage of game balls, the game balls are replenished from the replenishment mechanism provided on the gaming machine installation island.

入賞にもとづく景品としての遊技球や球貸し要求にもとづく遊技球が多数払い出されて打球供給皿3が満杯になると、遊技球は、余剰球通路を経て余剰球受皿4に導かれる。さらに遊技球が払い出されると、感知レバー(図示せず)が貯留状態検出手段としての満タンスイッチ(図示せず)を押圧して、貯留状態検出手段としての満タンスイッチがオンする。その状態では、球払出装置内の払出モータの回転が停止して球払出装置の動作が停止するとともに打球発射装置の駆動も停止する。   When a large number of game balls as prizes based on winning a prize and game balls based on a ball lending request are paid out and the hitting ball supply tray 3 is full, the game balls are guided to the surplus ball receiving tray 4 through the surplus ball passage. When the game ball is further paid out, a sensing lever (not shown) presses a full tank switch (not shown) as a storage state detection means, and the full tank switch as a storage state detection means is turned on. In this state, the rotation of the payout motor in the ball payout device is stopped, the operation of the ball payout device is stopped, and the driving of the ball hitting device is also stopped.

図4は、主基板31における回路構成の一例を示すブロック図である。なお、図4には、遊技機に搭載されている払出制御基板37、ランプドライバ基板35、音声出力基板70、インタフェース基板66、中継基板77および演出制御基板80も示されている。この実施の形態では、演出制御基板80に搭載されている演出制御手段(演出制御用マイクロコンピュータで構成される。)が、中継基板77を介して遊技制御用マイクロコンピュータ560からの演出制御コマンドを受信し、飾り図柄を可変表示する可変表示装置9の表示制御等を行う。   FIG. 4 is a block diagram illustrating an example of a circuit configuration in the main board 31. 4 also shows a payout control board 37, a lamp driver board 35, an audio output board 70, an interface board 66, a relay board 77, and an effect control board 80 mounted on the gaming machine. In this embodiment, the effect control means (configured by the effect control microcomputer) mounted on the effect control board 80 receives the effect control command from the game control microcomputer 560 via the relay board 77. The display control and the like of the variable display device 9 that receives and variably displays decorative symbols are performed.

主基板31には、プログラムに従ってパチンコ遊技機1を制御する遊技制御用マイクロコンピュータ(遊技制御手段に相当)560が搭載されている。遊技制御用マイクロコンピュータ560は、ゲーム制御(遊技進行制御)用のプログラム等を記憶するROM54、ワークメモリとして使用される記憶手段としてのRAM55、プログラムに従って制御動作を行うCPU56およびI/Oポート部57を含む。この実施の形態では、ROM54およびRAM55は遊技制御用マイクロコンピュータ560に内蔵されている。すなわち、遊技制御用マイクロコンピュータ560は、1チップマイクロコンピュータである。1チップマイクロコンピュータには、少なくともCPU56のほかRAM55が内蔵されていればよく、ROM54は外付けであっても内蔵されていてもよい。また、I/Oポート部57は、外付けであってもよい。遊技制御用マイクロコンピュータ560には、さらに、ハードウェア乱数(ハードウェア回路が発生する乱数)を発生する乱数回路503が内蔵されている。   A game control microcomputer (corresponding to game control means) 560 for controlling the pachinko gaming machine 1 according to a program is mounted on the main board 31. The game control microcomputer 560 includes a ROM 54 for storing a game control (game progress control) program and the like, a RAM 55 as storage means used as a work memory, a CPU 56 for performing control operations in accordance with the program, and an I / O port unit 57. including. In this embodiment, the ROM 54 and the RAM 55 are built in the game control microcomputer 560. That is, the game control microcomputer 560 is a one-chip microcomputer. The one-chip microcomputer only needs to incorporate at least the CPU 56 and the RAM 55, and the ROM 54 may be external or built-in. The I / O port unit 57 may be externally attached. The game control microcomputer 560 further includes a random number circuit 503 that generates hardware random numbers (random numbers generated by the hardware circuit).

なお、遊技制御用マイクロコンピュータ560においてCPU56がROM54に格納されているプログラムに従って制御を実行するので、以下、遊技制御用マイクロコンピュータ560(またはCPU56)が実行する(または、処理を行う)ということは、具体的には、CPU56がプログラムに従って制御を実行することである。このことは、主基板31以外の他の基板に搭載されているマイクロコンピュータについても同様である。   In the game control microcomputer 560, the CPU 56 executes control in accordance with the program stored in the ROM 54, so that the game control microcomputer 560 (or CPU 56) executes (or performs processing) hereinafter. Specifically, the CPU 56 executes control according to a program. The same applies to microcomputers mounted on substrates other than the main substrate 31.

また、主基板31には、ゲートスイッチ32a、始動口スイッチ14a、カウントスイッチ23、入賞口スイッチ29a,30a,33a,39aからの信号を基本回路53に与える入力ドライバ回路58と、可変入賞球装置15を開閉するソレノイド16および特別可変入賞球装置20を開閉するソレノイド21を遊技制御用マイクロコンピュータ560からの指令に従って駆動する出力回路59と、遊技店員等による操作に応じて遊技制御用マイクロコンピュータ560による遊技制御処理を中断させるための中断ボタン361とが搭載されている。中断ボタン361は、押下されたことに応じて、遊技制御処理中断信号を遊技制御用マイクロコンピュータ560に対して出力する。   Further, the main board 31 includes an input driver circuit 58 for supplying a signal from the gate switch 32a, the start port switch 14a, the count switch 23, the winning port switches 29a, 30a, 33a and 39a to the basic circuit 53, and a variable winning ball apparatus. An output circuit 59 for driving the solenoid 16 for opening / closing 15 and the solenoid 21 for opening / closing the special variable winning ball apparatus 20 according to a command from the game control microcomputer 560, and a game control microcomputer 560 in accordance with an operation by a game clerk or the like. And an interruption button 361 for interrupting the game control process. The interrupt button 361 outputs a game control process interrupt signal to the game control microcomputer 560 in response to being pressed.

また、主基板31には、遊技制御用マイクロコンピュータ560の制御に応じて、遊技機の遊技状態を報知するための状態報知LED61に駆動信号を与えるLED回路60が設けられている。この実施の形態では、状態報知LED61は、主基板31に設けられている。また、この実施の形態では、状態報知のための発光体として状態報知LED61が用いられているが、LED以外の発光体を用いてもよい。発光体は1個ものに限られず複数個の発光体により報知するものでもよい。さらにドットマトリクス表示器、7セグメント表示器、液晶表示器、EL等により報知するものでもよい。また、発光体以外の報知手段(例えば、スピーカ、ブザー等)を用いてもよい。   The main board 31 is also provided with an LED circuit 60 that provides a drive signal to the state notification LED 61 for notifying the gaming state of the gaming machine in accordance with the control of the gaming control microcomputer 560. In this embodiment, the state notification LED 61 is provided on the main board 31. In this embodiment, the state notification LED 61 is used as a light emitter for state notification, but a light emitter other than the LED may be used. The number of light emitters is not limited to one, and a plurality of light emitters may be used for notification. Further, notification may be made by a dot matrix display, a 7-segment display, a liquid crystal display, an EL, or the like. Moreover, you may use alerting means (for example, a speaker, a buzzer, etc.) other than a light-emitting body.

また、この実施の形態では、異なる報知態様として「点灯」と「点滅」を例示するが、異なる報知態様はそれに限られず、例えば、フルカラーLED等を用いて色彩を異ならせることによって報知態様を異ならせるようにしてもよい。   Further, in this embodiment, “lighting” and “blinking” are illustrated as different notification modes, but the different notification modes are not limited thereto. For example, the notification modes may be different by changing colors using full-color LEDs or the like. You may make it let.

なお、ゲートスイッチ32a、始動口スイッチ14a、カウントスイッチ23、入賞口スイッチ29a,30a,33a,39a等のスイッチは、センサと称されているものでもよい。すなわち、遊技球を検出できる遊技媒体検出手段(この例では遊技球検出手段)であれば、その名称を問わない。入賞検出を行う始動口スイッチ14a、カウントスイッチ23、および入賞口スイッチ29a,30a,33a,39aの各スイッチは、入賞領域への遊技球の入賞を検出する入賞検出手段でもある。   Note that the switches such as the gate switch 32a, the start port switch 14a, the count switch 23, and the winning port switches 29a, 30a, 33a, and 39a may be referred to as sensors. That is, the name of the game medium detection means is not limited as long as it is a game medium detection means (game ball detection means in this example) that can detect a game ball. Each of the start port switch 14a, the count switch 23, and the winning port switches 29a, 30a, 33a, and 39a that perform winning detection is also a winning detection means that detects the winning of a game ball in the winning area.

また、遊技制御用マイクロコンピュータ560は、各基板(払出制御基板37や演出制御基板80)が搭載するマイクロコンピュータと各種データの送受信を行う。なお、この実施の形態では、「マイクロコンピュータが送受信する」等の表現を用いるが、具体的には、例えば、データ送信を行う場合、CPUがシリアル通信回路の送信データレジスタにデータをセットし、シリアル通信回路が送信データレジスタにセットされたデータを送信する。また、CPUがI/Oポート部を介してデータを送信する。また、例えば、データ受信を行う場合、受信データがシリアル通信回路の受信データレジスタに書き込まれ、CPUが受信データレジスタから受信データを読み込む。また、CPUがI/Oポート部を介してデータを受信する。   The game control microcomputer 560 transmits and receives various data to and from the microcomputer mounted on each board (the payout control board 37 and the effect control board 80). In this embodiment, expressions such as “the microcomputer transmits and receives” are used. Specifically, for example, when data transmission is performed, the CPU sets data in the transmission data register of the serial communication circuit, and The serial communication circuit transmits the data set in the transmission data register. In addition, the CPU transmits data via the I / O port unit. For example, when data reception is performed, the reception data is written into the reception data register of the serial communication circuit, and the CPU reads the reception data from the reception data register. In addition, the CPU receives data via the I / O port unit.

また、この実施の形態では、遊技制御用マイクロコンピュータ560が、払出制御基板37が搭載する払出制御用マイクロコンピュータ370とシリアル通信を行う場合を説明する。   In this embodiment, the case where the game control microcomputer 560 performs serial communication with the payout control microcomputer 370 mounted on the payout control board 37 will be described.

また、RAM55は、その一部または全部が電源基板910において作成されるバックアップ電源によってバックアップされている不揮発性記憶手段としてのバックアップRAMである。すなわち、遊技機に対する電力供給が停止しても、所定期間(バックアップ電源としてのコンデンサが放電してバックアップ電源が電力供給不能になるまで)は、RAM55の一部または全部の内容は保存される。なお、この実施の形態では、RAM55の全部が、電源バックアップされているとする。   The RAM 55 is a backup RAM as a non-volatile storage means, part or all of which is backed up by a backup power source created on the power supply substrate 910. That is, even if the power supply to the gaming machine is stopped, a part or all of the contents of the RAM 55 is stored for a predetermined period (until the capacitor as the backup power supply is discharged and the backup power supply cannot be supplied). In this embodiment, it is assumed that the entire RAM 55 is backed up.

また、遊技制御用マイクロコンピュータ560の入力ポートには、電源基板910からの電源電圧が所定値以下に低下したことを示す電源断信号が入力される。また、入力ポートには、RAMの内容をクリアすることを指示するためのクリアスイッチが操作されたことを示すクリア信号が入力される。   Further, a power-off signal indicating that the power supply voltage from the power supply board 910 has decreased to a predetermined value or less is input to the input port of the game control microcomputer 560. In addition, a clear signal indicating that the clear switch for instructing to clear the contents of the RAM is operated is input to the input port.

図4に示すように、主基板31には、照合機365を接続することが可能である。照合機365は、主基板31が正規の基板であるか否かを、主基板31に一意に付与されている基板ID(例えば、遊技制御用マイクロコンピュータ560固有のIDナンバ)にもとづいて判定し、判定結果を表示する機器である。主基板31が備えるROM54には、主基板31自身に一意に与えられている基板IDが登録されている。照合機365には、主基板31に一意に付与されている基板IDがあらかじめ格納されている。照合機365は、主基板31から照合端子354(図5参照)を介して送られてきた基板IDと、自己が保存している主基板31の基板IDとを照合し、一致すれば照合OK側のランプを点灯させ、一致しなければ照合NG側のランプを点灯させる。   As shown in FIG. 4, a collator 365 can be connected to the main board 31. The collator 365 determines whether or not the main board 31 is a legitimate board based on a board ID uniquely assigned to the main board 31 (for example, an ID number unique to the game control microcomputer 560). This is a device that displays the determination result. In the ROM 54 provided in the main board 31, a board ID uniquely assigned to the main board 31 itself is registered. The collator 365 stores in advance a board ID uniquely assigned to the main board 31. The collator 365 collates the board ID sent from the main board 31 via the collation terminal 354 (see FIG. 5) and the board ID of the main board 31 stored by itself, and if they match, the collation is OK. The lamp on the side is turned on, and the lamp on the verification NG side is turned on if they do not match.

図5は、主基板31における回路構成および主基板31から演出制御基板80に送信される演出制御コマンドの信号線を示すブロック図である。図5に示すように、この実施の形態では、主基板31が搭載する遊技制御用マイクロコンピュータ560は、演出制御信号送信用の8本の信号線CD0〜CD7を用いて、演出制御コマンドを演出制御基板80に送信する。また、主基板31と演出制御基板80との間には、ストローブ信号を送受するための演出制御INT信号の信号線も配線されている。   FIG. 5 is a block diagram showing a circuit configuration of the main board 31 and signal lines of an effect control command transmitted from the main board 31 to the effect control board 80. As shown in FIG. 5, in this embodiment, the game control microcomputer 560 mounted on the main board 31 produces an effect control command using eight signal lines CD0 to CD7 for transmitting the effect control signal. Transmit to the control board 80. In addition, a signal line of an effect control INT signal for transmitting and receiving a strobe signal is also wired between the main board 31 and the effect control board 80.

図5には、図4に示す遊技球の入賞等を検出するための各種スイッチのうち、始動口スイッチ14aが示されている。また、可変入賞球装置15を開閉するソレノイド16および特別可変入賞球装置20を開閉するソレノイド21も示されている。   FIG. 5 shows a start port switch 14a among various switches for detecting a winning of the game ball shown in FIG. Also shown are a solenoid 16 for opening and closing the variable winning ball apparatus 15 and a solenoid 21 for opening and closing the special variable winning ball apparatus 20.

図5には、主基板31に、照合端子364が設けられていることが示されている。また、図5には、遊技制御用マイクロコンピュータ560のより詳しい構成が示されている。遊技制御用マイクロコンピュータ560は、クロック回路501、システムリセット手段として機能するリセットコントローラ502、乱数回路503a,503b、ゲーム制御用のプログラム等を記憶するROM54、ワークメモリとして使用されるRAM55、プログラムに従って動作するCPU56、CPU56に割込要求信号(タイマ割込による割込要求信号)を送出するCTC504、およびI/Oポート部57を内蔵する。   FIG. 5 shows that a verification terminal 364 is provided on the main board 31. FIG. 5 shows a more detailed configuration of the game control microcomputer 560. The game control microcomputer 560 operates in accordance with a clock circuit 501, a reset controller 502 that functions as system reset means, random number circuits 503a and 503b, a ROM 54 that stores a game control program, a RAM 55 that is used as a work memory, and a program. CPU 56, CPU 56 for sending an interrupt request signal (interrupt request signal by timer interrupt) to CPU 56, and I / O port unit 57 are incorporated.

クロック回路501は、システムクロック信号を2(=128)分周して生成した所定の周期の基準クロック信号CLKを、各乱数回路503a,503bに出力する。リセットコントローラ502は、ローレベルの信号が一定期間入力されたとき、CPU56および各乱数回路503a,503bに所定の初期化信号を出力して、遊技制御用マイクロコンピュータ560をシステムリセットする。なお、乱数回路503a,503bは、図4に示された乱数回路503の一部である。 The clock circuit 501 outputs a reference clock signal CLK having a predetermined period generated by dividing the system clock signal by 2 7 (= 128) to the random number circuits 503a and 503b. When a low level signal is input for a predetermined period, the reset controller 502 outputs a predetermined initialization signal to the CPU 56 and the random number circuits 503a and 503b to reset the game control microcomputer 560. The random number circuits 503a and 503b are part of the random number circuit 503 shown in FIG.

また、この実施の形態では、図5に示すように、遊技制御用マイクロコンピュータ560は、発生可能な乱数の値の範囲が異なる2つの乱数回路503a,503bを搭載する。乱数回路503aは、12ビットの疑似乱数を発生する乱数回路(以下、12ビット乱数回路ともいう)である。12ビット乱数回路503aは、12ビットで発生できる範囲(すなわち、0から4095までの範囲)の値の乱数を発生する機能を備える。また、乱数回路503bは、16ビットの疑似乱数を発生する乱数回路(以下、16ビット乱数回路ともいう)である。16ビット乱数回路503bは、16ビットで発生できる範囲(すなわち、0から65535までの範囲)の値の乱数を発生する機能を備える。なお、この実施の形態では、遊技制御用マイクロコンピュータ560が2つの乱数回路を内蔵する場合を説明するが、遊技制御用マイクロコンピュータ560は、3以上の乱数回路を内蔵してもよい。また、この実施の形態では、12ビット乱数回路503aおよび16ビット乱数回路503bを包括的に表現する場合、または、12ビット乱数回路503aと16ビット乱数回路503bとのうちいずれかを指す場合に、乱数回路503という。   Further, in this embodiment, as shown in FIG. 5, the game control microcomputer 560 is equipped with two random number circuits 503a and 503b having different ranges of random value values that can be generated. The random number circuit 503a is a random number circuit (hereinafter also referred to as a 12-bit random number circuit) that generates a 12-bit pseudo-random number. The 12-bit random number circuit 503a has a function of generating a random number having a value within a range that can be generated by 12 bits (that is, a range from 0 to 4095). The random number circuit 503b is a random number circuit (hereinafter also referred to as a 16-bit random number circuit) that generates a 16-bit pseudo-random number. The 16-bit random number circuit 503b has a function of generating a random number having a value in a range that can be generated in 16 bits (that is, a range from 0 to 65535). In this embodiment, the case where the game control microcomputer 560 includes two random number circuits is described. However, the game control microcomputer 560 may include three or more random number circuits. In this embodiment, when the 12-bit random number circuit 503a and the 16-bit random number circuit 503b are comprehensively expressed, or when indicating either the 12-bit random number circuit 503a or the 16-bit random number circuit 503b, This is called a random number circuit 503.

次に、乱数回路503の構成について説明する。図6は、乱数回路503の構成例を示すブロック図である。なお、この実施の形態において、12ビット乱数回路503aと16ビット乱数回路503bとの基本的な構成は同じである。図6に示すように、乱数回路503は、カウンタ521、比較器522、カウント値順列変更回路523、クロック信号出力回路524、カウント値更新信号出力回路525、乱数値読取信号出力回路526、乱数更新方式選択信号出力回路527、セレクタ528、乱数回路起動信号出力回路530、乱数値記憶回路531、反転回路532、ラッチ信号生成回路533およびタイマ回路534とを含む。   Next, the configuration of the random number circuit 503 will be described. FIG. 6 is a block diagram illustrating a configuration example of the random number circuit 503. In this embodiment, the basic configurations of the 12-bit random number circuit 503a and the 16-bit random number circuit 503b are the same. As shown in FIG. 6, the random number circuit 503 includes a counter 521, a comparator 522, a count value permutation changing circuit 523, a clock signal output circuit 524, a count value update signal output circuit 525, a random value read signal output circuit 526, and a random number update. A system selection signal output circuit 527, a selector 528, a random number circuit activation signal output circuit 530, a random value storage circuit 531, an inversion circuit 532, a latch signal generation circuit 533, and a timer circuit 534 are included.

この実施の形態では、乱数回路503は、複数種類の識別情報の可変表示の表示結果を特定の表示結果とするか否か(例えば、特別図柄表示装置8の表示図柄の組み合わせを大当り図柄の組み合わせとするか否か)を判定するための大当り判定用の乱数を発生する。そして、遊技制御用マイクロコンピュータ560のCPU56は、乱数回路503が発生した乱数にもとづいて特定の表示結果とすると判定すると、遊技状態を遊技者にとって有利な特定遊技状態(例えば、大当り遊技状態)に移行させる。なお、この実施の形態では、確変とするか否かを決定するための確変決定用乱数や、特別図柄(大当り図柄)を決定する特別図柄決定用乱数など、大当り判定用以外の判定用乱数については、後述するようにソフトウェア乱数(CPU56が乱数発生用のプログラムに従って動作することによって発生される乱数)を用いる。   In this embodiment, the random number circuit 503 determines whether or not the display result of variable display of a plurality of types of identification information is a specific display result (for example, the combination of display symbols of the special symbol display device 8 is a combination of jackpot symbols) A random number for jackpot determination is generated. When the CPU 56 of the game control microcomputer 560 determines that the specific display result is based on the random number generated by the random number circuit 503, the game state is changed to a specific game state advantageous to the player (for example, a big hit game state). Transition. In this embodiment, the random numbers for determination other than the jackpot determination, such as the random number for determining the probability change for determining whether or not to change the probability, the random number for determining the special symbol for determining the special symbol (big hit symbol), etc. As described later, software random numbers (random numbers generated by the CPU 56 operating according to a random number generating program) are used.

カウンタ521は、セレクタ528によって選択された所定の信号を入力し、セレクタ528から入力する信号に応答してカウント値Cを出力する。この場合、カウンタ521は、所定の初期値を入力し、カウント値Cを一定の規則に従って初期値から所定の最終値まで循環的に更新して出力する。また、カウンタ521は、カウント値Cを最終値まで更新すると、カウント値Cを最終値まで更新した旨を示す通知信号をCPU56に出力する。この実施の形態では、カウンタ521から通知信号が出力されると、CPU56によって初期値が更新される。   The counter 521 receives a predetermined signal selected by the selector 528 and outputs a count value C in response to the signal input from the selector 528. In this case, the counter 521 inputs a predetermined initial value, and cyclically updates the count value C from the initial value to a predetermined final value according to a certain rule, and outputs it. Further, when the count value C is updated to the final value, the counter 521 outputs a notification signal indicating that the count value C has been updated to the final value to the CPU 56. In this embodiment, when a notification signal is output from the counter 521, the CPU 56 updates the initial value.

この実施の形態において、カウンタ521は、セレクタ528から信号を入力するごとに(セレクタ528からの信号における立ち上がりエッジが入力されるごとに)、カウント値Cを「0」から「4095」まで1ずつカウントアップする。また、カウンタ521は、カウント値Cを「4095」までカウントアップすると、カウント値Cを最終値まで更新した旨を示す通知信号をCPU56に出力する。すると、CPU56は、カウンタ521から通知信号を入力し、初期値を更新する。そして、カウンタ521は、CPU56によって更新された初期値から「4095」まで、再びカウント値Cをカウントアップする。また、「4095」までカウントアップすると、カウンタ521は、再び「0」からカウントを開始する。そして、カウンタ521は、更新後の初期値の1つ前の値(最終値)までカウントアップすると、通知信号をCPU56に出力する。なお、この実施の形態では、比較器522は、後述するように、全てのカウント値を入力すると通知信号をカウンタ521に出力する。この場合、カウンタ521は、比較器522から通知信号を入力すると、カウント値をリセットして「0」にする。   In this embodiment, every time a signal is input from the selector 528 (every time a rising edge in the signal from the selector 528 is input), the counter 521 increments the count value C from “0” to “4095” by one. Count up. Further, when the counter 521 counts up the count value C to “4095”, the counter 521 outputs a notification signal indicating that the count value C has been updated to the final value to the CPU 56. Then, the CPU 56 inputs a notification signal from the counter 521 and updates the initial value. Then, the counter 521 counts up the count value C again from the initial value updated by the CPU 56 to “4095”. Further, when counting up to “4095”, the counter 521 starts counting from “0” again. Then, the counter 521 outputs a notification signal to the CPU 56 when it counts up to a value (final value) immediately before the updated initial value. In this embodiment, the comparator 522 outputs a notification signal to the counter 521 when all the count values are input, as will be described later. In this case, when the notification signal is input from the comparator 522, the counter 521 resets the count value to “0”.

なお、比較器522は、入力したカウント値が乱数最大値設定レジスタ535に設定されている乱数最大値より大きいか否かを判断し、カウント値が乱数最大値より大きい(乱数最大値を超えた)と判断すると、通知信号をカウンタ521に出力してもよい。この場合、例えば、比較器522は、カウント値が乱数最大値を超えたと判断すると、クロック信号出力回路524が次に乱数発生用クロック信号SI1を出力する前に、通知信号をカウンタ521に出力する。例えば、乱数最大値設定レジスタ535に乱数最大値「256」が設定されている場合を考える。この場合、カウンタ521が「0」から「256」までカウントアップし、さらにカウント値「257」を出力すると、比較器522は、入力したカウント値「257」が乱数最大値「256」を超えたと判断し、カウンタ521に通知信号を出力する。比較器522から通知信号を入力すると、カウンタ521は、クロック信号出力回路524からの乱数発生用クロック信号SI1の入力を待つことなく、カウント値を「258」に更新し出力する。以上の処理を繰り返し実行することによって、比較器522は、カウント値「257」から「4095」まで入力している間、カウント値が乱数最大値を超えていると判断して、繰り返しカウンタ521に通知信号を出力する。そして、カウンタ521は、比較器522から通知信号を入力している間、クロック信号出力回路524からの乱数発生用クロック信号SI1の入力を待つことなく、カウント値を繰り返し更新し出力する。そのようにすることによって、クロック信号出力回路524が次に乱数発生用クロック信号SI1を出力するまでの間に、「257」から「4095」までカウント値を高速にカウントアップさせるように制御し、「257」から「4095」までの乱数値を読み飛ばす(乱数値記憶回路531に記憶させない)ように制御する。   The comparator 522 determines whether the input count value is larger than the random number maximum value set in the random number maximum value setting register 535, and the count value is larger than the random number maximum value (exceeded the random number maximum value). ), A notification signal may be output to the counter 521. In this case, for example, when the comparator 522 determines that the count value exceeds the random number maximum value, the notification signal is output to the counter 521 before the clock signal output circuit 524 next outputs the random number generation clock signal SI1. . For example, consider a case where the random number maximum value “256” is set in the random number maximum value setting register 535. In this case, when the counter 521 counts up from “0” to “256” and further outputs the count value “257”, the comparator 522 determines that the input count value “257” exceeds the random number maximum value “256”. Determine and output a notification signal to the counter 521. When the notification signal is input from the comparator 522, the counter 521 updates the count value to “258” and outputs it without waiting for the input of the random number generation clock signal SI1 from the clock signal output circuit 524. By repeatedly executing the above processing, the comparator 522 determines that the count value exceeds the random number maximum value while inputting from the count value “257” to “4095”. Output a notification signal. The counter 521 repeatedly updates and outputs the count value without waiting for the input of the random number generation clock signal SI1 from the clock signal output circuit 524 while the notification signal is input from the comparator 522. By doing so, until the clock signal output circuit 524 next outputs the random number generation clock signal SI1, the count value is controlled to be counted up from “257” to “4095” at a high speed, Control is performed so that random numbers from “257” to “4095” are skipped (not stored in the random value storage circuit 531).

カウント値順列変更回路523は、カウント値順列変更レジスタ(RSC)536、更新規則選択レジスタ(RRC)542および更新規則メモリ543を含む。カウント値順列変更レジスタ536は、カウンタ521がカウントアップするカウント値Cの更新順である順列(初期値から最終値までの並び順)を変更させるためのカウント値順列変更データ「01(H)」を格納する。なお、(H)は16進数であることを示す。カウント値順列変更回路523は、カウント値順列変更レジスタ536に数値順列変更データ「01(H)」が格納されているとき、カウンタ521がカウントアップして更新するカウント値Cの順列を、カウント値順列変更データ「01(H)」が格納されていないときとは異なる順列に変更する。この場合、カウント値順列変更回路523は、数値順列変更データ「01(H)」が格納されているとき、カウント値の順列の変更に用いる更新規則を切り換える。また、カウント値の順列の変更に用いる更新規則を切り換えた後に、カウンタ521がカウント値の更新を開始すると、カウント値順列変更レジスタ536のカウント値順列変更データは、CPU56によって、「01(H)」から初期値である「0(=00(H))」に戻される(クリアされる)。   The count value permutation change circuit 523 includes a count value permutation change register (RSC) 536, an update rule selection register (RRC) 542, and an update rule memory 543. The count value permutation change register 536 count data permutation change data “01 (H)” for changing the permutation (order of arrangement from the initial value to the final value), which is the update order of the count value C counted up by the counter 521. Is stored. Note that (H) indicates a hexadecimal number. When the numerical value permutation change data “01 (H)” is stored in the count value permutation change register 536, the count value permutation change circuit 523 counts the permutation of the count value C that the counter 521 counts up and updates. The permutation change data “01 (H)” is changed to a permutation different from that when the permutation change data “01 (H)” is not stored. In this case, the count value permutation change circuit 523 switches the update rule used to change the permutation of the count values when the numerical permutation change data “01 (H)” is stored. When the counter 521 starts updating the count value after switching the update rule used to change the count value permutation, the count value permutation change data in the count value permutation change register 536 is “01 (H)” by the CPU 56. ”To the initial value“ 0 (= 00 (H)) ”(cleared).

なお、CPU56によってカウント値順列変更データをクリアするのでなく、乱数回路503側でカウント値順列変更データをクリアするようにしてもよい。例えば、カウント値順列変更レジスタ536にカウント値順列変更データ「01(H)」が書き込まれたことにもとづいて、更新規則選択レジスタ(RRC)542にレジスタ値が設定されると、カウント値順列変更回路523は、カウント値順列変更レジスタ536のレジスタ値をクリアするようにしてもよい。   Instead of clearing the count value permutation change data by the CPU 56, the random number circuit 503 may clear the count value permutation change data. For example, when the register value is set in the update rule selection register (RRC) 542 based on the count value permutation change data “01 (H)” written in the count value permutation change register 536, the count value permutation change The circuit 523 may clear the register value of the count value permutation change register 536.

図7は、更新規則選択レジスタ542の例を示す説明図である。更新規則選択レジスタ542は、カウンタ521が出力するカウント値の並び順の並べ替え(順列の変更)に用いる更新規則を設定するレジスタである。この実施の形態では、更新規則選択レジスタ542にレジスタ値が設定されることによって、カウンタ521が出力するカウント値の順列の変更に用いる更新規則が設定される。図7に示すように、更新規則選択レジスタ542は、8ビットレジスタであり、初期値が「0(=00(H))」に設定されている。また、更新規則選択レジスタ542は、ビット0〜ビット3が書込および読出ともに可能な状態に構成されている。また、更新規則選択レジスタ542は、ビット4〜ビット7が書込および読出ともに不可能な状態に構成されている。したがって、更新規則選択レジスタ542のビット4〜ビット7に値を書き込む制御を行っても無効とされ、ビット4〜ビット7から読み出す値は全て「0(=0000(B))」である。なお、(B)は2進数であることを示す。   FIG. 7 is an explanatory diagram illustrating an example of the update rule selection register 542. The update rule selection register 542 is a register that sets an update rule used for rearranging the order of count values output from the counter 521 (changing the permutation). In this embodiment, an update rule used for changing the permutation of count values output from the counter 521 is set by setting a register value in the update rule selection register 542. As shown in FIG. 7, the update rule selection register 542 is an 8-bit register, and the initial value is set to “0 (= 00 (H))”. The update rule selection register 542 is configured in a state where bits 0 to 3 can be written and read. In addition, the update rule selection register 542 is configured in a state where bits 4 to 7 cannot be written or read. Therefore, even if control is performed to write a value to bits 4 to 7 of the update rule selection register 542, the value is invalid and all the values read from bits 4 to 7 are “0 (= 0000 (B))”. Note that (B) indicates a binary number.

更新規則選択レジスタ542の値(レジスタ値)は、カウント値順列変更レジスタ536にカウント値順列変更データ「01(H)」が書き込まれたことに応じて、レジスタ値が「0(=00(H))」から「15(=0F(H))」まで循環的に更新される。すなわち、カウント値順列変更レジスタ536にカウント値順列データ「01(H)」が書き込まれるごとに、更新規則選択レジスタ542のレジスタ値は、「0」から「1」ずつ加算され、「15」になると再び「0」に戻る。   The value (register value) of the update rule selection register 542 is set to “0 (= 00 (H) when the count value permutation change data“ 01 (H) ”is written in the count value permutation change register 536. )) ”To“ 15 (= 0F (H)) ”. That is, each time the count value permutation data “01 (H)” is written to the count value permutation change register 536, the register value of the update rule selection register 542 is incremented by “1” from “0” to “15”. Then, it returns to “0” again.

図8は、更新規則メモリ543の例を示す説明図である。図8に示すように、更新規則メモリ543は、更新規則選択レジスタ542の値(レジスタ値)と、カウント値の更新規則とを対応付けて格納している。図8に示す例では、例えば、更新規則選択レジスタ542にレジスタ値1が設定されている場合、更新規則Bを用いて、カウンタ521が出力するカウント値の順列が変更されることが分かる。なお、図8において、更新規則Aは、カウンタ521がカウント値Cを更新する規則と同一の更新規則であり、レジスタ値「0」に対応づけて更新規則メモリ543に格納される。また、更新規則メモリ543には、カウンタ521がカウント値Cを更新する更新規則とは異なる更新規則B〜Pが、レジスタ値「1」〜「15」に対応づけて格納される。   FIG. 8 is an explanatory diagram showing an example of the update rule memory 543. As shown in FIG. 8, the update rule memory 543 stores the value (register value) of the update rule selection register 542 and the count value update rule in association with each other. In the example shown in FIG. 8, for example, when the register value 1 is set in the update rule selection register 542, it can be seen that the permutation of the count values output by the counter 521 is changed using the update rule B. In FIG. 8, the update rule A is the same update rule as that for the counter 521 to update the count value C, and is stored in the update rule memory 543 in association with the register value “0”. Also, in the update rule memory 543, update rules B to P different from the update rule in which the counter 521 updates the count value C are stored in association with the register values “1” to “15”.

カウント値順列変更回路523は、カウント値順列変更レジスタ536にカウント値順列変更データ「01(H)」が書き込まれている場合、まず、カウンタ521からカウント値の最終値「4095」が最初に入力されるまで、現在設定されている更新規則に従って、そのままカウント値を出力する。そして、カウント値順列変更回路523は、カウンタ521からカウント値の最終値「4095」を入力すると、カウント値の更新規則を変更する。なお、CPU56によって初期値が変更されている場合には、カウント値順列変更回路523は、カウンタ521から変更後の最終値(初期値の1つ前の値)まで入力すると、カウント値の更新規則を変更することになる。   When the count value permutation change data “01 (H)” is written in the count value permutation change register 536, the count value permutation change circuit 523 first inputs the final count value “4095” from the counter 521 first. The count value is output as it is according to the currently set update rule. The count value permutation changing circuit 523 changes the count value update rule when the final value “4095” of the count value is input from the counter 521. When the initial value is changed by the CPU 56, the count value permutation changing circuit 523 inputs the final value after the change (the value immediately before the initial value) from the counter 521, and updates the count value. Will be changed.

カウント値順列変更回路523は、更新規則選択レジスタ542のレジスタ値に対応する更新規則を更新規則メモリ543から選択し、カウント値の順列の変更に用いる更新規則として設定する。また、カウント値順列変更回路523は、カウンタ521によって再び初期値「0」から順にカウント値の更新が開始されると、設定した更新規則に従って、カウント値の初期値から最終値までの順列を変更する。なお、CPU56によって初期値が変更されている場合には、カウント値順列変更回路523は、カウンタ521によって変更後の初期値から順にカウント値の更新が開始されると、設定した更新規則に従って、カウント値の初期値から最終値までの順列を変更することになる。そして、カウント値順列変更回路523は、変更した順列に従ってカウント値を出力する。   The count value permutation change circuit 523 selects an update rule corresponding to the register value of the update rule selection register 542 from the update rule memory 543, and sets it as an update rule used for changing the count value permutation. The count value permutation changing circuit 523 changes the permutation from the initial value of the count value to the final value according to the set update rule when the counter 521 starts updating the count value again from the initial value “0”. To do. When the initial value is changed by the CPU 56, the count value permutation changing circuit 523 starts counting in accordance with the set update rule when the counter 521 starts updating the count value in order from the changed initial value. The permutation from the initial value to the final value will be changed. Then, the count value permutation change circuit 523 outputs a count value according to the changed permutation.

なお、この実施の形態では、後述する乱数最大値設定レジスタ535に乱数最大値が設定されていることによって、発生させる乱数の最大値が制限されている場合、カウント値順列変更回路523は、カウント値Cを乱数最大値以下に制限して順列を変更して出力する。例えば、乱数最大値設定レジスタ535に乱数最大値「256」が設定されているものとし、カウント値順列変更回路523が、更新規則Aから更新規則Bに変更して、カウント値の順列を変更するものとする。この場合、カウント値順列変更回路523は、比較器522の乱数最大値設定レジスタ535に設定されている乱数最大値「256」にもとづいて、更新規則Bに従って、カウント値の順列を「256→255→・・・→0」に変更して出力する。   In this embodiment, when the maximum random number to be generated is limited by setting the maximum random number in a random number maximum value setting register 535 described later, the count value permutation changing circuit 523 counts The value C is limited to the maximum random number or less, and the permutation is changed and output. For example, it is assumed that the random number maximum value “256” is set in the random number maximum value setting register 535, and the count value permutation changing circuit 523 changes the update rule A to the update rule B to change the count value permutation. Shall. In this case, the count value permutation changing circuit 523 changes the count value permutation to “256 → 255” according to the update rule B based on the random number maximum value “256” set in the random number maximum value setting register 535 of the comparator 522. → → → 0 "and output.

以上のように、カウント値順列変更回路523は、カウント値順列変更レジスタ536にカウント値順列変更データ「01(H)」が書き込まれている場合、更新規則を切り替えて用いることによって、カウント値Cの順列を変更して出力する。そのため、乱数回路503が生成する乱数のランダム性を向上させることができる。   As described above, when the count value permutation change data “01 (H)” is written in the count value permutation change register 536, the count value permutation change circuit 523 switches the update rule to use the count value C Change the permutation of and output. Therefore, the randomness of the random number generated by the random number circuit 503 can be improved.

図9は、カウント値順列変更回路523が、カウンタ521が出力するカウント値の順列を変更する場合の例を示す説明図である。図9に示すように、CPU56は、所定のタイミングで、カウント値順列変更データ「01(H)」をカウント値順列変更レジスタ536に書き込む。すると、更新規則選択レジスタ542のレジスタ値が1加算される。例えば、更新規則選択レジスタ542のレジスタ値が「0」から「1」に更新される。レジスタ値が更新されると、カウント値順列変更回路523は、カウンタ521から最初にカウント値の最終値「4095」が入力されるまで、更新前のレジスタ値「0」に対応する「更新規則A」に従ってカウント値を更新して出力する。このとき、カウント値順列変更回路523は、更新規則Aに従って、「0→1→・・・→4095」の順列でカウント値を出力する。   FIG. 9 is an explanatory diagram illustrating an example in which the count value permutation changing circuit 523 changes the permutation of count values output from the counter 521. As shown in FIG. 9, the CPU 56 writes the count value permutation change data “01 (H)” into the count value permutation change register 536 at a predetermined timing. Then, 1 is added to the register value of the update rule selection register 542. For example, the register value of the update rule selection register 542 is updated from “0” to “1”. When the register value is updated, the count value permutation changing circuit 523 updates the “update rule A” corresponding to the register value “0” before the update until the final value “4095” of the count value is input from the counter 521 for the first time. The count value is updated according to "." At this time, the count value permutation changing circuit 523 outputs the count values in a permutation of “0 → 1 →... → 4095” according to the update rule A.

カウンタ521からカウント値の最終値「4095」が入力されると、カウント値順列変更回路523は、更新規則メモリ543から、更新後のレジスタ値「1」に対応する「更新規則B」を選択して設定する。カウント値順列変更回路523は、カウンタ521から再び初期値「0」以降のカウント値の入力を開始すると、選択設定した「更新規則B」に従って、カウント値の順列を変更して出力する。本例では、カウント値順列変更回路523は、順列を「0→1→・・・→4095」から「4095→4094→・・・→0」に変更して、カウント値を出力する。   When the final value “4095” of the count value is input from the counter 521, the count value permutation changing circuit 523 selects “update rule B” corresponding to the updated register value “1” from the update rule memory 543. To set. When the count value permutation changing circuit 523 starts to input the count values after the initial value “0” from the counter 521 again, the count value permutation changing circuit 523 changes the permutation of the count values according to the selected “update rule B” and outputs it. In this example, the count value permutation changing circuit 523 changes the permutation from “0 → 1 →... → 4095” to “4095 → 4094 →... → 0” and outputs the count value.

その後、カウント値順列変更レジスタ536は、後述するように、カウント値順列変更回路523が切り替え後の更新規則に従ってカウント値の更新動作を開始したことに応じてリセットされる。そして、次にカウント値順列変更データ「01(H)」がカウント値順列変更レジスタ536に書き込まれるまで、カウント値順列変更回路523は、「4095→4094→・・・→0」のままの順列で、カウント値を出力し続ける。   Thereafter, the count value permutation change register 536 is reset in response to the count value permutation change circuit 523 starting the count value updating operation in accordance with the updated update rule, as will be described later. Then, until the count value permutation change data “01 (H)” is written to the count value permutation change register 536, the count value permutation change circuit 523 keeps “4095 → 4094 →. The count value continues to be output.

CPU56によってカウント値順列変更データ「01(H)」がカウント値順列変更レジスタ536に再度書き込まれると、カウント値順列変更レジスタ536のレジスタ値が「1」から「2」に更新される。そして、カウンタ521からカウント値の最終値「4095」を入力すると、カウント値順列変更回路523は、更新規則メモリ543から、レジスタ値「2」に対応する「更新規則C」を選択して設定する。カウント値順列変更回路523は、カウンタ521から再び初期値「0」以降のカウント値の入力を開始すると、選択設定した「更新規則C」に従って、カウント値の順列を更新して出力する。本例では、カウント値順列変更回路523は、順列を「4095→4094→・・・→0」から「1→3→…→4095→0→・・・→4094」に変更して、カウント値を出力する。   When the count value permutation change data “01 (H)” is written again to the count value permutation change register 536 by the CPU 56, the register value of the count value permutation change register 536 is updated from “1” to “2”. When the final value “4095” of the count value is input from the counter 521, the count value permutation changing circuit 523 selects and sets “update rule C” corresponding to the register value “2” from the update rule memory 543. . When the count value permutation changing circuit 523 starts to input the count value after the initial value “0” again from the counter 521, the count value permutation changing circuit 523 updates and outputs the count value permutation in accordance with the “update rule C” selected and set. In this example, the count value permutation changing circuit 523 changes the permutation from “4095 → 4094 →... → 0” to “1 → 3 →... → 4095 → 0 →. Is output.

以上のように、カウント値順列変更レジスタ536をリセットした後、カウント値順列データ「01(H)」をカウント値順列変更レジスタ536に再度書き込むことによって、カウント値の順列をさらに変更することができる。   As described above, after the count value permutation change register 536 is reset, the count value permutation data “01 (H)” is written again in the count value permutation change register 536, so that the count value permutation can be further changed. .

図10は、カウント値順列変更レジスタ536の例を示す説明図である。カウント値順列変更レジスタ536は、カウンタ521がカウントアップするカウント値の順列を変更させるためのカウント値順列変更データ「01(H)」を設定するレジスタである。図10に示すように、カウント値順列変更レジスタ536は、読出可能な8ビットレジスタであり、初期値が「0(=00(H))」に設定されている。また、カウント値順列変更レジスタ536は、ビット0だけが書込および読出ともに可能な状態に構成されている。すなわち、カウント値順列変更レジスタ536は、ビット1〜ビット7が書込および読出ともに不可能な状態に構成されている。したがって、カウント値順列変更レジスタ536のビット1〜ビット7に値を書き込む制御を行っても無効とされ、ビット1〜ビット7から読み出す値は全て「0(=0000000(B))」である。   FIG. 10 is an explanatory diagram illustrating an example of the count value permutation change register 536. The count value permutation change register 536 is a register that sets count value permutation change data “01 (H)” for changing the permutation of count values counted up by the counter 521. As shown in FIG. 10, the count value permutation change register 536 is a readable 8-bit register, and the initial value is set to “0 (= 00 (H))”. Further, count value permutation change register 536 is configured such that only bit 0 can be written and read. That is, count value permutation change register 536 is configured such that bits 1 to 7 cannot be written or read. Therefore, even if control is performed to write a value to bits 1 to 7 of the count value permutation change register 536, the value is invalid and all the values read from bits 1 to 7 are “0 (= 0000000 (B))”.

なお、カウント値順列変更レジスタ536の値は、カウント値順列変更回路523が切り替え後の更新規則に従ってカウント値の更新動作を開始したことに応じて、CPU56によってリセットされる。この場合、CPU56は、カウント値順列変更レジスタ536に書き込まれている値を、カウント値順列変更データ「01(H)」から初期値である「0(=00(H))」に戻す。   Note that the value of the count value permutation change register 536 is reset by the CPU 56 in response to the count value permutation change circuit 523 starting a count value update operation in accordance with the updated update rule. In this case, the CPU 56 returns the value written in the count value permutation change register 536 from the count value permutation change data “01 (H)” to the initial value “0 (= 00 (H))”.

比較器522は、ランダムR(乱数回路503が発生する乱数)の最大値(乱数最大値)を指定するための乱数最大値設定データを格納する乱数最大値設定レジスタ(RMX)535を備える。比較器522は、乱数最大値設定レジスタ535に格納されている乱数最大値設定データに示される乱数最大値に従って、カウンタ521が更新するカウント値の更新範囲を制限する。この実施の形態では、比較器522は、カウンタ521から入力するカウント値と乱数最大値設定レジスタ535に格納されている乱数最大値設定データ(例えば「00FF(H)」)に示される乱数最大値(例えば「256」)とを比較する。そして、比較器522は、入力したカウント値が乱数最大値以下であると判断すると、入力したカウント値を乱数値記憶回路531に出力する。   The comparator 522 includes a random number maximum value setting register (RMX) 535 that stores random number maximum value setting data for designating a maximum value (random number maximum value) of a random R (random number generated by the random number circuit 503). The comparator 522 limits the update range of the count value updated by the counter 521 according to the random number maximum value indicated in the random number maximum value setting data stored in the random number maximum value setting register 535. In this embodiment, the comparator 522 has the random number maximum value indicated by the count value input from the counter 521 and the random number maximum value setting data (for example, “00FF (H)”) stored in the random number maximum value setting register 535. (For example, “256”). When the comparator 522 determines that the input count value is equal to or less than the random number maximum value, the comparator 522 outputs the input count value to the random value storage circuit 531.

この実施の形態では、比較器522は、具体的には、以下のような制御を行う。比較器522は、カウント値の初期値更新の際に、CPU56からカウント値の初期値をもらい、初期値から乱数最大値までのカウント値の個数を求める。例えば、カウント値の初期値が「157」であり乱数最大値が「256」である場合、比較器522は、初期値から乱数最大値までのカウント値の個数を「100個」と求める。また、比較器522は、カウント値順列変更回路523からカウント値を入力するに従って、初期値からカウント値をいくつ入力したかをカウントアップする。初期値からカウント値を入力した回数が「100回」に達すると、比較器522は、初期値「157」から最大値「256」までの全てのカウント値を入力したと判断する。そして、比較器522は、全てのカウント値を入力した旨の通知信号をカウンタ521に出力する。カウント値の個数で判断することによって、カウント値順列変更回路523によってカウント値の順列が変更されている場合であっても、比較器522は、カウント値の更新範囲を乱数最大値以下に制限し、全てのカウント値を入力した際にカウンタ521に通知信号を出力することができる。   In this embodiment, the comparator 522 specifically performs the following control. The comparator 522 obtains the initial value of the count value from the CPU 56 when updating the initial value of the count value, and obtains the number of count values from the initial value to the maximum random number. For example, when the initial value of the count value is “157” and the maximum random number value is “256”, the comparator 522 calculates the number of count values from the initial value to the maximum random number value as “100”. Further, the comparator 522 counts up how many count values are input from the initial value as the count values are input from the count value permutation changing circuit 523. When the number of input count values from the initial value reaches “100”, the comparator 522 determines that all count values from the initial value “157” to the maximum value “256” have been input. Then, the comparator 522 outputs a notification signal indicating that all count values have been input to the counter 521. By determining based on the number of count values, even when the count value permutation circuit 523 has changed the count value permutation, the comparator 522 limits the update range of the count value to the maximum random number or less. When all count values are input, a notification signal can be output to the counter 521.

カウント値の更新範囲を比較器522が制限する動作について説明する。なお、本例では、カウント値順列変更回路523が更新規則Aを選択し、乱数最大値設定レジスタ535に乱数最大値「256」が設定されている場合を説明する。   An operation in which the comparator 522 limits the update range of the count value will be described. In this example, a case where the count value permutation changing circuit 523 selects the update rule A and the random number maximum value “256” is set in the random number maximum value setting register 535 will be described.

カウンタ521が「0」から「256」までカウント値を更新している間、カウント値順列変更回路523は、乱数最大値設定レジスタ535に設定されている乱数最大値「256」にもとづいて、更新規則Aに従って、「0」から「256」までのカウント値をそのまま比較器522に出力する。この場合、カウント値順列変更回路523は、比較器522から乱数最大値「256」の値をもらい、カウンタ521から入力するカウント値が乱数最大値より大きいか否かを判断し、更新規則が変更されているとき(例えば、更新規則B)であっても、乱数最大値設定レジスタ535に設定されている乱数最大値「256」にもとづいて、「257」から「4095」までのカウント値を比較器522に出力しない。カウンタ521は、例えば、初期値が「0」と設定されているときに、最終値「256」までカウント値を更新すると、通知信号をCPU56に出力する。通知信号を出力すると、CPU56によって、カウンタ521のカウント値の初期値が変更される。本例では、CPU56によって、初期値が「50」に変更されるものとする。   While the counter 521 is updating the count value from “0” to “256”, the count value permutation changing circuit 523 updates based on the random number maximum value “256” set in the random number maximum value setting register 535. In accordance with rule A, the count values from “0” to “256” are output to the comparator 522 as they are. In this case, the count value permutation changing circuit 523 receives the value of the random number maximum value “256” from the comparator 522, determines whether the count value input from the counter 521 is larger than the random number maximum value, and the update rule is changed. Even when it is set (for example, update rule B), the count values from “257” to “4095” are compared based on the random number maximum value “256” set in the random number maximum value setting register 535. The data is not output to the device 522. For example, when the initial value is set to “0” and the count value is updated to the final value “256”, the counter 521 outputs a notification signal to the CPU 56. When the notification signal is output, the CPU 56 changes the initial value of the count value of the counter 521. In this example, it is assumed that the initial value is changed to “50” by the CPU 56.

なお、カウント値が乱数最大値「256」より大きいか否かをカウント値順列変更回路523が判断するのでなく、比較器522が判定するようにしてもよい。この場合、例えば、比較器522は、カウント値が乱数最大値設定レジスタ535に設定されている乱数最大値より大きいか否かを判断し、カウント値が乱数最大値より大きいと判断すると、通知信号をカウンタ521に出力する。そして、比較器522は、カウント値が乱数最大値を超えたと判断すると、クロック信号出力回路524が次に乱数発生用クロック信号SI1を出力する前に、通知信号をカウンタ521に出力する。そのようにすることによって、比較器522は、クロック信号出力回路524が次に乱数発生用クロック信号SI1を出力するまでの間に、「257」から「4095」までカウント値を高速にカウントアップさせるようにカウンタ521を制御する。そのようにすることによって、カウント値順列変更回路523からの値が「257」未満のときだけカウント値を乱数値記憶回路531に出力するようにし、カウント値順列変更回路523からの値が「257」以上のときにはカウント値を高速で更新させるようにすることができる。   Note that the comparator 522 may determine whether the count value is greater than the random number maximum value “256”, instead of the count value permutation changing circuit 523. In this case, for example, the comparator 522 determines whether or not the count value is greater than the random number maximum value set in the random number maximum value setting register 535, and determines that the count value is greater than the random number maximum value. Is output to the counter 521. When the comparator 522 determines that the count value exceeds the random number maximum value, the comparator 522 outputs a notification signal to the counter 521 before the clock signal output circuit 524 next outputs the random number generation clock signal SI1. By doing so, the comparator 522 counts up the count value from “257” to “4095” at high speed until the clock signal output circuit 524 next outputs the random number generation clock signal SI1. Thus, the counter 521 is controlled. By doing so, the count value is output to the random value storage circuit 531 only when the value from the count value permutation changing circuit 523 is less than “257”, and the value from the count value permutation changing circuit 523 is “257”. When it is above, the count value can be updated at high speed.

更新規則Aにもとづいて、カウント値順列変更回路523から、「0」から「255」までカウント値を入力している間、比較器522は、入力するカウント値が乱数最大値「256」以下であるので、入力したカウント値をそのまま乱数値記憶回路531に出力する。次に、カウント値順列変更回路523から入力するカウント値が「256」に達すると、比較器522は、入力したカウント値を乱数値記憶回路531に出力するとともに、初期値から最大値までの全てのカウント値を入力した旨の通知信号をカウンタ521に出力する。具体的には、比較器522は、カウント値の初期値変更の際に、CPU56からカウント値の初期値(本例では、「0」)をもらい、初期値「0」から乱数最大値(本例では、「256」)までのカウント値の個数(本例では、「257個」)を求める。そして、カウント値順列変更回路523から入力したカウント値の個数が257個に達すると、全てのカウント値を入力した旨の通知信号をカウンタ521に出力する。なお、本例では、CPU56によって初期値が「50」に変更されるので、カウンタ521は、比較器522から通知信号を入力しても、カウント値をリセットするとなく、変更後の初期値「50」からカウント値の更新を行う。   Based on the update rule A, while the count value is input from “0” to “255” from the count value permutation changing circuit 523, the comparator 522 inputs the count value below the maximum random number “256”. Therefore, the input count value is output to the random value storage circuit 531 as it is. Next, when the count value input from the count value permutation changing circuit 523 reaches “256”, the comparator 522 outputs the input count value to the random value storage circuit 531 and all the values from the initial value to the maximum value. A notification signal indicating that the count value is input is output to the counter 521. Specifically, the comparator 522 receives an initial value (“0” in this example) of the count value from the CPU 56 when changing the initial value of the count value, and the random number maximum value (the main value) from the initial value “0”. In the example, the number of count values up to “256” (in this example, “257”) is obtained. When the number of count values input from the count value permutation changing circuit 523 reaches 257, a notification signal indicating that all count values have been input is output to the counter 521. In this example, since the CPU 56 changes the initial value to “50”, the counter 521 does not reset the count value even when the notification signal is input from the comparator 522, and the changed initial value “50”. The count value is updated.

カウンタ521が変更後の初期値「50」から「256」までカウント値を更新している間、カウント値順列変更回路523は、乱数最大値設定レジスタ535に設定されている乱数最大値「256」にもとづいて、更新規則Aに従って、「50」から「256」までのカウント値をそのまま比較器522に出力する。また、カウント値順列変更回路523は、乱数最大値設定レジスタ535に設定されている乱数最大値「256」にもとづいて、「257」から「4095」までのカウント値を比較器522に出力せず、カウンタ521の更新するカウント値が1周したとき(257回更新したとき)に、カウント値順列変更レジスタ536にカウント値順列変更データが書き込まれた場合には、カウント値順列変更回路523は、カウント値の順列を変更して出力する。例えば、更新規則が更新規則Bに変更された場合、カウント値順列変更回路523は、カウント値の順列を「256→255→・・・→50」に変更して出力する。   While the counter 521 updates the count value from the changed initial value “50” to “256”, the count value permutation changing circuit 523 sets the random number maximum value “256” set in the random number maximum value setting register 535. Based on the update rule A, the count values from “50” to “256” are output to the comparator 522 as they are. Further, the count value permutation changing circuit 523 does not output the count values from “257” to “4095” to the comparator 522 based on the random number maximum value “256” set in the random number maximum value setting register 535. When the count value to be updated by the counter 521 makes one round (when updated 257 times), when the count value permutation change data is written in the count value permutation change register 536, the count value permutation change circuit 523 Change the permutation of count values and output. For example, when the update rule is changed to the update rule B, the count value permutation changing circuit 523 changes the count value permutation from “256 → 255 →... → 50” and outputs the result.

カウント値順列変更回路523から、「256」から「50」までカウント値を入力している間、比較器522は、入力したカウント値をそのまま乱数値記憶回路531に出力する。次に、カウント値順列変更回路523から入力するカウント値が「50」に達すると、比較器522は、入力したカウント値を乱数値記憶回路531に出力するとともに、初期値から最大値までの全てのカウント値を入力した旨の通知信号をカウンタ521に出力する。具体的には、比較器522は、カウント値の初期値変更の際に、CPU56からカウント値の初期値(本例では、「50」)をもらい、初期値「50」から乱数最大値(本例では、「256」)までのカウント値の個数(本例では、「207個」)を求める。そして、カウント値順列変更回路523から入力したカウント値の個数が207個に達すると、全てのカウント値を入力した旨の通知信号をカウンタ521に出力する。   While the count values from “256” to “50” are input from the count value permutation changing circuit 523, the comparator 522 outputs the input count value as it is to the random value storage circuit 531. Next, when the count value input from the count value permutation change circuit 523 reaches “50”, the comparator 522 outputs the input count value to the random value storage circuit 531 and all the values from the initial value to the maximum value. A notification signal indicating that the count value is input is output to the counter 521. Specifically, the comparator 522 receives the initial count value (“50” in this example) from the CPU 56 when the initial count value is changed, and the random number maximum value (this In the example, the number of count values up to “256” (in this example, “207”) is obtained. When the number of count values input from count value permutation changing circuit 523 reaches 207, a notification signal indicating that all count values have been input is output to counter 521.

なお、カウント値順列変更回路523がカウント値の順列を変更した場合であっても、比較器522は、カウント値の個数が207個に達すると、通知信号をカウンタ521に出力する。そのようにすることによって、カウント値の順列が変更された場合であっても、初期値「50」から最大値「256」までの全てのカウント値を入力したことにもとづいて、通知信号をカウンタ521に出力できる。   Even when the count value permutation changing circuit 523 changes the count value permutation, the comparator 522 outputs a notification signal to the counter 521 when the number of count values reaches 207. By doing so, even if the permutation of the count values is changed, the notification signal is counted based on the input of all the count values from the initial value “50” to the maximum value “256”. 521 can be output.

比較器522から通知信号を入力すると、カウンタ521は、カウント値の初期値をリセットし「0」に戻す。そして、カウンタ521は、「0」からカウント値の更新を行う。カウンタ521の値が「0」から再び更新がされると、カウンタ521からのカウント値にもとづいて、カウント値順列変更回路523は「49」〜「0」までのカウント値を比較器522に出力し、比較器522はカウント値順列変更回路523からのカウント値の入力にもとづいて乱数値記憶回路531にカウント値を出力する。そして、カウンタ521は、最終値(本例では、「49」)までカウント値を更新すると、通知信号をCPU56に出力する。通知信号を出力すると、CPU56によって、カウンタ521のカウント値の初期値が再び変更される。   When the notification signal is input from the comparator 522, the counter 521 resets the initial value of the count value and returns it to “0”. Then, the counter 521 updates the count value from “0”. When the value of the counter 521 is updated again from “0”, the count value permutation changing circuit 523 outputs the count values from “49” to “0” to the comparator 522 based on the count value from the counter 521. The comparator 522 outputs the count value to the random value storage circuit 531 based on the count value input from the count value permutation changing circuit 523. When the counter 521 updates the count value to the final value (“49” in this example), the counter 521 outputs a notification signal to the CPU 56. When the notification signal is output, the initial value of the count value of the counter 521 is changed again by the CPU 56.

以上のような動作を繰り返すことにより、比較器522は、カウンタ521に、「0」から乱数最大値「256」まで連続的にカウント値をカウントアップさせ、「0」から「256」までの値を乱数値記憶回路531にランダムR(乱数値)として記憶させる。すなわち、比較器522は、カウント値の更新範囲を乱数最大値「256」以下に制限して、カウンタ521にカウント値を更新させる。   By repeating the operation as described above, the comparator 522 causes the counter 521 to continuously count up the count value from “0” to the random number maximum value “256”, and the value from “0” to “256”. Is stored in the random value storage circuit 531 as a random R (random number value). In other words, the comparator 522 limits the update range of the count value to the random number maximum value “256” or less, and causes the counter 521 to update the count value.

図11は、乱数最大値設定レジスタ535の例を示す説明図である。図11(a)は、12ビット乱数回路503aが搭載する乱数最大値設定レジスタ535の例を示す。また、図11(b)は、16ビット乱数回路503bが搭載する乱数最大値設定レジスタ535の例を示す。まず、12ビット乱数回路503aが搭載する乱数最大値設定レジスタ535について説明する。図11(a)に示すように、12ビット乱数回路503aにおいて、乱数最大値設定レジスタ535は、16ビットレジスタであり、初期値が「4095(=0FFF(H))」に設定されている。乱数最大値設定レジスタ535は、ビット0〜ビット11が書込および読出ともに可能な状態に構成されている。また、乱数最大値設定レジスタ535は、ビット12〜ビット15が書込および読出ともに不可能な状態に構成されている。したがって、12ビット乱数回路503aにおいて、乱数最大値設定レジスタ535のビット12〜ビット15に値を書き込む制御を行っても無効とされ、ビット12〜ビット15から読み出す値は全て「0(=0000(B))」である。   FIG. 11 is an explanatory diagram showing an example of the random number maximum value setting register 535. FIG. 11A shows an example of the random number maximum value setting register 535 installed in the 12-bit random number circuit 503a. FIG. 11B shows an example of the random number maximum value setting register 535 installed in the 16-bit random number circuit 503b. First, the random number maximum value setting register 535 mounted in the 12-bit random number circuit 503a will be described. As shown in FIG. 11A, in the 12-bit random number circuit 503a, the random number maximum value setting register 535 is a 16-bit register, and the initial value is set to “4095 (= 0FFF (H))”. The random number maximum value setting register 535 is configured so that bits 0 to 11 can be written and read. The random number maximum value setting register 535 is configured such that bits 12 to 15 cannot be written or read. Therefore, in the 12-bit random number circuit 503a, even if control is performed to write values to bits 12 to 15 of the random number maximum value setting register 535, the values read from bits 12 to 15 are all “0 (= 0000 ( B)) ”.

また、乱数最大値設定レジスタ535に設定される乱数最大値は、所定の下限値が定められている。この実施の形態では、乱数最大値設定レジスタ535に下限値「256」より小さい値を指定する乱数最大値設定データ「0000(H)」〜「00FE(H)」が書き込まれた場合、CPU56は、乱数最大値設定レジスタ535に、初期値「4095」を指定する乱数最大値設定データ「0FFF(H)」を設定しなおす。すなわち、乱数最大値設定レジスタ535に設定可能な乱数最大値は「256」から「4095」までであり、CPU56は、下限値「256」より小さい値が設定されていると判断すると、乱数最大値を所定値「4095」に設定しなおす。なお、CPU56は、リセットコントローラ502によって遊技制御用マイクロコンピュータ560がシステムリセットされるまで、乱数最大値設定データが書き込まれた乱数最大値設定レジスタ535を書込不可能に制御する。なお、CPU56により書込不可能に制御するのでなく、乱数最大値設定レジスタ535は、データが書き込まれた後にリセット信号を入力するまで書込不可能となるように形成されていてもよい。   The random number maximum value set in the random number maximum value setting register 535 has a predetermined lower limit value. In this embodiment, when random number maximum value setting data “0000 (H)” to “00FE (H)” for designating a value smaller than the lower limit value “256” is written in the random number maximum value setting register 535, the CPU 56 Then, the random number maximum value setting data “0FFF (H)” for designating the initial value “4095” is reset in the random number maximum value setting register 535. That is, the random number maximum value that can be set in the random number maximum value setting register 535 is from “256” to “4095”, and when the CPU 56 determines that a value smaller than the lower limit value “256” is set, the random number maximum value Is reset to a predetermined value “4095”. The CPU 56 controls the random number maximum value setting register 535 in which the random number maximum value setting data is written to be unwritable until the game control microcomputer 560 is system-reset by the reset controller 502. Instead of controlling the CPU 56 to disable writing, the random number maximum value setting register 535 may be formed so that writing is not possible until a reset signal is input after data is written.

次に、16ビット乱数回路503bが搭載する乱数最大値設定レジスタ535について説明する。図11(b)に示すように、16ビット乱数回路503bにおいて、乱数最大値設定レジスタ535は、16ビットレジスタであり、初期値が「65535(=FFFF(H))」に設定されている。また、16ビット乱数回路503bにおいて、乱数最大値設定レジスタ535は、ビット0〜ビット15の全てのビットが書込および読出ともに可能な状態に構成されている。   Next, the random number maximum value setting register 535 mounted in the 16-bit random number circuit 503b will be described. As shown in FIG. 11B, in the 16-bit random number circuit 503b, the random number maximum value setting register 535 is a 16-bit register, and the initial value is set to “65535 (= FFFF (H))”. Further, in the 16-bit random number circuit 503b, the random number maximum value setting register 535 is configured in a state in which all of the bits 0 to 15 can be written and read.

また、乱数最大値設定レジスタ535に下限値「512」より小さい値を指定する乱数最大値設定データ「0000(H)」〜「00FE(H)」が書き込まれた場合、CPU56は、乱数最大値設定レジスタ535に、初期値「65535」を指定する乱数最大値設定データ「FFFF(H)」を設定しなおす。すなわち、乱数最大値設定レジスタ535に設定可能な乱数最大値は「512」から「65535」までであり、CPU56は、下限値「512」より小さい値が設定されていると判断すると、乱数最大値を所定値「65535」に設定しなおす。なお、CPU56は、リセットコントローラ502によって遊技制御用マイクロコンピュータ560がシステムリセットされるまで、乱数最大値設定データが書き込まれた乱数最大値設定レジスタ535を書込不可能に制御する。   When random number maximum value setting data “0000 (H)” to “00FE (H)” for designating a value smaller than the lower limit value “512” is written in the random number maximum value setting register 535, the CPU 56 determines the random number maximum value. The random number maximum value setting data “FFFF (H)” for specifying the initial value “65535” is reset in the setting register 535. That is, the random number maximum value that can be set in the random number maximum value setting register 535 is from “512” to “65535”, and when the CPU 56 determines that a value smaller than the lower limit value “512” is set, the random number maximum value Is reset to a predetermined value “65535”. The CPU 56 controls the random number maximum value setting register 535 in which the random number maximum value setting data is written to be unwritable until the game control microcomputer 560 is system-reset by the reset controller 502.

クロック信号出力回路524は、セレクタ528および反転回路532に出力するクロック信号の周期(すなわち、カウント値の更新周期)を指定するための周期設定データを格納する周期設定レジスタ(RPS)537を備える。クロック信号出力回路524は、周期設定レジスタ537に格納されている周期設定データに基づいて、遊技制御用マイクロコンピュータ560が搭載するクロック回路501から入力する基準クロック信号CLKを分周して、乱数回路503内部で乱数値の生成に用いるクロック信号(乱数発生用クロック信号SI1)を生成する。そのようにすることによって、クロック信号出力回路524は、クロック信号を所定回数入力したことを条件に、カウント値Cを更新させるための乱数発生用クロック信号SI1をカウンタ521に出力するように動作する。なお、周期設定データとは、クロック回路501から入力した基準クロック信号CLKを何分周させるかを設定するためのデータである。また、クロック出力回路524は、生成した乱数発生用クロック信号SI1をセレクタ528および反転回路532に出力する。例えば、周期設定レジスタ537に周期設定データ「0F(H)(=16)」が書き込まれている場合、クロック信号出力回路524は、クロック回路501から入力する基準クロック信号CLKを16分周して乱数発生用クロック信号SI1を生成する。この場合、クロック信号出力回路524が生成する乱数発生用クロック信号SI1の周期は、「システムクロック信号の周期×128×16」となる。   The clock signal output circuit 524 includes a cycle setting register (RPS) 537 for storing cycle setting data for designating the cycle of the clock signal output to the selector 528 and the inverting circuit 532 (that is, the count value update cycle). The clock signal output circuit 524 divides the reference clock signal CLK input from the clock circuit 501 mounted on the game control microcomputer 560 based on the cycle setting data stored in the cycle setting register 537, and generates a random number circuit. A clock signal (random number generating clock signal SI1) used to generate a random number value is generated inside 503. By doing so, the clock signal output circuit 524 operates to output the random number generation clock signal SI1 for updating the count value C to the counter 521 on condition that the clock signal has been input a predetermined number of times. . The period setting data is data for setting how many times the reference clock signal CLK input from the clock circuit 501 is to be divided. The clock output circuit 524 outputs the generated random number generating clock signal SI1 to the selector 528 and the inverting circuit 532. For example, when the cycle setting data “0F (H) (= 16)” is written in the cycle setting register 537, the clock signal output circuit 524 divides the reference clock signal CLK input from the clock circuit 501 by 16. A random number generating clock signal SI1 is generated. In this case, the cycle of the random number generating clock signal SI1 generated by the clock signal output circuit 524 is “cycle of system clock signal × 128 × 16”.

図12は、周期設定レジスタ537の例を示す説明図である。図12に示すように、周期設定レジスタ537は、8ビットレジスタであり、初期値が「256(=FF(H))」に設定されている。また、周期設定レジスタ537は、書込および読出ともに可能な状態に構成されている。   FIG. 12 is an explanatory diagram showing an example of the cycle setting register 537. As shown in FIG. 12, the period setting register 537 is an 8-bit register, and the initial value is set to “256 (= FF (H))”. The cycle setting register 537 is configured in a state where both writing and reading are possible.

また、周期設定レジスタ537に設定される周期設定データの値は、所定の下限値が定められている。この実施の形態では、周期設定レジスタ537に下限値「システムクロック信号の周期×128×7」より小さい値を指定する周期設定データ「00(H)〜06(H)」が書き込まれた場合、CPU56は、周期設定レジスタ537に下限値「システムクロック信号の周期×128×7」を指定する周期設定データ「07(H)」を設定しなおす。すなわち、周期設定レジスタ537に設定可能な周期は「システムクロック信号の周期×128×7」から「システムクロック信号の周期×128×256」までであり、CPU56は、下限値より小さい値が設定されていると判断すると、周期設定データを設定しなおす。なお、CPU56は、リセットコントローラ502によって遊技制御用マイクロコンピュータ560がシステムリセットされるまで、周期設定データが書き込まれた周期設定レジスタ537を書込不可能に制御する。なお、CPU56により書込不可能に制御するのでなく、周期設定レジスタ537は、データが書き込まれた後にリセット信号を入力するまで書込不可能となるように形成されていてもよい。   In addition, a predetermined lower limit value is determined for the value of the cycle setting data set in the cycle setting register 537. In this embodiment, when period setting data “00 (H) to 06 (H)” specifying a value smaller than the lower limit value “system clock signal period × 128 × 7” is written in the period setting register 537, The CPU 56 resets the period setting data “07 (H)” for designating the lower limit value “system clock signal period × 128 × 7” in the period setting register 537. That is, the period that can be set in the period setting register 537 is “system clock signal period × 128 × 7” to “system clock signal period × 128 × 256”, and the CPU 56 is set to a value smaller than the lower limit value. If it is determined that the cycle setting data is correct, the cycle setting data is reset. The CPU 56 controls the period setting register 537 in which the period setting data is written to be unwritable until the game control microcomputer 560 is system-reset by the reset controller 502. Instead of controlling the CPU 56 to disable writing, the period setting register 537 may be formed so that writing is not possible until a reset signal is input after data is written.

なお、周期設定レジスタ537に下限値としての周期設定データを設定することなく、設定された周期設定データに基づいて、例えばクロック信号出力回路524が基準クロック信号CLKをそのままカウンタ521および反転回路532に出力するようにしてもよい。この場合、CPU56は、周期設定レジスタ537に設定される周期設定データの値を下限値と比較して設定しなおす処理を行う必要がなくなる。また、カウンタ521は、クロック信号出力回路524から基準クロック信号CLKを入力する毎にカウント値Cを更新することになる。   Note that, without setting the cycle setting data as the lower limit value in the cycle setting register 537, the clock signal output circuit 524, for example, directly supplies the reference clock signal CLK to the counter 521 and the inverting circuit 532 based on the set cycle setting data. You may make it output. In this case, the CPU 56 does not need to perform processing for setting the value of the cycle setting data set in the cycle setting register 537 by comparing it with the lower limit value. The counter 521 updates the count value C every time the reference clock signal CLK is input from the clock signal output circuit 524.

カウント値更新信号出力回路525は、カウント値更新データ「01(H)」を格納するカウント値更新レジスタ(RGN)538を備える。カウント値更新データとは、カウント値の更新を要求するためのデータである。カウント値更新信号出力回路525は、カウント値更新レジスタ538にカウント値更新データ「01(H)」が書き込まれたことに応じて、カウント値更新信号SI3をセレクタ528に出力する。   The count value update signal output circuit 525 includes a count value update register (RGN) 538 that stores count value update data “01 (H)”. The count value update data is data for requesting update of the count value. Count value update signal output circuit 525 outputs count value update signal SI 3 to selector 528 in response to count value update data “01 (H)” being written to count value update register 538.

図13は、カウント値更新レジスタ538の例を示す説明図である。図13に示すように、カウント値更新レジスタ538は、読出不能な8ビットレジスタであり、ビット0のみが書込可能な状態に構成されている。したがって、カウント値更新レジスタ538のビット1〜ビット7に値を書き込む制御を行っても無効とされる。   FIG. 13 is an explanatory diagram illustrating an example of the count value update register 538. As shown in FIG. 13, the count value update register 538 is an unreadable 8-bit register and is configured so that only bit 0 can be written. Therefore, even if control is performed to write a value to bits 1 to 7 of the count value update register 538, it is invalidated.

乱数値読取信号出力回路526は、乱数値取込データ「01(H)」を格納する乱数値取込レジスタ(RLT)539を備える。乱数値取込データとは、乱数値記憶回路531へのカウント値の取込を要求するためのデータである。乱数値読取信号出力回路526は、乱数値取込レジスタ539に乱数値取込データ「01(H)」が書き込まれたことに応じて、乱数値の読み取りを要求するための乱数値読取信号をラッチ信号生成回路533に出力する。   The random value read signal output circuit 526 includes a random value take-in register (RLT) 539 for storing random value take-in data “01 (H)”. The random value acquisition data is data for requesting acquisition of the count value to the random value storage circuit 531. The random value read signal output circuit 526 outputs a random value read signal for requesting reading of the random value in response to the random value fetch data “01 (H)” being written in the random value fetch register 539. The data is output to the latch signal generation circuit 533.

図14は、乱数値取込レジスタ539の例を示す説明図である。図14に示すように、乱数値取込レジスタ539は、読出不能な8ビットレジスタである。また、乱数値取込レジスタ539は、ビット0だけが書込可能な状態に構成されている。すなわち、乱数値取込レジスタ539のビット1〜ビット7に値を書き込む制御を行っても無効とされる。   FIG. 14 is an explanatory diagram showing an example of the random value fetch register 539. As shown in FIG. 14, the random value fetch register 539 is an unreadable 8-bit register. The random value fetch register 539 is configured so that only bit 0 can be written. In other words, even if control is performed to write a value to bits 1 to 7 of the random value fetch register 539, it is invalidated.

乱数更新方式選択信号出力回路527は、乱数更新方式選択データを格納する乱数更新方式選択レジスタ(RTS)540を備える。乱数更新方式選択データとは、ランダムRの値を更新する方式である各乱数更新方式のうち、いずれかの乱数更新方式を指定するためのデータである。乱数更新方式選択信号出力回路527は、乱数更新方式選択レジスタ540に乱数更新方式選択データが書き込まれたことに応じて、書き込まれた乱数更新方式選択データにより指定される乱数更新方式に対応する乱数更新方式選択信号を、セレクタ528およびラッチ信号生成回路533に出力する。   The random number update method selection signal output circuit 527 includes a random number update method selection register (RTS) 540 that stores random number update method selection data. The random number update method selection data is data for designating one of the random number update methods that is a method for updating the value of the random R. The random number update method selection signal output circuit 527 responds to the random number update method selection data written in the random number update method selection register 540 with a random number corresponding to the random number update method specified by the written random number update method selection data. The update method selection signal is output to the selector 528 and the latch signal generation circuit 533.

図15(A)は、乱数更新方式選択レジスタ540の例を示す説明図である。図15(A)に示すように、乱数更新方式選択レジスタ540は、8ビットレジスタであり、初期値が「00(H)」に設定されている。また、乱数更新方式選択レジスタ540は、ビット0〜ビット1が書込および読出ともに可能な状態に構成されている。また、乱数更新方式選択レジスタ540は、ビット2〜ビット7が書込および読出ともに不可能な状態に構成されている。したがって、乱数更新方式選択レジスタ540のビット2〜ビット7に値を書き込む制御を行っても無効とされ、ビット2〜ビット7から読み出す値は全て「0(=000000(B))」である。   FIG. 15A is an explanatory diagram illustrating an example of the random number update method selection register 540. As shown in FIG. 15A, the random number update method selection register 540 is an 8-bit register, and the initial value is set to “00 (H)”. The random number update method selection register 540 is configured in a state where bits 0 to 1 can be written and read. The random number update method selection register 540 is configured in a state where bits 2 to 7 cannot be written or read. Therefore, even if control is performed to write a value to bits 2 to 7 of the random number update method selection register 540, it is invalid, and all the values read from bits 2 to 7 are “0 (= 000000 (B))”.

図15(B)は、乱数更新方式選択レジスタ540に書き込まれる乱数更新方式選択データの一例の説明図である。図15(B)に示すように、乱数更新方式選択データは、2ビットのデータから構成される。乱数更新方式選択データ「01(B)」は、第1の乱数更新方式を指定するために用いられる。また、乱数更新方式選択データ「10(B)」は、第2の乱数更新方式を指定するために用いられる。なお、この実施の形態では、第1の乱数更新方式とは、カウント値更新信号出力回路525からカウント値更新信号SI3が出力されたことをトリガとして、カウント値を更新する方式である。また、第2の乱数更新方式とは、クロック信号出力回路524から乱数発生用クロック信号SI1が出力されたことをトリガとして、カウント値を更新する方式である。また、乱数更新方式選択データ「01(B)」または「10(B)」が乱数更新方式選択レジスタ540に書き込まれた場合、乱数回路503は起動可能な状態となる。一方、乱数更新方式選択データ「00(B)」または「11(B)」が乱数更新方式選択レジスタ540に書き込まれた場合、乱数回路503は起動不能な状態となる。   FIG. 15B is an explanatory diagram of an example of random number update method selection data written to the random number update method selection register 540. As shown in FIG. 15B, the random number update method selection data is composed of 2-bit data. The random number update method selection data “01 (B)” is used for designating the first random number update method. Further, the random number update method selection data “10 (B)” is used for designating the second random number update method. In this embodiment, the first random number update method is a method of updating the count value triggered by the output of the count value update signal SI3 from the count value update signal output circuit 525. The second random number update method is a method of updating the count value triggered by the output of the random number generation clock signal SI1 from the clock signal output circuit 524. Further, when the random number update method selection data “01 (B)” or “10 (B)” is written in the random number update method selection register 540, the random number circuit 503 is ready to be activated. On the other hand, when the random number update method selection data “00 (B)” or “11 (B)” is written in the random number update method selection register 540, the random number circuit 503 becomes inactivated.

セレクタ528は、カウント値更新信号出力回路525から出力されるカウント値更新信号SI3、またはクロック信号出力回路524から出力される乱数発生用クロック信号SI1のいずれかを選択してカウンタ521に出力する。セレクタ528は、乱数更新方式選択信号出力回路527から第1の乱数更新方式に対応する乱数更新方式選択信号(第1の乱数更新方式選択信号ともいう)が入力されると、カウント値更新信号出力回路525から出力されるカウント値更新信号SI3を選択してカウンタ521に出力する。一方、セレクタ528は、乱数更新方式選択信号出力回路527から第2の乱数更新方式に対応する乱数更新方式選択信号(第2の乱数更新方式選択信号ともいう)が入力されると、クロック信号出力回路524から出力される乱数発生用クロック信号SI1を選択してカウンタ521に出力する。なお、セレクタ528は、乱数更新方式選択信号出力回路527から第1の更新方式選択信号が入力されると、カウント値更新信号出力回路525から出力されるカウント値更新信号SI3に応じて、クロック信号出力回路524から出力される乱数発生用クロック信号SI1に同期した数値データの更新を指示する数値更新指示信号を、カウンタ521に出力してもよい。   The selector 528 selects either the count value update signal SI 3 output from the count value update signal output circuit 525 or the random number generation clock signal SI 1 output from the clock signal output circuit 524 and outputs the selected signal to the counter 521. When a random number update method selection signal (also referred to as a first random number update method selection signal) corresponding to the first random number update method is input from the random number update method selection signal output circuit 527, the selector 528 outputs a count value update signal. The count value update signal SI3 output from the circuit 525 is selected and output to the counter 521. On the other hand, when a random number update method selection signal (also referred to as a second random number update method selection signal) corresponding to the second random number update method is input from the random number update method selection signal output circuit 527, the selector 528 outputs a clock signal. The random number generation clock signal SI 1 output from the circuit 524 is selected and output to the counter 521. When the first update method selection signal is input from the random number update method selection signal output circuit 527, the selector 528 receives a clock signal according to the count value update signal SI3 output from the count value update signal output circuit 525. A numerical value update instruction signal for instructing update of numerical data synchronized with the random number generation clock signal SI1 output from the output circuit 524 may be output to the counter 521.

乱数回路起動信号出力回路530は、乱数回路起動データ「80(H)」を格納する乱数回路起動レジスタ(RST)541を備える。乱数回路起動データとは、乱数回路503の起動を要求するためのデータである。乱数回路起動信号出力回路530は、乱数回路起動レジスタ541に乱数回路起動データ「80(H)」が書き込まれると、所定の乱数回路起動信号をカウンタ521およびクロック信号出力回路537に出力し、カウンタ521およびクロック信号出力回路524をオンにさせる。そして、カウンタ521によるカウント値の更新動作とクロック信号出力回路524による内部クロック信号の出力動作とを開始させることによって、乱数回路503を起動させる。   The random number circuit activation signal output circuit 530 includes a random number circuit activation register (RST) 541 that stores random number circuit activation data “80 (H)”. The random circuit activation data is data for requesting activation of the random number circuit 503. When the random number circuit activation data “80 (H)” is written in the random number circuit activation register 541, the random number circuit activation signal output circuit 530 outputs a predetermined random number circuit activation signal to the counter 521 and the clock signal output circuit 537. 521 and the clock signal output circuit 524 are turned on. The random number circuit 503 is activated by starting the count value updating operation by the counter 521 and the internal clock signal output operation by the clock signal output circuit 524.

図16は、乱数回路起動レジスタ541の例を示す説明図である。図16に示すように、乱数回路起動レジスタ541は、8ビットレジスタであり、初期値が「00(H)」に設定されている。乱数回路起動レジスタ541は、ビット7だけが書込および読出ともに可能な状態に構成されている。また、乱数回路起動レジスタ541は、ビット0〜ビット6が書込および読出ともに不可能な状態に構成されている。すなわち、乱数回路起動レジスタ541のビット0〜ビット6に値を書き込む制御を行っても無効とされ、ビット0〜ビット6から読み出す値は全て「0(=000000(B))」である。   FIG. 16 is an explanatory diagram illustrating an example of the random number circuit activation register 541. As shown in FIG. 16, the random number circuit activation register 541 is an 8-bit register, and the initial value is set to “00 (H)”. The random number circuit activation register 541 is configured such that only bit 7 can be written and read. The random number circuit activation register 541 is configured in a state in which bits 0 to 6 cannot be written or read. That is, even if control is performed to write a value to bit 0 to bit 6 of the random number circuit activation register 541, it is invalid, and all the values read from bit 0 to bit 6 are “0 (= 000000 (B))”.

乱数値記憶回路531は、例えば16ビットレジスタであり、遊技制御処理における大当り判定において用いられる乱数であるランダムRの値を格納する。乱数値記憶回路531は、ラッチ信号生成回路533からラッチ信号SLを入力したことに応じて、カウンタ521から比較器522を介して出力されるカウント値CをランダムRの値として格納する。そして、乱数値記憶回路531は、ラッチ信号生成回路533からラッチ信号SLを入力するごとに、カウンタ521が更新するカウント値Cを読み込んでランダムRの値を記憶する。   The random value storage circuit 531 is a 16-bit register, for example, and stores a random R value that is a random number used in the jackpot determination in the game control process. The random value storage circuit 531 stores the count value C output from the counter 521 via the comparator 522 as a random R value in response to the input of the latch signal SL from the latch signal generation circuit 533. Each time the latch signal SL is input from the latch signal generation circuit 533, the random value storage circuit 531 reads the count value C updated by the counter 521 and stores the random R value.

図17は、乱数値記憶回路531の一構成例を示す回路図である。乱数値記憶回路531は、図17に示すように、2個のAND回路201,203と、2個のNOT回路202,204と、16個のフリップフロップ回路2101〜2116と、16個のOR回路2201〜2216とを含む。   FIG. 17 is a circuit diagram showing a configuration example of the random value storage circuit 531. As shown in FIG. 17, the random value storage circuit 531 includes two AND circuits 201 and 203, two NOT circuits 202 and 204, 16 flip-flop circuits 2101 to 2116, and 16 OR circuits. 2201-2216.

図17に示すように、AND回路201の入力端子は、ラッチ信号生成回路533の出力端子とNOT回路204の出力端子とに接続され、出力端子は、NOT回路202の入力端子とフリップフロップ回路2101〜2116のクロック端子Clk1〜Clk16とに接続されている。NOT回路202の入力端子は、AND回路201の出力端子に接続され、出力端子は、AND回路203の一方の入力端子に接続されている。   As shown in FIG. 17, the input terminal of the AND circuit 201 is connected to the output terminal of the latch signal generation circuit 533 and the output terminal of the NOT circuit 204, and the output terminal is connected to the input terminal of the NOT circuit 202 and the flip-flop circuit 2101. Are connected to clock terminals Clk1 to Clk16. The input terminal of the NOT circuit 202 is connected to the output terminal of the AND circuit 201, and the output terminal is connected to one input terminal of the AND circuit 203.

AND回路203の入力端子は、NOT回路202の出力端子と遊技制御用マイクロコンピュータ560が搭載するCPU56とに接続され、出力端子は、NOT回路204の入力端子に接続されている。NOT回路204の入力端子は、AND回路203の出力端子に接続され、出力端子は、AND回路201の一方の入力端子とOR回路2201〜2216の一方の入力端子とに接続されている。   The input terminal of the AND circuit 203 is connected to the output terminal of the NOT circuit 202 and the CPU 56 mounted on the game control microcomputer 560, and the output terminal is connected to the input terminal of the NOT circuit 204. The input terminal of the NOT circuit 204 is connected to the output terminal of the AND circuit 203, and the output terminal is connected to one input terminal of the AND circuit 201 and one input terminal of the OR circuits 2201 to 2216.

フリップフロップ回路2101〜2116の入力端子D1〜D16は、比較器522の出力端子に接続されている。フリップフロップ回路2101〜2116のクロック端子Clk1〜Clk16は、AND回路201の出力端子に接続され、出力端子Q1〜Q16は、OR回路2201〜2216の他方の入力端子に接続されている。   The input terminals D1 to D16 of the flip-flop circuits 2101 to 2116 are connected to the output terminal of the comparator 522. The clock terminals Clk1 to Clk16 of the flip-flop circuits 2101 to 2116 are connected to the output terminal of the AND circuit 201, and the output terminals Q1 to Q16 are connected to the other input terminals of the OR circuits 2201 to 2216.

OR回路2201〜2216の入力端子は、NOT回路204の出力端子とフリップフロップ回路2101〜2116の出力端子とに接続され、出力端子は、遊技制御用マイクロコンピュータ560が搭載するCPU56に接続されている。   The input terminals of the OR circuits 2201 to 2216 are connected to the output terminal of the NOT circuit 204 and the output terminals of the flip-flop circuits 2101 to 2116, and the output terminals are connected to the CPU 56 mounted on the game control microcomputer 560. .

乱数値記憶回路531の動作について説明する。図18は、乱数値記憶回路531に各信号が入力されるタイミング、および乱数値記憶回路531が各信号を出力するタイミングを示すタイミングチャートである。図18に示すように、遊技制御用マイクロコンピュータ560が搭載するCPU56から出力制御信号SC(本例では、ハイレベル信号)が入力されていない場合(すなわち、AND回路203の一方の入力端子への入力がローレベルの場合)、ラッチ信号生成回路533からラッチ信号SLが入力されると(図18に示す例では、タイミングT1,T2,T7のとき)、AND回路201の2つの入力端子への入力はともにハイレベルとなる。そのため、AND回路201の出力端子から出力される信号SRはハイレベルとなる。そして、AND回路201から出力された信号SRは、フリップフロップ回路2101〜2116のクロック端子Clk1〜Clk16に入力される。   The operation of the random value storage circuit 531 will be described. FIG. 18 is a timing chart showing the timing at which each signal is input to the random value storage circuit 531 and the timing at which the random value storage circuit 531 outputs each signal. As shown in FIG. 18, when the output control signal SC (high level signal in this example) is not input from the CPU 56 mounted on the game control microcomputer 560 (that is, to one input terminal of the AND circuit 203). When the latch signal SL is input from the latch signal generation circuit 533 (when the input is at a low level) (at the timings T1, T2, and T7 in the example illustrated in FIG. 18), the input to the two input terminals of the AND circuit 201 is performed. Both inputs are high. Therefore, the signal SR output from the output terminal of the AND circuit 201 is at a high level. The signal SR output from the AND circuit 201 is input to the clock terminals Clk1 to Clk16 of the flip-flop circuits 2101 to 2116.

フリップフロップ回路2101〜2116は、クロック端子Clk1〜Clk16から入力される信号SRの立ち上がりエッジに応答して、比較器522から入力端子D1〜D16を介して入力されるカウント値CのビットデータC1〜C16を乱数値のビットデータR1〜R16としてラッチして記憶する。また、フリップフロップ回路2101〜2116は、記憶するランダムRのビットデータR1〜R16を出力端子Q1〜Q16から出力する。   The flip-flop circuits 2101 to 2116 are responsive to the rising edges of the signal SR input from the clock terminals Clk1 to Clk16, and the bit data C1 to C1 of the count value C input from the comparator 522 via the input terminals D1 to D16. C16 is latched and stored as bit data R1 to R16 of a random value. The flip-flop circuits 2101 to 2116 output random R bit data R1 to R16 to be stored from the output terminals Q1 to Q16.

出力制御信号SCが入力されていない場合(図18に示す例では、タイミングT3までの期間およびタイミングT6以降の期間)、AND回路203の一方の入力端子への入力がローレベルとなるので、AND回路203の出力端子から出力される信号SGはローレベルとなる。AND回路203が出力する信号SGは、NOT回路204において反転され、ハイレベルの信号とされる。そして、OR回路2201〜2216の一方の入力端子に、NOT回路204からハイレベルの信号が入力される。   When the output control signal SC is not input (in the example shown in FIG. 18, the period up to the timing T3 and the period after the timing T6), the input to one input terminal of the AND circuit 203 is at the low level. The signal SG output from the output terminal of the circuit 203 is at a low level. The signal SG output from the AND circuit 203 is inverted in the NOT circuit 204 to be a high level signal. A high level signal is input from the NOT circuit 204 to one input terminal of the OR circuits 2201 to 2216.

以上のように、OR回路2201〜2216の一方の入力端子への入力がハイレベルとなるので、他方の入力端子に入力される信号がハイレベルであるかローレベルであるかに関わらず、OR回路2201〜2216はハイレベルの信号を出力する。すなわち、入力されるランダムRのビットデータR1〜R16の値が「0」であるか「1」であるかに関わらず、OR回路2201〜2216から出力される信号SO1〜SO16は、全てハイレベル(「1」)となる。そのようにすることによって、乱数値記憶回路531から出力される値は、常に「65535(=1111111111111111(B))」となり、乱数値記憶回路531からランダムRを読み出すことができない状態となる。すなわち、乱数値記憶回路531から乱数を読み出そうとしても、乱数値記憶回路531から常に同じ値「65535」しか読み出せない状態となり、出力制御信号SCが入力されていない場合、乱数値記憶回路531は、読出不能(ディスエーブル)状態となる。なお、16ビット乱数回路503bを用いる場合、乱数値としての値「65535」が用いられる可能性がある。この場合、遊技制御用マイクロコンピュータ560は、値「65535」を読み込んだとしても、その値が乱数であるのか読出不能状態であるのかを判断することができない。そのため、図27に示す各大当り判定用の判定テーブルにおいて、あらかじめランダムRが「65535」である場合には「はずれ」と判定するように設定しておけばよい。   As described above, since the input to one of the input terminals of the OR circuits 2201 to 2216 is at a high level, the OR is input regardless of whether the signal input to the other input terminal is at a high level or a low level. The circuits 2201 to 2216 output high level signals. That is, the signals SO1 to SO16 output from the OR circuits 2201 to 2216 are all at a high level regardless of whether the values of the input random R bit data R1 to R16 are “0” or “1”. (“1”). By doing so, the value output from the random value storage circuit 531 is always “65535 (= 1111111111111111 (B))”, and the random R cannot be read from the random value storage circuit 531. That is, even if an attempt is made to read a random number from the random value storage circuit 531, only the same value “65535” can always be read from the random value storage circuit 531, and when the output control signal SC is not input, the random value storage circuit 531 is in an unreadable (disabled) state. When the 16-bit random number circuit 503b is used, the value “65535” as a random number value may be used. In this case, even if the game control microcomputer 560 reads the value “65535”, it cannot determine whether the value is a random number or an unreadable state. Therefore, in the determination table for each jackpot determination shown in FIG. 27, when the random R is “65535”, it may be set to be determined as “out of”.

ラッチ信号生成回路533からラッチ信号SLが入力されていないときに、CPU56から出力制御信号SCが入力されると(図18に示す例では、タイミングT4からタイミングT6までの期間)、AND回路203の2つの入力端子への入力がともにハイレベルとなるので、AND回路203の出力端子から出力される信号SGはハイレベルとなる。AND回路203が出力する信号SGは、NOT回路204において反転され、ローレベルの信号とされる。そして、OR回路2201〜2216の一方の入力端子に、NOT回路204からローレベルの信号が入力される。   When the output control signal SC is input from the CPU 56 when the latch signal SL is not input from the latch signal generation circuit 533 (in the example shown in FIG. 18, the period from the timing T4 to the timing T6), Since the inputs to the two input terminals are both at the high level, the signal SG output from the output terminal of the AND circuit 203 is at the high level. The signal SG output from the AND circuit 203 is inverted in the NOT circuit 204 to be a low level signal. A low level signal is input from the NOT circuit 204 to one input terminal of the OR circuits 2201 to 2216.

以上のように、OR回路2201〜2216の一方の入力端子への入力がローレベルとなるので、他方の入力端子に入力される信号がハイレベルの場合、OR回路2201〜2216の出力端子からハイレベルの信号が出力される。また、OR回路2201〜2216の他方の入力端子に入力される信号がローレベルの場合、OR回路2201〜2216からローレベルの信号が出力される。すなわち、OR回路2201〜2216の他方の入力端子に入力されるランダムRのビットデータR1〜R16の値は、OR回路2201〜2216の出力端子からそのまま(すなわち、ビットデータR1〜R16の値が「1」のときは「1」が、「0」のときは「0」)出力される。そのようにすることによって、乱数値記憶回路531からのランダムRの読出が可能となる。すなわち、出力制御信号SCが入力されている場合、乱数値記憶回路531は、読出可能(イネイブル)状態となる。   As described above, since the input to one input terminal of the OR circuits 2201 to 2216 is at a low level, when the signal input to the other input terminal is at a high level, the output from the output terminals of the OR circuits 2201 to 2216 is high. A level signal is output. In addition, when a signal input to the other input terminal of the OR circuits 2201 to 2216 is at a low level, a low level signal is output from the OR circuits 2201 to 2216. That is, the values of the random R bit data R1 to R16 input to the other input terminals of the OR circuits 2201 to 2216 are unchanged from the output terminals of the OR circuits 2201 to 2216 (that is, the values of the bit data R1 to R16 are “ “1” is output when it is “1” and “0” when it is “0”). By doing so, random R can be read from the random value storage circuit 531. That is, when the output control signal SC is input, the random value storage circuit 531 is in a readable (enable) state.

ただし、CPU56から出力制御信号SCが入力される前に、ラッチ信号生成回路533からラッチ信号SLが入力されている場合、AND回路203の一方の入力端子への入力がローレベルとなるので、ラッチ信号SLが入力されている状態のままで、出力制御信号SCが入力されても(図18に示す例では、タイミングT3からタイミングT4の期間)、AND回路203の出力端子から出力される信号SGはローレベルのままとなる。AND回路203が出力する信号SGは、NOT回路204において反転され、ハイレベルの信号とされる。そして、OR回路2201〜2216の一方の入力端子に、NOT回路204からハイレベルの信号が入力される。   However, if the latch signal SL is input from the latch signal generation circuit 533 before the output control signal SC is input from the CPU 56, the input to one input terminal of the AND circuit 203 is at a low level. Even if the output control signal SC is input while the signal SL is being input (in the example shown in FIG. 18, the period from the timing T3 to the timing T4), the signal SG output from the output terminal of the AND circuit 203. Remains low. The signal SG output from the AND circuit 203 is inverted in the NOT circuit 204 to be a high level signal. A high level signal is input from the NOT circuit 204 to one input terminal of the OR circuits 2201 to 2216.

以上のように、OR回路2201〜2216の一方の入力端子への入力がハイレベルとなるので、他方の入力端子に入力される信号がハイレベルであるかローレベルであるかに関わらず、OR回路2201〜2216から出力される信号SO1〜SO16は全てハイレベルとなる。そして、出力制御信号SCが入力されているにも関わらず、乱数値記憶回路531からランダムRを読み出すことができない状態のままとなる。すなわち、ラッチ信号SLが入力されている場合、乱数値記憶回路531は、出力制御信号SCを受信不可能な状態となる。なお、16ビット乱数回路503bを用いる場合、乱数値としての値「65535」が用いられる可能性がある。この場合、遊技制御用マイクロコンピュータ560は、値「65535」を読み込んだとしても、その値が乱数であるのか読出不能状態であるのかを判断することができない。そのため、図27に示す各大当り判定用の判定テーブルにおいて、あらかじめランダムRが「65535」である場合には「はずれ」と判定するように設定しておけばよい。   As described above, since the input to one of the input terminals of the OR circuits 2201 to 2216 is at a high level, the OR is input regardless of whether the signal input to the other input terminal is at a high level or a low level. The signals SO1 to SO16 output from the circuits 2201 to 2216 are all at a high level. Even though the output control signal SC is input, the random R cannot be read from the random value storage circuit 531. That is, when the latch signal SL is input, the random value storage circuit 531 cannot receive the output control signal SC. When the 16-bit random number circuit 503b is used, the value “65535” as a random number value may be used. In this case, even if the game control microcomputer 560 reads the value “65535”, it cannot determine whether the value is a random number or an unreadable state. Therefore, in the determination table for each jackpot determination shown in FIG. 27, when the random R is “65535”, it may be set to be determined as “out of”.

また、ラッチ信号生成回路533からラッチ信号SLが入力される前に、CPU56から出力制御信号SCが入力されている場合、AND回路201の一方の入力端子への入力がローレベルとなるので、出力制御信号SCが入力されているままの状態で、ラッチ信号SLが入力されても(図18に示す例では、タイミングT5)、AND回路201の出力端子から出力される信号SRはローレベルのままとなる。そのため、フリップフロップ回路2101〜2116のクロック端子Clk1〜Clk16に入力される信号SRは、ローレベルからハイレベルに立ち上がらず、フリップフロップ回路2101〜2116に格納されているランダムRのビットデータR1〜R16は、ラッチ信号SLが入力されているにも関わらず、記憶される乱数は更新されない。すなわち、出力制御信号SCが入力されている場合、乱数値記憶回路531は、ラッチ信号SLを受信不可能な状態となる。   In addition, when the output control signal SC is input from the CPU 56 before the latch signal SL is input from the latch signal generation circuit 533, the input to one input terminal of the AND circuit 201 is at a low level. Even if the latch signal SL is input while the control signal SC is being input (timing T5 in the example shown in FIG. 18), the signal SR output from the output terminal of the AND circuit 201 remains at the low level. It becomes. Therefore, the signal SR input to the clock terminals Clk1 to Clk16 of the flip-flop circuits 2101 to 2116 does not rise from the low level to the high level, and the random R bit data R1 to R16 stored in the flip-flop circuits 2101 to 2116. Although the latch signal SL is input, the stored random number is not updated. That is, when the output control signal SC is input, the random value storage circuit 531 cannot receive the latch signal SL.

反転回路532は、クロック信号出力回路524から入力する乱数発生用クロック信号SI1における信号レベルを反転させることによって、クロック信号の極性を反転させた反転クロック信号SI2を生成する。また、反転回路532は、生成した反転クロック信号SI2をラッチ信号生成回路533に出力する。   The inverting circuit 532 generates the inverted clock signal SI2 in which the polarity of the clock signal is inverted by inverting the signal level in the random number generating clock signal SI1 input from the clock signal output circuit 524. Further, the inverting circuit 532 outputs the generated inverted clock signal SI2 to the latch signal generating circuit 533.

ラッチ信号生成回路533は、セレクタおよびフリップフロップ回路等を用いて構成される。ラッチ信号生成回路533は、乱数値読取信号出力回路526からの乱数値読取信号と反転回路532からの反転クロック信号SI2とを入力し、乱数値記憶回路531に乱数値を記憶させるためのラッチ信号SLを出力する。また、ラッチ信号生成回路533は、乱数更新方式選択信号出力回路527からの乱数更新方式選択信号によって指定された乱数値更新方式に応じて、ラッチ信号SLを出力する。この場合、ラッチ信号生成回路533は、乱数更新方式選択信号出力回路527から第1の乱数更新方式選択信号が入力された場合、反転回路532から出力される反転クロック信号SI2を選択し、ラッチ信号SLとして乱数値記憶回路531に出力する。一方、ラッチ信号生成回路533は、乱数更新方式選択信号出力回路527から第2の乱数更新方式選択信号が入力された場合、乱数値読取信号出力回路526から出力される乱数値読取信号を、反転回路532から出力される反転クロック信号SI2の立ち上がりエッジに同期させて、ラッチ信号SLとして乱数値記憶回路531に出力する。   The latch signal generation circuit 533 is configured using a selector, a flip-flop circuit, and the like. The latch signal generation circuit 533 receives the random number read signal from the random number read signal output circuit 526 and the inverted clock signal SI2 from the inversion circuit 532, and stores the random value in the random value storage circuit 531. SL is output. The latch signal generation circuit 533 outputs the latch signal SL in accordance with the random value update method designated by the random number update method selection signal from the random number update method selection signal output circuit 527. In this case, when the first random number update method selection signal output circuit 527 receives the first random number update method selection signal output circuit 527, the latch signal generation circuit 533 selects the inverted clock signal SI2 output from the inversion circuit 532, and the latch signal It outputs to the random value storage circuit 531 as SL. On the other hand, the latch signal generation circuit 533 inverts the random value read signal output from the random number read signal output circuit 526 when the second random number update method selection signal is input from the random number update method selection signal output circuit 527. In synchronization with the rising edge of the inverted clock signal SI2 output from the circuit 532, it is output to the random value storage circuit 531 as the latch signal SL.

タイマ回路534は、始動口14への遊技球の入賞を検出した旨の入賞検出信号SSを始動口スイッチ14aから入力する。また、タイマ回路534は、始動口スイッチ14aから入賞検出信号SSが継続して入力されている時間を計測する。そして、タイマ回路534は、計測時間が所定期間(例えば、3ms)になると、乱数値読取信号出力回路526の乱数値取込レジスタ539に乱数値取込データ「01(H)」を書き込む。例えば、タイマ回路534は、ハイレベルの信号が入力されたことに応じて起動するアップカウンタまたはダウンカウンタによって構成される。タイマ回路534は、始動口スイッチ14aからの入力がハイレベルとなっている間(すなわち、入賞検出信号SSが継続して入力されている間)、クロック回路501から順次入力する基準クロック信号CLKをアップカウントまたはダウンカウントする。そして、タイマ回路534は、アップカウントまたはダウンカウントするカウント値が3msに対応する値になると、始動口スイッチ14aから入賞検出信号SSが入力されたと判断して、乱数値取込データ「01(H)」を乱数値取込レジスタ539に書き込む。   The timer circuit 534 inputs a winning detection signal SS indicating that a winning of a game ball to the starting port 14 has been detected from the starting port switch 14a. The timer circuit 534 measures the time during which the winning detection signal SS is continuously input from the start port switch 14a. Then, when the measurement time reaches a predetermined period (for example, 3 ms), the timer circuit 534 writes the random number value capture data “01 (H)” into the random value capture register 539 of the random value read signal output circuit 526. For example, the timer circuit 534 is configured by an up counter or a down counter that is activated in response to the input of a high level signal. The timer circuit 534 receives the reference clock signal CLK sequentially input from the clock circuit 501 while the input from the start port switch 14a is at a high level (that is, while the winning detection signal SS is continuously input). Count up or down. Then, when the count value to be counted up or down reaches a value corresponding to 3 ms, the timer circuit 534 determines that the winning detection signal SS is input from the start port switch 14a, and the random number value capture data “01 (H ) ”Is written to the random number value acquisition register 539.

図19は、遊技制御用マイクロコンピュータ560における記憶領域のアドレスマップの一例を示す説明図である。図19に示すように、遊技制御用マイクロコンピュータ560の記憶領域のうち、0000(H)番地〜1FFF(H)番地の領域は、ROM54に割り当てられている。また、7E00(H)番地〜7FFF(H)番地の領域は、RAM55に割り当てられている。さらに、FD00(H)番地〜FE00(H)番地の領域は、乱数最大値設定レジスタ535等の内蔵レジスタに割り当てられている。   FIG. 19 is an explanatory diagram showing an example of an address map of a storage area in the game control microcomputer 560. As shown in FIG. 19, the area from address 0000 (H) to address 1FFF (H) in the storage area of the game control microcomputer 560 is allocated to the ROM 54. An area from addresses 7E00 (H) to 7FFF (H) is allocated to the RAM 55. Further, the area from address FD00 (H) to address FE00 (H) is allocated to a built-in register such as the random number maximum value setting register 535.

また、図19に示すように、ROM54に割り当てられている0000(H)番地〜1FFF(H)番地の領域は、ユーザプログラムエリアとユーザプログラム管理エリアとを含む。0000(H)番地〜1F7F(H)番地の領域のユーザプログラムエリアには、ユーザ(例えば、遊技機の設計者)により予め作成されたプログラム(ユーザプログラム)550が記憶される。また、1F80(H)番地〜1FFF(H)番地の領域のユーザプログラム管理エリアには、CPU56がユーザプログラム550を実行するために必要となるデータ(ユーザプログラム実行データ)が記憶される。また、RAM55に割り当てられている7E00(H)番地〜7FFF(H)番地の領域のうち、7E00(H)番地〜7EFF(H)番地の領域は未使用領域であり、7F00(H)番地〜7FFF(H)番地の領域はワークエリアとして用いられる。   As shown in FIG. 19, the area from address 0000 (H) to address 1FFF (H) allocated to the ROM 54 includes a user program area and a user program management area. A program (user program) 550 created in advance by a user (for example, a game machine designer) is stored in the user program area in the area from address 0000 (H) to address 1F7F (H). Further, data (user program execution data) necessary for the CPU 56 to execute the user program 550 is stored in the user program management area in the area of addresses 1F80 (H) to 1FFF (H). Of the areas 7E00 (H) to 7FFF (H) allocated to the RAM 55, the areas 7E00 (H) to 7EFF (H) are unused areas, and the addresses 7F00 (H) to The area of address 7FFF (H) is used as a work area.

図20は、ユーザプログラム管理エリアにおけるアドレスマップの一例を示す説明図である。図20に示すように、1F97(H)番地の領域には、乱数回路503のカウンタ521に入力される初期値を変更するための方式である初期値変更方式のうち、ユーザによって選択された初期値変更方式を指定するための初期値変更方式設定データが記憶される。また、1F98(H)番地および1F99(H)番地の領域には、RAM55に割り当てられた7F00(H)番地〜7FFF(H)番地のうち、ユーザによって予め指定されたRAM55における番地(指定RAM番地)を特定するためのRAM番地データが記憶される。この場合、指定RAM番地を示す値のうち、指定RAM番地の下位の値が1F98(H)番地に記憶され、指定RAM番地の上位の値が1F99(H)番地に記憶される。   FIG. 20 is an explanatory diagram showing an example of an address map in the user program management area. As shown in FIG. 20, in the area of address 1F97 (H), the initial value selected by the user among the initial value changing methods that are methods for changing the initial value input to the counter 521 of the random number circuit 503 is displayed. Initial value change method setting data for designating a value change method is stored. Further, in the areas 1F98 (H) and 1F99 (H), the addresses in the RAM 55 (designated RAM addresses) designated in advance by the user among the addresses 7F00 (H) to 7FFF (H) allocated to the RAM 55 are included. RAM address data for specifying) is stored. In this case, of the values indicating the designated RAM address, the lower value of the designated RAM address is stored in the 1F98 (H) address, and the higher value of the designated RAM address is stored in the 1F99 (H) address.

図21は、初期値変更方式設定データの一例を示す説明図である。図21に示すように、初期値変更データは、8ビットのデータから構成される。初期値変更データ「00(H)」は、初期値変更方式として、初期値を変更しないことを指定するデータである。この実施の形態では、初期値変更データ「00(H)」が設定されている場合、乱数回路503のカウンタ521は、予め定められた初期値「0」から所定の最終値までカウント値を更新することになる。また、初期値変更データ「01(H)」は、初期値変更方式として、カウンタ521に入力する初期値を、遊技制御用マイクロコンピュータ560を識別するためのIDナンバにもとづく値に変更することを指定するデータである。この実施の形態では、初期値変更データ「01(H)」が設定されている場合、カウンタ521が更新するカウンタ値の初期値が「0」からIDナンバにもとづく値に変更され、カウンタ521は、変更後の初期値から所定の最終値までカウント値を更新することになる。   FIG. 21 is an explanatory diagram of an example of initial value change method setting data. As shown in FIG. 21, the initial value change data is composed of 8-bit data. The initial value change data “00 (H)” is data specifying that the initial value is not changed as the initial value change method. In this embodiment, when the initial value change data “00 (H)” is set, the counter 521 of the random number circuit 503 updates the count value from a predetermined initial value “0” to a predetermined final value. Will do. Further, the initial value change data “01 (H)” indicates that the initial value input to the counter 521 is changed to a value based on an ID number for identifying the game control microcomputer 560 as an initial value change method. The data to be specified. In this embodiment, when the initial value change data “01 (H)” is set, the initial value of the counter value updated by the counter 521 is changed from “0” to a value based on the ID number, and the counter 521 The count value is updated from the changed initial value to a predetermined final value.

ユーザプログラムエリアに記憶されるユーザプログラム550について説明する。図22は、ユーザプログラム550の構成例を示す説明図である。図22に示すように、この実施の形態では、ユーザプログラム550は、複数種類のプログラムモジュールから構成される乱数回路設定プログラム551と、表示結果決定プログラム552と、カウント値順列変更プログラム554と、乱数値更新プログラム555とを含む。   The user program 550 stored in the user program area will be described. FIG. 22 is an explanatory diagram showing a configuration example of the user program 550. As shown in FIG. 22, in this embodiment, the user program 550 includes a random number circuit setting program 551 composed of a plurality of types of program modules, a display result determination program 552, a count value permutation change program 554, and a random program. And a numerical value update program 555.

乱数回路設定プログラム551は、乱数回路503にランダムRの値を更新させるための初期設定を行う乱数回路設定処理を実行させるためのプログラムである。すなわち、CPU56は、乱数回路設定プログラム551に従って処理を実行することにより、乱数回路設定手段として機能する。   The random number circuit setting program 551 is a program for executing a random number circuit setting process for performing initial setting for causing the random number circuit 503 to update the value of the random R. That is, the CPU 56 functions as random number circuit setting means by executing processing according to the random number circuit setting program 551.

図23は、乱数回路設定プログラム551の構成例を示す説明図である。図23に示すように、乱数回路設定プログラム551は、複数種類のプログラムモジュールとして、乱数最大値設定モジュール551aと、乱数更新方式選択モジュール551bと、周期設定モジュール551cと、乱数回路起動モジュール551dと、初期値変更モジュール551eと、乱数回路選択モジュール551fとを含む。   FIG. 23 is an explanatory diagram showing a configuration example of the random number circuit setting program 551. As shown in FIG. 23, the random number circuit setting program 551 includes a random number maximum value setting module 551a, a random number update method selection module 551b, a cycle setting module 551c, a random number circuit activation module 551d, as a plurality of types of program modules. An initial value changing module 551e and a random number circuit selecting module 551f are included.

乱数最大値設定モジュール551aは、ユーザ(例えば、遊技機の設計者)によって予め設定されたランダムRの最大値を乱数回路503に設定させるためのプログラムモジュールである。CPU56は、乱数最大値設定モジュール551aに従って処理を実行することによって、ユーザによって予め設定されたランダムRの最大値を指定する乱数最大値設定データを、乱数最大値設定レジスタ535に書き込む。そのようにすることによって、CPU56は、ユーザによって予め設定されたランダムRの最大値を乱数回路503に設定する。例えば、ユーザによってランダムRの最大値として予め「255」が設定された場合、CPU56は、乱数最大値設定レジスタ535に乱数最大値設定データ「00FF(H)」を書き込んで、ランダムRの最大値「255」を乱数回路503に設定する。   The random number maximum value setting module 551a is a program module for causing the random number circuit 503 to set the maximum value of random R preset by a user (for example, a game machine designer). The CPU 56 executes processing according to the random number maximum value setting module 551a, thereby writing random number maximum value setting data for specifying the maximum value of the random R preset by the user in the random number maximum value setting register 535. By doing so, the CPU 56 sets the maximum value of the random R preset by the user in the random number circuit 503. For example, when “255” is set in advance as the maximum value of the random R by the user, the CPU 56 writes the random number maximum value setting data “00FF (H)” in the random number maximum value setting register 535, and the maximum value of the random R “255” is set in the random number circuit 503.

乱数更新方式選択モジュール551bは、ユーザによって選択された乱数更新方式(第1の乱数更新方式または第2の乱数更新方式)を乱数回路503に設定させるためのプログラムモジュールである。CPU56は、乱数更新方式選択モジュール551bに従って処理を実行することによって、ユーザによって選択された乱数更新方式を指定する乱数更新方式選択データ「01(B)」または「10(B)」を乱数更新方式選択レジスタ540に書き込む。そのようにすることによって、CPU56は、ユーザによって選択された乱数更新方式を乱数回路503に設定する。よって、遊技制御用マイクロコンピュータ560は、第1の乱数更新方式または第2の乱数更新方式のうちのいずれかを、乱数回路503が乱数更新に用いる乱数更新方式として選択する機能を備える。   The random number update method selection module 551b is a program module for causing the random number circuit 503 to set the random number update method (first random number update method or second random number update method) selected by the user. The CPU 56 executes the processing according to the random number update method selection module 551b, thereby assigning the random number update method selection data “01 (B)” or “10 (B)” specifying the random number update method selected by the user to the random number update method. Write to the selection register 540. By doing so, the CPU 56 sets the random number update method selected by the user in the random number circuit 503. Therefore, the game control microcomputer 560 has a function of selecting either the first random number update method or the second random number update method as the random number update method used by the random number circuit 503 for the random number update.

周期設定モジュール551cは、ユーザによって予め設定された内部クロック信号の周期(すなわち、クロック信号出力回路524がセレクタ528および反転回路532にクロック信号を出力する周期)を乱数回路503に設定させるためのプログラムモジュールである。CPU56は、周期設定モジュール551cに従って処理を実行することによって、ユーザによって予め設定された内部クロック信号の周期を指定するための周期設定データを周期設定レジスタ537に書き込む。そのようにすることによって、CPU56は、ユーザによって予め設定された内部クロック信号の周期を乱数回路503に設定する。例えば、ユーザによって内部クロック信号の周期が予め「システムクロック信号の周期×128×16」と設定された場合、CPU56は、周期設定レジスタ537に周期設定データ「0F(H)」を書き込んで、内部クロック信号の周期「システムクロック信号の周期×128×16」を乱数回路503に設定する。   The cycle setting module 551c is a program for causing the random number circuit 503 to set the cycle of the internal clock signal preset by the user (that is, the cycle in which the clock signal output circuit 524 outputs the clock signal to the selector 528 and the inverting circuit 532). It is a module. The CPU 56 writes processing in the cycle setting register 537 for designating the cycle of the internal clock signal preset by the user by executing processing in accordance with the cycle setting module 551c. By doing so, the CPU 56 sets the cycle of the internal clock signal preset by the user in the random number circuit 503. For example, when the cycle of the internal clock signal is previously set as “system clock signal cycle × 128 × 16” by the user, the CPU 56 writes the cycle setting data “0F (H)” in the cycle setting register 537 to The cycle of the clock signal “system clock signal cycle × 128 × 16” is set in the random number circuit 503.

乱数回路起動モジュール551dは、乱数回路503を起動させるためのプログラムモジュールである。CPU56は、乱数回路起動モジュール551dに従って処理を実行することによって、乱数回路起動データ「80(H)」を乱数回路起動レジスタ541に書き込むことにより、乱数回路503を起動させる。   The random number circuit activation module 551d is a program module for activating the random number circuit 503. The CPU 56 activates the random number circuit 503 by writing the random number circuit activation data “80 (H)” into the random number circuit activation register 541 by executing processing according to the random number circuit activation module 551d.

初期値変更モジュール551eは、カウンタ521が更新するカウント値の初期値を変更させるためのプログラムモジュールである。CPU56は、初期値変更モジュール551eに従って処理を実行することによって、初期値変更手段として機能する。CPU56は、初期値変更モジュール551eを実行して、ユーザによって選択された初期値変更方式によって、カウンタ521が更新するカウント値の初期値を変更させる。そのようにすることによって、遊技制御用マイクロコンピュータ560は、初期値変更方式を選択する機能を備える。   The initial value change module 551e is a program module for changing the initial value of the count value updated by the counter 521. The CPU 56 functions as an initial value changing unit by executing processing according to the initial value changing module 551e. The CPU 56 executes the initial value changing module 551e to change the initial value of the count value updated by the counter 521 by the initial value changing method selected by the user. By doing so, the game control microcomputer 560 has a function of selecting an initial value changing method.

この実施の形態では、ユーザプログラム管理エリアの1F97(H)番地の領域に初期値変更方式設定データ「01(H)」が記憶されている場合、CPU56は、カウント値の初期値を、遊技制御用マイクロコンピュータ560毎に付与された固有のIDナンバにもとづいて算出された値に変更させる。   In this embodiment, when initial value change method setting data “01 (H)” is stored in the area of address 1F97 (H) in the user program management area, the CPU 56 sets the initial value of the count value as game control. The value is calculated based on the unique ID number assigned to each microcomputer 560.

例えば、遊技制御用マイクロコンピュータ560は、RAM55の所定の記憶領域に、遊技制御用マイクロコンピュータ560のIDナンバと、IDナンバにもとづいて所定の演算を行って求めた演算値とを予め対応付けて記憶している。この場合、例えば、遊技制御用マイクロコンピュータ560のIDナンバが「100」であるとすると、IDナンバ「100」に所定値「50」を加算して求めた演算値「150」を、予めIDナンバに対応付けて記憶している。また、例えば、IDナンバ「100」に所定値「50」を減算して求めた演算値「50」を、予めIDナンバに対応付けて記憶している。また、例えば、予めIDナンバに対応づけて所定値だけを記憶していてもよい。そして、遊技制御用マイクロコンピュータ560は、予め記憶する所定値(例えば、「50」)にIDナンバ(例えば、「100」を加算して求めた値「150」を、カウント値の初期値としてもよい。また、遊技制御用マイクロコンピュータ560は、予め記憶する所定値(例えば、「50」)をIDナンバ(例えば、「100」)から減算して求めた値「50」を、カウント値の初期値としてもよい。   For example, the game control microcomputer 560 associates in advance a predetermined storage area of the RAM 55 with the ID number of the game control microcomputer 560 and a calculated value obtained by performing a predetermined calculation based on the ID number. I remember it. In this case, for example, if the ID number of the game control microcomputer 560 is “100”, the calculated value “150” obtained by adding the predetermined value “50” to the ID number “100” is set in advance as the ID number. Are stored in association with each other. Further, for example, the calculated value “50” obtained by subtracting the predetermined value “50” from the ID number “100” is stored in advance in association with the ID number. Further, for example, only a predetermined value may be stored in advance in association with the ID number. Then, the game control microcomputer 560 uses a value “150” obtained by adding an ID number (eg, “100”) to a predetermined value (eg, “50”) stored in advance as an initial value of the count value. In addition, the game control microcomputer 560 uses a value “50” obtained by subtracting a predetermined value (for example, “50”) stored in advance from the ID number (for example, “100”) as an initial count value. It may be a value.

そして、初期値変更方式設定データ「01(H)」が記憶されている場合、CPU56は、予め記憶するIDナンバにもとづく演算値にカウント値の初期値を変更させる。そのようにすれば、乱数回路503が発生する乱数のランダム性をより向上させることができ、遊技制御用マイクロコンピュータ560のIDナンバを見ただけでは乱数の初期値を認識しにくくすることができる。そのため、無線信号を用いた取り込み信号を遊技機に対して発生させるなどの行為によって、大当り状態への移行条件を不正に成立させられてしまうことをより確実に防止することができ、セキュリティ性を向上させることができる。   When the initial value change method setting data “01 (H)” is stored, the CPU 56 changes the initial value of the count value to the calculated value based on the ID number stored in advance. By doing so, the randomness of the random number generated by the random number circuit 503 can be further improved, and the initial value of the random number can be made difficult to recognize only by looking at the ID number of the game control microcomputer 560. . Therefore, it is possible to more reliably prevent the transition condition to the big hit state from being illegally established by an action such as generating a captured signal using a radio signal to the gaming machine, and improving security. Can be improved.

また、例えば、初期値変更方式設定データ「01(H)」が記憶されている場合、CPU56は、遊技制御用マイクロコンピュータ560のIDナンバと所定値とを演算して(例えば、IDナンバに所定値を加算して)求めた演算値にカウント値の初期値を変更させる。この場合、例えば、CPU56は、乱数を用いてランダムに変化させた値をIDナンバと演算することによって、演算に用いる値をランダムに更新し初期値を求めてもよい。そのようにすれば、乱数回路503が発生する乱数のランダム性をより向上させることができる。   For example, when the initial value change method setting data “01 (H)” is stored, the CPU 56 calculates the ID number of the game control microcomputer 560 and a predetermined value (for example, the ID number has a predetermined value). The initial value of the count value is changed to the calculated value obtained by adding the values. In this case, for example, the CPU 56 may calculate a value that is randomly changed using a random number as an ID number, thereby randomly updating a value used for the calculation and obtaining an initial value. By doing so, the randomness of the random numbers generated by the random number circuit 503 can be further improved.

乱数回路選択モジュール551fは、遊技制御用マイクロコンピュータ560が内蔵する各乱数回路503の中から、遊技制御処理を含むタイマ割込処理の実行時に用いる乱数回路を設定するためのプログラムモジュールである。CPU56は、乱数回路選択モジュール551fに従って処理を実行することによって、遊技制御用マイクロコンピュータ560が内蔵する2つの乱数回路(12ビット乱数回路503aおよび16ビット乱数回路503b)のうち、いずれの乱数回路をタイマ割込処理の実行時に用いるかを設定する。例えば、CPU56は、RAM55の所定の記憶領域に記憶された所定の設定値(ユーザによって予め設定された値)に従って、タイマ割込処理の実行時に用いる乱数回路として、12ビット乱数回路503aまたは16ビット乱数回路503bを設定する。   The random number circuit selection module 551f is a program module for setting a random number circuit to be used when executing a timer interrupt process including a game control process from among the random number circuits 503 built in the game control microcomputer 560. The CPU 56 executes processing in accordance with the random number circuit selection module 551f, so that any of the two random number circuits (12-bit random number circuit 503a and 16-bit random number circuit 503b) built in the game control microcomputer 560 is selected. Set whether to use when executing timer interrupt processing. For example, the CPU 56 uses a 12-bit random number circuit 503a or 16-bit as a random number circuit used when executing the timer interrupt process according to a predetermined set value (a value set in advance by the user) stored in a predetermined storage area of the RAM 55. The random number circuit 503b is set.

なお、タイマ割込処理の実行時に用いる乱数回路として、12ビット乱数回路503aおよび16ビット乱数回路503bの両方を設定してもよい。この場合、遊技制御用マイクロコンピュータは、例えば、12ビット乱数回路503aが発生した乱数にもとづいて大当り判定を行い、16ビット乱数回路503bが発生した乱数にもとづいて確変判定を行うようにしてもよい。この実施の形態では、乱数値記憶回路531は、12ビット乱数回路503aと16ビット乱数回路503bとにそれぞれ存在する(すなわち、12ビット用の乱数を記憶する乱数記憶回路と、16ビット用の乱数を記憶する乱数記憶回路とが、別個に存在する)。また、12ビット乱数回路503aおよび16ビット乱数回路503bの両方を設定した場合、遊技制御用マイクロコンピュータ560は、12ビット乱数回路503aから読み出した乱数と、16ビット乱数回路503bから読み出した乱数とを、RAM55に設けられた別々のバッファ領域にそれぞれ格納する。そのため、12ビット乱数回路503aから乱数を読み出すタイミングと、16ビット乱数回路503bから乱数を読み出すタイミングとが同じであっても、2つの異なる乱数を抽出し別々のバッファ領域に格納することができる。   Note that both the 12-bit random number circuit 503a and the 16-bit random number circuit 503b may be set as random number circuits used when the timer interrupt process is executed. In this case, for example, the game control microcomputer may perform a jackpot determination based on a random number generated by the 12-bit random number circuit 503a and may perform a probability change determination based on the random number generated by the 16-bit random number circuit 503b. . In this embodiment, the random value storage circuit 531 is present in each of the 12-bit random number circuit 503a and the 16-bit random number circuit 503b (that is, a random number storage circuit that stores a random number for 12 bits and a random number for 16 bits). And a random number storage circuit for storing the same). When both the 12-bit random number circuit 503a and the 16-bit random number circuit 503b are set, the game control microcomputer 560 outputs the random number read from the 12-bit random number circuit 503a and the random number read from the 16-bit random number circuit 503b. , And stored in separate buffer areas provided in the RAM 55. Therefore, even when the timing for reading a random number from the 12-bit random number circuit 503a and the timing for reading a random number from the 16-bit random number circuit 503b are the same, two different random numbers can be extracted and stored in different buffer areas.

乱数値更新プログラム555は、乱数更新方式として第1の乱数更新方式が選択されているときに、乱数値記憶回路531に格納されているランダムRの値を更新させるためのプログラムである。CPU56は、乱数値更新プログラム555に従って処理を実行することによって、乱数値更新手段として機能する。CPU56は、第1の乱数更新方式が選択されているときに、乱数値更新プログラム555を実行して、カウント値更新データ「01(H)」をカウント値更新レジスタ538に書き込むことにより、カウンタ521にカウント値を更新させ、乱数値記憶回路531に格納さているランダムRの値を更新させる。なお、乱数更新方式として第2の乱数更新方式が選択されている場合には、クロック信号出力回路537が出力する乱数発生用クロック信号によって、カウンタ521にカウント値を更新させ、乱数値記憶回路531に格納さているランダムRの値を更新させることになる。   The random value update program 555 is a program for updating the value of the random R stored in the random value storage circuit 531 when the first random number update method is selected as the random number update method. The CPU 56 functions as a random value updating unit by executing processing according to the random value updating program 555. When the first random number update method is selected, the CPU 56 executes the random number value update program 555 and writes the count value update data “01 (H)” to the count value update register 538, thereby causing the counter 521. The count value is updated, and the value of the random R stored in the random value storage circuit 531 is updated. When the second random number update method is selected as the random number update method, the counter 521 is updated with the random number generation clock signal output from the clock signal output circuit 537, and the random value storage circuit 531 is updated. The value of random R stored in is updated.

表示結果決定プログラム552は、特別図柄表示装置8における表示結果を大当り図柄とするか否かを決定するためのプログラムである。CPU56は、表示結果決定プログラム552に従って処理を実行することによって、表示結果決定手段として機能する。   The display result determination program 552 is a program for determining whether or not the display result in the special symbol display device 8 is a jackpot symbol. The CPU 56 functions as a display result determination unit by executing processing according to the display result determination program 552.

この実施の形態では、CPU56は、遊技球が可変入賞球装置15に入賞して特別図柄の可変表示を実行するための条件(実行条件)が成立したことに応じて、表示結果決定プログラム552に従って処理を実行する。そして、CPU56は、乱数値記憶回路531から更新後のランダムRの値を読み出して、特別図柄表示装置8における表示結果を大当り図柄とするか否かを決定する。   In this embodiment, the CPU 56 follows the display result determination program 552 in response to a condition (execution condition) for the game ball winning the variable winning ball apparatus 15 and executing variable symbol special display. Execute the process. Then, the CPU 56 reads the updated random R value from the random value storage circuit 531, and determines whether or not the display result in the special symbol display device 8 is a jackpot symbol.

図24は、第1の乱数更新方式が選択されている場合に、CPU56がランダムRの値を更新させたりランダムRの値を読出したりする動作を示す説明図である。図24に示すように、第1の乱数更新方式が選択されている場合、CPU56は、カウント値更新データ「01(H)」をカウント値更新レジスタ538に書き込むことによって、乱数値記憶回路531が記憶するランダムRの値(例えば「2」)を更新させる。そして、CPU56は、遊技球が可変入賞球装置15に入賞して特別図柄の可変表示を実行するための条件(実行条件)が成立したことに応じて、乱数値記憶回路531からランダムRの値(例えば「2」)を読み出す。   FIG. 24 is an explanatory diagram illustrating an operation in which the CPU 56 updates the random R value or reads the random R value when the first random number update method is selected. As shown in FIG. 24, when the first random number update method is selected, the CPU 56 writes the count value update data “01 (H)” into the count value update register 538 so that the random value storage circuit 531 The stored random R value (for example, “2”) is updated. Then, the CPU 56 receives a random R value from the random value storage circuit 531 in response to the fact that the game ball has won the variable winning ball device 15 and the condition (execution condition) for executing the variable symbol special display is established. (For example, “2”) is read.

なお、乱数値記憶回路531が記憶するランダムRの値をさらに更新させる場合、前回更新時にランダムRの値を更新したときから、クロック回路501が出力するシステムクロック信号の周期以上の間隔を経過したときに、カウント値更新レジスタ538にカウント値更新データ「01(H)」を書き込まなければならない。なぜなら、更新後のランダムRの値を乱数値記憶回路531から読み出す時間を確保する必要があるからである。   When the random R value stored in the random value storage circuit 531 is further updated, an interval equal to or longer than the cycle of the system clock signal output from the clock circuit 501 has elapsed since the random R value was updated during the previous update. Sometimes, the count value update data “01 (H)” must be written to the count value update register 538. This is because it is necessary to secure time for reading the updated random R value from the random value storage circuit 531.

図25は、第2の乱数更新方式が選択されている場合に、CPU56がランダムRの値を読出したりする動作を示す説明図である。図25に示すように、第2の乱数更新方式が選択されている場合、タイマ回路534は、乱数値取込データ「01(H)」を乱数値取込レジスタ539に書き込むことによって、カウンタ521が出力するカウント値(例えば「2」)を乱数値記憶回路531に取り込ませて、乱数値記憶回路531が記憶するランダムRの値を更新させる。そして、CPU56は、乱数値記憶回路531から更新後のランダムRの値(例えば「2」)を読み出す。   FIG. 25 is an explanatory diagram illustrating an operation in which the CPU 56 reads the value of the random R when the second random number update method is selected. As shown in FIG. 25, when the second random number update method is selected, the timer circuit 534 writes the random value fetch data “01 (H)” into the random value fetch register 539, thereby counter 521. The random value storage circuit 531 takes in the count value (for example, “2”) output by Random and updates the random R value stored in the random value storage circuit 531. Then, the CPU 56 reads the updated random R value (for example, “2”) from the random value storage circuit 531.

具体的には、第2の乱数更新方式が選択されている場合、カウンタ521は、乱数発生用クロック信号SI1を入力したことをトリガとしてカウント値Cを更新する。その後、乱数値取込データ「01(H)」が乱数値取込レジスタ539に書き込まれると、ラッチ信号生成回路533はラッチ信号SLを乱数値記憶回路531に出力する。そして、乱数値記憶回路531は、ラッチ信号SLを入力したことをトリガとしてカウンタ521が出力するカウント値を読み込んで記憶する。そして、CPU56は、乱数値記憶回路531が記憶するランダムRの値を読み出す。   Specifically, when the second random number update method is selected, the counter 521 updates the count value C using the input of the random number generation clock signal SI1 as a trigger. Thereafter, when the random value fetch data “01 (H)” is written in the random value fetch register 539, the latch signal generation circuit 533 outputs the latch signal SL to the random value storage circuit 531. Then, the random value storage circuit 531 reads and stores the count value output from the counter 521 with the input of the latch signal SL as a trigger. Then, the CPU 56 reads the value of random R stored in the random value storage circuit 531.

なお、タイマ回路534が乱数値取込データ「01(H)」を乱数値取込レジスタ539に書き込まなければ、カウンタ521がカウント値を更新しても、乱数値記憶回路531は、カウンタ521が更新する乱数値を記憶しない。例えば、タイマ回路534が乱数値取込データ「01(H)」を乱数値取込レジスタ539に書き込み、カウンタ521が出力するカウント値「3」を乱数値記憶回路531に取り込ませて、乱数値記憶回路531が記憶するランダムRの値「3」を更新させたとする。この場合、タイマ回路534が乱数値取込データ「01(H)」を再び乱数値取込レジスタ539に書き込まなければ、カウンタ521が出力するカウント値が「3」から「4」や「5」に更新されても、乱数値記憶回路531が記憶する乱数値は更新されず、乱数値記憶回路531から読み出される乱数値は「3」のままである。   Note that if the timer circuit 534 does not write the random number value capture data “01 (H)” to the random value capture register 539, even if the counter 521 updates the count value, the random value storage circuit 531 Don't remember random numbers to update. For example, the timer circuit 534 writes the random value fetch data “01 (H)” into the random value fetch register 539, and the count value “3” output from the counter 521 is fetched into the random value storage circuit 531 so that the random value Assume that the random R value “3” stored in the storage circuit 531 is updated. In this case, if the timer circuit 534 does not write the random value fetch data “01 (H)” again in the random value fetch register 539, the count value output from the counter 521 is “3” to “4” or “5”. Is updated, the random value stored in the random value storage circuit 531 is not updated, and the random value read from the random value storage circuit 531 remains “3”.

カウント値順列変更プログラム554は、カウント値順列変更レジスタ536にカウント値順列変更データ「01(H)」を書き込んで、乱数値記憶回路531が記憶するカウント値の順列を変更させるカウント値順列変更処理を実行するためのプログラムである。CPU56は、カウント値順列変更プログラム554に従って処理を実行することによって、数値データ順列変更手段として機能する。CPU56は、カウント値順列変更プログラム554を実行して、カウント値順列変更レジスタ536にカウント値順列変更データ「01(H)」を書き込むことによって、カウント値順列変更回路523が出力し乱数値記憶回路531に入力されるカウント値の順列を変更させる。   The count value permutation change program 554 writes the count value permutation change data “01 (H)” in the count value permutation change register 536, and changes the count value permutation stored in the random value storage circuit 531. It is a program for executing. The CPU 56 functions as numerical data permutation changing means by executing processing according to the count value permutation changing program 554. The CPU 56 executes the count value permutation change program 554 and writes the count value permutation change data “01 (H)” in the count value permutation change register 536, so that the count value permutation change circuit 523 outputs the random number value storage circuit. The permutation of the count values input to 531 is changed.

また、遊技制御用マイクロコンピュータ560は、図26に示すように、特図保留メモリ570と、大当り判定用テーブルメモリ571と、フラグメモリ572と、始動入賞口スイッチタイマメモリ573とを備える。   Further, as shown in FIG. 26, the game control microcomputer 560 includes a special figure holding memory 570, a big hit determination table memory 571, a flag memory 572, and a start winning port switch timer memory 573.

特図保留メモリ570は、遊技球が可変入賞球装置15に入賞して特別図柄の可変表示の実行条件は成立したが、未だ可変表示の開始条件が成立していない(例えば、特別図柄表示装置8がまだ可変表示を実行中である)可変表示の実行条件の成立回数を含む保留データを記憶するためのメモリ(保存領域)である。特図保留メモリ570は、4つのエントリを備え、各エントリには、遊技球が可変入賞球装置15に入賞した順に、保留番号と、入賞に応じて乱数値記憶回路531から読み出したランダムRの値とが対応付けて格納される。また、特別図柄表示装置8における特別図柄の可変表示が1回終了したり、大当り遊技状態が終了したりするごとに、特図保留メモリ570の最上位の情報にもとづいた可変表示の開始条件が成立し、特図保留メモリ570最上位の情報にもとづいた可変表示が実行される。この場合、特別図柄の可変表示の開始条件が成立すると、特図保留メモリ570の第2位以下に登録されている情報が1位ずつ繰り上がる。また、特別図柄の可変表示中に遊技球が可変入賞球装置15に新たに入賞した場合には、その新たな入賞にもとづいて乱数値記憶回路531から読み出されたランダムRの値が、特図保留メモリ570の空エントリに登録される。   In the special figure holding memory 570, the game ball wins the variable winning ball device 15 and the execution condition of the variable symbol variable display is satisfied, but the variable display start condition is not yet satisfied (for example, the special symbol display device). 8 is a memory (storage area) for storing pending data including the number of times the execution condition for variable display is satisfied (8 is still executing variable display). The special figure holding memory 570 includes four entries. Each entry includes a holding number and a random R read from the random number storage circuit 531 according to the winning order in the order in which the game balls win the variable winning ball device 15. A value is stored in association with each other. In addition, each time the special symbol variable display in the special symbol display device 8 is finished once or the big hit gaming state is finished, the variable display start condition based on the top information of the special symbol holding memory 570 is set. It is established, and variable display based on the top information of the special figure holding memory 570 is executed. In this case, when the condition for starting the variable display of special symbols is satisfied, the information registered in the second or lower place in the special figure holding memory 570 is moved up by one place. In addition, when a game ball newly wins the variable winning ball apparatus 15 during the variable display of the special symbol, the value of the random R read from the random value storage circuit 531 based on the new winning is the special R value. It is registered in the empty entry in the figure holding memory 570.

大当り判定用テーブルメモリ571は、CPU56が特別図柄表示装置8の表示結果を大当り図柄とするか否かを判定するために用いる複数の大当り判定テーブルを記憶する。具体的には、大当り判定用テーブルメモリ571は、図27(A)に示すように、確変状態以外の遊技状態(通常状態という)において用いられる通常時大当り判定テーブル571aを記憶する。また、大当り判定用テーブルメモリ571は、図27(B)に示すように、確変状態において用いられる確変時大当り判定テーブル571bを格納する。なお、図27に示す判定テーブルを用いて大当り判定を行う場合、乱数最大値設定レジスタ535に設定された乱数最大値によって大当りと判定する確率が大きく変化することになる。この場合、例えば、誤動作により最大値が設定されてしまったとき等に、設定される乱数最大値が小さすぎると、通常時大当り判定テーブル571aを用いた場合と、確変時大当り判定テーブル571bを用いた場合とで、大当りと判定する確率の差が小さくなってしまい、遊技者の遊技に対する興味を減退させてしまうことになる。そのため、乱数回路503および乱数最大値に対応づけて、複数の判定テーブル(複数の通常時大当り判定用テーブル571aおよび複数の確変時大当たり判定用テーブル571b)を大当り判定用テーブルメモリ571に記憶してもよい。そして、遊技制御用マイクロコンピュータ560のCPU56は、大当り判定用テーブルメモリ571が記憶する判定テーブルのうち、使用する乱数回路503および乱数最大値に対応する判定テーブル571a,571bを用いて、表示結果決定プログラム552に従って、特別図柄表示装置8の表示結果を大当り図柄とするか否かを判定するようにしてもよい。そのようにすることによって、使用する乱数回路503の種類や乱数最大値が異なっても、大当たりと判定する確率がある程度同じになるように制御することができる。   The jackpot determination table memory 571 stores a plurality of jackpot determination tables used by the CPU 56 to determine whether or not the display result of the special symbol display device 8 is a jackpot symbol. Specifically, as shown in FIG. 27A, the big hit determination table memory 571 stores a normal time big hit determination table 571a used in a gaming state (referred to as a normal state) other than the probability variation state. Further, as shown in FIG. 27B, the jackpot determination table memory 571 stores a probability change big hit determination table 571b used in the probability change state. When the big hit determination is performed using the determination table shown in FIG. 27, the probability of determining a big hit depends on the random number maximum value set in the random number maximum value setting register 535. In this case, for example, when the maximum value is set too small when the maximum value is set due to a malfunction, for example, when the normal big hit determination table 571a is used and when the probability change big hit determination table 571b is used. The difference in the probability of determining a big hit will be small, and the player's interest in the game will be reduced. Therefore, a plurality of determination tables (a plurality of normal time big hit determination tables 571a and a plurality of probability variation big hit determination tables 571b) are stored in the big hit determination table memory 571 in association with the random number circuit 503 and the maximum random number. Also good. The CPU 56 of the game control microcomputer 560 determines the display result by using the random number circuit 503 to be used and the determination tables 571a and 571b corresponding to the maximum random number among the determination tables stored in the jackpot determination table memory 571. In accordance with the program 552, it may be determined whether or not the display result of the special symbol display device 8 is a jackpot symbol. By doing so, even if the type of random number circuit 503 to be used and the maximum random number value are different, it is possible to control so that the probability of determining a jackpot is the same to some extent.

フラグメモリ572には、遊技の進行を制御する遊技制御処理において用いられる各種のフラグが設定される。例えば、フラグメモリ572には、遊技状態が確変状態であることを示す確変フラグや、大当り状態であることを示す大当りフラグが設定される。   In the flag memory 572, various flags used in the game control process for controlling the progress of the game are set. For example, in the flag memory 572, a probability change flag indicating that the gaming state is a probability change state and a big hit flag indicating that the game state is a big hit state are set.

始動口スイッチタイマメモリ573は、始動口スイッチ14aから入力される入賞検出信号SSに応じて加算またはクリアされるタイマ値を記憶する。   The start port switch timer memory 573 stores a timer value that is added or cleared in accordance with the winning detection signal SS input from the start port switch 14a.

ここで、「なりすまし基板」について説明する。「なりすまし基板」とは、パチンコ遊技機の主基板に「なりすまして」大当りを発生させる等の不正な制御を実行する不正回路基板を意味する。   Here, the “spoofed substrate” will be described. The “spoofing board” means an illegal circuit board that executes illegal control such as “spoofing” to generate a big hit on the main board of a pachinko machine.

従来から、マイクロコンピュータに各種の処理を実行させるための制御プログラムが格納されたROMを交換し、不正に大当りを発生させる不正行為が行われていた。このため、ROMが交換されないように、ROMをマイクロコンピュータに内蔵させて1チップマイクロコンピュータ化するとともに、ROMの格納データにより所定の演算を行い、その演算結果により正規なROMか否かを確認するセキュリティチェックを行うようにしていた。   Conventionally, an illegal act of illegally generating a big hit by exchanging a ROM storing a control program for causing a microcomputer to execute various processes. For this reason, in order to prevent the ROM from being replaced, the ROM is built into the microcomputer to be a one-chip microcomputer, and a predetermined calculation is performed based on the data stored in the ROM. A security check was performed.

ところが、1チップマイクロコンピュータ自体を偽造して、正規のマイクロコンピュータと交換し、不正に大当りを発生させる不正行為が行われるようになった。これに対応して、マイクロコンピュータが交換されたときの痕跡が残るように、主基板を格納する基板ボックスを封止することとし、基板ボックスが開封されたことがわかるようにした遊技機が用いられるようになった。   However, the one-chip microcomputer itself has been counterfeited and replaced with a regular microcomputer, and fraudulent acts that illegally generate big hits have been performed. Correspondingly, a board box that stores the main board is sealed so that a trace is left when the microcomputer is replaced, and a gaming machine that can be seen that the board box has been opened is used. It came to be able to.

しかし、始動口スイッチと主基板との間の配線に不正回路基板を取り付けて、大当り判定用乱数の大当り判定値のタイミングで不正に始動入賞を発生させる不正行為が行われるようになった。これに対応して、大当り判定用乱数の初期値を変更させて大当り判定値と一致するタイミングをずらすものや、高速で更新するハードウェア乱数が用いられるようになった。   However, a fraudulent act in which an unauthorized circuit board is attached to the wiring between the start port switch and the main board and the start prize is illegally generated at the timing of the big hit judgment value of the big hit judgment random number has been performed. Correspondingly, the initial value of the jackpot determination random number is changed to shift the timing coincident with the jackpot determination value, or the hardware random number updated at high speed is used.

その後、主基板を格納する基板ボックスを不正回路を搭載した基板に交換して不正に大当りを発生させる行為が行われるようになった。これに対応して、マイクロコンピュータに主基板の外部に設置された照合機を接続し、正規のマイクロコンピュータであるか否かを照合する機能を持たせ、不正回路基板の発見が容易となるようにするようになった。   Thereafter, an act of illegally generating a big hit by replacing the board box storing the main board with a board on which an illegal circuit is mounted has been performed. Correspondingly, a verification machine installed outside the main board is connected to the microcomputer so that it has a function of checking whether it is a legitimate microcomputer, so that it is easy to find an illegal circuit board. Came to be.

ところが、正規の主基板は遊技機に残したままで、電源だけを供給し正規のマイクロコンピュータの照合機能は生かしつつ、入賞・大当り等その他の主基板の機能を主基板の代わりに実行する「なりすまし基板」を主基板の裏側に設置し、不正に大当りを発生させる不正行為が発生するようになった。   However, while the regular main board is left in the gaming machine, only the power is supplied and the verification function of the regular microcomputer is utilized, while other main board functions such as winning and jackpot are executed instead of the main board. The “board” was installed on the back side of the main board, and fraudulent acts that illegally generated big hits occurred.

図28は、なりすまし基板が遊技機に設置された状態の例を示すブロック図である。図28に示すように、なりすまし基板31Xは、主基板31と、主基板31と信号のやりとりを行う他の電気部品制御基板(この実施の形態では、演出制御基板80、払出制御基板37)との間に設置される。そして、主基板31と信号のやりとりを行う他の電気部品制御基板は、主基板31ではなく、なりすまし基板31Xと信号のやりとりを行うこととなる。また、一例として、なりすまし基板31Xから主基板31に対して電源電力が供給される。   FIG. 28 is a block diagram illustrating an example of a state in which an impersonation board is installed in a gaming machine. As shown in FIG. 28, the spoofing board 31X includes a main board 31 and other electric component control boards that exchange signals with the main board 31 (in this embodiment, the effect control board 80 and the payout control board 37). It is installed between. Then, the other electrical component control board that exchanges signals with the main board 31 exchanges signals with the spoofing board 31X instead of the main board 31. As an example, power supply power is supplied to the main board 31 from the spoofing board 31X.

なりすまし基板31Xは、一般に、正規の主基板31のコネクタを全部抜き、基板ボックスの裏に隠して設置される。主基板31側のコネクタをはずすとすぐに発見されるため、主基板31に接続されている相手側基板のコネクタを抜く。これにより、見た目上は、主基板31の異常は発見されにくい。そして、主基板31に接続されていた電気部品をなりすまし基板31Xにすべて接続させる。さらに、なりすまし基板31Xから正規の主基板31に電源を供給する配線を接続する。よって、遊技制御用マイクロコンピュータ560の照合機能(認証信号を出力する機能)が動作するので、照合機365を用いて照合を行った場合に、認証対象がなりすまし基板31Xではなく主基板31となるため、照合結果はOKになる。   The spoofing board 31X is generally installed by removing all the connectors of the regular main board 31 and hiding them behind the board box. Since it is discovered as soon as the connector on the main board 31 side is removed, the connector on the mating board connected to the main board 31 is removed. As a result, an abnormality of the main board 31 is hardly detected visually. Then, all the electrical components connected to the main board 31 are connected to the spoofing board 31X. Further, wiring for supplying power from the spoofing board 31X to the regular main board 31 is connected. Therefore, since the verification function (function to output an authentication signal) of the game control microcomputer 560 operates, when verification is performed using the verification machine 365, the authentication target becomes the main board 31 instead of the spoofing board 31X. Therefore, the collation result is OK.

そして、なりすまし基板31Xを主基板31の裏側に隠す。パチンコ遊技機に搭載される主基板31は、基板自体に不正回路が搭載されていないかを容易に発見させる目的で、部品の実装は片面実装とされ、さらに面実装部品の使用ができないので基板自体が比較的大きい。よって、主基板31と同程度の性能を有する制御基板を、両面実装とし、その面実装部品により作成すると、正規の主基板31より小さくすることができる。すなわち、主基板31と同程度の性能を有する「なりすまし基板」を、主基板31より小さく作成することができる。このため、「なりすまし基板」を主基板31の裏側に隠して設置することが容易にできてしまう。   Then, the impersonation substrate 31X is hidden behind the main substrate 31. The main board 31 mounted on the pachinko gaming machine is a single-sided mounting for the purpose of easily discovering whether an illegal circuit is mounted on the board itself, and the surface mounting parts cannot be used. It is relatively large. Therefore, if the control board having the same performance as the main board 31 is mounted on both sides and is made of the surface mounting components, the control board can be made smaller than the regular main board 31. In other words, an “spoofed substrate” having performance equivalent to that of the main substrate 31 can be made smaller than the main substrate 31. For this reason, the “spoofed substrate” can be easily installed hidden behind the main substrate 31.

図29は、主基板31を収容する遊技制御基板ボックスを簡略化して示す正面図である。主基板31は、遊技機裏面において、遊技制御基板ボックスに収容されている。すなわち、収納手段としての遊技制御基板ボックスに主基板31が収納され、それらが組み合わされた遊技制御ユニットの形で遊技機に取り付けられている。遊技制御基板ボックスは、主基板31が収容されたボックス本体31Aが蓋部31Bで覆われる構造である。蓋部31Bは、取付部31D,31Eのそれぞれにおける1箇所の取付穴にねじ込まれたワンウェイねじとその他のねじ(図示せず)でボックス本体31Aに固着される。ワンウェイねじとは、ねじ締め方向にしか回らないねじであり、遊技制御基板ボックスを開封不能とする固着手段の一例である。従って、一旦締め付けるとねじを取り外すことはできない。遊技制御基板ボックスは、ボックス本体31Aと蓋部31Bとの接合部分がねじ等の例えば金具によって固くとめられた「かしめ構造」を成している。   FIG. 29 is a front view schematically showing a game control board box that accommodates the main board 31. The main board 31 is accommodated in the game control board box on the back of the gaming machine. That is, the main board 31 is housed in a game control board box as a housing means, and is attached to the gaming machine in the form of a game control unit in which they are combined. The game control board box has a structure in which a box body 31A in which the main board 31 is accommodated is covered with a lid portion 31B. The lid 31B is fixed to the box body 31A with a one-way screw and other screws (not shown) screwed into one mounting hole in each of the mounting portions 31D and 31E. The one-way screw is a screw that turns only in the screw tightening direction, and is an example of a fixing unit that makes the game control board box unopenable. Therefore, once tightened, the screw cannot be removed. The game control board box has a “caulking structure” in which a joint portion between the box main body 31A and the lid portion 31B is firmly fastened by, for example, a metal fitting such as a screw.

蓋部31Bをボックス本体31Aから外して主基板31を露出させようとする場合には、取付部31D,31Eにおけるワンウェイねじの取付部分(蓋部31Bとの取付部分)を切断する必要がある。従って、取付部分の切断の履歴から主基板31が露出された回数がわかる。管理者等が把握している取付部分の切断の履歴(回数)よりも実際の切断の回数が多い場合には、蓋部31Bが不正に外されて主基板13が露出され、遊技制御用マイクロコンピュータが不正マイクロコンピュータに交換された可能性があることがわかる。なお、取付部31D,31Eにはそれぞれ3箇所の取付穴が設けられているので、蓋部31Bを3回まで外すことができる。   When the main board 31 is to be exposed by removing the lid 31B from the box body 31A, it is necessary to cut off the one-way screw attachment portions (attachment portions with the lid portion 31B) in the attachment portions 31D and 31E. Therefore, the number of times the main board 31 is exposed can be found from the cutting history of the mounting portion. When the actual number of times of cutting is larger than the cutting history (number of times) of the attachment portion known by the administrator or the like, the lid 31B is illegally removed and the main board 13 is exposed, and the game control micro It can be seen that the computer may have been replaced with an unauthorized microcomputer. Since the attachment portions 31D and 31E are each provided with three attachment holes, the lid portion 31B can be removed up to three times.

また、蓋部31Bの不正取り外し防止のために、蓋部31Bとボックス本体31Aとの間に、ホログラムがプリントされた封印シール31F,31Gが貼着される。封印シール31F,31Gを剥がすと蓋部31Bおよびボックス本体31Aにホログラムが部分的に残るので、剥がされたことが一目でわかる。このことからも、蓋部31Bをボックス本体31Aから不正に取り外して主基板31を露出させようとしたことがわかる。   Further, in order to prevent unauthorized removal of the lid portion 31B, sealing seals 31F and 31G on which holograms are printed are attached between the lid portion 31B and the box body 31A. When the seal seals 31F and 31G are peeled off, the hologram remains partially on the lid portion 31B and the box body 31A, so that it can be seen at a glance. This also shows that the lid 31B was illegally removed from the box body 31A to expose the main board 31.

さらに、蓋部31Bの表面には、紫外線が照射されると蛍光発光する特殊蛍光インクによって印刷が施された領域366がある。領域366における印刷は、通常状態では視認不能であるが、紫外線を照射すると、領域366における印刷内容が蛍光発光して印刷内容が視認される。そして、領域366があること、および領域366の印刷内容は公表されない。   Further, the surface of the lid portion 31B has a region 366 printed with special fluorescent ink that emits fluorescence when irradiated with ultraviolet rays. The printing in the region 366 is not visible in a normal state, but when the ultraviolet ray is irradiated, the printed content in the region 366 is fluorescent and the printed content is visually recognized. The presence of the area 366 and the print contents of the area 366 are not disclosed.

遊技制御基板ボックスが偽物(不正遊技制御用マイクロコンピュータが搭載された偽遊技制御基板ボックス)と交換された場合、偽遊技制御基板ボックスには領域366は存在しないので、紫外線を照射することによって、遊技制御基板ボックスの真偽を判定することができる。偽遊技制御基板ボックスに紫外線を照射しても、領域366における印刷内容が発光することがないからである。   When the game control board box is replaced with a fake (fake game control board box equipped with a fraudulent game control microcomputer), the area 366 does not exist in the fake game control board box. The authenticity of the game control board box can be determined. This is because even if the false game control board box is irradiated with ultraviolet rays, the printed content in the region 366 does not emit light.

なお、この実施の形態では、遊技制御基板ボックスの表面に特殊蛍光インクによって印刷が施された領域366を設けたが、遊技制御基板ボックスに収納されている遊技制御用マイクロコンピュータ560の表面に、特殊蛍光インクによって印刷を施してもよい。   In this embodiment, the area 366 printed with the special fluorescent ink is provided on the surface of the game control board box, but on the surface of the game control microcomputer 560 accommodated in the game control board box, Printing may be performed with special fluorescent ink.

また、特殊蛍光インクによって印刷を施すのではなく、遊技制御基板ボックスの所定箇所に変化を付けるようにしてもよい。例えば、取付部31D,31Eにおける3箇所の取付穴の形状をそれぞれ異なるようにしてもよい。その場合、一見しただけでは同形状に見えるが測定器で測定すると違いがわかる程度に変化を付ける。また、3箇所の取付穴の位置を等間隔に設けるのではなく、不等間隔にしてもよい。その場合、一見しただけでは等間隔に見えるが測定器で測定すると不等間隔であることがわかる程度に変化を付ける。さらに、遊技制御基板ボックスに複数の放熱用穴が設けられているときには、穴の形状をそれぞれ異なるようにしてもよい。その場合、一見しただけでは同形状に見えるが測定器で測定すると違いがわかる程度に変化を付ける。なお、穴の間隔や穴の形状等に違いがあることは公表されない。それ以外にも、遊技制御基板ボックスまたは主基板や遊技制御用マイクロコンピュータ560において、一見しただけでは視認できないような特殊な加工(例えば、視認しづらい位置にマーク等を伏しておく。)を施すようにしてもよい。   Further, instead of printing with the special fluorescent ink, a change may be made to a predetermined portion of the game control board box. For example, the shapes of the three attachment holes in the attachment portions 31D and 31E may be different from each other. In that case, the shape looks the same at first glance, but changes so that the difference can be seen when measured with a measuring instrument. Further, the positions of the three mounting holes are not provided at regular intervals, but may be at irregular intervals. In that case, it appears to be equally spaced at first glance, but changes to such an extent that it can be seen that it is unequal when measured with a measuring instrument. Furthermore, when the game control board box is provided with a plurality of heat radiation holes, the shapes of the holes may be different from each other. In that case, the shape looks the same at first glance, but changes so that the difference can be seen when measured with a measuring instrument. In addition, it is not announced that there is a difference in the interval of holes or the shape of holes. In addition, the game control board box or the main board or the game control microcomputer 560 performs special processing that cannot be seen at first glance (for example, a mark or the like is placed at a position that is difficult to see). You may do it.

遊技制御基板ボックスをそのように構成にすると、遊技制御基板ボックスが偽遊技制御基板ボックスと交換された場合、本来の穴の間隔や穴の形状等に違いがあることを知らない限り、偽遊技制御基板ボックスにおいて穴の間隔や穴の形状等に違いを付けることは考えづら。また、本来の遊技制御基板ボックスに施されている特殊な加工と同じ加工をすることは考えづら。すなわち、偽遊技制御基板ボックスと交換された場合、そこには穴の間隔や穴の形状等に違いがないことになるので、または特殊な加工が存在しないことになるので、穴の間隔や穴の形状等を測定することによって、または特殊な加工の有無によって、遊技制御基板ボックスの真偽を判定することができる。   If the game control board box is configured in this way, when the game control board box is replaced with a fake game control board box, the fake game will be used unless it is known that there is a difference in the original hole interval or hole shape. It is hard to think of making a difference in hole spacing, hole shape, etc. in the control board box. Also, it's hard to think of doing the same special processing that is done on the original game control board box. That is, when it is replaced with a fake game control board box, there will be no difference in the hole interval, hole shape, etc., or there will be no special processing, so the hole interval or hole The true / false of the game control board box can be determined by measuring the shape of the game or the presence or absence of special processing.

また、この実施の形態では、蓋部31Bに、機種名シール31aと検査履歴シール31bとが貼付されている。検査履歴シール31bには、主基板31の検査、修理、交換等の際に記入される「検査者」の欄と「検査日」の欄とが設けられているが、この例では、遊技機管理番号も記載されている。遊技機管理番号は、例えば遊技制御基板ボックスのユニット番号(各遊技制御ユニットに固有に付与された番号)である。   In this embodiment, a model name sticker 31a and an inspection history sticker 31b are attached to the lid 31B. The inspection history seal 31b is provided with an “inspector” field and an “inspection date” field that are filled in when the main board 31 is inspected, repaired, or exchanged. In this example, the gaming machine A management number is also listed. The gaming machine management number is, for example, a unit number of a gaming control board box (a number uniquely assigned to each gaming control unit).

また、この実施の形態では、図29に示すように、蓋部31Bに、中断ボタン361を突出させるための孔(開口部)が設けられ、その孔から中断ボタン361の押下操作部が露出している。   Further, in this embodiment, as shown in FIG. 29, a hole (opening) for projecting the interruption button 361 is provided in the lid part 31B, and the pressing operation part of the interruption button 361 is exposed from the hole. ing.

なお、主基板31におけるコネクタ部分は蓋部31Bの外部に露出している。図29に示された例では、識別情報入出力のためのコネクタ31Cが例示されている。しかし、主基板31には、他の基板等との接続のための他のコネクタも搭載されている。   The connector portion of the main board 31 is exposed outside the lid portion 31B. In the example shown in FIG. 29, a connector 31C for inputting / outputting identification information is illustrated. However, the main board 31 is also mounted with other connectors for connection with other boards.

上記のように、主基板31が、開封不能な固着手段によって封止された基板ボックス内に収納され、中断ボタン361の押下操作部が、基板ボックスに設けられた開口部に設置されるように構成されているので、なりすまし基板が設置されている場合に、中断ボタン361からの遊技制御処理中断信号を確実に主基板31に入力させることができる。よって、なりすまし基板が設置されている場合に、中断ボタン361からの遊技制御処理中断信号がなりすまし基板に入力され、なりすまし基板が設置されているにもかかわらず遊技が中断されてしまうことを防止することができる。   As described above, the main board 31 is accommodated in the board box sealed by the unsealing fixing means, and the pressing operation part of the interruption button 361 is installed in the opening provided in the board box. Since it is configured, a game control process interruption signal from the interruption button 361 can be surely input to the main board 31 when an impersonation board is installed. Therefore, when an impersonation board is installed, a game control processing interruption signal from the interruption button 361 is input to the impersonation board, and the game is prevented from being interrupted even though the impersonation board is installed. be able to.

図30は、主基板31に搭載された中断ボタン361の搭載状態および状態報知LED61の設置状態の例を示す説明図である。図30には、遊技制御基板ボックスに収納された主基板31に中断ボタン361および状態報知LED61が搭載されているときの主基板31および遊技制御基板ボックスの蓋部31Bの断面が示されている。図30に示すように、中断ボタン361は、ボタンの押下操作部分が遊技制御基板ボックスの蓋部31Bに設けられた孔(図29参照)から露出した状態で、主基板31の基板上に搭載される。よって、主基板31が遊技制御基板ボックス内に密封されていても、中断ボタン361を押下することが可能となる。なお、中断ボタン361は、主基板31に設けられていればよく、遊技制御基板ボックスの蓋部31Bに設けられた孔から突出した状態、またはその孔から臨む遊技制御基板ボックス内に位置させるようにしてもよい。   FIG. 30 is an explanatory diagram showing an example of a mounting state of the interruption button 361 mounted on the main board 31 and an installation state of the state notification LED 61. FIG. 30 shows a cross section of the main board 31 and the lid 31B of the game control board box when the interrupt button 361 and the state notification LED 61 are mounted on the main board 31 housed in the game control board box. . As shown in FIG. 30, the interrupt button 361 is mounted on the board of the main board 31 in a state where the button pressing operation part is exposed from a hole (see FIG. 29) provided in the lid part 31B of the game control board box. Is done. Therefore, even if the main board 31 is sealed in the game control board box, the interrupt button 361 can be pressed. The interrupt button 361 only needs to be provided on the main board 31, and is positioned so as to protrude from the hole provided in the lid portion 31B of the game control board box or in the game control board box facing the hole. It may be.

また、遊技制御基板ボックスの蓋部31Bに設けられた孔と中断ボタン361の押下操作部との間の隙間は、極力狭くすることが望ましい。すなわち、遊技制御基板ボックスの蓋部31Bに設けられた孔は、遊技制御基板ボックスの密封状態を確保するため、中断ボタン361によって大部分が塞がれるように形成される。例えば、遊技制御基板ボックスの蓋部31Bに設けられた孔の内壁に、中断ボタン361の押下操作部分の外壁が押下操作可能に接触した状態となるようにしてもよい。また、中断ボタン361を覆う柔軟性のある材質のカバーを、遊技制御基板ボックスの蓋部31Bに設けられた孔を塞ぎ、かつ中断ボタン361の押下操作可能な状態で、破壊等されない限り外れないように設置するようにしてもよい。このように、遊技制御基板ボックスの蓋部31Bに設けられた孔と中断ボタン361の押下操作部との間の隙間を極力狭くしたり、カバーによって完全に塞ぐようにすれば、遊技制御基板ボックスが破壊などされない限り主基板31の配線の変更等を行うことが不可能となるため、主基板31からの信号が取り出されてなりすまし基板などの外部に出力されることを防止することができる。   Further, it is desirable that the gap between the hole provided in the lid portion 31B of the game control board box and the pressing operation portion of the interruption button 361 be as narrow as possible. In other words, the hole provided in the lid portion 31B of the game control board box is formed so as to be largely blocked by the interrupt button 361 in order to ensure the sealed state of the game control board box. For example, the outer wall of the pressing operation portion of the interruption button 361 may come into contact with the inner wall of the hole provided in the lid portion 31B of the game control board box so that the pressing operation can be performed. Further, a cover made of a flexible material that covers the interruption button 361 does not come off unless it is broken in a state where the hole provided in the lid portion 31B of the game control board box is closed and the interruption button 361 can be pressed. You may make it install so. In this way, if the gap between the hole provided in the lid portion 31B of the game control board box and the pressing operation part of the interruption button 361 is made as narrow as possible, or if it is completely closed by the cover, the game control board box Since it is impossible to change the wiring of the main board 31 unless it is destroyed, it is possible to prevent the signal from the main board 31 from being taken out and output to the outside of the spoofed board or the like.

なお、一般に遊技制御基板ボックスの蓋部31Bは透明(着色されている場合もあるが、その場合でも、外部から遊技制御基板ボックスの内部を視認することは可能である。)であるから、主基板31に設置されている状態報知LED61の点灯状態を、遊技制御基板ボックスの外部から視認することができる。また、この実施の形態では、状態報知LED61は主基板31に設置されているが、遊技制御基板ボックス内において、主基板31以外の箇所に設置してもよい。   In general, the lid 31B of the game control board box is transparent (in some cases, it may be colored, but even in that case, the inside of the game control board box can be visually recognized from the outside). The lighting state of the state notification LED 61 installed on the board 31 can be viewed from the outside of the game control board box. Further, in this embodiment, the state notification LED 61 is installed on the main board 31, but may be installed in a place other than the main board 31 in the game control board box.

次に遊技機の動作について説明する。図31および図32は、遊技機に対して電力供給が開始され遊技制御用マイクロコンピュータ560へのリセット信号がハイレベルになったことに応じて遊技制御用マイクロコンピュータ560(具体的には、CPU56)が実行するメイン処理を示すフローチャートである。リセット信号が入力されるリセット端子の入力レベルがハイレベルになると、CPU56は、プログラムの内容が正当か否かを確認するための処理であるセキュリティチェック処理を実行した後、ステップS1以降のメイン処理を開始する。メイン処理において、CPU56は、まず、必要な初期設定を行う。   Next, the operation of the gaming machine will be described. FIG. 31 and FIG. 32 show the game control microcomputer 560 (specifically, the CPU 56 in response to the fact that power supply to the game machine is started and the reset signal to the game control microcomputer 560 becomes high level. This is a flowchart showing the main process executed by. When the input level of the reset terminal to which the reset signal is input becomes a high level, the CPU 56 executes a security check process that is a process for confirming whether the contents of the program are valid, and then performs a main process after step S1. To start. In the main process, the CPU 56 first performs necessary initial settings.

初期設定処理において、CPU56は、まず、割込禁止に設定する(ステップS1)。次に、マスク可能割込の割込モードを設定し(ステップS2)、スタックポインタにスタックポインタ指定アドレスを設定する(ステップS3)。なお、ステップS2では、CPU56の特定レジスタ(Iレジスタ)の値(1バイト)と内蔵デバイスが出力する割込ベクタ(1バイト:最下位ビット0)から合成されるアドレスが、割込番地を示すモードに設定する。また、マスク可能な割込が発生すると、CPU56は、自動的に割込禁止状態に設定するとともに、プログラムカウンタの内容をスタックにセーブする。   In the initial setting process, the CPU 56 first sets the interrupt prohibition (step S1). Next, an interrupt mode for maskable interrupts is set (step S2), and a stack pointer designation address is set for the stack pointer (step S3). In step S2, the address synthesized from the value (1 byte) of the specific register (I register) of the CPU 56 and the interrupt vector (1 byte: least significant bit 0) output from the built-in device indicates the interrupt address. Set to mode. When a maskable interrupt occurs, the CPU 56 automatically sets the interrupt disabled state and saves the contents of the program counter in the stack.

次いで、内蔵デバイスレジスタの設定(初期化)を行う(ステップS4)。ステップS4の処理によって、内蔵デバイス(内蔵周辺回路)であるCTC(カウンタ/タイマ)およびPIO(パラレル入出力ポート)の設定(初期化)を行う。この実施の形態で用いられる遊技制御用マイクロコンピュータ560は、I/Oポート(PIO)およびタイマ/カウンタ回路(CTC)504も内蔵している。   Next, the built-in device register is set (initialized) (step S4). By the processing in step S4, CTC (counter / timer) and PIO (parallel input / output port) which are built-in devices (built-in peripheral circuits) are set (initialized). The game control microcomputer 560 used in this embodiment also incorporates an I / O port (PIO) and a timer / counter circuit (CTC) 504.

次いで、CPU56は、認証信号(主基板31に一意に与えられている基板ID)を照合端子364に対して出力するとともに(ステップS81)、RAM55をアクセス可能状態に設定する(ステップS5)。   Next, the CPU 56 outputs an authentication signal (board ID uniquely given to the main board 31) to the verification terminal 364 (step S81), and sets the RAM 55 in an accessible state (step S5).

次に、CPU56は、入力ポートを介して入力されるクリアスイッチ(例えば、電源基板に搭載されている。)の出力信号の状態を確認する(ステップS6)。その確認においてオンを検出した場合には、CPU56は、通常の初期化処理を実行する(ステップS10〜S15)。   Next, the CPU 56 checks the state of the output signal of the clear switch (for example, mounted on the power supply board) input via the input port (step S6). When the on-state is detected in the confirmation, the CPU 56 executes normal initialization processing (steps S10 to S15).

クリアスイッチがオンの状態でない場合には、遊技機への電力供給が停止したときにバックアップRAM領域のデータ保護処理(例えばパリティデータの付加等の電力供給停止時処理)が行われたか否か確認する(ステップS7)。そのような保護処理が行われていないことを確認したら、CPU56は初期化処理を実行する。バックアップRAM領域にバックアップデータがあるか否かは、例えば、電力供給停止時処理においてバックアップRAM領域に設定されるバックアップフラグの状態によって確認される。   If the clear switch is not on, check whether data protection processing of the backup RAM area (for example, power supply stop processing such as addition of parity data) was performed when power supply to the gaming machine was stopped (Step S7). When it is confirmed that such protection processing is not performed, the CPU 56 executes initialization processing. Whether there is backup data in the backup RAM area is confirmed, for example, by the state of the backup flag set in the backup RAM area in the power supply stop process.

電力供給停止時処理が行われたことを確認したら、CPU56は、バックアップRAM領域のデータチェックを行う(ステップS8)。この実施の形態では、データチェックとしてパリティチェックを行う。よって、ステップS8では、算出したチェックサムと、電力供給停止時処理で同一の処理によって算出され保存されているチェックサムとを比較する。不測の停電等の電力供給停止が生じた後に復旧した場合には、バックアップRAM領域のデータは保存されているはずであるから、チェック結果(比較結果)は正常(一致)になる。チェック結果が正常でないということは、バックアップRAM領域のデータが、電力供給停止時のデータとは異なっていることを意味する。そのような場合には、内部状態を電力供給停止時の状態に戻すことができないので、電力供給の停止からの復旧時でない電源投入時に実行される初期化処理を実行する。   When it is confirmed that the power supply stop process has been performed, the CPU 56 performs data check of the backup RAM area (step S8). In this embodiment, a parity check is performed as a data check. Therefore, in step S8, the calculated checksum is compared with the checksum calculated and stored by the same process in the power supply stop process. When the power supply is stopped after an unexpected power failure or the like, the data in the backup RAM area should be saved, so the check result (comparison result) is normal (matched). That the check result is not normal means that the data in the backup RAM area is different from the data when the power supply is stopped. In such a case, since the internal state cannot be returned to the state when the power supply is stopped, an initialization process that is executed when the power is turned on is not performed when the power supply is stopped.

チェック結果が正常であれば、CPU56は、遊技制御手段の内部状態と演出制御手段等の電気部品制御手段の制御状態を電力供給停止時の状態に戻すための遊技状態復旧処理(ステップS41〜S43の処理)を行う。具体的には、ROM54に格納されているバックアップ時設定テーブルの先頭アドレスをポインタに設定し(ステップS41)、バックアップ時設定テーブルの内容を順次作業領域(RAM55内の領域)に設定する(ステップS42)。作業領域はバックアップ電源によって電源バックアップされている。バックアップ時設定テーブルには、作業領域のうち初期化してもよい領域についての初期化データが設定されている。ステップS41およびステップS42の処理によって、作業領域のうち初期化してはならない部分については、保存されていた内容がそのまま残る。初期化してはならない部分とは、例えば、電力供給停止前の遊技状態を示すデータ(特別図柄プロセスフラグ、確変フラグなど)、出力ポートの出力状態が保存されている領域(出力ポートバッファ)、未払出賞球数を示すデータが設定されている部分などである。   If the check result is normal, the CPU 56 recovers the game state restoration process (steps S41 to S43) for returning the internal state of the game control means and the control state of the electrical component control means such as the effect control means to the state when the power supply is stopped. Process). Specifically, the start address of the backup setting table stored in the ROM 54 is set as a pointer (step S41), and the contents of the backup setting table are sequentially set in the work area (area in the RAM 55) (step S42). ). The work area is backed up by a backup power source. In the backup setting table, initialization data for an area that may be initialized in the work area is set. As a result of the processing in step S41 and step S42, the saved contents remain as they are in the portion of the work area that should not be initialized. The parts that should not be initialized include, for example, data indicating the gaming state before the power supply is stopped (special symbol process flag, probability change flag, etc.), the area where the output state of the output port is saved (output port buffer), This is a portion where data indicating the number of payout prize balls is set.

また、CPU56は、電力供給復旧時の初期化コマンドとしての停電復旧指定コマンドを送信する(ステップS43)。そして、ステップS14に移行する。   Further, the CPU 56 transmits a power failure recovery designation command as an initialization command at the time of power supply recovery (step S43). Then, the process proceeds to step S14.

なお、この実施の形態では、バックアップフラグとチェックデータとの双方を用いてバックアップRAM領域のデータが保存されているか否か確認しているが、いずれか一方のみを用いてもよい。すなわち、バックアップフラグとチェックデータとのいずれかを、遊技状態復旧処理を実行するための契機としてもよい。   In this embodiment, it is confirmed whether the data in the backup RAM area is stored using both the backup flag and the check data. However, only one of them may be used. That is, either the backup flag or the check data may be used as an opportunity for executing the game state restoration process.

初期化処理では、CPU56は、まず、RAMクリア処理を行う(ステップS10)。なお、RAMクリア処理によって、所定のデータ(例えば大当り判定用乱数を生成するためのカウンタのカウント値のデータ)は0に初期化されるが、任意の値またはあらかじめ決められている値に初期化するようにしてもよい。また、RAM55の全領域を初期化せず、所定のデータ(例えば大当り判定用乱数を生成するためのカウンタのカウント値のデータ)をそのままにしてもよい。また、ROM54に格納されている初期化時設定テーブルの先頭アドレスをポインタに設定し(ステップS11)、初期化時設定テーブルの内容を順次作業領域に設定する(ステップS12)。   In the initialization process, the CPU 56 first performs a RAM clear process (step S10). The RAM clear process initializes predetermined data (for example, count value data of a counter for generating a big hit determination random number) to 0, but is initialized to an arbitrary value or a predetermined value. You may make it do. Alternatively, the entire area of the RAM 55 may not be initialized, and predetermined data (for example, count value data of a counter for generating a big hit determination random number) may be left as it is. Further, the start address of the initialization setting table stored in the ROM 54 is set as a pointer (step S11), and the contents of the initialization setting table are sequentially set in the work area (step S12).

ステップS11およびS12の処理によって、例えば、特別図柄プロセスフラグや普通図柄プロセスフラグなど制御状態に応じて選択的に処理を行うためのフラグ(遊技状態を示すフラグ)に初期値が設定される。   By the processing in steps S11 and S12, for example, an initial value is set to a flag (a flag indicating a gaming state) for selectively performing processing according to a control state such as a special symbol process flag or a normal symbol process flag.

また、CPU56は、サブ基板(主基板31以外のマイクロコンピュータが搭載された基板。)を初期化するための初期化指定コマンド(遊技制御用マイクロコンピュータ560が初期化処理を実行したことを示すコマンドでもある。)をサブ基板に送信する(ステップS13)。例えば、演出制御用マイクロコンピュータは、初期化指定コマンドを受信すると、可変表示装置9において、遊技機の制御の初期化がなされたことを報知するための画面表示、すなわち初期化報知を行う。   Further, the CPU 56 initializes a sub board (a board on which a microcomputer other than the main board 31 is mounted) (a command indicating that the game control microcomputer 560 has executed an initialization process). Is also transmitted to the sub-board (step S13). For example, when receiving the initialization designation command, the production control microcomputer performs a screen display for notifying that the control of the gaming machine has been initialized, that is, initialization notification on the variable display device 9.

また、CPU56は、乱数回路503を初期設定する乱数回路設定処理を実行する(ステップS14)。CPU56は、例えば、乱数回路設定プログラムに従って処理を実行することによって、乱数回路503にランダムRの値を更新させるための設定を行う。乱数回路503は、所定のクロック信号を用いて乱数を発生させる。この実施の形態では、乱数回路503は、CPU56から数値が読み出されるときに、0〜65535の数値のいずれかの数値をCPU56に出力する。   Further, the CPU 56 executes a random number circuit setting process for initial setting of the random number circuit 503 (step S14). For example, the CPU 56 performs setting according to the random number circuit setting program to cause the random number circuit 503 to update the value of the random R. The random number circuit 503 generates a random number using a predetermined clock signal. In this embodiment, the random number circuit 503 outputs any numerical value from 0 to 65535 to the CPU 56 when the numerical value is read from the CPU 56.

そして、ステップS15において、CPU56は、所定時間(例えば2ms)毎に定期的にタイマ割込がかかるように遊技制御用マイクロコンピュータ560に内蔵されているCTCのレジスタの設定を行なう。すなわち、初期値として例えば2msに相当する値が所定のレジスタ(時間定数レジスタ)に設定される。この実施の形態では、2ms毎に定期的にタイマ割込がかかるとする。   In step S15, the CPU 56 sets a register of the CTC built in the game control microcomputer 560 so that a timer interrupt is periodically taken every predetermined time (for example, 2 ms). That is, a value corresponding to, for example, 2 ms is set in a predetermined register (time constant register) as an initial value. In this embodiment, it is assumed that a timer interrupt is periodically taken every 2 ms.

初期化処理の実行(ステップS10〜S15)が完了すると、CPU56は、メイン処理で、表示用乱数更新処理(ステップS17)および初期値用乱数更新処理(ステップS18)を繰り返し実行する。表示用乱数更新処理および初期値用乱数更新処理を実行するときには割込禁止状態に設定し(ステップS16)、表示用乱数更新処理および初期値用乱数更新処理の実行が終了すると割込許可状態に設定する(ステップS19)。この実施の形態では、表示用乱数とは、変動パターンを決定するための乱数であり、表示用乱数更新処理とは、表示用乱数を発生するためのカウンタのカウント値を更新する処理である。また、初期値用乱数更新処理とは、初期値用乱数を発生するためのカウンタのカウント値を更新する処理である。この実施の形態では、初期値用乱数とは、普通図柄に関して当りとするか否か決定するための乱数を発生するためのカウンタ(普通図柄当り判定用乱数発生カウンタ)等のカウント値の初期値を決定するための乱数である。後述する遊技の進行を制御する遊技制御処理(遊技制御用マイクロコンピュータ560が、遊技機に設けられている可変表示装置、可変入賞球装置、球払出装置等の遊技用の装置を、自身で制御する処理、または他のマイクロコンピュータに制御させるために指令信号を送信する処理、遊技装置制御処理ともいう)において、普通図柄当り判定用乱数のカウント値が1周(普通図柄当り判定用乱数の取りうる値の最小値から最大値までの間の数値の個数分歩進したこと)すると、そのカウンタに初期値が設定される。   When the execution of the initialization process (steps S10 to S15) is completed, the CPU 56 repeatedly executes the display random number update process (step S17) and the initial value random number update process (step S18) in the main process. When executing the display random number update process and the initial value random number update process, the interrupt disabled state is set (step S16). When the display random number update process and the initial value random number update process are finished, the interrupt enabled state is set. Set (step S19). In this embodiment, the display random number is a random number for determining the variation pattern, and the display random number update process is a process for updating the count value of the counter for generating the display random number. The initial value random number update process is a process for updating the count value of the counter for generating the initial value random number. In this embodiment, the initial value random number is an initial value of a count value such as a counter for generating a random number for determining whether or not to win a normal symbol (ordinary random number generation counter for normal symbol determination). It is a random number for determining. A game control process for controlling the progress of the game, which will be described later (the game control microcomputer 560 controls game devices such as a variable display device, a variable winning ball device, a ball payout device, etc. provided in the game machine itself. In the process of transmitting a command signal to be controlled by another microcomputer, or a game machine control process), the count value of the random number for determination per normal symbol is one round (the random number for determination per normal symbol is taken). When the value is incremented by the number of values between the minimum value and the maximum value of the possible values), an initial value is set in the counter.

次に、メイン処理における乱数回路設定処理(ステップS15)を説明する。図33は、乱数回路設定処理を示すフローチャートである。乱数回路設定処理において、CPU56は、まず、乱数回路設定プログラム551に含まれる乱数回路選択モジュール551fに従って処理を実行し、遊技制御用マイクロコンピュータ560が内蔵する各乱数回路503a,503bの中から、遊技制御処理を含むタイマ割込処理の実行時に用いる乱数回路を設定する(ステップS151)。例えば、CPU56は、ユーザ(例えば、遊技機の製作者)によって設定されたタイマ割込処理の実行時に用いる乱数回路503を指定する指定情報を、あらかじめRAM55の所定の記憶領域に記憶している。そして、CPU56は、RAM55の所定の記憶領域に記憶された指定情報に従って、12ビット乱数回路503aまたは16ビット乱数回路503bのいずれかを選択し、選択した乱数回路をタイマ割込処理の実行時に用いる乱数回路として設定する。なお、タイマ割込処理の実行時に用いる乱数回路として、12ビット乱数回路503aおよび16ビット乱数回路503bの両方を設定してもよい。この場合、遊技制御用マイクロコンピュータは、例えば、12ビット乱数回路503aが発生した乱数にもとづいて大当り判定を行い、16ビット乱数回路503bが発生した乱数にもとづいて確変判定を行うようにしてもよい。   Next, the random number circuit setting process (step S15) in the main process will be described. FIG. 33 is a flowchart showing random number circuit setting processing. In the random number circuit setting process, the CPU 56 first executes the process according to the random number circuit selection module 551f included in the random number circuit setting program 551, and from among the random number circuits 503a and 503b built in the game control microcomputer 560, the game A random number circuit to be used when executing the timer interrupt process including the control process is set (step S151). For example, the CPU 56 stores specification information for specifying the random number circuit 503 used when executing the timer interrupt process set by the user (for example, the manufacturer of the gaming machine) in a predetermined storage area of the RAM 55 in advance. Then, the CPU 56 selects either the 12-bit random number circuit 503a or the 16-bit random number circuit 503b in accordance with the designation information stored in the predetermined storage area of the RAM 55, and uses the selected random number circuit when executing the timer interrupt process. Set as a random number circuit. Note that both the 12-bit random number circuit 503a and the 16-bit random number circuit 503b may be set as random number circuits used when the timer interrupt process is executed. In this case, for example, the game control microcomputer may perform a jackpot determination based on a random number generated by the 12-bit random number circuit 503a and may perform a probability change determination based on the random number generated by the 16-bit random number circuit 503b. .

CPU56は、ステップS151で使用する乱数回路503を設定すると、例えば、カウンタ521やクロック信号出力回路524の動作を停止させることで、使用しないように設定した方の乱数回路のカウンタ521がカウント値Cを更新しないようにする。また、例えば、CPU56は、使用しないように設定した方の乱数回路のカウンタ521はカウント値Cを更新するが、CPU56は出力制御信号SCを出力しないようにし、乱数値記憶回路531から乱数を読み出せないように制御してもよい。また、例えば、CPU56は、使用しないように設定した方の乱数回路の乱数値取込レジスタ539に乱数値取込データ「01(H)」を書き込まないようにし、ラッチ信号生成回路533がラッチ信号SLを乱数値記憶回路531に出力しないように制御してもよい。   When the CPU 56 sets the random number circuit 503 to be used in step S151, the counter 521 of the random number circuit that is set not to be used is stopped by stopping the operation of the counter 521 or the clock signal output circuit 524, for example. Do not update. Further, for example, the CPU 56 updates the count value C of the counter 521 of the random number circuit that is set not to use, but the CPU 56 does not output the output control signal SC and reads the random number from the random value storage circuit 531. You may control so that it may not come out. Further, for example, the CPU 56 prevents the random value fetch data “01 (H)” from being written into the random value fetch register 539 of the random number circuit that is set not to be used, and the latch signal generation circuit 533 causes the latch signal to be Control may be performed so that SL is not output to the random value storage circuit 531.

上記のように、使用する乱数回路503を設定するようにすることによって、使用する乱数回路503だけを設定することによって、生成する乱数の値の範囲を適切に設定することができる。また、タイマ割込処理の実行中に不要な乱数を処理することを防止することができ、遊技制御用マイクロコンピュータ560の制御負担を軽減することができる。例えば、大当りとする判定値として離れた値(例えば、「1」と「100」を含む判定テーブルを用いて大当り判定を行う場合、所定の大当り確率(例えば、100分の1)で大当りと判定するようにすると、16ビット乱数回路503bによる乱数を用いるよりも、12ビット乱数回路503aによる乱数を用いた方が、処理すべき判定値の種類の数が少なくて済み、遊技制御用マイクロコンピュータ560の制御負担が軽減される。   As described above, by setting the random number circuit 503 to be used, by setting only the random number circuit 503 to be used, the range of the random number value to be generated can be appropriately set. Further, it is possible to prevent unnecessary random numbers from being processed during the execution of the timer interrupt process, and the control burden on the game control microcomputer 560 can be reduced. For example, when the big hit determination is performed using a determination table including a distant value (for example, “1” and “100”) as the big hit determination value, the big hit is determined with a predetermined big hit probability (for example, 1/100). In this case, the number of types of determination values to be processed is smaller when the random number by the 12-bit random number circuit 503a is used than when the random number by the 16-bit random number circuit 503b is used, and the game control microcomputer 560 is used. The control burden is reduced.

また、CPU56は、乱数回路設定プログラム551に含まれる乱数最大値設定モジュール551aに従って処理を実行し、ユーザによって予め設定された乱数最大値を指定する乱数最大値設定データを、乱数最大値設定レジスタ535に書き込む(ステップS152)。そのようにすることによって、ユーザによって予め設定されたランダムRの乱数最大値を乱数回路503に設定する。なお、タイマ割込実行時に用いる乱数回路として12ビット乱数回路503aを設定した場合、CPU56は、乱数最大値(「0」〜「4095」のうちのいずれかの値)を指定する乱数最大値設定データを、12ビット乱数回路503aの乱数最大値設定レジスタ535に書き込む。また、タイマ割込実行時に用いる乱数回路として16ビット乱数回路503bを設定した場合、CPU56は、乱数最大値(「0」〜「65535」のうちのいずれかの値)を指定する乱数最大値設定データを、16ビット乱数回路503bの乱数最大値設定レジスタ535に書き込む。   Further, the CPU 56 executes processing in accordance with the random number maximum value setting module 551a included in the random number circuit setting program 551, and generates random number maximum value setting data for designating a random number maximum value preset by the user as a random number maximum value setting register 535. (Step S152). By doing so, the random number maximum value of random R preset by the user is set in the random number circuit 503. When the 12-bit random number circuit 503a is set as the random number circuit used when the timer interrupt is executed, the CPU 56 sets the random number maximum value that specifies the random number maximum value (any value from “0” to “4095”). Data is written into the random number maximum value setting register 535 of the 12-bit random number circuit 503a. When the 16-bit random number circuit 503b is set as the random number circuit used when the timer interrupt is executed, the CPU 56 sets the random number maximum value that specifies the maximum random number value (any value from “0” to “65535”). Data is written into the random number maximum value setting register 535 of the 16-bit random number circuit 503b.

なお、この実施の形態では、乱数最大値として「0」〜「255」が設定された場合には、後述する乱数最大値再設定処理において乱数最大値を所定値に設定しなおすことになる。また、乱数最大値として「256」以上の値を書き込む制御を行った場合であっても、データ化けなどの原因によって「0」〜「255」の値が乱数最大値設定レジスタ535に設定されてしまった場合には、後述する乱数最大値再設定処理において乱数最大値を所定値に設定しなおす。   In this embodiment, when “0” to “255” are set as the random number maximum value, the random number maximum value is reset to a predetermined value in the random number maximum value resetting process described later. Even when control is performed to write a value greater than “256” as the random number maximum value, values “0” to “255” are set in the random number maximum value setting register 535 due to data corruption or the like. In the case where it is lost, the random number maximum value is reset to a predetermined value in the random number maximum value resetting process described later.

上記のように、ステップS152において、生成する乱数の最大値をあらかじめ乱数最大値設定レジスタ535に設定するので、タイマ割込処理の実行中に用いる乱数の範囲より大きい値の乱数を生成してしまうことを防止でき、乱数回路503および遊技制御用マイクロコンピュータ560の処理負担を軽減することができる。   As described above, since the maximum value of the random number to be generated is set in advance in the random number maximum value setting register 535 in step S152, a random number having a value larger than the range of random numbers used during execution of the timer interrupt process is generated. Can be prevented, and the processing load of the random number circuit 503 and the game control microcomputer 560 can be reduced.

また、CPU56は、ステップS152で乱数最大値設定レジスタ535に設定した乱数最大値が所定の下限値以下でないかを確認し、乱数最大値が下限値以下である場合には、乱数最大値設定レジスタ535に設定されている乱数最大値の再設定を行う乱数最大値再設定処理を実行する(ステップS153)。   The CPU 56 checks whether the random number maximum value set in the random number maximum value setting register 535 in step S152 is not less than a predetermined lower limit value. If the random number maximum value is not more than the lower limit value, the random number maximum value setting register A random number maximum value resetting process for resetting the random number maximum value set in 535 is executed (step S153).

また、CPU56は、乱数回路設定プログラム551に含まれる初期値変更モジュール551eに従って処理を実行し、乱数回路503のカウンタ521が更新するカウント値の初期値を変更させる初期値変更処理を実行する(ステップS154)。   Further, the CPU 56 executes a process according to the initial value change module 551e included in the random number circuit setting program 551, and executes an initial value change process for changing the initial value of the count value updated by the counter 521 of the random number circuit 503 (step). S154).

また、CPU56は、乱数回路設定プログラム551に含まれる乱数更新方式選択モジュール551bに従って処理を実行し、乱数更新方式選択データを乱数更新方式選択レジスタ540に書き込む(ステップS155)。そのようにすることによって、乱数回路503の乱数更新方式を設定する。なお、この実施の形態では、CPU56は、乱数更新方式選択データ「10(H)」を乱数更新方式選択レジスタ540に書き込むものとする。すなわち、この実施の形態では、乱数回路503の乱数更新方式として第2の乱数更新方式が設定される。   Further, the CPU 56 executes processing in accordance with the random number update method selection module 551b included in the random number circuit setting program 551, and writes the random number update method selection data in the random number update method selection register 540 (step S155). By doing so, the random number update method of the random number circuit 503 is set. In this embodiment, it is assumed that the CPU 56 writes the random number update method selection data “10 (H)” in the random number update method selection register 540. That is, in this embodiment, the second random number update method is set as the random number update method of the random number circuit 503.

また、CPU56は、乱数回路設定プログラム551に含まれる周期設定モジュール551cに従って処理を実行し、ユーザによって予め設定された乱数発生用クロック信号SI1の周期を指定する周期設定データ(基準クロック信号を何分周させるかを設定するためのデータ)を、周期設定レジスタ537に書き込む(ステップS156)。そのようにすることによって、ユーザによって予め設定された乱数発生用クロック信号SI1の周期を乱数回路503に設定する。   Further, the CPU 56 executes processing according to the cycle setting module 551c included in the random number circuit setting program 551, and sets the cycle setting data (the reference clock signal by how many minutes) that specifies the cycle of the random number generation clock signal SI1 preset by the user. The data for setting whether to circulate) is written in the period setting register 537 (step S156). By doing so, the cycle of the random number generating clock signal SI1 preset by the user is set in the random number circuit 503.

また、CPU56は、乱数回路503のカウンタ521によって所定の最終値までカウント値が更新されたときに、カウンタ521に入力する初期値を更新するか否かを設定する(ステップS157)。例えば、CPU56は、カウンタ521によって所定の最終値までカウント値が更新されたときに、カウンタ521に入力する初期値を更新するか否かを示す設定値を、予めユーザによって設定されRAM55の所定領域に記憶している。そして、CPU56は、RAM55の所定の記憶領域に記憶された所定の設定値に従って、カウンタ521によって所定の最終値までカウント値が更新されたときに、カウンタ521に入力する初期値を更新するか否かを設定する。この実施の形態では、CPU56は、ステップS157において、カウンタ521に入力する初期値を更新すると判定すると、所定の最終値までカウント値が更新されたとき(カウンタ521から通知信号を入力したとき)に初期値を更新する旨を示す初期値更新フラグをセットする。   Further, the CPU 56 sets whether or not to update the initial value input to the counter 521 when the count value is updated to a predetermined final value by the counter 521 of the random number circuit 503 (step S157). For example, when the count value is updated to a predetermined final value by the counter 521, the CPU 56 sets a setting value indicating whether or not to update the initial value input to the counter 521 in advance in a predetermined area of the RAM 55. I remember it. Whether or not the CPU 56 updates the initial value input to the counter 521 when the counter 521 updates the count value to a predetermined final value according to a predetermined set value stored in a predetermined storage area of the RAM 55. Set In this embodiment, when the CPU 56 determines in step S157 that the initial value input to the counter 521 is to be updated, the count value is updated to a predetermined final value (when a notification signal is input from the counter 521). An initial value update flag indicating that the initial value is updated is set.

また、CPU56は、乱数回路503のカウンタ521によって所定の最終値までカウント値が更新されたときに、カウンタ521が更新するカウント値の順列を変更するか否かを設定する(ステップS158)。例えば、CPU56は、カウンタ521によって所定の最終値までカウント値が更新されたときに、カウンタ521が出力するカウント値の順列を変更するか否かを示す設定値を、予めユーザによって設定されRAM55の所定領域に記憶している。そして、CPU56は、RAM55の所定の記憶領域に記憶された所定の設定値に従って、カウンタ521によって所定の最終値までカウント値が更新されたときに、カウンタ521が出力するカウント値の順列を変更するか否かを設定する。この実施の形態では、CPU56は、ステップS158において、カウンタ521が出力するカウント値の順列を変更すると判定すると、所定の最終値までカウント値が更新されたときにカウント値の順列を変更する旨を示すカウント値順列変更フラグをセットする。この実施の形態では、ステップS158において、所定の設定値に従ってカウント値順列変更フラグをセットする場合を説明する。そして、CPU56は、後述するカウント値順列変更処理において、カウント値順列変更フラグがセットされていることにもとづいて、カウンタ521が出力するカウント値の順列を変更する。   Further, the CPU 56 sets whether or not to change the permutation of the count values updated by the counter 521 when the count value is updated to a predetermined final value by the counter 521 of the random number circuit 503 (step S158). For example, the CPU 56 sets a setting value indicating whether or not to change the permutation of the count value output from the counter 521 when the count value is updated to a predetermined final value by the counter 521, and is set in advance in the RAM 55. It is stored in a predetermined area. Then, the CPU 56 changes the permutation of the count values output by the counter 521 when the count value is updated by the counter 521 to a predetermined final value according to a predetermined set value stored in a predetermined storage area of the RAM 55. Set whether or not. In this embodiment, if the CPU 56 determines in step S158 that the permutation of the count values output from the counter 521 is to be changed, the CPU 56 changes the permutation of the count values when the count values are updated to a predetermined final value. The indicated count value permutation change flag is set. In this embodiment, the case where the count value permutation change flag is set in step S158 according to a predetermined set value will be described. Then, the CPU 56 changes the permutation of the count values output by the counter 521 based on the fact that the count value permutation change flag is set in the count value permutation changing process described later.

そして、CPU56は、乱数回路設定プログラム551に含まれる乱数回路起動モジュール551dに従って処理を実行し、乱数回路起動データ「80(H)」を乱数回路起動レジスタ541に書き込む(ステップS159)。そのようにすることによって、CPU56は、乱数回路503を起動させる。   Then, the CPU 56 executes processing according to the random number circuit activation module 551d included in the random number circuit setting program 551, and writes the random number circuit activation data “80 (H)” in the random number circuit activation register 541 (step S159). By doing so, the CPU 56 activates the random number circuit 503.

次に、乱数回路設定処理における乱数最大値再設定処理(ステップS153)を説明する。図34は、乱数最大値再設定処理を示すフローチャートである。乱数最大値再設定処理において、CPU56は、乱数最大値設定レジスタ535に設定されている乱数最大値を読み込む(ステップS153a)。なお、タイマ割込処理の実行時に用いる乱数回路として12ビット乱数回路503aを設定した場合、CPU56は、12ビット乱数回路503aの乱数最大値設定レジスタ535に設定されている乱数最大値を読み込む。また、タイマ割込処理の実行時に用いる乱数回路として16ビット乱数回路503bを設定した場合、CPU56は、16ビット乱数回路503bの乱数最大値設定レジスタ535に設定されている乱数最大値を読み込む。   Next, the random number maximum value resetting process (step S153) in the random number circuit setting process will be described. FIG. 34 is a flowchart showing the random number maximum value resetting process. In the random number maximum value resetting process, the CPU 56 reads the random number maximum value set in the random number maximum value setting register 535 (step S153a). When the 12-bit random number circuit 503a is set as the random number circuit used when the timer interrupt process is executed, the CPU 56 reads the random number maximum value set in the random number maximum value setting register 535 of the 12-bit random number circuit 503a. When the 16-bit random number circuit 503b is set as the random number circuit used when the timer interrupt process is executed, the CPU 56 reads the random number maximum value set in the random number maximum value setting register 535 of the 16-bit random number circuit 503b.

CPU56は、読み込んだ乱数最大値が所定の下限値以下であるか否かを判定する(ステップS153b)。12ビット乱数回路503aを設定した場合、12ビット乱数回路503aにおいて設定可能な乱数最大値が「256」から「4095」までであるので、CPU56は、12ビット乱数回路503aの乱数最大値設定レジスタ535から読み込んだ乱数最大値が下限値「256」以下であるか否かを判定する。また、16ビット乱数回路503bを設定した場合、16ビット乱数回路503bにおいて設定可能な乱数最大値が「256」から「65535」までであるので、CPU56は、16ビット乱数回路503bの乱数最大値設定レジスタ535から読み込んだ乱数最大値が下限値「256」以下であるか否かを判定する。   The CPU 56 determines whether or not the read random number maximum value is equal to or less than a predetermined lower limit value (step S153b). When the 12-bit random number circuit 503a is set, the maximum random number that can be set in the 12-bit random number circuit 503a is from “256” to “4095”, so the CPU 56 sets the random number maximum value setting register 535 of the 12-bit random number circuit 503a. It is determined whether or not the maximum random number read from is lower limit value “256” or less. When the 16-bit random number circuit 503b is set, the maximum random number that can be set in the 16-bit random number circuit 503b is from “256” to “65535”. Therefore, the CPU 56 sets the random number maximum value of the 16-bit random number circuit 503b. It is determined whether the maximum random number value read from the register 535 is equal to or lower than the lower limit value “256”.

読み込んだ乱数最大値が下限値以下である場合、CPU56は、乱数最大値設定レジスタ535に設定される乱数最大値を所定値に設定しなおす(ステップS153c)。12ビット乱数回路503aを設定した場合、12ビット乱数回路503aの乱数最大値設定レジスタ535から読み込んだ乱数最大値が下限値「256」以下であると判定すると、CPU56は、乱数最大値設定レジスタ535に設定される乱数最大値を所定値「4095」に設定しなおす。また、16ビット乱数回路503bを設定した場合、16ビット乱数回路503bの乱数最大値設定レジスタ535から読み込んだ乱数最大値が下限値「256」以下であると判定すると、CPU56は、乱数最大値設定レジスタ535に設定される乱数最大値を所定値「65535」に設定しなおす。   When the read random number maximum value is less than or equal to the lower limit value, the CPU 56 resets the random number maximum value set in the random number maximum value setting register 535 to a predetermined value (step S153c). When the 12-bit random number circuit 503a is set, if the random number maximum value read from the random number maximum value setting register 535 of the 12-bit random number circuit 503a is determined to be less than or equal to the lower limit “256”, the CPU 56 determines the random number maximum value setting register 535. The random number maximum value set in is reset to a predetermined value “4095”. Further, when the 16-bit random number circuit 503b is set, if the random number maximum value read from the random number maximum value setting register 535 of the 16-bit random number circuit 503b is determined to be less than or equal to the lower limit value “256”, the CPU 56 sets the random number maximum value setting. The random number maximum value set in the register 535 is reset to a predetermined value “65535”.

以上のように、乱数最大値設定レジスタ535に設定した乱数最大値が所定の下限値以下となっている場合には、乱数最大値を所定値に設定しなおす。そのため、遊技制御用マイクロコンピュータ560の誤動作や、無線信号を用いた取り込み信号を遊技機に対して発生させるなどの行為によって、過度に小さい値が乱数の最大値として設定されてしまうことを防止することができる。従って、最小値から最大値までの値の範囲が過度に小さい乱数を生成する事態が発生することを防止することができる。   As described above, when the random number maximum value set in the random number maximum value setting register 535 is equal to or smaller than the predetermined lower limit value, the random number maximum value is reset to a predetermined value. Therefore, it is possible to prevent an excessively small value from being set as the maximum value of the random number due to a malfunction of the game control microcomputer 560 or an action such as generating a capture signal using a radio signal for the game machine. be able to. Therefore, it is possible to prevent a situation in which a random number having an excessively small value range from the minimum value to the maximum value is generated.

次に、乱数回路設定処理における初期値変更処理(ステップS154)を説明する。図35は、初期値変更処理を示すフローチャートである。初期値変更処理において、CPU56は、まず、ユーザプログラム実行データエリアの1F97(H)番地の領域に記憶されている初期値変更方式設定データを読み出し、ユーザによって選択された初期値変更方式を特定する。この場合、CPU56は、読み出した初期値変更方式設定データの値が「01(H)」であるか否かを判定することによって(ステップS154a)、ユーザによって選択された初期値変更方式を特定する。   Next, the initial value changing process (step S154) in the random number circuit setting process will be described. FIG. 35 is a flowchart showing the initial value changing process. In the initial value changing process, the CPU 56 first reads the initial value changing method setting data stored in the area of address 1F97 (H) in the user program execution data area, and specifies the initial value changing method selected by the user. . In this case, the CPU 56 determines whether or not the value of the read initial value change method setting data is “01 (H)” (step S154a), thereby specifying the initial value change method selected by the user. .

初期値変更方式設定データの値が「01(H)」である場合、CPU56は、乱数回路503のカウンタ521に入力する初期値を、遊技制御用マイクロコンピュータ560固有のIDナンバにもとづいて設定された値に変更する(ステップS154b)。例えば、CPU56は、RAM55の所定の記憶領域に、遊技制御用マイクロコンピュータ560のIDナンバと、IDナンバにもとづいて所定の演算を行って求めた演算値とを予め対応付けて記憶している。そして、ステップS154bにおいて、CPU56は、予め記憶するIDナンバにもとづく演算値にカウント値の初期値を変更させる。また、例えば、ステップS154bにおいて、CPU56は、遊技制御用マイクロコンピュータ560のIDナンバと所定値とを演算して(例えば、IDナンバ(例えば、「100」)に所定値(例えば、「100」)を加算して)求めた演算値(例えば、「200」)にカウント値の初期値を設定する。また、カウンタ521に入力する初期値を変更すると、CPU56は、カウント値の初期値を変更した旨を示す初期値変更フラグをセットする(ステップS154c)。   When the value of the initial value change method setting data is “01 (H)”, the CPU 56 sets the initial value input to the counter 521 of the random number circuit 503 based on the ID number unique to the game control microcomputer 560. (Step S154b). For example, the CPU 56 stores, in a predetermined storage area of the RAM 55, the ID number of the game control microcomputer 560 and the calculated value obtained by performing a predetermined calculation based on the ID number in association with each other. In step S154b, the CPU 56 changes the initial value of the count value to the calculated value based on the ID number stored in advance. Further, for example, in step S154b, the CPU 56 calculates the ID number of the game control microcomputer 560 and a predetermined value (for example, the ID number (for example, “100”) to a predetermined value (for example, “100”). The initial value of the count value is set to the calculated value (for example, “200”). When the initial value input to the counter 521 is changed, the CPU 56 sets an initial value change flag indicating that the initial value of the count value has been changed (step S154c).

なお、CPU56は、ステップS154bにおいてカウンタ521に入力する初期値を変更する際、乱数回路503の比較器522の乱数最大値設定レジスタ535の値を確認し、IDナンバにもとづいて設定された値が乱数最大値以上であるか否かを判断する。そして、IDナンバにもとづいて設定された値が乱数最大値以上であると判断すると、CPU56は、カウンタ521に入力する初期値を変更しない(例えば、初期値を「0」のまま変更しない)。そのようにすることによって、カウント値の初期値が乱数最大値以上の値に設定されてしまう事態を防止することができる。   When the CPU 56 changes the initial value input to the counter 521 in step S154b, the CPU 56 checks the value of the random number maximum value setting register 535 of the comparator 522 of the random number circuit 503, and the value set based on the ID number is determined. It is determined whether or not it is greater than the maximum random number. If it is determined that the value set based on the ID number is equal to or greater than the maximum random number, the CPU 56 does not change the initial value input to the counter 521 (for example, the initial value remains “0” and does not change). By doing so, it is possible to prevent a situation where the initial value of the count value is set to a value equal to or greater than the random number maximum value.

ステップS154aにおいて、初期値変更方式設定データの値が「01(H)」でない場合(すなわち、ユーザプログラム実行データエリアの1F97(H)番地の領域に記憶されている初期値変更方式設定データの値が「00(H)」である場合)、CPU56は、カウント値の初期値の変更を行わず、そのまま初期値変更処理を終了し、ステップS155に移行する。   In step S154a, when the value of the initial value change method setting data is not “01 (H)” (that is, the value of the initial value change method setting data stored in the area of address 1F97 (H) in the user program execution data area) CPU is not “00 (H)”), the CPU 56 does not change the initial value of the count value, ends the initial value changing process as it is, and proceeds to step S155.

乱数回路設定処理が実行されることによって、遊技制御処理を含むタイマ割込処理の実行時に乱数回路503に各種信号が入力され、乱数回路503内で各種信号が生成される。図36は、乱数回路503に各信号が入力されるタイミング、および乱数回路503内で各信号が生成されるタイミングを示すタイミングチャートである。   By executing the random number circuit setting process, various signals are input to the random number circuit 503 when the timer interrupt process including the game control process is performed, and various signals are generated in the random number circuit 503. FIG. 36 is a timing chart showing the timing at which each signal is input to the random number circuit 503 and the timing at which each signal is generated in the random number circuit 503.

図36に示すように、クロック回路501は、所定周期ごと(図36に示すタイミングT11,T21,・・・)に、出力端子の信号レベルをローレベルからハイレベルに立ち上げることによって、乱数回路503に基準クロック信号CLK(図36(A)参照)を入力する。   As shown in FIG. 36, the clock circuit 501 increases the signal level of the output terminal from a low level to a high level at predetermined intervals (timing T11, T21,... Shown in FIG. 36). A reference clock signal CLK (see FIG. 36A) is input to 503.

クロック信号出力回路524は、クロック回路501から供給された基準クロック信号CLKを分周し、乱数発生用クロック信号SI1(図36(B)参照)を生成する。例えば、クロック信号出力回路524は、タイミングT11,T12,・・・で出力端子の信号レベルをローレベルからハイレベルに立ち上げ、タイミングT21,T22,・・・で信号レベルをハイレベルからローレベルに立ち下げることによって、乱数発生用クロック信号SI1を出力する。   The clock signal output circuit 524 divides the reference clock signal CLK supplied from the clock circuit 501 to generate a random number generation clock signal SI1 (see FIG. 36B). For example, the clock signal output circuit 524 raises the signal level of the output terminal from the low level to the high level at timings T11, T12,..., And changes the signal level from the high level to the low level at timings T21, T22,. To output a random number generating clock signal SI1.

なお、図36に示す例では、説明を分かりやすくするために、クロック信号出力回路524が基準クロック信号CLKを2分周して乱数発生用クロック信号SI1を生成する場合を示している。しかし、実際の乱数回路では、周期設定レジスタ537に設定可能な周期は「システムクロック信号の周期×128×7」から「システムクロック信号の周期×128×256」まである。従って、実際の乱数回路では、クロック信号出力回路524は、「システムクロック信号の周期×128×7」から「システムクロック信号の周期×128×256」までの範囲で周期設定レジスタ537に設定される周期設定データ「07(H)」〜「FF(H)」に対応した分周比で、基準クロック信号CLKを分周し乱数発生用クロック信号SI1を生成する。クロック信号出力回路524によって生成された乱数発生用クロック信号SI1は、セレクタ528と反転回路532とに出力される。   In the example shown in FIG. 36, for ease of explanation, the clock signal output circuit 524 divides the reference clock signal CLK by two to generate the random number generating clock signal SI1. However, in an actual random number circuit, the period that can be set in the period setting register 537 is from “system clock signal period × 128 × 7” to “system clock signal period × 128 × 256”. Therefore, in an actual random number circuit, the clock signal output circuit 524 is set in the cycle setting register 537 in a range from “system clock signal cycle × 128 × 7” to “system clock signal cycle × 128 × 256”. The reference clock signal CLK is divided by a frequency division ratio corresponding to the cycle setting data “07 (H)” to “FF (H)” to generate a random number generating clock signal SI1. The random number generating clock signal SI 1 generated by the clock signal output circuit 524 is output to the selector 528 and the inverting circuit 532.

この実施の形態では、乱数回路設定処理において、第2の乱数更新方式が設定されるので、乱数更新方式選択信号出力回路527から第2の乱数更新方式選択信号がセレクタ528に入力される。セレクタ528は、乱数更新方式選択信号出力回路527から第2の乱数更新方式選択信号が入力されると、クロック信号出力回路524から入力した乱数発生用クロック信号SI1を選択してカウンタ521に出力する。カウンタ521は、セレクタ528から供給される乱数発生用クロック信号SI1の立ち上がりエッジが入力されるごとに、カウント値Cを更新してカウント値順列変更回路523に出力する。   In this embodiment, since the second random number update method is set in the random number circuit setting process, the second random number update method selection signal is input from the random number update method selection signal output circuit 527 to the selector 528. When the second random number update method selection signal output circuit 527 receives the second random number update method selection signal output circuit 527, the selector 528 selects the random number generation clock signal SI1 input from the clock signal output circuit 524 and outputs it to the counter 521. . The counter 521 updates the count value C and outputs it to the count value permutation change circuit 523 every time the rising edge of the random number generation clock signal SI1 supplied from the selector 528 is input.

反転回路532は、クロック信号出力回路524から入力した乱数発生用クロック信号SI1の信号レベルを反転させることによって、反転クロック信号SI2(図36(C)参照)を生成する。例えば、反転回路532は、タイミングT11,T12,・・・で出力端子の信号レベルをハイレベルからローレベルに立ち下げ、タイミングT21,T22,・・・で信号レベルをローレベルからハイレベルに立ち上げることによって、反転クロック信号SI2を出力する。また、反転回路532によって生成された反転クロック信号SI2は、ラッチ信号生成回路533に出力される。   The inversion circuit 532 generates the inverted clock signal SI2 (see FIG. 36C) by inverting the signal level of the random number generation clock signal SI1 input from the clock signal output circuit 524. For example, the inverting circuit 532 lowers the signal level of the output terminal from the high level to the low level at timings T11, T12,..., And the signal level from the low level to the high level at timings T21, T22,. As a result, the inverted clock signal SI2 is output. Further, the inverted clock signal SI <b> 2 generated by the inverting circuit 532 is output to the latch signal generating circuit 533.

ラッチ信号生成回路533には、入賞検出信号SS(図36(D)参照)がタイマ回路534に入力されてから所定時間(例えば3ミリ秒)が経過すると、乱数値読取信号出力回路526から乱数値読取信号が入力される。例えば、乱数値読取信号出力回路526の出力端子の信号レベルがローレベルからハイレベルに立ち上がることによって、ラッチ信号生成回路533に乱数値読取信号が入力される。ラッチ信号生成回路533は、乱数更新方式選択信号出力回路527から第2の乱数更新方式選択信号が入力されたことに応じて、乱数値読取信号出力回路526から入力する乱数値読取信号を反転回路532から供給される反転クロック信号SI2の立ち上がりエッジに同期させて、ラッチ信号SL(図36(E)参照)を出力する。   When a predetermined time (for example, 3 milliseconds) elapses after the winning detection signal SS (see FIG. 36D) is input to the timer circuit 534, the latch signal generation circuit 533 receives a disturbance from the random value read signal output circuit 526. A numerical reading signal is input. For example, when the signal level of the output terminal of the random number read signal output circuit 526 rises from a low level to a high level, the random value read signal is input to the latch signal generation circuit 533. The latch signal generation circuit 533 inverts the random value read signal input from the random value read signal output circuit 526 in response to the input of the second random number update method selection signal from the random number update method selection signal output circuit 527. In synchronization with the rising edge of the inverted clock signal SI2 supplied from 532, the latch signal SL (see FIG. 36E) is output.

以上のように、乱数回路503は、タイミングT11,T12,T13・・・においてカウント値Cを更新し、タイミングT11,T12,T13とは異なるタイミングT22においてラッチ信号SLを出力させ、乱数値記憶回路531に乱数値を記憶する。   As described above, the random number circuit 503 updates the count value C at the timings T11, T12, T13..., And outputs the latch signal SL at the timing T22 different from the timings T11, T12, T13. The random number value is stored in 531.

次に、遊技制御処理について説明する。図37は、タイマ割込処理を示すフローチャートである。メイン処理の実行中に、具体的には、ステップS16〜S19のループ処理の実行中における割込許可になっている期間において、タイマ割込が発生すると、CPU56は、図37に示すステップS20〜S35のタイマ割込処理を実行する。タイマ割込処理において、CPU56は、中断ボタン361からの遊技制御処理中断信号が入力しているか否か判定し(ステップS85)、遊技制御処理中断信号が入力されていなければ(ステップS85のN)、ステップS20以降の処理を実行する。遊技制御処理中断信号が入力されていれば、遊技制御処理中断信号が入力されなくなるまで遊技制御処理中断信号の状態を監視し、ステップS20以降の処理の実行を中断する。   Next, the game control process will be described. FIG. 37 is a flowchart showing the timer interrupt process. When a timer interrupt occurs during execution of the main process, specifically, during a period when the interrupt is permitted during execution of the loop process of steps S16 to S19, the CPU 56 performs steps S20 to S20 shown in FIG. The timer interrupt process of S35 is executed. In the timer interrupt process, the CPU 56 determines whether or not a game control process interruption signal from the interruption button 361 is input (step S85). If no game control process interruption signal is input (N in step S85). Then, the processing after step S20 is executed. If the game control process interruption signal is inputted, the state of the game control process interruption signal is monitored until the game control process interruption signal is not inputted, and the execution of the processes after step S20 is interrupted.

ステップS20において、CPU56は、電源断信号が出力されたか否か(オン状態になったか否か)を検出する電源断処理(電源断検出処理)を実行する。電源断信号は、例えば電源基板910に搭載されている電圧低下監視回路が、遊技機に供給される電源の電圧の低下を検出した場合に出力する。そして、電源断検出処理において、CPU56は、電源断信号が出力されたことを検出したら、必要なデータをバックアップRAM領域に保存するための電力供給停止時処理を実行する。次いで、入力ドライバ回路58を介して、ゲートスイッチ32a、始動口スイッチ14a、カウントスイッチ23、および入賞口スイッチ29a,30a,33a,39aの検出信号を入力し、それらの状態判定を行う(スイッチ処理:ステップS21)。   In step S20, the CPU 56 executes a power-off process (power-off detection process) for detecting whether or not a power-off signal is output (whether the power-off signal is turned on). The power-off signal is output when, for example, a voltage drop monitoring circuit mounted on the power supply board 910 detects a drop in the voltage of the power supplied to the gaming machine. In the power-off detection process, when detecting that the power-off signal has been output, the CPU 56 executes a power supply stop process for saving necessary data in the backup RAM area. Next, detection signals of the gate switch 32a, the start port switch 14a, the count switch 23, and the winning port switches 29a, 30a, 33a, and 39a are input via the input driver circuit 58, and the state determination is performed (switch processing). : Step S21).

次に、CPU56は、特別図柄表示器8、普通図柄表示器10、特別図柄保留記憶表示器18、普通図柄保留記憶表示器41の表示制御を行う表示制御処理を実行する(ステップS22)。特別図柄表示器8および普通図柄表示器10については、ステップS32,S33で設定される出力バッファの内容に応じて各表示器に対して駆動信号を出力する制御を実行する。   Next, the CPU 56 executes display control processing for performing display control of the special symbol display 8, the normal symbol display 10, the special symbol hold storage display 18, and the normal symbol hold storage display 41 (step S22). For the special symbol display 8 and the normal symbol display 10, control for outputting a drive signal to each display is executed according to the contents of the output buffer set in steps S32 and S33.

次に、CPU56は、乱数回路設定処理において所定の最終値までカウント値が更新されたときに初期値を更新する旨の設定がされてるか(ステップS157参照)を確認し、乱数回路503のカウンタ521に入力する初期値を更新する処理を行う(初期値更新処理:ステップS22A)。   Next, the CPU 56 checks whether the initial value is set to be updated when the count value is updated to a predetermined final value in the random number circuit setting process (see step S157), and the counter of the random number circuit 503 is checked. A process of updating the initial value input to 521 is performed (initial value update process: step S22A).

また、CPU56は、普通図柄の当り図柄決定用の乱数等の各判定用乱数を生成するための各カウンタのカウント値を更新する処理を行う(判定用乱数更新処理:ステップS23)。CPU56は、さらに、初期値用乱数および表示用乱数を生成するためのカウンタのカウント値を更新する処理を行う(初期値用乱数更新処理,表示用乱数更新処理:ステップS24,S25)。   Further, the CPU 56 performs a process of updating the count value of each counter for generating a random number for determination such as a random number for determining a symbol per normal symbol (determination random number update process: step S23). The CPU 56 further performs a process of updating the count value of the counter for generating the initial value random number and the display random number (initial value random number update process, display random number update process: steps S24 and S25).

また、CPU56は、乱数回路503のカウンタ521が出力するカウント値の順列をカウント値順列変更回路523に変更させるカウント値順列変更処理を行う(ステップS25A)。この実施の形態では、乱数回路設定処理のステップS158でカウント値順列変更フラグがセットされているか否かによって、カウント値順列変更処理を実行するか否かが決定されている。そして、CPU56は、カウント値順列変更フラグがセットされていることにもとづいて、カウント値順列変更処理を実行する。   Further, the CPU 56 performs a count value permutation changing process for causing the count value permutation changing circuit 523 to change the permutation of the count values output from the counter 521 of the random number circuit 503 (step S25A). In this embodiment, whether or not to execute the count value permutation change process is determined depending on whether or not the count value permutation change flag is set in step S158 of the random number circuit setting process. Then, the CPU 56 executes the count value permutation change process based on the fact that the count value permutation change flag is set.

さらに、CPU56は、特別図柄プロセス処理を行う(ステップS26)。特別図柄プロセス処理では、特別図柄表示器8および大入賞口を所定の順序で制御するための特別図柄プロセスフラグに従って該当する処理を実行する。CPU56は、特別図柄プロセスフラグの値を、遊技状態に応じて更新する。   Further, the CPU 56 performs special symbol process processing (step S26). In the special symbol process, the corresponding symbol is executed in accordance with a special symbol process flag for controlling the special symbol display 8 and the special winning award in a predetermined order. The CPU 56 updates the value of the special symbol process flag according to the gaming state.

次いで、普通図柄プロセス処理を行う(ステップS27)。普通図柄プロセス処理では、CPU56は、普通図柄表示器10の表示状態を所定の順序で制御するための普通図柄プロセスフラグに従って該当する処理を実行する。CPU56は、普通図柄プロセスフラグの値を、遊技状態に応じて更新する。   Next, normal symbol process processing is performed (step S27). In the normal symbol process, the CPU 56 executes a corresponding process according to the normal symbol process flag for controlling the display state of the normal symbol display 10 in a predetermined order. The CPU 56 updates the value of the normal symbol process flag according to the gaming state.

また、CPU56は、演出制御用マイクロコンピュータに演出制御コマンドを送出する処理を行う(演出制御コマンド制御処理:ステップS28)。   Further, the CPU 56 performs a process of sending an effect control command to the effect control microcomputer (effect control command control process: step S28).

さらに、CPU56は、例えばホール管理用コンピュータに供給される大当り情報、始動情報、確率変動情報などのデータを出力する情報出力処理を行う(ステップS29)。   Further, the CPU 56 performs information output processing for outputting data such as jackpot information, start information, probability variation information supplied to the hall management computer, for example (step S29).

また、CPU56は、始動口スイッチ14a、カウントスイッチ23および入賞口スイッチ29a,30a,33a,39aの検出信号にもとづく賞球個数の設定などを行う賞球処理を実行する(ステップS30)。具体的には、始動口スイッチ14a、カウントスイッチ23および入賞口スイッチ29a,30a,33a,39aのいずれかがオンしたことにもとづく入賞検出に応じて、払出制御基板37に搭載されている払出制御用マイクロコンピュータに賞球個数を示す払出制御コマンド(賞球個数信号)を出力する。払出制御用マイクロコンピュータは、賞球個数を示す払出制御コマンドに応じて球払出装置97を駆動する。   Further, the CPU 56 executes prize ball processing for setting the number of prize balls based on the detection signals of the start port switch 14a, the count switch 23, and the prize opening switches 29a, 30a, 33a, 39a (step S30). Specifically, the payout control mounted on the payout control board 37 in response to winning detection based on any of the start opening switch 14a, the count switch 23 and the winning opening switches 29a, 30a, 33a, 39a being turned on. The payout control command (prize ball number signal) indicating the number of prize balls is output to the microcomputer. The payout control microcomputer drives the ball payout device 97 in response to a payout control command indicating the number of winning balls.

この実施の形態では、出力ポートの出力状態に対応したRAM領域(出力ポートバッファ)が設けられているのであるが、CPU56は、出力ポートの出力状態に対応したRAM領域におけるソレノイドのオン/オフに関する内容を出力ポートに出力する(ステップS31:出力処理)。   In this embodiment, a RAM area (output port buffer) corresponding to the output state of the output port is provided. However, the CPU 56 relates to on / off of the solenoid in the RAM area corresponding to the output state of the output port. The contents are output to the output port (step S31: output process).

また、CPU56は、特別図柄プロセスフラグの値に応じて特別図柄の演出表示を行うための特別図柄表示制御データを特別図柄表示制御データ設定用の出力バッファに設定する特別図柄表示制御処理を行う(ステップS32)。CPU56は、例えば、特別図柄プロセス処理でセットされる開始フラグがセットされると終了フラグがセットされるまで、変動速度が1コマ/0.2秒であれば、0.2秒が経過する毎に、出力バッファに設定される表示制御データの値を+1する。また、CPU56は、出力バッファに設定された表示制御データに応じて、ステップS22において駆動信号を出力することによって、特別図柄表示器8における特別図柄の可変表示を実行する。   Further, the CPU 56 performs special symbol display control processing for setting special symbol display control data for effect display of the special symbol in the output buffer for setting the special symbol display control data according to the value of the special symbol process flag ( Step S32). For example, if the variation speed is 1 frame / 0.2 seconds until the end flag is set when the start flag set in the special symbol process is set, the CPU 56, for example, every 0.2 seconds passes. Then, the value of the display control data set in the output buffer is incremented by one. Further, the CPU 56 performs variable display of the special symbol on the special symbol display 8 by outputting a drive signal in step S22 according to the display control data set in the output buffer.

さらに、CPU56は、普通図柄プロセスフラグの値に応じて普通図柄の演出表示を行うための普通図柄表示制御データを普通図柄表示制御データ設定用の出力バッファに設定する普通図柄表示制御処理を行う(ステップS33)。CPU56は、例えば、普通図柄の変動に関する開始フラグがセットされると終了フラグがセットされるまで、普通図柄の変動速度が0.2秒ごとに表示状態(「○」および「×」)を切り替えるような速度であれば、0.2秒が経過する毎に、出力バッファに設定される表示制御データの値(例えば、「○」を示す1と「×」を示す0)を切り替える。また、CPU56は、出力バッファに設定された表示制御データに応じて、ステップS22において駆動信号を出力することによって、普通図柄表示器10における普通図柄の演出表示を実行する。   Further, the CPU 56 performs a normal symbol display control process for setting normal symbol display control data for effect display of the normal symbol in an output buffer for setting the normal symbol display control data according to the value of the normal symbol process flag ( Step S33). For example, when the start flag related to the variation of the normal symbol is set, the CPU 56 switches the display state (“◯” and “×”) for the variation rate of the normal symbol every 0.2 seconds until the end flag is set. With such a speed, the value of the display control data set in the output buffer (for example, 1 indicating “◯” and 0 indicating “x”) is switched every 0.2 seconds. Further, the CPU 56 outputs a normal signal on the normal symbol display 10 by outputting a drive signal in step S22 according to the display control data set in the output buffer.

また、CPU56は、遊技状態に応じて、状態報知LED61の点灯状態を制御する状態報知LED制御処理を行う(ステップS34)。   Further, the CPU 56 performs a state notification LED control process for controlling the lighting state of the state notification LED 61 in accordance with the gaming state (step S34).

その後、割込許可状態に設定し(ステップS35)、処理を終了する。   Thereafter, the interrupt permission state is set (step S35), and the process is terminated.

以上の制御によって、この実施の形態では、遊技制御処理は2ms毎に起動されることになる。なお、遊技制御処理は、タイマ割込処理におけるステップS21〜S33(ステップS29を除く。)の処理に相当する。また、この実施の形態では、タイマ割込処理で遊技制御処理が実行されているが、タイマ割込処理では例えば割込が発生したことを示すフラグのセットのみがなされ、遊技制御処理はメイン処理において実行されるようにしてもよい。   With the above control, in this embodiment, the game control process is started every 2 ms. The game control process corresponds to the processes in steps S21 to S33 (excluding step S29) in the timer interrupt process. In this embodiment, the game control process is executed by the timer interrupt process. However, in the timer interrupt process, for example, only a flag indicating that an interrupt has occurred is set, and the game control process is performed by the main process. May be executed.

また、CPU56は、タイマ割込処理を実行した回数をカウントする処理を実行する。この実施の形態では、CPU56は、タイマ割込処理を実行するごとに、タイマ割込処理を実行した回数を示す割込回数カウンタをカウントアップする。例えば、CPU56は、ステップS31の出力処理を完了すると、タイマ割込処理を実行した回数を示す割込回数カウンタの値を1加算する。   Further, the CPU 56 executes a process for counting the number of times the timer interrupt process has been executed. In this embodiment, each time the timer interrupt process is executed, the CPU 56 counts up an interrupt counter that indicates the number of times the timer interrupt process has been executed. For example, when the output process of step S31 is completed, the CPU 56 adds 1 to the value of the interrupt number counter indicating the number of times the timer interrupt process has been executed.

次に、タイマ割込処理における初期値更新処理(ステップS22A)について説明する。図38は、初期値更新処理を示すフローチャートである。初期値更新処理において、CPU56は、乱数回路503のカウンタ521が出力するカウント値Cを最終値まで更新した旨を示す通知信号の状態を確認する(ステップS220)。通知信号がオン状態になっていることを検出した場合には、CPU56は、初期値更新フラグがセットされているか否かを確認する(ステップS221)。すなわち、CPU56は、乱数回路設定処理において、所定の最終値までカウント値が更新されたときに初期値を更新する旨の設定がなされたか否か(ステップS157参照)を確認する。   Next, the initial value update process (step S22A) in the timer interrupt process will be described. FIG. 38 is a flowchart showing the initial value update process. In the initial value update process, the CPU 56 checks the state of the notification signal indicating that the count value C output from the counter 521 of the random number circuit 503 has been updated to the final value (step S220). When it is detected that the notification signal is in the on state, the CPU 56 checks whether or not the initial value update flag is set (step S221). That is, in the random number circuit setting process, the CPU 56 checks whether or not the setting for updating the initial value is made when the count value is updated to a predetermined final value (see step S157).

初期値更新フラグがセットされている場合、CPU56は、乱数回路503のカウンタ521が所定の最終値までカウント値を更新したときに、カウンタ521に入力する初期値を更新すると判断する。また、初期値更新フラグがセットされている場合、CPU56は、初期値変更フラグがセットされているか否かを確認する(ステップS222)。すなわち、CPU56は、カウント値の初期値が現在変更されているか否か(すなわち、CPU56のIDナンバにもとづく値に変更されているか否か)を判断する。   When the initial value update flag is set, the CPU 56 determines to update the initial value input to the counter 521 when the counter 521 of the random number circuit 503 updates the count value to a predetermined final value. When the initial value update flag is set, the CPU 56 checks whether or not the initial value change flag is set (step S222). That is, the CPU 56 determines whether or not the initial value of the count value is currently changed (that is, whether or not it is changed to a value based on the ID number of the CPU 56).

初期値変更フラグがセットされている(すなわち、遊技制御用マイクロコンピュータ560のIDナンバにもとづく値に初期値が現在変更されている)場合、CPU56は、カウンタ521に入力する初期値を、遊技制御用マイクロコンピュータ560のIDナンバにもとづく値から元の値(例えば、「1」)にもどす(ステップS223)。そして、CPU56は、初期値変更フラグをリセットし(ステップS224)、初期値更新処理を終了する。   When the initial value change flag is set (that is, when the initial value is currently changed based on the ID number of the game control microcomputer 560), the CPU 56 uses the initial value input to the counter 521 as the game control. The value based on the ID number of the microcomputer 560 is returned to the original value (for example, “1”) (step S223). Then, the CPU 56 resets the initial value change flag (step S224) and ends the initial value update process.

初期値変更フラグがセットされていない(すなわち、初期値が現在変更されていない)場合、CPU56は、カウンタ521に入力する初期値を、遊技制御用マイクロコンピュータ560のIDナンバにもとづく値に変更する(ステップS225)。この場合、例えば、遊技制御用マイクロコンピュータ560のIDナンバが「100」であるとすると、カウンタ521に入力する初期値を、IDナンバ「100」に所定値「100」を加算して求めた演算値「200」に変更する。また、例えば、カウンタ521に入力する初期値を、IDナンバ「100」に所定値「50」を減算して求めた演算値「50」に変更する。そして、CPU56は、初期値変更フラグをセットし(ステップS226)、初期値更新処理を終了する。   If the initial value change flag is not set (that is, the initial value is not currently changed), the CPU 56 changes the initial value input to the counter 521 to a value based on the ID number of the game control microcomputer 560. (Step S225). In this case, for example, if the ID number of the game control microcomputer 560 is “100”, the initial value input to the counter 521 is calculated by adding a predetermined value “100” to the ID number “100”. Change to the value “200”. Further, for example, the initial value input to the counter 521 is changed to the calculated value “50” obtained by subtracting the predetermined value “50” from the ID number “100”. Then, the CPU 56 sets an initial value change flag (step S226) and ends the initial value update process.

なお、12ビット乱数回路503aおよび16ビット乱数回路503bの両方を設定した場合、ステップS225において、CPU56は、一方の乱数回路(例えば、12ビット乱数回路503a)から読み込んだ乱数を所定値としてIDナンバに加算して、カウンタ521に入力する初期値を求めてもよい。そして、CPU56は、他の一方(例えば、16ビット乱数回路503b)から読み込んだ乱数を、大当り判定用の乱数として用いてもよい。   When both the 12-bit random number circuit 503a and the 16-bit random number circuit 503b are set, in step S225, the CPU 56 uses the random number read from one random number circuit (for example, the 12-bit random number circuit 503a) as a predetermined value as an ID number. The initial value input to the counter 521 may be obtained. Then, the CPU 56 may use a random number read from the other one (for example, a 16-bit random number circuit 503b) as a random number for determining the big hit.

なお、CPU56は、ステップS225においてカウンタ521に入力する初期値を更新する際、乱数回路503の比較器522の乱数最大値設定レジスタ535の値を確認し、IDナンバにもとづいて設定された値が乱数最大値以上であるか否かを判断する。そして、IDナンバにもとづいて設定された値が乱数最大値以上であると判断すると、CPU56は、カウンタ521に入力する初期値を所定値のまま更新しない(例えば、所定値「0」のまま更新しない)。そのようにすることによって、カウント値の初期値が乱数最大値以上の値に設定されてしまう事態を防止することができる。   When the CPU 56 updates the initial value input to the counter 521 in step S225, the CPU 56 checks the value of the random number maximum value setting register 535 of the comparator 522 of the random number circuit 503, and the value set based on the ID number is obtained. It is determined whether or not it is greater than the maximum random number. If the CPU 56 determines that the value set based on the ID number is equal to or greater than the maximum random number, the CPU 56 does not update the initial value input to the counter 521 with a predetermined value (for example, updates with the predetermined value “0”). do not do). By doing so, it is possible to prevent a situation where the initial value of the count value is set to a value equal to or greater than the random number maximum value.

なお、ステップS220において通知信号がオフ状態であると判断した場合、およびステップS221において初期値更新フラグがセットされていないと判断した場合、CPU56は、カウンタ521に入力する初期値を更新することなく、そのまま初期値更新処理を終了し、ステップS23に移行する。   If it is determined in step S220 that the notification signal is in the OFF state, or if it is determined in step S221 that the initial value update flag is not set, the CPU 56 does not update the initial value input to the counter 521. Then, the initial value update process is finished as it is, and the routine goes to Step S23.

次に、タイマ割込処理におけるカウント値順列変更処理(ステップS25A)について説明する。図39は、カウント値順列変更処理を示すフローチャートである。CPU56は、カウント値順列変更プログラム554に従って処理を実行することによって、カウント値順列変更処理を行う。カウント値順列変更処理において、CPU56は、乱数回路503のカウンタ521が出力するカウント値Cを最終値まで更新した旨を示す通知信号の状態を確認する(ステップS241)。通知信号がオン状態になっていることを検出した場合には、CPU56は、カウント値順列変更フラグがセットされているか否かを確認する(ステップS242)。すなわち、CPU56は、乱数回路設定処理において、所定の最終値までカウント値が更新されたときにカウンタ521が更新するカウント値の順列を変更する旨の設定がなされたか否か(ステップS158参照)を確認する。   Next, the count value permutation change process (step S25A) in the timer interrupt process will be described. FIG. 39 is a flowchart showing the count value permutation changing process. The CPU 56 performs a count value permutation change process by executing a process according to the count value permutation change program 554. In the count value permutation change process, the CPU 56 checks the state of the notification signal indicating that the count value C output from the counter 521 of the random number circuit 503 has been updated to the final value (step S241). When it is detected that the notification signal is in the on state, the CPU 56 checks whether or not the count value permutation change flag is set (step S242). That is, the CPU 56 determines whether or not the setting for changing the permutation of the count values updated by the counter 521 when the count values are updated to a predetermined final value has been made in the random number circuit setting process (see step S158). Check.

カウント値順列変更フラグがセットされている場合、CPU56は、乱数回路503のカウンタ521が所定の最終値までカウント値を更新したときに、カウンタ521が更新するカウント値の順列を変更すると判断する。そして、CPU56は、カウント値順列変更レジスタ536にカウント値順列変更データ「01(H)」を書き込む(ステップS243)。すなわち、CPU56は、カウント値順列変更データ「01(H)」を書き込むことによって、乱数値記憶回路531に入力されるカウント値Cの順列をカウント値順列変更回路523に変更させる。   When the count value permutation change flag is set, the CPU 56 determines that the permutation of the count values updated by the counter 521 is changed when the counter 521 of the random number circuit 503 updates the count value to a predetermined final value. Then, the CPU 56 writes the count value permutation change data “01 (H)” in the count value permutation change register 536 (step S243). That is, the CPU 56 causes the count value permutation change circuit 523 to change the permutation of the count values C input to the random value storage circuit 531 by writing the count value permutation change data “01 (H)”.

以上のように、カウント値順列変更処理において、乱数を所定の最終値まで更新したときに、カウンタ521が更新するカウント値の順列を変更するので、乱数回路503が生成する乱数のランダム性をより向上させることができる。   As described above, in the count value permutation changing process, when the random number is updated to a predetermined final value, the permutation of the count value updated by the counter 521 is changed, so that the randomness generated by the random number circuit 503 is more random. Can be improved.

図40は、遊技制御用マイクロコンピュータ560(具体的には、CPU56)が実行する特別図柄プロセス処理(ステップS26)の一例を示すフローチャートである。特別図柄プロセス処理では特別図柄表示器8および大入賞口を制御するための処理が実行される。特別図柄プロセス処理において、CPU56は、始動入賞口14に遊技球が入賞したことを検出するための始動口スイッチ14aがオンしていたら、すなわち始動入賞が発生していたら、始動口スイッチ通過処理を実行する(ステップS311,S312)。そして、ステップS300〜S307のうちのいずれかの処理を行う。   FIG. 40 is a flowchart showing an example of the special symbol process (step S26) executed by the game control microcomputer 560 (specifically, the CPU 56). In the special symbol process, a process for controlling the special symbol display 8 and the special prize opening is executed. In the special symbol process, the CPU 56 performs the start opening switch passing process if the start opening switch 14a for detecting that the game ball has won the start winning opening 14 is turned on, that is, if a start winning is generated. Execute (Steps S311 and S312). Then, any one of steps S300 to S307 is performed.

ステップS300〜S307の処理は、以下のような処理である。   The processes in steps S300 to S307 are as follows.

特別図柄通常処理(ステップS300):特別図柄プロセスフラグの値が0であるときに実行される。遊技制御用マイクロコンピュータ560は、特別図柄の可変表示が開始できる状態になると、保留記憶数(始動入賞記憶数)を確認する。保留記憶数が0でない場合には、大当りとするか否か決定する。大当りとすることに決定した場合には、大当りフラグをセットする。そして、内部状態(特別図柄プロセスフラグ)をステップS301に対応した値(この例では1)に更新する。なお、大当りとするか否か決定することは、特別図柄および飾り図柄の表示結果を大当り図柄とするか否か決定することでもある。   Special symbol normal processing (step S300): Executed when the value of the special symbol process flag is zero. When the game control microcomputer 560 is ready to start the variable display of the special symbol, it checks the number of reserved memories (the number of start winning memories). If the number of reserved memories is not 0, it is determined whether or not to win. If it is determined to be a big hit, a big hit flag is set. Then, the internal state (special symbol process flag) is updated to a value (1 in this example) corresponding to step S301. It should be noted that determining whether or not to win is also determining whether or not the display results of the special symbol and the decorative symbol are to be the jackpot symbol.

変動パターン設定処理(ステップS301):特別図柄プロセスフラグの値が1であるときに実行される。特別図柄の可変表示後の停止図柄を決定する。また、変動パターンを決定し、その変動パターンにおける変動時間(可変表示時間:可変表示を開始してから表示結果が導出表示(停止表示)するまでの時間)を特別図柄の可変表示の変動時間とすることに決定する。また、演出制御用マイクロコンピュータに、変動時間を特定しうるコマンドを送信し、特別図柄の変動を開始させ、特別図柄の変動時間を計測する変動時間タイマをスタートさせる。そして、内部状態(特別図柄プロセスフラグ)をステップS302に対応した値(この例では2)に更新する。なお、演出制御用マイクロコンピュータは、遊技制御用マイクロコンピュータ560が送信する変動時間を特定しうるコマンドを受信すると可変表示装置9において飾り図柄の変動が開始されるように制御する。   Fluctuation pattern setting process (step S301): This process is executed when the value of the special symbol process flag is 1. The stop symbol after the variable display of the special symbol is determined. Also, the variation pattern is determined, and the variation time in the variation pattern (variable display time: the time from the start of variable display until the display result is derived and displayed (stop display)) Decide to do. Also, a command that can specify the variation time is transmitted to the effect control microcomputer, the variation of the special symbol is started, and a variation time timer that measures the variation time of the special symbol is started. Then, the internal state (special symbol process flag) is updated to a value (2 in this example) corresponding to step S302. The effect control microcomputer controls the variable display device 9 so that the variation of the decorative pattern is started when the command that can specify the variation time transmitted by the game control microcomputer 560 is received.

表示結果特定コマンド送信処理(ステップS302):特別図柄プロセスフラグの値が2であるときに実行される。演出制御用マイクロコンピュータに、飾り図柄の表示結果を特定しうるコマンドである表示結果特定コマンドを送信する制御を行う。そして、内部状態(特別図柄プロセスフラグ)をステップS303に対応した値(この例では3)に更新する。   Display result specifying command transmission process (step S302): executed when the value of the special symbol process flag is 2. Control is performed to transmit a display result specifying command, which is a command that can specify the display result of the decorative design, to the effect control microcomputer. Then, the internal state (special symbol process flag) is updated to a value (3 in this example) corresponding to step S303.

特別図柄変動中処理(ステップS303):特別図柄プロセスフラグの値が3であるときに実行される。変動パターン設定処理で選択された変動パターンの変動時間が経過(ステップS301でセットされる変動時間タイマがタイムアウトすなわち変動時間タイマの値が0になる)すると、内部状態(特別図柄プロセスフラグ)をステップS304に対応した値(この例では4)に更新する。   Special symbol changing process (step S303): This process is executed when the value of the special symbol process flag is 3. When the variation time of the variation pattern selected in the variation pattern setting process elapses (the variation time timer set in step S301 times out, that is, the variation time timer value becomes 0), the internal state (special symbol process flag) is stepped. Update to a value corresponding to S304 (4 in this example).

特別図柄停止処理(ステップS304):特別図柄プロセスフラグの値が4であるときに実行される。特別図柄表示器8における可変表示を停止して停止図柄を導出表示させる。また、演出制御用マイクロコンピュータに、飾り図柄の変動の停止を指示する図柄確定指定コマンドを送信する制御を行う。そして、大当りフラグがセットされている場合には、内部状態(特別図柄プロセスフラグ)をステップS305に対応した値(この例では5)に更新する。大当りフラグがセットされていない場合には、内部状態(特別図柄プロセスフラグ)をステップS300に対応した値(この例では0)に更新する。なお、演出制御用マイクロコンピュータは、遊技制御用マイクロコンピュータ560が送信する図柄確定指定コマンドを受信すると可変表示装置9において飾り図柄が停止されるように制御する。   Special symbol stop process (step S304): executed when the value of the special symbol process flag is 4. The variable display on the special symbol display 8 is stopped and the stop symbol is derived and displayed. Further, control is performed to transmit a symbol confirmation designation command for instructing stop of the variation of the decorative symbol to the effect control microcomputer. If the big hit flag is set, the internal state (special symbol process flag) is updated to a value (5 in this example) corresponding to step S305. When the big hit flag is not set, the internal state (special symbol process flag) is updated to a value (0 in this example) corresponding to step S300. The effect control microcomputer controls the variable display device 9 so that the decorative symbols are stopped when the symbol confirmation designation command transmitted by the game control microcomputer 560 is received.

大入賞口開放前処理(ステップS305):特別図柄プロセスフラグの値が5であるときに実行される。大入賞口開放前処理では、大入賞口を開放する制御を行う。具体的には、カウンタ(例えば大入賞口に入った遊技球数をカウントするカウンタ)などを初期化するとともに、ソレノイド21を駆動して大入賞口を開放状態にする。また、タイマによって大入賞口開放中処理の実行時間を設定し、内部状態(特別図柄プロセスフラグ)をステップS306に対応した値(この例では6)に更新する。なお、大入賞口開放前処理は各ラウンド毎に実行されるが、第1ラウンドを開始する場合には、大入賞口開放前処理は大当り遊技を開始する処理でもある。   Preliminary winning opening opening process (step S305): This is executed when the value of the special symbol process flag is 5. In the pre-opening process for the big prize opening, control for opening the big prize opening is performed. Specifically, a counter (for example, a counter that counts the number of game balls that have entered the big prize opening) is initialized, and the solenoid 21 is driven to open the big prize opening. Also, the execution time of the special prize opening opening process is set by the timer, and the internal state (special symbol process flag) is updated to a value corresponding to step S306 (6 in this example). The pre-opening process for the big winning opening is executed for each round, but when the first round is started, the pre-opening process for the big winning opening is also a process for starting the big hit game.

大入賞口開放中処理(ステップS306):特別図柄プロセスフラグの値が6であるときに実行される。大当り遊技状態中のラウンド表示の演出制御コマンドを演出制御用マイクロコンピュータに送信する制御や大入賞口の閉成条件の成立を確認する処理等を行う。大入賞口の閉成条件が成立し、かつ、まだ残りラウンドがある場合には、内部状態(特別図柄プロセスフラグ)をステップS305に対応した値(この例では5)に更新する。また、全てのラウンドを終えた場合には、内部状態(特別図柄プロセスフラグ)をステップS307に対応した値(この例では7)に更新する。   Large winning opening opening process (step S306): This process is executed when the value of the special symbol process flag is 6. A control for transmitting an effect control command for round display during the big hit gaming state to the microcomputer for effect control, a process for confirming the establishment of the closing condition of the big prize opening, and the like are performed. If the closing condition for the special prize opening is satisfied and there are still remaining rounds, the internal state (special symbol process flag) is updated to a value (5 in this example) corresponding to step S305. When all the rounds are completed, the internal state (special symbol process flag) is updated to a value corresponding to step S307 (7 in this example).

大当り終了処理(ステップS307):特別図柄プロセスフラグの値が7であるときに実行される。大当り遊技状態が終了したことを遊技者に報知する表示制御を演出制御用マイクロコンピュータに行わせるための制御を行う。また、遊技状態を示すフラグ(例えば、確変フラグ)をセットする処理を行う。そして、内部状態(特別図柄プロセスフラグ)をステップS300に対応した値(この例では0)に更新する。   Big hit end process (step S307): executed when the value of the special symbol process flag is 7. Control is performed to cause the microcomputer for effect control to perform display control for notifying the player that the big hit gaming state has ended. Further, a process for setting a flag (for example, a probability variation flag) indicating a gaming state is performed. Then, the internal state (special symbol process flag) is updated to a value (0 in this example) corresponding to step S300.

図41は、始動口スイッチ通過処理(ステップS312)を示すフローチャートである。始動口スイッチ通過処理において、CPU56は、認証信号(主基板31に一意に与えられている基板ID)を照合端子364に出力する(ステップS320)。次いで、始動入賞カウンタが示す始動入賞記憶数(または特図保留メモリ570が記憶している始動入賞記憶数)が最大値である4に達しているかどうか確認する(ステップS321)。始動入賞記憶数が4に達していなければ、CPU56は、割込実行回数カウンタに示されるタイマ割込処理の実行回数が所定回数(例えば、3回)に達しているか否かを確認する(ステップS322)。なお、遊技球が始動入賞口14に入賞したことを検出すると、CPU56は、割込実行回数カウンタをリセットする。そして、CPU56は、遊技球が始動入賞口14に入賞したあと、割込実行回数カウンタが所定回数に達しているか否かを確認する。   FIG. 41 is a flowchart showing the start port switch passage process (step S312). In the start port switch passing process, the CPU 56 outputs an authentication signal (a board ID uniquely given to the main board 31) to the verification terminal 364 (step S320). Next, it is confirmed whether or not the start winning memory number (or the starting winning memory number stored in the special figure holding memory 570) indicated by the start winning counter has reached the maximum value of 4 (step S321). If the start winning memory number has not reached 4, the CPU 56 checks whether or not the number of executions of the timer interruption process indicated by the interruption execution number counter has reached a predetermined number (for example, 3 times) (step). S322). When detecting that the game ball has won the start winning opening 14, the CPU 56 resets the interrupt execution counter. Then, after the game ball has won the start winning opening 14, the CPU 56 checks whether or not the interrupt execution counter has reached a predetermined number.

ステップS322において所定回数としてあらかじめ設定される値は、以下のように定められる。前述のように、乱数回路503のタイマ回路534は、始動口スイッチ14aから入賞検出信号SSが継続して入力されている時間を計測し、計測時間が所定期間になったことを検出すると、乱数値取り込みデータ「01(H)」を書き込む。この実施の形態では、タイマ回路534が計測する所定期間(例えば、3ms)が、所定回数のタイマ割込処理が実行される期間(例えば、2msごとのタイマ割込処理を3回実行する場合は6ms)よりも短くなるように、ステップS322において用いる所定回数(例えば、3回)が設定される。そのように設定することによって、乱数を読み出してから、乱数値記憶回路531に記憶される乱数の値が更新される前に再び乱数を読み出してしまうことを防止することができ、前回乱数値記憶回路531から読み出した乱数と同じ値の乱数を再び読み出してしまうことを防止することができる。   The value set in advance as the predetermined number of times in step S322 is determined as follows. As described above, the timer circuit 534 of the random number circuit 503 measures the time that the winning detection signal SS is continuously input from the start port switch 14a, and detects that the measurement time has reached a predetermined period, Write numerical value capture data “01 (H)”. In this embodiment, a predetermined period (for example, 3 ms) measured by the timer circuit 534 is a period in which a predetermined number of timer interrupt processes are executed (for example, when the timer interrupt process for every 2 ms is executed three times). The predetermined number of times (for example, 3 times) used in step S322 is set so as to be shorter than 6 ms). By setting in this way, it is possible to prevent the random number from being read again after the random number is read and before the random number value stored in the random value storage circuit 531 is updated. It is possible to prevent a random number having the same value as the random number read from the circuit 531 from being read again.

タイマ割込処理の実行回数が所定回数に達している場合、CPU56は、特定した乱数回路503の乱数値記憶回路531に出力制御信号SCを出力し、乱数値記憶回路531を読出可能(イネーブル)状態に制御する(ステップS323)。   When the number of executions of the timer interrupt processing has reached a predetermined number, the CPU 56 can output the output control signal SC to the random number value storage circuit 531 of the specified random number circuit 503 and read the random number value storage circuit 531 (enable). The state is controlled (step S323).

CPU56は、乱数回路503の乱数値記憶回路531から、乱数値として記憶されているランダムRの値を読み出す(ステップS324)。また、CPU56は、読み出したランダムRの値を、例えばRAM55に設けられた所定のバッファ領域に格納する(ステップS325)。また、CPU56は、ランダムRの値をバッファ領域に格納すると、乱数値記憶回路531への出力制御信号SCの出力を停止し、乱数値記憶回路531を読出不能(ディスエーブル)状態に制御する(ステップS326)。また、CPU56は、割込実行回数カウンタをリセットする(ステップS327)。そして、CPU56は、所定のバッファ領域に格納したランダムRの値を特図保留メモリ570の空エントリの先頭にセットし(ステップS328)、始動入賞カウンタのカウント数を1加算することで始動入賞記憶数を1増やす(ステップS329)。   The CPU 56 reads the random R value stored as the random number value from the random value storage circuit 531 of the random number circuit 503 (step S324). Further, the CPU 56 stores the read random R value in, for example, a predetermined buffer area provided in the RAM 55 (step S325). When the CPU 56 stores the value of the random R in the buffer area, the CPU 56 stops outputting the output control signal SC to the random value storage circuit 531 and controls the random value storage circuit 531 to be unreadable (disabled) ( Step S326). In addition, the CPU 56 resets the interrupt execution number counter (step S327). Then, the CPU 56 sets the value of the random R stored in the predetermined buffer area to the head of the empty entry in the special figure reservation memory 570 (step S328), and adds 1 to the count number of the start winning counter, thereby storing the start winning memory. The number is incremented by 1 (step S329).

ステップS321において始動入賞記憶するが最大値である4に達している場合、およびステップS322においてタイマ割込処理の実行回数が所定回数に達してない場合、そのまま始動口スイッチ通過処理を終了する。   If the start prize is stored in step S321 but the maximum value of 4 has been reached, and if the number of executions of the timer interrupt process has not reached the predetermined number in step S322, the start port switch passing process is terminated.

以上のように、始動口スイッチ通過処理において、乱数値記憶回路531からランダムRを読み出すにあたって、タイマ割込処理が所定回数実行されたこと(すなわち、タイマ割込処理が所定回数実行される間継続して入賞検出信号SSが入力されたこと)を条件に、乱数値記憶回路531から乱数を読み出す。そのため、乱数を読み出してから、乱数値記憶回路531に記憶される乱数の値が更新される前に再び乱数を読み出してしまうことを防止することができる。また、前回乱数値記憶回路531から読み出した乱数と同じ値の乱数を再び読み出してしまうことを防止することができる。   As described above, the timer interrupt process has been executed a predetermined number of times in reading the random R from the random value storage circuit 531 in the starting port switch passing process (that is, continued while the timer interrupt process is executed a predetermined number of times). The random number is read from the random value storage circuit 531 on the condition that the winning detection signal SS is input). Therefore, it is possible to prevent the random number from being read again after the random number is read and before the value of the random number stored in the random value storage circuit 531 is updated. Further, it is possible to prevent a random number having the same value as the random number read from the previous random number value storage circuit 531 from being read again.

図42は、主基板31に搭載されている状態報知LED61の点灯状態と遊技状態との関係を示す説明図である。特別図柄および飾り図柄が変動していないときであって、大当り遊技中でないときには、図42(A)に示すように、常に点灯状態である。すなわち、点灯継続状態である。なお、図42(A),(B),(C)のそれぞれにおいて、上段は状態報知LED61の点灯状態(点灯しているか、消灯しているか、または点滅している)を示し、下段は、点灯と消灯の切替タイミングを示す。また、図42(A),(B),(C)の上段において、黒塗りで表示されている状態報知LED61の状態が点灯しているときを示す。   FIG. 42 is an explanatory diagram showing the relationship between the lighting state of the state notification LED 61 mounted on the main board 31 and the gaming state. When the special symbol and the decorative symbol do not change and when the big hit game is not being played, as shown in FIG. That is, it is a lighting continuation state. 42A, 42B, and 42C, the upper row shows the lighting state of the state notification LED 61 (lit, extinguished, or blinking), and the lower row is The timing for switching on and off is shown. In addition, the upper part of FIGS. 42A, 42B, and 42C shows the state of the state notification LED 61 that is displayed in black.

特別図柄および飾り図柄が変動しているときには、図42(B)に示すように、2秒間の点灯と2秒間の消灯とを繰り返す。すなわち、2秒間隔で点滅する。以下、2秒間隔の点滅を低速点滅という。大当り遊技中では、図42(C)に示すように、0.5秒間の点灯と0.5秒間の消灯とを繰り返す。すなわち、0.5秒間隔で点滅する。以下、0.5秒間隔の点滅を高速点滅という。   When the special symbol and the decorative symbol are fluctuating, lighting for 2 seconds and turning off for 2 seconds are repeated as shown in FIG. That is, it blinks at intervals of 2 seconds. Hereinafter, blinking at intervals of 2 seconds is referred to as slow blinking. During the big hit game, as shown in FIG. 42C, lighting for 0.5 seconds and turning off for 0.5 seconds are repeated. That is, it blinks at 0.5 second intervals. Hereinafter, flashing at intervals of 0.5 seconds is referred to as high-speed flashing.

なお、図42に示す状態報知LED61の点灯状態と遊技状態との関係は一例であり、少なくとも、図柄変動中、大当り遊技中、図柄変動中および大当り遊技中以外(以下、通常状態という。)の点滅態様(報知態様)が異なれば、図42に示す報知態様とは異なる報知態様であってもよい。報知態様には、点灯継続の態様および点滅の態様があるが、通常状態では、消灯する期間が所定時間(一例として5秒)以下であることが条件である。つまり、報知がなされない期間が長時間にならないようにすることが条件である。換言すれば、主基板31に電力が供給されているときに所定時間を越えて報知がなされない状態になることを避けるように制御されることが条件である。主基板31に電力が供給されている状態では遊技制御用マイクロコンピュータ560および状態報知LED61等に電力が供給されるので、状態報知LED61は報知を行うことが可能であるが、消灯する期間が長いと、主基板31に電力が供給されていない状態(なりすまし基板が搭載されている可能性がある状態)と区別できないからである。なお、この実施の形態では、主基板31に電力が供給されているときには、状態報知LED61は、常に、点灯継続しているか、または点滅状態にあることによって、報知がなされている。また、不正行為者にとって状態報知LED61の報知態様を認識しづらくするために、報知態様をより複雑なものにしてもよい。   The relationship between the lighting state of the state notification LED 61 and the gaming state shown in FIG. 42 is an example, and is at least during a symbol variation, a big hit game, during a symbol variation and a big hit game (hereinafter referred to as a normal state). If the flashing mode (notification mode) is different, a notification mode different from the notification mode shown in FIG. 42 may be used. The notification mode includes a lighting continuation mode and a flashing mode, but in a normal state, the condition that the light is turned off is a predetermined time (for example, 5 seconds) or less. That is, it is a condition that the period during which no notification is made does not become long. In other words, it is a condition that control is performed so as to avoid a state in which notification is not made over a predetermined time when power is supplied to the main board 31. Since power is supplied to the game control microcomputer 560 and the status notification LED 61 in a state where power is supplied to the main board 31, the status notification LED 61 can perform notification, but the period during which it is turned off is long. This is because it cannot be distinguished from a state in which power is not supplied to the main board 31 (a state in which an impersonation board may be mounted). In this embodiment, when power is supplied to the main board 31, the state notification LED 61 is informed by being continuously lit or in a blinking state. Further, in order to make it difficult for an unauthorized person to recognize the notification mode of the state notification LED 61, the notification mode may be made more complicated.

また、この実施の形態では、状態報知手段(この例では、状態報知LED61)の報知態様を異ならせる遊技状態を、「図柄変動中」、「大当り遊技中」および「通常状態」に分けたが、報知態様を異ならせる遊技状態はそれらに限られず、様々な状態が考えられる。例えば、「保留記憶個数の状態」、「可変入賞装置の開閉状態」、「高確率状態(確変状態)」、「特別図柄や普通図柄の図柄の変動短縮状態」、「可変入賞装置の開放延長状態」によって報知態様を異ならせてもよい。   Further, in this embodiment, the game state that changes the state of notification of the state notification means (in this example, the state notification LED 61) is divided into “during symbol variation”, “during big hit game”, and “normal state”. The gaming state in which the notification mode is different is not limited to these, and various states are conceivable. For example, “Status of number of reserved memory”, “Opening / closing state of variable winning device”, “High probability state (probability changing state)”, “Variation shortening state of special symbol or normal symbol”, “Open extension of variable winning device The notification mode may be varied depending on the “state”.

図43は、ステップS34(図37参照)の状態報知LED制御処理を示すフローチャートである。状態報知LED制御処理において、CPU56は、大当り遊技中であるか否か確認する(ステップS901)。大当り遊技中であるか否かを、例えば、特別図柄プロセスフラグの値が大当り遊技中を示す値(この実施の形態では、5、6または7:図40参照))であるか否かによって確認できる。   FIG. 43 is a flowchart showing the state notification LED control process in step S34 (see FIG. 37). In the state notification LED control process, the CPU 56 checks whether or not a big hit game is being played (step S901). Whether or not the jackpot game is in progress is confirmed by, for example, whether or not the value of the special symbol process flag is a value indicating that the jackpot game is being played (in this embodiment, 5, 6 or 7: see FIG. 40). it can.

大当り遊技中であれば、CPU56は、点滅における点灯時間および消灯時間を決めるための点滅タイマの値が0になっているか否か確認する(ステップS902)。0になっていれば、状態報知LED61の点灯状態を切り替える(ステップS903)。すなわち、状態報知LED61が点灯していた場合には状態報知LED61を消灯させ、状態報知LED61が消灯していた場合には状態報知LED61を点灯させる。なお、状態報知LED61を点灯させたり消灯させたりするには、LED回路60を介して状態報知LED61に至る信号を出力する出力ポートに点灯に対応する値(例えば1)を出力したり、消灯に対応する値(例えば0)を出力するのであるが、出力ポートに点灯に対応する値を出力したときには、RAM55における点灯状態フラグを例えば1にし、出力ポートに消灯に対応する値を出力したときには、点灯状態フラグを例えば0にする。そのように制御すれば、CPU56は、点灯状態フラグによって、状態報知LED61が点灯していたか否かを判定できる。そして、CPU56は、点滅タイマに、0.5秒に相当する値をセットする(ステップS904)。   If it is during the big hit game, the CPU 56 checks whether or not the value of the blinking timer for determining the turn-on time and turn-off time for blinking is 0 (step S902). If it is 0, the lighting state of the state notification LED 61 is switched (step S903). That is, when the state notification LED 61 is turned on, the state notification LED 61 is turned off, and when the state notification LED 61 is turned off, the state notification LED 61 is turned on. In order to turn on or turn off the status notification LED 61, a value (for example, 1) corresponding to lighting is output to an output port that outputs a signal reaching the status notification LED 61 via the LED circuit 60, or is turned off. A corresponding value (for example, 0) is output. When a value corresponding to lighting is output to the output port, the lighting state flag in the RAM 55 is set to 1, for example, and when a value corresponding to lighting is output to the output port, The lighting state flag is set to 0, for example. With such control, the CPU 56 can determine whether or not the state notification LED 61 is lit based on the lighting state flag. Then, the CPU 56 sets a value corresponding to 0.5 seconds in the blinking timer (step S904).

点滅タイマの値が0になっていない場合には、CPU56は、点滅タイマの値を−1する(ステップS905)。   If the value of the blinking timer is not 0, the CPU 56 decrements the value of the blinking timer by 1 (step S905).

大当り遊技中でなければ、CPU56は、特別図柄および飾り図柄の変動中であるか否か確認する(ステップS906)。変動中であるか否かを、例えば、特別図柄プロセスフラグの値が変動中を示す値(この実施の形態では、3:図40参照))であるか否かによって確認できる。変動中であれば、CPU56は、点滅タイマの値が0になっているか否か確認する(ステップS907)。0になっていれば、状態報知LED61の点灯状態を切り替える(ステップS908)。すなわち、状態報知LED61が点灯していた場合には状態報知LED61を消灯させ、状態報知LED61が消灯していた場合には状態報知LED61を点灯させる。そして、CPU56は、点滅タイマに、2秒に相当する値をセットする(ステップS909)。   If it is not during the big hit game, the CPU 56 checks whether or not the special symbol and the decorative symbol are changing (step S906). Whether or not it is changing can be confirmed, for example, by checking whether or not the value of the special symbol process flag is a value indicating that it is changing (in this embodiment, refer to 3: FIG. 40). If it is changing, the CPU 56 checks whether or not the value of the blinking timer is 0 (step S907). If it is 0, the lighting state of the state notification LED 61 is switched (step S908). That is, when the state notification LED 61 is turned on, the state notification LED 61 is turned off, and when the state notification LED 61 is turned off, the state notification LED 61 is turned on. Then, the CPU 56 sets a value corresponding to 2 seconds in the blinking timer (step S909).

点滅タイマの値が0になっていない場合には、CPU56は、点滅タイマの値を−1する(ステップS910)。   When the value of the blinking timer is not 0, the CPU 56 decrements the value of the blinking timer by −1 (step S910).

また、特別図柄および飾り図柄の変動中でない場合には、状態報知LED61を点灯させる(ステップS911)。   If the special symbol and the decorative symbol are not changing, the state notification LED 61 is turned on (step S911).

以上に説明したように、この実施の形態では、遊技機への電源投入が開始されてからタイマ割込設定を行うまでに乱数回路503の初期設定(乱数回路設定処理)を行うとともに、乱数回路設定処理において、遊技制御用マイクロコンピュータ560固有のIDナンバにもとづく値を乱数の初期値として設定する。そのため、乱数回路503が生成する乱数のランダム性を向上させることができる。また、乱数のランダム性を向上させることができるので、乱数生成のタイミングを遊技者や遊技店に認識されにくくすることができ、無線信号を用いた取り込み信号を遊技機に対して発生させることによって、大当り状態などの特定遊技状態への移行条件を不正に成立させられてしまうことを防止することができる。   As described above, in this embodiment, the random number circuit 503 is initially set (random number circuit setting process) from the start of power-on to the gaming machine until the timer interrupt is set, and the random number circuit In the setting process, a value based on the ID number unique to the game control microcomputer 560 is set as the initial value of the random number. Therefore, the randomness of the random number generated by the random number circuit 503 can be improved. In addition, since randomness of random numbers can be improved, the timing of random number generation can be made difficult to be recognized by a player or a game store, and a capture signal using a radio signal can be generated for a gaming machine. It is possible to prevent the condition for shifting to a specific gaming state such as a big hit state from being illegally established.

また、この実施の形態では、照合に用いるIDと乱数の初期値を設定するためのIDとに同一のIDを用いるようにしていたが、別個のIDを用いるようにしてもよい。   In this embodiment, the same ID is used for the ID used for collation and the ID for setting the initial value of the random number. However, separate IDs may be used.

また、この実施の形態では、乱数回路503の反転回路532が極性を反転させた反転クロック信号SI2を生成し、反転クロック信号SI2に同期して乱数の記憶を指示するためのラッチ信号を出力する。そのため、乱数を更新するタイミングと乱数値記憶回路531に乱数を記憶させるタイミングとをずらすことができ、生成した乱数を安定して確実に記憶させることができる。   In this embodiment, the inverting circuit 532 of the random number circuit 503 generates the inverted clock signal SI2 whose polarity is inverted, and outputs a latch signal for instructing storage of the random number in synchronization with the inverted clock signal SI2. . Therefore, the timing for updating the random number and the timing for storing the random number in the random value storage circuit 531 can be shifted, and the generated random number can be stored stably and reliably.

また、この実施の形態では、CPU56が、中断ボタン361からの遊技制御処理中断信号(中断操作信号)の入力に応じて遊技制御処理を中断させるように構成されているので、例えば遊技店員等が意図的に遊技制御処理を中断させることができる。そして、意図的な中断が不能となっている場合に不正回路基板(なりすまし基板)が設置されているものと判断することができ、不正回路基板を容易に発見することができるようになる。   In this embodiment, the CPU 56 is configured to interrupt the game control process in response to the input of the game control process interrupt signal (interrupt operation signal) from the interrupt button 361. The game control process can be intentionally interrupted. Then, when the intentional interruption is impossible, it can be determined that an illegal circuit board (impersonation board) is installed, and the illegal circuit board can be easily found.

なお、この実施の形態では、遊技制御処理を中断させる例として、遊技制御処理中断信号が入力されている間は制御プログラムに従ってループ処理を行う場合について説明したが、中断操作信号が入力されている間遊技が止まればよく、遊技を止める種々の方法をとることができる。例えば、遊技機への電力供給を停止する(すなわち、電源をオフする)などの周知あるいは公知の方法によって、遊技制御処理を中断するようにしてもよい。また、例えば、CPU56の処理を停止(システムリセット)させることで「遊技制御処理を中断」させるようにしてもよいし、遊技制御用マイクロコンピュータ560から出力される全ての制御信号を出力停止させることで「遊技制御処理を実質的に中断」させるようにしてもよい。   In this embodiment, as an example of interrupting the game control process, the case where the loop process is performed according to the control program while the game control process interrupt signal is input has been described. However, the interrupt operation signal is input. It is only necessary to stop the game, and various methods for stopping the game can be taken. For example, the game control process may be interrupted by a known or publicly known method such as stopping the power supply to the gaming machine (that is, turning off the power). Further, for example, the processing of the CPU 56 may be stopped (system reset) so as to “interrupt the game control processing”, or the output of all control signals output from the game control microcomputer 560 may be stopped. The “game control process may be substantially interrupted”.

さらに、この実施の形態では、主基板31を収容する遊技制御基板ボックス内に、遊技状態に応じて報知態様を異ならせる状態報知LED61が設けられている。図28に示すように、なりすまし基板31Xが設置され、なりすまし基板31Xから主基板31に対して電力が供給されている場合、主基板31のCPU56は動作しているので、照合機365を用いて照合を行ったときに、認証対象はなりすまし基板31Xではなく主基板31であるから、照合結果はOKになる。しかし、特別図柄および飾り図柄の変動は、なりすまし基板31Xに搭載されているマイクロコンピュータによって制御される。よって、変動の制御を行っていない主基板31のCPU56は、特別図柄および飾り図柄の変動を行っているとは認識していないので、状態報知LED61を点滅させない。よって、なりすまし基板31Xに搭載されている場合には図柄変動中に状態報知LED61は点灯する状態を継続する(通常状態の報知態様のままになる。)ので、状態報知LED61が点滅する状態になるか否かによって、不正基板が設置されていることが検査される。例えば、始動入賞口14に遊技球を入れることによって図柄の変動を開始させることによって、不正基板が設置されているか否かを容易に検査できる。また、大当り遊技は、なりすまし基板31Xに搭載されているマイクロコンピュータによって制御される。よって、大当り遊技中では、主基板31のCPU56は、大当り遊技状態であることを認識していないので、状態報知LED61を点滅させない。よって、なりすまし基板31Xに搭載されている場合には図柄変動中に状態報知LED61は点灯する状態を継続する(通常状態の報知態様のままになる。)ので、状態報知LED61が点滅する状態になるか否かによって、不正基板が設置されていることが検査される。   Furthermore, in this embodiment, in the game control board box that accommodates the main board 31, a state notification LED 61 that changes the notification mode according to the gaming state is provided. As shown in FIG. 28, when the impersonation board 31X is installed and the power is supplied from the impersonation board 31X to the main board 31, the CPU 56 of the main board 31 is operating, so the collator 365 is used. When verification is performed, the verification target is OK because the authentication target is not the spoofing board 31X but the main board 31. However, the variation of the special design and the decorative design is controlled by the microcomputer mounted on the spoofing substrate 31X. Therefore, the CPU 56 of the main board 31 that is not controlling the fluctuation does not recognize that the special symbol and the decorative symbol are fluctuating, and therefore does not cause the state notification LED 61 to blink. Therefore, when mounted on the spoofing substrate 31X, the state notification LED 61 continues to be lit during the symbol variation (it remains in the normal state notification mode), so that the state notification LED 61 blinks. It is inspected that an illegal board is installed depending on whether or not. For example, it is possible to easily inspect whether or not an illegal board is installed by starting a change in the design by inserting a game ball into the start winning opening 14. The big hit game is controlled by a microcomputer mounted on the spoofing board 31X. Therefore, during the big hit game, the CPU 56 of the main board 31 does not recognize the big hit game state, and therefore does not blink the state notification LED 61. Therefore, when mounted on the spoofing substrate 31X, the state notification LED 61 continues to be lit during the symbol variation (it remains in the normal state notification mode), so that the state notification LED 61 blinks. It is inspected that an illegal board is installed depending on whether or not.

また、なりすまし基板31Xが設置され、主基板31に対して電力が供給されない場合には、状態報知LED61は点灯しない。上述したように、この実施の形態では、主基板31に電力供給がなされているときには、通常状態では、状態報知LED61は点灯する状態になる。よって、遊技機の電源を入れた状態において、状態報知LED61が点灯するか否かによって、不正基板が設置されているか否かを容易に確認できる。   Further, when the spoofing board 31X is installed and no power is supplied to the main board 31, the state notification LED 61 is not lit. As described above, in this embodiment, when power is supplied to the main board 31, the state notification LED 61 is lit in the normal state. Therefore, in the state where the power of the gaming machine is turned on, whether or not the unauthorized board is installed can be easily confirmed by whether or not the state notification LED 61 is lit.

実施の形態2.
第1の実施の形態では、中断ボタン361を用いて遊技制御処理を中断させることによって、なりすまし基板が設置されているか否かを発見するようにしていたが、中断ボタン361を用いることなく、以下に示すようにしてなりすまし基板が設置されているか否かを発見するようにしてもよい。
Embodiment 2. FIG.
In the first embodiment, the game control process is interrupted using the interrupt button 361 to discover whether the impersonation board is installed. However, without using the interrupt button 361, It may be made to discover whether the impersonation board | substrate is installed as shown in.

なお、本実施の形態において、第1の実施の形態と同様の構成および処理をなす部分についてはその詳細な説明を省略し、主として第1の実施の形態と異なる部分および第1の実施の形態では説明を省略した部分について説明する。   In the present embodiment, detailed description of the same configuration and processing as those in the first embodiment is omitted, and the portions different from those in the first embodiment and the first embodiment are mainly described. Then, the part which abbreviate | omitted description is demonstrated.

図44は、この実施の形態における主基板31の回路構成の一例を示すブロック図である。なお、図44には、遊技機に搭載されている払出制御基板37、ランプドライバ基板35、音声出力基板70、インタフェース基板66、中継基板77および演出制御基板80も示されている。主基板31には、図4に示した例と異なり、中断ボタン361は搭載されていない。また、主基板31には、図4に示した例と異なり、遊技球の未払出数が所定数を超えたときに点灯される未払出超過LED362と、入賞が発生したときに点灯される入賞報知ランプ363とが搭載されている。   FIG. 44 is a block diagram showing an example of the circuit configuration of the main board 31 in this embodiment. 44 also shows a payout control board 37, a lamp driver board 35, an audio output board 70, an interface board 66, a relay board 77, and an effect control board 80 mounted on the gaming machine. Unlike the example shown in FIG. 4, the interrupt button 361 is not mounted on the main board 31. Further, unlike the example shown in FIG. 4, the main board 31 has an unpaid excess LED 362 that is turned on when the number of unpaid game balls exceeds a predetermined number, and a winning that is turned on when a winning occurs. A notification lamp 363 is mounted.

次に、主基板31と払出制御基板37との間で送受信される払出制御信号について説明する。図45は、遊技制御用マイクロコンピュータ560から払出制御用マイクロコンピュータ370に対して出力される払出制御信号および遊技制御用マイクロコンピュータ560に払出制御用マイクロコンピュータ370から入力される払出制御信号の内容の一例を示す説明図である。この実施の形態では、払出制御等に関する各種の制御を行うために、主基板31と払出制御基板37との間で複数種類の制御信号が送受信(双方向通信)される。   Next, payout control signals transmitted and received between the main board 31 and the payout control board 37 will be described. FIG. 45 shows the contents of the payout control signal output from the game control microcomputer 560 to the payout control microcomputer 370 and the payout control signal input from the payout control microcomputer 370 to the game control microcomputer 560. It is explanatory drawing which shows an example. In this embodiment, a plurality of types of control signals are transmitted and received (two-way communication) between the main board 31 and the payout control board 37 in order to perform various controls relating to payout control and the like.

図45に示すように、電源確認信号は、主基板31の立ち上がり時(電力供給の開始後に遊技制御用マイクロコンピュータ560が遊技の進行を制御可能な状態となったとき)に立ち上がり(オン状態になり)、払出制御基板37に対して主基板31が立ち上がったことを通知するための信号(主基板31の接続確認信号)である。また、電源確認信号は、賞球払出を許可する状態であることを示す。すなわち、遊技制御用マイクロコンピュータ560は、電源確認信号をオフ状態にすることによって、払出制御用マイクロコンピュータ370に対して賞球払出を行わせないようにすることができる。なお、払出制御用マイクロコンピュータ370は、賞球払出中に電源確認信号がオフ状態になったことを検出した場合には、そのときに払い出すことが決まっている個数の賞球払出を完了させた時点で、賞球払出処理を実行しない状態に移行する。   As shown in FIG. 45, the power supply confirmation signal rises (turns on when the main board 31 rises (when the game control microcomputer 560 enters a state in which the progress of the game can be controlled after the start of power supply). This is a signal for notifying the payout control board 37 that the main board 31 has risen (connection confirmation signal for the main board 31). The power supply confirmation signal indicates that the prize ball payout is permitted. That is, the game control microcomputer 560 can prevent the payout control microcomputer 370 from paying out a prize ball by turning off the power confirmation signal. If the payout control microcomputer 370 detects that the power supply confirmation signal is turned off during the payout of the prize ball, the payout control microcomputer 370 completes the number of prize balls to be paid out at that time. At this point, the system shifts to a state in which the prize ball payout process is not executed.

払出REQ信号は、賞球の払出要求時に出力状態(=オン状態)になる信号(すなわち賞球払出要求のトリガ信号)である。また、払出REQ信号は、払出制御用マイクロコンピュータ370からの受信確認信号がオン状態になると、停止状態(オフ状態)になる。   The payout REQ signal is a signal (that is, a trigger signal for a prize ball payout request) that becomes an output state (= ON state) when a prize ball payout request is made. The payout REQ signal is stopped (off state) when a reception confirmation signal from the payout control microcomputer 370 is turned on.

払出個数信号は、払出要求を行う遊技球の個数(例えば1〜15個)を指定するために出力される信号(賞球個数コマンド)である。払出個数信号は、遊技制御用マイクロコンピュータ560(具体的には、CPU56)が、賞球待機状態において受信確認信号がオン状態になったことを検出したとき、または、払出REQ信号の送信後に受信確認信号がオン状態にならなかったことを検出したとき、もしくは払出REQ信号の送信停止後にオフ状態にならなかったことを検出したときに出力される受信確認信号エラーを示すエラー信号としても用いられる。具体的には、払出個数信号が1E(H)であれば、受信確認信号エラーであることを示している。また、払出個数信号は、CPU56が、賞球待機状態において払出動作中信号がオン状態になったことを検出したとき、または、受信確認信号がオフ状態になった後、払出動作中信号がオン状態にならなかったことを検出したときに出力される払出動作中信号エラーを示すエラー信号としても用いられる。具体的には、払出個数信号が1F(H)であれば、払出動作中信号エラーであることを示している。   The payout number signal is a signal (prize ball number command) that is output to designate the number of game balls (for example, 1 to 15) that make a payout request. The payout number signal is received when the game control microcomputer 560 (specifically, the CPU 56) detects that the reception confirmation signal is turned on in the prize ball standby state or after the payout REQ signal is transmitted. It is also used as an error signal indicating a reception confirmation signal error that is output when it is detected that the confirmation signal has not been turned on, or when it has been detected that the confirmation signal has not been turned off after transmission of the payout REQ signal is stopped. . Specifically, if the payout number signal is 1E (H), it indicates a reception confirmation signal error. Further, the payout number signal is turned on when the CPU 56 detects that the payout operation in-progress signal is turned on in the prize ball standby state or after the reception confirmation signal is turned off. It is also used as an error signal indicating a signal error during payout operation that is output when it is detected that the state has not been reached. Specifically, if the payout number signal is 1F (H), it indicates a signal error during payout operation.

接続確認信号は、払出制御用マイクロコンピュータ370が、払出制御基板37の立ち上がり時にオン状態にして、遊技制御用マイクロコンピュータ560に、払出制御基板37が立ち上がったことを通知するための信号である。換言すれば、払出制御用マイクロコンピュータ370が賞球払出処理を実行可能であることを通知するための信号である。よって、払出制御用マイクロコンピュータ370は、遊技球の払い出しに関わるエラーが発生すると、接続確認信号をオフ状態にする。受信確認信号は、払出制御用マイクロコンピュータ370が払出REQ信号がオン状態になったことに応じて払出個数信号を受信すると、オン状態にする信号である。払出動作中信号は、払出制御用マイクロコンピュータ370が賞球払出処理を開始するとオン状態にし、払出個数信号で指令された個数の賞球払出が完了するとオフ状態にする信号である。   The connection confirmation signal is a signal for the payout control microcomputer 370 to turn on when the payout control board 37 rises and to notify the game control microcomputer 560 that the payout control board 37 has risen. In other words, this is a signal for notifying that the payout control microcomputer 370 can execute the winning ball payout process. Therefore, the payout control microcomputer 370 turns off the connection confirmation signal when an error relating to payout of the game ball occurs. The reception confirmation signal is a signal that is turned on when the payout control microcomputer 370 receives a payout number signal in response to the payout REQ signal being turned on. The payout operation in-progress signal is a signal that is turned on when the payout control microcomputer 370 starts the prize ball payout process and is turned off when the number of prize balls paid out by the payout number signal is completed.

図46は、図45に示す払出制御信号の送受信に用いられる信号線等を示すブロック図である。図46に示すように、払出制御信号のうち、電源確認信号、払出REQ信号、および払出個数信号は、CPU56によって出力回路67を介して出力され、入力回路373Aを介して払出制御用マイクロコンピュータ370に入力される。また、払出制御信号のうち、接続確認信号、受信確認信号および払出動作中信号は、払出制御用マイクロコンピュータ370によって出力回路373Bを介して出力され、入力回路68を介して遊技制御用マイクロコンピュータ560に入力される。電源確認信号、払出REQ信号、接続確認信号、受信確認信号および払出動作中信号は、それぞれ1ビットのデータであり、それぞれ1本の信号線(信号経路)によって送信される。払出個数信号は、5ビットのデータで構成され5本の信号線(信号経路)によって送信される。   FIG. 46 is a block diagram showing signal lines and the like used for transmission / reception of the payout control signal shown in FIG. As shown in FIG. 46, among the payout control signals, the power supply confirmation signal, the payout REQ signal, and the payout quantity signal are output by the CPU 56 via the output circuit 67, and the payout control microcomputer 370 via the input circuit 373A. Is input. Of the payout control signals, the connection confirmation signal, the reception confirmation signal, and the payout operation in-progress signal are output by the payout control microcomputer 370 via the output circuit 373B, and the game control microcomputer 560 via the input circuit 68. Is input. Each of the power supply confirmation signal, the payout REQ signal, the connection confirmation signal, the reception confirmation signal, and the payout operation in-progress signal is 1-bit data, and is transmitted through one signal line (signal path). The payout number signal is composed of 5-bit data and is transmitted through five signal lines (signal paths).

図47は、払出制御信号の出力の仕方の一例を示すタイミング図である。図47に示すように、入賞検出スイッチが遊技球の入賞を検出したことにもとづいて、CPU56は、払出REQ信号をオン状態にするとともに、払出個数信号の出力状態を、入賞に応じて払い出される賞球数に応じた状態にする。なお、この実施の形態では、始動口スイッチ14aで遊技球が検出されると4個の賞球払出を行い、入賞口スイッチ33a,39a,29a,30aのいずれかで遊技球が検出されると7個の賞球払出を行い、Vカウントスイッチ22またはカウントスイッチ23で遊技球が検出されると15個の賞球払出を行う。また、上述したように、払出個数信号は5ビットで構成されているので、8ビットで表現されている00(H)〜0F(H)の賞球個数コマンドのうち、下位の5ビットが払出個数信号によって主基板31から払出制御基板37に伝達される。従って、払出個数信号によって、0〜31個の賞球個数指定を行うことが可能であるが、この実施の形態では、1F(H)および1E(H)はエラー通知のために使用される。よって、実際には、0〜29個の賞球個数指定を行うことが可能である。しかし、この実施の形態では、個数指定としては15(0F(H))までを使用するので、以下、「00(H)〜0F(H)の払出個数信号」のように表現することがある。   FIG. 47 is a timing chart showing an example of how to output the payout control signal. As shown in FIG. 47, based on the winning detection switch detecting the winning of the game ball, the CPU 56 turns on the payout REQ signal and pays out the output state of the payout number signal according to the win. A state corresponding to the number of prize balls is set. In this embodiment, when a game ball is detected by the start port switch 14a, four prize balls are paid out, and when a game ball is detected by any of the prize port switches 33a, 39a, 29a, 30a. Seven prize balls are paid out. When a game ball is detected by the V count switch 22 or the count switch 23, 15 prize balls are paid out. As described above, since the payout number signal is composed of 5 bits, the lower 5 bits of the award ball number commands of 00 (H) to 0F (H) expressed in 8 bits are paid out. The number signal is transmitted from the main board 31 to the payout control board 37. Therefore, it is possible to designate 0 to 31 prize balls by the number-of-payout signal, but in this embodiment, 1F (H) and 1E (H) are used for error notification. Therefore, in practice, it is possible to specify the number of prize balls from 0 to 29. However, in this embodiment, up to 15 (0F (H)) is used for specifying the number, and therefore, it may be expressed as “payout number signal from 00 (H) to 0F (H)” hereinafter. .

払出制御用マイクロコンピュータ370は、払出REQ信号の受信を確認すると、払出個数信号を入力し、受信確認信号を送信(オン状態)する。CPU56は、受信確認信号の受信を確認すると、払出REQ信号の送信を停止する(オフ状態にする)。払出制御用マイクロコンピュータ370は、払出REQ信号がオフ状態になったことを確認すると、払出個数信号で指定された個数の賞球払出が行われるように払出モータ289を駆動する。駆動を開始するときに、払出動作中信号を送信(オン状態)する。払出制御用マイクロコンピュータ370は、払出個数カウントスイッチ301の検出信号にもとづいて、払出個数信号で指定された個数の賞球払出が行われたことを確認すると、払出動作中信号の送信を停止する(オフ状態にする)。CPU56は、払出動作中信号がオフ状態になったことを確認すると、払出個数信号の状態をオフ状態(全て0の状態)にする。   When the payout control microcomputer 370 confirms the receipt of the payout REQ signal, the payout control microcomputer 370 inputs the payout number signal and transmits (turns on) the reception confirmation signal. When the CPU 56 confirms reception of the reception confirmation signal, the CPU 56 stops transmission of the payout REQ signal (sets to an off state). When confirming that the payout REQ signal is turned off, the payout control microcomputer 370 drives the payout motor 289 so that the number of award balls specified by the payout number signal is paid. When driving is started, a payout operation in-progress signal is transmitted (ON state). When the payout control microcomputer 370 confirms that the number of award balls specified by the payout number signal has been paid based on the detection signal of the payout number count switch 301, the payout control microcomputer 370 stops transmitting the payout operation in-progress signal. (Turn off). When the CPU 56 confirms that the payout operation in-progress signal has been turned off, the CPU 56 sets the payout number signal to an off state (all 0).

なお、CPU56は、払出REQ信号をオフ状態にするときに、払出個数信号の状態をオフ状態にしてもよい。   The CPU 56 may set the state of the payout number signal to the off state when the payout REQ signal is turned off.

図47に示すように、払出REQ信号および払出個数信号がオン状態であるときに新たな入賞が検出されると、その入賞にもとづく払出REQ信号のオンおよび払出個数信号の出力は待たされる。具体的には、CPU56は、払出REQ信号がオン状態であるときに新たな入賞を検出すると、その入賞にもとづいて払い出されるべき賞球数を、RAM55に形成される総賞球数格納バッファの内容に加算する。そして、CPU56は、払出REQ信号をオフ状態にしたときに、総賞球数格納バッファの内容が0でなければ、15を上限として、総賞球数格納バッファの内容が示す賞球数の賞球払出を指示するために、払出REQ信号をオン状態にするとともに、払出個数信号を出力する。   As shown in FIG. 47, when a new winning is detected when the payout REQ signal and the payout number signal are in the on state, the payout REQ signal is turned on and the payout number signal is output based on the win. Specifically, when the CPU 56 detects a new winning when the payout REQ signal is in the ON state, the number of winning balls to be paid out based on the winning is stored in the total winning ball number storage buffer formed in the RAM 55. Add to content. Then, when the content of the total winning ball number storage buffer is not 0 when the payout REQ signal is turned off, the CPU 56 receives an award of the number of winning balls indicated by the content of the total winning ball number storage buffer up to 15. In order to instruct ball payout, the payout REQ signal is turned on and a payout quantity signal is output.

図48は、ステップS29の賞球処理の一例を示すフローチャートである。賞球処理において、CPU56は、賞球個数加算処理(ステップS201)と賞球制御処理(ステップS202)とを実行する。そして、RAM55に形成される出力ポートバッファのうちの出力ポート0バッファの内容をポート0に出力する(ステップS203)。なお、出力ポート0バッファの内容は、賞球制御処理において更新される。   FIG. 48 is a flowchart showing an example of the prize ball processing in step S29. In the prize ball process, the CPU 56 executes a prize ball number addition process (step S201) and a prize ball control process (step S202). Then, the contents of the output port 0 buffer among the output port buffers formed in the RAM 55 are output to port 0 (step S203). The contents of the output port 0 buffer are updated in the prize ball control process.

賞球個数加算処理では、図49に示す賞球個数テーブルが使用される。賞球個数テーブルは、ROM54に設定されている。賞球個数テーブルの先頭アドレスには処理数(この例では「7」)が設定され、その後に、スイッチオンバッファの下位アドレス、入賞により賞球を払い出すことになる入賞口の各スイッチについてのスイッチ入力ビット判定値、賞球数が、入賞口の各スイッチのそれぞれに対応して順次設定されている。なお、スイッチ入力ビット判定値は、入力ポート0における各スイッチの検出信号が入力されるビットに対応した値である。また、スイッチオンバッファの上位アドレスは固定的な値(例えば7F(H))である。また、賞球個数テーブルにおいて、7つのスイッチオンバッファの下位アドレスのそれぞれには、同じデータが設定されている。   In the prize ball number adding process, a prize ball number table shown in FIG. 49 is used. The prize ball number table is set in the ROM 54. The number of processes (in this example, “7”) is set in the top address of the winning ball number table, and then the lower address of the switch-on buffer, and each switch of the winning opening that will pay out the winning ball by winning. The switch input bit determination value and the number of winning balls are sequentially set corresponding to each switch of the winning opening. The switch input bit determination value is a value corresponding to a bit to which the detection signal of each switch at the input port 0 is input. The upper address of the switch-on buffer is a fixed value (for example, 7F (H)). In the prize ball number table, the same data is set in each of the lower addresses of the seven switch-on buffers.

図50は、賞球個数加算処理を示すフローチャートである。賞球個数加算処理において、CPU56は、賞球個数テーブルの先頭アドレスをポインタにセットする(ステップS161)。そして、ポインタが指すアドレスのデータ(この場合には処理数)をロードする(ステップS162)。次に、スイッチオンバッファの上位アドレス(8ビット)を2バイトのチェックポインタの上位1バイトにセットする(ステップS163)。   FIG. 50 is a flowchart showing the prize ball number adding process. In the winning ball number adding process, the CPU 56 sets the head address of the winning ball number table in the pointer (step S161). Then, the data at the address pointed to by the pointer (in this case, the number of processes) is loaded (step S162). Next, the upper address (8 bits) of the switch-on buffer is set in the upper 1 byte of the 2-byte check pointer (step S163).

そして、ポインタの値を1増やし(ステップS164)、ポインタが指す賞球個数テーブルのデータ(この場合にはスイッチオンバッファの下位アドレス)をチェックポインタの下位1バイトにセットした後(ステップS165)、ポインタの値を1増やす(ステップS166)。次いで、チェックポインタが指すアドレスのデータ、すなわちスイッチオンバッファの内容をレジスタにロードし(ステップS167)、ロードした内容と、ポインタが指す賞球個数テーブルのデータ(この場合にはスイッチ入力ビット判定値)との論理積をとる(ステップS168)。この結果、スイッチオンバッファの内容がロードされたレジスタには、検査対象としているスイッチの検出信号に対応したビット以外の7ビットが0になる。そして、ポインタの値を1増やす(ステップS169)。   Then, the value of the pointer is incremented by 1 (step S164), the prize ball number table data pointed to by the pointer (in this case, the lower address of the switch-on buffer) is set in the lower 1 byte of the check pointer (step S165), The pointer value is incremented by 1 (step S166). Next, the address data pointed to by the check pointer, that is, the contents of the switch-on buffer is loaded into the register (step S167), and the loaded contents and the data of the prize ball number table pointed to by the pointer (in this case, the switch input bit judgment value) ) And the logical product (step S168). As a result, 7 bits other than the bit corresponding to the detection signal of the switch to be inspected become 0 in the register loaded with the contents of the switch-on buffer. Then, the pointer value is incremented by 1 (step S169).

ステップS168における演算結果が0でなれば、すなわち、検査対象のスイッチの検出信号がオン状態であれば(ステップS170)、入賞が発生したとして入賞報知ランプ363を所定期間点灯させ(ステップS171)、ポインタが指す賞球個数テーブルのデータ(この場合には賞球個数)を賞球加算値に設定し(ステップS172)、賞球加算値を、RAM55に形成されている16ビットの総賞球数格納バッファの内容に加算する(ステップS173)。なお、総賞球数格納バッファは、バックアップRAMに形成されている。そして、CPU56は、ステップS173での加算の結果、総賞球数格納バッファに格納されている賞球個数(未払出の賞球の総数)があらかじめ定められた異常判定数(例えば、200、500、1000等)以上になった場合には、未払出超過LEDを点灯させる(ステップS174,175)。   If the calculation result in step S168 is zero, that is, if the detection signal of the switch to be inspected is on (step S170), the winning notification lamp 363 is turned on for a predetermined period of time (step S171), assuming that a winning has occurred. The data of the prize ball number table pointed to by the pointer (in this case, the number of prize balls) is set as the prize ball addition value (step S172), and the prize ball addition value is set as the total number of 16-bit prize balls formed in the RAM 55. It adds to the contents of the storage buffer (step S173). The total winning ball number storage buffer is formed in the backup RAM. Then, as a result of the addition in step S173, the CPU 56 determines an abnormality determination number (for example, 200, 500) in which the number of winning balls (total number of unpaid winning balls) stored in the total winning ball number storage buffer is predetermined. , 1000, etc.), the unpaid excess LED is turned on (steps S174, 175).

ステップS176では処理数を1減らし、処理数が0であれば処理を終了し、処理数が0でなければステップS164に戻る(ステップS177)。また、ステップS170において、ステップS168における演算結果が0であること、すなわち、検査対象のスイッチの検出信号がオフ状態であることを確認したら、ステップS176に移行する。   In step S176, the number of processes is reduced by 1. If the number of processes is 0, the process ends. If the number of processes is not 0, the process returns to step S164 (step S177). In step S170, if it is confirmed that the calculation result in step S168 is 0, that is, if the detection signal of the switch to be inspected is in the OFF state, the process proceeds to step S176.

図51は、ステップS201の賞球制御処理を示すフローチャートである。賞球制御処理では、CPU56は、賞球プロセスコードの値に応じて、ステップS231〜S236のいずれかの処理を実行する。   FIG. 51 is a flowchart showing the prize ball control process in step S201. In the prize ball control process, the CPU 56 executes any one of steps S231 to S236 according to the value of the prize ball process code.

図52は、賞球プロセスコードの値が0の場合に実行される待機処理(ステップS231)を示すフローチャートである。CPU56は、待機処理において、賞球タイマの値を確認する(ステップS241A)。賞球タイマの値が0でない場合には、賞球タイマの値を1減算して処理を終了する(ステップS242A)。なお、賞球タイマの値が0でない場合とは、例えば、前回の払出制御信号の通信時に払出動作中信号がオフになったことを確認して賞球個数信号をオフ状態にしたときに、次に払出REQ信号をオン状態にするまでに待ち時間を挿入するために賞球タイマに所定値がセットされたような場合である。   FIG. 52 is a flowchart showing the standby process (step S231) executed when the value of the prize ball process code is 0. In the standby process, the CPU 56 checks the value of the prize ball timer (step S241A). When the value of the prize ball timer is not 0, the value of the prize ball timer is decremented by 1, and the process is terminated (step S242A). When the value of the prize ball timer is not 0, for example, when the award ball number signal is turned off after confirming that the payout operation in progress signal is turned off at the time of communication of the previous payout control signal, This is the case where a predetermined value is set in the prize ball timer in order to insert a waiting time until the payout REQ signal is turned on.

賞球タイマの値が0であった場合には、CPU56は、電源確認信号をオフ状態にしているか否か確認し(ステップS243A)、電源確認信号をオフ状態にしているときには、処理を終了する。よって、電源確認信号をオフ状態にしている場合には、払出REQ信号が出力されないことになる。なお、CPU56は、電源確認信号の出力状態を、出力ポート0バッファのビット6の状態によって把握できる。また、CPU56は、入力ポートを介して接続確認信号の状態を確認する(ステップS243B)。接続確認信号がオフ状態であれば処理を終了する。よって、接続確認信号がオフ状態である場合には、払出個数信号送信処理(図53参照)に移行されず(具体的には、後述するステップS254での払出REQ中出力値を出力ポート0バッファにセットする処理が実行されず)、払出REQ信号が出力されないことになる。   If the value of the prize ball timer is 0, the CPU 56 checks whether or not the power confirmation signal is turned off (step S243A). When the power confirmation signal is turned off, the process is terminated. . Therefore, when the power confirmation signal is turned off, the payout REQ signal is not output. The CPU 56 can grasp the output state of the power confirmation signal from the state of bit 6 of the output port 0 buffer. Further, the CPU 56 confirms the state of the connection confirmation signal via the input port (step S243B). If the connection confirmation signal is off, the process is terminated. Therefore, when the connection confirmation signal is in the OFF state, the process is not shifted to the payout number signal transmission process (see FIG. 53) (specifically, the output value during payout REQ in step S254 described later is output to the output port 0 buffer). In this case, the payout REQ signal is not output.

接続確認信号がオン状態である場合には、入力ポートを介して受信確認信号の状態を確認する(ステップS244)。受信確認信号は、待機状態ではオン状態にならないはずであるから、受信確認信号がオン状態である場合には、CPU56は、通信エラーが生じたと判断する。そして、賞球異常状態出力値(00(H)または1E(H))を出力ポート0バッファにセットして処理を終了する(ステップS247)。なお、賞球異常状態出力値が出力ポート0バッファにセットされると、ステップS203(図48参照)において出力ポート0バッファの内容がポート0に出力されることによって、電源確認信号および払出REQ信号がオフ状態になる。このような制御によって、賞球払出待機中に受信確認信号がオン状態になったときには、電源確認信号がオフ状態になる。そして、総賞球数格納バッファに0でない値が記憶されていたとしても、払出指令信号を出力する状態に移行しない。すなわち、払出指令信号をオン状態にすることを禁止する。   If the connection confirmation signal is on, the state of the reception confirmation signal is confirmed via the input port (step S244). Since the reception confirmation signal should not be turned on in the standby state, when the reception confirmation signal is on, the CPU 56 determines that a communication error has occurred. Then, the prize ball abnormal state output value (00 (H) or 1E (H)) is set in the output port 0 buffer, and the process is terminated (step S247). When the prize ball abnormal state output value is set in the output port 0 buffer, the contents of the output port 0 buffer are output to port 0 in step S203 (see FIG. 48), whereby a power supply confirmation signal and a payout REQ signal are output. Turns off. By such control, when the reception confirmation signal is turned on during the award ball waiting, the power confirmation signal is turned off. Even if a value other than 0 is stored in the total winning ball number storage buffer, the state does not shift to a state in which a payout command signal is output. That is, it is prohibited to turn on the payout command signal.

また、賞球異常状態出力値として1E(H)がセットされる場合は図22に示された場合に対応し、賞球異常状態出力値として00(H)がセットされる場合は図21に示された場合に対応する。賞球異常状態出力値としての1E(H)がセットされると、払出個数信号として1E(H)が出力され、賞球異常状態出力値としての00(H)がセットされると、払出個数信号として00(H)が出力される。ただし、この段階では、通常、賞球異常状態出力値がセットされる前に、払出個数信号として00(H)になっている。   Further, the case where 1E (H) is set as the prize ball abnormal state output value corresponds to the case shown in FIG. 22, and the case where 00 (H) is set as the prize ball abnormal state output value is shown in FIG. Corresponds to the indicated case. When 1E (H) as a prize ball abnormal state output value is set, 1E (H) is output as a payout number signal, and when 00 (H) as a prize ball abnormal state output value is set, the number of payouts 00 (H) is output as a signal. However, at this stage, normally, the payout quantity signal is 00 (H) before the prize ball abnormal state output value is set.

また、CPU56は、受信確認信号がオン状態でなければ、入力ポートを介して払出動作中信号の状態を確認する(ステップS245)。払出動作中信号は、待機状態ではオン状態にならないはずであるから、払出動作中信号がオン状態である場合には、CPU56は、通信エラーが生じたと判断する。そして、賞球異常状態出力値(00(H)または1F(H))を出力ポート0バッファにセットして処理を終了する(ステップS246)。このような制御によって、賞球払出待機中に払出動作中信号がオン状態になったときには、電源確認信号がオフ状態になる。そして、総賞球数格納バッファに0でない値が記憶されていたとしても、払出指令信号を出力する状態に移行しない。すなわち、払出指令信号をオン状態にすることを禁止する。   If the reception confirmation signal is not on, the CPU 56 checks the state of the payout operation in-progress signal via the input port (step S245). Since the payout operation in-progress signal should not be turned on in the standby state, when the payout operation in-progress signal is on, the CPU 56 determines that a communication error has occurred. Then, the prize ball abnormal state output value (00 (H) or 1F (H)) is set in the output port 0 buffer, and the process is terminated (step S246). By such control, when the payout operation in-progress signal is turned on during the award ball payout standby, the power supply confirmation signal is turned off. Even if a value other than 0 is stored in the total winning ball number storage buffer, the state does not shift to a state in which a payout command signal is output. That is, it is prohibited to turn on the payout command signal.

通信エラーが生じていなければ、賞球待機中出力値(40(H))を出力ポート0バッファにセットする(ステップS248)。なお、賞球待機中出力値が出力ポート0バッファにセットされると、ステップS203において出力ポート0バッファの内容がポート0に出力されることによって、払出REQ信号はオフ状態になり、電源確認信号はオン状態になる。ただし、通信に関する制御が正常に続行されていた場合には、この段階で、すでに、払出REQ信号はオフ状態になり、電源確認信号はオン状態になっている。ステップS248の処理が有効になるのは、通信エラーの状態から回復したとき(具体的には、払出制御基板37からの接続確認信号がオン状態に戻ったとき)である。   If no communication error has occurred, the prize ball standby output value (40 (H)) is set in the output port 0 buffer (step S248). When the prize ball waiting output value is set in the output port 0 buffer, the payout REQ signal is turned off by outputting the contents of the output port 0 buffer to port 0 in step S203, and the power supply confirmation signal Turns on. However, if the control related to communication has been normally continued, at this stage, the payout REQ signal is already in the off state and the power supply confirmation signal is in the on state. The processing in step S248 is valid when the communication error state is recovered (specifically, when the connection confirmation signal from the payout control board 37 returns to the on state).

次いで、CPU56は、総賞球数格納バッファの内容を確認する(ステップS249)。その値が0であれば処理を終了し、0でなければ、賞球プロセスコードの値を1にした後(ステップS250)、処理を終了する。   Next, the CPU 56 confirms the contents of the total winning ball number storage buffer (step S249). If the value is 0, the process ends. If not, the value of the prize ball process code is set to 1 (step S250), and the process ends.

図53は、賞球プロセスコードの値が1の場合に実行される払出個数信号送信処理(ステップS232)を示すフローチャートである。CPU56は、払出個数信号送信処理において、総賞球数格納バッファの内容が賞球コマンド最大値(この例では「15」)よりも小さいか否か確認する(ステップS251)。総賞球数格納バッファの内容が賞球コマンド最大値以上であれば、賞球コマンド最大値を賞球個数バッファに設定する(ステップS252)。また、総賞球数格納バッファの内容が賞球コマンド最大値よりも小さい場合には、総賞球数格納バッファの内容を賞球個数バッファに設定する(ステップS253)。   FIG. 53 is a flowchart showing the payout quantity signal transmission process (step S232) executed when the value of the prize ball process code is 1. In the payout number signal transmission process, the CPU 56 checks whether or not the content of the total prize ball number storage buffer is smaller than the prize ball command maximum value (“15” in this example) (step S251). If the content of the total prize ball number storage buffer is equal to or greater than the prize ball command maximum value, the prize ball command maximum value is set in the prize ball number buffer (step S252). If the content of the total prize ball number storage buffer is smaller than the maximum value of the prize ball command, the content of the total prize ball number storage buffer is set in the prize ball number buffer (step S253).

その後、払出REQ中出力値(60(H))を出力ポート0バッファにセットする(ステップS254)。なお、払出REQ中出力値が出力ポート0バッファにセットされると、ステップS203において出力ポート0バッファの内容がポート0に出力されることによって、払出REQ信号がオン状態になり、電源確認信号のオン状態が維持される。また、賞球個数バッファの内容を出力ポート0バッファの下位5ビットにセットする(ステップS255)。さらに、賞球タイマに、受信確認信号がオンすることを監視するための所定時間(一例として5秒)に相当する値(この例では2500)をセットする(ステップS256)。その後、賞球プロセスコードの値を2にして(ステップS257)、処理を終了する。なお、5秒は、1回の払出処理(例えば最大25個の遊技球の払出)が完了するのに十分な時間であり、払出制御手段が球貸し処理を行っていることに起因して、払出REQ信号の確認を行わない期間を考慮した時間である。複数回の球貸し処理(例えば1回につき25個の遊技球の払い出し)が連続して実行されることが許容されている場合には、受信確認信号がオンすることを監視するための所定時間は、連続して実行される球貸し処理の最大回数を考慮して定められる。   Thereafter, the output value during payout REQ (60 (H)) is set in the output port 0 buffer (step S254). When the output value during the payout REQ is set in the output port 0 buffer, the content of the output port 0 buffer is output to the port 0 in step S203, whereby the payout REQ signal is turned on, and the power supply confirmation signal The on state is maintained. Further, the contents of the winning ball number buffer are set in the lower 5 bits of the output port 0 buffer (step S255). Further, a value (2500 in this example) corresponding to a predetermined time (for example, 5 seconds) for monitoring that the reception confirmation signal is turned on is set in the prize ball timer (step S256). Thereafter, the value of the prize ball process code is set to 2 (step S257), and the process is terminated. Note that 5 seconds is a sufficient time to complete one payout process (for example, payout of up to 25 game balls), and the payout control means is performing the ball lending process. This is a time considering a period during which the payout REQ signal is not confirmed. When it is allowed to continuously execute a plurality of ball lending processes (for example, paying out 25 game balls at a time), a predetermined time for monitoring that the reception confirmation signal is turned on Is determined in consideration of the maximum number of ball lending processes executed continuously.

なお、この実施の形態では、賞球コマンド最大値は「15」である。従って、最大で「15」の払出数を指定する払出個数信号が払出制御基板37に送信される。   In this embodiment, the maximum prize ball command value is “15”. Accordingly, a payout number signal designating a payout number of “15” at the maximum is transmitted to the payout control board 37.

図54は、賞球プロセスコードの値が2の場合に実行される受信確認信号オン待ち処理(ステップS233)を示すフローチャートである。CPU56は、受信確認信号オン待ち処理において、受信確認信号がオン状態になったことに応じて(ステップS261)、総賞球数格納バッファの内容から、賞球個数バッファの内容(払出制御用マイクロコンピュータ370に指令した賞球払出個数)を減算する(ステップS262)。そして、出力ポート0バッファの払出REQ信号出力ビットをリセットする(ステップS263)。なお、出力ポート0バッファの払出REQ信号出力ビットがリセットされると、ステップS203において出力ポート0バッファの内容がポート0に出力されることによって、払出REQ信号はオフ状態になるが、取込要求信号である払出REQ信号がオフ状態になったことによって払出指令信号がオフ状態になったことになる。   FIG. 54 is a flowchart showing the reception confirmation signal ON waiting process (step S233) executed when the value of the prize ball process code is 2. In response to the reception confirmation signal being turned on in the reception confirmation signal ON waiting process (step S261), the CPU 56 determines the contents of the prize ball number buffer (the payout control micro) from the contents of the total prize ball number storage buffer. The number of prize balls paid out commanded to the computer 370 is subtracted (step S262). Then, the payout REQ signal output bit of the output port 0 buffer is reset (step S263). If the payout REQ signal output bit of the output port 0 buffer is reset, the payout REQ signal is turned off by outputting the contents of the output port 0 buffer to port 0 in step S203. Since the payout REQ signal, which is a signal, is turned off, the payout command signal is turned off.

さらに、受信確認信号がオフ状態になることを監視するための所定時間(一例として100ms)に相当する値を賞球タイマにセットする(ステップS264)。また、賞球プロセスコードの値を3にして(ステップS265)、処理を終了する。   Further, a value corresponding to a predetermined time (100 ms as an example) for monitoring that the reception confirmation signal is turned off is set in the prize ball timer (step S264). Also, the value of the prize ball process code is set to 3 (step S265), and the process is terminated.

受信確認信号がオン状態になっていない場合には、賞球タイマの値を1減算する(ステップS266)。賞球タイマの値が0になっていない場合には処理を終了する。賞球タイマの値が0になった場合には(ステップS267)、CPU56は、通信エラーが生じたと判断する。そして、賞球異常状態出力値(00(H)または1E(H))を出力ポート0バッファにセットする(ステップS268)。賞球異常状態出力値が出力ポート0バッファにセットされると、ステップS203(図48参照)において出力ポート0バッファの内容がポート0に出力されることによって、電源確認信号および払出REQ信号がオフ状態になる。そして、賞球プロセスコードの値を待機処理に相当する0にして(ステップS269)、処理を終了する。   If the reception confirmation signal is not on, the value of the prize ball timer is decremented by 1 (step S266). If the value of the prize ball timer is not 0, the process is terminated. When the value of the prize ball timer becomes 0 (step S267), the CPU 56 determines that a communication error has occurred. The prize ball abnormal state output value (00 (H) or 1E (H)) is set in the output port 0 buffer (step S268). When the prize ball abnormal state output value is set in the output port 0 buffer, the contents of the output port 0 buffer are output to port 0 in step S203 (see FIG. 48), thereby turning off the power confirmation signal and the payout REQ signal. It becomes a state. Then, the value of the prize ball process code is set to 0 corresponding to the standby process (step S269), and the process ends.

図55は、賞球プロセスコードの値が3の場合に実行される受信確認信号オフ待ち処理(ステップS234)を示すフローチャートである。CPU56は、受信確認信号オフ待ち処理において、受信確認信号がオフ状態になったことに応じて(ステップS271)、払出動作中信号がオン状態になることを監視するための所定時間(一例として100ms)に相当する値を賞球タイマにセットする(ステップS272)。また、賞球プロセスコードの値を4にして(ステップS273)、処理を終了する。   FIG. 55 is a flowchart showing the reception confirmation signal OFF waiting process (step S234) executed when the value of the prize ball process code is 3. In the reception confirmation signal off waiting process, the CPU 56 determines whether the payout operation in-progress signal is turned on in response to the reception confirmation signal being turned off (step S271). ) Is set in the prize ball timer (step S272). Also, the value of the prize ball process code is set to 4 (step S273), and the process is terminated.

受信確認信号がオフ状態になっていない場合には、賞球タイマの値を1減算する(ステップS275)。賞球タイマの値が0になっていない場合には処理を終了する。賞球タイマの値が0になった場合には(ステップS276)、CPU56は、通信エラーが生じたと判断する。そして、賞球異常状態出力値(00(H)または1E(H))を出力ポート0バッファにセットする(ステップS277)。そして、賞球プロセスコードの値を待機処理に相当する0にして(ステップS278)、処理を終了する。   If the reception confirmation signal is not OFF, the value of the prize ball timer is decremented by 1 (step S275). If the value of the prize ball timer is not 0, the process is terminated. When the value of the prize ball timer becomes 0 (step S276), the CPU 56 determines that a communication error has occurred. The prize ball abnormal state output value (00 (H) or 1E (H)) is set in the output port 0 buffer (step S277). Then, the value of the prize ball process code is set to 0 corresponding to the standby process (step S278), and the process ends.

図56は、賞球プロセスコードの値が4の場合に実行される払出動作中信号オン待ち処理(ステップS235)を示すフローチャートである。CPU56は、払出動作中信号オン待ち処理において、払出動作中信号がオン状態になったことに応じて(ステップS281)、払出動作中信号がオフ状態になることを監視するための所定時間(一例として5秒)に相当する値を賞球タイマにセットする(ステップS282)。また、賞球プロセスコードの値を5にして(ステップS283)、処理を終了する。   FIG. 56 is a flowchart showing the payout operation signal on waiting process (step S235) executed when the value of the prize ball process code is 4. In the payout operation signal on waiting process, the CPU 56 determines whether or not the payout operation in-progress signal is turned off in response to the payout operation in-progress signal being turned on (step S281). Is set to the prize ball timer (step S282). Also, the value of the prize ball process code is set to 5 (step S283), and the process is terminated.

払出動作中信号がオン状態になっていない場合には、賞球タイマの値を1減算する(ステップS285)。賞球タイマの値が0になっていない場合には処理を終了する。賞球タイマの値が0になった場合には(ステップS286)、CPU56は、通信エラーが生じたと判断する。そして、賞球異常状態出力値(00(H)または1F(H))を出力ポート0バッファにセットする(ステップS287)。賞球異常状態出力値が出力ポート0バッファにセットされると、ステップS203(図48参照)において出力ポート0バッファの内容がポート0に出力されることによって、電源確認信号および払出REQ信号がオフ状態になる。そして、賞球プロセスコードの値を待機処理に相当する0にして(ステップS288)、処理を終了する。   When the payout operation in-progress signal is not on, the value of the prize ball timer is decremented by 1 (step S285). If the value of the prize ball timer is not 0, the process is terminated. When the value of the prize ball timer becomes 0 (step S286), the CPU 56 determines that a communication error has occurred. Then, the prize ball abnormal state output value (00 (H) or 1F (H)) is set in the output port 0 buffer (step S287). When the prize ball abnormal state output value is set in the output port 0 buffer, the contents of the output port 0 buffer are output to port 0 in step S203 (see FIG. 48), thereby turning off the power confirmation signal and the payout REQ signal. It becomes a state. Then, the value of the prize ball process code is set to 0 corresponding to the standby process (step S288), and the process ends.

図57は、賞球プロセスコードの値が5の場合に実行される払出動作中信号オフ待ち処理(ステップS236)を示すフローチャートである。CPU56は、払出動作中信号オフ待ち処理において、払出動作中信号がオフ状態になったことに応じて(ステップS291)、遅延時間値(一例として20msに相当する10)を賞球タイマにセットし(ステップS294)、出力ポート0バッファの払出個数信号出力ビット(下位5ビット)を0にして(ステップS297)、また、賞球プロセスコードの値を0にして(ステップS298)、処理を終了する。この場合、遊技制御用マイクロコンピュータ560と払出制御用マイクロコンピュータ370との間の通信は正常に終了したことになる。なお、遅延時間値は、次に払出REQ信号をオン状態にするまでに待ち時間を設けるためにセットされる。   FIG. 57 is a flowchart showing a payout operation signal off waiting process (step S236) executed when the value of the prize ball process code is 5. In the payout operation signal off waiting process, the CPU 56 sets a delay time value (10 corresponding to 20 ms as an example) in the prize ball timer in response to the payout operation signal being turned off (step S291). (Step S294), the payout number signal output bit (lower 5 bits) of the output port 0 buffer is set to 0 (Step S297), the value of the prize ball process code is set to 0 (Step S298), and the process is terminated. . In this case, the communication between the game control microcomputer 560 and the payout control microcomputer 370 is normally completed. The delay time value is set to provide a waiting time until the payout REQ signal is turned on next time.

払出動作中信号がオフ状態になっていない場合には、賞球タイマの値を1減算する(ステップS292)。賞球タイマの値が0になっていない場合には処理を終了する。賞球タイマの値が0になった場合には(ステップS293)、CPU56は、払出エラーが生じたと判断する。そして、CPU56は、異常報知コマンド送信要求をセットし(ステップS295)、出力ポート0バッファの電源確認信号出力ビットをリセットする(ステップS296)。また、出力ポート0バッファの払出個数信号出力ビット(下位5ビット)を0にし(ステップS297)、賞球プロセスコードの値を0にして(ステップS298)、処理を終了する。なお、異常報知コマンド送信要求がセットされると、演出制御用マイクロコンピュータに異常報知コマンドが送信される。   If the payout operation in-progress signal is not in the OFF state, the value of the prize ball timer is decremented by 1 (step S292). If the value of the prize ball timer is not 0, the process is terminated. When the value of the prize ball timer becomes 0 (step S293), the CPU 56 determines that a payout error has occurred. Then, the CPU 56 sets an abnormality notification command transmission request (step S295), and resets the power check signal output bit of the output port 0 buffer (step S296). Further, the payout number signal output bit (lower 5 bits) of the output port 0 buffer is set to 0 (step S297), the value of the winning ball process code is set to 0 (step S298), and the process is terminated. When an abnormality notification command transmission request is set, an abnormality notification command is transmitted to the effect control microcomputer.

以上のように、遊技制御用マイクロコンピュータ560は、払出制御用マイクロコンピュータ370との間の通信の異常(通信エラー)が発生したときには、遊技球の払い出しを停止させるための制御(例えば、電源確認信号をオフ)を行う。そして、遊技制御用マイクロコンピュータ560は、払出制御用マイクロコンピュータ370との間の通信の異常が解消されるまで遊技球の払い出しを停止させる。すなわち、新たな事象(遊技球の入賞等)が生じても、それに応じた処理を行わず、例えば新たに生じた事象を記憶しておく。遊技制御用マイクロコンピュータ560は、通信異常が解消されると(例えば、接続確認信号のオン状態を検出すると)、通信を再開する。   As described above, the gaming control microcomputer 560 controls to stop paying out the game ball (for example, power supply confirmation) when an abnormality (communication error) in communication with the payout control microcomputer 370 occurs. Signal off). The game control microcomputer 560 stops paying out the game balls until the abnormality in communication with the payout control microcomputer 370 is resolved. That is, even if a new event (game ball winning or the like) occurs, processing corresponding to the new event is not performed, for example, a newly generated event is stored. When the communication abnormality is resolved (for example, when the connection confirmation signal is turned on), the game control microcomputer 560 resumes communication.

この実施の形態では、CPU56が景品遊技媒体数記憶手段(この例では総賞球数格納バッファ)に記憶されている景品遊技媒体数データから払出指令信号で指定した払出数に対応する値を減算する減算処理を実行するための所定の条件は、払出制御用マイクロコンピュータ370から受信確認信号を受信したとき、具体的には、受信確認信号がオン状態になったときである。なお、受信確認信号がオン状態になったときには、払出制御用マイクロコンピュータ370は、払出指令信号で指令された個数の賞球払出をまだ行っていない。受信確認信号がオン状態になったときよりも後に(例えば、払出動作中信号がオフ状態になったとき、すなわち払出個数信号で指令した個数の賞球払出が完了したときに)総賞球数格納バッファの減算処理を行うように構成すると、賞球払出中に不正に遊技機の電力供給を停止させた後に電力供給を復旧させるような不正行為によって、不正に多数の賞球払出が行われてしまう。例えば、払出指令信号で15個の賞球払出が指令された場合に、10個の賞球払出がなされた時点で、不正に遊技機の電力供給を停止させた後に電力供給を復旧させると、総賞球数格納バッファの内容は何ら減算されていないので、実際には10個の賞球払出はなされているにも関わらず、その10個の賞球払出はなされていないものとして、賞球制御を続行してしまう。   In this embodiment, the CPU 56 subtracts a value corresponding to the payout number specified by the payout command signal from the prize game medium number data stored in the prize game medium number storage means (in this example, the total prize ball number storage buffer). The predetermined condition for executing the subtraction processing is when the reception confirmation signal is received from the payout control microcomputer 370, specifically, when the reception confirmation signal is turned on. When the reception confirmation signal is turned on, the payout control microcomputer 370 has not yet paid out the number of prize balls instructed by the payout command signal. The total number of winning balls after the reception confirmation signal is turned on (for example, when the paying-in operation signal is turned off, that is, when the number of paying balls designated by the payout number signal is completed). If the storage buffer is subtracted, a large number of prize balls will be paid out illegally by fraudulent actions such as restoring the power supply after illegally stopping the power supply of the gaming machine during the prize ball payout. End up. For example, when 15 prize ball payouts are instructed by a payout command signal, when 10 prize ball payouts are made, if the power supply is restored after illegally stopping the power supply of the gaming machine, Since the contents of the total prize ball number storage buffer are not subtracted at all, it is assumed that the 10 prize balls are not paid out even though 10 prize balls are actually paid out. Control will continue.

しかし、この実施の形態では、受信確認信号がオン状態になったときに、すなわち、払出制御用マイクロコンピュータ370が払出指令信号を受け付けて受信確認信号を送信したときに総賞球数格納バッファの減算処理が実行されるので、上記の不正行為を防止することができる。   However, in this embodiment, when the reception confirmation signal is turned on, that is, when the payout control microcomputer 370 receives the payout command signal and transmits the reception confirmation signal, Since the subtraction process is executed, the above fraud can be prevented.

なお、遊技制御手段と払出制御手段とが賞球払出制御に関して双方向通信を行い、遊技制御手段が、受信確認信号に相当する信号を受信したことに応じて、景品遊技媒体数記憶手段に記憶されている景品遊技媒体数データから払出指令信号で指定した払出数に対応する値を減算する減算処理を行う遊技機は知られている(例えば、特開2004−65676号公報参照。)。   The game control means and the payout control means perform two-way communication with respect to the prize ball payout control, and the game control means stores the prize game medium number storage means in response to receiving a signal corresponding to the reception confirmation signal. A gaming machine that performs a subtraction process for subtracting a value corresponding to the number of payouts specified by a payout command signal from the prize game medium number data that has been made is known (for example, see Japanese Patent Application Laid-Open No. 2004-65676).

図58は、特開2004−65676号公報に記載されている払出制御信号の出力の仕方を示すタイミングチャートである。図58に示すように、特開2004−65676号公報に記載されている遊技機では、遊技制御手段が、受信確認信号に相当するBUSY信号がオン状態となったあとオフ状態となったことに応じて、景品遊技媒体数記憶手段に記憶されている景品遊技媒体数データから払出指令信号で指定した払出数に対応する値を減算する減算処理を行うようにしている。   FIG. 58 is a timing chart showing how to output a payout control signal described in Japanese Patent Application Laid-Open No. 2004-65676. As shown in FIG. 58, in the gaming machine described in Japanese Patent Application Laid-Open No. 2004-65676, the game control means is turned off after the BUSY signal corresponding to the reception confirmation signal is turned on. Accordingly, a subtraction process is performed to subtract a value corresponding to the payout number specified by the payout command signal from the prize game medium number data stored in the prize game medium number storage means.

しかし、特開2004−65676号公報に記載されている遊技機では、遊技制御手段は、減算処理を行った後でも、払出制御手段が指示された個数の賞球払出を完了するまで払出指令信号(特に払出REQ信号)のオン状態を維持する。そして、払出指令信号のオン状態が維持されている状態(例えば図58に示す時刻T)で電源断が生じた後に電源が復旧すると、遊技制御手段は、制御状態が保存されている場合には、復旧処理によって、再び払出指令信号をオン状態にする。その場合、払出制御手段は、最初から(例えば15個の賞球払出の指示を受けた場合の1個目)賞球払出処理を再開するので、電源断が生ずる前に数個の遊技球を賞球として払い出していた場合には、重複払出が行われることになる。一方、この実施の形態では、減算処理を行うときに払出指令信号をオフ状態にするので、すなわち、早めに払出指令信号をオフ状態にするので、重複払出が行われ賞球が過剰に払い出されてしまう可能性が低減する。   However, in the gaming machine described in Japanese Patent Application Laid-Open No. 2004-65676, the game control means performs a payout command signal until the payout control means completes the designated number of prize balls even after performing the subtraction process. (In particular, the payout REQ signal) is kept on. Then, when the power is restored after the power is cut off in the state where the on-state of the payout command signal is maintained (for example, time T shown in FIG. 58), the game control means The payout command signal is turned on again by the recovery process. In that case, the payout control means restarts the prize ball payout process from the beginning (for example, the first one when receiving 15 prize ball payout instructions). If it is paid out as a prize ball, double payout will be made. On the other hand, in this embodiment, when the subtraction process is performed, the payout command signal is turned off, that is, since the payout command signal is turned off earlier, duplicate payout is performed and excessive payout balls are paid out. The possibility of being done is reduced.

次に、払出制御手段(払出制御用マイクロコンピュータ370およびI/Oポート)の動作を説明する。図59は、遊技機に対して電力供給が開始され払出制御用マイクロコンピュータ370へのリセット信号がハイレベルになったことに応じて払出制御用マイクロコンピュータ370が実行するメイン処理を示すフローチャートである。メイン処理では、払出制御用マイクロコンピュータ370は、まず、必要な初期設定を行う。すなわち、払出制御用マイクロコンピュータ370は、まず、割込禁止に設定する(ステップS701)。次に、割込モードを割込モード2に設定し(ステップS702)、スタックポインタにスタックポインタ指定アドレスを設定する(ステップS703)。また、払出制御用マイクロコンピュータ370は、内蔵デバイスレジスタの設定(初期化)を行い(ステップS704)、CTCおよびPIOの設定(初期化)を行う(ステップS705)を行った後に、RAMをアクセス可能状態に設定する(ステップS706)。   Next, the operation of the payout control means (the payout control microcomputer 370 and the I / O port) will be described. FIG. 59 is a flowchart showing main processing executed by the payout control microcomputer 370 in response to the start of power supply to the gaming machine and the reset signal to the payout control microcomputer 370 becoming high level. . In the main process, the payout control microcomputer 370 first performs necessary initial settings. That is, the payout control microcomputer 370 first sets the interruption prohibition (step S701). Next, the interrupt mode is set to interrupt mode 2 (step S702), and a stack pointer designation address is set to the stack pointer (step S703). The payout control microcomputer 370 sets (initializes) the built-in device register (step S704), and after setting (initializing) the CTC and PIO (step S705), the RAM can be accessed. The state is set (step S706).

この実施の形態では、内蔵CTCのうちの一つのチャネルがタイマモードで使用される。従って、ステップS704の内蔵デバイスレジスタの設定処理およびステップS705の処理において、使用するチャネルをタイマモードに設定するためのレジスタ設定、割込発生を許可するためのレジスタ設定および割込ベクタを設定するためのレジスタ設定が行われる。そして、そのチャネルによる割込がタイマ割込として用いられる。タイマ割込を例えば2ms毎に発生させたい場合は、初期値として2msに相当する値が所定のレジスタ(時間定数レジスタ)に設定される。   In this embodiment, one channel of the built-in CTC is used in the timer mode. Accordingly, in the built-in device register setting process in step S704 and the process in step S705, register setting for setting the channel to be used to timer mode, register setting for permitting interrupt generation, and setting an interrupt vector. The register is set. The interrupt by the channel is used as a timer interrupt. For example, when it is desired to generate a timer interrupt every 2 ms, a value corresponding to 2 ms is set as an initial value in a predetermined register (time constant register).

なお、タイマモードに設定されたチャネル(この実施の形態ではチャネル3)に設定される割込ベクタは、タイマ割込処理の先頭アドレスに相当するものである。具体的は、Iレジスタに設定された値と割込ベクタとでタイマ割込処理の先頭アドレスが特定される。タイマ割込処理では、払出手段を制御する払出制御処理(少なくとも主基板からの賞球払出に関する指令信号に応じて球払出装置97を駆動する処理を含み、球貸し要求に応じて球払出装置97を駆動する処理が含まれていてもよい。)が実行される。   The interrupt vector set for the channel set to the timer mode (channel 3 in this embodiment) corresponds to the start address of the timer interrupt process. Specifically, the start address of the timer interrupt process is specified by the value set in the I register and the interrupt vector. In the timer interruption process, a payout control process for controlling the payout means (including at least a process of driving the ball payout device 97 in response to a command signal related to award ball payout from the main board, and a ball payout device 97 in response to a ball lending request. A process for driving the program may be included.

この実施の形態では、払出制御用マイクロコンピュータ370でも割込モード2が設定される。従って、内蔵CTCのカウントアップにもとづく割込処理を使用することができる。また、CTCが送出した割込ベクタに応じた割込処理開始アドレスを設定することができる。   In this embodiment, the interruption mode 2 is also set in the payout control microcomputer 370. Therefore, an interrupt process based on counting up the built-in CTC can be used. Also, an interrupt processing start address can be set according to the interrupt vector sent by the CTC.

CTCのチャネル3(CH3)のカウントアップにもとづく割込は、CPUの内部クロック(システムクロック)をカウントダウンしてレジスタ値が「0」になったら発生する割込であり、タイマ割込として用いられる。具体的には、払出制御用CPU371の動作クロックを分周したクロックがCTCに与えられ、クロックの入力によってレジスタの値が減算され、レジスタの値が0になるとタイマ割込が発生する。例えば、CH3のレジスタ値はシステムクロックの1/256周期で減算される。分周したクロックにもとづいて減算が行われるので、レジスタの初期値は大きくならない。   The interrupt based on CTC channel 3 (CH3) count-up is an interrupt that occurs when the CPU internal clock (system clock) counts down and the register value becomes “0”, and is used as a timer interrupt. . Specifically, a clock obtained by dividing the operation clock of the payout control CPU 371 is supplied to the CTC, the register value is subtracted by the input of the clock, and when the register value becomes 0, a timer interrupt occurs. For example, the register value of CH3 is subtracted at 1/256 period of the system clock. Since the subtraction is performed based on the divided clock, the initial value of the register does not increase.

次いで、払出制御用マイクロコンピュータ370は、RAMクリア処理を行う(ステップS707)。また、RAM領域のフラグやカウンタなどに初期値を設定する(ステップS708)。ステップS708の処理には、賞球未払出個数カウンタ初期値(例えば0)を賞球未払出個数カウンタにセットする処理、および接続確認信号をオン状態にするための処理(具体的には、RAMに形成されている出力ポート1バッファのビット4をセットする処理)が含まれる。なお、出力ポートバッファの内容は、後述するステップS760の出力処理が最初に実行されるときに出力ポートの出力に反映される。メイン処理は遊技機に対して電力供給が開始されたことに応じて開始され、払出制御処理における出力処理が最初に実行されるときに出力ポートに接続確認信号が出力される(オン状態になる)ので、接続確認信号は、遊技機に対する電力供給が開始され払出処理を実行可能な状態になったときに、オン状態にされることになる。   Next, the payout control microcomputer 370 performs a RAM clear process (step S707). Also, initial values are set in the flags and counters of the RAM area (step S708). The processing in step S708 includes processing for setting a prize ball unpaid number counter initial value (for example, 0) in the prize ball unpaid number counter, and processing for turning on a connection confirmation signal (specifically, RAM The process of setting bit 4 of the output port 1 buffer formed in the The contents of the output port buffer are reflected in the output of the output port when the output process in step S760 described later is first executed. The main process is started in response to the start of power supply to the gaming machine, and when the output process in the payout control process is executed for the first time, a connection confirmation signal is output to the output port (turns on) Therefore, the connection confirmation signal is turned on when power supply to the gaming machine is started and the payout process can be executed.

そして、定期的にタイマ割込がかかるように払出制御用マイクロコンピュータ370に設けられているCTCのレジスタの設定を行う(ステップS709)。すなわち、初期値としてタイマ割込発生間隔に相当する値が所定のレジスタ(時間定数レジスタ)に設定される。そして、初期設定処理のステップS701において割込禁止とされているので、初期化処理を終える前に割込が許可される(ステップS710)。その後、タイマ割込の発生を監視するループ処理に入る。   Then, a CTC register provided in the payout control microcomputer 370 is set so that a timer interrupt is periodically generated (step S709). That is, a value corresponding to the timer interrupt generation interval is set as an initial value in a predetermined register (time constant register). Since interruption is prohibited in step S701 of the initial setting process, interruption is permitted before the initialization process is completed (step S710). Thereafter, a loop process for monitoring the occurrence of a timer interrupt is entered.

上記のように、この実施の形態では、払出制御用マイクロコンピュータ3701の内蔵CTCが繰り返しタイマ割込を発生するように設定される。そして、タイマ割込が発生すると、払出制御用マイクロコンピュータ370は、タイマ割込処理においてタイマ割込フラグをセットする。メイン処理におけるループ処理では、タイマ割込フラグがセットされたことを検出すると、ステップS750以降の払出制御処理を実行する。   As described above, in this embodiment, the built-in CTC of the payout control microcomputer 3701 is set to repeatedly generate a timer interrupt. When a timer interrupt occurs, the payout control microcomputer 370 sets a timer interrupt flag in the timer interrupt process. In the loop process in the main process, when it is detected that the timer interrupt flag is set, the payout control process in step S750 and subsequent steps is executed.

図60のステップS750において、払出制御用マイクロコンピュータ370は、発射モータ94に対する励磁パターンの出力処理(発射モータφ1〜φ4のパターンの出力ポート0への出力)を行う。なお、ステップS752の発射モータ制御処理において、励磁パターンがRAM領域である励磁パターンバッファに格納され、ステップS750では、払出制御用マイクロコンピュータ370は、励磁パターンバッファの内容を出力ポート0の下位4ビットに出力する処理を行う。   In step S750 of FIG. 60, the payout control microcomputer 370 performs excitation pattern output processing for the firing motor 94 (output of the patterns of the firing motors φ1 to φ4 to the output port 0). In the firing motor control process in step S752, the excitation pattern is stored in the excitation pattern buffer that is the RAM area. In step S750, the payout control microcomputer 370 stores the contents of the excitation pattern buffer in the lower 4 bits of the output port 0. Process to output to.

次に、払出制御用マイクロコンピュータ370は、入力判定処理を行う(ステップS751)。入力判定処理は、払出個数カウントスイッチ301およびエラー解除スイッチ375の検出信号の状態チェックを行う処理を含む。具体的には、それらのそれぞれに対応したスイッチタイマ(払出個数カウントスイッチタイマ、エラー解除スイッチタイマ)がRAMに形成され、スイッチチェック処理において、それらがオン状態であることを検出したら対応するスイッチタイマの値を+1し、オフ状態であることを検出したら対応するスイッチタイマの値をクリアする。   Next, the payout control microcomputer 370 performs an input determination process (step S751). The input determination process includes a process of checking the status of the detection signals of the payout number count switch 301 and the error release switch 375. Specifically, switch timers (payout number count switch timer, error release switch timer) corresponding to each of them are formed in the RAM, and when it is detected in the switch check process that they are on, the corresponding switch timer The value of the switch timer is incremented by one, and when it is detected that the switch is off, the corresponding switch timer value is cleared.

次に、払出制御用マイクロコンピュータ370は、発射モータ制御処理を実行する(ステップS752)。発射モータ制御処理では、発射モータφ1〜φ4のパターンを励磁パターンバッファに格納する。また、発射モータ94を不能動化すべきときには、発射モータ94を回転させない発射モータφ1〜φ4のパターンを励磁パターンバッファに格納する。また、払出制御用マイクロコンピュータ370は、払出モータ制御処理を実行する(ステップS753)。払出モータ制御処理では、払出モータ289を駆動すべきときには、払出モータφ1〜φ4のパターンを出力ポート0に出力するための処理を行う。   Next, the payout control microcomputer 370 executes a firing motor control process (step S752). In the firing motor control process, the patterns of the firing motors φ1 to φ4 are stored in the excitation pattern buffer. When the firing motor 94 should be disabled, the patterns of the firing motors φ1 to φ4 that do not rotate the firing motor 94 are stored in the excitation pattern buffer. Also, the payout control microcomputer 370 executes a payout motor control process (step S753). In the payout motor control process, when the payout motor 289 is to be driven, a process for outputting the patterns of the payout motors φ1 to φ4 to the output port 0 is performed.

また、払出制御用マイクロコンピュータ370は、カードユニット50と通信を行うプリペイドカードユニット制御処理を実行する(ステップS754)。次いで、CPU56と通信を行う主制御通信処理を実行する(ステップS755)。さらに、カードユニット50からの球貸し要求に応じて貸し球を払い出す制御を行い、また、主基板からの払出個数信号が示す個数の賞球を払い出す制御を行う賞球球貸し制御処理を実行する(ステップS756)。   Also, the payout control microcomputer 370 executes a prepaid card unit control process for communicating with the card unit 50 (step S754). Next, main control communication processing for communicating with the CPU 56 is executed (step S755). Furthermore, a control for paying out a ball in accordance with a ball rental request from the card unit 50 and a control for paying out a ball for controlling the payout of the number of prize balls indicated by the number-of-payout signal from the main board are performed. It executes (step S756).

そして、払出制御用マイクロコンピュータ370は、各種のエラーを検出するエラー処理を実行する(ステップS757)。また、遊技機外部に出力される賞球情報や球貸し情報を出力するための情報出力処理を実行する(ステップS758)。また、エラー処理の結果に応じてエラー表示LED374に所定の表示を行うとともに、賞球LED51および球切れLED52を点灯するための表示制御処理を実行する(ステップS759)。なお、払出制御用マイクロコンピュータ370は、表示制御処理において、払出動作中信号がオン状態であるときに、賞球LED51を点灯するための制御を行う。また、払出動作中信号をオフ状態にしたら、賞球LED51を消灯するための制御を行う。   Then, the payout control microcomputer 370 executes error processing for detecting various errors (step S757). Further, an information output process for outputting prize ball information and ball lending information output to the outside of the gaming machine is executed (step S758). Further, a predetermined display is performed on the error display LED 374 according to the result of the error processing, and a display control process for lighting the prize ball LED 51 and the ball out LED 52 is executed (step S759). In the display control process, the payout control microcomputer 370 performs control for lighting the prize ball LED 51 when the payout operation in-progress signal is on. Further, when the payout operation in-progress signal is turned off, control for turning off the prize ball LED 51 is performed.

また、この実施の形態では、出力ポートの出力状態に対応したRAM領域(出力ポート0バッファ、出力ポート1バッファ、出力ポート2バッファ)が設けられているのであるが、払出制御用マイクロコンピュータ370は、出力ポート0バッファ、出力ポート1バッファおよび出力ポート2バッファの内容を出力ポートに出力する(ステップS760:出力処理)。ただし、出力ポート0の下位4ビット(発射モータφ1〜φ4)については、ステップS750で実行されているので、出力処理においては、出力ポート0の下位4ビットについての出力を行わない。出力ポート0バッファ、出力ポート1バッファおよび出力ポート2バッファは、払出モータ制御処理(ステップS753)、プリペイドカード制御処理(ステップS754)、主制御通信処理(ステップS755)、情報出力処理(ステップS758)および表示制御処理(ステップS759)で更新される。   In this embodiment, a RAM area (output port 0 buffer, output port 1 buffer, output port 2 buffer) corresponding to the output state of the output port is provided. The contents of the output port 0 buffer, output port 1 buffer, and output port 2 buffer are output to the output port (step S760: output processing). However, since the lower 4 bits (fire motors φ1 to φ4) of output port 0 are executed in step S750, the output of the lower 4 bits of output port 0 is not performed in the output process. The output port 0 buffer, the output port 1 buffer, and the output port 2 buffer are a payout motor control process (step S753), a prepaid card control process (step S754), a main control communication process (step S755), and an information output process (step S758). And updated in the display control process (step S759).

図61は、ステップS753の払出モータ制御処理を示すフローチャートである。払出モータ制御処理において、払出制御用マイクロコンピュータ370は、払出モータ制御コードの値に応じて、ステップS521〜S526のいずれかの処理を実行する。   FIG. 61 is a flowchart showing the payout motor control process in step S753. In the payout motor control process, the payout control microcomputer 370 executes any one of steps S521 to S526 according to the value of the payout motor control code.

払出モータ制御コードの値が0の場合に実行される払出モータ通常処理(ステップS521)では、払出制御用マイクロコンピュータ370は、ポインタを、ROMに格納されているテーブルの先頭アドレスにセットする。払出モータ通常処理設定テーブルには、球払出時の払出モータ289を回転させるための各ステップの励磁パターン(払出モータφ1〜φ4)のデータが順次設定されている払出モータ励磁パターンテーブルが格納されている。   In the payout motor normal process (step S521) executed when the value of the payout motor control code is 0, the payout control microcomputer 370 sets the pointer at the head address of the table stored in the ROM. The payout motor normal process setting table stores a payout motor excitation pattern table in which data of excitation patterns (payout motors φ1 to φ4) of each step for rotating the payout motor 289 at the time of ball payout is sequentially set. Yes.

払出モータ制御コードの値が1の場合に実行される払出モータ起動準備処理(ステップS522)では、払出制御用マイクロコンピュータ370は、出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に励磁パターンの初期値を設定する等の処理を行う。   In the payout motor start preparation process (step S522) executed when the value of the payout motor control code is 1, the payout control microcomputer 370 outputs bits 4 to 4 of the output port 0 buffer corresponding to the output state of the output port 0. Processing such as setting the initial value of the excitation pattern to 7 is performed.

払出モータ制御コードの値が2の場合に実行される払出モータスローアップ処理(ステップS523)では、払出制御用マイクロコンピュータ370は、払出モータ289を滑らかに回転開始させるために、定速処理の場合よりも長い間隔で、かつ、徐々に定速処理の場合の時間間隔に近づくような時間間隔で、払出モータ励磁パターンテーブルの内容を読み出して出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。読み出しに際して、ポインタが指すアドレスの払出モータ励磁パターンテーブルの内容を読み出すとともに、ポインタの値を+1する。   In the payout motor slow-up process (step S523) executed when the value of the payout motor control code is 2, the payout control microcomputer 370 performs the constant speed process in order to smoothly start the payout motor 289. The output port 0 buffer corresponding to the output state of the output port 0 by reading the contents of the payout motor excitation pattern table at a time interval longer than the time interval and gradually approaching the time interval in the case of constant speed processing. Set to bits 4-7. At the time of reading, the contents of the payout motor excitation pattern table at the address pointed to by the pointer are read and the value of the pointer is incremented by one.

払出モータ制御コードの値が3の場合に実行される払出モータ定速処理(ステップS524)では、払出制御用マイクロコンピュータ370は、定期的に払出モータ励磁パターンテーブルの内容を読み出して出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。   In the payout motor constant speed process (step S524) executed when the value of the payout motor control code is 3, the payout control microcomputer 370 periodically reads the contents of the payout motor excitation pattern table and outputs the output port 0. Set to bits 4-7 of the output port 0 buffer corresponding to the output state.

払出モータ制御コードの値が4の場合に実行される払出モータブレーキ処理(ステップS525)では、払出制御用マイクロコンピュータ370は、払出モータ289を滑らかに停止させるために、定速処理の場合よりも長い間隔で、かつ、徐々に定速処理の場合の時間間隔から遠ざかるような時間間隔で、払出モータ励磁パターンテーブルの内容を読み出して出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。   In the payout motor brake process (step S525) executed when the value of the payout motor control code is 4, the payout control microcomputer 370 stops the payout motor 289 more smoothly than in the case of the constant speed process. Bit 4 of the output port 0 buffer corresponding to the output state of the output port 0 by reading out the contents of the payout motor excitation pattern table at a long interval and gradually away from the time interval in the case of constant speed processing. Set to ~ 7.

払出モータ制御コードの値が5の場合に実行される球噛み時払出モータブレーキ処理(ステップS526)では、払出制御用マイクロコンピュータ370は、球噛みを解除するための回転の場合に、払出モータ289を滑らかに停止させるために、球噛みを解除するための払出モータ289の回転の場合よりも長い間隔で、かつ、徐々に定速処理の場合の時間間隔から遠ざかるような時間間隔で、払出モータ励磁パターンテーブルの内容を読み出して出力ポート0の出力状態に対応した出力ポート0バッファのビット4〜7に設定する。   In the ball biting payout motor brake process (step S526) executed when the value of the payout motor control code is 5, the payout control microcomputer 370 performs the payout motor 289 in the case of rotation for releasing the ball biting. In order to smoothly stop the discharge, the payout motor at a longer interval than the rotation of the payout motor 289 for releasing the ball bite and at a time interval gradually moving away from the time interval in the case of constant speed processing. The contents of the excitation pattern table are read and set to bits 4 to 7 of the output port 0 buffer corresponding to the output state of output port 0.

図62は、ステップS755の主制御通信処理を示すフローチャートである。主制御通信処理では、払出制御用マイクロコンピュータ370は、電源確認信号がオン状態であれば(ステップS51)、主制御通信制御コードの値に応じて、ステップS531〜S535のいずれかの処理を実行する。   FIG. 62 is a flowchart showing the main control communication process of step S755. In the main control communication process, the payout control microcomputer 370 executes any one of steps S531 to S535 according to the value of the main control communication control code if the power confirmation signal is in the ON state (step S51). To do.

電源確認信号がオフ状態であれば、払出個数信号が1F(H)を示している場合には、エラーフラグにおける払出動作中信号エラービットをセットし(ステップS52,S53)、接続確認信号をオフ状態にする。払出個数信号が1E(H)を示している場合には、エラーフラグにおける受信確認信号エラービットをセットし(ステップS54,S55)、接続確認信号をオフ状態にする(ステップS58)。払出個数信号が1F(H)または1E(H)を示していない場合には、賞球払出動作中であれば(ステップS56)、エラーフラグにおける払出動作中信号エラービットをセットし(ステップS57)、接続確認信号をオフ状態にする(ステップS58)。なお、賞球払出動作中であるか否かは、RAMに形成されている賞球動作中フラグがセットされているか否かによって判定される。また、ステップS58で接続確認信号をオフ状態にする場合、RAMに形成されている出力ポート1バッファの接続確認信号出力ビット(ビット4:図37参照)をリセットし、ステップS760の出力処理において、出力ポート1バッファの内容がポート1に出力されることによって、実際に接続確認信号がオフ状態になる。   If the power supply confirmation signal is off, if the payout number signal indicates 1F (H), the payout operation in-progress signal error bit is set in the error flag (steps S52 and S53), and the connection confirmation signal is turned off. Put it in a state. If the payout number signal indicates 1E (H), the reception confirmation signal error bit in the error flag is set (steps S54 and S55), and the connection confirmation signal is turned off (step S58). If the payout quantity signal does not indicate 1F (H) or 1E (H), and if the winning ball payout operation is in progress (step S56), the payout operation in progress signal error bit in the error flag is set (step S57). Then, the connection confirmation signal is turned off (step S58). Whether or not a prize ball payout operation is in progress is determined by whether or not a prize ball in-motion flag formed in the RAM is set. When the connection confirmation signal is turned off in step S58, the connection confirmation signal output bit (bit 4: refer to FIG. 37) of the output port 1 buffer formed in the RAM is reset, and in the output process of step S760, By outputting the contents of the output port 1 buffer to port 1, the connection confirmation signal is actually turned off.

また、ステップS52,S53の処理は、CPU56が実行するステップS287の処理(賞球異常出力値として1F(H)を使用する場合)に対応する。ステップS54,S55の処理は、CPU56が実行するステップS268,S277の処理(賞球異常出力値として1E(H)を使用する場合)に対応する。ステップS56,S57の処理は、CPU56が実行するステップS296の処理に対応する。なお、この実施の形態では、ステップS53,S57において、ともに、払出動作中信号エラービットをセットしているが、払出制御用マイクロコンピュータ370は、CPU56が払出動作中信号がオンしなかったことを検出したときに通信エラーと判定したのか(ステップS287の場合)、払出動作中信号がオフしなかったことを検出したときに通信エラーと判定したのか(ステップS296の場合)を区別できるので、ステップS53とステップS57とで、セットするエラービットを変えるようにしてもよい。   Further, the processing of steps S52 and S53 corresponds to the processing of step S287 executed by the CPU 56 (when 1F (H) is used as the prize ball abnormal output value). The processing of steps S54 and S55 corresponds to the processing of steps S268 and S277 executed by the CPU 56 (when 1E (H) is used as the prize ball abnormal output value). The processing in steps S56 and S57 corresponds to the processing in step S296 executed by the CPU 56. In this embodiment, the payout operation signal error bit is set in both steps S53 and S57. However, in the payout control microcomputer 370, the CPU 56 indicates that the payout operation signal is not turned on. Whether it is determined as a communication error when it is detected (in the case of step S287) or whether it is determined as a communication error when it is detected that the payout operation in-progress signal has not been turned off (in the case of step S296) can be distinguished. The error bit to be set may be changed between S53 and S57.

図63は、主制御通信制御コードの値が0の場合に実行される待機処理(ステップS531)を示すフローチャートである。待機処理において、払出制御用マイクロコンピュータ370は、エラービットがオンしている場合には、以降の処理を実行せずに処理を終了する(ステップS541)。ステップS541では、エラーフラグ中のビットのうち1つでもセットされていたら、エラービットがセットされていると判断する。   FIG. 63 is a flowchart showing the standby process (step S531) executed when the value of the main control communication control code is 0. In the standby process, when the error bit is on, the payout control microcomputer 370 ends the process without executing the subsequent processes (step S541). In step S541, if any one of the bits in the error flag is set, it is determined that the error bit is set.

また、払出制御用マイクロコンピュータ370は、カードユニット50が球貸しスイッチが操作されたことに応じて出力する信号であるBRDY信号(ユニット操作信号)がオン状態であれば、以降の処理を実行せずに処理を終了する(ステップS542)。BRDY信号がオン状態であるということは、カードユニット50から球貸し要求が発生していることまたは球貸し処理中を意味する。すなわち、球貸し要求が発生しているときまたは球貸し処理中であるときには、主基板31の遊技制御用マイクロコンピュータ560との通信(賞球払出に関する通信)が進行しない。   The payout control microcomputer 370 executes the subsequent processing if the BRDY signal (unit operation signal), which is a signal output by the card unit 50 in response to the operation of the ball lending switch, is on. The process is ended (step S542). That the BRDY signal is in an ON state means that a ball lending request is generated from the card unit 50 or that a ball lending process is in progress. That is, when a ball lending request is generated or a ball lending process is in progress, communication with the game control microcomputer 560 of the main board 31 does not proceed.

ステップS541〜S542の条件が成立せず、電源確認信号がオン状態である場合には、払出制御用マイクロコンピュータ370は、払出REQ信号がオン状態になっているか否か確認する(ステップS543,S544)。オン状態になっている場合には、払出個数信号が示す賞球数を、一時記憶するためのRAM領域である賞球未払出個数バッファにセットし(ステップS545)、受信確認信号をオン状態にするための処理を行う(ステップS546)。具体的には、出力ポート1の出力状態に対応した出力ポート1バッファにおける受信確認信号に対応したビットをオン状態に設定する。また、払出REQ信号がオフ状態になることを監視するための所定時間(一例として100ms)に相当する値を主制御通信制御タイマにセットする(ステップS547)。そして、主制御通信制御コードの値を1にして(ステップS548)、処理を終了する。   If the conditions of steps S541 to S542 are not satisfied and the power supply confirmation signal is on, the payout control microcomputer 370 checks whether the payout REQ signal is on (steps S543 and S544). ). If it is in the on state, the number of prize balls indicated by the number-of-payout signal is set in a prize ball unpaid-out number buffer that is a RAM area for temporary storage (step S545), and the reception confirmation signal is turned on. To perform the process (step S546). Specifically, the bit corresponding to the reception confirmation signal in the output port 1 buffer corresponding to the output state of the output port 1 is set to the on state. Further, a value corresponding to a predetermined time (100 ms as an example) for monitoring that the payout REQ signal is turned off is set in the main control communication control timer (step S547). Then, the value of the main control communication control code is set to 1 (step S548), and the process ends.

なお、払出制御用マイクロコンピュータ370は、ステップS545において、払出個数信号が賞球数として0個を示していたら、ステップS546の処理を実行しない。CPU56は、払出REQ信号をオン状態にした場合に賞球数として0個を示す払出個数信号を送信することはなく、また、賞球払出待機中において払出個数信号が0個を示す状態(無効コマンドを出力する状態)にしているので、払出REQ信号がオン状態であって払出個数信号が0個を示す状態になっているということは、ノイズ等で基板間で払出REQ信号がオン状態になってしまったと考えられる。従って、そのような状況では、払出制御用マイクロコンピュータ370は、ステップS546の処理を実行しないことによって、受信確認信号をオン状態にしないことが好ましい。   The payout control microcomputer 370 does not execute the process of step S546 if the payout quantity signal indicates 0 as the number of prize balls in step S545. When the payout REQ signal is turned on, the CPU 56 does not transmit a payout number signal indicating 0 as the number of prize balls, and is in a state where the payout number signal indicates 0 during standby for paying out the prize balls (invalid Command output state), the payout REQ signal is in an on state and the payout number signal is in a state indicating 0. This means that the payout REQ signal is turned on between substrates due to noise or the like. It is thought that it has become. Therefore, in such a situation, it is preferable that the payout control microcomputer 370 does not turn on the reception confirmation signal by not executing the process of step S546.

図64は、主制御通信制御コードの値が1の場合に実行される払出REQ信号オフ待ち処理(ステップS532)を示すフローチャートである。払出REQ信号オフ待ち処理において、払出制御用マイクロコンピュータ370は、払出REQ信号がオフ状態であれば(ステップS551)、払出個数信号が示す賞球数を一時記憶するためのRAM領域である賞球未払出個数バッファの内容を、賞球未払出個数カウンタにセットする(ステップS552)。また、受信確認信号をオフ状態にするための処理を行う(ステップS553)。具体的には、出力ポート1の出力状態に対応した出力ポート1バッファにおける受信確認信号に対応したビットをオフ状態に設定する。そして、主制御通信制御コードの値を2にして(ステップS554)、処理を終了する。なお、ステップS553の処理が実行されたことに応じて、後述する払出動作開始待ち処理(図69参照)において賞球払出処理が開始される。   FIG. 64 is a flowchart showing a payout REQ signal OFF waiting process (step S532) executed when the value of the main control communication control code is 1. In the payout REQ signal OFF waiting process, if the payout REQ signal is in the OFF state (step S551), the payout control microcomputer 370 is a RAM ball for temporarily storing the number of award balls indicated by the payout number signal. The contents of the unpaid-out number buffer are set in the winning ball unpaid-out number counter (step S552). Further, a process for turning off the reception confirmation signal is performed (step S553). Specifically, the bit corresponding to the reception confirmation signal in the output port 1 buffer corresponding to the output state of the output port 1 is set to the off state. Then, the value of the main control communication control code is set to 2 (step S554), and the process ends. Note that in response to the execution of the process of step S553, a prize ball payout process is started in a payout operation start waiting process (see FIG. 69) described later.

払出REQ信号がオフ状態でなければ、払出制御用マイクロコンピュータ370は、主制御通信制御タイマの値を1減算する(ステップS555)。主制御通信制御タイマの値が0になっていなければ処理を終了する(ステップS556)。主制御通信制御タイマの値が0になった場合には、受信確認信号を送信(オン状態にすること)してから所定時間が経過しても払出REQ信号がオフせず通信エラーが発生したと判断する。そして、受信確認信号および接続確認信号をオフ状態にするための処理を行う(ステップS557)。具体的には、出力ポート1の出力状態に対応した出力ポート1バッファにおける受信確認信号および接続確認信号に対応したビットをオフ状態に設定する。また、エラーフラグのビット4(払出REQ信号エラービット)をセットする(ステップS558)。そして、主制御通信制御コードの値を0にして(ステップS559)、処理を終了する。   If the payout REQ signal is not in the OFF state, the payout control microcomputer 370 subtracts 1 from the value of the main control communication control timer (step S555). If the value of the main control communication control timer is not 0, the process is terminated (step S556). When the value of the main control communication control timer becomes 0, a payout REQ signal does not turn off even if a predetermined time elapses after the reception confirmation signal is transmitted (turned on), and a communication error occurs. Judge. Then, a process for turning off the reception confirmation signal and the connection confirmation signal is performed (step S557). Specifically, the bit corresponding to the reception confirmation signal and the connection confirmation signal in the output port 1 buffer corresponding to the output state of the output port 1 is set to the OFF state. Also, bit 4 (payout REQ signal error bit) of the error flag is set (step S558). Then, the value of the main control communication control code is set to 0 (step S559), and the process ends.

図65は、主制御通信制御コードの値が2の場合に実行される払出動作開始待ち処理(ステップS533)を示すフローチャートである。払出動作開始待ち処理において、払出制御用マイクロコンピュータ370は、賞球払出処理中であることを示す賞球動作中フラグがオン状態(1:セット状態)になった場合には、(ステップS561)、払出動作中信号をオン状態にするための処理を行う(ステップS562)。具体的には、出力ポート1の出力状態に対応した出力ポート1バッファにおける払出動作中信号に対応したビットをオン状態に設定する。そして、主制御通信制御コードの値を3にして(ステップS563)、処理を終了する。   FIG. 65 is a flowchart showing the payout operation start waiting process (step S533) executed when the value of the main control communication control code is 2. In the payout operation start waiting process, the payout control microcomputer 370, when the prize ball operating flag indicating that the prize ball payout process is being performed is turned on (1: set state) (step S561). Then, a process for turning on the payout operation in-progress signal is performed (step S562). Specifically, the bit corresponding to the payout operation in-progress signal in the output port 1 buffer corresponding to the output state of the output port 1 is set to the on state. Then, the value of the main control communication control code is set to 3 (step S563), and the process ends.

図66は、主制御通信制御コードの値が3の場合に実行される払出動作中処理(ステップS534)を示すフローチャートである。払出動作中処理において、払出制御用マイクロコンピュータ370は、賞球動作中フラグがオフ状態(0:リセット状態)になった場合には(ステップS571)、払出個数信号で指定された個数の賞球払出処理が完了したとして、払出動作中信号をオフ状態にするための処理を行う(ステップS572)。具体的には、出力ポート1の出力状態に対応した出力ポート1バッファにおける払出動作中信号に対応したビットをオフ状態に設定する。また、払出個数信号がオフ状態(5ビット全て0)になることを監視するための所定時間(一例として100ms)に相当する値を主制御通信制御タイマにセットする(ステップS573)。そして、主制御通信制御コードの値を4にして(ステップS574)、処理を終了する。   FIG. 66 is a flowchart showing a payout operation process (step S534) executed when the value of the main control communication control code is 3. In the payout operation process, the payout control microcomputer 370, when the award ball operating flag is turned off (0: reset state) (step S571), the number of award balls specified by the payout number signal. Assuming that the payout process is completed, a process for turning off the payout operation in-progress signal is performed (step S572). Specifically, the bit corresponding to the payout operation in-progress signal in the output port 1 buffer corresponding to the output state of the output port 1 is set to the OFF state. Further, a value corresponding to a predetermined time (100 ms as an example) for monitoring that the payout number signal is turned off (all 5 bits are 0) is set in the main control communication control timer (step S573). Then, the value of the main control communication control code is set to 4 (step S574), and the process ends.

図67は、主制御通信制御コードの値が4の場合に実行される払出個数信号オフ待ち処理(ステップS535)を示すフローチャートである。払出個数信号オフ待ち処理において、払出制御用マイクロコンピュータ370は、払出個数信号がオフ状態になっていたら(ステップS581)、主制御通信制御コードの値を待機状態に対応する0にして(ステップS582)、処理を終了する。この時点で、1回の賞球払出に関わる遊技制御用マイクロコンピュータ560と払出制御用マイクロコンピュータ370との間の通信が正常に終了したことになる。   FIG. 67 is a flowchart showing the payout number signal OFF waiting process (step S535) executed when the value of the main control communication control code is 4. In the payout number signal off waiting process, the payout control microcomputer 370 sets the value of the main control communication control code to 0 corresponding to the wait state (step S582) when the payout number signal is in the off state (step S581). ), The process is terminated. At this time, the communication between the game control microcomputer 560 and the payout control microcomputer 370 related to one prize ball payout is normally completed.

払出個数信号がオフ状態になっていない場合には、払出制御用マイクロコンピュータ370は、主制御通信制御タイマの値を1減算する(ステップS583)。主制御通信制御タイマの値が0になっていなければ処理を終了する(ステップS584)。主制御通信制御タイマの値が0になった場合には、払出動作中信号の送信を停止(オフ状態にすること)してから所定時間が経過しても払出個数信号がオフ状態にならず通信エラーが発生したと判断する。そして、接続確認信号をオフ状態にするための処理を行う(ステップS585)。具体的には、出力ポート1の出力状態に対応した出力ポート1バッファにおける接続確認信号に対応したビットをオフ状態に設定する。また、エラーフラグのビット5(払出個数信号エラービット)をセットする(ステップS586)。そして、主制御通信制御コードの値を0にして(ステップS582)、処理を終了する。   If the payout number signal is not in the OFF state, the payout control microcomputer 370 subtracts 1 from the value of the main control communication control timer (step S583). If the value of the main control communication control timer is not 0, the process is terminated (step S584). When the value of the main control communication control timer becomes 0, the payout number signal does not turn off even after a predetermined time has elapsed since the transmission of the payout operation signal is stopped (turned off). It is determined that a communication error has occurred. Then, a process for turning off the connection confirmation signal is performed (step S585). Specifically, the bit corresponding to the connection confirmation signal in the output port 1 buffer corresponding to the output state of the output port 1 is set to the off state. Also, bit 5 (payout number signal error bit) of the error flag is set (step S586). Then, the value of the main control communication control code is set to 0 (step S582), and the process ends.

図68は、ステップS756の賞球球貸し制御処理を示すフローチャートである。賞球球貸し制御処理において、払出制御用マイクロコンピュータ370は、払出個数カウントスイッチ301の検出信号がオン状態になったことを確認したら(ステップS601)、球貸し中であれば球貸し未払出個数カウンタの値を1減らし(ステップS602,S604)、球貸し中でなければ賞球未払出個数カウンタの値を1減らす(ステップS602,S603)。その後、払出制御コードの値に応じてステップS610〜S612のいずれかの処理を実行する。   FIG. 68 is a flowchart showing the prize ball lending control processing in step S756. In the winning ball lending control process, the payout control microcomputer 370 confirms that the detection signal of the payout number count switch 301 is turned on (step S601). The counter value is decremented by 1 (steps S602 and S604), and if the ball is not being lent, the value of the award ball unpaid out counter is decremented by 1 (steps S602 and S603). Thereafter, any one of steps S610 to S612 is executed according to the value of the payout control code.

図69は、払出制御コードが0の場合に実行される払出開始待ち処理(ステップS610)を示すフローチャートである。払出開始待ち処理において、払出制御用マイクロコンピュータ370は、エラービットがセットされていたら、以降の処理を実行しない(ステップS621)。エラーフラグにおけるエラービットには、主制御未接続エラーのビットが含まれている。また、主制御未接続エラーは、主基板31からの電源確認信号が賞球払出中でないときにオフ状態になるとセットされる。従って、払出制御用マイクロコンピュータ370は、遊技機に対して電力供給が開始された後、電源確認信号がオン状態になったことを条件に、実質的な制御を開始する。   FIG. 69 is a flowchart showing a payout start waiting process (step S610) executed when the payout control code is 0. In the payout start waiting process, if the error bit is set, the payout control microcomputer 370 does not execute the subsequent processes (step S621). The error bit in the error flag includes a main control unconnected error bit. The main control unconnected error is set when the power supply confirmation signal from the main board 31 is turned off when the winning ball is not paid out. Accordingly, the payout control microcomputer 370 starts substantial control on condition that the power supply confirmation signal is turned on after power supply to the gaming machine is started.

また、BRDY信号がオン状態でなければ、ステップS631以降の賞球払出のための処理を実行する。BRDY信号がオン状態であって、さらに、球貸し要求信号であるBRQ信号(球貸し要求信号)がオン状態になっていたら球貸し動作中フラグをセットする(ステップS623,S624)。そして、球貸し未払出個数カウンタに「25」をセットし(ステップS625)、払出モータ回転回数バッファに「25」をセットする(ステップS626)。なお、BRQ信号は、BRDY信号が出力された時点から所定の遅延時間が経過したときに、カードユニット50が出力する信号である。   On the other hand, if the BRDY signal is not in the on state, processing for paying out a prize ball after step S631 is executed. If the BRDY signal is on and the BRQ signal (ball lending request signal) that is a ball lending request signal is on, the ball lending operation flag is set (steps S623 and S624). Then, “25” is set in the unpaid ball lending number counter (step S625), and “25” is set in the payout motor rotation number buffer (step S626). The BRQ signal is a signal output from the card unit 50 when a predetermined delay time has elapsed from the time when the BRDY signal is output.

払出モータ回転回数バッファは、払出モータ制御処理(ステップS768)において参照される。すなわち、払出モータ制御処理では、払出モータ回転回数バッファにセットされた値に対応した回転数分だけ払出モータ289を回転させる制御が実行される。   The payout motor rotation frequency buffer is referred to in the payout motor control process (step S768). That is, in the payout motor control process, control is performed to rotate the payout motor 289 by the number of rotations corresponding to the value set in the payout motor rotation frequency buffer.

その後、払出制御用マイクロコンピュータ370は、払出モータ制御処理で実行される処理を選択するための払出モータ制御コードに、払出モータ起動準備処理(ステップS522)に応じた値(具体的は「1」)をセットし(ステップS627)、払出制御コードの値を1にして(ステップS628)、処理を終了する。   Thereafter, the payout control microcomputer 370 sets a value corresponding to the payout motor start preparation process (step S522) (specifically, “1”) to the payout motor control code for selecting the process executed in the payout motor control process. ) Is set (step S627), the value of the payout control code is set to 1 (step S628), and the process is terminated.

ステップS631では、払出制御用マイクロコンピュータ370は、賞球未払出個数カウンタの値が0であるか否かを確認する。賞球未払出個数カウンタの値が0であれば処理を終了する。賞球未払出個数カウンタには、主制御通信処理の払出REQ信号オフ待ち処理におけるステップS552において、すなわち、主基板31の遊技制御用マイクロコンピュータ560からの払出REQ信号がオフ状態になったときに、0でない値(払出個数信号が示す数)がセットされている。賞球未払出個数カウンタの値が0でない場合には、払出モータ回転回数バッファに賞球未払出個数カウンタの値をセットする(ステップS633)。そして、賞球動作中フラグをセットし(ステップS635)、ステップS627に移行する。   In step S631, the payout control microcomputer 370 checks whether or not the value of the award ball unpaid-out counter is zero. If the value of the prize ball unpaid number counter is 0, the process is terminated. In the award ball unpaid number counter, in step S552 in the payout REQ signal OFF waiting process of the main control communication process, that is, when the payout REQ signal from the game control microcomputer 560 of the main board 31 is turned off. , A value other than 0 (the number indicated by the payout number signal) is set. If the value of the award ball unpaid number counter is not 0, the value of the award ball unpaid number counter is set in the payout motor rotation frequency buffer (step S633). Then, a winning ball operating flag is set (step S635), and the process proceeds to step S627.

図70は、払出制御コードが1の場合に実行される払出モータ停止待ち処理(ステップS611)を示すフローチャートである。払出モータ停止待ち処理において、払出制御用マイクロコンピュータ370は、払出動作が終了したか否か確認する(ステップS641)。払出制御用マイクロコンピュータ370は、例えば、払出モータ制御処理における払出モータブレーキ処理(ステップS525)が終了するときにその旨のフラグをセットし、ステップS641においてそのフラグを確認することによって払出動作が終了したか否かを確認することができる。   FIG. 70 is a flowchart showing a payout motor stop waiting process (step S611) executed when the payout control code is 1. In the payout motor stop waiting process, the payout control microcomputer 370 checks whether or not the payout operation is completed (step S641). For example, the payout control microcomputer 370 sets a flag to that effect when the payout motor brake process (step S525) in the payout motor control process ends, and the payout operation ends by checking the flag in step S641. It can be confirmed whether or not.

払出動作が終了した場合には、払出制御用マイクロコンピュータ370は、払出制御監視タイマに払出通過監視時間をセットする(ステップS642)。払出通過監視時間は、最後の払出球が払出モータ289によって払い出されてから払出個数カウントスイッチ301を通過するまでの時間に、余裕を持たせた時間である。そして、払出制御コードの値を2にして(ステップS643)、処理を終了する。   When the payout operation is completed, the payout control microcomputer 370 sets the payout passing monitoring time in the payout control monitoring timer (step S642). The payout passing monitoring time is a time that has a margin in the time from when the last payout ball is paid out by the payout motor 289 until it passes through the payout number count switch 301. Then, the value of the payout control code is set to 2 (step S643), and the process ends.

図71〜図73は、払出制御コードの値が2の場合に実行される払出通過待ち処理(ステップS612)を示すフローチャートである。払出通過待ち処理では、賞球払出が行われているときには、賞球未払出個数カウンタの値が0になっていれば正常に払出が完了したと判定される。賞球未払出個数カウンタの値が0になっていない場合には、エラー状態でなければ、払出不足分の遊技球(賞球未払出個数カウンタの値が示す個数の遊技球)の再払出動作を、2回を上限として試みる。再払出動作において払出個数カウントスイッチ301によって遊技球が実際に払い出されたことが検出されたら正常に払出が完了したと判定される。なお、この実施の形態では、払出REQ信号を受信したときに賞球未払出個数カウンタにセットされた個数の遊技球が払い出されるように払出モータ289を回転させたのであるから、賞球未払出個数カウンタの値が0になっていない場合には、正常に払出が完了していないことになる。   FIGS. 71 to 73 are flowcharts showing a payout passing waiting process (step S612) executed when the value of the payout control code is 2. FIG. In the payout passing waiting process, when a prize ball is being paid out, it is determined that the payout has been completed normally if the value of the prize ball unpaid number counter is zero. If the value of the award ball unpaid number counter is not 0, and if there is no error state, re-payout operation of game balls corresponding to insufficient payout (the number of game balls indicated by the value of the award ball unpaid number counter) To the upper limit of 2 times. In the re-payout operation, when it is detected by the payout number count switch 301 that the game ball is actually paid out, it is determined that the payout has been completed normally. In this embodiment, when the payout REQ signal is received, the payout motor 289 is rotated so that the number of game balls set in the award ball non-payout number counter is paid out. If the value of the number counter is not 0, the payout has not been completed normally.

また、球貸し払出が行われているときには、球貸し未払出個数カウンタの値が0になっていれば正常に払出が完了したと判定される。球貸し未払出個数カウンタの値が0になっていない場合には、エラー状態でなければ、球貸し残数(球貸し未払出個数カウンタの値に相当)の再払出動作を試みる。なお、この実施の形態では、1回の球貸し払出動作で払い出される遊技球数は25個(固定値)であり、25個の遊技球が払い出されるように払出モータ289を回転させたのであるから、球貸し未払出個数カウンタの値が0になっていない場合には、正常に払出が完了していないことになる。   Further, when the ball lending is being paid out, it is determined that the payout has been completed normally if the value of the ball lending unpaid-out counter is 0. If the value of the unsold ball counter is not 0, if the error is not in an error state, an attempt is made to re-pay the remaining ball lending (corresponding to the unsold ball counter). In this embodiment, the number of game balls to be paid out in one ball lending and payout operation is 25 (fixed value), and the payout motor 289 is rotated so that 25 game balls are paid out. Therefore, when the value of the unpaid ball lending counter is not 0, the payout has not been completed normally.

払出通過待ち処理において、払出制御用マイクロコンピュータ370は、まず、払出制御タイマの値を確認し、その値が0になっていればステップS653に移行する(ステップS650)。払出制御タイマの値が0でなければ、払出制御タイマの値を−1する(ステップS651)。そして、払出制御タイマの値が0になっていなければ(ステップS652)、すなわち払出制御タイマがタイムアウトしていなければ処理を終了する。なお、ステップS650の処理は、後述する遊技球払出のリトライ動作が開始されたときのことを考慮した処理である。後述するステップS807の処理が実行された場合には、ステップS650からS653に移行するルートを経てリトライ動作が開始される。   In the payout passing waiting process, the payout control microcomputer 370 first checks the value of the payout control timer. If the value is 0, the process proceeds to step S653 (step S650). If the value of the payout control timer is not 0, the value of the payout control timer is decremented by 1 (step S651). If the value of the payout control timer is not 0 (step S652), that is, if the payout control timer has not timed out, the process is terminated. Note that the process of step S650 is a process that takes into account when a game ball payout retry operation to be described later is started. When the process of step S807 described later is executed, a retry operation is started through a route that moves from step S650 to S653.

払出制御タイマがタイムアウトしていれば(ステップS652)、球貸し払出処理(球貸し動作)を実行していたか否か確認する(ステップS653)。球貸し動作を実行していたか否かは、RAMに形成されている払出制御状態フラグにおける球貸し動作中ビットがセットされているか否かによって確認される。球貸し動作を実行していない場合、すなわち、賞球払出処理(賞球動作)を実行していた場合には、払出制御用マイクロコンピュータ370は、賞球未払出個数カウンタの値を確認する(ステップS654)。賞球未払出個数カウンタの値が0になっている場合には、正常に賞球払出処理が完了したとして、払出制御状態フラグにおける再払出動作中1ビット、再払出動作中2ビット、賞球動作中フラグおよび球貸し動作中ビットをリセットし(ステップS655)、払出制御コードを0にして(ステップS656)、処理を終了する。   If the payout control timer has timed out (step S652), it is confirmed whether or not the ball lending payout process (ball lending operation) has been executed (step S653). Whether or not the ball lending operation has been executed is confirmed by whether or not the ball lending operation in progress flag in the payout control state flag formed in the RAM is set. When the ball lending operation is not executed, that is, when the prize ball payout process (prize ball operation) is executed, the payout control microcomputer 370 confirms the value of the award ball unpaid number counter ( Step S654). If the value of the award ball unpaid-out counter is 0, it is assumed that the award ball payout processing has been completed normally, and 1 bit during re-payout operation, 2 bits during re-payout operation, The operating flag and the ball lending operating bit are reset (step S655), the payout control code is set to 0 (step S656), and the process ends.

「払出制御状態フラグ」は、初回の再払出動作の実行中であるか否かを示す再払出動作中1ビットと、2回目の再払出動作の実行中であるか否かを示す再払出動作中2ビットと、賞球の払出動作を実行しているか否かを示す賞球動作中フラグと、球貸し動作を実行しているか否かを示す球貸し動作中ビットとを含む複数ビット構成のフラグである。   The “payout control state flag” includes a re-payout operation 1 bit indicating whether or not the first re-payout operation is being executed, and a re-payout operation indicating whether or not the second re-payout operation is being executed. A multi-bit configuration including a middle 2 bits, a winning ball operating flag indicating whether or not a winning ball payout operation is being performed, and a ball lending operating bit indicating whether or not a ball lending operation is being performed Flag.

払出制御用マイクロコンピュータ370は、賞球未払出個数カウンタの値が0になっていない場合には、通信に関わらないエラーについてのエラーフラグ(ここでは、払出スイッチ異常検知エラー1ビット、払出スイッチ異常検知エラー2ビットおよび払出ケースエラービットのうちのいずれか1ビットまたは複数ビット)がセットされていないことを条件として(ステップS659)、再払出動作を実行する。なお、払出スイッチ異常検知エラー1ビット、払出スイッチ異常検知エラー2ビットおよび払出ケースエラービットのうちのいずれか1ビットまたは複数ビットがセットされている場合には、再払出動作を実行しない。   If the value of the award ball unpaid number counter is not 0, the payout control microcomputer 370 has an error flag for an error not related to communication (here, 1 bit of a payout switch abnormality detection error, an abnormality of the payout switch) On the condition that any one of the detection error 2 bits and the payout case error bit or a plurality of bits) is not set (step S659), the payout operation is executed. If any one or more of the payout switch abnormality detection error 1 bit, the payout switch abnormality detection error 2 bits and the payout case error bit is set, the re-payout operation is not executed.

再払出処理(再払出動作を行わせるための制御)を実行するために、払出制御用マイクロコンピュータ370は、まず、再払出動作中2ビットがセットされているか否か確認する(ステップS662)。セットされていなければ、再払出動作中1ビットがセットされているか否か確認する(ステップS663)。再払出動作中1ビットもセットされていなければ、初回の再払出動作を実行するために、再払出動作中1ビットをセットし(ステップS665)、払出モータ回転回数バッファに賞球未払出個数カウンタまたは球貸し未払出個数カウンタの値をセットする(ステップS666)。払出モータ回転回数バッファは、払出モータ制御処理(ステップS768)において参照される。すなわち、払出モータ制御処理では、払出モータ回転回数バッファにセットされた値に対応した回転数分だけ払出モータ289を回転させる制御が実行される。なお、ステップS666において、球貸し未払出個数カウンタの値も取り扱われるのは、球貸し払出処理における再払出処理でもステップS666が用いられるからである。払出制御用マイクロコンピュータ370は、ステップS666において、賞球払出処理における再払出処理では賞球未払出個数カウンタの値をセットし、球貸し払出処理における再払出処理では球貸し未払出個数カウンタの値をセットする。その後、払出制御コードを1にして(ステップS667)、処理を終了する。   In order to execute the re-payout process (control for performing the re-payout operation), the payout control microcomputer 370 first checks whether or not 2 bits are set during the re-payout operation (step S662). If not set, it is confirmed whether or not 1 bit is set during the re-payout operation (step S663). If 1 bit is not set during the re-payout operation, 1 bit during the re-payout operation is set in order to execute the first re-payout operation (step S665), and the award ball non-payout number counter is stored in the payout motor rotation number buffer. Alternatively, the value of the unpaid ball lending counter is set (step S666). The payout motor rotation frequency buffer is referred to in the payout motor control process (step S768). That is, in the payout motor control process, control is performed to rotate the payout motor 289 by the number of rotations corresponding to the value set in the payout motor rotation frequency buffer. In step S666, the value of the unpaid ball lending counter is also handled because step S666 is also used in the re-payout process in the lend-out process. In step S666, the payout control microcomputer 370 sets the value of the award ball unpaid number counter in the re-payout process in the prize ball payout process, and the value of the ball lend-out unpaid number counter in the re-payout process in the ball lending payout process. Set. Thereafter, the payout control code is set to 1 (step S667), and the process is terminated.

ステップS663において、再払出動作中1ビットがセットされていることを確認したら、払出制御用マイクロコンピュータ370は、2回目の再払出を実行するために、再払出動作中1ビットをリセットし(ステップS669)、再払出動作中2ビットをセットする(ステップS670)。そして、ステップS666に移行する。   In step S663, when it is confirmed that 1 bit is set during the re-payout operation, the payout control microcomputer 370 resets 1 bit during the re-payout operation in order to execute the second re-payout (step S663). S669), 2 bits are set during the re-payout operation (step S670). Then, control goes to a step S666.

ステップS662において、再払出動作中2ビットがセットされていることを確認したら、払出制御用マイクロコンピュータ370は、2回の再払出処理を実行しても払出不足分の遊技球が払い出されなかったとして、エラーフラグにおける払出ケースエラービットをセットする(ステップS672)。その際に、再払出動作中2ビットをリセットしておく(ステップS671)。そして、処理を終了する。   In step S662, when it is confirmed that 2 bits are set during the re-payout operation, the payout control microcomputer 370 does not pay out the game balls for the shortage of payout even if the re-payout process is executed twice. The payout case error bit in the error flag is set (step S672). At that time, 2 bits are reset during the re-payout operation (step S671). Then, the process ends.

以上のように、再払出処理(補正払出処理)において所定回(この例では2回)の再払出動作を行っても遊技球の払出不足が解消されない場合には、遊技球の払出動作不良として、払出個数カウントスイッチ未通過エラービット(払出ケースエラービット)がセットされる。   As described above, if the game ball payout shortage is not resolved even after performing the predetermined payout operation (two times in this example) in the repayout process (corrected payout process), the game ball payout operation is defective. The payout count switch non-passing error bit (payout case error bit) is set.

従って、この実施の形態では、払出制御手段における景品遊技媒体払出制御手段は、払出検出手段としての払出個数カウントスイッチ301からの検出信号にもとづいて、景品遊技媒体の払い出しが完了しなかったことを検出したときに、あらかじめ決められた所定回(この例では2回)を限度として、払出手段に不足分の景品遊技媒体の払い出しを行わせるように制御を行う。なお、この実施の形態では、景品遊技媒体を払い出すためのリトライ動作を2回行っても景品遊技媒体の払い出しが行われなかった場合には、払出ケースエラービットをセットしてエラー発生中状態になるが(ステップS672)、景品遊技媒体の払い出しが完了しなかったことを初めて検知したときに払出ケースエラービットをセットしてもよい。なお、「リトライ動作(あるいは「リトライ」、「リトライ動作処理」)」とは、所定数の遊技球の払い出しを行うための通常の払出処理を実行したのにもかかわらず、実際の払い出し数が少ない場合に実行させる動作であって、通常の払出処理とは別に、未払出の遊技球を払い出すために払出処理を再度実行させるための動作(すなわち再払出動作)を意味する。   Therefore, in this embodiment, the prize game medium payout control means in the payout control means confirms that the payout of the prize game medium has not been completed based on the detection signal from the payout number count switch 301 as the payout detection means. When it is detected, the control is performed so that the payout means pays out the insufficient amount of prize game media up to a predetermined number of times (in this example, twice). In this embodiment, if the prize game medium is not paid out even if the retry operation for paying out the prize game medium is performed twice, the payout case error bit is set and an error is being generated. (Step S672), the payout case error bit may be set when it is detected for the first time that the payout of the premium game medium is not completed. Note that “retry operation (or“ retry ”,“ retry operation processing ”) means that the actual number of payouts is equal to the number of game balls paid out in spite of execution of a normal payout process. This is an operation to be executed when the number is small, and means an operation for re-executing the payout process (that is, a re-payout operation) in order to pay out unpaid game balls separately from the normal payout process.

賞球球貸し制御処理において、払出動作(1回の賞球払出または1回の球貸し)を行うか否か判定するためにエラービットがチェックされるのは、図69に示された払出開始待ち処理においてのみである。図70に示された払出モータ停止待ち処理および図71等に示された払出通過待ち処理では、エラービットはチェックされない。なお、払出通過待ち処理におけるステップS658等でもエラービットがチェックされているが、そのチェックは再払出動作を行うか否かを判断するためであって、払出動作(1回の賞球払出または1回の球貸し)を開始するか否か判定するためではない。従って、ステップS626またはS633の処理が行われて遊技球の払出処理が開始された後では、エラーが発生しても払出処理は中断されない。すなわち、エラーが発生すると、遊技球の払出処理は、切りのよい時点(1回の賞球払出または1回の球貸しが終了した時点)まで継続される。なお、ステップS621でチェックされるエラーフラグにおけるエラービットの中には、主基板31からの電源確認信号がオフ状態になったことを示すエラービットが含まれている。よって、電源確認信号がオフ状態になったときにも、遊技球の払出処理は、切りのよい時点で停止される。また、1回の賞球払出または1回の球貸しとは、賞球未払出個数カウンタまたは球貸し未払出個数カウンタに0でない値がセットされてから賞球未払出個数カウンタまたは球貸し未払出個数カウンタの値が0になるまでの遊技球払出処理を意味する。   In the winning ball lending control process, the error bit is checked to determine whether or not to perform a payout operation (one winning ball payout or one ball lending). The payout start shown in FIG. Only in the waiting process. In the payout motor stop waiting process shown in FIG. 70 and the payout passing wait process shown in FIG. 71 and the like, the error bit is not checked. Note that the error bit is also checked in step S658 and the like in the payout passing waiting process, but this check is for determining whether or not to perform a payout operation again, and is a payout operation (single prize ball payout or 1 This is not to determine whether or not to start ball lending. Therefore, after the process of step S626 or S633 is performed and the game ball payout process is started, the payout process is not interrupted even if an error occurs. In other words, when an error occurs, the game ball payout process is continued until a point at which the game ball can be cut well (at the time when one prize ball payout or one ball lending ends). The error bit in the error flag checked in step S621 includes an error bit indicating that the power supply confirmation signal from the main board 31 has been turned off. Therefore, even when the power supply confirmation signal is turned off, the game ball payout process is stopped at a time when the turn is good. In addition, one-time prize ball payout or one-time ball rental means that a non-zero value is set in the prize ball unpaid number counter or the ball lending unpaid number counter, and the number of unpaid prize balls or the ball lending unpaid It means a game ball payout process until the value of the number counter becomes zero.

電源確認信号がオフ状態になったとき、特許文献1に記載の遊技機と同様に、払い出しを中断し、エラー状態から回復したときに払い出しを再開する構成にすると、データ(未払出分の遊技媒体の個数情報)の管理が複雑になってしまうが、本発明では、予定数の景品遊技媒体の払い出しが完了して、切りのよい時点で払出処理を停止する。従って、そのようなデータを管理する必要がなく、制御を簡易化することができる。   When the power confirmation signal is turned off, similarly to the gaming machine described in Patent Document 1, if the payout is interrupted and the payout is resumed when recovered from the error state, the data (unpaid game) However, according to the present invention, the payout process is stopped at a time when the payout of the predetermined number of premium game media is completed and the cut-off time is good. Therefore, it is not necessary to manage such data, and the control can be simplified.

ステップS653で球貸し払出処理(球貸し動作)を実行していたことを確認すると、払出制御用マイクロコンピュータ370は、球貸し未払出個数カウンタの値が0になっているか否か確認する(ステップS657)。0になっていれば、正常に球貸し払出処理が完了したとしてステップS655に移行する。   When it is confirmed in step S653 that the ball lending / dispensing process (ball lending operation) has been executed, the payout control microcomputer 370 confirms whether or not the value of the lending / unpaid number counter is 0 (step). S657). If it is 0, it is determined that the ball lending / dispensing process is normally completed, and the process proceeds to step S655.

球貸し未払出個数カウンタの値が0になっていなければ、エラーフラグ(具体的には、払出スイッチ異常検知エラー1ビット、払出スイッチ異常検知エラー2ビットおよび払出ケースエラービットのうちのいずれか1ビットまたは複数ビット)がセットされていないことを条件として(ステップS658)、再払出処理を実行する。なお、エラーフラグがセットされている場合には、再払出処理を実行しない。   If the value of the ball lending unpaid number counter is not 0, an error flag (specifically, any one of a payout switch abnormality detection error 1 bit, a payout switch abnormality detection error 2 bit, and a payout case error bit) On the condition that no bit or a plurality of bits) is set (step S658), the re-payout process is executed. If the error flag is set, the re-payout process is not executed.

再払出処理を実行するために、払出制御用マイクロコンピュータ370は、まず、再払出動作中2ビットがセットされているか否か確認する(ステップS676)。セットされていなければ、再払出動作中1ビットがセットされているか否か確認する(ステップS677)。再払出動作中1ビットもセットされていなければ、初回の再払出動作を実行するために、再払出動作中1ビットをセットし(ステップS679)、ステップS666に移行する。   In order to execute the re-payout process, the pay-out control microcomputer 370 first checks whether or not 2 bits during re-payout operation are set (step S676). If not set, it is confirmed whether or not 1 bit is set during the re-payout operation (step S677). If 1 bit during re-payout operation is not set, 1 bit during re-payout operation is set to execute the first re-payout operation (step S679), and the process proceeds to step S666.

ステップS677において、再払出動作中1ビットがセットされていることを確認したら、払出制御用マイクロコンピュータ370は、再払出動作を再度実行するための処理を行う。具体的には、再払出動作中1ビットをリセットする(ステップS681)。そして、再払出動作中2ビットをセットし(ステップS685)、ステップS666に移行する。   In step S677, when it is confirmed that 1 bit is set during the re-payout operation, the payout control microcomputer 370 performs a process for executing the re-payout operation again. Specifically, 1 bit is reset during the re-payout operation (step S681). Then, 2 bits are set during the re-payout operation (step S685), and the process proceeds to step S666.

ステップS676において、再払出動作中2ビットがセットされていることを確認したら、払出制御用マイクロコンピュータ370は、再払出動作中2ビットをリセットし(ステップS686)、エラーフラグにおける払出ケースエラービットをセットする(ステップS688)。そして、処理を終了する。   In step S676, when it is confirmed that 2 bits during re-payout operation are set, the payout control microcomputer 370 resets 2 bits during re-payout operation (step S686), and sets the payout case error bit in the error flag. Set (step S688). Then, the process ends.

以上のように、球貸し処理に係る再払出処理(補正払出処理)において連続して2回の再払出動作を行っても遊技球の払出不足が解消されないが場合には、遊技球の払出動作不良として、払出個数カウントスイッチ未通過エラービット(払出ケースエラービット)がセットされる。   As described above, in the case where the shortage of game balls is not solved even if two re-payout operations are continuously performed in the re-payout processing (corrected payout processing) related to the ball lending processing, As a failure, a payout count switch non-passing error bit (payout case error bit) is set.

以上に説明したように、遊技制御用マイクロコンピュータ560が、総賞球数格納バッファに記憶されている賞球の未払出総数が所定の異常判定数以上となったときに、未払出超過LED362を点灯させて異常の発生を報知するように構成されているので、未払出超過LED362による異常の発生の報知によって、払出制御用マイクロコンピュータ370との通信が不正基板に搭載されたマイクロコンピュータとの間で実行されていることを報知することができ、不正基板を容易に発見することができるようになる。   As described above, when the gaming control microcomputer 560 determines that the total number of unpaid award balls stored in the total award ball number storage buffer exceeds a predetermined abnormality determination number, the unpaid excess LED 362 is set. Since it is configured to be lit to notify the occurrence of an abnormality, the communication with the payout control microcomputer 370 is communicated with the microcomputer mounted on the unauthorized board by the notification of the occurrence of the abnormality by the unpaid excess LED 362. In this case, it is possible to notify that the illegal board is being executed.

この実施の形態では、入賞が発生したときに、主基板31に搭載されている入賞報知ランプ363を所定期間点灯させるように構成されているので、なりすまし基板が設置されている場合には入賞が発生しても入賞報知ランプ363が点灯しなくなるようにすることができ、なりすまし基板が設置されていることを容易に発見することができる。さらに、入賞報知ランプ363が点灯しなくならないように、入賞検出のスイッチ(例えば始動口スイッチ14a)の検出信号がなりすまし基板だけでなく正規の主基板31にも入力されるように配線された場合であっても、主基板31と払出制御基板37との通信が行われないため、主基板31で管理されている総賞球数格納バッファに記憶されている賞球の未払出総数が減算されなくなり、総賞球数格納バッファに記憶されている賞球の未払出総数が所定の異常判定数以上となって、なりすまし基板が設置されていることを容易に発見することができるのである。なお、本発明においては、遊技進行による信号が主基板31上で認識されることを本旨としているので、例えば、始動口スイッチ14aに限らず、他の入賞検出のスイッチ(ゲートスイッチ32a、カウントスイッチ23、入賞口スイッチ29a,30a,33a,39a等)の検出信号により入賞報知ランプ363を所定期間点灯させるようにしてもよい。   In this embodiment, when a winning occurs, the winning notification lamp 363 mounted on the main board 31 is lit for a predetermined period. Therefore, when a spoofing board is installed, the winning is not received. Even if it occurs, the winning notification lamp 363 can be prevented from being turned on, and it is possible to easily find out that the impersonation board is installed. Furthermore, when the winning notification lamp 363 is wired so that the detection signal of the winning detection switch (for example, the start opening switch 14a) is input not only to the spoofing board but also to the regular main board 31 so that the winning notification lamp 363 does not light up. Even so, since communication between the main board 31 and the payout control board 37 is not performed, the total number of unpaid prize balls stored in the total prize ball number storage buffer managed by the main board 31 is subtracted. As a result, the total number of unpaid prize balls stored in the total prize ball number storage buffer is equal to or greater than a predetermined abnormality determination number, and it is possible to easily find out that a spoofed board is installed. In the present invention, since the signal based on the progress of the game is recognized on the main board 31, for example, not only the start switch 14a but other winning detection switches (gate switch 32a, count switch 23, a winning notification lamp 363 may be turned on for a predetermined period by a detection signal of the winning opening switch 29a, 30a, 33a, 39a, etc.

なお、主基板31に搭載されている未払出超過LED362は、開封不能な固着手段によって封止された基板ボックス(図29参照)に収納されている。従って、不正基板からの信号によって未払出超過LED362が駆動されることを防止することができる。   The unpaid excess LED 362 mounted on the main board 31 is housed in a board box (see FIG. 29) sealed by a fixing means that cannot be opened. Therefore, it is possible to prevent the unpaid excess LED 362 from being driven by a signal from the unauthorized board.

また、第1の実施の形態および第2の実施の形態では、タイマ割込設定を行うまでに乱数回路503の初期設定(乱数回路設定処理)を行うようにしていたが、逆に、乱数回路503の初期設定(乱数回路設定処理)を行ったあとにタイマ割込の設定を行う(例えば図32に示すステップS14とステップS15を逆の順番で行う)ようにしてもよい。そして、乱数回路設定処理において、遊技制御用マイクロコンピュータ560固有のIDナンバにもとづく値を乱数の初期値として設定するようにしてもよい。このように構成すれば、遊技制御処理の実行中に乱数回路の設定が変更されることが無いようにすることができ、不正行為を防止することができる。   In the first embodiment and the second embodiment, the initial setting of the random number circuit 503 (random number circuit setting process) is performed before the timer interrupt setting is performed. The timer interrupt may be set after the initial setting (random circuit setting processing) 503 (for example, steps S14 and S15 shown in FIG. 32 are performed in the reverse order). In the random number circuit setting process, a value based on the ID number unique to the game control microcomputer 560 may be set as the initial value of the random number. If comprised in this way, it can prevent that the setting of a random number circuit is changed during execution of a game control process, and can prevent an illegal act.

実施の形態3.
第1の実施の形態では、ラッチ信号生成回路533に入力するクロック信号を反転させて、乱数を更新するタイミングと乱数値記憶回路531に乱数を記憶させるタイミングとをずらすようにしたが、ラッチ信号生成回路533に入力するクロック信号を遅延させるようにしてもよい。以下、ラッチ信号生成回路533に入力するクロック信号を遅延させる第3の実施の形態を説明する。
Embodiment 3 FIG.
In the first embodiment, the clock signal input to the latch signal generation circuit 533 is inverted, and the timing for updating the random number and the timing for storing the random number in the random value storage circuit 531 are shifted. The clock signal input to the generation circuit 533 may be delayed. Hereinafter, a third embodiment in which a clock signal input to the latch signal generation circuit 533 is delayed will be described.

なお、本実施の形態において、第1の実施の形態と同様の構成および処理をなす部分についてはその詳細な説明を省略し、主として第1の実施の形態と異なる部分について説明する。   In the present embodiment, detailed description of the parts having the same configuration and processing as those of the first embodiment will be omitted, and parts different from the first embodiment will be mainly described.

図74は、乱数回路503の他の構成例を示すブロック図である。なお、この実施の形態において、12ビット乱数回路503aと16ビット乱数回路503bとの基本的な構成は同じである。図74に示すように、この実施の形態では、乱数回路503が、図6で示した反転回路532に代えて遅延回路532Aを含む点で、第1の実施の形態と異なる。   FIG. 74 is a block diagram illustrating another configuration example of the random number circuit 503. In this embodiment, the basic configurations of the 12-bit random number circuit 503a and the 16-bit random number circuit 503b are the same. As shown in FIG. 74, this embodiment differs from the first embodiment in that the random number circuit 503 includes a delay circuit 532A instead of the inverting circuit 532 shown in FIG.

遅延回路532Aは、クロック信号出力回路524から入力する乱数発生用クロック信号SI1を遅延させることによって、クロック信号を遅延させた遅延クロック信号SI4を生成する。また、遅延回路532Aは、生成した遅延クロック信号SI4をラッチ信号生成回路533に出力する。従って、この実施の形態では、ラッチ信号生成回路533は、乱数発生用クロック信号SI1を遅延させた遅延クロック信号SI4に同期して、乱数値記憶回路531にラッチ信号を出力することになる。   The delay circuit 532A delays the random number generation clock signal SI1 input from the clock signal output circuit 524, thereby generating a delayed clock signal SI4 obtained by delaying the clock signal. Further, the delay circuit 532A outputs the generated delayed clock signal SI4 to the latch signal generation circuit 533. Therefore, in this embodiment, the latch signal generation circuit 533 outputs a latch signal to the random value storage circuit 531 in synchronization with the delayed clock signal SI4 obtained by delaying the random number generation clock signal SI1.

なお、遅延回路532A以外の乱数回路503の各構成要素の基本的な機能は、第1の実施の形態で示したそれらの機能と同様である。   The basic functions of the constituent elements of the random number circuit 503 other than the delay circuit 532A are the same as those functions described in the first embodiment.

以上に説明したように、この実施の形態では、乱数回路503の遅延回路532Aが遅延クロック信号SI4を生成し、遅延クロック信号SI4に同期して乱数の記憶を指示するためのラッチ信号を出力する。そのため、乱数を更新するタイミングと乱数値記憶回路531に乱数を記憶させるタイミングとをずらすことができ、生成した乱数を安定して確実に記憶させることができる。   As described above, in this embodiment, the delay circuit 532A of the random number circuit 503 generates the delayed clock signal SI4 and outputs a latch signal for instructing storage of the random number in synchronization with the delayed clock signal SI4. . Therefore, the timing for updating the random number and the timing for storing the random number in the random value storage circuit 531 can be shifted, and the generated random number can be stored stably and reliably.

実施の形態4.
図75は、第4の実施の形態における主基板の構成を示すブロック図である。第4の実施の形態における主基板の構成は、中断ボタン361が設けられていない点を除いて、図4に示す第1の実施の形態における主基板の構成と同じである。
Embodiment 4 FIG.
FIG. 75 is a block diagram showing the configuration of the main board in the fourth embodiment. The configuration of the main board in the fourth embodiment is the same as the configuration of the main board in the first embodiment shown in FIG. 4 except that the interruption button 361 is not provided.

図76は、遊技制御用マイクロコンピュータ560(具体的には、CPU56)が実行するメイン処理の一部を示すフローチャートである。リセット信号が入力されるリセット端子の入力レベルがハイレベルになると、遊技制御用マイクロコンピュータ560は、プログラムの内容が正当か否かを確認するための処理であるセキュリティチェック処理を実行した後、ステップS1以降のメイン処理を開始する。   FIG. 76 is a flowchart showing a part of main processing executed by the game control microcomputer 560 (specifically, the CPU 56). When the input level of the reset terminal to which the reset signal is input becomes high level, the game control microcomputer 560 executes a security check process that is a process for confirming whether the contents of the program are valid, The main processing after S1 is started.

この実施の形態では、CPU56は、メイン処理において、認証信号(主基板31に一意に与えられている基板ID)を照合端子364に出力するとともに(ステップS81)、認証信号を演出制御基板80に対して送信する(ステップS82)。その他の処理は、図31および図32に示された処理と同じである。   In this embodiment, the CPU 56 outputs an authentication signal (board ID uniquely given to the main board 31) to the verification terminal 364 in the main process (step S81), and sends the authentication signal to the effect control board 80. It transmits to (step S82). Other processes are the same as those shown in FIGS. 31 and 32.

図77は、演出制御用マイクロコンピュータ(演出制御基板80に搭載されているマイクロコンピュータ)が実行するメイン処理を示すフローチャートである。メイン処理では、まず、RAM領域のクリアや各種初期値の設定、また演出制御の起動間隔を決めるための2msタイマの初期設定等を行うための初期化処理が行われる(ステップS701)。その後、演出制御用マイクロコンピュータは、タイマ割込フラグの監視(ステップS702)の確認を行うループ処理に移行する。タイマ割込が発生すると、演出制御用マイクロコンピュータは、タイマ割込処理においてタイマ割込フラグをセットする。メイン処理において、タイマ割込フラグがセットされていたら、演出制御用マイクロコンピュータは、そのフラグをクリアし(ステップS703)、以下の演出制御処理を実行する。   FIG. 77 is a flowchart showing a main process executed by the effect control microcomputer (the microcomputer mounted on the effect control board 80). In the main process, an initialization process is first performed for clearing the RAM area, setting various initial values, and initializing a 2 ms timer for determining the start interval of effect control (step S701). Thereafter, the effect control microcomputer proceeds to a loop process for confirming the monitoring of the timer interrupt flag (step S702). When a timer interrupt occurs, the effect control microcomputer sets a timer interrupt flag in the timer interrupt process. If the timer interrupt flag is set in the main process, the effect control microcomputer clears the flag (step S703) and executes the following effect control process.

この実施の形態では、タイマ割込は2ms毎にかかる。すなわち、演出制御処理は、2ms毎に起動される。また、この実施の形態では、タイマ割込処理ではフラグセットのみがなされ、具体的な演出制御処理はメイン処理において実行されるが、タイマ割込処理で演出制御処理を実行してもよい。   In this embodiment, the timer interrupt takes every 2 ms. That is, the effect control process is activated every 2 ms. In this embodiment, only the flag is set in the timer interrupt process, and the specific effect control process is executed in the main process, but the effect control process may be executed in the timer interrupt process.

演出制御処理において、演出制御用マイクロコンピュータは、まず、受信した演出制御コマンドを解析する(コマンド解析処理:ステップS704)。次いで、演出制御用マイクロコンピュータは、演出制御プロセス処理を行う(ステップS705)。演出制御プロセス処理では、制御状態に応じた各プロセスのうち、現在の制御状態(演出制御プロセスフラグ)に対応したプロセスを選択して可変表示装置9の表示制御を実行する。そして、乱数カウンタを更新する処理を実行する(ステップS706)。その後、ステップS702のタイマ割込フラグの確認を行う処理に戻る。   In the effect control process, the effect control microcomputer first analyzes the received effect control command (command analysis process: step S704). Next, the effect control microcomputer performs effect control process processing (step S705). In the effect control process, a process corresponding to the current control state (effect control process flag) is selected from the processes corresponding to the control state, and display control of the variable display device 9 is executed. And the process which updates a random number counter is performed (step S706). Thereafter, the process returns to the process of checking the timer interrupt flag in step S702.

次に、主基板31からの演出制御コマンド受信処理について説明する。図78は、主基板31から受信した演出制御コマンドを格納するためのコマンド受信バッファの一構成例を示す説明図である。この例では、2バイト構成の演出制御コマンドを6個格納可能なリングバッファ形式のコマンド受信バッファが用いられる。従って、コマンド受信バッファは、受信コマンドバッファ1〜12の12バイトの領域で構成される。そして、受信したコマンドをどの領域に格納するのかを示すコマンド受信個数カウンタが用いられる。コマンド受信個数カウンタは、0〜11の値をとる。なお、必ずしもリングバッファ形式でなくてもよく、例えば、図柄指定コマンド格納領域を3個(2×3=6バイトのコマンド受信バッファ)、それ以外の変動パターン指定などのコマンド格納領域を1個(2×1=2バイトのコマンド受信バッファ)のようなバッファ構成としてもよい。音声制御手段や、ランプ制御手段においても同様に、リングバッファ形式でないバッファ形式としてもよい。   Next, an effect control command reception process from the main board 31 will be described. FIG. 78 is an explanatory diagram showing a configuration example of a command reception buffer for storing the effect control command received from the main board 31. In this example, a command reception buffer of a ring buffer type capable of storing six 2-byte configuration effect control commands is used. Therefore, the command reception buffer is configured by a 12-byte area of reception command buffers 1 to 12. A command reception number counter indicating in which area the received command is stored is used. The command reception number counter takes a value from 0 to 11. It is not always necessary to use the ring buffer format. For example, three symbol designating command storage areas (2 × 3 = 6 byte command receiving buffer) and other command storing areas for designating other variation patterns ( (2 × 1 = 2-byte command reception buffer). Similarly, the sound control means and the lamp control means may have a buffer format other than the ring buffer format.

主基板31からの演出制御用のINT信号は演出制御用マイクロコンピュータの割込端子に入力されている。例えば、主基板31からのINT信号がオン状態になると、演出制御用マイクロコンピュータにおいて割込がかかる。そして、演出制御用マイクロコンピュータは、割込処理において演出制御コマンドの受信処理を実行する。演出制御コマンドの受信処理において、演出制御用マイクロコンピュータは、受信した演出制御コマンドデータを、コマンド受信個数カウンタが示す受信コマンドバッファに格納する。   An INT signal for effect control from the main board 31 is input to an interrupt terminal of the effect control microcomputer. For example, when the INT signal from the main board 31 is turned on, the production control microcomputer is interrupted. Then, the effect control microcomputer executes an effect control command reception process in the interrupt process. In the effect control command reception process, the effect control microcomputer stores the received effect control command data in the reception command buffer indicated by the command reception number counter.

図79は、コマンド解析処理(ステップS704)の具体例を示すフローチャートである。主基板31から受信された演出制御コマンドは受信コマンドバッファに格納されるが、コマンド解析処理では、演出制御用マイクロコンピュータは、コマンド受信バッファに格納されているコマンドの内容を確認する。   FIG. 79 is a flowchart showing a specific example of command analysis processing (step S704). The effect control command received from the main board 31 is stored in the reception command buffer, but in the command analysis process, the effect control microcomputer confirms the contents of the command stored in the command reception buffer.

コマンド解析処理において、演出制御用マイクロコンピュータは、まず、コマンド受信バッファに受信コマンドが格納されているか否か確認する(ステップS921)。格納されているか否かは、コマンド受信個数カウンタの値と読出ポインタとを比較することによって判定される。両者が一致している場合が、受信コマンドが格納されていない場合である。コマンド受信バッファに受信コマンドが格納されている場合には、演出制御用マイクロコンピュータは、コマンド受信バッファから受信コマンドを読み出す(ステップS922)。なお、読み出したら読出ポインタの値を+2しておく(ステップS923)。   In the command analysis process, the effect control microcomputer first checks whether or not a reception command is stored in the command reception buffer (step S921). Whether it is stored or not is determined by comparing the value of the command reception number counter with the read pointer. The case where both match is the case where the received command is not stored. When the reception command is stored in the command reception buffer, the effect control microcomputer reads the reception command from the command reception buffer (step S922). When read, the value of the read pointer is incremented by +2 (step S923).

受信した演出制御コマンドが変動パターン指定の演出制御コマンドであれば(ステップS924)、演出制御用マイクロコンピュータは、そのコマンドのEXTデータを変動パターンデータ格納領域に格納する(ステップS925)。   If the received effect control command is an effect control command for designating a variation pattern (step S924), the effect control microcomputer stores the EXT data of the command in the variation pattern data storage area (step S925).

受信した演出制御コマンドが表示結果指定の演出制御コマンドであれば(ステップS926)、演出制御用マイクロコンピュータは、そのコマンドのEXTデータを特別図柄の表示結果として特別図柄格納領域に格納する(ステップS927)。   If the received effect control command is an effect control command for designating a display result (step S926), the effect control microcomputer stores the EXT data of that command as a special symbol display result in the special symbol storage area (step S927). ).

受信した演出制御コマンドが認証信号(基板ID)を示す演出制御コマンドであれば(ステップS928)、演出制御用マイクロコンピュータは、そのコマンドが示す基板IDと、演出制御基板80が備えるROMあるいはRAMに格納されている主基板31の基板IDとを照合して、一致しているか否かを照合結果として判定する照合処理を実行する(ステップS929)。そして、可変表示装置9に所定の表示を行うことで、照合結果を報知する(ステップS930)。   If the received effect control command is an effect control command indicating an authentication signal (board ID) (step S928), the effect control microcomputer stores the board ID indicated by the command and the ROM or RAM included in the effect control board 80. A collation process is performed in which the board ID of the main board 31 stored is collated to determine whether or not they match each other as a collation result (step S929). And the collation result is alert | reported by performing a predetermined display on the variable display apparatus 9 (step S930).

照合処理によって受信した基板IDと格納している基板IDとが一致していると判定した場合には、演出制御用マイクロコンピュータは、ステップS930の処理で、例えば「照合OK」を可変表示装置9に表示する。   If it is determined that the board ID received by the matching process matches the stored board ID, the effect control microcomputer, for example, displays “verification OK” in the variable display device 9 in step S930. To display.

また、照合処理によって受信した基板IDと格納している基板IDとが一致していないと判定した場合には、演出制御用マイクロコンピュータは、ステップS930の処理で、例えば「照合NG」を可変表示装置9に表示する。   If it is determined that the board ID received by the matching process and the stored board ID do not match, the effect control microcomputer variably displays, for example, “matching NG” in the process of step S930. Display on the device 9.

照合結果が照合OKでなければ(ステップS931のN)、演出制御用マイクロコンピュータは、動作停止状態に制御する(ステップS932)。なお、動作停止状態は、システムリセットされた状態や、演出制御処理を実行しない状態等、演出制御のための実質的な制御が停止された状態を意味する。   If the collation result is not collation OK (N in step S931), the effect control microcomputer controls the operation to be stopped (step S932). Note that the operation stop state means a state in which substantial control for effect control is stopped, such as a system reset state or a state where the effect control process is not executed.

演出制御用マイクロコンピュータは、ステップS922で読み出した受信コマンドがその他の演出制御コマンドである場合には、受信コマンドに対応するコマンド受信フラグをセットし、必要であれば受信コマンドを保存する(ステップS933)。   When the received command read in step S922 is another effect control command, the effect control microcomputer sets a command reception flag corresponding to the received command, and stores the received command if necessary (step S933). ).

以上に説明したように、この実施の形態では、遊技制御用マイクロコンピュータ560が、照合機365に対して照合端子364を介して基板IDを送信するとともに、演出制御用マイクロコンピュータに対して基板IDを送信し、演出制御用マイクロコンピュータが、基板IDにもとづいて主基板31を認証するか否か判定し、認証しないと判定したときは、主基板31を認証しない旨の報知を行うとともに、動作停止状態とする制御を行うように構成されているので、例えば遊技店員が演出制御用マイクロコンピュータに対して基板IDが送信されるようにする(例えば、電源再投入、始動入賞口へ遊技球)ことで、不正回路基板が設置されていることを容易に発見することができる。つまり、この実施の形態の遊技機は、遊技制御用マイクロコンピュータ560のIDと、他の基板上のマイクロコンピュータのIDとを相互に監視する機能を備える。他の基板上のマイクロコンピュータが、遊技制御用マイクロコンピュータ560の正規のIDを受信できない場合には、主基板31に代わってなりすまし基板が遊技制御処理を行っている可能性があるが、この実施の形態では、他の基板上のマイクロコンピュータ(この例では、演出制御用マイクロコンピュータ)がなりすまし基板の存在を検知する。   As described above, in this embodiment, the game control microcomputer 560 transmits the board ID to the collator 365 via the collation terminal 364 and the board ID to the effect control microcomputer. When the microcomputer for effect control determines whether or not to authenticate the main board 31 based on the board ID, and determines not to authenticate, it notifies that the main board 31 is not authenticated and operates. Since it is configured to perform control for stopping, for example, a game store clerk is allowed to transmit a board ID to the production control microcomputer (for example, power-on again, game ball to start prize opening) Thus, it is possible to easily find out that the illegal circuit board is installed. That is, the gaming machine of this embodiment has a function of mutually monitoring the ID of the game control microcomputer 560 and the IDs of microcomputers on other boards. If the microcomputer on the other board cannot receive the regular ID of the game control microcomputer 560, the spoofing board may be performing the game control process in place of the main board 31. In this embodiment, a microcomputer on another substrate (in this example, a production control microcomputer) detects the presence of a spoofed substrate.

また、この実施の形態では、演出制御用マイクロコンピュータが、基板IDを受信したことに応じて主基板31を認証するか否かの判定を行うが、遊技機への電力供給が開始されたときから所定期間内に遊技制御用マイクロコンピュータ560からの基板IDが受信されないときは、照合NGと判断し、主基板31を認証しない旨の報知や、動作停止状態とする制御を行うようにしてもよい。この場合、演出制御用マイクロコンピュータは、遊技機への電力供給が開始されたときから基板IDが受信されるまで、可変表示装置9に主基板31を認証しない旨の報知(例えば、「照合NG」の表示)を行うようにしてもよい。具体的には、例えば、ステップS701の処理で「照合NG」の表示を開始し、ステップS619にて「照合OK」と判定されたときに認証済フラグをセットするとともに「照合NG」の表示を終了し、所定期間「照合OK」の表示を行うようにすればよい。なお、認証済フラグは、遊技機への電力供給が開始されたとき(ステップS701)または電力供給が停止されるときにリセットされる。また、この場合、演出制御用マイクロコンピュータが、遊技機への電力供給が開始されたときから基板IDが受信されるまで、動作停止状態に制御(基板IDを受信するための処理以外は実行しないように制御。例えば、演出制御処理を開始する前に基板IDの受信確認等を行うように構成し、演出制御処理を開始しない状態に制御)するようにしてもよい。すなわち、遊技制御用マイクロコンピュータ560が、遊技機への電力供給が開始されたときに、演出制御用マイクロコンピュータに対して基板IDを送信し、演出制御用マイクロコンピュータが、基板IDが受信されるまで、遊技制御基板を認証しない旨の報知と、動作停止状態の制御とのうち、少なくとも何れか一方を行うように構成されていてもよい。そのように構成すれば、遊技機への電力供給が開始される毎に、不正回路基板が設置されているか否かを判定することができる。   In this embodiment, the production control microcomputer determines whether or not to authenticate the main board 31 in response to receiving the board ID, but when power supply to the gaming machine is started. When the board ID is not received from the game control microcomputer 560 within a predetermined period from the first, a judgment is made that the verification is NG, and a notification that the main board 31 is not authenticated or a control for stopping the operation is performed. Good. In this case, the production control microcomputer notifies the variable display device 9 that the main board 31 is not authenticated until the board ID is received after the power supply to the gaming machine is started (for example, “verification NG” May be displayed). Specifically, for example, the display of “collation NG” is started in the process of step S701, and when it is determined as “collation OK” in step S619, the authenticated flag is set and the display of “collation NG” is displayed. It is sufficient to display the “verification OK” for a predetermined period. The authenticated flag is reset when power supply to the gaming machine is started (step S701) or when power supply is stopped. Also, in this case, the production control microcomputer controls the operation stop state until the board ID is received after the power supply to the gaming machine is started (except for the process for receiving the board ID). For example, it may be configured such that reception confirmation of the board ID is performed before starting the effect control process, and the effect control process is controlled not to be started). That is, when power supply to the gaming machine is started, the gaming control microcomputer 560 transmits the board ID to the presentation control microcomputer, and the presentation control microcomputer receives the board ID. Until now, it may be configured to perform at least one of notification that the game control board is not authenticated and control of the operation stop state. With such a configuration, it is possible to determine whether or not an unauthorized circuit board is installed every time power supply to the gaming machine is started.

なお、主基板31から演出制御基板80への基板IDの通信方法はどのような方法であってもよく、例えば、主基板31と演出制御基板80とを同期させて基板IDを送受するようにしてもよい。   Note that any method of communicating the board ID from the main board 31 to the effect control board 80 may be used. For example, the main board 31 and the effect control board 80 may be synchronized to transmit and receive the board ID. May be.

また、この実施の形態では、基板IDにもとづいて主基板31を認証しないと判定したときは、主基板31を認証しない旨の報知を行うとともに、動作停止状態とする制御を行うようにしていたが、主基板31を認証しない旨の報知、あるいは動作停止状態とする制御の何れか一方を行うようにしてもよい。   Further, in this embodiment, when it is determined that the main board 31 is not authenticated based on the board ID, a notification that the main board 31 is not authenticated is given, and a control for stopping the operation is performed. However, either the notification that the main board 31 is not authenticated or the control for stopping the operation may be performed.

なお、上記の各実施の形態では、照合に用いるIDと乱数の初期値を設定するためのIDとに同一のIDを用いるようにしていたが、これに限らず、別個のIDを用いるようにしてもよい。   In each of the above embodiments, the same ID is used for the ID used for collation and the ID for setting the initial value of the random number. However, the present invention is not limited to this, and a separate ID is used. May be.

また、上記の各実施の形態では、遊技制御用マイクロコンピュータ560が、始動口スイッチ14aからの入賞検出信号が入力されたことを条件に、照合機365に対して照合端子364を介して基板IDを送信し、演出制御用マイクロコンピュータが、基板IDにもとづいて主基板31を認証するか否か判定し、認証しないと判定したときは、主基板31を認証しない旨の報知を行うとともに、動作停止状態とする制御を行うように構成されているので、不正回路基板が設置されていることを容易に発見することができる。すなわち、始動入賞口14に遊技球を入賞させたときに、照合NGの表示がなされれば何らかの不正行為がなされている可能性があることを遊技店員等に認識させることができ、照合OKの表示も照合NGの表示もなされなければ、演出制御用マイクロコンピュータによる基板IDにもとづく照合処理が実行されていない(始動口スイッチ14aからの入賞検出信号がなりすまし基板に入力されていて、主基板31に入力されていない)ことになり、不正回路基板が設置されていると遊技店員等に認識させることができる。よって、不正回路基板が設置されていることを容易に発見することができる。なお、ここでは、不正回路基板が設置されている場合には、本来は照合OKと表示されるべきときにその表示がなされないことになるので、照合OKの表示がなされないことが、主基板31を認証しない旨の報知に相当する。   Further, in each of the above embodiments, the game control microcomputer 560 is connected to the verification machine 365 via the verification terminal 364 on the condition that a winning detection signal is input from the start port switch 14a. When the microcomputer for effect control determines whether or not to authenticate the main board 31 based on the board ID, and determines not to authenticate, it notifies that the main board 31 is not authenticated and operates. Since it is configured to perform the control to be stopped, it can be easily found that the unauthorized circuit board is installed. That is, when the game ball is won at the start winning opening 14, if the verification NG is displayed, the game store clerk or the like can recognize that there is a possibility that some illegal act has been performed. If neither the display nor the verification NG is displayed, the verification process based on the board ID by the effect control microcomputer is not executed (the winning detection signal from the start port switch 14a is input to the spoofed board and the main board 31 is not processed). Therefore, the game shop clerk can recognize that an illegal circuit board is installed. Therefore, it can be easily found that the illegal circuit board is installed. Here, in the case where an illegal circuit board is installed, the display is not performed when the verification OK is supposed to be displayed, so that the verification OK is not displayed. This corresponds to notification that 31 is not authenticated.

始動口スイッチ14aからの入賞検出信号がなりすまし基板及び主基板31に入力されている場合の対策として、例えば、照合処理中は演出制御用マイクロコンピュータによる表示処理を停止するようにすればよい。このようにすれば、不正回路基板が設置されているときは、始動入賞の発生にもとづく照合処理の結果が表示される前に、可変表示装置9での可変表示が開始されることになる。このため、始動口スイッチ14aからの入賞検出信号がなりすまし基板及び主基板31に入力されていても、不正回路基板が設置されていることを容易に発見することができる。   As a countermeasure when a winning detection signal from the start port switch 14a is input to the spoofing board and the main board 31, for example, display processing by the effect control microcomputer may be stopped during the matching process. In this way, when the illegal circuit board is installed, the variable display on the variable display device 9 is started before the result of the verification process based on the occurrence of the start winning is displayed. For this reason, even if the winning detection signal from the start port switch 14a is inputted to the spoofing board and the main board 31, it can be easily found that the illegal circuit board is installed.

なお、上記の各実施の形態では、遊技制御用マイクロコンピュータ560が、始動口スイッチ14aからの入賞検出信号が入力されたことを条件に、照合機365に対して照合端子364を介して基板IDを送信するようにしていたが、他の入賞検出スイッチからの入賞検出信号が入力されたことを条件に基板IDを送信するようにしてもよい。   In each of the above embodiments, the game control microcomputer 560 is connected to the verification machine 365 via the verification terminal 364 on the condition that a winning detection signal is input from the start port switch 14a. However, the board ID may be transmitted on condition that a winning detection signal from another winning detection switch is input.

また、上記の各実施の形態では、遊技機への電源投入が開始されてからタイマ割込設定を行うまでに乱数回路503の初期設定(乱数回路設定処理)を行うとともに、乱数回路設定処理において、遊技制御用マイクロコンピュータ560固有のIDナンバにもとづく値を乱数の初期値として設定する。そのため、乱数回路503が生成する乱数のランダム性を向上させることができる。また、乱数のランダム性を向上させることができるので、乱数生成のタイミングを遊技者や遊技店に認識されにくくすることができ、無線信号を用いた取り込み信号を遊技機に対して発生させることによって、大当り状態などの特定遊技状態への移行条件を不正に成立させられてしまうことを防止することができる。   In each of the above embodiments, the random number circuit 503 is initially set (random number circuit setting process) from the start of power-on to the gaming machine until the timer interrupt is set, and in the random number circuit setting process, A value based on the ID number unique to the game control microcomputer 560 is set as an initial value of the random number. Therefore, the randomness of the random number generated by the random number circuit 503 can be improved. In addition, since randomness of random numbers can be improved, the timing of random number generation can be made difficult to be recognized by a player or a game store, and a capture signal using a radio signal can be generated for a gaming machine. It is possible to prevent the condition for shifting to a specific gaming state such as a big hit state from being illegally established.

また、上記の各実施の形態では、乱数回路503の反転回路532が極性を反転させた反転クロック信号SI2を生成し、反転クロック信号SI2に同期して乱数の記憶を指示するためのラッチ信号を出力する。そのため、乱数を更新するタイミングと乱数値記憶回路531に乱数を記憶させるタイミングとをずらすことができ、生成した乱数を安定して確実に記憶させることができる。   In each of the above embodiments, the inversion circuit 532 of the random number circuit 503 generates the inverted clock signal SI2 whose polarity is inverted, and the latch signal for instructing the storage of the random number in synchronization with the inverted clock signal SI2. Output. Therefore, the timing for updating the random number and the timing for storing the random number in the random value storage circuit 531 can be shifted, and the generated random number can be stored stably and reliably.

また、信号伝達される基板IDを暗号化するようにしてもよい。また、基板IDは、主基板31に一意に定められているIDであったが、マイクロコンピュータの製造メーカが認証のために許容している複数のIDのうちいずれかであってもよい。複数のIDのうちいずれかである場合には、照合処理を実行する主体(照合機365、演出制御用マイクロコンピュータ)は、マイクロコンピュータの製造メーカが認証のために許容している複数のIDをあらかじめ記憶しておき、受信した基板IDがそのいずれかであるか否かを判定することで、認証するか否かを判定するようにすればよい。   Further, the board ID transmitted as a signal may be encrypted. The board ID is an ID uniquely determined for the main board 31, but may be any of a plurality of IDs allowed for authentication by the manufacturer of the microcomputer. If the ID is one of a plurality of IDs, the subject executing the verification process (the verification machine 365, the production control microcomputer) uses a plurality of IDs permitted by the microcomputer manufacturer for authentication. What is necessary is just to determine whether it authenticates by memorizing | storing beforehand and determining whether the received board | substrate ID is one of them.

また、上記の各実施の形態では、基板IDの受信の有無や照合結果を報知することによって、主基板31と演出制御基板80との接続状態を遊技店員等が確認するもできるようになる。   In each of the above embodiments, the game store clerk or the like can check the connection state between the main board 31 and the effect control board 80 by notifying the presence / absence of the board ID and the collation result.

また、上記の各実施の形態では、各々を識別可能な複数種類の識別情報を可変表示可能な可変表示手段を備え、あらかじめ定められている可変表示の実行条件が成立した後、可変表示の開始条件の成立にもとづいて可変表示手段にて識別情報の可変表示を開始し、識別情報の可変表示の表示結果が特定の表示結果となったときに遊技者にとって有利な特定遊技状態に移行させる遊技機(以下、機種Aという)を例示したが、本発明による遊技機はそのような遊技機に限定されるものではなく、「識別情報を可変表示可能な可変表示手段」を有さない遊技機にも適用できる。つまり、所定の始動入賞領域への入賞により、可変入賞装置を所定回数開放させ、その開放により可変入賞装置に入賞した遊技媒体が特定領域(V領域)を通過すると特定遊技状態(大当り状態)に制御される遊技機(以下、機種Bという)にも適用することができる。   Further, in each of the above embodiments, the variable display means capable of variably displaying a plurality of types of identification information that can identify each of them is provided, and variable display starts after a predetermined variable display execution condition is satisfied. A game in which the variable display means starts variable display of the identification information based on the establishment of the condition, and when the display result of the variable display of the identification information becomes a specific display result, the game shifts to a specific game state advantageous to the player Although a machine (hereinafter referred to as model A) is illustrated, the gaming machine according to the present invention is not limited to such a gaming machine, and has no “variable display means capable of variably displaying identification information”. It can also be applied to. In other words, the variable winning device is released a predetermined number of times by winning in a predetermined start winning area, and when the game medium that has won the variable winning apparatus through the opening passes through the specific area (V area), it enters a specific gaming state (big hit state). The present invention can also be applied to a controlled gaming machine (hereinafter referred to as model B).

また、機種Aと機種Bとの混合タイプの機種にも適用することができる。つまり、各々を識別可能な複数種類の識別情報を可変表示可能な可変表示手段を備え、あらかじめ定められている可変表示の実行条件が成立した後、可変表示の開始条件の成立にもとづいて可変表示手段にて識別情報の可変表示を開始し、識別情報の可変表示の表示結果が特定の表示結果となったときに遊技者にとって有利な特定遊技状態に移行させる制御と、識別情報の可変表示の表示結果が特定の表示結果と異なる所定の表示結果(小当り)となったときに可変入賞装置を所定回数開放させ、その開放により可変入賞装置に入賞した遊技媒体が特定領域(V領域)を通過することで特定遊技状態(大当り状態)に移行させる制御とをともに実行する遊技機であってもよい。   Further, the present invention can be applied to a mixed type model of model A and model B. In other words, variable display means is provided that can variably display a plurality of types of identification information that can identify each of them. After a predetermined variable display execution condition is satisfied, variable display is performed based on the satisfaction of the variable display start condition. The variable display of the identification information is started by the means, and when the display result of the variable display of the identification information becomes the specific display result, the control to shift to the specific gaming state advantageous to the player, and the variable display of the identification information When the display result becomes a predetermined display result (small hit) different from the specific display result, the variable winning device is released a predetermined number of times, and the game media that has won the variable winning device by the release has a specific region (V region). It may be a gaming machine that executes a control that shifts to a specific gaming state (big hit state) by passing through.

なお、上述した各実施の形態では、主基板31からの制御コマンドが演出制御基板80に入力され、演出制御基板80を介してランプドライバ基板35および音声出力基板70に制御コマンドが入力されるように構成されていたが、他の基板構成であってもよい。例えば、演出制御基板80、ランプドライバ基板35および音声出力基板70が1枚の基板により構成するようにしてもよい。また、例えば、主基板31からの制御コマンドがランプドライバ基板35および音声出力基板70に入力され、ランプドライバ基板35または音声出力基板70を介して制御コマンドが演出制御基板80に入力されるように構成されていてもよい。   In each of the above-described embodiments, the control command from the main board 31 is input to the effect control board 80, and the control command is input to the lamp driver board 35 and the audio output board 70 via the effect control board 80. However, other substrate configurations may be used. For example, the effect control board 80, the lamp driver board 35, and the audio output board 70 may be configured by a single board. Further, for example, a control command from the main board 31 is input to the lamp driver board 35 and the audio output board 70, and a control command is input to the effect control board 80 via the lamp driver board 35 or the audio output board 70. It may be configured.

また、上述した各実施の形態では、主基板31に「なりすました」不正回路基板を発見するものとして説明したが、払出制御基板37に「なりすました」不正回路基板を発見するものに適用することも可能である。   Further, in each of the above-described embodiments, the description has been made assuming that the “spoofed” illegal circuit board is found in the main board 31, but the present invention is applicable to those in which the “spoofed” illegal circuit board is found in the payout control board 37. Is also possible.

次に、上記に示した各実施の形態における遊技機の他の一例であるスロット機(スロットマシン)の全体の構成について説明する。図80はスロット機を正面からみた正面図である。   Next, the overall configuration of a slot machine (slot machine), which is another example of the gaming machine in each of the embodiments described above, will be described. FIG. 80 is a front view of the slot machine as seen from the front.

図80に示すように、スロット機600は、中央付近に遊技パネル601が着脱可能に取り付けられている。また、遊技パネル601の前面の中央付近には、複数種類の図柄が可変表示される可変表示装置602が設けられている。この実施の形態では、可変表示装置602には、「左」、「中」、「右」の3つの図柄表示エリアがあり、各図柄表示エリアに対応してそれぞれ図柄表示リール602a,602b,602cが設けられている。   As shown in FIG. 80, in the slot machine 600, a game panel 601 is detachably attached near the center. Further, a variable display device 602 for variably displaying a plurality of types of symbols is provided near the center of the front surface of the game panel 601. In this embodiment, the variable display device 602 has three symbol display areas of “left”, “middle”, and “right”, and the symbol display reels 602a, 602b, and 602c correspond to the symbol display areas, respectively. Is provided.

遊技パネル601の下部には、遊技者が各種の操作を行うための各種入力スイッチ等が配される操作テーブル620が設けられている。操作テーブル620の奥側には、コインを1枚ずつBETする(かける)ためのBETスイッチ621、1ゲームでかけることのできる最高枚数(本例では3枚)ずつコインをBETするためのMAXBETスイッチ622、精算スイッチ623、およびコイン投入口624が設けられている。コイン投入口624に投入されたコインは、図示しない投入コインセンサによって検知される。   Below the game panel 601, an operation table 620 is provided in which various input switches and the like for the player to perform various operations are arranged. On the back side of the operation table 620, a BET switch 621 for betting (putting) coins one by one, and a MAXBET switch 622 for betting coins by the maximum number (three in this example) that can be placed in one game. A settlement switch 623 and a coin insertion slot 624 are provided. Coins inserted into the coin insertion slot 624 are detected by an inserted coin sensor (not shown).

操作テーブル620の手前側には、スタートスイッチ625、左リールストップスイッチ626a、中リールストップスイッチ626b、右リールストップスイッチ626cおよびコイン詰まり解消スイッチ627が設けられている。操作テーブル620の手前左右には、それぞれランプ628a,628bが設けられている。操作テーブル620の下部には、効果音等を出力するスピーカ630が設けられている。   On the front side of the operation table 620, a start switch 625, a left reel stop switch 626a, a middle reel stop switch 626b, a right reel stop switch 626c, and a coin jam elimination switch 627 are provided. Lamps 628a and 628b are provided on the right and left sides of the operation table 620, respectively. Below the operation table 620, a speaker 630 for outputting sound effects and the like is provided.

遊技パネル601の上部には、遊技者に遊技方法や遊技状態等を報知する画像表示装置(LCD:液晶表示装置)640が設けられている。例えば、入賞発生時に、キャラクタが所定動作を行う画像を画像表示装置640に表示することで、後述する当選フラグが設定されていることを遊技者に報知する。また、画像表示装置640の左右には、効果音を発する2つのスピーカ641L,641Rが設けられている。   On the upper part of the game panel 601, an image display device (LCD: liquid crystal display device) 640 for notifying a player of a game method, a game state, and the like is provided. For example, when a winning occurs, an image in which a character performs a predetermined action is displayed on the image display device 640 to notify the player that a winning flag described later is set. Two speakers 641L and 641R that emit sound effects are provided on the left and right of the image display device 640.

なお、スロット機600で発生する入賞役には、小役入賞と、リプレイ入賞と、ビッグボーナス入賞と、レギュラーボーナス入賞とがある。スロット機600では、スタートスイッチ625を操作したタイミングで乱数が抽出され、上記いずれかの入賞役による入賞の発生を許容するか否かを決定する。入賞の発生が許容されていることを、「内部当選している」という。内部当選した場合、その旨を示す当選フラグがスロット機600の内部で設定される。当選フラグが設定された状態でのゲームでは、その当選フラグに対応する入賞役を引き込むことが可能なようにリール602a〜602cが制御される。一方、当選フラグが設定されていない状態でのゲームでは、入賞が発生しないようにリール602a〜602cが制御される。   The winning combinations generated in the slot machine 600 include a small winning combination, a replay winning, a big bonus winning, and a regular bonus winning. In the slot machine 600, random numbers are extracted at the timing when the start switch 625 is operated, and it is determined whether or not the winning of any winning combination is allowed. The fact that winnings are allowed is said to be “winning internally”. When an internal winning is made, a winning flag indicating that is set in the slot machine 600. In the game with the winning flag set, the reels 602a to 602c are controlled so that the winning combination corresponding to the winning flag can be drawn. On the other hand, in a game in which the winning flag is not set, the reels 602a to 602c are controlled so that no winning is generated.

なお、スロット機600の遊技の進行を制御する遊技制御用マイクロコンピュータは、乱数を発生する乱数回路(12ビット乱数回路および16ビット乱数回路)を内蔵する。また、遊技制御用マイクロコンピュータは、スタートスイッチ625を操作したタイミングで、乱数回路が発生した乱数(ランダムR)を抽出する。例えば、スタートスイッチ625が押下されると、CPU56は、スタートスイッチ625から検出信号SSを入力する。また、乱数回路のタイマ回路534は、所定時間継続して検出信号SSが入力されたことを検出すると、乱数値取込レジスタ539に乱数値取込データ「01(H)」を書き込み、ラッチ信号生成回路533がラッチ信号SLを乱数値記憶回路531に出力する。ラッチ信号SLを入力すると、乱数値記憶回路531は、カウンタ521が更新したカウント値を読み込んで記憶する。また、CPU56は、所定回数(例えば、3回)継続して検出信号SSが入力されたことを検出すると、出力制御用信号SCを乱数回路の乱数値記憶回路に出力し、乱数回路から乱数値(ランダムR)を抽出する。そして、遊技制御用マイクロコンピュータは、抽出したランダムRにもとづいて入賞の発生を許容するか否かを決定する。   Note that the game control microcomputer that controls the progress of the game of the slot machine 600 incorporates a random number circuit (12-bit random number circuit and 16-bit random number circuit) that generates random numbers. Further, the game control microcomputer extracts the random number (random R) generated by the random number circuit at the timing when the start switch 625 is operated. For example, when the start switch 625 is pressed, the CPU 56 inputs the detection signal SS from the start switch 625. When the timer circuit 534 of the random number circuit detects that the detection signal SS has been input continuously for a predetermined time, the random number value fetch data “01 (H)” is written in the random value fetch register 539, and the latch signal The generation circuit 533 outputs the latch signal SL to the random value storage circuit 531. When the latch signal SL is input, the random value storage circuit 531 reads and stores the count value updated by the counter 521. Further, when the CPU 56 detects that the detection signal SS is continuously input a predetermined number of times (for example, three times), the CPU 56 outputs the output control signal SC to the random number value storage circuit of the random number circuit, and the random number value is output from the random number circuit. (Random R) is extracted. Then, the game control microcomputer determines whether or not the winning is allowed based on the extracted random R.

次に、スロット機により提供されるゲームの概要について説明する。
例えば、コイン投入口624からコインが投入されBETスイッチ621またはMAXBETスイッチ622が押下される等してかけ数が設定されると、スタートスイッチ625の操作が有効となる。そして、遊技者によってスタートスイッチ625が操作されると、可変表示装置602に設けられている各図柄表示リール602a〜602cが回転を始める。また、スタートスイッチ625を操作したタイミングで、レギュラーボーナス入賞またはビッグボーナス入賞が内部当選した場合には、例えば、画像表示装置640に所定のキャラクタが所定の動作を行っている画面を表示する等して、内部当選した旨が遊技者等に報知される。
Next, an outline of the game provided by the slot machine will be described.
For example, when a multiplier is set by inserting a coin from the coin insertion slot 624 and pressing the BET switch 621 or the MAXBET switch 622, the operation of the start switch 625 becomes effective. When the player operates the start switch 625, the symbol display reels 602a to 602c provided in the variable display device 602 start rotating. In addition, when a regular bonus prize or a big bonus prize is internally won at the timing when the start switch 625 is operated, for example, a screen on which a predetermined character performs a predetermined action is displayed on the image display device 640. Thus, the player or the like is notified that the internal winning is made.

各図柄表示リール602a〜602cが回転を始めてから所定時間が経過すると、各リールストップスイッチ626a〜626cの操作が有効となる。この状態で、遊技者が各リールストップスイッチ626a〜626cのいずれかを押下すれば、操作されたストップスイッチに対応するリールの回転が停止する。なお、各図柄表示リール602a〜602cを停止させずに、所定期間以上放置した場合には、各図柄表示リール602a〜602cが自動的に停止する。   When a predetermined time elapses after the symbol display reels 602a to 602c start rotating, the operations of the reel stop switches 626a to 626c become effective. In this state, if the player presses one of the reel stop switches 626a to 626c, the rotation of the reel corresponding to the operated stop switch is stopped. When the symbol display reels 602a to 602c are left for a predetermined period or longer without being stopped, the symbol display reels 602a to 602c are automatically stopped.

すべての図柄表示リール602a〜602cが停止した時点で、可変表示装置602に表示されている各図柄表示リール602a〜602cの上段、中段、下段の3段の図柄中、かけ数に応じて定められる有効な入賞ライン上に位置する図柄の組合せによって入賞したか否かが定められる。かけ数が1の場合には、可変表示装置602における中段の横1列の入賞ラインのみが有効となる。かけ数が2の場合には、可変表示装置602における上段、中段、下段の横3列の入賞ラインが有効となる。かけ数が3の場合には、可変表示装置602における横3列と斜め対角線上2列の合計5本の入賞ラインが有効ラインとなる。   When all the symbol display reels 602a to 602c are stopped, the symbol display reels 602a to 602c displayed on the variable display device 602 are determined according to the number of symbols in the upper, middle and lower three symbols. Whether or not a prize is won is determined by a combination of symbols positioned on a valid winning line. When the multiplying number is 1, only the middle one horizontal winning line in the variable display device 602 is valid. When the multiplying number is 2, the top three, the middle, and the bottom three pay lines in the variable display device 602 are valid. When the number of multiplications is 3, a total of five pay lines of three horizontal rows and two diagonal diagonal lines in the variable display device 602 are effective lines.

有効ライン上の図柄の組合せが、予め定められた特定の表示態様となって入賞が発生した場合には、音、光、画像表示装置640の表示等によって所定の遊技演出がなされ、入賞の発生に応じたゲームが開始される。   When a combination of symbols on the active line becomes a specific display mode determined in advance and a winning occurs, a predetermined game effect is made by sound, light, display on the image display device 640, etc., and the winning is generated The game according to is started.

スロット機600では、スロット機600に搭載されている演出制御手段が、スロット機600に設けられている画像表示装置640の表示制御を行う。画像表示装置640には、演出制御手段の制御によって、飾り図柄の変動表示や、遊技状態や遊技方法を報知するための表示等の様々な情報が表示される。そのような、飾り図柄の変動表示や、遊技状態や遊技方法を報知するための表示等の様々な情報の表示をムービー画像により行い、そのムービー画像の表示制御を画像処理装置640によって行うようにすればよい。   In the slot machine 600, the effect control means mounted on the slot machine 600 performs display control of the image display device 640 provided in the slot machine 600. The image display device 640 displays various kinds of information such as a decorative pattern change display and a display for notifying a game state and a game method under the control of the effect control means. Various information such as decorative pattern variation display, display for notifying a game state and a game method, and the like are displayed by a movie image, and display control of the movie image is performed by the image processing device 640. do it.

上記の各実施の形態では、以下のように構成されている遊技機も開示されている。   In each of the above embodiments, a gaming machine configured as follows is also disclosed.

各々を識別可能な複数種類の識別情報(例えば、特別図柄)を可変表示可能な可変表示手段(例えば、特別図柄表示器8)を備え、あらかじめ定められている可変表示の実行条件(例えば、始動入賞口14への遊技球の入賞)が成立した後、可変表示の開始条件(例えば、特別図柄の最終停止および大当たり遊技の終了)の成立にもとづいて識別情報の可変表示を開始し、識別情報の可変表示の表示結果が特定の表示結果(例えば、大当たり図柄)となったときに遊技者にとって有利な特定遊技状態に移行させる遊技機であって、乱数を発生する乱数回路(例えば、乱数回路503)を内蔵し、遊技の進行を制御する遊技制御処理を実行する遊技制御用マイクロコンピュータ(例えば、遊技制御用マイクロコンピュータ560)と、操作に応じて該遊技制御処理を中断させるための中断操作信号を出力する遊技中断操作手段(例えば、中断ボタン361)とを搭載した遊技制御基板(例えば、主基板31)を備え、乱数回路は、所定の信号(例えば、クロック信号)の入力にもとづいて、数値データ(例えば、カウント値)を更新可能な所定の範囲において、所定の初期値から所定の最終値まで予め定められた順序に従って数値データを更新する数値更新手段(例えば、カウンタ521)と、数値更新手段によって更新された数値データを乱数値として記憶する乱数記憶手段(例えば、乱数値記憶回路531)とを含み、遊技制御用マイクロコンピュータは、遊技機への電力供給が開始されたときに、乱数回路の初期設定を行う乱数回路初期設定手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS14を実行する部分)と、乱数回路初期設定手段が乱数回路の初期設定を行ったあとに、所定時間ごとにタイマ割込を発生させるための設定をする割込設定手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS15を実行する部分)と、タイマ割込が発生したときに、遊技制御処理(例えば、タイマ割込処理におけるステップS21〜S33(ステップS29を除く)の処理)を含むタイマ割込処理を実行する割込処理実行手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS20〜S35の処理を実行する部分)と、割込処理実行手段によるタイマ割込処理において、可変表示の実行条件が成立したときに、乱数記憶手段が記憶する乱数値を読み出す乱数読出手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS324の処理を実行する部分)と、乱数読出手段によって読み出された乱数値が所定の判定値と合致するか否かを判定することによって、識別情報の可変表示の表示結果を特定の表示結果とするか否かを決定する表示結果決定手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS300の処理を実行する部分)と、遊技制御処理を中断させる遊技制御処理中断手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS85の処理を実行する部分)とを含み、乱数回路初期設定手段は、初期設定において、数値更新手段が更新する数値データの所定の初期値を、遊技制御用マイクロコンピュータ毎に付与された遊技制御用マイクロコンピュータを識別するためのマイコン識別情報(例えば、遊技制御用マイクロコンピュータ560固有のIDナンバ)にもとづいて設定し(例えば、ステップS154bの処理)、遊技制御処理中断手段は、遊技中断操作手段からの中断操作信号の入力に応じて、遊技制御処理を中断させる(例えば、ステップS85のY)ことを特徴とする遊技機。そのような構成によれば、意図的に遊技制御処理を中断させることができ、意図的な中断が不能となっている場合に不正基板が設置されているものとして不正基板を容易に発見することができる。   A variable display means (for example, special symbol display 8) capable of variably displaying a plurality of types of identification information (for example, special symbols) that can identify each of them is provided, and predetermined variable display execution conditions (for example, starting) After the winning of the game ball to the winning opening 14 is established, the variable information is started to be displayed based on the establishment of the variable display start condition (for example, the final stop of the special symbol and the end of the jackpot game). A random number circuit that generates a random number (for example, a random number circuit) that shifts to a specific gaming state advantageous to the player when the display result of the variable display becomes a specific display result (for example, a jackpot symbol) 503) and a game control microcomputer (for example, a game control microcomputer 560) for executing a game control process for controlling the progress of the game, and a game control process. A game control board (for example, the main board 31) equipped with a game interruption operation means (for example, an interruption button 361) for outputting an interruption operation signal for interrupting the game control process. Based on the input of a signal (for example, a clock signal), the numerical data is updated in a predetermined order from a predetermined initial value to a predetermined final value within a predetermined range in which the numerical data (for example, count value) can be updated. Including a numerical value updating means (for example, a counter 521) and a random number storage means (for example, a random value storage circuit 531) for storing numerical data updated by the numerical value updating means as a random number value. Random circuit initial setting means for initializing the random number circuit when power supply to the gaming machine is started (for example, a game control micro Part for executing step S14 in the computer 560) and an interrupt setting means (for example, setting for generating a timer interrupt every predetermined time after the random number circuit initial setting means performs initial setting of the random number circuit) , A part for executing step S15 in the game control microcomputer 560) and a game control process (for example, processes in steps S21 to S33 (excluding step S29) in the timer interrupt process) when a timer interrupt occurs. Variable in the interrupt process execution means (for example, the part that executes the processes of steps S20 to S35 in the game control microcomputer 560) and the timer interrupt process by the interrupt process execution means. Random number reading that reads the random value stored in the random number storage means when the display execution condition is satisfied By determining whether or not the random number value read by the random number reading means matches the predetermined determination value by the output means (for example, the part of the game control microcomputer 560 that executes the process of step S324) Display result determining means for determining whether or not the display result of the variable display of the identification information is a specific display result (for example, a part for executing the process of step S300 in the game control microcomputer 560), and a game control process; A random number circuit initial setting means for initializing the numerical data to be updated by the numerical value updating means in the initial setting, including a game control process interrupting means for interrupting (for example, the portion of the game control microcomputer 560 that executes the process of step S85). A predetermined initial value is assigned to the game control microcomputer assigned to each game control microcomputer. Set based on microcomputer identification information for identifying the microcomputer (for example, the ID number unique to the game control microcomputer 560) (for example, the process of step S154b), the game control process interrupting means is selected from the game interrupt operating means. The game machine is characterized in that the game control process is interrupted in response to the input of the interrupt operation signal (for example, Y in step S85). According to such a configuration, the game control process can be intentionally interrupted, and when the intentional interruption cannot be performed, it is possible to easily find the illegal board as having the illegal board installed. Can do.

遊技制御基板が、開封不能な固着手段によって封止された基板ボックス(例えば図29に示す遊技制御基板ボックス)内に収納され、遊技中断操作手段の操作部(例えば中断ボタン361の押下操作部分)が、基板ボックスに形成された開口部(例えば、蓋部31Bに設けられた開口部)に臨ませて設置されている遊技機。そのような構成によれば、遊技中断操作手段からの中断操作信号を不正基板に入力させて遊技を中断させることを防止することができる。   The game control board is housed in a board box (for example, the game control board box shown in FIG. 29) sealed by a fixing means that cannot be opened, and an operation portion of the game interruption operation means (for example, a pressing operation portion of the interruption button 361). Is a game machine installed facing the opening formed in the board box (for example, the opening provided in the lid 31B). According to such a configuration, it is possible to prevent the game from being interrupted by inputting the interruption operation signal from the game interruption operation means to the unauthorized board.

遊技媒体を用いて遊技者が所定の遊技を行うことが可能であり、遊技により払出条件が成立(例えば入賞の発生)したことにもとづいて景品として景品遊技媒体を払い出し、各々を識別可能な複数種類の識別情報(例えば、特別図柄)を可変表示可能な可変表示手段(例えば、特別図柄表示器8)を備え、あらかじめ定められている可変表示の実行条件(例えば、始動入賞口14への遊技球の入賞)が成立した後、可変表示の開始条件(例えば、特別図柄の最終停止および大当たり遊技の終了)の成立にもとづいて識別情報の可変表示を開始し、識別情報の可変表示の表示結果が特定の表示結果(例えば、大当たり図柄)となったときに遊技者にとって有利な特定遊技状態に移行させる遊技機であって、乱数を発生する乱数回路(例えば、乱数回路503)を内蔵し、遊技の進行を制御する遊技制御処理を実行する遊技制御用マイクロコンピュータ(例えば、遊技制御用マイクロコンピュータ560)を搭載した遊技制御基板(例えば主基板31)と、景品遊技媒体の払い出しを行う払出手段(例えば、球払出装置97)と、払出手段を制御する払出制御処理を実行する払出制御マイクロコンピュータ(例えば、払出制御用マイクロコンピュータ370)とを備え、乱数回路は、所定の信号(例えば、クロック信号)の入力にもとづいて、数値データ(例えば、カウント値)を更新可能な所定の範囲において、所定の初期値から所定の最終値まで予め定められた順序に従って数値データを更新する数値更新手段(例えば、カウンタ521)と、数値更新手段によって更新された数値データを乱数値として記憶する乱数記憶手段(例えば、乱数値記憶回路531)とを含み、遊技制御用マイクロコンピュータは、遊技機への電力供給が開始されたときに、乱数回路の初期設定を行う乱数回路初期設定手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS14の処理を実行する部分)と、乱数回路初期設定手段が乱数回路の初期設定を行ったあとに、所定時間ごとにタイマ割込を発生させるための設定をする割込設定手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS15の処理を実行する部分)と、タイマ割込が発生したときに、遊技制御処理(例えば、タイマ割込処理におけるステップS21〜S33(ステップS29を除く)の処理)を含むタイマ割込処理を実行する割込処理実行手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS20〜S35の処理を実行する部分)と、割込処理実行手段によるタイマ割込処理において、可変表示の実行条件が成立したときに、乱数記憶手段が記憶する乱数値を読み出す乱数読出手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS324の処理を実行する部分)と、乱数読出手段によって読み出された乱数値が所定の判定値と合致するか否かを判定することによって、識別情報の可変表示の表示結果を特定の表示結果とするか否かを決定する表示結果決定手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS300の処理を実行する部分)と、払出条件の成立にもとづいて払い出すべき景品遊技媒体の数を特定可能な景品遊技媒体数データを記憶する景品遊技媒体数記憶手段(例えば、遊技制御用マイクロコンピュータ560におけるRAM55)と、景品遊技媒体数記憶手段に景品遊技媒体数データが記憶されていることにもとづいて払出制御マイクロコンピュータに対して景品遊技媒体の払出数を指定するための払出指令信号を、所定の指令条件が成立しているときにオン状態にする払出指令信号出力手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS254,S255の処理を実行する部分)と、払出指令信号出力手段が払出指令信号をオン状態にした後に所定の減算条件が成立すると景品遊技媒体数記憶手段に記憶されている景品遊技媒体数データから払出指令信号で指定した払出数に対応する値を減算する減算処理を行う景品遊技媒体数データ減算手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS261,S262の処理を実行する部分)とを含み、払出制御マイクロコンピュータは、払出指令信号を受信したことにもとづいて、該払出指令信号を受信したことを示す受信確認信号をオン状態にする受信確認信号出力手段(例えば、払出制御用マイクロコンピュータ370におけるステップS544,S546の処理を実行する部分)と、払出手段を制御して払出指令信号により指定された払出数の景品遊技媒体を払い出させる払出処理を実行する景品遊技媒体払出制御手段(例えば、払出制御用マイクロコンピュータ370におけるステップS631,S633,S637等の処理を実行する部分)とを含み、景品遊技媒体数データ減算手段は、受信確認信号がオン状態になったことを所定の減算条件の成立として減算処理を行い(例えばステップS261,S262の処理を実行)、乱数回路初期設定手段は、初期設定において、数値更新手段が更新する数値データの所定の初期値を、遊技制御用マイクロコンピュータ毎に付与された遊技制御用マイクロコンピュータを識別するためのマイコン識別情報(例えば、遊技制御用マイクロコンピュータ560固有のIDナンバ)にもとづいて設定し(例えば、ステップS154bの処理を実行)、遊技制御用マイクロコンピュータは、景品遊技媒体数記憶手段に記憶されている景品遊技媒体数データが示す払い出すべき景品遊技媒体の数が所定の異常判定数となったときに、所定の異常報知手段(例えば未払出超過LED362)を制御して異常の発生を報知する(例えば、ステップS174,S175の処理を実行)ことを特徴とする遊技機。そのような構成によれば、異常報知手段による異常の発生の報知によって、払出制御用マイクロコンピュータとの通信が不正基板に搭載されたマイクロコンピュータとの間で実行されていることを報知することができ、不正基板を容易に発見することができるようになる。   It is possible for a player to play a predetermined game using a game medium, and a prize game medium is paid out as a prize based on the fact that a payout condition is established by the game (for example, a prize is generated), and each can be identified. Variable display means (for example, special symbol display 8) capable of variably displaying the type of identification information (for example, special symbol) is provided, and a predetermined variable display execution condition (for example, a game to the start winning opening 14) After the winning of the ball) is established, the variable information display starts based on the establishment of the variable display start conditions (for example, the final stop of the special symbol and the end of the jackpot game), and the display result of the variable display of the identification information Is a gaming machine that shifts to a specific gaming state that is advantageous to the player when a specific display result (for example, a jackpot symbol) is obtained, and a random number circuit (for example, random number generation) that generates random numbers. A game control board (for example, the main board 31) on which a game control microcomputer (for example, the game control microcomputer 560) that executes a game control process for controlling the progress of the game is incorporated, and a prize game A random number circuit comprising: a payout means (for example, a ball payout device 97) for paying out a medium; and a payout control microcomputer (for example, a payout control microcomputer 370) for executing a payout control process for controlling the payout means. Numerical data according to a predetermined order from a predetermined initial value to a predetermined final value within a predetermined range in which numerical data (for example, a count value) can be updated based on an input of a predetermined signal (for example, a clock signal) Numerical value updating means (for example, counter 521) for updating the numerical value, and numerical values updated by the numerical value updating means Random number storage means (for example, a random value storage circuit 531) for storing the data as a random value, and the gaming control microcomputer performs initial setting of the random number circuit when power supply to the gaming machine is started. After the random number circuit initial setting means (for example, the portion of the game control microcomputer 560 that executes the process of step S14) and the random number circuit initial setting means perform the initial setting of the random number circuit, the timer allocation is performed every predetermined time. Interrupt setting means (for example, a part for executing the processing of step S15 in the game control microcomputer 560) for making a setting for generating an interrupt, and a game control process (for example, a timer when a timer interrupt occurs) Interrupt processing for executing timer interrupt processing including steps S21 to S33 (except for step S29) in the interrupt processing When the execution condition for variable display is satisfied in the physical execution means (for example, the part that executes the processing of steps S20 to S35 in the game control microcomputer 560) and the timer interruption process by the interruption process execution means, Random number reading means for reading the random number value stored in the storage means (for example, the part for executing the processing of step S324 in the game control microcomputer 560) and the random number value read by the random number reading means match the predetermined determination value. Display result determining means for determining whether or not the display result of the variable display of the identification information is to be a specific display result by determining whether or not to perform (for example, the process of step S300 in the game control microcomputer 560). And the number of premium game media to be paid out based on the establishment of the payout conditions. The prize game medium number data is stored in the prize game medium number storage means (for example, the RAM 55 in the game control microcomputer 560) for storing definite prize game medium number data, and the prize game medium number storage means. A payout command signal output means (for example, game control) for turning on a payout command signal for designating the number of prize game medium payouts to a payout control microcomputer based on a predetermined command condition. Portion of the microcomputer 560 for executing steps S254 and S255), and when the predetermined subtraction condition is satisfied after the payout command signal output means turns on the payout command signal, it is stored in the prize game medium number storage means. Subtraction to subtract the value corresponding to the number of payouts specified by the payout command signal from the number of prize game media data A prize game medium number data subtracting means (for example, a part for executing the processing of steps S261 and S262 in the game control microcomputer 560), and the payout control microcomputer receives the payout command signal. A reception confirmation signal output means for turning on a reception confirmation signal indicating that the payout command signal has been received (for example, a part for executing steps S544 and S546 in the payout control microcomputer 370), and a payout means. And a payout game medium payout control means (for example, steps S631, S633, S637 and the like in the payout control microcomputer 370) for executing payout processing for paying out the premium game media of the payout number specified by the payout command signal. Processing portion), and a prize game medium The number data subtracting means performs a subtraction process when the reception confirmation signal is turned on as a predetermined subtraction condition is satisfied (for example, the processes of steps S261 and S262 are executed), and the random number circuit initial setting means performs initial setting. The predetermined initial value of the numerical data updated by the numerical value updating means is microcomputer identification information for identifying the game control microcomputer assigned to each game control microcomputer (for example, unique to the game control microcomputer 560). The ID game number is set based on the ID number (for example, the process of step S154b is executed), and the game control microcomputer uses the prize game medium number data stored in the prize game medium number storage means to be paid out. A predetermined abnormality notification means (for example, unpaid excess) Controls ED362) reports the occurrence of abnormality (e.g., step S174, the process execution of S175) game machine, characterized in that. According to such a configuration, it is possible to notify that the communication with the payout control microcomputer is being executed with the microcomputer mounted on the unauthorized substrate by notifying the occurrence of the abnormality by the abnormality notifying means. This makes it possible to easily find illegal boards.

遊技制御基板が、開封不能な固着手段によって封止された基板ボックス(例えば図29に示す遊技制御基板ボックス)内に収納され、異常報知手段(例えば未払出超過LED362)は、基板ボックスに収納されている遊技機。そのような構成によれば、不正基板からの信号によって異常報知手段が駆動されることを防止することができる。   The game control board is accommodated in a board box (for example, the game control board box shown in FIG. 29) sealed by an unopenable fixing means, and the abnormality notification means (eg, unpaid excess LED 362) is accommodated in the board box. Gaming machines. According to such a configuration, it is possible to prevent the abnormality notifying unit from being driven by a signal from the unauthorized substrate.

割込設定手段が、遊技機への電力供給が開始されたあと、乱数回路初期設定手段が乱数回路の初期設定(例えばステップS14)を行った後に、所定時間毎にタイマ割込を発生させるための設定を行い(例えばステップS14の処理を実行した後にステップS15の処理を実行)、乱数回路初期設定手段が、割込設定手段によってタイマ割込を発生させるための設定がなされたあとに、乱数回路の初期設定を行うように構成されている遊技機。そのような構成によれば、遊技制御処理の実行中に乱数回路の設定が変更されることがないようにすることができ、不正行為を防止することができる。   In order for the interrupt setting means to generate a timer interrupt every predetermined time after the random number circuit initial setting means performs the initial setting of the random number circuit (for example, step S14) after the power supply to the gaming machine is started. (For example, the process of step S15 is performed after the process of step S14 is performed), and the random number circuit initial setting unit is set to generate a timer interrupt by the interrupt setting unit. A gaming machine configured to perform initial setting of a circuit. According to such a configuration, it is possible to prevent the setting of the random number circuit from being changed during the execution of the game control process, and to prevent fraud.

遊技制御用マイクロコンピュータが、数値更新手段が更新可能な数値データの所定の範囲が異なる乱数回路(例えば、12ビット乱数回路503aと16ビット乱数回路503b)を複数内蔵し、乱数回路初期設定手段が、初期設定において、遊技制御用マイクロコンピュータが内蔵する複数の乱数回路の中から使用可能な乱数回路を設定し(例えば、遊技制御用マイクロコンピュータ560がステップS151の処理を実行する)、乱数回路初期設定手段により使用可能と設定された乱数回路以外の乱数回路の機能を停止させる乱数停止手段(例えば、遊技制御用マイクロコンピュータ560が、ステップS151の処理で使用する乱数回路503を設定すると、使用しないように設定した方の乱数回路のカウンタ521がカウント値Cを更新しないように制御する部分)を備えた遊技機。そのような構成によれば、使用する乱数回路だけを設定することによって、生成する乱数の値の範囲を適切に設定することができる。   The game control microcomputer includes a plurality of random number circuits (for example, a 12-bit random number circuit 503a and a 16-bit random number circuit 503b) having different predetermined ranges of numerical data that can be updated by the numerical value updating means, and the random number circuit initial setting means has In the initial setting, a random number circuit that can be used is set from among a plurality of random number circuits built in the game control microcomputer (for example, the game control microcomputer 560 executes the process of step S151). Random number stopping means for stopping the function of a random number circuit other than the random number circuit set to be usable by the setting means (for example, when the game control microcomputer 560 sets the random number circuit 503 used in the processing of step S151, it is not used. The counter 521 of the random number circuit that is set as The gaming machine having a part) be controlled so as not new. According to such a configuration, by setting only the random number circuit to be used, the range of the random number value to be generated can be appropriately set.

乱数回路初期設定手段が、初期設定において、数値データが更新される所定の範囲の最大値としての値が設定される数値最大値レジスタ(例えば、乱数最大値設定レジスタ535)に、数値更新手段により更新可能な数値データの範囲内において所定の最大値(例えば、乱数最大値)を設定し(例えば、遊技制御用マイクロコンピュータ560がステップS152の処理を実行する部分)、数値更新手段は、乱数回路初期設定手段により設定された所定の最大値が、所定の下限値(例えば、12ビット乱数回路503aを設定した場合における「256」)以下であるか否かを判定する設定値判定手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS153bの処理を実行する部分)と、設定値判定手段によって数値最大値レジスタに設定された所定の最大値が所定の下限値以下であると判定されたときに、数値最大値レジスタに、数値更新手段により更新可能な数値データの範囲内の所定値(例えば、12ビット乱数回路503aを設定した場合における「4095」)を設定しなおす最大値再設定手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS153cを実行する部分)とを含む遊技機。そのような構成によれば、遊技制御用マイクロコンピュータの誤動作や、無線信号を用いた取り込み信号を遊技機に対して発生させるなどの行為によって、過度に小さい値が乱数の最大値として設定されてしまうことを防止することができる。   In the initial setting, the random number circuit initial setting means sets a numerical value maximum value register (for example, the random number maximum value setting register 535) in which a value as a maximum value in a predetermined range in which numerical data is updated is set by the numerical value updating means. A predetermined maximum value (for example, a random number maximum value) is set within the range of the numerical data that can be updated (for example, the part in which the game control microcomputer 560 executes the process of step S152), and the numerical value updating means includes a random number circuit Setting value determination means for determining whether or not the predetermined maximum value set by the initial setting means is equal to or less than a predetermined lower limit value (for example, “256” when the 12-bit random number circuit 503a is set) The portion of the game control microcomputer 560 that executes the process of step S153b) and the set value determination means When it is determined that the predetermined maximum value set in the value register is equal to or smaller than the predetermined lower limit value, a predetermined value (for example, 12) within the range of numerical data that can be updated by the numerical value updating means is stored in the numerical maximum value register. A gaming machine including maximum value resetting means (for example, a part for executing step S153c in the gaming control microcomputer 560) for resetting “4095” when the bit random number circuit 503a is set. According to such a configuration, an excessively small value is set as the maximum value of the random number due to an action such as malfunction of the game control microcomputer or generation of a capture signal using a radio signal for the gaming machine. Can be prevented.

所定周期のクロック信号を生成し、乱数回路に出力するクロック信号生成手段(例えば、クロック回路501)を備え、数値更新手段が、クロック信号を所定回数入力したことを条件に、数値データを更新し(例えば、クロック信号出力回路524が基準クロック信号CLKを16分周した乱数発生用クロック信号SIを入力すると、カウンタ521がカウント値Cを更新する部分)、乱数回路初期設定手段が、初期設定において、数値更新手段が数値データを更新する条件であるクロック信号の入力回数を設定する(例えば、遊技制御用マイクロコンピュータ560がステップS156の処理を実行する)ように構成された遊技機。そのような構成によれば、乱数回路が生成する乱数のランダム性をより向上させることができる。   Clock signal generation means (for example, clock circuit 501) that generates a clock signal with a predetermined period and outputs it to a random number circuit is provided, and the numerical value update means updates the numerical data on condition that the clock signal has been input a predetermined number of times. (For example, when the clock signal output circuit 524 inputs the random number generating clock signal SI obtained by dividing the reference clock signal CLK by 16, the counter 521 updates the count value C). A gaming machine configured to set the number of clock signal inputs, which is a condition for the numerical value updating means to update the numerical data (for example, the game control microcomputer 560 executes the process of step S156). According to such a configuration, the randomness of the random number generated by the random number circuit can be further improved.

遊技制御用マイクロコンピュータが、乱数回路初期設定手段によって設定される数値データの所定の初期値を、マイコン識別情報を用いて演算する数値演算手段(例えば、遊技用マイクロコンピュータにおけるステップS154bの処理を実行する際に、遊技制御用マイクロコンピュータ560のIDナンバと所定値とを演算して(例えば、IDナンバに所定値を加算して)演算値を求める部分)を含み、乱数回路初期設定手段は、数値演算手段による演算によって算出された値にもとづいて初期値を設定する(例えば、遊技用マイクロコンピュータがステップS154bの処理を実行する際に、求めた演算値をカウント値の初期値として設定する)ように構成された遊技機。そのような構成によれば、乱数回路が生成する乱数のランダム性をより向上させることができる。   The game control microcomputer uses the microcomputer identification information to calculate a predetermined initial value of the numerical data set by the random number circuit initial setting means (for example, the processing of step S154b in the game microcomputer is executed) The game control microcomputer 560 calculates an ID number and a predetermined value (for example, a part for obtaining a calculated value by adding a predetermined value to the ID number), and the random number circuit initial setting means includes: An initial value is set based on the value calculated by the calculation by the numerical calculation means (for example, when the gaming microcomputer executes the process of step S154b, the calculated calculated value is set as the initial value of the count value). A gaming machine configured as follows. According to such a configuration, the randomness of the random number generated by the random number circuit can be further improved.

乱数回路初期設定手段が、初期設定において、数値更新手段によって所定の最終値まで数値データが更新されたときに、乱数回路初期設定手段が設定した所定の初期値を変更するか否かを設定し(例えば、遊技制御用マイクロコンピュータ560がステップS157の処理を実行する)、乱数回路が、数値更新手段によって所定の最終値まで数値データが更新されたきに、数値データが所定の最終値まで更新された旨を示す通知信号を出力する通知信号出力手段(例えば、カウンタ521の出力端子)と、通知信号が出力されたことにもとづいて、乱数回路初期設定手段によって初期値を変更する設定がされているときに、所定の初期値の値を変更する初期値変更手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS220〜S226の処理を実行する部分)とを含むように構成された遊技機。そのような構成によれば、乱数回路が生成する乱数のランダム性をより向上させることができる。   The random number circuit initial setting means sets whether or not to change the predetermined initial value set by the random number circuit initial setting means when the numerical data is updated to a predetermined final value by the numerical value updating means in the initial setting. (For example, the game control microcomputer 560 executes the process of step S157). When the random number circuit is updated to the predetermined final value by the numerical value updating means, the numerical data is updated to the predetermined final value. Based on the notification signal output means (for example, the output terminal of the counter 521) that outputs a notification signal indicating the fact that the notification has been output, the initial value is set to be changed by the random number circuit initial setting means. The initial value changing means for changing the value of the predetermined initial value (eg, step S2 in the game control microcomputer 560) It constructed gaming machine so as to include a portion) and executing the processing in 0~S226. According to such a configuration, the randomness of the random number generated by the random number circuit can be further improved.

遊技領域における入賞領域(例えば、始動入賞口14)に遊技媒体が入賞し、可変表示の実行条件が成立したことを検出して入賞検出信号(例えば、入賞検出信号SS)を出力する入賞検出手段(例えば、始動口スイッチ14a)を備え、乱数回路が、入賞検出手段からの入賞検出信号が入力されたことにもとづいて、数値更新手段が更新する数値データを乱数記憶手段に記憶させる指示をするためのラッチ信号を出力するラッチ信号出力手段(例えば、ラッチ信号生成回路533)を含み、ラッチ信号出力手段が、入賞検出手段から入賞検出信号が所定期間継続して入力されたことを条件(例えば、タイマ回路534が所定期間(例えば、3ms)を計測したときに、乱数値読取信号出力回路526から出力される乱数値読取信号を入力したこと)に、ラッチ信号を出力する(例えば、ラッチ信号生成回路533が、乱数値読取信号出力回路526から出力される乱数値読取信号を、反転回路532から出力される反転クロック信号SI2の立ち上がりエッヂに同期させて、ラッチ信号SLとして乱数値記憶回路531に出力する部分)ように構成された遊技機。そのような構成によれば、ノイズの発生を入力検出信号の入力と誤認識してラッチ信号を出力し、生成した乱数を記憶してしまうことを防止できる。また、無線信号を用いた取り込み信号を遊技機に対して発生させるなどの行為によってラッチ信号が出力され、不正なラッチ信号によって生成された乱数を記憶させられてしまう可能性を低減することができる。   A winning detection means for detecting that a game medium has won a winning area (for example, start winning opening 14) in the gaming area, and that a variable display execution condition is satisfied, and outputs a winning detection signal (for example, a winning detection signal SS). (For example, the start port switch 14a), and the random number circuit instructs the random number storage means to store numerical data to be updated by the numerical value updating means based on the input of the winning detection signal from the winning detection means. Including a latch signal output means (for example, a latch signal generation circuit 533) for outputting a latch signal for the condition, for example, on condition that the winning detection signal is continuously input from the winning detection means for a predetermined period (for example, When the timer circuit 534 measures a predetermined period (for example, 3 ms), the random value read signal output from the random value read signal output circuit 526 is input. (For example, the latch signal generation circuit 533 uses the random number read signal output from the random value read signal output circuit 526 as the rising edge of the inverted clock signal SI2 output from the inversion circuit 532). (The portion that is output to the random value storage circuit 531 as a latch signal SL). According to such a configuration, it is possible to prevent the occurrence of noise from being erroneously recognized as the input of the input detection signal, outputting the latch signal, and storing the generated random number. In addition, it is possible to reduce the possibility that a random number generated by an illegal latch signal is stored due to an output of a latch signal by an action such as generating a capture signal using a radio signal to the gaming machine. .

遊技領域における入賞領域に遊技媒体が入賞し、可変表示の実行条件が成立したことを検出して入賞検出信号を出力する入賞検出手段(例えば、始動口スイッチ14a)を備え、乱数回路が、入賞検出手段からの入賞検出信号が入力されたことにもとづいて、数値更新手段が更新する数値データを乱数記憶手段に記憶させる指示をするためのラッチ信号を出力するラッチ信号出力手段(例えば、ラッチ信号生成回路533)を含み、ラッチ信号出力手段が、入賞検出手段から入賞検出信号が所定期間継続して入力されたことを条件に、ラッチ信号を出力し(例えば、ラッチ信号生成回路533が、乱数値読取信号出力回路526から出力される乱数値読取信号を、反転回路532から出力される反転クロック信号SI2の立ち上がりエッヂに同期させて、ラッチ信号SLとして乱数値記憶回路531に出力する部分)、乱数読出手段が、割込処理実行手段によってタイマ割込処理が所定回数実行される間継続して、入賞検出手段から入賞検出信号が入力されたことを条件(例えば、遊技制御用マイクロコンピュータ560によるステップS322の処理の実行の際に、割込回数カウンタに示されるタイマ割込処理の実行回数が所定回数(例えば、3回)に達していること)に、乱数記憶手段が記憶する乱数値を読み出し(例えば、CPU56が、乱数回路503の乱数値記憶回路531から、乱数値として記憶されているランダムRの値を読み出し)、所定期間(例えば、3ms)は所定回数のタイマ割込処理が実行される期間(例えば、6ms)よりも短くなるように構成された遊技機。そのような構成によれば、乱数を読み出してから、乱数記憶手段に記憶される乱数の値が更新される前に再び乱数を読み出してしまうことを防止することができる。そのため、前回乱数記憶手段から読み出した乱数と同じ値の乱数を再び読み出してしまうことを防止することができる。乱数回路が生成する乱数のランダム性をより向上させることができる。   A winning detection means (for example, a start port switch 14a) for detecting that a game medium has won a winning area in the gaming area, and that a variable display execution condition is satisfied, and outputs a winning detection signal, is provided. Latch signal output means (for example, latch signal) for outputting a latch signal for instructing the random number storage means to store numerical data updated by the numerical value update means based on the winning detection signal input from the detection means Generation circuit 533), and the latch signal output means outputs a latch signal (for example, the latch signal generation circuit 533 generates a random signal) on condition that the winning detection signal is continuously input from the winning detection means for a predetermined period. The random number read signal output from the numerical read signal output circuit 526 is used as the rising edge of the inverted clock signal SI2 output from the inverter circuit 532. The portion that is output to the random value storage circuit 531 as the latch signal SL), the random number reading means continues while the timer interruption processing is executed a predetermined number of times by the interruption processing execution means, If the detection signal is input (for example, when the game control microcomputer 560 executes the process of step S322, the number of executions of the timer interrupt process indicated by the interrupt counter is a predetermined number (for example, 3 The random number stored in the random number storage means is read (for example, the CPU 56 reads the random R value stored as the random number value from the random number storage circuit 531 of the random number circuit 503). ), A predetermined period (for example, 3 ms) is configured to be shorter than a period (for example, 6 ms) in which a predetermined number of timer interruption processes are executed. Tricks machine. According to such a configuration, it is possible to prevent the random number from being read again after the random number is read and before the value of the random number stored in the random number storage unit is updated. Therefore, it is possible to prevent a random number having the same value as the random number read from the previous random number storage unit from being read again. The randomness of the random number generated by the random number circuit can be further improved.

乱数回路初期設定手段が、初期設定において、数値更新手段が更新する数値データの所定の初期値から所定の最終値までの値の並び順(例えば、カウンタ521が更新するカウント値Cの順列)を変更するか否かを設定する数値順設定手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS158の処理を実行する部分)を含み、乱数回路が、数値更新手段によって所定の最終値まで数値データが更新されたときに、数値データが所定の最終値まで更新された旨を示す通知信号を出力する通知信号出力手段(例えば、カウンタ521の出力端子)と、通知信号が出力されたことにもとづいて、乱数回路初期設定手段によって、数値データの所定の初期値から所定の最終値までの並び順を変更する設定がされているときに、数値更新手段が更新する数値データの所定の初期値から所定の最終値までの並び順を変更する数値順変更手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS24を実行する部分)とを含むように構成された遊技機。そのような構成によれば、乱数回路が生成する乱数のランダム性をより向上させることができる。   In the initial setting, the random number circuit initial setting means sets the order of the values from the predetermined initial value to the predetermined final value of the numerical data updated by the numerical value updating means (for example, the permutation of the count value C updated by the counter 521). Including a numerical order setting means for setting whether or not to change (for example, a part for executing the processing of step S158 in the game control microcomputer 560), and the random number circuit receives numerical data up to a predetermined final value by the numerical value updating means. Based on the notification signal output means (for example, the output terminal of the counter 521) that outputs a notification signal indicating that the numerical data has been updated to a predetermined final value and the notification signal is output. The random number circuit initial setting means is configured to change the order of arrangement of numerical data from a predetermined initial value to a predetermined final value. Numerical value order changing means for changing the order of numerical data updated by the value updating means from a predetermined initial value to a predetermined final value (for example, a part for executing step S24 in the game control microcomputer 560). A gaming machine configured to. According to such a configuration, the randomness of the random number generated by the random number circuit can be further improved.

遊技者が所定の遊技を行うことが可能な遊技機であって、遊技の進行を制御する遊技制御処理(例えば、タイマ割込処理におけるステップS21〜S33(ステップS29を除く)の処理)を実行する遊技制御用マイクロコンピュータ(例えば、遊技制御用マイクロコンピュータ560)を搭載した遊技制御基板(例えば、主基板31)と、遊技制御用マイクロコンピュータからのコマンドにもとづいて演出手段(例えば、可変表示装置9、スピーカ27、ランプ25等)を制御する演出制御用マイクロコンピュータ(例えば演出制御基板80に搭載されたマイクロコンピュータ)を搭載した演出制御基板(例えば演出制御基板80)とを備え、遊技制御基板には、遊技制御用マイクロコンピュータの認証用情報(例えば、遊技制御用マイクロコンピュータ560固有のIDナンバ)を照合して正否を判定する照合機(例えば照合機365)に対し当該認証用情報を出力するための照合端子(例えば照合端子364)が設けられ、遊技制御用マイクロコンピュータは、照合機に対して照合端子を介して認証用情報を送信する第1認証情報送信手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS81の処理を実行する部分)と、演出制御用マイクロコンピュータに対して認証用情報を送信する第2認証情報送信手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS82の処理を実行する部分)とを含み、演出制御用マイクロコンピュータは、認証用情報にもとづいて遊技制御基板を認証するか否か判定する認証判定手段(例えば、演出制御用マイクロコンピュータにおけるステップS929の処理を実行する部分)とを有し、演出制御用マイクロコンピュータは、認証用情報が受信されていないとき、あるいは認証判定手段が認証しないと判定したときは(例えば、ステップS929の処理による照合の結果が不一致であったとき)、遊技制御基板を認証しない旨の報知(例えばステップS930の処理で「照合NG」を表示)または動作停止状態とする制御(例えばステップS932)の少なくとも一方を行うことを特徴とする遊技機。そのような構成によれば、第2認証情報送信手段に認証用情報を送信させるようにすることによって、不正回路基板が設置されていることを容易に発見することができる。   A game machine in which a player can play a predetermined game, and executes a game control process for controlling the progress of the game (for example, the processes of steps S21 to S33 (excluding step S29) in the timer interrupt process) A game control board (for example, main board 31) on which a game control microcomputer (for example, game control microcomputer 560) is mounted, and directing means (for example, a variable display device) based on commands from the game control microcomputer 9, an effect control board (for example, effect control board 80) equipped with an effect control microcomputer (for example, a microcomputer mounted on the effect control board 80) for controlling the speaker 27, the lamp 25, etc., and a game control board Includes a game control microcomputer authentication information (for example, a game control microphone). A matching terminal (for example, a matching terminal 364) is provided for outputting the authentication information to a matching machine (for example, the matching machine 365) that checks the correctness by checking the ID number unique to the computer 560. The computer transmits first authentication information transmitting means (for example, a part for executing the processing of step S81 in the game control microcomputer 560) to the verification machine via the verification terminal, and the effect control micro Second authentication information transmitting means for transmitting authentication information to the computer (for example, the part of step S82 in the game control microcomputer 560). The effect control microcomputer includes the authentication information in the authentication information. Authentication determination means for determining whether or not to authenticate the game control board based on (for example, production system) When the authentication information is not received, or the authentication determining means determines that the authentication is not performed (for example, the part that executes the process of step S929 in the microcomputer for use) (for example, When the result of the collation by the process of step S929 is inconsistent), a notification that the game control board is not authenticated (for example, “verification NG” is displayed in the process of step S930) or a control to stop the operation (for example, step S932) A gaming machine that performs at least one of the following. According to such a configuration, it is possible to easily discover that the unauthorized circuit board is installed by causing the second authentication information transmitting means to transmit the authentication information.

第2認証情報送信手段が、遊技機への電力供給が開始されたときに、演出制御用マイクロコンピュータに対して認証用情報を送信し(例えばステップS82の処理を実行)、演出制御用マイクロコンピュータが、例えば認証情報を受信する認証用情報受信手段によって認証用情報が受信されるまで、遊技制御基板を認証しない旨の報知(例えばステップS701の処理で「照合NG」の表示を開始し、ステップS929の処理で「照合OK」と判定されたときに「照合NG」の表示を終了し「照合OK」の表示を行う。)または動作停止状態(例えばステップS932)とする制御の少なくとも一方を行うように構成された遊技機。そのような構成によれば、遊技機への電力供給が開始される毎に、不正回路基板が設置されているか否かを判定することができる。   The second authentication information transmitting means transmits the authentication information to the effect control microcomputer when the power supply to the gaming machine is started (for example, the processing of step S82 is executed), and the effect control microcomputer is performed. However, for example, until the authentication information is received by the authentication information receiving means that receives the authentication information, a notification that the game control board is not authenticated is displayed (for example, display of “verification NG” in the process of step S701 is started, When it is determined that “verification is OK” in the process of S929, the display of “verification NG” is ended and “verification OK” is displayed.) Or at least one of the control to make the operation stop state (for example, step S932) is performed. A gaming machine configured as follows. According to such a configuration, it is possible to determine whether or not an unauthorized circuit board is installed every time power supply to the gaming machine is started.

遊技球を用いて遊技者が所定の遊技を行うことが可能な遊技機であって、遊技球が所定の入賞領域(例えば始動入賞口14)に入賞したことを検出したときに入賞検出信号を出力する入賞検出手段(例えば始動口スイッチ14a)と、遊技の進行を制御する遊技制御処理(例えば、タイマ割込処理におけるステップS21〜S33(ステップS29を除く)の処理)を実行する遊技制御用マイクロコンピュータ(例えば、遊技制御用マイクロコンピュータ560)と、入賞検出手段からの入賞検出信号を入力する入力回路(例えば入力ドライバ回路58)とを搭載した遊技制御基板(例えば主基板31)とを備え、遊技制御基板には、遊技制御用マイクロコンピュータの認証用情報(例えば、遊技制御用マイクロコンピュータ560固有のIDナンバ)を照合して正否を判定する照合機(例えば照合機365)に対し当該認証用情報を出力するための照合端子(例えば照合端子364)が設けられ、遊技制御用マイクロコンピュータは、照合機に対して照合端子を介して認証用情報を送信する認証情報送信手段(例えば、遊技制御用マイクロコンピュータ560におけるステップS320の処理を実行する部分)を含み、認証情報送信手段は、入力回路に入賞検出手段からの入賞検出信号が入力されたことを条件(例えばステップS311のY)に、認証用情報を送信する(例えばステップS320)ことを特徴とする遊技機。そのような構成によれば、入賞検出手段に遊技媒体を検出させて認証情報送信手段に認証用情報を送信させるようにすることによって、不正回路基板が設置されていることを容易に発見することができる。   A gaming machine in which a player can perform a predetermined game using a game ball, and a winning detection signal is output when it is detected that the game ball has won a predetermined winning area (for example, a start winning port 14). The game winning control means (for example, the processing of steps S21 to S33 (excluding step S29) in the timer interrupt processing) for controlling the progress of the game and the winning detection means (for example, the start switch 14a) to be output. A game control board (for example, main board 31) on which a microcomputer (for example, a game control microcomputer 560) and an input circuit (for example, input driver circuit 58) for inputting a winning detection signal from the winning detection means are mounted. The game control board includes authentication information for the game control microcomputer (for example, I-specific information for the game control microcomputer 560). A verification terminal (for example, a verification terminal 364) for outputting the authentication information to a verification machine (for example, the verification machine 365) that verifies whether the game is correct or not. Authentication information transmitting means (for example, a part for executing the processing of step S320 in the game control microcomputer 560) for transmitting authentication information to the input circuit via the verification terminal. A gaming machine, wherein authentication information is transmitted (for example, step S320) on condition that a winning detection signal from the detection means is input (for example, Y in step S311). According to such a configuration, it is possible to easily discover that an unauthorized circuit board is installed by causing the winning detection means to detect the game medium and causing the authentication information transmitting means to transmit authentication information. Can do.

また、上述したように、主基板31は基板ボックスに収納されているが、なりすまし基板(不正基板)は、本来の主基板31と同等の機能を備えている上に、主基板31よりも小型に形成されている。従って、発見が難しい。また、不正に大当りを生じさせるような機能を備えていることもある。そして、本来主基板31に接続されるべき電気部品や他の基板が、なりすまし基板に接続され、主基板31に代わって遊技制御処理を実行する。すなわち、主基板31と電気部品や他の基板とを接続するケーブルのコネクタを外し、なりすまし基板側に接続する。そこで、上記のような対策に加えて、なりすまし基板の発見を容易にするために、以下のような対策を施すことが望ましい。   Further, as described above, the main board 31 is housed in the board box, but the impersonation board (illegal board) has the same function as the original main board 31 and is smaller than the main board 31. Is formed. Therefore, it is difficult to find. In addition, it may have a function that causes a big hit illegally. Then, electrical components and other boards that should originally be connected to the main board 31 are connected to the spoofing board, and the game control process is executed in place of the main board 31. That is, the connector of the cable connecting the main board 31 and the electrical component or another board is removed and connected to the spoofed board side. Therefore, in addition to the above measures, it is desirable to take the following measures in order to facilitate the discovery of the spoofed substrate.

(1)基板ボックス内にスピーカを搭載し、そのスピーカを演出に用いる。スピーカから出力される音が演出とずれている場合には、なりすまし基板が存在していると推定できる。
(2)主基板31にテスト用スイッチを搭載し、テスト用スイッチが押下された場合には、他の電気部品制御基板にテストコマンドを送信するように構成する。テスト用スイッチを押下してもテストコマンドが送信されない場合には、主基板31に代わってなりすまし基板が遊技制御処理を行っている可能性がある。
(3)主基板31において、コネクタ外れを検出して報知する機能を搭載する。報知がなされた場合には、主基板31に代わってなりすまし基板が遊技制御処理を行っている可能性がある。
(4)基板ボックス内に入賞に応じて報知を行う報知機器を搭載する。入賞が生じているにも関わらず報知がなされない場合には、主基板31に代わってなりすまし基板が遊技制御処理を行っている可能性がある。
(1) A speaker is mounted in the board box, and the speaker is used for production. If the sound output from the speaker deviates from the effect, it can be estimated that an impersonation board exists.
(2) A test switch is mounted on the main board 31, and when the test switch is pressed, a test command is transmitted to another electric component control board. If the test command is not transmitted even when the test switch is pressed, there is a possibility that the spoofing board is performing the game control process instead of the main board 31.
(3) The main board 31 is equipped with a function for detecting and notifying the connector disconnection. When the notification is made, there is a possibility that the spoofing board is performing the game control process in place of the main board 31.
(4) An informing device for informing in accordance with a prize is mounted in the board box. If the notification is not made despite the winning, the spoofing board may be performing the game control process in place of the main board 31.

(5)遊技制御用マイクロコンピュータ560の照合検査において、遊技制御用マイクロコンピュータ560に対する入力信号がないと照合NG信号を出力するように構成する。入賞を生じさせつつ照合検査を行ったときに照合NG信号が出力されたら、主基板31に代わってなりすまし基板が遊技制御処理を行っている可能性がある。 (5) In the verification test of the game control microcomputer 560, if there is no input signal to the game control microcomputer 560, a verification NG signal is output. If a verification NG signal is output when a verification test is performed while generating a prize, there is a possibility that the spoofing board is performing the game control process in place of the main board 31.

(6)主基板31と電気部品や他の基板とを接続するケーブル長をできるだけ短くしておく。ケーブル長に余裕が生じていたら、主基板31に代わってなりすまし基板が遊技制御処理を行っている可能性がある。
(7)主基板31と電気部品や他の基板とを接続するケーブルを、主基板31の裏面を通らないように設置する。ケーブルが主基板31の裏に隠れていたら、主基板31に代わってなりすまし基板が遊技制御処理を行っている可能性がある。
(8)主基板31と電気部品や他の基板とを接続するケーブルのコネクタを容易に外せない構造にする。コネクタに外れた痕跡が残っていれば、ケーブルが主基板31の裏に隠れていたら、主基板31に代わってなりすまし基板が遊技制御処理を行っている可能性がある。
(9)基板ボックスと取付面との間の隙間をなくす。基板ボックスが裏側に出ていたら、主基板31に代わってなりすまし基板が遊技制御処理を行っている可能性がある。
(10)遊技機裏面において各基板を覆うようなカバーを設け、カバーが容易に外れない構造にする。カバーが外れた痕跡があれば、主基板31に代わってなりすまし基板が遊技制御処理を行っている可能性がある。
(6) The length of the cable connecting the main board 31 and the electrical components or other boards is made as short as possible. If there is a margin in the cable length, the spoofing board may be performing the game control process instead of the main board 31.
(7) A cable that connects the main board 31 to the electrical component or another board is installed so as not to pass through the back surface of the main board 31. If the cable is hidden behind the main board 31, the spoofing board may be performing the game control process instead of the main board 31.
(8) Provide a structure in which the connector of the cable connecting the main board 31 and the electrical components or other boards cannot be easily removed. If traces left on the connector remain, if the cable is hidden behind the main board 31, the spoofing board may be performing the game control process instead of the main board 31.
(9) Eliminate the gap between the board box and the mounting surface. If the board box is on the back side, the spoofed board may be performing game control processing instead of the main board 31.
(10) Provide a cover that covers each board on the back of the gaming machine so that the cover cannot be easily removed. If there is a trace of the cover being removed, there is a possibility that the spoofing board is performing the game control process instead of the main board 31.

本発明は、パチンコ遊技機およびスロット機などの遊技機に適用可能であり、特に、不正回路基板が設置されていることを容易に発見するために有用である。   The present invention is applicable to gaming machines such as pachinko gaming machines and slot machines, and is particularly useful for easily discovering that an unauthorized circuit board is installed.

1 パチンコ遊技機
31 遊技制御基板(主基板)
56 CPU
61 状態報知LED
503a 12ビット乱数回路
503b 16ビット乱数回路
521 カウンタ
522 比較器
523 カウンタ値順列変更回路
528 セレクタ
531 乱数値記憶回路
532 反転回路
532A 遅延回路
533 ラッチ信号生成回路
560 遊技制御用マイクロコンピュータ
910 電源基板
1 Pachinko machine 31 Game control board (main board)
56 CPU
61 Status indicator LED
503a 12-bit random number circuit 503b 16-bit random number circuit 521 Counter 522 Comparator 523 Counter value permutation change circuit 528 Selector 531 Random value storage circuit 532 Inversion circuit 532A Delay circuit 533 Latch signal generation circuit 560 Game control microcomputer 910 Power supply board

Claims (1)

遊技媒体を用いて技を行い、特定条件が成立したときに遊技者にとって有利な特定遊技状態に移行させる遊技機であって、
遊技媒体を払い出すための払出制御処理を実行する払出制御用マイクロコンピュータを搭載した払出制御基板と、
前記払出制御用マイクロコンピュータにより制御され、態を認識可能な報知を行う状態報知手段とを備え、
前記払出制御用マイクロコンピュータは、前記状態報知手段の報知態様を制御する状態報知制御手段を含み、
前記状態報知制御手段は、態に応じて前記状態報知手段の報知態様を異ならせ、
前記払出制御基板は、開封不能封止された基板ボックス内に収納され、
前記状態報知手段は、前記基板ボックス内に収納される
ことを特徴とする遊技機。
It performed Yu technique using a game medium, a game machine to shift to an advantageous specific game state for the player when a specific condition is satisfied,
A payout control board equipped with a payout control microcomputer for executing payout control processing for paying out game media;
Wherein it is controlled by the payout controlling microcomputer, and a state informing means for performing recognizable notifying the status,
The payout control microcomputer includes state notification control means for controlling a notification mode of the state notification means,
Said state notification control means, in response to the state with different notification manner of the state informing unit,
The payout control board is housed in a board box that is sealed so that it cannot be opened.
The state notification means is housed in the board box.
JP2012139819A 2012-06-21 2012-06-21 Game machine Active JP5479537B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012139819A JP5479537B2 (en) 2012-06-21 2012-06-21 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012139819A JP5479537B2 (en) 2012-06-21 2012-06-21 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007001831A Division JP5230947B2 (en) 2007-01-09 2007-01-09 Game machine

Publications (2)

Publication Number Publication Date
JP2012176316A JP2012176316A (en) 2012-09-13
JP5479537B2 true JP5479537B2 (en) 2014-04-23

Family

ID=46978577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012139819A Active JP5479537B2 (en) 2012-06-21 2012-06-21 Game machine

Country Status (1)

Country Link
JP (1) JP5479537B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4923325B2 (en) * 2001-02-06 2012-04-25 株式会社三洋物産 Game machine
JP2005160505A (en) * 2003-11-28 2005-06-23 Sansei R & D:Kk Game machine
JP5230947B2 (en) * 2007-01-09 2013-07-10 株式会社三共 Game machine

Also Published As

Publication number Publication date
JP2012176316A (en) 2012-09-13

Similar Documents

Publication Publication Date Title
JP5230947B2 (en) Game machine
JP5042570B2 (en) Game machine
JP5160473B2 (en) Game machine
JP5220328B2 (en) Game machine
JP4762625B2 (en) Game machine
JP5479537B2 (en) Game machine
JP5160474B2 (en) Game machine
JP4818676B2 (en) Game machine
JP4818677B2 (en) Game machine
JP4777009B2 (en) Game machine
JP5322836B2 (en) Game machine
JP2010246651A (en) Game machine
JP5942020B2 (en) Game machine
JP4786263B2 (en) Game machine
JP2010246652A (en) Game machine
JP5890813B2 (en) Game machine
JP4777010B2 (en) Game machine
JP4786260B2 (en) Game machine
JP2019084001A (en) Gaming machine
JP2019084002A (en) Gaming machine
JP2007021043A (en) Game machine
JP6491140B2 (en) Game machine
JP5680594B2 (en) Game machine
JP5160475B2 (en) Game machine
JP5160482B2 (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140117

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140212

R150 Certificate of patent or registration of utility model

Ref document number: 5479537

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250