JP2011136244A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2011136244A
JP2011136244A JP2011090078A JP2011090078A JP2011136244A JP 2011136244 A JP2011136244 A JP 2011136244A JP 2011090078 A JP2011090078 A JP 2011090078A JP 2011090078 A JP2011090078 A JP 2011090078A JP 2011136244 A JP2011136244 A JP 2011136244A
Authority
JP
Japan
Prior art keywords
counter value
game
value
latch
random number
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
JP2011090078A
Other languages
Japanese (ja)
Other versions
JP5277386B2 (en
Inventor
Masaya Tanaka
雅也 田中
Keiko Otsuka
敬宏 大塚
Koichi Matsuhashi
光一 松橋
Daisuke Sato
大輔 佐藤
Takeshi Sekino
剛 関野
Katsuhiko Hata
加都彦 畑
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.)
Sophia Co Ltd
Original Assignee
Sophia 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 Sophia Co Ltd filed Critical Sophia Co Ltd
Priority to JP2011090078A priority Critical patent/JP5277386B2/en
Publication of JP2011136244A publication Critical patent/JP2011136244A/en
Application granted granted Critical
Publication of JP5277386B2 publication Critical patent/JP5277386B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reliably use a counter value latched on the basis of winning by the entry of a game ball in game control, in a game machine where the value of a counter for counting clock signals is a random number value. <P>SOLUTION: In the game machine for executing an auxiliary game corresponding to the passing of a game ball to a start area, a game control means includes: a counter means for performing a counting operation on the basis of the clock signals; a counter value-holding means for fetching and holding the value counted by the counter means on the basis of the detected result of a start winning detection means; an interruption processing execution means for executing interruption processing on the basis of interruption signals generated at every predetermined interval of time; a counter value storage means for storing the counter value acquired by the counter value-holding means; an interruption processing execution means; and a counter value acquisition means. The interruption processing execution means includes a random number value storage means and a counter value initialization means. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、始動領域および複数の入賞部が設けられた遊技領域における入賞部への入賞に応じて遊技価値を付与し、始動領域への遊技球の通過に応じて補助遊技を実行し、補助遊技が特別な結果になることに応じて遊技者に特典を付与する遊技制御手段を備える遊技機に関する。   The present invention provides a game value according to winning in a winning area in a starting area and a gaming area provided with a plurality of winning areas, executes an auxiliary game in accordance with the passing of a game ball to the starting area, and assists The present invention relates to a gaming machine provided with a game control means for giving a privilege to a player in response to a special result of the game.

従来から、遊技盤上の遊技領域に始動入賞口と称される入賞口を設け、この始動入賞口への打球の入賞に基づいて乱数を取得して当選の判定を行い、この当選結果に基づいて遊技者に所定の利益(たとえば、いわゆる大当たり遊技)を提供するようにした遊技機が広く普及している。   Conventionally, a winning entrance called a start winning opening has been provided in the gaming area on the game board, and a random number is obtained based on the winning of the hit ball to the starting winning opening, and the winning determination is made, and based on the winning result A gaming machine that provides a predetermined profit (for example, a so-called jackpot game) to a player has become widespread.

このような遊技機では、遊技の制御を担うCPUの基準クロック等をソフトウェアでカウントし、前記始動入賞口への入賞を契機としてこのソフトカウンタの値を大当たり等の判定用の乱数として取得している。また、ソフトウェアではなくハードウェア(カウンタ回路)によりクロックをカウントしてそのカウント値を乱数として用いることがある。   In such a gaming machine, the reference clock of the CPU responsible for controlling the game is counted by software, and the value of this soft counter is acquired as a random number for determining a jackpot or the like when winning at the start winning opening Yes. In some cases, the clock is counted not by software but by hardware (counter circuit) and the count value is used as a random number.

具体的には、所定周波数のクロック信号を発生する発振器と、該発振器が発生したクロック信号をカウント(計数)するカウンタ回路と、該カウンタ回路がカウントしたカウンタ値をラッチするラッチ回路などからなる乱数生成回路を設ける。そして、ラッチ回路によって、始動入賞が発生した時点で、カウンタ回路の値を抽出しラッチする。   Specifically, a random number including an oscillator that generates a clock signal having a predetermined frequency, a counter circuit that counts (counts) the clock signal generated by the oscillator, and a latch circuit that latches a counter value counted by the counter circuit. A generation circuit is provided. Then, the value of the counter circuit is extracted and latched by the latch circuit when the start prize is generated.

また、遊技制御用マイクロコンピュータは、始動入賞が発生したことを検出すると、ラッチ回路がラッチしたカウンタ値を読み出して、そのカウンタ値をRAMの所定領域に格納する。このRAMに格納されたカウンタ値が大当り判定に用いられる乱数値となる。このようにして、遊技制御用マイクロコンピュータが、RAMの所定領域に格納した乱数値に基づいて大当り判定を行うようにした発明としては、例えば特許文献1に記載されているものがある。   Further, when the game control microcomputer detects that a start winning has occurred, it reads the counter value latched by the latch circuit and stores the counter value in a predetermined area of the RAM. The counter value stored in the RAM becomes a random value used for the jackpot determination. As an invention in which the game control microcomputer performs the jackpot determination based on the random number value stored in a predetermined area of the RAM as described above, there is one disclosed in Patent Document 1, for example.

特開2007−89978号公報JP 2007-89978 A

しかしながら、上記特許文献1に記載された遊技機では、乱数生成回路が遊技制御用マイクロコンピュータの外付け回路として設けられているとともに、カウンタ値のラッチが行われる条件とラッチされたカウンタ値の読み込みが行われる条件とが別々に設定されており、カウンタ値のラッチはラッチ信号の出力毎に行われるように構成されている。そのため、始動入賞に基づいてラッチ信号が生成されてカウンタ値がラッチされた後、マイクロコンピュータに読み込まれるまでの間にラッチ信号等にノイズがのってラッチ回路が誤動作した場合には、始動入賞の発生とは関係のないタイミングでラッチされたカウンタ値が乱数として取得されてしまうおそれがある。   However, in the gaming machine described in Patent Document 1, the random number generation circuit is provided as an external circuit of the game control microcomputer, and the condition for latching the counter value and the reading of the latched counter value are performed. The counter value is set separately, and the counter value is latched every time the latch signal is output. Therefore, if the latch circuit malfunctions due to noise on the latch signal after the latch signal is generated based on the start prize and the counter value is latched and is read into the microcomputer, the start prize is There is a possibility that the counter value latched at a timing unrelated to the occurrence of the occurrence of the error will be acquired as a random number.

さらに、ラッチされたカウンタ値がマイクロコンピュータに読み込まれるまでの間に、カウンタ値の更新タイミングを予測してラッチ信号を不正に操作し、強制的に所望のカウンタ値をラッチさせて当選させる等の不正行為が行われるおそれがあるという新たな問題が発生し、このような問題の解決が急務となっている。   Furthermore, until the latched counter value is read into the microcomputer, the update timing of the counter value is predicted, the latch signal is manipulated illegally, and the desired counter value is forcibly latched and won, etc. There is a new problem that there is a risk of fraud, and there is an urgent need to resolve such a problem.

本発明は、上記のような課題に着目してなされたもので、クロック信号を計数するカウンタの値を大当り等の判定に用いられる乱数値とする遊技機において、ノイズにより誤った乱数値が記憶されるのを防止し遊技球の入賞に基づいてラッチされたカウンタの値を確実に遊技制御で使用できるようにすると共に、不正行為を困難にすることを目的とする。   The present invention has been made paying attention to the problems as described above. In a gaming machine in which the value of a counter that counts a clock signal is a random value used for determining a big hit or the like, an erroneous random number value is stored due to noise. An object of the present invention is to make it possible to prevent use of the counter value latched based on the winning of a game ball and ensure that it can be used in game control, and to make illegal activities difficult.

請求項1に記載の発明は、
始動領域および複数の入賞部が設けられた遊技領域と、前記始動領域を通過する遊技球を検出する始動入賞検出手段と、前記遊技領域における入賞部への入賞に応じて遊技価値を付与し、前記始動領域への遊技球の通過に応じて補助遊技を実行し、前記補助遊技が特別な結果になった場合に遊技者に特典を付与する遊技制御手段とを備えた遊技機において、
前記遊技制御手段は、
所定の周期のクロック信号に基づいて所定の範囲において計数動作をするカウンタ手段と、
前記始動入賞検出手段の検出結果に基づいて前記カウンタ手段が計数したカウンタ値を取り込んで保持するカウンタ値保持手段と、
所定時間毎に発生する割込み信号に基づいて割込み処理を実行する割込み処理実行手段と、
前記カウンタ値保持手段から取得されるカウンタ値を記憶するカウンタ値記憶手段と、
前記始動入賞検出手段からの検出結果に基づき前記カウンタ値保持手段が保持しているカウンタ値を取得して前記カウンタ値記憶手段に記憶するカウンタ値取得手段と、を備え、
前記割込み処理実行手段は、
前記始動入賞検出手段からの検出結果に基づき所定条件が成立している場合に、前記カウンタ値記憶手段に記憶されているカウンタ値を前記補助遊技の制御において使用する乱数値として格納する乱数値格納手段と、
前記乱数値格納手段が前記カウンタ値記憶手段に記憶されているカウンタ値を乱数値として格納した後に前記カウンタ値記憶手段の記憶値を所定の値に設定するカウンタ値初期化手段と、を含んでいることを特徴とする。
The invention described in claim 1
A game area provided with a start area and a plurality of winning portions, a start winning detection means for detecting a game ball passing through the start area, and a game value according to winning in the winning section in the gaming area, In a gaming machine comprising a game control means for executing an auxiliary game in response to the passage of a game ball to the starting area and granting a privilege to a player when the auxiliary game has a special result,
The game control means includes
Counter means for counting in a predetermined range based on a clock signal of a predetermined period;
Counter value holding means for capturing and holding the counter value counted by the counter means based on the detection result of the start winning detection means;
Interrupt processing execution means for executing interrupt processing based on an interrupt signal generated every predetermined time;
Counter value storage means for storing a counter value acquired from the counter value holding means;
Counter value acquisition means for acquiring the counter value held by the counter value holding means based on the detection result from the start winning detection means and storing it in the counter value storage means;
The interrupt processing execution means includes
Random value storage for storing a counter value stored in the counter value storage means as a random value used in the control of the auxiliary game when a predetermined condition is established based on a detection result from the start winning detection means Means,
Counter value initialization means for setting the stored value of the counter value storage means to a predetermined value after the random value storage means stores the counter value stored in the counter value storage means as a random value. It is characterized by being.

ここで、「始動領域」とは、特図変動表示ゲームの始動条件を与える始動口の他、始動条件と共に賞品球も付与する始動入賞口、普図変動表示ゲームの始動条件を与える始動ゲートを含む。「補助遊技」とは、表示装置や表示器を使用した変動表示ゲームのことである。また、「特別な結果」とはいわゆる大当り組み合わせと呼ばれるゲーム結果のことである。「タイマ割込み処理実行手段」は、CPUとCPUが実行するプログラムとによって構成することができる。「所定条件が成立している場合」とは、記憶可能な始動入賞の数に上限値が設定されている場合に、上限値に達していないことなどである。   Here, the “starting area” refers to a starting gate for giving a starting condition for a special figure variation display game, a starting winning opening for giving a prize ball together with the starting condition, and a starting gate for giving a starting condition for a general figure changing display game. Including. The “auxiliary game” is a variable display game using a display device or a display. The “special result” is a game result called a so-called jackpot combination. The “timer interrupt process execution means” can be constituted by a CPU and a program executed by the CPU. “When the predetermined condition is satisfied” means that the upper limit is not reached when the upper limit is set for the number of start winnings that can be stored.

請求項1に記載の発明によれば、カウンタ手段が所定の周期のクロック信号に基づいて計数動作し、その計数値としてのカウンタ値が始動入賞検出手段の検出結果に基づいてカウンタ値保持手段に取り込まれて保持され、このカウンタ値保持手段が保持しているカウンタ値を、カウンタ値取得手段が始動入賞検出手段の検出結果に基づき取得して記憶手段に記憶する。また、記憶手段に記憶されたカウンタ値は、割込み処理実行手段に含まれる乱数値格納手段が始動入賞検出手段の検出結果に基づき補助遊技の制御において使用する乱数値として格納する。これにより、ノイズ等の影響によってカウンタ値保持手段が誤ってカウンタ値を取り込んだとしても、誤った乱数値が取得されて記憶されてしまうのを防止することができる。さらに、乱数値格納手段がカウンタ値記憶手段に記憶されているカウンタ値を乱数値として格納した後にカウンタ値記憶手段の記憶値を所定の値に設定するカウンタ値初期化手段を備えているため、回路の故障等何らかの不具合で乱数ラッチ割り込み処理が行われなくなった場合にも、取得済みのカウンタ値が重複して乱数値として記憶されるのを防止することができる。これにより、直前にラッチ乱数領域に保持されていた値が大当りに相当するものであった場合に、続けて大当りが発生するのを防止することができる。   According to the first aspect of the present invention, the counter means performs a counting operation based on a clock signal having a predetermined period, and the counter value as the counted value is stored in the counter value holding means based on the detection result of the start winning detection means. The counter value acquisition means acquires and holds the counter value held by the counter value holding means based on the detection result of the start winning detection means, and stores it in the storage means. The counter value stored in the storage means is stored as a random value used by the random number storage means included in the interrupt processing execution means in the control of the auxiliary game based on the detection result of the start winning detection means. As a result, even if the counter value holding means erroneously captures the counter value due to the influence of noise or the like, it is possible to prevent an erroneous random number value from being acquired and stored. Furthermore, since the random value storage means includes counter value initialization means for setting the stored value of the counter value storage means to a predetermined value after storing the counter value stored in the counter value storage means as a random value, Even when the random number latch interrupt processing is not performed due to some trouble such as a circuit failure, it is possible to prevent the acquired counter value from being stored as a random number value redundantly. As a result, when the value held in the latch random number area immediately before corresponds to the big hit, it is possible to prevent the big hit from occurring.

請求項2に記載の発明は、請求項1に記載の遊技機において、
前記カウンタ値保持手段に保持されているカウンタ値が前記カウンタ値取得手段によって取得が行われるまで、前記カウンタ値保持手段に保持されているカウンタ値の書き換えを禁止するカウンタ値変更禁止手段を備え、
前記カウンタ値変更禁止手段は、
前記カウンタ値保持手段がカウンタ値を取り込んだことを条件に前記カウンタ値保持手段へのカウンタ値の取り込みを禁止するラッチ禁止手段と、
前記カウンタ値保持手段が保持しているカウンタ値を前記カウンタ値取得手段が取得したことを条件に、前記カウンタ値保持手段へのカウンタ値の取込みを許可するラッチ許可手段と、を含み、
前記ラッチ許可手段は、
前記カウンタ値保持手段が保持している値をクリアした後に、前記カウンタ値保持手段へのカウンタ値の取込みを許可することを特徴とする。
The invention according to claim 2 is the gaming machine according to claim 1,
A counter value change prohibiting unit that prohibits rewriting of the counter value held in the counter value holding unit until the counter value held in the counter value holding unit is acquired by the counter value acquiring unit;
The counter value change prohibiting means includes:
Latch prohibiting means for prohibiting the counter value from being taken into the counter value holding means on the condition that the counter value holding means has taken in the counter value;
Latch permitting means for permitting the counter value holding means to take in the counter value on the condition that the counter value holding means has acquired the counter value held by the counter value holding means,
The latch permission means includes
After the value held by the counter value holding unit is cleared, the counter value holding unit is allowed to take in the counter value.

請求項2に記載の発明によれば、カウンタ値変更禁止手段によって、カウンタ値保持手段に取り込まれたカウンタ値がカウンタ値取得手段によって取得されるまで変更が禁止されるため、ノイズ等の影響によって、誤ったタイミングのカウンタ値を取得してしまうのをより確実に防止することができる。また、不正行為によってCPUが不正なカウンタ値を取得してしまうのを防止することができ、不正に対して強くすることができる。
また、請求項2に記載の発明によれば、カウンタ値取得手段がカウンタ値を取得した後にカウンタ値保持手段が保持している値をクリアすることで、回路が故障してカウンタ値のラッチが行われなくなった場合でも、取得済みのカウンタ値が重複して取得されるのを回避することができる。これにより、直前にカウンタ値保持手段に保持されていた値が大当りに相当するものであった場合に、続けて大当りが発生するのを防止することができるようになる。
According to the second aspect of the present invention, the counter value change prohibiting unit prohibits the change until the counter value fetched by the counter value holding unit is acquired by the counter value acquiring unit. Thus, it is possible to more reliably prevent the counter value at the wrong timing from being acquired. Further, it is possible to prevent the CPU from acquiring an illegal counter value due to an illegal act, and it is possible to be strong against the illegality.
According to the second aspect of the present invention, the counter value acquisition unit clears the value held by the counter value holding unit after the counter value acquisition unit acquires the counter value, so that the circuit malfunctions and the counter value is latched. Even when it is not performed, it is possible to prevent the acquired counter value from being acquired in duplicate. As a result, when the value held in the counter value holding means immediately before is equivalent to the big hit, it is possible to prevent the big hit from occurring continuously.

なお、上記発明において、
前記カウンタ手段は前記クロック信号の立ち上がりまたは立ち下がりに応じて計数動作を行い、前記カウンタ値保持手段は前記クロック信号の立ち下がりまたは立ち上がりに応じて前記カウンタ手段が計数したカウンタ値を取り込むようにしてもよい。
In the above invention,
The counter means performs a counting operation in response to the rise or fall of the clock signal, and the counter value holding means takes in the counter value counted by the counter means in response to the fall or rise of the clock signal. Also good.

このようにすれば、カウンタ回路の値が変化するタイミングでカウンタ値のラッチがなされるのが回避され、カウンタ値が正確にラッチレジスタにラッチされるようになる。   In this way, the counter value is prevented from being latched at the timing when the value of the counter circuit changes, and the counter value is accurately latched in the latch register.

また、上記発明において、
前記遊技制御手段は、
システム用クロック信号と乱数用クロック信号を別々のクロック信号として供給するクロック信号供給手段と、
前記クロック信号供給手段から供給されるシステム用クロック信号と乱数用クロック信号のいずれかのクロック信号を選択して前記カウンタ手段へ供給するクロック信号選択手段と、を備え、
前記カウンタ手段は、前記クロック信号選択手段によって選択されたクロック信号に基づいて前記カウンタ値の更新を行うようにしてもよい。
In the above invention,
The game control means includes
Clock signal supply means for supplying the system clock signal and the random number clock signal as separate clock signals;
A clock signal selection unit that selects any one of a system clock signal and a random number clock signal supplied from the clock signal supply unit and supplies the selected clock signal to the counter unit;
The counter means may update the counter value based on the clock signal selected by the clock signal selection means.

このようにすれば、いずれのクロック信号でカウンタ値が更新されているか外部から分かりにくくなるとともに、乱数を生成するカウンタ手段の更新タイミングを特定することが困難となり、不正が行われにくくすることができる。   In this way, it is difficult to determine from which external clock value the counter value is updated, and it becomes difficult to specify the update timing of the counter means for generating random numbers, making it difficult to perform fraud. it can.

また、上記発明において、
前記クロック信号選択手段は、
乱数用クロック信号の周波数とシステム用クロック信号の周波数を比較し、乱数用クロック信号の周波数がシステム用クロック信号の周波数より低いか判定を行うクロック信号比較判定手段と、
前記クロック信号比較判定手段によって乱数用クロック信号の周波数がシステム用クロック信号の周波数よりもが低いと判定された場合に、前記カウンタ手段へのクロック信号の供給を停止するクロック信号供給停止手段と、を含むようにしてもよい。
In the above invention,
The clock signal selection means includes
A clock signal comparison and determination means for comparing the frequency of the random number clock signal with the frequency of the system clock signal and determining whether the frequency of the random number clock signal is lower than the frequency of the system clock signal;
Clock signal supply stopping means for stopping supply of the clock signal to the counter means when the clock signal comparison determining means determines that the frequency of the random number clock signal is lower than the frequency of the system clock signal; May be included.

このようにすれば、不正を行おうとするものがクロック入力端子に不正な操作を行なって不正な乱数値を取得しようとしてもそれを防止することができる。   In this way, it is possible to prevent an unauthorized person from trying to acquire an unauthorized random number value by performing an unauthorized operation on the clock input terminal.

本発明によれば、クロック信号を計数するカウンタの値を大当り等の判定に用いられる乱数値とする遊技機において、クロック信号を計数するカウンタの値を大当り等の判定に用いられる乱数値とする遊技機において、ノイズにより誤った乱数値が記憶されるのを防止し遊技球の入賞に基づいてラッチされたカウンタの値を確実に遊技制御で使用できるようにすることが可能となる。また、不正行為を困難にすることができるという効果がある。   According to the present invention, in a gaming machine in which the value of the counter that counts the clock signal is a random value that is used for determination such as jackpot, the value of the counter that counts the clock signal is the random value that is used for determination such as jackpot. In the gaming machine, it is possible to prevent an erroneous random number value from being stored due to noise and to reliably use the counter value latched based on the winning of the game ball in the game control. In addition, there is an effect that it is possible to make the illegal act difficult.

本発明に係る遊技機を適用したパチンコ遊技機を備えた遊技装置の一実施形態を示す正面図である。It is a front view showing one embodiment of a gaming machine provided with a pachinko gaming machine to which the gaming machine according to the present invention is applied. 実施形態の遊技機の裏面の構成例を示す背面図である。It is a rear view which shows the structural example of the back surface of the game machine of embodiment. 実施形態の遊技機における遊技盤の実施例を示す正面図である。It is a front view showing an example of a game board in the gaming machine of the embodiment. 実施形態の遊技機の裏面に設けられる制御システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the control system provided in the back surface of the game machine of embodiment. 図4の制御システムの遊技制御装置を構成する遊技用マイクロコンピュータの構成例を示すブロック図である。It is a block diagram which shows the structural example of the microcomputer for games which comprises the game control apparatus of the control system of FIG. 図5の遊技用マイクロコンピュータに設けられた乱数生成回路およびクロックジェネレータの構成例を示すブロック図である。FIG. 6 is a block diagram illustrating a configuration example of a random number generation circuit and a clock generator provided in the gaming microcomputer of FIG. 5. 図6の乱数生成回路におけるカウンタ回路の更新タイミングとカウンタ値のラッチタイミングとの関係を示すタイミングチャートである。7 is a timing chart showing a relationship between a counter circuit update timing and a counter value latch timing in the random number generation circuit of FIG. 6; 図6の乱数生成回路の乱数制御装置によって行われるラッチレジスタの保持制御の具体的な手順を示すフローチャートである。7 is a flowchart showing a specific procedure of latch register holding control performed by the random number control device of the random number generation circuit of FIG. 6. 図6の乱数生成回路の乱数制御装置によって行われるラッチデータ読込み時制御の具体的な手順を示すフローチャートである。It is a flowchart which shows the specific procedure of the control at the time of the latch data reading performed by the random number control apparatus of the random number generation circuit of FIG. 図6の乱数生成回路の乱数制御装置によって行われるハード乱数クロック監視制御の具体的な手順を示すフローチャートである。It is a flowchart which shows the specific procedure of the hard random number clock monitoring control performed by the random number control apparatus of the random number generation circuit of FIG. 遊技制御装置の遊技用マイコンによって実行される遊技制御のうちメイン処理の具体的な手順の一例の前半部分を示すフローチャートである。It is a flowchart which shows the first half part of an example of the specific procedure of a main process among the game controls performed by the game microcomputer of a game control apparatus. 遊技制御装置の遊技用マイコンによって実行される遊技制御のうちメイン処理の具体的な手順の一例の後半部分を示すフローチャートである。It is a flowchart which shows the second half part of an example of the specific procedure of a main process among the game controls performed by the game microcomputer of a game control apparatus. 遊技制御装置の遊技用マイコンによって実行される遊技制御のうちタイマ割込み処理の具体的な手順の一例を示すフローチャートである。It is a flowchart which shows an example of the specific procedure of a timer interruption process among the game controls performed by the game microcomputer of a game control apparatus. 図13のタイマ割込み処理中に実行される特図ゲーム処理の具体的な手順の一例を示すフローチャートである。It is a flowchart which shows an example of the specific procedure of the special figure game process performed during the timer interruption process of FIG. 図14の特図ゲーム処理中に実行される第1発明の第1の実施例の始動口SW2監視処理の具体的な手順の一例を示すフローチャートである。It is a flowchart which shows an example of the specific procedure of the start port SW2 monitoring process of 1st Example of 1st invention performed during the special figure game process of FIG. 第1発明の第2の実施例における始動口SW2監視処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the start port SW2 monitoring process in 2nd Example of 1st invention. 第1発明の第3の実施例における乱数ラッチ割込み処理の具体的な手順の一例を示すフローチャートである。It is a flowchart which shows an example of the specific procedure of the random number latch interruption process in 3rd Example of 1st invention. 第1発明の第3の実施例における始動口SW2監視処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the start port SW2 monitoring process in 3rd Example of 1st invention. 第2発明、第3発明の実施例における始動入賞検出に基づいて実行される乱数ラッチ割込み処理の具体的な手順の一例を示すフローチャートである。It is a flowchart which shows an example of the specific procedure of the random number latch interruption process performed based on the start winning detection in the Example of 2nd invention, 3rd invention. 図14の特図ゲーム処理中に実行される第2発明、第3発明の実施例における始動口SW2監視処理の具体的な手順の一例を示すフローチャートである。It is a flowchart which shows an example of the specific procedure of start port SW2 monitoring process in the Example of the 2nd invention and 3rd invention performed during the special figure game process of FIG. 第4発明の実施例において始動入賞検出に基づいて実行される乱数ラッチ割込み処理の具体的な手順の一例を示すフローチャートである。It is a flowchart which shows an example of the specific procedure of the random number latch interruption process performed based on the start winning detection in the Example of 4th invention. 図21の乱数ラッチ割込み処理の中で使用される第4発明の実施例における始動口入賞記憶領域の構成例を示す説明図である。It is explanatory drawing which shows the structural example of the start opening prize memory | storage area | region in the Example of the 4th invention used in the random number latch interruption process of FIG. 図14の特図ゲーム処理中に実行される第4発明の実施例における始動口SW監視処理の手順の概略を示すフローチャートである。It is a flowchart which shows the outline of the procedure of the start port SW monitoring process in the Example of the 4th invention performed during the special figure game process of FIG. 図23の始動口SW監視処理中に実行される第4発明の実施例における始動口1SW監視処理の具体的な手順の一例を示すフローチャートである。It is a flowchart which shows an example of the specific procedure of the start port 1SW monitoring process in the Example of the 4th invention performed during the start port SW monitoring process of FIG. 図23の始動口SW監視処理中に実行される第4発明の実施例における始動口2SW監視処理の具体的な手順の一例を示すフローチャートである。It is a flowchart which shows an example of the specific procedure of the start port 2SW monitoring process in the Example of the 4th invention performed during the start port SW monitoring process of FIG. 第5発明の第1実施例において始動入賞検出に基づいて実行される乱数ラッチ割込み処理の具体的な手順の一例を示すフローチャートである。It is a flowchart which shows an example of the specific procedure of the random number latch interruption process performed based on the start winning detection in 1st Example of 5th invention. 図14の特図ゲーム処理中に実行される第5発明の実施例における始動口SW2監視処理の具体的な手順の一例を示すフローチャートである。It is a flowchart which shows an example of the specific procedure of the start port SW2 monitoring process in the Example of the 5th invention performed during the special figure game process of FIG. 第5発明の第2実施例において始動入賞検出に基づいて実行される乱数ラッチ割込み処理の手順の一例を示すフローチャートである。It is a flowchart which shows an example of the procedure of the random number latch interruption process performed based on the start winning detection in 2nd Example of 5th invention.

以下、本発明の好適な実施の形態を図面に基づいて説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of the invention will be described with reference to the drawings.

図1は、本発明の一実施形態の遊技装置の説明図である。   FIG. 1 is an explanatory diagram of a gaming apparatus according to an embodiment of the present invention.

本実施形態の遊技装置は、遊技者が保有する遊技媒体数(遊技球数)もしくはそれに変換可能な金銭の額等の有価価値を記憶する記憶媒体が挿入されるカードユニット70及び実際に遊技を実行し遊技媒体を払出可能な遊技機10を備える。   The gaming device according to the present embodiment includes a card unit 70 into which a storage medium for storing a valuable value such as the number of gaming media (the number of gaming balls) held by the player or the amount of money that can be converted to the gaming media, and the game device. A gaming machine 10 capable of executing and paying out gaming media is provided.

遊技機10は、本体枠(外枠)11と前面枠12を備え、該前面枠12は本体枠(外枠)11にヒンジ13を介して開閉回動可能に組み付けられている。上記前面枠12の前面側に形成された収納部(図示省略)に、遊技盤50(図3参照)が収納されている。また、前面枠12には、遊技盤50の前面を覆うカバーガラス(透明部材)を備えたガラス枠15が取り付けられている。   The gaming machine 10 includes a main body frame (outer frame) 11 and a front frame 12, and the front frame 12 is assembled to the main body frame (outer frame) 11 via a hinge 13 so as to be openable and closable. A game board 50 (see FIG. 3) is stored in a storage portion (not shown) formed on the front side of the front frame 12. A glass frame 15 having a cover glass (transparent member) that covers the front surface of the game board 50 is attached to the front frame 12.

ガラス枠15のカバーガラスの周囲には、内部にランプやLED等からなる発光装置を備えた装飾部材16が設けられている。ガラス枠15の上方にも内部に発光装置を備えた照明ユニット17が設けられている。これらの発光装置が所定の態様に従って発光されることによって、遊技の演出効果を高める装飾発光や遊技状態を示す発光がなされる。   Around the cover glass of the glass frame 15, there is provided a decorative member 16 provided with a light emitting device composed of a lamp, LED, or the like. An illumination unit 17 having a light emitting device is also provided above the glass frame 15. When these light-emitting devices emit light according to a predetermined mode, decorative light emission that enhances the effect of the game and light emission that indicates a game state are emitted.

さらに、照明ユニット17の右側には、遊技機10のエラー発生や前面枠12の開放をホール店員に通知するためのエラー報知LED18が設けられている。ガラス枠12の下部左側には、音響(例えば、効果音)を発するスピーカ19が設けられている。   Further, an error notification LED 18 is provided on the right side of the lighting unit 17 for notifying the hall clerk of the occurrence of an error in the gaming machine 10 and the opening of the front frame 12. A speaker 19 that emits sound (for example, sound effects) is provided on the lower left side of the glass frame 12.

前面枠12の下部には開閉パネル20と固定パネル30が設けられ、開閉パネル20には、図示しない打球発射装置に遊技球を供給する上皿21が設けられ、該上皿21の上縁部には、遊技者からの操作入力を受け付けるためのセレクトスイッチ22及び操作スイッチ23が設けられている。また、固定パネル30には灰皿31、下皿32及び打球発射装置の操作部33等が設けられている。さらに、下皿32には、該下皿32に貯まった遊技球を排出するための下皿球抜き機構34が設けられている。   An opening / closing panel 20 and a fixed panel 30 are provided at the lower part of the front frame 12, and an upper plate 21 for supplying a game ball to a hitting ball launching device (not shown) is provided on the opening / closing panel 20. Are provided with a select switch 22 and an operation switch 23 for receiving an operation input from the player. Further, the fixed panel 30 is provided with an ashtray 31, a lower plate 32, an operation unit 33 of a ball striking device, and the like. Further, the lower tray 32 is provided with a lower tray ball removing mechanism 34 for discharging the game balls stored in the lower tray 32.

この実施形態の遊技装置にあっては、遊技者が上記操作部33を回動操作することによって、打球発射装置が、上皿21から供給される遊技球を発射する。また、遊技者がセレクトスイッチ22を操作することによって、遊技盤の中央に設けられている表示装置61(図3参照)における変動表示ゲームの演出内容を選択することができる。さらに、遊技者が操作スイッチ23を操作することによって、表示装置61で実行される変動表示ゲームにおいて、遊技者の操作を介入させた演出を行わせることができる。   In the gaming apparatus of this embodiment, the ball hitting device launches the gaming ball supplied from the upper plate 21 by the player turning the operation unit 33. Further, when the player operates the select switch 22, the contents of the effect of the variable display game on the display device 61 (see FIG. 3) provided in the center of the game board can be selected. Furthermore, when the player operates the operation switch 23, in the variable display game executed on the display device 61, an effect in which the player's operation is intervened can be performed.

上皿21の右上部には、遊技者が遊技媒体を借り受ける際に操作する球貸ボタン26、及び、カードユニット70からプリペイドカードを排出させるために操作する排出ボタン27が設けられている。また、これらのボタン26、27の間には、プリペイドカードの残高を表示する残高表示部28が設けられている。   A ball lending button 26 that is operated when a player borrows a game medium and a discharge button 27 that is operated to discharge a prepaid card from the card unit 70 are provided on the upper right portion of the upper plate 21. Between these buttons 26 and 27, a balance display unit 28 for displaying the balance of the prepaid card is provided.

遊技機10の左側に隣接して配置されているカードユニット70の下部には、プリペイドカード又は会員カード等のカードが挿入可能なカード挿入口71が設けられている。プリペイドカード又は会員カード等のカードには、当該カードの識別情報、当該カードの所有者(遊技者)の会員情報、及び残高等が記憶されている。会員情報には、カードの所有者の住所、氏名、年齢、及び職業等が含まれる。   A card insertion slot 71 into which a card such as a prepaid card or a membership card can be inserted is provided at the lower part of the card unit 70 disposed adjacent to the left side of the gaming machine 10. A card such as a prepaid card or a member card stores identification information of the card, member information of the owner (player) of the card, a balance, and the like. The membership information includes the card owner's address, name, age, occupation, and the like.

カード挿入口71にプリペイドカード又は会員カード等のカードが挿入された場合、内部のカードリーダ・ライタによって、カードに記憶された情報が読み出される。そして、読み出された情報のうちカード残高が、遊技機10の残高表示部28及びカードユニット70の中央付近に設けられた残高表示部72に表示される。   When a card such as a prepaid card or a membership card is inserted into the card insertion slot 71, information stored in the card is read out by an internal card reader / writer. Of the read information, the card balance is displayed on the balance display section 28 of the gaming machine 10 and the balance display section 72 provided near the center of the card unit 70.

残高表示部72の上方には、紙幣を挿入可能な紙幣挿入口73が設けられており、紙幣挿入口73に挿入された紙幣の金額は、カードに残高として記憶される。紙幣挿入口73の上方には、動作表示部74が設けられている。動作表示部74は、カードユニット70の動作状態に対応して発光色が変化される。   Above the balance display part 72, a bill insertion slot 73 into which a bill can be inserted is provided, and the amount of the bill inserted into the bill insertion slot 73 is stored as a balance on the card. An operation display unit 74 is provided above the bill insertion slot 73. The operation display unit 74 changes the emission color corresponding to the operation state of the card unit 70.

次に、図2を用いて遊技機10の裏面側の構成を説明する。図2は、本実施形態の遊技機10の背面図である。   Next, the configuration of the back side of the gaming machine 10 will be described with reference to FIG. FIG. 2 is a rear view of the gaming machine 10 of the present embodiment.

遊技機10の裏面側、具体的には、前面枠12の背部には、中央に略正方形状の開口部を有する枠状の裏機構盤40が取り付けられている。裏機構盤40の上部には、島設備に設けられた補給装置(図示省略)から補給された遊技球を貯留すると共に、貯留した遊技球を流下させる球貯留ユニット41が配設されている。裏機構盤40の側部(図2の右側)には、球貯留ユニット41から流下してきた遊技球を、遊技機前面に配設された上皿21及び下皿32に払い出す球排出ユニット42が配設されている。   A frame-like back mechanism board 40 having a substantially square opening at the center is attached to the back side of the gaming machine 10, specifically, the back of the front frame 12. A ball storage unit 41 that stores game balls replenished from a replenishment device (not shown) provided in the island facility and that causes the stored game balls to flow down is disposed above the back mechanism board 40. On the side of the back mechanism board 40 (the right side in FIG. 2), the ball discharge unit 42 that pays out the game balls flowing down from the ball storage unit 41 to the upper plate 21 and the lower plate 32 disposed in front of the game machine. Is arranged.

裏機構盤40の中央部には、遊技を統括的に制御する遊技制御装置100と、遊技制御装置100から送信される演出制御指令に基づいて変動表示ゲームの演出を制御する演出制御装置150とが配設され、遊技制御装置100には、検査装置に接続される検査装置接続端子107が配設されている。   In the central portion of the back mechanism board 40, there are a game control device 100 that controls the game in an integrated manner, and an effect control device 150 that controls the effect of the variable display game based on the effect control command transmitted from the game control device 100. The game control device 100 is provided with an inspection device connection terminal 107 connected to the inspection device.

裏機構盤40の下部には、遊技制御装置100から送信されるデータに基づいて球排出ユニット42の動作を制御する払出制御装置200と、電源装置160とが配設されている。払出制御装置200には、検査装置に接続される検査装置接続端子217及び払出制御装置200に発生したエラーの種類を数字で表示するエラーナンバー表示器43が配設されている。また、電源装置160の右側には、遊技機10をカードユニット70に接続するためのカードユニット接続端子170が配設されている。   Under the back mechanism board 40, a payout control device 200 for controlling the operation of the ball discharge unit 42 based on data transmitted from the game control device 100, and a power supply device 160 are disposed. The payout control device 200 is provided with an inspection device connection terminal 217 connected to the inspection device and an error number display 43 that displays the type of error that has occurred in the payout control device 200 in numbers. A card unit connection terminal 170 for connecting the gaming machine 10 to the card unit 70 is provided on the right side of the power supply device 160.

次に、遊技盤50について、図3を用いて説明する。図3は、本実施形態の遊技盤50の正面図である。   Next, the game board 50 will be described with reference to FIG. FIG. 3 is a front view of the game board 50 of the present embodiment.

遊技盤50の表面には、ガイドレール53で囲われた略円形状の遊技領域51が形成されている。遊技領域51は、遊技盤50の四方に各々設けられた樹脂製のサイドケース52及びガイドレール53によって構成される。   On the surface of the game board 50, a substantially circular game area 51 surrounded by guide rails 53 is formed. The game area 51 is configured by resin side cases 52 and guide rails 53 provided on each side of the game board 50.

遊技領域51には、ほぼ中央に表示装置61を備えたセンターケース60が配置されている。表示装置61は、センターケース60に設けられた凹部に、センターケース60の前面より奥まった位置に取り付けられている。すなわち、センターケース60は表示装置61の表示領域の周囲を囲い、表示装置61の表示面よりも前方へ突出するように形成されている。   In the game area 51, a center case 60 provided with a display device 61 is disposed substantially at the center. The display device 61 is attached to a recess provided in the center case 60 at a position deeper than the front surface of the center case 60. That is, the center case 60 surrounds the display area of the display device 61 and is formed so as to protrude forward from the display surface of the display device 61.

表示装置61は、例えば、LCD(液晶表示器)、CRT(ブラウン管)等の表示画面を有する装置で構成されている。表示画面の画像を表示可能な領域(表示領域)には、複数の識別情報(特別図柄)や特図変動表示ゲームを演出するキャラクタが表示される。表示画面は1つであるが、複数(例えば3つ)の変動表示領域を有するとみることができ、各変動表示領域には、識別情報として割り当てられた特別図柄が変動表示(可変表示)して特図変動表示ゲームが行われる。その他、表示画面には遊技の進行に基づく画像(例えば、大当たり表示、ファンファーレ表示、エンディング表示等)が表示される。   The display device 61 is configured by a device having a display screen such as an LCD (Liquid Crystal Display) or a CRT (CRT). In the area (display area) where the image of the display screen can be displayed, a plurality of pieces of identification information (special symbols) and a character that produces a special figure variation display game are displayed. Although there is only one display screen, it can be considered that there are a plurality of (for example, three) variable display areas. In each variable display area, special symbols assigned as identification information are variablely displayed (variably displayed). A special figure variation display game is played. In addition, an image based on the progress of the game (for example, jackpot display, fanfare display, ending display, etc.) is displayed on the display screen.

センターケース60の左側には、普通図柄始動ゲート54が設けられている。センターケース60の左下側には、三つの一般入賞口55が配置され、センターケース60の右下側には、一つの一般入賞口55が配置されている。また、センターケース60の下側には、始動入賞口56が、またその直下には開閉可能な普通変動入賞装置57aを備える始動入賞装置57が配設されている。   A normal symbol starting gate 54 is provided on the left side of the center case 60. Three general winning openings 55 are arranged on the lower left side of the center case 60, and one general winning opening 55 is arranged on the lower right side of the center case 60. In addition, a start winning port 56 is provided below the center case 60, and a start winning device 57 including an ordinary variable winning device 57a that can be opened and closed is disposed immediately below the start winning port 56.

さらに、始動入賞装置57の下方には、表示装置61の変動結果によって遊技球を受け入れない状態と受け入れ易い状態とに変換可能な特別変動入賞装置(大入賞口)58が配設される。また、遊技盤50の右上には、セグメント型表示器などからなる普図表示器62と、特図表示器63と、特図変動表示ゲーム及び普図変動表示ゲームの未処理回数を表示する発光表示ユニット64が設けられている。普図表示器62は、遊技球が普通図柄始動ゲート54を通過した場合に行われる変動表示ゲームが表示される。特図表示器63には、遊技球が始動入賞口56または始動入賞装置57に入賞した場合に行われる変動表示ゲームが表示される。   Further, below the start winning device 57, a special variable winning device (large winning port) 58 that can be converted into a state where the game ball is not accepted and a state where it is easy to accept depending on the variation result of the display device 61 is disposed. Also, on the upper right of the game board 50, a general map display 62 composed of a segment type display, a special map display 63, a light emission for displaying the number of unprocessed special map display games and the general map display game. A display unit 64 is provided. The general-purpose display 62 displays a variable display game that is performed when the game ball passes the normal symbol start gate 54. The special display 63 displays a variable display game that is performed when a game ball wins the start winning opening 56 or the start winning device 57.

本実施形態の遊技機10では、図示しない発射装置から遊技領域51に向けて遊技球(パチンコ球)が打ち出されることによって遊技が行われる。打ち出された遊技球は、遊技領域51内の各所に配置された障害釘や風車等の方向転換部材によって転動方向を変えながら遊技領域51を流下し、普通図柄始動ゲート54、一般入賞口55、始動入賞口56、始動入賞装置57又は特別変動入賞装置58に入賞するか、遊技領域51の最下部に設けられたアウト口59へ流入し遊技領域から排出される。   In the gaming machine 10 of the present embodiment, a game is played by launching a game ball (pachinko ball) from a launching device (not shown) toward the game area 51. The launched game balls flow down the game area 51 while changing the rolling direction by means of direction changing members such as obstacle nails and windmills arranged in various places in the game area 51, and the normal symbol start gate 54 and the general winning opening 55 The winning prize opening 56, the starting prize winning device 57 or the special variable prize winning device 58 is won, or it flows into the out port 59 provided at the bottom of the gaming area 51 and is discharged from the gaming area.

なお、始動入賞装置57の状態には、普通変動入賞装置57aの開閉によって、遊技球が入賞しやすい状態と遊技球が入賞しにくい状態とがある。通常、普通変動入賞装置57aは閉状態であり、始動入賞装置57は、遊技球が入賞しにくい状態にされている。普通図柄始動ゲート54を遊技球が通過することによって、普図表示器62で普図変動表示ゲームが実行され、普図変動表示ゲームの結果、当たり状態が発生すると、普通変動入賞装置57aが開状態に変換され、始動入賞装置57は遊技球が入賞し易い状態となる。   The start winning device 57 includes a state in which a game ball is likely to win a prize and a state in which a game ball is difficult to win by opening and closing the normal variation winning device 57a. Normally, the normal variation winning device 57a is in a closed state, and the starting winning device 57 is in a state where it is difficult for a game ball to win. When the game ball passes through the normal symbol start gate 54, the normal figure display game is executed on the normal figure display device 62. When a win state occurs as a result of the general figure change display game, the normal fluctuation winning device 57a is opened. It is converted into a state, and the start winning device 57 is in a state where the game ball is easy to win.

一般入賞口55への遊技球の入賞は、一般入賞口55に設けられた一般入賞口スイッチ55a〜55n(図4参照)によって検出される。始動入賞口56への遊技球の入賞は特図始動スイッチ56a(図4参照)によって、始動入賞装置57への遊技球の入賞は特図始動スイッチ57bによって検出される。この遊技球の通過タイミングによって抽出された特別図柄乱数カウンタ値は、遊技制御装置100内の特図記憶領域(RAMの一部)に特別図柄入賞記憶として所定回数(例えば、最大で4回分)を限度に記憶される。そして、この特別図柄入賞記憶の記憶数は、発光表示ユニット64及び表示装置61の特別図柄入賞記憶数表示部(複合記憶表示部)に表示される。遊技制御装置100は、特別図柄入賞もしくはその記憶に基づいて、特図表示器63で特図変動表示ゲームを行うとともに、表示装置61にて演出表示としての飾り特図変動表示ゲームを行う。   The winning of a game ball in the general winning opening 55 is detected by general winning opening switches 55a to 55n (see FIG. 4) provided in the general winning opening 55. The winning of the game ball to the start winning opening 56 is detected by the special figure start switch 56a (see FIG. 4), and the winning of the game ball to the start winning apparatus 57 is detected by the special figure start switch 57b. The special symbol random number counter value extracted by the passing timing of the game ball is stored as a special symbol winning memory in the special symbol storage area (a part of the RAM) in the game control device 100 for a predetermined number of times (for example, up to four times). Remembered to the limit. The stored number of special symbol winning memories is displayed on the special symbol winning memory number display section (composite storage display section) of the light emitting display unit 64 and the display device 61. Based on the special symbol winning or the memory thereof, the game control device 100 performs a special diagram variation display game on the special diagram display 63 and also performs a decoration special diagram variation display game as an effect display on the display device 61.

始動入賞口56または始動入賞装置57に遊技球の入賞があると、表示装置61で、前述した数字等で構成される特別図柄(識別情報)が左(第一特別図柄)、右(第二特別図柄)、中(第三特別図柄)の順に変動表示を開始して、特図変動表示ゲームに関する画像が表示される。つまり、表示装置61では、特別図柄入賞記憶の記憶数に対応する特別図柄変動表示ゲームが行われ、興趣向上のために多様な表示を演出する。   When a game ball is won at the start winning opening 56 or the start winning device 57, the special symbol (identification information) composed of the numbers and the like is displayed on the left (first special symbol) and right (second) on the display device 61. Fluctuation display is started in the order of special symbol) and medium (third special symbol), and an image relating to the special symbol variation display game is displayed. That is, in the display device 61, a special symbol variation display game corresponding to the number of stored special symbol winning memories is performed, and various displays are produced to improve interest.

始動入賞口56または始動入賞装置57への入賞が所定のタイミングでなされたとき(具体的には、入賞検出時の当たり乱数値が当たり値であるとき)には特図変動表示ゲームの結果として表示図柄により特定の結果態様(特別結果態様)が導出されて、大当たり状態となる。具体的には、表示装置61の特別図柄入賞記憶表示部では、当たり図柄である一桁の特別図柄で停止して、表示装置61は、三つの特別図柄が揃った状態(大当り図柄)で停止する。これに応じて、特別変動入賞装置58は、内蔵されている大入賞口ソレノイド58b(図4参照)が駆動されることによって、所定の時間だけ遊技球を受け入れない閉状態から遊技球を受け入れやすい開状態に変換され、遊技者は多くの賞球を獲得することができるという特典が付与される。   As a result of the special figure variation display game, when the winning to the starting winning opening 56 or the starting winning device 57 is made at a predetermined timing (specifically, when the winning random number at the time of winning detection is a winning value). A specific result mode (special result mode) is derived from the display symbol, and the jackpot state is obtained. Specifically, in the special symbol winning memory display unit of the display device 61, the display device 61 stops at a single-digit special symbol that is a winning symbol, and the display device 61 stops in a state where three special symbols are aligned (a big winning symbol). To do. In response to this, the special variable prize winning device 58 is easy to accept a game ball from a closed state in which a game ball is not accepted for a predetermined time by driving a built-in large prize opening solenoid 58b (see FIG. 4). It is converted to the open state, and a privilege that the player can acquire many prize balls is given.

特別変動入賞装置58への遊技球の入賞は、カウントスイッチ58a(図4参照)によって検出される。普通図柄始動ゲート54への遊技球の通過は、普図始動スイッチ54a(図4参照)で検出される。この遊技球の通過タイミングによって抽出された普通図柄乱数カウンタ値は、遊技制御装置100内の普図記憶領域(RAMの一部)に普通図柄入賞記憶として所定回数(例えば、最大で4回分)を限度に記憶される。そして、この普図入賞記憶の記憶数は、表示装置61の図示しない普図入賞記憶数表示部に表示される。   The winning of a game ball to the special variation winning device 58 is detected by a count switch 58a (see FIG. 4). The passing of the game ball to the normal symbol start gate 54 is detected by a normal diagram start switch 54a (see FIG. 4). The normal symbol random number counter value extracted by the passing timing of the game ball is stored in the normal symbol storage area (a part of the RAM) in the game control device 100 as a normal symbol winning memory a predetermined number of times (for example, up to four times). Remembered to the limit. Then, the number of the memorized winning prize memories is displayed on a not-illustrated memorized winning prize memory number display section of the display device 61.

普図入賞記憶があると、遊技制御装置100は、普図入賞記憶に基づいて普図入賞記憶数表示部で普図変動表示ゲームを開始する。すなわち、普通図柄始動ゲート54への通過検出が所定のタイミングでなされたとき(具体的には、通過検出時の普図乱数カウンタ値が当たり値であるときには)には、普図入賞記憶数表示部に表示される普通図柄が当たり状態で停止し、当たり状態となる。このとき、普通変動入賞装置57aは、内蔵されている普電ソレノイド57c(図4参照)が駆動されることにより、所定の時間だけ開放するように変換され、遊技球の始動入賞装置57への入賞が許容される。なお、普通変動入賞装置57aの開放時間は、例えば、確率変動状態及び変動時間短縮状態では2.9秒間、通常遊技状態では0.5秒間として、遊技状態に応じて開放態様が変化するように制御することができる。   When there is a general-purpose winning memory, the game control device 100 starts a general-game variable display game on the general-purpose winning memory display section based on the general-purpose winning memory. That is, when the passage detection to the normal symbol start gate 54 is performed at a predetermined timing (specifically, when the common random number counter value at the time of passage detection is a winning value), the common symbol winning memory number display is performed. The normal symbol displayed on the part stops in the hit state and enters the hit state. At this time, the normal variation winning device 57a is converted so as to be opened for a predetermined time by driving the built-in power solenoid 57c (see FIG. 4), so that the game ball starting winning device 57 is supplied to the starting winning device 57. Winning is allowed. The opening time of the normal variation winning device 57a is, for example, 2.9 seconds in the probability variation state and the variation time shortened state, and 0.5 seconds in the normal gaming state so that the opening mode changes according to the gaming state. Can be controlled.

このようにして、一般入賞口55、始動入賞口56、57又は特別変動入賞装置58に遊技球が入賞すると、入賞した入賞口の種類に応じた数の賞球が払出制御装置200によって制御される払出ユニット42から、前面枠12の上皿21又は下皿32に排出される。   In this way, when a game ball wins the general winning opening 55, the start winning opening 56, 57, or the special variable winning device 58, the number of winning balls corresponding to the type of the winning winning port is controlled by the payout control device 200. From the dispensing unit 42 to the upper plate 21 or the lower plate 32 of the front frame 12.

図4は、本実施形態の遊技装置の制御システムのブロック図である。   FIG. 4 is a block diagram of the control system of the gaming device according to the present embodiment.

遊技機10は遊技制御装置100を備え、遊技制御装置100は、遊技用マイコン110、入力I/F(Interface)105、出力I/F(Interface)106及び検査装置接続端子107を備え、上記遊技用マイコン110は、CPU111、ROM(Read Only Memory)112及びRAM(Random Access Memory)113を備える。   The gaming machine 10 includes a game control device 100. The game control device 100 includes a game microcomputer 110, an input I / F (Interface) 105, an output I / F (Interface) 106, and an inspection device connection terminal 107. The microcomputer 110 includes a CPU 111, a ROM (Read Only Memory) 112, and a RAM (Random Access Memory) 113.

CPU111は、遊技を統括的に制御する主制御装置であって、遊技制御を司る。ROM112は、遊技制御のための不変の情報(プログラム、固定データ等)を記憶している。RAM113は、遊技制御時にCPUの作業領域を提供するワークエリアとして利用される。   The CPU 111 is a main control device that controls the game in an integrated manner, and controls the game. The ROM 112 stores invariant information (program, fixed data, etc.) for game control. The RAM 113 is used as a work area that provides a work area for the CPU during game control.

遊技制御装置100には検査装置接続端子107が設けられており、検査装置接続端子107からは、遊技用マイコン110に設定された識別番号を出力することができる。これによって、検査装置接続端子107に検査装置を接続すると、検査装置は遊技機10を識別することができる。また、遊技制御装置100は外部情報端子108に接続されており、遊技機10に関する情報を、外部情報端子108を介して、遊技店に設置された情報収集端末や遊技場内部管理装置(図示省略)に出力する。   The gaming control device 100 is provided with an inspection device connection terminal 107, and an identification number set in the gaming microcomputer 110 can be output from the inspection device connection terminal 107. Accordingly, when the inspection device is connected to the inspection device connection terminal 107, the inspection device can identify the gaming machine 10. Further, the game control device 100 is connected to an external information terminal 108, and information related to the gaming machine 10 is sent via the external information terminal 108 to an information collection terminal or a game hall internal management device (not shown) installed in the game store. ).

遊技制御装置100には、各種検出装置(特図始動スイッチ56a,57b、普図始動スイッチ54a、カウントスイッチ58a、一般入賞口スイッチ55a〜55n、オーバーフロースイッチ32a、枠開放スイッチ12a及び球切れスイッチ41a)からの検出信号が入力される。オーバーフロースイッチ32aは、下皿32に遊技球が所定数以上貯留されていることを検出する。枠開放スイッチ12aは、前面枠12が開いたことを検出する。球切れスイッチ41aは、球貯留ユニット41に配設され、球貯留ユニット41に貯留される遊技球が所定数以下になることを検出する。   The game control device 100 includes various detection devices (special drawing start switches 56a and 57b, a general drawing start switch 54a, a count switch 58a, general winning opening switches 55a to 55n, an overflow switch 32a, a frame opening switch 12a, and a ball break switch 41a. ) Is input. The overflow switch 32a detects that a predetermined number or more of game balls are stored in the lower plate 32. The frame opening switch 12a detects that the front frame 12 is opened. The ball break switch 41a is disposed in the ball storage unit 41 and detects that the number of game balls stored in the ball storage unit 41 is equal to or less than a predetermined number.

遊技制御装置100に入力された上記各種検出装置からの検出信号は、入力I/F105を介してCPU111に入力され、CPU111はこれらの信号に基づいて大当り抽選等、種々の処理を行う。また、CPU111は、出力I/F106を介して、発光表示ユニット64、普図表示器62、特図表示器63、普電SOL(ソレノイド)90、大入賞口SOL(ソレノイド)38、払出制御装置200及び演出制御装置150に指令信号を送信して、遊技を統括的に制御する。   Detection signals from the various detection devices input to the game control device 100 are input to the CPU 111 via the input I / F 105, and the CPU 111 performs various processes such as a big hit lottery based on these signals. In addition, the CPU 111 receives the light emitting display unit 64, the general-purpose display 62, the special-purpose display 63, the general-purpose SOL (solenoid) 90, the special winning opening SOL (solenoid) 38, and the payout control device via the output I / F 106. A command signal is transmitted to 200 and the effect control device 150 to control the game in an integrated manner.

さらに、遊技制御装置100は、球払出ユニット42の払出モータ42aを制御する払出制御装置200へ払出し指令信号を送信するとともに、演出制御装置150へ、変動開始コマンド、客待ちデモコマンド、ファンファーレコマンド、確率情報コマンド、及びエラー指定コマンド等を、演出制御指令信号として送信する。   Furthermore, the game control device 100 transmits a payout command signal to the payout control device 200 that controls the payout motor 42a of the ball payout unit 42, and also includes a change start command, a customer waiting demo command, a fanfare command, A probability information command, an error designation command, and the like are transmitted as an effect control command signal.

次に、払出制御装置200及び演出制御装置150について説明する。演出制御装置150は、遊技制御装置100から入力される各種信号に基づいて、エラー報知LED18、スピーカ19及び表示装置61を制御する。   Next, the payout control device 200 and the effect control device 150 will be described. The effect control device 150 controls the error notification LED 18, the speaker 19, and the display device 61 based on various signals input from the game control device 100.

払出制御装置200は、遊技制御装置100からの賞球払出し指令信号に従って、払出ユニット42の払出モータ42aを駆動させ、賞球を払い出させるための制御を行う。また、払出制御装置200は、カードユニット70からの貸球要求信号に基づいて遊技制御装置100から送信される払出指令信号に従って、払出ユニット42の払出モータ42aを駆動させ、貸球を払い出させるための制御を行う。   The payout control device 200 performs control for driving out the payout motor 42a of the payout unit 42 in accordance with the prize ball payout command signal from the game control device 100 so as to pay out the prize ball. In addition, the payout control device 200 drives the payout motor 42a of the payout unit 42 in accordance with the payout command signal transmitted from the game control device 100 based on the loan request signal from the card unit 70, and pays out the rental money. Control for.

払出制御装置200は、遊技用マイコン210、入力I/F(Interface)215、出力I/F(Interface)216及び検査装置接続端子217を備え、遊技用マイコン210は、CPU211、ROM212及びRAM213を備える。   The payout control device 200 includes a gaming microcomputer 210, an input I / F (Interface) 215, an output I / F (Interface) 216, and an inspection device connection terminal 217. The gaming microcomputer 210 includes a CPU 211, a ROM 212, and a RAM 213. .

CPU211は、払い出しを統括的に制御する制御装置であって、払出制御を司る。ROM212は、払出制御のための不変の情報(プログラム、データ等)を記憶している。RAM213は、払出制御時にワークエリアとして利用される。   The CPU 211 is a control device that comprehensively controls payout, and controls payout control. The ROM 212 stores invariant information (program, data, etc.) for payout control. The RAM 213 is used as a work area during payout control.

CPU211には、入力I/F215を介して払出ユニット42内の払出球検出スイッチ42b、オーバーフロースイッチ32a、付勢検出スイッチとしての枠開放スイッチ12a、球切れスイッチ41a、エラー解除スイッチ44からの信号が入力される。また、CPU211は、出力I/F216を介して、払出ユニット42内の払出モータ42a、発射制御装置180、エラーナンバー表示器43等の駆動信号を出力する。   The CPU 211 receives signals from the payout ball detection switch 42b in the payout unit 42, the overflow switch 32a, the frame opening switch 12a as the bias detection switch, the ball break switch 41a, and the error release switch 44 via the input I / F 215. Entered. Further, the CPU 211 outputs drive signals for the payout motor 42 a, the firing control device 180, the error number display 43 and the like in the payout unit 42 via the output I / F 216.

エラー解除スイッチ44は、払出制御装置200にエラーが発生した場合に、遊技店の店員等が発生したエラーの原因を解消した際に、遊技店の店員等によって操作され、エラー状態を解除するためのスイッチである。発射制御装置180は、遊技球を遊技領域51内に発射するための発射装置を制御する。エラーナンバー表示器43は、払出制御装置200の裏面側に配設され、払出制御装置200で発生したエラーの種類を特定可能に表示する。   The error release switch 44 is operated by the store clerk of the amusement store to cancel the error state when the cause of the error generated by the store clerk of the amusement store is resolved when an error occurs in the payout control device 200. It is a switch. The launch control device 180 controls a launch device for launching a game ball into the game area 51. The error number display 43 is disposed on the back side of the payout control device 200 and displays the type of error that has occurred in the payout control device 200 so as to be specified.

なお、遊技制御装置100、演出制御装置150、及び払出制御装置200は、電源装置160に接続される。電源装置160は、バックアップ電源161、RAMクリアスイッチ162を備える。バックアップ電源161は、停電時においても、遊技制御装置100、演出制御装置150、及び払出制御装置200に電源を供給する(演出制御装置150には供給しなくてもよい)。RAMクリアスイッチ162は、遊技制御装置100内のRAM113及び払出制御装置200内のRAM213に記憶されている情報を強制的に初期化するスイッチである。   Note that the game control device 100, the effect control device 150, and the payout control device 200 are connected to the power supply device 160. The power supply device 160 includes a backup power supply 161 and a RAM clear switch 162. The backup power supply 161 supplies power to the game control device 100, the effect control device 150, and the payout control device 200 even in the event of a power failure (it may not be supplied to the effect control device 150). The RAM clear switch 162 is a switch that forcibly initializes information stored in the RAM 113 in the game control device 100 and the RAM 213 in the payout control device 200.

また、遊技機10に設けられている球貸ボタン26が操作されると、カードユニット70は、プリペイドカード又は会員カード等のカードに記憶されている有価価値から貸し出される遊技球分の有価価値を減算して、減算された有価価値の値を遊技機10の残高表示部28に表示する。また、遊技機10に設けられている排出ボタン27が操作されると、カードユニット70は、カード挿入口71に挿入されているカードを排出する。   Further, when the ball lending button 26 provided on the gaming machine 10 is operated, the card unit 70 obtains the valuable value for the gaming ball lent from the valuable value stored in the card such as the prepaid card or the membership card. The value of the value obtained by the subtraction is displayed on the balance display unit 28 of the gaming machine 10. Further, when a discharge button 27 provided on the gaming machine 10 is operated, the card unit 70 discharges the card inserted into the card insertion slot 71.

図5は、上記遊技制御装置100を構成する遊技用マイクロコンピュータ(遊技用演算処理装置)110のより具体的な構成を示すブロック図、図6は乱数生成回路の具体的な構成を示すブロック図である。従来の遊技用マイクロコンピュータは、乱数生成回路が外付けの回路として構成され、接続されていたのに対し、この実施例の遊技用マイクロコンピュータは乱数生成回路を内蔵している点に大きな特徴がある。   FIG. 5 is a block diagram showing a more specific configuration of the game microcomputer (game arithmetic processing device) 110 constituting the game control device 100, and FIG. 6 is a block diagram showing a specific configuration of the random number generation circuit. It is. A conventional gaming microcomputer has a random number generation circuit configured and connected as an external circuit, whereas the gaming microcomputer of this embodiment has a significant feature in that it includes a random number generation circuit. is there.

この実施例の遊技用マイクロコンピュータ110は、遊技制御を行う遊技制御ブロック110Aと情報管理を行う管理ブロック110Bとに区分され、以下に説明する各回路ブロックを構成する素子が1つ半導体基板上に半導体集積回路(アミューズメントチップ)として形成されている。   The gaming microcomputer 110 of this embodiment is divided into a game control block 110A for performing game control and a management block 110B for managing information. One element constituting each circuit block described below is provided on a semiconductor substrate. It is formed as a semiconductor integrated circuit (amusement chip).

遊技制御ブロック110Aは、CPUコア111、プログラムROM112、ワークRAM113、外部バスインターフェース114、バス切換え回路115、復号化・ROM書込み回路116、ミラードRAM117、割込制御回路としての割込みコントローラ118、ブートブロック119、リセット割込み制御回路120、アドレスデコーダ121、出力制御回路122、クロックジェネレータ123、乱数生成回路124及びHWパラメータROM125などの機能ブロックを含む。これらの機能ブロックおよび管理ブロック110B間は、CPUバス126によって接続されている。   The game control block 110A includes a CPU core 111, a program ROM 112, a work RAM 113, an external bus interface 114, a bus switching circuit 115, a decryption / ROM writing circuit 116, a mirrored RAM 117, an interrupt controller 118 as an interrupt control circuit, and a boot block 119. , A reset interrupt control circuit 120, an address decoder 121, an output control circuit 122, a clock generator 123, a random number generation circuit 124, and a HW parameter ROM 125. These functional blocks and the management block 110B are connected by a CPU bus 126.

CPUコア111は、各種のレジスタ群、演算・論理部(ALU)、命令レジスタ(IR)、デコーダ、プログラムカウンタ(PC)、スタックポインタ(SP)、これらを結ぶデータバス、アドレスバス及び各種制御部をコア内に含み、例えば、Z80アーキテクチャで構成される。CPUコア111は、プログラムROM112に格納されている遊技制御プログラムをロードして実行することによって、遊技機10の制御に必要な各種機能をソフト的に実現する。   The CPU core 111 includes various register groups, an arithmetic / logic unit (ALU), an instruction register (IR), a decoder, a program counter (PC), a stack pointer (SP), a data bus connecting them, an address bus, and various control units. In the core, for example, configured with Z80 architecture. The CPU core 111 implements various functions necessary for controlling the gaming machine 10 by software by loading and executing the game control program stored in the program ROM 112.

ワークRAM113は、CPUコア111の主記憶に相当し、例えば、S−RAM等の高速半導体デバイスで構成される。また、ワークRAM113は、遊技ブロック110Aにおける遊技プログラムに基づく処理を実行する際にワークエリア(作業領域)として用いられる。なお、ワークRAM113は、遊技用マイクロコンピュータ110の端子群の一つに割り当てられた専用の端子を用いてバッテリバックアップ機能を付与できるようになっており、遊技機10の電源オフ後もその記憶内容を保持する。また、ワークRAM113は、そのチップイネーブルの禁止及び許可が、図示しないプロテクト回路によってコントロールされるようになっており、チップイネーブルの禁止状態中(遊技機10への電源非供給時)は読み出しおよび書き込みのいずれも行うことができない。   The work RAM 113 corresponds to the main memory of the CPU core 111, and is composed of, for example, a high-speed semiconductor device such as an S-RAM. The work RAM 113 is used as a work area (work area) when executing processing based on the game program in the game block 110A. The work RAM 113 can be provided with a battery backup function using a dedicated terminal assigned to one of the terminal groups of the gaming microcomputer 110, and the stored contents even after the gaming machine 10 is turned off. Hold. In addition, the work RAM 113 is controlled so that the chip enable is prohibited and permitted by a protection circuit (not shown), and is read and written while the chip enable is prohibited (when power is not supplied to the gaming machine 10). None of this can be done.

外部バスインターフェース114は、外部デバイスとの間で、メモリリクエスト信号、入出力リクエスト信号、メモリ書込信号又はメモリ読出信号及びモード信号等の各種信号の入出力制御を行うための回路である。バス切換え回路115は、図示しない外部バスとチップ内部の上記CPUバス126との間で、アドレス信号およびデータ信号の入出力を可能にするためバスの切換えを行う回路である。例えば、メモリリクエスト信号MREQ又は入出力リクエスト信号IORQをアクティブにした状態でメモリ書込み信号WRをアクティブにすると、所定の外部I/Oに外部データ信号を書き込むことができ、メモリ読出し信号RDをアクティブにすると、所定の外部I/Oから外部データ信号を取り込むことができるようになる。   The external bus interface 114 is a circuit for performing input / output control of various signals such as a memory request signal, an input / output request signal, a memory write signal, a memory read signal, and a mode signal with an external device. The bus switching circuit 115 is a circuit that performs bus switching to enable input / output of address signals and data signals between an external bus (not shown) and the CPU bus 126 in the chip. For example, when the memory write signal WR is activated while the memory request signal MREQ or the input / output request signal IORQ is activated, an external data signal can be written to a predetermined external I / O, and the memory read signal RD is activated. Then, an external data signal can be taken in from a predetermined external I / O.

復号化・ROM書込み回路116は、暗号化されて送られて来たデータを復号したり電気的に書込み可能なプログラムROM112やHWパラメータROM125の書込みに必要な電圧を生成したりタイミングを制御したりする回路である。例えば、モード信号MODEをアクティブにした状態で、外部アドレス信号を順次インクリメントしながら外部データ信号を外から与えると、プログラムROM112への書込モードとなって遊技機の製造メーカ又は第三者機関による遊技プログラムの書き込みが可能になる。ただし、プログラムROM112への遊技プログラムの書き込みが終了後に、後述のHWパラメータROM125の所定領域に書込終了コードを記録すると、それ以降はプログラムROM112への遊技プログラムの書き込みができないようになる。   The decryption / ROM writing circuit 116 decrypts data sent after being encrypted, generates a voltage necessary for writing to the electrically programmable program ROM 112 and the HW parameter ROM 125, and controls timing. Circuit. For example, when an external data signal is given from the outside while sequentially incrementing the external address signal while the mode signal MODE is active, it becomes a writing mode to the program ROM 112 and is made by a game machine manufacturer or a third party organization. A game program can be written. However, if the write end code is recorded in a predetermined area of the HW parameter ROM 125 described later after the game program has been written to the program ROM 112, the game program cannot be written to the program ROM 112 thereafter.

ミラードRAM117は、クロックの立ち下がり時にユーザワークエリアに記憶された情報を複製した情報を記憶する(CPUコアがZ80の場合には、クロックの立ち上がり時に処理を実行するため、同期して動くことがないようにしている)。   The mirrored RAM 117 stores information obtained by copying information stored in the user work area when the clock falls (if the CPU core is Z80, processing is executed when the clock rises, and thus the mirrored RAM 117 can move in synchronization. Not so).

割込制御回路118は、外部からの割込み要求信号に応答してCPUコア111に対して割込み要求を行ったり、チップ内部の回路(例えば乱数生成回路)に対して制御信号を送ったりする回路である。また、リセット割込制御回路120は、外部から入力されるリセット信号に応答してCPUコア111をシステムリセットするとともに、遊技用マイクロコンピュータ110の内部の各種リソースを初期状態に設定する信号を生成する回路である。   The interrupt control circuit 118 is a circuit that makes an interrupt request to the CPU core 111 in response to an interrupt request signal from the outside, and sends a control signal to a circuit (for example, a random number generation circuit) inside the chip. is there. The reset interrupt control circuit 120 resets the CPU core 111 in response to a reset signal input from the outside, and generates a signal for setting various resources inside the gaming microcomputer 110 to an initial state. Circuit.

ブートブロック119は、ブートプログラムを格納するROMを備え、遊技用マイクロコンピュータ110のシステムリセット時にこのブートプログラムが立ち上がって、所定の簡易チェックを行う。そして、ブートROMが正常であれば、プロテクト設定処理を実行した後、遊技プログラムの所定アドレス(CPU111のアドレス空間内における所定アドレス(一般に当該アドレス空間の先頭番地0000h))に処理を渡す。   The boot block 119 includes a ROM for storing a boot program. When the system of the gaming microcomputer 110 is reset, the boot program starts up and performs a predetermined simple check. If the boot ROM is normal, the protection setting process is executed, and then the process is transferred to a predetermined address of the game program (a predetermined address in the address space of the CPU 111 (generally, the first address 0000h in the address space)).

アドレスデコーダ121は、CPUバス126のアドレス情報をデコードして、そのデコード結果に応じて、出力制御回路122を制御する。クロックジェネレータ123は、外部から供給されるシステムクロックMCLKと乱数用のクロックEXCLKに基づいて、CPUコア111を含む遊技用マイクロコンピュータ110内の各ブロックに供給する動作クロックとカウンタ用のクロックを生成する。   The address decoder 121 decodes the address information of the CPU bus 126 and controls the output control circuit 122 according to the decoding result. The clock generator 123 generates an operation clock and a counter clock to be supplied to each block in the gaming microcomputer 110 including the CPU core 111 based on the system clock MCLK and the random number clock EXCLK supplied from the outside. .

乱数生成回路124は、大当りの判定等に使用される乱数を生成する回路であり、従来の遊技用マイクロコンピュータでは、外付けの回路として構成されていたものを内蔵するとともに、特有の機能を追加したものである。この乱数生成回路124については図6を用いて後に詳しく説明する。HWパラメータROM125は、プログラムROM112へのプログラムの書き込みを禁止するための前記書込終了コードを記録したり、ユーザーシステム(ハードウェア)に特有のパラメータを設定できるようにするためのもので、電気的に書き込み可能なメモリ(例えばEPROM,EEPROM,フラッシュメモリ等)により構成されている。   The random number generation circuit 124 is a circuit for generating a random number used for determination of a big hit. The conventional gaming microcomputer has a built-in one that is configured as an external circuit and adds a specific function. It is a thing. The random number generation circuit 124 will be described in detail later with reference to FIG. The HW parameter ROM 125 is used to record the write end code for prohibiting program writing to the program ROM 112 and to set parameters specific to the user system (hardware). It is constituted by a memory (for example, EPROM, EEPROM, flash memory, etc.) that can be written to.

管理ブロック110Bは、管理用プログラムROM131、管理用ワークRAM132、バスモニタ回路133、IDプロパティメモリ134、管理用制御回路135、外部通信制御回路136及びこれらの回路ブロック間を接続するローカルバス137を含むとともに、バスモニタ回路133がローカルバス137と遊技制御ブロック110AのCPUバス126の両方に接続されることにより、CPUバス126を介してCPUコア111との間でデータの送受信が行えるように構成されている。   The management block 110B includes a management program ROM 131, a management work RAM 132, a bus monitor circuit 133, an ID property memory 134, a management control circuit 135, an external communication control circuit 136, and a local bus 137 that connects these circuit blocks. In addition, the bus monitor circuit 133 is connected to both the local bus 137 and the CPU bus 126 of the game control block 110A, so that data can be transmitted to and received from the CPU core 111 via the CPU bus 126. ing.

管理用ワークRAM132は、バスモニタ回路133を介して読み込まれた遊技制御ブロック110Aの情報を一時的に保持するための記憶領域として使用される。バスモニタ回路133は、CPUバス126の状態を監視し、CPUバス126がCPUコア111によって使用されていないときは、必要に応じてCPUバス126を介して遊技制御ブロック110AのプログラムROM112やユーザワークRAM113等をアクセスし、所要のデータ(遊技プログラムやユーザワークRAM113の内容等)を管理ブロック113Bに取り込む。   The management work RAM 132 is used as a storage area for temporarily storing information of the game control block 110A read via the bus monitor circuit 133. The bus monitor circuit 133 monitors the state of the CPU bus 126. When the CPU bus 126 is not used by the CPU core 111, the program ROM 112 and the user work of the game control block 110A are connected via the CPU bus 126 as necessary. The RAM 113 and the like are accessed, and necessary data (game program, contents of the user work RAM 113, etc.) are taken into the management block 113B.

IDプロパティメモリ134には、遊技用マイクロコンピュータ110の識別や正当性の判定のために使用する固有ID(固有情報)が書き込まれており、この固有IDは、バス137および外部通信制御回路136を介して遊技機外部の管理装置(ホールコンピュータ)で読み取ることができる。これによって、管理装置で遊技機の固有IDを監視することができる。具体的には、予め遊技機に設定された固有IDと、管理装置によって読み取られた固有IDとが一致しない場合は、管理装置は、各種信号の入出力を不可能にする。すると、遊技制御装置100に接続された各種装置(例えば、大入賞口ソレノイド58b及び普通変動入賞口ソレノイド57c)や従属制御装置とCPUコア111との信号の入出力が不可能となり、例えば、スイッチが操作できなくなったり、装飾用ランプが点灯しなかったりして、遊技機に異常が発生したことが明確となる。   In the ID property memory 134, a unique ID (unique information) used for identification of the gaming microcomputer 110 and determination of legitimacy is written. This unique ID is stored in the bus 137 and the external communication control circuit 136. Via a management device (hall computer) outside the gaming machine. This allows the management device to monitor the unique ID of the gaming machine. Specifically, if the unique ID set in advance in the gaming machine does not match the unique ID read by the management device, the management device disables input / output of various signals. Then, it becomes impossible to input / output signals between the various devices connected to the game control device 100 (for example, the big winning opening solenoid 58b and the normal variation winning opening solenoid 57c) and the subordinate control device and the CPU core 111. However, it becomes clear that an abnormality has occurred in the gaming machine due to the fact that the player cannot operate or the decorative lamp does not light.

また、IDプロパティメモリ134には、この固有IDに加えて、遊技種別コード、ランクコード、メーカ番号、機種コード及び検査番号等の各情報が書き込まれている。なお、遊技種別コードは、パチンコ遊技機やスロットルマシン等を区別するための情報であって、例えば、パチンコ遊技機の場合は“P”、スロットルマシンの場合は“G”で表される。ランクコードは、遊技機1の機種ランクコード(第1種、第2種等を区別するためのコード)、メーカ番号当該遊技機1の製造メーカを識別するためのメーカID(又はメーカコード)である。機種コードは、製造メーカが設定する当該遊技機1の製品コードである。検査番号(又は検定コード)は、第三者機関による検査に合格した遊技機1に付与される番号である。   In addition to the unique ID, information such as a game type code, a rank code, a manufacturer number, a model code, and an inspection number is written in the ID property memory 134. The game type code is information for distinguishing pachinko gaming machines, throttle machines, and the like, and is represented by, for example, “P” for pachinko gaming machines and “G” for throttle machines. The rank code is a model rank code of the gaming machine 1 (a code for distinguishing between the first type and the second type), a manufacturer number, or a manufacturer ID (or manufacturer code) for identifying the manufacturer of the gaming machine 1. is there. The model code is a product code of the gaming machine 1 set by the manufacturer. The inspection number (or verification code) is a number given to the gaming machine 1 that has passed the inspection by the third party organization.

さらに、IDプロパティメモリ134には、ROMとRAMが内蔵され、ROMの内容がRAMコピーされる。つまり、固有ID、遊技種別コード、ランクコード、メーカ番号、機種コード及び検査番号がROMに格納されていてそれらがRAMにコピーされる。コピーのタイミングは、遊技機の電源投入時又は遊技用マイクロコンピュータ110のシステムリセット時であって、例えば、システムリセット直後に管理ブロック110Bで実行される初期化処理の中で行うようにされる。   Further, the ID property memory 134 includes a ROM and a RAM, and the contents of the ROM are copied to the RAM. That is, the unique ID, game type code, rank code, manufacturer number, model code, and inspection number are stored in the ROM, and are copied to the RAM. The copy timing is performed when the gaming machine is turned on or when the gaming microcomputer 110 is reset, for example, in an initialization process executed by the management block 110B immediately after the system reset.

制御回路135は、管理ブロック110Bの動作を制御するもので、バッファメモリを有している。制御回路135は、例えば、バスモニタ回路133を介してCPUコア11の動作を監視し、非動作中に遊技ブロック110AのユーザワークRAM113に記憶された内容をミラードRAM117へコピーする。また、検査装置からの要求に応答して管理ブロック110BのIDプロパティメモリ134の内容を外部へ転送したり、プログラム要求に応答してバスモニタ回路133を介してユーザプログラムROM112内のプログラムを外部へ転送したりする。バッファメモリは、転送時のタイミング調節のために用いられる。   The control circuit 135 controls the operation of the management block 110B and has a buffer memory. For example, the control circuit 135 monitors the operation of the CPU core 11 via the bus monitor circuit 133, and copies the contents stored in the user work RAM 113 of the game block 110A to the mirrored RAM 117 during non-operation. Further, the contents of the ID property memory 134 of the management block 110B are transferred to the outside in response to a request from the inspection apparatus, and the program in the user program ROM 112 is sent to the outside via the bus monitor circuit 133 in response to a program request. Or transfer. The buffer memory is used for timing adjustment at the time of transfer.

外部通信制御回路136は、遊技機の外部に設けられた情報収集端末装置やID検査装置と通信を行う。例えば、情報収集端末装置が接続されている場合は、その情報収集端末装置からの要求に応答して、管理用ワークRAM132やIDプロパティメモリ134の記憶内容を要求元の情報収集端末装置に転送し、ID検査装置が接続されている場合は、そのID検査装置からの要求に応答して、少なくともIDプロパティメモリ134に記憶されている固有IDの情報を要求元のID検査装置に転送する。   The external communication control circuit 136 communicates with an information collection terminal device and an ID inspection device provided outside the gaming machine. For example, when an information collection terminal device is connected, in response to a request from the information collection terminal device, the storage contents of the management work RAM 132 and ID property memory 134 are transferred to the requesting information collection terminal device. When the ID inspection device is connected, at least information on the unique ID stored in the ID property memory 134 is transferred to the requesting ID inspection device in response to a request from the ID inspection device.

次に、図6を用いて、本実施例の遊技用マイクロコンピュータ110に内蔵されている乱数生成回路124の詳細と該回路に関連した回路(クロックジェネレータ123)について説明する。   Next, the details of the random number generation circuit 124 built in the gaming microcomputer 110 of the present embodiment and a circuit (clock generator 123) related to the circuit will be described with reference to FIG.

クロックジェネレータ123は、外部から供給される乱数用のクロックEXCLKを分周する分周回路231と、システムクロックMCLKを分周する分周回路232と、分周回路232で分周されたクロックをさらに分周してCPUコア111に対して所定の周期でタイマ割込みをかける信号を生成するCTC(カウンタ・タイマ・サーキット)回路233とを備える。上記分周回路231と分周回路232でそれぞれ分周されたクロックφ1,φ2は、乱数生成回路124に供給される。なお、この実施例では、分周回路231と232の分周比は同一(共に1/2分周)である。   The clock generator 123 further divides a frequency dividing circuit 231 that divides an externally supplied random number clock EXCLK, a frequency dividing circuit 232 that divides the system clock MCLK, and a clock divided by the frequency dividing circuit 232 And a CTC (counter timer circuit) circuit 233 that generates a signal for frequency-dividing and interrupting the CPU core 111 with a predetermined period. The clocks φ1 and φ2 respectively divided by the frequency dividing circuit 231 and the frequency dividing circuit 232 are supplied to the random number generation circuit 124. In this embodiment, the frequency dividing ratios of the frequency dividing circuits 231 and 232 are the same (both are divided by 1/2).

乱数生成回路124は、乱数生成回路全体を制御する乱数制御回路240と、CPUバス126を介してCPUコア111によって乱数の初期値が設定される乱数初期値設定レジスタ241と、乱数回路起動レジスタ242およびカウンタ回路243を備える。乱数回路起動レジスタ242にCPUコア111によって所定の値が設定されると、乱数制御回路240が乱数生成の制御を開始するように構成されている。カウンタ回路243の計数範囲は、HWパラメータROMに所定の値を設定することで計数上限値を8ビット(FFh)から16ビット(FFFFh)の範囲で選択することができる。また、乱数制御回路240は、分周回路231と232で分周されたクロックφ1,φ2の周波数の大小を判定しクロックを切り換えたり遮断したりする選択回路252を内蔵しており、いずれか一方のクロックに基づいてカウンタ回路243をカウント動作させる。複数種類の乱数が必要な場合は、複数のカウンタ回路243を設けるとともに、乱数初期値設定レジスタ241にはカウンタ回路毎に異なる初期値を設定するように構成することができる。   The random number generation circuit 124 includes a random number control circuit 240 that controls the entire random number generation circuit, a random number initial value setting register 241 in which an initial value of random numbers is set by the CPU core 111 via the CPU bus 126, and a random number circuit activation register 242. And a counter circuit 243. When a predetermined value is set in the random number circuit activation register 242 by the CPU core 111, the random number control circuit 240 is configured to start control of random number generation. The count range of the counter circuit 243 can be selected from a range of 8 bits (FFh) to 16 bits (FFFFh) by setting a predetermined value in the HW parameter ROM. The random number control circuit 240 has a built-in selection circuit 252 that determines the magnitude of the frequencies of the clocks φ1 and φ2 divided by the frequency dividing circuits 231 and 232, and switches between and shuts off the clock. The counter circuit 243 is caused to perform a counting operation based on this clock. When a plurality of types of random numbers are required, a plurality of counter circuits 243 are provided, and the random number initial value setting register 241 can be configured to set different initial values for each counter circuit.

さらに、乱数生成回路124は、前記カウンタ回路243の値を取り込んで保持する3個のラッチレジスタ245,247,249と、始動入賞検出信号を擬似的に発生させてこれらのラッチレジスタへカウンタ回路243の値をラッチさせるトリガ信号を生成するラッチレジスタトリガ回路244,246,248を備える。ラッチレジスタトリガ回路244,246,248は、レジスタによって構成することができる。ラッチレジスタ245,247,249は、通常は乱数制御回路240が生成するラッチ信号に基づいてカウンタ回路243の値をラッチするが、CPUコア111がラッチレジスタトリガ回路244,246,248に所定の値を設定した場合にも、ラッチトリガ信号が生成されて、ラッチレジスタ245,247,249にカウンタ回路243の値がラッチされる。   Further, the random number generation circuit 124 artificially generates three latch registers 245, 247, and 249 that take in and hold the value of the counter circuit 243, and a start winning detection signal to the counter circuit 243. Latch register trigger circuits 244, 246, and 248 for generating a trigger signal for latching the value of. The latch register trigger circuits 244, 246, and 248 can be configured by registers. The latch registers 245, 247, and 249 normally latch the value of the counter circuit 243 based on the latch signal generated by the random number control circuit 240, but the CPU core 111 supplies a predetermined value to the latch register trigger circuits 244, 246, and 248. Is set, the latch trigger signal is generated, and the value of the counter circuit 243 is latched in the latch registers 245, 247, and 249.

この実施例においては、図7に示すように、上記分周回路231または232で分周されたクロックφ1(またはφ2)の立ち上がりによってカウンタ回路243を更新(カウントアップ)させる一方、クロックφ1(φ2)の反転信号すなわち位相が180°異なるクロック/φ1(/φ2)をラッチタイミング信号とすることによって、カウンタ回路の値が変化するタイミングでカウンタ値のラッチ動作がなされないようにしている。   In this embodiment, as shown in FIG. 7, the counter circuit 243 is updated (counted up) by the rising edge of the clock φ1 (or φ2) divided by the frequency dividing circuit 231 or 232, while the clock φ1 (φ2 ), That is, the clock / φ1 (/ φ2) having a phase difference of 180 ° is used as the latch timing signal, so that the counter value is not latched at the timing when the value of the counter circuit changes.

乱数制御回路240には、割込みコントローラ118からのラッチ信号LAT0,LAT1,LAT2が入力されており、ラッチ信号LAT0,LAT1,LAT2の入力に基づいてラッチレジスタ245,247,249へカウンタをラッチさせるための制御信号を生成する。この実施例では、割込みコントローラ118に特図始動スイッチ56aと57bからの始動入賞検出信号DET0,DET1が入力されており、始動入賞が検出される度にカウンタ回路243の値がラッチレジスタ245,247のいずれかにラッチされる。具体的には、割込みコントローラ118は、カウンタ回路243に供給されるクロック信号にて256個のクロック(25.6μs:EXCLK又はMCLK=20MHz入力時)にわたって連続して始動入賞検出信号DETを検出したタイミングで乱数制御回路240にラッチ信号LATを出力する。そして、乱数制御回路240はラッチ信号LATが入力されたタイミングでカウンタ値をラッチするのではなく、ラッチ信号LATが入力された直後のクロック信号の立ち上がりでラッチレジスタ245,247,249のうちいずれか対応するレジスタにカウンタ値をラッチさせる。   The random number control circuit 240 receives the latch signals LAT0, LAT1, and LAT2 from the interrupt controller 118, and causes the latch registers 245, 247, and 249 to latch the counter based on the inputs of the latch signals LAT0, LAT1, and LAT2. Control signal is generated. In this embodiment, the start winning detection signals DET0 and DET1 from the special drawing start switches 56a and 57b are input to the interrupt controller 118, and the value of the counter circuit 243 is latched to the latch registers 245 and 247 each time a start winning is detected. Latched to either Specifically, the interrupt controller 118 detects the start winning detection signal DET continuously over 256 clocks (25.6 μs: when EXCLK or MCLK = 20 MHz is input) with the clock signal supplied to the counter circuit 243. The latch signal LAT is output to the random number control circuit 240 at the timing. The random number control circuit 240 does not latch the counter value at the timing when the latch signal LAT is input, but any one of the latch registers 245, 247, and 249 at the rising edge of the clock signal immediately after the latch signal LAT is input. The counter value is latched in the corresponding register.

特に限定されるものではないが、この実施例では、DET0(LAT0)には始動口スイッチ1の信号が入力され、該信号が入力されるとラッチレジスタ245にカウンタ値がラッチされる。DET1(LAT1)には始動口スイッチ2の信号が入力され、該信号が入力されるとラッチレジスタ247にカウンタ値がラッチされるようにしている。割込みコントローラ118の3つの入力のうちひとつDET2(LAT2)およびラッチレジスタ249は、遊技領域に3個の始動入賞口が設けられる遊技機に対応できるようにするため設けられており、この実施例の遊技機においては予備として扱われる。   Although not particularly limited, in this embodiment, a signal of the start port switch 1 is input to DET0 (LAT0), and when the signal is input, the counter value is latched in the latch register 245. A signal of the start port switch 2 is input to DET1 (LAT1), and when the signal is input, the counter value is latched in the latch register 247. Of the three inputs of the interrupt controller 118, one DET2 (LAT2) and the latch register 249 are provided so as to be compatible with a gaming machine in which three starting winning holes are provided in the gaming area. It is treated as a spare in gaming machines.

なお、割込みコントローラの代わりに、外部から書き込み可能なコントロールレジスタを設けて、コントロールレジスタへの書込みに応じてカウンタ値のラッチ信号を生成するように構成しても良い。また、コントロールレジスタを設けた場合には、始動入賞検出信号DET0,DET1によってコントロールレジスタの所定のビットをセットし、それによって割込みコントローラ118に割込み信号が入力され、割込みコントローラ118によって上記と同様な制御を行うように構成しても良い。   Instead of the interrupt controller, a control register writable from the outside may be provided, and a counter value latch signal may be generated in response to the writing to the control register. When a control register is provided, a predetermined bit of the control register is set by the start winning detection signals DET0 and DET1, and an interrupt signal is input to the interrupt controller 118. The interrupt controller 118 performs the same control as described above. You may comprise so that it may perform.

さらに、上記乱数生成回路124は、CPUコア111に対して乱数生成回路124の内部の状態を知らせるためのステータスレジスタ250と、乱数生成回路124を初期化させる乱数回路初期化レジスタ251を備える。ステータスレジスタ250には、ラッチレジスタ245,247,249へのカウンタ値のラッチを許可または禁止するラッチ許可フラグが設けられており、このフラグをセットすることによってカウンタ値のラッチを許可し、フラグをクリアすることによってラッチを禁止できる。この実施例では、上記ラッチ許可フラグは、各ラッチレジスタ245,247,249に対応してそれぞれ設けられており、レジスタごとにラッチの許可/禁止を制御できるように構成されている。なお、ステータスレジスタ250は、乱数制御回路240によって書き換えが行われ、CPU111はリードのみ可能でライトは行えないようになっている。これにより、プログラムを書き換えてCPUよって不正な乱数値を取得させるような不正行為を防止することができる。   Further, the random number generation circuit 124 includes a status register 250 for informing the CPU core 111 of the internal state of the random number generation circuit 124 and a random number circuit initialization register 251 for initializing the random number generation circuit 124. The status register 250 is provided with a latch permission flag that permits or prohibits the latching of the counter value to the latch registers 245, 247, and 249. By setting this flag, the latch of the counter value is permitted and the flag is set. The latch can be prohibited by clearing it. In this embodiment, the latch permission flag is provided corresponding to each of the latch registers 245, 247, and 249, and is configured to be able to control permission / prohibition of latch for each register. The status register 250 is rewritten by the random number control circuit 240 so that the CPU 111 can only read and cannot write. As a result, it is possible to prevent an illegal act of rewriting the program and causing the CPU to acquire an illegal random number value.

図8には、乱数制御回路240によるラッチレジスタへのカウンタ値のラッチ制御手順が示されている。この制御では、先ずラッチ信号LAT0,LAT1,LAT2のいずれかが入力されているか否かを判定し(ステップS101)、ラッチ信号LAT0,LAT1,LAT2のいずれかが入力されている場合には、ステータスレジスタ250のラッチ許可フラグがセットされているか判定する(ステップS102)。ラッチ信号の入力がない場合あるいはラッチ信号があってもラッチ許可フラグがセットされていない場合には当該制御を終了し、ステップS102でラッチ許可フラグがセットされていると判定すると、カウンタ回路243よりカウンタの値を読み出して対応するラッチレジスタ(245,247,249のいずれか)に格納する(ステップS103,S104)。続いて、ステータスレジスタ250の対応するラッチ許可フラグを禁止状態にして当該制御を終了する(ステップS105)。   FIG. 8 shows a latch control procedure of the counter value to the latch register by the random number control circuit 240. In this control, first, it is determined whether any of the latch signals LAT0, LAT1, and LAT2 is input (step S101). If any of the latch signals LAT0, LAT1, and LAT2 is input, the status It is determined whether the latch permission flag of the register 250 is set (step S102). If there is no latch signal input or if there is a latch signal and the latch permission flag is not set, the control is terminated, and if it is determined in step S102 that the latch permission flag is set, the counter circuit 243 The counter value is read and stored in the corresponding latch register (any one of 245, 247, and 249) (steps S103 and S104). Subsequently, the corresponding latch permission flag of the status register 250 is set to a prohibited state, and the control is terminated (step S105).

図9には、乱数制御回路240によるラッチデータ読込み時の制御手順が示されている。この制御では、先ずCPUコア111によるラッチレジスタ(245,247,249のいずれか)のデータ読込みがあったか否かを判定し(ステップS111)、データ(カウンタ値)の読込みがあった場合には、当該ラッチレジスタのデータをクリアし、ステータスレジスタ250の対応するラッチ許可フラグを許可状態にセットして当該制御を終了する(ステップS112,S113)。ラッチレジスタのデータを読み込んでからクリアしてラッチ許可フラグを許可状態にセットすることにより、回路の故障等何らかの不具合でラッチレジスタへのカウンタ値のラッチが行われなくなった場合にも、取得済みのカウンタ値を重複して取得するおそれがなくなる。これにより、直前にカウンタ値保持手段に保持されていた値が大当りに相当するものであった場合に、続けて大当りが発生するのを防止することができる。   FIG. 9 shows a control procedure when the random number control circuit 240 reads latch data. In this control, first, it is determined whether or not the CPU core 111 has read data in the latch register (any one of 245, 247, and 249) (step S111), and when data (counter value) is read, The data in the latch register is cleared, the corresponding latch permission flag in the status register 250 is set to the permitted state, and the control is terminated (steps S112 and S113). By reading the data in the latch register, clearing it, and setting the latch enable flag to the enabled state, the counter value is no longer latched due to some sort of malfunction such as a circuit failure. There is no risk of duplicate counter values being acquired. As a result, when the value held in the counter value holding means immediately before corresponds to the big hit, it is possible to prevent the big hit from occurring continuously.

この実施例では、上記乱数制御回路240によるラッチレジスタへのカウンタ値のラッチは、外部からの始動入賞検出信号DET0,DET1によって行なわれる。一方、始動入賞検出信号DET0またはDET1がマイクロコンピュータに入力されると、CPUコア111は、そのプログラム処理によって所定の条件が成立した場合に、ラッチレジスタ245または247のデータ(カウンタ値)を大当り判定用の乱数値として読み込む。そして、カウンタの値がラッチレジスタにラッチされてからCPUにより読み込まれるまでは、ステータスレジスタ250のラッチ許可フラグがラッチ禁止状態にされる。   In this embodiment, the random number control circuit 240 latches the counter value in the latch register by external start winning detection signals DET0 and DET1. On the other hand, when the start winning detection signal DET0 or DET1 is input to the microcomputer, the CPU core 111 determines that the data (counter value) in the latch register 245 or 247 is a big hit if a predetermined condition is satisfied by the program processing. Read as a random value for. The latch permission flag of the status register 250 is set to the latch prohibited state until the value of the counter is latched in the latch register and is read by the CPU.

そのため、上記のような制御を行うことによって、仮に乱数制御回路240へ入力されるラッチ信号LAT0,LAT1,LAT2にノイズがのったとしても、誤ってカウンタ回路243のカウンタ値がラッチレジスタにラッチされる(上書きされる)ことはなく、CPUが誤ったカウンタ値(乱数値)を読み込むこともない。   Therefore, by performing the control as described above, even if noise is applied to the latch signals LAT0, LAT1, and LAT2 input to the random number control circuit 240, the counter value of the counter circuit 243 is erroneously latched in the latch register. Is not (overwritten), and the CPU does not read an incorrect counter value (random number value).

また、乱数生成回路が外付け回路として接続されていた従来の遊技制御回路では、遊技者が不正な操作によって本来の始動入賞検出信号と異なるタイミングでラッチ信号を与えると、誤ったカウンタ値(乱数値)がCPUに読み込まれるおそれがあったものが、この実施例では、不正に始動入賞検出信号DET0,DET1を入力してカウンタ値をラッチレジスタにラッチさせたとしても、そのラッチデータはCPUによって読み込まれることはなく、その後、正規に発生した始動入賞検出信号DET0,DET1によってカウンタ値がラッチレジスタにラッチされて、CPUによって読み込まれる。その結果、不正行為による誤った乱数値の取得を困難にすると共に、始動入賞に基づいてラッチされたカウンタ値を確実に遊技制御で使用できるようになる。   In addition, in a conventional game control circuit in which a random number generation circuit is connected as an external circuit, if a player gives a latch signal at a timing different from the original start winning detection signal by an unauthorized operation, an incorrect counter value (disturbance) In this embodiment, even if the start winning detection signals DET0 and DET1 are illegally input and the counter value is latched in the latch register, the latch data is not read by the CPU. The counter value is latched in the latch register by the start winning detection signals DET0 and DET1 that are normally generated and read by the CPU. As a result, it is difficult to acquire an erroneous random number value due to fraud, and the counter value latched based on the start winning can be reliably used in the game control.

図10には、乱数制御回路240によるハード乱数クロック監視制御の手順が示されている。この制御では、クロックジェネレータ123へ外部から供給される乱数用クロックEXCLKが入力されているか判定する(ステップS121)。ここで、EXCLKが入力されている場合には、EXCLKの周波数とMCLKの周波数を比較してEXCLKの周波数の方が高いか否かを判定し、高い場合にはEXCLKの周波数がMCLKの周波数の1.5倍よりも小さいか否かを判定する(ステップS122,S123)。   FIG. 10 shows a procedure of hard random number clock monitoring control by the random number control circuit 240. In this control, it is determined whether the random number clock EXCLK supplied from the outside is input to the clock generator 123 (step S121). Here, when EXCLK is input, the frequency of EXCLK and the frequency of MCLK are compared to determine whether the frequency of EXCLK is higher or not, and when it is higher, the frequency of EXCLK is equal to the frequency of MCLK. It is determined whether or not it is smaller than 1.5 times (steps S122 and S123).

そして、両方の条件を満たしている場合にのみ、クロックジェネレータ123でEXCLKが1/2分周されたクロックφ1を、カウンタ回路243へ供給してカウンタ値を更新させる(ステップS124)。条件を満たしていない場合には、MCLKがカウンタ回路243へ供給され、システムの動作とカウンタ回路の動作が同一のクロックで行われる。なお、上記ステップS122,S123の判定は、実際にはクロックジェネレータ123で分周されたクロックφ1とφ2に基づいて行われる。EXCLKの周波数がMCLKの周波数よりも大きいか否かは、それぞれのクロックを計数するカウンタを設け、それぞれ同一時間動作させてカウンタ値の大小を判定することで知ることができる。   Only when both conditions are satisfied, the clock φ1 obtained by dividing EXCLK by 1/2 by the clock generator 123 is supplied to the counter circuit 243 to update the counter value (step S124). If the condition is not satisfied, MCLK is supplied to the counter circuit 243, and the system operation and the counter circuit operation are performed with the same clock. The determinations in steps S122 and S123 are actually made based on the clocks φ1 and φ2 divided by the clock generator 123. Whether the frequency of EXCLK is higher than the frequency of MCLK can be determined by providing counters for counting the respective clocks and operating them for the same time to determine the magnitude of the counter value.

上記のようにクロックEXCLKとMCLKが所定の条件を満たす場合にのみ乱数値を与えるカウンタ回路243を更新動作させることにより、不正を行おうとするものがクロック入力端子に不正な操作を行なって不正な乱数値を取得しようとしてもそれを防止することができる。また、クロックφ1とφ2の周波数を比較して、周波数の高い方のクロックを選択してカウンタ回路243に供給するため、乱数を生成するカウンタ回路243の更新タイミングを特定することが困難となり、不正が行われにくくすることができる。   As described above, the counter circuit 243 that gives a random number value is updated only when the clocks EXCLK and MCLK satisfy a predetermined condition, so that an unauthorized person performs an illegal operation on the clock input terminal and performs an illegal operation. Even if it tries to acquire a random value, it can be prevented. In addition, since the clocks φ1 and φ2 are compared and the higher frequency clock is selected and supplied to the counter circuit 243, it becomes difficult to specify the update timing of the counter circuit 243 that generates random numbers, which is illegal. Can be made difficult to do.

なお、クロックφ1とφ2の周波数を比較して、周波数の高い方のクロックを選択してカウンタ回路243に供給し、周波数の低い方のクロックをカウンタ回路243以外の回路に動作用クロックとして供給するように構成しても良い。周波数の高い方のクロックでカウンタ回路243を計数動作させ、周波数の低い方のクロックでそのカウンタ値をラッチレジスタへラッチさせることで、逆の場合よりも、不正な操作で、狙った値をラッチさせることを困難にすることができる。   Note that the frequencies of the clocks φ1 and φ2 are compared, the clock with the higher frequency is selected and supplied to the counter circuit 243, and the clock with the lower frequency is supplied to a circuit other than the counter circuit 243 as an operation clock. You may comprise as follows. By counting the counter circuit 243 with the clock with the higher frequency, and latching the counter value into the latch register with the clock with the lower frequency, the target value is latched with an illegal operation than the reverse case. Can make it difficult.

この実施例では、ステップS122,S123で条件を満たしていないと判定された場合には、MCLKをカウンタ回路243に供給するようにしたが、条件を満たしていないと判定された場合には、MCLK及びEXCLKの供給をカウンタ回路に行わないようにし、カウンタ回路を不能動化するようにしてもよい。   In this embodiment, when it is determined in steps S122 and S123 that the condition is not satisfied, MCLK is supplied to the counter circuit 243. However, when it is determined that the condition is not satisfied, MCLK is supplied. Further, the supply of EXCLK may not be performed to the counter circuit, and the counter circuit may be disabled.

なお、乱数生成回路にクロック選択用レジスタを設けてHWパラメータROMを介してクロック選択用レジスタに所定の値を設定することで、EXCLKとMCLKのいずれかを選択できるようにしてもよい。   Note that it is possible to select either EXCLK or MCLK by providing a clock selection register in the random number generation circuit and setting a predetermined value in the clock selection register via the HW parameter ROM.

次に、上記遊技制御装置100の遊技用マイクロコンピュータ(遊技用マイコンと称する)110によって実行される遊技制御について説明する。   Next, game control executed by the game microcomputer (referred to as game microcomputer) 110 of the game control apparatus 100 will be described.

遊技用マイコン110による制御処理は、主に図11および図12に示すメイン処理と、所定時間周期(例えば2msecごと)に行われる図13に示すタイマ割込み処理とからなる。   The control process by the gaming microcomputer 110 mainly includes a main process shown in FIGS. 11 and 12 and a timer interrupt process shown in FIG. 13 performed at a predetermined time period (for example, every 2 msec).

メイン処理は、電源が投入されることで開始される。このメイン処理においては、図11に示すように、まず、割込み禁止する処理(ステップS1)を行なってから、割込みが発生したときに実行するジャンプ先のベクタアドレスを設定する割込みベクタ設定処理(ステップS2)、割込みが発生したときにレジスタ等の値を退避する領域の先頭アドレスであるスタックポインタを設定するスタックポインタ設定処理(ステップS3)、割込み処理のモードを設定する割込みモード設定処理(ステップS4)を行う。   The main process is started when the power is turned on. In this main process, as shown in FIG. 11, first, an interrupt prohibition process (step S1) is performed, and then an interrupt vector setting process (step S1) for setting a jump destination vector address to be executed when an interrupt occurs. S2), a stack pointer setting process (step S3) for setting a stack pointer that is the start address of an area in which a value of a register or the like is saved when an interrupt occurs, and an interrupt mode setting process (step S4) for setting an interrupt processing mode. )I do.

次に、RAMやEEPROM等の読出し書込み可能なRWM(リードライトメモリ)のアクセス許可をし、全出力ポートをオフ(出力が無い状態)に設定する(ステップS5,S6)。その後、電源装置160内のバックアップ用メモリのクリアスイッチ162がオンしているか否かを判定する(ステップS7)。ここで、クリアスイッチがオフであれば、ステップS8で、RWM内の停電検査領域のデータをチェックした後、停電復旧か否かおよびチェックサムと呼ばれるデータの正常/異常を調べるためのコードを検査する(ステップS9,S10)。   Next, access to a readable / writable RWM (read / write memory) such as RAM or EEPROM is permitted, and all output ports are set to OFF (no output) (steps S5 and S6). Thereafter, it is determined whether or not the clear switch 162 of the backup memory in the power supply device 160 is turned on (step S7). If the clear switch is off, in step S8, after checking the data in the power failure check area in the RWM, check the code for checking whether or not the power failure is restored and the normal / abnormal data called checksum. (Steps S9 and S10).

ステップS9で停電復旧であると判定しステップS10でチェックサムが正常と判定した場合は、ステップS11で、読出し書込み可能なRWMに停電復旧時の初期値を設定してから、遊技枠の状態に係るデータを記憶しているメモリ領域をクリアし、他の制御装置へ停電復旧コマンドを送信する処理(ステップS12,S13)を行なって、図12のステップS17へ移行する。一方、ステップS9で停電復旧でないと判定またはステップS10でチェックサムが異常と判定した場合は、ステップS14で、使用中の読出し書込み可能なRWMをクリアする。それから、RWMに電源投入時の初期値をセーブしてから、他の制御装置へ電源投入コマンドを送信する処理(ステップS15,S16)を行なって、図12のステップS17へ移行する。   If it is determined in step S9 that the power failure has been restored and it is determined in step S10 that the checksum is normal, in step S11, an initial value at the time of power failure recovery is set in the readable / writable RWM, and then the game frame state is set. The memory area in which such data is stored is cleared, a power failure recovery command is transmitted to other control devices (steps S12 and S13), and the process proceeds to step S17 in FIG. On the other hand, if it is determined in step S9 that the power failure has not been restored, or if the checksum is determined to be abnormal in step S10, the read / writeable RWM in use is cleared in step S14. Then, after the initial value at power-on is saved in the RWM, processing for transmitting a power-on command to other control devices (steps S15 and S16) is performed, and the process proceeds to step S17 in FIG.

また、上記ステップS7で、クリアスイッチがオンと判定した場合は、ステップS14へジャンプして使用中の読出し書込み可能なRWMをクリアし、RWMに電源投入時の初期値をセーブしてから、他の制御装置へ電源投入コマンドを送信する処理(ステップS15,S16)を行なって、図12のステップS17へ移行する。   If it is determined in step S7 that the clear switch is on, the process jumps to step S14 to clear the read / writeable RWM being used, save the initial value at power-on in the RWM, and so on. Processing for transmitting a power-on command to the control device (steps S15 and S16) is performed, and the process proceeds to step S17 in FIG.

ステップS17では割込みタイマを起動し、次のステップS18で、乱数生成回路内の乱数回路起動レジスタ242(図6参照)に回路を起動させるためのコードをセットして乱数生成回路124を起動させる。その後、一旦割込みを禁止して(ステップS19)、大当たり判定用乱数などの乱数の初期値を更新して乱数の時間的な規則性を崩すための初期値乱数更新処理(ステップS20)を行う。それから、割込みを許可する処理(ステップS21)、停電検査領域のデータをチェックする処理(ステップS22)を行う。そして、停電が発生したか否かの判定(ステップS23)を行い、停電が発生していない場合(No)には、上述の割込みを禁止する処理(ステップS19)に戻り、ステップS19〜S23の処理を繰り返し行う。   In step S17, an interrupt timer is started. In next step S18, a code for starting the circuit is set in the random number circuit starting register 242 (see FIG. 6) in the random number generating circuit, and the random number generating circuit 124 is started. Thereafter, interruption is temporarily prohibited (step S19), and an initial value random number update process (step S20) is performed to update the initial value of a random number such as a jackpot determination random number and destroy the temporal regularity of the random number. Then, processing for permitting interruption (step S21) and processing for checking data in the power failure inspection area (step S22) are performed. Then, a determination is made as to whether or not a power failure has occurred (step S23). If no power failure has occurred (No), the process returns to the processing for prohibiting the above-described interrupt (step S19), and steps S19 to S23 are performed. Repeat the process.

一方、ステップS23において、停電が発生していると判定した場合(Yes)は、一旦割込みを禁止する処理(ステップS24)、全出力ポートをオフにする処理(ステップS25)、停電検査領域をクリアする処理(ステップS26)を行う。その後さらに、停電復旧検査領域に停電復旧検査領域チェックデータをセーブする処理(ステップS27)、RWMの電源遮断時のチェックサムを算出する処理(ステップS28)を行なった後、RWMへのアクセスを禁止する処理(ステップS29)を行なってから、遊技機の電源が遮断されるのを待つ。このように、停電復旧検査領域にチェックデータをセーブするとともに、電源遮断時のチェックサムを算出することで、電源の遮断の前にRWMに記憶されていた情報が正しくバックアップされているか否かを電源再投入時に判断することができる。   On the other hand, if it is determined in step S23 that a power failure has occurred (Yes), processing for temporarily prohibiting interruption (step S24), processing for turning off all output ports (step S25), and clearing the power failure inspection area The process (step S26) to perform is performed. After that, the process of saving the power failure recovery inspection area check data in the power failure recovery inspection area (step S27) and the process of calculating the checksum when the RWM is turned off (step S28) are performed, and access to the RWM is prohibited. After performing the process (step S29) to be performed, it waits for the power supply of the gaming machine to be cut off. In this way, the check data is saved in the power failure recovery inspection area, and the checksum at power-off is calculated to determine whether the information stored in the RWM is correctly backed up before power-off. This can be determined when the power is turned on again.

次に、図13のタイマ割込み処理について説明する。このタイマ割込み処理は、クロックジェネレータ123内のCTC回路233で生成される周期的なタイマ割込み信号が入力されることで、例えば2msごとに開始される。遊技用マイコン110にタイマ割込みが発生すると、図13のタイマ割込み処理が開始される。   Next, the timer interrupt process in FIG. 13 will be described. This timer interrupt process is started, for example, every 2 ms when a periodic timer interrupt signal generated by the CTC circuit 233 in the clock generator 123 is input. When a timer interrupt occurs in the gaming microcomputer 110, the timer interrupt process of FIG. 13 is started.

タイマ割込み処理が開始されると、まず所定のレジスタに保持されている値をRAMに移すレジスタ退避の処理(ステップS30)を行う。次に、各種センサ(特図始動スイッチ56a、57b、普図始動スイッチ54a、枠開放スイッチ12a、球切れスイッチ41aなど)からの入力を取り込む入力処理(ステップS31)を行う。それから、各種処理でセットされた出力データに基づき、ソレノイド(大入賞口SOL10b、普電SOL7b)等のアクチュエータの駆動制御を行うための出力処理(ステップS32)を行う。遊技球の入賞及び通過を検出するスイッチからの入力は、上記ステップS31の入力処理にて入力ポートの読み込みを2msごとに行い、チャタリングの除去を行った状態を解析し、スイッチのレベル状態が0から1に変化した時にスイッチのオンとする。さらに、ステップS31の入力処理では、入力ポート状態を取得する際のスイッチの入力に対するチャタリング除去の方法として、1割込み毎に入力ポートよりスイッチのポート状態を読み込み、解析するスイッチのポート状態を摘出し、2割込み分の連続するデータが一致していればその状態を正常なポート状態とする。そして、その状態をレベル状態の確定とし、レベル状態を更新する。データが一致していなければ前回のレベル状態を継続する。また、レベル状態の変化により立ち上がりエッジを更新する。この時、更新した立ち上がりエッジがRAMに記憶される。以上の処理が遊技球の入賞及び通過を検出するスイッチの全てにおいて行われる。   When the timer interrupt process is started, a register saving process (step S30) is performed in which a value held in a predetermined register is first transferred to the RAM. Next, an input process (step S31) for capturing inputs from various sensors (special drawing start switches 56a and 57b, a general drawing start switch 54a, a frame opening switch 12a, a ball break switch 41a, etc.) is performed. Then, based on the output data set in various processes, an output process (step S32) for performing drive control of an actuator such as a solenoid (large winning opening SOL10b, general electric power SOL7b) or the like is performed. As for the input from the switch for detecting the winning and passing of the game ball, the input port is read every 2 ms in the input process of step S31, the chattering removal state is analyzed, and the switch level state is 0. When it changes from 1 to 1, the switch is turned on. Further, in the input process of step S31, as a method of eliminating chattering for the input of the switch when acquiring the input port state, the port state of the switch to be analyzed is read out from the input port for each interrupt and extracted. If the continuous data for two interrupts match, the state is set to a normal port state. Then, the state is determined as the level state and the level state is updated. If the data does not match, the previous level state is continued. Further, the rising edge is updated according to the change of the level state. At this time, the updated rising edge is stored in the RAM. The above processing is performed in all the switches that detect winning and passing of game balls.

次に、各種処理で送信バッファにセットされたコマンドを演出制御装置150や払出制御装置200等に出力するコマンド送信処理(ステップS33)、乱数更新処理(ステップS34)を行う。この乱数更新処理(ステップS34)では、特図変動表示ゲームの当たりはずれを判定するための大当たり判定用乱数や、特図変動表示ゲームの大当たり図柄を判定するための大当り図柄乱数の更新(取込み)を行う。また、普図変動表示ゲームの当たりはずれを判定するための当たり乱数や、特図変動表示ゲームでの変動パターンを決定するための変動パターン乱数の更新(取込み)も行う。   Next, command transmission processing (step S33) and random number update processing (step S34) for outputting commands set in the transmission buffer in various processings to the effect control device 150 and the payout control device 200 are performed. In this random number update process (step S34), the jackpot determination random number for determining the hit loss of the special figure variation display game and the big hit symbol random number for determining the jackpot symbol of the special figure variation display game are updated (taken in). I do. In addition, a winning random number for determining the hit variation of the normal figure fluctuation display game and a fluctuation pattern random number for determining the fluctuation pattern in the special figure fluctuation display game are updated (taken in).

次に、特図始動スイッチ56a、57b、普図始動スイッチ54a、入賞口スイッチ55a…55n、カウントスイッチ58aから正常な信号の入力があるか否かの監視や、エラーの監視を行う入賞口スイッチ/エラー監視処理(ステップS35)を行う。また、特図変動表示ゲームに関する処理を行う特図ゲーム処理(ステップS36)、普図変動表示ゲームに関する処理を行う普図ゲーム処理(ステップS37)を行う。   Next, a special drawing start switch 56a, 57b, an ordinary drawing start switch 54a, a winning opening switch 55a ... 55n, a winning opening switch for monitoring whether there is a normal signal input from the count switch 58a, and monitoring errors. / An error monitoring process (step S35) is performed. Also, a special figure game process (step S36) for performing a process related to the special figure variation display game and a general figure game process (step S37) for performing a process related to the common figure variation display game are performed.

次に、遊技機10に設けられ、遊技に関する各種情報を表示するセグメントLEDを所望の内容を表示するように駆動するセグメントLED編集処理(ステップS38)を行う。それから、外部の管理装置に出力する信号を出力バッファにセットする外部情報編集処理(ステップS39)を行う。続いて、割込みの終了を宣言する処理(ステップS40)を行い、待避したレジスタのデータを復帰する処理(ステップS41)を行った後、割込みを許可する処理(ステップS42)を行なって、タイマ割込み処理を終了する。   Next, segment LED editing processing (step S38) is performed (step S38), which is provided in the gaming machine 10 and drives the segment LEDs that display various information about the game to display desired contents. Then, external information editing processing (step S39) for setting a signal to be output to the external management apparatus in the output buffer is performed. Subsequently, the process of declaring the end of the interrupt (step S40) is performed, the process of restoring the saved register data (step S41), the process of permitting the interrupt (step S42), and the timer interrupt The process ends.

次に、図13のタイマ割込み処理における特図ゲーム処理(ステップS36)の詳細を、図14を用いて説明する。   Next, details of the special figure game process (step S36) in the timer interrupt process of FIG. 13 will be described with reference to FIG.

図14に示すように、特図ゲーム処理では、まず、始動入賞口56および第2の始動入賞口を有する普通変動入賞装置57への入賞(特図始動SW1,SW2)の監視と、入賞検出に基づき各種乱数値の取得および記憶を行う始動口スイッチ監視処理(ステップS361)を実行する。始動口スイッチ監視処理は、始動入賞口56の入賞の監視を行う始動口SW1監視処理(始動口スイッチ1監視処理)と普通変動入賞装置57への入賞の監視を行う始動口SW2監視処理(始動口スイッチ2監視処理)からなる。その後、特別変動入賞装置58内のカウントスイッチ58aからの入力の監視と入力数の計数を行うカウントスイッチ監視処理(ステップS362)を実行する。   As shown in FIG. 14, in the special game process, first, the winning (special drawing start SW1, SW2) is monitored and the winning detection is performed on the normal variable winning device 57 having the start winning port 56 and the second starting winning port. The start port switch monitoring process (step S361) for acquiring and storing various random number values based on the above is executed. The start port switch monitoring process includes a start port SW1 monitoring process (start port switch 1 monitoring process) for monitoring the winning of the start winning port 56 and a start port SW2 monitoring process (starting) for monitoring the winning to the normal variation winning device 57. Mouth switch 2 monitoring process). Thereafter, a count switch monitoring process (step S362) for monitoring the input from the count switch 58a in the special variable winning device 58 and counting the number of inputs is executed.

次に、特図変動表示ゲームの実行に関する各処理で設定されるゲーム処理タイマがタイムアップしたか否かを判定する(ステップS363)。ここで、ゲーム処理タイマがタイムアップしていないと判定した場合(No)は、特図変動表示ゲームの制御に関する特図変動制御処理(ステップS375)を行って特図ゲーム処理を終了する。また、ゲーム処理タイマがタイムアップしたか否かの判定(ステップS363)において、ゲーム処理タイマがタイムアップしていると判定した場合(Yes)は、ゲームを合理的に進行させるために設けたゲーム処理番号に基づき次に実行する処理を選択するゲーム分岐処理(ステップS364)を行う。   Next, it is determined whether or not the game process timer set in each process relating to the execution of the special figure variation display game has expired (step S363). If it is determined that the game process timer has not timed up (No), the special figure variation control process (step S375) relating to the control of the special figure variation display game is performed and the special figure game process is terminated. In addition, in the determination of whether or not the game processing timer has expired (step S363), if it is determined that the game processing timer has expired (Yes), the game provided for reasonably progressing the game A game branching process (step S364) for selecting a process to be executed next based on the process number is performed.

ゲーム分岐処理(ステップS364)において、ゲーム処理番号が「0」であると判定した場合は、特別図柄の変動開始を監視し、特別図柄の変動開始の設定や演出の設定、又は特図普段処理を行うために必要な情報の設定を行う特図普段処理(ステップS365)を行う。また、ゲーム分岐処理(ステップS364)において、ゲーム処理番号が「1」であると判定した場合は、特図変動表示ゲームの前半変動時間に係る情報の設定を行う特図前半変動開始処理(ステップS366)を行う。なお、前半変動時間とは、特図変動表示ゲームの開始からリーチ状態が発生するまでの期間である。一方、ゲーム分岐処理(ステップS364)において、ゲーム処理番号が「2」であると判定した場合は、特図変動表示ゲームの後半変動時間に係る情報の設定を行う特図後半変動開始処理(ステップS367)を行う。なお、後半変動時間とは、リーチ状態の発生から特図変動表示ゲームの終了までの期間である。   In the game branching process (step S364), when it is determined that the game process number is “0”, the special symbol variation start is monitored, the special symbol variation start setting, the effect setting, or the special graphic routine processing A special figure routine process (step S365) for setting information necessary for performing the process is performed. Further, in the game branching process (step S364), when it is determined that the game process number is “1”, the special figure first half fluctuation start process (step for setting information related to the first half fluctuation time of the special figure fluctuation display game) S366) is performed. The first half variation time is a period from the start of the special figure variation display game to the occurrence of the reach state. On the other hand, in the game branching process (step S364), when it is determined that the game process number is “2”, the special figure latter half fluctuation start process (step for setting information related to the latter half fluctuation time of the special figure fluctuation display game) (step S364). S367) is performed. The second half variation time is a period from the occurrence of the reach state to the end of the special figure variation display game.

また、ゲーム分岐処理(ステップS364)において、ゲーム処理番号が「3」であると判定した場合は、表示装置61で実行される飾り特図変動表示ゲームの変動中の図柄の更新や図柄を仮停止した後に再変動させるなどの制御を行う特図変動中処理(ステップS368)を行う。また、ゲーム分岐処理(ステップS364)において、ゲーム処理番号が「4」であると判定した場合は、特図変動ゲームにおいて最終的な図柄の停止タイミングを設定したりする特図表示中処理(ステップS369)を行う。   Also, in the game branching process (step S364), when it is determined that the game process number is “3”, the updating of the symbol and the symbol during the variation of the decorative special symbol variation display game executed on the display device 61 are temporarily performed. A special figure changing process (step S368) for performing control such as changing again after stopping is performed. Also, in the game branching process (step S364), when it is determined that the game process number is “4”, a special figure display process (step for setting a final symbol stop timing in the special figure variation game) S369) is performed.

さらに、ゲーム分岐処理(ステップS364)において、ゲーム処理番号が「5」であると判定した場合は特別遊技状態(大当り)における効果音や照明ユニット17の発光駆動、所定のインターバル(例えば1秒)を挟んだ特別変動入賞装置58(大入賞口)の複数回の開放動作処理などを行うファンファーレ/インターバル中処理(ステップS370)を行う。   Further, in the game branching process (step S364), when it is determined that the game process number is “5”, the sound effect in the special gaming state (big hit), the light emission drive of the lighting unit 17, a predetermined interval (for example, 1 second) A fanfare / interval process (step S370) is performed for performing a plurality of opening operation processes of the special variable winning device 58 (large winning opening) sandwiching the.

また、ゲーム分岐処理(ステップS364)において、ゲーム処理番号が「6」であると判定した場合は大入賞口開放中処理(ステップS371)を行う。この大入賞口開放中処理(ステップS371)では、特別遊技状態が最終ラウンドでなければファンファーレ/インターバル中処理(ステップS370)を行うために必要な情報の設定を、また特別遊技状態が最終ラウンドであれば、特別遊技状態の終了画面のコマンドの設定や次の大入賞口残存球処理(ステップS372)を行うために必要な情報の設定を行う。   Further, in the game branching process (step S364), when it is determined that the game process number is “6”, a special winning opening opening process (step S371) is performed. In the special prize opening opening process (step S371), if the special gaming state is not the final round, information necessary for performing the fanfare / interval processing (step S370) is set, and the special gaming state is the final round. If there is, the setting of the command for the special game state end screen and the setting of information necessary for performing the next big winning opening remaining ball process (step S372) are performed.

また、ゲーム分岐処理(ステップS364)において、ゲーム処理番号が「7」であると判定した場合は、大入賞口を閉鎖した後に大入賞口内に残存する全ての遊技球がカウントスイッチ58aで検出されるまで時間を設定する大入賞口残存球処理(ステップS372)を行う。また、ゲーム分岐処理(ステップS364)において、ゲーム処理番号が「8」であると判定した場合は、特別遊技状態を終了する処理を行うとともに、前記特図普段処理(ステップS365)を行うために必要な情報を設定する大当り終了処理(ステップS373)を行う。   Further, in the game branching process (step S364), when it is determined that the game process number is “7”, all the game balls remaining in the big prize opening after the big prize opening is closed are detected by the count switch 58a. The winning ball remaining ball processing (step S372) for setting the time until the time is performed. Further, in the game branching process (step S364), when it is determined that the game process number is “8”, the special game state is terminated and the special figure routine process (step S365) is performed. A jackpot ending process (step S373) for setting necessary information is performed.

さらに、ゲーム処理番号に基づく上述の各処理を行った後、設定された各種データをセーブするテーブルデータセーブ処理(ステップS374)を行なってから、ゲーム処理タイマの更新などの処理を行う特図変動制御処理(ステップS375)を行なって特図ゲーム処理を終了する。   Furthermore, after performing each of the above-described processes based on the game process number, the table data saving process (step S374) for saving various set data is performed, and then a process such as updating the game process timer is performed. A control process (step S375) is performed to end the special figure game process.

次に、図14の始動口スイッチ監視処理(ステップS361)において実行される始動口SW2監視処理(始動口スイッチ2監視処理)の第1発明の第1の実施例の詳細を、図15を用いて説明する。   Next, details of the first embodiment of the first invention of the start port SW2 monitoring process (start port switch 2 monitoring process) executed in the start port switch monitoring process (step S361) of FIG. 14 will be described with reference to FIG. I will explain.

始動口SW2監視処理(始動口スイッチ2監視処理)では、まず、普通変動入賞装置57が作動中であるか否か、すなわち普通変動入賞装置57が作動して遊技球の入賞が可能な開状態となっているか否かの判定(ステップS611)を行う。この判定において、普通変動入賞装置が作動中である場合(Yes)は、ステップS613へジャンプして始動口スイッチ2(57b)がオンであるか否かの判定を行う。また、ステップS611において、普通変動入賞装置が作動中でないと判定した場合(No)は、次のステップで不正入賞数が上限値であるか否かの判定(ステップS612)を行う。なお、上記ステップS613での始動口スイッチの判定では、前述した図13のステップS31の入力処理でRAMに記憶された始動口スイッチに対応する立ち上がりエッジの有無を調べ、更新した立ち上がりエッジが「あり」の時は、スイッチの状態がオンであると判定し、更新した立ち上がりエッジが「なし」の時は、スイッチの状態がオフであると判定する。   In the start port SW2 monitoring process (start port switch 2 monitoring process), first, it is determined whether or not the normal variation winning device 57 is in operation, that is, the open state in which the normal variation winning device 57 is activated and the game ball can be won. It is determined whether or not (step S611). In this determination, when the normal variation winning device is in operation (Yes), the process jumps to step S613 to determine whether the start port switch 2 (57b) is on. If it is determined in step S611 that the normally variable winning device is not in operation (No), it is determined in the next step whether or not the number of illegal winnings is an upper limit (step S612). In the determination of the start port switch in step S613, the presence or absence of the rising edge corresponding to the start port switch stored in the RAM in the input process in step S31 of FIG. ", It is determined that the switch state is ON, and when the updated rising edge is" NONE ", it is determined that the switch state is OFF.

普通変動入賞装置57は、閉状態では遊技球が入賞不可能であり、開状態でのみ遊技球が入賞可能である。よって、閉状態で遊技球が入賞した場合は何らかの異常や不正が発生した場合であり、このような閉状態で入賞した遊技球があった場合はその数を不正入賞数として計数するようになっている。そして、不正入賞数が上限値であるか否かの判定(ステップS612)では、このように計数された不正入賞数が所定の上限値以上であるかが判定される。この判定において、不正入賞数が上限値である場合(Yes)は、始動口SW監視処理を終了する。すなわち、この場合は始動記憶を発生させないようにする。また、ステップS612において、不正入賞数が上限値でないと判定した場合(No)は、ステップS613で、始動口スイッチ2(57b)がオンであるか否かの判定を行う。   The normally variable winning device 57 cannot win game balls in the closed state, and can win game balls only in the open state. Therefore, when a game ball wins in a closed state, it is a case where some abnormality or fraud occurs, and when there is a game ball won in such a closed state, the number is counted as an illegal winning number. ing. Then, in determining whether or not the number of illegal winnings is an upper limit value (step S612), it is determined whether or not the number of illegal winnings counted in this way is equal to or greater than a predetermined upper limit value. In this determination, when the number of illegal winnings is the upper limit (Yes), the start port SW monitoring process is terminated. That is, in this case, the start memory is not generated. If it is determined in step S612 that the number of illegal winnings is not the upper limit (No), it is determined in step S613 whether the start port switch 2 (57b) is on.

ステップS613で始動口スイッチ2がオンでないと判定された場合には、始動口SW2監視処理を終了する。一方、ステップS613で始動口スイッチ2がオンであると判定された場合には、ステップS614へ進んで、普通変動入賞装置57への遊技球の入賞回数を更新する始動口信号出力回数更新処理(ステップS614)を行う。   If it is determined in step S613 that the start port switch 2 is not on, the start port SW2 monitoring process is terminated. On the other hand, if it is determined in step S613 that the start port switch 2 is on, the process proceeds to step S614, and a start port signal output count update process for updating the number of winning game balls to the normal variation winning device 57 ( Step S614) is performed.

次に、始動記憶数が上限値であるか否かの判定(ステップS615)が行われ、この判定において、始動記憶数が上限値でない場合(No)は、次のステップS616で始動記憶数をインクリメント(+1)した後、ラッチレジスタ(245,247,249)の値を大当り乱数値として取得しRAM(113)の所定領域に記憶する処理(ステップS617)を行う。   Next, it is determined whether or not the starting memory number is the upper limit value (step S615). If the starting memory number is not the upper limit value (No) in this determination, the starting memory number is determined in the next step S616. After the increment (+1), the value of the latch register (245, 247, 249) is acquired as a big hit random value and stored in a predetermined area of the RAM (113) (step S617).

その後、大当り図柄乱数を取得しRAMに記憶する処理(ステップS618)、変動パターン乱数を取得しRAMに記憶する処理(ステップS619)を行う。さらに、演出制御装置150へ送信する飾り特図始動記憶数コマンドを送信回路に設定して始動口SW2監視処理を終了する(ステップS620)。   Thereafter, a process of acquiring the big hit symbol random number and storing it in the RAM (step S618), and a process of acquiring the fluctuation pattern random number and storing it in the RAM (step S619). Further, the decorative special figure start memory number command to be transmitted to the effect control device 150 is set in the transmission circuit, and the start port SW2 monitoring process is terminated (step S620).

また、上記ステップS615の判定で、始動記憶数が上限値であると判定した場合(Yes)、すなわちこれ以上始動記憶を記憶できない場合は、ステップS621へ移行して、ラッチレジスタ(245,247,249)の値を取得すなわち読出しだけ行なって始動口SW2監視処理を終了する。始動記憶数が上限値である場合にも、ラッチレジスタ(245,247,249)の値を取得することで、図9のラッチデータ読込み時制御処理で説明したように、次に始動入賞が検出されたときにカウンタ回路からラッチレジスタへのカウンタ値の取込みが可能にされる。   If it is determined in step S615 that the start memory number is the upper limit value (Yes), that is, if no more start memory can be stored, the process proceeds to step S621, where the latch registers (245, 247, 249) is obtained, that is, only reading is performed, and the start port SW2 monitoring process is terminated. Even when the starting memory number is the upper limit value, the value of the latch register (245, 247, 249) is acquired, and as described in the latch data reading control process in FIG. When this is done, the counter value can be taken into the latch register from the counter circuit.

また、図14の始動口スイッチ監視処理(ステップS361)では、上記した始動口スイッチ2監視処理に続いて始動口SW1監視処理(始動口スイッチ1監視処理)が実行される。始動口スイッチ1監視処理は始動口スイッチ2監視処理とほぼ同様である。   Further, in the starting port switch monitoring process (step S361) of FIG. 14, the starting port SW1 monitoring process (starting port switch 1 monitoring process) is executed following the above-described starting port switch 2 monitoring process. The start port switch 1 monitoring process is substantially the same as the start port switch 2 monitoring process.

始動口スイッチ2監視処理と始動口スイッチ1監視処理の差異は、始動口スイッチ1監視処理では図15の始動口スイッチ2監視処理のステップS611の普通変動入賞装置57が作動中であるか否かの判定、ステップS612の不正入賞数が上限値であるか否かの判定を行わないようにし、さらに、ステップ613で、始動口スイッチ2(57b)ではなく始動口スイッチ1(56a)がオンであるか否かの判定を行うようにした点にある。   The difference between the start port switch 2 monitoring process and the start port switch 1 monitoring process is that, in the start port switch 1 monitoring process, whether or not the normal variation winning device 57 in step S611 of the start port switch 2 monitoring process of FIG. In step 613, the start port switch 1 (56a) is turned on instead of the start port switch 2 (57b). The point is whether or not there is a determination.

図16には、図14の始動口スイッチ監視処理(ステップS361)において実行される始動口SW2監視処理(始動口スイッチ2監視処理)の第1発明の第2の実施例が示されている。図16の始動口スイッチ2監視処理と図15の始動口スイッ2監視処理との差異は、図15の始動口スイッチ2監視処理ではステップS615の始動記憶数が上限値か否かの判定で上限値(Yes)と判定した場合に実行するラッチレジスタの値の取得処理(ステップS621)が、図16の始動口スイッチ2監視処理ではステップS615の始動記憶数が上限値か否かの判定の前に行うようにしている点にある。   FIG. 16 shows a second embodiment of the first invention of the start port SW2 monitoring process (start port 2 monitoring process) executed in the start port switch monitoring process (step S361) of FIG. The difference between the start port switch 2 monitoring process in FIG. 16 and the start port switch 2 monitoring process in FIG. 15 is that the start port switch 2 monitoring process in FIG. 15 determines the start memory number in step S615 as an upper limit value or not. The process of acquiring the value of the latch register (step S621) to be executed when it is determined as “Yes” (step S621) is performed before the determination as to whether or not the start memory number in step S615 is the upper limit in the start port switch 2 monitoring process of FIG. It is in the point that it tries to do.

この実施例の始動口スイッチ2監視処理(始動口SW2監視処理)においても、始動入賞記憶が上限数に達すると、カウンタ値保持手段としてのラッチレジスタが保持しているカウンタ値が大当り乱数等として取得されるため、次に始動入賞が検出されたときにカウンタ回路からラッチレジスタへのカウンタ値の取込みが許可されて、始動入賞記憶数が上限数よりも少なくなったときに所望のカウンタ値がカウンタ値保持手段へ取り込まれるようになる。また、始動入賞記憶数が上限数に達していれば、取得したカウンタ値が始動入賞記憶手段(RAM)に記憶されないため、誤ったカウンタ値による判定が回避される。さらに、この実施例では、始動記憶数が上限値か否かの判定前に、ラッチレジスタの値の取得が行われるため、ラッチレジスタから読み出されたカウンタ値を、始動入賞記憶手段に記憶されるまで所定の領域(バッファ)に保持することとなり、図15の実施例のように単にカウンタ値を読み出すだけでどこにも保持しないという空読みを回避し、一見無駄に見える処理をすることによる不具合をなくすことができる。   Also in the start port switch 2 monitoring process (start port SW2 monitoring process) of this embodiment, when the start winning memory reaches the upper limit number, the counter value held in the latch register as the counter value holding means becomes a big hit random number or the like. Therefore, when the start winning is detected next time, the counter value is permitted to be taken into the latch register from the counter circuit, and the desired counter value is set when the start winning memorized number becomes smaller than the upper limit number. The counter value is stored in the counter value holding means. Further, if the start winning memorized number has reached the upper limit number, the acquired counter value is not stored in the start winning memorizing means (RAM), so that the determination by the wrong counter value is avoided. Further, in this embodiment, since the value of the latch register is acquired before determining whether or not the start memory number is the upper limit value, the counter value read from the latch register is stored in the start winning storage means. Will be held in a predetermined area (buffer) until the data is read, and it is possible to avoid the idle reading that simply reads the counter value and does not hold it anywhere like the embodiment of FIG. Can be eliminated.

次に、図14の始動口スイッチ監視処理(ステップS361)において実行される始動口SW2監視処理(始動口スイッチ2監視処理)の第1発明の第3の実施例を、図17および図18を用いて説明する。第3の実施例においては、CPU111に対する割込み処理の1つとして、図17に示すような乱数ラッチ割込み処理を設ける。そして、この割り込み処理中で更新されるハードラッチ信号の入力回数を図18の始動口スイッチ監視処理中で監視して異常があった場合に、ラッチレジスタへカウンタ回路のカウンタ値をラッチし直すようにする点に特徴がある。   Next, a third embodiment of the first invention of the start port SW2 monitoring process (start port 2 monitoring process) executed in the start port switch monitoring process (step S361) of FIG. 14 will be described with reference to FIGS. It explains using. In the third embodiment, a random number latch interrupt process as shown in FIG. 17 is provided as one of interrupt processes for the CPU 111. Then, when the number of times of input of the hard latch signal updated during this interrupt processing is monitored during the start port switch monitoring processing of FIG. 18, when there is an abnormality, the counter value of the counter circuit is latched again in the latch register. There is a feature in making it.

この実施例では、割込みコントローラ118へ始動入賞検出信号(DET0〜DET2)が入力されたことに基づいて、割込みコントローラ118から乱数制御回路240へ供給されるラッチを指示する信号(ハードラッチ信号)LAT0〜LAT2がCPU111へ入力されると、図17の乱数ラッチ割込み処理が開始されるようになっている。乱数制御回路240へ供給されるハードラッチ信号LAT0〜LAT2の代わりに、乱数制御回路240からラッチレジスタへ出力される信号を割込み信号としてCPU111へ入力して処理を開始するようにしても良い。   In this embodiment, based on the start winning detection signal (DET0 to DET2) being input to the interrupt controller 118, a signal (hard latch signal) LAT0 instructing the latch supplied from the interrupt controller 118 to the random number control circuit 240. When .about.LAT2 is input to the CPU 111, the random number latch interrupt process of FIG. 17 is started. Instead of the hard latch signals LAT0 to LAT2 supplied to the random number control circuit 240, a signal output from the random number control circuit 240 to the latch register may be input to the CPU 111 as an interrupt signal to start processing.

この乱数ラッチ割込み処理が開始されると、先ず割込みを禁止して遊技用マイコン110内の各種レジスタが保持している値をRAM113内のスタック領域へ退避してから、ハードラッチ信号入力回数を更新(インクリメント)する(ステップS81〜S83)。その後、割込みの終了を宣言してステップS82で退避したレジスタの値を元のレジスタに復帰させた後、割込みを許可して処理を終了する(ステップS84〜S86)。   When this random number latch interrupt processing is started, the interrupt is first prohibited, and the values held in various registers in the gaming microcomputer 110 are saved to the stack area in the RAM 113, and then the number of hard latch signal inputs is updated. (Increment) (steps S81 to S83). Thereafter, the end of the interrupt is declared and the value of the register saved in step S82 is restored to the original register, and then the interrupt is permitted and the process is terminated (steps S84 to S86).

図18の始動口SW2監視処理(始動口スイッチ2監視処理)では、まず、普通変動入賞装置57が作動中であるか否か、すなわち普通変動入賞装置57が作動して遊技球の入賞が可能な開状態となっているか否かの判定(ステップS631)を行う。この判定において、普通変動入賞装置が作動中である場合(Yes)は、ステップS633へジャンプして始動口スイッチ2(57b)がオンであるか否かの判定を行う。また、ステップS631において、普通変動入賞装置が作動中でないと判定した場合(No)は、次のステップで不正入賞数が上限値であるか否かの判定(ステップS632)を行う。   In the starting port SW2 monitoring process (starting port switch 2 monitoring process) in FIG. 18, first, it is determined whether or not the normal variation winning device 57 is in operation, that is, the normal variation winning device 57 is activated and a game ball can be won. It is determined whether or not it is in the open state (step S631). In this determination, when the normal variation winning device is in operation (Yes), the process jumps to step S633 to determine whether or not the start port switch 2 (57b) is on. If it is determined in step S631 that the normally variable winning device is not in operation (No), it is determined in the next step whether or not the number of illegal winnings is an upper limit (step S632).

普通変動入賞装置57は、閉状態では遊技球が入賞不可能であり、開状態でのみ遊技球が入賞可能である。よって、閉状態で遊技球が入賞した場合は何らかの異常や不正が発生した場合であり、このような閉状態で入賞した遊技球があった場合はその数を不正入賞数として計数するようになっている。そして、不正入賞数が上限値であるか否かの判定(ステップS632)では、このように計数された不正入賞数が所定の上限値以上であるかが判定される。この判定において、不正入賞数が上限値である場合(Yes)は、始動口SW監視処理を終了する。すなわち、この場合は始動記憶を発生させないようにする。また、ステップS632において、不正入賞数が上限値でないと判定した場合(No)は、ステップS633で、始動口スイッチ2(57b)がオンであるか否かの判定を行う。   The normally variable winning device 57 cannot win game balls in the closed state, and can win game balls only in the open state. Therefore, when a game ball wins in a closed state, it is a case where some abnormality or fraud occurs, and when there is a game ball won in such a closed state, the number is counted as an illegal winning number. ing. In the determination of whether or not the number of illegal winnings is the upper limit (step S632), it is determined whether or not the number of illegal winnings counted in this way is equal to or greater than a predetermined upper limit. In this determination, when the number of illegal winnings is the upper limit (Yes), the start port SW monitoring process is terminated. That is, in this case, the start memory is not generated. If it is determined in step S632 that the number of illegal winnings is not the upper limit (No), it is determined in step S633 whether the start port switch 2 (57b) is on.

ステップS633で始動口スイッチ2がオンでないと判定された場合には、始動口SW2監視処理を終了する。一方、ステップS633で始動口スイッチ2がオンであると判定された場合には、ステップS634へ進んで、ラッチレジスタの値の取得処理(ステップS634)を行う。次に、普通変動入賞装置57への遊技球の入賞回数を更新する始動口信号出力回数更新処理を行う。   If it is determined in step S633 that the start port switch 2 is not on, the start port SW2 monitoring process is terminated. On the other hand, if it is determined in step S633 that the start port switch 2 is ON, the process proceeds to step S634, and a latch register value acquisition process (step S634) is performed. Next, a start port signal output number updating process for updating the number of winnings of game balls to the normal variation winning device 57 is performed.

続いて、始動記憶数が上限値であるか否かの判定(ステップS636)が行われ、この判定において、始動記憶数が上限値の場合は当該監視処理から抜け、始動記憶数が上限値でない場合は、次のステップS637で、始動口スイッチ回数とハードラッチ信号入力回数を比較してハードラッチ信号入力回数が異常か否かの判定を行う。ここで、ハードラッチ信号入力回数の異常とは、始動口スイッチ回数に比べてハードラッチ信号入力回数がかなり多い場合である。ノイズによって誤った始動検出信号が入力されたり、遊技者が不正に大当りを発生させるために、偽の始動検出信号を入力させたような場合に、始動口スイッチ回数に比べてハードラッチ信号入力回数が多くなるので、ステップS637の判定を入れることで上記のようなノイズによる誤動作や不正を防止することができる。   Subsequently, it is determined whether or not the start memory number is the upper limit value (step S636). If the start memory number is the upper limit value in this determination, the monitoring process is terminated and the start memory number is not the upper limit value. If this is the case, in the next step S637, the number of start-port switches and the number of hard latch signal inputs are compared to determine whether or not the number of hard latch signal inputs is abnormal. Here, the abnormality of the hard latch signal input count is a case where the hard latch signal input count is considerably larger than the start opening switch count. The number of hard latch signal inputs compared to the number of start port switches when a false start detection signal is input due to noise or a false start detection signal is input by the player to illegally generate a big hit. Therefore, by making the determination in step S637, it is possible to prevent malfunction and fraud due to noise as described above.

ステップS637で異常と判定された場合(Yes)は、次のステップS638でラッチレジスタトリガ回路244,246,248(図6参照)のいずれかをセットして、ソフトウェア処理でラッチ信号を発生させる。このラッチ信号によってカウンタ回路243の値がラッチレジスタ245,247,249のいずれかにラッチされる。ステップS639では、このラッチレジスタの値を取得しステップS640へ進む。一方、ステップS637で異常でないと判定された場合(No)は、ステップS640へジャンプする。そして、ステップS640では、ステップS633で取得したレジスタの値またはステップS639で取得したレジスタの値を大当り乱数としてRAMに記憶する。   If it is determined in step S637 that there is an abnormality (Yes), one of the latch register trigger circuits 244, 246, 248 (see FIG. 6) is set in the next step S638, and a latch signal is generated by software processing. With this latch signal, the value of the counter circuit 243 is latched in one of the latch registers 245, 247, and 249. In step S639, the value of the latch register is acquired, and the process proceeds to step S640. On the other hand, if it is determined in step S637 that there is no abnormality (No), the process jumps to step S640. In step S640, the register value acquired in step S633 or the register value acquired in step S639 is stored in the RAM as a big hit random number.

その後、ステップS641で始動記憶数を更新(インクリメント)してから、大当り図柄乱数を取得しRAMに記憶する処理(ステップS642)、変動パターン乱数を取得しRAMに記憶する処理(ステップS643)を行い、さらに、演出制御装置150へ送信する飾り特図始動記憶数コマンドを送信回路に設定する処理(ステップS644)を行なって始動口SW2監視処理を終了する。   After that, after updating (incrementing) the starting memory number in step S641, processing for acquiring the big hit symbol random number and storing it in the RAM (step S642), processing for acquiring the fluctuation pattern random number and storing it in the RAM (step S643) is performed. Further, a process for setting a decoration special figure start memory number command to be transmitted to the effect control device 150 is performed in the transmission circuit (step S644), and the start port SW2 monitoring process is terminated.

また、図14の始動口スイッチ監視処理(ステップS361)では、上記した始動口スイッチ2監視処理に続いて始動口SW1監視処理(始動口スイッチ1監視処理)が実行される。始動口スイッチ1監視処理は始動口スイッチ2監視処理とほぼ同様である。   Further, in the starting port switch monitoring process (step S361) of FIG. 14, the starting port SW1 monitoring process (starting port switch 1 monitoring process) is executed following the above-described starting port switch 2 monitoring process. The start port switch 1 monitoring process is substantially the same as the start port switch 2 monitoring process.

始動口スイッチ2監視処理と始動口スイッチ1監視処理の差異は、始動口スイッチ1監視処理では図18の始動口スイッチ2監視処理のステップS631の普通変動入賞装置57が作動中であるか否かの判定、ステップS632の不正入賞数が上限値であるか否かの判定を行わないようにし、さらに、ステップ633で、始動口スイッチ2(57b)ではなく始動口スイッチ1(56a)がオンであるか否かの判定を行うようにした点にある。   The difference between the start port switch 2 monitoring process and the start port switch 1 monitoring process is that in the start port switch 1 monitoring process, the normal variation winning device 57 in step S631 of the start port switch 2 monitoring process of FIG. 18 is operating. In step S632, the start opening switch 1 (56a) is turned on instead of the start opening switch 2 (57b). The point is whether or not there is a determination.

図19には、第2発明、第3発明の実施例において、前記タイマ割込み処理(図13)とは別個に外部からの信号入力に基づいて実行される割込み処理の1つとしての乱数ラッチ割込み処理の手順が示されている。   FIG. 19 shows a random number latch interrupt as one of the interrupt processes executed based on the signal input from the outside separately from the timer interrupt process (FIG. 13) in the second and third embodiments. The processing procedure is shown.

この乱数ラッチ割込み処理は、割込みコントローラ118に始動入賞検出信号(DET0〜DET2)が入力されたことに基づいて、割込みコントローラ118から乱数制御回路240へ供給されるラッチを指示する信号(ハードラッチ信号)LAT0〜LAT2がCPU111へ入力されることで開始されるようになっている。乱数制御回路240へ供給されるハードラッチ信号LAT0〜LAT2の代わりに、乱数制御回路240からラッチレジスタへ出力される信号を割込み信号としてCPU111へ入力して処理を開始するようにしても良い。   This random number latch interrupt processing is a signal (hard latch signal) that instructs the latch supplied from the interrupt controller 118 to the random number control circuit 240 based on the input of the start winning detection signal (DET0 to DET2) to the interrupt controller 118. ) It is started when LAT0 to LAT2 are input to the CPU 111. Instead of the hard latch signals LAT0 to LAT2 supplied to the random number control circuit 240, a signal output from the random number control circuit 240 to the latch register may be input to the CPU 111 as an interrupt signal to start processing.

この乱数ラッチ割込み処理が開始されると、先ず割込みを禁止して遊技用マイコン110内の各種レジスタが保持している値をRAM113内のスタック領域へ退避してから、ラッチレジスタ(245,247,249)の値を取得し、取得した値をRAM内のバッファ領域であるラッチ乱数領域に記憶する(ステップS51〜S54)。その後、割込みの終了を宣言してステップS52で退避したレジスタの値を元のレジスタに復帰させた後、割込みを許可して処理を終了する(ステップS55〜S57)。   When this random number latch interrupt process is started, the interrupt is first prohibited and the values held in the various registers in the gaming microcomputer 110 are saved to the stack area in the RAM 113, and then the latch registers (245, 247, 249) is acquired, and the acquired value is stored in a latch random number area which is a buffer area in the RAM (steps S51 to S54). Thereafter, the end of the interrupt is declared and the value of the register saved in step S52 is restored to the original register, and then the interrupt is permitted and the process is terminated (steps S55 to S57).

次に、図14の特図ゲーム処理の始動口SW監視処理(ステップS361)において実行される第2発明、第3発明の実施例における始動口スイッチ2監視処理(ステップS361)の詳細を、図20を用いて説明する。   Next, the details of the start port switch 2 monitoring process (step S361) in the second and third embodiments of the special invention game process of FIG. 14 executed in the start port SW monitoring process (step S361) are shown in FIG. 20 will be described.

始動口SW2監視処理(始動口スイッチ2監視処理)では、まず、普通変動入賞装置57が作動中であるか否か、すなわち普通変動入賞装置57が作動して遊技球の入賞が可能な開状態となっているか否かの判定(ステップS611)を行う。この判定において、普通変動入賞装置が作動中である場合(Yes)は、ステップS613へジャンプして始動口スイッチ2(57b)がオンであるか否かの判定を行う。また、ステップS611において、普通変動入賞装置が作動中でないと判定した場合(No)は、次のステップで不正入賞数が上限値であるか否かの判定(ステップS612)を行う。   In the start port SW2 monitoring process (start port switch 2 monitoring process), first, it is determined whether or not the normal variation winning device 57 is in operation, that is, the open state in which the normal variation winning device 57 is activated and the game ball can be won. It is determined whether or not (step S611). In this determination, when the normal variation winning device is in operation (Yes), the process jumps to step S613 to determine whether the start port switch 2 (57b) is on. If it is determined in step S611 that the normally variable winning device is not in operation (No), it is determined in the next step whether or not the number of illegal winnings is an upper limit (step S612).

普通変動入賞装置57は、閉状態では遊技球が入賞不可能であり、開状態でのみ遊技球が入賞可能である。よって、閉状態で遊技球が入賞した場合は何らかの異常や不正が発生した場合であり、このような閉状態で入賞した遊技球があった場合はその数を不正入賞数として計数するようになっている。そして、ステップS612では、このように計数された不正入賞数が所定の上限値以上であるか否かが判定される。この判定において、不正入賞数が上限値である場合(Yes)は、始動口SW2監視処理を終了する。すなわち、この場合は始動記憶を発生させないようにする。また、ステップS612において、不正入賞数が上限値でないと判定した場合(No)は、ステップS613で、始動口スイッチ2(57b)がオンであるか否かの判定を行う。   The normally variable winning device 57 cannot win game balls in the closed state, and can win game balls only in the open state. Therefore, when a game ball wins in a closed state, it is a case where some abnormality or fraud occurs, and when there is a game ball won in such a closed state, the number is counted as an illegal winning number. ing. In step S612, it is determined whether or not the number of illegal prizes thus counted is equal to or greater than a predetermined upper limit value. In this determination, when the number of illegal winnings is the upper limit value (Yes), the start port SW2 monitoring process is terminated. That is, in this case, the start memory is not generated. If it is determined in step S612 that the number of illegal winnings is not the upper limit (No), it is determined in step S613 whether the start port switch 2 (57b) is on.

ステップS613で始動口スイッチ2がオンでないと判定された場合には、始動口SW2監視処理を終了する。一方、ステップS613で始動口スイッチ2がオンであると判定された場合には、ステップS614へ進んで、始動入賞口56および普通変動入賞装置57への遊技球の入賞回数を更新する始動口信号出力回数更新処理(ステップS614)を行う。   If it is determined in step S613 that the start port switch 2 is not on, the start port SW2 monitoring process is terminated. On the other hand, if it is determined in step S613 that the start port switch 2 is on, the process proceeds to step S614 to start the start port signal for updating the number of winning game balls to the start winning port 56 and the normal variation winning device 57. An output count update process (step S614) is performed.

次に、始動記憶数が上限値であるか否かの判定(ステップS615)が行われ、この判定において、始動記憶数が上限値でない場合(No)は、次のステップS616で始動記憶数をインクリメント(+1)した後、図15のステップS54でRAM内のラッチ乱数領域に記憶した値を大当り乱数値として同じくRAM(113)内の所定の領域に記憶する(ステップS617)。そして、ラッチ乱数領域には所定のハズレ値(固定値)を記憶する(ステップS618)。ハズレ値を記憶する代わりに、記憶値を「オール0」にクリアあるいは「オール1」等の固定値に設定するように構成してもよい。このように、乱数値として記憶してからラッチ乱数領域に固定値を記憶することで、回路の故障等何らかの不具合で乱数ラッチ割込み処理が行われなくなった場合にも、取得済みのカウンタ値が重複して乱数値として記憶されるのを防止することができる。これにより、直前にラッチ乱数領域に保持されていた値が大当りに相当するものであった場合に、続けて大当りが発生するのを防止することができる。なお、ステップS618は省略してもよい。   Next, it is determined whether or not the starting memory number is the upper limit value (step S615). If the starting memory number is not the upper limit value (No) in this determination, the starting memory number is determined in the next step S616. After the increment (+1), the value stored in the latch random number area in the RAM in step S54 in FIG. 15 is stored in the predetermined area in the RAM (113) as the big hit random number value (step S617). Then, a predetermined loss value (fixed value) is stored in the latch random number area (step S618). Instead of storing the lost value, the stored value may be cleared to “all 0” or set to a fixed value such as “all 1”. Thus, by storing a fixed value in the latch random number area after storing it as a random number value, even if the random number latch interrupt processing is not performed due to some trouble such as a circuit failure, the acquired counter value is duplicated. Thus, it can be prevented from being stored as a random value. As a result, when the value held in the latch random number area immediately before corresponds to the big hit, it is possible to prevent the big hit from occurring. Note that step S618 may be omitted.

その後、大当り図柄乱数を取得しRAMに記憶する処理(ステップS619)、変動パターン乱数を取得しRAMに記憶する処理(ステップS620)を行う。さらに、演出制御装置150へ送信する飾り特図始動記憶数コマンドを送信回路に設定する処理(ステップS621)をして始動口SW2監視処理を終了する。また、上記ステップS615の判定で、始動記憶数が上限値であると判定した場合(Yes)、すなわちこれ以上始動記憶を記憶できない場合も始動口SW2監視処理を終了する。   Thereafter, a process of acquiring the big hit symbol random number and storing it in the RAM (step S619), and a process of acquiring the fluctuation pattern random number and storing it in the RAM (step S620). Furthermore, the process of setting the decoration special figure start memory number command to be transmitted to the effect control device 150 is set in the transmission circuit (step S621), and the start port SW2 monitoring process is terminated. Further, when it is determined in step S615 that the start memory number is the upper limit value (Yes), that is, when the start memory cannot be stored any more, the start port SW2 monitoring process is terminated.

また、図14の始動口スイッチ監視処理(ステップS361)では、上記した始動口スイッチ2監視処理に続いて始動口SW1監視処理(始動口スイッチ1監視処理)が実行される。始動口スイッチ1監視処理は始動口スイッチ2監視処理とほぼ同様である。   Further, in the starting port switch monitoring process (step S361) of FIG. 14, the starting port SW1 monitoring process (starting port switch 1 monitoring process) is executed following the above-described starting port switch 2 monitoring process. The start port switch 1 monitoring process is substantially the same as the start port switch 2 monitoring process.

始動口スイッチ2監視処理と始動口スイッチ1監視処理の差異は、始動口スイッチ1監視処理では図20の始動口スイッチ2監視処理のステップS611の普通変動入賞装置57が作動中であるか否かの判定、ステップS612の不正入賞数が上限値であるか否かの判定を行わないようにし、さらに、ステップ613で、始動口スイッチ2(57b)ではなく始動口スイッチ1(56a)がオンであるか否かの判定を行うようにした点にある。   The difference between the start port switch 2 monitoring process and the start port switch 1 monitoring process is that, in the start port switch 1 monitoring process, the normal variation winning device 57 in step S611 of the start port switch 2 monitoring process of FIG. 20 is operating. In step 613, the start port switch 1 (56a) is turned on instead of the start port switch 2 (57b). The point is whether or not there is a determination.

外部からの始動検出信号の入力に基づいて乱数生成回路124においてカウンタ回路243の値をラッチレジスタ245,247,249にラッチさせ、その後タイマ割込み処理でラッチレジスタに保持されている値を乱数値として取得するようにした場合、始動検出信号の入力からタイマ割込み処理開始までの間に、乱数生成回路124内でノイズが発生しそのノイズによって誤ってカウンタ回路243の値がラッチレジスタ245,247,249のいずれかにラッチされると、ノイズでラッチレジスタに取り込まれたカウンタ値がCPUによって乱数値として取得されるおそれがある。   Based on the input of the start detection signal from the outside, the value of the counter circuit 243 is latched in the latch registers 245, 247, and 249 in the random number generation circuit 124, and then the value held in the latch register in the timer interrupt processing is used as the random number value. In the case of acquisition, noise is generated in the random number generation circuit 124 between the input of the start detection signal and the start of the timer interrupt process, and the value of the counter circuit 243 is erroneously set to the latch registers 245, 247, and 249 by the noise. If the counter value is latched by any of the above, there is a possibility that the counter value taken into the latch register due to noise is acquired as a random value by the CPU.

しかるに、上記実施例のように、始動検出信号の入力に基づいてCPUによって実行される図15の乱数ラッチ割込み処理によりラッチレジスタに保持されている値を乱数値として取得し、その後のタイマ割込み処理で実行される始動口スイッチ2監視処理で既に取得している乱数値を正規の乱数値として記憶することで、始動検出信号の入力からタイマ割込み処理開始までの間に発生したノイズによってラッチされた誤った乱数値が判定に使用されるのを防止することができる。   However, as in the above embodiment, the value held in the latch register is acquired as a random value by the random number latch interrupt process of FIG. 15 executed by the CPU based on the input of the start detection signal, and the timer interrupt process thereafter. By storing the random number value already acquired in the start port switch 2 monitoring process executed in step 2 as a regular random number value, it is latched by noise generated between the input of the start detection signal and the start of the timer interrupt process. It is possible to prevent an erroneous random number value from being used for the determination.

図21には、第4発明の実施例において前記タイマ割込み処理(図13)とは別個に外部からの信号入力に基づいて実行される割込み処理の1つとしての乱数ラッチ割込み処理の手順が示されている。なお、図21のフローチャートは、遊技盤に2つの始動入賞口(図3では56と57)が設けられており、それぞれの始動入賞口への入賞によって種類の異なる変動表示ゲームを実行するように遊技制御が設定されている場合に、1回のタイマ割込みによる処理が終了して次のタイマ割込み処理が開始されるまでの間(実施例では2msec)に続けて始動入賞が発生した場合に、入賞順序を区別して記憶することができるようにしたものである。以下の説明では、始動入賞口56を「始動口1」と称し、始動入賞装置57を「始動口2」と称する。また、各始動入賞口に対応してラッチレジスタ245,247も始動口1用と始動口2用に固定されている。このようにすることで、例えば、始動口1への入賞で特図1が変動し、始動口2への入賞で特図2が変動するようにし、特図1と特図2とで付与される遊技価値が異なるような遊技制御をする場合に、入賞順を正確に判定することにより誤った遊技価値を付与することを防止できる。   FIG. 21 shows a procedure of random number latch interrupt processing as one of interrupt processing executed based on signal input from the outside separately from the timer interrupt processing (FIG. 13) in the embodiment of the fourth invention. Has been. In the flowchart of FIG. 21, the game board is provided with two start winning openings (56 and 57 in FIG. 3), so that different types of variable display games are executed depending on the winning at each start winning opening. When game control is set, when a start winning occurs after the process by one timer interrupt is finished and the next timer interrupt process is started (2 msec in the embodiment), The winning order can be distinguished and memorized. In the following description, the start winning port 56 is referred to as “start port 1”, and the start winning device 57 is referred to as “start port 2”. The latch registers 245 and 247 are also fixed to the start port 1 and the start port 2 corresponding to the start winning ports. In this way, for example, the special figure 1 fluctuates by winning the start opening 1, and the special figure 2 fluctuates by winning the starting opening 2. When performing game control with different game values, it is possible to prevent a wrong game value from being given by accurately determining the winning order.

この乱数ラッチ割込み処理は、割込みコントローラ118に始動入賞検出信号DET0またはDET1が入力されたことに基づいて、割込みコントローラ118から乱数制御回路240へ供給されるラッチを指示する信号(ハードラッチ信号)LAT0またはLAT1がCPU111へ入力されることで開始されるようになっている。乱数制御回路240へ供給されるハードラッチ信号LAT0,LAT1の代わりに、乱数制御回路240からラッチレジスタへ出力される信号を割込み信号としてCPU111へ入力して処理を開始するようにしても良い。   This random number latch interrupt processing is a signal (hard latch signal) LAT0 instructing the latch supplied from the interrupt controller 118 to the random number control circuit 240 based on the start winning detection signal DET0 or DET1 being input to the interrupt controller 118. Alternatively, it is started by inputting LAT1 to the CPU 111. Instead of the hard latch signals LAT0 and LAT1 supplied to the random number control circuit 240, a signal output from the random number control circuit 240 to the latch register may be input to the CPU 111 as an interrupt signal to start processing.

この乱数ラッチ割込み処理が開始されると、先ず割込みを禁止して遊技用マイコン110内の各種レジスタが保持している値をRAM113内のスタック領域へ退避してから、対応するラッチレジスタ245または247の値を取得する(ステップS51〜S53)。続いて、ラッチレジスタ245に対応するステータスレジスタ250のラッチ許可フラグを参照してラッチレジスタ245がラッチ禁止になっているか否かを判定する(ステップS54)。始動入賞に基づいてカウンタ値のラッチがあった場合に禁止フラグがセットされるためである。   When this random number latch interrupt processing is started, the interrupt is first prohibited and the values held in the various registers in the gaming microcomputer 110 are saved to the stack area in the RAM 113, and then the corresponding latch register 245 or 247 is stored. Is acquired (steps S51 to S53). Subsequently, it is determined by referring to the latch permission flag of the status register 250 corresponding to the latch register 245 whether or not the latch register 245 is prohibited from latching (step S54). This is because the prohibition flag is set when the counter value is latched based on the start winning.

ステップS54で、「ラッチ禁止」になっている(Yes)と判定すると、次のステップS55で始動口1の始動口番号を取得し、「ラッチ禁止」になっていない(No)と判定すると、ステップS56で始動口2の始動口番号を取得する。始動口番号はROMに格納されていてもよいし、プログラムの初期化処理においてRAMの所定領域に格納されていてもよい。その後、RAM(113)内に用意されている図22に示すような始動口入賞情報記憶領域の「先始動口入賞情報領域」と「後始動口入賞情報領域」を調べてデータが「0」か否かを判定する(ステップS57)。   If it is determined in step S54 that it is “latching prohibited” (Yes), the starting port number of the starting port 1 is acquired in the next step S55, and if it is determined that it is not “latching prohibited” (No), In step S56, the start port number of the start port 2 is acquired. The starting port number may be stored in the ROM, or may be stored in a predetermined area of the RAM in the program initialization process. Thereafter, the “previous start opening prize information area” and “rear start opening prize information area” in the start opening prize information storage area as shown in FIG. 22 prepared in the RAM (113) are examined, and the data is “0”. It is determined whether or not (step S57).

ここで、データが共に「0」の場合(Yes)には、ステップS55で取得した始動口番号を、図22の「先始動口入賞情報領域」の「始動口番号情報」の欄に記憶し(ステップS58)、ステップS53で取得したラッチレジスタの値を図22の「先始動口入賞情報領域」の「乱数(上位)」と「乱数(下位)」欄に分けて記憶する(ステップS59)。一方、ステップS57でデータが「0」でないと判定した場合(No)には、ステップS60へ移行して、ステップS55またはS56で取得した始動口番号情報が「先始動口入賞情報領域」の「始動口番号情報」と一致しているか否かを判定する。ここで、番号が一致していれば、ステップS53で取得したラッチレジスタの値を「先始動口入賞情報領域」の「乱数(上位)」と「乱数(下位)」欄に上書きする(ステップS61)。これにより、ノイズによってラッチレジスタがカウンタ値をラッチしていた場合にも、この乱数ラッチ割込み処理で取得したラッチレジスタの値を記憶することができる。   Here, if the data are both “0” (Yes), the starting port number acquired in step S55 is stored in the “starting port number information” column of the “first starting port winning information area” in FIG. (Step S58), the value of the latch register acquired in Step S53 is divided and stored in the “Random number (upper)” and “Random number (lower)” fields of the “First starting entry prize information area” in FIG. 22 (Step S59). . On the other hand, if it is determined in step S57 that the data is not “0” (No), the process proceeds to step S60, and the starting port number information acquired in step S55 or S56 is “first starting port winning information area” “ It is determined whether or not it matches the “starting port number information”. Here, if the numbers match, the value of the latch register acquired in step S53 is overwritten in the “random number (upper)” and “random number (lower)” fields of the “pre-start opening prize information area” (step S61). ). Thus, even when the latch register latches the counter value due to noise, the value of the latch register acquired by the random number latch interrupt process can be stored.

また、ステップS60で番号が一致していないと判定した場合(No)には、ステップS55で取得した始動口番号を、図22の「後始動口入賞情報領域」の「始動口番号情報」の欄に記憶し(ステップS62)、ステップS53で取得したラッチレジスタの値を図22の「後始動口入賞情報領域」の「乱数(上位)」と「乱数(下位)」欄に分けて記憶する(ステップS63)。その後、ステップS64で割込みの終了を宣言してから、ステップS52で退避したレジスタの値を元のレジスタに復帰させた後、割込みを許可して処理を終了する(ステップS65,S66)。上記のような処理を行なうことによって、始動口1と始動口2に連続して遊技球が入賞した場合にも、その順序に従ってラッチレジスタにラッチされたカウンタ値を各乱数値として正確に記憶することができる。   If it is determined in step S60 that the numbers do not match (No), the starting port number acquired in step S55 is set in the “starting port number information” in the “rear starting port winning information area” in FIG. (Step S62), and the value of the latch register acquired in step S53 is stored separately in the "Random number (upper)" and "Random number (lower)" fields of the "Rear start opening prize information area" in FIG. (Step S63). Thereafter, after the end of the interrupt is declared in step S64, the value of the register saved in step S52 is restored to the original register, and then the interrupt is permitted and the process is terminated (steps S65 and S66). By performing the processing as described above, even when a game ball wins in succession at the start port 1 and the start port 2, the counter values latched in the latch registers in accordance with the order are accurately stored as each random number value. be able to.

次に、図14の特図ゲーム処理の中で実行される第4発明の実施例における始動口スイッチ監視処理(ステップS361)の詳細を、図23〜図25を用いて説明する。   Next, the details of the start port switch monitoring process (step S361) in the embodiment of the fourth invention executed in the special figure game process of FIG. 14 will be described with reference to FIGS.

図23に示すように、始動口SW監視処理(始動口スイッチ監視処理)では、まず、図22の「先始動口入賞情報領域」と「後始動口入賞情報領域」にデータが記憶されている否か判定する(ステップS601)。ここで、データが記憶されていなければ当該監視処理を終了し、データが記憶されている場合には、次のステップS602で、「先始動口入賞情報領域」の「始動口番号情報」が始動口1か否かを判定する。そして、「始動口番号情報」が始動口1の場合には、始動口SW1監視処理S610(図24)を実行してから始動口SW2監視処理S630(図25)を実行し、「始動口番号情報」が始動口1でないつまり始動口2の場合には、始動口SW2監視処理S630(図25)を実行してから始動口SW1監視処理S610(図24)を実行する。始動口SW1監視処理S610(図24)と始動口SW2監視処理S630(図25)との違いは、始動口SW1監視処理S610(図24)には、始動口SW2監視処理S630(図25)において最初に行なわれるステップS611の判定とステップS612の判定が存在しない点である。そこで、先ず始動口SW2監視処理S630について説明する。   As shown in FIG. 23, in the start port SW monitoring process (start port switch monitoring process), first, data is stored in the “first start port winning information area” and “rear starting start winning information area” in FIG. It is determined whether or not (step S601). If the data is not stored, the monitoring process is terminated. If the data is stored, the “start port number information” in the “previous start port winning information area” is started in the next step S602. It is determined whether the mouth 1 or not. When the “start port number information” is the start port 1, the start port SW1 monitoring process S610 (FIG. 24) is executed, and then the start port SW2 monitoring process S630 (FIG. 25) is executed. When “information” is not the start port 1, that is, the start port 2, the start port SW2 monitoring process S630 (FIG. 25) is executed, and then the start port SW1 monitoring process S610 (FIG. 24) is executed. The difference between the start port SW1 monitoring process S610 (FIG. 24) and the start port SW2 monitoring process S630 (FIG. 25) is that the start port SW1 monitoring process S610 (FIG. 24) is different from the start port SW2 monitoring process S630 (FIG. 25). This is the point that the determination in step S611 and the determination in step S612 that are performed first do not exist. First, the start port SW2 monitoring process S630 will be described.

始動口SW2監視処理S630では、図25に示すように、先ず普通変動入賞装置57が作動中であるか否か、すなわち普通変動入賞装置57が作動して遊技球の入賞が可能な開状態となっているか否かの判定(ステップS611)を行う。この判定において、普通変動入賞装置が作動中である場合(Yes)は、ステップS613へジャンプして始動口スイッチ(56a,57b)がオンであるか否かの判定を行う。また、ステップS611において、普通変動入賞装置が作動中でないと判定した場合(No)は、次のステップで不正入賞数が上限値であるか否かの判定(ステップS612)を行う。   In the start port SW2 monitoring process S630, as shown in FIG. 25, first, it is determined whether or not the normal variation winning device 57 is in operation, that is, the normal variation winning device 57 is activated and the game ball can be won. It is determined whether or not (step S611). In this determination, when the normally variable winning device is operating (Yes), the process jumps to step S613 to determine whether or not the start port switches (56a, 57b) are on. If it is determined in step S611 that the normally variable winning device is not in operation (No), it is determined in the next step whether or not the number of illegal winnings is an upper limit (step S612).

普通変動入賞装置57は、閉状態では遊技球が入賞不可能であり、開状態でのみ遊技球が入賞可能である。よって、閉状態で遊技球が入賞した場合は何らかの異常や不正が発生した場合であり、このような閉状態で入賞した遊技球があった場合はその数を不正入賞数として計数するようになっている。そして、ステップS612では、このように計数された不正入賞数が所定の上限値以上であるか否かが判定される。この判定において、不正入賞数が上限値である場合(Yes)は、始動口SW2監視処理を終了する。すなわち、この場合は始動記憶を発生させないようにする。また、ステップS612において、不正入賞数が上限値でないと判定した場合(No)は、ステップS613で、始動口スイッチ(56a,57b)がオンであるか否かの判定を行う。   The normally variable winning device 57 cannot win game balls in the closed state, and can win game balls only in the open state. Therefore, when a game ball wins in a closed state, it is a case where some abnormality or fraud occurs, and when there is a game ball won in such a closed state, the number is counted as an illegal winning number. ing. In step S612, it is determined whether or not the number of illegal prizes thus counted is equal to or greater than a predetermined upper limit value. In this determination, when the number of illegal winnings is the upper limit value (Yes), the start port SW2 monitoring process is terminated. That is, in this case, the start memory is not generated. If it is determined in step S612 that the number of illegal winnings is not the upper limit (No), it is determined in step S613 whether or not the start port switches (56a, 57b) are on.

ステップS613で始動口スイッチがオンでないと判定された場合には、始動口SW2監視処理を終了する。一方、ステップS613で始動口スイッチがオンであると判定された場合には、ステップS614へ進んで、始動入賞口56および普通変動入賞装置57への遊技球の入賞回数を更新する始動口信号出力回数更新処理を行う。   If it is determined in step S613 that the start port switch is not on, the start port SW2 monitoring process is terminated. On the other hand, if it is determined in step S613 that the start port switch is on, the process proceeds to step S614, and a start port signal output for updating the number of winning game balls to the start winning port 56 and the normal variation winning device 57 is updated. Update the number of times.

次に、始動記憶数が上限値であるか否かの判定(ステップS615)が行われ、この判定において、始動記憶数が上限値であると判定した場合(Yes)、すなわちこれ以上始動記憶を記憶できない場合は、始動口SW2監視処理を終了する。   Next, it is determined whether or not the starting memory number is the upper limit value (step S615). If it is determined in this determination that the starting memory number is the upper limit value (Yes), that is, starting memory is further stored. If it cannot be stored, the start port SW2 monitoring process is terminated.

また、上記ステップS615で、始動記憶数が上限値でないと判定した場合(No)は、次のステップS616で始動記憶数をインクリメント(+1)した後、図22の「先始動口入賞情報領域」の乱数領域に記憶されている値を大当り乱数値として同じくRAM(113)内の所定の領域に記憶する(ステップS617)。そして、「後始動口入賞情報領域」に記憶されている値を「先始動口入賞情報領域」にシフトして記憶し、シフト後の「後始動口入賞情報領域」をクリア(記憶値を「0」に)する(ステップS618,S619)。   If it is determined in step S615 that the starting memory number is not the upper limit value (No), the starting memory number is incremented (+1) in the next step S616, and then the “first starting port winning information area” in FIG. Similarly, the value stored in the random number area is stored as a big hit random number value in a predetermined area in the RAM (113) (step S617). Then, the value stored in the “rear start opening prize information area” is shifted to the “previous start opening prize information area” and stored, and the “rear start opening prize information area” after the shift is cleared (the stored value is “ 0 ”(steps S618 and S619).

ここで、「先始動口入賞情報領域」と「後始動口入賞情報領域」にそれぞれ有意な値が記憶されていた場合には、「後始動口入賞情報領域」の記憶値が「先始動口入賞情報領域」にシフトされ、「後始動口入賞情報領域」がクリアされる。「先始動口入賞情報領域」にのみ有意な値が記憶されていた場合には、「後始動口入賞情報領域」の値はもともと「0」であり、それが「先始動口入賞情報領域」にシフトされることで「先始動口入賞情報領域」がクリアされる。また、始動口SW1監視処理を行ってから始動口SW2監視処理を行う場合には、始動口SW1監視処理でシフト後に「後始動口入賞情報領域」がクリアされ、始動口SW2監視処理で「後始動口入賞情報領域」の値(「0」)が「先始動口入賞情報領域」にシフトされることで、「先始動口入賞情報領域」がクリアされる。   Here, if significant values are stored in the “previous start opening prize information area” and the “rear start opening prize information area”, the stored value of the “following start opening prize information area” is “previous start opening prize information area”. The shift to the “winning information area” is cleared, and the “post-start opening winning information area” is cleared. In the case where a significant value is stored only in the “pre-start opening prize information area”, the value of the “post-start opening prize information area” is originally “0”, which is the “pre-start opening prize information area”. By shifting to, the “preliminary start opening prize information area” is cleared. In addition, when the start port SW2 monitoring process is performed after the start port SW1 monitoring process, the “rear start port winning information area” is cleared after the shift in the start port SW1 monitoring process, and the “after By shifting the value (“0”) of the “start opening prize information area” to the “previous starting opening prize information area”, the “previous start opening prize information area” is cleared.

上記処理の後、大当り図柄乱数を取得しRAMに記憶する処理(ステップS620)、変動パターン乱数を取得しRAMに記憶する処理(ステップS621)を行い、さらに、演出制御装置150へ送信する飾り特図始動記憶数コマンドを送信回路に設定する処理(ステップS622)をして始動口SW2監視処理を終了する。   After the above process, a process of acquiring the jackpot symbol random number and storing it in the RAM (step S620), a process of acquiring the fluctuation pattern random number and storing it in the RAM (step S621), and further transmitting the decoration feature to the effect control device 150. The process of setting the figure start memory number command in the transmission circuit is performed (step S622), and the start port SW2 monitoring process is terminated.

上記のように、始動口入賞情報記憶領域の値を読み出して大当り乱数値として記憶した後にクリアすることで、取得済みの乱数値を重複して取得するおそれがなくなる。これにより、直前に始動口入賞情報記憶領域に記憶されていた乱数値が大当りに相当するものであった場合に、続けて大当りが発生するのを防止することができる。また、「後始動口入賞情報領域」の値を「先始動口入賞情報領域」にシフトした後に「後始動口入賞情報領域」をクリアすることにより、「先始動口入賞情報領域」の情報をクリアする動作を省け、カウンタ値(乱数)の読出し動作が簡略化され、処理速度が高速化されるとともに、プログラム容量を低減することができる。また、一度取得されたカウンタ値(乱数)を再度取得するという誤動作を防止することができる。   As described above, by reading the value in the start opening prize information storage area, storing it as a big hit random number value, and then clearing it, there is no possibility of acquiring the acquired random number value in duplicate. Thereby, when the random number value stored in the start opening prize information storage area immediately before corresponds to the big hit, it is possible to prevent the big hit from being generated. In addition, after shifting the value of the “next start opening prize information area” to the “previous start opening prize information area”, by clearing the “after start opening prize information area”, the information of the “first start opening prize information area” is changed. The clearing operation is omitted, the counter value (random number) reading operation is simplified, the processing speed is increased, and the program capacity can be reduced. Further, it is possible to prevent a malfunction in which the counter value (random number) once acquired is acquired again.

図26には、第5発明の第1実施例において前記タイマ割込み処理(図13)とは別個に外部からの信号入力に基づいて実行される割込み処理の1つとしての乱数ラッチ割込み処理の手順が示されている。   FIG. 26 shows a procedure of random number latch interrupt processing as one of interrupt processing executed based on signal input from the outside separately from the timer interrupt processing (FIG. 13) in the first embodiment of the fifth invention. It is shown.

この乱数ラッチ割込み処理は、割込みコントローラ118に始動入賞検出信号(DET0〜DET2)が入力されたことに基づいて、割込みコントローラ118から乱数制御回路240へ供給されるラッチを指示する信号(ハードラッチ信号)LAT0〜LAT2がCPU111へ入力されることで開始されるようになっている。乱数制御回路240へ供給されるハードラッチ信号LAT0〜LAT2の代わりに、乱数制御回路240からラッチレジスタへ出力される信号を割込み信号としてCPU111へ入力して処理を開始するようにしても良い。   This random number latch interrupt processing is a signal (hard latch signal) that instructs the latch supplied from the interrupt controller 118 to the random number control circuit 240 based on the input of the start winning detection signal (DET0 to DET2) to the interrupt controller 118. ) It is started when LAT0 to LAT2 are input to the CPU 111. Instead of the hard latch signals LAT0 to LAT2 supplied to the random number control circuit 240, a signal output from the random number control circuit 240 to the latch register may be input to the CPU 111 as an interrupt signal to start processing.

この乱数ラッチ割込み処理が開始されると、先ず割込みを禁止して遊技用マイコン110内の各種レジスタが保持している値をRAM113内のスタック領域へ退避する(ステップS51,S52)。それから、RAM113等に設けられているソフトタイマからなるディレイ用タイマを更新(+1)し、そのディレイ用タイマがタイムアップしたか否かを判定する(ステップS53,S54)。ここで、ディレイ用タイマがタイムアップしていないときは再びステップS53へ戻ってタイマを更新する。そして、ディレイ用タイマがタイムアップしたときは、ステップS55へ進んで、ラッチレジスタ(245,247,249)に保持されているカウンタ値を取得し、取得した値をRAM内のバッファ領域であるラッチ乱数領域に記憶する。   When this random number latch interrupt process is started, interrupts are first prohibited and the values held in the various registers in the gaming microcomputer 110 are saved to the stack area in the RAM 113 (steps S51 and S52). Then, a delay timer including a soft timer provided in the RAM 113 or the like is updated (+1), and it is determined whether or not the delay timer has expired (steps S53 and S54). If the delay timer has not expired, the process returns to step S53 to update the timer. When the delay timer expires, the process proceeds to step S55, the counter value held in the latch registers (245, 247, 249) is acquired, and the acquired value is latched as a buffer area in the RAM. Store in the random number area.

次に、ステップS55で取得したカウンタ値をディレイ用タイマの値に加算し、加算した値をディレイ用タイマにセットする(ステップS56,S57)。その後、割込みの終了を宣言してステップS52で退避したレジスタの値を元のレジスタに復帰させた後、割込みを許可して処理を終了する(ステップS55〜S57)。ステップS55で取得するカウンタ値は毎回異なるので、上記ステップS56,S57のように、取得したカウンタ値をディレイ用タイマの値に加算した値をディレイ用タイマにセットすることで、ステップS53,S54を抜けるのに要する時間すなわち遅延時間をランダムにすることができる。これにより、ラッチレジスタのカウンタ値を不正に取得させようとしても、取得タイミングを特定することが困難になり不正行為を防止することができる。   Next, the counter value acquired in step S55 is added to the value of the delay timer, and the added value is set in the delay timer (steps S56 and S57). Thereafter, the end of the interrupt is declared and the value of the register saved in step S52 is restored to the original register, and then the interrupt is permitted and the process is terminated (steps S55 to S57). Since the counter value acquired in step S55 is different every time, the values obtained by adding the acquired counter value to the delay timer value are set in the delay timer as in steps S56 and S57, so that steps S53 and S54 are performed. The time required to exit, that is, the delay time can be made random. As a result, even if it is attempted to illegally acquire the counter value of the latch register, it is difficult to specify the acquisition timing, and illegal activities can be prevented.

次に、図14の特図ゲーム処理の始動口スイッチ監視処理(ステップS361)において実行される第5発明の実施例における始動口スイッチ監視処理(ステップS361)の詳細を、図27を用いて説明する。   Next, details of the start port switch monitoring process (step S361) in the embodiment of the fifth invention executed in the start port switch monitoring process (step S361) of the special figure game process of FIG. 14 will be described with reference to FIG. To do.

始動口SW2監視処理(始動口スイッチ2監視処理)では、まず、普通変動入賞装置57が作動中であるか否か、すなわち普通変動入賞装置57が作動して遊技球の入賞が可能な開状態となっているか否かの判定(ステップS611)を行う。この判定において、普通変動入賞装置が作動中である場合(Yes)は、ステップS613へジャンプして始動口スイッチ2(57b)がオンであるか否かの判定を行う。また、ステップS611において、普通変動入賞装置が作動中でないと判定した場合(No)は、次のステップで不正入賞数が上限値であるか否かの判定(ステップS612)を行う。   In the start port SW2 monitoring process (start port switch 2 monitoring process), first, it is determined whether or not the normal variation winning device 57 is in operation, that is, the open state in which the normal variation winning device 57 is activated and the game ball can be won. It is determined whether or not (step S611). In this determination, when the normal variation winning device is in operation (Yes), the process jumps to step S613 to determine whether the start port switch 2 (57b) is on. If it is determined in step S611 that the normally variable winning device is not in operation (No), it is determined in the next step whether or not the number of illegal winnings is an upper limit (step S612).

普通変動入賞装置57は、閉状態では遊技球が入賞不可能であり、開状態でのみ遊技球が入賞可能である。よって、閉状態で遊技球が入賞した場合は何らかの異常や不正が発生した場合であり、このような閉状態で入賞した遊技球があった場合はその数を不正入賞数として計数するようになっている。そして、ステップS612では、このように計数された不正入賞数が所定の上限値以上であるか否かが判定される。この判定において、不正入賞数が上限値である場合(Yes)は、始動口SW監視処理を終了する。すなわち、この場合は始動記憶を発生させないようにする。また、ステップS612において、不正入賞数が上限値でないと判定した場合(No)は、ステップS613で、始動口スイッチ2(57b)がオンであるか否かの判定を行う。   The normally variable winning device 57 cannot win game balls in the closed state, and can win game balls only in the open state. Therefore, when a game ball wins in a closed state, it is a case where some abnormality or fraud occurs, and when there is a game ball won in such a closed state, the number is counted as an illegal winning number. ing. In step S612, it is determined whether or not the number of illegal prizes thus counted is equal to or greater than a predetermined upper limit value. In this determination, when the number of illegal winnings is the upper limit (Yes), the start port SW monitoring process is terminated. That is, in this case, the start memory is not generated. If it is determined in step S612 that the number of illegal winnings is not the upper limit (No), it is determined in step S613 whether the start port switch 2 (57b) is on.

ステップS613で始動口スイッチ2がオンでないと判定された場合には、始動口SW2監視処理を終了する。一方、ステップS613で始動口スイッチ2がオンであると判定された場合には、ステップS614へ進んで、始動入賞口56および普通変動入賞装置57への遊技球の入賞回数を更新する始動口信号出力回数更新処理を行う。   If it is determined in step S613 that the start port switch 2 is not on, the start port SW2 monitoring process is terminated. On the other hand, if it is determined in step S613 that the start port switch 2 is on, the process proceeds to step S614 to start the start port signal for updating the number of winning game balls to the start winning port 56 and the normal variation winning device 57. Perform output count update processing.

次に、始動記憶数が上限値であるか否かの判定(ステップS615)が行われ、この判定において、始動記憶数が上限値でない場合(No)は、次のステップS616で始動記憶数をインクリメント(+1)した後、図26のステップS55で取得しRAM内のラッチ乱数領域に記憶した値を、大当り乱数値として同じくRAM(113)内の所定の領域に記憶する(ステップS617)。そして、ラッチ乱数領域には所定のハズレ値(固定値)を記憶する(ステップS618)。ハズレ値を記憶する代わりに、記憶値を「オール0」にクリアあるいは「オール1」に設定するように構成してもよい。このように、乱数値として記憶してからラッチ乱数領域に固定値を記憶することで、回路の故障等何らかの不具合で乱数ラッチ割り込み処理が行われなくなった場合にも、取得済みのカウンタ値が重複して乱数値として記憶されるのを防止することができる。これにより、直前にラッチ乱数領域に保持されていた値が大当りに相当するものであった場合に、続けて大当りが発生するのを防止することができる。   Next, it is determined whether or not the starting memory number is the upper limit value (step S615). If the starting memory number is not the upper limit value (No) in this determination, the starting memory number is determined in the next step S616. After the increment (+1), the value acquired in step S55 of FIG. 26 and stored in the latch random number area in the RAM is stored in the predetermined area in the RAM (113) as the big hit random number value (step S617). Then, a predetermined loss value (fixed value) is stored in the latch random number area (step S618). Instead of storing the lost value, the stored value may be cleared to “all 0” or set to “all 1”. Thus, by storing a fixed value in the latch random number area after storing it as a random number value, even if the random number latch interrupt processing is not performed due to some trouble such as a circuit failure, the acquired counter value is duplicated. Thus, it can be prevented from being stored as a random value. As a result, when the value held in the latch random number area immediately before corresponds to the big hit, it is possible to prevent the big hit from occurring.

その後、大当り図柄乱数を取得しRAMに記憶する処理(ステップS619)、変動パターン乱数を取得しRAMに記憶する処理(ステップS620)を行う。さらに、演出制御装置150へ送信する飾り特図始動記憶数コマンドを送信回路に設定する処理(ステップS621)をして始動口SW監視処理を終了する。また、上記ステップS615の判定で、始動記憶数が上限値であると判定した場合(Yes)、すなわちこれ以上始動記憶を記憶できない場合は、始動口SW2監視処理を終了する。   Thereafter, a process of acquiring the big hit symbol random number and storing it in the RAM (step S619), and a process of acquiring the fluctuation pattern random number and storing it in the RAM (step S620). Furthermore, the process of setting the decoration special figure start memory number command to be transmitted to the effect control device 150 is set in the transmission circuit (step S621), and the start port SW monitoring process is terminated. If it is determined in step S615 that the start memory number is the upper limit value (Yes), that is, if no more start memory can be stored, the start port SW2 monitoring process is terminated.

また、図14の始動口スイッチ監視処理(ステップS361)では、上記した始動口スイッチ2監視処理に続いて始動口SW1監視処理(始動口スイッチ1監視処理)が実行される。始動口スイッチ1監視処理は始動口スイッチ2監視処理とほぼ同様である。   Further, in the starting port switch monitoring process (step S361) of FIG. 14, the starting port SW1 monitoring process (starting port switch 1 monitoring process) is executed following the above-described starting port switch 2 monitoring process. The start port switch 1 monitoring process is substantially the same as the start port switch 2 monitoring process.

始動口スイッチ2監視処理と始動口スイッチ1監視処理の差異は、始動口スイッチ1監視処理では図27の始動口スイッチ2監視処理のステップS611の普通変動入賞装置57が作動中であるか否かの判定、ステップS612の不正入賞数が上限値であるか否かの判定を行わないようにし、さらに、ステップ613で、始動口スイッチ2(57b)ではなく始動口スイッチ1(56a)がオンであるか否かの判定を行うようにした点にある。   The difference between the start port switch 2 monitoring process and the start port switch 1 monitoring process is that in the start port switch 1 monitoring process, the normal variation winning device 57 in step S611 of the start port switch 2 monitoring process of FIG. 27 is operating. In step 613, the start port switch 1 (56a) is turned on instead of the start port switch 2 (57b). The point is whether or not there is a determination.

外部からの始動検出信号の入力に基づいて乱数生成回路124においてカウンタ回路243の値をラッチレジスタ245,247,249にラッチさせ、その後タイマ割込み処理でラッチレジスタに保持されている値を乱数値として取得するようにした場合、始動検出信号の入力からタイマ割込み処理開始までの間に、乱数生成回路124内でノイズが発生しそのノイズによって誤ってカウンタ回路243の値がラッチレジスタ245,247,249のいずれかにラッチされると、ノイズでラッチレジスタに取り込まれたカウンタ値がCPUによって乱数値として取得されるおそれがある。   Based on the input of the start detection signal from the outside, the value of the counter circuit 243 is latched in the latch registers 245, 247, and 249 in the random number generation circuit 124, and then the value held in the latch register in the timer interrupt processing is used as the random number value. In the case of acquisition, noise is generated in the random number generation circuit 124 between the input of the start detection signal and the start of the timer interrupt process, and the value of the counter circuit 243 is erroneously set to the latch registers 245, 247, and 249 by the noise. If the counter value is latched by any of the above, there is a possibility that the counter value taken into the latch register due to noise is acquired as a random value by the CPU.

しかるに、上記実施例のように、始動検出信号の入力に基づいてCPUによって実行される図26の乱数ラッチ割込み処理によりラッチレジスタに保持されている値を乱数値として取得し、その後のタイマ割込み処理で実行される始動口スイッチ2監視処理で既に取得している乱数値を正規の乱数値として記憶することで、始動検出信号の入力からタイマ割込み処理開始までの間に発生したノイズによってラッチされた誤った乱数値が判定に使用されるのを防止することができる。   However, as in the above embodiment, the value held in the latch register is acquired as a random value by the random number latch interrupt process of FIG. 26 executed by the CPU based on the input of the start detection signal, and the timer interrupt process thereafter. By storing the random number value already acquired in the start port switch 2 monitoring process executed in step 2 as a regular random number value, it is latched by noise generated between the input of the start detection signal and the start of the timer interrupt process. It is possible to prevent an erroneous random number value from being used for the determination.

図28には、第5発明の第2の実施例における乱数ラッチ割込み処理の手順が示されている。   FIG. 28 shows the procedure of random number latch interrupt processing in the second embodiment of the fifth invention.

図26の乱数ラッチ割込み処理においては、ラッチレジスタから取得したカウンタ値を乱数として格納するとともにディレイ用タイマに加算しているのに対し、図28の乱数ラッチ割込み処理は、ディレイ用タイマに加算する値と乱数として使用する値を別のラッチレジスタから取得するようにしたものである。なお、この実施例を適用するに当たっては、ラッチレジスタトリガ回路244,246,248にデータがセットされると、カウンタ回路243の値を対応するラッチレジスタにラッチさせるためのトリガ信号が生成されるとともに、このトリガ信号がCPU111にも供給されて当該乱数ラッチ割込み処理を実行させるための擬似始動入賞検出信号とされるように構成されていることが必要である。   In the random number latch interrupt process of FIG. 26, the counter value acquired from the latch register is stored as a random number and added to the delay timer, whereas the random number latch interrupt process of FIG. 28 is added to the delay timer. A value and a value used as a random number are acquired from different latch registers. In applying this embodiment, when data is set in the latch register trigger circuits 244, 246 and 248, a trigger signal for latching the value of the counter circuit 243 in the corresponding latch register is generated. It is necessary that the trigger signal is also supplied to the CPU 111 to be a pseudo start winning detection signal for executing the random number latch interrupt process.

この乱数ラッチ割込み処理が開始されると、先ず割込みを禁止して遊技用マイコン110内の各種レジスタが保持している値をRAM113内のスタック領域へ退避する(ステップS61,S62)。次に、ステータスレジスタ250のラッチレジスタ(ラッチ1)247に対応するラッチ許可フラグを参照して、ラッチされているデータ(カウンタ値)が有るか否かを判定する(ステップS63)。最初に乱数ラッチ割込み処理が開始された際にはデータなし(No)と判定され、次のステップS64でラッチレジスタ(ラッチ0)245にラッチされているカウンタ値を取得して、その値をディレイ用タイマにセットする(ステップS65)。   When this random number latch interrupt process is started, interrupts are first prohibited and the values held in the various registers in the gaming microcomputer 110 are saved in the stack area in the RAM 113 (steps S61 and S62). Next, with reference to the latch permission flag corresponding to the latch register (latch 1) 247 of the status register 250, it is determined whether there is latched data (counter value) (step S63). When the random number latch interrupt processing is started for the first time, it is determined that there is no data (No), and in the next step S64, the counter value latched in the latch register (latch 0) 245 is acquired and the value is delayed. The timer is set (step S65).

それから、ディレイ用タイマを更新(+1)し、そのディレイ用タイマがタイムアップしたか否かを判定する(ステップS66,S67)。ここで、ディレイ用タイマがタイムアップしていないときは再びステップS66へ戻ってタイマを更新する。そして、ディレイ用タイマがタイムアップしたときは、ステップS68へ進んで、ラッチレジスタトリガ回路246にデータをセットしてラッチレジスタ(ラッチ1)247にカウンタ値をラッチさせるためのトリガ信号を発生させる。その後、割込みの終了を宣言してステップS62で退避したレジスタの値を元のレジスタに復帰させた後、割込みを許可して処理を終了する(ステップS71〜S73)。   Then, the delay timer is updated (+1), and it is determined whether or not the delay timer has expired (steps S66 and S67). If the delay timer has not expired, the process returns to step S66 to update the timer. When the delay timer expires, the process proceeds to step S68 to set data in the latch register trigger circuit 246 and generate a trigger signal for causing the latch register (latch 1) 247 to latch the counter value. Thereafter, the end of the interrupt is declared and the value of the register saved in step S62 is restored to the original register, and then the interrupt is permitted and the process is terminated (steps S71 to S73).

上記ステップS68でトリガ信号を発生させると、乱数生成回路124でカウンタ回路243の値がラッチレジスタ(ラッチ1)247にラッチされるとともに、CPU111に擬似始動入賞検出信号が供給されて、再度図28の乱数ラッチ割込み処理が開始される。そして、ステップS63でデータ有り(Yes)と判定されて、ステップS69へ移行し、ラッチレジスタ(ラッチ1)247が保持しているカウンタ値を取得し、取得した値をRAM内のバッファ領域であるラッチ乱数領域に記憶する。その後、割込みの終了を宣言してステップS62で退避したレジスタの値を元のレジスタに復帰させた後、割込みを許可して処理を終了する(ステップS71〜S73)。   When the trigger signal is generated in step S68, the value of the counter circuit 243 is latched in the latch register (latch 1) 247 by the random number generation circuit 124, and the pseudo start winning detection signal is supplied to the CPU 111. Random number latch interrupt processing starts. In step S63, it is determined that there is data (Yes), the process proceeds to step S69, the counter value held by the latch register (latch 1) 247 is acquired, and the acquired value is a buffer area in the RAM. Store in the latch random number area. Thereafter, the end of the interrupt is declared and the value of the register saved in step S62 is restored to the original register, and then the interrupt is permitted and the process is terminated (steps S71 to S73).

この実施例では、ステップS64で取得するカウンタ値が毎回異なるので、取得したカウンタ値をディレイ用タイマの値に加算した値をディレイ用タイマにセットすることで、ステップS66,S67を抜けるのに要する時間すなわち遅延時間をランダムにすることができる。また、ディレイ用タイマがタイムアップすると擬似始動入賞検出信号が生成されて他のラッチレジスタにカウンタ回路の値がラッチされ、それが乱数として取得される。これにより、ラッチレジスタのカウンタ値を不正に取得させようとしても、取得タイミングを特定することが困難になり不正行為を防止することができる。   In this embodiment, since the counter value acquired in step S64 is different every time, it is necessary to set the value obtained by adding the acquired counter value to the value of the delay timer in the delay timer so as to exit steps S66 and S67. The time or delay time can be random. When the delay timer expires, a pseudo start winning detection signal is generated and the value of the counter circuit is latched in another latch register, which is acquired as a random number. As a result, even if it is attempted to illegally acquire the counter value of the latch register, it is difficult to specify the acquisition timing, and illegal activities can be prevented.

なお、図28は、始動入賞検出信号DET0が入力されそれに基づいてカウンタ回路243の値をラッチレジスタ(ラッチ0)245にラッチさせるハードラッチ信号LAT0が生成された場合のフローチャートである。始動入賞検出信号DET1が入力された場合には、図28のステップS63、S68、S69における「ラッチ1」を「ラッチ0」に、またステップS64における「ラッチ0」を「ラッチ1」に置き換えた同様のフローチャートに従った処理を行うことで対応することができる。   FIG. 28 is a flowchart when the start winning detection signal DET0 is input and the hard latch signal LAT0 for latching the value of the counter circuit 243 in the latch register (latch 0) 245 is generated based on the start winning detection signal DET0. When the start winning detection signal DET1 is input, “Latch 1” in Steps S63, S68, and S69 of FIG. 28 is replaced with “Latch 0”, and “Latch 0” in Step S64 is replaced with “Latch 1”. This can be dealt with by performing processing according to a similar flowchart.

以上本発明者によってなされた発明を実施形態に基づき具体的に説明したが、今回開示した実施形態は、全ての点で例示であって制限的なものではない。また、本発明の範囲は前述した発明の説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味及び内容の範囲での全ての変更が含まれることが意図される。   Although the invention made by the present inventor has been specifically described based on the embodiments, the embodiments disclosed herein are illustrative and non-restrictive in every respect. The scope of the present invention is shown not by the above description of the invention but by the scope of claims, and is intended to include all modifications within the scope and meaning equivalent to the scope of claims.

例えば、前記実施形態では、ステータスレジスタ250にラッチ許可フラグを設けてラッチレジスタへのカウンタ値のラッチを制御するようにしているが、ラッチ信号が入力された際に、カウンタの値を転送する先のラッチレジスタの値を読み出してその値を確認し、値が「0000h」の場合にカウンタの値をレジスタに格納させ、レジスタの値が「0000h」でない場合にはカウンタの値をレジスタに格納させないようにすることで、ラッチレジスタの上書きを防止するように構成しても良い。このようにすれば、ステータスレジスタを省略することができる。   For example, in the embodiment, the latch permission flag is provided in the status register 250 to control the latching of the counter value to the latch register. However, when the latch signal is input, the counter value is transferred to the destination. When the value is “0000h”, the counter value is stored in the register. When the register value is not “0000h”, the counter value is not stored in the register. By doing so, the latch register may be prevented from being overwritten. In this way, the status register can be omitted.

また、ステータスレジスタにラッチの禁止/許可を示すフラグを設けることにより、ノイズにより誤ったタイミングでカウンタ回路の値をラッチレジスタに防止することができるので、図20および図21によるソフトウェア処理を適用した場合、乱数生成回路124には、ステータスレジスタ250のラッチ許可フラグを使用したハードウェアによるカウンタ値の誤ラッチ防止を省略するようにしても良い。ただし、ハードウェアによるカウンタ値の誤ラッチ防止とソフトウェアによるカウンタ値の誤ラッチ防止の両方を適用することでよりノイズに強い遊技用マイコンを実現することができる。   Further, by providing a flag indicating prohibition / permission of latch in the status register, the value of the counter circuit can be prevented in the latch register at an incorrect timing due to noise. Therefore, the software processing shown in FIGS. 20 and 21 is applied. In this case, the random number generation circuit 124 may omit the prevention of erroneous latching of the counter value by hardware using the latch permission flag of the status register 250. However, it is possible to realize a gaming microcomputer that is more resistant to noise by applying both prevention of erroneous latching of the counter value by hardware and prevention of erroneous latching of the counter value by software.

本発明は、カードユニットによって遊技媒体としての遊技球が貸し出されるパチンコ遊技機に限定されないとともに、アレンジボール遊技機、雀球遊技機、及びスロットマシンなどの遊技機にも適用可能である。   The present invention is not limited to a pachinko gaming machine in which a game ball as a game medium is rented out by a card unit, and can also be applied to a gaming machine such as an arrangement ball gaming machine, a sparrow ball gaming machine, and a slot machine.

10 遊技機
11 本体枠
12 前面枠
13 ヒンジ
15 ガラス枠
16 装飾部材
17 照明ユニット
18 エラー報知LED
19 スピーカ
20 開閉パネル
21 上皿
26 球貸ボタン
27 排出ボタン
28 残高表示部
30 固定パネル
31 灰皿
32 下皿
34 下皿球抜き機構
41 球貯留ユニット
42 球排出ユニット(排出装置)
50 遊技盤
51 遊技領域
54 普通図柄始動ゲート
55 一般入賞口制御装置
56 始動入賞口
57 始動入賞装置
57a 普通変動入賞装置
56a,57b 始動スイッチ(始動入賞検出手段)
58 特別変動入賞装置
59 アウト口
61 表示装置
70 カードユニット
100 遊技制御装置
110 遊技用マイクロコンピュータ(遊技制御手段)
124 乱数生成回路
150 演出制御装置
160 電源装置
161 バックアップ電源
200 払出制御装置
240 乱数制御回路
243 カウンタ回路(カウンタ手段)
244 ラッチレジスタトリガ回路
245,247,249 ラッチレジスタ(カウンタ値保持手段)
250 ステータスレジスタ(カウンタ値変更禁止手段)
252 選択回路(クロック選択手段)
DESCRIPTION OF SYMBOLS 10 Game machine 11 Main body frame 12 Front frame 13 Hinge 15 Glass frame 16 Decoration member 17 Illumination unit 18 Error notification LED
DESCRIPTION OF SYMBOLS 19 Speaker 20 Opening and closing panel 21 Upper plate 26 Ball lending button 27 Eject button 28 Balance display part 30 Fixed panel 31 Ashtray 32 Lower plate 34 Lower plate ball removal mechanism 41 Ball storage unit 42 Ball discharge unit (discharge device)
50 game board 51 game area 54 normal symbol start gate 55 general winning opening control device 56 starting winning port 57 starting winning device 57a normal variable winning device 56a, 57b start switch (start winning detection means)
58 Special variation winning device 59 Out port 61 Display device 70 Card unit 100 Game control device 110 Microcomputer for game (game control means)
124 random number generation circuit 150 production control device 160 power supply device 161 backup power supply 200 payout control device 240 random number control circuit 243 counter circuit (counter means)
244 Latch register trigger circuit 245, 247, 249 Latch register (counter value holding means)
250 Status register (Counter value change prohibition means)
252 selection circuit (clock selection means)

Claims (2)

始動領域および複数の入賞部が設けられた遊技領域と、前記始動領域を通過する遊技球を検出する始動入賞検出手段と、前記遊技領域における入賞部への入賞に応じて遊技価値を付与し、前記始動領域への遊技球の通過に応じて補助遊技を実行し、前記補助遊技が特別な結果になった場合に遊技者に特典を付与する遊技制御手段とを備えた遊技機において、
前記遊技制御手段は、
所定の周期のクロック信号に基づいて所定の範囲において計数動作をするカウンタ手段と、
前記始動入賞検出手段の検出結果に基づいて前記カウンタ手段が計数したカウンタ値を取り込んで保持するカウンタ値保持手段と、
所定時間毎に発生する割込み信号に基づいて割込み処理を実行する割込み処理実行手段と、
前記カウンタ値保持手段から取得されるカウンタ値を記憶するカウンタ値記憶手段と、
前記始動入賞検出手段からの検出結果に基づき前記カウンタ値保持手段が保持しているカウンタ値を取得して前記カウンタ値記憶手段に記憶するカウンタ値取得手段と、を備え、
前記割込み処理実行手段は、
前記始動入賞検出手段からの検出結果に基づき所定条件が成立している場合に、前記カウンタ値記憶手段に記憶されているカウンタ値を前記補助遊技の制御において使用する乱数値として格納する乱数値格納手段と、
前記乱数値格納手段が前記カウンタ値記憶手段に記憶されているカウンタ値を乱数値として格納した後に前記カウンタ値記憶手段の記憶値を所定の値に設定するカウンタ値初期化手段と、を含んでいることを特徴とする遊技機。
A game area provided with a start area and a plurality of winning portions, a start winning detection means for detecting a game ball passing through the start area, and a game value according to winning in the winning section in the gaming area, In a gaming machine comprising a game control means for executing an auxiliary game in response to the passage of a game ball to the starting area and granting a privilege to a player when the auxiliary game has a special result,
The game control means includes
Counter means for counting in a predetermined range based on a clock signal of a predetermined period;
Counter value holding means for capturing and holding the counter value counted by the counter means based on the detection result of the start winning detection means;
Interrupt processing execution means for executing interrupt processing based on an interrupt signal generated every predetermined time;
Counter value storage means for storing a counter value acquired from the counter value holding means;
Counter value acquisition means for acquiring the counter value held by the counter value holding means based on the detection result from the start winning detection means and storing it in the counter value storage means;
The interrupt processing execution means includes
Random value storage for storing a counter value stored in the counter value storage means as a random value used in the control of the auxiliary game when a predetermined condition is established based on a detection result from the start winning detection means Means,
Counter value initialization means for setting the stored value of the counter value storage means to a predetermined value after the random value storage means stores the counter value stored in the counter value storage means as a random value. A gaming machine characterized by
前記カウンタ値保持手段に保持されているカウンタ値が前記カウンタ値取得手段によって取得が行われるまで、前記カウンタ値保持手段に保持されているカウンタ値の書き換えを禁止するカウンタ値変更禁止手段を備え、
前記カウンタ値変更禁止手段は、
前記カウンタ値保持手段がカウンタ値を取り込んだことを条件に前記カウンタ値保持手段へのカウンタ値の取り込みを禁止するラッチ禁止手段と、
前記カウンタ値保持手段が保持しているカウンタ値を前記カウンタ値取得手段が取得したことを条件に、前記カウンタ値保持手段へのカウンタ値の取込みを許可するラッチ許可手段と、を含み、
前記ラッチ許可手段は、
前記カウンタ値保持手段が保持している値をクリアした後に、前記カウンタ値保持手段へのカウンタ値の取込みを許可することを特徴とする請求項1に記載の遊技機。
A counter value change prohibiting unit that prohibits rewriting of the counter value held in the counter value holding unit until the counter value held in the counter value holding unit is acquired by the counter value acquiring unit;
The counter value change prohibiting means includes:
Latch prohibiting means for prohibiting the counter value from being taken into the counter value holding means on the condition that the counter value holding means has taken in the counter value;
Latch permitting means for permitting the counter value holding means to take in the counter value on the condition that the counter value holding means has acquired the counter value held by the counter value holding means,
The latch permission means includes
2. The gaming machine according to claim 1, wherein after the value held by the counter value holding means is cleared, the counter value holding means is allowed to take in the counter value.
JP2011090078A 2011-04-14 2011-04-14 Game machine Expired - Fee Related JP5277386B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011090078A JP5277386B2 (en) 2011-04-14 2011-04-14 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011090078A JP5277386B2 (en) 2011-04-14 2011-04-14 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2009121734A Division JP5540261B2 (en) 2009-05-20 2009-05-20 Game machine

Publications (2)

Publication Number Publication Date
JP2011136244A true JP2011136244A (en) 2011-07-14
JP5277386B2 JP5277386B2 (en) 2013-08-28

Family

ID=44348219

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011090078A Expired - Fee Related JP5277386B2 (en) 2011-04-14 2011-04-14 Game machine

Country Status (1)

Country Link
JP (1) JP5277386B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005192824A (en) * 2004-01-08 2005-07-21 Maruhon Ind Co Ltd Pachinko machine
JP2005319127A (en) * 2004-05-10 2005-11-17 Sankyo Kk Game machine
JP2006230666A (en) * 2005-02-24 2006-09-07 Aruze Corp Game machine
JP2010194198A (en) * 2009-02-26 2010-09-09 Sankyo Co Ltd Game machine
JP2010207478A (en) * 2009-03-11 2010-09-24 Sankyo Co Ltd Slot machine
JP2010264033A (en) * 2009-05-13 2010-11-25 Sankyo Co Ltd Game machine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005192824A (en) * 2004-01-08 2005-07-21 Maruhon Ind Co Ltd Pachinko machine
JP2005319127A (en) * 2004-05-10 2005-11-17 Sankyo Kk Game machine
JP2006230666A (en) * 2005-02-24 2006-09-07 Aruze Corp Game machine
JP2010194198A (en) * 2009-02-26 2010-09-09 Sankyo Co Ltd Game machine
JP2010207478A (en) * 2009-03-11 2010-09-24 Sankyo Co Ltd Slot machine
JP2010264033A (en) * 2009-05-13 2010-11-25 Sankyo Co Ltd Game machine

Also Published As

Publication number Publication date
JP5277386B2 (en) 2013-08-28

Similar Documents

Publication Publication Date Title
JP5540259B2 (en) Game machine
JP5621110B2 (en) Game machine
JP5555959B2 (en) Game machine
JP5406592B2 (en) Game machine
JP2011087607A (en) Game machine
JP2012045136A (en) Game machine
JP5874090B2 (en) Game machine
JP5874091B2 (en) Game machine
JP5874089B2 (en) Game machine
JP5406878B2 (en) Game machine
JP5406879B2 (en) Game machine
JP5380654B2 (en) Game machine
JP5990671B2 (en) Game machine
JP5806759B2 (en) Game machine
JP5277386B2 (en) Game machine
JP5938687B2 (en) Game machine
JP5555887B2 (en) Game machine
JP5594491B2 (en) Game machine
JP5540260B2 (en) Game machine
JP5540261B2 (en) Game machine
JP2012045138A (en) Game machine
JP5555958B2 (en) Game machine
JP2012045137A (en) Game machine
JP2012045366A (en) Game machine
JP5883281B2 (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120925

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121126

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130405

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5277386

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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