JP2013099387A - Pinball game machine - Google Patents

Pinball game machine Download PDF

Info

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
Application number
JP2011243985A
Other languages
Japanese (ja)
Other versions
JP2013099387A5 (en
JP5783631B2 (en
Inventor
Tomohiro Kubota
智裕 久保田
Nobu Nishizawa
暢 西澤
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.)
Heiwa Corp
Original Assignee
Heiwa Corp
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 Heiwa Corp filed Critical Heiwa Corp
Priority to JP2011243985A priority Critical patent/JP5783631B2/en
Publication of JP2013099387A publication Critical patent/JP2013099387A/en
Publication of JP2013099387A5 publication Critical patent/JP2013099387A5/ja
Application granted granted Critical
Publication of JP5783631B2 publication Critical patent/JP5783631B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent complication of a return program by controlling the data amount to be evacuated when the power supply is shut off, and to reduce processing loads.SOLUTION: A main control CPU controls execution of main routine, timer interrupt processing, and power shut-off time evacuation processing. The timer interrupt processing includes: winning determining steps (S125 and S128) for determining winning based on a received winning ball detection signal; a put-out control management step of generating a winning ball specifying command according to the result of winning determination; and an output step of transmitting the generated winning ball specifying command to a put-out control device. The main control CPU interrupts the main routine preferentially with main interrupt processing over the power shut-off time evacuation processing. Interrupt by the main interrupt processing is prohibited while the power shut-off time evacuation processing is executed, and the winning determining steps are not executed if the power shut-off is detected (S124:Yes, S127:Yes) before execution of the winning determining steps in the main interrupt processing.

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には、メインルーチンにおいて、タイマ割込みの発生を禁止した後に、ポーリングによる電断検出信号に基づく電源断検出処理を実行する遊技機が記載されている。   Patent Document 2 describes a gaming machine that executes a power interruption detection process based on a power interruption detection signal by polling after prohibiting the occurrence of a timer interrupt in the main routine.

特許第3768419号公報Japanese Patent No. 3768419 特開2007-50109号公報Japanese Unexamined Patent Publication No. 2007-50109

特許文献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 Patent Document 2, since the power interruption detection signal is monitored by polling, the processing load increases as compared with the interrupt processing.

そこで、本発明は、電源断時において、退避させるデータ量を抑制し、復帰プログラムの複雑化を回避し、且つ処理負担を低減することを目的とする。   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.

本発明の実施の形態例に係るパチンコ機の外観斜視図である。1 is an external perspective view of a pachinko machine according to an embodiment of the present invention. 図1のパチンコ機のガラス扉及び前面ボードを開放した斜視図である。It is the perspective view which open | released the glass door and front board of the pachinko machine of FIG. 図1のパチンコ機の背面図である。It is a rear view of the pachinko machine of FIG. 図2のパチンコ機の統合表示ユニットの拡大正面図である。It is an enlarged front view of the integrated display unit of the pachinko machine of FIG. 図1のパチンコ機の電気的構成を示すブロック図である。It is a block diagram which shows the electrical structure of the pachinko machine of FIG. 図5の主制御装置が実行する割り込み処理を説明する図であり、(a)は各割り込み処理の内容を示し、(b)はタイマ割り込み処理中の電源断による電源断時退避処理の割り込みを模式的に示す。FIG. 6 is a diagram for explaining interrupt processing executed by the main control device of FIG. 5, (a) shows the contents of each interrupt processing, and (b) shows an interrupt of a power-off save processing due to power interruption during timer interrupt processing. This is shown schematically. 図5の主制御装置が実行するCPU初期化処理を示すフローチャートである。It is a flowchart which shows the CPU initialization process which the main controller of FIG. 5 performs. 図5の主制御装置が実行するCPU初期化処理を示すフローチャートである。It is a flowchart which shows the CPU initialization process which the main controller of FIG. 5 performs. 図5の主制御装置が実行するメインループを示すフローチャートである。It is a flowchart which shows the main loop which the main controller of FIG. 5 performs. 図5の主制御装置が実行するシリアル通信受信割り込み処理を示すフローチャートである。It is a flowchart which shows the serial communication reception interruption process which the main controller of FIG. 5 performs. 図5の主制御装置が実行するタイマ割り込み処理を示すフローチャートである。It is a flowchart which shows the timer interruption process which the main control apparatus of FIG. 5 performs. 図11のポート入力処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the port input process of FIG. 図5の主制御装置が実行する電源断時退避処理を示すフローチャートである。It is a flowchart which shows the saving process at the time of the power-off which the main control apparatus of FIG. 5 performs.

以下、本発明の実施形態について、図面を参照しながら説明する。   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 glass door 3, and a game board 5. The machine frame 1 is a vertically long wooden frame, and is fastened and fixed to an island facility (not shown) in the game hall. The inner frame door 2 is attached to the machine frame 1 so as to be freely opened and closed, and the glass door 3 is attached to the inner frame door 2 so as to be freely opened and closed.

遊技盤5は、内枠扉2の内側に収容され、内枠扉2に対して着脱可能に固定される。ガラス扉3の中央部には、縦長円形状の開口窓6が形成され、開口窓6には、遊技盤5の前方を覆う透明なガラス板7が取り付けられる。遊技盤5の前面(盤面)は、遊技者が開口窓6を介して前方から視認可能な遊技領域8を含み、ガラス扉3が閉じられると、ガラス板7の内面(後面)と遊技領域8との間に遊技球が流下可能な空間が形成される。   The game board 5 is accommodated inside the inner frame door 2 and is detachably fixed to the inner frame door 2. A vertically oval opening window 6 is formed at the center of the glass door 3, and a transparent glass plate 7 covering the front of the game board 5 is attached to the opening window 6. The front surface (board surface) of the game board 5 includes a game area 8 that a player can visually recognize from the front through the opening window 6, and when the glass door 3 is closed, the inner surface (rear face) of the glass plate 7 and the game area 8. A space in which a game ball can flow down is formed.

内枠扉2の一側(図1中の右側)の縁部には、シリンダ錠9が設けられている。機枠1に対して内枠扉2及びガラス扉3を閉じてシリンダ錠9を施錠すると、機枠1に対する内枠扉2及びガラス扉3の開放が禁止される。   A cylinder lock 9 is provided on an edge of one side (right side in FIG. 1) of the inner frame door 2. When the inner frame door 2 and the glass door 3 are closed with respect to the machine frame 1 and the cylinder lock 9 is locked, the opening of the inner frame door 2 and the glass door 3 with respect to the machine frame 1 is prohibited.

ガラス扉3は、その下部に前面ボード4を一体的に有し、前面ボード4には、前方へ突出する上皿10と下皿11とが設けられる。上皿10は前面ボード4の上部に配置され、下皿11は上皿10の下方に配置される。上皿10には、遊技者に貸し出された遊技球(貸球)や入賞により獲得した遊技球(賞球)が貯留され、下皿11には、上皿10が満杯の状態でさらに払い出された遊技球が貯留される。なお、本実施形態のパチンコ機PはいわゆるCR機(CRユニット50(図5に示す)に接続される機種)であり、遊技者が借り受けた遊技球は、賞球とは別に上皿10に払い出される。   The glass door 3 integrally has a front board 4 at a lower portion thereof, and the front board 4 is provided with an upper plate 10 and a lower plate 11 protruding forward. The upper plate 10 is disposed on the upper portion of the front board 4, and the lower plate 11 is disposed below the upper plate 10. The upper plate 10 stores game balls (rented balls) rented to players and game balls (prize balls) acquired by winning a prize, and the lower plate 11 further pays out when the upper plate 10 is full. Played game balls are stored. The pachinko machine P of the present embodiment is a so-called CR machine (a model connected to the CR unit 50 (shown in FIG. 5)), and the game balls borrowed by the player are placed on the upper plate 10 separately from the prize balls. To be paid out.

前面ボード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 lending operation unit 15 and an effect button 23 are provided. The lending operation unit 15 includes a ball lending switch 12, a return switch 13, a frequency display device 14, and a ball lending display device 24, and the player places a valuable medium (for example, a magnetic recording medium) in the CR unit 50 (shown in FIG. 5). When the ball lending switch 12 is operated by inserting a memory IC built-in medium or the like, the number of game balls corresponding to a predetermined frequency unit (for example, 5 times corresponding to 500 yen) (for example, 125) is obtained. The loan is displayed and the ball lending display device 24 displays that the lending process is in progress. The frequency display device 14 displays the remaining frequency of the valuable medium loaded in the CR unit 50. In the present embodiment, a CR machine is used as an example, but the pachinko machine P may be a model other than the CR machine (a model not connected to the CR unit 50). The effect button 23 receives an operation from the player regarding the effect.

前面ボード4の前面には、上皿球抜き操作部16と下皿球抜き操作部17とが設けられている。上皿球抜き操作部16が操作されると、上皿10の遊技球が下皿11へ流下し、下皿球抜き操作部17が操作されると、下皿11の遊技球が下方へ落下して排出される。下皿11から排出された遊技球は、例えば球受け箱(図示省略)等に受け止められる。   On the front surface of the front board 4, an upper dish ball removing operation unit 16 and a lower dish ball removing operation unit 17 are provided. When the upper tray ball removal operation section 16 is operated, the game balls in the upper tray 10 flow down to the lower dish 11, and when the lower dish ball removal operation section 17 is operated, the game balls in the lower dish 11 fall downward. Then discharged. The game ball discharged from the lower plate 11 is received by, for example, a ball receiving box (not shown).

前面ボード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 launch device 19 is attached to the lower portion of the inner frame door 2. The game balls on the upper plate 1 are supplied one by one to the launching device 19, and when the player rotates the launching handle 18, the launching device 19 (launching motor 86 (shown in FIG. 5)) is activated to enter the game area 8. A game ball is launched. The game area 8 is partitioned and formed in a substantially circular shape by the guide rail 20 and the game ball regulating rail 21, and the game ball launched from the launching device 19 slides along the rails 20, 21 and moves upward to the game area 8. And then flow down by being guided and guided by game nails and windmills.

ガラス扉3の上部と内枠扉2の下部とには、スピーカ22がそれぞれ取り付けら、ガラス扉3の前面には、複数の枠体ランプ25が取り付けられている。スピーカ22は、遊技に関する様々な効果音を発する。枠体ランプ25は、例えば内蔵するLEDの発光(点灯や点滅、輝度階調の変化、色調の変化等)により演出を実行する。   Speakers 22 are respectively attached to the upper part of the glass door 3 and the lower part of the inner frame door 2, and a plurality of frame lamps 25 are attached to the front surface of the glass door 3. The speaker 22 emits various sound effects related to the game. The frame lamp 25 performs an effect by, for example, light emission (lighting or blinking, change in luminance gradation, change in color tone, etc.) of the built-in 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 game area 8, there are an integrated display unit 30, an effect display device (image display) 31, a through chucker 32, an electric tulip (ordinary electric accessory) 33, a stage 34, a first start winning opening (first special figure start) (Winning port) 35, second starting winning port (second special drawing starting winning port) 36, general winning port 37, out port 38, attacker device (special electric accessory) 39, a plurality of panel lamps 60, game nails (illustrated) (Not shown), a windmill (not shown), and the like are provided. The first start winning opening 35 and the second starting winning opening 36 are arranged with an interval in the vertical direction. The panel lamp 60 performs an effect by, for example, light emission (lighting and blinking, change in luminance gradation, change in color tone, etc.) of an LED incorporated therein.

統合表示ユニット30は、演出表示装置31を視認している遊技者の視界に同時に入らないように、遊技盤3の右下部分に配置されている。図4に示すように、統合表示ユニット30は、第1特図表示装置(第1特別図柄表示装置)40と、第2特図表示装置(第2特別図柄表示装置)41と、普図表示装置(普通図柄表示装置)42と、状態表示装置43とを備え、これらの表示装置40〜43は、1つの統合表示基板48に実装された状態で遊技盤5に取り付けられる。   The integrated display unit 30 is arranged in the lower right part of the game board 3 so as not to enter the field of view of the player who is viewing the effect display device 31 at the same time. As shown in FIG. 4, the integrated display unit 30 includes a first special symbol display device (first special symbol display device) 40, a second special symbol display device (second special symbol display device) 41, and a general-purpose display. A device (normal symbol display device) 42 and a state display device 43 are provided, and these display devices 40 to 43 are attached to the game board 5 in a state of being mounted on one integrated display board 48.

第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 symbol display device 40 changes the first special symbol (number or pattern) based on the result of the electronic lottery related to the first special symbol, which is performed when the game ball is won at the first start winning opening 35. It is to stop display after it has been made. The second special symbol display device 41 changes the second special symbol (number or pattern) based on the result of the electronic lottery related to the second special symbol, which is performed in response to the winning of the game ball in the second start winning port 36. It is to stop display after it has been made. The first special symbol display device 40 and the second special symbol display device 41 of the present embodiment stop-display the first special symbol and the second special symbol after fluctuation by the 7-segment LED. In the present embodiment, since the game based on the winning at the second start winning opening 36 is executed in preference to the game based on the winning at the first starting winning opening 35, the first special symbol and the first Two special symbols will not change at the same time.

普通図柄表示装置42は、スルーチャッカ32の遊技球の通過を契機に行われた普通図柄に係る電子抽選の結果を、普通図柄(数字や絵柄)を変動させた後に停止表示するものである。本実施形態の普通図柄表示装置42は、7セグメントLEDによって普通図柄を変動後に停止表示する。   The normal symbol display device 42 stops and displays the result of the electronic lottery related to the normal symbol, which is performed when the game ball of the through chucker 32 passes, after changing the normal symbol (number or pattern). The normal symbol display device 42 of the present embodiment stops and displays the normal symbol after the fluctuation by the 7-segment LED.

状態表示装置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 state display device 43 includes a round number display unit 44, a first special figure reservation number display unit 45, a second special figure reservation number display unit 46, and a general figure reservation number display unit 47. The round number display unit 44 is composed of four lamps (LEDs), and displays how many rounds the current jackpot continues depending on the combination of turning off, turning on, or blinking of the lamps. The first special figure hold number display unit 45 wins a game ball in the first start winning opening 35, and a random number determined per first special figure (a jackpot determined random number) acquired in accordance with the winning is the first special figure hold When stored as a random number in the first special figure reservation random number storage area (not shown) of the RAM 75, the stored number is displayed as the current reservation number. The second special figure reservation number display unit 46 receives a game ball in the second start winning opening 36, and the second special figure determined random number (a jackpot determined random number) acquired in accordance with the winning is the second special figure reserved When stored as a random number in the second special figure reserved random number storage area (not shown) of the RAM 75, the stored number is displayed as the current reserved number. The figure holding number display unit 47 stores the figure holding random number stored in the RAM 75 as a figure holding random number as a figure holding random number obtained as a figure holding random number obtained in response to the passing of the game ball through the through chucker 32. When stored in an area (not shown), the current number of holds is displayed. Each of the number-of-holding display units 45, 46, and 47 is composed of lamps (LEDs), and “0” to “4” (upper limit on the number of stored ball random numbers) depending on the combination of turning off, turning on, or blinking the lamps. ) To display the number of holds.

図2に示すように、演出表示装置31は、液晶の画像表示器を有し、遊技盤3の略中央部に設けられ、第1始動入賞口35及び第2始動入賞口36への遊技球の入賞を契機に行われた特別図柄に係る電子抽選の結果に基づいて所定の演出画像を表示する。演出画像には、第1特図表示装置40及び第2特図表示装置41に変動表示される第1特別図柄及び第2特別図柄と同期をとって変動するダミー図柄(演出図柄)と、第1特図当たり決定乱数の保留数表示と、第2特図当たり決定乱数の保留数表示とが含まれる。   As shown in FIG. 2, the effect display device 31 has a liquid crystal image display, and is provided at a substantially central portion of the game board 3, and game balls to the first start winning opening 35 and the second starting winning opening 36. A predetermined effect image is displayed on the basis of the result of the electronic lottery concerning the special symbol performed in response to the winning of the prize. The effect image includes a dummy symbol (effect symbol) that fluctuates in synchronization with the first special symbol and the second special symbol that are variably displayed on the first special symbol display device 40 and the second special symbol display device 41, A display of the number of retained random numbers per special figure and a display of the number of retained random numbers determined per second special figure are included.

電動チューリップ33は、1対の羽根部材49と電動チューリップ駆動装置51(図5に示す)とを備える。1対の羽根部材49は、遊技盤3との直交軸を中心に回転自在であり、第2始動入賞口36の入口の左右に配置される。電動チューリップ駆動装置51のソレノイド(図示省略)が通電されると、1対の羽根部材が互いに離れる方向に回転し、電動チューリップ33が開口して、第2始動入賞口36の入口が拡大される。電動チューリップ33が閉じた状態(通常状態)では、第2始動入賞口36に遊技球は入賞できず、第2始動入賞口36への入賞は、電動チューリップ33の開口時に制限される。   The electric tulip 33 includes a pair of blade members 49 and an electric tulip driving device 51 (shown in FIG. 5). The pair of blade members 49 are rotatable about an axis orthogonal to the game board 3 and are disposed on the left and right sides of the entrance of the second start winning opening 36. When a solenoid (not shown) of the electric tulip driving device 51 is energized, the pair of blade members rotate away from each other, the electric tulip 33 opens, and the entrance of the second start winning prize port 36 is expanded. . In a state where the electric tulip 33 is closed (normal state), a game ball cannot be won in the second start winning opening 36, and winning in the second starting winning opening 36 is restricted when the electric tulip 33 is opened.

ステージ34は、遊技球が転動しながら一時的に滞在する構造物であり、演出表示装置31の下方に配置される。ステージ34の略中央の真下に第1始動入賞口35が配され、ステージ34の中央部分から落下した遊技球は、高い確率で第1始動入賞口35へと導かれる。   The stage 34 is a structure in which the game ball stays temporarily while rolling, and is disposed below the effect display device 31. A first start winning opening 35 is arranged directly below the center of the stage 34, and a game ball that has dropped from the central portion of the stage 34 is guided to the first starting winning opening 35 with a high probability.

アタッカー装置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 start winning opening 35 and the second starting winning opening 36, the attacker device 39 becomes a jackpot game per special figure (big hit). Is a device that is opened a predetermined number of times (in this embodiment, 2 rounds or 15 rounds). The attacker device 39 includes a horizontally long rectangular prize-winning opening 52, a horizontally long plate-like lid member 53, and an attacker driving device 54 (shown in FIG. 5). The lower part of the lid member 53 is supported to be openable and closable in the front-rear direction about a horizontal axis. When a solenoid (not shown) of the attacker drive device 54 is energized, the upper part of the lid member 53 tilts forward and downward. The attacker device 39 is opened to expose the big prize opening 52, and a large amount of game balls are guided to the upper surface (back side) of the lid member 53 and can win the big prize opening 52. In the state where the attacker device 39 is closed (normal state), the lid member 54 closes the big prize opening 54, so that the prize winning to the big prize opening 52 is limited when the attacker device 39 is opened.

各入賞口(第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 starting winning opening 35, second starting winning opening 36, general winning opening 37, large winning opening 52), a predetermined number of gaming balls are paid out to the player as winning balls. The winning game balls are collected from the winning openings 35, 36, 37, 52 to the back side of the game board 5. In addition, game balls that have not won any of the winning openings 35, 36, 37, 52 are finally collected from the out opening 38 to the back side of the game board 5. The collected game balls are discharged out of the frame from the back side of the pachinko machine P through an out passage assembly (not shown), and further join a supply route (not shown) of the island facility.

スルーチャッカ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 chucker 32, the first start winning opening 35, the second starting winning opening 36, the general winning opening 37, and the big winning opening 52, sensors for detecting the passage of game balls (passing through the gate shown in FIG. 5). A ball detecting sensor 55, a first special figure starting ball detecting sensor 56, a second special figure starting ball detecting sensor 57, a big winning ball detecting sensor 58 and a general winning ball detecting sensor 59) are provided. Each time these sensors 32, 35, 36, 37, 52 detect the passage of a game ball, they transmit a detection signal to the main controller 70 (shown in FIG. 5). The first special figure starting ball detection sensor 56, the second special figure starting ball detection sensor 57, the big winning ball detection sensor 58 and the general winning ball detection sensor 59 receive a prize for the game ball launched into the game area 8. It functions as a winning detection means for detecting. In the following description, among these detection signals, the detection signals transmitted by the sensors 35, 36, 37, and 52 are referred to as winning ball detection signals, and the detection signals transmitted from the sensor 55 are referred to as ball passing detection signals. , There is a case to distinguish the two.

[裏側の構成]
図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 power supply device 61, a main control board unit 62, a payout control board unit 63, a sub control board unit 64, an external information terminal board 65, a power cord (power plug) 66, a ground wire (ground terminal) 67, various electronic devices (including a control computer not shown) and the like constituting the power supply system and control system of the pachinko machine P are installed.

外部情報端子基板65は、パチンコ機Pを外部の電子機器(例えば、ホールコンピュータ68(図5に示す)やデータ表示装置等)に接続するためのインタフェースであり、パチンコ機Pの遊技進行状態やメンテナンス状態等を表す各種の外部情報信号(例えば賞球情報、扉開放情報、図柄確定回数情報、大当たり情報、始動口情報等)は、外部情報端子基板65から外部の電子機器に送信される。   The external information terminal board 65 is an interface for connecting the pachinko machine P to an external electronic device (for example, a hall computer 68 (shown in FIG. 5), a data display device, etc.). Various external information signals (for example, prize ball information, door opening information, symbol determination number information, jackpot information, start port information, etc.) representing the maintenance state and the like are transmitted from the external information terminal board 65 to an external electronic device.

電源コード66は、遊技場の島設備に設置された電源装置(例えばAC24V)に接続されて、パチンコ機Pの動作に必要な電源(電力)を確保する。アース線67は、島設備に設置されたアース端子に接続され、パチンコ機Pをアース(接地)する。   The power cord 66 is connected to a power supply device (for example, AC 24V) installed in the island facility of the amusement hall to secure a power source (electric power) necessary for the operation of the pachinko machine P. The ground wire 67 is connected to a ground terminal installed in the island facility, and grounds the pachinko machine P.

[制御に関する構成]
次に、パチンコ機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 main control device 70, a payout control device 71, and a sub control device 72. The main control device 70 is the center of the control operation, has a function of mainly controlling the execution of game processing in the pachinko machine P, and is built in the main control board unit 62. The payout control device 71 has a function of mainly controlling payout and launch of game balls, and is built in the payout control board unit 63. The sub-control device 72 mainly has a function of controlling effects and is built in the sub-control board unit 64. The main control device 70 and the payout control device 71 are a communication line through which a command is transmitted in one direction from the main control device 70 to the payout control device 71, and one direction from the payout control device 71 to the main control device 70. Are connected by a communication line through which commands are transmitted.

(電源供給装置61)
電源供給装置61は、電源コード66を通じて島設備から外部電源(例えば、24Vの交流電源)の供給を受け、この交流電源をパチンコ機Pで使用する複数の定電圧の直流電源や粗整流の直流電源に変換し、主制御装置70、払出制御装置71、サブ制御装置72等に供給する。電源供給装置61には、電源回路やコンデンサ等のバックアップ電源(図示省略)と、外部電源からの電源の供給が途絶えたとき(電源断の発生時)に電源断の発生時に電源断予告信号(電源断信号)を生成する電源断検出回路(電源断信号発生手段)96とが設けられている。電源供給装置61は、電源断の発生時に、主制御装置70及び払出制御装置71に対して、電源断予告信号を送信するとともに、バックアップ電源を供給する。なお、電源断検出回路96は、電源供給装置61以外(例えば、主制御装置70や払出制御装置71など)に設けてもよい。
(Power supply device 61)
The power supply device 61 is supplied with external power (for example, 24V AC power) from the island facility through the power cord 66, and a plurality of constant voltage DC power sources or coarse rectified DC power sources that use this AC power source in the pachinko machine P. The power is converted into power and supplied to the main controller 70, the payout controller 71, the sub controller 72, and the like. The power supply device 61 includes a backup power supply (not shown) such as a power supply circuit and a capacitor, and a power cut notification signal (when a power cut occurs) when the supply of power from an external power supply is interrupted (when a power cut occurs). A power-off detection circuit (power-off signal generating means) 96 for generating a power-off signal is provided. The power supply device 61 transmits a power-off notice signal to the main control device 70 and the payout control device 71 and supplies backup power when a power-off occurs. Note that the power-off detection circuit 96 may be provided other than the power supply device 61 (for example, the main control device 70 or the payout control device 71).

RWMクリアスイッチ69は、主制御装置70及び払出制御装置71に保存されている過去の遊技情報をクリアするために操作されるスイッチであり、電源供給装置61に設けられ、RWMクリアスイッチ66が操作されると、RWMクリア信号を主制御装置70及び払出制御装置71に送信する。   The RWM clear switch 69 is a switch operated to clear past game information stored in the main control device 70 and the payout control device 71. The RWM clear switch 69 is provided in the power supply device 61, and the RWM clear switch 66 is operated. Then, an RWM clear signal is transmitted to the main controller 70 and the payout controller 71.

(主制御装置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 main controller 70 is equipped with a circuit board (main control board) on which a main control CPU 73 that is a central processing unit (central instruction processing unit) is mounted. The main control CPU 73 includes a CPU core and various registers (general purpose). Register, flag register, index register, refresh register, interrupt register, instruction register, etc.), stack pointer, program counter, instruction recorder (all not shown), etc., and LSI together with semiconductor memory such as ROM 74 and RAM (RWM) 75 It is configured as. Each register holds an operation result, an address of an instruction to be read next, an execution state, and the like. The main controller 70 is equipped with a hard random number generation circuit 76 and a sampling circuit (not shown). The hardware random number generation circuit 76 generates hardware random numbers (for example, 0 to 65535 in decimal notation), and the generated random numbers are input to the main control CPU 73 through the sampling circuit. The hardware random number is used as a determined random number per first special figure and a determined random number per second special figure for jackpot determination, or a determined random number per universal figure for hit (per common figure) determination. The main controller 70 is equipped with peripheral ICs such as a clock (frequency generating circuit unit) 77, an input / output (I / O) port, a counter / timer circuit (CTC), etc., which are circuit boards together with the main control CPU 73. Implemented above.

RAM75には、各種フラグの記憶領域を含むワーク領域(図示省略)が設けられ、割込み発生時やサブルーチンや関数を呼び出す際に、処理中のデータや戻りアドレスなどがワーク領域のスタック領域(退避領域)に一時的に退避される。また、主制御CPU73は、ROM74に記憶されている遊技制御用プログラムに従って処理を実行することにより、電源断検知手段及び実行制御手段として機能する。
球検知センサ類56〜59の入賞検知信号は、入出力ドライバ(図示省略)を介して主制御CPU73に入力される。なお、本実施形態では、第1特図始動球検知センサ56及び第2特図始動球検知センサ57からの入賞検知信号は、主制御装置70に直接送信され、ゲート通過球検知センサ55、大入賞球検知センサ58及び一般入賞球検知センサ59からの入賞検知信号は、中継端子板(図示省略)を経由して主制御装置70に送信される。
The RAM 75 has a work area (not shown) including a storage area for various flags. When an interrupt occurs or when a subroutine or function is called, data being processed, a return address, and the like are stored in a stack area (a save area) of the work area. ) Is temporarily evacuated. The main control CPU 73 functions as a power-off detection unit and an execution control unit by executing processing according to the game control program stored in the ROM 74.
The winning detection signals of the ball detection sensors 56 to 59 are input to the main control CPU 73 via an input / output driver (not shown). In this embodiment, the winning detection signals from the first special figure starting ball detection sensor 56 and the second special figure starting ball detection sensor 57 are directly transmitted to the main control device 70, and the gate passing ball detection sensor 55, Winning detection signals from the winning ball detection sensor 58 and the general winning ball detection sensor 59 are transmitted to the main controller 70 via a relay terminal board (not shown).

第1特図表示装置40、第2特図表示装置41、普図表示装置42、及び状態表示装置43の各表示は、主制御CPU73からの制御信号によって制御される。主制御CPU73は、遊技の進行状況に応じてこれら表示装置40〜43に対する制御信号を出力し、各LEDの点灯状態を制御する。   Each display of the first special figure display device 40, the second special figure display device 41, the universal figure display device 42, and the status display device 43 is controlled by a control signal from the main control CPU 73. The main control CPU 73 outputs control signals for the display devices 40 to 43 in accordance with the progress of the game, and controls the lighting state of each LED.

電動チューリップ駆動装置51及びアタッカー駆動装置54の駆動は、主制御CPU73からの制御信号によって制御される。各駆動装置51,54のソレノイドは、主制御CPU73からの制御信号に基づいて動作(励磁)し、電動チューリップ33及びアタッカー装置39を開閉動作(作動)させる。   The driving of the electric tulip driving device 51 and the attacker driving device 54 is controlled by a control signal from the main control CPU 73. The solenoids of the drive devices 51 and 54 are operated (excited) based on a control signal from the main control CPU 73 to open / close (activate) the electric tulip 33 and the attacker device 39.

内枠扉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 door opening switch 79 are installed on the inner frame door 2. When the glass door 3 is opened from the inner frame door 2, a contact signal from the glass door opening switch 78 is input to the main control device 70 via the dispensing control device 71. When the inner frame door 2 is opened from the machine frame 1, a contact signal from the inner frame door opening switch 79 is input to the main control device 70 via the payout control device 71. The main control CPU 73 that has received the contact signals from the switches 78 and 79 transmits a control signal instructing execution of these notification processes to the sub-control device 72 in order to notify the opening of the door by sound, LED, liquid crystal or the like. To do. Also, the dispensing control device 71 that has received the contact signal from the switches 78 and 79 outputs an external information signal indicating that the door is open.

パチンコ機Pには磁気や電波等を検知するエラー検知センサ98が設けられ、エラー検知センサ98は、磁気や電波等を検知すると、主制御装置70にエラー検知信号を送信する。エラー検知信号を受信した主制御CPU73は、所定のエラー処理を実行するとともに、エラー検知を示す外部情報信号を出力する。   The pachinko machine P is provided with an error detection sensor 98 that detects magnetism, radio waves, and the like. The error detection sensor 98 transmits an error detection signal to the main controller 70 when it detects magnetism, radio waves, and the like. Receiving the error detection signal, the main control CPU 73 executes predetermined error processing and outputs an external information signal indicating error detection.

(払出制御装置71)
払出制御装置71には、払出制御CPU80を実装した回路基板(払出制御基板)が装備されており、払出制御CPU80も、主制御CPU73と同様に、CPUコア(図示省略)を含み、ROM81、RAM82等の半導体メモリとともにLSIとして構成されている。払出制御CPU80は、主制御CPU73から受信した賞球指示コマンド(払出コマンド送信信号)に基づいて遊技球の払い出し動作を制御し、指示された個数の遊技球の払出動作を実行させる。なお、主制御CPU73は、賞球指示コマンドとは別に、賞球情報信号を外部情報信号として生成し出力する。具体的には、主制御CPU73は、指示した個数の合計が所定個数(例えば、10個)に達する毎に、賞球情報信号を外部情報信号として生成し出力する。また、払出制御CPU80も、払い出しを行った個数の合計が所定個数(例えば、10個)に達する毎に、賞球情報信号を外部情報信号として生成し出力する。
(Discharge control device 71)
The payout control device 71 is equipped with a circuit board (payout control board) on which a payout control CPU 80 is mounted. The payout control CPU 80 also includes a CPU core (not shown), like the main control CPU 73, and includes a ROM 81 and a RAM 82. It is configured as an LSI together with a semiconductor memory. The payout control CPU 80 controls the game ball payout operation based on the prize ball instruction command (payout command transmission signal) received from the main control CPU 73, and causes the specified number of game balls to be paid out. The main control CPU 73 generates and outputs a prize ball information signal as an external information signal separately from the prize ball instruction command. Specifically, the main control CPU 73 generates and outputs a prize ball information signal as an external information signal every time the designated number reaches a predetermined number (for example, 10). The payout control CPU 80 also generates and outputs a prize ball information signal as an external information signal every time the total number of payouts reaches a predetermined number (for example, 10).

遊技場の球補給経路(図示省略)から補給された遊技球は、賞球タンク(図示省略)に蓄えられ、賞球樋(図示省略)を流下して賞球ケース(図示省略)に導入され、賞球ケースから上皿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 upper plate 10 from the prize ball case.

賞球ケースには、払出モータ(例えばステッピングモータ)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 payout motor 83. The payout control device 71 rotationally drives the payout motor 83 based on the prize ball instruction command received from the main control CPU 73, and pays out the designated number of game balls from the prize ball case. The game balls that have been paid out flow down to the front board 4 through a payout passage (not shown).

払出モータ83の下流側には払出計数スイッチ84が設置され、払出モータ83の駆動によって実際に賞球が払い出されると、払出計数スイッチ84からの計数信号が払出制御装置71に送信される。払出制御CPU80は、受信した計数信号に基づき、実際の払出数や球切れ状態を検知して、遊技球の払い出しを管理する。   A payout counting switch 84 is installed on the downstream side of the payout motor 83, and when a prize ball is actually paid out by driving the payout motor 83, a count signal from the payout count switch 84 is transmitted to the payout control device 71. The payout control CPU 80 detects the actual payout number and the out-of-ball state based on the received count signal, and manages the payout of game balls.

上皿10(図1に示す)への遊技球の供給経路には皿満タンスイッチ85が設置され、下皿11(図1に示す)が遊技球で満杯になると、皿満タンスイッチ85がONになり、満タン検出信号が払出制御装置71に送信される。満タン検出信号を受信した払出制御CPU80は、主制御CPU73から受信した賞球指示コマンドに応じた賞球動作を一旦保留とし、未払出の賞球残数をRAM82に記憶させておく。なお、RAM82の記憶は電源断時にもバックアップが可能であり、遊技中に停電(瞬間的な停電を含む)が発生しても、未払出の賞球残数情報が消失してしまうことはない。   A tray full tank switch 85 is installed in the supply path of game balls to the upper plate 10 (shown in FIG. 1), and when the lower plate 11 (shown in FIG. 1) is full of game balls, the plate full tank switch 85 is turned on. It becomes ON, and a full tank detection signal is transmitted to the payout control device 71. The payout control CPU 80 that has received the full tank detection signal temporarily holds the prize ball operation according to the prize ball instruction command received from the main control CPU 73, and stores the unpaid prize ball remaining number in the RAM 82. The RAM 82 can be backed up even when the power is cut off, so that even if a power outage (including momentary power outage) occurs during the game, the information on the number of remaining unpaid prize balls will not be lost. .

発射装置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 motor 86 and a ball feed solenoid 87, and the firing handle 18 (shown in FIG. 1) has a firing volume 88, a touch sensor 89, a firing stop switch 90, Is provided. The ball feed solenoid 87 sends game balls that have flowed down from the upper plate 10 (shown in FIG. 1) one by one to the launch position, and the launch motor 86 launches the game balls sent to the launch position. In addition, the launch interval of game balls is, for example, about 0.6 seconds (within 100 per minute).

発射ボリューム88は、発射ハンドル18(図1に示す)の回転操作量(ストローク)に比例した発射勢指示信号を払出制御装置71に送信する。タッチセンサ89は、静電容量の変化から遊技者の身体が発射ハンドル18に触れていることを検出し、その検出信号を払出制御装置71に送信する。発射停止スイッチ90は、遊技者から操作されたときに発射停止信号(接点信号)を払出制御装置71に送信する。   The firing volume 88 transmits a firing force instruction signal proportional to the rotational operation amount (stroke) of the firing handle 18 (shown in FIG. 1) to the dispensing control device 71. The touch sensor 89 detects that the player's body is touching the firing handle 18 from the change in capacitance, and transmits the detection signal to the payout control device 71. The firing stop switch 90 transmits a firing stop signal (contact signal) to the payout control device 71 when operated by the player.

遊技者が発射ハンドル18を回転操作すると、発射ボリューム88から払出制御装置71に回転操作量に応じた発射勢指示信号が送信される。払出制御CPU80は、受信した発射勢指示信号に基づいて発射モータ86の駆動を制御する。これにより、遊技者の操作量に応じて遊技球の打ち出し強さが調整される。但し、払出制御CPU80は、タッチセンサ89からの検出信号がオフ(ローレベル)の場合、及び発射停止スイッチ90から発射停止信号が入力された場合には、発射モータ86の駆動を停止する。この他、払出制御CPU80は、パチンコ機PにCRユニット50が接続されていない場合、発射モータ86の駆動を停止する。   When the player rotates the firing handle 18, a firing force instruction signal corresponding to the amount of rotational operation is transmitted from the firing volume 88 to the payout control device 71. The payout control CPU 80 controls driving of the firing motor 86 based on the received firing force instruction signal. Thereby, the launch strength of the game ball is adjusted according to the operation amount of the player. However, the payout control CPU 80 stops driving the firing motor 86 when the detection signal from the touch sensor 89 is off (low level) and when the firing stop signal is input from the firing stop switch 90. In addition, the payout control CPU 80 stops the driving of the firing motor 86 when the CR unit 50 is not connected to the pachinko machine P.

球貸スイッチ12又は返却スイッチ13が操作されると、その操作信号が中継基板91を経由してCRユニット50に送信される。CRユニット50からは、有価媒体の残り度数を表す度数信号が中継基板91を経由して度数表示装置14に送信される。   When the ball lending switch 12 or the return switch 13 is operated, the operation signal is transmitted to the CR unit 50 via the relay board 91. From the CR unit 50, a frequency signal indicating the remaining frequency of the valuable medium is transmitted to the frequency display device 14 via the relay substrate 91.

(サブ制御装置72)
サブ制御装置72には、演出制御CPU92を実装した回路基板(複合サブ制御基板)が装備されており、演出制御CPU92も、主制御CPU73と同様に、CPUコア(図示省略)を含み、ROM93、RAM94等の半導体メモリとともにLSIとして構成されている。サブ制御装置72には、入出力ドライバや各種の周辺IC(共に図示省略)が装備されている。
(Sub-control device 72)
The sub-control device 72 is equipped with a circuit board (composite sub-control board) on which an effect control CPU 92 is mounted. The effect control CPU 92 also includes a CPU core (not shown), like the main control CPU 73, and includes a ROM 93, The semiconductor memory such as the RAM 94 is configured as an LSI. The sub-control device 72 is equipped with an input / output driver and various peripheral ICs (both not shown).

サブ制御装置72のROM93には、演出の制御に関する演出制御プログラムが格納されており、演出制御CPU92は、格納された演出制御プログラムに従い、主制御CPU73から送信される演出用のコマンドに基づいて、演出表示装置31、各種ランプ25,60、音発生装置97及び可動役物による演出の制御を実行する。演出表示装置31は、画像プロセッサや液晶等を含み、音発生装置97は、サウンドプロセッサやスピーカ22等を含む。演出の制御には、演出表示装置31の画像の表示制御、各種ランプ25,60の発光制御、スピーカ22からの音声発生制御、及び可動役物の駆動装置95の駆動制御が含まれる。なお、画像プロセッサ及びサウンドプロセッサは、サブ制御基板ユニット64に設けてもよい。   The ROM 93 of the sub-control device 72 stores an effect control program related to effect control, and the effect control CPU 92 follows an effect command transmitted from the main control CPU 73 in accordance with the stored effect control program. The effect control by the effect display device 31, the various lamps 25 and 60, the sound generator 97 and the movable accessory is executed. The effect display device 31 includes an image processor, a liquid crystal, and the like, and the sound generation device 97 includes a sound processor, a speaker 22, and the like. The production control includes image display control of the production display device 31, light emission control of the various lamps 25 and 60, sound generation control from the speaker 22, and drive control of the movable accessory drive device 95. Note that the image processor and the sound processor may be provided in the sub-control board unit 64.

(外部への出力)
主制御装置70及び払出制御装置71において生成された各種の外部情報信号は、外部情報端子基板65から外部に出力される。外部情報端子基板65から出力される信号は、例えば遊技場のホールコンピュータ68で集計される。
(Output to the outside)
Various external information signals generated in the main control device 70 and the payout control device 71 are output from the external information terminal board 65 to the outside. The signals output from the external information terminal board 65 are totaled, for example, by a hall computer 68 in a game hall.

[主制御装置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 input port 2 in this embodiment) are set in the input / output ports of main controller 70. The input port 0 includes a switch abnormality signal (a disconnection signal of the detection sensors 55 to 59 mounted on the game board 5), a door opening signal (contact signals from the door opening switches 78 and 79), and an error detection signal (error detection sensor 98). ), A payout command permission signal (a signal from the payout control device 71), and an RWM clear signal (a signal from the power supply device 61). A winning ball detection signal from the big winning ball detection sensor 58 and the general winning ball detection sensor 59 is assigned to the input port 1. The input port 2 has a winning ball detection signal from the first special figure starting ball detection sensor 56, a winning ball detection signal from the second special figure starting ball detection sensor 57, and a ball passage detection signal from the gate passing ball detection sensor 55. , And a power-off notice signal from the power supply device 61 is assigned. Each input port is provided with a 1-bit reception storage area whose state is switched at the time of reception of each signal (switched at 1/0), and input confirmation of each signal is performed by bit check of the corresponding reception storage area. . The input port 2 functions as a power-off signal receiving unit that receives a power-off notice signal when a power-off occurs, and the state of the corresponding reception storage area is switched while the power-off notice signal is input to the input port 2. .

[主制御装置70が実行する制御処理]
次に、主制御装置70の主制御CPU73がROM74に記憶されている遊技制御用プログラムに従って実行する制御処理について説明する。主制御CPU73が実行する制御処理は、メインルーチンとしてのCPU初期化処理及びメインループ、シリアル通信受信割り込み処理、タイマ割り込み処理(メイン割り込み処理)、並びに電源断時退避処理を含み、主制御CPU73は、これらの処理の実行を制御する。
[Control processing executed by main controller 70]
Next, the control process executed by the main control CPU 73 of the main control device 70 according to the game control program stored in the ROM 74 will be described. The control processing executed by the main control CPU 73 includes CPU initialization processing as a main routine, main loop, serial communication reception interrupt processing, timer interrupt processing (main interrupt processing), and power-off saving processing. Control the execution of these processes.

図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 main controller 70, as shown in FIG. 6B, the main routine is repeatedly executed as the basic process, and the timer interrupt process is activated at predetermined intervals to interrupt the main loop. When a main command is received during execution of the main routine or timer interrupt processing, serial communication reception interrupt processing is activated and interrupts the main loop or timer interrupt processing (not shown). If a power-off notice signal is received during execution of the main routine (serial communication reception interrupt processing and timer interrupt processing are not being executed and the main command has not been received), the power-off save processing is activated and the main routine is entered. interrupt. Further, when the power interruption notice signal is received during the execution of the timer interruption process, the power interruption interruption process is started after the timer interruption process is completed and the process returns to the main loop. However, the serial communication reception interrupt processing and main interrupt processing are not activated during the power-off save process, and if an interrupt factor is established during the power-off save process, the power-off save process is performed. The corresponding interrupt processing is started after waiting for the end of. Note that the interrupt process is started on condition that the interrupt destination process (the process currently being executed) is in the interrupt enabled state.

また、メイン割り込み処理は、入力ポート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 main CPU 73 prohibits interruption of the power-off saving process during execution of the timer interruption process, the main CPU 73 receives a power-off notice signal before executing the winning determination process in the timer interruption process being executed (step in FIG. 12). In S124: Yes, step S127: Yes, the winning determination process is not executed.

(CPU初期化処理)
パチンコ機Pに電源が投入されると、主制御CPU73はCPU初期化処理を開始する。CPU初期化処理によって、パチンコ機Pの安定した遊技動作が保証される。
(CPU initialization process)
When power is turned on to the pachinko machine P, the main control CPU 73 starts a CPU initialization process. A stable game operation of the pachinko machine P is guaranteed by the CPU initialization process.

図7及び図8は、主制御CPU73が実行するCPU初期化処理を示すフローチャートである。   7 and 8 are flowcharts showing a CPU initialization process executed by the main control CPU 73.

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 main control CPU 73 can refer to an arbitrary address (however, the least significant bit is 0) as an interrupt vector and execute a specified interrupt handler.

次に、割り込みベクタテーブルを設定し(ステップ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 RAM 75 Retreat to the retreat area (step S6).

次に、リセット時待機処理を実行する。この処理では、リセットスタート(例えば電源投入)時にある程度の待機時間(例えば数千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 input port 2 is checked during that time. In this embodiment, a loop counter for 2 seconds is set as waiting for the start of sub-control (step S7), and the input port of the power-off notice signal is bit-checked while decrementing the value of the loop counter (step S8). If a power-off notice signal is input before 2 seconds elapse (before the loop counter reaches 0) (step S9: Yes), the process returns to the beginning of the reset standby process (step S7). This process is continued until two seconds elapse without inputting the power-off notice signal (Step S9: Yes → Step S7, or Step S9: No → Step S10: No → Step S8), and the power-off notice signal is inputted. If 2 seconds elapse without (step S9: No-> step S10: Yes), this process is terminated. Thereby, for example, transmission of a control signal from the main control device 70 to the sub control device 72 before the start of the start processing of the sub control device 72 can be prevented. Further, it is possible to protect the system when the operation of turning on and off the main power switch (not shown) is repeatedly performed within a short time (about 1 to 2 seconds).

次に、RAM75のワーク領域に対するアクセスを許可する(ステップS11)。具体的には、ワーク領域のRAMプロテクト設定値をリセットする。これにより、以後はRAM75のワーク領域に対するアクセスが許可された状態となる。   Next, access to the work area of the RAM 75 is permitted (step S11). Specifically, the RAM protect setting value in the work area is reset. As a result, the access to the work area of the RAM 75 is permitted thereafter.

次に、ステップ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 clear switch 69 is not operated (step S13: No), it is determined whether or not the backup validity determination value (backup validity determination flag) is stored in the RAM 75. Specifically, the data in the backup judgment storage area of the RAM 75 is compared with the backup validity judgment value (step S14), and if they match (when the backup validity judgment flag is set), the power is turned off. It is determined that it is a CPU initialization process after the time saving process has been properly completed (step S15: No), and when there is a mismatch (when the backup validity determination flag is not set), the saving process at the time of power-off is performed. It is determined that the CPU initialization process is not properly completed (step S15: Yes).

電源断時退避処理が適正に終了した後の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 RAM 75. Specifically, the checksum value is calculated for the work area of the RAM 75 (the user work area including the use prohibition area and the stack area) excluding the backup determination storage area and the sum check buffer (step S16). It is determined whether or not the checksum value is a normal value (step S17). Specifically, the checksum value calculated in step S16 is compared with the checksum value saved in the power-off saving process (step S108), which will be described later, and if they match, it is determined to be a normal value. If they are different, it is determined that the values are not normal.

チェックサム値が正常値の場合(ステップ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 sub-control device 72 is instructed to return to the sub-control device 72 (for example, model designation command, special symbol probability state designation command, working memory number command, number-of-times counter remaining command, special game) Send a status specification command. Receiving this, the sub control device 72 performs the effect state (for example, internal probability state, effect symbol display mode, working memory count effect display mode, sound output content, various lamps, etc. that were being executed at the previous power-off. Light emission state).

払出制御復帰処理(ステップS20)では、払出制御装置71に対し、電源復帰指定の払出コマンドを送信する。これを受けた払出制御装置71は、前回の電源遮断時の状態を復帰させるとともに、払出禁止状態を解除する。   In the payout control return process (step S20), a payout command for power supply return is transmitted to the payout control device 71. Receiving this, the payout control device 71 restores the previous power-off state and cancels the payout prohibition state.

一方、RWMクリアスイッチ69が操作されていた場合(ステップS13:Yes)、電源断時退避処理が適正に終了した後のCPU初期化処理ではない場合(ステップS15:Yes)、又はチェックサム値が正常値でなかった場合(ステップS16:No)、初期化処理(ステップS21〜ステップS24)を実行する。   On the other hand, if the RWM clear switch 69 has been operated (step S13: Yes), if it is not a CPU initialization process after the power-off saving process is properly completed (step S15: Yes), or the checksum value is If it is not a normal value (step S16: No), an initialization process (steps S21 to S24) is executed.

初期化処理では、RAM75の使用禁止領域以外の記憶領域を全てクリアする(ステップS21)。これにより、RAM75のワーク領域及びスタックエリアは全て初期化される。   In the initialization process, all storage areas other than the use-prohibited area of the RAM 75 are cleared (step S21). As a result, the work area and stack area of the RAM 75 are all initialized.

次に、RAM75にクリア起動時の初期値をセットすることによりRAM75の初期設定を行い(ステップS22)、演出制御初期化処理(ステップS23)及び払出制御初期化処理(ステップS24)を実行する。   Next, the RAM 75 is initialized by setting an initial value at the time of clear activation in the RAM 75 (step S22), and an effect control initialization process (step S23) and a payout control initialization process (step S24) are executed.

演出制御初期化処理(ステップ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 sub-control device 72. Receiving this, the sub-control device 72 initializes the effect control state. In the payout control initialization process (step S24), a payout command for RWM clear is transmitted to the payout control device 71. Receiving this, the payout control device 71 initializes the payout control state and cancels the payout prohibition state.

払出制御復帰処理(ステップ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 input port 2 are acquired (Step S27), the random number latch register is cleared (Step S28), the main command permission signal is set (Step S29), and the timer interrupt counter is set (Step S29). In step S30, the interrupt daisy chain is reset (step S31), and the process proceeds to the main loop. By resetting the interrupt daisy chain (step S31), when the determination of step S113 (see FIG. 13) in the power-off saving process, which will be described later, shifts to the CPU initialization process in Yes, the RETI when exiting from the interrupt process Since the processing is not performed, even if the interrupt is permitted in step S45 (see FIG. 9) in the main loop to be described later, it is prevented that the processing does not shift to each interrupt processing.

(メインループ)
図9は、主制御CPU73が実行するメインループを示すフローチャートである。
(Main loop)
FIG. 9 is a flowchart showing a main loop executed by the main control CPU 73.

メインループでは、割り込みを禁止して(ステップ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 number generation circuit 76, and the update cycle thereof is a timer. Since it is faster (for example, several μs) than the interrupt cycle (for example, several ms), it is not necessary to update the initial value of the jackpot decision random number.

主コマンド解析処理(ステップ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 presentation control device 72. In other random number update processing (step S46), for example, reach group determination random numbers, reach mode determination random numbers, fluctuation pattern random numbers, and the like are updated. The reach group decision random number is a software random number used for the lottery of the special symbol variation pattern reach group, and the reach mode decision random number is a software random number used for the lottery of the special symbol variation pattern reach mode. Is a software random number used for drawing a special symbol variation pattern.

(シリアル通信受信割り込み処理)
図10は、主制御CPU73が実行するシリアル通信受信割り込み処理を示すフローチャートである。主制御CPU73は、メインループの割り込み許可中又はタイマ割り込み処理の割り込み許可中において、主コマンド(例えば、払出制御装置71から入力する各種の払出コマンド)を受信すると、受信した主コマンドを優先して処理するためにシリアル通信受信割り込み処理を割り込ませる。
(Serial communication reception interrupt processing)
FIG. 10 is a flowchart showing serial communication reception interrupt processing executed by the main control CPU 73. When the main control CPU 73 receives a main command (for example, various payout commands input from the payout control device 71) while interrupting the main loop or permitting interrupt of the timer interrupt process, the main control CPU 73 gives priority to the received main command. Interrupt the serial communication reception interrupt process to process.

図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 main control CPU 73. In the main control CPU 73, the counter / timer circuit generates an interrupt request signal every predetermined period, and based on the generation of the interrupt request signal, interrupts the timer interrupt processing in the main loop that is permitted to interrupt.

図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 opening 52 and the general winning opening 37 is performed by changing the reception storage area (1 bit) corresponding to the big winning ball detecting sensor 58 and the general winning ball detecting sensor 59 to the reception state. For example, when the reception storage area corresponding to the general winning ball detection sensor 59 has been switched to the reception state, the corresponding on-edge detection flag must be received as a power-off notice signal. If the power-off notice signal is received, it is not set to ON and is kept off.

次に、入力ポート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 input port 2 is generated (step 128), this processing is terminated, and the power-off notice signal is received. In the case (step S127: Yes), this process ends without generating the on-edge detection flag of the input port 2. Receiving storage areas corresponding to the first special figure start ball detection sensor 56 and the second special figure start ball detection sensor 57, respectively, for detecting the winning of the game ball to the first start winning opening 35 and the second start winning opening 36. For example, when the reception storage area corresponding to the second special figure starting ball detection sensor 57 is switched to the reception state, the corresponding on-edge is detected. The detection flag is set to ON if the power-off notice signal is not received, and is kept off without being set to ON if the power-off notice signal is received. The detection of the passage of the game ball to the through chucker 32 is performed by detecting the change (rise) of the reception storage area (1 bit) corresponding to the gate passing ball detection sensor 55 to the reception state. If the reception storage area corresponding to the ball detection sensor 55 has been switched to the reception state, the corresponding on-edge detection flag is set to ON if the power-off notice signal has not been received, and the power-off notice signal has been received. Keep it off without setting it on.

このように、ポート入力処理では、ゲート通過球検知センサ55からの通過検知信号や、第1特図始動球検知センサ56、第2特図始動球検知センサ57、大入賞球検知センサ58、及び一般入賞球検知センサ59からの入賞検知信号の入力状態(オン/オフ)をリードする。電源断発生時ではない場合には、受信記憶領域の受信状態への変化を検出することによって遊技球の通過や入賞を検知し、通過や入賞を検知すると、対応するオンエッジ検出フラグをオンに設定した後、本処理を終了する。一方、電源断発生時の場合には、遊技球の通過や入賞を検知せずに、本処理を終了する。本処理を終了すると、図11のタイマ更新処理(ステップS66)及び初期値乱数更新処理(ステップS67)を実行する。   Thus, in the port input process, the passage detection signal from the gate passage ball detection sensor 55, the first special figure start ball detection sensor 56, the second special figure start ball detection sensor 57, the big winning ball detection sensor 58, and The input state (ON / OFF) of the winning detection signal from the general winning ball detection sensor 59 is read. If it is not when the power is cut off, it detects the passing or winning of the game ball by detecting the change of the receiving storage area to the receiving state, and if the passing or winning is detected, the corresponding on-edge detection flag is set to ON. Then, this process is terminated. On the other hand, when the power is cut off, the process is terminated without detecting the passing of a game ball or winning. When this process ends, the timer update process (step S66) and the initial value random number update process (step S67) in FIG. 11 are executed.

タイマ更新処理(ステップ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 RAM 75 and loops within a specified range.

次に、スイッチ管理処理を実行する(ステップ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 start winning opening 35 detected in the port input process (step S65), a game ball win in the second start winning opening 36, and a game ball in the through chucker 32 is obtained. The hard random number used for each success / failure determination process is acquired based on the passage of.

具体的には、第1始動入賞口35への遊技球の入賞を検知している場合(対応するオンエッジフラグがオンの場合)、RAM75の第1特図保留乱数記憶領域に記憶された第1特図保留乱数の数が上限数(4個)未満であるか否かを判定し、上限数に達していなければ、第1特図当たり決定乱数を取得し、第1特図保留乱数として第1特図保留乱数記憶領域に記憶する。一方、第1特図保留乱数の数が上限数に達している場合には、第1特図当たり決定乱数を取得しない。   Specifically, when the winning of the game ball to the first start winning opening 35 is detected (when the corresponding on-edge flag is on), the first special figure reserved random number storage area stored in the RAM 75 is stored. It is determined whether or not the number of one special figure reserved random number is less than the upper limit number (4). If the number does not reach the upper limit number, a determined random number per first special figure is obtained and used as the first special figure reserved random number. Store in the first special figure reserved random number storage area. On the other hand, when the number of first special figure reservation random numbers has reached the upper limit, the determined random number per first special figure is not acquired.

同様に、第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 RAM 75 is detected. It is determined whether or not the number of figure-holding random numbers is less than the upper limit number (4). If the number does not reach the upper-limit number, a determined random number per second special figure is obtained and the second special figure holding random number is second. Store in the special figure holding random number storage area. On the other hand, when the number of second special figure reservation random numbers has reached the upper limit number, the determined random number per second special figure is not acquired.

スルーチャッカ32への遊技球の通過を検知している場合(対応するオンエッジフラグがオンの場合)、RAM75の普図保留乱数記憶領域に記憶された普図保留乱数の数が上限数(4個)未満であるか否かを判定し、上限数に達していなければ、普図当たり決定乱数を取得し、普図保留乱数として普図保留乱数記憶領域に記憶する。一方、普図保留乱数の数が上限数に達している場合には、普図当たり決定乱数を取得しない。   When the passage of the game ball to the through chucker 32 is detected (when the corresponding on-edge flag is turned on), the number of general-purpose reserved random numbers stored in the general-purpose reserved random number storage area of the RAM 75 is the upper limit number (4 If the maximum number is not reached, a determined random number per map is acquired and stored as a general reserved random number in the general reserved random number storage area. On the other hand, when the number of ordinary-pending random numbers has reached the upper limit, no determined random number is acquired per ordinary figure.

また、第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 RAM 75. Even when the passing of the game ball to the through chucker 32 is detected (in the case of a normal symbol), the symbol display random number is acquired and stored in the same manner as in the case of the special symbol. Compared to the simplified.

このように、第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 start winning opening 35 or the second start winning opening 36 (when the game ball is detected by the first special figure start detection sensor 56 or the second special figure start detection sensor 56). Yes, the timing for acquiring the determined random number per symbol and the corresponding symbol display random number is when the game ball passes through the through chucker 32 (when the game ball is detected by the gate passing ball detection sensor 55).

次に、特別遊技管理処理を実行する(ステップ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 symbol display device 40 and the second special symbol display device 41 (Design and variation pattern determination process) is executed.

特別図柄判定処理では、第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 attack device 39 is opened and closed by 2 rounds per 2R, and the attack device 39 is opened per 15R. Open and close for 15 rounds. Further, in the normal hit, the game may be shifted to the normal game state or the short-time game state after the jackpot game is ended (the operation of the attacker device 39 is ended), and in the probability change, the game may be shifted to the probability change game state after the jackpot game is ended.

確変遊技状態では、特別図柄判定処理において参照する当否判定テーブルを、通常用の低確率判定テーブルから高確率判定テーブル(通常用よりも当選確率が高い判定テーブル)に変更する。確変遊技状態は、次回の特図当選まで継続するが、時短遊技状態は、特図抽選を所定回数実行することによって終了する。   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 symbol display device 42, and the like are executed.

普通図柄判定処理では、普図保留乱数記憶領域に最先に記憶された普図保留乱数を読み出し、読み出した普図保留乱数(普図当たり決定乱数)が当選であるか否かを、予め設定された普図当否判定テーブルを参照して決定する(普図抽選)。普図保留乱数は、普図当たり決定乱数として読み出されることによって普図保留乱数記憶領域から消去される。   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 electric tulip 33 is opened a predetermined number of times (in this embodiment, once). Also, in the probability variation gaming state and the short-time gaming state, the normal symbol determination table to be referred to in the normal 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 the normal one). The pattern determination table that is changed and referred to in the symbol and variation pattern determination processing is changed from the normal pattern determination table to the time reduction pattern determination table (determination table having a shorter variation time than normal).

次に、エラー管理処理を実行する(ステップ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 starting winning opening 35, the second starting winning opening 36, the general winning opening 37, and the big winning opening 52 detected in the port input process (step S65) (each ON information of on-edge flag) is acquired.

次に、払出制御管理処理を実行する(ステップ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 payout control device 71 to execute a prize ball operation and the number of prize balls is generated based on the prize information acquired in the prize opening switch process (step S73), and the port Store in the output request buffer.

次に、外部情報処理を実行する(ステップ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 hall computer 68 of the game hall via the external information terminal board 65 is ported. Store in the output request buffer.

次に、試験信号管理処理を実行する(ステップS76)。試験信号管理処理では、主制御CPU73が自己の内部状態(例えば、普通図柄遊技管理状態、特別図柄遊技管理状態、大当たり中、確率変動機能作動中、時間短縮機能作動中)を表す各種の試験信号を生成し、これらをポート出力要求バッファに格納する。この試験信号により、例えば主制御装置70の外部で主制御CPU73の内部状態を試験することができる。   Next, a test signal management process is executed (step S76). In the test signal management process, the main control CPU 73 has various test signals representing its own internal state (for example, normal symbol game management state, special symbol game management state, jackpot, probability variation function in operation, time reduction function in operation). Are stored in the port output request buffer. With this test signal, for example, the internal state of the main control CPU 73 can be tested outside the main controller 70.

次に、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 figure display device 40, the second special figure display device 41, the universal figure display device 42, the state display device 43, etc. Is stored in the port output request buffer.

例えば、第1特図表示装置40及び第2特図表示装置41に対しては、特別遊技管理処理(ステップS70)において決定した特図停止図柄及び変動パターンでの点灯表示を行わせる駆動信号を格納し、普図表示装置42に対しては、普通遊技管理処理(ステップS71)において決定した普図停止図柄及び変動パターンでの点灯表示を行わせる駆動信号を格納し、第2特図保留数表示部46に対しては、第2特図保留乱数記憶領域に記憶された第2特図保留乱数の数を示す点灯表示を行わせる駆動信号を格納し、普図保留数表示部47に対しては、普図保留乱数記憶領域に記憶された普図保留乱数の数を示す点灯表示を行わせる駆動信号を格納し、ラウンド数表示部44に対しては、特別遊技管理処理(ステップS70)において管理されている大当たり遊技中の現在のラウンド数を示す点灯表示を行わせる駆動信号を格納する。   For example, for the first special figure display device 40 and the second special figure display device 41, a drive signal for performing lighting display with the special figure stop symbol and the variation pattern determined in the special game management process (step S70). Stored in the ordinary figure display device 42 is stored a driving signal for performing the illumination display with the ordinary figure stop symbol and the variation pattern determined in the normal game management process (step S71). For the display unit 46, a drive signal for performing lighting display indicating the number of second special figure reservation random numbers stored in the second special figure reservation random number storage area is stored. Then, a drive signal for performing a lighting display indicating the number of the general-purpose reserved random numbers stored in the general-purpose reserved random number storage area is stored, and for the round number display section 44, a special game management process (step S70). Managed in Storing a drive signal for causing the lighting display that indicates the current number of rounds in the bonus game to have.

次に、ソレノイド出力イメージ合成処理を実行する(ステップ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 attacker drive device 54 and the electric tulip drive device 51 for opening / closing control of the attacker device 39 and the electric tulip 33 is stored in the port output request buffer. .

例えば、アタッカー駆動装置54に対しては、特別遊技管理処理(ステップS70)において管理されている大当たり遊技中のラウンドに基づいてアタッカー装置39を開閉させる駆動信号を格納し、電動チューリップ駆動装置51に対しては、普通遊技管理処理(ステップS71)における普図抽選の当選に応じて電動チューリップ33を所定回数開放させる駆動信号を格納する。   For example, for the attacker drive device 54, a drive signal for opening and closing the attacker device 39 based on the round during the jackpot game managed in the special game management process (step S70) is stored, and the electric tulip drive device 51 is stored. On the other hand, a drive signal for opening the electric tulip 33 a predetermined number of times in accordance with the winning of the general drawing lottery in the normal game management process (step S71) is stored.

次に、ポート出力処理を実行する(ステップ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 sub-control device 72, and the prize ball instruction command stored in the payout control management process (step S74) is sent out. 71, the external information signal stored in the external information processing (step S75) is transmitted to the external information terminal board 65, and the drive signal stored in the LED display setting process (step S77) is transmitted to each of the display devices 40 to 43. And the drive signal stored in the solenoid output image composition process (step S78) is transmitted to the attacker drive device 54 and the electric tulip drive device 51.

最後に、ステップ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 main control CPU 73. When the main control CPU 73 receives the power interruption notice signal during interruption of the main routine, the main control CPU 73 interrupts the saving process at the time of power interruption. Further, when the power interruption notice signal is received during execution of the timer interruption process, the interruption process is interrupted after the interruption of the timer interruption process and the return to the main loop.

図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 RAM 75 is prohibited (step S109), and a power-off standby process is executed.

電源断時待機処理では、電源断時にある程度の待機時間(例えば数十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 input port 2 is checked during that time. In this embodiment, a loop counter for 80 ms is set to wait for a reset signal (step S110), and the input port of the power-off notice signal is bit-checked while decrementing the value of the loop counter (step S111). If a power-off notice signal is input before 80 ms elapses (before the loop counter reaches 0) (step S112: Yes), the process returns to the beginning of the power-off standby process (step S110). This process is continued until 80 ms elapses without inputting the power-off notice signal (Step S112: Yes → Step S110, or Step S112: No → Step S113: No → Step S111), and the power-off notice signal is input. If 80 ms elapses (step S112: No → step S113: Yes), the power-off saving process is terminated, and the process proceeds to the CPU initialization process (step S1 in FIG. 7). The power-off standby process makes it possible to shift to the CPU initialization process after a stable state in which the power-off notice signal is not input for a predetermined time (80 ms) or longer, thereby stabilizing the process and protecting the system. .

以上説明したように、本実施形態によれば、タイマ割り込み処理は、電源断時退避処理に優先してメインループに割り込むので、タイマ割り込み処理の実行中に電源断が発生した場合であっても、タイマ割り込み処理は電源断時退避処理によって中断せず、電源断時退避処理はタイマ割り込み処理の終了を待って開始される。従って、電源断時退避処理において退避させるデータ量を最小限に抑えるとともに、復帰プログラムの複雑化を回避することができる。   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 RAM 75 as backup information in the saving area of the RAM 75, or the saved backup information is restored to the work area of the RAM 75. Thus, since the state return process for returning to the gaming state that was being executed at the time of the previous power-off occurrence is not executed, the storage amount of the save area of the RAM 75 can be reduced. In addition, since the backup information saving process and the state return process are not executed, the return program can be simplified.

また、ポーリングによって電源断予告信号を監視していないので、主制御CPU73の処理負担を軽減することができる。   Further, since the power-off notice signal is not monitored by polling, the processing load on the main control CPU 73 can be reduced.

さらに、メイン割り込み処理において、入賞判定処理(ステップ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.
請求項1に記載の弾球遊技機であって、
前記メイン割り込み処理は、大当たり遊技状態を生成するか否かを判定するための電子的な当否抽選を前記入賞判定処理での判定結果に応じて実行する大当たり判定処理を含む
ことを特徴とする弾球遊技機。
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.
JP2011243985A 2011-11-07 2011-11-07 Bullet ball machine Expired - Fee Related JP5783631B2 (en)

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)

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

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

Patent Citations (3)

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

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