JP2013099387A - Pinball game machine - Google Patents
Pinball game machine Download PDFInfo
- Publication number
- JP2013099387A JP2013099387A JP2011243985A JP2011243985A JP2013099387A JP 2013099387 A JP2013099387 A JP 2013099387A JP 2011243985 A JP2011243985 A JP 2011243985A JP 2011243985 A JP2011243985 A JP 2011243985A JP 2013099387 A JP2013099387 A JP 2013099387A
- Authority
- JP
- Japan
- Prior art keywords
- power
- winning
- main
- ball
- game
- 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.)
- Granted
Links
Images
Landscapes
- Pinball Game Machines (AREA)
Abstract
Description
本発明は、弾球遊技機に関する。 The present invention relates to a ball game machine.
特許文献1には、電源断信号を受信したとき割込を発生させ、割込処理にて制御状態の復旧に必要なデータをスタック領域に退避させ、退避させたデータの格納先のアドレスを格納するデータ退避処理を実行する遊技機が記載されている。 In Patent Document 1, an interrupt is generated when a power-off signal is received, data necessary for recovery of the control state is saved in the interrupt process, and the storage destination address of the saved data is stored. A gaming machine that executes a data saving process is described.
特許文献2には、メインルーチンにおいて、タイマ割込みの発生を禁止した後に、ポーリングによる電断検出信号に基づく電源断検出処理を実行する遊技機が記載されている。
特許文献1では、電源断信号の受信が直ぐに割込を発生させるので、退避させるデータ量が増大であり、且つ復帰プログラムが複雑である。一方、特許文献2では、ポーリングによって電断検出信号を監視するため、割り込み処理に比べて処理負担が増大する。
In Patent Document 1, since the interruption of the power-off signal is generated immediately, the amount of data to be saved is increased and the restoration program is complicated. On the other hand, in
そこで、本発明は、電源断時において、退避させるデータ量を抑制し、復帰プログラムの複雑化を回避し、且つ処理負担を低減することを目的とする。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to suppress the amount of data to be saved when the power is cut off, to avoid complication of the restoration program, and to reduce the processing load.
上記目的を達成するため、本発明の弾球遊技機は、遊技処理の実行を制御する主制御装置と、遊技領域に発射された遊技球の入賞を検知して主制御装置に入賞球検知信号を送信する入賞検知手段と、遊技球の払い出しを制御する払出制御装置とを備え、電源供給装置からの電源供給を受けて動作する。 To achieve the above object, the ball game machine according to the present invention includes a main control device that controls execution of game processing, and a winning ball detection signal for the main control device that detects a winning of a game ball that has been launched into the gaming area. And a payout control device for controlling the payout of the game ball, and operates by receiving power supply from the power supply device.
主制御装置は、電源断検知手段と実行制御手段とを備える。電源断検知手段は、電源断の発生を検知する。実行制御手段は、電源供給装置の電源投入時に起動する所定のメインルーチンと、所定時間毎に起動してメインルーチンに割り込むメイン割り込み処理(タイマ割り込み処理)と、電源断検知手段による電源断の検知によって起動してメインルーチンに割り込む電源断時退避処理との実行を制御する。 The main control device includes power-off detection means and execution control means. The power-off detection unit detects the occurrence of power-off. The execution control means includes a predetermined main routine that starts when the power supply device is turned on, a main interrupt process (timer interrupt process) that starts every predetermined time and interrupts the main routine, and a power-off detection means that detects power-off. Controls the execution of the power-off saving process that starts and interrupts the main routine.
メイン割り込み処理は、入賞検知手段から受信した入賞球検知信号に基づいて遊技球が入賞したか否かを判定する入賞判定処理と、入賞判定処理での判定結果に応じた払出コマンド送信信号を生成する払出制御管理処理と、払出制御管理処理で生成した払出コマンド送信信号を払出制御装置に送信する出力処理とを含む。 The main interruption process generates a payout command transmission signal corresponding to the determination result in the winning determination process and the winning determination process for determining whether or not the game ball has won based on the winning ball detection signal received from the winning detection means A payout control management process, and an output process for sending the payout command transmission signal generated in the payout control management process to the payout control device.
実行制御手段は、電源断時退避処理に優先してメイン割り込み処理をメインルーチンに割り込ませ、電源断時退避処理の実行中はメイン割り込み処理の割り込みを禁止し、且つメイン割り込み処理の実行中において入賞判定処理の実行前に電源断検知手段が電源断を検知した場合は入賞判定処理を実行しない。 The execution control means interrupts the main interrupt process into the main routine in preference to the save process when the power is cut off, prohibits the interrupt of the main interrupt process during the save process when the power is cut off, and executes the main interrupt process during the execution of the main interrupt process. If the power-off detection means detects a power-off before executing the winning determination process, the winning determination process is not executed.
上記遊技機は、電源断の発生時に電源断信号を生成する電源断信号発生手段を有してもよく、電源断検知手段は、電源断信号発生手段が電源断信号を生成した場合に電源断が発生したと検知してもよい。また、電源断信号発生手段は、生成した電源断信号を主制御装置に送信してもよく、電源断検知手段は、電源断信号発生手段から電源断信号を受信したときに電源断が発生したと検知してもよい。 The gaming machine may include a power-off signal generating unit that generates a power-off signal when a power-off occurs. It may be detected that has occurred. Further, the power-off signal generating means may transmit the generated power-off signal to the main control device, and the power-off detecting means generates a power-off when receiving the power-off signal from the power-off signal generating means. May be detected.
上記構成では、メイン割り込み処理は、電源断時退避処理に優先してメインルーチンに割り込むので、メイン割り込み処理の実行中に電源断が発生した場合であっても、メイン割り込み処理は電源断時退避処理によって中断せず、電源断時退避処理はメイン割り込み処理の終了を待って開始される。従って、電源断時退避処理において退避させるデータ量を最小限に抑えるとともに、復帰プログラムの複雑化を回避することができる。 In the above configuration, the main interrupt process interrupts the main routine in preference to the power-off save process, so even if a power interruption occurs during execution of the main interrupt process, the main interrupt process is saved when the power is cut off. Without being interrupted by the processing, the power-off saving processing is started after the end of the main interrupt processing. Therefore, it is possible to minimize the amount of data to be saved in the saving process when the power is turned off, and to avoid the complicated return program.
また、ポーリングによって電源断信号を監視していないので、処理負担を軽減することができる。 Moreover, since the power-off signal is not monitored by polling, the processing load can be reduced.
さらに、メイン割り込み処理において、入賞判定処理の実行前に電源断検知手段が電源断を検知した場合は入賞判定処理を実行しないので、電源断によるノイズ等に起因して入賞球検知信号が誤って主制御装置に入力しても、誤入力に基づく払出が行われることはない。従って、例えば、遊技者が賞球を不正に取得するために故意に電源断を発生させた場合であっても、賞球の払い出しが行われることがなく、賞球の不正な取得を防止することができる。 Furthermore, in the main interrupt process, if the power interruption detection means detects the power interruption before the winning determination process is executed, the winning determination process is not executed. Even if input is made to the main control device, payout based on erroneous input is not performed. Therefore, for example, even when the player intentionally turns off the power to illegally acquire a prize ball, the prize ball is not paid out and the illegal acquisition of the prize ball is prevented. be able to.
また、上記メイン割り込み処理は、大当たり遊技状態を生成するか否かを判定するための電子的な当否抽選を前記入賞判定処理での判定結果に応じて実行する大当たり判定処理を含んでもよい。 The main interrupt process may include a jackpot determination process in which an electronic winning / notifying lottery for determining whether or not to generate a jackpot gaming state is executed according to a determination result in the winning determination process.
上記構成では、電源断によるノイズ等に起因した入賞球検知信号の誤入力によって当否抽選が実行されることがないので、大当たり遊技状態の不正な生成を防止することができる。 In the above configuration, since the winning lottery is not executed due to erroneous input of the winning ball detection signal due to noise or the like due to power cut-off, illegal generation of the big hit gaming state can be prevented.
本発明によれば、電源断時において、退避させるデータ量を抑制し、復帰プログラムの複雑化を回避し、且つ処理負担を低減することができる。 According to the present invention, it is possible to suppress the amount of data to be saved when the power is turned off, to avoid complication of the restoration program, and to reduce the processing load.
以下、本発明の実施形態について、図面を参照しながら説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1に示すパチンコ遊技機(以下、「パチンコ機」と略称する)Pは、遊技球を遊技媒体として用いるものであり、遊技者は、遊技場運営者から遊技球を借り受けてパチンコ機Pによる遊技を行う。なお、パチンコ機Pにおける遊技において、遊技球はその1個1個が遊技価値を有した媒体であり、遊技の成果として遊技者が享受する特典(利益)は、例えば遊技者が獲得した遊技球の数に基づいて遊技価値に換算することができる。以下、図1〜図4を参照して遊技機の構成について説明する。 A pachinko gaming machine (hereinafter abbreviated as “pachinko machine”) P shown in FIG. 1 uses a game ball as a game medium. A player borrows a game ball from a game hall operator and uses the pachinko machine P. Play a game. In the game of the pachinko machine P, each of the game balls is a medium having a game value, and the privilege (benefits) enjoyed by the player as a result of the game is, for example, a game ball acquired by the player Based on the number of games, it can be converted into a game value. Hereinafter, the configuration of the gaming machine will be described with reference to FIGS.
[遊技機の全体構成]
図1〜図3に示すように、パチンコ機Pは、機枠(外枠)1と内枠扉(前面枠)2とガラス扉3と遊技盤5とを備える。機枠1は、縦長矩形状の木製枠体であり、遊技場内の島設備(図示省略)に対して締結固定される。内枠扉2は、機枠1に開閉自在に取り付けられ、ガラス扉3は、内枠扉2に開閉自在に取り付けられる。
[Overall configuration of gaming machine]
As shown in FIGS. 1 to 3, the pachinko machine P includes a machine frame (outer frame) 1, an inner frame door (front frame) 2, a
遊技盤5は、内枠扉2の内側に収容され、内枠扉2に対して着脱可能に固定される。ガラス扉3の中央部には、縦長円形状の開口窓6が形成され、開口窓6には、遊技盤5の前方を覆う透明なガラス板7が取り付けられる。遊技盤5の前面(盤面)は、遊技者が開口窓6を介して前方から視認可能な遊技領域8を含み、ガラス扉3が閉じられると、ガラス板7の内面(後面)と遊技領域8との間に遊技球が流下可能な空間が形成される。
The
内枠扉2の一側(図1中の右側)の縁部には、シリンダ錠9が設けられている。機枠1に対して内枠扉2及びガラス扉3を閉じてシリンダ錠9を施錠すると、機枠1に対する内枠扉2及びガラス扉3の開放が禁止される。
A
ガラス扉3は、その下部に前面ボード4を一体的に有し、前面ボード4には、前方へ突出する上皿10と下皿11とが設けられる。上皿10は前面ボード4の上部に配置され、下皿11は上皿10の下方に配置される。上皿10には、遊技者に貸し出された遊技球(貸球)や入賞により獲得した遊技球(賞球)が貯留され、下皿11には、上皿10が満杯の状態でさらに払い出された遊技球が貯留される。なお、本実施形態のパチンコ機PはいわゆるCR機(CRユニット50(図5に示す)に接続される機種)であり、遊技者が借り受けた遊技球は、賞球とは別に上皿10に払い出される。
The
前面ボード4の上面には、貸出操作部15と演出ボタン23とが設けられている。貸出操作部15は、球貸スイッチ12と返却スイッチ13と度数表示装置14と球貸表示装置24とを有し、遊技者がCRユニット50(図5に示す)に有価媒体(例えば磁気記録媒体や記憶IC内蔵媒体等)を投入して球貸スイッチ12を操作すると、予め決められた度数単位(例えば500円分に相当する5度数)に対応する個数(例えば125個)分の遊技球が貸し出され、球貸表示装置24に、貸出処理中であることが表示される。度数表示装置14には、CRユニット50に投入されている有価媒体の残存度数が表示される。なお、本実施形態ではCR機を例に挙げているが、パチンコ機Pは、CR機以外の機種(CRユニット50に接続されない機種)であってもよい。また、演出ボタン23は、演出に関する遊技者からの操作を受け付ける。
On the upper surface of the front board 4, a
前面ボード4の前面には、上皿球抜き操作部16と下皿球抜き操作部17とが設けられている。上皿球抜き操作部16が操作されると、上皿10の遊技球が下皿11へ流下し、下皿球抜き操作部17が操作されると、下皿11の遊技球が下方へ落下して排出される。下皿11から排出された遊技球は、例えば球受け箱(図示省略)等に受け止められる。
On the front surface of the front board 4, an upper dish ball removing
前面ボード4の右下部には、発射ハンドル18が回転自在に支持され、内枠扉2の下部には、発射装置19が取り付けられている。上皿1の遊技球は発射装置19に1個ずつ供給され、遊技者が発射ハンドル18を回転操作すると、発射装置19(発射モータ86(図5に示す))が作動し、遊技領域8に向かって遊技球が発射される。遊技領域8は、ガイドレール20及び遊技球規制レール21によって略円形状に区画形成され、発射装置19から発射された遊技球は、レール20,21に沿って滑走して遊技領域8に左上方から進入し、遊技釘や風車等に誘導及び案内されて流下する。
A launch handle 18 is rotatably supported at the lower right portion of the front board 4, and a
ガラス扉3の上部と内枠扉2の下部とには、スピーカ22がそれぞれ取り付けら、ガラス扉3の前面には、複数の枠体ランプ25が取り付けられている。スピーカ22は、遊技に関する様々な効果音を発する。枠体ランプ25は、例えば内蔵するLEDの発光(点灯や点滅、輝度階調の変化、色調の変化等)により演出を実行する。
[盤面の構成]
遊技領域8内には、統合表示ユニット30、演出表示装置(画像表示器)31、スルーチャッカ32、電動チューリップ(普通電動役物)33、ステージ34、第1始動入賞口(第1特図始動入賞口)35、第2始動入賞口(第2特図始動入賞口)36、一般入賞口37、アウト口38、アタッカー装置(特別電動役物)39、複数の盤面ランプ60、遊技釘(図示省略)、及び風車(図示省略)等が設けられている。第1始動入賞口35と第2始動入賞口36とは上下方向に間隔を空けて配置されている。盤面ランプ60は、例えば内蔵するLEDの発光(点灯や点滅、輝度階調の変化、色調の変化等)により演出を実行する。
[Configuration of the board]
In the
統合表示ユニット30は、演出表示装置31を視認している遊技者の視界に同時に入らないように、遊技盤3の右下部分に配置されている。図4に示すように、統合表示ユニット30は、第1特図表示装置(第1特別図柄表示装置)40と、第2特図表示装置(第2特別図柄表示装置)41と、普図表示装置(普通図柄表示装置)42と、状態表示装置43とを備え、これらの表示装置40〜43は、1つの統合表示基板48に実装された状態で遊技盤5に取り付けられる。
The
第1特図表示装置40は、第1始動入賞口35への遊技球の入賞を契機に行われた第1特別図柄に係る電子抽選の結果を、第1特別図柄(数字や絵柄)を変動させた後に停止表示するものである。第2特図表示装置41は、第2始動入賞口36への遊技球の入賞を契機に行われた第2特別図柄に係る電子抽選の結果を、第2特別図柄(数字や絵柄)を変動させた後に停止表示するものである。本実施形態の第1特図表示装置40及び第2特図表示装置41は、7セグメントLEDによって第1特別図柄及び第2特別図柄を変動後に停止表示する。なお、本実施形態では、第2始動入賞口36への入賞に基づく遊技の方が第1始動入賞口35への入賞に基づく遊技よりも優先して実行されるため、第1特別図柄と第2特別図柄とが同時に変動することはない。
The first special
普通図柄表示装置42は、スルーチャッカ32の遊技球の通過を契機に行われた普通図柄に係る電子抽選の結果を、普通図柄(数字や絵柄)を変動させた後に停止表示するものである。本実施形態の普通図柄表示装置42は、7セグメントLEDによって普通図柄を変動後に停止表示する。
The normal
状態表示装置43は、ラウンド数表示部44、第1特図保留数表示部45、第2特図保留数表示部46、及び普図保留数表示部47を有する。ラウンド数表示部44は、4つのランプ(LED)から構成され、ランプの消灯、点灯又は点滅の組合せによって現在の大当たりが何ラウンド継続するかを表示する。第1特図保留数表示部45は、第1始動入賞口35に遊技球が入賞し、当該入賞に応じて取得された第1特図当たり決定乱数(大当たり決定乱数)が第1特図保留乱数としてRAM75の第1特図保留乱数記憶領域(図示省略)に記憶されると、その記憶数を現在の保留数として表示する。第2特図保留数表示部46は、第2始動入賞口36に遊技球が入賞し、当該入賞に応じて取得された第2特図当たり決定乱数(大当たり決定乱数)が第2特図保留乱数としてRAM75の第2特図保留乱数記憶領域(図示省略)に記憶されると、その記憶数を現在の保留数を表示する。普図保留数表示部47は、スルーチャッカ32を遊技球が通過し、当該通過に応じて取得された普図当たり決定乱数(当たり決定乱数)が普図保留乱数としてRAM75の普図保留乱数記憶領域(図示省略)に記憶されると、その記憶数を現在の保留数を表示する。これらの保留数表示部45,46,47は、それぞれランプ(LED)から構成され、ランプの消灯、点灯又は点滅の組合せによって「0」個〜「4」個(保留球乱数の記憶数の上限)の間で保留数を表示する。
The
図2に示すように、演出表示装置31は、液晶の画像表示器を有し、遊技盤3の略中央部に設けられ、第1始動入賞口35及び第2始動入賞口36への遊技球の入賞を契機に行われた特別図柄に係る電子抽選の結果に基づいて所定の演出画像を表示する。演出画像には、第1特図表示装置40及び第2特図表示装置41に変動表示される第1特別図柄及び第2特別図柄と同期をとって変動するダミー図柄(演出図柄)と、第1特図当たり決定乱数の保留数表示と、第2特図当たり決定乱数の保留数表示とが含まれる。
As shown in FIG. 2, the
電動チューリップ33は、1対の羽根部材49と電動チューリップ駆動装置51(図5に示す)とを備える。1対の羽根部材49は、遊技盤3との直交軸を中心に回転自在であり、第2始動入賞口36の入口の左右に配置される。電動チューリップ駆動装置51のソレノイド(図示省略)が通電されると、1対の羽根部材が互いに離れる方向に回転し、電動チューリップ33が開口して、第2始動入賞口36の入口が拡大される。電動チューリップ33が閉じた状態(通常状態)では、第2始動入賞口36に遊技球は入賞できず、第2始動入賞口36への入賞は、電動チューリップ33の開口時に制限される。
The
ステージ34は、遊技球が転動しながら一時的に滞在する構造物であり、演出表示装置31の下方に配置される。ステージ34の略中央の真下に第1始動入賞口35が配され、ステージ34の中央部分から落下した遊技球は、高い確率で第1始動入賞口35へと導かれる。
The
アタッカー装置39は、第1始動入賞口35及び第2始動入賞口36に遊技球が入賞することを契機に行われる特別図柄に係る電子抽選の結果、特図当たり(大当たり)となって大当たり遊技に移行した場合に所定回数(本実施形態では、2ラウンド又は15ラウンド)開放される装置である。アタッカー装置39は、横長矩形状の大入賞口52と横長板状の蓋部材53とアタッカー駆動装置54(図5に示す)とを備える。蓋部材53の下部は、水平な軸を中心として前後方向に開閉自在に支持され、アタッカー駆動装置54のソレノイド(図示省略)が通電されると、蓋部材53の上部が前下方へ傾動し、アタッカー装置39が開口して大入賞口52が露呈され、多量の遊技球が蓋部材53の上面(裏面)に案内されて大入賞口52へ入賞可能となる。アタッカー装置39が閉じた状態(通常状態)では、蓋部材54が大入賞口54を閉止するため、大入賞口52への入賞は、アタッカー装置39の開口時に制限される。
As a result of an electronic lottery concerning a special symbol that is performed when a game ball wins at the first
各入賞口(第1始動入賞口35、第2始動入賞口36、一般入賞口37、大入賞口52)に遊技球が入賞すると、所定個数の遊技球が賞球として遊技者に払い出され、入賞した遊技球は、その入賞口35,36,37,52から遊技盤5の裏側へ回収される。また、何れの入賞口35,36,37,52にも入賞しなかった遊技球は、最終的にアウト口38から遊技盤5の裏側へ回収される。回収された遊技球は、アウト通路アセンブリ(図示省略)を通じてパチンコ機Pの裏側から枠外へ排出され、さらに島設備の補給経路(図示省略)に合流する。
When a game ball is won in each winning opening (first
スルーチャッカ32、第1始動入賞口35、第2始動入賞口36、一般入賞口37、大入賞口52の内部には、それぞれ遊技球の通過を検知するためのセンサ(図5に示すゲート通過球検知センサ55、第1特図始動球検知センサ56、第2特図始動球検知センサ57、大入賞球検知センサ58及び一般入賞球検知センサ59)が設けられている。これらのセンサ32,35,36,37,52は、遊技球の通過を検知する度に、主制御装置70(図5に示す)に検知信号を送信する。なお、第1特図始動球検知センサ56と第2特図始動球検知センサ57と大入賞球検知センサ58と一般入賞球検知センサ59とは、遊技領域8に発射された遊技球の入賞を検知する入賞検知手段として機能する。また、以下の説明において、これらの検知信号のうち、センサ35,36,37,52が送信する検知信号を入賞球検知信号と称し、センサ55が送信する検知信号を球通過検知信号と称して、両者を区別する場合がある。
Inside the through
[裏側の構成]
図3に示すように、パチンコ機Pの裏側には、電源供給装置61、主制御基板ユニット62、払出制御基板ユニット63、サブ制御基板ユニット64、外部情報端子基板65、電源コード(電源プラグ)66、アース線(アース端子)67、パチンコ機Pの電源系統や制御系統を構成する各種の電子機器類(図示外の制御コンピュータを含む)等が設置されている。
[Configuration of the back side]
As shown in FIG. 3, on the back side of the pachinko machine P, a
外部情報端子基板65は、パチンコ機Pを外部の電子機器(例えば、ホールコンピュータ68(図5に示す)やデータ表示装置等)に接続するためのインタフェースであり、パチンコ機Pの遊技進行状態やメンテナンス状態等を表す各種の外部情報信号(例えば賞球情報、扉開放情報、図柄確定回数情報、大当たり情報、始動口情報等)は、外部情報端子基板65から外部の電子機器に送信される。
The external
電源コード66は、遊技場の島設備に設置された電源装置(例えばAC24V)に接続されて、パチンコ機Pの動作に必要な電源(電力)を確保する。アース線67は、島設備に設置されたアース端子に接続され、パチンコ機Pをアース(接地)する。
The
[制御に関する構成]
次に、パチンコ機Pの制御に関する構成について説明する。図5は、パチンコ機Pに装備された各種の電子機器類を示すブロック図である。
[Configuration related to control]
Next, a configuration related to the control of the pachinko machine P will be described. FIG. 5 is a block diagram showing various electronic devices equipped in the pachinko machine P.
パチンコ機Pは、主制御装置70と払出制御装置71とサブ制御装置72とを備える。主制御装置70は、制御動作の中枢であり、主にパチンコ機Pにおける遊技処理の実行を制御する機能を有し、主制御基板ユニット62に内蔵されている。払出制御装置71は、主に遊技球の払い出しと発射とを制御する機能を有し、払出制御基板ユニット63に内蔵されている。サブ制御装置72は、主に演出を制御する機能を有し、サブ制御基板ユニット64に内蔵されている。主制御装置70と払出制御装置71とは、主制御装置70から払出制御装置71に対して一方向にコマンドが送信される通信線と、払出制御装置71から主制御装置70に対して一方向にコマンドが送信される通信線とによって接続されている。
The pachinko machine P includes a
(電源供給装置61)
電源供給装置61は、電源コード66を通じて島設備から外部電源(例えば、24Vの交流電源)の供給を受け、この交流電源をパチンコ機Pで使用する複数の定電圧の直流電源や粗整流の直流電源に変換し、主制御装置70、払出制御装置71、サブ制御装置72等に供給する。電源供給装置61には、電源回路やコンデンサ等のバックアップ電源(図示省略)と、外部電源からの電源の供給が途絶えたとき(電源断の発生時)に電源断の発生時に電源断予告信号(電源断信号)を生成する電源断検出回路(電源断信号発生手段)96とが設けられている。電源供給装置61は、電源断の発生時に、主制御装置70及び払出制御装置71に対して、電源断予告信号を送信するとともに、バックアップ電源を供給する。なお、電源断検出回路96は、電源供給装置61以外(例えば、主制御装置70や払出制御装置71など)に設けてもよい。
(Power supply device 61)
The
RWMクリアスイッチ69は、主制御装置70及び払出制御装置71に保存されている過去の遊技情報をクリアするために操作されるスイッチであり、電源供給装置61に設けられ、RWMクリアスイッチ66が操作されると、RWMクリア信号を主制御装置70及び払出制御装置71に送信する。
The RWM
(主制御装置70)
主制御装置70には、中央演算処理装置(中央命令処理部)である主制御CPU73を実装した回路基板(主制御基板)が装備されており、主制御CPU73は、CPUコア、各種レジスタ(汎用レジスタ、フラグレジスタ、インデックスレジスタ、リフレッシュレジスタ、割込みレジスタ、命令レジスタなど)、スタックポインタ、プログラムカウンタ、命令レコーダ(何れも図示省略)等を含み、ROM74やRAM(RWM)75等の半導体メモリとともにLSIとして構成されている。各レジスタは、演算結果、次に読み込む命令のアドレス、実行状態等を保持する。また主制御装置70には、ハード乱数発生回路76やサンプリング回路(図示省略)が装備されている。ハード乱数発生回路76は、ハードウェア乱数(例えば10進数表記で0〜65535)を発生させるものであり、発生させた乱数は、サンプリング回路を通じて主制御CPU73に入力される。ハードウェア乱数は、大当たり判定用の第1特図当たり決定乱数及び第2特図当たり決定乱数や、当たり(普図当たり)判定用の普図当たり決定乱数として用いられる。主制御装置70には、クロック(周波数発生回路部)77、入出力(I/O)ポート、カウンタ/タイマ回路(CTC)等の周辺ICが装備されており、これらは主制御CPU73とともに回路基板上に実装されている。
(Main controller 70)
The
RAM75には、各種フラグの記憶領域を含むワーク領域(図示省略)が設けられ、割込み発生時やサブルーチンや関数を呼び出す際に、処理中のデータや戻りアドレスなどがワーク領域のスタック領域(退避領域)に一時的に退避される。また、主制御CPU73は、ROM74に記憶されている遊技制御用プログラムに従って処理を実行することにより、電源断検知手段及び実行制御手段として機能する。
球検知センサ類56〜59の入賞検知信号は、入出力ドライバ(図示省略)を介して主制御CPU73に入力される。なお、本実施形態では、第1特図始動球検知センサ56及び第2特図始動球検知センサ57からの入賞検知信号は、主制御装置70に直接送信され、ゲート通過球検知センサ55、大入賞球検知センサ58及び一般入賞球検知センサ59からの入賞検知信号は、中継端子板(図示省略)を経由して主制御装置70に送信される。
The
The winning detection signals of the
第1特図表示装置40、第2特図表示装置41、普図表示装置42、及び状態表示装置43の各表示は、主制御CPU73からの制御信号によって制御される。主制御CPU73は、遊技の進行状況に応じてこれら表示装置40〜43に対する制御信号を出力し、各LEDの点灯状態を制御する。
Each display of the first special
電動チューリップ駆動装置51及びアタッカー駆動装置54の駆動は、主制御CPU73からの制御信号によって制御される。各駆動装置51,54のソレノイドは、主制御CPU73からの制御信号に基づいて動作(励磁)し、電動チューリップ33及びアタッカー装置39を開閉動作(作動)させる。
The driving of the electric
内枠扉2には、ガラス扉開放スイッチ78と内枠扉開放スイッチ79とが設置されている。内枠扉2からガラス扉3が開放されると、ガラス扉開放スイッチ78からの接点信号が払出制御装置71を経由して主制御装置70に入力される。また、機枠1から内枠扉2が開放されると、内枠扉開放スイッチ79からの接点信号が払出制御装置71を経由して主制御装置70に入力される。スイッチ78,79から接点信号を受信した主制御CPU73は、扉が開放したことを音やLEDや液晶などによって報知するため、これらの報知処理の実行を指示する制御信号をサブ制御装置72に送信する。また、スイッチ78,79から接点信号を受信した払出制御装置71は、扉開放を示す外部情報信号を出力する。
A glass door opening switch 78 and an inner frame
パチンコ機Pには磁気や電波等を検知するエラー検知センサ98が設けられ、エラー検知センサ98は、磁気や電波等を検知すると、主制御装置70にエラー検知信号を送信する。エラー検知信号を受信した主制御CPU73は、所定のエラー処理を実行するとともに、エラー検知を示す外部情報信号を出力する。
The pachinko machine P is provided with an
(払出制御装置71)
払出制御装置71には、払出制御CPU80を実装した回路基板(払出制御基板)が装備されており、払出制御CPU80も、主制御CPU73と同様に、CPUコア(図示省略)を含み、ROM81、RAM82等の半導体メモリとともにLSIとして構成されている。払出制御CPU80は、主制御CPU73から受信した賞球指示コマンド(払出コマンド送信信号)に基づいて遊技球の払い出し動作を制御し、指示された個数の遊技球の払出動作を実行させる。なお、主制御CPU73は、賞球指示コマンドとは別に、賞球情報信号を外部情報信号として生成し出力する。具体的には、主制御CPU73は、指示した個数の合計が所定個数(例えば、10個)に達する毎に、賞球情報信号を外部情報信号として生成し出力する。また、払出制御CPU80も、払い出しを行った個数の合計が所定個数(例えば、10個)に達する毎に、賞球情報信号を外部情報信号として生成し出力する。
(Discharge control device 71)
The
遊技場の球補給経路(図示省略)から補給された遊技球は、賞球タンク(図示省略)に蓄えられ、賞球樋(図示省略)を流下して賞球ケース(図示省略)に導入され、賞球ケースから上皿10に供給される。
The game balls replenished from the ball supply path (not shown) of the game hall are stored in a prize ball tank (not shown), and flow down a prize ball bowl (not shown) and introduced into a prize ball case (not shown). , And supplied to the
賞球ケースには、払出モータ(例えばステッピングモータ)83が設けられ、払出制御装置71(払出制御基板ユニット63)には、払出モータ83の駆動回路(図示省略)が設けられている。払出制御装置71は、主制御CPU73から受信した賞球指示コマンドに基づいて払出モータ83を回転駆動し、指示された数の遊技球を賞球ケースから払い出させる。払い出された遊技球は、払出流路(図示省略)を通って前面ボード4へ流下する。
The prize ball case is provided with a payout motor (for example, a stepping motor) 83, and the payout control device 71 (payout control board unit 63) is provided with a drive circuit (not shown) of the
払出モータ83の下流側には払出計数スイッチ84が設置され、払出モータ83の駆動によって実際に賞球が払い出されると、払出計数スイッチ84からの計数信号が払出制御装置71に送信される。払出制御CPU80は、受信した計数信号に基づき、実際の払出数や球切れ状態を検知して、遊技球の払い出しを管理する。
A
上皿10(図1に示す)への遊技球の供給経路には皿満タンスイッチ85が設置され、下皿11(図1に示す)が遊技球で満杯になると、皿満タンスイッチ85がONになり、満タン検出信号が払出制御装置71に送信される。満タン検出信号を受信した払出制御CPU80は、主制御CPU73から受信した賞球指示コマンドに応じた賞球動作を一旦保留とし、未払出の賞球残数をRAM82に記憶させておく。なお、RAM82の記憶は電源断時にもバックアップが可能であり、遊技中に停電(瞬間的な停電を含む)が発生しても、未払出の賞球残数情報が消失してしまうことはない。
A tray
発射装置19(図2に示す)には、発射モータ86と球送りソレノイド87とが設けられ、発射ハンドル18(図1に示す)には、発射ボリューム88とタッチセンサ89と発射停止スイッチ90とが設けられている。球送りソレノイド87は、上皿10(図1に示す)から流下した遊技球を1個ずつ発射位置に送り出し、発射モータ86は、発射位置に送り出された遊技球を打ち出す。なお遊技球の発射間隔は、例えば0.6秒程度(1分間で100個以内)である。
The firing device 19 (shown in FIG. 2) is provided with a firing
発射ボリューム88は、発射ハンドル18(図1に示す)の回転操作量(ストローク)に比例した発射勢指示信号を払出制御装置71に送信する。タッチセンサ89は、静電容量の変化から遊技者の身体が発射ハンドル18に触れていることを検出し、その検出信号を払出制御装置71に送信する。発射停止スイッチ90は、遊技者から操作されたときに発射停止信号(接点信号)を払出制御装置71に送信する。
The firing
遊技者が発射ハンドル18を回転操作すると、発射ボリューム88から払出制御装置71に回転操作量に応じた発射勢指示信号が送信される。払出制御CPU80は、受信した発射勢指示信号に基づいて発射モータ86の駆動を制御する。これにより、遊技者の操作量に応じて遊技球の打ち出し強さが調整される。但し、払出制御CPU80は、タッチセンサ89からの検出信号がオフ(ローレベル)の場合、及び発射停止スイッチ90から発射停止信号が入力された場合には、発射モータ86の駆動を停止する。この他、払出制御CPU80は、パチンコ機PにCRユニット50が接続されていない場合、発射モータ86の駆動を停止する。
When the player rotates the
球貸スイッチ12又は返却スイッチ13が操作されると、その操作信号が中継基板91を経由してCRユニット50に送信される。CRユニット50からは、有価媒体の残り度数を表す度数信号が中継基板91を経由して度数表示装置14に送信される。
When the
(サブ制御装置72)
サブ制御装置72には、演出制御CPU92を実装した回路基板(複合サブ制御基板)が装備されており、演出制御CPU92も、主制御CPU73と同様に、CPUコア(図示省略)を含み、ROM93、RAM94等の半導体メモリとともにLSIとして構成されている。サブ制御装置72には、入出力ドライバや各種の周辺IC(共に図示省略)が装備されている。
(Sub-control device 72)
The
サブ制御装置72のROM93には、演出の制御に関する演出制御プログラムが格納されており、演出制御CPU92は、格納された演出制御プログラムに従い、主制御CPU73から送信される演出用のコマンドに基づいて、演出表示装置31、各種ランプ25,60、音発生装置97及び可動役物による演出の制御を実行する。演出表示装置31は、画像プロセッサや液晶等を含み、音発生装置97は、サウンドプロセッサやスピーカ22等を含む。演出の制御には、演出表示装置31の画像の表示制御、各種ランプ25,60の発光制御、スピーカ22からの音声発生制御、及び可動役物の駆動装置95の駆動制御が含まれる。なお、画像プロセッサ及びサウンドプロセッサは、サブ制御基板ユニット64に設けてもよい。
The
(外部への出力)
主制御装置70及び払出制御装置71において生成された各種の外部情報信号は、外部情報端子基板65から外部に出力される。外部情報端子基板65から出力される信号は、例えば遊技場のホールコンピュータ68で集計される。
(Output to the outside)
Various external information signals generated in the
[主制御装置70の入力ポートの説明]
主制御装置70の入出力ポートには、複数(本実施形態では、入力ポート0、入力ポート1及び入力ポート2の3つの入力ポートを含む)が設定されている。入力ポート0には、スイッチ異常信号(遊技盤5に搭載する検知センサ55〜59の断線信号)、扉開放信号(扉開放スイッチ78,79からの接点信号)、エラー検知信号(エラー検知センサ98からの信号)、払出コマンド許可信号(払出制御装置71からの信号)、及びRWMクリア信号(電源供給装置61からの信号)が割り当てられている。入力ポート1には、大入賞球検知センサ58及び一般入賞球検知センサ59からの入賞球検知信号が割り当てられている。入力ポート2には、第1特図始動球検知センサ56からの入賞球検知信号、第2特図始動球検知センサ57からの入賞球検知信号、ゲート通過球検知センサ55からの球通過検知信号、及び電源供給装置61からの電源断予告信号が割り当てられている。各入力ポートには、各信号の受信時に状態が切り替わる(1/0で切り替わる)1ビットの受信記憶領域が設けられ、各信号の入力の確認は、対応する受信記憶領域のビットチェックによって行われる。入力ポート2は、電源断の発生時に電源断予告信号を受信する電源断信号受信手段として機能し、入力ポート2に電源断予告信号が入力している間、対応する受信記憶領域の状態が切り替わる。
[Description of input port of main controller 70]
A plurality of input / output ports (including three input ports of input port 0, input port 1, and
[主制御装置70が実行する制御処理]
次に、主制御装置70の主制御CPU73がROM74に記憶されている遊技制御用プログラムに従って実行する制御処理について説明する。主制御CPU73が実行する制御処理は、メインルーチンとしてのCPU初期化処理及びメインループ、シリアル通信受信割り込み処理、タイマ割り込み処理(メイン割り込み処理)、並びに電源断時退避処理を含み、主制御CPU73は、これらの処理の実行を制御する。
[Control processing executed by main controller 70]
Next, the control process executed by the
図6(a)に示すように、シリアル通信受信割り込み処理の割り込み発生要因は主コマンドの受信によって成立し、タイマ割り込み処理の張り込み発生要因は、所定周期(本実施形態では4ms)毎に成立し、電源断時退避処理の割り込み発生要因は電源断予告信号の受信によるINT割り込み発生によって成立する。シリアル通信受信割り込み処理とタイマ割り込み処理と電源断時退避処理とは、この順番で割り込み優先順位が高くなるように設定されている。また、シリアル通信受信割り込み処理と電源断時退避処理とは多重割り込みを禁止し、タイマ割り込み処理は多重割り込みを許可する。 As shown in FIG. 6A, the interrupt generation factor of the serial communication reception interrupt process is established by reception of the main command, and the occurrence factor of the timer interrupt process is established every predetermined period (4 ms in this embodiment). The cause of the interruption of the saving process when the power is cut off is established by the occurrence of the INT interruption due to the reception of the power cut notice signal. The serial communication reception interrupt process, the timer interrupt process, and the power-off save process are set so that the interrupt priority becomes higher in this order. The serial communication reception interrupt process and the power-off save process prohibit multiple interrupts, and the timer interrupt process allows multiple interrupts.
すなわち、主制御装置70では、図6(b)に示すように、メインルーチンが基本処理として繰り返して実行され、タイマ割り込み処理が所定周期毎に起動してメインループに割り込む。メインルーチンの実行中又はタイマ割り込み処理の実行中に主コマンドを受信すると、シリアル通信受信割り込み処理が起動してメインループ又はタイマ割り込み処理に割り込む(図示省略)。メインルーチンの実行中(シリアル通信受信割り込み処理及びタイマ割り込み処理の実行中ではなく、主コマンドも受信していない)に電源断予告信号を受信すると、電源断時退避処理が起動してメインルーチンに割り込む。また、タイマ割り込み処理の実行中に電源断予告信号を受信すると、タイマ割り込み処理が終了してメインループに復帰した後に電源断時退避処理が起動する。但し、電源断時退避処理の実行中にはシリアル通信受信割り込み処理及びメイン割り込み処理は起動せず、電源断時退避処理の実行中に割り込み発生要因が成立した場合には、電源断時退避処理の終了を待って対応する割り込み処理が起動する。なお、割り込み処理は、割り込み先の処理(現在実行中の処理)が割り込み許可状態であることを条件として起動する。
That is, in the
また、メイン割り込み処理は、入力ポート1及び入力ポート2の内容を取得して保存する処理(図12のステップS123、S126)と、ポート入力処理で取得した情報に基づいて遊技球が入賞したか否かを判定する入賞判定処理(入力ポート1のオンエッジ検出フラグを生成する処理(図12のステップS125)、入力ポート2のオンエッジ検出フラグを生成する処理(図12のステップS128))と、大当たり遊技状態を生成するか否かを判定するための電子的な当否抽選を入賞判定処理での判定結果に応じて実行する大当たり判定処理(図11のスイッチ管理処理(ステップS69)及び特別遊技管理処理(ステップS70))と、入賞判定処理での判定結果に応じた払出コマンド送信信号を生成する払出制御管理処理(図11のステップS74)と、払出制御管理処理で生成した払出コマンド送信信号を払出制御装置71に送信する出力処理(図11のステップS79)とを含む。メインCPU73は、タイマ割り込み処理の実行中は電源断時退避処理の割り込みを禁止する一方、実行中のタイマ割り込み処理において入賞判定処理の実行前に電源断予告信号を受信した場合(図12のステップS124:Yes、ステップS127:Yes)には、入賞判定処理を実行しない。
In addition, the main interrupt process is a process of acquiring and storing the contents of the input port 1 and the input port 2 (steps S123 and S126 in FIG. 12) and whether the game ball has won based on the information acquired by the port input process. A winning determination process (a process for generating an on-edge detection flag for the input port 1 (step S125 in FIG. 12), a process for generating an on-edge detection flag for the input port 2 (step S128 in FIG. 12)), and a jackpot A jackpot determination process (switch management process in FIG. 11 (step S69) and a special game management process) in which an electronic winning lottery for determining whether or not to generate a gaming state is executed according to the determination result in the winning determination process (Step S70)) and a payout control management process (FIG. 11) for generating a payout command transmission signal according to the determination result in the winning determination process Step including S74 as), the output process of transmitting a payout command transmit signal produced at the payout control management process to the payout controller 71 (step S79 in FIG. 11). While the
(CPU初期化処理)
パチンコ機Pに電源が投入されると、主制御CPU73はCPU初期化処理を開始する。CPU初期化処理によって、パチンコ機Pの安定した遊技動作が保証される。
(CPU initialization process)
When power is turned on to the pachinko machine P, the
図7及び図8は、主制御CPU73が実行するCPU初期化処理を示すフローチャートである。
7 and 8 are flowcharts showing a CPU initialization process executed by the
CPU初期化処理の開始により、スタックポインタにスタック領域の先頭アドレス(アドレス初期値)をセットし(ステップS1)、ベクタ方式の割込モード(割り込みモードモード2)に設定する(ステップS2)。これにより、主制御CPU73は、任意のアドレス(但し最下位ビットは0)を割込ベクタとして参照し、指定の割込ハンドラを実行することができる。
When the CPU initialization process is started, the top address (address initial value) of the stack area is set in the stack pointer (step S1), and the vector type interrupt mode (interrupt mode mode 2) is set (step S2). As a result, the
次に、割り込みベクタテーブルを設定し(ステップS3)、内蔵レジスタを設定し(ステップS4)、入力ポート0の内容を2回読み込み(ステップS5)、入力ポート0の結果を論理変換してRAM75の退避領域に退避させる(ステップS6)。
Next, an interrupt vector table is set (step S3), a built-in register is set (step S4), the contents of the input port 0 are read twice (step S5), the result of the input port 0 is logically converted, and the
次に、リセット時待機処理を実行する。この処理では、リセットスタート(例えば電源投入)時にある程度の待機時間(例えば数千ms程度)を確保し、その間に入力ポート2の電源断予告信号をチェックする。本実施形態では、サブ制御起動待ちとして2秒分のループカウンタをセットし(ステップS7)、ループカウンタの値をデクリメントしながら電源断予告信号の入力ポートをビットチェックする(ステップS8)。2秒間経過する前(ループカウンタが0になる前)に電源断予告信号が入力すると(ステップS9:Yes)、リセット時待機処理の最初(ステップS7)に戻る。電源断予告信号が入力せずに2秒間が経過するまでこの処理を継続し(ステップS9:Yes→ステップS7、又はステップS9:No→ステップS10:No→ステップS8)、電源断予告信号が入力せずに2秒間が経過すると(ステップS9:No→ステップS10:Yes)、この処理を終了する。これにより、例えばサブ制御装置72の起動処理終了前の主制御装置70からサブ制御装置72への制御信号の送信を防止することができる。また、主電源スイッチ(図示省略)の投入と切断の操作が短時間(1〜2秒程度)内に繰り返し行われた場合のシステム保護を図ることができる。
Next, a reset standby process is executed. In this process, a certain waiting time (for example, about several thousand ms) is secured at the start of reset (for example, power-on), and the power-off notice signal for the
次に、RAM75のワーク領域に対するアクセスを許可する(ステップS11)。具体的には、ワーク領域のRAMプロテクト設定値をリセットする。これにより、以後はRAM75のワーク領域に対するアクセスが許可された状態となる。
Next, access to the work area of the
次に、ステップS6で退避した入力ポート0の結果を復帰させ(ステップS12)、復帰させた入力ポート0のRWMクリア信号を参照し、RWMクリア信号のビットがオンか否か(RWMクリアスイッチ69が操作されたか否か)を判定する(ステップS13)。 Next, the result of the input port 0 saved in step S6 is restored (step S12), the RWM clear signal of the restored input port 0 is referred to, and the bit of the RWM clear signal is turned on (RWM clear switch 69). Is determined) (step S13).
RWMクリアスイッチ69が操作されていない場合(ステップS13:No)、RAM75にバックアップ有効判定値(バックアップ有効判定フラグ)が保存されているか否かを判定する。具体的には、RAM75のバックアップ判定記憶領域のデータをバックアップ有効判定値と比較し(ステップS14)、両者が一致している場合(バックアップ有効判定フラグがセットされている場合)には、電源断時退避処理が適正に終了した後のCPU初期化処理であると判定し(ステップS15:No)、不一致の場合(バックアップ有効判定フラグがセットされていない場合)には、電源断時退避処理が適正に終了した後のCPU初期化処理ではないと判定する(ステップS15:Yes)。
When the RWM
電源断時退避処理が適正に終了した後のCPU初期化処理である場合(ステップS15:No)、RAM75のバックアップ情報についてサムチェックを実行する。具体的には、RAM75のワーク領域(使用禁止領域及びスタック領域を含むユーザワーク領域)のうち、バックアップ判定記憶領域及びサムチェックバッファを除く領域について、チェックサム値を算出し(ステップS16)、算出したチェックサム値が正常値か否かを判定する(ステップS17)。具体的には、ステップS16で算出したチェックサム値と、後述する電源断時退避処理(ステップS108)で保存したチェックサム値とを比較し、両者が一致する場合には正常値であると判定し、相違する場合には正常値ではないと判定する。
If it is a CPU initialization process after the power-off saving process is properly completed (step S15: No), a sum check is performed on the backup information in the
チェックサム値が正常値の場合(ステップS17:Yes)、復帰処理(ステップS18〜ステップS20)を実行する。 If the checksum value is a normal value (step S17: Yes), a return process (step S18 to step S20) is executed.
復帰処理では、電源復帰時クリア領域(例えば、バックアップ判定記憶領域)をリセットした後(ステップS18)、演出制御復帰処理(ステップS19)及び払出制御復帰処理(ステップS20)を実行する。 In the return process, after resetting the power return clear area (for example, the backup determination storage area) (step S18), the effect control return process (step S19) and the payout control return process (step S20) are executed.
演出制御復帰処理(ステップS19)では、サブ制御装置72に対し、電源復帰指定のサブコマンド(例えば機種指定コマンド、特別図柄確率状態指定コマンド、作動記憶数コマンド、回数切りカウンタ残数コマンド、特別遊技状態指定コマンド等)を送信する。これを受けたサブ制御装置72は、前回の電源遮断時に実行中であった演出状態(例えば、内部確率状態、演出図柄の表示態様、作動記憶数の演出表示態様、音響出力内容、各種ランプの発光状態等)を復帰させる。
In the effect control return process (step S19), the
払出制御復帰処理(ステップS20)では、払出制御装置71に対し、電源復帰指定の払出コマンドを送信する。これを受けた払出制御装置71は、前回の電源遮断時の状態を復帰させるとともに、払出禁止状態を解除する。
In the payout control return process (step S20), a payout command for power supply return is transmitted to the
一方、RWMクリアスイッチ69が操作されていた場合(ステップS13:Yes)、電源断時退避処理が適正に終了した後のCPU初期化処理ではない場合(ステップS15:Yes)、又はチェックサム値が正常値でなかった場合(ステップS16:No)、初期化処理(ステップS21〜ステップS24)を実行する。
On the other hand, if the RWM
初期化処理では、RAM75の使用禁止領域以外の記憶領域を全てクリアする(ステップS21)。これにより、RAM75のワーク領域及びスタックエリアは全て初期化される。
In the initialization process, all storage areas other than the use-prohibited area of the
次に、RAM75にクリア起動時の初期値をセットすることによりRAM75の初期設定を行い(ステップS22)、演出制御初期化処理(ステップS23)及び払出制御初期化処理(ステップS24)を実行する。
Next, the
演出制御初期化処理(ステップS23)では、サブ制御装置72に対し、RWMクリア指定のサブコマンドを送信する。これを受けたサブ制御装置72は、演出制御状態を初期化する。また、払出制御初期化処理(ステップS24)では、払出制御装置71に対し、RWMクリア指定の払出コマンドを送信する。これを受けた払出制御装置71は、払出制御状態を初期化するとともに、払出禁止状態を解除する。
In the effect control initialization process (step S23), a subcommand for RWM clear designation is transmitted to the
払出制御復帰処理(ステップS20)又は払出制御初期化処理(ステップS24)が終了すると、演出制御装置73に電源投入後のサブコマンドを送信した後(ステップS25)、入力ポート1の内容を取得し(ステップS26)、入力ポート2の内容を取得し(ステップS27)、乱数ラッチレジスタをクリアし(ステップS28)、主コマンド許可信号をセットし(ステップS29)、タイマ割り込み用カウンタをセットし(ステップS30)、割り込みデイジーチェンをリセットして(ステップS31)、メインループへ移行する。割り込みデイジーチェンをリセット(ステップS31)することにより、後述する電源断時退避処理におけるステップS113(図13参照)の判定がYesでCPU初期化処理へ移行した際に、割り込み処理から抜ける際のRETI処理を行っていないために、後述するメインループにおけるステップS45(図9参照)で割り込み許可を行っても各割り込み処理に移行しないといったことを防止している。
When the payout control return process (step S20) or the payout control initialization process (step S24) ends, the subcommand after power-on is transmitted to the effect control device 73 (step S25), and the contents of the input port 1 are acquired. (Step S26) The contents of the
(メインループ)
図9は、主制御CPU73が実行するメインループを示すフローチャートである。
(Main loop)
FIG. 9 is a flowchart showing a main loop executed by the
メインループでは、割り込みを禁止して(ステップS41)、初期値乱数更新処理(ステップS42)、主コマンド解析処理(ステップS43)、サブコマンド送信処理(ステップS44)を実行し、割り込みを許可した後(ステップS45)、その他乱数更新処理(ステップS46)を実行して、ステップS41へ戻る。従って、メインループに対して電源断時退避処理の割り込みが許容される期間は、その他乱数更新処理(ステップS46)の実行中となる。 In the main loop, after interrupts are prohibited (step S41), initial value random number update processing (step S42), main command analysis processing (step S43), subcommand transmission processing (step S44) are executed, and interrupts are permitted. (Step S45), Other random number update processing (Step S46) is executed, and the process returns to Step S41. Therefore, a period during which interruption of the power-off saving process is allowed for the main loop is during the execution of the other random number update process (step S46).
初期値乱数更新処理(ステップS42)では、当たり図柄乱数用初期値更新乱数を更新する。当たり図柄乱数用初期値更新乱数とは、当たり図柄乱数の初期値及び終了値を決定するためのソフトウェア乱数である。当たり図柄乱数とは、大当たりの当選種別の抽選に用いるソフトウェア乱数である。なお、割込を禁止した状態(ステップS41)でステップS42を実行するのは、タイマ割り込み処理(図11のステップS67)でも同様の処理を実行するため、これとの重複(競合)を防止するためである。また、本実施形態の当たり決定乱数(普図当選決定乱数)と大当たり決定乱数(特図当選決定乱数)とは、ハード乱数発生回路76により発生されるハードウェア乱数であり、その更新周期はタイマ割込周期(例えば数ms)よりもさらに高速(例えば数μs)であるため、大当たり決定乱数の初期値を更新する必要はない。
In the initial value random number update process (step S42), the initial value update random number for winning symbol random numbers is updated. The initial value update random number for the winning symbol random number is a software random number for determining the initial value and the end value of the winning symbol random number. The winning symbol random number is a software random number used for the lottery of the winning type. Note that the reason why step S42 is executed in a state where interrupts are prohibited (step S41) is the same as the timer interrupt process (step S67 in FIG. 11), and therefore overlap (conflict) with this is prevented. Because. In addition, the winning determination random number (normal winning winning random number) and the big winning determining random number (special winning winning random number) of the present embodiment are hardware random numbers generated by the hard random
主コマンド解析処理(ステップS43)は、払出制御装置71から受信したコマンド(各種エラー発生指定の払出コマンドやエラー解除指定の払出コマンドを含む)を解析する処理である。サブコマンド送信処理(ステップS44)では、初期設定後に送信すべきサブコマンド(演出制御に必要なサブコマンド)を演出制御装置72に送信する。その他乱数更新処理(ステップS46)では、例えばリーチグループ決定乱数やリーチモード決定乱数や変動パターン乱数などを更新する。リーチグループ決定乱数とは、特別図柄変動パターンのリーチグループの抽選に用いるソフトウェア乱数であり、リーチモード決定乱数とは、特別図柄変動パターンのリーチモードの抽選に用いるソフトウェア乱数であり、変動パターン乱数とは、特別図柄変動パターンの抽選に用いるソフトウェア乱数である。
The main command analysis process (step S43) is a process for analyzing commands received from the payout control device 71 (including payout commands for specifying various error occurrences and payout commands for specifying error cancellation). In the subcommand transmission process (step S44), a subcommand (a subcommand necessary for presentation control) to be transmitted after the initial setting is transmitted to the
(シリアル通信受信割り込み処理)
図10は、主制御CPU73が実行するシリアル通信受信割り込み処理を示すフローチャートである。主制御CPU73は、メインループの割り込み許可中又はタイマ割り込み処理の割り込み許可中において、主コマンド(例えば、払出制御装置71から入力する各種の払出コマンド)を受信すると、受信した主コマンドを優先して処理するためにシリアル通信受信割り込み処理を割り込ませる。
(Serial communication reception interrupt processing)
FIG. 10 is a flowchart showing serial communication reception interrupt processing executed by the
図10に示すように、シリアル通信受信割り込み処理では、AFレジスタの値をRAM75の退避領域に退避させ(ステップS51)、チャンネルA(CHA)のステータスレジスタの内容をロードし(ステップS52)、受信FIFOにデータがあるか否かをチェックし(ステップS53)、CHAデータレジスタから受信値を取得し(ステップS55)、受信FIFOにデータが無いか否かを判定し(ステップS55)、受信FIFOにデータがない場合(ステップS55:Yes)には、ステップS51で退避させたAFレジスタの値を復帰させ(ステップ57)、割り込みを許可した後(ステップS58)、シリアル通信受信割り込み処理を終了する。一方、受信FIFOにデータがある場合(ステップS55:No)、主コマンドバッファに受信データを格納し(ステップS56)、ステップS51で退避させたAFレジスタの値を復帰させ(ステップ57)、割り込みを許可した後(ステップS58)、シリアル通信受信割り込み処理を終了する。シリアル通信受信割り込み処理の終了により、メインループ(スタックポインタで指示されるプログラムアドレス)に復帰する。 As shown in FIG. 10, in the serial communication reception interrupt process, the value of the AF register is saved in the save area of the RAM 75 (step S51), and the contents of the status register of channel A (CHA) are loaded (step S52). It is checked whether or not there is data in the FIFO (step S53), the received value is obtained from the CHA data register (step S55), and it is determined whether or not there is data in the reception FIFO (step S55). If there is no data (step S55: Yes), the value of the AF register saved in step S51 is restored (step 57), the interrupt is permitted (step S58), and the serial communication reception interrupt process is terminated. On the other hand, if there is data in the reception FIFO (step S55: No), the reception data is stored in the main command buffer (step S56), the value of the AF register saved in step S51 is restored (step 57), and an interrupt is issued. After permitting (step S58), the serial communication reception interrupt process is terminated. Upon completion of the serial communication reception interrupt process, the process returns to the main loop (program address indicated by the stack pointer).
(タイマ割り込み処理)
図11は、主制御CPU73が実行するタイマ割り込み処理を示すフローチャートである。主制御CPU73は、カウンタ/タイマ回路は所定周期毎に割込要求信号を発生し、割込要求信号の発生に基づき、割り込み許可中のメインループにタイマ割り込み処理を割り込ませる。
(Timer interrupt processing)
FIG. 11 is a flowchart showing timer interrupt processing executed by the
図11に示すように、タイマ割り込み処理では、メインループの実行中に使用していた全てのレジスタの値をRAM75の退避領域に退避させる(ステップS61)。値を退避させた後のレジスタには、タイマ割り込み処理の中で別の値を書き込むことができる。 As shown in FIG. 11, in the timer interrupt process, all register values used during execution of the main loop are saved in the save area of the RAM 75 (step S61). Another value can be written into the register after saving the value during the timer interrupt processing.
次に、割り込みフラグを初期化し(ステップS62)、割り込みを許可し(ステップS63)、ダイナミックポート出力処理を実行した後(ステップS64)、ボート入力処理を実行する(ステップS65)。 Next, the interrupt flag is initialized (step S62), the interrupt is permitted (step S63), the dynamic port output process is executed (step S64), and the boat input process is executed (step S65).
ポート入力処理(ステップS65)では、図12に示すように、オンエッジ検出フラグをクリアし(ステップS121)、入力ポート0の内容を取得・保存し(ステップS122)、入力ポート1の内容を取得・保存した後(ステップS123)、電源断予告信号を受信しているか否かを判定する(ステップS124)。具体的には、電源断予告信号の入力ポートをビットチェックし、電源断予告信号が入力しているか否かを判定する。 In the port input process (step S65), as shown in FIG. 12, the on-edge detection flag is cleared (step S121), the contents of the input port 0 are acquired and stored (step S122), and the contents of the input port 1 are acquired and stored. After saving (step S123), it is determined whether or not a power-off notice signal is received (step S124). Specifically, the input port of the power-off notice signal is bit-checked to determine whether or not the power-off notice signal is input.
電源断予告信号を受信していない場合(ステップS124:No)には、入力ポート1のオンエッジ検出フラグを生成し(ステップ125)、電源断予告信号を受信している場合(ステップS124:Yes)には、入力ポート1のオンエッジ検出フラグを生成しない。大入賞口52及び一般入賞口37への遊技球の入賞の検知は、大入賞球検知センサ58及び一般入賞球検知センサ59にそれぞれに対応する受信記憶領域(1ビット)の受信状態への変化(立ち上がり)を検出することによって行われ、例えば、一般入賞球検知センサ59に対応する受信記憶領域が受信状態に切り替わっていた場合、対応するオンエッジ検出フラグを、電源断予告信号を受信していなければオンに設定し、電源断予告信号を受信していればオンに設定せずにオフのまま維持する。
When the power-off notice signal is not received (step S124: No), the on-edge detection flag of the input port 1 is generated (step 125), and when the power-off notice signal is received (step S124: Yes). In this case, the on-edge detection flag for the input port 1 is not generated. The detection of the winning of the game ball to the big winning
次に、入力ポート1と同様に、入力ポート2の内容を取得・保存した後(ステップS126)、電源断予告信号を受信しているか否かを判定する(ステップS127)。 Next, as with the input port 1, after acquiring and saving the contents of the input port 2 (step S126), it is determined whether or not a power-off notice signal has been received (step S127).
電源断予告信号を受信していない場合(ステップS127:No)には、入力ポート2のオンエッジ検出フラグを生成して(ステップ128)、本処理を終了し、電源断予告信号を受信している場合(ステップS127:Yes)には、入力ポート2のオンエッジ検出フラグを生成せずに、本処理を終了する。第1始動入賞口35及び第2始動入賞口36への遊技球の入賞の検知は、第1特図始動球検知センサ56及び第2特図始動球検知センサ57にそれぞれに対応する受信記憶領域(1ビット)の受信状態への変化(立ち上がり)を検出することによって行われ、例えば、第2特図始動球検知センサ57に対応する受信記憶領域が受信状態に切り替わっていた場合、対応するオンエッジ検出フラグを、電源断予告信号を受信していなければオンに設定し、電源断予告信号を受信していればオンに設定せずにオフのまま維持する。また、スルーチャッカ32への遊技球の通過の検知は、ゲート通過球検知センサ55に対応する受信記憶領域(1ビット)の受信状態への変化(立ち上がり)を検出することによって行われ、ゲート通過球検知センサ55に対応する受信記憶領域が受信状態に切り替わっていた場合、対応するオンエッジ検出フラグを、電源断予告信号を受信していなければオンに設定し、電源断予告信号を受信していればオンに設定せずにオフのまま維持する。
When the power-off notice signal has not been received (step S127: No), the on-edge detection flag of the
このように、ポート入力処理では、ゲート通過球検知センサ55からの通過検知信号や、第1特図始動球検知センサ56、第2特図始動球検知センサ57、大入賞球検知センサ58、及び一般入賞球検知センサ59からの入賞検知信号の入力状態(オン/オフ)をリードする。電源断発生時ではない場合には、受信記憶領域の受信状態への変化を検出することによって遊技球の通過や入賞を検知し、通過や入賞を検知すると、対応するオンエッジ検出フラグをオンに設定した後、本処理を終了する。一方、電源断発生時の場合には、遊技球の通過や入賞を検知せずに、本処理を終了する。本処理を終了すると、図11のタイマ更新処理(ステップS66)及び初期値乱数更新処理(ステップS67)を実行する。
Thus, in the port input process, the passage detection signal from the gate passage
タイマ更新処理(ステップS66)では、カウンタ/タイマ回路のカウント値を初期値に更新して周期のカウントを再開する。初期値乱数更新処理(ステップS67)では、メインループの初期値乱数更新処理(図9のステップS42)と同様の処理を実行する。 In the timer update process (step S66), the count value of the counter / timer circuit is updated to the initial value, and the cycle count is restarted. In the initial value random number update process (step S67), the same process as the initial value random number update process (step S42 in FIG. 9) of the main loop is executed.
次に、当たり図柄乱数更新処理を実行する(ステップS68)。当たり図柄乱数更新処理では、大当たり図柄抽選用の当たり図柄乱数を発生させるためのカウンタの値を更新する。カウンタの値は、RAM75のカウンタ領域にてインクリメントされ、それぞれ規定の範囲内でループする。
Next, a winning symbol random number update process is executed (step S68). In the winning symbol random number update process, the value of the counter for generating the winning symbol random number for jackpot symbol lottery is updated. The counter value is incremented in the counter area of the
次に、スイッチ管理処理を実行する(ステップS69)。スイッチ管理処理では、ポート入力処理(ステップS65)で検知された第1始動入賞口35への遊技球の入賞、第2始動入賞口36への遊技球の入賞、及びスルーチャッカ32への遊技球の通過に基づいて、各当否判定処理に用いるハード乱数を取得する。
Next, switch management processing is executed (step S69). In the switch management process, a game ball won in the first
具体的には、第1始動入賞口35への遊技球の入賞を検知している場合(対応するオンエッジフラグがオンの場合)、RAM75の第1特図保留乱数記憶領域に記憶された第1特図保留乱数の数が上限数(4個)未満であるか否かを判定し、上限数に達していなければ、第1特図当たり決定乱数を取得し、第1特図保留乱数として第1特図保留乱数記憶領域に記憶する。一方、第1特図保留乱数の数が上限数に達している場合には、第1特図当たり決定乱数を取得しない。
Specifically, when the winning of the game ball to the first
同様に、第2始動入賞口36への遊技球の入賞を検知している場合(対応するオンエッジフラグがオンの場合)、RAM75の第2特図保留乱数記憶領域に記憶された第2特図保留乱数の数が上限数(4個)未満であるか否かを判定し、上限数に達していなければ、第2特図当たり決定乱数を取得し、第2特図保留乱数として第2特図保留乱数記憶領域に記憶する。一方、第2特図保留乱数の数が上限数に達している場合には、第2特図当たり決定乱数を取得しない。
Similarly, when the winning of the game ball to the second start winning opening 36 is detected (when the corresponding on-edge flag is on), the second special figure stored in the second special figure holding random number storage area of the
スルーチャッカ32への遊技球の通過を検知している場合(対応するオンエッジフラグがオンの場合)、RAM75の普図保留乱数記憶領域に記憶された普図保留乱数の数が上限数(4個)未満であるか否かを判定し、上限数に達していなければ、普図当たり決定乱数を取得し、普図保留乱数として普図保留乱数記憶領域に記憶する。一方、普図保留乱数の数が上限数に達している場合には、普図当たり決定乱数を取得しない。
When the passage of the game ball to the through
また、第1特図当たり決定乱数又は第2特図当たり決定乱数を取得する場合、図柄表示用乱数として用いるソフト乱数を取得する。図柄表示乱数は、独立する複数の乱数(当たり図柄乱数、リーチグループ決定乱数、リーチモード決定乱数、及び変動パターン乱数)から構成され、図柄表示乱数も、特図保留乱数と同様に、上限数(4個)までRAM75に記憶される。なお、スルーチャッカ32への遊技球の通過を検知している場合(普通図柄の場合)にも、特別図柄の場合と同様に図柄表示用乱数を取得して記憶するが、その内容は特別図柄と比較して簡素化されている。
In addition, when acquiring a determined random number per first special figure or a determined random number per second special figure, a soft random number used as a design display random number is acquired. The symbol display random number is made up of a plurality of independent random numbers (per symbol random number, reach group determination random number, reach mode determination random number, and variation pattern random number). 4) is stored in the
このように、第1特図当たり決定乱数又は第2特図当たり決定乱数、及び対応する図柄表示用乱数(当たり図柄乱数、リーチグループ決定乱数、リーチモード決定乱数、及び変動パターン乱数)を取得するタイミングは、第1始動入賞口35又は第2始動入賞口36への遊技球の入賞時(第1特図始動球検知センサ56又は第2特図始動検知センサ56による遊技球の検知時)であり、普図当たり決定乱数及び対応する図柄表示用乱数を取得するタイミングは、スルーチャッカ32への遊技球の通過時(ゲート通過球検知センサ55による遊技球の検知時)である。
In this way, the random number determined per first special figure or the random number determined per second special figure and the corresponding random number for symbol display (per random symbol random number, reach group determined random number, reach mode determined random number, and variation pattern random number) are acquired. The timing is when a game ball is won in the first
次に、特別遊技管理処理を実行する(ステップS70)。特別遊技管理処理では、第1特別図柄又は第2特別図柄に関する内部抽選(特別図柄判定処理)や、第1特図表示装置40及び第2特図表示装置41による図柄の変動及び停止の表示態様の決定(図柄及び変動パターン決定処理)を実行する。
Next, special game management processing is executed (step S70). In the special game management process, the internal lottery (special symbol determination process) related to the first special symbol or the second special symbol, and the display mode of symbol variation and stop by the first special
特別図柄判定処理では、第1特図保留乱数記憶領域に最先に記憶された第1特図保留乱数、又は第2特図保留乱数記憶領域に最先に記憶された第2特図保留乱数の何れか一方を読み出し、読み出した特図保留乱数(第1特図当たり決定乱数又は第2特図当たり決定乱数)が当選であるか否かを、予め設定された第1特図当否判定テーブル又は第2特図当否判定テーブルを参照して決定する(特図抽選)。第1特図保留乱数は、第1特図当たり決定乱数として読み出されることによって第1特図保留乱数記憶領域から消去され、第2特図保留乱数は、第2特図当たり決定乱数として読み出されることによって第2特図保留乱数記憶領域から消去される。第1特図保留乱数と第2特図保留乱数との双方が記憶されている場合、第2特図保留乱数を優先して読み出してもよく、記憶領域(第1特図であるか第2特図であるか)に関わらず最先に記憶された保留球乱数を読み出してもよい。 In the special symbol determination process, the first special figure reservation random number stored first in the first special figure reservation random number storage area or the second special figure reservation random number stored first in the second special figure reservation random number storage area The first special figure success / failure determination table is set in advance as to whether or not the read special figure holding random number (the determined random number per first special figure or the determined random number per second special figure) is a win. Alternatively, it is determined with reference to the second special figure determination table (special drawing lottery). The first special figure reserved random number is erased from the first special figure reserved random number storage area by being read out as a determined random number per first special figure, and the second special figure reserved random number is read out as a determined random number per second special figure. As a result, it is erased from the second special figure reservation random number storage area. When both the first special figure reservation random number and the second special figure reservation random number are stored, the second special figure reservation random number may be preferentially read and the storage area (the first special figure or the second special figure may be stored). Regardless of whether or not it is a special figure, the stored ball random number stored first may be read.
図柄及び変動パターン決定処理では、特図停止図柄及び変動パターン(変動パターンコマンド)を、上記読み出した第1特図当たり決定乱数又は第2特図当たり決定乱数と、この当たり決定用乱数に対応して最先に記憶された当たり図柄乱数、リーチグループ決定乱数、リーチモード決定乱数、及び変動パターン乱数との組合せに応じて、予め設定されたパターン決定テーブルを参照して決定し、決定した変動パターンコマンドをポート出力要求バッファに格納する。当たり図柄乱数は、特図の停止図柄を規定するとともに、特図抽選に当選している場合には生起する大当たり遊技状態の態様(種別)を規定する。変動パターンは、変動時間、リーチの発生の有無、リーチ発生時の基本演出パターン等を規定する。 In the symbol and variation pattern determination process, the special symbol stop symbol and variation pattern (variation pattern command) correspond to the read random number determined per the first special symbol or the determined random number per second special symbol and the random number for determination per collision. The variation pattern determined by referring to a preset pattern determination table according to the combination of the winning symbol random number, reach group determination random number, reach mode determination random number, and variation pattern random number stored first. Store the command in the port output request buffer. The winning symbol random number defines the stop symbol of the special symbol, and also defines the mode (type) of the jackpot gaming state that occurs when the special symbol lottery is won. The variation pattern defines a variation time, presence / absence of reach, basic production pattern at the time of reach, and the like.
特図抽選に当選すると、当たり図柄乱数に応じた態様の大当たり遊技状態を生起する。大当たりの態様として、例えば2R通常当たり、2R確変当たり、15R通常当たり、15R確変当たり等が設定されており、2R当たりでは、アタッカー装置39を2ラウンド分開閉し、15R当たりでは、アタッカー装置39を15ラウンド分開閉する。また、通常当たりでは、大当たり遊技終了(アタッカー装置39の作動終了)後に通常遊技状態又は時短遊技状態へ移行する場合があり、確変当たりでは、大当たり遊技終了後に確変遊技状態へ移行する場合がある。
When the special drawing lottery is won, a big hit gaming state of a mode corresponding to the winning symbol random number is generated. For example, per 2R normal per, 2R normal per change, 15R normal per, 15R per normal change, etc. are set, and the
確変遊技状態では、特別図柄判定処理において参照する当否判定テーブルを、通常用の低確率判定テーブルから高確率判定テーブル(通常用よりも当選確率が高い判定テーブル)に変更する。確変遊技状態は、次回の特図当選まで継続するが、時短遊技状態は、特図抽選を所定回数実行することによって終了する。 In the probability variation gaming state, the success / failure determination table to be referred to in the special symbol determination process is changed from the normal low probability determination table to the high probability determination table (determination table having a higher winning probability than that for normal use). The probable gaming state continues until the next special figure winning, but the short-time gaming state is ended by executing the special drawing lottery a predetermined number of times.
また、特別遊技管理処理では、第1特別図柄及び第2特別図柄の変動の開始及び終了、大当たり遊技状態の開始及び終了、大当たり遊技状態におけるラウンド数、確変遊技状態の開始及び終了、時短遊技状態の開始及び終了などの管理を行い、これらの管理に関する演出関連コマンド(例えば、特別図柄の変動の開始を示す変動開始指示コマンドや終了を示す変動終了指示コマンドなど)をポート出力要求バッファに格納する。 Also, in the special game management process, the start and end of the fluctuation of the first special symbol and the second special symbol, the start and end of the jackpot gaming state, the number of rounds in the jackpot gaming state, the start and end of the probability variation gaming state, the short-time gaming state Management related to such management (for example, change start instruction command indicating the start of special symbol change, change end instruction command indicating end, etc.) is stored in the port output request buffer. .
次に、普通遊技管理処理を実行する(ステップS71)。普通遊技管理処理では、普通図柄に対応する内部抽選(普通図柄判定処理)や、普図表示装置42による図柄の変動及び停止の表示態様の決定(図柄及び変動パターン決定処理)などを実行する。
Next, a normal game management process is executed (step S71). In the normal game management process, internal lottery (normal symbol determination process) corresponding to a normal symbol, determination of a display variation and stop display mode (symbol and variation pattern determination process) by the general
普通図柄判定処理では、普図保留乱数記憶領域に最先に記憶された普図保留乱数を読み出し、読み出した普図保留乱数(普図当たり決定乱数)が当選であるか否かを、予め設定された普図当否判定テーブルを参照して決定する(普図抽選)。普図保留乱数は、普図当たり決定乱数として読み出されることによって普図保留乱数記憶領域から消去される。 In the normal symbol determination process, the normal figure hold random number stored first in the normal figure hold random number storage area is read, and whether or not the read general figure hold random number (determined random number per common figure) is winning is set in advance The decision is made with reference to the ordinary figure determination table (normal drawing lottery). The general-purpose reserved random number is erased from the general-purpose reserved random number storage area by being read as a determined random number per general-purpose figure.
図柄及び変動パターン決定処理では、普図停止図柄及び変動パターン(変動パターンコマンド)を、上記読み出した普図当たり決定乱数と、この当たり決定用乱数に対応して最先に記憶された図柄表示用乱数の組合せに応じて、予め設定されたパターン決定テーブルを参照して決定する。 In the symbol and variation pattern determination processing, the symbol stop symbol and variation pattern (variation pattern command) are displayed for the symbol display stored in the earliest correspondence with the read random number for each universal symbol and the random number for determining the symbol. It is determined by referring to a preset pattern determination table according to the combination of random numbers.
なお、普通図柄判定処理において普図抽選に当選すると、電動チューリップ33が所定回数(本実施形態では1回)開放される。また、確変遊技状態及び時短遊技状態では、普通図柄判定処理において参照する普図当否判定テーブルを、通常用の低確率判定テーブルから高確率判定テーブル(通常用よりも当選確率が高い判定テーブル)に変更し、図柄及び変動パターン決定処理において参照するパターン決定テーブルを、通常用のパターン決定テーブルから時短用パターン決定テーブル(通常用よりも変動時間が短い決定テーブル)に変更する。
In addition, when the normal symbol lottery is won in the normal symbol determination process, the
次に、エラー管理処理を実行する(ステップS72)。エラー管理処理では、ポート入力処理(ステップS122)で保存した入力ポート0のエラー検知信号の入力が確認された場合、磁石等を使用した不正が行われている可能性があるため、以降の通常の処理を実行せずに所定のエラー処理を実行する。 Next, error management processing is executed (step S72). In the error management process, if the input of the error detection signal of the input port 0 saved in the port input process (step S122) is confirmed, there is a possibility that fraud using a magnet or the like has been performed. The predetermined error process is executed without executing the process.
次に、入賞口スイッチ処理を実行する(ステップS73)。入賞口スイッチ処理では、ポート入力処理(ステップS65)で検知された第1始動入賞口35、第2始動入賞口36、一般入賞口37、及び大入賞口52への遊技球の入賞情報(各オンエッジフラグのオン情報)を取得する。
Next, a winning opening switch process is executed (step S73). In the winning opening switch processing, the winning information of the game balls to the first
次に、払出制御管理処理を実行する(ステップS74)。払出制御管理処理では、入賞口スイッチ処理(ステップS73)において取得した入賞情報に基づき、払出制御装置71に対して賞球動作の実行及び賞球個数を指示する賞球指示コマンドを生成し、ポート出力要求バッファに格納する。
Next, a payout control management process is executed (step S74). In the payout control management process, a prize ball instruction command for instructing the
次に、外部情報処理を実行する(ステップS75)。外部情報処理では、外部情報端子基板65を介して遊技場のホールコンピュータ68へ出力する外部情報信号(例えば賞球情報、扉開放情報、図柄確定回数情報、大当たり情報、始動口情報等)をポート出力要求バッファに格納する。
Next, external information processing is executed (step S75). In external information processing, an external information signal (for example, prize ball information, door opening information, symbol determination number information, jackpot information, start opening information, etc.) output to the
次に、試験信号管理処理を実行する(ステップS76)。試験信号管理処理では、主制御CPU73が自己の内部状態(例えば、普通図柄遊技管理状態、特別図柄遊技管理状態、大当たり中、確率変動機能作動中、時間短縮機能作動中)を表す各種の試験信号を生成し、これらをポート出力要求バッファに格納する。この試験信号により、例えば主制御装置70の外部で主制御CPU73の内部状態を試験することができる。
Next, a test signal management process is executed (step S76). In the test signal management process, the
次に、LED表示設定処理を実行する(ステップS77)。LED表示設定処理では、第1特図表示装置40、第2特図表示装置41、普図表示装置42、状態表示装置43等の点灯状態を制御するために各LEDに対して印加するバイトデータとしての駆動信号を、ポート出力要求バッファに格納する。
Next, an LED display setting process is executed (step S77). In the LED display setting process, byte data applied to each LED in order to control the lighting state of the first special
例えば、第1特図表示装置40及び第2特図表示装置41に対しては、特別遊技管理処理(ステップS70)において決定した特図停止図柄及び変動パターンでの点灯表示を行わせる駆動信号を格納し、普図表示装置42に対しては、普通遊技管理処理(ステップS71)において決定した普図停止図柄及び変動パターンでの点灯表示を行わせる駆動信号を格納し、第2特図保留数表示部46に対しては、第2特図保留乱数記憶領域に記憶された第2特図保留乱数の数を示す点灯表示を行わせる駆動信号を格納し、普図保留数表示部47に対しては、普図保留乱数記憶領域に記憶された普図保留乱数の数を示す点灯表示を行わせる駆動信号を格納し、ラウンド数表示部44に対しては、特別遊技管理処理(ステップS70)において管理されている大当たり遊技中の現在のラウンド数を示す点灯表示を行わせる駆動信号を格納する。
For example, for the first special
次に、ソレノイド出力イメージ合成処理を実行する(ステップS78)。ソレノイド出力イメージ合成処理では、アタッカー装置39及び電動チューリップ33を開閉制御するためにアタッカー駆動装置54及び電動チューリップ駆動装置51に対して出力する制御コマンドとしての駆動信号を、ポート出力要求バッファに格納する。
Next, solenoid output image composition processing is executed (step S78). In the solenoid output image composition processing, a drive signal as a control command output to the
例えば、アタッカー駆動装置54に対しては、特別遊技管理処理(ステップS70)において管理されている大当たり遊技中のラウンドに基づいてアタッカー装置39を開閉させる駆動信号を格納し、電動チューリップ駆動装置51に対しては、普通遊技管理処理(ステップS71)における普図抽選の当選に応じて電動チューリップ33を所定回数開放させる駆動信号を格納する。
For example, for the
次に、ポート出力処理を実行する(ステップS79)。ポート出力処理では、上述の各処理(ステップS70、ステップS74〜ステップS78)においてポート出力要求バッファに格納された各信号を、対応する送信対象に対してポート出力する。 Next, a port output process is executed (step S79). In the port output process, each signal stored in the port output request buffer in each process described above (step S70, step S74 to step S78) is output to the corresponding transmission target.
例えば、特別遊技管理処理(ステップS70)において格納された変動パターンコマンドや演出関連コマンドをサブ制御装置72に送信し、払出制御管理処理(ステップS74)において格納された賞球指示コマンドを払出制御装置71に送信し、外部情報処理(ステップS75)において格納された外部情報信号を外部情報端子基板65に送信し、LED表示設定処理(ステップS77)において格納された駆動信号を各表示装置40〜43に送信し、ソレノイド出力イメージ合成処理(ステップS78)において格納された駆動信号をアタッカー駆動装置54や電動チューリップ駆動装置51に送信する。
For example, the variation pattern command and the effect related command stored in the special game management process (step S70) are transmitted to the
最後に、ステップS61において退避させた全てのレジスタの値を復帰させ(ステップS80)、タイマ割り込み処理を終了する。タイマ割り込み処理の終了により、メインループ(スタックポインタで指示されるプログラムアドレス)に復帰する。 Finally, the values of all registers saved in step S61 are restored (step S80), and the timer interrupt process is terminated. Upon completion of the timer interrupt process, the process returns to the main loop (program address indicated by the stack pointer).
(電源断時退避処理)
図13は、主制御CPU73が実行する電源断時退避処理を示すフローチャートである。主制御CPU73は、メインルーチンの割り込み許可中電源断予告信号を受信すると、電源断時退避処理を割り込ませる。また、タイマ割り込み処理の実行中に電源断予告信号を受信すると、タイマ割り込み処理が終了してメインループに復帰した後に電源断時退避処理を割り込ませる。
(Evacuation process when power is cut off)
FIG. 13 is a flowchart showing the power-off saving process executed by the
図13に示すように、電源断時退避処理では、AFレジスタの値をRAM75の退避領域に退避させ(ステップS101)、電源断予告信号を受信しているか否かを判定する(ステップS102)。具体的には、電源断予告信号の入力ポートをビットチェックし、電源断予告信号が入力しているか否かを判定する。このように電源断時退避処理の開始直後に電源断予告信号を再度チェックすることによって、ノイズ等による誤検知に起因したステップS106以降の処理の実行を回避することができる。 As shown in FIG. 13, in the power-off saving process, the value of the AF register is saved in the saving area of the RAM 75 (step S101), and it is determined whether or not a power-off notice signal is received (step S102). Specifically, the input port of the power-off notice signal is bit-checked to determine whether or not the power-off notice signal is input. In this way, by checking again the power-off notice signal immediately after the start of the power-off saving process, it is possible to avoid the execution of the processing after step S106 due to erroneous detection due to noise or the like.
電源断予告信号を受信していない場合(ステップS103:No)には、ステップS101で退避させたAFレジスタの値を復帰させ(ステップ104)、割り込みを許可した後(ステップS104)、電源断時退避処理を終了する。電源断時退避処理の終了により、メインループ(スタックポインタで指示されるプログラムアドレス)に復帰する。 When the power-off notice signal has not been received (step S103: No), the value of the AF register saved at step S101 is restored (step 104), and the interruption is permitted (step S104), and then the power is cut off. End the save process. Upon completion of the power-off saving process, the main loop (program address indicated by the stack pointer) is restored.
一方、電源断予告信号を受信している場合(ステップS103:Yes)には、出力ポート(出力ポート要求バッファ)の全てにクリア値を出力する(ステップS106)。これにより、本処理以前に出力ポート要求バッファに格納された信号は全て削除され、送信されない。 On the other hand, when the power-off notice signal is received (step S103: Yes), the clear value is output to all the output ports (output port request buffers) (step S106). As a result, all signals stored in the output port request buffer before this processing are deleted and not transmitted.
次に、RAM75のワーク領域(使用禁止領域及びスタック領域を含むユーザワーク領域)のうち、バックアップ判定記憶領域及びサムチェックバッファを除く領域について、チェックサム値を算出し、算出したチェックサム値をサムチェックバッファに保存する(ステップS108)。 Next, among the work areas of the RAM 75 (user work areas including the use prohibition area and the stack area), check sum values are calculated for areas excluding the backup determination storage area and the sum check buffer, and the calculated check sum values are summed. Save in the check buffer (step S108).
次に、バックアップ判定記憶領域にバックアップ有効判定値(バックアップ有効判定フラグ)を保存し(ステップS108)、RAM75のワーク領域に対するアクセスを禁止して(ステップS109)、電源断時待機処理を実行する。
Next, a backup validity judgment value (backup validity judgment flag) is stored in the backup judgment storage area (step S108), access to the work area of the
電源断時待機処理では、電源断時にある程度の待機時間(例えば数十ms程度)を確保し、その間に入力ポート2の電源断予告信号をチェックする。本実施形態では、リセット信号待ちとして80ms分のループカウンタをセットし(ステップS110)、ループカウンタの値をデクリメントしながら電源断予告信号の入力ポートをビットチェックする(ステップS111)。80ms間経過する前(ループカウンタが0になる前)に電源断予告信号が入力すると(ステップS112:Yes)、電源断時待機処理の最初(ステップS110)に戻る。電源断予告信号が入力せずに80ms間が経過するまでこの処理を継続し(ステップS112:Yes→ステップS110、又はステップS112:No→ステップS113:No→ステップS111)、電源断予告信号が入力せずに80ms間が経過すると(ステップS112:No→ステップS113:Yes)、電源断時退避処理を終了し、CPU初期化処理(図7のステップS1)へ移行する。電源断時待機処理によって、電源断予告信号が所定時間(80ms)以上入力しない安定した状態となった後にCPU初期化処理へ移行させることができ、処理の安定化及びシステム保護を図ることができる。
In the power-off standby process, a certain amount of standby time (for example, about several tens of ms) is secured when the power is turned off, and the power-off notice signal of the
以上説明したように、本実施形態によれば、タイマ割り込み処理は、電源断時退避処理に優先してメインループに割り込むので、タイマ割り込み処理の実行中に電源断が発生した場合であっても、タイマ割り込み処理は電源断時退避処理によって中断せず、電源断時退避処理はタイマ割り込み処理の終了を待って開始される。従って、電源断時退避処理において退避させるデータ量を最小限に抑えるとともに、復帰プログラムの複雑化を回避することができる。 As described above, according to the present embodiment, the timer interrupt process interrupts the main loop in preference to the power-off save process, so even if the power interruption occurs during the execution of the timer interrupt process The timer interrupt process is not interrupted by the power-off saving process, and the power-off saving process starts after the timer interrupt process ends. Therefore, it is possible to minimize the amount of data to be saved in the saving process when the power is turned off, and to avoid the complicated return program.
すなわち、本実施形態では、電源断時退避処理において、RAM75のワーク領域の内容をバックアップ情報としてRAM75の退避領域に退避させるバックアップ情報退避処理や、退避させたバックアップ情報をRAM75のワーク領域に復帰させて前回の電源断発生時に実行中であった遊技状態に復帰させる状態復帰処理を実行しないので、RAM75の退避領域の記憶量を低減させることができる。また、バックアップ情報退避処理や状態復帰処理を実行しないので、復帰プログラムの簡素化を図ることができる。
That is, in this embodiment, in the power-off saving process, the backup information saving process for saving the contents of the work area of the
また、ポーリングによって電源断予告信号を監視していないので、主制御CPU73の処理負担を軽減することができる。
Further, since the power-off notice signal is not monitored by polling, the processing load on the
さらに、メイン割り込み処理において、入賞判定処理(ステップS125、ステップS128)の実行前に電源断予告信号を受信した場合(ステップS124:Yes、ステップS127:Yes)には入賞判定処理を実行しないので、電源断によるノイズ等に起因して入賞球検知信号が誤って主制御装置に入力しても、誤入力に基づく払出(ステップS73、ステップS4)や当否抽選(ステップS69〜ステップS71)が実行されることはない。従って、例えば、故意に電源断を発生させるという遊技者の不正行為に起因して、賞球の払い出しや大当たり遊技状態の生成が行われることがなく、賞球の不正な取得を防止することができる。 Further, in the main interrupt process, when the power interruption notice signal is received before the winning determination process (step S125, step S128) is executed (step S124: Yes, step S127: Yes), the winning determination process is not executed. Even if the winning ball detection signal is erroneously input to the main control device due to noise caused by power interruption, payout based on the erroneous input (step S73, step S4) and winning / failing lottery (step S69 to step S71) are executed. Never happen. Therefore, for example, due to a player's fraudulent act of deliberately turning off the power, prize balls are not paid out or a jackpot gaming state is not generated, and unauthorized acquisition of prize balls can be prevented. it can.
なお、上記実施形態では、2種類の特別図柄を変動する例を説明したが、特別図柄は1種類でもよく、3種類以上であってもよい。また、特別図柄又は普通図柄の一方のみによる当否抽選を実行して大当たり遊技状態を生起してもよい。 In addition, although the example which fluctuates two types of special symbols was demonstrated in the said embodiment, one type may be sufficient as a special symbol and three or more types may be sufficient as it. In addition, the winning / losing lottery with only one of the special symbols or the normal symbols may be executed to generate a jackpot gaming state.
以上、本発明者によってなされた発明を適用した実施形態について説明したが、この実施形態による本発明の開示の一部をなす論述及び図面により本発明は限定されることはない。すなわち、この実施形態に基づいて当業者等によりなされる他の実施形態、実施例及び運用技術等は全て本発明の範疇に含まれることは勿論であることを付け加えておく。 As mentioned above, although the embodiment to which the invention made by the present inventor is applied has been described, the present invention is not limited by the discussion and the drawings that form part of the disclosure of the present invention according to this embodiment. That is, it should be added that other embodiments, examples, operation techniques, and the like made by those skilled in the art based on this embodiment are all included in the scope of the present invention.
8:遊技領域
56:第1特図始動球検知センサ(入賞検知手段)
57:第2特図始動球検知センサ(入賞検知手段)
58:大入賞球検知センサ(入賞検知手段)
59:一般入賞球検知センサ(入賞検知手段)
61:電源供給装置
70:主制御装置
71:払出制御装置
72:サブ制御装置
73:主制御CPU(電源断検知手段、実行制御手段)
96:電源断検出回路(電源断信号発生手段)
P:パチンコ機(弾球遊技機)
8: Game area 56: First special figure starting ball detection sensor (winning detection means)
57: Second special figure starting ball detection sensor (winning detection means)
58: Large winning ball detection sensor (winning detection means)
59: General winning ball detection sensor (winning detection means)
61: power supply device 70: main control device 71: payout control device 72: sub-control device 73: main control CPU (power-off detection means, execution control means)
96: Power-off detection circuit (power-off signal generating means)
P: Pachinko machine (ball game machine)
Claims (2)
前記主制御装置は、
電源断の発生を検知する電源断検知手段と、
前記電源供給装置の電源投入時に起動する所定のメインルーチンと、所定時間毎に起動して前記メインルーチンに割り込むメイン割り込み処理と、前記電源断検知手段による電源断の検知によって起動して前記メインルーチンに割り込む電源断時退避処理との実行を制御する実行制御手段と、を備え、
前記メイン割り込み処理は、前記入賞検知手段から受信した入賞球検知信号に基づいて遊技球が入賞したか否かを判定する入賞判定処理と、該入賞判定処理での判定結果に応じた払出コマンド送信信号を生成する払出制御管理処理と、該払出制御管理処理で生成した払出コマンド送信信号を前記払出制御装置に送信する出力処理とを含み、
前記実行制御手段は、前記電源断時退避処理に優先して前記メイン割り込み処理を前記メインルーチンに割り込ませ、前記電源断時退避処理の実行中は前記メイン割り込み処理の割り込みを禁止し、且つ前記メイン割り込み処理の実行中において前記入賞判定処理の実行前に前記電源断検知手段が電源断を検知した場合は前記入賞判定処理を実行しない
ことを特徴とする弾球遊技機。 A main control device that controls the execution of the game process, a winning detection means that detects a winning of a game ball launched into the game area and transmits a winning ball detection signal to the main control device, and controls the payout of the gaming ball A ball control machine comprising a payout control device and operating upon receiving power supply from a power supply device,
The main controller is
Power-off detection means for detecting the occurrence of power-off,
A predetermined main routine that is activated when the power supply device is turned on; a main interrupt process that is activated every predetermined time and interrupts the main routine; and the main routine that is activated by detection of power interruption by the power interruption detection means Execution control means for controlling the execution of the power-off saving process that interrupts
The main interruption process includes a winning determination process for determining whether or not a game ball has won based on a winning ball detection signal received from the winning detection means, and a payout command transmission according to a determination result in the winning determination process A payout control management process for generating a signal, and an output process for sending a payout command transmission signal generated in the payout control management process to the payout control device,
The execution control means interrupts the main interrupt process in the main routine in preference to the power-off saving process, prohibits interruption of the main interrupt process during the power-off saving process, and The ball game machine according to claim 1, wherein the winning determination process is not executed when the power interruption detection means detects a power interruption before the winning determination process is executed during execution of the main interruption process.
前記メイン割り込み処理は、大当たり遊技状態を生成するか否かを判定するための電子的な当否抽選を前記入賞判定処理での判定結果に応じて実行する大当たり判定処理を含む
ことを特徴とする弾球遊技機。 The ball game machine according to claim 1,
The main interruption process includes a jackpot determination process in which an electronic winning / notifying lottery for determining whether or not to generate a jackpot gaming state is executed according to a determination result in the winning determination process. Ball game machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011243985A JP5783631B2 (en) | 2011-11-07 | 2011-11-07 | Bullet ball machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011243985A JP5783631B2 (en) | 2011-11-07 | 2011-11-07 | Bullet ball machine |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2013099387A true JP2013099387A (en) | 2013-05-23 |
JP2013099387A5 JP2013099387A5 (en) | 2014-07-31 |
JP5783631B2 JP5783631B2 (en) | 2015-09-24 |
Family
ID=48620689
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011243985A Expired - Fee Related JP5783631B2 (en) | 2011-11-07 | 2011-11-07 | Bullet ball machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5783631B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015019932A (en) * | 2013-07-22 | 2015-02-02 | 株式会社大一商会 | Game machine |
JP2019092681A (en) * | 2017-11-20 | 2019-06-20 | 株式会社オリンピア | Game machine |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006187451A (en) * | 2005-01-06 | 2006-07-20 | Sanyo Product Co Ltd | Game machine |
JP2009285093A (en) * | 2008-05-28 | 2009-12-10 | Aruze Corp | Game machine |
JP2011182840A (en) * | 2010-03-04 | 2011-09-22 | Sankyo Co Ltd | Game machine |
-
2011
- 2011-11-07 JP JP2011243985A patent/JP5783631B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006187451A (en) * | 2005-01-06 | 2006-07-20 | Sanyo Product Co Ltd | Game machine |
JP2009285093A (en) * | 2008-05-28 | 2009-12-10 | Aruze Corp | Game machine |
JP2011182840A (en) * | 2010-03-04 | 2011-09-22 | Sankyo Co Ltd | Game machine |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015019932A (en) * | 2013-07-22 | 2015-02-02 | 株式会社大一商会 | Game machine |
JP2019092681A (en) * | 2017-11-20 | 2019-06-20 | 株式会社オリンピア | Game machine |
Also Published As
Publication number | Publication date |
---|---|
JP5783631B2 (en) | 2015-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6373572B2 (en) | Game machine | |
JP6409591B2 (en) | Pachinko machine | |
JP2017196185A (en) | Game machine | |
JP6338831B2 (en) | Game machine | |
JP2014028134A (en) | Pinball game machine | |
JP5376834B2 (en) | Game machine | |
JP2009273896A (en) | Game machine | |
JP2023042531A (en) | game machine | |
JP5909389B2 (en) | Game machine | |
JP6236275B2 (en) | Game machine | |
JP6236274B2 (en) | Game machine | |
JP5783631B2 (en) | Bullet ball machine | |
JP2021177825A (en) | Game machine | |
JP2017029340A (en) | Pachinko game machine | |
JP2012183231A (en) | Game machine | |
JP6954737B2 (en) | Pachinko machine | |
JP2005152611A (en) | Game machine | |
JP6154040B2 (en) | Game machine | |
JP2022011122A (en) | Game machine | |
JP2022011120A (en) | Game machine | |
JP2021177823A (en) | Game machine | |
JP6117029B2 (en) | Game machine | |
JP6523411B2 (en) | Gaming machine | |
JP7473981B2 (en) | Gaming Machines | |
JP7473982B2 (en) | Gaming Machines |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140613 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140613 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150527 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150529 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150618 |
|
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: 20150703 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150717 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5783631 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |