JP4776316B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP4776316B2
JP4776316B2 JP2005276711A JP2005276711A JP4776316B2 JP 4776316 B2 JP4776316 B2 JP 4776316B2 JP 2005276711 A JP2005276711 A JP 2005276711A JP 2005276711 A JP2005276711 A JP 2005276711A JP 4776316 B2 JP4776316 B2 JP 4776316B2
Authority
JP
Japan
Prior art keywords
random number
payout
value
circuit
game
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005276711A
Other languages
Japanese (ja)
Other versions
JP2007082843A (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 JP2005276711A priority Critical patent/JP4776316B2/en
Publication of JP2007082843A publication Critical patent/JP2007082843A/en
Application granted granted Critical
Publication of JP4776316B2 publication Critical patent/JP4776316B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

本発明は、パチンコ遊技機等の遊技機に係り、詳しくは、遊技媒体を遊技領域に打ち込むことにより遊技を行い、可変表示の実行条件が成立した後に可変表示の開始条件が成立したことに基づいて各々が識別可能な複数種類の識別情報を可変表示する可変表示装置を備え、遊技領域における入賞領域に遊技媒体が入賞したことに基づいて遊技媒体を払い出し、可変表示の表示結果が予め定められた特定表示結果となったときに、遊技者にとって有利な特定遊技状態に制御する遊技機に関する。   The present invention relates to a gaming machine such as a pachinko gaming machine, and more specifically, based on the fact that a game is played by driving game media into a gaming area, and a variable display start condition is satisfied after a variable display execution condition is satisfied. And a variable display device that variably displays a plurality of types of identification information that can be individually identified. The game medium is paid out based on the winning of the game medium in the winning area in the gaming area, and the display result of the variable display is predetermined. The present invention relates to a gaming machine that controls a specific gaming state advantageous to a player when a specific display result is obtained.

パチンコ遊技機等の遊技機として、遊技球などの遊技媒体を発射装置によって遊技領域に発射し、遊技領域に設けられている入賞口などの入賞領域に遊技媒体が入賞すると、所定個数の賞球を遊技者に払い出すものが数多く提供されている。さらに、液晶表示装置(以下LCD:Liquid Crystal Display)等の表示装置上に所定の識別情報(以下、表示図柄)を更新表示やスクロール表示させることで可変表示を行い、その表示結果により所定の遊技価値を付与するか否かを決定する、いわゆる可変表示ゲームによって遊技興趣を高めたものがある。   As a gaming machine such as a pachinko gaming machine, a game medium such as a game ball is launched into a game area by a launching device, and a predetermined number of prize balls are awarded when the game medium wins a prize area such as a prize opening provided in the game area. There are many things that can be paid out to players. Further, variable display is performed by updating or scrolling display of predetermined identification information (hereinafter referred to as display symbol) on a display device such as a liquid crystal display (hereinafter referred to as LCD: Liquid Crystal Display), and a predetermined game based on the display result. There is a game that enhances the game interest by a so-called variable display game that determines whether or not to add value.

可変表示ゲームの1つとして行われる特図ゲームは、始動入賞口を通過する遊技球の検出(可変表示の始動条件が成立したこと)に基づいて表示図柄の可変表示を行い、表示図柄の可変表示が完全に停止した際の停止図柄態様が予め定められた特定表示態様となっている場合を「大当り」とするゲームである。この特図ゲームにおいて「大当り」となると、大入賞口又はアタッカと呼ばれる特別電動役物を開放状態とし、遊技者に対して遊技球の入賞が極めて容易となる状態を一定時間継続的に提供する。こうした状態を「特定遊技状態」あるいは「大当り遊技状態」という。   A special figure game that is performed as one of the variable display games is a variable display of a display symbol based on the detection of a game ball that passes through the start winning opening (that the variable display start condition is satisfied). In the game, the “hit” is defined as a case where the stop symbol form when the display is completely stopped is a predetermined specific display form. In this special figure game, when a “hit” is made, a special electric accessory called a big prize opening or an attacker is opened, and a state in which a game ball can be won extremely easily is provided to a player for a certain period of time. . Such a state is referred to as a “specific game state” or a “hit game state”.

こうした遊技機における遊技の進行は、マイクロコンピュータ等からなる遊技制御手段によって制御される。そして、遊技機への電力供給が開始されたときに、乱数回路に「大当り」とするか否かを判定するために用いられる乱数値を更新させるための設定を行った後、定期的に発生するタイマ割込み処理の実行を許可するものが提案されている(例えば特許文献1)。
特開2005−103166号公報
The progress of the game in such a gaming machine is controlled by game control means including a microcomputer or the like. And when power supply to the gaming machine is started, it is generated periodically after setting to update the random number value used to determine whether or not to make the random number circuit “big hit” Has been proposed that permits execution of timer interrupt processing (for example, Patent Document 1).
Japanese Patent Laying-Open No. 2005-103166

また、遊技媒体が遊技領域に設けられた入賞領域に入賞したときに行われる賞球の払出は、一般的に入賞毎に区切って行われるが、最近では、賞球の払出を入賞毎に区切ることなく連続して行う遊技機も提案されている(例えば特許文献2)。
特開2001−212321号公報
In addition, the payout of prize balls performed when a game medium is won in a prize area provided in the game area is generally divided for each prize, but recently, the prize balls are divided for each prize. There has also been proposed a gaming machine that is continuously performed (for example, Patent Document 2).
JP 2001-212321 A

特許文献2に記載の遊技機は、遊技の進行を制御する遊技制御手段と、遊技媒体を払い出す払出手段と、払出手段の払出動作を制御する払出制御手段と、を備え、遊技制御手段は、遊技媒体が入賞領域に入賞したことに応答して、払出制御手段に賞球の個数を指定する制御コマンドを送信する。また、払出制御手段は、払出手段から払い出された遊技媒体を検出する遊技媒体検出手段と、受信した制御コマンドが示す賞球の個数の総和を記憶し、遊技媒体検出手段により遊技媒体が検出される毎に賞球の総数を1ずつ減算して行く総賞球個数カウンタと、を備え、遊技制御手段から送信された制御コマンドを受信する毎に制御コマンドの示す賞球の個数を総賞球個数カウンタの値に順次加算して行く。そして、払出制御手段は、総賞球個数カウンタの値が0になるまで賞球の払出を連続的に実行する。   The gaming machine described in Patent Document 2 includes game control means for controlling the progress of a game, payout means for paying out game media, and payout control means for controlling the payout operation of the payout means. In response to the winning of the game medium in the winning area, a control command for designating the number of prize balls is transmitted to the payout control means. The payout control means also stores a game medium detection means for detecting the game medium paid out from the payout means, and the sum of the number of prize balls indicated by the received control command. The game medium is detected by the game medium detection means. A total prize ball counter that decrements the total number of prize balls by 1 each time it is played, and each time a control command transmitted from the game control means is received, the number of prize balls indicated by the control command is total prize Sequentially add to the value of the ball counter. The payout control means continuously executes payout of prize balls until the value of the total prize ball number counter becomes zero.

特許文献1に記載の技術によると、遊技機に対する電力供給が開始されたときに設定される乱数の初期値(一巡目のスタート値)は、異なる遊技制御用マイクロコンピュータであっても異ならせることができない。そのため、電力供給開始時から所定時間が経過したタイミングで乱数値を取り込むための信号を発生させることで、不正に「大当り」が発生させられてしまうおそれがあるという問題が生じる。   According to the technique described in Patent Document 1, the initial value (start value of the first round) of a random number that is set when power supply to a gaming machine is started is different even in different game control microcomputers. I can't. Therefore, there is a problem in that a “big hit” may be illegally generated by generating a signal for taking in a random number value at a timing when a predetermined time has elapsed from the start of power supply.

また、特許文献2に記載の技術によると、総賞球個数カウンタの値を直接参照して賞球の払出を連続的に実行するため、最後の賞球が払い出されたが、未だ遊技媒体検出手段によりこの賞球が検出されていない場合には、総賞球個数カウンタの値が0とならない。この結果、払出制御手段は、最後の賞球が払い出されたにも関わらず、払出動作を継続してしまい、賞球を余計に払い出してしまうおそれがあった。   Further, according to the technique described in Patent Document 2, since the payout of the winning ball is continuously executed by directly referring to the value of the total winning ball number counter, the last winning ball has been paid out. When this prize ball is not detected by the detection means, the value of the total prize ball number counter does not become zero. As a result, the payout control means continues the payout operation even though the last prize ball has been paid out, and there is a possibility that extra prize balls will be paid out.

この発明は、上記実状に鑑みてなされたものであり、ランダム性の高い乱数の発生を可能にすることを課題とする。また、この発明は、遊技媒体の払出制御の確実性を向上させ、迅速な払出動作を実現することを課題とする。   This invention is made in view of the said actual condition, and makes it a subject to enable generation | occurrence | production of the random number with high randomness. Another object of the present invention is to improve the certainty of payout control of game media and realize a quick payout operation.

上記課題を解決するため、本願の請求項1に記載の遊技機は、遊技媒体(例えば遊技球など)を遊技領域に打ち込むことにより遊技を行い、可変表示の実行条件(例えば普通可変入賞球装置6に設けられた始動入賞口に遊技球が入賞すること)が成立した後に可変表示の開始条件(例えば特別図柄表示装置4による前回の特図ゲームや大当り遊技状態が終了すること)が成立したことに基づいて各々が識別可能な複数種類の識別情報(例えば特別図柄や飾り図柄など)を可変表示する可変表示装置(例えば特別図柄表示装置4や画像表示装置5など)を備え、前記遊技領域における入賞領域(例えば普通可変入賞球装置6に設けられた始動入賞口、特別可変入賞球装置7に設けられた大入賞口、入賞口42A〜42Dなど)に遊技媒体が入賞したことに基づいて遊技媒体を払い出し、前記可変表示の表示結果が予め定められた特定表示結果(例えば大当り図柄や大当り組合せの確定飾り図柄など)となったときに、遊技者にとって有利な特定遊技状態(例えば大当り遊技状態など)に制御する遊技機(例えばパチンコ遊技機1など)であって、遊技媒体を発射して前記遊技領域に打ち込むための発射手段(例えば発射装置19など)と、前記発射手段を駆動させるために遊技者が操作する発射操作手段(例えば操作ノブ30など)と、遊技者が前記発射操作手段に接触しているか否かを検出する接触検出手段(例えばタッチセンサ75など)と、前記入賞領域に遊技媒体が入賞したことを検出して入賞検出信号を出力する入賞検出手段(例えば始動口スイッチ22、カウントスイッチ24、入賞口スイッチ25A〜25Dなど)と、遊技媒体の払出動作を行う払出手段(例えば払出モータ51など)と、前記払出手段の払出動作により払い出された遊技媒体を検出する払出検出手段(例えば払出カウントスイッチ72など)と、前記払出手段の払出動作により払い出された遊技媒体が貯留される貯留部(例えば下皿33など)に所定量以上の遊技媒体が貯留されているか否かを検出する貯留状態検出手段(例えば満タンスイッチ26など)と、乱数を発生する乱数回路(例えば乱数回路103など)を内蔵し、前記入賞検出手段からの入賞検出信号が入力され、遊技の進行を制御する遊技制御処理(例えばタイマ割込みによるS71〜S85の処理など)を実行し、前記払出手段を制御させるための払出制御信号(例えば払出制御コマンドとなる制御信号など)を送信する遊技制御用マイクロコンピュータ(例えば遊技制御用マイクロコンピュータ100など)が搭載された遊技制御基板(例えば主基板11など)と、前記遊技制御用マイクロコンピュータによって送信された払出制御信号に応じて前記払出手段の払出動作を制御する払出制御処理(例えばタイマ割込みによるS531〜S538の処理など)を実行する払出制御用マイクロコンピュータ(例えば払出制御用マイクロコンピュータ150など)が搭載された払出制御基板(例えば払出制御基板15など)とを備え、前記乱数回路は、所定の信号の入力に基づいて数値データを更新可能な所定の範囲において所定の初期値から所定の最終値まで、予め定められた順序に従って循環的に更新する数値更新手段(例えば乱数生成回路173A、173Bなど)と、前記数値更新手段によって更新された数値データを乱数値として記憶する乱数値記憶手段(例えば乱数値レジスタ181A、181Bなど)とを含み、前記遊技制御用マイクロコンピュータは、前記入賞検出信号の入力に応じて、払い出すべき遊技媒体の数を示す払出数信号(例えば第1〜第3払出数指定コマンドなど)を前記払出制御信号として前記払出制御用マイクロコンピュータに送信する払出数信号送信手段(例えばCPU104がステップS408、S410、S411のいずれかの処理を実行した後に、ステップS81の払出用コマンド制御処理を実行する部分など)と、遊技機への電力供給が開始された後、前記乱数回路に前記乱数を発生させるための設定を行う乱数回路設定手段(例えばCPU104がステップS21の処理を実行した後、ステップS22にて12ビット乱数初期設定処理や16ビット乱数初期設定処理を実行する部分など)と、前記乱数回路設定手段による設定が行われた後、定期的に発生するタイマ割込み処理の実行を許可するタイマ割込み処理実行許可手段(例えばCPU104がステップS25の処理を実行する部分など)と、前記タイマ割込み処理の実行中、前記可変表示の実行条件が成立したか否かを判定する実行条件判定手段(例えばCPU104がステップS351の処理を実行する部分など)と、前記実行条件判定手段により前記可変表示の実行条件が成立したと判定されたことに基づいて、前記乱数値記憶手段により記憶された乱数値を読み出す乱数値読出手段(例えばCPU104がステップS352の入賞処理を実行する部分など)と、前記乱数値読出手段により読み出された乱数値が所定の判定値データと合致するか否かを判定することにより、前記可変表示における表示結果を特定表示結果とするか否かを決定する表示結果決定手段(例えばCPU104がステップS361の可変表示開始時処理を実行する部分など)とを含み、前記遊技制御基板は、前記接触検出手段により遊技者の接触が検出され、かつ、前記貯留状態検出手段により前記貯留部に所定量以上の遊技媒体が貯留されていないことが検出されたことを条件に、前記発射手段による遊技媒体の発射を許可する発射許可信号を出力する発射許可信号出力手段(例えばCPU104がステップS201〜S207の処理を実行する部分や、ステップS221〜S226の処理を実行する部分など)を含み、前記乱数回路設定手段は、前記遊技制御用マイクロコンピュータごとに付与された固有の識別情報に基づく値を、前記所定の初期値に設定する初期値設定手段(例えばCPU104がステップS104、S126の処理を実行する部分など)を含み、前記払出制御用マイクロコンピュータは、前記払出数信号送信手段によって送信された払出数信号を受信する払出数信号受信手段(例えばCPU214がステップS601〜S607の処理を実行する部分など)と、前記払出数信号受信手段が受信した払出数信号から特定される遊技媒体の個数を累積的に未払出数として記憶する未払出数記憶手段(例えば賞球未払出カウンタ、及びCPU214がステップS608の処理を実行する部分など)と、前記払出手段による払出動作の終了までを特定可能な払出動作量を記憶する払出動作量記憶手段(例えば払出モータ回転カウンタなど)と、前記払出検出手段により検出された遊技媒体の個数に応じて、前記未払出数記憶手段が記憶する前記未払出数を更新する未払出数更新手段(例えばCPU214がステップS805、S814の処理を実行する部分など)と、前記未払出数記憶手段に前記未払出数が記憶されたことに基づいて、前記払出動作量を前記払出動作量記憶手段に記憶させる払出動作量設定手段(例えばCPU214がステップS805、S806、S843、S844の処理を実行する部分など)と、前記払出手段による払出動作の進行に応じて前記払出動作量記憶手段に記憶されている前記払出動作量を更新する払出動作量更新手段(例えばCPU214がステップS829の処理を実行する部分など)と、前記払出動作量記憶手段に記憶されている前記払出動作量が所定の終了値データと合致するか否かを判定する払出動作量判定手段(例えばCPU214がステップS825の処理を実行する部分など)と、前記払出動作量設定手段が前記払出動作量を前記払出動作量記憶手段に記憶させたことに応じて前記払出手段による払出動作の実行を開始させた後、前記払出動作量判定手段によって前記所定の終了値データと合致する旨の判定がなされるまで、連続して前記払出手段に払出動作を実行させる連続払出制御手段(例えばCPU214がステップS825にてYesと判定するまで、ステップS828の処理を実行する部分など)とを含み、前記払出動作量設定手段は、前記払出手段による払出動作の実行中に前記未払出数記憶手段により記憶された前記未払出数が増加したか否かを判定する払出中増加判定手段(例えばCPU214がステップS842の処理を実行する部分など)と、前記払出中増加判定手段によって前記未払出数が増加した旨の判定がなされたときに、前記未払出数における増加分を特定する増加分特定手段(例えばCPU214がステップS843の処理を実行する部分など)と、前記増加分特定手段が特定した増加分に対応した払出動作量を、前記払出動作量記憶手段が記憶する前記払出動作量に加算する払出動作量加算手段(例えばCPU214がステップS844の処理を実行する部分など)とを含み、さらに、前記遊技制御用マイクロコンピュータは、前記数値更新手段が更新可能な数値データの前記所定の更新範囲が異なる乱数回路(例えば初期値設定回路172A、乱数生成回路173A、セレクタ174A、ARSC175A、乱数列変更回路176A、最大値比較回路177A、乱数値レジスタ181Aからなる12ビット乱数生成用の構成部分と、クロック信号出力回路171、初期値設定回路172A、乱数生成回路173B、セレクタ174B、BRSC175B、乱数列変更回路176B、最大値比較回路177B、反転回路178、タイマ回路179、ラッチ信号生成回路180、乱数値レジスタ181Bからなる16ビット乱数生成用の構成部分など)を複数内蔵し、前記乱数回路設定手段は、前記複数の乱数回路のうちから使用する乱数回路を設定する使用乱数回路設定手段(例えばKRSS1のビット4,3や、CPU104によるステップS21での読出値が「00」以外であるときに、ステップS22にて12ビット乱数初期設定処理と16ビット乱数初期設定処理の少なくともいずれか一方を実行する部分など)と、前記使用乱数回路設定手段により使用すると設定された乱数回路以外の乱数回路の機能を停止させる乱数回路停止手段(例えばKRSS1のビット4,3や、CPU104によるステップS21での読出値が「11」以外であるときに、ステップS22にて12ビット乱数初期設定処理と16乱数初期設定処理の少なくともいずれか一方を実行しない部分など)とを含む。 In order to solve the above-described problem, a gaming machine according to claim 1 of the present application performs a game by driving a game medium (for example, a game ball) into a game area, and executes a variable display execution condition (for example, a normal variable winning ball apparatus) (The game ball wins at the start winning opening provided in FIG. 6) is established, and then the variable display start condition (for example, the previous special figure game by the special symbol display device 4 or the big hit game state is finished) is established. And a variable display device (for example, the special symbol display device 4 or the image display device 5) that variably displays a plurality of types of identification information (for example, special symbols or decorative symbols) that can be identified based on The game media wins in the winning areas (for example, the start winning opening provided in the normal variable winning ball apparatus 6, the large winning opening provided in the special variable winning ball apparatus 7, the winning openings 42A to 42D, etc.). The game medium is paid out based on the fact that the specific display is advantageous to the player when the display result of the variable display becomes a predetermined specific display result (for example, a jackpot symbol or a combination of jackpot symbols) A gaming machine (for example, pachinko gaming machine 1 or the like) that is controlled to a state (for example, a big hit gaming state), and a launching means (for example, launching device 19 or the like) for launching a game medium and driving it into the game area; Shooting operation means (such as operation knob 30) operated by the player to drive the firing means, and contact detection means (such as touch sensor 75) that detects whether or not the player is in contact with the firing operation means. ), And a winning detection means (for example, start port switch 22, count switch) that detects that the game medium has won in the winning area and outputs a winning detection signal. 24, winning port switches 25A to 25D, etc.), payout means (for example, payout motor 51) for performing a game medium payout operation, and payout detection means for detecting the game media paid out by the payout operation of the payout means ( For example, a payout count switch 72) and whether or not a predetermined amount or more of game media is stored in a storage portion (for example, the lower plate 33) in which the game media paid out by the payout operation of the payout means is stored. A storage state detection means for detecting (for example, a full switch 26) and a random number circuit (for example, a random number circuit 103) for generating random numbers are incorporated, and a winning detection signal is input from the winning detection means, and the progress of the game is progressed. A game control process to be controlled (for example, the processing of S71 to S85 by timer interruption) is executed, and a payout control signal (for example, payout) is used to control the payout means. A game control board (for example, the main board 11) on which a game control microcomputer (for example, the game control microcomputer 100, etc.) for transmitting a control signal that becomes an output control command, and the game control microcomputer is used. A payout control microcomputer (e.g., payout control microcomputer 150) that executes a payout control process (e.g., the processing of S531 to S538 by timer interruption) in accordance with the sent payout control signal. ) Is mounted, and the random number circuit has a predetermined range from a predetermined initial value within a predetermined range in which numerical data can be updated based on an input of a predetermined signal. Numeric value that is updated cyclically according to a predetermined sequence up to the final value. Means (for example, random number generation circuits 173A, 173B, etc.) and random number storage means (for example, random value registers 181A, 181B, etc.) for storing numerical data updated by the numerical value updating means as random number values. In response to the input of the winning detection signal, the microcomputer for payout uses the payout number signal indicating the number of game media to be paid out (for example, first to third payout number designation commands) as the payout control signal for the payout control. The number-of-payout signal transmission means to be transmitted to the microcomputer (for example, the part that executes the payout command control process in step S81 after the CPU 104 executes one of the processes in steps S408, S410, and S411) and the gaming machine After power supply is started, the random number circuit is set to generate the random number. The circuit setting unit (for example, the part that executes the 12-bit random number initial setting process or the 16-bit random number initial setting process in step S22 after the CPU 104 executes the process of step S21) and the random number circuit setting unit perform setting. Timer interrupt process execution permitting means (for example, the part where the CPU 104 executes the process of step S25) that permits the execution of the timer interrupt process that occurs periodically, and the variable display during the execution of the timer interrupt process. It is determined that the execution condition for the variable display is satisfied by the execution condition determination means (for example, the part where the CPU 104 executes the process of step S351) and the execution condition determination means for determining whether or not the execution condition is satisfied. The random number value reading means for reading the random number value stored by the random number value storage means (for example, For example, the CPU 104 executes a winning process in step S352) and whether the random number value read by the random value reading means matches a predetermined determination value data. Display result determining means for determining whether or not the display result is a specific display result (for example, a portion where the CPU 104 executes the variable display start processing in step S361), and the game control board includes the contact detection means The game device launches the game medium on the condition that the player's contact is detected and the storage state detection device detects that a predetermined amount or more of game media is not stored in the storage unit. The emission permission signal output means for outputting the emission permission signal for allowing the operation (for example, the part where the CPU 104 executes the processing of steps S201 to S207) The random number circuit setting means sets a value based on unique identification information assigned to each game control microcomputer to the predetermined initial value. An initial value setting means (for example, a portion where the CPU 104 executes the processes of steps S104 and S126), and the payout control microcomputer receives the payout number signal transmitted by the payout number signal transmission means. The signal receiving means (for example, the part where the CPU 214 executes the processing of steps S601 to S607) and the number of game media specified from the payout number signal received by the payout number signal receiving means are cumulatively stored as the unpaid number. Unpaid number storage means (for example, a prize ball unpaid counter and the CPU 214 performs processing in step S608). ), A payout operation amount storage means (for example, a payout motor rotation counter) that stores a payout operation amount that can specify the end of the payout operation by the payout means, and the payout detection means An unpaid-out number updating means for updating the unpaid-out number stored in the unpaid-out number storage means according to the number of game media (for example, a portion where the CPU 214 executes the processes of steps S805 and S814), and the unpaid-out Based on the fact that the unpaid number is stored in the number storage means, the payout operation amount setting means (for example, the CPU 214 performs steps S805, S806, S843, and S844) that stores the payout operation amount in the payout operation amount storage means. Etc.) and the payout stored in the payout operation amount storage means according to the progress of the payout operation by the payout means The payout operation amount update means for updating the operation amount (for example, the part where the CPU 214 executes the process of step S829) and the payout operation amount stored in the payout operation amount storage means match the predetermined end value data. A payout operation amount determination means (for example, a portion where the CPU 214 executes the process of step S825) and the payout operation amount setting means store the payout operation amount in the payout operation amount storage means. In response to the payout means, the payout means continuously executes the payout operation until the payout operation amount determination means determines that the predetermined end value data is matched. Is a part for executing the process of step S828 until the CPU 214 determines Yes in step S825. The payout operation amount setting means determines whether or not the unpaid number stored in the unpaid number storage means has increased during execution of the payout operation by the payout means. An increase in the unpaid number is specified when it is determined that the unpaid number has increased by means (for example, the part where the CPU 214 executes the process of step S842) and the increase determination unit during payout The payout operation amount storage means stores the payout operation amount corresponding to the increase specified by the increase amount specifying means (for example, the part where the CPU 214 executes the process of step S843) and the increase specified by the increase amount specifying means. see containing payout operation amount adding means (e.g. CPU214 portions such as to perform the processing of step S844) to be added to the amount and, further, the game control microphone The computer uses a random number circuit (for example, an initial value setting circuit 172A, a random number generation circuit 173A, a selector 174A, an ARSC 175A, a random number sequence change circuit 176A, a maximum value comparison, and the predetermined update range of numerical data that can be updated by the numerical value updating means. A component for generating a 12-bit random number including a circuit 177A and a random value register 181A, a clock signal output circuit 171, an initial value setting circuit 172A, a random number generation circuit 173B, a selector 174B, a BRSC 175B, a random number sequence change circuit 176B, a maximum value comparison Circuit 177B, inversion circuit 178, timer circuit 179, latch signal generation circuit 180, random number value register 181B, and the like. Set the random number circuit to use from Use random number circuit setting means (for example, when bits 4 and 3 of KRSS1 and the read value in step S21 by the CPU 104 are other than “00”, 12-bit random number initial setting processing and 16-bit random number initial setting in step S22) A part for executing at least one of the processes) and random number circuit stop means for stopping the function of a random number circuit other than the set random number circuit when used by the used random number circuit setting means (for example, bits 4 and 3 of KRSS1) When the read value in step S21 by the CPU 104 is other than “11”, a portion in which at least one of the 12-bit random number initial setting process and the 16 random number initial setting process is not executed in step S22 is included.

本発明は、以下に示す効果を有する。   The present invention has the following effects.

請求項1に記載の遊技機によれば、遊技制御用マイクロコンピュータが、遊技機への電力供給が開始された後、タイマ割込み処理実行許可手段によってタイマ割込み処理の実行が許可される以前に、乱数回路に乱数を発生させるための設定を行う乱数回路設定手段を含むように構成されている。そして、乱数回路設定手段は、遊技制御用マイクロコンピュータごとに付与された固有の識別情報に基づく値を、数値更新手段により数値データを更新する際の初期値に設定する初期値設定手段を含むように構成されている。
これにより、電力供給が開始された後に更新が開始される乱数の初期値を遊技機ごとに異ならせることができ、可変表示における表示結果を特定表示結果とするか否かを決定するために用いられる乱数のランダム性を高めて、不正に特定表示結果が発生させられてしまうことを防止できる。
また、払出制御用マイクロコンピュータは、払出検出手段により検出された遊技媒体の個数に応じて未払出数記憶手段が記憶する未払出数を更新する未払出数更新手段や、未払出数記憶手段に未払出数が記憶されたことに基づいて払出動作量を払出動作量記憶手段に記憶させる払出動作量設定手段や、払出手段による払出動作の進行に応じて払出動作量記憶手段に記憶されている払出動作量を更新する払出動作量更新手段や、払出手段による払出動作を開始させた後、払出動作量判定手段によって払出動作量記憶手段に記憶されている払出動作量が所定の終了値データと合致する旨の判定がなされるまで、連続して払出動作を実行させる連続払出制御手段を含むように構成されている。そして、払出動作量設定手段は、払出手段による払出動作の実行中に未払出数記憶手段により記憶された未払出数が増加した旨の判定が払出中増加判定手段によってなされたときに、増加分特定手段によって特定された未払出数における増加分に対応した払出動作量を、払出動作量記憶手段が記憶する払出動作量に加算する払出動作量加算手段を含むように構成されている。
これにより、払出手段による払出動作が実行中であるときに、受信した払出数信号から特定される遊技媒体の個数に対応した払出動作量を払出動作量記憶手段に記憶されている払出動作量に加算できるように設定し、その払出動作量が所定の終了値データと合致するまで連続して払出動作を実行させるので、迅速な払出動作を実現することができる。
加えて、払出動作量記憶手段が記憶する払出動作量は払出手段による払出動作の進行に応じて更新され、払出動作量が所定の終了値データと合致したときには払出手段による払出動作が停止する。その一方で、未払出数記憶手段が記憶する未払出数は、払出手段による払出動作が終了した後に、払出検出手段により検出された遊技媒体の個数に基づいて更新されるので、遊技媒体が過剰に払い出されることを防止できる。さらに、未払出数記憶手段に未払出数が記憶されたことに基づいて払出動作量が払出動作量記憶手段に記憶されるので、未払出の遊技媒体があるときには払出手段による払出動作を再開させることができ、遊技媒体の払出数が不足することも防止できる。このようにして、払出制御の確実性を向上させることができる。
さらに、遊技制御用マイクロコンピュータが、数値更新手段により更新可能な数値データの所定の更新範囲が異なる乱数回路を複数内蔵するように構成されている。また、乱数回路設定手段は、複数の乱数回路のうちから使用する乱数回路を設定する使用乱数回路設定手段と、使用すると設定された乱数回路以外の乱数回路の機能を停止させる乱数回路停止手段とを含むように構成されている。
これにより、例えば可変表示の表示結果を特定表示結果とするか否かの判定などのように、各種の判定に応じて用いる乱数に対応した乱数回路の設定を行い、判定に要する処理負担を軽減することができる。
According to the gaming machine of the first aspect, after the gaming control microcomputer starts to supply power to the gaming machine and before the timer interruption processing execution permission means is permitted to execute the timer interruption processing, Random number circuit setting means for performing settings for generating random numbers in the random number circuit is included. The random number circuit setting means includes an initial value setting means for setting a value based on the unique identification information assigned to each game control microcomputer to an initial value when the numerical data is updated by the numerical value updating means. It is configured.
Thereby, the initial value of the random number that starts updating after the power supply is started can be made different for each gaming machine, and is used for determining whether or not the display result in the variable display is the specific display result. It is possible to increase the randomness of the generated random number and prevent the specific display result from being illegally generated.
Further, the payout control microcomputer is provided in an unpaid number update means for updating the unpaid number stored in the unpaid number storage means according to the number of game media detected by the payout detection means, and an unpaid number storage means. The payout operation amount setting means for storing the payout operation amount in the payout operation amount storage means based on the storage of the unpaid number, and the payout operation amount storage means according to the progress of the payout operation by the payout means. The payout operation amount update means for updating the payout operation amount, and after the payout operation by the payout means is started, the payout operation amount stored in the payout operation amount storage means by the payout operation amount determination means is the predetermined end value data. It is configured to include continuous payout control means for continuously executing a payout operation until it is determined that they match. Then, the payout operation amount setting means increases the increase amount when the payout increase determination means determines that the unpaid number stored in the unpaid number storage means has increased during execution of the payout operation by the payout means. The payout operation amount adding means for adding the payout operation amount corresponding to the increase in the unpaid number specified by the specifying means to the payout operation amount stored in the payout operation amount storage means is included.
Thus, when the payout operation by the payout means is being executed, the payout operation amount corresponding to the number of game media specified from the received payout number signal is set as the payout operation amount stored in the payout operation amount storage means. The payout operation is continuously executed until the payout operation amount matches the predetermined end value data, so that a quick payout operation can be realized.
In addition, the payout operation amount stored in the payout operation amount storage means is updated as the payout operation proceeds by the payout means, and the payout operation by the payout means stops when the payout operation amount matches the predetermined end value data. On the other hand, the number of unpaid numbers stored in the unpaid number storage means is updated based on the number of game media detected by the payout detecting means after the payout operation by the payout means is completed. Can be prevented from being paid out. Further, since the payout operation amount is stored in the payout operation amount storage means based on the fact that the unpaid number is stored in the unpaid number storage means, the payout operation by the payout means is resumed when there is an unpaid game medium. It is possible to prevent the game medium from being paid out in short. In this way, the certainty of the payout control can be improved.
Further, the game control microcomputer is configured to incorporate a plurality of random number circuits having different predetermined update ranges of numerical data that can be updated by the numerical value updating means. The random number circuit setting means includes: a random number circuit setting means for setting a random number circuit to be used from among a plurality of random number circuits; and a random number circuit stopping means for stopping a function of a random number circuit other than the set random number circuit when used. It is comprised so that it may contain.
This makes it possible to set the random number circuit corresponding to the random number used according to various determinations, such as determining whether or not the display result of variable display is the specific display result, and reduce the processing load required for the determination. can do.

以下、図面を参照しつつ、本発明の一実施形態を詳細に説明する。図1は、本実施例におけるパチンコ遊技機1の正面図であり、主要部材の配置レイアウトを示す。パチンコ遊技機(遊技機)1は、大別して、遊技盤面を構成する遊技盤(ゲージ盤)2と、遊技盤2を支持固定する遊技機用枠(台枠)3とから構成されている。遊技盤2にはガイドレールによって囲まれた、ほぼ円形状の遊技領域が形成されている。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a front view of a pachinko gaming machine 1 according to the present embodiment, and shows an arrangement layout of main members. The pachinko gaming machine (gaming machine) 1 is roughly composed of a gaming board (gauge board) 2 constituting a gaming board surface and a gaming machine frame (base frame) 3 for supporting and fixing the gaming board 2. The game board 2 is formed with a substantially circular game area surrounded by guide rails.

この遊技領域の中央位置上方には、識別可能な識別情報としての特別図柄を可変表示する特別図柄表示装置4が設けられている。特別図柄表示装置4の下方には、特別図柄とは異なる飾り図柄の可変表示や所定の演出表示となる画像表示などを行うことができる画像表示装置5が設けられている。画像表示装置5の下方には、始動入賞口を形成する普通可変入賞球装置6が配置されている。普通可変入賞球装置6の下方には、大入賞口を形成する特別可変入賞球装置7や、普通図柄表示器40が設けられている。   A special symbol display device 4 for variably displaying a special symbol as identifiable identification information is provided above the central position of the game area. Below the special symbol display device 4, there is provided an image display device 5 capable of performing variable display of decorative symbols different from the special symbol, image display for a predetermined effect display, and the like. Below the image display device 5, an ordinary variable winning ball device 6 that forms a start winning opening is arranged. Below the ordinary variable winning ball apparatus 6, a special variable winning ball apparatus 7 that forms a large winning opening and a normal symbol display 40 are provided.

特別図柄表示装置4は、例えば7セグメントやドットマトリクスのLED等から構成されている。特別図柄表示装置4は、普通可変入賞球装置6への遊技球の入賞により始動条件が成立したことに基づいて行われる可変表示ゲームとしての特図ゲームにおいて、例えば「0」〜「9」を示す数字等から構成され、各々が識別可能な複数種類の識別情報として機能する特別図柄を可変表示する。各特別図柄には、例えば各図柄が示す数字と同一の番号といった、各々の特別図柄に対応した図柄番号が付されている。なお、特別図柄表示装置4は、遊技者に特定の停止図柄を把握しづらくさせるために、例えば「00」〜「99」を示す数字など、より多種類の図柄を可変表示するように構成されていてもよい。   The special symbol display device 4 includes, for example, 7-segment or dot matrix LEDs. The special symbol display device 4 is, for example, “0” to “9” in a special game as a variable display game performed based on the fact that the start condition is established by winning a game ball in the normal variable winning ball device 6. The special symbol which consists of the number etc. which show and functions as several types of identification information which can identify each is variably displayed. Each special symbol is assigned a symbol number corresponding to each special symbol, for example, the same number as the number indicated by each symbol. The special symbol display device 4 is configured to variably display more types of symbols such as numbers indicating “00” to “99” in order to make it difficult for the player to grasp a specific stop symbol. It may be.

特別図柄表示装置4により行われる特図ゲームでは、特別図柄の変動を開始させた後、所定時間が経過すると、特別図柄の可変表示結果となる確定特別図柄を停止表示(導出表示)する。このとき、特別図柄表示装置4にて特図ゲームでの確定特別図柄として特定の特別図柄(大当り図柄)が停止表示されれば特定表示結果としての「大当り」となり、大当り図柄以外の特別図柄が停止表示されれば「ハズレ」となる。特図ゲームでの変動表示結果が「大当り」になると、特別可変入賞球装置7が備える開閉板を開閉させることによる特定遊技状態としての大当り遊技状態に制御される。この実施の形態におけるパチンコ遊技機1では、具体的な一例として、「7」を示す特別図柄を大当り図柄とし、それ以外の数値を示す特別図柄をハズレ図柄としている。   In the special symbol game performed by the special symbol display device 4, when a predetermined time elapses after the variation of the special symbol is started, the fixed special symbol that is a variable symbol display result is stopped (derived display). At this time, if a special symbol (big hit symbol) is stopped and displayed as a confirmed special symbol in the special symbol game on the special symbol display device 4, it becomes a “big hit” as a specific display result, and a special symbol other than the big bonus symbol is displayed. If it is stopped, it will be “lost”. When the variation display result in the special figure game is “big hit”, the big hit game state as the specific game state is controlled by opening and closing the opening / closing plate of the special variable winning ball apparatus 7. In the pachinko gaming machine 1 according to this embodiment, as a specific example, a special symbol indicating “7” is a jackpot symbol, and a special symbol indicating other numerical values is a lost symbol.

特別図柄表示装置4による特図ゲームでの確定特別図柄として大当り図柄である「7」を示す特別図柄が停止表示されたことに基づく大当り遊技状態では、特別可変入賞球装置7の開閉板により、所定の開放期間(例えば29秒)あるいは所定個数(例えば10個)の入賞球が発生するまでの期間において大入賞口が開放され、開放されている間は遊技盤2の表面を落下する遊技球が受け止められて大入賞口への入賞が可能となり、その後に大入賞口を閉鎖することで1回のラウンドが終了する。そして、この開閉サイクルとしてのラウンドを所定の上限回数(例えば15ラウンド)まで繰り返すことができる。   In the jackpot gaming state based on the special symbol indicating “7” which is a jackpot symbol as a confirmed special symbol in the special symbol game by the special symbol display device 4, by the opening / closing plate of the special variable winning ball device 7, A game ball that drops on the surface of the game board 2 during a predetermined opening period (for example, 29 seconds) or a period until a predetermined number (for example, 10) of winning balls are generated and the large winning opening is opened. Is received, and it becomes possible to enter the grand prize opening, and then the round is closed by closing the grand prize opening. The round as the open / close cycle can be repeated up to a predetermined upper limit number (for example, 15 rounds).

画像表示装置5は、例えばLCD等から構成され、多数の画素(ピクセル)を用いたドットマトリクス方式による画面表示を行うものであればよい。画像表示装置5の表示画面では、特別図柄表示装置4による特図ゲームにおける特別図柄の変動表示に対応して、例えば3つに分割された表示領域としての可変表示部にて、各々が識別可能な複数種類の飾り図柄を変動可能に表示する可変表示を行う。具体的な一例として、画像表示装置5には、「左」、「中」、「右」の可変表示部が配置され、各可変表示部にて飾り図柄が可変表示される。そして、特別図柄表示装置4における特別図柄の変動表示が開始されるときには、画像表示装置5における「左」、「中」、「右」の各可変表示部にて飾り図柄の変動表示(例えば切替表示やスクロール表示)を開始させ、その後、特別図柄表示装置4における特別図柄の変動表示結果として確定特別図柄が停止表示されるときに、画像表示装置5における「左」、「中」、「右」の各可変表示部にて確定飾り図柄となる飾り図柄が停止表示されることで、可変表示結果となる飾り図柄の組合せが停止表示(導出表示)される。   The image display device 5 is composed of, for example, an LCD or the like, and may be any device that performs screen display by a dot matrix method using a large number of pixels (pixels). On the display screen of the image display device 5, each can be identified by, for example, a variable display section as a display area divided into three corresponding to the special symbol variation display in the special symbol game by the special symbol display device 4. A variable display that displays various types of decorative designs in a variable manner is performed. As a specific example, variable display portions “left”, “middle”, and “right” are arranged on the image display device 5, and decorative symbols are variably displayed on the variable display portions. When the special symbol variation display on the special symbol display device 4 is started, the decorative symbol variation display (for example, switching) is displayed on each of the “left”, “middle”, and “right” variable display portions in the image display device 5. Display and scroll display) is started, and thereafter, when the confirmed special symbol is stopped and displayed as a special symbol variation display result in the special symbol display device 4, "left", "middle", "right" in the image display device 5 ”Is stopped and displayed on each variable display section, and the combination of decorative designs that are variable display results is stopped and displayed (derived display).

例えば、「左」、「中」、「右」の各可変表示部では、10種類の数字「0」〜「9」を示す図柄が飾り図柄として変動可能に表示される。各飾り図柄には、例えば各図柄が示す数字と同一の番号といった、各々の飾り図柄に対応した図柄番号が付されている。そして、「左」、「中」、「右」の各可変表示部では、飾り図柄の変動表示が開始されると、例えば図柄が示す番号の小さいものから大きいものへと切替表示やスクロール表示が行われ、「9」を示す飾り図柄が表示されると、次に「0」を示す飾り図柄が表示される。そして、特別図柄表示装置4における特図ゲームでの確定特別図柄が大当り図柄である場合すなわち大当り発生時には、「左」、「中」、「右」の可変表示部にて所定の組合せからなる確定飾り図柄が停止表示される。具体的には、特図ゲームでの確定特別図柄が大当り図柄としての「7」を示す特別図柄であるときには、「左」、「中」、「右」の可変表示部にて同一の飾り図柄が停止表示される。   For example, in each of the “left”, “middle”, and “right” variable display portions, symbols representing ten types of numbers “0” to “9” are displayed as decorative symbols in a variable manner. Each decorative symbol is given a symbol number corresponding to each decorative symbol, for example, the same number as the number indicated by each symbol. Then, in each of the “left”, “middle”, and “right” variable display sections, when the decorative symbol variation display is started, for example, the display from which the number indicated by the symbol is changed to the larger one is switched or scrolled. When the decorative symbol indicating “9” is displayed, the decorative symbol indicating “0” is displayed next. Then, when the special symbol determined in the special symbol game on the special symbol display device 4 is a big hit symbol, that is, when a big hit occurs, a fixed combination of “left”, “middle” and “right” is determined by a predetermined combination. The decorative design is stopped and displayed. Specifically, when the confirmed special symbol in the special symbol game is a special symbol indicating “7” as a jackpot symbol, the same decorative symbol is displayed on the “left”, “middle”, and “right” variable display portions. Is stopped.

この実施の形態では、図柄番号が奇数である飾り図柄「1」、「3」、「5」、「7」または「9」は確変大当り用の飾り図柄(確変図柄)として用いられ、図柄番号が偶数である飾り図柄「0」、「2」、「4」、「6」または「8」は通常大当り用の飾り図柄(通常図柄)として用いられる。飾り図柄の可変表示結果として「左」、「中」、「右」の可変表示部にて同一の確変図柄(確変大当り組合せの飾り図柄)が停止表示されたときには、確変大当りとなる。確変大当りとなったときには、その確変大当りに基づく大当り遊技状態が終了した後、所定回数(例えば100回)の特図ゲームが実行されるまで、あるいは特図ゲームにおける可変表示結果が大当りとなるまで、特別遊技状態の1つとして、継続して確率変動制御(確変制御)が行われる高確率状態(確率向上状態)となる。この高確率状態では、特図ゲームにおいて可変表示結果として大当り図柄が停止表示されて大当り遊技状態に制御される確率が、通常遊技状態時よりも向上する。なお、通常遊技状態とは、大当り遊技状態や特別遊技状態以外の遊技状態のことであり、特図ゲームにおける確定特別図柄として大当り図柄が停止表示されて大当りとなる確率が、電源投入直後などの初期設定状態と同一に制御されている。   In this embodiment, the decorative symbols “1”, “3”, “5”, “7” or “9” whose symbol numbers are odd numbers are used as decorative symbols (probable variable symbols) for probability variation big hits. The decorative pattern “0”, “2”, “4”, “6” or “8” in which is an even number is usually used as a decorative pattern for a big hit (normal pattern). When the same probability variation symbol (decorative symbol combination symbol ornament) is stopped and displayed on the variable display portion of “left”, “middle”, and “right” as a variable symbol display result, a probability variation big hit is obtained. When a promising big hit is reached, after the big hit gaming state based on the probable big hit is finished, until a special number of games (for example, 100 times) is executed or until a variable display result in the special figure game becomes a big hit As one of the special game states, a high probability state (probability improvement state) in which probability variation control (probability variation control) is continuously performed is obtained. In this high probability state, the probability that the jackpot symbol is stopped and displayed as a variable display result in the special figure game and is controlled to the jackpot gaming state is improved as compared with the normal gaming state. The normal gaming state is a gaming state other than the big hit gaming state or the special gaming state, and the probability that the big hit symbol is stopped and displayed as a confirmed special symbol in the special figure game, such as immediately after the power is turned on. It is controlled in the same way as the initial setting state.

また、飾り図柄における可変表示結果として「左」、「中」、「右」の可変表示部にて同一の通常図柄(通常大当り組合せの飾り図柄)が停止表示されたときには、通常大当りとなる。この通常大当りとなるときには、確変制御が行われないため、特図ゲームにおける可変表示結果が大当りとなって大当り遊技状態に制御される確率は向上しない。その一方で、通常大当りとなるときには、所定回数(例えば100回)の特図ゲームの実行が開始されるまで、または、大当りとなる特図ゲームの実行が開始されるまで、高確率状態とは異なる特別遊技状態の1つとして、継続して時間短縮制御(時短制御)が行われる時間短縮状態となるようにしてもよい。時短制御が行われる時間短縮状態では、各特図ゲームにて大当りとなって大当り遊技状態に制御される確率は通常遊技状態と同一であるが、特図ゲームにおいて特別図柄の可変表示が開始されてから表示結果となる確定特別図柄が停止表示されるまでの時間である可変表示時間は、通常遊技状態よりも短くなるように制御される。   When the same normal symbol (decorative symbol of a combination of normal jackpots) is stopped and displayed on the variable display portions “left”, “middle”, and “right” as a variable display result of the decorative symbols, a normal big hit is obtained. Since the probability change control is not performed when the normal big hit, the probability that the variable display result in the special figure game becomes a big hit and is controlled to the big hit gaming state is not improved. On the other hand, when a big hit is made, a high probability state is until a predetermined number of times (for example, 100 times) the execution of a special figure game is started, or until the execution of a special figure game that is a big hit is started. As one of the different special game states, a time reduction state in which time reduction control (time reduction control) is continuously performed may be set. In the time reduction state where the time reduction control is performed, the probability of being a big hit in each special figure game and being controlled to the big hit gaming state is the same as the normal gaming state, but the special symbol variable display is started in the special figure game. The variable display time, which is the time from when the displayed special symbol as the display result is stopped and displayed, is controlled to be shorter than the normal gaming state.

「左」、「中」、「右」の各可変表示部では、アルファベットを示す複数種類の図柄が飾り図柄として変動可能に表示されてもよいし、所定のモチーフに関連する複数種類のキャラクタ図柄を飾り図柄として可変表示してもよい。また、画像表示装置5では、特別図柄表示装置4による特図ゲームの実行中において、様々な演出態様のいずれかによる演出表示を行うことができる。なお、可変表示部は固定的な領域であってもよいが、遊技進行中に、画像表示装置5の表示領域において移動したり大きさが変化してもよい。   In each of the “left”, “middle”, and “right” variable display portions, a plurality of types of symbols representing alphabets may be displayed as decorative designs in a variable manner, or a plurality of types of character designs related to a predetermined motif May be variably displayed as a decorative pattern. Further, in the image display device 5, during the execution of the special symbol game by the special symbol display device 4, it is possible to perform effect display in any of various effect modes. The variable display unit may be a fixed area, but may move or change in size in the display area of the image display device 5 while the game is in progress.

加えて、画像表示装置5には、普通可変入賞球装置6に設けられた始動入賞口へ入った有効入賞球数すなわち保留記憶数(始動入賞記憶数)を表示する特別図柄始動記憶表示エリアが設けられていてもよい。特別図柄始動記憶表示エリアでは、保留記憶数が所定の上限値(例えば「4」)未満のときの有効始動入賞に対応して、入賞表示が行われる。具体的な一例として、通常青色であった表示を赤色表示に変化させる。この場合、飾り図柄の表示エリア(可変表示部)と特別図柄始動記憶表示エリアとを区分けして設けることで、飾り図柄の可変表示中も保留記憶数が表示された状態とすることができる。なお、特別図柄始動記憶表示エリアを飾り図柄の表示エリアの一部に設けるようにしてもよい。この場合には、飾り図柄の可変表示中には保留記憶数の表示を中断するようにすればよい。このように画像表示装置5に設けられた特別図柄始動記憶表示エリアにて保留記憶数を表示する場合には、演出制御基板12に搭載された演出制御用マイクロコンピュータ120(図5)によって、特別図柄始動記憶表示エリアにおける保留記憶数の表示動作が制御されることになる。他方、特別図柄始動記憶表示エリアにて保留記憶数を表示する場合でも、主基板11に搭載された遊技制御用マイクロコンピュータ100(図5)の制御により保留記憶数が表示される表示器(特別図柄始動記憶表示器)が、画像表示装置5とは別個に設けられるとよい。   In addition, the image display device 5 has a special symbol start memory display area for displaying the number of effective winning balls, that is, the number of reserved memories (starting winning memory number) entered into the starting winning opening provided in the normal variable winning ball device 6. It may be provided. In the special symbol start memory display area, a winning display is performed in response to an effective start winning when the number of reserved memories is less than a predetermined upper limit (for example, “4”). As a specific example, the display that is normally blue is changed to a red display. In this case, by providing the decorative symbol display area (variable display portion) and the special symbol start memory display area separately, the number of reserved memories can be displayed during variable display of decorative symbols. The special symbol start memory display area may be provided in a part of the decorative symbol display area. In this case, the display of the reserved storage number may be interrupted during the variable display of the decorative design. In this way, when the number of reserved memories is displayed in the special symbol start memory display area provided in the image display device 5, the special effect control microcomputer 120 (FIG. 5) mounted on the effect control board 12 performs a special operation. The display operation of the number of reserved memories in the symbol start memory display area is controlled. On the other hand, even when the reserved memory number is displayed in the special symbol start memory display area, an indicator (special memory) that displays the reserved memory number under the control of the game control microcomputer 100 (FIG. 5) mounted on the main board 11. A symbol start memory display) may be provided separately from the image display device 5.

普通可変入賞球装置6は、ソレノイド81(図5)によって垂直(通常開放)位置と傾動(拡大開放)位置との間で可動制御される一対の可動翼片を有するチューリップ型役物(普通電動役物)を備えて構成されている。普通可変入賞球装置6は、普通図柄表示器40による普通図柄の可変表示(普通図ゲーム)で表示結果が「当り」となったときに、電動チューリップの可動翼片を所定時間が経過するまで傾動位置に制御することで、可動翼片を垂直位置としたときに比べて遊技球が始動入賞口に入賞しやすくなる。普通可変入賞球装置6に入賞した遊技球は、始動口スイッチ22(図2、図5)によって検出される。始動口スイッチ22によって遊技球が検出されたことに基づいて、所定個数(例えば4個)の賞球の払い出しが行われる。   The normal variable winning ball apparatus 6 is a tulip-type accessory (ordinary electric motor) having a pair of movable wing pieces that are movable and controlled between a vertical (normally open) position and a tilt (enlarged open) position by a solenoid 81 (FIG. 5). (Community). The normal variable winning ball apparatus 6 is configured to wait until a predetermined time elapses when the display result is “winning” in the variable symbol display (ordinary symbol game) on the normal symbol indicator 40. By controlling to the tilting position, it becomes easier for the game ball to win the start winning opening than when the movable wing piece is set to the vertical position. The game ball that has won the normal variable winning ball device 6 is detected by the start port switch 22 (FIGS. 2 and 5). Based on the detection of the game ball by the start port switch 22, a predetermined number (for example, four) of prize balls are paid out.

特別可変入賞球装置7は、ソレノイド82(図5)によって大入賞口を開成及び閉成制御する開閉板を備えて構成されている。この開閉板は、特別図柄表示装置4による特図ゲームでの変動表示結果などに基づいて大当り遊技状態となった場合に、所定期間あるいは所定個数の入賞球が発生するまでの期間において、遊技者にとって有利な第1の状態としてソレノイド82により大入賞口を開放した状態となった後に、閉鎖する。他方、例えばパチンコ遊技機1の電源投入後に大当り遊技状態が発生する以前までのような通常時には、遊技者にとって不利な第2の状態としてソレノイド82により大入賞口を閉鎖した状態にある。特別可変入賞球装置7にて開閉板が大入賞口を開放しているときに大入賞口に遊技球が入賞した場合には、カウントスイッチ24(図2、図5)によって当該遊技球が検出されたことに基づいて、所定個数(例えば15個)の賞球の払い出しが行われる。なお、大入賞口に入賞して遊技盤2の背面に導かれた遊技球のうち一方の領域(V入賞領域;特別領域)に入ったものはV入賞スイッチ23(図5)で検出された後にカウントスイッチ24で検出され、他方の領域に入った遊技球は、そのままカウントスイッチ24で検出されるようにしてもよい。この場合、遊技盤2の背面には、大入賞口内の経路を切り替えるためのソレノイドが設けられていてもよい。あるいは、V入賞領域を設けずに、大当り遊技状態における最終ラウンド以外のラウンドでは、常に次のラウンドへと移行できるようにしてもよい。   The special variable winning ball apparatus 7 includes an opening / closing plate that opens and closes a large winning opening by a solenoid 82 (FIG. 5). This opening / closing plate is used for a predetermined period or a period until a predetermined number of winning balls are generated when a big hit gaming state is obtained based on a variation display result in a special symbol game by the special symbol display device 4. As a first state which is advantageous to the user, the large winning a prize opening is opened by the solenoid 82 and then closed. On the other hand, at a normal time, for example, before the big hit gaming state occurs after the power of the pachinko gaming machine 1 is turned on, the prize winning opening is closed by the solenoid 82 as a second state disadvantageous to the player. When the special variable winning ball device 7 opens the big winning opening when the open / close plate opens, the gaming ball is detected by the count switch 24 (FIGS. 2 and 5). Based on this, a predetermined number (for example, 15) of prize balls are paid out. Of the game balls that were won at the grand prize opening and led to the back of the game board 2, those that entered one area (V winning area; special area) were detected by the V winning switch 23 (FIG. 5). A game ball that is later detected by the count switch 24 and enters the other area may be detected by the count switch 24 as it is. In this case, a solenoid for switching the route in the special winning opening may be provided on the back of the game board 2. Alternatively, it may be possible to always shift to the next round in a round other than the final round in the big hit gaming state without providing the V winning area.

また、遊技盤2には、複数の入賞口42A〜42Dが設けられ、遊技球の入賞口42A〜42Dへの入賞は、それぞれ入賞口スイッチ25A〜25D(図2、図5)によって検出される。各入賞口42A〜42Dによって遊技球が検出されたことに基づいて、所定個数(例えば7個)の賞球の払い出しが行われる。すなわち、各入賞口42A〜42Dは、遊技媒体としての遊技球を受け入れて入賞を許容する領域として遊技盤2に設けられる入賞領域を構成している。また、普通可変入賞球装置6に形成された始動入賞口や、特別可変入賞球装置7に形成された大入賞口も、遊技媒体としての遊技球を受け入れて入賞を許容する入賞領域を構成する。   The game board 2 is provided with a plurality of winning holes 42A to 42D, and winning of game balls to the winning holes 42A to 42D is detected by winning hole switches 25A to 25D (FIGS. 2 and 5), respectively. . Based on the detection of the game balls by the winning ports 42A to 42D, a predetermined number (for example, 7) of payout balls is paid out. That is, each of the winning openings 42A to 42D constitutes a winning area provided in the game board 2 as an area for accepting a game ball as a game medium and allowing winning. In addition, the start winning opening formed in the normal variable winning ball apparatus 6 and the large winning opening formed in the special variable winning ball apparatus 7 constitute a winning area that accepts a game ball as a game medium and allows winning. .

図2は、遊技盤2に設けられている入賞口などの入賞領域に入賞した遊技球を検出するための各スイッチの関係を示す説明図である。図2に示すように、始動口スイッチ22、カウントスイッチ24、及び入賞口スイッチ25A〜25Dのそれぞれで検出された遊技球は、例えば遊技盤2の背面において、全入賞球検出スイッチ29の設置位置に誘導され、全入賞球検出スイッチ29によって検出される。ここで、全入賞球検出スイッチ29の設置位置は、例えば各入賞球通路が合流する位置、またはその位置の下流側となる所定位置であればよい。   FIG. 2 is an explanatory diagram showing the relationship of each switch for detecting a game ball won in a winning area such as a winning opening provided on the game board 2. As shown in FIG. 2, the game balls detected by the start port switch 22, the count switch 24, and the winning port switches 25 </ b> A to 25 </ b> D are, for example, the installation positions of the all winning ball detection switches 29 on the back of the game board 2. Is detected by the all winning ball detection switch 29. Here, the installation position of the all winning ball detection switch 29 may be, for example, a position where the winning ball paths meet or a predetermined position downstream of the position.

普通図柄表示器40は、例えばLED等から構成され、遊技領域に設けられた通過ゲート41を通過した遊技球がゲートスイッチ21(図5)によって検出されたことを始動条件とする普通図ゲームにおいて、点灯、点滅、発色などが制御される。この普通図ゲームにおいて所定の当りパターンで表示が行われると、普通図ゲームにおける表示結果が「当り」となる。ここで、前述の高確率状態と時間短縮状態では、普通図柄表示器40による普通図ゲームにおける可変表示時間が通常遊技状態のときよりも短くなるとともに、各回の普通図ゲームで表示結果が当り図柄となる確率が向上するようにしてもよい。このときにはさらに、普通可変入賞球装置6における可動翼片の傾動時間が通常遊技状態のときよりも長くなるとともに、その傾動回数が通常遊技状態のときよりも増加するようにしてもよい。このように、高確率状態や時間短縮状態では、大当り遊技状態とは異なる遊技者にとって有利な遊技状態となる。ここで、時間短縮状態では、確変制御が行われず、大当り遊技状態となる確率は通常遊技状態のときと同じであるので、高確率状態の方が時間短縮状態よりも遊技者にとって有利である。   The normal symbol display 40 is composed of, for example, an LED or the like, and in a normal diagram game in which a game ball that has passed through a passing gate 41 provided in the gaming area is detected by the gate switch 21 (FIG. 5). , Lighting, blinking, coloring, etc. are controlled. When display is performed with a predetermined hit pattern in the normal game, the display result in the normal game is “win”. Here, in the above-described high probability state and time reduction state, the variable display time in the normal game by the normal symbol display device 40 is shorter than that in the normal game state, and the display result is the winning symbol in each normal game. May be improved. At this time, the tilting time of the movable wing piece in the normal variable winning ball apparatus 6 may be longer than that in the normal gaming state, and the number of tilts may be increased compared to that in the normal gaming state. As described above, in the high probability state and the time reduction state, the gaming state is advantageous to the player, which is different from the big hit gaming state. Here, in the time shortening state, probability variation control is not performed, and the probability of being in the big hit gaming state is the same as in the normal gaming state, so the high probability state is more advantageous for the player than the time shortening state.

また、遊技盤2の遊技領域には、上記した構成以外にも、装飾ランプを内蔵した風車やアウト口等が設けられている。遊技領域外側の左右上部には、効果音を発する2つのスピーカ8L、8Rが設けられている。遊技領域の外周には、点灯又は点滅する遊技効果ランプ9が設けられている。加えて、遊技領域の外側左部には、賞球残数があるときに点灯する賞球ランプが設けられていてもよい。遊技領域の外側上部には、補給球が切れたときに点灯する球切れランプが設けられていてもよい。   In addition to the above-described configuration, the game area of the game board 2 is provided with a windmill having a decorative lamp, an outlet, and the like. Two speakers 8L and 8R that emit sound effects are provided on the left and right upper portions outside the game area. A game effect lamp 9 that is lit or blinks is provided on the outer periphery of the game area. In addition, a prize ball lamp that is turned on when there is a remaining number of prize balls may be provided on the outer left side of the game area. An out-of-ball lamp may be provided on the outer top of the game area, which is turned on when the supply ball is cut.

遊技領域の下部表面には、打球供給皿としての上皿32が設けられている。上皿32に貯留された遊技球は、球送り装置62(図5)が駆動することにより、発射装置19(図5)に供給される。上皿32の下部には、上皿32に収容しきれない遊技球を貯留する余剰球受皿としての下皿33が設けられている。遊技領域外側の右下位置には、発射装置19を駆動して遊技球を遊技領域に向けて発射させるために遊技者等が操作する操作ノブ30が設けられている。操作ノブ30には、静電容量の変化に基づいて遊技者が操作ノブ30に触れていることを検出するためのタッチセンサ75(図5)や、所定間隔での遊技球発射を単発打ち制御に切り替える単発発射スイッチ(図示せず)などが設けられている。単発打ち制御は、単発発射スイッチからの信号の入力タイミングに応じて遊技球を発射する制御である。   An upper plate 32 as a hitting ball supply tray is provided on the lower surface of the game area. The game balls stored in the upper plate 32 are supplied to the launching device 19 (FIG. 5) when the ball feeding device 62 (FIG. 5) is driven. Below the upper plate 32, a lower plate 33 is provided as an extra ball receiving tray for storing game balls that cannot be accommodated in the upper plate 32. An operation knob 30 that is operated by a player or the like to drive the launching device 19 to launch a game ball toward the game area is provided at the lower right position outside the game area. The operation knob 30 includes a touch sensor 75 (FIG. 5) for detecting that the player is touching the operation knob 30 based on a change in capacitance, and single-shot control for playing a game ball at a predetermined interval. A single firing switch (not shown) for switching to is provided. Single shot control is control which discharges a game ball according to the input timing of the signal from a single shot switch.

さらに、図1には、パチンコ遊技機1に隣接して設置され、プリペイドカードが挿入されることによって球貸しを可能にするプリペイドカードユニット(以下、カードユニットという)70も示されている。カードユニット70には、使用可能状態であるか否かを示す使用可表示ランプ、カードユニット70がいずれの側のパチンコ遊技機1に対応しているのかを示す連結台方向表示器、カードユニット70内にカードが投入されていることを示すカード投入表示ランプ、記録媒体としてのカードが挿入されるカード挿入口、及びカード挿入口の裏面に設けられているカードリーダライタの機構を点検する場合にカードユニット70を開放するためのカードユニット錠などが設けられている。   Further, FIG. 1 also shows a prepaid card unit (hereinafter referred to as a card unit) 70 that is installed adjacent to the pachinko gaming machine 1 and enables lending of a ball by inserting a prepaid card. The card unit 70 includes a usable indicator lamp that indicates whether or not the card unit 70 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 70, and the card unit 70. 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 or the like for opening the card unit 70 is provided.

図3は、パチンコ遊技機1の背面図である。パチンコ遊技機1の背面上方には、補給球としての遊技球を貯留する貯留タンク65と、貯留タンク65に貯留された遊技球を払出ケース17へ誘導する誘導レール66とが設けられている。誘導レール66の下流は、カーブ樋を介して2列の球通路80a、80bに連通されている。球通路80a、80bの上流には、球切れスイッチ27が設置されている。一例として、球切れスイッチ27は、球通路80a、80bに27〜28個の遊技球が存在することを検出できるような位置に係止片によって係止され、球貸しの一単位の最大払出個数(例えば100円分に相当する25個)以上が確保されていることを確認可能にする。   FIG. 3 is a rear view of the pachinko gaming machine 1. Above the back of the pachinko gaming machine 1, there are provided a storage tank 65 for storing game balls as supply balls and a guide rail 66 for guiding the game balls stored in the storage tank 65 to the payout case 17. The downstream side of the guide rail 66 communicates with the two rows of ball passages 80a and 80b via a curve rod. A ball break switch 27 is installed upstream of the ball passages 80a and 80b. As an example, the ball break switch 27 is locked by a locking piece at a position where it can be detected that 27 to 28 game balls are present in the ball passages 80a and 80b, and the maximum payout number of one unit of ball lending It is possible to confirm that at least (for example, 25 pieces corresponding to 100 yen) is secured.

球通路80a、80bの下部には、払出ケース17が固定されている。また、操作ノブ30の背面付近には、遊技球を発射して遊技領域に打ち込むための発射装置19が設けられている。さらに、パチンコ遊技機1の背面下方にて打球供給皿としての上皿32と余剰球受皿としての下皿33との間を連通する余剰球通路の側壁には、満タンスイッチ26が設けられている。例えば、賞球または球貸し要求に基づく遊技球が多数払い出されて上皿32が満杯になり、遊技球が連絡口に到達した後、さらに遊技球が払い出されると、遊技球は余剰球通路を経て下皿33へと導かれる。なおも遊技球が払い出されて下皿33に所定量以上の遊技球が貯留されたときには、例えば所定の感知レバーが満タンスイッチ26を押圧してオンする。   A payout case 17 is fixed to the lower part of the ball passages 80a and 80b. A launching device 19 for launching a game ball and driving it into the game area is provided near the back of the operation knob 30. In addition, a full tank switch 26 is provided on the side wall of the surplus ball passage that communicates between the upper plate 32 as the hitting ball supply tray and the lower plate 33 as the surplus ball receiving tray below the back of the pachinko gaming machine 1. Yes. For example, when a large number of game balls based on award balls or ball lending requests are paid out and the upper plate 32 is full and the game balls reach the contact port, and the game balls are further paid out, After that, it is guided to the lower plate 33. When a game ball is paid out and a predetermined amount or more of game balls are stored in the lower plate 33, for example, a predetermined sensing lever is pressed by pressing the full switch 26.

図4は、払出ケース17で覆われた払出装置の構成例を示す分解斜視図である。この例では、払出ケース17としての3つのケース91、92、93の内部に払出装置が形成されている。ケース91、92の上部には、それぞれ球通路80a、80bと連通する穴85、86が設けられており、遊技球は、この穴85、86から払出装置内へと流入する。払出装置は、賞球または球貸し要求に基づく遊技球を払い出すものであり、駆動源となる払出モータ51を含む。払出モータ51は、例えばステッピングモータを用いて構成されていればよい。この場合、払出モータ51は、その1相目から4相目(φ1〜φ4)が払出制御基板15から送られる払出駆動信号に従って励磁されることにより、回転動作が制御される。   FIG. 4 is an exploded perspective view showing a configuration example of the dispensing device covered with the dispensing case 17. In this example, a payout device is formed inside three cases 91, 92, 93 as the payout case 17. The upper portions of the cases 91 and 92 are provided with holes 85 and 86 communicating with the ball passages 80a and 80b, respectively, and the game balls flow into the payout device through the holes 85 and 86. The payout device pays out a winning ball or a game ball based on a ball rental request, and includes a payout motor 51 serving as a drive source. The payout motor 51 may be configured using, for example, a stepping motor. In this case, the rotation operation of the dispensing motor 51 is controlled by exciting the first to fourth phases (φ1 to φ4) according to the dispensing drive signal sent from the dispensing control board 15.

払出モータ51の回転軸にはギア87が嵌合されており、払出ケース17の内部には、ギア87と噛み合うギア88と、ギア88の中心軸に嵌合して球載置部を有するカム89と、カム89の下方における球通路90とが設けられている。例えば、穴85、86から流入した遊技球は、カム89の球載置部が1/3回転するごとに1個ずつ交互に球通路90を経て落下する。さらに、払出ケース17の内部には、例えば発光素子(LED)と受光素子とから構成される払出モータ位置センサ71が設けられている。払出モータ位置センサ71は、払出モータ51の回転位置を検出するためのセンサであり、払出モータ51における遊技球の詰まり、いわゆる球噛みを検出するために用いられる。払出ケース17の内部に設けられた球通路90の下部には、例えば近接スイッチによる払出カウントスイッチ72が配置されている。払出カウントスイッチ72は、球通路90から1個の遊技球が落下するごとにオンして、所定の検出信号を払出制御基板15に送信する。   A gear 87 is fitted on the rotation shaft of the payout motor 51, and a gear 88 that meshes with the gear 87 and a cam that has a ball placement portion that fits on the central axis of the gear 88 inside the payout case 17. 89 and a ball passage 90 below the cam 89 are provided. For example, the game balls that have flowed in through the holes 85 and 86 fall one by one alternately through the ball passage 90 every time the ball mounting portion of the cam 89 rotates 1/3. Further, inside the dispensing case 17, a dispensing motor position sensor 71 composed of, for example, a light emitting element (LED) and a light receiving element is provided. The payout motor position sensor 71 is a sensor for detecting the rotational position of the payout motor 51, and is used for detecting the clogging of game balls in the payout motor 51, so-called ball biting. At the lower part of the ball passage 90 provided inside the payout case 17, for example, a payout count switch 72 by a proximity switch is arranged. The payout count switch 72 is turned on every time one game ball falls from the ball passage 90 and transmits a predetermined detection signal to the payout control board 15.

また、パチンコ遊技機1の背面には、電源基板10、主基板11、演出制御基板12、音声制御基板13、ランプ制御基板14、払出制御基板15、情報端子基板16といった主要基板が、それぞれ適所に配置されている。図5は、電源基板10、主基板11、演出制御基板12、音声制御基板13、ランプ制御基板14といった、各種の制御基板を中心としたシステム構成例を示すブロック図である。主基板11と演出制御基板12との間には、主基板11から演出制御基板12へと伝送される各種の制御信号を中継するための中継基板18なども設けられている。また、払出制御基板15とカードユニット70との間には、インタフェース基板20が介在している。なお、音声制御基板13やランプ制御基板14は、演出制御基板12とは別個の独立した基板によって構成されてもよいし、演出制御基板12にまとめられて1つの基板として構成されてもよい。   In addition, on the back of the pachinko gaming machine 1, main boards such as a power supply board 10, a main board 11, an effect control board 12, an audio control board 13, a lamp control board 14, a payout control board 15, and an information terminal board 16 are provided at appropriate positions. Is arranged. FIG. 5 is a block diagram illustrating a system configuration example centering on various control boards such as the power supply board 10, the main board 11, the effect control board 12, the sound control board 13, and the lamp control board 14. Between the main board 11 and the effect control board 12, a relay board 18 for relaying various control signals transmitted from the main board 11 to the effect control board 12 is also provided. The interface board 20 is interposed between the payout control board 15 and the card unit 70. Note that the audio control board 13 and the lamp control board 14 may be configured as independent boards that are separate from the effect control board 12, or may be integrated into the effect control board 12 and configured as one board.

電源基板10は、主基板11、演出制御基板12、払出制御基板15等の各制御基板と独立して設置され、パチンコ遊技機1内の各制御基板及び機構部品が使用する電圧を生成する。例えば、電源基板10では、図6に示すように、AC24V、VLP(直流+24V)、VSL(直流+30V)、VDD(直流+12V)、VCC(直流+5V)及びVBB(直流+5V)を生成する。電源基板10は、例えば図6に示すように、変圧回路301と、直流電圧生成回路302と、電源監視回路303と、クリアスイッチ304とを備えて構成されている。また、電源基板10には、バックアップ電源となるコンデンサが設けられていてもよい。このコンデンサは、例えばVBB(直流+5V)の電源ラインから充電されるものであればよい。加えて、電源基板10には、パチンコ遊技機1内の各制御基板及び機構部品への電力供給を実行または遮断するための電源スイッチが設けられていてもよい。あるいは、電源スイッチは、パチンコ遊技機1において、電源基板10の外に設けられていてもよい。   The power supply board 10 is installed independently of each control board such as the main board 11, the effect control board 12, and the payout control board 15, and generates a voltage used by each control board and mechanism component in the pachinko gaming machine 1. For example, as shown in FIG. 6, the power supply substrate 10 generates AC 24 V, VLP (DC +24 V), VSL (DC +30 V), VDD (DC +12 V), VCC (DC +5 V), and VBB (DC +5 V). For example, as illustrated in FIG. 6, the power supply substrate 10 includes a transformer circuit 301, a DC voltage generation circuit 302, a power supply monitoring circuit 303, and a clear switch 304. Further, the power supply substrate 10 may be provided with a capacitor serving as a backup power supply. For example, this capacitor may be charged from a power supply line of VBB (DC + 5V). In addition, the power supply board 10 may be provided with a power switch for executing or shutting off power supply to each control board and the mechanical components in the pachinko gaming machine 1. Alternatively, the power switch may be provided outside the power supply board 10 in the pachinko gaming machine 1.

変圧回路301は、例えば商用電源が入力側(一次側)に印加されるトランスや、トランスの入力側に設けられた過電圧保護回路としてのバリスタなどを備えて構成されたものであればよい。ここで、変圧回路301が備えるトランスは、商用電源と電源基板10の内部とを電気的に絶縁するためのものであればよい。変圧回路301は、その出力電圧として、AC24Vを生成する。直流電圧生成回路302は、例えばAC24Vを整流素子で整流昇圧することによってVSLを生成する整流平滑回路を含んでいる。VSLは、ソレノイド駆動用の電源電圧として用いられる。また、直流電圧生成回路302は、例えばAC24Vを整流素子で整流することによってVLPを生成する整流回路を含んでいる。VLPは、ランプ点灯用の電源電圧として用いられる。加えて、直流電圧生成回路302は、例えばVSLに基づいてVDDおよびVCCを生成するDC−DCコンバータを含んでいる。このDC−DCコンバータは、例えば1つまたは複数のスイッチングレギュレータと、そのスイッチングレギュレータの入力側に接続された比較的大容量のコンデンサとを含み、外部からパチンコ遊技機1への電力供給が停止したときに、VSL、VDD、VBB等の直流電圧が比較的緩やかに低下するように構成されたものであればよい。VDDは、例えばゲートスイッチ21、始動口スイッチ22、V入賞スイッチ23、カウントスイッチ24、入賞口スイッチ25A〜25D、全入賞球検出スイッチ29といった、遊技媒体を検出する各種スイッチに供給され、これらのスイッチを作動させるために用いられる。   For example, the transformer circuit 301 may be configured to include a transformer to which commercial power is applied to the input side (primary side), a varistor as an overvoltage protection circuit provided on the input side of the transformer, and the like. Here, the transformer included in the transformer circuit 301 may be any one that electrically insulates the commercial power supply from the power supply substrate 10. The transformer circuit 301 generates AC 24V as its output voltage. The DC voltage generation circuit 302 includes, for example, a rectifying / smoothing circuit that generates VSL by rectifying and boosting AC 24V with a rectifying element. VSL is used as a power supply voltage for driving the solenoid. Further, the DC voltage generation circuit 302 includes a rectifier circuit that generates VLP by rectifying AC24V with a rectifier, for example. VLP is used as a power supply voltage for lighting the lamp. In addition, the DC voltage generation circuit 302 includes a DC-DC converter that generates VDD and VCC based on, for example, VSL. This DC-DC converter includes, for example, one or a plurality of switching regulators and a relatively large capacitor connected to the input side of the switching regulator, and power supply to the pachinko gaming machine 1 from the outside is stopped. Sometimes, it may be configured so that the direct current voltage such as VSL, VDD, VBB, etc. decreases relatively slowly. The VDD is supplied to various switches for detecting game media such as the gate switch 21, the start port switch 22, the V winning switch 23, the count switch 24, the winning port switches 25A to 25D, and the all winning ball detection switch 29. Used to activate the switch.

図6に示すように、変圧回路301から出力されたAC24Vは、例えば所定のコネクタや電源ラインを介して、払出制御基板15へと伝送される。VLPは、例えば所定のコネクタや電源ラインを介して、ランプ制御基板14へと伝送される。VSLは、例えば所定のコネクタや電源ラインを介して、主基板11、ランプ制御基板14、払出制御基板15、発射装置19、球送り装置62へと伝送される。発射装置19に伝送されたVSLは、発射用ソレノイド19C(図8)を駆動(励磁)して遊技球を発射するための駆動電圧(ソレノイド駆動電圧)として用いられる。球送り装置62に伝送されたVSLは、球送り用のソレノイドまたはモータを駆動して遊技球を発射装置19に供給するための駆動電圧として用いられる。なお、発射装置19や球送り装置62に供給される駆動電圧は、電源基板10から直接に供給されてもよいし、主基板11などの他の制御基板を介して供給されてもよい。VDD及びVCCは、例えば所定のコネクタや電源ラインを介して、主基板11、ランプ制御基板14及び払出制御基板15へと伝送される。VBBは、例えば所定のコネクタや電源ラインを介して、主基板11及び払出制御基板15へと伝送される。なお、演出制御基板12及び音声制御基板13には、ランプ制御基板14を経由して各電圧が供給されればよい。   As shown in FIG. 6, AC24V output from the transformer circuit 301 is transmitted to the payout control board 15 via a predetermined connector or a power supply line, for example. The VLP is transmitted to the lamp control board 14 via, for example, a predetermined connector or a power supply line. The VSL is transmitted to the main board 11, the lamp control board 14, the payout control board 15, the launching device 19, and the ball feeding device 62 through, for example, a predetermined connector and a power supply line. The VSL transmitted to the launcher 19 is used as a drive voltage (solenoid drive voltage) for driving (exciting) the launch solenoid 19C (FIG. 8) to launch a game ball. The VSL transmitted to the ball feeding device 62 is used as a driving voltage for driving a ball feeding solenoid or motor to supply a game ball to the launching device 19. The drive voltage supplied to the launching device 19 and the ball feeding device 62 may be supplied directly from the power supply board 10 or may be supplied via another control board such as the main board 11. VDD and VCC are transmitted to the main board 11, the lamp control board 14, and the payout control board 15 through, for example, predetermined connectors and power supply lines. The VBB is transmitted to the main board 11 and the payout control board 15 through, for example, a predetermined connector and a power supply line. Note that each voltage may be supplied to the effect control board 12 and the sound control board 13 via the lamp control board 14.

電源監視回路303は、例えば停電監視リセットモジュールICを用いて構成され、電源断信号を出力する電源監視手段を実現する回路である。例えば、電源監視回路303は、パチンコ遊技機1において用いられる所定電圧(一例としてVLP)が所定値(一例として+20V)以下になった期間が、予め決められている時間(一例として56ミリ秒)以上継続したときに、電源断信号を出力する。あるいは、電源監視回路303は、パチンコ遊技機1において用いられる所定電圧が所定値以下になると、直ちに電源断信号を出力するようにしてもよい。電源断信号は、例えばローレベルとなることでオン状態となる電気信号であればよい。電源監視回路303から出力された電源断信号は、例えば電源基板10に搭載された出力ドライバ回路によって増幅された後に所定のコネクタや信号ラインを介して、払出制御基板15へと伝送される。なお、外部からパチンコ遊技機1に供給される電力の供給停止を検出するための条件としては、パチンコ遊技機1において用いられる所定電圧が所定値以下になったことに限られず、外部からの電力が途絶えたことを検出できる任意の条件であればよい。例えば、AC24V等の交流波そのものを監視して交流波が途絶えたことを検出条件としてもよいし、交流波をデジタル化した信号を監視して、デジタル信号が平坦になったことをもって交流波が途絶えたことの検出条件としてもよい。   The power monitoring circuit 303 is configured by using, for example, a power failure monitoring reset module IC, and is a circuit that realizes a power monitoring unit that outputs a power interruption signal. For example, the power supply monitoring circuit 303 has a predetermined period of time (56 milliseconds as an example) during which the predetermined voltage (VLP as an example) used in the pachinko gaming machine 1 is equal to or lower than a predetermined value (+20 V as an example). When the above is continued, a power-off signal is output. Alternatively, the power monitoring circuit 303 may output a power-off signal immediately when a predetermined voltage used in the pachinko gaming machine 1 becomes a predetermined value or less. The power-off signal may be an electrical signal that is turned on when it is at a low level, for example. The power-off signal output from the power supply monitoring circuit 303 is amplified by, for example, an output driver circuit mounted on the power supply board 10 and then transmitted to the payout control board 15 via a predetermined connector or signal line. The condition for detecting the stop of the supply of power supplied to the pachinko gaming machine 1 from the outside is not limited to the fact that the predetermined voltage used in the pachinko gaming machine 1 has become a predetermined value or less. Any condition can be used as long as it is possible to detect that has stopped. For example, the AC wave such as AC 24V may be monitored to detect that the AC wave has stopped, or the signal obtained by digitizing the AC wave may be monitored and the AC signal may be generated when the digital signal becomes flat. It may be a detection condition for the interruption.

また、電源監視回路303は、例えば所定電圧(一例としてVCC)が所定値(一例として+5V強)以下になったときに、リセット信号を出力してもよい。リセット信号は、例えばローレベルとなることでオン状態となる電気信号であればよい。電源監視回路303から出力されたリセット信号は、例えば電源基板10に搭載された出力ドライバ回路によって増幅された後に所定のコネクタや信号ラインを介して、主基板11、ランプ制御基板14及び払出制御基板15へと伝送される。なお、演出制御基板12には、ランプ制御基板14を経由してリセット信号が伝送されればよい。さらに、リセット信号を出力する回路は、電源監視回路303とは別個に設けられたウォッチドッグタイマ内蔵IC、あるいはシステムリセットICなどを用いて構成されてもよい。   The power supply monitoring circuit 303 may output a reset signal when, for example, a predetermined voltage (VCC as an example) becomes equal to or lower than a predetermined value (as an example, + 5V or more). The reset signal may be an electric signal that is turned on when the reset signal becomes low level, for example. The reset signal output from the power supply monitoring circuit 303 is amplified by, for example, an output driver circuit mounted on the power supply board 10, and then, via a predetermined connector or signal line, the main board 11, the lamp control board 14, and the payout control board. 15 is transmitted. It should be noted that a reset signal may be transmitted to the effect control board 12 via the lamp control board 14. Furthermore, the circuit that outputs the reset signal may be configured by using a watchdog timer built-in IC provided separately from the power supply monitoring circuit 303, a system reset IC, or the like.

パチンコ遊技機1への電力供給が停止するときには、電源監視回路303が、電源断信号を出力(ローレベルに設定)してから所定期間が経過したときに、リセット信号を出力(ローレベルに設定)する。ここでの所定期間は、例えば主基板11に搭載されている遊技制御用マイクロコンピュータ100及び払出制御基板15に搭載されている払出制御用マイクロコンピュータ150が、所定の電源断処理(例えば図27に示すステップS27のメイン側電源断処理や、図46に示すステップS522の払出側電源断処理など)を実行するのに十分な時間であればよい。すなわち、電源監視回路303は、停電信号としての電源断信号を出力した後、遊技制御用マイクロコンピュータ100及び払出制御用マイクロコンピュータ150が所定の電源断処理を実行完了してから、動作停止信号としてのリセット信号を出力(ローレベルに設定)する。電源監視回路303から出力されたリセット信号を受信した遊技制御用マイクロコンピュータ100や払出制御用マイクロコンピュータ150は、動作停止状態となり、各種の制御処理の実行が停止される。また、パチンコ遊技機1への電力供給が開始され、例えば所定電圧(一例としてVCC)が所定値(一例として+5V強)を超えたときに、電源監視回路303はリセット信号の出力を停止(ハイレベルに設定)する。   When the power supply to the pachinko gaming machine 1 is stopped, the power monitoring circuit 303 outputs a reset signal (sets to a low level) when a predetermined period has elapsed since the power-off circuit 303 outputs a power-off signal (sets to a low level) ) In this predetermined period, for example, the game control microcomputer 100 mounted on the main board 11 and the payout control microcomputer 150 mounted on the payout control board 15 may perform predetermined power-off processing (for example, in FIG. 27). It is sufficient that the time is sufficient to execute the main-side power-off process in step S27 shown, the payout-side power-off process in step S522 shown in FIG. That is, the power monitoring circuit 303 outputs a power-off signal as a power failure signal, and after the game control microcomputer 100 and the payout control microcomputer 150 complete execution of predetermined power-off processing, Output the reset signal (set to low level). The game control microcomputer 100 and the payout control microcomputer 150 that have received the reset signal output from the power supply monitoring circuit 303 are in an operation stop state, and execution of various control processes is stopped. In addition, when the power supply to the pachinko gaming machine 1 is started, for example, when a predetermined voltage (VCC as an example) exceeds a predetermined value (+5 V as an example), the power monitoring circuit 303 stops outputting the reset signal (high Level).

図7は、パチンコ遊技機1への電力供給が開始されたとき、及び電力供給が停止するときにおける、AC24V、VLP、VCC、リセット信号及び電源断信号の状態を、模式的に示すタイミング図である。図7に示すように、パチンコ遊技機1への電力供給が開始されたときに、VLP及びVCCは徐々に規定値(直流+24V及び直流+5V)に達する。このとき、VLPが第1の所定値を超えると、電源監視回路303は電源断信号の出力を停止(ハイレベルに設定)してオフ状態とする。また、VCCが第2の所定値を超えると、電源監視回路303はリセット信号の出力を停止(ハイレベルに設定)してオフ状態とする。他方、パチンコ遊技機1への電力供給が停止するときに、VLP及びVCCは徐々に低下する。このとき、VLPが第1の所定値にまで低下すると、電源監視回路303は電源断信号をオン状態として出力(ローレベルに設定)する。また、VCCが第2の所定値にまで低下すると、電源監視回路303はリセット信号をオン状態として出力(ローレベルに設定)する。   FIG. 7 is a timing diagram schematically showing the states of the AC 24 V, VLP, VCC, reset signal, and power-off signal when power supply to the pachinko gaming machine 1 is started and when power supply is stopped. is there. As shown in FIG. 7, when power supply to the pachinko gaming machine 1 is started, VLP and VCC gradually reach specified values (DC + 24V and DC + 5V). At this time, when VLP exceeds the first predetermined value, the power supply monitoring circuit 303 stops outputting the power-off signal (sets it to a high level) and turns it off. When VCC exceeds the second predetermined value, the power supply monitoring circuit 303 stops outputting the reset signal (sets it to a high level) and turns it off. On the other hand, when the power supply to the pachinko gaming machine 1 is stopped, VLP and VCC gradually decrease. At this time, when the VLP drops to the first predetermined value, the power supply monitoring circuit 303 outputs the power-off signal as an ON state (sets it to a low level). When VCC decreases to the second predetermined value, the power supply monitoring circuit 303 outputs the reset signal as an ON state (sets it to a low level).

図6に示す電源基板10が備えるクリアスイッチ304は、例えば押しボタン構造を有し、押下などの操作に応じてクリア信号を出力する。クリア信号は、例えばローレベルとなることでオン状態となる電気信号であればよい。クリアスイッチ304から出力されたクリア信号は、例えば所定のコネクタや信号ラインを介して、主基板11へと伝送される。また、クリアスイッチ304の操作がなされていないときには、クリア信号の出力を停止(ハイレベルに設定)する。なお、クリアスイッチ304は、押しボタン構造以外の他の構成(例えばスライドスイッチ構造やトグルスイッチ構造、ダイヤルスイッチ構造など)であってもよい。   The clear switch 304 included in the power supply substrate 10 illustrated in FIG. 6 has a push button structure, for example, and outputs a clear signal in response to an operation such as pressing. The clear signal may be an electric signal that is turned on when the clear signal is at a low level, for example. The clear signal output from the clear switch 304 is transmitted to the main board 11 via, for example, a predetermined connector or signal line. When the clear switch 304 is not operated, the output of the clear signal is stopped (set to a high level). Note that the clear switch 304 may have a configuration other than a push button structure (for example, a slide switch structure, a toggle switch structure, a dial switch structure, or the like).

図5に示す主基板11は、メイン側の制御基板であり、パチンコ遊技機1における遊技の進行を制御するための各種回路が搭載されている。主基板11は、主として、特図ゲームにおいて用いる乱数の設定機能、所定位置に配設されたスイッチ等からの信号の入力を行う機能、演出制御基板12や払出制御基板15などからなるサブ側の制御基板に宛てて、それぞれに指令情報の一例となる制御コマンドを制御信号として出力して送信する機能、ホールの管理コンピュータに対して各種情報を出力する機能などを備えている。また、主基板11は、特別図柄表示装置4を構成する各セグメントの点灯/消灯制御を行うことにより特別図柄表示装置4における特別図柄の変動表示を制御する一方で、普通図柄表示器40の点灯/点滅/発色制御を行うことにより普通図柄表示器40における普通図柄の変動表示を制御する。   A main board 11 shown in FIG. 5 is a main-side control board on which various circuits for controlling the progress of the game in the pachinko gaming machine 1 are mounted. The main board 11 is a sub-side mainly composed of a random number setting function used in a special game, a function of inputting a signal from a switch arranged at a predetermined position, an effect control board 12, a payout control board 15, and the like. A control board is provided with a function of outputting and transmitting a control command as an example of command information as a control signal, and a function of outputting various information to a hall management computer. In addition, the main board 11 controls the special symbol display on the special symbol display device 4 by controlling the lighting / extinguishing of each segment constituting the special symbol display device 4, while the normal symbol display 40 is turned on. By controlling / flashing / coloring control, the normal symbol display on the normal symbol display 40 is controlled.

加えて、主基板11は、発射装置19や球送り装置62を駆動させるか停止させるかの判定処理を実行し、駆動させるときには所定の許可信号を送信する機能を備えている。例えば、発射装置19を駆動させるときには、主基板11から発射装置19に対してオン状態の発射許可信号が送信される。また、球送り装置62を駆動させるときには、主基板11から球送り装置62に対してオン状態の供給許可信号が送信される。   In addition, the main board 11 has a function of executing a determination process for driving or stopping the launching device 19 and the ball feeding device 62 and transmitting a predetermined permission signal when driving. For example, when driving the launching device 19, an on-state launch permission signal is transmitted from the main board 11 to the launching device 19. Further, when the ball feeding device 62 is driven, an on-state supply permission signal is transmitted from the main board 11 to the ball feeding device 62.

図8は、この実施の形態で用いられる発射装置19の一構成例を示すブロック図である。図8に示す発射装置19は、AND回路19Aと、ソレノイド駆動電圧生成回路19Bと、発射用ソレノイド19Cとを備えて構成される。AND回路19Aは、その入力端子に主基板11から伝送された発射許可信号と、インタフェース基板20を介してカードユニット70から伝送された接続信号であるVL信号とが入力される。そして、AND回路19Aからの出力信号は、ソレノイド駆動電圧生成回路19Bに入力される。ソレノイド駆動電圧生成回路19Bは、AND回路19Aからの出力信号がオン状態であるときに、電源基板10から供給されたVSLを用いて操作ノブ30からの操作量検出信号に応じたソレノイド駆動電圧を生成する。他方、AND回路19Aからの出力信号がオフ状態であるときには、ソレノイド駆動電圧が生成されない。発射用ソレノイド19Cは、ソレノイド駆動電圧生成回路19Bからソレノイド駆動電圧の供給を受けて励磁され、その中心励磁磁気力により、例えば遊技球を直接加速させたり、あるいは打球槌を加速させて遊技球を打撃したりすることで、遊技球を遊技領域に向けて発射させる。   FIG. 8 is a block diagram showing a configuration example of the launching device 19 used in this embodiment. The launching device 19 shown in FIG. 8 includes an AND circuit 19A, a solenoid drive voltage generation circuit 19B, and a launching solenoid 19C. The AND circuit 19 </ b> A receives a launch permission signal transmitted from the main board 11 and a VL signal, which is a connection signal transmitted from the card unit 70 via the interface board 20, at its input terminals. The output signal from the AND circuit 19A is input to the solenoid drive voltage generation circuit 19B. When the output signal from the AND circuit 19A is on, the solenoid drive voltage generation circuit 19B uses the VSL supplied from the power supply board 10 to generate a solenoid drive voltage corresponding to the operation amount detection signal from the operation knob 30. Generate. On the other hand, when the output signal from the AND circuit 19A is in the OFF state, no solenoid drive voltage is generated. The firing solenoid 19C is excited by receiving the solenoid drive voltage supplied from the solenoid drive voltage generation circuit 19B, and the center excitation magnetic force, for example, directly accelerates the game ball or accelerates the hit ball to accelerate the game ball. The game ball is fired toward the game area by hitting.

なお、ソレノイド駆動電圧生成回路19Bは、操作ノブ30からの操作量検出信号に応じたソレノイド駆動電圧を生成するものに限定されず、AND回路19Aからの出力信号がオン状態であるときに、電源基板10から供給されたVSLを用いて一定のソレノイド駆動電圧を生成するものであってもよい。そして、例えば操作ノブ30の操作量に応じて、遊技球の発射位置を調整することや、打球槌の移動量を調整することなどといった、機械的な制御により、遊技球の発射速度を変更できるようにしてもよい。また、カードユニット70から出力されたVL信号は、インタフェース基板20から発射装置19に直接入力されてもよいし、例えば払出制御基板15などの制御基板を介して発射装置19に入力されてもよい。   The solenoid drive voltage generation circuit 19B is not limited to the one that generates the solenoid drive voltage according to the operation amount detection signal from the operation knob 30. When the output signal from the AND circuit 19A is on, A constant solenoid drive voltage may be generated using VSL supplied from the substrate 10. And, for example, according to the operation amount of the operation knob 30, the shooting speed of the game ball can be changed by mechanical control such as adjusting the launch position of the game ball or adjusting the movement amount of the hitting ball. You may do it. Further, the VL signal output from the card unit 70 may be directly input from the interface board 20 to the launching device 19 or may be input to the launching device 19 via a control board such as the payout control board 15. .

図5に示すように、主基板11には、ゲートスイッチ21、始動口スイッチ22、V入賞スイッチ23、カウントスイッチ24、入賞口スイッチ25A〜25D、全入賞球検出スイッチ29からの検出信号を受信するための配線が接続されている。なお、ゲートスイッチ21、始動口スイッチ22、V入賞スイッチ23、カウントスイッチ24、入賞口スイッチ25A〜25D、全入賞球検出スイッチ29は、例えばセンサと称されるものなどのように、遊技媒体としての遊技球を検出できる任意の構成を有するものであればよい。ここで、始動口スイッチ22、カウントスイッチ24、及び入賞口スイッチ25A〜25Dの各スイッチは、遊技領域に設けられた複数の入賞領域それぞれに対応して設けられ、各入賞領域への遊技球の入賞を検出して入賞検出信号を出力する入賞口スイッチとなる。また、ゲートスイッチ21のような通過ゲート41を通過した遊技球を検出するものであっても、賞球の払い出しが行われるものであれば、入賞領域への遊技球の入賞を検出して入賞検出信号を出力する入賞口スイッチに含まれることになる。さらに、始動口スイッチ22は、遊技球が始動入賞口に入賞したことを検出し、特別図柄表示装置4による特図ゲームを実行するための始動条件が成立したことを示す始動入賞信号を出力する始動入賞検出スイッチとなる。   As shown in FIG. 5, the main board 11 receives detection signals from the gate switch 21, start port switch 22, V winning switch 23, count switch 24, winning port switches 25 </ b> A to 25 </ b> D, and all winning ball detection switches 29. Wiring to connect is connected. Note that the gate switch 21, the start port switch 22, the V winning switch 23, the count switch 24, the winning port switches 25A to 25D, and the all winning ball detection switch 29 are used as game media such as a sensor. What is necessary is just to have the arbitrary structures which can detect this game ball. Here, each of the start port switch 22, the count switch 24, and the winning port switches 25A to 25D is provided corresponding to each of a plurality of winning regions provided in the gaming region, and the game ball to each winning region is provided. A winning opening switch that detects a winning and outputs a winning detection signal. Further, even if a game ball that has passed through the passing gate 41 such as the gate switch 21 is detected, if the payout of the winning ball is performed, the winning of the gaming ball to the winning area is detected and won. It will be included in the winning opening switch that outputs the detection signal. Further, the start port switch 22 detects that the game ball has won the start winning port, and outputs a start winning signal indicating that a start condition for executing the special game by the special symbol display device 4 is satisfied. It becomes a start winning detection switch.

加えて、主基板11には、普通可変入賞球装置6における可動翼片の傾動制御を行うための指令信号をソレノイド81に送信するための配線や、特別可変入賞球装置7における開閉板の開閉制御を行うための指令信号をソレノイド82に送信するための配線が接続されている。さらに、主基板11には、特別図柄表示装置4や普通図柄表示器40の表示制御を行うための指令信号を送信するための配線や、エラー解除スイッチ31からの検出信号を受信するための配線が、接続されている。ここで、エラー解除スイッチ31は、遊技制御用マイクロコンピュータ100が所定のエラー状態に制御されているときに、ソフトウェアリセットによって、そのエラー状態を解除するためのスイッチである。また、主基板11には、遊技者が操作ノブ30に触れているか否かを検出するタッチセンサ75からのタッチセンサ検出信号が入力される。タッチセンサ75は、タッチリングにより操作ノブ30における遊技者の接触が検出されたときにオン状態となるタッチセンサ検出信号を、主基板11へと出力する。   In addition, on the main board 11, wiring for transmitting a command signal for performing tilt control of the movable blade piece in the normal variable winning ball apparatus 6 to the solenoid 81, and opening / closing of the opening / closing plate in the special variable winning ball apparatus 7 A wiring for transmitting a command signal for performing control to the solenoid 82 is connected. Further, wiring for transmitting a command signal for performing display control of the special symbol display device 4 and the normal symbol display 40 and wiring for receiving a detection signal from the error release switch 31 are provided on the main board 11. Is connected. Here, the error release switch 31 is a switch for releasing the error state by software reset when the game control microcomputer 100 is controlled to a predetermined error state. In addition, a touch sensor detection signal from a touch sensor 75 that detects whether or not the player is touching the operation knob 30 is input to the main board 11. The touch sensor 75 outputs to the main board 11 a touch sensor detection signal that is turned on when the player's contact with the operation knob 30 is detected by the touch ring.

主基板11から演出制御基板12に向けて出力される制御信号は、中継基板18によって中継される。ここで、主基板11には、例えば中継基板18に対応して主基板側コネクタが設けられるとともに、この主基板側コネクタと遊技制御用マイクロコンピュータ100との間に、出力バッファ回路が接続されていてもよい。この出力バッファ回路は、例えば主基板11から中継基板18を介して演出制御基板12へ向かう方向にのみ制御信号を通過させることができ、中継基板18から主基板11への信号の入力を阻止する。従って、演出制御基板12や中継基板18の側から主基板11の側に信号が伝わる余地はない。   A control signal output from the main board 11 toward the effect control board 12 is relayed by the relay board 18. Here, the main board 11 is provided with a main board side connector corresponding to the relay board 18, for example, and an output buffer circuit is connected between the main board side connector and the game control microcomputer 100. May be. This output buffer circuit can pass a control signal only in the direction from the main board 11 to the effect control board 12 via the relay board 18, for example, and prevents the signal input from the relay board 18 to the main board 11. . Therefore, there is no room for signals to be transmitted from the production control board 12 or the relay board 18 side to the main board 11 side.

中継基板18には、例えば主基板11から演出制御基板12に対して出力される制御信号を伝送するための配線毎に、伝送方向規制回路が設けられていればよい。各伝送方向規制回路は、主基板11に対応して設けられた主基板用コネクタにアノードが接続されるとともに演出制御基板12に対応して設けられた演出制御基板用コネクタにカソードが接続されたダイオードと、一端がダイオードのカソードに接続されるとともに他端がグランド(GND)接続された抵抗とから構成されている。この構成により、各伝送方向規制回路は、演出制御基板12から中継基板18への信号の入力を阻止して、主基板11から演出制御基板12へ向かう方向にのみ信号を通過させることができる。従って、演出制御基板12の側から主基板11側に信号が伝わる余地はない。なお、主基板への不正な信号の入力を防ぐために、主基板とサブ基板との間にサブ基板から主基板への信号入力を規制する一方向データ転送手段を設けたものは既に提案されている(例えば、特開平8−224339号公報などを参照)。しかしながら、主基板と一方向データ転送手段との間には主基板への信号入力を規制するものがないため、一方向データ転送手段に改変を加えることで主基板に不正な信号を入力させることが可能であった。この実施の形態では、中継基板18において制御信号を伝送するための配線毎に伝送方向規制回路を設けるとともに、主基板11にて遊技制御用マイクロコンピュータ100と主基板側コネクタの間に出力バッファ回路を設けることで、外部から主基板11への不正な信号の入力を、より確実に防止することができる。   The relay board 18 only needs to be provided with a transmission direction regulating circuit for each wiring for transmitting a control signal output from the main board 11 to the effect control board 12, for example. Each transmission direction regulating circuit has an anode connected to a main board connector provided corresponding to the main board 11 and a cathode connected to an effect control board connector provided corresponding to the effect control board 12. The diode is composed of a resistor having one end connected to the cathode of the diode and the other end connected to the ground (GND). With this configuration, each transmission direction regulating circuit can prevent the signal input from the effect control board 12 to the relay board 18 and allow the signal to pass only in the direction from the main board 11 to the effect control board 12. Therefore, there is no room for signals to be transmitted from the production control board 12 side to the main board 11 side. In order to prevent illegal signal input to the main board, a one-way data transfer means for restricting signal input from the sub board to the main board between the main board and the sub board has already been proposed. (For example, see JP-A-8-224339). However, since there is nothing that restricts signal input to the main board between the main board and the one-way data transfer means, it is possible to input illegal signals to the main board by modifying the one-way data transfer means. Was possible. In this embodiment, a transmission direction regulating circuit is provided for each wiring for transmitting a control signal in the relay board 18, and an output buffer circuit is provided between the game control microcomputer 100 and the main board side connector on the main board 11. By providing, illegal signal input from the outside to the main board 11 can be more reliably prevented.

演出制御基板12は、主基板11とは独立したサブ側の制御基板であり、中継基板18を介して主基板11から送信された制御コマンドを受信して、画像表示装置5、スピーカ8L、8R及び遊技効果ランプ9といった演出用の電気部品を制御するための各種回路が搭載されている。すなわち、演出制御基板12は、画像表示装置5における表示動作や、スピーカ8L、8Rからの音声出力動作、遊技効果ランプ9におけるランプの点灯動作及び消灯動作などを制御する機能を備えている。演出制御基板12には、音声制御基板13やランプ制御基板14に制御信号を伝送する配線や、画像表示装置5に画像データ信号を伝送する配線などが接続されている。   The effect control board 12 is a sub-side control board independent of the main board 11, receives a control command transmitted from the main board 11 via the relay board 18, and receives the image display device 5, speakers 8L, 8R. In addition, various circuits for controlling electric parts for production such as the game effect lamp 9 are mounted. That is, the effect control board 12 has a function of controlling the display operation in the image display device 5, the sound output operation from the speakers 8 </ b> L and 8 </ b> R, the lamp lighting operation and the light-off operation in the game effect lamp 9, and the like. The effect control board 12 is connected to wiring for transmitting a control signal to the sound control board 13 and the lamp control board 14, wiring for transmitting an image data signal to the image display device 5, and the like.

主基板11と払出制御基板15との間では、例えば双方向でシリアル通信を行うことにより、各種の制御コマンドや通知信号が伝送される。払出制御基板15は、主基板11とは独立したサブ側の制御基板であり、主基板11から送信された制御コマンドや通知信号を受信して、払出モータ51による遊技球の払出動作を制御するための各種回路が搭載されている。すなわち、払出制御基板15は、払出モータ51による賞球の払出動作を制御する機能を備えている。また、払出制御基板15は、インタフェース基板20を介したカードユニット70との通信結果に応じて払出モータ51の駆動制御を行って、球貸し動作を制御する機能を備えている。払出制御基板15には、払出モータ位置センサ71や払出カウントスイッチ72、エラー解除スイッチ73からの検出信号を受信するための配線が接続されている。加えて、払出制御基板15には、払出モータ51における遊技球の払出制御を行うための指令信号を送信するための配線や、エラー表示用LED74における表示制御を行うための指令信号を送信するための配線、インタフェース基板20を介してカードユニット70との間で通信を行うための配線などが接続されている。また、払出制御基板15には、カードユニット70からの接続信号であるVL信号を分岐させて発射装置19に伝送させるための配線が接続されていてもよい。   Various control commands and notification signals are transmitted between the main board 11 and the payout control board 15 by, for example, bidirectional serial communication. The payout control board 15 is a sub-side control board independent of the main board 11, receives a control command and a notification signal transmitted from the main board 11, and controls the payout operation of the game ball by the payout motor 51. Various circuits are installed. That is, the payout control board 15 has a function of controlling the award ball payout operation by the payout motor 51. Further, the payout control board 15 has a function of controlling the ball lending operation by controlling the driving of the payout motor 51 according to the communication result with the card unit 70 via the interface board 20. The payout control board 15 is connected with wiring for receiving detection signals from the payout motor position sensor 71, the payout count switch 72, and the error release switch 73. In addition, a wiring for transmitting a command signal for performing payout control of the game ball in the payout motor 51 and a command signal for performing display control in the error display LED 74 are transmitted to the payout control board 15. Are connected to the card unit 70 via the interface board 20. Further, the payout control board 15 may be connected to a wiring for branching a VL signal, which is a connection signal from the card unit 70, and transmitting the branched signal to the launching device 19.

エラー解除スイッチ73は、払出制御用マイクロコンピュータ150が所定のエラー状態に制御されているときに、ソフトウェアリセットによって、そのエラー状態を解除するためのスイッチである。エラー表示用LED74は、例えば7セグメントLEDにより構成され、払出制御用マイクロコンピュータ150にてセットされたエラーフラグなどに基づいて、各種のエラーに対応するエラーコードを表示するためのものである。   The error release switch 73 is a switch for releasing the error state by software reset when the payout control microcomputer 150 is controlled to a predetermined error state. The error display LED 74 is composed of, for example, a 7-segment LED, and is used to display error codes corresponding to various errors based on an error flag set by the payout control microcomputer 150.

中継基板18を介して主基板11から演出制御基板12に対して送信される制御コマンドは、例えば電気信号として伝送される演出制御コマンドである。演出制御コマンドには、例えば画像表示装置5における画像表示動作を制御するために用いられる表示制御コマンドや、スピーカ8L、8Rからの音声出力を制御するために用いられる音声制御コマンド、遊技効果ランプ9や装飾用LEDの点灯動作などを制御するために用いられるランプ制御コマンドが含まれている。図9は、この実施の形態で用いられる表示制御コマンドの内容の一例を示す説明図である。表示制御コマンドは、例えば2バイト構成であり、1バイト目はMODE(コマンドの分類)を示し、2バイト目はEXT(コマンドの種類)を表す。MODEデータの先頭ビット(第7ビット[ビット7])は必ず“1”とされ、EXTデータの先頭ビットは“0”とされる。なお、図9に示された表示制御コマンドの形態は一例であって、他のコマンド形態を用いてもよい。また、この例では、表示制御コマンドが2バイト構成であるとしているが、表示制御コマンドを構成するバイト数は、1であってもよいし、3以上の複数であってもよい。この実施の形態では、表示制御コマンドとして、可変表示開始コマンド、表示結果通知コマンド、大当り開始コマンド、大当り終了コマンド、デモ表示コマンド、賞球過多報知コマンド、賞球不足報知コマンド、満タン報知開始コマンド、満タン報知終了コマンドなどが、予め用意されている。   The control command transmitted from the main board 11 to the effect control board 12 via the relay board 18 is, for example, an effect control command transmitted as an electric signal. The effect control command includes, for example, a display control command used for controlling an image display operation in the image display device 5, a voice control command used for controlling sound output from the speakers 8L and 8R, and a game effect lamp 9. And a lamp control command used for controlling the lighting operation of the decoration LED and the like. FIG. 9 is an explanatory diagram showing an example of the contents of the display control command used in this embodiment. The display control command has, for example, a 2-byte structure, and the first byte indicates MODE (command classification), and the second byte indicates EXT (command type). The first bit (seventh bit [bit 7]) of the MODE data is always “1”, and the first bit of the EXT data is “0”. The form of the display control command shown in FIG. 9 is an example, and other command forms may be used. In this example, the display control command has a 2-byte configuration, but the number of bytes constituting the display control command may be 1 or a plurality of 3 or more. In this embodiment, as a display control command, a variable display start command, a display result notification command, a jackpot start command, a jackpot end command, a demo display command, a prize ball excessive notification command, a prize ball shortage notification command, a full tank notification start command A full tank notification end command and the like are prepared in advance.

図9に示す例において、コマンド80XXhは、特別図柄表示装置4による特図ゲームで特別図柄の変動表示を開始するときに送信される可変表示開始コマンドである。なお、XXhは、不特定の16進数であることを示し、表示制御コマンドによる指示内容に応じて任意に設定される値であればよい。可変表示開始コマンドは、例えば特別図柄表示装置4における特別図柄の変動表示を開始してから確定特別図柄を停止表示するまでの時間である特別図柄の可変表示時間(総変動時間)や、飾り図柄の可変表示態様をリーチとしてからハズレとなるリーチハズレとするか、リーチとすることなくハズレとなる通常ハズレとするかなどを示すEXTデータを含んでいる。   In the example shown in FIG. 9, the command 80XXh is a variable display start command that is transmitted when the special symbol display device 4 starts the variable symbol special symbol display in the special symbol game. XXh indicates an unspecified hexadecimal number, and may be a value that is arbitrarily set according to the instruction content by the display control command. The variable display start command is, for example, a special symbol variable display time (total variation time), which is a time from when the special symbol display device 4 starts the variable symbol variable display to when the fixed special symbol is stopped and displayed, or a decorative symbol. EXT data indicating whether or not the variable display mode is a reach loss that is lost after reaching, or a normal loss that is lost without reaching, is included.

ここで、リーチとは、画像表示装置5にて導出表示した飾り図柄が大当り組合せの一部を構成しているときに未だ導出表示していない飾り図柄(リーチ変動図柄という)については変動表示が行われている表示態様、あるいは、全て又は一部の飾り図柄が大当り図柄の全て又は一部を構成しながら同期して変動表示している表示態様のことである。具体的には、予め定められた組合せ有効ライン上の一部の可変表示部に予め定められた大当り組合せを構成する図柄を停止表示しているときに未だ停止表示していない組合せ有効ライン上の可変表示部において変動表示が行われている表示態様(例えば、表示領域に設けられた「左」、「中」、「右」の可変表示部のうち「左」、「右」の可変表示部には大当り図柄の一部となる(例えば「7」)が停止表示されている状態で「中」の可変表示部は未だ変動表示が行われている表示態様)、あるいは、有効ライン上の可変表示部の全て又は一部の飾り図柄が大当り図柄の全て又は一部を構成しながら同期して変動表示している表示態様(例えば、表示領域に設けられた「左」、「中」、「右」の可変表示部の全てで変動表示が行われてどの状態が表示されても同一の飾り図柄が揃っている態様で変動表示が行われている表示態様)である。また、リーチの際に、通常と異なる演出がランプや音などで行われることがある。この演出をリーチ演出という。また、リーチの際に、画像表示装置5にてキャラクタ(人物等を模した演出表示であり、飾り図柄とは異なるもの)を表示させたり、背景の表示態様を変化させたり、飾り図柄の変動表示態様を変化させたりすることがある。このキャラクタの表示や背景の表示態様、飾り図柄の変動態様の変化を、リーチ演出表示という。   Here, the reach means that a decorative display (referred to as a reach variation pattern) that has not yet been derived and displayed when the decorative pattern derived and displayed on the image display device 5 forms a part of the jackpot combination is a variable display. It is a display mode that is being performed, or a display mode in which all or some of the decorative symbols are synchronously displayed while constituting all or part of the jackpot symbol. Specifically, on the combination effective line that has not been stopped yet when the symbols constituting the predetermined jackpot combination are stopped and displayed on some of the variable display portions on the predetermined combination effective line. Display mode in which variable display is performed in the variable display section (for example, "left", "right" variable display sections among "left", "middle", "right" variable display sections provided in the display area Is a display mode in which part of the big hit symbol (for example, “7”) is stopped and displayed, and the “middle” variable display section is still displaying a variable display) or variable on the effective line A display mode (for example, “left”, “middle”, “ The state of change is displayed on all the `` Right '' variable display sections. Is but display mode in variable display is being performed aspects be displayed have all the same decorative pattern). Also, during the reach, unusual effects may be performed with lamps or sounds. This production is called reach production. Further, during the reach, the image display device 5 displays a character (an effect display imitating a person or the like, which is different from the decorative design), changes the display mode of the background, or changes the decorative design. The display mode may be changed. This change in character display, background display mode, and decorative pattern variation mode is referred to as reach effect display.

コマンド90XXhは、特別図柄表示装置4における特図ゲームでの確定特別図柄や、遊技状態が高確率状態となる確変大当りとなるか否かなどを示す表示結果通知コマンドである。具体的な一例として、コマンド9000hは、特図ゲームでの確定特別図柄がハズレ図柄となることを示すコマンドである。また、コマンド9001hは、特図ゲームでの確定特別図柄が大当り図柄としての「7」を示す特別図柄であること、及び遊技状態が高確率状態にはならない通常大当りであることを示すコマンドである。さらに、コマンド9002hは、特図ゲームでの確定特別図柄が大当り図柄としての「7」を示す特別図柄であること、及び遊技状態が高確率状態になる確変大当りであることを示すコマンドである。こうした表示結果通知コマンドに基づき、演出制御基板12の側では、飾り図柄の可変表示が行われた後に停止表示される飾り図柄の表示結果の種類をハズレとするか通常大当りとするか確変大当りとするかを決定することが可能になる。   The command 90XXh is a display result notification command indicating a confirmed special symbol in the special symbol game on the special symbol display device 4 and whether or not the game state is a probable big hit that becomes a high probability state. As a specific example, the command 9000h is a command indicating that the confirmed special symbol in the special game is a lost symbol. The command 9001h is a command indicating that the confirmed special symbol in the special symbol game is a special symbol indicating “7” as a jackpot symbol, and that the gaming state is a normal jackpot that does not become a high probability state. . Further, the command 9002h is a command indicating that the confirmed special symbol in the special symbol game is a special symbol indicating “7” as a jackpot symbol, and that the game state is a probabilistic big hit in which the gaming state becomes a high probability state. Based on such a display result notification command, on the side of the effect control board 12, the type of display result of the decorative symbol that is stopped and displayed after the variable display of the decorative symbol is performed is lost or normal or big hit, It becomes possible to decide what to do.

コマンドA000hは、特別図柄表示装置4による特図ゲームや画像表示装置5における飾り図柄の可変表示にて大当りとなったことにより、大当り遊技状態が開始されることを示す大当り開始コマンドである。コマンドA100hは、大当り遊技状態が終了することを示す大当り終了コマンドである。コマンドB000hは、画像表示装置5における画像表示等によるデモンストレーション表示(デモ表示)が可能になったことを示すデモ表示コマンドである。   The command A000h is a big hit start command indicating that the big hit gaming state is started when a big hit is made in the special symbol game by the special symbol display device 4 or the variable display of the decorative symbols on the image display device 5. The command A100h is a jackpot end command indicating that the jackpot gaming state is ended. The command B000h is a demonstration display command indicating that demonstration display (demo display) by image display or the like in the image display device 5 is possible.

コマンドD000hは、賞球の過大な払出である賞球過多が生じた旨を報知させるための賞球過多報知コマンドである。コマンドD001hは、賞球の過小な払出である賞球不足が生じた旨を報知させるための賞球不足報知コマンドである。コマンドD004hは、下皿33に所定量以上の遊技球が貯留された旨を報知させるための満タン報知開始コマンドである。コマンドD005hは、満タン報知開始コマンドに基づいて開始された報知を終了させるための満タン報知終了コマンドである。   The command D000h is a prize ball excessive notification command for notifying that an excessive prize ball, which is an excessive payout of prize balls, has occurred. The command D001h is a prize ball shortage notification command for notifying that a shortage of prize balls, which is an excessive payout of prize balls, has occurred. The command D004h is a full tank notification start command for notifying that the predetermined amount or more of the game balls are stored in the lower plate 33. The command D005h is a full tank notification end command for ending the notification started based on the full tank notification start command.

主基板11から払出制御基板15に対して送信される制御コマンドは、例えば電気信号として伝送される払出制御コマンドである。なお、払出制御コマンドは、主基板11に搭載された遊技制御用マイクロコンピュータ100が備えるCPU104(図11)によって払出制御コマンドを送信するための設定が行われ、その設定に基づいて遊技制御用マイクロコンピュータ100が備えるシリアル通信回路108(図11)により払出制御基板15に対して送信されるものである。以下の説明では、主基板11から払出制御基板15に対する払出制御コマンドの送信動作に、こうした遊技制御用マイクロコンピュータ100に設けられたCPU104やシリアル通信回路108による一連の動作が含まれているものとする。また、払出制御基板15から主基板11に対しては、例えば電気信号としての払出通知コマンドなどが送信される。なお、払出通知コマンドは、払出制御基板15に搭載された払出制御用マイクロコンピュータが備えるCPUによって払出通知コマンドを送信するための設定が行われ、その設定に基づいて払出制御用マイクロコンピュータ150が備えるシリアル通信回路により主基板11に対して送信されるものである。以下の説明では、払出制御基板15から主基板11に対する払出通知コマンドの送信動作に、こうした払出制御用マイクロコンピュータ150に設けられたCPUやシリアル通信回路による一連の動作が含まれているものとする。加えて、以下の説明では、主基板11及び払出制御基板15のいずれか一方から他方に対する所定動作の指令だけでなく、一方での動作状態を他方に通知する通知信号も、払出制御コマンドや払出通知コマンドに含まれるものとする。   The control command transmitted from the main board 11 to the payout control board 15 is, for example, a payout control command transmitted as an electrical signal. The payout control command is set to transmit the payout control command by the CPU 104 (FIG. 11) provided in the game control microcomputer 100 mounted on the main board 11, and the game control micro computer is based on the setting. It is transmitted to the payout control board 15 by the serial communication circuit 108 (FIG. 11) provided in the computer 100. In the following description, the transmission operation of the payout control command from the main board 11 to the payout control board 15 includes a series of operations by the CPU 104 and the serial communication circuit 108 provided in the game control microcomputer 100. To do. Also, for example, a payout notification command as an electrical signal is transmitted from the payout control board 15 to the main board 11. The payout notification command is set so that the payout notification command is transmitted by the CPU included in the payout control microcomputer mounted on the payout control board 15, and the payout control microcomputer 150 is provided based on the setting. It is transmitted to the main board 11 by the serial communication circuit. In the following description, it is assumed that the transmission operation of the payout notification command from the payout control board 15 to the main board 11 includes a series of operations by the CPU and serial communication circuit provided in the payout control microcomputer 150. . In addition, in the following description, not only a command for a predetermined operation from one of the main board 11 and the payout control board 15 to the other, but also a notification signal for notifying the other of the operation state of the other is a payout control command or a payout It shall be included in the notification command.

図10は、主基板11と払出制御基板15との間で送受信されるコマンドの構成例を示す説明図である。図10(A)に示すように、主基板11から払出制御基板15に対して送信される払出制御コマンドと、払出制御基板15から主基板11に対して送信される払出通知コマンドは、いずれも2バイト構成であり、1バイト目を反転させることで2バイト目となるように構成されている。そして、各バイトの先頭ビット(第7ビット[ビット7])をヘッダとして、そのヘッダを異ならせることにより、1バイト目と2バイト目の区別を可能にしている。例えば、1バイト目におけるヘッダは“0”の固定値に設定されている一方で、2バイト目におけるヘッダは“1”の固定値に設定されている。   FIG. 10 is an explanatory diagram showing a configuration example of commands transmitted / received between the main board 11 and the payout control board 15. As shown in FIG. 10A, the payout control command transmitted from the main board 11 to the payout control board 15 and the payout notification command sent from the payout control board 15 to the main board 11 are both It is configured to be 2 bytes, and is configured to be the second byte by inverting the first byte. Then, the first bit (7th bit [bit 7]) of each byte is used as a header, and the header is made different so that the first byte and the second byte can be distinguished. For example, the header in the first byte is set to a fixed value of “0”, while the header in the second byte is set to a fixed value of “1”.

主基板11から払出制御基板15に対して送信される払出制御コマンドには、払出数指定コマンドやACKフィードバックコマンドが含まれている。払出数指定コマンドは、払い出すべき賞球の数を示すコマンドであり、例えば図10(B)に示すようなビット値で構成されている。ここで、払出数指定コマンドにおける1バイト目及び2バイト目の第3〜第0ビット[ビット3−0]は、払い出すべき賞球の個数に応じて設定される値であればよい。図10(C)には、この実施の形態で用いられる払出数指定コマンドが16進数表示で示されている。図10(C)に示すコマンドE11Ehは、払い出すべき賞球個数が15個であることを示す第1払出数指定コマンドである。コマンドE916hは、払い出すべき賞球個数が7個であることを示す第2払出数指定コマンドである。コマンドEC13hは、払い出すべき賞球個数が4個であることを示す第3払出数指定コマンドである。この実施の形態では、始動口スイッチ22で遊技球が検出されると4個の賞球払出を行い、入賞口スイッチ25A〜25Dのいずれかで遊技球が検出されると7個の賞球払出を行い、カウントスイッチ24で遊技球が検出されると15個の賞球払出を行う。   The payout control command transmitted from the main board 11 to the payout control board 15 includes a payout number designation command and an ACK feedback command. The payout number designation command is a command indicating the number of prize balls to be paid out, and is composed of, for example, a bit value as shown in FIG. Here, the 3rd to 0th bits [bits 3-0] of the first byte and the second byte in the payout number designation command may be values set according to the number of prize balls to be paid out. FIG. 10C shows a payout number designation command used in this embodiment in hexadecimal notation. A command E11Eh shown in FIG. 10C is a first payout number designation command indicating that the number of prize balls to be paid out is fifteen. The command E916h is a second payout number designation command indicating that the number of prize balls to be paid out is seven. The command EC13h is a third payout number designation command indicating that the number of prize balls to be paid out is four. In this embodiment, four game balls are paid out when a game ball is detected by the start port switch 22, and seven game balls are paid out when a game ball is detected by any of the game port switches 25A to 25D. When a game ball is detected by the count switch 24, 15 prize balls are paid out.

図10(C)に示すコマンドF00Fhは、払出制御基板15から主基板11に対して送信された賞球ACKコマンドを主基板11の側で受信したことを示す受信確認受付信号となるACKフィードバックコマンドである。   A command F00Fh shown in FIG. 10C is an ACK feedback command serving as a reception confirmation acceptance signal indicating that the prize ball ACK command transmitted from the payout control board 15 to the main board 11 is received on the main board 11 side. It is.

図10(D)は、払出制御基板15から主基板11に対して送信される払出通知コマンドの構成例を示す説明図である。払出通知コマンドには、賞球ACKコマンドが含まれている。賞球ACKコマンドは、主基板11から払出制御基板15に対して送信された払出数指定コマンドを払出制御基板15の側で受信したことを示す受信確認信号となるコマンドA0F5hである。   FIG. 10D is an explanatory diagram showing a configuration example of a payout notification command transmitted from the payout control board 15 to the main board 11. The payout notification command includes a prize ball ACK command. The award ball ACK command is a command A0F5h serving as a reception confirmation signal indicating that the payout number specifying command transmitted from the main board 11 to the payout control board 15 is received on the payout control board 15 side.

図5に示すように、主基板11には、遊技制御用マイクロコンピュータ100やスイッチ回路111、ソレノイド回路112が搭載されている。スイッチ回路111には、ゲートスイッチ21、始動口スイッチ22、V入賞スイッチ23、カウントスイッチ24、入賞口スイッチ25A〜25D、満タンスイッチ26、球切れスイッチ27、全入賞球検出スイッチ29、エラー解除スイッチ31などの各種スイッチからの検出信号や、タッチセンサ75などの各種センサからの検出信号が入力される。スイッチ回路111は、これらの検出信号を取り込んで、遊技制御用マイクロコンピュータ100に伝送する。ソレノイド回路112は、遊技制御用マイクロコンピュータ100からの指令に従って各ソレノイド81、82に対する駆動信号を出力する。   As shown in FIG. 5, a game control microcomputer 100, a switch circuit 111, and a solenoid circuit 112 are mounted on the main board 11. The switch circuit 111 includes a gate switch 21, a start port switch 22, a V winning switch 23, a count switch 24, winning port switches 25 </ b> A to 25 </ b> D, a full tank switch 26, a ball out switch 27, an all winning ball detection switch 29, and error release. Detection signals from various switches such as the switch 31 and detection signals from various sensors such as the touch sensor 75 are input. The switch circuit 111 takes these detection signals and transmits them to the game control microcomputer 100. The solenoid circuit 112 outputs drive signals for the solenoids 81 and 82 in accordance with a command from the game control microcomputer 100.

図11は、主基板11に搭載された遊技制御用マイクロコンピュータ100の構成例を示す図である。図11に示す遊技制御用マイクロコンピュータ100は、例えば1チップマイクロコンピュータであり、クロック回路101と、リセット/割込みコントローラ102と、乱数回路103と、CPU(Central Processing Unit)104と、ROM(Read Only Memory)105と、RAM(Random Access Memory)106と、タイマ回路(PIT)107と、シリアル通信回路(SCI)108と、外部バスインタフェース109とを備えて構成されている。   FIG. 11 is a diagram illustrating a configuration example of the game control microcomputer 100 mounted on the main board 11. A game control microcomputer 100 shown in FIG. 11 is, for example, a one-chip microcomputer, and includes a clock circuit 101, a reset / interrupt controller 102, a random number circuit 103, a CPU (Central Processing Unit) 104, and a ROM (Read Only). Memory (RAM) 105, RAM (Random Access Memory) 106, timer circuit (PIT) 107, serial communication circuit (SCI) 108, and external bus interface 109.

クロック回路101は、例えばCPU104といった、遊技制御用マイクロコンピュータ100内の各回路に供給するクロック信号を生成する回路である。具体的な一例として、クロック回路101は、所定のクロック入力端子に入力された外部クロックを4分周して内部システムクロックCLKを生成し、生成した内部システムクロックCLKをCPU104などの遊技制御用マイクロコンピュータ100内の各回路に供給する。   The clock circuit 101 is a circuit that generates a clock signal to be supplied to each circuit in the game control microcomputer 100 such as a CPU 104. As a specific example, the clock circuit 101 divides an external clock input to a predetermined clock input terminal by 4 to generate an internal system clock CLK. This is supplied to each circuit in the computer 100.

リセット/割込みコントローラ102は、遊技制御用マイクロコンピュータ100内で発生する各種リセット、割込み要求を制御するためのものである。リセット/割込みコントローラ102が制御するリセットには、システムリセットとユーザリセットが含まれている。システムリセットは、所定のSRST端子に一定の期間にわたりローレベルの信号が入力されたときに発生するリセットである。ユーザリセットは、所定のURST端子に一定の期間にわたりローレベルの信号が入力されたことや、ウォッチドッグタイマ(WDT)のタイムアウト信号が発生したこと、指定エリア外走行禁止(IAT)信号が発生したこと、あるいは、インターバルリセット信号が発生したことなど、所定の要因により発生するリセットである。   The reset / interrupt controller 102 is for controlling various reset and interrupt requests generated in the game control microcomputer 100. The reset controlled by the reset / interrupt controller 102 includes a system reset and a user reset. The system reset is a reset that occurs when a low level signal is input to a predetermined SRST terminal for a certain period. A user reset has occurred when a low-level signal is input to a predetermined URST terminal for a certain period of time, a watchdog timer (WDT) time-out signal is generated, or an out-of-designated area prohibition (IAT) signal is generated. Or a reset caused by a predetermined factor such as the occurrence of an interval reset signal.

また、リセット/割込みコントローラ102が制御する割込みには、Xクラス割込み(XIRQ)、Iクラス割込み(IRQ)、ソフトウェア割込み(SWI)、イリーガルオペコードトラップ(ILGOP)といった4種類の割込みが含まれている。Xクラス割込みは、所定のXIRQ端子に一定の期間にわたりローレベルの信号が入力されたときに発生する割込みである。Iクラス割込みは、ユーザプログラムにより割込み要求の受付を許可/禁止できる割込みであり、所定のIRQ端子に一定の期間にわたりローレベルの信号が入力されたことや、タイマ回路107からの割込み要求信号が発生したこと、シリアル通信回路108からの割込み要求信号が発生したことなど、予め定められた各種の割込み要因により発生する割込みである。   The interrupts controlled by the reset / interrupt controller 102 include four types of interrupts such as an X class interrupt (XIRQ), an I class interrupt (IRQ), a software interrupt (SWI), and an illegal opcode trap (ILGOP). . The X class interrupt is an interrupt that occurs when a low level signal is input to a predetermined XIRQ terminal for a certain period. The I class interrupt is an interrupt that can allow / prohibit acceptance of an interrupt request by a user program, and a low level signal is input to a predetermined IRQ terminal for a certain period of time, or an interrupt request signal from the timer circuit 107 is received. This is an interrupt generated by various predetermined interrupt factors such as the occurrence of an interrupt request signal from the serial communication circuit 108.

乱数回路103は、例えば12ビット乱数と16ビット乱数などといった、更新範囲が互いに異なる複数種類の乱数を生成する回路である。図12は、乱数回路103の構成例を示すブロック図である。図12に示すように、乱数回路103は、クロック信号出力手段としての機能の全部または一部を備えるクロック信号出力回路171と、初期値設定手段としての機能の全部または一部を備える初期値設定回路172A、172Bと、数値更新手段としての機能を備える乱数生成回路173A、173Bと、順列変更方式選択手段としての機能を備えるセレクタ174A、174Bと、数値順列変更レジスタとしての機能を備えるARSC175A、BRSC175Bと、数値順列変更手段としての機能を備える乱数列変更回路176A、176Bと、最大値比較回路177A、177Bと、クロック信号反転手段としての機能を備える反転回路178と、タイマ手段としての機能を備えるタイマ回路179と、ラッチ信号出力手段としての機能を備えるラッチ信号生成回路180と、乱数値格納手段としての機能を備える乱数値レジスタ181A、181Bとから構成されている。なお、初期値設定回路172A、乱数生成回路173A、セレクタ174A、ARSC175A、乱数列変更回路176A、最大値比較回路177A、乱数値レジスタ181Aは、12ビット乱数を生成するために用いられる第1の乱数回路を構成する。また、クロック信号出力回路171、初期値設定回路172B、乱数生成回路173B、セレクタ174B、BRSC175B、乱数列変更回路176B、最大値比較回路177B、反転回路178、タイマ回路179、ラッチ信号生成回路180、乱数値レジスタ181Bは、16ビット乱数を生成するために用いられる第2の乱数回路を構成する。   The random number circuit 103 is a circuit that generates a plurality of types of random numbers having different update ranges, such as a 12-bit random number and a 16-bit random number. FIG. 12 is a block diagram illustrating a configuration example of the random number circuit 103. As shown in FIG. 12, the random number circuit 103 includes a clock signal output circuit 171 having all or part of the function as the clock signal output means, and an initial value setting having all or part of the function as the initial value setting means. Circuits 172A and 172B, random number generation circuits 173A and 173B having a function as numerical value updating means, selectors 174A and 174B having a function as permutation change method selection means, and ARSC 175A and BRSC175B having a function as a numerical permutation change register Random number sequence changing circuits 176A and 176B having functions as numerical permutation changing means, maximum value comparison circuits 177A and 177B, inverting circuits 178 having functions as clock signal inverting means, and functions as timer means. Timer circuit 179 and latch signal output means A latch signal generation circuit 180 with a capability, random number register 181A with the function of the random number storage means, and a 181B. Note that the initial value setting circuit 172A, the random number generation circuit 173A, the selector 174A, the ARSC 175A, the random number sequence change circuit 176A, the maximum value comparison circuit 177A, and the random value register 181A are the first random numbers used to generate a 12-bit random number. Configure the circuit. Also, a clock signal output circuit 171, an initial value setting circuit 172B, a random number generation circuit 173B, a selector 174B, BRSC 175B, a random number sequence change circuit 176B, a maximum value comparison circuit 177B, an inversion circuit 178, a timer circuit 179, a latch signal generation circuit 180, The random value register 181B constitutes a second random number circuit used for generating a 16-bit random number.

クロック信号出力回路171は、クロック回路101から供給される内部システムクロックCLKを入力して、この内部システムクロックCLKと同一周期を有するクロック信号、あるいは内部システムクロックCLKを16分周したクロック信号を出力して、乱数生成回路173Bと反転回路178とに入力させる。初期値設定回路172A、172Bは、発生する乱数列のスタート値を設定するためのものである。例えば、初期値設定回路172A、172Bは、パチンコ遊技機1への電力供給が開始された後に乱数回路103にて乱数値の発生を開始するに際して1周目の初期値の設定や、乱数生成回路173A、173Bが所定の初期値から所定の最終値まで循環的に数値データを更新したときに新たな初期値の設定などを行う。初期値設定回路172Aは、設定した初期値を示す初期値設定信号SK1を出力して、乱数生成回路173Aに入力させる。初期値設定回路172Bは、設定した初期値を示す初期値設定信号SK2を出力して、乱数生成回路173Bに入力させる。   The clock signal output circuit 171 receives the internal system clock CLK supplied from the clock circuit 101 and outputs a clock signal having the same cycle as the internal system clock CLK or a clock signal obtained by dividing the internal system clock CLK by 16. Then, the random number generation circuit 173B and the inverting circuit 178 are input. The initial value setting circuits 172A and 172B are for setting the start value of the generated random number sequence. For example, the initial value setting circuits 172A and 172B are configured to set initial values for the first round when the random number circuit 103 starts generating random values after power supply to the pachinko gaming machine 1 is started, When the numerical data is updated cyclically from a predetermined initial value to a predetermined final value by 173A and 173B, a new initial value is set. The initial value setting circuit 172A outputs an initial value setting signal SK1 indicating the set initial value, and inputs it to the random number generation circuit 173A. The initial value setting circuit 172B outputs an initial value setting signal SK2 indicating the set initial value and inputs it to the random number generation circuit 173B.

乱数生成回路173A、173Bは、例えば所定ビット数のカウンタなどから構成され、クロック信号出力回路171から出力されるクロック信号などの入力に基づき、数値データを更新可能な所定の範囲において所定の初期値から所定の最終値まで循環的に更新する回路である。例えば乱数生成回路173Aは、所定のクロック入力端子への入力信号における立上がりエッジに応答して、「1」から「4095」までの範囲内で設定された初期値から「4095」まで1ずつカウントアップして行く。そして、「4095」までカウントアップした後には、「1」から初期値よりも1小さい最終値となる数値まで1ずつカウントアップすることで、数値データを循環的に更新する。なお、この実施の形態では、乱数生成回路173Aのクロック入力端子には、乱数値レジスタ181Aからの格納値更新信号KTと最大値比較回路177Aからの再設定信号MS1とを合成した信号(例えば格納値更新信号KTと再設定信号MS1とを入力信号とするOR回路からの出力信号としての和信号)が入力される。また、例えば乱数生成回路173Bは、所定のクロック入力端子への入力信号における立上がりエッジに応答して、「1」から「65535」までの範囲内で設定された初期値から「65535」まで1ずつ数値データをカウントアップして行く。そして、「65535」までカウントアップした後には、「1」から初期値よりも1小さい最終値となる数値まで1ずつカウントアップすることで、数値データを循環的に更新する。なお、この実施の形態では、乱数生成回路173Bのクロック入力端子には、クロック信号出力回路171から出力されるクロック信号と最大値比較回路177Bからの再設定信号MS2とを合成した信号(例えばクロック信号と再設定信号S2とを入力信号とするOR回路からの出力信号としての和信号)が入力される。乱数生成回路173Aが所定の最終値まで数値データを更新したときには、乱数一巡信号RIJ1を出力する。また、乱数生成回路173Bが所定の最終値まで数値データを更新したときには、乱数一巡信号RIJ2を出力する。   The random number generation circuits 173A and 173B are composed of a counter having a predetermined number of bits, for example, and based on an input such as a clock signal output from the clock signal output circuit 171, a predetermined initial value within a predetermined range in which numerical data can be updated Is a circuit that cyclically updates from a predetermined value to a predetermined final value. For example, the random number generation circuit 173A counts up one by one from the initial value set in the range from “1” to “4095” in response to the rising edge in the input signal to the predetermined clock input terminal. Go. Then, after counting up to “4095”, the numerical data is updated cyclically by counting up from “1” to a numerical value that is one final value smaller than the initial value. In this embodiment, a signal (for example, a storage signal) obtained by synthesizing the stored value update signal KT from the random value register 181A and the reset signal MS1 from the maximum value comparison circuit 177A at the clock input terminal of the random number generation circuit 173A. A sum signal as an output signal from an OR circuit having the value update signal KT and the reset signal MS1 as input signals is input. In addition, for example, the random number generation circuit 173B responds to a rising edge in an input signal to a predetermined clock input terminal, one by one from an initial value set within a range from “1” to “65535” to “65535”. Count up numerical data. Then, after counting up to “65535”, the numerical data is updated cyclically by counting up from “1” to a numerical value that is one final value smaller than the initial value. In this embodiment, a signal (for example, a clock) obtained by synthesizing the clock signal output from the clock signal output circuit 171 and the reset signal MS2 from the maximum value comparison circuit 177B is provided at the clock input terminal of the random number generation circuit 173B. The sum signal as an output signal from the OR circuit using the signal and the reset signal S2 as input signals. When the random number generation circuit 173A updates the numerical data to a predetermined final value, it outputs a random number loop signal RIJ1. Further, when the random number generation circuit 173B updates the numerical data up to a predetermined final value, the random number loop signal RIJ2 is output.

セレクタ174A、174Bは、それぞれ乱数生成回路173A、173Bにより乱数一巡信号RIJ1、RIJ2が出力されたことに応じて、数値データの更新順である順列を変更する方式を選択するための回路である。この実施の形態では、数値データが所定の初期値から所定の最終値まで更新されたときに順列を変更する方式として、予め複数の方式が定められている。例えば、第1の方式は、数値データが最終値まで更新されたときに、セレクタ174Aやセレクタ174Bが乱数生成回路173Aから出力された乱数一巡信号RIJ1や乱数生成回路173Bから出力された乱数一巡信号RIJ2を選択して出力することにより、自動的に順列を変更する方式であり、12ビット乱数列変更レジスタであるARSC175Aや16ビット乱数列変更レジスタであるBRSC175Bにおける格納値に関わらず、順列の変更が行われる。また、第2の方式は、数値データが最終値まで更新されたときに、ARSC175AやBRSC175Bに所定の数値順列変更データが設定されていることに応じて順列を変更する方式である。第3の方式は、数値データが最終値まで更新されたときでも、順列の変更は行わない方式であり、乱数列変更回路176A、176Bが常に一定の規則に従った順序で乱数値となる数値データR1、R2を出力する。   The selectors 174A and 174B are circuits for selecting a method for changing the permutation, which is the update order of the numerical data, in response to the random number loop signals RIJ1 and RIJ2 being output by the random number generation circuits 173A and 173B, respectively. In this embodiment, a plurality of methods are determined in advance as a method of changing the permutation when the numerical data is updated from a predetermined initial value to a predetermined final value. For example, in the first method, when the numeric data is updated to the final value, the selector 174A and the selector 174B output the random number circuit RIJ1 output from the random number generation circuit 173A and the random number circuit 173B output from the random number generation circuit 173B. By selecting and outputting RIJ2, the permutation is automatically changed. The permutation is changed regardless of the stored value in the ARSC 175A which is a 12-bit random number sequence change register or the BRSC 175B which is a 16-bit random number sequence change register. Is done. The second method is a method of changing the permutation when predetermined numerical permutation change data is set in the ARSC 175A or BRSC 175B when the numerical data is updated to the final value. The third method is a method in which the permutation is not changed even when the numerical data is updated to the final value, and the random number sequence changing circuits 176A and 176B are numerical values that are always random numbers in an order according to a certain rule. Data R1 and R2 are output.

図13(A)は、ARSC175Aの構成例を示すブロック図であり、図13(B)は、BRSC175Bの構成例を示すブロック図である。図13(A)に示すARSC175Aは、ユーザプログラムによる書込みと、セレクタ174Aを介した乱数列変更回路176Aによる読出しが可能な8ビットのレジスタであり、その初期値は“0”(=00h)に設定されている。なお、ユーザプログラムによるARSC175Aに対する書込みは、第0ビット[ビット0]に対する“1”の書込みだけが有効である。順列を変更する方式として、セレクタ174Aによって前述した第2の方式が選択されているときに、ARSC175Aの第0ビット[ビット0]に対して“1”が書き込まれると、数値データが最終値まで更新された次の周期の始めから、乱数列変更回路176Aが数値データを出力する順序を定める規則である更新規則を、変更することができる。図13(B)に示すBRSC175Bは、ユーザプログラムによる書込みと、セレクタ174Bを介した乱数列変更回路176Bによる読出しが可能な8ビットのレジスタであり、その初期値は“0”(=00h)に設定されている。なお、ユーザプログラムによるBRSC175Bに対する書込みは、第0ビット[ビット0]に対する“1”の書込みだけが有効である。順列を変更する方式として、セレクタ174Bによって前述した第2の方式が選択されているときに、BRSC175Bの第0ビット[ビット0]に対して“1”が書き込まれると、数値データが最終値まで更新された次の周期の始めから、乱数列変更回路176Bが数値データを出力する順序を定める規則である更新規則を、変更することができる。   FIG. 13A is a block diagram illustrating a configuration example of the ARSC 175A, and FIG. 13B is a block diagram illustrating a configuration example of the BRSC 175B. The ARSC 175A shown in FIG. 13A is an 8-bit register that can be written by the user program and read by the random number sequence change circuit 176A via the selector 174A, and its initial value is “0” (= 00h). Is set. Note that only “1” writing to the 0th bit [bit 0] is effective for writing to the ARSC 175A by the user program. As a method for changing the permutation, when “1” is written to the 0th bit [bit 0] of the ARSC 175A when the second method described above is selected by the selector 174A, the numerical data reaches the final value. The update rule, which is a rule for determining the order in which the random number sequence change circuit 176A outputs numerical data, can be changed from the beginning of the updated next cycle. The BRSC 175B shown in FIG. 13B is an 8-bit register that can be written by the user program and read by the random number sequence changing circuit 176B via the selector 174B, and its initial value is “0” (= 00h). Is set. As for writing to the BRSC 175B by the user program, only writing “1” to the 0th bit [bit 0] is effective. As a method for changing the permutation, when “1” is written to the 0th bit [bit 0] of the BRSC 175B when the second method described above is selected by the selector 174B, the numerical data reaches the final value. The update rule, which is a rule for determining the order in which the random number sequence change circuit 176B outputs numerical data, can be changed from the beginning of the updated next cycle.

乱数列変更回路176A、176Bは、それぞれ乱数生成回路173A、173Bにより生成された数値データを、所定の更新規則に従った順列に変更可能とする回路である。例えば、乱数列変更回路176Aは、乱数生成回路173Aから出力される数値データにおけるビットの入れ替えや転置などのビットスクランブル処理を実行する一方、乱数列変更回路176Bは、乱数生成回路173Bから出力される数値データにおけるビットの入れ替えや転置などのビットスクランブル処理を実行する。また、乱数列変更回路176A、176Bは、例えばビットスクランブル処理に用いるビットスクランブル用キーやビットスクランブルテーブルを変更することなどにより、数値データの更新順である順列の変更を行うことができる。   The random number sequence changing circuits 176A and 176B are circuits that allow the numerical data generated by the random number generating circuits 173A and 173B to be changed to permutations according to a predetermined update rule. For example, the random number sequence change circuit 176A executes bit scramble processing such as bit replacement or transposition in numerical data output from the random number generation circuit 173A, while the random number sequence change circuit 176B is output from the random number generation circuit 173B. Bit scramble processing such as bit replacement and transposition in numeric data is executed. The random number sequence changing circuits 176A and 176B can change the permutation, which is the update order of numerical data, by changing the bit scramble key or the bit scramble table used for the bit scramble process, for example.

図14は、12ビット乱数用に設けられた乱数列変更回路176Aにおける動作の一例として、セレクタ174Aによって前述した第1の方式が選択されているときの順列変更動作を示す説明図である。セレクタ174Aによって第1の方式が選択されているときには、乱数生成回路173Aから出力される数値データ列C1が所定の初期値から所定の最終値まで循環的に更新されたことに応じて、乱数列変更回路176Aが自動的に順列を変更する。図14に示す動作例では、始めに乱数列変更回路176Aから出力される数値データ列R1が、「1→2→…→4095」となっている。   FIG. 14 is an explanatory diagram showing a permutation changing operation when the above-described first method is selected by the selector 174A as an example of the operation in the random number sequence changing circuit 176A provided for 12-bit random numbers. When the first method is selected by the selector 174A, the random number sequence C1 output from the random number generation circuit 173A is cyclically updated from a predetermined initial value to a predetermined final value. The change circuit 176A automatically changes the permutation. In the operation example shown in FIG. 14, the numerical data sequence R1 first output from the random number sequence change circuit 176A is “1 → 2 →... → 4095”.

そして、乱数生成回路173Aから出力された数値データ列C1の値が所定の最終値に達したときには、乱数生成回路173Aから出力された乱数一巡信号RIJ1が、セレクタ174Aを介して乱数列変更回路176Aに入力される。乱数列変更回路176Aは、乱数一巡信号RIJ1が入力されたことに応答して、数値データの更新規則を変更する。このとき、乱数列変更回路176Aは、予め用意された複数種類の更新規則のうちから予め定められた順序に従って更新規則を選択することにより、更新規則を変更するようにしてもよい。あるいは、乱数列変更回路176Aは、複数種類の更新規則のうちから任意の更新規則を選択することにより、更新規則を変更するようにしてもよい。図14に示す動作例では、1回目の更新規則の変更による順列変更により、乱数列変更回路176Aから出力される数値データ列R1が、「4095→4094→…→1」となる。その後、2回目の更新規則の変更による順列変更が行われることにより、乱数列変更回路176Aから出力される数値データ列R1は、「1→3→…→4095→2→…→4094」となる。図14に示す動作例では、3回目の更新規則の変更による順列変更が行われることにより、乱数列変更回路176Aから出力される数値データ列R1は、「4095→1→…→2047」となる。4回目の更新規則の変更による順列変更が行われたときには、乱数列変更回路176Aから出力される数値データ列R1が、「1023→3072→…→3071」となる。5回目の更新規則の変更による順列変更が行われたときには、乱数列変更回路176Aから出力される数値データ列R1が、「5→4→…→4091」となる。また、乱数生成回路173Aが所定の初期値から所定の最終値まで循環的に数値データを更新したときに、初期値設定回路172Aにより新たな初期値の設定が行われる場合には、乱数列変更回路176Aが乱数一巡信号RIJ1の入力に応答して数値データの更新規則を変更するとともに、初期値設定回路172Aが乱数一巡信号RIJ1の入力に応答して新たな初期値を乱数生成回路173Aに設定する。その後、乱数生成回路173Aは初期値設定回路172Aによる変更後の初期値から循環的に数値データを更新し、乱数列変更回路176Aは変更後の更新規則に従って乱数生成回路173Aから出力された数値データ列C1の並びを変更する。   Then, when the value of the numerical data sequence C1 output from the random number generation circuit 173A reaches a predetermined final value, the random number loop signal RIJ1 output from the random number generation circuit 173A is sent to the random number sequence change circuit 176A via the selector 174A. Is input. The random number sequence changing circuit 176A changes the update rule of the numerical data in response to the input of the random round signal RIJ1. At this time, the random number sequence changing circuit 176A may change the update rule by selecting the update rule according to a predetermined order from among a plurality of types of update rules prepared in advance. Alternatively, the random number sequence change circuit 176A may change the update rule by selecting an arbitrary update rule from among a plurality of types of update rules. In the operation example shown in FIG. 14, the numerical data sequence R1 output from the random number sequence change circuit 176A is “4095 → 4094 →... → 1” due to the permutation change by the first update rule change. After that, the permutation is changed by the second update rule change, so that the numerical data sequence R1 output from the random number sequence changing circuit 176A becomes “1 → 3 →... → 4095 → 2 →. . In the operation example shown in FIG. 14, the numerical data sequence R1 output from the random number sequence change circuit 176A is “4095 → 1 →... → 2047” by performing the permutation change by the third update rule change. . When the permutation is changed by the fourth update rule change, the numerical data sequence R1 output from the random number sequence changing circuit 176A becomes “1023 → 3072 →... → 3071”. When the permutation is changed by changing the update rule for the fifth time, the numerical data sequence R1 output from the random number sequence changing circuit 176A becomes “5 → 4 →... → 4091”. Further, when the initial value setting circuit 172A sets a new initial value when the random number generation circuit 173A cyclically updates the numerical data from a predetermined initial value to a predetermined final value, the random number sequence is changed. The circuit 176A changes the update rule of numerical data in response to the input of the random number round signal RIJ1, and the initial value setting circuit 172A sets a new initial value in the random number generation circuit 173A in response to the input of the random number round signal RIJ1. To do. Thereafter, the random number generation circuit 173A cyclically updates the numerical data from the initial value changed by the initial value setting circuit 172A, and the random number sequence change circuit 176A outputs the numerical data output from the random number generation circuit 173A according to the updated update rule. The arrangement of the column C1 is changed.

16ビット乱数用に設けられた乱数列変更回路176Bも、乱数生成回路173Bから出力される16ビット乱数生成用の数値データ列R2に対して乱数列変更回路176Aと同様の処理を施すことにより、更新規則に従った順序で数値データ列R2を出力する。そして、セレクタ174Bによって前述した第1の方式が選択されているときには、乱数生成回路173Bから出力される数値データ列C2が所定の初期値から所定の最終値まで循環的に更新されたことに応じて、乱数列変更回路176Bが自動的に順列を変更する。また、乱数生成回路173Bが所定の初期値から所定の最終値まで循環的に数値データを更新したときに、初期値設定回路172Bにより新たな初期値の設定が行われる場合には、乱数列変更回路176Bが乱数一巡信号RIJ2の入力に応答して数値データの更新規則を変更するとともに、初期値設定回路172Bが乱数一巡信号RIJ2の入力に応答して新たな初期値を乱数生成回路173Bに設定する。その後、乱数生成回路173Bは初期値設定回路172Bによる変更後の初期値から循環的に数値データを更新し、乱数列変更回路176Bは変更後の更新規則に従って乱数生成回路173Bから出力された数値データ列C2の並びを変更する。   The random number sequence change circuit 176B provided for the 16-bit random number also performs the same processing as the random number sequence change circuit 176A on the numeric data sequence R2 for 16-bit random number generation output from the random number generation circuit 173B. The numerical data string R2 is output in the order according to the update rule. When the first method described above is selected by the selector 174B, the numerical data string C2 output from the random number generation circuit 173B is cyclically updated from a predetermined initial value to a predetermined final value. Thus, the random number sequence changing circuit 176B automatically changes the permutation. Further, when the initial value setting circuit 172B sets a new initial value when the random number generation circuit 173B cyclically updates the numerical data from a predetermined initial value to a predetermined final value, the random number sequence is changed. The circuit 176B changes the update rule of numerical data in response to the input of the random number round signal RIJ2, and the initial value setting circuit 172B sets a new initial value in the random number generation circuit 173B in response to the input of the random number round signal RIJ2. To do. Thereafter, the random number generation circuit 173B cyclically updates the numerical data from the initial value after the change by the initial value setting circuit 172B, and the random number sequence change circuit 176B outputs the numerical data output from the random number generation circuit 173B according to the updated update rule. The arrangement of the column C2 is changed.

図15は、12ビット乱数用に設けられた乱数列変更回路176Aにおける動作の他の一例として、セレクタ174Aによって前述した第2の方式が選択されているときの順列変更動作を示す説明図である。セレクタ174Aによって第2の方式が選択されているときには、乱数生成回路173Aから出力される数値データ列C1が所定の初期値から所定の最終値まで循環的に更新され、かつ、12ビット乱数列変更レジスタであるARSC175Aに数値順列変更データとなる“1”(=01h)が設定されていることに応答して、数値データの更新規則を変更する。図15に示す動作例では、始めに乱数列変更回路176Aから出力される数値データ列R1が、「1→2→…→4095」となっている。この後、CPU104がROM105に格納されたユーザプログラムを実行することによって、所定のタイミングでARSC175Aに数値順列変更データとなる“1”(=01h)が書き込まれて設定されたものとする。   FIG. 15 is an explanatory diagram showing a permutation changing operation when the second method described above is selected by the selector 174A as another example of the operation in the random number sequence changing circuit 176A provided for 12-bit random numbers. . When the second method is selected by the selector 174A, the numerical data sequence C1 output from the random number generation circuit 173A is cyclically updated from a predetermined initial value to a predetermined final value, and the 12-bit random number sequence is changed. In response to the setting of “1” (= 01h), which is the numerical permutation change data, in the ARSC 175A that is a register, the update rule of the numerical data is changed. In the operation example shown in FIG. 15, the numerical data sequence R1 first output from the random number sequence change circuit 176A is “1 → 2 →... → 4095”. Thereafter, it is assumed that the CPU 104 executes the user program stored in the ROM 105 to write and set “1” (= 01h) as numerical permutation change data to the ARSC 175A at a predetermined timing.

そして、セレクタ174Aによって第2の方式が選択されているときには、ARSC175Aに設定された数値順列変更データが乱数列変更回路176Aによって読み出され、数値データの更新規則を変更するための設定が行われる。このとき、乱数列変更回路176Aは、乱数生成回路173Aから出力された数値データ列C1の値が所定の最終値に達したことに応じて、例えば複数種類の更新規則のいずれかを選択することなどにより、更新規則を変更する。図15に示す動作例では、乱数列変更回路176Aが乱数生成回路173Aから出力された数値データ列C1における最終値に対応する数値データ「4095」を出力した後、数値順列変更データが設定されたことに応じて更新規則を変更する。その後、乱数列変更回路176Aは、変更後の更新規則に従った数値データ列R1として、「4095→4094→…→1」を出力する。ARSC175Aは、乱数列変更回路176Aによって数値順列変更データが読み出されたときに初期化される。そのため、再びARSC175Aに数値順列変更データが設定されるまでは、乱数列変更回路176Aから出力される数値データ列R1が、「4095→4094→…→1」となる。   When the second method is selected by the selector 174A, the numerical permutation change data set in the ARSC 175A is read out by the random number sequence change circuit 176A, and setting for changing the update rule of the numerical data is performed. . At this time, the random number sequence change circuit 176A selects, for example, one of a plurality of types of update rules in response to the value of the numerical data sequence C1 output from the random number generation circuit 173A reaching a predetermined final value. The update rule is changed by, for example. In the operation example shown in FIG. 15, after the random number sequence change circuit 176A outputs the numerical data “4095” corresponding to the final value in the numerical data sequence C1 output from the random number generation circuit 173A, the numerical permutation change data is set. Change the update rules accordingly. Thereafter, the random number sequence changing circuit 176A outputs “4095 → 4094 →... → 1” as the numerical data sequence R1 in accordance with the updated update rule. The ARSC 175A is initialized when the numerical permutation change data is read by the random number sequence change circuit 176A. Therefore, until the numerical permutation change data is set again in the ARSC 175A, the numerical data sequence R1 output from the random number sequence change circuit 176A is “4095 → 4094 →... → 1”.

CPU104がROM105に格納されたユーザプログラムを実行することによって、数値順列変更データとなる“1”(=01h)がARSC175Aに再び設定されると、数値データの更新規則が再度変更される。図15に示す動作例では、乱数列変更回路176Aが乱数生成回路173Aから出力された数値データ列C1における最終値に対応する数値データ「1」を出力した後、数値順列変更データが設定されたことに応じて更新規則を変更する。その後、乱数列変更回路176Aは、変更後の更新規則に従った数値データ列R1として、「1→3→…→4095→2→…4094」を出力する。   When the CPU 104 executes the user program stored in the ROM 105 and “1” (= 01h), which is the numerical permutation change data, is set again in the ARSC 175A, the update rule of the numerical data is changed again. In the operation example shown in FIG. 15, after the random number sequence change circuit 176A outputs the numerical data “1” corresponding to the final value in the numerical data sequence C1 output from the random number generation circuit 173A, the numerical permutation change data is set. Change the update rules accordingly. Thereafter, the random number sequence changing circuit 176A outputs “1 → 3 →... → 4095 → 2 →... 4094” as the numerical data sequence R1 in accordance with the updated update rule.

16ビット乱数用に設けられた乱数列変更回路176Bは、セレクタ174Bによって前述した第2の方式が選択されているときには、乱数生成回路173Bから出力される数値データ列C2が所定の初期値から所定の最終値まで循環的に更新され、かつ、16ビット乱数列変更レジスタであるBRSC175Bに数値順列変更データとなる“1”(=01h)が設定されていることに応答して、数値データの更新規則を変更する。こうして、乱数列変更回路176Bは、変更後の更新規則に従った数値データ列R2を出力することができる。   In the random number sequence changing circuit 176B provided for 16-bit random numbers, when the second method described above is selected by the selector 174B, the numerical data sequence C2 output from the random number generation circuit 173B is predetermined from a predetermined initial value. In response to the fact that “1” (= 01h), which is the numerical permutation change data, is set in BRSC175B, which is a 16-bit random number sequence change register, is updated cyclically to the final value of Change the rules. In this way, the random number sequence change circuit 176B can output the numerical data sequence R2 in accordance with the updated update rule.

図12に示す最大値比較回路177A、177Bは、それぞれ乱数列変更回路176A、176Bから出力される数値データ列R1、R2を所定の最大値と比較することにより、数値データ列R1、R2のうちで使用範囲内の数値データのみを出力する回路である。最大値比較回路177Aは、乱数列変更回路176Aから出力される数値データをROM105のユーザプログラム管理エリアに設定された12ビット乱数最大値(KRMS)と比較する。そして、数値データが最大値以下であるときには、その数値データを最大値比較回路177Aが出力して、乱数値レジスタ181Aに入力させる。他方、数値データが最大値より大きいときには、最大値比較回路177Aが再設定信号MS1を出力する。最大値比較回路177Aから出力された再設定信号MS1が乱数生成回路173Aのクロック入力端子に入力されることにより、乱数生成回路173Aから出力される数値データ、及び乱数列変更回路176Aから出力される数値データが変更される。この変更後に乱数列変更回路176Aから出力される数値データが最大値より大きければ、最大値以下となるまで再設定信号MS1の出力を繰り返す。こうした再設定信号MS2の出力動作を、例えば乱数値レジスタ181Aから出力される格納値更新信号KTの周期よりも十分に短い期間内に行うことにより、最大値以下となる数値データだけを乱数値レジスタ181Aに格納される12ビットの乱数値として出力できるようにする。   The maximum value comparison circuits 177A and 177B shown in FIG. 12 compare the numerical data sequences R1 and R2 output from the random number sequence change circuits 176A and 176B with a predetermined maximum value, respectively, so that the numerical data sequences R1 and R2 This circuit outputs only numeric data within the use range. The maximum value comparison circuit 177A compares the numerical data output from the random number sequence changing circuit 176A with the 12-bit random number maximum value (KRMS) set in the user program management area of the ROM 105. When the numerical data is equal to or less than the maximum value, the numerical value data is output by the maximum value comparison circuit 177A and input to the random value register 181A. On the other hand, when the numerical data is larger than the maximum value, the maximum value comparison circuit 177A outputs the reset signal MS1. The reset signal MS1 output from the maximum value comparison circuit 177A is input to the clock input terminal of the random number generation circuit 173A, whereby the numerical data output from the random number generation circuit 173A and the random number sequence change circuit 176A are output. Numeric data is changed. If the numerical data output from the random number sequence changing circuit 176A after this change is larger than the maximum value, the output of the reset signal MS1 is repeated until it becomes equal to or less than the maximum value. By performing such an output operation of the reset signal MS2 within a period sufficiently shorter than the cycle of the stored value update signal KT output from, for example, the random value register 181A, only numerical data that is equal to or less than the maximum value is stored in the random value register. It can be output as a 12-bit random value stored in 181A.

最大値比較回路177Bは、乱数列変更回路176Bから出力される数値データをROM105のユーザプログラム管理エリアに設定された16ビット乱数最大値(KRXS)と比較する。そして、数値データが最大値以下であるときには、その数値データを最大値比較回路177Bが出力して、乱数値レジスタ181Bに入力させる。他方、数値データが最大値より大きいときには、最大値比較回路177Bが再設定信号MS2を出力する。最大値比較回路177Bから出力された再設定信号MS2が乱数生成回路173Bのクロック入力端子に入力されることにより、乱数生成回路173Bから出力される数値データ、及び乱数列変更回路176Bから出力される数値データが変更される。この変更後に乱数列変更回路176Bから出力される数値データが最大値より大きければ、最大値以下となるまで再設定信号MS2の出力を繰り返す。こうした再設定信号MS2の出力動作を、クロック信号出力回路171から出力されるクロック信号S1の周期よりも十分に短い期間内に行うことにより、最大値以下となる数値データだけを乱数値レジスタ181Bに格納される16ビットの乱数値として出力できるようにする。   The maximum value comparison circuit 177B compares the numerical data output from the random number sequence change circuit 176B with the 16-bit maximum random value (KRXS) set in the user program management area of the ROM 105. When the numerical data is less than or equal to the maximum value, the numerical value data is output by the maximum value comparison circuit 177B and input to the random value register 181B. On the other hand, when the numerical data is larger than the maximum value, the maximum value comparison circuit 177B outputs the reset signal MS2. The reset signal MS2 output from the maximum value comparison circuit 177B is input to the clock input terminal of the random number generation circuit 173B, whereby the numerical data output from the random number generation circuit 173B and the random number sequence change circuit 176B are output. Numeric data is changed. If the numerical data output from the random number sequence changing circuit 176B after this change is larger than the maximum value, the output of the reset signal MS2 is repeated until it becomes equal to or less than the maximum value. By performing such an output operation of the reset signal MS2 within a period sufficiently shorter than the cycle of the clock signal S1 output from the clock signal output circuit 171, only numerical data that is equal to or less than the maximum value is stored in the random value register 181B. It can be output as a stored 16-bit random value.

図16は、12ビット乱数用に設けられた最大値比較回路177Aによる数値データの再設定動作を示す説明図である。図16に示す動作例では、図16(A)に示すように、12ビット乱数最大値(KRMS)が「512」に設定され、乱数列変更回路176Aから出力される数値データ列R1が、「1→2→…→4096」となっているものとする。   FIG. 16 is an explanatory diagram showing a numerical data resetting operation by the maximum value comparison circuit 177A provided for 12-bit random numbers. In the operation example shown in FIG. 16, as shown in FIG. 16A, the 12-bit random number maximum value (KRMS) is set to “512”, and the numerical data sequence R1 output from the random number sequence change circuit 176A is “ 1 → 2 → ... → 4096 ”.

この場合、最大値比較回路177Aは、乱数列変更回路176Aから出力される数値データが「1」から「512」までの期間では、その数値データを出力して、乱数値レジスタ181Aに入力させる。他方、乱数列変更回路176Aから出力される数値データが「512」よりも大きくなると、最大値比較回路177Aは、再設定信号MS1を出力して、乱数生成回路173Aに入力させる。再設定信号MS1の出力動作を繰り返すことにより、最大値比較回路177Aは、乱数列変更回路176Aから出力される数値データを「513」から「4095」まで連続的に変更させ、その後、「1」に戻させる。なお、このとき最大値比較回路177Aから出力される数値データは「512」のままである。そして、この再設定信号MS1の出力動作を通常における乱数値の更新周期よりも十分に短い期間内で行って、数値データ「1」が乱数列変更回路176Aから出力されると、最大値比較回路177Aがこの数値データをそのまま出力して、乱数値レジスタ181Aに入力させる。このような最大値比較回路177Aによる数値データの再設定動作により、12ビット乱数最大値(KRMS)として設定された最大値以下の数値データのみを乱数値レジスタ181Aに入力させることができる。   In this case, the maximum value comparison circuit 177A outputs the numerical data and inputs it to the random value register 181A during the period in which the numerical data output from the random number sequence change circuit 176A is “1” to “512”. On the other hand, when the numerical data output from the random number sequence change circuit 176A becomes larger than “512”, the maximum value comparison circuit 177A outputs the reset signal MS1 to be input to the random number generation circuit 173A. By repeating the output operation of the reset signal MS1, the maximum value comparison circuit 177A continuously changes the numerical data output from the random number sequence change circuit 176A from “513” to “4095”, and thereafter “1”. To return. At this time, the numerical data output from the maximum value comparison circuit 177A remains “512”. When the output operation of the reset signal MS1 is performed within a period sufficiently shorter than the normal update period of the random number value and the numerical data “1” is output from the random number sequence changing circuit 176A, the maximum value comparison circuit 177A outputs this numerical data as it is and inputs it to the random value register 181A. By such numerical value resetting operation by the maximum value comparison circuit 177A, only numerical data equal to or less than the maximum value set as the 12-bit random number maximum value (KRMS) can be input to the random value register 181A.

図12に示す反転回路178は、クロック信号出力回路171から入力されるクロック信号S1を反転させて反転クロック信号S2を生成する。反転回路178は、生成した反転クロック信号S2を出力して、ラッチ信号生成回路180に入力させる。タイマ回路179は、始動口スイッチ22から始動入賞信号SSが入力されている時間を計測し、計測した時間が所定時間(例えば3ミリ秒)に達したときに、始動入賞信号SSを出力して、ラッチ信号生成回路180に入力させる。例えば、タイマ回路179は、アップカウンタまたはダウンカウンタによって構成され、始動入賞信号SSがオン状態となったことに応答して起動する。この場合、タイマ回路179は、始動入賞信号SSがオン状態となっている期間において、内部システムクロックCLKをアップカウントまたはダウンカウントする。そして、アップカウントまたはダウンカウントしたカウント値が3ミリ秒に対応する値となったときに、タイマ回路179が入力された信号を始動入賞信号SSであると判定して、その始動入賞信号SSを出力し、ラッチ信号生成回路180に入力させる。   The inversion circuit 178 shown in FIG. 12 inverts the clock signal S1 input from the clock signal output circuit 171 to generate an inversion clock signal S2. The inverting circuit 178 outputs the generated inverted clock signal S2 and inputs it to the latch signal generating circuit 180. The timer circuit 179 measures the time during which the start winning signal SS is input from the start port switch 22, and outputs the start winning signal SS when the measured time reaches a predetermined time (for example, 3 milliseconds). , Input to the latch signal generation circuit 180. For example, the timer circuit 179 is configured by an up counter or a down counter, and starts in response to the start winning signal SS being turned on. In this case, the timer circuit 179 counts up or down the internal system clock CLK during the period in which the start winning signal SS is in the ON state. Then, when the count value obtained by counting up or down reaches a value corresponding to 3 milliseconds, the timer circuit 179 determines that the input signal is the start winning signal SS, and sets the start winning signal SS as the start winning signal SS. The data is output and input to the latch signal generation circuit 180.

ラッチ信号生成回路180は、例えばフリップフロップなどを用いて構成される。例えばラッチ信号生成回路180がDフリップフロップを用いて構成されている場合には、D入力端子がタイマ回路179の出力端子に接続され、クロック入力端子が反転回路178の出力端子に接続されていればよい。ラッチ信号生成回路180は、タイマ回路179から出力される始動入賞信号SSを、反転回路178から出力される反転クロック信号S2の立上がりエッジに同期して出力することにより、ラッチ信号SLを生成する。   The latch signal generation circuit 180 is configured using, for example, a flip-flop. For example, when the latch signal generation circuit 180 is configured using a D flip-flop, the D input terminal is connected to the output terminal of the timer circuit 179 and the clock input terminal is connected to the output terminal of the inverting circuit 178. That's fine. The latch signal generation circuit 180 generates the latch signal SL by outputting the start winning signal SS output from the timer circuit 179 in synchronization with the rising edge of the inverted clock signal S2 output from the inversion circuit 178.

乱数値レジスタ181A、181Bは、それぞれ最大値比較回路177A、177Bから出力される数値データを乱数値として格納する。図17(A)は、12ビット乱数値レジスタ(ARND)となる乱数値レジスタ181Aの構成例を示すブロック図であり、図17(B)は、16ビット乱数値レジスタ(BRND)となる乱数値レジスタ181Bの構成例を示すブロック図である。乱数値レジスタ181A、181Bはいずれも16ビットのレジスタであるが、12ビット乱数値レジスタ(ARND)となる乱数値レジスタ181Aについては、上位8ビット用のレジスタARND(H)の第7〜第4ビット[ビット7−4]における格納値が無効であり、12ビットの乱数を格納するレジスタとして用いられる。   The random value registers 181A and 181B store numerical data output from the maximum value comparison circuits 177A and 177B, respectively, as random values. FIG. 17A is a block diagram illustrating a configuration example of a random value register 181A serving as a 12-bit random value register (ARND), and FIG. 17B illustrates a random value serving as a 16-bit random value register (BRND). It is a block diagram which shows the structural example of the register | resistor 181B. The random value registers 181A and 181B are both 16-bit registers. However, for the random value register 181A serving as a 12-bit random value register (ARND), the seventh to fourth of the higher-order 8-bit register ARND (H) are used. The stored value in bits [bit 7-4] is invalid, and is used as a register for storing a 12-bit random number.

この実施の形態において、12ビット乱数用に設けられた乱数値レジスタ181Aは、例えばCPU104から供給されるレジスタリード信号がオン状態となったことに応答して、最大値比較回路177Aから入力されている数値データを乱数値として取り込んで格納する。乱数値レジスタ181Aが乱数値を格納したときには、例えば格納値更新信号KTを所定期間にわたりオン状態とした後にオフ状態とする。こうして乱数値レジスタ181Aから出力された格納値更新信号KTの立上がりエッジに応答して、乱数生成回路173Aは数値データを更新することができればよい。他方、16ビット乱数用に設けられた乱数値レジスタ181Bは、ラッチ信号生成回路180から出力されるラッチ信号SLがオン状態となったことに応答して、最大値比較回路177Bから入力される数値データを乱数値として取り込んで格納する。   In this embodiment, the random value register 181A provided for the 12-bit random number is input from the maximum value comparison circuit 177A in response to the register read signal supplied from the CPU 104 being turned on, for example. Numeric data that is stored as a random value. When the random value register 181A stores a random value, for example, the stored value update signal KT is turned on for a predetermined period and then turned off. Thus, the random number generation circuit 173A only needs to be able to update the numerical data in response to the rising edge of the stored value update signal KT output from the random value register 181A. On the other hand, the random value register 181B provided for the 16-bit random number is a numerical value input from the maximum value comparison circuit 177B in response to the latch signal SL output from the latch signal generation circuit 180 being turned on. Capture and store data as random values.

また、乱数回路103には、図17(C)に示すような12ビット乱数最大値読出レジスタ(ARMX)や、図17(D)に示すような16ビット乱数最大値読出レジスタ(BRMX)が設けられていてもよい。図17(C)に示す12ビット乱数最大値読出レジスタ(ARMX)は、ROM105のユーザプログラム管理エリアに設定された12ビット乱数最大値(KRMS)を確認可能とするレジスタであり、16ビットのレジスタのうちで、上位8ビット用のレジスタARMX(H)の第7〜第4ビット[ビット7−4]における格納値を無効とすることにより、12ビットの数値を格納するレジスタとして用いられる。図17(D)に示す16ビット乱数最大値読出レジスタ(BRMX)は、ROM105のユーザプログラム管理エリアに設定された16ビット乱数最大値(KRXS)を確認可能とする16ビットのレジスタである。   The random number circuit 103 is provided with a 12-bit random number maximum value read register (ARMX) as shown in FIG. 17C and a 16-bit random number maximum value read register (BRMX) as shown in FIG. It may be done. The 12-bit random number maximum value reading register (ARMX) shown in FIG. 17C is a register that enables confirmation of the 12-bit random number maximum value (KRMS) set in the user program management area of the ROM 105, and is a 16-bit register. Among them, the stored value in the seventh to fourth bits [bit 7-4] of the register ARMX (H) for the upper 8 bits is invalidated, and used as a register for storing a 12-bit numerical value. A 16-bit random number maximum value reading register (BRMX) shown in FIG. 17D is a 16-bit register that enables confirmation of the 16-bit random number maximum value (KRXS) set in the user program management area of the ROM 105.

図11に示すCPU104は、ROM105に記憶されているユーザプログラムやデータを読出し、RAM106をワークエリアとして使用して、プログラムに従った制御動作を行う。図18は、遊技制御用マイクロコンピュータ100におけるアドレスマップの一例を示す図である。図18に示すように、0000h番地〜01FFh番地の領域は、RAM106に割り当てられたワークエリアである。また、1000h番地〜101Ch番地の領域は、乱数回路103やタイマ回路107、シリアル通信回路108等の内蔵レジスタに割り当てられた内蔵レジスタエリアである。2000h番地〜200Fh番地の領域は、遊技制御用マイクロコンピュータ100に内蔵されたアドレスデコーダに割り当てられたチップセレクト信号デコードエリアである。E000h番地〜FFFFhの領域は、ROM105に割り当てられており、ユーザプログラム管理エリアとユーザプログラム/データエリアとを含んでいる。   The CPU 104 shown in FIG. 11 reads the user program and data stored in the ROM 105, and uses the RAM 106 as a work area to perform a control operation according to the program. FIG. 18 is a diagram showing an example of an address map in the game control microcomputer 100. As shown in FIG. 18, the area from address 0000h to address 01FFh is a work area assigned to the RAM 106. An area of addresses 1000h to 101Ch is a built-in register area allocated to built-in registers such as the random number circuit 103, the timer circuit 107, and the serial communication circuit 108. The area from address 2000h to address 200Fh is a chip select signal decode area assigned to an address decoder built in the game control microcomputer 100. The area from address E000h to FFFFh is allocated to the ROM 105, and includes a user program management area and a user program / data area.

ROM105におけるE080h番地〜FFFFh番地の領域であるユーザプログラム/データエリアには、ユーザにより予め作成されたユーザプログラムやユーザデータが記憶される。ROM105におけるE000h番地〜E07Fh番地の領域であるユーザプログラム管理エリアには、CPU104がユーザプログラムを実行する際に用いられてパチンコ遊技機1の動作内容を設定するためのユーザプログラム管理データが記憶される。   A user program and user data created in advance by the user are stored in the user program / data area that is an area from addresses E080h to FFFFh in the ROM 105. The user program management data that is used when the CPU 104 executes the user program and sets the operation content of the pachinko gaming machine 1 is stored in the user program management area that is an area from addresses E000h to E07Fh in the ROM 105. .

図19は、図18に示すユーザプログラム管理エリアにおけるアドレスマップの一例を示す図である。図19に示すように、E01Bh番地の領域には、遊技制御用マイクロコンピュータ100にて発生する複数種類のIクラス割込み(IRQ)の要因のうちで、最も優先度を高くするものを設定する最優先割込み設定(KHPR)を示すデータが記憶される。図20(A)は、E01Bh番地の領域に記憶される最優先割込み設定データの設定例を示す説明図である。また、図20(B)は、最優先割込み設定データの具体的な設定の一例として、デフォルトにおける割込み要因の優先順位と、E01Bh番地の領域に「05h」を設定した場合における割込み要因の優先順位とを示している。   FIG. 19 is a diagram showing an example of an address map in the user program management area shown in FIG. As shown in FIG. 19, in the area of E01Bh, among the plurality of types of I class interrupt (IRQ) factors generated by the game control microcomputer 100, the highest priority is set. Data indicating the priority interrupt setting (KHPR) is stored. FIG. 20A is an explanatory diagram showing a setting example of the highest priority interrupt setting data stored in the area of address E01Bh. FIG. 20B shows, as an example of specific setting of the highest priority interrupt setting data, the priority order of interrupt factors in default and the priority order of interrupt factors when “05h” is set in the area of E01Bh. It shows.

図20(B)に示すように、E01Bh番地の領域に最優先割込み設定データを設定しないデフォルトの状態では、所定のIRQ端子への信号入力による割込み要因が最も優先順位が高く、続いてタイマ回路107の各チャネル(CH0〜CH3)からの割込み要求の優先順位が高く、シリアル通信回路108からのエラー割込み要求、受信割込み要求、送信割込み要求の順番で優先順位が低くなるように設定されている。すなわち、デフォルトの状態でも、シリアル通信回路108からの割込み要求のうちではエラー割込み要求が、受信割込み要求や送信割込み要求といった他の割込み要因に比べて優先度が高くなっている。そのため、シリアル通信回路108からのエラー割込み要求に基づく割込み処理は、シリアル通信回路108からのエラー割込み要求とは異なる受信割込み要求や送信割込み要求などに基づく割込み処理に比べて、優先して実行されることになる。   As shown in FIG. 20B, in the default state in which the highest priority interrupt setting data is not set in the area of E01Bh, the interrupt factor due to the signal input to the predetermined IRQ terminal has the highest priority, and then the timer circuit The priority of interrupt requests from the 107 channels (CH0 to CH3) is high, and the priority is set to be low in the order of error interrupt request, reception interrupt request, and transmission interrupt request from the serial communication circuit 108. . That is, even in the default state, among the interrupt requests from the serial communication circuit 108, the error interrupt request has a higher priority than other interrupt factors such as a reception interrupt request and a transmission interrupt request. Therefore, interrupt processing based on an error interrupt request from the serial communication circuit 108 is executed with priority over interrupt processing based on a reception interrupt request or transmission interrupt request that is different from the error interrupt request from the serial communication circuit 108. Will be.

また、E01Bh番地の領域に最優先割込み設定データとして「05h」を設定した場合には、シリアル通信回路108からのエラー割込み要求の優先順位が、IRQ端子への信号入力による割込み要因や、タイマ回路107からの割込み要求の優先順位よりも高くなり、遊技制御用マイクロコンピュータ100にて発生する複数種類のIクラス割込み(IRQ)の要因のうちで、最も優先度が高くなる。このように、E01Bh番地の領域に最優先割込み設定データを設定することで、複数種類のIクラス割込み(IRQ)の要因における優先順位を、デフォルトの設定から変更することができる。   When “05h” is set as the highest priority interrupt setting data in the area of address E01Bh, the priority of the error interrupt request from the serial communication circuit 108 is determined by the interrupt factor due to the signal input to the IRQ terminal, the timer circuit It becomes higher than the priority of the interrupt request from 107, and has the highest priority among the factors of a plurality of types of I class interrupts (IRQ) generated in the game control microcomputer 100. In this way, by setting the highest priority interrupt setting data in the area of address E01Bh, the priority order of the factors of a plurality of types of I class interrupts (IRQ) can be changed from the default setting.

図19に示すE01Ch番地の領域と、E01Dh番地の領域には、乱数回路103の初期設定を行うために用いられる第1の乱数初期設定(KRSS1)を示すデータと、第2の乱数初期設定(KRSS2)を示すデータが記憶される。図21(A)は、E01Ch番地の領域に記憶される第1の乱数初期設定(KRSS1)を示すデータの内容を例示する説明図である。図21(B)は、E01Dh番地の領域に記憶される第2の乱数初期設定(KRSS2)を示すデータの内容を例示する説明図である。   In the area of E01Ch address and the area of E01Dh shown in FIG. Data indicating KRSS2) is stored. FIG. 21A is an explanatory diagram illustrating the contents of data indicating the first random number initial setting (KRSS1) stored in the area of E01Ch address. FIG. 21B is an explanatory diagram illustrating the contents of data indicating the second random number initial setting (KRSS2) stored in the area of E01Dh address.

図21(A)及び(B)に示すように、第1及び第2の乱数初期設定データはいずれも8ビットのデータから構成されるが、第1の乱数初期設定データの第7〜第5ビット[ビット7−5]は、未使用となっている。図21(A)に示す第1乱数初期設定データの第4及び第3ビット[ビット4−3]は、乱数回路103にて生成される12ビット乱数と16ビット乱数のうちで使用する乱数を示している。図21(A)に示す例では、第1乱数初期設定データの第4及び第3ビット[ビット4−3]が“00”であるときには12ビット乱数及び16ビット乱数のいずれも使用しないことを示し、“01”であるときには12ビット乱数のみを使用することを示し、“10”であるときには16ビット乱数のみを使用することを示し、“11”であるときには12ビット乱数及び16ビット乱数の双方を使用することを示している。第1乱数初期設定データの第2ビット[ビット2]は、乱数回路103にて生成される16ビット乱数の更新周期についての設定を示している。図21(A)に示す例では、第1乱数初期設定データの第2ビット[ビット2]が“0”であるときには16ビット乱数を内部システムクロックCLKの周期で更新することを示し、“1”であるときには16ビット乱数を内部システムクロックCLKの16倍の周期で更新することを示している。   As shown in FIGS. 21A and 21B, each of the first and second random number initial setting data is composed of 8-bit data, but the seventh to fifth of the first random number initial setting data. Bits [bits 7-5] are unused. The fourth and third bits [bit 4-3] of the first random number initial setting data shown in FIG. 21A are random numbers to be used among the 12-bit random number and the 16-bit random number generated by the random number circuit 103. Show. In the example shown in FIG. 21A, when the fourth and third bits [bit 4-3] of the first random number initial setting data are “00”, neither the 12-bit random number nor the 16-bit random number is used. "01" indicates that only a 12-bit random number is used, "10" indicates that only a 16-bit random number is used, and "11" indicates that a 12-bit random number and a 16-bit random number are used. It shows that both are used. The second bit [bit 2] of the first random number initial setting data indicates the setting for the update cycle of the 16-bit random number generated by the random number circuit 103. In the example shown in FIG. 21A, when the second bit [bit 2] of the first random number initial setting data is “0”, the 16-bit random number is updated at the cycle of the internal system clock CLK. "" Indicates that a 16-bit random number is updated at a cycle 16 times the internal system clock CLK.

第1乱数初期設定データの第1及び第0ビット[ビット1−0]は、12ビット乱数における2周目以降のスタート値についての設定を示している。図21(A)に示す例では、第1乱数初期設定データの第1及び第0ビット[1−0]が“00”であるときにはスタート値の変更を行わないことを示し、“01”であるときには遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づく値に変更することを示し、“10”であるときにはユーザRAMであるRAM106における格納データの加算値に変更することを示し、“11”であるときにはユーザRAMであるRAM106における指定アドレスの格納値に変更することを示している。   The first and 0th bits [bits 1-0] of the first random number initial setting data indicate settings for the start values after the second round in the 12-bit random number. In the example shown in FIG. 21A, when the first and 0th bits [1-0] of the first random number initial setting data are “00”, the start value is not changed. In some cases, the value is changed to a value based on an ID number which is unique identification information assigned to each game control microcomputer 100. In the case of "10", the value is changed to an addition value of stored data in the RAM 106 as a user RAM. "11" indicates that the value is changed to the value stored in the designated address in the RAM 106 which is the user RAM.

図21(B)に示す第2乱数初期設定データの第7ビット[ビット7]は、12ビット乱数における1周目のスタート値についての設定を示している。図21(B)に示す例では、第2乱数初期設定データの第7ビット[ビット7]が“0”であるときには12ビット乱数における1周目のスタート値をデフォルト値である「001h」(12ビット値の16進数表示)とすることを示し、“1”であるときには遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づく値とすることを示している。   The seventh bit [bit 7] of the second random number initial setting data shown in FIG. 21B indicates the setting for the start value of the first round in the 12-bit random number. In the example shown in FIG. 21B, when the seventh bit [bit 7] of the second random number initial setting data is “0”, the start value of the first round in the 12-bit random number is “001h” (the default value). When the value is “1”, the value is based on an ID number that is unique identification information assigned to each game control microcomputer 100.

第2乱数初期設定データの第6及び第5ビット[ビット6−5]は、12ビット乱数における乱数列の変更方法についての設定を示している。図21(B)に示す例では、第2乱数初期設定データの第6及び第5ビット[ビット6−5]が“00”であるときには順列を変更しない(第3の方式とする)ことを示し、“10”であるときには2周目以降にてユーザプログラムによる変更を可能とする(第2の方式とする)ことを示し、“11”であるときには2周目以降にて自動的に変更する(第1の方式とする)ことを示している。   The sixth and fifth bits [bits 6-5] of the second random number initial setting data indicate settings for a method for changing a random number sequence in a 12-bit random number. In the example shown in FIG. 21B, when the sixth and fifth bits [bits 6-5] of the second random number initial setting data are “00”, the permutation is not changed (the third method is used). When it is “10”, it indicates that the user program can be changed after the second lap (the second method), and when it is “11”, it is automatically changed after the second lap. (The first method).

第2乱数初期設定データの第4ビット[ビット4]は、16ビット乱数における1周目のスタート値についての設定を示している。図21(B)に示す例では、第2乱数初期設定データの第4ビット[ビット4]が“0”であるときには16ビット乱数における1周目のスタート値をデフォルト値である「0001h」(16ビット値の16進数表示)とすることを示し、“1”であるときには遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づく値とすることを示している。   The fourth bit [bit 4] of the second random number initial setting data indicates the setting for the start value of the first round in the 16-bit random number. In the example shown in FIG. 21B, when the fourth bit [bit 4] of the second random number initial setting data is “0”, the start value of the first round in the 16-bit random number is the default value “0001h” ( When the value is “1”, the value is based on an ID number that is unique identification information assigned to each game control microcomputer 100.

第2乱数初期設定データの第3及び第2ビット[ビット3−2]は、16ビット乱数における2周目以降のスタート値についての設定を示している。図21(B)に示す例では、第2乱数初期設定データの第3及び第2ビット[ビット3−2]が“00”であるときにはスタート値の変更を行わないことを示し、“01”であるときには遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づく値に変更することを示し、“10”であるときにはユーザRAMであるRAM106における格納データの加算値に変更することを示し、“11”であるときにはユーザRAMであるRAM106における指定アドレスの格納値に変更することを示している。   The third and second bits [bit 3-2] of the second random number initial setting data indicate the setting for the start value after the second round in the 16-bit random number. In the example shown in FIG. 21B, when the third and second bits [bit 3-2] of the second random number initial setting data are “00”, it indicates that the start value is not changed, and “01” Indicates that the value is changed to a value based on an ID number that is unique identification information assigned to each game control microcomputer 100, and if “10”, the value is added to the added value of the stored data in the RAM 106 as the user RAM. In the case of “11”, it indicates that the value is changed to the value stored in the designated address in the RAM 106 which is the user RAM.

第2乱数初期設定データの第1及び第0ビット[ビット1−0]は、16ビット乱数における乱数列の変更方法についての設定を示している。図21(B)に示す例では、第2乱数初期設定データの第1及び第0ビット[ビット1−0]が“00”であるときには順列を変更しない(第3の方式とする)ことを示し、“10”であるときには2周目以降にてユーザプログラムによる変更を可能とする(第2の方式とする)ことを示し、“11”であるときには2周目以降にて自動的に変更する(第1の方式とする)ことを示している。   The first and 0th bits [bits 1-0] of the second random number initial setting data indicate settings for a method for changing a random number sequence in a 16-bit random number. In the example shown in FIG. 21B, when the first and 0th bits [bits 1-0] of the second random number initial setting data are “00”, the permutation is not changed (the third method). When it is “10”, it indicates that the user program can be changed after the second lap (the second method), and when it is “11”, it is automatically changed after the second lap. (The first method).

図19に示すE01Eh番地の領域と、E01Fh番地の領域には、乱数回路103にて生成される12ビット乱数の最大値を設定するために用いられる12ビット乱数最大値(KRMS)を示すデータが記憶される。図19に示す例では、E01Eh番地の領域に、12ビット乱数最大値(KRMS)を示すデータの上位バイト(8ビット)が記憶され、E01Fh番地の領域に、12ビット乱数最大値(KRMS)を示すデータの下位バイト(8ビット)が記憶される。   In the area of E01Eh address and the area of E01Fh shown in FIG. 19, data indicating a 12-bit random number maximum value (KRMS) used to set the maximum value of the 12-bit random number generated by the random number circuit 103 is stored. Remembered. In the example shown in FIG. 19, the upper byte (8 bits) of the data indicating the 12-bit random number maximum value (KRMS) is stored in the area of E01Eh address, and the 12-bit random number maximum value (KRMS) is stored in the area of E01Fh address. The lower byte (8 bits) of the indicated data is stored.

E020h番地の領域と、E021h番地の領域には、乱数回路103にて生成される16ビット乱数の最大値を設定するために用いられる16ビット乱数最大値(KRXS)を示すデータが記憶される。図19に示す例では、E020h番地の領域に、16ビット乱数最大値(KRXS)を示すデータの上位バイト(8ビット)が記憶され、E021h番地の領域に、16ビット乱数最大値(KRXS)を示すデータの下位バイト(8ビット)が記憶される。   Data indicating the maximum 16-bit random number (KRXS) used to set the maximum value of the 16-bit random number generated by the random number circuit 103 is stored in the area of the address E020h and the area of the address E021h. In the example shown in FIG. 19, the upper byte (8 bits) of the data indicating the maximum 16-bit random number (KRXS) is stored in the area of address E020h, and the maximum 16-bit random number (KRXS) is stored in the area of address E021h. The lower byte (8 bits) of the indicated data is stored.

図11に示す遊技制御用マイクロコンピュータ100が備えるROM105には、ゲーム制御用のユーザプログラムの他にも、遊技の進行を制御するために用いられる各種のデータテーブルが格納されている。例えば、ROM105は、CPU104が各種の判定や決定を行うために用意された複数の判定テーブルや決定テーブルを構成するテーブルデータを記憶する。判定テーブルとしては、特別図柄表示装置4による特図ゲームにおける確定特別図柄を大当り図柄として可変表示結果を大当りとするか否かを判定するために参照される大当り判定テーブルや、大当りとするときに確変大当りとするか通常大当りとするかを判定するために参照される確変判定テーブル、ハズレとするときに飾り図柄の可変表示態様をリーチとするか否かを判定するために参照されるリーチ判定テーブルなどが含まれている。例えば、大当り判定テーブルは、可変表示結果を大当りとするか否かの判定結果と、乱数回路103から読出される乱数値(一例としては、16ビット乱数の値)とを対応付ける判定データなどから構成されていればよい。   In addition to the game control user program, the ROM 105 provided in the game control microcomputer 100 shown in FIG. 11 stores various data tables used for controlling the progress of the game. For example, the ROM 105 stores table data constituting a plurality of determination tables and determination tables prepared for the CPU 104 to perform various determinations and determinations. The determination table includes a big hit determination table that is referred to for determining whether or not the variable display result is a big hit by using the confirmed special symbol in the special symbol game by the special symbol display device 4 as a big hit symbol, or a big hit. Probability change determination table that is referred to determine whether to make a promiscuous big hit or a normal big hit, reach determination that is referred to in order to determine whether or not the variable display mode of decorative symbols is to be reached when lost Includes tables and the like. For example, the jackpot determination table is composed of determination data for associating a determination result as to whether or not the variable display result is a jackpot with a random value read from the random number circuit 103 (for example, a 16-bit random number value). It only has to be done.

また、ROM105に記憶される判定テーブルには、特図ゲームでの可変表示結果として導出表示する確定特別図柄を決定するための確定特別図柄決定テーブルや、特別図柄表示装置4による特図ゲームや画像表示装置5における飾り図柄の可変表示中での図柄等の可変表示パターンを決定するための可変表示パターン決定テーブル、各種の演出表示を実行するか否かを決定するための演出表示実行決定テーブルなどが含まれている。その他にも、遊技制御用マイクロコンピュータ100が備えるROM105には、例えば遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーなどといった、所定の固定情報が記憶されている。   In addition, the determination table stored in the ROM 105 includes a confirmed special symbol determination table for determining a confirmed special symbol to be derived and displayed as a variable display result in the special symbol game, a special symbol game or an image by the special symbol display device 4. A variable display pattern determination table for determining a variable display pattern such as a symbol during variable display of decorative symbols on the display device 5, an effect display execution determination table for determining whether or not to perform various effect displays, etc. It is included. In addition, the ROM 105 included in the game control microcomputer 100 stores predetermined fixed information such as an ID number that is unique identification information assigned to each game control microcomputer 100.

遊技制御用マイクロコンピュータ100が備えるRAM106には、パチンコ遊技機1における遊技状態などを制御するために用いられる各種のデータを保持する領域として、例えば図22に示すような遊技制御用データ保持エリア130が設けられている。また、RAM106の少なくとも一部は、電源基板10において作成されるバックアップ電源によってバックアップされているバックアップRAMである。すなわち、パチンコ遊技機1への電力供給が停止しても、所定期間はRAM106の少なくとも一部の内容は保存される。この実施の形態では、RAM106の全体がバックアップされているバックアップRAMであるものとする。図22に示す遊技制御用データ保持エリア130は、特図保留記憶部131と、確定特別図柄記憶部132と、遊技制御フラグ設定部133と、遊技制御タイマ設定部134と、遊技制御カウンタ設定部135と、遊技制御バッファ設定部136とを備えている。   In the RAM 106 provided in the game control microcomputer 100, for example, a game control data holding area 130 as shown in FIG. 22 is provided as an area for holding various data used for controlling the game state and the like in the pachinko gaming machine 1. Is provided. Further, at least a part of the RAM 106 is a backup RAM that is backed up by a backup power source created in the power supply substrate 10. That is, even if the power supply to the pachinko gaming machine 1 is stopped, at least a part of the contents of the RAM 106 is stored for a predetermined period. In this embodiment, it is assumed that the entire RAM 106 is a backup RAM that is backed up. The game control data holding area 130 shown in FIG. 22 includes a special figure storage unit 131, a confirmed special symbol storage unit 132, a game control flag setting unit 133, a game control timer setting unit 134, and a game control counter setting unit. 135 and a game control buffer setting unit 136.

特図保留記憶部131は、普通可変入賞球装置6に設けられた始動入賞口に遊技球が入賞して特別図柄表示装置4による特図ゲームを実行するための始動条件が成立したものの、従前の特図ゲームを実行中である等の理由のために可変表示を開始するための開始条件が成立していない特図ゲームに関する保留情報を記憶する。例えば、特図保留記憶部131は、始動入賞口への入賞順に保留番号と関連付けて、その入賞による始動条件の成立に基づいてCPU104により乱数回路103から抽出された大当り判定用の乱数値を示す数値データを保留データとして、その数が所定の上限値(例えば「4」)に達するまで記憶する。   The special figure storage unit 131 has a start condition for executing the special figure game by the special symbol display device 4 when the game ball wins the start winning opening provided in the ordinary variable winning ball device 6 and the special symbol display device 4 is executed. The hold information relating to the special figure game in which the start condition for starting the variable display is not satisfied due to the reason that the special figure game is being executed is stored. For example, the special figure hold storage unit 131 associates with the hold numbers in the order of winning to the start winning opening, and shows the random value for jackpot determination extracted from the random number circuit 103 by the CPU 104 based on the establishment of the starting condition by the winning. Numerical data is stored as pending data until the number reaches a predetermined upper limit (eg, “4”).

確定特別図柄記憶部132は、特別図柄表示装置4による特図ゲームにて可変表示結果として導出表示される確定特別図柄を示すデータを記憶する。遊技制御フラグ設定部133は、パチンコ遊技機1における遊技状態やスイッチ回路111を介して各入賞口スイッチ等から伝送された信号などに応じて、各々セットあるいはクリアされる複数種類のフラグを設定するためのデータを記憶する。遊技制御タイマ設定部134は、パチンコ遊技機1での遊技制御に用いられる複数種類のタイマ値を示すデータを記憶する。遊技制御カウンタ設定部135は、パチンコ遊技機1での遊技制御に用いられる複数種類のカウント値を示すデータを記憶する。遊技制御バッファ設定部136は、パチンコ遊技機1での遊技制御に用いられる各種のデータを一時的に記憶する。なお、フラグ設定やカウンタ/タイマに用いる回路は、RAM106とは別に設けたレジスタ回路などによって構成してもよい。   The confirmed special symbol storage unit 132 stores data indicating a confirmed special symbol derived and displayed as a variable display result in the special symbol game by the special symbol display device 4. The game control flag setting unit 133 sets a plurality of types of flags that are set or cleared in accordance with the gaming state in the pachinko gaming machine 1 and signals transmitted from the winning prize switch or the like via the switch circuit 111. For storing data. The game control timer setting unit 134 stores data indicating a plurality of types of timer values used for game control in the pachinko gaming machine 1. The game control counter setting unit 135 stores data indicating a plurality of types of count values used for game control in the pachinko gaming machine 1. The game control buffer setting unit 136 temporarily stores various data used for game control in the pachinko gaming machine 1. The circuit used for flag setting and counter / timer may be constituted by a register circuit provided separately from the RAM 106.

遊技制御フラグ設定部133には、例えばクリアフラグや、メインバックアップフラグ、払出用通信エラー検出フラグ、シリアル通信エラーフラグ、満タン報知中フラグ、デモ表示フラグ、12ビット乱数用スタート値変更フラグ、16ビット乱数用スタート値変更フラグ、12ビット乱数順列変更フラグ、16ビット乱数順列変更フラグ、特別図柄プロセスフラグ、大当りフラグ、確変中フラグ、賞球プロセスフラグ、再送信フラグ、賞球ACK受信フラグ、払出エラー通知フラグ、払出エラー報知フラグ、払出エラー解除フラグなどが設けられている。   The game control flag setting unit 133 includes, for example, a clear flag, a main backup flag, a payout communication error detection flag, a serial communication error flag, a full notification flag, a demo display flag, a 12-bit random number start value change flag, 16 Bit random number start value change flag, 12-bit random number permutation change flag, 16-bit random number permutation change flag, special symbol process flag, jackpot flag, probable change flag, prize ball process flag, retransmission flag, prize ball ACK reception flag, payout An error notification flag, a payout error notification flag, a payout error release flag, and the like are provided.

クリアフラグは、パチンコ遊技機1への電力供給が開始されたときに電源基板10が備えるクリアスイッチ304からのクリア信号がオン状態となっているか否かを示す。すなわち、電力供給の開始時にクリア信号がオン状態であればクリアフラグがオン状態にセットされる一方、クリア信号がオフ状態であればクリアフラグはオフ状態に保持される。メインバックアップフラグは、パチンコ遊技機1への電力供給が停止されたときに遊技制御用マイクロコンピュータ100により所定の記憶保護処理が実行されたか否かを示す。例えば、メインバックアップフラグの値として「55H」が設定されているときにはバックアップあり(オン状態)を示す一方、「55H」以外の値が設定されているときにはバックアップなし(オフ状態)を示している。   The clear flag indicates whether or not a clear signal from the clear switch 304 included in the power supply board 10 is in an ON state when power supply to the pachinko gaming machine 1 is started. That is, if the clear signal is in the on state at the start of power supply, the clear flag is set in the on state, while if the clear signal is in the off state, the clear flag is held in the off state. The main backup flag indicates whether or not a predetermined memory protection process has been executed by the gaming control microcomputer 100 when power supply to the pachinko gaming machine 1 is stopped. For example, when “55H” is set as the value of the main backup flag, backup is present (ON state), while when a value other than “55H” is set, backup is not present (OFF state).

払出用通信エラー検出フラグは、主基板11と払出制御基板15との間での通信動作においてエラーが発生したことを示す。すなわち、主基板11において払出制御基板15との通信を行うための処理を実行中に所定のエラーが発生すると払出用通信エラー検出フラグがオン状態にセットされる。シリアル通信エラーフラグは、シリアル通信回路108での通信動作においてエラーが発生したことを示す。例えば、シリアル通信エラーフラグは、シリアル通信回路108からのエラー割込み要求に応答してオン状態にセットされる。満タン報知中フラグは、満タンスイッチ26からの検出信号がオン状態であることに応じて、画像表示装置5における表示などにより下皿33が満タン状態である旨の報知が開始されるときに、オン状態にセットされる。デモ表示フラグは、主基板11から演出制御基板12に対してデモ表示コマンドが送信されるときにオン状態にセットされる一方で、特別図柄表示装置4による特図ゲームが開始されるとともに画像表示装置5における飾り図柄の可変表示が開始されるときにクリアされてオフ状態となる。あるいは、デモ表示フラグは、例えば特別図柄表示装置4による特図ゲームでの確定特別図柄としてハズレ図柄が停止表示されたときや、大当り遊技状態が終了したときなどのように、予め定められた所定のタイミングにてクリアされてオフ状態となってもよい。   The payout communication error detection flag indicates that an error has occurred in the communication operation between the main board 11 and the payout control board 15. That is, when a predetermined error occurs during execution of processing for performing communication with the payout control board 15 in the main board 11, the payout communication error detection flag is set to the on state. The serial communication error flag indicates that an error has occurred in the communication operation in the serial communication circuit 108. For example, the serial communication error flag is set to an on state in response to an error interrupt request from the serial communication circuit 108. The full tank notification flag is used when notification that the lower plate 33 is full is started by display on the image display device 5 in response to the detection signal from the full switch 26 being in an on state. Is set to the on state. The demo display flag is set to an on state when a demo display command is transmitted from the main board 11 to the effect control board 12, while the special symbol display device 4 starts a special figure game and displays an image. It is cleared and turned off when variable display of decorative symbols in the device 5 is started. Alternatively, the demo display flag may be a predetermined predetermined value such as when a lost symbol is stopped and displayed as a confirmed special symbol in the special symbol game by the special symbol display device 4 or when the big hit gaming state is ended. It may be cleared at the timing and be in an off state.

12ビット乱数用スタート値変更フラグは、乱数回路103にて発生する12ビット乱数の2周目以降におけるスタート値をユーザプログラムにより変更するか否かを示す。例えば、乱数回路103に設けられた乱数生成回路173Aからの乱数一巡信号RIJ1がCPU104に対して出力される場合には、乱数一巡信号RIJ1がオン状態となったことに応答してCPU104により12ビット乱数用スタート値変更フラグをオン状態にセットするようにすればよい。あるいは、CPU104が所定のタイマ割込み処理を実行中において予め定められた所定時間の経過を検出したときに、12ビット乱数用スタート値変更フラグをオン状態にセットするようにしてもよい。12ビット乱数用スタート値変更フラグがオン状態であるときには、乱数回路103にて発生する12ビット乱数における次の周期のスタート値を変更するための処理が、CPU104によって実行される。   The 12-bit random number start value change flag indicates whether the user program changes the start value after the second round of the 12-bit random number generated by the random number circuit 103. For example, when the random number round circuit RIJ1 from the random number generation circuit 173A provided in the random number circuit 103 is output to the CPU 104, the CPU 104 responds to the fact that the random round circuit RIJ1 is turned on by the CPU 104 to 12 bits. The random value start value change flag may be set to the on state. Alternatively, when the CPU 104 detects the elapse of a predetermined time during execution of the predetermined timer interrupt process, the 12-bit random number start value change flag may be set to an on state. When the 12-bit random number start value change flag is in the ON state, the CPU 104 executes processing for changing the start value of the next cycle in the 12-bit random number generated by the random number circuit 103.

16ビット乱数用スタート値変更フラグは、乱数回路103にて発生する16ビット乱数の2周目以降におけるスタート値をユーザプログラムにより変更するか否かを示す。例えば、乱数回路103に設けられた乱数生成回路173Bからの乱数一巡信号RIJ2がCPU104に出力される場合には、乱数一巡信号RIJ2がオン状態となったことに応答してCPU104により16ビット乱数用スタート値変更フラグをオン状態にセットするようにすればよい。あるいは、CPU104が所定のタイマ割込み処理を実行中において予め定められた所定時間の経過を検出したときに、16ビット乱数用スタート値変更フラグをオン状態にセットするようにしてもよい。16ビット乱数用スタート値変更フラグがオン状態であるときには、乱数回路103にて発生する16ビット乱数における次の周期のスタート値を変更するための処理が、CPU104によって実行される。   The 16-bit random number start value change flag indicates whether or not the user program changes the start value after the second round of the 16-bit random number generated by the random number circuit 103. For example, when the random number round circuit RIJ2 from the random number generation circuit 173B provided in the random number circuit 103 is output to the CPU 104, the CPU 104 uses the random number round circuit RIJ2 for the 16-bit random number in response to the ON state. The start value change flag may be set to the on state. Alternatively, the 16-bit random number start value change flag may be set to the on state when the CPU 104 detects the elapse of a predetermined time during execution of the predetermined timer interruption process. When the 16-bit random number start value change flag is in the ON state, the CPU 104 executes a process for changing the start value of the next period in the 16-bit random number generated by the random number circuit 103.

12ビット乱数順列変更フラグは、乱数回路103にて発生する12ビット乱数の2周目以降における順列をユーザプログラムにより変更するか否かを示す。例えば、乱数回路103に設けられた乱数生成回路173Aからの乱数一巡信号RIJ1がCPU104に対して出力される場合には、乱数一巡信号RIJ1がオン状態となったことに応答してCPU104により12ビット乱数順列変更フラグをオン状態にセットするようにすればよい。あるいは、CPU104が所定のタイマ割込み処理を実行中において予め定められた所定時間の経過を検出したときに、12ビット乱数順列変更フラグをオン状態にセットするようにしてもよい。12ビット乱数順列変更フラグがオン状態であるときには、乱数回路103にて発生する12ビット乱数における次の周期の順列を変更するための処理が、CPU104によって実行される。   The 12-bit random number permutation change flag indicates whether or not the permutation in the second and subsequent rounds of the 12-bit random number generated by the random number circuit 103 is changed by the user program. For example, when the random number round circuit RIJ1 from the random number generation circuit 173A provided in the random number circuit 103 is output to the CPU 104, the CPU 104 responds to the fact that the random round circuit RIJ1 is turned on by the CPU 104 to 12 bits. The random number permutation change flag may be set to the on state. Alternatively, the 12-bit random number permutation flag may be set to the on state when the CPU 104 detects the elapse of a predetermined time during execution of the predetermined timer interrupt process. When the 12-bit random number permutation change flag is in the ON state, the CPU 104 executes processing for changing the permutation of the next cycle in the 12-bit random number generated in the random number circuit 103.

16ビット乱数順列変更フラグは、乱数回路103にて発生する16ビット乱数の2周目以降における順列をユーザプログラムにより変更するか否かを示す。例えば、乱数回路103に設けられた乱数生成回路173Bからの乱数一巡信号RIJ2がCPU104に対して出力される場合には、乱数一巡信号RIJ2がオン状態となったことに応答してCPU104により16ビット乱数順列変更フラグをオン状態にセットするようにすればよい。あるいは、CPU104が所定のタイマ割込み処理を実行中において予め定められた所定時間の経過を検出したときに、16ビット乱数順列変更フラグをオン状態にセットするようにしてもよい。16ビット乱数順列変更フラグがオン状態であるときには、乱数回路103にて発生する16ビット乱数における次の周期の順列を変更するための処理が、CPU104によって実行される。   The 16-bit random number permutation flag indicates whether or not the permutation in the second and subsequent rounds of the 16-bit random number generated by the random number circuit 103 is changed by the user program. For example, when the random number round circuit RIJ2 from the random number generation circuit 173B provided in the random number circuit 103 is output to the CPU 104, the CPU 104 responds to the fact that the random round circuit RIJ2 is turned on by the CPU 104 to 16 bits. The random number permutation change flag may be set to the on state. Alternatively, the CPU 104 may set the 16-bit random number permutation change flag to the ON state when it detects the elapse of a predetermined time during execution of the predetermined timer interrupt process. When the 16-bit random number permutation change flag is in the ON state, the CPU 104 executes processing for changing the permutation of the next cycle in the 16-bit random number generated in the random number circuit 103.

特別図柄プロセスフラグは、特別図柄表示装置4に対応して実行される特別図柄プロセス処理(図31のステップS80、及び図43)において、どの処理を選択・実行すべきかを示す。大当りフラグは、特別図柄表示装置4による特図ゲームを開始するときに、その特図ゲームにおける可変表示結果が大当りとなる旨の判定がなされると、オン状態にセットされる。その後、特図ゲームにて大当りとなったことに基づく大当り遊技状態が終了するときには、大当りフラグはクリアされてオフ状態となる。確変中フラグは、特別図柄表示装置4による特図ゲームにおける可変表示結果が確変大当りとなり、大当りとなったことに基づく大当り遊技状態が終了するときなどに、オン状態にセットされる。他方、確変中フラグは、例えば高確率状態における特図ゲームの実行回数が所定の確変終了基準値に達したときや、特図ゲームにおける可変表示結果が通常大当りとなるときなどに、クリアされてオフ状態となる。   The special symbol process flag indicates which process should be selected and executed in the special symbol process (step S80 in FIG. 31 and FIG. 43) executed corresponding to the special symbol display device 4. The big hit flag is set to the on state when it is determined that the variable display result in the special figure game is a big hit when the special symbol display device 4 starts the special figure game. After that, when the big hit gaming state based on the big win in the special figure game is finished, the big hit flag is cleared and turned off. The probable change flag is set to the on state when the variable display result in the special symbol game by the special symbol display device 4 becomes the probable big hit and the big hit gaming state based on the big hit is ended. On the other hand, the flag during probability change is cleared, for example, when the number of executions of the special figure game in the high probability state reaches a predetermined probability change end reference value or when the variable display result in the special figure game is a normal big hit. Turns off.

賞球プロセスフラグは、賞球個数の設定などを行う賞球処理(図31のステップS77、及び図37(A))において、どの処理を選択・実行すべきかを示す。再送信フラグは、払出制御基板15に対して払出制御コマンドを送信するための設定を行った後、払出制御基板15からの賞球ACKコマンドを受信できずに所定の賞球ACK待ち時間が経過したときに、オン状態にセットされる。他方、再送信フラグは、賞球ACK待ち時間が経過する前に賞球ACKコマンドを受信できたときなどに、クリアされてオフ状態となる。賞球ACK受信フラグは、払出制御基板15からの賞球ACKコマンドを受信できたか否かを示す。すなわち、賞球ACK受信フラグは、賞球ACKコマンドを受信したときにオン状態にセットされる。   The prize ball process flag indicates which process should be selected and executed in the prize ball process (step S77 in FIG. 31 and FIG. 37A) for setting the number of prize balls. After the re-transmission flag is set to transmit a payout control command to the payout control board 15, a predetermined prize ball ACK waiting time elapses without receiving a prize ball ACK command from the payout control board 15 Is set to the on state. On the other hand, the retransmission flag is cleared and turned off, for example, when a prize ball ACK command is received before the prize ball ACK waiting time elapses. The prize ball ACK reception flag indicates whether or not a prize ball ACK command from the payout control board 15 has been received. That is, the prize ball ACK reception flag is set to the on state when the prize ball ACK command is received.

払出エラー通知フラグは、払出制御基板15からの払出エラー通知コマンドを受信したか否かを示す。すなわち、払出エラー通知フラグは、払出エラー通知コマンドを受信したときにオン状態にセットされる。払出エラー報知フラグは、払出エラー通知フラグがオン状態となったことに応じて、画像表示装置5における表示により異常が発生した旨の報知が開始されるときに、オン状態にセットされる。払出エラー解除フラグは、払出制御基板15からの払出エラー解除コマンドを受信したか否かを示す。すなわち、払出エラー解除フラグは、払出エラー解除コマンドを受信したときにオン状態にセットされる。   The payout error notification flag indicates whether a payout error notification command from the payout control board 15 has been received. That is, the payout error notification flag is set to the on state when the payout error notification command is received. The payout error notification flag is set to the on state when notification that an abnormality has occurred due to the display on the image display device 5 is started in response to the payout error notification flag being turned on. The payout error cancel flag indicates whether or not a payout error cancel command from the payout control board 15 has been received. That is, the payout error release flag is set to the on state when the payout error release command is received.

遊技制御タイマ設定部134には、例えば発射制御タイマ、発射許可制御タイマ、供給許可制御タイマ、賞球制御タイマ、可変表示時間タイマなどが設けられている。発射制御タイマは、発射装置19や球送り装置62の動作を定期的に制御するための発射制御時間を計測するためのものである。発射許可制御タイマは、発射装置19にオン状態の発射許可信号を送信する期間を計測するためのものである。供給許可制御タイマは、球送り装置62にオン状態の供給許可信号を送信する期間を計測するためのものである。賞球制御タイマは、主基板11において賞球の払出に関する各種の処理を実行する際に様々な時間を計測するために用いられる。可変表示時間タイマは、特図ゲームにおける特別図柄の可変表示時間(総変動時間)を計測するためのものである。   The game control timer setting unit 134 is provided with, for example, a launch control timer, a launch permission control timer, a supply permission control timer, a prize ball control timer, a variable display time timer, and the like. The firing control timer is for measuring a firing control time for periodically controlling the operations of the launching device 19 and the ball feeding device 62. The firing permission control timer is for measuring a period during which the firing permission signal is transmitted to the launching device 19. The supply permission control timer is for measuring a period during which the supply permission signal in the on state is transmitted to the ball feeder 62. The prize ball control timer is used to measure various times when various processes related to the prize ball payout are executed on the main board 11. The variable display time timer is for measuring the variable display time (total variation time) of special symbols in the special game.

遊技制御カウンタ設定部135には、例えばウェイトカウンタや、総賞球数カウンタ、第1〜第3払出数指示カウンタ、コマンド送信回数カウンタ、コマンド受信個数カウンタ、コマンド送信待ちカウンタなどが設けられている。また、遊技制御カウンタ設定部135には、高確率状態や時間短縮状態における特図ゲームの実行回数をカウントするための可変表示回数カウンタなどが設けられていてもよい。   The game control counter setting unit 135 includes, for example, a wait counter, a total prize ball number counter, first to third payout number instruction counters, a command transmission number counter, a command reception number counter, a command transmission waiting counter, and the like. . In addition, the game control counter setting unit 135 may be provided with a variable display number counter for counting the number of executions of the special figure game in the high probability state or the time reduction state.

ウェイトカウンタは、パチンコ遊技機1への電力供給が開始されて遊技制御用マイクロコンピュータ100による遊技制御処理(遊技の進行を制御するための処理)の実行が可能な状態となったときに、遊技制御処理の実行を開始するタイミングを遅延させるために用いられる。例えば、ウェイトカウンタには、パチンコ遊技機1への電力供給が開始されて遊技制御用マイクロコンピュータ100が起動したときに、所定の遅延時間に対応した初期化ウェイト回数指定値がセットされる。その後、ウェイトカウンタの値であるウェイトカウント値を順次に減算するなどの更新処理が行われ、その値が所定の遅延終了判定値に達したときに、遊技制御処理の実行が開始される。   When the power supply to the pachinko gaming machine 1 is started and the game control process (process for controlling the progress of the game) can be executed by the game control microcomputer 100, the weight counter It is used to delay the timing for starting execution of the control process. For example, when the power supply to the pachinko gaming machine 1 is started and the game control microcomputer 100 is activated, an initialization wait number designation value corresponding to a predetermined delay time is set in the wait counter. Thereafter, an update process such as sequentially subtracting the weight count value which is the value of the wait counter is performed, and when the value reaches a predetermined delay end determination value, the execution of the game control process is started.

総賞球数カウンタは、各入賞口スイッチで遊技球が検出されたことに基づき払い出すべき賞球のうちで、主基板11から払出制御基板15に対して払出しの指示が未だ完了していない賞球の総数をカウントするためのものである。例えば、遊技制御用マイクロコンピュータ100においてカウントスイッチ24からの入賞検出信号がオン状態であると判定されたときには、総賞球数カウンタの値である総賞球数カウント値が15加算される。また、入賞口スイッチ25A〜25Dのいずれかからの入賞検出信号がオン状態であると判定されたときには、総賞球数カウント値が7加算され、始動口スイッチ22からの入賞検出信号がオン状態であると判定されたときには、総賞球数カウント値が4加算される。他方、例えば主基板11から払出制御基板15に対して第1払出数指定コマンドが送信された後に遊技制御用マイクロコンピュータ100において払出制御基板15から送信される賞球ACKコマンドを受信したときには、総賞球数カウント値が15減算される。また、例えば主基板11から払出制御基板15に対して第2払出数指定コマンドが送信された後に賞球ACKコマンドを受信したときには、総賞球数カウント値が7減算され、例えば第3払出数指定コマンドが送信された後に賞球ACKコマンドを受信したときには、総賞球数カウント値が4減算される。なお、総賞球数カウント値を減算するタイミングは、主基板11から払出制御基板15に対して第1〜第3払出数指定コマンドのいずれかを送信した後に賞球ACKコマンドを受信したときに限られず、第1〜第3払出数指定コマンドを送信するための設定を行う前の段階であってもよい。このように、始動口スイッチ22、カウントスイッチ24、入賞口スイッチ25A〜25Dからの入賞検出信号に応じて、総賞球数カウンタが払い出すべき賞球の総数をカウントすることで、払い出すべき賞球の数を特定可能な景品遊技媒体数データを含む遊技の進行状態を示すデータが、RAM106に記憶されることになる。   The total award ball counter has not yet completed a payout instruction from the main board 11 to the payout control board 15 among the winning balls to be paid out based on the detection of the game ball by each winning opening switch. This is for counting the total number of prize balls. For example, when the game control microcomputer 100 determines that the winning detection signal from the count switch 24 is in the ON state, 15 is added to the total prize ball count value which is the value of the total prize ball counter. When it is determined that the winning detection signal from any of the winning opening switches 25A to 25D is in the on state, the total winning ball count value is incremented by 7, and the winning detection signal from the start opening switch 22 is in the on state. 4 is added to the total prize ball count value. On the other hand, for example, when a prize ball ACK command transmitted from the payout control board 15 is received by the game control microcomputer 100 after the first payout number specifying command is transmitted from the main board 11 to the payout control board 15, The prize ball count value is decremented by 15. For example, when the prize ball ACK command is received after the second payout number designation command is transmitted from the main board 11 to the payout control board 15, the total prize ball number count value is subtracted by 7, for example, the third payout number. When the prize ball ACK command is received after the designation command is transmitted, 4 is subtracted from the total prize ball count value. The timing for subtracting the total prize ball count value is when a prize ball ACK command is received after any one of the first to third payout number designation commands is transmitted from the main board 11 to the payout control board 15. It is not limited, and may be a stage before setting for transmitting the first to third payout number designation commands. As described above, the total number of winning balls to be paid out by the total winning ball counter should be paid out in accordance with the winning detection signals from the start port switch 22, the count switch 24, and the winning port switches 25A to 25D. Data indicating the progress of the game, including the number of prize game media data that can specify the number of prize balls, is stored in the RAM 106.

第1〜第3払出数指示カウンタは、各入賞口スイッチで遊技球が検出されたことに基づいて、主基板11から払出制御基板15に対して第1〜第3払出数指定コマンドのそれぞれを送信すべき回数をカウントするためのものである。例えば、遊技制御用マイクロコンピュータ100においてカウントスイッチ24からの入賞検出信号がオン状態であると判定されたときには、第1払出数指示カウンタの値である第1払出数指示カウント値が1加算される。また、入賞口スイッチ25A〜25Dのいずれかからの入賞検出信号がオン状態であると判定されたときには、第2払出数指示カウンタの値である第2払出数指示カウント値が1加算され、始動口スイッチ22からの入賞検出信号がオン状態であると判定されたときには、第3払出数指示カウンタの値である第3払出数指示カウント値が1加算される。他方、例えば主基板11から払出制御基板15に対して第1払出数指定コマンドが送信された後に遊技制御用マイクロコンピュータ100が賞球ACKコマンドを受信したときには、第1払出数指示カウント値が1減算される。また、例えば主基板11から払出制御基板15に対して第2払出数指定コマンドが送信された後に遊技制御用マイクロコンピュータ100が賞球ACKコマンドを受信したときには、第2払出数指示カウント値が1減算され、例えば主基板11から払出制御基板15に対して第3払出数指定コマンドが送信された後に遊技制御用マイクロコンピュータ100が賞球ACKコマンドを受信したときには、第3払出数指示カウント値が1減算される。なお、第1〜第3払出数指示カウント値のそれぞれを減算するタイミングは、例えば主基板11から払出制御基板15に対して第1〜第3払出数指定コマンドのそれぞれを送信した後であって、賞球ACKコマンドを受信する前の段階であってもよい。   The first to third payout number instruction counters issue respective first to third payout number designation commands from the main board 11 to the payout control board 15 based on the detection of the game ball by each winning a prize opening switch. This is for counting the number of times to be transmitted. For example, when the game control microcomputer 100 determines that the winning detection signal from the count switch 24 is in the ON state, 1 is added to the first payout number instruction count value which is the value of the first payout number instruction counter. . When it is determined that the winning detection signal from any of the winning opening switches 25A to 25D is in the ON state, the second payout number instruction count value which is the value of the second payout number instruction counter is incremented by 1, and the start is started. When it is determined that the winning detection signal from the mouth switch 22 is in the ON state, the third payout number instruction count value that is the value of the third payout number instruction counter is incremented by one. On the other hand, for example, when the game control microcomputer 100 receives the prize ball ACK command after the first payout number designation command is transmitted from the main board 11 to the payout control board 15, the first payout number instruction count value is 1. Subtracted. Further, for example, when the game control microcomputer 100 receives a prize ball ACK command after the second payout number designation command is transmitted from the main board 11 to the payout control board 15, the second payout number instruction count value is 1. For example, when the game control microcomputer 100 receives a prize ball ACK command after the third payout number specifying command is transmitted from the main board 11 to the payout control board 15, for example, the third payout number instruction count value is calculated. 1 is subtracted. The timing for subtracting each of the first to third payout number instruction count values is, for example, after each of the first to third payout number designation commands is transmitted from the main board 11 to the payout control board 15. It may be a stage before receiving the prize ball ACK command.

コマンド送信回数カウンタは、払出制御基板15に対して第1〜第3払出数指定コマンドのいずれかを送信した回数をカウントし、全入賞球検出スイッチ29からの検出信号に応じて検出された遊技球の個数との差を、入賞個数差として特定するためのものである。例えば、コマンド送信回数カウンタには、パチンコ遊技機1への電力供給が開始されたときに、所定のカウント初期値(例えば「200」)が設定される。そして、主基板11から払出制御基板15に対して第1〜第3払出数指定コマンドのいずれかが送信された後に賞球ACKコマンドを受信したときに、コマンド送信回数カウンタの値であるコマンド送信回数カウント値が1加算される一方、全入賞球検出スイッチ29からの検出信号がオン状態となったときには、コマンド送信回数カウント値が1減算される。   The command transmission number counter counts the number of times any one of the first to third payout number designation commands is transmitted to the payout control board 15, and the game detected according to the detection signal from the all winning ball detection switch 29 This is to specify the difference from the number of balls as a winning number difference. For example, a predetermined initial count value (for example, “200”) is set in the command transmission count counter when power supply to the pachinko gaming machine 1 is started. Then, when a prize ball ACK command is received after one of the first to third payout number designation commands is sent from the main board 11 to the payout control board 15, a command transmission which is the value of the command transmission number counter is transmitted. While the count value is incremented by 1, when the detection signal from the all winning ball detection switch 29 is turned on, the command transmission count count value is decremented by 1.

コマンド受信個数カウンタは、払出制御基板15といったサブ側の制御基板から受信したコマンドの個数を特定可能にカウントするためのものである。コマンド送信待ちカウンタは、演出制御基板12や払出制御基板15といったサブ側の制御基板に対して送信待ちとなっているコマンドの個数を特定可能にカウントするためのものである。   The command reception number counter is used to count the number of commands received from the sub-side control board such as the payout control board 15 in an identifiable manner. The command transmission waiting counter is used to count the number of commands waiting to be transmitted to the sub control boards such as the effect control board 12 and the payout control board 15 so as to be specified.

遊技制御バッファ設定部136には、例えばメインチェックサムバッファや、受信コマンドバッファ、送信コマンドバッファなどが設けられている。メインチェックサムバッファは、パチンコ遊技機1への電力供給が停止されるときにRAM106の特定領域における記憶データを用いて算出されたチェックサムを保存するためのものである。   The game control buffer setting unit 136 is provided with, for example, a main checksum buffer, a reception command buffer, a transmission command buffer, and the like. The main checksum buffer is for storing a checksum calculated using stored data in a specific area of the RAM 106 when power supply to the pachinko gaming machine 1 is stopped.

受信コマンドバッファは、主基板11にてサブ側の制御基板から受信したコマンドを一時的に格納するために用いられる。図23は、受信コマンドバッファに含まれる払出用受信コマンドバッファ191の構成例を示す図である。払出用受信コマンドバッファ191は、払出制御基板15から受信したコマンドを一時的に格納するためのものである。図23に示す払出用受信コマンドバッファ191は、12個の受信コマンドバッファ#1〜#12を備えており、払出制御基板15から受信したコマンドを格納する受信コマンドバッファは、コマンド受信個数カウンタで指定される。各受信コマンドバッファ#1〜#12は、例えば1バイト(8ビット)で構成され、複数の受信コマンドバッファをリングバッファとして使用することにより、2バイト構成の受信コマンドを6個格納することができる。   The reception command buffer is used for temporarily storing a command received from the sub-side control board by the main board 11. FIG. 23 is a diagram illustrating a configuration example of the payout reception command buffer 191 included in the reception command buffer. The payout reception command buffer 191 is for temporarily storing a command received from the payout control board 15. The payout receive command buffer 191 shown in FIG. 23 includes 12 receive command buffers # 1 to # 12, and the receive command buffer for storing the command received from the payout control board 15 is designated by the command reception number counter. Is done. Each reception command buffer # 1 to # 12 is composed of, for example, 1 byte (8 bits), and a plurality of reception command buffers can be used as ring buffers to store six reception commands of 2 bytes. .

送信コマンドバッファは、主基板11からサブ側の制御基板に対して送信するコマンドを一時的に格納するために用いられる。図24は、送信コマンドバッファに含まれる払出用送信コマンドバッファ192の構成例を示す図である。払出用送信コマンドバッファ192は、主基板11から払出制御基板15に対して送信するコマンドを一時的に格納するためのものである。図24に示す払出用送信コマンドバッファ192は、12個の送信コマンドバッファ#1〜#12を備えており、主基板11から払出制御基板15に対して送信待ちとなるコマンドを格納するコマンドバッファは、コマンド送信待ちカウンタで指定される。各送信コマンドバッファ#1〜#12は、例えば1バイト(8ビット)で構成され、複数の送信コマンドバッファをリングバッファとして使用することにより、2バイト構成の送信コマンドを6個格納することができる。また、送信コマンドバッファには、主基板11から演出制御基板12に対して送信するコマンドを一時的に格納するための演出用送信コマンドバッファが含まれてもよい。   The transmission command buffer is used to temporarily store a command to be transmitted from the main board 11 to the sub control board. FIG. 24 is a diagram illustrating a configuration example of the payout transmission command buffer 192 included in the transmission command buffer. The payout transmission command buffer 192 is for temporarily storing a command to be transmitted from the main board 11 to the payout control board 15. The payout transmission command buffer 192 shown in FIG. 24 includes twelve transmission command buffers # 1 to # 12, and a command buffer for storing a command waiting for transmission from the main board 11 to the payout control board 15 is provided. , Specified by the command transmission waiting counter. Each of the transmission command buffers # 1 to # 12 is composed of, for example, 1 byte (8 bits), and can store six transmission commands of 2 bytes by using a plurality of transmission command buffers as ring buffers. . The transmission command buffer may include an effect transmission command buffer for temporarily storing a command to be transmitted from the main board 11 to the effect control board 12.

その他にも、遊技制御用データ保持エリア130には、通過ゲート41を通過した遊技球がゲートスイッチ21によって検出されて普通図柄表示器40による普通図ゲームを実行するための始動条件が成立したものの、従前の普通図ゲームを実行中である等の理由のために可変表示を開始するための開始条件が成立していない普通図ゲームに関する保留情報を記憶する普通図保留記憶部などを備えていてもよい。このように、特図ゲームや普通図ゲームに関する保留情報は、主基板11に設けられた遊技制御用データ保持エリア130などに記憶され、CPU104による特図ゲームや普通図ゲームの制御に用いられる。   In addition, in the game control data holding area 130, although a game ball that has passed through the passing gate 41 is detected by the gate switch 21, a start condition for executing the normal diagram game by the normal symbol display 40 is satisfied. And a normal diagram hold storage unit for storing hold information related to the normal diagram game in which the start condition for starting variable display is not satisfied due to the reason that the conventional normal diagram game is being executed, etc. Also good. As described above, the hold information related to the special figure game or the normal figure game is stored in the game control data holding area 130 provided on the main board 11 and used for the control of the special figure game or the normal figure game by the CPU 104.

図11に示す遊技制御用マイクロコンピュータ100が備えるタイマ回路107は、例えば8ビットのプログラマブルカウンタを4チャネル(CH0〜CH3)内蔵して構成され、リアルタイム割込みの発生や時間計測を可能とする回路である。例えば、タイマ回路107では、チャネルごとに予め設定したカウント値から所定周期でのカウントダウンを開始し、カウント値が「00」となったチャネルがあるときには、そのチャネルに対応した割込みフラグをオン状態にセットする。このとき、割込み許可状態であれば、タイマ回路107がCPU104に対して割込み要求を発生する。   The timer circuit 107 included in the game control microcomputer 100 shown in FIG. 11 is a circuit that includes, for example, four channels (CH0 to CH3) of 8-bit programmable counters, and is capable of generating real-time interrupts and measuring time. is there. For example, the timer circuit 107 starts counting down at a predetermined cycle from a preset count value for each channel, and when there is a channel whose count value is “00”, the interrupt flag corresponding to the channel is turned on. set. At this time, if the interrupt is permitted, the timer circuit 107 generates an interrupt request to the CPU 104.

遊技制御用マイクロコンピュータ100が備えるシリアル通信回路108は、例えば全二重、非同期、標準NRZ(Non Return to Zero)フォーマットで通信データを取扱う回路である。例えば、シリアル通信回路108は、受信動作部と、送信動作部と、シリアル通信データレジスタと、シリアルステータスレジスタと、シリアル制御レジスタとを備えて構成される。   The serial communication circuit 108 included in the game control microcomputer 100 is a circuit that handles communication data in, for example, full duplex, asynchronous, standard NRZ (Non Return to Zero) format. For example, the serial communication circuit 108 includes a reception operation unit, a transmission operation unit, a serial communication data register, a serial status register, and a serial control register.

シリアル通信回路108の受信動作部は、シリアル制御レジスタの所定ビットにおける設定に基づいた受信動作により、シリアル通信で伝送される受信データをサンプリングして取得し、取得した受信データをシリアル通信データレジスタに転送可能とする。また、この受信動作部は、受信動作における動作状態などに応じて、シリアルステータスレジスタの所定ビットを“0”または“1”に設定する。さらに、受信動作部には、例えばシリアル通信で順次に伝送された受信データをシフトさせながら格納する受信用シフトレジスタや、受信用シフトレジスタから読出した受信データを一時的に格納する受信データレジスタ、シリアル通信における受信動作に関わる割込み要因の発生を制御する割込み制御回路などが設けられていればよい。   The reception operation unit of the serial communication circuit 108 samples and acquires the reception data transmitted by serial communication by the reception operation based on the setting in the predetermined bit of the serial control register, and stores the acquired reception data in the serial communication data register. Enable transfer. In addition, the reception operation unit sets a predetermined bit of the serial status register to “0” or “1” according to an operation state in the reception operation. Furthermore, in the reception operation unit, for example, a reception shift register that stores received data sequentially transmitted by serial communication while shifting, a reception data register that temporarily stores reception data read from the reception shift register, It suffices if an interrupt control circuit for controlling the generation of interrupt factors related to the reception operation in serial communication is provided.

シリアル通信回路108の送信動作部は、シリアル制御レジスタの所定ビットにおける設定に基づいた送信動作により、シリアル通信データレジスタからの読出データに対応する送信データを生成し、シリアル通信による送信を可能にする。また、この送信動作部は、送信動作における動作状態などに応じて、シリアルステータスレジスタの所定ビットを“0”または“1”に設定する。さらに、送信動作部には、例えばシリアル通信データレジスタから読出したデータを一時的に格納する送信データレジスタや、シリアル通信で順次に送信する送信データを格納してシフトさせながら出力する送信用シフトレジスタ、シリアル通信における送信動作に関わる割込み要因の発生を制御する割込み制御回路などが設けられていればよい。   The transmission operation unit of the serial communication circuit 108 generates transmission data corresponding to the read data from the serial communication data register by transmission operation based on the setting in the predetermined bit of the serial control register, and enables transmission by serial communication. . Further, the transmission operation unit sets a predetermined bit of the serial status register to “0” or “1” according to an operation state in the transmission operation. Furthermore, in the transmission operation unit, for example, a transmission data register that temporarily stores data read from the serial communication data register, or a transmission shift register that stores and shifts transmission data sequentially transmitted by serial communication and outputs the data An interrupt control circuit or the like for controlling the generation of an interrupt factor related to a transmission operation in serial communication may be provided.

シリアル通信回路108のシリアル通信データレジスタは、受信動作部にて取得した受信データを格納したり、送信動作部に供給するデータを格納したりすることで、シリアル通信回路108とCPU104との間での通信データのやり取りを可能にする回路であり、例えば1バイト(8ビット)で構成されている。   The serial communication data register of the serial communication circuit 108 stores the reception data acquired by the reception operation unit or stores the data supplied to the transmission operation unit, so that the serial communication circuit 108 and the CPU 104 can store data. Is a circuit that makes it possible to exchange communication data of, for example, 1 byte (8 bits).

シリアル通信回路108のシリアルステータスレジスタは、シリアル通信回路108における動作状態を確認するためのレジスタであり、例えばシリアル通信回路108における動作状態に応じて各々がセットまたはクリアされる複数のフラグを示すビット値を記憶可能に構成されていればよい。   The serial status register of the serial communication circuit 108 is a register for confirming the operation state in the serial communication circuit 108. For example, bits indicating a plurality of flags that are set or cleared according to the operation state in the serial communication circuit 108, for example. What is necessary is just to be comprised so that a value can be memorize | stored.

シリアル通信回路108のシリアル制御レジスタは、シリアル通信回路108における通信フォーマットや各種エラー割込み要求の許可/禁止などを設定するためのレジスタであり、例えばシリアル通信回路108における各部位の動作を制御するために用いられる制御データが記憶されるように構成されていればよい。   The serial control register of the serial communication circuit 108 is a register for setting the communication format in the serial communication circuit 108, permission / prohibition of various error interrupt requests, and the like. It suffices if the control data used in the configuration is stored.

図11に示す遊技制御用マイクロコンピュータ100が備える外部バスインタフェース109は、アドレスバスやデータバス、及び各制御信号の方向制御や駆動制御を行うインタフェース回路である。   An external bus interface 109 included in the game control microcomputer 100 shown in FIG. 11 is an interface circuit that performs direction control and drive control of an address bus, a data bus, and each control signal.

図5に示すように、演出制御基板12には、演出制御用マイクロコンピュータ120が搭載されている。また、演出制御基板12には、演出制御用マイクロコンピュータ120からの描画コマンドに応じて画像データを生成するVDP(Video Display Processor)などが搭載されていてもよい。演出制御用マイクロコンピュータ120は、例えば1チップマイクロコンピュータであり、ROM121と、RAM122と、CPU123と、I/Oポート124とを含んでいる。また、演出制御用マイクロコンピュータ120は、CPU123とは独立して乱数値を示す数値データの生成を行う乱数回路などを含んでいてもよい。中継基板18を介して主基板11から送信された制御信号は、所定のコネクタやI/Oポート124内の入力ポートを介して、CPU123に入力される。また、音声制御基板13に対する制御信号は、CPU123からI/Oポート124内の出力ポートや所定のコネクタを介して、音声制御基板13へと出力される。ランプ制御基板14に対する制御信号は、CPU123からI/Oポート124内の出力ポートや所定のコネクタを介して、ランプ制御基板14へと出力される。   As shown in FIG. 5, an effect control microcomputer 120 is mounted on the effect control board 12. The effect control board 12 may be equipped with a VDP (Video Display Processor) that generates image data in accordance with a drawing command from the effect control microcomputer 120. The effect control microcomputer 120 is a one-chip microcomputer, for example, and includes a ROM 121, a RAM 122, a CPU 123, and an I / O port 124. In addition, the production control microcomputer 120 may include a random number circuit that generates numerical data indicating random values independently of the CPU 123. A control signal transmitted from the main board 11 via the relay board 18 is input to the CPU 123 via a predetermined connector or an input port in the I / O port 124. A control signal for the audio control board 13 is output from the CPU 123 to the audio control board 13 via an output port in the I / O port 124 or a predetermined connector. A control signal for the lamp control board 14 is output from the CPU 123 to the lamp control board 14 via an output port in the I / O port 124 or a predetermined connector.

なお、演出制御基板12と画像表示装置5の間には、画像データにおける解像度を変換するためのスケーラ回路が設けられていてもよい。この場合、演出制御基板12に搭載されたVDPが演出制御用マイクロコンピュータ120からの描画コマンドに応じて生成した画像データは、スケーラ回路により解像度が変換された後、画像表示装置5に供給される。具体的な一例として、スケーラ回路は、VDPによって生成された第1の解像度による画像データを入力し、垂直方向及び水平方向のいずれか一方あるいは双方について、以下のような処理を施すことにより、入力された画像データを第1の解像度とは異なる第2の解像度に変換する。   A scaler circuit for converting the resolution in the image data may be provided between the effect control board 12 and the image display device 5. In this case, the image data generated by the VDP mounted on the effect control board 12 according to the drawing command from the effect control microcomputer 120 is supplied to the image display device 5 after the resolution is converted by the scaler circuit. . As a specific example, the scaler circuit inputs the image data with the first resolution generated by the VDP and performs the following processing on one or both of the vertical direction and the horizontal direction. The converted image data is converted to a second resolution different from the first resolution.

例えば、垂直方向における解像度を変換する場合には、入力された画像データの垂直方向に沿って第1のサンプルレートでアップサンプリングを行った後、予め用意されたフィルタ(例えばFIRフィルタ)によるフィルタリング処理を施す。その後、垂直方向に沿って所定のスケーリング係数に対応する第2のサンプルレートでダウンサンプリングを行うようにすればよい。また、水平方向における解像度を変換する場合には、入力された画像データの水平方向に沿って、垂直方向と同じようなアップサンプリング、フィルタリング処理及びダウンサンプリングを行うようにすればよい。具体的な一例として、VDPによってVGAモード(640×480ピクセル)の画像データが生成された場合に、スケーラ回路における変換処理により、その画像データをSXGAモード(1280×1024ピクセル)、あるいは他のモードに変換することが可能になる。   For example, when converting the resolution in the vertical direction, after performing upsampling at a first sample rate along the vertical direction of the input image data, a filtering process using a filter (for example, an FIR filter) prepared in advance. Apply. Thereafter, downsampling may be performed at a second sample rate corresponding to a predetermined scaling coefficient along the vertical direction. When converting the resolution in the horizontal direction, upsampling, filtering, and downsampling similar to those in the vertical direction may be performed along the horizontal direction of the input image data. As a specific example, when image data in VGA mode (640 × 480 pixels) is generated by VDP, the image data is converted into SXGA mode (1280 × 1024 pixels) or other modes by conversion processing in the scaler circuit. Can be converted to

図5に示すように、払出制御基板15には、払出制御用マイクロコンピュータ150やスイッチ回路161が搭載されている。スイッチ回路161には、払出モータ位置センサ71、払出カウントスイッチ72、エラー解除スイッチ73などの各種スイッチやセンサからの検出信号が入力される。スイッチ回路161は、これらの検出信号を取り込んで、払出制御用マイクロコンピュータ150に伝送する。   As shown in FIG. 5, a payout control microcomputer 150 and a switch circuit 161 are mounted on the payout control board 15. The switch circuit 161 receives detection signals from various switches and sensors such as a payout motor position sensor 71, a payout count switch 72, and an error release switch 73. The switch circuit 161 takes in these detection signals and transmits them to the payout control microcomputer 150.

図25は、払出制御基板15に搭載された払出制御用マイクロコンピュータ150の構成例を示す図である。図25に示す払出制御用マイクロコンピュータ150は、例えば遊技制御用マイクロコンピュータ100と同様の1チップマイクロコンピュータであり、クロック回路211と、リセット/割込みコントローラ212と、乱数回路213と、CPU214と、ROM215と、RAM216と、タイマ回路(PIT)217と、シリアル通信回路(SCI)218と、外部バスインタフェース219とを備えて構成されている。なお、乱数回路213は、遊技制御用マイクロコンピュータ100が備える乱数回路103と同様の構成を有するものであればよく、シリアル通信回路218は、遊技制御用マイクロコンピュータ100が備えるシリアル通信回路108と同様の構成を有するものであればよい。また、払出制御用マイクロコンピュータ150には、乱数回路213が設けられていなくてもよい。   FIG. 25 is a diagram showing a configuration example of the payout control microcomputer 150 mounted on the payout control board 15. A payout control microcomputer 150 shown in FIG. 25 is a one-chip microcomputer similar to the game control microcomputer 100, for example, and includes a clock circuit 211, a reset / interrupt controller 212, a random number circuit 213, a CPU 214, and a ROM 215. A RAM 216, a timer circuit (PIT) 217, a serial communication circuit (SCI) 218, and an external bus interface 219. The random number circuit 213 only needs to have the same configuration as the random number circuit 103 included in the game control microcomputer 100, and the serial communication circuit 218 is similar to the serial communication circuit 108 included in the game control microcomputer 100. What is necessary is just to have the structure of. The payout control microcomputer 150 may not include the random number circuit 213.

払出制御用マイクロコンピュータ150が備えるROM215には、払出制御用のプログラムが記憶されている。払出制御用マイクロコンピュータ150では、例えばCPU214がROM215に記憶されている払出制御用のプログラムを読出し、主基板11から送信された払出制御コマンドやカードユニット70との通信結果などに基づいて各種の処理を実行することにより、遊技球の払出動作を制御する。   The ROM 215 provided in the payout control microcomputer 150 stores a payout control program. In the payout control microcomputer 150, for example, the CPU 214 reads out a payout control program stored in the ROM 215, and performs various processes based on the payout control command transmitted from the main board 11 and the communication result with the card unit 70. Is executed to control the game ball payout operation.

払出制御用マイクロコンピュータ150が備えるRAM216には、遊技球の払出動作などを制御するために用いられる各種のデータを保持する領域として、例えば図26に示すような払出制御用データ保持エリア140が設けられている。また、RAM216の少なくとも一部は、電源基板10において作成されるバックアップ電源によってバックアップされているバックアップRAMである。すなわち、パチンコ遊技機1への電力供給が停止しても、所定時間は、RAM216の少なくとも一部の内容は保存される。この実施の形態では、RAM216の全体がバックアップされているバックアップRAMであるものとする。図26に示す払出制御用データ保持エリア140は、払出制御フラグ設定部141と、払出制御タイマ設定部142と、払出制御カウンタ設定部143と、払出制御バッファ設定部144とを備えている。   In the RAM 216 provided in the payout control microcomputer 150, for example, a payout control data holding area 140 as shown in FIG. 26 is provided as an area for holding various data used for controlling the payout operation of the game ball. It has been. Further, at least a part of the RAM 216 is a backup RAM that is backed up by a backup power source created in the power supply substrate 10. That is, even if the power supply to the pachinko gaming machine 1 is stopped, at least a part of the contents of the RAM 216 is saved for a predetermined time. In this embodiment, it is assumed that the entire RAM 216 is a backup RAM that is backed up. The payout control data holding area 140 illustrated in FIG. 26 includes a payout control flag setting unit 141, a payout control timer setting unit 142, a payout control counter setting unit 143, and a payout control buffer setting unit 144.

払出制御フラグ設定部141には、例えば払出バックアップフラグや、払出制御プロセスフラグ、賞球払出動作プロセスフラグ、球貸し動作プロセスフラグ、賞球ACK送信フラグ、フィードバック受信フラグ、受信確認中フラグ、エラーフラグなどが設けられている。   The payout control flag setting unit 141 includes, for example, a payout backup flag, a payout control process flag, a prize ball payout operation process flag, a ball lending operation process flag, a prize ball ACK transmission flag, a feedback reception flag, a reception confirmation flag, and an error flag. Etc. are provided.

払出制御プロセスフラグは、払出モータ51による遊技球の払出動作を制御するための払出動作制御処理(図47のステップS535、及び図50)において、どの処理を選択・実行すべきかを示す。賞球払出動作プロセスフラグは、払出モータ51を駆動して賞球となる遊技球を払い出すために実行される賞球払出動作処理(図50のステップS663、及び図53)において、どの処理を選択・実行すべきかを示す。球貸し動作プロセスフラグは、払出モータ51を駆動して貸し球となる遊技球を払い出すために実行される球貸し払出動作処理(図50のステップS664、及び図57)において、どの処理を選択・実行すべきかを示す。   The payout control process flag indicates which process should be selected and executed in the payout operation control process (step S535 in FIG. 47 and FIG. 50) for controlling the payout operation of the game ball by the payout motor 51. The prize ball payout operation process flag indicates which process in the prize ball payout operation process (step S663 in FIG. 50 and FIG. 53) executed to drive the payout motor 51 to pay out a game ball as a prize ball. Indicates whether to select and execute. The ball lending operation process flag selects which process in the ball lending / dispensing operation processing (steps S664 and FIG. 57 in FIG. 50) executed to drive the payout motor 51 to pay out the game balls to be lent.・ Indicates whether to execute.

賞球ACK送信フラグは、主基板11からの払出数指定コマンドを受信したときに、賞球ACKコマンドを送信する旨を示す。すなわち、賞球ACK送信フラグは、第1〜第3払出数指定コマンドのいずれかを受信したときに、オン状態にセットされる。フィードバック受信フラグは、主基板11からのACKフィードバックコマンドを受信できたか否かを示す。すなわち、フィードバック受信フラグは、ACKフィードバックコマンドを受信したときにオン状態にセットされる。   The prize ball ACK transmission flag indicates that a prize ball ACK command is transmitted when a payout number designation command from the main board 11 is received. That is, the winning ball ACK transmission flag is set to the ON state when any of the first to third payout number designation commands is received. The feedback reception flag indicates whether or not an ACK feedback command from the main board 11 has been received. That is, the feedback reception flag is set to an on state when an ACK feedback command is received.

受信確認中フラグは、主基板11に対して賞球ACKコマンドを送信した後、主基板11からのACKフィードバックコマンドについて受信確認中であることを示す。すなわち、受信確認中フラグは、賞球ACKコマンドが送信されるときにオン状態にセットされた後、ACKフィードバックコマンドを受信したとき、あるいはACKフィードバックコマンドを受信することなく所定期間が経過したときに、クリアされてオフ状態となる。   The reception confirmation flag indicates that the reception of the ACK feedback command from the main board 11 is being confirmed after the award ball ACK command is transmitted to the main board 11. In other words, the reception confirmation flag is set to the ON state when the winning ball ACK command is transmitted, and then when the ACK feedback command is received or when a predetermined period has elapsed without receiving the ACK feedback command. Cleared and turned off.

払出制御フラグ設定部141に設けられたエラーフラグは、払出モータ51を駆動することによる遊技球の払出動作状態や、主基板11との間におけるコマンドの送受信状態などに基づき、所定のエラー発生が検出されたときにオン状態にセットされる複数種類のフラグを含んで構成されている。例えば、エラーフラグは、主基板通信エラーフラグ、多量未払出エラーフラグ、カードユニット未接続エラーフラグ、球詰まりエラーフラグ、球噛みエラーフラグ、空切り(奥)エラーフラグ、空切り(手前)エラーフラグ、シリアル通信エラーフラグなどを含んでいる。   An error flag provided in the payout control flag setting unit 141 causes a predetermined error to occur based on a payout operation state of the game ball by driving the payout motor 51, a command transmission / reception state with the main board 11, and the like. It is configured to include a plurality of types of flags that are set to the ON state when detected. For example, the error flags are: main board communication error flag, large amount unpaid error flag, card unit unconnected error flag, ball clogged error flag, ball biting error flag, idle cut (back) error flag, empty cut (front) error flag Including serial communication error flag.

ここで、主基板通信エラーフラグは、主基板11との間における通信状態にエラーが発生したときに、オン状態にセットされる。多量未払出エラーフラグは、主基板11からの払出数指定コマンドにより払い出しが指示された後に未だ払い出されていない未払出の賞球数が所定個数を超えたときに、オン状態にセットされる。カードユニット未接続エラーフラグは、カードユニット70との間における通信状態にエラーが発生したときに、オン状態にセットされる。球詰まりエラーフラグは、例えば払出カウントスイッチ72からの検出信号が所定時間(具体的な一例として、0.5秒)以上継続してオン状態となったことに応じて、オン状態にセットされる。球噛みエラーフラグは、例えば払出モータ51を駆動したときに払出モータ位置センサ71が所定時間以上継続してオン状態またはオフ状態であることに応じて、オン状態にセットされる。空切り(奥)エラーフラグは、例えば払出モータ51を駆動したときに、図4に示すような払出装置における球通路90の奥側(穴85から流入した遊技球の通路)での遊技球の通過が払出カウントスイッチ72により検出できなかったことに応じて、オン状態にセットされる。空切り(手前)エラーフラグは、例えば払出モータ51を駆動したときに、図4に示すような払出装置における球通路90の手前側(穴86から流入した遊技球の通路)での遊技球の通過が払出カウントスイッチ72により検出できなかったことに応じて、オン状態にセットされる。シリアル通信エラーフラグは、シリアル通信回路218からのエラー割込み要求に応答してオン状態にセットされる。   Here, the main board communication error flag is set to the ON state when an error occurs in the communication state with the main board 11. The large amount unpaid error flag is set to an on state when the number of unpaid award balls that have not been paid out after the payout is instructed by the payout number designation command from the main board 11 exceeds a predetermined number. . The card unit unconnected error flag is set to ON when an error occurs in the communication state with the card unit 70. The ball clogging error flag is set to an on state, for example, when a detection signal from the payout count switch 72 is continuously on for a predetermined time (as a specific example, 0.5 seconds). . For example, when the dispensing motor 51 is driven, the ball biting error flag is set to the on state when the dispensing motor position sensor 71 is continuously on or off for a predetermined time or longer. For example, when the payout motor 51 is driven, the idle cut (back) error flag indicates that the game ball on the back side of the ball passage 90 in the payout device as shown in FIG. When the passage cannot be detected by the payout count switch 72, the on state is set. For example, when the payout motor 51 is driven, the idle cut (front) error flag indicates that the game ball on the front side of the ball passage 90 in the payout device as shown in FIG. When the passage cannot be detected by the payout count switch 72, the on state is set. The serial communication error flag is set to an on state in response to an error interrupt request from the serial communication circuit 218.

払出制御タイマ設定部142には、例えば通信制御タイマや、送信動作制御タイマなどが設けられている。通信制御タイマは、主基板11との間でコマンドを送受信する通信動作において様々な時間を計測するために用いられる。送信動作制御タイマは、シリアル通信回路218によるシリアル通信で通信データを送信させてからの経過時間を計測するために用いられる。   The payout control timer setting unit 142 is provided with, for example, a communication control timer, a transmission operation control timer, and the like. The communication control timer is used for measuring various times in the communication operation for transmitting / receiving commands to / from the main board 11. The transmission operation control timer is used for measuring an elapsed time after transmission of communication data by serial communication by the serial communication circuit 218.

払出制御カウンタ設定部143には、例えば賞球未払出カウンタや、前回未払出カウンタ、球貸し未払出カウンタ、払出個数カウンタ、払出動作不良回数カウンタ、払出モータ回転カウンタ、コマンド受信個数カウンタ、コマンド送信待ちカウンタなどが設けられている。   The payout control counter setting unit 143 includes, for example, a prize ball unpaid counter, a previous unpaid counter, a ball lending unpaid counter, a payout counter, a payout operation failure counter, a payout motor rotation counter, a command reception counter, and command transmission. A waiting counter is provided.

賞球未払出カウンタは、主基板11から送信される第1〜第3払出数指定コマンドに基づき、賞球として払い出すべき遊技球の個数を、賞球未払出カウント値として更新可能に記憶することにより、カウントするためのものである。前回未払出カウンタは、例えば主基板11から送信された第1〜第3払出数指定コマンドのいずれかを受信したことにより賞球未払出カウント値が更新されたときなどに、払出モータ51による払出動作量を示す払出モータ回転カウント値が払出モータ回転カウンタに記憶されることに応じて、賞球未払出カウンタにより記憶された賞球未払出カウント値を、前回未払出カウント値として記憶するためのものである。   Based on the first to third payout number designation commands transmitted from the main board 11, the prize ball unpaid counter stores the number of game balls to be paid out as prize balls in an updatable manner as a prize ball unpaid count value. Therefore, it is for counting. The previous unpaid counter is paid out by the payout motor 51 when, for example, the award ball unpaid count value is updated by receiving any of the first to third payout number designation commands transmitted from the main board 11. In response to the payout motor rotation count value indicating the operation amount being stored in the payout motor rotation counter, the prize ball unpaid count value stored by the prize ball unpaid counter is stored as the previous unpaid count value. Is.

球貸し未払出カウンタは、カードユニット70からの球貸し要求に基づき、貸し球として払い出すべき遊技球の個数を、球貸し未払出カウント値として更新可能に記憶することにより、カウントするためのものである。払出個数カウンタは、払出モータ51を駆動することによって払出カウントスイッチ72により検出された遊技球の個数を、払出個数カウント値として更新可能に記憶することにより、カウントするためのものである。払出動作不良回数カウンタは、遊技球を払い出すために払出モータ51を駆動したときに払出動作の不良が検出された回数を、払出動作不良回数カウント値として更新可能に記憶することにより、カウントするためのものである。払出モータ回転カウンタは、賞球または貸し球として払い出すべき遊技球の個数に応じた払出モータ回転カウント値を更新可能に記憶して、払出モータ51の駆動量(回転量)を設定するために用いられる。   The ball lending unpaid counter is for counting the number of game balls to be paid out as lending balls based on a ball lending request from the card unit 70 by storing it as a ball lending unpaid count value. It is. The payout number counter counts the number of game balls detected by the payout count switch 72 by driving the payout motor 51 by storing the number of game balls as a payout number count value. The payout operation failure frequency counter counts the number of times when a payout operation failure is detected when the payout motor 51 is driven to pay out a game ball by storing it updatable as a payout operation failure frequency count value. Is for. The payout motor rotation counter stores, in an updatable manner, a payout motor rotation count value corresponding to the number of game balls to be paid out as prize balls or rental balls, and sets the drive amount (rotation amount) of the payout motor 51 Used.

コマンド受信個数カウンタは、主基板11から受信したコマンドの個数を特定可能にカウントするためのものである。コマンド送信待ちカウンタは、主基板11に対して送信待ちとなっているコマンドの個数を特定可能にカウントするためのものである。   The command reception number counter is for counting the number of commands received from the main board 11 in an identifiable manner. The command transmission waiting counter is used to count the number of commands waiting to be transmitted to the main board 11 in an identifiable manner.

払出制御バッファ設定部144には、例えば払出チェックサムバッファや、受信コマンドバッファ、送信コマンドバッファなどが設けられている。払出チェックサムバッファは、パチンコ遊技機1への電力供給が停止されたときにRAM216の特定領域における記憶データを用いて算出されたチェックサムを保存するためのものである。受信コマンドバッファは、払出制御基板15にて主基板11から受信したコマンドを一時的に格納するために用いられる。送信コマンドバッファは、払出制御基板15から主基板11に対して送信するコマンドを一時的に格納するために用いられる。   The payout control buffer setting unit 144 is provided with, for example, a payout checksum buffer, a reception command buffer, a transmission command buffer, and the like. The payout checksum buffer is for storing a checksum calculated using stored data in a specific area of the RAM 216 when power supply to the pachinko gaming machine 1 is stopped. The reception command buffer is used for temporarily storing commands received from the main board 11 by the payout control board 15. The transmission command buffer is used to temporarily store a command transmitted from the payout control board 15 to the main board 11.

次に、本実施例におけるパチンコ遊技機1の動作(作用)を説明する。主基板11では、電源基板10からの電力供給が開始され遊技制御用マイクロコンピュータ100へのリセット信号がハイレベル(オフ状態)になったことに応じて、遊技制御用マイクロコンピュータ100が起動し、図27のフローチャートに示すような遊技制御メイン処理が実行される。なお、以下に説明する各処理は、遊技制御用マイクロコンピュータ100が備えるCPU104によって実行されるものとする。また、遊技制御用マイクロコンピュータ100が備えるタイマ回路107やシリアル通信回路108などで発生した各種の割込み要因に基づく割込み要求は、CPU104に所定の割込み処理を実行させるためのものである。そして、CPU104やCPU104以外の各種回路を含んだ概念を遊技制御用マイクロコンピュータ100ということもあるものとする。図27に示す遊技制御メイン処理を開始すると、遊技制御用マイクロコンピュータ100は、まず、割込禁止に設定し(ステップS1)、割込モードの設定を行う(ステップS2)。例えば、ステップS2では、遊技制御用マイクロコンピュータ100の特定レジスタ(Iレジスタ)の値(1バイト)と内蔵デバイスが出力する割込ベクタ(1バイト:最下位ビットは“0”)とを合成することにより割込アドレスが生成されるマスク可能割込の割込モードが設定される。マスク可能な割込みが発生したときには、遊技制御用マイクロコンピュータ100が自動的に割込禁止状態となる設定を行うとともに、プログラムカウンタの内容がスタックにセーブされればよい。   Next, the operation (action) of the pachinko gaming machine 1 in this embodiment will be described. In the main board 11, when the power supply from the power supply board 10 is started and the reset signal to the game control microcomputer 100 becomes high level (off state), the game control microcomputer 100 is activated, A game control main process as shown in the flowchart of FIG. 27 is executed. Note that each process described below is executed by the CPU 104 provided in the game control microcomputer 100. An interrupt request based on various interrupt factors generated by the timer circuit 107 and the serial communication circuit 108 provided in the game control microcomputer 100 is for causing the CPU 104 to execute predetermined interrupt processing. The concept including the CPU 104 and various circuits other than the CPU 104 is sometimes referred to as a game control microcomputer 100. When the game control main process shown in FIG. 27 is started, the game control microcomputer 100 first sets the interrupt prohibition (step S1) and sets the interrupt mode (step S2). For example, in step S2, the value (1 byte) of the specific register (I register) of the game control microcomputer 100 and the interrupt vector (1 byte: the least significant bit is “0”) output by the built-in device are synthesized. This sets an interrupt mode for maskable interrupts in which interrupt addresses are generated. When an interrupt that can be masked occurs, the microcomputer 100 for game control is automatically set to be in an interrupt disabled state, and the contents of the program counter may be saved in the stack.

続いて、例えばスタックポインタ指定アドレスの設定など、スタックポインタに関わる設定を行う(ステップS3)。また、内蔵デバイスレジスタの設定(初期化)を行う(ステップS4)。例えば、遊技制御用マイクロコンピュータ100がCTC(カウンタ/タイマ)及びPIO(パラレル入出力ポート)を内蔵している場合には、ステップS4の処理が実行されることにより、内蔵デバイス(内蔵周辺回路)としてのCTCやPIOの設定(初期化)などが行われるとよい。   Subsequently, settings relating to the stack pointer such as setting of a stack pointer designation address are performed (step S3). The built-in device register is set (initialized) (step S4). For example, when the game control microcomputer 100 has a built-in CTC (counter / timer) and PIO (parallel input / output port), the processing in step S4 is executed, whereby a built-in device (built-in peripheral circuit). CTC or PIO setting (initialization) or the like may be performed.

ステップS4の処理を実行した後には、例えば遊技制御用マイクロコンピュータ100に設けられた入力ポートにおける所定ビットの状態をチェックすることなどにより、電源断信号がオフ状態となっているか否かを判定する(ステップS5)。パチンコ遊技機1への電力供給が開始されたときには、VCCなどの各種電源電圧が徐々に上昇して規定値に達する。ステップS5の処理では、電源断信号が出力されていないオフ状態(ハイレベル)となっていることを確認する。ここで、遊技制御用マイクロコンピュータ100は、入力ポートを介して1回だけ電源断信号の状態を確認するようにしてもよいが、電源断信号の状態を複数回確認するようにしてもよい。例えば、電源断信号がオフ状態であることを1回確認したら、所定時間(例えば0.1秒)が経過した後に、電源断信号をもう1回確認する。このとき、電源断信号がオフ状態であれば、電源断信号がオフ状態である旨の判定を行うようにする。他方、このときに電源断信号の状態がオン状態であれば、所定時間が経過した後に、電源断信号の状態を再び確認するようにしてもよい。なお、電源断信号の状態を再確認する回数は1回であってもよいし、複数回であってもよい。また、2回チェックして、チェック結果が一致していなかったときに、もう一度確認するようにしてもよい。   After executing the process of step S4, for example, by checking the state of a predetermined bit at the input port provided in the gaming control microcomputer 100, it is determined whether or not the power-off signal is in an off state. (Step S5). When power supply to the pachinko gaming machine 1 is started, various power supply voltages such as VCC gradually increase and reach a specified value. In the process of step S5, it is confirmed that the power-off signal is not output and is in an off state (high level). Here, the game control microcomputer 100 may confirm the state of the power-off signal only once through the input port, but may confirm the state of the power-off signal a plurality of times. For example, if it is confirmed once that the power-off signal is in the OFF state, the power-off signal is confirmed once again after a predetermined time (for example, 0.1 second) has elapsed. At this time, if the power-off signal is off, it is determined that the power-off signal is off. On the other hand, if the state of the power-off signal is on at this time, the state of the power-off signal may be confirmed again after a predetermined time has elapsed. In addition, the number of times of reconfirming the state of the power-off signal may be one time or a plurality of times. Further, it is possible to check twice and check again when the check results do not match.

ステップS5にて電源断信号がオン状態であるときには(ステップS5;No)、所定時間(例えば0.1秒)が経過するまで待機した後(ステップS6)、ステップS5の処理に戻って、電源断信号がオフ状態となっているか否かの判定を再び行うようにする。これにより、遊技制御用マイクロコンピュータ100は、電源電圧が安定したことを確認することができる。そして、ステップS5にて電源断信号がオフ状態であるときには(ステップS5;Yes)、例えば遊技制御用マイクロコンピュータ100に設けられた入力ポートにおける所定ビットの状態をチェックすることなどにより、クリア信号がオン状態となっているか否かを判定する(ステップS7)。このとき、クリア信号がオン状態であれば(ステップS7;Yes)、例えば遊技制御フラグ設定部133に設けられたクリアフラグをオン状態にセットする(ステップS8)。他方、クリア信号がオフ状態であるときには(ステップS7;No)、ステップS8の処理をスキップして、クリアフラグをオフ状態のままとする。   When the power-off signal is in the ON state in step S5 (step S5; No), after waiting for a predetermined time (for example, 0.1 second) to elapse (step S6), the process returns to step S5, and the power It is determined again whether or not the disconnection signal is off. Thereby, the game control microcomputer 100 can confirm that the power supply voltage is stable. When the power-off signal is off in step S5 (step S5; Yes), for example, a clear signal is generated by checking the state of a predetermined bit in the input port provided in the game control microcomputer 100. It is determined whether or not it is on (step S7). At this time, if the clear signal is on (step S7; Yes), for example, the clear flag provided in the game control flag setting unit 133 is set to the on state (step S8). On the other hand, when the clear signal is in the off state (step S7; No), the process of step S8 is skipped and the clear flag remains in the off state.

ここで、遊技制御用マイクロコンピュータ100は、入力ポートを介して1回だけクリア信号の状態を確認するようにしてもよいが、クリア信号の状態を複数回確認するようにしてもよい。例えば、クリア信号の状態がオフ状態であることを1回確認したら、所定時間(例えば0.1秒)が経過した後に、クリア信号の状態をもう1回確認する。このとき、クリア信号がオフ状態であれば、クリア信号がオフ状態である旨の判定を行うようにする。他方、このときにクリア信号の状態がオン状態であれば、所定時間が経過した後に、クリア信号の状態を再び確認するようにしてもよい。なお、クリア信号の状態を再確認する回数は1回であってもよいし、複数回であってもよい。また、2回チェックして、チェック結果が一致していなかったときに、もう一度確認するようにしてもよい。   Here, the game control microcomputer 100 may confirm the state of the clear signal only once through the input port, but may confirm the state of the clear signal a plurality of times. For example, once it is confirmed that the state of the clear signal is off, the state of the clear signal is confirmed once again after a predetermined time (for example, 0.1 second) has elapsed. At this time, if the clear signal is off, it is determined that the clear signal is off. On the other hand, if the state of the clear signal is on at this time, the state of the clear signal may be confirmed again after a predetermined time has elapsed. Note that the number of times of reconfirming the state of the clear signal may be one time or may be a plurality of times. Further, it is possible to check twice and check again when the check results do not match.

その後、遊技の進行を制御するための遊技制御処理の開始タイミングをソフトウェアの実行により遅延させる遅延処理の設定を行う(ステップS9)。具体的な一例として、遊技制御カウンタ設定部135に設けられたウェイトカウンタに、初期化ウェイト回数指定値をセットする。続いて、ステップS9での設定に基づく遅延処理を開始して、例えばウェイトカウンタにおけるカウント値を1減算するなど、遅延処理の実行に関わる設定の更新を行う(ステップS10)。そして、例えばウェイトカウンタにおけるカウント値が所定の遅延終了判定値に達したか否かを判定することなどにより、所定の遅延時間が経過したか否かを判定する(ステップS11)。ここで、遅延終了判定値を示すデータは、ROM105などに予め記憶されていればよい。例えば、遅延終了判定値は、遊技制御処理が実行可能状態となったときから、少なくとも払出制御基板15に搭載された払出制御用マイクロコンピュータ150による払出制御用の各種処理が実行開始されるまでの時間に比べて遅延時間の方が長くなるように、予め定められた基準値であればよい。   Thereafter, a delay process for delaying the start timing of the game control process for controlling the progress of the game by executing the software is set (step S9). As a specific example, an initialization weight number designation value is set in a wait counter provided in the game control counter setting unit 135. Subsequently, the delay process based on the setting in step S9 is started, and the setting relating to the execution of the delay process is updated, for example, by subtracting 1 from the count value in the wait counter (step S10). Then, for example, it is determined whether or not a predetermined delay time has elapsed by determining whether or not the count value in the wait counter has reached a predetermined delay end determination value (step S11). Here, the data indicating the delay end determination value may be stored in advance in the ROM 105 or the like. For example, the delay end determination value is from when the game control process becomes executable until at least execution of various processes for payout control by the payout control microcomputer 150 mounted on the payout control board 15 is started. A predetermined reference value may be used so that the delay time becomes longer than the time.

ステップS11にて遅延時間が経過していないときには(ステップS11;No)、ステップS10の処理に戻り、遅延時間が経過しているときには(ステップS11;Yes)、RAM106をアクセス可能に設定する(ステップS12)。続いて、遊技制御用マイクロコンピュータ100は、クリアフラグがオンとなっているか否かを判定する(ステップS13)。クリアフラグがオフであるときには(ステップS13;No)、RAM106のデータチェックを行い、チェック結果が正常であるか否かを判定する(ステップS14)。ステップS14の処理では、例えばRAM106の特定領域における記憶データを用いてチェックサムを算出し、算出されたチェックサムとメインチェックサムバッファに記憶されているチェックサムとを比較する。ここで、メインチェックサムバッファには、前回の電力供給停止時に、同様の処理によって算出されたチェックサムが記憶されている。そして、比較結果が不一致であれば、RAM106の特定領域におけるデータが電力供給停止時のデータとは異なっていることから、チェック結果が正常でないと判断される。   If the delay time has not elapsed in step S11 (step S11; No), the process returns to step S10. If the delay time has elapsed (step S11; Yes), the RAM 106 is set to be accessible (step S11). S12). Subsequently, the game control microcomputer 100 determines whether or not the clear flag is on (step S13). When the clear flag is off (step S13; No), data check of the RAM 106 is performed to determine whether or not the check result is normal (step S14). In the process of step S14, for example, a checksum is calculated using data stored in a specific area of the RAM 106, and the calculated checksum is compared with the checksum stored in the main checksum buffer. Here, the main checksum buffer stores a checksum calculated by the same processing when the power supply was stopped last time. If the comparison results do not match, the data in the specific area of the RAM 106 is different from the data at the time of stopping the power supply, and therefore it is determined that the check result is not normal.

ステップS14におけるチェック結果が正常であるときには(ステップS14;Yes)、遊技制御フラグ設定部133に設けられたメインバックアップフラグがオンとなっているか否かを判定する(ステップS15)。メインバックアップフラグの状態は、電力供給が停止するときに、遊技制御フラグ設定部133に設定される。そして、このメインバックアップフラグの設定箇所がバックアップ電源によってバックアップされることで、電力供給が停止した場合でも、メインバックアップフラグの状態は保存されることになる。ステップS15では、例えばメインバックアップフラグの値として「55H」が遊技制御フラグ設定部133に設定されていれば、バックアップあり(オン状態)であると判断される。これに対して、「55H」以外の値が設定されていればバックアップなし(オフ状態)であると判断される。なお、ステップS15のようなメインバックアップフラグがオンとなっているか否かの判定を、ステップS14のようなチェック結果の判定よりも先に行い、メインバックアップフラグがオンであるときにRAM106のデータチェック結果が正常であるか否かを判定するようにしてもよい。   When the check result in step S14 is normal (step S14; Yes), it is determined whether or not the main backup flag provided in the game control flag setting unit 133 is on (step S15). The state of the main backup flag is set in the game control flag setting unit 133 when the power supply is stopped. The main backup flag setting location is backed up by the backup power source, so that the state of the main backup flag is saved even when the power supply is stopped. In step S15, for example, if “55H” is set in the game control flag setting unit 133 as the value of the main backup flag, it is determined that there is a backup (ON state). On the other hand, if a value other than “55H” is set, it is determined that there is no backup (OFF state). Note that the determination as to whether or not the main backup flag is turned on as in step S15 is performed prior to the determination of the check result as in step S14, and the data check of the RAM 106 is performed when the main backup flag is turned on. You may make it determine whether a result is normal.

ステップS15にてメインバックアップフラグがオンであるときには(ステップS15;Yes)、メインバックアップフラグをクリアしてオフ状態とした後(ステップS16)、遊技制御用マイクロコンピュータ100の内部状態などを電力供給が停止されたときの状態に戻すための復旧時における設定を行う(ステップS17)。具体的な一例として、ステップS17の処理では、ROM105に格納されているバックアップ時設定テーブルの先頭アドレスをポインタに設定し、バックアップ時設定テーブルの内容を順次に、RAM106内の作業領域に設定する。ここで、RAM106の作業領域はバックアップ電源によってバックアップされており、バックアップ時設定テーブルには、作業領域のうちで初期化してもよい領域についての初期化データが設定されていてもよい。   If the main backup flag is on in step S15 (step S15; Yes), after the main backup flag is cleared and turned off (step S16), the internal state of the game control microcomputer 100 is supplied with power. Settings at the time of recovery for returning to the state when stopped are performed (step S17). As a specific example, in the process of step S17, the start address of the backup setting table stored in the ROM 105 is set as a pointer, and the contents of the backup setting table are sequentially set in the work area in the RAM 106. Here, the work area of the RAM 106 is backed up by a backup power source, and initialization data for an area that may be initialized among the work areas may be set in the backup time setting table.

また、ステップS13にてクリアフラグがオンであるときや(ステップS13;Yes)、ステップS14にてチェック結果が正常ではないとき(ステップS14;No)、あるいはステップS15にてメインバックアップフラグがオフであるときには(ステップS15;No)、RAM106の初期化を行う(ステップS18)。ステップS18の処理に続いて、遊技制御用マイクロコンピュータ100の内部状態などを初期状態とするための初期化時における設定を行う(ステップS19)。具体的な一例として、ステップS19の処理では、ROM105に格納されている初期化時設定テーブルの先頭アドレスをポインタに設定し、初期化時設定テーブルの内容を順次、RAM106内の作業領域に設定する。また、ステップS19の処理では、遊技制御カウンタ設定部135に設けられたコマンド送信回数カウンタに、所定のカウント初期値(例えば「200」)を設定する。   Further, when the clear flag is on in step S13 (step S13; Yes), when the check result is not normal in step S14 (step S14; No), or the main backup flag is off in step S15. If there is (step S15; No), the RAM 106 is initialized (step S18). Subsequent to the processing of step S18, settings at the time of initialization for setting the internal state and the like of the game control microcomputer 100 to the initial state are performed (step S19). As a specific example, in the process of step S19, the head address of the initialization setting table stored in the ROM 105 is set as a pointer, and the contents of the initialization setting table are sequentially set in the work area in the RAM 106. . In the process of step S19, a predetermined initial count value (for example, “200”) is set in the command transmission number counter provided in the game control counter setting unit 135.

ステップS17またはステップS19の処理を実行した後には、例えば遊技制御用マイクロコンピュータ100が備えるタイマ回路107のレジスタ設定などを行うことにより、所定時間(例えば2ミリ秒)ごとにタイマ割込みが発生するように遊技制御用マイクロコンピュータ100の内部設定を行う(ステップS20)。この後、CPU104がROM105に記憶されている第1乱数初期設定データ(KRSS1)の第4及び第3ビット[ビット4−3]を読出し(ステップS21)、読出した値に基づいて乱数生成動作の初期設定を行う(ステップS22)。図28は、ステップS22にて実行される処理内容の一例を示す説明図である。   After executing the processing of step S17 or step S19, a timer interrupt is generated every predetermined time (for example, 2 milliseconds) by setting a register of the timer circuit 107 provided in the game control microcomputer 100, for example. The internal setting of the game control microcomputer 100 is performed (step S20). Thereafter, the CPU 104 reads the fourth and third bits [bits 4-3] of the first random number initial setting data (KRSS1) stored in the ROM 105 (step S21), and performs random number generation operation based on the read values. Initial setting is performed (step S22). FIG. 28 is an explanatory diagram showing an example of the processing content executed in step S22.

ステップS21における読出値が「00」であるときには、ステップS22の処理としては何らの処理も実行されずに、ステップS23の処理に進む。このときには、ステップS22の処理として、乱数回路103における12ビット乱数と16ビット乱数の双方について、その生成動作を停止させるための処理が実行されてもよい。ステップS21における読出値が「01」であるときには、ステップS22の処理として、12ビット乱数初期設定処理が実行される。このときには、乱数回路103における16ビット乱数について、その生成動作を停止させるための処理が実行されてもよい。ステップS21における読出値が「10」であるときには、ステップS22の処理として、16ビット乱数初期設定処理が実行される。このときには、乱数回路103における12ビット乱数について、その生成動作を停止させるための処理が実行されてもよい。ステップS21における読出値が「11」であるときには、ステップS22の処理として、12ビット乱数初期設定処理と16ビット乱数初期設定処理が実行される。   When the read value in step S21 is “00”, no processing is performed as the processing in step S22, and the process proceeds to step S23. At this time, as a process of step S22, a process for stopping the generation operation of both the 12-bit random number and the 16-bit random number in the random number circuit 103 may be executed. When the read value in step S21 is “01”, 12-bit random number initial setting processing is executed as processing in step S22. At this time, processing for stopping the generation operation of the 16-bit random number in the random number circuit 103 may be executed. When the read value in step S21 is “10”, 16-bit random number initial setting processing is executed as processing in step S22. At this time, a process for stopping the generation operation of the 12-bit random number in the random number circuit 103 may be executed. When the read value in step S21 is “11”, a 12-bit random number initial setting process and a 16-bit random number initial setting process are executed as the process in step S22.

ステップS22の処理に続いて、シリアル通信動作の初期設定を行うための処理として、シリアル通信初期設定処理を実行する(ステップS23)。ステップS23のシリアル通信初期設定処理では、例えばCPU104がROM105の所定領域に格納されてシリアル通信回路108の動作設定を行うために用いられるシリアル通信初期設定データを読出し、読出値に基づいてシリアル通信回路108が備えるシリアル制御レジスタを所定の初期動作状態に設定する処理などを実行する。シリアル通信初期設定処理を実行した後、割込み要求に基づいて実行される割込み処理に関する初期設定を行うための処理として、割込み初期設定処理を実行する(ステップS24)。ステップS24の割込み初期設定処理では、例えばCPU104が図19に示すようなROM105におけるE01Bh番地の領域に格納された最優先割込み設定(KHPR)を読出し、読出値に基づいて最優先割込みの設定を行う処理などを実行する。より具体的には、CPU104が読出した最優先割込み設定(KHPR)の値が「00h」から「07h」のいずれであるかを特定し、特定された値に対応するIクラス割込み(IRQ)の要因が最も優先順位の高い割込み要因となるように、所定レジスタにおける格納データの読出順位の設定などが行われればよい。この読出順位の設定を示すデータは、例えばCPU104の内部レジスタなどに格納しておけばよい。この場合、CPU104は、リセット/割込みコントローラ102からIクラス割込み(IRQ)端子などに入力される割込み要求信号がオン状態となったときに、内部レジスタの格納データを確認することで、優先的に実行する割込み処理を特定することができる。   Subsequent to the process of step S22, a serial communication initial setting process is executed as a process for initial setting of the serial communication operation (step S23). In the serial communication initial setting process in step S23, for example, the CPU 104 reads serial communication initial setting data which is stored in a predetermined area of the ROM 105 and used for setting the operation of the serial communication circuit 108, and based on the read value, the serial communication circuit A process of setting the serial control register included in 108 to a predetermined initial operation state is executed. After executing the serial communication initial setting process, the interrupt initial setting process is executed as a process for performing an initial setting related to the interrupt process executed based on the interrupt request (step S24). In the interrupt initial setting process in step S24, for example, the CPU 104 reads the highest priority interrupt setting (KHPR) stored in the area of E01Bh in the ROM 105 as shown in FIG. 19, and sets the highest priority interrupt based on the read value. Execute processing. More specifically, the value of the highest priority interrupt setting (KHPR) read out by the CPU 104 is specified from “00h” to “07h”, and the I class interrupt (IRQ) corresponding to the specified value is specified. It is only necessary to set the reading order of stored data in a predetermined register so that the factor becomes the interrupt factor with the highest priority. Data indicating the setting of the reading order may be stored in an internal register of the CPU 104, for example. In this case, the CPU 104 preferentially checks the data stored in the internal register when an interrupt request signal input from the reset / interrupt controller 102 to the I class interrupt (IRQ) terminal or the like is turned on. The interrupt process to be executed can be specified.

続いて、遊技制御用マイクロコンピュータ100は割込許可状態に設定して(ステップS25)、各種割込みの発生を待機する。このときには、電源断信号がオン状態となったか否か(出力されたか否か)の判定を行い(ステップS26)、オフであれば(ステップS26;No)、そのまま各種割込みの発生を待機する。また、電源断信号がオン状態となったときには(ステップS26;Yes)、メイン側電源断処理を実行した後(ステップS27)、所定のループ処理を実行して、電力供給の停止による遊技制御用マイクロコンピュータ100の動作停止まで待機する。なお、ステップS26の処理では、入力ポートを介して1回だけ電源断信号の状態を確認するようにしてもよいが、電源断信号の状態を複数回確認するようにしてもよい。例えば、電源断信号がオフ状態であることを1回確認したら、所定時間(例えば0.1秒)が経過した後に、電源断信号をもう1回確認する。このとき、電源断信号がオフ状態であれば、電源断信号がオフ状態である旨の判定を行うようにする。他方、このときに電源断信号の状態がオン状態であれば、所定時間が経過した後に、電源断信号の状態を再び確認するようにしてもよい。なお、電源断信号の状態を再確認する回数は1回であってもよいし、複数回であってもよい。また、2回チェックして、チェック結果が一致していなかったときに、もう一度確認するようにしてもよい。このように電源断信号の状態を複数回確認する場合には、例えば確認動作を開始するときや1回目の確認結果と2回目の確認結果とを比較して不一致であったときなどに、遊技制御用マイクロコンピュータ100に内蔵されたWDT(ウォッチドッグ・タイマ)をクリアするリトリガを行う。そして、リトリガが何らかの原因(例えばプログラムの暴走)で所定時間内に発生しなくなった場合には、WDTから出力されるタイムアウト信号に基づくユーザリセットを発生させ、リセット/割込みコントローラ102、CPU104、タイマ回路107、シリアル通信回路108などの各回路を初期化した後、所定のベクタテーブルで示されるアドレスからユーザプログラムの実行を開始して、自動復旧を行うようにしてもよい。   Subsequently, the game control microcomputer 100 sets the interrupt permitted state (step S25), and waits for the occurrence of various interrupts. At this time, it is determined whether or not the power-off signal has been turned on (whether or not it has been output) (step S26). When the power-off signal is turned on (step S26; Yes), after executing the main-side power-off process (step S27), a predetermined loop process is executed to control the game by stopping power supply. Wait until the microcomputer 100 stops operating. In the process of step S26, the state of the power-off signal may be confirmed only once via the input port, but the state of the power-off signal may be confirmed a plurality of times. For example, if it is confirmed once that the power-off signal is in the OFF state, the power-off signal is confirmed once again after a predetermined time (for example, 0.1 second) has elapsed. At this time, if the power-off signal is off, it is determined that the power-off signal is off. On the other hand, if the state of the power-off signal is on at this time, the state of the power-off signal may be confirmed again after a predetermined time has elapsed. In addition, the number of times of reconfirming the state of the power-off signal may be one time or a plurality of times. Further, it is possible to check twice and check again when the check results do not match. Thus, when confirming the state of the power-off signal a plurality of times, for example, when the confirmation operation is started or when the first confirmation result and the second confirmation result are compared and there is a mismatch, Retriggering is performed to clear the WDT (watchdog timer) built in the control microcomputer 100. When the retrigger does not occur within a predetermined time for some reason (for example, program runaway), a user reset is generated based on a timeout signal output from the WDT, and the reset / interrupt controller 102, CPU 104, timer circuit After initializing each circuit such as 107 and the serial communication circuit 108, execution of the user program may be started from an address indicated by a predetermined vector table to perform automatic recovery.

ステップS27のメイン側電源断処理では、例えばCPU104が割込禁止に設定した後、遊技制御用マイクロコンピュータ100に設けられた出力ポートの所定ビットにクリアデータをセットするなどして、ソレノイド81、82の駆動制御に関する設定を初期化する。このときには、出力ポートの所定ビット以外にも、クリアすべき出力ポートにはクリアデータを設定するようにしてもよい。続いて、例えばRAM106の特定領域における記憶データを用いてチェックサムを算出するなどして、チェックデータの作成を行うとともに、遊技制御フラグ設定部133に設けられたメインバックアップフラグをオン状態にセットする。このとき作成されたチェックデータは、例えば遊技制御バッファ設定部136に設けられたメインチェックサムバッファなどといった、RAM106の所定領域に格納される。そして、遊技制御用マイクロコンピュータ100では、例えばCPU104が所定のRAMアクセスレジスタにアクセス禁止値を設定することなどにより、以後、RAM106へのアクセスを禁止する。これにより、電力供給の停止に伴ってプログラムの暴走が生じても、RAM106の記憶内容が破損することを防止できる。こうしたメイン側電源断処理が実行された後には、待機状態(ループ処理)に入ることになる。   In the main-side power-off process in step S27, for example, after the CPU 104 is set to prohibit the interrupt, the clear data is set in a predetermined bit of the output port provided in the game control microcomputer 100, for example, the solenoids 81 and 82. Initialize the settings related to drive control. At this time, clear data may be set for an output port to be cleared in addition to a predetermined bit of the output port. Subsequently, for example, check data is created by calculating a checksum using data stored in a specific area of the RAM 106, and the main backup flag provided in the game control flag setting unit 133 is set to an on state. . The check data created at this time is stored in a predetermined area of the RAM 106 such as a main checksum buffer provided in the game control buffer setting unit 136, for example. Then, in the game control microcomputer 100, for example, the CPU 104 prohibits access to the RAM 106 by setting an access prohibition value in a predetermined RAM access register. As a result, even if a program runaway occurs with the stop of power supply, the stored contents of the RAM 106 can be prevented from being damaged. After such main-side power-off processing is executed, a standby state (loop processing) is entered.

また、ステップS27にてメイン側電源断処理を実行した後には、例えば電源断信号がオフ状態となったか否かを定期的に判定し、オフ状態となったときには、CPU104が図26に示すステップS1から再び処理を進めることなどにより、瞬断に対応して処理を再開できるようにしてもよい。あるいは、ステップS27にてメイン側電源断処理を実行した後、例えばWDTからタイムアウト信号が出力されるまでの所要時間よりも長い時間として予め定められた所定時間が経過しても電源基板10からの電力供給が継続しているときに、CPU104が図26に示すステップS1から再び処理を進めることなどにより、瞬断に対応して処理を再開できるようにしてもよい。   In addition, after executing the main-side power-off process in step S27, for example, it is periodically determined whether or not the power-off signal is turned off. When the power-off signal is turned off, the CPU 104 performs steps shown in FIG. The processing may be resumed in response to the momentary interruption, for example, by proceeding again from S1. Alternatively, after the main-side power-off process is executed in step S27, for example, even if a predetermined time elapses that is longer than the time required until the time-out signal is output from WDT, the power supply board 10 When the power supply is continued, the CPU 104 may restart the process in response to the instantaneous interruption, for example, by proceeding again from step S1 shown in FIG.

図29は、ステップS25にて実行される処理に含まれる12ビット乱数初期設定処理の一例を示すフローチャートである。図29に示す12ビット乱数初期設定処理において、遊技制御用マイクロコンピュータ100では、まず、CPU104がROM105に記憶されている第2乱数初期設定データ(KRSS2)の第7ビット[ビット7]を読出し(ステップS101)、読出値が“0”であるか否かを判定する(ステップS102)。このとき、ステップS101での読出値が“0”であれば(ステップS102;Yes)、乱数回路103において12ビット乱数を生成するための1周目のスタート値を、デフォルト値である「001h」に設定する旨の決定を行う(ステップS103)。他方、ステップS101での読出値が“1”であれば(ステップS102;No)、乱数回路103において12ビット乱数を生成するための1周目のスタート値を、遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づいて決定する(ステップS104)。ここで、ステップS104の処理では、例えばCPU104がROM105から読み出した遊技制御用マイクロコンピュータ100のIDナンバーを、そのまま12ビット乱数を生成するための1周目のスタート値に設定するようにしてもよい。あるいは、遊技制御用マイクロコンピュータ100のIDナンバーを用いて所定の演算を実行することにより算出された値を、12ビット乱数を生成するための1周目のスタート値に設定するようにしてもよい。例えば、CPU104がROM105から読み出した遊技制御用マイクロコンピュータ100のIDナンバーに所定のスクランブル処理を施す演算や、IDナンバーを用いた加算・減算・乗算・除算などの演算を実行して、算出された値を用いるようにすればよい。   FIG. 29 is a flowchart illustrating an example of a 12-bit random number initial setting process included in the process executed in step S25. In the 12-bit random number initial setting process shown in FIG. 29, in the game control microcomputer 100, first, the CPU 104 reads the seventh bit [bit 7] of the second random number initial setting data (KRSS2) stored in the ROM 105 ( In step S101), it is determined whether or not the read value is “0” (step S102). At this time, if the read value in step S101 is “0” (step S102; Yes), the start value for the first round for generating a 12-bit random number in the random number circuit 103 is “001h” which is a default value. Is determined to be set to (step S103). On the other hand, if the read value in step S101 is “1” (step S102; No), the start value for the first round for generating a 12-bit random number in the random number circuit 103 is set for each game control microcomputer 100. A determination is made based on the ID number which is the unique identification information given (step S104). Here, in the process of step S104, for example, the ID number of the game control microcomputer 100 read out from the ROM 105 by the CPU 104 may be set as the start value for the first round for generating a 12-bit random number as it is. . Alternatively, a value calculated by executing a predetermined calculation using the ID number of the game control microcomputer 100 may be set as a start value for the first round for generating a 12-bit random number. . For example, the CPU 104 calculates the ID number of the game control microcomputer 100 read from the ROM 105 by performing a predetermined scramble process, or an operation such as addition / subtraction / multiplication / division using the ID number. A value may be used.

ステップS103またはステップS104にて決定されたスタート値は、乱数回路103が備える初期値設定回路172Aに入力されることで、12ビット乱数を生成するための1周目のスタート値として設定される。なお、ステップS103やステップS104の処理は、乱数回路103が備える初期値設定回路172Aが実行するようにしてもよい。例えば、CPU104がステップS102にて読出値が“0”であると判定したときには、乱数回路103に所定の第1初期値設定信号を送る。乱数回路103がCPU104から第1初期値設定信号を受けたときには、初期値設定回路172Aが所定のレジスタの記憶データを読出し、その読出値を乱数生成回路173Aに設定することなどにより、12ビット乱数を生成するための1周目のスタート値を、デフォルト値である「001h」に設定する(ステップS103に相当する処理)。他方、CPU104がステップS102にて読出値が“1”であると判定したときには、乱数回路103に第1初期値設定信号とは異なる第2初期値設定信号を送る。乱数回路103がCPU104から第1初期値設定信号を受けたときには、初期値設定回路172Aが所定のレジスタに記憶されたIDナンバーに基づいて生成されるデータを選択し、その選択したデータを乱数生成回路173Aに設定することなどにより、12ビット乱数を生成するための1周目のスタート値を、遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づいた値に設定する(ステップS104に相当する処理)。ここで、所定のレジスタに記憶されたIDナンバーは、12ビット乱数の最大値以下となる桁の数値のみが抽出されて乱数生成回路173Aに設定されてもよい。あるいは、所定のレジスタに記憶されたIDナンバーが初期値設定回路172Aに内蔵された演算回路(例えば乗算回路)に入力されることにより、例えばIDナンバーの各桁における数値を用いた所定の演算が実行され、この演算により算出された値を示すデータが乱数生成回路173Aに設定されてもよい。また、CPU104は、初期値設定回路172Aの動作を直接制御してステップS103、S104に相当する処理を実行させてもよいし、例えば乱数回路103の内部または外部に初期値設定制御用として設けられて初期値設定回路172Aが参照可能な所定のレジスタにステップS101での読出値に対応した制御データをセットすることなどにより、初期値設定回路172Aの動作を間接的に制御するようにしてもよい。CPU104が初期値設定制御用のレジスタに制御データをセットした場合には、例えば乱数回路103にて12ビット乱数の生成を開始するときに初期値設定回路172Aが初期値設定用のレジスタに記憶されている制御データを参照し、その制御データに従った初期値設定動作を行うことにより、ステップS101での読出値に応じた1周目のスタート値を生成して、乱数生成回路173Aに設定することができる。   The start value determined in step S103 or step S104 is input to an initial value setting circuit 172A included in the random number circuit 103, and is set as a start value for the first round for generating a 12-bit random number. Note that the processing in step S103 and step S104 may be executed by the initial value setting circuit 172A included in the random number circuit 103. For example, when the CPU 104 determines that the read value is “0” in step S <b> 102, a predetermined first initial value setting signal is sent to the random number circuit 103. When the random number circuit 103 receives the first initial value setting signal from the CPU 104, the initial value setting circuit 172A reads data stored in a predetermined register and sets the read value in the random number generation circuit 173A. Is set to the default value “001h” (processing corresponding to step S103). On the other hand, when the CPU 104 determines that the read value is “1” in step S102, it sends a second initial value setting signal different from the first initial value setting signal to the random number circuit 103. When the random number circuit 103 receives the first initial value setting signal from the CPU 104, the initial value setting circuit 172A selects data generated based on the ID number stored in a predetermined register, and generates the selected data as a random number. The start value for the first round for generating a 12-bit random number is set to a value based on an ID number that is unique identification information given to each game control microcomputer 100 by setting in the circuit 173A. (Processing corresponding to step S104). Here, as the ID number stored in the predetermined register, only the numerical value of the digit that is equal to or less than the maximum value of the 12-bit random number may be extracted and set in the random number generation circuit 173A. Alternatively, an ID number stored in a predetermined register is input to an arithmetic circuit (for example, a multiplier circuit) built in the initial value setting circuit 172A, so that a predetermined calculation using a numerical value in each digit of the ID number is performed, for example. Data that is executed and indicates a value calculated by this calculation may be set in the random number generation circuit 173A. Further, the CPU 104 may directly control the operation of the initial value setting circuit 172A to execute the processing corresponding to steps S103 and S104. For example, the CPU 104 is provided inside or outside the random number circuit 103 for initial value setting control. Then, the operation of the initial value setting circuit 172A may be indirectly controlled by setting control data corresponding to the read value in step S101 in a predetermined register that can be referred to by the initial value setting circuit 172A. . When the CPU 104 sets control data in the initial value setting control register, for example, when the random number circuit 103 starts generating a 12-bit random number, the initial value setting circuit 172A is stored in the initial value setting register. The initial value setting operation according to the control data is performed to generate a start value for the first round corresponding to the read value in step S101 and set it in the random number generation circuit 173A. be able to.

ステップS103、S104の処理のいずれかを実行した後には、CPU104がROM105に記憶されている第2乱数初期設定データ(KRSS2)の第6及び第5ビット[ビット6−5]を読出し(ステップS105)、読出値に基づいて12ビット乱数用のセレクタとして乱数回路103に設けられたセレクタ174Aにおける選択動作の設定を行う(ステップS106)。例えば、ステップS105での読出値が「00」であるときには、セレクタ174Aの出力信号が常にオフ状態となるように設定する。これにより、12ビット乱数の更新順である順列を変更しない第3の方式が設定されることになる。また、ステップS105での読出値が「10」であるときには、セレクタ174AがARSC175Aからの出力信号を選択して出力するように設定する。このときには、セレクタ174Aが、ARSC175Aからの出力信号を乱数生成回路173Aから出力される乱数一巡信号RIJ1と同期して出力するようになればよい。これにより、12ビット乱数の2周目以降における順列をユーザプログラムにより変更可能とする第2の方式が設定されることになる。また、ステップS105での読出値が「11」であるときには、セレクタ174Aが乱数生成回路173Aから出力される乱数一巡信号RIJ1を選択して出力するように設定する。これにより、12ビット乱数の2周目以降における順列を自動的に変更する第1の方式が設定されることになる。なお、ステップS106の処理では、CPU104がセレクタ174Aの信号出力動作を直接制御してステップS105での読出値に対応した信号を出力させるように設定してもよいし、例えば乱数回路103の内部あるいは外部に設けられてセレクタ174Aが参照可能な所定のレジスタにステップS105での読出値に対応した制御データをセットすることなどにより、セレクタ174Aの信号出力動作を間接的に制御するようにしてもよい。ステップS106にてレジスタに制御データをセットした場合には、例えば乱数生成回路173Aから乱数一巡信号RIJ1が出力されたときにセレクタ174Aがレジスタに記憶されている制御データを参照し、その制御データに従った信号出力動作を行うことにより、ステップS106での設定に応じた信号を乱数列変更回路176Aに出力して、12ビット乱数を生成するための順列を変更または保持させることができる。   After executing one of the processes in steps S103 and S104, the CPU 104 reads out the sixth and fifth bits [bits 6-5] of the second random number initial setting data (KRSS2) stored in the ROM 105 (step S105). ) Based on the read value, the selection operation is set in the selector 174A provided in the random number circuit 103 as a selector for a 12-bit random number (step S106). For example, when the read value in step S105 is “00”, the output signal of the selector 174A is set to be always off. As a result, a third method that does not change the permutation, which is the update order of the 12-bit random number, is set. When the read value in step S105 is “10”, the selector 174A is set to select and output the output signal from the ARSC 175A. At this time, the selector 174A only needs to output the output signal from the ARSC 175A in synchronization with the random number loop signal RIJ1 output from the random number generation circuit 173A. As a result, a second method is set that allows the user program to change the permutation in the second and subsequent rounds of the 12-bit random number. When the read value in step S105 is “11”, the selector 174A is set to select and output the random number loop signal RIJ1 output from the random number generation circuit 173A. As a result, the first method for automatically changing the permutation in the second and subsequent rounds of the 12-bit random number is set. In the process of step S106, the CPU 104 may directly set the signal output operation of the selector 174A to output a signal corresponding to the read value in step S105. The signal output operation of the selector 174A may be indirectly controlled by setting control data corresponding to the read value in step S105 in a predetermined register that is provided outside and can be referred to by the selector 174A. . When the control data is set in the register in step S106, for example, when the random number loop signal RIJ1 is output from the random number generation circuit 173A, the selector 174A refers to the control data stored in the register, and the control data By performing the signal output operation according to this, a signal corresponding to the setting in step S106 can be output to the random number sequence change circuit 176A, and the permutation for generating the 12-bit random number can be changed or held.

ステップS106の処理に続いて、CPU104がROM105に記憶されている12ビット乱数最大値(KRMS)を読出し(ステップS107)、その読出値を乱数回路103が備える最大値比較回路177Aに設定する(ステップS108)。このときには、ステップS107での読出値が12ビット乱数用の最大値として設定可能な範囲内であるか否かを判定する(ステップS109)。例えば、12ビット乱数の最大値を「256」から「4095」までの範囲内で任意に設定できる場合には、ステップS107での読出値が「256」から「4095」までの範囲内であるか否かを判定する。   Following the processing in step S106, the CPU 104 reads the 12-bit random number maximum value (KRMS) stored in the ROM 105 (step S107), and sets the read value in the maximum value comparison circuit 177A included in the random number circuit 103 (step S107). S108). At this time, it is determined whether or not the read value in step S107 is within a range that can be set as the maximum value for 12-bit random numbers (step S109). For example, if the maximum value of the 12-bit random number can be arbitrarily set within the range from “256” to “4095”, is the read value at step S107 within the range from “256” to “4095”? Determine whether or not.

ステップS109にて読出値が設定可能な範囲内ではない旨の判定がなされたときには(ステップS109;No)、12ビット乱数用の最大値として設定可能な範囲内の所定値を最大値として再設定し、乱数回路103が備える最大値比較回路177Aにセットする(ステップS110)。例えば、ステップS107での読出値が「256」から「4095」までの範囲内ではないときには、その範囲内の値である「4095」を、最大値として再設定すればよい。なお、ステップS108、S110の処理では、CPU104が最大値比較回路177Aの動作を直接制御して12ビット乱数用の最大値を設定してもよいし、例えば乱数回路103の内部あるいは外部に設けられて最大値比較回路177Aが参照可能な所定のレジスタに12ビット乱数用の最大値を示す制御データをセットすることなどにより、最大値比較回路177Aの動作を間接的に制御するようにしてもよい。ステップS108、S110にてレジスタに制御データをセットした場合には、例えば乱数列変更回路176Aから出力される数値データ列R1の値が更新されるごとに最大値比較回路177Aがレジスタに記憶された制御データを参照し、その制御データにより示された12ビット乱数用の最大値と乱数列変更回路176Aから出力される数値データとを比較することにより、最大値以下となる数値データだけを乱数値レジスタ181Aに格納される12ビットの乱数値として出力することができる。また、ステップS109にて読出値が設定可能な範囲内である旨の判定がなされたときには(ステップS109;Yes)、ステップS110の処理をスキップする。   When it is determined in step S109 that the read value is not within the settable range (step S109; No), the predetermined value within the range that can be set as the maximum value for the 12-bit random number is reset as the maximum value. The random number circuit 103 is set in the maximum value comparison circuit 177A (step S110). For example, when the read value in step S107 is not within the range from “256” to “4095”, the value “4095” within the range may be reset as the maximum value. In the processing of steps S108 and S110, the CPU 104 may directly control the operation of the maximum value comparison circuit 177A to set the maximum value for 12-bit random numbers. For example, it is provided inside or outside the random number circuit 103. Then, the operation of the maximum value comparison circuit 177A may be indirectly controlled by setting control data indicating the maximum value for 12-bit random numbers in a predetermined register that can be referred to by the maximum value comparison circuit 177A. . When the control data is set in the register in steps S108 and S110, for example, the maximum value comparison circuit 177A is stored in the register every time the value of the numerical data sequence R1 output from the random number sequence change circuit 176A is updated. By referring to the control data and comparing the maximum value for the 12-bit random number indicated by the control data with the numerical data output from the random number sequence changing circuit 176A, only the numerical data that is less than or equal to the maximum value is a random value. It can be output as a 12-bit random value stored in the register 181A. If it is determined in step S109 that the read value is within the settable range (step S109; Yes), the process of step S110 is skipped.

この後、CPU104がROM105に記憶されている第1乱数初期設定データ(KRSS1)の第1及び第0ビット[ビット1−0]を読み出す(ステップS111)。そして、ステップS111での読出値に基づき、12ビット乱数における2周目以降のスタート値に関する初期設定を行う(ステップS112)。具体的な一例として、ステップS112の処理では、CPU104がROM105から読出した第1乱数初期設定データ(KRSS1)の第1及び第0ビット[ビット1−0]を示す読出データを、乱数回路103もしくはCPU104に内蔵された所定のレジスタや、RAM106の所定領域に格納して記憶させることなどにより、CPU104が遊技制御用のタイマ割込み処理を実行中に12ビット乱数における2周目以降のスタート値に関する設定を参照できるような初期設定が行われればよい。   Thereafter, the CPU 104 reads the first and 0th bits [bits 1-0] of the first random number initial setting data (KRSS1) stored in the ROM 105 (step S111). Then, based on the read value in step S111, initial setting is made regarding the start value after the second round in the 12-bit random number (step S112). As a specific example, in the process of step S112, the read data indicating the first and 0th bits [bits 1-0] of the first random number initial setting data (KRSS1) read by the CPU 104 from the ROM 105 is stored in the random number circuit 103 or Setting related to the start value for the second and subsequent rounds in the 12-bit random number while the CPU 104 is executing the timer interrupt processing for game control by storing in a predetermined register built into the CPU 104 or a predetermined area of the RAM 106 It suffices if an initial setting is made so that reference can be made.

図30は、ステップS22にて実行される処理に含まれる16ビット乱数初期設定処理の一例を示すフローチャートである。図30に示す16ビット乱数初期設定処理において、遊技制御用マイクロコンピュータ100では、まず、CPU104がROM105に記憶されている第1乱数初期設定データ(KRSS1)の第2ビット[ビット2]を読出し(ステップS121)、読出値に基づいて乱数回路103に設けられたクロック信号出力回路171における動作設定を行う(ステップS122)。例えば、ステップS121での読出値が“0”であるときには、クロック信号出力回路171が出力するクロック信号S1を、クロック信号出力回路171のクロック入力端子に入力される内部システムクロックCLKと同一周期のクロック信号となるように設定する。また、ステップS121での読出値が“1”であるときには、クロック信号出力回路171が出力するクロック信号S1を、クロック信号出力回路171のクロック入力端子に入力される内部システムクロックCLKの16倍の周期を有するクロック信号となるように設定する。なお、ステップS122の処理では、CPU104がクロック信号出力回路171の動作を直接制御してステップS121での読出値に対応したクロック信号を出力させるように設定してもよいし、例えば乱数回路103の内部あるいは外部に設けられてクロック信号出力回路171が参照可能な所定のレジスタにステップS121での読出値に対応した制御データをセットすることなどにより、クロック信号出力回路171の動作を間接的に制御するようにしてもよい。ステップS122にてレジスタに制御データをセットした場合には、例えば乱数回路103にて16ビット乱数の生成を開始するときにクロック信号出力回路171ががレジスタに記憶されている制御データを参照し、その制御データに従ったクロック信号の出力動作を行うことにより、ステップS121での設定に応じたクロック信号を出力することができる。   FIG. 30 is a flowchart illustrating an example of a 16-bit random number initial setting process included in the process executed in step S22. In the 16-bit random number initial setting process shown in FIG. 30, in the game control microcomputer 100, the CPU 104 first reads the second bit [bit 2] of the first random number initial setting data (KRSS1) stored in the ROM 105 ( In step S121), operation setting in the clock signal output circuit 171 provided in the random number circuit 103 is performed based on the read value (step S122). For example, when the read value in step S121 is “0”, the clock signal S1 output from the clock signal output circuit 171 is output in the same cycle as the internal system clock CLK input to the clock input terminal of the clock signal output circuit 171. Set to be a clock signal. When the read value in step S121 is “1”, the clock signal S1 output from the clock signal output circuit 171 is 16 times the internal system clock CLK input to the clock input terminal of the clock signal output circuit 171. The clock signal is set to have a period. In the process of step S122, the CPU 104 may directly set the operation of the clock signal output circuit 171 to output the clock signal corresponding to the read value in step S121. The operation of the clock signal output circuit 171 is indirectly controlled by setting control data corresponding to the read value in step S121 in a predetermined register which is provided inside or outside and can be referred to by the clock signal output circuit 171. You may make it do. When the control data is set in the register in step S122, for example, the clock signal output circuit 171 refers to the control data stored in the register when the random number circuit 103 starts generating the 16-bit random number, By performing a clock signal output operation according to the control data, a clock signal according to the setting in step S121 can be output.

ステップS122の処理に続いて、CPU104がROM105に記憶されている第2乱数初期設定データ(KRSS2)の第4ビット[ビット4]を読出し(ステップS123)、読出値が“0”であるか否かを判定する(ステップS124)。このとき、ステップS123での読出値が“0”であれば(ステップS124;Yes)、乱数回路103において16ビット乱数を生成するための1周目のスタート値を、デフォルト値である「0001h」に設定する旨の決定を行う(ステップS125)。他方、ステップS123での読出値が“1”であれば(ステップS124;No)、乱数回路103において16ビット乱数を生成するための1周目のスタート値を、遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づいて決定する(ステップS126)。ここで、ステップS126の処理では、例えばCPU104がROM105から読み出した遊技制御用マイクロコンピュータ100のIDナンバーを、そのまま16ビット乱数を生成するための1周目のスタート値に設定するようにしてもよい。あるいは、遊技制御用マイクロコンピュータ100のIDナンバーを用いて所定の演算を実行することにより算出された値を、16ビット乱数を生成するための1周目のスタート値に設定するようにしてもよい。例えば、CPU104がROM105から読み出した遊技制御用マイクロコンピュータ100のIDナンバーに所定のスクランブル処理を施す演算や、IDナンバーを用いた加算・減算・乗算・除算などの演算を実行して、算出された値を用いるようにすればよい。   Subsequent to step S122, the CPU 104 reads the fourth bit [bit 4] of the second random number initial setting data (KRSS2) stored in the ROM 105 (step S123), and whether or not the read value is “0”. Is determined (step S124). At this time, if the read value in step S123 is “0” (step S124; Yes), the start value for the first round for generating a 16-bit random number in the random number circuit 103 is “0001h” which is a default value. Is determined to be set (step S125). On the other hand, if the read value in step S123 is “1” (step S124; No), the start value for the first round for generating a 16-bit random number in the random number circuit 103 is set for each game control microcomputer 100. A determination is made based on the ID number which is the unique identification information given (step S126). Here, in the process of step S126, for example, the ID number of the game control microcomputer 100 read out from the ROM 105 by the CPU 104 may be set as the start value for the first round for generating a 16-bit random number as it is. . Alternatively, a value calculated by executing a predetermined calculation using the ID number of the game control microcomputer 100 may be set as a start value for the first round for generating a 16-bit random number. . For example, the CPU 104 calculates the ID number of the game control microcomputer 100 read from the ROM 105 by performing a predetermined scramble process, or an operation such as addition / subtraction / multiplication / division using the ID number. A value may be used.

ステップS125またはステップS126にて決定されたスタート値は、乱数回路103が備える初期値設定回路172Bに入力されることで、16ビット乱数を生成するための1周目のスタート値として設定される。なお、ステップS125やステップS126の処理は、乱数回路103が備える初期値設定回路172Bが実行するようにしてもよい。例えば、CPU104がステップS124にて読出値が“0”であると判定したときには、乱数回路103に所定の第3初期値設定信号を送る。乱数回路103がCPU104から第3初期値設定信号を受けたときには、初期値設定回路172Bが所定のレジスタの記憶データを読出し、その読出値を乱数生成回路173Bに設定することなどにより、16ビット乱数を生成するための1周目のスタート値を、デフォルト値である「0001h」に設定する(ステップS125に相当する処理)。他方、CPU104がステップS124にて読出値が“1”であると判定したときには、乱数回路103に第3初期値設定信号とは異なる第4初期値設定信号を送る。乱数回路103がCPU104から第4初期値設定信号を受けたときには、初期値設定回路172Bが所定のレジスタに記憶されたIDナンバーに基づいて生成されるデータを選択し、その選択したデータを乱数生成回路173Bに設定することなどにより、16ビット乱数を生成するための1周目のスタート値を、遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づいた値に設定する(ステップS126に相当する処理)。ここで、所定のレジスタに記憶されたIDナンバーは、16ビット乱数の最大値以下となる桁の数値のみが抽出されて乱数生成回路173Bに設定されてもよい。あるいは、所定のレジスタに記憶されたIDナンバーが初期値設定回路172Bに内蔵された演算回路(例えば乗算回路)に入力されることにより、例えばIDナンバーの各桁における数値を用いた所定の演算が実行され、この演算により算出された値を示すデータが乱数生成回路173Bに設定されてもよい。また、CPU104は、初期値設定回路172Bの動作を直接制御してステップS125、S126に相当する処理を実行させてもよいし、例えば乱数回路103の内部または外部に初期値設定制御用として設けられて初期値設定回路172Bが参照可能な所定のレジスタにステップS123での読出値に対応した制御データをセットすることなどにより、初期値設定回路172Bの動作を間接的に制御するようにしてもよい。CPU104が初期値設定制御用のレジスタに制御データをセットした場合には、例えば乱数回路103にて16ビット乱数の生成を開始するときに初期値設定回路172Bが初期値設定用のレジスタに記憶されている制御データを参照し、その制御データに従った初期値設定動作を行うことにより、ステップS123での読出値に応じた1周目のスタート値を生成して、乱数生成回路173Bに設定することができる。   The start value determined in step S125 or step S126 is input to an initial value setting circuit 172B included in the random number circuit 103, and is set as a start value for the first round for generating a 16-bit random number. Note that the processing of step S125 and step S126 may be executed by the initial value setting circuit 172B included in the random number circuit 103. For example, when the CPU 104 determines that the read value is “0” in step S <b> 124, it sends a predetermined third initial value setting signal to the random number circuit 103. When the random number circuit 103 receives the third initial value setting signal from the CPU 104, the initial value setting circuit 172B reads data stored in a predetermined register, sets the read value in the random number generation circuit 173B, etc. Is set to the default value “0001h” (processing corresponding to step S125). On the other hand, when the CPU 104 determines that the read value is “1” in step S <b> 124, it sends a fourth initial value setting signal different from the third initial value setting signal to the random number circuit 103. When the random number circuit 103 receives the fourth initial value setting signal from the CPU 104, the initial value setting circuit 172B selects data generated based on the ID number stored in a predetermined register, and generates the selected data as a random number. The start value for the first round for generating a 16-bit random number is set to a value based on an ID number that is unique identification information given to each game control microcomputer 100 by setting the circuit 173B. (Processing corresponding to step S126). Here, the ID number stored in the predetermined register may be set in the random number generation circuit 173B by extracting only the numerical value of the digit that is equal to or less than the maximum value of the 16-bit random number. Alternatively, the ID number stored in the predetermined register is input to an arithmetic circuit (for example, a multiplier circuit) built in the initial value setting circuit 172B, so that a predetermined calculation using a numerical value in each digit of the ID number is performed. Data that is executed and indicates a value calculated by this calculation may be set in the random number generation circuit 173B. Further, the CPU 104 may directly control the operation of the initial value setting circuit 172B to execute processing corresponding to steps S125 and S126. For example, the CPU 104 may be provided inside or outside the random number circuit 103 for initial value setting control. Then, the operation of the initial value setting circuit 172B may be indirectly controlled by setting control data corresponding to the read value in step S123 in a predetermined register that can be referred to by the initial value setting circuit 172B. . When the CPU 104 sets control data in the initial value setting control register, for example, when the random number circuit 103 starts generating a 16-bit random number, the initial value setting circuit 172B is stored in the initial value setting register. The initial value setting operation according to the control data is performed, and the start value for the first round corresponding to the read value in step S123 is generated and set in the random number generation circuit 173B. be able to.

ステップS125、S126の処理のいずれかを実行した後には、CPU104がROM105に記憶されている第2乱数初期設定データ(KRSS2)の第1及び第0ビット[ビット1−0]を読出し(ステップS127)、読出値に基づいて16ビット乱数用のセレクタとして乱数回路103に設けられたセレクタ174Bにおける選択動作の設定を行う(ステップS128)。例えば、ステップS127での読出値が「00」であるときには、セレクタ174Bの出力信号が常にオフ状態となるように設定する。これにより、16ビット乱数の更新順である順列を変更しない第3の方式が設定されることになる。また、ステップS127での読出値が「10」であるときには、セレクタ174BがBRSC175Bからの出力信号を選択して出力するように設定する。このときには、セレクタ174Bが、BRSC175Bからの出力信号を乱数生成回路173Bから出力される乱数一巡信号RIJ2と同期して出力するようになればよい。これにより、16ビット乱数の2周目以降における順列をユーザプログラムにより変更可能とする第2の方式が設定されることになる。また、ステップS127での読出値が「11」であるときには、セレクタ174Bが乱数生成回路173Bから出力される乱数一巡信号RIJ2を選択して出力するように設定する。これにより、16ビット乱数の2周目以降における順列を自動的に変更する第1の方式が設定されることになる。なお、ステップS128の処理では、CPU104がセレクタ174Bの信号出力動作を直接制御してステップS127での読出値に対応した信号を出力させるように設定してもよいし、例えば乱数回路103の内部あるいは外部に設けられてセレクタ174Bが参照可能な所定のレジスタにステップS127での読出値に対応した制御データをセットすることなどにより、セレクタ174Bの信号出力動作を間接的に制御するようにしてもよい。ステップS127にてレジスタに制御データをセットした場合には、例えば乱数生成回路173Bから乱数一巡信号RIJ2が出力されたときにセレクタ174Bがレジスタに記憶されている制御データを参照し、その制御データに従った信号出力動作を行うことにより、ステップS128での設定に応じた信号を乱数列変更回路176Bに出力して、16ビット乱数を生成するための順列を変更または保持させることができる。   After executing one of the processes in steps S125 and S126, the CPU 104 reads the first and 0th bits [bits 1-0] of the second random number initial setting data (KRSS2) stored in the ROM 105 (step S127). ), A selection operation is set in the selector 174B provided in the random number circuit 103 as a selector for a 16-bit random number based on the read value (step S128). For example, when the read value in step S127 is “00”, the output signal of the selector 174B is set to be always in the off state. As a result, a third method that does not change the permutation, which is the update order of 16-bit random numbers, is set. When the read value in step S127 is “10”, the selector 174B is set to select and output the output signal from the BRSC 175B. At this time, the selector 174B only needs to output the output signal from the BRSC 175B in synchronization with the random number round signal RIJ2 output from the random number generation circuit 173B. As a result, a second method is set that allows the user program to change the permutation of the 16-bit random number after the second round. Further, when the read value in step S127 is “11”, the selector 174B is set to select and output the random number loop signal RIJ2 output from the random number generation circuit 173B. Thus, the first method for automatically changing the permutation in the second and subsequent rounds of the 16-bit random number is set. In the process of step S128, the CPU 104 may directly set the signal output operation of the selector 174B to output a signal corresponding to the read value in step S127. The signal output operation of the selector 174B may be indirectly controlled by setting control data corresponding to the read value in step S127 in a predetermined register that is provided outside and can be referred to by the selector 174B. . When the control data is set in the register in step S127, for example, when the random number round trip signal RIJ2 is output from the random number generation circuit 173B, the selector 174B refers to the control data stored in the register, and the control data By performing the signal output operation according to this, a signal corresponding to the setting in step S128 can be output to the random number sequence change circuit 176B, and the permutation for generating a 16-bit random number can be changed or held.

ステップS128の処理に続いて、CPU104がROM105に記憶されている16ビット乱数最大値(KRXS)を読出し(ステップS129)、その読出値を乱数回路103が備える最大値比較回路177Bに設定する(ステップS130)。このときには、ステップS129での読出値が16ビット乱数用の最大値として設定可能な範囲内であるか否かを判定する(ステップS131)。例えば、16ビット乱数の最大値を「512」から「65535」までの範囲内で任意に設定できる場合には、ステップS129での読出値が「512」から「65535」までの範囲内であるか否かを判定する。   Following the processing of step S128, the CPU 104 reads the maximum 16-bit random number (KRXS) stored in the ROM 105 (step S129), and sets the read value in the maximum value comparison circuit 177B included in the random number circuit 103 (step S129). S130). At this time, it is determined whether or not the read value in step S129 is within a range that can be set as the maximum value for 16-bit random numbers (step S131). For example, if the maximum value of the 16-bit random number can be arbitrarily set within the range from “512” to “65535”, is the read value at step S129 within the range from “512” to “65535”? Determine whether or not.

ステップS131にて読出値が設定可能な範囲内ではない旨の判定がなされたときには(ステップS131;No)、16ビット乱数用の最大値として設定可能な範囲内の所定値を最大値として再設定し、乱数回路103が備える最大値比較回路177Bにセットする(ステップS132)。例えば、ステップS129での読出値が「512」から「65535」までの範囲内ではないときには、その範囲内の値である「65535」を、最大値として再設定すればよい。なお、ステップS130、S132の処理では、CPU104が最大値比較回路177Bの動作を直接制御して16ビット乱数用の最大値を設定してもよいし、例えば乱数回路103の内部あるいは外部に設けられて最大値比較回路177Bが参照可能な所定のレジスタに16ビット乱数用の最大値を示す制御データをセットすることなどにより、最大値比較回路177Bの動作を間接的に制御するようにしてもよい。ステップS130、S132にてレジスタに制御データをセットした場合には、例えば乱数列変更回路176Bから出力される数値データ列R2の値が更新されるごとに最大値比較回路177Bがレジスタに記憶された制御データを参照し、その制御データにより示された16ビット乱数用の最大値と乱数列変更回路176Bから出力される数値データとを比較することにより、最大値以下となる数値データだけを乱数値レジスタ181Bに格納される16ビットの乱数値として出力することができる。また、ステップS131にて読出値が設定可能な範囲内である旨の判定がなされたときには(ステップS131;Yes)、ステップS132の処理をスキップする。   When it is determined in step S131 that the read value is not within the settable range (step S131; No), a predetermined value within the range that can be set as the maximum value for 16-bit random numbers is reset as the maximum value. Then, the maximum value comparison circuit 177B included in the random number circuit 103 is set (step S132). For example, when the read value in step S129 is not within the range from “512” to “65535”, “65535” that is the value within the range may be reset as the maximum value. In the processing of steps S130 and S132, the CPU 104 may directly control the operation of the maximum value comparison circuit 177B to set the maximum value for 16-bit random numbers. For example, it is provided inside or outside the random number circuit 103. Then, the operation of the maximum value comparison circuit 177B may be indirectly controlled by setting control data indicating the maximum value for 16-bit random numbers in a predetermined register that can be referred to by the maximum value comparison circuit 177B. . When the control data is set in the register in steps S130 and S132, for example, the maximum value comparison circuit 177B is stored in the register every time the value of the numerical data sequence R2 output from the random number sequence change circuit 176B is updated. By referring to the control data and comparing the maximum value for the 16-bit random number indicated by the control data with the numerical data output from the random number sequence change circuit 176B, only the numerical data that is less than or equal to the maximum value is a random value. It can be output as a 16-bit random value stored in the register 181B. When it is determined in step S131 that the read value is within the settable range (step S131; Yes), the process of step S132 is skipped.

この後、CPU104がROM105に記憶されている第2乱数初期設定データ(KRSS2)の第3及び第2ビット[ビット3−2]を読み出す(ステップS133)。そして、ステップS133での読出値に基づき、16ビット乱数における2周目以降のスタート値に関する初期設定を行う(ステップS134)。具体的な一例として、ステップS134の処理では、CPU104がROM105から読出した第2乱数初期設定データ(KRSS2)の第3及び第2ビット[ビット3−2]を示す読出データを、乱数回路103もしくはCPU104に内蔵された所定のレジスタや、RAM106の所定領域に格納して記憶させることなどにより、CPU104が遊技制御用のタイマ割込み処理を実行中に16ビット乱数における2周目以降のスタート値に関する設定を参照できるような初期設定が行われればよい。   Thereafter, the CPU 104 reads out the third and second bits [bit 3-2] of the second random number initial setting data (KRSS2) stored in the ROM 105 (step S133). Then, based on the read value in step S133, initial setting is made regarding the start value after the second round in the 16-bit random number (step S134). As a specific example, in the process of step S134, the read data indicating the third and second bits [bit 3-2] of the second random number initial setting data (KRSS2) read by the CPU 104 from the ROM 105 is stored in the random number circuit 103 or Setting related to the start value for the second and subsequent rounds in the 16-bit random number while the CPU 104 is executing the timer interrupt processing for game control by storing in a predetermined register built in the CPU 104 or a predetermined area of the RAM 106 It is only necessary to perform an initial setting so that can be referred to.

図27に示すステップS25の処理を実行することにより割込許可状態となった後、例えばタイマ回路107やシリアル通信回路108などにて同時に複数の割込み要因が生じたときには、ステップS24にて実行される割込み初期設定処理などでの設定に基づき、リセット/割込みコントローラ102によって優先順位の高い割込み要因が受け付けられる。リセット/割込みコントローラ102が割込み要因を受け付けたときには、例えばCPU104が備えるIクラス割込み(IRQ)端子などに対して、オン状態の割込み要求信号を出力する。CPU104にてIRQ端子にオン状態の割込み要求信号が入力されたときには、例えば内部レジスタの格納データを確認した結果などに基づき、ステップS24にて実行した割込み初期設定処理での設定に基づく読出順位に応じた順番で、例えばタイマ回路107が備えるタイマ制御レジスタやシリアル通信回路108が備えるシリアルステータスレジスタ204といった、所定レジスタにおける格納データのビット値を読み出せばよい。こうして読み出したレジスタの格納データから、発生した割込み要因を特定し、特定された割込み要因に対応するベクタアドレスを先頭アドレスとするプログラムを実行することにより、各割込み要因に基づく割込み処理を開始することができる。   After entering the interrupt enabled state by executing the processing of step S25 shown in FIG. 27, for example, when a plurality of interrupt factors occur simultaneously in the timer circuit 107, the serial communication circuit 108, etc., the processing is executed in step S24. Based on the setting in the interrupt initial setting process or the like, the reset / interrupt controller 102 accepts an interrupt factor with a high priority. When the reset / interrupt controller 102 receives an interrupt factor, it outputs an interrupt request signal in an on state to, for example, an I class interrupt (IRQ) terminal provided in the CPU 104. When the interrupt request signal in the on state is input to the IRQ terminal by the CPU 104, for example, based on the result of checking the data stored in the internal register, the reading order is set based on the setting in the interrupt initial setting process executed in step S24. The bit value of the stored data in a predetermined register such as the timer control register included in the timer circuit 107 or the serial status register 204 included in the serial communication circuit 108 may be read in the order according to the order. From the stored data in the register thus read, the interrupt factor that occurred is identified, and the interrupt processing based on each interrupt factor is started by executing a program that starts with the vector address corresponding to the identified interrupt factor. Can do.

具体的な一例として、最優先割込み設定(KHPR)が「05h」であるときには、まず、シリアルステータスレジスタ204が備える第1レジスタSIST1の第3〜第0ビット[ビット3−0]を読出し、何れかのビット値が「1」となっているか否かを判定する。このとき、何れかのビット値が「1」となっていれば、シリアル通信回路108にて発生したエラー割込み要因に対応する割込み処理を実行するものと判断して、例えばROM105の所定領域に格納されている割込みベクタを取得し、そのベクタアドレスを先頭アドレスとするプログラムを実行する。また、第1レジスタSIST1の第3〜第0ビット[ビット3−0]におけるビット値がいずれも「0」であるときには、遊技制御用マイクロコンピュータ100に設けられたIRQ端子にオン状態の割込み要求信号が一定期間入力されたことによる外部割込み要因が発生したか否かを判定する。このとき、外部割込み要因が発生していれば、その外部割込み要因に対応する割込み処理を実行する一方、外部割込み要因が発生していなければ、タイマ回路107が備えるタイマ制御レジスタにおける格納データを読出し、その読出値に基づいてタイマ回路107にてタイマ割込み要因が発生したか否かを判定する。このとき、タイマ回路107にてタイマ割込み要因が発生していれば、そのタイマ割込み要因に対応するタイマ割込み処理を実行する一方、タイマ割込み要因が発生していなければ、シリアルステータスレジスタ204が備える第1レジスタSIST1の第5及び第4ビット[ビット5−4]を読出し、何れかのビット値が「1」となっているか否かを判定する。このとき、何れかのビット値が「1」となっていれば、シリアル通信回路108にて発生した受信割込み要因に対応する受信割込み処理を実行する一方、いずれのビット値も「0」であれば、シリアルステータスレジスタ204が備える第1レジスタSIST1の第7及び第6ビット[ビット7−6]を読出し、何れかのビット値が「1」となっているか否かを判定する。このとき、何れかのビット値が「1」となっていれば、シリアル通信回路108にて発生した送信割込み要因に対応する送信割込み処理を実行する。   As a specific example, when the highest priority interrupt setting (KHPR) is “05h”, first, the third to zeroth bits [bits 3-0] of the first register SIST1 included in the serial status register 204 are read. It is determined whether the bit value is “1”. At this time, if any bit value is “1”, it is determined that an interrupt process corresponding to the error interrupt factor generated in the serial communication circuit 108 is executed, and stored in a predetermined area of the ROM 105, for example. Get the interrupt vector being executed, and execute the program with the vector address as the start address. When all the bit values in the third to 0th bits [bits 3-0] of the first register SIST1 are “0”, an interrupt request in an on state is sent to the IRQ terminal provided in the gaming control microcomputer 100. It is determined whether or not an external interrupt factor has occurred due to the signal being input for a certain period. At this time, if an external interrupt factor has occurred, the interrupt processing corresponding to the external interrupt factor is executed. If no external interrupt factor has occurred, the stored data in the timer control register included in the timer circuit 107 is read. Based on the read value, the timer circuit 107 determines whether or not a timer interrupt factor has occurred. At this time, if a timer interrupt factor has occurred in the timer circuit 107, a timer interrupt process corresponding to the timer interrupt factor is executed. If no timer interrupt factor has occurred, the serial status register 204 includes The fifth and fourth bits [bits 5-4] of one register SIST1 are read, and it is determined whether or not any bit value is “1”. At this time, if any bit value is “1”, the reception interrupt process corresponding to the reception interrupt factor generated in the serial communication circuit 108 is executed, while any bit value is “0”. For example, the seventh and sixth bits [bit 7-6] of the first register SIST1 included in the serial status register 204 are read to determine whether any of the bit values is “1”. At this time, if any bit value is “1”, transmission interrupt processing corresponding to the transmission interrupt factor generated in the serial communication circuit 108 is executed.

このように、図27に示すステップS24にて実行した割込み初期設定処理での設定に基づく優先順位に応じた順番で割込み要因が発生したか否かを確認することで、複数の割込み要因が同時に発生したときには、例えば図20(B)に示すようなデフォルト時の優先順位、あるいはROM105に記憶されている最優先割込み設定(KHPR)により変更された優先順位において、優先順位の高い割込み要因に基づく割込み処理が、優先順位の低い割込み要因に基づく割込み処理よりも優先的に実行される。   As described above, by checking whether or not the interrupt factors are generated in the order corresponding to the priority order based on the setting in the interrupt initial setting process executed in step S24 shown in FIG. When the error occurs, for example, based on the priority at the time of default as shown in FIG. 20B or the priority changed by the highest priority interrupt setting (KHPR) stored in the ROM 105, based on an interrupt factor having a higher priority. Interrupt processing is executed with higher priority than interrupt processing based on an interrupt factor having a low priority.

例えば、ROM105に記憶されている最優先割込み設定(KHPR)が「06h」であるときには、ステップS24にて実行される割込み初期設定処理などでの設定により、図20(B)に示すようなデフォルト時の優先順位が、図20(A)に示すようにシリアル通信回路108からの受信割込み要求を最優先とする優先順位に変更される。この場合には、シリアル通信回路108からのエラー割込み要求に基づく割込み処理よりもシリアル通信回路108からの受信割込み要求に基づく割込み処理の方が優先的に実行されることになる。また、図20(B)に示すように、デフォルト時では、タイマ回路107からの割込み要求に基づく割込み処理の方がシリアル通信回路108からの割込み要求に基づく割込み処理よりも優先的に実行される設定となっている。これに対して、ROM105に記憶されている最優先割込み設定(KHPR)が「05h」、「06h」、「07h」のいずれかであるときには、それぞれ、シリアル通信回路108からのエラー割込み要求に基づく割込み処理、受信割込み要求に基づく割込み処理、送信割込み要求に基づく割込み処理の方が、タイマ回路107からの割込み要求に基づく割込み処理よりも優先的に実行されることになる。   For example, when the highest priority interrupt setting (KHPR) stored in the ROM 105 is “06h”, the default as shown in FIG. 20B is set by the setting in the interrupt initial setting process executed in step S24. The priority order at that time is changed to a priority order that gives the highest priority to the reception interrupt request from the serial communication circuit 108 as shown in FIG. In this case, the interrupt process based on the reception interrupt request from the serial communication circuit 108 is executed with priority over the interrupt process based on the error interrupt request from the serial communication circuit 108. As shown in FIG. 20B, at the time of default, the interrupt process based on the interrupt request from the timer circuit 107 is executed with priority over the interrupt process based on the interrupt request from the serial communication circuit 108. It is set. On the other hand, when the highest priority interrupt setting (KHPR) stored in the ROM 105 is “05h”, “06h”, or “07h”, each is based on an error interrupt request from the serial communication circuit 108. Interrupt processing, interrupt processing based on a reception interrupt request, and interrupt processing based on a transmission interrupt request are executed with higher priority than interrupt processing based on an interrupt request from the timer circuit 107.

例えば、遊技制御用マイクロコンピュータ100に設けられたシリアル通信回路108にてエラー割込みが発生したときには、シリアル通信エラー割込み処理として予め定められた処理が実行される。ここで、シリアル通信回路108では、シリアル制御レジスタでの設定に基づき、オーバーランエラーの発生や、ノイズエラーの発生、フレーミングエラーの発生、あるいはパリティエラーの発生といった、所定のエラー割込み要因が発生したときに、エラー割込みを発生させることができる。なお、オーバーランエラーは、シリアル通信回路108における受信データがユーザプログラムによって読出される以前に、シリアル通信回路108の受信動作部に設けられた受信用シフトレジスタが次のデータを受信したときに発生するエラーである。また、ノイズエラーは、シリアル通信回路108にて受信したデータのノイズを検出したときに発生するエラーである。フレーミングエラーは、シリアル通信回路108にて受信したデータのストップビットに“0”を検出したときに発生するエラーである。パリティエラーは、シリアル通信回路108にて受信したデータのパリティと受信データ内におけるパリティビットとが一致しないときに発生するエラーである。例えば、シリアル通信回路108にてエラー割込み要因が発生したときに、シリアル通信回路108からリセット/割込みコントローラ102に割込み要求が送信され、前述したようにリセット/割込みコントローラ102が割込み要因を受け付けた場合には、CPU104が備えるIRQ端子にオン状態の割込み要求信号が入力されることで、CPU104に割込みの発生が通知される。   For example, when an error interrupt occurs in the serial communication circuit 108 provided in the game control microcomputer 100, a predetermined process is executed as the serial communication error interrupt process. Here, in the serial communication circuit 108, predetermined error interrupt factors such as an overrun error, a noise error, a framing error, or a parity error have occurred based on the setting in the serial control register. Sometimes an error interrupt can be generated. The overrun error occurs when the reception shift register provided in the reception operation unit of the serial communication circuit 108 receives the next data before the reception data in the serial communication circuit 108 is read by the user program. Error. The noise error is an error that occurs when noise of data received by the serial communication circuit 108 is detected. The framing error is an error that occurs when “0” is detected in the stop bit of the data received by the serial communication circuit 108. The parity error is an error that occurs when the parity of the data received by the serial communication circuit 108 does not match the parity bit in the received data. For example, when an error interrupt factor occurs in the serial communication circuit 108, an interrupt request is transmitted from the serial communication circuit 108 to the reset / interrupt controller 102, and the reset / interrupt controller 102 receives the interrupt factor as described above. The CPU 104 is notified of the occurrence of an interrupt by inputting an on-state interrupt request signal to the IRQ terminal of the CPU 104.

シリアル通信エラー割込み処理を開始したときに、遊技制御用マイクロコンピュータ100では、例えばCPU104がシリアル通信回路108に設けられた送信動作部と受信動作部を未使用状態に設定して、シリアル通信回路108による送受信動作を行わないものと設定すればよい。また、シリアル通信エラー割込み処理を実行したときには、例えばCPU104が遊技制御フラグ設定部133に設けられたシリアル通信エラーフラグをオン状態にセットすればよい。   When the serial communication error interrupt process is started, in the game control microcomputer 100, for example, the CPU 104 sets the transmission operation unit and the reception operation unit provided in the serial communication circuit 108 to the unused state, and the serial communication circuit 108 What is necessary is just to set not to perform the transmission / reception operation by. Further, when the serial communication error interrupt process is executed, for example, the CPU 104 may set the serial communication error flag provided in the game control flag setting unit 133 to the on state.

加えて、遊技制御用マイクロコンピュータ100に設けられたシリアル通信回路108にて受信割込みが発生したときには、シリアル受信割込み処理として予め定められた処理が実行される。このシリアル受信割込み処理が実行されることにより、シリアル通信回路108にて払出制御基板15から受信したコマンドが遊技制御バッファ設定部136に設けられた払出用受信コマンドバッファ191に格納される。さらに、遊技制御用マイクロコンピュータ100に設けられたシリアル通信回路108にて送信割込みが発生したときには、シリアル送信割込み処理として予め定められた処理が実行される。このシリアル送信割込み処理では、シリアル通信回路108にて発生した送信割込みの種類を特定して、特定された割込みの種類に応じたフラグをセットまたはクリアするなどといった、送信割込みの種類に対応する各種の処理が実行されればよい。   In addition, when a reception interrupt occurs in the serial communication circuit 108 provided in the game control microcomputer 100, a predetermined process is executed as a serial reception interrupt process. By executing the serial reception interrupt process, the command received from the payout control board 15 by the serial communication circuit 108 is stored in the payout reception command buffer 191 provided in the game control buffer setting unit 136. Furthermore, when a transmission interrupt occurs in the serial communication circuit 108 provided in the game control microcomputer 100, a predetermined process is executed as a serial transmission interrupt process. In this serial transmission interrupt process, various types corresponding to the type of transmission interrupt, such as specifying the type of transmission interrupt generated in the serial communication circuit 108 and setting or clearing the flag according to the specified type of interrupt. It is sufficient if the process is executed.

図31は、遊技制御用マイクロコンピュータ100にてタイマ割込みが発生するごとに実行される遊技制御用タイマ割込み処理の一例を示すフローチャートである。図31に示す遊技制御用タイマ割込み処理において、遊技制御用マイクロコンピュータ100は、まず、内部レジスタを退避した後(ステップS71)、所定のスイッチ処理を実行することにより、スイッチ回路111を介して各スイッチから入力される検出信号の状態を判定する(ステップS72)。次に、スイッチ回路111を介して満タンスイッチ26から入力される検出信号や、タッチセンサ75から入力されるタッチセンサ検出信号に基づき、発射装置19や球送り装置62を駆動あるいは停止させて遊技球の発射制御を行うための発射制御処理を実行する(ステップS73)。その後、所定の情報出力処理を実行することにより、例えばパチンコ遊技機1の外部に設置されたホール管理用コンピュータに供給される大当り情報、始動情報、確率変動情報などのデータを出力する(ステップS74)。また、ステップS74の情報出力処理では、発射装置19に発射許可信号を送信したり、球送り装置62に供給許可信号を送信したりするための設定が行われる。   FIG. 31 is a flowchart showing an example of a game control timer interrupt process executed each time a timer interrupt occurs in the game control microcomputer 100. In the game control timer interrupt process shown in FIG. 31, the game control microcomputer 100 first saves the internal register (step S71), and then executes a predetermined switch process to perform each switch via the switch circuit 111. The state of the detection signal input from the switch is determined (step S72). Next, based on the detection signal input from the full switch 26 via the switch circuit 111 and the touch sensor detection signal input from the touch sensor 75, the launching device 19 and the ball feeding device 62 are driven or stopped to play a game. A launch control process for controlling the launch of the sphere is executed (step S73). After that, by executing a predetermined information output process, for example, data such as jackpot information, starting information, probability variation information supplied to a hall management computer installed outside the pachinko gaming machine 1 is output (step S74). ). Further, in the information output process of step S74, settings for transmitting a firing permission signal to the launching device 19 and transmitting a supply permission signal to the ball feeding device 62 are performed.

ステップS74の情報出力処理に続いて、遊技制御用マイクロコンピュータ100では、例えばCPU104がROM105から読み出したユーザプログラムにより乱数の2周目以降におけるスタート値を変更するための乱数スタート値変更設定処理を実行する(ステップS75)。また、例えばCPU104がROM105から読み出したユーザプログラムにより乱数の2周目以降における順列を変更するための乱数順列変更設定処理を実行する(ステップS76)。   Subsequent to the information output process in step S74, the game control microcomputer 100 executes a random number start value change setting process for changing the start value in the second and subsequent rounds of the random number by the user program read out from the ROM 105 by the CPU 104, for example. (Step S75). Further, for example, the CPU 104 executes a random number permutation change setting process for changing the permutation in the second and subsequent rounds of random numbers by the user program read from the ROM 105 (step S76).

ステップS76にて乱数順列変更設定処理を実行した後、遊技制御用マイクロコンピュータ100は、ステップS72におけるスイッチ処理の実行結果に基づき、入賞検出信号の入力に応じて賞球個数の設定などを行う賞球処理を実行する(ステップS77)。また、遊技制御用マイクロコンピュータ100は、賞球過多や賞球不足、その他の動作エラーが発生した場合に対応して、異常動作の発生を報知するための設定などを行う異常動作報知設定処理を実行する(ステップS78)。続いて、シリアル通信により払出制御基板15から送信されたコマンドを受信するためのメイン側受信処理を実行する(ステップS79)。   After executing the random number permutation change setting process in step S76, the game control microcomputer 100 sets the number of prize balls according to the input of the winning detection signal based on the execution result of the switch process in step S72. Sphere processing is executed (step S77). Further, the game control microcomputer 100 performs an abnormal operation notification setting process for performing settings for notifying the occurrence of an abnormal operation in response to excessive prize balls, insufficient prize balls, or other operation errors. Execute (Step S78). Subsequently, a main-side reception process for receiving a command transmitted from the payout control board 15 by serial communication is executed (step S79).

この後、遊技制御用マイクロコンピュータ100は、特別図柄プロセス処理を実行する(ステップS80)。特別図柄プロセス処理では、遊技制御フラグ設定部133に設けられた特別図柄プロセスフラグの値をパチンコ遊技機1における遊技の進行状況に応じて更新し、特別図柄表示装置4における表示動作の制御や特別可変入賞球装置7における大入賞口開閉動作の設定などを所定の手順で行うために、各種の処理が選択されて実行される。特別図柄プロセス処理に続いて、普通図柄プロセス処理が実行される(ステップS81)。遊技制御用マイクロコンピュータ100は、普通図柄プロセス処理を実行することにより、普通図柄表示器40における表示動作(例えばLEDの点灯、消灯など)を制御して、普通図柄の可変表示(例えば、点灯・点滅表示など)や普通可変入賞球装置6における可動翼片の傾動制御の設定などを可能にする。   Thereafter, the game control microcomputer 100 executes a special symbol process (step S80). In the special symbol process, the value of the special symbol process flag provided in the game control flag setting unit 133 is updated according to the progress of the game in the pachinko gaming machine 1, and the display operation control or special in the special symbol display device 4 is performed. Various processes are selected and executed in order to set the special winning opening / closing operation in the variable winning ball apparatus 7 in a predetermined procedure. Following the special symbol process, the normal symbol process is executed (step S81). The game control microcomputer 100 executes the normal symbol process, thereby controlling the display operation (for example, turning on / off the LED) of the normal symbol display 40 to change the normal symbol variable display (for example, turning on / off). Flashing display, etc.) and the tilt control of the movable blade piece in the normal variable winning ball apparatus 6 can be set.

さらに、遊技制御用マイクロコンピュータ100は、払出用コマンド制御処理を実行することにより、主基板11から払出制御基板15に対して払出制御コマンドを送信させる(ステップS82)。また、遊技制御用マイクロコンピュータ100は、演出用コマンド制御処理を実行することにより、主基板11から演出制御基板12に対して演出制御コマンドを送信させる(ステップS83)。この後、遊技制御用マイクロコンピュータ100は、メイン側エラー解除処理を実行して、エラー解除スイッチ31からの検出信号がオン状態となったときに所定のエラーの解除を可能にする(ステップS84)。そして、ステップS71にて退避したレジスタの内容を復帰させてから(ステップS85)、遊技制御用タイマ割込み処理を終了する。   Furthermore, the game control microcomputer 100 transmits a payout control command from the main board 11 to the payout control board 15 by executing a payout command control process (step S82). In addition, the game control microcomputer 100 transmits an effect control command from the main board 11 to the effect control board 12 by executing an effect command control process (step S83). Thereafter, the game control microcomputer 100 executes a main-side error canceling process and enables a predetermined error to be cancelled when the detection signal from the error canceling switch 31 is turned on (step S84). . Then, after the contents of the register saved in step S71 are restored (step S85), the game control timer interrupt process is terminated.

ステップS83のメイン側エラー解除処理では、例えばCPU104がステップS72におけるスイッチ処理の実行結果などに基づきエラー解除スイッチ31からの検出信号がオン状態となっているか否かを判定する。このとき、エラー解除スイッチ31からの検出信号がオン状態となっていれば、例えば払出用通信エラー検出フラグがオンとなっているか否かを判定する。そして、払出用通信エラー検出フラグがオンであれば、払出用通信エラー検出フラグをクリアしてオフ状態とする。また、エラー解除スイッチ31からの検出信号がオン状態となっているときには、シリアル通信エラーフラグがオンとなっているか否かを判定する。そして、シリアル通信エラーフラグがオンであるときには、例えば図27に示すステップS23と同様のシリアル通信初期設定処理を実行することにより、シリアル通信回路108の初期設定を行ってから、シリアル通信エラーフラグをクリアしてオフ状態とする。さらに、ステップS83のメイン側エラー解除処理では、払出エラー解除フラグがオンとなっているか否かを判定し、オンであるときには、払出制御基板15からエラーが解除された旨を示す払出エラー解除コマンドを受信したと判断して、払出エラー通知フラグをクリアしてオフ状態とするようにしてもよい。   In the main-side error canceling process in step S83, for example, the CPU 104 determines whether or not the detection signal from the error canceling switch 31 is on based on the execution result of the switch process in step S72. At this time, if the detection signal from the error release switch 31 is on, it is determined whether, for example, a payout communication error detection flag is on. If the payout communication error detection flag is on, the payout communication error detection flag is cleared and turned off. When the detection signal from the error release switch 31 is on, it is determined whether or not the serial communication error flag is on. When the serial communication error flag is on, for example, the serial communication initial setting process similar to step S23 shown in FIG. 27 is executed to initialize the serial communication circuit 108, and then the serial communication error flag is set. Clear to turn off. Further, in the main-side error canceling process in step S83, it is determined whether or not the payout error canceling flag is on. If it is on, a payout error canceling command indicating that the error has been cancelled from the payout control board 15. The payout error notification flag may be cleared and set to the off state.

図32は、図31に示すステップS73にて実行される発射制御処理の一例を示すフローチャートである。この発射制御処理を開始すると、遊技制御用マイクロコンピュータ100では、まず、例えばCPU104がスイッチ回路111を介してタッチセンサ75から入力されたタッチセンサ検出信号がオン状態となっているか否かを判定する(ステップS201)。このとき、タッチセンサ検出信号がオン状態であれば(ステップS201;Yes)、スイッチ回路111を介して満タンスイッチ26から入力された検出信号がオン状態となっているか否かを判定する(ステップS202)。   FIG. 32 is a flowchart showing an example of the firing control process executed in step S73 shown in FIG. When the launch control process is started, in the game control microcomputer 100, for example, the CPU 104 first determines whether or not the touch sensor detection signal input from the touch sensor 75 via the switch circuit 111 is in an ON state. (Step S201). At this time, if the touch sensor detection signal is on (step S201; Yes), it is determined whether the detection signal input from the full switch 26 via the switch circuit 111 is on (step). S202).

ステップS202にて満タンスイッチ26からの検出信号がオフ状態であるときには(ステップS202;No)、例えば遊技制御タイマ設定部134に設けられた発射制御タイマがタイムアウトしているか否かを判定する(ステップS203)。なお、発射制御タイマには、後述するステップS208にて、発射制御用初期値となるタイマ初期値が設定される。そして、ステップS203にて発射制御タイマがタイムアウトしていないときには(ステップS203;No)、発射制御タイマのタイマ値を、例えば1減算するなどして更新する(ステップS204)。その後、例えばステップS204での更新により発射制御タイマがタイムアウトしたか否かを判定することなどにより、発射制御時間が経過したか否かを判定する(ステップS205)。   When the detection signal from the full switch 26 is in the OFF state in step S202 (step S202; No), for example, it is determined whether or not the firing control timer provided in the game control timer setting unit 134 has timed out ( Step S203). Note that, in step S208, which will be described later, a timer initial value that is an initial value for launch control is set in the launch control timer. If the firing control timer has not timed out in step S203 (step S203; No), the timer value of the firing control timer is updated by subtracting, for example, 1 (step S204). Thereafter, for example, by determining whether or not the firing control timer has timed out due to the update in step S204, it is determined whether or not the firing control time has elapsed (step S205).

ステップS205にて発射制御時間が経過していなければ(ステップS205;No)、発射制御処理を終了する。これに対して、ステップS205にて発射制御時間が経過しているときには(ステップS205;Yes)、遊技制御タイマ設定部134が備える供給許可制御タイマに、供給出力用初期値として予め定められたタイマ初期値を設定する(ステップS206)。ここで、供給出力用初期値は、発射制御時間が経過するごとに定期的に出力される供給許可信号の出力時間(例えば12ミリ秒)に対応して予め定められたタイマ初期値であればよい。ステップS206の処理に続いて、遊技制御タイマ設定部134が備える発射許可制御タイマに、発射出力用初期値として予め定められたタイマ初期値を設定する(ステップS207)。ここで、発射出力用初期値は、発射制御時間が経過するごとに定期的に出力される発射許可信号の出力時間(例えば74ミリ秒)に対応して予め定められたタイマ初期値であればよい。   If the firing control time has not elapsed in step S205 (step S205; No), the firing control process is terminated. On the other hand, when the emission control time has elapsed in step S205 (step S205; Yes), a timer predetermined as a supply output initial value is set in the supply permission control timer provided in the game control timer setting unit 134. An initial value is set (step S206). Here, the initial value for supply output is a timer initial value determined in advance corresponding to the output time (for example, 12 milliseconds) of the supply permission signal periodically output every time the firing control time elapses. Good. Following the processing of step S206, a timer initial value set in advance as a firing output initial value is set in the firing permission control timer provided in the game control timer setting unit 134 (step S207). Here, the initial value for launch output is a timer initial value determined in advance corresponding to the output time (for example, 74 milliseconds) of the launch permission signal that is periodically output every time the launch control time elapses. Good.

ステップS201にてタッチセンサ75から入力されたタッチセンサ検出信号がオフ状態であるとき(ステップS201;No)、ステップS202にて満タンスイッチ26からの検出信号がオン状態であるとき(ステップS202;Yes)、ステップS203にて発射制御タイマがタイムアウトしたとき(ステップS203;Yes)、あるいはステップS207の処理を実行した後には、発射制御タイマに発射制御用初期値として予め定められたタイマ初期値を設定する(ステップS208)。なお、発射制御用初期値は、主基板11から発射装置19への発射許可信号や、主基板11から球送り装置62への供給許可信号を、定期的に送信するための制御時間(例えば602ミリ秒)に対応して予め定められたタイマ初期値であればよい。   When the touch sensor detection signal input from the touch sensor 75 is OFF in step S201 (step S201; No), when the detection signal from the full switch 26 is ON in step S202 (step S202; Yes) When the firing control timer times out in step S203 (step S203; Yes), or after executing the processing of step S207, a timer initial value set in advance as the firing control initial value is set in the firing control timer. Setting is made (step S208). Note that the initial value for launch control is a control time (for example, 602) for periodically transmitting a launch permission signal from the main board 11 to the launching device 19 and a supply permission signal from the main board 11 to the ball feeding device 62. It may be a timer initial value determined in advance corresponding to (milliseconds).

このように、ステップS201にてタッチセンサ75から入力されたタッチセンサ検出信号がオフ状態であるときや、ステップS202にて満タンスイッチ26からの検出信号がオン状態であるときには、ステップS206の処理やステップS207の処理が実行されずに、ステップS208の処理に進むことになる。そのため、タッチセンサ75からのタッチセンサ検出信号がオン状態であり、かつ、満タンスイッチ26からの検出信号がオフ状態であれば、主基板11から発射装置19への発射許可信号や主基板11から球送り装置62への供給許可信号の出力が可能になる一方で、タッチセンサ75からのタッチセンサ検出信号がオフ状態であるとき、または、満タンスイッチ26からの検出信号がオン状態であるときには、主基板11から発射装置19への発射許可信号や主基板11から球送り装置62への供給許可信号が出力されないことになる。   As described above, when the touch sensor detection signal input from the touch sensor 75 in step S201 is in the OFF state, or when the detection signal from the full switch 26 is in the ON state in step S202, the process in step S206. Otherwise, the process proceeds to step S208 without performing the process in step S207. Therefore, if the touch sensor detection signal from the touch sensor 75 is in the on state and the detection signal from the full switch 26 is in the off state, a launch permission signal from the main board 11 to the launching device 19 or the main board 11 is detected. Can be output to the ball feeding device 62, while the touch sensor detection signal from the touch sensor 75 is in the OFF state, or the detection signal from the full switch 26 is in the ON state. Sometimes, a firing permission signal from the main board 11 to the launching device 19 and a supply permission signal from the main board 11 to the ball feeding device 62 are not output.

図33は、図31に示すステップS74にて実行される情報出力処理の一例を示すフローチャートである。この情報出力処理を開始すると、遊技制御用マイクロコンピュータ100では、まず、発射許可制御タイマがタイムアウトしているか否かを、例えばCPU104が判定する(ステップS221)。このとき、発射許可制御タイマがタイムアウトしていなければ(ステップS221;No)、発射許可制御タイマのタイマ値を、例えば1減算するなどして更新する(ステップS222)。ステップS222の処理に続いて、発射許可信号を発射装置19に対して出力するための設定を行う(ステップS223)。具体的な一例として、ステップS223では、発射許可信号をオン状態とするための制御データを、遊技制御用マイクロコンピュータ100が備える出力ポートにて発射許可信号の出力用に設けられた所定ビットにセットすればよい。   FIG. 33 is a flowchart showing an example of the information output process executed in step S74 shown in FIG. When the information output process is started, in the game control microcomputer 100, for example, the CPU 104 first determines whether or not the firing permission control timer has timed out (step S221). At this time, if the firing permission control timer has not timed out (step S221; No), the timer value of the firing permission control timer is updated by subtracting, for example, 1 (step S222). Subsequent to the processing in step S222, setting for outputting a firing permission signal to the launching device 19 is performed (step S223). As a specific example, in step S223, control data for turning on the firing permission signal is set to a predetermined bit provided for outputting the firing permission signal at the output port of the game control microcomputer 100. do it.

ステップS221にて発射許可制御タイマがタイムアウトしているときや(ステップS221;Yes)、ステップS223の処理を実行した後には、供給許可制御タイマがタイムアウトしているか否かを判定する(ステップS224)。このとき、供給許可制御タイマがタイムアウトしていなければ(ステップS224;No)、供給許可制御タイマのタイマ値を、例えば1減算するなどして更新する(ステップS225)。ステップS225の処理に続いて、供給許可信号を球送り装置62に対して出力するための設定を行う(ステップS226)。具体的な一例として、ステップS226では、供給許可信号をオン状態とするための制御データを、遊技制御用マイクロコンピュータ100が備える出力ポートにて供給許可信号の出力用に設けられた所定ビットにセットすればよい。ステップS224にて供給許可制御タイマがタイムアウトしているときや(ステップS224;Yes)、ステップS226の処理を実行した後には、パチンコ遊技機1における各種情報を出力するための設定を行えばよい(ステップS227)。   When the firing permission control timer has timed out in step S221 (step S221; Yes), after executing the process of step S223, it is determined whether or not the supply permission control timer has timed out (step S224). . At this time, if the supply permission control timer has not timed out (step S224; No), the timer value of the supply permission control timer is updated by subtracting, for example, 1 (step S225). Subsequent to the process of step S225, setting for outputting a supply permission signal to the ball feeder 62 is performed (step S226). As a specific example, in step S226, control data for turning on the supply permission signal is set to a predetermined bit provided for output of the supply permission signal at the output port of the game control microcomputer 100. do it. When the supply permission control timer has timed out in step S224 (step S224; Yes), after executing the process of step S226, settings for outputting various information in the pachinko gaming machine 1 may be performed ( Step S227).

図34及び図35は、図31に示すステップS73にて実行される乱数スタート値変更設定処理の一例を示すフローチャートである。この乱数スタート値変更設定処理を開始すると、遊技制御用マイクロコンピュータ100では、まず、例えばCPU104が遊技制御フラグ設定部133に設けられた12ビット乱数用スタート値変更フラグがオンとなっているか否かを判定する(図34のステップS241)。このとき、12ビット乱数用スタート値変更フラグがオンであれば(ステップS241;Yes)、CPU104が12ビット乱数における2周目以降のスタート値に関する設定を読出し(ステップS242)、読出値が「01」であるか否かを判定する(ステップS243)。ステップS242における処理の具体的な一例としては、乱数回路103もしくはCPU104に内蔵された所定のレジスタや、RAM106の所定領域に格納された12ビット乱数における2周目以降のスタート値に関する設定データを、CPU104が読み出す処理などであればよい。   34 and 35 are flowcharts showing an example of the random number start value change setting process executed in step S73 shown in FIG. When the random number start value change setting process is started, in the game control microcomputer 100, first, for example, the CPU 104 determines whether or not the 12-bit random number start value change flag provided in the game control flag setting unit 133 is on. Is determined (step S241 in FIG. 34). At this time, if the start value change flag for the 12-bit random number is on (step S241; Yes), the CPU 104 reads the setting related to the start value after the second round in the 12-bit random number (step S242), and the read value is “01. Is determined (step S243). As a specific example of the processing in step S242, setting data relating to a start value for the second and subsequent rounds in a predetermined register built in the random number circuit 103 or the CPU 104, or a 12-bit random number stored in a predetermined area of the RAM 106, What is necessary is just the process which CPU104 reads.

ステップS203にて読出値が「01」であると判定されたときには(ステップS243;Yes)、乱数回路103において12ビット乱数を生成するためのスタート値(2周目以降のスタート値)を、遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づいて決定する(ステップS244)。ここで、ステップS244の処理では、遊技制御用マイクロコンピュータ100のIDナンバーを、そのまま12ビット乱数を生成するためのスタート値に設定するようにしてもよい。あるいは、遊技制御用マイクロコンピュータ100のIDナンバーを用いて所定の演算を実行することにより算出された値を、12ビット乱数を生成するためのスタート値に設定するようにしてもよい。例えば、遊技制御用マイクロコンピュータ100のIDナンバーに所定のスクランブル処理を施す演算や、IDナンバーを用いた加算・減算・乗算・除算などの演算を実行して、算出された値を用いるようにすればよい。   When it is determined in step S203 that the read value is “01” (step S243; Yes), the random number circuit 103 generates a start value (start value after the second round) for generating a 12-bit random number. A determination is made based on the ID number, which is unique identification information given to each control microcomputer 100 (step S244). Here, in the process of step S244, the ID number of the game control microcomputer 100 may be set to the start value for generating a 12-bit random number as it is. Alternatively, a value calculated by executing a predetermined calculation using the ID number of the game control microcomputer 100 may be set as a start value for generating a 12-bit random number. For example, an operation for performing a predetermined scramble process on the ID number of the game control microcomputer 100 or an operation such as addition / subtraction / multiplication / division using the ID number is performed to use the calculated value. That's fine.

また、ステップS243にて読出値が「01」ではないと判定されたときには(ステップS243;No)、その読出値は「10」であるか否かを判定する(ステップS245)。そして、読出値が「10」であると判定されたときには(ステップS245;Yes)、乱数回路103において12ビット乱数を生成するためのスタート値(2周目以降のスタート値)を、RAM106の格納データに基づく値に決定するための処理を実行する。すなわち、CPU104は、RAM106の各番地における格納値を読出し(ステップS246)、読出した格納値を順次に加算する(ステップS247)。そして、12ビット乱数を生成するためのスタート値を、ステップS247における加算処理によって算出された加算値に変更する(ステップS248)。なお、ステップS248の処理では、ステップS247における加算処理によって算出された加算値が最大値を超えているか否かを判定し、超えていない場合には加算値をそのままスタート値に設定する一方、超えている場合には最大値以下となる所定値(例えば「1」など)をスタート値として再設定すればよい。   If it is determined in step S243 that the read value is not “01” (step S243; No), it is determined whether or not the read value is “10” (step S245). When it is determined that the read value is “10” (step S245; Yes), the random number circuit 103 stores a start value (start value for the second and subsequent rounds) in the RAM 106 for generating a 12-bit random number. A process for determining a value based on the data is executed. That is, the CPU 104 reads the stored value at each address in the RAM 106 (step S246), and sequentially adds the read stored values (step S247). Then, the start value for generating the 12-bit random number is changed to the addition value calculated by the addition process in step S247 (step S248). In the process of step S248, it is determined whether or not the addition value calculated by the addition process in step S247 exceeds the maximum value. If not, the addition value is set as the start value as it is. In such a case, a predetermined value (for example, “1” or the like) that is equal to or less than the maximum value may be reset as the start value.

ステップS245にて読出値が「10」ではないと判定されたときには(ステップS245;No)、その読出値は「11」であるか否かを判定する(ステップS249)。そして、読出値が「11」であると判定されたときには(ステップS249;Yes)、RAM106における指定番地(指定RAM番地)の格納値を読出し(ステップS250)、12ビット乱数を生成するためのスタート値を、ステップS250での読出値に変更する(ステップS251)。   When it is determined in step S245 that the read value is not “10” (step S245; No), it is determined whether or not the read value is “11” (step S249). When it is determined that the read value is “11” (step S249; Yes), the stored value of the designated address (designated RAM address) in the RAM 106 is read (step S250), and a start for generating a 12-bit random number is performed. The value is changed to the read value in step S250 (step S251).

なお、ステップS244、S246〜S248、S250及びS251の各処理は、乱数回路103が備える初期値設定回路172Aによって実行されるようにしてもよい。例えば、CPU104がステップS243にて読出値が「01」であると判定したときには、乱数回路103に所定の第1初期値変更信号を送る。乱数回路103がCPU104から第1初期値変更信号を受けたときには、初期値設定回路172Aが所定のレジスタに記憶されたIDナンバーに基づいて生成されるデータを選択し、その選択したデータを乱数生成回路173Aに設定することなどにより、12ビット乱数を生成するための2周目以降のスタート値を、遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づいた値に設定する(ステップS244に相当する処理)。他方、CPU104がステップS203にて読出値が「01」ではないと判定した後、ステップS205にて読出値が「10」であると判定したときには、乱数回路103に所定の第2初期値変更信号を送る。乱数回路103がCPU104から第2初期値変更信号を受けたときには、初期値設定回路172AがRAM106の各番地における格納値を読出し、読出した格納値を順次に加算することにより得られた加算値を乱数生成回路173Aに設定することなどにより、12ビット乱数を生成するための2周目以降のスタート値を、RAM106の格納データに基づく値に設定する(ステップS246〜S248に相当する処理)。また、CPU104がステップS245にて読出値が「10」ではないと判定した後、ステップS249にて読出値が「11」であると判定したときには、乱数回路103に所定の第3初期値変更信号を送る。乱数回路103がCPU104から第3初期値変更信号を受けたときには、初期値設定回路172AがRAM106における指定番地の格納値を読出し、読出した格納値を乱数生成回路173Aに設定することなどにより、12ビット乱数を生成するための2周目以降のスタート値を、読出した格納値に変更するように設定する(ステップS250、S251に相当する処理)。さらに、CPU104は、初期値設定回路172Aの動作を直接制御してステップS244、S246〜S248、S250及びS251に相当する処理を実行させてもよいし、例えば乱数回路103の内部または外部に初期値変更制御用として設けられて初期値設定回路172Aが参照可能な所定のレジスタにステップS202での読出値に対応した制御データをセットすること(このデータセット処理は、図29に示すステップS111にてROM105から第1乱数初期設定データ(KRSS1)の第1及び第0ビット[ビット1−0]を読出した後、ステップS112の処理として実行されてもよい。)などにより、初期値設定回路172Aの動作を間接的に制御するようにしてもよい。CPU104が初期値変更制御用のレジスタに制御データをセットした場合には、例えば乱数回路103にて乱数生成回路173Aが乱数一巡信号RIJ1を出力したときに初期値設定回路172Aが初期値変更制御用のレジスタに記憶されている制御データを参照し、その制御データに従った初期値変更動作を行うことにより、ステップS242での読出値に応じた2周目以降のスタート値を生成して、乱数生成回路173Aに設定することができる。   Note that the processes of steps S244, S246 to S248, S250, and S251 may be executed by the initial value setting circuit 172A included in the random number circuit 103. For example, when the CPU 104 determines that the read value is “01” in step S 243, a predetermined first initial value change signal is sent to the random number circuit 103. When the random number circuit 103 receives the first initial value change signal from the CPU 104, the initial value setting circuit 172A selects data generated based on the ID number stored in a predetermined register and generates the selected data as a random number. By setting the circuit 173A or the like, the start value for the second and subsequent rounds for generating a 12-bit random number is changed to a value based on an ID number that is unique identification information assigned to each game control microcomputer 100. Set (processing corresponding to step S244). On the other hand, if the CPU 104 determines that the read value is not “01” in step S203 and then determines that the read value is “10” in step S205, the random number circuit 103 is supplied with a predetermined second initial value change signal. Send. When the random number circuit 103 receives the second initial value change signal from the CPU 104, the initial value setting circuit 172A reads the stored value at each address of the RAM 106, and sequentially adds the read stored values. By setting the random number generation circuit 173A or the like, the start value for the second and subsequent rounds for generating a 12-bit random number is set to a value based on the data stored in the RAM 106 (processing corresponding to steps S246 to S248). When the CPU 104 determines that the read value is not “10” in step S245 and then determines that the read value is “11” in step S249, the random number circuit 103 is supplied with a predetermined third initial value change signal. Send. When the random number circuit 103 receives the third initial value change signal from the CPU 104, the initial value setting circuit 172A reads the stored value at the designated address in the RAM 106, sets the read stored value in the random number generation circuit 173A, etc. The start value for the second and subsequent cycles for generating the bit random number is set to be changed to the read stored value (processing corresponding to steps S250 and S251). Further, the CPU 104 may directly control the operation of the initial value setting circuit 172A to execute processing corresponding to steps S244, S246 to S248, S250, and S251. For example, the initial value may be set inside or outside the random number circuit 103. Control data corresponding to the read value in step S202 is set in a predetermined register provided for change control and which can be referred to by initial value setting circuit 172A (this data setting process is performed in step S111 shown in FIG. 29). After reading the first and 0th bits [bit 1-0] of the first random number initial setting data (KRSS1) from the ROM 105, it may be executed as the process of step S112). The operation may be indirectly controlled. When the CPU 104 sets control data in the initial value change control register, for example, when the random number generation circuit 173A outputs the random number loop signal RIJ1 in the random number circuit 103, the initial value setting circuit 172A uses the initial value change control. By referring to the control data stored in the register and performing an initial value changing operation according to the control data, a start value for the second and subsequent rounds corresponding to the read value in step S242 is generated, and a random number is generated. It can be set in the generation circuit 173A.

ステップS244、S248、S251の処理のいずれかを実行した後や、ステップS249にて読出値が「11」ではないと判定されたときには(ステップS249;No)、12ビット乱数用スタート値変更フラグをクリアしてオフ状態とする(ステップS252)。ステップS252の処理を実行した後や、ステップS241にて12ビット乱数用スタート値変更フラグがオフであると判定されたときには(ステップS241;No)、遊技制御フラグ設定部133に設けられた16ビット乱数用スタート値変更フラグがオンとなっているか否かを判定する(図35のステップS253)。このとき、16ビット乱数用スタート値変更フラグがオフであれば(ステップS253;No)、乱数スタート値変更設定処理を終了する。他方、16ビット乱数用スタート値変更フラグがオンであれば(ステップS253;Yes)、16ビット乱数における2周目以降のスタート値に関する設定を読出し(ステップS254)、読出値が「01」であるか否かを判定する(ステップS255)。ステップS254における処理の具体的な一例としては、乱数回路103もしくはCPU104に内蔵された所定のレジスタや、RAM106の所定領域に格納された16ビット乱数における2周目以降のスタート値に関する設定データを、CPU104が読み出す処理などであればよい。   After executing one of the processes of steps S244, S248, and S251, or when it is determined in step S249 that the read value is not “11” (step S249; No), a 12-bit random number start value change flag is set. It is cleared and turned off (step S252). After executing the processing of step S252 or when it is determined in step S241 that the 12-bit random number start value change flag is off (step S241; No), the 16 bits provided in the game control flag setting unit 133 It is determined whether or not the random number start value change flag is on (step S253 in FIG. 35). At this time, if the 16-bit random number start value change flag is off (step S253; No), the random number start value change setting process ends. On the other hand, if the start value change flag for the 16-bit random number is on (step S253; Yes), the setting related to the start value after the second round in the 16-bit random number is read (step S254), and the read value is “01”. Whether or not (step S255). As a specific example of the processing in step S254, setting data related to the start value for the second and subsequent rounds in a predetermined register built in the random number circuit 103 or the CPU 104, or a 16-bit random number stored in a predetermined area of the RAM 106, What is necessary is just the process which CPU104 reads.

ステップS255にて読出値が「01」であると判定されたときには(ステップS255;Yes)、乱数回路103において16ビット乱数を生成するためのスタート値(2周目以降のスタート値)を、遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づいて決定する(ステップS256)。ここで、ステップS256の処理では、遊技制御用マイクロコンピュータ100のIDナンバーを、そのまま16ビット乱数を生成するためのスタート値に設定するようにしてもよい。あるいは、遊技制御用マイクロコンピュータ100のIDナンバーを用いて所定の演算を実行することにより算出された値を、16ビット乱数を生成するためのスタート値に設定するようにしてもよい。例えば、遊技制御用マイクロコンピュータ100のIDナンバーに所定のスクランブル処理を施す演算や、IDナンバーを用いた加算・減算・乗算・除算などの演算を実行して、算出された値を用いるようにすればよい。   When it is determined in step S255 that the read value is “01” (step S255; Yes), the random number circuit 103 generates a start value (start value after the second round) for generating a 16-bit random number. This is determined based on the ID number which is unique identification information assigned to each control microcomputer 100 (step S256). Here, in the process of step S256, the ID number of the game control microcomputer 100 may be set to the start value for generating a 16-bit random number as it is. Alternatively, a value calculated by executing a predetermined calculation using the ID number of the game control microcomputer 100 may be set as a start value for generating a 16-bit random number. For example, an operation for performing a predetermined scramble process on the ID number of the game control microcomputer 100 or an operation such as addition / subtraction / multiplication / division using the ID number is performed to use the calculated value. That's fine.

また、ステップS255にて読出値が「01」ではないと判定されたときには(ステップS255;No)、その読出値は「10」であるか否かを判定する(ステップS257)。そして、読出値が「10」であると判定されたときには(ステップS257;Yes)、乱数回路103において16ビット乱数を生成するためのスタート値(2周目以降のスタート値)を、RAM106の格納データに基づく値に決定するための処理を実行する。すなわち、CPU104は、RAM106の各番地における格納値を読出し(ステップS258)、読出した格納値を順次に加算する(ステップS259)。そして、16ビット乱数を生成するためのスタート値を、ステップS259における加算処理によって算出された加算値に変更する(ステップS260)。なお、ステップS260の処理では、ステップS259における加算処理によって算出された加算値が最大値を超えているか否かを判定し、超えていない場合には加算値をそのままスタート値に設定する一方、超えている場合には最大値以下となる所定値(例えば「1」など)をスタート値として再設定すればよい。   When it is determined in step S255 that the read value is not “01” (step S255; No), it is determined whether or not the read value is “10” (step S257). When it is determined that the read value is “10” (step S257; Yes), the random number circuit 103 stores the start value (start value after the second round) in the RAM 106 for generating a 16-bit random number. A process for determining a value based on the data is executed. That is, the CPU 104 reads the stored value at each address in the RAM 106 (step S258), and sequentially adds the read stored values (step S259). Then, the start value for generating the 16-bit random number is changed to the addition value calculated by the addition process in step S259 (step S260). In the process of step S260, it is determined whether or not the addition value calculated by the addition process in step S259 exceeds the maximum value. If not, the addition value is set as the start value as it is, In such a case, a predetermined value (for example, “1” or the like) that is not more than the maximum value may be reset as the start value.

ステップS257にて読出値が「10」ではないと判定されたときには(ステップS257;No)、その読出値は「11」であるか否かを判定する(ステップS261)。そして、読出値が「11」であると判定されたときには(ステップS261;Yes)、RAM106における指定番地(指定RAM番地)の格納値を読出し(ステップS262)、16ビット乱数を生成するためのスタート値を、ステップS262での読出値に変更する(ステップS263)。ステップS256、S260、S263の処理のいずれかを実行した後や、ステップS261にて読出値が「11」ではないと判定されたときには(ステップS261;No)、16ビット乱数用スタート値変更フラグをクリアしてオフ状態とする(ステップS264)。   When it is determined in step S257 that the read value is not “10” (step S257; No), it is determined whether or not the read value is “11” (step S261). When it is determined that the read value is “11” (step S261; Yes), the stored value at the specified address (specified RAM address) in the RAM 106 is read (step S262), and a start for generating a 16-bit random number is started. The value is changed to the read value in step S262 (step S263). After executing any of the processes of steps S256, S260, and S263, or when it is determined in step S261 that the read value is not “11” (step S261; No), a 16-bit random number start value change flag is set. Clear and turn off (step S264).

なお、ステップS256、S258〜S260、S262及びS263の各処理は、乱数回路103が備える初期値設定回路172Bによって実行されるようにしてもよい。例えば、CPU104がステップS255にて読出値が「01」であると判定したときには、乱数回路103に所定の第4初期値変更信号を送る。乱数回路103がCPU104から第4初期値変更信号を受けたときには、初期値設定回路172Bが所定のレジスタに記憶されたIDナンバーに基づいて生成されるデータを選択し、その選択したデータを乱数生成回路173Bに設定することなどにより、16ビット乱数を生成するための2周目以降のスタート値を、遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づいた値に設定する(ステップS256に相当する処理)。他方、CPU104がステップS255にて読出値が「01」ではないと判定した後、ステップS257にて読出値が「10」であると判定したときには、乱数回路103に所定の第5初期値変更信号を送る。乱数回路103がCPU104から第5初期値変更信号を受けたときには、初期値設定回路172BがRAM106の各番地における格納値を読出し、読出した格納値を順次に加算することにより得られた加算値を乱数生成回路173Bに設定することなどにより、16ビット乱数を生成するための2周目以降のスタート値を、RAM106の格納データに基づく値に設定する(ステップS258〜S260に相当する処理)。また、CPU104がステップS257にて読出値が「10」ではないと判定した後、ステップS261にて読出値が「11」であると判定したときには、乱数回路103に所定の第6初期値変更信号を送る。乱数回路103がCPU104から第6初期値変更信号を受けたときには、初期値設定回路172BがRAM106における指定番地の格納値を読出し、読出した格納値を乱数生成回路173Bに設定することなどにより、16ビット乱数を生成するための2周目以降のスタート値を、読出した格納値に変更するように設定する(ステップS262、S263に相当する処理)。さらに、CPU104は、初期値設定回路172Bの動作を直接制御してステップS256、S258〜S260、S262及びS263に相当する処理を実行させてもよいし、例えば乱数回路103の内部または外部に初期値変更制御用として設けられて初期値設定回路172Bが参照可能な所定のレジスタにステップS254での読出値に対応した制御データをセットすること(このデータセット処理は、図30に示すステップS133にてROM105から第2乱数初期設定データ(KRSS2)の第3及び第2ビット[ビット3−2]を読出した後、ステップS134の処理として実行されてもよい。)などにより、初期値設定回路172Bの動作を間接的に制御するようにしてもよい。CPU104が初期値変更制御用のレジスタに制御データをセットした場合には、例えば乱数回路103にて乱数生成回路173Bが乱数一巡信号RIJ2を出力したときに初期値設定回路172Bが初期値変更制御用のレジスタに記憶されている制御データを参照し、その制御データに従った初期値変更動作を行うことにより、ステップS254での読出値に応じた2周目以降のスタート値を生成して、乱数生成回路173Bに設定することができる。   Note that the processes of steps S256, S258 to S260, S262, and S263 may be executed by the initial value setting circuit 172B included in the random number circuit 103. For example, when the CPU 104 determines in step S 255 that the read value is “01”, a predetermined fourth initial value change signal is sent to the random number circuit 103. When the random number circuit 103 receives the fourth initial value change signal from the CPU 104, the initial value setting circuit 172B selects data generated based on the ID number stored in a predetermined register, and generates the selected data as a random number. By setting the circuit 173B or the like, the start value for the second and subsequent cycles for generating a 16-bit random number is set to a value based on the ID number that is unique identification information assigned to each game control microcomputer 100. Set (processing corresponding to step S256). On the other hand, when the CPU 104 determines that the read value is not “01” in step S255 and then determines that the read value is “10” in step S257, the random number circuit 103 receives a predetermined fifth initial value change signal. Send. When the random number circuit 103 receives the fifth initial value change signal from the CPU 104, the initial value setting circuit 172B reads out the stored value at each address of the RAM 106, and adds the obtained stored value sequentially. By setting the random number generation circuit 173B, the start value for the second and subsequent cycles for generating a 16-bit random number is set to a value based on the data stored in the RAM 106 (processing corresponding to steps S258 to S260). When the CPU 104 determines that the read value is not “10” in step S257 and then determines that the read value is “11” in step S261, the random number circuit 103 is supplied with a predetermined sixth initial value change signal. Send. When the random number circuit 103 receives the sixth initial value change signal from the CPU 104, the initial value setting circuit 172B reads the stored value at the designated address in the RAM 106, sets the read stored value in the random number generation circuit 173B, etc. The start value after the second round for generating the bit random number is set to be changed to the read stored value (processing corresponding to steps S262 and S263). Further, the CPU 104 may directly control the operation of the initial value setting circuit 172B to execute processing corresponding to steps S256, S258 to S260, S262, and S263. For example, the initial value may be set inside or outside the random number circuit 103. Control data corresponding to the read value in step S254 is set in a predetermined register provided for change control and which can be referred to by initial value setting circuit 172B (this data setting process is performed in step S133 shown in FIG. 30). After the third and second bits [bit 3-2] of the second random number initial setting data (KRSS2) are read from the ROM 105, the initial value setting circuit 172B may execute the process in step S134. The operation may be indirectly controlled. When the CPU 104 sets control data in the initial value change control register, for example, when the random number generation circuit 173B outputs the random number loop signal RIJ2 in the random number circuit 103, the initial value setting circuit 172B uses the initial value change control. By referring to the control data stored in the register and performing an initial value changing operation according to the control data, a start value for the second and subsequent rounds corresponding to the read value in step S254 is generated, and a random number is generated. It can be set in the generation circuit 173B.

図36は、図31に示すステップS76にて実行される乱数順列変更設定処理の一例を示すフローチャートである。この乱数順列変更設定処理を開始すると、遊技制御用マイクロコンピュータ100では、まず、例えばCPU104がROM105に記憶されている第2乱数初期設定データ(KRSS2)の第6及び第5ビット[ビット6−5]を読出し(ステップS271)、読出値が「10」であるか否かを判定する(ステップS272)。   FIG. 36 is a flowchart showing an example of the random number permutation change setting process executed in step S76 shown in FIG. When the random number permutation change setting process is started, in the game control microcomputer 100, first, for example, the CPU 104 stores the sixth and fifth bits [bits 6-5] of the second random number initial setting data (KRSS2) stored in the ROM 105. ] Is read (step S271), and it is determined whether or not the read value is “10” (step S272).

ステップS272にて読出値が「10」であると判定されたときには(ステップS272;Yes)、遊技制御フラグ設定部133に設けられた12ビット乱数順列変更フラグがオンとなっているか否かを判定する(ステップS273)。このとき、12ビット乱数順列変更フラグがオンであれば(ステップS273;Yes)、例えばCPU104が乱数回路103に設けられたARSC175Aの第0ビット[ビット0]に“1”を設定する(ステップS274)。このときには、12ビット乱数順列変更フラグをクリアしてオフ状態とする(ステップS275)。   When it is determined in step S272 that the read value is “10” (step S272; Yes), it is determined whether or not the 12-bit random number permutation change flag provided in the game control flag setting unit 133 is on. (Step S273). At this time, if the 12-bit random number permutation change flag is on (step S273; Yes), for example, the CPU 104 sets “0” to the 0th bit [bit 0] of the ARSC 175A provided in the random number circuit 103 (step S274). ). At this time, the 12-bit random number permutation flag is cleared and turned off (step S275).

ステップS272にて読出値が「10」ではないと判定されたときや(ステップS272;No)、ステップS273にて12ビット乱数順列変更フラグがオフであると判定されたとき(ステップS273;No)、あるいはステップS275の処理を実行した後には、例えばCPU104がROM105に記憶されている第2乱数初期設定データ(KRSS2)の第1及び第0ビット[ビット1−0]を読出し(ステップS276)、読出値が「10」であるか否かを判定する(ステップS277)。このとき、読出値が「10」以外であれば(ステップS277;No)、乱数順列変更設定処理を終了する。   When it is determined in step S272 that the read value is not “10” (step S272; No), or when it is determined in step S273 that the 12-bit random number permutation flag is off (step S273; No). Alternatively, after executing the process of step S275, for example, the CPU 104 reads the first and 0th bits [bits 1-0] of the second random number initial setting data (KRSS2) stored in the ROM 105 (step S276), It is determined whether or not the read value is “10” (step S277). At this time, if the read value is other than “10” (step S277; No), the random number permutation change setting process is terminated.

他方、ステップS277にて読出値が「10」であると判定されたときには(ステップS277;Yes)、遊技制御フラグ設定部133に設けられた16ビット乱数順列変更フラグがオンとなっているか否かを判定する(ステップS278)。このとき、16ビット乱数順列変更フラグがオフであれば(ステップS278;No)、乱数順列変更設定処理を終了する。これに対して、16ビット乱数順列変更フラグがオンであれば(ステップS278;Yes)、例えばCPU104が乱数回路103に設けられたBRSC175Bの第0ビット[ビット0]に“1”を設定する(ステップS279)。このときには、16ビット乱数順列変更フラグをクリアしてオフ状態とする(ステップS280)。   On the other hand, when it is determined in step S277 that the read value is “10” (step S277; Yes), whether or not the 16-bit random number permutation change flag provided in the game control flag setting unit 133 is turned on. Is determined (step S278). At this time, if the 16-bit random number permutation change flag is off (step S278; No), the random number permutation change setting process is terminated. On the other hand, if the 16-bit random number permutation change flag is on (step S278; Yes), for example, the CPU 104 sets “1” to the 0th bit [bit 0] of the BRSC 175B provided in the random number circuit 103 ( Step S279). At this time, the 16-bit random number permutation change flag is cleared and turned off (step S280).

図37(A)は、図31に示すステップS77にて実行される賞球処理の一例を示すフローチャートである。図37(A)に示す賞球処理において、遊技制御用マイクロコンピュータ100では、まず、例えばCPU104が図31に示すステップS72におけるスイッチ処理の実行結果に基づき、始動口スイッチ22、カウントスイッチ24、及び入賞口スイッチ25A〜25Dといった各入賞口スイッチからの入賞検出信号がオン状態となっているか否かをチェックする(ステップS291)。続いて、ステップS291でのチェック結果に基づき、遊技制御カウンタ設定部135に設けられた第1〜第3払出数指示カウンタや総賞球数カウンタにおけるカウント値の設定を行う(ステップS292)。   FIG. 37A is a flowchart showing an example of the prize ball process executed in step S77 shown in FIG. In the prize ball processing shown in FIG. 37A, in the game control microcomputer 100, first, for example, the CPU 104 based on the execution result of the switch processing in step S72 shown in FIG. It is checked whether or not a prize detection signal from each prize opening switch such as the prize opening switches 25A to 25D is ON (step S291). Subsequently, based on the check result in step S291, the count values in the first to third payout number instruction counters and the total prize ball number counter provided in the game control counter setting unit 135 are set (step S292).

図37(B)は、ステップS292における処理内容の一例を示す説明図である。ステップS292の処理では、各入賞口スイッチからの入賞検出信号がオン状態となっているか否か(入力されているか否か)の判定が行われる。そして、カウントスイッチ24からの入賞検出信号がオン状態であるときには、遊技制御カウンタ設定部135に設けられた第1払出数指示カウンタの値を1加算するとともに、総賞球数カウンタの値を15加算する。また、左右の袖入賞口スイッチとなる入賞口スイッチ25A、25Bのいずれかからの入賞検出信号がオン状態であるときには、遊技制御カウンタ設定部135に設けられた第2払出数指示カウンタの値を1加算するとともに、総賞球数カウンタの値を7加算する。左右の落とし入賞口スイッチとなる入賞口スイッチ25C、25Dのいずれかからの入賞検出信号がオン状態であるときにも、遊技制御カウンタ設定部135に設けられた第2払出数指示カウンタの値を1加算するとともに、総賞球数カウンタの値を7加算する。さらに、始動口スイッチ22からの入賞検出信号がオン状態であるときには、遊技制御カウンタ設定部135に設けられた第3払出数指示カウンタの値を1加算するとともに、総賞球数カウンタの値を4加算する。このようなステップS292での処理を実行した後、遊技制御用マイクロコンピュータ100では、例えばCPU104が遊技制御フラグ設定部133に設けられた賞球プロセスフラグの値に応じて、以下のようなステップS293〜S295の各処理を実行する。   FIG. 37B is an explanatory diagram showing an example of the processing content in step S292. In the process of step S292, it is determined whether or not a winning detection signal from each winning opening switch is in an on state (whether or not it is input). When the winning detection signal from the count switch 24 is on, the value of the first payout number instruction counter provided in the game control counter setting unit 135 is incremented by 1, and the value of the total prize ball number counter is set to 15. to add. In addition, when the winning detection signal from any of the winning opening switches 25A and 25B serving as the left and right sleeve winning opening switches is ON, the value of the second payout number instruction counter provided in the game control counter setting unit 135 is set. 1 is added and 7 is added to the value of the total prize ball counter. The value of the second payout number instruction counter provided in the game control counter setting unit 135 is also used when the winning detection signal from any of the winning opening switches 25C and 25D serving as the left and right winning winning opening switches is ON. 1 is added and 7 is added to the value of the total prize ball counter. Further, when the winning detection signal from the start port switch 22 is in the ON state, the value of the third payout number instruction counter provided in the game control counter setting unit 135 is incremented by 1 and the value of the total winning ball number counter is set. Add 4 After the processing in step S292 is executed, in the game control microcomputer 100, for example, the CPU 104 performs the following step S293 according to the value of the prize ball process flag provided in the game control flag setting unit 133, for example. Each process of S295 is executed.

ステップS293の賞球送信処理は、賞球プロセスフラグの値が“0”のときに実行される。図38は、賞球送信処理として、図37(A)に示すステップS293にて実行される処理の一例を示すフローチャートである。図38に示す賞球送信処理において、遊技制御用マイクロコンピュータ100では、まず、例えばCPU104が遊技制御フラグ設定部133に設けられたシリアル通信エラーフラグがオンとなっているか否かを判定する(ステップS401)。このとき、シリアル通信エラーフラグがオンであれば(ステップS401;Yes)、そのまま賞球送信処理を終了する。   The prize ball transmission process in step S293 is executed when the value of the prize ball process flag is “0”. FIG. 38 is a flowchart showing an example of processing executed in step S293 shown in FIG. 37A as the prize ball transmission processing. In the prize ball transmission process shown in FIG. 38, in the game control microcomputer 100, first, for example, the CPU 104 determines whether or not the serial communication error flag provided in the game control flag setting unit 133 is on (step). S401). At this time, if the serial communication error flag is on (step S401; Yes), the prize ball transmission process is terminated as it is.

ステップS401にてシリアル通信エラーフラグがオフであると判定されたときには(ステップS401;No)、遊技制御フラグ設定部133に設けられた再送信フラグがオンとなっているか否かを判定する(ステップS402)。ここで、再送信フラグは、後述する図39に示すステップS436の処理が実行されたときにオン状態にセットされる一方、図39に示すステップS423の処理が実行されたときにはクリアされてオフ状態となる。ステップS402にて再送信フラグがオフであるときには(ステップS402;No)、遊技制御カウンタ設定部135に設けられた第1〜第3払出数指示カウンタの値をチェックするために用いられる変数Nの値を、初期値となる「1」に設定する(ステップS403)。   When it is determined in step S401 that the serial communication error flag is off (step S401; No), it is determined whether the retransmission flag provided in the game control flag setting unit 133 is on (step). S402). Here, the re-transmission flag is set to the on state when the process of step S436 shown in FIG. 39 to be described later is executed, while it is cleared to the off state when the process of step S423 shown in FIG. 39 is executed. It becomes. When the retransmission flag is OFF in step S402 (step S402; No), the variable N used for checking the value of the first to third payout number instruction counters provided in the game control counter setting unit 135 is set. The value is set to “1” as an initial value (step S403).

続いて、第1〜第3払出数指示カウンタのうちで変数Nの値に対応するいずれかにおける値が、「0」となっているか否かを判定する(ステップS404)。例えば、変数Nの値が「1」であるときには、第1払出数指示カウンタの値が「0」となっているか否かを判定し、変数Nの値が「2」であるときには、第2払出数指示カウンタの値が「0」となっているか否かを判定し、変数Nの値が「3」であるときには、第3払出数指示カウンタの値が「0」となっているか否かを判定する。ステップS404にて判定の対象となった払出数指示カウンタの値が「0」であるときには(ステップS404;Yes)、変数Nの値が「3」であるか否かを判定し(ステップS405)、「3」であるときには(ステップS405;Yes)、賞球送信処理を終了する。これに対して、ステップS405にて変数Nの値が「3」以外の値であるときには(ステップS405;No)、変数Nの値を1加算した後(ステップS406)、ステップS404の処理に戻る。   Subsequently, it is determined whether or not the value corresponding to the value of the variable N among the first to third payout number instruction counters is “0” (step S404). For example, when the value of the variable N is “1”, it is determined whether the value of the first payout number instruction counter is “0”, and when the value of the variable N is “2”, the second It is determined whether or not the value of the payout number instruction counter is “0”. When the value of the variable N is “3”, whether or not the value of the third payout number instruction counter is “0”. Determine. When the value of the number-of-payout instruction counter that has been determined in step S404 is “0” (step S404; Yes), it is determined whether the value of the variable N is “3” (step S405). , “3” (step S405; Yes), the prize ball transmission process is terminated. On the other hand, when the value of the variable N is a value other than “3” in step S405 (step S405; No), 1 is added to the value of the variable N (step S406), and the process returns to step S404. .

ステップS402にて再送信フラグがオンであるときや(ステップS402;Yes)、ステップS404にて判定の対象となった払出数指示カウンタの値が「0」以外の値であるときには(ステップS404;No)、変数Nの値が「1」であるか否かを判定する(ステップS407)。そして、変数Nの値が「1」であるときには(ステップS407;Yes)、払出制御基板15に対して第1払出数指定コマンドを送信するための設定を行う(ステップS408)。具体的な一例として、ステップS408の処理では、ROM105に格納されている第1払出数指定コマンド設定テーブルの先頭アドレスをポインタに設定し、第1払出数指定コマンド設定テーブルの内容に基づいてコマンド送信用の制御データを遊技制御バッファ設定部136の送信コマンドバッファに含まれる払出用送信コマンドバッファ192にセットする。ステップS407にて変数Nの値が「1」以外の値であるときには(ステップS407;No)、その変数Nの値は「2」であるか否かを判定する(ステップS409)。   When the re-transmission flag is ON in step S402 (step S402; Yes), or when the value of the payout number instruction counter that is the object of determination in step S404 is a value other than “0” (step S404; No), it is determined whether or not the value of the variable N is “1” (step S407). When the value of the variable N is “1” (step S407; Yes), a setting for transmitting the first payout number designation command to the payout control board 15 is performed (step S408). As a specific example, in the process of step S408, the start address of the first payout number designation command setting table stored in the ROM 105 is set as a pointer, and command transmission is performed based on the contents of the first payout number designation command setting table. The trust control data is set in the payout transmission command buffer 192 included in the transmission command buffer of the game control buffer setting unit 136. When the value of the variable N is a value other than “1” in step S407 (step S407; No), it is determined whether or not the value of the variable N is “2” (step S409).

ステップS409にて変数Nの値が「2」である場合には(ステップS409;Yes)、払出制御基板15に対して第2払出数指定コマンドを送信するための設定を行う(ステップS410)。具体的な一例として、ステップS410の処理では、ROM105に格納されている第2払出数指定コマンド設定テーブルの先頭アドレスをポインタに設定し、第2払出数指定コマンド設定テーブルの内容に基づいてコマンド送信用の制御データを払出用送信コマンドバッファ192にセットする。ステップS409にて変数Nの値が「2」ではない場合には(ステップS409;No)、変数Nの値が「3」であるものと判断して、払出制御基板15に対して第3払出数指定コマンドを送信するための設定を行う(ステップS411)。具体的な一例として、ステップS411の処理では、ROM105に格納されている第3払出数指定コマンド設定テーブルの先頭アドレスをポインタに設定し、第3払出数指定コマンド設定テーブルの内容に基づいてコマンド送信用の制御データを払出用送信コマンドバッファ192にセットする。   If the value of the variable N is “2” in step S409 (step S409; Yes), a setting for transmitting the second payout number designation command to the payout control board 15 is performed (step S410). As a specific example, in the process of step S410, the start address of the second payout number designation command setting table stored in the ROM 105 is set as a pointer, and a command is sent based on the contents of the second payout number designation command setting table. The credit control data is set in the payout transmission command buffer 192. If the value of the variable N is not “2” in step S409 (step S409; No), it is determined that the value of the variable N is “3”, and the third payout is made to the payout control board 15. Settings for transmitting the number designation command are performed (step S411). As a specific example, in the process of step S411, the start address of the third payout number designation command setting table stored in the ROM 105 is set as a pointer, and command transmission is performed based on the contents of the third payout number designation command setting table. The credit control data is set in the payout transmission command buffer 192.

ステップS408、S410、S411の処理のいずれかを実行した後、遊技制御用マイクロコンピュータ100では、例えばCPU104が遊技制御タイマ設定部134に設けられた賞球制御タイマに賞球ACK用初期値として予め定められたタイマ初期値を設定する(ステップS412)。そして、賞球プロセスフラグの値を“1”に更新する(ステップS413)。   After executing any of the processes of steps S408, S410, and S411, in the game control microcomputer 100, for example, the CPU 104 preliminarily stores a prize ball control timer provided in the game control timer setting unit 134 as an initial value for a prize ball ACK. A predetermined timer initial value is set (step S412). Then, the value of the winning ball process flag is updated to “1” (step S413).

図37(A)に示すステップS294の賞球ACK待ち処理は、賞球プロセスフラグの値が“1”のときに実行される。図39は、賞球ACK待ち処理として、図37(A)に示すステップS294にて実行される処理の一例を示すフローチャートである。図39に示す賞球ACK待ち処理において、遊技制御用マイクロコンピュータ100では、まず、例えばCPU104が遊技制御フラグ設定部133に設けられた賞球ACK受信フラグがオンとなっているか否かを判定する(ステップS421)。   The prize ball ACK waiting process in step S294 shown in FIG. 37A is executed when the value of the prize ball process flag is “1”. FIG. 39 is a flowchart showing an example of the process executed in step S294 shown in FIG. In the prize ball ACK waiting process shown in FIG. 39, in the game control microcomputer 100, first, for example, the CPU 104 determines whether or not a prize ball ACK reception flag provided in the game control flag setting unit 133 is on. (Step S421).

ステップS421にて賞球ACK受信フラグがオンであると判定されたときには(ステップS421;Yes)、賞球ACK受信フラグをクリアしてオフ状態にするとともに(ステップS422)、再送信フラグをクリアしてオフ状態とする(ステップS423)。続いて、第1〜第3払出数指示カウンタのうちで変数Nの値に対応するいずれかにおける値を1減算するとともに(ステップS424)、遊技制御カウンタ設定部135に設けられたコマンド送信回数カウンタにおける値であるコマンド送信回数カウント値を1加算する(ステップS425)。   When it is determined in step S421 that the prize ball ACK reception flag is on (step S421; Yes), the prize ball ACK reception flag is cleared and turned off (step S422), and the retransmission flag is cleared. To turn it off (step S423). Subsequently, one of the values corresponding to the value of the variable N among the first to third payout number instruction counters is decremented by 1 (step S424), and the command transmission number counter provided in the game control counter setting unit 135 is also subtracted. 1 is added to the command transmission count value which is the value at (step S425).

ステップS425の処理を実行した後には、変数Nの値が「1」であるか否かを判定する(ステップS426)。このとき、変数Nの値が「1」であれば(ステップS426;Yes)、第1払出数指定コマンドの送信により15個の賞球を払い出すための指示が完了したと判断して、総賞球数カウンタの値を15減算する(ステップS427)。ステップS426にて変数Nの値が「1」以外の値であるときには(ステップS426;No)、その変数Nの値は「2」であるか否かを判定する(ステップS428)。   After executing the process of step S425, it is determined whether or not the value of the variable N is “1” (step S426). At this time, if the value of the variable N is “1” (step S426; Yes), it is determined that the instruction for paying out 15 prize balls has been completed by transmitting the first payout number designation command. The value of the prize ball number counter is decremented by 15 (step S427). When the value of the variable N is a value other than “1” in step S426 (step S426; No), it is determined whether or not the value of the variable N is “2” (step S428).

ステップS428にて変数Nの値が「2」である場合には(ステップS428;Yes)、第2払出数指定コマンドの送信により7個の賞球を払い出すための指示が完了したと判断して、総賞球数カウンタの値を7減算する(ステップS429)。ステップS428にて変数Nの値が「2」ではない場合には(ステップS428;No)、変数Nの値が「3」であることに対応した第3払出数指定コマンドの送信により4個の賞球を払い出すための指示が完了したと判断して、総賞球数カウンタの値を4減算する(ステップS430)。   If the value of the variable N is “2” in step S428 (step S428; Yes), it is determined that the instruction for paying out seven prize balls has been completed by transmitting the second payout number designation command. Then, 7 is subtracted from the value of the total prize ball counter (step S429). If the value of the variable N is not “2” in step S428 (step S428; No), the transmission of the third payout number designation command corresponding to the value of the variable N being “3” results in four pieces. It is determined that the instruction for paying out the winning ball has been completed, and 4 is subtracted from the value of the total winning ball counter (step S430).

ステップS427、S429、S430の処理のいずれかを実行した後には、払出制御基板15に対してACKフィードバックコマンドを送信するための設定を行う(ステップS431)。具体的な一例として、ステップS431の処理では、ROM105に格納されているACKフィードバックコマンド設定テーブルの先頭アドレスをポインタに設定し、ACKフィードバックコマンド設定テーブルの内容に基づいてコマンド送信用の制御データを払出用送信コマンドバッファ192にセットする。ステップS431の処理に続いて、例えばCPU104が賞球制御タイマにフィードバック用初期値として予め定められたタイマ初期値を設定する(ステップS432)。そして、賞球プロセスフラグの値を“2”に更新する(ステップS433)。   After performing any of the processes of steps S427, S429, and S430, settings for transmitting an ACK feedback command to the payout control board 15 are performed (step S431). As a specific example, in the process of step S431, the start address of the ACK feedback command setting table stored in the ROM 105 is set as a pointer, and control data for command transmission is issued based on the contents of the ACK feedback command setting table. Set in the transmission command buffer 192. Subsequent to step S431, for example, the CPU 104 sets a predetermined timer initial value as an initial value for feedback in the prize ball control timer (step S432). Then, the value of the winning ball process flag is updated to “2” (step S433).

また、ステップS421にて賞球ACK受信フラグがオフであると判定されたときには(ステップS421;No)、賞球制御タイマにおけるタイマ値を、例えば1減算するなどして更新する(ステップS434)。そして、ステップS434での更新により賞球制御タイマがタイムアウトしたか否かを判定することなどにより、賞球ACK待ち時間が経過したか否かを判定する(ステップS435)。このとき、賞球ACK待ち時間が経過していなければ(ステップS435;No)、賞球ACK待ち処理を終了する。これに対して、賞球ACK待ち時間が経過したときには(ステップS435;Yes)、再送信フラグをオン状態にセットするとともに(ステップS436)、賞球プロセスフラグの値を“0”に更新する(ステップS437)。   If it is determined in step S421 that the prize ball ACK reception flag is off (step S421; No), the timer value in the prize ball control timer is updated by, for example, subtracting 1 (step S434). Then, it is determined whether or not the award ball ACK waiting time has elapsed by determining whether or not the award ball control timer has timed out due to the update in step S434 (step S435). At this time, if the prize ball ACK waiting time has not elapsed (step S435; No), the prize ball ACK waiting process is terminated. On the other hand, when the winning ball ACK waiting time has elapsed (step S435; Yes), the retransmission flag is set to the on state (step S436), and the value of the winning ball process flag is updated to “0” (step S436). Step S437).

図37(A)に示すステップS295の賞球送信完了処理は、賞球プロセスフラグの値が“2”のときに実行される。図40は、賞球送信完了処理として、図37(A)に示すステップS295にて実行される処理の一例を示すフローチャートである。図40に示す賞球送信完了処理において、遊技制御用マイクロコンピュータ100では、まず、例えばCPU104が賞球制御タイマにおけるタイマ値を、1減算するなどして更新する(ステップS441)。続いて、ステップS441での更新により賞球制御タイマがタイムアウトしたか否かを判定することなどにより、フィードバック送信待ち時間が経過したか否かを判定する(ステップS442)。   The prize ball transmission completion process of step S295 shown in FIG. 37A is executed when the value of the prize ball process flag is “2”. FIG. 40 is a flowchart illustrating an example of a process executed in step S295 illustrated in FIG. 37A as the prize ball transmission completion process. In the prize ball transmission completion process shown in FIG. 40, in the game control microcomputer 100, first, for example, the CPU 104 updates the timer value in the prize ball control timer by subtracting 1 (step S441). Subsequently, it is determined whether or not the feedback transmission waiting time has elapsed by determining whether or not the prize ball control timer has timed out due to the update in step S441 (step S442).

ステップS442にてフィードバック送信待ち時間が経過していないときには(ステップS442;No)、賞球送信完了処理を終了する。これに対して、フィードバック送信待ち時間が経過したときには(ステップS442;Yes)、賞球制御タイマを初期化するとともに(ステップS443)、賞球プロセスフラグの値を“0”に更新する(ステップS444)。   When the feedback transmission waiting time has not elapsed in step S442 (step S442; No), the prize ball transmission completion process is terminated. In contrast, when the feedback transmission waiting time has elapsed (step S442; Yes), the prize ball control timer is initialized (step S443), and the value of the prize ball process flag is updated to “0” (step S444). ).

図41は、図31に示すステップS78にて実行される異常動作報知設定処理の一例を示すフローチャートである。この異常動作報知設定処理を開始すると、遊技制御用マイクロコンピュータ100では、まず、例えばCPU104が図31に示すステップS72におけるスイッチ処理の実行結果に基づき、全入賞球検出スイッチ29からの検出信号がオン状態となっているか否かを判定する(ステップS301)。   FIG. 41 is a flowchart showing an example of the abnormal operation notification setting process executed in step S78 shown in FIG. When the abnormal operation notification setting process is started, the game control microcomputer 100 first turns on the detection signal from the all winning ball detection switch 29 based on the execution result of the switch process in step S72 shown in FIG. It is determined whether it is in a state (step S301).

ステップS301にて全入賞球検出スイッチ29からの検出信号がオン状態であるときには(ステップS301;Yes)、コマンド送信回数カウンタの値を1減算する(ステップS302)。これに対して、ステップS301にて全入賞球検出スイッチ29からの検出信号がオフ状態であるときには(ステップS301;No)、ステップS302の処理をスキップする。その後、コマンド送信回数カウンタの値が予め定められた賞球過多基準値(例えば「250」)以上となっているか否かを、例えばCPU104が判定する(ステップS303)。そして、コマンド送信回数カウンタの値が賞球過多基準値以上であるときには(ステップS303;Yes)、演出制御基板12に対して賞球過多報知コマンドを送信するための設定を行う(ステップS304)。具体的な一例として、ステップS304の処理では、ROM105に格納されている賞球過多報知コマンド設定テーブルの先頭アドレスをポインタに設定し、賞球過多報知コマンド設定テーブルの内容に基づいて、コマンド送信用の制御データを演出用送信コマンドバッファにセットする。他方、ステップS303にてコマンド送信回数カウンタの値が賞球過多基準値未満であるときには(ステップS303;No)、コマンド送信回数カウンタの値が予め定められた賞球不足基準値(例えば「0」)に達したか否かを判定する(ステップS305)。   When the detection signal from the all winning ball detection switch 29 is on in step S301 (step S301; Yes), 1 is subtracted from the value of the command transmission number counter (step S302). On the other hand, when the detection signal from the all winning ball detection switch 29 is OFF in step S301 (step S301; No), the process of step S302 is skipped. Thereafter, for example, the CPU 104 determines whether or not the value of the command transmission number counter is equal to or greater than a predetermined excessive number of prize balls (eg, “250”) (step S303). When the value of the command transmission count counter is equal to or greater than the award ball excess reference value (step S303; Yes), a setting for transmitting an award ball excess notification command to the effect control board 12 is performed (step S304). As a specific example, in the process of step S304, the head address of the excessively rich prize ball notification command setting table stored in the ROM 105 is set as a pointer, and the command transmission is performed based on the content of the excessively rich ball alarm notification command setting table. The control data is set in the production transmission command buffer. On the other hand, when the value of the command transmission number counter is less than the excessive ball reference value in step S303 (step S303; No), the command ball number counter value is a predetermined prize ball shortage reference value (for example, “0”). ) Is determined (step S305).

ステップS305にてコマンド送信回数カウンタの値が賞球不足基準値に達しているときには(ステップS305;Yes)、演出制御基板12に対して賞球不足報知コマンドを送信するための設定を行う(ステップS306)。具体的な一例として、ステップS306の処理では、ROM105に格納されている賞球不足報知コマンド設定テーブルの先頭アドレスをポインタに設定し、賞球不足報知コマンド設定テーブルの内容に基づいて、コマンド送信用の制御データを演出用送信コマンドバッファにセットする。ステップS304、S306のいずれかの処理を実行した後には、コマンド送信回数カウンタに、所定のカウント初期値(例えば「200」)を設定する(ステップS307)。   When the value of the command transmission count counter reaches the prize ball shortage reference value in step S305 (step S305; Yes), a setting for sending a prize ball shortage notification command to the effect control board 12 is performed (step S305). S306). As a specific example, in the process of step S306, the head address of the winning ball shortage notification command setting table stored in the ROM 105 is set as a pointer, and based on the content of the winning ball shortage notification command setting table, the command transmission The control data is set in the production transmission command buffer. After executing one of the processes in steps S304 and S306, a predetermined initial count value (for example, “200”) is set in the command transmission number counter (step S307).

ステップS305にてコマンド送信回数カウンタの値が賞球不足基準値に達していないときや(ステップS305;No)、ステップS307の処理を実行した後には、満タンスイッチ26からの検出信号がオン状態となっているか否かを判定する(ステップS308)。そして、ステップS308にて満タンスイッチ26からの検出信号がオン状態であるときには(ステップS308;Yes)、遊技制御フラグ設定部133に設けられた満タン報知中フラグがオンとなっているか否かを判定する(ステップS309)。なお、満タン報知中フラグは、後述するステップS311の処理が実行されたときにオン状態にセットされる一方、ステップS314の処理が実行されたときにクリアされてオフ状態となる。   When the value of the command transmission number counter does not reach the winning ball shortage reference value in Step S305 (Step S305; No), after the processing of Step S307 is executed, the detection signal from the full switch 26 is turned on. It is determined whether or not (step S308). If the detection signal from the full tank switch 26 is in the on state in step S308 (step S308; Yes), whether or not the full tank notification flag provided in the game control flag setting unit 133 is on. Is determined (step S309). The full tank notification flag is set to an on state when a process of step S311 described later is executed, and is cleared to an off state when the process of step S314 is executed.

ステップS309にて満タン報知中フラグがオンであるときには(ステップS309;Yes)、既に満タン状態である旨の報知が行われていると判断して、異常動作報知設定処理を終了する。他方、ステップS309にて満タン報知中フラグがオフであるときには(ステップS309;No)、演出制御基板12に対して満タン報知開始コマンドを送信するための設定を行う(ステップS310)。具体的な一例として、ステップS310の処理では、ROM105に格納されている満タン報知開始コマンド設定テーブルの先頭アドレスをポインタに設定し、満タン報知開始コマンド設定テーブルの内容に基づいて、コマンド送信用の制御データを演出用送信コマンドバッファにセットする。ステップS310の処理を実行したときには、満タン報知中フラグをオン状態にセットする(ステップS311)。   When the full tank notification flag is on in step S309 (step S309; Yes), it is determined that the notification that the full tank state has already been made is made, and the abnormal operation notification setting process is terminated. On the other hand, when the full tank notification flag is OFF in step S309 (step S309; No), a setting for transmitting a full tank notification start command to the effect control board 12 is performed (step S310). As a specific example, in the process of step S310, the start address of the full tank notification start command setting table stored in the ROM 105 is set as a pointer, and the command transmission is performed based on the content of the full tank notification start command setting table. The control data is set in the production transmission command buffer. When the process of step S310 is executed, the full tank notification flag is set to the on state (step S311).

ステップS308にて満タンスイッチ26からの検出信号がオフ状態であるときには(ステップS308;No)、満タン報知中フラグがオンとなっているか否かを判定する(ステップS312)。そして、満タン報知中フラグがオフであるときには(ステップS312;No)、異常動作報知設定処理を終了する。他方、ステップS312にて満タン報知中フラグがオンであるときには(ステップS312;Yes)、演出制御基板12に対して満タン報知終了コマンドを送信するための設定を行う(ステップS313)。具体的な一例として、ステップS313の処理では、ROM105に格納されている満タン報知終了コマンド設定テーブルの先頭アドレスをポインタに設定し、満タン報知終了コマンド設定テーブルの内容に基づいて、コマンド送信用の制御データを演出用送信コマンドバッファにセットする。ステップS313の処理を実行した後には、満タン報知中フラグをクリアしてオフ状態にする(ステップS314)。   When the detection signal from the full tank switch 26 is in the OFF state in step S308 (step S308; No), it is determined whether the full tank notification flag is on (step S312). When the full tank notification flag is off (step S312; No), the abnormal operation notification setting process is terminated. On the other hand, when the full tank notification flag is ON in step S312 (step S312; Yes), a setting for transmitting a full tank notification end command to the effect control board 12 is performed (step S313). As a specific example, in the process of step S313, the start address of the full tank notification end command setting table stored in the ROM 105 is set as a pointer, and the command transmission is performed based on the content of the full tank notification end command setting table. The control data is set in the production transmission command buffer. After executing the process of step S313, the full tank notification flag is cleared and turned off (step S314).

また、異常動作報知設定処理では、再送信フラグがオンとなっているか否かを判定し、再送信フラグがオフであれば、払出用通信エラー検出フラグがオンとなっているか否かを判定するようにしてもよい。そして、再送信フラグと払出用通信エラー検出フラグのいずれかがオンであるときには、遊技制御フラグ設定部133に設けられた所定フラグ(例えば払出異常報知フラグ)がオンとなっているか否かを判定し、オフであるときには、演出制御基板12に対してメイン側払出異常報知開始コマンドとなる所定コマンドを送信するための設定を行うようにすればよい。メイン側払出異常報知開始コマンドを送信するための設定を行ったときには、遊技制御フラグ設定部133に設けられた払出異常報知フラグをオン状態にセットしておく。その一方で、再送信フラグと払出用通信エラー検出フラグがいずれもオフであるときには、払出異常報知フラグがオンとなっているか否かを判定し、オンであれば、演出制御基板12に対してメイン側払出異常報知終了コマンドとなる所定コマンドを送信するための設定を行うようにすればよい。演出制御基板12の側では、主基板11からのメイン側払出異常報知開始コマンドを受信したことに応じて、例えば画像表示装置5に所定の画像を表示させることなどにより、主基板11の側で払出制御に関するエラーが発生した旨を報知するメイン側払出異常報知を行うための処理が実行される一方、主基板11からのメイン側払出異常報知終了コマンドを受信したことに応じて、メイン側払出異常報知を終了するための処理が実行されるようにすればよい。   In the abnormal operation notification setting process, it is determined whether or not the retransmission flag is on. If the retransmission flag is off, it is determined whether or not the payout communication error detection flag is on. You may do it. When either the retransmission flag or the payout communication error detection flag is on, it is determined whether or not a predetermined flag (for example, a payout abnormality notification flag) provided in the game control flag setting unit 133 is on. However, when it is off, a setting for transmitting a predetermined command as a main-side payout abnormality notification start command to the effect control board 12 may be performed. When the setting for transmitting the main-side payout abnormality notification start command is performed, the payout abnormality notification flag provided in the game control flag setting unit 133 is set to the on state. On the other hand, when both the re-transmission flag and the payout communication error detection flag are off, it is determined whether or not the payout abnormality notification flag is on. A setting for transmitting a predetermined command to be a main-side payout abnormality notification end command may be performed. On the side of the effect control board 12, in response to receiving the main side payout abnormality notification start command from the main board 11, for example, by displaying a predetermined image on the image display device 5, on the main board 11 side. While processing for performing main-side payout abnormality notification for notifying that an error relating to payout control has occurred is executed, the main-side payout is performed in response to reception of a main-side payout abnormality notification end command from the main board 11 What is necessary is just to make it perform the process for complete | finishing abnormality alert | report.

図42は、図31に示すステップS79にて実行されるメイン側受信処理の一例を示すフローチャートである。このメイン側受信処理を開始すると、遊技制御用マイクロコンピュータ100では、まず、払出用通信エラー検出フラグがオンとなっているか否かを、例えばCPU104が判定する(ステップS331)。なお、払出用通信エラー検出フラグは、後述するステップS336の処理が実行されたときにオン状態にセットされる一方、エラー解除スイッチ31の操作などに応じてクリアされてオフ状態となればよい。ステップS331にて払出用通信エラー検出フラグがオンであるときには(ステップS331;Yes)、そのままメイン側受信処理を終了する。これにより、主基板11において払出制御基板15との間での通信に関するエラーが発生しているときには、払出制御基板15から送信される払出通知コマンドの受信を停止する状態に制御されることになる。   FIG. 42 is a flowchart illustrating an example of the main-side reception process executed in step S79 illustrated in FIG. When the main-side reception process is started, in the game control microcomputer 100, for example, the CPU 104 first determines whether or not the payout communication error detection flag is on (step S331). The payout communication error detection flag may be set to an on state when a process of step S336 described later is executed, and may be cleared to an off state according to an operation of the error release switch 31 or the like. When the payout communication error detection flag is on in step S331 (step S331; Yes), the main-side reception process is terminated as it is. Thus, when an error relating to communication with the payout control board 15 occurs in the main board 11, the receiving control of the payout notification command transmitted from the payout control board 15 is controlled. .

他方、ステップS331にて払出用通信エラー検出フラグがオフであるときには(ステップS331;No)、例えばCPU104が遊技制御カウンタ設定部135に設けられたコマンド受信個数カウンタの値が「0」以外であるか否かを判定することなどにより、受信コマンドがあるか否かを判定する(ステップS332)。このとき、受信コマンドがない旨の判定がなされると(ステップS332;No)、メイン側受信処理を終了する。   On the other hand, when the payout communication error detection flag is OFF in step S331 (step S331; No), for example, the value of the command reception number counter provided in the game control counter setting unit 135 by the CPU 104 is other than “0”. It is determined whether or not there is a reception command by determining whether or not there is (step S332). At this time, if it is determined that there is no reception command (step S332; No), the main-side reception process is terminated.

ステップS332にて受信コマンドがある旨の判定がなされたときには(ステップS332;Yes)、払出用受信コマンドバッファ191に設けられた受信コマンドバッファ#1〜#12のうちでコマンド受信個数カウンタの値に対応したものから格納データを読出し(ステップS333)、コマンド受信個数カウンタの値を、例えばステップS333にて読出した格納データの個数だけ減算するなどして更新する(ステップS334)。続いて、ステップS333にて読出した受信コマンドが払出制御基板15から送信される適正なコマンドであるか否かのチェックを行う(ステップS335)。具体的な一例として、受信コマンドの1バイト目と2バイト目との排他的論理和を演算し、算出された演算結果が正常値となっているか否かを判定することで、受信コマンドが適正なコマンドであるか否かをチェックすることができる。この実施の形態では、払出制御基板15から主基板11に対して送信されるコマンドは、1バイト目を反転させることで2バイト目となるように構成されていることから、受信コマンドの1バイト目と2バイト目との排他的論理和を演算した結果、全ビット値が“1”となれば、受信コマンドが適正なコマンドであると判断することができる。   When it is determined in step S332 that there is a received command (step S332; Yes), the command reception number counter value is set in the received command buffers # 1 to # 12 provided in the payout received command buffer 191. The stored data is read from the corresponding one (step S333), and the value of the command reception number counter is updated by subtracting, for example, the number of stored data read in step S333 (step S334). Subsequently, it is checked whether or not the received command read in step S333 is an appropriate command transmitted from the payout control board 15 (step S335). As a specific example, the exclusive command of the first byte and the second byte of the received command is calculated, and it is determined whether the calculated result is a normal value. It is possible to check whether the command is correct. In this embodiment, since the command transmitted from the payout control board 15 to the main board 11 is configured to be the second byte by reversing the first byte, one byte of the received command. As a result of calculating the exclusive OR of the first and second bytes, if all the bit values are “1”, it can be determined that the received command is an appropriate command.

ステップS335におけるチェックの結果、受信コマンドが適正なコマンドではないと判定されたときには(ステップS335;No)、払出用通信エラー検出フラグをオン状態にセットして(ステップS336)、メイン側受信処理を終了する。これに対して、ステップS335におけるチェックの結果、受信コマンドが適正なコマンドであると判定されたときには(ステップS335;Yes)、その受信コマンドは賞球ACKコマンドであるか否かを判定する(ステップS337)。そして、受信コマンドが賞球ACKコマンドであるときには(ステップS337;Yes)、賞球ACK受信フラグをオン状態にセットする(ステップS338)。   As a result of the check in step S335, when it is determined that the received command is not an appropriate command (step S335; No), the payout communication error detection flag is set to the on state (step S336), and the main-side reception process is performed. finish. On the other hand, when it is determined as a result of the check in step S335 that the received command is an appropriate command (step S335; Yes), it is determined whether or not the received command is a prize ball ACK command (step S335). S337). When the received command is a prize ball ACK command (step S337; Yes), the prize ball ACK reception flag is set to an on state (step S338).

他方、ステップS337にて受信コマンドが賞球ACKコマンドではないと判定されたときには(ステップS337;No)、その受信コマンドが払出エラー通知コマンドであるか否かを判定する(ステップS339)。そして、受信コマンドが払出エラー通知コマンドであるときには(ステップS339;Yes)、払出エラー通知フラグをオン状態にセットする(ステップS340)。ステップS339にて受信コマンドが払出エラー通知コマンドではないと判定されたときには(ステップS339;No)、その受信コマンドが払出エラー解除コマンドであるか否かを判定する(ステップS341)。そして、受信コマンドが払出エラー解除コマンドであるときには(ステップS341;Yes)、払出エラー解除フラグをオン状態にセットする(ステップS342)。ステップS341にて受信コマンドが払出エラー解除コマンドではないと判定されたときには(ステップS341;No)、受信したコマンドの種類に対応するコマンド受信フラグをオン状態にセットすればよい(ステップS343)。   On the other hand, when it is determined in step S337 that the received command is not the prize ball ACK command (step S337; No), it is determined whether or not the received command is a payout error notification command (step S339). When the received command is a payout error notification command (step S339; Yes), the payout error notification flag is set to an on state (step S340). When it is determined in step S339 that the received command is not a payout error notification command (step S339; No), it is determined whether or not the received command is a payout error cancel command (step S341). When the received command is a payout error cancel command (step S341; Yes), the payout error cancel flag is set to an on state (step S342). When it is determined in step S341 that the received command is not a payout error cancel command (step S341; No), the command reception flag corresponding to the type of the received command may be set to an on state (step S343).

図43は、図31に示すステップS80にて実行される特別図柄プロセス処理の一例を示すフローチャートである。この特別図柄プロセス処理を開始すると、遊技制御用マイクロコンピュータ100では、まず、例えばCPU104が図31に示すステップS72におけるスイッチ処理の実行結果に基づき、始動口スイッチ22からの始動入賞信号がオン状態となっているか否かを判定する(ステップS351)。ここで、ステップS351の処理では、例えば始動口スイッチ22からの始動入賞信号がオン状態となっている期間を計測するための始動口スイッチタイマにおけるタイマ値をロードし、ロードしたタイマ値を所定のスイッチオン判定値(例えば「2」)と比較する。ここで、スイッチオン判定値は、図41に示す遊技制御用タイマ割込み処理の実行回数(例えば「2」)に対応して予め定められていればよい。これにより、所定回(例えば2回)の遊技制御用タイマ割込み処理が実行されている期間(例えば4ミリ秒)にわたり始動口スイッチ22からの始動入賞信号が継続してオン状態となっているか否かを判定することができる。このように、スイッチオン判定値は、乱数回路103が備えるタイマ回路179において始動入賞信号SSの入力時間の計測を開始してから出力信号がローレベルからハイレベルに立上がるまでに要する期間(3ミリ秒)よりも長い期間にわたり始動入賞信号がオン状態であることを特定できるように定められていればよい。ステップS351の処理では、ロードしたタイマ値がスイッチオン判定値に達しているときに、始動入賞信号がオン状態となっている旨の判定を行うようにすればよい。   FIG. 43 is a flowchart showing an example of the special symbol process executed in step S80 shown in FIG. When the special symbol process is started, in the game control microcomputer 100, first, for example, the CPU 104 determines that the start winning signal from the start port switch 22 is turned on based on the execution result of the switch process in step S72 shown in FIG. It is determined whether or not (step S351). Here, in the process of step S351, for example, a timer value in a start port switch timer for measuring a period during which the start winning signal from the start port switch 22 is in an on state is loaded, and the loaded timer value is set to a predetermined value. It is compared with a switch-on determination value (for example, “2”). Here, the switch-on determination value may be determined in advance corresponding to the number of executions of the game control timer interrupt process shown in FIG. 41 (for example, “2”). Accordingly, whether or not the start winning signal from the start port switch 22 is continuously on during a period (for example, 4 milliseconds) in which a predetermined number (for example, two times) of game control timer interrupt processing is executed. Can be determined. As described above, the switch-on determination value is a period (3) required for the output signal to rise from the low level to the high level after the timer circuit 179 included in the random number circuit 103 starts measuring the input time of the start winning signal SS. It is only necessary to be determined so that it can be determined that the start winning signal is on for a period longer than (millisecond). In the process of step S351, when the loaded timer value has reached the switch-on determination value, it may be determined that the start winning signal is on.

ステップS351にて始動入賞信号がオン状態である旨の判定がなされたときには(ステップS351;Yes)、所定の入賞処理を実行して、大当り判定用となる乱数値を示す数値データの抽出などを行う(ステップS352)。他方、ステップS351にて始動入賞信号がオフ状態である旨の判定がなされたときには(ステップS351;No)、ステップS352の入賞処理をスキップする。   When it is determined in step S351 that the start winning signal is in the ON state (step S351; Yes), a predetermined winning process is executed to extract numerical data indicating a random value for jackpot determination. This is performed (step S352). On the other hand, when it is determined in step S351 that the start winning signal is in the OFF state (step S351; No), the winning process in step S352 is skipped.

ステップS352の入賞処理では、特図保留記憶部131が記憶している大当り判定用の乱数値を示す数値データの個数である保留記憶数が、所定の上限値(例えば「4」)となっているか否かを判定する。このとき、保留記憶数が上限値となっていれば、今回の入賞による始動検出は無効として、そのまま入賞処理を終了する。これに対して、保留記憶数が上限値未満であるときには、例えばCPU104が乱数回路103に16ビット乱数用として設けられた乱数値レジスタ181Bなどから大当り判定用の乱数値を示す数値データを抽出し、抽出した乱数値を示す数値データを、特図保留記憶部131における空エントリの先頭にセットする。   In the winning process of step S352, the reserved storage number, which is the number of numerical data indicating the random value for jackpot determination stored in the special figure storage unit 131, becomes a predetermined upper limit value (eg, “4”). It is determined whether or not. At this time, if the number of stored memories is the upper limit value, the start detection by the current winning is invalidated, and the winning process is ended as it is. On the other hand, when the reserved storage number is less than the upper limit value, for example, the CPU 104 extracts numerical data indicating a random number value for jackpot determination from the random value register 181B provided for the 16-bit random number in the random number circuit 103 or the like. The numerical data indicating the extracted random number value is set at the head of the empty entry in the special figure storage unit 131.

この後、遊技制御用マイクロコンピュータ100では、例えばCPU104が遊技制御フラグ設定部133に設けられた特別図柄プロセスフラグの値に応じて、以下のようなステップS360〜S366の各処理を実行する。   Thereafter, in the game control microcomputer 100, for example, the CPU 104 executes the following steps S360 to S366 according to the value of the special symbol process flag provided in the game control flag setting unit 133.

ステップS360の特別図柄通常処理は、特別図柄プロセスフラグの値が“0”のときに実行される。図45は、ステップS340にて実行される特別図柄通常処理の一例を示すフローチャートである。この特別図柄通常処理を開始すると、遊技制御用マイクロコンピュータ100では、まず、特図保留記憶部131における保留記憶数が「0」となっているか否かを、例えばCPU104が判定する(ステップS461)。そして、保留記憶数が「0」であるときには(ステップS461;Yes)、遊技制御フラグ設定部133に設けられたデモ表示フラグがオンとなっているか否かを判定する(ステップS462)。なお、デモ表示フラグは、後述するステップS465の処理が実行されたときにオン状態にセットされる一方、ステップS466の処理が実行されたときにクリアされてオフ状態となる。ステップS462にてデモ表示フラグがオンであれば(ステップS462;Yes)、既に演出制御基板12に対してデモ表示コマンドの送信が行われたと判断して、特別図柄通常処理を終了する。   The special symbol normal process in step S360 is executed when the value of the special symbol process flag is “0”. FIG. 45 is a flowchart showing an example of the special symbol normal process executed in step S340. When the special symbol normal process is started, the game control microcomputer 100 first determines, for example, whether or not the number of reserved memories in the special figure storage unit 131 is “0” (step S461). . Then, when the number of reserved storage is “0” (step S461; Yes), it is determined whether or not the demonstration display flag provided in the game control flag setting unit 133 is on (step S462). The demonstration display flag is set to an on state when a process of step S465 described later is executed, and is cleared to an off state when the process of step S466 is executed. If the demonstration display flag is on in step S462 (step S462; Yes), it is determined that the demonstration display command has already been transmitted to the effect control board 12, and the special symbol normal process is terminated.

ステップS462にてデモ表示フラグがオフであるときには(ステップS462;No)、タッチセンサ75からのタッチセンサ検出信号がオン状態となっているか否かを判定する(ステップS463)。このとき、タッチセンサ検出信号がオン状態であれば(ステップS463;Yes)、遊技者が操作ノブ30に触れて遊技を行っているため画像表示装置5におけるデモ表示は行わないと判断して、特別図柄通常処理を終了する。他方、ステップS463にてタッチセンサ検出信号がオフ状態であるときには(ステップS463;No)、演出制御基板12に対してデモ表示コマンドを送信するための設定を行う(ステップS464)。具体的な一例として、ステップS464の処理では、ROM105に格納されているデモ表示コマンド設定テーブルの先頭アドレスをポインタに設定し、デモ表示コマンド設定テーブルの内容に基づいてコマンド送信用の制御データを、演出用送信コマンドバッファにセットする。ステップS464の処理を実行したときには、デモ表示フラグをオン状態にセットする(ステップS465)。   When the demonstration display flag is off in step S462 (step S462; No), it is determined whether or not the touch sensor detection signal from the touch sensor 75 is on (step S463). At this time, if the touch sensor detection signal is in the on state (step S463; Yes), it is determined that the demo display on the image display device 5 is not performed because the player touches the operation knob 30 and plays the game. The special symbol normal processing is terminated. On the other hand, when the touch sensor detection signal is in the OFF state in step S463 (step S463; No), setting for transmitting a demonstration display command to the effect control board 12 is performed (step S464). As a specific example, in the process of step S464, the start address of the demo display command setting table stored in the ROM 105 is set as a pointer, and control data for command transmission is set based on the contents of the demo display command setting table. Set in the production send command buffer. When the process of step S464 is executed, the demonstration display flag is set to the on state (step S465).

ステップS461にて保留記憶数が「0」以外であるときには(ステップS461;No)、特図ゲームを実行するための始動条件が成立していると判断して、デモ表示フラグをクリアしてオフ状態とする(ステップS466)。そして、特別図柄プロセスフラグの値を“1”に更新する(ステップS467)。   If the number of stored storage is other than “0” in step S461 (step S461; No), it is determined that the start condition for executing the special game is satisfied, and the demonstration display flag is cleared and turned off. A state is set (step S466). Then, the value of the special symbol process flag is updated to “1” (step S467).

図43に示すステップS361の可変表示開始時処理は、特別図柄プロセスフラグの値が“1”のときに実行される。この可変表示開始時処理は、特別図柄表示装置4による特図ゲームにおける確定特別図柄を決定する処理や、特別図柄の可変表示時間(総変動時間)及び画像表示装置5における飾り図柄の可変表示態様を決定する処理などを含んでいる。具体的な一例として、ステップS361の可変表示開始時処理では、まず、特図保留記憶部131から保留番号「1」に対応して記憶されている大当り判定用の乱数値を示す数値データを読み出すとともに、保留番号「1」よりも下位のエントリ(例えば保留番号「2」〜「4」に対応するエントリ)に記憶された乱数値を示す数値データを、1エントリずつ上位にシフトする。   The variable display start process in step S361 shown in FIG. 43 is executed when the value of the special symbol process flag is “1”. The variable display start process includes a process for determining a confirmed special symbol in the special symbol game by the special symbol display device 4, a variable symbol display time (total variation time) for the special symbol, and a variable symbol display mode for the decorative symbol on the image display device 5. It includes the process of determining. As a specific example, in the variable display start process in step S361, first, numerical data indicating the jackpot determination random number value stored in correspondence with the holding number “1” is read from the special figure holding storage unit 131. At the same time, the numerical data indicating the random number values stored in the entries lower than the holding number “1” (for example, the entries corresponding to the holding numbers “2” to “4”) are shifted up by one entry.

こうして特図保留記憶部131から読み出した乱数値を示す数値データに基づき、例えばROM105に格納されている大当り判定テーブルを参照することなどにより、特図ゲームや飾り図柄の可変表示における表示結果を大当りとするか否かの判定を行う。このとき、大当りとする旨の判定がなされると、遊技制御フラグ設定部133に設けられた大当りフラグをオン状態にセットするとともに、確変判定用の乱数値を示す数値データを抽出する。続いて、抽出した確変判定用の乱数値を示す数値データに基づき、例えばROM105に格納されている確変判定テーブルを参照することなどにより、大当り遊技状態の終了後における遊技状態を確変制御による高確率状態とするか否かの判定を行う。そして、高確率状態とする旨の判定がなされたときには、遊技制御フラグ設定部133に設けられた確変確定フラグをオン状態にセットする。また、ステップS361の可変表示開始時処理では、例えば特別図柄表示装置4における各セグメントや各ドットの点灯/消灯動作を開始させるなどといった、特別図柄表示装置4において特別図柄の可変表示を開始する設定を行う。この後、特別図柄プロセスフラグの値を“2”に更新する。   Based on the numerical data indicating the random number value read from the special figure storage unit 131 in this way, for example, by referring to the big hit determination table stored in the ROM 105, the display result in the special display game or variable display of the decorative symbols is a big hit. It is determined whether or not. At this time, if it is determined that a big hit is made, the big hit flag provided in the game control flag setting unit 133 is set to an on state, and numerical data indicating a random number value for probability change determination is extracted. Subsequently, based on the extracted numerical data indicating the probability change determination random number value, for example, by referring to a probability change determination table stored in the ROM 105, the gaming state after the end of the big hit gaming state is high probability by probability change control. It is determined whether or not to enter a state. Then, when it is determined that the high probability state is set, the probability variation confirmation flag provided in the game control flag setting unit 133 is set to the on state. In the variable display start process in step S361, for example, the special symbol display device 4 is set to start variable symbol variable display in the special symbol display device 4, such as starting the lighting / extinguishing operation of each segment or each dot in the special symbol display device 4. I do. Thereafter, the value of the special symbol process flag is updated to “2”.

ステップS362の可変表示制御処理は、特別図柄プロセスフラグの値が“2”のときに実行される。この可変表示制御処理は、可変表示時間タイマの値に基づいて、特別図柄表示装置4による特図ゲームにおける特別図柄の残りの可変表示時間を計測する処理を含んでいる。そして、特別図柄の可変表示時間(総変動時間)が経過したときには、特別図柄プロセスフラグの値を“3”に更新する。   The variable display control process of step S362 is executed when the value of the special symbol process flag is “2”. This variable display control process includes a process of measuring the remaining variable display time of the special symbol in the special symbol game by the special symbol display device 4 based on the value of the variable display time timer. When the special symbol variable display time (total variation time) has elapsed, the value of the special symbol process flag is updated to “3”.

ステップS363の可変表示停止時処理は、特別図柄プロセスフラグの値が“3”のときに実行される。この可変表示停止時処理では、特別図柄や飾り図柄の可変表示結果が大当りであるかハズレであるかが判定される。また、パチンコ遊技機1が高確率状態となっているときには、遊技状態を高確率状態から通常遊技状態に戻すか否かを判定し、戻すと判定すると、パチンコ遊技機1における遊技状態を高確率状態から通常遊技状態に移行させる。具体的な一例として、高確率状態にて実行された特図ゲームの回数が所定の確変終了基準値(例えば「100」)に達すると、高確率状態から通常遊技状態に戻すと判定する。そして、可変表示結果が大当りであるときには特別図柄プロセスフラグの値が“4”に更新される一方で、ハズレであるときには特別図柄プロセスフラグの値が“0”に更新される。   The variable display stop process in step S363 is executed when the value of the special symbol process flag is “3”. In the variable display stop process, it is determined whether the variable display result of the special symbol or the decorative symbol is a big hit or a loss. Further, when the pachinko gaming machine 1 is in a high probability state, it is determined whether or not the gaming state is returned from the high probability state to the normal gaming state, and if it is determined to return, the gaming state in the pachinko gaming machine 1 has a high probability. Transition from state to normal gaming state. As a specific example, when the number of special figure games executed in the high probability state reaches a predetermined probability variation end reference value (for example, “100”), it is determined to return from the high probability state to the normal game state. When the variable display result is a big hit, the value of the special symbol process flag is updated to “4”, while when the variable display result is lost, the value of the special symbol process flag is updated to “0”.

ステップS364の大入賞口開放前処理は、特別図柄プロセスフラグの値が“4”のときに実行される。この大入賞口開放前処理では、大当り遊技状態において特別可変入賞球装置7が備える開閉板により大入賞口を開放する各ラウンドにおける大入賞口の最長開放期間の設定などを行う。この後、大当り開始コマンドを演出制御基板12に対して送信するための設定を行って、特別図柄プロセスフラグの値を“5”に更新する。   The pre-opening process for the special winning opening in step S364 is executed when the value of the special symbol process flag is “4”. In the pre-opening process for the big winning opening, setting of the longest opening period of the big winning opening in each round in which the big winning opening is opened by the opening / closing plate provided in the special variable winning ball apparatus 7 in the big hit gaming state is performed. Thereafter, a setting for transmitting a big hit start command to the effect control board 12 is performed, and the value of the special symbol process flag is updated to “5”.

ステップS365の大入賞口開放中処理は、特別図柄プロセスフラグの値が“5”のときに実行される。この大入賞口開放中処理では、大入賞口開放前処理での設定に従ってソレノイド82の駆動制御を行うことにより、特別可変入賞球装置7が備える開閉板により大入賞口を開閉させる。そして、大当り遊技状態における最終のラウンドが終了したときには、特別図柄プロセスフラグの値を“6”に更新する。ステップS366の大当り終了処理は、特別図柄プロセスフラグの値が“6”のときに実行される。この大当り終了処理では、大当り終了コマンドを演出制御基板12に対して送信するための設定などを行った後、特別図柄プロセスフラグの値を“0”に更新する。また、大当り終了処理では、確変確定フラグがオンとなっているか否かを判定し、オンであるときには、確変確定フラグをクリアしてオフ状態にするとともに、遊技制御フラグ設定部133に設けられた確変中フラグをオン状態にセットする。   The special winning opening opening process in step S365 is executed when the value of the special symbol process flag is “5”. In this special prize opening opening process, the solenoid 82 is driven and controlled according to the setting in the special prize opening pre-processing, thereby opening and closing the special prize opening by the opening / closing plate of the special variable winning ball apparatus 7. When the final round in the big hit gaming state is completed, the value of the special symbol process flag is updated to “6”. The big hit end process of step S366 is executed when the value of the special symbol process flag is “6”. In this jackpot end process, after setting for transmitting a jackpot end command to the effect control board 12, the value of the special symbol process flag is updated to “0”. In the big hit end process, it is determined whether or not the probability change confirmation flag is on. When the probability change confirmation flag is on, the probability change confirmation flag is cleared and turned off, and the game control flag setting unit 133 is provided. Set the probable change flag to ON.

図45は、図31に示すステップS81にて実行される払出用コマンド制御処理の一例を示すフローチャートである。この払出用コマンド制御処理を開始すると、遊技制御用マイクロコンピュータ100では、まず、例えば遊技制御タイマ設定部134に設けられた払出用通信制御タイマによる経過時間の計測が行われているか否か(タイマ値が「0」以外であるか否か)を判定することなどにより、払出制御コマンドの送信完了を待機中であるか否かを判定する(ステップS371)。ステップS371にて送信完了の待機中ではない旨の判定がなされたときには(ステップS371;No)、例えばCPU104が遊技制御カウンタ設定部135に設けられたコマンド送信待ちカウンタの値が「0」以外であるか否かを判定することなどにより、送信コマンドがあるか否かを判定する(ステップS372)。このとき、送信コマンドがない旨の判定がなされると(ステップS372;No)、払出用コマンド制御処理を終了する。   FIG. 45 is a flowchart showing an example of a payout command control process executed in step S81 shown in FIG. When the payout command control process is started, the game control microcomputer 100 first determines whether or not the elapsed time is measured by a payout communication control timer provided in the game control timer setting unit 134 (timer Whether or not the value is other than “0”) is determined, for example, to determine whether or not the completion of the transmission of the payout control command is on standby (step S371). When it is determined in step S371 that transmission is not waiting (step S371; No), for example, the value of the command transmission waiting counter provided in the game control counter setting unit 135 by the CPU 104 is other than “0”. It is determined whether or not there is a transmission command by determining whether or not there is (step S372). At this time, if it is determined that there is no transmission command (step S372; No), the payout command control process is terminated.

ステップS372にて送信コマンドがある旨の判定がなされたときには(ステップS372;Yes)、例えばシリアル通信エラーフラグがオフであるか否かを判定することなどにより、シリアル通信回路108により払出制御コマンドを送信可能な状態であるか否かを判定する(ステップS373)。このとき、シリアル通信エラーフラグがオンであるなどして送信可能な状態ではないと判定すると(ステップS373;No)、払出用コマンド制御処理を終了して払出制御コマンドの送信を行わないようにする。他方、ステップS373にて送信可能な状態である旨の判定がなされたときには(ステップS373;Yes)、払出用送信コマンドバッファ192に設けられた送信コマンドバッファ#1〜#12のうちでコマンド送信待ちカウンタの値に対応したものから格納データを読出し(ステップS374)、読出したデータをシリアル通信回路108にセットする(ステップS375)。より具体的に、ステップS375では、ステップS374にて読出したデータをシリアル通信回路108が備えるシリアル通信データレジスタにセットすればよい。このときには、コマンド送信待ちカウンタの値を、例えばステップS374にて読出した格納データの個数だけ減算するなどして更新する(ステップS376)。続いて、払出用通信制御タイマに送信完了待ち初期値として予め定められたタイマ初期値をセットして(ステップS377)、払出用コマンド制御処理を終了する。   When it is determined in step S372 that there is a transmission command (step S372; Yes), for example, by determining whether or not the serial communication error flag is OFF, the payout control command is issued by the serial communication circuit 108. It is determined whether or not transmission is possible (step S373). At this time, if it is determined that the transmission is not possible because the serial communication error flag is on (step S373; No), the payout command control process is terminated and the payout control command is not transmitted. . On the other hand, when it is determined in step S373 that transmission is possible (step S373; Yes), command transmission waiting is performed among the transmission command buffers # 1 to # 12 provided in the payout transmission command buffer 192. The stored data is read from the one corresponding to the counter value (step S374), and the read data is set in the serial communication circuit 108 (step S375). More specifically, in step S375, the data read in step S374 may be set in the serial communication data register included in the serial communication circuit 108. At this time, the value of the command transmission waiting counter is updated by subtracting, for example, the number of stored data read in step S374 (step S376). Subsequently, a predetermined timer initial value is set as a transmission completion waiting initial value in the payout communication control timer (step S377), and the payout command control process is terminated.

また、ステップS371にて送信完了の待機中である旨の判定がなされたときには(ステップS371;Yes)、例えば送信完了フラグとして遊技制御フラグ設定部133に設けられた所定のフラグがオンとなっているか否かを判定するなどして、シリアル通信回路108による送信動作が完了したか否かを判定する(ステップS378)。ステップS378にて送信動作が完了しているときには(ステップS378;Yes)、払出用通信制御タイマを初期化した後(ステップS379)、前述したステップS372の処理に進む。   Further, when it is determined in step S371 that transmission is in a standby state (step S371; Yes), for example, a predetermined flag provided in the game control flag setting unit 133 is turned on as a transmission completion flag. It is determined whether or not the transmission operation by the serial communication circuit 108 has been completed (step S378). When the transmission operation is completed in step S378 (step S378; Yes), the payout communication control timer is initialized (step S379), and then the process proceeds to the above-described step S372.

ステップS378にて送信動作が完了していないときには(ステップS378;No)、払出用通信制御タイマの値を、例えば1減算するなどして更新する(ステップS380)。そして、例えばステップS380での更新により払出用通信制御タイマがタイムアウトしたか否かを判定することなどにより、送信完了待ち時間が経過したか否かを判定する(ステップS381)。このとき、送信完了待ち時間が経過していれば(ステップS381;Yes)、払出制御基板15に対する払出制御コマンドの送信が送信完了待ち時間内に完了できなかったと判断して、例えば払出用通信エラー検出フラグをオン状態にセットする処理などといった、コマンド送信エラー時の処理を実行する(ステップS382)。他方、ステップS381にて送信完了待ち時間が経過していなければ(ステップS381;No)、ステップS382の処理をスキップして払出用コマンド制御処理を終了する。   When the transmission operation is not completed in step S378 (step S378; No), the value of the payout communication control timer is updated by subtracting, for example, 1 (step S380). Then, for example, it is determined whether or not the transmission completion waiting time has elapsed by determining whether or not the payout communication control timer has timed out due to the update in step S380 (step S381). At this time, if the transmission completion waiting time has elapsed (step S381; Yes), it is determined that transmission of the payout control command to the payout control board 15 could not be completed within the transmission completion waiting time, for example, a payout communication error. Processing at the time of command transmission error, such as processing for setting the detection flag to the ON state, is executed (step S382). On the other hand, if the transmission completion waiting time has not elapsed in step S381 (step S381; No), the process of step S382 is skipped and the payout command control process is terminated.

次に、払出制御基板15における動作を説明する。払出制御基板15では、電源基板10からの電力供給が開始され払出制御用マイクロコンピュータ150へのリセット信号がハイレベル(オフ状態)になったことに応じて、払出制御用マイクロコンピュータ150が起動し、図46のフローチャートに示すような払出制御メイン処理が実行される。なお、以下に説明する各処理は、払出制御用マイクロコンピュータ150が備えるCPU214によって実行されるものとする。また、払出制御用マイクロコンピュータ210が備えるタイマ回路217やシリアル通信回路218などで発生した各種の割込み要因に基づく割込み要求は、CPU214に所定の割込み処理を実行させるためのものである。そして、CPU214やCPU214以外の各種回路を含んだ概念を払出制御用マイクロコンピュータ150ということもあるものとする。図46に示す払出制御メイン処理を開始すると、払出制御用マイクロコンピュータ150は、まず、割込禁止に設定し(ステップS501)、割込モードの設定を行う(ステップS502)。続いて、例えばスタックポインタ指定アドレスの設定など、スタックポインタに関わる設定を行う(ステップS503)。また、内蔵デバイスレジスタの設定(初期化)を行う(ステップS504)。例えば、払出制御用マイクロコンピュータ150がCTC(カウンタ/タイマ)及びPIO(パラレル入出力ポート)を内蔵している場合には、ステップS504の処理が実行されることにより、内蔵デバイス(内蔵周辺回路)としてのCTCやPIOの設定(初期化)などが行われるとよい。   Next, the operation in the payout control board 15 will be described. In the payout control board 15, the payout control microcomputer 150 is activated in response to the start of power supply from the power supply board 10 and the reset signal to the payout control microcomputer 150 becoming high level (off state). A payout control main process as shown in the flowchart of FIG. 46 is executed. Note that each process described below is executed by the CPU 214 provided in the payout control microcomputer 150. An interrupt request based on various interrupt factors generated by the timer circuit 217, serial communication circuit 218, etc. provided in the payout control microcomputer 210 is for causing the CPU 214 to execute predetermined interrupt processing. The concept including the CPU 214 and various circuits other than the CPU 214 is sometimes referred to as a payout control microcomputer 150. When the payout control main process shown in FIG. 46 is started, the payout control microcomputer 150 first sets the interrupt prohibition (step S501) and sets the interrupt mode (step S502). Subsequently, settings related to the stack pointer, such as setting of a stack pointer designation address, are performed (step S503). In addition, the built-in device register is set (initialized) (step S504). For example, when the payout control microcomputer 150 has a built-in CTC (counter / timer) and PIO (parallel input / output port), the processing in step S504 is executed, whereby a built-in device (built-in peripheral circuit). CTC or PIO setting (initialization) or the like may be performed.

ステップS504の処理を実行した後には、例えば払出制御用マイクロコンピュータ150に設けられた入力ポートにおける所定ビットの状態をチェックすることなどにより、電源断信号がオフ状態となっているか否かを判定する(ステップS505)。例えば、ステップS505の処理では、電源断信号が出力されていないオフ状態(ハイレベル)となっていることを確認する。   After executing the process of step S504, it is determined whether or not the power-off signal is in an off state by checking the state of a predetermined bit at an input port provided in the payout control microcomputer 150, for example. (Step S505). For example, in the process of step S505, it is confirmed that the power-off signal is not output and is in an off state (high level).

ステップS505にて電源断信号がオン状態であるときには(ステップS505;No)、所定時間(例えば0.1秒)が経過するまで待機した後(ステップS506)、ステップS505の処理に戻って、電源断信号がオフ状態となっているか否かの判定を再び行うようにする。これにより、払出制御用マイクロコンピュータ150は、電源電圧が安定したことを確認することができる。そして、ステップS505にて電源断信号がオフ状態であるときには(ステップS505;Yes)、RAM216をアクセス可能に設定する(ステップS507)。   When the power cut-off signal is on in step S505 (step S505; No), after waiting for a predetermined time (for example, 0.1 second) to elapse (step S506), the process returns to step S505, and the power It is determined again whether or not the disconnection signal is off. Thereby, the payout control microcomputer 150 can confirm that the power supply voltage is stable. If the power-off signal is off in step S505 (step S505; Yes), the RAM 216 is set to be accessible (step S507).

ステップS507の処理を実行した後には、例えば払出制御用マイクロコンピュータ150に設けられた入力ポートにおける所定ビットの状態をチェックすることなどにより、クリア信号がオン状態となっているか否かを判定する(ステップS508)。ここで、払出制御用マイクロコンピュータ150は、入力ポートを介して1回だけクリア信号の状態を確認するようにしてもよいが、クリア信号の状態を複数回確認するようにしてもよい。例えば、クリア信号の状態がオフ状態であることを1回確認したら、所定時間(例えば0.1秒)が経過した後に、クリア信号の状態をもう1回確認する。このとき、クリア信号がオフ状態であれば、クリア信号がオフ状態である旨の判定を行うようにする。他方、このときにクリア信号の状態がオン状態であれば、所定時間が経過した後に、クリア信号の状態を再び確認するようにしてもよい。なお、クリア信号の状態を再確認する回数は1回であってもよいし、複数回であってもよい。また、2回チェックして、チェック結果が一致していなかったときに、もう一度確認するようにしてもよい。   After executing the processing of step S507, it is determined whether or not the clear signal is in an ON state by checking the state of a predetermined bit at an input port provided in the payout control microcomputer 150, for example (step S507). Step S508). Here, the payout control microcomputer 150 may confirm the state of the clear signal only once through the input port, but may confirm the state of the clear signal a plurality of times. For example, once it is confirmed that the state of the clear signal is off, the state of the clear signal is confirmed once again after a predetermined time (for example, 0.1 second) has elapsed. At this time, if the clear signal is off, it is determined that the clear signal is off. On the other hand, if the state of the clear signal is on at this time, the state of the clear signal may be confirmed again after a predetermined time has elapsed. Note that the number of times of reconfirming the state of the clear signal may be one time or may be a plurality of times. Further, it is possible to check twice and check again when the check results do not match.

ステップS508にてクリア信号がオフ状態である旨の判定がなされたときには(ステップS508;No)、RAM216のデータチェックを行い、チェック結果が正常であるか否かを判定する(ステップS509)。ステップS509の処理では、例えばRAM216の特定領域における記憶データを用いてチェックサムを算出し、算出されたチェックサムと払出チェックサムバッファに記憶されているチェックサムとを比較する。ここで、払出チェックサムバッファには、前回の電力供給停止時に、同様の処理によって算出されたチェックサムが記憶されている。そして、比較結果が不一致であれば、RAM216の特定領域におけるデータが電力供給停止時のデータとは異なっていることから、チェック結果が正常でないと判断される。   When it is determined in step S508 that the clear signal is in the OFF state (step S508; No), the data in the RAM 216 is checked to determine whether the check result is normal (step S509). In the process of step S509, for example, a checksum is calculated using data stored in a specific area of the RAM 216, and the calculated checksum is compared with the checksum stored in the payout checksum buffer. Here, the payout checksum buffer stores a checksum calculated by the same processing when the power supply was stopped last time. If the comparison results do not match, the data in the specific area of the RAM 216 is different from the data at the time of stopping the power supply, and therefore it is determined that the check result is not normal.

ステップS509におけるチェック結果が正常であるときには(ステップS509;Yes)、払出制御フラグ設定部141に設けられた払出バックアップフラグがオンとなっているか否かを判定する(ステップS510)。払出バックアップフラグの状態は、電力供給が停止するときに、払出制御フラグ設定部141に設定される。そして、この払出バックアップフラグの設定箇所がバックアップ電源によってバックアップされることで、電力供給が停止した場合でも、払出バックアップフラグの状態は保存されることになる。なお、ステップS510のような払出バックアップフラグがオンとなっているか否かの判定を、ステップS509のようなチェック結果の判定よりも先に行い、払出バックアップフラグがオンであるときにRAM216のデータチェック結果が正常であるか否かを判定するようにしてもよい。   When the check result in step S509 is normal (step S509; Yes), it is determined whether or not the payout backup flag provided in the payout control flag setting unit 141 is on (step S510). The state of the payout backup flag is set in the payout control flag setting unit 141 when the power supply is stopped. Then, the place where the payout backup flag is set is backed up by the backup power source, so that the state of the payout backup flag is saved even when the power supply is stopped. Whether the payout backup flag is turned on as in step S510 is determined before the check result is checked as in step S509. When the payout backup flag is on, the data check of the RAM 216 is performed. You may make it determine whether a result is normal.

ステップS510にて払出バックアップフラグがオンであるときには(ステップS510;Yes)、払出バックアップフラグをクリアしてオフ状態とした後(ステップS511)、払出制御用マイクロコンピュータ150の内部状態などを電力供給が停止されたときの状態に戻すための復旧時における設定を行う(ステップS512)。例えば、パチンコ遊技機1への電力供給が停止されるときに、払出制御カウンタ設定部143に設けられた賞球未払出カウンタの値がRAM216のバックアップ領域に格納される場合には、ステップS512の処理においてRAM216のバックアップ領域の記憶データを読み出して、賞球未払出カウンタにセットするようにすればよい。   If the payout backup flag is on in step S510 (step S510; Yes), the payout backup flag is cleared and turned off (step S511), and then the internal power supply of the payout control microcomputer 150 is supplied. Settings at the time of recovery for returning to the state when stopped are performed (step S512). For example, when the power supply to the pachinko gaming machine 1 is stopped, if the value of the award ball non-payout counter provided in the payout control counter setting unit 143 is stored in the backup area of the RAM 216, the process of step S512 In the processing, the stored data in the backup area of the RAM 216 may be read out and set in the winning ball unpaid counter.

また、ステップS508にてクリア信号がオンであるときや(ステップS508;Yes)、ステップS509にてチェック結果が正常ではないとき(ステップS509;No)、あるいはステップS510にて払出バックアップフラグがオフであるときには(ステップS510;No)、RAM216の初期化を行う(ステップS513)。続いて、払出制御用マイクロコンピュータ150の内部状態などを初期状態とするための初期化時における設定を行う(ステップS514)。例えば、ステップS514の処理では、払出制御フラグ設定部141に設けられた各種のフラグや、払出制御タイマ設定部142に設けられた各種のタイマ、あるいは払出制御カウンタ設定部143に設けられた各種のカウンタなどに、それぞれの初期値を設定すればよい。具体的な一例として、ステップS514の処理では、払出制御カウンタ設定部143に設けられた初期化コマンド受信回数カウンタの値を所定のカウント初期値(例えば「1」)に設定する。   Further, when the clear signal is on in step S508 (step S508; Yes), when the check result is not normal in step S509 (step S509; No), or in step S510, the payout backup flag is off. If there is (step S510; No), the RAM 216 is initialized (step S513). Subsequently, a setting at the time of initialization for setting the internal state of the payout control microcomputer 150 to an initial state is performed (step S514). For example, in the process of step S 514, various flags provided in the payout control flag setting unit 141, various timers provided in the payout control timer setting unit 142, or various types provided in the payout control counter setting unit 143. What is necessary is just to set each initial value to a counter etc. As a specific example, in the process of step S514, the value of the initialization command reception number counter provided in the payout control counter setting unit 143 is set to a predetermined count initial value (eg, “1”).

ステップS512またはステップS514の処理を実行した後には、例えば払出制御用マイクロコンピュータ150が備えるタイマ回路217のレジスタ設定などを行うことにより、所定時間(例えば2ミリ秒)ごとにタイマ割込みが発生するように払出制御用マイクロコンピュータ150の内部設定を行う(ステップS515)。この後、CPU214がROM215に記憶されている第1乱数初期設定データ(KRSS1)の第4及び第3ビット[ビット4−3]を読出し(ステップS516)、読出した値に基づいて乱数生成動作の初期設定を行う(ステップS517)。例えば、払出制御基板15の側では払出制御用マイクロコンピュータ150が備える乱数回路213を使用しない場合には、ステップS517の処理において、乱数回路213における12ビット乱数と16ビット乱数の双方について、その生成動作を停止させるための処理が実行されればよい。   After executing the processing of step S512 or step S514, for example, by setting a register of the timer circuit 217 included in the payout control microcomputer 150, a timer interrupt is generated every predetermined time (for example, 2 milliseconds). The internal setting of the payout control microcomputer 150 is performed (step S515). Thereafter, the CPU 214 reads the fourth and third bits [bit 4-3] of the first random number initial setting data (KRSS1) stored in the ROM 215 (step S516), and performs random number generation operation based on the read value. Initial setting is performed (step S517). For example, when the random number circuit 213 included in the payout control microcomputer 150 is not used on the payout control board 15 side, both the 12-bit random number and the 16-bit random number in the random number circuit 213 are generated in the process of step S517. It is only necessary to execute a process for stopping the operation.

ステップS517の処理に続いて、CPU214は、シリアル通信動作の初期設定を行うための処理として、シリアル通信初期設定処理を実行する(ステップS518)。このシリアル通信初期設定処理は、主基板11の側で遊技制御用マイクロコンピュータ100により実行される図27に示すステップS23の処理と同様の処理であればよい。また、CPU214は、割込み要求に基づいて実行される割込み処理に関する初期設定を行うための処理として、割込み初期設定処理を実行する(ステップS519)。この割込み初期設定処理は、主基板11の側で遊技制御用マイクロコンピュータ100により実行される図27に示すステップS24の処理と同様の処理であればよい。そして、CPU214は割込許可状態に設定して(ステップS520)、各種割込みの発生を待機する。このときには、電源断信号がオン状態となったか否か(出力されたか否か)の判定を行い(ステップS521)、オフであれば(ステップS521;No)、そのまま各種割込みの発生を待機する。また、電源断信号がオン状態となったときには(ステップS521;Yes)、払出側電源断処理を実行した後(ステップS522)、所定のループ処理を実行して、電力供給の停止による払出制御用マイクロコンピュータ150の動作停止まで待機する。なお、ステップS521の処理では、入力ポートを介して1回だけ電源断信号の状態を確認するようにしてもよいが、電源断信号の状態を複数回確認するようにしてもよい。例えば、電源断信号がオフ状態であることを1回確認したら、所定時間(例えば0.1秒)が経過した後に、電源断信号をもう1回確認する。このとき、電源断信号がオフ状態であれば、電源断信号がオフ状態である旨の判定を行うようにする。他方、このときに電源断信号の状態がオン状態であれば、所定時間が経過した後に、電源断信号の状態を再び確認するようにしてもよい。なお、電源断信号の状態を再確認する回数は1回であってもよいし、複数回であってもよい。また、2回チェックして、チェック結果が一致していなかったときに、もう一度確認するようにしてもよい。このように電源断信号の状態を複数回確認する場合には、例えば確認動作を開始するときや1回目の確認結果と2回目の確認結果とを比較して不一致であったときなどに、払出制御用マイクロコンピュータ150に内蔵されたWDT(ウォッチドッグ・タイマ)をクリアするリトリガを行う。そして、リトリガが何らかの原因(例えばプログラムの暴走)で所定時間内に発生しなくなった場合には、WDTから出力されるタイムアウト信号に基づくユーザリセットを発生させ、リセット/割込みコントローラ212、CPU214、タイマ回路217、シリアル通信回路218などの各回路を初期化した後、所定のベクタテーブルで示されるアドレスからユーザプログラムの実行を開始して、自動復旧を行うようにしてもよい。   Subsequent to the process in step S517, the CPU 214 executes a serial communication initial setting process as a process for performing an initial setting of the serial communication operation (step S518). The serial communication initial setting process may be the same process as the process of step S23 shown in FIG. 27 executed by the game control microcomputer 100 on the main board 11 side. Further, the CPU 214 executes an interrupt initial setting process as a process for performing an initial setting related to the interrupt process executed based on the interrupt request (step S519). This interrupt initial setting process may be a process similar to the process of step S24 shown in FIG. 27 executed by the game control microcomputer 100 on the main board 11 side. Then, the CPU 214 sets the interrupt permitted state (step S520), and waits for various interrupts to occur. At this time, it is determined whether or not the power-off signal has been turned on (whether or not it has been output) (step S521). If it is off (step S521; No), the generation of various interrupts is awaited. When the power-off signal is turned on (step S521; Yes), the payout-side power cut-off process is executed (step S522), and then a predetermined loop process is executed for the payout control by stopping the power supply. Wait until the microcomputer 150 stops operating. In the process of step S521, the state of the power-off signal may be confirmed only once via the input port, but the state of the power-off signal may be confirmed a plurality of times. For example, if it is confirmed once that the power-off signal is in the OFF state, the power-off signal is confirmed once again after a predetermined time (for example, 0.1 second) has elapsed. At this time, if the power-off signal is off, it is determined that the power-off signal is off. On the other hand, if the state of the power-off signal is on at this time, the state of the power-off signal may be confirmed again after a predetermined time has elapsed. In addition, the number of times of reconfirming the state of the power-off signal may be one time or a plurality of times. Further, it is possible to check twice and check again when the check results do not match. Thus, when confirming the state of the power-off signal multiple times, for example, when the confirmation operation is started or when the first confirmation result is compared with the second confirmation result and there is a mismatch, etc. Retriggering is performed to clear the WDT (watchdog timer) built in the control microcomputer 150. When the retrigger does not occur within a predetermined time due to some cause (for example, program runaway), a user reset is generated based on a timeout signal output from the WDT, and the reset / interrupt controller 212, CPU 214, timer circuit After initializing each circuit such as 217 and serial communication circuit 218, execution of the user program may be started from an address indicated by a predetermined vector table to perform automatic recovery.

ステップS522の払出側電源断処理では、例えばCPU214が割込禁止に設定した後、払出制御用マイクロコンピュータ150に設けられた出力ポートの所定ビットにクリアデータをセットするなどして、払出モータ51の動作を停止させるための設定を行う。このときには、出力ポートの所定ビット以外にも、クリアすべき出力ポートにはクリアデータを設定するようにしてもよい。続いて、例えばRAM216の特定領域における記憶データを用いてチェックサムを算出するなどして、チェックデータの作成を行うとともに、払出制御フラグ設定部141に設けられた払出バックアップフラグをオン状態にセットする。このとき作成されたチェックデータは、例えば払出制御バッファ設定部144に設けられた払出チェックサムバッファなどといった、RAM216の所定領域に格納される。そして、払出制御用マイクロコンピュータ150は、例えば所定のRAMアクセスレジスタにアクセス禁止値を設定することなどにより、以後、RAM216へのアクセスを禁止する。   In the payout-side power cut-off process in step S522, for example, after the CPU 214 sets the interrupt prohibition, the clear data is set in a predetermined bit of the output port provided in the payout control microcomputer 150. Set to stop the operation. At this time, clear data may be set for an output port to be cleared in addition to a predetermined bit of the output port. Subsequently, for example, check data is created by calculating a checksum using data stored in a specific area of the RAM 216, and the payout backup flag provided in the payout control flag setting unit 141 is set to an on state. . The check data created at this time is stored in a predetermined area of the RAM 216 such as a payout checksum buffer provided in the payout control buffer setting unit 144, for example. The payout control microcomputer 150 then prohibits access to the RAM 216, for example, by setting an access prohibition value in a predetermined RAM access register.

払出制御用マイクロコンピュータ150では、シリアル通信回路218にて発生した割込み要因に対応して、主基板11に搭載された遊技制御用マイクロコンピュータ100が実行する割込み処理を払出制御用マイクロコンピュータ150に適合させた処理が、実行されればよい。例えば、払出制御用マイクロコンピュータ150に設けられたシリアル通信回路218にてエラー割込みが発生するごとに、シリアル通信エラー割込み処理として予め定められた処理が、CPU214によって実行されればよい。例えば、CPU214が実行するシリアル通信エラー割込み処理には、例えばシリアル通信回路218に設けられた送信動作部と受信動作部を未使用状態に設定する処理や、払出制御フラグ設定部141に設けられたシリアル通信エラーフラグをオン状態にセットする処理などが含まれていればよい。   The payout control microcomputer 150 is adapted to the payout control microcomputer 150 for interrupt processing executed by the game control microcomputer 100 mounted on the main board 11 in response to the interrupt factor generated in the serial communication circuit 218. It is only necessary that the processed process is executed. For example, every time an error interrupt occurs in the serial communication circuit 218 provided in the payout control microcomputer 150, a process predetermined as the serial communication error interrupt process may be executed by the CPU 214. For example, the serial communication error interrupt process executed by the CPU 214 includes, for example, a process for setting the transmission operation unit and the reception operation unit provided in the serial communication circuit 218 to an unused state, and a process for setting the payout control flag setting unit 141. It only needs to include processing for setting the serial communication error flag to the ON state.

また、シリアル通信回路218にて受信割込みが発生するごとに、シリアル受信割込み処理として予め定められた処理が、CPU214によって実行されてもよい。このCPU214が実行するシリアル受信割込み処理には、シリアル通信回路218にて主基板11から受信したコマンドを払出制御バッファ設定部144に設けられた受信コマンドバッファに格納する処理などが含まれていればよい。さらに、シリアル通信回路218にて送信割込みが発生するごとに、シリアル送信割込み処理として予め定められた処理が、CPU214によって実行されてもよい。このCPU214が実行するシリアル送信割込み処理には、シリアル通信回路218にて発生した送信割込みの種類を特定して、特定された割込みの種類に応じたフラグをセットまたはクリアする処理などといった、送信割込みの種類に対応する各種の処理が含まれていればよい。   In addition, every time a reception interrupt occurs in the serial communication circuit 218, a process predetermined as the serial reception interrupt process may be executed by the CPU 214. If the serial reception interrupt process executed by the CPU 214 includes a process for storing a command received from the main board 11 in the serial communication circuit 218 in a reception command buffer provided in the payout control buffer setting unit 144. Good. Further, every time a transmission interrupt occurs in the serial communication circuit 218, a process predetermined as a serial transmission interrupt process may be executed by the CPU 214. The serial transmission interrupt process executed by the CPU 214 includes a transmission interrupt such as a process of specifying the type of transmission interrupt generated in the serial communication circuit 218 and setting or clearing a flag according to the specified type of interrupt. It is only necessary to include various types of processing corresponding to the types.

図47は、払出制御用マイクロコンピュータ150にてタイマ割込みが発生するごとに実行される払出制御用タイマ割込み処理の一例を示すフローチャートである。この払出制御用タイマ割込み処理は、主基板11から送信された払出制御コマンドに応じて払出モータ51を制御する払出制御処理となる処理である。図47に示す払出制御用タイマ割込み処理において、払出制御用マイクロコンピュータ150は、所定の入出力処理を実行して(ステップS531)、例えば払出制御用マイクロコンピュータ150に設けられた入力ポートにおける所定ビットの状態をチェックしたり、払出制御用マイクロコンピュータ150に設けられた出力ポートにおける所定ビットに対して所定の制御データをセットしたりする。   FIG. 47 is a flowchart showing an example of a payout control timer interrupt process executed each time a timer interrupt occurs in the payout control microcomputer 150. This payout control timer interruption process is a process that becomes a payout control process for controlling the payout motor 51 in accordance with the payout control command transmitted from the main board 11. In the payout control timer interrupt process shown in FIG. 47, the payout control microcomputer 150 executes a predetermined input / output process (step S531), for example, a predetermined bit at an input port provided in the payout control microcomputer 150. Or a predetermined control data is set for a predetermined bit in an output port provided in the payout control microcomputer 150.

続いて、払出制御用マイクロコンピュータ150は、プリペイドカードユニット処理を実行して、インタフェース基板20を介して接続されたカードユニット70との間での通信を行う(ステップS532)。また、シリアル通信により主基板11から送信された払出制御コマンドを受信するための払出側受信処理を実行する(ステップS533)。そして、主基板11からの払出数指定コマンドを受信したときに賞球ACKコマンドを送信する設定などを行う賞球受信確認処理を実行する(ステップS534)。さらに、カードユニット70からの球貸し要求や、主基板11からの払出数指定コマンドに応じて、遊技球の払出動作を制御する払出動作制御処理を実行する(ステップS535)。   Subsequently, the payout control microcomputer 150 executes prepaid card unit processing and performs communication with the card unit 70 connected via the interface board 20 (step S532). Further, a payout side reception process for receiving the payout control command transmitted from the main board 11 by serial communication is executed (step S533). Then, a prize ball reception confirmation process is performed for performing a setting for transmitting a prize ball ACK command when a payout number designation command from the main board 11 is received (step S534). Further, in accordance with a ball lending request from the card unit 70 or a payout number designation command from the main board 11, a payout operation control process for controlling the payout operation of the game ball is executed (step S535).

ステップS535の処理に続いて、払出制御用マイクロコンピュータ150は、例えば払出制御フラグ設定部141に設けられた各種のエラーフラグにおける状態に応じてエラー表示用LED74に所定の表示を行う7セグ表示処理を実行する(ステップS536)。また、主基板11に対して払出通知コマンドを送信するための払出側送信処理を実行する(ステップS537)。例えば、払出側送信処理では、払出制御フラグ設定部141に設けられたシリアル通信エラーフラグがオンとなっているか否かを判定し、オンであるときには、シリアル通信回路218を用いて主基板11に対して払出通知コマンドを送信することができないと判断して、払出側送信処理を終了する。他方、シリアル通信エラーフラグがオフであるときには、払出制御フラグ設定部141に設けられたシリアル通信エラーフラグ以外のエラーフラグがオン状態となっているか否かを判定する。このとき、いずれかのエラーフラグがオンとなっていれば、例えば払出制御バッファ設定部144に設けられた送信コマンドバッファにコマンド送信用の制御データをセットすることなどといった、主基板11に対して払出エラー通知コマンドを送信するための設定を行う。その後、送信コマンドバッファに送信対象となるコマンドが格納されているか否かを判定し、格納されているときには、そのコマンドに対応する格納データを読み出して、シリアル通信回路218に設けられたシリアル通信データレジスタにセットする。このときには、払出制御フラグ設定部141に設けられた送信設定可能フラグや送信完了フラグをチェックすることで、データセットが可能か否かの判定や、コマンドの送信が完了したか否かの判定などを行うようにしてもよい。   Subsequent to the processing in step S535, the payout control microcomputer 150 performs, for example, a 7-segment display process for performing a predetermined display on the error display LED 74 in accordance with the state of various error flags provided in the payout control flag setting unit 141. Is executed (step S536). Further, a payout side transmission process for transmitting a payout notification command to the main board 11 is executed (step S537). For example, in the payout-side transmission process, it is determined whether or not the serial communication error flag provided in the payout control flag setting unit 141 is on. When the serial communication error flag is on, the serial communication circuit 218 is used to connect to the main board 11. On the other hand, it determines that the payout notification command cannot be transmitted, and ends the payout side transmission process. On the other hand, when the serial communication error flag is off, it is determined whether or not an error flag other than the serial communication error flag provided in the payout control flag setting unit 141 is on. At this time, if any one of the error flags is on, for example, setting control data for command transmission in the transmission command buffer provided in the payout control buffer setting unit 144, the main board 11 is set. Set up to send out a payout error notification command. Thereafter, it is determined whether or not a command to be transmitted is stored in the transmission command buffer. When the command is stored, the stored data corresponding to the command is read and the serial communication data provided in the serial communication circuit 218 is read. Set to register. At this time, by checking the transmission setting enable flag and the transmission completion flag provided in the payout control flag setting unit 141, it is determined whether the data set is possible, whether the command transmission is completed, etc. May be performed.

この後、払出制御用マイクロコンピュータ150は、払出側エラー解除処理を実行して、エラー解除スイッチ73からの検出信号がオン状態となったときに所定のエラーの解除を可能とし(ステップS538)、払出制御用タイマ割込み処理を終了する。ステップS538の払出側エラー解除処理では、例えばCPU214がステップS531における入出力処理の実行結果などに基づきエラー解除スイッチ73からの検出信号がオン状態となっているか否かを判定する。このとき、エラー解除スイッチ73からの検出信号がオン状態となっていれば、例えば主基板通信エラーフラグがオンとなっているか否かを判定する。そして、主基板通信エラーフラグがオンであれば、主基板通信エラーフラグをクリアしてオフ状態とする。また、エラー解除スイッチ73からの検出信号がオン状態となっているときには、シリアル通信エラーフラグがオンとなっているか否かを判定し、オンであれば、所定のシリアル通信初期設定処理を実行することにより、シリアル通信回路218の初期設定を行ってもよい。このとき実行されるシリアル通信初期設定処理は、例えば図27に示すステップS23にて実行されるシリアル通信初期設定処理を、払出制御用マイクロコンピュータ150に適合させた処理であればよい。シリアル通信初期設定処理を実行したときには、シリアル通信エラーフラグをクリアしてオフ状態とする。さらに、エラー解除スイッチ73からの検出信号がオン状態であるときには、その他に解除可能なエラーが発生しているか否かを判定し、発生していれば、そのエラーを解除するための設定が行われてもよい。具体的な一例として、球噛みエラーフラグや球詰まりエラーフラグ、空切りエラーフラグなどといった、所定のエラーフラグがオンとなっているか否かを判定し、いずれかのエラーフラグがオンとなっていれば、エラー解除スイッチ73の操作により解除可能なエラーが発生していると判定する。この場合には、例えば対応するエラーフラグをクリアしたり、払出モータ51の駆動制御を行ったりするなど、発生したエラーを解除するための設定を行うようにすればよい。   Thereafter, the payout control microcomputer 150 executes a payout side error canceling process to enable a predetermined error to be canceled when the detection signal from the error canceling switch 73 is turned on (step S538). The payout control timer interrupt process is terminated. In the payout side error canceling process in step S538, for example, the CPU 214 determines whether or not the detection signal from the error canceling switch 73 is on based on the execution result of the input / output process in step S531. At this time, if the detection signal from the error release switch 73 is in the on state, for example, it is determined whether or not the main board communication error flag is on. If the main board communication error flag is on, the main board communication error flag is cleared and turned off. Further, when the detection signal from the error release switch 73 is on, it is determined whether or not the serial communication error flag is on. If it is on, a predetermined serial communication initial setting process is executed. Thus, the serial communication circuit 218 may be initialized. The serial communication initial setting process executed at this time may be a process in which, for example, the serial communication initial setting process executed in step S23 shown in FIG. 27 is adapted to the payout control microcomputer 150. When serial communication initial setting processing is executed, the serial communication error flag is cleared and turned off. Further, when the detection signal from the error cancel switch 73 is in the on state, it is determined whether or not any other error that can be canceled has occurred, and if it has occurred, a setting for canceling the error is made. It may be broken. As a specific example, it is determined whether or not a predetermined error flag such as a ball biting error flag, a ball clogging error flag, or an empty error flag is on, and any of the error flags may be on. For example, it is determined that an error that can be canceled by operating the error cancellation switch 73 has occurred. In this case, for example, a setting for canceling the generated error may be performed, such as clearing a corresponding error flag or performing drive control of the payout motor 51.

図48は、図47に示すステップS533にて実行される払出側受信処理の一例を示すフローチャートである。この払出側受信処理を開始すると、払出制御用マイクロコンピュータ150では、まず、主基板通信エラーフラグがオンとなっているか否かを、例えばCPU214が判定する(ステップS601)。ステップS601にて主基板通信エラーフラグがオンであるときには(ステップS601;Yes)、そのまま払出側受信処理を終了する。これにより、払出制御基板15において主基板11との間での通信に関するエラーが発生しているときには、主基板11から送信される払出制御コマンドの受信を停止する状態に制御されることになる。   FIG. 48 is a flowchart showing an example of the payout side reception process executed in step S533 shown in FIG. When the payout side reception process is started, the payout control microcomputer 150 first determines, for example, whether the main board communication error flag is on (step S601). When the main board communication error flag is on in step S601 (step S601; Yes), the payout side reception process is terminated as it is. Accordingly, when an error relating to communication with the main board 11 occurs in the payout control board 15, the receiving control command transmitted from the main board 11 is controlled to be stopped.

他方、ステップS601にて主基板通信エラーフラグがオフであるときには(ステップS601;No)、例えば払出制御カウンタ設定部143に設けられたコマンド受信個数カウンタの値が「0」以外であるか否かをCPU214が判定することなどにより、受信コマンドがあるか否かを判定する(ステップS602)。このとき、受信コマンドがない旨の判定がなされると(ステップS602;No)、払出側受信処理を終了する。   On the other hand, when the main board communication error flag is OFF in step S601 (step S601; No), for example, whether the value of the command reception number counter provided in the payout control counter setting unit 143 is other than “0” or not. The CPU 214 determines whether or not there is a received command (step S602). At this time, if it is determined that there is no reception command (step S602; No), the payout side reception process is terminated.

ステップS602にて受信コマンドがある旨の判定がなされたときには(ステップS602;Yes)、払出制御バッファ設定部144に設けられた受信コマンドバッファのうちでコマンド受信個数カウンタの値に対応したものから格納データを読出し(ステップS603)、コマンド受信個数カウンタの値を、例えばステップS603にて読出した格納データの個数だけ減算するなどして更新する(ステップS604)。続いて、ステップS603にて読出した受信コマンドが主基板11から送信される適正なコマンドであるか否かのチェックを行う(ステップS605)。具体的な一例として、受信コマンドの1バイト目と2バイト目との排他的論理和を演算し、算出された演算結果が正常値となっているか否かを判定することで、受信コマンドが適正なコマンドであるか否かをチェックすることができる。この実施の形態では、主基板11から払出制御基板15に対して送信されるコマンドは、1バイト目を反転させることで2バイト目となるように構成されていることから、受信コマンドの1バイト目と2バイト目との排他的論理和を演算した結果、全ビット値が“1”となれば、受信コマンドが適正なコマンドであると判断することができる。   When it is determined in step S602 that there is a received command (step S602; Yes), the received command buffers provided in the payout control buffer setting unit 144 are stored from the one corresponding to the value of the command reception number counter. Data is read (step S603), and the value of the command reception number counter is updated by subtracting, for example, the number of stored data read in step S603 (step S604). Subsequently, it is checked whether or not the received command read in step S603 is an appropriate command transmitted from the main board 11 (step S605). As a specific example, the exclusive command of the first byte and the second byte of the received command is calculated, and it is determined whether the calculated result is a normal value. It is possible to check whether the command is correct. In this embodiment, since the command transmitted from the main board 11 to the payout control board 15 is configured to be the second byte by inverting the first byte, one byte of the received command. As a result of calculating the exclusive OR of the first and second bytes, if all the bit values are “1”, it can be determined that the received command is an appropriate command.

ステップS605におけるチェックの結果、受信コマンドが適正なコマンドではないと判定されたときには(ステップS605;No)、主基板通信エラーフラグをオン状態にセットして(ステップS606)、払出側受信処理を終了する。これに対して、ステップS605におけるチェックの結果、受信コマンドが適正なコマンドであると判定されたときには(ステップS605;Yes)、その受信コマンドは払出数指定コマンドであるか否かを判定する(ステップS607)。そして、受信コマンドが払出数指定コマンドであるときには(ステップS607;Yes)、そのコマンドによって指定された賞球の払出数を賞球未払出カウンタの値に加算して格納する(ステップS608)。これにより、賞球未払出カウンタには、払出数指定コマンドに示された遊技媒体の払出数が累積的に記憶されることになる。ステップS608の処理を実行したときには、払出制御フラグ設定部141に設けられた賞球ACK送信フラグをオン状態にセットして(ステップS609)、払出制御カウンタ設定部143に設けられた払出動作不良回数カウンタに所定のカウント初期値(例えば「0」)を設定する(ステップS610)。   As a result of the check in step S605, when it is determined that the received command is not an appropriate command (step S605; No), the main board communication error flag is set to the on state (step S606), and the payout side receiving process is terminated. To do. On the other hand, when it is determined that the received command is an appropriate command as a result of the check in step S605 (step S605; Yes), it is determined whether or not the received command is a payout number designation command (step S605). S607). If the received command is a payout number designation command (step S607; Yes), the award ball payout number designated by the command is added to the value of the prize ball unpaid counter and stored (step S608). As a result, the number of game media payouts indicated in the payout number designation command is cumulatively stored in the award ball non-payout counter. When the processing of step S608 is executed, the prize ball ACK transmission flag provided in the payout control flag setting unit 141 is set to an on state (step S609), and the number of payout operation failures provided in the payout control counter setting unit 143 is set. A predetermined initial count value (eg, “0”) is set in the counter (step S610).

ステップS607にて受信コマンドが払出数指定コマンドではないと判定したときには(ステップS607;No)、受信コマンドはACKフィードバックコマンドであるか否かを判定する(ステップS611)。そして、受信コマンドがACKフィードバックコマンドであるときには(ステップS611;Yes)、払出制御フラグ設定部141に設けられたフィードバック受信フラグをオン状態にセットする(ステップS612)。ステップS611にて受信コマンドがACKフィードバックコマンドではないと判定されたときには(ステップS611;No)、受信したコマンドの種類に対応するコマンド受信フラグをオン状態にセットすればよい(ステップS613)。   If it is determined in step S607 that the received command is not a payout number designation command (step S607; No), it is determined whether the received command is an ACK feedback command (step S611). When the received command is an ACK feedback command (step S611; Yes), the feedback reception flag provided in the payout control flag setting unit 141 is set to an on state (step S612). When it is determined in step S611 that the received command is not an ACK feedback command (step S611; No), a command reception flag corresponding to the type of the received command may be set to an on state (step S613).

図49は、図47に示すステップS534にて実行される賞球受信確認処理の一例を示すフローチャートである。この賞球受信確認処理を開始すると、払出制御用マイクロコンピュータ150では、まず、主基板通信エラーフラグがオンとなっているか否かを、例えばCPU214が判定する(ステップS631)。ステップS631にて主基板通信エラーフラグがオンであるときには(ステップS631;Yes)、そのまま賞球受信確認処理を終了する。   FIG. 49 is a flowchart showing an example of the winning ball reception confirmation process executed in step S534 shown in FIG. When the winning ball reception confirmation process is started, for example, the CPU 214 determines whether or not the main board communication error flag is turned on in the payout control microcomputer 150 (step S631). When the main board communication error flag is ON in step S631 (step S631; Yes), the prize ball reception confirmation process is ended as it is.

他方、ステップS631にて主基板通信エラーフラグがオフであるときには(ステップS631;No)、払出制御フラグ設定部141に設けられた受信確認中フラグがオンとなっているか否かを判定する(ステップS632)。ここで、受信確認中フラグは、後述するステップS637の処理が実行されたときにオン状態にセットされる一方、ステップS641、S646の処理のいずれかが実行されたときにクリアされてオフ状態となる。   On the other hand, when the main board communication error flag is off in step S631 (step S631; No), it is determined whether or not the reception confirmation flag provided in the payout control flag setting unit 141 is on (step). S632). Here, the reception confirmation in progress flag is set to the on state when the process of step S637 described later is executed, and is cleared to the off state when any of the processes of steps S641 and S646 is executed. Become.

ステップS632にて受信確認中フラグがオフであるときには(ステップS632;No)、賞球ACK送信フラグがオンとなっているか否かを判定する(ステップS633)。そして、ステップS633にて賞球ACK送信フラグがオフであるときには(ステップS633;No)、賞球受信確認処理を終了する。他方、ステップS633にて賞球ACK送信フラグがオンであるときには(ステップS633;Yes)、主基板11に対して賞球ACKコマンドを送信するための設定を行う(ステップS634)。具体的な一例として、ステップS634の処理では、ROM215に格納されている賞球ACKコマンド設定テーブルの先頭アドレスをポインタに設定し、賞球ACKコマンド設定テーブルの内容に基づいて、コマンド送信用の制御データを払出制御バッファ設定部144に設けられた送信コマンドバッファにセットする。ステップS634の処理を実行したときには、払出制御タイマ設定部142に設けられた通信制御タイマにフィードバック待機用初期値として予め定められたタイマ初期値を設定する(ステップS635)。また、このときには、賞球ACK送信フラグをクリアしてオフ状態にするとともに(ステップS636)、受信確認中フラグをオン状態にセットする(ステップS637)。   When the reception confirmation flag is off in step S632 (step S632; No), it is determined whether or not the prize ball ACK transmission flag is on (step S633). When the prize ball ACK transmission flag is OFF in step S633 (step S633; No), the prize ball reception confirmation process is terminated. On the other hand, when the prize ball ACK transmission flag is ON in step S633 (step S633; Yes), a setting for transmitting a prize ball ACK command to the main board 11 is performed (step S634). As a specific example, in the process of step S634, the start address of the prize ball ACK command setting table stored in the ROM 215 is set as a pointer, and control for command transmission is performed based on the contents of the prize ball ACK command setting table. Data is set in a transmission command buffer provided in the payout control buffer setting unit 144. When the process of step S634 is executed, a timer initial value set in advance as a feedback standby initial value is set in the communication control timer provided in the payout control timer setting unit 142 (step S635). At this time, the winning ball ACK transmission flag is cleared and turned off (step S636), and the reception confirmation flag is set on (step S637).

また、ステップS632にて受信確認中フラグがオンであるときには(ステップS632;Yes)、フィードバック受信フラグがオンとなっているか否かを判定する(ステップS638)。そして、フィードバック受信フラグがオンであるときには(ステップS638;Yes)、フィードバック受信フラグをクリアしてオフ状態にするとともに(ステップS639)、通信制御タイマを初期化し(ステップS640)、受信確認中フラグをクリアしてオフ状態とする(ステップS641)。   If the reception confirmation flag is on in step S632 (step S632; Yes), it is determined whether the feedback reception flag is on (step S638). When the feedback reception flag is on (step S638; Yes), the feedback reception flag is cleared and turned off (step S639), the communication control timer is initialized (step S640), and the reception confirmation flag is set. Clear and turn off (step S641).

ステップS638にてフィードバック受信フラグがオフであるときには(ステップS638;No)、通信制御タイマの値を、例えば1減算するなどして更新する(ステップS642)。そして、例えばステップS642での更新により通信制御タイマがタイムアウトしたか否かを判定することなどにより、フィードバック待機時間が経過したか否かを判定する(ステップS643)。このとき、フィードバック待機時間が経過していなければ(ステップS643;No)、賞球受信確認処理を終了する。他方、ステップS643にてフィードバック待機時間が経過しているときには(ステップS643;Yes)、主基板通信エラーフラグをオン状態にセットするとともに(ステップS644)、主基板11から受信した払出数指定コマンドが無効であると判断して、その払出数指定コマンドで示された払出数を賞球未払出カウンタから減算する(ステップS645)。すなわち、ステップS645の処理では、図48に示すステップS608にて賞球未払出カウンタの値に加算した払出数を、賞球未払出カウンタの値から減算して格納する。また、このときには、受信確認中フラグをクリアしてオフ状態とする(ステップS646)。   When the feedback reception flag is OFF in step S638 (step S638; No), the value of the communication control timer is updated by, for example, subtracting 1 (step S642). Then, for example, it is determined whether or not the feedback waiting time has elapsed by determining whether or not the communication control timer has timed out due to the update in step S642 (step S643). At this time, if the feedback waiting time has not elapsed (step S643; No), the winning ball reception confirmation process is terminated. On the other hand, when the feedback standby time has elapsed in step S643 (step S643; Yes), the main board communication error flag is set to the on state (step S644), and the payout number designation command received from the main board 11 is received. It is determined that it is invalid, and the number of payouts indicated by the payout number designation command is subtracted from the winning ball non-payout counter (step S645). That is, in the process of step S645, the number of payouts added to the value of the prize ball unpaid counter in step S608 shown in FIG. 48 is subtracted from the value of the prize ball unpaid counter and stored. At this time, the reception confirmation flag is cleared and turned off (step S646).

図50は、図47に示すステップS535にて実行される払出動作制御処理の一例を示すフローチャートである。図50に示す払出動作制御処理を開始すると、払出制御用マイクロコンピュータ150では、まず、例えばCPU214が未払出の賞球個数に関する記憶に異常が発生したか否かを判定するための払出数記憶異常判定処理を実行する(ステップS661)。ステップS661にて払出数記憶異常判定処理を実行した後には、払出制御フラグ設定部141に設けられた払出制御プロセスフラグの値に応じて、図50に示すようなステップS662〜S664の各処理を実行する。ここで、ステップS662の払出制御通常処理は、払出制御プロセスフラグの値が“0”のときに実行される。ステップS663の賞球払出動作処理は、払出制御プロセスフラグの値が“1”のときに実行される。ステップS664の球貸し払出動作処理は、払出制御プロセスフラグの値が“2”のときに実行される。   FIG. 50 is a flowchart showing an example of the payout operation control process executed in step S535 shown in FIG. When the payout operation control process shown in FIG. 50 is started, the payout control microcomputer 150 first, for example, the payout number storage abnormality for the CPU 214 to determine whether or not an abnormality has occurred in the memory regarding the number of unpaid prize balls. A determination process is executed (step S661). After executing the payout number storage abnormality determination process in step S661, the processes in steps S662 to S664 as shown in FIG. 50 are performed according to the value of the payout control process flag provided in the payout control flag setting unit 141. Execute. Here, the payout control normal process in step S662 is executed when the value of the payout control process flag is “0”. The prize ball payout operation processing in step S663 is executed when the value of the payout control process flag is “1”. The ball lending payout operation process in step S664 is executed when the value of the payout control process flag is “2”.

図51は、図50に示すステップS661にて実行される払出数記憶異常判定処理の一例を示すフローチャートである。この払出数記憶異常判定処理では、まず、賞球未払出カウンタに格納されているカウント値における増加分を特定する(ステップS701)。例えば、ステップS701の処理では、前回未払出カウンタの値と、賞球未払出カウンタの値との差分をとることにより、カウント値における増加分を特定することができる。   FIG. 51 is a flowchart showing an example of the payout amount storage abnormality determination process executed in step S661 shown in FIG. In this payout number storage abnormality determination process, first, an increment in the count value stored in the prize ball non-payout counter is specified (step S701). For example, in the process of step S701, the increment in the count value can be specified by taking the difference between the value of the previous unpaid counter and the value of the prize ball unpaid counter.

続いて、ステップS701にて特定したカウント値の増加分が、所定の賞球増加上限値以下となっているか否かを判定する(ステップS702)。この実施の形態では、主基板11から払出制御基板15に対して送信される払出制御コマンドにより指定される払出数の最大値は、図10(C)に示す第1払出数指定コマンドによって指定される「15」となっている。そして、払出制御用マイクロコンピュータ150にてタイマ割込みがあったと判定されたときには、図47に示すステップS533の払出側受信処理が1回実行される。他方、前回未払出カウンタの値は、後述する図54に示すステップS815の処理や、図56に示すステップS845の処理が実行されたときに、賞球未払出カウンタの値と同一の値に設定される。そこで、ステップS702にてカウント値の増加分が賞球増加上限値として予め定めた所定値を超えていると判定したときには(ステップS702;No)、賞球未払出カウンタにおけるカウント値が異常に増加したため、その値は無効であると判断して、賞球未払出カウンタをクリアしてカウント値を初期化する(ステップS703)。あるいは、ステップS703の処理では、例えば前回未払出カウンタの値を賞球未払出カウンタにセットすることなどにより、異常に増加したカウント値に相当する部分だけ無効とするようにしてもよい。この場合には、例えば賞球未払出カウンタの記憶データに誤りが発生したときなどに、必要以上に未払出の遊技球数を無効にしてしまい遊技者が不利益を受けることを防止できる。   Subsequently, it is determined whether or not the increment of the count value specified in step S701 is equal to or less than a predetermined prize ball increase upper limit (step S702). In this embodiment, the maximum value of the number of payouts specified by the payout control command transmitted from the main board 11 to the payout control board 15 is specified by the first payout number specifying command shown in FIG. “15”. When it is determined by the payout control microcomputer 150 that there has been a timer interruption, the payout side reception process in step S533 shown in FIG. 47 is executed once. On the other hand, the value of the previous unpaid counter is set to the same value as the value of the unpaid prize ball counter when the process of step S815 shown in FIG. 54 described later or the process of step S845 shown in FIG. 56 is executed. Is done. Therefore, when it is determined in step S702 that the increment of the count value exceeds a predetermined value that is predetermined as the award ball increase upper limit (step S702; No), the count value in the award ball unpaid counter abnormally increases. Therefore, it is determined that the value is invalid, the prize ball unpaid counter is cleared, and the count value is initialized (step S703). Alternatively, in the process of step S703, only the portion corresponding to the abnormally increased count value may be invalidated, for example, by setting the value of the previously unpaid counter in the prize ball unpaid counter. In this case, for example, when an error occurs in the data stored in the award ball unpaid counter, it is possible to prevent the player from being disadvantaged by invalidating the number of unpaid game balls more than necessary.

ステップS702にてカウント値の増加分が賞球増加上限値以下であるときには(ステップS702;Yes)、払出制御カウンタ設定部143に設けられた球貸し未払出カウンタに格納されているカウント値における増加分を特定する(ステップS704)。そして、ステップS704にて特定したカウント値の増加分が、所定の球貸し増加上限値(例えば「25」)以下となっているか否かを判定する(ステップS705)。このとき、カウント値の増加分が球貸し増加上限値を超えていれば(ステップS705;No)、球貸し未払出カウンタにおけるカウント値が異常に増加したため、その値は無効であると判断して、球貸し未払出カウンタをクリアしてカウント値を初期化する(ステップS706)。   When the increment of the count value is less than or equal to the upper limit value of the prize ball in step S702 (step S702; Yes), the increment in the count value stored in the ball lending unpaid counter provided in the payout control counter setting unit 143 Minutes are specified (step S704). Then, it is determined whether or not the increment of the count value specified in step S704 is equal to or less than a predetermined ball lending increase upper limit (eg, “25”) (step S705). At this time, if the increment of the count value exceeds the ball lending increase upper limit (step S705; No), it is determined that the value is invalid because the count value in the ball lending unpaid counter has increased abnormally. The ball lending unpaid counter is cleared and the count value is initialized (step S706).

ステップS705にてカウント値の増加分が球貸し増加上限値以下であるときや(ステップS705;Yes)、ステップS703、S706のいずれかの処理を実行した後には、賞球未払出カウンタの値が予め定められた多量未払出上限値(例えば「50」)未満であるか否かを判定する(ステップS707)。このとき、多量未払出上限値未満であると判定されれば(ステップS707;Yes)、払出制御フラグ設定部141に設けられた多量未払出エラーフラグをクリアしてオフ状態とする(ステップS708)。これに対して、多量未払出上限値以上であるときには(ステップS707;No)、多量未払出エラーフラグをオン状態にセットする(ステップS709)。   When the increment of the count value is equal to or less than the ball lending increase upper limit value in step S705 (step S705; Yes), or after executing any one of steps S703 and S706, the value of the winning ball unpaid counter is It is determined whether or not it is less than a predetermined large amount unpaid upper limit value (eg, “50”) (step S707). At this time, if it is determined that it is less than the large amount unpaid upper limit (step S707; Yes), the large amount unpaid error flag provided in the payout control flag setting unit 141 is cleared and turned off (step S708). . On the other hand, when it is not less than the large amount unpaid upper limit (step S707; No), the large amount unpaid error flag is set to the on state (step S709).

図52は、図50に示すステップS662にて実行される払出制御通常処理の一例を示すフローチャートである。この払出制御通常処理を開始すると、払出制御用マイクロコンピュータ150では、まず、主基板通信エラーフラグがオンとなっているか否かを、例えばCPU214が判定する(ステップS721)。そして、ステップS721にて主基板通信エラーフラグがオンであるときには(ステップS721;Yes)、そのまま払出制御通常処理を終了する。これにより、払出制御基板15にて主基板11との間での通信に関するエラーが発生しているときには、賞球や貸し球となる遊技球の払出制御を停止する状態に制御されることになる。   FIG. 52 is a flowchart showing an example of the payout control normal process executed in step S662 shown in FIG. When this payout control normal process is started, in the payout control microcomputer 150, for example, the CPU 214 first determines whether or not the main board communication error flag is on (step S721). When the main board communication error flag is on in step S721 (step S721; Yes), the payout control normal process is terminated as it is. As a result, when an error relating to communication with the main board 11 occurs in the payout control board 15, the payout control of the game ball that becomes a prize ball or a rental ball is controlled to stop. .

他方、ステップS721にて主基板通信エラーフラグがオフであるときには(ステップS721;No)、賞球未払出カウンタの値が「0」以外の値となっているか否かを判定する(ステップS722)。このとき、賞球未払出カウンタの値が「0」以外の値であれば(ステップS722;Yes)、例えば主基板11からの所定コマンド(例えば球切れ通知コマンドなど)を受信したか否かをチェックすることなどにより、球切れ状態となっているか否かを判定する(ステップS723)。そして、球切れ状態となっているときには(ステップS723;Yes)、払出制御通常処理を終了する。これに対して、ステップS723にて球切れ状態ではない場合には(ステップS723;No)、払出制御プロセスフラグの値を賞球払出動作処理に対応した値である“1”に更新する(ステップS724)。   On the other hand, when the main board communication error flag is OFF in step S721 (step S721; No), it is determined whether or not the value of the winning ball unpaid counter is a value other than “0” (step S722). . At this time, if the value of the award ball unpaid counter is a value other than “0” (step S722; Yes), for example, it is determined whether or not a predetermined command (for example, a ball break notification command) from the main board 11 has been received. By checking or the like, it is determined whether or not the ball is in a broken state (step S723). When the ball is out of play (step S723; Yes), the payout control normal process is terminated. On the other hand, if the ball is not out of state in step S723 (step S723; No), the value of the payout control process flag is updated to “1” which is a value corresponding to the prize ball payout operation process (step S723). S724).

また、ステップS722にて賞球未払出カウンタの値が「0」であるときには(ステップS722;No)、カードユニット70から伝送されるBRDY信号がオン状態となっているか否かを判定する(ステップS725)。このとき、BRDY信号がオフ状態であれば(ステップS725;No)、払出制御通常処理を終了する。これに対して、ステップS725にてBRDY信号がオン状態であるときには(ステップS725;Yes)、カードユニット70から伝送される球貸し要求信号(BRQ信号)がオン状態となっているか否かを判定する(ステップS726)。そして、球貸し要求信号がオフ状態であるときには(ステップS726;No)、払出制御通常処理を終了する。   Further, when the value of the winning ball non-payout counter is “0” in step S722 (step S722; No), it is determined whether or not the BRDY signal transmitted from the card unit 70 is in an on state (step S722). S725). At this time, if the BRDY signal is in an OFF state (step S725; No), the payout control normal process is terminated. On the other hand, when the BRDY signal is in the on state in step S725 (step S725; Yes), it is determined whether or not the ball lending request signal (BRQ signal) transmitted from the card unit 70 is in the on state. (Step S726). When the ball lending request signal is in the off state (step S726; No), the payout control normal process is terminated.

ステップS726にて球貸し要求信号がオン状態であるときには(ステップS726;Yes)、例えば主基板11からの所定コマンド(例えば球切れ通知コマンドなど)を受信したか否かや払出制御フラグ設定部141に設けられたカードユニット未接続エラーフラグをチェックすることなどにより、球貸し可能な状態となっているか否かを判定する(ステップS727)。そして、例えば球切れ通知コマンドを受信したことやカードユニット未接続エラーフラグがオン状態となっていることなどにより、球貸し可能な状態ではないと判定されたときには(ステップS727;No)、払出制御通常処理を終了する。これに対して、ステップS727にて球貸し可能な状態となっているときには(ステップS727;Yes)、球貸し未払出カウンタに球貸し用初期値として予め定められたカウント初期値(例えば「25」)を設定する(ステップS728)。そして、払出制御プロセスフラグの値を球貸し払出動作処理に対応した値である“2”に更新する(ステップS729)。   When the ball lending request signal is on in step S726 (step S726; Yes), for example, whether a predetermined command (for example, a ball break notification command) from the main board 11 has been received or the payout control flag setting unit 141 It is determined whether or not it is possible to lend the ball, for example, by checking a card unit unconnected error flag provided in (Step S727). When it is determined that the ball lending is not possible due to, for example, receiving a ball-out notification command or because the card unit unconnected error flag is on (step S727; No), payout control is performed. Normal processing ends. On the other hand, when it is possible to lend a ball in step S727 (step S727; Yes), a count initial value (for example, “25”) determined in advance as a ball lending initial value in the ball lending unpaid counter. ) Is set (step S728). Then, the value of the payout control process flag is updated to “2” which is a value corresponding to the ball lending payout operation process (step S729).

図53は、図50に示すステップS663にて実行される賞球払出動作処理の一例を示すフローチャートである。この賞球払出動作処理を開始すると、払出制御用マイクロコンピュータ150では、まず、例えばCPU214が図47に示すステップS531における入出力処理の実行結果に基づき、払出カウントスイッチ72からの検出信号がオン状態となっているか否かを判定する(ステップS741)。そして、払出カウントスイッチ72からの検出信号がオン状態であるときには(ステップS741;Yes)、払出制御カウンタ設定部143に設けられた払出個数カウンタの値を1加算する(ステップS742)。これに対して、ステップS741にて払出カウントスイッチ72からの検出信号がオフ状態であるときには(ステップS741;No)、ステップS742の処理をスキップする。この後、払出制御フラグ設定部141に設けられた賞球払出動作プロセスフラグの値に応じて、図53に示すステップS743、S744の処理のいずれかを選択して実行する。ここで、ステップS743の賞球払出回数算出処理は、賞球払出動作プロセスフラグの値が“0”のときに実行される。ステップS744の賞球払出駆動処理は、賞球払出動作プロセスフラグの値が“1”のときに実行される。   FIG. 53 is a flowchart showing an example of a prize ball payout operation process executed in step S663 shown in FIG. When the winning ball payout operation process is started, in the payout control microcomputer 150, first, for example, the CPU 214 detects that the detection signal from the payout count switch 72 is in the ON state based on the execution result of the input / output process in step S531 shown in FIG. It is determined whether or not (step S741). When the detection signal from the payout count switch 72 is on (step S741; Yes), the value of the payout number counter provided in the payout control counter setting unit 143 is incremented by 1 (step S742). On the other hand, when the detection signal from the payout count switch 72 is OFF in step S741 (step S741; No), the process of step S742 is skipped. Thereafter, according to the value of the prize ball payout operation process flag provided in the payout control flag setting unit 141, one of the processes of steps S743 and S744 shown in FIG. 53 is selected and executed. Here, the prize ball payout number calculation process in step S743 is executed when the value of the prize ball payout operation process flag is “0”. The prize ball payout driving process in step S744 is executed when the value of the prize ball payout operation process flag is “1”.

図54は、図53に示すステップS743にて実行される賞球払出回数算出処理の一例を示すフローチャートである。この賞球払出回数算出処理を開始すると、払出制御用マイクロコンピュータ150では、まず、主基板通信エラーフラグがオンとなっているか否かを、例えばCPU214が判定する(ステップS801)。そして、ステップS801にて主基板通信エラーフラグがオンであるときには(ステップS801;Yes)、そのまま賞球払出回数算出処理を終了する。これにより、払出制御基板15にて主基板11との間での通信に関するエラーが発生しているときには、未払出の賞球となる遊技球の払出制御を停止する状態に制御されることになる。   FIG. 54 is a flowchart showing an example of a prize ball payout number calculation process executed in step S743 shown in FIG. When the winning ball payout number calculation process is started, the payout control microcomputer 150 first determines, for example, whether the main board communication error flag is on (step S801). If the main board communication error flag is ON in step S801 (step S801; Yes), the award ball payout number calculation process is terminated as it is. As a result, when an error relating to communication with the main board 11 occurs in the payout control board 15, the payout control of the game balls that are unpaid prize balls is controlled to stop. .

他方、ステップS801にて主基板通信エラーフラグがオフであるときには(ステップS801;No)、賞球未払出カウンタの値が払出個数カウンタの値よりも大きな値となっているか否かを判定する(ステップS802)。ここで、ステップS802にて賞球未払出カウンタの値が払出個数カウンタの値と等しいか、それよりも小さな値となっているときには(ステップS802;No)、賞球未払出カウンタの値に対応した遊技球の払出動作が完了したと判断される。このときには、払出制御カウンタ設定部143に設けられた払出動作不良回数カウンタをクリアしてカウント値を初期化するとともに(ステップS803)、賞球未払出カウンタをクリアしてカウント値を初期化する(ステップS804)。   On the other hand, when the main board communication error flag is OFF in step S801 (step S801; No), it is determined whether or not the value of the award ball non-payout counter is larger than the value of the payout number counter ( Step S802). Here, when the value of the prize ball non-payout counter is equal to or smaller than the value of the number-of-payout counter in step S802 (step S802; No), it corresponds to the value of the prize ball non-payout counter. It is determined that the game ball payout operation has been completed. At this time, the payout operation failure frequency counter provided in the payout control counter setting unit 143 is cleared to initialize the count value (step S803), and the award ball non-payout counter is cleared to initialize the count value ( Step S804).

ステップS802にて賞球未払出カウンタの値が払出個数カウンタの値よりも大きな値となっているときには(ステップS802;Yes)、賞球未払出カウンタによってカウントされている遊技球個数のうちに、未だ払出動作が完了していないものが含まれていると判断される。そこで、賞球未払出カウンタの値である未払出数から、払出個数カウンタの値である払出個数を減算することにより、未だ払出動作が完了していない遊技球の個数を特定する(ステップS805)。続いて、ステップS805での減算処理により特定された値としての減算値を、払出制御カウンタ設定部143に設けられた払出モータ回転カウンタにセットする(ステップS806)。   If the value of the award ball non-payout counter is larger than the value of the payout number counter in step S802 (step S802; Yes), the number of game balls counted by the award ball non-payout counter is It is determined that the payout operation has not been completed yet. Therefore, the number of game balls that have not yet been paid out is identified by subtracting the number of payouts that is the value of the payout number counter from the number of payouts that is the value of the award ball unpaid counter (step S805). . Subsequently, the subtraction value as the value specified by the subtraction process in step S805 is set in the payout motor rotation counter provided in the payout control counter setting unit 143 (step S806).

ステップS806の処理に続いて、払出動作不良回数カウンタの値が所定の不良回数上限値(例えば「9」)を超えているか否かを判定する(ステップS807)。このとき、不良回数上限値を超えていれば(ステップS807;Yes)、払出制御フラグ設定部141に設けられた球詰まりエラーフラグをオン状態にセットするとともに(ステップS808)、払出動作不良回数カウンタをクリアしてカウント値を初期化する(ステップS809)。他方、ステップS807にて不良回数上限値以下であるときには(ステップS807;No)、賞球となる遊技球の払出動作が可能な状態となっているか否かを判定する(ステップS810)。具体的な一例として、ステップS810の処理では、球詰まりエラーフラグや空切りエラーフラグ、球噛みエラーフラグなどをチェックして、いずれかのエラーフラグがオン状態となっているときには、賞球となる遊技球の払出動作が不可能な状態であると判断する。他方、いずれのエラーフラグもオフ状態となっているときには、賞球となる遊技球の払出動作が可能な状態であると判断する。   Following the processing in step S806, it is determined whether or not the value of the payout operation failure frequency counter exceeds a predetermined failure frequency upper limit (eg, “9”) (step S807). At this time, if the upper limit value of the number of failures is exceeded (step S807; Yes), the ball clogging error flag provided in the payout control flag setting unit 141 is set to the on state (step S808), and the payout operation failure frequency counter Is cleared and the count value is initialized (step S809). On the other hand, if it is equal to or less than the upper limit value of the number of defects in step S807 (step S807; No), it is determined whether or not a game ball payout operation as a prize ball is possible (step S810). As a specific example, in the process of step S810, a ball clogging error flag, a blanking error flag, a ball biting error flag, etc. are checked, and if any of the error flags is on, a winning ball is obtained. It is determined that the game ball payout operation is impossible. On the other hand, when any of the error flags is in the off state, it is determined that the game ball as a prize ball can be paid out.

ステップS804の処理を実行した後や、ステップS810にて払出動作が不可能な状態であるときには(ステップS810;No)、払出制御プロセスフラグの値を“0”に更新するとともに(ステップS811)、払出個数カウンタをクリアしてカウント値を初期化する(ステップS812)。また、払出モータ回転カウンタをクリアしてカウント値を初期化する(ステップS813)。これに対して、ステップS810にて払出動作が可能な状態であるときには(ステップS810;Yes)、ステップS805にて得られた減算値を賞球未払出カウンタにセットすることにより、賞球未払出カウンタの値を更新する(ステップS814)。また、ステップS805にて得られた減算値を前回未払出カウンタにセットすることにより、前回未払出カウンタの値を更新する(ステップS815)。このステップS815の処理が実行されることにより、ステップS806にて払出モータ回転カウンタに払出動作量を示すカウント値が記憶されたことを条件に、賞球未払出カウンタの値と同一の値が前回未払出カウンタにもセットされることになる。ステップS815の処理を実行した後には、賞球払出動作プロセスフラグの値を賞球払出駆動処理に対応した値である“1”に更新する(ステップS816)。   After executing the process of step S804 or when the payout operation is impossible in step S810 (step S810; No), the value of the payout control process flag is updated to “0” (step S811). The payout number counter is cleared and the count value is initialized (step S812). Further, the payout motor rotation counter is cleared and the count value is initialized (step S813). On the other hand, when the payout operation is possible in step S810 (step S810; Yes), the winning ball is not paid out by setting the subtraction value obtained in step S805 in the winning ball non-payout counter. The counter value is updated (step S814). Further, the value of the previous unpaid counter is updated by setting the subtraction value obtained in step S805 in the previous unpaid counter (step S815). By executing the processing of step S815, the same value as the value of the award ball non-payout counter is set to the previous value on condition that the count value indicating the payout operation amount is stored in the payout motor rotation counter in step S806. It will also be set in the unpaid counter. After executing the process of step S815, the value of the prize ball payout operation process flag is updated to “1” which is a value corresponding to the prize ball payout driving process (step S816).

図55及び図56は、図53に示すステップS744にて実行される賞球払出駆動処理の一例を示すフローチャートである。この賞球払出駆動処理を開始すると、払出制御用マイクロコンピュータ150では、まず、主基板通信エラーフラグがオンとなっているか否かを、例えばCPU214が判定する(図55に示すステップS821)。ステップS821にて主基板通信エラーフラグがオフであるときには(ステップS821;No)、賞球未払出カウンタの値が払出個数カウンタの値よりも大きな値となっているか否かを判定する(ステップS822)。ここで、ステップS822にて賞球未払出カウンタの値が払出個数カウンタの値よりも大きな値となっているときには(ステップS822;Yes)、賞球となる遊技球の正常な払出動作が行われていると判断される。このときには、例えば払出制御タイマ設定部142に設けられた払出動作制御タイマによる経過時間の計測が行われているか否か(タイマ値が「0」以外であるか否か)を判定することなどにより、賞球払出動作の完了を待機中であるか否かを判定する(ステップS823)。   55 and 56 are flowcharts showing an example of the prize-ball payout driving process executed in step S744 shown in FIG. When the winning ball payout driving process is started, for example, the CPU 214 determines whether or not the main board communication error flag is on in the payout control microcomputer 150 (step S821 shown in FIG. 55). When the main board communication error flag is OFF in step S821 (step S821; No), it is determined whether or not the value of the award ball non-payout counter is larger than the value of the payout number counter (step S822). ). Here, when the value of the award ball non-payout counter is larger than the value of the number-of-payout counter in step S822 (step S822; Yes), a normal payout operation of the game ball serving as a prize ball is performed. It is judged that At this time, for example, by determining whether or not the elapsed time is measured by the payout operation control timer provided in the payout control timer setting unit 142 (whether or not the timer value is other than “0”). Then, it is determined whether or not the completion of the winning ball payout operation is on standby (step S823).

ステップS823にて賞球払出動作の待機中ではない旨の判定がなされたときには(ステップS823;No)、例えば払出モータ51の励磁時間あるいは払出モータ位置センサ71による検出結果などから、賞球となる遊技球を1個分払い出すための払出動作中であるか否かを判定する(ステップS824)。そして、遊技球を1個分払い出すための払出動作中ではないときには(ステップS824;No)、払出モータ回転カウンタの値が「0」であるか否かを判定する(ステップS825)。ステップS825にて払出モータ回転カウンタの値が「0」であるときには(ステップS825;Yes)、払出モータ51の駆動を停止するための設定を行うとともに(ステップS826)、払出動作制御タイマに払出完了待ち初期値として予め定められたタイマ初期値をセットして(ステップS827)、賞球払出駆動処理を終了する。なお、払出完了待ち初期値は、払出モータ51を駆動することによる遊技球の払出動作を行ってから、払出カウントスイッチ72により遊技球の払出が検出されるまでに要する最大時間に対応して予め定められたタイマ初期値であればよい。   When it is determined in step S823 that the award ball payout operation is not in a standby state (step S823; No), the winning ball is determined based on, for example, the excitation time of the payout motor 51 or the detection result by the payout motor position sensor 71. It is determined whether or not a payout operation for paying out one game ball is in progress (step S824). When the payout operation for paying out one game ball is not in progress (step S824; No), it is determined whether or not the value of the payout motor rotation counter is “0” (step S825). When the value of the payout motor rotation counter is “0” in step S825 (step S825; Yes), setting is made to stop driving of the payout motor 51 (step S826), and payout is completed in the payout operation control timer. A predetermined timer initial value is set as the waiting initial value (step S827), and the winning ball payout driving process is terminated. The payout completion waiting initial value corresponds in advance to the maximum time required for the game ball payout to be detected by the payout count switch 72 after the game ball payout operation is performed by driving the payout motor 51. Any predetermined timer initial value may be used.

ステップS825にて払出モータ回転カウンタの値が「0」以外の値であるときには(ステップS825;No)、例えば所定の励磁パターンテーブルの先頭アドレスをポインタに設定するなどといった、遊技球を1個分払い出すための払出動作に関する設定を行う(ステップS828)。このときには、払出モータ回数カウンタの値を1減算することにより更新する(ステップS829)。このように、ステップS825にて払出モータ回転カウンタの値が「0」以外の値であるときにステップS828にて払出動作に関する設定が行われることから、払出モータ回転カウンタに「0」以外の値を設定することにより、実際に遊技球の払出動作が実行されることになる。   When the value of the payout motor rotation counter is a value other than “0” in step S825 (step S825; No), for example, one game ball is set such that the start address of a predetermined excitation pattern table is set as a pointer. Settings relating to a payout operation for payout are performed (step S828). At this time, the value of the payout motor number counter is updated by subtracting 1 (step S829). Thus, since the setting relating to the payout operation is performed in step S828 when the value of the payout motor rotation counter is a value other than “0” in step S825, a value other than “0” is set in the payout motor rotation counter. By setting, a game ball payout operation is actually executed.

また、ステップS824にて遊技球を1個分払い出すための払出動作中であるときには(ステップS824;Yes)、例えば払出制御フラグ設定部141に設けられた各種のエラーフラグの状態を確認することなどにより、払出モータ51による払出動作にエラーが発生したかどうかをチェックする(ステップS830)。このとき、払出動作にエラーが発生していれば(ステップS830;No)、例えばステップS826と同様にして払出モータ51の駆動を停止するための設定を行うなど、払出モータ51による払出動作中に発生したエラーに対応した設定を行う(ステップS831)。   Further, when the payout operation for paying out one game ball is being performed in step S824 (step S824; Yes), for example, the state of various error flags provided in the payout control flag setting unit 141 is confirmed. Thus, it is checked whether or not an error has occurred in the payout operation by the payout motor 51 (step S830). At this time, if an error has occurred in the payout operation (step S830; No), for example, a setting for stopping the drive of the payout motor 51 is performed in the same manner as in step S826. Settings corresponding to the generated error are made (step S831).

ステップS823にて賞球払出動作の完了を待機中である旨の判定がなされたときには(ステップS823;Yes)、払出動作制御タイマの値を、例えば1減算するなどして更新する(ステップS832)。続いて、払出個数カウンタの値が賞球未払出カウンタの値に達しているか否かを判定する(ステップS833)。このとき、払出個数カウンタの値が賞球未払出カウンタの値に達していなければ(ステップS833;No)、例えばステップS832での更新により払出動作制御タイマがタイムアウトしたか否かを判定することなどにより、払出完了待ち時間が経過したか否かを判定する(ステップS834)。このとき、払出完了待ち時間が経過していれば(ステップS834;Yes)、払出モータ51を駆動することにより既に払い出された遊技球として払出個数カウンタでカウントされた遊技球の個数が、払い出すべき賞球として賞球未払出カウンタでカウントされた遊技球の個数に達するより以前に、賞球払出動作の完了を待機する待ち時間が経過したと判断される。そこで、払出動作不良回数カウンタの値を1加算して更新する(ステップS836)。   When it is determined in step S823 that the award ball payout operation is waiting to be completed (step S823; Yes), the value of the payout operation control timer is updated, for example, by 1 (step S832). . Subsequently, it is determined whether or not the value of the payout number counter has reached the value of the award ball non-payout counter (step S833). At this time, if the value of the payout number counter has not reached the value of the award ball non-payout counter (step S833; No), for example, it is determined whether or not the payout operation control timer has timed out due to the update in step S832. Thus, it is determined whether or not the payout completion waiting time has elapsed (step S834). At this time, if the payout completion waiting time has elapsed (step S834; Yes), the number of game balls counted by the payout number counter as game balls already paid out by driving the payout motor 51 is calculated as the payout amount counter. It is determined that the waiting time for waiting for the completion of the prize ball payout operation has passed before the number of game balls counted by the prize ball non-payout counter is reached. Therefore, the value of the payout operation failure number counter is incremented by 1 and updated (step S836).

ステップS833にて払出個数カウンタの値が賞球未払出カウンタの値に達しているときや(ステップS833;Yes)、ステップS835の処理を実行した後には、払出動作制御タイマをクリアして初期化するとともに(ステップS836)、前回未払出カウンタをクリアして初期化する(ステップS837)。その後、賞球払出制御プロセスフラグの値を“0”に更新する(ステップS838)。なお、ステップS833にて払出個数カウンタの値が賞球未払出カウンタの値に達した後、図53に示すステップS743の賞球払出回数算出処理が実行されるより前の段階で図48に示すステップS607にて払出数指定コマンドを受信した旨の判定がなされた場合には、図54に示すステップS802にて賞球未払出カウンタの値が払出個数カウンタの値よりも大きな値であると判定されることがある。この実施の形態では、図54に示すステップS807にて払出動作不良回数カウンタの値と比較される不良回数上限値を適切な値(例えば「9」)に定めておくことで、図55に示すステップS833にて払出個数カウンタの値が賞球未払出カウンタの値に達した後、図53に示すステップS743の賞球払出回数算出処理が実行されるより前の段階で払出数指定コマンドを受信した場合でも直ちにエラーと判定されることを防止しつつ、払出モータ51あるいは払出ケース17における球詰まりなどの発生による払出動作の不良を適切に検出することができる。   When the value of the payout number counter reaches the value of the award ball non-payout counter in step S833 (step S833; Yes), after executing the processing of step S835, the payout operation control timer is cleared and initialized. At the same time (step S836), the previous unpaid counter is cleared and initialized (step S837). Thereafter, the value of the winning ball payout control process flag is updated to “0” (step S838). FIG. 48 shows a stage before the execution of the prize ball payout number calculation process in step S743 shown in FIG. 53 after the value of the payout number counter reaches the value of the prize ball non-payout counter in step S833. If it is determined in step S607 that the payout number designation command has been received, it is determined in step S802 shown in FIG. 54 that the value of the award ball non-payout counter is larger than the value of the payout number counter. May be. In this embodiment, the upper limit value of the number of failures to be compared with the value of the payout operation failure number counter in step S807 shown in FIG. 54 is set to an appropriate value (for example, “9”), which is shown in FIG. After the value of the number-of-payout counter reaches the value of the award ball non-payout counter in step S833, a payout number designation command is received at a stage before the award ball payout number calculating process in step S743 shown in FIG. 53 is executed. Even in such a case, it is possible to appropriately detect a defect in the payout operation due to occurrence of a clogged ball or the like in the payout motor 51 or the payout case 17 while preventing the error from being immediately determined.

ステップS821にて主基板通信エラーフラグがオンであるときや(ステップS821;Yes)、ステップS822にて賞球未払出カウンタの値が払出個数カウンタの値と等しいか、それよりも小さな値となっているときには(ステップS822;No)、ステップS826と同様にして払出モータ51の駆動を停止するための設定を行うとともに(ステップS839)、賞球払出動作プロセスフラグの値を“0”に更新する(ステップS840)。このように、ステップS821にて主基板通信エラーフラグがオンであるときにはステップS839の処理に進んで払出モータ51の駆動を停止することにより、払出制御基板15にて主基板11との間での通信に関するエラーが発生しているときに、未払出の賞球となる遊技球の払出制御を停止する状態に制御することができる。   When the main board communication error flag is ON in step S821 (step S821; Yes), the value of the award ball non-payout counter is equal to or smaller than the value of the payout number counter in step S822. (Step S822; No), the setting for stopping the driving of the payout motor 51 is performed similarly to Step S826 (Step S839), and the value of the prize ball payout operation process flag is updated to “0”. (Step S840). As described above, when the main board communication error flag is ON in step S821, the process proceeds to step S839 to stop driving of the payout motor 51, so that the payout control board 15 is connected to the main board 11. When an error relating to communication has occurred, the payout control of game balls that are unpaid prize balls can be controlled to be stopped.

また、ステップS829の処理を実行した後や、ステップS830にて払出動作にエラーが発生していないとき(ステップS830;Yes)、あるいはステップS834にて払出完了待ち時間が経過していないときには(ステップS834;No)、賞球未払出カウンタの値と前回未払出カウンタの値とを比較する(図56に示すステップS841)。続いて、ステップS841での比較結果に基づき、賞球未払出カウンタの値が増加したか否かの判定を行う(ステップS842)。例えば、ステップS842の処理では、ステップS841での比較結果から賞球未払出カウンタの値が前回未払出カウンタの値よりも大きい値であると判断されたときに、賞球未払出カウンタの値が増加した旨の判定がなされる。ステップS842にて賞球未払出カウンタの値が増加していないときには(ステップS842;No)、賞球払出駆動処理を終了する。   Further, after executing the process of step S829, when no error has occurred in the payout operation in step S830 (step S830; Yes), or when the payout completion waiting time has not elapsed in step S834 (step S834; No), the value of the winning ball unpaid counter is compared with the value of the previous unpaid counter (step S841 shown in FIG. 56). Subsequently, based on the comparison result in step S841, it is determined whether or not the value of the prize ball non-payout counter has increased (step S842). For example, in the process of step S842, when it is determined from the comparison result in step S841 that the value of the winning ball unpaid counter is larger than the value of the previously unpaid counter, the value of the winning ball unpaid counter is It is determined that the number has increased. When the value of the winning ball unpaid counter has not increased in step S842 (step S842; No), the winning ball payout driving process is terminated.

ステップS842にて賞球未払出カウンタの値が増加した旨の判定がなされたときには(ステップS842;Yes)、賞球未払出カウンタの値から前回未払出カウンタの値を減算する(ステップS843)。このステップS843における減算処理を実行することにより得られた減算値は、賞球未払出カウンタの値における増加分であり、賞球として払い出すべき遊技球の個数を示す未払出数における増加分となる。そして、ステップS843での減算処理により得られた減算値を払出モータ回転カウンタにおけるカウント値に加算して(ステップS844)、払出モータ回転カウンタにおけるカウント値を更新する。この後、賞球未払出カウンタの値を前回未払出カウンタにセットするとともに(ステップS845)、払出動作制御タイマをクリアして初期化を行った後に(ステップS846)、賞球払出駆動処理を終了する。   If it is determined in step S842 that the value of the winning ball unpaid counter has increased (step S842; Yes), the value of the previously unpaid counter is subtracted from the value of the winning ball unpaid counter (step S843). The subtraction value obtained by executing the subtraction process in step S843 is an increase in the value of the award ball unpaid counter, and an increase in the unpaid number indicating the number of game balls to be paid out as a prize ball. Become. Then, the subtraction value obtained by the subtraction process in step S843 is added to the count value in the payout motor rotation counter (step S844), and the count value in the payout motor rotation counter is updated. Thereafter, the value of the winning ball unpaid counter is set in the previously unpaid counter (step S845), the payout operation control timer is cleared and initialized (step S846), and the winning ball payout driving process is terminated. To do.

図57は、図50に示すステップS664にて実行される球貸し払出動作処理の一例を示すフローチャートである。この球貸し払出動作処理を開始すると、払出制御用マイクロコンピュータ150では、まず、例えばCPU214が図47に示すステップS531における入出力処理の実行結果に基づき、払出カウントスイッチ72からの検出信号がオン状態となっているか否かを判定する(ステップS761)。そして、払出カウントスイッチ72からの検出信号がオン状態であるときには(ステップS761;Yes)、払出制御カウンタ設定部143に設けられた払出個数カウンタの値を1加算する(ステップS762)。これに対して、ステップS761にて払出カウントスイッチ72からの検出信号がオフ状態であるときには(ステップS761;No)、ステップS762の処理をスキップする。この後、払出制御フラグ設定部141に設けられた球貸し動作プロセスフラグの値に応じて、図57に示すステップS763、S764の処理のいずれかを選択して実行する。ここで、ステップS763の球貸し払出回数算出処理は、球貸し動作プロセスフラグの値が“0”のときに実行される。ステップS764の球貸し払出駆動処理は、球貸し動作プロセスフラグの値が“1”のときに実行される。   FIG. 57 is a flowchart showing an example of the ball lending / dispensing operation process executed in step S664 shown in FIG. When the ball lending / dispensing operation process is started, in the payout control microcomputer 150, first, for example, the CPU 214 detects that the detection signal from the payout count switch 72 is on based on the execution result of the input / output process in step S531 shown in FIG. It is determined whether or not (step S761). When the detection signal from the payout count switch 72 is on (step S761; Yes), 1 is added to the value of the payout number counter provided in the payout control counter setting unit 143 (step S762). On the other hand, when the detection signal from the payout count switch 72 is OFF in step S761 (step S761; No), the process of step S762 is skipped. Thereafter, according to the value of the ball lending operation process flag provided in the payout control flag setting unit 141, one of the processes of steps S763 and S764 shown in FIG. 57 is selected and executed. Here, the ball lending / dispensing number calculation processing in step S763 is executed when the value of the ball lending operation process flag is “0”. The ball lending payout driving process in step S764 is executed when the value of the ball lending operation process flag is “1”.

図58は、図57に示すステップS763にて実行される球貸し払出回数算出処理の一例を示すフローチャートである。この球貸し払出回数算出処理を開始すると、払出制御用マイクロコンピュータ150では、まず、球貸し未払出カウンタの値が払出個数カウンタの値よりも大きな値となっているか否かを、例えばCPU214が判定する(ステップS861)。ここで、ステップS861にて球貸し未払出カウンタの値が払出個数カウンタの値と等しいか、それよりも小さな値となっているときには(ステップS861;No)、球貸し未払出カウンタの値に対応した遊技球の払出動作が完了したと判断される。このときには、払出動作不良回数カウンタをクリアしてカウント値を初期化するとともに(ステップS862)、球貸し未払出カウンタをクリアしてカウント値を初期化する(ステップS863)。   FIG. 58 is a flowchart showing an example of the ball lending / dispensing number calculation process executed in step S763 shown in FIG. When the ball lending / dispensing number calculation process is started, the payout control microcomputer 150 first determines, for example, whether or not the value of the ball lending unpaid counter is larger than the value of the number-of-payout counter. (Step S861). Here, when the value of the unpaid ball lending counter is equal to or smaller than the value of the number-of-payout counter in step S861 (step S861; No), it corresponds to the value of the lending unpaid counter. It is determined that the game ball payout operation has been completed. At this time, the payout operation failure number counter is cleared and the count value is initialized (step S862), and the ball lending unpaid counter is cleared and the count value is initialized (step S863).

他方、ステップS861にて球貸し未払出カウンタの値が払出個数カウンタの値よりも大きな値となっているときには(ステップS861;Yes)、球貸し未払出カウンタによってカウントされている遊技球個数のうちに、未だ払出動作が完了していないものが含まれていると判断される。そこで、球貸し未払出カウンタの値である未払出数から、払出個数カウンタの値である払出個数を減算することにより、未だ払出動作が完了していない遊技球の個数を特定する(ステップS864)。続いて、ステップS864での減算処理により特定された値としての減算値を、払出モータ回転カウンタにセットする(ステップS865)。   On the other hand, when the value of the ball lending unpaid counter is larger than the value of the number-of-payout counter in step S861 (step S861; Yes), out of the number of game balls counted by the ball lending unpaid counter It is determined that the payout operation has not been completed yet. Therefore, the number of game balls that have not yet been paid out is identified by subtracting the number of payouts, which is the value of the payout number counter, from the number of payouts, which is the value of the ball lending unpaid counter (step S864). . Subsequently, the subtraction value as the value specified by the subtraction process in step S864 is set in the payout motor rotation counter (step S865).

ステップS865の処理に続いて、払出動作不良回数カウンタの値が所定の不良回数上限値(例えば「9」)を超えているか否かを判定する(ステップS866)。このとき、不良回数上限値を超えていれば(ステップS866;Yes)、球詰まりエラーフラグをオン状態にセットするとともに(ステップS867)、払出動作不良回数カウンタをクリアしてカウント値を初期化する(ステップS868)。他方、ステップS866にて不良回数上限値以下であるときには(ステップS866;No)、貸し球となる遊技球の払出動作が可能な状態となっているか否かを判定する(ステップS869)。具体的な一例として、ステップS869の処理では、球詰まりエラーフラグや空切りエラーフラグ、球噛みエラーフラグ、カードユニット未接続エラーフラグなどをチェックして、いずれかのエラーフラグがオン状態となっているときには、貸し球となる遊技球の払出動作が不可能な状態であると判断する。また、主基板11から満タン状態であることを通知する所定コマンド(例えば満タン通知コマンドなど)や球切れ状態であることを通知する所定コマンド(例えば球切れ通知コマンドなど)を受信したときにも、貸し球となる遊技球の払出動作が不可能な状態であると判断する。他方、いずれのエラーフラグもオフ状態となっており、かつ、主基板11から満タン通知コマンドや球切れ通知コマンドなどを受信していないときには、貸し球となる遊技球の払出動作が可能な状態であると判断する。   Following the process of step S865, it is determined whether or not the value of the payout operation failure frequency counter exceeds a predetermined failure frequency upper limit (eg, “9”) (step S866). At this time, if the upper limit value of the number of defects is exceeded (step S866; Yes), the ball clogging error flag is set to the on state (step S867), and the payout operation defect number counter is cleared and the count value is initialized. (Step S868). On the other hand, if it is equal to or less than the upper limit value of the number of defects in step S866 (step S866; No), it is determined whether or not a payout operation of the game ball to be rented is possible (step S869). As a specific example, in the process of step S869, a ball clogging error flag, a blanking error flag, a ball biting error flag, a card unit unconnected error flag, and the like are checked, and one of the error flags is turned on. If it is, it is determined that the game ball to be rented out cannot be paid out. Further, when a predetermined command (for example, a full tank notification command) for notifying that the main board 11 is full or a predetermined command (for example, a ball full notification command) for notifying that the ball is out is received. Also, it is determined that the operation of paying out the game ball as a rental ball is impossible. On the other hand, when any of the error flags is in an off state and a full tank notification command or a ball out notification command is not received from the main board 11, a payout operation of a game ball to be rented is possible It is judged that.

ステップS863の処理を実行した後や、ステップS869にて払出動作が不可能な状態であるときには(ステップS869;No)、払出制御プロセスフラグの値を“0”に更新するとともに(ステップS870)、払出個数カウンタをクリアしてカウント値を初期化する(ステップS871)。また、払出モータ回転カウンタをクリアしてカウント値を初期化する(ステップS872)。これに対して、ステップS869にて払出動作が可能な状態であるときには(ステップS869;Yes)、ステップS864にて得られた減算値を賞球未払出カウンタにセットすることにより、球貸し未払出カウンタの値を更新する(ステップS873)。そして、球貸し動作プロセスフラグの値を球貸し払出駆動処理に対応した値である“1”に更新する(ステップS874)。   After executing the process of step S863 or when the payout operation is impossible in step S869 (step S869; No), the value of the payout control process flag is updated to “0” (step S870). The payout number counter is cleared and the count value is initialized (step S871). Further, the payout motor rotation counter is cleared and the count value is initialized (step S872). On the other hand, when the payout operation is possible in step S869 (step S869; Yes), the subtracted value obtained in step S864 is set in the award ball non-payout counter, thereby not lending the ball. The counter value is updated (step S873). Then, the value of the ball lending operation process flag is updated to “1” which is a value corresponding to the ball lending payout driving process (step S874).

図59は、図57に示すステップS764にて実行される球貸し払出駆動処理の一例を示すフローチャートである。この球貸し払出駆動処理を開始すると、払出制御用マイクロコンピュータ150では、まず、球貸し未払出カウンタの値が払出個数カウンタの値よりも大きな値となっているか否かを、例えばCPU214が判定する(ステップS881)。ここで、ステップS881にて球貸し未払出カウンタの値が払出個数カウンタの値よりも大きな値となっているときには(ステップS881;Yes)、貸し球となる遊技球の正常な払出動作が行われていると判断される。このときには、例えば払出制御タイマ設定部142に設けられた払出動作制御タイマによる経過時間の計測が行われているか否か(タイマ値が「0」以外であるか否か)を判定することなどにより、球貸しにおける払出動作の完了を待機中であるか否かを判定する(ステップS882)。   FIG. 59 is a flowchart showing an example of the ball lending / dispensing drive process executed in step S764 shown in FIG. When this ball rental payout driving process is started, the payout control microcomputer 150 first determines, for example, whether or not the value of the ball loan unpaid counter is larger than the value of the payout number counter. (Step S881). Here, when the value of the ball lending unpaid counter is larger than the value of the number-of-payout counter in step S881 (step S881; Yes), a normal payout operation of the game ball serving as the lending ball is performed. It is judged that At this time, for example, by determining whether or not the elapsed time is measured by the payout operation control timer provided in the payout control timer setting unit 142 (whether or not the timer value is other than “0”). Then, it is determined whether or not waiting for completion of the payout operation in the ball lending (step S882).

ステップS882にて払出動作の待機中ではない旨の判定がなされたときには(ステップS882;No)、例えば払出モータ51の励磁時間あるいは払出モータ位置センサ71による検出結果などから、貸し球となる遊技球を1個分払い出すための払出動作中であるか否かを判定する(ステップS883)。そして、遊技球を1個分払い出すための払出動作中ではないときには(ステップS883;No)、払出モータ回転カウンタの値が「0」であるか否かを判定する(ステップS884)。ステップS884にて払出モータ回転カウンタの値が「0」であるときには(ステップS884;Yes)、払出モータ51の駆動を停止するための設定を行うとともに(ステップS885)、払出動作制御タイマに払出完了待ち初期値として予め定められたタイマ初期値をセットして(ステップS886)、球貸し払出駆動処理を終了する。   When it is determined in step S882 that the payout operation is not waiting (step S882; No), for example, a game ball to be rented from the excitation time of the payout motor 51 or a detection result by the payout motor position sensor 71. It is determined whether or not a payout operation for paying out one item is in progress (step S883). When the payout operation for paying out one game ball is not in progress (step S883; No), it is determined whether or not the value of the payout motor rotation counter is “0” (step S884). When the value of the payout motor rotation counter is “0” in step S884 (step S884; Yes), the setting for stopping the driving of the payout motor 51 is performed (step S885), and the payout operation control timer completes payout. A predetermined timer initial value is set as a waiting initial value (step S886), and the ball lending / dispensing driving process is terminated.

ステップS884にて払出モータ回転カウンタの値が「0」以外の値であるときには(ステップS884;No)、例えば所定の励磁パターンテーブルの先頭アドレスをポインタに設定するなどといった、遊技球を1個分払い出すための払出動作に関する設定を行う(ステップS887)。このときには、払出モータ回数カウンタの値を1減算することにより更新してから(ステップS888)、球貸し払出駆動処理を終了する。   When the value of the payout motor rotation counter is a value other than “0” in step S884 (step S884; No), for example, one game ball is set such that the start address of a predetermined excitation pattern table is set as a pointer. Settings relating to a payout operation for payout are performed (step S887). At this time, after updating by subtracting 1 from the value of the payout motor number counter (step S888), the ball lending payout driving process is terminated.

また、ステップS883にて遊技球を1個分払い出すための払出動作中であるときには(ステップS883;Yes)、例えば払出制御フラグ設定部141に設けられた各種のエラーフラグの状態を確認することなどにより、払出モータ51による払出動作にエラーが発生したかどうかをチェックする(ステップS889)。このとき、払出動作にエラーが発生していれば(ステップS889;No)、例えばステップS885と同様にして払出モータ51の駆動を停止するための設定を行うなど、払出モータ51による払出動作中に発生したエラーに対応した設定を行う(ステップS890)。他方、ステップS889にて払出動作にエラーが発生していないと判定されたときには(ステップS889;Yes)、ステップS890の処理をスキップして球貸し払出駆動処理を終了する。   Further, when the payout operation for paying out one game ball is being performed in step S883 (step S883; Yes), for example, the status of various error flags provided in the payout control flag setting unit 141 is confirmed. Thus, it is checked whether or not an error has occurred in the payout operation by the payout motor 51 (step S889). At this time, if an error has occurred in the payout operation (step S889; No), for example, a setting for stopping the drive of the payout motor 51 is performed in the same manner as in step S885, during the payout operation by the payout motor 51. Settings corresponding to the generated error are made (step S890). On the other hand, when it is determined in step S889 that no error has occurred in the payout operation (step S889; Yes), the process of step S890 is skipped and the ball lending payout driving process is terminated.

ステップS882にて球貸しにおける払出動作の完了を待機中である旨の判定がなされたときには(ステップS882;Yes)、払出動作制御タイマの値を、例えば1減算するなどして更新する(ステップS891)。続いて、払出個数カウンタの値が球貸し未払出カウンタの値に達しているか否かを判定する(ステップS892)。このとき、払出個数カウンタの値が球貸し未払出カウンタの値に達していれば(ステップS892;Yes)、払い出すべき貸し球としての遊技球の払出が正常に完了したと判断して、球貸し動作プロセスフラグの値を“0”に更新した後(ステップS893)、球貸し払出駆動処理を終了する。他方、ステップS892にて払出個数カウンタの値が球貸し未払出カウンタの値に達していなければ(ステップS892;No)、例えばステップS891での更新により払出動作制御タイマがタイムアウトしたか否かを判定することなどにより、払出完了待ち時間が経過したか否かを判定する(ステップS894)。このとき、払出完了待ち時間が経過していなければ(ステップS894;No)、球貸し払出駆動処理を終了する。これに対して、ステップS894にて払出完了待ち時間が経過しているときには(ステップS894;Yes)、払出モータ51を駆動することにより既に払い出された遊技球として払出個数カウンタでカウントされた遊技球の個数が、払い出すべき貸し球として球貸し未払出カウンタでカウントされた遊技球の個数に達するより以前に、球貸しにおける払出動作の完了を待機する待ち時間が経過したと判断される。このときには、払出動作不良回数カウンタの値を1加算して更新した後(ステップS895)、ステップS893の処理に進んで、球貸し動作プロセスフラグの値を“0”に更新する。   When it is determined in step S882 that the payout operation in the ball lending is completed (step S882; Yes), the value of the payout operation control timer is updated by, for example, subtracting 1 (step S891). ). Subsequently, it is determined whether or not the value of the payout number counter has reached the value of the ball lending unpaid counter (step S892). At this time, if the value of the payout number counter has reached the value of the ball lending unpaid counter (step S892; Yes), it is determined that the payout of the game ball as the lending ball to be paid out is completed normally. After the value of the lending operation process flag is updated to “0” (step S893), the ball lending / dispensing driving process is terminated. On the other hand, if the value of the payout number counter does not reach the value of the unpaid counter in step S892 (step S892; No), for example, it is determined whether or not the payout operation control timer has timed out due to the update in step S891. It is determined whether or not the payout completion waiting time has elapsed (step S894). At this time, if the payout completion waiting time has not elapsed (step S894; No), the ball lending payout driving process is terminated. On the other hand, when the payout completion waiting time has elapsed in step S894 (step S894; Yes), the game counted by the payout number counter as a game ball already paid out by driving the payout motor 51. It is determined that the waiting time for waiting for completion of the payout operation in the ball lending has elapsed before the number of balls reaches the number of game balls counted by the ball lending unpaid counter as lending balls to be paid out. At this time, the value of the payout operation failure number counter is incremented by 1 (step S895), and then the process proceeds to step S893 to update the value of the ball lending operation process flag to “0”.

ステップS881にて球貸し未払出カウンタの値が払出個数カウンタの値と等しいか、それよりも小さな値となっているときには(ステップS881;No)、ステップS885と同様にして払出モータ51の駆動を停止するための設定を行うとともに(ステップS896)、球貸し動作プロセスフラグの値を“0”に更新する(ステップS897)。   If the value of the unpaid ball lending counter is equal to or smaller than the value of the payout number counter in step S881 (step S881; No), the payout motor 51 is driven in the same manner as in step S885. The setting for stopping is performed (step S896), and the value of the ball lending operation process flag is updated to “0” (step S897).

図47に示すステップS536にて実行される7セグ表示処理では、例えば払出制御用マイクロコンピュータ150に設けられたCPU214が払出制御フラグ設定部141に設けられた各種のエラーフラグの状態をチェックする。そして、オン状態となっているエラーフラグに対応してエラー表示用LED74の点灯動作を制御するための制御データを、払出制御用マイクロコンピュータ150に設けられた所定の出力ポートにセットする。図60は、エラーの種類とエラー表示用LED74の表示との関係などを示す説明図である。   In the 7-segment display process executed in step S536 shown in FIG. 47, for example, the CPU 214 provided in the payout control microcomputer 150 checks the states of various error flags provided in the payout control flag setting unit 141. Then, control data for controlling the lighting operation of the error display LED 74 corresponding to the error flag in the on state is set in a predetermined output port provided in the payout control microcomputer 150. FIG. 60 is an explanatory diagram showing the relationship between the type of error and the display of the LED 74 for error display.

図60に示すように、主基板通信エラーフラグがオン状態になった場合には、払出制御用マイクロコンピュータ150は、主基板通信エラーとして、エラー表示用LED74に「0」を表示する制御を行う。球噛みエラーフラグがオン状態になった場合には、球噛みエラーとして、エラー表示用LED74に「1」を表示する制御を行う。空切りエラーフラグがオン状態になった場合には、空切りエラーとして、エラー表示用LED74に「2」を表示する制御を行う。シリアル通信エラーフラグがオン状態になった場合には、シリアル通信エラーとして、エラー表示用LED74に「3」を表示する制御を行う。球詰まりエラーフラグがオン状態になった場合には、球詰まりエラーとして、エラー表示用LED74に「4」を表示する制御を行う。カードユニット未接続エラーフラグがオン状態になった場合には、カードユニット未接続エラーとして、エラー表示用LED74に「5」を表示する制御を行う。多量未払出エラーフラグがオン状態になった場合には、多量未払出エラーとして、エラー表示用LED74に「6」を表示する制御を行う。   As shown in FIG. 60, when the main board communication error flag is turned on, the payout control microcomputer 150 performs control to display “0” on the error display LED 74 as the main board communication error. . When the ball biting error flag is turned on, control is performed to display “1” on the error display LED 74 as a ball biting error. When the idle error flag is turned on, control is performed to display “2” on the error display LED 74 as an idle error. When the serial communication error flag is turned on, control is performed to display “3” on the error display LED 74 as a serial communication error. When the ball clogging error flag is turned on, control is performed to display “4” on the error display LED 74 as a ball clogging error. When the card unit unconnected error flag is turned on, control is performed to display “5” on the error display LED 74 as a card unit unconnected error. When the large amount unpaid error flag is turned on, control is performed to display “6” on the error display LED 74 as a large amount unpaid error.

次に、演出制御基板12における動作を説明する。演出制御基板12では、電源基板10からの電力供給が開始され演出制御用マイクロコンピュータ120へのリセット信号がハイレベル(オフ状態)になったことに応じて、演出制御用マイクロコンピュータ120が起動し、図61のフローチャートに示すような演出制御メイン処理が実行される。図61に示す演出制御メイン処理を開始すると、演出制御用マイクロコンピュータ120では、まず、RAM122のクリアや各種初期値の設定、また演出制御の実行間隔を決めるためのタイマ初期設定等を行う初期化処理を実行する(ステップS901)。その後、演出制御用マイクロコンピュータ120は、例えばタイマ割込みフラグを監視することなどにより、タイマ割込みが発生したか否かを判定する(ステップS902)。そして、タイマ割込みが発生するまでは(ステップS902;No)、ステップS902の処理を繰り返し実行するループ処理に入る。タイマ割込みが発生したときには(ステップS902;Yes)、タイマ割込みフラグをクリアしてオフ状態とした後(ステップS903)、以下のような演出制御処理を実行する。   Next, the operation in the effect control board 12 will be described. In the effect control board 12, when the power supply from the power supply board 10 is started and the reset signal to the effect control microcomputer 120 becomes high level (off state), the effect control microcomputer 120 is activated. The effect control main process as shown in the flowchart of FIG. 61 is executed. When the effect control main process shown in FIG. 61 is started, the effect control microcomputer 120 first initializes the RAM 122, sets various initial values, initializes a timer to determine the execution interval of effect control, and the like. Processing is executed (step S901). Thereafter, the effect control microcomputer 120 determines whether or not a timer interrupt has occurred, for example, by monitoring a timer interrupt flag (step S902). Until a timer interrupt occurs (step S902; No), the process enters a loop process that repeatedly executes the process of step S902. When a timer interrupt occurs (step S902; Yes), after clearing the timer interrupt flag to turn it off (step S903), the following effect control process is executed.

ここで、演出制御用マイクロコンピュータ120におけるタイマ割込みは、例えば2ミリ秒ごとに発生する。すなわち、演出制御処理は、例えば2ミリ秒ごとに実行される。この実施の形態では、タイマ割込みの発生に応答して所定のタイマ割込み処理が実行されることにより、タイマ割込みフラグがオン状態にセットされ、具体的な演出制御処理は演出制御メイン処理内において実行される。これに対して、タイマ割込み処理内において演出制御処理が実行されるようにしてもよい。   Here, the timer interruption in the production control microcomputer 120 occurs, for example, every 2 milliseconds. That is, the effect control process is executed every 2 milliseconds, for example. In this embodiment, when a predetermined timer interrupt process is executed in response to the occurrence of a timer interrupt, the timer interrupt flag is set to the on state, and the specific effect control process is executed in the effect control main process. Is done. On the other hand, the effect control process may be executed in the timer interrupt process.

演出制御処理において、演出制御用マイクロコンピュータ120では、まず、例えばCPU123が主基板11から中継基板18を介して受信した演出制御コマンドを解析するための演出コマンド解析処理を実行する(ステップS904)。続いて、演出制御用マイクロコンピュータ120では、例えばCPU123が演出制御プロセス処理を実行する(ステップS905)。演出制御プロセス処理では、演出用の電気部品となる画像表示装置5やスピーカ8L、8R、遊技効果ランプ9などの制御状態に応じて、各種の処理が選択されて実行される。この後、演出制御用マイクロコンピュータ120においてカウントされる各種の乱数を更新するための乱数更新処理が実行される(ステップS906)。さらに、主基板11からの演出制御コマンドによる報知指示などに基づく報知動作を制御するための報知処理を実行する(ステップS907)。   In the effect control process, the effect control microcomputer 120 first executes an effect command analysis process for analyzing, for example, the effect control command received by the CPU 123 from the main board 11 via the relay board 18 (step S904). Subsequently, in the effect control microcomputer 120, for example, the CPU 123 executes effect control process processing (step S905). In the effect control process, various processes are selected and executed in accordance with the control state of the image display device 5, the speakers 8L and 8R, the game effect lamp 9, and the like that are electric parts for effects. Thereafter, a random number update process for updating various random numbers counted in the production control microcomputer 120 is executed (step S906). Further, a notification process for controlling a notification operation based on a notification instruction by a production control command from the main board 11 is executed (step S907).

図62は、図61に示すステップS905にて実行される演出制御プロセス処理の一例を示すフローチャートである。この演出制御プロセス処理において、演出制御用マイクロコンピュータ120では、例えばCPU123がRAM122の所定領域(演出制御フラグ設定領域など)に設けられた演出制御プロセスフラグの値に応じて、以下のようなステップS920〜S925の各処理を実行する。   FIG. 62 is a flowchart showing an example of the effect control process executed in step S905 shown in FIG. In the effect control process 120, in the effect control microcomputer 120, for example, the CPU 123 performs the following step S920 in accordance with the value of the effect control process flag provided in a predetermined area (such as an effect control flag setting area) of the RAM 122. Each process of S925 is executed.

ステップS920の可変表示開始コマンド受信待ち処理は、演出制御プロセスフラグの値が“0”のときに実行される。この可変表示開始コマンド受信待ち処理において、演出制御用マイクロコンピュータ120では、例えばCPU123が主基板11から送信された可変表示開始コマンドを受信したか否かを判定する。そして、可変表示開始コマンドを受信していないときには、デモ表示コマンドを受信したか否かを判定する。このとき、デモ表示コマンドを受信していれば、そのデモ表示コマンドを受信してから所定時間が経過したときに、画像表示装置5の表示動作を制御して所定のデモ表示を行わせる。また、可変表示開始コマンド受信待ち処理にて可変表示開始コマンドを受信した旨の判定がなされたときには、画像表示装置5におけるデモ表示を終了させるとともに、演出制御プロセスフラグの値を“1”に更新する。   The variable display start command reception waiting process in step S920 is executed when the value of the effect control process flag is “0”. In the variable display start command reception waiting process, the effect control microcomputer 120 determines whether, for example, the CPU 123 has received a variable display start command transmitted from the main board 11. Then, when the variable display start command is not received, it is determined whether or not the demo display command is received. At this time, if a demo display command has been received, the display operation of the image display device 5 is controlled to perform a predetermined demo display when a predetermined time has elapsed since the reception of the demo display command. When it is determined that the variable display start command is received in the variable display start command reception waiting process, the demonstration display in the image display device 5 is terminated and the value of the effect control process flag is updated to “1”. To do.

ステップS921の演出表示制御設定処理は、演出制御プロセスフラグの値が“1”のときに実行される。この演出表示制御設定処理は、特別図柄表示装置4による特図ゲームにて特別図柄が変動表示されることに対応して、画像表示装置5における飾り図柄の可変表示を含めた各種の表示による演出を行うために、画像表示装置5の表示動作を設定するための処理を含んでいる。具体的な一例として、ステップS921の演出表示制御設定処理では、まず、主基板11からの可変表示開始コマンドにより指定された可変表示パターンが大当りパターンであるか否かを判定し、大当りパターンではないと判定されたときには、リーチハズレパターンであるか否かを判定する。そして、リーチハズレパターンではないと判定されたときには、通常ハズレパターンが指定されたものと判断して、通常ハズレ組合せとなる確定飾り図柄を決定するための通常ハズレ図柄決定処理を実行する。また、可変表示開始コマンドにより指定された可変表示パターンがリーチハズレパターンであるときには、リーチハズレ組合せとなる確定飾り図柄を決定するためのリーチハズレ図柄決定処理を実行する。   The effect display control setting process in step S921 is executed when the value of the effect control process flag is “1”. This effect display control setting processing corresponds to the fact that the special symbol is variably displayed in the special symbol game by the special symbol display device 4, and the effect by various displays including the variable display of the decorative symbol in the image display device 5. In order to perform the above, processing for setting the display operation of the image display device 5 is included. As a specific example, in the effect display control setting process in step S921, first, it is determined whether or not the variable display pattern designated by the variable display start command from the main board 11 is a big hit pattern, and is not a big hit pattern. Is determined, it is determined whether or not it is a reach loss pattern. When it is determined that the pattern is not the reach loss pattern, it is determined that the normal loss pattern has been designated, and a normal lose symbol determination process for determining a definite decorative symbol for a normal loss combination is executed. Further, when the variable display pattern designated by the variable display start command is a reach lose pattern, a reach lose symbol determination process for determining a definite decorative symbol to be a reach lose combination is executed.

さらに、可変表示開始コマンドにより指定された可変表示パターンが大当りパターンであるときには、大当り組合せとなる確定飾り図柄を決定するための大当り図柄決定処理を実行する。このときには、例えばCPU123が主基板11から送信された表示結果通知コマンドを読み取ることなどにより、遊技状態が高確率状態となる確変大当りであるか、高確率状態にはならない通常大当りであるかを判定する。そして、確変大当りであると判定したときには、例えば図柄番号が奇数である確変図柄としての飾り図柄「1」、「3」、「5」、「7」または「9」のうちで、同一の確変図柄を、画像表示装置5における飾り図柄の可変表示における表示結果として「左」、「中」、「右」の各可変表示部にて導出表示する確定飾り図柄に決定する。他方、通常大当りであると判定したときには、例えば図柄番号が偶数である通常図柄としての飾り図柄「0」、「2」、「4」、「6」または「8」のうちで、同一の通常図柄を、画像表示装置5における飾り図柄の可変表示における表示結果として「左」、「中」、「右」の各可変表示部にて導出表示する確定飾り図柄に決定する。   Further, when the variable display pattern designated by the variable display start command is a big hit pattern, a big hit symbol determination process for determining a confirmed decorative symbol to be a big hit combination is executed. At this time, for example, the CPU 123 reads a display result notification command transmitted from the main board 11 to determine whether the gaming state is a probable big hit that becomes a high probability state or a normal big hit that does not become a high probability state. To do. When it is determined that the probability variation is a big hit, for example, the same probability variation among the decorative symbols “1”, “3”, “5”, “7” or “9” as the probability variation symbol having an odd symbol number. The symbol is determined to be a definite ornament symbol that is derived and displayed on each of the “left”, “middle”, and “right” variable display units as a display result in the variable display of the ornament symbol in the image display device 5. On the other hand, when it is determined that it is a normal big hit, for example, the same normal among the decorative symbols “0”, “2”, “4”, “6” or “8” as a normal symbol having an even symbol number The symbol is determined to be a definite ornament symbol that is derived and displayed on each of the “left”, “middle”, and “right” variable display units as a display result in the variable display of the ornament symbol in the image display device 5.

これらの処理を実行することにより確定飾り図柄を決定した後、演出表示制御設定処理では、可変表示開始コマンドにより指定された可変表示パターンに対応する図柄表示制御パターンを決定し、その図柄表示制御パターンに対応した描画コマンドをVDPに送出するなどして、飾り図柄の可変表示を開始するための設定を行う。このときには、図柄表示制御パターンに対応して飾り図柄の可変表示時間を計測するためのタイマ設定なども行われる。この後、演出制御プロセスフラグの値を“2”に更新して、演出表示制御設定処理を終了する。   After determining the final decorative symbol by executing these processes, in the effect display control setting process, the symbol display control pattern corresponding to the variable display pattern designated by the variable display start command is determined, and the symbol display control pattern is determined. For example, a drawing command corresponding to is sent to the VDP, and settings for starting variable display of decorative symbols are performed. At this time, a timer setting for measuring the variable display time of the decorative symbols is also performed corresponding to the symbol display control pattern. Thereafter, the value of the effect control process flag is updated to “2”, and the effect display control setting process ends.

ステップS922の飾り図柄可変表示処理は、演出制御プロセスフラグの値が“2”のときに実行される。この飾り図柄可変表示処理では、例えば飾り図柄の可変表示を開始してからの経過時間に応じて図柄表示制御パターンにおける読出位置を切り替え、その読出位置から読み出された表示制御データに対応する描画コマンドをVDPに送出するなどして、画像表示装置5における表示動作の制御を行う。そして、飾り図柄の可変表示を終了するタイミングに達すると、大当り開始コマンド受信待ち時間の設定を行うとともに、演出制御プロセスフラグの値を“3”に更新する。   The decorative symbol variable display process in step S922 is executed when the value of the effect control process flag is “2”. In this decorative symbol variable display processing, for example, the reading position in the symbol display control pattern is switched in accordance with the elapsed time since the decorative symbol variable display was started, and drawing corresponding to the display control data read from the reading position is performed. The display operation in the image display device 5 is controlled by sending a command to the VDP. Then, when the timing to end the variable display of the decorative symbols is reached, the big hit start command reception waiting time is set and the value of the effect control process flag is updated to “3”.

ステップS923の飾り図柄停止時処理は、演出制御プロセスフラグの値が“3”のときに実行される。この飾り図柄停止時処理では、主基板11から送信された大当り開始コマンドの受信があったか否かを判定する。そして、大当り開始コマンドを受信せずに大当り開始コマンド受信待ち時間が経過したときには、飾り図柄の可変表示結果がハズレであると判断して、演出制御プロセスフラグの値を“0”に更新する。また、飾り図柄停止時処理にて大当り開始コマンドを受信した旨の判定がなされたときには、飾り図柄の可変表示結果が大当りであると判断して、演出制御プロセスフラグの値を“4”に更新する。   The decorative symbol stop process in step S923 is executed when the value of the effect control process flag is “3”. In this decorative symbol stop process, it is determined whether or not the jackpot start command transmitted from the main board 11 has been received. Then, when the big hit start command reception waiting time has elapsed without receiving the big hit start command, it is determined that the decorative symbol variable display result is lost, and the value of the effect control process flag is updated to “0”. Also, when it is determined that the jackpot start command is received in the decorative symbol stop process, it is determined that the variable symbol display result is a big bonus, and the value of the effect control process flag is updated to “4”. To do.

ステップS924の大当り演出処理は、演出制御プロセスフラグの値が“4”のときに実行される。この大当り演出処理では、画像表示装置5における表示動作を制御することにより、大当り遊技状態に応じた画像を表示する制御を行う。そして、主基板11からの大当り終了コマンドを受信したか否かの判定を行い、受信した旨の判定がなされたときには、演出制御プロセスフラグの値を“5”に更新する。   The big hit effect process of step S924 is executed when the value of the effect control process flag is “4”. In the jackpot effect process, the display operation in the image display device 5 is controlled to perform control to display an image corresponding to the jackpot gaming state. Then, it is determined whether or not a big hit end command has been received from the main board 11, and when it is determined that it has been received, the value of the effect control process flag is updated to “5”.

ステップS925の大当り終了演出処理は、演出制御プロセスフラグの値が“5”のときに実行される。この大当り終了演出処理は、画像表示装置5にて大当り遊技状態が終了した旨を報知する演出表示などを実行するための制御を行う処理を含んでいる。その後、各種の演出表示が終了したときには、演出制御プロセスフラグの値を“0”に更新する。   The big hit end effect process in step S925 is executed when the value of the effect control process flag is “5”. The jackpot end effect process includes a process of performing control for executing an effect display for notifying that the jackpot game state has ended on the image display device 5. Thereafter, when the various effect displays are completed, the value of the effect control process flag is updated to “0”.

図63は、図61に示すステップS907にて実行される報知処理の一例を示すフローチャートである。この報知処理を開始すると、演出制御用マイクロコンピュータ120では、まず、賞球過多または賞球不足の報知を行っているか否かを、例えばCPU123がRAM122の所定領域などに設けられた報知タイマの値をチェックすることなどにより判定する(ステップS941)。ここで、報知タイマは、賞球過多または賞球不足の報知を開始してから、その報知を終了するまでの経過時間を計測するために用いられるタイマであればよい。そして、ステップS941にて報知タイマがタイムアウトしているときには賞球過多または賞球不足の報知が行われていないと判定する一方、報知タイマがタイムアウトしていないときには賞球過多または賞球不足の報知が行われていると判定すればよい。ステップS941にて賞球過多または賞球不足の報知を行っている旨の判定がなされたときには(ステップS941;Yes)、報知タイマにおけるタイマ値を、例えば1減算するなどして更新する(ステップS942)。そして、ステップS942にて更新された報知タイマの値に基づき、賞球過多または賞球不足の報知を終了するタイミングに達したか否かを判定する(ステップS943)。このとき、報知を終了するタイミングに達していなければ(ステップS943;No)、報知処理を終了する。他方、ステップS943にて報知を終了するタイミングに達していれば(ステップS943;Yes)、例えば画像表示装置5における表示動作を初期化する設定などといった、賞球過多または賞球不足の報知を終了するための設定を行う(ステップS944)。   FIG. 63 is a flowchart showing an example of the notification process executed in step S907 shown in FIG. When the notification process is started, the effect control microcomputer 120 first determines whether or not the notification of the excessive number of prize balls or the shortage of prize balls is being made, for example, the value of the notification timer provided in the predetermined area of the RAM 122 by the CPU 123. (Step S941). Here, the notification timer may be a timer used for measuring the elapsed time from the start of notification of excessive prize balls or insufficient prize balls to the end of the notification. If the notification timer has timed out in step S941, it is determined that there is no notification of excessive prize balls or shortage of prize balls. On the other hand, if the notification timer has not timed out, notification of excessive prize balls or insufficient prize balls is issued. What is necessary is just to determine that is performed. When it is determined in step S941 that there is a notification of excessive prize balls or insufficient prize balls (step S941; Yes), the timer value in the notification timer is updated by, for example, subtracting 1 (step S942). ). Then, based on the value of the notification timer updated in step S942, it is determined whether or not it is time to end notification of excessive or insufficient prize balls (step S943). At this time, if the timing to end the notification has not been reached (step S943; No), the notification processing is ended. On the other hand, if the timing to end the notification in step S943 has been reached (step S943; Yes), the notification of excessive or insufficient prize balls, for example, a setting for initializing the display operation in the image display device 5 is ended. Is set (step S944).

ステップS941にて賞球過多または賞球不足の報知を行っていない旨の判定がなされたときや(ステップS941;No)、ステップS944の処理を実行した後には、主基板11からの賞球過多コマンドを受信したか否かを判定する(ステップS945)。そして、賞球過多コマンドを受信したときには(ステップS945;Yes)、図64(A)に例示するような賞球過多報知画面となる画像を画像表示装置5に表示させることにより賞球過多の報知を開始するための設定を行う(ステップS946)。このときには、報知タイマに、賞球過多の報知に対応した報知時間を示すタイマ初期値を設定する(ステップS947)。   When it is determined in step S941 that there is no notification of excessive prize balls or insufficient prize balls (step S941; No), after executing the process of step S944, excessive prize balls from the main board 11 are performed. It is determined whether a command has been received (step S945). Then, when an excessive prize ball command is received (step S945; Yes), an image of the excessive prize ball notification screen illustrated in FIG. Is set to start (step S946). At this time, the timer initial value indicating the notification time corresponding to the notification of excessive prize balls is set in the notification timer (step S947).

また、ステップS945にて賞球過多コマンドを受信していないときには(ステップS945;No)、主基板11からの賞球不足コマンドを受信したか否かを判定する(ステップS948)。そして、賞球不足コマンドを受信したときには(ステップS948;Yes)、図64(B)に例示するような賞球不足報知画面となる画像を画像表示装置5に表示させることにより賞球不足の報知を開始するための設定を行う(ステップS949)。このときには、報知タイマに、賞球不足の報知に対応した報知時間を示すタイマ初期値を設定する(ステップS950)。ステップS948にて賞球不足コマンドを受信していないときには(ステップS948;No)、満タンの報知を行っているか否かを、例えばCPU123が所定の満タン報知中フラグをチェックすることなどにより、判定する(ステップS951)。このとき、満タンの報知を行っていれば(ステップS951;Yes)、主基板11からの満タン報知終了コマンドを受信したか否かを判定する(ステップS952)。そして、満タン報知終了コマンドを受信していなければ(ステップS952;No)、報知処理を終了する。他方、ステップS952にて満タン報知終了コマンドを受信したときには(ステップS952;Yes)、例えば画像表示装置5における表示動作を初期化する設定などといった、下皿33が満タンである旨の報知を終了させるための設定を行う(ステップS953)。   Further, when the excessive prize ball command is not received in step S945 (step S945; No), it is determined whether or not a prize ball shortage command from the main board 11 is received (step S948). When a prize shortage command is received (step S948; Yes), a prize ball shortage notification is displayed by causing the image display device 5 to display an image serving as a prize ball shortage notification screen as illustrated in FIG. Is set to start (step S949). At this time, the timer initial value indicating the notification time corresponding to the notification of the shortage of prize balls is set in the notification timer (step S950). When the winning ball shortage command is not received in step S948 (step S948; No), whether or not the full flag is being notified is checked by the CPU 123, for example, by checking a predetermined full tank notifying flag. Determination is made (step S951). At this time, if full tank notification has been performed (step S951; Yes), it is determined whether a full tank notification end command from the main board 11 has been received (step S952). If the full tank notification end command has not been received (step S952; No), the notification processing is ended. On the other hand, when a full tank notification end command is received in step S952 (step S952; Yes), a notification that the lower plate 33 is full, for example, a setting for initializing the display operation in the image display device 5 is given. Settings for termination are performed (step S953).

ステップS951にて満タンの報知を行っていない旨の判定がなされたときや(ステップS951;No)、ステップS953の処理を実行した後には、主基板11からの満タン報知開始コマンドを受信したか否かを判定する(ステップS954)。このとき、満タン報知開始コマンドを受信していなければ(ステップS954;No)、報知処理を終了する。他方、満タン報知開始コマンドを受信したときには(ステップS954;Yes)、図64(C)に例示するような満タン報知画面となる画像を画像表示装置5に表示させるための設定を行う(ステップS955)。   When it is determined in step S951 that the full tank notification is not performed (step S951; No), after executing the process of step S953, a full tank notification start command is received from the main board 11. Whether or not (step S954). At this time, if the full tank notification start command has not been received (step S954; No), the notification processing is terminated. On the other hand, when a full tank notification start command is received (step S954; Yes), a setting is performed to display on the image display device 5 an image that becomes a full tank notification screen as illustrated in FIG. S955).

次に、遊技制御用マイクロコンピュータ100が備える乱数回路103の具体的な動作例について説明する。図65は、乱数回路103の動作を説明するためのタイミングチャートである。乱数回路103に設けられたクロック信号出力回路171のクロック入力端子やタイマ回路179のクロック入力端子には、図65(A)に示すような内部システムクロックCLKが入力される。内部システムクロックCLKは、遊技制御用マイクロコンピュータ100が備えるクロック回路101にて生成されたものであればよい。図65(A)に示すように、内部システムクロックCLKは、タイミングT11、T21、…においてローレベルからハイレベルに立上がるクロック信号である。   Next, a specific operation example of the random number circuit 103 provided in the game control microcomputer 100 will be described. FIG. 65 is a timing chart for explaining the operation of the random number circuit 103. An internal system clock CLK as shown in FIG. 65A is input to the clock input terminal of the clock signal output circuit 171 and the clock input terminal of the timer circuit 179 provided in the random number circuit 103. The internal system clock CLK may be generated by the clock circuit 101 provided in the game control microcomputer 100. As shown in FIG. 65A, the internal system clock CLK is a clock signal that rises from a low level to a high level at timings T11, T21,.

クロック信号出力回路171は、内部システムクロックCLKを分周して、例えばタイミングT11、T12、…においてローレベルからハイレベルに立上がり、タイミングT21、T22、…においてハイレベルからローレベルに立下がる、図65(B)に示すクロック信号S1を生成する。なお、図65に示す動作例では、説明のために、クロック信号出力回路171が内部システムクロックCLKを2分周してクロック信号S1を生成する場合を示している。しかしながら、実際には、16ビット乱数を更新する周期として、内部システムクロックCLKの周期と内部システムクロックCLKの16倍の周期のいずれかを設定することとしている。したがって、クロック信号出力回路171は、内部システムクロックCLKをそのままクロック信号S1として出力する場合と、内部システムクロックCLKを16分周した信号をクロック信号S1として出力する場合とを、切り替えることができればよい。クロック信号出力回路171から出力されたクロック信号S1は、16ビット乱数の生成用に設けられた乱数生成回路173Bと反転回路178とに入力される。   The clock signal output circuit 171 divides the internal system clock CLK and rises from a low level to a high level at timings T11, T12,..., And falls from a high level to a low level at timings T21, T22,. A clock signal S1 shown in 65 (B) is generated. In the operation example shown in FIG. 65, for the sake of explanation, a case where the clock signal output circuit 171 generates the clock signal S1 by dividing the internal system clock CLK by two is shown. However, in practice, as a cycle for updating the 16-bit random number, either the cycle of the internal system clock CLK or a cycle 16 times the internal system clock CLK is set. Therefore, the clock signal output circuit 171 only has to be able to switch between the case where the internal system clock CLK is output as it is as the clock signal S1 and the case where the signal obtained by dividing the internal system clock CLK by 16 is output as the clock signal S1. . The clock signal S1 output from the clock signal output circuit 171 is input to a random number generation circuit 173B and an inversion circuit 178 provided for generating a 16-bit random number.

乱数生成回路173Bは、そのクロック入力端子に入力されるクロック信号S1の立上がりエッジに応答して数値データC2を更新し、その数値データC2を乱数列変更回路176Bに出力する。反転回路178は、クロック信号出力回路171から出力されたクロック信号S1の信号レベルを反転させることにより、例えばタイミングT11、T12、…においてハイレベルからローレベルに立下がり、タイミングT21、T22、…においてローレベルからハイレベルに立上がる、図65(C)に示すような反転クロック信号S2を生成する。反転回路178によって生成された反転クロック信号S2は、反転回路178から出力されてラッチ信号生成回路180に入力される。   The random number generation circuit 173B updates the numerical data C2 in response to the rising edge of the clock signal S1 input to the clock input terminal, and outputs the numerical data C2 to the random number sequence change circuit 176B. The inversion circuit 178 inverts the signal level of the clock signal S1 output from the clock signal output circuit 171 to fall from a high level to a low level at timings T11, T12,..., And at timings T21, T22,. An inverted clock signal S2 as shown in FIG. 65C that rises from a low level to a high level is generated. The inverted clock signal S2 generated by the inverter circuit 178 is output from the inverter circuit 178 and input to the latch signal generator circuit 180.

図65(D)に示す始動入賞信号SSがタイマ回路179に入力されたときには、その立上がりエッジからの経過時間が所定時間(例えば3ミリ秒)に達すると、タイマ回路179からの出力信号がローレベルからハイレベルに立上がる。このタイマ回路179からの出力信号は、ラッチ信号生成回路180に入力され、反転クロック信号S2の立上がりエッジと同期して、図65(E)に示すようなラッチ信号SLとして出力される。これにより、乱数生成回路173BはタイミングT11、T12、…において数値データC1を更新する一方、ラッチ信号生成回路180はタイミングT11、T12、…とは異なるタイミングT22において立上がるラッチ信号SLを出力することができる。ここで、乱数列変更回路176Bが乱数生成回路173Bから出力された数値データC2の並びを変更する動作と、最大値比較回路177Bが乱数列変更回路176Bから出力された乱数値となる数値データR2を所定の最大値と比較して最大値以下の値となるまで再設定を繰り返す動作とを、内部システムクロックCLKの周期に比べて十分に短い期間内に行うことで、最大値比較回路177Bから乱数値レジスタ181Bには、クロック信号S1の立上がりエッジから十分に短い経過時間内に、更新後の乱数値となる数値データR2が出力されることになる。そして、ラッチ信号SLが反転クロック信号S2と同期してローレベルからハイレベルに立上がることで、更新後の乱数値となる数値データR2の取得を確実かつ安定的に行うことが可能になる。   When the start winning signal SS shown in FIG. 65D is input to the timer circuit 179, when the elapsed time from the rising edge reaches a predetermined time (for example, 3 milliseconds), the output signal from the timer circuit 179 is low. Rise from level to high level. The output signal from the timer circuit 179 is input to the latch signal generation circuit 180, and is output as a latch signal SL as shown in FIG. 65 (E) in synchronization with the rising edge of the inverted clock signal S2. As a result, the random number generation circuit 173B updates the numerical data C1 at timings T11, T12,..., While the latch signal generation circuit 180 outputs a latch signal SL that rises at a timing T22 different from the timings T11, T12,. Can do. Here, the operation in which the random number sequence change circuit 176B changes the arrangement of the numerical data C2 output from the random number generation circuit 173B, and the numerical value data R2 that becomes the random value output from the random number sequence change circuit 176B by the maximum value comparison circuit 177B. Is performed within a period sufficiently shorter than the cycle of the internal system clock CLK by performing the operation of repeating the resetting until a value equal to or less than the maximum value is compared with the predetermined maximum value, from the maximum value comparison circuit 177B. In the random value register 181B, the numerical data R2 that is the updated random value is output within a sufficiently short elapsed time from the rising edge of the clock signal S1. Then, the latch signal SL rises from the low level to the high level in synchronization with the inverted clock signal S2, so that the numerical data R2 that becomes the updated random number value can be reliably and stably acquired.

以上説明したように、上記実施の形態におけるパチンコ遊技機1では、パチンコ遊技機1への電力供給が開始されたときに、例えば図27に示すステップS21で遊技制御用マイクロコンピュータ100が備えるCPU104によってROM105に記憶されている第1乱数初期設定データ(KRSS1)の第4及び第3ビット[ビット4−3]を読出し、その読出値に基づいてステップS22の処理を実行して乱数回路103に乱数を発生させるための設定を行う。その後、CPU104がステップS25の処理を実行することなどによって、遊技制御用マイクロコンピュータ100が割込許可状態に設定される。そして、ステップS22にて実行される処理としては、図29に示すような12ビット乱数初期設定処理や図30に示す16ビット乱数初期設定処理がある。図29に示す12ビット乱数初期設定処理では、CPU104がステップS101でROM105に記憶されている第2乱数初期設定データ(KRSS2)の第7ビット[ビット7]を読出し、その読出値が“1”であるときに、ステップS104の処理を実行することにより乱数回路103において12ビット乱数を生成するための1周目のスタート値を、遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づいて決定する。また、図30に示す16ビット乱数初期設定処理では、CPU104がステップS123でROM105に記憶されている第2乱数初期設定データ(KRSS2)の第4ビット[ビット4]を読出し、その読出値が“1”であるときに、ステップS126の処理を実行することにより乱数回路103において16ビット乱数を生成するための1周目のスタート値を、遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報であるIDナンバーに基づいて決定する。これにより、電力供給が開始された後に更新が開始される乱数の初期値を複数のパチンコ遊技機1でそれぞれ異ならせることができ、このようにして生成される乱数値を用いて特別図柄表示装置4による特図ゲームなどにおける可変表示結果を大当りとするか否かの判定を行うことで、乱数のランダム性を高めて不正に大当りが発生させられてしまうことを防止できる。   As described above, in the pachinko gaming machine 1 according to the above-described embodiment, when power supply to the pachinko gaming machine 1 is started, the CPU 104 provided in the gaming control microcomputer 100 in, for example, step S21 shown in FIG. The fourth and third bits [bits 4-3] of the first random number initial setting data (KRSS1) stored in the ROM 105 are read, and the process of step S22 is executed based on the read value, and the random number circuit 103 receives a random number. Set to generate. Thereafter, the game control microcomputer 100 is set to the interrupt-permitted state, for example, by the CPU 104 executing the process of step S25. The processes executed in step S22 include a 12-bit random number initial setting process as shown in FIG. 29 and a 16-bit random number initial setting process as shown in FIG. In the 12-bit random number initial setting process shown in FIG. 29, the CPU 104 reads the seventh bit [bit 7] of the second random number initial setting data (KRSS2) stored in the ROM 105 in step S101, and the read value is “1”. In this case, the start value for the first round for generating the 12-bit random number in the random number circuit 103 by executing the process of step S104 is the unique identification information assigned to each game control microcomputer 100. It is determined based on a certain ID number. In the 16-bit random number initial setting process shown in FIG. 30, the CPU 104 reads the fourth bit [bit 4] of the second random number initial setting data (KRSS2) stored in the ROM 105 in step S123, and the read value is “ When it is 1 ″, the unique identification given to each game control microcomputer 100 is the first round start value for generating a 16-bit random number in the random number circuit 103 by executing the processing of step S126. It is determined based on the ID number that is information. Thereby, the initial value of the random number that is updated after the power supply is started can be made different in each of the plurality of pachinko gaming machines 1, and the special symbol display device using the random value generated in this way By determining whether or not the variable display result in a special game such as 4 is a big hit, it is possible to improve randomness of random numbers and prevent a big hit from being generated illegally.

図48に示すステップS608では、払出数指定コマンドによって指定された賞球の払出数が賞球未払出カウンタの値に加算され、図54に示すステップS814では、ステップS805における減算処理により得られた減算値が賞球未払出カウンタにセットされることで、賞球未払出カウンタには賞球として払い出すべき遊技球の個数となる未払出数が記憶される。他方、図54に示すステップS806では、ステップS805における減算処理により得られた減算値が払出モータ回転カウンタにセットされ、図56に示すステップS844では、ステップS843における減算処理により得られた減算値が払出モータ回転カウンタにセットされることで、賞球未払出カウンタに未払出数が記憶されたことに対応して払出モータ51の駆動量となる払出動作量が払出モータ回転カウンタに記憶される。そして、払出モータ回転カウンタの値は図55に示すステップS829の処理が実行されるごとに1減算されて、ステップS825にて払出モータ回転カウンタの値が「0」である旨の判定がなされるまでは、ステップS828の処理で遊技球を1個分払い出すための設定が行われることから、払出モータ51により賞球となる遊技球の払出を開始させた後には、ステップS825にて払出モータ回転カウンタの値が「0」である旨の判定がなされるまで、連続して払出モータ51に遊技球の払出動作を実行させる連続払出が行われることになる。ここで、図56に示すステップS842にて賞球未払出カウンタの値が増加した旨の判定がなされたときには、ステップS843の減算処理を実行することにより特定された未払出数における増加分を、ステップS844にて払出モータ回転カウンタの値に加算することで、払出モータ51による払出動作の実行中に受信した払出数指定コマンドで示された遊技球の払出数に対応した払出モータ51の駆動量を払出モータ回転カウンタの値に加算するように設定して、その後にステップS825にて払出モータ回転カウンタの値が「0」である旨の判定がなされるまで、連続して払出モータ51に遊技球の払出動作を実行させる。これにより、払出モータ51による払出動作の実行中に受信した払出数指定コマンドで示された遊技球の払出数も含めて賞球の連続した払出動作が可能となり、賞球となる遊技球を迅速に払い出すことができる。   In step S608 shown in FIG. 48, the number of prize balls paid out specified by the number-of-payout designation command is added to the value of the prize ball unpaid counter, and in step S814 shown in FIG. 54, it is obtained by the subtraction process in step S805. By setting the subtraction value in the award ball unpaid counter, the unpaid number corresponding to the number of game balls to be paid out as a prize ball is stored in the award ball unpaid counter. On the other hand, in step S806 shown in FIG. 54, the subtraction value obtained by the subtraction process in step S805 is set in the payout motor rotation counter. In step S844 shown in FIG. 56, the subtraction value obtained by the subtraction process in step S843 is set. By setting the payout motor rotation counter, the payout operation amount that is the drive amount of the payout motor 51 is stored in the payout motor rotation counter in response to the number of unpaid out being stored in the prize ball non-payout counter. The value of the payout motor rotation counter is decremented by 1 every time the process of step S829 shown in FIG. 55 is executed, and it is determined in step S825 that the value of the payout motor rotation counter is “0”. Until the game ball is set to be paid out in the process of step S828, the payout motor 51 starts the payout of the game ball as a prize ball after the payout motor 51 starts, and the payout motor in step S825. Until the determination that the value of the rotation counter is “0” is made, continuous payout that causes the payout motor 51 to execute the payout operation of the game ball is continuously performed. Here, when it is determined in step S842 shown in FIG. 56 that the value of the prize ball unpaid counter has increased, the increment in the unpaid number specified by executing the subtraction process in step S843 is calculated as follows: By adding to the value of the payout motor rotation counter in step S844, the drive amount of the payout motor 51 corresponding to the payout number of the game balls indicated by the payout number designation command received during execution of the payout operation by the payout motor 51 Is added to the value of the payout motor rotation counter, and then the game is continuously performed on the payout motor 51 until it is determined in step S825 that the value of the payout motor rotation counter is “0”. Execute the ball dispensing operation. As a result, it is possible to continuously perform the award ball payout operation including the game ball payout number indicated by the payout number designation command received during the payout operation of the payout motor 51. Can be paid out.

図55に示すステップS825にて払出モータ回転カウンタの値が「0」である旨の判定がなされたときには、ステップS826での設定により、払出モータ51による払出動作が停止される。その一方で、賞球未払出カウンタの値は、払出個数カウンタの値に基づき、図54に示すステップS804の処理が実行されたときにクリアされたり、ステップS814の処理が実行されたときにステップS805で得られた減算値に更新されたりする。このときには、払出モータ51による払出動作が停止していることから、賞球となる遊技球が過剰に払い出されることを防止できる。そして、ステップS806の処理では、ステップS805にて賞球未払出カウンタの値から払出個数カウンタの値を減算して得られた減算値がセットされることから、未払出の賞球があるときには払出モータ51による払出動作を再開させることができ、賞球の払出数が不足することも防止できる。このようにして、賞球の払出制御における確実性を向上させることができる。   When it is determined in step S825 shown in FIG. 55 that the value of the payout motor rotation counter is “0”, the payout operation by the payout motor 51 is stopped by the setting in step S826. On the other hand, the value of the award ball non-payout counter is cleared when the process of step S804 shown in FIG. 54 is executed based on the value of the payout number counter, or is executed when the process of step S814 is executed. It is updated to the subtraction value obtained in S805. At this time, since the payout operation by the payout motor 51 is stopped, it is possible to prevent the game balls as the winning balls from being paid out excessively. In the process of step S806, a subtraction value obtained by subtracting the value of the number-of-payout counter from the value of the award ball unpaid counter in step S805 is set. The payout operation by the motor 51 can be resumed, and it is possible to prevent the number of payout balls from being insufficient. In this way, certainty in the payout control of prize balls can be improved.

図56に示すステップS841では、賞球未払出カウンタの値と前回未払出カウンタの値とを比較し、その比較結果に基づいて、ステップS842では賞球未払出カウンタの値が増加したか否かの判定を行う。ここで、前回未払出カウンタの値は、例えば図54に示すステップS806の処理に続いてステップS815の処理が実行されたときや、図56に示すステップS844の処理に続いてステップS845の処理が実行されたときのように、払出モータ回転カウンタに払出モータ51の駆動量を示すカウント値が記憶されたときに、賞球未払出カウンタの値と同一の値となるように設定される。そして、図56に示すステップS842にて賞球未払出カウンタの値が増加した旨の判定がなされたときには、ステップS843にて賞球未払出カウンタの値から前回未払出カウンタの値を減算することにより、賞球未払出カウンタの値における増加分を特定する。このように、賞球未払出カウンタとは別に前回未払出カウンタを設けるだけで、払出モータ51による払出動作の実行中に賞球未払出カウンタの値が増加したか否かの判定や、賞球未払出カウンタの値が増加した場合における増加分の特定が可能となり、簡単な構成と単純な動作で賞球となる遊技球の未払出数における増加分を確実に特定することができる。   In step S841 shown in FIG. 56, the value of the winning ball unpaid counter is compared with the value of the previously unpaid counter, and based on the comparison result, in step S842, whether or not the value of the winning ball unpaid counter has increased. Judgment is made. Here, for example, the value of the previous unpaid counter is the same as that in step S845 when step S815 is executed following step S806 shown in FIG. 54, or after step S844 shown in FIG. When the count value indicating the driving amount of the payout motor 51 is stored in the payout motor rotation counter as when executed, the value is set to be the same as the value of the award ball non-payout counter. When it is determined in step S842 shown in FIG. 56 that the value of the prize ball unpaid counter has increased, the value of the previous unpaid counter is subtracted from the value of the prize ball unpaid counter in step S843. Thus, the increment in the value of the prize ball unpaid counter is specified. In this way, it is possible to determine whether or not the value of the award ball unpaid counter has increased during the execution of the payout operation by the payout motor 51, by providing a previous unpaid counter separately from the award ball unpaid counter, When the value of the unpaid counter is increased, it is possible to specify the increment, and it is possible to reliably identify the increment in the number of game balls to be awarded with a simple configuration and simple operation.

図55に示すステップS833にて払出個数カウンタの値が賞球未払出カウンタの値に達した旨の判定がなされることにより、賞球となる遊技球の払出が完了したときには、ステップS837にて前回未払出カウンタの値がクリアされる。これにより、図56に示すステップS842の判定処理を実行するときや、ステップS843の減算処理を実行するときに、前回未払出カウンタに不適切な過去の数値が記憶されていることがないようにして、賞球となる遊技球の払出における誤動作を確実に防止することができる。   When it is determined in step S833 shown in FIG. 55 that the value of the number-of-payout counter has reached the value of the award ball non-payout counter, the payout of the game ball to be a prize ball is completed, and in step S837 The value of the previously unpaid counter is cleared. Thereby, when the determination process of step S842 shown in FIG. 56 is executed or when the subtraction process of step S843 is executed, an inappropriate past numerical value is not stored in the previous unpaid counter. Thus, it is possible to reliably prevent malfunctions in paying out the game balls serving as prize balls.

主基板11に搭載された遊技制御用マイクロコンピュータ100では、例えばCPU104が図32に示すステップS201、S202の処理を実行し、タッチセンサ75からのタッチセンサ検出信号がオン状態であり、かつ、満タンスイッチ26からの検出信号がオフ状態であるときに、図32に示すステップS206、S207や図33に示すステップS222、S225の処理を実行可能とすることで、発射装置19による遊技球の発射や球送り装置62による発射装置19への遊技球の供給を可能にする。このような構成により、遊技者等が操作ノブ30に接触していること、及び、下皿33が満タン状態ではないことを条件に、遊技球の発射を許可する許可信号を出力することができる。他方、遊技者等が操作ノブ30に接触していないときや、下皿33が満タン状態であるときには、遊技球の発射が許可されないので、例えば操作ノブ30の回転部と支持部との隙間にコイン等の異物を挿入させて操作ノブ30を固定することで操作ノブ30を遊技者自身が操作せずに遊技球を発射させるといった不正行為により遊技球が発射されることや、遊技球が下皿33の許容量を超えて払い出されてしまうことを防止できる。   In the game control microcomputer 100 mounted on the main board 11, for example, the CPU 104 executes the processes of steps S201 and S202 shown in FIG. 32, the touch sensor detection signal from the touch sensor 75 is on, and When the detection signal from the tongue switch 26 is in the off state, the processing of steps S206 and S207 shown in FIG. 32 and steps S222 and S225 shown in FIG. The game ball can be supplied to the launching device 19 by the ball feeding device 62 or the ball feeding device 62. With such a configuration, it is possible to output a permission signal permitting the launch of the game ball on condition that the player or the like is in contact with the operation knob 30 and that the lower plate 33 is not full. it can. On the other hand, when a player or the like is not in contact with the operation knob 30 or when the lower plate 33 is in a full tank state, the game ball is not allowed to be launched. For example, the gap between the rotating portion of the operation knob 30 and the support portion When a foreign object such as a coin is inserted and the operation knob 30 is fixed, the game ball is fired by an illegal act such that the game ball is fired without operating the operation knob 30 by the player himself. It can prevent paying out exceeding the allowable amount of the lower plate 33.

球送り装置62は、主基板11からの供給許可信号がオン状態であるときに駆動されて、上皿32に貯留された遊技球を発射装置19に供給する。そして、主基板11に搭載された遊技制御用マイクロコンピュータ100では、例えばCPU104が図33に示すステップS225の処理を実行することで、球送り装置62に対してオン状態の供給許可信号を出力させる。これにより、発射装置19に遊技球を供給する球送り装置62の制御により遊技球の発射を停止させることができ、発射装置19の駆動を制御する場合に比べて遊技制御用マイクロコンピュータ100における制御負担を軽減することができる。   The ball feeding device 62 is driven when the supply permission signal from the main board 11 is in an ON state, and supplies the game balls stored in the upper plate 32 to the launching device 19. Then, in the game control microcomputer 100 mounted on the main board 11, for example, the CPU 104 executes the process of step S225 shown in FIG. 33, thereby causing the ball feeder 62 to output an on-state supply permission signal. . Thereby, the launch of the game ball can be stopped by the control of the ball feeding device 62 that supplies the game ball to the launch device 19, and the control in the game control microcomputer 100 is compared to the case where the drive of the launch device 19 is controlled. The burden can be reduced.

また、図41に示すステップS308にて満タンスイッチ26からの検出信号がオン状態であるときに、ステップS309にて満タン報知中フラグがオフであると判定すれば、ステップS310での設定により満タン報知開始コマンドを演出制御基板12に対して送信させる。そして、演出制御用マイクロコンピュータ120は、図63に示すステップS954にて主基板11からの満タン報知開始コマンドを受信したと判定したときに、ステップS955での設定により図64(C)に例示するような満タン報知画面となる画像を画像表示装置5に表示させることで、下皿33が満タン状態であることを報知させる。これにより、下皿33における遊技球の貯留量が所定量に達したことをパチンコ遊技機1の外部で容易に認識できるようになる。   If it is determined in step S308 that the full tank notification flag is OFF in step S308 when the detection signal from the full switch 26 is in the ON state in step S308 shown in FIG. 41, the setting in step S310 is performed. A full tank notification start command is transmitted to the effect control board 12. Then, when it is determined in step S954 shown in FIG. 63 that the production control microcomputer 120 has received a full tank notification start command from the main board 11, the setting in step S955 is illustrated in FIG. 64C. By displaying on the image display device 5 an image that becomes such a full tank notification screen, it is notified that the lower plate 33 is in a full state. Thereby, it can be easily recognized outside the pachinko gaming machine 1 that the storage amount of the game balls in the lower tray 33 has reached a predetermined amount.

遊技制御用マイクロコンピュータ100に設けられた乱数回路103は、例えば12ビット乱数と16ビット乱数などのように、数値データの更新範囲が異なる乱数を生成するための回路を複数内蔵するように構成されている。そして、遊技制御用マイクロコンピュータ100では、パチンコ遊技機1への電力供給が開始されたときに、例えばCPU104が図27に示すステップS21でROM105に記憶されている第1乱数初期設定データ(KRSS1)の第4及び第3ビット[ビット4−3]を読出し、その読出値に基づくステップS22での処理として、図29に示す12ビット乱数初期設定処理や図30に示す16ビット乱数初期設定処理を実行可能にする。そして、図29に示す12ビット乱数初期設定処理が実行されることにより乱数回路103での12ビット乱数の生成が可能になり、図30に示す16ビット乱数初期設定処理が実行されることにより乱数回路103での16ビット乱数の生成が可能になる。他方、ステップS22での処理として12ビット乱数初期設定処理が実行されないときには、乱数回路103における12ビット乱数についての生成動作を停止させる処理を実行し、ステップS22での処理として16ビット乱数初期設定処理が実行されないときには、乱数回路103における16ビット乱数についての生成動作を停止させる処理を実行することで、使用すると設定された乱数とは異なる更新範囲の乱数を生成する回路の機能を停止させることができる。これにより、例えば特別図柄表示装置4による特図ゲームでの可変表示結果を大当りとするか否かの判定などのように、各種の判定に応じて用いる乱数に対応した回路の設定を行い、判定に要する処理負担を軽減することができる。   The random number circuit 103 provided in the game control microcomputer 100 is configured to include a plurality of circuits for generating random numbers having different numerical data update ranges, such as a 12-bit random number and a 16-bit random number. ing. In the gaming control microcomputer 100, when power supply to the pachinko gaming machine 1 is started, for example, the CPU 104 stores first random number initial setting data (KRSS1) stored in the ROM 105 in step S21 shown in FIG. 4 and 3rd bits [bits 4-3] are read out, and the process in step S22 based on the read value includes the 12-bit random number initial setting process shown in FIG. 29 and the 16-bit random number initial setting process shown in FIG. Make it executable. Then, the 12-bit random number initial setting process shown in FIG. 29 is executed, so that the random number circuit 103 can generate the 12-bit random number. The 16-bit random number initial setting process shown in FIG. The circuit 103 can generate a 16-bit random number. On the other hand, when the 12-bit random number initial setting process is not executed as the process in step S22, the process for stopping the generation operation for the 12-bit random number in the random number circuit 103 is executed, and the 16-bit random number initial setting process is executed as the process in step S22. Is not executed, the processing of stopping the generation operation for the 16-bit random number in the random number circuit 103 is executed, thereby stopping the function of the circuit that generates a random number having a different update range from the set random number. it can. Thereby, the circuit corresponding to the random number used according to various determinations is set, for example, whether or not the variable display result in the special symbol game by the special symbol display device 4 is a big hit, and the determination is made. Can reduce the processing load required.

遊技制御用マイクロコンピュータ100では、パチンコ遊技機1への電力供給が開始されたときに、例えばCPU104が図29に示すステップS107でROM105に記憶されている12ビット乱数最大値(KRMS)を読出し、その読出値をステップS108にて乱数回路103が備える最大値比較回路177Aに設定した後、その読出値が12ビット乱数用の最大値として設定可能な範囲内であるか否かを、ステップS109にて判定する。そして、ステップS109にて設定可能な範囲内ではない旨の判定がなされたときには、ステップS110にて12ビット乱数用の最大値として設定可能な範囲内の所定値を再設定する。また、例えばCPU104が図30に示すステップS129でROM105に記憶されている16ビット乱数最大値(KRXS)を読出し、その読出値をステップS130にて乱数回路103が備える最大値比較回路177Bに設定した後、その読出値が16ビット乱数用の最大値として設定可能な範囲内であるか否かを、ステップS131にて判定する。そして、ステップS131にて設定可能な範囲内ではない旨の判定がなされたときに、ステップS132にて16ビット乱数用の最大値として設定可能な範囲内の所定値を再設定する。   In the gaming control microcomputer 100, when power supply to the pachinko gaming machine 1 is started, for example, the CPU 104 reads the 12-bit random number maximum value (KRMS) stored in the ROM 105 in step S107 shown in FIG. After the read value is set in the maximum value comparison circuit 177A included in the random number circuit 103 in step S108, whether or not the read value is within a range that can be set as the maximum value for the 12-bit random number is determined in step S109. Judgment. If it is determined in step S109 that it is not within the settable range, a predetermined value within the range that can be set as the maximum value for 12-bit random numbers is reset in step S110. Further, for example, the CPU 104 reads the maximum 16-bit random number (KRXS) stored in the ROM 105 in step S129 shown in FIG. 30, and sets the read value in the maximum value comparison circuit 177B included in the random number circuit 103 in step S130. Thereafter, it is determined in step S131 whether or not the read value is within a range that can be set as the maximum value for a 16-bit random number. When it is determined in step S131 that it is not within the settable range, a predetermined value within the range that can be set as the maximum value for 16-bit random numbers is reset in step S132.

こうした12ビット乱数用や16ビット乱数用の最大値を所定範囲内で任意に設定できるようにすることで、乱数値の使用範囲を詳細に設定可能となり、判定に要する処理負担を軽減することができる。具体的な一例として、1/400(400分の1)の確率で所定の判定値データと合致する乱数値を生成する場合に、乱数値の使用範囲が「1」から「4000」までに固定されている場合には、判定値データとして「1」から「4000」までに含まれる10個の数値を示すデータを予め用意して、抽出した乱数値が10個の数値のいずれかと合致するか否かの判定を実行(最大で10回の判定を実行)する必要がある。これに対して、乱数値の使用範囲を「1」から「400」までに設定できれば、判定値データとして1個の数値を示すデータを予め用意して、抽出した乱数値が当該1個の数値と合致するか否かの判定を1回実行するだけでよい。また、誤動作や不正により極端に狭い範囲で乱数が更新されることも防止できる。   By making it possible to arbitrarily set the maximum value for 12-bit random numbers and 16-bit random numbers within a predetermined range, it is possible to set the use range of random values in detail, and to reduce the processing load required for determination. it can. As a specific example, when generating a random value that matches a predetermined determination value data with a probability of 1/400 (1/400), the use range of the random value is fixed to “1” to “4000”. If it is determined, data indicating 10 numerical values included in “1” to “4000” is prepared in advance as determination value data, and whether the extracted random number value matches any of the 10 numerical values. It is necessary to execute a determination of whether or not (execute a maximum of 10 determinations). On the other hand, if the use range of the random number value can be set from “1” to “400”, data indicating one numerical value is prepared in advance as the determination value data, and the extracted random number value is the single numerical value. It is only necessary to execute the determination of whether or not it matches. In addition, it is possible to prevent random numbers from being updated within an extremely narrow range due to malfunctions or fraud.

乱数回路103では、例えば12ビット乱数用に設けられた乱数生成回路173Aが、乱数値レジスタ181Aからの格納値更新信号KTがローレベルからハイレベルに立上がったことに応答して、数値データC1を更新する。その一方で、16ビット乱数用に設けられた乱数生成回路173Bが、クロック信号出力回路171からのクロック信号S1がローレベルからハイレベルに立上がったことに応答して、数値データC2を更新する。そして、クロック信号出力回路171から出力されるクロック信号S1の周期を、ROM105に記憶されている第1乱数初期設定データ(KRSS1)の第2ビット[ビット2]における設定に応じて、内部システムクロックCLKの周期と、内部システムクロックCLKの16倍の周期のいずれかに設定することで、乱数生成回路173Bが数値データC2を更新する周期を複数種類の周期のいずれかに設定することができる。このように、乱数回路103では、12ビット乱数を生成するために用いられる数値データC1や16ビット乱数を生成するために用いられる数値データC2を、複数の更新方式のいずれかにより更新することができる。遊技制御用マイクロコンピュータ100では、例えばCPU104が図30に示すステップS121にてROM105に記憶されている第1乱数初期設定データ(KRSS1)の第2ビット[ビット2]を読出し、その読出値に基づいて乱数回路103に設けられたクロック信号出力回路171における動作設定を、ステップS122にて行う。これにより、乱数値の更新方式を異ならせて乱数のランダム性を高めることができる。   In the random number circuit 103, for example, the random number generation circuit 173A provided for the 12-bit random number responds to the fact that the stored value update signal KT from the random number register 181A rises from the low level to the high level, and the numerical data C1 Update. On the other hand, the random number generation circuit 173B provided for the 16-bit random number updates the numerical data C2 in response to the rise of the clock signal S1 from the clock signal output circuit 171 from the low level to the high level. . The cycle of the clock signal S1 output from the clock signal output circuit 171 is set according to the setting in the second bit [bit 2] of the first random number initial setting data (KRSS1) stored in the ROM 105. By setting either the cycle of CLK or a cycle 16 times the internal system clock CLK, the cycle in which the random number generation circuit 173B updates the numerical data C2 can be set to any of a plurality of types of cycles. As described above, the random number circuit 103 can update the numerical data C1 used to generate a 12-bit random number and the numerical data C2 used to generate a 16-bit random number by any of a plurality of update methods. it can. In the game control microcomputer 100, for example, the CPU 104 reads the second bit [bit 2] of the first random number initial setting data (KRSS1) stored in the ROM 105 in step S121 shown in FIG. 30, and based on the read value. Operation setting in the clock signal output circuit 171 provided in the random number circuit 103 is performed in step S122. As a result, the randomness update method can be made different to improve the randomness of the random numbers.

図29に示すステップS104の処理や、図30に示すステップS126の処理では、例えば遊技制御用マイクロコンピュータ100ごとに付与された固有のIDナンバーに所定のスクランブル処理を施す演算や、そのIDナンバーを用いた加算・減算・乗算・除算などの演算を実行して、算出された値を12ビット乱数や16ビット乱数を生成するためのスタート値に設定することができる。これにより、電力供給が開始された後に更新が開始される乱数の初期値を複数のパチンコ遊技機1でそれぞれ異ならせることができ、このようにして生成される乱数値を用いて特別図柄表示装置4による特図ゲームなどにおける可変表示結果を大当りとするか否かの判定を行うことで、乱数のランダム性を高めて不正に大当りが発生させられてしまうことを防止できる。また、遊技制御用マイクロコンピュータ100ごとに付与された固有の識別情報からスタート値を特定することが困難になるので、不正に大当りが発生させられてしまうことを、より確実に防止することができる。   In the processing of step S104 shown in FIG. 29 and the processing of step S126 shown in FIG. The calculated value can be set as a start value for generating a 12-bit random number or a 16-bit random number by executing the operations such as addition / subtraction / multiplication / division used. Thereby, the initial value of the random number that is updated after the power supply is started can be made different in each of the plurality of pachinko gaming machines 1, and the special symbol display device using the random value generated in this way By determining whether or not the variable display result in a special game such as 4 is a big hit, it is possible to improve randomness of random numbers and prevent a big hit from being generated illegally. In addition, since it becomes difficult to specify the start value from the unique identification information given to each game control microcomputer 100, it is possible to more reliably prevent the jackpot from being illegally generated. .

始動口スイッチ22は、遊技球が始動入賞口に入賞したことを検出し、特別図柄表示装置4による特図ゲームを実行するための始動条件が成立したことを示す始動入賞信号を出力する。そして、乱数回路103では、始動口スイッチ22から出力された始動入賞信号がタイマ回路179に入力され、タイマ回路179からの出力信号がラッチ信号生成回路180に入力されることにより、始動入賞信号が出力されたことに応じてラッチ信号SLを出力することができる。そして、タイマ回路179では、始動入賞信号SSの入力時間を計測し、計測した時間が予め設定された時間(3ミリ秒)になったとき、出力信号をローレベルからハイレベルに立上げる。ラッチ信号生成回路180では、反転回路178から出力される反転クロック信号S2に同期してタイマ回路179からの出力信号をラッチ信号SLとして出力する。このため、パチンコ遊技機1は、ラッチ信号生成回路180がノイズの影響等により誤って乱数値レジスタ181Bにラッチ信号SLを出力することを防止することができる。また、タイマ回路179には、2回のタイマ割込処理の実行期間「4ミリ秒」よりも短い「3ミリ秒」が設定されているため、CPU104が乱数値レジスタ181Bから今回読出した乱数値が前回読出した乱数値と同じ値になることを防止することができる。   The start port switch 22 detects that a game ball has won a start winning port, and outputs a start winning signal indicating that a start condition for executing the special symbol game by the special symbol display device 4 is satisfied. In the random number circuit 103, the start winning signal output from the start port switch 22 is input to the timer circuit 179, and the output signal from the timer circuit 179 is input to the latch signal generation circuit 180, whereby the start winning signal is generated. The latch signal SL can be output in response to the output. The timer circuit 179 measures the input time of the start winning signal SS, and when the measured time reaches a preset time (3 milliseconds), the output signal is raised from the low level to the high level. The latch signal generation circuit 180 outputs the output signal from the timer circuit 179 as the latch signal SL in synchronization with the inverted clock signal S2 output from the inverter circuit 178. For this reason, the pachinko gaming machine 1 can prevent the latch signal generation circuit 180 from erroneously outputting the latch signal SL to the random value register 181B due to the influence of noise or the like. In addition, since the timer circuit 179 is set to “3 milliseconds” shorter than the execution period “4 milliseconds” of the two timer interruption processes, the random number value read by the CPU 104 from the random value register 181B this time is set. Can be prevented from becoming the same value as the previously read random number value.

遊技制御用マイクロコンピュータ100では、例えばCPU104が図29に示すステップS111でROM105に記憶されている第1乱数初期設定データ(KRSS1)の第1及び第0ビット[ビット1−0]を読出し、その読出値に基づいてステップS112の処理を実行して12ビット乱数における2周目以降のスタート値に関する設定を行う。そして、図34に示すステップS242で設定を読出し、その読出値に基づいてステップS244、S248、S251の処理のいずれかを実行したときに、乱数回路103にて12ビット乱数を生成するために用いられる数値データC1におけるスタート値を変更する設定を行う。また、例えばCPU104が図30に示すステップS133でROM105に記憶されている第2乱数初期設定データ(KRSS2)の第3及び第2ビット[ビット3−2]を読出し、その読出値に基づいてステップS134の処理を実行して16ビット乱数における2周目以降のスタート値に関する設定を行う。そして、図35に示すステップS254で設定を読出し、その読出値に基づいてステップS256、S260、S263の処理のいずれかを実行したときに、乱数回路103にて16ビット乱数を生成するために用いられる数値データC2におけるスタート値を変更する設定を行う。乱数回路103では、12ビット乱数用に設けられた乱数生成回路173Aが所定の最終値まで数値データを更新したときには乱数一巡信号RIJ1を出力する一方、16ビット乱数用に設けられた乱数生成回路173Bが所定の最終値まで数値データを更新したときには乱数一巡信号RIJ2を出力する。そして、乱数生成回路173Aが乱数一巡信号RIJ1を出力したときには、例えば初期値設定回路172AがCPU104によって設定されたスタート値を乱数生成回路173Aに設定する一方、乱数生成回路173Bが乱数一巡信号RIJ2を出力したときには、例えば初期値設定回路172BがCPU104によって設定されたスタート値を乱数生成回路173Bに設定することで、12ビット乱数や16ビット乱数を生成するためのスタート値を変更することができる。これにより、所定の初期値から所定の最終値まで数値データC1や数値データC2が更新されたときに、次の周期における初期値となるスタート値を変更して、乱数のランダム性を高めることができる。   In the gaming control microcomputer 100, for example, the CPU 104 reads the first and 0th bits [bits 1-0] of the first random number initial setting data (KRSS1) stored in the ROM 105 in step S111 shown in FIG. Based on the read value, the process of step S112 is executed to set the start value for the second and subsequent rounds in the 12-bit random number. Then, the setting is read out in step S242 shown in FIG. 34, and is used to generate a 12-bit random number in the random number circuit 103 when any of the processes in steps S244, S248, and S251 is executed based on the read value. The setting for changing the start value in the numerical data C1 to be performed is performed. Further, for example, the CPU 104 reads out the third and second bits [bit 3-2] of the second random number initial setting data (KRSS2) stored in the ROM 105 in step S133 shown in FIG. 30, and performs steps based on the read value. The process of S134 is executed to set the start value for the second and subsequent rounds in the 16-bit random number. Then, the setting is read out in step S254 shown in FIG. 35, and is used to generate a 16-bit random number in the random number circuit 103 when any of the processes in steps S256, S260, and S263 is executed based on the read value. The setting for changing the start value in the numerical data C2 to be performed is performed. In the random number circuit 103, when the random number generation circuit 173A provided for the 12-bit random number updates the numerical data to a predetermined final value, the random number cyclic circuit RIJ1 is output, while the random number generation circuit 173B provided for the 16-bit random number. When the numerical data is updated to a predetermined final value, a random number round-trip signal RIJ2 is output. When the random number generation circuit 173A outputs the random number loop signal RIJ1, for example, the initial value setting circuit 172A sets the start value set by the CPU 104 in the random number generation circuit 173A, while the random number generation circuit 173B sets the random number loop signal RIJ2 When the data is output, for example, the initial value setting circuit 172B sets the start value set by the CPU 104 in the random number generation circuit 173B, whereby the start value for generating a 12-bit random number or a 16-bit random number can be changed. As a result, when the numerical data C1 and the numerical data C2 are updated from a predetermined initial value to a predetermined final value, the start value that is the initial value in the next cycle is changed to increase the randomness of the random number. it can.

遊技制御用マイクロコンピュータ100では、パチンコ遊技機1への電力供給が開始されたときに、例えばCPU104が図29に示すステップS105でROM105に記憶されている第2乱数初期設定データ(KRSS2)の第6及び第5ビット[ビット6−5]を読出し、その読出値に基づいてステップS106の処理を実行することで12ビット乱数用のセレクタとして乱数回路103に設けられたセレクタ174Aにおける選択動作の設定を行う。これにより、乱数列変更回路176Aが12ビット乱数用の数値データR1を更新する際の更新順である順列を、2周目以降において自動的に変更する第1の方式や、2周目以降においてユーザプログラムにより変更可能とする第2の方式により、変更させることができる。あるいは、2周目以降においては変更させない第3の方式とすることもできる。また、例えばCPU104が図30に示すステップS127でROM105に記憶されている第2乱数初期設定データ(KRSS2)の第1及び第0ビット[ビット1−0]を読出し、その読出値に基づいてステップS128の処理を実行することで16ビット乱数用のセレクタとして乱数回路103に設けられたセレクタ174Bにおける選択動作の設定を行う。これにより、乱数列変更回路176Bが16ビット乱数用の数値データR2を更新する際の更新順である順列を、2周目以降において自動的に変更する第1の方式や、2周目以降においてユーザプログラムにより変更可能とする第2の方式により、変更させることができる。あるいは、2周目以降においては変更させない第3の方式とすることもできる。そして、2周目以降においてユーザプログラムにより変更可能とする第2の方式に設定したときには、例えばCPU104が図36に示すステップS274にてARSC175Aの第0ビット[ビット0]に“1”を設定したり、図36に示すステップS279にてBRSC175Bの第0ビット[ビット0]に“1”を設定したりすることで、数値順列変更データを設定する。乱数回路103では、例えばセレクタ174Aによって第2の方式が選択されているときには、ARSC175Aに設定された数値順列変更データが乱数列変更回路176Aによって読み出され、乱数生成回路173Aから出力された数値データ列C1の値が所定の最終値に達したことに応じて、数値データC1の順列を定める更新規則を変更する。また、例えばセレクタ174Bによって第2の方式が選択されているときには、BRSC175Bに設定された数値順列変更データが乱数列変更回路176Bによって読み出され、乱数生成回路173Bから出力された数値データ列C2の値が所定の最終値に達したことに応じて、数値データC2の順列を定める更新規則を変更する。これにより、所定の初期値から所定の最終値まで数値データC1や数値データC2が更新されたときに、順列を様々に変更して乱数のランダム性を高めることができる。   In the gaming control microcomputer 100, when power supply to the pachinko gaming machine 1 is started, for example, the CPU 104 stores the second random number initial setting data (KRSS2) stored in the ROM 105 in step S105 shown in FIG. 6 and the fifth bit [bits 6-5] are read, and the processing of step S106 is executed based on the read value, thereby setting the selection operation in the selector 174A provided in the random number circuit 103 as a selector for 12-bit random numbers. I do. Accordingly, in the first method in which the permutation, which is the update order when the random number sequence changing circuit 176A updates the numerical data R1 for the 12-bit random number, is automatically changed after the second round, and after the second round. It can be changed by the second method that can be changed by the user program. Or it can also be set as the 3rd system which is not changed after the 2nd round. Further, for example, the CPU 104 reads the first and 0th bits [bits 1-0] of the second random number initial setting data (KRSS2) stored in the ROM 105 in step S127 shown in FIG. 30, and performs steps based on the read value. By performing the processing of S128, the selection operation is set in the selector 174B provided in the random number circuit 103 as a selector for 16-bit random numbers. Accordingly, in the first method in which the permutation, which is the update order when the random number sequence changing circuit 176B updates the numerical data R2 for 16-bit random numbers, is automatically changed in the second and subsequent rounds, and in the second and subsequent rounds. It can be changed by the second method that can be changed by the user program. Or it can also be set as the 3rd system which is not changed after the 2nd round. Then, when the second method that can be changed by the user program is set in the second round and thereafter, for example, the CPU 104 sets “0” to the 0th bit [bit 0] of the ARSC 175A in step S274 shown in FIG. Alternatively, numerical permutation change data is set by setting “0” to the 0th bit [bit 0] of BRSC 175B in step S279 shown in FIG. In the random number circuit 103, for example, when the second method is selected by the selector 174A, the numerical value permutation change data set in the ARSC 175A is read by the random number sequence change circuit 176A, and the numerical data output from the random number generation circuit 173A In response to the value of the column C1 reaching a predetermined final value, the update rule for determining the permutation of the numerical data C1 is changed. For example, when the second method is selected by the selector 174B, the numerical permutation change data set in the BRSC 175B is read by the random number sequence change circuit 176B, and the numerical data sequence C2 output from the random number generation circuit 173B is read. In response to the value reaching a predetermined final value, the update rule that determines the permutation of the numerical data C2 is changed. Thereby, when the numerical data C1 and the numerical data C2 are updated from a predetermined initial value to a predetermined final value, the permutation can be changed variously to increase randomness of random numbers.

また、電力供給が開始されたときに、遊技制御用マイクロコンピュータ100が図27に示すステップS7にてクリア信号がオン状態となっているか否かを判定した後に、ステップS9での設定に基づき、ステップS10、S11にて所定の遅延時間が経過するまで待機してから、遊技の進行を制御するための遊技制御処理の実行を可能にする。そして、ここでの遅延時間は、遊技制御処理が実行可能な状態となったときから、少なくとも払出制御用マイクロコンピュータ150による払出制御用の各種処理が実行開始されるまでは遅延させるように設定されている。このようにステップS7での判定処理を実行してからステップS10、S11にて所定の遅延時間が経過するまで待機することで、遊技制御用マイクロコンピュータ100と払出制御用マイクロコンピュータ150において、クリアスイッチ304からの検出信号がオン状態となっているか否かを判定するタイミングに差違が生じないため、電源基板10に搭載されたクリアスイッチ304に対する操作に応じて遊技制御用マイクロコンピュータ100と払出制御用マイクロコンピュータ150とが確実に初期化時における設定を行うための初期化処理を実行することができ、制御状態の整合がとれなくなることを防止できる。加えて、パチンコ遊技機1への電力供給を開始するときに、所定の遅延時間が経過するまでクリアスイッチ304を操作し続けなくても、遊技制御用マイクロコンピュータ100と払出制御用マイクロコンピュータ150の双方にて確実に初期化処理を実行させることができる。また、払出制御用マイクロコンピュータ150による払出制御用の各種処理が実行開始されてから遊技制御用マイクロコンピュータ100による遊技制御処理の実行が開始されるので、払出制御用マイクロコンピュータ150は遊技制御用マイクロコンピュータ100からの払出制御コマンドを確実に受信することができる。   In addition, when the power supply is started, after the game control microcomputer 100 determines whether or not the clear signal is in the on state in step S7 shown in FIG. 27, based on the setting in step S9, After waiting for a predetermined delay time to elapse in steps S10 and S11, it is possible to execute a game control process for controlling the progress of the game. The delay time here is set to be delayed from when the game control process can be executed until at least the execution of various payout control processes by the payout control microcomputer 150 is started. ing. In this way, by executing the determination process in step S7 and waiting until a predetermined delay time elapses in steps S10 and S11, in the game control microcomputer 100 and the payout control microcomputer 150, the clear switch Since there is no difference in the timing for determining whether or not the detection signal from 304 is in the ON state, the game control microcomputer 100 and the payout control are in accordance with the operation on the clear switch 304 mounted on the power supply board 10. It is possible to execute initialization processing for surely performing settings at the time of initialization with the microcomputer 150, and it is possible to prevent the control state from being lost. In addition, when power supply to the pachinko gaming machine 1 is started, the game control microcomputer 100 and the payout control microcomputer 150 can be operated without continuing to operate the clear switch 304 until a predetermined delay time elapses. The initialization process can be surely executed by both. In addition, since the execution of the game control process by the game control microcomputer 100 is started after the various processes for the payout control by the payout control microcomputer 150 are started, the payout control microcomputer 150 is used for the game control microcomputer. The payout control command from the computer 100 can be reliably received.

加えて、演出制御基板12に搭載された演出制御用マイクロコンピュータ120は、払出制御用マイクロコンピュータ150と同様に、パチンコ遊技機1への電力供給が開始されたときに遅延処理を実行しない。そのため、遊技制御処理は演出制御用マイクロコンピュータ120による制御が開始された後に開始されることになる。したがって、主基板11から演出制御基板12に対して演出制御コマンドを送信する際に、演出制御用マイクロコンピュータ120は確実にコマンドを受信して、受信したコマンドに基づく報知処理などを実行することができる。   In addition, similarly to the payout control microcomputer 150, the effect control microcomputer 120 mounted on the effect control board 12 does not execute delay processing when power supply to the pachinko gaming machine 1 is started. Therefore, the game control process is started after the control by the production control microcomputer 120 is started. Therefore, when the effect control command is transmitted from the main board 11 to the effect control board 12, the effect control microcomputer 120 can reliably receive the command and execute notification processing based on the received command. it can.

さらに、遊技制御用マイクロコンピュータ100では、例えばCPU104がステップS9での設定に基づく遅延処理を実行するより前のステップS7にてクリア信号の状態を確認しているので、払出制御用マイクロコンピュータ150との制御状態の整合がとれなくなる可能性を低減することができる。   Further, in the game control microcomputer 100, for example, the CPU 104 confirms the state of the clear signal in step S7 before executing the delay processing based on the setting in step S9. It is possible to reduce the possibility that the control states cannot be matched.

遊技制御用マイクロコンピュータ100では、パチンコ遊技機1への電力供給が開始されたときに、例えばCPU104が図27に示すステップS7にてクリア信号がオン状態となっているか否かを判定するより前に実行するステップS5の処理にて、電源基板10に搭載された電源監視回路303から出力される電源断信号がオフ状態となったか否かの判定を行う。そして、電源断信号がオフ状態となってから、ステップS7にてクリア信号がオン状態となっているか否かの判定を行うようにしている。また、払出制御用マイクロコンピュータ150も、パチンコ遊技機1への電力供給が開始されたときには、例えば図46に示すステップS508にてクリア信号がオン状態となっているか否かを判定するより前に実行するステップS505の処理にて、電源基板10からの電源断信号がオフ状態となったか否かを判定し、オフ状態となってからステップS508の処理に進むようにしている。このように、電源基板10から供給される電源電圧の安定が確認されてからクリア信号の状態をチェックすることで、クリア信号の出力状態(オン状態であるかオフ状態であるか)を確実に特定することができ、例えばクリア信号がオフ状態となっているにもかかわらずオン状態であると検出したり、クリア信号がオン状態となっているにもかかわらずオフ状態であると検出したりするといった、誤検出を防止することができる。   In the gaming control microcomputer 100, when power supply to the pachinko gaming machine 1 is started, for example, before the CPU 104 determines whether or not the clear signal is on in step S7 shown in FIG. It is determined whether or not the power-off signal output from the power supply monitoring circuit 303 mounted on the power supply substrate 10 has been turned off in the process of step S5 executed at step S5. Then, after the power-off signal is turned off, it is determined whether or not the clear signal is turned on in step S7. In addition, when the supply of power to the pachinko gaming machine 1 is started, the payout control microcomputer 150 also, for example, before determining whether or not the clear signal is in the on state in step S508 shown in FIG. In the process of step S505 to be executed, it is determined whether or not the power-off signal from the power supply board 10 has been turned off, and the process proceeds to step S508 after being turned off. Thus, by checking the state of the clear signal after the stability of the power supply voltage supplied from the power supply substrate 10 is confirmed, the output state of the clear signal (on state or off state) is ensured. For example, it can be detected that the clear signal is on even though the clear signal is off, or it can be detected that the clear signal is off even though the clear signal is on. It is possible to prevent erroneous detection such as.

図6に示したように、電源監視回路303は電源基板10に搭載されている。そして、電源監視回路303から出力された電源断信号は、払出制御基板15に入力された後、払出制御基板15から主基板11へと伝送することで、電源基板10から払出制御基板15及び主基板11の双方に電源断信号を伝送するための配線を接続する場合に比べて配線構成を簡略化でき、パチンコ遊技機1のコストを低減させることができる。また、電源基板10と払出制御基板15を遊技機用枠3に設置する一方で、主基板11は遊技盤2に設置することで、電源基板10からの電源断信号を伝送するための配線構成を簡略化でき、配線長が短くなってノイズの影響を受けにくくすることができる。   As shown in FIG. 6, the power supply monitoring circuit 303 is mounted on the power supply board 10. Then, the power-off signal output from the power supply monitoring circuit 303 is input to the payout control board 15 and then transmitted from the payout control board 15 to the main board 11, so that the payout control board 15 and the main control board 15 and the main control board 15 are transmitted. The wiring configuration can be simplified and the cost of the pachinko gaming machine 1 can be reduced as compared with the case where the wiring for transmitting the power-off signal is connected to both the boards 11. The power supply board 10 and the payout control board 15 are installed in the gaming machine frame 3, while the main board 11 is installed in the game board 2 to transmit a power-off signal from the power supply board 10. Can be simplified, and the wiring length can be shortened to make it less susceptible to noise.

遊技制御用マイクロコンピュータ100では、例えばCPU104が図39に示すステップS421にて賞球ACK受信フラグがオンである旨の判定をしたときにステップS425にてコマンド送信回数カウンタの値を1加算する一方で図41に示すステップS301にて全入賞球検出スイッチ29からの検出信号がオン状態である旨の判定をしたときにステップS302にてコマンド送信回数カウンタの値を1減算することで、コマンド送信回数カウンタの値により、第1〜第3払出数指定コマンドのいずれかを送信した回数と、全入賞球検出スイッチ29からの検出信号に応じて検出された遊技球の個数との差を入賞個数差として特定する。そして、図41に示すステップS303の処理を実行して入賞個数差が異常判定値の1つである賞球過多基準値に達したと判定したときには、ステップS304の処理を実行して賞球過多報知コマンドを演出制御基板12に対して送信させる。また、図41に示すステップS305の処理を実行して入賞個数差が異常判定値の1つである賞球不足基準値に達したと判定したときには、ステップS306の処理を実行して賞球不足報知コマンドを演出制御基板12に対して送信させる。演出制御基板12の側では、図63に示すステップS945の処理を実行して賞球過多報知コマンドを受信した旨の判定をしたときにはステップS946の処理を実行して賞球過多が発生した旨の報知を行う。また、図63に示すステップS948の処理を実行して賞球不足報知コマンドを受信した旨の判定をしたときにはステップS949の処理を実行して賞球不足が発生した旨の報知を行う。これにより、賞球として払い出される遊技球の個数を直接カウントすることなく、賞球として払い出される遊技球の個数に異常が生じたことを検出できる。また、入賞口に入賞した遊技球の個数は、賞球として払い出される遊技球の個数に比べて少ないことから、データの記憶量を少なくすることができる。さらに、1つのコマンド送信回数カウンタにおけるカウント値を更新するだけで払出数指定コマンドの送信回数と全入賞球検出スイッチ29によって検出された遊技球の個数との差を入賞個数差として特定することができるから、制御負担の増大を抑制して、賞球として払い出される遊技球の個数に異常が発生したか否かを判定することができる。加えて、1つのコマンド送信回数カウンタにおけるカウント値を記憶するだけでよいことから、複数のカウンタにおけるカウント値を用いる場合に比べて、データの記憶量を少なくすることができる。   In the game control microcomputer 100, for example, when the CPU 104 determines that the prize ball ACK reception flag is ON in step S421 shown in FIG. 39, the command transmission number counter is incremented by 1 in step S425. When it is determined in step S301 shown in FIG. 41 that the detection signal from the all winning ball detection switch 29 is on, the command transmission counter is decremented by 1 in step S302. Based on the value of the number counter, the difference between the number of times one of the first to third payout number designation commands is transmitted and the number of game balls detected according to the detection signal from the all winning ball detection switch 29 Specify as a difference. When the process of step S303 shown in FIG. 41 is executed and it is determined that the difference in the number of winnings has reached the excessive ball reference value, which is one of the abnormality determination values, the process of step S304 is executed and the excessive number of winning balls A notification command is transmitted to the effect control board 12. Also, when it is determined that the winning number difference has reached the shortage reference value, which is one of the abnormality determination values, by executing the process of step S305 shown in FIG. A notification command is transmitted to the effect control board 12. On the side of the effect control board 12, when it is determined that the process of step S945 shown in FIG. 63 is performed and the award ball excessive notification command has been received, the process of step S946 is performed to indicate that excessive award balls have occurred. Notification. Also, when it is determined that the winning ball shortage notification command has been received by executing the processing of step S948 shown in FIG. 63, the processing of step S949 is executed to notify that the shortage of winning balls has occurred. Accordingly, it is possible to detect that an abnormality has occurred in the number of game balls to be paid out as prize balls without directly counting the number of game balls to be paid out as prize balls. In addition, since the number of game balls won in the winning opening is smaller than the number of game balls paid out as prize balls, the amount of data stored can be reduced. Further, it is possible to specify the difference between the number of payout number designation command transmissions and the number of game balls detected by the all winning ball detection switch 29 as a winning number difference by simply updating the count value in one command transmission number counter. Therefore, it is possible to determine whether an abnormality has occurred in the number of game balls to be paid out as prize balls while suppressing an increase in control burden. In addition, since it is only necessary to store the count value in one command transmission number counter, the data storage amount can be reduced as compared with the case where the count values in a plurality of counters are used.

遊技制御用マイクロコンピュータ100がシリアル通信回路108を備えるとともに払出制御用マイクロコンピュータ150がシリアル通信回路218を備え、双方向のシリアル通信を行うことができる。そして、遊技制御用マイクロコンピュータ100と払出制御用マイクロコンピュータ150との間では、例えば図10(A)に示すように2バイト構成の1バイト目を反転させて2バイト目とした払出制御コマンドや払出通知コマンドを生成して送受信する。そして、遊技制御用マイクロコンピュータ100では、例えばCPU104が図42に示すステップS335にて受信コマンドの1バイト目と2バイト目との排他的論理和を演算することにより、払出制御用マイクロコンピュータ150を搭載した払出制御基板15から送信された払出通知コマンドを正しく受信できたか否かの判定を行う。他方、払出制御用マイクロコンピュータ150では、例えばCPU214が図48に示すステップS605にて受信コマンドの1バイト目と2バイト目との排他的論理和を演算することにより、遊技制御用マイクロコンピュータ100を搭載した主基板11から送信された払出制御コマンドを正しく受信できたか否かの判定を行う。これにより、主基板11と払出制御基板15との間で送受信されるコマンドの管理が容易かつ確実になり、コマンド送受信中における誤りの発生を容易かつ確実に検出して誤ったコマンドを受信する可能性を低減することができ、遊技制御用マイクロコンピュータ100と払出制御用マイクロコンピュータ150との整合をとりやすくなる。   The game control microcomputer 100 includes the serial communication circuit 108 and the payout control microcomputer 150 includes the serial communication circuit 218, so that bidirectional serial communication can be performed. Then, between the game control microcomputer 100 and the payout control microcomputer 150, for example, as shown in FIG. 10A, a payout control command in which the first byte of the 2-byte structure is inverted to the second byte, A payout notification command is generated and transmitted / received. In the game control microcomputer 100, for example, the CPU 104 calculates the exclusive OR of the first byte and the second byte of the received command in step S335 shown in FIG. It is determined whether or not the payout notification command transmitted from the mounted payout control board 15 has been correctly received. On the other hand, in the payout control microcomputer 150, for example, the CPU 214 calculates the exclusive OR of the first byte and the second byte of the received command in step S605 shown in FIG. It is determined whether the payout control command transmitted from the mounted main board 11 has been correctly received. Thereby, the management of commands transmitted and received between the main board 11 and the payout control board 15 becomes easy and reliable, and it is possible to easily and reliably detect an error during command transmission and reception and receive an erroneous command. The game control microcomputer 100 and the payout control microcomputer 150 can be easily matched.

図6に示したように、クリアスイッチ304は電源基板10に搭載されている。そして、クリアスイッチ304から出力されたクリア信号は、主基板11に入力された後、主基板11から払出制御基板15へと伝送することで、電源基板10から主基板11及び払出制御基板15の双方にクリア信号を伝送するための配線を接続する場合に比べて配線構成を簡略化でき、パチンコ遊技機1のコストを低減させることができるとともに、配線長が短くなってノイズの影響を受けにくくすることができる。   As shown in FIG. 6, the clear switch 304 is mounted on the power supply substrate 10. The clear signal output from the clear switch 304 is input to the main board 11 and then transmitted from the main board 11 to the payout control board 15, so that the main board 11 and the payout control board 15 are transmitted from the power supply board 10. The wiring configuration can be simplified and the cost of the pachinko gaming machine 1 can be reduced as compared with the case where the wiring for transmitting the clear signal is connected to both sides, and the wiring length is shortened and hardly affected by noise. can do.

乱数回路103では、例えば乱数生成回路173Bがクロック信号出力回路171から入力されるクロック信号S1の入力に基づいて、数値データC2を更新可能な所定の範囲において所定の初期値から所定の最終値まで、予め定められた順序(例えば「1→2→…→65535」の順序)に従って循環的に更新する。これに対して、ラッチ信号生成回路180は、始動入賞信号SSの入力に応じたタイマ回路179からの出力信号を、反転回路178により出力された反転クロック信号S2に同期して、ラッチ信号SLとして出力する。これにより、乱数値の取得を確実かつ安定的に行うことができる。   In the random number circuit 103, for example, from the predetermined initial value to the predetermined final value in a predetermined range in which the numerical data C2 can be updated based on the input of the clock signal S1 input from the clock signal output circuit 171 by the random number generation circuit 173B. The data is updated cyclically according to a predetermined order (for example, an order of “1 → 2 →... → 65535”). On the other hand, the latch signal generation circuit 180 synchronizes the output signal from the timer circuit 179 according to the input of the start winning signal SS as the latch signal SL in synchronization with the inverted clock signal S2 output by the inverter circuit 178. Output. Thereby, acquisition of a random number value can be performed reliably and stably.

また、例えばオーバーランエラーやノイズエラー、フレーミングエラー、パリティエラーなどといった、シリアル通信回路108でのエラー発生に対応するエラー割込み要求がCPU104に通知されたときには、例えばCPU104がシリアル通信エラー割込み処理として予め定められた処理を実行して、シリアル通信回路108に設けられた送信動作部と受信動作部を未使用状態に設定する。加えて、ROM105に記憶された最優先割込み設定(KHPR)が「06h」、「07h」以外の値であれば、図20(A)及び(B)などに示すように、シリアル通信回路108により複数種類の割込み要求が同時に発生したときには、エラー割込み要求が、受信割込み要求や送信割込み要求といった他の割込み要求よりも優先してCPU104に通知されることになる。これにより、シリアル通信回路108でのエラー発生時にはシリアル通信動作を直ちに停止させて、シリアル通信での異常発生により誤った情報が伝送されることを防止できる。   Further, when an error interrupt request corresponding to the occurrence of an error in the serial communication circuit 108 such as an overrun error, noise error, framing error, parity error, or the like is notified to the CPU 104, for example, the CPU 104 preliminarily executes serial communication error interrupt processing. A predetermined process is executed to set the transmission operation unit and the reception operation unit provided in the serial communication circuit 108 to an unused state. In addition, if the highest priority interrupt setting (KHPR) stored in the ROM 105 is a value other than “06h” and “07h”, as shown in FIGS. 20A and 20B, the serial communication circuit 108 When a plurality of types of interrupt requests are generated at the same time, the error interrupt request is notified to the CPU 104 with priority over other interrupt requests such as a reception interrupt request and a transmission interrupt request. Thus, when an error occurs in the serial communication circuit 108, the serial communication operation is immediately stopped, and it is possible to prevent erroneous information from being transmitted due to the occurrence of an abnormality in the serial communication.

パチンコ遊技機1への電力供給が開始されたときに、例えば遊技制御用マイクロコンピュータ100が備えるCPU104によって図27に示すステップS24にて割込み初期設定処理を実行することで、ROM105に記憶されている最優先割込み設定(KHPR)を読出し、その読出値に基づいて最優先割込みを設定する。この処理を実行することで、割込み処理の優先順位を図20(B)に示すデフォルト時の設定から変更することができる。その後、例えばCPU104が図27に示すステップS25の処理を実行することなどによって、遊技制御用マイクロコンピュータ100が割込許可状態に設定される。また、払出制御用マイクロコンピュータ150でも、パチンコ遊技機1への電力供給が開始されたときに、例えばCPU214が図44に示すステップS519にてステップS24と同様の処理を実行することで、ROM215に記憶されている最優先割込み設定(KHPR)を読出し、その読出値に基づいて最優先割込みを設定することによって、割込み処理の優先順位を図20(B)に示すデフォルト時の設定から変更することができる。その後、図46に示すステップS520の処理を実行することなどによって、払出制御用マイクロコンピュータ150が割込許可状態に設定される。これにより、割込み処理の実行が許可された後に、変更された優先順位に従って確実に割込み処理を実行することができる。また、割込み処理の実行が許可される以前に割込み処理の優先順位を初期設定から変更することで、各種の割込みが発生するごとに割込み処理を所定の優先順位に従って実行させるように制御するプログラムを実行する必要がなくなるので、設計の自由度を増大させることができる。   When power supply to the pachinko gaming machine 1 is started, for example, the CPU 104 provided in the gaming control microcomputer 100 executes the interrupt initial setting process in step S24 shown in FIG. The highest priority interrupt setting (KHPR) is read, and the highest priority interrupt is set based on the read value. By executing this process, the priority order of the interrupt process can be changed from the default setting shown in FIG. Thereafter, for example, when the CPU 104 executes the process of step S25 shown in FIG. 27, the game control microcomputer 100 is set to the interrupt-permitted state. Also in the payout control microcomputer 150, when power supply to the pachinko gaming machine 1 is started, for example, the CPU 214 executes the same processing as step S24 in step S519 shown in FIG. Changing the priority order of interrupt processing from the default setting shown in FIG. 20B by reading the stored highest priority interrupt setting (KHPR) and setting the highest priority interrupt based on the read value. Can do. Thereafter, the payout control microcomputer 150 is set to an interrupt-permitted state, for example, by executing the process of step S520 shown in FIG. Thereby, after the execution of the interrupt process is permitted, the interrupt process can be surely executed according to the changed priority order. In addition, by changing the priority of interrupt processing from the initial setting before the execution of interrupt processing is permitted, a program that controls interrupt processing to be executed according to a predetermined priority every time various types of interrupts occur Since there is no need to execute, the degree of freedom of design can be increased.

ステップS24、S519にて割込み初期設定処理を実行することによる最優先割込みの設定では、例えば図20(A)に示すような最優先割込み設定データに対応して、タイマ割込み要求に基づく割込み処理と、シリアル通信回路108、218から通知される割込み要求に基づく割込み処理との優先順位を設定することができる。これにより、割込み処理の実行が許可された後、設定された優先順位に従って確実に割込み処理を実行することができる。また、割込み処理の実行が許可される以前に割込み処理の優先順位を任意に設定可能とすることで、各種の割込みが発生するごとに割込み処理を所定の優先順位に従って実行させるように制御するプログラムを実行する必要がなく、また、予め定めた任意の割込み処理を優先的に実行させることができるので、設計の自由度を増大させることができる。   In the setting of the highest priority interrupt by executing the interrupt initial setting process in steps S24 and S519, for example, the interrupt process based on the timer interrupt request corresponding to the highest priority interrupt setting data as shown in FIG. The priority order with respect to the interrupt processing based on the interrupt request notified from the serial communication circuits 108 and 218 can be set. Thereby, after the execution of the interrupt process is permitted, the interrupt process can be surely executed according to the set priority order. In addition, by enabling the priority of interrupt processing to be arbitrarily set before execution of interrupt processing is permitted, a program that controls interrupt processing to be executed according to a predetermined priority every time various interrupts occur Since it is possible to preferentially execute any predetermined interrupt processing, the degree of freedom in design can be increased.

払出制御用マイクロコンピュータ150では、例えばCPU214が図49に示すステップS634での設定により賞球ACKコマンドを主基板11に対して送信させた後、ステップS643にてフィードバック待機時間が経過したと判定したときには、ステップS644にて主基板通信エラーフラグをオン状態にセットする。こうして主基板通信エラーフラグがオンとなったときには、図52に示すステップS721の処理が実行されることにより、ステップS722以降の処理が実行されずに払出制御通常処理が終了し、また、図54に示すステップS801の処理が実行されることにより、ステップS802以降の処理が実行されずに賞球払出回数算出処理が終了する。そのため、主基板11からのACKフィードバックコマンドを受信していない旨の判定がなされたときには、賞球未払出カウンタの値が「0」以外の値となって未払出の賞球となる遊技球があることを示していても払出制御を停止する状態に制御されることになる。これにより、確実な払出制御を実行して、例えば通信エラーや通信線に対する不正行為などによる異常が発生したときに、賞球となる遊技球を過剰に払い出してしまうことを防止できる。   In the payout control microcomputer 150, for example, after the CPU 214 transmits the prize ball ACK command to the main board 11 by the setting in step S634 shown in FIG. 49, it is determined in step S643 that the feedback waiting time has elapsed. In step S644, the main board communication error flag is set to ON. When the main board communication error flag is turned on in this way, the processing in step S721 shown in FIG. 52 is executed, so that the processing in step S722 and subsequent steps is not executed, and the payout control normal processing ends. When the process of step S801 shown in FIG. 5 is executed, the award ball payout number calculation process is terminated without executing the processes after step S802. Therefore, when it is determined that the ACK feedback command from the main board 11 has not been received, the value of the award ball non-payout counter becomes a value other than “0” and a game ball that becomes an unpaid award ball Even if it shows that there exists, it will be controlled to the state which stops payout control. Thereby, reliable payout control is executed, and it is possible to prevent excessively paying out game balls as prize balls when, for example, an abnormality due to a communication error or an illegal act on a communication line occurs.

また、払出制御用マイクロコンピュータ150では、例えばCPU124が図49に示すステップS644にて主基板通信エラーフラグをオン状態にセットしたときには、図48に示すステップS601の処理が実行されることにより、ステップS602以降の処理が実行されずに払出側受信処理が終了する。そのため、主基板11からのACKフィードバックコマンドを受信していない旨の判定がなされたときには、主基板11から送信される払出数指定コマンドの受信を停止する状態に制御されることになる。これにより、確実な払出制御を実行して、例えば通信エラーや通信線に対する不正行為などによる異常が発生したときに、賞球となる遊技球を過剰に払い出してしまうことを防止できる。   Further, in the payout control microcomputer 150, for example, when the CPU 124 sets the main board communication error flag to the ON state in step S644 shown in FIG. 49, the process of step S601 shown in FIG. The payout side reception process is terminated without executing the processes after S602. For this reason, when it is determined that the ACK feedback command from the main board 11 has not been received, control is performed to stop receiving the payout number designation command transmitted from the main board 11. Thereby, reliable payout control is executed, and it is possible to prevent excessively paying out game balls as prize balls when, for example, an abnormality due to a communication error or an illegal act on a communication line occurs.

図47に示すステップS538の払出側エラー解除処理では、エラー解除スイッチ73からの検出信号がオン状態となったか否かを判定し、オン状態であると判定したときには、各種のエラーフラグをクリアしてオフ状態とすることなどにより、払出制御が禁止された状態を解除することができる。これにより、例えば遊技店員等が異常に対する点検を行った後に、点検前の制御状態を維持したまま遊技を続行させることができる。   In the payout-side error canceling process in step S538 shown in FIG. 47, it is determined whether or not the detection signal from the error canceling switch 73 is in the on state. Thus, the state in which the payout control is prohibited can be canceled by turning it off. Thereby, for example, after a game store clerk inspects for an abnormality, the game can be continued while maintaining the control state before the inspection.

以上に述べた実施の形態では、乱数回路103が備えるクロック信号出力回路171から出力されたクロック信号S1は、反転回路178に入力され、反転回路178によってクロック信号S1の信号レベルを反転させることで生成された反転クロック信号S2をラッチ信号生成回路180に入力することで、ラッチ信号生成回路180がタイマ回路179からの出力信号を反転クロック信号S2に同期させて、ラッチ信号SLとして出力するように構成されている。これに対して、クロック信号出力回路171から出力されたクロック信号S1を、このクロック信号S1の周期の整数倍の期間とは異なる期間だけ遅延させて生成した遅延クロック信号を、ラッチ信号生成回路180に入力するようにしてもよい。図66は、遅延クロック信号をラッチ信号生成回路180に入力する構成の一例を示すブロック図である。   In the embodiment described above, the clock signal S1 output from the clock signal output circuit 171 included in the random number circuit 103 is input to the inversion circuit 178, and the inversion circuit 178 inverts the signal level of the clock signal S1. By inputting the generated inverted clock signal S2 to the latch signal generating circuit 180, the latch signal generating circuit 180 synchronizes the output signal from the timer circuit 179 with the inverted clock signal S2 and outputs it as the latch signal SL. It is configured. On the other hand, a delayed clock signal generated by delaying the clock signal S1 output from the clock signal output circuit 171 by a period different from an integer multiple of the period of the clock signal S1 is generated as a latch signal generation circuit 180. You may make it input into. FIG. 66 is a block diagram illustrating an example of a configuration in which a delayed clock signal is input to the latch signal generation circuit 180.

図66に示す構成において、遅延回路182は、クロック信号出力回路171から出力されたクロック信号S1を、このクロック信号S1の周期の整数倍の期間とは異なる期間だけ遅延させて、遅延クロック信号S3を生成する。遅延回路182は、生成した遅延クロック信号S3をラッチ信号生成回路180に出力する。ラッチ信号生成回路180は、タイマ回路179からの出力信号を、遅延回路182から出力される遅延クロック信号S3の立上がりエッジに同期して出力することにより、ラッチ信号SLを生成する。   In the configuration shown in FIG. 66, the delay circuit 182 delays the clock signal S1 output from the clock signal output circuit 171 by a period that is different from a period that is an integral multiple of the period of the clock signal S1, thereby delaying the delayed clock signal S3. Is generated. The delay circuit 182 outputs the generated delayed clock signal S3 to the latch signal generation circuit 180. The latch signal generation circuit 180 generates the latch signal SL by outputting the output signal from the timer circuit 179 in synchronization with the rising edge of the delayed clock signal S3 output from the delay circuit 182.

図67は、図66に示す構成を有する乱数回路103の動作を説明するためのタイミングチャートである。乱数回路103に設けられたクロック信号出力回路171のクロック入力端子やタイマ回路179のクロック入力端子には、図67(A)に示すような内部システムクロックCLKが入力される。内部システムクロックCLKは、遊技制御用マイクロコンピュータ100が備えるクロック回路101にて生成されたものであればよい。   FIG. 67 is a timing chart for explaining the operation of random number circuit 103 having the configuration shown in FIG. An internal system clock CLK as shown in FIG. 67A is input to the clock input terminal of the clock signal output circuit 171 and the clock input terminal of the timer circuit 179 provided in the random number circuit 103. The internal system clock CLK may be generated by the clock circuit 101 provided in the game control microcomputer 100.

クロック信号出力回路171は、内部システムクロックCLKを分周して、例えばタイミングT31、T32、…においてローレベルからハイレベルに立上がる、図67(B)に示すクロック信号S1を生成する。ここで、クロック信号出力回路171から出力されるクロック信号S1の周期をTとする。なお、図67に示す動作例では、説明のために、クロック信号出力回路171が内部システムクロックCLKを2分周してクロック信号S1を生成する場合を示している。しかしながら、実際には、16ビット乱数を更新する周期として、内部システムクロックCLKの周期と内部システムクロックCLKの16倍の周期のいずれかを設定することとしている。したがって、クロック信号出力回路171は、内部システムクロックCLKをそのままクロック信号S1として出力する場合と、内部システムクロックCLKを16分周した信号をクロック信号S1として出力する場合とを、切り替えることができればよい。クロック信号出力回路171から出力されたクロック信号S1は、16ビット乱数の生成用に設けられた乱数生成回路173Bと遅延回路182とに入力される。   The clock signal output circuit 171 divides the internal system clock CLK to generate a clock signal S1 shown in FIG. 67B that rises from a low level to a high level at timings T31, T32,. Here, the period of the clock signal S1 output from the clock signal output circuit 171 is T. In the operation example shown in FIG. 67, for the sake of explanation, a case where the clock signal output circuit 171 generates the clock signal S1 by dividing the internal system clock CLK by two is shown. However, in practice, as a cycle for updating the 16-bit random number, either the cycle of the internal system clock CLK or a cycle 16 times the internal system clock CLK is set. Therefore, the clock signal output circuit 171 only has to be able to switch between the case where the internal system clock CLK is output as it is as the clock signal S1 and the case where the signal obtained by dividing the internal system clock CLK by 16 is output as the clock signal S1. . The clock signal S1 output from the clock signal output circuit 171 is input to a random number generation circuit 173B and a delay circuit 182 provided for generating a 16-bit random number.

乱数生成回路173Bは、そのクロック入力端子に入力されるクロック信号S1の立上がりエッジに応答して数値データC2を更新し、その数値データC2を乱数列変更回路176Bに出力する。遅延回路182は、クロック信号出力回路171から出力されたクロック信号S1をΔT(≠nT:nは整数)だけ遅延させて、例えばタイミングT41、T42、…においてローレベルからハイレベルに立上がる周期Tの、図67(C)に示す遅延クロック信号S3を生成する。遅延回路182によって生成された遅延クロック信号S3は、ラッチ信号生成回路180に出力される。   The random number generation circuit 173B updates the numerical data C2 in response to the rising edge of the clock signal S1 input to the clock input terminal, and outputs the numerical data C2 to the random number sequence change circuit 176B. The delay circuit 182 delays the clock signal S1 output from the clock signal output circuit 171 by ΔT (≠ nT: n is an integer) and, for example, a period T rising from a low level to a high level at timings T41, T42,. The delayed clock signal S3 shown in FIG. 67 (C) is generated. The delayed clock signal S3 generated by the delay circuit 182 is output to the latch signal generation circuit 180.

図67(D)に示す始動入賞信号SSがタイマ回路179に入力されたときには、その立上がりエッジからの経過時間が所定時間(例えば3ミリ秒)に達すると、タイマ回路179からの出力信号がローレベルからハイレベルに立上がる。このタイマ回路179からの出力信号は、ラッチ信号生成回路180に入力され、遅延クロック信号S3の立上がりエッジと同期して、図67(E)に示すようなラッチ信号SLとして出力される。これにより、乱数生成回路173BはタイミングT31、T32、…において数値データC1を更新する一方、ラッチ信号生成回路180はタイミングT31、T32、…とは異なるタイミングT43において立上がるラッチ信号SLを出力することができる。   When the start winning signal SS shown in FIG. 67D is input to the timer circuit 179, when the elapsed time from the rising edge reaches a predetermined time (for example, 3 milliseconds), the output signal from the timer circuit 179 is low. Rise from level to high level. The output signal from the timer circuit 179 is input to the latch signal generation circuit 180, and is output as a latch signal SL as shown in FIG. 67 (E) in synchronization with the rising edge of the delayed clock signal S3. As a result, the random number generation circuit 173B updates the numerical data C1 at timings T31, T32,..., While the latch signal generation circuit 180 outputs a latch signal SL that rises at a timing T43 different from the timings T31, T32,. Can do.

以上のような構成によれば、乱数回路103では、例えば乱数生成回路173Bがクロック信号出力回路171から入力されるクロック信号S1の入力に基づいて、数値データC2を更新可能な所定の範囲において所定の初期値から所定の最終値まで、予め定められた順序(例えば「1→2→…→65535」の順序)に従って循環的に更新する。これに対して、ラッチ信号生成回路180は、始動入賞信号SSの入力に応じたタイマ回路179からの出力信号を、遅延回路182により出力された遅延クロック信号S3に同期して、ラッチ信号SLとして出力する。これにより、乱数値の取得を確実かつ安定的に行うことができる。   According to the above configuration, in the random number circuit 103, for example, the random number generation circuit 173B is predetermined within a predetermined range in which the numerical data C2 can be updated based on the input of the clock signal S1 input from the clock signal output circuit 171. Are updated cyclically according to a predetermined order (for example, an order of “1 → 2 →... → 65535”) from the initial value to a predetermined final value. On the other hand, the latch signal generation circuit 180 synchronizes the output signal from the timer circuit 179 according to the input of the start winning signal SS with the delay clock signal S3 output by the delay circuit 182 as the latch signal SL. Output. Thereby, acquisition of a random number value can be performed reliably and stably.

この発明は上記実施の形態に限定されるものではなく、様々な変形及び応用が可能である。例えば図12に示すように構成された乱数回路103では、クロック信号出力回路171から出力されたクロック信号S1が乱数生成回路173Bと反転回路178に入力され、反転回路178がクロック信号S1の信号レベルを反転させて生成した反転クロック信号S2をラッチ信号生成回路180に入力させる。これに対して、クロック信号出力回路171から出力されたクロック信号S1をラッチ信号生成回路180と所定の反転回路に入力し、その反転回路がクロック信号S1の信号レベルを反転させて生成した反転クロック信号を乱数生成回路173Bに入力するように構成してもよい。この場合、乱数生成回路173Bは、反転回路により出力された反転クロック信号の入力に基づいて、数値データC2を更新可能な所定の範囲において所定の初期値から所定の最終値まで、予め定められた順序に従って循環的に更新する。これに対して、ラッチ信号生成回路180は、始動入賞信号SSの入力に応じたタイマ回路179からの出力信号を、クロック信号出力回路171から出力されたクロック信号S1に同期して、ラッチ信号SLとして出力する。このような構成によっても、乱数値の取得を確実かつ安定的に行うことが可能になる。   The present invention is not limited to the above embodiment, and various modifications and applications are possible. For example, in the random number circuit 103 configured as shown in FIG. 12, the clock signal S1 output from the clock signal output circuit 171 is input to the random number generation circuit 173B and the inverting circuit 178, and the inverting circuit 178 has the signal level of the clock signal S1. Inverted clock signal S2 generated by inverting is input to latch signal generation circuit 180. In contrast, the clock signal S1 output from the clock signal output circuit 171 is input to the latch signal generation circuit 180 and a predetermined inversion circuit, and the inversion clock generated by the inversion circuit inverting the signal level of the clock signal S1. The signal may be input to the random number generation circuit 173B. In this case, the random number generation circuit 173B is predetermined from a predetermined initial value to a predetermined final value within a predetermined range in which the numerical data C2 can be updated based on the input of the inverted clock signal output from the inverting circuit. Update cyclically according to order. On the other hand, the latch signal generation circuit 180 synchronizes the output signal from the timer circuit 179 in response to the input of the start winning signal SS in synchronization with the clock signal S1 output from the clock signal output circuit 171. Output as. Such a configuration also makes it possible to reliably and stably acquire a random value.

また、例えば図66に示すように構成された乱数回路103では、クロック信号出力回路171から出力されたクロック信号S1が乱数生成回路173Bと遅延回路182に入力され、遅延回路182がクロック信号S1を遅延させて生成した遅延クロック信号S3をラッチ信号生成回路180に入力させる。これに対して、クロック信号出力回路171から出力されたクロック信号S1をラッチ信号生成回路180と所定の遅延回路に入力し、その遅延回路がクロック信号S1を遅延させて生成した遅延クロック信号を乱数生成回路173Bに入力するように構成してもよい。この場合、乱数生成回路173Bは、遅延回路により出力された遅延クロック信号の入力に基づいて、数値データC2を更新可能な所定の範囲において所定の初期値から所定の最終値まで、予め定められた順序に従って循環的に更新する。これに対して、ラッチ信号生成回路180は、始動入賞信号SSの入力に応じたタイマ回路179からの出力信号を、クロック信号出力回路171から出力されたクロック信号S1に同期して、ラッチ信号SLとして出力する。このような構成によっても、乱数値の取得を確実かつ安定的に行うことが可能になる。   For example, in the random number circuit 103 configured as shown in FIG. 66, the clock signal S1 output from the clock signal output circuit 171 is input to the random number generation circuit 173B and the delay circuit 182, and the delay circuit 182 receives the clock signal S1. The delayed clock signal S3 generated by the delay is input to the latch signal generation circuit 180. In contrast, the clock signal S1 output from the clock signal output circuit 171 is input to the latch signal generation circuit 180 and a predetermined delay circuit, and the delay clock signal generated by the delay circuit delaying the clock signal S1 is a random number. You may comprise so that it may input into the production | generation circuit 173B. In this case, the random number generation circuit 173B is predetermined from a predetermined initial value to a predetermined final value within a predetermined range in which the numerical data C2 can be updated based on the input of the delayed clock signal output from the delay circuit. Update cyclically according to order. On the other hand, the latch signal generation circuit 180 synchronizes the output signal from the timer circuit 179 in response to the input of the start winning signal SS in synchronization with the clock signal S1 output from the clock signal output circuit 171. Output as. Such a configuration also makes it possible to reliably and stably acquire a random value.

上記実施の形態では、12ビット乱数用に設けられた乱数生成回路173Aのクロック入力端子に乱数値レジスタ181Aからの格納値更新信号KTが入力され、この格納値更新信号KTがローレベルからハイレベルに立上がったことに応答して、数値データC1を更新するものとして説明した。しかしながら、この発明はこれに限定されるものではなく、例えば乱数生成回路173Aのクロック入力端子に所定周期のクロック信号を入力させることで、数値データC1を一定周期で更新させるようにしてもよい。一例として、クロック信号出力回路171から出力されたクロック信号S1を乱数生成回路173Aにも入力し、16ビット乱数用に設けられた反転回路178、タイマ回路179、ラッチ信号生成回路180と同様の構成を、12ビット乱数用にも設けるようにすればよい。また、クロック信号出力回路171とは別個に設けられたクロック信号出力回路から出力されたクロック信号を乱数生成回路173Aに入力するようにしてもよい。この場合、乱数生成回路173Aに入力されるクロック信号を生成するクロック信号出力回路は、上記実施の形態におけるクロック信号出力回路171と同様に、クロック回路101から供給される内部システムクロックCLKを入力して、この内部システムクロックCLKと同一周期を有するクロック信号、あるいは内部システムクロックCLKを16分周したクロック信号を出力できるようにしてもよい。これにより、12ビット乱数についても、例えば乱数生成回路173Aが所定のクロック信号の入力に基づいて、数値データC1を更新可能な所定の範囲において所定の初期値から所定の最終値まで、予め定められた順序(例えば「1→2→…→4095」の順序)に従って循環的に更新するのに対して、12ビット乱数用に設けられたラッチ信号生成回路は、始動入賞信号SSなどの外部信号の入力に応じたタイマ回路からの出力信号を、反転回路により出力された反転クロック信号に同期して、ラッチ信号として出力することができ、12ビット乱数の取得を確実かつ安定的に行うことができる。また、この場合には、16ビット乱数用の構成と同様に、12ビット乱数用の反転回路を遅延回路に置き換えてもよいし、クロック信号出力回路と乱数生成回路173Aとの間に反転回路や遅延回路を設けるようにしてもよい。その他にも、上記実施の形態において12ビット乱数を生成するための構成が16ビット乱数を生成するための構成と同様の機能を有していてもよいし、16ビット乱数を生成するための構成が12ビット乱数を生成するための構成と同様の機能を有していてもよい。   In the above embodiment, the stored value update signal KT from the random value register 181A is input to the clock input terminal of the random number generation circuit 173A provided for the 12-bit random number, and the stored value update signal KT is changed from the low level to the high level. In the description, the numerical data C1 is updated in response to the rise. However, the present invention is not limited to this. For example, the numerical data C1 may be updated at a constant period by inputting a clock signal having a predetermined period to the clock input terminal of the random number generation circuit 173A. As an example, the clock signal S1 output from the clock signal output circuit 171 is also input to the random number generation circuit 173A, and has the same configuration as the inverting circuit 178, timer circuit 179, and latch signal generation circuit 180 provided for 16-bit random numbers. May be provided for a 12-bit random number. Further, a clock signal output from a clock signal output circuit provided separately from the clock signal output circuit 171 may be input to the random number generation circuit 173A. In this case, the clock signal output circuit that generates the clock signal input to the random number generation circuit 173A inputs the internal system clock CLK supplied from the clock circuit 101, similarly to the clock signal output circuit 171 in the above embodiment. Thus, a clock signal having the same cycle as the internal system clock CLK or a clock signal obtained by dividing the internal system clock CLK by 16 may be output. As a result, for the 12-bit random number, for example, the random number generation circuit 173A is predetermined from a predetermined initial value to a predetermined final value within a predetermined range in which the numerical data C1 can be updated based on the input of a predetermined clock signal. The latch signal generation circuit provided for the 12-bit random number is updated in accordance with the order of the external signals such as the start winning signal SS. The output signal from the timer circuit according to the input can be output as a latch signal in synchronization with the inverted clock signal output from the inverting circuit, and the 12-bit random number can be acquired reliably and stably. . In this case, similarly to the configuration for 16-bit random numbers, the inversion circuit for 12-bit random numbers may be replaced with a delay circuit, or an inversion circuit or the like between the clock signal output circuit and the random number generation circuit 173A may be used. A delay circuit may be provided. In addition, the configuration for generating the 12-bit random number in the above embodiment may have the same function as the configuration for generating the 16-bit random number, or the configuration for generating the 16-bit random number. May have the same function as the configuration for generating a 12-bit random number.

上記実施の形態では、遊技制御用マイクロコンピュータ100がシリアル通信回路108を備えるとともに、払出制御用マイクロコンピュータ150がシリアル通信回路218を備えるように構成され、遊技制御用マイクロコンピュータ100と払出制御用マイクロコンピュータ150の双方がシリアル通信を行うものとして説明した。しかしながら、この発明はこれに限定されるものではなく、遊技制御用マイクロコンピュータ100と払出制御用マイクロコンピュータ150の少なくともいずれか一方が、シリアル通信を行うための構成を備えていればよい。以下では、遊技制御用マイクロコンピュータ100と払出制御用マイクロコンピュータ150のうちでシリアル通信回路を備える一方のマイクロコンピュータを第1のマイクロコンピュータとし、シリアル通信回路を備えない他方のマイクロコンピュータを第2のマイクロコンピュータとする。この場合、第2のマイクロコンピュータでは、例えばシリアル通信線を介して第1のマイクロコンピュータから伝送されたデータをパラレルデータに変換するシリアル−パラレル変換回路(例えばシフトレジスタ)を備えていてもよい。あるいは、第2のマイクロコンピュータでは、第1のマイクロコンピュータから伝送されるデータを所定周期でサンプリングして、シリアル通信線を介して伝送されたデータを取得するようにしてもよい。   In the above-described embodiment, the game control microcomputer 100 includes the serial communication circuit 108 and the payout control microcomputer 150 includes the serial communication circuit 218. The game control microcomputer 100 and the payout control microcomputer It has been described that both computers 150 perform serial communication. However, the present invention is not limited to this, and it is sufficient that at least one of the game control microcomputer 100 and the payout control microcomputer 150 has a configuration for performing serial communication. In the following, one of the game control microcomputer 100 and the payout control microcomputer 150 having a serial communication circuit is referred to as a first microcomputer, and the other microcomputer having no serial communication circuit is referred to as a second microcomputer. A microcomputer. In this case, the second microcomputer may include, for example, a serial-parallel conversion circuit (for example, a shift register) that converts data transmitted from the first microcomputer via a serial communication line into parallel data. Alternatively, the second microcomputer may sample the data transmitted from the first microcomputer at a predetermined period to obtain the data transmitted via the serial communication line.

また、第2のマイクロコンピュータから第1のマイクロコンピュータに対しては、複数のデータ通信線を用いたパラレル通信により通信データを伝送してもよい。そして、第1のマイクロコンピュータには、複数のデータ通信線に対応した入力ポートを設け、パラレル通信により伝送された通信データを取得するようにしてもよい。この場合、第1のマイクロコンピュータが備えるシリアル通信回路では、送信動作部のみを用いるようにすればよく、受信動作部は未使用状態に設定しておけばよい。   Communication data may be transmitted from the second microcomputer to the first microcomputer by parallel communication using a plurality of data communication lines. The first microcomputer may be provided with input ports corresponding to a plurality of data communication lines so as to acquire communication data transmitted by parallel communication. In this case, in the serial communication circuit included in the first microcomputer, only the transmission operation unit may be used, and the reception operation unit may be set to an unused state.

上記実施の形態では、最大値比較回路177A、177Bが、それぞれ乱数列変更回路176A、176Bから出力される数値データ列R1、R2を所定の最大値と比較して、数値データが最大値以下となるまで再設定信号MS1、MS2の出力を繰り返す動作を短期間に行うことにより、格納値更新信号KTやクロック信号S1の立上がりエッジから十分に短い経過時間内に、更新後の乱数値となる数値データR1、R2を出力するものとして説明した。しかしながら、この発明はこれに限定されるものではなく、最大値比較回路177A、177Bからの出力信号によって乱数生成回路173A、173Bがクリア(初期化)されるものであってもよい。   In the above embodiment, the maximum value comparison circuits 177A and 177B compare the numerical data sequences R1 and R2 output from the random number sequence change circuits 176A and 176B with the predetermined maximum value, respectively, and the numerical data is less than the maximum value. By performing the operation of repeating the output of the reset signals MS1 and MS2 until a short time, a numerical value that becomes the updated random value within a sufficiently short elapsed time from the rising edge of the stored value update signal KT or the clock signal S1 In the above description, the data R1 and R2 are output. However, the present invention is not limited to this, and random number generation circuits 173A and 173B may be cleared (initialized) by output signals from maximum value comparison circuits 177A and 177B.

例えば、最大値比較回路177Aは、12ビット乱数用に設定された最大値とスタート値を参照可能とし、乱数列変更回路176Aは、乱数生成回路173Aから出力された数値データC1を、12ビット乱数用に設定された最大値以下の範囲内で、予め定められた順列となるように並び替える。そして、最大値比較回路177Aは、最大値とスタート値との差分を特定し、乱数列変更回路176Aから出力される数値データ列R1の更新回数が、その差分に一致したか否かを判定する。このとき、数値データ列R1の更新回数が最大値とスタート値との差分に達したときには、乱数生成回路173Aから出力される数値データC1の値が12ビット乱数用に設定された最大値に達していることから、最大値比較回路177Aは所定のカウントクリア信号を乱数生成回路173Aに入力して、乱数生成回路173Aにて生成される数値データC1をクリア(初期化)する。この後、乱数生成回路173Aは、クリア後に出力される数値データC1の最小値から順次にカウントアップすることなどにより、例えばスタート値よりも1小さい最終値に達したときに、乱数一巡信号RIJ1を出力する。   For example, the maximum value comparison circuit 177A can refer to the maximum value and start value set for the 12-bit random number, and the random number sequence change circuit 176A uses the numerical data C1 output from the random number generation circuit 173A as the 12-bit random number. Are rearranged so as to be in a predetermined permutation within a range equal to or less than the maximum value set for use. Then, the maximum value comparison circuit 177A specifies the difference between the maximum value and the start value, and determines whether or not the number of updates of the numerical data sequence R1 output from the random number sequence change circuit 176A matches the difference. . At this time, when the number of updates of the numerical data string R1 reaches the difference between the maximum value and the start value, the value of the numerical data C1 output from the random number generation circuit 173A reaches the maximum value set for the 12-bit random number. Therefore, the maximum value comparison circuit 177A inputs a predetermined count clear signal to the random number generation circuit 173A, and clears (initializes) the numerical data C1 generated by the random number generation circuit 173A. Thereafter, the random number generation circuit 173A sequentially counts up from the minimum value of the numerical data C1 output after clearing, for example, when the final value 1 smaller than the start value is reached, for example, the random number round trip signal RIJ1. Output.

また、最大値比較回路177Bは、16ビット乱数用に設定された最大値とスタート値を参照可能とし、乱数列変更回路176Bは、乱数生成回路173Bから出力された数値データC2を、16ビット乱数用に設定された最大値以下の範囲内で、予め定められた順列となるように並び替える。そして、最大値比較回路177Bは、最大値とスタート値との差分を特定し、乱数列変更回路176Bから出力される数値データ列R2の更新回数が、その差分に一致したか否かを判定する。このとき、数値データ列R1の更新回数が最大値とスタート値との差分に達したときには、乱数生成回路173Bから出力される数値データC2の値が16ビット乱数用に設定された最大値に達していることから、最大値比較回路177Bは所定のカウントクリア信号を乱数生成回路173Bに入力して、乱数生成回路173Bにて生成される数値データC2をクリア(初期化)する。この後、乱数生成回路173Bは、クリア後に出力される数値データC2の最小値から順次にカウントアップすることなどにより、例えばスタート値よりも1小さい最終値に達したときに、乱数一巡信号RIJ2を出力する。   Further, the maximum value comparison circuit 177B can refer to the maximum value and start value set for 16-bit random numbers, and the random number sequence change circuit 176B uses the 16-bit random number data C2 output from the random number generation circuit 173B. Are rearranged so as to be in a predetermined permutation within a range equal to or less than the maximum value set for use. Then, the maximum value comparison circuit 177B specifies the difference between the maximum value and the start value, and determines whether or not the number of updates of the numerical data sequence R2 output from the random number sequence change circuit 176B matches the difference. . At this time, when the number of updates of the numerical data string R1 reaches the difference between the maximum value and the start value, the value of the numerical data C2 output from the random number generation circuit 173B reaches the maximum value set for 16-bit random numbers. Therefore, the maximum value comparison circuit 177B inputs a predetermined count clear signal to the random number generation circuit 173B, and clears (initializes) the numerical data C2 generated by the random number generation circuit 173B. Thereafter, the random number generation circuit 173B sequentially counts up from the minimum value of the numerical data C2 output after clearing, for example, when the final value that is 1 smaller than the start value is reached, for example, Output.

このような構成による場合には、12ビット乱数用のスタート値が12ビット乱数用の最大値以下となり、16ビット乱数用のスタート値が16ビット乱数用の最大値以下となるように、スタート値と最大値の設定を行うようにする。また、乱数列変更回路176A、176Bのいずれかにより順列を変更したときに、12ビット乱数用の最大値や16ビット乱数用の最大値よりも大きな値を含んだ数値データ列R1、R2が出力されないように設定する。   In such a configuration, the start value is set so that the start value for the 12-bit random number is less than or equal to the maximum value for the 12-bit random number, and the start value for the 16-bit random number is less than or equal to the maximum value for the 16-bit random number. And set the maximum value. Further, when the permutation is changed by any one of the random number sequence changing circuits 176A and 176B, numerical data sequences R1 and R2 including a value larger than the maximum value for 12-bit random numbers and the maximum value for 16-bit random numbers are output. Set not to be done.

上記実施の形態では、電源基板10に電源監視回路303が搭載されるものとして説明したが、この発明はこれに限定されるものではなく、例えば電源監視回路を払出制御基板15に搭載してもよい。この場合、払出制御基板15では、電源基板10から供給された電源電圧の少なくとも一部(例えばVSLとVCC)を電源監視回路に入力して、電源電圧の低下が検出されたときには電源断信号がオン状態となるように構成する。そして、電源監視回路から出力された電源断信号は、払出制御用マイクロコンピュータ150が備える所定の入力ポートに入力させるとともに、例えば所定の出力回路を介して、主基板11へと伝送できるように構成すればよい。このような構成によれば、電源基板10から払出制御基板15に対して電源断信号を伝送するための配線を設ける必要がないので、配線構成をさらに簡略化できる。また、電源断信号を伝送する配線の全体的な長さが短くなるので、電源断信号にノイズが乗る可能性を低減することができる。   In the above embodiment, the power supply monitoring circuit 303 is mounted on the power supply board 10. However, the present invention is not limited to this. For example, even if the power supply monitoring circuit is mounted on the dispensing control board 15. Good. In this case, the payout control board 15 inputs at least part of the power supply voltage (for example, VSL and VCC) supplied from the power supply board 10 to the power supply monitoring circuit, and when a drop in the power supply voltage is detected, a power-off signal is generated. Configure to be on. The power cut-off signal output from the power supply monitoring circuit is input to a predetermined input port provided in the payout control microcomputer 150 and can be transmitted to the main board 11 via, for example, a predetermined output circuit. do it. According to such a configuration, it is not necessary to provide a wiring for transmitting a power-off signal from the power supply board 10 to the payout control board 15, so that the wiring configuration can be further simplified. In addition, since the overall length of the wiring for transmitting the power-off signal is shortened, the possibility of noise on the power-off signal can be reduced.

上記実施の形態では、電源基板10にクリアスイッチ304が搭載されるものとして説明したが、この発明はこれに限定されるものではなく、例えばクリアスイッチを主基板11に搭載してもよい。この場合、クリアスイッチから出力されたクリア信号は、遊技制御用マイクロコンピュータ100が備える所定の入力ポートに入力させるとともに、例えば所定の出力回路を介して、払出制御基板15へと伝送できるよう構成すればよい。このような構成によれば、電源基板10から主基板11に対してクリア信号を伝送するための配線を設ける必要がないので、配線構成をさらに簡略化できる。また、クリア信号を伝送する配線の全体的な長さが短くなるので、クリア信号にノイズが乗る可能性を低減することができる。   In the above-described embodiment, the clear switch 304 is mounted on the power supply board 10. However, the present invention is not limited to this, and for example, the clear switch may be mounted on the main board 11. In this case, the clear signal output from the clear switch is input to a predetermined input port provided in the game control microcomputer 100 and can be transmitted to the payout control board 15 via, for example, a predetermined output circuit. That's fine. According to such a configuration, it is not necessary to provide a wiring for transmitting a clear signal from the power supply substrate 10 to the main substrate 11, and therefore the wiring configuration can be further simplified. In addition, since the overall length of the wiring for transmitting the clear signal is shortened, the possibility of noise on the clear signal can be reduced.

上記実施の形態では、電源基板10に搭載された電源監視回路303がリセット信号を出力するものとして説明したが、これに限定されるものではなく、例えば主基板11を含めた各制御基板にリセット信号を出力するリセット回路を搭載してもよい。あるいは、複数の制御基板のうちのいずれか(1つまたは複数の制御基板)にリセット回路を搭載し、そのリセット回路から出力されたリセット信号を、リセット回路が搭載されていない他の制御基板に供給するようにしてもよい。リセット回路を各制御基板に搭載した場合には、リセット信号がハイレベルとなるときの電圧値を、それぞれのリセット回路に応じて異ならせるようにしてもよい。例えば、主基板11に搭載されたリセット回路から出力されるリセット信号がハイレベルとなるときの電圧値を、他の制御基板に搭載されたリセット回路から出力されるリセット信号がハイレベルとなるときの電圧値に比べて高くなるようにして、遊技制御用マイクロコンピュータ100に入力されるリセット信号がオフ状態となるタイミングが最も遅くなるように設定してもよい。   In the above embodiment, the power supply monitoring circuit 303 mounted on the power supply board 10 has been described as outputting a reset signal. However, the present invention is not limited to this. For example, the reset is performed on each control board including the main board 11. A reset circuit that outputs a signal may be mounted. Alternatively, a reset circuit is mounted on any one (one or a plurality of control boards) of a plurality of control boards, and a reset signal output from the reset circuit is sent to another control board that is not mounted with a reset circuit. You may make it supply. When the reset circuit is mounted on each control board, the voltage value when the reset signal becomes high level may be made different depending on each reset circuit. For example, when the reset signal output from the reset circuit mounted on the main board 11 is at a high level, the voltage value when the reset signal output from a reset circuit mounted on another control board is at a high level. It may be set so that the timing at which the reset signal input to the game control microcomputer 100 is turned off is the latest so as to be higher than the voltage value.

上記実施の形態では、パチンコ遊技機1への電力供給が開始されたときに、電源基板10に搭載されたクリアスイッチ304における押下などの操作に応じてクリア信号がオン状態となっているときに、遊技制御用マイクロコンピュータ100及び払出制御用マイクロコンピュータ150が初期化時における設定を行うものとして説明した。しかしながら、この発明はこれに限定されるものではなく、パチンコ遊技機1への電力供給が開始されたときに、例えばパチンコ遊技機1の外部から入力される初期化指令信号がオン状態となっていることなどの所定条件が成立しているときには、遊技制御用マイクロコンピュータ100及び払出制御用マイクロコンピュータ150が初期化時における設定を行うようにしてもよい。具体的な一例として、初期化指令信号は、ホールの管理コンピュータから出力されてパチンコ遊技機1に入力されるものであってもよいし、パチンコ遊技機1への侵入物や接触物を検出するセンサなどから出力されてパチンコ遊技機1に入力されるものであってもよい。   In the above embodiment, when the supply of power to the pachinko gaming machine 1 is started, the clear signal is turned on in response to an operation such as pressing on the clear switch 304 mounted on the power supply board 10. In the above description, the game control microcomputer 100 and the payout control microcomputer 150 are set at initialization. However, the present invention is not limited to this, and when power supply to the pachinko gaming machine 1 is started, for example, an initialization command signal input from the outside of the pachinko gaming machine 1 is turned on. When a predetermined condition such as being present is established, the game control microcomputer 100 and the payout control microcomputer 150 may be set at initialization. As a specific example, the initialization command signal may be output from the hall management computer and input to the pachinko gaming machine 1, or detects an intruder or contact with the pachinko gaming machine 1. It may be output from a sensor or the like and input to the pachinko gaming machine 1.

上記実施の形態では、電源断を検出するための電源監視手段として交流電源(AC24V)を整流、平滑した後に得られた直流電圧VLP(直流+24V)を監視して、監視している直流電圧が所定の電圧以下になったことを検出すると電源断信号を出力するものを例示したが、これに限らず、交流電源(AC24V)を直流に変換する途中における全波整流波形の有無を監視し、波形が所定期間検出できなかったときに電源断信号を出力するものでもよい。さらに交流電源を直接監視し、交流波形が所定期間検出できなかったときに電源断信号を出力するものでもよい。つまり、監視する対象は電圧に限らず、全波整流波形でも半波整流波形でもよく、遊技機への供給電力が低下していることを検出できるものであればよい。また、監視する直流電圧は、VLP(直流+24V)に限定されず、VSL(直流+30V)やVDD(直流+12V)などであってもよい。   In the above embodiment, the DC voltage VLP (DC + 24V) obtained after rectifying and smoothing the AC power supply (AC24V) is monitored as a power supply monitoring means for detecting power supply interruption, and the monitored DC voltage is Exemplified what outputs a power-off signal when it is detected that the voltage is lower than a predetermined voltage, but is not limited to this, monitors the presence or absence of a full-wave rectified waveform in the middle of converting AC power (AC24V) to DC, A power-off signal may be output when the waveform cannot be detected for a predetermined period. Further, the AC power supply may be directly monitored, and a power-off signal may be output when the AC waveform cannot be detected for a predetermined period. In other words, the target to be monitored is not limited to the voltage, but may be a full-wave rectified waveform or a half-wave rectified waveform, as long as it can detect that the power supplied to the gaming machine is decreasing. The DC voltage to be monitored is not limited to VLP (DC + 24V), but may be VSL (DC + 30V), VDD (DC + 12V), or the like.

電源断信号は、遊技制御用マイクロコンピュータ、払出制御用マイクロコンピュータにおける入力ポートに入力し、電源断信号がオンである旨の判定がされたときに電源断処理を実行してもよい。あるいは、電源断信号をNMI端子へ入力し、ノンマスカブル割込処理にて電源断処理を実行するものでもよい。また、電源断信号をNMI端子へ入力し、電源断信号の入力に応じて電断フラグをセットし、タイマ割込処理あるいはメイン処理にて電断フラグの状態を監視して、オンであれば電源断処理を実行するものでもよい。   The power-off signal may be input to an input port of the game control microcomputer and the payout control microcomputer, and the power-off process may be executed when it is determined that the power-off signal is on. Alternatively, a power-off signal may be input to the NMI terminal and the power-off process may be executed by a non-maskable interrupt process. Also, a power-off signal is input to the NMI terminal, a power-off flag is set according to the input of the power-off signal, and the state of the power-off flag is monitored by timer interrupt processing or main processing. A power-off process may be executed.

上記実施の形態では、電源断処理にてチェックサムデータの作成や、バックアップフラグのセットを行い、それらを電源投入時に確認するものを例示したが、これに限らず電源断処理にて所定の出力ポートをクリアする処理や、電源状態が復帰したか否かを監視する処理(瞬停時に復帰させる処理)を実行してもよい。また、それらの処理の順番は本件実施の形態に限定されるものではない。   In the above embodiment, the checksum data is created and the backup flag is set in the power-off process, and those are checked when the power is turned on. A process for clearing the port and a process for monitoring whether the power state has been restored (a process for restoring at the momentary power failure) may be executed. Further, the order of these processes is not limited to the present embodiment.

上記実施の形態では、遊技制御カウンタ設定部135に総賞球数カウンタと第1〜第3払出数指示カウンタとが設けられ、図37(A)に示すステップS292の処理では、総賞球数カウンタの値と第1〜第3払出数指示カウンタのいずれかの値に、所定値が加算されて更新される。また、図39に示すステップS424では、変数Nの値に対応した第1〜第3払出数指示カウンタのいずれかの値が1減算されて更新される一方で、ステップS427、S429、S430のいずれかの処理が実行されることにより、変数Nの値に対応した所定値が総賞球数カウンタの値から減算されて更新されるようにしている。このように、上記実施の形態では、遊技制御用マイクロコンピュータ100にて払出制御基板15からの賞球ACKコマンドを受信した旨の判定がなされたときに、第1〜第3払出数指示カウンタの更新や総賞球数カウンタの更新を行うようにしている。しかしながら、この発明はこれに限定されるものではなく、例えば払出数指定コマンドを送信するときに、第1〜第3払出数指示カウンタの更新や総賞球数カウンタの更新を行うようにしてもよい。この場合には、図38に示すステップS408、S410、S411の処理のいずれかにより払出数指定コマンドを送信するための設定を行う以前に、第1〜第3払出数指示カウンタの更新や総賞球数カウンタの更新を行うようにしてもよいし、図38に示すステップS408、S410、S411の処理のいずれかを実行して払出数指定コマンドを送信するための設定を行った後、払出制御基板15からの賞球ACKコマンドを受信したか否かの判定を行うより以前に、第1〜第3払出数指示カウンタの更新や総賞球数カウンタの更新を行うようにしてもよい。   In the above embodiment, the game control counter setting unit 135 is provided with the total prize ball number counter and the first to third payout number instruction counters. In the process of step S292 shown in FIG. A predetermined value is added to the value of the counter and any one of the first to third payout number instruction counters to be updated. In step S424 shown in FIG. 39, one of the values of the first to third payout number instruction counters corresponding to the value of the variable N is updated by 1 while any of steps S427, S429, and S430 is updated. By executing such processing, a predetermined value corresponding to the value of the variable N is subtracted from the value of the total prize ball counter and updated. Thus, in the above embodiment, when the game control microcomputer 100 determines that the prize ball ACK command from the payout control board 15 has been received, the first to third payout number instruction counters. Update and update of the total prize ball counter. However, the present invention is not limited to this. For example, when a payout number designation command is transmitted, the first to third payout number instruction counters and the total prize ball number counter are updated. Good. In this case, the first to third payout number instruction counters are updated and the total award is made before the setting for transmitting the payout number designation command is performed by any of the processes of steps S408, S410, and S411 shown in FIG. The ball counter may be updated, or after performing the setting of transmitting a payout number designation command by executing any of the processes of steps S408, S410, and S411 shown in FIG. Prior to determining whether or not the prize ball ACK command from the board 15 has been received, the first to third payout number instruction counters or the total prize ball number counter may be updated.

また、遊技制御カウンタ設定部135に総賞球数カウンタと第1〜第3払出数指示カウンタとを備えるものに限定されず、遊技制御用マイクロコンピュータ100が賞球として払い出すべき遊技球の個数を特定可能なデータを記憶できる任意の構成を有するものであればよい。例えば、遊技制御カウンタ設定部135には総賞球数カウンタが設けられる一方で、第1〜第3払出数指示カウンタは設けられていなくてもよい。この場合には、図10(C)に示す払出数指定コマンドの1バイト目及び2バイト目における第3〜第0ビット[ビット3−0]のビット値により、遊技球の払出数として「1」〜「15」のいずれでも指定可能とする。そして、総賞球数カウンタの値から払い出すべき賞球の個数を特定し、特定した賞球の個数を払出数として指示する払出数指定コマンドを、主基板11から払出制御基板15に対して送信するようにすればよい。このとき、総賞球数カウンタの値が払出数指定コマンドで指示することが可能な払出数の最大値(例えば「15」)よりも大きな値となっているときには、最大の払出数を指示する払出数指定コマンドを送信するとともに総賞球数カウンタの値を更新し、更新後の総賞球数カウンタの値に基づいて、さらに払出数指定コマンドの送信を行うようにすればよい。   Further, the game control counter setting unit 135 is not limited to the one having the total prize ball number counter and the first to third payout number instruction counters, and the number of game balls that the game control microcomputer 100 should pay out as a prize ball. Any data can be used as long as it can store data that can be specified. For example, the game control counter setting unit 135 is provided with the total prize ball number counter, but the first to third payout number instruction counters may not be provided. In this case, the number of game balls to be paid out is “1” based on the bit values of the third to 0th bits [bits 3-0] in the first and second bytes of the payout number designation command shown in FIG. "To" 15 "can be specified. Then, the number of prize balls to be paid out is specified from the value of the total prize ball number counter, and a payout number designation command for instructing the specified number of prize balls as the number of payouts is sent from the main board 11 to the payout control board 15. What is necessary is just to make it transmit. At this time, if the value of the total prize ball counter is larger than the maximum number of payouts (for example, “15”) that can be instructed by the payout number designation command, the maximum payout number is indicated. The payout number designation command may be transmitted, the value of the total prize ball number counter may be updated, and the payout number designation command may be further transmitted based on the updated total prize ball number counter value.

あるいは、遊技制御カウンタ設定部135には第1〜第3払出数指示カウンタが設けられる一方で、総賞球数カウンタは設けられていなくてもよい。この場合には、図37(A)に示すステップS292にてオン状態のスイッチに対応して第1〜第3払出数指示カウンタのいずれかの値を更新すればよく、図39に示すステップS425の処理を実行した後には、ステップS431の処理に進むようにすればよい。   Alternatively, the game control counter setting unit 135 is provided with the first to third payout number instruction counters, but the total prize ball number counter may not be provided. In this case, the value of any of the first to third payout number instruction counters may be updated corresponding to the ON switch in step S292 shown in FIG. 37A, and step S425 shown in FIG. After executing the process of step S431, the process may proceed to step S431.

上記実施の形態では、図39に示すステップS421にて賞球ACK受信フラグがオンであることにより払出制御基板15からの賞球ACKコマンドを受信した旨の判定がなされたときに、ステップS425の処理を実行してコマンド送信回数カウンタの値を1加算している。しかしながら、この発明はこれに限定されるものではなく、例えば払出数指定コマンドを送信するときに、コマンド送信回数カウンタの値を1加算するようにしてもよい。この場合には、図38に示すステップS408、S410、S411の処理のいずれかにより払出数指定コマンドを送信するための設定を行う以前に、コマンド送信回数カウンタの値を1加算するようにしてもよいし、図38に示すステップS408、S410、S411の処理のいずれかを実行して払出数指定コマンドを送信するための設定を行った後、払出制御基板15からの賞球ACKコマンドを受信したか否かの判定を行うより以前に、コマンド送信回数カウンタの値を1加算するようにしてもよい。このように払出数指定コマンドを送信するときにコマンド送信回数カウンタの値を1加算することによっても、賞球として払い出される遊技球の個数を直接カウントすることなく、賞球として払い出される遊技球の個数に異常が生じたことを検出できる。また、入賞口に入賞した遊技球の個数は、賞球として払い出される遊技球の個数に比べて少ないことから、データの記憶量を少なくすることができる。さらに、1つのコマンド送信回数カウンタにおけるカウント値を更新するだけで払出数指定コマンドの送信回数と全入賞球検出スイッチ29によって検出された遊技球の個数との差を入賞個数差として特定することができるから、制御負担の増大を抑制して、賞球として払い出される遊技球の個数に異常が発生したか否かを判定することができる。加えて、1つのコマンド送信回数カウンタにおけるカウント値を記憶するだけでよいことから、複数のカウンタにおけるカウント値を用いる場合に比べて、データの記憶量を少なくすることができる。なお、第1〜第3払出数指定コマンドの送信回数をカウントするためのカウンタと、全入賞球検出スイッチ29によって検出された遊技球の個数をカウントするためのカウンタとを別個に設けて、双方のカウンタにおける値の差分を、入賞個数差として特定するようにしてもよい。   In the above embodiment, when it is determined in step S421 shown in FIG. 39 that the prize ball ACK command is received from the payout control board 15 because the prize ball ACK reception flag is ON, the process of step S425 is performed. The process is executed and the value of the command transmission counter is incremented by one. However, the present invention is not limited to this. For example, when a payout number designation command is transmitted, the value of the command transmission number counter may be incremented by one. In this case, the value of the command transmission number counter is incremented by 1 before setting for transmitting the payout number designation command by any of the processes of steps S408, S410, and S411 shown in FIG. Alternatively, after performing any of the processes of steps S408, S410, and S411 shown in FIG. 38 and performing the setting for transmitting the payout number designation command, the prize ball ACK command from the payout control board 15 is received. Before the determination of whether or not, the value of the command transmission counter may be incremented by one. Thus, even when the value of the command transmission counter is incremented by 1 when the payout number designation command is transmitted, the number of game balls to be paid out as prize balls is not counted directly, and the game balls to be paid out as prize balls are counted directly. It is possible to detect that an abnormality has occurred in the number. In addition, since the number of game balls won in the winning opening is smaller than the number of game balls paid out as prize balls, the amount of data stored can be reduced. Further, it is possible to specify the difference between the number of payout number designation command transmissions and the number of game balls detected by the all winning ball detection switch 29 as a winning number difference by simply updating the count value in one command transmission number counter. Therefore, it is possible to determine whether an abnormality has occurred in the number of game balls to be paid out as prize balls while suppressing an increase in control burden. In addition, since it is only necessary to store the count value in one command transmission number counter, the data storage amount can be reduced as compared with the case where the count values in a plurality of counters are used. A counter for counting the number of transmissions of the first to third payout number designation commands and a counter for counting the number of game balls detected by the all winning ball detection switch 29 are provided separately. The difference between the values of the counters may be specified as a winning number difference.

上記実施の形態では、図31に示すような遊技制御用タイマ割込み処理にてステップS72のスイッチ処理とステップS80の特別図柄プロセス処理が実行される。ここで、例えばステップS72のスイッチ処理で始動口スイッチ22からの検出信号がオン状態であるときに、始動口スイッチタイマにおけるタイマ値が1ずつ加算される。そして、ステップS80の特別図柄プロセス処理では、例えば図43に示すステップS351にて始動口スイッチタイマにおけるタイマ値が所定のスイッチオン判定値(例えば「2」)となっている旨の判定がなされたときに、ステップS352の入賞処理にて乱数回路103が備える乱数値レジスタ181Bなどから乱数値が読み出されることになる。これに対して、遊技制御用のタイマ割込み処理では始動口スイッチ22からの検出信号がオン状態となっているか否かに応じた始動口スイッチタイマの更新を行って、そのタイマ値が所定のスイッチオン判定値となったときに所定の始動入賞フラグをオン状態にセットする一方で、乱数回路103からの乱数値の読み出しは、図27に示すステップS26にて電源断信号がオフ状態であるときに実行されるループ処理内にて行うようにしてもよい。   In the above embodiment, the switch process of step S72 and the special symbol process process of step S80 are executed in the game control timer interrupt process as shown in FIG. Here, for example, when the detection signal from the start port switch 22 is in the ON state in the switch process of step S72, the timer value in the start port switch timer is incremented by one. In the special symbol process in step S80, for example, in step S351 shown in FIG. 43, it is determined that the timer value in the start switch timer is a predetermined switch-on determination value (for example, “2”). Sometimes, the random number value is read from the random number value register 181B included in the random number circuit 103 in the winning process in step S352. On the other hand, in the timer interrupt processing for game control, the start port switch timer is updated according to whether or not the detection signal from the start port switch 22 is in an on state, and the timer value is set to a predetermined switch. When a predetermined start winning flag is set to the on state when the on determination value is reached, the random number value is read from the random number circuit 103 when the power-off signal is in the off state in step S26 shown in FIG. It may be performed in a loop process executed in step (b).

この場合、遊技制御用タイマ割込み処理では、例えば図31に示す各処理のうち、ステップS71、S72、S85の処理だけを実行するようにする。そして、ステップS72のスイッチ処理では、始動口スイッチ22からの検出信号がオン状態であるときに、始動口スイッチタイマにおけるタイマ値を1ずつ加算するように更新する一方、始動口スイッチ22からの検出信号がオフ状態であるときには、始動口スイッチタイマをクリアする。そして、始動口スイッチタイマにおけるタイマ値がスイッチオン判定値に達したときには、遊技制御フラグ設定部133に設けられた始動入賞フラグをオン状態にセットする。他方、図27に示すステップS26にて電源断信号がオフ状態であるときには、図31に示すステップS73〜S84の各処理を実行してから、ステップS26の処理に戻るようにする。ここで、ステップS80の特別図柄プロセス処理では、図43に示すステップS351の処理として、始動入賞フラグがオンとなっているか否かの判定処理を実行する。そして、始動入賞フラグがオンであるときには、ステップS352の入賞処理を実行して、乱数回路103から乱数値を読み出して特図保留記憶部131に格納するようにしてもよい。これにより、タイマ割込みが発生したときに遊技制御用マイクロコンピュータ100が備えるCPU104での処理量が増大することを防止して、タイマ割込み発生時における制御負担を軽減することができる。   In this case, in the game control timer interrupt process, for example, only the processes of steps S71, S72, and S85 among the processes shown in FIG. 31 are executed. In the switch process of step S72, when the detection signal from the start port switch 22 is in the ON state, the timer value in the start port switch timer is updated to be incremented by one, while the detection from the start port switch 22 is performed. When the signal is off, the start port timer is cleared. When the timer value in the start port switch timer reaches the switch-on determination value, the start winning flag provided in the game control flag setting unit 133 is set to the on state. On the other hand, when the power-off signal is in the OFF state in step S26 shown in FIG. 27, the processes in steps S73 to S84 shown in FIG. 31 are executed and then the process returns to step S26. Here, in the special symbol process in step S80, the process for determining whether or not the start winning flag is on is executed as the process in step S351 shown in FIG. Then, when the start winning flag is on, the winning process of step S352 may be executed, and the random number value may be read from the random number circuit 103 and stored in the special figure storage unit 131. Thereby, it is possible to prevent an increase in the processing amount of the CPU 104 included in the game control microcomputer 100 when a timer interrupt occurs, and to reduce the control burden when the timer interrupt occurs.

上記実施の形態では、演出制御用マイクロコンピュータ120が図63に示すステップS954にて満タン報知開始コマンドを受信したと判定したときに、図64(C)に例示するような満タン報知画面となる画像を画像表示装置5に表示させた後、図63に示すステップS952にて満タン報知終了コマンドを受信したと判定されるまでは、満タン報知画面の表示が継続して行われる。しかしながら、この発明はこれに限定されるものではなく、例えば図64(A)に例示した賞球過多報知画面や図64(B)に例示した賞球不足報知画面を表示する場合と同様に、報知を終了するタイミングに達したときには、満タン報知画面などの表示を終了させるようにしてもよい。この場合には、主基板11から演出制御基板12に対して報知の終了を指示するコマンドを送信する必要がないので、遊技制御用マイクロコンピュータ100における制御負担を軽減することができる。   In the above embodiment, when it is determined that the production control microcomputer 120 has received the full tank notification start command in step S954 shown in FIG. 63, the full tank notification screen as illustrated in FIG. After the displayed image is displayed on the image display device 5, the full tank notification screen is continuously displayed until it is determined in step S952 shown in FIG. 63 that the full tank notification end command has been received. However, the present invention is not limited to this. For example, as in the case of displaying the excessively high prize ball notification screen illustrated in FIG. 64 (A) or the shortage of bonus ball notification screen illustrated in FIG. 64 (B), When the timing to end the notification is reached, the display of the full notification screen or the like may be ended. In this case, since it is not necessary to transmit a command for instructing the end of notification from the main board 11 to the effect control board 12, the control burden on the game control microcomputer 100 can be reduced.

上記実施の形態では、図54に示す賞球払出回数算出処理におけるステップS801にて主基板通信エラーフラグがオンとなっているか否かを判定し、オンであるときにはそのまま賞球払出回数算出処理を終了する。また、図55に示す賞球払出駆動処理におけるステップS821にて主基板通信エラーフラグがオンとなっているか否かを判定し、オンであるときにはステップS839の処理に進むことで払出モータ51による遊技球の払出動作を停止させる。その一方で、図58に示す球貸し払出回数算出処理や図59に示す球貸し払出駆動処理では、主基板通信エラーフラグがオンとなっているか否かの判定は行われない。しかしながら、この発明はこれに限定されるものではなく、例えば図58に示す球貸し払出回数算出処理を開始したときには、まず主基板通信エラーフラグがオンとなっているか否かを判定し、オンであるときにはそのまま球貸し払出回数算出処理を終了するようにしてもよい。また、図59に示す球貸し払出駆動処理を開始したときには、まず主基板通信エラーフラグがオンとなっているか否かを判定し、オンであるときにはステップS896の処理に進んで払出モータ51による遊技球の払出動作を停止させるようにしてもよい。これにより、主基板11からのACKフィードバックコマンドを受信していない旨の判定がなされたときには、球貸し未払出カウンタの値が「0」以外の値となって未払出の貸し球となる遊技球があることを示していても払出制御を停止する状態に制御されることになる。これにより、確実な払出制御を実行して、例えば通信エラーや通信線に対する不正行為などによる異常が発生したときに、貸し球となる遊技球を過剰に払い出してしまうことを防止できる。   In the above embodiment, it is determined whether or not the main board communication error flag is on in step S801 in the prize ball payout number calculation process shown in FIG. finish. Further, in step S821 in the prize ball payout driving process shown in FIG. 55, it is determined whether or not the main board communication error flag is turned on. If it is turned on, the process proceeds to step S839 to play the game by the payout motor 51. The ball dispensing operation is stopped. On the other hand, in the ball lending / dispensing number calculation process shown in FIG. 58 and the ball lending / dispensing drive process shown in FIG. 59, it is not determined whether or not the main board communication error flag is on. However, the present invention is not limited to this. For example, when the ball lending / dispensing number calculation process shown in FIG. 58 is started, it is first determined whether or not the main board communication error flag is turned on. In some cases, the ball lending / dispensing number calculation processing may be terminated as it is. When the ball lending / dispensing drive process shown in FIG. 59 is started, it is first determined whether or not the main board communication error flag is turned on. If it is turned on, the process proceeds to step S896 to play the game by the payout motor 51. The ball payout operation may be stopped. Thus, when it is determined that the ACK feedback command from the main board 11 has not been received, the value of the ball lending unpaid counter becomes a value other than “0” and becomes a non-paid lending ball. Even if it indicates that there is, there is a control to stop the payout control. Thereby, reliable payout control is executed, and it is possible to prevent excessively paying out the game balls to be rented when, for example, an abnormality due to a communication error or an illegal act on the communication line occurs.

上記実施の形態では、始動口スイッチ22から出力された検出信号が、始動入賞信号SSとして乱数回路103に設けられたタイマ回路179に入力される。そして、タイマ回路179において、始動入賞信号SSが入力されている時間を計測し、計測した時間が所定の時間(例えば3ミリ秒)になったときに、始動入賞信号SSをラッチ信号生成回路180に出力していた。しかしながら、この発明はこれに限定されるものではなく、始動口スイッチ22からの検出信号をCPU104に入力し、CPU104が所定回(例えば2回)の遊技制御用タイマ割込み処理を実行する期間(例えば4ミリ秒間)にわたり、始動口スイッチ22からの検出信号が継続してオン状態であるときに、ラッチ用始動入賞信号SNをラッチ信号生成回路180に送出するようにしてもよい。この場合、図12に示すような乱数回路103が備えるタイマ回路179は不要であり、例えばラッチ信号生成回路180が備えるD入力端子に、CPU104から出力されるラッチ用始動入賞信号SNを入力させる。そして、ラッチ信号生成回路180が備えるクロック入力端子には、反転回路178から出力される反転クロック信号S2や遅延回路182から出力される遅延クロック信号S3を入力させればよい。ラッチ信号生成回路180は、D入力端子に入力されるラッチ用始動入賞信号SNを、クロック入力端子に入力される反転クロック信号S2や遅延クロック信号S3の立上がりエッジに同期させて出力することにより、ラッチ信号SLを生成して出力する。加えて、図43に示すステップS341の処理では、始動口スイッチ22からの検出信号がオン状態となってからオン状態のラッチ用始動入賞信号SNをラッチ信号生成回路180に送出するまでに要する期間よりも長い時間にわたり始動口スイッチ22からの検出信号がオン状態であるときに、始動口スイッチ22からの始動入賞信号がオン状態である旨の判定がなされるようにすればよい。具体的な一例として、2回の遊技制御用タイマ割込み処理を実行する期間である4ミリ秒間にわたり始動口スイッチ22からの検出信号が継続してオン状態であるときにオン状態のラッチ用始動入賞信号SNをラッチ信号生成回路180に送出する場合には、ステップS341にて始動口スイッチタイマにおけるタイマ値と比較するスイッチオン判定値を、「2」よりも大きな値(例えば「3」)に予め定めておく。そして、始動口スイッチタイマにおけるタイマ値がスイッチオン判定値に達しているときには始動入賞信号がオン状態であると判定してステップS342の入賞処理を実行する。これにより、遊技制御用タイマ割込み処理の実行回数がスイッチオン判定値に対応した所定回に達するまでの間、始動口スイッチ22からの検出信号が継続してオン状態であるときに、特別図柄表示装置4による特図ゲームの実行条件が成立したと判定されることになる。その一方で、ラッチ用始動入賞信号SNは、遊技制御用タイマ割込み処理の実行回数がスイッチオン判定値に対応した所定回数に達するまでの時間よりも短い時間である4ミリ秒間にわたり始動口スイッチ22からの検出信号が継続してオン状態であることを条件に、オン状態となる。   In the above embodiment, the detection signal output from the start port switch 22 is input to the timer circuit 179 provided in the random number circuit 103 as the start winning signal SS. The timer circuit 179 measures the time during which the start winning signal SS is input. When the measured time reaches a predetermined time (for example, 3 milliseconds), the start winning signal SS is latched. Was output. However, the present invention is not limited to this. The detection signal from the start port switch 22 is input to the CPU 104, and the CPU 104 executes a game control timer interrupt process a predetermined number of times (for example, twice) (for example, The latch start winning signal SN may be sent to the latch signal generation circuit 180 when the detection signal from the start port switch 22 is continuously on for 4 milliseconds). In this case, the timer circuit 179 included in the random number circuit 103 as shown in FIG. 12 is not necessary. For example, the latch start winning signal SN output from the CPU 104 is input to the D input terminal included in the latch signal generation circuit 180. Then, the inverted clock signal S2 output from the inverter circuit 178 and the delayed clock signal S3 output from the delay circuit 182 may be input to the clock input terminal included in the latch signal generation circuit 180. The latch signal generation circuit 180 outputs the latch start winning signal SN input to the D input terminal in synchronization with the rising edge of the inverted clock signal S2 or the delayed clock signal S3 input to the clock input terminal. A latch signal SL is generated and output. In addition, in the process of step S341 shown in FIG. 43, the period required from when the detection signal from the start port switch 22 is turned on until the latched start winning signal SN for the on state is sent to the latch signal generation circuit 180. When the detection signal from the start port switch 22 is in the on state for a longer time, it may be determined that the start winning signal from the start port switch 22 is in the on state. As a specific example, when the detection signal from the start port switch 22 is continuously on for 4 milliseconds, which is a period for executing two game control timer interrupt processes, the start winning for the latch in the on state is performed. When the signal SN is sent to the latch signal generation circuit 180, the switch-on determination value to be compared with the timer value in the start-up switch timer in step S341 is set in advance to a value larger than “2” (eg, “3”). Set it up. When the timer value in the start port switch timer has reached the switch-on determination value, it is determined that the start winning signal is in the on state, and the winning process in step S342 is executed. Thus, the special symbol display is performed when the detection signal from the start port switch 22 is continuously on until the number of times of execution of the game control timer interrupt process reaches a predetermined number corresponding to the switch-on determination value. It is determined that the execution condition of the special figure game by the device 4 is established. On the other hand, the start start signal SN for latch is the start port switch 22 for 4 milliseconds, which is shorter than the time until the number of executions of the game control timer interrupt process reaches the predetermined number corresponding to the switch-on determination value. The on-state is set on condition that the detection signal from is continuously on.

また、上記実施の形態において、タイマ回路179は、内部システムクロックCLKを用いて始動入賞信号SSの入力時間を計測していたが、これに限定されず、内部システムクロックCLKを分周したクロック信号や、クロック回路101によって生成される内部システムクロックCLKとは異なるクロック信号を用いてもよい。例えば、タイマ回路179は、クロック信号出力回路171から出力されたクロック信号S1を用いて始動入賞信号SSの入力時間を計測してもよい。また、上記実施の形態において、タイマ回路179には、所定の時間として3ミリ秒が設定されていたが、これに限定されず、2回の遊技制御用タイマ割込み処理の実行時間である4ミリ秒よりも短い時間であれば任意に設定可能である。   In the above embodiment, the timer circuit 179 measures the input time of the start winning signal SS using the internal system clock CLK. However, the present invention is not limited to this, and the clock signal obtained by dividing the internal system clock CLK. Alternatively, a clock signal different from the internal system clock CLK generated by the clock circuit 101 may be used. For example, the timer circuit 179 may measure the input time of the start winning signal SS using the clock signal S1 output from the clock signal output circuit 171. Further, in the above embodiment, the timer circuit 179 is set to 3 milliseconds as the predetermined time, but is not limited to this, and is 4 milliseconds which is the execution time of two game control timer interrupt processes. Any time shorter than a second can be set.

さらに、上記実施の形態において、CPU104は、2回の遊技制御用タイマ割込み処理が実行されている期間(4ミリ秒)にわたり始動入賞信号が継続して入力されたことに基づいて、図43に示すステップS352の入賞処理を実行していた。しかしながら、本発明は、これに限定されず、上述した遊技制御用タイマ割込み処理の実行回数は、任意であり、例えば、CPU104は、3回の遊技制御用タイマ割込み処理が実行されている期間(6ミリ秒)にわたり始動入賞信号が継続して入力されたことに基づいて、入賞処理を実行してもよい。この場合、タイマ回路179には、3回の遊技制御用タイマ割込処理の実行時間である6ミリ秒よりも短い時間を設定すればよい。   Furthermore, in the above embodiment, the CPU 104 determines that the start winning signal is continuously input over the period (4 milliseconds) in which the two game control timer interruption processes are executed, as shown in FIG. The winning process of step S352 shown in FIG. However, the present invention is not limited to this, and the number of executions of the above-described game control timer interrupt process is arbitrary. For example, the CPU 104 has a period during which three game control timer interrupt processes are executed ( The winning process may be executed on the basis that the start winning signal is continuously input for 6 milliseconds). In this case, the timer circuit 179 may be set to a time shorter than 6 milliseconds, which is the execution time of three game control timer interruption processes.

上記実施の形態では、「0」〜「9」を示す数字等から構成される特別図柄のうちで、「7」を示す特別図柄を大当り図柄とし、それ以外の数値を示す特別図柄をハズレ図柄とし、遊技状態が高確率状態となる確変大当りとなるか否かは、特別図柄とは別個に決定されるものとして説明した。しかしながら、この発明はこれに限定されるものではなく、遊技状態が高確率状態となる確変大当りのときの大当り図柄である確変大当り図柄と、遊技状態が高確率状態にはならない通常大当りのときの大当り図柄である通常大当り図柄とを、互いに異なる特別図柄としてもよい。例えば、「3」を示す特別図柄を通常大当り図柄とし、「7」を示す特別図柄を確変大当り図柄としてもよい。この場合には、表示結果通知コマンドとなるコマンド90XXhのうち、コマンド9001hを特図ゲームでの確定特別図柄が通常大当り図柄としての「3」を示す特別図柄であることを通知するコマンドとし、コマンド9002hを特図ゲームでの確定特別図柄が確変大当り図柄としての「7」を示す特別図柄であることを通知するコマンドとすればよい。   In the above embodiment, among the special symbols composed of numbers such as “0” to “9”, the special symbol indicating “7” is the jackpot symbol, and the special symbol indicating other numerical values is the lost symbol. In the above description, it is assumed that whether or not the game state becomes a probable big hit that becomes a high probability state is determined separately from the special symbol. However, the present invention is not limited to this, and the probability variation big hit symbol that is a big hit symbol when the gaming state is a high probability state and the normal big hit when the gaming state does not become a high probability state. The normal big hit symbol which is a big hit symbol may be a different special symbol. For example, a special symbol indicating “3” may be a normal jackpot symbol, and a special symbol indicating “7” may be a probability variation jackpot symbol. In this case, among the commands 90XXh serving as the display result notification command, the command 9001h is a command for notifying that the confirmed special symbol in the special game is a special symbol indicating “3” as a normal jackpot symbol, 9002h may be a command for notifying that the confirmed special symbol in the special symbol game is a special symbol indicating “7” as the probability variation big hit symbol.

上記実施の形態では、図41に示すステップS308にて満タンスイッチ26からの検出信号がオン状態であるときに、ステップS310での設定により満タン報知開始コマンドを演出制御基板12に対して送信させ、演出制御用マイクロコンピュータ120が図63に示すステップS955の処理を行うことにより、図64(C)に例示するような満タン報知画面となる画像を画像表示装置5に表示させて下皿33が満タン状態であることを報知するものとして説明した。しかしながら、この発明はこれに限定されるものではなく、下皿33が満タン状態であることを外部から認識可能に報知する任意の動作を行うものであればよい。例えば、ステップS310の処理では、遊技制御用マイクロコンピュータ100が備える出力ポートの所定ビットに制御データをセットするなどして、下皿33が満タン状態であることを報知するためのランプを点灯または点滅させたり、音声を出力させたりしてもよい。   In the above embodiment, when the detection signal from the full switch 26 is on in step S308 shown in FIG. 41, a full tank notification start command is transmitted to the effect control board 12 by the setting in step S310. Then, the effect control microcomputer 120 performs the process of step S955 shown in FIG. 63, whereby the image display device 5 displays an image that becomes a full tank notification screen as illustrated in FIG. It has been described as a notification that 33 is full. However, the present invention is not limited to this, and any operation may be performed as long as it performs an arbitrary operation for recognizing from the outside that the lower plate 33 is full. For example, in the process of step S310, the control data is set in a predetermined bit of the output port provided in the game control microcomputer 100, or the lamp for informing that the lower plate 33 is full or is turned on or It may be blinked or audio may be output.

上記実施の形態では、発射装置19を駆動させるときには、主基板11から発射装置19に対してオン状態の発射許可信号を送信し、球送り装置62を駆動させるときには、主基板11から球送り装置62に対してオン状態の供給許可信号を送信するようにしている。そして、発射装置19では、主基板11からの発射許可信号がオン状態となっていることを条件に、電源基板10から伝送されたVSLを用いて発射用ソレノイド19Cを駆動(励磁)して遊技球を発射可能とする一方、球送り装置62では、主基板11からの供給許可信号がオン状態となっていることを条件に、電源基板10から伝送されたVSLを用いて球送り用のソレノイドまたはモータを駆動して遊技球を発射装置19に供給可能としている。しかしながら、この発明はこれに限定されるものではなく、発射装置19や球送り装置62を駆動させるときには、主基板11から発射装置19や球送り装置62に対して駆動電圧(例えばVSL)を供給する一方、発射装置19や球送り装置62を停止させるときには、主基板11から発射装置19や球送り装置62に対する駆動電圧の供給を停止するようにしてもよい。この場合、遊技制御用マイクロコンピュータ100に設けられたCPU104は、図33に示すステップS223の処理として、発射装置19に対して駆動電圧を供給するための処理を実行し、図33に示すステップS226の処理として、球送り装置62に対して駆動電圧を供給するための処理を実行すればよい。具体的な一例として、ステップS223の処理では、電源基板10から主基板11を介して発射装置19に駆動電圧を供給する伝送回路に設けられた発射駆動スイッチをオン状態に設定することで発射装置19に対する駆動電圧の供給を行う一方、ステップS221にて発射許可制御タイマがタイムアウトしている旨の判定がなされたときには、発射駆動スイッチをオフ状態に設定することで発射装置19に対する駆動電圧の供給を停止すればよい。また、ステップS226の処理では、電源基板10から主基板11を介して球送り装置62に駆動電圧を供給する伝送回路に設けられた供給駆動スイッチをオン状態に設定することで球送り装置62に対する駆動電圧の供給を行う一方、ステップS224にて供給許可制御タイマがタイムアウトしている旨の判定がなされたときには、供給駆動スイッチをオフ状態に設定することで球送り装置62に対する駆動電圧の供給を停止すればよい。   In the above embodiment, when the launching device 19 is driven, the main board 11 transmits an on-state launch permission signal to the launching device 19, and when the ball feeding device 62 is driven, the main substrate 11 sends the ball feeding device. An ON-state supply permission signal is transmitted to 62. In the launching device 19, the launch solenoid 19C is driven (excited) using the VSL transmitted from the power supply board 10 on condition that the launch permission signal from the main board 11 is turned on. While the ball can be launched, the ball feeding device 62 uses a VSL transmitted from the power supply board 10 to provide a ball feeding solenoid on condition that the supply permission signal from the main board 11 is on. Alternatively, the game ball can be supplied to the launching device 19 by driving the motor. However, the present invention is not limited to this, and when driving the launching device 19 and the ball feeding device 62, a driving voltage (for example, VSL) is supplied from the main board 11 to the firing device 19 and the ball feeding device 62. On the other hand, when the firing device 19 and the ball feeding device 62 are stopped, the supply of the drive voltage from the main board 11 to the firing device 19 and the ball feeding device 62 may be stopped. In this case, the CPU 104 provided in the game control microcomputer 100 executes a process for supplying a driving voltage to the launching device 19 as a process of step S223 shown in FIG. 33, and a step S226 shown in FIG. As the process, a process for supplying a driving voltage to the ball feeding device 62 may be executed. As a specific example, in the process of step S223, the launch device is set by turning on a launch drive switch provided in a transmission circuit that supplies a drive voltage from the power supply substrate 10 to the launch device 19 via the main substrate 11. When it is determined in step S221 that the firing permission control timer has timed out, the drive voltage is supplied to the launching device 19 by setting the firing drive switch to the OFF state. Can be stopped. Further, in the process of step S226, the supply drive switch provided in the transmission circuit that supplies the drive voltage to the ball feeder 62 from the power supply board 10 through the main board 11 is set to the on state, whereby the ball feeder 62 is turned on. While it is determined that the supply permission control timer has timed out in step S224, the drive voltage is supplied to the ball feeder 62 by setting the supply drive switch to the OFF state. Just stop.

また、発射装置19を駆動させるときには、主基板11から発射装置19に対してオン状態の発射許可信号を送信するものとして説明したが、これに限定されるものではなく、主基板11から球送り装置62に対して供給許可信号を送信することで球送り装置62を駆動あるいは停止させる一方、発射装置19は主基板11の制御によらずに発射用ソレノイド19Cを駆動して遊技球を打出可能な状態となるようにしてもよい。具体的な一例として、発射装置19が備えるAND回路19Aには、カードユニット70からインタフェース基板20を介して伝送されたVL信号と、タッチセンサ75から主基板11を介することなく伝送された検出信号とが、入力されてもよい。この場合、発射装置19が備えるソレノイド駆動電圧生成回路19Bは、VL信号とタッチセンサ75からの検出信号とがともにオン状態であるときに、電源基板10から供給されたVSLを用いて操作ノブ30からの操作量検出信号に応じたソレノイド駆動電圧を生成することになる。あるいは、発射装置19が備えるソレノイド駆動電圧生成回路19Bは、カードユニット70からインタフェース基板20を介して伝送されたVL信号やタッチセンサ75からの検出信号のいずれかがオン状態であるときに、電源基板10から供給されたVSLを用いて操作ノブ30からの操作量検出信号に応じたソレノイド駆動電圧を生成してもよい。このような場合でも、球送り装置62は、主基板11からの供給許可信号がオフ状態である期間においては発射装置19に遊技球を供給しないことから、発射装置19によって遊技球が発射されないようにすることができる。すなわち、タッチセンサ75からのタッチセンサ検出信号がオン状態であり、かつ、満タンスイッチ26からの検出信号がオフ状態であるときに、主基板11から球送り装置62への供給許可信号がオン状態となることで球送り装置62が駆動されて遊技球が発射装置19に供給されることで、遊技球の発射が可能になる。また、主基板11において発射装置19を駆動するための制御を行う必要がないので、主基板11における制御負担を軽減することができる。   Moreover, when driving the launching device 19, the main board 11 has been described as transmitting an on-state launch permission signal to the launching device 19. The ball feeding device 62 is driven or stopped by transmitting a supply permission signal to the device 62, while the launching device 19 can drive the launching solenoid 19 </ b> C and launch a game ball without being controlled by the main board 11. You may make it become a state. As a specific example, a VL signal transmitted from the card unit 70 via the interface board 20 and a detection signal transmitted from the touch sensor 75 without passing through the main board 11 are sent to the AND circuit 19A included in the launching device 19. May be input. In this case, the solenoid drive voltage generation circuit 19B included in the launching device 19 uses the VSL supplied from the power supply substrate 10 when the VL signal and the detection signal from the touch sensor 75 are both on. The solenoid drive voltage corresponding to the operation amount detection signal from is generated. Alternatively, the solenoid drive voltage generation circuit 19 </ b> B included in the launching device 19 is configured to supply power when either the VL signal transmitted from the card unit 70 via the interface board 20 or the detection signal from the touch sensor 75 is on. A solenoid drive voltage corresponding to an operation amount detection signal from the operation knob 30 may be generated using VSL supplied from the substrate 10. Even in such a case, the ball feeder 62 does not supply the game ball to the launcher 19 during the period in which the supply permission signal from the main board 11 is in an off state, so that the game ball is not launched by the launcher 19. Can be. That is, when the touch sensor detection signal from the touch sensor 75 is in the on state and the detection signal from the full switch 26 is in the off state, the supply permission signal from the main board 11 to the ball feeder 62 is on. By entering the state, the ball feeding device 62 is driven and the game ball is supplied to the launching device 19, so that the game ball can be launched. Further, since it is not necessary to perform control for driving the launching device 19 on the main board 11, the control burden on the main board 11 can be reduced.

さらに、主基板11から発射装置19に対して送出される発射許可信号や、主基板11から球送り装置62に対して送出される供給許可信号は、主基板11にてスイッチ回路111を介して遊技制御用マイクロコンピュータ100に入力された満タンスイッチ26からの検出信号やタッチセンサ75からのタッチセンサ検出信号に基づき、遊技制御用マイクロコンピュータ100が図31に示すステップS73の発射制御処理やステップS74の入出力処理を実行することにより生成されるものとして説明した。しかしながら、この発明はこれに限定されるものではなく、例えば主基板11において遊技制御用マイクロコンピュータ100の外部に設けられたAND回路に、満タンスイッチ26からの検出信号とタッチセンサ75からのタッチセンサ検出信号とを入力させ、そのAND回路からの出力信号を発射許可信号や供給許可信号として、発射装置19や球送り装置62に対して送出するようにしてもよい。   Further, the launch permission signal sent from the main board 11 to the launching device 19 and the supply permission signal sent from the main board 11 to the ball feeding device 62 are transmitted via the switch circuit 111 on the main board 11. Based on the detection signal from the full switch 26 and the touch sensor detection signal from the touch sensor 75 input to the game control microcomputer 100, the game control microcomputer 100 performs the launch control process or step of step S73 shown in FIG. The description has been made assuming that it is generated by executing the input / output process of S74. However, the present invention is not limited to this. For example, a detection signal from the full switch 26 and a touch from the touch sensor 75 are connected to an AND circuit provided outside the game control microcomputer 100 on the main board 11. A sensor detection signal may be input, and an output signal from the AND circuit may be sent to the launching device 19 or the ball feeding device 62 as a launching permission signal or a supply permission signal.

また、上記実施の形態では、満タンスイッチ26や球切れスイッチ27からの検出信号を受信するための配線が主基板11に接続され、図52に示すステップS723などでは、主基板11からの球切れ通知コマンドを受信したか否かをチェックすることにより、球切れ状態となっているか否かを判定するものとして説明した。しかしながら、この発明はこれに限定されるものではなく、満タンスイッチ26や球切れスイッチ27からの配線が払出制御基板15に接続され、払出制御基板15から主基板11に対して、満タンスイッチ26や球切れスイッチ27からの検出信号が入力されるようにしてもよい。この場合には、満タンスイッチ26や球切れスイッチ27からスイッチ回路161を介して払出制御用マイクロコンピュータ150に検出信号が入力され、それらの検出信号の状態に応じた払出通知コマンドを払出制御基板15から主基板11に対して送信させるようにしてもよい。あるいは、払出制御基板15において払出制御用マイクロコンピュータ150の外部に設けられた分岐回路により、満タンスイッチ26や球切れスイッチ27からの検出信号を分岐させて、一方を払出制御用マイクロコンピュータ150に入力させるとともに、他方を主基板11に対して伝送するようにしてもよい。そして、図52に示すステップS723などでは、球切れスイッチ27から払出制御用マイクロコンピュータ150に入力される検出信号がオン状態となっているか否かをチェックすることにより、球切れ状態となっているか否かを判定すればよい。   In the above embodiment, the wiring for receiving the detection signal from the full switch 26 and the ball break switch 27 is connected to the main board 11, and in step S723 shown in FIG. It has been described that it is determined whether or not the ball is in a broken state by checking whether or not a cut notification command has been received. However, the present invention is not limited to this, and the wiring from the full tank switch 26 and the ball break switch 27 is connected to the payout control board 15, and the full control switch 15 is connected to the main board 11 from the payout control board 15. 26 or a detection signal from the ball break switch 27 may be input. In this case, a detection signal is input to the payout control microcomputer 150 from the full switch 26 or the ball break switch 27 via the switch circuit 161, and a payout notification command corresponding to the state of these detection signals is issued. 15 may be transmitted to the main board 11. Alternatively, the detection signal from the full tank switch 26 or the ball break switch 27 is branched by a branch circuit provided outside the payout control microcomputer 150 on the payout control board 15, and one of them is sent to the payout control microcomputer 150. While inputting, the other may be transmitted to the main board 11. Then, in step S723 shown in FIG. 52, whether or not the ball is out of state by checking whether or not the detection signal input from the ball out switch 27 to the payout control microcomputer 150 is in the on state. What is necessary is just to determine.

あるいは、満タンスイッチ26や球切れスイッチ27からの検出信号を受信するための配線が主基板11に接続され、例えば主基板11において遊技制御用マイクロコンピュータ100の外部に設けられた分岐回路により、満タンスイッチ26や球切れスイッチ27からの検出信号を分岐させて、一方を遊技制御用マイクロコンピュータ100に入力させるとともに、他方を払出制御基板15に対して伝送するようにしてもよい。また、満タンスイッチ26や球切れスイッチ27からの検出信号を主基板11や払出制御基板15の外部において分岐させて、一方を主基板11に伝送するとともに、他方を払出制御基板15に伝送するようにしてもよい。   Alternatively, a wiring for receiving a detection signal from the full switch 26 or the ball break switch 27 is connected to the main board 11, and for example, by a branch circuit provided outside the game control microcomputer 100 on the main board 11, The detection signals from the full tank switch 26 and the ball break switch 27 may be branched so that one is input to the game control microcomputer 100 and the other is transmitted to the payout control board 15. Further, the detection signals from the full tank switch 26 and the ball break switch 27 are branched outside the main board 11 and the payout control board 15, and one is transmitted to the main board 11 and the other is transmitted to the payout control board 15. You may do it.

上記実施の形態では、連続して払い出される賞球の個数には、上限が設けられていなかったが、この発明はこれに限定されるものではなく、連続して払い出される賞球の個数に上限値(賞球連続払出上限値)を設けるようにしてもよい。例えば賞球払出上限値として、1単位の貸し球の払出数(例えば25個)に相当する値である「25」が設定されている場合、図54に示す賞球払出回数算出処理では、ステップS805での減算処理により得られた値が「25」以下であれば、ステップS806の処理に進んでステップS805にて得られた減算値を払出モータ回転カウンタにセットするようにすればよい。これに対して、ステップS805での減算処理により得られた値が「25」より大きいときには、賞球連続払出上限値である「25」を賞球未払出カウンタ、前回未払出カウンタ、及び払出モータ回転カウンタにセットする。このときには、ステップS805にて得られた減算値から、さらに賞球連続払出上限値である「25」を減算した値を繰越未払出数として、例えばRAM216に設けられた繰越未払出数記憶部などといった所定の記憶領域に記憶させておく。そして、図54に示す賞球払出回数算出処理では、ステップS801にて主基板通信エラーフラグがオフである旨の判定がなされたとき、あるいはステップS802にて賞球未払出カウンタの値が払出個数カウンタの値以下であると判定されたときに、繰越未払出数記憶部などに「0」以外の値が記憶されているか否かを判定する。この判定処理を実行した際に「0」以外の値が記憶されていれば、さらに繰越未払出数が「25」以下であるか否かを判定する。ここで、繰越未払出数が「25」以下であれば、繰越未払出数を賞球未払出カウンタ、前回未払出カウンタ、及び払出モータ回転カウンタにセットするとともに、繰越未払出数の記憶をクリアして「0」に初期化する。他方、繰越未払出数が「25」より大きいときには、賞球連続払出上限値である「25」を賞球未払出カウンタ、前回未払出カウンタ、及び払出モータ回転カウンタにセットするとともに、繰越未払出数から「25」を減算した値を、新たな繰越未払出数として記憶させればよい。   In the above embodiment, there is no upper limit on the number of prize balls to be paid out continuously. However, the present invention is not limited to this, and the upper limit on the number of prize balls to be paid out continuously. A value (award ball continuous payout upper limit value) may be provided. For example, when “25” which is a value corresponding to the number of lending balls per unit (for example, 25) is set as the prize ball payout upper limit value, in the prize ball payout number calculation process shown in FIG. If the value obtained by the subtraction process in S805 is “25” or less, the process proceeds to step S806, and the subtraction value obtained in step S805 may be set in the payout motor rotation counter. On the other hand, when the value obtained by the subtracting process in step S805 is larger than “25”, “25” which is the winning ball continuous payout upper limit value is set to the winning ball unpaid counter, the previous unpaid counter, and the payout motor. Set to the rotation counter. At this time, a value obtained by further subtracting “25”, which is the upper limit of consecutive winning ball payouts, from the subtraction value obtained in step S805, is used as the carryover unpaid number, for example, a carryover unpaid number storage unit provided in the RAM 216 Are stored in a predetermined storage area. 54, when it is determined in step S801 that the main board communication error flag is off, or in step S802, the value of the prize ball unpaid counter is the number of payouts. When it is determined that the value is equal to or less than the counter value, it is determined whether or not a value other than “0” is stored in the carry-over unpaid-out number storage unit or the like. If a value other than “0” is stored when this determination process is executed, it is further determined whether or not the number of unpaid carry-outs is “25” or less. Here, if the number of unpaid unpaid is “25” or less, the unpaid unpaid number is set in the winning ball unpaid counter, the previous unpaid counter, and the payout motor rotation counter, and the stored unpaid number is cleared. And is initialized to “0”. On the other hand, when the number of unpaid unpaid is larger than “25”, the upper limit value “25”, which is the continuous unpaid prize ball, is set in the unpaid prize ball counter, the previous unpaid counter, and the dispense motor rotation counter, A value obtained by subtracting “25” from the number may be stored as a new carry-out unpaid number.

加えて、図55及び図56に示す賞球払出駆動処理では、ステップS843での減算処理により得られた値と、払出モータ回転カウンタの値とを加算し、得られた加算値が賞球連続払出上限値である「25」以下であるか否かを判定する。このとき、加算値が「25」以下であれば、ステップS844の処理に進んで賞球未払出カウンタの値における増加分を払出モータ回転カウンタの値に加算して更新すればよい。これに対して、加算値が「25」より大きいときには、賞球連続払出上限値である「25」を払出モータ回転カウンタにセットするとともに、賞球未払出カウンタの値から払出モータ回転カウンタの値における増加分を減算して、得られた減算値を賞球未払出カウンタにセットすればよい。   In addition, in the prize ball payout driving process shown in FIGS. 55 and 56, the value obtained by the subtraction process in step S843 is added to the value of the payout motor rotation counter, and the obtained addition value is the prize ball continuous. It is determined whether or not the payout upper limit value is “25” or less. At this time, if the addition value is “25” or less, the process proceeds to step S844, and the increment in the value of the award ball non-payout counter is added to the value of the payout motor rotation counter and updated. On the other hand, when the addition value is larger than “25”, the prize ball continuous payout upper limit value “25” is set in the payout motor rotation counter, and the value of the payout motor rotation counter is calculated from the value of the prize ball non-payout counter. The obtained increment value may be set in the award ball unpaid counter.

上記実施の形態では、図54に示すステップS802にて賞球未払出カウンタの値が払出個数カウンタの値と等しいか、それよりも小さな値となっているときに、ステップS803、S804、S812、S813の処理を実行して、賞球となる遊技球の払出動作を制御するための設定を初期化するものとして説明した。これに対して、賞球となる遊技球の払出が正常に終了したときに、賞球となる遊技球の払出動作を制御するための設定を初期化するようにしてもよい。より具体的には、図55に示すステップS833にて払出個数カウンタの値が賞球未払出カウンタの値に達した旨の判定がなされたときに、ステップS803、S804、S812、S813に相当する処理を実行してもよい。   In the above embodiment, when the value of the award ball non-payout counter is equal to or smaller than the value of the number-of-payout counter in step S802 shown in FIG. 54, steps S803, S804, S812, It has been described that the process for S813 is executed to initialize the setting for controlling the payout operation of the game ball to be a prize ball. On the other hand, the setting for controlling the payout operation of the game ball serving as the prize ball may be initialized when the payout of the game ball serving as the prize ball ends normally. More specifically, when it is determined in step S833 shown in FIG. 55 that the value of the number-of-payout counter has reached the value of the award ball non-payout counter, this corresponds to steps S803, S804, S812, S813. Processing may be executed.

上記実施の形態では、図54に示すステップS807にて払出動作不良回数カウンタの値と比較される不良回数上限値を適切な値(例えば「9」)に設定することで、図55に示すステップS833にて払出個数カウンタの値が賞球未払出カウンタの値に達した後、図53に示すステップS743の賞球払出回数算出処理が実行されるより前の段階で払出数指定コマンドを受信した場合でも、直ちにエラーと判定されることを防止しつつ、払出モータ51あるいは払出ケース17における球詰まりなどの発生による払出動作の不良を適切に検出することができるようにするものとして説明した。しかしながら、この発明はこれに限定されるものではなく、例えば図55に示すステップS833にて払出個数カウンタの値が賞球未払出カウンタの値に達した旨の判定がなされたときに、払出動作不良回数カウンタをクリアして初期化するようにしてもよい。これにより、払出モータ51による払出動作が終了した後、払出完了待ち時間が経過する以前に払出カウントスイッチ72によって検出された遊技球の個数が賞球未払出カウンタの値と等しくなったときには、賞球となる遊技球の払出動作が適切に完了したと判断して、払出動作不良回数カウンタの値を直ちに初期値に設定することができる。   In the above embodiment, the step shown in FIG. 55 is performed by setting the upper limit value of the number of failures compared with the value of the payout operation failure number counter in step S807 shown in FIG. 54 to an appropriate value (for example, “9”). After the value of the number-of-payout counter reaches the value of the award ball non-payout counter in S833, the payout number designation command is received at a stage before the prize ball payout number calculation processing in step S743 shown in FIG. 53 is executed. Even in such a case, it has been described that it is possible to appropriately detect a defect in a payout operation due to occurrence of a clogged ball in the payout motor 51 or the payout case 17 while preventing an error from being determined immediately. However, the present invention is not limited to this. For example, when it is determined in step S833 shown in FIG. 55 that the value of the payout number counter has reached the value of the award ball non-payout counter, The defect counter may be cleared and initialized. Thus, when the number of game balls detected by the payout count switch 72 becomes equal to the value of the award ball non-payout counter after the payout operation by the payout motor 51 is finished and before the payout completion waiting time elapses, It is possible to determine that the payout operation of the game ball to be a ball has been properly completed, and to immediately set the value of the payout operation failure number counter to the initial value.

上記実施の形態では、図55に示すステップS824にて賞球となる遊技球を1個分払い出すための払出動作中ではないと判定したときに、ステップS825にて払出モータ回転カウンタの値が「0」であるか否かを判定し、「0」以外であれば、ステップS828にて遊技球を1個分払い出すための払出動作に関する設定を行うものとして説明した。しかしながら、この発明はこれに限定されるものではなく、ステップS825にて払出モータ回転カウンタの値が「0」以外である旨の判定がなされたときに、ステップS828にて払出モータ回転カウンタの値に対応した個数分の遊技球を払い出すための払出動作に関する設定を行うようにしてもよい。この場合には、ステップS828の処理として、例えば遊技球を払出モータ回転カウンタの値に対応した個数に達するまで連続して払い出す払出動作を払出モータ51に実行させる励磁パターンや励磁期間を設定する処理などが実行されればよい。具体的な一例として、まず、払出モータ51が遊技球を1個分払い出す払出動作に対応した励磁パターンを、ROM215の所定領域などに予め用意しておく。そして、ステップS828の処理では、ROM215の所定領域から読み出した励磁パターンに従った励磁信号を、払出モータ51に対して払出モータ回転カウンタの値に対応した回数だけ繰り返し出力するように、励磁期間や励磁パターンの繰り返し回数などの設定を行えばよい。このときには、ステップS829にて払出モータ回転カウンタをクリアして、そのカウント値を「0」に設定する。また、ステップS824では、例えば払出モータ51の励磁時間あるいは払出モータ位置センサ71による検出結果などから、ステップS828にて設定された払出動作の実行中であるか否かを判定すればよい。加えて、図59に示すステップS884にて払出モータ回転カウンタの値が「0」以外である旨の判定がなされたときにも、ステップS887にて払出モータ回転カウンタの値に対応した個数分の遊技球を払い出すための払出動作に関する設定を行うようにしてもよい。この場合には、ステップS887の処理として、前述したステップS828での設定と同様の設定を行う処理を実行した後、ステップS888にて払出モータ回転カウンタをクリアして、そのカウント値を「0」に設定する。また、ステップS883では、例えば払出モータ51の励磁時間あるいは払出モータ位置センサ71による検出結果などから、ステップS887にて設定された払出動作の実行中であるか否かを判定すればよい。   In the above embodiment, when it is determined in step S824 shown in FIG. 55 that the payout operation for paying out one game ball is not in progress, the value of the payout motor rotation counter is set in step S825. It is determined whether or not it is “0”, and if it is other than “0”, it has been described that the setting relating to the payout operation for paying out one game ball in step S828 is performed. However, the present invention is not limited to this. When it is determined in step S825 that the value of the payout motor rotation counter is other than “0”, the value of the payout motor rotation counter is determined in step S828. Settings relating to a payout operation for paying out game balls corresponding to the number of game balls may be made. In this case, as the processing of step S828, for example, an excitation pattern or an excitation period for causing the dispensing motor 51 to perform a dispensing operation for continuously dispensing gaming balls until the number corresponding to the value of the dispensing motor rotation counter is reached is set. It suffices if processing is executed. As a specific example, first, an excitation pattern corresponding to a payout operation in which the payout motor 51 pays out one game ball is prepared in a predetermined area of the ROM 215 in advance. In the process of step S828, the excitation period or the excitation signal is output so that the excitation signal according to the excitation pattern read from the predetermined area of the ROM 215 is repeatedly output to the payout motor 51 for the number of times corresponding to the value of the payout motor rotation counter. What is necessary is just to set the number of repetitions of the excitation pattern. At this time, the payout motor rotation counter is cleared in step S829, and the count value is set to “0”. In step S824, it may be determined whether or not the payout operation set in step S828 is being executed from the excitation time of the payout motor 51 or the detection result of the payout motor position sensor 71, for example. In addition, when it is determined in step S884 shown in FIG. 59 that the value of the payout motor rotation counter is other than “0”, the number corresponding to the value of the payout motor rotation counter in step S887. You may make it perform the setting regarding payout operation | movement for paying out a game ball. In this case, as a process of step S887, after performing a process for performing the same setting as the above-described setting in step S828, the payout motor rotation counter is cleared in step S888, and the count value is set to “0”. Set to. In step S883, it may be determined whether or not the payout operation set in step S887 is being executed based on, for example, the excitation time of the payout motor 51 or the detection result of the payout motor position sensor 71.

上記実施の形態では、図29に示すステップS107にて読み出した12ビット乱数最大値(KRMS)を、ステップS108にて乱数回路103が備える最大値比較回路177Aに一旦設定した後に、ステップS109にて12ビット乱数用の最大値として設定可能な範囲内ではない旨の判定がなされたときには、ステップS110にて所定値を最大値として再設定するものとして説明した。また、図30に示すステップS129にて読み出した16ビット乱数最大値(KRXS)を、ステップS130にて乱数回路103が備える最大値比較回路177Bに一旦設定した後に、ステップS131にて16ビット乱数用の最大値として設定可能な範囲内ではない旨の判定がなされたときには、ステップS132にて所定値を最大値として再設定するものとして説明した。しかしながら、この発明はこれに限定されず、ROM105からの読出値が最大値として設定可能な範囲内であるか否かを判定してから、範囲内であれば、その読出値を最大値比較回路177A、177Bに設定し、範囲内でなければ、所定値を最大値として設定するようにしてもよい。より具体的には、ステップS107にて12ビット乱数最大値(KRMS)を読み出した後には、まず、その読出値が12ビット乱数用の最大値として設定可能な範囲内であるか否かを判定し、範囲内であれば、そのままステップS107での読出値を最大値比較回路177Aに設定する。他方、ステップS107での読出値が12ビット乱数用の最大値として設定可能な範囲内でなければ、12ビット乱数用の最大値として設定可能な範囲内の所定値を最大値として最大値比較回路177Aに設定すればよい。また、ステップS129にて16ビット乱数最大値(KRXS)を読出した後には、まず、その読出値が16ビット乱数用の最大値として設定可能な範囲内であるか否かを判定し、範囲内であれば、そのままステップS129での読出値を最大値比較回路177Bに設定する。他方、ステップS129での読出値が16ビット乱数用の最大値として設定可能な範囲内でなければ、16ビット乱数用の最大値として設定可能な範囲内の所定値を最大値として最大値比較回路177Bに設定すればよい。このような処理により、最大値比較回路177A、177Bに最大値を設定する処理を1回実行すれば、再設定をする必要がなくなるので、最大値を設定するための制御負担を軽減することができる。   In the above embodiment, the 12-bit random number maximum value (KRMS) read in step S107 shown in FIG. 29 is once set in the maximum value comparison circuit 177A included in the random number circuit 103 in step S108, and then in step S109. When it is determined that the maximum value for the 12-bit random number is not within the settable range, the predetermined value is reset as the maximum value in step S110. Also, the 16-bit random number maximum value (KRXS) read in step S129 shown in FIG. 30 is once set in the maximum value comparison circuit 177B included in the random number circuit 103 in step S130, and then for 16-bit random number in step S131. When it is determined that the value is not within the range that can be set as the maximum value, the predetermined value is reset as the maximum value in step S132. However, the present invention is not limited to this, and it is determined whether or not the read value from the ROM 105 is within a range that can be set as the maximum value. It may be set to 177A and 177B, and if it is not within the range, a predetermined value may be set as the maximum value. More specifically, after reading the 12-bit random number maximum value (KRMS) in step S107, first, it is determined whether or not the read value is within a range that can be set as the maximum value for the 12-bit random number. If it is within the range, the read value in step S107 is set in the maximum value comparison circuit 177A as it is. On the other hand, if the read value in step S107 is not within the range that can be set as the maximum value for the 12-bit random number, the maximum value comparison circuit using the predetermined value within the range that can be set as the maximum value for the 12-bit random number as the maximum value. It may be set to 177A. After reading the 16-bit random number maximum value (KRXS) in step S129, it is first determined whether or not the read value is within a range that can be set as the maximum value for 16-bit random numbers. If so, the read value in step S129 is set in the maximum value comparison circuit 177B as it is. On the other hand, if the read value in step S129 is not within the range that can be set as the maximum value for the 16-bit random number, the maximum value comparison circuit using the predetermined value within the range that can be set as the maximum value for the 16-bit random number as the maximum value. What is necessary is just to set to 177B. With such a process, once the process for setting the maximum value in the maximum value comparison circuits 177A and 177B is executed once, there is no need to reset it, so the control burden for setting the maximum value can be reduced. it can.

上記実施の形態では、図27に示す遊技制御メイン処理におけるステップS26にて電源断信号がオン状態となったか否かの判定を行い、オン状態であるときにはステップ27にてメイン側電源断処理が実行されるものとして説明した。しかしながら、この発明はこれに限定されるものではなく、例えば図31に示す遊技制御用タイマ割込み処理が実行されるごとに、電源断信号がオン状態となったか否かの判定を行い、オン状態であるときにはメイン側電源断処理を実行するようにしてもよい。この場合、例えば遊技制御用タイマ割込み処理の実行が開始されるごとに電源断信号がオン状態であるか否かをチェックして、オン状態であれば電源断信号がオン状態である期間を計測するための電源断信号タイマにおけるタイマ値を1加算するなどして更新する一方、オフ状態であれば電源断信号タイマをクリアして初期化するようにしてもよい。そして、電源断信号タイマにおけるタイマ値を所定の電源断判定値(例えば「2」)と比較する。これにより、所定回(例えば2回)の遊技制御用タイマ割込み処理が実行されている期間(例えば4ミリ秒)にわたり電源断信号が継続してオン状態となっているか否かを判定することができる。このとき、電源断信号タイマにおけるタイマ値が電源断判定値に達していれば、メイン側電源断処理を実行すればよい。   In the above embodiment, it is determined in step S26 in the game control main process shown in FIG. 27 whether or not the power-off signal has been turned on. Described as being executed. However, the present invention is not limited to this. For example, each time the game control timer interrupt process shown in FIG. 31 is executed, it is determined whether or not the power-off signal is turned on. In such a case, the main-side power-off process may be executed. In this case, for example, whenever the execution of the game control timer interrupt process is started, it is checked whether or not the power-off signal is on. If it is on, the period during which the power-off signal is on is measured. While the timer value in the power-off signal timer for updating is updated by adding 1 or the like, the power-off signal timer may be cleared and initialized if the timer value is off. Then, the timer value in the power-off signal timer is compared with a predetermined power-off determination value (for example, “2”). Thereby, it is determined whether or not the power-off signal is continuously on for a period (for example, 4 milliseconds) during which a predetermined number (for example, 2 times) of game control timer interrupt processing is being executed. it can. At this time, if the timer value in the power-off signal timer has reached the power-off determination value, the main-side power-off process may be executed.

図46に示す払出制御メイン処理におけるステップS521にて行われる電源断信号がオン状態となったか否かの判定や、ステップS522にて実行される払出側電源断処理も、これに限定されるものではなく、例えば図47に示す払出制御用タイマ割込み処理が実行されるごとに、電源断信号がオン状態となったか否かの判定を行い、オン状態であるときには払出側電源断処理を実行するようにしてもよい。この場合、例えば払出制御用タイマ割込み処理の実行が開始されるごとに電源断信号がオン状態であるか否かをチェックして、オン状態であれば電源断信号がオン状態である期間を計測するための電源断信号タイマにおけるタイマ値を1加算するなどして更新する一方、オフ状態であれば電源断信号タイマをクリアして初期化するようにしてもよい。そして、電源断信号タイマにおけるタイマ値を所定の電源断判定値(例えば「2」)と比較する。これにより、所定回(例えば2回)の払出制御用タイマ割込み処理が実行されている期間(例えば4ミリ秒)にわたり電源断信号が継続してオン状態となっているか否かを判定することができる。このとき、電源断信号タイマにおけるタイマ値が電源断判定値に達していれば、払出側電源断処理を実行すればよい。   The determination as to whether or not the power-off signal performed in step S521 in the payout control main process shown in FIG. 46 is turned on and the payout-side power cut-off process executed in step S522 are also limited to this. Instead, for example, each time the payout control timer interrupt process shown in FIG. 47 is executed, it is determined whether or not the power-off signal has been turned on, and when it is in the on-state, the payout-side power-off process is executed. You may do it. In this case, for example, every time execution of the payout control timer interrupt process is started, it is checked whether or not the power-off signal is in the on state. While the timer value in the power-off signal timer for updating is updated by adding 1 or the like, the power-off signal timer may be cleared and initialized if the timer value is off. Then, the timer value in the power-off signal timer is compared with a predetermined power-off determination value (for example, “2”). Thereby, it is determined whether or not the power-off signal is continuously on for a period (for example, 4 milliseconds) during which a predetermined-time (for example, twice) payout control timer interrupt process is being executed. it can. At this time, if the timer value in the power-off signal timer has reached the power-off determination value, the payout-side power-off process may be executed.

図39に示すステップS436にて再送信フラグをオン状態にセットすることにより払出数指定コマンドを再送信するための設定が行われたときには、例えば画像表示装置5にメイン側払出異常報知画面となる画像を表示させることなどにより、払出異常が生じたことを報知させるようにしてもよい。より具体的には、図31に示すステップS78の異常動作報知設定処理にて、再送信フラグがオンであるときに、例えば遊技制御フラグ設定部133に設けられた払出異常報知フラグがオンであるか否かを判定する。このとき、払出異常報知フラグがオフであれば、例えばメイン側払出異常報知開始コマンドなどといった、払出異常が生じたことを報知させるために予め用意された演出制御コマンドを送信するための設定を行う。演出制御基板12の側では、例えば図61に示すステップS907で実行される報知処理にて、主基板11からのメイン側払出異常報知開始コマンドを受信したか否かを判定し、受信した旨の判定がなされたときには、メイン側払出異常報知画面となる画像を画像表示装置5に表示させるための設定を行う。これにより、払出制御に関する通信の異常をパチンコ遊技機1の外部で容易に認識できるようになる。また、賞球送信処理にて払出数指定コマンドを再送信するための設定が行われることから、払出制御基板15に搭載された払出制御用マイクロコンピュータ150によって払出数指定コマンドが受信されていないと判断される場合に、払出数指定コマンドを再送信して払出制御に支障を来さないようにすることで、遊技者の不利益を防止することができる。   When setting for retransmitting the payout number designation command is performed by setting the retransmission flag to the on state in step S436 shown in FIG. 39, for example, the main display payout abnormality notification screen is displayed on the image display device 5. You may make it alert | report that the payout abnormality occurred by displaying an image. More specifically, in the abnormal operation notification setting process of step S78 shown in FIG. 31, for example, when the re-transmission flag is ON, the payout abnormality notification flag provided in the game control flag setting unit 133 is ON, for example. It is determined whether or not. At this time, if the payout abnormality notification flag is off, a setting for transmitting an effect control command prepared in advance to notify that a payout abnormality has occurred, such as a main-side payout abnormality notification start command, is performed. . On the side of the effect control board 12, for example, in the notification process executed in step S <b> 907 shown in FIG. 61, it is determined whether or not the main-side payout abnormality notification start command from the main board 11 has been received, and the fact that it has been received. When the determination is made, a setting for causing the image display device 5 to display an image serving as a main payout abnormality notification screen is performed. Thereby, the abnormality of communication regarding payout control can be easily recognized outside the pachinko gaming machine 1. In addition, since the setting for retransmitting the payout number designation command is performed in the prize ball transmission process, the payout number designation command is not received by the payout control microcomputer 150 mounted on the payout control board 15. When judged, it is possible to prevent the disadvantage of the player by resending the payout number designation command so as not to hinder the payout control.

また、上記実施の形態において、遊技機は、可変表示の実行条件(例えば普通可変入賞球装置6に設けられた始動入賞口に遊技球が入賞すること)が成立した後に可変表示の開始条件(例えば特別図柄表示装置4による前回の特図ゲーム及び大当り遊技状態の終了)が成立したことに基づいて、各々が識別可能な複数種類の識別情報(例えば特別図柄)を可変表示する可変表示装置(例えば特別図柄表示装置4)を備え、可変表示の表示結果が予め定められた特定表示結果となったときに、遊技者にとって有利な特定遊技状態(例えば大当り遊技状態)に制御するパチンコ遊技機であった。   In the above-described embodiment, the gaming machine can execute a variable display start condition (for example, a game ball wins a start winning opening provided in the normal variable winning ball apparatus 6) after a variable display execution condition is satisfied (for example, For example, a variable display device that variably displays a plurality of types of identification information (for example, special symbols) that can each be identified based on the establishment of the previous special symbol game and the end of jackpot gaming state by the special symbol display device 4 For example, a pachinko gaming machine equipped with a special symbol display device 4) that controls to a specific gaming state (for example, a big hit gaming state) advantageous to the player when the display result of variable display becomes a predetermined specific display result. there were.

しかしながら、本発明は、これに限定されず、遊技機は、遊技領域に設けられた始動領域にて遊技媒体を検出する始動検出手段(例えば始動玉検出器)の検出により、遊技者にとって不利な第2の状態から遊技者にとって有利な第1の状態となる始動動作(例えば開放動作)を行う可変入賞装置(例えば可変入賞球装置)を有し、可変入賞装置に設けられた特定領域にて遊技媒体を検出する特定検出手段(例えば特定玉検出器)の検出により、始動動作よりも遊技者にとってさらに有利な特定の態様で可変入賞装置を第1の状態に制御する特定遊技状態(例えば大当り遊技状態)を発生させるパチンコ遊技機であってもよい。   However, the present invention is not limited to this, and the gaming machine is disadvantageous for the player due to the detection of the start detection means (for example, the start ball detector) that detects the game medium in the start area provided in the game area. It has a variable winning device (for example, a variable winning ball device) that performs a starting operation (for example, an opening operation) that becomes a first state advantageous to the player from the second state, in a specific area provided in the variable winning device. A specific gaming state (for example, jackpot) that controls the variable winning device to the first state in a specific manner that is more advantageous for the player than the starting operation by detection of a specific detection means (for example, a specific ball detector) that detects the gaming medium It may be a pachinko gaming machine that generates a gaming state.

また、本発明の遊技機は、特別領域(例えば特別装置作動領域)に設けられた特別検出手段(例えば特定球検出スイッチや特別領域スイッチ)で遊技球が検出されたことを条件に権利発生状態となり、権利発生状態となっている期間中に、始動領域(例えば作動入賞口や始動入賞装置における始動口)に設けられた始動検出手段(例えば作動球検出スイッチや始動口スイッチ)により遊技球が検出されたことに基づいて、特別可変入賞装置(例えば大入賞口)を遊技者にとって不利な状態(例えば閉鎖状態)から遊技者にとって有利な状態(例えば開放状態)に変化させる制御を行うことが可能なパチンコ遊技機であってもよい。   In addition, the gaming machine of the present invention is in a state where a right is generated on condition that a game ball is detected by special detection means (for example, a specific ball detection switch or a special region switch) provided in a special region (for example, a special device operation region). During the period in which the right is generated, the game ball is moved by the start detection means (for example, the operation ball detection switch or the start port switch) provided in the start area (for example, the start port in the start winning device or the start winning device). Based on the detection, it is possible to perform control to change the special variable winning device (for example, the big prize opening) from a disadvantageous state (for example, a closed state) to the player (for example, a closed state) for the player (for example, an open state). Possible pachinko machines may be used.

本実施例におけるパチンコ遊技機の正面図である。It is a front view of the pachinko gaming machine in the present embodiment. 遊技球を検出するための各スイッチの関係を示す説明図である。It is explanatory drawing which shows the relationship of each switch for detecting a game ball. 本実施例におけるパチンコ遊技機の背面図である。It is a rear view of the pachinko gaming machine in the present embodiment. 払出モータが設置される払出装置の構成例を示す分解斜視図である。It is a disassembled perspective view which shows the structural example of the payout apparatus in which the payout motor is installed. パチンコ遊技機に搭載された各種の制御基板などを示す構成図である。It is a block diagram which shows the various control boards etc. which were mounted in the pachinko game machine. 電源基板の構成例を示す図である。It is a figure which shows the structural example of a power supply board. リセット信号及び電源断信号の状態を模式的に示すタイミング図である。It is a timing diagram which shows typically the state of a reset signal and a power-off signal. 発射装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of a launcher. 表示制御コマンドの内容の一例を示す説明図である。It is explanatory drawing which shows an example of the content of a display control command. 主基板と払出制御基板との間で送受信されるコマンドの構成例を示す説明図である。It is explanatory drawing which shows the structural example of the command transmitted / received between the main board | substrate and the payout control board. 遊技制御用マイクロコンピュータの構成例を示すブロック図である。It is a block diagram which shows the structural example of the microcomputer for game control. 乱数回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of a random number circuit. ARSCとBRSCの構成例を示す図である。It is a figure which shows the structural example of ARSC and BRSC. 乱数列変更回路による順列の変更動作を示す説明図である。It is explanatory drawing which shows the change operation | movement of the permutation by a random number sequence change circuit. 乱数列変更回路による順列の変更動作を示す説明図である。It is explanatory drawing which shows the change operation | movement of the permutation by a random number sequence change circuit. 最大値比較回路による乱数値の再設定動作を示す説明図である。It is explanatory drawing which shows the reset operation | movement of the random value by a maximum value comparison circuit. 乱数値レジスタや最大値読出レジスタの構成例を示す図である。It is a figure which shows the structural example of a random value register or a maximum value read register. 遊技制御用マイクロコンピュータにおけるアドレスマップの一例を示す図である。It is a figure which shows an example of the address map in the microcomputer for game control. ROMにおけるアドレスマップの一例を示す図である。It is a figure which shows an example of the address map in ROM. 最優先割込みの設定例を示す説明図である。It is explanatory drawing which shows the example of a setting of the highest priority interrupt. 乱数初期設定データの内容を示す説明図である。It is explanatory drawing which shows the content of random number initialization data. 遊技制御用データ保持エリアの構成例を示すブロック図である。It is a block diagram which shows the structural example of the data holding area for game control. 払出用受信コマンドバッファの構成例を示す図である。It is a figure which shows the structural example of the reception command buffer for a payout. 払出用送信コマンドバッファの構成例を示す図である。It is a figure which shows the structural example of the transmission command buffer for payment. 払出制御用マイクロコンピュータの構成例を示すブロック図である。It is a block diagram which shows the structural example of the microcomputer for payout control. 払出制御用データ保持エリアの構成例を示すブロック図である。It is a block diagram which shows the structural example of the data holding area for payout control. 遊技制御メイン処理の一例を示すフローチャートである。It is a flowchart which shows an example of a game control main process. 遊技制御メイン処理内で実行される具体的な処理の一例を示す図である。It is a figure which shows an example of the specific process performed within the game control main process. 12ビット乱数初期設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of a 12-bit random number initial setting process. 16ビット乱数初期設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of a 16-bit random number initial setting process. 遊技制御用タイマ割込み処理の一例を示すフローチャートである。It is a flowchart which shows an example of the timer interruption process for game control. 発射制御処理の一例を示すフローチャートである。It is a flowchart which shows an example of a discharge control process. 情報出力処理の一例を示すフローチャートである。It is a flowchart which shows an example of an information output process. 乱数スタート値変更設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of a random number start value change setting process. 乱数スタート値変更設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of a random number start value change setting process. 乱数順列変更設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of a random number permutation change setting process. 賞球処理の一例を示すフローチャートと、賞球処理内で実行される具体的な処理の一例を示す説明図である。FIG. 6 is a flowchart illustrating an example of a prize ball process, and an explanatory diagram illustrating an example of a specific process executed in the prize ball process. 賞球送信処理の一例を示すフローチャートである。It is a flowchart which shows an example of a prize ball transmission process. 賞球ACK待ち処理の一例を示すフローチャートである。It is a flowchart which shows an example of a prize ball ACK waiting process. 賞球送信完了処理の一例を示すフローチャートである。It is a flowchart which shows an example of a prize ball transmission completion process. 異常動作報知設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of abnormal operation alert setting processing. メイン側受信処理の一例を示すフローチャートである。It is a flowchart which shows an example of the main side reception process. 特別図柄プロセス処理の一例を示すフローチャートである。It is a flowchart which shows an example of a special symbol process process. 特別図柄通常処理の一例を示すフローチャートである。It is a flowchart which shows an example of a special symbol normal process. 払出用コマンド制御処理の一例を示すフローチャートである。It is a flowchart which shows an example of the command control process for payout. 払出制御メイン処理の一例を示すフローチャートである。It is a flowchart which shows an example of payout control main processing. 払出制御用タイマ割込み処理の一例を示すフローチャートである。It is a flowchart which shows an example of the timer interruption process for payout control. 払出側受信処理の一例を示すフローチャートである。It is a flowchart which shows an example of a payout side reception process. 賞球受信確認処理の一例を示すフローチャートである。It is a flowchart which shows an example of a prize ball reception confirmation process. 払出動作制御処理の一例を示すフローチャートである。It is a flowchart which shows an example of a payout operation control process. 払出数記憶異常判定処理の一例を示すフローチャートである。It is a flowchart which shows an example of a payout number memory | storage abnormality determination process. 払出制御通常処理の一例を示すフローチャートである。It is a flowchart which shows an example of payout control normal processing. 賞球払出動作処理の一例を示すフローチャートである。It is a flowchart which shows an example of a prize ball payout operation | movement process. 賞球払出回数算出処理の一例を示すフローチャートである。It is a flowchart which shows an example of a prize ball payout number calculation process. 賞球払出駆動処理の一例を示すフローチャートである。It is a flowchart which shows an example of a prize ball payout drive process. 賞球払出駆動処理の一例を示すフローチャートである。It is a flowchart which shows an example of a prize ball payout drive process. 球貸し払出動作処理の一例を示すフローチャートである。It is a flowchart which shows an example of a ball lending / dispensing operation process. 球貸し払出回数算出処理の一例を示すフローチャートである。It is a flowchart which shows an example of a ball | brick rental payout number calculation process. 球貸し払出駆動処理の一例を示すフローチャートである。It is a flowchart which shows an example of a ball rental payout drive process. エラーの種類とエラー表示用LEDの表示との関係などを示す説明図である。It is explanatory drawing which shows the relationship between the kind of error, and the display of LED for an error display. 演出制御メイン処理の一例を示すフローチャートである。It is a flowchart which shows an example of production control main processing. 演出制御プロセス処理の一例を示すフローチャートである。It is a flowchart which shows an example of production control process processing. 報知処理の一例を示すフローチャートである。It is a flowchart which shows an example of alerting | reporting process. 画像表示装置における表示動作例を示す図である。It is a figure which shows the example of a display operation in an image display apparatus. 乱数回路の動作を説明するためのタイミングチャートである。It is a timing chart for demonstrating operation | movement of a random number circuit. 図12に示す乱数回路の変形例における構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure in the modification of the random number circuit shown in FIG. 図66に示す乱数回路の動作を説明するためのタイミングチャートである。69 is a timing chart for explaining the operation of the random number circuit shown in FIG. 66.

符号の説明Explanation of symbols

1 … パチンコ遊技機
2 … 遊技盤
3 … 遊技機用枠
4 … 特別図柄表示装置
5 … 画像表示装置
6 … 普通可変入賞球装置
7 … 特別可変入賞球装置
8L、8R … スピーカ
9 … 遊技効果ランプ
10 … 電源基板
11 … 主基板
12 … 演出制御基板
13 … 音声制御基板
14 … ランプ制御基板
15 … 払出制御基板
16 … 情報端子基板
17 … 払出ケース
18 … 中継基板
19 … 発射装置
20 … インタフェース基板
21 … ゲートスイッチ
22 … 始動口スイッチ
23 … V入賞スイッチ
24 … カウントスイッチ
25A〜25D … 入賞口スイッチ
26 … 満タンスイッチ
27 … 球切れスイッチ
29 … 全入賞球検出スイッチ
30 … 操作ノブ
31、73 … エラー解除スイッチ
40 … 普通図柄表示器
41 … 通過ゲート
42A〜42D … 入賞口
51 … 払出モータ
62 … 球送り装置
70 … カードユニット
71 … 払出モータ位置センサ
72 … 払出カウントスイッチ
73 … エラー解除スイッチ
74 … エラー表示用LED
75 … タッチセンサ
81、82 … ソレノイド
85、86 … 穴
87、88 … ギア
89 … カム
90 … 球通路
91〜93 … ケース
100 … 遊技制御用マイクロコンピュータ
101、211 … クロック回路
102、212 … リセット/割込みコントローラ
103、213 … 乱数回路
104、123、214 … CPU
105、121、215 … ROM
106、122、216 … RAM
107、217 … タイマ回路
108、218 … シリアル通信回路
109、219 … 外部バスインタフェース
111、161 … スイッチ回路
112 … ソレノイド回路
120 … 演出制御用マイクロコンピュータ
124 … I/Oポート
130 … 遊技制御用データ保持エリア
131 … 特図保留記憶部
132 … 確定特別図柄記憶部
133 … 遊技制御フラグ設定部
134 … 遊技制御タイマ設定部
135 … 遊技制御カウンタ設定部
136 … 遊技制御バッファ設定部
140 … 払出制御用データ保持エリア
141 … 払出制御フラグ設定部
142 … 払出制御タイマ設定部
143 … 払出制御カウンタ設定部
144 … 払出制御バッファ設定部
150 … 払出制御用マイクロコンピュータ
171 … クロック信号出力回路
172A、172B … 初期値設定回路
173A、173B … 乱数生成回路
174A、174B … セレクタ
175A … ARSC
175B … BRSC
176A、176B … 乱数列変更回路
177A、177B … 最大値比較回路
178 … 反転回路
179 … タイマ回路
180 … ラッチ信号生成回路
181A、181B … 乱数値レジスタ
182 … 遅延回路
191 … 払出用受信コマンドバッファ
192 … 払出用送信コマンドバッファ
201 … 受信動作部
202 … 送信動作部
203 … シリアル通信データレジスタ
204 … シリアルステータスレジスタ
205 … シリアル制御レジスタ
301 … 変圧回路
302 … 直流電圧生成回路
303 … 電源監視回路
304 … クリアスイッチ
DESCRIPTION OF SYMBOLS 1 ... Pachinko machine 2 ... Game board 3 ... Gaming machine frame 4 ... Special symbol display device 5 ... Image display device 6 ... Normal variable winning ball device 7 ... Special variable winning ball device 8L, 8R ... Speaker 9 ... Game effect lamp DESCRIPTION OF SYMBOLS 10 ... Power supply board 11 ... Main board 12 ... Production control board 13 ... Audio | voice control board 14 ... Lamp control board 15 ... Discharge control board 16 ... Information terminal board 17 ... Discharge case 18 ... Relay board 19 ... Launching device 20 ... Interface board 21 ... Gate switch 22 ... Start opening switch 23 ... V winning switch 24 ... Count switches 25A to 25D ... Winning opening switch 26 ... Full tank switch 27 ... Out of ball switch 29 ... All winning ball detection switch 30 ... Operation knobs 31, 73 ... Error Release switch 40… Normal symbol display 41… Passing gate 2A~42D ... winning opening 51 ... payout motor 62 ... spherical feeder 70 ... card unit 71 ... dispensing motor position sensor 72 ... payout count switch 73 ... error release switch 74 ... error display LED
75 ... Touch sensor 81, 82 ... Solenoid 85, 86 ... Hole 87, 88 ... Gear 89 ... Cam 90 ... Ball passage 91-93 ... Case 100 ... Game control microcomputer 101, 211 ... Clock circuit 102, 212 ... Reset / Interrupt controller 103, 213 ... random number circuit 104, 123, 214 ... CPU
105, 121, 215 ... ROM
106, 122, 216 ... RAM
107, 217 ... Timer circuit 108, 218 ... Serial communication circuit 109, 219 ... External bus interface 111, 161 ... Switch circuit 112 ... Solenoid circuit 120 ... Production control microcomputer 124 ... I / O port 130 ... Game control data holding Area 131 ... Special figure holding storage part 132 ... Finalized special symbol storage part 133 ... Game control flag setting part 134 ... Game control timer setting part 135 ... Game control counter setting part 136 ... Game control buffer setting part 140 ... Holding of data for payout control Area 141 ... Discharge control flag setting unit 142 ... Discharge control timer setting unit 143 ... Discharge control counter setting unit 144 ... Discharge control buffer setting unit 150 ... Discharge control microcomputer 171 ... Clock signal output circuits 172A, 172B ... Initial value setting circuits 173A, 173B ... random number generation circuits 174A, 174B ... selector 175A ... ARSC
175B ... BRSC
176A, 176B ... random number sequence change circuit 177A, 177B ... maximum value comparison circuit 178 ... inversion circuit 179 ... timer circuit 180 ... latch signal generation circuit 181A, 181B ... random number value register 182 ... delay circuit 191 ... payout reception command buffer 192 ... Sending command buffer 201 for payout ... Reception operation unit 202 ... Transmission operation unit 203 ... Serial communication data register 204 ... Serial status register 205 ... Serial control register 301 ... Transformer circuit 302 ... DC voltage generation circuit 303 ... Power supply monitoring circuit 304 ... Clear switch

Claims (1)

遊技媒体を遊技領域に打ち込むことにより遊技を行い、可変表示の実行条件が成立した後に可変表示の開始条件が成立したことに基づいて各々が識別可能な複数種類の識別情報を可変表示する可変表示装置を備え、前記遊技領域における入賞領域に遊技媒体が入賞したことに基づいて遊技媒体を払い出し、前記可変表示の表示結果が予め定められた特定表示結果となったときに、遊技者にとって有利な特定遊技状態に制御する遊技機であって、
遊技媒体を発射して前記遊技領域に打ち込むための発射手段と、
前記発射手段を駆動させるために遊技者が操作する発射操作手段と、
遊技者が前記発射操作手段に接触しているか否かを検出する接触検出手段と、
前記入賞領域に遊技媒体が入賞したことを検出して入賞検出信号を出力する入賞検出手段と、
遊技媒体の払出動作を行う払出手段と、
前記払出手段の払出動作により払い出された遊技媒体を検出する払出検出手段と、
前記払出手段の払出動作により払い出された遊技媒体が貯留される貯留部に所定量以上の遊技媒体が貯留されているか否かを検出する貯留状態検出手段と、
乱数を発生する乱数回路を内蔵し、前記入賞検出手段からの入賞検出信号が入力され、遊技の進行を制御する遊技制御処理を実行し、前記払出手段を制御させるための払出制御信号を送信する遊技制御用マイクロコンピュータが搭載された遊技制御基板と、
前記遊技制御用マイクロコンピュータによって送信された払出制御信号に応じて前記払出手段の払出動作を制御する払出制御処理を実行する払出制御用マイクロコンピュータが搭載された払出制御基板とを備え、
前記乱数回路は、
所定の信号の入力に基づいて数値データを更新可能な所定の範囲において所定の初期値から所定の最終値まで、予め定められた順序に従って循環的に更新する数値更新手段と、
前記数値更新手段によって更新された数値データを乱数値として記憶する乱数値記憶手段とを含み、
前記遊技制御用マイクロコンピュータは、
前記入賞検出信号の入力に応じて、払い出すべき遊技媒体の数を示す払出数信号を前記払出制御信号として前記払出制御用マイクロコンピュータに送信する払出数信号送信手段と、
遊技機への電力供給が開始された後、前記乱数回路に前記乱数を発生させるための設定を行う乱数回路設定手段と、
前記乱数回路設定手段による設定が行われた後、定期的に発生するタイマ割込み処理の実行を許可するタイマ割込み処理実行許可手段と、
前記タイマ割込み処理の実行中、前記可変表示の実行条件が成立したか否かを判定する実行条件判定手段と、
前記実行条件判定手段により前記可変表示の実行条件が成立したと判定されたことに基づいて、前記乱数値記憶手段により記憶された乱数値を読み出す乱数値読出手段と、
前記乱数値読出手段により読み出された乱数値が所定の判定値データと合致するか否かを判定することにより、前記可変表示における表示結果を特定表示結果とするか否かを決定する表示結果決定手段とを含み、
前記遊技制御基板は、前記接触検出手段により遊技者の接触が検出され、かつ、前記貯留状態検出手段により前記貯留部に所定量以上の遊技媒体が貯留されていないことが検出されたことを条件に、前記発射手段による遊技媒体の発射を許可する発射許可信号を出力する発射許可信号出力手段を含み、
前記乱数回路設定手段は、前記遊技制御用マイクロコンピュータごとに付与された固有の識別情報に基づく値を、前記所定の初期値に設定する初期値設定手段を含み、
前記払出制御用マイクロコンピュータは、
前記払出数信号送信手段によって送信された払出数信号を受信する払出数信号受信手段と、
前記払出数信号受信手段が受信した払出数信号から特定される遊技媒体の個数を累積的に未払出数として記憶する未払出数記憶手段と、
前記払出手段による払出動作の終了までを特定可能な払出動作量を記憶する払出動作量記憶手段と、
前記払出検出手段により検出された遊技媒体の個数に応じて、前記未払出数記憶手段が記憶する前記未払出数を更新する未払出数更新手段と、
前記未払出数記憶手段に前記未払出数が記憶されたことに基づいて、前記払出動作量を前記払出動作量記憶手段に記憶させる払出動作量設定手段と、
前記払出手段による払出動作の進行に応じて前記払出動作量記憶手段に記憶されている前記払出動作量を更新する払出動作量更新手段と、
前記払出動作量記憶手段に記憶されている前記払出動作量が所定の終了値データと合致するか否かを判定する払出動作量判定手段と、
前記払出動作量設定手段が前記払出動作量を前記払出動作量記憶手段に記憶させたことに応じて前記払出手段による払出動作の実行を開始させた後、前記払出動作量判定手段によって前記所定の終了値データと合致する旨の判定がなされるまで、連続して前記払出手段に払出動作を実行させる連続払出制御手段とを含み、
前記払出動作量設定手段は、
前記払出手段による払出動作の実行中に前記未払出数記憶手段により記憶された前記未払出数が増加したか否かを判定する払出中増加判定手段と、
前記払出中増加判定手段によって前記未払出数が増加した旨の判定がなされたときに、前記未払出数における増加分を特定する増加分特定手段と、
前記増加分特定手段が特定した増加分に対応した払出動作量を、前記払出動作量記憶手段が記憶する前記払出動作量に加算する払出動作量加算手段とを含
さらに、前記遊技制御用マイクロコンピュータは、前記数値更新手段が更新可能な数値データの前記所定の更新範囲が異なる乱数回路を複数内蔵し、
前記乱数回路設定手段は、
前記複数の乱数回路のうちから使用する乱数回路を設定する使用乱数回路設定手段と、
前記使用乱数回路設定手段により使用すると設定された乱数回路以外の乱数回路の機能を停止させる乱数回路停止手段とを含む、
ことを特徴とする遊技機。
A variable display that variably displays a plurality of types of identification information that can be identified based on the fact that the variable display start condition is satisfied after the variable display execution condition is satisfied after the game medium is driven into the game area. An apparatus, which is advantageous to the player when the game medium is paid out based on the winning of the game medium in the winning area in the gaming area, and the display result of the variable display becomes a predetermined specific display result. A gaming machine that controls a specific gaming state,
Launching means for firing a game medium and driving it into the game area;
Firing operation means operated by a player to drive the firing means;
Contact detection means for detecting whether or not a player is in contact with the firing operation means;
Winning detection means for detecting that a game medium has won in the winning area and outputting a winning detection signal;
A payout means for performing a game medium payout operation;
A payout detecting means for detecting a game medium paid out by the payout operation of the payout means;
A storage state detection means for detecting whether or not a predetermined amount or more of game media is stored in a storage portion in which the game media paid out by the payout operation of the payout means is stored;
A random number circuit for generating a random number is built in, a winning detection signal from the winning detection means is input, a game control process for controlling the progress of the game is executed, and a payout control signal for controlling the payout means is transmitted A game control board on which a game control microcomputer is mounted;
A payout control board mounted with a payout control microcomputer that executes a payout control process for controlling the payout operation of the payout means in accordance with a payout control signal transmitted by the game control microcomputer;
The random number circuit includes:
Numerical value updating means for cyclically updating from a predetermined initial value to a predetermined final value in a predetermined range in which numerical data can be updated based on an input of a predetermined signal according to a predetermined order;
Random number storage means for storing numerical data updated by the numerical value update means as a random value,
The game control microcomputer is:
In accordance with the input of the winning detection signal, a payout number signal transmitting means for sending a payout number signal indicating the number of game media to be paid out to the payout control microcomputer as the payout control signal;
Random number circuit setting means for setting the random number circuit to generate the random number after power supply to the gaming machine is started;
After the setting by the random number circuit setting means, a timer interrupt process execution permitting means for permitting execution of a timer interrupt process that occurs periodically,
Execution condition determination means for determining whether or not the variable display execution condition is satisfied during execution of the timer interrupt process;
Random value reading means for reading the random value stored by the random value storage means based on the execution condition determining means determining that the execution condition of the variable display is satisfied;
Display result for determining whether or not the display result in the variable display is the specific display result by determining whether or not the random value read by the random value reading means matches a predetermined determination value data Determining means,
The game control board is provided on the condition that the contact of the player is detected by the contact detection means, and that it is detected by the storage state detection means that a predetermined amount or more of game media is not stored in the storage section. A firing permission signal output means for outputting a firing permission signal for permitting the launch of the game medium by the launching means,
The random number circuit setting means includes initial value setting means for setting a value based on unique identification information given to each game control microcomputer to the predetermined initial value,
The dispensing control microcomputer is:
A payout number signal receiving means for receiving a payout number signal transmitted by the payout number signal transmitting means;
Unpaid number storage means for accumulatively storing the number of game media specified from the paid number signal received by the payout number signal receiving means,
A payout operation amount storage means for storing a payout operation amount that can be specified until the end of the payout operation by the payout means;
Unpaid number update means for updating the unpaid number stored in the unpaid number storage means according to the number of game media detected by the payout detection means;
A payout operation amount setting means for storing the payout operation amount in the payout operation amount storage means based on the fact that the unpaid number is stored in the unpaid number storage means;
A payout operation amount update means for updating the payout operation amount stored in the payout operation amount storage means in accordance with the progress of the payout operation by the payout means;
A payout operation amount determination means for determining whether or not the payout operation amount stored in the payout operation amount storage means matches predetermined end value data;
In response to the payout operation amount setting means having stored the payout operation amount in the payout operation amount storage means, the payout operation amount determination means starts the execution of the payout operation, and then the predetermined amount is determined by the payout operation amount determination means. Continuous payout control means for causing the payout means to continuously execute a payout operation until it is determined that it matches the end value data,
The payout operation amount setting means includes:
A payout increase determination means for determining whether or not the unpaid number stored by the unpaid number storage means has increased during execution of a payout operation by the payout means;
An increase specifying means for specifying an increase in the number of unpaid when the determination that the unpaid number has increased is made by the increase determining means during payout;
The payout operation amount corresponding to the increment is the increment specifying means specified, viewing including the payout operation amount adding means for the dispensing operation amount storage means is added to the dispensing operation the amount to be stored,
Further, the game control microcomputer includes a plurality of random number circuits having different predetermined update ranges of numerical data that can be updated by the numerical value updating means,
The random number circuit setting means includes:
Use random number circuit setting means for setting a random number circuit to be used from among the plurality of random number circuits;
Random number circuit stopping means for stopping the function of a random number circuit other than the set random number circuit when used by the used random number circuit setting means,
A gaming machine characterized by that.
JP2005276711A 2005-09-22 2005-09-22 Game machine Expired - Fee Related JP4776316B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005276711A JP4776316B2 (en) 2005-09-22 2005-09-22 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005276711A JP4776316B2 (en) 2005-09-22 2005-09-22 Game machine

Publications (2)

Publication Number Publication Date
JP2007082843A JP2007082843A (en) 2007-04-05
JP4776316B2 true JP4776316B2 (en) 2011-09-21

Family

ID=37970418

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005276711A Expired - Fee Related JP4776316B2 (en) 2005-09-22 2005-09-22 Game machine

Country Status (1)

Country Link
JP (1) JP4776316B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008295732A (en) * 2007-05-31 2008-12-11 Sansei R & D:Kk Game machine
JP2008295717A (en) * 2007-05-31 2008-12-11 Sansei R & D:Kk Game machine
JP4579270B2 (en) * 2007-05-31 2010-11-10 株式会社サンセイアールアンドディ Game machine
JP2008295733A (en) * 2007-05-31 2008-12-11 Sansei R & D:Kk Game machine
JP2009034316A (en) * 2007-08-01 2009-02-19 Daito Giken:Kk Game machine
JP5205425B2 (en) * 2010-08-23 2013-06-05 株式会社サンセイアールアンドディ Game machine
JP2014140596A (en) * 2013-01-25 2014-08-07 Daiichi Shokai Co Ltd Game machine
JP6256512B2 (en) * 2016-04-11 2018-01-10 株式会社三洋物産 Game machine
JP2018008122A (en) * 2017-10-13 2018-01-18 株式会社大一商会 Game machine

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11347198A (en) * 1998-06-12 1999-12-21 Sansei Pachinko machine
JP2001025561A (en) * 1999-07-13 2001-01-30 Sankyo Kk Pachinko game machine
JP4765133B2 (en) * 1999-11-15 2011-09-07 株式会社竹屋 Pachinko machine
JP2001212321A (en) * 2000-02-07 2001-08-07 Maruhon Ind Co Ltd Game machine
JP2002278749A (en) * 2001-03-15 2002-09-27 Le Tec:Kk Random number generator
JP2003305269A (en) * 2002-04-12 2003-10-28 Sankyo Kk Game machine
JP2003250999A (en) * 2002-04-17 2003-09-09 Sanyo Product Co Ltd Game machine
JP2005103166A (en) * 2003-10-01 2005-04-21 Sankyo Kk Game machine
JP2005192715A (en) * 2004-01-05 2005-07-21 Sankyo Kk Game machine
JP4671604B2 (en) * 2004-01-08 2011-04-20 株式会社三共 Game machine

Also Published As

Publication number Publication date
JP2007082843A (en) 2007-04-05

Similar Documents

Publication Publication Date Title
JP4776316B2 (en) Game machine
JP4671810B2 (en) Game machine
JP5083886B2 (en) Amusement stand
JP5750398B2 (en) Game machine
JP5341958B2 (en) Game machine
JP5479418B2 (en) Game machine
JP2019054945A (en) Game machine
JP5547832B2 (en) Game machine
JP4934217B2 (en) Game machine
JP2007082570A (en) Game machine
JP6214210B2 (en) Game machine
JP2019054948A (en) Game machine
JP2019054947A (en) Game machine
JP2014204870A (en) Game machine
JP2019054946A (en) Game machine
JP4671808B2 (en) Game machine
JP2015091528A (en) Game machine
JP4602107B2 (en) Game machine
JP2007105189A (en) Game machine
JP2007111095A (en) Game machine
JP4693569B2 (en) Game machine
JP4671809B2 (en) Game machine
JP4693566B2 (en) Game machine
JP2021062264A (en) Game machine
JP2008017978A (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080820

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110309

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110628

R150 Certificate of patent or registration of utility model

Ref document number: 4776316

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140708

Year of fee payment: 3

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

LAPS Cancellation because of no payment of annual fees