JP2012066136A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2012066136A
JP2012066136A JP2012002778A JP2012002778A JP2012066136A JP 2012066136 A JP2012066136 A JP 2012066136A JP 2012002778 A JP2012002778 A JP 2012002778A JP 2012002778 A JP2012002778 A JP 2012002778A JP 2012066136 A JP2012066136 A JP 2012066136A
Authority
JP
Japan
Prior art keywords
signal
level
detection signal
circuit
stored
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
JP2012002778A
Other languages
Japanese (ja)
Other versions
JP5475024B2 (en
Inventor
Tamotsu Uchiyama
内山  保
Yuzuru Yatsugi
譲 矢次
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.)
Fuji Shoji Co Ltd
Original Assignee
Fuji Shoji Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Shoji Co Ltd filed Critical Fuji Shoji Co Ltd
Priority to JP2012002778A priority Critical patent/JP5475024B2/en
Publication of JP2012066136A publication Critical patent/JP2012066136A/en
Application granted granted Critical
Publication of JP5475024B2 publication Critical patent/JP5475024B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a game machine that prevents false recognition of a winning state of game balls.SOLUTION: The game machine includes: a random number generating circuit GNR for storing on-information in a first storage part 60 when the level of a winning switch signal SG is significantly changed, and storing a counter counted value at the time in second storage parts 45 and 46; and an input port INP for receiving the winning switch signal SG. The game machine also includes: a first means for determining input data in the input port INP and storing the on-information in a third storage part EDG if the level of the winning switch signal SG is significantly changed; a second means for acquiring and temporarily storing the counter counted value stored in the second storage parts 45 and 46 on condition that the on-information is stored in the first storage part 60 after the first means is actuated; and a third means for executing a lottery process based on the temporarily stored counter counted value on condition that the on-information is stored in the third storage part EDG after the second means is actuated.

Description

本発明は、弾球遊技機やスロットマシンなど、遊技動作に起因する抽選処理によって大当り状態を発生させる遊技機に関し、特に、誤動作による抽選処理を実行することがない遊技機に関する。   The present invention relates to a gaming machine such as a ball ball game machine or a slot machine that generates a big hit state by a lottery process caused by a game operation, and more particularly to a game machine that does not execute a lottery process due to a malfunction.

パチンコ機などの弾球遊技機は、遊技盤に設けた図柄始動口と、複数の表示図柄による一連の図柄変動態様を表示する図柄表示部と、開閉板が開閉される大入賞口などを備えて構成されている。そして、図柄始動口に設けられた検出スイッチが遊技球の通過を検出すると入賞状態となり、遊技球が賞球として払出された後、図柄表示部では表示図柄が所定時間変動される。その後、7−7−7などの所定の態様で図柄が停止すると大当り状態となり、大入賞口が繰返し開放されて、遊技者に有利な利益状態を発生させている。   A ball game machine such as a pachinko machine has a symbol start opening provided on the game board, a symbol display section for displaying a series of symbol variation patterns by a plurality of display symbols, and a big winning opening for opening and closing the opening and closing plate. Configured. When the detection switch provided at the symbol start port detects the passage of the game ball, the winning state is entered, and after the game ball is paid out as a prize ball, the display symbol is changed for a predetermined time in the symbol display section. Thereafter, when the symbol is stopped in a predetermined manner such as 7-7-7, a big hit state is established, and the big winning opening is repeatedly opened to generate a profit state advantageous to the player.

但し、実際には、遊技球の入賞時に実行される大当り抽選処理によって、大当り状態か否かが予め決定されており、図柄表示部では、専ら遊技者を盛上げるために図柄変動動作を行っている。大当り抽選処理では、例えば、ハードウェア構成された乱数生成回路の出力値が、大当り判定用の乱数値として使用され、これを大当り当選値と比較することで大当り状態か否かが決定される。   However, in actuality, whether or not the big hit state is determined in advance by the big hit lottery process executed at the time of winning the game ball, and the symbol display unit performs a symbol variation operation exclusively to enliven the player Yes. In the jackpot lottery process, for example, the output value of a random number generation circuit configured in hardware is used as a random number value for jackpot determination, and is compared with the jackpot winning value to determine whether or not the jackpot state.

ところで、大当り当選値は、遊技機を取得してプログラムを解析すると判明するので、乱数生成回路については、高いセキュリティレベルが要求される。そこで、ワンチップマイコン内部に乱数生成回路を内蔵させるのが好適であり、その回路構成について出願人は別に提案している(特許文献1)。   By the way, since the jackpot winning value is found when the game machine is acquired and the program is analyzed, a high security level is required for the random number generation circuit. Therefore, it is preferable to incorporate a random number generation circuit inside the one-chip microcomputer, and the applicant has separately proposed the circuit configuration (Patent Document 1).

この乱数生成回路では、図柄始動口に設けられた検出スイッチSWが遊技球の通過を検出すると、この入賞状態を記憶するラッチ回路(レジスタ)を設けて構成されている。そして、この発明では、ラッチ回路の出力によってCPUに割込みをかけるか、或いは、ラッチ回路の出力レベルをCPUが定期的にチェックすることで、遊技球の入賞状態が把握される。   This random number generation circuit is configured to include a latch circuit (register) that stores the winning state when the detection switch SW provided at the symbol start port detects the passage of the game ball. In the present invention, the winning state of the game ball is grasped by interrupting the CPU by the output of the latch circuit or by periodically checking the output level of the latch circuit by the CPU.

特願2008−180326Japanese Patent Application No. 2008-180326

しかしながら、上記の発明では、遊技球の入賞状態を記憶するラッチ回路が、スイッチ信号のエッジで動作するので、ノイズなどの影響でラッチ回路が誤動作する可能性が無いとは言い切れない。そして、万一、このような誤動作が発生すると、入賞状態ではないにも拘らず、大当り抽選処理が実行されることになり、不合理な大当り状態が発生するおそれもあった。また、不合理な大当り状態を狙った違法行為も懸念されるところである。   However, in the above invention, since the latch circuit that stores the winning state of the game ball operates at the edge of the switch signal, it cannot be said that there is no possibility that the latch circuit malfunctions due to the influence of noise or the like. If such a malfunction occurs, the big hit lottery process is executed even though it is not in the winning state, and an unreasonable big hit state may occur. There are also concerns about illegal acts aimed at unreasonable big hits.

本発明は、上記の問題点に鑑みてなされたものであって、遊技球の入賞状態を誤認することのない遊技機を提供することを目的とする。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a gaming machine that does not erroneously recognize a winning state of a game ball.

上記の目的を達成するため、本発明は、所定の遊技動作の発生を示す検出信号に起因して抽選処理を実行し、遊技者に有利な遊技状態を発生させるか否かを決定する遊技機であって、前記検出信号のレベルが有意に変化すると、第1記憶部にON情報を記憶すると共に、その時のカウンタ計数値を第2記憶部に記憶する乱数生成回路と、前記検出信号を受
ける入力ポートとを設け、入力ポートの入力データを判定して前記検出信号のレベルが有意に変化した場合には、第3記憶部にON情報を記憶する第1手段と、第1手段が機能した後、第1記憶部にON情報が記憶されていることを条件に、第2記憶部に記憶されている
前記カウンタ計数値を取得して一時保存する第2手段と、第2手段が機能した後、第3記憶部にON情報が記憶されていることを条件に、一時保存されているカウンタ計数値に基づいて前記抽選処理を実行する第3手段と、を有して構成されている。本発明は、弾球遊技機やスロットマシンに好適に適用される。
In order to achieve the above object, the present invention executes a lottery process based on a detection signal indicating the occurrence of a predetermined gaming operation, and determines whether or not to generate a gaming state advantageous to the player When the level of the detection signal changes significantly, the ON information is stored in the first storage unit and the counter count value at that time is stored in the second storage unit, and the detection signal is received. And a first means for storing ON information in the third storage section when the input signal of the input port is determined and the level of the detection signal changes significantly, and the first means functions. Then, on condition that the ON information is stored in the first storage unit, the second means that acquires and temporarily stores the counter count value stored in the second storage part functions. After that, ON information is stored in the third storage unit Preparative to the condition, it is configured to include a third means for executing the lottery processing based on the counter values stored temporarily a. The present invention is preferably applied to a ball game machine and a slot machine.

前記第3手段は、カウンタ計数値が一時保存されていた領域に、無効データを格納するよう機能する一方、前記抽選処理は、前記無効データによっては、遊技者に有利な遊技状態が発生しないよう構成するのが好適である。具体的には、無効データをよっては抽選処理を実行しないよう構成するのが最適である。   The third means functions to store invalid data in the area where the counter count value is temporarily stored, while the lottery process does not cause a gaming state advantageous to the player depending on the invalid data. It is preferable to configure. Specifically, it is optimal that the lottery process is not executed depending on invalid data.

本発明は、好ましくは、電源投入時に開始されるメイン処理と、前記メイン処理を中断させて定時的に実行されるタイマ割込み処理とを有して構成され、前記第1手段〜第3手段は、前記タイマ割込み処理において実現される。   The present invention is preferably configured to include a main process that is started when power is turned on, and a timer interrupt process that is periodically executed by interrupting the main process. The timer interrupt processing is realized.

また、所定の遊技動作の発生時を除きON状態であるスイッチング素子を経由して、前記検出信号が前記乱数生成回路及び入力ポートに供給されているのが好適である。そして、前記スイッチング素子の出力は、配線ケーブルと接続コネクタとを経由して、前記乱数生成回路及び前記入力ポートを搭載する回路基板に供給されるのが好適である。ここで、前記スイッチング素子の出力は、異なる配線ケーブル及び接続コネクタを通して、前記回路基板に別々に供給されるのがセキュリティ上は最適である。   In addition, it is preferable that the detection signal is supplied to the random number generation circuit and the input port via a switching element that is in an ON state except when a predetermined game operation occurs. The output of the switching element is preferably supplied to a circuit board on which the random number generation circuit and the input port are mounted via a wiring cable and a connection connector. Here, it is optimal in terms of security that the output of the switching element is separately supplied to the circuit board through different wiring cables and connection connectors.

前記第1手段は、好ましくは、入力データを複数回連続して取得し、同一データが取得
されることを条件に、前記検出信号のレベル変化を判定するべきであり、このような処理によってノイズその他の影響を排除することができる。また、前記第1手段は、入力デー
タの判定時に、前回のタイマ割込み処理によって取得したデータと、今回の入力データの、何れか一方を論理反転させてAND演算することで、前記検出信号のレベルが変化したことを自動検出するのが効果的である。第1記憶部に記憶されたON情報は、第2手段が、第2記憶部から前記カウンタ計数値を取得するまで、そのまま維持されるべきであり、このような構成を採ると誤動作を解消する上で有効である。
The first means should preferably acquire the input data a plurality of times in succession and determine the level change of the detection signal on the condition that the same data is acquired. Other effects can be eliminated. In addition, the first means performs an AND operation by logically inverting either one of the data acquired by the previous timer interrupt process and the current input data when determining the input data, so that the level of the detection signal is It is effective to automatically detect that has changed. The ON information stored in the first storage unit should be maintained as it is until the second means acquires the counter count value from the second storage unit. If such a configuration is adopted, the malfunction is eliminated. Effective above.

また、前記乱数生成回路は、計数クロックを受けて循環的に更新されるカウンタと、前記検出信号を受けると、前記計数クロックのエッジに同期して、これを取得して保持する検出記憶回路と、制御信号が許可レベルであることを条件に前記検出記憶回路から受ける前記検出信号のエッジに同期して、前記カウンタの出力データを前記乱数値として取得して保持するラッチ回路と、前記ラッチ回路が前記乱数値を取得した後、前記制御信号を許可レベルから禁止レベルに変化させる制御回路と、を有して構成されるのが好適である。   The random number generation circuit includes a counter that is cyclically updated in response to a count clock, and a detection storage circuit that acquires and holds the counter in synchronization with an edge of the count clock when the detection signal is received. A latch circuit that acquires and holds the output data of the counter as the random number value in synchronization with an edge of the detection signal received from the detection storage circuit on condition that the control signal is at a permission level; and the latch circuit And a control circuit that changes the control signal from a permission level to a prohibition level after obtaining the random number value.

本発明では、ラッチ回路がカウンタの出力データを取得した後、制御回路が制御信号を許可レベルから禁止レベルに変化させるので、仮に検出信号が振動しても、重複してカウンタの出力データが取得されるおそれがない。前記制御回路は、前記ラッチ回路が保持する前記乱数値を前記CPUが取得すると、禁止レベルの制御信号を許可レベルに戻すのが好適である。このような構成を採ると、CPUが迅速にカウンタの出力データを取得するだけで、検出信号の読み落としを解消することができる。   In the present invention, after the latch circuit acquires the output data of the counter, the control circuit changes the control signal from the permission level to the prohibition level. Therefore, even if the detection signal vibrates, the counter output data is repeatedly acquired. There is no fear of being done. It is preferable that when the CPU acquires the random number value held by the latch circuit, the control circuit returns the control signal of the prohibited level to the permitted level. By adopting such a configuration, it is possible to eliminate the overwriting of the detection signal only by the CPU quickly acquiring the output data of the counter.

前記カウンタは、前記計数クロックの第1エッジに同期してカウンタ値を更新する一方、前記検出記憶回路は、前記計数クロックの第2エッジに同期して前記検出信号を保持するのが好適である。この場合には、ラッチ回路が取得するカウンタ値は、確実に更新が完
了した後の安定した値となる。
Preferably, the counter updates the counter value in synchronization with the first edge of the count clock, while the detection storage circuit holds the detection signal in synchronization with the second edge of the count clock. . In this case, the counter value acquired by the latch circuit is a stable value after the update is reliably completed.

前記計数クロックは、基礎クロックを二分周して生成されるのが好適である。この場合には、計数クロックのデューティ比が50%となるので、ラッチ回路の動作が、より安定化する。   The counting clock is preferably generated by dividing the basic clock by two. In this case, since the duty ratio of the counting clock is 50%, the operation of the latch circuit is further stabilized.

本発明は、前記検出記憶回路が出力する前記検出信号と、前記制御回路が出力する前記制御信号を受ける論理ゲートを設け、前記論理ゲートの出力が前記ラッチ回路に供給されるよう構成するのが好適である。また、前記制御回路は、前記論理ゲートの出力信号を論理反転させて受け、前記出力信号のエッジに同期して固定値を記憶するフリップフロップで構成されるのが好適である。固定値は典型的にはHレベルであり、フリップフロップはD型フリップフロップであるのが好ましい。   The present invention includes a logic gate that receives the detection signal output from the detection memory circuit and the control signal output from the control circuit, and the output of the logic gate is supplied to the latch circuit. Is preferred. Preferably, the control circuit is constituted by a flip-flop that receives the output signal of the logic gate by inverting the logic and stores a fixed value in synchronization with an edge of the output signal. The fixed value is typically at the H level, and the flip-flop is preferably a D-type flip-flop.

前記制御回路には、その出力値を強制的にリセットするクリア端子が設けられているのが好適である。前記クリア端子は、好ましくは、前記ラッチ回路が保持する前記カウンタの出力データを前記CPUが取得する時に、活性化される。また、前記論理回路のクリア端子は、前記カウンタや前記検出記憶回路のクリア端子と共に、電源リセット時に、活性化されるのが好適である。   The control circuit is preferably provided with a clear terminal for forcibly resetting its output value. The clear terminal is preferably activated when the CPU acquires the output data of the counter held by the latch circuit. The clear terminal of the logic circuit is preferably activated at the time of power reset together with the clear terminal of the counter and the detection memory circuit.

前記ラッチ回路の出力データは、3状態を有するバッファ回路を経由してCPUに取得されるのが効果的である。なお、3状態とは、Hレベル状態、Lレベル状態、及び、開放状態(Hiインピーダンス状態)である。   The output data of the latch circuit is effectively acquired by the CPU via a buffer circuit having three states. The three states are an H level state, an L level state, and an open state (Hi impedance state).

上記した本発明によれば、第1記憶部、第3記憶部の内容を重複チェックするので、事
実上、遊技球の入賞状態を誤認することがない。
According to the above-described present invention, since the contents of the first storage unit and the third storage unit are checked for duplication, the winning state of the game ball is virtually not misidentified.

実施例に示すパチンコ機の斜視図である。It is a perspective view of the pachinko machine shown in an example. 図1のパチンコ機の遊技盤を詳細に図示した正面図である。It is the front view which illustrated in detail the game board of the pachinko machine of FIG. 図1のパチンコ機の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the pachinko machine of FIG. 主制御部のワンチップマイコンの要部を示す回路ブロック図である。It is a circuit block diagram which shows the principal part of the one-chip microcomputer of a main control part. 乱数生成回路を示す回路ブロック図である。It is a circuit block diagram which shows a random number generation circuit. 乱数生成回路の動作を示すタイムチャートである。It is a time chart which shows operation | movement of a random number generation circuit. 主制御部のシステムリセット処理を説明するフローチャートである。It is a flowchart explaining the system reset process of a main control part. 主制御部のタイマ割込み処理を説明するフローチャートである。It is a flowchart explaining the timer interruption process of a main control part. タイマ割込み処理の要部を詳細に説明するフローチャートである。It is a flowchart explaining the principal part of a timer interruption process in detail. 別の実施例を説明する回路図である。It is a circuit diagram explaining another Example.

以下、本発明の実施例について詳細に説明する。図1は、本実施例のパチンコ機GMを示す斜視図である。このパチンコ機GMは、島構造体に着脱可能に装着される矩形枠状の木製外枠1と、外枠1に固着されたヒンジ2を介して開閉可能に枢着される前枠3とで構成されている。この前枠3には、遊技盤5が、裏側からではなく表側から着脱自在に装着され、その前側には、ガラス扉6と前面板7とが夫々開閉自在に枢着されている。   Examples of the present invention will be described in detail below. FIG. 1 is a perspective view showing a pachinko machine GM of the present embodiment. This pachinko machine GM includes a rectangular frame-shaped wooden outer frame 1 that is detachably mounted on an island structure, and a front frame 3 that is pivotably mounted via a hinge 2 fixed to the outer frame 1. It is configured. A game board 5 is detachably attached to the front frame 3 from the front side rather than from the back side, and a glass door 6 and a front plate 7 are pivotally attached to the front side so as to be openable and closable.

ガラス扉6の外周には、LEDランプなどによる電飾ランプが、略C字状に配置されている。前面板7には発射用の遊技球を貯留する上皿8が装着され、前枠3の下部には、上皿8から溢れ出し又は抜き取った遊技球を貯留する下皿9と、発射ハンドル10とが設けられている。発射ハンドル10は発射モータと連動しており、発射ハンドル10の回動角度に応じて動作する打撃槌によって遊技球が発射される。   On the outer periphery of the glass door 6, an electric lamp such as an LED lamp is arranged in a substantially C shape. An upper plate 8 for storing game balls for launch is mounted on the front plate 7, and a lower plate 9 for storing game balls overflowing from or extracted from the upper plate 8 and a launch handle 10 are mounted at the bottom of the front frame 3. And are provided. The launch handle 10 is interlocked with the launch motor, and a game ball is launched by a striking rod that operates according to the rotation angle of the launch handle 10.

上皿8の外周面には、チャンスボタン11が設けられている。このチャンスボタン11は、遊技者の左手で操作できる位置に設けられており、遊技者は、発射ハンドル10から右手を離すことなくチャンスボタン11を操作できる。このチャンスボタン11は、通常時には機能していないが、ゲーム状態がボタンチャンス状態となると内蔵ランプが点灯されて操作可能となる。なお、ボタンチャンス状態は、必要に応じて設けられるゲーム状態である。   A chance button 11 is provided on the outer peripheral surface of the upper plate 8. The chance button 11 is provided at a position where it can be operated with the left hand of the player, and the player can operate the chance button 11 without releasing the right hand from the firing handle 10. The chance button 11 does not function normally, but when the game state becomes the button chance state, the built-in lamp is turned on and can be operated. The button chance state is a game state provided as necessary.

上皿8の右部には、カード式球貸し機に対する球貸し操作用の操作パネル12が設けられ、カード残額を3桁の数字で表示する度数表示部と、所定金額分の遊技球の球貸しを指示する球貸しスイッチと、ゲーム終了時にカードの返却を指令する返却スイッチとが設け
られている。
On the right side of the upper plate 8, an operation panel 12 for ball lending operation with respect to the card-type ball lending machine is provided, a frequency display unit for displaying the remaining amount of the card with a three-digit number, and a ball of game balls for a predetermined amount A ball lending switch for instructing lending and a return switch for instructing to return the card at the end of the game are provided.

図2に示すように、遊技盤5には、金属製の外レールと内レールとからなるガイドレール13が環状に設けられ、その内側の遊技領域5aの略中央には、液晶カラーディスプレイDISPが配置されている。また、遊技領域5aの適所には、図柄始動口15、大入賞口16、複数個の普通入賞口17(大入賞口16の左右に4つ)、通過口であるゲート18が配設されている。これらの入賞口15〜18は、それぞれ内部に検出スイッチを有しており、遊技球の通過を検出できるようになっている。   As shown in FIG. 2, the game board 5 is provided with a guide rail 13 formed of a metal outer rail and an inner rail in an annular shape, and a liquid crystal color display DISP is provided at the approximate center of the game area 5a inside. Has been placed. In addition, at a suitable place in the game area 5a, a symbol start opening 15, a big winning opening 16, a plurality of normal winning openings 17 (four on the right and left of the large winning opening 16), and a gate 18 serving as a passing opening are arranged. Yes. Each of these winning openings 15 to 18 has a detection switch inside, and can detect the passage of a game ball.

液晶ディスプレイDISPは、大当り状態に係わる特定図柄を変動表示すると共に背景画像や各種のキャラクタなどをアニメーション的に表示する装置である。この液晶ディスプレイDISPは、中央部に特別図柄表示部Da〜Dcと右上部に普通図柄表示部19を有している。そして、特別図柄表示部Da〜Dcでは、大当り状態の招来を期待させるリーチ演出が実行されたり、特別図柄表示部Da〜Dc及びその周りでは、当否結果を不確定に報知する予告演出などが実行される。   The liquid crystal display DISP is a device that variably displays a specific symbol related to a big hit state and displays a background image and various characters in an animated manner. This liquid crystal display DISP has special symbol display portions Da to Dc in the center portion and a normal symbol display portion 19 in the upper right portion. And, in the special symbol display parts Da to Dc, a reach effect is executed that expects a big hit state to be invited, or in the special symbol display parts Da to Dc and the surroundings, a notice effect that informs the result of the success / failure is executed. Is done.

普通図柄表示部19は普通図柄を表示するものであり、ゲート18を通過した遊技球が検出されると、普通図柄が所定時間だけ変動し、遊技球のゲート18の通過時点において抽出された抽選用乱数値により決定される停止図柄を表示して停止するようになっている。   The normal symbol display unit 19 displays a normal symbol. When a game ball that has passed through the gate 18 is detected, the normal symbol fluctuates for a predetermined time, and the lottery extracted at the time when the game ball passes through the gate 18 is extracted. The stop symbol determined by the random number for use is displayed and stopped.

図柄始動口15は、左右1対の開閉爪15aを備えた電動式チューリップで開閉される
よう例えば構成され、普通図柄表示部19の変動後の停止図柄が当り図柄を表示した場合には、開閉爪15aが所定時間だけ、若しくは、所定個数の遊技球を検出するまで開放されるようになっている。
For example, the symbol start port 15 is configured to be opened and closed by an electric tulip having a pair of left and right opening and closing claws 15a. When the stop symbol after fluctuation of the normal symbol display unit 19 displays a winning symbol, it is opened and closed. The claw 15a is opened only for a predetermined time or until a predetermined number of game balls are detected.

図柄始動口15に遊技球が入賞すると、特別図柄表示部Da〜Dcの表示図柄が所定時間だけ変動し、図柄始動口15への遊技球の入賞タイミングに応じた抽選結果に基づいて決定される停止図柄で停止する。なお、特別図柄表示部Da〜Dc及びその周りでは、一連の図柄演出の間に、予告演出が実行される場合がある。   When a game ball wins the symbol start port 15, the display symbols of the special symbol display portions Da to Dc change for a predetermined time and are determined based on the lottery result corresponding to the winning timing of the game ball to the symbol start port 15. Stop at the stop symbol. In addition, in special symbol display parts Da-Dc and its circumference, a notice effect may be performed between a series of symbol effects.

大入賞口16は、例えば前方に開放可能な開閉板16aで開閉制御されるが、特別図柄表示部Da〜Dcの図柄変動後の停止図柄が「777」などの大当り図柄のとき、「大当りゲーム」と称する特別遊技が開始され、開閉板16aが開放されるようになっている。   The big winning opening 16 is controlled to open and close by, for example, an opening / closing plate 16a that can be opened forward, but when the stop symbol after the symbol change of the special symbol display portions Da to Dc is a big hit symbol such as “777”, the “big hit game” Is started, and the opening / closing plate 16a is opened.

大入賞口16の開閉板16aが開放された後、所定時間が経過し、又は所定数(例えば10個)の遊技球が入賞すると開閉板16aが閉じる。このような動作は、最大で例えば15回まで特別遊技が継続され、遊技者に有利な状態に制御される。なお、特別図柄表示部Da〜Dcの変動後の停止図柄が特別図柄のうちの特定図柄であった場合には、特別遊技の終了後のゲームが高確率状態となるという特典が付与される。   After the opening / closing plate 16a of the big prize opening 16 is opened, the opening / closing plate 16a is closed when a predetermined time elapses or when a predetermined number (for example, 10) of game balls wins. In such an operation, the special game is continued up to 15 times, for example, and is controlled in a state advantageous to the player. In addition, when the stop symbol after the change of the special symbol display parts Da to Dc is a specific symbol of the special symbols, a privilege that the game after the end of the special game is in a high probability state is given.

図3は、上記した各動作を実現するパチンコ機GMの全体回路構成を示すブロック図である。図中の一点破線は、主に、直流電圧ラインを示している。   FIG. 3 is a block diagram showing an overall circuit configuration of the pachinko machine GM that realizes the above-described operations. A dashed line in the figure mainly indicates a DC voltage line.

図示の通り、このパチンコ機GMは、AC24Vを受けて各種の直流電圧やシステムリセット信号(電源リセット信号)SYSなどを出力する電源基板20と、遊技制御動作を中心統括的に担う主制御基板21と、主制御基板21から受けた制御コマンドCMDに基づいてランプ演出及び音声演出を実行する演出制御基板22と、演出制御基板22から受けた制御コマンドCMD’に基づいて液晶ディスプレイDISPを駆動する液晶制御基板23と、主制御基板21から受けた制御コマンドCMD”に基づいて払出モータMを制御
して遊技球を払い出す払出制御基板24と、遊技者の操作に応答して遊技球を発射させる発射制御基板25と、を中心に構成されている。
As shown in the figure, this pachinko machine GM is provided with a power supply board 20 that receives AC 24V and outputs various DC voltages, system reset signals (power reset signals) SYS, and the like, and a main control board 21 that plays a central role in game control operations. And an effect control board 22 that executes a lamp effect and a sound effect based on the control command CMD received from the main control board 21, and a liquid crystal that drives the liquid crystal display DISP based on the control command CMD ′ received from the effect control board 22. The control board 23, the payout control board 24 for controlling the payout motor M based on the control command CMD "received from the main control board 21 and paying out the game ball, and the game ball is fired in response to the player's operation. The launch control board 25 is mainly configured.

但し、この実施例では、主制御基板21が出力する制御コマンドCMDは、コマンド中継基板26と演出インターフェイス基板27を経由して、演出制御基板22に伝送される。また、演出制御基板22が出力する制御コマンドCMD’は、演出インターフェイス基板27を経由して、液晶制御基板23に伝送され、主制御基板21が出力する制御コマンドCMD”は、主基板中継基板28を経由して、払出制御基板24に伝送される。   However, in this embodiment, the control command CMD output from the main control board 21 is transmitted to the effect control board 22 via the command relay board 26 and the effect interface board 27. Further, the control command CMD ′ output from the effect control board 22 is transmitted to the liquid crystal control board 23 via the effect interface board 27, and the control command CMD ″ output from the main control board 21 is set to the main board relay board 28. Is transmitted to the payout control board 24 via.

これら主制御基板21、演出制御基板22、液晶制御基板23、及び払出制御基板24には、ワンチップマイコンを備えるコンピュータ回路がそれぞれ搭載されている。そこで、これらの制御基板21〜24に搭載された回路、及びその回路によって実現される動作を機能的に総称して、本明細書では、主制御部21、演出制御部22、液晶制御部23、及び払出制御部24と言うことがある。なお、演出制御部22、液晶制御部23、及び払出制御部24の全部又は一部がサブ制御部である。   The main control board 21, the effect control board 22, the liquid crystal control board 23, and the payout control board 24 are each equipped with a computer circuit including a one-chip microcomputer. Accordingly, the circuits mounted on the control boards 21 to 24 and the operations realized by the circuits are collectively referred to as a function. In this specification, the main control unit 21, the effect control unit 22, and the liquid crystal control unit 23 are used. , And the payout control unit 24. All or part of the effect control unit 22, the liquid crystal control unit 23, and the payout control unit 24 is a sub-control unit.

ところで、このパチンコ機GMは、図3の破線で囲む枠側部材GM1と、遊技盤5の背面に固定された盤側部材GM2とに大別されている。枠側部材GM1には、ガラス扉6や前面板7が枢着された前枠3と、その外側の木製外枠1とが含まれており、機種の変更に拘わらず、長期間にわたって遊技ホールに固定的に設置される。一方、盤側部材GM2は、機種変更に対応して交換され、新た盤側部材GM2が、元の盤側部材の代わりに枠側部材GM1に取り付けられる。なお、枠側部材1を除く全てが、盤側部材GM2である。   By the way, the pachinko machine GM is roughly divided into a frame side member GM1 surrounded by a broken line in FIG. 3 and a board side member GM2 fixed to the back of the game board 5. The frame side member GM1 includes a front frame 3 on which a glass door 6 and a front plate 7 are pivotally attached, and a wooden outer frame 1 on the outside thereof. Is fixedly installed. On the other hand, the board side member GM2 is replaced in response to the model change, and the new board side member GM2 is attached to the frame side member GM1 instead of the original board side member. All except the frame side member 1 is the panel side member GM2.

図3の破線枠に示す通り、枠側部材GM1には、電源基板20と、払出制御基板24と、発射制御基板25と、枠中継基板32とが含まれており、これらの回路基板が、前枠3の適所に各々固定されている。一方、遊技盤5の背面には、主制御基板21、演出制御基板22、液晶制御基板23が、液晶ディスプレイDISPやその他の回路基板と共に固定されている。そして、枠側部材GM1と盤側部材GM2とは、一箇所に集中配置された接続コネクタC1〜C4によって電気的に接続されている。   As shown in the broken line frame in FIG. 3, the frame-side member GM1 includes a power supply board 20, a payout control board 24, a launch control board 25, and a frame relay board 32, and these circuit boards are Each is fixed in place on the front frame 3. On the other hand, on the back of the game board 5, a main control board 21, an effect control board 22, and a liquid crystal control board 23 are fixed together with a liquid crystal display DISP and other circuit boards. And the frame side member GM1 and the board | substrate side member GM2 are electrically connected by the connection connectors C1-C4 concentratedly arranged in one place.

電源基板20は、接続コネクタC2を通して、主基板中継基板28に接続され、接続コネクタC3を通して、電源中継基板30に接続されている。そして、主基板中継基板28は、電源基板20から受けたシステムリセット信号SYS、RAMクリア信号DEL、電圧降下信号、バックアップ電源BAK、DC12V、DC32Vを、そのまま主制御部21に出力している。同様に、電源中継基板30も、電源基板20から受けたシステムリセット信号SYSや、交流及び直流の電源電圧を、そのまま演出インターフェイス基板27に出力している。なお、演出インターフェイス基板27は、受けたシステムリセット信号SYSを、そのまま演出制御部22と液晶制御部23に出力している。   The power supply board 20 is connected to the main board relay board 28 through the connection connector C2, and is connected to the power supply relay board 30 through the connection connector C3. The main board relay board 28 outputs the system reset signal SYS, the RAM clear signal DEL, the voltage drop signal, the backup power supplies BAK, DC12V, and DC32V received from the power board 20 to the main controller 21 as they are. Similarly, the power supply relay board 30 also outputs the system reset signal SYS received from the power supply board 20 and the AC and DC power supply voltages to the effect interface board 27 as they are. The production interface board 27 outputs the received system reset signal SYS to the production control unit 22 and the liquid crystal control unit 23 as they are.

一方、払出制御基板24は、中継基板を介することなく、電源基板20に直結されており、主制御部21が受けると同様の、システムリセット信号SYS、RAMクリア信号DEL、電圧降下信号、バックアップ電源BAKを、その他の電源電圧と共に直接的に受けている。   On the other hand, the payout control board 24 is directly connected to the power supply board 20 without going through the relay board, and the system reset signal SYS, the RAM clear signal DEL, the voltage drop signal, the backup power supply, which are received by the main control unit 21. BAK is received directly along with other power supply voltages.

ここで、電源基板20が出力するシステムリセット信号SYSは、電源基板20に交流電源24Vが投入されたことを示す電源リセット信号であり、この電源リセット信号によって各制御部21〜24のワンチップマイコンその他のIC素子が電源リセットされるようになっている。   Here, the system reset signal SYS output from the power supply board 20 is a power supply reset signal indicating that the AC power supply 24V is turned on to the power supply board 20, and the one-chip microcomputers of the respective control units 21 to 24 by this power supply reset signal. The other IC elements are reset in power supply.

主制御部21及び払出制御部24が、電源基板20から受けるRAMクリア信号DEL
は、各制御部21,24のワンチップマイコンの内蔵RAMの全領域を初期設定するか否かを決定する信号であって、係員が操作する初期化スイッチSWのON/OFF状態に対応した値を有している。
RAM clear signal DEL received from power supply board 20 by main control unit 21 and payout control unit 24
Is a signal that determines whether or not to initialize all areas of the built-in RAM of the one-chip microcomputer of each control unit 21 and 24, and is a value corresponding to the ON / OFF state of the initialization switch SW operated by the staff have.

主制御部21及び払出制御部24が、電源基板20から受ける電圧降下信号は、交流電源24Vが降下し始めたことを示す信号であり、この電圧降下信号を受けることによって、各制御部21、24では、停電や営業終了に先立って、必要な終了処理を開始するようになっている。また、バックアップ電源BAKは、営業終了や停電により交流電源24Vが遮断された後も、主制御部21と払出制御部24のワンチップマイコンの内蔵RAMのデータを保持するDC5Vの直流電源である。したがって、主制御部21と払出制御部25は、電源遮断前の遊技動作を電源投入後に再開できることになる(電源バックアップ機能)。このパチンコ機では少なくとも数日は、各ワンチップマイコンのRAMの記憶内容が保持されるよう設計されている。   The voltage drop signal received from the power supply board 20 by the main control unit 21 and the payout control unit 24 is a signal indicating that the AC power supply 24V has started to drop. By receiving this voltage drop signal, each control unit 21, In 24, a necessary termination process is started prior to a power failure or business termination. The backup power supply BAK is a DC5V DC power source that retains data in the RAM of the one-chip microcomputer of the main control unit 21 and the payout control unit 24 even after the AC power supply 24V is shut off due to business termination or power failure. Therefore, the main control unit 21 and the payout control unit 25 can resume the game operation before power-off after power-on (power backup function). This pachinko machine is designed to retain the stored contents of the RAM of each one-chip microcomputer for at least several days.

一方、演出制御部22と液晶制御部23には、上記した電源バックアップ機能が設けられていない。しかし、先に説明した通り、演出制御部22と液晶制御部23には、電源中継基板30と演出インターフェイス基板27を経由して、システムリセット信号SYSが共通して供給されており、他の制御部21,24と、ほぼ同期したタイミングで電源リセット動作が実現される。   On the other hand, the effect control unit 22 and the liquid crystal control unit 23 are not provided with the power supply backup function described above. However, as described above, the system reset signal SYS is commonly supplied to the effect control unit 22 and the liquid crystal control unit 23 via the power relay board 30 and the effect interface board 27, and other controls are performed. The power supply reset operation is realized at a timing substantially synchronized with the units 21 and 24.

図示の通り、主制御部21は、主基板中継基板28を経由して、払出制御部25に制御コマンドCMD”を送信する一方、払出制御部25からは、遊技球の払出動作を示す賞球計数信号や、払出動作の異常に係わるステイタス信号CONを受信している。ステイタス信号CONには、例えば、補給切れ信号、払出不足エラー信号、下皿満杯信号が含まれる。   As illustrated, the main control unit 21 transmits a control command CMD "to the payout control unit 25 via the main board relay board 28, while the payout control unit 25 receives a prize ball indicating a payout operation of the game ball. A count signal and a status signal CON relating to an abnormality in the payout operation are received, and the status signal CON includes, for example, a replenishment out signal, a payout shortage error signal, and a lower plate full signal.

また、主制御部21は、遊技盤中継基板29を経由して、遊技盤5の各遊技部品に接続されている。そして、遊技盤上の各入賞口16〜18に内蔵された検出スイッチのスイッチ信号を受ける一方、電動チューリップなどのソレノイド類を駆動している。なお、スイッチ信号には、図柄始動口15から主制御部21に伝送される入賞スイッチ信号SGが含まれる。   The main control unit 21 is connected to each game component of the game board 5 via the game board relay board 29. And while receiving the switch signal of the detection switch built in each winning opening 16-18 on a game board, solenoids, such as an electric tulip, are driven. The switch signal includes a winning switch signal SG transmitted from the symbol start port 15 to the main control unit 21.

図4は、主制御部21のワンチップマイコン21Aの内部構成の一部を図示したものである。ここでは、遊技盤中継基板29を経由して、図柄始動口15の検出スイッチSWから入賞スイッチ信号SGを受ける部分を中心に示している。   FIG. 4 illustrates a part of the internal configuration of the one-chip microcomputer 21 </ b> A of the main control unit 21. Here, the portion that receives the winning switch signal SG from the detection switch SW of the symbol start port 15 via the game board relay board 29 is mainly shown.

図示の通り、ワンチップマイコン21Aは、Z80CPU(Zilog社)相当のCPUと、Z80CTC(counter timer circuit)相当のカウンタタイマ回路CTCと、RO
M及びRAMのメモリ回路と、ウォッチドッグタイマWDTと、乱数生成回路GNRと、入力ポートINPとを中心的に内蔵している。
As illustrated, the one-chip microcomputer 21A includes a CPU equivalent to Z80CPU (Zilog), a counter timer circuit CTC equivalent to Z80CTC (counter timer circuit), RO
An M and RAM memory circuit, a watchdog timer WDT, a random number generation circuit GNR, and an input port INP are mainly incorporated.

図柄始動口15からの入賞スイッチ信号SGは、遊技盤中継基板29に配置されたバッファ回路BUFを経由して、ワンチップマイコン21Aの乱数生成回路GNRと、入力ポートINPに重複して供給されている。なお、ここでは、入賞スイッチ信号SGが、ワンチップマイコン21Aの外部配線を通して、入力ポートINPに供給されているが、防犯上の観点からは、ワンチップマイコン21Aの内部配線を通して、入力ポートINPに供給されるのが好ましい。   The winning switch signal SG from the symbol start port 15 is supplied to the random number generation circuit GNR of the one-chip microcomputer 21A and the input port INP via the buffer circuit BUF arranged on the game board relay board 29. Yes. Here, the winning switch signal SG is supplied to the input port INP through the external wiring of the one-chip microcomputer 21A. However, from the viewpoint of crime prevention, the winning switch signal SG is supplied to the input port INP through the internal wiring of the one-chip microcomputer 21A. Preferably it is supplied.

何れにしても、入力ポートINPには、図柄始動口15に限らず、大入賞口16やゲート18の検出スイッチからのスイッチ信号も、合わせて供給されている。なお、説明の都
合上、この実施例では、入力ポートINPには、エラー検出スイッチを含んだ合計8ビットのスイッチ信号が供給されていることにする。
In any case, not only the symbol start port 15 but also a switch signal from the prize winning port 16 and the detection switch of the gate 18 is supplied to the input port INP. For convenience of explanation, in this embodiment, it is assumed that a total of 8-bit switch signals including an error detection switch are supplied to the input port INP.

図示の通り、バッファ回路BUFは、オープンコレクタ型の出力部を有し、入力側が12Vにプルアップされ、出力側が5Vにプルアップされている。そして、遊技球が図柄始動口15を通過して入賞状態となると、バッファ回路BUFは、正論理のON信号として、入賞スイッチ信号SGを出力する。つまり、本実施例では、バッファ回路BUFの出力トランジスタTrは、通常はON状態であって、遊技球の入賞時にOFF状態となるよう構成されている。   As shown in the figure, the buffer circuit BUF has an open collector type output section, and the input side is pulled up to 12V and the output side is pulled up to 5V. When the game ball passes through the symbol start port 15 and enters a winning state, the buffer circuit BUF outputs a winning switch signal SG as a positive logic ON signal. That is, in this embodiment, the output transistor Tr of the buffer circuit BUF is normally in an ON state and is configured to be in an OFF state when a game ball is won.

そのため、例えば、違法遊技者が、コネクタCNを外して、入賞スイッチ信号SGの信号ラインに電源電圧5Vを供給してもON状態の入賞スイッチ信号SGを生成することはできない。逆に、バッファ回路BUFの出力トランジスタが、通常はOFF状態であって、遊技球の入賞時にON状態となる場合には、コネクタCNを外して、入賞スイッチ信号SGの信号ラインをグランドに接続するだけで、ON状態の入賞スイッチ信号SGを生成することができセキュリティ上問題が生じるおそれがある。   Therefore, for example, even if an illegal player removes the connector CN and supplies the power supply voltage 5V to the signal line of the winning switch signal SG, the winning switch signal SG in the ON state cannot be generated. Conversely, when the output transistor of the buffer circuit BUF is normally in an OFF state and is turned ON when a game ball is won, the connector CN is disconnected and the signal line of the winning switch signal SG is connected to the ground. As a result, the winning switch signal SG in the ON state can be generated, which may cause a security problem.

乱数生成回路GNRは、入賞スイッチ信号SGがON状態になったことを検出して検出内容を保持するラッチレジスタと、計数クロックΦを受けて高速度で更新されるカウンタと、入賞スイッチ信号がON状態となった瞬間のカウンタ値を保持する乱数値レジスタとを有している。   The random number generation circuit GNR detects that the winning switch signal SG is in an ON state and holds a detection content, a counter that is updated at high speed in response to the counting clock Φ, and the winning switch signal is ON. And a random value register for holding the counter value at the moment when the state is reached.

図5は、この乱数生成回路GNRを具体的に示す回路図である。図示の通り、乱数生成回路GNRは、周波数fのクロックパルスをクロック端子CKに受ける第1フリップフロップ41と、第1フリップフロップのQバー出力をクロック端子CKに受ける第2フリップフロップ42と、第1フリップフロップのQ出力を受けて計数動作を実行する2つのカウンタ43,44と、第1と第2のカウンタ43,44の出力を各々受ける第1と第2のラッチ回路45,46と、2つのラッチ回路45,46とCPUデータバスとの間に配置される第1と第2のバッファ回路47,48と、入賞スイッチ信号SGのON状態を入賞検出信号DETとして記憶する入賞記憶回路HITと、を中心に構成されている。クロックパルスは、ワンチップマイコン21Aの外部から供給されるか、或いは、ワンチップマイコン21Aに内蔵されたカウンタタイマ回路CTCから供給される。   FIG. 5 is a circuit diagram specifically showing the random number generation circuit GNR. As illustrated, the random number generation circuit GNR includes a first flip-flop 41 that receives a clock pulse having a frequency f at a clock terminal CK, a second flip-flop 42 that receives a Q-bar output of the first flip-flop at a clock terminal CK, Two counters 43 and 44 that receive a Q output of one flip-flop and execute a counting operation; first and second latch circuits 45 and 46 that receive the outputs of the first and second counters 43 and 44, respectively; First and second buffer circuits 47 and 48 disposed between the two latch circuits 45 and 46 and the CPU data bus, and a winning storage circuit HIT for storing the ON state of the winning switch signal SG as a winning detection signal DET And it is composed around. The clock pulse is supplied from the outside of the one-chip microcomputer 21A or is supplied from the counter timer circuit CTC built in the one-chip microcomputer 21A.

入賞記憶回路HITは、第3フリップフロップ60と、第1と第2のANDゲート61,62と、NOTゲート63と、第3バッファ回路64とを中心に構成されている。   The winning memory circuit HIT is mainly composed of a third flip-flop 60, first and second AND gates 61 and 62, a NOT gate 63, and a third buffer circuit 64.

本実施例では、入賞記憶回路HITの第3フリップフロップ60と第3バッファ回路64とで、入賞スイッチ信号SGのON状態(入賞検出信号DET)を記憶するラッチレジスタを実現している。また、第1と第2のラッチ回路45,46及び第1と第2のバッファ回路47,47が、全体として乱数値レジスタを構成している。   In this embodiment, the third flip-flop 60 and the third buffer circuit 64 of the winning memory circuit HIT realize a latch register that stores the ON state (winning detection signal DET) of the winning switch signal SG. The first and second latch circuits 45 and 46 and the first and second buffer circuits 47 and 47 constitute a random value register as a whole.

第1〜第3のフリップフロップ41,42,60は、全てD型フリップフロップで構成されており、クロック端子CKに供給される信号が立上ると、そのときのD入力端子のデータが記憶されてQ出力端子に出力される。また、クリア端子CLRに、Lレベルの信号が供給されると、Q出力が強制的にLレベルとなる一方、Qバー出力がHレベルとなる。   The first to third flip-flops 41, 42, and 60 are all formed of D-type flip-flops. When a signal supplied to the clock terminal CK rises, data at the D input terminal at that time is stored. And output to the Q output terminal. When an L level signal is supplied to the clear terminal CLR, the Q output is forcibly set to the L level, while the Q bar output is set to the H level.

第1と第2のフリップフロップ41,42のクリア端子CLRには、電源基板20から出力される電源リセット信号SYSが直接供給されているので、電源投入時に、Q出力端子は自動的にLレベルとなる。   Since the power reset signal SYS output from the power supply board 20 is directly supplied to the clear terminals CLR of the first and second flip-flops 41 and 42, the Q output terminal is automatically set to the L level when the power is turned on. It becomes.

第1フリップフロップ41は、そのQバー出力が、自らのD入力端子に帰還されている。そのため、第1フリップフロップ41は、周波数fのクロックパルスに対する二分周回路として機能して、そのQ出力端子から、デューティ比50%で周波数f/2のクロックパルスが出力される。本実施例において、このクロックパルスは、第1カウンタ43に供給される計数クロックΦとなる。なお、第1フリップフロップ41のQバー出力端子からは、論理反転された計数クロックΦバーが出力される。   The first flip-flop 41 has its Q-bar output fed back to its D input terminal. Therefore, the first flip-flop 41 functions as a divide-by-2 circuit for the clock pulse with the frequency f, and the clock pulse with the frequency f / 2 is output from the Q output terminal with a duty ratio of 50%. In this embodiment, this clock pulse becomes the count clock Φ supplied to the first counter 43. It should be noted that the logically inverted count clock Φbar is output from the Q bar output terminal of the first flip-flop 41.

第2フリップフロップ42は、D入力端子に入賞スイッチ信号SGを受けている。また、クロック端子CKには、論理反転された計数クロックΦバーを受けている。そのため、計数クロックΦバーが立上ったタイミングで、入賞スイッチ信号SGが記憶されて、Q出力端子に出力される。この出力信号(ラッチ信号)LTは、入賞記憶回路HITに供給される。   The second flip-flop 42 receives the winning switch signal SG at the D input terminal. The clock terminal CK receives a logically inverted count clock Φbar. Therefore, the winning switch signal SG is stored and output to the Q output terminal at the timing when the counting clock Φ bar rises. This output signal (latch signal) LT is supplied to the winning memory circuit HIT.

2つのカウンタ43,44は、Q0〜Q7の8ビット出力端子を有するバイナリカウンタである。そして、第1カウンタ43は、第1フリップフロップ41が出力する計数クロックΦをクロック端子CKに受け、第2カウンタ44は、第1カウンタのQ7出力を、クロック端子CKに受けてカウント動作を実行している。したがって、2つのカウンタ43,44からは、計数クロックΦの立上りエッジに同期して更新される0000H〜FFFFHの何れかの数値が出力される。ここで、Hは16進数を意味する。   The two counters 43 and 44 are binary counters having 8-bit output terminals Q0 to Q7. The first counter 43 receives the count clock Φ output from the first flip-flop 41 at the clock terminal CK, and the second counter 44 receives the Q7 output of the first counter at the clock terminal CK and executes the count operation. is doing. Therefore, the two counters 43 and 44 output any numerical value of 0000H to FFFFH updated in synchronization with the rising edge of the count clock Φ. Here, H means a hexadecimal number.

また、カウンタ43,44のクリア端子CLRには、電源基板20から出力される電源リセット信号SYSが直接供給されているので、電源投入時には、カウンタ43,44の出力が自動的に0000Hにリセットされる。   Since the power reset signal SYS output from the power supply board 20 is directly supplied to the clear terminals CLR of the counters 43 and 44, the outputs of the counters 43 and 44 are automatically reset to 0000H when the power is turned on. The

第1と第2のラッチ回路45,46は、例えば、74825などと同等に構成され、8個のD型フリップフロップを内蔵して構成されている。そして、ラッチ回路45,46のクロック端子CKに供給される信号が立上ると、その時にカウンタ43,44から供給されている各8ビットデータを、乱数値RNDとして記憶して出力する。図示の通り、クロック端子CKには、第1ANDゲート61の出力が供給されている。   The first and second latch circuits 45 and 46 are configured to be equivalent to, for example, 74825, and include eight D-type flip-flops. When a signal supplied to the clock terminal CK of the latch circuits 45 and 46 rises, each 8-bit data supplied from the counters 43 and 44 at that time is stored and output as a random value RND. As illustrated, the output of the first AND gate 61 is supplied to the clock terminal CK.

第1と第2のバッファ回路47,48は、74244などと同等の汎用のバスバッファであり、CPUからLレベルのチップセレクト信号CS1,CS2をOE(output enable)端子に受けると、ラッチ回路45,46から受けている各8ビットデータ(乱数値RN
D)を出力する。図示の通り、チップセレクト信号CS2は、バッファ回路48のOE端子と共に、第2ANDゲート62の入力端子にも供給されている。なお、バッファ回路47,48は、3状態バッファであり、OE端子がHレベルであると出力端子はHiZ状態となる。
The first and second buffer circuits 47 and 48 are general-purpose bus buffers equivalent to 74244 or the like. When the L level chip select signals CS1 and CS2 are received from the OE (output enable) terminal from the CPU, the latch circuit 45 is provided. , 46 received from each 8-bit data (random value RN
D) is output. As shown, the chip select signal CS2 is supplied to the input terminal of the second AND gate 62 together with the OE terminal of the buffer circuit 48. The buffer circuits 47 and 48 are tristate buffers, and when the OE terminal is at the H level, the output terminal is in the HiZ state.

入賞記憶回路HITを構成する第1のANDゲート61の入力端子には、第2フリップフロップ42のQ出力と、第3フリップフロップ60のQバー出力が供給されている。第2フリップフロップ42のQ出力は、ラッチ信号LTであり、第3フリップフロップ60のQバー出力は、制御信号CTLである。なお、ラッチ信号LTと制御信号CTLは、Hレベルにプルアップされている。   The Q output of the second flip-flop 42 and the Q-bar output of the third flip-flop 60 are supplied to the input terminal of the first AND gate 61 constituting the winning memory circuit HIT. The Q output of the second flip-flop 42 is a latch signal LT, and the Q-bar output of the third flip-flop 60 is a control signal CTL. Note that the latch signal LT and the control signal CTL are pulled up to the H level.

第1ANDゲート61の出力は、第1と第2のラッチ回路45,46のクロック端子CKに供給されると共に、NOTゲート63を経由して、第3フリップフロップ60のクロック端子CKに供給されている。ラッチ回路45,46及び第3フリップフロップ60は、自らのクロック端子CKに受ける信号が立上ると、各々の入力端子に供給されているデータを内部に記憶するラッチ動作をする。そのため、第1ANDゲート61の出力信号の立上りタイミングで、ラッチ回路45,46がラッチ動作を実行する一方、第1ANDゲ
ート61の出力信号の立下がりタイミングで、第3フリップフロップ60がラッチ動作を実行する。但し、第3フリップフロップ60のクロック端子CKにはNOTゲート63を経由した反転ラッチ信号LTバーが供給されているので、ラッチ回路45,46のラッチ動作にやや遅れて、第3フリップフロップ60がラッチ動作する。
The output of the first AND gate 61 is supplied to the clock terminal CK of the first and second latch circuits 45 and 46, and is also supplied to the clock terminal CK of the third flip-flop 60 via the NOT gate 63. Yes. When a signal received at its clock terminal CK rises, the latch circuits 45 and 46 and the third flip-flop 60 perform a latch operation for storing data supplied to each input terminal therein. Therefore, the latch circuits 45 and 46 execute the latch operation at the rising timing of the output signal of the first AND gate 61, while the third flip-flop 60 executes the latch operation at the falling timing of the output signal of the first AND gate 61. To do. However, since the inverted latch signal LT bar is supplied to the clock terminal CK of the third flip-flop 60 via the NOT gate 63, the third flip-flop 60 is slightly delayed from the latch operation of the latch circuits 45 and 46. Latch operation.

第3フリップフロップ60のD入力端子には、Hレベルの電圧Vccが固定的に供給されている。また、第3フリップフロップ60のQ出力は、バッファ回路64に供給されている。なお、第3フリップフロップ60のQ出力は、入賞検出信号DETを意味する。   An H level voltage Vcc is fixedly supplied to the D input terminal of the third flip-flop 60. The Q output of the third flip-flop 60 is supplied to the buffer circuit 64. The Q output of the third flip-flop 60 means the winning detection signal DET.

バッファ回路64は、74244などのバスバッファと同等の回路構成であり、CPUからLレベルのチップセレクト信号CS3を、OE端子に受けると、第3フリップフロップ60から受けている1ビットデータ(入賞検出信号DET)を出力する。なお、バッファ回路64も3状態バッファである。   The buffer circuit 64 has a circuit configuration equivalent to that of a bus buffer such as 74244. When the L-level chip select signal CS3 is received from the CPU at the OE terminal, the 1-bit data (winning detection) received from the third flip-flop 60 is received. Signal DET). Note that the buffer circuit 64 is also a three-state buffer.

第2ANDゲート62の入力端子には、チップセレクト信号CS2と電源リセット信号SYSとが供給されている。そして、第2ANDゲート62の出力は、第3フリップフロップ60のクリア端子CLRに供給されている。そのため、チップセレクト信号CS2と電源リセット信号SYSの何れか、又は双方がLレベルとなると、第3フリップフロップ60のQ出力はLレベルとなり、Qバー出力はHレベルとなる。   A chip select signal CS2 and a power reset signal SYS are supplied to the input terminal of the second AND gate 62. The output of the second AND gate 62 is supplied to the clear terminal CLR of the third flip-flop 60. Therefore, when either or both of the chip select signal CS2 and the power reset signal SYS become L level, the Q output of the third flip-flop 60 becomes L level and the Q bar output becomes H level.

もっとも、電源リセット信号SYSは、遊技機が正常に動作を開始した後は定常的にHレベルであり、チップセレクト信号CS2は、バッファ回路48のデータがCPUに取得されるデータリードタイミング以外はHレベルである。したがって、第3フリップフロップ60のQバー出力(制御信号CTL)は、電源投入時に、第3フリップフロップ60がクリアされてHレベルとなった後もHレベルを維持する。   However, the power reset signal SYS is constantly at the H level after the game machine has started to operate normally, and the chip select signal CS2 is H except for the data read timing at which the data in the buffer circuit 48 is acquired by the CPU. Is a level. Accordingly, the Q-bar output (control signal CTL) of the third flip-flop 60 is maintained at the H level even after the third flip-flop 60 is cleared to the H level when the power is turned on.

このような初期状態で、入賞スイッチ信号SGがON状態となると、ラッチ信号LTが立下るタイミングで、第3フリップフロップ60のQバー出力がLレベルに変わり、バッファ回路48のデータリードタイミングまで、その状態を維持する。一方、バッファ回路48のデータリードタイミングで、第3フリップフロップ60のQバー出力(制御信号CTL)がHレベルに戻った後は、Hレベルを維持する。   In such an initial state, when the winning switch signal SG is turned on, the Q bar output of the third flip-flop 60 changes to L level at the timing when the latch signal LT falls, and until the data read timing of the buffer circuit 48, Maintain that state. On the other hand, after the Q bar output (control signal CTL) of the third flip-flop 60 returns to the H level at the data read timing of the buffer circuit 48, the H level is maintained.

図6は、上記した乱数生成回路GNRの各部の波形を示すタイムチャートである。図6(a)(b)に示す通り、計数クロックΦの立上りに同期して、カウンタ43,44の計数値が連続的に更新される。なお、第1カウンタ43が、乱数値RNDの下位8ビットを生成し、第2カウンタ44が、乱数値RNDの上位8ビットを生成する。   FIG. 6 is a time chart showing waveforms of respective parts of the random number generation circuit GNR. As shown in FIGS. 6A and 6B, the count values of the counters 43 and 44 are continuously updated in synchronization with the rise of the count clock Φ. The first counter 43 generates the lower 8 bits of the random value RND, and the second counter 44 generates the upper 8 bits of the random value RND.

このようなカウンタ値の更新動作中、遊技球が図柄始動口15を通過すると、入賞スイッチ信号SGが、Hレベルに立上った後にLレベルに立下がる(ON状態)。なお、入賞スイッチ信号SGは、バッファ回路BUF(図4参照)を経由して主制御部21に供給される。   When the game ball passes through the symbol start port 15 during the counter value updating operation, the winning switch signal SG falls to the L level after rising to the H level (ON state). The winning switch signal SG is supplied to the main controller 21 via the buffer circuit BUF (see FIG. 4).

入賞スイッチ信号SGは、第2フリップフロップ42のD入力端子に供給されているので、計数クロックΦバーが立上ったタイミングで、入賞スイッチ信号SGが第2フリップフロップ42に記憶されて、そのQ出力端子に出力される。そして、この出力信号は、ラッチ信号LTとして、入賞記憶回路HITに供給される(図6(c)〜(e)参照)。   Since the winning switch signal SG is supplied to the D input terminal of the second flip-flop 42, the winning switch signal SG is stored in the second flip-flop 42 at the timing when the counting clock Φ bar rises, It is output to the Q output terminal. This output signal is supplied as a latch signal LT to the winning memory circuit HIT (see FIGS. 6C to 6E).

本実施例では、入賞スイッチ信号SGをそのままラッチ信号として使用するのではなく、入賞スイッチ信号SGを、計数クロックΦバーで整形してラッチ信号LTとしている。そのため、入賞スイッチ信号SGの立上り時や、立下り時にリンギングが生じても、その
ような振動成分は、計数クロックΦバーによって自動的に吸収される。
In this embodiment, the winning switch signal SG is not used as a latch signal as it is, but the winning switch signal SG is shaped by the count clock Φ bar to be the latch signal LT. Therefore, even if ringing occurs at the rise or fall of the winning switch signal SG, such a vibration component is automatically absorbed by the counting clock Φ bar.

第2フリップフロップ42から出力されたラッチ信号LTは、第1ANDゲート61の入力端子を経由して、2つのラッチ回路45,46のクロック端子CKに供給されている。したがって、第1ANDゲート61に供給されている制御信号CTLがHレベルであれば、ラッチ信号の立上りタイミングで、カウンタ43,44の出力データが、乱数値RNDとしてラッチ回路45,46に取得される。図6(h)に示すように、通常のタイミングでは、制御信号CTLがHレベルであるので、入賞スイッチ信号SGに対応して、乱数値RNDがラッチ回路45,46に取得されることになる。   The latch signal LT output from the second flip-flop 42 is supplied to the clock terminals CK of the two latch circuits 45 and 46 via the input terminal of the first AND gate 61. Therefore, if the control signal CTL supplied to the first AND gate 61 is at the H level, the output data of the counters 43 and 44 is acquired as the random value RND by the latch circuits 45 and 46 at the rising timing of the latch signal. . As shown in FIG. 6 (h), since the control signal CTL is at the H level at the normal timing, the random number value RND is acquired by the latch circuits 45 and 46 corresponding to the winning switch signal SG. .

但し、本実施例では、入賞スイッチ信号SGが生じる任意のタイミングで、ラッチ回路45,46を動作させるのではなく、計数クロックΦバーの立上りタイミングでラッチ回路45.46を動作させている。計数クロックΦバーは、デューティ比が50%であり、その立上りタイミングは、計数クロックΦの立下りタイミングに一致する。そして、カウンタ43,44は、計数クロックΦの立上りタイミングで更新されるので、結局、本実施例の構成によれば、カウンタ43,44の更新タイミングから正確に1/2周期遅れて、カウンタ43,44の安定した出力データがラッチされるという利点がある。   However, in this embodiment, the latch circuits 45 and 46 are operated at the rising timing of the count clock Φ bar, rather than operating the latch circuits 45 and 46 at an arbitrary timing when the winning switch signal SG is generated. The count clock Φ bar has a duty ratio of 50%, and its rising timing coincides with the falling timing of the counting clock Φ. Since the counters 43 and 44 are updated at the rising timing of the counting clock Φ, according to the configuration of the present embodiment, the counter 43 is accurately delayed by 1/2 cycle from the update timing of the counters 43 and 44. , 44 stable output data is latched.

これに対して、ランダムなタイミングでラッチ回路を動作させたり、或いは、カウンタの更新タイミングとラッチ動作のタイミングとが十分に離れていないと、更新途中の不合理なカウンタ値を取得してしまう可能性がある。   On the other hand, if the latch circuit is operated at random timing, or if the counter update timing and the latch operation timing are not sufficiently separated, an unreasonable counter value during the update may be acquired. There is sex.

ところで、ラッチ信号LTは、NOTゲート63において論理反転されて、第3フリップフロップ60のクロック端子CKに供給されている(図6(f)参照)。そのため、ラッチ信号LTの立下りタイミングで、第3フリップフロップ60のQ出力がHレベルとなる。このHレベルは、入賞スイッチ信号SGがON状態となったことを示す入賞検出信号DETに他ならず、バッファ回路64を経由してCPUに把握可能となる。   By the way, the latch signal LT is logically inverted at the NOT gate 63 and supplied to the clock terminal CK of the third flip-flop 60 (see FIG. 6F). Therefore, the Q output of the third flip-flop 60 becomes H level at the falling timing of the latch signal LT. This H level can be recognized by the CPU via the buffer circuit 64 as well as the winning detection signal DET indicating that the winning switch signal SG is turned on.

入賞検出信号DETがHレベルになると、第3フリップフロップ60のQバー出力がLレベルとなる。第3フリップフロップ60のQバー出力は、制御信号CTLとして、第1ANDゲート61に供給されているが、制御信号CTLがLレベルとなったことにより、その後、ラッチ信号LTが、改めてHレベルに立上っても、ラッチ回路45,46がラッチ動作をすることはない。したがって、例えば、入賞スイッチ信号SGの立下り時にリンギングが生じても、本回路では、その影響を受けることがない。   When the winning detection signal DET becomes H level, the Q bar output of the third flip-flop 60 becomes L level. The Q-bar output of the third flip-flop 60 is supplied to the first AND gate 61 as the control signal CTL. However, since the control signal CTL becomes L level, the latch signal LT is changed to H level again after that. Even if it rises, the latch circuits 45 and 46 do not latch. Therefore, for example, even if ringing occurs at the fall of the winning switch signal SG, the circuit is not affected.

後述するように、CPUは、2mS毎にバッファ64のデータを取得して、入賞検出信号がHレベルか否かを判定している。そして、入賞検出信号がHレベルになれば、CPUは、バッファ47とバッファ48を、この順番でアクセスして、ラッチ回路45,46にラッチされている乱数値(16ビット長)を8ビット毎に取得する。すなわち、チップセレクト信号CS1,CS2は、このデータリードタイミングだけ、この順番にLレベルとなる。   As will be described later, the CPU acquires data in the buffer 64 every 2 mS and determines whether or not the winning detection signal is at the H level. When the winning detection signal becomes H level, the CPU accesses the buffer 47 and the buffer 48 in this order, and the random number values (16-bit length) latched in the latch circuits 45 and 46 every 8 bits. To get to. That is, the chip select signals CS1 and CS2 are set to the L level in this order only by this data read timing.

チップセレクト信号CS2がLレベルとなると、第2ANDゲート62の出力がLレベルに変化するので、第3フリップフロップ60のQバー出力が、LレベルからHレベルに変化して、制御信号CTLがHレベルに戻る。したがって、それ以降は、入賞スイッチ信号SGに対応してラッチ信号LTが生成されて、新たなカウンタ値(乱数値)がラッチ回路45,46にラッチされる。   When the chip select signal CS2 becomes L level, the output of the second AND gate 62 changes to L level, so that the Q bar output of the third flip-flop 60 changes from L level to H level, and the control signal CTL becomes H level. Return to level. Therefore, thereafter, the latch signal LT is generated corresponding to the winning switch signal SG, and a new counter value (random number value) is latched in the latch circuits 45 and 46.

以上の通り、実施例の乱数生成回路GNRでは、一旦、カウンタ43,44のカウンタ値(乱数値RND)がラッチ回路45,46のラッチされた後は、CPUが、バッファ4
7,48を経由して乱数値RNDを取得しない限り、例え、入賞スイッチ信号SGが変化しても入賞検出信号DETが生成されることはない。したがって、入賞スイッチ信号SGや、ラッチ信号LTにリンギングが生じても、入賞検出信号DETが二重に生成されるおそれがない。
As described above, in the random number generation circuit GNR of the embodiment, once the counter values (random number value RND) of the counters 43 and 44 are latched by the latch circuits 45 and 46, the CPU
As long as the random number value RND is not obtained via 7, 48, for example, even if the winning switch signal SG changes, the winning detection signal DET is not generated. Therefore, even if ringing occurs in the winning switch signal SG or the latch signal LT, there is no possibility that the winning detection signal DET is generated twice.

このように、本実施例では、ラッチ回路45,46に乱数値RNDがラッチされてから、その乱数値RNDがCPUに取得されるまでは、入賞禁止区間となる。したがって、遊技球が連続して入賞した場合に、問題が生じる可能性もある。しかし、CPUは、2mS毎に入賞検出信号DETをチェックし、もし、入賞検出信号DETがON状態であれば、直ちに、バッファ47,48を経由して乱数値RNDを取得しているので、実際には、弊害が生じるおそれはない。すなわち、2mS程度の時間間隔で、遊技球が連続して入賞することは、遊技球の移動速度を考慮すれば生じ得ない。   As described above, in the present embodiment, the winning circuit is not permitted until the random number value RND is acquired by the CPU after the random number value RND is latched by the latch circuits 45 and 46. Therefore, there is a possibility that a problem may occur when the game balls win continuously. However, the CPU checks the winning detection signal DET every 2 mS. If the winning detection signal DET is ON, the CPU immediately acquires the random value RND via the buffers 47 and 48. There is no risk of harm. That is, it is not possible for a game ball to win continuously at a time interval of about 2 mS if the moving speed of the game ball is taken into consideration.

また、乱数値RNDが取得されると、入賞検出信号DETが自動的にOFFレベルに戻るので、次回のチェック処理において誤判定が生じることもない。   Further, when the random number value RND is acquired, the winning detection signal DET automatically returns to the OFF level, so that an erroneous determination does not occur in the next check process.

続いて、遊技動作を統括的に制御する主制御部21のプログラムの概要を説明する。図7〜図9は、主制御部21の制御プログラムを示すフローチャートである。主制御部21の制御プログラムは、電源電圧の復旧や投入に基づいて起動されるシステムリセット処理(図7)と、所定時間毎(2mS)に起動されるマスク可能なタイマ割込み処理(図8(a))とで構成されている。   Next, an outline of a program of the main control unit 21 that controls the game operation in an integrated manner will be described. 7 to 9 are flowcharts showing a control program of the main control unit 21. The control program of the main control unit 21 includes a system reset process (FIG. 7) that is activated based on restoration or input of the power supply voltage, and a maskable timer interrupt process (FIG. 8 (FIG. 8 ( a)).

以下、図7を参照しつつ、システムリセット処理プログラム(メイン処理)について説明する。メイン処理が開始されるのは、停電状態からの復旧時のように初期化スイッチSWがOFF状態で電源がON状態になる場合と、遊技ホールの開店時のように、初期化スイッチSWがON操作されて電源がON状態になる場合とがある。なお、制御プログラムが暴走したことにより、ウォッチドッグタイマWDTが起動してCPUが強制的にリセットされる場合もある。   Hereinafter, the system reset processing program (main processing) will be described with reference to FIG. The main process is started when the initialization switch SW is turned off and the power is turned on, such as when recovering from a power failure, and when the game hall is opened, the initialization switch SW is turned on. There is a case where the power source is turned on by being operated. Note that, due to the runaway control program, the watchdog timer WDT may be activated and the CPU may be forcibly reset.

何れの場合でも、Z80CPUは、最初に自らを割込み禁止状態に設定すると共に(ST1)、割込みモード2に設定する(ST2)。また、CPU内部のスタックポインタSPの値を、スタック領域の最終アドレスに初期設定すると共に(ST3)、ワンチップマイコンの各部を含めて内部レジスタの値を初期設定する(ST4)。   In any case, the Z80 CPU first sets itself to the interrupt disabled state (ST1) and sets to the interrupt mode 2 (ST2). Further, the value of the stack pointer SP in the CPU is initialized to the final address of the stack area (ST3), and the values of internal registers including each part of the one-chip microcomputer are initialized (ST4).

続いて、入力ポートからRAMクリア信号DELを取得する(ST5)。RAMクリア信号DELとは、ワンチップマイコン21Aの内蔵RAMの全領域を初期設定するか否かを決定する信号であって、係員が操作する初期化スイッチSWのON/OFF状態に対応した値を有している。   Subsequently, the RAM clear signal DEL is acquired from the input port (ST5). The RAM clear signal DEL is a signal for determining whether or not to initialize all areas of the built-in RAM of the one-chip microcomputer 21A, and has a value corresponding to the ON / OFF state of the initialization switch SW operated by the staff. Have.

次にRAMクリア信号のレベルが判定されるが(ST6)、RAMクリア信号がON状態であったと仮定すると、内蔵RAMの全領域がゼロクリアされる(ST10)。したがって、図8(b)のステップST37の処理でセットされたバックアップフラグBFLの値は、他のチェックサム値などと共にゼロとなる。   Next, the level of the RAM clear signal is determined (ST6). If it is assumed that the RAM clear signal is in the ON state, the entire area of the built-in RAM is cleared to zero (ST10). Therefore, the value of the backup flag BFL set in the process of step ST37 in FIG. 8B becomes zero together with other checksum values.

次に、RAM領域がゼロクリアされたことを報知するための電源投入コマンドが出力され(ST11)、タイマ割込み動作(図8(a))を起動する割込み信号INTを出力するCTCを初期設定する(ST12)。そして、CPUを割込み禁止状態にセットした状態で(ST13)、各種のカウンタついて更新処理を実行し(ST14)、その後、CPUを割込み許可状態に戻してステップST13に戻る。なお、ステップST14で更新されるカウンタには、外れ図柄用カウンタが含まれているが、この外れ図柄用カウンタは、
図8(a)の特別図柄処理(ST27)における大当り抽選処理の結果が外れ状態となった場合に、どのような態様の外れゲームを演出するかを決定するためのカウンタである。
Next, a power-on command for notifying that the RAM area has been cleared to zero is output (ST11), and the CTC that outputs the interrupt signal INT for starting the timer interrupt operation (FIG. 8A) is initialized ( ST12). Then, with the CPU set to the interrupt disabled state (ST13), update processing is executed for various counters (ST14), and then the CPU is returned to the interrupt enabled state and the process returns to step ST13. Note that the counter updated in step ST14 includes an out symbol counter, but this out symbol counter is
This is a counter for determining what kind of out-of-game is produced when the result of the big win lottery processing in the special symbol processing (ST27) in FIG.

さて、ステップST6の判定処理に戻って説明すると、CPUがウォッチドッグタイマWDTによって強制的にリセットされた場合や、停電状態からの復旧時には、RAMクリア信号はOFF状態である。そして、このような場合には、ステップST6の判定に続いて、バックアップフラグBFLの内容が判定される(ST7)。バックアップフラグBFLとは、図8(b)の電源監視処理の動作が実行されたことを示すデータであり、この実施例では、電源遮断時のステップST37の処理でバックアップフラグBFLが5AHとされ、電源復帰後のステップST33の処理でゼロクリアされる。   Returning to the determination process in step ST6, the RAM clear signal is in the OFF state when the CPU is forcibly reset by the watchdog timer WDT or when the CPU is restored from the power failure state. In such a case, the content of the backup flag BFL is determined following the determination in step ST6 (ST7). The backup flag BFL is data indicating that the operation of the power supply monitoring process of FIG. 8B has been executed. In this embodiment, the backup flag BFL is set to 5AH in the process of step ST37 when the power is turned off. It is cleared to zero in the process of step ST33 after the power is restored.

電源投入時や、停電状態からの復旧時である場合には、バックアップフラグBFLの内容が5AHの筈である。但し、何らかの理由でプログラムが暴走状態となり、ウォッチドッグタイマによるCPUリセット動作が生じたような場合には、バックアップフラグBFL=00Hである。したがって、BFL≠5AH(通常はBFL=00H)となる場合には、ステップST7からステップST10の処理に移行させて遊技機の動作を初期状態に戻す。   When the power is turned on or when recovering from a power failure, the content of the backup flag BFL is 5AH. However, if the program goes into a runaway state for some reason and a CPU reset operation is caused by the watchdog timer, the backup flag BFL = 00H. Therefore, when BFL ≠ 5AH (normally BFL = 00H), the process proceeds from step ST7 to step ST10 to return the operation of the gaming machine to the initial state.

一方、バックアップフラグBFL=5AHであれば、チェックサム値を算出するためのチェックサム演算を実行する(ST8)。ここで、チェックサム演算とは、内蔵RAMのワーク領域を対象とする8ビット加算演算である。そして、チェックサム値が算出されたら、この演算結果を、RAMのSUM番地の記憶値と比較をする(ST9)。   On the other hand, if the backup flag BFL = 5AH, a checksum operation for calculating a checksum value is executed (ST8). Here, the checksum operation is an 8-bit addition operation for the work area of the built-in RAM. When the checksum value is calculated, the calculation result is compared with the stored value at the SUM address in the RAM (ST9).

SUM番地には、電圧降下時に実行される電源監視処理(図8(b))において、同じチェックサム演算によるチェックサム値が記憶されている(ST38)。そして、記憶された演算結果は、内蔵RAMの他のデータと共に、バックアップ電源によって維持されている。したがって、本来は、ステップST9の判定によって両者が一致する筈である。   In the SUM address, the checksum value by the same checksum calculation is stored in the power supply monitoring process (FIG. 8B) executed when the voltage drops (ST38). The stored calculation results are maintained by a backup power source together with other data in the built-in RAM. Therefore, the two should be matched by the determination in step ST9.

しかし、電源降下時にチェックサム演算(ST38)の実行できなかった場合や、実行できても、その後、メイン処理のチェックサム演算(ST8)の実行時までの間に、ワーク領域のデータが破損している場合もあり、このような場合にはステップST9の判定結果は不一致となる。判定結果の不一致によりデータ破損が検出された場合には、ステップST10の処理に移行させてRAMクリア処理を実行し、遊技機の動作を初期状態に戻す。一方、ステップST9の判定において、チェックサム演算(ST8)によるチェックサム値と、SUM番地の記憶値とが一致する場合には、ステップST12の処理に移行する。   However, if the checksum calculation (ST38) cannot be executed when the power is turned off, or if it can be executed, the data in the work area will be damaged until the checksum calculation (ST8) of the main process is executed. In such a case, the determination result in step ST9 is inconsistent. If data corruption is detected due to a discrepancy between the determination results, the process proceeds to step ST10, RAM clear processing is executed, and the operation of the gaming machine is returned to the initial state. On the other hand, if it is determined in step ST9 that the checksum value obtained by the checksum calculation (ST8) matches the stored value at the SUM address, the process proceeds to step ST12.

続いて、上記したメイン処理を中断させて、2mS毎に開始されるタイマ割込み処理プログラム(図8(a))を説明する。タイマ割込みが生じると、CPUのレジスタを保存することなく、直ちに電源監視処理が実行される(ST20)。これは、タイマ割込み処理が起動されるタイミングが、ステップST15の直後に固定されているためである。   Next, a timer interrupt processing program (FIG. 8A) that is started every 2 mS while interrupting the main processing described above will be described. When the timer interrupt occurs, the power supply monitoring process is immediately executed without saving the CPU register (ST20). This is because the timing at which the timer interrupt process is started is fixed immediately after step ST15.

電源監視処理(ST20)では、電源基板20から供給されている電圧降下信号のレベルを判定するが、具体的な処理内容については後述する。電源監視処理(ST20)が終わると、普通図柄処理(ST26)における抽選動作で使用される当り用カウンタRGの値が更新される(ST21)。なお、特別図柄処理(ST27)における抽選動作で使用される大当り判定用の乱数値RNDについては、図5の乱数生成回路GNRで生成されるので、ステップST21の処理で更新されることはない。   In the power supply monitoring process (ST20), the level of the voltage drop signal supplied from the power supply board 20 is determined. The specific processing content will be described later. When the power monitoring process (ST20) ends, the value of the winning counter RG used in the lottery operation in the normal symbol process (ST26) is updated (ST21). Note that the random value RND for jackpot determination used in the lottery operation in the special symbol process (ST27) is generated by the random number generation circuit GNR in FIG. 5, and is not updated in the process of step ST21.

当り乱数更新処理(ST21)が終わると、各遊技動作の時間を管理しているタイマに
ついて、タイマ減算処理が行なわれる(ST22)。ここで減算されるタイマは、主として、電動チューリップや大入賞口の開放時間やその他の遊技演出時間を管理するために使用される。
When the winning random number update process (ST21) ends, a timer subtraction process is performed for the timer that manages the time of each gaming operation (ST22). The timer to be subtracted here is mainly used for managing the opening time of the electric tulip and the special winning opening and other game effect times.

続いて、図柄始動口15や大入賞口16の入賞検出スイッチを含む各種スイッチ類のON/OFF信号が入力され、ワーク領域にON/OFF信号レベルや、その立上り状態が記憶される(ST23)。図9(a)は、スイッチ入力処理(ST23)を詳細に示すフローチャートである。   Subsequently, ON / OFF signals of various switches including the winning detection switch of the symbol start opening 15 and the big winning opening 16 are inputted, and the ON / OFF signal level and its rising state are stored in the work area (ST23). . FIG. 9A is a flowchart showing the switch input process (ST23) in detail.

先ず、ワンチップマイコン21Aの入力ポートINP(図4)から、連続して二度8ビットデータが入力される(ST50〜ST51)。そして、同一のデータが連続して取得されるまで、この処理(ST50〜ST51)を繰り返す(ST52)。したがって、入賞スイッチ信号SGを含む各種のスイッチ信号に、リンギングが生じていても、その振動が収まった段階で入力データが正しく取得されることになる。   First, 8-bit data is continuously input twice from the input port INP (FIG. 4) of the one-chip microcomputer 21A (ST50 to ST51). Then, this process (ST50 to ST51) is repeated until the same data is continuously acquired (ST52). Therefore, even if ringing occurs in various switch signals including the winning switch signal SG, the input data is correctly acquired at the stage where the vibration has subsided.

このようにして、同一のデータが連続して取得された場合には、その入力データをCPUのBレジスタに保存する(ST53)。先に説明した通り、この実施例では、この8ビットデータは全て有意なデータであるので、マスク処理などは不要である。   In this way, when the same data is continuously acquired, the input data is stored in the B register of the CPU (ST53). As described above, in this embodiment, since all the 8-bit data is significant data, mask processing or the like is unnecessary.

次に、1つ前の割込み処理時における、スイッチ信号(8ビット)のON/OFF状態を記憶するLVL番地のデータをCPUのAレジスタに取得してビット反転させる(ST54)。そして、今回取得したスイッチ信号とAND演算を実行してCPUのAレジスタに格納する(ST55)。その結果、前回の取得データ(LVL番地)と、今回の取得データ(Bレジスタ)とが比較されることになり、Aレジスタの8ビットデータのうち、「0」から「1」に変化したビットだけが「1」となる。「1」となったビットは、そのビットに該当するスイッチ信号が立上ったことを示している。   Next, the data of the LVL address storing the ON / OFF state of the switch signal (8 bits) at the time of the previous interrupt processing is acquired in the A register of the CPU and the bit is inverted (ST54). Then, the switch signal acquired this time and an AND operation are executed and stored in the A register of the CPU (ST55). As a result, the previous acquired data (address LVL) and the current acquired data (B register) are compared, and the bit changed from “0” to “1” in the 8-bit data of the A register. Only becomes “1”. A bit that is “1” indicates that the switch signal corresponding to the bit has risen.

そこで、CPUのBレジスタの値を、LVL番地に新規に格納すると共に、Aレジスタの値をEDG番地に格納する(ST56)。したがって、以降は、EDG番地を参照するだけで、今回の割込み処理時に、LレベルからHレベルに立上ったスイッチ信号を把握することができる。   Therefore, the value of the B register of the CPU is newly stored in the LVL address, and the value of the A register is stored in the EDG address (ST56). Therefore, thereafter, only by referring to the EDG address, the switch signal rising from the L level to the H level can be grasped at the time of the current interrupt processing.

以上のようなスイッチ入力処理(ST23)が終わると、次に、エラー管理処理が行われる(ST24)。エラー管理処理は、遊技球の補給が停止したり、遊技球が詰まっていないかなど、機器内部に異常が生じていないかの判定を含んでいる。   When the switch input process (ST23) as described above is completed, an error management process is performed (ST24). The error management process includes a determination as to whether an abnormality has occurred inside the device, such as whether or not the supply of game balls has stopped or the game balls are clogged.

次に、払出制御部24から受けた賞球計数信号に基づく管理処理を実行した後(ST25)、普通図柄処理を行う(ST26)。普通図柄処理とは、電動チューリップなど、普通電動役物を作動させるか否かの判定を意味する。具体的には、ステップST23のスイッチ入力結果によって遊技球がゲートを通過していると判定された場合に、乱数更新処理(ST21)で更新された当り用カウンタRGを、当り当選値と対比して行われる。そして、対比結果が当選状態であれば当り中の動作モードに変更する。また、当り中となれば、電動チューリップなど、普通電動役物の作動に向けた処理を行う。   Next, after executing the management process based on the prize ball counting signal received from the payout control unit 24 (ST25), the normal symbol process is performed (ST26). The normal symbol processing means determination as to whether or not to operate an ordinary electric accessory such as an electric tulip. Specifically, when it is determined that the game ball has passed through the gate based on the switch input result in step ST23, the winning counter RG updated in the random number updating process (ST21) is compared with the winning winning value. Done. If the comparison result is a winning state, the operation mode is changed to the winning operation mode. In addition, if it is a hit, processing for the operation of a normal electric accessory such as an electric tulip is performed.

続いて、特別図柄処理を行う(ST27)。特別図柄処理とは、大入賞口16など特別電動役物を作動させるか否かの判定であり、その要部は、図9(b)に示す通りである。先ず、最初に、乱数生成回路GNRの第3フリップフロップ60が、Hレベルの入賞検出信号DET(ラッチフラグ)を保持しているか否かが判定される。具体的には、第3バッファ回路64から8ビットデータを取得して(ST60)、ラッチフラグに対応するビットを判定する(ST61)。そして、入賞検出状態であると判定された場合には、乱数生
成回路GNRのバッファ47,48から、16ビット長の乱数値RNDを8ビット毎に取得してTEMP番地とTEMP+1番地に記憶する(ST62)。なお、乱数値RNDの上位8ビットを取得した段階で、入賞検出信号DETはLレベルに戻り、制御信号CTLはHレベルに戻る(図6参照)。
Subsequently, special symbol processing is performed (ST27). The special symbol process is a determination as to whether or not a special electric accessory such as the special prize opening 16 is operated, and the main part thereof is as shown in FIG. 9B. First, it is determined whether or not the third flip-flop 60 of the random number generation circuit GNR holds an H level winning detection signal DET (latch flag). Specifically, 8-bit data is acquired from the third buffer circuit 64 (ST60), and the bit corresponding to the latch flag is determined (ST61). When it is determined that the winning detection state is established, a 16-bit random number value RND is acquired every 8 bits from the buffers 47 and 48 of the random number generation circuit GNR and stored in the TEMP address and the TEMP + 1 address ( ST62). Note that at the stage when the upper 8 bits of the random number value RND are acquired, the winning detection signal DET returns to the L level, and the control signal CTL returns to the H level (see FIG. 6).

次に、EDG番地のデータを判定して、入賞スイッチ信号SGに対応するビットが「1」となっているか否かを判定する(ST63)。先に説明した通り、スイッチ入力処理において、入力ポートINPのデータを取得して(ST50〜ST51)、入賞スイッチ信号SGが立上ったか否かは、EDG番地に記憶されている(ST56)。したがって、EDG番地の記憶内容によって、入賞スイッチ信号SGが立上っていないと判定される場合には、大当り抽選処理(ST66)をスキップする。   Next, the data of the EDG address is determined to determine whether or not the bit corresponding to the winning switch signal SG is “1” (ST63). As described above, in the switch input process, data of the input port INP is acquired (ST50 to ST51), and whether or not the winning switch signal SG rises is stored in the EDG address (ST56). Therefore, when it is determined that the winning switch signal SG has not risen according to the stored contents of the EDG address, the big hit lottery process (ST66) is skipped.

一方、EDG番地の記憶内容によって、入賞スイッチ信号SGが立上ったと判定される場合には、TEMP番地以下の16ビットデータを、LOT番地とLOT+1番地にコピーする(ST64)。そして、TEMP番地とTEMP+1番地に、大当り抽選にとっての無効データを格納する。ここで、無効データとは、これを乱数値として大当り抽選に供しても、大当り抽選処理がスキップされるデータである。なお、簡易的には、無効データは、それを乱数値として大当り抽選に供しても、大当り状態とはならないハズレデータであっても良い。   On the other hand, if it is determined that the winning switch signal SG rises according to the stored contents of the EDG address, 16-bit data below the TEMP address is copied to the LOT address and the LOT + 1 address (ST64). Then, invalid data for the big hit lottery is stored at the TEMP address and the TEMP + 1 address. Here, the invalid data is data in which the big hit lottery process is skipped even if it is used as a random value for the big hit lottery. For simplicity, the invalid data may be lost data that does not become a big hit state even if it is used for the big hit lottery as a random value.

次に、LOT番地以降に格納されている16ビットデータを乱数値RNDに使用して大当り抽選処理を実行する(ST66)。そして、図示省略しているが、抽選結果が当選状態であれば大当り中の動作モードに変更する。また、大当り中となれば、大入賞口など種特別電動役物の作動に向けた処理を行う。   Next, the big hit lottery process is executed using the 16-bit data stored after the LOT address as the random number value RND (ST66). Although not shown in the drawing, if the lottery result is a winning state, the operation mode is changed to a big hit operation mode. In addition, if it is a big hit, processing for the operation of special electric accessories such as a big prize opening is performed.

このような特別図柄処理(ST27)の後、主制御部21で管理するLEDについて点灯動作を進行させると共に(ST28)、電動チューリップや大入賞口などの開閉動作を実現するソレノイド駆動処理を実行した後(ST29)、CPUを割込み許可状態EIに戻してタイマ割込みを終える(ST30)。その結果、割込み処理ルーチンからメイン処理の無限ループ処理(図7)に戻り、ステップST17の処理が実行される。   After such special symbol processing (ST27), the lighting operation of the LEDs managed by the main control unit 21 is advanced (ST28), and the solenoid drive processing for realizing the opening / closing operation of the electric tulip, the big prize opening, etc. is executed. Later (ST29), the CPU is returned to the interrupt permission state EI and the timer interrupt is finished (ST30). As a result, the process returns from the interrupt process routine to the infinite loop process (FIG. 7) of the main process, and the process of step ST17 is executed.

以上の通り、本実施例では、入賞スイッチ信号SGを二重にチェックしており、ノイズなどの影響で、万一、入賞検出信号DETがビット化けしても、不合理な大当り状態が発生することがない。また、二度繰り返すデータ入力処理(ST50〜ST51)によっても、リンギングなどの悪影響を排除できない場合でも、不合理な大当り状態が発生することはない。以下、これらの点について図9(d)に基づいて確認する。   As described above, in this embodiment, the winning switch signal SG is double checked, and even if the winning detection signal DET is garbled due to noise or the like, an unreasonable big hit state occurs. There is nothing. Even if the data input process (ST50 to ST51) repeated twice does not eliminate the adverse effects such as ringing, an unreasonable big hit state does not occur. Hereinafter, these points will be confirmed based on FIG.

通常の場合には、図9(d)のNo.1又はNo.4のように、ステップST60の処理で取得された入賞検出信号DETのH/Lレベル(ON/OFF状態)と、ステップST56の処理で格納されたEDG番地の内容とが正しく整合する。したがって、このような正常時には、例えば、入賞検出信号DET(ラッチフラグ)のON時には、乱数値RNDがTEMP番地以下に取得され(ST62)、その乱数値RNDがLOT番地以下にコピーされた後(ST64)、LOT番地以下にコピーされた乱数値RNDに基づいて大当り抽選処理が実行される(ST66)。   In the normal case, No. 1 in FIG. 1 or No. As shown in FIG. 4, the H / L level (ON / OFF state) of the winning detection signal DET acquired in the process of step ST60 correctly matches the contents of the EDG address stored in the process of step ST56. Therefore, at such a normal time, for example, when the winning detection signal DET (latch flag) is ON, the random value RND is acquired below the TEMP address (ST62), and after the random value RND is copied below the LOT address (ST64). ), The jackpot lottery process is executed based on the random number value RND copied below the LOT address (ST66).

また、正常時には、入賞検出信号DET(ラッチフラグ)のOFF時には、ステップST62の処理がスキップされた後、ステップST63の判定によって大当り抽選処理がスキップされる。   Further, when the winning detection signal DET (latch flag) is OFF at the normal time, the process of step ST62 is skipped, and then the big win lottery process is skipped by the determination of step ST63.

次に、図9(d)のNo.2の異常時を検討する。この場合には、入賞検出信号DET
がOFF状態であると判定されるので、ステップST62の処理がスキップされる。したがって、TEMP番地以下のデータは、無効データのままであり、有意なデータは格納されない。
Next, No. 9 in FIG. Consider 2 abnormal situations. In this case, the winning detection signal DET
Is determined to be in the OFF state, the process of step ST62 is skipped. Therefore, the data below the TEMP address remains invalid data, and no significant data is stored.

その後、ステップST63の判定では、該当ビットがON状態であるので、ステップST64〜ST66の処理が実行されてしまう。しかし、TEMP番地以下には、無効データが格納されているので、LOT番地以下にコピーされた無効データが大当り抽選処理(ST66)に供されることになり、乱数値RNDの無効性によって大当り抽選処理がスキップされる。したがって、図9(d)のNo.2の異常時にも何の弊害も何も生じない。   Thereafter, in the determination of step ST63, since the corresponding bit is in the ON state, the processes of steps ST64 to ST66 are executed. However, since invalid data is stored below the TEMP address, invalid data copied below the LOT address is used for the big hit lottery process (ST66), and the big hit lottery is performed due to the invalidity of the random number value RND. Processing is skipped. Therefore, No. 1 in FIG. No adverse effect occurs at the time of 2 abnormalities.

続いて、図9(d)のNo.3の異常時を検討する。この場合には、入賞検出信号DETがON状態であると誤判定されるので、乱数値RNDがTEMP番地に格納されてしまう(ST62)。しかし、ステップST63の判定では、入賞スイッチ信号SGが立上っていないと判定されるので、大当り抽選処理(ST66)が実行されることはなく、何の弊害も生じない。なお、その後、正常にNo.4の状態が発生すれば、その段階でTEMP番地以下のデータが更新され、そのデータに基づいて大当り抽選処理(ST66)が実行される。   Subsequently, No. 9 in FIG. Consider 3 abnormal times. In this case, since it is erroneously determined that the winning detection signal DET is in the ON state, the random value RND is stored in the TEMP address (ST62). However, in the determination of step ST63, since it is determined that the winning switch signal SG has not risen, the big hit lottery process (ST66) is not executed, and no adverse effects occur. After that, normally No. If the state 4 occurs, the data below the TEMP address is updated at that stage, and the big hit lottery process (ST66) is executed based on the data.

ところで、スイッチ入力処理(ST23)の実行タイミングと、特別図柄処理(ST27)の実行タイミングとに時間的ズレがあるため、スイッチ入力処理時(ST23)には入賞スイッチ信号SGがOFF状態であるのに、特別図柄処理時(ST27)には、入賞スイッチ信号SGがON状態となる場合もあり得る。しかし、本実施例では、先に実行を終えているスイッチ処理(ST23)の判定結果を、ラッチフラグ(入賞検出信号DET)の判定の後で判定するので(ST61,ST63参照)、何ら弊害が生じない。   By the way, since there is a time lag between the execution timing of the switch input process (ST23) and the execution timing of the special symbol process (ST27), the winning switch signal SG is in the OFF state during the switch input process (ST23). In addition, at the time of special symbol processing (ST27), the winning switch signal SG may be turned on. However, in this embodiment, since the determination result of the switch processing (ST23) that has been executed first is determined after the determination of the latch flag (winning detection signal DET) (see ST61 and ST63), there is no problem. Absent.

すなわち、この場合には、最初のタイマ割込み時、スイッチ入力処理(ST23)の後で判定するラッチフラグ(入賞検出信号DET)がON状態になっているので、ST61→ST62の経路を経て、乱数値RNDがTEMP番地に格納される。しかし、スイッチ入力処理時には、入賞スイッチ信号が未だOFF状態であったので、ステップST63の処理を経てタイマ割込み処理が終わってしまう。なお、このタイマ割込み時において、乱数値RNDがTEMP番地以下に取得されたタイミングで(ST62)、ラッチフラグ(入賞検出信号DET)はOFF状態に戻っている(図6(g)参照)。   That is, in this case, since the latch flag (winning detection signal DET) to be determined after the switch input process (ST23) is in the ON state at the first timer interruption, the random number value is passed through the path from ST61 to ST62. RND is stored in the TEMP address. However, since the winning switch signal is still in the OFF state during the switch input process, the timer interrupt process ends through the process of step ST63. At the time of this timer interruption, the latch flag (winning detection signal DET) returns to the OFF state at the timing when the random number value RND is acquired below the TEMP address (ST62) (see FIG. 6 (g)).

したがって、次回のタイマ割込み時には、ST60→ST61→ST63の経路を経て、ステップST62の処理はスキップされる。そして、その後、前回のタイマ割込み時にTEMP番地以下に格納された乱数値RNDが、LOT番地以下にコピーされ、その乱数値RNDに基づいて大当り抽選処理が実行される(ST66)。そのため、スイッチ入力処理(ST23)の実行タイミングと、特別図柄処理(ST27)の実行タイミングとに時間的ズレは、何ら弊害を生じない。   Therefore, at the next timer interruption, the process of step ST62 is skipped through the route of ST60 → ST61 → ST63. Thereafter, the random number value RND stored below the TEMP address at the previous timer interruption is copied below the LOT address, and the big hit lottery process is executed based on the random value RND (ST66). For this reason, the time difference between the execution timing of the switch input process (ST23) and the execution timing of the special symbol process (ST27) does not cause any adverse effect.

続いて、図8(b)に示す電源監視処理(ST20)について念のため説明する。電源監視処理(ST20)では、先ず、電源基板20から供給される電圧降下信号を、入力ポート(不図示)を通して取得し(ST31)、それが異常レベルでないか判定する(ST32)。そして、異常レベルでない場合には、異常回数カウンタとバックアップフラグBFLをゼロクリアして処理を終える(ST33)。   Next, the power supply monitoring process (ST20) shown in FIG. In the power supply monitoring process (ST20), first, a voltage drop signal supplied from the power supply board 20 is acquired through an input port (not shown) (ST31), and it is determined whether it is an abnormal level (ST32). If it is not an abnormal level, the abnormal number counter and the backup flag BFL are cleared to zero and the process is terminated (ST33).

一方、電圧降下信号が異常レベルである場合には、異常回数カウンタをインクリメント(+1)して(ST34)、計数結果が上限値MAXを超えていないかを判定する(ST35)。これは、入力ポートからの取得データが、ノイズなどの影響でビット化けしている可能性があることを考慮したものであり、所定回数(例えば、上限値MAX=2)連続
して異常レベルを維持する場合には、交流電源が現に遮断されたと判定する。
On the other hand, if the voltage drop signal is at an abnormal level, the abnormal number counter is incremented (+1) (ST34), and it is determined whether the counting result exceeds the upper limit value MAX (ST35). This is because the data acquired from the input port may be garbled due to the influence of noise or the like, and the abnormal level is continuously set for a predetermined number of times (for example, upper limit MAX = 2). In the case of maintaining, it is determined that the AC power source is actually shut off.

このように、本実施例では、電源遮断時にも、直ぐには以降のバックアップ処理を開始せず、動作開始のタイミングが、MAX×2mSだけ遅れる。しかし、(1)電源降下信号は、直流電源電圧の降下ではなく、交流直流電圧の降下を検出すること、(2)直流電源電圧は、大容量のコンデンサによって交流電源の遮断後もしばらくは維持されること、(3)電源監視処理が高速度(2mS毎)で繰り返されること、(4)バックアップ処理が極めてシンプルであり、迅速に終わることから、実質的には何の弊害もない。   As described above, in this embodiment, the subsequent backup processing is not started immediately even when the power is turned off, and the operation start timing is delayed by MAX × 2 mS. However, (1) The power supply drop signal is not a drop in the DC power supply voltage, but a drop in the AC DC voltage is detected. (2) The DC power supply voltage is maintained for a while after the AC power supply is shut off by a large capacity capacitor. (3) The power supply monitoring process is repeated at a high speed (every 2 ms), and (4) the backup process is extremely simple and finishes quickly, so there is virtually no adverse effect.

ところで、ステップST35の判定の結果、異常回数カウンタの計数値が上限値MAXに一致した場合には、異常回数カウンタをゼロクリアした後(ST36)、バックアップフラグBFLに5AHを設定する(ST37)。次に、メインルーチンのステップST7の場合と、全く同じ演算を、全く同じ作業領域(ワークエリア)に対して実行し、その演算結果を記憶する(ST38)。なお、実行される演算は、典型的には8ビット加算演算である。   By the way, as a result of the determination in step ST35, if the count value of the abnormal number counter coincides with the upper limit value MAX, the abnormal number counter is cleared to zero (ST36), and then 5AH is set to the backup flag BFL (ST37). Next, the same calculation as in step ST7 of the main routine is executed for the same work area (work area), and the calculation result is stored (ST38). The operation to be executed is typically an 8-bit addition operation.

そして、その後はワンチップマイコン21AをRAMアクセス禁止状態に設定すると共に(ST39)、全ての出力ポートの出力データをクリアする(ST40)。その結果、同種の電源監視処理を主制御部21より遅れて開始する払出制御部24に対して、不合理なデータが送信させることが防止される。以上のバックアップ処理が終われば、CTCに対する設定処理によって割込み信号INTの生成を禁止すると共に、無限ループ処理を繰り返しつつ直流電源電圧が降下するのを待つ(ST41)。なお、このタイミングでは、CPUは、もともと割込み禁止状態であるが(ST30参照)、電源電圧の降下による誤動作の可能性を、可能な限り排除する趣旨から、本実施例では、CTCからの割込み信号INTの出力も禁止している。   Thereafter, the one-chip microcomputer 21A is set in a RAM access prohibited state (ST39), and output data of all output ports is cleared (ST40). As a result, unreasonable data is prevented from being transmitted to the payout control unit 24 that starts the same type of power supply monitoring process later than the main control unit 21. When the above backup processing is completed, the generation of the interrupt signal INT is prohibited by the setting processing for CTC, and the DC power supply voltage is lowered while repeating the infinite loop processing (ST41). At this timing, the CPU is originally in an interrupt disabled state (see ST30). However, in this embodiment, an interrupt signal from the CTC is used to eliminate as much as possible the possibility of malfunction due to a drop in power supply voltage. INT output is also prohibited.

以上、本発明の実施例を具体的に説明したが、具体的な記載内容は何ら本発明を限定するものではなく、各種の改変が可能である。例えば、実施例の説明では、ラッチフラグの値をタイマ割込み処理でチェックする構成を採ったが(フラグセンス方式)、入賞検出信号DETを直接CPUの割込み端子に供給する構成を採っても良い。   Although the embodiments of the present invention have been specifically described above, the specific description content is not intended to limit the present invention, and various modifications can be made. For example, in the description of the embodiment, a configuration in which the value of the latch flag is checked by the timer interrupt process (flag sense method) is adopted, but a configuration in which the winning detection signal DET is directly supplied to the interrupt terminal of the CPU may be employed.

また、セキュリティレベルを上がるためには、遊技盤中継基板29と主制御基板21との間に、2つの伝送経路を設け、同一の入賞スイッチ信号を別の経路で伝送するのが好ましい。   In order to increase the security level, it is preferable to provide two transmission paths between the game board relay board 29 and the main control board 21 and transmit the same winning switch signal through different paths.

図10は、この構成を図示したものであり、乱数生成回路GNRに供給される入賞スイッチ信号SGと、入力ポートINPに供給される入賞スイッチ信号SGとを別のコネクタCN1,CN2を通して、遊技盤中継基板29から受けている。そのため、例えば、コネクタCN1を外して、遊技盤中継基板29とコネクタCN1の間に違法基板を取り付けても、違法な大当り抽選処理を実行させることはできない。   FIG. 10 shows this configuration, and the game board receives the winning switch signal SG supplied to the random number generation circuit GNR and the winning switch signal SG supplied to the input port INP through different connectors CN1 and CN2. It is received from the relay board 29. Therefore, for example, even if the connector CN1 is removed and an illegal board is attached between the game board relay board 29 and the connector CN1, the illegal big hit lottery process cannot be executed.

図示例の場合には、違法な入賞スイッチ信号SGを生成するには、本来の信号ラインを切断した上で、例えば、遠隔操作によってスイッチ回路S1をON/OFF動作させる必要があるが、そのようなことをしても、入力ポートINPに供給される入賞スイッチ信号SGをON状態にすることはできない。なお、切断箇所の上流側にスイッチ回路S2を設け、これをスイッチ回路S1に同期してON/OFF動作させても、バッファ回路BUFのトランジスタがON状態であるので違法行為が成功することはない。この点、バッファ回路BUFのトランジスタが定常的にOFF状態である構成を採ると、違法行為を有効に排除できない(図10(b)参照)。   In the case of the illustrated example, in order to generate an illegal winning switch signal SG, it is necessary to turn on / off the switch circuit S1 by remote operation, for example, after cutting the original signal line. Even if nothing is done, the winning switch signal SG supplied to the input port INP cannot be turned ON. Even if the switch circuit S2 is provided on the upstream side of the disconnection point and is turned ON / OFF in synchronization with the switch circuit S1, the illegal action will not succeed because the transistor of the buffer circuit BUF is ON. . In this regard, if the transistor of the buffer circuit BUF is steadily turned off, illegal actions cannot be effectively excluded (see FIG. 10B).

GM 遊技機
RND カウンタ計数値
SG 検出信号
60 第1記憶部
45,46 第2記憶部
GNR 乱数生成回路
INP 入力ポート
EDG 第3記憶部
GM gaming machine RND counter count value SG detection signal 60 first storage unit 45, 46 second storage unit GNR random number generation circuit INP input port EDG third storage unit

上記の目的を達成するため、本発明は、所定の遊技動作の発生を示す検出信号に起因して抽選処理を実行し、遊技者に有利な遊技状態を発生させるか否かを決定する遊技機であって、前記検出信号のレベルが有意に変化すると、第1記憶部にON情報を記憶すると共に、その時のカウンタ計数値を第2記憶部に記憶する乱数生成回路と、前記検出信号を受ける入力ポートとを設け、入力ポートの入力データを判定して前記検出信号のレベルが有意に変化した場合には、第3記憶部にON情報を記憶する第1手段と、第1手段が機能した後、第1記憶部にON情報が記憶されていることを条件に、第2記憶部に記憶されている前記カウンタ計数値を取得して一時保存する第2手段と、第2手段が機能した後、第3記憶部にON情報が記憶されていることを条件に、一時保存されているカウンタ計数値に基づいて前記抽選処理を実行する第3手段と、を有して構成され、前記乱数生成回路及び前記入力ポートは、定常的にはON動作を維持するスイッチング素子を経由してLレベルの前記検出信号を定常的に受けている一方、所定の遊技動作の発生時には、前記スイッチング素子がOFF動作して、Hレベルの前記検出信号を受けるよう構成されている。本発明は、弾球遊技機やスロットマシンに好適に適用される。 In order to achieve the above object, the present invention executes a lottery process based on a detection signal indicating the occurrence of a predetermined gaming operation, and determines whether or not to generate a gaming state advantageous to the player When the level of the detection signal changes significantly, the ON information is stored in the first storage unit and the counter count value at that time is stored in the second storage unit, and the detection signal is received. And a first means for storing ON information in the third storage unit when the input signal of the input port is determined and the level of the detection signal changes significantly, and the first means has functioned. Then, on condition that the ON information is stored in the first storage unit, the second unit that acquires and temporarily stores the counter count value stored in the second storage unit functions. After that, ON information is stored in the third storage unit. On condition Rukoto, is configured to have a third means for executing the lottery processing based on the counter values stored temporarily, said random number generating circuit and said input port, ON is steadily While the L level detection signal is steadily received via the switching element that maintains the operation, the switching element is turned OFF to receive the H level detection signal when a predetermined gaming operation occurs. It is configured. The present invention is preferably applied to a ball game machine and a slot machine.

Claims (10)

所定の遊技動作の発生を示す検出信号に起因して抽選処理を実行し、遊技者に有利な遊技状態を発生させるか否かを決定する遊技機であって、
前記検出信号のレベルが有意に変化すると、第1記憶部にON情報を記憶すると共に、その時のカウンタ計数値を第2記憶部に記憶する乱数生成回路と、前記検出信号を受ける入力ポートとを設け、
入力ポートの入力データを判定して前記検出信号のレベルが有意に変化した場合には、第3記憶部にON情報を記憶する第1手段と、
第1手段が機能した後、第1記憶部にON情報が記憶されていることを条件に、第2記憶部に記憶されている前記カウンタ計数値を取得して一時保存する第2手段と、
第2手段が機能した後、第3記憶部にON情報が記憶されていることを条件に、一時保存されているカウンタ計数値に基づいて前記抽選処理を実行する第3手段と、を有して構成されていることを特徴とする遊技機。
A gaming machine that executes a lottery process due to a detection signal indicating the occurrence of a predetermined gaming action and determines whether or not to generate a gaming state advantageous to the player,
When the level of the detection signal changes significantly, ON information is stored in the first storage unit, and a random number generation circuit that stores the counter count value at that time in the second storage unit, and an input port that receives the detection signal Provided,
A first means for storing ON information in a third storage unit when the input data of the input port is determined and the level of the detection signal is significantly changed;
A second means for acquiring and temporarily storing the counter count value stored in the second storage section on the condition that ON information is stored in the first storage section after the first means functions;
And a third means for executing the lottery process based on the counter count value temporarily stored on the condition that ON information is stored in the third storage unit after the second means functions. A gaming machine characterized by being configured.
前記第3手段は、カウンタ計数値が一時保存されていた領域に、無効データを格納するよう機能する一方、
前記抽選処理は、前記無効データによっては、遊技者に有利な遊技状態が発生しないよう構成されている請求項1に記載の遊技機。
The third means functions to store invalid data in an area where the counter count value is temporarily stored,
The gaming machine according to claim 1, wherein the lottery process is configured so that a gaming state advantageous to a player does not occur depending on the invalid data.
電源投入時に開始されるメイン処理と、前記メイン処理を中断させて定時的に実行されるタイマ割込み処理とを有して構成され、
前記第1手段〜第3手段は、前記タイマ割込み処理において実現されている請求項1又は2に記載の遊技機。
A main process that is started when the power is turned on, and a timer interrupt process that is periodically executed by interrupting the main process,
The gaming machine according to claim 1 or 2, wherein the first to third means are realized in the timer interrupt processing.
所定の遊技動作の発生時を除きON状態であるスイッチング素子を経由して、前記検出信号が前記乱数生成回路及び入力ポートに供給されている請求項1〜3の何れかに記載の遊技機。   The gaming machine according to any one of claims 1 to 3, wherein the detection signal is supplied to the random number generation circuit and the input port via a switching element that is in an ON state except when a predetermined gaming operation occurs. 前記スイッチング素子の出力は、配線ケーブルと接続コネクタとを経由して、前記乱数生成回路及び前記入力ポートを搭載する回路基板に供給されている請求項4に記載の遊技機。   The gaming machine according to claim 4, wherein an output of the switching element is supplied to a circuit board on which the random number generation circuit and the input port are mounted via a wiring cable and a connection connector. 前記スイッチング素子の出力は、異なる配線ケーブル及び接続コネクタを通して、前記回路基板に別々に供給されている請求項5に記載の遊技機。   The gaming machine according to claim 5, wherein the output of the switching element is separately supplied to the circuit board through different wiring cables and connection connectors. 前記第1手段は、入力データを複数回連続して取得し、同一データが取得されることを
条件に、前記検出信号のレベル変化を判定する請求項1〜6の何れかに記載の遊技機。
The gaming machine according to any one of claims 1 to 6, wherein the first means determines the level change of the detection signal on the condition that the input data is continuously acquired a plurality of times and the same data is acquired. .
前記第1手段は、入力データの判定時に、前回のタイマ割込み処理によって取得したデ
ータと、今回の入力データの、何れか一方を論理反転させてAND演算することで、前記検出信号のレベルが変化したことを自動検出している請求項3に記載の遊技機。
The first means changes the level of the detection signal by logically inverting either one of the data acquired by the previous timer interrupt process and the current input data when determining the input data. The gaming machine according to claim 3, which automatically detects the occurrence.
第1記憶部に記憶されたON情報は、第2手段が、第2記憶部から前記カウンタ計数値を取得するまで、そのまま維持される請求項1〜8の何れかに記載の遊技機。   9. The gaming machine according to claim 1, wherein the ON information stored in the first storage unit is maintained as it is until the second means acquires the counter count value from the second storage unit. 前記乱数生成回路は、
計数クロックを受けて循環的に更新されるカウンタと、
前記検出信号を受けると、前記計数クロックのエッジに同期して、これを取得して保持する検出記憶回路と、
制御信号が許可レベルであることを条件に前記検出記憶回路から受ける前記検出信号のエッジに同期して、前記カウンタの出力データを前記乱数値として取得して保持するラッチ回路と、
前記ラッチ回路が前記乱数値を取得した後、前記制御信号を許可レベルから禁止レベルに変化させる制御回路と、を有して構成されている請求項1〜9の何れかに記載の遊技機。
The random number generation circuit includes:
A counter that is cyclically updated in response to a counting clock;
Upon receipt of the detection signal, a detection memory circuit that acquires and holds it in synchronization with the edge of the counting clock;
A latch circuit that acquires and holds the output data of the counter as the random number value in synchronization with an edge of the detection signal received from the detection storage circuit on condition that the control signal is at a permission level;
The gaming machine according to claim 1, further comprising: a control circuit that changes the control signal from a permission level to a prohibition level after the latch circuit acquires the random number value.
JP2012002778A 2012-01-11 2012-01-11 Game machine Expired - Fee Related JP5475024B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012002778A JP5475024B2 (en) 2012-01-11 2012-01-11 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012002778A JP5475024B2 (en) 2012-01-11 2012-01-11 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2008180360A Division JP4907608B2 (en) 2008-07-10 2008-07-10 Game machine

Publications (2)

Publication Number Publication Date
JP2012066136A true JP2012066136A (en) 2012-04-05
JP5475024B2 JP5475024B2 (en) 2014-04-16

Family

ID=46164051

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012002778A Expired - Fee Related JP5475024B2 (en) 2012-01-11 2012-01-11 Game machine

Country Status (1)

Country Link
JP (1) JP5475024B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015013013A (en) * 2013-07-05 2015-01-22 株式会社藤商事 Game machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0698973A (en) * 1993-04-15 1994-04-12 Sophia Co Ltd Pachinko game machine
JP2003190483A (en) * 2001-10-19 2003-07-08 Samii Kk Pachinko game machine
JP2006174906A (en) * 2004-12-21 2006-07-06 Sankyo Kk Game machine
JP2006296895A (en) * 2005-04-22 2006-11-02 Daiichi Shokai Co Ltd Game machine
JP2007105251A (en) * 2005-10-13 2007-04-26 Sankyo Kk Game machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0698973A (en) * 1993-04-15 1994-04-12 Sophia Co Ltd Pachinko game machine
JP2003190483A (en) * 2001-10-19 2003-07-08 Samii Kk Pachinko game machine
JP2006174906A (en) * 2004-12-21 2006-07-06 Sankyo Kk Game machine
JP2006296895A (en) * 2005-04-22 2006-11-02 Daiichi Shokai Co Ltd Game machine
JP2007105251A (en) * 2005-10-13 2007-04-26 Sankyo Kk Game machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015013013A (en) * 2013-07-05 2015-01-22 株式会社藤商事 Game machine

Also Published As

Publication number Publication date
JP5475024B2 (en) 2014-04-16

Similar Documents

Publication Publication Date Title
JP4907608B2 (en) Game machine
JP5009247B2 (en) Game machine
JP4789862B2 (en) Game machine
JP4620707B2 (en) Game machine
JP4764442B2 (en) Game machine
JP5341140B2 (en) Game machine
JP5851125B2 (en) Game machine
JP5231603B2 (en) Game machine
JP4587997B2 (en) Game machine
JP4805968B2 (en) Game machine
JP5475024B2 (en) Game machine
JP5009425B2 (en) Game machine
JP5661906B2 (en) Game machine
JP5497843B2 (en) Game machine
JP5661876B2 (en) Game machine
JP2014087407A (en) Game machine
JP5876090B2 (en) Game machine
JP6010091B2 (en) Game machine
JP4649470B2 (en) Game machine
JP4970582B2 (en) Game machine
JP6058776B2 (en) Game machine
JP4987105B2 (en) Game machine
JP5875998B2 (en) Game machine
JP5450713B2 (en) Game machine
JP2017060855A (en) Game machine

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120120

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130404

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140205

R150 Certificate of patent or registration of utility model

Ref document number: 5475024

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

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