JP6187637B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP6187637B2
JP6187637B2 JP2016105123A JP2016105123A JP6187637B2 JP 6187637 B2 JP6187637 B2 JP 6187637B2 JP 2016105123 A JP2016105123 A JP 2016105123A JP 2016105123 A JP2016105123 A JP 2016105123A JP 6187637 B2 JP6187637 B2 JP 6187637B2
Authority
JP
Japan
Prior art keywords
prize ball
control board
initialization
command
payout control
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
JP2016105123A
Other languages
Japanese (ja)
Other versions
JP2016147189A (en
Inventor
保谷 誠
誠 保谷
那須 隆
隆 那須
加藤 哲也
哲也 加藤
裕一 近藤
裕一 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Bussan Co Ltd
Original Assignee
Sanyo Bussan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Bussan Co Ltd filed Critical Sanyo Bussan Co Ltd
Priority to JP2016105123A priority Critical patent/JP6187637B2/en
Publication of JP2016147189A publication Critical patent/JP2016147189A/en
Application granted granted Critical
Publication of JP6187637B2 publication Critical patent/JP6187637B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、パチンコ機やスロットマシンに代表される遊技機に関するものである。   The present invention relates to gaming machines represented by pachinko machines and slot machines.

パチンコ機等の遊技機の遊技の制御は、主に主制御基板により行われる。この主制御基板には、賞球や貸し球の払い出し制御を行う払出制御基板や、効果音の出力制御を行う効果音制御基板、図柄の変動表示等の表示制御を行う表示用制御基板などが接続されている。これら各制御基板の制御は、主制御基板から各制御基板へ一方向に送信されるコマンドにより行われる。 Game control of a gaming machine such as a pachinko machine is mainly performed by a main control board. The main control board includes a payout control board that performs payout control of prize balls and rental balls, a sound effect control board that performs output control of sound effects, and a display control board that performs display control such as symbol variation display. It is connected. Control of each of these control board is performed by a command or the like transmitted from the main control board in one direction to the control board.

このような遊技機においては、停電の発生等によって遊技機の電源が突然切断された場合への対応が必要である。In such a gaming machine, it is necessary to cope with the case where the power source of the gaming machine is suddenly cut off due to the occurrence of a power failure or the like.

本発明は上記例示した事情等を鑑みてなされたものであり、停電に対応することができる遊技機を提供することを目的としている。 The present invention has been made in view of the above-described circumstances and the like, and an object thereof is to provide a gaming machine that can cope with a power failure .

この目的を達成するために請求項1記載の遊技機は、遊技の制御を行う主制御手段と、その主制御手段から送信されるコマンドに基づいて所定の制御を行う従制御手段とを備えており、前記主制御手段は、遊技機の電源断中においても記憶内容を保持し続けるようバックアップ電源手段に接続される記憶手段と、遊技機の電源投入後に前記記憶手段の記憶内容を使用して遊技を実行する遊技実行手段と、遊技機の電源投入後に前記記憶手段の記憶内容を初期化する初期化手段と、前記遊技実行手段による遊技の実行と前記初期化手段による初期化とを切替可能な切替手段と、前記初期化手段による初期化が行われる場合に、前記従制御手段に主初期化時コマンドを送信する主初期化時コマンド送信手段とを備え、前記初期化手段と前記主初期化時コマンド送信手段とは、一のCPUが含み、前記従制御手段は、遊技機の電源投入後に従制御手段が有する従側記憶手段を初期化する従側初期化手段と、前記主制御手段が送信する主初期化時コマンドを受信した場合に、主初期化時コマンド受信時処理を実行する手段とを備え、前記従側初期化手段は、前記主初期化時コマンド受信時処理として、遊技機の電源投入後に、前記従側記憶手段の初期化が未実行である場合にその初期化を実行し、前記従側記憶手段の初期化が実行済みである場合にその初期化の重複実行を回避する処理を有している。 In order to achieve this object, the gaming machine according to claim 1 is provided with a main control means for controlling a game and a sub-control means for performing a predetermined control based on a command transmitted from the main control means. The main control means uses the storage means connected to the backup power supply means so as to keep the stored contents even when the gaming machine is powered off, and the storage contents of the storing means after the gaming machine is turned on. Switchable between a game execution means for executing a game, an initialization means for initializing the stored contents of the storage means after the gaming machine is turned on, and a game execution by the game execution means and an initialization by the initialization means Switching means and main initialization command transmission means for transmitting a main initialization command to the slave control means when initialization by the initialization means is performed, the initialization means and the main initialization The hour command transmission means is included in one CPU, and the slave control means is a slave side initialization means for initializing slave storage means included in the slave control means after the gaming machine is turned on, and the master control means Means for executing a process at the time of main initialization command reception when a command at the time of main initialization to be transmitted is received, and the slave side initialization means has a gaming machine as the process at the time of command reception at the time of main initialization. After the power is turned on, the initialization of the secondary storage means is executed if it has not been executed, and the initialization of the secondary storage means is avoided if the initialization is already executed. Has a process to do.

本発明の遊技機によれば、停電に対応することができる。 According to the gaming machine of the present invention, it is possible to cope with a power failure.

本発明の一実施例であるパチンコ機の遊技盤の正面図である。It is a front view of the game board of the pachinko machine which is one Example of this invention. パチンコ機の電気的構成を示したブロック図である。It is the block diagram which showed the electrical structure of the pachinko machine. 主制御基板及び払出制御基板で実行されるNMI割込処理のフローチャートである。It is a flowchart of the NMI interruption process performed with the main control board and the payout control board. 主制御基板で実行される立ち上げ処理のフローチャートである。It is a flowchart of the starting process performed with a main control board. 主制御基板で実行される賞球処理のフローチャートである。It is a flowchart of prize ball processing performed with a main control board. 主制御基板の賞球処理の中で実行される賞球検出処理のフローチャートである。It is a flowchart of a prize ball detection process executed in the prize ball process of the main control board. 払出制御基板の受信割込処理で実行されるコマンド受信処理のフローチャートである。It is a flowchart of the command reception process performed by the reception interruption process of a payout control board. 払出制御基板で実行される立ち上げ処理のフローチャートである。It is a flowchart of the starting process performed with a payout control board. 払出制御基板で実行される賞球払出処理のフローチャートである。It is a flowchart of a prize ball payout process executed by a payout control board.

以下、本発明の好ましい実施例について、添付図面を参照して説明する。本実施例では、遊技機の一例として弾球遊技機の一種であるパチンコ機、特に、第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. Of course, the present invention can be used for other gaming machines such as a third-class pachinko gaming machine, a coin gaming machine, and a slot machine.

図1は、本実施例のパチンコ機Pの遊技盤の正面図である。遊技盤1の周囲には、球が入賞することにより5個から15個の球が払い出される複数の入賞口2が設けられている。また、遊技盤1の中央には、複数種類の識別情報としての図柄などを表示する液晶(LCD)ディスプレイ3が設けられている。このLCDディスプレイ3の表示画面は横方向に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 holes 2 through which five to fifteen balls are paid out when a ball wins. In the center of the game board 1, a liquid crystal (LCD) display 3 for displaying symbols as a plurality of types of identification information is provided. The display screen of the LCD display 3 is divided into three in the horizontal direction. In each of the three divided display areas, the symbols are displayed in a variable manner while scrolling from right to left in the horizontal direction.

LCDディスプレイ3の下方には、図柄作動口(第1種始動口)4が設けられ、球がこの図柄作動口4を通過することにより、前記したLCDディスプレイ3の変動表示が開始される。図柄作動口4の下方には、特定入賞口(大入賞口)5が設けられている。この特定入賞口5は、LCDディスプレイ3の変動後の表示結果が予め定められた図柄の組み合わせの1つと一致する場合に、大当たりとなって、球が入賞しやすいように所定時間(例えば、30秒経過するまで、あるいは、球が10個入賞するまで)開放される。   Below the LCD display 3, a symbol operating port (first type starting port) 4 is provided, and when the sphere passes through the symbol operating port 4, the above-described variation display of the LCD display 3 is started. Below the symbol operating port 4, a specific winning port (large winning port) 5 is provided. The specific winning opening 5 is a predetermined time (for example, 30 seconds) so that the ball is a big hit and the ball is easy to win when the display result after the fluctuation of the LCD display 3 matches one of the predetermined symbol combinations. Open until seconds have passed or 10 balls have been won).

この特定入賞口5内には、Vゾーン5aが設けられており、特定入賞口5の開放中に、球がVゾーン5a内を通過すると、継続権が成立して、特定入賞口5の閉鎖後、再度、その特定入賞口5が所定時間(又は、特定入賞口5に球が所定個数入賞するまで)開放される。この特定入賞口5の開閉動作は、最高で16回(16ラウンド)繰り返し可能にされており、開閉動作の行われ得る状態が、いわゆる所定の遊技価値の付与された状態(特別遊技状態)である。   A V zone 5a is provided in the specific winning opening 5, and when the ball passes through the V zone 5a while the specific winning opening 5 is opened, a continuation right is established and the specific winning opening 5 is closed. Thereafter, the specific winning opening 5 is opened again for a predetermined time (or until a predetermined number of balls win the specific winning opening 5). The opening / closing operation of the specific winning opening 5 can be repeated up to 16 times (16 rounds), and the state in which the opening / closing operation can be performed is a state in which a predetermined game value is given (special game state). is there.

図2は、パチンコ機Pの電気的構成を示したブロック図であり、特に、パチンコ機Pの遊技内容の制御を行う主制御基板Cと、有価物体としての賞球や貸し球の払出制御を行う払出制御基板Hとの電気的構成を示したブロック図である。   FIG. 2 is a block diagram showing the electrical configuration of the pachinko machine P. In particular, the main control board C that controls the game contents of the pachinko machine P, and the payout control of prize balls and rental balls as valuable objects. It is the block diagram which showed the electrical structure with the payout control board | substrate H to perform.

パチンコ機Pの主制御基板Cは、演算装置であるMPU11と、そのMPU11により実行される各種の制御プログラムや固定値データ等を記憶したROM12と、ワークメモリ等として使用されるRAM13とを備えている。図3から図6のフローチャートに示すプログラムは、制御プログラムの一部としてROM12内に記憶されている。またRAM13には、賞球バッファ13aと、賞球ポインタ13bと、残賞球数カウンタ13cと、不足賞球チェック済フラグ13dと、不足賞球チェックカウンタ13eと、バックアップエリア13fとが設けられると共に、バックアップ用のコンデンサ(電池)13xが接続されてバックアップ可能に構成されている。よって、RAM13の各値は、パチンコ機Pの電源が切断された場合にも保持(バックアップ)される。   The main control board C of the pachinko machine P includes an MPU 11 that is an arithmetic device, a ROM 12 that stores various control programs executed by the MPU 11 and fixed value data, and a RAM 13 that is used as a work memory. Yes. The programs shown in the flowcharts of FIGS. 3 to 6 are stored in the ROM 12 as a part of the control program. Further, the RAM 13 is provided with a prize ball buffer 13a, a prize ball pointer 13b, a remaining prize ball counter 13c, an insufficient prize ball check completed flag 13d, an insufficient prize ball check counter 13e, and a backup area 13f. A backup capacitor (battery) 13x is connected and configured to be backed up. Therefore, each value of the RAM 13 is retained (backed up) even when the power of the pachinko machine P is cut off.

賞球バッファ13aは、遊技領域1へ打ち込まれた球が普通入賞口2等へ入賞した場合に、払い出される賞球数を記憶するバッファである。払い出される賞球数は入賞した球毎に賞球バッファ13aへ記憶されるので、賞球バッファ13aは複数バイトで構成されている。賞球バッファ13aに記憶された賞球数のデータは、賞球コマンドとして払出制御基板Hへ送信されると、賞球バッファ13aから消去される。具体的には、0番目の賞球バッファ13aに記憶される賞球数を払出制御基板Hへ送信した後、1番目以降の賞球バッファ13aの値を小さいアドレス側へ順に1バイトずつシフトすることにより、0番目の賞球バッファ13aの値が消去される。   The winning ball buffer 13a is a buffer for storing the number of winning balls to be paid out when a ball that has been driven into the game area 1 wins the normal winning slot 2 or the like. Since the number of winning balls to be paid out is stored in the winning ball buffer 13a for each winning ball, the winning ball buffer 13a is composed of a plurality of bytes. When the prize ball data stored in the prize ball buffer 13a is transmitted to the payout control board H as a prize ball command, it is erased from the prize ball buffer 13a. Specifically, after the number of prize balls stored in the 0th prize ball buffer 13a is transmitted to the payout control board H, the values of the 1st and later prize ball buffers 13a are sequentially shifted to the smaller address side by 1 byte. As a result, the value of the 0th prize ball buffer 13a is erased.

ここで、賞球コマンドとは、払い出される賞球数を払出制御基板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 prize ball pointer 13b is a pointer indicating the position of the prize ball buffer 13a for storing the number of prize balls, and the number of prize balls to be paid out is stored in the value-th prize ball buffer 13a of the prize ball pointer 13b. The value of the prize ball pointer 13b is incremented by "1" by writing the number of prize balls in the prize ball buffer 13a, and conversely, the value of the 0th prize ball buffer 13a is transmitted to the payout control board H. “1” is subtracted.

残賞球数カウンタ13cは、未払いの賞球数を記憶するカウンタであり、払出制御基板Hによって払い出される賞球数を主制御基板Cで管理するためのカウンタである。残賞球数カウンタ13cの値は、主制御基板Cが払出制御基板Hへ賞球の払い出しを指示する毎に、その指示した数が加算され、逆に、払出制御基板Hによって賞球の払い出しが行われて、その払い出された賞球を賞球カウントスイッチ22が検出する毎に「1」ずつ減算される。この残賞球数カウンタ13cの値は、後述する不足賞球コマンドの2バイト目のデータとしても使用される。   The remaining prize ball number counter 13c is a counter for storing the number of unpaid prize balls, and is a counter for managing the number of prize balls to be paid out by the payout control board H on the main control board C. Each time the main control board C instructs the payout control board H to pay out the prize ball, the value of the remaining prize ball counter 13c is incremented, and conversely, the payout control board H pays out the prize ball. Each time the award ball count switch 22 detects the paid-out prize ball, “1” is subtracted. The value of the remaining prize ball number counter 13c is also used as the second byte data of an insufficient prize ball command to be described later.

不足賞球チェック済フラグ13dは、払出制御基板Hによって払い出される賞球が本来払い出されるべき賞球数に対して不足するという「不足賞球」の発生時に、その不足賞球が、停電の発生等により電源が断されその電源が再入されたために生じたものであるのか否かを示すためのフラグである。   The shortage prize ball checked flag 13d indicates that the shortage prize ball is generated when a power outage occurs when an "shortage prize ball" occurs in which the prize balls to be paid out by the payout control board H are insufficient with respect to the number of prize balls to be paid out. This is a flag for indicating whether or not the power is turned off and the power is turned on again.

パチンコ機Pの電源が切断されるタイミングによっては、払出制御基板Hの残賞球数カウンタ33aの値が主制御基板Cの残賞球数カウンタ13cの値より小さくなった状態でバックアップされる場合がある。例えば、主制御基板Cから賞球コマンドが送信され、主制御基板Cの残賞球数カウンタ13cの値が更新された後であって、払出制御基板Hの残賞球数カウンタ33aの値の更新前に、払出制御基板Hの制御が電源断に起因して停止すると、払出制御基板Hの残賞球数カウンタ33aの値は主制御基板Cの残賞球数カウンタ13cの値より小さくなった状態でバックアップされる。かかる場合に、停電等が解消して電源が再入されると、払出制御基板Hは、自己の残賞球数カウンタ33aに記憶される数の賞球を払い出すが、その数は主制御基板Cの残賞球数カウンタ13cで記憶する値に対して不足したものとなる。   Depending on the timing at which the power of the pachinko machine P is turned off, backup is performed in a state where the value of the remaining winning ball counter 33a of the payout control board H is smaller than the value of the remaining winning ball counter 13c of the main control board C. There is. For example, after the prize ball command is transmitted from the main control board C and the value of the remaining prize ball number counter 13c of the main control board C is updated, the value of the remaining prize ball number counter 33a of the payout control board H is updated. If the control of the payout control board H is stopped due to power interruption before the update, the value of the remaining prize ball number counter 33a of the payout control board H becomes smaller than the value of the remaining prize ball number counter 13c of the main control board C. Is backed up. In such a case, when the power failure is resolved and the power is turned on again, the payout control board H pays out the number of prize balls stored in its own remaining prize ball number counter 33a. The value stored in the remaining ball counter 13c of the substrate C is insufficient.

この場合の不足賞球は、電源断のタイミング等によって生じるものであり、パチンコ機Pの故障など(例えば、賞球払出用モータ21の故障により賞球の払い出しができない場合のような機械的な故障など)に起因して生じるものではない。よって、電源の再入後における遊技を円滑に進めるために、不足賞球チェック済フラグ13dを設けて、不足賞球が電源再入後1回目に発生したものであるか否かを示し、電源の再入に起因して生じる不足賞球により、賞球アンダーエラーを発生させないようにしている。   The shortage balls in this case are generated due to the timing of power-off, etc., such as a failure of the pachinko machine P (for example, a case where a prize ball cannot be paid out due to a failure of the prize ball payout motor 21). It is not caused by a malfunction. Therefore, in order to smoothly advance the game after the power is turned on again, the insufficient prize ball checked flag 13d is provided to indicate whether or not the insufficient prize ball is generated for the first time after the power is turned on again. In this way, a shortage ball due to the re-entry of the ball is prevented from causing a prize ball under error.

この不足賞球チェック済フラグ13dがオフされている場合には、電源の再入後における1回目の不足賞球のチェック中であることを示しており、逆に、オンされている場合には該チェックが既に終了していることを示している。よって、不足賞球チェック済フラグ13dは、電源再入時の立ち上げ処理において(図4参照)、残賞球数カウンタ13cの値が「0」でない場合にはオフされ(S26)、「0」である場合にオンされる(S28)。残賞球数カウンタ13cの値が「0」である場合には、電源再入後における1回目の不足賞球のチェックは既に終了しているのと同じだからである。また、立ち上げ処理において主制御基板Cが初期化される場合は(S16)、その初期化処理において不足賞球チェック済フラグ13dはオンされる。残賞球数カウンタ13cの値が「0」クリアされるので、この場合も同様に、電源再入後における1回目の不足賞球のチェックは既に終了しているのと同じだからである。   When the deficient ball checked flag 13d is turned off, it indicates that the first deficient ball is being checked after the power is turned on again. This indicates that the check has already been completed. Therefore, the shortage ball checked flag 13d is turned off when the value of the remaining ball number counter 13c is not “0” in the start-up process when the power is turned on again (see FIG. 4) (S26). "Is turned on (S28). This is because, when the value of the remaining prize ball counter 13c is “0”, the first shortage prize ball check after power-on is the same as having already been completed. When the main control board C is initialized in the start-up process (S16), the insufficient prize ball checked flag 13d is turned on in the initialization process. This is because the value of the remaining winning ball counter 13c is cleared to “0”, and in this case as well, the first shortage winning ball check after power-on is the same as having already been completed.

不足賞球チェック済フラグ13dがオフの状態で不足賞球が生じた場合には、賞球アンダーエラーを発生させず、その不足賞球数を払出制御基板Hへ報せるべく、不足賞球コマンドが主制御基板Cから払出制御基板Hへ送信される(図6のS65)。逆に、不足賞球チェック済フラグ13dがオンの状態で、不足賞球が生じた場合には、賞球アンダーエラーを発生させる(図6のS67)。電源の再入による不足賞球の発生ではないからである。   If a shortage ball is generated with the shortage ball checked flag 13d off, a shortage ball command is issued to report the shortage ball number to the payout control board H without generating a shortage ball under error. Is transmitted from the main control board C to the payout control board H (S65 in FIG. 6). On the contrary, when a shortage prize ball is generated with the shortage prize ball checked flag 13d turned on, a prize ball under error is generated (S67 in FIG. 6). This is because there is no shortage of prize balls due to power re-entry.

ここで、不足賞球コマンドとは、電源の再入時において払出制御基板Hにより払い出される賞球数が不足する場合に、その不足分を報せるべく、主制御基板Cから払出制御基板Hへ送信されるコマンドである。不足賞球コマンドは、2バイトで構成されている。1バイト目のデータは、そのコマンドが不足賞球コマンドであることを示すためのデータ(例えば「A2H」)とされており、また、2バイト目のデータは不足賞球数を示すデータとされている。具体的には、この2バイト目のデータとして、残賞球数カウンタ13cの値がセットされる。払出制御基板Hは、この不足賞球コマンドを受信すると、2バイト目のデータを読み出して、これを残賞球数カウンタ33aに書き込む(図7のS78)。これにより、払出制御基板Hによって、不足賞球の払い出しが行われる。   Here, the shortage prize ball command is a command from the main control board C to the payout control board H in order to report the shortage when the number of prize balls to be paid out by the payout control board H is insufficient when the power is turned on again. The command to be sent. The insufficient prize ball command is composed of 2 bytes. The first byte data is data (for example, “A2H”) indicating that the command is an insufficient prize ball command, and the second byte data is data indicating the number of insufficient prize balls. ing. Specifically, the value of the remaining winning ball number counter 13c is set as the second byte data. When the payout control board H receives the insufficient prize ball command, it reads out the second byte data and writes it in the remaining prize ball number counter 33a (S78 in FIG. 7). Thereby, the payout control board H pays out the award winning ball.

不足賞球チェックカウンタ13eは、不足賞球があるか否かの判断タイミングを決定するカウンタである。不足賞球チェックカウンタ13eには、本実施例では5秒分に相当する値が初期値として設定され、図6の賞球検出処理(S50)において、賞球の払い出しが検出されず且つ残賞球数カウンタ13cの値が「0」でない場合に「1」ずつ減算される。この減算の結果、不足賞球チェックカウンタ13eの値が「0」となるタイミングで、不足賞球があるか否かが判断される。具体的には、不足賞球チェックカウンタ13eの値が「0」となるタイミングで、残賞球数カウンタ13cの値が「0」でなければ、主制御基板Cから指示したにも拘わらず、何らかの理由で払い出されない未払いの賞球(不足賞球)があるものと判断される。前述した通り、その際に、不足賞球チェック済フラグ13dがオフであれば、不足賞球コマンドが主制御基板Cから払出制御基板Hへ送信され(図6のS65)、一方、不足賞球チェック済フラグ13dがオンであれば、賞球アンダーエラー処理が行われる(図6のS67)。   The insufficient prize ball check counter 13e is a counter that determines the determination timing of whether or not there is an insufficient prize ball. In the present embodiment, a value corresponding to 5 seconds is set as an initial value in the shortage prize ball check counter 13e, and in the prize ball detection process (S50) of FIG. When the value of the ball counter 13c is not “0”, “1” is subtracted. As a result of this subtraction, it is determined whether or not there is an insufficient prize ball at the timing when the value of the insufficient prize ball check counter 13e becomes “0”. Specifically, if the value of the remaining prize ball counter 13c is not “0” at the timing when the value of the insufficient prize ball check counter 13e becomes “0”, the command is issued from the main control board C. It is determined that there are unpaid prize balls (shortage prize balls) that are not paid out for some reason. As described above, if the shortage prize ball checked flag 13d is off at this time, a shortage prize ball command is transmitted from the main control board C to the payout control board H (S65 in FIG. 6). If the checked flag 13d is on, a prize ball under error process is performed (S67 in FIG. 6).

なお、不足賞球チェックカウンタ13eの値は、賞球コマンドを送信する毎に(図5のS46)、或いは、賞球の払い出しが検出される毎に(図6のS52)、それぞれ初期化される。また、不足賞球チェック済フラグ13dがオフされる場合や(図4のS27)、賞球の払い出しが不可能な状態となった場合にも(図6のS60)、それぞれ初期化される。   The value of the shortage prize ball check counter 13e is initialized each time a prize ball command is transmitted (S46 in FIG. 5) or each time a prize ball is paid out (S52 in FIG. 6). The Also, when the insufficient prize ball checked flag 13d is turned off (S27 in FIG. 4), or when it becomes impossible to pay out a prize ball (S60 in FIG. 6), each is initialized.

バックアップエリア13fは、停電などの発生により電源が切断された場合、電源の再入時に、パチンコ機Pの状態を電源切断前の状態に復帰させるため、電源切断時(停電発生時を含む。以下、同様)のスタックポインタや、各レジスタ、I/O等の値を記憶しておくためのエリアである。このバックアップエリア13fへの書き込みは、NMI割込処理(図3参照)によって電源切断時に実行され、逆にバックアップエリア13fに書き込まれた各値の復帰は、電源入時(停電解消による電源入を含む。以下、同様)の初期化処理において実行される(図4のS21,S22参照)。   When the power is cut off due to the occurrence of a power failure or the like, the backup area 13f returns the pachinko machine P to the state before the power is turned off when the power is turned on again. This is an area for storing stack pointers, values of registers, I / O, and the like. The writing to the backup area 13f is executed when the power is turned off by the NMI interrupt process (see FIG. 3). Conversely, the restoration of each value written to the backup area 13f is performed when the power is turned on (the power is turned on by eliminating the power failure). The same is performed in the initialization process (see S21 and S22 in FIG. 4).

これらMPU11、ROM12、RAM13は、アドレスバス及びデータバスで構成されるバスライン14を介して相互に接続されている。バスライン14は、また、入出力ポート15にも接続されている。入出力ポート15は、入力および出力が固定的なバッファ(インバータゲート)16,37を介して払出制御基板Hと接続されるほか、複数の普通入賞スイッチ17と、第1種始動口スイッチ18と、Vカウントスイッチ19と、10カウントスイッチ20と、賞球カウントスイッチ22と、クリアスイッチ23と、他の入出力装置25と、それぞれ接続されている。   The MPU 11, ROM 12, and RAM 13 are connected to each other via a bus line 14 constituted by an address bus and a data bus. The bus line 14 is also connected to the input / output port 15. The input / output port 15 is connected to the payout control board H via buffers (inverter gates) 16 and 37 whose inputs and outputs are fixed, a plurality of normal winning switches 17, a first type start port switch 18, and the like. The V count switch 19, 10 count switch 20, prize ball count switch 22, clear switch 23, and other input / output device 25 are connected to each other.

普通入賞スイッチ17は、遊技領域1内の複数の普通入賞口2へ入賞した球をそれぞれ検出するためのスイッチであり、各普通入賞口2の入口近傍に設けられている。第1種始動口スイッチ18は、図柄作動口(第1種始動口)4を通過した球を検出するためのスイッチであり、図柄作動口4の近傍に設けられている。普通入賞スイッチ17のいずれか又は第1種始動口スイッチ18によって球が検出されると、払出制御基板Hによって6個の賞球が払い出される。   The normal winning switch 17 is a switch for detecting each of the balls that have won the plurality of normal winning ports 2 in the game area 1, and is provided near the entrance of each of the normal winning ports 2. The first type starting port switch 18 is a switch for detecting a sphere that has passed through the symbol operating port (first type starting port) 4, and is provided in the vicinity of the symbol operating port 4. When a ball is detected by any one of the normal winning switches 17 or the first type start port switch 18, six payout balls are paid out by the payout control board H.

Vカウントスイッチ19は、特定入賞口5内のVゾーン5aへ入賞した球を検出するためのスイッチであり、また、10カウントスイッチ20は、特定入賞口5内のVゾーン5a以外へ入賞した球を検出するためのスイッチである。Vカウントスイッチ19又は10カウントスイッチ20により球が検出されると、払出制御基板Hによって15個の賞球が払い出される。   The V count switch 19 is a switch for detecting a ball won in the V zone 5 a in the specific winning opening 5, and the 10 count switch 20 is a ball won in a place other than the V zone 5 a in the specific winning opening 5. It is a switch for detecting. When a ball is detected by the V count switch 19 or the 10 count switch 20, 15 prize balls are paid out by the payout control board H.

賞球カウントスイッチ22は、賞球払出用モータ21によって払い出された賞球を検出するためのスイッチであり、賞球払出用モータ21と共に賞球払出ユニットSに搭載されている。賞球払出用モータ21は賞球を払い出すためのモータであり、賞球払出用モータ21の駆動は、払出制御基板Hによって制御される。   The prize ball count switch 22 is a switch for detecting a prize ball paid out by the prize ball payout motor 21 and is mounted in the prize ball payout unit S together with the prize ball payout motor 21. The winning ball payout motor 21 is a motor for paying out a winning ball, and the driving of the winning ball payout motor 21 is controlled by the payout control board H.

クリアスイッチ23は、主制御基板Cおよび払出制御基板Hの各RAM13,33にバックアップされるデータをクリアするためのスイッチであり、押しボタンタイプのスイッチで構成されている。このクリアスイッチ23が押下された状態でパチンコ機Pの電源が投入されると(停電解消による電源入を含む)、主制御基板Cおよび払出制御基板Hによって、RAM13,33のデータがそれぞれクリアされる(図4のS13:Yes,S16、図8のS83:Yes,S86参照)。   The clear switch 23 is a switch for clearing data backed up in the RAMs 13 and 33 of the main control board C and the payout control board H, and is configured as a push button type switch. When the power of the pachinko machine P is turned on while the clear switch 23 is pressed (including power-on due to power failure cancellation), the data in the RAMs 13 and 33 are cleared by the main control board C and the payout control board H, respectively. (See S13 in FIG. 4: Yes, S16, S83 in FIG. 8: Yes, S86).

前記した通り主制御基板Cは、入力および出力が固定的なバッファ(インバータゲート)16,37を介して、払出制御基板Hと接続されている。このため主制御基板Cと払出制御基板Hとの間における賞球コマンド等の送受信は、主制御基板Cから払出制御基板Hへの一方向にのみ行われ、払出制御基板Hから主制御基板Cへ行うことはできない。なお、主制御基板Cと払出制御基板Hとは、8本のデータ線と1本のストローブ線とにより接続されており、ストローブ線のデータがアクティブになった時に、8本のデータ線上に出力されているデータが主制御基板Cから払出制御基板Hへコマンドとして送信される。   As described above, the main control board C is connected to the payout control board H via the buffers (inverter gates) 16 and 37 whose inputs and outputs are fixed. Therefore, transmission / reception of a prize ball command or the like between the main control board C and the payout control board H is performed only in one direction from the main control board C to the payout control board H, and the payout control board H to the main control board C. Can not be done. The main control board C and the payout control board H are connected by eight data lines and one strobe line, and when the data on the strobe line becomes active, the data is output onto the eight data lines. The transmitted data is transmitted from the main control board C to the payout control board H as a command.

払出制御基板Hは賞球や貸し球の払出制御を行うものであり、演算装置であるMPU31と、そのMPU31により実行される制御プログラムや固定値データ等を記憶したROM32と、ワークメモリ等として使用されるRAM33とを備えている。図3及び図7から図9に示すフローチャートのプログラムは、制御プログラムの一部としてROM32内に記憶されている。   The payout control board H performs payout control of prize balls and lending balls, and is used as an MPU 31, which is an arithmetic unit, a ROM 32 storing a control program executed by the MPU 31, fixed value data, and a work memory. The RAM 33 is provided. The programs of the flowcharts shown in FIGS. 3 and 7 to 9 are stored in the ROM 32 as a part of the control program.

払出制御基板HのRAM33には、残賞球数カウンタ33aと、初期化フラグ33bと、賞球払出許可フラグ33cと、バックアップエリア33dとが設けられると共に、バックアップ用のコンデンサ(電池)33xが接続されてバックアップ可能に構成されている。よって、RAM33の各値は、パチンコ機Pの電源が切断された場合にも保持(バックアップ)されるのである。   The RAM 33 of the payout control board H is provided with a remaining ball number counter 33a, an initialization flag 33b, a prize ball payout permission flag 33c, and a backup area 33d, and a backup capacitor (battery) 33x is connected. Has been configured to be backupable. Therefore, each value in the RAM 33 is retained (backed up) even when the power of the pachinko machine P is turned off.

残賞球数カウンタ33aは、前述した主制御基板Cの残賞球数カウンタ13cと同様に、未払いの賞球数を記憶するカウンタである。残賞球数カウンタ33aの値は、賞球コマンドによって主制御基板Cから払出制御基板Hへ賞球の払い出しが指示される毎に、その指示された賞球数が加算される。逆に、賞球カウントスイッチ22が払い出された賞球を検出する毎に「1」ずつ減算される。払出制御基板Hは、この残賞球数カウンタ33aの値が「0」になるまで、賞球払出用モータ21を動作させて賞球の払い出しを行うが、前記した通り、この残賞球数カウンタ33aの値はコンデンサ33xによってバックアップされるので、賞球の払い出し途中でパチンコ機Pの電源が切断された場合にも、そのパチンコ機Pの電源を再投入することにより、払出制御基板Hは、残りの賞球(未払い分の賞球)を正確に払い出すことができる。   The remaining prize ball number counter 33a is a counter that stores the number of unpaid prize balls in the same manner as the remaining prize ball number counter 13c of the main control board C described above. The value of the remaining prize ball number counter 33a is incremented every time the prize ball is instructed from the main control board C to the payout control board H by the prize ball command. On the contrary, every time the prize ball count switch 22 detects the paid out prize ball, “1” is subtracted. The payout control board H operates the award ball payout motor 21 to pay out the award balls until the value of the remaining award ball number counter 33a reaches “0”. Since the value of the counter 33a is backed up by the capacitor 33x, even when the power of the pachinko machine P is cut off during the payout of the prize ball, the payout control board H is turned on by turning on the power of the pachinko machine P again. The remaining prize balls (unpaid prize balls) can be paid out accurately.

初期化フラグ33bは、払出制御基板Hが、主制御基板Cから送信される初期化コマンドを受信した場合にオンされるフラグである。初期化コマンドは、主制御基板Cの立ち上げ処理においてバックアップデータがクリアされた場合に送信されるコマンドであり(図4のS18参照)、払出制御基板Hに対して初期化の指示と賞球の払出許可とを与えるコマンドである。払出制御基板Hは、この初期化コマンドを受信すると、初期化フラグ33bをオンし、払出制御基板Hにおいても既に初期化処理(S85)が終了していれば、初期化フラグ33bをオフした後に(S90)、処理を各処理へ移行して、賞球の払い出しの可能な状態とする。一方、払出制御基板Hにおいてデータのバックアップが有効に行われている状態で初期化コマンドを受信した場合には、主制御基板Cに合わせて初期化処理(S97)を実行した後、各処理へ移行して、賞球の払い出しの可能な状態とする。なお、この場合、一旦オンされた初期化フラグ33bは、S97の初期化処理によってオフされる。   The initialization flag 33b is a flag that is turned on when the dispensing control board H receives an initialization command transmitted from the main control board C. The initialization command is a command transmitted when the backup data is cleared in the startup process of the main control board C (see S18 in FIG. 4), and the initialization command and the prize ball are given to the payout control board H. This is a command for giving a payout permission. Upon receiving this initialization command, the payout control board H turns on the initialization flag 33b. If the initialization process (S85) has already been completed in the payout control board H, the payout control board H turns off the initialization flag 33b. (S90), the process is shifted to each process, and a state in which a prize ball can be paid out is set. On the other hand, when the initialization command is received in a state where the data backup is effectively performed in the payout control board H, the initialization process (S97) is executed in accordance with the main control board C, and then each process is performed. Transition to a state where award balls can be paid out. In this case, the initialization flag 33b once turned on is turned off by the initialization process of S97.

賞球払出許可フラグ33cは、払出制御基板Hが、主制御基板Cから送信される賞球払出許可コマンドを受信した場合にオンされるフラグであり、賞球の払い出しの許可を指示するためのフラグである。払出制御基板Hは、賞球払出許可コマンドを受信すると、賞球の払出許可を記憶するべく賞球払出許可フラグ33cをオンする(S74)。賞球払出許可フラグ33cがオンされると、払出制御基板Hは立ち上げ処理を終了して、その賞球払出許可フラグ33cをオフした後に(S90,S98)、処理を各処理へ移行して、賞球の払い出しの可能な状態とする。   The prize ball payout permission flag 33c is a flag that is turned on when the payout control board H receives a prize ball payout permission command transmitted from the main control board C, and is used to instruct permission for payout of prize balls. Flag. Upon receiving the prize ball payout permission command, the payout control board H turns on the prize ball payout permission flag 33c so as to store the prize ball payout permission (S74). When the prize ball payout permission flag 33c is turned on, the payout control board H ends the start-up process, and after turning off the prize ball payout permission flag 33c (S90, S98), the process proceeds to each process. The award ball can be paid out.

ここで、賞球払出許可コマンドとは、バックアップが有効である場合の主制御基板Cの立ち上げ処理の最後に、主制御基板Cから払出制御基板Hへ送信されるコマンドであり、1バイトで構成されている(例えば「A1H」)。この賞球払出許可コマンドにより、立ち上げ処理終了後の払出制御基板Hに対して、賞球の払い出しの許可が指示される。   Here, the prize ball payout permission command is a command transmitted from the main control board C to the payout control board H at the end of the startup process of the main control board C when the backup is valid, and is 1 byte. Configured (for example, “A1H”). This prize ball payout permission command instructs the payout control board H after the start-up process to be permitted to pay out prize balls.

なお、賞球払出許可コマンドを別個に設けることなく、パチンコ機Pの状態を示す1乃至2以上のコマンドで代用するようにしても良い。この場合、該コマンドにより、パチンコ機Pの状態が払出制御基板Hへ報されるので、払出制御基板Hでは、残賞球数カウンタ33aの値が「0」でない場合に、報されたパチンコ機Pの状態が賞球の払い出しが可能な状態であれば賞球の払い出しを行い、逆に、賞球の払い出しが不可能であれば賞球の払い出しを待機する。   Note that one or two or more commands indicating the state of the pachinko machine P may be used instead of separately providing a prize ball payout permission command. In this case, since the state of the pachinko machine P is reported to the payout control board H by the command, in the payout control board H, when the value of the remaining winning ball counter 33a is not “0”, the reported pachinko machine is reported. If the state of P is a state in which the prize ball can be paid out, the prize ball is paid out. Conversely, if the prize ball cannot be paid out, the system waits for the prize ball to be paid out.

バックアップエリア33dは、前述した主制御基板Cのバックアップエリア13fと同様に、停電などの発生により電源が切断された場合、電源の再入時に、パチンコ機Pの状態を電源切断前の状態に復帰させるため、電源切断時(停電発生時を含む。以下、同様)のスタックポインタや、各レジスタ、I/O等の値を記憶しておくためのエリアである。このバックアップエリア33dへの書き込みは、NMI割込処理(図3参照)によって電源切断時に実行され、逆にバックアップエリア33dに書き込まれた各値の復帰は、電源入時(停電解消による電源入を含む。以下、同様)の初期化処理において実行される(図8のS92,S93参照)。   Similarly to the backup area 13f of the main control board C described above, when the power is cut off due to a power failure or the like, the backup area 33d returns the state of the pachinko machine P to the state before the power is turned off when the power is turned on again. Therefore, it is an area for storing a stack pointer at the time of power-off (including when a power failure occurs, the same applies hereinafter), values of registers, I / O, and the like. The writing to the backup area 33d is executed when the power is turned off by the NMI interrupt process (see FIG. 3). Conversely, each value written to the backup area 33d is restored when the power is turned on (the power is turned on by eliminating the power failure). The same is performed in the initialization process (see S92 and S93 in FIG. 8).

これらMPU31、ROM32及びRAM33は、アドレスバス及びデータバスで構成されるバスライン35により互いに接続されている。バスライン35は、また、入出力ポート36にも接続されている。入出力ポート36は、前述した入力および出力が固定的なバッファ(インバータゲート)16,37を介して主制御基板Cと接続されるほか、賞球払出ユニットSの賞球払出用モータ21および賞球カウントスイッチ22と、クリアスイッチ23と、他の入出力装置40とにそれぞれ接続されている。   The MPU 31, ROM 32, and RAM 33 are connected to each other by a bus line 35 that includes an address bus and a data bus. The bus line 35 is also connected to an input / output port 36. The input / output port 36 is connected to the main control board C via the buffers (inverter gates) 16 and 37 whose inputs and outputs described above are fixed, as well as the prize ball payout motor 21 and the prize of the prize ball payout unit S. The ball count switch 22, the clear switch 23, and other input / output devices 40 are respectively connected.

次に、図3から図9に示すフローチャートを参照して、主制御基板C及び払出制御基板Hで行われる各処理について説明する。図3は、停電の発生等によるパチンコ機Pの電源断時に、主制御基板C及び払出制御基板Hで、それぞれ別々に実行されるNMI割込処理のフローチャートである。このNMI割込処理により、停電の発生等による電源断時の主制御基板C及び払出制御基板Hの状態がそれぞれのバックアップエリア13f,33dに記憶される。なお、NMI割込処理は、主制御基板CのROM12と払出制御基板HのROM32とに、それぞれ別々に搭載される処理であるが、フローチャートの表記上、同様に表すことができるので、図3にまとめて図示している。   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 NMI interrupt 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 NMI interruption 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 respective backup areas 13f and 33d. Note that the NMI interrupt process is a process that is separately mounted on the ROM 12 of the main control board C and the ROM 32 of the payout control board H, but can be represented in the same manner in the notation of the flowchart. Are summarized in the figure.

停電の発生等によりパチンコ機Pの電源が断されると、図示しない停電信号が主制御基板C及び払出制御基板HのMPU11,31のNMI(Non Maskable Interrupt)端子へそれぞれ出力される。各MPU11,31は、NMI端子に停電信号が入力されると、それぞれ実行中の制御を中断して、図3のNMI割込処理を開始する。停電信号が出力された後所定時間は、主制御基板C及び払出制御基板Hの処理が実行可能に電力供給されており、この所定時間内に、図3のNMI割込処理が実行される。   When the power of the pachinko machine P is cut off due to the occurrence of a power failure, a power failure signal (not shown) is output to the NMI (Non Maskable Interrupt) terminals of the MPUs 11 and 31 of the main control board C and the payout control board H, respectively. When a power failure signal is input to the NMI terminal, each of the MPUs 11 and 31 interrupts the control being executed and starts the NMI interrupt process of FIG. For a predetermined time after the power failure signal is output, power is supplied so that the processing of the main control board C and the payout control board H can be executed, and the NMI interrupt processing of FIG. 3 is executed within this predetermined time.

NMI割込処理では、まず、スタックポインタの値をバックアップエリア13f,33dへ書き込み(S1)、更に、各レジスタおよびI/O等の値をバックアップエリア13f,33dへ書き込んで(S2)、停電の発生等による電源断時の状態を記憶する。その後、主制御基板C及び払出制御基板Hに応じてそれぞれ異なるその他停電処理を実行し(S3)、その後は、電源が完全に断して処理が実行できなくなるまで、処理をループする。   In the NMI interrupt processing, first, the stack pointer value is written to the backup areas 13f and 33d (S1), and further, the values of each register and I / O are written to the backup areas 13f and 33d (S2). The state at the time of power-off due to occurrence or the like is stored. Thereafter, another power failure process that differs depending on the main control board C and the payout control board H is executed (S3), and then the process is looped until the power supply is completely cut off and the process cannot be executed.

図4は、パチンコ機Pの電源入時に主制御基板Cで実行される立ち上げ処理のフローチャートである。この処理では、バックアップが有効であれば、バックアップエリア13fに記憶された各データを元の状態に戻し、遊技の制御を電源が断される前の状態から続行する。一方、バックアップが有効でなかったり、或いは、バックアップが有効であっても電源入時にクリアスイッチ23が押下された場合には、初期化処理を実行する。   FIG. 4 is a flowchart of start-up processing executed on the main control board C when the pachinko machine P is turned on. In this process, if the backup is valid, each data stored in the backup area 13f is returned to the original state, and the game control is continued from the state before the power is turned off. On the other hand, if the backup is not valid, or if the clear switch 23 is pressed when the power is turned on even if the backup is valid, an initialization process is executed.

まず、割込を禁止し(S11)、次に、本来のスタック領域にスタックされているデータを壊さないために、仮のスタックポインタを設定する(S12)。クリアスイッチ23がオンされているか否かを確認し(S13)、オンされていれば(S13:Yes)、処理をS15へ移行して初期化処理を実行する。クリアスイッチ23がオンされていなければ(S13:No)、バックアップが有効であるか否かを確認する(S14)。この確認は、RAM13の所定のエリアに書き込まれたキーワードが正しく記憶されているか否かにより判断する。キーワードが正しく記憶されていればバックアップは有効であり、逆に、キーワードが正しくなければバックアップデータは破壊されているので、そのバックアップは有効ではない。バックアップが有効であれば(S14:Yes)、処理をS21へ移行して、主制御基板Cの各状態を電源の断前の状態に復帰させる。一方、バックアップが有効でなければ(S14:No)、処理をS15へ移行して初期化処理を実行する。   First, interrupts are prohibited (S11), and then a temporary stack pointer is set so as not to destroy the data stacked in the original stack area (S12). It is confirmed whether or not the clear switch 23 is turned on (S13). If the clear switch 23 is turned on (S13: Yes), the process proceeds to S15 and the initialization process is executed. If the clear switch 23 is not turned on (S13: No), it is confirmed whether the backup is valid (S14). This confirmation is determined by whether or not the keyword written in a predetermined area of the RAM 13 is correctly stored. If the keyword is stored correctly, the backup is valid. On the other hand, if the keyword is not correct, the backup data is destroyed, so the backup is not valid. If the backup is valid (S14: Yes), the process proceeds to S21, and each state of the main control board C is returned to the state before the power is turned off. On the other hand, if the backup is not valid (S14: No), the process proceeds to S15 and the initialization process is executed.

S15の処理からの初期化処理では、まず、正規のスタックポインタを設定し、スタックの内容を整えた後(S15)、RAMクリア及び初期化処理を実行して(S16)、RAM13及びI/O等の各値を初期化する。このとき、不足賞球チェック済フラグ13dはオンされる。   In the initialization process from the process of S15, first, a normal stack pointer is set, the contents of the stack are adjusted (S15), the RAM clearing and initialization process is executed (S16), the RAM 13 and the I / O Initialize each value such as. At this time, the missing prize ball checked flag 13d is turned on.

その後、割込を許可し(S17)、その割込を使って初期化コマンドを払出制御基板Hへ送信して(S18)、主制御基板Cで初期化処理が実行されたことを払出制御基板Hへ報せる。払出制御基板Hは、主制御基板Cに比べて処理が軽いので、主制御基板Cより先に立ち上げ処理が終了する。よって、払出制御基板Hは、主制御基板Cから送信される初期化コマンドを確実に受信することができる。主制御基板Cは、初期化コマンドの送信後、その初期化コマンドを受信した払出制御基板Hが初期化処理を完了するために充分な時間をウエイトするためにウエイト処理を実行して(S19)、次の処理への移行を所定時間待機する。ウエイト処理の実行後は、払出制御基板Hも確実に立ち上がっているので、処理をS20の各処理へ移行して、遊技の制御を開始する。   Thereafter, the interruption is permitted (S17), an initialization command is transmitted to the payout control board H using the interrupt (S18), and the payout control board indicates that the initialization process has been executed on the main control board C. Tell 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 transmitting the initialization command, the main control board C executes a wait process so that the payout control board H that has received the initialization command waits for a sufficient time to complete the initialization process (S19). , And wait for a predetermined time to shift to the next processing. After the execution of the wait process, the payout control board H has also risen reliably, so the process shifts to each process of S20 and game control is started.

S21からの復帰処理では、まず、バックアップエリア13fへ退避した各レジスタやI/O等のデータをそのバックアップエリア13fから読み出して、これら各データを元のレジスタやI/O等へ書き込む(S21)。更に、バックアップエリア13fからスタックポインタの値を読み出して、これをスタックポインタへ書き込み、電源断前(停電前)の状態、即ちNMI割込発生前の状態に戻す(S22)。その後、割込を許可し(S23)、その許可した割込を使って、賞球払出許可コマンドを払出制御基板Hへ送信する(S24)。払出制御基板Hは、この賞球払出許可コマンドを受信することにより、賞球の払い出しが可能になる。   In the return processing from S21, first, data such as each register and I / O saved in the backup area 13f is read from the backup area 13f, and these data are written to the original register and I / O (S21). . Further, the value of the stack pointer is read from the backup area 13f and written to the stack pointer to return to the state before the power interruption (before the power failure), that is, the state before the occurrence of the NMI interrupt (S22). Thereafter, an interrupt is permitted (S23), and a prize ball payout permission command is transmitted to the payout control board H using the permitted interrupt (S24). When the payout control board H receives the prize ball payout permission command, the payout ball can be paid out.

次に、残賞球数カウンタ13cの値を調べ(S25)、その値が「0」でなければ(S25:No)、立ち上げ処理の後に、払出制御基板Hによって、電源の断前に未払いとなっていた賞球の払い出しが行われるので、かかる場合には、不足賞球チェック済フラグ13dをオフして(S26)、払い出される賞球数に不足分があるか否かをチェックすると共に、そのチェックの判定時間(判定タイミング)を設定するべく、不足賞球チェックカウンタ13eに初期値である5秒分の値をセットする(S27)。   Next, the value of the remaining prize ball counter 13c is checked (S25). If the value is not "0" (S25: No), after the start-up process, the payout control board H causes the unpaid before the power is turned off. In this case, the deficient ball check completed flag 13d is turned off (S26), and it is checked whether or not there is a deficiency in the number of award balls to be paid out. In order to set the determination time (determination timing) for the check, the initial value of 5 seconds is set in the shortage prize ball check counter 13e (S27).

一方、残賞球数カウンタ13cが「0」であれば(S25:Yes)、電源の断前に未払いとなっていた賞球は無く、立ち上げ処理の後に賞球の払い出しが行われることはない。よって、かかる場合には、電源の再入による不足賞球の発生はないので、不足賞球チェック済フラグ13dをオンする(S28)。その後、NMI割込をリターンし、処理を電源断前に実行していたところへ戻して、制御を電源断前の状態から続行する。   On the other hand, if the remaining prize ball counter 13c is “0” (S25: Yes), there is no prize ball that has not been paid before the power is turned off, and the prize ball is paid out after the start-up process. Absent. Therefore, in such a case, since there is no occurrence of insufficient prize balls due to re-entry of the power, the insufficient prize ball checked flag 13d is turned on (S28). Thereafter, the NMI interrupt is returned, the processing is returned to the place where it was executed before the power was turned off, and the control is continued from the state before the power was turned off.

図5は、主制御基板Cの各処理(S20)の中で実行される賞球処理のフローチャートである。賞球処理は、普通入賞口2や第1種始動口4或いは大入賞口5へ入賞した打球を検出する入賞検出処理と(S30)、賞球コマンドを払出制御基板Hへ送信する賞球コマンド送信処理と(S40)、払出制御基板Hによって払い出された賞球を検出する賞球検出処理(S50)との3つの処理によって構成されている。   FIG. 5 is a flowchart of the prize ball process executed in each process (S20) of the main control board C. The winning ball process includes a winning detection process for detecting a hit ball that has won the normal winning slot 2, the first type starting port 4 or the big winning slot 5 (S30), and a winning ball command for transmitting a winning ball command to the payout control board H. The process consists of three processes: a transmission process (S40) and a prize ball detection process (S50) for detecting a prize ball paid out by the payout control board H.

入賞検出処理(S30)では、まず、いずれかの普通入賞スイッチ17又は第1種始動口スイッチ18により、球が検出された否かを確認する(S31)。いずれかのスイッチ17,18によって球が検出された場合には(S31:Yes)、6個の賞球を払い出すために、賞球ポインタ13bの値番目の賞球バッファ13aへ「6」を書き込み(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 switch 17 or the first type start port switch 18 (S31). When a ball is detected by any of the switches 17 and 18 (S31: Yes), “6” is set to the value-th prize ball buffer 13a of the prize ball pointer 13b in order to pay out six prize balls. Write (S32) and add "1" to the value of the prize ball pointer 13b (S33). On the other hand, when a sphere is not detected by any of the switches 17 and 18 (S31: No), the process of S32 and S33 is skipped and the process proceeds to S34.

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 V count switch 19 or the 10 count switch 20 (S34). When a ball is detected by any of the switches 19 and 20 (S34: Yes), “15” is set to the value-th prize ball buffer 13a of the prize ball pointer 13b in order to pay out 15 prize balls. Write (S35), and add "1" to the value of the prize ball pointer 13b (S36). On the other hand, if a ball is not detected by any of the switches 19 and 20 (S34: No), the process of S35 and S36 is skipped, the winning detection process (S30) is terminated, and a prize ball command transmission process of S40 is performed. Migrate to

賞球コマンド送信処理(S40)では、まず、賞球ポインタ13bの値が「0」であるか否かを調べる(S41)。賞球ポインタ13bの値が「0」でなければ(S41:No)、払い出すべき賞球数のデータが賞球バッファ13aに記憶されているということなので、0番目の賞球バッファ13aの値を賞球コマンドの2バイト目のデータとしてセットし、その賞球コマンドを払出制御基板Hへ送信する(S42)。   In the prize ball command transmission process (S40), it is first checked whether or not the value of the prize ball pointer 13b is "0" (S41). If the value of the prize ball pointer 13b is not “0” (S41: No), it means that the prize ball data to be paid out is stored in the prize ball buffer 13a, and therefore the value of the 0th prize ball buffer 13a. Is set as the second byte data of the prize ball command, and the prize ball command is transmitted to the payout control board H (S42).

賞球コマンドの送信後は、その賞球コマンドによって送信した賞球数データである、0番目の賞球バッファ13aの値を残賞球数カウンタ13cへ加算する(S43)。そして、1番目以降の賞球バッファ13aの値を小さいアドレス側へ順に1バイトずつシフトして(S44)、賞球バッファ13aの値を更新すると共に、送信した0番目の賞球バッファ13aの値を消去し、更に、賞球ポインタ13bの値を「1」減算すると共に(S45)、不足賞球があるか否かの判断タイミングを決定する不足賞球チェックカウンタ13eに初期値である5秒分の値をセットして(S46)、その判断タイミングを初期化する。   After the prize ball command is transmitted, the value of the 0th prize ball buffer 13a, which is the prize ball number data transmitted by the prize ball command, is added to the remaining prize ball counter 13c (S43). Then, the value of the first and subsequent prize ball buffers 13a is shifted one byte at a time toward the smaller address side (S44), the value of the prize ball buffer 13a is updated, and the value of the transmitted 0th prize ball buffer 13a is updated. Is further subtracted from the value of the prize ball pointer 13b by “1” (S45), and an initial value is set to 5 seconds which is an initial value for the insufficient prize ball check counter 13e that determines the timing for determining whether or not there is an insufficient prize ball. The minute value is set (S46), and the determination timing is initialized.

一方、S41の処理において、賞球ポインタ13bの値が「0」であれば(S41:Yes)、払い出すべき賞球数のデータは賞球バッファ13aに記憶されていないので、S42〜S46の各処理をスキップして、賞球コマンド送信処理(S40)を終了し、S50の賞球検出処理へ移行する。   On the other hand, if the value of the prize ball pointer 13b is “0” in the process of S41 (S41: Yes), the data of the number of prize balls to be paid out is not stored in the prize ball buffer 13a. Each process is skipped, the prize ball command transmission process (S40) is terminated, and the process proceeds to a prize ball detection process of S50.

図6は、賞球検出処理(S50)のフローチャートである。賞球検出処理では、払出制御基板Hによって払い出された賞球が検出されると共に、その検出結果に基づいて、賞球オーバーエラー処理(S57)や、賞球アンダーエラー処理(S67)、或いは、不足賞球コマンドの送信処理(S65)が実行される。   FIG. 6 is a flowchart of the winning ball detection process (S50). In the prize ball detection process, a prize ball paid out by the payout control board H is detected, and on the basis of the detection result, a prize ball over error process (S57), a prize ball under error process (S67), or Then, a shortage ball command transmission process (S65) is executed.

賞球検出処理(S50)では、まず、賞球カウントスイッチ22がオンされたか否かを判断する(S51)。賞球カウントスイッチ22のオンが検出された場合には(S51:Yes)、賞球が1個払い出されたということなので、不足賞球があるか否かの判断タイミングを決定する不足賞球チェックカウンタ13eに初期値である5秒分の値をセットして(S52)、その判断タイミングを初期化する。   In the prize ball detection process (S50), it is first determined whether or not the prize ball count switch 22 is turned on (S51). If it is detected that the prize ball count switch 22 is turned on (S51: Yes), it means that one prize ball has been paid out. A value for 5 seconds, which is an initial value, is set in the check counter 13e (S52), and the determination timing is initialized.

残賞球数カウンタ13cの値を確認し(S53)、その値が「0」でなければ(S53:No)、払い出された賞球に対応して残賞球数カウンタ13cの値を「1」減算する(S54)。減算の結果、残賞球数カウンタ13cの値が「0」となれば(S55:Yes)、電源再入時における不足賞球のチェックは終了となるので、不足賞球チェック済フラグ13dをオンして(S56)、この賞球検出処理を終了する。S54の処理による減算の結果、残賞球数カウンタ13cの値が「0」でなければ(S55:No)、不足賞球チェック済フラグ13dをオンすることなく、S56の処理をスキップして、この賞球検出処理を終了する。なお、一旦オンされた不足賞球チェック済フラグ13dは、図4のS26の処理が実行されるまでオフされることはない。   The value of the remaining prize ball counter 13c is confirmed (S53), and if the value is not "0" (S53: No), the value of the remaining prize ball counter 13c is set to " 1 "is subtracted (S54). As a result of the subtraction, if the value of the remaining prize ball counter 13c becomes “0” (S55: Yes), the check for insufficient prize balls at the time of re-turning on the power is completed, so the insufficient prize ball checked flag 13d is turned on. In step S56, the prize ball detection process is terminated. If the value of the remaining winning ball counter 13c is not “0” as a result of the subtraction in S54 (S55: No), the processing of S56 is skipped without turning on the insufficient winning ball checked flag 13d, This prize ball detection process is terminated. Note that the insufficient prize ball checked flag 13d once turned on is not turned off until the processing of S26 in FIG. 4 is executed.

一方、賞球カウントスイッチ22のオンが検出されたにも拘わらず(S51:Yes)、残賞球数カウンタ13cの値が「0」であれば(S53:Yes)、本来払い出すべき賞球数を超えて賞球の払い出しが行われたということであるので、その場合には、賞球オーバーエラー処理を実行して(S57)、この賞球検出処理を終了する。   On the other hand, if the prize ball count switch 22 is turned on (S51: Yes), if the value of the remaining prize ball counter 13c is “0” (S53: Yes), the prize ball to be originally paid out. Since the number of prize balls is paid out in excess of the number, in that case, prize ball over error processing is executed (S57), and this prize ball detection processing is terminated.

S51の処理において、賞球カウントスイッチ22のオンが検出されない場合には(S51:No)、賞球は払い出されていない。よって、かかる場合には、不足賞球があるか否かをチェックするため、以降のS58〜S67の各処理を実行する。まず、残賞球数カウンタ13cの値を調べ(S58)、その値が「0」であれば(S58:Yes)、未払いの賞球はない。故に、不足賞球のチェックは不要であるので、この賞球検出処理を終了する。なお、残賞球数カウンタ13cの値が「0」である場合には、不足賞球チェック済フラグ13dは必ずオンになっている(S56,図4のS28)。   In the process of S51, when the turn-on of the prize ball count switch 22 is not detected (S51: No), no prize ball has been paid out. Therefore, in such a case, the subsequent processes of S58 to S67 are executed in order to check whether or not there is an insufficient prize ball. First, the value of the remaining winning ball counter 13c is checked (S58). If the value is “0” (S58: Yes), there is no unpaid winning ball. Therefore, since there is no need to check for insufficient prize balls, this prize ball detection process is terminated. When the value of the remaining prize ball number counter 13c is “0”, the insufficient prize ball checked flag 13d is always on (S56, S28 in FIG. 4).

一方、残賞球数カウンタ13cの値が「0」でなければ(S58:No)、パチンコ機Pが賞球の払い出しの可能な状態であるか否かを調べる(S59)。パチンコ機Pが賞球の払い出しの不可能な状態であれば(S59:No)、不足賞球があるか否かの判断タイミングを初期化するため、不足賞球チェックカウンタ13eに初期値である5秒分の値をセットし(S60)、この賞球検出処理を終了する。これにより、賞球の払い出しが可能となる時点を基準にして、不足賞球があるか否かの判断タイミングを設定することができるので、かかる判断を適切に行うことが可能となる。なお、賞球の払い出しが不可能な状態である場合としては、払い出される賞球を貯留する貯留タンク(図示せず)に、所定量に満たない賞球しか貯留されていない空切れ状態や、賞球が払い出される上皿および下皿が共に満タンである状態などが例示される。   On the other hand, if the value of the remaining prize ball counter 13c is not “0” (S58: No), it is checked whether or not the pachinko machine P is in a state in which a prize ball can be paid out (S59). If the pachinko machine P is in a state where it is impossible to pay out the prize balls (S59: No), the initial value is set in the missing prize ball check counter 13e in order to initialize the determination timing of whether or not there are missing prize balls. The value for 5 seconds is set (S60), and this prize ball detection process is terminated. As a result, it is possible to set a determination timing as to whether or not there is a short prize ball on the basis of a time point at which a prize ball can be paid out, so that such a determination can be made appropriately. In addition, as a case where the prize balls cannot be paid out, the storage tank (not shown) for storing the prize balls to be paid out is an empty state in which only prize balls less than a predetermined amount are stored, Examples include a state where both the upper and lower dishes from which the prize balls are paid out are full.

残賞球数カウンタ13cの値が「0」でなく(S58:No)、パチンコ機Pが賞球の払い出しの可能な状態であれば(S59:Yes)、不足賞球チェックカウンタ13eの値を調べる(S61)。不足賞球チェックカウンタ13eの値が「0」でなければ(S61:No)、その値を「1」減算し(S62)、減算の結果、その値が「0」となれば(S63:Yes)、不足賞球があるか否かの判断タイミングの到来である。この処理は、残賞球数カウンタ13cの値が「0」ではない(S58:No)という条件のもとに行われているので、不足賞球があるということである。   If the value of the remaining prize ball counter 13c is not “0” (S58: No) and the pachinko machine P is in a state where the prize ball can be paid out (S59: Yes), the value of the insufficient prize ball check counter 13e is set. Check (S61). If the value of the insufficient prize ball check counter 13e is not “0” (S61: No), “1” is subtracted from the value (S62). If the value is “0” as a result of the subtraction (S63: Yes). ), The timing for determining whether or not there is a missing prize ball. Since this process is performed under the condition that the value of the remaining prize ball counter 13c is not “0” (S58: No), there is an insufficient prize ball.

かかる場合には、不足賞球チェック済フラグ13dを調べ(S64)、そのフラグ13dがオフであれば(S64:No)、電源入後1回目の不足賞球の発生である。よって、この場合は、通常の賞球アンダーエラーの場合と異なり、停電等の発生タイミングによって、電源断前に主制御基板Cから送信された賞球コマンドが払出制御基板Hによって正常に受信されなかったり、或いは、受信されてはいるものの、受信した値を払出制御基板Hの残賞球数カウンタ33aへ加算する前に電源が断され払出制御基板Hの制御が停止したこと等が想定される。即ち、かかる不足賞球の発生は、賞球払出用モータ21の異常などのパチンコ機Pの故障に起因するものではなく、電源断のタイミングによるものである。よって、この場合には、遊技の円滑な進行を優先するべく、不足分の賞球数を記憶している残賞球数カウンタ13cの値を2バイト目のデータとしてセットして、不足賞球コマンドを払出制御基板Hへ送信する(S65)。この不足賞球コマンドにより、不足賞球の発生とその数を払出制御基板Hへ報せて、払出制御基板Hにより不足賞球の払い出しを行わせるのである。不足賞球コマンドの送信後は、電源再入後1回目の不足賞球のチェックが終了したことを記憶するべく、不足賞球チェック済フラグ13dをオンして(S66)、この賞球検出処理を終了する。   In such a case, the missing prize ball checked flag 13d is checked (S64). If the flag 13d is off (S64: No), the first missing prize ball is generated after the power is turned on. Therefore, in this case, unlike the case of a normal prize ball under error, the prize ball command transmitted from the main control board C before the power cut-off is not normally received by the payout control board H due to the occurrence timing of a power failure or the like. Although it has been received, it is assumed that the power supply was turned off and the control of the payout control board H was stopped before the received value was added to the remaining prize ball counter 33a of the payout control board H. . That is, the occurrence of the shortage prize ball is not caused by a failure of the pachinko machine P such as an abnormality of the prize ball payout motor 21 but by the timing of power-off. Therefore, in this case, in order to prioritize smooth progress of the game, the value of the remaining prize ball number counter 13c storing the number of missing prize balls is set as the second byte data, and the missing prize balls A command is transmitted to the payout control board H (S65). With the shortage prize ball command, the occurrence and number of shortage prize balls are reported to the payout control board H, and the payout control board H causes the shortage prize ball to be paid out. After the shortage ball command is transmitted, the shortage ball checked flag 13d is turned on to store that the first shortage ball check has been completed after the power is turned on again (S66). Exit.

一方、S64の処理において、不足賞球チェック済フラグ13dがオンされていれば(S64:Yes)、電源再入後1回目の不足賞球の発生ではない。即ち、今回の不足賞球の発生は、電源断のタイミングによるものではなく、パチンコ機Pの故障などに起因するものであることが想定される。よって、かかる場合には、賞球アンダーエラー処理を実行して(S67)、この賞球検出処理を終了する。   On the other hand, in the process of S64, if the insufficient prize ball checked flag 13d is turned on (S64: Yes), it is not the first occurrence of the insufficient prize ball after the power is turned on again. That is, it is assumed that the occurrence of the insufficient prize ball this time is not caused by the power-off timing but is caused by the failure of the pachinko machine P or the like. Therefore, in such a case, a prize ball under error process is executed (S67), and this prize ball detection process is terminated.

なお、S61の処理において、不足賞球チェックカウンタ13eの値が「0」であったり(S61:Yes)、或いは、その不足賞球チェックカウンタ13eの値が「0」でなく(S61:No)、且つ、「1」減算後の不足賞球チェックカウンタ13eの値も「0」でない場合には(S63:No)、不足賞球があるか否かの判断タイミングの到来ではないので、これらの場合には、S64〜S67の各処理をスキップして、賞球検出処理を終了する。   In the process of S61, the value of the insufficient prize ball check counter 13e is “0” (S61: Yes), or the value of the insufficient prize ball check counter 13e is not “0” (S61: No). If the value of the insufficient prize ball check counter 13e after subtraction of “1” is not “0” (S63: No), it is not the timing for determining whether or not there is an insufficient prize ball. In this case, each process of S64 to S67 is skipped, and the winning ball detection process is ended.

次に、図7から図9を参照して、払出制御基板Hで行われる各処理について説明する。図7は、払出制御基板Hの割込処理で実行されるコマンド受信処理のフローチャートである。主制御基板Cから送信されたコマンドを払出制御基板Hが受信すると、その度に割り込みが発生し、このコマンド受信処理が実行される。   Next, each process performed on the payout control board H will be described with reference to FIGS. FIG. 7 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.

コマンド受信処理では、まず、受信したコマンドが初期化コマンドであるか否かを判断する(S71)。そのコマンドが初期化コマンドであれば(S71:Yes)、その初期化コマンドの受信を記憶するべく、初期化フラグ33bをオンして(S72)、このコマンド受信処理を終了する。一方、受信したコマンドが初期化コマンドでなければ(S71:No)、そのコマンドが賞球払出許可コマンドであるか否かを判断する(S73)。受信したコマンドが賞球払出許可コマンドであれば(S73:Yes)、賞球払出許可コマンドの受信を記憶するべく、賞球払出許可フラグ33cをオンして(S74)、このコマンド受信処理を終了する。   In the command reception process, first, it is determined whether or not the received command is an initialization command (S71). If the command is an initialization command (S71: Yes), the initialization flag 33b is turned on to store the reception of the initialization command (S72), and the command reception process is terminated. On the other hand, if the received command is not an initialization command (S71: No), it is determined whether or not the command is a prize ball payout permission command (S73). If the received command is a winning ball payout permission command (S73: Yes), the winning ball payout permission flag 33c is turned on to store the reception of the winning ball payout permission command (S74), and this command receiving process is terminated. To do.

また、受信したコマンドが、初期化コマンドでも賞球払出許可コマンドでもなければ(S71:No,S73:No)、そのコマンドが賞球コマンドであるか否かを判断する(S75)。受信したコマンドが賞球コマンドであれば(S75:Yes)、その賞球コマンドの2バイト目のデータとして指示される賞球数を残賞球数カウンタ33aへ加算し(S76)、このコマンド受信処理を終了する。一方、受信したコマンドが賞球コマンドでもなければ(S75:No)、そのコマンドが不足賞球コマンドであるか否かを判断する(S77)。受信したコマンドが不足賞球コマンドであれば(S77:Yes)、その不足賞球コマンドの2バイト目のデータとして指示される値を残賞球数カウンタ33aへ書き込み(S78)、残賞球数カウンタ33aの値を主制御基板Cの残賞球数カウンタ13cの値と一致させる。これにより、不足賞球コマンドで指示された不足賞球の払い出しが払出制御基板Hによって行われる。   If the received command is neither an initialization command nor a prize ball payout permission command (S71: No, S73: No), it is determined whether or not the command is a prize ball command (S75). If the received command is a prize ball command (S75: Yes), the number of prize balls designated as the second byte data of the prize ball command is added to the remaining prize ball number counter 33a (S76). The process ends. On the other hand, if the received command is not a prize ball command (S75: No), it is determined whether or not the command is an insufficient prize ball command (S77). If the received command is a shortage ball command (S77: Yes), the value indicated as the second byte data of the shortage ball command is written to the remaining ball number counter 33a (S78), and the number of remaining balls The value of the counter 33a is made to coincide with the value of the remaining prize ball number counter 13c of the main control board C. Accordingly, the payout control board H performs payout of the shortage prize ball designated by the shortage prize ball command.

なお、受信したコマンドが上記コマンドのいずれもでなければ(S77:No)、その受信したコマンドに応じた処理を実行して(S79)、このコマンド受信処理を終了する。   If the received command is none of the above commands (S77: No), the process according to the received command is executed (S79), and the command receiving process is terminated.

図8は、パチンコ機Pの電源入時に払出制御基板Hで実行される立ち上げ処理のフローチャートである。この処理では、バックアップが有効であれば、バックアップエリア33dに記憶された各データを元の状態に戻し、賞球の払出制御を電源が断される前の状態から続行する。一方、バックアップが有効でなかったり、或いは、バックアップが有効であっても電源入時にクリアスイッチ23が押下された場合には、初期化処理を実行する。   FIG. 8 is a flowchart of start-up processing executed by the payout control board H when the pachinko machine P is turned on. In this process, if the backup is valid, each data stored in the backup area 33d is returned to the original state, and the prize ball payout control is continued from the state before the power is turned off. On the other hand, if the backup is not valid, or if the clear switch 23 is pressed when the power is turned on even if the backup is valid, an initialization process is executed.

まず、割込を禁止し(S81)、次に、本来のスタック領域にスタックされているデータを壊さないために、仮のスタックポインタを設定する(S82)。クリアスイッチ23がオンされているか否かを確認し(S83)、オンされていれば(S83:Yes)、処理をS85へ移行して初期化処理を実行する。クリアスイッチ23がオンされていなければ(S83:No)、バックアップが有効であるか否かを確認する(S84)。この確認は、RAM33の所定のエリアに書き込まれたキーワードが正しく記憶されているか否かにより判断する。キーワードが正しく記憶されていればバックアップは有効であり、逆に、キーワードが正しくなければバックアップデータは破壊されているので、そのバックアップは有効ではない。バックアップが有効であれば(S84:Yes)、処理をS92へ移行して、主制御基板Cの各状態を電源の断前の状態に復帰させる。一方、バックアップが有効でなければ(S84:No)、処理をS85へ移行して初期化処理を実行する。   First, interrupts are prohibited (S81), and then a temporary stack pointer is set so as not to destroy the data stacked in the original stack area (S82). It is confirmed whether or not the clear switch 23 is turned on (S83). If it is turned on (S83: Yes), the process proceeds to S85, and the initialization process is executed. If the clear switch 23 is not turned on (S83: No), it is confirmed whether the backup is valid (S84). This confirmation is determined by whether or not the keyword written in the predetermined area of the RAM 33 is correctly stored. If the keyword is stored correctly, the backup is valid. On the other hand, if the keyword is not correct, the backup data is destroyed, so the backup is not valid. If the backup is valid (S84: Yes), the process proceeds to S92, and each state of the main control board C is returned to the state before the power is turned off. On the other hand, if the backup is not valid (S84: No), the process proceeds to S85 and the initialization process is executed.

S85の処理からの初期化処理では、まず、正規のスタックポインタを設定し、スタックの内容を整えた後(S85)、RAMクリア及び初期化処理を実行して(S86)、RAM33及びI/O等の各値を初期化する。その後、割込を許可して(S87)、前述した図7のコマンド受信処理を実行可能とする。割込の許可後は、主制御基板Cからの賞球の払出許可をウエイトするべく、初期化フラグ33b又は賞球払出許可フラグ33cのいずれかがオンされるまで処理をループする(S88:No,S89:No)。初期化フラグ33b又は賞球払出許可フラグ33cのいずれかがオンされれば(S88:Yes又はS89:Yes)、主制御基板Cから賞球の払出許可が出されたということである。よって、かかる場合には、次の電源断に備えて、初期化フラグ33b及び賞球払出許可フラグ33cを共にオフした後(S90)、払出制御基板Hのメイン処理となる各処理を実行する(S91)。図9の賞球払出処理は、この各処理(S91)の中で実行されるので、払出制御基板Hによる賞球の払い出しは、初期化フラグ33bまたは賞球払出許可フラグ33cのいずれかがオンされるまで待機されることになる。   In the initialization process from the process of S85, first, a normal stack pointer is set, the contents of the stack are arranged (S85), RAM clearing and initialization process are executed (S86), and the RAM 33 and I / O Initialize each value such as. Thereafter, interrupts are permitted (S87), and the above-described command reception process of FIG. 7 can be executed. After the interruption is permitted, the process loops until either the initialization flag 33b or the prize ball payout permission flag 33c is turned on in order to wait for the prize ball payout permission from the main control board C (S88: No). , S89: No). If either the initialization flag 33b or the winning ball payout permission flag 33c is turned on (S88: Yes or S89: Yes), it means that the winning ball payout permission has been issued from the main control board C. Therefore, in such a case, in preparation for the next power-off, both the initialization flag 33b and the prize ball payout permission flag 33c are turned off (S90), and then each process as the main process of the payout control board H is executed ( S91). Since the prize ball payout process of FIG. 9 is executed in each process (S91), either the initialization flag 33b or the prize ball payout permission flag 33c is turned on for the payout of the prize ball by the payout control board H. It will wait until it is done.

なお、主制御基板Cから送信される初期化コマンドを受信して初期化フラグ33bがオンされた場合であっても(S88:Yes)、処理をS90へ移行するので、RAMクリア及び初期化処理(S86)を重複して実行することがない。   Even when the initialization command transmitted from the main control board C is received and the initialization flag 33b is turned on (S88: Yes), the process proceeds to S90, so that the RAM clear and initialization process is performed. (S86) is not executed repeatedly.

S92からの復帰処理では、まず、バックアップエリア33dへ退避した各レジスタやI/O等のデータをそのバックアップエリア33dから読み出して、これら各データを元のレジスタやI/O等へ書き込む(S92)。更に、バックアップエリア33dからスタックポインタの値を読み出して、これをスタックポインタへ書き込み、電源断前(停電前)の状態、即ちNMI割込発生前の状態に戻す(S93)。その後、割込を許可して(S94)、図7のコマンド受信処理を実行可能とする。割込の許可後は、主制御基板Cからの賞球の払出許可をウエイトするべく、初期化フラグ33b又は賞球払出許可フラグ33cのいずれかがオンされるまで処理をループする(S95:No,S96:No)。   In the return processing from S92, first, data such as each register and I / O saved in the backup area 33d is read from the backup area 33d, and these data are written to the original register and I / O (S92). . Further, the value of the stack pointer is read from the backup area 33d and written to the stack pointer to return to the state before the power interruption (before the power failure), that is, the state before the occurrence of the NMI interrupt (S93). Thereafter, the interrupt is permitted (S94), and the command reception process of FIG. 7 can be executed. After permitting the interrupt, the process loops until either the initialization flag 33b or the prize ball payout permission flag 33c is turned on in order to wait for the prize ball payout permission from the main control board C (S95: No). , S96: No).

賞球払出許可フラグ33cがオンされれば(S95:Yes)、主制御基板Cから賞球の払出許可が出されたということである。よって、かかる場合には、次の電源断に備えて、賞球払出許可フラグ33cをオフした後(S98)、NMI割込をリターンし、処理を電源断前に実行していたところへ戻して、制御を電源断前の状態から続行する。これにより賞球の払い出しが可能となる。   If the prize ball payout permission flag 33c is turned on (S95: Yes), it means that a prize ball payout permission has been issued from the main control board C. Therefore, in such a case, in preparation for the next power-off, the prize ball payout permission flag 33c is turned off (S98), the NMI interrupt is returned, and the process is returned to the place where it was executed before the power-off. Continue control from the state before the power was turned off. This makes it possible to pay out the winning ball.

一方、初期化フラグ33bがオンされれば(S95:No,S96:Yes)、主制御基板Cから初期化コマンドが送信されたということである。よって、かかる場合には、RAMクリア及び初期化処理を実行して(S97)、払出制御基板Hを初期化した後、払出制御基板Hのメイン処理となる各処理を実行する(S91)。図9の賞球払出処理は、この各処理(S91)の中で実行されるので、払出制御基板Hによる賞球の払い出しは、初期化フラグ33bがオンされるまで待機されることになる。   On the other hand, if the initialization flag 33b is turned on (S95: No, S96: Yes), it means that the initialization command is transmitted from the main control board C. Therefore, in such a case, the RAM clearing and initialization process is executed (S97), the payout control board H is initialized, and then each process as the main process of the payout control board H is executed (S91). Since the prize ball payout process of FIG. 9 is executed in each process (S91), the payout of the prize ball by the payout control board H is on standby until the initialization flag 33b is turned on.

なお、図4で説明した通り、主制御基板Cは、初期化コマンドの送信後、ウエイト処理(S19)を実行しその後の処理の実行を所定時間待機するので、払出制御基板HによるRAMクリア及び初期化処理(S97)の実行中に、主制御基板Cから新たなコマンドが送信されることはない。よって、払出制御基板Hは、かかる場合にも遊技の払出制御を正常に行うことができるのである。   As described with reference to FIG. 4, the main control board C executes the wait process (S19) after transmitting the initialization command, and waits for the execution of the subsequent process for a predetermined time. During execution of the initialization process (S97), no new command is transmitted from the main control board C. Therefore, the payout control board H can normally perform the payout control of the game even in such a case.

図9は、払出制御基板Hの各処理(S91)の中で実行される賞球払出処理のフローチャートである。この賞球払出処理により、賞球の払い出しと、払い出された賞球の検出とが行われる。賞球払出処理では、まず、残賞球数カウンタ33aの値を調べ(S101)、その値が「0」でなければ(S101:No)、未払いの賞球が残っているので、賞球払出用モータ21を駆動して賞球を1個払い出す(S102)。一方、残賞球数カウンタ33aの値が「0」であれば(S101:Yes)、未払いの賞球は残っていないので、S102の賞球の払い出し処理をスキップする。   FIG. 9 is a flowchart of the prize ball payout process executed in each process (S91) 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 ball number counter 33a is checked (S101). If the value is not "0" (S101: No), an unpaid prize ball remains, so a prize ball is paid out. The motor 21 is driven to pay out one prize ball (S102). On the other hand, if the value of the remaining prize ball counter 33a is “0” (S101: Yes), there is no unpaid prize ball remaining, so the prize ball payout process in S102 is skipped.

S103の処理において、賞球カウントスイッチ22のオンが検出されれば(S103:Yes)、賞球の払い出しが行われたということである。よって、かかる場合には、残賞球数カウンタ33aの値を確認し(S104)、その値が「0」でなければ(S104:No)、払い出された賞球に対応して残賞球数カウンタ33aの値を「1」減算し(S105)、この賞球払出処理を終了する。一方、賞球カウントスイッチ22のオンが検出されない場合や(S103:No)、賞球カウントスイッチ22のオンが検出されても(S103:Yes)、残賞球数カウンタ33aの値が「0」であれば(S104:Yes)、S105の処理をスキップして、この賞球払出処理を終了する。   If it is detected in the process of S103 that the prize ball count switch 22 is turned on (S103: Yes), it means that the prize ball has been paid out. Therefore, in such a case, the value of the remaining prize ball counter 33a is confirmed (S104), and if the value is not “0” (S104: No), the remaining prize ball corresponding to the paid-out prize ball. The value of the number counter 33a is decremented by “1” (S105), and this prize ball payout process is terminated. On the other hand, if the prize ball count switch 22 is not turned on (S103: No) or the prize ball count switch 22 is turned on (S103: Yes), the value of the remaining prize ball counter 33a is “0”. If so (S104: Yes), the process of S105 is skipped and this prize ball payout process is terminated.

以上説明したように、本実施例のパチンコ機Pによれば、賞球の払出残数を記憶する主制御基板Cおよび払出制御基板Hの残賞球数カウンタ13c,33aの値は、バックアップ用のコンデンサ13x,33xによって、それぞれパチンコ機Pの電源が切断された後も保持される。よって、停電などの発生によってパチンコ機Pの電源が突然切断された場合にも、未払いの賞球数を記憶して、パチンコ機Pの電源が再投入された後に、それらを確実に払い出すことができる。   As described above, according to the pachinko machine P of the present embodiment, the values of the remaining award ball counters 13c and 33a of the main control board C and the payout control board H that store the award ball payout remaining numbers are used for backup. The capacitors 13x and 33x hold the pachinko machine P after the power is turned off. Therefore, even if the power supply of the pachinko machine P is suddenly cut off due to the occurrence of a power failure or the like, the number of unpaid prize balls is memorized, and after the power of the pachinko machine P is turned on again, it should be paid out reliably Can do.

しかも、かかる未払い分の賞球の払い出しは、主制御基板Cから払出制御基板Hへ初期化コマンド又は賞球払出許可コマンドのいずれかが送信された後に行われる。よって、主制御基板Cと払出制御基板Hとの立ち上げ処理に要する時間が異なっても、払出制御基板Hによって行われる賞球の払い出しを、主制御基板C及び払出制御基板Hの双方で確実に検出することができる。   Moreover, the payout of unpaid prize balls is performed after either the initialization command or the prize ball payout permission command is transmitted from the main control board C to the payout control board H. Therefore, even if the time required for the start-up processing of the main control board C and the payout control board H is different, the payout of the prize balls performed by the payout control board H is surely performed on both the main control board C and the payout control board H. Can be detected.

また、パチンコ機Pの電源が切断されるタイミングによっては、その電源の再入後に不足賞球が生じる場合があるが、電源断のタイミング等によって生じる不足賞球については、賞球アンダーエラーを発生させることなく、主制御基板Cから払出制御基板Hへ不足賞球コマンドを送信して、払出制御基板Hに、その不足賞球の払い出しを行わせている。よって、電源再入後における不足賞球の発生を補って、遊技を円滑に進めることができるという効果がある。   In addition, depending on the timing when the power of the pachinko machine P is turned off, there may be insufficient prize balls after the power is turned on again. Instead, the short control ball command is transmitted from the main control board C to the payout control board H, and the payout control board H pays out the short prize ball. Therefore, there is an effect that the game can be smoothly advanced by compensating for the occurrence of insufficient prize balls after the power is turned on again.

以上、実施例に基づき本発明を説明したが、本発明は上記実施例に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変形が可能であることは容易に推察できるものである。   The present invention has been described based on the embodiments. However, the present invention is not limited to the above-described embodiments, and various improvements and modifications can be easily made without departing from the spirit of the present invention. It can be guessed.

例えば、上記実施例では、電源の再入後に不足賞球が生じた場合、賞球アンダーエラーを発生させることなく、必ず、不足賞球コマンドを送信した。しかし、これに代えて、電源の再入後における不足賞球の発生時に、残賞球数カウンタ13cの値を調べ、その値に応じて、不足賞球コマンドを送信するか、或いは、賞球アンダーエラーを発生させるかを決定するようにしても良い。即ち、電源断のタイミングによって生じる不足賞球は、主制御基板Cから送信された賞球コマンドを払出制御基板Hが受信できなかったり、或いは、受信できたとしても払出制御基板Hの残賞球数カウンタ33aへの加算前に電源断によって制御が停止した場合である。よって、電源断のタイミングによって生じる不足賞球の賞球数は、1の賞球コマンドで指示される賞球数の単位となる。従って、電源の再入時において不足賞球が生じた場合の主制御基板Cの残賞球数カウンタ13cの値が、賞球コマンドで指示される数であれば、賞球アンダーエラーを発生させることなく、主制御基板Cから払出制御基板Hへ不足賞球コマンドを送信し、逆に、その残賞球数カウンタ13cの値が賞球コマンドで指示される数でなければ、電源の再入時における不足賞球の発生であっても、賞球アンダーエラーを発生させるのである。   For example, in the above-described embodiment, when a shortage ball is generated after the power is turned on again, the shortage ball command is always transmitted without generating a win ball under error. However, instead of this, when an insufficient prize ball is generated after the power is turned on again, the value of the remaining prize ball number counter 13c is checked, and an insufficient prize ball command is transmitted according to the value or a prize ball is received. It may be determined whether to generate an under error. That is, the shortage prize ball generated due to the power-off timing cannot be received by the payout control board H or received even if the payout control board H receives the prize ball command transmitted from the main control board C. This is a case where the control is stopped due to power interruption before addition to the number counter 33a. Therefore, the number of shortage prize balls generated due to the power-off timing is a unit of the number of prize balls designated by one prize ball command. Accordingly, if the value of the remaining prize ball counter 13c of the main control board C when a shortage prize ball occurs when the power is turned on again is the number indicated by the prize ball command, a prize ball under error is generated. Without sending the shortage prize ball command from the main control board C to the payout control board H, if the value of the remaining prize ball counter 13c is not the number indicated by the prize ball command, the power is turned on again. Even if insufficient prize balls are generated at the time, a prize ball under error is generated.

具体的には、本実施例のパチンコ機Pでは、賞球コマンドで指示される賞球数は「6」又は「15」であるので、電源の再入後に不足賞球が発生した場合、残賞球数カウンタ13cの値を調べて、その値が「6」又は「15」のいずれかであれば不足賞球コマンドを送信し、逆に、「6」又は「15」のいずれでもなければ賞球アンダーエラーを発生させる。また、賞球コマンドで指示される賞球数の最大値は「15」であるので、電源の再入後に不足賞球が発生した場合、残賞球数カウンタ13cの値を調べて、その値が「16」以上であれば賞球アンダーエラーを発生させるようにしても良い。   Specifically, in the pachinko machine P according to the present embodiment, the number of prize balls designated by the prize ball command is “6” or “15”. The value of the prize ball number counter 13c is checked, and if the value is either “6” or “15”, a shortage prize ball command is transmitted, and conversely, if it is neither “6” nor “15”. Generates a baseball under error. Further, since the maximum value of the number of prize balls designated by the prize ball command is “15”, when an insufficient prize ball occurs after the power is turned on again, the value of the remaining prize ball number counter 13c is checked and the value is obtained. If the value is “16” or more, a prize ball under error may be generated.

RAM13,33は、いずれも不揮発性のメモリであるスタティックRAMにより構成され、電源の断時には、これらのRAM13,33に、バックアップ用のコンデンサ13x,33xによってバックアップ電圧を供給し、RAM13,33の各内容を保持(バックアップ)するように構成した。しかし、これに代えて、RAM13,33をEEPROMやフラッシュメモリなどのバックアップ電圧を加えなくても内容を保持できるメモリによって構成し、バックアップ用のコンデンサ13x,33xを除くようにしても良い。かかる場合には、RAM13,33自体が、バックアップ手段又は主バックアップ手段を兼用する。   Each of the RAMs 13 and 33 is constituted by a static RAM which is a nonvolatile memory. When the power is cut off, a backup voltage is supplied to the RAMs 13 and 33 by backup capacitors 13x and 33x. It was configured to retain (backup) the contents. However, instead of this, the RAMs 13 and 33 may be configured by a memory such as an EEPROM or a flash memory that can hold the contents without applying a backup voltage, and the backup capacitors 13x and 33x may be omitted. In such a case, the RAMs 13 and 33 themselves also serve as backup means or main backup means.

本発明を上記実施例とは異なるタイプのパチンコ機等に実施しても良い。例えば、一度大当たりすると、それを含めて複数回(例えば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 that raises the expected value of the big hit until a big hit state occurs (for example, two times or three times) including that (for example, a two-time right item, a three-time right item) 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, the game machine may be implemented as various game machines such as an alepatchi, a sparrow ball, a slot machine, a game machine in which a so-called pachinko machine and a slot machine are integrated.

なお、スロットマシンは、例えばコインを投入して図柄有効ラインを決定させた状態で操作レバーを操作することにより図柄が変動され、ストップボタンを操作することにより図柄が停止されて確定される周知のものである。従って、スロットマシンの基本概念としては、「複数の識別情報からなる識別情報列を変動表示した後に識別情報を確定表示する可変表示手段を備え、始動用操作手段(例えば操作レバー)の操作に起因して識別情報の変動が開始され、停止用操作手段(例えばストップボタン)の操作に起因して、或いは、所定時間経過することにより、識別情報の変動が停止され、その停止時の確定識別情報が特定識別情報であることを必要条件として、遊技者に有利な特別遊技状態を発生させる特別遊技状態発生手段とを備えたスロットマシン」となり、この場合、遊技媒体はコイン、メダル等が代表例として挙げられる。   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 it is provided with variable display means for confirming and displaying the identification information after variably displaying the identification information string composed of a plurality of identification information, and resulting from the operation of the starting operation means (for example, the operation lever). Then, the change of the identification information is started, and the change of the identification information is stopped due to the operation of the operation means for stop (for example, the stop button) or after the lapse of a predetermined time, and the fixed identification information at the time of the stop Is a slot machine provided with special game state generating means for generating a special game state advantageous to the player on the condition that the specific identification information is a necessary condition. In this case, coins, medals, etc. are representative examples of game media As mentioned.

また、パチンコ機とスロットマシンとが融合した遊技機の具体例としては、複数の図柄からなる図柄列を変動表示した後に図柄を確定表示する可変表示手段を備えており、球打出用のハンドルを備えていないものが挙げられる。この場合、所定の操作(ボタン操作)に基づく所定量の球の投入の後、例えば操作レバーの操作に起因して図柄の変動が開始され、例えばストップボタンの操作に起因して、或いは、所定時間経過することにより、図柄の変動が停止され、その停止時の確定図柄がいわゆる大当たり図柄であることを必要条件として遊技者に有利な大当たり状態が発生させられ、遊技者には、下部の受皿に多量の球が払い出されるものである。   In addition, as a specific example of a gaming machine in which a pachinko machine and a slot machine are integrated, a variable display means for displaying a symbol after a symbol string composed of a plurality of symbols is displayed, 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.

以下に本発明の変形例を示す。請求項1記載の遊技機において、前記不足分通知手段は、電源入時における前記主残数記憶手段に記憶される数の有価物体が前記払出制御手段により払い出されない場合であって、その不足分の有価物体数を記憶する前記主残数記憶手段の値が前記主制御手段から払出制御手段へ指示される有価物体数の1の単位に相当する場合に(或いは、指示される1単位の有価物体数の最大値以下である場合に)、その不足分の有価物体数を前記払出制御手段へ報せるものであることを特徴とする遊技機1。   The modification of this invention is shown below. 2. The gaming machine according to claim 1, wherein the shortage notification means is a case where the number of valuable objects stored in the main remaining number storage means at the time of power-on is not paid out by the payout control means. When the value of the main remaining number storage means for storing the number of valuable objects for one minute corresponds to one unit of the number of valuable objects instructed from the main control means to the payout control means (or one unit to be instructed) The gaming machine 1 is characterized in that, when the number of valuable objects is equal to or less than the maximum value, the number of valuable objects is reported to the payout control means.

請求項1記載の遊技機において、前記不足分通知手段は、電源入時における前記主残数記憶手段に記憶される数の有価物体が前記払出制御手段により払い出されない場合に、その不足分の有価物体数を前記払出制御手段へ報せるものであることを特徴とする遊技機2。電源入時の払い出しに限り不足分通知手段を作動させるので、即ち、停電の発生等による停電処理の実行により、払出制御手段で記憶する有価物体の払出残数が、主制御手段で記憶する有価物体の払出残数より小さくなった場合に限り、不足分通知手段を作動させるので、その不足分の通知を、電源断とは無関係に生じる他のエラーと区別して行うことができる。   2. The gaming machine according to claim 1, wherein the shortage notification means is provided when the number of valuable objects stored in the main remaining number storage means at the time of power-on is not paid out by the payout control means. A gaming machine 2 characterized in that the number of valuable objects can be reported to the payout control means. Since the shortage notifying means is activated only when the power is turned on, that is, when the power failure processing due to the occurrence of a power failure or the like is performed, the remaining number of valuable objects to be stored in the payout control means is stored in the main control means. Since the shortage notification means is activated only when the number of remaining objects to be paid out becomes smaller, the shortage notification can be performed separately from other errors that occur regardless of the power interruption.

請求項1記載の遊技機において、前記主制御手段は、電源入時における前記主残数記憶手段に記憶される有価物体の払出残数が0である場合には、前記不足分通知手段の作動を禁止する作動禁止手段を備えていることを特徴とする遊技機3。作動禁止手段としては、上記実施例において「不足賞球チェック済フラグ13d」が例示され、該フラグ13dがオンである場合に、不足分通知手段の作動(即ち、不足賞球コマンドの送信)が禁止される。よって、停電の発生等による停電処理の実行により、払出制御手段で記憶する有価物体の払出残数が、主制御手段で記憶する有価物体の払出残数より小さくなった場合に限り、不足分通知手段を作動させることができる。従って、払い出すべき有価物体数の不足分の通知を、電源断とは無関係に生じる他のエラーと区別して行うことができる。   2. The gaming machine according to claim 1, wherein the main control means operates the shortage notification means when the remaining payout of valuable objects stored in the main remaining number storage means at power-on is zero. A gaming machine 3 comprising operation prohibiting means for prohibiting the operation. As the operation prohibiting means, the “shortage ball check completed flag 13d” is exemplified in the above embodiment, and when the flag 13d is on, the operation of the shortage notification means (that is, transmission of the shortage ball command) is performed. It is forbidden. Therefore, the shortage notification is only made when the remaining payout of valuable objects stored in the payout control means becomes smaller than the remaining payout of valuable objects stored in the main control means due to the execution of a power failure due to the occurrence of a power outage, etc. The means can be activated. Therefore, the notification of the shortage of the number of valuable objects to be paid out can be performed in distinction from other errors that occur regardless of the power interruption.

請求項1記載の遊技機において、前記主制御手段は、前記不足分通知手段の作動を電源入後1回以内に制限する作動制限手段を備えていることを特徴とする遊技機4。作動制限手段としては、上記実施例において「不足賞球チェック済フラグ13d」が例示され、該フラグ13dがオンである場合に、不足分通知手段の作動(即ち、不足賞球コマンドの送信)がそれ以上行われないように制限される。従って、停電の発生等による電源断の後、電源が再入された場合、不足分通知手段は最高1回作動するだけであるので、払い出すべき有価物体数の不足分の通知を、電源断とは無関係に生じる他のエラーと区別して行うことができる。   2. The gaming machine according to claim 1, wherein the main control means includes an operation restriction means for restricting the operation of the shortage notification means within one time after the power is turned on. As the operation limiting means, the “shortage ball check completed flag 13d” is exemplified in the above embodiment, and when the flag 13d is on, the operation of the shortage notification means (that is, transmission of the shortage ball command) is performed. Limited to no more. Therefore, when the power is turned on again after a power failure due to a power failure, etc., the shortage notification means operates only once at most. It can be done separately from other errors that occur independently of.

請求項1記載の遊技機または遊技機1から4のいずれかにおいて、前記払出制御手段は、前記不足分通知手段により払い出すべき有価物体数の不足分の通知を受けた場合には、前記残数記憶手段の値をその不足分の値に書き換える残数書換手段を備えていることを特徴とする遊技機5。遊技機の何らかの装置異常等(払出モータの異常等)により有価物体の払い出しが行われない場合にも、主制御手段と払出制御手段とでそれぞれ記憶する有価物体の払出残数を、不足分通知手段により電源入時に一致させることができる。   2. The gaming machine according to claim 1, wherein the payout control means receives the shortage notification of the number of valuable objects to be paid out by the shortage notification means. A gaming machine 5 comprising a remaining number rewriting means for rewriting the value stored in the number storage means to the shortage value. Even if valuable objects are not paid out due to some device abnormality of the gaming machine (abnormality of the dispensing motor, etc.), the shortage notification of the remaining number of valuable objects stored in the main control means and the payout control means respectively By means, it can be matched at power-on.

請求項1記載の遊技機または遊技機1から5のいずれかにおいて、前記不足分通知手段は、前記主残数記憶手段に記憶される有価物体の払出残数が0でない場合であって前記払出制御手段による有価物体の払い出しが所定時間以上行われない場合に、払い出されるべき不足分の有価物体数をその払出制御手段へ通知するものであることを特徴とする遊技機6。   2. The gaming machine according to claim 1, wherein the shortage notifying means is a case where a payout remaining number of valuable objects stored in the main remaining number storage means is not 0 and the payout A gaming machine characterized by notifying the payout control means of the shortage of valuable objects to be paid out when payout of valuable objects by the control means is not performed for a predetermined time or more.

遊技機6において、前記不足分通知手段は、前記払出制御手段により有価物体の払い出しが行われた場合に、前記所定時間の計時を初期化するものであることを特徴とする遊技機7。不足分の有価物体数の通知は、最後の有価物体の払い出し後所定時間以上経過した場合に行われる。よって、有価物体の払出残数が多く、払い出しが長時間に亘って行われる場合であっても、有価物体の払い出しが継続されている限り、不足分の有価物体数の通知を行うことはない。即ち、不足分の有価物体数の通知を適切なタイミングで行うことができる。   In the gaming machine 6, the shortage notifying means initializes the counting of the predetermined time when a valuable object is paid out by the payout control means. The notification of the shortage of valuable objects is performed when a predetermined time or more has elapsed after the last valuable object is paid out. Therefore, even if there are a large number of valuable objects to be paid out and the payout is performed over a long period of time, the shortage of valuable objects will not be notified as long as the valuable objects are being paid out. . That is, notification of the shortage of valuable objects can be performed at an appropriate timing.

遊技機6または7において、前記払出制御手段が有価物体の払い出しを行い得ない状態である場合、前記不足分通知手段は、前記不足分の通知を待機するものであることを特徴とする遊技機8。払出制御手段が有価物体の払い出しを行い得ない状態としては、払い出される有価物体を貯留する貯留タンクの有価物体の貯留量が所定量に満たず空切れ状態となっている場合などが例示される。   In the gaming machine 6 or 7, when the payout control means cannot pay out the valuable object, the shortage notifying means waits for the shortage notice. 8. Examples of the state in which the payout control unit cannot pay out the valuable object include a case where the storage amount of the valuable object in the storage tank that stores the valuable object to be paid out is less than a predetermined amount and is in an empty state. .

遊技機8において、前記不足分通知手段は、前記払出制御手段による有価物体の払い出しの行われ得ない状態が解消した場合に(或いは、前記払出制御手段による有価物体の払い出しの行われ得ない状態となった場合に)、前記所定時間の計時を初期化するものであることを特徴とする遊技機9。払出制御手段による有価物体の払い出しが可能となってから、その払い出しが所定時間以上行われない場合に、不足分の有価物体数の通知が行われる。よって、かかる場合にも、不足分の有価物体数の通知を適切なタイミングで行うことができる。   In the gaming machine 8, the shortage notifying unit is in a state where a state where the valuable object cannot be paid out by the payout control unit is resolved (or a state where the valuable object cannot be paid out by the payout control unit) The gaming machine 9 is configured to initialize the time measurement of the predetermined time. After the valuable object can be paid out by the payout control means, if the payout is not performed for a predetermined time or more, the shortage of valuable objects is notified. Therefore, even in such a case, the notification of the number of insufficient valuable objects can be performed at an appropriate timing.

請求項1記載の遊技機または遊技機1から9のいずれかにおいて、前記主制御手段と払出制御手段との送受信を、その主制御手段から払出制御手段への一方向にのみ可能とする一方向手段を備えていることを特徴とする遊技機10。   10. A game machine according to claim 1, wherein the main control means and the payout control means can transmit and receive in only one direction from the main control means to the payout control means. A gaming machine 10 comprising means.

請求項1記載の遊技機または遊技機1から10のいずれかにおいて、前記遊技機はパチンコ機であることを特徴とする遊技機11。中でも、パチンコ機の基本構成としては操作ハンドルを備え、その操作ハンドルの操作に応じて球を所定の遊技領域へ発射し、球が遊技領域内の所定の位置に配設された作動口に入賞(又は作動口を通過)することを必要条件として、表示装置において変動表示されている識別情報が所定時間後に確定停止されるものが挙げられる。また、特別遊技状態の発生時には、遊技領域内の所定の位置に配設された可変入賞装置(特定入賞口)が所定の態様で開放されて球を入賞可能とし、その入賞個数に応じた有価価値(景品球のみならず、磁気カードへ書き込まれるデータ等も含む)が付与されるものが挙げられる。   The gaming machine 11 according to claim 1, wherein the gaming machine is a pachinko machine. Above all, the basic configuration of a pachinko machine is equipped with an operation handle, and in response to the operation of the operation handle, a ball is launched into a predetermined game area, and the ball is awarded to an operating port arranged at a predetermined position in the game area. As a necessary condition (or passing through the working port), the identification information variably displayed on the display device is confirmed and stopped after a predetermined time. In addition, when a special gaming state occurs, a variable winning device (specific winning opening) disposed at a predetermined position in the gaming area is opened in a predetermined manner so that a ball can be won, and a value corresponding to the number of winnings is obtained. Examples include those to which values (including data written on magnetic cards as well as premium balls) are given.

請求項1記載の遊技機または遊技機1から10のいずれかにおいて、前記遊技機はスロットマシンであることを特徴とする遊技機12。中でも、スロットマシンの基本構成としては、「複数の識別情報からなる識別情報列を変動表示した後に識別情報を確定表示する可変表示手段を備え、始動用操作手段(例えば操作レバー)の操作に起因して、或いは、所定時間経過することにより、識別情報の変動が停止され、その停止時の確定識別情報が特定識別情報であることを必要条件として、遊技者に有利な特別遊技状態を発生させる特別遊技状態発生手段とを備えた遊技機」となる。この場合、遊技媒体はコイン、メダル等が代表例として挙げられる。   The gaming machine according to claim 1 or any one of the gaming machines 1 to 10, wherein the gaming machine is a slot machine. Above all, the basic configuration of the slot machine is “variable display means for confirming and displaying the identification information after variably displaying the identification information string composed of a plurality of identification information, and resulting from the operation of the starting operation means (for example, the operation lever). Alternatively, when a predetermined time elapses, the variation of the identification information is stopped, and a special gaming state advantageous to the player is generated on the condition that the fixed identification information at the time of the stop is the specific identification information. A gaming machine provided with a special gaming state generating means. In this case, examples of the game media include coins and medals.

請求項1記載の遊技機又は遊技機1から10のいずれかにおいて、前記遊技機はパチンコ機とスロットマシンとを融合させたものであることを特徴とする遊技機13。中でも、融合させた遊技機の基本構成としては、「複数の識別情報からなる識別情報列を変動表示した後に識別情報を確定表示する可変表示手段を備え、始動用操作手段(例えば操作レバー)の操作に起因して識別情報の変動が開始され、停止用操作手段(例えばストップボタン)の操作に起因して、或いは、所定時間経過することにより、識別情報の変動が停止され、その停止時の確定識別情報が特定識別情報であることを必要条件として、遊技者に有利な特別遊技状態を発生させる特別遊技状態発生手段とを備え、遊技媒体として球を使用すると共に、前記識別情報の変動開始に際しては所定数の球を必要とし、特別遊技状態の発生に際しては多くの球が払い出されるように構成されている遊技機」となる。   The gaming machine according to claim 1 or any one of the gaming machines 1 to 10, wherein the gaming machine is a fusion of a pachinko machine and a slot machine. Among them, the basic configuration of the fused gaming machine includes “a variable display means for confirming and displaying identification information after variably displaying an identification information string composed of a plurality of identification information, and a starting operation means (for example, an operation lever). The fluctuation of the identification information is started due to the operation, and the fluctuation of the identification information is stopped due to the operation of the operation means for stop (for example, the stop button) or after a predetermined time elapses. Special game state generating means for generating a special game state advantageous to the player on the condition that the confirmed identification information is the specific identification information, and using a ball as a game medium and starting to change the identification information In this case, the game machine is configured to require a predetermined number of balls and to be paid out when a special gaming state occurs.

13 主制御基板のRAM(記憶手段)
13x 主制御基板のバックアップ用コンデンサ(ックアップ電源手段)
33 払出制御基板のRAM(従側記憶手段)
C 主制御基板(主制御手段)
H 払出制御基板(制御手段)
P パチンコ機(遊技機)
S13 切替手段
S16 初期化手段
S18 主初期化時コマンド送信手段
S21,S22 遊技実行手段
S86,S97 従側初期化手段
13 RAM of main control board (storage means)
13x main control board backup capacitor (backup power supply means)
33 RAM of payout control board (secondary storage means)
C Main control board (Main control means)
H payout control board (slave controller)
P Pachinko machine (game machine)
S13 Switching means
S16 Initializing means
S18 Command transmission means at main initialization
S21, S22 Game execution means
S86, S97 Slave side initialization means

Claims (1)

遊技の制御を行う主制御手段と、その主制御手段から送信されるコマンドに基づいて所定の制御を行う従制御手段とを備えた遊技機において、
前記主制御手段は、
遊技機の電源断中においても記憶内容を保持し続けるようバックアップ電源手段に接続される記憶手段と、
遊技機の電源投入後に前記記憶手段の記憶内容を使用して遊技を実行する遊技実行手段と、
遊技機の電源投入後に前記記憶手段の記憶内容を初期化する初期化手段と、
前記遊技実行手段による遊技の実行と前記初期化手段による初期化とを切替可能な切替手段と、
前記初期化手段による初期化が行われる場合に、前記従制御手段に主初期化時コマンドを送信する主初期化時コマンド送信手段とを備え、
前記初期化手段と前記主初期化時コマンド送信手段とは、一のCPUが含み、
前記従制御手段は、
遊技機の電源投入後に従制御手段が有する従側記憶手段を初期化する従側初期化手段と、
前記主制御手段が送信する主初期化時コマンドを受信した場合に、主初期化時コマンド受信時処理を実行する手段とを備え、
前記従側初期化手段は、前記主初期化時コマンド受信時処理として、遊技機の電源投入後に、前記従側記憶手段の初期化が未実行である場合にその初期化を実行し、前記従側記憶手段の初期化が実行済みである場合にその初期化の重複実行を回避する処理を有していることを特徴とする遊技機。
In a gaming machine comprising main control means for controlling a game and slave control means for performing predetermined control based on a command transmitted from the main control means,
The main control means includes
Storage means connected to the backup power supply means so as to keep the stored contents even during the power-off of the gaming machine;
A game execution means for executing a game using the stored contents of the storage means after powering on the gaming machine;
Initialization means for initializing the storage contents of the storage means after powering on the gaming machine;
Switching means capable of switching between execution of the game by the game execution means and initialization by the initialization means;
When initialization by the initialization means is performed, the main initialization time command transmission means for transmitting a main initialization time command to the slave control means,
The initialization unit and the main initialization time command transmission unit include a single CPU,
The slave control means includes
Slave initialization means for initializing slave storage means included in the slave control means after powering on the gaming machine;
Means for executing a main initialization time command reception process when receiving a main initialization time command transmitted by the main control means;
The slave side initialization means executes the initialization when the slave side storage means has not been initialized after power-on of the gaming machine as the main initialization command reception process. A game machine characterized by having processing for avoiding repeated execution of initialization when the side storage means has been initialized.
JP2016105123A 2016-05-26 2016-05-26 Game machine Expired - Fee Related JP6187637B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016105123A JP6187637B2 (en) 2016-05-26 2016-05-26 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016105123A JP6187637B2 (en) 2016-05-26 2016-05-26 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015009139A Division JP5987925B2 (en) 2015-01-21 2015-01-21 Game machine

Publications (2)

Publication Number Publication Date
JP2016147189A JP2016147189A (en) 2016-08-18
JP6187637B2 true JP6187637B2 (en) 2017-08-30

Family

ID=56687540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016105123A Expired - Fee Related JP6187637B2 (en) 2016-05-26 2016-05-26 Game machine

Country Status (1)

Country Link
JP (1) JP6187637B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3664893B2 (en) * 1998-10-02 2005-06-29 株式会社三共 Game machine
JP2000262698A (en) * 1999-03-12 2000-09-26 Sophia Co Ltd Game machine

Also Published As

Publication number Publication date
JP2016147189A (en) 2016-08-18

Similar Documents

Publication Publication Date Title
JP5083385B2 (en) Game machine
JP5170220B2 (en) Game machine
JP4321642B2 (en) Game machine
JP6187637B2 (en) Game machine
JP4023322B2 (en) Game machine
JP2002119710A (en) Game machine
JP5987925B2 (en) Game machine
JP4479859B2 (en) Game machine
JP4792630B2 (en) Game machine
JP5585568B2 (en) Game machine
JP4135710B2 (en) Game machine
JP4103380B2 (en) Game machine
JP2010259840A (en) Game machine
JP4174966B2 (en) Game machine
JP2012148163A (en) Game machine
JP4492685B2 (en) Slot machine
JP2013240627A (en) Game machine
JP2005087768A5 (en)
JP4479858B2 (en) Game machine
JP4631895B2 (en) Game machine
JP5093305B2 (en) Game machine
JP4665958B2 (en) Game machine
JP2002126288A5 (en)
JP4379514B2 (en) Game machine
JP4428438B2 (en) Game machine

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160527

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160627

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170717

R150 Certificate of patent or registration of utility model

Ref document number: 6187637

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees