JP4492685B2 - Slot machine - Google Patents
Slot machine Download PDFInfo
- Publication number
- JP4492685B2 JP4492685B2 JP2007308888A JP2007308888A JP4492685B2 JP 4492685 B2 JP4492685 B2 JP 4492685B2 JP 2007308888 A JP2007308888 A JP 2007308888A JP 2007308888 A JP2007308888 A JP 2007308888A JP 4492685 B2 JP4492685 B2 JP 4492685B2
- Authority
- JP
- Japan
- Prior art keywords
- power failure
- control board
- game
- power
- executed
- 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 - Lifetime
Links
Images
Description
本発明は、スロットマシンに関するものである。 The present invention relates to a slot machine .
遊技の制御は、主に主制御基板により行われる。この主制御基板には、コインの払い出し制御を行う払出制御基板や、図柄の変動表示等の表示制御を行う表示用制御基板などが接続されている。これら各制御基板の制御は、主制御基板から各制御基板へ送信されるコマンドに基づいて行われる。 Control of Yu technique is mainly performed by the main control board. The main control board, and dispensing control board paid out control of coins, such as the display control board for controlling the display of the variable display, etc. FIG handle is connected. These control boards are controlled based on commands transmitted from the main control board to the control boards.
ここで、各制御基板がそれぞれの制御を行うためには、駆動電圧の供給を必要とし、電源が突然切断されて停電が発生すると進行中の状態がクリアされてしまう。このため、停電が発生した場合には、停電前の状態に応じたデータを保持(バックアップ)する停電時処理が行われ、停電解消時には、停電時処理によってバックアップしたデータを使用して停電発生前の状態に復帰させる。 Here, because each control board performs each control requires a supply of the driving voltage, the state of progress will be cleared when power is suddenly disconnected power failure occurs. Therefore, if a power failure occurs, is performed at power failure processing for holding data corresponding to before the power failure state (backup) at the time of power failure persists, the power failure using the data backed up by a power failure during processing Ru is returned to the previous state.
しかしながら、瞬時の停電や、ノイズ等により信号が誤って入力された場合等の一時的な停電の発生時には、停電時処理がスムーズな遊技の進行を妨げてしまうおそれがあるという問題点があった。 However, a power outage or when Shun, in the event of a temporary power failure when such input signal is erroneously due to noise or the like, there is a problem that there is a risk that the power failure processing will interfere with the progress of the smooth game It was.
本発明は上記例示した問題点等を解決するためになされたものであり、より円滑に遊技を進行させることができるスロットマシンを提供することを目的としている。 The present invention has been made to solve the above-described problems and the like, and an object thereof is to provide a slot machine capable of proceeding with a game more smoothly.
この目的を達成するために請求項1記載のスロットマシンは、複数の図柄からなる図柄列を変動表示した後に図柄を確定表示する可変表示手段を備え、始動用操作手段の操作に起因して図柄の変動が開始され、停止用操作手段の操作に起因して、或いは、所定時間経過することにより、図柄の変動が停止され、その停止時の確定図柄が特定図柄である場合に、遊技者に有利な特別遊技状態を発生させるものであって、該スロットマシンは、主制御手段と、主制御手段からの制御信号に基づいて遊技部材を制御するサブ制御手段と、からなる制御手段と、スロットマシンに供給される電圧が0Vよりも高い所定電圧まで低下した場合に停電の発生と判定して停電信号を出力する停電監視手段と、を備え、前記制御手段を構成する前記主制御手段と前記サブ制御手段とは、それぞれ電源断後もデータを保持可能な記憶手段を備えると共に、該記憶手段の前記データを書換え可能であり、前記停電監視手段が出力する前記停電信号は、前記停電信号が前記制御手段にとって割込禁止が不能な割込として入力されるよう、前記主制御手段及びサブ制御手段の割込禁止不能割込端子に入力されるものであり、前記主制御手段及びサブ制御手段が実行する処理手段として、繰り返し所定の制御を行う遊技制御処理手段と、前記停電信号が入力されることに基づいて実行され、前記記憶手段に停電発生情報を記憶するための停電信号割込処理手段と、前記遊技制御処理手段の特定個所で実行される処理手段であって、前記記憶手段に前記停電発生情報が記憶されているか否かを判定するための停電情報判定処理手段と、前記記憶手段に前記データを記憶する停電時処理手段と、を備え、前記制御手段は、前記遊技制御処理手段を実行中に前記停電信号が入力されることにより、前記停電信号割込処理手段を実行して前記記憶手段に前記停電発生情報を記憶して前記遊技制御処理手段に復帰し、該遊技制御処理手段の前記停電情報判定処理手段で前記停電発生情報が記憶されていると判定された場合は前記停電時処理手段を実行し、停電が解消した場合に、前記停電時処理手段の実行前の遊技状態から遊技の制御を再開する。 To achieve this object, the slot machine according to claim 1 is provided with variable display means for confirming and displaying a symbol after a symbol string composed of a plurality of symbols is variably displayed, and the symbol resulting from the operation of the starting operation means. When the change of the symbol is started and the change of the symbol is stopped due to the operation of the operation means for stoppage or when a predetermined time elapses, and the confirmed symbol at the time of the stop is a specific symbol, the player is An advantageous special gaming state is generated, the slot machine comprising: a control means comprising a main control means; a sub-control means for controlling a gaming member based on a control signal from the main control means; and a slot It said main control means voltage supplied to the machine and a power failure monitoring means for outputting a determination to power failure signal and power failure when lowered to a predetermined high voltage than 0V, thereby constituting the control means The sub-control means includes storage means that can retain data even after power is turned off, and the data in the storage means can be rewritten, and the power failure signal output by the power failure monitoring means is the power failure signal. Is input to an interrupt disable disable interrupt terminal of the main control means and the sub control means so that the interrupt is disabled for the control means, and the main control means and the sub control As a processing means executed by the means, a game control processing means for repeatedly performing predetermined control, and a power failure signal interrupt for storing power failure occurrence information in the storage means, executed based on the input of the power failure signal A power failure for determining whether or not the power failure occurrence information is stored in the storage means, the processing means and a processing means executed at a specific location of the game control processing means A power failure processing means for storing the data in the storage means, and the control means receives the power failure signal while the game control processing means is being executed. Signal interruption processing means is executed to store the power outage occurrence information in the storage means and return to the game control processing means, and the power outage occurrence information is stored in the power outage information determination processing means of the game control processing means. When it is determined that the power failure is detected, the power failure processing means is executed. When the power failure is resolved, the game control is resumed from the gaming state before the power failure processing means is executed.
本発明のスロットマシンによれば、電源断前に停電が解消する一時的な停電が発生した場合やノイズ等により信号が誤って入力された場合でも遊技をスムーズに再開させることができ、より円滑に遊技を進行させることができるという効果がある。 According to the slot machine of the present invention, a game can be resumed smoothly even when a temporary power failure that eliminates the power failure occurs before the power is turned off, or when a signal is erroneously input due to noise or the like. There is an effect that the game can be advanced.
以下、本発明の好ましい実施例について、添付図面を参照して説明する。本実施例では、遊技機の一例として弾球遊技機の一種であるパチンコ機、特に、第1種パチンコ遊技機を用いて説明する。なお、本発明を第3種パチンコ遊技機や他の遊技機に用いることは、当然に可能である。 Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. In this embodiment, a pachinko machine that is a kind of a ball game machine, in particular, a first type pachinko game machine will be described as an example of the game machine. Note that it is naturally possible to use the present invention for the third kind pachinko gaming machine and other gaming machines.
図1は、本実施例のパチンコ機Pの遊技盤の正面図である。遊技盤1の周囲には、球が入賞することにより5個から15個の球が払い出される複数の入賞口2が設けられている。また、遊技盤1の中央には、複数種類の識別情報としての図柄などを表示する液晶ディスプレイ(以下単に「LCD」と称す)3が設けられている。このLCD3の表示画面は横方向に3分割されており、3分割された各表示領域において、それぞれ上から下へ縦方向にスクロールしながら図柄の変動表示が行われる。
FIG. 1 is a front view of a game board of a pachinko machine P according to the present embodiment. Around the game board 1, there are provided a plurality of winning
LCD3の下方には、図柄作動口(第1種始動口)4が設けられており、球がこの図柄作動口4に入賞することにより、前記したLCD3の変動表示が開始される。図柄作動口4の下方には、特定入賞口(大入賞口)5が設けられている。この特定入賞口5は、LCD3の変動後の表示結果が予め定められた図柄の組み合わせの1つと一致する場合に、大当たりとなって、球が入賞しやすいように所定時間(例えば、30秒経過するまで、或いは、球が10個入賞するまで)開放される入賞口である。
Below the
この特定入賞口5内には、Vゾーン5aが設けられており、特定入賞口5の開放中に、球がVゾーン5a内を通過すると、継続権が成立して、特定入賞口5の閉鎖後、再度、その特定入賞口5が所定時間(又は、特定入賞口5に球が所定個数入賞するまで)開放される。この特定入賞口5の開閉動作は、最高で16回(16ラウンド)繰り返し可能にされており、開閉動作の行われ得る状態が、いわゆる所定の遊技価値が付与された状態(特別遊技状態)である。
A V
なお、第3種パチンコ遊技機において所定の遊技価値が付与された状態(特別遊技状態)とは、LCD3の変動後の表示結果が予め定められた図柄の組み合わせの1つと一致する場合に、特定入賞口が所定時間開放されることをいう。この特定入賞口の開放中に、球がその特定入賞口内へ入賞すると、特定入賞口とは別に設けられた大入賞口が所定時間、所定回数開放される。
Note that a state in which a predetermined game value is given (special game state) in the third type pachinko gaming machine is specified when the display result after the fluctuation of the
図2は、パチンコ機Pの電気的構成を示したブロック図であり、特に、パチンコ機Pの遊技内容の制御を行う主制御基板Cと、賞球や貸球の払出制御を行う払出制御基板Hとの電気的構成を示したブロック図である。 FIG. 2 is a block diagram showing the electrical configuration of the pachinko machine P, and in particular, a main control board C that controls the game content of the pachinko machine P, and a payout control board that performs payout control of prize balls and balls. It is the block diagram which showed the electric constitution with H.
パチンコ機Pの主制御基板Cには、演算装置である1チップマイコンとしてのMPU11が搭載されている。このMPU11には、MPU11により実行される各種の制御プログラムや固定値データを記憶したROM12と、そのROM12内に記憶される制御プログラムの実行に当たって各種のデータ等を一時的に記憶するためのメモリであるRAM13と、割込回路やタイマ回路、データ送受信回路などの各種回路が内蔵されている。図3から図5に示すフローチャートのプログラムは、制御プログラムの一部としてROM12内に記憶されている。
On the main control board C of the pachinko machine P, an MPU 11 as a one-chip microcomputer which is an arithmetic unit is mounted. The MPU 11 includes a
主制御基板CのRAM13は、賞球バッファ13aと、賞球ポインタ13bと、バックアップエリア13cとを備えている。また、RAM13には、パチンコ機Pの電源のオフ後においても、電源基板50からバックアップ電圧が供給されており、データを保持(バックアップ)できるように構成されている。
The
賞球バッファ13aは、遊技盤1の遊技領域へ打ち込まれた球が入賞口2等へ入賞した場合に、払い出される賞球数を記憶するバッファである。払い出される賞球数は入賞した球毎に賞球バッファ13aへ記憶されるので、賞球バッファ13aは複数バイトで構成されている。賞球バッファ13aに記憶された賞球数のデータは、賞球コマンドとして払出制御基板Hへ送信されると、賞球バッファ13aから消去される。具体的には、0番目の賞球バッファ13aに記憶される賞球数を払出制御基板Hへ送信した後、1番目以降の賞球バッファ13aの値を小さいアドレス側へ順に1バイトずつシフトすることにより、0番目の賞球バッファ13aの値が消去される。
The
ここで、賞球コマンドとは、払い出される賞球数を払出制御基板Hへ指示するためのコマンドであり、2バイトで構成されている。賞球コマンドの1バイト目のデータは、そのコマンドが賞球コマンドであることを示すためのデータ(例えば「A0H」)とされており、また、2バイト目のデータは払い出される賞球数を示すデータとされている。1回の入賞に対する最大の賞球数は15球であるので、その最大賞球数に対応した「01H」〜「0FH」の15種類のデータが賞球コマンドの2バイト目のデータとされている。 Here, the prize ball command is a command for instructing the payout control board H of the number of prize balls to be paid out, and is composed of 2 bytes. The first byte data of the prize ball command is data (for example, “A0H”) indicating that the command is a prize ball command, and the second byte data indicates the number of prize balls to be paid out. The data is shown. Since the maximum number of winning balls for one winning is 15 balls, 15 types of data “01H” to “0FH” corresponding to the maximum number of winning balls are used as the second byte data of the winning ball command. Yes.
なお、賞球コマンドは1バイトで構成するようにしても良い。前記した通り、1回の入賞に対する最大の賞球数は15球であるので、賞球コマンドを1バイトで構成する場合には、その最大賞球数に対応した「01H」〜「0FH」の15種類のデータを賞球コマンドとする。即ち、1バイトで構成されるコマンドの上位4ビットが「0」の場合に賞球コマンドとするのである。 The prize ball command may be composed of 1 byte. As described above, since the maximum number of winning balls for one winning is 15 balls, when the winning ball command is composed of 1 byte, “01H” to “0FH” corresponding to the maximum winning ball number. Fifteen types of data are used as prize ball commands. In other words, when the upper 4 bits of a command composed of 1 byte are “0”, a winning ball command is set.
賞球ポインタ13bは、賞球数を記憶させる賞球バッファ13aの位置を示すポインタであり、払い出される賞球数は、賞球ポインタ13bの値番目の賞球バッファ13aへ記憶される。この賞球ポインタ13bの値は、賞球バッファ13aへ賞球数を書き込むことにより「1」加算され、逆に、0番目の賞球バッファ13aの値が払出制御基板Hへ送信されることにより「1」減算される。
The
バックアップエリア13cは、停電などの発生により電源が切断された場合、電源の再入時に、パチンコ機Pの状態を電源切断前の状態に復帰させるため、電源切断時(停電発生時を含む。以下、同様)のスタックポインタや、各レジスタ、I/O等の値を記憶しておくためのエリアである。このバックアップエリア13cへの書き込みは、メイン処理の中で実行されるバックアップ処理によって電源切断時に実行され、逆にバックアップエリア13cに書き込まれた各値の復帰は、電源入時(停電解消による電源入を含む。以下、同様)に実行される(図3参照)。
In the
かかるROM12およびRAM13を内蔵したMPU11は入出力ポート15と接続されており、入出力ポート15は、賞球払出用モータ21によって賞球や貸球の払出制御を行う払出制御基板Hと接続されるほか、複数の普通入賞スイッチ17と、第1種始動口スイッチ18と、Vカウントスイッチ19と、10カウントスイッチ20と、他の入出力装置25と、電源基板50に設けられた停電監視回路50b及びクリアスイッチ50cと、それぞれ接続されている。
The
普通入賞スイッチ17は、遊技盤1に設けられた複数の入賞口2へ入賞した球をそれぞれ検出するためのスイッチであり、各入賞口2の入口近傍に設けられている。第1種始動口スイッチ18は、図柄作動口(第1種始動口)4を通過した球を検出するためのスイッチであり、図柄作動口4の近傍に設けられている。普通入賞スイッチ17のいずれか又は第1種始動口スイッチ18によって球が検出されると、払出制御基板Hによって5個の賞球が払い出される。
The
Vカウントスイッチ19は、特定入賞口5内のVゾーン5aへ入賞した球を検出するためのスイッチであり、また、10カウントスイッチ20は、特定入賞口5内のVゾーン5a以外へ入賞した球を検出するためのスイッチである。Vカウントスイッチ19又は10カウントスイッチ20により球が検出されると、払出制御基板Hによって15個の賞球が払い出される。
The
ここで、主制御基板Cと払出制御基板Hとは、複数本のデータ線を介して互いの入出力ポート15,35が接続されている。このため、主制御基板Cと払出制御基板Hとの間における賞球コマンド等の送受信は、主制御基板Cから払出制御基板Hへの一方向に行われるだけでなく、払出制御基板Hから主制御基板Cへも行われる。
Here, the input /
払出制御基板Hは賞球や貸球の払出制御を行うものであり、演算装置であるMPU31が搭載されている。このMPU31には、MPU31により実行される制御プログラムや固定値データ等を記憶したROM32と、ワークメモリ等として使用されるRAM33とを備えている。図4及び図6から図8に示すフローチャートのプログラムは、制御プログラムの一部としてROM32内に記憶されている。
The payout control board H performs payout control of prize balls and rental balls, and is equipped with an
払出制御基板HのRAM33は、残賞球数カウンタ33aと、初期化フラグ33bと、バックアップエリア33cとを備えている。また、RAM33には、パチンコ機Pの電源のオフ後においても、電源基板50からバックアップ電圧が供給されており、データを保持(バックアップ)できるように構成されている。
The
残賞球数カウンタ33aは、未払いの賞球数を記憶するカウンタである。残賞球数カウンタ33aの値は、賞球コマンドによって主制御基板Cから払出制御基板Hへ賞球の払い出しが指示される毎に、その指示された賞球数が加算される。逆に、賞球カウントスイッチ22が払い出された賞球を検出する毎に「1」ずつ減算される。払出制御基板Hは、この残賞球数カウンタ33aの値が「0」になるまで、賞球払出用モータ21を動作させて賞球の払い出しを行うが、前記した通り、この残賞球数カウンタ33aの値は電源基板50から供給されるバックアップ電圧によりバックアップされるので、賞球の払い出し途中でパチンコ機Pの電源が切断された場合にも、そのパチンコ機Pの電源を再投入することにより、払出制御基板Hは、残りの賞球(未払い分の賞球)を正確に払い出すことができる。
The remaining
初期化フラグ33bは、主制御基板Cから送信される初期化コマンドを払出制御基板Hが受信した場合にオンされるフラグである。初期化コマンドは、主制御基板Cの立ち上げ処理が終了した場合に送信されるコマンドであり(図3、S9参照)、払出制御基板Hに対して賞球の払い出しや球の発射の開始許可を与えるためのコマンドである。払出制御基板Hは、立ち上げ時に行われる処理が主制御基板Cに比べて少なく、主制御基板Cが遊技の制御を開始可能となる前に賞球の払い出しや球の発射準備が完了する。しかし、主制御基板Cが遊技の制御を開始する前に払出制御基板Hが遊技の制御を開始してしまうと、主制御基板Cに賞球の払い出しが検出されない等の問題が生じるので、主制御基板Cが遊技の制御を開始可能となるまで払出制御基板Hは制御の開始を待機する。払出制御基板Hが初期化コマンドを受信して初期化フラグ33bがオンされると、主制御基板Cが立ち上げ処理を終えて遊技の制御が開始されたことを払出制御基板Hが認識し、払出制御基板Hは、初期化フラグ33bをオフして遊技の制御を開始する(図7参照)。
The
バックアップエリア33cは、前述した主制御基板Cのバックアップエリア13cと同様に、停電などの発生により電源が切断された場合、電源の再入時に、パチンコ機Pの状態を電源切断前の状態に復帰させるため、電源切断時のスタックポインタや、各レジスタ、I/O等の値を記憶しておくためのエリアである。このバックアップエリア33cへの書き込みは、メイン処理の中で実行されるバックアップ処理によって電源切断時に実行され、逆にバックアップエリア33cに書き込まれた各値の復帰は、電源入時に実行される(図7参照)。
Similarly to the
これらROM32およびRAM33を内蔵したMPU31は入出力ポート35と接続されており、その入出力ポート35は、前述した主制御基板Cと接続されるほか、賞球払出用モータ21と、賞球カウントスイッチ22と、他の入出力装置25と、電源基板50に設けられた停電監視回路50b及びクリアスイッチ50cと、それぞれ接続されている。
The
賞球カウントスイッチ22は、賞球払出用モータ21によって払い出された賞球を検出するためのスイッチであり、賞球払出用モータ21と共に賞球払出ユニットに搭載されている。賞球払出用モータ21は賞球を払い出すためのモータであり、賞球払出用モータ21の駆動は、払出制御基板Hによって制御される。
The prize
電源基板50は、パチンコ機Pの各部に電力を供給するための電源部50aと、停電監視回路50bと、クリアスイッチ50cとを備えている。停電監視回路50bは、停電等の発生による電源断時に、主制御基板C及び払出制御基板Hへ停電信号51を出力するための回路である。この停電監視回路50bは、電源部50aから出力される最も大きい電圧である直流安定24ボルトの電圧を監視し、その電圧が22ボルト以上であればハイの信号を主制御基板C及び払出制御基板Hの入出力ポート15,35へ出力する。
The
また、停電監視回路50bは、電源部50aから出力される電圧が22ボルト未満になった場合に停電の発生と判断して、停電信号51の出力をハイからロウに切り替える。主制御基板C及び払出制御基板Hは、入出力ポート15,35から入力される停電信号51をメイン処理で監視し、停電信号51がロウとなった場合に停電の発生と認識して、遊技状態に基づいたデータをバックアップエリア13c,33cに書き込むバックアップ処理(図4参照)を実行する。また、停電信号51の出力がロウからハイに切り替わった場合には、主制御基板C及び払出制御基板Hは、停電が解消したことを認識して、バックアップ処理の実行前又は実行後に、処理を停電前の処理に移行して遊技の制御を再開する。なお、電源部50aは、直流安定24ボルトの電圧が22ボルト未満になった後においても、かかる停電時の処理の実行に充分な時間の間、制御系の駆動電圧である5ボルトの出力を正常値に維持するように構成されており、主制御基板C及び払出制御基板Hは、停電時の処理を確実に実行することができる。
The power failure monitoring circuit 50b determines that a power failure has occurred when the voltage output from the power supply unit 50a is less than 22 volts, and switches the output of the power failure signal 51 from high to low. The main control board C and the payout control board H monitor the power failure signal 51 input from the input /
ここで、本実施例のパチンコ機Pにおいては、停電監視回路50bから出力される停電信号51は、停電の発生後、停電が解消するまで継続してロウのままとされ、各制御基板C,Hの入出力ポート15,35へ出力される。このため、主制御基板C及び払出制御基板Hは、制御の中で都合の良いタイミングにおいて停電信号51の状態を確認して停電処理を開始する契機とすることができると共に、複数回にわたって停電信号51の状態を確認することができる。よって、バックアップ処理(図4参照)の途中で停電が解消するような瞬時の停電や、ノイズ等による誤った信号入力に基づいた停電等の発生時には、バックアップ処理を行った後に再度停電信号51を確認し、停電信号51がハイとなって停電が解消していれば、通常の遊技の制御を再開させることができる。
Here, in the pachinko machine P of the present embodiment, the power failure signal 51 output from the power failure monitoring circuit 50b is continuously kept low until the power failure is resolved after the occurrence of the power failure. It is output to the input /
クリアスイッチ50cは、主制御基板CのRAM13および払出制御基板HのRAM33にバックアップされるデータをクリアするためのスイッチであり、押しボタンタイプのスイッチで構成されている。このクリアスイッチ50cが押下された状態でパチンコ機Pの電源が投入されると(停電解消による電源入を含む)、主制御基板Cおよび払出制御基板Hによって、それぞれのRAM13,33のデータがクリアされる。
The
次に、図3から図8に示すフローチャートを参照して、主制御基板C及び払出制御基板Hで行われる各処理について説明する。図3は、パチンコ機Pの主制御基板Cにおいて実行されるメイン処理のフローチャートである。パチンコ機Pの主な制御は、このメイン処理によって実行される。 Next, each process performed in the main control board C and the payout control board H will be described with reference to the flowcharts shown in FIGS. FIG. 3 is a flowchart of a main process executed on the main control board C of the pachinko machine P. The main control of the pachinko machine P is executed by this main process.
メイン処理では、まず、割込を禁止する(S1)。次に、スタックポインタを設定し(S2)、クリアスイッチ50cがオンされているか否かを確認する(S3)。クリアスイッチ50cがオンされていなければ(S3:No)、バックアップが有効であるか否かを確認する(S4)。この確認は、RAM13の所定のエリアに書き込まれたキーワードが正しく記憶されているか否かにより判断する。キーワードが正しく記憶されていればバックアップは有効であり、逆に、キーワードが正しくなければバックアップデータは破壊されているので、そのバックアップは有効ではない。バックアップが有効であれば(S4:Yes)、処理をS6へ移行して、主制御基板Cの各状態を電源断前の状態に復帰させる。一方、バックアップが有効でなかったり(S4:No)、或いはクリアスイッチ50cがオンされていれば(S3:Yes)、RAMクリア及び初期化処理を実行して(S5)、RAM13及びI/O等の各値を初期化し、処理をS8へ移行する。なお、S5の初期化処理においてはタイマ割込の設定も行われる。このタイマ割込としては、初期化コマンドや賞球コマンド等の制御用コマンドを払出制御基板Dへ送信するためのストローブ信号を発生させるタイマ割込などがある。
In the main process, interrupts are first prohibited (S1). Next, a stack pointer is set (S2), and it is confirmed whether or not the
S6からの復電処理では、まず、バックアップエリア13cからスタックポインタの値を読み出して、これをスタックポインタへ書き込み、電源断前(停電前)の状態に戻す(S6)。次に、バックアップエリア13cへ退避した各レジスタやI/O等のデータをそのバックアップエリア13cから読み出して、これら各データを元のレジスタやI/O等へ書き込み(S7)、処理をS8へ移行する。S6及びS7の処理により、主制御基板Cにおける遊技の制御が電源断前の状態に復帰される。
In the power recovery process from S6, first, the value of the stack pointer is read from the
S8からの処理では、割込を許可状態にし(S8)、その割込を使って初期化コマンドを払出制御基板Hへ送信して(S9)、主制御基板Cで初期化処理が実行されたことを払出制御基板Hへ報せる。払出制御基板Hは、主制御基板Cに比べて処理が軽いので、主制御基板Cより先に立ち上げ処理が終了する。よって、払出制御基板Hは、主制御基板Cから送信される初期化コマンドを確実に受信することができる。初期化コマンドの送信後には、処理をS10へ移行して、遊技の制御を開始する。なお、主制御基板よりも立ち上げに時間がかかる制御基板がある場合には、処理をS10へ移行する前に所定時間をウェイトするウェイト処理を実行しても良い。主制御基板Cから送信される遊技の制御を行うためのコマンドを各制御基板が受信可能となる前に、主制御基板Cからコマンドが送信されることを防止することができる。 In the process from S8, the interrupt is permitted (S8), and an initialization command is transmitted to the payout control board H using the interrupt (S9), and the initialization process is executed on the main control board C. This can be reported to the payout control board H. Since the payout control board H is lighter in processing than the main control board C, the start-up process ends before the main control board C. Therefore, the payout control board H can reliably receive the initialization command transmitted from the main control board C. After transmission of the initialization command, the process proceeds to S10 and game control is started. If there is a control board that takes longer to start than the main control board, a wait process that waits for a predetermined time may be executed before the process proceeds to S10. It is possible to prevent a command from being transmitted from the main control board C before each control board can receive a command for controlling a game transmitted from the main control board C.
S10の処理では、停電信号51がハイであるか否かを確認し(S10)、ハイであれば(S10:Yes)、未だ停電は発生していないので、パチンコ機Pの遊技の制御を行う各処理を実行する(S11)。図5に示す賞球処理をはじめ、パチンコ機Pの遊技の各制御は、この各処理(S11)の中で実行される。S11の処理の後には、前回のS10の処理の実行からの経過時間を確認する(S12)。確認の結果、前回のS10の処理の開始から所定時間(本実施例においては2ms)経過していなければ(S12:No)、処理の移行を待機して再度経過時間を確認する。前回のS10の処理の開始から2ms経過すると(S12:Yes)、処理をS10へ移行する。 In the process of S10, it is confirmed whether or not the power failure signal 51 is high (S10). If the power failure signal 51 is high (S10: Yes), since the power failure has not yet occurred, the game of the pachinko machine P is controlled. Each process is executed (S11). Each control of the game of the pachinko machine P including the prize ball process shown in FIG. 5 is executed in each process (S11). After the process of S11, the elapsed time from the previous execution of the process of S10 is confirmed (S12). As a result of the confirmation, if the predetermined time (2 ms in the present embodiment) has not elapsed since the start of the previous processing of S10 (S12: No), the elapsed time is confirmed again after waiting for the transition of the processing. When 2 ms elapses from the start of the previous process of S10 (S12: Yes), the process proceeds to S10.
一方、S10の処理において、停電信号51がハイでなければ(S10:No)、停電の発生等により電源が断された可能性がある。この場合には、所定時間をウェイトするウェイト処理を実行し(S13)、その後、停電の発生か、それともノイズ等による誤った停電信号51の入力であるかを再確認するために停電信号51がハイであるか否かを再度確認する(S14)。なお、S13のウェイト処理は、ノイズによる誤った停電信号51が入力された場合を考慮してノイズの影響を取り除くように所定時間処理を待機させるものである。 On the other hand, if the power failure signal 51 is not high in the process of S10 (S10: No), the power may have been cut off due to the occurrence of a power failure or the like. In this case, wait processing for waiting for a predetermined time is executed (S13), and then the power failure signal 51 is reconfirmed to confirm whether a power failure has occurred or whether the power failure signal 51 is erroneously input due to noise or the like. It is confirmed again whether it is high (S14). Note that the wait process of S13 waits for a predetermined time process so as to remove the influence of noise in consideration of the case where an erroneous power failure signal 51 due to noise is input.
S14の確認の結果、停電信号51がハイであれば(S14:Yes)、瞬時の停電やノイズ等による停電の発生であって、停電が解消しているので、処理をS11の各処理へ移行して遊技の制御を再開する。このように、S10の処理で停電か否かを確認した後に、再度S14の処理で停電中であるか否かを確認するので、ノイズ等による誤った停電信号51の発生や瞬時に停電が解消する場合には、速やかに遊技の制御を再開することができる。なお、S14の処理において停電信号51の確認を行う回数は、必ずしも1回だけとする必要は無い。停電が発生した後、制御系の駆動電圧が低下して制御不能となる前にS16の処理で実行されるバックアップ処理を行うのに十分な時間があれば、確認回数を増やしても良い。多数回の確認に基づいて停電であるか否かを判断することで、より正確な判断を行うことができる。 As a result of the confirmation in S14, if the power failure signal 51 is high (S14: Yes), the power failure has occurred due to an instantaneous power failure or noise, and the power failure has been resolved. The game control is resumed. Thus, after confirming whether or not there is a power outage in the process of S10, it is confirmed again whether or not a power outage is occurring in the process of S14, so that an erroneous power outage signal 51 due to noise or the like is instantly eliminated. In this case, the game control can be resumed promptly. Note that the number of times that the power failure signal 51 is confirmed in the process of S14 is not necessarily limited to one. If there is sufficient time to perform the backup process executed in the process of S16 after the power failure occurs and before the control system drive voltage decreases and becomes uncontrollable, the number of confirmations may be increased. A more accurate determination can be made by determining whether or not there is a power outage based on many confirmations.
S14の処理において、停電信号51がハイでなければ(S14:No)、停電の状態が継続しているので、割込を禁止し(S15)、停電解消後の復帰処理(S6,S7)に備えて図4に示すバックアップ処理(S16)を実行する。ここで、図4のフローチャートを参照してバックアップ処理について説明する。 In the process of S14, if the power failure signal 51 is not high (S14: No), the power failure state continues, so interrupts are prohibited (S15) and the recovery process after the power failure is resolved (S6, S7). The backup process (S16) shown in FIG. 4 is executed. Here, the backup process will be described with reference to the flowchart of FIG.
図4は、停電の発生等によるパチンコ機Pの電源断時に、主制御基板C及び払出制御基板Hでそれぞれ別々に実行されるバックアップ処理のフローチャートである。このバックアップ処理により、停電の発生等による電源断時の主制御基板C及び払出制御基板Hの状態がバックアップエリア13c,33cに記憶される。なお、払出制御基板Hで行われるバックアップ処理は、主制御基板Cで行われるバックアップ処理(S16)と完全に同一ではないものの、フローチャートとしては同一であるので同一の番号を付して説明する。
FIG. 4 is a flowchart of backup processing executed separately on the main control board C and the payout control board H when the power of the pachinko machine P is cut off due to the occurrence of a power failure or the like. By this backup processing, the states of the main control board C and the payout control board H when the power is cut off due to the occurrence of a power failure or the like are stored in the
バックアップ処理(S16)では、まず、各レジスタおよびI/O等の値をスタックエリアへ書き込み(S51)、次に、スタックポインタの値をバックアップエリア13c,33cへ書き込んで退避する(S52)。更に、停電発生情報をバックアップエリア13c,33cへ書き込んで(S53)、停電の発生等による電源断時の状態を記憶する。その後、その他停電処理を実行して(S54)、バックアップ処理を終了する。
In the backup process (S16), first, the values of each register and I / O are written to the stack area (S51), and then the values of the stack pointer are written to the
図3のフローチャートに戻って説明する。S17からの処理では、停電信号51がハイであるか否かを確認し(S17)、停電信号51がハイでなければ(S17:No)、ウェイト処理を実行した後に(S18)、処理をS17へ戻して再度停電信号51の確認を行う(S17)。S17及びS18の処理は、駆動電圧が5ボルト未満となって制御が不能となるか、又は、停電が解消するまで繰り返し実行される。 Returning to the flowchart of FIG. In the processing from S17, it is confirmed whether or not the power failure signal 51 is high (S17). If the power failure signal 51 is not high (S17: No), the wait processing is executed (S18), and then the processing is performed in S17. Then, the power failure signal 51 is confirmed again (S17). The processes of S17 and S18 are repeatedly executed until the drive voltage becomes less than 5 volts and control becomes impossible or the power failure is resolved.
S17の処理において、停電信号51がハイであれば(S17:Yes)、停電が解消したということなので、バックアップエリア13cからスタックポインタの値を読み出して、S16のバックアップ処理を実行する前の状態に戻し(S19)、バックアップエリア13cに書き込まれた停電前の遊技状態に関する遊技情報をクリアする(S20)。更に、割込を許可状態にして(S21)、処理をS11へ移行し、停電前の遊技状態から遊技の制御を続行する。
In the process of S17, if the power failure signal 51 is high (S17: Yes), it means that the power failure has been resolved, so the value of the stack pointer is read from the
ここで、従来のパチンコ機は、停電処理の途中で停電が解消するような瞬時の停電や、ノイズ等による誤った信号入力に基づいた停電等を検出した場合にバックアップ処理が行われると、駆動電圧がダウンする前に電源断の待機状態となってしまい、一旦電源を断してバックアップされたデータを復帰させる処理をしなければ停電前の遊技状態に復帰させることができなかった。 Here, the conventional pachinko machine is driven when backup processing is performed when an instantaneous power outage that eliminates the power outage during the power outage processing or a power outage based on erroneous signal input due to noise or the like is detected. Before the voltage went down, the power-off standby state was entered, and it was not possible to restore the gaming state before the power failure unless the power was cut off and the backed up data was restored.
これに対し、本実施例のパチンコ機Pは、主制御基板Cのメイン処理では、入出力ポート15に入力される停電信号51がハイであって停電の発生が確認された後、停電が解消したか否かを確認する。停電が解消したと判断された場合には、遊技の制御が行われる各処理(S11)へ処理を移行して遊技の制御が再開される。よって、1回の停電信号51の入力に基づいて停電の発生と判断してバックアップ処理を実行する場合に比べて、誤った停電信号51の入力による停電や瞬時に電源断が解消する短期の停電に対して遊技の制御を速やかに再開させることができ、ノイズに強い制御を行うことができる。また、バックアップ処理(S16)によってバックアップエリア13cへ遊技情報が書き込まれた後にも、停電が解消したか否かの確認が行われるので、遊技情報をバックアップエリア13cへ優先して退避させることができると共に、その退避後に停電が解消した場合には遊技の制御を確実に再開させることができる。
On the other hand, in the pachinko machine P of this embodiment, in the main process of the main control board C, the power failure is resolved after the power failure signal 51 input to the input /
更に、S10の処理において入出力ポート15に入力される停電信号51が確認され、その確認結果に基づいてバックアップ処理(S16)等へ処理が移行するので、各処理(S11)の実行途中でバックアップ処理(S16)が割り込まれることがない。従来のパチンコ機では、割込の禁止設定が不能な割込処理でバックアップ処理を実行していたが、停電発生の時期は特定できないのでバックアップ処理が割り込んで実行されていた。このため、バックアップ処理がいつ実行されても支障がないように遊技の制御を行うための各処理やバックアップ処理等をプログラムする必要があり、プログラムが煩雑になって大容量化していた。しかし、パチンコ機Pによれば、停電中に停電信号51が入出力ポート15へ継続して入力されるので、メイン処理の一部として予め定めた処理(S10)で停電が発生したか否かを確認し、停電の発生時にはバックアップ処理(S16)等へ処理を移行することができる。よって、バックアップ処理(S16)の実行時期を特定してプログラムを簡略化することができると共にプログラムの小容量化を図ることができる。
Further, the power failure signal 51 input to the input /
図5は、主制御基板Cの各処理(図3、S11参照)の中で実行される賞球処理のフローチャートである。賞球処理は、入賞口2や第1種始動口4或いは特定入賞口5へ入賞した球を検出する入賞検出処理(S30)と、賞球コマンドを払出制御基板Hへ送信する賞球コマンド送信処理(S40)との2つの処理によって構成されている。
FIG. 5 is a flowchart of the prize ball process executed in each process of the main control board C (see S11 in FIG. 3). The winning ball process includes a winning detection process (S30) for detecting a winning ball in the winning
入賞検出処理(S30)では、まず、いずれかの普通入賞スイッチ17又は第1種始動口スイッチ18により、球が検出された否かを確認する(S31)。いずれかのスイッチ17,18によって球が検出された場合には(S31:Yes)、5個の賞球を払い出すために、賞球ポインタ13bの値番目の賞球バッファ13aへ「5」を書き込み(S32)、賞球ポインタ13bの値を「1」加算する(S33)。一方、いずれのスイッチ17,18によっても球が検出されていない場合には(S31:No)、S32およびS33の処理をスキップして、処理をS34へ移行する。
In the winning detection process (S30), first, it is confirmed whether or not a ball is detected by any of the normal winning
S34の処理では、Vカウントスイッチ19又は10カウントスイッチ20により球が検出された否かを確認する(S34)。いずれかのスイッチ19,20によって球が検出された場合には(S34:Yes)、15個の賞球を払い出すために、賞球ポインタ13bの値番目の賞球バッファ13aへ「15」を書き込み(S35)、賞球ポインタ13bの値を「1」加算する(S36)。一方、いずれのスイッチ19,20によっても球が検出されていない場合には(S34:No)、S35およびS36の処理をスキップして、入賞検出処理(S30)を終了し、処理をS40の賞球コマンド送信処理へ移行する。
In the process of S34, it is confirmed whether or not a sphere is detected by the
賞球コマンド送信処理(S40)では、まず、賞球ポインタ13bの値が「0」であるか否かを調べる(S41)。賞球ポインタ13bの値が「0」でなければ(S41:No)、払い出すべき賞球数のデータが賞球バッファ13aに記憶されているということなので、0番目の賞球バッファ13aの値を賞球コマンドの2バイト目のデータとしてセットし、その賞球コマンドを払出制御基板Hへ送信する(S42)。賞球コマンドの送信後は、1番目以降の賞球バッファ13aの値を小さいアドレス側へ順に1バイトずつシフトして(S43)、賞球バッファ13aの値を更新すると共に、送信した0番目の賞球バッファ13aの値を消去し、更に、賞球ポインタ13bの値を「1」減算する(S44)。一方、S41の処理において、賞球ポインタ13bの値が「0」であれば(S41:Yes)、払い出すべき賞球数のデータは賞球バッファ13aに記憶されていないので、S42〜S44の各処理をスキップして、賞球コマンド送信処理(S40)を終了する。これにより、図5の賞球処理が終了する。
In the prize ball command transmission process (S40), it is first checked whether or not the value of the
次に、図6から図8を参照して、払出制御基板Hで行われる各処理について説明する。図6は、払出制御基板Hの割込処理で実行されるコマンド受信処理のフローチャートである。主制御基板Cから送信されたコマンドを払出制御基板Hが受信すると、その度に割込が発生し、このコマンド受信処理が実行される。なお、このコマンド受信処理を実行する割込は、割込の禁止設定ができないノンマスカブル割込ではなく、割込の禁止設定が可能な割込である。 Next, each process performed on the payout control board H will be described with reference to FIGS. FIG. 6 is a flowchart of command reception processing executed in the interruption processing of the payout control board H. When the payout control board H receives a command transmitted from the main control board C, an interrupt is generated each time, and this command reception process is executed. Note that the interrupt for executing this command reception processing is not a non-maskable interrupt that cannot be set for interrupt prohibition, but an interrupt that can be set for interrupt prohibition.
コマンド受信処理では、まず、受信したコマンドが初期化コマンドであるか否かを判断する(S61)。そのコマンドが初期化コマンドであれば(S61:Yes)、その初期化コマンドの受信を記憶するべく、初期化フラグ33bをオンして(S62)、このコマンド受信処理を終了する。一方、受信したコマンドが初期化コマンドでなければ(S61:No)、そのコマンドが賞球コマンドであるか否かを判断する(S63)。受信したコマンドが賞球コマンドであれば(S63:Yes)、その賞球コマンドの2バイト目のデータとして指示される賞球数を残賞球数カウンタ33aへ加算し(S64)、このコマンド受信処理を終了する。一方、受信したコマンドが賞球コマンドでもない場合には(S63:No)、受信したコマンドに応じた処理を実行して(S65)、このコマンド受信処理を終了する。
In the command reception process, first, it is determined whether or not the received command is an initialization command (S61). If the command is an initialization command (S61: Yes), the
図7は、パチンコ機Pの払出制御基板Hにおいて実行されるメイン処理のフローチャートである。払出制御基板Hのメイン処理では、まず、割込を禁止する(S71)。次に、スタックポインタを設定し(S72)、クリアスイッチ50cがオンされているか否かを確認する(S73)。クリアスイッチ50cがオンされていなければ(S73:No)、バックアップが有効であるか否かを確認する(S74)。この確認は、RAM33の所定のエリアに書き込まれたキーワードが正しく記憶されているか否かにより判断する。キーワードが正しく記憶されていればバックアップは有効であり、逆に、キーワードが正しくなければバックアップデータは破壊されているので、そのバックアップは有効ではない。バックアップが有効であれば(S74:Yes)、処理をS76へ移行して、払出制御基板Hの各状態を電源断前の状態に復帰させる。一方、バックアップが有効でなかったり(S74:No)、或いはクリアスイッチ50cがオンされていれば(S73:Yes)、RAMクリア及び初期化処理を実行して(S75)、RAM33及びI/O等の各値を初期化し、処理をS78へ移行する。なお、S75の初期化処理においてはタイマ割込の設定も行われる。
FIG. 7 is a flowchart of a main process executed on the payout control board H of the pachinko machine P. In the main process of the payout control board H, interrupts are first prohibited (S71). Next, a stack pointer is set (S72), and it is confirmed whether or not the
S76からの復電処理では、まず、バックアップエリア33cからスタックポインタの値を読み出して、これをスタックポインタへ書き込み、電源断前(停電前)の状態に戻す(S76)。次に、バックアップエリア33cへ退避した各レジスタやI/O等のデータをそのバックアップエリア33cから読み出して、これら各データを元のレジスタやI/O等へ書き込み(S77)、処理をS78へ移行する。この結果、払出制御基板Hにおける遊技の制御が電源断前の状態に復帰される。
In the power recovery process from S76, first, the value of the stack pointer is read from the
S78からの処理では、割込を許可状態にして(S78)、前述した図6のコマンド受信処理を実行可能とし、初期化フラグ33bがオンされたか否かを確認する(S79)。初期化フラグ33bがオンされていなければ(S79:No)、主制御基板Cの立ち上げ処理が終了した場合に送信される初期化コマンドを受信していないということなので、S79の処理を繰り返し実行して待機する。S79の処理において初期化フラグ33bがオンされると(S79:Yes)、主制御基板Cの立ち上げ処理が終了するので、初期化フラグ33bをオフして(S80)、処理をS81へ移行する。
In the process from S78, the interrupt is permitted (S78), the above-described command reception process of FIG. 6 is made executable, and it is confirmed whether or not the
S81の処理では、停電信号51がハイであるか否かを確認し(S81)、ハイであれば(S81:Yes)、未だ停電は発生していないので、パチンコ機Pの遊技の制御を行う各処理を実行する(S82)。後述する図8の賞球払出処理をはじめとする払出制御基板Hの制御は、割込処理を除いて、この各処理(S82)の中で実行される。S82の処理の後には、前回のS81の処理の実行からの経過時間を確認する(S83)。確認の結果、前回のS81の処理の開始から所定時間(本実施例においては2ms)経過していなければ(S83:No)、処理の移行を待機して再度経過時間を確認する。前回のS81の処理の開始から2ms経過すると(S83:Yes)、処理をS81へ移行する。 In the process of S81, it is confirmed whether or not the power failure signal 51 is high (S81). If the power failure signal 51 is high (S81: Yes), since the power failure has not yet occurred, the game of the pachinko machine P is controlled. Each process is executed (S82). Control of the payout control board H including a prize ball payout process of FIG. 8 to be described later is executed in each process (S82) except for the interrupt process. After the process of S82, the elapsed time from the previous execution of the process of S81 is confirmed (S83). As a result of the confirmation, if the predetermined time (2 ms in the present embodiment) has not elapsed since the start of the previous processing of S81 (S83: No), the elapsed time is confirmed again after waiting for the transition of the processing. When 2 ms elapses from the start of the previous process of S81 (S83: Yes), the process proceeds to S81.
一方、S81の処理において、停電信号51がハイでなければ(S81:No)、停電の発生等により電源が断された可能性がある。この場合には、所定時間をウェイトするウェイト処理を実行し(S84)、その後、停電の発生か、それともノイズ等による誤った停電信号51の入力であるかを再確認するために停電信号51がハイであるか否かを再度確認する(S85)。なお、S84のウェイト処理は、ノイズによる誤った停電信号51が入力された場合を考慮してノイズの影響を取り除くように所定時間処理を待機させるものである。 On the other hand, if the power failure signal 51 is not high in the process of S81 (S81: No), the power may have been cut off due to the occurrence of a power failure or the like. In this case, a wait process for waiting for a predetermined time is executed (S84), and then a power failure signal 51 is generated in order to reconfirm whether a power failure has occurred or whether an erroneous power failure signal 51 is input due to noise or the like. It is confirmed again whether it is high (S85). Note that the wait process in S84 waits for a predetermined time process so as to remove the influence of noise in consideration of the case where an erroneous power failure signal 51 due to noise is input.
S85の確認の結果、停電信号51がハイであれば(S85:Yes)、瞬時の停電やノイズ等による停電の発生であって停電が解消しているので、処理をS82の各処理へ移行して払出制御基板Hによる遊技の制御を再開する。主制御基板Cの制御と同様に、S81の処理で停電か否かを確認をした後に、再度S85の処理で停電中であるか否かを確認するので、ノイズ等による誤った停電信号51の発生や瞬時に停電が解消する場合には、速やかに遊技の制御を再開することができる。なお、S85の処理において停電信号51の確認を行う回数は、必ずしも1回だけとする必要は無い。停電が発生した後、制御系の駆動電圧が低下して制御不能となる前にS16のバックアップ処理を行うのに十分な時間がある場合には、確認回数を増やしても良い。多数回の確認に基づいて停電であるか否かを判断することで、より正確な判断を行うことができる。 If the power failure signal 51 is high as a result of the confirmation in S85 (S85: Yes), the power failure has occurred due to an instantaneous power failure or noise, and the power failure has been resolved. Therefore, the processing is shifted to each processing in S82. The game control by the payout control board H is resumed. Similar to the control of the main control board C, after confirming whether or not there is a power outage in the process of S81, it is confirmed again whether or not a power outage is occurring in the process of S85. In the event that a power outage is eliminated or instantaneously, the game control can be resumed promptly. Note that the number of times that the power failure signal 51 is confirmed in the processing of S85 is not necessarily limited to one. If there is sufficient time to perform the backup process of S16 after the power failure occurs and before the control system drive voltage drops and becomes uncontrollable, the number of confirmations may be increased. A more accurate determination can be made by determining whether or not there is a power outage based on many confirmations.
S85の処理において停電信号51がハイでなければ(S85:No)、停電の状態が継続しているので、割込を禁止し(S86)、停電解消後の復帰処理(S76,S77)に備えて図4に示すバックアップ処理(S16)を実行する。 If the power failure signal 51 is not high in the processing of S85 (S85: No), the power failure state continues, so interrupts are prohibited (S86), and the recovery processing after the power failure is resolved (S76, S77). Then, the backup process (S16) shown in FIG. 4 is executed.
S87からの処理では、停電信号51がハイであるか否かを確認し(S87)、停電信号51がハイでなければ(S87:No)、ウェイト処理を実行した後に(S88)、処理をS87へ戻して再度停電信号51の確認を行う(S87)。S87及びS88の処理は、駆動電圧が5ボルト未満となって制御が不能となるか、又は、停電が解消するまで繰り返し実行される。 In the processing from S87, it is confirmed whether or not the power failure signal 51 is high (S87). If the power failure signal 51 is not high (S87: No), the wait processing is executed (S88), and then the processing is performed in S87. Then, the power failure signal 51 is confirmed again (S87). The processes of S87 and S88 are repeatedly executed until the drive voltage becomes less than 5 volts and control becomes impossible or the power failure is eliminated.
S87の処理において、停電信号51がハイであれば(S87:Yes)、停電が解消したということなので、バックアップエリア33cからスタックポインタの値を読み出して、S16のバックアップ処理を実行する前の状態に戻し(S89)、バックアップエリア33cに書き込まれた停電前の遊技状態に関する遊技情報をクリアする(S90)。更に、割込を許可状態にして(S91)、処理をS82へ移行し、停電前の遊技状態から遊技の制御を続行する。
In the process of S87, if the power failure signal 51 is high (S87: Yes), it means that the power failure has been resolved, so the value of the stack pointer is read from the
このように、払出制御基板Hのメイン処理では、停電信号51がハイであることが確認された後、再度停電が解消したか否かを確認するので、1回の停電信号51の入力に基づいて停電の発生と判断してバックアップ処理を実行する場合に比べて、誤った停電信号51の入力による停電や瞬時に電源断が解消する短期の停電に対して遊技の制御を速やかに再開させることができる。また、バックアップ処理(S16)によってバックアップエリア33cへ遊技情報が書き込まれた後にも、停電が解消したか否かの確認が行われるので、遊技情報をバックアップエリア33cへ優先して退避させることができると共に、その退避後に停電が解消した場合には遊技の制御を確実に再開させることができる。
Thus, in the main process of the payout control board H, after confirming that the power failure signal 51 is high, it is confirmed again whether or not the power failure has been resolved. Therefore, based on a single power failure signal 51 input. Compared to the case where a power failure occurs and backup processing is executed, the game control is promptly resumed for a power failure caused by an incorrect power failure signal 51 input or a short-term power failure that instantly eliminates power failure. Can do. Further, even after the game information is written in the
図8は、払出制御基板Hの各処理(S82)の中で実行される賞球払出処理のフローチャートである。この賞球払出処理により、賞球の払い出しと、払い出された賞球の検出とが行われる。賞球払出処理では、まず、残賞球数カウンタ33aの値を調べ(S101)、その値が「0」でなければ(S101:No)、未払いの賞球が残っているので、賞球払出用モータ21を駆動して賞球を1個払い出す(S102)。一方、残賞球数カウンタ33aの値が「0」であれば(S101:Yes)、未払いの賞球は残っていないので、S102の賞球の払い出し処理をスキップする。
FIG. 8 is a flowchart of the winning ball payout process executed in each process (S82) of the payout control board H. With the prize ball payout process, the prize balls are paid out and the prize balls that have been paid out are detected. In the prize ball payout process, first, the value of the remaining prize
S103の処理では、賞球カウントスイッチ22がオンされたか否かを確認する(S103)。確認の結果、賞球カウントスイッチ22のオンが検出されれば(S103:Yes)、賞球の払い出しが行われたということである。よって、かかる場合には、残賞球数カウンタ33aの値を確認し(S104)、その値が「0」でなければ(S104:No)、払い出された賞球に対応して残賞球数カウンタ33aの値を「1」減算し(S105)、この賞球払出処理を終了する。一方、賞球カウントスイッチ22のオンが検出されない場合や(S103:No)、賞球カウントスイッチ22のオンが検出されても(S103:Yes)、残賞球数カウンタ33aの値が「0」であれば(S104:Yes)、S105の処理をスキップして、この賞球払出処理を終了する。
In the process of S103, it is confirmed whether or not the prize
ここで、従来、停電発生時に割込処理を使用してバックアップ処理を実行するパチンコ機があるが、この種のパチンコ機においては、カウンタの値の更新中にバックアップ処理が実行されることがある。このため、更新途中のデータを退避させることを想定したバックアップ処理のプログラムを作成する必要があり、又、処理の進行状況などもバックアップしなければならず、プログラムが複雑化すると共にバックアップする記憶容量が大型化する要因となっていた。しかし、本実施例のパチンコ機Pによれば、停電が発生した場合には、図7に示すメイン処理の中で実行されるバックアップ処理(S16)によってデータのバックアップが行われる。このため、残賞球数カウンタ33a等の更新途中でバックアップ処理が行われることがなく、更新を終えた残賞球数カウンタ33aの値等をバックアップエリア33cに退避させれば良い。よって、バックアップ処理(S16)及び復帰処理(S76,S77)などのプログラムを簡略化することができると共にバックアップに必要な記憶容量を小さくすることができる。
Here, conventionally, there is a pachinko machine that executes a backup process by using an interrupt process when a power failure occurs. In this type of pachinko machine, the backup process may be executed while the counter value is being updated. . For this reason, it is necessary to create a backup processing program that assumes that data being updated is saved, and the progress of the processing must be backed up. Was the cause of the increase in size. However, according to the pachinko machine P of the present embodiment, when a power failure occurs, data is backed up by the backup process (S16) executed in the main process shown in FIG. For this reason, backup processing is not performed during the update of the remaining prize
次に、図9から図12を参照して、第2実施例について説明する。前記した第1実施例では、電源基板50の停電監視回路50bから出力される停電信号51を主制御基板C及び払出制御基板Hの入出力ポート15,35にそれぞれ入力し、各制御基板C,Hで行われるメイン処理で停電の発生を検出していた。
Next, a second embodiment will be described with reference to FIGS. In the first embodiment described above, the power failure signal 51 output from the power failure monitoring circuit 50b of the
これに対し、第2実施例では、主制御基板C及び払出制御基板HのMPU61,71に停電フラグ63d,73dをそれぞれ設けて、停電の発生時には、電源基板80の停電監視回路80bから停電発生信号81を各MPU61,71のNMI(Non Maskable
Interrupt)端子(ノンマスカブル割込端子)に入力し、NMI割込処理によって停電フラグ63d,73dをオンする(図10参照)。停電フラグ63d,73dの状態は、各制御基板C,Hで行われるメイン処理(図11及び図12参照)において定期的に確認し、停電フラグ63d,73dがオンされて停電の発生が検出された場合には、入出力ポート15,35に入力される停電信号51を確認して停電の発生であるか否かを判定する。以下、第2実施例の説明にあたり、前記した第1実施例と同一の部分には同一の符号を付してその説明を省略する。
In contrast, in the second embodiment, power failure flags 63d and 73d are provided in the
Interrupt) terminal (non-maskable interrupt terminal), and the power failure flags 63d and 73d are turned on by NMI interrupt processing (see FIG. 10). The states of the power failure flags 63d and 73d are periodically checked in the main processing (see FIGS. 11 and 12) performed on the control boards C and H, and the power failure flags 63d and 73d are turned on to detect the occurrence of a power failure. If a power failure occurs, the power failure signal 51 input to the input /
図9は、第2実施例におけるパチンコ機Pの電気的構成を示したブロック図である。主制御基板CのMPU61には、そのRAM63に停電フラグ63dが設けられている。停電フラグ63dは、停電等の発生による電源断を報せるためのフラグである。停電等が発生して電源が断され、電源基板80の停電監視回路80bから出力される停電発生信号81がMPU61のNMI端子へ入力されると、MPU61によって図10(a)に示すNMI割込処理が実行され、停電フラグ63dがオンされる。停電フラグ63dがオンされると、主制御基板Cのメイン処理で停電の発生が確認され(図11参照)、遊技の状態を示す各データの退避などを行うバックアップ処理(図11、S16参照)等へ処理が移行する。
FIG. 9 is a block diagram showing an electrical configuration of the pachinko machine P in the second embodiment. The
払出制御基板HのMPU71には、前述した主制御基板CのMPU61と同様に、そのRAM73に停電フラグ73dが設けられている。停電フラグ73dも、停電等の発生による電源断を報せるためのフラグであり、電源基板80の停電監視回路80bから出力される停電発生信号81がMPU71のNMI端子へ入力されると、MPU71によって、図10(b)に示すNMI割込処理が実行され、停電フラグ73dがオンされる。停電フラグ73dがオンされると、払出制御基板Hのメイン処理で停電の発生が確認され(図12参照)、遊技の状態を示す各データの退避などを行うバックアップ処理(図12、S16参照)等へ処理が移行する。
Similarly to the
電源基板80は、第1実施例の電源基板50と同様に、電源部50aと、停電監視回路80bと、クリアスイッチ50cとを備えている。電源部50a及びクリアスイッチ50cの構成は第1実施例の電源基板50と同一であり、停電監視回路80bの構成が第1実施例の停電監視回路50bとは異なっている。停電監視回路80bは、主制御基板C及び払出制御基板Hに停電信号51を出力すると共に、各制御基板C,HのMPU61,71のNMI端子に停電発生信号81を出力するものである。停電監視回路80bから出力される停電発生信号81が各MPU61,71に入力されると、図10(a)及び図10(b)に示すNMI割込処理が実行され、各MPU61,71のRAM63,73にそれぞれ設けられた停電フラグ63d,73dがオンとなる。
Similar to the
図10(a)は、停電の発生により停電監視回路80bから停電発生信号81が出力された場合に主制御基板Cで、図10(b)は払出制御基板Hで、それぞれ別々に実行されるNMI割込処理のフローチャートである。 10A is executed by the main control board C when a power failure occurrence signal 81 is output from the power failure monitoring circuit 80b due to the occurrence of a power failure, and FIG. 10B is executed separately by the payout control board H. It is a flowchart of a NMI interruption process.
まず、主制御基板Cで実行される図10(a)のNMI割込処理では、NMI割込発生時に、後述する図11のS122又はS14からS21に示す主制御基板Cの停電時処理を実行中であるか否かを確認する(S111)。停電時処理を実行中でなければ(S111:No)、停電フラグ63dをオンする(S112)。逆に、停電時処理を実行中であれば(S111:Yes)、S112の処理をスキップして、このNMI割込処理を終了する。なお、NMI割込発生時における実行中の処理の確認は、NMI割込発生時にスタックに退避されたアドレスをチェックすることにより行われる。 First, in the NMI interrupt process of FIG. 10A executed by the main control board C, when an NMI interrupt occurs, the main control board C process shown in S122 or S14 to S21 of FIG. It is confirmed whether it is in the middle (S111). If the power failure process is not being executed (S111: No), the power failure flag 63d is turned on (S112). Conversely, if the power failure process is being executed (S111: Yes), the process of S112 is skipped and the NMI interrupt process is terminated. Note that the processing being executed when an NMI interrupt occurs is checked by checking the address saved in the stack when the NMI interrupt occurs.
同様に、払出制御基板Hで実行される図10(b)のNMI割込処理では、NMI割込発生時に、後述する図12のS132又はS85からS91に示す停電時処理を実行中であるか否かを確認する(S113)。停電時処理を実行中でなければ(S113:No)、停電フラグ33dをオンし(S114)、逆に、実行中であれば(S113:Yes)、S114の処理をスキップして、このNMI割込処理を終了する。 Similarly, in the NMI interrupt process of FIG. 10B executed by the payout control board H, is a power failure process shown in S132 or S85 to S91 of FIG. 12 described later executed when an NMI interrupt occurs? It is confirmed whether or not (S113). If the power failure process is not being executed (S113: No), the power failure flag 33d is turned on (S114). Conversely, if it is being executed (S113: Yes), the process of S114 is skipped and this NMI allocation is performed. Finish the process.
図11は、第2実施例におけるパチンコ機Pの主制御基板Cにおいて実行されるメイン処理のフローチャートである。この処理では、図3に示す第1実施例のメイン処理に対して、S121及びS122の処理の部分が変更されている。 FIG. 11 is a flowchart of a main process executed on the main control board C of the pachinko machine P in the second embodiment. In this process, the processes of S121 and S122 are changed with respect to the main process of the first embodiment shown in FIG.
このメイン処理では、S9の処理で初期化コマンドを払出制御基板Hへ送信した後、停電フラグ63dがオンされているか否かを確認する(S121)。停電フラグ63dがオンされていなければ(S121:No)、遊技の制御を行う各処理を実行する(S11)。S11の処理後、前回のS121の処理開始からの経過時間を確認し(S12)、2ms経過していなければ(S12:No)、繰り返し時間の経過を確認する。前回のS121の処理の開始から2ms経過した場合には(S12:Yes)、S121からの処理を再開する。 In this main process, after the initialization command is transmitted to the payout control board H in the process of S9, it is confirmed whether or not the power failure flag 63d is turned on (S121). If the power failure flag 63d is not turned on (S121: No), each process for controlling the game is executed (S11). After the processing of S11, the elapsed time from the start of the previous processing of S121 is confirmed (S12). If 2 ms has not elapsed (S12: No), the elapsed time is confirmed. When 2 ms has elapsed from the start of the previous processing of S121 (S12: Yes), the processing from S121 is resumed.
S121の処理において停電フラグ63dがオンされていれば(S121:Yes)、主制御基板CのMPU61のNMI端子に停電発生信号81が入力されているので、停電フラグ63dをオフして(S122)、処理をS14へ移行する。ここで、図3に示す第1実施例のメイン処理では、S14の処理を行う前にノイズの影響を除去するためのウェイト処理(S13)を実行したが、第2実施例のメイン処理では、停電発生信号81は、S11又はS12の処理の実行中に主制御基板CのMPU61に入力され、その入力があった時からS14の処理に至る迄に時間が経過しているので、S121の処理をした後にウェイト処理を設けなくてもノイズの影響を除去することができる。よって、停電の解消を確認するS14の処理を即座に実行することができ、停電解消の確認やバックアップ処理(S16)をより早く実行することができる。
If the power failure flag 63d is turned on in the processing of S121 (S121: Yes), since the power failure occurrence signal 81 is input to the NMI terminal of the
S14からの処理では、停電信号51がハイであるか否かを確認し(S14)、停電信号51がハイであって停電の解消が確認されれば(S14:Yes)、遊技の制御を行う各処理(S11)へ処理を移行する。一方、停電の続行が確認されれば(S14:No)、バックアップ処理(S16)を実行して電源断を待機する。なお、S122及びS14からS21の処理(停電時処理)の実行中は、NMI割込処理により停電フラグ63dがオンされることはない(図10(a)参照)。 In the processing from S14, it is confirmed whether or not the power failure signal 51 is high (S14), and if the power failure signal 51 is high and the cancellation of the power failure is confirmed (S14: Yes), the game is controlled. The process proceeds to each process (S11). On the other hand, if the continuation of the power failure is confirmed (S14: No), the backup process (S16) is executed to wait for the power-off. Note that the power failure flag 63d is not turned on by the NMI interrupt processing during the processing of S122 and S14 to S21 (processing at power failure) (see FIG. 10A).
図12は、第2実施例におけるパチンコ機Pの払出制御基板Hにおいて実行されるメイン処理のフローチャートである。この処理では、図7に示す第1実施例のメイン処理に対して、S131及びS132の処理の部分が変更されている。 FIG. 12 is a flowchart of the main process executed on the payout control board H of the pachinko machine P in the second embodiment. In this process, the processing part of S131 and S132 is changed with respect to the main process of the first embodiment shown in FIG.
S80の処理で初期化フラグ33bをオフした後、停電フラグ73dがオンされているか否かを確認する(S131)。停電フラグ73dがオンされていなければ(S131:No)、払出制御基板Hにおける遊技の制御を行う各処理を実行する(S82)。S82の処理後、前回のS131の処理開始からの経過時間を確認し(S83)、2ms経過していなければ(S83:No)、繰り返し時間の経過を確認する。前回のS131の処理の開始から2ms経過した場合には(S83:Yes)、S131からの処理を再開する。
After the
S131の処理において停電フラグ73dがオンされていれば(S131:Yes)、払出制御基板HのMPU71のNMI端子に停電発生信号81が入力されているので、停電フラグ73dをオフして(S132)、処理をS85へ移行する。ここで、主制御基板Cのメイン処理と同様に、第1実施例のメイン処理ではS85の処理を行う前にノイズの影響を除去するためのウェイト処理(S84)を実行したが、第2実施例のメイン処理では、払出制御基板HのMPU71に停電発生信号81が入力された時からS85の処理に至る迄に時間が経過しているので、S131の処理をした後にウェイト処理を設けなくてもノイズの影響を除去することができる。よって、停電の解消を確認するS85の処理を即座に実行することができ、停電解消の確認やバックアップ処理(S16)をより早く実行することができる。
If the power failure flag 73d is turned on in the process of S131 (S131: Yes), the power failure occurrence signal 81 is input to the NMI terminal of the
S85からの処理では、停電信号51がハイであるか否かを確認し(S85)、停電信号51がハイであって停電の解消が確認されれば(S85:Yes)、遊技の制御を行う各処理(S82)へ処理を移行する。一方、停電の続行が確認されれば(S85:No)、バックアップ処理(S16)を実行して電源断を待機する。なお、S132及びS85からS91の処理(停電時処理)の実行中は、NMI割込処理により停電フラグ73dがオンされることは無い(図10(b)参照)。 In the processing from S85, it is confirmed whether or not the power failure signal 51 is high (S85), and if the power failure signal 51 is high and the cancellation of the power failure is confirmed (S85: Yes), the game is controlled. The process proceeds to each process (S82). On the other hand, if the continuation of the power failure is confirmed (S85: No), the backup process (S16) is executed to wait for the power-off. Note that during the execution of the processing from S132 and S85 to S91 (processing at power failure), the power failure flag 73d is not turned on by the NMI interrupt processing (see FIG. 10B).
以上説明したように、停電フラグ63d,73dは、各制御基板C,Hの停電時処理の実行中以外にNMI割込処理が実行された場合に限ってオンされる。即ち、停電時処理の実行中に停電発生信号81が各制御基板C,HのMPU61,71に入力されても停電フラグ63d,73dがオンされないので、停電監視回路80bからの停電発生信号81の出力が乱れてNMI割込処理が多重に発生しても、停電時処理の途中で停電フラグ63d,73dがオンされることがない。よって、停電時処理の途中で停電が解消したと判定され、遊技の制御が行われる各処理(S11,S82)に戻る際には、停電フラグ63d,73dを確実にオフの状態とすることができ、停電が解消したと判定された後に誤って停電時処理に戻ってしまうことを防止することができる。
As described above, the power failure flags 63d and 73d are turned on only when the NMI interrupt processing is executed in addition to the processing during power failure of the control boards C and H. That is, even if the power failure occurrence signal 81 is input to the
また、停電フラグ63d,73dがオフである場合には、各制御基板C,Hのメイン処理において入出力ポート15,35の停電信号51の状態をわざわざ確認する必要は無く、停電フラグ63d,73dの状態のみを確認すれば良い。停電の発生が検出された場合にのみ入出力ポート15,35に入力される停電信号51を確認すれば良く、簡易な制御で通常の処理を行うことができる。
When the power failure flags 63d and 73d are off, it is not necessary to check the state of the power failure signal 51 of the input /
なお、上記実施例において、請求項1記載の主制御手段が実行する遊技制御処理手段としては、図11のS121,S11,S12の処理が該当し、主制御手段が実行する停電信号割込処理手段としては、図10(a)に示すNMI処理が該当し、主制御手段が実行する停電情報判定処理手段としては、図11のS121の処理が該当し、主制御手段が実行する停電時処理手段としては、図11のS16の処理(図4に示すバックアップ処理)が該当する。また、請求項1記載のサブ制御手段が実行する遊技制御処理手段としては、図12のS131,S82,S83の処理が該当し、サブ制御手段が実行する停電信号割込処理手段としては、図10(b)に示すNMI処理が該当し、サブ制御手段が実行する停電情報判定処理手段としては、図12のS131の処理が該当し、サブ制御手段が実行する停電時処理手段としては、図12のS16の処理(図4に示すバックアップ処理)が該当する。 In the above embodiment, the game control processing means executed by the main control means according to claim 1 corresponds to the processing of S121, S11, S12 of FIG. 11, and the power failure signal interrupt processing executed by the main control means. The means corresponds to the NMI process shown in FIG. 10A, and the power failure information determination processing means executed by the main control means corresponds to the process of S121 in FIG. 11, and the power failure process executed by the main control means. The means corresponds to the processing of S16 in FIG. 11 (backup processing shown in FIG. 4). Further, the game control processing means executed by the sub-control means according to claim 1 corresponds to the processes of S131, S82, and S83 in FIG. 12, and the power failure signal interrupt processing means executed by the sub-control means is illustrated in FIG. The power failure information determination processing means executed by the sub-control means corresponds to the NMI processing shown in FIG. 10B, and the processing of S131 of FIG. 12 corresponds to the power failure information processing means executed by the sub-control means. 12 corresponds to the process of S16 (the backup process shown in FIG. 4).
以上、実施例に基づき本発明を説明したが、本発明は上記実施例に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の変形改良が可能であることは容易に推察できるものである。 The present invention has been described based on the embodiments. However, the present invention is not limited to the above embodiments, and various modifications can be easily made without departing from the spirit of the present invention. It can be guessed.
例えば、上記各実施例では、駆動電圧が22ボルト未満となって停電が発生した後、制御系の駆動電圧が5ボルト未満となって電源断となる前に停電が解消した場合、主制御基板C及び払出制御基板Hは、停電発生前の状態と同一の状態から遊技の制御を再開した。しかしながら、必ずしも停電発生前の状態と同一の状態にして遊技の制御を再開させる必要は無く、例えば、未払いの賞球数のみや大当たりの状態のみをバックアップさせる等、バックアップするデータを限定し、一部の状態のみを復帰させて遊技の制御を再開させても良い。バックアップの必要なデータを限定することによって、バックアップ処理等のプログラムを簡略化できると共に、バックアップをするデータの退避やバックアップされたデータの復帰をより迅速に行うことができる。 For example, in each of the above embodiments, when a power failure occurs when the drive voltage is less than 22 volts and the power failure occurs before the drive voltage of the control system becomes less than 5 volts and the power is cut off, the main control board C and the payout control board H resumed the control of the game from the same state as before the occurrence of the power failure. However, it is not always necessary to restart the game control in the same state as before the occurrence of the power outage.For example, only the number of unpaid award balls or the state of the big win is backed up. Only the state of the game unit may be restored to resume the game control. By limiting the data that needs to be backed up, it is possible to simplify a program such as a backup process, and it is possible to more quickly save the data to be backed up and restore the backed up data.
また、上記各実施例では、各制御基板C,Hのメイン処理においてバックアップ処理(S16)を実行後、電源断前に停電が解消した場合には、バックアップエリア13c,33cからスタックポインタの値を読み出して遊技の状態を復帰させ、且つ、バックアップエリア13c,33cに書き込まれた遊技情報をクリアする処理を行って遊技の制御を再開させた。しかし、必ずしもこれらの処理を設けて遊技の制御を再開させる必要はなく、電源入時に実行されるバックアップデータの復帰処理と同一の復帰処理を使用して遊技状態を復帰させても良い。つまり、停電の発生後、電源断前に停電が解消した場合には、図3、図7、図11及び図12に示す各制御基板C,Hのメイン処理を先頭から実行して、遊技状態を復帰させても良い。電源断前に停電が解消した場合と、電源断後に停電が解消した場合とで復帰処理をそれぞれ設けることなく、同一の復帰処理を使用して遊技状態を復帰させることができる。よって、従来のバックアップ処理を行うプログラムに対する変更を抑制しつつ、停電発生前の遊技状態から遊技の制御を再開させることができる。
In each of the above embodiments, when the power failure is resolved before the power is turned off after the backup process (S16) is executed in the main process of the control boards C and H, the value of the stack pointer is obtained from the
また、上記各実施例では、各制御基板C,Hのメイン処理において停電が発生したことが確認された場合には、各制御基板C,Hにおける遊技の制御を完全に停止し、停電時の処理のみを実行するように構成したが、必ずしも遊技の制御を完全停止させる必要はなく、停電時の処理中にも少しずつ遊技の制御を進行させても良い。 Also, in each of the above embodiments, when it is confirmed that a power failure has occurred in the main processing of each control board C, H, the game control on each control board C, H is completely stopped, Although only the processing is executed, it is not always necessary to completely stop the control of the game, and the control of the game may be advanced little by little during the processing at the time of power failure.
また、上記各実施例では、各制御基板C,Hのメイン処理において停電の発生が確認された後、停電信号51がハイとなって停電が解消したことが1度でも確認されれば処理を各処理(S11,S82)へ遷移させて遊技の制御を再開した。しかし、必ずしも1回の停電信号51の確認に基づいて遊技の制御を再開させる必要はなく、停電信号51を所定回数(例えば5回)連続して確認し、全ての確認結果が停電解消を示すものである場合に停電が解消したと判断しても良い。停電が解消した場合には、停電監視回路50bから各制御基板C,Hの入出力ポート15,35へハイの信号が継続して入力されるので、停電が解消したか否かを複数回の判断に基づいて判定することができ、停電解消を誤まって判定することを防止することができる。
Further, in each of the above embodiments, after the occurrence of a power failure is confirmed in the main processing of each control board C, H, the processing is performed once it is confirmed that the power failure signal 51 becomes high and the power failure has been resolved. Transition to each process (S11, S82) and the game control was resumed. However, it is not always necessary to restart the game control based on one confirmation of the power failure signal 51. The power failure signal 51 is continuously confirmed a predetermined number of times (for example, five times), and all confirmation results indicate that the power failure has been resolved. If it is, it may be determined that the power failure has been resolved. When the power failure is resolved, a high signal is continuously input from the power failure monitoring circuit 50b to the input /
また、上記第2実施例では、停電発生信号81が各制御基板C,Hに入力されても、図11のS121及び図12のS131の処理で停電フラグ63d,73dのオンが確認されるまでは、各制御基板C,Hのメイン処理において同一の処理を行っていた。しかし、停電フラグ63d,73dがオンされた場合には、より早くバックアップ処理(S16)を行うことができるように、他の処理を短縮するように制御しても良い。例えば、停電フラグ63d,73dがオンである場合には、時間経過を確認する図11のS12及び図12のS83の処理をスキップさせる処理を設けても良い。停電の発生後、制御系の駆動電圧が、制御を実行不能な5ボルト未満になるまでの時間は限られているが、バックアップ処理(S16)をより早く実行することで、確実にデータのバックアップを行うことができる。 Further, in the second embodiment, even if the power failure occurrence signal 81 is input to the control boards C and H, the power failure flags 63d and 73d are confirmed to be turned on in the processing of S121 of FIG. 11 and S131 of FIG. The same processing is performed in the main processing of the control boards C and H. However, when the power failure flags 63d and 73d are turned on, it may be controlled to shorten other processes so that the backup process (S16) can be performed earlier. For example, when the power failure flags 63d and 73d are on, processing for skipping the processing of S12 of FIG. 11 and S83 of FIG. After the occurrence of a power failure, the time until the drive voltage of the control system becomes less than 5 volts at which control cannot be performed is limited. However, the backup process (S16) can be executed earlier to ensure data backup. It can be performed.
本発明を上記実施例とは異なるタイプのパチンコ機等に実施しても良い。例えば、一度大当たりすると、それを含めて複数回(例えば2回、3回)大当たり状態が発生するまで、大当たり期待値が高められるようなパチンコ機(通称、2回権利物、3回権利物と称される)として実施しても良い。また、大当たり図柄が表示された後に、所定の領域に球を入賞させることを必要条件として特別遊技状態となるパチンコ機として実施しても良い。更に、パチンコ機以外にも、アレパチ、雀球、いわゆるパチンコ機とスロットマシンとが融合した遊技機などの各種遊技機として実施するようにしても良い。 You may implement this invention in the pachinko machine etc. of a different type from the said Example. For example, once a big hit, a pachinko machine (commonly known as a two-time right, a three-time right, etc.) that increases the expected value of the big hit until a big hit state occurs (for example, twice or three times). May also be implemented. Moreover, after the jackpot symbol is displayed, it may be implemented as a pachinko machine that enters a special game state under the condition that a ball is awarded in a predetermined area. Further, in addition to the pachinko machine, various game machines such as an alepacchi, a sparrow ball, a game machine in which a so-called pachinko machine and a slot machine are fused may be used.
なお、スロットマシンは、例えばコインを投入して図柄有効ラインを決定させた状態で操作レバーを操作することにより図柄が変動され、ストップボタンを操作することにより図柄が停止されて確定される周知のものである。従って、スロットマシンの基本概念としては、「複数の図柄からなる図柄列を変動表示した後に図柄を確定表示する可変表示手段を備え、始動用操作手段(例えば操作レバー)の操作に起因して図柄の変動が開始され、停止用操作手段(例えばストップボタン)の操作に起因して、或いは、所定時間経過することにより、図柄の変動が停止され、その停止時の確定図柄が特定図柄であることを必要条件として、遊技者に有利な特別遊技状態を発生させる特別遊技状態発生手段とを備えたスロットマシン」となり、この場合、遊技媒体はコイン、メダル等が代表例として挙げられる。 In the slot machine, for example, a symbol is changed by operating a control lever in a state where a symbol effective line is determined by inserting coins, and a symbol is stopped and confirmed by operating a stop button. Is. Therefore, the basic concept of the slot machine is that “a variable display means for confirming and displaying a symbol after a symbol string composed of a plurality of symbols is displayed in a variable manner, and the symbol resulting from the operation of the starting operation means (for example, an operating lever). The change of the symbol is stopped due to the operation of the operation means for stopping (for example, the stop button) or after a predetermined time has elapsed, and the fixed symbol at the time of the stop is a specific symbol Is a slot machine provided with a special game state generating means for generating a special game state advantageous to the player. In this case, the game medium is typically a coin, a medal or the like.
なお、パチンコ機とスロットマシンとが融合した遊技機の具体例としては、複数の図柄からなる図柄列を変動表示した後に図柄を確定表示する可変表示手段を備えており、球打出用のハンドルを備えていないものが挙げられる。この場合、所定の操作(ボタン操作)に基づく所定量の球の投入の後、例えば操作レバーの操作に起因して図柄の変動が開始され、例えばストップボタンの操作に起因して、或いは、所定時間経過することにより、図柄の変動が停止され、その停止時の確定図柄がいわゆる大当たり図柄であることを必要条件として遊技者に有利な大当たり状態が発生させられ、遊技者には、下部の受皿に多量の球が払い出されるものである。 In addition, as a specific example of a gaming machine in which a pachinko machine and a slot machine are fused, a variable display means for displaying a fixed symbol after a variable symbol row consisting of a plurality of symbols is provided, and a handle for launching a ball is provided. What is not provided. In this case, after throwing a predetermined amount of spheres based on a predetermined operation (button operation), for example, the change of the symbol is started due to the operation of the operation lever, for example, due to the operation of the stop button, or With the passage of time, the fluctuation of the symbol is stopped, and a jackpot state advantageous to the player is generated on the condition that the confirmed symbol at the time of stoppage is a so-called jackpot symbol. A lot of balls are paid out.
63 RAM(記憶手段)
73 RAM(記憶手段)
80b 停電監視回路(停電監視手段)
81 停電発生信号(停電信号)
C 主制御基板(制御手段の一部、主制御手段)
H 払出制御基板(制御手段の一部、サブ制御手段) 63 RAM (storage means)
73 RAM (storage means)
80b power failure monitoring circuit (power failure monitoring means)
81 Power failure signal (power failure signal)
C Main control board (part of control means, main control means )
H Discharge control board (part of control means, sub-control means)
Claims (1)
該スロットマシンは、
主制御手段と、主制御手段からの制御信号に基づいて遊技部材を制御するサブ制御手段と、からなる制御手段と、
スロットマシンに供給される電圧が0Vよりも高い所定電圧まで低下した場合に停電の発生と判定して停電信号を出力する停電監視手段と、を備え、
前記制御手段を構成する前記主制御手段と前記サブ制御手段とは、それぞれ電源断後もデータを保持可能な記憶手段を備えると共に、該記憶手段の前記データを書換え可能であり、
前記停電監視手段が出力する前記停電信号は、前記停電信号が前記制御手段にとって割込禁止が不能な割込として入力されるよう、前記主制御手段及びサブ制御手段の割込禁止不能割込端子に入力されるものであり、
前記主制御手段及びサブ制御手段が実行する処理手段として、
繰り返し所定の制御を行う遊技制御処理手段と、
前記停電信号が入力されることに基づいて実行され、前記記憶手段に停電発生情報を記憶するための停電信号割込処理手段と、
前記遊技制御処理手段の特定個所で実行される処理手段であって、前記記憶手段に前記停電発生情報が記憶されているか否かを判定するための停電情報判定処理手段と、
前記記憶手段に前記データを記憶する停電時処理手段と、を備え、
前記制御手段は、前記遊技制御処理手段を実行中に前記停電信号が入力されることにより、前記停電信号割込処理手段を実行して前記記憶手段に前記停電発生情報を記憶して前記遊技制御処理手段に復帰し、
該遊技制御処理手段の前記停電情報判定処理手段で前記停電発生情報が記憶されていると判定された場合は前記停電時処理手段を実行し、
停電が解消した場合に、前記停電時処理手段の実行前の遊技状態から遊技の制御を再開することを特徴とするスロットマシン。 Variable display means for confirming and displaying a symbol after a symbol string composed of a plurality of symbols is variably displayed, the variation of the symbol is started due to the operation of the start operation means, and the change due to the operation of the stop operation means Or a slot machine that generates a special gaming state advantageous to the player when the change of the symbol is stopped after a predetermined time has elapsed and the fixed symbol at the time of the stop is a specific symbol,
The slot machine
Control means comprising: main control means; and sub-control means for controlling the gaming member based on a control signal from the main control means ;
A power failure monitoring means for determining that a power failure has occurred and outputting a power failure signal when the voltage supplied to the slot machine drops to a predetermined voltage higher than 0V ,
The main control means and the sub-control means constituting the control means each include a storage means capable of holding data even after power is turned off, and the data in the storage means can be rewritten,
The power outage signal output by the power outage monitoring means is such that the power outage signal is input as an interrupt that cannot be interrupted for the control means, and an interrupt disable disable interrupt terminal of the main control means and the sub control means. Is entered in
As processing means executed by the main control means and sub-control means,
Game control processing means for repeatedly performing predetermined control;
A power failure signal interrupt processing means for storing power failure occurrence information in the storage means, executed based on the power failure signal being input;
Power failure information determination processing means for determining whether or not the power failure occurrence information is stored in the storage means, processing means executed at a specific location of the game control processing means,
A power failure processing means for storing the data in the storage means,
The control means executes the power failure signal interrupt processing means and stores the power failure occurrence information in the storage means when the power failure signal is inputted during execution of the game control processing means, and the game control Return to the processing means,
If it is determined by the power failure information determination processing means of the game control processing means that the power failure occurrence information is stored, the power failure processing means is executed,
A slot machine, wherein when a power failure is resolved, the control of the game is resumed from the game state before the execution of the power failure processing means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007308888A JP4492685B2 (en) | 2007-11-29 | 2007-11-29 | Slot machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007308888A JP4492685B2 (en) | 2007-11-29 | 2007-11-29 | Slot machine |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007208918A Division JP4321642B2 (en) | 2007-08-10 | 2007-08-10 | Game machine |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2008062109A JP2008062109A (en) | 2008-03-21 |
JP2008062109A5 JP2008062109A5 (en) | 2010-01-07 |
JP4492685B2 true JP4492685B2 (en) | 2010-06-30 |
Family
ID=39285278
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007308888A Expired - Lifetime JP4492685B2 (en) | 2007-11-29 | 2007-11-29 | Slot machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4492685B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6041446B2 (en) * | 2014-06-30 | 2016-12-07 | サミー株式会社 | Game machine |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001198267A (en) * | 2000-01-18 | 2001-07-24 | Maruhon Ind Co Ltd | Pachinko machine |
JP2001310067A (en) * | 2000-04-28 | 2001-11-06 | Sankyo Kk | Game machine |
JP4321642B2 (en) * | 2007-08-10 | 2009-08-26 | 株式会社三洋物産 | Game machine |
-
2007
- 2007-11-29 JP JP2007308888A patent/JP4492685B2/en not_active Expired - Lifetime
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001198267A (en) * | 2000-01-18 | 2001-07-24 | Maruhon Ind Co Ltd | Pachinko machine |
JP2001310067A (en) * | 2000-04-28 | 2001-11-06 | Sankyo Kk | Game machine |
JP4321642B2 (en) * | 2007-08-10 | 2009-08-26 | 株式会社三洋物産 | Game machine |
Also Published As
Publication number | Publication date |
---|---|
JP2008062109A (en) | 2008-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4656110B2 (en) | Game machine | |
JP4321642B2 (en) | Game machine | |
JP2010264284A (en) | Game machine | |
JP4023322B2 (en) | Game machine | |
JP5170220B2 (en) | Game machine | |
JP4577337B2 (en) | Game machine | |
JP4492685B2 (en) | Slot machine | |
JP4428438B2 (en) | Game machine | |
JP4379514B2 (en) | Game machine | |
JP4428439B2 (en) | Game machine | |
JP4103380B2 (en) | Game machine | |
JP4320685B2 (en) | Game machine | |
JP4665958B2 (en) | Game machine | |
JP2003230742A (en) | Game machine | |
JP4135710B2 (en) | Game machine | |
JP2010046520A (en) | Game machine | |
JP4174966B2 (en) | Game machine | |
JP6187637B2 (en) | Game machine | |
JP2008062112A (en) | Game machine | |
JP2008062110A (en) | Game machine | |
JP2008062113A (en) | Game machine | |
JP5987925B2 (en) | Game machine | |
JP2010227620A (en) | Game machine | |
JP5585568B2 (en) | Game machine | |
JP4792630B2 (en) | Game machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091117 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20091117 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20091208 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A132 Effective date: 20091215 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100212 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100316 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100329 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4492685 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130416 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130416 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160416 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |