JP2001178890A - Game machine - Google Patents

Game machine

Info

Publication number
JP2001178890A
JP2001178890A JP36578599A JP36578599A JP2001178890A JP 2001178890 A JP2001178890 A JP 2001178890A JP 36578599 A JP36578599 A JP 36578599A JP 36578599 A JP36578599 A JP 36578599A JP 2001178890 A JP2001178890 A JP 2001178890A
Authority
JP
Japan
Prior art keywords
power supply
voltage
power
signal
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP36578599A
Other languages
Japanese (ja)
Other versions
JP3583336B2 (en
Inventor
Shohachi Ugawa
詔八 鵜川
Yuichiro Sunaga
祐一郎 須永
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 JP36578599A priority Critical patent/JP3583336B2/en
Publication of JP2001178890A publication Critical patent/JP2001178890A/en
Application granted granted Critical
Publication of JP3583336B2 publication Critical patent/JP3583336B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent a power source shutdown operation from being performed by mistake during the startup of a game machine when a power is supplied. SOLUTION: The game machine wherein a game player can perform a predetermined game includes an electric component control means and a power source monitoring means which monitors the voltage of a power source of a predetermined voltage, which is used for the game machine, and outputs a sensing signal when a predetermined condition is established. The electric component control means performs a predetermined power feed suspension process based on a sensing signal from the power source monitoring means and includes a power supply suspension process limit means to prevent a power supply suspension process from being performed when a power is supplied to the electric component control means.

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 a gaming machine, a game medium such as a game ball is launched into a game area by a launching device, and when a game medium wins a winning area such as a winning opening provided in the game area, a predetermined number of prize balls are obtained. Are paid out to players.
Furthermore, a variable display unit capable of changing the display state is provided,
There is a configuration in which a predetermined game value is provided to a player when a display result of the variable display unit has a predetermined specific display mode.

【0003】なお、遊技価値とは、遊技機の遊技領域に
設けられた可変入賞球装置の状態が打球が入賞しやすい
遊技者にとって有利な状態になることや、遊技者にとっ
て有利な状態となるための権利を発生させたりすること
や、景品遊技媒体払出の条件が成立しやすくなる状態に
なることことである。
[0003] The game value means that the state of the variable prize ball device provided in the game area of the gaming machine is in an advantageous state for a player who is likely to win a hit ball, or in an advantageous state for the player. Or a condition in which the conditions for paying out prize game media are easily satisfied.

【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] In addition, among the combinations of display modes other than the "big hit" combination, at a stage where some of the display results of the plurality of variable display portions have not been derived and displayed yet, the display results have already been derived and displayed. The state in which the display mode of the variable display unit that satisfies the display condition that is a combination of the specific display modes is called “reach”. If the display result of the identification information variably displayed on the variable display unit does not satisfy the condition of “reach”, the result is “out” 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,
Sent to the prize ball control board. Hereinafter, the game control means and the other control means may be respectively referred to as electric component control means.

【0007】[0007]

【発明が解決しようとする課題】以上のように、遊技機
には、遊技制御手段を初めとする種々の電気部品制御手
段が搭載されている。一般に、各電気部品制御手段はマ
イクロコンピュータで構成され、停電が発生した後、初
期状態からの復帰となるため、遊技者が獲得したはずの
利益を受けることができない等の問題が発生し得る。こ
の様な問題の解決手段の一つとして、停電等による遊技
機の電圧値の低下に伴なって発せられる所定の信号に応
じて遊技制御を中断して電源断処理を開始し電源断状態
として、記憶内容をバックアップ電源により保護させ
て、電源の復帰を待機させる方法がある。
As described above, a gaming machine is equipped with various electric component control means including game control means. Generally, each electric component control means is constituted by a microcomputer, and after a power failure occurs, the control returns from an initial state, so that a problem that a player cannot receive a profit that should have been obtained may occur. As one of means for solving such a problem, the game control is interrupted in response to a predetermined signal issued along with a decrease in the voltage value of the gaming machine due to a power failure or the like, and a power-off process is started to set the power-off state. There is a method in which the stored contents are protected by a backup power supply, and the power is restored.

【0008】このような方法を用いた場合、停電等から
の復旧時における遊技機の電圧値の上昇途中であって
も、マイクロコンピュータが所定の信号のレベルに応じ
て誤って電源断処理を開始してしまい、再び電源断状態
とされる可能性がある。
When such a method is used, the microcomputer erroneously starts power-off processing according to the level of a predetermined signal even when the voltage value of the gaming machine is increasing during recovery from a power failure or the like. And the power may be turned off again.

【0009】そこで、本発明は、停電後の電源復旧時な
どの電源投入時において、遊技機の立ち上げ途中に誤っ
て電源断処理が実行されることを防止することを目的と
する。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to prevent a power-off process from being erroneously performed during the start-up of a gaming machine when the power is turned on, such as when the power is restored after a power failure.

【0010】[0010]

【課題を解決するための手段】本発明による遊技機は、
遊技者が所定の遊技を行うことが可能な遊技機であっ
て、遊技機に設けられる電気部品を制御するための処理
を行う電気部品制御手段と、遊技機で使用される所定電
位電源の電圧を監視し、所定条件が成立したときに検出
信号を出力する電源監視手段とを備え、電気部品制御手
段は、電源監視手段からの検出信号により所定の電力供
給停止時処理を実行し、電気部品制御手段の電力供給開
始時では、電力供給停止時処理を実行しない様にするた
めの電力供給停止時処理制限手段を備えたことを特徴と
する。なお、電気部品制御手段の例として、遊技進行を
制御する遊技制御手段や、遊技媒体の払出制御を行う払
出制御手段がある。
A gaming machine according to the present invention comprises:
A gaming machine in which a player can play a predetermined game, an electrical component control means for performing processing for controlling an electrical component provided in the gaming machine, and a voltage of a predetermined potential power supply used in the gaming machine And a power supply monitoring means for outputting a detection signal when a predetermined condition is satisfied, wherein the electric component control means executes a predetermined power supply stop processing according to the detection signal from the power supply monitoring means, When the power supply of the control means is started, a power supply stop processing restriction means for preventing the power supply stop processing from being executed is provided. Examples of the electric component control means include a game control means for controlling the progress of the game and a payout control means for controlling the payout of the game medium.

【0011】電力供給停止時処理制限手段は、電気部品
制御手段のシステムリセットを解除するタイミングを遅
延させる遅延手段を含み、遅延手段により電源監視手段
の検出信号の入力に応じた電力供給停止時処理の実行が
可能な状態となるタイミングを遅延させるように構成さ
れていてもよい。
The power supply interruption processing restriction means includes a delay means for delaying the timing of canceling the system reset of the electric component control means, and the power supply interruption processing in response to the input of the detection signal of the power supply monitoring means by the delay means. May be configured to delay the timing at which execution of the program can be performed.

【0012】電力供給停止時処理制限手段は、電力の供
給が開始されてから、電源監視手段からの検出信号が電
力供給停止時処理の実行を示す状態となっている期間よ
りも長く、電気部品制御手段のシステムリセット状態を
保持させるように構成されていてもよい。
[0012] The power supply stop time processing restriction means is longer than the period during which the detection signal from the power supply monitoring means indicates the execution of the power supply stop time processing after the power supply is started. The control means may be configured to hold the system reset state.

【0013】電気部品制御手段は、システムリセットの
解除に応じて所定の起動時処理を行い、所定条件は、所
定電位電源の電圧が所定の値に満たない場合に成立し、
所定の値は、起動時処理終了時の所定電位電源の電圧の
値よりも小さい値に設定される構成であってもよい。
The electric component control means performs a predetermined startup process in response to the release of the system reset, and the predetermined condition is satisfied when the voltage of the predetermined potential power supply is less than a predetermined value,
The predetermined value may be set to a value smaller than the value of the voltage of the predetermined potential power supply at the end of the startup process.

【0014】電源監視手段は、電力供給停止時に、電気
部品制御手段が動作不能となる前の段階で、電気部品制
御手段に検出信号を出力するように構成されていてもよ
い。
[0014] The power supply monitoring means may be configured to output a detection signal to the electric component control means when the power supply is stopped and before the electric component control means becomes inoperable.

【0015】検出信号は、NMI割込信号として電気部
品制御手段に入力されるように構成されていてもよい。
The detection signal may be configured to be input to the electric component control means as an NMI interrupt signal.

【0016】電気部品制御手段は、電力供給開始時に、
電力供給停止直前の内容を保持することが可能な記憶手
段に保持されている保持データにもとづいて制御を再開
させることが可能である構成であってもよい。
[0016] The electric component control means, at the start of power supply,
The configuration may be such that the control can be restarted based on the held data held in the storage means capable of holding the contents immediately before the stop of the power supply.

【0017】電気部品制御手段は、電力供給停止時処理
においてRAMアクセス禁止処理を実行するように構成
されていてもよい。
[0017] The electric component control means may be configured to execute a RAM access prohibition process in the power supply stop process.

【0018】[0018]

【発明の実施の形態】以下、本発明の一実施形態を図面
を参照して説明する。まず、遊技機の一例であるパチン
コ遊技機の全体の構成について説明する。図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 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.

【0019】図1に示すように、パチンコ遊技機1は、
額縁状に形成されたガラス扉枠2を有する。ガラス扉枠
2の下部表面には打球供給皿3がある。打球供給皿3の
下部には、打球供給皿3からあふれた景品玉を貯留する
余剰玉受皿4と打球を発射する打球操作ハンドル(操作
ノブ)5が設けられている。ガラス扉枠2の後方には、
遊技盤6が着脱可能に取り付けられている。また、遊技
盤6の前面には遊技領域7が設けられている。
As shown in FIG. 1, the pachinko gaming machine 1 comprises:
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 prize 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.

【0020】遊技領域7の中央付近には、複数種類の図
柄を可変表示するための可変表示部9と7セグメントL
EDによる可変表示器10とを含む可変表示装置8が設
けられている。この実施の形態では、可変表示部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 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 a passage between the passage gate 11 and the ball outlet 13, there is a gate switch 12 for detecting a hit ball that has passed through the passage gate 11. In addition, the winning ball that entered the starting winning port 14 is
It is guided to the back of the game board 6 and is detected by the starting port switch 17. 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.

【0021】可変入賞球装置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.

【0022】遊技盤6には、複数の入賞口19,24が
設けられ、遊技球の入賞口19,24への入賞は入賞口
スイッチ19a,24aによって検出される。遊技領域
7の左右周辺には、遊技中に点滅表示される装飾ランプ
25が設けられ、下部には、入賞しなかった打球を吸収
するアウト口26がある。また、遊技領域7の外側の左
右上部には、効果音を発する2つのスピーカ27が設け
られている。遊技領域7の外周には、遊技効果LED2
8aおよび遊技効果ランプ28b,28cが設けられて
いる。
The gaming board 6 is provided with a plurality of winning ports 19 and 24, and winning of the gaming balls to the winning ports 19 and 24 is detected by the winning port switches 19a and 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. In addition, two speakers 27 that emit sound effects are provided at upper left and right sides outside the game area 7. A gaming effect LED 2 is provided on the outer periphery of the gaming area 7.
8a and gaming effect lamps 28b and 28c are provided.

【0023】そして、この例では、一方のスピーカ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 turned on when a prize ball is paid out, and near the other speaker 27, a cutout lamp 52 which is turned on when a supply ball is cut out is provided. Further, FIG. 1 also shows a card unit 50 that is installed adjacent to the pachinko gaming table 1 and enables lending of balls by inserting a prepaid card.

【0024】カードユニット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 is in a usable state. If there is a fraction (a number 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.

【0025】打球発射装置から発射された打球は、打球
レールを通って遊技領域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.

【0026】可変表示部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).

【0027】停止時の可変表示部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.

【0028】次に、パチンコ遊技機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 of the variable display device 8, as shown in FIG. 2, a prize ball tank 38 is provided above the mechanism plate 36, and when the pachinko gaming machine 1 is installed on the gaming machine installation island, a prize ball is provided from above. Premium ball tank 3
8 is supplied. The prize ball in the prize ball tank 38 reaches the ball payout device through the guide gutter 39.

【0029】機構板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 prize ball control board on which a prize ball control microcomputer for controlling the payout of prize balls is mounted. 37 are 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 transmitting signals to the ball-out lamp 52 are provided.

【0030】また、図3はパチンコ遊技機1の機構板を
背面からみた背面図である。誘導樋39を通った玉は、
図3に示されるように、玉切れ検出器187a,187
bを通過して玉供給樋186a,186bを経て玉払出
装置97に至る。玉払出装置97から払い出された景品
玉は、連絡口45を通ってパチンコ遊技機1の前面に設
けられている打球供給皿3に供給される。連絡口45の
側方には、パチンコ遊技機1の前面に設けられている余
剰玉受皿4に連通する余剰玉通路46が形成されてい
る。入賞にもとづく景品玉が多数払い出されて打球供給
皿3が満杯になり、ついには景品玉が連絡口45に到達
した後さらに景品玉が払い出されると景品玉は、余剰玉
通路46を経て余剰玉受皿4に導かれる。さらに景品玉
が払い出されると、感知レバー47が満タンスイッチ4
8を押圧して満タンスイッチ48がオンする。その状態
では、玉払出装置97内のステッピングモータの回転が
停止して玉払出装置97の動作が停止するとともに、必
要に応じて打球発射装置34の駆動も停止する。なお、
この実施の形態では、電気的駆動源の駆動によって遊技
球を払い出す玉払出装置として、ステッピングモータの
回転によって遊技球が払い出される玉払出装置97を例
示するが、その他の駆動源によって遊技球を送り出す構
造の玉払出装置を用いてもよいし、電気的駆動源の駆動
によってストッパを外し遊技球の自重によって払い出し
がなされる構造の玉払出装置を用いてもよい。
FIG. 3 is a rear view of the mechanical plate of the pachinko gaming machine 1 as viewed from the rear. The ball that passed through the induction gutter 39
As shown in FIG. 3, the broken-out detectors 187a, 187
b, and reaches the ball dispensing device 97 via the ball supply gutters 186a and 186b. The prize ball paid out from the ball payout device 97 is 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 based on the prize are paid out, and the ball supply tray 3 becomes full. Finally, after the prize balls reach the communication port 45, further prize balls are paid out. It is led to the ball tray 4. When the prize ball is further paid out, the sensing lever 47 is set to the full switch 4.
By pressing 8, the full tank switch 48 is turned on. In this 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 hitting ball firing device 34 also stops as necessary. In addition,
In this embodiment, a ball payout device 97 in which game balls are paid out by rotation of a stepping motor is illustrated as a ball payout device that pays out game balls by driving an electric drive source. A ball payout device having a structure of sending out a ball may be used, or a ball payout device having a structure in which a stopper is removed by driving an electric drive source and payout is performed by the weight of the game ball may be used.

【0031】賞球払出制御を行うために、入賞口スイッ
チ19a,24a、始動口スイッチ17およびVカウン
トスイッチ22からの信号が、主基板31に送られる。
主基板31のCPU56は、始動口スイッチ17がオン
すると6個の賞球払出に対応した入賞が発生したことを
知る。また、カウントスイッチ23がオンすると15個
の賞球払出に対応した入賞が発生したことを知る。そし
て、入賞口スイッチがオンすると10個の賞球払出に対
応した入賞が発生したことを知る。なお、この実施の形
態では、例えば、入賞口24に入賞した遊技球は、入賞
口24からの入賞球流路に設けられている入賞口スイッ
チ24aで検出され、入賞口19に入賞した遊技球は、
入賞口19からの入賞球流路に設けられている入賞口ス
イッチ19aで検出される。
Signals from the winning opening switches 19a and 24a, the starting opening switch 17 and the V count switch 22 are sent to the main board 31 in order to perform the prize ball payout control.
When the starting port switch 17 is turned on, the CPU 56 of the main board 31 knows that a winning corresponding to the payout of six winning balls has occurred. Further, when the count switch 23 is turned on, it is known that a winning corresponding to the payout of 15 prize balls has occurred. Then, when the winning opening switch is turned on, it is known that a winning corresponding to the payout of 10 prize balls has occurred. In this embodiment, for example, a game ball that has won the winning opening 24 is detected by the winning opening switch 24 a provided in the winning ball flow path from the winning opening 24, and the game ball that has won the winning opening 19 is detected. Is
It is detected by a winning opening switch 19a provided in a winning ball flow path from the winning opening 19.

【0032】図4は、主基板31における回路構成の一
例を示すブロック図である。なお、図4には、賞球制御
基板37、ランプ制御基板35、音制御基板70、発射
制御基板91および表示制御基板80も示されている。
主基板31には、プログラムに従ってパチンコ遊技機1
を制御する基本回路53と、ゲートスイッチ12、始動
口スイッチ17、Vカウントスイッチ22、カウントス
イッチ23および入賞口スイッチ19a,24aからの
信号を基本回路53に与えるスイッチ回路58と、可変
入賞球装置15を開閉するソレノイド16および開閉板
20を開閉するソレノイド21を基本回路53からの指
令に従って駆動するソレノイド回路59と、始動記憶表
示器18の点灯および滅灯を行うとともに7セグメント
LEDによる可変表示器10と装飾ランプ25とを駆動
するランプ・LED回路60とが搭載されている。
FIG. 4 is a block diagram showing an example of the circuit configuration of the main board 31. FIG. 4 also shows the prize ball 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.
, 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, and the winning port switches 19a, 24a to the basic circuit 53, and a variable winning ball device. A solenoid circuit 59 for driving a solenoid 16 for opening and closing the opening 15 and a solenoid 21 for opening and closing the opening and closing plate 20 in accordance with a command from the basic circuit 53; A lamp / LED circuit 60 for driving the lamp 10 and the decorative lamp 25 is mounted.

【0033】また、基本回路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 of 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.

【0034】基本回路53は、ゲーム制御用のプログラ
ム等を記憶するROM54、ワークメモリとして使用さ
れる記憶手段の一例であるRAM55、制御用のプログ
ラムに従って制御動作を行うCPU56およびI/Oポ
ート部57を含む。この実施の形態では、ROM54,
RAM55はCPU56に内蔵されている。すなわち、
CPU56は、1チップマイクロコンピュータである。
なお、1チップマイクロコンピュータは、少なくともR
AM55が内蔵されていればよく、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 a control program, and an I / O port unit 57. including. In this embodiment, the ROM 54,
The RAM 55 is built in the CPU 56. That is,
The CPU 56 is a one-chip microcomputer.
The one-chip microcomputer has at least R
It is sufficient if the AM 55 is built-in.
The / O port section 57 may be externally mounted or built-in. The I / O port unit 57 is a terminal capable of inputting and outputting information in the microcomputer.

【0035】さらに、主基板31には、電源投入時に基
本回路53をリセットするための初期リセット回路65
と、基本回路53から与えられるアドレス信号をデコー
ドしてI/Oポート部57のうちのいずれかのI/Oポ
ートを選択するための信号を出力するアドレスデコード
回路67とが設けられている。なお、玉払出装置97か
ら主基板31に入力されるスイッチ情報もあるが、図4
ではそれらは省略されている。
Further, the main board 31 has an initial reset circuit 65 for resetting the basic circuit 53 when the power is turned on.
And an address decode circuit 67 that decodes an address signal provided from the basic circuit 53 and outputs a signal for selecting one of the I / O ports in the I / O port unit 57. Although there is switch information input from the ball dispensing device 97 to the main board 31, FIG.
Then they are omitted.

【0036】遊技球を打撃して発射する打球発射装置は
発射制御基板91上の回路によって制御される駆動モー
タ94で駆動される。そして、駆動モータ94の駆動力
は、操作ノブ5の操作量に従って調整される。すなわ
ち、発射制御基板91上の回路によって、操作ノブ5の
操作量に応じた速度で打球が発射されるように制御され
る。
A hit ball launching device that hits and launches a game ball is driven by a drive motor 94 controlled by a circuit on a launch 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.

【0037】図5は、賞球制御基板37および玉払出装
置97の構成要素などの賞球に関連する構成要素を示す
ブロック図である。図5に示すように、満タンスイッチ
48からの検出信号は、中継基板71を介して主基板3
1のI/Oポート57に入力される。満タンスイッチ4
8は、余剰玉受皿4の満タンを検出するスイッチであ
る。
FIG. 5 is a block diagram showing components related to the prize ball, such as the components of the prize ball control board 37 and the ball payout device 97. As shown in FIG. 5, the detection signal from the full tank switch 48 is transmitted to the main board 3 via the relay board 71.
1 is input to the I / O port 57. Full tank switch 4
Reference numeral 8 denotes a switch that detects whether the surplus ball tray 4 is full.

【0038】玉切れ検出スイッチ167および玉切れス
イッチ187(187a,187b)からの検出信号
は、中継基板72および中継基板71を介して主基板3
1のI/Oポート57に入力される。玉切れ検出スイッ
チ167は景品玉タンク38内の補給玉の不足を検出す
るスイッチであり、玉切れスイッチ187は、景品玉通
路内の景品玉の有無を検出するスイッチである。
The detection signals from the broken-out detection switch 167 and the broken-out switch 187 (187a, 187b) are transmitted to the main board 3 via the relay board 72 and the relay board 71.
1 is input to the I / O port 57. The cut-out detection switch 167 is a switch for detecting a shortage of supply balls in the prize ball tank 38, and the cut-out switch 187 is a switch for detecting the presence or absence of a prize ball in the prize ball passage.

【0039】主基板31のCPU56は、玉切れ検出ス
イッチ167または玉切れスイッチ187からの検出信
号が玉切れ状態を示しているか、または、満タンスイッ
チ48からの検出信号が満タン状態を示していると、玉
貸し禁止を指示する賞球制御コマンドを送出する。玉貸
し禁止を指示する賞球制御コマンドを受信すると、賞球
制御基板37の賞球制御用CPU371は、玉貸し処理
を停止する。
The CPU 56 of the main board 31 indicates that the detection signal from the burn-out switch 167 or the burn-out switch 187 indicates a burn-out state, or the detection signal from the full-battery switch 48 indicates the full-battery state. If it is, a prize ball control command for instructing ball lending is sent. When receiving the award ball control command instructing the ball lending prohibition, the award ball control CPU 371 of the award ball control board 37 stops the ball lending process.

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

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

【0042】賞球制御用CPU371は、出力ポート3
72gを介して、貸し玉数を示す玉貸し個数信号をター
ミナル基板160に出力し、ブザー駆動信号をブザー基
板75に出力する。ブザー基板75にはブザーが搭載さ
れている。さらに、出力ポート372eを介して、エラ
ー表示用LED374にエラー信号を出力する。
The CPU 371 for controlling the prize ball includes an 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 drive 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.

【0043】さらに、賞球制御基板37の入力ポート3
72bには、中継基板72を介して、賞球カウントスイ
ッチ301Aからの検出信号が入力される。賞球制御基
板37からの払出モータ289への駆動信号は、出力ポ
ート372cおよび中継基板72を介して玉払出装置9
7の賞球機構部分における払出モータ289に伝えられ
る。
Further, the input port 3 of the prize ball control board 37
A detection signal from the winning ball count switch 301A is input to the relay board 72b via the relay board 72. The drive signal from the prize ball control board 37 to the payout motor 289 is transmitted to the ball payout device 9 via the output port 372c and the relay board 72.
7 to the payout motor 289 in the prize ball mechanism portion 7.

【0044】カードユニット50には、カードユニット
制御用マイクロコンピュータが搭載されている。また、
カードユニット50には、端数表示スイッチ152、連
結台方向表示器153、カード投入表示ランプ154お
よびカード挿入口155が設けられている(図1参
照)。残高表示基板74には、打球供給皿3の近傍に設
けられている度数表示LED、玉貸しスイッチおよび返
却スイッチが接続される。
The card unit 50 is provided 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.

【0045】残高表示基板74からカードユニット50
には、遊技者の操作に応じて、玉貸しスイッチ信号およ
び返却スイッチ信号が賞球制御基板37を介して与えら
れる。また、カードユニット50から残高表示基板74
には、プリペイドカードの残高を示すカード残高表示信
号および玉貸し可表示信号が賞球制御基板37を介して
与えられる。カードユニット50と賞球制御基板37の
間では、ユニット操作信号(BRDY信号)、玉貸し要
求信号(BRQ信号)、玉貸し完了信号(EXS信号)
およびパチンコ機動作信号(PRDY信号)がI/Oポ
ート372fを介してやりとりされる。
From the balance display board 74 to the card unit 50
In response to the player's operation, a ball lending switch signal and a return switch signal are provided via the prize ball 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 prize ball control board 37. Between the card unit 50 and the prize ball control board 37, a unit operation signal (BRDY signal), a ball lending request signal (BRQ signal), a ball lending completion signal (EXS signal)
A pachinko machine operation signal (PRDY signal) is exchanged via the I / O port 372f.

【0046】パチンコ遊技機1の電源が投入されると、
賞球制御基板37の賞球制御用CPU371は、カード
ユニット50にPRDY信号を出力する。カードユニッ
ト50においてカードが受け付けられ、玉貸しスイッチ
が操作され玉貸しスイッチ信号が入力されると、カード
ユニット制御用マイクロコンピュータは、賞球制御基板
37にBRDY信号を出力する。この時点から所定の遅
延時間が経過すると、カードユニット制御用マイクロコ
ンピュータは、賞球制御基板37にBRQ信号を出力す
る。そして、賞球制御基板37の賞球制御用CPU37
1は、カードユニット50に対するEXS信号を立ち上
げ、カードユニット50からのBRQ信号の立ち下がり
を検出すると、払出モータ289を駆動し、所定個の貸
し玉を遊技者に払い出す。このとき、振分用ソレノイド
310の駆動を停止している。すなわち、球振分部材3
11を玉貸し側に向ける。そして、払出が完了したら、
賞球制御用CPU371は、カードユニット50に対す
るEXS信号を立ち下げる。その後、カードユニット5
0からのBRDY信号がオン状態でなければ、賞球払出
制御を実行する。
When the power of the pachinko gaming machine 1 is turned on,
The prize ball control CPU 371 of the prize ball control board 37 outputs a PRDY signal to the card unit 50. 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 prize ball control board 37. When a predetermined delay time elapses from this point, the microcomputer for controlling the card unit outputs a BRQ signal to the prize ball control board 37. The CPU 37 for controlling the prize ball on the prize ball control board 37
When the EXS signal to the card unit 50 rises and the falling of the BRQ signal from the card unit 50 is detected, the payout motor 289 is driven to pay out a predetermined number of lending balls to the player. At this time, the drive of the distribution solenoid 310 is stopped. That is, the ball distribution member 3
Turn 11 toward the ball lender. And when the payout is completed,
The award ball control CPU 371 causes the EXS signal to the card unit 50 to fall. Then, the card unit 5
If the BRDY signal from 0 is not on, the winning ball payout control is executed.

【0047】以上のように、カードユニット50からの
信号は全て賞球制御基板37に入力される構成になって
いる。従って、玉貸し制御に関して、カードユニット5
0から主基板31に信号が入力されることはなく、主基
板31の基本回路53にカードユニット50の側から不
正に信号が入力される余地はない。なお、主基板31お
よび賞球制御基板37には、ソレノイドおよびモータや
ランプを駆動するためのドライバ回路が搭載されている
が、図5では、それらの回路は省略されている。
As described above, all signals from the card unit 50 are configured to be input to the prize ball 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. The main board 31 and the prize ball control board 37 are provided with a solenoid and a driver circuit for driving a motor or a lamp, but those circuits are omitted in FIG.

【0048】なお、この実施の形態ではカードユニット
50が設けられている場合を例にするが、コイン投入に
応じてその金額に応じた遊技球を貸し出す場合にも本発
明を適用できる。
In this embodiment, the case where the card unit 50 is provided is described 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.

【0049】図6は、電源監視および電源バックアップ
のためのCPU56周りの一構成例を示すブロック図で
ある。図6に示すように、電源基板に搭載されている電
源監視回路(電源監視手段)からの電圧変化信号(NM
I割込信号)が、CPU56のマスク不能割込端子(N
MI端子)に接続されている。電源監視回路は、遊技機
1が使用する各種直流電源のうちのいずれかの電源の電
圧を監視して電源電圧の変化(低下や上昇)を検出する
回路である。従って、CPU56は、割込処理によって
電源断や電源復旧の発生を確認することができる。
FIG. 6 is a block diagram showing an example of a configuration around the CPU 56 for power supply monitoring and power supply backup. As shown in FIG. 6, a voltage change signal (NM) from a power supply monitoring circuit (power supply monitoring means) mounted on a power supply board is provided.
An I-interrupt signal is output from a non-maskable interrupt terminal (N
MI terminal). The power supply monitoring circuit is a circuit that monitors a voltage of any one of various DC power supplies used by the gaming machine 1 and detects a change (drop or rise) in the power supply voltage. Therefore, the CPU 56 can confirm the occurrence of power interruption or power restoration by the interrupt processing.

【0050】主基板31において、電源監視回路からの
NMI割込信号は、入力バッファ回路900を介してC
PU56側に入力されている。ここでは、入力バッファ
回路900として74HC244を例示するが、入力バ
ッファ機能を有する回路であればどのような回路を用い
てもよい。また、入力バッファ回路900は、電源基板
側から主基板31の内部側への方向にのみ信号を通過さ
せる不可逆性素子である。
On the main board 31, the NMI interrupt signal from the power supply monitoring circuit
It is input to the PU 56 side. Here, 74HC244 is exemplified as the input buffer circuit 900, but any circuit having an input buffer function may be used. The input buffer circuit 900 is an irreversible element that allows a signal to pass only in the direction from the power supply board to the inside of the main board 31.

【0051】この例では、電源監視回路は、+30V電
源電圧(VSL)を監視して例えば停電などにより電圧値
が所定値以下になると電圧変化信号をローレベルにす
る。電圧変化信号がローレベルになると、CPU56に
NMI(マスク不能割込)がかかる。CPU56は、N
MIに応じて電源断時処理を実行する。また、電源監視
回路からの電圧変化信号のレベルは、電源投入後しばら
くの間ローレベルであり、VSL電源電圧の電圧値が所定
値以上になるとハイレベルとなる。なお、電源監視回路
の検出電圧(NMI割込信号を出力することになる電
圧)を、この実施の形態では+22Vとする。よって、
この例では、電源監視回路が検出信号を出力することに
なる検出条件は+30V電源電圧が+22Vにまで低下
あるいは電源復旧後+22Vにまで上昇したことであ
る。ただし、ここで用いられている電圧値は一例であっ
て、他の値を用いてもよい。
In this example, the power supply monitoring circuit monitors the +30 V power supply voltage (VSL) and sets the voltage change signal to a low level when the voltage value falls below a predetermined value due to, for example, a power failure. When the voltage change signal goes low, an NMI (Non-Maskable Interrupt) is applied to the CPU 56. The CPU 56
The power-off process is executed according to the MI. Further, the level of the voltage change signal from the power supply monitoring circuit is low for a while after the power is turned on, and becomes high when the voltage value of the VSL power supply voltage becomes a predetermined value or more. Note that the detection voltage of the power supply monitoring circuit (the voltage at which the NMI interrupt signal is output) is +22 V in this embodiment. Therefore,
In this example, the detection condition under which the power supply monitoring circuit outputs the detection signal is that the +30 V power supply voltage decreases to +22 V or increases to +22 V after the power is restored. However, the voltage value used here is an example, and another value may be used.

【0052】また、主基板31には、システムリセット
回路65が設けられている。この例では、システムリセ
ット回路65は、電源監視回路と同じVSL電源電圧を監
視して、VSL電源電圧の電圧値が所定値以下であると出
力をローレベルにする。ローレベル出力はシステムリセ
ット信号となる。また、システムリセット回路65の出
力は、VSL電源電圧が所定値以上になるとハイレベルと
なる。なお、システムリセット回路65の検出電圧を例
えば+9Vとする。従って、システムリセット回路65
がローレベルのシステムリセット信号を出力することに
なる検出条件は、VSL電源電圧が+9Vにまで低下した
ことになる。また、システムリセット回路65がシステ
ムリセットを解除することになる検出条件は、VSL電源
電圧が+9Vにまで上昇したことになる。ただし、ここ
で用いられている電圧値は一例であって、他の値を用い
てもよい。この+9Vは,CPUが正常に動作できる状
態での電圧としている。この様な電圧でシステムリセッ
トをかけることで、正常にCPUの処理を終了させるこ
とができる。
The main board 31 is provided with a system reset circuit 65. In this example, the system reset circuit 65 monitors the same VSL power supply voltage as the power supply monitoring circuit, and sets the output to a low level when the voltage value of the VSL power supply voltage is equal to or less than a predetermined value. The low level output becomes a system reset signal. Further, the output of the system reset circuit 65 becomes high level when the VSL power supply voltage exceeds a predetermined value. Note that the detection voltage of the system reset circuit 65 is, for example, + 9V. Therefore, the system reset circuit 65
Is to output a low-level system reset signal when the VSL power supply voltage has dropped to + 9V. The detection condition for the system reset circuit 65 to release the system reset is that the VSL power supply voltage has risen to + 9V. However, the voltage value used here is an example, and another value may be used. This +9 V is a voltage at which the CPU can operate normally. By performing a system reset with such a voltage, the processing of the CPU can be normally terminated.

【0053】この実施の形態では、システムリセット回
路65は、遅延手段を含む。リセットIC651には、
コンデンサが外付けされ、コンデンサの容量に応じて出
力がハイレベルとなるタイミングが決まる。従って、コ
ンデンサの容量を所定の遅延時間を生成するような値に
選定すれば、電源投入時に、外付けのコンデンサの容量
で決まる所定時間だけ出力がローレベルとなり、所定時
間が経過すると出力がハイレベルとなる。また、リセッ
トIC651は、電源監視回路が監視する電源電圧と等
しい電源電圧であるVSLの電源電圧を電圧変化監視用端
子に導入し、その端子の電圧を監視して電圧値が所定値
以下になるとローレベルの電圧変化信号を発生する。な
お、図6に示すように、この電圧変化信号はリセット信
号と同じ出力信号である。CPU56は、システムリセ
ット回路65からのシステムリセット信号がローレベル
を呈しているときにリセット状態(非動作状態)にな
り、システムリセット回路65からのシステムリセット
信号がハイレベルを呈するようになることによりセット
状態(動作状態)になる。
In this embodiment, the system reset circuit 65 includes delay means. The reset IC 651 has
A capacitor is externally connected, and the timing at which the output becomes high level is determined according to the capacitance of the capacitor. Therefore, if the capacitance of the capacitor is selected to generate a predetermined delay time, the output becomes low level for a predetermined time determined by the capacitance of the external capacitor when the power is turned on, and the output becomes high after the predetermined time elapses. Level. Also, the reset IC 651 introduces a power supply voltage of VSL, which is a power supply voltage equal to the power supply voltage monitored by the power supply monitoring circuit, to the voltage change monitoring terminal, monitors the voltage of the terminal, and when the voltage value falls below a predetermined value. Generates a low-level voltage change signal. As shown in FIG. 6, this voltage change signal is the same output signal as the reset signal. The CPU 56 enters a reset state (non-operating state) when the system reset signal from the system reset circuit 65 has a low level, and the system reset signal from the system reset circuit 65 has a high level. The set state (operating state) is set.

【0054】なお、CPU56等の駆動電源である+5
V電源から電力が供給されていない間、RAMの少なく
とも一部は、電源基板から供給されるバックアップ電源
によってバックアップされ、遊技機に対する電源が断し
ても内容は保存される。そして、+5V電源が復旧し
て、VSL電源電圧が所定値(本例では+9V)以上にな
ると、システムリセット回路65からシステムリセット
信号が発せられるので、CPU56はセキュリティチェ
ックなどの所定の起動時処理を行ったあと通常の動作状
態に復帰する。
It should be noted that +5 which is the driving power source of the CPU 56 and the like is used.
While power is not being supplied from the V power supply, at least a portion of the RAM is backed up by a backup power supply supplied from a power supply board, and its contents are preserved even when the power to the gaming machine is cut off. When the + 5V power supply is restored and the VSL power supply voltage becomes equal to or higher than a predetermined value (in this example, + 9V), a system reset signal is issued from the system reset circuit 65, so that the CPU 56 performs predetermined startup processing such as a security check. After returning to the normal operation state.

【0055】このように、本実施の形態では、システム
リセット回路に遅延手段を備えるようにしたため、シス
テムリセット信号がハイレベルに立ち上がるタイミング
を遅らせて、電源監視回路からの電圧変化信号(NMI
割込信号)がハイレベルに立ち上がった後にシステムリ
セット信号をハイレベルに立ち上げるようにすることが
でき、システムリセットがハイレベルに立ち上がる前に
NMI割込信号がハイレベルに立ち上がってしまって電
源断処理が実行されてしまうことを防止することができ
る。
As described above, in this embodiment, since the system reset circuit is provided with the delay means, the timing at which the system reset signal rises to a high level is delayed, and the voltage change signal (NMI) from the power supply monitoring circuit is delayed.
Interrupt signal) rises to a high level, and then the system reset signal rises to a high level. Before the system reset rises to a high level, the NMI interrupt signal rises to a high level and the power is turned off. It is possible to prevent the processing from being executed.

【0056】図7は、遊技機の電源基板910の一構成
例を示すブロック図である。電源基板910は、主基板
31、表示制御基板80、音制御基板70、ランプ制御
基板35および賞球制御基板37等の電気部品制御基板
と独立して設置され、遊技機内の各電気部品制御基板お
よび機構部品が使用する電圧を生成する。この例では、
AC24V、DC+30V、DC+21V、DC+12
VおよびDC+5Vを生成する。また、バックアップ電
源となるコンデンサ916は、DC+5Vすなわち各基
板上のIC等を駆動する電源のラインから充電される。
FIG. 7 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 sound control board 70, the lamp control board 35, and the prize ball control board 37, and controls each electric component control board in the gaming machine. And the voltages used by the mechanical components. In this example,
AC24V, DC + 30V, DC + 21V, DC + 12
V and + 5V DC. Further, the capacitor 916 serving as a backup power supply is charged from DC + 5V, that is, a power supply line for driving an IC or the like on each substrate.

【0057】トランス911は、交流電源からの交流電
圧を24Vに変換する。AC24V電圧は、コネクタ9
15に出力される。また、整流回路912は、AC24
Vから+30Vの直流電圧を生成し、DC−DCコンバ
ータ913およびコネクタ915に出力する。DC−D
Cコンバータ913は、+21V、+12Vおよび+5
Vを生成してコネクタ915に出力する。コネクタ91
5は例えば中継基板に接続され、中継基板から各電気部
品制御基板および機構部品に必要な電圧の電力が供給さ
れる。なお、トランス911の入力側には、遊技機に対
する電源供給を停止したり開始させたりするための電源
スイッチが設置されている。
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 + 21V, + 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 for stopping and starting power supply to the gaming machine is provided on the input side of the transformer 911.

【0058】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.

【0059】なお、バックアップ電源として、+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.

【0060】また、電源基板910には、上述した電源
監視回路を構成する電源監視用IC902が搭載されて
いる。電源監視用IC902は、VSL電源電圧を導入
し、VSL電源電圧を監視することによって電源断または
電源復旧の発生を検出する。具体的には、VSL電源電圧
が所定値(この例では+22V)以下になったら、電源
断が生ずるとして電圧変化信号を出力する。上述したよ
うに電圧変化信号はNMI割込信号であり、NMI割込
信号がローレベルになるとCPUにNMIがかかる。な
お、監視対象の電源電圧は、各電気部品制御基板に搭載
されている回路素子の電源電圧(この例では+5V)よ
りも高い電圧であることが好ましい。この例では、VSL
は、交流から直流に変換された直後の電圧である+30
Vが用いられている。電源監視用IC902からの電圧
変化信号は、主基板31や賞球制御基板37等に供給さ
れる。
The power supply board 910 is mounted with a power supply monitoring IC 902 constituting the power supply monitoring circuit described above. The power supply monitoring IC 902 detects the occurrence of power interruption or power restoration 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 change signal is output assuming that power supply is cut off. As described above, the voltage change signal is an NMI interrupt signal, and when the NMI interrupt signal becomes low level, the NMI is applied to the CPU. 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
Is +30 which is the voltage immediately after conversion from AC to DC.
V is used. The voltage change signal from the power supply monitoring IC 902 is supplied to the main board 31, the prize ball control board 37, and the like.

【0061】電源監視用IC902が電源断または電源
復旧を検知するための所定値は、遊技機全体が正常に動
作する電圧より低いが、各電気部品制御基板上のCPU
が暫くの間動作可能であり、且つ、入賞球を検出するス
イッチが正常に検出を行うことが可能な程度の電圧であ
る。また、電源監視用IC902が、CPU等の回路素
子を駆動するための電圧(この例では+5V)よりも高
く、また、交流から直流に変換された直後の電圧を監視
するように構成されているので、CPUが必要とする電
圧に対して監視範囲を広げることができる。従って、よ
り精密な監視を行うことができる。
The predetermined value for the power supply monitoring IC 902 to detect a power-off or power-on recovery is lower than a voltage at which the entire gaming machine operates normally,
Is a voltage that is operable for a while and that allows a switch for detecting a winning ball to perform normal detection. 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.

【0062】また、電源監視用IC902は、電気部品
制御基板とは別個の電源基板910に搭載されているの
で、電源監視回路から複数の電気部品制御基板に電圧変
化信号を供給することができる。電圧変化信号を必要と
する電気部品制御基板が幾つあっても電源監視手段は1
つ設けられていればよいので、各電気部品制御基板にお
ける各電気部品制御手段が後述する電源復帰制御を行っ
ても、遊技機のコストはさほど上昇しない。また、複数
の機種で共通に使用可能であるため、機種変更をする際
の部品変換点数を減らすことが可能である。
Further, since the power supply monitoring IC 902 is mounted on the power supply board 910 separate from the electric component control board, a voltage change signal can be supplied from the power supply monitoring circuit to the plurality of electric component control boards. No matter how many electrical component control boards need a voltage change signal,
Since it is only necessary to provide one, the cost of the gaming machine does not increase so much even if each electric component control means in each electric component control board performs the power return control described later. Further, since a plurality of models can be used in common, it is possible to reduce the number of component conversion points when changing the model.

【0063】なお、図7に示された構成では、電源監視
用IC902の検出出力(電圧変化信号)は、バッファ
回路918,919を介してそれぞれの電気部品制御基
板に伝達されるが、例えば、1つの検出出力を中継基板
に伝達し、中継基板から各電気部品制御基板に同じ信号
を分配する構成でもよい。
In the configuration shown in FIG. 7, the detection output (voltage change signal) of the power supply monitoring IC 902 is transmitted to the respective electric component control boards via the buffer circuits 918 and 919. One detection output may be transmitted to the relay board, and the same signal may be distributed from the relay board to each electric component control board.

【0064】図8は、この実施の形態における電源復旧
時のシステムリセット信号とNMI割込信号(電源監視
回路からの電圧変化信号)との関係の一例を示すタイミ
ング図である。遊技機に電源が投入され、VSL電源電圧
が上昇して所定値(本例では+9V)に到達すると、シ
ステムリセット回路65は、ハイレベルに立ち上がるタ
イミングが所定時間遅延されたシステムリセット信号を
出力する。システムリセット信号が立ち上がるとCPU
は動作を開始する。この所定時間は、VSL電源電圧が、
NMI割込信号がハイレベルに立ち上がることとなる電
圧値(本例では+22V)に到達した後に、システムリ
セット信号が立ち上がるように予め定められた時間とさ
れる。すなわち、本例では、この所定時間遅延されるよ
うに、外付けのコンデンサの容量を定める。VSL電源電
圧がさらに上昇し、所定値(本例では+22V)に到達
すると、電源監視回路からのNMI割込信号はハイレベ
ルになる。
FIG. 8 is a timing chart showing an example of the relationship between the system reset signal and the NMI interrupt signal (voltage change signal from the power supply monitoring circuit) at the time of power restoration in this embodiment. When power is applied to the gaming machine and the VSL power supply voltage rises and reaches a predetermined value (+9 V in this example), the system reset circuit 65 outputs a system reset signal in which the timing of rising to a high level is delayed by a predetermined time. . When the system reset signal rises, the CPU
Starts operation. During this predetermined time, the VSL power supply voltage is
The predetermined time is set so that the system reset signal rises after the NMI interrupt signal reaches a voltage value (+22 V in this example) at which it rises to a high level. That is, in this example, the capacitance of the external capacitor is determined so as to be delayed by the predetermined time. When the VSL power supply voltage further rises and reaches a predetermined value (+22 V in this example), the NMI interrupt signal from the power supply monitoring circuit goes high.

【0065】このように、この実施の形態では、システ
ムリセット回路65に遅延手段を設ける構成としたこと
で、システムリセット回路65の発するシステムリセッ
ト信号がハイレベルになるタイミングを所定時間遅らせ
ることができ、NMI割込信号がハイレベル(NMIを
発生させないレベル)に立ち上がった後にシステムリセ
ット信号を立ち上げるようにすることができるため、シ
ステムリセット信号が立ち上がってリセット解除された
後でもNMI割込信号がローレベルとなっている状況は
発生しない。すなわち、CPUが動作開始する時点では
NMI割込信号は必ずハイレベルになっているので、電
源断処理が実行されてしまうことを確実に防止すること
ができる。なお、遅延手段は、例えば、システムリセッ
ト回路の後段に遅延回路を設けるなどの手段であっても
よい。
As described above, in this embodiment, the delay means is provided in the system reset circuit 65, so that the timing at which the system reset signal generated by the system reset circuit 65 becomes high can be delayed by a predetermined time. Since the system reset signal can be raised after the NMI interrupt signal has risen to a high level (a level at which no NMI is generated), the NMI interrupt signal can be maintained even after the system reset signal has risen and reset has been released. A low level situation does not occur. That is, since the NMI interrupt signal is always at the high level when the CPU starts operating, it is possible to reliably prevent the power-off process from being executed. Note that the delay unit may be, for example, a unit provided with a delay circuit after the system reset circuit.

【0066】なお、この実施の形態では、遅延手段を設
ける構成としているが、リセット解除後制御プログラム
が実行される前にセキュリティチェックプログラムなど
の起動時処理を実行するように構成されているCPUを
用いる場合には、遅延手段を設けることなく、システム
リセット信号が立ち上がってセキュリティチェックなど
の起動時処理が終了する前にNMI割込信号が立ち上が
るようにしてもよい。この場合、例えば、起動時処理に
要する時間を考慮して、起動時処理実行中にNMI割込
信号が立ち上がるタイミングとなるように、電源監視回
路がNMI割込信号を立ち上げる電源電圧の電圧値が定
められる。
In this embodiment, the delay means is provided. However, the CPU configured to execute a startup process such as a security check program before the execution of the control program after the reset is released. When used, the NMI interrupt signal may rise before the system reset signal rises and the startup processing such as the security check ends without providing the delay means. In this case, for example, the voltage value of the power supply voltage at which the power supply monitoring circuit raises the NMI interrupt signal is determined in consideration of the time required for the startup process so that the NMI interrupt signal rises during the startup process. Is determined.

【0067】図9は、起動時処理が終了する前にNMI
割込信号がハイレベルになるようにした場合における電
源復旧時のシステムリセット信号とNMI割込信号との
タイミング図である。遊技機に電源が投入されると、V
SL電源電圧が上昇し、所定値(本例では+9V)に到達
したときにシステムリセット回路65の出力(システム
リセット信号)がハイレベルになる。すると、CPU5
6により、自動的に起動時処理が行われ、起動時処理を
終えると制御プログラムの実行が行われる。この起動時
処理の実行中にVSL電源電圧が所定値(本例では+22
V)に到達するため、電源監視回路からのNMI割込信
号がハイレベルになる。そして、CPU56が起動時処
理を終えて制御プログラムの実行処理に移行する時点で
は、すでにNMI割込信号がハイレベルになっているの
でNMIは発生しない。なお、通常、CPUが起動時処
理を行っているときには、NMI割込信号がローレベル
になってもNMIは発生しない。
FIG. 9 shows the NMI before the start-time process is completed.
FIG. 10 is a timing chart of a system reset signal and an NMI interrupt signal at the time of power restoration when the interrupt signal is set to a high level. When the game machine is powered on, V
When the SL power supply voltage rises and reaches a predetermined value (+9 V in this example), the output (system reset signal) of the system reset circuit 65 goes high. Then, CPU5
6, the startup process is automatically performed, and when the startup process is completed, the control program is executed. The VSL power supply voltage is set to a predetermined value (+22 in this example) during execution of this startup process.
V), the NMI interrupt signal from the power supply monitoring circuit goes high. Then, at the time when the CPU 56 completes the startup processing and shifts to the execution processing of the control program, the NMI does not occur because the NMI interrupt signal is already at the high level. Normally, when the CPU performs the startup process, no NMI occurs even if the NMI interrupt signal goes low.

【0068】この例によると、システムリセット信号が
立ち上がってCPUが動作開始したあとセキュリティチ
ェックなどの起動時処理が終了する前にNMI割込信号
がハイレベルに立ち上がる構成としたことで、割込有効
状態となる前にNMI割込信号をNMIを発生させない
レベルにすることができる。その結果、システムリセッ
ト信号が立ち上がってからNMI割込信号が立ち上がる
までの間に電源断処理が実行されてしまうことを確実に
防止することができる。
According to this example, the NMI interrupt signal rises to the high level after the system reset signal rises and the CPU starts operating and before the start-up processing such as security check is completed. Before entering the state, the NMI interrupt signal can be set to a level at which no NMI is generated. As a result, it is possible to reliably prevent the power-off process from being executed after the rise of the system reset signal until the rise of the NMI interrupt signal.

【0069】また、遅延手段を設けてシステムリセット
信号が立ち上がるタイミングを所定時間遅延させ、シス
テムリセット信号がハイレベルとされたあとセキュリテ
ィチェックなどの起動時処理が終了する前にNMI割込
信号がハイレベルに立ち上がるようにしてもよい。この
場合、例えば、起動時処理に要する時間を考慮して、起
動時処理実行中にNMI割込信号が立ち上がるように、
システムリセット信号を遅延させる所定の時間(本例で
は、所定の時間となるようなコンデンサの容量)や、各
信号を出力するための電圧値が定められる。
Further, a delay means is provided to delay the timing at which the system reset signal rises by a predetermined time, and after the system reset signal is set to the high level, the NMI interrupt signal becomes high before the start-up processing such as the security check ends. You may rise to the level. In this case, for example, in consideration of the time required for the startup process, the NMI interrupt signal rises during the startup process.
A predetermined time for delaying the system reset signal (in this example, the capacity of the capacitor to be a predetermined time) and a voltage value for outputting each signal are determined.

【0070】図10は、遅延手段によりシステムリセッ
ト信号の立ち上がりタイミングを所定時間遅延させ、起
動時処理が終了する前にNMI割込信号が立ち上がるよ
うにした場合における電源投入時のシステムリセット信
号とNMI割込信号との関係を示すタイミング図であ
る。遊技機に電源が投入され、VSL電源電圧が上昇して
所定値(本例では+9V)に到達すると、システムリセ
ット回路65は、立ち上がりタイミングが所定時間遅延
されたシステムリセット信号を出力する。この遅延時間
は、システムリセットが遅延されて解除されたあとの起
動時処理の実行中にVSL電源電圧が所定値(本例では+
22V)に到達するように予め定められた時間とされ
る。CPU56は、システムリセットが解除されると、
自動的に起動時処理を行う。この起動時処理の実行中に
VSL電源電圧がさらに上昇して所定値(本例では+22
V)に到達し、電源監視回路からのNMI割込信号が立
ち上がる。そして、CPU56が起動時処理を終えて制
御プログラムの実行処理に移行する前に、NMI割込信
号がハイレベルに立ち上がる。
FIG. 10 shows the system reset signal and the NMI at power-on when the rising timing of the system reset signal is delayed by a predetermined time by the delay means so that the NMI interrupt signal rises before the start-up processing is completed. FIG. 4 is a timing chart showing a relationship with an interrupt signal. When power is applied to the gaming machine and the VSL power supply voltage rises and reaches a predetermined value (+9 V in this example), the system reset circuit 65 outputs a system reset signal whose rising timing is delayed by a predetermined time. The VSL power supply voltage is set to a predetermined value (+5 in this example) during execution of the startup process after the system reset is delayed and released.
22V) for a predetermined period of time. When the system reset is released, the CPU 56
Perform startup processing automatically. During execution of this startup process, the VSL power supply voltage further rises to a predetermined value (+22 in this example).
V), and the NMI interrupt signal from the power supply monitoring circuit rises. The NMI interrupt signal rises to a high level before the CPU 56 finishes the startup process and shifts to the execution of the control program.

【0071】この例によると、遅延手段によりシステム
リセット信号の立ち上がりタイミングを所定時間遅延さ
せ、セキュリティチェックなどの起動時処理が終了する
前にNMI割込信号が立ち上がる構成としたことで、割
込有効状態となる前にNMI割込信号をNMIを生じさ
せないハイレベルとすることができ、CPU56が起動
時処理を終えて制御プログラムの実行処理に移行したと
きにNMI割込信号ががハイレベルとなっていることを
保障することができるため、電源投入時に電源断処理が
実行されてしまうことを確実に防止することができる。
According to this example, the rising timing of the system reset signal is delayed by the predetermined time by the delay means, and the NMI interrupt signal rises before the start-up processing such as security check is completed, so that the interrupt is enabled. Before entering the state, the NMI interrupt signal can be set to a high level that does not cause an NMI. When the CPU 56 completes the startup process and shifts to the execution of the control program, the NMI interrupt signal becomes the high level. Therefore, it is possible to reliably prevent the power-off process from being executed when the power is turned on.

【0072】次に遊技機の動作について説明する。図1
1は、主基板31におけるCPU56が実行するメイン
処理を示すフローチャートである。遊技機に対する電源
が投入されると、メイン処理において、CPU56は、
まず、停電からの復旧時であったか否か確認する(ステ
ップS1)。停電からの復旧時であったか否かは、例え
ば、電源断時にバックアップRAM領域に設定される電
源断フラグによって確認される。
Next, the operation of the gaming machine will be described. FIG.
1 is a flowchart illustrating 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, it is confirmed whether or not it is time to recover from a power failure (step S1). Whether or not recovery from a power failure has occurred is confirmed by, for example, a power-off flag set in the backup RAM area when the power is turned off.

【0073】停電からの復旧時であった場合には、バッ
クアップRAM領域のデータチェック(この例ではパリ
ティチェック)を行う(ステップS3)。不測の電源断
が生じた後に復旧した場合には、バックアップRAM領
域のデータは保存されていたはずであるから、チェック
結果は正常になる。チェック結果が正常でない場合に
は、内部状態を電源断時の状態に戻すことができないの
で、停電復旧時でない電源投入時に実行される初期化処
理を実行する(ステップS4,S2)。
If recovery from a power failure has occurred, a data check (parity check in this example) of the backup RAM area is performed (step S3). 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, an initialization process executed at the time of power-on without power recovery is executed (steps S4 and S2).

【0074】チェック結果が正常であれば、CPU56
は、内部状態を電源断時の状態に戻すための遊技状態復
旧処理を行うとともに(ステップS5)、電源断フラグ
をクリアする(ステップS6)。
If the check result is normal, the CPU 56
Performs the game state restoring process for returning the internal state to the state at the time of power-off (step S5), and clears the power-off flag (step S6).

【0075】停電からの復旧時でない場合には、CPU
56は、通常の初期化処理を実行する(ステップS1,
S2)。その後、メイン処理では、タイマ割込フラグの
監視(ステップS6)の確認が行われるループ処理に移
行する。なお、ループ内では、表示用乱数更新処理(ス
テップS7)も実行される。
If it is not time to recover from a power failure, the CPU
56 executes a normal initialization process (step S1,
S2). Thereafter, in the main process, the process shifts to a loop process in which the monitoring of the timer interrupt flag (step S6) is confirmed. In the loop, a display random number update process (step S7) is also executed.

【0076】なお、ここでは、ステップS1で停電から
の復旧か否かを確認し、停電からの復旧時であればパリ
ティチェックを行ったが、最初に、パリティチェックを
実行し、チェック結果が正常でなければ停電からの復旧
ではないと判断してステップS2の初期化処理を実行
し、チェック結果が正常であれば遊技状態復帰処理を行
ってもよい。すなわち、パリティチェックの結果をもっ
て停電からの復旧であるか否かを判断してもよい。
Here, in step S1, it is confirmed whether or not the power is restored from the power failure. If the power is restored from the power failure, the parity check is performed. First, the parity check is executed, and the check result is normal. Otherwise, it is determined that it is not the recovery from the power failure, and the initialization processing of step S2 is executed, and if the check result is normal, the game state return processing may be performed. That is, it may be determined based on the result of the parity check whether recovery from a power failure has occurred.

【0077】また、停電復旧処理を実行するか否か判断
する場合に、すなわち、遊技状態を復旧するか否か判断
する際に、保存されていたRAMデータにおける特別プ
ロセスフラグ等や始動入賞記憶数データによって、遊技
機が遊技待機状態(図柄変動中でなく、大当り遊技中で
なく、確変中でなく、また、始動入賞記憶がない状態)
であることが確認されたら、遊技状態復旧処理を行わず
に初期化処理を実行するようにしてもよい。
When determining whether or not to execute the power failure recovery process, that is, when determining whether or not to recover the game state, the special process flag or the like in the stored RAM data and the number of start winning prizes are stored. According to the data, the gaming machine is in the game waiting state (the symbol is not changing, the jackpot is not playing, the probability is not changing, and there is no start winning memory)
When it is confirmed that the game state is restored, the initialization processing may be executed without performing the game state restoration processing.

【0078】通常の初期化処理では、図12に示すよう
に、レジスタおよびRAMのクリア処理(ステップS2
a)と、必要な初期値設定処理(ステップS2b)が行
われた後に、2ms毎に定期的にタイマ割込がかかるよ
うにCPU56に設けられているタイマレジスタの初期
設定(タイムアウトが2msであることと繰り返しタイ
マが動作する設定)が行われる(ステップS2c)。す
なわち、ステップS2cで、タイマ割込を能動化する処
理と、タイマ割込インタバルを設定する処理とが実行さ
れる。
In the normal initialization processing, as shown in FIG. 12, the register and RAM are cleared (step S2).
a) and the initial setting (timeout is 2 ms) of the timer register provided in the CPU 56 so that the timer is periodically interrupted every 2 ms after the necessary initial value setting processing (step S2b) is performed. And a setting for operating the repetition timer) is performed (step S2c). That is, in step S2c, a process of activating a timer interrupt and a process of setting a timer interrupt interval are executed.

【0079】従って、この実施の形態では、CPU56
の内部タイマが繰り返しタイマ割込を発生するように設
定される。この実施の形態では、繰り返し周期は2ms
に設定される。そして、図13に示すように、タイマ割
込が発生すると、CPU56は、タイマ割込フラグをセ
ットする(ステップS11)。
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. 13, when a timer interrupt occurs, the CPU 56 sets a timer interrupt flag (step S11).

【0080】CPU56は、ステップS8において、タ
イマ割込フラグがセットされたことを検出すると、タイ
マ割込フラグをリセットするとともに(ステップS
9)、遊技制御処理を実行する(ステップS10)。以
上の制御によって、この実施の形態では、遊技制御処理
は2ms毎に起動されることになる。なお、この実施の
形態では、タイマ割込処理ではフラグセットのみがなさ
れ、遊技制御処理はメイン処理において実行されるが、
タイマ割込処理で遊技制御処理を実行してもよい。
When detecting that the timer interrupt flag is set in step S8, the CPU 56 resets the timer interrupt flag (step S8).
9), a game control process is executed (step S10). 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.

【0081】図14は、ステップS10の遊技制御処理
を示すフローチャートである。遊技制御処理において、
CPU56は、まず、表示制御基板80に送出される表
示制御コマンドをRAM55の所定の領域に設定する処
理を行った後に(表示制御データ設定処理:ステップS
21)、表示制御コマンドを出力する処理を行う(表示
制御データ出力処理:ステップS22)。
FIG. 14 is a flowchart showing the game control processing in step S10. In the game control process,
The CPU 56 first performs processing for setting a display control command sent to the display control board 80 in a predetermined area of the RAM 55 (display control data setting processing: step S
21), a process of outputting a display control command is performed (display control data output process: step S22).

【0082】次いで、各種出力データの格納領域の内容
を各出力ポートに出力する処理を行う(データ出力処
理:ステップS23)。また、ホール管理用コンピュー
タに出力される大当り情報、始動情報、確率変動情報な
どの出力データを格納領域に設定する出力データ設定処
理を行う(ステップS24)。さらに、パチンコ遊技機
1の内部に備えられている自己診断機能によって種々の
異常診断処理が行われ、その結果に応じて必要ならば警
報が発せられる(エラー処理:ステップS25)。
Next, processing for outputting the contents of the storage area for various output data to each output port is performed (data output processing: step S23). Further, an output data setting process for setting output data such as big hit information, start information, and probability variation information output to the hall management computer in the storage area is performed (step S24). Further, 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 S25).

【0083】次に、遊技制御に用いられる大当り判定用
の乱数等の各判定用乱数を示す各カウンタを更新する処
理を行う(ステップS26)。
Next, a process for updating each counter indicating each random number for determination such as a random number for big hit determination used in game control is performed (step S26).

【0084】さらに、CPU56は、特別図柄プロセス
処理を行う(ステップS27)。特別図柄プロセス制御
では、遊技状態に応じてパチンコ遊技機1を所定の順序
で制御するための特別図柄プロセスフラグに従って該当
する処理が選び出されて実行される。そして、特別図柄
プロセスフラグの値は、遊技状態に応じて各処理中に更
新される。また、普通図柄プロセス処理を行う(ステッ
プS28)。普通図柄プロセス処理では、7セグメント
LEDによる可変表示器10を所定の順序で制御するた
めの普通図柄プロセスフラグに従って該当する処理が選
び出されて実行される。そして、普通図柄プロセスフラ
グの値は、遊技状態に応じて各処理中に更新される。
Further, the CPU 56 performs a special symbol process (step S27). 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. Further, a normal symbol process is performed (step S28). 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.

【0085】さらに、CPU56は、スイッチ回路58
を介して、ゲートセンサ12、始動口センサ17、カウ
ントセンサ23および入賞口スイッチ19a,24aの
状態を入力し、各入賞口や入賞装置に対する入賞があっ
たか否か判定する(スイッチ処理:ステップS29)。
CPU56は、さらに、停止図柄の種類を決定する乱数
等の表示用乱数を更新する処理を行う(ステップS3
0)。
Further, the CPU 56 includes a switch circuit 58
, The state of the gate sensor 12, the starting port sensor 17, the count sensor 23, and the winning port switches 19a and 24a are input, and it is determined whether or not each of the winning ports and the winning device has a winning (switch processing: step S29). .
The CPU 56 further performs a process of updating a display random number such as a random number that determines the type of stop symbol (step S3).
0).

【0086】また、CPU56は、各入賞口17,2
3,19a,24aの検出に基づく賞球数の設定などを
行う(ステップS31)。すなわち、所定の条件が成立
すると賞球制御基板37に賞球制御コマンドを出力す
る。賞球制御基板37に搭載されている賞球制御用CP
Uは、賞球制御コマンドに応じて玉払出装置97を駆動
する。
Further, the CPU 56 determines that each winning opening 17 and 2
The number of prize balls is set based on the detection of 3, 19a, and 24a (step S31). That is, when a predetermined condition is satisfied, a prize ball control command is output to the prize ball control board 37. Prize ball control CP mounted on the prize ball control board 37
U drives the ball payout device 97 in response to the award ball control command.

【0087】以上のように、メイン処理には遊技制御処
理に移行すべきか否かを判定する処理が含まれ、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.

【0088】従来の一般的な遊技制御処理は、定期的に
発生する外部割込によって、強制的に最初の状態に戻さ
れていた。図14に示された例に則して説明すると、例
えば、ステップS31の処理中であっても、強制的にス
テップS21の処理に戻されていた。つまり、遊技制御
処理中の全ての各処理が実行完了する前に、次回の遊技
制御処理が開始されてしまう可能性があった。
In the conventional general game control process, the external game is forcibly returned to the initial state by an external interrupt that occurs periodically. To explain according to the example shown in FIG. 14, for example, even during the processing of step S31, the processing is forcibly returned to the processing of step S21. In other words, there is a possibility that the next game control process will be started before all the processes in the game control process are completed.

【0089】なお、ここでは、主基板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.

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

【0091】図15は、電源基板910の電源監視回路
からの電圧変化信号にもとづくNMIに応じて実行され
る停電発生NMI処理の一例を示すフローチャートであ
る。停電発生NMI処理において、CPU56は、ま
ず、割込禁止に設定する(ステップS41)。停電発生
NMI処理ではRAM内容の保存を確実にするためにチ
ェックサムの生成処理を行う。その処理中に他の割込処
理が行われたのではチェックサムの生成処理が完了しな
いうちにCPUが動作し得ない電圧にまで低下してしま
うことがことも考えられるので、まず、他の割込が生じ
ないような設定がなされる。なお、停電発生NMI処理
におけるステップS43〜S49は、電力供給停止時処
理の一例である。
FIG. 15 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 the power failure occurrence NMI process, the CPU 56 first sets interrupt prohibition (step S41). In the power failure occurrence NMI process, a checksum generation process is performed to ensure that the contents of the RAM are preserved. If another interrupt process is performed during that process, the voltage may drop to a level at which the CPU cannot operate before the checksum generation process is completed. The setting is made so that no interrupt occurs. Steps S43 to S49 in the power failure occurrence NMI process are an example of a power supply stop process.

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

【0093】次いで、CPU56は、電源断フラグが既
にセットされているか否か確認する(ステップS4
2)。電源断フラグが既にセットされていれば、以後の
処理を行わない。電源断フラグがセットされていなけれ
ば、以下の電力供給停止時処理を実行する。すなわち、
ステップS43からステップS49の処理を実行する。
Next, the CPU 56 checks whether or not the power-off flag has already been set (step S4).
2). If the power-off flag has already been set, no further processing is performed. If the power-off flag is not set, the following power supply stop processing is executed. That is,
The processing from step S43 to step S49 is executed.

【0094】まず、全ての出力ポートをオフ状態にする
(ステップS43)。そして、必要ならば各レジスタの
内容をバックアップRAM領域に格納する(ステップS
44)。さらに、バックアップRAM領域のバックアッ
プチェックデータ領域に適当な初期値を設定し(ステッ
プS45)、初期値およびバックアップRAM領域のデ
ータについて順次排他的論理和をとって(ステップS4
6)、最終的な演算値をバックアップパリティデータ領
域に設定する(ステップS47)。その後、電源断フラ
グをセットする(ステップS48)。また、RAMアク
セス禁止状態にする(ステップS49)。電源電圧が低
下していくときには、各種信号線のレベルが不安定にな
ってRAM内容が化ける可能性があるが、このようにR
AMアクセス禁止状態にしておけば、バックアップRA
M内のデータが化けることはない。
First, all output ports are turned off (step S43). If necessary, the contents of each register are stored in the backup RAM area (Step S).
44). Further, an appropriate initial value is set in the backup check data area of the backup RAM area (step S45), and exclusive OR is sequentially performed on the initial value and the data of the backup RAM area (step S4).
6), the final operation value is set in the backup parity data area (step S47). Thereafter, a power-off flag is set (step S48). Further, the RAM access is prohibited (step S49). When the power supply voltage decreases, the levels of various signal lines may become unstable and the contents of the RAM may be corrupted.
If AM access is prohibited, backup RA
The data in M will not be corrupted.

【0095】次いで、CPU56は、ループ処理にはい
る。すなわち、何らの処理もしない状態になる。従っ
て、図6に示されたリセットIC651からのシステム
リセット信号によって外部から動作禁止状態にされる前
に、内部的に動作停止状態になる。よって、電源断時に
確実にCPU56は動作停止する。その結果、上述した
RAMアクセス禁止の制御および動作停止制御によっ
て、電源電圧が低下していくことに伴って生ずる可能性
がある異常動作に起因するRAMの内容破壊等を確実に
防止することができる。
Next, the CPU 56 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 651 shown in FIG. 6, the operation is internally stopped. Therefore, when the power is turned off, the operation of the CPU 56 is reliably stopped. As a result, the RAM access prohibition control and the operation stop control described above can reliably prevent the contents of the RAM from being destroyed due to an abnormal operation that may occur as the power supply voltage decreases. .

【0096】なお、この実施の形態では、停電発生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.

【0097】また、RAMアクセス禁止にする前にセッ
トされる電源断フラグは、上述したように、電源投入時
において停電からの復旧か否かを判断する際に使用され
る。また、ステップS41からS49の処理は、CPU
56がシステムリセット回路65からのシステムリセッ
ト信号を受ける前に完了する。換言すれば、システムリ
セット回路65からのシステムリセット信号を受ける前
に完了するように、電圧監視回路の検出電圧の設定が行
われている。
The power-off flag set before the RAM access is prohibited is used to determine whether or not recovery from a power failure has occurred at power-on, as described above. Further, the processing of steps S41 to S49 is performed by the CPU
This is completed before 56 receives the system reset signal from the system reset circuit 65. In other words, the detection voltage of the voltage monitoring circuit is set so as to be completed before receiving the system reset signal from the system reset circuit 65.

【0098】この実施の形態では、電力供給停止時処理
開始時に、電源断フラグの確認が行われる。そして、電
源断フラグが既にセットされている場合には電力供給停
止時処理を実行しない。上述したように、電源断フラグ
は、電力供給停止時処理が完了したことを示すフラグで
ある。従って、例えば、リセット待ちのループ状態で何
らかの原因で再度NMIが発生したとしても、電力供給
停止時処理が重複して実行されてしまうようなことはな
い。
In this embodiment, the power-off flag is checked at the start of the power-supply stop processing. If the power-off flag has already been set, the power supply stop processing is not executed. As described above, the power-off flag is a flag indicating that 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.

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

【0100】図16は、バックアップパリティデータ作
成方法を説明するための説明図である。ただし、図16
に示す例では、簡単のために、バックアップデータRA
M領域のデータのサイズを3バイトとする。電源電圧低
下にもとづく停電発生処理において、図16(A)に示
すように、バックアップチェックデータ領域に、初期デ
ータ(この例では00H)が設定される。次に、「00
H」と「F0H」の排他的論理和がとられ、その結果と
「16H」の排他的論理和がとられる。さらに、その結
果と「DFH」の排他的論理和がとられる。そして、そ
の結果(この例では「39H」)がバックアップパリテ
ィデータ領域に設定される。
FIG. 16 is an explanatory diagram for explaining a backup parity data creating method. However, FIG.
In the example shown in FIG.
The size of the data in the M area is 3 bytes. In the power failure generation process based on the power supply voltage drop, as shown in FIG. 16A, 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, the result (“39H” in this example) is set in the backup parity data area.

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

【0102】ステップS51の処理において、CPU5
6は、バックアップRAM領域のバックアップパリティ
データ領域に設定されていたデータ(この例では「39
H」)を初期データとして、バックアップデータ領域の
各データについて順次排他的論理和をとる処理を行う。
バックアップ領域の全データがそのまま保存されていれ
ば、最終的な演算結果は、「00H」、すなわちバック
アップチェックデータ領域に設定されているデータと一
致する。バックアップRAM領域内のデータにビット誤
りが生じていた場合には、最終的な演算結果は「00
H」にならない。
In the process of step S51, the CPU 5
6 is the data set in the backup parity data area of the backup RAM area (in this example, “39”).
H)) as initial data, a process of sequentially taking an exclusive OR for each data in the backup data area is performed.
If all the data in the backup area is stored as it is, the final calculation result is “00H”, that is, the same as 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 calculation result is “00”.
H ".

【0103】よって、CPU56は、最終的な演算結果
とバックアップチェックデータ領域に設定されているデ
ータとを比較して、一致すればパリティ診断正常とす
る。一致しなければ、パリティ診断異常とする。
Therefore, the CPU 56 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.

【0104】以上のように、この実施の形態では、遊技
制御手段には、遊技機の電源が断しても、所定期間電源
バックアップされる記憶手段(この例ではバックアップ
RAM)が設けられ、電源投入時に、CPU56(具体
的にはCPU56が実行するプログラム)は、記憶手段
がバックアップ状態にあればバックアップデータにもと
づいて遊技状態を回復させる遊技状態復旧処理(ステッ
プS5)を行うように構成される。
As described above, in this embodiment, the game 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 game machine is turned off. At the time of insertion, the CPU 56 (specifically, a program executed by the CPU 56) is configured to perform a game state restoration process (step S5) for restoring the game state based on the backup data if the storage means is in the backup state. .

【0105】この実施の形態では、図7に示されたよう
に電源基板910に電源監視回路が搭載され、図6に示
されたように主基板31にシステムリセット回路65が
搭載されている。そして、電源電圧が低下していくとき
に、システムリセット回路65がローレベルのシステム
リセット信号を発生する時期は、電源監視回路(この例
では電源監視用IC902)がローレベルのNMI割込
信号を発生する時期よりも遅くなるように設定されてい
る。さらに、システムリセット回路65からのローレベ
ルのシステムリセット信号は、CPU56のリセット端
子に入力されている。
In this embodiment, the power supply monitoring circuit is mounted on the power supply board 910 as shown in FIG. 7, and the system reset circuit 65 is mounted on the main board 31 as shown in FIG. When the system reset circuit 65 generates the low-level system reset signal when the power supply voltage decreases, the power supply monitoring circuit (the power supply monitoring IC 902 in this example) outputs the low-level NMI interrupt signal. It is set to be later than when it occurs. Further, a low-level system reset signal from the system reset circuit 65 is input to a reset terminal of the CPU 56.

【0106】すると、CPU56は、電源電圧低下によ
る電源監視手段(電源監視用IC902)からの電圧変
化信号にもとづいて停電発生処理(電力供給停止時処
理)を実行した後にループ状態に入るのであるが、ルー
プ状態において、リセット状態に入ることになる。すな
わち、CPU56の動作が完全に停止する。+5V電源
電圧値以下においては、CPU56の正常な動作が担保
できない(即ち、動作の管理ができない状態が発生す
る)が、CPU56は正常に動作できる電源が供給され
ている状態でリセット状態になるので、不定データにも
とづいて異常動作してしまうことは防止される。
Then, the CPU 56 enters a loop state after executing a power failure generation process (power supply stop process) based on a voltage change signal from a power supply monitoring means (power supply monitoring IC 902) due to a power supply voltage drop. , In a loop state, a reset state is entered. That is, the operation of the CPU 56 is completely stopped. Below the + 5V power supply voltage value, the normal operation of the CPU 56 cannot be ensured (that is, a state in which the operation cannot be managed occurs), but the CPU 56 is in a reset state while the power supply that can operate normally is supplied. In addition, abnormal operation based on indefinite data is prevented.

【0107】このように、この実施の形態では、CPU
56が、電源監視回路からの検出出力の入力に応じてル
ープ状態に入るとともに、システムリセット回路65か
らの検出出力の入力に応じてシステムリセットされるよ
うに構成されている。従って、電源断時に確実なデータ
保存が行われ、遊技者に不利益がもたらされることが防
止される。
As described above, in this embodiment, the CPU
56 is configured to enter a loop state in response to the input of the detection output from the power supply monitoring circuit and to be reset in response to the input of the detection output from the system reset circuit 65. Therefore, when the power is turned off, the data is reliably stored, thereby preventing the player from being disadvantaged.

【0108】なお、この実施の形態では、電源監視用I
C902と、システムリセット回路65は、同一の電源
電圧を監視しているが、異なる電源電圧を監視してもよ
い。例えば、電源基板910の電源監視回路が+30V
電源電圧を監視し、システムリセット回路65が+5V
電源電圧を監視してもよい。そして、システムリセット
回路65がローレベルのシステムリセット信号を発生す
るタイミングは電源監視回路がNMI割込信号を発生す
るタイミングに対して遅くなるように、システムリセッ
ト回路65のしきい値レベル(システムリセット信号を
発生する電圧レベル)が設定される。例えば、しきい値
は4.25Vである。4.25Vは、通常時の電圧より
低いが、CPU56が暫くの間動作しうる程度の電圧で
ある。なお、システムリセット回路65に設けられた遅
延手段の遅延時間(本例では、コンデンサの容量)を調
整して、システムリセット回路65がローレベルのシス
テムリセット信号を発生するタイミングを電源監視回路
がNMI割込信号を発生するタイミングに対して遅らせ
るようにしてもよい。
In this embodiment, the power supply monitoring I
Although the C902 and the system reset circuit 65 monitor the same power supply voltage, they may monitor different power supply voltages. For example, the power supply monitoring circuit of the power supply board 910 has +30 V
Monitors the power supply voltage and sets the system reset circuit 65 to + 5V
The power supply voltage may be monitored. The threshold level of the system reset circuit 65 (system reset) is set so that the timing at which the system reset circuit 65 generates the low-level system reset signal is later than the timing at which the power supply monitoring circuit generates the NMI interrupt signal. The voltage level at which a signal is generated is set. For example, the threshold is 4.25V. 4.25 V is a voltage lower than the normal voltage, but a voltage at which the CPU 56 can operate for a while. The power supply monitoring circuit adjusts the delay time (in this example, the capacitance of the capacitor) of the delay means provided in the system reset circuit 65 to determine when the system reset circuit 65 generates a low-level system reset signal. You may make it delay with respect to the timing which generates an interrupt signal.

【0109】また、上記の実施の形態では、CPU56
は、マスク不能割込端子(NMI端子)を介して電源基
板からのNMI割込信号(電源監視手段からのNMI割
込信号)を検知したが、NMI割込信号をマスク可能割
込割込端子(IRQ端子)に導入してもよい。その場合
には、割込処理(IRQ処理)で電力供給停止時処理が
実行される。また、入力ポートを介して電源基板からの
NMI割込信号を検知してもよい。その場合には、メイ
ン処理において入力ポートの監視が行われる。
In the above embodiment, the CPU 56
Detects an NMI interrupt signal from the power supply board (NMI interrupt signal from the power supply monitoring means) via a non-maskable interrupt terminal (NMI terminal), but detects the NMI interrupt signal as a maskable interrupt terminal. (IRQ terminal). In that case, the power supply stop processing is executed in the interrupt processing (IRQ processing). Further, an NMI interrupt signal from the power supply board via the input port may be detected. In that case, the input port is monitored in the main processing.

【0110】また、NMI割込信号に変えて、IRQ端
子を介して電源基板からの割込信号を検知する場合に、
メイン処理のステップS10における遊技制御処理の開
始時にIRQ割込マスクをセットし、遊技制御処理の終
了時にIRQ割込マスクを解除するようにしてもよい。
そのようにすれば、遊技制御処理の開始前および終了後
に割込がかかることになって、遊技制御処理が中途で中
断されることはない。従って、賞球制御コマンドを賞球
制御基板37に送出しているときなどにコマンド送出が
中断されてしまうようなことはない。よって、停電が発
生するようなときでも、賞球制御コマンド等は確実に送
出完了する。
When an interrupt signal from the power supply board is detected via the IRQ terminal instead of the NMI interrupt signal,
An IRQ interrupt mask may be set at the start of the game control process in step S10 of the main process, and the IRQ interrupt mask may be released at the end of the game control process.
In such a case, an interruption occurs before and after the start of the game control process, so that the game control process is not interrupted halfway. Therefore, there is no possibility that the command transmission is interrupted when the award ball control command is transmitted to the award ball control board 37 or the like. Therefore, even when a power failure occurs, the transmission of the prize ball control command or the like is surely completed.

【0111】以下、遊技状態復旧処理について説明す
る。まず、この実施の形態において、主基板31のCP
U56が、表示制御基板80、音制御基板70およびラ
ンプ制御基板35に送出する表示制御コマンド、音制御
コマンドおよびランプ制御コマンドについて説明する。
各制御コマンドは、図14に示された遊技制御処理にお
ける特別図柄プロセス処理(ステップS27)で遊技進
行に応じて送出することが決定され、表示制御データ設
定処理(ステップS21)で具体的なデータが設定さ
れ、表示制御データ出力処理(ステップS22)で出力
ポートから出力されることによって送出される。
Hereinafter, the game state restoring process will be described. First, in this embodiment, the CP of the main substrate 31
A display control command, a sound control command, and a lamp control command that the U56 sends to the display control board 80, the sound control board 70, and the lamp control board 35 will be described.
Each control command is determined to be sent in accordance with the progress of the game in the special symbol process process (step S27) in the game control process shown in FIG. 14, and specific data is displayed in the display control data setting process (step S21). Is set, and is transmitted by being output from the output port in the display control data output process (step S22).

【0112】図17(A)は、可変表示部9における図
柄変動に関する各制御コマンドの送出タイミング例を示
す説明図である。この実施の形態では、主基板31のC
PU56は、図柄変動を開始させるときに、表示制御基
板80、音制御基板70およびランプ制御基板35のそ
れぞれに対して変動開始コマンドを送出する。表示制御
基板80に対しては、さらに、左右中図柄の確定図柄を
示す図柄指定コマンドを送出する。
FIG. 17A is an explanatory diagram showing an example of the transmission timing of each control command relating to the symbol variation in the variable display section 9. In this embodiment, the C
When starting the symbol change, the PU 56 sends a change start command to each of the display control board 80, the sound control board 70, and the lamp control board 35. To the display control board 80, a symbol designating command indicating a fixed symbol of the middle left and right symbols is further transmitted.

【0113】そして、図柄変動を確定させるときに、表
示制御基板80、音制御基板70およびランプ制御基板
35のそれぞれに対して変動停止コマンドを送出する。
表示制御基板80、音制御基板70およびランプ制御基
板35に搭載されている各CPUは、変動開始コマンド
で指定された変動態様に応じた表示制御、音発生制御お
よびランプ点灯制御を行う。なお、変動開始コマンドに
は変動時間を示す情報が含まれている。
When the symbol variation is determined, a variation stop command is sent to each of the display control board 80, the sound control board 70, and the lamp control board 35.
Each CPU mounted on the display control board 80, the sound control board 70, and the lamp control board 35 performs display control, sound generation control, and lamp lighting control according to the variation mode specified by the variation start command. The change start command includes information indicating the change time.

【0114】図17(B)は、可変表示部9の表示結果
が所定の大当り図柄であった場合に実行される大当り遊
技に関する各制御コマンドの送出タイミング例を示す説
明図である。この実施の形態では、主基板31のCPU
56は、大当り遊技開始時に、表示制御基板80、音制
御基板70およびランプ制御基板35のそれぞれに対し
て大当り開始コマンドを送出する。また、所定時間経過
後に、1ラウンド(1R)指定コマンドを送出する。表
示制御基板80、音制御基板70およびランプ制御基板
35に搭載されている各CPUは、大当り開始コマンド
を受信すると、大当り開始時の表示制御、音発生制御お
よびランプ点灯制御を行う。また、1ラウンド指定コマ
ンドを受信すると、大当り中の表示制御、音発生制御お
よびランプ点灯制御を行う。ただし、表示制御基板80
のCPUは、1ラウンド目の表示を行う。
FIG. 17B is an explanatory diagram showing an example of the transmission timing of each control command relating to the big hit game executed when the display result of the variable display section 9 is a predetermined big hit symbol. In this embodiment, the CPU of the main board 31
56 sends a big hit start command to each of the display control board 80, the sound control board 70, and the lamp control board 35 at the start of the big hit game. After a lapse of a predetermined time, a one-round (1R) designation command is transmitted. When each CPU mounted on the display control board 80, the sound control board 70, and the lamp control board 35 receives the big hit start command, it performs display control, sound generation control, and lamp lighting control at the start of the big hit. When a one-round designation command is received, display control, sound generation control, and lamp lighting control during a big hit are performed. However, the display control board 80
CPU performs the first round of display.

【0115】その後、主基板31のCPU56は、表示
制御基板80に対して各ラウンドを示すコマンド等を順
次送出する。表示制御基板80のCPUは、それらのコ
マンドに応じて対応する表示制御を行う。
Thereafter, the CPU 56 of the main board 31 sequentially sends commands indicating each round to the display control board 80. The CPU of the display control board 80 performs corresponding display control according to these commands.

【0116】また、大当り遊技終了時に、主基板31の
CPU56は、表示制御基板80、音制御基板70およ
びランプ制御基板35のそれぞれに対して大当り終了コ
マンドを送出する。そして、所定時間経過後に、通常画
面表示コマンドを送出する。各電気部品制御手段は、通
常画面表示コマンドを受信すると、制御状態を遊技待ち
の状態にする。
At the end of the big hit game, the CPU 56 of the main board 31 sends a big hit end command to each of the display control board 80, the sound control board 70, and the lamp control board 35. Then, after a predetermined time has elapsed, a normal screen display command is transmitted. Upon receiving the normal screen display command, each electric component control means changes the control state to a game waiting state.

【0117】図18は、図15に示された停電復旧処理
で行われる遊技状態復旧処理の一例を示すフローチャー
トである。この例では、CPU56は、レジスタ内容を
復元する必要があれば、バックアップRAMに保存され
ていた値をレジスタに復元する(ステップS61)。そ
して、バックアップRAMに保存されていたデータにも
とづいて停電時の遊技状態を確認する。例えば、特別図
柄プロセス処理の進行状況に対応した特別図柄プロセス
フラグの値によって遊技状態を確認することができる。
FIG. 18 is a flowchart showing an example of the game state restoring process performed in the power failure restoring process shown in FIG. In this example, if it is necessary to restore the contents of the register, the CPU 56 restores the value stored in the backup RAM to the register (step S61). Then, the game state at the time of the power failure is confirmed based on the data stored in the backup RAM. For example, the gaming state can be confirmed by the value of the special symbol process flag corresponding to the progress of the special symbol process.

【0118】遊技状態が図柄変動中であった場合には
(ステップS62)、変動開始コマンドを表示制御基板
80、音制御基板70およびランプ制御基板35に送出
する制御を行う(ステップS63)。また、遊技状態が
大当り遊技中であった場合には(ステップS64)、停
電前に最後の送出された制御コマンドを表示制御基板8
0、音制御基板70およびランプ制御基板35に送出す
る制御を行う(ステップS65)。そして、それ以外の
遊技状態であった場合には、例えば、通常画面表示コマ
ンドを制御コマンドを表示制御基板80、音制御基板7
0およびランプ制御基板35に送出する制御を行う(ス
テップS66)。また、例えば、大当り中であった場合
の可変入賞球装置15の状態復帰は、RAMのデータが
保存されているため、後の遊技制御処理内で自動的に行
われる。
If the game state is changing the symbol (step S62), control is performed to send a change start command to the display control board 80, the sound control board 70, and the lamp control board 35 (step S63). If the gaming state is a jackpot game (step S64), the last transmitted control command before the power failure is displayed on the display control board 8.
0, control to send to the sound control board 70 and the lamp control board 35 is performed (step S65). When the game state is other than the above, for example, the normal screen display command is transmitted to the display control board 80 and the sound control board 7.
0 and control to send to the lamp control board 35 is performed (step S66). In addition, for example, the state of the variable prize ball device 15 when the big hit is in progress is automatically performed in a later game control process because the data in the RAM is stored.

【0119】なお、ここでは、遊技状態復旧処理が終了
するとメイン処理にリターンするように遊技状態復旧処
理プログラムが構成されているが、電力供給停止時処理
において保存されているスタックポインタが指すスタッ
クエリア(バックアップRAM領域にある)に記憶され
ているアドレス(電源断時のNMI割込発生時に実行さ
れていたアドレス)に戻るようにしてもよい。
Here, the game state restoring processing program is configured to return to the main processing when the game state restoring processing ends, but the stack area pointed to by the stack pointer stored in the power supply stop processing is set. The address stored in the backup RAM area (in the backup RAM area) (the address executed when the NMI interrupt occurs when the power is turned off) may be returned.

【0120】図19は、停電が発生した後に復旧した場
合の制御状態の一例を示す説明図である。図19におい
て、可変表示の状態は表示制御基板80のCPU(表示
制御手段)によって実現され、音の状態は音制御基板7
0のCPU(音制御手段)によって実現され、ランプの
状態はランプ制御基板35のCPU(ランプ制御手段)
によって実現される。
FIG. 19 is an explanatory diagram showing an example of the control state when the power is restored after a power failure has occurred. In FIG. 19, the variable display state is realized by the CPU (display control means) of the display control board 80, and the sound state is set by the sound control board 7
0 is realized by the CPU (sound control means), and the state of the lamp is controlled by the CPU (lamp control means) of the lamp control board 35.
It is realized by.

【0121】図19(A)は、図柄変動中に停電が生じ
た後に復旧した場合の例を示す。この場合には、電源復
旧時に、主基板31から変動開始コマンドが送出される
(図18におけるステップS63)。変動開始コマンド
は、図柄変動開始時に送出されるコマンドであるから、
可変表示制御、音制御およびランプ制御の状態は、変動
開始時の状態に戻る。この実施の形態では、変動開始コ
マンドには変動時間を指定する情報を含まれ、主基板3
1のCPU56は変動開始コマンド送出後では変動終了
時の確定コマンド(変動停止コマンド)まで何も送出し
ない(図柄指定コマンドを除く)。従って、図柄変動中
に停電が生じた場合には、変動途中の状態から変動を再
開することはできないが、変動開始コマンドを再送出す
ることによって、表示制御、音制御およびランプ制御は
同期した状態に戻る。
FIG. 19 (A) shows an example in which the power is restored after a power failure occurs during the symbol change. In this case, when the power is restored, a change start command is sent from the main board 31 (step S63 in FIG. 18). Since the change start command is a command sent at the start of the symbol change,
The states of the variable display control, the sound control, and the lamp control return to the states at the start of the change. In this embodiment, the fluctuation start command includes information for specifying the fluctuation time, and the main board 3
After transmitting the fluctuation start command, the first CPU 56 does not transmit anything (except for the symbol designation command) until the finalization command at the end of fluctuation (fluctuation stop command). Therefore, if a power failure occurs during the symbol change, the change cannot be restarted from the state in the middle of the change, but the display control, sound control, and lamp control are synchronized by resending the change start command. Return to

【0122】なお、主基板31において、変動開始時に
使用した各種パラメータはバックアップRAMに保存さ
れている。従って、電源復旧後の変動における表示結果
(確定図柄)等は、停電によって中断した変動において
なされるはずであった表示結果等と同じである。従っ
て、遊技者に不利益が与えられるということはない。
In the main board 31, various parameters used at the start of the fluctuation are stored in the backup RAM. Therefore, the display results (fixed symbols) and the like in the fluctuations after the restoration of the power supply are the same as the display results and the like that would have been made in the fluctuations interrupted by the power failure. Therefore, there is no disadvantage to the player.

【0123】図19(B)は、大当り遊技中に停電が生
じた後に復旧した場合の例を示す。この場合には、電源
復旧時に、主基板31から停電前の最後に表示制御基板
80、音制御基板70およびランプ制御基板35に送出
されたコマンドが再送出される(図18におけるステッ
プS65)。従って、音制御およびランプ制御は、大当
り遊技中の制御状態に戻る。また、表示制御も、停電時
に行われていた状態に戻る。
FIG. 19 (B) shows an example in which the power is restored after a power failure occurs during the big hit game. In this case, when the power is restored, the command sent from the main board 31 to the display control board 80, the sound control board 70, and the lamp control board 35 last before the power failure is sent again (step S65 in FIG. 18). Therefore, the sound control and the lamp control return to the control state during the big hit game. In addition, the display control also returns to the state performed at the time of the power failure.

【0124】なお、主基板31において、大当り遊技中
の各種パラメータ(大入賞口開放回数、大入賞口入賞球
数等)はバックアップRAMに保存されている。従っ
て、遊技者にとっての遊技状態も停電前の状態に戻るの
で、遊技者に不利益が与えられるということはない。
In the main board 31, various parameters during the big hit game (number of times of opening the special winning opening, number of winning balls of the special winning opening, etc.) are stored in the backup RAM. Therefore, since the game state for the player also returns to the state before the power failure, there is no disadvantage to the player.

【0125】なお、上記の実施の形態では、遊技制御手
段において、データ保存処理および復旧処理が行われる
場合について説明したが、賞球制御手段、音声制御手
段、ランプ制御手段および表示制御手段におけるRAM
の一部も電源バックアップされ、賞球制御手段、表示制
御手段、音制御手段およびランプ制御手段も、上述した
ような処理を行ってもよい。ただし、賞球制御手段、表
示制御手段、音制御手段およびランプ制御手段は、復旧
時にコマンド送出処理を行う必要はない。
In the above embodiment, the case has been described where the game control means performs the data saving processing and the recovery processing. However, the RAM in the prize ball control means, the voice control means, the lamp control means and the display control means has been described.
May be backed up by a power source, and the prize ball control means, the display control means, the sound control means, and the lamp control means may also perform the processing described above. However, the prize ball control means, the display control means, the sound control means, and the lamp control means do not need to perform the command transmission processing at the time of restoration.

【0126】この実施の形態では、停電発生処理(電力
供給停止時処理)において、電力供給停止時処理が既に
実行されたことを示す電源断時フラグがセットされてい
る場合には電力供給停止時処理を実行しないように構成
されている。電源が断する過程では、再度NMIが発生
する可能性がある。すると、停電発生処理において電源
断時フラグの確認を行わない場合には、再度発生したN
MIによって再度電力供給停止時処理が実行される。
In this embodiment, in the power failure occurrence processing (power supply suspension processing), when the power supply interruption flag indicating that the power supply suspension processing has been already executed is set, the power supply suspension processing is performed. It is configured not to execute processing. In the process of turning off the power, NMI may occur again. Then, if the power-off flag is not checked in the power failure occurrence processing, the N
The power supply stop processing is executed again by the MI.

【0127】最初に実行された正規の電力供給停止時処
理では、例えばレジスタの内容をバックアップRAMに
格納する処理が行われる(図15におけるステップS4
4参照)。最初に実行された正規の電力供給停止時処理
後のリセット待ちの状態では電源電圧は徐々に低下して
いくので、レジスタの内容が破壊される可能性もある。
すなわち、レジスタ値は、電源断が検出されたときの状
態(最初にNMIが発生したとき)から変化している可
能性がある。そのような状態で再度電力供給停止時処理
が実行されると、電源断が検出されたときの状態のレジ
スタ値とは異なる値がバックアップRAMに格納されて
しまう。すると、電源復旧時に実行される停電復旧処理
において、電源断が検出されたときの状態のレジスタ値
とは異なる値がレジスタに復旧されてしまう。その結
果、電源断時の遊技状態とは異なる遊技状態が再現され
てしまう可能性が生ずる。
In the normal power supply stop processing executed first, for example, processing for storing the contents of the register in the backup RAM is performed (step S4 in FIG. 15).
4). Since the power supply voltage gradually decreases in the state of waiting for reset after the normal power supply stoppage processing executed first, the contents of the register may be destroyed.
That is, the register value may have changed from the state at the time when the power-off was detected (when NMI first occurred). If the power supply stop processing is executed again in such a state, a value different from the register value in the state at the time when the power-off is detected is stored in the backup RAM. Then, in the power failure recovery processing executed at the time of power recovery, a value different from the register value in the state at the time when the power failure is detected is restored to the register. As a result, there is a possibility that a game state different from the game state when the power is turned off is reproduced.

【0128】次に、賞球制御手段の停電発生時の動作に
ついて説明する。図20は、電源監視および電源バック
アップのための賞球制御用CPU371周りの一構成例
を示すブロック図である。図20に示すように、電源基
板910に搭載されている電源監視回路(電源監視手
段)からのNMI割込信号が、賞球制御用CPU371
のマスク不能割込端子(NMI端子)に入力されてい
る。従って、賞球制御用CPU371は、NMI処理に
よって電源断の発生や電源投入を確認することができ
る。
Next, the operation of the prize ball control means when a power failure occurs will be described. FIG. 20 is a block diagram showing an example of a configuration around the CPU 371 for controlling the prize ball for power supply monitoring and power supply backup. As shown in FIG. 20, the NMI interrupt signal from the power supply monitoring circuit (power supply monitoring means) mounted on the power supply board 910 is transmitted to the prize ball control CPU 371.
Are input to the non-maskable interrupt terminal (NMI terminal). Accordingly, the CPU 371 for controlling the prize ball can confirm the occurrence of the power-off or the power-on by the NMI processing.

【0129】賞球制御用CPU371等の駆動電源であ
る+5V電源から電力が供給されていない間、賞球制御
用CPU371の内蔵RAMの少なくとも一部は、電源
基板910から供給されるバックアップ電源がバックア
ップ端子に接続されることによってバックアップされ、
遊技機に対する電源が断しても内容は保存される。そし
て、+5V電源が復旧して+30V電源の電圧値が所定
値(本例では+9V)に到達すると、システムリセット
回路933の出力がハイレベルになってシステムリセッ
トが解除されるので、賞球制御用CPU371は、通常
の動作状態に復帰する。そのとき、必要なデータがバッ
クアップされているので、停電等からの復旧時には停電
発生時の状態から払出制御を再開することができる。
While power is not supplied from the + 5V power supply which is the drive power supply for the prize ball control CPU 371 and the like, at least a part of the built-in RAM of the prize ball control CPU 371 uses the backup power supplied from the power supply board 910 as a backup. Backed up by connecting to the terminal,
The contents are preserved even if the power to the gaming machine is turned off. Then, when the +5 V power supply is restored and the voltage value of the +30 V power supply reaches a predetermined value (+9 V in this example), the output of the system reset circuit 933 goes to a high level and the system reset is released. The CPU 371 returns to a normal operation state. At that time, since the necessary data is backed up, the payout control can be restarted from the state at the time of the power failure at the time of recovery from a power failure or the like.

【0130】賞球制御基板37において、電源監視手段
からのNMI割込信号は、入力バッファ回路930を介
して賞球制御CPU371側に入力されている。ここで
は、入力バッファ回路930として74HC244を例
示するが、入力バッファ機能を有する回路であればどの
ような回路を用いてもよい。また、入力バッファ回路9
30は、電源基板側から賞球制御基板37の内部側への
方向にのみ信号を通過させる不可逆性素子である。
In the award ball control board 37, the NMI interrupt signal from the power supply monitoring means is input to the award ball control CPU 371 through the input buffer circuit 930. Here, the 74HC244 is illustrated as the input buffer circuit 930, but any circuit having an input buffer function may be used. Also, the input buffer circuit 9
Reference numeral 30 denotes an irreversible element that allows a signal to pass only in the direction from the power supply board to the inside of the prize ball control board 37.

【0131】図20に示す構成では、賞球制御基板37
にはシステムリセット回路933が搭載されている。シ
ステムリセット回路933は、電源基板910の電源監
視回路が監視する電源電圧と等しい電圧である+30V
電源電圧を監視して電圧値が所定値以下になるとローレ
ベルのシステムリセット信号を発生する。また、システ
ムリセット回路933は、+30V電源の電圧を監視し
て例えば電源復旧時に電圧値が所定値以上になるとシス
テムリセット信号をハイレベルに立ち上げる。システム
リセット回路933の検出電圧(システムリセット信号
を出力することになる電圧、または、システムリセット
信号をハイレベルに立ち上げることになる電圧)を、電
源基板910に搭載されている電源監視回路の検出電圧
よりも低くする。
In the configuration shown in FIG. 20, the prize ball control board 37
Is equipped with a system reset circuit 933. The system reset circuit 933 has a voltage of +30 V equal to the power supply voltage monitored by the power supply monitoring circuit of the power supply board 910.
The power supply voltage is monitored, and when the voltage value falls below a predetermined value, a low-level system reset signal is generated. Further, the system reset circuit 933 monitors the voltage of the +30 V power supply, and raises the system reset signal to a high level when the voltage value becomes equal to or higher than a predetermined value at the time of, for example, restoration of the power supply. The detection voltage of the system reset circuit 933 (the voltage at which the system reset signal is output or the voltage at which the system reset signal rises to a high level) is detected by the power supply monitoring circuit mounted on the power supply board 910. Lower than the voltage.

【0132】この実施の形態では、システムリセット回
路933は、遅延手段を含む。リセットIC934に
は、コンデンサが外付けされ、コンデンサの容量に応じ
て出力がハイレベルとなるタイミングが決まる。従っ
て、コンデンサの容量を所定の遅延時間を生成するよう
な値に設定すれば、電源投入時に、外付けのコンデンサ
の容量で決まる所定時間だけ出力がローレベルとなり、
所定時間が経過すると出力がハイレベルとなる。また、
リセットIC934は、電源監視回路が監視する電源電
圧と等しい電源電圧であるVSLの電源電圧を電圧変化監
視用端子に導入し、その端子の電圧を監視して電圧値が
所定値以下になるとローレベルのシステムリセット信号
を発生する。CPU371は、システムリセット回路9
33からのシステムリセット信号がローレベルを呈して
いるときにリセット状態(非動作状態)になり、システ
ムリセット回路933からのシステムリセット信号がハ
イレベルを呈するようになったあとにセット状態(動作
状態)になる。
In this embodiment, system reset circuit 933 includes delay means. A capacitor is externally connected to the reset IC 934, and the timing at which the output becomes high level is determined according to the capacitance of the capacitor. Therefore, if the capacity of the capacitor is set to a value that generates a predetermined delay time, when the power is turned on, the output becomes low level for a predetermined time determined by the capacity of the external capacitor,
After a lapse of a predetermined time, the output goes high. Also,
The reset IC 934 introduces a power supply voltage of VSL, which is a power supply voltage equal to the power supply voltage monitored by the power supply monitoring circuit, to a voltage change monitoring terminal, monitors the voltage of the terminal, and sets a low level when the voltage value falls below a predetermined value. Generates a system reset signal. The CPU 371 is connected to the system reset circuit 9
33 is in a reset state (inactive state) when the system reset signal from the system reset circuit 33 is at a low level, and is set after the system reset signal from the system reset circuit 933 is in a high level. )become.

【0133】このように、本実施の形態では、システム
リセット回路933に遅延手段を備えるようにしたた
め、システムリセット信号がハイレベルに立ち上がるタ
イミングを遅らせて、電源監視回路からの電圧変化信号
(NMI割込信号)がハイレベルに立ち上がった後にシ
ステムリセット信号をハイレベルに立ち上げるようにす
ることができ、システムリセット信号がハイレベルに立
ち上がる前にNMI割込信号がハイレベルに立ち上がっ
てしまって電源断処理が実行されてしまうことを防止す
ることができる。
As described above, in this embodiment, since the system reset circuit 933 is provided with the delay means, the timing at which the system reset signal rises to a high level is delayed, and the voltage change signal (NMI Interrupt signal) rises to a high level, the system reset signal rises to a high level, and the NMI interrupt signal rises to a high level before the system reset signal rises to a high level, thereby turning off the power. It is possible to prevent the processing from being executed.

【0134】図21は、主基板31から賞球制御基板3
7に送信される賞球制御コマンドのビット構成の一例を
示す説明図である。図21に示すように、1バイト中の
上位4ビットが制御指定部として使用され、下位4ビッ
トが賞球数を示す領域として用いられる。
FIG. 21 shows the main board 31 to the prize ball control board 3.
7 is an explanatory diagram showing an example of a bit configuration of a prize ball control command transmitted to No. 7; FIG. As shown in FIG. 21, the upper four bits in one byte are used as a control designator, and the lower four bits are used as an area indicating the number of prize balls.

【0135】図22に示すように、制御指定部におい
て、ビット7,6,5,4が「0,1,0,0」であれ
ば払出個数指定コマンドであることを示し、「0,1,
0,1」であれば払出指定コマンドであることを示す。
払出個数指定コマンドは、主基板31のCPU56が入
賞を検出すると直ちに賞球制御基板37に送出される。
As shown in FIG. 22, when the bits 7, 6, 5, and 4 are "0, 1, 0, 0" in the control specifying section, it indicates that the command is a payout number specifying command. ,
"0, 1" indicates a payout designation command.
The payout number designation command is sent to the prize ball control board 37 immediately after the CPU 56 of the main board 31 detects a winning.

【0136】ビット7,6,5,4が「1,0,0,
0」である玉切れ指定コマンドは、補給玉がなくなった
ことが検出されたときに主基板31から送信される。ま
た、ビット7,6,5,4が「1,0,0,1」である
発射停止指定コマンドは、余剰玉受皿4が満タンになっ
て満タンスイッチ48がオンしたとき(満タン状態フラ
グがオンしたとき)に主基板31から送信される。
Bits 7, 6, 5, and 4 are "1, 0, 0,
The out-of-ball designation command of “0” is transmitted from the main board 31 when it is detected that there is no more supply ball. The firing stop designation command in which the bits 7, 6, 5, and 4 are "1, 0, 0, 1" indicates that the surplus ball tray 4 is full and the full switch 48 is turned on (the full tank state). (When the flag is turned on).

【0137】賞球制御コマンドは、主基板31から賞球
制御基板37に、1バイト(8ビット:賞球制御コマン
ドD7〜D0)のデータとして出力される。賞球制御コ
マンドD7〜D0は正論理で出力される。また、賞球制
御コマンドD7〜D0が出力されたときには、負論理の
賞球制御INT信号が出力される。
The award ball control command is output from the main board 31 to the award ball control board 37 as 1-byte (8 bits: award ball control commands D7 to D0) data. The winning ball control commands D7 to D0 are output in positive logic. When the award ball control commands D7 to D0 are output, a negative logic award ball control INT signal is output.

【0138】この実施の形態では、図23に示すよう
に、主基板31から賞球制御コマンドD7〜D0が出力
されるときに、賞球制御INT信号が5μs以上ローレ
ベルになる。賞球制御INT信号は、賞球制御基板37
において、賞球制御用CPU371の割込端子に接続さ
れている。よって、賞球制御用CPU371は、割り込
みがあると、賞球制御コマンドD7〜D0が主基板31
から送出されたことを認識でき、割込処理において賞球
制御コマンド受信処理を行う。
In this embodiment, as shown in FIG. 23, when the prize ball control commands D7 to D0 are output from the main board 31, the prize ball control INT signal goes low for 5 μs or more. The prize ball control INT signal is transmitted to the prize ball control board 37.
Is connected to the interrupt terminal of the CPU 371 for controlling the prize ball. Therefore, when there is an interrupt, the award ball control CPU 371 transmits the award ball control commands D7 to D0 to the main board 31.
And recognizes that it has been sent from the CPU, and performs a prize ball control command receiving process in the interrupt process.

【0139】なお、図21に示されたコマンド構成は一
例であって、他の構成にしてもよい。例えば、1バイト
中の上位下位を、図21に示された構成とは逆にしても
よい。また、賞球制御コマンドを2バイト構成にしても
よい。その場合、1バイト目で払出制御のモード(払出
個数指定や払出可/不可指定)を指定し、2バイト目で
モードに対する情報(払出個数や払出可/不可の指示)
を指定してもよい。さらに、8ビット中に1バイト目で
あるのか2バイト目であるのかを示す情報を含めてもよ
い。例えば、1バイト目が「F0H」であれば払出個数
指定を示すことにして、2バイト目で具体的個数を示す
(例えば2バイト目の少なくともビット7は「0」)。
また、1バイト目が「FFH」であれば払出モードを示
すことにして、2バイト目が「00H」であれば払出可
を示し、「01H」であれば払出不可を示す。
The command configuration shown in FIG. 21 is an example, and another configuration may be used. For example, the upper and lower parts in one byte may be reversed from the configuration shown in FIG. Further, the award ball control command may have a 2-byte configuration. In this case, the mode of the payout control (designation of the number of payouts and the specification of whether or not the payout is possible) is specified in the first byte, and information on the mode (instruction of the number of payouts and the permission / non-availability of payout) is specified in the second byte.
May be specified. Further, information indicating whether the byte is the first byte or the second byte may be included in the eight bits. For example, if the first byte is “F0H”, the payout number designation is indicated, and the specific number is indicated by the second byte (for example, at least bit 7 of the second byte is “0”).
If the first byte is “FFH”, the payout mode is indicated. If the second byte is “00H”, the payout is permitted. If the first byte is “01H”, the payout is prohibited.

【0140】図24は、賞球制御用CPU371のメイ
ン処理を示すフローチャートである。メイン処理では、
賞球制御用CPU371は、まず、RAM領域をクリア
する等の初期値設定処理を行う(ステップS701)。
なお、内蔵RAMの電源バックアップされたRAM領域
(バックアップRAM領域)にデータが設定されている
場合には、それらの領域のクリア処理はなされない。そ
の後、この実施の形態では、賞球制御用CPU371
は、タイマ割込フラグの監視(ステップS702)の確
認を行うループ処理に移行する。
FIG. 24 is a flowchart showing the main processing of the award ball control CPU 371. In the main processing,
The winning ball control CPU 371 first performs an initial value setting process such as clearing the RAM area (step S701).
If data is set in the RAM area (backup RAM area) of the built-in RAM where the power is backed up, those areas are not cleared. After that, in this embodiment, the CPU 371 for controlling the prize ball.
Shifts to a loop process for checking the monitoring of the timer interrupt flag (step S702).

【0141】ステップS701の初期化処理では、後述
する総合個数記憶の値が0でない場合には、非バックア
ップRAM領域をクリアする。そして、賞球再開のため
の設定を行う。例えば、賞球中処理中フラグのセット等
を行う。なお、バックアップRAM領域であっても、賞
球個数に関わらない領域であるならば、それらのアドレ
スを指定してクリアするようにしてもよい。さらに、そ
れら処理の他に、2ms毎に定期的にタイマ割込がかか
るように賞球制御用CPU371に設けられているタイ
マレジスタの初期設定(タイムアウトが2msであるこ
とと繰り返しタイマが動作する設定)が行われる。すな
わち、タイマ割込を能動化する処理と、タイマ割込イン
タバルを設定する処理とが実行される。
In the initialization processing in step S701, when the value of the total number storage described later is not 0, the non-backup RAM area is cleared. Then, setting for restarting the prize ball is performed. For example, a flag during processing of a prize ball is set. If the backup RAM area is an area irrespective of the number of prize balls, those addresses may be designated and cleared. Furthermore, in addition to these processes, initial settings of a timer register provided in the CPU for controlling a prize ball 371 so that a timer interrupt is periodically performed every 2 ms (setting that the timeout is 2 ms and setting of the repetition timer operating) ) Is performed. That is, a process of activating a timer interrupt and a process of setting a timer interrupt interval are executed.

【0142】従って、この実施の形態では、賞球制御用
CPU371の内部タイマが繰り返しタイマ割込を発生
するように設定される。この実施の形態では、繰り返し
周期は2msに設定される。そして、図25に示すよう
に、タイマ割込が発生すると、賞球制御用CPU371
は、タイマ割込フラグをセットする(ステップS71
1)。
Therefore, in this embodiment, the internal timer of the CPU 371 for controlling the prize ball is set to repeatedly generate a timer interrupt. In this embodiment, the repetition period is set to 2 ms. Then, as shown in FIG. 25, when a timer interrupt occurs, the CPU 371 for controlling the prize ball.
Sets the timer interrupt flag (step S71)
1).

【0143】賞球制御用CPU371は、ステップS7
02において、タイマ割込フラグがセットされたことを
検出すると、タイマ割込フラグをリセットするとともに
(ステップS703)、賞球制御処理および玉貸し制御
処理を実行する(ステップS705,S706)。以上
の制御によって、この実施の形態では、賞球制御処理お
よび玉貸し制御処理は2ms毎に起動されることにな
る。なお、この実施の形態では、タイマ割込処理ではフ
ラグセットのみがなされ、賞球制御処理等はメイン処理
において実行されるが、タイマ割込処理で賞球制御処理
等を実行してもよい。
The CPU 371 for controlling the prize ball controls step S7.
In 02, when it is detected that the timer interrupt flag has been set, the timer interrupt flag is reset (step S703), and a prize ball control process and a ball lending control process are executed (steps S705 and S706). According to the above control, in this embodiment, the prize ball control process and the ball lending control process are started every 2 ms. In this embodiment, only the flag is set in the timer interruption processing, and the prize ball control processing and the like are executed in the main processing. However, the prize ball control processing and the like may be executed in the timer interruption processing.

【0144】図26は、賞球制御用CPU371が内蔵
するRAMの使用例を示す説明図である。この例では、
バックアップRAM領域に総合個数記憶(例えば2バイ
ト)および貸し玉個数記憶が形成されている。総合個数
記憶は、主基板31の側から指示された払出個数の総数
を記憶するものである。貸し玉個数記憶は、未払出の玉
貸し個数を記憶するものである。
FIG. 26 is an explanatory diagram showing an example of use of the RAM built in the CPU 371 for controlling a prize ball. 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 lending ball number storage stores the number of unpaid ball lending.

【0145】図27は、割込処理による賞球制御コマン
ド受信処理を示すフローチャートである。主基板31か
らの賞球制御INT信号は賞球制御用CPU371の割
込端子に入力されている。よって、主基板31からの賞
球制御INT信号がオン状態になると、賞球制御用CP
U371に割込がかかり、図27に示す賞球制御コマン
ドの受信処理が開始される。
FIG. 27 is a flowchart showing a prize ball control command receiving process by the interrupt process. The award ball control INT signal from the main board 31 is input to the interrupt terminal of the award ball control CPU 371. Therefore, when the award ball control INT signal from the main board 31 is turned on, the award ball control CP
An interrupt is made to U371, and the reception processing of the award ball control command shown in FIG. 27 is started.

【0146】賞球制御コマンドの受信処理において、賞
球制御用CPU371は、まず、賞球制御コマンドデー
タの入力に割り当てられている入力ポートから1バイト
のデータを読み込む(ステップS852)。読み込んだ
データが払出個数指示コマンドであれば(ステップS8
53)、払出個数指示コマンドで指示された個数を総合
個数記憶に加算する(ステップS855)。そうでなけ
れば、通信終了フラグをセットする(ステップS85
4)。なお、通信終了フラグは、この例では、払出個数
指示コマンド以外のコマンドを受信したことを示すフラ
グである。
In the process of receiving the award ball control command, the award ball control CPU 371 first reads 1-byte data from the input port assigned to the input of the award ball control command data (step S852). If the read data is a payout number instruction command (step S8)
53), the number specified by the payout number instruction command is added to the total number storage (step S855). Otherwise, a communication end flag is set (step S85).
4). In this example, the communication end flag is a flag indicating that a command other than the payout number instruction command has been received.

【0147】以上のように、賞球制御基板37に搭載さ
れた賞球制御用CPU371は、主基板31のCPU5
6から送られた払出個数指示コマンドに含まれる賞球数
をバックアップRAM領域(総合個数記憶)に記憶す
る。
As described above, the CPU 371 for controlling the prize ball mounted on the prize ball control board 37 is the CPU 5 of the main board 31.
The number of award balls included in the payout number instruction command sent from 6 is stored in the backup RAM area (total number storage).

【0148】図28は、賞球制御処理(ステップS71
1)を示すフローチャートである。賞球制御処理におい
て、賞球制御用CPU371は、総合個数記憶が0でな
いか否かの確認を行う(ステップS511)。総合個数
記憶が0でなければ、賞球制御用CPU371は、賞球
払出処理を行う(ステップS512)。賞球払出処理で
は、払出モータ289がオンしていなければオンすると
ともに、賞球カウントスイッチ301Aの検出出力によ
って遊技球の払出がなされたか否かの確認を行う。そし
て、1個の払出が行われたことを確認したら(ステップ
S513)、総合個数記憶の値を−1する(ステップS
514)。また、総合個数記憶の値が0になったら(ス
テップS515)、払出モータ289をオフする(ステ
ップS516)。
FIG. 28 shows a prize ball control process (step S71).
It is a flowchart which shows 1). In the prize ball control processing, the prize ball control CPU 371 checks whether or not the total number storage is not 0 (step S511). If the total number storage is not 0, the award ball control CPU 371 performs an award ball payout process (step S512). In the prize ball payout process, if the payout motor 289 is not turned on, it is turned on, and the detection output of the prize ball count switch 301A is used to confirm whether or not the game balls have been paid out. When it is confirmed that one payout has been made (step S513), the value of the total number storage is decremented by one (step S513).
514). When the value of the total number storage becomes 0 (step S515), the payout motor 289 is turned off (step S516).

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

【0150】賞球制御用CPU371は、電源投入時
に、バックアップRAM領域のデータを確認するだけ
で、通常の初期設定処理を行うのか賞球中の状態を復元
するのか決定できる。すなわち、簡単な判断によって、
未払出賞球について賞球処理再開を行うことができる。
When the power is turned on, the CPU 371 for controlling the prize ball can determine whether to perform the normal initialization processing or restore the state during the prize ball simply by checking the data in the backup RAM area. That is, with a simple judgment,
The prize ball processing can be restarted for the unpaid prize balls.

【0151】なお、賞球制御用CPU371は、主基板
31から指示された賞球個数を総合個数記憶で総数とし
て管理したが、賞球数毎(例えば15個、10個、6
個)に管理してもよい。例えば、賞球数毎に対応した個
数カウンタを設け、払出個数指定コマンドを受信する
と、そのコマンドで指定された個数に対応する個数カウ
ンタを+1する。そして、賞球数毎の賞球払出が終了す
ると、対応する個数カウンタを−1する。その場合に
も、各個数カウンタはバックアップRAM領域に形成さ
れる。よって、遊技機の電源が断しても、所定期間中に
電源が回復すれば、賞球制御用CPU371は、各個数
カウンタの内容にもとづいて賞球払出処理を継続するこ
とができる。
The award ball control CPU 371 manages the number of award balls instructed from the main board 31 as a total number in the total number memory, but the number of award balls (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 payout of each prize ball is completed, the corresponding number counter is decremented by one. 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 prize ball control CPU 371 can continue the prize ball payout process based on the content of each number counter.

【0152】図29は、玉貸し制御処理(ステップS7
06)を示すフローチャートである。玉貸し制御処理に
おいて、賞球制御用CPU371は、賞球払出中である
か否かかチェックする(ステップS531)。賞球払出
中でなければ、貸し玉個数記憶が0でないか否かの確認
を行う(ステップS532)。貸し玉個数記憶が0でな
ければ、賞球制御用CPU371は、玉貸し処理を行う
(ステップS533)。玉貸し処理では、払出モータ2
89がオンしていなければオンするとともに、玉貸しカ
ウントスイッチ301Bの検出出力によって遊技球の払
出がなされたか否かの確認を行う。そして、1個の払出
が行われたことを確認したら(ステップS534)、貸
し玉個数記憶の値を−1する(ステップS535)。ま
た、貸し玉個数記憶の値が0になったら(ステップS5
36)、払出モータ289をオフする(ステップS53
7)。なお、この実施の形態では、賞球も玉貸しも同じ
払出装置で行われる。
FIG. 29 shows a ball lending control process (step S7).
It is a flowchart which shows 06). In the ball lending control processing, the prize ball control CPU 371 checks whether or not a prize ball is being paid out (step S531). If the prize balls are not being paid out, it is confirmed whether or not the stored number of lending balls is not 0 (step S532). If the lending ball number storage is not 0, the award ball control CPU 371 performs a ball lending process (step S533). In the ball lending process, the payout motor 2
If 89 has not been turned on, it is turned on, and it is checked whether or not a game ball has been paid out based on the detection output of the ball lending count switch 301B. Then, when it is confirmed that one payout has been made (step S534), the value of the stored number of lending balls is decremented by one (step S535). Further, when the value of the number of stored lending balls becomes 0 (step S5).
36), and turns off the payout motor 289 (step S53).
7). In this embodiment, the prize ball and the ball lending are performed by the same payout device.

【0153】次に、カードユニット50から玉貸し要求
があったか否かを確認し(ステップS538)、要求が
あれば要求単位数に応じた個数を貸し玉個数記憶の値に
加算する(ステップS539)。
Next, it is confirmed whether or not there is a ball lending request from the card unit 50 (step S538). If there is a request, the number corresponding to the requested unit number is added to the value of the lending ball number storage (step S539). .

【0154】貸し玉個数記憶の内容は、遊技機の電源が
断しても、所定期間電源基板910のバックアップ電源
によって保存される。従って、所定期間中に電源が回復
すると、賞球制御用CPU371は、貸し玉個数記憶の
内容にもとづいて玉貸し処理を継続することができる。
The contents of the lending ball number storage 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 prize ball controlling CPU 371 can continue the ball lending process based on the content of the lending ball number storage.

【0155】なお、賞球制御用CPU371は、カード
ユニット50から単位数(例えば100円単位)で要求
された玉貸し個数を貸し玉個数記憶で総数として管理し
たが、単位数で管理してもよい。例えば、玉貸し回数カ
ウンタを設け、玉貸し要求があると、玉貸し回数カウン
タを+1する。そして、単位数の払出が終了すると、玉
貸し回数カウンタを−1する。その場合にも、玉貸し回
数カウンタはバックアップRAM領域に形成される。よ
って、遊技機の電源が断しても、所定期間中に電源が回
復すれば、賞球制御用CPU371は、玉貸し回数カウ
ンタの内容にもとづいて玉貸し処理を継続することがで
きる。
Note that the prize ball controlling CPU 371 manages the number of lent balls requested by the card unit 50 in units (for example, in units of 100 yen) as the total number in the lent ball number storage. Good. For example, a ball lending counter is provided, and when a ball lending request is issued, the ball lending counter is incremented by one. When the payout of the number of units is completed, the ball lending counter is decremented by one. Also in that case, the ball lending 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 prize ball controlling CPU 371 can continue the ball lending process based on the content of the ball lending counter.

【0156】図30は、賞球制御用CPU371が電源
監視回路からの割込に応じて実行される停電発生割込処
理を示すフローチャートである。電源基板910の電源
監視用IC902が電源電圧の低下を検出すると電圧変
化信号が電圧低下を示す状態となり、停電発生割込処理
が開始される。停電発生割込処理において、賞球制御用
CPU371は、割込禁止に設定し(ステップS80
1)、RAMアクセス禁止状態に設定して(ステップS
802)、ループ処理に入る。すなわち、何らの処理も
しない状態になる。
FIG. 30 is a flowchart showing a power failure occurrence interruption process executed by the award ball control CPU 371 in response to an interruption from the power supply monitoring circuit. When the power supply monitoring IC 902 of the power supply board 910 detects a decrease in the power supply voltage, the voltage change signal indicates a voltage decrease, and the power failure occurrence interrupt processing is started. In the power failure occurrence interrupt processing, the prize ball control CPU 371 sets the interrupt prohibition (step S80).
1) Set the RAM access prohibited state (step S
802), and enters a loop process. That is, no processing is performed.

【0157】従って、図20に示された電源監視用IC
934からのシステムリセット信号によって外部から動
作禁止状態(システムリセット)にされる前に、内部的
に動作停止状態になる。よって、電源断時に確実に賞球
制御用CPU371は動作停止する。
Therefore, the power supply monitoring IC shown in FIG.
Before being externally disabled (system reset) by the system reset signal from 934, the internal operation is stopped. Thus, the operation of the award ball control CPU 371 is reliably stopped when the power is turned off.

【0158】なお、この実施の形態では、停電発生NM
I処理では最終部でプログラムをループ状態にしたが、
ホールト(HALT)命令を発行するように構成しても
よい。また、割込処理中には他の割込がかからないよう
な仕様のCPUを用いた場合にはステップS801の処
理は不要である。
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. If a CPU having a specification that does not cause another interrupt during the interrupt processing is used, the processing in step S801 is unnecessary.

【0159】図31は、賞球制御用CPU371が電源
投入時に実行する初期化処理(ステップS701)の一
部を示すフローチャートである。電源が投入され、また
は、電源が復旧したときには、賞球制御用CPU371
は、まず、バックアップRAM領域に形成されている総
合個数記憶または貸し玉個数記憶の値が0でないかどう
か確認する(ステップS901)。0である場合には、
前回の電源オフ時に未払出賞球はなかったことになるの
で、通常の初期設定処理を行う。すなわち、レジスタお
よび全RAM領域をクリアして(ステップS903)、
スタックポインタの初期設定を行う(ステップS90
4)。
FIG. 31 is a flowchart showing a part of the initialization process (step S701) executed by the CPU 371 for controlling the prize ball when the power is turned on. When the power is turned on or the power is restored, the CPU 371 for controlling the prize ball
First, it is checked whether the value of the total number storage or the lending ball number storage formed in the backup RAM area is not 0 (step S901). If it is 0,
Since there was no unpaid prize ball when the power was last turned off, normal initialization processing is performed. That is, the register and all RAM areas are cleared (step S903),
Initialize the stack pointer (step S90)
4).

【0160】総合個数記憶または貸し玉個数記憶の値が
0でない場合には、アドレスを指定してレジスタと非バ
ックアップRAM領域をクリアする(ステップS90
5)。そして、賞球再開のための設定を行う。例えば、
賞球中処理中フラグのセット等を行う(ステップS90
6)。なお、バックアップRAM領域であっても、賞球
個数に関わらない領域であるならば、それらのアドレス
を指定してクリアするようにしてもよい。
If the value of the storage of the total number or the storage of the number of lending balls is not 0, the address is designated to clear the register and the non-backup RAM area (step S90).
5). Then, setting for restarting the prize ball is performed. For example,
The in-prize ball processing flag is set (step S90).
6). If the backup RAM area is an area irrespective of the number of prize balls, those addresses may be designated and cleared.

【0161】このように、賞球制御用CPU371は、
電源投入時に、バックアップRAM領域のデータを確認
するだけで、通常の初期設定処理を行うのか賞球中の状
態を復元するのか決定できる。すなわち、簡単な判断に
よって、未払出賞球について賞球処理再開を行うことが
できる。
As described above, the CPU 371 for controlling the prize ball
When the power is turned on, it is possible to determine whether to perform the normal initial setting process or to restore the state during the prize ball only by checking the data in the backup RAM area. In other words, the prize ball processing can be restarted for the unpaid prize balls by a simple judgment.

【0162】なお、賞球制御用CPU371も、主基板
31のCPU56と同様に、電源断フラグによって初期
化処理を行うか否か決定してもよい。また、主基板31
のCPU56と同様に、パリティチェックコードによっ
て記憶内容保存の確実化を図ってもよい。
Note that the CPU 371 for controlling the prize ball may determine whether or not to perform the initialization processing based on the power-off flag, similarly to the CPU 56 of the main board 31. In addition, the main substrate 31
As in the case of the CPU 56, it is possible to ensure the storage of the stored contents by using a parity check code.

【0163】また、この実施の形態では、賞球制御用C
PU371は、マスク不能外部割込端子(NMI端子)
を介して電源基板からのNMI割込信号(電源監視手段
からのNMI割込信号)を検知したが、NMI割込信号
をマスク可能割込割込端子(IRQ端子)に導入しても
よい。その場合には、IRQ処理によって図30に示さ
れた停電発生割込処理が実行される。また、入力ポート
を介してNMI割込信号を検知してもよい。その場合に
は、賞球制御用CPU371が実行するメイン処理にお
いて、入力ポートの監視が行われる。
In this embodiment, the prize ball 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 (IRQ terminal). In this case, the power outage interruption processing shown in FIG. 30 is executed by the IRQ processing. Further, an NMI interrupt signal may be detected through an input port. In that case, the input port is monitored in the main processing executed by the award ball control CPU 371.

【0164】上記の実施の形態では、電源監視回路は電
源基板910に設けられたが、電源監視回路は主基板3
1や賞球制御基板37などの電気部品制御基板に設けら
れていてもよい。なお、電源回路が搭載された電気部品
制御基板が構成される場合には、電源基板には、電源監
視回路は搭載されない。
In the above embodiment, the power supply monitoring circuit is provided on the power supply board 910.
It may be provided on an electric component control board such as 1 or the prize ball control board 37. When an electric component control board on which a power supply circuit is mounted is configured, the power supply monitoring circuit is not mounted on the power supply board.

【0165】図32は、電源監視および電源バックアッ
プのためのCPU56周りの他の構成例を示すブロック
図である。図32に示すように、電源監視回路(電源監
視手段)からの電圧変化信号が、バッファ回路900を
介してCPU56のマスク不能割込端子(NMI端子)
に接続されている。電源監視回路は、遊技機が使用する
各種直流電源のうちのいずれかの電源の電圧を監視して
電源電圧変化を検出する回路である。この実施の形態で
は、VSLの電源電圧を監視して電圧値が所定値以下にな
るとローレベルの電圧変化信号を発生する。また、VSL
の電源電圧を監視して電圧値が所定値以上になるとハイ
レベルの電圧変化信号を発生する。VSLは、遊技機で使
用される直流電圧のうちで最も高い電圧であり、この例
では+30Vである。従って、CPU56は、割込処理
によって電源断の発生や電源復旧を確認することができ
る。
FIG. 32 is a block diagram showing another configuration example around the CPU 56 for power supply monitoring and power supply backup. As shown in FIG. 32, the voltage change signal from the power supply monitoring circuit (power supply monitoring means) is supplied to the non-maskable interrupt terminal (NMI terminal) of the CPU 56 via the buffer circuit 900.
It is connected to the. The power supply monitoring circuit is a circuit that monitors a voltage of any one of various DC power supplies used by the gaming machine and detects a power supply voltage change. In this embodiment, the power supply voltage of VSL is monitored, and a low-level voltage change signal is generated when the voltage value falls below a predetermined value. Also, VSL
The power supply voltage is monitored and a high-level voltage change signal is generated when the voltage value exceeds a predetermined value. VSL is the highest voltage among DC voltages used in gaming machines, and is +30 V in this example. Therefore, the CPU 56 can confirm occurrence of power interruption or power restoration by the interrupt processing.

【0166】電気部品制御基板には、初期リセット回路
65も示されているが、この実施の形態では、初期リセ
ット回路65は、本例では電源基板に設けられている電
源監視回路とは異なる他の電源監視回路(他の電源監視
手段)も兼ねている。すなわち、リセットIC651
は、電源投入時に、外付けのコンデンサ(遅延手段)の
容量で決まる所定時間だけ出力をローレベルとし、所定
時間が経過すると出力をハイレベルにする。また、リセ
ットIC651は、電源監視回路が監視する電源電圧と
等しい電源電圧であるVSLの電源電圧を電圧変化監視用
端子に導入し、その端子の電圧を監視して電圧値が所定
値以下になるとローレベルの電圧変化信号を発生する。
なお、図32に示すように、この電圧変化信号はリセッ
ト信号と同じ出力信号である。
Although an initial reset circuit 65 is also shown on the electric component control board, in this embodiment, the initial reset circuit 65 is different from the power supply monitoring circuit provided on the power supply board in this example. Power supply monitoring circuit (other power supply monitoring means). That is, the reset IC 651
When the power is turned on, the output is set to a low level for a predetermined time determined by the capacity of an external capacitor (delay means), and the output is set to a high level after a predetermined time has elapsed. Also, the reset IC 651 introduces a power supply voltage of VSL, which is a power supply voltage equal to the power supply voltage monitored by the power supply monitoring circuit, to the voltage change monitoring terminal, monitors the voltage of the terminal, and when the voltage value falls below a predetermined value. Generates a low-level voltage change signal.
As shown in FIG. 32, this voltage change signal is the same output signal as the reset signal.

【0167】図32に示すように、リセット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のリセット端
子に接続されている。
As shown in FIG. 32, 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.

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

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

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

【0171】CPU56等の駆動電源である+5V電源
から電力が供給されていない間、RAMの少なくとも一
部は、電源基板から供給されるバックアップ電源によっ
てバックアップされ、遊技機に対する電源が断しても内
容は保存される。そして、+5V電源が復旧すると、シ
ステムリセット回路65からのシステムリセット信号が
ハイレベルとされシステムリセットが解除されるので、
CPU56は、その後通常の動作状態に復帰する。その
とき、必要なデータがバックアップされているので、停
電等からの復旧時には停電発生時の遊技状態に復帰する
ことができる。
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 maintained even if the power supply to the gaming machine is cut off. Is saved. When the + 5V power supply is restored, the system reset signal from the system reset circuit 65 is set to the high level, and the system reset is released.
After that, the CPU 56 returns to the normal operation state. At that time, since the necessary data is backed up, 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.

【0172】図33は、図32に示されたシステムリセ
ット回路65のリセットIC651とその周辺のICの
出力信号の様子を示すタイミング図である。図33に示
すように、リセットIC651の出力は、電源電圧のレ
ベルが所定値(CPU56の正常な動作を担保すること
が可能なレベル、この例ではCPU56は+5Vで動作
可能なので例えば+9V)を越えるとハイレベルにな
る。リセットIC651の出力がハイレベルになると、
カウンタIC941のクリア状態が解除されるので、カ
ウンタIC941は発振器943の出力クロック信号の
カウントを開始する。発振器943の発振周波数は例え
ば11.776MHzである。なお、発振器943の出
力クロック信号は、CPU56の外部クロック端子にも
供給されている。
FIG. 33 is a timing chart showing output signals of reset IC 651 of system reset circuit 65 shown in FIG. 32 and peripheral ICs. As shown in FIG. 33, the output of the reset IC 651 has a power supply voltage level exceeding a predetermined value (a level at which the normal operation of the CPU 56 can be ensured, for example, +9 V because the CPU 56 can operate at +5 V). And become high level. When the output of the reset IC 651 becomes high level,
Since the clear state of the counter IC 941 is released, the counter IC 941 starts counting the output clock signal of the oscillator 943. The oscillation frequency of the oscillator 943 is, for example, 11.776 MHz. Note that the output clock signal of the oscillator 943 is also supplied to an external clock terminal of the CPU 56.

【0173】カウンタIC941が16クロックをカウ
ントするとQ5出力が立ち上がる。また、32クロック
をカウントするとQ6出力がハイレベルに立ち上がる。
カウンタIC941のQ6出力が立ち上がると、FF9
42の出力がハイレベルになる。IC947は、カウン
タIC941のQ6出力とリセットIC651の出力と
の論理積を反転して、図33に示すような信号を出力す
る。OR回路949は、IC947の出力を反転するI
C948の出力とFF942の出力との論理和をとっ
て、図33に示すような信号を出力する。
When counter IC 941 counts 16 clocks, Q5 output rises. When 32 clocks are counted, the Q6 output rises to a high level.
When the Q6 output of the counter IC 941 rises, FF9
The output at 42 goes high. The IC 947 inverts the logical product of the Q6 output of the counter IC 941 and the output of the reset IC 651, and outputs a signal as shown in FIG. The OR circuit 949 outputs an I signal for inverting the output of the IC 947.
The logical sum of the output of C948 and the output of FF942 is obtained, and a signal as shown in FIG. 33 is output.

【0174】従って、遊技機の電源オン時には、CPU
56のリセット端子に対して、一旦リセット解除状態
(ハイレベル)になってから、再度リセット状態(ロー
レベル)になるような信号が供給される。すなわち、電
源オン時には、CPU56をリセット状態とするような
ローレベル信号が2回発生することになる。また、リセ
ット解除を示すハイレベルが2回発生しているというこ
ともできる。その結果、CPU56は、最初のリセット
解除を示すローレベルからハイレベルへの変化によって
起動しなかったとしても、2回目のローレベルからハイ
レベルへの変化によって確実に起動することができる。
よって、遊技機の電源投入時に、確実に遊技制御が開始
される。
Therefore, when the power of the gaming machine is turned on, the CPU
A signal is supplied to the reset terminals 56 so that the reset state (high level) is set once and then the reset state (low level) is set again. That is, when the power is turned on, a low-level signal for resetting the CPU 56 is generated twice. It can also be said that the high level indicating reset release has occurred twice. As a result, even if the CPU 56 is not activated by a change from low level to high level indicating the first reset release, it can be reliably activated by a second change from low level to high level.
Therefore, when the power of the gaming machine is turned on, the game control is reliably started.

【0175】なお、IC949が出力するハイレベルパ
ルス(リセット解除状態に相当)およびローレベルパル
ス(リセット状態に相当)の幅は、カウンタIC941
の出力端子を変更するによって任意に設定することがで
きる。ただし、IC949が出力するハイレベルパルス
の幅は、CPU56にも供給されている発振器943の
出力クロックの数クロック分(例えば4クロック)以上
であることが好ましいが、この例では、16クロック分
となっている。また、IC949が出力するローレベル
パルスの幅は、発振器943の出力クロックの数クロッ
ク分(例えば4クロック)以上であることが好ましい
が、この例では、16クロック分となっている。電源監
視回路からの電圧変化信号を、IC949の1回目のハ
イレベル期間を調整することによって、IC949の出
力が2回目に立ち上がった時点ではハイレベルにしてお
くことができる。従って、図32に示された形態によっ
ても、CPU56が制御プログラムの実行を開始する時
点で、NMI割込信号が立ち上がっていることを保障で
きる。
The width of the high level pulse (corresponding to the reset release state) and the width of the low level pulse (corresponding to the reset state) output from the IC 949 are determined by the counter IC 941.
Can be set arbitrarily by changing the output terminal of However, the width of the high-level pulse output from the IC 949 is preferably several clocks (for example, four clocks) of the output clock of the oscillator 943 that is also supplied to the CPU 56, but in this example, it is 16 clocks. Has become. The width of the low-level pulse output by the IC 949 is preferably equal to or more than several clocks (for example, 4 clocks) of the output clock of the oscillator 943, but in this example, it is 16 clocks. By adjusting the first high level period of the IC 949, the voltage change signal from the power supply monitoring circuit can be kept at the high level when the output of the IC 949 rises for the second time. Therefore, the embodiment shown in FIG. 32 can also guarantee that the NMI interrupt signal has risen at the time when the CPU 56 starts executing the control program.

【0176】CPU56は、リセット状態が解除されて
動作を開始すると、本来の制御処理を開始する前に、セ
キュリティチェックなどの所定の起動時処理を行うよう
に構成されている場合がある。すると、IC949が出
力するハイレベルパルスの終了時点(立ち下がり時点)
は、所定の起動時処理の完了前(本来の制御処理開始
前)であることが望ましい。さもないと、IC949の
出力が立ち上がって所定の起動時処理が行われ、さらに
本来の制御処理が開始されてからIC949の出力がロ
ーレベルになることになり、本来の処理開始後に、再度
CPU56がリセットされる状況になるからである。I
C949が出力するハイレベルパルスの終了時点(立ち
下がり時点)は、例えば立ち上がり時点から100ms
以内であることが好ましいが、図32に示された回路構
成では、100ms以内になっている。
In some cases, the CPU 56 is configured to perform a predetermined startup process such as a security check before starting the original control process when the reset state is released and the operation is started. Then, the end point (falling point) of the high-level pulse output by the IC 949
Is desirably before completion of a predetermined startup process (before starting the original control process). Otherwise, the output of the IC 949 rises, a predetermined startup process is performed, and the output of the IC 949 becomes low level after the original control process is started. This is because the situation is reset. I
The end point (falling point) of the high-level pulse output by C949 is, for example, 100 ms from the rising point.
Within the circuit configuration shown in FIG. 32, it is preferably within 100 ms.

【0177】また、電源断時には、リセットIC651
に入力されているVSL(この例では+30V電源電圧)
の電位が所定値(この例では+9V)を下回ると、リセ
ットIC651の出力がローレベルになる。すると、F
F942のクリア端子(CLR)にローレベルが入力さ
れFF942のQ出力はローレベルになる。よって、O
R回路949の出力はローレベルになり、CPU56の
リセット端子にリセット状態を示すレベルが供給され
る。すなわち、図32に示された回路構成では、リセッ
トIC651の出力がローレベルになると、直ちにCP
U56のリセット端子の入力状態がローレベルに固定さ
れる。換言すれば、電源断時には、2回のリセットパル
スがCPU56に与えられるようなことはない。
When the power is turned off, the reset IC 651
VSL (+ 30V power supply voltage in this example)
Is lower than a predetermined value (+9 V in this example), the output of the reset IC 651 becomes low level. Then F
A low level is input to the clear terminal (CLR) of F942, and the Q output of FF942 becomes low level. Therefore, O
The output of the R circuit 949 becomes low level, and the level indicating the reset state is supplied to the reset terminal of the CPU 56. That is, in the circuit configuration shown in FIG. 32, when the output of the reset IC 651 becomes low level, the CP
The input state of the reset terminal of U56 is fixed at a low level. In other words, when the power is turned off, two reset pulses are not supplied to the CPU 56.

【0178】なお、この実施の形態では、図33に示さ
れたリセット信号のような信号状態を作成するために図
32に示されたような回路構成を用いたが、そのような
信号状態を作成するために他の回路構成を用いてもよ
い。
In this embodiment, a circuit configuration as shown in FIG. 32 is used to create a signal state such as the reset signal shown in FIG. 33. Other circuit configurations may be used to create.

【0179】図34は、遊技機の電源断時の電源低下や
NMI割込信号(ここでは、電源断信号)の様子を示す
タイミング図である。遊技機に対する電力供給が断たれ
ると、最も高い直流電源電圧であるVSLの電圧値は徐々
に低下する。そして、この例では、+22Vにまで低下
すると、電源基板910に搭載されている電源監視用I
C902から電源断信号(電圧変化信号)が出力される
(ローレベルになる)。
FIG. 34 is a timing chart showing the state of the power supply drop and the NMI interrupt signal (here, the power-off signal) when the power of the gaming machine is turned off. When the power supply to the gaming machine is cut off, the voltage value of VSL, which is the highest DC power supply voltage, gradually decreases. In this example, when the voltage drops to +22 V, the power monitoring I
A power-off signal (voltage change signal) is output from C902 (becomes low level).

【0180】電源断信号は、電気部品制御基板(図34
に示す例では主基板31および賞球制御基板37)に導
入され、CPU56および賞球制御用CPU371のN
MI端子に入力される。CPU56および賞球制御用C
PU371は、上述したNMI処理によって、所定の電
力供給停止時処理を実行する。
The power-off signal is sent to the electric component control board (FIG. 34).
In the example shown in FIG. 3, the CPU 56 and the CPU 371 for controlling the prize ball
Input to MI terminal. CPU 56 and prize ball control C
The PU 371 executes predetermined power supply stop processing by the above-described NMI processing.

【0181】VSLの電圧値がさらに低下して所定値(こ
の例では+9V)にまで低下すると、主基板31や賞球
制御基板37に搭載されているリセットIC651の出
力がローレベルになり、CPU56および賞球制御用C
PU371がシステムリセット状態になる。なお、CP
U56および賞球制御用CPU371は、システムリセ
ット状態とされる前に、電力供給停止時処理を完了して
いる。
When the voltage value of VSL further decreases to a predetermined value (+9 V in this example), the output of the reset IC 651 mounted on the main board 31 or the prize ball control board 37 becomes low level, and the CPU 56 And prize ball control C
PU 371 enters a system reset state. Note that CP
The U56 and the award ball control CPU 371 have completed the power supply stop processing before the system is reset.

【0182】VSLの電圧値がさらに低下してVcc(各種
回路を駆動するための+5V)を生成することが可能な
電圧を下回ると、各基板において各回路が動作できない
状態となる。しかし、少なくとも主基板31や賞球制御
基板37では、電力供給停止時処理が実行され、CPU
56および賞球制御用CPU371がシステムリセット
状態とされている。
When the voltage value of VSL further decreases and falls below a voltage capable of generating Vcc (+5 V for driving various circuits), each circuit cannot operate on each substrate. However, at least on the main board 31 and the prize ball control board 37, the power supply stop processing is executed, and the CPU
56 and the award ball control CPU 371 are in a system reset state.

【0183】図35は、電源監視および電源バックアッ
プのための賞球制御用CPU371周りの他の構成例を
示すブロック図である。図35に示すように、電源監視
回路(電源監視手段)からの電圧変化信号が、バッファ
回路960を介して賞球制御用CPU371のマスク不
能割込端子(NMI端子)に接続されている。電源監視
回路は、遊技機が使用する各種直流電源のうちのいずれ
かの電源の電圧を監視して電源電圧変化を検出する回路
である。この実施の形態では、VSLの電源電圧を監視し
て電圧値が所定値以下になるとローレベルの電圧変化信
号を発生する。また、VSLの電源電圧を監視して電圧値
が所定値以上になるとハイレベルの電圧変化信号を発生
する。VSLは、遊技機で使用される直流電圧のうちで最
も高い電圧であり、この例では+30Vである。従っ
て、賞球制御用CPU371は、割込処理によって電源
断の発生や電源復旧を確認することができる。
FIG. 35 is a block diagram showing another configuration example around the CPU 371 for controlling the prize ball for monitoring and backing up the power supply. As shown in FIG. 35, a voltage change signal from a power supply monitoring circuit (power supply monitoring means) is connected to a non-maskable interrupt terminal (NMI terminal) of the CPU 371 for award ball control via a buffer circuit 960. The power supply monitoring circuit is a circuit that monitors a voltage of any one of various DC power supplies used by the gaming machine and detects a power supply voltage change. In this embodiment, the power supply voltage of VSL is monitored, and a low-level voltage change signal is generated when the voltage value falls below a predetermined value. Further, the power supply voltage of VSL is monitored, and a high-level voltage change signal is generated when the voltage value exceeds a predetermined value. VSL is the highest voltage among DC voltages used in gaming machines, and is +30 V in this example. Accordingly, the CPU 371 for controlling the prize ball can confirm occurrence of power interruption or restoration of power supply by the interrupt processing.

【0184】電気部品制御基板には、初期リセット回路
975も示されているが、この実施の形態では、初期リ
セット回路975は、本例では電源基板に設けられてい
る電源監視回路とは異なる他の電源監視回路(他の電源
監視手段)も兼ねている。すなわち、リセットIC97
6は、電源投入時に、外付けのコンデンサ(遅延手段)
の容量で決まる所定時間だけ出力をローレベルとし、所
定時間が経過すると出力をハイレベルにする。また、リ
セットIC976は、電源監視回路が監視する電源電圧
と等しい電源電圧であるVSLの電源電圧を電圧変化監視
用端子に導入し、その端子の電圧を監視して電圧値が所
定値以下になるとローレベルの電圧変化信号を発生す
る。なお、図35に示すように、この電圧変化信号はシ
ステムリセット信号と同じ出力信号である。
Although an initial reset circuit 975 is also shown on the electric component control board, in this embodiment, the initial reset circuit 975 is different from the power supply monitoring circuit provided on the power supply board in this example. Power supply monitoring circuit (other power supply monitoring means). That is, the reset IC 97
6 is an external capacitor (delay means) when the power is turned on.
The output is set to the low level only for a predetermined time determined by the capacity, and after the predetermined time elapses, the output is set to the high level. Also, the reset IC 976 introduces a power supply voltage VSL, which is a power supply voltage equal to the power supply voltage monitored by the power supply monitoring circuit, to the voltage change monitoring terminal, monitors the voltage of the terminal, and when the voltage value falls below a predetermined value. Generates a low-level voltage change signal. As shown in FIG. 35, this voltage change signal is the same output signal as the system reset signal.

【0185】図35に示すように、リセットIC976
からのリセット信号は、NAND回路987に入力され
るとともに、反転回路(NOT回路)984を介してカ
ウンタIC981のクリア端子に入力される。カウンタ
IC981は、クリア端子への入力がローレベルになる
と、発振器983からのクロック信号をカウントする。
そして、カウンタIC981のQ5出力がNOT回路9
85,986を介してNAND回路987に入力され
る。また、カウンタIC981のQ6出力は、フリップ
フロップ(FF)982のクロック端子に入力される。
フリップフロップ982のD入力はハイレベルに固定さ
れ、Q出力は論理和回路(OR回路)989に入力され
る。OR回路989の他方の入力には、NAND回路9
87の出力がNOT回路988を介して導入される。そ
して、OR回路989の出力が賞球制御用CPU371
のリセット端子に接続されている。
As shown in FIG. 35, reset IC 976
Is input to the NAND circuit 987 and also to the clear terminal of the counter IC 981 via the inverting circuit (NOT circuit) 984. When the input to the clear terminal goes low, the counter IC 981 counts the clock signal from the oscillator 983.
The Q5 output of the counter IC 981 is output to the NOT circuit 9
85, 986 and input to the NAND circuit 987. The Q6 output of the counter IC 981 is input to a clock terminal of a flip-flop (FF) 982.
The D input of the flip-flop 982 is fixed to a high level, and the Q output is input to an OR circuit (OR circuit) 989. The other input of the OR circuit 989 is connected to the NAND circuit 9
The output of 87 is introduced via NOT circuit 988. The output of the OR circuit 989 is output to the CPU 371 for controlling the prize ball.
Connected to the reset terminal.

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

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

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

【0189】賞球制御用CPU371等の駆動電源であ
る+5V電源から電力が供給されていない間、RAMの
少なくとも一部は、電源基板から供給されるバックアッ
プ電源によってバックアップされ、遊技機に対する電源
が断しても内容は保存される。そして、+5V電源が復
旧すると、システムリセット回路975からのシステム
リセット信号がハイレベルに立ち上げられてシステムリ
セットが解除されるので、賞球制御用CPU371は、
通常の動作状態に復帰する。そのとき、必要なデータが
バックアップされているので、停電等からの復旧時には
停電発生時の遊技状態に復帰することができる。
While power is not being supplied from the + 5V power supply, which is the drive power supply for the prize ball control CPU 371 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 power supply to the gaming machine is cut off. Even if the contents are preserved. Then, when the + 5V power supply is restored, the system reset signal from the system reset circuit 975 is raised to a high level to release the system reset.
Return to normal operating state. At that time, since the necessary data is backed up, 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.

【0190】このように、本実施の形態では、電気部品
制御手段のシステムリセット回路に遅延手段を備えるよ
うにしたため、OR回路出力の1回目のハイレベル期間
を調整することにより2回目の立ち上がり時を遅延させ
ることができ、システムリセット信号の立ち上がりを所
定時間遅らせて、NMI割込信号がハイレベルに立ち上
がった後にシステムリセット信号がハイレベルに立ち上
がるようにすることができ、電源投入時に電源断処理が
実行されてしまうことを確実に防止することができる。
As described above, in the present embodiment, since the delay means is provided in the system reset circuit of the electric component control means, the first high-level period of the output of the OR circuit is adjusted so that the second rise time can be adjusted. Can be delayed by delaying the rise of the system reset signal by a predetermined time, so that the system reset signal rises to a high level after the NMI interrupt signal rises to a high level. Is reliably prevented from being executed.

【0191】また、本実施の形態においても、起動時処
理実行中の割込禁止期間を利用して、図9や図10に示
したような処理を行うようにすることができる。
Also in the present embodiment, the processing as shown in FIGS. 9 and 10 can be performed by using the interrupt prohibition period during execution of the startup processing.

【0192】また、この実施の形態では、電源基板91
0に搭載されている電源監視回路が、遊技機で使用され
る直流電圧のうちで最も高い電源VSLの電圧を監視し
て、その電源の電圧が所定値を下回ったら電圧変化信号
(電源断検出信号)を発生する。図34に示すように、
電源断検出信号が出力されるタイミングでは、IC駆動
電圧は、まだ各種回路素子を十分駆動できる電圧値にな
っている。従って、IC駆動電圧で動作する賞球制御基
板37の賞球制御用CPU371が所定の電力供給停止
時処理を行うための動作時間が確保されている。
Also, in this embodiment, the power supply board 91
The power supply monitoring circuit mounted on the power supply 0 monitors the voltage of the highest power supply VSL among the DC voltages used in the game machine, and when the voltage of the power supply falls below a predetermined value, a voltage change signal (power cutoff detection) Signal). As shown in FIG.
At the timing when the power-off detection signal is output, the IC drive voltage is still at a voltage value that can sufficiently drive various circuit elements. Therefore, the operation time for the award ball control CPU 371 of the award ball control board 37 operating at the IC drive voltage to perform the predetermined power supply stop processing is secured.

【0193】なお、ここでも、電源監視回路は、遊技機
で使用される直流電圧のうちで最も高い電源VSLの電圧
を監視することになるが、電源断検出信号を発生するタ
イミングが、IC駆動電圧で動作する電気部品制御手段
が所定の電力供給停止時処理を行うための動作時間が確
保されるようなタイミングであれば、監視対象電圧は、
最も高い電源VSLの電圧でなくてもよい。すなわち、少
なくともIC駆動電圧よりも高い電圧を監視すれば、電
気部品制御手段が所定の電力供給停止時処理を行うため
の動作時間が確保されるようなタイミングで電源断検出
信号を発生することができる。
In this case, the power supply monitoring circuit also monitors the highest voltage of the power supply VSL among the DC voltages used in the gaming machine. If the timing is such that the operation time for the electric component control means operating at the voltage to perform the predetermined power supply stop processing is secured, the monitored voltage is
It does not have to 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.

【0194】この場合、上述したように、監視対象電圧
は、賞球カウントスイッチ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.

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

【0196】以上説明したように、本発明では、電気部
品制御手段が通常の動作状態となる前にMNI割込信号
をハイレベルに立ち上げる構成としたため、電源投入時
に誤って電源断処理が実行されてしまうことを防止する
ことができる。
As described above, according to the present invention, the MNI interrupt signal is raised to the high level before the electric component control means enters the normal operation state. It can be prevented from being done.

【0197】また、上述したように、本発明では、遅延
手段を設けてシステムリセット回路から出力されるシス
テムリセット信号の立ち上がりタイミングを所定時間遅
らせる構成としたため、NMI割込信号がハイレベルに
立ち上がった後にシステムリセットが解除されるように
することができ、電源投入時に電源断処理が実行されて
しまうことを確実に防止することができる。
As described above, in the present invention, the delay means is provided to delay the rising timing of the system reset signal output from the system reset circuit by a predetermined time, so that the NMI interrupt signal rises to a high level. It is possible to release the system reset later, and it is possible to reliably prevent the power-off process from being executed when the power is turned on.

【0198】また、上述したように、本発明では、遅延
手段を設けてシステムリセット回路より出力されるシス
テムリセット信号の立ち上がりタイミングを所定時間遅
らせる構成としたため、遅延手段により遅延される所定
の時間をNMI割込信号がハイレベルに立ち上がる前に
システムリセット信号がハイレベルに立ち上がるような
時間とした場合であっても、システムリセット信号がハ
イレベルとされてからMNI割込信号がハイレベルに立
ち上げられるまでの間を短くすることができるため、電
源投入時に電源断処理が実行されてしまうことを抑制す
ることができる。
Further, as described above, in the present invention, the delay means is provided to delay the rising timing of the system reset signal output from the system reset circuit by a predetermined time, so that the predetermined time delayed by the delay means is reduced. Even when the system reset signal rises to a high level before the NMI interrupt signal rises to a high level, the MNI interrupt signal rises to a high level after the system reset signal is raised to a high level. Since the time until the power is turned on can be shortened, it is possible to prevent the power-off process from being executed when the power is turned on.

【0199】また、上述したように、本発明では、シス
テムリセットが解除されたあとセキュリティチェックな
どの起動時処理が終了する前にNMI割込信号がハイレ
ベルに立ち上がる構成としたことで、割込有効状態とな
る前にはNMI割込信号をNMIを発生させないレベル
にすることができる。その結果、電源投入時に電源断処
理が実行されてしまうことを確実に防止することができ
る。
Further, as described above, the present invention employs a configuration in which the NMI interrupt signal rises to a high level after the system reset is released and before the start-up processing such as the security check is completed. Before entering the valid state, the NMI interrupt signal can be set to a level at which no NMI is generated. As a result, it is possible to reliably prevent the power-off process from being performed when the power is turned on.

【0200】さらに、上述したように、本発明では、遅
延手段によりシステムリセット信号の立ち上がりタイミ
ングを所定時間遅らせると共に、システムリセットが解
除されたあとセキュリティチェックなどの起動時処理が
終了する前にNMI割込信号がハイレベルに立ち上がる
構成としたことで、割込有効状態となる前にはNMI割
込信号をNMIを発生させないレベルにすることができ
る。その結果、電源投入時に電源断処理が実行されてし
まうことを確実に防止することができる。
Furthermore, as described above, according to the present invention, the rising timing of the system reset signal is delayed by a predetermined time by the delay means, and the NMI interrupt is performed before the start-up processing such as a security check is completed after the system reset is released. With the configuration in which the interrupt signal rises to a high level, the NMI interrupt signal can be set to a level that does not generate an NMI before the interrupt is enabled. As a result, it is possible to reliably prevent the power-off process from being performed when the power is turned on.

【0201】なお、上記の各実施の形態では、電源監視
手段は、電源基板および電気部品制御基板のいずれかに
設置されたが、どこに設置されていてもよく、遊技機の
構造上の都合等に応じて任意の位置に設置することがで
きる。
In each of the above embodiments, the power supply monitoring means is provided on either the power supply board or the electric component control board. However, the power supply monitoring means may be provided anywhere, for example, in view of the structure of the gaming machine. Can be installed at any position according to the conditions.

【0202】なお、上述した各実施の形態では、システ
ムリセット回路に遅延手段を設ける構成などとしていた
が、電源監視回路からの電圧変化信号とは別の信号を利
用してシステムリセット信号がハイレベルに立ち上げら
れる前にNMI割込信号をハイレベルに立ち上がらせる
ようにしてもよい。
In each of the above embodiments, the delay means is provided in the system reset circuit. However, the system reset signal is changed to the high level by using a signal different from the voltage change signal from the power supply monitoring circuit. The NMI interrupt signal may be caused to rise to a high level before the NMI is raised.

【0203】図36は、別信号を用いるこの実施の形態
における、電源監視および電源バックアップのためのC
PU56周りの一構成例を示すブロック図である。図3
6に示すように、電源基板に搭載されている電源監視回
路(電源監視手段)からの電圧変化信号と、電源基板に
搭載されているタイマ920からのNMI割込強制信号
とが、AND回路950を介してCPU56のマスク不
能割込端子(NMI端子)に接続されている。電源監視
回路は、遊技機1が使用する各種直流電源のうちのいず
れかの電源の電圧を監視して電源電圧の変化(低下や上
昇)を検出する回路である。また、タイマ920は、遊
技機1の電源投入後の所定時間信号出力をするものであ
る。従って、CPU56は、割込処理によって電源断や
電源復旧の発生を確認することができる。
FIG. 36 shows a C for power supply monitoring and power supply backup in this embodiment using another signal.
It is a block diagram which shows the example of 1 structure around PU56. FIG.
As shown in FIG. 6, a voltage change signal from a power supply monitoring circuit (power supply monitoring means) mounted on the power supply board and an NMI interrupt forcing signal from a timer 920 mounted on the power supply board are connected to an AND circuit 950. Is connected to the non-maskable interrupt terminal (NMI terminal) of the CPU 56 via the. The power supply monitoring circuit is a circuit that monitors a voltage of any one of various DC power supplies used by the gaming machine 1 and detects a change (drop or rise) in the power supply voltage. The timer 920 outputs a signal for a predetermined time after the power of the gaming machine 1 is turned on. Therefore, the CPU 56 can confirm the occurrence of power interruption or power restoration by the interrupt processing.

【0204】主基板31において、電源監視回路からの
電圧変化信号は、入力バッファ回路900を介してAN
D回路950の一方の入力端子に入力されている。ま
た、タイマ920からのNMI割込強制信号は、AND
回路の他方の入力端子に入力されている。ここでは、入
力バッファ回路900として74HC244を例示する
が、入力バッファ機能を有する回路であるならばどのよ
うな回路を用いてもよい。また、入力バッファ回路90
0は、電源基板側から主基板31の内部側への方向にの
み信号を通過させる不可逆性素子である。
In the main board 31, a voltage change signal from the power supply monitoring circuit is sent to the
The signal is input to one input terminal of the D circuit 950. Also, the NMI interrupt compulsory signal from the timer 920 is AND
It is input to the other input terminal of the circuit. Here, 74HC244 is exemplified as the input buffer circuit 900, but any circuit having an input buffer function may be used. Also, the input buffer circuit 90
Reference numeral 0 denotes an irreversible element that allows a signal to pass only in the direction from the power supply board side to the inside of the main board 31.

【0205】この例では、電源監視回路は、+30V電
源電圧(VSL)を監視して例えば停電などにより電圧値
が所定値以下になるとローレベルの電圧変化信号を発生
する。電源監視回路によりローレベルの電圧変化信号が
発せられると、タイマ920からの信号は電源投入後所
定時間経過後(電圧変化信号が発せられたあと)に立ち
下げられているので、AND回路950よりローレベル
のNMI割込信号が発せられ、電源断時処理が実行され
る。また、タイマ920は、+5V電源電圧を監視し
て、電源が投入されるとNMI割込強制信号を所定時間
ハイレベルに立ち上げる。タイマ920によりNMI割
込強制信号がハイレベルに立ち上げられると、AND回
路950より出力されるNMI割込信号がハイレベルに
立ち上げられる。なお、電源監視回路は、VSL電源電圧
を監視して例えば停電後電源が復旧して電圧値が所定値
以上になると電圧変化信号をハイレベルに立ち上げる。
なお、電源監視回路の検出電圧(NMI割込信号を出力
することになる電圧)を、この実施の形態では+22V
とする。ただし、ここで用いられている電圧値は一例で
あって、他の値を用いてもよい。
In this example, the power supply monitoring circuit monitors the +30 V power supply voltage (VSL) and generates a low-level voltage change signal when the voltage value falls below a predetermined value due to, for example, a power failure. When a low-level voltage change signal is issued by the power supply monitoring circuit, the signal from the timer 920 falls after a lapse of a predetermined time after power-on (after the voltage change signal is issued). A low-level NMI interrupt signal is issued, and power-off processing is executed. Further, the timer 920 monitors the + 5V power supply voltage, and raises the NMI interrupt compulsory signal to a high level for a predetermined time when the power is turned on. When the timer 920 causes the NMI interrupt compulsory signal to rise to a high level, the NMI interrupt signal output from the AND circuit 950 rises to a high level. The power supply monitoring circuit monitors the VSL power supply voltage and raises the voltage change signal to a high level when, for example, the power supply is restored after a power failure and the voltage value exceeds a predetermined value.
Note that the detection voltage of the power supply monitoring circuit (the voltage at which an NMI interrupt signal is output) is set to +22 V in this embodiment.
And However, the voltage value used here is an example, and another value may be used.

【0206】また、主基板31には、システムリセット
回路65が設けられている。この例では、システムリセ
ット回路65は、電源監視回路と同じVSL電源電圧を監
視して電圧値が所定値以下になるとローレベルのシステ
ムリセット信号を発生する。また、システムリセット回
路65は、VSL電源電圧が所定値以上になるとシステム
リセット信号をハイレベルに立ち上げる。なお、システ
ムリセット回路65の検出電圧を例えば+9Vとする。
従って、システムリセット回路65がローレベルのシス
テムリセット信号を出力することになる検出条件は、V
SL電源電圧が+9Vにまで低下したことになる。また、
システムリセット回路65がシステムリセット信号をハ
イレベルに立ち上げてシステムリセットを解除すること
になる検出条件は、VSL電源電圧が+9Vにまで上昇し
たことになる。ただし、ここで用いられている電圧値は
一例であって、他の値を用いてもよい。
The main board 31 is provided with a system reset circuit 65. In this example, the system reset circuit 65 monitors the same VSL power supply voltage as the power supply monitoring circuit, and generates a low-level system reset signal when the voltage value falls below a predetermined value. Further, the system reset circuit 65 raises the system reset signal to a high level when the VSL power supply voltage exceeds a predetermined value. Note that the detection voltage of the system reset circuit 65 is, for example, + 9V.
Therefore, the detection condition under which the system reset circuit 65 outputs the low-level system reset signal is V
This means that the SL power supply voltage has dropped to + 9V. Also,
A detection condition for the system reset circuit 65 to raise the system reset signal to the high level and release the system reset is that the VSL power supply voltage has risen to + 9V. However, the voltage value used here is an example, and another value may be used.

【0207】なお、CPU56等の駆動電源である+5
V電源から電力が供給されていない間、RAMの少なく
とも一部は、電源基板から供給されるバックアップ電源
によってバックアップされ、遊技機に対する電源が断し
ても内容は保存される。そして、+5V電源が復旧し
て、VSL電源電圧が所定値(本例では+9V)以上にな
ると、システムリセット回路65によりシステムリセッ
ト信号がハイレベルに立ち上げられるので、CPU56
はセキュリティチェックなどの所定の起動時処理を行っ
たあと通常の動作状態に復帰する。
It is to be noted that +5 which is the driving power source of the CPU 56 and the like is used.
While power is not being supplied from the V power supply, at least a portion of the RAM is backed up by a backup power supply supplied from a power supply board, and its contents are preserved even when the power to the gaming machine is cut off. Then, when the + 5V power supply is restored and the VSL power supply voltage becomes equal to or higher than a predetermined value (+ 9V in this example), the system reset signal is raised to a high level by the system reset circuit 65.
Returns to a normal operation state after performing a predetermined startup process such as a security check.

【0208】図37は、別信号を用いるこの実施の形態
における遊技機の電源基板910の一構成例を示すブロ
ック図である。電源基板910は、主基板31、表示制
御基板80、音制御基板70、ランプ制御基板35およ
び賞球制御基板37等の電気部品制御基板と独立して設
置され、遊技機内の各電気部品制御基板および機構部品
が使用する電圧を生成する。この例では、AC24V、
DC+30V、DC+21V、DC+12VおよびDC
+5Vを生成する。また、バックアップ電源となるコン
デンサ916は、DC+5Vすなわち各基板上のIC等
を駆動する電源のラインから充電される。
FIG. 37 is a block diagram showing an example of a configuration of a power supply board 910 of a gaming machine in this embodiment using another signal. 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 sound control board 70, the lamp control board 35, and the prize ball control board 37, and controls each electric component control board in the gaming machine. And the voltages used by the mechanical components. In this example, AC24V,
DC + 30V, DC + 21V, DC + 12V and DC
+ 5V is generated. Further, the capacitor 916 serving as a backup power supply is charged from DC + 5V, that is, a power supply line for driving an IC or the like on each substrate.

【0209】また、電源基板910には、上述したタイ
マ920が搭載されている。タイマ920には、DC−
DCコンバータ913からの+5Vラインが分岐されて
入力される。このタイマ920は、電源が投入され+5
V電源電圧が入力されると、所定時間(本例では、少な
くとも電源監視回路からの電圧変化信号が出力されるま
での時間)+5V電圧を通過させる。タイマ920から
の+5V電圧の信号は、主基板31や賞球制御基板37
等に供給される。この図37に示される他の構成は、上
述した図7に示す構成と同様である。なお、タイマ92
0には、他の電源電圧などが入力されるようにしてもよ
いが、電気部品制御手段の検出条件とされている電圧値
よりも低くするのが好ましい。
[0209] The timer 920 described above is mounted on the power supply board 910. The timer 920 has a DC-
The +5 V line from DC converter 913 is branched and input. This timer 920 is turned on when power is turned on.
When the V power supply voltage is input, a voltage of +5 V is passed for a predetermined time (in this example, at least a time until a voltage change signal is output from the power supply monitoring circuit). The signal of the + 5V voltage from the timer 920 is transmitted to the main board 31 or the prize ball control board 37.
And so on. The other configuration shown in FIG. 37 is the same as the configuration shown in FIG. 7 described above. Note that the timer 92
To 0, other power supply voltage or the like may be input, but it is preferable to set the voltage to be lower than the voltage value set as the detection condition of the electric component control means.

【0210】図38は、別信号を用いるこの実施の形態
における電源監視および電源バックアップのための賞球
制御用CPU371周りの一構成例を示すブロック図で
ある。図38に示すように、電源基板に搭載されている
電源監視回路(電源監視手段)からの電圧変化信号と、
電源基板に搭載されているタイマ920からのNMI割
込強制信号とが、AND回路965を介して賞球制御用
CPU371のマスク不能割込端子(NMI端子)に入
力されている。従って、賞球制御用CPU371は、N
MI処理によって電源断の発生や電源投入を確認するこ
とができる。
FIG. 38 is a block diagram showing an example of a configuration around the CPU 371 for controlling the prize ball for power supply monitoring and power supply backup in this embodiment using another signal. As shown in FIG. 38, a voltage change signal from a power supply monitoring circuit (power supply monitoring means) mounted on a power supply board,
The NMI interrupt compulsory signal from the timer 920 mounted on the power supply board is input to the non-maskable interrupt terminal (NMI terminal) of the award ball control CPU 371 via the AND circuit 965. Accordingly, the CPU 371 for controlling the award ball controls N
The occurrence of power interruption and power on can be confirmed by the MI processing.

【0211】賞球制御基板37において、電源監視回路
からの電圧変化信号は、入力バッファ回路930を介し
てAND回路965の一方の入力端子に入力されてい
る。ここでは、入力バッファ回路930として74HC
244を例示するが、入力バッファ機能を有する回路で
あればどのような回路を用いてもよい。また、入力バッ
ファ回路930は、電源基板側から賞球制御基板37の
内部側への方向にのみ信号を通過させる不可逆性素子で
ある。
In the award ball control board 37, the voltage change signal from the power supply monitoring circuit is input to one input terminal of the AND circuit 965 via the input buffer circuit 930. Here, 74HC is used as the input buffer circuit 930.
Although H.244 is exemplified, any circuit may be used as long as it has an input buffer function. The input buffer circuit 930 is an irreversible element that allows a signal to pass only in the direction from the power supply board to the inside of the prize ball control board 37.

【0212】図38に示す構成では、賞球制御基板37
にはシステムリセット回路933が搭載されている。シ
ステムリセット回路933は、電源基板910の電源監
視回路が監視する電源電圧と等しい電圧であるVSL電源
電圧を監視して電圧値が所定値以下になるとローレベル
のシステムリセット信号を発生する。また、システムリ
セット回路933は、VSL電源電圧を監視して電源投入
時に電圧値が所定値以上になるとシステムリセット信号
をハイレベルに立ち上げる。システムリセット回路93
3の検出電圧は、電源基板910に搭載されている電源
監視回路の検出電圧よりも低くする。
In the configuration shown in FIG. 38, the prize ball control board 37
Is equipped with a system reset circuit 933. The system reset circuit 933 monitors the VSL power supply voltage, which is the same as the power supply voltage monitored by the power supply monitoring circuit of the power supply board 910, and generates a low-level system reset signal when the voltage value falls below a predetermined value. Further, the system reset circuit 933 monitors the VSL power supply voltage, and raises the system reset signal to a high level when the voltage value becomes equal to or higher than a predetermined value when the power is turned on. System reset circuit 93
The detection voltage of No. 3 is lower than the detection voltage of the power supply monitoring circuit mounted on the power supply board 910.

【0213】この実施の形態では、システムリセット回
路933の出力が賞球制御用CPU371のリセット端
子に入力される。従って、賞球制御用CPU371は、
システムリセット回路935からのシステムリセット信
号を受けるとリセット状態(非動作状態)となり、シス
テムリセット信号がハイレベルに立ち上げられるとリセ
ット解除状態(セット状態:動作状態)になる。
In this embodiment, the output of the system reset circuit 933 is input to the reset terminal of the CPU 371 for controlling a prize ball. Therefore, the CPU 371 for controlling the prize ball,
When a system reset signal is received from the system reset circuit 935, the system enters a reset state (non-operating state), and when the system reset signal rises to a high level, a reset releasing state (set state: operating state).

【0214】図39は、この実施の形態における電源投
入時および停電時のシステムリセット信号とNMI割込
信号の様子を示すタイミング図である。遊技機に電源が
投入されると、タイマ920に+5V電源電圧が入力さ
れ、タイマ920からのNMI割込強制信号が所定時間
立ち上げられ、NMI割込信号がハイレベルに立ち上げ
られる。そして、VSL電源電圧が上昇し、所定値(本例
では+9V)に到達したときにシステムリセット回路6
5よりシステムリセット信号がハイレベルに立ち上げら
れる。VSL電源電圧がさらに上昇し、所定値(本例では
+22V)に到達すると、電源監視回路からハイレベル
の電圧変化信号が出力される。
FIG. 39 is a timing chart showing states of a system reset signal and an NMI interrupt signal at the time of power-on and at the time of power failure in this embodiment. When power is applied to the gaming machine, a +5 V power supply voltage is input to the timer 920, the NMI interrupt compulsory signal from the timer 920 rises for a predetermined time, and the NMI interrupt signal rises to a high level. When the VSL power supply voltage rises and reaches a predetermined value (+9 V in this example), the system reset circuit 6
5, the system reset signal is raised to a high level. When the VSL power supply voltage further increases and reaches a predetermined value (+22 V in this example), a high-level voltage change signal is output from the power supply monitoring circuit.

【0215】また、停電発生時には、図39に示すよう
に、電圧監視回路が所定の値(本例では+22V)まで
VSL電源電圧の電圧値低下を検出し、ローレベルの電圧
変化信号が発せられると、NMI割込強制信号がローレ
ベルを呈しているためローレベルのNMI割込信号が発
せられる。そして、電力供給停止時処理(電源断処理)
が行われる。
When a power failure occurs, as shown in FIG. 39, the voltage monitoring circuit detects a decrease in the voltage value of the VSL power supply voltage to a predetermined value (+22 V in this example), and issues a low-level voltage change signal. Since the NMI interrupt compulsory signal has a low level, a low-level NMI interrupt signal is issued. And processing at the time of power supply stop (power cut-off processing)
Is performed.

【0216】このように、この実施の形態では、電源監
視回路からの電圧変化信号とは別の信号を用いてNMI
割込信号がシステムリセット信号よりも前のタイミング
で立ち上げられるようにしたことにより、NMI割込信
号の立ち上げ後にシステムリセット信号を立ち上げるこ
とができ、電源投入時に電源断処理が実行されてしまう
ことを確実に防止することができる。
As described above, in the present embodiment, the NMI is generated by using a signal different from the voltage change signal from the power supply monitoring circuit.
Since the interrupt signal is activated at a timing before the system reset signal, the system reset signal can be activated after the NMI interrupt signal is activated, and the power-off process is executed when the power is turned on. This can be reliably prevented.

【0217】なお、この実施の形態では、タイマ920
を電源基板に設けるようにしていたが、主基板31など
の電気部品制御手段に設けるようにしてもよい。
Note that, in this embodiment, the timer 920
Is provided on the power supply board, but may be provided on the electric component control means such as the main board 31.

【0218】そして、上記の各実施の形態では、記憶手
段としてRAMを用いた場合を示したが、記憶手段とし
て、電気的に書き換えが可能な記憶手段であればRAM
以外のものを用いてもよい。
In each of the above embodiments, the case where the RAM is used as the storage means has been described. However, if the storage means is an electrically rewritable storage means, the RAM may be used.
Other than these may be used.

【0219】さらに、ここでは、遊技制御手段以外の他
の電気部品制御手段として賞球制御手段を例示したが、
表示制御手段、音制御手段およびランプ制御手段につい
ても、上述した制御を行うように構成してもよい。
[0219] Here, the prize ball control means has been illustrated as an electric part control means other than the game control means.
The display control unit, the sound control unit, and the lamp control unit may be configured to perform the above-described control.

【0220】上記の各実施の形態のパチンコ遊技機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.

【0221】さらに、パチンコ遊技機に限られず、スロ
ット機等においても、停電等による電源断時に、電源断
直前のデータをバックアップRAM等に保存し、電源復
旧時に保存データにもとづく制御再開処理を行うように
構成されている場合などには本発明を適用することがで
きる。
Further, not only in pachinko gaming machines, but also in slot machines and the like, when power is cut off due to a power failure or the like, data immediately before the power is cut off is stored in a backup RAM or the like, and control restoration processing based on the stored data is performed when power is restored. The present invention can be applied to such a case.

【0222】[0222]

【発明の効果】以上のように、本発明によれば、遊技機
を、遊技機に設けられる電気部品を制御するための処理
を行う電気部品制御手段と、遊技機で使用される所定電
位電源の電圧を監視し、所定条件が成立したときに検出
信号を出力する電源監視手段とを備え、電気部品制御手
段は、電源監視手段からの検出信号により所定の電力供
給停止時処理を実行し、電気部品制御手段の電力供給開
始時では、電力供給停止時処理を実行しない様にするた
めの電力供給停止時処理制限手段を備えたので、電源の
立ち上がり時に電力供給停止時処理(電源断処理)が誤
って実行されてしまうことを防止できるという効果があ
る。
As described above, according to the present invention, a game machine is controlled by an electric component control means for performing processing for controlling electric components provided in the game machine, and a predetermined potential power supply used in the game machine. Power supply monitoring means for monitoring the voltage of the power supply and outputting a detection signal when a predetermined condition is satisfied.The electric component control means executes a predetermined power supply stop processing based on the detection signal from the power supply monitoring means, When the power supply of the electric component control means is started, the power supply stop processing restriction means for preventing the power supply stop processing from being executed is provided. Therefore, the power supply stop processing (power cutoff processing) when the power is turned on. Is prevented from being executed by mistake.

【0223】電力供給停止時処理制限手段は、電気部品
制御手段のシステムリセットを解除するタイミングを遅
延させる遅延手段を含み、遅延手段により電源監視手段
の検出信号の入力に応じた電力供給停止時処理の実行が
可能な状態となるタイミングを遅延させるように構成さ
れている場合には、電源投入後の電源監視手段の検出信
号に対応した処理がされない期間を、電源監視手段の検
出信号が有効とされる前の所定の期間に入るまで延長す
ることができるので、電源の立ち上がり時に電力供給停
止時処理が誤って実行されてしまうことを防止できる。
特に、電源監視手段の検出信号のレベルに応じて電気部
品制御手段が電力供給停止時処理を実行するように構成
されている場合に、システムリセット解除のタイミング
を電源監視手段からの検出信号が電力供給停止時処理の
非実行を示すレベルとなった後まで遅延することによっ
て、電力供給停止時処理の誤実行が確実に防止される。
The power supply interruption processing restriction means includes delay means for delaying the timing of releasing the system reset of the electric component control means, and the power supply interruption processing in response to the detection signal input of the power supply monitoring means by the delay means. Is configured to delay the timing at which execution of the power supply monitoring unit is enabled, the detection signal of the power supply monitoring unit is valid during a period in which the processing corresponding to the detection signal of the power supply monitoring unit is not performed after the power is turned on. Since it can be extended until a predetermined period before the power supply is started, it is possible to prevent the power supply stop process from being erroneously executed when the power supply is turned on.
In particular, when the electric component control means is configured to execute the process at the time of power supply stop according to the level of the detection signal of the power supply monitoring means, the detection signal from the power supply monitoring means determines the timing of the system reset release. By delaying until after the level indicating the non-execution of the process at the time of the supply stop is performed, the erroneous execution of the process at the time of the power supply stop is reliably prevented.

【0224】電力供給停止時処理制限手段は、電力の供
給が開始されてから、電源監視手段からの検出信号が電
力供給停止時処理の実行を示す状態となっている期間よ
りも長く、電気部品制御手段のシステムリセット状態を
保持させるように構成されている場合には、電源投入後
の電源監視手段の検出信号に対応した処理ができない期
間を、電源監視手段の検出信号が電力供給停止時処理の
実行を示さなくなるまで延長することができるので、電
源の立ち上がり時に電力供給停止時処理が誤って実行さ
れてしまうことを防止できる。
The power-supply-stop-time processing restricting means is longer than the period during which the detection signal from the power supply monitoring means indicates the execution of the power-supply-stop processing since the start of power supply. When the control means is configured to hold the system reset state, a period during which processing corresponding to the detection signal of the power monitoring means cannot be performed after the power is turned on, the detection signal of the power monitoring means is used as a power supply stop processing. Can be extended until the execution of the power supply is not indicated any more, so that it is possible to prevent the power supply stop processing from being erroneously executed when the power is turned on.

【0225】電気部品制御手段は、システムリセットの
解除に応じて所定の起動時処理を行い、所定条件は、所
定電位電源の電圧が所定の値に満たない場合に成立し、
所定の値は、起動時処理終了時の所定電位電源の電圧の
値よりも小さい値に設定される構成とした場合には、割
込が有効とされる前の期間中である起動時処理実行中に
電源監視手段の検出信号が出力されるようになるため、
電源の立ち上がり時に電力供給停止時処理が誤って実行
されてしまうことを防止できる。
The electric component control means performs a predetermined startup process in response to the release of the system reset, and the predetermined condition is satisfied when the voltage of the predetermined potential power supply is less than a predetermined value.
If the predetermined value is set to a value smaller than the value of the voltage of the predetermined potential power supply at the end of the startup processing, the startup processing during the period before the interrupt is enabled is performed. Since the detection signal of the power supply monitoring means will be output during
It is possible to prevent the power supply stop processing from being erroneously executed when the power supply rises.

【0226】電源監視手段は、電力供給停止時に、電気
部品制御手段が動作不能となる前の段階で、電気部品制
御手段に検出信号を出力するように構成した場合には、
入力した検出信号にもとづいて、電気部品制御手段が電
力供給停止前に種々の処理を行うことができるため、適
切な電力供給停止処理を実行することができる。
When the power supply monitoring means is configured to output a detection signal to the electric component control means at the stage before the electric component control means becomes inoperable when the power supply is stopped,
Based on the input detection signal, the electric component control unit can perform various processes before the power supply is stopped, so that an appropriate power supply stop process can be executed.

【0227】検出信号は、NMI割込信号として電気部
品制御手段に入力されるように構成した場合には、NM
I割込処理により電力供給停止処理を優先的に行うこと
ができる。
When the detection signal is configured to be input to the electric component control means as an NMI interrupt signal, NM
The power supply stop process can be preferentially performed by the I interrupt process.

【0228】電気部品制御手段は、電力供給開始時に、
電力供給停止直前の内容を保持することが可能な記憶手
段に保持されている保持データにもとづいて制御を再開
させることが可能であるとした場合には、停電などによ
り電力供給が停止されたときであっても、電源復旧後に
電力供給停止前の状態に戻すことができるため、遊技者
の不利益を解消することができる。
At the start of power supply, the electric component control means
If it is possible to restart the control based on the held data held in the storage means capable of holding the contents immediately before the stop of the power supply, if the power supply is stopped due to a power failure or the like, Even in such a case, since the state before the power supply is stopped can be returned after the power is restored, the disadvantage of the player can be eliminated.

【0229】電気部品制御手段は、電力供給停止時処理
においてRAMアクセス禁止処理を実行するように構成
した場合には、RAMに記憶された情報の保護を行うこ
とができる。
When the electric component control means is configured to execute the RAM access prohibition processing in the power supply stop processing, it is possible to protect the information stored in the RAM.

【図面の簡単な説明】[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 a front view of the gaming board of the pachinko gaming machine as viewed from the front.

【図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 block diagram showing a circuit configuration example of a game control board (main board).

【図5】 賞球制御基板の回路構成例を示すブロック図
である。
FIG. 5 is a block diagram illustrating a circuit configuration example of a winning ball control board.

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

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

【図8】 システムリセット信号とNMI割込信号の出
力の様子の例を示すタイミング図である。
FIG. 8 is a timing chart showing an example of an output state of a system reset signal and an NMI interrupt signal.

【図9】 システムリセット信号とNMI割込信号の出
力の様子の例を示すタイミング図である。
FIG. 9 is a timing chart showing an example of how a system reset signal and an NMI interrupt signal are output.

【図10】 システムリセット信号とNMI割込信号の
出力の様子の例を示すタイミング図である。
FIG. 10 is a timing chart showing an example of how a system reset signal and an NMI interrupt signal are output.

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

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

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

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

【図15】 停電発生NMI処理の例を示すフローチャ
ートである。
FIG. 15 is a flowchart illustrating an example of a power failure occurrence NMI process.

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

【図17】 主基板からの各制御コマンドの送出タイミ
ング例を示す説明図である。
FIG. 17 is an explanatory diagram showing an example of transmission timing of each control command from the main board.

【図18】 遊技状態復旧処理の一例を示すフローチャ
ートである。
FIG. 18 is a flowchart illustrating an example of a game state restoration process.

【図19】 停電が発生した後に復旧した場合の制御状
態の一例を示す説明図である。
FIG. 19 is an explanatory diagram illustrating an example of a control state when the power is restored after a power failure occurs.

【図20】 電源監視および電源バックアップのための
賞球制御用CPU周りの一構成例を示すブロック図であ
る。
FIG. 20 is a block diagram illustrating an example of a configuration around a CPU for controlling a prize ball for monitoring and backing up a power supply.

【図21】 賞球制御コマンドの構成例を示す説明図で
ある。
FIG. 21 is an explanatory diagram showing a configuration example of a winning ball control command.

【図22】 賞球制御コマンドのビット構成の例を示す
説明図である。
FIG. 22 is an explanatory diagram showing an example of a bit configuration of a winning ball control command.

【図23】 賞球制御コマンドデータの出力の様子の例
を示すタイミング図である。
FIG. 23 is a timing chart showing an example of how the award ball control command data is output.

【図24】 賞球制御用CPUが実行するメイン処理の
例を示すフローチャートである。
FIG. 24 is a flowchart illustrating an example of a main process executed by a winning ball control CPU.

【図25】 賞球制御用CPUのタイマ割込処理の例を
示すフローチャートである。
FIG. 25 is a flowchart showing an example of a timer interrupt process of the winning ball control CPU.

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

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

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

【図29】 玉貸し制御処理を示すフローチャートであ
る。
FIG. 29 is a flowchart showing a ball lending control process.

【図30】 賞球制御用CPUが実行する停電発生処理
の例を示すフローチャートである。
FIG. 30 is a flowchart showing an example of a power failure generation process executed by the winning ball control CPU.

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

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

【図33】 電源投入時のリセット信号の様子の例を示
すタイミング図である。
FIG. 33 is a timing chart showing an example of a state of a reset signal when power is turned on.

【図34】 遊技機の電源断時の電源低下やNMI信号
の様子の例を示すタイミング図である。
FIG. 34 is a timing chart showing an example of a state of a power supply drop or an NMI signal when the power of the gaming machine is turned off.

【図35】 電源監視および電源バックアップのための
賞球制御用CPU周りの他の構成例を示すブロック図で
ある。
FIG. 35 is a block diagram showing another configuration example around a CPU for controlling a prize ball for power supply monitoring and power supply backup.

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

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

【図38】 電源監視および電源バックアップのための
賞球制御用CPU周りのさらに他の構成例を示すブロッ
ク図である。
FIG. 38 is a block diagram showing still another configuration example around a CPU for controlling a prize ball for power supply monitoring and power supply backup.

【図39】 システムリセット信号とNMI割込信号の
出力の様子の例を示すタイミング図である。
FIG. 39 is a timing chart showing an example of how the system reset signal and the NMI interrupt signal are output.

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

1 パチンコ遊技機 31 主基板 37 賞球制御基板 53 基本回路 56 CPU 371 賞球制御用CPU 651,934,976 リセットIC 902,904 電源監視用IC 910 電源基板 1 Pachinko gaming machine 31 Main board 37 Prize ball control board 53 Basic circuit 56 CPU 371 Prize ball control CPU 651, 934, 976 Reset IC 902, 904 Power supply monitoring IC 910 Power supply board

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 遊技者が所定の遊技を行うことが可能な
遊技機であって、 遊技機に設けられる電気部品を制御するための処理を行
う電気部品制御手段と、 遊技機で使用される所定電位電源の電圧を監視し、所定
条件が成立したときに検出信号を出力する電源監視手段
とを備え、 前記電気部品制御手段は、前記電源監視手段からの検出
信号により所定の電力供給停止時処理を実行し、 前記電気部品制御手段の電力供給開始時では、電力供給
停止時処理を実行しない様にするための電力供給停止時
処理制限手段を備えたことを特徴とする遊技機。
1. A gaming machine in which a player can play a predetermined game, an electric component control means for performing processing for controlling an electric component provided in the gaming machine, and used in the gaming machine. Power supply monitoring means for monitoring a voltage of a predetermined potential power supply and outputting a detection signal when a predetermined condition is satisfied, wherein the electric component control means detects a predetermined power supply stop by the detection signal from the power supply monitoring means A gaming machine, comprising: a power supply stop processing restriction unit configured to execute processing, and to prevent the power supply stop processing from being performed when the electric component control unit starts power supply.
【請求項2】 電力供給停止時処理制限手段は、電気部
品制御手段のシステムリセットを解除するタイミングを
遅延させる遅延手段を含み、 前記遅延手段により電源監視手段の検出信号の入力に応
じた電力供給停止時処理の実行が可能な状態となるタイ
ミングを遅延させることを特徴とする請求項1記載の遊
技機。
2. The power supply stop-time processing restriction means includes delay means for delaying the timing of canceling the system reset of the electric component control means, and the power supply according to the detection signal input of the power supply monitoring means by the delay means. 2. The gaming machine according to claim 1, wherein a timing at which a stop-time process can be executed is delayed.
【請求項3】 電力供給停止時処理制限手段は、電力の
供給が開始されてから、電源監視手段からの検出信号が
電力供給停止時処理の実行を示す状態となっている期間
よりも長く、電気部品制御手段のシステムリセット状態
を保持させることを特徴とする請求項1または請求項2
記載の遊技機。
3. The power supply stop-time processing restriction means is longer than a period in which a detection signal from the power supply monitoring means is in a state indicating execution of the power supply stop processing after the power supply is started, The system reset state of the electric component control means is maintained.
The gaming machine described.
【請求項4】 電気部品制御手段は、システムリセット
の解除に応じて所定の起動時処理を行い、 所定条件は、所定電位電源の電圧が所定の値に満たない
場合に成立し、前記所定の値は、前記起動時処理終了時
の所定電位電源の電圧の値よりも小さい値に設定される
請求項1記載の遊技機。
4. The electric component control means performs a predetermined start-up process in response to the release of the system reset, and the predetermined condition is satisfied when a voltage of a predetermined potential power supply is less than a predetermined value. 2. The gaming machine according to claim 1, wherein the value is set to a value smaller than the value of the voltage of the predetermined potential power supply at the time of ending the startup process.
【請求項5】 電源監視手段は、電力供給停止時に、電
気部品制御手段が動作不能となる前の段階で、前記電気
部品制御手段に検出信号を出力する請求項1ないし請求
項4記載の遊技機。
5. The game according to claim 1, wherein the power supply monitoring means outputs a detection signal to the electric component control means when the power supply is stopped, before the electric component control means becomes inoperable. Machine.
【請求項6】 検出信号は、NMI割込信号として電気
部品制御手段に入力される請求項1ないし請求項5記載
の遊技機。
6. The gaming machine according to claim 1, wherein the detection signal is input to the electric component control means as an NMI interrupt signal.
【請求項7】 電気部品制御手段は、電力供給開始時
に、電力供給停止直前の内容を保持することが可能な記
憶手段に保持されている保持データにもとづいて制御を
再開させることが可能である請求項1ないし請求項6記
載の遊技機。
7. The electric component control means can restart control at the start of power supply based on data held in a storage means capable of holding the contents immediately before the power supply is stopped. The gaming machine according to claim 1.
【請求項8】 電気部品制御手段は、電力供給停止時処
理においてRAMアクセス禁止処理を実行する請求項1
ないし請求項6記載の遊技機。
8. The electric component control means executes a RAM access prohibition process in a power supply stop process.
A gaming machine according to claim 6.
JP36578599A 1999-12-24 1999-12-24 Gaming machine Expired - Fee Related JP3583336B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36578599A JP3583336B2 (en) 1999-12-24 1999-12-24 Gaming machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36578599A JP3583336B2 (en) 1999-12-24 1999-12-24 Gaming machine

Publications (2)

Publication Number Publication Date
JP2001178890A true JP2001178890A (en) 2001-07-03
JP3583336B2 JP3583336B2 (en) 2004-11-04

Family

ID=18485113

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36578599A Expired - Fee Related JP3583336B2 (en) 1999-12-24 1999-12-24 Gaming machine

Country Status (1)

Country Link
JP (1) JP3583336B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008284399A (en) * 2008-09-02 2008-11-27 Sophia Co Ltd Game machine
JP2010227708A (en) * 2010-07-23 2010-10-14 Sophia Co Ltd Game machine
JP2010227712A (en) * 2010-07-23 2010-10-14 Sophia Co Ltd Game machine
JP2010227711A (en) * 2010-07-23 2010-10-14 Sophia Co Ltd Game machine
JP2010227713A (en) * 2010-07-23 2010-10-14 Sophia Co Ltd Game machine
JP2010227710A (en) * 2010-07-23 2010-10-14 Sophia Co Ltd Game machine
JP2010227714A (en) * 2010-07-23 2010-10-14 Sophia Co Ltd Game machine
JP2010259829A (en) * 2010-07-23 2010-11-18 Sophia Co Ltd Game machine
JP2012148004A (en) * 2011-01-20 2012-08-09 Fujishoji Co Ltd Game machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01172127U (en) * 1988-05-20 1989-12-06
JPH0876899A (en) * 1994-09-05 1996-03-22 Hitachi Ltd Controller for detecting power interruption and restoration
JPH09253312A (en) * 1996-03-22 1997-09-30 L Ii Tec:Kk Microcomputer for game machine control
JPH1085421A (en) * 1996-09-17 1998-04-07 Sankyo Kk Game machine
JPH11328045A (en) * 1998-05-20 1999-11-30 Nec Corp Initialization control system for dram device with battery backup function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01172127U (en) * 1988-05-20 1989-12-06
JPH0876899A (en) * 1994-09-05 1996-03-22 Hitachi Ltd Controller for detecting power interruption and restoration
JPH09253312A (en) * 1996-03-22 1997-09-30 L Ii Tec:Kk Microcomputer for game machine control
JPH1085421A (en) * 1996-09-17 1998-04-07 Sankyo Kk Game machine
JPH11328045A (en) * 1998-05-20 1999-11-30 Nec Corp Initialization control system for dram device with battery backup function

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008284399A (en) * 2008-09-02 2008-11-27 Sophia Co Ltd Game machine
JP2010227708A (en) * 2010-07-23 2010-10-14 Sophia Co Ltd Game machine
JP2010227712A (en) * 2010-07-23 2010-10-14 Sophia Co Ltd Game machine
JP2010227711A (en) * 2010-07-23 2010-10-14 Sophia Co Ltd Game machine
JP2010227713A (en) * 2010-07-23 2010-10-14 Sophia Co Ltd Game machine
JP2010227710A (en) * 2010-07-23 2010-10-14 Sophia Co Ltd Game machine
JP2010227714A (en) * 2010-07-23 2010-10-14 Sophia Co Ltd Game machine
JP2010259829A (en) * 2010-07-23 2010-11-18 Sophia Co Ltd Game machine
JP2012148004A (en) * 2011-01-20 2012-08-09 Fujishoji Co Ltd Game machine

Also Published As

Publication number Publication date
JP3583336B2 (en) 2004-11-04

Similar Documents

Publication Publication Date Title
JP3588016B2 (en) Gaming machine
JP4156149B2 (en) Game machine
JP3583339B2 (en) Gaming machine
JP4794779B2 (en) Game machine
JP3462820B2 (en) Game machine
JP3583336B2 (en) Gaming machine
JP4031018B2 (en) Game machine
JP2001300013A (en) Game machine
JP3583327B2 (en) Gaming machine
JP2001120814A (en) Game machine
JP3583335B2 (en) Gaming machine
JP2001087472A (en) Game machine
JP2001120736A (en) Game machine
JP3546163B2 (en) Gaming machine
JP4658177B2 (en) Game machine
JP3939479B2 (en) Game machine
JP3647697B2 (en) Game machine
JP2001087527A (en) Game machine
JP3588026B2 (en) Gaming machine
JP2001187247A (en) Game machine
JP3581057B2 (en) Gaming machine
JP4226611B2 (en) Game machine
JP2007296403A (en) Game machine
JP3756364B2 (en) Game machine
JP3588022B2 (en) Gaming machine

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040413

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040614

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040728

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3583336

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20070806

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100806

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

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

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100806

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110806

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

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120806

Year of fee payment: 8

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

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120806

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120806

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130806

Year of fee payment: 9

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