JP3817639B2 - Game machine - Google Patents

Game machine Download PDF

Info

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
Application number
JP2004309328A
Other languages
Japanese (ja)
Other versions
JP2005021722A5 (en
JP2005021722A (en
Inventor
敏博 内ヶ島
隆寛 内ヶ島
Original Assignee
株式会社高尾
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 株式会社高尾 filed Critical 株式会社高尾
Priority to JP2004309328A priority Critical patent/JP3817639B2/en
Publication of JP2005021722A publication Critical patent/JP2005021722A/en
Publication of JP2005021722A5 publication Critical patent/JP2005021722A5/ja
Application granted granted Critical
Publication of JP3817639B2 publication Critical patent/JP3817639B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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 claim 1 is a power failure process for saving data for resuming a game from a gaming state at the time of a power failure, an initialization process for initializing a RAM when power is turned on, and the saving process. Including a power-on process for executing any one of the backup start setting processes for performing the setting process according to the data, and an input process for monitoring the input states of a plurality of switches after executing the power-on process and a random number update process. A gaming machine comprising a main control board having means for executing a main process for performing a process relating to the progress of a game and a residual process for performing an update process of the random number after the main process ends, wherein the main control N substrate, after completion of the power-on process, the normal processing execution section for executing the normal constructed from the present process and the remaining process, which is input to the forced interruption terminal By I control signal is changed, the backup setting processing for setting the NMI flag, and timer means for performing measurement of the time, the elapsed time is the set time from the start of processing at the time of the normal clocked by said timer means a time-up determining means for setting the INT flag indicating that elapsed, if the INT flag by the time-up determining means is set, abort the remaining processing to force, the process after discontinuation during the normal If the NMI flag is set by executing processing regression means for returning to the beginning of processing and processing for determining the presence or absence of the NMI flag before processing for determining the presence or absence of the INT flag Power failure processing transition means for forcibly stopping the normal processing regardless of the presence or absence of the INT flag and shifting to the power failure processing A game machine characterized by comprising a.

前記構成を有する請求項1に記載の遊技機は、上記課題を好適に解決できると共に、乱数更新タイミング(タイマの更新タイミング)及び各種スイッチの検出タイミングを均一化でき、入賞又は通過のタイミングがランダムであるという従来の当否乱数抽出の技術をそのまま利用することができる。   The gaming machine according to claim 1 having the above-mentioned configuration can solve the above-mentioned problem suitably, can equalize random number update timing (timer update timing) and detection timing of various switches, and randomize winning or passing timing Therefore, it is possible to directly use the conventional random number extraction technique.

サブ制御基板とは、景品払い出し制御基板を少なくとも含むものであって、パチンコ遊技機にあっては図柄の変動表示を行う図柄制御基板等を含んでも良い。景品払い出し制御基板とは、景品を払い出す駆動装置を制御する基板であって、パチンコ遊技機では景品としての景品球(「賞品球」又は「賞球」ともいう。)を払い出すモータ又はソレノイド等を駆動制御する基板をいい、スロットル遊技機では景品としてのコインを払い出すホッパーを駆動制御する基板をいう。   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 pachinko machine 10 according to the present embodiment includes a rectangular outer frame 11 and a front frame 12. A known card reader (prepaid card unit) 13 is provided on the left side of the outer frame 11. It has been. The front frame 12 is rotatably attached to the outer frame 11 by hinges 14 at the upper and lower left ends.
An upper plate 15 is provided below the front frame 12, and a lending button 16, a settlement button 17 and a balance display unit 18 are provided on the upper plate 15. When a prepaid card is inserted into the card slot 19 of the card reader 13, the stored balance is displayed on the balance display unit 18, and when the lending button 16 is pressed, the game ball is lent out and the game ball is loaded from the payout slot of the upper plate 15. Discharged.

前面枠12には、窓状の金枠20が前面枠12に対して解放可能に取り付けられている。この金枠20には板ガラス21が二重にはめ込まれている。板ガラス21の奥には遊技盤22が収納されている。
上皿15の前面枠12下部には、下皿23が設けられ、下皿23の右側には発射ハンドル24が取り付けられている。この発射ハンドル24の外周には、図示しない回動リングが擁され、時計方向に回動すれば遊技球を遊技盤22上に発射することができる。
上皿15と下皿23とは連結されていて、上皿15が遊技球で満杯状態になれば下皿23に遊技球を誘導するよう構成されている。
A window-shaped metal frame 20 is removably attached to the front frame 12 with respect to the front frame 12. A plate glass 21 is double fitted in the metal frame 20. A game board 22 is stored behind the plate glass 21.
A lower plate 23 is provided at the lower part of the front frame 12 of the upper plate 15, and a firing handle 24 is attached to the right side of the lower plate 23. A rotation ring (not shown) is held on the outer periphery of the launch handle 24, and the game ball can be launched onto the game board 22 by rotating clockwise.
The upper plate 15 and the lower plate 23 are connected to each other, and are configured to guide the game ball to the lower plate 23 when the upper plate 15 is full of game balls.

図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 pachinko machine 10 viewed from the back side. As shown in the drawing, a mechanism board 26 to which the above-described game board 22 is detachably attached is housed in the above-described outer frame 11. The mechanism panel 26 is provided with a ball tank 27, a guide rod 28, and a payout device 29 from above. With this configuration, if there is a winning game ball at the winning slot on the game board 22, a predetermined number of gaming balls can be discharged from the ball tank 27 via the guide rod 28 to the above-described upper plate 15 by the payout device 29. .
In addition, the main control board 30 and the payout control board 31 can be attached to and detached from the mechanism board 26. The game board 22 has a special symbol display device 32, the launch control board 33 in the lower left part of the front frame, and the special symbol display device 32. External connection terminal boards 42 are respectively attached to the left side of each.

次に図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 game board 22 will be described with reference to FIG.
The game board 22 has an LCD panel unit (hereinafter referred to as “LCD”) 32a constituting a special symbol display device 32 at the center, a normal electric accessory 36 as a first type starting port at the lower part, and an ordinary upper part of the LCD 32a. The symbol display device 37, the normal symbol operation gates 38 and 39 on the left and right of the LCD 32a used to start the variation of the symbol displayed on the normal symbol display device 37, the large winning opening 40 below the normal electric accessory 36, and the bottom bottom out A mouth 41, other various winning holes, a windmill, a game nail (not shown), and the like are provided.
With this configuration, when the above-described launch handle 24 is rotated, the launch motor 33a (see FIG. 4) driven by the launch control board 33 is driven, and the game ball on the upper plate 15 is played through the guide rail 22 via the guide rail. Fired up. If the launched game ball wins each winning hole, the game ball is taken into the back of the board as a safe ball, and if not won, it is taken into the back of the board through the out port 41 as well.

続いて前述したパチンコ機10の電気的構成を図4のブロック図を用いて説明する。
パチンコ機10の電気回路は、図示するように、前述した主制御基板30、払出制御基板31、特別図柄表示装置32、発射制御基板33、ランプ制御基板34及び音制御基板35等から構成されている。尚、この回路図には、信号の受け渡しを行うための所謂中継基板等は記載していない。
Next, the electrical configuration of the pachinko machine 10 described above will be described with reference to the block diagram of FIG.
As shown in the figure, the electric circuit of the pachinko machine 10 includes the main control board 30, the payout control board 31, the special symbol display device 32, the launch control board 33, the lamp control board 34, the sound control board 35, and the like. Yes. In this circuit diagram, a so-called relay board for transferring signals is not described.

主制御基板30は、CPU66、遊技制御プログラムを記憶したROM81、演算等の作業領域として働くRAM80及びタイマ回路82等を内蔵した8ビットワンチップマイコンを中心とした論理演算回路として構成され、この他各基板又は各種スイッチ類及び各種アクチュエータ類との入出力を行うための外部入出力回路も設けられている。
主制御基板30の入力側には、第1種始動口スイッチ36a、普通図柄作動スイッチ38a及び39a、役物連続作動スイッチ(以下、単に「Vスイッチ」と呼ぶ)40a、カウントスイッチ40b、満タンスイッチ43、補給スイッチ44、複数のその他入賞口スイッチ45、玉抜スイッチ46等が接続されている。また、出力側には、大入賞口ソレノイド40c、Vソレノイド40d、普通役物ソレノイド36b及び外部接続端子基板42等が接続されている。
The main control board 30 is configured as a logic operation circuit centered on an 8-bit one-chip microcomputer incorporating a CPU 66, a ROM 81 storing a game control program, a RAM 80 serving as a work area for operations, a timer circuit 82, and the like. External input / output circuits for inputting / outputting from / to each substrate or various switches and various actuators are also provided.
On the input side of the main control board 30 are a first type start port switch 36a, normal symbol operation switches 38a and 39a, an accessory continuous operation switch (hereinafter simply referred to as "V switch") 40a, a count switch 40b, a full tank A switch 43, a replenishment switch 44, a plurality of other prize opening switches 45, a ball removal switch 46, and the like are connected. On the output side, a big prize opening solenoid 40c, a V solenoid 40d, a normal accessory solenoid 36b, an external connection terminal board 42, and the like are connected.

第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 start port switch 36a is in the ordinary electric accessory 36 on the game board 22 described above, the normal symbol operation switches 38a and 39a are in the normal symbol operation gates 38 and 39, respectively, and the V switch 40a is in the big prize opening 40. In a specific area, the count switch 40b is also in the big prize opening 40, the full tank switch 43 is in the lower tray 23, the replenishment switch 44 is in the ball tank 27, and the other prize opening switches 45 are the ordinary electric accessory 36 and the big prize opening 40. Each winning opening on the board surface and the ball removal switch 46 are attached in the vicinity of the payout device 29. Here, the V switch 40a wins the prize winning opening 40 when the game ball that has won the prize winning opening 40 has passed the special device operating area (hereinafter referred to as "special area"). For all game balls, the full tank switch 43 indicates that the game ball is full in the lower plate 23, the replenishment switch 44 indicates that there is a game ball in the ball tank 27, and the other prize opening switch 45. Indicates that a game ball has been won at each prize slot on the board other than the ordinary electric accessory 36 and the big prize slot 40, and a ball removal switch 46 is used to detect that the ball removal operation button has been pressed. It is.
The large winning opening solenoid 40c connected to the output side is used in the large winning opening 40, the V solenoid 40d is used in a special area in the large winning opening 40, and the ordinary accessory solenoid 36b is used for opening and closing the ordinary electric accessory 36. Is.

特別図柄表示装置32は、前述したLCD32aと、このLCD32aを駆動制御する図柄表示装置制御基板(以下、単に「図柄制御基板」(「画像制御基板」ともいう。)という。)32b、最大4個まで始動記憶数を表示する特別図柄始動記憶表示装置32c(図3参照)及びバックライト及びインバータ基板等の付属ユニットから構成されている。図柄制御基板32bは、前述した主制御基板30と同様8ビットワンチップマイコンを中心とした論理演算回路として構成されている。   The special symbol display device 32 includes the above-described LCD 32a and a symbol display device control board (hereinafter simply referred to as “design control board” (hereinafter also referred to as “image control board”)) 32b for driving and controlling the LCD 32a. The special symbol start memory display device 32c (see FIG. 3) for displaying the start memory number and the attached unit such as a backlight and an inverter board. Similar to the main control board 30 described above, the symbol control board 32b is configured as a logic operation circuit centered on an 8-bit one-chip microcomputer.

払出制御基板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 main control board 30, the payout control board 31 is configured as a logical operation circuit using a microcomputer. The input circuit is connected to a prize ball payout switch 31a and a ball rental payout switch 31b, and the output circuit is cut into balls. A motor 31c and a ball lending motor 31d are connected. Further, the card reader 13 described above is bidirectionally connected to the payout control board 31, and a CR settlement display board 47 is connected to the card reader 13. The prize ball payout switch 31 a is also connected to the main control board 30.
The ball cutting motor 31c and the ball lending motor 31d are provided in the above-described payout device 29, and flow down a predetermined number of game balls supplied from the guide rod 28. A game ball paid out from the ball cutting motor 31c is detected by a prize ball payout switch 31a, and a game ball paid out from the ball rental motor 31d is detected by a ball rental payout switch 31b.
The CR adjustment display board 47 includes the lending button 16, the adjustment button 17, and the balance display unit 18 of the upper plate 15 described above. The CR adjustment display board 47 may be connected to the payout control board 31.

前記構成により主制御基板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 main control board 30 with the above configuration, the payout control board 31 that has received this data adds the number of prize balls indicated by the transmitted data to the unpaid prize ball data. Are stored as new prize ball data, and after subtracting a predetermined number of game balls as prize balls, a subtraction process is executed from the prize ball data stored in the game balls detected by the prize ball payout switch 31a to obtain new prize balls. The payout process is executed until the value of the prize ball data becomes zero.
On the other hand, when the lending button 16 on the CR adjustment display board 47 is pressed, a 1-pulse signal is transmitted from the card reader 13 to the payout control board 31 in the case of 100 yen, and a 5-pulse signal is transmitted in the case of 500 yen. The The payout control board 31 executes a process of paying out the lending balls by drivingly controlling the ball lending motor 31d until 25 game balls are detected by the lending payout switch 31b for one pulse signal.

発射制御基板33は、遊技者が操作する発射ハンドル24の回動量に応じて発射モータ33aを駆動制御するものであり、その他遊技者が発射停止スイッチ24bを押下したとき発射を停止させたり、発射ハンドル24に内蔵されたタッチスイッチ24aがオン状態のときタッチランプ48を点灯させるためのものである。
タッチスイッチ24aは発射ハンドル24に内蔵され遊技者が発射ハンドル24に触れていることを検出する。
The launch control board 33 drives and controls the launch motor 33a in accordance with the amount of rotation of the launch handle 24 operated by the player. When the player presses the launch stop switch 24b, the launch control board 33 stops firing or launches. When the touch switch 24a built in the handle 24 is in an ON state, the touch lamp 48 is turned on.
The touch switch 24 a is built in the firing handle 24 and detects that the player is touching the firing handle 24.

ランプ制御基板34は主としてトランジスタ等の駆動素子から構成されており、主制御基板30からの指令を受けて普通図柄用保留ランプ及び普通図柄用LEDを備えた普通図柄表示装置37、大当りランプやエラーランプ等のランプ類及びLED等の各種ランプ類を点灯表示させるためのものである。   The lamp control board 34 is mainly composed of a drive element such as a transistor. Upon receiving a command from the main control board 30, a normal symbol display device 37 having a normal symbol holding lamp and a normal symbol LED, a big hit lamp and an error. This is for lighting and displaying lamps such as lamps and various lamps such as LEDs.

音制御基板35は音源IC及びアンプ等から構成されており、主制御基板30の指令を受けてスピーカ49を駆動制御するためのものである。   The sound control board 35 includes a sound source IC, an amplifier, and the like, and is used to drive and control the speaker 49 in response to a command from the main control board 30.

前述した特別図柄表示装置32、払出制御基板31、発射制御基板33、ランプ制御基板34及び音制御基板35への送信は、主制御基板30からのみ送信することができるよう一方向通信の回路として構成されている。この一方向通信の回路は、インバータ回路又はラッチ回路を用いて具現化することができる。   Transmission to the special symbol display device 32, the payout control board 31, the launch control board 33, the lamp control board 34, and the sound control board 35 described above is a one-way communication circuit so that transmission can be performed only from the main control board 30. It is configured. This one-way communication circuit can be realized using an inverter circuit or a latch circuit.

前記主制御基板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 main control board 30, the payout control board 31, the design control board 32b, the launch control board 33, the lamp control board 34, the sound control board 35, etc. Is supplied.
The power supply board 50 is connected to a 24V AC power supply 51, diode bridge circuits 52 and 53 connected to the 24V AC power supply 51, full wave 24V generation circuit 54 and DC32V generation circuit 55 connected to the diode bridge circuit 52, and diode bridge circuit 53. DCP2V generation circuit 56 and DC5V generation circuit 57 connected to the DC5V generation circuit 57, and a VBB power supply generation circuit 58 that is connected to the DC5V generation circuit 57 and generates a DC5V backup power supply by a capacitor, and supplies necessary power to each control board. It is configured as follows.
The VBB power supply generation circuit 58 is connected to the main control board 30 and the payout control board 31 and supplies a backup power supply VBB.

ここで、図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 power supply substrate 50 includes a power-on reset circuit 61, an AC voltage monitoring circuit 62, a timer 1 circuit 63, a timer 2 circuit 64, and a power-down reset circuit 65.
The output side of the AC voltage monitoring circuit 62 is connected to the forced interrupt terminal NMI of the CPU 66 of the main control board 30 and the forced interrupt terminal NMI of the CPU 67 of the payout control board 31.
A power-down reset circuit 65 and a timer 2 circuit 64 are connected via an OR circuit 68 to the reset terminal RES of the CPU 66 of the main control board 30.
A power-down reset circuit 65 and a timer 1 circuit 63 are connected to a reset terminal RES of the CPU 67 of the payout control board 31 via an OR circuit 69.
A power-down reset circuit 65 and a power-on reset circuit 61 are connected via an OR circuit 71 to the reset terminal RES of the CPU 70 of the symbol control board 32b.
Similarly, a power-down reset circuit 65 and a power-on reset circuit 61 are also connected to the CPUs 72, 74, and 76 of the launch control board 33, the lamp control board 34, and the sound control board 35 via OR circuits 73, 75, and 77, respectively. It is connected.
The VBB power generation circuit 58 is connected to the backup terminal VBB (RAM) of the CPU 66 of the main control board 30 and the backup terminal VBB (RAM) of the CPU 67 of the payout control board 31.

パワーオンリセット回路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 reset circuit 61 includes a voltage monitoring IC 8, resistors R38, R39 and R40, bypass capacitors C22 and C23, and the like. The VS terminal that is the input terminal of the voltage monitoring IC 8 is supplied with a DC12V power source divided by the resistors R39 and R40, and the RESET terminal that is the output terminal is pulled up to DC5V by the resistor R38.
With the above configuration, the RESET terminal, which is the output terminal of the voltage monitoring IC 8, changes the reset signal 1 to be output from the high level to the low level when the voltage of the DC12V power supply decreases to 7.20-7.75V or less.

タイマ1回路63は、パワーオンリセット回路61が出力するCPUリセット信号1を、ハイレベルからロウレベルに変化させたときから所定時間(本実施形態では、100ms)経過後に出力するCPUリセット信号2をハイレベルからロウレベルに変化させる遅延回路として構成されている。
タイマ2回路64は、パワーオンリセット回路61が出力するCPUリセット信号1を、ハイレベルからロウレベルに変化させたときから所定時間(本実施形態では、300ms)経過後に出力するCPUリセット信号3をハイレベルからロウレベルに変化させる遅延回路として構成されている。
The timer 1 circuit 63 sets the CPU reset signal 2 output after a predetermined time (in this embodiment, 100 ms) from when the CPU reset signal 1 output from the power-on reset circuit 61 is changed from high level to low level. The delay circuit is configured to change from a level to a low level.
The timer 2 circuit 64 sets the CPU reset signal 3 output after a predetermined time (300 ms in this embodiment) from when the CPU reset signal 1 output from the power-on reset circuit 61 is changed from high level to low level. The delay circuit is configured to change from a level to a low level.

パワーダウンリセット回路65は、交流電圧監視回路62が出力する停電検出信号を、ハイレベルからロウレベルに変化させたときから所定時間(本実施形態では、100ms)経過後に出力するCPUリセット信号4をハイレベルからロウレベルに変化させる遅延回路として構成されている。   The power-down reset circuit 65 sets the CPU reset signal 4 output after a predetermined time (in this embodiment, 100 ms) from when the power failure detection signal output from the AC voltage monitoring circuit 62 is changed from high level to low level. The delay circuit is configured to change from a level to a low level.

前記構成により、パチンコ機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 main control board 30, the payout control board 31, and other sub-control boards other than the payout control board 31 when the power is supplied to the pachinko machine 10, that is, the symbol control board 32b, the launch control board 33, the lamp The operation of each CPU or the rising state of the control operation of each of the control board 34 and the sound control board 35 will be described with reference to the timing chart shown in FIG.
When the pachinko machine 10 is turned on, the power supply board 50 generates DC32V, DC12V, DC5V, and battery backup power supply (VBB). Each generated power supply is supplied to each control board. The sub-control board including the symbol control board 32b, the payout control board 31, and the power-on reset circuit 61, the timer 1 circuit 63, and the timer 2 circuit 64 The main control board 30 performs an operation start-up process as follows.

図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 reset circuit 61 does not immediately output a reset control signal even when the DC5V power supply reaches the reference value LV2. In this embodiment, the power-on reset time T2 rises after the backup start timing by the backup power supply VBB. = After about 100 ms, the reset control signal, which is the output signal of the power-on reset circuit 61, changes from the low level to the high level (point P3), and each sub-control board such as the symbol control board 32b excluding the payout control board 31 The reset signal 1 changes from the low level to the high level (point P3), the reset state is canceled, and the operation related to the control is started. That is, for all the sub-control boards except the payout control board 31, the reset signal from the power supply board 50 is directly input to the reset terminal of each CPU, and no delay time is set.

タイマ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 timer 1 circuit 63, T3 = about 200 ms elapses after the DC5V power supply voltage becomes the reference value LV2, that is, 100 ms elapses after the CPU reset signal 1 output from the power-on reset circuit 61 changes from low level to high level. The CPU reset signal 2 to be output later is changed from the low level to the high level (point P4). This is set in consideration of the reset signal delay time and the security check time in the payout control board 31. The CPU 67 of the payout control board 31 to which the CPU reset signal 2 is input performs a security check as to whether the program is a normal program over a period of about 320 ms from when the CPU reset signal 2 becomes high level. Later, control related to payout will be executed. Accordingly, the CPU 67 of the payout control board 31 starts up the operation about 520 ms after the voltage of the DC 5V power supply becomes the reference value LV2.

タイマ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 timer 2 circuit 64 has T4 = about 300 ms after about 400 ms elapses after the voltage of the DC5V power supply becomes the reference value LV2, that is, after the CPU reset signal 1 output from the power-on reset circuit 61 changes from low level to high level. The CPU reset signal 3 output after the passage is changed from low level to high level (point P5). This is set in consideration of the reset signal delay time and the security check time in the main control board 30. The CPU 66 of the main control board 30 to which the CPU reset signal 3 is inputted performs a security check as to whether or not the program is a normal program over a period of about 200 ms after the CPU reset signal 3 becomes high level. Later, control related to winning detection or the like is executed. Therefore, the CPU 66 of the main control board 30 starts up the operation about 600 ms after the voltage of the DC 5V power supply reaches the reference value LV2.

これより、主制御基板30のCPU66がROM81に書き込まれたプログラムに従って遊技の制御を実行開始するときには、各サブ制御基板は既に遊技の制御を実行している。この結果、電源投入後直ちに、主制御基板30のCPU66が各サブ制御基板にデータを送信しても、各サブ制御基板は本来の制御を実行しているので確実にデータを受信することができる。   Thus, when the CPU 66 of the main control board 30 starts executing the game control according to the program written in the ROM 81, each sub-control board has already executed the game control. As a result, even if the CPU 66 of the main control board 30 transmits data to each sub-control board immediately after the power is turned on, each sub-control board is executing the original control, so that the data can be reliably received. .

次にパチンコ機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 pachinko machine 10 is interrupted by a power failure or the like will be described with reference to a timing chart shown in FIG.
When the power supply to the pachinko machine 10 is interrupted by a power failure, the AC voltage A decreases and becomes zero, and the DC 32V, DC 12V, and DC 5V decrease as shown in FIG. The power failure detection signal of the AC voltage monitoring circuit 62 of the power supply board 50 changes from high level to low level. When DC32V is lowered to the backup start voltage level V by the power down reset circuit 65 (point P6), the NMI control signal is reset, and DC32V is lowered to the gaming machine component guaranteed voltage level V1. After a predetermined time T5 (after about 100 ms) from the reset of the NMI control signal, the reset control signal and the CPU reset signal of each board are reset (point P7). This is because the forced reset signal is output after a certain period of time has elapsed since the detection of the power failure detection signal in consideration of the time for software processing. Thereby, the CPU 66 of the main control board 30, the CPU 67 of the payout control board 31, the CPU 70 of the symbol control board 32 b, and other sub-control boards are stopped simultaneously. Thereafter, the DC 32V reaches the switching power supply IC minimum drive voltage level V2, and the DC 5V becomes the CPU operation guaranteed minimum voltage level V3, which attenuates to zero level. Therefore, the forced interrupt terminals NMI of the CPU 66 of the main control board 30 and the CPU 67 of the payout control board 31 are set to the low level, the non-maskable interrupt is applied to the CPUs 66 and 67, and the NMI states of the main control board 30 and the payout control board 31 are changed. Then, after a predetermined time elapses, the CPU operating state of each control board is stopped. As a result, the CPU 66 of the main control board 30 can save the data indicating the current game state and thereafter prohibit access to the RAM 80. Further, the CPU 67 of the payout control board 31 can save the data indicating the current prize ball payout state and the ball lending payout state, and thereafter prohibit the access to the RAM of the payout control board 31.

交流電圧監視回路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 voltage monitoring circuit 62 changes from high level to low level (point P6) is changed from high level to low level (point P7).
Here, as described above, the RAMs of the main control board 30 and the payout control board 31 are backed up by the battery, and the data stored in the RAM is stored for a predetermined time (about 3 days in the present embodiment) even when the power is turned off. Retained.

前述したように、電源投入が遮断される場合、各制御基板が一斉にリセットされる。しかも、交流電圧監視回路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 voltage monitoring circuit 62 is always reset about 100 ms after the high level changes to the low level. Thereby, it is possible to unify the control, and it is possible to prevent the adverse effect that the firing motor 33a is driven even though the operation of the main control board 30 is stopped.

ここで、本実施形態では、交流電圧監視回路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 voltage monitoring circuit 62 changes from the high level to the low level. Thus, it is calculated.
The CPU 67 of the payout control board 31 executes the power failure processing routine described above when the forced interrupt terminal NMI becomes low level. At this time, the driving of the ball cutting motor 31c and the ball lending motor 31d is also stopped. When there is a game ball that is paid out immediately before the driving of these motors stops, it is necessary to detect the falling game ball by the prize ball payout switch 31a or the ball rental payout switch 31b. Therefore, it is necessary to ensure a time during which the detecting game balls can be detected by the respective detection switches when the driving of the motor is stopped. On the other hand, if this time is ensured too long, the voltage of the 5V power source for driving the IC may be lowered and may not be detected by each detection switch. Therefore, in the present embodiment, about 100 ms is set due to the balance between the two. Therefore, the distance from each motor to the detection switch and the voltage drop state may be changed as appropriate. In short, it may be configured to secure a time for detecting a falling game ball within a time during which driving of the IC is guaranteed after the forced interrupt terminal NMI becomes low level.

以上、停電時、電源投入時等のハードウェアの動作を説明したが、次に図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 timer circuit 82 to reset the software and repeat this processing every predetermined time. S10), the power failure process is a process of waiting in a loop in response to the power failure detection (steps S19, S23, S24). In other words, this main process consists of this process and the remaining process after the power-on process, that is, the initialization process when the power is turned on, and the backup function is activated when the power is restored and when the power is turned off. The normal processing is performed, and in response to the time-up time (2.731 ms), the normal processing is repeated. If an NMI control signal that is a power failure signal is input, the data is saved and the processing is stopped. is there.

タイムアップ処理の目的は、タイマ回路82を設けてタイマ値が所定値を超えた場合に、必ず本処理の先頭に戻るようにするためである。それを実行することによって、遊技球が各入球口に入る時のスキャニングのタイミング、あるいは乱数の更新時期を均一化することができる。こうした均一化によって遊技球が普通電動役物(始動口)36に入るとき、これがランダムなタイミングになっている。各種乱数の更新の時期はランダムであり、どこを基準にするのか明確ではなくなる弊害があるので、一定周期毎に通常時の処理を実行することで対処するものである。ここでは、主制御基板30が暴走しないように基板をハードウェア的に対応させてはいるが、かりに暴走した場合、手動スイッチ又は電源プラグを抜くことによって強制的にリセットをかけるように設定してある。そして、このような強制リセットがかけられたならば、前述のバッテリーバックアップされた記憶状態をオールクリアし、初期化処理からスタートする。また、リセットスイッチの入力を設け、それが入ったらRAMのデータをバッテリーバックアップしてから初期化しスタートするリセット付き回路を設けている。以下、所要処理を詳細に説明する。   The purpose of the time-up process is to provide a timer circuit 82 so as to always return to the top of this process when the timer value exceeds a predetermined value. By executing this, it is possible to equalize the scanning timing or random number update timing when the game ball enters each entrance. When the game ball enters the ordinary electric accessory (starting opening) 36 due to such equalization, this is a random timing. The update timing of various random numbers is random, and there is a detrimental effect that it is not clear where the reference is based. Therefore, it is dealt with by executing normal processing at regular intervals. Here, the board is supported by hardware so that the main control board 30 does not run out of control, but if it runs out of control, it is set to forcibly reset by pulling out the manual switch or power plug. is there. If such a forced reset is applied, the above-mentioned battery-backed storage state is all cleared and the process starts from the initialization process. In addition, a reset switch input is provided, and when it is entered, a circuit with a reset is provided to start initialization after the RAM data is backed up by a battery. The required processing will be described in detail below.

まず処理が開始されると、スタックポインタを設定し(ステップ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 lamp control board 34 is performed (step S4), and the process proceeds to step S8.
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 timer circuit 82 and the like is performed (step S9), and an interrupt flag (hereinafter referred to as an INT flag) Is set to OFF (flag is reset) (step S10).

続いて、本処理、即ち、乱数更新処理(ステップ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 symbol display device 32 is controlled by performing the special symbol operation control and the big hit operation control.
In the ordinary electric accessory processing (step S14), normal symbol display device 37 is controlled by performing normal symbol operation control and hit operation control.
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 payout control board 31, the lamp control board 34, the sound control board 35, and the symbol control board 32b.
The timer update process (step S18) updates the timer circuit 82 for controlling the processing time.

ステップ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 main control board 30 will be described. 12 through 19 show the main module, and FIG. 20 shows the interrupt module. The main module has a hierarchical structure. That is, the main module sequentially shifts to the lower module, and is executed along a series of processing flows. In some cases, the main routine is executed and a series of flows is executed as it is, or the initial setting is performed and the random number is updated as it is. For example, there is an input process in the main process, but there are a number of subordinate modules in this input process, and they are selected as appropriate in the process flow. Therefore, in normal processing, the accumulated time from the start of processing varies depending on the status.

これを詳細にいうと、第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 CPU 66 and resets the CPU 66 when the CPU 66 runs out of control if no signal is received within a predetermined time. When the runaway is detected by the watchdog circuit 90, a detection signal is input to the reset terminal and the backup RAM is all cleared, but it may be set so as to return to the main processing.

他の変更形態として、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を示す外観斜視図である。It is an external appearance perspective view which shows the pachinko machine 10 which employ | adopted this invention. パチンコ機10を裏面からみた裏面図である。It is the back view which looked at the pachinko machine 10 from the back. パチンコ機10の遊技盤22の構成を示す正面図である。2 is a front view showing a configuration of a game board 22 of the pachinko machine 10. FIG. パチンコ機10の電気的構成を示すブロック図である。2 is a block diagram showing an electrical configuration of a pachinko machine 10. FIG. 電源基板50から電源を供給する構成を示すブロック図である。3 is a block diagram showing a configuration for supplying power from a power supply board 50. FIG. 電源基板50と主制御基板30及び各サブ制御基板との関係を示すブロック図である。FIG. 3 is a block diagram showing a relationship between a power supply board 50, a main control board 30 and each sub control board. パワーオンリセット回路61の構成を示す回路図である。3 is a circuit diagram showing a configuration of a power-on reset circuit 61. FIG. 電源投入時の状態を示すタイミングチャートである。It is a timing chart which shows the state at the time of power activation. 電源遮断時の状態を示すタイミングチャートである。It is a timing chart which shows the state at the time of power interruption. 「主要処理」を示すフローチャートである。It is a flowchart which shows "main processing." (a)は「タイムアップ設定処理」、(b)は「バックアップ設定処理」を示すフローチャートである。(A) is a flowchart showing a “time-up setting process”, and (b) is a flowchart showing a “backup setting process”. 主制御基板30に格納されたプログラムのメインモジュールのブロック図(その1)である。FIG. 3 is a block diagram (part 1) of a main module of a program stored in a main control board 30; 同メインモジュールのブロック図(その2)である。It is a block diagram (the 2) of the main module. 同メインモジュールのブロック図(その3)である。It is a block diagram (the 3) of the main module. 同メインモジュールのブロック図(その4)である。It is a block diagram (the 4) of the main module. 同メインモジュールのブロック図(その5)である。It is a block diagram (the 5) of the main module. 同メインモジュールのブロック図(その6)である。It is a block diagram (the 6) of the main module. 同メインモジュールのブロック図(その7)である。It is a block diagram (the 7) of the main module. 同メインモジュールのブロック図(その8)である。It is a block diagram (the 8) of the main module. 主制御基板30のプログラムの割り込みモジュールのブロック図である。4 is a block diagram of a program interrupt module of the main control board 30. FIG.

符号の説明Explanation of symbols

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 ... Pachinko machine 13 ... Card reader (prepaid card unit)
DESCRIPTION OF SYMBOLS 22 ... Game board 24 ... Launching handle 24a ... Touch switch 24b ... Launch stop switch 30 ... Main control board 31 ... Discharge control board 31a ... Prize ball payout switch 31b ... Ball rental payout switch 31c ... Ball cutting motor 31d ... Ball rental motor 32 ... Special symbol display device 32a ... LCD panel unit (LCD)
32b ... design display control board (design control board)
33 ... Launch control board 33a ... Launch motor 34 ... Lamp control board 35 ... Sound control board 36 ... Ordinary electric accessory (starting port)
36a ... First-type start opening switch 37 ... Normal symbol display device 40 ... Large prize opening 40a ... Accessory continuous operation switch (VSW)
40b ... count switch (count SW)
45 ... Other prize opening switch 46 ... Ball exit switch 47 ... CR adjustment display board 48 ... Touch lamp 49 ... Speaker 50 ... Power supply board 61 ... Power-on reset circuit 62 ... AC voltage monitoring circuit 63 ... Timer 1 circuit 64 ... Timer 2 circuit 65: Power-down reset circuit 66, 67, 70, 72, 74, 76 ... CPU (one-chip microcomputer)
68, 69, 71, 73, 75, 77 ... OR circuit 80 ... RAM 81 ... ROM 82 ... Timer circuit 90 ... Watchdog circuit

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:
JP2004309328A 2004-10-25 2004-10-25 Game machine Expired - Fee Related JP3817639B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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