JP2003019324A - Game machine - Google Patents

Game machine

Info

Publication number
JP2003019324A
JP2003019324A JP2001208246A JP2001208246A JP2003019324A JP 2003019324 A JP2003019324 A JP 2003019324A JP 2001208246 A JP2001208246 A JP 2001208246A JP 2001208246 A JP2001208246 A JP 2001208246A JP 2003019324 A JP2003019324 A JP 2003019324A
Authority
JP
Japan
Prior art keywords
system reset
signal
power
reset signal
board
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001208246A
Other languages
Japanese (ja)
Inventor
Isao Kishi
勇夫 岸
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.)
Maruhon Industry Co Ltd
Original Assignee
Maruhon Industry 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 Maruhon Industry Co Ltd filed Critical Maruhon Industry Co Ltd
Priority to JP2001208246A priority Critical patent/JP2003019324A/en
Publication of JP2003019324A publication Critical patent/JP2003019324A/en
Pending legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize a game machine without causing any deviation between a game state for restarted based on backup data and a game state on at the time of power interruption. SOLUTION: By validating a system reset signal SR (E) within a period after performing NMI processing based on a power disconnection signal PD (1) and in which the signal PD (1) is active (a period in which the performance of NMI processing is valid), a computer program returns to a main routine after finishing the NMI processing to prevent a game from progress. Consequently, no deviation is generated between the game state on at the time of power interruption and the game state restarted when power is restored.

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 which controls a game by a computer.

【0002】[0002]

【従来の技術】従来、この種の遊技機としてパチンコ機
が知られており、そのパチンコ機では、賞球の払出を以
下に示す手順で行っている。入賞した入賞球は、入賞球
集合部に集められ、入賞球導出路を流下して入賞球排出
機構部に到達する。この入賞球排出機構部には、入賞球
検出スイッチが設けられており、この入賞球検出スイッ
チがONすると、賞球払出装置が作動し、入賞に見合っ
た賞球が払出され、入賞球排出機構部に貯留している入
賞球を1個排出する。このような構造により、入賞球は
入賞球排出機構部に貯留されるため、パチンコ機が停電
した場合でも、電源の復帰後に賞球の払出を継続するこ
とができる。
2. Description of the Related Art Conventionally, a pachinko machine has been known as a game machine of this kind, and the pachinko machine pays out prize balls in the following procedure. The prize-winning balls that have won the prize are collected in the prize-winning ball collecting unit, flow down the prize-winning ball lead-out path, and reach the prize-winning ball discharging mechanism unit. The prize-ball discharging mechanism is provided with a prize-ball detecting switch. When the prize-ball detecting switch is turned on, the prize-ball paying-out device is actuated, and the prize-ball corresponding to the prize is paid out. One winning ball stored in the section is discharged. With such a structure, the winning balls are stored in the winning ball discharging mechanism, so that even if the pachinko machine loses power, it is possible to continue paying out the winning balls after the power is restored.

【0003】[0003]

【発明が解決しようとする課題】上記従来のパチンコ機
は、入賞球集合部、入賞球導出路および入賞球排出機構
部などの構造物が必要であるため、パチンコ機の裏セッ
トの構造が複雑になるので、製造効率が悪いし、省スペ
ース化を図ることが困難であるという問題があった。ま
た、入賞球排出機構部は、入賞球を1個ずつ排出する動
作を頻繁に繰り返すため、動作部分の摩耗や破損などに
よる故障がつきまとうという問題もあった。さらに、上
記構造物の製造コストが、パチンコ機全体の製造コスト
を高くする要因になっており、そのことがパチンコ機の
製造コストを低減する妨げとなっていた。そこで、本発
明者は、賞球数ごとに入賞球の数を電気的に記憶する構
成を考えた。この構成によれば、上記構造物が不要であ
るため、上記諸問題を解決することができる。また、図
柄を変動表示する装置により表示された図柄が所定の図
柄に揃った場合に大当りが発生するパチンコ機にあって
は、図柄の変動途中や大当りの遊技途中で停電になり、
遊技が中断すると、電源が復旧した場合に、中断したと
きの遊技状態から遊技を再開できないため、遊技者の利
益が損なわれるという問題があった。そこで、本発明者
は、中断したときの遊技状態を記憶しておき、その記憶
に基いて遊技を再開する構成を考えた。さらに、記憶し
た賞球数や遊技状態に関するデータは、電圧低下によっ
て喪失するため、記憶を維持するためのバックアップ電
源を設ける構成を考えた。
The above-mentioned conventional pachinko machine requires a structure such as a winning ball collecting section, a winning ball leading path, and a winning ball discharging mechanism section, so that the structure of the back set of the pachinko machine is complicated. Therefore, there is a problem that manufacturing efficiency is poor and it is difficult to save space. In addition, since the winning ball discharging mechanism frequently repeats the operation of discharging the winning balls one by one, there is also a problem that a failure due to wear or damage of the operating part is often encountered. Further, the manufacturing cost of the above structure is a factor that increases the manufacturing cost of the entire pachinko machine, which has been an obstacle to reducing the manufacturing cost of the pachinko machine. Therefore, the present inventor considered a configuration in which the number of winning balls is electrically stored for each number of winning balls. According to this configuration, since the above structure is unnecessary, the above problems can be solved. Also, in a pachinko machine where a big hit occurs when the symbols displayed by the device for varying the display of the symbols are aligned with a predetermined symbol, a power failure occurs during the variation of the symbols or during the game of the big hit,
When the game is interrupted, when the power is restored, the game cannot be resumed from the game state at the time of the interruption, so that there is a problem that the profit of the player is lost. Therefore, the present inventor considered a configuration in which the game state at the time of interruption is stored and the game is restarted based on the memory. Furthermore, the stored data regarding the number of prize balls and the game state is lost due to the voltage drop, so a configuration is considered in which a backup power supply is provided to maintain the memory.

【0004】そして、その後の研究により、たとえば、
データのバックアップ処理を実行するタイミングのとき
に、既に他の割込み処理が実行されており、新たな割込
みを禁止していた場合に前記他の割込み処理の処理時間
が長くなると、その後に割込み処理が許可され、バック
アップデータを読み出したり、バックアップデータに上
書きされたりすることにより、バックアップデータの一
部または全部を破壊してしまうおそれのあることが分か
った。そこで、本発明者は、NMI割込み処理によって
バックアップデータの記憶領域へのアクセスを禁止する
ことにより、バックアップデータの破壊を防止する構成
を考えた。
Then, as a result of subsequent research, for example,
If another interrupt process has already been executed at the timing of executing the data backup process and the new interrupt is disabled and the processing time of the other interrupt process becomes long, the interrupt process will be executed after that. It has been found that there is a possibility that some or all of the backup data may be destroyed by being permitted and reading the backup data or by overwriting the backup data. Therefore, the present inventor has considered a configuration in which the backup data is prevented from being destroyed by prohibiting access to the storage area for the backup data by NMI interrupt processing.

【0005】しかし、さらに研究を重ねた結果、データ
のバックアップ処理を行った後に、システムリセットを
行うと、データのバックアップ処理からメインルーチン
の処理に戻ってしまい、その時点からシステムリセット
までの間にメインプログラムが実行され、遊技が進行し
てしまう場合があり、電源復旧後においてバックアップ
データに基いて再現したときの遊技状態と、停電時の遊
技状態とにズレが生じる可能性のあることが分かった。
However, as a result of further research, if the system is reset after the data backup process, the process returns from the data backup process to the main routine process, and between that time and the system reset. The main program is executed, the game may progress, and it is known that there may be a gap between the game state when reproduced based on the backup data after the power is restored and the game state at the time of power failure. It was

【0006】そこでこの発明は、バックアップデータに
基いて再開する遊技状態と、停電時の遊技状態とにズレ
が生じることのない遊技機を実現することを目的とす
る。
Therefore, an object of the present invention is to realize a gaming machine in which there is no discrepancy between the gaming state restarting based on backup data and the gaming state at the time of power failure.

【0007】[0007]

【課題を解決するための手段・作用および効果】この発
明は、上記目的を達成するため、請求項1に記載の発明
では、遊技中に発生したデータを書換え可能に記憶する
記憶手段と、この遊技機に供給されている電源の電圧が
所定の電圧に低下した場合に、その電圧低下を示す電圧
低下信号を出力する電圧低下信号出力手段と、この電圧
低下信号出力手段から出力された電圧低下信号に基いて
システムリセット信号を出力するシステムリセット信号
出力手段と、前記電圧低下信号出力手段から出力された
電圧低下信号を入力した場合は、前記記憶手段に記憶さ
れているデータをバックアップするバックアップ処理を
実行するとともに、前記システムリセット信号出力手段
から出力されたシステムリセット信号を入力した場合
は、リセットされた状態になるコンピュータ手段とを備
えており、前記システムリセット信号出力手段は、前記
コンピュータ手段が前記バックアップ処理を終了した後
であり、かつ、前記バックアップ処理の実行が有効な期
間に前記システムリセット信号を出力するという技術的
手段を用いる。
In order to achieve the above-mentioned object, the present invention provides, in the invention described in claim 1, a storage means for rewritably storing data generated during a game, and When the voltage of the power supply supplied to the gaming machine drops to a predetermined voltage, a voltage drop signal output means for outputting a voltage drop signal indicating the voltage drop, and a voltage drop output from this voltage drop signal output means System reset signal output means for outputting a system reset signal based on a signal, and backup processing for backing up data stored in the storage means when the voltage drop signal output from the voltage drop signal output means is input When the system reset signal output from the system reset signal output means is input while executing The system reset signal output means outputs the system reset signal after the computer means completes the backup process and during a period in which execution of the backup process is effective. The technical means of outputting is used.

【0008】この遊技機に供給されている電源の電圧が
所定の電圧に低下すると、その電圧低下を示す電圧低下
信号が電圧低下信号出力手段により出力され、システム
リセット信号がシステムリセット信号出力手段により出
力される。このとき、コンピュータ手段は、上記電圧低
下信号を入力すると、記憶手段に記憶されているデータ
をバックアップするバックアップ処理を実行するととも
に、上記システムリセット信号を入力すると、システム
リセットされた状態になる。このとき、システムリセッ
ト信号出力手段は、コンピュータ手段が上記アクセスを
禁止する処理を終了した後であり、かつ、その処理の実
行が有効な期間にシステムリセット信号を出力するた
め、コンピュータ手段は、上記バックアップ処理の途中
で他の処理に移行することなく、システムリセット状態
になる。したがって、上記バックアップ処理が終了した
後に他の処理が実行され、遊技が進行してしまうことが
ない。つまり、バックアップデータに基いて再開する遊
技状態と、停電時の遊技状態とにズレが生じることのな
い遊技機を実現することができる。
When the voltage of the power supply supplied to this gaming machine drops to a predetermined voltage, a voltage drop signal indicating the voltage drop is output by the voltage drop signal output means, and a system reset signal is output by the system reset signal output means. Is output. At this time, the computer means executes the backup process of backing up the data stored in the storage means when the voltage drop signal is input, and enters the system reset state when the system reset signal is input. At this time, the system reset signal output means outputs the system reset signal after the computer means finishes the processing for prohibiting the access and during the period in which the execution of the processing is effective, so that the computer means is The system is reset without shifting to other processing during the backup processing. Therefore, another process is executed after the backup process is finished, and the game does not proceed. That is, it is possible to realize a gaming machine in which there is no discrepancy between the gaming state restarting based on the backup data and the gaming state at the time of power failure.

【0009】請求項2に記載の発明では、請求項1に記
載の遊技機において、前記コンピュータ手段は、複数備
えられており、前記電圧低下信号出力手段は、前記電圧
低下信号を前記各コンピュータ手段にそれぞれ出力し、
前記システムリセット信号出力手段は、前記システムリ
セット信号を前記各コンピュータ手段にそれぞれ出力
し、前記電圧低下信号出力手段が前記電圧低下信号を前
記各コンピュータ手段にそれぞれ出力している時間を、
前記システムリセット信号出力手段が前記システムリセ
ット信号を前記各コンピュータ手段にそれぞれ出力する
タイミングよりも、少なくとも各コンピュータ手段間に
存在する、信号入力の遅延時間偏差の最大値を超える時
間、後まで延長する延長手段を備えたという技術的手段
を用いる。
According to a second aspect of the invention, in the gaming machine according to the first aspect, the computer means is provided in plural, and the voltage drop signal output means outputs the voltage drop signal to each of the computer means. Respectively output to
The system reset signal output means outputs the system reset signal to each of the computer means, and the time when the voltage drop signal output means outputs the voltage drop signal to each of the computer means,
The system reset signal output means extends to a later time than the timing at which the system reset signal is output to each of the computer means, at least the time exceeding the maximum value of the delay time deviation of the signal input existing between the computer means. The technical means of having an extension means is used.

【0010】つまり、電圧低下信号を各コンピュータ手
段にそれぞれ出力している時間を、システムリセット信
号を各コンピュータ手段にそれぞれ出力するタイミング
よりも、少なくとも各コンピュータ手段間に存在する、
信号入力の遅延時間偏差の最大値を超える時間、後まで
延長することができるため、各コンピュータ手段は、前
記アクセスを禁止する処理からシステムリセット処理へ
移行をスムーズに行うことができる。また、システムリ
セット信号出力手段の製造上のバラツキによるシステム
リセット信号の出力タイミングのずれや、コンピュータ
手段の製造上のバラツキによるシステムリセット信号の
入力タイミングのずれなどが存在する場合であっても、
前記延長時間を前記バラツキよりも長くすることによ
り、バックアップ処理の実行が有効な期間の後でシステ
ムリセット信号を出力することがない。したがって、バ
ックアップ処理が終了した後に他の処理が実行され、遊
技が進行してしまうことがない。
That is, the time during which the voltage drop signal is output to each computer means is at least between the computer means rather than the timing at which the system reset signal is output to each computer means.
Since the time exceeding the maximum value of the delay time deviation of signal input can be extended until later, each computer means can smoothly shift from the access prohibition processing to the system reset processing. In addition, even if there is a deviation in the output timing of the system reset signal due to manufacturing variations in the system reset signal output means, or a deviation in the input timing of the system reset signal due to manufacturing variations in the computer means, etc.
By making the extension time longer than the variation, the system reset signal is not output after the period in which the execution of the backup process is effective. Therefore, other processing is executed after the backup processing is completed, and the game does not proceed.

【0011】[0011]

【発明の実施の形態】以下、この発明に係る遊技機の実
施形態について図を参照して説明する。なお、以下の実
施形態では、この発明に係る遊技機として、いわゆる第
1種パチンコ機を例に挙げて説明する。 [全体の主要構成]まず、この実施形態のパチンコ機の
主要構成について図1を参照して説明する。図1は、そ
のパチンコ機の外観を示す斜視説明図である。パチンコ
機1には、前枠2が開閉可能に備えられており、その前
枠2には、ガラス枠4が開閉可能に取付けられている。
前枠2の右側には、ガラス枠4開閉用の鍵を差し込む鍵
穴3が設けられている。ガラス枠4の内部には、遊技盤
5が設けられており、前枠2の右側下方には、遊技球を
遊技盤5へ発射する発射装置(図示省略)を操作するた
めの発射ハンドル15が回動可能に取付けられている。
ガラス枠4の下方には、賞球や貸球が供給される賞球・
貸球供給口6aが形成されており、この賞球・貸球供給
口6aの供給側には、その賞球・貸球供給口6aから供
給された賞球や貸球を溜めておくための上受け皿6が取
り付けられている。上受け皿6の下方には、上受け皿6
の収容可能数を超えて流下した賞球や上受け皿球抜きレ
バー6bの操作により上受け皿6から排出された遊技球
などを排出する排出口7aが形成されている。排出口7
aの排出側には、その排出口7aから排出された遊技球
を収容しておくための下受け皿7が設けられている。ま
た、遊技盤5の上方には、枠ランプ9が設けられてお
り、下受け皿7の左側には、灰皿7bが設けられてい
る。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of a gaming machine according to the present invention will be described below with reference to the drawings. In addition, in the following embodiments, a so-called type 1 pachinko machine will be described as an example of a gaming machine according to the present invention. [Overall Main Configuration] First, the main configuration of the pachinko machine of this embodiment will be described with reference to FIG. FIG. 1 is a perspective explanatory view showing the appearance of the pachinko machine. The pachinko machine 1 is provided with a front frame 2 that can be opened and closed, and a glass frame 4 is attached to the front frame 2 so that the glass frame 4 can be opened and closed.
On the right side of the front frame 2, a keyhole 3 into which a key for opening and closing the glass frame 4 is inserted is provided. A game board 5 is provided inside the glass frame 4, and a firing handle 15 for operating a launching device (not shown) for firing a game ball to the game board 5 is provided on the lower right side of the front frame 2. It is rotatably attached.
Below the glass frame 4, prize balls to which prize balls and rental balls are supplied.
A ball rental supply port 6a is formed, and on the supply side of the prize ball / ball rental supply port 6a, a prize ball or a ball supplied from the ball / ball rental supply port 6a is stored. The upper tray 6 is attached. Below the upper tray 6 is the upper tray 6
A discharge port 7a is formed to discharge the prize balls that have flowed in excess of the number that can be accommodated and the game balls discharged from the upper tray 6 by operating the upper tray ball removing lever 6b. Outlet 7
On the discharge side of a, a lower tray 7 for storing the game balls discharged from the discharge port 7a is provided. A frame lamp 9 is provided above the game board 5, and an ashtray 7b is provided on the left side of the lower tray 7.

【0012】[遊技盤5の主要構成]次に、遊技盤5の
主要構成について図2を参照して説明する。図2は遊技
盤5の主要構成を示す正面説明図でる。遊技盤5の略中
央には、センターケース30が備えられている。センタ
ーケース30には、天入賞口31と、3個のLEDから
なる普通図柄表示装置34と、この普通図柄表示装置3
4の始動可能な回数を4個のLEDにより表示する普通
図柄記憶表示LED35と、複数の特別図柄、背景画
像、各種の演出画像などを液晶で表示する特別図柄制御
装置32とが備えられている。また、特別図柄制御装置
32は、複数の特別図柄からなる図柄列を画面の横方向
の3個所においてそれぞれ上下方向に変動表示した後
に、前記2個所において所定の特別図柄の確定表示を行
う。なお、特別図柄の始動可能な回数として始動を保留
している数(以下、保留数と称する)は、特別図柄制御
装置32の画面に表示される。センターケース30の両
側上方には、LEDにより装飾された装飾風車46がそ
れぞれ設けられている。右側の装飾風車46の右斜め下
方には、普通図柄表示装置34を作動させるための普通
図柄作動右ゲート25が設けられており、左側の装飾風
車46の左斜め下方には、同じく普通図柄作動左ゲート
26が設けられている。センターケース30の両側下方
には、風車24がそれぞれ設けられており、右側の風車
24の下方には、右入賞口12が設けられており、左側
の風車24の下方には、左入賞口13が設けられてい
る。右入賞口12の右方には、右袖入賞口22が設けら
れており、左入賞口13の左方には、左袖入賞口23が
設けられている。センターケース30の下方には、特別
図柄制御装置32を作動させる機能を有する第1種始動
口27が設けられており、この第1種始動口27の下部
には普通図柄表示装置34の停止図柄が当たり図柄とな
った場合に両翼を開放する普通電動役物28が設けられ
ている。両翼を開放した普通電動役物28は、第1種始
動口27と同様に特別図柄制御装置32を作動開始させ
る機能を備えている。
[Main Structure of Game Board 5] Next, the main structure of the game board 5 will be described with reference to FIG. FIG. 2 is a front view showing the main configuration of the game board 5. A center case 30 is provided substantially in the center of the game board 5. In the center case 30, a winning opening 31, an ordinary symbol display device 34 composed of three LEDs, and this ordinary symbol display device 3
4 is provided with a normal symbol storage display LED 35 that displays the number of times that can be started by 4 LEDs, and a special symbol control device 32 that displays a plurality of special symbols, background images, various effect images, etc. on a liquid crystal. . In addition, the special symbol control device 32 variably displays vertically a symbol row composed of a plurality of special symbols at three positions in the horizontal direction of the screen, and then performs a fixed display of predetermined special symbols at the two positions. Note that the number of times the start is suspended as the number of times the special symbol can be started (hereinafter, referred to as the reserved number) is displayed on the screen of the special symbol control device 32. Decorative windmills 46 decorated with LEDs are provided above both sides of the center case 30, respectively. A normal symbol operation right gate 25 for operating the normal symbol display device 34 is provided diagonally below and to the right of the right decorative windmill 46, and a normal symbol operation is also provided diagonally below and to the left of the left decorative windmill 46. A left gate 26 is provided. Windmills 24 are provided below both sides of the center case 30, a right winning opening 12 is provided below the right windmill 24, and a left winning opening 13 is provided below the left windmill 24. Is provided. A right sleeve winning opening 22 is provided to the right of the right winning opening 12, and a left sleeve winning opening 23 is provided to the left of the left winning opening 13. Below the center case 30, a first type starting port 27 having a function of operating the special symbol control device 32 is provided, and at the bottom of the first type starting port 27, a stop symbol of the normal symbol display device 34. A normal electric accessory 28 is provided to open both wings when a hit pattern is obtained. The normal electric accessory 28 with both wings open has a function of starting the operation of the special symbol control device 32 as in the case of the first type starting port 27.

【0013】センターケース30の下方には、特別図柄
制御装置32の3個所の表示領域における確定図柄が大
当り図柄となった場合に作動する変動入賞装置40が設
けられている。この変動入賞装置40には、大当りの発
生時に開放動作して大入賞口41を開口する板状の開閉
部材43が扉式に開閉可能に取り付けられている。変動
入賞装置40の右側には、右下入賞口14が設けられて
おり、変動入賞装置40の左側には、左下入賞口44が
設けられている。また、変動入賞装置40の内部には、
開閉部材43を連続して開放動作させる機能を有する特
定領域と、この特定領域を通過した遊技球を検出する特
定領域スイッチ(図3に符号42aで示す)が設けられ
ている。また、遊技盤5には、発射された遊技球を遊技
領域へ案内するレール16が取付けられており、遊技盤
5の上部には、上部左右の両コーナーをLEDなどによ
り装飾するコーナー飾り11が設けられており、遊技盤
5の左右には、LEDなどにより装飾するサイド飾り2
0がそれぞれ設けられている。さらに、遊技盤5には、
入賞しなかった遊技球をアウト球として回収するアウト
口45が設けられている。そして、遊技盤5には、多く
の釘(図示省略)が打ち込まれており、遊技盤5に発射
された遊技球は、釘の間を乱舞しながら落下し、各入賞
口や第1種始動口27に入賞したり、普通図柄作動ゲー
ト25,26を通過したり、あるいはアウト口45から
回収されたりする。
Below the center case 30, there is provided a variable winning device 40 which operates when the definite symbols in the three display areas of the special symbol control device 32 are big hit symbols. A plate-like opening / closing member 43 that opens to open the special winning opening 41 when the big hit occurs is attached to the variable winning device 40 so as to be opened and closed like a door. The lower right winning opening 14 is provided on the right side of the variable winning apparatus 40, and the lower left winning opening 44 is provided on the left side of the variable winning apparatus 40. In addition, inside the variable winning device 40,
A specific area having a function of continuously opening and closing the opening / closing member 43 and a specific area switch (indicated by reference numeral 42a in FIG. 3) for detecting a game ball passing through the specific area are provided. In addition, the game board 5 is attached with a rail 16 for guiding the shot game balls to the game area, and at the upper part of the game board 5, a corner decoration 11 for decorating both left and right upper corners with LEDs or the like. Side decorations 2 are provided on the left and right sides of the game board 5 and are decorated with LEDs or the like.
0 is provided for each. Furthermore, on the game board 5,
An out port 45 is provided for collecting game balls that have not been won as out balls. Then, many nails (not shown) are driven into the game board 5, and the game balls shot on the game board 5 fall while dancing between the nails, and each prize hole and the first kind start. It is won in the mouth 27, passes through the normal symbol operation gates 25 and 26, or is collected from the outlet 45.

【0014】[パチンコ機1の電気的構成]次に、パチ
ンコ機1の主な電気的構成についてそれをブロックで示
す図3を参照して説明する。パチンコ機1には、主基板
100が設けられており、この主基板100には、マイ
クロプロセッサ110が搭載されている。マイクロプロ
セッサ110には、大当りか否かの判定、大入賞口41
への入賞数のカウント、大当りの遊技におけるラウンド
の制御などの遊技の主な制御の他に、遊技状態のバック
アップを実行するメインCPU112と、このメインC
PU112が各種制御などを実行するためのコンピュー
タプログラムなどが記録されたROM114と、遊技球
が第1種始動口27を通過したことの検出結果や入賞な
どの遊技中に発生する各種データ、ROM114から読
出されたコンピュータプログラムなどを一時的に格納し
たりバックアップして記憶するRAM116とが搭載さ
れている。主基板100には、次に記載するものが電気
的に接続されている。遊技球が第1種始動口27を通過
したことを検出する第1種始動口スイッチ27a、特別
図柄制御装置32、LEDやランプ類を制御するランプ
制御装置300、電源基板80、賞球の払出しなどを制
御する払出制御基板200、遊技中の効果音などを制御
する音声制御装置79、入賞、リーチパターン、大当り
の発生、大当り図柄などに関する遊技盤情報をパチンコ
ホールの管理室などに設けられたコンピュータ(図示省
略)へ送信するための遊技枠情報端子基板52、盤面中
継基板51、遊技枠中継基板53である。
[Electrical Configuration of Pachinko Machine 1] Next, the main electrical configuration of the pachinko machine 1 will be described with reference to FIG. The pachinko machine 1 is provided with a main board 100, and a microprocessor 110 is mounted on the main board 100. The microprocessor 110 determines whether or not it is a big hit, the big winning opening 41
In addition to the main control of the game, such as counting the number of winnings and controlling the round in the big hit game, a main CPU 112 that executes a backup of the game state, and this main C
A ROM 114 in which a computer program or the like for the PU 112 to execute various controls is recorded, and a detection result that a game ball has passed through the first-type starting opening 27, various data generated during a game such as winning, and the ROM 114. A RAM 116 for temporarily storing the read computer program or the like and for backing up and storing is installed. The following components are electrically connected to the main board 100. A first-type starting port switch 27a that detects that the game ball has passed through the first-type starting port 27, a special symbol control device 32, a lamp control device 300 that controls LEDs and lamps, a power supply board 80, and a prize ball payout. A payout control board 200 for controlling such as a sound control device 79 for controlling sound effects during a game, a winning board, a reach pattern, an occurrence of a big hit, a big hit pattern, and other game board information are provided in a pachinko hall management room or the like. A game frame information terminal board 52, a board surface relay board 51, and a game frame relay board 53 for transmission to a computer (not shown).

【0015】払出制御基板200には、主基板100か
ら送出される制御コマンドを入力して動作するマイクロ
プロセッサ210が搭載されており、マイクロプロセッ
サ210には、賞球払出し制御、球貸し制御、入賞数や
払出数に関するデータのバックアップなどを行うサブC
PU212と、このサブCPU212が各種の制御を実
行するための各種制御プログラムが記録されたROM2
14と、サブCPU212が各種制御プログラムを実行
する際にROM214から読出された制御プログラムや
遊技中に発生する入賞数や賞球数などの各種データを一
時的に格納したりバックアップして記憶するRAM21
6とが搭載されている。また、払出制御基板200に
は、電源基板80、CR接続基板56、発射モータ15
eを駆動するための発射モータ駆動基板15c、遊技枠
情報端子基板52および払出中継基板55が電気的に接
続されている。発射モータ駆動基板15cには、発射モ
ータ駆動基板15cから発射モータ15eへ駆動信号を
出力させるための発射スイッチ15dが接続されてい
る。
The payout control board 200 is equipped with a microprocessor 210 which operates by inputting control commands sent from the main board 100. The microprocessor 210 has a prize ball payout control, a ball lending control, and a prize. Sub-C that backs up data related to the number and payouts
The PU 212 and the ROM 2 in which various control programs for the sub CPU 212 to execute various controls are recorded.
14 and a RAM 21 for temporarily storing or backing up various data such as the control program read from the ROM 214 when the sub CPU 212 executes various control programs and the number of winnings and the number of prize balls generated during the game.
6 and are mounted. Further, the payout control board 200 includes a power supply board 80, a CR connection board 56, and a firing motor 15.
The firing motor drive board 15c for driving e, the game frame information terminal board 52, and the payout relay board 55 are electrically connected. A firing switch 15d for outputting a drive signal from the firing motor drive board 15c to the firing motor 15e is connected to the firing motor drive board 15c.

【0016】遊技枠中継基板53には、満杯検出スイッ
チ72、賞球切れ検出スイッチ73およびセンサ中継基
板54が電気的に接続されている。センサ中継基板54
は、賞球ユニット62に備えられた賞球払出センサ62
a,62bおよび払出中継基板55と電気的に接続され
ている。払出中継基板55には、貸球切れスイッチ6
1、賞球払出モータ62cおよび貸球ユニット63が電
気的に接続されている。盤面中継基板51には、普通電
動役物28を駆動する普通電動役物ソレノイド28a、
普通図柄表示装置34、普通図柄作動右ゲート25を通
過した遊技球を検出する右ゲートスイッチ25a、普通
図柄作動左ゲート26を通過した遊技球を検出する左ゲ
ートスイッチ26a、大入賞口41に入賞した遊技球を
検出する大入賞口スイッチ41a、右袖入賞口22に入
賞した遊技球を検出する右袖入賞口スイッチ22a、左
袖入賞口23に入賞した遊技球を検出する左袖入賞口ス
イッチ23a、右入賞口12に入賞した遊技球を検出す
る右入賞口スイッチ12a、左入賞口13に入賞した遊
技球を検出する左入賞口スイッチ13a、右下入賞口1
4に入賞した遊技球を検出する右下入賞口スイッチ14
a、左下入賞口44に入賞した遊技球を検出する左下入
賞口スイッチ44a、天入賞口31に入賞した遊技球を
検出する天入賞口スイッチ31aおよび大入賞口中継基
板50である。大入賞口中継基板50には、特定領域ス
イッチ42a、特定領域を変化させる部材を駆動する特
定領域ソレノイド42bおよび開閉部材43を駆動する
大入賞口ソレノイド41bが電気的に接続されている。
電源基板80は、CR接続基板56と電気的に接続され
ており、CR接続基板56には、プリペイドカードの残
りの度数を表示する度数表示基板やプリペイドカードを
読取る装置などを備える遊技機外装置部分71と電気的
に接続されている。また、電源基板80は、AC24V
(50Hz/60Hz)の主電源70から電源の供給を
受け、各基板、装置および発射スイッチ15dなどへ必
要電源を供給する。
The game frame relay board 53 is electrically connected with a full detection switch 72, an award ball detection switch 73, and a sensor relay board 54. Sensor relay board 54
Is a prize-ball payout sensor 62 provided in the prize-ball unit 62.
a, 62b and the payout relay substrate 55 are electrically connected. On the payout relay board 55, the ball rental switch 6
1. The prize ball payout motor 62c and the ball rental unit 63 are electrically connected. The board relay board 51 has a normal electric accessory solenoid 28a for driving the normal electric accessory 28,
Normal symbol display device 34, right gate switch 25a that detects the game ball that has passed the normal symbol operation right gate 25, left gate switch 26a that detects the game ball that has passed the normal symbol operation left gate 26, and the large winning opening 41 Big winning opening switch 41a for detecting the game ball, right sleeve winning hole switch 22a for detecting the game ball winning right sleeve winning opening 22, left sleeve winning hole switch for detecting the game ball winning left sleeve winning opening 23 23a, a right winning opening switch 12a for detecting a gaming ball winning the right winning opening 12, a left winning opening switch 13a for detecting a gaming ball winning the left winning opening 13, a lower right winning opening 1
Lower right winning opening switch 14 that detects the game ball that won 4
a, a lower left winning opening switch 44a for detecting a game ball winning the lower left winning opening 44, a winning entrance switch 31a for detecting a gaming ball winning the winning entrance 31, and a big winning relay board 50. A special area switch 42a, a specific area solenoid 42b that drives a member that changes the specific area, and a special winning opening solenoid 41b that drives the opening / closing member 43 are electrically connected to the special winning opening relay board 50.
The power supply board 80 is electrically connected to the CR connection board 56, and the CR connection board 56 includes a frequency display board for displaying the remaining frequency of the prepaid card and a device for reading the prepaid card. It is electrically connected to the portion 71. The power supply board 80 is AC24V
Power is supplied from the main power supply 70 of (50 Hz / 60 Hz), and necessary power is supplied to each board, device, firing switch 15d, and the like.

【0017】[電源基板80の主要構成、電源基板80
と各基板との接続関係]次に、電源基板80の主要構
成、電源基板80と各基板との接続関係についてそれを
示す図4を参照して説明する。主電源70から供給され
た24Vの交流電流は、フューズF1を介して整流回路
81によって32Vの直流に変換され、主基板100お
よび払出制御基板200にそれぞれ供給される。また、
32Vの直流は、DC/DCコンバータ82によって1
2Vに変圧され、主基板100、特別図柄制御装置3
2、ランプ制御装置300、音声制御装置79および払
出制御基板200へそれぞれ供給される。また、主電源
70の交流24Vは、フューズF2を介してCR接続基
板56に供給される。
[Main Structure of Power Supply Board 80, Power Supply Board 80
And connection relation between each substrate] Next, the main configuration of the power supply substrate 80 and the connection relation between the power supply substrate 80 and each substrate will be described with reference to FIG. 4 showing it. The 24V AC current supplied from the main power supply 70 is converted into a 32V DC by the rectifier circuit 81 via the fuse F1 and supplied to the main board 100 and the payout control board 200, respectively. Also,
32V DC is converted to 1 by the DC / DC converter 82.
Converted to 2V, main board 100, special symbol control device 3
2, the lamp control device 300, the voice control device 79, and the payout control board 200, respectively. Further, the AC 24V of the main power source 70 is supplied to the CR connection board 56 via the fuse F2.

【0018】主基板100に供給された12Vの直流
は、盤面中継基板51(図3)に供給され、普通電動役
物ソレノイド28aや普通図柄表示装置34などを駆動
する。特別図柄制御装置32に供給された12Vの直流
は、特別図柄表示器の液晶などを駆動し、ランプ制御装
置300に供給された12Vの直流は、コーナー飾り1
1やサイド飾り20(図2)などのLED類を点灯また
は点滅させる。音声制御装置79に供給された12Vの
直流は、音声回路を介してスピーカを駆動し、払出制御
基板200に供給された12Vの直流は、払出中継基板
55を介して賞球ユニット62や貸球ユニット63に供
給され、賞球払出モータ62cなどを駆動する。
The 12V DC supplied to the main board 100 is supplied to the board relay board 51 (FIG. 3) to drive the normal electric accessory solenoid 28a, the normal symbol display device 34, and the like. The direct current of 12V supplied to the special symbol control device 32 drives the liquid crystal of the special symbol display, and the direct current of 12V supplied to the lamp control device 300 is the corner decoration 1
The LEDs such as 1 and the side decoration 20 (FIG. 2) are turned on or blinked. The 12V DC supplied to the voice control device 79 drives the speaker through the audio circuit, and the 12V DC supplied to the payout control board 200 passes through the payout relay board 55 and the prize ball unit 62 and the ball rental ball. It is supplied to the unit 63 and drives the prize ball payout motor 62c and the like.

【0019】また、DC/DCコンバータ82によって
12Vに変圧された直流電流は、DC/DCコンバータ
83によって5Vに変圧され、この5Vの直流は、主基
板100、特別図柄制御装置32、ランプ制御装置30
0、音声制御装置79および払出制御基板200へそれ
ぞれ供給される。主基板100に供給された5Vの直流
は、マイクロプロセッサ110(図3)の駆動電源とな
り、払出制御基板200に供給された5Vの直流は、マ
イクロプロセッサ210(図3)の駆動電源となる。ま
た、特別図柄制御装置32、ランプ制御装置300およ
び音声制御装置79に供給された5Vの直流は、各装置
に設けられたマイクロプロセッサ(図示せず)の駆動電
源となる。
Further, the DC current converted to 12V by the DC / DC converter 82 is converted to 5V by the DC / DC converter 83, and this DC of 5V is the main board 100, the special symbol control device 32, and the lamp control device. Thirty
0, the voice control device 79, and the payout control board 200, respectively. The 5V DC supplied to the main board 100 serves as a driving power supply for the microprocessor 110 (FIG. 3), and the 5V DC supplied to the payout control board 200 serves as a driving power supply for the microprocessor 210 (FIG. 3). Further, the 5V direct current supplied to the special symbol control device 32, the lamp control device 300 and the voice control device 79 becomes a driving power source for a microprocessor (not shown) provided in each device.

【0020】さらに、DC/DCコンバータ83と主基
板100とを接続する5VラインL1には、ダイオード
D1が直列接続されており、そのダイオードD1の出力
側にはバックアップ電源たるバックアップ用コンデンサ
C1が並列接続されている。また、DC/DCコンバー
タ83と払出制御基板200とを接続する5VラインL
2には、ダイオードD2が直列接続されており、そのダ
イオードD2の出力側にはバックアップ電源たるコンデ
ンサC2が並列接続されている。バックアップ用コンデ
ンサC1,C2は、それぞれDC/DCコンバータ83
から供給される5Vの直流電流によって充電される。バ
ックアップ用コンデンサC1の放電電流は、主基板10
0に搭載されたマイクロプロセッサ110(図3)の内
蔵RAMバックアップ用電源端子VBB(図示省略)に
供給され、コンデンサC2の放電電流は、マイクロプロ
セッサ210(図3)の内蔵RAMバックアップ用電源
端子VBB(図示省略)に供給される。
Further, a diode D1 is connected in series to the 5V line L1 connecting the DC / DC converter 83 and the main board 100, and a backup capacitor C1 as a backup power source is connected in parallel on the output side of the diode D1. It is connected. In addition, the 5V line L that connects the DC / DC converter 83 and the payout control board 200
2, a diode D2 is connected in series, and a capacitor C2 as a backup power source is connected in parallel on the output side of the diode D2. The backup capacitors C1 and C2 are respectively the DC / DC converter 83.
It is charged by the DC current of 5V supplied from. The discharge current of the backup capacitor C1 is
0 is supplied to the built-in RAM backup power supply terminal VBB (not shown) of the microprocessor 110 (FIG. 3) mounted on the CPU 0, and the discharge current of the capacitor C2 is supplied to the built-in RAM backup power supply terminal VBB of the microprocessor 210 (FIG. 3). (Not shown).

【0021】また、電源基板80には、電源電圧監視用
IC5が搭載されており、電源電圧監視用IC5は、ラ
インA1により32Vラインと、ラインA2により12
Vラインと、ラインA3により5Vラインとそれぞれ電
気的に接続されている。つまり、電源電圧監視用IC5
は、32V、12Vおよび5Vを監視する。また、電源
電圧監視用IC5は、ラインB1〜B6により、CR接
続基板56、主基板100、特別図柄制御装置32、ラ
ンプ制御装置300、音声制御装置79および払出制御
基板200とそれぞれ接続されている。つまり、電源電
圧監視用IC5は、各電圧を検出し、各基板および装置
へシステムリセット信号を出力したり、システムリセッ
ト信号を解除したりする。
A power supply voltage monitoring IC 5 is mounted on the power supply board 80. The power supply voltage monitoring IC 5 has a 32V line by the line A1 and a 12V line by the line A2.
The V line is electrically connected to the 5V line by the line A3. That is, the power supply voltage monitoring IC 5
Monitors 32V, 12V and 5V. The power supply voltage monitoring IC 5 is connected to the CR connection board 56, the main board 100, the special symbol control device 32, the lamp control device 300, the voice control device 79, and the payout control board 200 by lines B1 to B6, respectively. . That is, the power supply voltage monitoring IC 5 detects each voltage, outputs a system reset signal to each board and device, and releases the system reset signal.

【0022】[メインCPU112が実行するメインプ
ログラム処理]次に、メインCPU112が実行するメ
インプログラム処理の流れについて、それを示す図9の
フローチャートを参照して説明する。メインCPU11
2は、スタックポインタにアドレスを設定し(ステップ
(以下、Sと略す)10)、RAM116のチェックデ
ータが正しいか否か、たとえばA55AHであるか否か
を判定し(S12)、チェックデータが正しい場合は
(S12:Yes)、RAM116内のバックアップ領
域以外を0クリア(初期化)する。続いてメインCPU
112は、次の各種処理を実行する。データの出力処理
(S16)。データの入力処理(S18)。大当りか否
かを決定する大当り乱数、大当り図柄(大当りのときに
特別図柄制御装置32により確定表示する図柄)を決定
する大当り図柄乱数、ハズレ図柄(ハズレのときに特別
図柄制御装置32により確定表示する図柄)を決定する
ハズレ図柄乱数、リーチパターンを決定するリーチパタ
ーン決定乱数などの乱数を作成する乱数作成処理(S2
0)。それらの各種乱数の初期値を更新する初期値乱数
更新処理(S22)。
[Main Program Processing Executed by Main CPU 112] Next, the flow of the main program processing executed by the main CPU 112 will be described with reference to the flowchart of FIG. 9 showing it. Main CPU 11
2 sets an address in the stack pointer (step (hereinafter, abbreviated as S) 10), determines whether the check data in the RAM 116 is correct, for example, A55AH (S12), and the check data is correct. In the case (S12: Yes), the area other than the backup area in the RAM 116 is cleared to 0 (initialized). Then main CPU
112 performs the following various processes. Data output processing (S16). Data input processing (S18). Big hit random number to determine whether or not big hit, big hit symbol (a symbol to be fixedly displayed by the special symbol control device 32 when the big hit) big hit symbol random number, lost symbol (fixed display by the special symbol controller 32 when lost) Random number creation processing for creating random numbers such as lost pattern random numbers for determining the pattern), reach pattern determination random numbers for determining the reach pattern (S2
0). Initial value random number update processing for updating the initial values of these various random numbers (S22).

【0023】第1種始動口スイッチ27aや各入賞口ス
イッチ(図3)のうち、どのスイッチがONしたかを判
定するスイッチ判定処理(S24)。大入賞口ソレノイ
ド41bの制御を行う大入賞口処理(S26)。特別図
柄制御装置32の制御を行う特別図柄処理(S28)。
普通図柄表示装置34の制御を行う普通図柄処理(S3
0)。ソレノイドやモータを駆動するデータを作成する
データ作成処理(S32)。大当りか否かの判定結果、
特別図柄制御装置32、払出制御基板200、音声制御
装置79、ランプ制御装置300などへ送信した制御コ
マンドなど、遊技中に発生したデータ、つまり停電後の
電源復旧時に停電時の遊技状態から遊技を再開できるよ
うにするために必要な各種データをRAM116などに
保存する遊技状態保存処理(S34)。データの入出力
エラーに対する制御を行うエラー制御処理(S36)。
そしてメインCPU112は、次のリセットまで初期値
乱数更新処理を実行する(S42)。また、メインCP
U112は、チェックデータが正しくない場合は(S1
2:No)、RAM216の全領域を総て0クリア(初
期化)し(S38)、作業領域の初期化を行い(S4
0)、次のリセットまで初期値乱数更新処理を実行する
(S42)。
A switch determination process (S24) for determining which of the first-type starting opening switch 27a and each winning opening switch (FIG. 3) is turned on. Special winning opening processing for controlling the special winning opening solenoid 41b (S26). Special symbol processing (S28) for controlling the special symbol control device 32.
Normal symbol processing for controlling the normal symbol display device 34 (S3
0). Data creation processing for creating data for driving solenoids and motors (S32). Judgment result of whether it is a big hit,
Special symbol control device 32, payout control board 200, voice control device 79, control commands transmitted to the lamp control device 300, and the like, data generated during the game, that is, from the game state at the time of power failure at the time of power restoration after the power failure. A game state saving process of saving various data necessary for resuming in the RAM 116 or the like (S34). An error control process for controlling a data input / output error (S36).
Then, the main CPU 112 executes the initial value random number updating process until the next reset (S42). Also, the main CP
If the check data is incorrect, U112 (S1
2: No), all areas of the RAM 216 are cleared to 0 (initialization) (S38), and the work area is initialized (S4).
0), the initial value random number updating process is executed until the next reset (S42).

【0024】[メインCPU112が実行するNMI処
理]次に、メインCPU112が実行するNMI処理の
流れについて、それを示す図10のフローチャートを参
照して説明する。メインCPU112は、マイクロプロ
セッサ110の電源断信号入力端子PD(図5、図6)
の入力レベルがLレベルからHレベルに変化すると、N
MI信号が発生し、RAM116に格納されている遊技
データをRAM116のバックアップ領域に移行し、R
AM116に対するアクセスを禁止する設定を行う(S
50)。この設定は、次のリセットまで維持される。こ
のNMI処理により、RAM116のバックアップデー
タがRAM116に対するアクセスにより書き換えられ
てしまうおそれがない。なお、各サブCPUもメインC
PU112と同様のNMI処理を実行可能になってお
り、NMI処理が実行されると、各サブCPUと接続さ
れたRAM(バックアップデータが格納されたRAM)
へのアクセスが禁止される。
[NMI Processing Executed by Main CPU 112] Next, the flow of the NMI processing executed by the main CPU 112 will be described with reference to the flowchart of FIG. The main CPU 112 has a power-off signal input terminal PD (FIGS. 5 and 6) of the microprocessor 110.
When the input level of changes from L level to H level, N
MI signal is generated, the game data stored in the RAM116 is transferred to the backup area of the RAM116, R
Set to prohibit access to AM116 (S
50). This setting is maintained until the next reset. By this NMI processing, there is no risk that the backup data in the RAM 116 will be rewritten by accessing the RAM 116. Each sub CPU is also the main C
The NMI processing similar to that of the PU 112 can be executed, and when the NMI processing is executed, the RAM connected to each sub CPU (RAM storing backup data)
Access is prohibited.

【0025】[サブCPUが実行するプログラムスター
ト処理]次に、サブCPUが実行するプログラムスター
ト処理の流れについて、それを示す図11のフローチャ
ートを参照して説明する。なお、サブCPUとは、払出
制御基板200のサブCPU212、特別図柄制御装置
32のサブCPU、音声制御装置79のサブCPUおよ
びランプ制御装置のサブCPUをいう。サブCPUは、
割込み禁止を設定し(60)、メインルーチンからサブ
ルーチンへ移行するときにメインルーチンのアドレスを
保持するためのスタックポインタをアドレスのボトムに
設定する(S62)。続いてサブCPU212は、RA
M216へのアクセス許可を設定し(S64)、割込み
モードにモード2を設定する(S66)。続いてサブC
PU212は、インタラプトレジスタにモード2で使用
するアドレスを設定し(S68)、RAM216のチェ
ックデータが正しいか否か、たとえばA5A5Hである
か否かを判定し(S70)、チェックデータが正しい場
合は(S70:Yes)、RAM216内のバックアッ
プ領域以外を0クリア(初期化)し、チェックデータが
正しくない場合は(S70:No)、RAM216の全
領域(たとえば256バイト)を総て0クリア(初期
化)するとともにチェックデータ(たとえばA5A5
H)をストアする(S74)。続いてサブCPU212
は、サブCPU212の暴走を監視するタイマであるウ
オッチドッグタイマなどの内蔵ディバイスの初期設定を
行い(S76)、作業領域の初期設定を行う(S7
8)。続いてサブCPU212は、割込み許可を設定し
(S80)、このS80を繰り返す無限ループに移行す
る。
[Program Start Processing Executed by Sub CPU] Next, the flow of the program start processing executed by the sub CPU will be described with reference to the flowchart of FIG. The sub CPU means the sub CPU 212 of the payout control board 200, the sub CPU of the special symbol control device 32, the sub CPU of the voice control device 79, and the sub CPU of the lamp control device. The sub CPU is
The interrupt is set to be prohibited (60), and the stack pointer for holding the address of the main routine at the time of shifting from the main routine to the subroutine is set to the bottom of the address (S62). Subsequently, the sub CPU 212
Access permission to M216 is set (S64), and mode 2 is set to the interrupt mode (S66). Then Sub C
The PU 212 sets an address used in mode 2 in the interrupt register (S68), determines whether the check data in the RAM 216 is correct, for example, A5A5H (S70), and if the check data is correct ( If the check data is not correct (S70: No), the entire area (for example, 256 bytes) of the RAM 216 is cleared to 0 (initialization). ) And check data (eg A5A5
H) is stored (S74). Sub CPU212
Initializes a built-in device such as a watchdog timer which is a timer for monitoring the runaway of the sub CPU 212 (S76), and initializes a work area (S7).
8). Subsequently, the sub CPU 212 sets interrupt permission (S80), and shifts to an infinite loop that repeats this S80.

【0026】(サブCPUが実行するメインプログラム
処理)ここで、サブCPUが実行するメインプログラム
処理の流れについて説明する。ここでは、払出制御基板
200のサブCPU212が実行するメインプログラム
処理の流れを例に挙げて、その流れを示す図12のフロ
ーチャートを参照して説明する。このメインプログラム
処理は、マイクロプロセッサ210に内蔵のCTC(タ
イマカウンタ)のチャンネル3割込みによって、所定の
周期(たとえば2ms)ごとに実行される。サブCPU
212は、割込み許可を設定し(S100)、ウオッチ
ドッグタイマをリスタートさせる(S102)。続いて
サブCPU212は、データやコマンドの出力処理(S
104)、入力処理(S106)、払い出す賞球数の記
憶や払出命令などの賞球処理(S108)、CR接続基
板56(図3)からのデータに基づいて貸球ユニット6
3を制御する貸球処理(S110)を実行する。
(Main Program Processing Executed by Sub CPU) Here, the flow of the main program processing executed by the sub CPU will be described. Here, the flow of the main program process executed by the sub CPU 212 of the payout control board 200 will be described as an example, and will be described with reference to the flowchart of FIG. 12 showing the flow. This main program processing is executed at a predetermined cycle (for example, 2 ms) by a channel 3 interrupt of a CTC (timer counter) built in the microprocessor 210. Sub CPU
212 sets the interrupt permission (S100) and restarts the watchdog timer (S102). Subsequently, the sub CPU 212 outputs the data and commands (S
104), an input process (S106), a prize ball process such as storing the number of prize balls to be paid out and a payout command (S108), and the ball rental unit 6 based on the data from the CR connection board 56 (FIG. 3).
Ball rental processing (S110) for controlling No. 3 is executed.

【0027】(サブCPUが実行するコマンド入力処
理)次に、サブCPUが実行するコマンド入力処理の流
れについて説明する。ここでは、サブCPU212が実
行するコマンド入力処理の流れを例に挙げて、その流れ
を示す図13のフローチャートを参照して説明する。こ
のコマンド入力処理は、メインCPU112から送信さ
れたストローブ信号を受信したときにCTCのチャンネ
ル2割込みにより実行される。サブCPU212は、主
基板100から入力ポートに送出された払出コマンドな
どの制御コマンドを入力し(S120)、その入力した
制御コマンドをチェックする(S122)。たとえば、
制御コマンドは8ビットの信号で構成された2バイトで
あり、それを1バイトずつに振り分け、各制御コマンド
が真であるか否かをチェックする。続いてサブCPU2
12は、そのチェックした制御コマンドが何を意味する
制御コマンドであるか、たとえば5個の賞球の払出命令
を示すものか、15個の賞球の払出命令を示すものかな
どを解析し(S124)、割込み許可を設定する(S1
26)。
(Command Input Processing Executed by Sub CPU) Next, the flow of command input processing executed by the sub CPU will be described. Here, the flow of command input processing executed by the sub CPU 212 will be described as an example, and will be described with reference to the flowchart of FIG. 13 showing the flow. This command input process is executed by the CTC channel 2 interrupt when the strobe signal transmitted from the main CPU 112 is received. The sub CPU 212 inputs a control command such as a payout command sent from the main board 100 to the input port (S120), and checks the input control command (S122). For example,
The control command is 2 bytes composed of an 8-bit signal, and it is distributed into 1 byte at a time, and it is checked whether or not each control command is true. Sub CPU2
The numeral 12 analyzes what the checked control command means, for example, whether it indicates a payout command of 5 prize balls or a payout command of 15 prize balls. S124), interrupt permission is set (S1)
26).

【0028】[電源断信号およびシステムリセット信号
を出力するための構成]次に、電源断信号およびシステ
ムリセット信号を出力するための構成について、その概
略を示す図5を参照して説明する。なお、図5は、図4
に示す電源基板80において電源電圧を生成する回路を
省略して示している。また、以下の説明において、払出
制御基板200、音声制御装置79、ランプ制御装置3
00および特別図柄制御装置32をまとめてサブ化基板
500と称する。
[Structure for Outputting Power Cut-Off Signal and System Reset Signal] Next, a structure for outputting the power cut-off signal and system reset signal will be described with reference to FIG. Note that FIG.
A circuit for generating a power supply voltage is omitted in the power supply board 80 shown in FIG. In the following description, the payout control board 200, the voice control device 79, the lamp control device 3 will be described.
00 and the special symbol control device 32 are collectively referred to as a sub-ized substrate 500.

【0029】図5に示すように、電源基板80には、停
電検知回路84と、電源断信号作成回路85と、電源断
信号出力禁止回路86と、IC8とが実装されており、
IC8は、主基板100およびサブ化基板500と接続
されている。停電検知回路84は、DC32VおよびD
C12Vの電圧降下を検出し、所定の電圧(以下、停電
検知電圧と称する)まで降下すると停電を示す信号(以
下、停電検知信号TKと称する)を電源断信号作成回路
85へ出力する。電源断信号作成回路85は、停電検知
回路84から出力された停電検知信号TK(負論理)を
入力し、その停電検知信号TKが入力されている間、電
源断信号PDを電源断信号出力禁止回路86へ出力す
る。電源断信号出力禁止回路86は、電源断信号を出力
する役割と、電源断信号の出力を禁止する役割とを担
う。停電時には、電源断信号作成回路85から出力され
た電源断信号PDを入力し、電源断信号PDをIC8へ
出力するとともに、システムリセット信号SRをIC8
へ出力する。また、電源復旧時には、電源断信号PDの
出力を禁止するとともに、システムリセット信号SRを
解除する。
As shown in FIG. 5, a power failure detection circuit 84, a power failure signal generation circuit 85, a power failure signal output prohibition circuit 86, and an IC 8 are mounted on the power board 80.
The IC 8 is connected to the main board 100 and the sub-converted board 500. The power failure detection circuit 84 is DC 32V and D
When a voltage drop of C12V is detected and the voltage drops to a predetermined voltage (hereinafter referred to as a power failure detection voltage), a signal indicating a power failure (hereinafter referred to as a power failure detection signal TK) is output to the power-off signal generation circuit 85. The power failure signal creation circuit 85 inputs the power failure detection signal TK (negative logic) output from the power failure detection circuit 84, and prohibits the power failure signal PD from outputting the power failure signal PD while the power failure detection signal TK is being input. Output to the circuit 86. The power-off signal output prohibiting circuit 86 plays a role of outputting the power-off signal and a role of inhibiting the output of the power-off signal. At the time of power failure, the power-off signal PD output from the power-off signal creating circuit 85 is input, the power-off signal PD is output to the IC 8, and the system reset signal SR is sent to the IC
Output to. When the power is restored, the output of the power-off signal PD is prohibited and the system reset signal SR is released.

【0030】IC8は、電源断信号出力禁止回路86か
ら出力された電源断信号PDのレベルを反転して主基板
100およびサブ化基板500の各電源断信号入力端子
PDへ出力する。また、IC8は、電源断信号出力禁止
回路86から出力されたシステムリセット信号SRのレ
ベルを反転して主基板100およびサブ化基板500の
各システムリセット信号入力端子SRへ出力する。主基
板100およびサブ化基板500に搭載された各CPU
は、それぞれ電源断信号入力端子PDに電源断信号PD
(Hレベル)を入力すると、NMI処理を実行し、RA
Mのバックアップ領域に対するアクセスを禁止する。ま
た、上記各CPUは、システムリセット信号入力端子S
Rにシステムリセット信号SR(Hレベル)を入力する
と、システムリセット処理を実行する。
The IC 8 inverts the level of the power-off signal PD output from the power-off signal output inhibiting circuit 86 and outputs the inverted power-off signal PD to the power-off signal input terminals PD of the main substrate 100 and the sub-substrate 500. Further, the IC 8 inverts the level of the system reset signal SR output from the power-off signal output prohibiting circuit 86 and outputs the inverted signal to each system reset signal input terminal SR of the main board 100 and the sub-converted board 500. Each CPU mounted on the main board 100 and the sub-board 500
Are connected to the power-off signal input terminals PD, respectively.
When (H level) is input, NMI processing is executed and RA
Access to the backup area of M is prohibited. Further, each of the above CPUs has a system reset signal input terminal S
When the system reset signal SR (H level) is input to R, the system reset process is executed.

【0031】[停電時の回路動作]次に、停電時の図5
に示す回路の動作について図6および図7を参照して説
明する。図6は、図5の詳細を示す回路図であり、図7
は、停電時における図5に示す各検出点の信号レベルの
変化を示すタイミングチャートである。停電などによ
り、電源70が遮断されると、DC32V、DC12
V、DC5Vの順に電圧降下する。DC32Vは、抵抗
RN2,RN3により分圧され、コンパレータIC3:
Bの+端子に印加されており、そのレベルはHレベルか
らLレベルに変化する。一方、DC12Vは、コンパレ
ータIC3:Bの−端子に印加されており、そのレベル
は、コンデンサCE14の放電特性に対応してHレベル
からLレベルに変化する。そして、コンパレータIC
3:Bは、印加されている両電圧の差分と、基準電圧と
を比較し、その比較結果に対応する信号を出力するが、
DC32Vが停電検知電圧まで降下すると(時間T
1)、上記両電圧と基準電圧との差が、しきい値を超
え、停電検知信号TKを出力する。ここでは、停電検知
信号TKはLレベルであるとする(検出点(6))。
[Circuit operation at power failure] Next, FIG.
The operation of the circuit shown in FIG. 6 will be described with reference to FIGS. FIG. 6 is a circuit diagram showing the details of FIG.
FIG. 6 is a timing chart showing changes in the signal level at each detection point shown in FIG. 5 during a power failure. When the power supply 70 is cut off due to a power failure or the like, DC32V, DC12
The voltage drops in the order of V and DC5V. DC32V is divided by resistors RN2 and RN3, and comparator IC3:
It is applied to the + terminal of B, and its level changes from H level to L level. On the other hand, DC12V is applied to the-terminal of the comparator IC3: B, and its level changes from H level to L level in accordance with the discharge characteristic of the capacitor CE14. And the comparator IC
3: B compares the difference between both applied voltages with the reference voltage and outputs a signal corresponding to the comparison result.
When DC32V drops to the power failure detection voltage (time T
1), the difference between the both voltages and the reference voltage exceeds the threshold value, and the power failure detection signal TK is output. Here, it is assumed that the power failure detection signal TK is at L level (detection point (6)).

【0032】コンパレータIC3:Bの出力は、IC5
のVSA入力と接続されており、VSA入力の電圧は、
HレベルからLレベルに変化する。また、DC12Vを
抵抗RN8,RN9により分圧した電圧が印加されてい
るVSB入力の電圧は、HレベルからLレベルに変化す
る。これにより、IC5は、VSA入力およびVSB入
力が共にHレベルからLレベルに変化したことを検出
し、RESET出力の電圧をHレベルからLレベルに変
化させる。これにより、負論理のNANDゲートである
IC6:Bの5番端子の入力電圧はLレベルになる。ま
た、IC6:Bの4番端子には、DC5Vが印加されて
いるため、IC6:Bの4番端子は、HレベルからLレ
ベルに変化する。したがって、IC6:Bから電源断信
号PD(Hレベル)が出力される(検出点(3))。
The output of the comparator IC3: B is IC5
Is connected to the VSA input of
The H level changes to the L level. Further, the voltage of the VSB input to which the voltage obtained by dividing DC12V by the resistors RN8 and RN9 is applied changes from the H level to the L level. As a result, the IC 5 detects that both the VSA input and the VSB input have changed from the H level to the L level, and changes the voltage of the RESET output from the H level to the L level. As a result, the input voltage of the fifth terminal of IC6: B, which is a NAND gate of negative logic, becomes L level. Since DC5V is applied to the 4th terminal of IC6: B, the 4th terminal of IC6: B changes from H level to L level. Therefore, the power-off signal PD (H level) is output from IC6: B (detection point (3)).

【0033】IC6:Bから出力された電源断信号PD
は、2つに分岐し、一方は、正論理のNANDゲートで
あるIC6:Aの1番端子に入力され、他方はリセット
信号遅延回路86aに入力される。リセット信号遅延回
路86aから出力された電源断信号PDは、2つに分岐
し、一方は、電源断信号延長用遅延回路86bを経てI
C6:Aの2番端子に入力され、他方は、IC6:Dの
13番端子に入力される。コンデンサCE15,C12
が充電されている間は、IC6:Aの2番端子の入力電
圧はHレベルに保持されている。したがって、IC6:
Aの両入力は共にHレベルであるため、IC6:Aは、
Lレベルの電源断信号PD(検出点(2))をIC8の
入力端子A7,A8へ出力する。これにより、IC8
は、Lレベルの電源断信号PDを反転したHレベルの電
源断信号PDを出力端子Y7,Y8から主基板100お
よびサブ化基板500の電源断信号入力端子PDへ出力
する(検出点(1))。したがって、主基板100およ
びサブ化基板500の各CPUは、電源断信号入力端子
PDのレベルがLレベルからHレベルに変化したと判定
し、データのバックアップおよびNMIを開始する。な
お、各CPUがデータのバックアップおよびNMIを実
行するために必要な時間(NMI処理時間)は、この実
施形態では、それぞれ約100msである。
IC6: Power-off signal PD output from B
Is branched into two, one is input to the first terminal of IC6: A which is a NAND gate of positive logic, and the other is input to the reset signal delay circuit 86a. The power-off signal PD output from the reset signal delay circuit 86a is branched into two, one of which is passed through the power-off signal extension delay circuit 86b and I
It is input to the 2nd terminal of C6: A, and the other is input to the 13th terminal of IC6: D. Capacitors CE15, C12
While is charged, the input voltage of the second terminal of IC6: A is held at H level. Therefore, IC6:
Since both inputs of A are H level, IC6: A
The power-off signal PD (detection point (2)) of L level is output to the input terminals A7 and A8 of the IC8. As a result, IC8
Outputs an H-level power-off signal PD, which is the inversion of the L-level power-off signal PD, from the output terminals Y7 and Y8 to the power-off signal input terminals PD of the main substrate 100 and the sub-substrate 500 (detection point (1)). ). Therefore, each CPU of the main board 100 and the sub-board 500 determines that the level of the power-off signal input terminal PD has changed from the L level to the H level, and starts data backup and NMI. The time required for each CPU to execute data backup and NMI (NMI processing time) is about 100 ms in this embodiment.

【0034】そして、リセット信号遅延回路86aのコ
ンデンサCE15の放電が終了すると、コンパレータI
C3:AからIC6:Dに出力されている電源断信号P
DがHレベルからLレベルに変化し、IC6:Dから出
力されているシステムリセット信号SRがLレベルから
Hレベルに変化する(検出点(D))。これにより、I
C8の入力端子A5,A6には、Hレベルのシステムリ
セット信号SRが入力されるため、IC8は、それを反
転してLレベルのシステムリセット信号SRを出力端子
Y5,Y6から主基板100およびサブ化基板500の
システムリセット信号入力端子SRへ出力する(検出点
(E))。したがって、主基板100およびサブ化基板
500の各CPUは、システムリセット信号入力端子S
RのレベルがHレベルからLレベルに変化したと判定
し、システムリセット処理を開始する(時間T2)。
When the discharge of the capacitor CE15 of the reset signal delay circuit 86a is completed, the comparator I
Power-off signal P output from C3: A to IC6: D
D changes from the H level to the L level, and the system reset signal SR output from IC6: D changes from the L level to the H level (detection point (D)). This gives I
Since the H level system reset signal SR is input to the input terminals A5 and A6 of the C8, the IC8 inverts the system reset signal SR of the L level from the output terminals Y5 and Y6 to the main board 100 and the sub-board. The signal is output to the system reset signal input terminal SR of the compliant substrate 500 (detection point (E)). Therefore, each CPU of the main board 100 and the sub-converted board 500 has a system reset signal input terminal S.
It is determined that the R level has changed from the H level to the L level, and system reset processing is started (time T2).

【0035】ここで、図7に示すように、主基板100
およびサブ化基板500へ電源断信号PD(検出点
(1))が出力されてから、システムリセット信号SR
(検出点(D))が出力されるまでに要する時間、つま
り各CPUがデータのバックアップおよびNMIを開始
してからシステムリセット処理を開始するまでに要する
時間を遅延時間Tnmiとすると、この実施形態では、
コンデンサCE15や抵抗RN4〜RN7などの特性の
ばらつきを考慮して、Tnmi=116.4ms〜14
9.4msである。つまり、遅延時間Tnmiは、各C
PUがデータのバックアップおよびNMIを実行するた
めに必要な時間(NMI処理時間)100msよりも十
分大きな時間となっているため、各CPUは、停電時に
余裕を持ってデータのバックアップおよびNMIを実行
することができる。したがって、データのバックアップ
およびNMIを実行する途中でシステムリセット状態と
なり、データのバックアップおよびNMIを実行できな
かったために、RAMにバックアップされるべき遊技デ
ータがバックアップの途中で途切れて不完全なデータに
なってしまうおそれがない。つまり、電源が復旧してか
ら再開した遊技を、電源遮断時の遊技状態からの継続し
た遊技にすることができる。領域に対するアクセスが実
行されてしまい、バックアップデータが書き換えられる
おそれがない。なお、この段階では、電源断信号延長用
遅延回路86bのコンデンサC12は放電中であり、I
C6:Aから出力されている電源断信号PDは、Lレベ
ルを維持しているため、IC8から主基板100および
サブ化基板500へ電源断信号PD(Hレベル)が継続
して出力されている。
Here, as shown in FIG. 7, the main substrate 100
The system reset signal SR after the power-off signal PD (detection point (1)) is output to the sub-board 500
If the time required until (Detection point (D)) is output, that is, the time required for each CPU to start system backup processing after starting data backup and NMI, is assumed to be delay time Tnmi. Then
Considering variations in the characteristics of the capacitor CE15 and the resistors RN4 to RN7, Tnmi = 116.4 ms to 14
It is 9.4 ms. That is, the delay time Tnmi is
Since the time required for the PU to perform data backup and NMI (NMI processing time) is sufficiently longer than 100 ms, each CPU has a margin to execute data backup and NMI during a power failure. be able to. Therefore, the system reset state is set during the data backup and NMI execution, and because the data backup and NMI cannot be executed, the game data to be backed up in the RAM is interrupted during the backup and becomes incomplete data. There is no danger of it coming out. In other words, the game restarted after the power is restored can be made a continuous game from the game state when the power was cut off. There is no risk that the backup data will be rewritten because the area is accessed. At this stage, the capacitor C12 of the power cutoff signal extension delay circuit 86b is being discharged, and
Since the power-off signal PD output from C6: A maintains the L level, the power-off signal PD (H level) is continuously output from the IC 8 to the main substrate 100 and the sub-substrate 500. .

【0036】そして、電源断信号延長用遅延回路86b
のコンデンサC12の放電が終了すると、IC6:Aの
2番端子の入力レベルがHレベルからLレベルに変化
し、IC6:Aから出力されている電源断信号PDがL
レベルからHレベルに変化する。これにより、IC8か
ら主基板100およびサブ化基板500へ出力している
電源断信号PD(検出点(1))は、HレベルからLレ
ベルに変化する。ここで、図7に示すように、主基板1
00およびサブ化基板500へシステムリセット信号出
力SR(検出点(E))が有効になってから、電源断信
号出力PD(検出点(1))が無効になるまでに要する
時間を電源断信号延長用遅延時間Tdwnとすると、こ
の実施形態では、コンデンサC12および抵抗R10の
特性のばらつきを考慮して、Tdwn=0.9319m
s〜5.806msである。この範囲は、主基板100
およびサブ化基板500の入力回路時定数などのバラツ
キによる遅延時間偏差(たとえば、100μs)を十分
にカバーできる範囲であるため、各基板は、データのバ
ックアップおよびNMIからシステムリセット動作への
移行をスムーズに行うことができる。
Then, the delay circuit 86b for extending the power-off signal
When the discharge of the capacitor C12 of IC6: A is completed, the input level of the 2nd terminal of IC6: A changes from H level to L level, and the power-off signal PD output from IC6: A becomes L level.
Change from level to H level. As a result, the power-off signal PD (detection point (1)) output from the IC 8 to the main board 100 and the sub-board 500 changes from the H level to the L level. Here, as shown in FIG.
00 and the sub-board 500, the time required for the power-off signal output PD (detection point (1)) to become invalid after the system reset signal output SR (detection point (E)) becomes valid. Assuming that the extension delay time is Tdwn, in this embodiment, Tdwn = 0.319m in consideration of variations in the characteristics of the capacitor C12 and the resistor R10.
s to 5.806 ms. This range is the main substrate 100
Since the delay time deviation (for example, 100 μs) due to variations in the input circuit time constant of the sub-board 100 is sufficiently covered, each board smoothly backs up data and shifts from NMI to system reset operation. Can be done.

【0037】ところで、割込み信号のレベルに基いて割
込みを認識するコンピュータでは、割込み信号が所定の
レベル以上でアクティブ状態が所定期間連続したときに
割込みと認識し、割込みルーチンのアドレスに分岐す
る。また、その時点で他の割込みは禁止され、割込みル
ーチンを実行する。このため、割込み信号のレベルがア
クティブ状態でなくなると、割込みルーチンからメイン
ルーチンに戻るが、割込み信号のレベルが所定期間アク
ティブ状態である間は、割込みルーチンからメインルー
チンに戻らない。したがって、電源断信号PDが有効に
なっている期間(データのバックアップおよびNMIの
実行が有効な期間)が終了した後(時間T3より後)に
システムリセット信号SRを有効にすると、コンピュー
タプログラムがNMI処理の終了後にメインルーチンに
戻り、遊技が進行してしまうおそれがある。このため、
電源が復旧したときに、バックアップされていたデータ
に基いて再開したときの遊技状態と、停電時の遊技状態
(進行してしまった遊技状態)とにズレが生じてしま
う。しかし、このパチンコ機1では、図7に示すよう
に、電源断信号PDがアクティブ状態になっている期間
(データのバックアップおよびNMIの実行が有効な期
間)内にシステムリセット信号SRを有効にすることに
より、コンピュータプログラムがデータのバックアップ
およびNMIの終了後にメインルーチンに戻り、遊技が
進行してしまうことがない。したがって、停電時の遊技
状態と電源復旧時に再開した遊技状態とにズレが生じる
ことがない。なお、電源断信号が有効な時間(電源断信
号保持時間)は、コンデンサCE19の容量により、ほ
ぼ決定され、この実施形態では、コンデンサCE19の
特性のバラツキなどを考慮して211.5ms〜77
5.5msである。
By the way, in a computer which recognizes an interrupt based on the level of the interrupt signal, when the interrupt signal is above a predetermined level and the active state continues for a predetermined period, it is recognized as an interrupt and branches to the address of the interrupt routine. At that time, other interrupts are prohibited and the interrupt routine is executed. Therefore, when the level of the interrupt signal becomes inactive, the interrupt routine returns to the main routine, but while the level of the interrupt signal remains active for a predetermined period, the interrupt routine does not return to the main routine. Therefore, if the system reset signal SR is enabled after the period in which the power-off signal PD is valid (the period during which the data backup and the NMI execution are valid) ends (after time T3), the computer program causes the NMI After the processing ends, the process may return to the main routine and the game may progress. For this reason,
When the power is restored, a gap occurs between the game state when the game is restarted based on the backed up data and the game state at the time of power failure (the game state that has progressed). However, in this pachinko machine 1, as shown in FIG. 7, the system reset signal SR is validated within a period in which the power-off signal PD is in an active state (a period in which data backup and NMI execution are valid). As a result, the computer program does not return to the main routine after backing up the data and ending the NMI, and the game does not proceed. Therefore, there is no difference between the game state at the time of power failure and the game state restarted at the time of power restoration. It should be noted that the time during which the power-off signal is valid (power-off signal holding time) is substantially determined by the capacitance of the capacitor CE19, and in this embodiment, 211.5 ms to 77 in consideration of variations in the characteristics of the capacitor CE19.
It is 5.5 ms.

【0038】[電源が復旧したときの回路動作]次に、
電源70が復旧したときの図5に示す回路の動作につい
て図6および図8を参照して説明する。図8は、電源7
0が復旧したときの図5に示す各検出点における電圧と
時間との関係を示すタイミングチャートである。電源7
0が立上がった直後は、IC5のRESET出力レベル
はLレベルであるため(検出点(4))、IC6:Bか
ら出力されている電源断信号PDはHレベルとなり、I
C6:Aの1番端子に入力される(検出点(3))。ま
た、IC5のOUTC出力からLレベルの電源断信号出
力禁止信号(検出点(C))が電源断信号出力禁止回路
86のコンパレータIC3:Aの出力側に出力される。
これにより、IC6:Aの2番端子の入力レベルはLレ
ベルとなるため、IC6:Aから出力される電源断信号
PDは、Hレベルとなり、IC8から主基板100およ
びサブ化基板500へ出力される電源断信号PDは、L
レベルとなる。つまり、電源断信号PDの出力が禁止さ
れる。
[Circuit operation when power is restored] Next,
The operation of the circuit shown in FIG. 5 when the power supply 70 is restored will be described with reference to FIGS. 6 and 8. FIG. 8 shows a power supply 7
6 is a timing chart showing the relationship between voltage and time at each detection point shown in FIG. 5 when 0 is restored. Power supply 7
Immediately after 0 rises, the RESET output level of IC5 is L level (detection point (4)), so the power-off signal PD output from IC6: B becomes H level and I
C6: Input to the 1st terminal of A (detection point (3)). Further, an L-level power cutoff signal output prohibition signal (detection point (C)) is output from the OUTC output of IC5 to the output side of the comparator IC3: A of the power cutoff signal output prohibition circuit 86.
As a result, the input level of the second terminal of IC6: A becomes L level, so that the power-off signal PD output from IC6: A becomes H level and is output from IC8 to the main substrate 100 and the sub conversion substrate 500. Power off signal PD
It becomes a level. That is, the output of the power-off signal PD is prohibited.

【0039】電源断信号出力禁止時間を経過すると、電
源断信号出力禁止信号の出力が停止するが(時間T
4)、このときには、リセット信号遅延回路86aの出
力はLレベルになっているため、IC6:Aから出力さ
れている電源断信号PDはHレベルを維持するので、I
C8から基板100およびサブ化基板500へはHレベ
ルの電源断信号PDが出力されない。その後、コンデン
サCE15の放電が終了すると、コンパレータIC3:
Aの出力は、再度、Hレベルに戻るが(時間T6)、そ
のときには、IC5のRESET出力がHレベルに変化
し、IC6:Aの1番端子に入力されている電源断信号
PDはLレベルに変化しているため、IC6:Aから出
力されている電源断信号PDはHレベルを維持するの
で、IC8から基板100およびサブ化基板500へは
Hレベルの電源断信号PDが出力されない。以降、次の
電源遮断時まで電源断信号PDが有効になることはな
い。
When the power-off signal output inhibit time elapses, the output of the power-off signal output inhibit signal stops (time T
4) At this time, since the output of the reset signal delay circuit 86a is at the L level, the power-off signal PD output from IC6: A maintains the H level.
The power-off signal PD at the H level is not output from C8 to the substrate 100 and the sub-substrate 500. After that, when the discharge of the capacitor CE15 is completed, the comparator IC3:
The output of A returns to the H level again (time T6), but at that time, the RESET output of IC5 changes to the H level, and the power-off signal PD input to the first terminal of IC6: A is at the L level. Since the power-off signal PD output from IC6: A is maintained at the H level, the power-off signal PD at the H level is not output from IC8 to the substrate 100 and the sub-substrate 500. After that, the power-off signal PD is not valid until the next power-off.

【0040】一方、電源70が立上がったときにIC5
のOUTCから出力される電源断信号出力禁止信号(L
レベル)がIC6:Dの13番端子に入力されるため、
IC6:DからHレベルのシステムリセット信号SRが
出力される。したがって、IC8からLレベルのシステ
ムリセット信号SRが主基板100およびサブ化基板5
00のシステムリセット信号入力端子SRに出力される
ため、主基板100およびサブ化基板500は、システ
ムリセット処理を行う。その後、IC5が電源断信号出
力禁止信号の出力を停止するが(時間T4)、このとき
には、リセット信号遅延回路86aの出力はLレベルに
なっているため、IC6:Dから出力されているシステ
ムリセット信号SRはHレベルを維持するので、IC8
から基板100およびサブ化基板500へ出力されてい
るシステムリセット信号SRはLレベルを維持する。
On the other hand, when the power supply 70 starts up, the IC5
Power out signal output prohibition signal (L
Level) is input to pin 13 of IC6: D,
IC6: D outputs the H-level system reset signal SR. Therefore, the L-level system reset signal SR is output from the IC 8 to the main board 100 and the sub-board 5.
No. 00 system reset signal input terminal SR, the main board 100 and the sub-board 500 perform system reset processing. After that, the IC5 stops outputting the power-off signal output prohibition signal (time T4), but at this time, the output of the reset signal delay circuit 86a is at the L level, so the system reset output from IC6: D is performed. Since the signal SR maintains the H level, IC8
The system reset signal SR output from the substrate 100 to the sub-substrate 100 is maintained at the L level.

【0041】そして、コンデンサCE15の放電が終了
すると、コンパレータIC3:Aの出力は、Hレベルに
戻るため、IC6:Dから出力しているシステムリセッ
ト信号SRは、Lレベルに変化する。したがって、IC
8から主基板100およびサブ化基板500へ出力して
いるシステムリセット信号SRは、Hレベルに変化する
ため、主基板100およびサブ化基板500は、システ
ムリセット状態を解除し、遊技に関する処理を実行可能
となる。なお、電源断信号出力禁止時間は、コンデンサ
CE18および抵抗R5を有する電源断信号出力禁止時
間作成回路85aにより設定されており、電源断信号出
力禁止時間は、この実施形態では、コンデンサCE18
および抵抗R5の誤差などを考慮して174.76ms
〜263.6msである。ここで、電源断信号出力禁止
時間の最小値174.76msは、遅延時間Tnmiの
最大値149.4msよりも長いため、電源70が立上
がったときに、電源断信号に基いてNMI処理が実行さ
れることがない。ところで、電源が立上がったときは、
RAMのチェックデータが正しいか否か、たとえばA5
5AHであるか否かを検査し(図9のS12)、A55
AHであればバックアップデータに基いて遊技を再開す
るため、バックアップ領域に記憶されている遊技データ
を所定のRAM領域に復帰させ、その後で遊技プログラ
ムが継続実行される。しかし、A55AHであっても、
NMI処理を実行してしまうと、新たにバックアップ処
理を実行してしまい、たとえばRAMへのアクセスが禁
止されると、NMI処理から復帰しても、RAMアクセ
ス禁止状態なので、制御プログラムが使用する変数領域
(RAM領域)のデータは不定となって正常作動しなく
なってしまう。そこで、電源が立上がったときにNMI
処理が実行されないようにすることにより、不定なデー
タが上書きされてしまうことがないので、正確なバック
アップデータに基いて遊技を再開することができる。
When the discharge of the capacitor CE15 is completed, the output of the comparator IC3: A returns to H level, and the system reset signal SR output from IC6: D changes to L level. Therefore, IC
Since the system reset signal SR output from 8 to the main board 100 and the sub-converted board 500 changes to the H level, the main board 100 and the sub-converted board 500 release the system reset state and execute the game-related processing. It will be possible. The power-off signal output inhibition time is set by the power-off signal output inhibition time generation circuit 85a having the capacitor CE18 and the resistor R5. The power-off signal output inhibition time is set to the capacitor CE18 in this embodiment.
And 174.76ms considering the error of resistor R5
˜263.6 ms. Here, the minimum value 174.76 ms of the power-off signal output prohibition time is longer than the maximum value 149.4 ms of the delay time Tnmi, and therefore, when the power supply 70 rises, the NMI processing is executed based on the power-off signal. Never be done. By the way, when the power is turned on,
Whether the RAM check data is correct, for example, A5
It is inspected whether it is 5 AH (S12 in FIG. 9), and A55
If it is AH, the game is restarted based on the backup data, so that the game data stored in the backup area is restored to a predetermined RAM area, after which the game program is continuously executed. However, even with A55AH,
If NMI processing is executed, new backup processing is executed. For example, if access to the RAM is prohibited, the RAM access is prohibited even after returning from the NMI processing. The data in the area (RAM area) becomes indefinite and does not operate normally. Therefore, when the power is turned on, NMI
By preventing the processing from being executed, indeterminate data will not be overwritten, so that the game can be restarted based on accurate backup data.

【0042】[実施形態の効果] (1)以上のように、上記実施形態のパチンコ機1を使
用すれば、電源断信号PDがアクティブ状態になってい
る期間(データのバックアップおよびNMIの実行が有
効な期間)内にシステムリセット信号SRを有効にする
ことにより、コンピュータプログラムがNMI処理の終
了後にメインルーチンに戻り、遊技が進行してしまうこ
とがない。したがって、バックアップされたデータに基
いて電源復旧時に再開する遊技状態と停電時の遊技状態
とにズレが生じることがない。 (2)また、電源断信号出力PDがアクティブ状態にな
っている期間を、システムリセット信号が出力されたタ
イミングよりも、少なくとも主基板100およびサブ化
基板500間に存在する入力回路時定数などのバラツキ
による遅延時間偏差の最大値を超える時間延長できるた
め、各基板は、NMI処理からシステムリセット動作へ
の移行をスムーズに行うことができる。また、IC5や
リセット信号遅延回路86aなどの製造上のバラツキに
よるシステムリセット信号の出力タイミングのずれや、
メインCPU112やサブCPUの製造上のバラツキに
よるシステムリセット信号の入力タイミングのずれなど
が存在する場合であっても、前記延長時間を前記バラツ
キよりも長くすることにより、データのバックアップお
よびNMIを実行する処理の実行が有効な期間の後でシ
ステムリセット信号を出力することがない。したがっ
て、データのバックアップおよびNMIを実行する処理
が終了した後に他の処理が実行され、遊技が進行してし
まうことがない。 (3)前記実施形態では、NMI処理としてRAMへの
アクセスを禁止する処理を例に挙げて説明したが、他の
処理を禁止するNMI処理を行う場合についても、この
発明を適用することができる。 (4)さらに、電源が復旧したときに電源断信号の出力
を、少なくともCPUがデータのバックアップおよびN
MIを実行するために必要な時間を超える時間出力する
ことにより、バックアップデータに不定なデータが上書
きされてしまうことがないので、正確なバックアップデ
ータに基いて中断時の遊技を再開することができる。な
お、図6に示した回路は、この発明の範囲を逸脱しない
限り、適宜設計変更することができる。また、上記実施
形態では、この発明に係る遊技機として第1種パチンコ
機を例に挙げて説明したが、第2種パチンコ機、第3種
パチンコ機、あるいはスロットマシン、アレンジボー
ル、雀球など、コンピュータにより遊技を制御する遊技
機にもこの発明を適用できることは勿論である。
[Effects of the Embodiment] (1) As described above, when the pachinko machine 1 of the above embodiment is used, the period during which the power-off signal PD is in the active state (data backup and NMI execution By validating the system reset signal SR within the valid period), the computer program does not return to the main routine after the end of the NMI processing, and the game does not proceed. Therefore, there is no gap between the gaming state restarting when the power is restored and the gaming state at the time of power failure based on the backed up data. (2) In addition, during the period in which the power-off signal output PD is in the active state, the input circuit time constant existing between at least the main board 100 and the sub-converted board 500 is more than the timing when the system reset signal is output. Since it is possible to extend the time exceeding the maximum value of the delay time deviation due to variation, each board can smoothly perform the transition from the NMI process to the system reset operation. In addition, a deviation in the output timing of the system reset signal due to manufacturing variations of the IC 5 and the reset signal delay circuit 86a,
Even if there is a deviation in the input timing of the system reset signal due to a manufacturing variation of the main CPU 112 or the sub CPU, the extension time is made longer than the variation, and data backup and NMI are executed. The system reset signal is not output after the period in which the execution of processing is effective. Therefore, another process is executed after the process of backing up the data and the NMI is completed, and the game does not progress. (3) In the above-described embodiment, the process of prohibiting the access to the RAM is described as an example of the NMI process, but the present invention can be applied to the case of performing the NMI process that prohibits other processes. . (4) Furthermore, at least when the power is restored, the CPU outputs at least a power-off signal to back up data and N
By outputting a time exceeding the time required to execute MI, indeterminate data will not be overwritten on the backup data, so that the game at the time of interruption can be restarted based on accurate backup data. . The circuit shown in FIG. 6 can be appropriately modified in design without departing from the scope of the present invention. Further, in the above-described embodiment, the first type pachinko machine has been described as an example of the gaming machine according to the present invention, but the second type pachinko machine, the third type pachinko machine, or the slot machine, the arrangement ball, the sparrow ball, etc. Of course, the present invention can be applied to a gaming machine in which a game is controlled by a computer.

【0043】[各請求項と実施形態との対応関係]RA
M116,216が、請求項1に記載の記憶手段に対応
し、電源断信号が電圧低下信号に対応し、電源断信号作
成回路85が電圧低下信号出力手段に対応する。リセッ
ト信号遅延回路86aがシステムリセット信号出力手段
に対応し、メインCPU112およびサブCPUがコン
ピュータ手段に対応する。メインCPU112およびサ
ブCPUが実行するNMI処理が、バックアップ処理に
対応する。電源断信号延長用遅延回路86bが、請求項
2に記載の延長手段に対応する。
[Correspondence between each claim and the embodiment] RA
M116 and 216 correspond to the storage means according to claim 1, the power-off signal corresponds to the voltage drop signal, and the power-off signal generating circuit 85 corresponds to the voltage drop signal output means. The reset signal delay circuit 86a corresponds to the system reset signal output means, and the main CPU 112 and the sub CPU correspond to the computer means. The NMI processing executed by the main CPU 112 and the sub CPU corresponds to the backup processing. The power cutoff signal extension delay circuit 86b corresponds to the extension means described in claim 2.

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

【図1】この発明に係る実施形態のパチンコ機の外観を
示す斜視説明図である。
FIG. 1 is a perspective explanatory view showing an appearance of a pachinko machine according to an embodiment of the present invention.

【図2】図1に示すパチンコ機1に備えられた遊技盤5
4の主要構成を示す正面説明図である。
FIG. 2 is a game board 5 provided in the pachinko machine 1 shown in FIG.
It is a front explanatory view showing the main composition of No. 4.

【図3】パチンコ機1の主な電気的構成をブロックで示
す説明図である。
FIG. 3 is an explanatory diagram showing, in blocks, the main electrical configuration of the pachinko machine 1.

【図4】電源基板80の主要構成、電源基板80と各基
板との接続関係を示す説明図である。
FIG. 4 is an explanatory diagram showing a main configuration of a power supply board 80 and a connection relationship between the power supply board 80 and each board.

【図5】電源断信号およびシステムリセット信号を出力
するための構成の概略を示す説明図である。
FIG. 5 is an explanatory diagram showing an outline of a configuration for outputting a power-off signal and a system reset signal.

【図6】図5の詳細を示す回路図である。FIG. 6 is a circuit diagram showing details of FIG.

【図7】停電時における図5に示す各検出点の信号レベ
ルの変化を示すタイミングチャートである。
7 is a timing chart showing changes in signal level at each detection point shown in FIG. 5 during a power failure.

【図8】電源70が復旧したときの図5に示す各検出点
における電圧と時間との関係を示すタイミングチャート
である。
8 is a timing chart showing the relationship between voltage and time at each detection point shown in FIG. 5 when the power supply 70 is restored.

【図9】メインCPU112が実行するメインプログラ
ム処理の流れを示すフローチャートである。
FIG. 9 is a flowchart showing a flow of main program processing executed by the main CPU 112.

【図10】メインCPU112が実行するNMI処理の
流れ示すフローチャートである。
FIG. 10 is a flowchart showing a flow of NMI processing executed by the main CPU 112.

【図11】サブCPUが実行するプログラムスタート処
理の流れを示すフローチャートである。
FIG. 11 is a flowchart showing a flow of program start processing executed by the sub CPU.

【図12】サブCPU212が実行するメインプログラ
ム処理の流れをを示すフローチャートである。
FIG. 12 is a flowchart showing a flow of main program processing executed by the sub CPU 212.

【図13】サブCPUが実行するコマンド入力処理の流
れにを示すフローチャートである。
FIG. 13 is a flowchart showing a flow of command input processing executed by the sub CPU.

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

1 パチンコ機(遊技機) 70 主電源 80 電源基板 84 停電検知回路 85 電源断信号作成回路 85a 電源断信号出力禁止時間作成回路 86 電源断信号出力禁止回路 86a リセット信号遅延回路 86b 電源断信号延長用遅延回路 100 主基板 112 メインCPU(コンピュータ手段) 116 RAM(記憶手段) 200 払出制御基板 212 サブCPU(コンピュータ手段) 216 RAM(記憶手段) C1,C2 バックアップ用コンデンサ(バックアッ
プ手段)
1 Pachinko machine (gaming machine) 70 Main power supply 80 Power supply board 84 Power failure detection circuit 85 Power cutoff signal generation circuit 85a Power cutoff signal output prohibition time generation circuit 86 Power cutoff signal output prohibition circuit 86a Reset signal delay circuit 86b For extension of power cutoff signal Delay circuit 100 Main board 112 Main CPU (computer means) 116 RAM (storage means) 200 Discharge control board 212 Sub CPU (computer means) 216 RAM (storage means) C1, C2 Backup capacitors (backup means)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 遊技中に発生したデータを書換え可能に
記憶する記憶手段と、 この遊技機に供給されている電源の電圧が所定の電圧に
低下した場合に、その電圧低下を示す電圧低下信号を出
力する電圧低下信号出力手段と、 この電圧低下信号出力手段から出力された電圧低下信号
に基いてシステムリセット信号を出力するシステムリセ
ット信号出力手段と、 前記電圧低下信号出力手段から出力された電圧低下信号
を入力した場合は、前記記憶手段に記憶されているデー
タをバックアップするバックアップ処理を実行するとと
もに、前記システムリセット信号出力手段から出力され
たシステムリセット信号を入力した場合は、リセットさ
れた状態になるコンピュータ手段と、を備えており、 前記システムリセット信号出力手段は、 前記コンピュータ手段が前記バックアップ処理を終了し
た後であり、かつ、前記バックアップ処理の実行が有効
な期間に前記システムリセット信号を出力することを特
徴とする遊技機。
1. A storage unit for rewritably storing data generated during a game, and a voltage drop signal indicating a voltage drop when a voltage of a power supply supplied to the game machine drops to a predetermined voltage. A voltage drop signal output means for outputting, a system reset signal output means for outputting a system reset signal based on the voltage drop signal output from the voltage drop signal output means, and a voltage output from the voltage drop signal output means When a low signal is input, a backup process for backing up the data stored in the storage means is executed, and when a system reset signal output from the system reset signal output means is input, a reset state is entered. And a computer means for providing the system reset signal output means. Over data unit is after has finished said backup process, and, a gaming machine, characterized in that execution of the backup process outputs the system reset signal to lifetime.
【請求項2】 前記コンピュータ手段は、複数備えられ
ており、 前記電圧低下信号出力手段は、前記電圧低下信号を前記
各コンピュータ手段にそれぞれ出力し、 前記システムリセット信号出力手段は、前記システムリ
セット信号を前記各コンピュータ手段にそれぞれ出力
し、 前記電圧低下信号出力手段が前記電圧低下信号を前記各
コンピュータ手段にそれぞれ出力している時間を、前記
システムリセット信号出力手段が前記システムリセット
信号を前記各コンピュータ手段にそれぞれ出力するタイ
ミングよりも、少なくとも各コンピュータ手段間に存在
する、信号入力の遅延時間偏差の最大値を超える時間、
後まで延長する延長手段を備えたことを特徴とする請求
項1に記載の遊技機。
2. A plurality of the computer means are provided, the voltage drop signal output means outputs the voltage drop signal to each of the computer means, and the system reset signal output means outputs the system reset signal. Is output to each of the computer means, and the system reset signal output means outputs the system reset signal to each computer for the time period during which the voltage drop signal output means outputs the voltage drop signal to each of the computer means. Time exceeding the maximum value of the delay time deviation of the signal input, which exists at least between the respective computer means, rather than the timing of outputting to each means,
The gaming machine according to claim 1, further comprising an extension unit that extends to the rear.
JP2001208246A 2001-07-09 2001-07-09 Game machine Pending JP2003019324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001208246A JP2003019324A (en) 2001-07-09 2001-07-09 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001208246A JP2003019324A (en) 2001-07-09 2001-07-09 Game machine

Publications (1)

Publication Number Publication Date
JP2003019324A true JP2003019324A (en) 2003-01-21

Family

ID=19044112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001208246A Pending JP2003019324A (en) 2001-07-09 2001-07-09 Game machine

Country Status (1)

Country Link
JP (1) JP2003019324A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008118290A (en) * 2006-11-01 2008-05-22 Mitsubishi Electric Corp Terminating device
JP2016135294A (en) * 2010-10-21 2016-07-28 株式会社三洋物産 Game machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008118290A (en) * 2006-11-01 2008-05-22 Mitsubishi Electric Corp Terminating device
JP2016135294A (en) * 2010-10-21 2016-07-28 株式会社三洋物産 Game machine

Similar Documents

Publication Publication Date Title
JP5783619B2 (en) Pachinko machine
JP5904675B2 (en) Pachinko machine
JP4757715B2 (en) Game machine
JP6418018B2 (en) Game machine
JP3773453B2 (en) Game machine
JP5231603B2 (en) Game machine
JP2009285093A (en) Game machine
JP6492743B2 (en) Pachinko machine
JP4632375B2 (en) Game machine
JP2003190425A (en) Game machine
JP2003019324A (en) Game machine
JP2003019325A (en) Game machine
JP2021176418A (en) Game machine
JP2021176417A (en) Game machine
JP2003164634A (en) Pachinko game machine
JP3604330B2 (en) Pachinko machine
JP4085145B2 (en) Game machine
JP3745943B2 (en) Game system
JP3661765B2 (en) Game machine
JP2001246135A (en) Game machine and recording medium
JP2010099282A (en) Game machine
JP4048250B2 (en) Game machine
JP6492744B2 (en) Pachinko machine
JP3817639B2 (en) Game machine
JP2016158857A (en) Pachinko game machine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040817

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041207

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050405