JP2001252447A - Game machine - Google Patents

Game machine

Info

Publication number
JP2001252447A
JP2001252447A JP2000065783A JP2000065783A JP2001252447A JP 2001252447 A JP2001252447 A JP 2001252447A JP 2000065783 A JP2000065783 A JP 2000065783A JP 2000065783 A JP2000065783 A JP 2000065783A JP 2001252447 A JP2001252447 A JP 2001252447A
Authority
JP
Japan
Prior art keywords
command
ball
interrupt
game
payout
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000065783A
Other languages
Japanese (ja)
Other versions
JP2001252447A5 (en
JP3773747B2 (en
Inventor
Shohachi Ugawa
詔八 鵜川
Takayuki Ishikawa
貴之 石川
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 JP2000065783A priority Critical patent/JP3773747B2/en
Publication of JP2001252447A publication Critical patent/JP2001252447A/en
Publication of JP2001252447A5 publication Critical patent/JP2001252447A5/ja
Application granted granted Critical
Publication of JP3773747B2 publication Critical patent/JP3773747B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)
  • Display Devices Of Pinball Game Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To allow an electric component control means to reliably receive a command when the command is transmitted from a game control means to the electric component control means in a game machine. SOLUTION: An INT signal (payout control signal INT) from a main substrate is connected to the CLK/TRG2 terminal of a payout control CPU. When a clock signal is inputted to the CLK/TRG2 terminal, the value of a timer counter register CLK/TRG2 stored in the payout control CPU is counted down. When the register value becomes 0, an interrupt for activating a command receiving process occurs. The payout control CPU periodically executes the payout control process via the timer interrupt. The command receiving process is executed preferentially to the payout control process.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、遊技者の操作に応
じて遊技が行われるパチンコ遊技機、コイン遊技機、ス
ロット機等の遊技機に関し、特に、遊技盤における遊技
領域において遊技者の操作に応じて遊技が行われる遊技
機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a game machine such as a pachinko game machine, a coin game machine, a slot machine, etc., in which a game is played in accordance with a player's operation. A gaming machine in which a game is played in accordance with a game machine.

【0002】[0002]

【従来の技術】遊技機の一例として、遊技球などの遊技
媒体を発射装置によって遊技領域に発射し、遊技領域に
設けられている入賞口などの入賞領域に遊技媒体が入賞
すると、所定個の賞球が遊技者に払い出されるものがあ
る。さらに、表示状態が変化可能な可変表示部が設けら
れ、可変表示部の表示結果があらかじめ定められた特定
の表示態様となった場合に所定の遊技価値を遊技者に与
えるように構成されたものがある。
2. Description of the Related Art As an example of a gaming machine, when a game medium such as a game ball is fired into a game area by a launching device, and a game medium wins a winning area such as a winning opening provided in the game area, a predetermined number of game media are played. Some prize balls are paid out to players. Further, a variable display unit whose display state can be changed is provided, and when a display result of the variable display unit becomes a predetermined specific display mode, a predetermined game value is provided to the player. There is.

【0003】遊技価値とは、遊技機の遊技領域に設けら
れた可変入賞球装置の状態が打球が入賞しやすい遊技者
にとって有利な状態になることや、遊技者にとって有利
な状態となるための権利を発生させたりすることや、景
品遊技媒体払出の条件が成立しやすくなる状態になるこ
とことである。また、入賞等の所定の条件成立に応じて
所定量の遊技球やコインが付与されたり得点が加算され
たりする場合に、それらを有価価値と呼ぶことにする。
[0003] The game value means that the state of the variable winning ball device provided in the game area of the gaming machine is in a state that is advantageous for a player who is likely to win a hit ball, or is in a state that is advantageous for the player. Rights, or a condition in which conditions for paying out prize game media are easily established. Further, when a predetermined amount of game balls or coins are awarded or points are added in accordance with establishment of predetermined conditions such as winning, these are referred to as valuable values.

【0004】パチンコ遊技機では、特別図柄を表示する
可変表示部の表示結果があらかじめ定められた特定の表
示態様の組合せとなることを、通常、「大当り」とい
う。大当りが発生すると、例えば、大入賞口が所定回数
開放して打球が入賞しやすい大当り遊技状態に移行す
る。そして、各開放期間において、所定個(例えば10
個)の大入賞口への入賞があると大入賞口は閉成する。
そして、大入賞口の開放回数は、所定回数(例えば16
ラウンド)に固定されている。なお、各開放について開
放時間(例えば29.5秒)が決められ、入賞数が所定
個に達しなくても開放時間が経過すると大入賞口は閉成
する。また、大入賞口が閉成した時点で所定の条件(例
えば、大入賞口内に設けられているVゾーンへの入賞)
が成立していない場合には、大当り遊技状態は終了す
る。
In a pachinko gaming machine, when a display result of a variable display section for displaying a special symbol is a combination of a predetermined specific display mode, it is generally called a "big hit". When a big hit occurs, for example, the big winning opening is opened a predetermined number of times, and the state shifts to a big hit game state in which a hit ball is easy to win. In each open period, a predetermined number (for example, 10
) Will be closed when there is a prize in the special winning opening.
The number of opening of the special winning opening is a predetermined number (for example, 16
Round). An opening time (for example, 29.5 seconds) is determined for each opening, and if the opening time elapses even if the number of winnings does not reach a predetermined number, the winning opening is closed. Further, at the time when the special winning opening is closed, predetermined conditions (for example, winning in the V zone provided in the special winning opening)
Is not established, the big hit gaming state ends.

【0005】また、「大当り」の組合せ以外の表示態様
の組合せのうち、複数の可変表示部の表示結果のうちの
一部が未だに導出表示されていない段階において、既に
確定的な、または一時的な表示結果が導出表示されてい
る可変表示部の表示態様が特定の表示態様の組合せとな
る表示条件を満たしている状態を「リーチ」という。そ
して、可変表示部に可変表示される識別情報の表示結果
が「大当り」となる条件を満たさない場合には「はず
れ」となり、可変表示状態は終了する。遊技者は、大当
りをいかにして発生させるかを楽しみつつ遊技を行う。
[0005] Further, among the combinations of display modes other than the combination of "big hits", when a part of the display results of the plurality of variable display portions is not yet derived and displayed, it is already definite or temporary. A state in which the display mode of the variable display unit on which the various display results are derived and displayed satisfies the display condition that is a combination of the specific display modes is referred to as “reach”. If the display result of the identification information variably displayed on the variable display unit does not satisfy the condition of "big hit", the result is "missing" and the variable display state ends. A player plays a game while enjoying how to generate a big hit.

【0006】そして、遊技球が遊技盤に設けられている
入賞口に遊技球が入賞すると、あらかじめ決められてい
る個数の賞球払出が行われる。遊技の進行は主基板に搭
載された遊技制御手段によって制御されるので、入賞に
もとづく賞球個数は、遊技制御手段によって決定され、
払出制御手段を搭載した払出制御基板に送信される。な
お、以下、遊技制御手段以外の制御手段を、それぞれ電
気部品制御手段と呼ぶことがある。また、払出制御手段
は、価値付与制御手段の一例である。
When a game ball wins a winning opening provided on the game board, a predetermined number of award balls are paid out. Since the progress of the game is controlled by the game control means mounted on the main board, the number of winning balls based on the winning is determined by the game control means,
It is transmitted to a payout control board equipped with a payout control means. Hereinafter, control means other than the game control means may be referred to as electric component control means. The payout control unit is an example of a value assignment control unit.

【0007】また、そのような遊技機では、スピーカが
設けられ遊技効果を増進するために遊技の進行に伴って
スピーカから種々の効果音が発せられる。また、遊技機
の遊技領域や枠体にランプやLED等の発光体が設けら
れ、遊技効果を増進するために遊技の進行に伴ってそれ
らの発光体が点灯されたり消灯されたりする。スピーカ
からの音声および各発光体の点灯/消灯は遊技の進行状
況に応じて制御されるので、それらの制御は、一般に、
遊技の進行を制御する遊技制御手段によって行われる。
その場合、遊技制御手段とは別体に設けられスピーカに
対する具体的な制御を行う音声制御手段や発光体に対す
る具体的制御を行う発光体制御手段を設けると、遊技制
御手段の制御負担を軽くすることができる。
In such a gaming machine, a speaker is provided, and various sound effects are emitted from the speaker as the game progresses in order to enhance the game effect. In addition, a light-emitting body such as a lamp or an LED is provided in a game area or a frame of the gaming machine, and the light-emitting body is turned on or off as the game progresses in order to enhance a game effect. Since the sound from the speaker and the lighting / extinguishing of each illuminant are controlled according to the progress of the game, the control thereof is generally performed as follows.
This is performed by game control means for controlling the progress of the game.
In this case, if a voice control unit provided separately from the game control unit and specifically controls the speaker and a luminous body control unit performing specific control on the luminous body are provided, the control load of the game control unit is reduced. be able to.

【0008】[0008]

【発明が解決しようとする課題】遊技制御手段とは別体
に種々の電気部品制御手段が設けられている場合には、
遊技制御手段から各電気部品制御手段に制御コマンドを
送信しなければならない。また、各電気部品制御手段は
受信した制御コマンドにもとづく種々の処理を行うので
あるが、制御コマンドは遊技制御手段の処理にもとづい
て発生するので、遊技制御手段とは独立して動作してい
る電気部品制御手段の処理実行中のどの段階でも制御コ
マンドが送出されうる。すなわち、決まったタイミング
で制御コマンドが送出されてくるというのではなく、電
気部品制御手段の動作中に突然に制御コマンドが送出さ
れてくる。制御コマンドの受信を誤ると電気部品制御手
段が本来行わなければならない制御に支障を来すので、
各電気部品制御手段は、遊技制御手段から制御コマンド
を確実に受信する必要がある。
In the case where various electric component control means are provided separately from the game control means,
A control command must be transmitted from the game control means to each electric component control means. Also, each electric component control means performs various processing based on the received control command, but since the control command is generated based on the processing of the game control means, it operates independently of the game control means. The control command can be transmitted at any stage during the execution of the process of the electric component control means. That is, the control command is not sent out at a fixed timing, but the control command is sent out suddenly during the operation of the electric component control means. If the control command is received incorrectly, it will interfere with the control that the electrical component control means must perform.
Each electric component control means needs to reliably receive a control command from the game control means.

【0009】そこで、本発明は、遊技制御手段から他の
電気部品制御手段に対してコマンドが送出される構成の
遊技機において、電気部品制御手段が確実にコマンドを
受信することができる遊技機を提供することを目的とす
る。
In view of the above, the present invention provides a gaming machine in which a command is sent from a game control means to another electric component control means, in which the electric component control means can reliably receive the command. The purpose is to provide.

【0010】[0010]

【課題を解決するための手段】本発明による遊技機は、
遊技者が所定の遊技を行うことが可能な遊技機であっ
て、遊技の進行を制御する遊技制御手段と、遊技機に設
けられる電気部品を制御するための電気部品制御処理を
行う電気部品制御手段を含み、遊技制御手段は、電気部
品制御手段に対してコマンドデータとコマンドデータの
取込みを指定する取込信号とを出力するためのコマンド
出力処理を実行し、電気部品制御手段が、所定周期で発
生する割込に応じて所定の定期割込処理を実行するとと
もに、遊技制御手段からの取込信号の入力にもとづく割
込に応じて遊技制御手段が出力したコマンドを受信する
ためのコマンド受信処理を実行し、コマンド受信処理を
定期割込処理よりも優先して実行することを特徴とす
る。
A gaming machine according to the present invention comprises:
A game machine in which a player can play a predetermined game, a game control means for controlling the progress of the game, and an electric component control for performing an electric component control process for controlling an electric component provided in the game machine Means, the game control means executes a command output process for outputting command data and a capture signal designating capture of the command data to the electrical component control means, and the electrical component control means performs a predetermined period of time. A command reception for executing a predetermined periodic interrupt process in response to the interrupt generated in the above and receiving a command output by the game control means in response to an interrupt based on an input of a capture signal from the game control means The processing is executed, and the command reception processing is executed prior to the periodic interruption processing.

【0011】電気部品制御手段は、コマンド受信処理が
終了するまでは割込を許可しないように構成されている
ことが好ましい。
It is preferable that the electric component control means is configured not to permit the interruption until the command receiving process is completed.

【0012】定期割込処理の実行中に取込信号の入力に
もとづく割込が発生すると、電気部品制御手段が、定期
割込処理を中断してコマンド受信処理を実行するように
構成されていることが好ましい。
When an interruption based on the input of the fetch signal occurs during the execution of the periodic interrupt processing, the electric component control means is configured to interrupt the periodic interrupt processing and execute the command receiving processing. Is preferred.

【0013】定期割込処理は割込許可状態で実行される
ように構成されていることが好ましい。
It is preferable that the periodic interrupt processing is configured to be executed in an interrupt permission state.

【0014】電気部品制御手段が、所定周期で発生する
割込に応じて電気部品制御に関わる処理を実行するよう
に構成されていてもよい。
[0014] The electric component control means may be configured to execute processing relating to electric component control in response to an interrupt generated at a predetermined cycle.

【0015】電気部品制御手段が割込を発生可能な複数
の割込発生部を含み、各割込発生部の優先順位の設定が
可能であって、コマンド受信割込のための割込を発生す
る割込発生部の優先順位が、定期割込処理のための割込
を発生する割込発生部の優先順位よりも高く設定される
ように構成されていてもよい。
The electric component control means includes a plurality of interrupt generating units capable of generating an interrupt, wherein the priority of each interrupt generating unit can be set, and an interrupt for a command receiving interrupt is generated. The priority of the interrupt generating unit that performs the interrupt may be set higher than the priority of the interrupt generating unit that generates the interrupt for the periodic interrupt processing.

【0016】電気部品制御手段が、遊技制御手段からの
取込信号の入力に応じて特定レジスタの値を更新する更
新手段を備え、特定レジスタの値が所定値になったこと
に応じて、遊技制御手段が出力したコマンドを受信する
ためのコマンド受信処理を実行するように構成されてい
てもよい。
The electric component control means includes updating means for updating the value of the specific register in response to the input of the capture signal from the game control means, and the game is executed in response to the value of the specific register reaching a predetermined value. It may be configured to execute a command receiving process for receiving a command output by the control unit.

【0017】電気部品制御手段が、初期設定処理で、特
定レジスタに初期値を設定するように構成されていても
よい。
The electric component control means may be configured to set an initial value in a specific register in the initial setting process.

【0018】電気部品制御手段は、入力されたコマンド
データを同時に複数格納可能であるように構成されてい
てもよい。
The electric component control means may be configured to be able to simultaneously store a plurality of input command data.

【0019】コマンド受信処理は、入力されたコマンド
データが適正なコマンドデータであるか否かを判定する
コマンド判定処理を含むように構成されていてもよい。
The command receiving process may be configured to include a command determining process for determining whether or not the input command data is proper command data.

【0020】電気部品制御手段に送出される1つの指令
情報が、2つのコマンドデータで構成されていてもよ
い。
One command information sent to the electric component control means may be constituted by two command data.

【0021】遊技制御手段が、1つ目のコマンドデータ
と次のコマンドデータとを識別可能な態様で出力可能で
あるように構成されていてもよい。
The game control means may be configured to be able to output the first command data and the next command data in an identifiable manner.

【0022】[0022]

【発明の実施の形態】以下、本発明の一実施形態を図面
を参照して説明する。まず、遊技機の一例であるパチン
コ遊技機の全体の構成について説明する。図1はパチン
コ遊技機1を正面からみた正面図、図2はパチンコ遊技
機1の内部構造を示す全体背面図、図3はパチンコ遊技
機1の機構板を背面からみた背面図である。なお、以下
の実施の形態では、パチンコ遊技機を例に説明を行う
が、本発明による遊技機はパチンコ遊技機に限られず、
例えばコイン遊技機等であってもよい。また、画像式の
遊技機やスロット機に適用することもできる。
An embodiment of the present invention will be described below with reference to the drawings. First, the overall configuration of a pachinko gaming machine, which is an example of a gaming machine, will be described. 1 is a front view of the pachinko gaming machine 1 as viewed from the front, FIG. 2 is an overall rear view showing the internal structure of the pachinko gaming machine 1, and FIG. 3 is a rear view of the mechanical board of the pachinko gaming machine 1 as viewed from the back. In the following embodiments, a description will be given of a pachinko gaming machine as an example, but the gaming machine according to the present invention is not limited to a pachinko gaming machine,
For example, a coin gaming machine or the like may be used. Further, the present invention can be applied to an image-type gaming machine or a slot machine.

【0023】図1に示すように、パチンコ遊技機1は、
額縁状に形成されたガラス扉枠2を有する。ガラス扉枠
2の下部表面には打球供給皿3がある。打球供給皿3の
下部には、打球供給皿3からあふれた貯留球を貯留する
余剰球受皿4と打球を発射する打球操作ハンドル(操作
ノブ)5が設けられている。ガラス扉枠2の後方には、
遊技盤6が着脱可能に取り付けられている。また、遊技
盤6の前面には遊技領域7が設けられている。
As shown in FIG. 1, the pachinko gaming machine 1
It has a glass door frame 2 formed in a frame shape. On the lower surface of the glass door frame 2, there is a hit ball supply tray 3. Below the hitting ball supply tray 3, a surplus ball receiving tray 4 for storing storage balls overflowing from the hitting ball supply tray 3 and a hitting operation handle (operation knob) 5 for firing a hitting ball are provided. Behind the glass door frame 2,
The game board 6 is detachably attached. A game area 7 is provided on the front of the game board 6.

【0024】遊技領域7の中央付近には、複数種類の図
柄を可変表示するための可変表示部9と7セグメントL
EDによる可変表示器10とを含む可変表示装置8が設
けられている。また、可変表示器10の下部には、4個
のLEDからなる通過記憶表示器(普通図柄用記憶表示
器)41が設けられている。この実施の形態では、可変
表示部9には、「左」、「中」、「右」の3つの図柄表
示エリアがある。可変表示装置8の側部には、打球を導
く通過ゲート11が設けられている。通過ゲート11を
通過した打球は、球出口13を経て始動入賞口14の方
に導かれる。通過ゲート11と球出口13との間の通路
には、通過ゲート11を通過した打球を検出するゲート
スイッチ12がある。また、始動入賞口14に入った入
賞球は、遊技盤6の背面に導かれ、始動口スイッチ17
によって検出される。また、始動入賞口14の下部には
開閉動作を行う可変入賞球装置15が設けられている。
可変入賞球装置15は、ソレノイド16によって開状態
とされる。
In the vicinity of the center of the game area 7, a variable display section 9 for variably displaying a plurality of types of symbols and a 7-segment L
A variable display device 8 including a variable display 10 using an ED is provided. In addition, a pass storage display (ordinary symbol storage display) 41 including four LEDs is provided below the variable display 10. In this embodiment, the variable display section 9 has three symbol display areas of “left”, “middle”, and “right”. On the side of the variable display device 8, a passing gate 11 for guiding a hit ball is provided. The hit ball that has passed through the passing gate 11 is guided to the starting winning opening 14 via the ball exit 13. In the passage between the passage gate 11 and the ball exit 13, there is a gate switch 12 for detecting a hit ball passing through the passage gate 11. The winning ball that has entered the starting winning port 14 is guided to the back of the game board 6 and is turned on by the starting port switch 17.
Is detected by In addition, a variable winning ball device 15 that performs opening and closing operations is provided below the starting winning port 14.
The variable winning ball device 15 is opened by the solenoid 16.

【0025】可変入賞球装置15の下部には、特定遊技
状態(大当り状態)においてソレノイド21によって開
状態とされる開閉板20が設けられている。この実施の
形態では、開閉板20が大入賞口を開閉する手段とな
る。開閉板20から遊技盤6の背面に導かれた入賞球の
うち一方(Vゾーン)に入った入賞球はVカウントスイ
ッチ22で検出される。また、開閉板20からの入賞球
はカウントスイッチ23で検出される。可変表示装置8
の下部には、始動入賞口14に入った入賞球数を表示す
る4個の表示部を有する始動入賞記憶表示器18が設け
られている。この例では、4個を上限として、始動入賞
がある毎に、始動入賞記憶表示器18は点灯している表
示部を1つずつ増やす。そして、可変表示部9の可変表
示が開始される毎に、点灯している表示部を1つ減ら
す。
Below the variable winning ball device 15, there is provided an opening / closing plate 20 which is opened by a solenoid 21 in a specific game state (big hit state). In this embodiment, the opening and closing plate 20 serves as a means for opening and closing the special winning opening. The winning ball that enters one (V zone) of the winning balls guided from the opening / closing plate 20 to the back of the game board 6 is detected by the V count switch 22. The winning ball from the opening / closing plate 20 is detected by the count switch 23. Variable display device 8
A start winning prize storage display 18 having four display sections for displaying the number of winning balls entering the starting winning prize port 14 is provided below. In this example, the start winning prize storage display 18 increases the number of lit display units by one each time there is a starting prize, with the upper limit being four. Then, each time the variable display of the variable display unit 9 is started, the number of the lit display units is reduced by one.

【0026】遊技盤6には、複数の入賞口19,24が
設けられ、遊技球のそれぞれの入賞口19,24への入
賞は、対応して設けられている入賞口スイッチ19a,
24aによって検出される。遊技領域7の左右周辺に
は、遊技中に点滅表示される装飾ランプ25が設けら
れ、下部には、入賞しなかった打球を吸収するアウト口
26がある。また、遊技領域7の外側の左右上部には、
効果音を発する2つのスピーカ27が設けられている。
遊技領域7の外周には、遊技効果LED28aおよび遊
技効果ランプ28b,28cが設けられている。
The gaming board 6 is provided with a plurality of winning ports 19 and 24, and the winning of the gaming balls into the respective winning ports 19 and 24 is determined by setting the corresponding winning port switches 19a and 19a.
24a. At the left and right sides of the game area 7, there are provided decorative lamps 25 which are displayed blinking during the game, and at the lower part there is an out port 26 for absorbing hit balls which have not won. Also, on the upper left and right sides outside the game area 7,
Two speakers 27 that emit sound effects are provided.
A game effect LED 28a and game effect lamps 28b and 28c are provided on the outer periphery of the game area 7.

【0027】そして、この例では、一方のスピーカ27
の近傍に、景品球払出時に点灯する賞球ランプ51が設
けられ、他方のスピーカ27の近傍に、補給球が切れた
ときに点灯する球切れランプ52が設けられている。さ
らに、図1には、パチンコ遊技台1に隣接して設置さ
れ、プリペイドカードが挿入されることによって球貸し
を可能にするカードユニット50も示されている。
In this example, one of the speakers 27
Is provided with a prize ball lamp 51 which is lit when a premium ball is paid out, and a ball out lamp 52 which is lit up when the supply ball is out is provided near the other speaker 27. Further, FIG. 1 also shows a card unit 50 which is installed adjacent to the pachinko gaming table 1 and enables lending of a ball by inserting a prepaid card.

【0028】カードユニット50には、使用可能状態で
あるか否かを示す使用可表示ランプ151、カード内に
記録された残額情報に端数(100円未満の数)が存在
する場合にその端数を打球供給皿3の近傍に設けられる
度数表示LEDに表示させるための端数表示スイッチ1
52、カードユニット50がいずれの側のパチンコ遊技
機1に対応しているのかを示す連結台方向表示器15
3、カードユニット50内にカードが投入されているこ
とを示すカード投入表示ランプ154、記録媒体として
のカードが挿入されるカード挿入口155、およびカー
ド挿入口155の裏面に設けられているカードリーダラ
イタの機構を点検する場合にカードユニット50を解放
するためのカードユニット錠156が設けられている。
The card unit 50 has a usable indicator lamp 151 for indicating whether or not the card can be used. If there is a fraction (less than 100 yen) in the balance information recorded in the card, the fraction is displayed. Fraction display switch 1 for displaying on a frequency display LED provided near hit ball supply tray 3
52, a connecting stand direction indicator 15 indicating which side of the pachinko gaming machine 1 the card unit 50 corresponds to
3. Card insertion indicator 154 indicating that a card has been inserted into card unit 50, card insertion slot 155 into which a card as a recording medium is inserted, and a card reader provided on the back of card insertion slot 155 A card unit lock 156 is provided to release the card unit 50 when checking the mechanism of the writer.

【0029】打球発射装置から発射された打球は、打球
レールを通って遊技領域7に入り、その後、遊技領域7
を下りてくる。打球が通過ゲート11を通ってゲートス
イッチ12で検出されると、可変表示器10の表示数字
が連続的に変化する状態になる。また、打球が始動入賞
口14に入り始動口スイッチ17で検出されると、図柄
の変動を開始できる状態であれば、可変表示部9内の図
柄が回転を始める。図柄の変動を開始できる状態でなけ
れば、始動入賞記憶を1増やす。
The hit ball fired from the hitting ball launching device enters the game area 7 through the hitting rail, and thereafter, the game area 7
Come down. When a hit ball is detected by the gate switch 12 through the passage gate 11, the display number of the variable display 10 is changed continuously. Further, when a hit ball enters the starting winning opening 14 and is detected by the starting opening switch 17, the symbol in the variable display section 9 starts rotating if the symbol can be changed. If it is not possible to start changing the symbol, the start winning memory is increased by one.

【0030】可変表示部9内の画像の回転は、一定時間
が経過したときに停止する。停止時の画像の組み合わせ
が大当り図柄の組み合わせであると、大当り遊技状態に
移行する。すなわち、開閉板20が、一定時間経過する
まで、または、所定個数(例えば10個)の打球が入賞
するまで開放する。そして、開閉板20の開放中に打球
が特定入賞領域に入賞しVカウントスイッチ22で検出
されると、継続権が発生し開閉板20の開放が再度行わ
れる。継続権の発生は、所定回数(例えば15ラウン
ド)許容される。
The rotation of the image in the variable display section 9 stops when a certain time has elapsed. If the combination of images at the time of stop is a combination of big hit symbols, the game shifts to a big hit game state. That is, the opening / closing plate 20 is opened until a predetermined time elapses or until a predetermined number (for example, 10) of hit balls is won. Then, when a hit ball wins in the specific winning area while the opening and closing plate 20 is opened and is detected by the V count switch 22, a continuation right is generated and the opening and closing plate 20 is opened again. Generation of the continuation right is permitted a predetermined number of times (for example, 15 rounds).

【0031】停止時の可変表示部9内の画像の組み合わ
せが確率変動を伴う大当り図柄の組み合わせである場合
には、次に大当りとなる確率が高くなる。すなわち、高
確率状態という遊技者にとってさらに有利な状態とな
る。また、可変表示器10における停止図柄が所定の図
柄(当り図柄)である場合に、可変入賞球装置15が所
定時間だけ開状態になる。さらに、高確率状態では、可
変表示器10における停止図柄が当り図柄になる確率が
高められるとともに、可変入賞球装置15の開放時間と
開放回数が高められる。
If the combination of images in the variable display section 9 at the time of stoppage is a combination of big hit symbols accompanied by a probability change, the probability of the next big hit increases. That is, a high probability state, which is more advantageous for the player, is obtained. Also, when the stop symbol on the variable display 10 is a predetermined symbol (hit symbol), the variable winning ball device 15 is opened for a predetermined time. Further, in the high probability state, the probability that the stop symbol on the variable display 10 hits the symbol is increased, and the opening time and the number of times the variable winning ball device 15 is opened are increased.

【0032】次に、パチンコ遊技機1の裏面の構造につ
いて図2を参照して説明する。可変表示装置8の背面で
は、図2に示すように、機構板36の上部に球貯留タン
ク38が設けられ、パチンコ遊技機1が遊技機設置島に
設置された状態でその上方から遊技球が球貯留タンク3
8に供給される。球貯留タンク38内の遊技球は、誘導
樋39を通って球払出装置に至る。
Next, the structure of the back surface of the pachinko gaming machine 1 will be described with reference to FIG. On the back side of the variable display device 8, as shown in FIG. 2, a ball storage tank 38 is provided above the mechanism plate 36, and when the pachinko gaming machine 1 is installed on the gaming machine installation island, the game balls from above. Ball storage tank 3
8 is supplied. The game ball in the ball storage tank 38 reaches the ball payout device through the guiding gutter 39.

【0033】機構板36には、中継基板30を介して可
変表示部9を制御する可変表示制御ユニット29、基板
ケース32に覆われ遊技制御用マイクロコンピュータ等
が搭載された遊技制御基板(主基板)31、可変表示制
御ユニット29と遊技制御基板31との間の信号を中継
するための中継基板33、および遊技球の払出制御を行
う賞球制御用マイクロコンピュータ等が搭載された払出
制御基板37が設置されている。さらに、機構板36の
下部には、モータの回転力を利用して打球を遊技領域7
に発射する打球発射装置34と、遊技効果ランプ・LE
D28a,28b,28c、賞球ランプ51および球切
れランプ52に信号を送るためのランプ制御基板35が
設置されている。
On the mechanism board 36, a variable display control unit 29 for controlling the variable display section 9 via the relay board 30, and a game control board (main board) covered with a board case 32 and mounted with a game control microcomputer and the like. 31), a relay board 33 for relaying a signal between the variable display control unit 29 and the game control board 31, and a payout control board 37 mounted with a prize ball control microcomputer for controlling payout of game balls. Is installed. Further, a ball is hit on the lower part of the mechanism plate 36 by using the rotating force of the motor in the game area 7.
Ball launching device 34 that launches on a game effect lamp / LE
D28a, 28b, 28c, a prize ball lamp 51 and a lamp control board 35 for sending signals to the ball out lamp 52 are provided.

【0034】また、図3はパチンコ遊技機1の機構板を
背面からみた背面図である。球貯留タンク38に貯留さ
れた玉は誘導樋39を通り、図3に示されるように、球
切れ検出器(球切れスイッチ)187a,187bを通
過して球供給樋186a,186bを経て球払出装置9
7に至る。球切れスイッチ187a,187bは遊技球
通路内の遊技球の有無を検出するスイッチであるが、球
タンク38内の補給球の不足を検出する球切れ検出スイ
ッチ167も設けられている。球払出装置97から払い
出された遊技球は、連絡口45を通ってパチンコ遊技機
1の前面に設けられている打球供給皿3に供給される。
連絡口45の側方には、パチンコ遊技機1の前面に設け
られている余剰玉受皿4に連通する余剰玉通路46が形
成されている。入賞にもとづく景品球が多数払い出され
て打球供給皿3が満杯になり、ついには遊技球が連絡口
45に到達した後さらに遊技球が払い出されると遊技球
は、余剰玉通路46を経て余剰玉受皿4に導かれる。さ
らに遊技球が払い出されると、感知レバー47が満タン
スイッチ48を押圧して満タンスイッチ48がオンす
る。その状態では、球払出装置97内のステッピングモ
ータの回転が停止して球払出装置97の動作が停止する
とともに打球発射装置34の駆動も停止する。
FIG. 3 is a rear view of the mechanical plate of the pachinko gaming machine 1 as viewed from the rear. The balls stored in the ball storage tank 38 pass through the guide gutter 39, pass through the ball cut detectors (ball cut switches) 187a and 187b, and are dispensed through the ball supply gutters 186a and 186b, as shown in FIG. Device 9
Reaches 7. The ball-out switches 187a and 187b are switches for detecting the presence or absence of a game ball in the game-ball passage, and a ball-out detection switch 167 for detecting a shortage of replenishment balls in the ball tank 38 is also provided. The game balls paid out from the ball payout device 97 are supplied to the hit ball supply tray 3 provided on the front surface of the pachinko gaming machine 1 through the communication port 45.
On the side of the communication port 45, an excess ball passage 46 communicating with the excess ball tray 4 provided on the front of the pachinko gaming machine 1 is formed. A large number of prize balls are paid out based on the prize, and the hitting ball supply tray 3 becomes full. Finally, after the game balls reach the contact port 45, the game balls are further paid out. It is led to the ball tray 4. When the game balls are further paid out, the sensing lever 47 presses the full tank switch 48 and the full tank switch 48 is turned on. In that state, the rotation of the stepping motor in the ball discharging device 97 stops, the operation of the ball discharging device 97 stops, and the driving of the hit ball firing device 34 also stops.

【0035】次に、機構板36に設置されている中間ベ
ースユニットの構成について説明する。中間ベースユニ
ットには、球供給樋186a,186bや球払出装置9
7が設置される。図4に示すように、中間ベースユニッ
トの上下には連結凹突部182が形成されている。連結
凹突部182は、中間ベースユニットと機構板36の上
部ベースユニットおよび下部ベースユニットを連結固定
するものである。
Next, the structure of the intermediate base unit installed on the mechanism plate 36 will be described. The intermediate base unit includes the ball supply gutters 186a and 186b and the ball discharging device 9
7 is installed. As shown in FIG. 4, connecting concave protrusions 182 are formed on the upper and lower sides of the intermediate base unit. The connection concave projection 182 connects and fixes the intermediate base unit and the upper base unit and the lower base unit of the mechanism plate 36.

【0036】中間ベースユニットの上部には通路体18
4が固定されている。そして、通路体184の下部に球
払出装置97が固定されている。通路体184は、カー
ブ樋174(図3参照)によって流下方向を左右方向に
変換された2列の遊技球を流下させる払出球通路186
a,186bを有する。払出球通路186a,186b
の上流側には、球切れスイッチ187a,187bが設
置されている。球切れスイッチ187a,187bは、
払出球通路186a,186b内の遊技球の有無を検出
するものであって、球切れスイッチ187a,187b
が遊技球を検出しなくなると球払出装置97における払
出モータ(図4において図示せず)の回転を停止して球
払出が不動化される。
A passage member 18 is provided above the intermediate base unit.
4 is fixed. The ball dispensing device 97 is fixed to a lower portion of the passage body 184. The passage body 184 is a payout ball passage 186 that allows two rows of game balls whose flow direction has been changed left and right by the curve gutter 174 (see FIG. 3) to flow down.
a, 186b. Dispensing ball passages 186a, 186b
On the upstream side of the ball, ball breaking switches 187a and 187b are provided. The ball out switches 187a and 187b
It detects the presence or absence of a game ball in the payout ball passages 186a and 186b, and detects a ball out switch 187a or 187b.
Stops detecting the game ball, the rotation of the payout motor (not shown in FIG. 4) in the ball payout device 97 is stopped, and the ball payout is immobilized.

【0037】なお、球切れスイッチ187a,187b
は、払出球通路186a,186bに27〜28個程度
の遊技球が存在することを検出できるような位置に係止
片188によって係止されている。すなわち、球切れス
イッチ187a,187bは、賞球の一単位の最大払出
量(この実施の形態では15個)および球貸しの一単位
の最大払出量(この実施の形態では100円:25個)
以上が確保されていることが確認できるような位置に設
置されている。
It should be noted that the ball out switches 187a, 187b
Is locked by a locking piece 188 at a position where it can be detected that about 27 to 28 game balls exist in the payout ball paths 186a and 186b. That is, the out-of-ball switches 187a and 187b are the maximum payout amount of one unit of the prize ball (15 in this embodiment) and the maximum payout amount of one unit of the ball lending (100 yen: 25 in this embodiment).
It is installed in a position where it can be confirmed that the above is secured.

【0038】通路体184の中央部は、内部を流下する
遊技球の球圧を弱めるように、左右に湾曲する形状に形
成されている。そして、払出球通路186a,186b
の間に止め穴189が形成されている。止め穴189の
裏面は中間ベースユニットに設けられている取付ボスが
はめ込まれる。その状態で止めねじがねじ止めされて、
通路体184は中間ベースユニットに固定される。な
お、ねじ止めされる前に、中間ベースユニットに設けら
れている係止突片185によって通路体184の位置合
わせを行えるようになっている。
The central portion of the passage body 184 is formed in a shape curved right and left so as to reduce the ball pressure of the game ball flowing down inside. And the payout ball passages 186a, 186b
A stop hole 189 is formed therebetween. The mounting boss provided on the intermediate base unit is fitted into the back surface of the stop hole 189. The set screw is screwed in that state,
The passage body 184 is fixed to the intermediate base unit. Before being screwed, the positioning of the passage body 184 can be performed by a locking projection 185 provided on the intermediate base unit.

【0039】通路体184の下方には、球払出装置97
に遊技球を供給するとともに故障時等には球払出装置9
7への遊技球の供給を停止する球止め装置190が設け
られている。球止め装置190の下方に設置される球払
出装置97は、直方体状のケース198の内部に収納さ
れている。ケース198の左右4箇所には突部が設けら
れている。各突部が中間ベースユニットに設けられてい
る位置決め突片に係った状態で、中間ベースユニットの
下部に設けられている弾性係合片にケース198の下端
がはめ込まれる。
Below the passage body 184, a ball payout device 97 is provided.
To supply the game balls to the ball, and in the event of failure, the ball payout device 9
A ball stopping device 190 for stopping the supply of game balls to the game ball 7 is provided. The ball dispensing device 97 installed below the ball stopping device 190 is housed inside a rectangular parallelepiped case 198. Protrusions are provided at four places on the left and right of the case 198. The lower end of the case 198 is fitted into an elastic engagement piece provided at a lower portion of the intermediate base unit with each projection being related to a positioning projection provided on the intermediate base unit.

【0040】図5は球払出装置97の分解斜視図であ
る。球払出装置97の構成および作用について図5を参
照して説明する。この実施形態における球払出装置97
は、ステッピングモータ(払出モータ)289がスクリ
ュー288を回転させることによりパチンコ玉を1個ず
つ払い出す。なお、球払出装置97は、入賞にもとづく
景品球だけでなく、貸し出すべき遊技球も払い出す。
FIG. 5 is an exploded perspective view of the ball payout device 97. The configuration and operation of the ball payout device 97 will be described with reference to FIG. Ball payout device 97 in this embodiment
, A stepping motor (payout motor) 289 rotates a screw 288 to pay out pachinko balls one by one. The ball payout device 97 pays out not only premium balls based on winnings but also game balls to be lent.

【0041】図5に示すように、球払出装置97は、2
つのケース198a,198bを有する。それぞれのケ
ース198a,198bの左右2箇所に、球払出装置9
7の設置位置上部に設けられた位置決め突片に当接され
る係合突部280が設けられている。また、それぞれの
ケース198a,198bには、球供給路281a,2
81bが形成されている。球供給路281a,281b
は湾曲面282a,282bを有し、湾曲面282a,
282bの終端の下方には、球送り水平路284a,2
84bが形成されている。さらに、球送り水平路284
a,284bの終端に球排出路283a,283bが形
成されている。
As shown in FIG. 5, the ball dispensing device 97
There are two cases 198a and 198b. The ball dispensing device 9 is provided at two places on the left and right of each case 198a, 198b.
7 is provided with an engagement projection 280 that is in contact with a positioning projection provided at the upper part of the installation position. In each case 198a, 198b, a ball supply path 281a,
81b are formed. Ball supply path 281a, 281b
Has curved surfaces 282a and 282b, and has curved surfaces 282a and 282b.
Below the end of 282b, there is a ball feed horizontal path 284a, 2
84b are formed. In addition, ball feed horizontal path 284
Ball discharge passages 283a and 283b are formed at the ends of a and 284b.

【0042】球供給路281a,281b、球送り水平
路284a,284b、球排出路283a,283b
は、ケース198a,198bをそれぞれ前後に区画す
る区画壁295a,295bの前方に形成されている。
また、区画壁295a,295bの前方において、玉圧
緩衝部材285がケース198a,198b間に挟み込
まれる。玉圧緩衝部材285は、球払出装置97に供給
される玉を左右側方に振り分けて球供給路281a,2
81bに誘導する。
The ball supply paths 281a and 281b, the ball feed horizontal paths 284a and 284b, and the ball discharge paths 283a and 283b.
Are formed in front of partition walls 295a and 295b that partition the cases 198a and 198b forward and backward, respectively.
Further, in front of the partition walls 295a and 295b, a ball pressure buffering member 285 is sandwiched between the cases 198a and 198b. The ball pressure buffering member 285 distributes the ball supplied to the ball payout device 97 to the left and right sides and the ball supply paths 281a, 281.
81b.

【0043】また、玉圧緩衝部材285の下部には、発
光素子(LED)286と受光素子(図示せず)とによ
る払出モータ位置センサが設けられている。発光素子2
86と受光素子とは、所定の間隔をあけて設けられてい
る。そして、この間隔内に、スクリュー288の先端が
挿入されるようになっている。なお、玉圧緩衝部材28
5は、ケース198a,198bが張り合わされたとき
に、完全にその内部に収納固定される。
Further, below the ball pressure buffering member 285, a payout motor position sensor including a light emitting element (LED) 286 and a light receiving element (not shown) is provided. Light emitting element 2
86 and the light receiving element are provided at a predetermined interval. The distal end of the screw 288 is inserted into the space. The ball pressure buffering member 28
When the cases 198a and 198b are attached to each other, the case 5 is completely stored and fixed therein.

【0044】球送り水平路284a,284bには、払
出モータ289によって回転させられるスクリュー28
8が配置されている。払出モータ289はモータ固定板
290に固定され、モータ固定板290は、区画壁29
5a,295bの後方に形成される固定溝291a,2
91bにはめ込まれる。その状態で払出モータ289の
モータ軸が区画壁295a,295bの前方に突出する
ので、その突出の前方にスクリュー288が固定され
る。スクリュー288の外周には、払出モータ289の
回転によって球送り水平路284a,284bに載置さ
れた遊技球を前方に移動させるための螺旋突起288a
が設けられている。
The ball feed horizontal paths 284a and 284b have a screw 28 rotated by a payout motor 289.
8 are arranged. The payout motor 289 is fixed to the motor fixing plate 290, and the motor fixing plate 290 is
Fixing grooves 291a, 2 formed behind 5a, 295b
Fits into 91b. In this state, the motor shaft of the dispensing motor 289 projects forward of the partition walls 295a, 295b, so that the screw 288 is fixed forward of the projection. On the outer periphery of the screw 288, a spiral protrusion 288a for moving the game ball placed on the ball feed horizontal path 284a, 284b forward by the rotation of the payout motor 289.
Is provided.

【0045】そして、スクリュー288の先端には、発
光素子286を収納するように凹部が形成され、その凹
部の外周には、2つの切欠部292が互いに180度離
れて形成されている。従って、スクリュー288が1回
転する間に、発光素子286からの光は、切欠部292
を介して受光素子で2回検出される。
A recess is formed at the tip of the screw 288 so as to house the light emitting element 286, and two notches 292 are formed 180 degrees apart from each other on the outer periphery of the recess. Therefore, while the screw 288 makes one rotation, the light from the light emitting element 286 is
Is detected twice by the light receiving element via the.

【0046】つまり、発光素子286と受光素子とによ
る払出モータ位置センサは、スクリュー288を定位置
で停止するためのものであり、かつ、払出動作が行われ
た旨を検出するものである。なお、発光素子286、受
光素子および払出モータ289からの配線は、まとめら
れてケース198a,198bの後部下方に形成された
引出穴から外部に引き出されコネクタに結線される。
That is, the dispensing motor position sensor including the light emitting element 286 and the light receiving element is for stopping the screw 288 at a fixed position and detecting that the dispensing operation has been performed. The wires from the light emitting element 286, the light receiving element, and the payout motor 289 are collectively pulled out to the outside through drawout holes formed below the rear portions of the cases 198a, 198b, and connected to the connector.

【0047】遊技球が球送り水平路284a,284b
に載置された状態において、払出モータ289が回転す
ると、スクリュー288の螺旋突起288aによって、
遊技球は、球送り水平路284a,284b上を前方に
向かって移動する。そして、遂には、球送り水平路28
4a,284bの終端から球排出路283a,283b
に落下する。このとき、左右の球送り水平路284a,
284bからの落下は交互に行われる。すなわち、スク
リュー288が半回転する毎に一方から1個の遊技球が
落下する。従って、1個の遊技球が落下する毎に、発光
素子286からの光が受光素子によって検出される。
The game balls are moved horizontally by ball 284a, 284b.
When the payout motor 289 rotates in a state where the screw 288 is placed on the
The game ball moves forward on the ball feeding horizontal paths 284a and 284b. And finally, ball feed horizontal path 28
4a, 284b from the end of the ball discharge path 283a, 283b
To fall. At this time, the left and right ball feed horizontal paths 284a,
The drop from 284b is performed alternately. That is, every time the screw 288 makes a half turn, one game ball falls from one side. Therefore, every time one game ball falls, light from the light emitting element 286 is detected by the light receiving element.

【0048】図4に示すように、球払出装置97の下方
には、球振分部材311が設けられている。球振分部材
311は、振分用ソレノイド310によって駆動され
る。例えば、ソレノイド310のオン時には、球振分部
材311は右側に倒れ、オフ時には左側に倒れる。振分
用ソレノイド310の下方には、近接スイッチによる賞
球カウントスイッチ301Aおよび球貸しカウントスイ
ッチ301Bが設けられている。入賞にもとづく賞球時
には、球振分部材311は右側に倒れ、球排出路283
a,283bからの玉はともに賞球カウントスイッチ3
01Aを通過する。また、球貸し時には、球振分部材3
11は左側に倒れ、球排出路283a,283bからの
玉はともに球貸しカウントスイッチ301Bを通過す
る。従って、球払出装置97は、賞球時と球貸し時とで
払出流下路を切り替えて、所定数の遊技媒体の払出を行
うことができる。
As shown in FIG. 4, a ball distribution member 311 is provided below the ball payout device 97. The ball distribution member 311 is driven by the distribution solenoid 310. For example, when the solenoid 310 is on, the ball sorting member 311 falls to the right, and when it is off, it falls to the left. Below the distribution solenoid 310, a prize ball count switch 301A and a ball lending count switch 301B are provided by proximity switches. At the time of the prize ball based on the winning, the ball sorting member 311 falls to the right side and the ball discharge path 283
The balls from a and 283b are both prize ball count switches 3.
Pass through 01A. Also, when lending a ball, the ball distribution member 3
The ball 11 from the ball discharge paths 283a and 283b both passes through the ball lending count switch 301B. Accordingly, the ball payout device 97 can switch the payout flow path between the time of winning a ball and the time of lending a ball, and can pay out a predetermined number of game media.

【0049】このように、球振分部材311を設けるこ
とによって、2条の玉流路を落下してきた玉は、賞球カ
ウントスイッチ301Aと球貸しカウントスイッチ30
1Bとのうちのいずれか一方しか通過しない。従って、
賞球であるのか球貸しであるのかの判断をすることな
く、賞球カウントスイッチ301Aと球貸しカウントス
イッチ301Bの検出出力から、直ちに賞球数または球
貸し数を把握することができる。
As described above, by providing the ball sorting member 311, the balls that have fallen in the two ball passages can receive the prize ball count switch 301 A and the ball lending count switch 30.
1B. Therefore,
The number of prize balls or the number of ball lending can be immediately grasped from the detection output of the prize ball counting switch 301A and the ball lending count switch 301B without determining whether the ball is a prize ball or a ball lending.

【0050】なお、この実施の形態では、電気的駆動源
の駆動によって遊技球を払い出す球払出装置として、ス
テッピングモータの回転によって遊技球が払い出される
球払出装置97を用いることにするが、その他の駆動源
によって遊技球を送り出す構造の球払出装置を用いても
よいし、電気的駆動源の駆動によってストッパを外し遊
技球の自重によって払い出しがなされる構造の球払出装
置を用いてもよい。また、ここでは、球振分部材311
によって賞球時の球払出経路と球貸し時の球払出経路と
を切り替える機構を使用するが、賞球時の球払出機構と
球貸し時の球払出機構とが独立して設けられている構成
を用いてもよい。
In this embodiment, a ball payout device 97 that pays out game balls by rotation of a stepping motor is used as a ball payout device that pays out game balls by driving an electric drive source. A ball payout device having a structure in which a game ball is sent out by a driving source of the above may be used, or a ball payout device having a structure in which a stopper is removed by driving an electric drive source to pay out the game ball by its own weight may be used. Also, here, the ball sorting member 311
A mechanism for switching between a ball payout path when winning a prize ball and a ball payout path when lending a ball is used, but a configuration in which a ball payout mechanism when awarding a ball and a ball payout mechanism when lending a ball are provided independently. May be used.

【0051】図6は、主基板31における回路構成の一
例を示すブロック図である。なお、図6には、払出制御
基板37、ランプ制御基板35、音制御基板70、発射
制御基板91および表示制御基板80も示されている。
主基板31には、プログラムに従ってパチンコ遊技機1
を制御する基本回路53と、ゲートスイッチ12、始動
口スイッチ17、Vカウントスイッチ22、カウントス
イッチ23、入賞口スイッチ19a,24aおよび賞球
カウントスイッチ301Aからの信号を基本回路53に
与えるスイッチ回路58と、可変入賞球装置15を開閉
するソレノイド16および開閉板20を開閉するソレノ
イド21等を基本回路53からの指令に従って駆動する
ソレノイド回路59とが搭載されている。
FIG. 6 is a block diagram showing an example of a circuit configuration of the main board 31. FIG. 6 also shows the payout control board 37, the lamp control board 35, the sound control board 70, the emission control board 91, and the display control board 80.
The pachinko machine 1 is provided on the main board 31 according to the program.
And a switch circuit 58 for giving signals from the gate switch 12, the starting port switch 17, the V count switch 22, the count switch 23, the winning port switches 19a and 24a, and the prize ball count switch 301A to the basic circuit 53. And a solenoid circuit 59 for driving the solenoid 16 for opening and closing the variable winning ball device 15 and the solenoid 21 for opening and closing the opening and closing plate 20 in accordance with a command from the basic circuit 53.

【0052】また、基本回路53から与えられるデータ
に従って、大当りの発生を示す大当り情報、可変表示部
9の画像表示開始に利用された始動入賞球の個数を示す
有効始動情報、確率変動が生じたことを示す確変情報等
をホール管理コンピュータ等のホストコンピュータに対
して出力する情報出力回路64を含む。
According to the data supplied from the basic circuit 53, jackpot information indicating occurrence of a jackpot, effective start information indicating the number of start winning balls used to start image display on the variable display section 9, and probability fluctuation have occurred. And an information output circuit 64 that outputs probability change information or the like indicating the fact to a host computer such as a hall management computer.

【0053】基本回路53は、ゲーム制御用のプログラ
ム等を記憶するROM54、ワークメモリとして使用さ
れる記憶手段の一例であるRAM55、プログラムに従
って制御動作を行うCPU56およびI/Oポート部5
7を含む。この実施の形態では、ROM54,RAM5
5はCPU56に内蔵されている。すなわち、CPU5
6は、1チップマイクロコンピュータである。なお、1
チップマイクロコンピュータは、少なくともRAM55
が内蔵されていればよく、ROM54およびI/Oポー
ト部57は外付けであっても内蔵されていてもよい。ま
た、I/Oポート部57は、マイクロコンピュータにお
ける情報入出力可能な端子である。
The basic circuit 53 includes a ROM 54 for storing a game control program and the like, a RAM 55 as an example of a storage means used as a work memory, a CPU 56 for performing a control operation according to the program, and an I / O port unit 5.
7 inclusive. In this embodiment, the ROM 54 and the RAM 5
5 is built in the CPU 56. That is, the CPU 5
Reference numeral 6 denotes a one-chip microcomputer. In addition, 1
The chip microcomputer has at least the RAM 55
And the ROM 54 and the I / O port unit 57 may be external or internal. The I / O port unit 57 is a terminal capable of inputting and outputting information in the microcomputer.

【0054】さらに、主基板31には、電源投入時に基
本回路53をリセットするためのシステムリセット回路
65と、基本回路53から与えられるアドレス信号をデ
コードしてI/Oポート部57のうちのいずれかのI/
Oポートを選択するための信号を出力するアドレスデコ
ード回路67とが設けられている。なお、球払出装置9
7から主基板31に入力されるスイッチ情報もあるが、
図6ではそれらは省略されている。
Further, the main board 31 includes a system reset circuit 65 for resetting the basic circuit 53 when the power is turned on, and an address signal supplied from the basic circuit 53 to decode the I / O port section 57. I /
An address decode circuit 67 for outputting a signal for selecting the O port is provided. Note that the ball payout device 9
There is also switch information input to the main board 31 from 7,
They are omitted in FIG.

【0055】遊技球を打撃して発射する打球発射装置は
発射制御基板91上の回路によって制御される駆動モー
タ94で駆動される。そして、駆動モータ94の駆動力
は、操作ノブ5の操作量に従って調整される。すなわ
ち、発射制御基板91上の回路によって、操作ノブ5の
操作量に応じた速度で打球が発射されるように制御され
る。
A hit ball firing device that hits and fires a game ball is driven by a drive motor 94 controlled by a circuit on a firing control board 91. Then, the driving force of the driving motor 94 is adjusted according to the operation amount of the operation knob 5. That is, the circuit on the firing control board 91 is controlled so that the hit ball is fired at a speed corresponding to the operation amount of the operation knob 5.

【0056】なお、この実施の形態では、ランプ制御基
板35に搭載されているランプ制御手段が、遊技盤に設
けられている始動記憶表示器18、ゲート通過記憶表示
器41および装飾ランプ25の表示制御を行うととも
に、枠側に設けられている遊技効果ランプ・LED28
a,28b,28c、賞球ランプ51および球切れラン
プ52の表示制御を行う。ここで、ランプ制御手段は発
光体制御手段の一例である。また、特別図柄を可変表示
する可変表示部9および普通図柄を可変表示する可変表
示器10の表示制御は、表示制御基板80に搭載されて
いる表示制御手段によって行われる。
In this embodiment, the lamp control means mounted on the lamp control board 35 is used to display the start memory display 18, the gate passage memory display 41 and the decoration lamp 25 provided on the game board. Controls the game and the game effect lamp / LED 28 provided on the frame side.
a, 28b, and 28c, display control of the award ball lamp 51, and the ball out lamp 52 are performed. Here, the lamp control unit is an example of the illuminant control unit. The display control of the variable display unit 9 for variably displaying special symbols and the variable display 10 for variably displaying ordinary symbols is performed by display control means mounted on the display control board 80.

【0057】図7は、表示制御基板80内の回路構成
を、可変表示部9の一実現例であるLCD(液晶表示装
置)82、可変表示器10、主基板31の出力ポート
(ポート0,2)570,572および出力バッファ回
路620,62Aとともに示すブロック図である。出力
ポート(出力ポート2)572からは8ビットのデータ
が出力され、出力ポート570からは1ビットのストロ
ーブ信号(INT信号)が出力される。
FIG. 7 shows a circuit configuration in the display control board 80, in which an LCD (liquid crystal display) 82, which is an example of the variable display section 9, an variable display 10, and an output port (port 0, 2) It is a block diagram shown together with 570, 572 and output buffer circuits 620, 62A. Output port (output port 2) 572 outputs 8-bit data, and output port 570 outputs a 1-bit strobe signal (INT signal).

【0058】表示制御用CPU101は、制御データR
OM102に格納されたプログラムに従って動作し、主
基板31からノイズフィルタ107および入力バッファ
回路105Bを介してINT信号が入力されると、入力
バッファ回路105Aを介して表示制御コマンドを受信
する。入力バッファ回路105A,105Bとして、例
えば汎用ICである74HC540,74HC14を使
用することができる。なお、表示制御用CPU101が
I/Oポートを内蔵していない場合には、入力バッファ
回路105A,105Bと表示制御用CPU101との
間に、I/Oポートが設けられる。
The display control CPU 101 controls the control data R
It operates according to the program stored in the OM 102, and receives an INT signal from the main board 31 via the noise filter 107 and the input buffer circuit 105B, and receives a display control command via the input buffer circuit 105A. As the input buffer circuits 105A and 105B, for example, 74HC540 and 74HC14, which are general-purpose ICs, can be used. When the display control CPU 101 does not include an I / O port, an I / O port is provided between the input buffer circuits 105A and 105B and the display control CPU 101.

【0059】そして、表示制御用CPU101は、受信
した表示制御コマンドに従って、LCD82に表示され
る画面の表示制御を行う。具体的には、表示制御コマン
ドに応じた指令をVDP103に与える。VDP103
は、キャラクタROM86から必要なデータを読み出
す。VDP103は、入力したデータに従ってLCD8
2に表示するための画像データを生成し、R,G,B信
号および同期信号をLCD82に出力する。
The display control CPU 101 performs display control of the screen displayed on the LCD 82 according to the received display control command. Specifically, a command corresponding to the display control command is given to the VDP 103. VDP103
Reads necessary data from the character ROM 86. The VDP 103 controls the LCD 8 according to the input data.
2 to generate image data to be displayed on the LCD 2, and output R, G, B signals and a synchronization signal to the LCD 82.

【0060】なお、図7には、VDP103をリセット
するためのリセット回路83、VDP103に動作クロ
ックを与えるための発振回路85、および使用頻度の高
い画像データを格納するキャラクタROM86も示され
ている。キャラクタROM86に格納される使用頻度の
高い画像データとは、例えば、LCD82に表示される
人物、動物、または、文字、図形もしくは記号等からな
る画像などである。
FIG. 7 also shows a reset circuit 83 for resetting the VDP 103, an oscillation circuit 85 for supplying an operation clock to the VDP 103, and a character ROM 86 for storing frequently used image data. The frequently used image data stored in the character ROM 86 is, for example, a person, an animal, or an image composed of characters, figures, or symbols displayed on the LCD 82.

【0061】入力バッファ回路105A,105Bは、
主基板31から表示制御基板80へ向かう方向にのみ信
号を通過させることができる。従って、表示制御基板8
0側から主基板31側に信号が伝わる余地はない。すな
わち、入力バッファ回路105A,105Bは、入力ポ
ートともに不可逆性情報入力手段を構成する。表示制御
基板80内の回路に不正改造が加えられても、不正改造
によって出力される信号が主基板31側に伝わることは
ない。
The input buffer circuits 105A and 105B
The signal can be passed only in the direction from the main board 31 to the display control board 80. Therefore, the display control board 8
There is no room for a signal to be transmitted from the 0 side to the main board 31 side. That is, the input buffer circuits 105A and 105B together with the input ports constitute irreversible information input means. Even if a circuit in the display control board 80 is tampered with, a signal output by the tampering is not transmitted to the main board 31 side.

【0062】なお、出力ポート570,572の出力を
そのまま表示制御基板80に出力してもよいが、単方向
にのみ信号伝達可能な出力バッファ回路620,62A
を設けることによって、主基板31から表示制御基板8
0への一方向性の信号伝達をより確実にすることができ
る。すなわち、出力バッファ回路620,62Aは、出
力ポートともに不可逆性情報出力手段を構成する。
The outputs of the output ports 570 and 572 may be output to the display control board 80 as they are, but the output buffer circuits 620 and 62A capable of transmitting signals only in one direction.
, The main board 31 to the display control board 8
One-way signal transmission to 0 can be more reliably performed. That is, the output buffer circuits 620 and 62A together constitute an irreversible information output unit with the output ports.

【0063】また、高周波信号を遮断するノイズフィル
タ107として、例えば3端子コンデンサやフェライト
ビーズが使用されるが、ノイズフィルタ107の存在に
よって、表示制御コマンドに基板間でノイズが乗ったと
しても、その影響は除去される。なお、主基板31のバ
ッファ回路620,62Aの出力側にもノイズフィルタ
を設けてもよい。
For example, a three-terminal capacitor or a ferrite bead is used as the noise filter 107 that cuts off the high-frequency signal. The effect is eliminated. Note that a noise filter may be provided on the output side of the buffer circuits 620 and 62A of the main board 31.

【0064】図8は、主基板31およびランプ制御基板
35における信号送受信部分を示すブロック図である。
この実施の形態では、遊技領域7の外側に設けられてい
る遊技効果LED28a、遊技効果ランプ28b,28
cと遊技盤に設けられている装飾ランプ25の点灯/消
灯と、賞球ランプ51および球切れランプ52の点灯/
消灯とを示すランプ制御コマンドが主基板31からラン
プ制御基板35に出力される。また、始動記憶表示器1
8およびゲート通過記憶表示器41の点灯個数を示すラ
ンプ制御コマンドも主基板31からランプ制御基板35
に出力される。
FIG. 8 is a block diagram showing a signal transmission / reception portion of the main board 31 and the lamp control board 35.
In this embodiment, a game effect LED 28a and game effect lamps 28b, 28 provided outside the game area 7 are provided.
c and lighting / extinguishing of the decorative lamp 25 provided on the game board, and lighting / extinguishing of the prize ball lamp 51 and the ball out lamp 52.
A lamp control command indicating turning off is output from the main board 31 to the lamp control board 35. Also, the start memory display 1
8 and the lamp control command indicating the number of lighting of the gate passage memory display 41 are also transmitted from the main board 31 to the lamp control board 35.
Is output to

【0065】図8に示すように、ランプ制御に関するラ
ンプ制御コマンドは、基本回路53におけるI/Oポー
ト部57の出力ポート(出力ポート0,3)570,5
73から出力される。出力ポート(出力ポート3)57
3は8ビットのデータを出力し、出力ポート570は1
ビットのINT信号を出力する。ランプ制御基板35に
おいて、主基板31からの制御コマンドは、入力バッフ
ァ回路355A,355Bを介してランプ制御用CPU
351に入力する。なお、ランプ制御用CPU351が
I/Oポートを内蔵していない場合には、入力バッファ
回路355A,355Bとランプ制御用CPU351と
の間に、I/Oポートが設けられる。
As shown in FIG. 8, the lamp control commands relating to the lamp control are output ports (output ports 0, 3) 570, 5 of the I / O port unit 57 in the basic circuit 53.
73. Output port (output port 3) 57
3 outputs 8-bit data, and output port 570 is 1
It outputs a bit INT signal. In the lamp control board 35, a control command from the main board 31 is transmitted to the CPU for lamp control via input buffer circuits 355A and 355B.
351. When the lamp control CPU 351 does not include an I / O port, an I / O port is provided between the input buffer circuits 355A and 355B and the lamp control CPU 351.

【0066】ランプ制御基板35において、ランプ制御
用CPU351は、各制御コマンドに応じて定義されて
いる遊技効果LED28a、遊技効果ランプ28b,2
8c、装飾ランプ25の点灯/消灯パターンに従って、
遊技効果LED28a、遊技効果ランプ28b,28
c、装飾ランプ25に対して点灯/消灯信号を出力す
る。点灯/消灯信号は、遊技効果LED28a、遊技効
果ランプ28b,28c、装飾ランプ25に出力され
る。なお、点灯/消灯パターンは、ランプ制御用CPU
351の内蔵ROMまたは外付けROMに記憶されてい
る。
In the lamp control board 35, the CPU 351 for lamp control includes a game effect LED 28a, a game effect lamp 28b, and a game effect lamp 28b, which are defined according to each control command.
8c, according to the lighting / extinguishing pattern of the decorative lamp 25,
Game effect LED 28a, game effect lamps 28b, 28
c, output a light-on / light-off signal to the decorative lamp 25; The ON / OFF signal is output to the game effect LED 28a, the game effect lamps 28b and 28c, and the decoration lamp 25. It should be noted that the lighting / extinguishing pattern is determined by the lamp control CPU.
351 is stored in an internal ROM or an external ROM.

【0067】主基板31において、CPU56は、RA
M55の記憶内容に未払出の賞球残数があるときに賞球
ランプ51の点灯を指示する制御コマンドを出力し、前
述した遊技盤裏面の払出球通路186a,186bの上
流に設置されている球切れスイッチ187a,187b
(図3参照)が遊技球を検出しなくなると球切れランプ
52の点灯を指示する制御コマンドを出力する。ランプ
制御基板35において、各制御コマンドは、入力バッフ
ァ回路355A,355Bを介してランプ制御用CPU
351に入力する。ランプ制御用CPU351は、それ
らの制御コマンドに応じて、賞球ランプ51および球切
れランプ52を点灯/消灯する。なお、点灯/消灯パタ
ーンは、ランプ制御用CPU351の内蔵ROMまたは
外付けROMに記憶されている。
On the main board 31, the CPU 56
When there is an unpaid prize ball remaining number in the memory contents of M55, the control command for instructing lighting of the prize ball lamp 51 is output, and the control command is provided upstream of the payout ball passages 186a, 186b on the back of the game board. Ball switch 187a, 187b
When the game ball is no longer detected (see FIG. 3), a control command for instructing lighting of the ball out lamp 52 is output. In the lamp control board 35, each control command is transmitted to the lamp control CPU via input buffer circuits 355A and 355B.
351. The lamp control CPU 351 turns on / off the prize ball lamp 51 and the ball out lamp 52 according to the control commands. The light-on / light-off pattern is stored in a built-in ROM or an external ROM of the lamp control CPU 351.

【0068】さらに、ランプ制御用CPU351は、制
御コマンドに応じて始動記憶表示器18およびゲート通
過記憶表示器41に対して点灯/消灯信号を出力する。
Further, the lamp control CPU 351 outputs a light-on / light-off signal to the start storage display 18 and the gate passage storage display 41 in response to the control command.

【0069】入力バッファ回路355A,355Bとし
て、例えば、汎用のCMOS−ICである74HC54
0,74HC14が用いられる。入力バッファ回路35
5A,355Bは、主基板31からランプ制御基板35
へ向かう方向にのみ信号を通過させることができる。従
って、ランプ制御基板35側から主基板31側に信号が
伝わる余地はない。たとえ、ランプ制御基板35内の回
路に不正改造が加えられても、不正改造によって出力さ
れる信号がメイン基板31側に伝わることはない。な
お、入力バッファ回路355A,355Bの入力側にノ
イズフィルタを設けてもよい。
As the input buffer circuits 355A and 355B, for example, a 74HC54 which is a general-purpose CMOS-IC
0,74HC14 is used. Input buffer circuit 35
5A and 355B are connected to the lamp control board 35 from the main board 31.
The signal can be passed only in the direction toward. Therefore, there is no room for a signal to be transmitted from the lamp control board 35 side to the main board 31 side. For example, even if a circuit in the lamp control board 35 is tampered with, a signal output by the tampering is not transmitted to the main board 31 side. Note that a noise filter may be provided on the input side of the input buffer circuits 355A and 355B.

【0070】また、主基板31において、出力ポート5
70,573の外側にバッファ回路620,63Aが設
けられている。バッファ回路620,63Aとして、例
えば、汎用のCMOS−ICである74HC250,7
4HC14が用いられる。このような構成によれば、外
部から主基板31の内部に入力される信号が阻止される
ので、ランプ制御基板70から主基板31に信号が与え
られる可能性がある信号ラインをさらに確実になくすこ
とができる。なお、バッファ回路620,63Aの出力
側にノイズフィルタを設けてもよい。
In the main board 31, the output port 5
Buffer circuits 620 and 63A are provided outside 70 and 573. As the buffer circuits 620 and 63A, for example, 74HC250 and 7HC which are general-purpose CMOS-ICs
4HC14 is used. According to such a configuration, since a signal input from the outside to the inside of the main board 31 is blocked, a signal line to which a signal may be supplied from the lamp control board 70 to the main board 31 is more reliably eliminated. be able to. Note that a noise filter may be provided on the output side of the buffer circuits 620 and 63A.

【0071】図9は、主基板31における音声制御コマ
ンドの信号送信部分および音声制御基板70の構成例を
示すブロック図である。この実施の形態では、遊技進行
に応じて、遊技領域7の外側に設けられているスピーカ
27の音声出力を指示するための音声制御コマンドが、
主基板31から音声制御基板70に出力される。
FIG. 9 is a block diagram showing a configuration example of the voice control command signal transmission portion and the voice control board 70 on the main board 31. In this embodiment, according to the progress of the game, the voice control command for instructing the voice output of the speaker 27 provided outside the game area 7 is:
It is output from the main board 31 to the voice control board 70.

【0072】図9に示すように、音声制御コマンドは、
基本回路53におけるI/Oポート部57の出力ポート
(出力ポート0,4)570,574から出力される。
出力ポート(出力ポート4)574からは8ビットのデ
ータが出力され、出力ポート570からは1ビットのI
NT信号が出力される。音声制御基板70において、主
基板31からの各信号は、入力バッファ回路705A,
705Bを介して音声制御用CPU701に入力する。
なお、音声制御用CPU701がI/Oポートを内蔵し
ていない場合には、入力バッファ回路705A,705
Bと音声制御用CPU701との間に、I/Oポートが
設けられる。
As shown in FIG. 9, the voice control command is
The data is output from output ports (output ports 0, 4) 570, 574 of the I / O port unit 57 in the basic circuit 53.
Output port (output port 4) 574 outputs 8-bit data, and output port 570 outputs 1-bit I
An NT signal is output. In the audio control board 70, each signal from the main board 31 is supplied to the input buffer circuit 705A,
The data is input to the CPU 701 for voice control via 705B.
If the audio control CPU 701 does not have an I / O port, the input buffer circuits 705A, 705
An I / O port is provided between B and the voice control CPU 701.

【0073】そして、例えばディジタルシグナルプロセ
ッサによる音声合成回路702は、音声制御用CPU7
01の指示に応じた音声や効果音を発生し音量切替回路
703に出力する。音量切替回路703は、音声制御用
CPU701の出力レベルを、設定されている音量に応
じたレベルにして音量増幅回路704に出力する。音量
増幅回路704は、増幅した音声信号をスピーカ27に
出力する。
The voice synthesizing circuit 702 using, for example, a digital signal processor is
The sound and the sound effect corresponding to the instruction 01 are generated and output to the volume switching circuit 703. The volume switching circuit 703 sets the output level of the voice control CPU 701 to a level corresponding to the set volume and outputs the output level to the volume amplification circuit 704. The volume amplification circuit 704 outputs the amplified audio signal to the speaker 27.

【0074】入力バッファ回路705A,705Bとし
て、例えば、汎用のCMOS−ICである74HC54
0,74HC14が用いられる。入力バッファ回路70
5A,705Bは、主基板31から音声制御基板70へ
向かう方向にのみ信号を通過させることができる。よっ
て、音声制御基板70側から主基板31側に信号が伝わ
る余地はない。従って、音声制御基板70内の回路に不
正改造が加えられても、不正改造によって出力される信
号が主基板31側に伝わることはない。なお、入力バッ
ファ回路705A,705Bの入力側にノイズフィルタ
を設けてもよい。
As the input buffer circuits 705A and 705B, for example, a 74HC54 which is a general-purpose CMOS-IC
0,74HC14 is used. Input buffer circuit 70
5A and 705B can pass signals only in the direction from the main board 31 to the voice control board 70. Therefore, there is no room for a signal to be transmitted from the voice control board 70 side to the main board 31 side. Therefore, even if a circuit in the voice control board 70 is tampered with, a signal output by the tampering is not transmitted to the main board 31 side. Note that a noise filter may be provided on the input side of the input buffer circuits 705A and 705B.

【0075】また、主基板31において、出力ポート5
70,574の外側にバッファ回路620,67Aが設
けられている。バッファ回路620,67Aとして、例
えば、汎用のCMOS−ICである74HC250,7
4HC14が用いられる。このような構成によれば、外
部から主基板31の内部に入力される信号が阻止される
ので、音声制御基板70から主基板31に信号が与えら
れる可能性がある信号ラインをさらに確実になくすこと
ができる。なお、バッファ回路620,67Aの出力側
にノイズフィルタを設けてもよい。
In the main board 31, the output port 5
Buffer circuits 620 and 67A are provided outside 70 and 574. As the buffer circuits 620 and 67A, for example, 74HC250 and 7HC which are general-purpose CMOS-ICs
4HC14 is used. According to such a configuration, since a signal input from the outside to the inside of the main board 31 is blocked, a signal line to which a signal may be supplied from the voice control board 70 to the main board 31 is more reliably eliminated. be able to. Note that a noise filter may be provided on the output side of the buffer circuits 620 and 67A.

【0076】図10は、払出制御基板37および球払出
装置97の構成要素などの払出に関連する構成要素を示
すブロック図である。図10に示すように、満タンスイ
ッチ48からの検出信号は、中継基板71を介して主基
板31のI/Oポート57に入力される。満タンスイッ
チ48は、余剰球受皿4の満タンを検出するスイッチで
ある。また、球切れスイッチ187(187a,187
b)からの検出信号も、中継基板72および中継基板7
1を介して主基板31のI/Oポート57に入力され
る。
FIG. 10 is a block diagram showing components related to payout, such as components of the payout control board 37 and the ball payout device 97. As shown in FIG. 10, the detection signal from the full tank switch 48 is input to the I / O port 57 of the main board 31 via the relay board 71. The full tank switch 48 is a switch that detects whether the excess ball tray 4 is full. In addition, the ball out switch 187 (187a, 187)
The detection signal from b) is also used for the relay board 72 and the relay board 7.
1 is input to the I / O port 57 of the main board 31.

【0077】主基板31のCPU56は、球切れスイッ
チ187からの検出信号が球切れ状態を示しているか、
または、満タンスイッチ48からの検出信号が満タン状
態を示していると、払出禁止を指示する払出制御コマン
ドを送出する。払出禁止を指示する払出制御コマンドを
受信すると、払出制御基板37の払出制御用CPU37
1は球払出処理を停止する。
The CPU 56 of the main board 31 determines whether or not the detection signal from the out-of-ball switch 187 indicates the out-of-ball state.
Alternatively, when the detection signal from the full tank switch 48 indicates the full tank state, a payout control command to instruct payout prohibition is transmitted. When receiving the payout control command instructing the payout prohibition, the payout control CPU 37 of the payout control board 37
1 stops the ball payout process.

【0078】さらに、賞球カウントスイッチ301Aか
らの検出信号も、中継基板72および中継基板71を介
して主基板31のI/Oポート57に入力される。賞球
カウントスイッチ301Aは、球払出装置97の払出機
構部分に設けられ、実際に払い出された賞球払出球を検
出する。
Further, the detection signal from the prize ball count switch 301A is also input to the I / O port 57 of the main board 31 via the relay board 72 and the relay board 71. The prize ball count switch 301A is provided in the payout mechanism of the ball payout device 97, and detects a prize ball payout ball actually paid out.

【0079】入賞があると、払出制御基板37には、主
基板31の出力ポート(ポート0,1)570,571
から賞球個数を示す払出制御コマンドが入力される。出
力ポート(出力ポート1)571は8ビットのデータを
出力し、出力ポート570は1ビットのストローブ信号
(INT信号)を出力する。賞球個数を示す払出制御コ
マンドは、入力バッファ回路373Aを介してI/Oポ
ート372aに入力される。INT信号は、入力バッフ
ァ回路373Bを介して払出制御用CPU371の割込
端子に入力されている。払出制御用CPU371は、I
/Oポート372aを介して払出制御コマンドを入力
し、払出制御コマンドに応じて球払出装置97を駆動し
て賞球払出を行う。なお、この実施の形態では、払出制
御用CPU371は、1チップマイクロコンピュータで
あり、少なくともRAMが内蔵されている。
When there is a prize, the payout control board 37 has output ports (ports 0, 1) 570, 571 of the main board 31.
, A payout control command indicating the number of winning balls is input. The output port (output port 1) 571 outputs 8-bit data, and the output port 570 outputs a 1-bit strobe signal (INT signal). The payout control command indicating the number of winning balls is input to the I / O port 372a via the input buffer circuit 373A. The INT signal is input to the interrupt terminal of the payout control CPU 371 via the input buffer circuit 373B. The payout control CPU 371
A payout control command is input via the / O port 372a, and the ball payout device 97 is driven in accordance with the payout control command to perform award ball payout. In this embodiment, the payout control CPU 371 is a one-chip microcomputer and has at least a RAM.

【0080】また、主基板31において、出力ポート5
70,571の外側にバッファ回路620,68Aが設
けられている。バッファ回路620,68Aとして、例
えば、汎用のCMOS−ICである74HC250,7
4HC14が用いられる。このような構成によれば、外
部から主基板31の内部に入力される信号が阻止される
ので、払出制御基板37から主基板31に信号が与えら
れる可能性がある信号ラインをさらに確実になくすこと
ができる。なお、バッファ回路620,68Aの出力側
にノイズフィルタを設けてもよい。
In the main board 31, the output port 5
Buffer circuits 620 and 68A are provided outside 70 and 571. As the buffer circuits 620 and 68A, for example, 74HC250 and 7HC which are general-purpose CMOS-ICs
4HC14 is used. According to such a configuration, since a signal inputted from the outside to the inside of the main board 31 is blocked, a signal line to which a signal may be given from the payout control board 37 to the main board 31 is further reliably eliminated. be able to. Note that a noise filter may be provided on the output side of the buffer circuits 620 and 68A.

【0081】払出制御用CPU371は、出力ポート3
72gを介して、貸し球数を示す球貸し個数信号をター
ミナル基板160に出力し、ブザー駆動信号をブザー基
板75に出力する。ブザー基板75にはブザーが搭載さ
れている。さらに、出力ポート372eを介して、エラ
ー表示用LED374にエラー信号を出力する。
The payout control CPU 371 is connected to the output port 3
Via 72g, a ball lending number signal indicating the lending ball number is output to the terminal board 160, and a buzzer driving signal is output to the buzzer board 75. A buzzer is mounted on the buzzer board 75. Further, an error signal is output to the error display LED 374 via the output port 372e.

【0082】さらに、払出制御基板37の入力ポート3
72bには、中継基板72を介して、賞球カウントスイ
ッチ301Aおよび球貸しカウントスイッチ301Bか
らの検出信号が入力される。球貸しカウントスイッチ3
01Bは、球払出装置97の払出機構部分に設けられ、
実際に払い出された貸し球を検出する。払出制御基板3
7からの払出モータ289への駆動信号は、出力ポート
372cおよび中継基板72を介して球払出装置97の
払出機構部分における払出モータ289に伝えられる。
Further, the input port 3 of the payout control board 37
Detection signals from the winning ball count switch 301A and the ball lending count switch 301B are input to the relay board 72b via the relay board 72. Ball rental count switch 3
01B is provided in the payout mechanism portion of the ball payout device 97,
Detects the actual loaned ball. Dispensing control board 3
7 is transmitted to the payout motor 289 in the payout mechanism of the ball payout device 97 via the output port 372c and the relay board 72.

【0083】カードユニット50には、カードユニット
制御用マイクロコンピュータが搭載されている。また、
カードユニット50には、端数表示スイッチ152、連
結台方向表示器153、カード投入表示ランプ154お
よびカード挿入口155が設けられている(図1参
照)。残高表示基板74には、打球供給皿3の近傍に設
けられている度数表示LED、球貸しスイッチおよび返
却スイッチが接続される。
The card unit 50 is equipped with a microcomputer for controlling the card unit. Also,
The card unit 50 is provided with a fraction display switch 152, a connection board direction indicator 153, a card insertion indicator lamp 154, and a card insertion slot 155 (see FIG. 1). The balance display board 74 is connected to a frequency display LED, a ball lending switch, and a return switch provided near the hit ball supply tray 3.

【0084】残高表示基板74からカードユニット50
には、遊技者の操作に応じて、球貸しスイッチ信号およ
び返却スイッチ信号が払出制御基板37を介して与えら
れる。また、カードユニット50から残高表示基板74
には、プリペイドカードの残高を示すカード残高表示信
号および球貸し可表示信号が払出制御基板37を介して
与えられる。カードユニット50と払出制御基板37の
間では、接続信号(VL信号)、ユニット操作信号(B
RDY信号)、球貸し要求信号(BRQ信号)、球貸し
完了信号(EXS信号)およびパチンコ機動作信号(P
RDY信号)がI/Oポート372fを介してやりとり
される。
The balance display board 74 is used to move the card unit 50
In response to the operation of the player, a ball lending switch signal and a return switch signal are given via the payout control board 37. In addition, the balance display board 74 is provided from the card unit 50.
, A card balance display signal indicating the balance of the prepaid card and a ball lending possible display signal are given via the payout control board 37. Between the card unit 50 and the payout control board 37, a connection signal (VL signal) and a unit operation signal (B
RDY signal), ball lending request signal (BRQ signal), ball lending completion signal (EXS signal) and pachinko machine operation signal (P
RDY signal) is exchanged via the I / O port 372f.

【0085】パチンコ遊技機1の電源が投入されると、
払出制御基板37の払出制御用CPU371は、カード
ユニット50にPRDY信号を出力する。また、カード
ユニット制御用マイクロコンピュータは、VL信号を出
力する。払出制御用CPU371は、VL信号の入力状
態により接続状態/未接続状態を判定する。カードユニ
ット50においてカードが受け付けられ、球貸しスイッ
チが操作され球貸しスイッチ信号が入力されると、カー
ドユニット制御用マイクロコンピュータは、払出制御基
板37にBRDY信号を出力する。この時点から所定の
遅延時間が経過すると、カードユニット制御用マイクロ
コンピュータは、払出制御基板37にBRQ信号を出力
する。そして、払出制御基板37の払出制御用CPU3
71は、カードユニット50に対するEXS信号を立ち
上げ、カードユニット50からのBRQ信号の立ち下が
りを検出すると、払出モータ289を駆動し、所定個の
貸し球を遊技者に払い出す。このとき、振分用ソレノイ
ド310は駆動状態とされている。すなわち、球振分部
材311を球貸し側に向ける。そして、払出が完了した
ら、払出制御用CPU371は、カードユニット50に
対するEXS信号を立ち下げる。その後、カードユニッ
ト50からのBRDY信号がオン状態でなければ、賞球
払出制御を実行する。
When the power of the pachinko gaming machine 1 is turned on,
The payout control CPU 371 of the payout control board 37 outputs a PRDY signal to the card unit 50. The card unit control microcomputer outputs a VL signal. The payout control CPU 371 determines the connection state / non-connection state based on the input state of the VL signal. When the card is accepted in the card unit 50 and the ball lending switch is operated to input a ball lending switch signal, the microcomputer for controlling the card unit outputs a BRDY signal to the payout control board 37. When a predetermined delay time has elapsed from this point, the microcomputer for controlling the card unit outputs a BRQ signal to the payout control board 37. The payout control CPU 3 of the payout control board 37
When the EXS signal to the card unit 50 rises and the fall of the BRQ signal from the card unit 50 is detected, the payout motor 289 drives the payout motor 289 to pay out a predetermined number of loaned balls to the player. At this time, the distribution solenoid 310 is in a driving state. That is, the ball distribution member 311 is directed to the ball lending side. When the payout is completed, the payout control CPU 371 causes the EXS signal to the card unit 50 to fall. Thereafter, if the BRDY signal from the card unit 50 is not in the ON state, the winning ball payout control is executed.

【0086】以上のように、カードユニット50からの
信号は全て払出制御基板37に入力される構成になって
いる。従って、球貸し制御に関して、カードユニット5
0から主基板31に信号が入力されることはなく、主基
板31の基本回路53にカードユニット50の側から不
正に信号が入力される余地はない。
As described above, all signals from the card unit 50 are input to the payout control board 37. Therefore, regarding the ball lending control, the card unit 5
No signal is input from 0 to the main board 31, and there is no room for a signal to be incorrectly input from the card unit 50 side to the basic circuit 53 of the main board 31.

【0087】なお、この実施の形態ではカードユニット
50が設けられている場合を例にするが、コイン投入に
応じてその金額に応じた遊技球を貸し出す場合にも本発
明を適用できる。また、この実施の形態では遊技球を貸
し出す場合を例にしているが、得点が加算されるもので
あっても本発明を適用できる。
In this embodiment, the case where the card unit 50 is provided is taken as an example. However, the present invention can be applied to a case where a game ball is lent according to the amount of money when a coin is inserted. Further, in this embodiment, a case where a game ball is lent is taken as an example, but the present invention can be applied to a case where points are added.

【0088】この実施の形態では、少なくとも主基板3
1および払出制御基板37におけるRAMは、バックア
ップ電源でバックアップされている。すなわち、遊技機
に対する電力供給が停止しても、所定期間はRAMの内
容が保存される。そして、各CPUは、電源電圧の低下
を検出すると、所定の処理を行った後に電源復旧待ちの
状態になる。また、電源投入時に、各CPUは、RAM
にデータが保存されている場合には、保存データにもと
づいて電源断前の状態を復元する。
In this embodiment, at least the main substrate 3
1 and the RAM in the payout control board 37 are backed up by a backup power supply. That is, even if the power supply to the gaming machine is stopped, the contents of the RAM are stored for a predetermined period. When detecting a drop in the power supply voltage, each CPU performs a predetermined process, and then enters a power recovery wait state. When the power is turned on, each CPU
If the data is stored in the memory, the state before the power is turned off is restored based on the stored data.

【0089】また、上述したように、払出制御基板3
7、表示制御基板80、ランプ制御基板35および音声
制御基板70にコマンドを送出するために、主基板31
の出力ポート(出力ポート0)570からINT信号が
各電気部品制御基板に出力される。この場合、例えば、
出力ポート570は8ビット構成であって、ビット0が
払出制御基板37へのINT信号、ビット1が表示制御
基板80へのINT信号、ビット2がランプ制御基板3
5へのINT信号、ビット3が音声制御基板70へのI
NT信号の出力用に用いられる。
Further, as described above, the payout control board 3
7. The main board 31 for sending commands to the display control board 80, the lamp control board 35, and the voice control board 70
An INT signal is output from each output port (output port 0) 570 to each electric component control board. In this case, for example,
The output port 570 has an 8-bit configuration, where bit 0 is an INT signal to the payout control board 37, bit 1 is an INT signal to the display control board 80, and bit 2 is a lamp control board 3
The INT signal to bit 5, bit 3 is the I signal to voice control board 70
Used for outputting the NT signal.

【0090】図11は、CPU56周りの一構成例を示
すブロック図である。図11に示すように、第1の電源
監視回路(第1の電源監視手段)からの電圧低下信号
が、CPU56のマスク不能割込端子(XNMI端子)
に接続されている。第1の電源監視回路は、遊技機が使
用する各種直流電源のうちのいずれかの電源の電圧を監
視して電源電圧低下を検出する回路である。この実施の
形態では、VSLの電源電圧を監視して電圧値が所定値以
下になるとローレベルの電圧低下信号を発生する。VSL
は、遊技機で使用される直流電圧のうちで最大のもので
あり、この例では+30Vである。従って、CPU56
は、割込処理によって電源断の発生を確認することがで
きる。なお、この実施の形態では、第1の電源監視回路
は、後述する電源基板に搭載されている。
FIG. 11 is a block diagram showing an example of a configuration around the CPU 56. As shown in FIG. 11, a voltage drop signal from the first power supply monitoring circuit (first power supply monitoring means) is output to the non-maskable interrupt terminal (XNMI terminal) of the CPU 56.
It is connected to the. The first power supply monitoring circuit is a circuit that monitors the voltage of any one of various DC power supplies used by the gaming machine and detects a drop in the power supply voltage. In this embodiment, the power supply voltage of VSL is monitored, and when the voltage value falls below a predetermined value, a low-level voltage drop signal is generated. VSL
Is the largest DC voltage used in gaming machines, and is +30 V in this example. Therefore, the CPU 56
Can confirm the occurrence of power interruption by interrupt processing. In this embodiment, the first power supply monitoring circuit is mounted on a power supply board described later.

【0091】図11には、システムリセット回路65も
示されているが、この実施の形態では、システムリセッ
ト回路65は、第2の電源監視回路(第2の電源監視手
段)も兼ねている。すなわち、リセットIC651は、
電源投入時に、外付けのコンデンサの容量で決まる所定
時間だけ出力をローレベルとし、所定時間が経過すると
出力をハイレベルにする。すなわち、リセット信号をハ
イレベルに立ち上げてCPU56を動作可能状態にす
る。また、リセットIC651は、第1の電源監視回路
が監視する電源電圧と等しい電源電圧であるVSLの電源
電圧を監視して電圧値が所定値(第1の電源監視回路が
電圧低下信号を出力する電源電圧値よりも低い値)以下
になるとローレベルの電圧低下信号を発生する。従っ
て、CPU56は、第1の電源監視回路からの電圧低下
信号に応じて所定の電力供給停止時処理を行った後、シ
ステムリセットされる。なお、この実施の形態では、リ
セット信号と第2の電源監視回路からの電圧低下信号と
は同一の信号である。
FIG. 11 also shows a system reset circuit 65, but in this embodiment, the system reset circuit 65 also serves as a second power supply monitoring circuit (second power supply monitoring means). That is, the reset IC 651
When the power is turned on, the output is set to the low level for a predetermined time determined by the capacity of the external capacitor, and the output is set to the high level after the predetermined time has elapsed. That is, the reset signal is raised to a high level to make the CPU 56 operable. The reset IC 651 monitors the power supply voltage of VSL, which is the same power supply voltage as the power supply voltage monitored by the first power supply monitoring circuit, and sets the voltage value to a predetermined value (the first power supply monitoring circuit outputs a voltage drop signal). When the voltage falls below the power supply voltage value), a low-level voltage drop signal is generated. Accordingly, the CPU 56 performs a predetermined power supply stop processing in response to the voltage drop signal from the first power supply monitoring circuit, and then performs a system reset. In this embodiment, the reset signal and the voltage drop signal from the second power supply monitoring circuit are the same signal.

【0092】図11に示すように、リセットIC651
からのリセット信号は、NAND回路947に入力され
るとともに、反転回路(NOT回路)944を介してカ
ウンタIC941のクリア端子に入力される。カウンタ
IC941は、クリア端子への入力がローレベルになる
と、発振器943からのクロック信号をカウントする。
そして、カウンタIC941のQ5出力がNOT回路9
45,946を介してNAND回路947に入力され
る。また、カウンタIC941のQ6出力は、フリップ
フロップ(FF)942のクロック端子に入力される。
フリップフロップ942のD入力はハイレベルに固定さ
れ、Q出力は論理和回路(OR回路)949に入力され
る。OR回路949の他方の入力には、NAND回路9
47の出力がNOT回路948を介して導入される。そ
して、OR回路949の出力がCPU56のリセット端
子に接続されている。このような構成によれば、電源投
入時に、CPU56のリセット端子に2回のリセット信
号(ローレベル信号)が与えられるので、CPU56
は、確実に動作を開始する。
As shown in FIG. 11, the reset IC 651
Is input to the NAND circuit 947 and also to the clear terminal of the counter IC 941 via the inverting circuit (NOT circuit) 944. When the input to the clear terminal goes low, the counter IC 941 counts the clock signal from the oscillator 943.
The Q5 output of the counter IC 941 is output to the NOT circuit 9
45, 946 and input to the NAND circuit 947. The Q6 output of the counter IC 941 is input to a clock terminal of a flip-flop (FF) 942.
The D input of the flip-flop 942 is fixed at a high level, and the Q output is input to an OR circuit (OR circuit) 949. The other input of the OR circuit 949 is connected to the NAND circuit 9.
The output of 47 is introduced via NOT circuit 948. The output of the OR circuit 949 is connected to the reset terminal of the CPU 56. According to such a configuration, two reset signals (low-level signals) are supplied to the reset terminal of the CPU 56 when the power is turned on.
Starts operation reliably.

【0093】そして、例えば、第1の電源監視回路の検
出電圧(電圧低下信号を出力することになる電圧)を+
22Vとし、第2の電源監視回路の検出電圧を+9Vと
する。そのように構成した場合には、第1の電源監視回
路と第2の電源監視回路とは、同一の電源VSLの電圧を
監視するので、第1の電圧監視回路が電圧低下信号を出
力するタイミングと第2の電圧監視回路が電圧低下信号
を出力するタイミングの差を所望の所定期間に確実に設
定することができる。所望の所定期間とは、第1の電源
監視回路からの電圧低下信号に応じて電力供給停止時処
理を開始してから電力供給停止時処理が確実に完了する
までの期間である。
Then, for example, the detection voltage of the first power supply monitoring circuit (the voltage at which the voltage drop signal is output) is set to +
22 V, and the detection voltage of the second power supply monitoring circuit is +9 V. In such a configuration, since the first power supply monitoring circuit and the second power supply monitoring circuit monitor the voltage of the same power supply VSL, the timing at which the first voltage monitoring circuit outputs the voltage drop signal The difference between the timings at which the second voltage monitoring circuit and the second voltage monitoring circuit output the voltage drop signal can be reliably set to a desired predetermined period. The desired predetermined period is a period from the start of the power supply stop processing in response to the voltage drop signal from the first power supply monitoring circuit until the power supply stop processing is completely completed.

【0094】この例では、第1の電源監視手段が検出信
号を出力することになる第1検出条件は+30V電源電
圧が+22Vにまで低下したことであり、第2の電源監
視手段が検出信号を出力することになる第2検出条件は
+30V電源電圧が+9Vにまで低下したことになる。
ただし、ここで用いられている電圧値は一例であって、
他の値を用いてもよい。
In this example, the first detection condition that the first power supply monitoring means outputs a detection signal is that the +30 V power supply voltage has dropped to +22 V, and the second power supply monitoring means outputs the detection signal. The second detection condition to be output is that the +30 V power supply voltage has dropped to +9 V.
However, the voltage value used here is an example,
Other values may be used.

【0095】ただし、監視範囲が狭まるが、第1の電圧
監視回路および第2の電圧監視回路の監視電圧として+
5V電源電圧を用いることも可能である。その場合に
も、第1の電圧監視回路の検出電圧は、第2の電圧監視
回路の検出電圧よりも高く設定される。
However, although the monitoring range is narrowed, the monitoring voltage of the first voltage monitoring circuit and the second voltage monitoring circuit is +
It is also possible to use a 5V power supply voltage. Also in that case, the detection voltage of the first voltage monitoring circuit is set higher than the detection voltage of the second voltage monitoring circuit.

【0096】CPU56等の駆動電源である+5V電源
から電力が供給されていない間、RAMの少なくとも一
部は、電源基板から供給されるバックアップ電源によっ
てバックアップされ、遊技機に対する電源が断しても内
容は保存される。そして、+5V電源が復旧すると、シ
ステムリセット回路65からリセット信号が発せられる
ので、CPU56は、通常の動作状態に復帰する。その
とき、必要なデータがバックアップRAMに保存されて
いるので、停電等からの復旧時に停電発生時の遊技状態
に復帰することができる。
While power is not supplied from the + 5V power supply which is the driving power supply of the CPU 56 and the like, at least a part of the RAM is backed up by the backup power supply supplied from the power supply board, and the contents are retained even if the power supply to the gaming machine is cut off. Is saved. Then, when the + 5V power supply is restored, a reset signal is issued from the system reset circuit 65, so that the CPU 56 returns to the normal operation state. At that time, since the necessary data is stored in the backup RAM, it is possible to return to the gaming state at the time of the occurrence of the power failure when recovering from a power failure or the like.

【0097】なお、図11では、電源投入時にCPU5
6のリセット端子に2回のリセット信号(ローレベル信
号)が与えられる構成が示されたが、リセット信号の立
ち上がりタイミングが1回しかなくても確実にリセット
解除されるCPUを使用する場合には、符号941〜9
49で示された回路素子は不要である。その場合、リセ
ットIC651の出力がそのままCPU56のリセット
端子に接続される。
In FIG. 11, when the power is turned on, the CPU 5
6 shows a configuration in which a reset signal (low-level signal) is applied twice to the reset terminal. However, in the case of using a CPU in which reset is surely released even if the reset signal rises only once, , Reference numerals 941 to 9
The circuit element indicated by 49 is unnecessary. In that case, the output of the reset IC 651 is directly connected to the reset terminal of the CPU 56.

【0098】この実施の形態で用いられるCPU56
は、I/Oポート(PIO)およびタイマ/カウンタ回
路(CTC)も内蔵している。PIOは、PB0〜PB
3の4ビットおよびPA0〜PA7の1バイトのポート
を有する。PB0〜PB3およびPA0〜PA7のポー
トは、入力/出力いずれにも設定できる。ただし、この
実施の形態では内蔵PIOを使用しない。その場合に
は、例えば、全ポートを入力モードとして、全ポートを
グラウンドレベルに接続する。なお、電源投入時に、P
IOは自動的に入力モードに設定される。
CPU 56 used in this embodiment
Incorporates an I / O port (PIO) and a timer / counter circuit (CTC). PIO is PB0-PB
It has a port of 3 4 bits and 1 byte of PA0 to PA7. The ports PB0 to PB3 and PA0 to PA7 can be set for both input and output. However, in this embodiment, no built-in PIO is used. In that case, for example, all ports are set to the input mode, and all ports are connected to the ground level. When power is turned on, P
IO is automatically set to input mode.

【0099】図12は、遊技機の電源基板910の一構
成例を示すブロック図である。電源基板910は、主基
板31、表示制御基板80、音声制御基板70、ランプ
制御基板35および払出制御基板37等の電気部品制御
基板と独立して設置され、遊技機内の各電気部品制御基
板および機構部品が使用する電圧を生成する。この例で
は、AC24V、VSL(DC+30V)、DC+21
V、DC+12VおよびDC+5Vを生成する。また、
バックアップ電源となるコンデンサ916は、DC+5
Vすなわち各基板上のIC等を駆動する電源のラインか
ら充電される。
FIG. 12 is a block diagram showing a configuration example of a power supply board 910 of a gaming machine. The power supply board 910 is installed independently of the electric component control boards such as the main board 31, the display control board 80, the audio control board 70, the lamp control board 35, and the payout control board 37, and each of the electric component control boards in the gaming machine and Generates voltages used by mechanical components. In this example, AC24V, VSL (DC + 30V), DC + 21
V, + 12V DC and + 5V DC. Also,
The capacitor 916 serving as a backup power supply is DC + 5
V, that is, charged from a power supply line for driving an IC or the like on each substrate.

【0100】トランス911は、交流電源からの交流電
圧を24Vに変換する。AC24V電圧は、コネクタ9
15に出力される。また、整流回路912は、AC24
Vから+30Vの直流電圧を生成し、DC−DCコンバ
ータ913およびコネクタ915に出力する。DC−D
Cコンバータ913は、+22V、+12Vおよび+5
Vを生成してコネクタ915に出力する。コネクタ91
5は例えば中継基板に接続され、中継基板から各電気部
品制御基板および機構部品に必要な電圧の電力が供給さ
れる。なお、トランス911の入力側には、遊技機に対
する電源供給を停止したり開始させたりするための電源
スイッチ918が設置されている。
The transformer 911 converts an AC voltage from an AC power supply to 24V. AC 24V voltage is applied to connector 9
15 is output. Further, the rectifier circuit 912 includes an AC24
A DC voltage of +30 V is generated from V and output to the DC-DC converter 913 and the connector 915. DC-D
The C converter 913 has + 22V, + 12V and + 5V.
V is generated and output to the connector 915. Connector 91
5 is connected to, for example, a relay board, from which electric power of a voltage required for each electric component control board and mechanism components is supplied. A power switch 918 for stopping and starting power supply to the gaming machine is provided on the input side of the transformer 911.

【0101】DC−DCコンバータ913からの+5V
ラインは分岐してバックアップ+5Vラインを形成す
る。バックアップ+5Vラインとグラウンドレベルとの
間には大容量のコンデンサ916が接続されている。コ
ンデンサ916は、遊技機に対する電力供給が遮断され
たときの電気部品制御基板のバックアップRAM(電源
バックアップされているRAMすなわち記憶内容保持状
態となりうる記憶手段)に対して記憶状態を保持できる
ように電力を供給するバックアップ電源となる。また、
+5Vラインとバックアップ+5Vラインとの間に、逆
流防止用のダイオード917が挿入される。
+5 V from DC-DC converter 913
The line branches to form a backup + 5V line. A large-capacity capacitor 916 is connected between the backup + 5V line and the ground level. The capacitor 916 is provided with an electric power so as to be able to hold a storage state in a backup RAM (power-backed-up RAM, that is, storage means that can be in a storage state) when the power supply to the gaming machine is cut off. Backup power supply. Also,
A diode 917 for preventing backflow is inserted between the + 5V line and the backup + 5V line.

【0102】なお、バックアップ電源として、+5V電
源から充電可能な電池を用いてもよい。電池を用いる場
合には、+5V電源から電力供給されない状態が所定時
間継続すると容量がなくなるような充電池が用いられ
る。
Note that a battery that can be charged from a +5 V power supply may be used as a backup power supply. In the case of using a battery, a rechargeable battery is used which runs out of capacity when power is not supplied from a + 5V power supply for a predetermined time.

【0103】また、電源基板910には、上述した第1
の電源監視回路を構成する電源監視用IC902が搭載
されている。電源監視用IC902は、VSL電源電圧を
導入し、VSL電源電圧を監視することによって電源断の
発生を検出する。具体的には、VSL電源電圧が所定値
(この例では+22V)以下になったら、電源断が生ず
るとして電圧低下信号を出力する。なお、監視対象の電
源電圧は、各電気部品制御基板に搭載されている回路素
子の電源電圧(この例では+5V)よりも高い電圧であ
ることが好ましい。この例では、交流から直流に変換さ
れた直後の電圧であるVSLが用いられている。電源監視
用IC902からの電圧低下信号は、主基板31や払出
制御基板37等に供給される。
The power supply board 910 has the first
The power supply monitoring IC 902 constituting the power supply monitoring circuit of FIG. The power supply monitoring IC 902 detects the occurrence of power interruption by introducing the VSL power supply voltage and monitoring the VSL power supply voltage. Specifically, when the VSL power supply voltage becomes equal to or lower than a predetermined value (+22 V in this example), a voltage drop signal is output assuming that power supply is cut off. The power supply voltage to be monitored is preferably higher than the power supply voltage (+5 V in this example) of the circuit element mounted on each electric component control board. In this example, VSL, which is a voltage immediately after conversion from AC to DC, is used. The voltage drop signal from the power supply monitoring IC 902 is supplied to the main board 31, the payout control board 37, and the like.

【0104】電源監視用IC902が電源断を検知する
ための所定値は、通常時の電圧より低いが、各電気部品
制御基板上のCPUが暫くの間動作しうる程度の電圧で
ある。また、電源監視用IC902が、CPU等の回路
素子を駆動するための電圧(この例では+5V)よりも
高く、また、交流から直流に変換された直後の電圧を監
視するように構成されているので、CPUが必要とする
電圧に対して監視範囲を広げることができる。従って、
より精密な監視を行うことができる。さらに、監視電圧
としてVSL(+30V)を用いる場合には、遊技機の各
種スイッチに供給される電圧が+12Vであることか
ら、電源瞬断時のスイッチオン誤検出の防止も期待でき
る。すなわち、+30V電源の電圧を監視すると、+3
0V作成の以降に作られる+12Vが落ち始める以前の
段階でそれの低下を検出できる。よって、+12V電源
の電圧が低下するとスイッチ出力がオン状態を呈するよ
うになるが、+12Vより早く低下する+30V電源電
圧を監視して電源断を認識すれば、スイッチ出力がオン
状態を呈する前に電源復旧待ちの状態に入ってスイッチ
出力を検出しない状態となることができる。
The predetermined value for the power supply monitoring IC 902 to detect a power-off is lower than the normal voltage, but is a voltage at which the CPU on each electric component control board can operate for a while. Further, the power supply monitoring IC 902 is configured to monitor a voltage higher than a voltage for driving a circuit element such as a CPU (+5 V in this example) and a voltage immediately after conversion from AC to DC. Therefore, the monitoring range can be extended for the voltage required by the CPU. Therefore,
More precise monitoring can be performed. Furthermore, when VSL (+30 V) is used as the monitoring voltage, since the voltage supplied to the various switches of the gaming machine is +12 V, prevention of erroneous switch-on detection upon momentary power interruption can be expected. That is, when monitoring the voltage of the + 30V power supply,
The drop can be detected at a stage before + 12V generated after the generation of 0V starts to fall. Therefore, when the voltage of the + 12V power supply decreases, the switch output comes to the on state. However, if the + 30V power supply voltage that drops faster than + 12V is monitored and the power cutoff is recognized, the power supply is turned on before the switch output turns on. It is possible to enter a state of waiting for restoration and to enter a state where the switch output is not detected.

【0105】また、電源監視用IC902は、電気部品
制御基板とは別個の電源基板910に搭載されているの
で、第1の電源監視回路から複数の電気部品制御基板に
電圧低下信号を供給することができる。電圧低下信号を
必要とする電気部品制御基板が幾つあっても第1の電源
監視手段は1つ設けられていればよいので、各電気部品
制御基板における各電気部品制御手段が後述する復帰制
御を行っても、遊技機のコストはさほど上昇しない。
Since the power supply monitoring IC 902 is mounted on the power supply board 910 separate from the electric component control board, the first power supply monitoring circuit supplies a voltage drop signal to the plurality of electric component control boards. Can be. Regardless of how many electric component control boards require a voltage drop signal, it is sufficient that only one first power supply monitoring means is provided, so that each electric component control means in each electric component control board performs a return control described later. Doing so does not add much to the cost of the gaming machine.

【0106】なお、図12に示された構成では、電源監
視用IC902の検出出力(電圧低下信号)は、バッフ
ァ回路918,919を介してそれぞれの電気部品制御
基板(例えば主基板31と払出制御基板37)に伝達さ
れるが、例えば、1つの検出出力を中継基板に伝達し、
中継基板から各電気部品制御基板に同じ信号を分配する
構成でもよい。また、電圧低下信号を必要とする基板数
に応じたバッファ回路を設けてもよい。
In the configuration shown in FIG. 12, the detection output (voltage drop signal) of the power supply monitoring IC 902 is supplied to the respective electric component control boards (for example, the main board 31 and the payout control) via buffer circuits 918 and 919. Transmitted to the board 37). For example, one detection output is transmitted to the relay board,
The same signal may be distributed from the relay board to each electric component control board. Further, a buffer circuit may be provided according to the number of substrates requiring a voltage drop signal.

【0107】次に遊技機の動作について説明する。図1
3は、主基板31におけるCPU56が実行するメイン
処理を示すフローチャートである。遊技機に対する電源
が投入されると、メイン処理において、CPU56は、
まず、必要な初期設定を行う(ステップS1)。
Next, the operation of the gaming machine will be described. FIG.
3 is a flowchart showing a main process executed by the CPU 56 on the main board 31. When the power to the gaming machine is turned on, in the main process, the CPU 56
First, necessary initial settings are performed (step S1).

【0108】そして、電源断時にバックアップRAM領
域のデータ保護処理(例えばパリティデータの付加等の
停電発生NMI処理)が行われたか否か確認する(ステ
ップS2)。この実施の形態では、不測の電源断が生じ
た場合には、バックアップRAM領域のデータを保護す
るための処理が行われている。そのような保護処理が行
われていた場合をバックアップありとする。バックアッ
プなしを確認したら、CPU56は初期化処理を実行す
る(ステップS2,S3)。なお、この実施の形態で
は、バックアップRAM領域にバックアップデータがあ
るか否かは、電源断時にバックアップRAM領域に設定
されるバックアップフラグの状態によって確認される。
例えば、バックアップフラグ領域に「55H」が設定さ
れていればバックアップあり(オン状態)を意味し、
「55H」以外の値が設定されていればバックアップな
し(オフ状態)を意味する。バックアップフラグ領域に
設定されている「55H」は、停電発生NMI処理にお
いてバックアップRAM領域のデータ保護処理が完了し
たときに設定されたデータであり、バックアップRAM
領域のデータにもとづくパリティコードである。
Then, it is confirmed whether or not data protection processing (for example, NMI processing for power failure occurrence such as addition of parity data) of the backup RAM area has been performed when the power is turned off (step S2). In this embodiment, when an unexpected power failure occurs, a process for protecting data in the backup RAM area is performed. The case where such protection processing has been performed is regarded as backup. After confirming that there is no backup, the CPU 56 executes an initialization process (steps S2 and S3). In this embodiment, whether or not there is backup data in the backup RAM area is confirmed by the state of the backup flag set in the backup RAM area when the power is turned off.
For example, if "55H" is set in the backup flag area, it means that there is a backup (on state),
If a value other than “55H” is set, it means that there is no backup (off state). “55H” set in the backup flag area is data set when the data protection processing of the backup RAM area is completed in the power failure occurrence NMI processing.
This is a parity code based on the data of the area.

【0109】バックアップRAM領域にバックアップデ
ータがある場合には、CPU56は、バックアップRA
M領域のデータチェック(例えばパリティチェック)を
行う(ステップS4)。不測の電源断が生じた後に復旧
した場合には、バックアップRAM領域のデータは保存
されていたはずであるから、チェック結果は正常にな
る。チェック結果が正常でない場合には、内部状態を電
源断時の状態に戻すことができないので、停電復旧時で
ない電源投入時に実行される初期化処理を実行する(ス
テップS5,S3)。
If the backup data exists in the backup RAM area, the CPU 56
A data check (for example, a parity check) of the M area is performed (step S4). If the power is restored after an unexpected power failure, the data in the backup RAM area should have been saved, and the check result becomes normal. If the check result is not normal, since the internal state cannot be returned to the state at the time of power-off, the initialization processing executed at the time of power-on, not at the time of restoration from power failure, is executed (steps S5 and S3).

【0110】チェック結果が正常であれば、CPU56
は、内部状態を電源断時の状態に戻すための遊技状態復
旧処理を行う(ステップS6)。図14に示すように、
バックアップフラグの値が「55H」に設定され、か
つ、チェック結果が正常である場合に、ステップS6の
遊技状態復旧処理が実行される。そして、バックアップ
RAM領域に保存されていたPC(プログラムカウン
タ)の退避値がPCに設定され、そのアドレスに復帰す
る(ステップS7)。
If the check result is normal, the CPU 56
Performs a game state restoring process for returning the internal state to the state when the power is turned off (step S6). As shown in FIG.
When the value of the backup flag is set to “55H” and the check result is normal, the game state restoring process of step S6 is executed. Then, the saved value of the PC (program counter) stored in the backup RAM area is set in the PC, and the program returns to the address (step S7).

【0111】通常の初期化処理の実行(ステップS3)
が完了すると、メイン処理で、タイマ割込フラグの監視
(ステップS9)の確認が行われるループ処理に移行す
る。なお、ループ内では、表示用乱数更新処理(ステッ
プS8)も実行される。
Execution of normal initialization processing (step S3)
Is completed, the process shifts to a loop process in which the monitoring of the timer interrupt flag (step S9) is confirmed in the main process. In the loop, a display random number update process (step S8) is also performed.

【0112】なお、この実施の形態では、ステップS2
でバックアップデータの有無が確認された後、バックア
ップデータが存在する場合にステップS4でバックアッ
プ領域のチェックが行われたが、逆に、バックアップ領
域のチェック結果が正常であったことが確認された後、
バックアップデータの有無の確認を行うようにしてもよ
い。また、バックアップデータの有無の確認、またはバ
ックアップ領域のチェックの何れか一方の確認を行うこ
とによって、停電復旧処理を実行するか否かを判定して
もよい。
In this embodiment, step S2
The backup area is checked in step S4 after the backup data is checked in step S4 if the backup data exists. However, after the backup area check result is confirmed to be normal in step S4. ,
The presence or absence of backup data may be confirmed. Alternatively, whether to execute the power failure recovery process may be determined by confirming whether there is backup data or checking the backup area.

【0113】また、例えば停電復旧処理を実行するか否
か判断する場合のパリティチェック(ステップS4)の
際に、すなわち、遊技状態を復旧するか否か判断する際
に、保存されていたRAMデータにおける特別プロセス
フラグ等や始動入賞記憶数データによって、遊技機が遊
技待機状態(図柄変動中でなく、大当り遊技中でなく、
確変中でなく、また、始動入賞記憶がない状態)である
ことが確認されたら、遊技状態復旧処理を行わずに初期
化処理を実行するようにしてもよい。
Also, for example, at the time of the parity check (step S4) when determining whether or not to execute the power failure recovery processing, that is, when determining whether or not to restore the game state, the RAM data stored at the time of the parity check is determined. According to the special process flag, etc. and the data of the number of memorized start winnings in the game machine, the game machine is in the game standby state (the symbol is not fluctuating,
If it is confirmed that the game is not being changed reliably and that there is no start winning memory, the initialization process may be executed without performing the game state restoration process.

【0114】図15は、ステップS1の初期設定処理を
示すフローチャートである。初期設定処理において、C
PU56は、まず、割込禁止に設定する(ステップS1
a)。割込禁止に設定すると、CPU56は、割込モー
ドを割込モード2に設定し(ステップS1b)、スタッ
クポインタにスタックポインタ指定アドレスを設定する
(ステップS1c)。そして、CPU56は、内蔵デバ
イスレジスタの初期化を行う(ステップS1d)。ま
た、内蔵デバイス(内蔵周辺回路)であるCTC(カウ
ンタ/タイマ)およびPIO(パラレル入出力ポート)
の初期化(ステップS1e)を行った後、RAMをアク
セス可能状態に設定する(ステップS1f)。
FIG. 15 is a flowchart showing the initial setting process in step S1. In the initial setting process, C
The PU 56 first sets interrupt prohibition (step S1).
a). When the interrupt is set to be prohibited, the CPU 56 sets the interrupt mode to the interrupt mode 2 (step S1b), and sets the stack pointer designated address to the stack pointer (step S1c). Then, the CPU 56 initializes the built-in device register (step S1d). In addition, CTC (counter / timer) and PIO (parallel input / output port) which are built-in devices (built-in peripheral circuits)
Is initialized (step S1e), and the RAM is set in an accessible state (step S1f).

【0115】この実施の形態で用いられているCPU5
6には、マスク可能な割込(INT)のモードとして以
下の3種類のモードが用意されている。なお、マスク可
能な割込が発生すると、CPU56は、自動的に割込禁
止状態に設定するとともに、プログラムカウンタの内容
をスタックにセーブする。
CPU 5 used in this embodiment
6 has the following three types of modes as maskable interrupt (INT) modes. When an interrupt that can be masked occurs, the CPU 56 automatically sets the interrupt disabled state and saves the contents of the program counter on the stack.

【0116】割込モード0:割込要求を行った内蔵デバ
イスがRST命令(1バイト)またはCALL命令(3
バイト)をCPUの内部データバス上に送出する。よっ
て、CPU56は、RST命令に対応したアドレスまた
はCALL命令で指定されるアドレスの命令を実行す
る。リセット時に、CPU56は自動的に割込モード0
になる。よって、割込モード1または割込モード2に設
定したい場合には、初期設定処理において、割込モード
1または割込モード2に設定するための処理を行う必要
がある。
Interrupt mode 0: The built-in device that has issued the interrupt request receives an RST instruction (1 byte) or a CALL instruction (3 bytes).
Byte) on the internal data bus of the CPU. Therefore, the CPU 56 executes the instruction at the address corresponding to the RST instruction or the address specified by the CALL instruction. Upon reset, CPU 56 automatically switches to interrupt mode 0
become. Therefore, when it is desired to set the mode to the interrupt mode 1 or the interrupt mode 2, it is necessary to perform a process for setting the mode to the interrupt mode 1 or the interrupt mode 2 in the initial setting process.

【0117】割込モード1:割込が受け付けられると、
常に0038(h)番地に飛ぶモードである。
Interrupt mode 1: When an interrupt is accepted,
In this mode, the camera always jumps to the address 0038 (h).

【0118】割込モード2:CPU56の特定レジスタ
(Iレジスタ)の値(1バイト)と内蔵デバイスが出力
する割込ベクタ(1バイト:最下位ビット0)から合成
されるアドレスが、割込番地を示すモードである。すな
わち、割込番地は、上位アドレスが特定レジスタの値と
され下位アドレスが割込ベクタとされた2バイトで示さ
れるアドレスである。従って、任意の(飛び飛びではあ
るが)偶数番地に割込処理を設置することができる。各
内蔵デバイスは割込要求を行うときに割込ベクタを送出
する機能を有している。
Interrupt mode 2: The address synthesized from the value (1 byte) of the specific register (I register) of the CPU 56 and the interrupt vector (1 byte: least significant bit 0) output from the built-in device is the interrupt address. Mode. That is, the interrupt address is an address indicated by 2 bytes in which the upper address is the value of the specific register and the lower address is the interrupt vector. Therefore, an interrupt process can be set at an arbitrary (albeit skipped) even address. Each built-in device has a function of sending an interrupt vector when making an interrupt request.

【0119】よって、割込モード2に設定されると、各
内蔵デバイスからの割込要求を容易に処理することが可
能になり、また、プログラムにおける任意の位置に割込
処理を設置することが可能になる。さらに、割込モード
1とは異なり、割込発生要因毎のそれぞれの割込処理を
用意しておくことも容易である。上述したように、この
実施の形態では、初期設定処理のステップS1bにおい
て、CPU56は割込モード2に設定される。
Therefore, when the interrupt mode 2 is set, it is possible to easily process an interrupt request from each built-in device, and it is possible to set an interrupt process at an arbitrary position in a program. Will be possible. Further, unlike the interrupt mode 1, it is easy to prepare an interrupt process for each interrupt occurrence factor. As described above, in this embodiment, the CPU 56 is set to the interrupt mode 2 in step S1b of the initial setting process.

【0120】図16は、通常の初期化処理(ステップS
3)の処理を示すフローチャートである。図16に示す
ように、初期化処理では、RAMのクリア処理が行われ
る(ステップS3a)。次いで、作業領域初期設定テー
ブルのアドレス値にもとづいて、所定の作業領域(例え
ば、普通図柄判定用乱数カウンタ、普通図柄判定用バッ
ファ、特別図柄左中右図柄バッファ、払出コマンド格納
ポインタなど)に初期値を設定する初期値設定処理(ス
テップS3b)が行われる。そして、2ms毎に定期的
にタイマ割込がかかるようにCPU56に設けられてい
るCTCのレジスタの設定が行われる(ステップS3
c)。すなわち、初期値として2msに相当する値が所
定のレジスタ(時間定数レジスタ)に設定される。そし
て、初期設定処理(ステップS1)において割込禁止
(図15参照)とされているので、初期化処理を終える
前に割込が許可される(ステップS3d)。
FIG. 16 shows a normal initialization process (step S).
It is a flowchart which shows the process of 3). As shown in FIG. 16, in the initialization process, the RAM is cleared (step S3a). Then, based on the address value of the work area initial setting table, a predetermined work area (for example, a normal symbol determination random number counter, a normal symbol determination buffer, a special symbol left middle right symbol buffer, a payout command storage pointer, etc.) is initialized. An initial value setting process for setting a value (step S3b) is performed. Then, the register of the CTC provided in the CPU 56 is set so that the timer is interrupted periodically every 2 ms (step S3).
c). That is, a value corresponding to 2 ms is set in a predetermined register (time constant register) as an initial value. Since the interrupt is prohibited (see FIG. 15) in the initial setting process (step S1), the interrupt is permitted before the initialization process is completed (step S3d).

【0121】従って、この実施の形態では、CPU56
の内蔵CTCが繰り返しタイマ割込を発生するように設
定される。この実施の形態では、繰り返し周期は2ms
に設定される。そして、図17に示すように、タイマ割
込が発生すると、CPU56は、タイマ割込フラグをセ
ットする(ステップS12)。
Therefore, in this embodiment, the CPU 56
Is set to repeatedly generate a timer interrupt. In this embodiment, the repetition period is 2 ms
Is set to Then, as shown in FIG. 17, when a timer interrupt occurs, the CPU 56 sets a timer interrupt flag (step S12).

【0122】CPU56は、ステップS9において、タ
イマ割込フラグがセットされたことを検出すると、タイ
マ割込フラグをリセットするとともに(ステップS1
0)、遊技制御処理を実行する(ステップS11)。以
上の制御によって、この実施の形態では、遊技制御処理
は2ms毎に起動されることになる。なお、この実施の
形態では、タイマ割込処理ではフラグセットのみがなさ
れ、遊技制御処理はメイン処理において実行されるが、
タイマ割込処理で遊技制御処理を実行してもよい。
When the CPU 56 detects in step S9 that the timer interrupt flag has been set, it resets the timer interrupt flag (step S1).
0), a game control process is executed (step S11). According to the above control, in this embodiment, the game control process is started every 2 ms. In this embodiment, only the flag is set in the timer interrupt process, and the game control process is executed in the main process.
The game control process may be executed by a timer interrupt process.

【0123】以上に説明したように、この実施の形態で
は、CTCやPIOを内蔵するCPU56に対して、初
期設定処理で割込モード2が設定される。従って、内蔵
CTCを用いた定期的なタイマ割込処理を容易に実現で
きる。また、タイマ割込処理をプログラム上の任意の位
置に設置できる。また、内蔵PIOを用いたスイッチ検
出処理等を容易に割込処理で実現できる。その結果、プ
ログラム構成が簡略化され、プログラム開発工数が低減
する等の効果を得ることができる。
As described above, in this embodiment, the interrupt mode 2 is set in the CPU 56 having a built-in CTC or PIO in the initial setting process. Accordingly, a periodic timer interrupt process using the built-in CTC can be easily realized. Further, the timer interrupt processing can be set at an arbitrary position on the program. Further, switch detection processing using the built-in PIO can be easily realized by interruption processing. As a result, effects such as simplification of the program configuration and reduction in the number of program development steps can be obtained.

【0124】また、この実施の形態では、バックアップ
データの有無により電源断時の状態に復旧するか否かの
判断を行う。従って、停電後の電源復旧時などにおいて
電源投入された時に、バックアップデータ記憶領域の内
容に応じて電源断時の状態に復旧させるか否かの判断を
行うことができる。
Further, in this embodiment, it is determined whether or not the power supply is restored to the state at the time of power failure based on the presence or absence of backup data. Therefore, when the power is turned on, for example, when the power is restored after a power failure, it is possible to determine whether or not to restore the state at the time of the power failure according to the contents of the backup data storage area.

【0125】さらに、バックアップデータの状態によっ
て電源断時の状態に復旧するか否かの判断が行われるの
で、停電後の電源復旧時などにおいて電源投入されたと
きに、バックアップデータ記憶領域の内容の状態に応じ
て電源断時の状態に復旧させるか否かの判断を行うこと
ができる。
Further, it is determined whether or not the power is restored to the power-off state according to the state of the backup data. Therefore, when the power is turned on when the power is restored after a power failure or the like, the contents of the backup data storage area are restored. It is possible to determine whether to restore the power-off state according to the state.

【0126】図18は、ステップS11の遊技制御処理
を示すフローチャートである。遊技制御処理において、
CPU56は、まず、スイッチ回路58を介して、ゲー
トセンサ12、始動口センサ17、カウントセンサ23
および入賞口スイッチ19a,24aの状態を入力し、
各入賞口や入賞装置に対する入賞があったか否か判定す
る(スイッチ処理:ステップS21)。
FIG. 18 is a flowchart showing the game control processing in step S11. In the game control process,
The CPU 56 firstly receives the gate sensor 12, the starting port sensor 17, and the count sensor 23 through the switch circuit 58.
And the state of the winning opening switches 19a and 24a,
It is determined whether or not there is a prize for each winning port or prize device (switch processing: step S21).

【0127】次いで、パチンコ遊技機1の内部に備えら
れている自己診断機能によって種々の異常診断処理が行
われ、その結果に応じて必要ならば警報が発せられる
(エラー処理:ステップS22)。
Next, various abnormality diagnosis processes are performed by the self-diagnosis function provided inside the pachinko gaming machine 1, and an alarm is issued if necessary according to the result (error process: step S22).

【0128】次に、遊技制御に用いられる大当り判定用
の乱数等の各判定用乱数を示す各カウンタを更新する処
理を行う(ステップS23)。CPU56は、さらに、
停止図柄の種類を決定する乱数等の表示用乱数を更新す
る処理を行う(ステップS24)。
Next, a process for updating each counter indicating a random number for determination, such as a random number for big hit determination used in game control, is performed (step S23). The CPU 56 further includes:
A process for updating a display random number such as a random number for determining the type of stop symbol is performed (step S24).

【0129】さらに、CPU56は、特別図柄プロセス
処理を行う(ステップS25)。特別図柄プロセス制御
では、遊技状態に応じてパチンコ遊技機1を所定の順序
で制御するための特別図柄プロセスフラグに従って該当
する処理が選び出されて実行される。そして、特別図柄
プロセスフラグの値は、遊技状態に応じて各処理中に更
新される。また、普通図柄プロセス処理を行う(ステッ
プS26)。普通図柄プロセス処理では、7セグメント
LEDによる可変表示器10を所定の順序で制御するた
めの普通図柄プロセスフラグに従って該当する処理が選
び出されて実行される。そして、普通図柄プロセスフラ
グの値は、遊技状態に応じて各処理中に更新される。
Further, the CPU 56 performs a special symbol process (step S25). In the special symbol process control, a corresponding process is selected and executed according to a special symbol process flag for controlling the pachinko gaming machine 1 in a predetermined order according to a gaming state. Then, the value of the special symbol process flag is updated during each processing according to the gaming state. Also, a normal symbol process is performed (step S26). In the normal symbol process process, a corresponding process is selected and executed according to a normal symbol process flag for controlling the variable display 10 using the 7-segment LED in a predetermined order. Then, the value of the normal symbol process flag is updated during each process according to the gaming state.

【0130】また、CPU56は、払出制御基板37等
に送出される制御コマンドをRAM55の所定の領域に
設定して制御コマンドを送出する処理を行う(コマンド
制御処理:ステップS27)。
The CPU 56 sets a control command to be sent to the payout control board 37 or the like in a predetermined area of the RAM 55 and sends the control command (command control process: step S27).

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

【0132】また、CPU56は、所定の条件が成立し
たときにソレノイド回路59に駆動指令を行う(ステッ
プS30)。ソレノイド回路59は、駆動指令に応じて
ソレノイド16,21を駆動し、可変入賞球装置15ま
たは開閉板20を開状態または閉状態とする。
Further, the CPU 56 issues a drive command to the solenoid circuit 59 when a predetermined condition is satisfied (step S30). The solenoid circuit 59 drives the solenoids 16 and 21 in response to the drive command, and brings the variable winning ball device 15 or the open / close plate 20 into an open state or a closed state.

【0133】また、CPU56は、各入賞口への入賞を
検出するためのスイッチ17,23,19a,24aの
検出出力にもとづく賞球数の設定などを行う(ステップ
S31)。具体的には、入賞検出に応じて払出制御基板
37に払出制御コマンドを出力する。払出制御基板37
に搭載されている払出制御用CPU371は、払出制御
コマンドに応じて球払出装置97を駆動する。
Further, the CPU 56 sets the number of prize balls based on the detection output of the switches 17, 23, 19a and 24a for detecting a winning in each winning opening (step S31). Specifically, a payout control command is output to the payout control board 37 in response to the winning detection. Dispensing control board 37
The payout control CPU 371 mounted on the device drives the ball payout device 97 in accordance with the payout control command.

【0134】以上のように、メイン処理には遊技制御処
理に移行すべきか否かを判定する処理が含まれ、CPU
56の内部タイマが定期的に発生するタイマ割込にもと
づくタイマ割込処理で遊技制御処理に移行すべきか否か
を判定するためのフラグがセットされるので、遊技制御
処理の全てが確実に実行される。つまり、遊技制御処理
の全てが実行されるまでは、次回の遊技制御処理に移行
すべきか否かの判定が行われないので、遊技制御処理中
の全ての各処理が実行完了することは保証されている。
As described above, the main processing includes the processing for determining whether or not to shift to the game control processing.
Since a flag is set to determine whether or not to shift to the game control process in the timer interrupt process based on the timer interrupt that is periodically generated by the 56 internal timers, all the game control processes are reliably executed. Is done. In other words, until all of the game control processes have been executed, it is not determined whether or not to shift to the next game control process, so it is guaranteed that all processes in the game control process will be completed. ing.

【0135】なお、ここでは、主基板31のCPU56
が実行する遊技制御処理は、CPU56の内部タイマが
定期的に発生するタイマ割込にもとづくタイマ割込処理
でセットされるフラグに応じて実行されたが、定期的に
(例えば2ms毎)信号を発生するハードウェア回路を
設け、その回路からの信号をCPU56の外部割込端子
に導入し、割込信号によって遊技制御処理に移行すべき
か否かを判定するためのフラグをセットするようにして
もよい。
Here, the CPU 56 of the main board 31
Is executed in response to a flag set in a timer interrupt process based on a timer interrupt that is periodically generated by an internal timer of the CPU 56, but the signal is periodically (for example, every 2 ms). A hardware circuit which generates the signal may be provided, a signal from the circuit may be introduced to an external interrupt terminal of the CPU 56, and a flag for determining whether or not to shift to the game control process based on the interrupt signal may be set. Good.

【0136】そのように構成した場合にも、遊技制御処
理の全てが実行されるまでは、フラグの判定が行われな
いので、遊技制御処理中の全ての各処理が実行完了する
ことが保証される。
Even in such a configuration, the flag is not determined until all the game control processes have been executed, so that execution of all the processes in the game control process is guaranteed to be completed. You.

【0137】図19は、主基板31から払出制御基板3
7に送出される払出制御コマンドのコマンド形態の一例
を示す説明図である。この実施の形態では、払出制御コ
マンドは2バイト構成であり、1バイト目はMODE
(コマンドの分類)を表し、2バイト目はEXT(コマ
ンドの種類)を表す。なお、図19に示されたコマンド
形態は一例であって他のコマンド形態を用いてもよい。
MODEデータの先頭ビット(ビット7)は必ず「1」
とされ、EXTデータの先頭ビット(ビット7)は必ず
「0」とされる。
FIG. 19 shows a state in which the main board 31 and the payout control board 3
FIG. 9 is an explanatory diagram showing an example of a command form of a payout control command sent to the control unit 7; In this embodiment, the payout control command has a 2-byte configuration, and the first byte is MODE.
(Command classification), and the second byte indicates EXT (command type). The command form shown in FIG. 19 is an example, and another command form may be used.
The first bit (bit 7) of MODE data is always "1"
And the first bit (bit 7) of the EXT data is always "0".

【0138】図20は、各電気部品制御手段に対する制
御コマンドを構成する8ビットの制御信号(この場合に
は払出制御信号)とINT信号(この場合には払出制御
信号INT)との関係を示すタイミング図である。図2
0に示すように、MODEまたはEXTのデータが出力
ポート(払出制御信号の場合にはポート1)に出力され
てから、Aで示される期間が経過すると、CPU56
は、データ出力を示す信号であるINT信号をオン状態
にする。また、そこからBで示される期間が経過すると
INT信号をオフ状態にする。さらに、次に送出すべき
データがある場合には、すなわち、MODEデータ送出
後では、Cで示される期間をおいてから2バイト目のデ
ータを出力ポートに送出する。2バイト目のデータに関
して、A,Bの期間は、1バイト目の場合と同様であ
る。
FIG. 20 shows the relationship between an 8-bit control signal (in this case, a payout control signal) and an INT signal (in this case, a payout control signal INT) which constitute a control command for each electric component control means. It is a timing chart. FIG.
As shown in FIG. 0, when a period indicated by A elapses after MODE or EXT data is output to the output port (port 1 in the case of the payout control signal), the CPU 56
Turns on an INT signal which is a signal indicating data output. When the period indicated by B has elapsed therefrom, the INT signal is turned off. Further, when there is data to be transmitted next, that is, after the MODE data is transmitted, the data of the second byte is transmitted to the output port after a period indicated by C. Regarding the data of the second byte, the periods of A and B are the same as the case of the first byte.

【0139】Aの期間は、CPU56が、コマンドの送
出準備の期間すなわちバッファに送出コマンドを設定す
る処理に要する期間であるとともに、制御信号線(払出
制御信号の場合には払出制御信号線)におけるデータの
安定化のための期間である。また、Bの期間は、INT
信号安定化のための期間である。そして、Cの期間は、
電気部品制御手段(払出制御信号の場合には払出制御手
段)が確実にデータを取り込めるように設定されている
期間である。Cの期間では、信号線上のデータは変化し
ない。すなわち、Cの期間が経過するまでデータ出力が
維持される。
The period A is a period for the CPU 56 to prepare for sending a command, that is, a period required for processing for setting a send command in the buffer, and also to a control signal line (a payout control signal line in the case of a payout control signal). This is the period for data stabilization. The period of B is INT
This is a period for signal stabilization. And the period of C is
This is a period in which the electric component control means (the payout control means in the case of the payout control signal) is set so as to be able to reliably take in data. In the period C, the data on the signal line does not change. That is, the data output is maintained until the period C elapses.

【0140】後述するように、この実施の形態では、払
出制御基板37への払出制御コマンド、表示制御基板8
0への表示制御コマンド、ランプ制御基板35へのラン
プ制御コマンドおよび音声制御基板70への音声制御コ
マンドは、同一のルーチン(共通モジュール)を用いて
送出される。そこで、Cの期間すなわち1バイト目に関
するINT信号がオフ状態になってから2バイト目のデ
ータが送出開始されるまでの期間は、コマンド受信処理
に最も時間がかかる電気部品制御手段における受信処理
時間よりも長くなるように設定される。
As described later, in this embodiment, a payout control command to the payout control board 37, the display control board 8
The display control command to 0, the lamp control command to the lamp control board 35, and the voice control command to the voice control board 70 are transmitted using the same routine (common module). Therefore, the period of C, that is, the period from when the INT signal relating to the first byte is turned off to when the transmission of the second byte data is started, is the reception processing time in the electric component control means which takes the longest time for the command reception processing It is set to be longer than

【0141】なお、各電気部品制御手段は、INT信号
がオン状態(ハイレベル)からオフ状態(ローレベル)
になったことを検知して、例えば割込処理によって1バ
イトのデータの取り込み処理を開始する。
Each electric component control means changes the state of the INT signal from the on state (high level) to the off state (low level).
Is detected, the process of capturing 1-byte data is started by, for example, an interrupt process.

【0142】Cの期間が、コマンド受信処理に最も時間
がかかる電気部品制御手段における受信処理時間よりも
長いので、遊技制御手段が、各電気部品制御手段に対す
るコマンド送出処理を共通モジュールで制御しても、い
ずれの電気部品制御手段でも遊技制御手段からの制御コ
マンドを確実に受信することができる。
Since the period C is longer than the reception processing time of the electric component control means which takes the longest time for the command reception processing, the game control means controls the command transmission processing for each electric component control means by the common module. Also, any of the electric component control means can reliably receive the control command from the game control means.

【0143】この実施の形態では、CPU56は、(1
1.776/2)MHzのシステムクロックで動作して
いる。そして、具体的には、Aの期間に138ステート
(1ステート=[2/11.776]μs)かけ、Bの
期間に82ステートかけ、Cの期間に251ステートか
けている。従って、Cの期間はAの期間よりも長い。す
なわち、CPU56は、INT信号出力処理を実行した
後に所定期間が経過すると次のデータを送出できる状態
になるが、その所定期間(Cの期間)は、INT信号出
力処理の前にデータを送出してからINT信号を出力開
始するまでの期間(Aの期間)よりも長い。上述したよ
うに、Aの期間はコマンドの信号線における安定化期間
であり、Cの期間は受信側がデータを取り込むのに要す
る時間を確保するための期間である。従って、Aの期間
をCの期間よりも短くすることによって、受信側の電気
部品制御手段が確実にコマンドを受信できる状態になる
という効果を得ることができるとともに、1つのコマン
ドの送出完了に要する期間が短縮される効果もある。
In this embodiment, the CPU 56 sets (1
1.776 / 2) MHz. Specifically, 138 states (1 state = [2 / 11.776] μs) are applied in the period A, 82 states are applied in the period B, and 251 states are applied in the period C. Therefore, the period of C is longer than the period of A. That is, the CPU 56 is ready to transmit the next data after a predetermined period has elapsed after executing the INT signal output processing, but during the predetermined period (period C), the CPU 56 transmits data before the INT signal output processing. It is longer than the period (period A) from when the output of the INT signal is started. As described above, the period A is a stabilization period of the command signal line, and the period C is a period for securing the time required for the receiving side to capture data. Therefore, by making the period A shorter than the period C, it is possible to obtain the effect that the receiving-side electric component control means can reliably receive the command, and it is necessary to complete the transmission of one command. There is also an effect that the period is shortened.

【0144】図21は、払出制御コマンドの内容の一例
を示す説明図である。図21に示された例において、M
ODE=FF(H),EXT=00(H)のコマンドF
F00(H)は、払出可能状態を指定する払出制御コマ
ンドである。MODE=FF(H),EXT=01
(H)のコマンドFF01(H)は、払出停止状態を指
定する払出制御コマンドである。また、MODE=F0
(H)のコマンドF0XX(H)は、賞球個数を指定す
る払出制御コマンドである。EXTである「XX」が払
出個数を示す。
FIG. 21 is an explanatory diagram showing an example of the content of the payout control command. In the example shown in FIG.
Command F of ODE = FF (H) and EXT = 00 (H)
F00 (H) is a payout control command for specifying a payable state. MODE = FF (H), EXT = 01
The command FF01 (H) of (H) is a payout control command for specifying a payout stop state. MODE = F0
The command F0XX (H) of (H) is a payout control command for specifying the number of winning balls. "XX" which is EXT indicates the number of payouts.

【0145】払出制御手段は、主基板31の遊技制御手
段からFF01(H)の払出制御コマンドを受信すると
賞球払出および球貸しを停止する状態となり、FF00
(H)の払出制御コマンドを受信すると賞球払出および
球貸しができる状態になる。また、賞球個数を指定する
払出制御コマンドを受信すると、受信したコマンドで指
定された個数に応じた賞球払出制御を行う。
When the payout control means receives the payout control command of FF01 (H) from the game control means of the main board 31, the payout control means stops the prize ball payout and the ball lending.
When the payout control command of (H) is received, it becomes possible to pay out prize balls and lend a ball. Further, when a payout control command specifying the number of winning balls is received, prize ball payout control according to the number specified by the received command is performed.

【0146】なお、払出制御コマンドは、払出制御手段
が認識可能に1回だけ送出される。認識可能とは、この
例では、INT信号がオン状態になることであり、認識
可能に1回だけ送出されるとは、この例では、払出制御
信号の1バイト目および2バイト目のそれぞれに応じて
INT信号が1回だけオン状態になることである。
Note that the payout control command is sent only once so that the payout control means can recognize it. Recognizable means that the INT signal is in the ON state in this example, and is transmitted only once so that it can be recognized. In this example, the INT signal is sent to the first and second bytes of the payout control signal. Accordingly, the INT signal is turned on only once.

【0147】また、1つのコマンド(指令情報)は2バ
イト構成であるから、ノイズの影響を低減することがで
きる。すなわち、1つのコマンドが1バイトのコマンド
データで構成されている場合には、ノイズの影響でデー
タ化けが生じてもそのまま受信され、誤った制御がなさ
れてしまうおそれがあるが、2バイト構成であれば、双
方がともに正しく受信された場合に初めて、コマンドに
もとづく制御が開始されるので、1バイト構成の場合に
比べて誤動作の可能性を低減することができる。
Since one command (command information) has a 2-byte structure, the influence of noise can be reduced. In other words, when one command is composed of one byte of command data, even if data is garbled due to noise, it may be received as it is and erroneous control may be performed. If so, the control based on the command is started only when both are correctly received, so that the possibility of malfunction can be reduced as compared with the case of the 1-byte configuration.

【0148】図22は、表示制御コマンドの内容の一例
を示す説明図である。表示制御コマンドもMODEとE
XTの2バイト構成である。図22に示す例において、
コマンド8000(H)〜8022(H)、8100
(H)〜8122(H)は、特別図柄を可変表示する可
変表示部9における特別図柄の変動パターンを指定する
表示制御コマンドである。なお、変動パターンを指定す
るコマンドは変動開始指示も兼ねている。コマンド88
XX(X=4ビットの任意の値)は、可変表示器10で
可変表示される普通図柄の変動パターンに関する表示制
御コマンドである。コマンド89XXは、普通図柄の停
止図柄を指定する表示制御コマンドである。コマンド8
AXX(X=4ビットの任意の値)は、普通図柄の可変
表示の停止を指示する表示制御コマンドである。
FIG. 22 is an explanatory diagram showing an example of the contents of the display control command. Display control commands are MODE and E
This is a 2-byte configuration of XT. In the example shown in FIG.
Commands 8000 (H) to 8022 (H), 8100
(H) to 8122 (H) are display control commands for specifying a variation pattern of the special symbol in the variable display section 9 for variably displaying the special symbol. Note that the command for designating the variation pattern also serves as the variation start instruction. Command 88
XX (X = arbitrary value of 4 bits) is a display control command related to a variation pattern of a normal symbol variably displayed on the variable display 10. The command 89XX is a display control command for designating a stop symbol of a normal symbol. Command 8
AXX (X = arbitrary value of 4 bits) is a display control command for instructing to stop variable display of a normal symbol.

【0149】コマンド91XX、92XXおよび93X
Xは、特別図柄の左中右の停止図柄を指定する表示制御
コマンドである。また、コマンドA0XXは、特別図柄
の可変表示の停止を指示する表示制御コマンドである。
コマンドBXXXは、大当り遊技開始から大当り遊技終
了までの間に送出される表示制御コマンドである。そし
て、コマンドC000およびEXXXは、特別図柄の変
動および大当り遊技に関わらない可変表示部9の表示状
態に関する表示制御コマンドである。表示制御基板80
の表示制御手段は、主基板31の遊技制御手段から上述
した表示制御コマンドを受信すると図22に示された内
容に応じて可変表示部9および可変表示器10の表示状
態を変更する。
Commands 91XX, 92XX and 93X
X is a display control command for designating a left middle right stop symbol of a special symbol. The command A0XX is a display control command for instructing to stop the variable display of the special symbol.
The command BXXX is a display control command sent from the start of the big hit game to the end of the big hit game. The commands C000 and EXXXX are display control commands relating to the display state of the variable display unit 9 irrespective of the fluctuation of special symbols and the jackpot game. Display control board 80
When receiving the above-mentioned display control command from the game control means of the main board 31, the display control means changes the display state of the variable display section 9 and the variable display 10 according to the contents shown in FIG.

【0150】図23は、ランプ制御コマンドの内容の一
例を示す説明図である。ランプ制御コマンドもMODE
とEXTの2バイト構成である。図23に示す例におい
て、コマンド8000(H)〜8022(H)、810
0(H)〜8122(H)は、可変表示部9における特
別図柄の変動パターンに対応したランプ・LED表示制
御パターンを指定するランプ制御コマンドである。ま
た、コマンドA0XX(X=4ビットの任意の値)は、
特別図柄の可変表示の停止時のランプ・LED表示制御
パターンを指示するランプ制御コマンドである。コマン
ドBXXXは、大当り遊技開始から大当り遊技終了まで
の間のランプ・LED表示制御パターンを指示するラン
プ制御コマンドである。そして、コマンドC000は、
客待ちデモンストレーション時のランプ・LED表示制
御パターンを指示するランプ制御コマンドである。
FIG. 23 is an explanatory diagram showing an example of the contents of the lamp control command. Lamp control command is also MODE
And EXT. In the example shown in FIG. 23, commands 8000 (H) to 8022 (H), 810
0 (H) to 8122 (H) are lamp control commands for designating a lamp / LED display control pattern corresponding to a special symbol variation pattern on the variable display unit 9. The command A0XX (X = any value of 4 bits) is
This is a lamp control command for instructing a lamp / LED display control pattern when stopping the variable display of a special symbol. The command BXXX is a lamp control command for instructing a lamp / LED display control pattern from the start of the big hit game to the end of the big hit game. And the command C000 is
This is a lamp control command for instructing a lamp / LED display control pattern during a customer waiting demonstration.

【0151】なお、コマンド8XXX、AXXX、BX
XXおよびCXXXは、遊技進行状況に応じて遊技制御
手段から送出されるランプ制御コマンドである。ランプ
制御手段は、主基板31の遊技制御手段から上述したラ
ンプ制御コマンドを受信すると図35に示された内容に
応じてランプ・LEDの表示状態を変更する。
The commands 8XXX, AXXX, BX
XX and CXXX are ramp control commands sent from the game control means according to the progress of the game. Upon receiving the above-described lamp control command from the game control means on the main board 31, the lamp control means changes the display state of the lamp / LED according to the contents shown in FIG.

【0152】コマンドE0XXは、始動記憶表示器18
の点灯個数を示すランプ制御コマンドである。例えば、
ランプ制御手段は、始動記憶表示器18における「X
X」で指定される個数の表示器を点灯状態とする。ま
た、コマンドE1XXは、ゲート通過記憶表示器41の
点灯個数を示すランプ制御コマンドである。例えば、ラ
ンプ制御手段は、ゲート通過記憶表示器41における
「XX」で指定される個数の表示器を点灯状態とする。
すなわち、それらのコマンドは、保留個数という情報を
報知するために設けられている発光体の制御を指示する
コマンドである。なお、始動記憶表示器18およびゲー
ト通過記憶表示器41の点灯個数に関するコマンドが点
灯個数の増減を示すように構成されていてもよい。
The command E0XX is the start storage display 18
Is a lamp control command indicating the number of lights. For example,
The lamp control means operates the "X
The number of indicators specified by "X" is turned on. The command E1XX is a lamp control command indicating the number of lighting of the gate passage storage display 41. For example, the lamp control means turns on the number of indicators designated by “XX” in the gate passage storage indicator 41.
That is, these commands are commands for instructing control of the light emitter provided for notifying the information of the number of held units. In addition, the command regarding the lighting number of the start storage display 18 and the gate passage storage display 41 may be configured to indicate the increase or decrease of the lighting number.

【0153】コマンドE200およびE201は、賞球
ランプ51の表示状態に関するランプ制御コマンドであ
り、コマンドE300およびE301は、球切れランプ
52の表示状態に関するランプ制御コマンドである。ラ
ンプ制御手段は、主基板31の遊技制御手段から「E2
01」のランプ制御コマンドを受信すると賞球ランプ5
1の表示状態を賞球残がある場合としてあらかじめ定め
られた表示状態とし、「E200」のランプ制御コマン
ドを受信すると賞球ランプ51の表示状態を賞球残がな
い場合としてあらかじめ定められた表示状態とする。ま
た、主基板31の遊技制御手段から「E300」のラン
プ制御コマンドを受信すると球切れランプ52の表示状
態を球あり中の表示状態とし、「E301」のランプ制
御コマンドを受信すると球切れランプ52の表示状態を
球切れ中の表示状態とする。すなわち、コマンドE20
0およびE201は、未賞球の遊技球があることを遊技
者等に報知するために設けられている発光体を制御する
ことを示すコマンドであり、コマンドE300およびE
301は、補給球が切れていることを遊技者や遊技店員
に報知するために設けられている発光体を制御すること
を示すコマンドである。
Commands E200 and E201 are lamp control commands relating to the display state of the prize ball lamp 51, and commands E300 and E301 are lamp control commands relating to the display state of the ball out lamp 52. The ramp control means sends “E2” from the game control means of the main board 31.
01 ”when the lamp control command is received.
The display state of No. 1 is a predetermined display state where there is a prize ball remaining, and when a lamp control command of “E200” is received, the display state of the prize ball lamp 51 is a display state where there is no prize ball remaining. State. Further, when the lamp control command of “E300” is received from the game control means of the main board 31, the display state of the out-of-ball lamp 52 is changed to a display state in which a ball is present, and when the “E301” lamp control command is received, the out-of-ball lamp 52 Is set to the display state in which the ball is out. That is, the command E20
0 and E201 are commands indicating that a light emitting body provided for notifying a player or the like that there is a game ball of a non-winning ball is controlled, and commands E300 and E201 are provided.
Reference numeral 301 denotes a command indicating that a light emitter provided for notifying a player or a game clerk that the supply ball has run out is controlled.

【0154】コマンドE400は、遊技機の電源投入
時、または特定遊技状態(高確率状態や時短状態、この
例では高確率状態)から通常状態(低確率状態や非時短
状態、この例では低確率状態)に移行したときのランプ
・LED表示制御パターンを指示するランプ制御コマン
ドである。コマンドE401は、通常状態(低確率状態
や非時短状態、この例では低確率状態)から特定遊技状
態(高確率状態や時短状態、この例では高確率状態)に
移行したときのランプ・LED表示制御パターンを指示
するランプ制御コマンドである。コマンドE402は、
大当り遊技中に発生したエラーが解除されたときのラン
プ・LED表示制御パターンを指示するランプ制御コマ
ンドである。そして、コマンドE403は、カウントス
イッチ23のエラーが発生したときのランプ・LED表
示制御パターンを指示するランプ制御コマンドである。
すなわち、それらのコマンドは、発光体によって遊技状
態を報知することを指示するコマンドである。この実施
の形態では、ランプ制御手段は、遊技状態を報知するこ
とを指示するコマンドを受信すると、装飾ランプ25、
遊技効果LED28aおよび遊技効果ランプ28b,2
8cのうちの一部または全部を用いて、遊技状態を報知
するための点灯/消灯制御を行う。なお、装飾ランプ2
5、遊技効果LED28aおよび遊技効果ランプ28
b,28cは、それぞれ、複数の発光体の集まりで構成
されていてもよく、その場合、装飾ランプ25、遊技効
果LED28aおよび遊技効果ランプ28b,28cの
うちの一部を用いて遊技状態を報知するということは、
例えば、装飾ランプ25を構成する複数の発光体のうち
の一部を用いてもよいということも意味する。
The command E400 is issued when the gaming machine is turned on or when a specific game state (high-probability state or time-saving state, in this example, high-probability state) changes to a normal state (low-probability state or non-time-saving state, in this example, low-probability state). This is a lamp control command for instructing a lamp / LED display control pattern at the time of transition to (state). The command E401 is a lamp / LED display at the time of transition from a normal state (low-probability state or non-time-saving state, in this example, low-probability state) to a specific game state (high-probability state or time-saving state, in this example, high-probability state). This is a lamp control command for instructing a control pattern. Command E402 is
This is a lamp control command for instructing a lamp / LED display control pattern when an error generated during the big hit game is released. The command E403 is a lamp control command for instructing a lamp / LED display control pattern when an error occurs in the count switch 23.
That is, those commands are commands instructing that the gaming state is notified by the light emitting body. In this embodiment, when the lamp control means receives a command instructing to notify the gaming state, the decoration lamp 25,
Game effect LED 28a and game effect lamp 28b, 2
Lighting / extinguishing control for notifying the gaming state is performed using a part or all of 8c. Decorative lamp 2
5. Game effect LED 28a and game effect lamp 28
Each of b and 28c may be constituted by a group of a plurality of light emitters. In this case, the gaming state is notified by using a part of the decorative lamp 25, the game effect LED 28a, and the game effect lamps 28b and 28c. To do is to
For example, it also means that a part of the plurality of light emitters constituting the decorative lamp 25 may be used.

【0155】図24は、音声制御コマンドの内容の一例
を示す説明図である。音声制御コマンドもMODEとE
XTの2バイト構成である。図24に示す例において、
コマンド8XXX(X=4ビットの任意の値)は、特別
図柄の変動期間における音発生パターンを指定する音声
制御コマンドである。コマンドBXXX(X=4ビット
の任意の値)は、大当り遊技開始から大当り遊技終了ま
での間における音発生パターンを指定する音声制御コマ
ンドである。その他のコマンドは、特別図柄の変動およ
び大当り遊技に関わらない音声制御コマンドである。音
声制御基板70の音声制御手段は、主基板31の遊技制
御手段から上述した音声制御コマンドを受信すると図2
4に示された内容に応じて音声出力状態を変更する。
FIG. 24 is an explanatory diagram showing an example of the content of the voice control command. Voice control commands are MODE and E
This is a 2-byte configuration of XT. In the example shown in FIG.
The command 8XXX (X = arbitrary value of 4 bits) is a voice control command for designating a sound generation pattern during the fluctuation period of the special symbol. The command BXXX (X = arbitrary value of 4 bits) is a voice control command for designating a sound generation pattern from the start of the big hit game to the end of the big hit game. Other commands are voice control commands that are not related to special symbol fluctuations and big hit games. When the voice control means of the voice control board 70 receives the above-described voice control command from the game control means of the main board 31, FIG.
The audio output state is changed according to the contents shown in FIG.

【0156】図25は、CPU56が実行する特別図柄
プロセス処理のプログラムの一例を示すフローチャート
である。図25に示す特別図柄プロセス処理は、図18
のフローチャートにおけるステップS25の具体的な処
理である。CPU56は、特別図柄プロセス処理を行う
際に、変動短縮タイマ減算処理(ステップS310)を
行った後に、内部状態に応じて、図25に示すステップ
S300〜S309のうちのいずれかの処理を行う。
FIG. 25 is a flowchart showing an example of a special symbol processing program executed by the CPU 56. The special symbol process shown in FIG.
Is a specific process of step S25 in the flowchart of FIG. When performing the special symbol process, the CPU 56 performs any one of steps S300 to S309 illustrated in FIG. 25 according to the internal state after performing the variation reduction timer subtraction process (step S310).

【0157】ステップS310の変動短縮タイマ減算処
理では、特別図柄の変動時間短縮の条件を満たしている
か否か(例えば、始動入賞検出時から、その始動入賞に
もとづく処理が実行されるまでに所定時間が経過してい
るか否か)を確認するための変動短縮タイマを減算する
処理が行われる。そして、ステップS300〜S309
の各処理において、以下のような処理が実行される。
In the variation reduction timer subtraction process of step S310, it is determined whether or not a condition for shortening the variation time of the special symbol is satisfied (for example, a predetermined time from when the start winning is detected to when the process based on the starting winning is executed). Is performed to decrement the fluctuation reduction timer for confirming whether or not the time has elapsed. Then, steps S300 to S309
In each of the above processes, the following processes are executed.

【0158】特別図柄変動待ち処理(ステップS30
0):始動入賞口14(この実施の形態では可変入賞球
装置15の入賞口)に打球入賞して始動口センサ17が
オンするのを待つ。始動口センサ17がオンすると、始
動入賞記憶数が満タンでなければ、始動入賞記憶数を+
1するとともに大当り決定用乱数等を抽出する。
Special symbol change waiting process (step S30)
0): The start winning port 14 (in this embodiment, the winning port of the variable winning ball device 15) is hit and the start port sensor 17 is turned on. When the starting port sensor 17 is turned on, the starting winning memory number is increased by + if the starting winning memory number is not full.
1 and a random number for jackpot determination is extracted.

【0159】特別図柄判定処理(ステップS301):
特別図柄の可変表示が開始できる状態になると、始動入
賞記憶数を確認する。始動入賞記憶数が0でなければ、
抽出されている大当り決定用乱数の値に応じて大当りと
するかはずれとするか決定する。
Special symbol determination processing (step S301):
When the state in which the variable display of the special symbol can be started, the number of start winning prize stored is confirmed. If the starting prize memory number is not 0,
It is determined whether to make a big hit or an out according to the value of the extracted big hit determining random number.

【0160】停止図柄設定処理(ステップS302):
左右中図柄の停止図柄を決定する。
Stop symbol setting processing (step S302):
The stop symbol of the left and right middle symbols is determined.

【0161】リーチ動作設定処理(ステップS30
3):リーチ判定用乱数の値に応じてリーチ動作するか
否か決定するとともに、リーチ種類決定用乱数の値に応
じてリーチ時の変動期間を決定する。
Reach operation setting processing (step S30)
3): Whether or not to perform the reach operation is determined according to the value of the reach determination random number, and the fluctuation period at the time of reach is determined according to the value of the reach type determination random number.

【0162】全図柄変動開始処理(ステップS30
4):可変表示部9において全図柄が変動開始されるよ
うに制御する。このとき、表示制御基板80に対して、
左右中最終停止図柄と変動態様を指令する制御コマンド
が送信される。処理を終えると、内部状態(プロセスフ
ラグ)をステップS305に移行するように更新する。
All symbols change start processing (step S30)
4): In the variable display section 9, control is performed so that all symbols start to change. At this time, with respect to the display control board 80,
A control command for instructing the final left and right middle stop symbol and the variation mode is transmitted. Upon completion of the processing, the internal state (process flag) is updated so as to shift to step S305.

【0163】全図柄停止待ち処理(ステップS30
5):所定時間が経過すると、可変表示部9において表
示される全図柄が停止されるように制御する。そして、
停止図柄が大当り図柄の組み合わせである場合には、内
部状態(プロセスフラグ)をステップS306に移行す
るように更新する。そうでない場合には、内部状態をス
テップS300に移行するように更新する。
All symbols stop waiting processing (step S30)
5): Control is performed so that all symbols displayed on the variable display section 9 are stopped after a predetermined time has elapsed. And
If the stop symbol is a combination of big hit symbols, the internal state (process flag) is updated so as to shift to step S306. If not, the internal state is updated to shift to step S300.

【0164】大入賞口開放開始処理(ステップS30
6):大入賞口を開放する制御を開始する。具体的に
は、カウンタやフラグを初期化するとともに、ソレノイ
ド21を駆動して大入賞口を開放する。また、大当りフ
ラグ(大当り中であることを示すフラグ)のセットを行
う。処理を終えると、内部状態(プロセスフラグ)をス
テップS307に移行するように更新する。
Opening process of opening the special winning opening (step S30)
6): Control for opening the special winning opening is started. Specifically, the counter and the flag are initialized, and the solenoid 21 is driven to open the special winning opening. Also, a big hit flag (a flag indicating that a big hit is being made) is set. Upon completion of the process, the internal state (process flag) is updated so as to shift to step S307.

【0165】大入賞口開放中処理(ステップS30
7):大入賞口ラウンド表示の表示制御コマンドデータ
を表示制御基板80に送出する制御や大入賞口の閉成条
件の成立を確認する処理等を行う。最終的な大入賞口の
閉成条件が成立したら、内部状態をステップS308に
移行するように更新する。
Processing during opening of the special winning opening (step S30)
7): Control for transmitting display control command data for the special winning opening round display to the display control board 80, processing for confirming establishment of the closing condition of the special winning opening, and the like are performed. When the final closing condition of the special winning opening is satisfied, the internal state is updated to shift to step S308.

【0166】特定領域有効時間処理(ステップS30
8):Vカウントスイッチ22の通過の有無を監視し
て、大当り遊技状態継続条件の成立を確認する処理を行
う。大当り遊技状態継続の条件が成立し、かつ、まだ残
りラウンドがある場合には、内部状態をステップS30
6に移行するように更新する。また、所定の有効時間内
に大当り遊技状態継続条件が成立しなかった場合、また
は、全てのラウンドを終えた場合には、内部状態をステ
ップS309に移行するように更新する。
Specific area effective time processing (step S30)
8): The presence or absence of passage of the V count switch 22 is monitored, and a process of confirming that the big hit game state continuation condition is satisfied is performed. If the condition of the jackpot game state continuation is satisfied and there is still a remaining round, the internal state is changed to step S30.
Update to move to 6. If the big hit game state continuation condition is not satisfied within the predetermined effective time, or if all rounds have been completed, the internal state is updated to shift to step S309.

【0167】大当り終了処理(ステップS309):大
当り遊技状態が終了したことを遊技者に報知するための
表示を行う。その表示が終了したら、内部状態をステッ
プS300に移行するように更新する。
Big hit end processing (step S309): A display for notifying the player that the big hit gaming state has ended is performed. When the display is completed, the internal state is updated so as to shift to step S300.

【0168】上述したように、始動入賞口14に打球が
入賞すると、CPU56は、特別図柄プロセス処理にお
いて、大当りとするかはずれとするか、停止図柄、リー
チ態様、確変とするかしないかを決定するが、その決定
に応じた表示制御コマンド等の制御コマンドを、表示制
御手段等の電気部品制御手段に送出する。例えば表示制
御手段では、主基板31からの表示制御コマンドに応じ
て可変表示部9の表示制御が行われる。また、遊技の進
行に応じて、表示制御基板80、ランプ制御基板35お
よび音声制御基板70に制御コマンドを送出する。コマ
ンド送出方法はすでに述べたとおりである。
As described above, when a ball is hit in the starting winning opening 14, the CPU 56 determines whether or not to make a big hit or a miss, a stop symbol, a reach mode, a probable change in the special symbol process. However, a control command such as a display control command according to the determination is transmitted to an electric component control unit such as a display control unit. For example, in the display control means, display control of the variable display unit 9 is performed according to a display control command from the main board 31. In addition, control commands are sent to the display control board 80, the lamp control board 35, and the voice control board 70 in accordance with the progress of the game. The command transmission method is as described above.

【0169】図26は、図18に示された遊技制御処理
におけるスイッチ処理(ステップS21)の賞球制御に
関連する部分を示すフローチャートである。スイッチ処
理において、CPU56は、球切れスイッチ187によ
って球切れを検出すると球切れ状態フラグをセットする
(ステップS121,S122)。また、球切れスイッ
チ187によって球切れでないことを検出すると球切れ
状態フラグをリセットする(ステップS121,S12
3)。
FIG. 26 is a flowchart showing a portion related to the winning ball control of the switch process (step S21) in the game control process shown in FIG. In the switch processing, the CPU 56 sets an out-of-ball state flag when the out-of-ball switch is detected by the out-of-ball switch 187 (steps S121 and S122). When it is detected that the ball is not out of ball by the out-of-ball switch 187, the out-of-ball flag is reset (steps S121 and S12).
3).

【0170】次いで、満タンスイッチ48によって下皿
満タンを検出すると満タンフラグをセットする(ステッ
プS124,S125)。また、満タンスイッチ48に
よって下皿満タンでないことを検出すると満タンフラグ
をリセットする(ステップS124,S126)。
Next, when the lower tray full level is detected by the full level switch 48, the full level flag is set (steps S124 and S125). When it is detected that the lower plate is not full by the full tank switch 48, the full tank flag is reset (steps S124 and S126).

【0171】さらに、カウントスイッチ23がオンした
ことを検出すると、15個カウンタを+1し(ステップ
S131,S132)、入賞口スイッチ19a,24a
のいずれかがオンしたことを検出すると、10個カウン
タを+1し(ステップS133,S134)、始動口ス
イッチ17がオンしたことを検出すると6個カウンタを
+1する(ステップS135,S136)。
Further, when it is detected that the count switch 23 is turned on, the 15 counter is incremented by 1 (steps S131 and S132), and the winning opening switches 19a and 24a are set.
Is detected, the ten counters are incremented by one (steps S133 and S134). When the start port switch 17 is detected to be on, the six counters are incremented by one (steps S135 and S136).

【0172】なお、この実施の形態では、大入賞口を経
た入賞については15個の賞球を払い出し、始動入賞口
14を経た入賞については6個の賞球を払い出し、その
他の入賞口19,24および入賞球装置を経た入賞につ
いては10個の賞球を払い出すとする。15個カウンタ
は大入賞口への入賞数を計数するためのカウンタであ
り、10個カウンタは普通入賞口への入賞数を計数する
ためのカウンタであり、6個カウンタは始動入賞口への
入賞数を計数するためのカウンタである。
In this embodiment, 15 prize balls are paid out for a prize passing through the special winning opening, and 6 prize balls are paid out for a prize passed through the starting winning opening 14. It is assumed that ten prize balls are paid out for the prize through the prize ball device 24 and the prize ball device. The 15 counter is a counter for counting the number of winnings to the special winning opening, the 10 counter is a counter for counting the number of winnings to the normal winning opening, and the 6 counter is a winning for the starting winning opening. This is a counter for counting the number.

【0173】図27は、図18に示された遊技制御処理
における入賞球信号処理(ステップS31)の一例を示
すフローチャートである。この例では、入賞球信号処理
において、CPU56は、まず、払出停止状態であるか
否か確認する(ステップS201)。払出停止状態は、
払出制御基板37に対して払出停止状態指定のコマンド
を送出した後の状態である。払出停止状態でなければ、
上述した球切れ状態フラグまたは満タンフラグがオンに
なったか否かを確認する(ステップS202)。
FIG. 27 is a flowchart showing an example of the winning ball signal processing (step S31) in the game control processing shown in FIG. In this example, in the winning ball signal processing, the CPU 56 first checks whether or not the payout is stopped (step S201). The withdrawal stop state is
This is the state after the command to specify the payout stop state is sent to the payout control board 37. If you are not in the withdrawal state,
It is confirmed whether or not the above-mentioned ball-out state flag or full tank flag has been turned on (step S202).

【0174】いずれかがオン状態に変化したときには、
払出停止状態指定に関するコマンド送信テーブルの設定
を行う(ステップS203)。コマンド送信テーブルに
ついては後で詳しく説明する。なお、ステップS202
において、いずれか一方のフラグが既にオン状態であっ
たときに他方のフラグがオン状態になったときには、コ
マンド送信テーブルの設定(ステップS203)は行わ
れない。
When either of them changes to the ON state,
The command transmission table for the payout stop state designation is set (step S203). The command transmission table will be described later in detail. Step S202
In, when one of the flags is already in the ON state and the other flag is in the ON state, the command transmission table is not set (step S203).

【0175】また、払出停止状態であれば、球切れ状態
フラグおよび満タンフラグがともにオフ状態になったか
否かを確認する(ステップS204)。ともにオフ状態
となったときには、払出停止解除指定に関するコマンド
送信テーブルの設定を行う(ステップS205)。
If the payout is stopped, it is checked whether both the out-of-ball state flag and the full tank flag have been turned off (step S204). When both are turned off, a command transmission table relating to the payout stop release designation is set (step S205).

【0176】次いで、CPU56は、入賞に応じた賞球
個数に関する払出制御コマンドをコマンド送信テーブル
に設定する制御を行う。まず、15個カウンタの値をチ
ェックする(ステップS211)。上述したように、1
5個カウンタは、遊技球が大入賞口に入賞してカウント
スイッチ23がオンするとカウントアップされる。15
個カウンタの値が0でない場合には、15個の賞球個数
指示に関するコマンド送信テーブルの設定を行う(ステ
ップS212)。また、15個カウンタの値を−1する
(ステップS213)。
Next, the CPU 56 controls to set a payout control command relating to the number of winning balls according to the winning in the command transmission table. First, the values of the 15 counters are checked (step S211). As mentioned above, 1
The five counters are counted up when the game ball wins the big winning opening and the count switch 23 is turned on. Fifteen
If the value of the number counter is not 0, a command transmission table relating to the fifteen winning ball number instructions is set (step S212). Further, the value of the 15 counters is decremented by one (step S213).

【0177】15個カウンタの値が0であれば、10個
カウンタの値をチェックする(ステップS215)。上
述したように、10個カウンタは、遊技球が入賞口に入
賞して入賞口スイッチ19a,24aがオンするとカウ
ントアップされる。10個カウンタの値が0でない場合
には、10個の賞球個数指示に関するコマンド送信テー
ブルの設定を行う(ステップS216)。また、15個
カウンタの値を−1する(ステップS217)。
If the value of the 15 counter is 0, the value of the 10 counter is checked (step S215). As described above, the ten counters are counted up when a game ball wins a winning opening and the winning opening switches 19a and 24a are turned on. If the value of the ten counter is not 0, the command transmission table for the ten winning ball number instructions is set (step S216). Further, the value of the 15 counter is decremented by one (step S217).

【0178】10個カウンタの値が0であれば、6個カ
ウンタの値をチェックする(ステップS221)。上述
したように、6個カウンタは、遊技球が始動入賞口に入
賞して始動口スイッチ17がオンするとカウントアップ
される。6個カウンタの値が0でない場合には、6個の
賞球個数指示に関するコマンド送信テーブルの設定を行
う(ステップS222)。また、6個カウンタの値を−
1する(ステップS223)。
If the value of the ten counter is 0, the value of the six counter is checked (step S221). As described above, the six counters are counted up when the game ball wins the starting winning port and the starting port switch 17 is turned on. If the value of the six counter is not 0, the command transmission table for the six winning ball number instructions is set (step S222). Also, the value of the six counters is-
1 (step S223).

【0179】以上にようにして、遊技制御手段から払出
制御基板37に払出制御コマンドを出力しようとすると
きに、コマンド送信テーブルの設定が行われる。図28
(A)は、コマンド送信テーブルの一構成例を示す説明
図である。1つのコマンド送信テーブルは3バイトで構
成され、1バイト目にはINTデータが設定される。ま
た、2バイト目のコマンドデータ1には、払出制御コマ
ンドの1バイト目のMODEデータが設定される。そし
て、3バイト目のコマンドデータ2には、払出制御コマ
ンドの2バイト目のEXTデータが設定される。
As described above, when the payout control command is to be output from the game control means to the payout control board 37, the command transmission table is set. FIG.
(A) is an explanatory view showing a configuration example of a command transmission table. One command transmission table is composed of three bytes, and INT data is set in the first byte. In the command data 1 of the second byte, MODE data of the first byte of the payout control command is set. In the command data 2 of the third byte, EXT data of the second byte of the payout control command is set.

【0180】なお、EXTデータそのものがコマンドデ
ータ2の領域に設定されてもよいが、コマンドデータ2
には、EXTデータが格納されているテーブルのアドレ
スを指定するためのデータが設定されるようにしてもよ
い。この実施の形態では、コマンドデータ2のビット7
(ワークエリア参照ビット)が0あれば、コマンドデー
タ2にEXTデータそのものが設定されていることを示
す。なお、そのようなEXTデータはビット7が0であ
るデータである。また、ワークエリア参照ビットが1あ
れば、他の7ビットが、EXTデータが格納されている
テーブルのアドレスを指定するためのオフセットである
ことを示す。
Although the EXT data itself may be set in the command data 2 area, the command data 2
May be set to data for specifying an address of a table in which EXT data is stored. In this embodiment, bit 7 of command data 2
If (work area reference bit) is 0, it indicates that the EXT data itself is set in the command data 2. Such EXT data is data in which bit 7 is 0. If the work area reference bit is 1, the other 7 bits indicate an offset for specifying an address of a table in which EXT data is stored.

【0181】この実施の形態では複数のコマンド送信テ
ーブルが用意され、使用すべきコマンド送信テーブルは
ポインタで指定される。また、複数のコマンド送信テー
ブルはリングバッファとして使用される。従って、CP
U56は、入賞球信号処理において、書込ポインタが指
しているコマンド送信テーブルに、INTデータ、コマ
ンドデータ1およびコマンドデータ2を設定する。そし
て、書込ポインタの値を更新する。1つのコマンド送信
テーブルは3バイト構成であるから、具体的には、書込
ポインタ値は+3される。
In this embodiment, a plurality of command transmission tables are prepared, and the command transmission table to be used is designated by a pointer. Also, a plurality of command transmission tables are used as a ring buffer. Therefore, CP
U56 sets the INT data, the command data 1 and the command data 2 in the command transmission table pointed to by the write pointer in the winning ball signal processing. Then, the value of the write pointer is updated. Since one command transmission table has a 3-byte configuration, specifically, the write pointer value is +3.

【0182】なお、図27に示す処理では、1回の処理
について1つの払出制御コマンドに関するコマンド送信
テーブル設定処理しか行われないが、複数のコマンド送
信テーブルが設けられているので、複数のコマンド送信
テーブル設定処理を行うように構成してもよい。例え
ば、複数の入賞が15個カウンタ、10個カウンタおよ
び6個カウンタに記憶されている場合に、1回の入賞球
信号処理で、複数のコマンド送信テーブル設定処理を行
ってもよい。
In the process shown in FIG. 27, only one command transmission table setting process relating to one payout control command is performed in one process. However, since a plurality of command transmission tables are provided, a plurality of command transmission tables are provided. You may comprise so that a table setting process may be performed. For example, when a plurality of winnings are stored in the 15 counter, the 10 counter, and the 6 counter, a plurality of command transmission table setting processes may be performed by one winning ball signal processing.

【0183】また、ここでは、払出制御コマンドについ
て説明するが、表示制御コマンド、ランプ制御コマンド
および音声制御コマンドを送出するときにも、図28
(A)に示すようなコマンド送信テーブルに、INTデ
ータ、コマンドデータ1およびコマンドデータ2が設定
される。その際にも、書込ポインタが指しているコマン
ド送信テーブルに、INTデータ、コマンドデータ1お
よびコマンドデータ2が設定される。
Although the payout control command will be described here, the display control command, the lamp control command, and the voice control command are also transmitted in FIG.
INT data, command data 1 and command data 2 are set in a command transmission table as shown in FIG. At that time, the INT data, the command data 1 and the command data 2 are set in the command transmission table pointed to by the write pointer.

【0184】図28(B)INTデータの一構成例を示
す説明図である。INTデータにおけるビット0は、払
出制御基板37に払出制御コマンドを送出すべきか否か
を示す。ビット0が「1」であるならば、払出制御コマ
ンドを送出すべきことを示す。従って、CPU56は、
入賞球信号処理において、INTデータに「01
(H)」を設定する。
FIG. 28B is an explanatory diagram showing an example of the configuration of INT data. Bit 0 in the INT data indicates whether or not a payout control command should be sent to the payout control board 37. If bit 0 is "1", it indicates that a payout control command should be sent. Therefore, the CPU 56
In the winning ball signal processing, "01" is added to the INT data.
(H) ”is set.

【0185】なお、INTデータのビット1,2,3
は、それぞれ、表示制御コマンド、ランプ制御コマン
ド、音声制御コマンドを送出すべきか否かを示すビット
であり、CPU56は、それらのコマンドを送出すべき
タイミングになったら、特別図柄プロセス処理等で、ポ
インタが指しているコマンド送信テーブルに、INTデ
ータ、コマンドデータ1およびコマンドデータ2を設定
する。それらのコマンドを送出するときには、INTデ
ータの該当ビットが「1」に設定され、コマンドデータ
1およびコマンドデータ2にMODEデータおよびEX
Tデータが設定される。
The bits 1, 2, 3 of the INT data
Are bits indicating whether or not to transmit a display control command, a lamp control command, and a voice control command, respectively. When it is time to transmit those commands, the CPU 56 performs special symbol process processing or the like. The INT data, command data 1 and command data 2 are set in the command transmission table indicated by the pointer. When these commands are transmitted, the corresponding bit of the INT data is set to "1", and MODE data and EX data are added to command data 1 and command data 2.
T data is set.

【0186】図29は、図18に示された遊技制御処理
におけるコマンド制御処理(ステップS27)の処理例
を示すフローチャートである。コマンド制御処理は、コ
マンド出力処理とINT信号出力処理とを含む処理であ
る。コマンド制御処理において、CPU56は、まず、
コマンド送信テーブルのアドレス(読出ポインタの内
容)をスタック等に退避する(ステップS231)。そ
して、読出ポインタが指していたコマンド送信テーブル
のINTデータを引数1にロードする(ステップS23
2)。引数1は、後述するコマンド送信処理に対する入
力情報になる。また、コマンド送信テーブルを指すアド
レスを+1する(ステップS233)。従って、コマン
ド送信テーブルを指すアドレスは、コマンドデータ1の
アドレスに一致する。
FIG. 29 is a flowchart showing an example of the command control process (step S27) in the game control process shown in FIG. The command control process is a process including a command output process and an INT signal output process. In the command control process, the CPU 56 first
The address of the command transmission table (contents of the read pointer) is saved in a stack or the like (step S231). Then, the INT data of the command transmission table pointed to by the read pointer is loaded into the argument 1 (step S23).
2). Argument 1 is input information for a command transmission process described later. Further, the address indicating the command transmission table is incremented by 1 (step S233). Therefore, the address indicating the command transmission table matches the address of the command data 1.

【0187】そこで、CPU56は、コマンドデータ1
を読み出して引数2に設定する(ステップS234)。
引数2も、後述するコマンド送信処理に対する入力情報
になる。そして、コマンド送信処理ルーチンをコールす
る(ステップS235)。
Then, the CPU 56 sets the command data 1
Is read and set as argument 2 (step S234).
The argument 2 also becomes input information for a command transmission process described later. Then, a command transmission processing routine is called (step S235).

【0188】図30は、コマンド送信ルーチンを示すフ
ローチャートである。コマンド送信ルーチンにおいて、
CPU56は、まず、引数1に設定されているデータす
なわちINTデータを、比較値として決められているワ
ークエリアに設定する(ステップS251)。次いで、
送信回数=4を、処理数として決められているワークエ
リアに設定する(ステップS252)。そして、払出制
御信号を出力するためのポート1(出力ポート571)
のアドレスをIOアドレスにセットする(ステップS2
53)。
FIG. 30 is a flowchart showing a command transmission routine. In the command transmission routine,
First, the CPU 56 sets the data set in the argument 1, that is, the INT data, in the work area determined as the comparison value (step S <b> 251). Then
The number of transmissions = 4 is set in the work area determined as the number of processes (step S252). Then, port 1 for outputting the payout control signal (output port 571)
Is set to the IO address (step S2).
53).

【0189】次に、CPU56は、比較値を1ビット右
にシフトする(ステップS254)。シフト処理の結
果、キャリービットが1になったか否か確認する(ステ
ップS255)。キャリービットが1になったというこ
とは、INTデータにおける最も右側のビットが「1」
であったことを意味する。この実施の形態では4回のシ
フト処理が行われるのであるが、例えば、払出制御コマ
ンドを送出すべきことが指定されているときには、最初
のシフト処理でキャリービットが1になる。
Next, the CPU 56 shifts the comparison value one bit to the right (step S254). It is determined whether or not the carry bit has become 1 as a result of the shift processing (step S255). The fact that the carry bit has become 1 means that the rightmost bit in the INT data is “1”.
It means that it was. In this embodiment, four shift processes are performed. For example, when it is specified that a payout control command should be sent, the carry bit becomes 1 in the first shift process.

【0190】キャリービットが1になった場合には、引
数2に設定されているデータ、この場合にはコマンドデ
ータ1(すなわちMODEデータ)を、IOアドレスと
して設定されているアドレスに出力する(ステップS2
56)。最初のシフト処理が行われたときにはIOアド
レスにポート1(出力ポート571)のアドレスが設定
されているので、結局、払出制御コマンドのMODEデ
ータがポート1に出力される。
When the carry bit becomes 1, the data set in the argument 2, in this case, the command data 1 (that is, MODE data) is output to the address set as the IO address (step S2
56). When the first shift processing is performed, since the address of port 1 (output port 571) is set in the IO address, MODE data of the payout control command is output to port 1 after all.

【0191】次いで、CPU56は、IOアドレスを1
加算するとともに(ステップS257)、処理数を1減
算する(ステップS258)。加算前にポート1を示し
ていた場合には、IOアドレスに対する加算処理によっ
て、IOアドレスにはポート2(出力ポート572)の
アドレスが設定される。ポート2(出力ポート572)
は、表示制御コマンドを出力するためのポートである。
そして、CPU56は、処理数の値を確認し(ステップ
S259)、値が0になっていなければ、ステップS2
54に戻る。ステップS254で再度シフト処理が行わ
れる。
Next, the CPU 56 sets the IO address to 1
While adding (step S257), 1 is subtracted from the number of processes (step S258). If port 1 is indicated before the addition, the address of port 2 (output port 572) is set as the IO address by the addition processing for the IO address. Port 2 (output port 572)
Is a port for outputting a display control command.
Then, the CPU 56 checks the value of the number of processes (step S259). If the value is not 0, the process proceeds to step S2.
Return to 54. The shift process is performed again in step S254.

【0192】2回目のシフト処理ではINTデータにお
けるビット1の値が押し出され、ビット1の値に応じて
キャリーフラグが「1」または「0」になる。従って、
表示制御コマンドを送出すべきことが指定されているか
否かのチェックが行われる。同様に、3回目および4回
目のシフト処理によって、ランプ制御コマンドおよび音
声制御コマンドを送出すべきことが指定されているか否
かのチェックが行われる。このように、それぞれのシフ
ト処理が行われるときに、IOアドレスには、シフト処
理によってチェックされるコマンド(払出制御コマン
ド、表示制御コマンド、ランプ制御コマンド、音声制御
コマンド)に対応したIOアドレスが設定されている。
よって、キャリーフラグが「1」になったときには、対
応する出力ポート(ポート1〜ポート4)に制御コマン
ドが送出される。すなわち、1つの共通モジュールで、
各電気部品制御手段に対する制御コマンドの送出処理を
行うことができる。
In the second shift processing, the value of bit 1 in the INT data is pushed out, and the carry flag becomes "1" or "0" according to the value of bit 1. Therefore,
A check is made as to whether it is specified that a display control command should be sent. Similarly, in the third and fourth shift processes, it is checked whether or not it is specified that the ramp control command and the voice control command should be transmitted. As described above, when each shift process is performed, the IO address corresponding to the command (payout control command, display control command, lamp control command, voice control command) set by the shift process is set in the IO address. Have been.
Therefore, when the carry flag becomes "1", a control command is sent to the corresponding output port (port 1 to port 4). That is, with one common module,
Transmission processing of a control command to each electric component control means can be performed.

【0193】また、このように、シフト処理のみによっ
てどの電気部品制御手段に対して制御コマンドを出力す
べきかが判定されるので、いずれの電気部品制御手段に
対して制御コマンドを出力すべきか判定する処理が簡略
化されている。
In this way, since it is determined which control control unit should output the control command only by the shift processing, it is determined which control control unit should output the control command. Processing has been simplified.

【0194】次に、CPU56は、シフト処理開始前の
INTデータが格納されている引数1の内容を読み出し
(ステップS260)、読み出したデータをポート0
(出力ポート570)に出力する(ステップS26
1)。INTデータでは、ステップS251〜S259
の処理で出力された制御コマンド(払出制御コマンド、
表示制御コマンド、ランプ制御コマンド、音声制御コマ
ンド)に応じたINT信号の出力ビットに対応したビッ
トが「1」になっている。従って、ポート1〜ポート4
のいずれかに出力された制御コマンド(払出制御コマン
ド、表示制御コマンド、ランプ制御コマンド、音声制御
コマンド)に対応したINT信号がオン状態になる。
Next, the CPU 56 reads the contents of the argument 1 storing the INT data before the start of the shift processing (step S260), and transfers the read data to the port 0.
(Output port 570) (step S26).
1). For the INT data, steps S251 to S259
Control commands (payout control commands,
The bit corresponding to the output bit of the INT signal according to the display control command, the lamp control command, and the voice control command is “1”. Therefore, port 1 to port 4
The INT signal corresponding to the control command (payout control command, display control command, lamp control command, voice control command) output to any of the above is turned on.

【0195】次いで、CPU56は、ウェイトカウンタ
に所定値を設定し(ステップS262)、その値が0に
なるまで1ずつ減算する(ステップS263,S26
4)。この処理は、図20に示されたBの期間を設定す
るための処理である。ウェイトカウンタの値が0になる
と、クリアデータ(00)を設定して(ステップS26
5)、そのデータをポート0に出力する(ステップS2
66)。よって、INT信号はオフ状態になる。そし
て、ウェイトカウンタに所定値を設定し(ステップS2
62)、その値が0になるまで1ずつ減算する(ステッ
プS268,S269)。この処理は、図20に示され
たCの期間を設定するための処理である。
Next, the CPU 56 sets a predetermined value in the weight counter (step S262), and decrements by one until the value becomes 0 (steps S263, S26).
4). This process is a process for setting the period B shown in FIG. When the value of the wait counter becomes 0, clear data (00) is set (step S26).
5), and outputs the data to port 0 (step S2)
66). Therefore, the INT signal is turned off. Then, a predetermined value is set in the weight counter (step S2).
62), and decrement by 1 until the value becomes 0 (steps S268 and S269). This process is a process for setting the period C shown in FIG.

【0196】従って、ステップS267でウェイトカウ
ンタに設定される値は、Cの期間が、制御コマンド受信
対象となる全ての電気部品制御手段が確実にコマンド受
信処理を行うのに十分な期間になるような値である。ま
た、ウェイトカウンタに設定される値は、Cの期間が、
ステップS251〜S259の処理に要する時間よりも
長くなるような値である。
Therefore, the value set in the wait counter in step S267 is such that the period of C is a period long enough for all the electric component control means to receive the control command to reliably execute the command receiving process. Value. The value set in the wait counter is such that the period of C is
This value is longer than the time required for the processing in steps S251 to S259.

【0197】以上のようにして、制御コマンドの1バイ
ト目のMODEデータが送出される。そこで、CPU5
6は、図29に示すステップS236で、コマンド送信
テーブルを指す値を1加算する。従って、3バイト目の
コマンドデータ2の領域が指定される。CPU56は、
指し示されたコマンドデータ2の内容を引数2にロード
する(ステップS237)。また、コマンドデータ2の
ビット7(ワークエリア参照ビット)の値が「0」であ
るか否か確認する(ステップS239)。0でなけれ
ば、コマンド拡張データアドレステーブルの先頭アドレ
スをポインタにセットし(ステップS239)、そのポ
インタにコマンドデータ2のビット6〜ビット0の値を
加算してアドレスを算出する(ステップS240)。そ
して、そのアドレスが指すエリアのデータを引数2にロ
ードする(ステップS241)。
As described above, the MODE data of the first byte of the control command is transmitted. Therefore, CPU5
No. 6 adds 1 to the value indicating the command transmission table in step S236 shown in FIG. Therefore, the area of the command data 2 in the third byte is specified. The CPU 56
The content of the indicated command data 2 is loaded into the argument 2 (step S237). Further, it is confirmed whether the value of bit 7 (work area reference bit) of the command data 2 is “0” (step S239). If it is not 0, the start address of the command extension data address table is set in the pointer (step S239), and the address is calculated by adding the value of bit 6 to bit 0 of the command data 2 to the pointer (step S240). Then, the data of the area indicated by the address is loaded into the argument 2 (step S241).

【0198】コマンド拡張データアドレステーブルに
は、電気部品制御手段に送出されうるEXTデータが順
次設定されている。よって、以上の処理によって、ワー
クエリア参照ビットの値が「1」であれば、コマンドデ
ータ2の内容に応じたコマンド拡張データアドレステー
ブル内のEXTデータが引数2にロードされ、ワークエ
リア参照ビットの値が「0」であれば、コマンドデータ
2の内容がそのまま引数2にロードされる。なお、コマ
ンド拡張データアドレステーブルからEXTデータが読
み出される場合でも、そのデータのビット7は「0」で
ある。
In the command extension data address table, EXT data that can be transmitted to the electric component control means is sequentially set. Therefore, if the value of the work area reference bit is “1” by the above processing, the EXT data in the command extension data address table corresponding to the content of the command data 2 is loaded into the argument 2 and the work area reference bit is set. If the value is “0”, the content of the command data 2 is loaded as it is into the argument 2. Even when EXT data is read from the command extension data address table, bit 7 of that data is “0”.

【0199】次に、CPU56は、コマンド送信ルーチ
ンをコールする(ステップS242)。従って、MOD
Eデータの送出の場合と同様のタイミングでEXTデー
タが送出される。その後、CPU56は、コマンド送信
テーブルのアドレスを復帰し(ステップS243)、コ
マンド送信テーブルを指す読出ポインタの値を更新する
(ステップS244)。1つのコマンド送信テーブルは
3バイト構成であるから、具体的には、読出ポインタの
値は+3される。
Next, the CPU 56 calls a command transmission routine (step S242). Therefore, MOD
The EXT data is transmitted at the same timing as the transmission of the E data. Thereafter, the CPU 56 restores the address of the command transmission table (step S243), and updates the value of the read pointer pointing to the command transmission table (step S244). Since one command transmission table has a 3-byte configuration, specifically, the value of the read pointer is +3.

【0200】以上のようにして、2バイト構成の制御コ
マンド(払出制御コマンド、表示制御コマンド、ランプ
制御コマンド、音声制御コマンド)が、対応する電気部
品制御手段に送信される。電気部品制御手段ではINT
信号の立ち下がりを検出すると制御コマンドの取り込み
処理を開始するのであるが、いずれの電気部品制御手段
についても、取り込み処理が完了する前に遊技制御手段
からの新たな信号が信号線に出力されることはない。す
なわち、各電気部品制御手段において、確実なコマンド
受信処理が行われる。なお、各電気部品制御手段は、I
NT信号の立ち上がりで制御コマンドの取り込み処理を
開始してもよい。また、INT信号の極性を図20に示
された場合と逆にしてもよい。
As described above, the 2-byte control command (dispensing control command, display control command, lamp control command, voice control command) is transmitted to the corresponding electric component control means. INT in the electrical component control means
When the falling of the signal is detected, the control command fetching process is started. Regardless of the electric component control means, a new signal from the game control means is output to the signal line before the fetching process is completed. Never. That is, a reliable command receiving process is performed in each electric component control unit. In addition, each electric component control means is I
The control command fetch process may be started at the rise of the NT signal. Also, the polarity of the INT signal may be reversed from that shown in FIG.

【0201】また、この実施の形態では、複数のコマン
ド送信テーブルがリングバッファとして用いられ、図2
9に示すコマンド制御処理では、読出ポインタが指して
いるコマンド送信テーブルを対象としてコマンド出力制
御が行われ、コマンド送信テーブルにデータを設定する
処理、例えば、図27に示す入賞球信号処理では、書込
ポインタが指すコマンド送信テーブルを対象としてコマ
ンド設定処理が行われる。従って、同時に複数のコマン
ド送出要求が発生しても、それらの要求にもとづくコマ
ンド出力処理は問題なく実行される。
Further, in this embodiment, a plurality of command transmission tables are used as ring buffers, and FIG.
In the command control process shown in FIG. 9, command output control is performed for the command transmission table pointed to by the read pointer, and in the process of setting data in the command transmission table, for example, in the winning sphere signal process shown in FIG. The command setting process is performed on the command transmission table indicated by the embedded pointer. Therefore, even if a plurality of command transmission requests occur at the same time, the command output process based on those requests is executed without any problem.

【0202】次に、電気部品制御手段におけるコマンド
受信処理等を説明する。ここでは、払出制御手段おける
コマンド受信処理等について説明する。
Next, a command receiving process in the electric component control means will be described. Here, a command receiving process and the like in the payout control means will be described.

【0203】図31は、払出制御用CPU371周りの
一構成例を示すブロック図である。図31に示すよう
に、第1の電源監視回路(第1の電源監視手段)からの
電圧低下信号が、バッファ回路960を介して払出制御
用CPU371のマスク不能割込端子(XNMI端子)
に接続されている。第1の電源監視回路は、遊技機が使
用する各種直流電源のうちのいずれかの電源の電圧を監
視して電源電圧低下を検出する回路である。この実施の
形態では、VSLの電源電圧を監視して電圧値が所定値以
下になるとローレベルの電圧低下信号を発生する。VSL
は、遊技機で使用される直流電圧のうちで最大のもので
あり、この例では+30Vである。従って、払出制御用
CPU371は、割込処理によって電源断の発生を確認
することができる。
FIG. 31 is a block diagram showing an example of a configuration around the payout control CPU 371. As shown in FIG. 31, the voltage drop signal from the first power supply monitoring circuit (first power supply monitoring means) is supplied to the non-maskable interrupt terminal (XNMI terminal) of the payout control CPU 371 via the buffer circuit 960.
It is connected to the. The first power supply monitoring circuit is a circuit that monitors the voltage of any one of various DC power supplies used by the gaming machine and detects a drop in the power supply voltage. In this embodiment, the power supply voltage of VSL is monitored, and when the voltage value falls below a predetermined value, a low-level voltage drop signal is generated. VSL
Is the largest DC voltage used in gaming machines, and is +30 V in this example. Therefore, the payout control CPU 371 can confirm the occurrence of power interruption by the interrupt processing.

【0204】この実施の形態で用いられる払出制御用C
PU371も、主基板31のCPU56と同様に、PI
OおよびCTCを内蔵している。ただし、この実施の形
態では内蔵PIOを使用しない。その場合には、例え
ば、全ポートを入力モードとして、全ポートをグラウン
ドレベルに接続する。
Payout control C used in this embodiment
The PU 371 also has a PI like the CPU 56 of the main board 31.
O and CTC are built in. However, in this embodiment, no built-in PIO is used. In that case, for example, all ports are set to the input mode, and all ports are connected to the ground level.

【0205】また、主基板31のCPU56と同様に、
払出制御用CPU371も、割込モード0〜2のいずれ
かに設定可能であり、CTCは、以下に説明するような
タイマモードまたはカウンタモードで動作可能である。
また、CTCは4つのチャネルを有している。具体的に
は、4個のタイマカウンタレジスタCLK/TRG0〜
3(チャネル0〜3のカウンタ)を有する。動作モード
は、チャネル毎に設定可能である。
Further, similarly to the CPU 56 of the main board 31,
The payout control CPU 371 can also be set to any of the interrupt modes 0 to 2, and the CTC can operate in a timer mode or a counter mode as described below.
Also, CTC has four channels. Specifically, four timer counter registers CLK / TRG0 to
3 (counters for channels 0 to 3). The operation mode can be set for each channel.

【0206】各タイマカウンタレジスタCLK/TRG
0〜3の値は、対応するCLK/TRG端子に入力され
るクロック信号に応じてカウントダウンされ、カウント
値が0になると割込を発生することができる。従って、
CTCのチャネル0〜3は、それぞれ割込発生部となる
ことができる。チャネル0の優先順位が最も高く、以
下、順次優先順位が下がる。すなわち、複数のタイマカ
ウンタレジスタCLK/TRGのカウント値が同時に0
になった場合には、番号が小さいチャネルが優先され、
それらのチャネルが割込を発生するように設定されてい
れば、番号が小さいチャネルからの割込が先に受け付け
られる。
Each timer counter register CLK / TRG
The values of 0 to 3 are counted down according to the clock signal input to the corresponding CLK / TRG terminal, and when the count value becomes 0, an interrupt can be generated. Therefore,
Each of the channels 0 to 3 of the CTC can be an interrupt generation unit. The priority of the channel 0 is the highest, and then the priority sequentially decreases. That is, the count values of the plurality of timer counter registers CLK / TRG are simultaneously set to 0.
, The channel with the lower number has priority,
If those channels are set to generate an interrupt, an interrupt from a channel with a lower number is accepted first.

【0207】この実施の形態では、内蔵CTCのチャネ
ル3がタイマモードで使用され、チャネル2がカウンタ
モードで使用される。また、チャネル3はタイマ割込の
発生源として使用され、チャネル2は払出制御コマンド
受信用として使用される。
In this embodiment, channel 3 of the built-in CTC is used in the timer mode, and channel 2 is used in the counter mode. Channel 3 is used as a timer interrupt source, and channel 2 is used for receiving a payout control command.

【0208】カウンタモード:払出制御用CPU371
のCLK/TRG端子にクロック信号の立上がりまたは
立下がりが入力されるとカウント値を−1する。そのチ
ャネルに対して割込発生許可が設定されている場合に
は、カウント値が0になると割込を発生するとともに、
初期値をカウンタに再ロードする。また、割込ベクタの
設定がなされていれば、カウント値が0になったとき
に、内部データバス上に割込ベクタを送出する。
Counter mode: payout control CPU 371
When the rising or falling edge of the clock signal is input to the CLK / TRG terminal, the count value is decremented by one. If interrupt generation permission is set for the channel, an interrupt is generated when the count value reaches 0,
Reload the initial value into the counter. If the interrupt vector has been set, the interrupt vector is sent out on the internal data bus when the count value becomes zero.

【0209】タイマモード:システムクロック(内部ク
ロック)を1/16分周または1/256分周したクロ
ック信号にもとづいてカウント値を−1する。そのチャ
ネルに対して割込発生許可が設定されている場合には、
カウント値が0になると割込を発生するとともに、初期
値をカウンタに再ロードする。また、割込ベクタの設定
がなされていれば、カウント値が0になったときに、内
部データバス上に割込ベクタを送出する。
Timer mode: The count value is decremented by 1 based on a clock signal obtained by dividing the system clock (internal clock) by 1/16 or 1/256. If interrupt generation permission is set for that channel,
When the count value becomes 0, an interrupt is generated, and the initial value is reloaded into the counter. If the interrupt vector has been set, the interrupt vector is sent out on the internal data bus when the count value becomes zero.

【0210】払出制御用CPU371のCLK/TRG
2端子には、主基板31からのINT信号(払出制御信
号INT)が接続されている。CLK/TRG2端子に
クロック信号が入力されると、払出制御用CPU371
に内蔵されているタイマカウンタレジスタCLK/TR
G2(CTCのチャネル2のカウンタ)の値がダウンカ
ウントされる。そして、レジスタ値が0になると割込が
発生する。従って、図32に示すように、タイマカウン
タレジスタCLK/TRG2の初期値を「1」に設定し
ておけば、INT信号の入力に応じてレジスタ値が0に
なって割込が発生することになる。
CLK / TRG of payout control CPU 371
An INT signal (payout control signal INT) from the main board 31 is connected to the two terminals. When a clock signal is input to the CLK / TRG2 terminal, the payout control CPU 371
Timer / counter register CLK / TR built in
The value of G2 (CTC channel 2 counter) is down-counted. When the register value becomes 0, an interrupt occurs. Therefore, as shown in FIG. 32, if the initial value of the timer counter register CLK / TRG2 is set to “1”, the register value becomes 0 in response to the input of the INT signal and an interrupt occurs. Become.

【0211】払出制御基板37には、システムリセット
回路975も搭載されているが、この実施の形態では、
システムリセット回路975は、第2の電源監視回路
(第2の電源監視手段)も兼ねている。すなわち、リセ
ットIC976は、電源投入時に、外付けのコンデンサ
に容量で決まる所定時間だけ出力をローレベルとし、所
定時間が経過すると出力をハイレベルにする。また、リ
セットIC976は、電源基板910に搭載されている
第1の電源監視回路が監視する電源電圧と等しい電源電
圧であるVSLの電源電圧を監視して電圧値が所定値(例
えば+9V)以下になるとローレベルの電圧低下信号を
発生する。従って、電源断時には、リセットIC976
からの電圧低下信号がローレベルになることによって払
出制御用CPU371がシステムリセットされる。な
お、図31に示すように、電圧低下信号はリセット信号
と同じ出力信号である。
The payout control board 37 is also equipped with a system reset circuit 975. In this embodiment,
The system reset circuit 975 also functions as a second power supply monitoring circuit (second power supply monitoring unit). That is, when the power is turned on, the reset IC 976 sets the output to a low level for a predetermined time determined by the capacity of an external capacitor, and sets the output to a high level after the predetermined time has elapsed. The reset IC 976 monitors the power supply voltage of VSL, which is the same as the power supply voltage monitored by the first power supply monitoring circuit mounted on the power supply board 910, and the voltage value becomes equal to or less than a predetermined value (for example, +9 V). Then, a low level voltage drop signal is generated. Therefore, when the power is turned off, the reset IC 976
When the voltage drop signal from the CPU goes low, the payout control CPU 371 is reset. Note that, as shown in FIG. 31, the voltage drop signal is the same output signal as the reset signal.

【0212】リセットIC976が電源断を検知するた
めの所定値は、通常時の電圧より低いが、払出制御用C
PU371が暫くの間動作しうる程度の電圧である。ま
た、リセットIC976が、払出制御用CPU371が
必要とする電圧(この例では+5V)よりも高い電圧を
監視するように構成されているので、払出制御用CPU
371が必要とする電圧に対して監視範囲を広げること
ができる。従って、より精密な監視を行うことができ
る。
Although the predetermined value for the reset IC 976 to detect the power-off is lower than the normal voltage, the payout control C
This is a voltage at which the PU 371 can operate for a while. Further, since the reset IC 976 is configured to monitor a voltage higher than the voltage (+5 V in this example) required by the payout control CPU 371, the payout control CPU 371
The monitoring range can be extended for the voltage required by the 371. Therefore, more precise monitoring can be performed.

【0213】+5V電源から電力が供給されていない
間、払出制御用CPU371の内蔵RAMの少なくとも
一部は、電源基板から供給されるバックアップ電源がバ
ックアップ端子に接続されることによってバックアップ
され、遊技機に対する電源が断しても内容は保存され
る。そして、+5V電源が復旧すると、システムリセッ
ト回路975からリセット信号が発せられるので、払出
制御用CPU371は、通常の動作状態に復帰する。そ
のとき、必要なデータがバックアップされているので、
停電等からの復旧時には停電発生時の遊技状態に復帰す
ることができる。
While power is not supplied from the + 5V power supply, at least a part of the built-in RAM of the payout control CPU 371 is backed up by connecting a backup power supply supplied from the power supply board to the backup terminal. The contents are saved even if the power is turned off. Then, when the + 5V power supply is restored, a reset signal is issued from the system reset circuit 975, so that the payout control CPU 371 returns to the normal operation state. At that time, since the necessary data has been backed up,
Upon recovery from a power failure or the like, it is possible to return to the gaming state at the time of the power failure.

【0214】以上のように、この実施の形態では、電源
基板910に搭載されている第1の電源監視回路が、遊
技機で使用される直流電圧のうちで最も高い電源VSLの
電圧を監視して、その電源の電圧が所定値を下回ったら
電圧低下信号(電源断検出信号)を発生する。電源断検
出信号が出力されるタイミングでは、IC駆動電圧は、
まだ各種回路素子を十分駆動できる電圧値になってい
る。従って、IC駆動電圧で動作する払出制御基板37
の払出制御用CPU371が所定の電力供給停止時処理
を行うための動作時間が確保されている。
As described above, in this embodiment, the first power supply monitoring circuit mounted on the power supply board 910 monitors the highest voltage of the power supply VSL among the DC voltages used in the gaming machine. Then, when the voltage of the power supply falls below a predetermined value, a voltage drop signal (power-off detection signal) is generated. At the timing when the power-off detection signal is output, the IC drive voltage is
The voltage value is still enough to drive various circuit elements. Therefore, the payout control board 37 operated by the IC drive voltage
The operation time for the payout control CPU 371 to perform the predetermined power supply stop processing is secured.

【0215】なお、ここでも、第1の電源監視回路は、
遊技機で使用される直流電圧のうちで最も高い電源VSL
の電圧を監視することになるが、電源断検出信号を発生
するタイミングが、IC駆動電圧で動作する電気部品制
御手段が所定の電力供給停止時処理を行うための動作時
間が確保されるようなタイミングであれば、監視対象電
圧は、最も高い電源VSLの電圧でなくてもよい。すなわ
ち、少なくともIC駆動電圧よりも高い電圧を監視すれ
ば、電気部品制御手段が所定の電力供給停止時処理を行
うための動作時間が確保されるようなタイミングで電源
断検出信号を発生することができる。
Note that, also here, the first power supply monitoring circuit
Highest power supply VSL among DC voltages used in gaming machines
The power supply cutoff detection signal is generated at a timing such that the operation time for the electric component control means operating at the IC drive voltage to perform a predetermined power supply stop processing is secured. If it is timing, the monitoring target voltage need not be the highest voltage of the power supply VSL. That is, if at least the voltage higher than the IC drive voltage is monitored, the power-off detection signal can be generated at a timing such that the operation time for the electric component control means to perform the predetermined power supply stop processing is secured. it can.

【0216】その場合、上述したように、監視対象電圧
は、賞球カウントスイッチ301A等の遊技機の各種ス
イッチに供給される電圧が+12Vであることから、電
源断時のスイッチオン誤検出の防止も期待できる電圧で
あることが好ましい。すなわち、スイッチに供給される
電圧(スイッチ電圧)である+12V電源電圧が落ち始
める以前の段階で、電圧低下を検出できることが好まし
い。よって、少なくともスイッチ電圧よりも高い電圧を
監視することが好ましい。
In this case, as described above, since the voltage to be monitored is +12 V supplied to various switches of the gaming machine such as the prize ball count switch 301A, it is possible to prevent erroneous switch-on detection when the power is turned off. Is also a voltage that can be expected. That is, it is preferable that the voltage drop can be detected before the + 12V power supply voltage, which is the voltage (switch voltage) supplied to the switch, starts to drop. Therefore, it is preferable to monitor at least a voltage higher than the switch voltage.

【0217】なお、図31に示された構成では、システ
ムリセット回路975は、電源投入時に、コンデンサの
容量で決まる期間のローレベルを出力し、その後ハイレ
ベルを出力する。すなわち、リセット解除タイミングは
1回だけである。しかし、図11に示された主基板31
の場合と同様に、複数回のリセット解除タイミングが発
生するような回路構成を用いてもよい。
In the configuration shown in FIG. 31, when the power is turned on, the system reset circuit 975 outputs a low level for a period determined by the capacity of the capacitor, and then outputs a high level. That is, the reset release timing is only once. However, the main substrate 31 shown in FIG.
As in the case of the above, a circuit configuration that generates a plurality of reset release timings may be used.

【0218】図33は、払出制御用CPU371のメイ
ン処理を示すフローチャートである。メイン処理では、
払出制御用CPU371は、まず、必要な初期設定を行
う(ステップS701)。
FIG. 33 is a flowchart showing the main processing of the payout control CPU 371. In the main processing,
The payout control CPU 371 first performs necessary initial settings (step S701).

【0219】図34は、ステップS701の初期設定処
理を示すフローチャートである。初期設定処理におい
て、払出制御用CPU371は、まず、割込禁止に設定
する(ステップS701a)。次に、払出制御用CPU
371は、割込モードを割込モード2に設定し(ステッ
プS701b)、スタックポインタにスタックポインタ
指定アドレスを設定する(ステップS701c)。ま
た、払出制御用CPU371は、内蔵デバイスレジスタ
の初期化を行い(ステップS701d)、CTCおよび
PIOの初期化(ステップS701e)を行った後に、
RAMをアクセス可能状態に設定する(ステップS70
1f)。
FIG. 34 is a flowchart showing the initial setting process in step S701. In the initial setting process, the payout control CPU 371 first sets interrupt prohibition (step S701a). Next, the payout control CPU
The control unit 371 sets the interrupt mode to the interrupt mode 2 (step S701b), and sets a stack pointer designation address in the stack pointer (step S701c). Further, the payout control CPU 371 initializes the built-in device register (step S701d), and after initializing CTC and PIO (step S701e),
The RAM is set in an accessible state (step S70)
1f).

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

【0221】なお、タイマモードに設定されたチャネル
(この実施の形態ではチャネル3)に設定される割込ベ
クタは、タイマ割込処理の先頭番地に相当するものであ
る。具体的は、Iレジスタに設定された値と割込ベクタ
とでタイマ割込処理の先頭番地が特定される。タイマ割
込処理ではタイマ割込フラグがセットされ、メイン処理
でタイマ割込フラグがセットされていることが検知され
ると、払出制御処理が実行される。すなわち、タイマ割
込処理では、電気部品制御処理の一例である払出制御処
理を実行するための設定がなされる。
The interrupt vector set for the channel set in the timer mode (channel 3 in this embodiment) corresponds to the start address of the timer interrupt processing. Specifically, the start address of the timer interrupt processing is specified by the value set in the I register and the interrupt vector. In the timer interrupt process, the timer interrupt flag is set, and when it is detected in the main process that the timer interrupt flag is set, the payout control process is executed. That is, in the timer interrupt process, a setting for executing the payout control process, which is an example of the electrical component control process, is performed.

【0222】また、内蔵CTCのうちの他の一つのチャ
ネル(この実施の形態ではチャネル2)が、遊技制御手
段からの払出制御コマンド受信のための割込発生用のチ
ャネルとして用いられ、そのチャネルがカウンタモード
で使用される。従って、ステップS701dの内蔵デバ
イスレジスタの設定処理およびステップS701eの処
理において、使用するチャネルをカウンタモードに設定
するためのレジスタ設定、割込発生を許可するためのレ
ジスタ設定および割込ベクタを設定するためのレジスタ
設定が行われる。
Another channel of the built-in CTC (channel 2 in this embodiment) is used as a channel for generating an interrupt for receiving a payout control command from the game control means. Is used in the counter mode. Therefore, in the internal device register setting process of step S701d and the process of step S701e, the register setting for setting the channel to be used to the counter mode, the register setting for permitting the occurrence of interrupt, and the interrupt vector are set. Is set.

【0223】カウンタモードに設定されたチャネル(チ
ャネル2)に設定される割込ベクタは、後述するコマン
ド受信割込処理の先頭番地に相当するものである。具体
的は、Iレジスタに設定された値と割込ベクタとでコマ
ンド受信割込処理の先頭番地が特定される。
The interrupt vector set for the channel (channel 2) set to the counter mode corresponds to the head address of the command reception interrupt process described later. Specifically, the start address of the command reception interrupt processing is specified by the value set in the I register and the interrupt vector.

【0224】この実施の形態では、払出制御用CPU3
71でも割込モード2が設定される。従って、内蔵CT
Cのカウントアップにもとづく割込処理を使用すること
ができる。また、CTCが送出した割込ベクタに応じた
割込処理開始番地を設定することができる。
In this embodiment, the payout control CPU 3
At 71, the interrupt mode 2 is set. Therefore, the built-in CT
An interrupt process based on the count-up of C can be used. Further, it is possible to set an interrupt processing start address according to the interrupt vector transmitted by the CTC.

【0225】CTCのチャネル2(CH2)のカウント
アップにもとづく割込は、上述したタイマカウンタレジ
スタCLK/TRG2の値が「0」になったときに発生
する割込である。従って、例えばステップS701eに
おいて、特定レジスタとしてのタイマカウンタレジスタ
CLK/TRG2に初期値「1」が設定される。また、
CTCのチャネル3(CH3)のカウントアップにもと
づく割込は、CPUの内部クロック(システムクロッ
ク)をカウントダウンしてレジスタ値が「0」になった
ら発生する割込であり、後述する2msタイマ割込とし
て用いられる。具体的には、CH3のレジスタ値はシス
テムクロックの1/256周期で減算される。ステップ
S701eにおいて、CH3のレジスタには、初期値と
して2msに相当する値が設定される。なお、この実施
の形態では、CH2に関する割込番地は0074Hであ
り、CH3に関する割込番地は0076Hである。
The interrupt based on the count up of the channel 2 (CH2) of the CTC is an interrupt generated when the value of the timer counter register CLK / TRG2 becomes "0". Therefore, for example, in step S701e, the initial value “1” is set in the timer counter register CLK / TRG2 as the specific register. Also,
The interrupt based on the count up of the channel 3 (CH3) of the CTC is an interrupt generated when the register value becomes “0” after counting down the internal clock (system clock) of the CPU, and a 2 ms timer interrupt described later. Used as Specifically, the register value of CH3 is subtracted in 1/256 cycle of the system clock. In step S701e, a value corresponding to 2 ms is set as an initial value in the register of CH3. In this embodiment, the interrupt address for CH2 is 0074H, and the interrupt address for CH3 is 0076H.

【0226】上述したように、CTCのCH2のカウン
トアップにもとづく割込は、CH3のカウントアップに
もとづく割込よりも優先順位が高い。従って、同時にカ
ウントアップが生じた場合に、CH2のカウントアップ
にもとづく割込、すなわち、後述するコマンド受信割込
処理の実行契機となる割込の方が優先される。
As described above, the interrupt based on the count-up of CH2 of CTC has a higher priority than the interrupt based on the count-up of CH3. Therefore, when the count-up occurs at the same time, an interrupt based on the count-up of CH2, that is, an interrupt that triggers execution of a command reception interrupt process described later has priority.

【0227】そして、払出制御用CPU371は、払出
制御用のバックアップRAM領域にバックアップデータ
が存在しているか否かの確認を行う(ステップS70
2)。すなわち、例えば、主基板31のCPU56の処
理と同様に、電源断時にセットされるバックアップフラ
グがセット状態になっているか否かによって、バックア
ップデータが存在しているか否か確認する。バックアッ
プフラグがセット状態になっている場合には、バックア
ップデータありと判断する。バックアップデータなしと
判断された場合には、前回の電源オフ時に未払出の遊技
球がなかったことになり、内部状態を電源断時の状態に
戻す必要がない。従って、払出制御用CPU371は、
停電復旧時でない電源投入時に実行される初期化処理を
実行する(ステップS702,S703)。
The payout control CPU 371 checks whether backup data exists in the payout control backup RAM area (step S70).
2). That is, for example, similarly to the processing of the CPU 56 of the main board 31, it is determined whether or not backup data exists by determining whether or not a backup flag that is set when the power is turned off is in a set state. If the backup flag is set, it is determined that there is backup data. If it is determined that there is no backup data, it means that there was no unpaid game ball when the power was last turned off, and there is no need to return the internal state to the state when the power was turned off. Accordingly, the payout control CPU 371
An initialization process that is performed when the power is turned on, not when the power is restored, is executed (steps S702 and S703).

【0228】バックアップRAM領域にバックアップデ
ータが存在している場合には、払出制御用CPU371
は、バックアップRAM領域のデータチェック(この例
ではパリティチェック)を行う(ステップS704)。
不測の電源断が生じた後に復旧した場合には、バックア
ップRAM領域のデータは保存されていたはずであるか
ら、チェック結果は正常になる。チェック結果が正常で
ない場合には、内部状態を電源断時の状態に戻すことが
できないので、停電復旧時でない電源投入時に実行され
る初期化処理を実行する(ステップS705,S70
3)。
When the backup data exists in the backup RAM area, the payout control CPU 371
Performs a data check (parity check in this example) of the backup RAM area (step S704).
If the power is restored after an unexpected power failure, the data in the backup RAM area should have been saved, and the check result becomes normal. If the check result is not normal, since the internal state cannot be returned to the state at the time of power failure, the initialization processing executed at the time of power-on without power recovery is executed (steps S705 and S70).
3).

【0229】チェック結果が正常であれば、払出制御用
CPU371は、内部状態を電源断時の状態に戻すため
の払出状態復旧処理を行う(ステップS706)。そし
て、バックアップRAM領域に保存されていたPC(プ
ログラムカウンタ)の指すアドレスに復帰する(ステッ
プS707)。
If the check result is normal, the payout control CPU 371 performs a payout state restoring process for returning the internal state to the state at the time of power-off (step S706). Then, the process returns to the address indicated by the PC (program counter) stored in the backup RAM area (step S707).

【0230】通常の初期化処理の実行(ステップS70
3)を終えると、払出制御用CPU371により実行さ
れるメイン処理は、タイマ割込フラグの監視(ステップ
S708)の確認が行われるループ処理に移行する。
Execution of normal initialization processing (step S70)
After 3), the main process executed by the payout control CPU 371 shifts to a loop process in which the timer interrupt flag is monitored (step S708).

【0231】なお、この実施の形態では、ステップS7
02でバックアップデータの有無が確認された後、バッ
クアップデータが存在する場合にステップS704でバ
ックアップ領域のチェックが行われたが、逆に、バック
アップ領域のチェック結果が正常であったことが確認さ
れた後に、バックアップデータの有無の確認が行われる
ようにしてもよい。また、バックアップデータの有無の
確認、またはバックアップ領域のチェックの何れか一方
を確認することによって、停電復旧処理を実行するか否
かを判断するように構成してもよい。
Note that, in this embodiment, step S7
02, the presence or absence of backup data is checked, and if backup data exists, the backup area is checked in step S704. Conversely, it is confirmed that the backup area check result is normal. The confirmation of the presence or absence of the backup data may be performed later. Further, it may be configured to determine whether or not to execute the power failure recovery process by confirming whether or not there is backup data or checking the backup area.

【0232】また、例えば停電復旧処理を実行するか否
か判断する場合のパリティチェック(ステップS70
4)の際などに、すなわち、遊技状態を復旧するか否か
判断する際に、保存されていたRAMデータにおける払
出遊技球数データ等によって、遊技機が払出待機状態
(払出途中でない状態)であることが確認されたら、払
出状態復旧処理を行わずに初期化処理を実行するように
してもよい。
Also, for example, a parity check for determining whether or not to execute the power failure recovery processing (step S70)
In the case of 4) or the like, that is, when it is determined whether or not the gaming state is to be restored, the gaming machine is in the standby state for payout (not in the middle of payout) due to the number of payout game balls in the stored RAM data. If it is confirmed that there is, the initialization processing may be executed without performing the payout state restoration processing.

【0233】通常の初期化処理では、図35に示すよう
に、レジスタおよびRAMのクリア処理(ステップS9
01)が行われ、所定の初期値の設定が行われる(ステ
ップS902)。そして、初期設定処理(ステップS7
01a)において割込禁止とされているので、初期化処
理を終える前に割込が許可される(ステップS90
3)。
In the normal initialization process, as shown in FIG. 35, the register and RAM are cleared (step S9).
01) is performed, and a predetermined initial value is set (step S902). Then, the initial setting process (step S7)
01a), the interrupt is prohibited, so the interrupt is permitted before the initialization process is completed (step S90).
3).

【0234】この実施の形態では、払出制御用CPU3
71のCTCのCH3が繰り返しタイマ割込を発生する
ように設定される。また、繰り返し周期は2msに設定
される。そして、図36に示すように、タイマ割込が発
生すると、払出制御用CPU371は、タイマ割込フラ
グをセットする(ステップS711)。なお、図36に
は割込を許可することも明示されているが(ステップS
710)、2msタイマ割込処理では、最初に割込許可
状態に設定される。すなわち、2msタイマ割込処理中
には割込許可状態になっている。
In this embodiment, the payout control CPU 3
CH3 71 is set to repeatedly generate a timer interrupt. The repetition period is set to 2 ms. Then, as shown in FIG. 36, when a timer interrupt occurs, the payout control CPU 371 sets a timer interrupt flag (step S711). Note that FIG. 36 also clearly indicates that the interrupt is permitted (step S
710) In the 2 ms timer interrupt processing, first, the interrupt permission state is set. That is, the interrupt is permitted during the 2 ms timer interrupt process.

【0235】払出制御用CPU371は、ステップS7
08において、タイマ割込フラグがセットされたことを
検出すると、タイマ割込フラグをリセットするとともに
(ステップS709)、払出制御処理を実行する(ステ
ップS710)。以上の制御によって、この実施の形態
では、払出制御処理は2ms毎に起動されることにな
る。なお、この実施の形態では、タイマ割込処理ではフ
ラグセットのみがなされ、払出制御処理はメイン処理に
おいて実行されるが、タイマ割込処理で払出制御処理を
実行してもよい。
The payout control CPU 371 determines in step S7
If it is detected at 08 that the timer interrupt flag has been set, the timer interrupt flag is reset (step S709), and a payout control process is executed (step S710). According to the above control, in this embodiment, the payout control process is started every 2 ms. In this embodiment, only the flag is set in the timer interrupt processing, and the payout control processing is executed in the main processing. However, the payout control processing may be executed in the timer interrupt processing.

【0236】払出制御用CPU371は、電源投入時
に、バックアップRAM領域のデータを確認するだけ
で、通常の初期設定処理を行うのか払出中の状態を復元
するのか決定できる。すなわち、簡単な判断によって、
未払出の遊技球について払出処理再開を行うことができ
る。さらに、この実施の形態では、主基板31における
遊技制御と同様に、パリティチェックコードによって記
憶内容保存の確実化が図られている。
At the time of power-on, the payout control CPU 371 can determine whether to perform the normal initialization processing or restore the payout state only by checking the data in the backup RAM area. That is, with a simple judgment,
The payout process can be restarted for unpaid game balls. Further, in this embodiment, as in the case of the game control on the main board 31, the storage contents are reliably stored by the parity check code.

【0237】図37は、払出制御用CPU371が内蔵
するRAMの使用例を示す説明図である。この例では、
バックアップRAM領域に総合個数記憶(例えば2バイ
ト)および貸し球個数記憶が形成されている。総合個数
記憶は、主基板31の側から指示された払出個数の総数
を記憶するものである。貸し球個数記憶は、未払出の球
貸し個数を記憶するものである。
FIG. 37 is an explanatory diagram showing an example of use of the RAM incorporated in the payout control CPU 371. In this example,
In the backup RAM area, a total number storage (for example, 2 bytes) and a rental ball number storage are formed. The total number storage stores the total number of payouts instructed from the main board 31 side. The rental ball number storage stores the number of unpaid ball rentals.

【0238】図38は、主基板31から受信した払出制
御コマンドを格納するための受信バッファの一構成例を
示す説明図である。この例では、2バイト構成の払出制
御コマンドを6個格納可能なリングバッファ形式の受信
バッファが用いられる。従って、受信バッファは、確定
コマンドバッファ1〜12の12バイトの領域で構成さ
れる。そして、受信したコマンドをどの領域に格納する
のかを示すコマンド受信個数カウンタが用いられる。コ
マンド受信個数カウンタは、0〜11の値をとる。
FIG. 38 is an explanatory diagram showing an example of the configuration of a receiving buffer for storing the payout control command received from the main board 31. In this example, a ring buffer type receiving buffer capable of storing six payout control commands having a 2-byte configuration is used. Therefore, the reception buffer is constituted by a 12-byte area of the fixed command buffers 1 to 12. Then, a command reception number counter indicating in which area the received command is stored is used. The command reception number counter takes a value from 0 to 11.

【0239】図39は、割込処理による払出制御コマン
ド受信処理を示すフローチャートである。主基板31か
らの払出制御用のINT信号は払出制御用CPU371
のCLK/TRG2端子に入力されている。よって、主
基板31からのINT信号がオン状態になると、初期値
として「1」が設定されていたタイマカウンタレジスタ
CLK/TRG2の値が0になって払出制御用CPU3
71において割込がかかる。そして、図38に示す払出
制御コマンドの受信処理が開始される。なお、払出制御
コマンド受信処理の開始番地は、内蔵CTCから出力さ
れる割込ベクタとIレジスタに設定された値とで決定さ
れる番地である。また、タイマカウンタレジスタCLK
/TRG2の値が0になると、その値は自動的に初期値
(この例では「1」)に戻される。
FIG. 39 is a flowchart showing a payout control command receiving process by the interrupt process. An INT signal for payout control from the main board 31 is supplied to a payout control CPU 371.
Are input to the CLK / TRG2 terminal. Therefore, when the INT signal from the main board 31 is turned on, the value of the timer counter register CLK / TRG2, which has been set to “1” as the initial value, becomes 0, and the payout control CPU 3
At 71, an interrupt occurs. Then, the payout control command receiving process shown in FIG. 38 is started. The start address of the payout control command receiving process is an address determined by the interrupt vector output from the built-in CTC and the value set in the I register. Also, the timer counter register CLK
When the value of / TRG2 becomes 0, that value is automatically returned to the initial value ("1" in this example).

【0240】払出制御コマンドの受信処理において、払
出制御用CPU371は、まず、各レジスタをスタック
に退避する(ステップS850)。なお、割込が発生す
るとCPU371は自動的に割込禁止状態に設定する
が、自動的に割込禁止状態にならないCPUを用いてい
る場合には、ステップS850の処理の実行前に割込禁
止命令(DI命令)を発行することが好ましい。次い
で、払出制御コマンドデータの入力に割り当てられてい
る入力ポート372aからデータを読み込む(ステップ
S851)。そして、2バイト構成の払出制御コマンド
のうちの1バイト目であるか否か確認する(ステップS
852)。1バイト目であるか否かは、受信したコマン
ドの先頭ビットが「1」であるか否かによって確認され
る。先頭ビットが「1」であるのは、2バイト構成であ
る払出制御コマンドのうちのMODEバイト(1バイト
目)のはずである(図19参照)。そこで、払出制御用
CPU371は、先頭ビットが「1」であれば、有効な
1バイト目を受信したとして、受信したコマンドを受信
バッファ領域におけるコマンド受信個数カウンタが示す
確定コマンドバッファに格納する(ステップS85
3)。
In the processing of receiving the payout control command, the payout control CPU 371 first saves each register in the stack (step S850). Note that when an interrupt occurs, the CPU 371 automatically sets the interrupt prohibition state. However, when a CPU that does not automatically enter the interrupt prohibition state is used, the interrupt prohibition is performed before the execution of the process of step S850. It is preferable to issue an instruction (DI instruction). Next, data is read from the input port 372a assigned to the input of the payout control command data (step S851). Then, it is confirmed whether or not this is the first byte of the payout control command having the 2-byte structure (step S).
852). Whether it is the first byte or not is confirmed by whether or not the first bit of the received command is “1”. The first bit should be “1” in the MODE byte (first byte) of the payout control command having a 2-byte configuration (see FIG. 19). Therefore, if the first bit is “1”, the payout control CPU 371 determines that the valid first byte has been received, and stores the received command in the confirmed command buffer indicated by the command reception number counter in the reception buffer area (step S85
3).

【0241】払出制御コマンドのうちの1バイト目でな
ければ、1バイト目を既に受信したか否か確認する(ス
テップS854)。既に受信したか否かは、受信バッフ
ァ(確定コマンドバッファ)に有効なデータが設定され
ているか否かによって確認される。
If it is not the first byte of the payout control command, it is confirmed whether or not the first byte has already been received (step S854). Whether or not the data has already been received is confirmed based on whether or not valid data is set in the reception buffer (fixed command buffer).

【0242】1バイト目を既に受信している場合には、
受信した1バイトのうちの先頭ビットが「0」であるか
否か確認する。そして、先頭ビットが「0」であれば、
有効な2バイト目を受信したとして、受信したコマンド
を、受信バッファ領域におけるコマンド受信個数カウン
タ+1が示す確定コマンドバッファに格納する(ステッ
プS855)。先頭ビットが「0」であるのは、2バイ
ト構成である払出制御コマンドのうちのEXTバイト
(2バイト目)のはずである(図19参照)。なお、ス
テップS854における確認結果が1バイト目を既に受
信したである場合には、2バイト目として受信したデー
タのうちの先頭ビットが「0」でなければ処理を終了す
る。
If the first byte has already been received,
It is checked whether the first bit of the received 1 byte is “0”. And if the first bit is “0”,
Assuming that the valid second byte has been received, the received command is stored in the fixed command buffer indicated by the command reception number counter +1 in the reception buffer area (step S855). The first bit should be “0” in the EXT byte (the second byte) of the payout control command having the two-byte configuration (see FIG. 19). If it is determined in step S854 that the first byte has already been received, the process ends if the first bit of the data received as the second byte is not “0”.

【0243】ステップS855において、2バイト目の
コマンドデータを格納すると、コマンド受信個数カウン
タに2を加算する(ステップS856)。そして、コマ
ンド受信カウンタが12以上であるか否か確認し(ステ
ップS857)、12以上であればコマンド受信個数カ
ウンタをクリアする(ステップS858)。その後、退
避されていたレジスタを復帰し(ステップS859)、
割込許可に設定する(ステップS859)。
In step S855, when the command data of the second byte is stored, 2 is added to the command reception number counter (step S856). Then, it is checked whether or not the command reception counter is 12 or more (step S857), and if it is 12, the command reception number counter is cleared (step S858). After that, the saved register is restored (step S859),
Interrupt permission is set (step S859).

【0244】コマンド受信割込処理中は割込禁止状態に
なっている。上述したように、2msタイマ割込処理中
は割込許可状態になっているので、2msタイマ割込中
にコマンド受信割込が発生した場合には、コマンド受信
割込処理が優先して実行される。また、コマンド受信割
込処理中に2msタイマ割込が発生しても、その割込処
理は待たされる。このように、この実施の形態では、主
基板31からのコマンド受信処理の処理優先度が高くな
っている。また、コマンド受信処理中には他の割込処理
が実行されないので、コマンド受信処理に要する最長時
間は決まる。コマンド受信処理中に他の割込処理が実行
可能であるように構成したのでは、コマンド受信処理に
要する最長の時間を見積もることは困難である。コマン
ド受信処理に要する最長時間が決まるので、遊技制御手
段のコマンド送出処理におけるCの期間(図20参照)
をどの程度にすればよいのかを正確に判断することがで
きる。
During the command reception interruption processing, interruption is prohibited. As described above, the interrupt is permitted during the 2 ms timer interrupt process. Therefore, if a command reception interrupt occurs during the 2 ms timer interrupt, the command reception interrupt process is executed with priority. You. Further, even if a 2 ms timer interrupt occurs during the command reception interrupt process, the interrupt process is kept waiting. As described above, in this embodiment, the processing priority of the command reception processing from the main board 31 is high. Further, since no other interrupt processing is executed during the command reception processing, the maximum time required for the command reception processing is determined. It is difficult to estimate the longest time required for the command receiving process if the configuration is such that another interrupt process can be executed during the command receiving process. Since the maximum time required for the command receiving process is determined, a period C in the command sending process of the game control means (see FIG. 20)
Can be accurately determined.

【0245】また、払出制御コマンドは2バイト構成で
あって、1バイト目(MODE)と2バイト目(EX
T)とは、受信側で直ちに区別可能に構成されている。
すなわち、先頭ビットによって、MODEとしてのデー
タを受信したのかEXTとしてのデータを受信したのか
を、受信側において直ちに検出できる。よって、上述し
たように、適正なデータを受信したのか否かを容易に判
定することができる。
The payout control command has a 2-byte structure, and includes a first byte (MODE) and a second byte (EX).
T) is configured to be immediately distinguishable on the receiving side.
In other words, the receiving side can immediately detect whether the data as MODE or the data as EXT has been received by the first bit. Therefore, as described above, it can be easily determined whether or not appropriate data has been received.

【0246】図40は、ステップS710の払出制御処
理を示すフローチャートである。払出制御処理におい
て、払出制御用CPU371は、まず、中継基板72を
介して入力ポート372bに入力される賞球カウントス
イッチ301A、球貸しカウントスイッチ301Bがオ
ンしたか否かを判定する(スイッチ処理:ステップS7
51)。
FIG. 40 is a flowchart showing the payout control processing in step S710. In the payout control processing, the payout control CPU 371 first determines whether or not the prize ball count switch 301A and the ball lending count switch 301B input to the input port 372b via the relay board 72 are turned on (switch processing: Step S7
51).

【0247】次に、払出制御用CPU371は、センサ
(例えば、払出モータ289の回転数を検出するモータ
位置センサ)からの信号入力状態を確認してセンサの状
態を判定する等の処理を行う(入力判定処理:ステップ
S752)。払出制御用CPU371は、さらに、受信
した払出制御コマンドを解析し、解析結果に応じた処理
を実行する(コマンド解析実行処理:ステップS75
3)。
Next, the payout control CPU 371 performs processing such as checking the signal input state from a sensor (for example, a motor position sensor for detecting the number of revolutions of the payout motor 289) and judging the state of the sensor (for example). Input determination processing: Step S752). The payout control CPU 371 further analyzes the received payout control command and executes processing according to the analysis result (command analysis execution processing: step S75).
3).

【0248】次いで、払出制御用CPU371は、主基
板31から払出停止指示コマンドを受信していたら払出
停止状態に設定し、払出開始指示コマンドを受信してい
たら払出停止状態の解除を行う(ステップS754)。
また、プリペイドカードユニット制御処理を行う(ステ
ップS755)。
Next, the payout control CPU 371 sets the payout stop state if the payout stop command is received from the main board 31, and cancels the payout stop state if the payout start instruction command is received (step S754). ).
Further, a prepaid card unit control process is performed (step S755).

【0249】次いで、払出制御用CPU371は、球貸
し要求に応じて貸し球を払い出す制御を行う(ステップ
S756)。さらに、払出制御用CPU371は、総合
個数記憶に格納された個数の賞球を払い出す賞球制御処
理を行う(ステップS757)。そして、払出制御用C
PU371は、出力ポート372cおよび中継基板72
を介して球払出装置97の払出機構部分における払出モ
ータ289に対して駆動信号を出力し、ステップS75
6の球貸し制御処理またはステップS757の賞球制御
処理で設定された回転数分払出モータ289を回転させ
る払出モータ制御処理を行う(ステップS758)。
Next, the payout control CPU 371 performs control to pay out the lent ball in response to the ball lending request (step S756). Further, the payout control CPU 371 performs a prize ball control process of paying out the prize balls of the number stored in the total number storage (step S757). And payout control C
The PU 371 includes the output port 372c and the relay board 72.
A drive signal is output to the payout motor 289 in the payout mechanism portion of the ball payout device 97 through the step S75.
A payout motor control process of rotating the payout motor 289 by the number of revolutions set in the ball lending control process of No. 6 or the prize ball control process of step S757 is performed (step S758).

【0250】なお、この実施の形態では、払出モータ2
89としてステッピングモータが用いられ、払出モータ
289を制御するために1−2相励磁方式が用いられ
る。従って、具体的には、払出モータ制御処理におい
て、8種類の励磁パターンデータが繰り返し払出モータ
289に出力される。また、この実施の形態では、各励
磁パターンデータが4msずつ出力される。
In this embodiment, the delivery motor 2
A stepping motor is used as 89, and a 1-2-phase excitation method is used to control the payout motor 289. Therefore, specifically, in the payout motor control processing, eight types of excitation pattern data are repeatedly output to the payout motor 289. In this embodiment, each excitation pattern data is output for 4 ms.

【0251】次いで、エラー検出処理が行われ、その結
果に応じてエラー表示LED374に所定の表示を行う
(エラー処理:ステップS759)。検出されるエラー
として、例えば、次の8種類がある。
Next, error detection processing is performed, and a predetermined display is made on the error display LED 374 according to the result (error processing: step S759). For example, the following eight types of errors are detected.

【0252】賞球経路エラー:賞球払出動作終了したと
き、または払出モータ289が1回転したときに賞球カ
ウントスイッチ301Aが1個も遊技球の通過を検出し
なかったとき。エラー表示LED374に「0」が表示
される。
Prize ball path error: When the prize ball payout operation is completed, or when the payout motor 289 makes one rotation, no prize ball count switch 301A detects the passage of a game ball. “0” is displayed on the error display LED 374.

【0253】球貸し経路エラー:球貸しの払出動作終了
したとき、または払出モータ289が1回転したときに
球貸しカウントスイッチ301Bが1個も遊技球の通過
を検出しなかったとき。エラー表示LED374に
「1」が表示される。
Ball lending path error: When the ball lending payout operation is completed, or when the payout motor 289 makes one revolution, the ball lending count switch 301B does not detect any passage of the game ball. “1” is displayed on the error display LED 374.

【0254】賞球カウントスイッチ球詰まりエラー:賞
球カウントスイッチ301Aが0.5秒以上オンを検出
したとき。エラー表示LED374に「2」が表示され
る。
Prize ball count switch ball clogging error: when the prize ball count switch 301A detects ON for 0.5 seconds or more. “2” is displayed on the error display LED 374.

【0255】球貸しカウントスイッチ球詰まりエラー:
球貸しカウントスイッチ301Bが0.5秒以上オンを
検出したとき。エラー表示LED374に「3」が表示
される。
Ball lending count switch Ball clogging error:
When the ball lending count switch 301B detects ON for 0.5 seconds or more. “3” is displayed on the error display LED 374.

【0256】払出モータ球噛みエラー:払出モータ28
9が正常に回転しないとき。具体的には、払出モータ位
置センサのオンが所定期間以上継続したり、オフが所定
期間以上継続した場合。エラー表示LED374に
「4」が表示される。なお、払出モータ球噛みエラーが
生じた場合には、払出制御用CPU371は、50ms
の基準励磁相の出力を行った後、1−2相励磁の励磁パ
ターンデータのうちの4種類の励磁パターンデータを8
ms毎に出力することによる払出モータ289の逆回転
と正回転を繰り返す。
Discharge motor ball biting error: Dispense motor 28
When 9 does not rotate normally. Specifically, when the payout motor position sensor has been on for a predetermined period or more, or has been turned off for a predetermined period or more. “4” is displayed on the error display LED 374. Note that when a payout motor ball biting error occurs, the payout control CPU 371 sets the time to 50 ms.
After the reference excitation phase is output, four types of excitation pattern data of the excitation pattern data of the 1-2 phase excitation are
The output motor 289 repeats the reverse rotation and the normal rotation by outputting the output every ms.

【0257】プリペイドカードユニット未接続エラー:
VL信号のオフが検出されたとき。エラー表示LED3
74に「5」が表示される。
Prepaid card unit not connected error:
When the off of the VL signal is detected. Error display LED3
“5” is displayed at 74.

【0258】プリペイドカードユニット通信エラー:規
定のタイミング以外でプリペイドカードユニット50か
ら信号出力されたことを検出したとき。エラー表示LE
D374に「6」が表示される。
Prepaid card unit communication error: When it is detected that a signal is output from the prepaid card unit 50 at a timing other than the prescribed timing. Error display LE
“6” is displayed in D374.

【0259】払出停止状態:主基板31から払出停止を
示す払出制御コマンドを受信したとき。エラー表示LE
D374に「7」が表示される。なお、主基板31から
払出開始を示す払出制御コマンドを受信したときには、
その時点から2002ms後に、払出停止状態から払出
可能状態に復帰する。
Dispensing stop state: When a dispensing control command indicating dispensing stop is received from main board 31. Error display LE
“7” is displayed in D374. When a payout control command indicating the start of payout is received from the main board 31,
After 2002 ms from that point, the state returns from the payout stop state to the payable state.

【0260】さらに、外部接続端子(図示せず)から出
力する情報信号を制御する処理を行う(出力処理:ステ
ップS760)。なお、情報信号は、貸し球の払出一単
位(例えば25個)ごとに所定時間オンとなり、続いて
所定時間オフを出力する信号である。
Further, processing for controlling an information signal output from an external connection terminal (not shown) is performed (output processing: step S760). The information signal is a signal that is turned on for a predetermined period of time for each unit of payout of a lent ball (for example, 25 pieces), and subsequently, is output as off for a predetermined period.

【0261】図41は、ステップS751のスイッチ処
理の一例を示すフローチャートである。スイッチ処理に
おいて、払出制御用CPU371は、賞球カウントスイ
ッチ301Aがオン状態を示しているか否か確認する
(ステップS751a)。オン状態を示していれば、払
出制御用CPU371は、賞球カウントスイッチオンカ
ウンタを+1する(ステップS751b)。賞球カウン
トスイッチオンカウンタは、賞球カウントスイッチ30
1Aのオン状態を検出した回数を計数するためのカウン
タである。
FIG. 41 is a flowchart showing an example of the switch processing in step S751. In the switch processing, the payout control CPU 371 checks whether or not the award ball count switch 301A indicates the ON state (step S751a). If it indicates the ON state, the payout control CPU 371 increments the winning ball count switch ON counter by one (step S751b). The prize ball count switch on counter includes the prize ball count switch 30.
This is a counter for counting the number of times the 1A ON state is detected.

【0262】そして、賞球カウントスイッチオンカウン
タの値をチェックし(ステップS751c)、その値が
2になっていれば、1個の賞球の払出が行われたと判断
する。1個の賞球の払出が行われたと判断した場合に
は、払出制御用CPU371は、賞球未払出カウンタ
(総合個数記憶に格納されている賞球数)を−1する
(ステップS751d)。
Then, the value of the prize ball count switch on counter is checked (step S751c). If the value is 2, it is determined that one prize ball has been paid out. When determining that one prize ball has been paid out, the payout control CPU 371 decrements the prize ball non-payout counter (the number of prize balls stored in the total number storage) (step S751d).

【0263】ステップS751aにおいて賞球カウント
スイッチ301Aがオン状態でないことが確認される
と、払出制御用CPU371は、賞球カウントスイッチ
オンカウンタをクリアする(ステップS751e)。そ
して、この実施の形態では、球貸しカウントスイッチ3
01Bがオン状態を示しているか否か確認する(ステッ
プS751f)。オン状態を示していれば、払出制御用
CPU371は、球貸しカウントスイッチオンカウンタ
を+1する(ステップS751g)。球貸しカウントス
イッチオンカウンタは、球貸しカウントスイッチ301
Bのオン状態を検出した回数を計数するためのカウンタ
である。
If it is confirmed in step S751a that the prize ball count switch 301A is not on, the payout control CPU 371 clears the prize ball count switch on counter (step S751e). In this embodiment, the ball rental count switch 3
It is checked whether 01B indicates the ON state (step S751f). If it indicates the ON state, the payout control CPU 371 increments the ball lending count switch ON counter by one (step S751g). The ball rental count switch on counter is a ball rental count switch 301
This is a counter for counting the number of times the ON state of B is detected.

【0264】そして、球貸しカウントスイッチオンカウ
ンタの値をチェックし(ステップS751h)、その値
が2になっていれば、1個の貸し球の払出が行われたと
判断する。1個の貸し球の払出が行われたと判断した場
合には、払出制御用CPU371は、貸し球未払出個数
カウンタ(貸し球個数記憶に格納されている貸し球数)
を−1する(ステップS751i)。
Then, the value of the ball lending count switch on counter is checked (step S751h), and if the value is 2, it is determined that one ball has been paid out. If it is determined that one loaned ball has been paid out, the payout control CPU 371 determines the number-of-lent-ball-unpaid-number counter (number of loaned balls stored in the number-of-lent-ball storage).
Is decremented by 1 (step S751i).

【0265】ステップS751fにおいて球貸しカウン
トスイッチ301Bがオン状態でないことが確認される
と、払出制御用CPU371は、球貸しカウントスイッ
チオンカウンタをクリアする(ステップS751j)。
If it is determined in step S751f that the ball lending count switch 301B is not on, the payout control CPU 371 clears the ball lending count switch on counter (step S751j).

【0266】図42は、ステップS753のコマンド解
析実行処理の一例を示すフローチャートである。コマン
ド解析実行処理において、払出制御用CPU371は、
確定コマンドバッファ領域中に受信コマンドがあるか否
かの確認を行う(ステップS753a)。受信コマンド
があれば、受信した払出制御コマンドが払出個数指示コ
マンドであるか否かの確認を行う(ステップS753
b)。なお、確定コマンドバッファ領域中に複数の受信
コマンドがある場合には、受信した払出制御コマンドが
払出個数指示コマンドであるか否かの確認は、最も前に
受信された受信された受信コマンドについて行われる。
FIG. 42 is a flowchart showing an example of the command analysis execution processing in step S753. In the command analysis execution processing, the payout control CPU 371
It is checked whether there is a received command in the confirmed command buffer area (step S753a). If there is a received command, it is checked whether the received payout control command is a payout number instruction command (step S753).
b). If there are a plurality of received commands in the confirmed command buffer area, whether or not the received payout control command is the payout number instruction command is checked for the earliest received received command. Will be

【0267】受信した払出制御コマンドが払出個数指示
コマンドであれば、払出個数指示コマンドで指示された
個数を総合個数記憶に加算する(ステップS753
c)。すなわち、払出制御用CPU371は、主基板3
1のCPU56から送られた払出個数指示コマンドに含
まれる賞球数をバックアップRAM領域(総合個数記
憶)に記憶する。
If the received payout control command is the payout number instruction command, the number specified by the payout number instruction command is added to the total number storage (step S753).
c). That is, the payout control CPU 371 is connected to the main board 3
The number of prize balls included in the number-of-payouts instruction command sent from the first CPU 56 is stored in the backup RAM area (total number storage).

【0268】なお、払出制御用CPU371は、必要な
らば、コマンド受信個数カウンタの減算や確定コマンド
バッファ領域における受信コマンドシフト処理を行う。
It is to be noted that the payout control CPU 371 performs a command decrement of the command reception number counter and a received command shift process in the confirmed command buffer area, if necessary.

【0269】図43は、ステップS754の払出停止状
態設定処理の一例を示すフローチャートである。払出停
止状態設定処理において、払出制御用CPU371は、
確定コマンドバッファ領域中に受信コマンドがあるか否
かの確認を行う(ステップS754a)。確定コマンド
バッファ領域中に受信コマンドがあれば、受信した払出
制御コマンドが払出停止指示コマンドであるか否かの確
認を行う(ステップS754b)。払出停止指示コマン
ドであれば、払出制御用CPU371は、払出停止状態
に設定する(ステップS754c)。
FIG. 43 is a flowchart showing an example of the payout stop state setting process in step S754. In the payout stop state setting process, the payout control CPU 371
It is checked whether there is a received command in the confirmed command buffer area (step S754a). If there is a received command in the confirmed command buffer area, it is checked whether or not the received payout control command is a payout stop instruction command (step S754b). If the command is the payout stop instruction command, the payout control CPU 371 sets the payout stop state (step S754c).

【0270】ステップS754bで受信コマンドが払出
停止指示コマンドでないことを確認すると、受信した払
出制御コマンドが払出開始指示コマンドであるか否かの
確認を行う(ステップS754d)。払出開始指示コマ
ンドであれば、払出停止状態を解除する(ステップS7
54e)。
If it is determined in step S754b that the received command is not a payout stop command, it is checked whether the received payout control command is a payout start command (step S754d). If the command is a payout start instruction command, the payout stop state is released (step S7).
54e).

【0271】図44は、ステップS755のプリペイド
カードユニット制御処理の一例を示すフローチャートで
ある。プリペイドカードユニット制御処理において、払
出制御用CPU371は、カードユニット制御用マイク
ロコンピュータより入力されるVL信号を検知したか否
かを確認する(ステップS755a)。VL信号を検知
していなければ、VL信号非検知カウンタを+1する
(ステップS755b)。また、払出制御用CPU37
1は、VL信号非検知カウンタの値が本例では125で
あるか否か確認する(ステップS755c)。VL信号
非検知カウンタの値が125であれば、払出制御用CP
U371は、発射制御基板91への発射制御信号出力を
停止して、駆動モータ94を停止させる(ステップS7
55d)。
FIG. 44 is a flowchart showing an example of the prepaid card unit control processing in step S755. In the prepaid card unit control process, the payout control CPU 371 checks whether or not the VL signal input from the card unit control microcomputer has been detected (step S755a). If the VL signal has not been detected, the VL signal non-detection counter is incremented by 1 (step S755b). The payout control CPU 37
1 checks whether the value of the VL signal non-detection counter is 125 in this example (step S755c). If the value of the VL signal non-detection counter is 125, the payout control CP
U371 stops the emission control signal output to the emission control board 91 and stops the drive motor 94 (step S7).
55d).

【0272】以上の処理によって、125回(2ms×
125=250ms)継続してVL信号のオフが検出さ
れたら、球発射禁止状態に設定される。
By the above processing, 125 times (2 ms ×
(125 = 250 ms) If the OFF of the VL signal is detected continuously, the state is set to the ball firing prohibited state.

【0273】ステップS755aにおいてVL信号を検
知していれば、払出制御用CPU371は、VL信号非
検知カウンタをクリアする(ステップS755e)。そ
して、払出制御用CPU371は、発射制御信号出力を
停止していれば(ステップS755f)、発射制御基板
91への発射制御信号出力を開始して駆動モータ94を
動作可能状態にする(ステップS755g)。
If the VL signal has been detected in step S755a, the payout control CPU 371 clears the VL signal non-detection counter (step S755e). If the output of the firing control signal has been stopped (step S755f), the payout control CPU 371 starts outputting the firing control signal to the firing control board 91 to make the drive motor 94 operable (step S755g). .

【0274】図45および図46は、ステップS756
の球貸し制御処理の一例を示すフローチャートである。
なお、この実施の形態では、連続的な払出数の最大値を
貸し球の一単位(例えば25個)とするが、連続的な払
出数の最大値は他の数であってもよい。
FIGS. 45 and 46 show steps S756 and S756.
It is a flowchart which shows an example of the ball lending control process.
In this embodiment, the maximum value of the number of consecutive payouts is one unit of the lending ball (for example, 25), but the maximum value of the number of consecutive payouts may be another number.

【0275】球貸し制御処理において、払出制御用CP
U371は、貸し球払出中であるか否かの確認を行い
(ステップS511)、貸し球払出中であれば図46に
示す球貸し中の処理に移行する。なお、貸し球払出中で
あるか否かは、後述する球貸し処理中フラグの状態によ
って判断される。貸し球払出中でなければ、賞球の払出
中であるか否か確認する(ステップS512)。賞球の
払出中であるか否は、後述する賞球処理中フラグの状態
によって判断される。
In the ball lending control process, the payout control CP
The U371 checks whether or not the ball is being paid out (step S511). If the ball is being paid out, the process shifts to the ball lending process shown in FIG. Whether or not the ball is being paid out is determined based on the state of a ball lending process flag described later. If the ball is not being paid out, it is confirmed whether or not the prize ball is being paid out (step S512). Whether or not a prize ball is being paid out is determined by the state of a prize ball processing flag described later.

【0276】貸し球払出中でも賞球払出中でもなけれ
ば、払出制御用CPU371は、カードユニット50か
ら球貸し要求があったか否かを確認する(ステップS5
13)。要求があれば、球貸し処理中フラグをオンする
とともに(ステップS514)、25(球貸し一単位
数:ここでは100円分)をバックアップRAM領域の
貸し球個数記憶に設定する(ステップS515)。そし
て、払出制御用CPU371は、EXS信号をオンする
(ステップS516)。また、球払出装置97の下方の
球振分部材311を球貸し側に設定するために振分用ソ
レノイド310を駆動する(ステップS517)。さら
に、払出モータ289をオンして(ステップS51
8)、図46に示す球貸し中の処理に移行する。
If neither a loaned ball is being paid out nor a prize ball is being paid out, the payout control CPU 371 checks whether or not a ball lending request has been issued from the card unit 50 (step S5).
13). If there is a request, the ball lending process flag is turned on (step S514), and 25 (the number of ball lending units: 100 yen here) is set in the lending ball number storage in the backup RAM area (step S515). Then, the payout control CPU 371 turns on the EXS signal (step S516). Further, the distributing solenoid 310 is driven to set the ball distributing member 311 below the ball dispensing device 97 to the ball lending side (step S517). Further, the payout motor 289 is turned on (step S51).
8) The process proceeds to the ball lending process shown in FIG.

【0277】なお、払出モータ289をオンするのは、
厳密には、カードユニット50が受付を認識したことを
示すためにBRQ信号をOFFとしてからである。な
お、球貸し処理中フラグはバックアップRAM領域に設
定される。
The turning on of the payout motor 289 is
Strictly speaking, the BRQ signal is turned off to indicate that the card unit 50 has recognized the reception. The ball lending processing flag is set in the backup RAM area.

【0278】図46は、払出制御用CPU371による
払出制御処理における球貸し中の処理を示すフローチャ
ートである。球貸し処理では、払出モータ289がオン
していなければオンする。なお、この実施の形態では、
ステップS751のスイッチ処理で、球貸しカウントス
イッチ301Bの検出出力による遊技球の払出がなされ
たか否かの確認を行うので、球貸し制御処理では貸し球
個数記憶の減算などは行われない。球貸し制御処理にお
いて、払出制御用CPU371は、貸し球通過待ち時間
中であるか否かの確認を行う(ステップS519)。貸
し球通過待ち時間中でなければ、貸し球の払出を行い
(ステップS520)、払出モータ289の駆動を終了
すべきか(一単位の払出動作が終了したか)否かの確認
を行う(ステップS521)。具体的には、所定個数の
払出に対応した回転が完了したか否かを確認する。所定
個数の払出に対応した回転は、払出モータ位置センサの
出力によって監視される。所定個数の払出に対応した回
転が完了した場合には、払出制御用CPU371は、払
出モータ289の駆動を停止し(ステップS522)、
貸し球通過待ち時間の設定を行う(ステップS52
3)。
FIG. 46 is a flowchart showing processing during lending a ball in the payout control processing by the payout control CPU 371. In the ball lending process, if the payout motor 289 is not on, it is turned on. In this embodiment,
In the switch processing in step S751, it is checked whether or not the game balls have been paid out based on the detection output of the ball lending count switch 301B. Therefore, in the ball lending control processing, the subtraction of the storage of the number of lending balls is not performed. In the ball lending control process, the payout control CPU 371 confirms whether or not the ball lending pass time is being passed (step S519). If it is not during the lending ball passage waiting time, the lending ball is paid out (step S520), and it is determined whether or not the driving of the payout motor 289 should be terminated (whether one unit of the dispensing operation has been completed) (step S521). ). Specifically, it is confirmed whether or not the rotation corresponding to the predetermined number of payouts has been completed. The rotation corresponding to the predetermined number of payouts is monitored by the output of the payout motor position sensor. When the rotation corresponding to the predetermined number of payouts is completed, the payout control CPU 371 stops driving the payout motor 289 (step S522),
The waiting time for passing a rental ball is set (step S52).
3).

【0279】なお、ステップS520の球貸し処理で
は、払出モータ位置センサのオンとオフとがタイマ監視
されるが、所定時間以上のオン状態またはオフ状態が継
続したら、払出制御用CPU371は、払出モータ球噛
みエラーが生じたと判断する。
[0279] In the ball lending process in step S520, the on / off state of the payout motor position sensor is monitored by a timer. It is determined that a ball biting error has occurred.

【0280】ステップS519で貸し球通過待ち時間中
であれば、払出制御用CPU371は、貸し球通過待ち
時間が終了したか否かの確認を行う(ステップS52
4)。貸し球通過待ち時間は、最後の払出球が払出モー
タ289によって払い出されてから球貸しカウントスイ
ッチ301Bを通過するまでの時間である。貸し球通過
待ち時間の終了を確認すると、一単位の貸し球は全て払
い出された状態であるので、カードユニット50に対し
て次の球貸し要求の受付が可能になったことを示すため
にEXS信号をオフにする(ステップS525)。ま
た、振分ソレノイドをオフするとともに(ステップS5
26)、球貸し処理中フラグをオフする(ステップS5
27)。なお、貸し玉通過待ち時間が経過するまでに最
後の払出球が球貸しカウントスイッチ301Bを通過し
なかった場合には、球貸し経路エラーとされる。また、
この実施の形態では、賞球も球貸しも同じ払出装置で行
われる。
If it is determined in step S519 that the waiting time for passing a ball is being passed, the payout control CPU 371 checks whether or not the waiting time for passing a ball is completed (step S52).
4). The lending ball passing waiting time is the time from when the last payout ball is paid out by the payout motor 289 to when it passes through the ball lending count switch 301B. When confirming the end of the waiting time for passing a lending ball, since all lending balls for lending have been paid out, it is necessary to indicate to the card unit 50 that the next lending ball lending request can be accepted. The EXS signal is turned off (step S525). In addition, the distribution solenoid is turned off (step S5).
26), the ball lending processing flag is turned off (step S5)
27). If the last payout ball has not passed through the ball lending count switch 301B before the lending ball passage waiting time has elapsed, a ball lending path error is determined. Also,
In this embodiment, the prize ball and the ball lending are performed by the same payout device.

【0281】なお、球貸し要求の受付を示すEXS信号
をオフにした後、所定期間内に再び球貸し要求信号であ
るBRQ信号がオンしたら、振分ソレノイドおよび払出
モータをオフせずに球貸し処理を続行するようにしても
よい。すなわち、所定単位(この例では100円単位)
毎に球貸し処理を行うのではなく、球貸し処理を連続し
て実行するように構成することもできる。
After the EXS signal indicating the acceptance of the ball lending request is turned off and the BRQ signal, which is the ball lending request signal, is turned on again within a predetermined period, the ball lending without turning off the sorting solenoid and the payout motor is performed. The processing may be continued. That is, a predetermined unit (100 yen unit in this example)
Instead of performing the ball lending process every time, the ball lending process may be performed continuously.

【0282】貸し球個数記憶の内容は、遊技機の電源が
断しても、所定期間電源基板910のバックアップ電源
によって保存される。従って、所定期間中に電源が回復
すると、払出制御用CPU371は、貸し球個数記憶の
内容にもとづいて球貸し処理を継続することができる。
[0282] The contents of the stored number of lent balls are retained by the backup power supply of the power supply board 910 for a predetermined period even if the power of the gaming machine is turned off. Therefore, when the power is restored during the predetermined period, the payout control CPU 371 can continue the ball lending process based on the contents of the lending ball number storage.

【0283】図47および図48は、ステップS757
の賞球制御処理の一例を示すフローチャートである。な
お、この例では、連続的な払出数の最大値を貸し球の一
単位と同数(例えば25個)とするが、連続的な払出数
の最大値は他の数であってもよい。
FIGS. 47 and 48 show steps S757.
It is a flowchart which shows an example of the award ball control processing. In this example, the maximum value of the number of continuous payouts is the same as one unit of the lending ball (for example, 25), but the maximum value of the number of continuous payouts may be another number.

【0284】賞球制御処理において、払出制御用CPU
371は、貸し球払出中であるか否か確認する(ステッ
プS531)。貸し球払出中であるか否かは、球貸し処
理中フラグの状態によって判断される。貸し球払出中で
なければ賞球の払出中であるか否か確認し(ステップS
532)、賞球の払出中であれば図48に示す賞球中の
処理に移行する。賞球の払出中であるか否かは、後述す
る賞球処理中フラグの状態によって判断される。
In the prize ball control processing, the payout control CPU
The 371 checks whether or not the rental ball is being paid out (step S531). Whether or not the ball is being paid out is determined based on the state of the ball lending process flag. If the ball is not being paid out, it is confirmed whether or not the prize ball is being paid out (step S).
532) If the prize ball is being paid out, the processing shifts to the processing during the prize ball shown in FIG. Whether or not a prize ball is being paid out is determined by a state of a prize ball processing flag described later.

【0285】貸し球払出中でも賞球払出中でもなけれ
ば、払出制御用CPU371は、カードユニット50か
らの球貸し準備要求があるか否か確認する(ステップS
533)。球貸し準備要求があるか否かは、カードユニ
ット50から入力されるBRDY信号のオン(要求あ
り)またはオフ(要求なし)を確認することによって行
われる。
If neither the loaned ball is paid out nor the prize ball is paid out, the payout control CPU 371 checks whether or not there is a ball lending preparation request from the card unit 50 (step S).
533). Whether or not there is a ball lending preparation request is performed by confirming whether the BRDY signal input from the card unit 50 is on (requested) or off (no request).

【0286】カードユニット50からの球貸し準備要求
がなければ、払出制御用CPU371は、総合個数記憶
に格納されている賞球数(未払出の賞球数)が0でない
か否か確認する(ステップS534)。総合個数記憶に
格納されている賞球数が0でなければ、賞球制御用CP
U371は、賞球処理中フラグをオンし(ステップS5
35)、総合個数記憶の値が25以上であるか否か確認
する(ステップS536)。なお、賞球処理中フラグ
は、バックアップRAM領域に設定される。
If there is no ball lending preparation request from the card unit 50, the payout control CPU 371 checks whether or not the number of awarded balls (the number of unpaid awarded balls) stored in the total number memory is not zero (see FIG. 4). Step S534). If the number of award balls stored in the total number memory is not 0, the award ball control CP
U371 turns on the award ball processing flag (step S5).
35) It is checked whether or not the value of the total number storage is 25 or more (step S536). The award ball processing flag is set in the backup RAM area.

【0287】総合個数記憶に格納されている賞球数が2
5以上であると、払出制御用CPU371は、25個分
の遊技球を払い出すまで払出モータ289を回転させる
ように払出モータ289に対して駆動信号を出力するた
めに、25個払出動作の設定を行う(ステップS53
7)。総合個数記憶に格納されている賞球数が25以上
でなければ、払出制御用CPU371は、総合個数記憶
に格納されている全ての遊技球を払い出すまで払出モー
タ289を回転させるように駆動信号を出力するため
に、全個数払出動作の設定を行う(ステップS53
8)。次いで、払出モータ289をオンする(ステップ
S538)。なお、振分ソレノイドはオフ状態であるか
ら、球払出装置97の下方の球振分部材は賞球側に設定
されている。そして、図47に示す賞球制御処理におけ
る賞球払出中の処理に移行する。
The number of award balls stored in the total number storage is 2
If it is 5 or more, the payout control CPU 371 sets a 25 payout operation to output a drive signal to the payout motor 289 so as to rotate the payout motor 289 until 25 game balls are paid out. (Step S53)
7). If the number of prize balls stored in the total number memory is not 25 or more, the payout control CPU 371 drives the payout motor 289 to rotate the payout motor 289 until all game balls stored in the total number memory are paid out. Is set to output the total number payout operation (step S53).
8). Next, the payout motor 289 is turned on (step S538). Since the distribution solenoid is off, the ball distribution member below the ball payout device 97 is set to the winning ball side. Then, the processing shifts to a processing during payout of the winning ball in the winning ball control processing shown in FIG. 47.

【0288】図47は、払出制御用CPU371による
払出制御処理における賞球中の処理の一例を示すフロー
チャートである。賞球制御処理では、払出モータ289
がオンしていなければオンする。なお、この実施の形態
では、ステップS751のスイッチ処理で、賞球カウン
トスイッチ301Aの検出出力による遊技球の払出がな
されたか否かの確認を行うので、賞球制御処理では総合
個数記憶の減算などは行われない。賞球中の処理におい
て、払出制御用CPU371は、賞球通過待ち時間中で
あるか否かの確認を行う(ステップS540)。賞球通
過待ち時間中でなければ、賞球払出を行い(ステップS
541)、払出モータ289の駆動を終了すべきか(2
5個または25個未満の所定の個数の払出動作が終了し
たか)否かの確認を行う(ステップS542)。具体的
には、所定個数の払出に対応した回転が完了したか否か
を確認する。所定個数の払出に対応した回転は、払出モ
ータ位置センサの出力によって監視される。所定個数の
払出に対応した回転が完了した場合には、払出制御用C
PU371は、払出モータ289の駆動を停止し(ステ
ップS543)、賞球通過待ち時間の設定を行う(ステ
ップS544)。賞球通過待ち時間は、最後の払出球が
払出モータ289によって払い出されてから賞球カウン
トスイッチ301Aを通過するまでの時間である。
FIG. 47 is a flowchart showing an example of processing during a winning ball in the payout control processing by the payout control CPU 371. In the prize ball control processing, the payout motor 289
Turn on if is not on. In the present embodiment, in the switch processing of step S751, it is determined whether or not the payout of the game ball has been performed based on the detection output of the prize ball count switch 301A. Is not done. In the processing during the prize ball, the payout control CPU 371 checks whether or not the prize ball passage waiting time is in progress (step S540). If it is not during the waiting time for passing a prize ball, a prize ball is paid out (step S
541), should the drive of the payout motor 289 be terminated (2
It is determined whether or not a predetermined number of payout operations of 5 or less than 25 have been completed (step S542). Specifically, it is confirmed whether or not the rotation corresponding to the predetermined number of payouts has been completed. The rotation corresponding to the predetermined number of payouts is monitored by the output of the payout motor position sensor. When the rotation corresponding to the predetermined number of payouts is completed, the payout control C
The PU 371 stops driving the payout motor 289 (Step S543), and sets a winning ball passage waiting time (Step S544). The prize ball passage waiting time is the time from when the last payout ball is paid out by the payout motor 289 to when it passes through the prize ball count switch 301A.

【0289】ステップS540で賞球通過待ち時間中で
あれば、払出制御用CPU371は、賞球通過待ち時間
が終了したか否かの確認を行う(ステップS545)。
賞球通過待ち時間が終了した時点は、ステップS537
またはステップS538で設定された賞球が全て払い出
された状態である。そこで、払出制御用CPU371
は、賞球処理中フラグをオフする(ステップS54
6)。賞球通過待ち時間が経過するまでに最後の払出球
が賞球カウントスイッチ301Aを通過しなかった場合
には、賞球経路エラーとされる。
If it is determined in step S540 that the waiting time for passing a prize ball is in progress, the payout control CPU 371 checks whether or not the waiting time for passing a prize ball has ended (step S545).
The point in time when the waiting time for passing the prize ball ends is determined in step S537.
Alternatively, all the prize balls set in step S538 have been paid out. Therefore, the payout control CPU 371
Turns off the award ball processing flag (step S54).
6). If the last payout ball has not passed through the prize ball count switch 301A before the prize ball passage waiting time has elapsed, it is determined that a prize ball path error has occurred.

【0290】なお、この実施の形態では、ステップS5
11、ステップS531の判断によって球貸しが賞球処
理よりも優先されることになるが、賞球処理が球貸しに
優先するようにしてもよい。
In this embodiment, step S5
11. Although the ball lending is given priority over the prize ball processing by the determination in step S531, the prize ball processing may be given priority over the ball lending.

【0291】総合個数記憶および貸し球個数記憶の内容
は、遊技機の電源が断しても、所定期間電源基板910
のバックアップ電源によって保存される。従って、所定
期間中に電源が回復すると、払出制御用CPU371
は、総合個数記憶の内容にもとづいて払出処理を継続す
ることができる。
[0291] The contents of the total number storage and the number of lent balls storage are such that the power supply board 910 is maintained for a predetermined period even if the power of the gaming machine is turned off.
Saved by backup power. Therefore, when the power is restored during the predetermined period, the payout control CPU 371
Can continue the payout process based on the contents of the total number storage.

【0292】なお、払出制御用CPU371は、主基板
31から指示された賞球個数を賞球個数記憶で総数とし
て管理したが、賞球数毎(例えば15個、10個、6
個)に管理してもよい。例えば、賞球数毎に対応した個
数カウンタを設け、払出個数指定コマンドを受信する
と、そのコマンドで指定された個数に対応する個数カウ
ンタを+1する。そして、個数カウンタに対応した賞球
払出が行われると、その個数カウンタを−1する(この
場合、払出制御処理にて減算処理を行うようにする)。
その場合にも、各個数カウンタはバックアップRAM領
域に形成される。よって、遊技機の電源が断しても、所
定期間中に電源が回復すれば、払出制御用CPU371
は、各個数カウンタの内容にもとづいて賞球払出処理を
継続することができる。
The payout control CPU 371 manages the number of prize balls instructed from the main board 31 as the total number in the prize ball number storage, but for each prize ball number (for example, 15, 10 or 6).
). For example, a number counter corresponding to each prize ball number is provided, and when a payout number designation command is received, the number counter corresponding to the number designated by the command is incremented by one. When the prize ball payout corresponding to the number counter is performed, the number counter is decremented by one (in this case, the subtraction processing is performed in the payout control processing).
Also in this case, each number counter is formed in the backup RAM area. Therefore, even if the power of the gaming machine is turned off, if the power is restored during the predetermined period, the payout control CPU 371
Can continue the award ball payout process based on the content of each number counter.

【0293】図48は、電源基板910の電源監視回路
からの電圧変化信号にもとづくNMIに応じて実行され
る停電発生NMI処理の一例を示すフローチャートであ
る。なお、この実施の形態では、NMI割込番地は00
66Hである。停電発生NMI処理において、払出制御
用CPU371は、まず、割込禁止フラグの内容をパリ
ティフラグに格納する(ステップS801)。次いで、
割込禁止に設定する(ステップS802)。停電発生N
MI処理では、本例では主基板31において実行された
処理と同様に、RAM内容の保存を確実にするためのチ
ェックサムの生成処理を行う。その処理中に他の割込処
理が行われたのではチェックサムの生成処理が完了しな
いうちに払出制御用CPU371が動作し得ない電圧に
まで低下してしまうことがことも考えられるので、ま
ず、他の割込が生じないような設定がなされる。なお、
停電発生NMI処理におけるステップS804〜S81
0は、電力供給停止時処理の一例である。
FIG. 48 is a flowchart showing an example of the power failure occurrence NMI process executed in response to the NMI based on the voltage change signal from the power supply monitoring circuit of the power supply board 910. In this embodiment, the NMI interrupt address is 00
66H. In the power failure occurrence NMI process, the payout control CPU 371 first stores the contents of the interrupt prohibition flag in the parity flag (step S801). Then
The interrupt is prohibited (step S802). Power failure occurred N
In the MI process, in this example, as in the process executed on the main board 31, a process of generating a checksum for ensuring the storage of the RAM content is performed. If another interrupt process is performed during that process, the voltage may drop to a level at which the payout control CPU 371 cannot operate before the checksum generation process is completed. Are set so that other interrupts do not occur. In addition,
Steps S804 to S81 in the power failure occurrence NMI process
0 is an example of the power supply stop processing.

【0294】なお、割込処理中では他の割込がかからな
いような仕様のCPUを用いている場合には、ステップ
S802の処理は不要である。
When a CPU having a specification such that another interrupt does not occur during the interrupt processing is used, the processing in step S802 is unnecessary.

【0295】次いで、払出制御用CPU371は、バッ
クアップフラグが既にセットされているか否か確認する
(ステップS803)。バックアップフラグが既にセッ
トされていれば、以後の処理を行わない。バックアップ
フラグがセットされていなければ、以下の電力供給停止
時処理を実行する。すなわち、ステップS804からス
テップS810の処理を実行する。
Next, the payout control CPU 371 checks whether or not the backup flag has already been set (step S803). If the backup flag has already been set, no further processing is performed. If the backup flag is not set, the following power supply stop processing is executed. That is, the processing from step S804 to step S810 is executed.

【0296】まず、各レジスタの内容をバックアップR
AM領域に格納する(ステップS804)。その後、バ
ックアップフラグをセットする(ステップS805)。
そして、バックアップRAM領域のバックアップチェッ
クデータ領域に適当な初期値を設定し(ステップS80
6)、初期値およびバックアップRAM領域のデータに
ついて順次排他的論理和をとったあと反転し(ステップ
S807)、最終的な演算値をバックアップパリティデ
ータ領域に設定する(ステップS808)。また、RA
Mアクセス禁止状態にする(ステップS809)。電源
電圧が低下していくときには、各種信号線のレベルが不
安定になってRAM内容が化ける可能性があるが、この
ようにRAMアクセス禁止状態にしておけば、バックア
ップRAM内のデータが化けることはない。
First, the contents of each register are backed up by R
It is stored in the AM area (step S804). After that, a backup flag is set (step S805).
Then, an appropriate initial value is set in the backup check data area of the backup RAM area (step S80).
6) The exclusive OR is sequentially calculated for the initial value and the data in the backup RAM area and then inverted (step S807), and the final operation value is set in the backup parity data area (step S808). Also, RA
The M access is prohibited (step S809). When the power supply voltage decreases, the levels of various signal lines may become unstable and the contents of the RAM may be corrupted. However, if the RAM access is prohibited in this manner, the data in the backup RAM may be corrupted. There is no.

【0297】さらに、払出制御用CPU371は、全て
の出力ポート(この実施の形態では、出力ポート372
c,372g,372e、およびI/Oポート372f
の出力ポート部分)に対してクリア信号を出力する。従
って、全ての出力ポートは、クリア信号によりオフ状態
とされる(ステップS810)。
Further, the payout control CPU 371 has all output ports (in this embodiment, output ports 372
c, 372g, 372e, and I / O port 372f
Output port portion). Therefore, all output ports are turned off by the clear signal (step S810).

【0298】次いで、払出制御用CPU371は、ルー
プ処理にはいる。すなわち、何らの処理もしない状態に
なる。従って、図31に示されたリセットIC976か
らのシステムリセット信号によって外部から動作禁止状
態にされる前に、内部的に動作停止状態になる。よっ
て、電源断時に確実に払出制御用CPU371は動作停
止する。その結果、上述したRAMアクセス禁止の制御
および動作停止制御によって、電源電圧が低下していく
ことに伴って生ずる可能性がある異常動作に起因するR
AMの内容破壊等を確実に防止することができる。
Next, the payout control CPU 371 enters a loop process. That is, no processing is performed. Therefore, before the operation is disabled from the outside by the system reset signal from the reset IC 976 shown in FIG. 31, the operation is internally stopped. Therefore, the operation of the payout control CPU 371 is reliably stopped when the power is turned off. As a result, due to the above-described RAM access prohibition control and the operation stop control, the value of R due to the abnormal operation that may occur as the power supply voltage decreases.
Destruction of the contents of the AM can be reliably prevented.

【0299】なお、この実施の形態では、停電発生NM
I処理では最終部でプログラムをループ状態にしたが、
ホールト(HALT)命令を発行するように構成しても
よい。
In this embodiment, the power failure occurrence NM
In I processing, the program was looped in the last part,
It may be configured to issue a HALT instruction.

【0300】また、レジスタの内容をRAM領域に格納
した後にセットされるバックアップフラグは、上述した
ように、電源投入時において復旧すべきバックアップデ
ータがあるか否か(停電からの復旧か否か)を判断する
際に使用される。また、ステップS801からS810
の処理は、払出制御用CPU371がシステムリセット
回路975からのシステムリセット信号を受ける前に完
了する。換言すれば、システムリセット回路975から
のシステムリセット信号を受ける前に完了するように、
電圧監視回路の検出電圧の設定が行われている。
The backup flag set after storing the contents of the register in the RAM area is, as described above, whether or not there is backup data to be restored when the power is turned on (whether or not to recover from a power failure). Used to judge. Also, steps S801 to S810
Is completed before the payout control CPU 371 receives the system reset signal from the system reset circuit 975. In other words, to complete before receiving the system reset signal from the system reset circuit 975,
The detection voltage of the voltage monitoring circuit is set.

【0301】この実施の形態では、電力供給停止時処理
開始時に、バックアップフラグの確認が行われる。そし
て、バックアップフラグが既にセットされている場合に
は電力供給停止時処理を実行しない。上述したように、
バックアップフラグは、必要なデータのバックアップが
完了し、その後電力供給停止時処理が完了したことを示
すフラグである。従って、例えば、リセット待ちのルー
プ状態で何らかの原因で再度NMIが発生したとして
も、電力供給停止時処理が重複して実行されてしまうよ
うなことはない。
In this embodiment, the backup flag is checked at the start of the power supply stop processing. If the backup flag has already been set, the power supply stop processing is not executed. As mentioned above,
The backup flag is a flag indicating that the backup of necessary data has been completed and then the power supply stop processing has been completed. Therefore, for example, even if the NMI occurs again for some reason in the reset waiting loop state, the power supply stop processing will not be repeatedly executed.

【0302】ただし、割込処理中では他の割込がかから
ないような仕様のCPUを用いている場合には、ステッ
プS803の判断は不要である。
[0302] However, when a CPU having a specification that does not cause another interrupt during the interrupt processing is used, the determination in step S803 is unnecessary.

【0303】また、この実施の形態では、払出制御用C
PU371は、マスク不能外部割込端子(NMI端子)
を介して電源基板からのNMI割込信号(電源監視手段
からのNMI割込信号)を検知したが、NMI割込信号
をマスク可能割込割込端子(INT端子)に導入しても
よい。その場合には、INT処理によって図49に示さ
れた停電発生NMI処理が実行される。また、入力ポー
トを介してNMI割込信号を検知してもよい。その場合
には、払出制御用CPU371が実行するメイン処理に
おいて、入力ポートの監視が行われる。
Also, in this embodiment, the payout control C
PU 371 is a non-maskable external interrupt terminal (NMI terminal)
, The NMI interrupt signal from the power supply board (NMI interrupt signal from the power supply monitoring means) is detected, but the NMI interrupt signal may be introduced to a maskable interrupt interrupt terminal (INT terminal). In that case, the power failure occurrence NMI process shown in FIG. 49 is executed by the INT process. Further, an NMI interrupt signal may be detected through an input port. In that case, the input port is monitored in the main process executed by the payout control CPU 371.

【0304】図50は、バックアップパリティデータ作
成方法の一例を説明するための説明図である。ただし、
図50に示す例では、簡単のために、バックアップデー
タRAM領域のデータのサイズを3バイトとする。電源
電圧低下にもとづく停電発生処理において、図50に示
すように、バックアップチェックデータ領域に、初期デ
ータ(この例では00H)が設定される。次に、「00
H」と「F0H」の排他的論理和がとられ、その結果と
「16H」の排他的論理和がとられる。さらに、その結
果と「DFH」の排他的論理和がとられる。そして、そ
の結果(この例では「39H」)を反転して得られた値
(この例では「C6H」)がバックアップパリティデー
タ領域に設定される。
FIG. 50 is an explanatory diagram for describing an example of a backup parity data creating method. However,
In the example shown in FIG. 50, the size of the data in the backup data RAM area is 3 bytes for simplicity. In the power failure generation process based on the power supply voltage drop, as shown in FIG. 50, initial data (00H in this example) is set in the backup check data area. Next, "00
The exclusive OR of “H” and “F0H” is calculated, and the result is exclusive ORed with “16H”. Further, an exclusive OR of the result and “DFH” is obtained. Then, a value (“C6H” in this example) obtained by inverting the result (“39H” in this example) is set in the backup parity data area.

【0305】電源が再投入されたときには、停電復旧処
理においてパリティ診断が行われる。バックアップ領域
の全データがそのまま保存されていれば、電源再投入時
に、図49に示すようなデータがバックアップ領域に設
定されている。
When the power is turned on again, a parity diagnosis is performed in the power failure recovery processing. If all the data in the backup area is stored as it is, the data as shown in FIG. 49 is set in the backup area when the power is turned on again.

【0306】ステップS704の処理において、払出制
御用CPU371は、図49のステップS806および
ステップS807にて実行された処理と同様の処理を行
う。すなわち、バックアップチェックデータ領域に、初
期データ(この例では00H)が設定され、「00H」
と「F0H」の排他的論理和がとられ、その結果と「1
6H」の排他的論理和がとられる。さらに、その結果と
「DFH」の排他的論理和がとられる。そして、その結
果(この例では「39H」)を反転した最終演算結果を
得る。バックアップ領域の全データがそのまま保存され
ていれば、最終的な演算結果は、「C6H」、すなわち
バックアップチェックデータ領域に設定されているデー
タと一致する。バックアップRAM領域内のデータにビ
ット誤りが生じていた場合には、最終的な演算結果は
「C6H」にならない。
In the processing of step S704, the payout control CPU 371 performs the same processing as the processing executed in steps S806 and S807 in FIG. That is, initial data (00H in this example) is set in the backup check data area, and "00H"
And "F0H" are exclusive ORed, and the result is "1"
6H "is exclusive-ORed. Further, an exclusive OR of the result and “DFH” is obtained. Then, a final operation result obtained by inverting the result (“39H” in this example) is obtained. If all data in the backup area is stored as it is, the final calculation result matches “C6H”, that is, the data set in the backup check data area. If a bit error has occurred in the data in the backup RAM area, the final operation result does not become “C6H”.

【0307】よって、払出制御用CPU371は、最終
的な演算結果とバックアップチェックデータ領域に設定
されているデータとを比較して、一致すればパリティ診
断正常とする。一致しなければ、パリティ診断異常とす
る。
[0307] Therefore, the payout control CPU 371 compares the final operation result with the data set in the backup check data area, and if they match, determines that the parity diagnosis is normal. If they do not match, it is determined that the parity diagnosis is abnormal.

【0308】以上のように、この実施の形態では、払出
制御手段には、遊技機の電源が断しても、所定期間電源
バックアップされる記憶手段(この例ではバックアップ
RAM)が設けられ、電源投入時に、払出制御用CPU
371(具体的には払出制御用CPU371が実行する
プログラム)は、記憶手段がバックアップ状態にあれば
バックアップデータにもとづいて払出状態を回復させる
払出状態復旧処理(ステップS706)を行うように構
成される。
As described above, in this embodiment, the payout control means is provided with the storage means (backup RAM in this example) which is backed up for a predetermined period even if the power of the gaming machine is turned off. At the time of insertion, payout control CPU
371 (specifically, a program executed by the payout control CPU 371) is configured to perform a payout state restoration process (step S706) for restoring the payout state based on the backup data if the storage unit is in the backup state. .

【0309】以下、払出状態復旧処理について説明す
る。図51は、図33のステップS706に示された払
出状態復旧処理の一例を示すフローチャートである。こ
の例では、払出制御用CPU371は、バックアップR
AMに保存されていた値をレジスタに復元する(ステッ
プS861)。そして、バックアップRAMに保存され
ていたデータにもとづいて停電時の払出状態を復旧する
ための処理を行う。例えば、賞球中処理中フラグのセッ
ト等を行う。
[0309] Hereinafter, the payout state restoration processing will be described. FIG. 51 is a flowchart showing an example of the payout state restoration processing shown in step S706 of FIG. In this example, the payout control CPU 371 sets the backup R
The value stored in the AM is restored to the register (step S861). Then, based on the data stored in the backup RAM, a process for recovering the payout state at the time of the power failure is performed. For example, a flag during processing of a prize ball is set.

【0310】払出状態を復帰させると、この実施の形態
では、払出制御用CPU371は、前回の電源断時の割
込許可/禁止状態を復帰させるために、バックアップR
AMに保存されていたパリティフラグの値を確認する
(ステップS862)。パリティフラグがクリアであれ
ば、割込許可設定を行う(ステップS863)。一方、
パリティフラグがオンであれば、そのまま(ステップS
701aで設定された割込禁止状態のまま)払出状態復
旧処理を終える。
When the payout state is restored, in this embodiment, the payout control CPU 371 returns the backup R to restore the interrupt permission / prohibition state at the time of the previous power-off.
The value of the parity flag stored in the AM is checked (step S862). If the parity flag is clear, interrupt permission setting is performed (step S863). on the other hand,
If the parity flag is on, the process proceeds to step S
The payout state restoring process is terminated (with the interrupt prohibited state set in 701a).

【0311】なお、ここでは、払出状態復旧処理が終了
すると払出制御メイン処理にリターンするように払出状
態復旧処理プログラムが構成されているが、電力供給停
止時処理において保存されているスタックポインタが指
すスタックエリア(バックアップRAM領域にある)に
記憶されているアドレス(電源断時のNMI割込発生時
に実行されていたアドレス)に戻るようにしてもよい。
Here, the payout state restoring processing program is configured to return to the payout control main processing when the payout state restoring processing is completed, but the stack pointer stored in the power supply stop processing points out. It is also possible to return to the address stored in the stack area (in the backup RAM area) (the address that was being executed when the NMI interrupt occurred when the power was turned off).

【0312】以上に説明したしたように、この実施の形
態では、特定レジスタとしてのCTCのタイマカウンタ
レジスタCLK/TRG2の値が所定値(この例では
0)になると払出制御用CPU371においてコマンド
受信処理のための割込がかかる。CTCは、他の割込と
の優先管理が容易なものであり、CTCを使用すること
によって、容易に優先度が高く、また、割込契機の設定
処理が容易なコマンド受信処理方式を実現することがで
きる。
As described above, in this embodiment, when the value of the timer counter register CLK / TRG2 of the CTC as the specific register becomes a predetermined value (0 in this example), the command reception processing is performed by the payout control CPU 371. It takes an interrupt. The CTC is easy to perform priority management with other interrupts. By using the CTC, a command reception processing method that easily has a high priority and that can easily set an interrupt trigger is realized. be able to.

【0313】なお、この各実施の形態では、払出制御手
段を例にしたが、その他の電気部品制御手段、例えば、
表示制御手段、音声制御手段、ランプ制御手段等も上述
したような処理によって遊技制御手段からの制御コマン
ドを確実に、かつ、迅速に受信することができる。ま
た、表示制御手段、音制御手段およびランプ制御手段等
についても、上述した電源監視制御を行うように構成
し、停電発生NMI処理においてクリア信号を出力し
て、それぞれの電気部品制御手段が制御する電気部品の
作動を停止するようにしてもよい。そのように構成すれ
ば、停止状態となる前に各電気部品の作動を停止状態に
することができ、適切な停止状態で電源復旧を待機する
ことができる。
In each of the embodiments, the payout control means has been described as an example. However, other electric component control means, for example,
The display control means, the voice control means, the lamp control means and the like can also reliably and quickly receive the control command from the game control means by the above-described processing. The display control unit, the sound control unit, the lamp control unit, and the like are also configured to perform the above-described power supply monitoring control, and output a clear signal in the power failure occurrence NMI process to be controlled by the respective electric component control units. The operation of the electric component may be stopped. With such a configuration, the operation of each of the electric components can be stopped before the stop state, and the power can be restored in an appropriate stop state.

【0314】また、上記の実施の形態では、電源監視回
路は電源基板910に設けられたが、電源監視回路は主
基板31や払出制御基板37などの電気部品制御基板に
設けられていてもよい。なお、電源回路が搭載された電
気部品制御基板が構成される場合には、電源基板には、
電源監視回路は搭載されない。
In the above embodiment, the power supply monitoring circuit is provided on the power supply board 910. However, the power supply monitoring circuit may be provided on the electric component control boards such as the main board 31 and the payout control board 37. . When an electric component control board on which a power supply circuit is mounted is configured, the power supply board includes
No power monitoring circuit is installed.

【0315】上記の各実施の形態のパチンコ遊技機1
は、始動入賞にもとづいて可変表示部9に可変表示され
る特別図柄の停止図柄が所定の図柄の組み合わせになる
と所定の遊技価値が遊技者に付与可能になる第1種パチ
ンコ遊技機であったが、始動入賞にもとづいて開放する
電動役物の所定領域への入賞があると所定の遊技価値が
遊技者に付与可能になる第2種パチンコ遊技機や、始動
入賞にもとづいて可変表示される図柄の停止図柄が所定
の図柄の組み合わせになると開放する所定の電動役物へ
の入賞があると所定の権利が発生または継続する第3種
パチンコ遊技機であっても、本発明を適用できる。
The pachinko gaming machine 1 of each of the above embodiments
Is a first-class pachinko gaming machine in which a predetermined game value can be given to a player when a stop symbol of a special symbol variably displayed on the variable display portion 9 based on a start winning prize is a predetermined symbol combination. However, if there is a prize in a predetermined area of the electric accessory that is opened based on a winning start, a second-type pachinko gaming machine that can give a predetermined game value to a player, or is variably displayed based on a starting prize. The present invention can be applied to a third-type pachinko gaming machine in which a predetermined right is generated or continued when there is a prize for a predetermined electric accessory which is opened when a symbol combination of a predetermined symbol is released.

【0316】さらに、パチンコ遊技機に限られず、スロ
ット機等においても、何らかの動作をする電気部品が備
えられている場合などには本発明を適用することができ
る。
Further, the present invention is not limited to the pachinko gaming machine, but can be applied to a slot machine or the like in a case where an electric component which performs some operation is provided.

【0317】[0317]

【発明の効果】以上のように、本発明によれば、遊技機
を、電気部品制御手段が、所定周期で発生する割込に応
じて所定の定期割込処理を実行するとともに、遊技制御
手段からの取込信号の入力にもとづく割込に応じて遊技
制御手段が出力したコマンドを受信するためのコマンド
受信処理を実行し、コマンド受信処理を定期割込処理よ
りも優先して実行するように構成したので、電気部品制
御手段は、確実に遊技制御手段からのコマンドを受信す
ることができる効果がある。
As described above, according to the present invention, the electric machine control means executes the predetermined periodical interrupt processing in response to the interrupt generated at the predetermined cycle, and the game control means. To execute a command receiving process for receiving a command output by the game control means in response to an interrupt based on an input of a capture signal from the CPU, and to execute the command receiving process in preference to the periodic interrupt process With this configuration, the electric component control unit has an effect that the command from the game control unit can be reliably received.

【0318】電気部品制御手段が、コマンド受信処理が
終了するまでは割込を許可しないように構成されている
場合には、コマンド受信処理中に他の処理が行われてし
まうことはなく、遊技制御手段からのコマンドを取りこ
ぼすことなく確実に受信できる。
If the electric component control means is configured not to permit an interrupt until the command reception processing is completed, no other processing is performed during the command reception processing, and The command from the control means can be received without fail.

【0319】定期割込処理の実行中に取込信号の入力に
もとづく割込が発生すると、電気部品制御手段が、定期
割込処理を中断してコマンド受信処理を実行するように
構成されている場合には、他の割込処理中であっても直
ちにコマンド受信処理が開始されるので、遊技制御手段
からのコマンドを取りこぼすことなく確実に受信でき
る。
When an interruption based on the input of the fetch signal occurs during the execution of the periodic interrupt processing, the electric component control means is configured to interrupt the periodic interrupt processing and execute the command receiving processing. In this case, the command receiving process is started immediately even during another interrupt process, so that the command from the game control means can be received without fail.

【0320】定期割込処理が割込許可状態で実行される
ように構成されている場合には、定期割込処理実行中に
取込信号が入力されたら、それにもとづくコマンド受信
処理を開始できるので、遊技制御手段からのコマンドを
取りこぼすことなく確実に受信できる。
In the case where the periodic interrupt processing is configured to be executed in the interrupt enabled state, if a capture signal is input during the execution of the periodic interrupt processing, the command reception processing based on the signal can be started. , The command from the game control means can be received without fail.

【0321】電気部品制御手段が、所定周期で発生する
割込に応じて電気部品制御に関わる処理を実行するよう
に構成されている場合には、電気部品制御が定期的に実
行されるので、処理の実行に偏りが生じない。
If the electric component control means is configured to execute processing related to electric component control in response to an interrupt generated at a predetermined cycle, the electric component control is executed at regular intervals. There is no bias in the execution of the processing.

【0322】各割込発生部の優先順位の設定が可能であ
って、コマンド受信割込のための割込を発生する割込発
生部の優先順位が、定期割込処理のための割込を発生す
る割込発生部の優先順位よりも高く設定されるように構
成されている場合には、容易に、コマンド受信処理を定
期割込処理よりも優先して実行する構成を実現すること
ができる。
The priority of each interrupt generating unit can be set, and the priority of the interrupt generating unit that generates the interrupt for the command reception interrupt is determined by the interrupt for the periodic interrupt processing. If the configuration is such that the priority is set higher than the priority of the interrupt generating unit to be generated, it is possible to easily realize a configuration in which the command receiving process is executed with priority over the periodic interrupt process. .

【0323】電気部品制御手段が、遊技制御手段からの
取込信号の入力に応じて特定レジスタの値を更新する更
新手段を備え、特定レジスタの値が所定値になったこと
に応じて、遊技制御手段が出力したコマンドを受信する
ためのコマンド受信処理を実行するように構成されてい
る場合には、電気部品制御手段が簡便に、かつ迅速にコ
マンドを受信することができる。また、特定レジスタに
初期値を設定しておくだけでコマンド受信処理の実行契
機を作成できるので、電気部品制御手段の開発は容易で
あり、その結果、遊技機の開発が容易化される。
[0323] The electric component control means includes updating means for updating the value of the specific register in response to the input of the fetch signal from the game control means. When configured to execute a command receiving process for receiving the command output by the control unit, the electric component control unit can easily and quickly receive the command. Further, since the execution timing of the command receiving process can be created only by setting the initial value in the specific register, the development of the electric component control means is easy, and as a result, the development of the gaming machine is facilitated.

【0324】電気部品制御手段が初期設定処理で特定レ
ジスタに初期値を設定するように構成されている場合に
は、コマンド受信処理の実行契機の設定を簡便に行うこ
とができる。
When the electric component control means is configured to set an initial value in a specific register in the initial setting process, it is possible to easily set the execution trigger of the command receiving process.

【0325】電気部品制御手段が、入力されたコマンド
データを同時に複数格納可能であるように構成されてい
る場合には、電気部品制御手段における制御処理が遅れ
ても受信したコマンドデータが失われてしまうことはな
く、電気部品制御手段は、受信コマンドにもとづく処理
を確実に行うことができる。
If the electrical component control means is configured to be able to store a plurality of input command data simultaneously, the received command data is lost even if the control processing in the electrical component control means is delayed. The electric component control means can surely perform the processing based on the received command.

【0326】コマンド受信処理が、入力されたコマンド
データが適正なコマンドデータであるか否かを判定する
コマンド判定処理を含むように構成されている場合に
は、電気部品制御手段のコマンド受信誤りを防止でき、
誤った制御が実行されてしまうことが防止される。
When the command receiving process is configured to include a command determining process for determining whether or not the input command data is proper command data, a command receiving error of the electric component control means is determined. Can be prevented,
This prevents erroneous control from being executed.

【0327】電気部品制御手段に送出される1つの指令
情報が2つのコマンドデータで構成されている場合に
は、例えば指令情報をコマンドの分類とコマンドの種類
に分けてコマンド受信処理の簡略化を図ったり、2つの
コマンドデータの相互関係にもとづく受信コマンドチェ
ックを行うことが可能になって、適正な指令情報の送受
信処理を行うことができる。
When one piece of command information sent to the electric component control means is composed of two pieces of command data, for example, the command information is divided into a command classification and a command type to simplify the command reception processing. This makes it possible to perform a received command check based on the mutual relationship between two command data, and perform an appropriate command information transmission / reception process.

【0328】遊技制御手段が、1つ目のコマンドデータ
と次のコマンドデータとを識別可能な態様で出力可能で
あるように構成されている場合には、各電気部品制御手
段は受信コマンドチェックを容易に行うことができる。
If the game control means is configured to be able to output the first command data and the next command data in an identifiable manner, each electric component control means checks the received command. It can be done easily.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 パチンコ遊技機を正面からみた正面図であ
る。
FIG. 1 is a front view of a pachinko gaming machine viewed from the front.

【図2】 パチンコ遊技機の内部構造を示す全体背面図
である。
FIG. 2 is an overall rear view showing the internal structure of the pachinko gaming machine.

【図3】 パチンコ遊技機の機構板を背面からみた背面
図である。
FIG. 3 is a rear view of the mechanical plate of the pachinko gaming machine as viewed from the rear.

【図4】 機構板に設置されている中間ベースユニット
周りの構成を示す正面図である。
FIG. 4 is a front view showing a configuration around an intermediate base unit installed on a mechanism plate.

【図5】 球払出装置を示す分解斜視図である。FIG. 5 is an exploded perspective view showing a ball payout device.

【図6】 遊技制御基板(主基板)の回路構成を示すブ
ロック図である。
FIG. 6 is a block diagram showing a circuit configuration of a game control board (main board).

【図7】 表示制御基板内の回路構成を示すブロック図
である。
FIG. 7 is a block diagram showing a circuit configuration in a display control board.

【図8】 ランプ制御基板内の回路構成を示すブロック
図である。
FIG. 8 is a block diagram showing a circuit configuration in the lamp control board.

【図9】 音声制御基板内の回路構成を示すブロック図
である。
FIG. 9 is a block diagram showing a circuit configuration in the audio control board.

【図10】 払出制御基板および球払出装置の構成要素
などの賞球に関連する構成要素を示すブロック図であ
る。
FIG. 10 is a block diagram showing components related to a prize ball, such as components of a payout control board and a ball payout device.

【図11】 電源監視および電源バックアップのための
CPU周りの一構成例を示すブロック図である。
FIG. 11 is a block diagram showing a configuration example around a CPU for power supply monitoring and power supply backup.

【図12】 電源基板の一構成例を示すブロック図であ
る。
FIG. 12 is a block diagram illustrating a configuration example of a power supply board.

【図13】 主基板におけるCPUが実行するメイン処
理の例を示すフローチャートである。
FIG. 13 is a flowchart illustrating an example of a main process executed by a CPU on a main board.

【図14】 遊技状態復旧処理を実行するか否かの決定
方法の例を示す説明図である。
FIG. 14 is an explanatory diagram showing an example of a method for determining whether or not to execute a game state restoration process.

【図15】 初期設定処理の例を示すフローチャートで
ある。
FIG. 15 is a flowchart illustrating an example of an initial setting process.

【図16】 初期化処理の例を示すフローチャートであ
る。
FIG. 16 is a flowchart illustrating an example of an initialization process.

【図17】 2msタイマ割込処理の例を示すフローチ
ャートである。
FIG. 17 is a flowchart illustrating an example of a 2 ms timer interrupt process.

【図18】 遊技制御処理の例を示すフローチャートで
ある。
FIG. 18 is a flowchart illustrating an example of a game control process.

【図19】 払出制御コマンドの一構成例を示す説明図
である。
FIG. 19 is an explanatory diagram showing a configuration example of a payout control command.

【図20】 制御信号とINT信号との関係を示すタイ
ミング図である。
FIG. 20 is a timing chart showing a relationship between a control signal and an INT signal.

【図21】 払出制御コマンドの内容の一例を示す説明
図である。
FIG. 21 is an explanatory diagram showing an example of the content of a payout control command.

【図22】 表示制御コマンドの内容の一例を示す説明
図である。
FIG. 22 is an explanatory diagram showing an example of the content of a display control command.

【図23】 ランプ制御コマンドの内容の一例を示す説
明図である。
FIG. 23 is an explanatory diagram showing an example of the contents of a lamp control command.

【図24】 音声制御コマンドの内容の一例を示す説明
図である。
FIG. 24 is an explanatory diagram showing an example of the content of a voice control command.

【図25】 特別図柄プロセス処理を示すフローチャー
トである。
FIG. 25 is a flowchart showing a special symbol process process.

【図26】 スイッチ処理を示すフローチャートであ
る。
FIG. 26 is a flowchart showing a switch process.

【図27】 入賞球信号処理を示すフローチャートであ
る。
FIG. 27 is a flowchart showing winning ball signal processing.

【図28】 コマンド送信テーブルの構成を示す説明図
である。
FIG. 28 is an explanatory diagram showing a configuration of a command transmission table.

【図29】 コマンド制御処理を示すフローチャートで
ある。
FIG. 29 is a flowchart showing a command control process.

【図30】 コマンド送信処理を示すフローチャートで
ある。
FIG. 30 is a flowchart showing a command transmission process.

【図31】 電源監視および電源バックアップのための
払出制御用CPU周りの一構成例を示すブロック図であ
る。
FIG. 31 is a block diagram showing a configuration example around a payout control CPU for power supply monitoring and power supply backup.

【図32】 INT信号の入力にもとづく割込発生を説
明するための説明図である。
FIG. 32 is an explanatory diagram for describing generation of an interrupt based on input of an INT signal.

【図33】 払出制御用CPUが実行するメイン処理の
例を示すフローチャートである。
FIG. 33 is a flowchart illustrating an example of main processing executed by a payout control CPU.

【図34】 払出制御用CPUの初期設定処理の一例を
示すフローチャートである。
FIG. 34 is a flowchart illustrating an example of an initial setting process of a payout control CPU.

【図35】 払出制御用CPUの初期化処理の一例を示
すフローチャートである。
FIG. 35 is a flowchart illustrating an example of initialization processing of a payout control CPU.

【図36】 払出制御用CPUのタイマ割込処理の例を
示すフローチャートである。
FIG. 36 is a flowchart illustrating an example of a timer interruption process of a payout control CPU.

【図37】 払出制御手段におけるRAMの一構成例を
示す説明図である。
FIG. 37 is an explanatory diagram showing one configuration example of a RAM in the payout control means.

【図38】 受信バッファの一構成例を示す説明図であ
る。
FIG. 38 is an explanatory diagram illustrating a configuration example of a reception buffer.

【図39】 払出制御用CPUのコマンド受信処理の例
を示すフローチャートである。
FIG. 39 is a flowchart illustrating an example of a command receiving process of the payout control CPU.

【図40】 払出制御用CPUが実行する払出制御処理
の例を示すフローチャートである。
FIG. 40 is a flowchart illustrating an example of a payout control process executed by a payout control CPU.

【図41】 スイッチ処理の例を示すフローチャートで
ある。
FIG. 41 is a flowchart illustrating an example of a switch process.

【図42】 コマンド解析実行処理の例を示すフローチ
ャートである。
FIG. 42 is a flowchart illustrating an example of a command analysis execution process.

【図43】 払出停止状態設定処理の例を示すフローチ
ャートである。
FIG. 43 is a flowchart illustrating an example of a payout stop state setting process.

【図44】 プリペイドカードユニット制御処理の例を
示すフローチャートである。
FIG. 44 is a flowchart showing an example of a prepaid card unit control process.

【図45】 球貸し制御処理の例を示すフローチャート
である。
FIG. 45 is a flowchart illustrating an example of a ball lending control process.

【図46】 球貸し制御処理の例を示すフローチャート
である。
FIG. 46 is a flowchart illustrating an example of a ball lending control process.

【図47】 賞球制御処理の例を示すフローチャートで
ある。
FIG. 47 is a flowchart illustrating an example of a winning ball control process.

【図48】 賞球制御処理の例を示すフローチャートで
ある。
FIG. 48 is a flowchart illustrating an example of a winning ball control process.

【図49】 払出制御用CPUが実行する停電発生NM
I処理の例を示すフローチャートである。
FIG. 49 is a power outage occurrence NM executed by a payout control CPU.
It is a flowchart which shows the example of I processing.

【図50】 バックアップパリティデータ作成方法の例
を説明するための説明図である。
FIG. 50 is an explanatory diagram for describing an example of a backup parity data creation method.

【図51】 払出制御用CPUが実行する払出状態復旧
処理の例を示すフローチャートである。
FIG. 51 is a flowchart illustrating an example of a payout state restoration process executed by a payout control CPU.

【符号の説明】[Explanation of symbols]

1 パチンコ遊技機 31 主基板 37 払出制御基板 53 基本回路 56 CPU 371 払出制御用CPU 570 出力ポート(出力ポート0) 571 出力ポート(出力ポート1) 572 出力ポート(出力ポート2) 573 出力ポート(出力ポート3) 574 出力ポート(出力ポート4) 902 電源監視用IC 910 電源基板 1 Pachinko gaming machine 31 Main board 37 Payout control board 53 Basic circuit 56 CPU 371 Payout control CPU 570 Output port (Output port 0) 571 Output port (Output port 1) 572 Output port (Output port 2) 573 Output port (Output) Port 3) 574 output port (output port 4) 902 power supply monitoring IC 910 power supply board

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 遊技者が所定の遊技を行うことが可能な
遊技機であって、 遊技の進行を制御する遊技制御手段と、遊技機に設けら
れる電気部品を制御するための電気部品制御処理を行う
電気部品制御手段を含み、 前記遊技制御手段は、前記電気部品制御手段に対してコ
マンドデータとコマンドデータの取込みを指定する取込
信号とを出力するためのコマンド出力処理を実行し、 前記電気部品制御手段は、所定周期で発生する割込に応
じて所定の定期割込処理を実行するとともに、前記遊技
制御手段からの取込信号の入力にもとづく割込に応じて
前記遊技制御手段が出力したコマンドを受信するための
コマンド受信処理を実行し、前記コマンド受信処理を前
記定期割込処理よりも優先して実行することを特徴とす
る遊技機。
1. A game machine in which a player can play a predetermined game, a game control means for controlling the progress of the game, and an electric component control process for controlling an electric component provided in the game machine. The game control means executes a command output process for outputting command data and a capture signal designating capture of command data to the electrical component control means, The electric component control means executes a predetermined periodic interrupt process in response to an interrupt generated in a predetermined cycle, and the game control means responds to an interrupt based on an input of a capture signal from the game control means. A gaming machine, comprising: executing a command receiving process for receiving an output command; and executing the command receiving process with priority over the periodic interrupt process.
【請求項2】 電気部品制御手段は、コマンド受信処理
が終了するまでは割込を許可しない請求項1記載の遊技
機。
2. The gaming machine according to claim 1, wherein the electric component control means does not permit the interruption until the command receiving process is completed.
【請求項3】 定期割込処理の実行中に取込信号の入力
にもとづく割込が発生すると、電気部品制御手段は、定
期割込処理を中断してコマンド受信処理を実行する請求
項1または請求項2記載の遊技機。
3. An electric component control means for interrupting a periodic interrupt process and executing a command receiving process when an interrupt based on an input of a capture signal occurs during the execution of the periodic interrupt process. The gaming machine according to claim 2.
【請求項4】 定期割込処理は割込許可状態で実行され
る請求項1ないし請求項3記載の遊技機。
4. The gaming machine according to claim 1, wherein the periodic interruption processing is executed in an interruption permission state.
【請求項5】 電気部品制御手段は、所定周期で発生す
る割込に応じて電気部品制御に関わる処理を実行する請
求項1ないし請求項4記載の遊技機。
5. The gaming machine according to claim 1, wherein the electric component control means executes a process related to electric component control in response to an interrupt generated in a predetermined cycle.
【請求項6】 電気部品制御手段は、割込を発生可能な
複数の割込発生部を含み、 前記各割込発生部の優先順位の設定が可能であって、 コマンド受信割込のための割込を発生する割込発生部の
優先順位は、定期割込処理のための割込を発生する割込
発生部の優先順位よりも高く設定される請求項1ないし
請求項5記載の遊技機。
6. The electric component control means includes a plurality of interrupt generating units capable of generating an interrupt, wherein the priority order of each of the interrupt generating units can be set, and 6. The gaming machine according to claim 1, wherein the priority of the interrupt generating unit that generates the interrupt is set higher than the priority of the interrupt generating unit that generates the interrupt for the periodic interrupt processing. .
【請求項7】 電気部品制御手段は、遊技制御手段から
の取込信号の入力に応じて特定レジスタの値を更新する
更新手段を備え、前記特定レジスタの値が所定値になっ
たことに応じて、前記遊技制御手段が出力したコマンド
を受信するためのコマンド受信処理を実行する請求項1
ないし請求項6記載の遊技機。
7. The electric component control means includes updating means for updating a value of a specific register in response to an input of a capture signal from the game control means, and in response to the value of the specific register reaching a predetermined value. And executing a command receiving process for receiving a command output by said game control means.
A gaming machine according to claim 6.
【請求項8】 電気部品制御手段は、初期設定処理で、
特定レジスタに初期値を設定する請求項7記載の遊技
機。
8. The electric component control means includes:
The gaming machine according to claim 7, wherein an initial value is set in the specific register.
【請求項9】 電気部品制御手段は、入力されたコマン
ドデータを同時に複数格納可能である請求項1ないし請
求項8記載の遊技機。
9. The gaming machine according to claim 1, wherein the electric component control means can simultaneously store a plurality of input command data.
【請求項10】 コマンド受信処理は、入力されたコマ
ンドデータが適正なコマンドデータであるか否かを判定
するコマンド判定処理を含む請求項1ないし請求項9記
載の遊技機。
10. The gaming machine according to claim 1, wherein the command receiving process includes a command determining process for determining whether the input command data is proper command data.
【請求項11】 電気部品制御手段に送出される1つの
指令情報が、2つのコマンドデータで構成されている請
求項1ないし請求項10記載の遊技機。
11. The gaming machine according to claim 1, wherein one piece of command information sent to the electric component control means is composed of two pieces of command data.
【請求項12】 遊技制御手段は、1つ目のコマンドデ
ータと次のコマンドデータとを識別可能な態様で出力可
能である請求項11記載の遊技機。
12. The game machine according to claim 11, wherein the game control means can output the first command data and the next command data in an identifiable manner.
JP2000065783A 2000-03-09 2000-03-09 Game machine Expired - Fee Related JP3773747B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000065783A JP3773747B2 (en) 2000-03-09 2000-03-09 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000065783A JP3773747B2 (en) 2000-03-09 2000-03-09 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006010409A Division JP3999244B2 (en) 2006-01-18 2006-01-18 Game machine

Publications (3)

Publication Number Publication Date
JP2001252447A true JP2001252447A (en) 2001-09-18
JP2001252447A5 JP2001252447A5 (en) 2005-12-08
JP3773747B2 JP3773747B2 (en) 2006-05-10

Family

ID=18585252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000065783A Expired - Fee Related JP3773747B2 (en) 2000-03-09 2000-03-09 Game machine

Country Status (1)

Country Link
JP (1) JP3773747B2 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003111941A (en) * 2001-10-04 2003-04-15 Fuji Shoji:Kk Game machine
JP2007044157A (en) * 2005-08-08 2007-02-22 Sankyo Kk Game machine
JP2007044158A (en) * 2005-08-08 2007-02-22 Sankyo Kk Game machine
JP2007068793A (en) * 2005-09-07 2007-03-22 Sankyo Kk Game machine
JP2007068792A (en) * 2005-09-07 2007-03-22 Sankyo Kk Game machine
JP2007089914A (en) * 2005-09-29 2007-04-12 Sankyo Kk Game machine
JP2007105367A (en) * 2005-10-17 2007-04-26 Sankyo Kk Game machine
JP2007190097A (en) * 2006-01-17 2007-08-02 Sankyo Kk Game machine
JP2007190099A (en) * 2006-01-17 2007-08-02 Sankyo Kk Game machine
JP2007222690A (en) * 2007-06-15 2007-09-06 Fujishoji Co Ltd Game machine
JP2008132217A (en) * 2006-11-29 2008-06-12 Aruze Corp Game machine

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003111941A (en) * 2001-10-04 2003-04-15 Fuji Shoji:Kk Game machine
JP2007044157A (en) * 2005-08-08 2007-02-22 Sankyo Kk Game machine
JP2007044158A (en) * 2005-08-08 2007-02-22 Sankyo Kk Game machine
JP2007068793A (en) * 2005-09-07 2007-03-22 Sankyo Kk Game machine
JP2007068792A (en) * 2005-09-07 2007-03-22 Sankyo Kk Game machine
JP2007089914A (en) * 2005-09-29 2007-04-12 Sankyo Kk Game machine
JP2007105367A (en) * 2005-10-17 2007-04-26 Sankyo Kk Game machine
JP2007190097A (en) * 2006-01-17 2007-08-02 Sankyo Kk Game machine
JP2007190099A (en) * 2006-01-17 2007-08-02 Sankyo Kk Game machine
JP2008132217A (en) * 2006-11-29 2008-06-12 Aruze Corp Game machine
JP2007222690A (en) * 2007-06-15 2007-09-06 Fujishoji Co Ltd Game machine
JP4498388B2 (en) * 2007-06-15 2010-07-07 株式会社藤商事 Game machine

Also Published As

Publication number Publication date
JP3773747B2 (en) 2006-05-10

Similar Documents

Publication Publication Date Title
JP2001252451A (en) Game machine
JP3773747B2 (en) Game machine
JP2001310039A (en) Game machine
JP2001310067A (en) Game machine
JP3558942B2 (en) Gaming machine
JP2001347013A (en) Game machine
JP3462829B2 (en) Gaming machine
JP4137346B2 (en) Game machine
JP2002119734A (en) Game machine
JP4056683B2 (en) Game machine
JP2001224809A (en) Game machine
JP2002011203A (en) Game machine
JP3999244B2 (en) Game machine
JP2001252450A (en) Game machine
JP4065888B2 (en) Game machine
JP3999245B2 (en) Game machine
JP3999247B2 (en) Game machine
JP2002078942A (en) Game machine
JP2001314611A (en) Game machine
JP2002085792A (en) Game machine
JP2002058834A (en) Game machine
JP2001340591A (en) Game machine
JP2001310022A (en) Game machine
JP2001314567A (en) Game machine
JP2001310040A (en) Game machine

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051026

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060119

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060215

R150 Certificate of patent or registration of utility model

Ref document number: 3773747

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120224

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20120224

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20120224

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120224

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120224

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130224

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20130224

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140224

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees