JP3817639B2 - Game machine - Google Patents
Game machine Download PDFInfo
- Publication number
- JP3817639B2 JP3817639B2 JP2004309328A JP2004309328A JP3817639B2 JP 3817639 B2 JP3817639 B2 JP 3817639B2 JP 2004309328 A JP2004309328 A JP 2004309328A JP 2004309328 A JP2004309328 A JP 2004309328A JP 3817639 B2 JP3817639 B2 JP 3817639B2
- Authority
- JP
- Japan
- Prior art keywords
- processing
- control board
- power
- time
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は遊技機に関し、詳しくは、遊技の進行を司る主制御基板と、主制御基板以外のサブ制御基板とを備えた遊技機に係わる。 The present invention relates to a gaming machine, and more particularly to a gaming machine including a main control board that controls the progress of a game and a sub-control board other than the main control board.
遊技機、例えばパチンコ遊技機においては、電源投入時はリセット端子にハードウェア割り込みをかけ、また、主制御基板のユーザーリセット端子に所定時間毎(約2ms〜4ms)のハードウェア割り込みをかけて、この割り込み毎に遊技の制御を司るプログラムにメインルーチンの処理を繰り返し実行し、メインルーチンの各処理を前記所定時間よりも短い時間で処理を実行し、その残余時間は、外れ図柄乱数更新等の残余処理を実行し、ハードウェア割り込みによるユーザーリセットがかかるとメインルーチンの先頭に戻り、処理を繰り返す。これにより、ノイズで処理が暴走しても元のところに戻ってくるので、暴走状態を阻止できる。そして、メモリを比較してメモリ値がある領域内の値であれば、これを正常なデータと判定し、記憶したデータを参照し遊技を続行していく。また、乱数更新タイミング及び各種スイッチの検出タイミングを一定周期とし入賞又は通過のタイミングがランダムであることから、入賞又は通過のタイミングで抽出されるタイマの値が無作為に抽出され、出現率が均一であることから乱数として機能する。
一方、バッテリーバックアップで記憶を保持し、停電対策とする場合、瞬間停電等の停電時に主制御基板に設けられたCPUのノンマスカブルインタラプト(以下、NMIと略す)端子にハードウェア割り込みを強制的にかけ記憶保持すべきデータを待避している。
In gaming machines, such as pachinko machines, hardware interrupts are applied to the reset terminal when the power is turned on, and hardware interrupts are applied to the user reset terminal of the main control board every predetermined time (about 2 ms to 4 ms) For each interrupt, the main routine process is repeatedly executed in the program that controls the game, and each process of the main routine is executed in a time shorter than the predetermined time. The remaining processing is executed, and when a user reset is caused by a hardware interrupt, the process returns to the top of the main routine and the processing is repeated. As a result, even if the process is runaway due to noise, the process returns to the original place, and the runaway state can be prevented. Then, when the memories are compared and the memory value is a value within a certain area, it is determined as normal data, and the game is continued with reference to the stored data. Also, since the random number update timing and the detection timing of various switches are set to a fixed period and the winning or passing timing is random, the timer value extracted at the winning or passing timing is randomly extracted and the appearance rate is uniform. Therefore, it functions as a random number.
On the other hand, when memory backup is used for battery backup and measures are taken for power failure, a hardware interrupt is forcibly applied to a non-maskable interrupt (hereinafter abbreviated as NMI) terminal of the CPU provided on the main control board during a power failure such as a momentary power failure. Data to be retained is saved.
しかしながら、前記従来のパチンコ遊技機は、以下の課題を有していた。即ち、上述の通り、停電検出をNMI端子による信号の立ち上げ又は立ち下げで検出しようとすると、ユーザーリセット端子へのハードウェア割り込みのタイミングによっては停電検出できない場合が生じる。例えば、ユーザーリセット信号が有効となるときとNMI信号が有効となるタイミングがほぼ同時期に発生した場合、NMI信号の立ち上がり、立ち下りが検出できない場合がある。これを回避するために、NMI信号を所定時間以上有効とし、所定時間以上継続して出力されているか否かを判定することにより停電検出を実行することも考えられる。ところが、停電に対するデータのバックアップ等のデータ待避時間が乏しくなることで停電処理が大幅に遅延するし、また、賞球又は球貸し球の落下中の遊技球が検出できなくなる。従って、やはりNMI信号の立ち上がり、立ち下りで停電を検出するしかなく、前記不都合の回避は非常に困難である。 However, the conventional pachinko gaming machine has the following problems. That is, as described above, when an attempt is made to detect a power failure by the rise or fall of a signal at the NMI terminal, there may be a case where the power failure cannot be detected depending on the timing of the hardware interrupt to the user reset terminal. For example, when the timing at which the user reset signal becomes valid and the timing at which the NMI signal becomes valid occur almost at the same time, the rise and fall of the NMI signal may not be detected. In order to avoid this, it is also conceivable to execute the power failure detection by making the NMI signal valid for a predetermined time or more and determining whether or not the signal is continuously output for a predetermined time or more. However, since the data saving time such as data backup for power failure becomes short, the power failure processing is greatly delayed, and it is impossible to detect a game ball in which a winning ball or a ball lending ball is falling. Therefore, the power failure is detected only at the rise and fall of the NMI signal, and it is very difficult to avoid the inconvenience.
そこで、本発明の遊技機は、バッテリーバックアップで記憶を保持する場合、NMI割り込みとユーザーリセット割り込みとがハードウェア的に競合しないようにすることを目的として為されたものである。 Therefore, the gaming machine of the present invention is made for the purpose of preventing the NMI interrupt and the user reset interrupt from competing in hardware when the memory is retained by battery backup.
即ち、前記課題を解決するため、ハードウェア的にユーザーリセットを所定時間毎にメインルーチンにかけて処理を回帰させていたのを、ソフトウェアでリセットを実行することを見出し本発明に到達したものである。即ち、請求項1記載の発明は、停電時に、停電発生時の遊技状態から遊技を再開するためのデータを待避する停電時処理と、電源投入時に、RAMを初期化する初期化処理、前記待避したデータに従って設定処理を行うバックアップスタート設定処理のいずれかを実行する電源投入時処理と、該電源投入時処理を実行した後、複数のスイッチの入力状態を監視する入力処理及び乱数更新処理を含む遊技の進行に係る処理を行う本処理と、該本処理の終了後に前記乱数の更新処理を行う残余処理と、を実行する手段を有する主制御基板を備えた遊技機であって、前記主制御基板は、前記電源投入時処理を終了した後、前記本処理及び前記残余処理から構成される通常時の処理を実行する通常時処理実行手段と、強制割り込み端子に入力されるNMI制御信号が変化することで、NMIフラグを設定するバックアップ設定処理と、時間の計時を行うタイマ手段と、該タイマ手段により計時される前記通常時の処理の開始からの経過時間が設定時間を経過したことを示すINTフラグを設定するタイムアップ判定手段と、該タイムアップ判定手段によりINTフラグが設定されている場合に、前記残余処理を強制的に打ち切り、打ち切り後の処理を前記通常時の処理の先頭へ回帰させる処理回帰手段と、前記NMIフラグの有無を判断する処理を前記INTフラグの有無を判定する処理よりも先に実行することにより、前記NMIフラグが設定されている場合には前記INTフラグの有無に関わらず前記通常時の処理を強制的に停止させ、前記停電時処理に移行させる停電時処理移行手段と、を備えたことを特徴とする遊技機である。
That is, in order to solve the above-mentioned problem, the present invention has been found by executing the resetting by software, instead of performing the resetting by applying the user reset to the main routine every predetermined time in terms of hardware. That is, the invention described in
前記構成を有する請求項1に記載の遊技機は、上記課題を好適に解決できると共に、乱数更新タイミング(タイマの更新タイミング)及び各種スイッチの検出タイミングを均一化でき、入賞又は通過のタイミングがランダムであるという従来の当否乱数抽出の技術をそのまま利用することができる。
The gaming machine according to
サブ制御基板とは、景品払い出し制御基板を少なくとも含むものであって、パチンコ遊技機にあっては図柄の変動表示を行う図柄制御基板等を含んでも良い。景品払い出し制御基板とは、景品を払い出す駆動装置を制御する基板であって、パチンコ遊技機では景品としての景品球(「賞品球」又は「賞球」ともいう。)を払い出すモータ又はソレノイド等を駆動制御する基板をいい、スロットル遊技機では景品としてのコインを払い出すホッパーを駆動制御する基板をいう。 The sub-control board includes at least a prize payout control board. In a pachinko gaming machine, the sub-control board may include a symbol control board or the like that displays symbols in a variable manner. The prize payout control board is a board that controls a drive device for paying out prizes, and in a pachinko machine, a motor or solenoid that pays out a prize ball (also referred to as “prize ball” or “prize ball”) as a prize. In a throttle gaming machine, a board that drives and controls a hopper that pays out coins as a prize.
請求項1記載の発明によれば、定期的にプログラムが実行される構成であるにもかかわらず、NMI割り込みとユーザーリセット割り込みとがハードウェア的に競合しない。従って、停電時の処理が適正に処理できる。 According to the first aspect of the present invention, the NMI interrupt and the user reset interrupt do not compete with each other in hardware although the program is periodically executed. Therefore, the process at the time of a power failure can be processed appropriately.
以下に、本発明の好適な実施例を図面に基づいて説明する。尚、本発明の実施の形態は、下記の実施例に何ら限定されるものではなく、本発明の技術的範囲に属する限り種々の形態を採り得ることはいうまでもない。
図1に示すように、本実施例のパチンコ機10は、大きくは長方形の外枠11と前面枠12とからなり、外枠11の左隣に公知のカードリーダ(プリペイドカードユニット)13が設けられている。前面枠12は、左端上下のヒンジ14により外枠11に対し回動可能に取り付けられている。
前面枠12の下方には上皿15が設けられ、この上皿15に貸出釦16、精算釦17及び残高表示部18が設けられている。カードリーダ13のカード口19にプリペイドカードを挿入すると、記憶された残高が残高表示部18に表示され、貸出釦16を押下すると遊技球の貸出しが実行され上皿15の払い出し口より遊技球が排出される。
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. The embodiments of the present invention are not limited to the following examples, and it goes without saying that various forms can be adopted as long as they belong to the technical scope of the present invention.
As shown in FIG. 1, the
An
前面枠12には、窓状の金枠20が前面枠12に対して解放可能に取り付けられている。この金枠20には板ガラス21が二重にはめ込まれている。板ガラス21の奥には遊技盤22が収納されている。
上皿15の前面枠12下部には、下皿23が設けられ、下皿23の右側には発射ハンドル24が取り付けられている。この発射ハンドル24の外周には、図示しない回動リングが擁され、時計方向に回動すれば遊技球を遊技盤22上に発射することができる。
上皿15と下皿23とは連結されていて、上皿15が遊技球で満杯状態になれば下皿23に遊技球を誘導するよう構成されている。
A window-
A
The
図2はパチンコ機10を裏側から見た裏面図である。図示するように、前述した遊技盤22を脱着可能に取り付ける機構盤26が前述した外枠11に収納されている。この機構盤26には、上方から、球タンク27、誘導樋28及び払出し装置29が設けられている。この構成により、遊技盤22上の入賞口に遊技球の入賞があれば球タンク27から誘導樋28を介して所定個数の遊技球を払出し装置29により前述した上皿15に排出することができる。
また、機構盤26には主制御基板30及び払出制御基板31が脱着可能に、遊技盤22には特別図柄表示装置32が、前面枠左下部には発射制御基板33が、特別図柄表示装置32の左側に外部接続端子基板42が、各々取り付けられている。
FIG. 2 is a back view of the
In addition, the
次に図3を用いて遊技盤22について説明する。
遊技盤22には、中央に特別図柄表示装置32を構成するLCDパネルユニット(以下、「LCD」という。)32a、その下部に第1種始動口としての普通電動役物36、LCD32a上部の普通図柄表示装置37、普通図柄表示装置37に表示される図柄の変動開始に用いられるLCD32aの左右の普通図柄作動ゲート38及び39、普通電動役物36下部の大入賞口40、盤面最下部のアウト口41、その他の各種入賞口、風車及び図示しない遊技釘等が備えられている。
この構成により、前述した発射ハンドル24を回動すれば発射制御基板33により駆動される発射モータ33a(図4参照)が駆動されて上皿15上の遊技球がガイドレールを介して遊技盤22上に発射される。発射された遊技球が各入賞口に入賞すれば遊技球は盤面裏面にセーフ球として取り込まれ、入賞しなければアウト口41を介してアウト球として同様に盤面裏面に取り込まれる。
Next, the
The
With this configuration, when the above-described
続いて前述したパチンコ機10の電気的構成を図4のブロック図を用いて説明する。
パチンコ機10の電気回路は、図示するように、前述した主制御基板30、払出制御基板31、特別図柄表示装置32、発射制御基板33、ランプ制御基板34及び音制御基板35等から構成されている。尚、この回路図には、信号の受け渡しを行うための所謂中継基板等は記載していない。
Next, the electrical configuration of the
As shown in the figure, the electric circuit of the
主制御基板30は、CPU66、遊技制御プログラムを記憶したROM81、演算等の作業領域として働くRAM80及びタイマ回路82等を内蔵した8ビットワンチップマイコンを中心とした論理演算回路として構成され、この他各基板又は各種スイッチ類及び各種アクチュエータ類との入出力を行うための外部入出力回路も設けられている。
主制御基板30の入力側には、第1種始動口スイッチ36a、普通図柄作動スイッチ38a及び39a、役物連続作動スイッチ(以下、単に「Vスイッチ」と呼ぶ)40a、カウントスイッチ40b、満タンスイッチ43、補給スイッチ44、複数のその他入賞口スイッチ45、玉抜スイッチ46等が接続されている。また、出力側には、大入賞口ソレノイド40c、Vソレノイド40d、普通役物ソレノイド36b及び外部接続端子基板42等が接続されている。
The
On the input side of the
第1種始動口スイッチ36aは前述した遊技盤22上の普通電動役物36内、普通図柄作動スイッチ38a及び39aは各々普通図柄作動ゲート38及び39内、Vスイッチ40aは大入賞口40内の特定領域内、同じくカウントスイッチ40bは大入賞口40内、満タンスイッチ43は下皿23内、補給スイッチ44は球タンク27内、その他入賞口スイッチ45は普通電動役物36及び大入賞口40以外の盤面上の各々の入賞口、玉抜スイッチ46は払出し装置29の近傍に各々取り付けられている。ここで、Vスイッチ40aは大入賞口40内に入賞した遊技球が特別装置作動領域(以下、「特別領域」という。)を通過したことを、カウントスイッチ40bは大入賞口40内に入賞する全ての遊技球を、満タンスイッチ43は下皿23内に遊技球が満タン状態になったことを、補給スイッチ44は球タンク27内に遊技球が存在することを、その他入賞口スイッチ45は普通電動役物36及び大入賞口40以外の盤面上の各々の入賞口に遊技球が入賞したことを、玉抜スイッチ46は玉抜操作ボタンが押下されたことを各々検出するためのものである。
また、出力側に接続された大入賞口ソレノイド40cは大入賞口40内、Vソレノイド40dは大入賞口40内の特別領域、普通役物ソレノイド36bは普通電動役物36の開閉に各々使用されるものである。
The first type
The large
特別図柄表示装置32は、前述したLCD32aと、このLCD32aを駆動制御する図柄表示装置制御基板(以下、単に「図柄制御基板」(「画像制御基板」ともいう。)という。)32b、最大4個まで始動記憶数を表示する特別図柄始動記憶表示装置32c(図3参照)及びバックライト及びインバータ基板等の付属ユニットから構成されている。図柄制御基板32bは、前述した主制御基板30と同様8ビットワンチップマイコンを中心とした論理演算回路として構成されている。
The special
払出制御基板31は、主制御基板30と同様マイクロコンピュータを用いた論理演算回路として構成され、その入力回路には賞球払出スイッチ31a及び貸玉払出スイッチ31bが接続され、出力回路には玉切モータ31c及び玉貸モータ31dが接続されている。また、払出制御基板31には、前述したカードリーダ13が双方向に接続され、カードリーダ13にはCR精算表示基板47が接続されている。賞球払出スイッチ31aは、主制御基板30にも接続されている。
玉切モータ31c及び玉貸モータ31dは、前述した払出し装置29に設けられ、誘導樋28から供給される遊技球を下方に所定個数流下させるものである。玉切モータ31cから払い出される遊技球は賞球払出スイッチ31aにより検出され、玉貸モータ31dから払い出される遊技球は貸玉払出スイッチ31bにより検出される。
CR精算表示基板47は、前述した上皿15の貸出釦16、精算釦17及び残高表示部18等から構成されている。尚、CR精算表示基板47を払出制御基板31に接続する構成としても良い。
As with the
The
The CR
前記構成により主制御基板30から賞球払い出し指令のデータが送信されると、このデータを受信した払出制御基板31は、未払の賞球データに送信されたデータが示す賞球個数を加算して新たな賞球データとして記憶し、所定個数の遊技球を賞球として払い出した後に賞球払出スイッチ31aにより検出された遊技球を記憶した賞球データから減算処理を実行して新たな賞球データとし、この賞球データの値が零になるまで払い出し処理を実行する。
一方、CR精算表示基板47の貸出釦16を押下すると、100円の場合はカードリーダ13から払出制御基板31に1パルスの信号が送信され、500円の場合には5パルスの信号が送信される。払出制御基板31は、1パルスの信号に対して25個の遊技球が貸玉払出スイッチ31bにより検出されるまで玉貸モータ31dを駆動制御して貸し玉を払い出す処理を実行する。
When prize ball payout command data is transmitted from the
On the other hand, when the
発射制御基板33は、遊技者が操作する発射ハンドル24の回動量に応じて発射モータ33aを駆動制御するものであり、その他遊技者が発射停止スイッチ24bを押下したとき発射を停止させたり、発射ハンドル24に内蔵されたタッチスイッチ24aがオン状態のときタッチランプ48を点灯させるためのものである。
タッチスイッチ24aは発射ハンドル24に内蔵され遊技者が発射ハンドル24に触れていることを検出する。
The
The
ランプ制御基板34は主としてトランジスタ等の駆動素子から構成されており、主制御基板30からの指令を受けて普通図柄用保留ランプ及び普通図柄用LEDを備えた普通図柄表示装置37、大当りランプやエラーランプ等のランプ類及びLED等の各種ランプ類を点灯表示させるためのものである。
The
音制御基板35は音源IC及びアンプ等から構成されており、主制御基板30の指令を受けてスピーカ49を駆動制御するためのものである。
The
前述した特別図柄表示装置32、払出制御基板31、発射制御基板33、ランプ制御基板34及び音制御基板35への送信は、主制御基板30からのみ送信することができるよう一方向通信の回路として構成されている。この一方向通信の回路は、インバータ回路又はラッチ回路を用いて具現化することができる。
Transmission to the special
前記主制御基板30、払出制御基板31、図柄制御基板32b、発射制御基板33、ランプ制御基板34及び音制御基板35等へは、図5、図6に示すように、電源基板50から各種電源が供給されている。
電源基板50は、24V交流電源51と接続され、24V交流電源51と接続するダイオードブリッジ回路52,53、ダイオードブリッジ回路52と接続する全波24V生成回路54及びDC32V生成回路55、ダイオードブリッジ回路53と接続するDCP2V生成回路56及びDC5V生成回路57、更に、DC5V生成回路57と接続されてコンデンサによりDC5Vのバックアップ電源を生成するVBB電源生成回路58を備え、各制御基板に必要な電源を供給するよう構成されている。
VBB電源生成回路58は、主制御基板30と払出制御基板31に接続されバックアップ電源VBBを供給している。
As shown in FIGS. 5 and 6, the
The
The VBB power
ここで、図6に示すように、電源基板50には、パワーオンリセット回路61、交流電圧監視回路62、タイマ1回路63、タイマ2回路64及びパワーダウンリセット回路65が備えられている。
交流電圧監視回路62の出力側は、主制御基板30のCPU66の強制割り込み端子NMI及び払出制御基板31のCPU67の強制割り込み端子NMIに接続されている。
主制御基板30のCPU66のリセット端子RESには、パワーダウンリセット回路65とタイマ2回路64とがオア回路68を介して接続されている。
払出制御基板31のCPU67のリセット端子RESには、パワーダウンリセット回路65とタイマ1回路63とがオア回路69を介して接続されている。
図柄制御基板32bのCPU70のリセット端子RESには、パワーダウンリセット回路65とパワーオンリセット回路61とがオア回路71を介して接続されている。
同様に、発射制御基板33、ランプ制御基板34及び音制御基板35の各CPU72,74,76にも、パワーダウンリセット回路65とパワーオンリセット回路61とがオア回路73,75,77を介して接続されている。
尚、VBB電源生成回路58は、主制御基板30のCPU66のバックアップ端子VBB(RAM)、及び払出制御基板31のCPU67のバックアップ端子VBB(RAM)に接続されている。
Here, as shown in FIG. 6, the
The output side of the AC
A power-
A power-
A power-
Similarly, a power-
The VBB
パワーオンリセット回路61は、図7に示すように、電圧監視IC8、抵抗器R38、R39及びR40、バイパスコンデンサC22及びC23等から構成されている。電圧監視IC8の入力端子であるVS端子には、抵抗器R39とR40とで分圧したDC12Vの電源が供給され、出力端子であるRESET端子は、抵抗器R38でDC5Vにプルアップされている。
前記構成により電圧監視IC8の出力端子であるRESET端子は、DC12V電源の電圧が7.20〜7.75V以下に低下すると、出力するリセット信号1を、ハイレベルからロウレベルに変化させる。
As shown in FIG. 7, the power-on
With the above configuration, the RESET terminal, which is the output terminal of the voltage monitoring IC 8, changes the
タイマ1回路63は、パワーオンリセット回路61が出力するCPUリセット信号1を、ハイレベルからロウレベルに変化させたときから所定時間(本実施形態では、100ms)経過後に出力するCPUリセット信号2をハイレベルからロウレベルに変化させる遅延回路として構成されている。
タイマ2回路64は、パワーオンリセット回路61が出力するCPUリセット信号1を、ハイレベルからロウレベルに変化させたときから所定時間(本実施形態では、300ms)経過後に出力するCPUリセット信号3をハイレベルからロウレベルに変化させる遅延回路として構成されている。
The
The
パワーダウンリセット回路65は、交流電圧監視回路62が出力する停電検出信号を、ハイレベルからロウレベルに変化させたときから所定時間(本実施形態では、100ms)経過後に出力するCPUリセット信号4をハイレベルからロウレベルに変化させる遅延回路として構成されている。
The power-
前記構成により、パチンコ機10に電源が投入されたときの主制御基板30、払出制御基板31、払出制御基板31以外のその他のサブ制御基板、即ち、図柄制御基板32b、発射制御基板33、ランプ制御基板34及び音制御基板35、の各々のCPUの動作又は制御動作の立ち上がり状態を、図8に示すタイミングチャートに従って説明する。
パチンコ機10に電源が投入されると、電源基板50によりDC32V、DC12V、DC5V、バッテリバックアップ電源(VBB)がそれぞれ生成される。この生成された各電源は各制御基板に供給されるが、パワーオンリセット回路61、タイマ1回路63及びタイマ2回路64の働きにより図柄制御基板32bを含む各サブ制御基板、払出制御基板31及び主制御基板30は次のように動作の立ち上げ処理を行う。
With the above configuration, the
When the
図8に示すように、電源基板50に電源が投入されると(ポイントP1)、DC32V、DC12V、DC5V各電源の電圧は各々放物線を描いて漸次0Vから32V、12V、5Vに立ち上がる。この漸次立ち上がるDC5V電源の電圧が、パワーオンリセット電圧を示す基準値LV2(ポイントP2)になってから所定時間T1経過後にNMI制御信号がセットされる。その間にDC32Vは遊技機部品保証電圧レベルに達し、その後、DC32Vはバックアップ開始電圧に達する。パワーオンリセット回路61は、DC5V電源が基準値LV2になっても直ちにリセット制御信号を出力するわけではなく、バックアップ電源VBBによるバックアップ開始のタイミングより後に立ち上がるよう本実施形態では、パワーオンリセット時間T2=約100ms後にパワーオンリセット回路61の出力信号であるリセット制御信号がロウレベルからハイレベルとなると共に(ポイントP3)、払出制御基板31を除く図柄制御基板32b等の各サブ制御基板に対し、CPUリセット信号1がロウレベルからハイレベルとなり(ポイントP3)、リセット状態を解除し制御に係る動作を立ち上げる。即ち、払出制御基板31を除く全てのサブ制御基板について、電源基板50からのリセット信号を直接各CPUのリセット端子に入力することとし、遅延時間は設定していない。
As shown in FIG. 8, when the power supply is turned on to the power supply board 50 (point P1), the voltages of the DC32V, DC12V, and DC5V power supplies gradually rise from 0V to 32V, 12V, and 5V in a parabolic manner. The NMI control signal is set after a predetermined time T1 has elapsed since the voltage of the DC5V power supply that gradually rises to the reference value LV2 (point P2) indicating the power-on reset voltage. In the meantime, DC32V reaches the gaming machine parts guaranteed voltage level, and then DC32V reaches the backup start voltage. The power-on
タイマ1回路63は、DC5V電源の電圧が基準値LV2になってからT3=約200ms経過後、即ち、パワーオンリセット回路61の出力するCPUリセット信号1がロウレベルからハイレベルになってから100ms経過後に出力するCPUリセット信号2をロウレベルからハイレベルとする(ポイントP4)。これは、払出制御基板31でのリセット信号遅延時間及びセキュリティーチェック時間を考慮して設定したものである。CPUリセット信号2を入力する払出制御基板31のCPU67は、CPUリセット信号2がハイレベルとなったときから約320msの時間をかけて正常なプログラムであるか否かのセキュリティーチェックを実行し、この後に払い出し等に係る制御を実行する。従って、払出制御基板31のCPU67は、DC5V電源の電圧が基準値LV2になってから約520ms後に動作を立ち上げることになる。
In the
タイマ2回路64は、DC5V電源の電圧が基準値LV2になってから約400ms経過後、即ち、パワーオンリセット回路61の出力するCPUリセット信号1がロウレベルからハイレベルになってからT4=約300ms経過後に出力するCPUリセット信号3をロウレベルからハイレベルとする(ポイントP5)。これは、主制御基板30でのリセット信号遅延時間及びセキュリティーチェック時間を考慮して設定したものである。CPUリセット信号3を入力する主制御基板30のCPU66は、CPUリセット信号3がハイレベルとなったときから約200msの時間をかけて正常なプログラムであるか否かのセキュリティーチェックを実行し、この後に入賞検知等に係る制御を実行する。従って、主制御基板30のCPU66は、DC5V電源の電圧が基準値LV2になってから約600ms後に動作を立ち上げることになる。
The
これより、主制御基板30のCPU66がROM81に書き込まれたプログラムに従って遊技の制御を実行開始するときには、各サブ制御基板は既に遊技の制御を実行している。この結果、電源投入後直ちに、主制御基板30のCPU66が各サブ制御基板にデータを送信しても、各サブ制御基板は本来の制御を実行しているので確実にデータを受信することができる。
Thus, when the
次にパチンコ機10への電源投入が停電等によって遮断されるときの動作を、図9に示すタイミングチャートに従って説明することにする。
パチンコ機10への電源投入が停電により遮断されると、交流電圧Aは低下しゼロとなると共に、各DC32V、DC12V、DC5Vは図9の通り低下する。電源基板50の交流電圧監視回路62の停電検出信号は、ハイレベルからロウレベルに変化する。パワーダウンリセット回路65により、DC32Vがバックアップ開始電圧レベルVに低下すると(ポイントP6)、NMI制御信号がリセットされ、DC32Vが遊技機部品保証電圧レベルV1に低下する。NMI制御信号のリセットから、所定時間T5(約100ms後)経過後に、リセット制御信号及び各基板のCPUリセット信号がリセットされる(ポイントP7)。これは、ソフト処理の時間を考慮し、停電検出信号を検知してから一定時間経過後に、強制リセット信号を出力するためである。これにより、主制御基板30のCPU66、払出制御基板31のCPU67、図柄制御基板32bのCPU70、その他サブ制御基板は、一斉に動作を停止させる。その後にDC32Vはスイッチング電源IC最低駆動電圧レベルV2に達し、DC5VがCPU動作保証最低電圧レベルV3となり、ゼロレベルに減衰する。従って、主制御基板30のCPU66、及び払出制御基板31のCPU67の各強制割り込み端子NMIがロウレベルとなり、CPU66及び67にノンマスカブルインターラプトがかかり、主制御基板30及び払出制御基板31の各NMI状態を停止させ、更に所定時間経過後に各制御基板のCPUの動作状態を停止させる。これにより、主制御基板30のCPU66は、現状のゲーム状態を示すデータを待避し、その後RAM80へのアクセスを禁止することができる。又、払出制御基板31のCPU67は、現状の賞球払い出し状態及び玉貸しの払い出し状態を示すデータを待避し、その後、払出制御基板31のRAMへのアクセスを禁止することができる。
Next, an operation when power-on to the
When the power supply to the
交流電圧監視回路62が出力する停電検出信号がハイレベルからロウレベルに変化する信号の立ち下げ時(ポイントP6)から約100ms後に出力するCPUリセット信号をハイレベルからロウレベルに変化させる(ポイントP7)。
ここで、前述したように、主制御基板30及び払出制御基板31各々のRAMはバッテリバックアップされており、電源遮断時もRAMに記憶されたデータは所定時間(本実施形態では、約3日間)記憶保持される。
The CPU reset signal output about 100 ms after the fall of the signal at which the power failure detection signal output from the AC
Here, as described above, the RAMs of the
前述したように、電源投入が遮断される場合、各制御基板が一斉にリセットされる。しかも、交流電圧監視回路62が出力する停電検出信号がハイレベルからロウレベルに変化してから約100ms後に必ずリセットされる。これにより、制御の統一化を図ることができ、主制御基板30が動作を停止しているにも係わらず発射モータ33aが駆動しているという弊害を未然に防止することができる。
As described above, when the power is turned off, the control boards are reset all at once. Moreover, the power failure detection signal output from the AC
ここで、本実施形態では、交流電圧監視回路62が出力する停電検出信号がハイレベルからロウレベルに変化してから約100ms後にCPUリセット信号を出力するよう構成したが、この100msの時は次のようにして算出されたものである。
払出制御基板31のCPU67は、強制割り込み端子NMIがロウレベルになったときから前述した停電処理ルーチンを実行するが、このとき玉切モータ31c及び玉貸モータ31dの駆動も停止する。これらのモータの駆動が停止する直前に払い出された遊技球があるときには、この落下中の遊技球を賞球払出スイッチ31a又は貸玉払出スイッチ31bにより検知する必要がある。従って、モータの駆動を停止したときに落下中の遊技球を各検出スイッチにより必ず検出できる時間を確保する必要がある。一方、この時間をあまり長く確保すると、IC駆動用の5V電源の電圧が低下し各検出スイッチにより検出できなくなる可能性がある。そこで、この両者の兼ね合いにより本実施形態では約100msと設定したのである。従って、各モータから検出スイッチまでの距離及び電圧の低下状態から適宜変更しても良い。要は、強制割り込み端子NMIがロウレベルになったときからICの駆動が保障されている時間内に落下中の遊技球を検出する時間を確保する構成とすれば良い。
Here, in the present embodiment, the CPU reset signal is output about 100 ms after the power failure detection signal output from the AC
The
以上、停電時、電源投入時等のハードウェアの動作を説明したが、次に図10に示す主要処理を説明する。この主要処理は、点線で囲んで示す通り、(1)電源投入処理、(2)本処理、(3)残余処理、(4)タイムアップ処理、及び(5)停電時処理等から構成されたものである。即ち、前述の電源投入処理はパワーオンリセット時に実行される処理(ステップS1〜S7)、本処理は遊技を実行するための処理(ステップS11〜S18)、残余処理は本処理終了後タイマリセットがかかるまで実行される処理(ステップS20〜S21)、タイムアップ処理はタイマ回路82からタイマ値を読み取ることでソフトウェア的にリセットをかけて所定時間毎に本処理を繰り返させるタイムアップ処理(ステップS22、S10)、停電時処理は停電検出に応答してループで待機する処理(ステップS19、S23、S24)である。つまりこの主要処理は、電源投入処理、即ち、電源投入時は初期化処理を行い、電源復旧時及び電源遮断時はバックアップ機能の作動設定を行った後、本処理と残余処理とから構成される通常時の処理を行い、タイムアップ時間(2.731ms)に応答して、通常時の処理を繰り返し、停電信号であるNMI制御信号が入力されていればデータを待避し処理を停止させるものである。
The hardware operation at the time of power failure, power-on, etc. has been described above. Next, the main processing shown in FIG. 10 will be described. This main processing is composed of (1) power-on processing, (2) main processing, (3) residual processing, (4) time-up processing, and (5) power failure processing, as indicated by the dotted line. Is. That is, the power-on process described above is a process executed at power-on reset (steps S1 to S7), this process is a process for executing a game (steps S11 to S18), and the remaining process is a timer reset after the end of this process. The processing executed until this time (steps S20 to S21) and the time-up processing are time-up processing (step S22, S22) in which the timer value is read from the
タイムアップ処理の目的は、タイマ回路82を設けてタイマ値が所定値を超えた場合に、必ず本処理の先頭に戻るようにするためである。それを実行することによって、遊技球が各入球口に入る時のスキャニングのタイミング、あるいは乱数の更新時期を均一化することができる。こうした均一化によって遊技球が普通電動役物(始動口)36に入るとき、これがランダムなタイミングになっている。各種乱数の更新の時期はランダムであり、どこを基準にするのか明確ではなくなる弊害があるので、一定周期毎に通常時の処理を実行することで対処するものである。ここでは、主制御基板30が暴走しないように基板をハードウェア的に対応させてはいるが、かりに暴走した場合、手動スイッチ又は電源プラグを抜くことによって強制的にリセットをかけるように設定してある。そして、このような強制リセットがかけられたならば、前述のバッテリーバックアップされた記憶状態をオールクリアし、初期化処理からスタートする。また、リセットスイッチの入力を設け、それが入ったらRAMのデータをバッテリーバックアップしてから初期化しスタートするリセット付き回路を設けている。以下、所要処理を詳細に説明する。
The purpose of the time-up process is to provide a
まず処理が開始されると、スタックポインタを設定し(ステップS1)、電源投入フラグはONか否かを判定する(ステップS2)。ここで、否定判定(NO)ならRAMを初期化し(ステップS5)、電源投入フラグをONに設定し(ステップS6)、通常の電源投入時の処理として作業領域に初期値を設定する初期化処理を行い(ステップS7)、処理はステップS8に移行する。ステップS2で肯定判定(YES)なら、バックアップ解除信号はONか否か判定し(ステップS3)、肯定判定(YES)ならステップS5〜S7を実行し、処理はステップS8に移行する。ステップS3で否定判定(NO)なら、バックアップ機能が作動したことを示すコマンドをランプ制御基板34に送信するバックアップスタート設定処理を行い(ステップS4)、処理はステップS8に移行する。
バックアップスタート設定処理は、停電発生時の遊技状態から遊技を再開するために、停電発生時に待避したデータに従って行なう設定処理である。
First, when processing is started, a stack pointer is set (step S1), and it is determined whether or not the power-on flag is ON (step S2). If the determination is negative (NO), the RAM is initialized (step S5), the power-on flag is set to ON (step S6), and an initialization process for setting an initial value in the work area as a normal power-on process is performed. (Step S7), and the process proceeds to Step S8. If the determination in step S2 is affirmative (YES), it is determined whether the backup release signal is ON (step S3). If the determination is affirmative (YES), steps S5 to S7 are executed, and the process proceeds to step S8. If the determination in step S3 is negative (NO), a backup start setting process for transmitting a command indicating that the backup function has been activated to the
The backup start setting process is a setting process performed in accordance with data saved when a power failure occurs in order to resume the game from the gaming state at the time of the power failure.
ステップS4又はS7の処理の後、NMIフラグをOFFに設定し(ステップS8)、タイマ回路82等の初期設定を行うタイマ割り込み設定処理を行い(ステップS9)、割り込みフラグ(以下、INTフラグという)をOFF(フラグをリセットする)に設定する(ステップS10)。
After the processing of step S4 or S7, the NMI flag is set to OFF (step S8), timer interrupt setting processing for initial setting of the
続いて、本処理、即ち、乱数更新処理(ステップS11)、入力処理(ステップS12)、特別電動役物処理(ステップS13)、普通電動役物処理(ステップS14)、確率変動判定図柄処理(ステップS15)、情報データ作成処理(ステップS16)、ポート出力処理(ステップS17)、タイマ更新処理(ステップS18)を行う。
乱数更新処理(ステップS11)は各種乱数の更新処理を行うものである。
入力処理(ステップS12)は各種スイッチの入力を監視するものである。
特別電動役物処理(ステップS13)は特別図柄の動作制御、大当り時の動作制御を行うことで、特別図柄表示装置32の制御を行うものである。
普通電動役物処理(ステップS14)は普通図柄の動作制御、当り時の動作制御を行うことで、普通図柄表示装置37の制御を行うものである。
確率変動判定図柄処理(ステップS15)は確率変動判定図柄の動作の制御を行うものである。
情報データ作成処理(ステップS16)はソレノイド、情報信号、試験装置用情報の出力データを作成するものである。
ポート出力処理(ステップS17)はソレノイド、情報信号、試験装置用情報を出力すると共に、払出制御基板31、ランプ制御基板34、音制御基板35、図柄制御基板32bにコマンドを送信するものである。
タイマ更新処理(ステップS18)は処理時間を制御するためのタイマ回路82を更新するものである。
Subsequently, this processing, that is, random number update processing (step S11), input processing (step S12), special electric accessory processing (step S13), ordinary electric accessory processing (step S14), probability variation determination symbol processing (step) S15), information data creation processing (step S16), port output processing (step S17), and timer update processing (step S18).
The random number update process (step S11) performs various random number update processes.
The input process (step S12) monitors inputs from various switches.
In the special electric accessory processing (step S13), the special
In the ordinary electric accessory processing (step S14), normal
The probability variation determination symbol process (step S15) controls the operation of the probability variation determination symbol.
The information data creation process (step S16) creates output data of solenoids, information signals, and test apparatus information.
The port output process (step S17) outputs a solenoid, an information signal, and information for a test apparatus, and transmits a command to the
The timer update process (step S18) updates the
ステップS18の処理後、NMIフラグはONか否か判定し(ステップS19)、肯定判断(YES)なら停電信号が入力されていると判断し、RAMへのアクセスを禁止し(ステップS23)、ソレノイド出力をOFFとし(ステップS24)、プログラム処理をループで待機させる。 After the process of step S18, it is determined whether the NMI flag is ON (step S19). If the determination is affirmative (YES), it is determined that a power failure signal has been input, and access to the RAM is prohibited (step S23). The output is turned off (step S24), and the program processing is waited in a loop.
ステップS19で否定判断(NO)なら停電信号が入力されていないと判断し、残余処理、即ち、初期値乱数更新処理(ステップS20)、図柄用乱数更新処理(ステップS21)を実行し、INTフラグはONか否か、即ち、タイムアップ(2.731ms経過)したか否かを判定し(ステップS22)、否定判断(NO)ならステップS20に回帰して残余処理を継続し、肯定判断(YES)なら残余処理を打ち切り、処理はステップS10に移行する。それによってソフトウェアによって割り込みを実行するのである。 If the determination in step S19 is negative (NO), it is determined that the power failure signal has not been input, the remaining process, that is, the initial value random number update process (step S20), the symbol random number update process (step S21) is executed, and the INT flag Is determined to be ON, that is, whether the time is up (2.731 ms has elapsed) (step S22). If the determination is negative (NO), the process returns to step S20 to continue the residual processing, and the affirmative determination (YES) ), The remaining process is terminated, and the process proceeds to step S10. As a result, an interrupt is executed by software.
図11(a)のタイムアップ設定処理は、2.731ms毎に割り込みが発生したことを示すINTフラグをONに設定する処理である。INTフラグがONに設定されると、図10のステップS22で肯定判断が成立し、処理はステップS10に移行することになる。図11(b)のバックアップ設定処理は停電信号が入力されたため、NMI割り込みが発生したことを示すNMIフラグをONに設定する処理である。NMIフラグがONに設定されると、図10のステップS19で肯定判定が成立し、処理はステップS23、S24に移行することになる。尚、バックアップ設定処理は、図9のNMI制御信号に示すように、NMI端子に入力される信号がオンからオフになる信号の立ち下りによりNMIフラグをONする(セットする)。 The time-up setting process in FIG. 11A is a process for setting an INT flag indicating that an interrupt has occurred every 2.731 ms. When the INT flag is set to ON, an affirmative determination is made in step S22 of FIG. 10, and the process proceeds to step S10. The backup setting process in FIG. 11B is a process for setting an NMI flag indicating that an NMI interrupt has occurred because a power failure signal has been input to ON. When the NMI flag is set to ON, an affirmative determination is made in step S19 in FIG. 10, and the process proceeds to steps S23 and S24. In the backup setting process, as shown by the NMI control signal in FIG. 9, the NMI flag is turned ON (set) at the falling edge of the signal that is input from the NMI terminal to the OFF state.
次に主制御基板30に格納されたプログラムのモジュール構成を説明する。図12ないし図19にメインモジュールを示し、図20に割り込みモジュールを示す。メインモジュールは、階層構造を備えたものである。即ち、メインモジュールから順次に下層のモジュールに移行して行き、一連の処理の流れに沿って実行してゆく構造となっている。メインルーチンを実行しこのまま一連の流れを実行する場合もあるし、初期設定を行ってそのまま乱数更新ということもある。例えば主要処理の中で入力処理というのがあるが、この入力処理の中には従属する多数のモジュールがあり、それらを処理の流れで適宜選択して行くのである。従って、通常時の処理において、各ステイタスによって処理の開始からの累積時間が違ってくるわけである。
Next, the module configuration of the program stored in the
これを詳細にいうと、第1階層としては主要処理(MAIN)がある。第2階層として、初期化処理(INTLIZ)、バックアップスタート設定処理(BKUSTR)、タイマ割り込み設定処理(INTENS)、乱数更新処理(RNDUP)、入力処理(INPA)、特別電動役物処理(TDZ)、普通電動役物処理(FDZ)、確率変動判定図柄処理(HZCHK)、情報データ作成処理(JYSET)、ポート出力処理(POUT)、タイマ更新処理(TMDEC)がある。 More specifically, the first layer includes main processing (MAIN). As the second hierarchy, initialization processing (INTLIZ), backup start setting processing (BKUSTR), timer interrupt setting processing (INTENS), random number update processing (RNDUP), input processing (INPA), special electric accessory processing (TDZ), There are a normal electric accessory process (FDZ), a probability variation determination symbol process (HZCHK), an information data creation process (JYSET), a port output process (POUT), and a timer update process (TMDEC).
第3階層ないし第5階層は次の通りである。初期化処理(INTLIZ)の下にRAM設定処理(RAMCHG)、バックアップスタート設定処理(BKUSTR)の下にランプポート出力処理(LMPPTO)、乱数更新処理(RNDUP)の下に初期値乱数更新処理(TZSUP)、特別図柄用乱数更新処理(TZRUP)、大当り図柄用乱数更新処理(TZAUP)、図柄用乱数更新処理(TZCTUP)、外れ図柄作成処理(TZJH)、確率変動判定図柄用乱数更新処理(HZCTUP)、普通図柄用乱数更新処理(FZRUP)、変動パターン用乱数更新処理(TZHUP)がある。
入力処理(INPA)の下に入力データ作成処理(SWDINP)、更にその下に入力データ作成処理1(SWCHK1)、入力データ作成処理2(SWCHK2)がある。
入力処理(INPA)の下に図柄用スイッチ処理(ZSWCK)、更にその下に第1種始動口スイッチ処理(TZSWCK)、普通電動役物規定入賞数監視処理(STUP)、普通図柄作動スイッチ処理(FZSWCK)がある。
入力処理(INPA)の下に特別電動役物用スイッチ処理(YSWCK)、更にその下にカウントスイッチ処理(CTSW)、役物連続作動スイッチ処理(VSW)、更にその下にRAM設定処理(RAMCHG)がある。
入力処理(INPA)の下に賞球更新処理(SYCTCK)、更にその下に賞球カウンタ1更新処理(SYUP1)、賞球カウンタ2更新処理(SYUP2)、賞球カウンタ3更新処理(SYUP3)がある。
入力処理(INPA)の下に賞球制御スイッチ処理(PAYIN)、更にその下に賞球センサの監視処理(PAYCK1)、更にその下に賞球センサカウンタ更新処理(SNSCHK)、ランプポート出力処理(LMPPTO)がある。
賞球制御スイッチ処理(PAYIN)の下に球切れスイッチ処理(PAYCK2)、更にその下にランプポート出力処理(LMPPTO)、賞球データポート出力処理(PAYPTO)がある。
賞球制御スイッチ処理(PAYIN)の下にマンタンスイッチ処理(PAYCK3)、更にその下にランプポート出力処理(LMPPTO)及び賞球データポート出力処理(PAYPTO)がある。
特別電動役物処理(TDZ)の下に特別図柄処理(TZCHK)及び大当り動作処理(TDYAK)がある。
特別図柄処理(TZCHK)の下に特別図柄待機中処理(TZWAIT)、特別図柄変動中処理(TZHEND)、及び特別図柄停止表示中処理(TZJUDG)があり、それらの下に、特別図柄保留シフト処理(TSHFT)、大当り判定処理(TZCHU)、特別図柄パターン設定処理1(TPTST1)、RAM設定処理(RAMCHG)、特別図柄パターン設定処理2(TPTST2)、RAM設定処理(RAMCHG)がある。
大当り動作処理(TDYAK)の下に大当り初回インターバル処理(TDFAN)、大当り開放処理(TDKAI)、大当りインターバル処理(TDINT)、大当り終了処理(TDEND)があり、それらの下に、大入賞口開放設定処理(OPENST)、及びRAM設定処理(RAMCHG)がある。
普通電動役物処理(FDZ)の下に普通図柄処理(FZCHK)、当り動作処理(FDYAK)がある。
普通図柄処理(FZCHK)の下に普通図柄待機中処理(FZWAIT)、普通図柄変動中処理(FZHEND)、普通図柄停止表示中処理(FZJUDG)があり、それらの下に、普通図柄保留シフト処理(FSHFT)、当り判定処理(FZCHU)、普通図柄パターン設定処理(FPTSET)、RAM設定処理(RAMCHG)がある。
当り動作処理(FDYAK)の下に、当りインターバル処理(FDFAN)、当り開放処理(FDEND)、当り終了処理(FDEND)がある。
確率変動判定図柄処理(HZCHK)の下に確率変動判定図柄待機中処理(HZWAIT)、確率変動判定図柄変動中処理(HZHEND)、確率変動判定図柄停止表示中処理(HZJUDG)がある。
情報データ作成処理(JYSET)の下に始動口情報作成処理(SIDJST)、ソレノイドデータ作成処理(SOLSET)、試験装置用情報データ作成処理(TSTJST)がある。
ポート出力処理(POUT)の下にLCD出力処理(LCDOUT)、効果音出力処理(SNDOUT)、ランプデータ出力処理(LMPOUT)、保留データコマンド出力処理(HORDUT)、賞球データ出力処理(PAYCHK)があり、それらの下に、特別図柄用コマンド送信処理(TZDOUT)、普通図柄用コマンド送信処理(FDOUT)、確率変動判定図柄用コマンド送信処理(HZDOUT)、ランプポート出力処理(LMPPTO)、賞球データポート出力処理(PAYPTO)がある。
更に、特別図柄用コマンド送信処理(TZDOUT)、普通図柄用コマンド送信処理(FZDOUT)、確率変動判定図柄用コマンド送信処理(HZDOUT)の下に、LCDポート出力処理(LCDPTO)がある。
主要処理(MAIN)の下に第3階層として、初期値乱数更新処理(TZSUP)、図柄用乱数更新処理(TZCTUP)がある。
The third to fifth layers are as follows. RAM setting process (RAMCHG) under initialization process (INTLIZ), ramp port output process (LMPPTO) under backup start setting process (BKUSTR), initial value random number update process (TZSUP) under random number update process (RNDUP) ), Special symbol random number update processing (TZRUP), jackpot symbol random number update processing (TZAUP), symbol random number update processing (TZCTUP), outlier symbol creation processing (TZJH), probability variation determination symbol random number update processing (HZCTUP) , Normal symbol random number update processing (FZRUP) and variation pattern random number update processing (TZHUP).
Below the input process (INPA), there is an input data creation process (SWDINP), and below that there is an input data creation process 1 (SWCHK1) and an input data creation process 2 (SWCHK2).
Below the input process (INPA) is the symbol switch process (ZSWCK), and further below it is the first type start port switch process (TZSWCK), the normal electric character prescribed winning number monitoring process (STUP), and the normal symbol operation switch process ( FZSWCK).
Under the input process (INPA), the special electric accessory switch process (YSWCK), further below the count switch process (CTSW), the accessory continuous operation switch process (VSW), and further below the RAM setting process (RAMCHG) There is.
Below the input process (INPA), a prize ball update process (SYCTCK), and further below, a prize ball counter 1 update process (SYUP1), a prize ball counter 2 update process (SYUP2), and a prize ball counter 3 update process (SYUP3). is there.
Under the input process (INPA), the prize ball control switch process (PAYIN) is further followed by the prize ball sensor monitoring process (PAYCK1), and further below it is the prize ball sensor counter update process (SNSCHK) and the lamp port output process ( LMPPTO).
Below the prize ball control switch process (PAYIN), there is a ball break switch process (PAYCK2), and further below there is a lamp port output process (LMPPTO) and a prize ball data port output process (PAYPTO).
Below the prize ball control switch process (PAYIN), there is a mantan switch process (PAYCK3), and below that, there is a lamp port output process (LMPPTO) and a prize ball data port output process (PAYPTO).
There is a special symbol process (TZCHK) and a big hit operation process (TDYAK) under the special electric accessory process (TDZ).
Under special symbol processing (TZCHK), there are special symbol waiting processing (TZWAIT), special symbol changing processing (TZHEND), and special symbol stop display processing (TZJUDG). Under these special symbol hold shift processing (TSHFT), jackpot determination processing (TZCHU), special symbol pattern setting processing 1 (TPTST1), RAM setting processing (RAMCHG), special symbol pattern setting processing 2 (TPTST2), and RAM setting processing (RAMCHG).
Under the jackpot action process (TDYAK), there are a jackpot first interval process (TDDFAN), a jackpot release process (TDKAI), a jackpot interval process (TDINT), and a jackpot end process (TDEND). There are processing (OPENST) and RAM setting processing (RAMCHG).
There are a normal symbol process (FZCHK) and a hit action process (FDYAK) under the normal electric accessory process (FDZ).
Under normal symbol processing (FZCHK), there are normal symbol waiting processing (FZWAIT), normal symbol changing processing (FZHEND), and normal symbol stop display processing (FZJUDG). Below these, normal symbol hold shift processing (FZJUDG) FSHFT), hit determination processing (FZCHU), normal symbol pattern setting processing (FPTSET), and RAM setting processing (RAMCHG).
Under the hit operation process (FDYAK), there are a hit interval process (FDFAN), a hit release process (FEND), and a hit end process (FEND).
Under the probability variation determination symbol processing (HZCHK), there are a probability variation determination symbol standby processing (HZWAIT), a probability variation determination symbol variation processing (HZHEND), and a probability variation determination symbol suspension display processing (HZJUDG).
Under the information data creation process (JYSET), there are a start port information creation process (SIDJST), a solenoid data creation process (SOLSET), and a test apparatus information data creation process (TSTJST).
Below the port output process (POUT), an LCD output process (LCDOUT), a sound effect output process (SNDOUT), a ramp data output process (LMPOUT), a hold data command output process (HORDUT), and a prize ball data output process (PAYCHK) Under them, special symbol command transmission processing (TZDOUT), normal symbol command transmission processing (FDOUT), probability variation determination symbol command transmission processing (HZDOUT), ramp port output processing (LMPPTO), prize ball data There is port output processing (PAYPTO).
Furthermore, an LCD port output process (LCDPTO) is provided under the special symbol command transmission process (TZDOUT), the normal symbol command transmission process (FZDOUT), and the probability variation determination symbol command transmission process (HZDOUT).
There are an initial value random number update process (TZSUP) and a design random number update process (TZCTUP) as the third layer under the main process (MAIN).
図20の通り、割り込みモジュールとしては前述したタイムアップ設定処理(INT)及びバックアップ設定処理(NMI)がある。 As shown in FIG. 20, the interrupt module includes the time-up setting process (INT) and the backup setting process (NMI) described above.
以上説明したとおり、本実施形態によれば、NMI端子のハードウェア割り込みと、ハードウェアによるINT割り込みとが競合することがないので、停電検出に伴うバックアップ等の停電時処理が適正に実行されると共に、乱数更新、タイマ更新及び各種スイッチ検出のタイミングを均一化でき、従来の乱数抽出の技術をそのまま利用することができる。 As described above, according to the present embodiment, the hardware interrupt at the NMI terminal and the hardware INT interrupt do not compete with each other, so that the power failure processing such as backup accompanying power failure detection is properly executed. At the same time, the timing of random number update, timer update, and detection of various switches can be made uniform, and the conventional random number extraction technique can be used as it is.
上述の変更形態として、図6の点線で示す通り、ハードウェアの暴走を阻止するウォッチドッグ回路90を付加した実施形態も実施可能である。ウォッチドッグ回路90はCPU66の監視用端子と接続され所定時間内にある信号がこなければCPU66が暴走したとみてリセットをかけるものである。ウォッチドッグ回路90で暴走を検出したときには、リセット端子に検出信号を入れて、バックアップRAMをオールクリアするよう構成されているが、主要処理に戻るように設定しても良い。
As the above-described modification, as shown by the dotted line in FIG. 6, an embodiment in which a watchdog circuit 90 for preventing hardware runaway can be added. The watchdog circuit 90 is connected to the monitoring terminal of the
他の変更形態として、INTフラグに代えて、図10の本処理及び残余処理の各ステップの処理時間を加算し、加算時間が所定時間を超えた場合に、本処理の先頭に戻る構成としても良い。各ステップの処理時間は概ね決まっているので、各ステップ毎に予め処理時間を設定しておき、各ステップが終了する毎にその処理時間を加算していくことにする。そして、この加算処理時間をタイムアップ設定時間と比較し、タイムアップ設定時間を超えた場合は、残余処理を打ち切り、加算処理時間をゼロにリセットし、本処理の先頭の処理に移行する。上述の通り、各ステップ毎に処理時間の予め設定した加算処理を実行しても良いし、他の態様として、例えば、ある処理の開始から終了までを実際にタイマでカウントアップし、それを加算しても良い。 As another modification, instead of the INT flag, the processing time of each step of the main processing and the residual processing in FIG. 10 is added, and when the addition time exceeds a predetermined time, the configuration returns to the top of the main processing. good. Since the processing time of each step is generally determined, a processing time is set in advance for each step, and the processing time is added every time each step is completed. Then, the addition processing time is compared with the time-up setting time. When the time-up setting time is exceeded, the remaining processing is aborted, the addition processing time is reset to zero, and the process proceeds to the first processing of this processing. As described above, a preset addition process time may be executed for each step, and as another aspect, for example, a timer is actually counted up from the start to the end of a process and added. You may do it.
以上、本発明の好適な実施の形態を説明したが、本発明は上述の実施の形態に限定されるものではなく、本発明の技術的思想を逸脱しない範囲で多くの技術的な設計変更を施し得ることができることは当然である。 The preferred embodiments of the present invention have been described above, but the present invention is not limited to the above-described embodiments, and many technical design changes can be made without departing from the technical idea of the present invention. Of course, it can be done.
10…パチンコ機 13…カードリーダ(プリペイドカードユニット)
22…遊技盤 24…発射ハンドル
24a…タッチスイッチ 24b…発射停止スイッチ
30…主制御基板 31…払出制御基板
31a…賞球払出スイッチ 31b…貸玉払出スイッチ
31c…玉切モータ 31d…玉貸モータ
32…特別図柄表示装置 32a…LCDパネルユニット(LCD)
32b…図柄表示装置制御基板(図柄制御基板)
33…発射制御基板 33a…発射モータ 34…ランプ制御基板
35…音制御基板 36…普通電動役物(始動口)
36a…第1種始動口スイッチ 37…普通図柄表示装置
40…大入賞口 40a…役物連続作動スイッチ(VSW)
40b…カウントスイッチ(カウントSW)
45…その他入賞口スイッチ 46…玉抜スイッチ
47…CR精算表示基板 48…タッチランプ
49…スピーカ 50…電源基板
61…パワーオンリセット回路 62…交流電圧監視回路
63…タイマ1回路 64…タイマ2回路
65…パワーダウンリセット回路
66,67,70,72,74,76…CPU(ワンチップマイコン)
68,69,71,73,75,77…オア回路
80…RAM 81…ROM 82…タイマ回路
90…ウォッチドッグ回路
10 ...
DESCRIPTION OF
32b ... design display control board (design control board)
33 ...
36a ... First-type
40b ... count switch (count SW)
45 ... Other
68, 69, 71, 73, 75, 77 ... OR
Claims (1)
電源投入時に、RAMを初期化する初期化処理、前記待避したデータに従って設定処理を行うバックアップスタート設定処理のいずれかを実行する電源投入時処理と、
該電源投入時処理を実行した後、複数のスイッチの入力状態を監視する入力処理及び乱数更新処理を含む遊技の進行に係る処理を行う本処理と、
該本処理の終了後に前記乱数の更新処理を行う残余処理と、
を実行する手段を有する主制御基板を備えた遊技機であって、
前記主制御基板は、
前記電源投入時処理を終了した後、前記本処理及び前記残余処理から構成される通常時の処理を実行する通常時処理実行手段と、
強制割り込み端子に入力されるNMI制御信号が変化することで、NMIフラグを設定するバックアップ設定処理と、
時間の計時を行うタイマ手段と、
該タイマ手段により計時される前記通常時の処理の開始からの経過時間が設定時間を経過したことを示すINTフラグを設定するタイムアップ判定手段と、
該タイムアップ判定手段によりINTフラグが設定されている場合に、前記残余処理を強制的に打ち切り、打ち切り後の処理を前記通常時の処理の先頭へ回帰させる処理回帰手段と、
前記NMIフラグの有無を判断する処理を前記INTフラグの有無を判定する処理よりも先に実行することにより、前記NMIフラグが設定されている場合には前記INTフラグの有無に関わらず前記通常時の処理を強制的に停止させ、前記停電時処理に移行させる停電時処理移行手段と、
を備えたことを特徴とする遊技機。 During a power outage, a power outage process that saves data for resuming the game from the gaming state at the time of the power outage,
A power-on process for executing any of an initialization process for initializing the RAM at the time of power-on, and a backup start setting process for performing a setting process according to the saved data;
After executing the power-on processing, the main processing for performing processing related to the progress of the game, including input processing for monitoring input states of a plurality of switches and random number updating processing;
A residual process for updating the random number after the process is completed;
A gaming machine comprising a main control board having means for executing
The main control board is
Normal time processing execution means for executing normal processing composed of the main processing and the remaining processing after the power-on processing is terminated ;
A backup setting process for setting the NMI flag by changing the NMI control signal input to the forced interrupt terminal;
Timer means for measuring time; and
Time-up determination means for setting an INT flag indicating that the elapsed time from the start of the normal processing timed by the timer means has passed a set time;
A process regression means for forcibly aborting the residual process when the INT flag is set by the time-up determination means, and returning the process after the abort to the head of the normal process;
If the NMI flag is set by executing the process for determining the presence or absence of the NMI flag before the process for determining the presence or absence of the INT flag, the normal time is determined regardless of the presence or absence of the INT flag. Forcibly stopping the processing of the power failure, and shifting to the power failure processing, the power failure processing transition means,
A gaming machine characterized by comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004309328A JP3817639B2 (en) | 2004-10-25 | 2004-10-25 | Game machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004309328A JP3817639B2 (en) | 2004-10-25 | 2004-10-25 | Game machine |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000105492A Division JP3661765B2 (en) | 2000-04-06 | 2000-04-06 | Game machine |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006042832A Division JP4085145B2 (en) | 2006-02-20 | 2006-02-20 | Game machine |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2005021722A JP2005021722A (en) | 2005-01-27 |
JP2005021722A5 JP2005021722A5 (en) | 2006-04-20 |
JP3817639B2 true JP3817639B2 (en) | 2006-09-06 |
Family
ID=34191946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004309328A Expired - Fee Related JP3817639B2 (en) | 2004-10-25 | 2004-10-25 | Game machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3817639B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ATE127226T1 (en) * | 1992-06-09 | 1995-09-15 | Avl Medical Instr Ag | BODY FOR FORMING AT LEAST ONE ELECTRODE AND/OR A SENSOR. |
JPH1085421A (en) * | 1996-09-17 | 1998-04-07 | Sankyo Kk | Game machine |
-
2004
- 2004-10-25 JP JP2004309328A patent/JP3817639B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005021722A (en) | 2005-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3444485B2 (en) | Gaming machine | |
JP3654101B2 (en) | Game machine | |
JP4356957B2 (en) | Game machine | |
JP5282211B2 (en) | Game machine | |
JP2003236091A (en) | Game machine | |
JP4632375B2 (en) | Game machine | |
JP3811794B2 (en) | Game machine | |
JP3588035B2 (en) | Gaming machine | |
JP2003180963A (en) | Game machine | |
JP3994186B2 (en) | Pachinko machine | |
JP2008194512A (en) | Game machine | |
JP2001300013A (en) | Game machine | |
JP4085145B2 (en) | Game machine | |
JP4756164B2 (en) | Game machine | |
JP3817639B2 (en) | Game machine | |
JP3661765B2 (en) | Game machine | |
JP4048250B2 (en) | Game machine | |
JP2007229041A (en) | Game machine | |
JP2010227717A (en) | Game machine | |
JP4756168B2 (en) | Game machine | |
JP2006026441A (en) | Game machine | |
JP2004008502A (en) | Game machine | |
JP4882043B2 (en) | Pachinko machine | |
JP2001300014A (en) | Game machine | |
JP4590495B2 (en) | Pachinko machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060124 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060220 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20060310 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060417 |
|
TRDD | Decision of grant or rejection written | ||
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20060517 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20060519 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060525 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120623 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120623 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150623 Year of fee payment: 9 |
|
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: 20150623 Year of fee payment: 9 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |