JP2012040139A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2012040139A
JP2012040139A JP2010183242A JP2010183242A JP2012040139A JP 2012040139 A JP2012040139 A JP 2012040139A JP 2010183242 A JP2010183242 A JP 2010183242A JP 2010183242 A JP2010183242 A JP 2010183242A JP 2012040139 A JP2012040139 A JP 2012040139A
Authority
JP
Japan
Prior art keywords
random number
game
lottery
acquired
abnormality detection
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.)
Pending
Application number
JP2010183242A
Other languages
Japanese (ja)
Inventor
Mitsuhiro Masuda
充宏 増田
Takayuki Shibazaki
隆行 柴崎
Keiichi Shimada
恵一 島田
Masaki Kotoda
昌樹 小藤田
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.)
Sammy Corp
Original Assignee
Sammy Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sammy Corp filed Critical Sammy Corp
Priority to JP2010183242A priority Critical patent/JP2012040139A/en
Publication of JP2012040139A publication Critical patent/JP2012040139A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Slot Machines And Peripheral Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a game machine which can correctly discriminate failure of a random number generator and also can continue a game when a random number used for lottery of the game is normal even when the failure occurs in a random number device in the course of the game.SOLUTION: A random number obtaining means 422 for failure detection obtains random numbers serially from the random number generator 112 at the timing which is longer than an updating period of the random numbers generated by the random number generator 112 and enables the acquisition of the random numbers at least three times within two continuous random periods, and determines that the failure occurs in the random numbers when random number values obtained three times continuously agree with one another. When a random number determining means 4324 for lottery determines that the random number obtained by a random number obtaining means 4322 for lottery is normal, at this time, a control regarding the game is continued according to a state of the game at that time.

Description

本発明は乱数監視装置を用いた遊技機に関し、より詳細には、遊技に際し図柄抽選用の乱数や演出パターン抽選用の乱数を、乱数クロック発生回路を含むハードウェアにより乱数値を生成する乱数発生装置を備えた遊技機に関する。   The present invention relates to a gaming machine using a random number monitoring device, and more specifically, a random number for generating random numbers for design lottery and production pattern lottery, and random number generation by hardware including a random number clock generation circuit. The present invention relates to a gaming machine equipped with a device.

このような乱数発生装置を備えた遊技機では、例えば特許文献1および2に記載されているように、発振子で構成される乱数クロック発生回路により所定の周期で発生した乱数クロックに基づいて、クロックカウント回路により所定の桁数の乱数値をカウントさせ、遊技の制御を行うCPUがカウントされた乱数値を抽出して読み込んで、図柄抽選用の乱数や演出パターン抽選用の乱数として使用している。このようにハードウェアにより乱数値をカウントすることで、CPUにより制御されるソフトウェアがプログラムを実行させて乱数値をカウントする場合に比べてソフトウェアの負担を軽減させ、乱数クロック発生回路による乱数クロックの発生周期に応じて高速に乱数を発生・更新させることのできる乱数発生装置が用いられている。   In a gaming machine equipped with such a random number generator, for example, as described in Patent Documents 1 and 2, based on a random number clock generated at a predetermined period by a random number clock generation circuit composed of an oscillator, A random number value of a predetermined number of digits is counted by a clock count circuit, and the CPU that controls the game extracts and reads the counted random number value, and uses it as a random number for design lottery or a random number for effect pattern lottery Yes. In this way, counting the random number value by hardware reduces the burden on the software compared to the case where the software controlled by the CPU executes the program and counts the random number value, and the random number clock generation circuit generates the random number clock. A random number generator capable of generating and updating random numbers at high speed according to the generation cycle is used.

また、上記のようにハードウェアにより乱数を発生させる場合に、乱数発生装置に何らかの動作異常が生じた場合、CPUが同一の乱数値を続けて読み込む事態が生じる。そこで、引用文献1、2では乱数発生装置が正常に動作しているか否かを監視することのできる乱数監視装置を用いることで、乱数発生装置の動作異常を検出できる遊技機が考案されている。   Further, in the case where random numbers are generated by hardware as described above, there is a situation in which the CPU continuously reads the same random number value if any abnormality occurs in the random number generation device. Therefore, in Cited Documents 1 and 2, a gaming machine that can detect an abnormal operation of the random number generator by using a random number monitor that can monitor whether or not the random number generator is operating normally has been devised. .

さらに、特許文献3に記載されている遊技機は、乱数に異常が生じたと判断すると、抽選用に取得された乱数の値をRAMから読み取り、その値がハズレに該当する場合はエラー表示装置にエラー表示を行うとともに、遊技機の作動を停止させるが、当たりに該当する場合はエラー表示のみを行って、遊技機を継続して作動させる。このように構成することによって、乱数発生装置に異常が生じて、乱数の値がハズレに該当する値のまま更新されなくなってしまった場合に、遊技者に不利な遊技を続行させないようにしている。   Further, when the gaming machine described in Patent Document 3 determines that an abnormality has occurred in the random number, the random number value acquired for the lottery is read from the RAM, and if the value corresponds to a loss, an error display device is displayed. While displaying the error and stopping the operation of the gaming machine, if it is true, only the error display is performed and the gaming machine is continuously operated. By configuring in this way, when an abnormality occurs in the random number generation device and the random number value is not updated with the value corresponding to the loss, the player is prevented from continuing an unfavorable game. .

特開2005−192919号公報JP 2005-192919 A 特開2004−097577号公報JP 2004-097577 A 特開2006−043279号公報JP 2006-043279 A

しかしながら、このような乱数監視機能は、乱数発生装置がカウンタのような単純な構造であれば、比較的容易な監視手段が構築できるのであるが、複雑な構造の乱数発生装置の場合には、ソフトウェア等を利用して同一の乱数値を連続的に取得したか否かに応じて異常を判定する方法が採られる。しかしながら、この種の方法では、取得する乱数値の数を増やすことによって判定結果の精度を上げることはできるものの、偶然に同一の乱数値を取得した場合を排除することはできない。すなわち、連続的に同一の乱数値を取得した場合、乱数発生装置の異常により同一の乱数値を取得したのか、それとも偶然同一の乱数値を取得したのかを正確に判別することができなかった。   However, such a random number monitoring function can construct a relatively easy monitoring means if the random number generator is a simple structure such as a counter, but in the case of a random number generator having a complicated structure, A method is adopted in which an abnormality is determined depending on whether the same random number value is continuously acquired using software or the like. However, although this type of method can increase the accuracy of the determination result by increasing the number of random number values to be acquired, the case where the same random number value is accidentally acquired cannot be excluded. That is, when the same random number value is continuously acquired, it has not been possible to accurately determine whether the same random number value is acquired due to an abnormality in the random number generation device or whether the same random number value is accidentally acquired.

また、特許文献3に記載されている遊技機のように、抽選用に取得されていた乱数の値が当たりかハズレかのみで、遊技機の作動を停止するか否かを決定してしまうと、例えば遊技が開始され、正常な状態で抽選が行われた後、その遊技が終了する前に異常が生じた場合、抽選結果がハズレだった場合は、その遊技の途中で遊技機の作動が停止することになる。すなわち、抽選結果がハズレたとはいえ、正常な乱数に基づいて抽選が行われたにも関わらず、遊技者は、その遊技結果を見ることなく遊技機の作動が停止してしまうことになる。   Further, as in the gaming machine described in Patent Document 3, if it is determined whether or not to stop the operation of the gaming machine only by whether the random number value obtained for the lottery is a win or a loss For example, after a game is started and a lottery is performed in a normal state, if an abnormality occurs before the game ends, or if the lottery result is lost, the game machine is operated during the game. Will stop. That is, even if the lottery result is lost, the player stops the operation of the gaming machine without seeing the game result even though the lottery is performed based on the normal random number.

さらに、乱数発生装置において、当たりとなる値の乱数が出力されたまま、その値が更新されないという異常が生じた場合は、エラー表示が行われるものの遊技が継続することとなり、以後は、抽選結果が必ず当たりとなる遊技が行われることになるため好ましいとはいいがたい。   Furthermore, in the random number generation device, when an abnormality occurs in which the random number of the winning value is output and the value is not updated, an error display is performed, but the game continues, and thereafter, the lottery result However, it is hard to say that it is preferable because a game that is always won will be played.

本発明は、上記のような課題に鑑みてなされたものであり、乱数監視中に同一の乱数値を取得した場合において、それが乱数発生装置の異常によるものか否かを正確に判別することができるとともに、遊技の途中で乱数装置に異常が生じた場合でも、その遊技の抽選に使用される乱数が正常であったときは、遊技を継続して行うことができる遊技機を提供することを目的とする。   The present invention has been made in view of the above problems, and when the same random number value is acquired during random number monitoring, it is accurately determined whether or not it is due to an abnormality in the random number generator. And providing a gaming machine capable of continuing the game if the random number used for the game is normal even if an abnormality occurs in the random number device during the game. With the goal.

上述した課題を解決するために、本発明は、予め定められた数値範囲内で生成される1つの乱数を用いて行われる抽選に基づいて遊技の結果を定める遊技機であって、
予め定められた乱数周期ごとに、前記数値範囲内の各数値が重複せずに一通り生成されるように前記生成する乱数の値を順次更新する乱数更新手段と、
前記抽選に用いる抽選用乱数として、外部からの操作に応じて前記乱数更新手段によって更新された乱数を取得する抽選用乱数取得手段と、
前記乱数更新手段による前記乱数の値の更新間隔よりも長く、かつ、2つの連続する前記乱数周期内に少なくとも3回取得できる時間間隔で、前記乱数更新手段によって更新される乱数を、異常検出用乱数として定期的に取得する異常検出用乱数取得手段と、
前記異常検出用乱数が取得されるごとに、該異常検出用乱数の値に基づいて前記乱数更新手段によって乱数の値が正常に更新されているか否かを判定する第一の乱数判定手段と、
前記抽選用乱数が取得されるごとに、該抽選用乱数の値に基づいて前記乱数更新手段によって乱数の値が正常に更新されているか否かを判定する第二の乱数判定手段と、
前記第一の乱数判定手段によって、前記乱数の値が正常に更新されていないと判定された時点において、前記第二の乱数判定手段が、前記乱数の値が正常に更新されていると判定していたときは遊技を継続させ、正常に更新されていないと判定していたときは遊技を停止させる遊技進行制御手段と、
を備えることを特徴とする。
In order to solve the above-described problems, the present invention is a gaming machine that determines a game result based on a lottery performed using one random number generated within a predetermined numerical range,
Random number updating means for sequentially updating the value of the generated random number so that each numerical value in the numerical value range is generated without overlapping each other for each predetermined random number cycle;
As a lottery random number for use in the lottery, a lottery random number acquisition unit that acquires a random number updated by the random number update unit according to an external operation;
A random number that is updated by the random number updating means for detecting an abnormality at a time interval that is longer than the update interval of the random number value by the random number updating means and that can be acquired at least three times within two consecutive random number cycles. Anomaly detection random number acquisition means for periodically acquiring random numbers;
A first random number determination unit that determines whether or not a random number value is normally updated by the random number update unit based on the value of the abnormality detection random number each time the abnormality detection random number is acquired;
A second random number determination unit that determines whether or not the random number value is normally updated by the random number update unit based on the lottery random number value each time the lottery random number is acquired;
When the first random number determination unit determines that the random number value is not normally updated, the second random number determination unit determines that the random number value is updated normally. A game progress control means for continuing the game when it is, and stopping the game when it is determined that the game has not been updated normally;
It is characterized by providing.

ここで、「乱数周期」とは、所定数値範囲内の各々の値が、重複することなく一通り生成される期間をいう。
また、抽選用乱数取得手段が乱数を取得する契機となる「外部からの操作」は、例えば、遊技機が周知のスロットマシンの場合であれば、遊技者によるスタートスイッチの操作が相当し、周知のパチンコ遊技機の場合であれば、遊技盤に設けられた始動口に遊技球が入球したこと(より具体的には、遊技球センサ等によって始動入賞口に遊技球が入球したことが検出されたこと)が相当する。
Here, the “random number period” refers to a period in which each value within a predetermined numerical range is generated without overlapping.
Further, the “operation from the outside” that triggers the lottery random number acquisition means to acquire a random number corresponds to the operation of the start switch by the player if the gaming machine is a well-known slot machine, for example. In the case of a pachinko gaming machine, a game ball has entered the start opening provided on the game board (more specifically, a game ball has entered the start winning opening by a game ball sensor or the like). Is detected).

上述した遊技機においては、乱数更新手段によって乱数の値が順次更新されていく一方で、異常検出用乱数取得手段によって、2つの連続する乱数周期内に少なくとも3回取得できる時間間隔で定期的に上記乱数が取得される。この取得された乱数を異常検出用乱数とし、その値に基づいて第一の乱数判定手段により、乱数の値が正常に更新されているか否かが判定される。また、これとは別に、外部からの操作に応じて異常検出用乱数取得手段によって上記乱数が取得されると、抽選用乱数として遊技で行われる抽選に用いられるとともに、その値に基づいて第二の乱数判定手段により、乱数の値が正常に更新されているか否かが判定される。そして、遊技進行制御手段は、第一の乱数判定手段によって乱数の値が正常に更新されていないと判定されたときに、第二の乱数判定手段によって乱数の値が正常に更新されていると判定されていたときは、その遊技を継続させるが、第二の乱数判定手段によって正常に更新されていないと判定されていたときは、その遊技を停止させる。   In the above-described gaming machine, while the random number value is sequentially updated by the random number updating means, the abnormality detection random number acquiring means is periodically updated at a time interval that can be acquired at least three times within two consecutive random number cycles. The random number is acquired. The acquired random number is used as an abnormality detection random number, and based on the value, the first random number determination means determines whether or not the value of the random number is normally updated. In addition to this, when the random number is acquired by the abnormality detection random number acquisition means in response to an external operation, the random number is used as a random number for lottery in a game, and based on the value, The random number determination means determines whether or not the random number value has been updated normally. The game progress control means, when it is determined that the random number value is not normally updated by the first random number determination means, the random number value is normally updated by the second random number determination means. When it is determined, the game is continued, but when it is determined that the second random number determination means has not updated normally, the game is stopped.

このように、第一の乱数判定手段によって乱数の値が正常に更新されていないと判定されたときでも、抽選用乱数が正常に更新されたものであった場合は、遊技を継続して行うことができるため、正常に更新された抽選用乱数に基づく遊技を最後まで遊技者に提供することができる。また、第一の乱数判定手段によって乱数の値が正常に更新されていないと判定されたときに、抽選用乱数も正常に更新されていなかった場合は、遊技を停止させるので、不適当な抽選用乱数を用いた抽選結果に基づく遊技が行われてしまうのを防ぐことができる。   In this way, even when the first random number determination means determines that the random number value has not been updated normally, if the lottery random number has been updated normally, the game is continued. Therefore, it is possible to provide the player with the game based on the lottery random number that has been updated normally. In addition, when the first random number determination means determines that the random number value has not been updated normally, if the random number for lottery has not been updated normally, the game is stopped. It is possible to prevent a game based on a lottery result using a random number for use from being played.

また、本発明は、上述した遊技機において、前記第二の乱数判定手段は、
前記抽選用乱数取得手段によって前記抽選用乱数が取得されると、該抽選用乱数と、該抽選用乱数とは各々異なるタイミングで前記乱数更新手段によって更新された少なくとも2つの乱数と、からなる少なくとも3つの乱数のうち、いずれか2つの乱数の値が一致しなかったときに、前記乱数更新手段によって乱数の値が正常に更新されていると判定し、
前記少なくとも3つの乱数は、最初の乱数が取得されてから最後の乱数が取得されるまでの期間が、前記2つの連続する乱数周期よりも短く、かつ、各々の乱数は、前記乱数更新手段による前記乱数の値の更新間隔よりも長い時間間隔で取得されたものである
ことを特徴とする。
In the gaming machine described above, the second random number determination means may
When the lottery random number is acquired by the lottery random number acquisition unit, the lottery random number and at least two random numbers updated by the random number update unit at different timings from the lottery random number When any two random numbers among the three random numbers do not match, it is determined that the random number value is normally updated by the random number updating means,
The at least three random numbers have a period from when the first random number is acquired until the last random number is acquired shorter than the two consecutive random number cycles, and each random number is determined by the random number updating unit. It is acquired at a time interval longer than the update interval of the random number value.

上述した遊技機においては、第二の乱数判定手段が、抽選用乱数を含む少なくとも3つの乱数であって、これらの乱数のうち、最初の乱数が取得されてから最後の乱数が取得されるまでの期間が、2つの連続する乱数周期よりも短く、かつ、各々の乱数が、乱数更新手段による乱数の値の更新間隔よりも長い時間間隔で取得された少なくとも3つの乱数に基づいて、乱数の値が正常に更新されているか否かが判定される。
これにより、第二の乱数判定手段において、乱数発生装置の異常により同一の乱数値を取得したのか、それとも偶然同一の乱数値を取得したのかを判別することが可能となり、抽選用乱数が、正常に更新されたものであるか否かを正確に判定することができる。
In the gaming machine described above, the second random number determination means includes at least three random numbers including a lottery random number, and from these random numbers until the last random number is acquired after the first random number is acquired. Based on at least three random numbers obtained at a time interval that is shorter than two consecutive random number cycles and each random number is acquired at a time interval longer than the random value update interval by the random number updating means. It is determined whether the value has been updated normally.
Thereby, in the second random number determination means, it is possible to determine whether the same random number value is acquired due to abnormality of the random number generator or whether the same random number value is accidentally acquired. It can be accurately determined whether or not it has been updated.

また、本発明は、上述した遊技機において、前記第一の乱数判定手段は、
前記抽選用乱数取得手段によって取得された前記抽選用乱数の値と、該抽選用乱数が取得された直後に前記異常検出用乱数取得手段によって取得された、時系列で連続する2つの前記異常検出用乱数の値とが、すべて一致したときに、前記乱数更新手段によって乱数の値が正常に更新されていないと判定することを特徴とする。
In the gaming machine described above, the first random number determination means may
The value of the lottery random number acquired by the lottery random number acquisition unit and the two abnormality detections acquired in succession in the time series acquired by the abnormality detection random number acquisition unit immediately after the lottery random number is acquired. When all the random numbers for use match, the random number updating means determines that the random number value has not been updated normally.

上述した遊技機においては、第一の乱数判定手段は、抽選用乱数を含む時間的に連続する少なくとも3つの乱数の値に基づいて、乱数更新手段によって乱数の値が正常に更新されたか否かの判定を行う。このため、乱数の値が正常に更新されたと第一の乱数判定手段によって判定された場合は、抽選用乱数が正常に更新されたものであることがより確実に保証され、正常に更新されていないと判定された場合でも、抽選用乱数が取得された後に発生した乱数発生装置の異常をいち早く検知することができる。   In the gaming machine described above, the first random number determination means determines whether the random number value has been normally updated by the random number update means, based on at least three random numbers including the lottery random numbers. Judgment is made. Therefore, when the first random number determination means determines that the random number value has been updated normally, it is more reliably guaranteed that the random number for lottery has been updated normally, and the random number has been updated normally. Even when it is determined that there is no random number generator, it is possible to quickly detect an abnormality in the random number generation device that occurs after the lottery random number is acquired.

また、本発明は、上述した遊技機において、前記第一の乱数判定手段は、
前記抽選用乱数取得手段によって前記抽選用乱数が取得された直後に、前記異常検出用乱数取得手段によって取得された、時系列で連続する3つの前記異常検出用乱数の値がすべて一致したときに、前記乱数更新手段によって乱数の値が正常に更新されていないと判定することを特徴とする。
In the gaming machine described above, the first random number determination means may
Immediately after the random number for lottery acquisition is acquired by the random number for lottery acquisition, the values of the three consecutive random numbers for abnormality detection acquired by the random number acquisition unit for abnormality detection match all in time series. The random number updating means determines that the random number value has not been updated normally.

上述した遊技機においては、第一の乱数判定手段は、抽選用乱数の取得後、異常検出用乱数取得手段によって最初に取得された異常検出用乱数を含め、連続して取得された少なくとも3つの異常検出用乱数の値に基づいて、乱数の値が乱数更新手段によって正常に更新されたか否かの判定を行う。このため、乱数の値が正常に更新されたと第一の乱数判定手段によって判定された場合は、抽選用乱数が正常に更新されたものであることがより確実に保証され、正常に更新されていないと判定された場合でも、抽選用乱数が取得された後に発生した乱数発生装置の異常をいち早く検知することができる。   In the gaming machine described above, the first random number determination unit includes at least three consecutively acquired random numbers including the abnormality detection random number first acquired by the abnormality detection random number acquisition unit after acquiring the lottery random number. Based on the value of the abnormality detection random number, it is determined whether or not the random number value has been normally updated by the random number updating means. Therefore, when the first random number determination means determines that the random number value has been updated normally, it is more reliably guaranteed that the random number for lottery has been updated normally, and the random number has been updated normally. Even when it is determined that there is no random number generator, it is possible to quickly detect an abnormality in the random number generation device that occurs after the lottery random number is acquired.

また、本発明は、上述したいずれかの遊技機において、前記外部からの操作を契機として複数の図柄が変動を開始してから、該図柄の変動がすべて停止するまでを1回の単位とする単位遊技を実行する単位遊技実行手段と、
前記複数の図柄の変動が停止したときに特定の図柄組合せが停止表示されると、遊技者に対して特典が付与される確率が高くなる特別遊技を実行し、該特別遊技が終了すると前記単位遊技を再開させる特別遊技実行手段と、を備え、
前記単位遊技実行手段は、
前記外部からの操作に応じて取得された前記抽選用乱数に基づいて、特別役に当選したか否かを決定する役抽選を行う役抽選手段と、
前記役抽選において前記特別役が当選したときに、前記特定の図柄組合せが停止表示されるように、前記複数の図柄の変動を停止させる停止制御手段と、を含み、
前記遊技進行制御手段は、
前記第一の乱数判定手段および前記第二の乱数判定手段の判定に基づいて遊技を継続させると判断した場合、前記特別遊技中だったときは、該特別遊技を継続して実行し、該特別遊技が終了すると、前記単位遊技の再開を禁止し、
前記特別遊技中ではなく、かつ、前記単位遊技中だったときは、該単位遊技が終了すると、次の単位遊技の開始を禁止することを特徴とする。
In addition, according to the present invention, in any of the gaming machines described above, a period from when a plurality of symbols starts to change when triggered by the operation from the outside until one of all the changes in the symbols stops is a unit. Unit game execution means for executing a unit game;
When a specific symbol combination is stopped and displayed when the variation of the plurality of symbols is stopped, a special game is executed with a high probability that a privilege is given to the player, and when the special game ends, the unit A special game execution means for resuming the game,
The unit game execution means is
Based on the random number for lottery acquired according to the operation from the outside, a role lottery means for performing a role lottery to determine whether or not a special role is won
Stop control means for stopping fluctuations of the plurality of symbols so that the specific symbol combination is stopped and displayed when the special combination is won in the combination lottery,
The game progress control means includes
When it is determined that the game is to be continued based on the determinations of the first random number determination means and the second random number determination means, the special game is continuously executed when the special game is in progress. When the game ends, the unit game is prohibited from being resumed,
When not in the special game and in the unit game, when the unit game ends, the start of the next unit game is prohibited.

ここで、「単位遊技」とは、例えば遊技機が周知のスロットマシンの場合は、スタートスイッチが操作されたことによってリールが回転を開始してから、全てのストップスイッチが操作されたことによって全てのリールが停止し、何らかの役が成立したか否かが確定するまでの遊技をいう。また、例えば遊技機が周知のパチンコ遊技機の場合は、遊技盤に設けられた始動口に遊技球が入球したことにより、表示装置に表示された図柄(いわゆる特別図柄または飾り図柄)が変動し、その後、図柄の変動表示が停止して、当たりの表示態様になったか否かが確定するまでの遊技をいう。   Here, the “unit game” means that, for example, when the gaming machine is a well-known slot machine, all the stop switches are operated after the reel starts to rotate by operating the start switch. This is a game until the reels are stopped and it is determined whether or not any combination is established. In addition, for example, when the gaming machine is a well-known pachinko gaming machine, the symbol (so-called special symbol or decorative symbol) displayed on the display device fluctuates due to the gaming ball entering the starting port provided on the gaming board. After that, it means a game until the change display of the symbols is stopped and it is determined whether or not the winning display mode is obtained.

また、「特別遊技」は、例えば遊技機が周知のスロットマシンの場合は、役抽選における所定の役の当選確率が上昇(または必ず当選)することによって、当該所定の役が成立し易くなる(すなわち、特典が付与されやすくなる)状態が、払い出されたメダルの合計枚数が予め定められた枚数を超えるまで継続する遊技をいう。また、例えば遊技機が周知のパチンコ遊技機の場合は、いわゆる大入賞口に入球しやすい(すなわち、特典が付与されやすい)状態が、予め定められた個数の遊技球が入球するか、予め定められた時間が経過するまで継続し、この入球しやすい状態が予め定められた回数だけ繰り返される遊技をいう。   In addition, in the case of a “special game”, for example, when the gaming machine is a well-known slot machine, the winning combination of the predetermined winning combination in the winning lottery increases (or must be won), so that the predetermined winning combination is easily established ( That is, it means a game in which a state in which a privilege is easily granted is continued until the total number of medals paid out exceeds a predetermined number. In addition, for example, when the gaming machine is a well-known pachinko gaming machine, a state where it is easy to enter a so-called grand prize opening (that is, a privilege is easily given), a predetermined number of gaming balls enter, This is a game that continues until a predetermined time elapses and the state where it is easy to enter is repeated a predetermined number of times.

上述した遊技機においては、遊技進行制御手段は、第一の乱数判定手段によって乱数の値が正常に更新されていないと判定されたときに、第二の乱数判定手段によって乱数の値が正常に更新されていると判定されていた場合は、さらに、現在の遊技状態を判断する。
そして、現在の遊技状態が特別遊技中だった場合は、その特別遊技を継続させて、特別遊技が終了すると、その後の単位遊技を行えないようにする。また、特別遊技中ではないが、単位遊技中だった場合は、その単位遊技が終了すると、次の単位遊技を行えないようにする。
In the gaming machine described above, the game progress control means, when the first random number determination means determines that the random number value is not normally updated, the second random number determination means causes the random value value to be normal. If it is determined that the game has been updated, the current gaming state is further determined.
Then, if the current gaming state is a special game, the special game is continued, and when the special game ends, the subsequent unit game cannot be performed. If the unit game is not in a special game but is in a unit game, the next unit game cannot be performed when the unit game ends.

これにより、特別遊技中に、第一の乱数判定手段によって乱数の値が正常に更新されていないと判定されても、抽選用乱数が正常に更新されたものであった場合は、遊技者は、その特別遊技を最後まで行うことができるため、特別遊技によって遊技者に付与する特典を減らしてしまうことがない。また、その特別遊技が終了した後は、継続して単位遊技を行うことができないため、正常でない乱数を用いた役抽選に基づく遊技が行われてしまうことがない。   Thereby, during the special game, even if it is determined by the first random number determination means that the random number value is not normally updated, if the random number for lottery has been updated normally, the player Since the special game can be performed to the end, the privilege given to the player by the special game is not reduced. In addition, since the unit game cannot be continued after the special game is finished, the game based on the role lottery using the random number that is not normal is not performed.

さらに、特別遊技中ではないが、単位遊技中だった場合において、第一の乱数判定手段によって乱数の値が正常に更新されていないと判定されても、抽選用乱数が正常に更新されたものであった場合は、遊技者は、正常な乱数を用いた抽選に基づく単位遊技の結果を見届けることができる。また、例えば、1回の単位遊技中に画像や音による演出を行う遊技機の場合は、その演出を途中で終了させることがないため、遊技者に不満を与えにくくすることができる。   Furthermore, when the game is not in a special game but in a unit game, the random number for lottery has been updated normally even if the first random number determination means determines that the random number value has not been updated normally. If so, the player can see the result of the unit game based on the lottery using normal random numbers. In addition, for example, in the case of a gaming machine that produces an effect by an image or sound during a single unit game, the effect is not terminated halfway, so that it is difficult for the player to be dissatisfied.

また、本発明は、上述した特別遊技を行う遊技機において、
前記役抽選の結果を記憶する役抽選結果記憶手段を備え、
前記遊技進行制御手段は、
前記第一の乱数判定手段および前記第二の乱数判定手段の判定に基づいて遊技を継続させると判断した場合、前記役抽選結果記憶手段に前記特別役に当選したことが記憶されていたときは、該特別役に基づく前記特別遊技が開始されて終了するまで、前記単位遊技および前記特別遊技を継続して実行し、
前記役抽選結果記憶手段に前記特別役に当選したことが記憶されておらず、かつ、前記単位遊技中だったときは、該単位遊技が終了すると、次の単位遊技の開始を禁止することを特徴とする。
Further, the present invention provides a gaming machine that performs the special game described above.
A role lottery result storage means for storing the result of the role lottery,
The game progress control means includes
When it is determined that the game is to be continued based on the determination of the first random number determination means and the second random number determination means, when the winning combination is stored in the combination lottery result storage means , The unit game and the special game are continuously executed until the special game based on the special role is started and ended,
If the winning combination is not stored in the winning lottery result storage means and the unit game is in progress, the start of the next unit game is prohibited when the unit game ends. Features.

ここで、役抽選結果記憶手段は、例えば遊技機が周知のスロットマシンであった場合、役抽選の対象となる各役に対応する当選フラグのオン/オフ状態を記憶するRAMなどに対応する。また、遊技機が周知のパチンコ遊技機であった場合は、図柄の変動表示中に、始動口に遊技球が入球したことによって取得された乱数または実行された抽選の結果を記憶(保留)するRAMなどに対応する。   Here, if the gaming machine is a well-known slot machine, the winning lottery result storage means corresponds to a RAM that stores an on / off state of a winning flag corresponding to each winning combination. Also, if the gaming machine is a well-known pachinko gaming machine, the random number acquired when the gaming ball has entered the starting port or the result of the lottery executed is stored (pending) while the symbol variation is displayed. This corresponds to the RAM to be used.

上述した遊技機においては、遊技進行制御手段は、第一の乱数判定手段によって乱数の値が正常に更新されていないと判定されたときに、第二の乱数判定手段によって乱数の値が正常に更新されていると判定されていた場合は、さらに、役抽選結果記憶手段に記憶されている役抽選の結果をチェックする。
これにより、特別役に当選したことが記憶されていた場合は、当該特別役の当選に基づく特別遊技が開始されるまで単位遊技を継続させ、さらに、当該特別遊技が開始されてから終了するまでの遊技も実行可能とする。そして、当該特別遊技が終了すると、その後の単位遊技を行えないようにする。
In the gaming machine described above, the game progress control means determines that the random number value is normally updated by the second random number determination means when the first random number determination means determines that the random number value is not normally updated. If it is determined that the role has been updated, the combination lottery result stored in the combination lottery result storage unit is further checked.
As a result, if it is remembered that the special role has been won, the unit game is continued until the special game based on the special role is won, and further until the special game is started and ended. This game can also be executed. Then, when the special game is over, the subsequent unit game is not allowed to be performed.

また、単位遊技中において、第一の乱数判定手段によって乱数の値が正常に更新されていないと判定され、かつ、第二の乱数判定手段によって乱数の値が正常に更新されていると判定されていたときに、特別役に当選したことが役抽選結果記憶手段に記憶されていなかった場合は、その単位遊技が終了すると、次の単位遊技を行えないようにする。   In addition, during the unit game, it is determined that the random number value is not normally updated by the first random number determining unit, and the random number value is determined to be normally updated by the second random number determining unit. If the winning combination is not stored in the winning lottery result storage means when the unit game ends, the next unit game is disabled.

これにより、第一の乱数判定手段によって乱数の値が正常に更新されていないと判定されても、正常な抽選用乱数に基づく役抽選によって特別役が当選していた場合は、遊技者は、その特別役に基づく特別遊技を行うことができる。このため、遊技者が享受すべき特別遊技の機会を消滅させることなく、遊技者へ付与することができる。   Thereby, even if it is determined by the first random number determination means that the value of the random number is not normally updated, if the special combination is won by the combination lottery based on the normal random number for lottery, A special game based on the special role can be performed. For this reason, it can give to a player, without annihilating the opportunity of the special game which a player should enjoy.

また、本発明は、上述した特別遊技を行ういずれかの遊技機において、
前記単位遊技実行手段は、所定数の遊技媒体が投入されたことによって、前記単位遊技の実行が可能となるとともに、前記特別遊技中においても前記単位遊技を実行し、
前記役抽選手段は、前記特別役と、対応する図柄組合せが停止表示されると予め定められた数の前記遊技媒体が払い出されることとなる複数の小役と、を含む複数種類の役のうち、少なくとも1つの役を当選役とするか否かを決定する役抽選を行い、
前記停止制御手段は、前記役抽選により少なくとも1つの当選役が定められると、1つの当選役のみに対応する図柄組合せが停止表示されるように、前記複数の図柄の変動を停止させ、
前記単位遊技実行手段は、
前記特別遊技中に行われる前記単位遊技において、前記外部からの操作がなされたときに、前記役抽選に依らずに強制的に前記複数の小役をすべて当選役と定める強制当選手段を有することを特徴とする。
Further, the present invention provides any gaming machine that performs the special game described above,
The unit game execution means allows the unit game to be executed by inserting a predetermined number of game media, and executes the unit game even during the special game,
The combination lottery means includes a plurality of types of combinations including the special combination and a plurality of small combinations in which a predetermined number of game media will be paid out when the corresponding symbol combination is stopped and displayed. , Perform a role lottery to determine whether or not to win at least one role,
The stop control means stops fluctuation of the plurality of symbols so that a symbol combination corresponding to only one winning combination is stopped when at least one winning combination is determined by the combination lottery,
The unit game execution means is
In the unit game performed during the special game, it has a compulsory winning means for compulsorily determining all of the plurality of small roles as a winning combination without depending on the winning lottery when the external operation is performed. It is characterized by.

上述した遊技機においては、特別遊技中に行われる単位遊技では、役抽選によらずに強制的に小役が当選役として定められ、そのうち1つの小役に対応する図柄組合せが停止表示されるように、変動中の複数の図柄に対して停止制御が行われる。すなわち、上記特別遊技中においては、乱数が正常に更新されていなくても、正常に更新されているときと変わらない単位遊技を行うことができる。これにより、乱数が正常に更新されなくとも、正当な遊技結果が得られる状態であるにも関わらず、遊技者に特典が付与される確率の高い特別遊技を停止させてしまうことがない。   In the above-described gaming machine, in a unit game performed during a special game, a small combination is compulsorily determined as a winning combination without depending on a combination lottery, and a symbol combination corresponding to one small combination is stopped and displayed. As described above, stop control is performed on a plurality of symbols that are changing. That is, during the special game, even if the random number is not updated normally, a unit game that is the same as when the random number is updated normally can be played. Thereby, even if the random number is not normally updated, the special game with a high probability that a privilege is given to the player will not be stopped in spite of a state in which a valid game result is obtained.

以上のように、本発明の遊技機によれば、乱数監視中に同一の乱数値を取得した場合において、それが乱数発生装置の異常によるものか否かを正確に判別することができるとともに、遊技の途中で乱数装置に異常が生じた場合でも、その遊技の抽選に使用される乱数が正常であったときは、遊技を継続して行うことができる。   As described above, according to the gaming machine of the present invention, when the same random number value is acquired during random number monitoring, it can be accurately determined whether or not it is due to abnormality of the random number generation device, Even if an abnormality occurs in the random number device during the game, if the random number used for the lottery of the game is normal, the game can be continued.

本発明に係る遊技機の一例であるスロットマシンの外観を示す正面図である。It is a front view showing an appearance of a slot machine which is an example of a gaming machine according to the present invention. 同スロットマシンが備える各リールの図柄配列を説明するための説明図である。It is explanatory drawing for demonstrating the symbol arrangement | sequence of each reel with which the slot machine is provided. 同スロットマシンにおける遊技に関する制御を主に行う主制御回路の構成を示すブロック図である。It is a block diagram which shows the structure of the main control circuit which mainly performs the control regarding the game in the slot machine. 同スロットマシンで実行される演出に関する制御を主に行う副制御回路の構成を示すブロック図である。It is a block diagram which shows the structure of the sub control circuit which mainly performs control regarding the presentation performed with the slot machine. 同スロットマシンにおける制御に関する機能を示す機能ブロック図である。It is a functional block diagram which shows the function regarding control in the slot machine. 同スロットマシンの乱数発生装置が乱数を発生する際に参照する各種テーブルの内容を示す図であり、(a)は複数の乱数発生用テーブルからなる乱数発生用テーブル群の例、(b)は参照する乱数発生用テーブルの指定順序を定めた指定順序テーブルの例である。It is a figure which shows the content of the various tables referred when the random number generator of the slot machine generates a random number, (a) is an example of a random number generation table group consisting of a plurality of random number generation tables, (b) is It is an example of the designation | designated order table which defined the designation | designated order of the table for random number generation to refer. 同スロットマシンに予め定められている各種の役に対応する図柄組合せおよび配当を定めた配当情報の内容を説明するための説明図である。It is an explanatory view for explaining the contents of the payout information that determines the symbol combination and payout corresponding to the various combinations predetermined in the slot machine. 同スロットマシンにおける役抽選で参照される役抽選テーブルの内容を説明するための説明図である。It is explanatory drawing for demonstrating the content of the part lottery table referred by the part lottery in the slot machine. 同スロットマシンにおける遊技の進行を制御するメインルーチンの内容を示すフローチャートである。It is a flowchart which shows the content of the main routine which controls the progress of the game in the slot machine. 同スロットマシンにおいて、役抽選を行う際に乱数発生装置から乱数を取得するための乱数取得処理の内容を示すフローチャートである。It is a flowchart which shows the content of the random number acquisition process for acquiring a random number from a random number generator, when performing a lottery drawing in the slot machine. 図10に示す乱数取得処理における抽選用乱数および異常検出用乱数の取得タイミングを示すタイミングチャートであり、(a)は乱数周期と2つの抽選用乱数の取得タイミングとの関係、(b−1)および(b−2)は乱数周期と2つの抽選用乱数および1つの異常検出用乱数の取得タイミングとの関係を示すタイミングチャートである。It is a timing chart which shows the acquisition timing of the random number for lottery and the random number for abnormality detection in the random number acquisition process shown in FIG. 10, (a) is the relationship between the random number cycle and the acquisition timing of two random numbers for lottery, (b-1) And (b-2) are timing charts showing the relationship between the random number cycle and the acquisition timing of two lottery random numbers and one abnormality detection random number. 同スロットマシンにおいて、乱数発生装置によって生成される乱数の異常を検出するための乱数チェック処理の内容を示すフローチャートである。4 is a flowchart showing the contents of a random number check process for detecting an abnormality in a random number generated by a random number generator in the slot machine. 図12に示す乱数チェック処理における異常検出用乱数の取得タイミングを示すタイミングチャートであり、(a)はクロック信号と異常検出用乱数の取得タイミングとの関係、(b)および(c)は乱数周期と異常検出用乱数の取得タイミングとの関係を示すタイミングチャートである。FIG. 13 is a timing chart showing acquisition timings of abnormality detection random numbers in the random number check processing shown in FIG. 12, where (a) shows the relationship between the clock signal and acquisition timing of abnormality detection random numbers, and (b) and (c) show random number cycles. 5 is a timing chart showing the relationship between the acquisition timing of the abnormality detection random number and the abnormality detection random number. 同メインルーチン内で実行される入賞判定処理サブルーチンの内容を示すフローチャートである。It is a flowchart which shows the content of the winning determination processing subroutine performed within the main routine. 図10に示した乱数取得処理の変形例を示すフローチャートである。It is a flowchart which shows the modification of the random number acquisition process shown in FIG. 図15に示す乱数取得処理における抽選用乱数および異常検出用乱数の取得タイミングを示すタイミングチャートである。It is a timing chart which shows the acquisition timing of the random number for lottery and the random number for abnormality detection in the random number acquisition process shown in FIG. 図10に示した乱数取得処理の他の変形例を示すフローチャートである。It is a flowchart which shows the other modification of the random number acquisition process shown in FIG. 図17に示す乱数取得処理における抽選用乱数および異常検出用乱数の取得タイミングを示すタイミングチャートである。It is a timing chart which shows the acquisition timing of the random number for lottery and the random number for abnormality detection in the random number acquisition process shown in FIG. 図12に示した乱数チェック処理の変形例を示すフローチャートである。It is a flowchart which shows the modification of the random number check process shown in FIG. 図19に示す乱数チェック処理における抽選用乱数および異常検出用乱数の取得タイミングを示すタイミングチャートである。It is a timing chart which shows the acquisition timing of the random number for lottery and the random number for abnormality detection in the random number check process shown in FIG. 図12に示した乱数チェック処理の他の変形例を示すフローチャートである。13 is a flowchart illustrating another modification of the random number check process illustrated in FIG. 12. 図21に示す乱数チェック処理における抽選用乱数および異常検出用乱数の取得タイミングを示すタイミングチャートである。It is a timing chart which shows the acquisition timing of the random number for lottery and the random number for abnormality detection in the random number check process shown in FIG. 図12に示した乱数チェック処理の他の変形例を示すフローチャートである。13 is a flowchart illustrating another modification of the random number check process illustrated in FIG. 12. 図23に示す乱数チェック処理における抽選用乱数および異常検出用乱数の取得タイミングを示すタイミングチャートである。It is a timing chart which shows the acquisition timing of the random number for lottery and the random number for abnormality detection in the random number check process shown in FIG. 同スロットマシンにおいて異常が発生した場合に行う異常発生処理の内容を示すフローチャートである。It is a flowchart which shows the content of the abnormality generation process performed when abnormality occurs in the slot machine. 同スロットマシンの電源をオフにしたときに実行される電源断処理の内容を示すフローチャートである。It is a flowchart which shows the content of the power-off process performed when the power supply of the slot machine is turned off. 同スロットマシンの電源をオンにしたときに実行される電源投入処理の内容を示すフローチャートである。It is a flowchart which shows the content of the power-on process performed when the power supply of the slot machine is turned on. 本発明に係る遊技機の一例であるスロットマシンにおける乱数発生装置を、ハードウェア回路で構成する場合の一例を示す機能ブロック図である。It is a functional block diagram showing an example of a case where a random number generation device in a slot machine which is an example of a gaming machine according to the present invention is configured by a hardware circuit. 図28における乱数生成回路をデジタルICによって構成した場合の一例を示す回路図である。It is a circuit diagram which shows an example at the time of comprising the random number generation circuit in FIG. 28 by digital IC. 本発明に係る遊技機の一例であるパチンコ機の外観を示す正面図である。It is a front view which shows the external appearance of the pachinko machine which is an example of the game machine which concerns on this invention. 同パチンコ機の背面を示す背面図である。It is a rear view which shows the back surface of the same pachinko machine. 同パチンコ機における主要な制御機能の概略を示す機能ブロック図である。It is a functional block diagram which shows the outline of the main control functions in the pachinko machine. 同パチンコ機の主制御手段で実行される入賞処理の内容を示すフローチャートである。It is a flowchart which shows the content of the winning process performed by the main control means of the pachinko machine.

以下、図面を参照しながら、本発明の実施形態を詳細に説明する。
[第1実施形態]
まず、本発明に係る遊技機を、スロットマシンとした場合の実施形態について説明する。本実施形態に係るスロットマシン10の外観を図1に示す。図1は、スロットマシン10の正面図であり、同図において、スロットマシン10の筐体の前面部には、フロントパネル20が設けられている。このフロントパネル20の略中央には、表示窓22が形成されており、スロットマシン10の内部に回転自在に設けられている3個のリール40L,40C及び40Rの外周面に印刷された図柄が表示される。リール40L,40C及び40Rは、各回転軸が、水平方向の同一直線上に並ぶように設けられ、各々リング状の形状を有し、その外周面には21個の図柄が等間隔で印刷された帯状のリールテープが貼り付けられている。そして、表示窓22からは、リール40L,40C及び40Rが停止しているときに、各リールに印刷された21個の図柄のうち、各リールの回転方向に沿って連続する3つの図柄が視認可能となっている。すなわち、表示窓22には、3[図柄]×3[リール]=合計9つの図柄が停止表示される。ここで、リール40L,40C及び40Rが停止しているときに表示される連続する3つの図柄のうち、最も上側の停止表示位置を上段U、中央の停止表示位置を中段M、最も下側の停止表示位置を下段Lとする。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[First Embodiment]
First, an embodiment in which the gaming machine according to the present invention is a slot machine will be described. An appearance of the slot machine 10 according to the present embodiment is shown in FIG. FIG. 1 is a front view of the slot machine 10. In FIG. 1, a front panel 20 is provided on the front surface of the casing of the slot machine 10. A display window 22 is formed substantially at the center of the front panel 20, and symbols printed on the outer peripheral surfaces of the three reels 40L, 40C, and 40R that are rotatably provided inside the slot machine 10 are displayed. Is displayed. Each of the reels 40L, 40C, and 40R is provided such that the respective rotation axes are arranged on the same straight line in the horizontal direction, each having a ring shape, and 21 symbols are printed at equal intervals on the outer peripheral surface thereof. A strip of reel tape is affixed. From the display window 22, when the reels 40L, 40C, and 40R are stopped, among the 21 symbols printed on each reel, three symbols that are continuous along the rotation direction of each reel are visually recognized. It is possible. That is, in the display window 22, 3 symbols [3] × 3 [reels] = total 9 symbols are stopped and displayed. Here, among the three consecutive symbols displayed when the reels 40L, 40C, and 40R are stopped, the uppermost stop display position is the upper stage U, the middle stop display position is the middle stage M, and the lowermost figure. The stop display position is set to the lower stage L.

また、表示窓22には、リール40L,40C及び40Rを横切る5本の入賞ラインが定められている。この5本の入賞ラインは、表示窓22内において、左リール40Lの下段L、中リール40Cの中段M、および、右リール40Rの上段Uを通過する右上がり斜め入賞ラインL1と、各リールの上段Uを通過する上段水平入賞ラインL2と、各リールの中段Mを通過する中段水平入賞ラインL3と、各リールの下段Lを通過する下段水平入賞ラインL4と、左リール40Lの上段U、中リール40Cの中段M、右リール40Rの下段Lを通過する斜め右下がり斜め入賞ラインL5と、によって構成されている。このように各入賞ラインは、リール40L,40C,40Rについて、各々3つの停止表示位置(上段U、中段M、下段L)のうち、いずれか1つを通過している。   The display window 22 has five winning lines that cross the reels 40L, 40C, and 40R. The five winning lines are a right-upward oblique winning line L1 passing through the lower stage L of the left reel 40L, the middle stage M of the middle reel 40C, and the upper stage U of the right reel 40R in the display window 22, and each reel. The upper horizontal winning line L2 passing through the upper stage U, the middle horizontal winning line L3 passing through the middle stage M of each reel, the lower horizontal winning line L4 passing through the lower stage L of each reel, and the upper stage U, middle of the left reel 40L The reel 40C includes a middle stage M and a slanted right-down diagonal winning line L5 passing through a lower stage L of the right reel 40R. Thus, each winning line passes through any one of the three stop display positions (upper U, middle M, and lower L) for each of the reels 40L, 40C, and 40R.

入賞ラインL1〜L5は、各々、予め定められた複数種類の役(後述する)に対応する図柄組合せを判定する際の基準となるラインであり、リール40L,40C及び40Rが停止したときに、5本の入賞ラインのうち、有効とみなされた入賞ライン(以下、有効ラインという)が通過する停止表示位置に各々停止表示された3つの図柄の組合せが、いずれかの役に対応していたときに、その役が成立したことになる。   Each of the winning lines L1 to L5 is a reference line for determining a symbol combination corresponding to a plurality of predetermined types of roles (described later), and when the reels 40L, 40C, and 40R are stopped, Of the five winning lines, a combination of three symbols each stopped and displayed at a stop display position through which a winning line deemed effective (hereinafter referred to as an effective line) passes corresponds to one of the roles. Sometimes the role is established.

フロントパネル20には、表示窓22の他に、遊技に関する各種情報を遊技者へ知らせるための各種ランプおよび表示器が設けられている。表示窓22の下側には、図1中、左から順に、ベット数(賭け枚数)表示ランプ26a,26b,26c、クレジット数表示器27、および、獲得枚数表示器28が設けられている。ベット数表示ランプ26a,26b,26cは、1回の遊技に投入されるメダルの枚数を表示するものである。すなわち、1枚のメダルが投入されるとベット数表示ランプ26aのみが点灯し、2枚のメダルが投入されるとベット数表示ランプ26aおよび26bが点灯し、3枚のメダルが投入されるとベット数表示ランプ26a,26b,26cが点灯する。ここで、スロットマシン10は、遊技状態(後述する)に応じて2枚または3枚のメダルを投入することで1回の遊技が可能となり、いずれの場合も入賞ラインL1〜L5が全て有効ラインとなる。   In addition to the display window 22, the front panel 20 is provided with various lamps and a display for notifying the player of various information regarding the game. Below the display window 22, bet number (betting number) display lamps 26 a, 26 b, 26 c, a credit number display 27, and an acquired number display 28 are provided in order from the left in FIG. 1. The bet number display lamps 26a, 26b, and 26c are for displaying the number of medals inserted in one game. That is, when one medal is inserted, only the bet number display lamp 26a is turned on. When two medals are inserted, the bet number display lamps 26a and 26b are turned on and three medals are inserted. The bet number display lamps 26a, 26b, and 26c are turned on. Here, the slot machine 10 can be played once by inserting two or three medals according to the gaming state (described later). In any case, the winning lines L1 to L5 are all valid lines. It becomes.

クレジット数表示器27は、2桁の7セグメント表示器からなり、スロットマシン10にクレジット(貯留)されている(より具体的には、後述するRAM110に記憶されている)メダルの枚数を表示する。獲得枚数表示器28は、2桁の7セグメント表示器からなり、スロットマシン10において遊技の結果に応じて遊技者へ払い出されるメダルの枚数を表示する。また、獲得枚数表示器28は、スロットマシン10において異常が発生した場合に、その異常の内容を示すエラーコードを表示する表示器としても使用される。   The credit number display 27 is a two-digit 7-segment display, and displays the number of medals credited (stored) in the slot machine 10 (more specifically, stored in the RAM 110 described later). . The acquired number display 28 is a two-digit 7-segment display, and displays the number of medals to be paid out to the player in the slot machine 10 according to the game result. The acquired number display device 28 is also used as a display device for displaying an error code indicating the content of the abnormality when an abnormality occurs in the slot machine 10.

上述したフロントパネル20の下側には、概略水平の操作パネル部30が設けられている。操作パネル部30の上面右側には、スロットマシン10へメダルを投入するためのメダル投入口32が設けられている。メダル投入口32に投入されたメダルは、スロットマシン10の内部に形成されたメダル流路を流下して、スロットマシン10の内部に設けられたホッパー(図示略)に貯留される。また、メダル流路の途中には、従来と同様のメダルセレクタ(図示略)が設けられており、所定の規格に合致しない寸法のメダルが投入された場合は、当該メダルの流下を阻止し、または、後述するメダル払出口60へ至る返却流路へ導いている。メダルセレクタには、メダルセンサ(図示略)が設けられており、メダル投入口32から投入されたメダルを検出すると、メダル検出信号を出力する。そして、このメダル検出信号の出力回数を計数することで、投入されたメダルの枚数を認識することができる。   A substantially horizontal operation panel unit 30 is provided below the front panel 20 described above. A medal insertion slot 32 for inserting medals into the slot machine 10 is provided on the upper right side of the operation panel 30. The medals inserted into the medal insertion slot 32 flow down the medal channel formed inside the slot machine 10 and are stored in a hopper (not shown) provided inside the slot machine 10. Further, a medal selector (not shown) similar to the conventional one is provided in the middle of the medal flow path, and when a medal having a size that does not conform to a predetermined standard is inserted, the medal is prevented from flowing down, Or it leads to the return flow path which leads to the medal payout outlet 60 which will be described later. The medal selector is provided with a medal sensor (not shown). When a medal inserted from the medal insertion slot 32 is detected, a medal detection signal is output. Then, by counting the number of outputs of the medal detection signal, the number of inserted medals can be recognized.

さらに、上述したメダルセレクタには、ソレノイドによって駆動するブロッカが設けられており、このソレノイドをオン/オフ制御することで、メダル投入口32に投入されたメダルの流下経路を、上述したメダル流路と、返却流路とに、切り替えている。ここでは、ソレノイドがオン(以下、ブロッカがオンという)のとき、投入されたメダルがメダル流路を流下し、ソレノイドがオフ(以下、ブロッカがオフという)のとき、返却流路を流下するように、メダルの流路を切り替えている。   Further, the above-described medal selector is provided with a blocker that is driven by a solenoid. By controlling on / off of this solenoid, the flow path of the medal inserted into the medal insertion slot 32 is changed to the above-described medal flow path. And switching to the return channel. Here, when the solenoid is on (hereinafter, the blocker is turned on), the inserted medal flows down the medal flow path, and when the solenoid is off (hereinafter, the blocker is turned off), it flows down the return flow path. In addition, the flow path of medals is switched.

操作パネル部30の上面左側には、クレジットされているメダルをスロットマシン10へ投入することができる1−ベットスイッチ34および最大ベットスイッチ35が設けられている。1−ベットスイッチ34は、1回操作されるごとにクレジットされているメダルのうち1枚だけを遊技の賭けの対象としてスロットマシン10へ投入するためのスイッチである。最大ベットスイッチ35は、クレジットされているメダルのうち、そのときの遊技状態に応じて2枚または3枚を遊技の賭けの対象としてスロットマシン10へ投入するためのスイッチである。   A 1-bet switch 34 and a maximum bet switch 35 that can insert a credited medal into the slot machine 10 are provided on the upper left side of the operation panel 30. The 1-bet switch 34 is a switch for inserting only one medal that is credited every time it is operated into the slot machine 10 as a game betting target. The maximum bet switch 35 is a switch for putting two or three of the credited medals into the slot machine 10 as a game betting target according to the gaming state at that time.

メダル投入口32にメダルを投入し、または、各種ベットスイッチ34,35を操作することにより、スロットマシン10に3枚のメダルを投入すると、メダルが投入されるごとにベット数表示ランプ26a,26b,26cが順次点灯していき、入賞ラインL1〜L5が有効ラインとなる。また、各種ベットスイッチ34,35を操作してメダルを投入した場合は、後述するRAM110に記憶されているクレジット数から、投入されたメダルの枚数が減算され、これに伴ってクレジット数表示器27に表示されている値も減算される。規定枚数(2枚または3枚)のメダルが既に投入されている状態で、さらにメダル投入口32へメダルが投入されると、当該投入されたメダルの枚数が、RAM110に記憶されているクレジット数に加算されるとともに、クレジット数表示器27に表示されている値に加算される。   When three medals are inserted into the slot machine 10 by inserting medals into the medal insertion slot 32 or by operating the various bet switches 34 and 35, the bet number display lamps 26a and 26b are displayed each time a medal is inserted. , 26c are sequentially turned on, and the winning lines L1 to L5 become effective lines. Further, when medals are inserted by operating the various bet switches 34 and 35, the number of inserted medals is subtracted from the number of credits stored in the RAM 110, which will be described later. The value displayed in is also subtracted. When a prescribed number (two or three) of medals have already been inserted, and further medals are inserted into the medal insertion slot 32, the number of inserted medals is the number of credits stored in the RAM 110. Is added to the value displayed on the credit amount display 27.

操作パネル部30の正面左側には、スタートスイッチ36が傾動可能に設けられている。遊技者がスロットマシン10に規定枚数のメダルを投入した後、スタートスイッチ36を傾動操作すると、前述した3つのリール40L,40C及び40Rが一斉に回転を開始する。これにより、リール40L,40C及び40Rの各外周面に印刷された図柄は、表示窓22において上から下へと移動(スクロール)表示される。
操作パネル部30の正面中央部には、3つのストップスイッチ37L,37C及び37Rが設けられている。ここで、左ストップスイッチ37Lは左リール40Lに対応し、中ストップスイッチ37Cは中リール40Cに対応し、右ストップスイッチ37Rは右リール40Rに対応している。ストップスイッチ37L,37C及び37Rは、3つのリール40L,40C及び40Rの回転速度が所定の定常回転速度(例えば、約80回転/分)に達したときに、遊技者による操作が有効となる。
A start switch 36 is tiltably provided on the front left side of the operation panel 30. When the player inserts a prescribed number of medals into the slot machine 10 and then tilts the start switch 36, the three reels 40L, 40C, and 40R described above start to rotate all at once. As a result, the symbols printed on the outer peripheral surfaces of the reels 40L, 40C and 40R are moved (scrolled) from the top to the bottom in the display window 22.
Three stop switches 37L, 37C, and 37R are provided at the center of the front surface of the operation panel 30. Here, the left stop switch 37L corresponds to the left reel 40L, the middle stop switch 37C corresponds to the middle reel 40C, and the right stop switch 37R corresponds to the right reel 40R. The stop switches 37L, 37C, and 37R are operated by the player when the rotational speeds of the three reels 40L, 40C, and 40R reach a predetermined steady rotational speed (for example, about 80 rotations / minute).

そして、左ストップスイッチ37Lを遊技者が押動操作したときには、左リール40Lが停止し、中ストップスイッチ37Cを押動操作したときには、中リール40Cが停止し、右ストップスイッチ37Rを押動操作したときには、右リール40Rが停止する。このとき、3つのリール40L、40C及び40Rの各々は、各リールの外周面に描かれている図柄のうち、連続するいずれか3つの図柄の各中心位置が、表示窓22内の上段U、中段M、および、下段Lの各中央に位置付けられるように停止制御される。ここで、図柄の中心と、停止表示位置の中央とが一致する位置を定位置という。スロットマシン10においては、遊技者がストップスイッチを操作したことによって対応するリールを停止させる際に、図柄が必ず定位置で停止するように、リール停止制御が行われる。   When the player pushes the left stop switch 37L, the left reel 40L stops. When the middle stop switch 37C is pushed, the middle reel 40C stops and the right stop switch 37R is pushed. Sometimes the right reel 40R stops. At this time, each of the three reels 40L, 40C, and 40R has the center position of any three consecutive symbols out of the symbols drawn on the outer peripheral surface of each reel, the upper U in the display window 22, Stop control is performed so as to be positioned at the center of each of the middle stage M and the lower stage L. Here, a position where the center of the symbol coincides with the center of the stop display position is referred to as a fixed position. In the slot machine 10, when the player stops the corresponding reel by operating the stop switch, reel stop control is performed so that the symbol always stops at a fixed position.

操作パネル部30の下側には、スロットマシン10の機種名やモチーフとして採用されたキャラクタなどが描かれた下部パネル50が配設されている。下部パネル50の下方略中央には、遊技者に対してメダルを払い出すためのメダル払出口60が設けられている。すなわち、リール40L、40C及び40Rが停止したときに、有効ラインに沿って停止表示された3つの図柄の組合せが、小役に対応していた場合、スロットマシン10の内部に設置されたホッパー(図示略)が作動してその小役に対応した枚数のメダルが払い出される。そして、払い出されたメダルは、メダル払出口60から排出されて受け皿61に貯留される。また、メダル投入口32から投入され、前述したブロッカによって返却流路に導かれたメダルも、メダル払出口60から排出される。メダル払出口60の右側および左側には、各々、スロットマシン10内部に収納されたスピーカ64R,64L(後述する)から発せられた音を外部へ通すための透音孔62R,62Lが設けられている。   A lower panel 50 on which a model name of the slot machine 10 and characters adopted as a motif are drawn is arranged below the operation panel 30. A medal payout opening 60 for paying out medals to the player is provided at a substantially lower center of the lower panel 50. That is, when the reels 40L, 40C, and 40R are stopped and the combination of the three symbols stopped and displayed along the active line corresponds to the small role, the hopper (inside the slot machine 10) (Not shown) is activated and the number of medals corresponding to the small combination is paid out. Then, the paid-out medals are discharged from the medal payout outlet 60 and stored in the tray 61. Also, medals inserted from the medal insertion slot 32 and guided to the return flow path by the blocker described above are also discharged from the medal payout opening 60. On the right side and the left side of the medal payout opening 60, sound transmission holes 62R and 62L are provided for allowing sounds emitted from speakers 64R and 64L (described later) housed inside the slot machine 10 to pass outside. Yes.

フロントパネル20の上方には、液晶ディスプレイパネルから構成される表示装置70が設けられている。なお、表示装置70は、上述した液晶ディスプレイパネルに限られず、画像情報や文字情報を遊技者が遊技中に視認し得る装置であれば、その他あらゆる画像表示装置を用いることが可能である。この表示装置70は、遊技履歴や、特別遊技中に表示される演出画像、役抽選の結果を報知するための演出画像、遊技の進行(メダル投入→スタートスイッチ36の操作→リールの回転→ストップスイッチ37L,37C,37Rの操作→全リール回転停止)に応じた演出画像等を表示することができる。表示装置70の上方には、リール40L,40C,40Rが停止し、何らかの役が成立した場合、成立した役に応じたパターンで点滅する上部演出ランプ72が設けられている。   A display device 70 composed of a liquid crystal display panel is provided above the front panel 20. The display device 70 is not limited to the above-described liquid crystal display panel, and any other image display device can be used as long as the player can visually recognize image information and text information during the game. This display device 70 is a game history, an effect image displayed during a special game, an effect image for notifying the result of a role lottery, a game progress (medal insertion → operation of the start switch 36 → reel rotation → stop It is possible to display an effect image or the like according to the operation of the switches 37L, 37C, and 37R → all reel rotation stop). Above the display device 70, there is provided an upper effect lamp 72 that blinks in a pattern corresponding to the established combination when the reels 40L, 40C, 40R are stopped and any combination is established.

次に、図2を参照して、リール40L、40C及び40Rの各外周面に貼り付けられるリールテープに印刷された図柄の配列について説明する。前述したように、リール40L、40C及び40Rの各外周面には21個の図柄が印刷されているが、各図柄は、リールテープの長手方向において、21等分に区画されてなる各図柄表示領域に1つの図柄が印刷されている。また、各図柄表示領域に表示される図柄の種類は、9種類あり、各種類に応じて種別コード(図示略)が予め定められている。本実施形態における図柄の種類には、数字の7を赤色および青色で各々表した「赤7」図柄、「青7」図柄と、棒状の塊をモチーフとした「BAR」図柄と、サクランボをモチーフとした「チェリー」図柄と、スイカをモチーフとした「スイカ」図柄と、ベルをモチーフとした「ベル」図柄と、プラムをモチーフとした「プラム」図柄と、所定のキャラクタを表した「キャラクタ」図柄と、各役に対応する図柄組合せのいずれにも含まれていない「ブランク」図柄とがある。   Next, with reference to FIG. 2, the arrangement of symbols printed on the reel tape attached to the outer peripheral surfaces of the reels 40L, 40C and 40R will be described. As described above, 21 symbols are printed on the outer peripheral surfaces of the reels 40L, 40C, and 40R. Each symbol is divided into 21 equal parts in the longitudinal direction of the reel tape. One symbol is printed in the area. There are nine types of symbols displayed in each symbol display area, and a type code (not shown) is predetermined for each type. The types of symbols in this embodiment include the “red 7” symbol, the “blue 7” symbol, which represents the number 7 in red and blue, the “BAR” symbol with a bar-like lump motif, and the cherry motif. "Cherry" design, "Watermelon" design with watermelon motif, "Bell" design with bell motif, "Plum" design with plum motif, and "Character" representing a given character There are symbols and “blank” symbols that are not included in any of the symbol combinations corresponding to each combination.

また、リール40L、40C及び40Rの各々に貼り付けられるリールテープの各図柄表示領域には、「1」〜「21」の図柄番号が予め定められており、図2に示すように、各図柄番号には、当該図柄番号に対応する図柄表示領域に印刷された図柄の種別コードが対応付けられ、後述するROM108に記憶されている。これらの情報は、スロットマシン10が、表示窓22の各停止表示位置(上段U、中段M、下段L)に表示された図柄を識別する際に参照される。以下では、図柄番号および種別コードをまとめて図柄識別情報という。図2に示した内容のリールテープを、各々対応するリール40L、40C及び40Rの外周面に貼り付けると、図2の図柄配列において、図柄番号「1」と「21」の図柄が連続することになる。   In addition, symbol numbers “1” to “21” are predetermined in each symbol display area of the reel tape attached to each of the reels 40L, 40C, and 40R. As shown in FIG. The number is associated with a symbol type code printed in the symbol display area corresponding to the symbol number, and stored in the ROM 108 described later. These pieces of information are referred to when the slot machine 10 identifies symbols displayed at each stop display position (upper U, middle M, lower L) of the display window 22. Hereinafter, the symbol number and the type code are collectively referred to as symbol identification information. When the reel tapes having the contents shown in FIG. 2 are attached to the outer peripheral surfaces of the corresponding reels 40L, 40C, and 40R, the symbols of symbol numbers “1” and “21” are continuous in the symbol array of FIG. become.

また、リール40L、40C及び40Rが回転すると、表示窓22内に表示される各リールの3つの図柄は、連続する3つの図柄番号の値が増加する方向にスクロール表示されることになる。たとえば、表示窓22の下段Lから上段Uに向かって、図柄番号「1」,「2」,「3」の図柄が表示されていた場合、それ以降、表示される図柄は、図柄番号「2」,「3」,「4」→図柄番号「3」,「4」,「5」→図柄番号「4」,「5」,「6」→……と変化する。そして、図柄番号「19」,「20」,「21」が表示されると、引き続き、図柄番号図柄番号「20」,「21」,「1」→図柄番号「21」,「1」,「2」→図柄番号「1」,「2」,「3」→……と変化していき、以下、リールが停止するまで図柄番号「1」から「21」の図柄が循環的にスクロールしていき、その様子を表示窓22から視認することができる。   When the reels 40L, 40C, and 40R are rotated, the three symbols of each reel displayed in the display window 22 are scroll-displayed in a direction in which the values of three consecutive symbol numbers are increased. For example, when symbols of symbol numbers “1”, “2”, and “3” are displayed from the lower L to the upper U of the display window 22, the symbols that are displayed thereafter are symbol numbers “2”. ”,“ 3 ”,“ 4 ”→ design numbers“ 3 ”,“ 4 ”,“ 5 ”→ design numbers“ 4 ”,“ 5 ”,“ 6 ”→... When the symbol numbers “19”, “20”, and “21” are displayed, the symbol numbers, symbol numbers “20”, “21”, “1” → symbol numbers “21”, “1”, “ 2 ”→ symbol number“ 1 ”,“ 2 ”,“ 3 ”→... Symbol symbols“ 1 ”to“ 21 ”are cyclically scrolled until the reel stops. The state can be visually recognized from the display window 22.

[制御回路の説明]
スロットマシン10を制御する制御回路は、主制御回路100と副制御回路200とで構成されている。ここで、主制御回路100のブロック図を図3に示し、これに電気的に接続されている副制御回路200のブロック図を図4に示す。なお、図3および図4において、図1に示すスロットマシン10の正面図に図示された構成と同じものについては同一の符号を付し、その詳しい説明を省略する。
[Description of control circuit]
A control circuit that controls the slot machine 10 includes a main control circuit 100 and a sub control circuit 200. Here, a block diagram of the main control circuit 100 is shown in FIG. 3, and a block diagram of the sub-control circuit 200 electrically connected thereto is shown in FIG. 3 and 4, the same components as those shown in the front view of the slot machine 10 shown in FIG. 1 are denoted by the same reference numerals, and detailed description thereof is omitted.

≪主制御回路の説明≫
図3に示す中央処理装置(以下、CPUと称する)106は、外部から供給される基準クロック信号に基づいて作動し、ROM108に記憶されている制御プログラムを実行して、入出力バス104を介して入力される各種情報に基づく制御を行うことで、スロットマシン10における遊技を可能とする。ここで、入出力バス104は、8ビットのアドレスバスADDと、同じく8ビットのデータバスDATとで構成されている。ROM108は、スロットマシンの全体の流れを制御する制御プログラムや、制御プログラムを実行するための各種データを予め記憶している。ROM108に記憶されているデータとしては、前述した図柄識別情報の他、例えば、役抽選で使用する乱数を生成するための各種テーブル(図6参照)、遊技における各種の役と図柄組合せとを対応を定めた配当情報(図7参照)、および、役抽選によって役の当否を決定するための役抽選テーブル(図8参照)などがある。なお、役抽選テーブルは、後述する各遊技状態に応じた種類が記憶されているものとする。また、ROM108に記憶される制御プログラムとしては、図9に示すメインルーチンの処理、図10に示す入賞判定処理、図11に示す乱数取得処理、および図13に示す乱数チェック処理を実行するためのプログラムなどがある。
≪Description of main control circuit≫
A central processing unit (hereinafter referred to as a CPU) 106 shown in FIG. 3 operates based on a reference clock signal supplied from the outside, executes a control program stored in the ROM 108, and passes through an input / output bus 104. By performing control based on various information input in this manner, a game in the slot machine 10 is made possible. Here, the input / output bus 104 includes an 8-bit address bus ADD and an 8-bit data bus DAT. The ROM 108 stores in advance a control program for controlling the entire flow of the slot machine and various data for executing the control program. As data stored in the ROM 108, in addition to the above-described symbol identification information, for example, various tables (see FIG. 6) for generating random numbers to be used in the lottery drawing, various combinations in games and symbol combinations are supported. And a payout lottery table (see FIG. 8) for determining whether or not a winning combination is made by a winning lottery. In addition, the type according to each game state mentioned later shall be memorize | stored in the combination lottery table. The control program stored in the ROM 108 is for executing the main routine process shown in FIG. 9, the winning determination process shown in FIG. 10, the random number acquisition process shown in FIG. 11, and the random number check process shown in FIG. There are programs.

入出力バス104には、フラッシュメモリなどの不揮発性メモリであるRAM110も接続されている。RAM110には、CPU106のレジスタの内容をスタックするスタックエリア、スタックポインタ退避エリアおよびワークエリアなどに使用される記憶領域がそれぞれ所定のアドレスに割り当てられている。そして、ワークエリアには、CPU106が、上述した制御プログラムの処理を行う過程で参照する役抽選の結果や、各種変数の値が一時的に記憶される。この変数の種類としては、例えば、表示窓22に表示されている図柄番号、メダル投入枚数、クレジット枚数、およびメダル払出枚数などの各値を示すものがある。また、RAM110には、スロットマシン10の遊技状態を示す遊技状態情報も記憶される。スロットマシン10の遊技状態は、「通常遊技」、「MB遊技」、および「BB遊技」の3つの状態があり、いずれの遊技状態であるのかを示す遊技状態情報によって、現在の遊技状態を判断することができる。スロットマシン10では、これらの遊技状態に応じて、役抽選テーブルの選択や、各遊技状態間の移行に関する処理を行っている。なお、上述した各遊技状態については後に詳しく説明する。   A RAM 110 that is a nonvolatile memory such as a flash memory is also connected to the input / output bus 104. In the RAM 110, a storage area used for stacking the register contents of the CPU 106, a stack pointer saving area, a work area, and the like is assigned to each predetermined address. The work area temporarily stores the result of the lottery drawing and the values of various variables that the CPU 106 refers to in the process of performing the above-described control program. Examples of the types of variables include values indicating the symbol number, the number of medals inserted, the number of credits, and the number of medals paid out displayed on the display window 22. The RAM 110 also stores game state information indicating the game state of the slot machine 10. The gaming state of the slot machine 10 has three states of “normal game”, “MB game”, and “BB game”, and the current gaming state is determined based on the gaming state information indicating which gaming state it is. can do. In the slot machine 10, processing relating to selection of a winning lottery table and transition between game states is performed in accordance with these game states. Each gaming state described above will be described in detail later.

CPU106に入力される各種情報には、図1に示した1−ベットスイッチ34、最大ベットスイッチ35、スタートスイッチ36およびストップスイッチ37L,37C,37Rから出力される信号があり、これらの信号は、入出力バス104に接続されたインターフェイス回路102を介してCPU106に入力される。さらに、CPU106に入力される情報には、乱数発生器112によって0〜65535(2の16乗)の数値範囲内で発生される乱数(整数)があり、この乱数は、入出力バス104を介してCPU106へ入力される。この乱数発生器112は、CPU106に供給されている基準クロック信号とは非同期かつ周期が異なる乱数発生用クロック信号に基づいて作動しており、乱数値の更新は、乱数発生用クロック信号に同期して行われる。乱数発生器112の構成については、後に詳しく説明する。   The various information input to the CPU 106 includes signals output from the 1-bet switch 34, the maximum bet switch 35, the start switch 36, and the stop switches 37L, 37C, and 37R shown in FIG. The data is input to the CPU 106 via the interface circuit 102 connected to the input / output bus 104. Further, the information input to the CPU 106 includes a random number (integer) generated by the random number generator 112 within a numerical range of 0 to 65535 (2 to the 16th power). This random number is transmitted via the input / output bus 104. Are input to the CPU 106. The random number generator 112 operates based on a random number generation clock signal that is asynchronous with the reference clock signal supplied to the CPU 106 and has a different period, and the update of the random number value is synchronized with the random number generation clock signal. Done. The configuration of the random number generator 112 will be described in detail later.

CPU106は、上述した制御プログラムを実行することで、入出力バス104に接続された各種装置の制御を行う。まず、CPU106は、モータ駆動回路114に対して駆動パルスを出力し、ステッピングモータ80L、80C及び80Rの回転制御を行う。ステッピングモータ80L、80C及び80Rの各々は、3つのリール40L、40C及び40Rの内周側に設けられ、ステッピングモータ80L、80C及び80Rの回転シャフトにリール40L、40C及び40Rの回転中心が取り付けられている。モータ駆動回路114は、ステッピングモータ80L、80C及び80Rと接続されており、CPU106から駆動パルスが出力されるごとに、各ステッピングモータを1ステップずつ回転駆動する。また、CPU106は、RAM110に記憶されているクレジット数の値をLED駆動回路116へ送信し、これにより、LED駆動回路116は、受信した数値に対応する数字を表示するように、クレジット数表示器27の各セグメントを点灯させる。また、CPU106は、1回の遊技が行われた結果、遊技者にメダルを払い出すこととなったときに、そのメダルの枚数の数値をLED駆動回路116へ送信し、これにより、LED駆動回路116は、受信した数値に対応する数字を表示するように、獲得枚数表示器28の各セグメントを点灯させる。   The CPU 106 controls various devices connected to the input / output bus 104 by executing the control program described above. First, the CPU 106 outputs a drive pulse to the motor drive circuit 114, and performs rotation control of the stepping motors 80L, 80C, and 80R. Each of the stepping motors 80L, 80C and 80R is provided on the inner peripheral side of the three reels 40L, 40C and 40R, and the rotation centers of the reels 40L, 40C and 40R are attached to the rotation shafts of the stepping motors 80L, 80C and 80R. ing. The motor drive circuit 114 is connected to the stepping motors 80L, 80C, and 80R, and rotates each stepping motor one step each time a drive pulse is output from the CPU 106. In addition, the CPU 106 transmits the value of the number of credits stored in the RAM 110 to the LED driving circuit 116, whereby the LED driving circuit 116 displays the number of credits corresponding to the received numerical value. Each of the 27 segments is lit. In addition, when the CPU 106 pays out a medal to the player as a result of one game, the CPU 106 transmits the numerical value of the number of medals to the LED driving circuit 116, thereby the LED driving circuit. 116 lights each segment of the acquired number display 28 so as to display a number corresponding to the received numerical value.

さらに、入出力バス104には外部集中端子基板118が接続されており、CPU106は、外部集中端子基板118を介してスロットマシン10で行われた遊技に関する情報およびを外部へ出力している。ここで、CPU106は、外部へ出力する遊技に関する情報として、1回の遊技でスロットマシン10に投入されたメダルの枚数(IN信号)、1回の遊技が行われた結果、遊技者へ払い出されたメダルの枚数(OUT信号)、遊技状態が「BB遊技」になっているか否か(BB発生信号)、遊技状態が「MB遊技」になっているか否か(MB発生信号)、1回の遊技が行われた結果、再遊技役が成立したか否か(RP発生信号)を示す情報、および、スロットマシン10に異常が発生したことを示す異常発生信号を出力する。これら遊技に関する情報は、例えば、遊技場に設置された各遊技機の出玉を管理する管理コンピュータや、各遊技機に対応して設置されている外部の遊技履歴表示器に対して出力される。   Further, an external concentrated terminal board 118 is connected to the input / output bus 104, and the CPU 106 outputs information relating to the game played in the slot machine 10 and the outside via the external concentrated terminal board 118. Here, the CPU 106 pays out to the player as a result of the number of medals inserted into the slot machine 10 in one game (IN signal) as a result of one game, as information about the game to be output to the outside. The number of medals played (OUT signal), whether the game state is “BB game” (BB generation signal), whether the game state is “MB game” (MB generation signal), once As a result of the game, information indicating whether or not a re-game is established (RP generation signal) and an abnormality occurrence signal indicating that an abnormality has occurred in the slot machine 10 are output. The information related to these games is output to, for example, a management computer that manages the appearance of each gaming machine installed in the game hall or an external gaming history display installed corresponding to each gaming machine. .

さらに、CPU106は、遊技に関する制御や不正行為に関する異常が発生した場合は、発生した異常の内容を示すエラーコードをインターフェイス回路102および接続線120を介して副制御回路200へ送信する。CPU106が検知し得る異常の内容としては、例えば、前述したホッパーに貯留されているメダルがなくなったという異常、メダル払出口60においてメダル詰まりが発生した旨の異常、前述したメダルセレクタをメダルが正常に通過しなかったという異常、RAM108におけるデータの読み書きが正常に行うことができなかったという異常、役抽選で当選しなかった役が成立してしまったという異常など、従来のスロットマシンにおいても検出されている異常の内容が含まれる。さらに、スロットマシン10では、乱数発生装置112によって生成される乱数の異常も検知し得る。そして、上述した各種の異常が検知された場合は、前述した異常発生信号を、外部集中端子基板118を介して管理コンピュータなどへ送信される。   Further, when an abnormality relating to control relating to gaming or an illegal act occurs, the CPU 106 transmits an error code indicating the content of the abnormality that has occurred to the sub-control circuit 200 via the interface circuit 102 and the connection line 120. The contents of the abnormality that can be detected by the CPU 106 include, for example, an abnormality that the medals stored in the hopper are no longer present, an abnormality that the medals are clogged at the medal payout outlet 60, and the medal selector that is normal is normal. Detected even in conventional slot machines such as abnormalities that did not pass, abnormal reading and writing of data in the RAM 108, abnormalities that were not won in the role lottery, etc. The contents of the abnormality that is being performed are included. Furthermore, the slot machine 10 can also detect abnormalities in random numbers generated by the random number generator 112. When the above-described various types of abnormality are detected, the above-described abnormality occurrence signal is transmitted to the management computer or the like via the external concentrated terminal board 118.

≪副制御回路の説明≫
次に、図4を参照して副制御回路200の構成について説明する。上述した接続線120は、副制御回路200の入出力バス204に接続されているインターフェイス回路202に接続される。主制御回路100から副制御回路200に送信された各種情報は、インターフェイス回路202において所定の信号に変換された後、入出力バス204に供給され、RAM210に一旦格納される。なお、主制御回路100と副制御回路200との間でやり取りされる情報の流れは、常に、主制御回路100から副制御回路200への一方向であり、副制御回路200から主制御回路100へ何らかの情報が送信されることはない。入出力バス204は、CPU206にデータ信号又はアドレス信号が入出力されるようになされている。この入出力バス204には、ROM208、RAM210、ランプ駆動回路218、表示駆動回路220、および、スピーカ駆動回路222も接続されている。
≪Description of sub control circuit≫
Next, the configuration of the sub control circuit 200 will be described with reference to FIG. The connection line 120 described above is connected to the interface circuit 202 connected to the input / output bus 204 of the sub control circuit 200. Various types of information transmitted from the main control circuit 100 to the sub control circuit 200 are converted into predetermined signals by the interface circuit 202, supplied to the input / output bus 204, and temporarily stored in the RAM 210. The flow of information exchanged between the main control circuit 100 and the sub control circuit 200 is always one-way from the main control circuit 100 to the sub control circuit 200, and the sub control circuit 200 to the main control circuit 100. No information is sent to. The input / output bus 204 is configured to input / output data signals or address signals to / from the CPU 206. The input / output bus 204 is also connected with a ROM 208, a RAM 210, a lamp driving circuit 218, a display driving circuit 220, and a speaker driving circuit 222.

ROM208は、ランプ駆動回路218、表示駆動回路220、および、スピーカ駆動回路222を制御する制御プログラムや、制御プログラムを実行するための初期データを記憶している。また、ROM208は、表示装置70に表示するための種々の画像データ、スピーカ64L,64Rから発生するための演奏音データ、上部演出ランプ72を点滅させるパターンデータなども記憶している。また、ROM208は、主制御回路100からエラーコードが送信された場合、そのエラーコードに対応するメッセージを表示装置70に表示するための画像データや、スピーカ64L,64Rから出力するエラー音の音声データも記憶している。さらにROM208は、各種報知や演出を制御するための制御プログラムも記憶している。   The ROM 208 stores a control program for controlling the lamp driving circuit 218, the display driving circuit 220, and the speaker driving circuit 222, and initial data for executing the control program. The ROM 208 also stores various image data to be displayed on the display device 70, performance sound data to be generated from the speakers 64L and 64R, pattern data for blinking the upper effect lamp 72, and the like. Further, when an error code is transmitted from the main control circuit 100, the ROM 208 displays image data for displaying a message corresponding to the error code on the display device 70, and audio data of error sound output from the speakers 64L and 64R. I also remember. Further, the ROM 208 also stores a control program for controlling various notifications and effects.

RAM210には、演出に関する各種制御プログラムを実行する過程で発生/変動する各種データや、各種フラグのオン/オフ状態の他に、主制御回路100から送信されてきた役抽選の結果、遊技の結果、および現在の遊技状態などの各種情報も記憶される。   In the RAM 210, in addition to various data generated / fluctuated in the process of executing various control programs related to effects, on / off states of various flags, a result of a role lottery transmitted from the main control circuit 100, a result of a game And various information such as the current gaming state are also stored.

ランプ駆動回路218は、主制御回路100から送信された各種情報に基づいてCPU206から出力される駆動指令に応じて、上部演出ランプ72を点灯/点滅駆動する。表示駆動回路220は、主制御回路100から送信された各種情報に基づいて決定された演出内容に従って、CPU206がROM208から読み出した画像データや文字データ等を、表示装置70に表示させる。これにより、表示装置70には、画像データに基づく各種演出画像(静止画もしくは動画またはそれらの組合せ)として表示され、もしくは、文字データが文字メッセージとして表示される。また、主制御回路100からエラーコードが送信されてきた場合、表示駆動回路220は、検知された異常の内容に対応する画像またはメッセージを表示装置70に表示させる。スピーカ駆動回路222は、主制御回路100から供給される情報に基づいてCPU206がROM208から読み出した音声データに応じてスピーカ64R,64Lを駆動し、図1に示した透音孔62R,62Lから音声を出力させる。   The lamp drive circuit 218 lights / flashes the upper effect lamp 72 in accordance with a drive command output from the CPU 206 based on various information transmitted from the main control circuit 100. The display drive circuit 220 causes the display device 70 to display image data, character data, and the like read from the ROM 208 by the CPU 206 in accordance with the contents of the effect determined based on various information transmitted from the main control circuit 100. As a result, various display images (still images or moving images or combinations thereof) based on the image data are displayed on the display device 70, or character data is displayed as a character message. When an error code is transmitted from the main control circuit 100, the display driving circuit 220 causes the display device 70 to display an image or message corresponding to the detected abnormality content. The speaker driving circuit 222 drives the speakers 64R and 64L according to the audio data read from the ROM 208 by the CPU 206 based on the information supplied from the main control circuit 100, and the audio is transmitted from the sound transmission holes 62R and 62L shown in FIG. Is output.

[機能ブロック図の説明]
次に、スロットマシン10の制御回路の機能ブロック図を図5に示す。なお、以下の説明において、図1および図3に示した各部と同じ構成については、同一の符号を付し、その詳しい説明を省略する。まず、制御回路として主制御回路100と副制御回路200とがあり、両者は電気的に接続されている。主制御回路100には、操作手段300と、モータ駆動回路114とが電気的に接続されている。副制御回路200には、スピーカ64L,64R、表示装置70、および上部演出ランプ72を備える演出手段600が電気的に接続されている。
[Explanation of functional block diagram]
Next, a functional block diagram of the control circuit of the slot machine 10 is shown in FIG. In the following description, the same components as those shown in FIGS. 1 and 3 are denoted by the same reference numerals, and detailed description thereof is omitted. First, there are a main control circuit 100 and a sub-control circuit 200 as control circuits, and both are electrically connected. The main control circuit 100 is electrically connected to the operation means 300 and the motor drive circuit 114. The sub-control circuit 200 is electrically connected to the effect means 600 including the speakers 64L and 64R, the display device 70, and the upper effect lamp 72.

操作手段300は、スタートスイッチ36からなる回転指示手段310と、3つのストップスイッチ37L、37C及び37Rからなる停止指示手段320とを有している。この操作手段300は、スイッチに限らず、遊技者の四肢を用いた操作に基づいて操作信号を発生させるものであれば、あらゆる手段が適用できる。また、演出手段600は、音や光など遊技者の聴覚的、視覚的に報知を行うものに限らず、たとえば、スロットマシン10の内部にバイブレータなどの振動発生装置を設けて特定の部位を振動させ、遊技者の触覚によって認知される報知を行うようにしても良い。   The operation unit 300 includes a rotation instruction unit 310 including a start switch 36 and a stop instruction unit 320 including three stop switches 37L, 37C, and 37R. The operation means 300 is not limited to a switch, and any means can be applied as long as it generates an operation signal based on an operation using the limbs of the player. In addition, the production means 600 is not limited to a sound or light notification of the player, but for example, a vibration generator such as a vibrator is provided inside the slot machine 10 to vibrate a specific part. It is possible to make a notification recognized by the player's tactile sense.

≪主制御回路の説明≫
主制御回路100は、乱数発生装置112と、乱数異常検出手段420と、役抽選手段430と、リール制御手段440と、入賞判定手段450と、入賞処理手段460と、を含む。
≪Description of main control circuit≫
The main control circuit 100 includes a random number generator 112, a random number abnormality detecting means 420, a winning lottery means 430, a reel control means 440, a winning determination means 450, and a winning processing means 460.

<乱数発生装置の説明>
乱数発生装置112は、乱数クロック発生手段410と、乱数テーブル記憶手段412と、乱数テーブル指定手段414と、乱数更新手段416と、乱数記憶手段418とを含んでいる。乱数クロック発生手段410は、デューティ比50%のパルス信号(乱数発生用クロックパルス)を予め定められた周期で繰り返し発生させ、クロック信号として出力する。ここで、スロットマシン10においては、クロック信号の周期を139.68ナノ秒(クロック周波数:7.15909MHz)とする。乱数テーブル記憶手段412は、予め定められた数値範囲内における各数値を、重複することなく順序づけた乱数発生用テーブルを複数記憶している。各乱数発生用テーブルは、上述した数値範囲内における各数値の順序づけが異なっており、各々の乱数発生用テーブルには、各乱数発生用テーブルを個別に指定し得るテーブル指定情報が付与されている。
<Description of random number generator>
The random number generation device 112 includes a random number clock generation unit 410, a random number table storage unit 412, a random number table designation unit 414, a random number update unit 416, and a random number storage unit 418. The random number clock generation means 410 repeatedly generates a pulse signal with a duty ratio of 50% (random number generation clock pulse) at a predetermined cycle and outputs it as a clock signal. Here, in the slot machine 10, the period of the clock signal is set to 139.68 nanoseconds (clock frequency: 7.15909 MHz). The random number table storage unit 412 stores a plurality of random number generation tables in which numerical values within a predetermined numerical range are ordered without overlapping. Each random number generation table has a different ordering of numerical values within the numerical range described above, and each random number generation table is assigned table designation information that can individually specify each random number generation table. .

ここで、図6(a)を参照して、乱数テーブル記憶手段412に記憶されている複数の乱数発生用テーブルの内容ついて説明する。図6(a)には24個の乱数発生用テーブルの内容が示されており、各乱数発生用テーブルには、An(nは1〜4の自然数)およびBm(mは1〜6の自然数)からなる固有のテーブル指定情報が付与されており、このテーブル指定情報によって各乱数発生用テーブルを個別に指定することが可能になっている。以下では、1つの乱数発生用テーブルを指定するためのテーブル指定情報を(An,Bm)と表記する。図6(a)に示す各乱数発生用テーブルは、いずれも2ビットの乱数を生成するためのものである。よって、上述した「予め定められた数値範囲」は10進数で「0」〜「3」となり、「数値範囲内の各数値」は、10進数で「0」、「1」、「2」、「3」の4つとなる。   Here, the contents of a plurality of random number generation tables stored in the random number table storage unit 412 will be described with reference to FIG. FIG. 6A shows the contents of 24 random number generation tables. Each random number generation table includes An (n is a natural number of 1 to 4) and Bm (m is a natural number of 1 to 6). The unique table designating information is provided, and each table for random number generation can be individually designated by this table designating information. Hereinafter, table designation information for designating one random number generation table is represented as (An, Bm). Each random number generation table shown in FIG. 6A is for generating a 2-bit random number. Therefore, the above-mentioned “predetermined numerical value range” is a decimal number from “0” to “3”, and “each numerical value in the numerical value range” is a decimal number “0”, “1”, “2”, There are four "3".

また、図6(a)に示す乱数発生用テーブルでは、乱数として生成する「0」〜「3」の各数値に対する順序づけを、当該各数値の記載順序によって示している。具体的には、各乱数発生用テーブルにおいて最も左側に図示した数値が1番目となり、以下、右側に図示された数値ほど後の順序が対応付けられ、最も右側に図示した数値が1つの乱数発生用テーブルにおける最後の数値(4番目)であることを示している。例えば、この図において、(A3,B5)というテーブル指定情報によって指定される乱数発生用テーブルの場合、1番目の数値が「2」、2番目の数値が「3」、3番目の数値が「0」、4番目の数値が「1」という順序づけがなされている。この順序は、乱数発生装置112によって乱数として生成される数値の更新順序を示しており、例えば、上述した(A3,B5)という乱数発生用テーブルに基づいて乱数を生成する場合は、「2」→「3」→「0」→「1」という順序で乱数の値(以下、乱数値という)が更新されていくことになる。この更新は、後述する乱数更新手段416によって行われる。また、乱数値が、1つの乱数発生用テーブルに定められている1番目の数値から4番目の数値まで一通り更新される期間が、1つの乱数周期Fに対応している。   In addition, in the random number generation table shown in FIG. 6A, the ordering of the numerical values “0” to “3” generated as random numbers is shown by the order of description of the numerical values. Specifically, in each random number generation table, the numerical value shown on the left side is the first, and the numerical values shown on the right side are associated with the later order, and the numerical value shown on the right side is one random number generator. This is the last numerical value (fourth) in the work table. For example, in the figure, in the case of a random number generation table designated by the table designation information (A3, B5), the first numeric value is “2”, the second numeric value is “3”, and the third numeric value is “3”. The order of “0” and the fourth numerical value is “1”. This order indicates the update order of numerical values generated as random numbers by the random number generation device 112. For example, when generating random numbers based on the above-described random number generation table (A3, B5), “2”. The random number values (hereinafter referred to as random number values) are updated in the order of “3” → “0” → “1”. This update is performed by random number update means 416 described later. Further, a period in which the random number values are updated from the first numerical value to the fourth numerical value defined in one random number generation table corresponds to one random number period F.

なお、図6(a)に示す乱数発生用テーブルは、2ビットの乱数を発生させる場合の例を示しているが、同様の方法によって、4ビット、8ビット、16ビットなど他の桁数の乱数発生用テーブルを作成し、よりビット数の多い乱数を発生させるようにすることも可能である。また、図6(a)に示した複数の乱数発生用テーブルは、「0」〜「3」の4つの数値が重複することなく取り得る全ての順序(4!=24通り)を網羅するために、24個の乱数発生用テーブルからなっているが、必ずしも全ての順序を示す乱数発生用テーブルを用意する必要は無く、一部の順序を示す複数の乱数発生用テーブルを用いるようにしてもよい。   The random number generation table shown in FIG. 6A shows an example of generating a 2-bit random number. However, other numbers of digits such as 4-bit, 8-bit, and 16-bit can be generated by the same method. It is also possible to generate a random number generation table and generate a random number having a larger number of bits. Further, the plurality of random number generation tables shown in FIG. 6A cover all possible orders (4! = 24) in which four numerical values “0” to “3” can be taken without duplication. Furthermore, although it is composed of 24 random number generation tables, it is not always necessary to prepare a random number generation table showing all the orders, and a plurality of random number generation tables showing some orders may be used. Good.

乱数テーブル指定手段414は、乱数テーブル記憶手段412に記憶されている複数の乱数発生用テーブルのうち、乱数を生成するのに参照する乱数発生用テーブルを指定する。そして、後述する乱数更新手段416によって、1つの乱数発生用テーブルに基づいて乱数値が一通り更新されると、次に参照すべき乱数発生用テーブルを指定する。このように、1つの乱数発生用テーブルに基づいて乱数値が更新されるごとに、次に参照すべき乱数発生用テーブルを指定することで、所定ビットの乱数値を順次更新していく。乱数テーブル指定手段414によって指定される乱数発生用テーブルの順序は、図6(b)に示す指定順序テーブルに定められている。   The random number table designation unit 414 designates a random number generation table to be referred to for generating a random number from among a plurality of random number generation tables stored in the random number table storage unit 412. Then, when the random number updating means 416 described later updates the random number values based on one random number generation table, the random number generation table to be referred to next is designated. In this way, each time a random number value is updated based on one random number generation table, a random number generation table to be referred to next is designated, thereby sequentially updating random number values of predetermined bits. The order of the random number generation table specified by the random number table specifying means 414 is determined in the specified order table shown in FIG.

図6(b)に示す指定順序テーブルは、N個(Nは整数)の指定順序情報からなり、各指定順序情報には、「1」〜「N」の個別の識別番号(以下、指定順序番号という)が付与されている。また、各指定順序情報は、図6(a)に示した各乱数発生用テーブルを指定する24個のテーブル指定情報を、予め定めた順序で並べたものからなっている。ここで24個のテーブル指定情報の内容は、1つの指定順序情報の中で、同じ乱数発生用テーブルを複数回指定することがないように定められている。   The designation order table shown in FIG. 6B includes N (N is an integer) designation order information, and each designation order information includes individual identification numbers “1” to “N” (hereinafter, designation order). Number). Each designation order information includes 24 table designation information that designates each random number generation table shown in FIG. 6A and is arranged in a predetermined order. Here, the contents of the 24 table designation information are determined so that the same random number generation table is not designated multiple times in one designation order information.

例えば指定順序番号1の指定順序情報に従って参照すべき乱数発生用テーブルを指定していく場合、まず、1番目のテーブル指定情報(A1,B1)の乱数発生用テーブルに基づいて、「0」→「1」→「2」→「3」という順序で乱数値が更新されると、引き続き2番目のテーブル指定情報(A2,B1)の乱数発生用テーブルに基づいて、「1」→「0」→「2」→「3」という順序で乱数値が更新されることになる。このようにして、1つの指定順序情報における24番目のテーブル指定情報によって指定される乱数発生用テーブルに基づいて乱数値が更新されると、別の指定順序情報に基づいて、参照すべき乱数発生用テーブルが順次指定されていく。ここで、次の指定順序情報をどのように定めるかについては、例えば、予め決められていた順序(例えば、指定順序番号1→2→3→…など)に従って定めてもよいし、逐次、抽選を行って定めるようにしてもよい。   For example, when the random number generation table to be referred to is specified according to the specified sequence information of the specified sequence number 1, first, “0” → When the random number values are updated in the order of “1” → “2” → “3”, “1” → “0” continues based on the random number generation table of the second table designation information (A2, B1). The random value is updated in the order of “2” → “3”. In this way, when the random number value is updated based on the random number generation table specified by the 24th table specification information in one specification order information, the random number generation to be referred to is based on another specification order information. Tables are specified sequentially. Here, how to determine the next designated order information may be determined according to a predetermined order (for example, designated order number 1 → 2 → 3 →...), Or sequentially lottery. You may make it determine by doing.

なお、上述した例では、次に参照すべき乱数発生用テーブルの指定を、図6(b)に示す指定順序テーブルに基づいて行っていたが、これによらず、1つの乱数発生用テーブルに基づいて、一通りの乱数値の更新を行うごとに抽選を行って、次に参照すべき乱数発生用テーブルを決定してもよい。例えば、図6(a)に示した(A2,B3)の乱数発生用テーブルに基づいて、「1」→「2」→「0」→「3」という順序で乱数値を更新したときに、次のクロック信号の立ち上がりタイミングになる前に、次に参照すべき乱数発生用テーブルのテーブル指定情報AnおよびBmを、乱数に基づく抽選によって各々決定する。この抽選の結果、例えば「A4」および「B1」というテーブル指定情報が決定された場合は、(A4,B1)の乱数発生用テーブルに基づいて、「3」→「0」→「1」→「2」という順序で乱数値を更新する。また、図6(a),(b)に示した各テーブルは、説明の便宜上、2ビットの乱数を発生させる場合のものを示しているが、実際の乱数テーブル記憶手段412および乱数テーブル指定手段414は、乱数発生装置112が16ビットの乱数を生成することができるように、図6(a),(b)に示した各テーブルを適宜拡張したものを備えているものとする。   In the above-described example, the random number generation table to be referred to next is specified based on the specification order table shown in FIG. 6B. Based on this, it is possible to determine a random number generation table to be referred to next by performing lottery every time a random number value is updated. For example, when the random number values are updated in the order of “1” → “2” → “0” → “3” based on the random number generation table of (A2, B3) shown in FIG. Before the rising timing of the next clock signal, the table designation information An and Bm of the random number generation table to be referred to next is determined by lottery based on random numbers. As a result of the lottery, for example, when table designation information “A4” and “B1” is determined, “3” → “0” → “1” → based on the random number generation table (A4, B1) → The random number values are updated in the order of “2”. Further, each table shown in FIGS. 6A and 6B shows a case where a 2-bit random number is generated for convenience of explanation, but an actual random number table storage unit 412 and a random number table designation unit are shown. It is assumed that 414 includes a table obtained by appropriately extending the tables shown in FIGS. 6A and 6B so that the random number generator 112 can generate a 16-bit random number.

乱数更新手段416は、乱数テーブル記憶手段412に記憶されている複数の乱数発生用テーブルのうち、乱数テーブル指定手段414によって指定された乱数発生用テーブルに基づいて、後述する乱数記憶手段418に記憶されている所定ビットの乱数値を順次更新する。この更新は、乱数クロック発生手段410によって発生されるクロック信号の立ち上がりのタイミングで行われる。これにより、図6(a)に示した各乱数発生用テーブルに基づいて乱数値の更新を行う場合は、1つの乱数周期Fがクロック信号の4周期分の時間(558.7ナノ秒)となるが、この乱数発生用テーブルを16ビットの乱数生成用に拡張した場合は、1つの乱数周期Fが216=65536周期分の時間(9.154ミリ秒)となる。また、乱数更新手段416は、1つの乱数発生用テーブルにおける最後の乱数値の更新を行うと、次のクロック信号の立ち上がりタイミングで、乱数テーブル指定手段414によって指定された次に参照すべき乱数発生用テーブルにおける最初の乱数値に更新する。 The random number updating unit 416 stores the random number generation unit 418 described later based on the random number generation table designated by the random number table designation unit 414 among the plurality of random number generation tables stored in the random number table storage unit 412. The random number values of the predetermined bits are updated sequentially. This update is performed at the rising timing of the clock signal generated by the random number clock generation means 410. Thereby, when updating the random number value based on each random number generation table shown in FIG. 6A, one random number period F is a time corresponding to four periods of the clock signal (558.7 nanoseconds). However, when this random number generation table is expanded to generate 16-bit random numbers, one random number period F is a time corresponding to 2 16 = 65536 periods (9.154 milliseconds). Further, when the random number updating unit 416 updates the last random number value in one random number generation table, the random number generation to be referred to next specified by the random number table specifying unit 414 at the rising timing of the next clock signal. Update to the first random value in the table.

乱数記憶手段418は、乱数発生装置112によって生成される所定ビット数の乱数の値を記憶する。また、上述したように、乱数記憶手段418されている乱数値は、乱数クロック発生手段410が発生するクロック信号の立ち上がりのタイミングで、乱数更新手段416によって更新される。   The random number storage unit 418 stores a random number value of a predetermined number of bits generated by the random number generator 112. Further, as described above, the random number value stored in the random number storage unit 418 is updated by the random number update unit 416 at the rising timing of the clock signal generated by the random number clock generation unit 410.

<乱数異常検出手段の説明>
乱数異常検出手段420は、異常検出用乱数取得手段422と、異常検出用乱数記憶手段424と、乱数異常判定手段426とを含んでいる。
異常検出用乱数取得手段422は、所定の周期で乱数発生装置112が生成した乱数を異常検出用乱数として取得する。すなわち、所定の周期で到来する取得タイミングで乱数記憶手段418に記憶されている乱数値を読み取る。乱数記憶手段418から乱数値を読み取る周期は、乱数クロック発生手段410が発生するクロック信号の周期よりも長く設定されており、かつ、連続する2つの乱数周期Fの期間内に少なくとも3回、乱数記憶手段418から乱数値を読み取ることができる周期に設定されている。
<Description of random number abnormality detection means>
The random number abnormality detection means 420 includes abnormality detection random number acquisition means 422, abnormality detection random number storage means 424, and random number abnormality determination means 426.
The abnormality detection random number acquisition means 422 acquires the random number generated by the random number generation device 112 at a predetermined cycle as the abnormality detection random number. That is, the random number value stored in the random number storage unit 418 is read at an acquisition timing that arrives at a predetermined period. The cycle for reading the random number value from the random number storage unit 418 is set longer than the cycle of the clock signal generated by the random number clock generation unit 410, and the random number is at least three times within the period of two consecutive random number cycles F. The cycle is set such that the random number value can be read from the storage unit 418.

また、異常検出用乱数取得手段422による異常検出用乱数の取得は、前述した乱数更新手段416によって乱数値の更新が行われていない間に行われることが望ましい。例えば、乱数更新手段416による更新が、クロック信号の立ち上がりタイミングで行われている場合は、異常検出用乱数取得手段422による乱数値の取得タイミングを、クロック信号の立ち下がりタイミング、または、クロック信号のHigh/Lowを反転させたクロック信号(以下、反転クロック信号という)の立ち上がりタイミングで行うようにするとよい。   Further, it is preferable that the abnormality detection random number acquisition unit 422 acquires the abnormality detection random number while the random number update unit 416 does not update the random number value. For example, when the update by the random number updating unit 416 is performed at the rising timing of the clock signal, the acquisition timing of the random value by the abnormality detecting random number acquiring unit 422 is set to the falling timing of the clock signal or the clock signal It may be performed at the rising timing of a clock signal in which High / Low is inverted (hereinafter referred to as an inverted clock signal).

異常検出用乱数記憶手段424は、異常検出用乱数取得手段422によって過去に取得された異常検出用乱数を記憶する。具体的には、前回の取得タイミングで異常検出用乱数取得手段422が乱数記憶手段418から読み取った異常検出用乱数の乱数値を記憶する。なお、異常検出用乱数記憶手段424に記憶される前回取得された異常検出用乱数値は、後述する乱数異常判定手段426において乱数の異常判定が行われると、乱数異常検出手段420は、異常検出用乱数取得手段422によって今回取得された異常検出用乱数の値を、前回取得された異常検出用乱数の値として、異常検出用乱数記憶手段424に記憶させる。   The abnormality detection random number storage unit 424 stores the abnormality detection random number acquired in the past by the abnormality detection random number acquisition unit 422. Specifically, the abnormality detection random number acquisition unit 422 stores the random number value of the abnormality detection random number read from the random number storage unit 418 at the previous acquisition timing. It should be noted that the abnormality detection random number stored in the abnormality detection random number storage unit 424 is previously detected by the random number abnormality determination unit 426. When the random number abnormality determination unit 426 described later performs random number abnormality determination, the random number abnormality detection unit 420 detects the abnormality. The abnormality detection random number storage unit 424 stores the value of the abnormality detection random number acquired this time by the random number acquisition unit 422 as the value of the abnormality detection random number acquired last time.

乱数異常判定手段426は、異常検出用乱数取得手段422によって、3回連続して取得された異常検出用乱数値がいずれも同じ値になっていたときに、乱数に異常が生じたと判定する。具体的には、異常検出用乱数取得手段422によって今回取得された異常検出用乱数R(0)の値と、異常検出用乱数記憶手段424に記憶されている前回の取得タイミングで取得された異常検出用乱数R(−1)の値が一致した場合、異常検出用乱数記憶手段424に記憶される今回取得された異常検出用乱数R(0)の値と、次に取得される異常検出用乱数R(+1)の値とをさらに比較して、両者が一致したときに、乱数発生装置112が生成する乱数に異常が生じたと判定する。   The random number abnormality determination unit 426 determines that an abnormality has occurred in the random number when the abnormality detection random number acquisition unit 422 has obtained the same abnormality detection random number value three times in succession. Specifically, the value of the abnormality detection random number R (0) acquired this time by the abnormality detection random number acquisition unit 422 and the abnormality acquired at the previous acquisition timing stored in the abnormality detection random number storage unit 424. If the value of the detection random number R (−1) matches, the value of the abnormality detection random number R (0) acquired this time stored in the abnormality detection random number storage means 424 and the next abnormality detection detection Further comparison is made with the value of the random number R (+1), and when both match, it is determined that an abnormality has occurred in the random number generated by the random number generator 112.

また、乱数異常判定手段426は、乱数に異常が生じたと判定すると、外部集中端子基板118を介して、外部の管理用コンピュータに、乱数に異常が生じたことを示す異常発生信号(以下、乱数異常信号という)を出力する。また、乱数異常判定手段426は、乱数に異常が生じたことを示すエラーコードを後述する副制御回路200へ送信するとともに、図1に示した獲得枚数表示器28に表示する。なお、この乱数異常判定手段426は、「第一の乱数判定手段」に相当する。   In addition, when the random number abnormality determination unit 426 determines that an abnormality has occurred in the random number, an abnormality occurrence signal (hereinafter, random number) indicating that the abnormality has occurred in the external management computer via the external concentrated terminal board 118. Output an abnormal signal). Further, the random number abnormality determination means 426 transmits an error code indicating that an abnormality has occurred in the random number to the sub-control circuit 200 described later, and displays it on the acquired number display 28 shown in FIG. The random number abnormality determination unit 426 corresponds to a “first random number determination unit”.

<単位遊技実行手段の説明>
単位遊技実行手段430は、スロットマシン10で行われる単位遊技を実行するための手段である。ここで、単位遊技とは、遊技者がスタートスイッチ36を操作したことによってリール40L,40C,40Rが回転を開始してから、ストップスイッチ37L,37C,37Rが順次操作されて全てのリールが停止し、何らかの役が成立したか否かが確定するまでの遊技をいう。単位遊技実行手段430は、役抽選手段432、リール制御手段434、入賞判定手段436および入賞処理手段438を備えている。以下に各手段について説明する。
<Description of unit game execution means>
The unit game execution means 430 is means for executing a unit game performed in the slot machine 10. Here, the unit game means that the reels 40L, 40C, and 40R start rotating by the player operating the start switch 36, and then the stop switches 37L, 37C, and 37R are sequentially operated to stop all the reels. And a game until it is determined whether or not any combination is established. The unit game execution means 430 includes a role lottery means 432, a reel control means 434, a winning determination means 436, and a winning processing means 438. Each means will be described below.

<役抽選手段の説明>
役抽選手段430は、役抽選を行うことによって、予め定められた役のうち、いずれか1つまたは複数の役に当選したか否かを定めるものである。上述した予め定められた役には、大別すると、小役、再遊技(リプレイともいう)役、ボーナス役(特別役)の3種類がある。小役は、成立すると予め定められた枚数のメダルが遊技者に払い出されることとなる役であり、対応する図柄組合せに応じて複数種類の小役が定められている。再遊技役は、成立すると次の単位遊技に限ってメダルを投入することなく遊技することができる役である。この再び行うことができる単位遊技を再遊技(リプレイ)といい、この再遊技は、再遊技役が成立した単位遊技と同じ枚数のメダルを投入した状態で行われる。
<Description of role lottery means>
The role lottery means 430 determines whether or not one or more of the predetermined roles are won by performing the role lottery. The predetermined roles described above are roughly classified into three types: small roles, replay (also called replay) roles, and bonus roles (special roles). A small combination is a combination in which a predetermined number of medals are paid out to the player when established, and a plurality of types of small combinations are determined according to corresponding symbol combinations. A re-game is a role that can be played without inserting medals only for the next unit game when established. This unit game that can be played again is called replay (replay), and this replay is performed in the state in which the same number of medals as the unit game in which the regame combination is established is inserted.

ボーナス役は、成立すると、次の単位遊技から所定の終了条件が満たされるまで、各遊技においてメダルを獲得できる可能性が高くなる特別遊技が開始されることとなる役である。スロットマシン10における特別役には、ビッグボーナス役(以下、BB役という)と、ミドルボーナス役(以下、MB役という)とがある。BB役が成立すると、次の単位遊技から特別遊技としてビッグボーナスゲーム(以下、BB遊技という)が開始される。BB遊技は、メダルの払い出し枚数が予め定められた枚数(ここでは344枚とする)を超えると終了条件が成立し、BB遊技へ移行する前の遊技状態(通常遊技)へ戻る。また、BB遊技中は、通常遊技中よりも小役の当選確率が著しく上昇し、遊技者にメダルが払い出される(特典が付与される)可能性が非常に高くなるため、遊技者にとって有利な遊技状態であるといえる。   When the bonus combination is established, a special game that is highly likely to be able to acquire medals in each game is started from the next unit game until a predetermined end condition is satisfied. The special combination in the slot machine 10 includes a big bonus combination (hereinafter referred to as BB combination) and a middle bonus combination (hereinafter referred to as MB combination). When the BB combination is established, a big bonus game (hereinafter referred to as BB game) is started as a special game from the next unit game. In the BB game, when the number of medals paid out exceeds a predetermined number (here, 344), the end condition is satisfied, and the game state (normal game) before the transition to the BB game is resumed. Also, during BB games, the chance of winning a small role is significantly higher than during normal games, and the possibility that medals will be paid out (given benefits) to the player becomes very high, which is advantageous to the player. It can be said that it is a gaming state.

また、MB役が成立すると、次の単位遊技から特別遊技としてミドルボーナスゲーム(以下、MB遊技という)が開始される。MB遊技は、メダルの払い出し枚数が予め定められた枚数(ここでは105枚とする)を超えると終了条件が成立し、MB遊技へ移行する前の遊技状態(通常遊技)へ戻る。また、MB遊技中は、各単位遊技において、役抽選によらずに小役が当選した状態にされるため、小役が成立する可能性が高くなり、BB遊技と同様に、遊技者にとって有利な遊技状態であるといえる。   When an MB combination is established, a middle bonus game (hereinafter referred to as an MB game) is started as a special game from the next unit game. In the MB game, when the number of medals paid out exceeds a predetermined number (105 in this case), the end condition is satisfied, and the game state (normal game) before the transition to the MB game is resumed. In addition, during the MB game, the small role is won in each unit game without depending on the lottery, so that the possibility that the small role is established becomes high, and it is advantageous to the player like the BB game. It can be said that it is a game state.

なお、上述した各種の役には、各々、左リール40L,中リール40C,右リール40Rに描かれた図柄で構成される図柄組合せが対応付けられている。ここで、図7を参照してスロットマシン10において成立し得る役の種類と、その図柄組合せについて説明する。図7は、各役の名称とその図柄組合せおよび役が成立したときに遊技者へ払い出されるメダルの枚数を対応付けた配当情報の内容を示している。この配当情報は、図3に示した主制御回路100のROM108に記憶されている。   The various combinations described above are associated with symbol combinations composed of symbols drawn on the left reel 40L, the middle reel 40C, and the right reel 40R, respectively. Here, with reference to FIG. 7, the types of combinations that can be established in the slot machine 10 and their symbol combinations will be described. FIG. 7 shows the contents of the payout information in which the name of each winning combination, its symbol combination, and the number of medals to be paid out to the player when the winning combination is established. This payout information is stored in the ROM 108 of the main control circuit 100 shown in FIG.

図7に示すように、スロットマシン10で成立し得る各役には、それぞれ左リール40L,中リール40C,右リール40Rに描かれた図柄からなる図柄組合せが対応付けられている。この図柄組合せは、有効ラインL1〜L5のいずれかに沿って停止表示された図柄組合せを意味しており、後述する入賞判定手段436が入賞判定を行う際に参照される。また、これらの図柄組合せが有効ラインに沿って停止表示されると、対応する役が成立したことになり、各々の役に対応した特典が遊技者に付与される。   As shown in FIG. 7, each combination that can be realized in the slot machine 10 is associated with a symbol combination including symbols drawn on the left reel 40L, the middle reel 40C, and the right reel 40R. This symbol combination means a symbol combination that is stopped and displayed along any one of the effective lines L1 to L5, and is referred to when a winning determination means 436 described later makes a winning determination. Moreover, when these symbol combinations are stopped and displayed along the active line, the corresponding combination is established, and a privilege corresponding to each combination is given to the player.

なお、図7には、3種類のBB役(BB役a〜BB役c)が示されているが、これらの役は、対応する図柄組合せが異なっているだけであり、遊技者に付与される特典の内容に違いはない(小役、再遊技役およびMB役についても同様)。また、小役が成立した場合は、特典として図7に示す枚数のメダルが遊技者へ払い出されるが、小役1および2については、成立したときに払い出されるメダルの枚数が、単位遊技を行う際に投入したメダルの枚数によって変化する。すなわち、3枚のメダルを投入したときよりも、2枚のメダルを投入したときの方がメダルの払出枚数が多くなっている。ここで、スロットマシン10においては、2枚の投入メダルで単位遊技を行うことができるのは特別遊技中に限られており、通常遊技中は、3枚のメダルを投入しなければ単位遊技を行えないようになっている(逆に、特別遊技中は3枚の投入メダルで単位遊技を行えないようになっている)。また、以下では、メダルの払い出しを伴う役(すなわち小役)が成立することを、特に「入賞」という。   FIG. 7 shows three types of BB combination (BB combination a to BB combination c), but these combinations are different only in the corresponding symbol combinations and are given to the player. There is no difference in the contents of the benefits (the same applies to the small role, replay role, and MB role). Further, when a small combination is established, the number of medals shown in FIG. 7 is paid out to the player as a privilege. However, for the small combinations 1 and 2, the number of medals to be paid out when established is a unit game. It changes depending on the number of medals inserted. That is, the number of medals to be paid out is larger when two medals are inserted than when three medals are inserted. Here, in the slot machine 10, the unit game can be performed with two inserted medals only during the special game. During the normal game, the unit game cannot be played unless three medals are inserted. (On the contrary, during special games, unit games cannot be performed with three inserted medals). In the following, the establishment of a combination (that is, a small combination) that involves paying out medals is particularly referred to as “winning”.

なお、図7において、小役2aの図柄組合せは「チェリー−ANY−ANY」と表記されているが、この中リール40C,右リール40Rに対する「ANY」は、任意の図柄であることを示している。よって、小役2aは、左リール40Lにおいて、「チェリー」図柄が表示窓22内の上段L,中段M,下段Lのいずれかに停止するだけで入賞することになる。また、スロットマシン10における遊技状態は、上述したBB遊技が行われている間は「BB遊技」となり、MB遊技が行われている間は「MB遊技」となり、BB遊技またはMB遊技のいずれも行われていないときは「通常遊技」となる。   In FIG. 7, the symbol combination of the small role 2a is described as “Cherry-ANY-ANY”, but “ANY” for the middle reel 40C and the right reel 40R is an arbitrary symbol. Yes. Therefore, the small role 2a wins in the left reel 40L simply by stopping the “cherry” symbol at any one of the upper L, middle M, and lower L in the display window 22. The gaming state in the slot machine 10 is “BB game” while the above-described BB game is being performed, and “MB game” while the MB game is being performed. When it is not being played, it becomes a “normal game”.

役抽選手段430は、乱数発生器112が生成した乱数を抽選用乱数として取得する抽選用乱数取得手段4322と、取得された抽選用乱数の値が、正常に更新されたものであるか否かを判定する抽選用乱数判定手段4324(第二の乱数判定手段に相当)と、役抽選の結果を記憶する役抽選結果記憶手段4326と、MB遊技中において、全ての小役を強制的に当選状態とする強制当選手段4328とを備えている。   The role lottery means 430 includes a lottery random number acquisition means 4322 for acquiring the random number generated by the random number generator 112 as a lottery random number, and whether or not the value of the acquired lottery random number is normally updated. Lottery random number determination means 4324 (corresponding to the second random number determination means) for determining the game, a role lottery result storage means 4326 for storing the result of the role lottery, and all small roles are forcibly won in the MB game. And a compulsory winning means 4328 for setting a state.

(抽選用乱数取得手段の説明)
抽選用乱数取得手段4322は、回転指示手段310からスタートスイッチ36が操作されたことを示す信号(以下、遊技開始信号という)が出力されると、乱数発生装置112が生成した乱数を、抽選用乱数として取得する。すなわち、回転指示手段310から遊技開始信号が出力されたときに、乱数記憶手段418に記憶されている乱数値を読み取る。ここで、抽選用乱数取得手段4322による抽選用乱数の取得は、前述した乱数更新手段416によって乱数値の更新が行われていない間に行われることが望ましい。例えば、乱数更新手段416による更新が、クロック信号の立ち上がりタイミングで行われている場合は、クロック信号の立ち下がりタイミング、または、反転クロック信号の立ち上がりタイミングで同期を取った遊技開始信号に基づいて乱数発生装置112が生成した乱数を取得するとよい。
(Description of random number acquisition means for lottery)
When the random number acquisition means 4322 for lottery outputs a signal (hereinafter referred to as a game start signal) indicating that the start switch 36 has been operated from the rotation instruction means 310, the random number generated by the random number generator 112 is used for lottery. Get as a random number. That is, when a game start signal is output from the rotation instruction unit 310, the random number value stored in the random number storage unit 418 is read. Here, it is desirable that the lottery random number acquisition unit 4322 obtains the lottery random number while the random number update unit 416 does not update the random number value. For example, when the update by the random number updating means 416 is performed at the rising timing of the clock signal, the random number is based on the game start signal synchronized with the falling timing of the clock signal or the rising timing of the inverted clock signal. A random number generated by the generator 112 may be acquired.

役抽選手段432は、抽選用乱数取得手段4322によって取得された抽選用乱数と、ROM108に記憶されている役抽選テーブルと、に基づいて役の当否および当選した役(当選役)の種類を決定する。ここで、図8を参照して役抽選テーブルの内容について説明する。この図において、(a)は通常遊技中に使用される役抽選テーブル、(b)はBB遊技中に使用される役抽選テーブルの内容を各々示している。これらの役抽選テーブルは、図3に示したROM108に記憶され、現在の遊技状態に応じた役抽選テーブルに基づいて役抽選が行われる。なお、MB遊技中は、上述した強制当選手段4326によって、各単位遊技において全ての小役が当選役にされるため、MB遊技中に使用される役抽選テーブルは存在しない。   The role lottery unit 432 determines whether or not the winning combination is won and the type of the winning combination (winning role) based on the lottery random number acquired by the lottery random number acquiring unit 4322 and the role lottery table stored in the ROM 108. To do. Here, the contents of the winning lottery table will be described with reference to FIG. In this figure, (a) shows the part lottery table used during the normal game, and (b) shows the contents of the part lottery table used during the BB game. These part lottery tables are stored in the ROM 108 shown in FIG. 3, and the part lottery is performed based on the part lottery table corresponding to the current gaming state. During the MB game, all the small roles are won in each unit game by the above-mentioned forced winning means 4326, so there is no combination lottery table used during the MB game.

役抽選テーブルは、乱数発生器112が発生し得る乱数値(0〜65535)と、抽選結果とを対応付けたものであり、役抽選手段432は、抽選用乱数取得手段4322によって抽出された乱数値が、役抽選テーブルのどの数値範囲に属するかによって、1つの抽選結果(抽選結果番号)が導出される。そして、導出された抽選結果番号に対応する役が、役抽選で当選した役(当選役)となる。ただし、導出された抽選結果番号がハズレに対応付けられていた場合は、いずれの役にも当選しなかったことになる。なお、各抽選結果番号に対応する数値範囲(置数)を65536で割った値が、各抽選結果番号が導出される確率(各役の当選確率と同義)となる。   The role lottery table associates random values (0 to 65535) that can be generated by the random number generator 112 with the lottery result. The role lottery unit 432 is a random number extracted by the random number acquisition unit 4322 for lottery. One lottery result (lottery result number) is derived depending on which numerical range of the combination lottery table the numerical value belongs to. The combination corresponding to the derived lottery result number is the combination won in the combination lottery (winning combination). However, if the derived lottery result number is associated with a loss, it means that no winning combination has been won. A value obtained by dividing a numerical range (numerical value) corresponding to each lottery result number by 65536 is a probability that each lottery result number is derived (synonymous with the winning probability of each combination).

例えば、図8(a)に示す役抽選テーブルの場合、抽出された乱数値が「0」〜「45114」の範囲内に含まれる値だった場合は、抽選結果番号「14」が導出され、役抽選の結果はハズレとなる。また、抽出された乱数値が「54726」〜「55569」の範囲内に含まれる値だった場合は、抽選結果番号「8」が導出され、役抽選の結果は小役2aの当選となる。また、図8(b)に示す役抽選テーブルにおいて、抽出された乱数値が「1768」〜「7707」の範囲内に含まれる値だった場合は、抽選結果番号「3」が導出され、小役2aおよび小役4の双方が当選したことになる。   For example, in the role lottery table shown in FIG. 8A, if the extracted random number value is a value included in the range of “0” to “45114”, the lottery result number “14” is derived, The result of the role lottery will be lost. When the extracted random number value is a value included in the range of “54726” to “55569”, the lottery result number “8” is derived, and the result of the winning combination lottery is the winning of the small role 2a. Further, in the combination lottery table shown in FIG. 8B, when the extracted random value is a value included in the range of “1768” to “7707”, the lottery result number “3” is derived, Both the role 2a and the small role 4 are won.

図8(a)に示すように、通常遊技中に使用される役抽選テーブルには、抽選対象に小役4が含まれていない。よって、通常遊技中は小役4が当選役となることがなく、小役4が入賞することがない。図8(b)に示すように、BB遊技中に使用される役抽選テーブルでは、抽出された乱数値が「0」のときのみハズレとなり(すなわち、ハズレとなる確率は1/65536)、ほとんどの単位遊技で何らかの小役が当選役となることから、後述するリール停止制御によって小役が入賞する可能性が非常に高くなる。   As shown in FIG. 8A, in the combination lottery table used during the normal game, the small combination 4 is not included in the lottery target. Therefore, during the normal game, the small role 4 does not become a winning combination, and the small role 4 does not win a prize. As shown in FIG. 8B, in the combination lottery table used during the BB game, the game is lost only when the extracted random number value is “0” (that is, the probability of being lost is 1/65536). In this unit game, a small winning combination is a winning combination, so that the possibility of winning a small winning combination by reel stop control described later becomes very high.

(抽選用乱数判定手段の説明)
抽選用乱数判定手段4324は、抽選用乱数取得手段4322によって抽選用乱数が取得されるごとに、その値に基づいて、乱数の値が乱数更新手段416によって正常に更新されているか否かを判定する。また、抽選用乱数に基づく乱数値の異常判定は、当該抽選用乱数を含む少なくとも3つの乱数の値に基づいて行われる。これら少なくとも3つの乱数は、乱数周期Fの二周期分の期間内に取得されたものであり、各乱数の取得間隔は、乱数更新手段416の乱数更新間隔よりも長い間隔で取得されたものであることが望ましい。抽選用乱数判定手段4324による乱数の異常判定結果は、前述した乱数異常判定手段426によって乱数が正常に更新されていないと判定されたときに、実行中の単位遊技をそのまま継続するか、直ちに停止させるかを決定する際に参照される。
(Explanation of random determination means for lottery)
Each time the lottery random number acquisition unit 4322 acquires the lottery random number, the lottery random number determination unit 4324 determines whether the random number value is normally updated by the random number update unit 416 based on the value. To do. In addition, the abnormality determination of the random number value based on the lottery random number is performed based on at least three random number values including the lottery random number. These at least three random numbers are acquired within a period corresponding to two cycles of the random number period F, and the acquisition interval of each random number is acquired at an interval longer than the random number update interval of the random number update means 416. It is desirable to be. The random number abnormality determination result by the random number determination means 4324 for the lottery is determined to continue the unit game being executed or stop immediately when the random number abnormality determination means 426 determines that the random number has not been updated normally. It is referred to when deciding whether to do.

(役抽選結果記憶手段の説明)
役抽選結果記憶手段4326は、図3に示したRAM110によって実現されるものであり、役抽選手段432によって行われた役抽選の結果を記憶する。具体的には、図7に示した各役に対応する当選フラグのオン/オフ状態を記憶する。ここで、当選フラグがオンのときは、その当選フラグに対応する役が当選したことを示し、オフのときは、当選していないことを示している。各役に対応する当選フラグのオン/オフ状態は、基本的には1回の単位遊技が終了すると、後述する入賞判定手段436によってオフにされる。但し、特別役(BB役a〜BB役c,MB役a,MB役b)の当選フラグについては、当選したときの単位遊技が終了してもオフ状態にはされず、当選した特別役が成立するまで当選フラグのオン状態が維持される。このように、特別役に対応する当選フラグのオン状態が維持されている状態を、「ボーナスフラグの持ち越し中」という。
(Explanation of role lottery result storage means)
The role lottery result storage unit 4326 is realized by the RAM 110 illustrated in FIG. 3, and stores the result of the role lottery performed by the role lottery unit 432. Specifically, the ON / OFF state of the winning flag corresponding to each combination shown in FIG. 7 is stored. Here, when the winning flag is on, it indicates that the combination corresponding to the winning flag is won, and when it is off, it indicates that the winning flag is not won. The on / off state of the winning flag corresponding to each combination is basically turned off by winning determination means 436 described later when one unit game is completed. However, the winning flags of special roles (BB role a to BB role c, MB role a, MB role b) will not be turned off even if the unit game at the time of winning is completed, The winning flag is kept on until it is established. In this way, a state in which the ON state of the winning flag corresponding to the special role is maintained is referred to as “bonus flag carry over”.

ボーナスフラグの持ち越し中の単位遊技において、役抽選でいずれかの小役または再遊技役が当選した場合は、オン状態が維持されている特別役とともに、当選役となった小役または再遊技役の当選フラグもオンとなり、それらの役のいずれかが成立し得る状態となる。また、ボーナスフラグの持ち越し中に、いずれかの特別役が当選したときは、その特別役に対応する当選フラグがオンにされることはない。よって、複数の特別役に対応する当選フラグが並行してオン状態になることはない。   In any unit game where the bonus flag is carried over, if any small role or re-playing role is elected in the role lottery, the small role or re-playing role that is selected as well as the special role that remains on The winning flag is also turned on, and one of those roles can be established. Further, when any special combination is won while carrying the bonus flag, the winning flag corresponding to the special combination is not turned on. Therefore, the winning flags corresponding to a plurality of special roles are not turned on in parallel.

(強制当選手段の説明)
強制当選手段4328は、現在の遊技状態がMB遊技中であるときに、遊技者がスタートスイッチ36を操作したことを契機として、役抽選結果記憶手段4326に記憶された各役に対応する当選フラグのオン/オフ状態のうち、全ての小役に対応する当選フラグをオン状態にする。これにより、MB遊技中における単位遊技では、必ず全小役の当選フラグがオン(再遊技役および特別役の当選フラグは必ずオフ)となり、遊技者は、これらの小役のうちいずれか1つを入賞させることができる。
(Explanation of forced winning means)
The forced winning means 4328 is a winning flag corresponding to each combination stored in the combination lottery result storage means 4326 when the player operates the start switch 36 when the current gaming state is in the MB game. Among the on / off states, the winning flags corresponding to all the small combinations are turned on. As a result, in the unit game during the MB game, the winning flags for all the small roles are always turned on (the winning flags for the replaying role and the special role are always turned off), and the player can select any one of these small roles. Can be awarded.

<リール制御手段の説明>
リール制御手段434は、リール停止制御手段4342を有し、リール40L,40C,40Rの回転駆動に関する制御を行う。すなわち、前述した遊技開始信号を受信すると、モータ駆動回路114を介してステッピングモータ80L,80C,80Rを駆動する。これによりリール40L,40C,40Rを回転させた後、遊技者によるストップスイッチ37L,37C,37Rの操作に応じて停止指示手段320から停止指示信号が出力されると、リール停止制御手段4342によって、操作されたストップスイッチに対応するリールの停止制御を行う。
<Description of reel control means>
The reel control unit 434 includes a reel stop control unit 4342 and performs control related to the rotational drive of the reels 40L, 40C, and 40R. That is, when the game start signal described above is received, the stepping motors 80L, 80C, and 80R are driven via the motor drive circuit 114. Thus, after the reels 40L, 40C, 40R are rotated, when a stop instruction signal is output from the stop instruction means 320 according to the operation of the stop switches 37L, 37C, 37R by the player, the reel stop control means 4342 Reel stop control corresponding to the operated stop switch is performed.

リール停止制御手段4342は、停止指示手段320から停止指示信号が出力されると、操作されたストップスイッチに対応するリールの回転を190ミリ秒以内に停止させる。すなわち、定常回転速度が約80回転/分であり、1リール当たりの図柄数を21とすると、リール停止制御手段4342は、ストップスイッチが操作されたときのリールの回転位置から、最大で5図柄分、回動するまでの間にそのリールを停止させる。この間、そのリールに描かれた図柄のうち、当選役に対応した図柄組合せを構成する図柄(以下、当選図柄という)が、いずれか1本の有効ラインが通過する停止表示位置(以下、有効ラインの位置という)に到達し得るときは、その当選図柄が有効ラインの位置に達したときにリールを停止させる。なお、最初にリールを停止させるときには、当選図柄をいずれの有効ラインの位置に停止させてもよいが、2番目または3番目に停止させるリールについては、既に当選図柄が停止している有効ラインの位置に、当選図柄を停止させるように制御することはいうまでもない。   When a stop instruction signal is output from the stop instruction means 320, the reel stop control means 4342 stops the rotation of the reel corresponding to the operated stop switch within 190 milliseconds. That is, assuming that the steady rotation speed is about 80 revolutions / minute and the number of symbols per reel is 21, the reel stop control means 4342 has a maximum of 5 symbols from the reel rotation position when the stop switch is operated. The reel is stopped until it rotates. During this time, among the symbols drawn on the reel, a symbol constituting the symbol combination corresponding to the winning combination (hereinafter referred to as a winning symbol) is a stop display position (hereinafter referred to as an effective line) through which any one effective line passes. If the winning symbol reaches the position of the active line, the reel is stopped. Note that when the reels are stopped for the first time, the winning symbol may be stopped at any valid line position, but for the reels to be stopped second or third, the winning symbol already stopped Needless to say, the position is controlled to stop the winning symbol.

これに対して、対応するリールを5図柄分、回動させても、当選図柄を有効ラインの位置に停止させることができないときは、5図柄分、回動させる間の適宜定められた図柄が停止表示されるように(ただし、当選役以外の役が成立してしまわないように)リールを停止させる。この場合、役抽選で何らかの役が当選していたとしても、その役に対応する図柄組合せが有効ラインに沿って停止表示されることがなく、その役は成立しない。以下では、このような遊技結果を「取りこぼし」という。   On the other hand, if the winning symbol cannot be stopped at the position of the effective line even if the corresponding reel is rotated by 5 symbols, an appropriately determined symbol between the 5 symbols is rotated. The reel is stopped so that it is displayed in a stopped manner (however, a role other than the winning combination will not be established). In this case, even if any combination is won in the combination lottery, the symbol combination corresponding to the combination is not stopped and displayed along the active line, and the combination is not established. Hereinafter, such a game result is referred to as “missing”.

上述したリール停止制御を前提として図2に示した各リールの図柄配列を見ると、全リールにおける「ベル」図柄および「プラム」図柄は、その配置間隔から、ストップスイッチをどのようなタイミングで操作しても、上段U、中段M、下段Lのいずれにも停止させることができる。さらに、右リール40Rについては、「チェリー」図柄も同様である。すなわち、これらの図柄によって構成される図柄組合せが対応付けられている役(小役1aおよび再遊技役a〜c)が当選役になった場合、リール停止制御によって任意の有効ライン上に対応する図柄組合せを停止させることができ、取りこぼしが生じない。これに対して、上述した図柄以外の図柄を含む図柄組合せが対応付けられた役が当選役になった場合は、遊技者によるストップスイッチの操作タイミングによっては、有効ラインの位置に当選図柄を停止させることができず、取りこぼしが生じる可能性がある。   Assuming the above-described reel stop control, the symbol arrangement of each reel shown in FIG. 2 shows that the “bell” and “plum” symbols on all reels can be operated at any timing from the arrangement interval. Even so, it can be stopped at any of the upper stage U, the middle stage M, and the lower stage L. Further, for the right reel 40R, the “cherry” symbol is the same. That is, when a combination (small combination 1a and re-playing combination a to c) associated with a combination of symbols constituted by these symbols becomes a winning combination, it corresponds to an arbitrary active line by reel stop control. The symbol combination can be stopped, and no oversight occurs. On the other hand, if a winning combination is associated with a symbol combination including symbols other than the symbols described above, the winning symbol is stopped at the position of the active line depending on the stop switch operation timing by the player. It may not be possible to do so.

一方、役抽選の結果がハズレとなったときは、リール停止制御手段4342は、いかなるタイミングでストップスイッチ37L,37C,37Rが操作されたとしても、何らかの役に対応する図柄組合せが有効ラインに沿って停止表示されることがないように、リール40L,40C,40Rを停止させる。このように、リール停止制御手段4342は、役抽選で何らかの役に当選した場合は、決められた範囲内で当選役が成立するように、または、それが不可能な場合は当選役以外の役が成立しないようなリール停止制御を行っている。また、役抽選の結果がハズレだった場合は、いかなる役も成立しないようなリール停止制御を行っている。   On the other hand, if the result of the winning combination lottery is lost, the reel stop control means 4342 causes the symbol combination corresponding to any winning combination to follow the active line regardless of the timing of operating the stop switches 37L, 37C, 37R. The reels 40L, 40C, and 40R are stopped so that they are not stopped and displayed. In this way, the reel stop control means 4342 allows a winning combination to be established within a predetermined range when a winning combination is won in the winning lottery, or if it is impossible, a role other than the winning combination is determined. Reel stop control is performed so that is not established. Further, when the result of the winning combination lottery is lost, reel stop control is performed so that no winning combination is established.

なお、リール停止制御手段4342は、MB遊技中に限って、左リール40Lの停止制御を行うときは、停止指示手段320から停止指示信号が出力されてから75ミリ秒以内に停止させる。すなわち、定常回転速度が約80回転/分であり、1リール当たりの図柄数を21とすると、リール停止制御手段4342は、ストップスイッチが操作されたときのリールの回転位置から、最大で2図柄分、回動するまでの間にそのリールを停止させる。   Note that the reel stop control means 4342 stops within 75 milliseconds after the stop instruction signal is output from the stop instruction means 320 when performing the stop control of the left reel 40L only during the MB game. That is, assuming that the steady rotation speed is about 80 revolutions / minute and the number of symbols per reel is 21, the reel stop control means 4342 has a maximum of 2 symbols from the reel rotation position when the stop switch is operated. The reel is stopped until it rotates.

前述したボーナスフラグの持ち越し中、および、MB遊技中またはBB遊技中に、複数の役に対応する当選フラグがオン状態となった場合は、それらのうち、いずれの役でも成立させることができる状態となる。例えば、ボーナスフラグの持ち越し中は、1回の単位遊技において、持越し中の特別役と小役、または、持越し中の特別役と再遊技役の、当選フラグがオン状態となり得る。この場合、リール停止制御手段4342は、持越し中の特別役と小役の当選フラグが共にオンになっているときは、持越し中の特別役を優先的に成立させるリール停止制御を行い、持越し中の特別役と再遊技役の当選フラグが共にオンになっているときは、再遊技役を優先的に成立させるリール停止制御を行う。   When the above-mentioned bonus flag is carried over, and during MB game or BB game, when the winning flag corresponding to a plurality of combinations is turned on, any of these combinations can be established It becomes. For example, during carry-over of a bonus flag, in one unit game, a winning combination of a special combination and a small combination being carried over, or a special combination and a re-playing combination being carried over may be turned on. In this case, the reel stop control means 4342 performs the reel stop control to preferentially establish the special combination being carried over when both the special combination being carried over and the winning flag for the small combination are turned on. When the winning flags for both the special combination and the re-playing role are both turned on, reel stop control for preferentially establishing the re-playing role is performed.

また、BB遊技中の役抽選で、小役2aと小役4が同時に当選(抽選結果番号「3」が導出)した場合には、小役2aを優先的に成立させるリール停止制御を行う。
さらに、MB遊技中は、最初に停止したリールにおいて、上段U,中段M,下段Lのいずれかに、小役に対応する図柄組合せを構成する図柄が停止表示された場合は、その小役が入賞するように、残りのリールについて停止制御を行う。ここで、前述したように小役1a以外の小役は、取りこぼしが生じる可能性が有るため、リール停止制御手段4342は、小役1aが入賞するようなリール停止制御を行う。例えば、遊技者が左リール40Lを最初に停止させた場合において、表示窓22内に「ベル」図柄と、「スイカ」図柄または「BAR」図柄が停止表示された場合は、小役1aと、小役3または小役4のいずれか一つの役が入賞する可能性がある。この場合、小役3または小役4は取りこぼしが生じる可能性が有るため、リール停止制御手段4342は、小役1aが入賞するようなリール停止制御を行う。また、遊技者が左リール40Lを最初に停止させた場合において、表示窓22内に「チェリー」図柄が停止表示されたときは、リール停止制御手段4342は、小役2aと小役1aとを重複入賞させないために、小役2aのみが入賞するように中リール40Lおよび右リール40Rの停止制御を行う。
In addition, when the small combination 2a and the small combination 4 are simultaneously won (the lottery result number “3” is derived) in the combination lottery during the BB game, the reel stop control for preferentially establishing the small combination 2a is performed.
Further, during the MB game, when the symbol that constitutes the symbol combination corresponding to the small combination is stopped and displayed on any of the upper U, middle M, and lower L in the reel that is stopped first, the small combination is displayed. Stop control is performed on the remaining reels so as to win a prize. Here, as described above, since there is a possibility that a small combination other than the small combination 1a may be missed, the reel stop control means 4342 performs reel stop control so that the small combination 1a wins. For example, when the player first stops the left reel 40L, when the “bell” symbol and the “watermelon” symbol or the “BAR” symbol are stopped and displayed in the display window 22, the small role 1a, There is a possibility that one of the small roles 3 and 4 will win a prize. In this case, since the small combination 3 or the small combination 4 may be missed, the reel stop control means 4342 performs reel stop control so that the small combination 1a wins. When the player first stops the left reel 40L and the “cherry” symbol is stopped and displayed in the display window 22, the reel stop control means 4342 displays the small combination 2a and the small combination 1a. In order not to make double winning, stop control of the middle reel 40L and the right reel 40R is performed so that only the small combination 2a wins.

<入賞判定手段の説明>
入賞判定手段436は、リール40L,40C,40Rがすべて停止すると、表示窓22に表示された9つの図柄の種類を判別し、有効ラインL1〜L5の各々に沿って停止表示された各図柄組合せが、何らかの役に対応しているか否かに応じて、何らかの役が成立したか否かの判定(入賞判定)を行う。
<Explanation of winning determination means>
When all of the reels 40L, 40C, 40R are stopped, the winning determination means 436 determines the types of nine symbols displayed on the display window 22, and each symbol combination that is stopped and displayed along each of the effective lines L1 to L5. However, it is determined whether or not any combination is established (winning determination) depending on whether or not it corresponds to any combination.

<入賞処理手段の説明>
入賞処理手段438は、入賞判定手段436によりいずれかの小役が入賞したと判定された場合、スロットマシン10の内部に設けられているホッパー(図示略)を駆動して、図7に示した配当情報に従い、入賞した小役に対応する枚数のメダルを払い出すための制御を行う。また、入賞判定を行った後は、オン状態になっている小役または再遊技役に対応する当選フラグをオフ状態にし、特別役が成立したときは、当該特別役に対応する当選フラグをオフ状態にする。
<Explanation of winning process means>
The winning processing means 438 drives a hopper (not shown) provided in the slot machine 10 when the winning determination means 436 determines that any small role has been won, as shown in FIG. In accordance with the payout information, control is performed to pay out the number of medals corresponding to the winning small combination. In addition, after the winning determination is made, the winning flag corresponding to the small role or replaying role that is on is turned off, and when the special role is established, the winning flag corresponding to the special role is turned off. Put it in a state.

<特別遊技実行手段の説明>
特別遊技実行手段440は、通常遊技中に特別役が成立した場合、次の単位遊技から、単位遊技実行手段430によって、成立した特別役に対応した特別遊技における単位遊技を実行させる。具体的には、BB役が成立したときは、遊技状態を「BB遊技」に更新し、次の単位遊技から役抽選手段432が図8(b)に示す役抽選テーブルに基づいて役抽選を行うように制御する。
また、MB役が成立した場合は、遊技状態を「MB遊技」に更新し、次の単位遊技から、役抽選によらずに強制当選手段4328によって全ての小役に対応する当選フラグをオン状態にさせる。また、リール停止制御手段4342において、左リール40Lの停止制御については、停止指示信号が出力されてから75ミリ秒以内にリールの回転を停止させるように切り替えさせる。
<Description of special game execution means>
When the special combination is established during the normal game, the special game execution unit 440 causes the unit game execution unit 430 to execute the unit game in the special game corresponding to the established special combination from the next unit game. Specifically, when the BB combination is established, the game state is updated to “BB game”, and the combination lottery means 432 performs the combination lottery based on the combination lottery table shown in FIG. 8B from the next unit game. Control to do.
In addition, when the MB combination is established, the game state is updated to “MB game”, and the winning flag corresponding to all the small combinations is turned on from the next unit game by the forced winning means 4328 regardless of the combination lottery. Let me. Further, the reel stop control means 4342 switches the stop of the left reel 40L so that the rotation of the reel is stopped within 75 milliseconds after the stop instruction signal is output.

さらに、BB遊技中およびMB遊技中は、払い出したメダルの合計枚数をカウントしており、各々の終了条件となっている払出枚数(BB遊技は344枚、MB遊技は105枚)を超えると、遊技状態を「通常遊技」に更新する。   Furthermore, during the BB game and the MB game, the total number of medals that have been paid out is counted. If the number of payouts (344 games for the BB game and 105 for the MB game) exceeds the respective ending conditions, The game state is updated to “normal game”.

<遊技進行制御手段の説明>
遊技進行制御手段450は、乱数異常判定手段426が、乱数の値が正常に更新されていないと判定した場合に、抽選用乱数判定手段4324による乱数の異常判定結果に応じて、単位遊技の進行を制御する。基本的には、単位遊技が行われているときに、乱数異常判定手段426が乱数に異常が生じたと判定した場合において、抽選用乱数判定手段4324においても乱数に異常が生じたと判定されていたときは、直ちに単位遊技を停止させる。一方、抽選用乱数判定手段4324が乱数に異常が生じたと判定していなかったときは、その単位遊技が終了するまでは遊技を継続させる。
<Description of game progress control means>
When the random number abnormality determination unit 426 determines that the random number value has not been updated normally, the game progress control unit 450 proceeds with the unit game according to the random number abnormality determination result by the lottery random number determination unit 4324. To control. Basically, when the random number abnormality determination means 426 determines that an abnormality has occurred in the random number when the unit game is being performed, the random number determination means 4324 for lottery also determines that an abnormality has occurred in the random number. When the unit game is stopped immediately. On the other hand, if the random number determination means 4324 for the lottery has not determined that an abnormality has occurred in the random number, the game is continued until the unit game ends.

さらにこの場合、MB遊技中だった場合は、そのMB遊技が終了するまで引き続き単位遊技を続行させる。また、通常遊技中ではあるが、MB役の当選フラグが持越し中だった場合は、MB遊技が開始されて終了するまで、単位遊技を続行させる。これに対して、通常遊技中であり、かつ、MB役の当選フラグが持越し中でなかった場合は、その単位遊技の終了後、次の単位遊技が開始されないように制御する。   Further, in this case, if the MB game is in progress, the unit game is continued until the MB game is completed. Also, if the MB game win flag is being carried over while the normal game is in progress, the unit game is continued until the MB game is started and ended. On the other hand, when the normal game is being played and the winning flag of the MB combination is not being carried over, the control is performed so that the next unit game is not started after the unit game ends.

≪副制御回路の説明≫
副制御回路200は、演出手段600において実行される演出の内容を抽選によって決定すると共に、決定した演出内容が実行されるように、演出手段600を制御しており、演出内容決定手段510および演出制御手段520を有している。
≪Description of sub control circuit≫
The sub-control circuit 200 determines the contents of the effect executed in the effect means 600 by lottery and controls the effect means 600 so that the determined effect contents are executed. Control means 520 is provided.

<演出内容決定手段の説明>
演出内容決定手段510は、乱数発生手段512と、抽選テーブル記憶手段514とを有し、乱数発生手段512によって生成された乱数と、抽選テーブル記憶手段514に記憶されている演出抽選テーブルとに基づいて、演出手段600で実行する演出の内容を決定する。乱数発生手段512は、回転指示手段310から遊技開始信号が出力されたことを契機として、0〜65535の数値範囲内の乱数値(整数)を発生させる。この乱数発生手段512は、ハードウェア乱数発生器によって実現してもよいし、所定の数式に基づいて擬似乱数を生成する演算処理によって実現してもよい。
<Description of production content determination means>
The effect content determination unit 510 includes a random number generation unit 512 and a lottery table storage unit 514. Based on the random number generated by the random number generation unit 512 and the production lottery table stored in the lottery table storage unit 514. Then, the contents of the effect executed by the effect means 600 are determined. The random number generation means 512 generates a random number value (integer) within a numerical range of 0 to 65535, triggered by the output of the game start signal from the rotation instruction means 310. The random number generation means 512 may be realized by a hardware random number generator, or may be realized by an arithmetic process for generating a pseudo random number based on a predetermined mathematical expression.

また、抽選テーブル記憶手段514は、演出手段600において実行され得る各演出内容に、乱数発生手段512が発生し得る乱数値を適宜対応付けてなる、演出抽選テーブルを記憶している。これにより、演出内容決定手段510は、演出抽選テーブルにおいて、乱数発生手段512によって発生された乱数値が対応付けられている演出内容を、実行すべき演出内容と定める。   In addition, the lottery table storage unit 514 stores an effect lottery table in which random numbers that can be generated by the random number generating unit 512 are appropriately associated with the contents of the effects that can be executed by the effect unit 600. Thereby, the effect content determination means 510 determines the effect content associated with the random number generated by the random number generation means 512 as the effect content to be executed in the effect lottery table.

<演出制御手段の説明>
演出制御手段520は、演出データ記憶手段522を有し、演出内容決定手段510で決定された演出内容が実行されるように、演出手段600を駆動制御する。演出データ記憶手段522は、演出内容決定手段510で決定され得る各演出内容を実行するための画像(動画または静止画)データ、効果音または楽音データ、および上部演出ランプ72の点滅パターンデータを記憶している。これにより、演出制御手段520は、演出内容決定手段510において決定された演出内容に対応する各種データを、演出データ記憶手段522から読み出し、それら各種データに基づいて表示装置70、スピーカ64L,64Rおよび上部演出ランプ72を駆動制御する。
<Description of production control means>
The effect control means 520 has effect data storage means 522, and drives and controls the effect means 600 so that the effect contents determined by the effect content determination means 510 are executed. The effect data storage means 522 stores image (moving image or still image) data, sound effects or musical sound data, and blink pattern data of the upper effect lamp 72 for executing each effect content that can be determined by the effect content determination means 510. is doing. Thereby, the effect control means 520 reads various data corresponding to the effect contents determined by the effect content determination means 510 from the effect data storage means 522, and based on these various data, the display device 70, the speakers 64L and 64R, and The upper stage lamp 72 is driven and controlled.

[主制御回路における制御処理の説明]
次に、上述した主制御回路100において、乱数発生装置112が生成する乱数の異常を検出するための処理について、フローチャートを参照して詳細に説明する。
その前に、まず、スロットマシン10で実行される遊技について、主制御回路100が行っている処理の内容を、図9に示すメインルーチンのフローチャートを参照して説明する。このメインルーチンでは、主に遊技者が遊技媒体を投入して、リール40L,40C,40Rを回転させて停止させるまでを1回の遊技とする制御処理を示す。
[Description of control processing in main control circuit]
Next, in the main control circuit 100 described above, a process for detecting an abnormality of the random number generated by the random number generator 112 will be described in detail with reference to a flowchart.
Before that, first, the contents of processing performed by the main control circuit 100 for the game executed in the slot machine 10 will be described with reference to the flowchart of the main routine shown in FIG. This main routine mainly shows a control process in which one game is performed from when a player inserts a game medium until the reels 40L, 40C, 40R are rotated and stopped.

≪メインルーチンの説明≫
スロットマシン10の電源を投入すると、CPU106は、所定の初期化処理を行い、RAM110に記憶される各種フラグや制御データの初期値を設定する(ステップS1)。次に、CPU106は、RAM110に記憶されている再遊技成立フラグがオンになっているか否かを判断する(ステップS2)。この再遊技成立フラグは、前回の遊技で再遊技役が成立したときにオンにされるフラグである。再遊技成立フラグがオフになっている(NO)と判断した場合、CPU106は単位遊技を開始するためのメダル投入処理を、遊技者の操作に応じて行う(ステップS3)。
≪Description of main routine≫
When the power of the slot machine 10 is turned on, the CPU 106 performs a predetermined initialization process and sets initial values of various flags and control data stored in the RAM 110 (step S1). Next, the CPU 106 determines whether or not the re-game establishment flag stored in the RAM 110 is turned on (step S2). This re-game establishment flag is a flag that is turned on when a re-game combination is established in the previous game. If it is determined that the re-game establishment flag is off (NO), the CPU 106 performs medal insertion processing for starting a unit game in accordance with the player's operation (step S3).

すなわち、遊技者によってベットスイッチ34または35が操作されると、CPU106は、RAM110に記憶されているクレジット数の値が、操作されたベットスイッチに対応するメダル枚数(以下、投入枚数という)の値以上であった場合に、RAM110に記憶されているクレジット数の値から、投入枚数の値を減算する。そして、CPU106は、投入枚数の値を、RAM110に記憶されているベット数の値に加算し、加算後のベット数の値に応じて、図1に示したベット数表示ランプ26a,26b,26cの点灯状態を更新する。また、併せて、ベット数の値を表す遊技媒体投入情報を、図4に示した接続線120を介して副制御回路200へ送信する。   That is, when the bet switch 34 or 35 is operated by the player, the CPU 106 determines that the value of the number of credits stored in the RAM 110 is the value of the number of medals corresponding to the operated bet switch (hereinafter referred to as the inserted number). In the case above, the value of the inserted number is subtracted from the value of the number of credits stored in the RAM 110. Then, the CPU 106 adds the value of the inserted number to the value of the bet number stored in the RAM 110, and according to the value of the bet number after the addition, the bet number display lamps 26a, 26b, 26c shown in FIG. Update the lighting status of. In addition, game medium input information representing the value of the number of bets is transmitted to the sub-control circuit 200 via the connection line 120 shown in FIG.

また、ベットスイッチ34または35が操作されなかった場合は、CPU106は、メダル投入口32からメダルが投入されたか否かを判断し、メダル投入口32の内部に設置されたメダルセレクタのセンサによって、メダル投入口32から投入されたメダルが検出された場合は、RAM110に記憶されているベット数の値に「1」を加算するとともに、ベット数の値を表す遊技媒体投入情報を副制御回路200へ送信する。   If the bet switch 34 or 35 is not operated, the CPU 106 determines whether or not a medal has been inserted from the medal insertion slot 32, and a sensor of a medal selector installed inside the medal insertion slot 32 When a medal inserted from the medal insertion slot 32 is detected, “1” is added to the value of the bet number stored in the RAM 110 and the game medium input information representing the value of the bet number is added to the sub-control circuit 200. Send to.

以上のメダル投入処理を行うと、次にCPU106は、RAM110に記憶されているベット数の値が規定数(通常遊技中は3枚、特別遊技中は2枚)になったか否かを判断し(ステップS4)、規定数に達していない(NO)と判断した場合は、ステップS2へ戻り、達した(YES)と判断した場合は、遊技者によってスタートスイッチ36が操作されたか否かを判断する(ステップS5)。なお、メダルの投入枚数が規定数に達している状態で(ステップS4,YES)、メダル投入口32からメダルが投入された場合、CPU106は、ステップS3のメダル投入処理において、RAM110に記憶されているクレジット数の値に投入されたメダルの枚数を加算する。   After performing the above-described medal insertion process, the CPU 106 next determines whether or not the value of the number of bets stored in the RAM 110 has reached a specified number (three during normal games and two during special games). (Step S4) If it is determined that the specified number has not been reached (NO), the process returns to Step S2, and if it is determined that it has reached (YES), it is determined whether or not the start switch 36 has been operated by the player. (Step S5). In the state where the number of inserted medals has reached the specified number (step S4, YES), when a medal is inserted from the medal insertion slot 32, the CPU 106 stores the medal in the medal insertion process of step S3. The number of medals inserted is added to the value of the number of credits.

一方、前述したステップS2において、CPU106が、再遊技成立フラグがオンになっている(YES)と判断した場合は、直ちにステップS5へ進み、遊技者によってスタートスイッチ36が操作されたか否かを判断する。これにより、再遊技役が成立した次の遊技では、メダルを新たに投入し、またはクレジットされているメダルを消費することなく、再び遊技を行うことができる。なお、再遊技におけるベット数は、RAM110に記憶されている前回の遊技で投入されたベット数となる。   On the other hand, if the CPU 106 determines in step S2 described above that the re-game establishment flag is on (YES), the process immediately proceeds to step S5 to determine whether or not the start switch 36 has been operated by the player. To do. Thereby, in the next game in which a re-game is established, it is possible to play the game again without newly inserting medals or consuming the credited medals. Note that the number of bets in the re-game is the number of bets placed in the previous game stored in the RAM 110.

ステップS5において、CPU106は、スタートスイッチ36が遊技者によって操作されたことによって出力される遊技開始信号を受信したか否かを判断する。遊技開始信号を受信しておらず、遊技者によってスタートスイッチ36が操作されていない(NO)と判断した場合は、再度ステップS2の処理へ戻る。このように、遊技者によってスタートスイッチが操作されるまで、ステップS2→S3→S4→S5(再遊技の場合はステップS2→S5)の処理を繰り返し行う。   In step S5, the CPU 106 determines whether or not a game start signal output when the start switch 36 is operated by the player has been received. If it is determined that the game start signal has not been received and the start switch 36 has not been operated by the player (NO), the process returns to step S2. In this way, the process of steps S 2 → S 3 → S 4 → S 5 (in the case of replaying, step S 2 → S 5) is repeated until the start switch is operated by the player.

ステップS5において、CPU106が遊技開始信号を受信したことにより、遊技者によってスタートスイッチ36が操作された(YES)と判断すると、ステップS6で再遊技成立フラグをオフにした後、図3および図5に示した乱数発生装置112から、役抽選を行うための抽選用乱数を取得するための乱数取得処理を行う(ステップS7)。この乱数取得処理においては、上述した抽選用乱数を取得するための処理の他に、乱数発生装置112によって生成された乱数に異常が生じたか否かを判定するための処理も行っており、この判定の結果、乱数に異常が発生した可能性が認められた場合は、乱数準異常検出情報を図4に示した接続線120を介して副制御回路200へ送信する。この乱数取得処理の内容については、後に詳しく説明する。   In step S5, if the CPU 106 receives the game start signal and determines that the start switch 36 has been operated by the player (YES), after turning off the re-game establishment flag in step S6, FIG. 3 and FIG. A random number acquisition process for acquiring a random number for lottery for performing a role lottery is performed from the random number generator 112 shown in FIG. In this random number acquisition process, in addition to the process for acquiring the lottery random number described above, a process for determining whether or not an abnormality has occurred in the random number generated by the random number generator 112 is also performed. If it is determined that there is a possibility that an abnormality has occurred in the random number, random number quasi-abnormality detection information is transmitted to the sub-control circuit 200 via the connection line 120 shown in FIG. The contents of this random number acquisition process will be described in detail later.

ステップS7の乱数取得処理を終えると、次にCPU106は、役抽選処理を実行する(ステップS8)。すなわち、ROM108に記憶されている図8に示した役抽選テーブルの中から、現在の遊技状態(通常遊技またはBB遊技)に応じた役抽選テーブルを選択し、選択した役抽選テーブルと、ステップS7の乱数取得処理によって取得された抽選用乱数と、に基づいて役抽選を行う。そして、役抽選の結果、何らかの役が当選した場合は、RAM110に記憶されている各役に対応する当選フラグのうち、当選役となった役の当選フラグをオンにする。また、CPU106は、役抽選の結果(ハズレまたは当選役の種類)を示す役抽選結果情報を、図4に示した接続線120を介して副制御回路200へ送信する。これにより副制御回路200では、受信した役抽選結果情報に基づいて、実行する演出内容を決定するための抽選を行う等の処理が行われる。   When the random number acquisition process in step S7 is completed, the CPU 106 next executes a role lottery process (step S8). That is, from the combination lottery table shown in FIG. 8 stored in the ROM 108, a combination lottery table corresponding to the current game state (normal game or BB game) is selected, and the selected combination lottery table and step S7 are selected. The lottery is performed based on the random numbers for lottery acquired by the random number acquisition process. As a result of the lottery, if any winning combination is won, the winning flag of the winning combination corresponding to each winning combination stored in the RAM 110 is turned on. Further, the CPU 106 transmits role lottery result information indicating the result of the role lottery (losing or winning type) to the sub-control circuit 200 via the connection line 120 shown in FIG. As a result, the sub-control circuit 200 performs a process such as performing a lottery to determine the content of the effect to be executed based on the received combination lottery result information.

なお、現在の遊技状態がMB遊技中だった場合は、ステップS8の役抽選処理において、CPU106は、小役1a,1b,2a,2b,3,4の当選フラグを役抽選によらずにオンにする。   If the current game state is MB, the CPU 106 turns on the winning flags of the small roles 1a, 1b, 2a, 2b, 3 and 4 regardless of the role lottery in the role lottery process in step S8. To.

次にCPU106は、リール40L,40C,40Rを回転させ、遊技者によるストップスイッチ37L,37C,37Rの操作と、ステップS8の処理で行われた役抽選の結果とに基づいて、各リールの停止制御を行うためのリール変動・停止処理を行う(ステップS9)。このリール変動・停止処理において、CPU106は、まず、モータ駆動回路114(図5参照)への駆動パルスの出力を開始し、ステッピングモータ80L、80C、および80Rを駆動し、リール40L,40C,40Rを一斉に回転させる。ただし、この時点で、前回の遊技でリールが回転を開始してから所定の待機時間(4.1秒間とする)が経過していなかった場合は、当該待機時間が経過してからリール40L,40C,40Rを一斉に回転させる。そして、リール回転速度が所定の定常回転速度(例えば、約80回転/分)に達すると、ストップスイッチ37L,37C,37Rの操作を行うことが可能となる。   Next, the CPU 106 rotates the reels 40L, 40C, 40R, and stops the reels based on the operation of the stop switches 37L, 37C, 37R by the player and the result of the lottery performed in the process of step S8. Reel fluctuation / stop processing for control is performed (step S9). In this reel fluctuation / stop process, the CPU 106 first starts outputting drive pulses to the motor drive circuit 114 (see FIG. 5), drives the stepping motors 80L, 80C, and 80R, and reels 40L, 40C, 40R. Rotate all at once. However, at this time, if a predetermined waiting time (4.1 seconds) has not elapsed since the reel started rotating in the previous game, the reels 40L, 40L, 40C and 40R are simultaneously rotated. When the reel rotation speed reaches a predetermined steady rotation speed (for example, about 80 rotations / minute), the stop switches 37L, 37C, and 37R can be operated.

ここで、モータ駆動回路114へ駆動パルスを出力する処理(以下、回転駆動処理という)は、1.49ミリ秒ごとに実行される割込処理(後述する)によって行われている。この回転駆動処理では、各リールが停止している状態(回転速度が0)から所定の加速期間を経て、定常回転速度へ至るように、モータ駆動回路114に駆動パルスが出力されている。すなわち、上述した加速期間においては、モータ駆動回路114へ出力する駆動パルスの時間間隔を徐々に狭めていき、最終的に1回の割込処理で1つの駆動パルスを出力している。例えば、最初の駆動パルスを出力してから90回の割込処理(1.49ミリ秒×90=134.10ミリ秒)を行った後に2つ目の駆動パルスを出力し、さらに、15回の割込処理(1.49ミリ秒×15=22.35ミリ秒)を行った後に3つ目の駆動パルスを出力する、というように徐々に駆動パルスの出力間隔を狭めていく。そして、最終的には各割込処理ごとに1つの駆動パルスを出力する。このとき、ステッピングモータ80R,80C,80Rの一回転当たりのステップ数が504であれば、回転速度は、1/(504×1.49×10−3)×60≒79.9回転/分となる。なお、本実施形態では、上述した加速期間を247.34ミリ秒(割込処理166回分)としている。 Here, a process of outputting a drive pulse to the motor drive circuit 114 (hereinafter referred to as a rotational drive process) is performed by an interrupt process (described later) executed every 1.49 milliseconds. In this rotational drive process, drive pulses are output to the motor drive circuit 114 so as to reach a steady rotational speed through a predetermined acceleration period from a state where each reel is stopped (rotational speed is 0). In other words, during the above-described acceleration period, the time interval of the drive pulses output to the motor drive circuit 114 is gradually narrowed, and finally one drive pulse is output in one interrupt process. For example, after the first driving pulse is output, the second driving pulse is output after interrupt processing (1.49 milliseconds × 90 = 134.10 milliseconds) is performed 90 times, and further 15 times. The output interval of the drive pulses is gradually narrowed such that the third drive pulse is output after the interruption process (1.49 milliseconds × 15 = 22.35 milliseconds) is performed. Finally, one drive pulse is output for each interrupt process. At this time, if the number of steps per rotation of the stepping motors 80R, 80C, 80R is 504, the rotation speed is 1 / (504 × 1.49 × 10 −3 ) × 60≈79.9 rotations / minute. Become. In the present embodiment, the above-described acceleration period is 247.34 milliseconds (for 166 interruption processes).

遊技者によってストップスイッチ37L,37C,37Rのいずれかが操作されると、操作されたストップスイッチに対応するリールについて、各当選フラグのオン/オフ状態と、ストップスイッチが操作されたタイミングとに応じたリール停止制御を行う。なお、このリール停止制御の内容は、図5に示したリール停止制御手段4342が行うリール停止制御と同様である。   When one of the stop switches 37L, 37C, 37R is operated by the player, depending on the on / off state of each winning flag and the timing at which the stop switch is operated for the reel corresponding to the operated stop switch. Reel stop control is performed. The contents of this reel stop control are the same as the reel stop control performed by the reel stop control means 4342 shown in FIG.

また、CPU106は、遊技者によってストップスイッチが操作されるごとに、どのストップスイッチが操作されたのかを表す停止操作情報を、副制御回路200へ送信し、すべてのリールが停止したときには、その旨を示す全リール停止情報を副制御回路200へ送信する。これにより副制御回路200では、停止操作情報の受信を契機として、実行中の演出内容を切り替えていくなど、演出や各種報知に関する制御が行われる。   Further, every time the player operates the stop switch, the CPU 106 transmits stop operation information indicating which stop switch has been operated to the sub-control circuit 200. Is transmitted to the sub-control circuit 200. As a result, the sub-control circuit 200 performs control related to effects and various notifications, such as switching the contents of the effect being executed, triggered by reception of the stop operation information.

ステップS9で、リール変動・停止処理が行われたことによって、リール40L,40C,40Rがすべて停止すると、次にCPU106は、何らかの役が成立したか否かを判定し、その判定結果に応じて遊技状態の移行処理などを行う入賞判定処理を行う(ステップS10)。すなわち、CPU106は、リール表示窓22に停止表示された9つの図柄を識別し、有効ラインL1〜L5に停止表示された各図柄組合せを認識する。そして、図7に示した配当情報に基づいて、何らかの役が成立したか否かを判断する。ここで、通常遊技中にMB役またはBB役が成立したときは、遊技状態を「通常遊技」から成立した役に応じて「MB遊技」または「BB遊技」へ移行させる。また、「通常遊技」において再遊技役が成立した場合は、RAM110に記憶されている再遊技成立フラグのオン/オフ状態をオンにする。さらに、遊技状態が「MB遊技」または「BB遊技」だった場合は、実行中の特別遊技の終了条件が成立したか否かを判断し、終了条件が成立した場合は、遊技状態を「通常遊技」に更新する。また、小役が入賞したと判定された場合は、入賞した小役に対応する払出枚数(図7参照)を、RAM110の所定の記憶領域に記憶する。   When all of the reels 40L, 40C, and 40R are stopped due to the reel change / stop process being performed in step S9, the CPU 106 next determines whether or not any combination has been established, and according to the determination result. A winning determination process for performing a game state transition process or the like is performed (step S10). That is, the CPU 106 identifies nine symbols stopped and displayed on the reel display window 22, and recognizes each symbol combination stopped and displayed on the effective lines L1 to L5. Then, based on the payout information shown in FIG. 7, it is determined whether or not any combination has been established. Here, when the MB combination or the BB combination is established during the normal game, the gaming state is shifted from “normal game” to “MB game” or “BB game”. Further, when a re-game player is established in the “normal game”, the on / off state of the re-game establishment flag stored in the RAM 110 is turned on. Further, when the game state is “MB game” or “BB game”, it is determined whether or not an end condition for the special game being executed is satisfied. If the end condition is satisfied, the game state is set to “normal”. Update to “Game”. If it is determined that the small combination has won, the number of payouts (see FIG. 7) corresponding to the winning small combination is stored in a predetermined storage area of the RAM 110.

以上のように、入賞判定および遊技状態の移行制御を行うと、CPU106は、副制御回路200に対して、成立した役の種類またはハズレを示す遊技結果情報と、遊技の結果に応じた現在の遊技状態を示す遊技状態情報を送信する。また、CPU106は、RAM110に記憶されている各小役および再遊技役に対応する当選フラグをオフ状態にする。また、BB役およびMB役に対応する当選フラグがオンになっている場合は、その当選フラグに対応する特別役が成立するまでオン状態を維持し、その特別役が成立したときにオフにする。これによってボーナスフラグの持越しが実現される。   As described above, when the winning determination and the game state transition control are performed, the CPU 106 notifies the sub-control circuit 200 of the game result information indicating the type or loss of the established combination and the current result according to the game result. The game state information indicating the game state is transmitted. Further, the CPU 106 turns off a winning flag corresponding to each small combination and re-playing combination stored in the RAM 110. If the winning flag corresponding to the BB combination and MB combination is on, the on state is maintained until the special combination corresponding to the winning flag is established, and is turned off when the special combination is established. . This realizes carry-over of the bonus flag.

次にCPU106は、ステップS10の入賞判定処理において、RAM110の所定の記憶領域に、メダルの払出枚数が記憶されているか否かを判断する(ステップS11)。RAM110にメダルの払出枚数が記憶されていたとき(YES)は、CPU106は、その枚数のメダルを遊技者へ払い出すための払い出し処理(ステップS12)を行う。この払い出し処理は、スロットマシン10の内部に収容されたホッパーを駆動して、メダルをメダル払出口60から払い出すことも可能であるし、払い出すメダルの枚数をRAM110に記憶されているクレジット数に加算して、クレジットすることも可能である。なお、ステップS12の払い出し処理を行うCPU106は、図5に示した入賞処理手段438に相当する。   Next, the CPU 106 determines whether or not the number of medals to be paid out is stored in a predetermined storage area of the RAM 110 in the winning determination process in step S10 (step S11). When the medal payout number is stored in the RAM 110 (YES), the CPU 106 performs payout processing (step S12) for paying out that number of medals to the player. In this payout process, it is possible to drive a hopper accommodated in the slot machine 10 to pay out medals from the medal payout opening 60. The number of medals to be paid out is the number of credits stored in the RAM 110. It is also possible to add credits to credits. The CPU 106 that performs the payout process in step S12 corresponds to the winning process means 438 shown in FIG.

ステップS12の払い出し処理を終えると、次にCPU106は、RAM110の所定の記憶領域に記憶されている終了フラグの状態がオンになっているか否かを判断する(ステップS13)。ここで、前述したステップS11で、CPU106が、RAM110の所定の記憶領域に、メダルの払出枚数が記憶されていない(NO)と判断したときは、直ちにステップS13の処理を行う。この終了フラグは、後述する乱数チェック処理において、乱数発生装置112が発生する乱数に異常が生じたと判断されたときにオンとなるフラグであり、そのオン/オフ状態は、RAM110の所定の記憶領域に記憶されている。   When the payout process of step S12 is completed, the CPU 106 next determines whether or not the state of the end flag stored in the predetermined storage area of the RAM 110 is on (step S13). If the CPU 106 determines in step S11 described above that the medal payout number is not stored in the predetermined storage area of the RAM 110 (NO), it immediately performs the process of step S13. This end flag is a flag that is turned on when it is determined that an abnormality has occurred in the random number generated by the random number generation device 112 in the random number check process described later. Is remembered.

ステップS13において、終了フラグがオフになっている(NO)とCPU106が判断したときは、ステップS2の処理へ戻り、次の単位遊技を行うためのメダル投入処理などを行う。これに対して、終了フラグがオンになっている(YES)と判断したときは、次にCPU106は、継続フラグがオンになっているか否かを判断する(ステップS14)。この継続フラグは、後述する乱数チェック処理において、乱数発生装置112が発生する乱数に異常が生じたと判断されたときに、ステップS7の乱数取得処理によって取得された抽選用乱数が正常に発生されたものであった場合にオンとなるフラグである。この継続フラグのオン/オフ状態も、RAM110の所定の記憶領域に記憶されている。   In step S13, when the CPU 106 determines that the end flag is off (NO), the process returns to step S2, and a medal insertion process for performing the next unit game is performed. On the other hand, when determining that the end flag is on (YES), the CPU 106 next determines whether or not the continuation flag is on (step S14). This continuation flag indicates that the random number for lottery acquired by the random number acquisition process in step S7 is normally generated when it is determined that an abnormality has occurred in the random number generated by the random number generator 112 in the random number check process described later. It is a flag that is turned on when it is a thing. The on / off state of the continuation flag is also stored in a predetermined storage area of the RAM 110.

ステップS14において、継続フラグがオンになっている(YES)とCPU106が判断したときは、ステップS2の処理へ戻り、次の単位遊技を行うためのメダル投入処理などを行う。これに対して、継続フラグがオフになっている(NO)と判断したときは、ステップS2へ戻らず、次の単位遊技を開始できない状態にする。この状態から再び遊技に関する制御を開始させるには、スロットマシン10の電源を一旦オフにして、後述する図26の電源断処理を行い、その後、電源をオンにして後述する図27の電源投入処理を行う必要がある。   In step S14, when the CPU 106 determines that the continuation flag is on (YES), the process returns to step S2, and a medal insertion process for performing the next unit game is performed. On the other hand, when it is determined that the continuation flag is off (NO), the process does not return to step S2, and the next unit game cannot be started. In order to start control relating to the game again from this state, the slot machine 10 is temporarily turned off and the power-off process shown in FIG. 26 described later is performed. Need to do.

このように、CPU106は、終了フラグがオフになっているときはステップS2〜S13の処理を繰り返し実行することで、遊技者は単位遊技を継続して行うことができる。また、終了フラグがオンになった場合であっても、継続フラグがオンになっていた場合は、引き続き単位遊技を行うことができる。   As described above, when the end flag is off, the CPU 106 can repeatedly execute the processing of steps S2 to S13, so that the player can continue the unit game. Even when the end flag is turned on, if the continuation flag is turned on, the unit game can be continued.

≪乱数取得処理の説明≫
次に、図9に示したメインルーチンのステップS7で実行される乱数取得処理の詳細な内容について、図10に示すフローチャートを参照して説明する。
CPU106が図9に示したメインルーチンのステップS7の処理に移行すると、図10に示す乱数取得処理を開始する。まず、CPU106は、RAM110に記憶されている異常検出用乱数取得無効フラグのオン/オフ状態を、オンにする(ステップS100)。この異常検出用乱数取得無効フラグは、後述する割込処理内で実行される乱数チェック処理を実行するか否かを指定するフラグであり、オフになっているときは乱数チェック処理が実行されるが、オンになっているときは実行されない。後述するように、乱数チェック処理では、基本的に割込信号の周期ごとに乱数の取得を行っているが、ステップS100のような判断処理を行うことにより、図10の乱数取得処理で乱数を取得する際に、乱数チェック処理に影響されることなく、確実に乱数を取得することができる。
≪Explanation of random number acquisition process≫
Next, the detailed contents of the random number acquisition process executed in step S7 of the main routine shown in FIG. 9 will be described with reference to the flowchart shown in FIG.
When the CPU 106 proceeds to the process of step S7 of the main routine shown in FIG. 9, the random number acquisition process shown in FIG. 10 is started. First, the CPU 106 turns on the on / off state of the abnormality detection random number acquisition invalid flag stored in the RAM 110 (step S100). This anomaly detection random number acquisition invalid flag is a flag that specifies whether or not to execute a random number check process executed in an interrupt process to be described later. When it is off, the random number check process is executed. Is not executed when turned on. As will be described later, in the random number check process, a random number is acquired basically every period of the interrupt signal. However, by performing a determination process such as step S100, the random number is acquired in the random number acquisition process of FIG. When acquiring, it is possible to reliably acquire a random number without being affected by the random number check process.

次にCPU106は、スロットマシン10の内部に設置されたメダルセレクタにおけるブロッカをオフにする(ステップS102)。これにより、メダル投入口32(図1参照)にメダルが投入されても、直ちにメダル払出口60から排出され、メダルの投入を受け付けない状態になる。次にCPU106は、図9に示したメインルーチンの処理とは別に、定期的に実行している割込処理を禁止する(ステップS104)。CPU106は、この割込処理を、例えば1.49ミリ秒ごとに外部から供給される割込信号に応じて実行しており、1回の割込処理において、前述した遊技開始信号や停止指示信号のように外部から入力される信号のチェック、ステッピングモータ80L,80C,80Rの駆動制御、後述する乱数チェック処理および異常発生処理などの各種処理を行っている。ただし、上述したステップS104で割込処理が禁止されているときに、外部から割込信号が供給された場合、CPU106は、その割込信号に応じて割込処理を行わない。   Next, the CPU 106 turns off the blocker in the medal selector installed inside the slot machine 10 (step S102). As a result, even if a medal is inserted into the medal insertion slot 32 (see FIG. 1), it is immediately discharged from the medal payout outlet 60, and the medal insertion is not accepted. Next, the CPU 106 prohibits the interrupt process that is periodically executed separately from the process of the main routine shown in FIG. 9 (step S104). The CPU 106 executes this interrupt process in response to an interrupt signal supplied from the outside every 1.49 milliseconds, for example. In one interrupt process, the above-described game start signal and stop instruction signal are executed. Thus, various processes such as checking of signals input from the outside, driving control of the stepping motors 80L, 80C, 80R, random number check processing and abnormality occurrence processing described later are performed. However, when an interrupt signal is supplied from the outside when the interrupt process is prohibited in step S104 described above, the CPU 106 does not perform the interrupt process according to the interrupt signal.

次にCPU106は、入出力バス104のデータバスDAT(8ビット幅)を介して、乱数発生装置112が生成した16ビットの乱数のうち、下位8ビットの値を取得し(ステップS106)、次いで上位8ビットの値を取得する(ステップS108)。ステップS106およびS108によって取得された下位8ビット、上位8ビットの乱数は、各々、CPU106のレジスタまたはRAM110の所定の記憶領域に記憶され、抽選用乱数として図9のステップS32における役抽選処理に利用される。このように、乱数発生装置112によって生成される乱数は16ビットであるが、データバスDATのバス幅が8ビットであるため、CPU106は、16ビットの乱数を、下位8ビットと上位8ビットとの2回に分けて取得している。また、乱数生成装置112においては、CPU106が、乱数の下位8ビットを取得してから、上位8ビットを取得するまでの間に、CPU106が取得する乱数値を更新してしまわないように、例えば、16ビットのデータラッチ回路などによって、遊技者がスタートスイッチ36を操作したタイミングに基づいて、生成した16ビットの乱数値を保持しておく必要がある。次にCPU106は、ステップS104で禁止した割込処理を許可する(ステップS110)。これにより、ステップS110の処理以降、外部から割込信号が供給された場合、CPU106は、その割込信号に応じて上述した割込処理を実行する。   Next, the CPU 106 acquires the lower 8-bit value of the 16-bit random number generated by the random number generator 112 via the data bus DAT (8-bit width) of the input / output bus 104 (step S106). A value of upper 8 bits is acquired (step S108). The lower 8 bits and the upper 8 bits of random numbers acquired in steps S106 and S108 are respectively stored in a register of the CPU 106 or a predetermined storage area of the RAM 110 and used as a random number for lottery in the role lottery process in step S32 of FIG. Is done. Thus, although the random number generated by the random number generator 112 is 16 bits, since the bus width of the data bus DAT is 8 bits, the CPU 106 converts the 16-bit random number into lower 8 bits and upper 8 bits. It is acquired in two times. In addition, in the random number generation device 112, for example, the CPU 106 may not update the random value acquired by the CPU 106 after acquiring the lower 8 bits of the random number and before acquiring the upper 8 bits. It is necessary to hold the generated 16-bit random value based on the timing when the player operates the start switch 36 by a 16-bit data latch circuit or the like. Next, the CPU 106 permits the interrupt process prohibited in step S104 (step S110). Thereby, after the process of step S110, when an interrupt signal is supplied from the outside, the CPU 106 executes the above-described interrupt process according to the interrupt signal.

次にCPU106は、RAM110に記憶されている乱数異常判定回数nの値を「2」にセットする(ステップS112)。この乱数異常判定回数nは、乱数発生装置112で生成された乱数に異常が発生している可能性が有るか否かの判定を行う残りの回数を示すものである。すなわち、図10に示す乱数取得処理では、上述した乱数異常判定を基本的には2回行うことになる。次にCPU106は、RAM110に記憶されている乱数準異常検出情報の内容を「正常」に設定する(ステップS114)。乱数準異常検出情報は、乱数発生装置112で生成された乱数に異常が発生している可能性が有るか否かを示す情報であり、その内容が「正常」のときは、生成された乱数が正常であることを意味し、「異常」のときは、生成された乱数が異常である可能性があることを意味する。   Next, the CPU 106 sets the value of the random number abnormality determination count n stored in the RAM 110 to “2” (step S112). This random number abnormality determination count n indicates the remaining number of times to determine whether or not there is a possibility that an abnormality has occurred in the random number generated by the random number generation device 112. That is, in the random number acquisition process shown in FIG. 10, the random number abnormality determination described above is basically performed twice. Next, the CPU 106 sets the content of the random number semi-abnormality detection information stored in the RAM 110 to “normal” (step S114). The random number quasi-abnormality detection information is information indicating whether or not there is a possibility that an abnormality has occurred in the random number generated by the random number generator 112. When the content is “normal”, the generated random number Means that the generated random number may be abnormal.

次にCPU106は、乱数異常判定回数nの値が「2」であるか否かを判断する(ステップS116)。そして、乱数異常判定回数nの値が「2」である(YES)と判断したときは、前回取得した抽選用乱数を比較乱数と定める(ステップS118)。ここで、前回取得した抽選用乱数とは、前回の遊技で、遊技者がスタートスイッチ36を操作したことによって、図10に示す乱数取得処理が行われた際に取得された抽選用乱数をいう。この抽選用乱数は、前回の遊技で実行された図10の乱数取得処理におけるステップS132の処理(後述する)によって、RAM110に記憶されたものである。また、比較乱数とは、ステップS106およびS108の処理によって取得された抽選用乱数(以下、今回取得された抽選用乱数という)と、比較される乱数をいう。   Next, the CPU 106 determines whether or not the value of the random number abnormality determination count n is “2” (step S116). If it is determined that the value of the random number abnormality determination count n is “2” (YES), the lottery random number acquired last time is determined as a comparative random number (step S118). Here, the random number for lottery acquired last time refers to the random number for lottery acquired when the random number acquisition process shown in FIG. 10 is performed by the player operating the start switch 36 in the previous game. . This random number for lottery is stored in the RAM 110 by the process of step S132 (described later) in the random number acquisition process of FIG. 10 executed in the previous game. The comparative random number is a random number to be compared with the random number for lottery acquired by the processing of steps S106 and S108 (hereinafter referred to as the random number for lottery acquired this time).

ステップS118の処理によって、前回取得された抽選用乱数が比較乱数と定められると、CPU106は、まず、比較乱数の下位8ビットの値と、今回取得された抽選用乱数の下位8ビットの値とが、一致したか否かを判断する(ステップS120)。CPU106が、両者の値が一致した(YES)と判断したときは、次に、比較乱数の上位8ビットの値と、今回取得された抽選用乱数の上位8ビットの値とが、一致したか否かを判断する(ステップS122)。そして、CPU106が、両者の値が一致した(YES)と判断したときは、前回取得した抽選用乱数の値と、今回取得した抽選用乱数の値が同じであることを意味する。この場合、CPU106は、乱数異常判定回数nの値を「1」減算し(ステップS124)、乱数異常判定回数nの値が「0」になったか否かを判断する(ステップS126)。   When the lottery random number acquired last time is determined as the comparison random number by the process of step S118, the CPU 106 first determines the value of the lower 8 bits of the comparison random number and the value of the lower 8 bits of the lottery random number acquired this time. Are determined to match (step S120). If the CPU 106 determines that the two values match (YES), then whether the upper 8-bit value of the comparison random number matches the upper 8-bit value of the lottery random number acquired this time It is determined whether or not (step S122). When the CPU 106 determines that both values match (YES), it means that the value of the random number for lottery acquired last time is the same as the value of the random number for lottery acquired this time. In this case, the CPU 106 subtracts “1” from the value of the random number abnormality determination number n (step S124), and determines whether or not the value of the random number abnormality determination number n has become “0” (step S126).

これに対して、CPU106がステップS120またはS122の処理で、両者の値が一致しなかった(NO)と判断したときは、後述するステップS132の処理に直ちに移行する。ここで、ステップS120またはS122の処理で、両者の値が一致しなかったと判断された場合は、乱数発生装置112において、乱数値の更新が行われていることになるため、乱数が正常に生成されているものとみなす。   On the other hand, when the CPU 106 determines in step S120 or S122 that the two values do not match (NO), the CPU 106 immediately proceeds to step S132 described later. If it is determined in step S120 or S122 that the two values do not match, the random number generator 112 has updated the random number value, so the random number is generated normally. It is regarded as being done.

ステップS126の処理において、CPU106が乱数異常判定回数nの値が「0」ではない(NO)と判断したときは、再度、ステップS120およびS122の処理による比較を行うべく、ステップS116の処理へ戻る。この場合、乱数異常判定回数nの値は「1」になっているので、ステップS116の判断結果はNOとなり、CPU106は、直前に取得した異常検出用乱数を比較乱数と定める(ステップS128)。ここで、異常検出用乱数は、前述した割込処理内で実行される乱数チェック処理(後述する)で取得される乱数である。また、「直前に取得した異常検出用乱数」とは、図10の乱数取得処理が行われる以前の乱数チェック処理のうち、直近に実行された乱数チェック処理で取得された異常検出用乱数をいう。   When the CPU 106 determines that the value of the random number abnormality determination count n is not “0” (NO) in the process of step S126, the process returns to the process of step S116 again to perform comparison by the processes of steps S120 and S122. . In this case, since the value of the random number abnormality determination number n is “1”, the determination result in step S116 is NO, and the CPU 106 determines the abnormality detection random number acquired immediately before as a comparative random number (step S128). Here, the abnormality detection random number is a random number acquired by a random number check process (described later) executed in the interrupt process described above. The “abnormality detection random number acquired immediately before” refers to the abnormality detection random number acquired in the most recent random number check process in the random number check process before the random number acquisition process in FIG. .

ステップS128の処理によって、ステップS120およびS122では、直前に取得した異常検出用乱数の値と、今回取得された抽選用乱数の値との比較を行うことになる。そして、この比較を行った結果、CPU106がステップS120またはS122の処理で、両者の値が一致しなかった(NO)と判断したときは、後述するステップS132の処理に直ちに移行する。これに対して、ステップS120およびS122の処理で、いずれも両者の値が一致した(NO)と判断したときは、ステップS124の処理で乱数異常判定回数nの値(このときは「1」になっている)が「1」減算される。これにより、ステップS126の判断結果がYESとなり、CPU106は、ステップS114で「正常」にセットした乱数準異常情報の内容を「異常」に更新する(ステップS130)。   By the process of step S128, in steps S120 and S122, the value of the abnormality detection random number acquired immediately before is compared with the value of the random number for lottery acquired this time. As a result of this comparison, when the CPU 106 determines in step S120 or S122 that the values do not match (NO), the process immediately proceeds to step S132 described later. On the other hand, when it is determined that both values match (NO) in the processes of steps S120 and S122, the value of the random number abnormality determination number n (in this case, “1” is determined) in the process of step S124. 1) is subtracted. As a result, the determination result in step S126 is YES, and the CPU 106 updates the content of the random number quasi-abnormal information set to “normal” in step S114 to “abnormal” (step S130).

そして、CPU106は、ステップS106およびS108で取得した抽選用乱数を、次に乱数取得処理を行う際の「前回取得した抽選用乱数」とすべく、RAM110に記憶する(ステップS132)。ここで、CPU106が、ステップS120またはS122の判断処理でNOと判断したときは、直ちにステップS132の処理へ移行するため、ステップS130の処理によって乱数準異常情報の内容が「異常」に更新されない。よって、乱数準異常情報の内容は、ステップS114の処理によってセットされた「正常」が維持される。次いでCPU106は、ステップS100でオン状態にした異常検出用乱数取得無効フラグをオフ状態にして(ステップS134)、図10に示す乱数取得処理を終了し、図9のステップS8の役抽選処理に移行する。   Then, the CPU 106 stores the random number for lottery acquired in steps S106 and S108 in the RAM 110 so as to be the “random number for lottery acquired last time” when the next random number acquisition process is performed (step S132). Here, when the CPU 106 determines NO in the determination process of step S120 or S122, the process immediately proceeds to the process of step S132, so that the content of the random number quasi-abnormality information is not updated to “abnormal” by the process of step S130. Therefore, the content of the random number quasi-abnormal information is maintained as “normal” set by the process of step S114. Next, the CPU 106 turns off the abnormality detection random number acquisition invalid flag that was turned on in step S100 (step S134), ends the random number acquisition process shown in FIG. 10, and proceeds to the role lottery process in step S8 of FIG. To do.

ここで、上述した乱数取得処理のステップS116〜S130の処理による乱数の異常判定の流れについて、図11に示すタイミングチャートを参照して説明する。図11において、Fは1つの乱数周期を示し、RST0は今回取得された抽選用乱数、RST(−1)は前回取得された抽選用乱数、RINT0は直前に取得された異常検出用乱数を示している。また、図11において、各抽選用乱数および異常検出用乱数に対応して図示された矢印は、その乱数が取得されたタイミングを示している。 Here, the flow of the random number abnormality determination by the processes in steps S116 to S130 of the random number acquisition process described above will be described with reference to the timing chart shown in FIG. In FIG. 11, F indicates one random number cycle, R ST 0 is the lottery random number acquired this time, R ST (−1) is the lottery random number acquired last time, and R INT 0 is the abnormality acquired immediately before. A random number for detection is shown. In FIG. 11, the arrows shown corresponding to the random numbers for lottery and the random number for abnormality detection indicate the timing at which the random numbers are acquired.

まず、図10のステップS106およびS108の処理によって抽選用乱数RST0が取得されると、図11(a)に示すように、最初の乱数の異常判定では、ステップS120およびS122において、前回取得された抽選用乱数RST(−1)の値との比較が行われる。このとき、両者の値が一致しなければ、ステップS120またはS122の判断結果がNOとなって、乱数準異常検出情報の内容は「正常」のまま、ステップS132の処理へ移行することになる。 First, when the lottery random number R ST 0 is acquired by the processing of steps S106 and S108 in FIG. 10, as shown in FIG. 11A, in the first random number abnormality determination, the previous acquisition is performed in steps S120 and S122. The lottery random number R ST (−1) is compared. If the two values do not match at this time, the determination result in step S120 or S122 is NO, and the process proceeds to step S132 while the content of the random number semi-abnormality detection information remains “normal”.

これに対して、図11(b−1)に示すように、最初の乱数の異常判定において、ステップS120およびS122の処理により、今回取得された抽選用乱数RST0の値と、前回取得された抽選用乱数RST(−1)の値とが一致したと判断されたときは(ステップS122,YES)、ステップS124の処理によって乱数異常判定回数nの値が「1」となり、ステップS126における判断の結果、ステップ116へ戻り、2回の異常判定が行われることになる。この場合、ステップS116の判断結果がNOとなるため、ステップS128の処理により、今回取得された抽選用乱数RST0との比較対象は、直前に取得された異常検出用乱数RINT0となる。 On the other hand, as shown in FIG. 11 (b-1), in the first random number abnormality determination, the lottery random number R ST 0 obtained this time and the previous value obtained by the processing of steps S120 and S122 are obtained. When it is determined that the lottery random number R ST (−1) matches the value (step S122, YES), the value of the random number abnormality determination count n becomes “1” by the process of step S124. As a result of the determination, the process returns to step 116 and two abnormality determinations are made. In this case, since the determination result in step S116 is NO, the object to be compared with the lottery random number R ST 0 acquired this time is the abnormality detection random number R INT 0 acquired immediately before by the process in step S128. .

ここで、直前に取得された異常検出用乱数RINT0が、図11(b−2)の実線で示すように、今回取得された抽選用乱数RST0と同じ乱数周期内で取得されていたとすると、ステップS120またはS122の判断処理によって、両者の値が一致したと判断された場合は、乱数発生装置112によって生成された乱数に異常が生じたと断定することができる。しかしながら、直前に取得された異常検出用乱数RINT0が、図11(b−2)の破線で示すように、今回取得された抽選用乱数RST0と異なる乱数周期で取得されていた場合は、両者の値が一致したとしても、乱数発生装置112によって生成された乱数が正常な場合があり得る。 Here, the anomaly detection random number R INT 0 acquired immediately before is acquired within the same random number cycle as the lottery random number R ST 0 acquired this time, as shown by the solid line in FIG. 11 (b-2). If it is determined in step S120 or S122 that the two values match, it can be determined that an abnormality has occurred in the random number generated by the random number generator 112. However, when the abnormality detection random number R INT 0 acquired immediately before is acquired with a random number period different from the lottery random number R ST 0 acquired this time, as indicated by the broken line in FIG. In some cases, even if the two values match, the random number generated by the random number generator 112 may be normal.

すなわち、乱数発生器112は、図6(a)および(b)に示した各テーブル(厳密には、これらのテーブルの内容に則して、16ビットの乱数発生用に拡張させたテーブル)に基づいて乱数値を更新しているため、クロック信号に応じて更新される乱数値の順序は、各乱数周期Fごとに異なっている。このため、今回取得された抽選用乱数RST0と、直前に取得された異常検出用乱数RINT0とが、異なる乱数周期で取得されていた場合は、極めて低い確率ではあるが、乱数発生装置112が正常に作動していても、偶然同じ値が取得される場合がある。 That is, the random number generator 112 converts each table shown in FIGS. 6A and 6B (strictly, a table expanded for generating 16-bit random numbers in accordance with the contents of these tables). Since the random number value is updated based on the random number value, the order of the random number value updated according to the clock signal is different for each random number period F. Therefore, if the lottery random number R ST 0 acquired this time and the anomaly detection random number R INT 0 acquired immediately before are acquired at different random number cycles, the random number is generated although it is an extremely low probability. Even if the device 112 is operating normally, the same value may be obtained by chance.

このため、2回目の異常判定において、ステップS120およびS122の処理で、今回取得された抽選用乱数RST0の値と、直前に取得された異常検出用乱数RINT0の値とが一致し(ステップS122,YES)、ステップS130において、乱数準異常検出情報の内容が「異常」に更新されたとしても、正常である可能性を完全には排除できない。故に、図10の乱数取得処理による異常検出情報は、「乱数“準”異常検出情報」となっており、仮に乱数準異常検出情報の内容が「異常」であっても、扱いとしては「準異常」となる。そこで、より正確な異常判定を行うために、スロットマシン10では、次に説明する乱数チェック処理を行っている。 For this reason, in the second abnormality determination, in the processes of steps S120 and S122, the value of the lottery random number R ST 0 acquired this time matches the value of the abnormality detection random number R INT 0 acquired immediately before. (Step S122, YES) In step S130, even if the content of the random number quasi-abnormality detection information is updated to “abnormal”, the possibility of being normal cannot be completely excluded. Therefore, the abnormality detection information by the random number acquisition process of FIG. 10 is “random number“ quasi ”anomaly detection information”. Even if the content of the random number quasi anomaly detection information is “abnormal”, It becomes "abnormal". Therefore, in order to perform more accurate abnormality determination, the slot machine 10 performs a random number check process described below.

≪乱数チェック処理の説明≫
次に、CPU106が、1.49ミリ秒ごとに外部から供給される割込信号に応じて実行する割込処理の中で行われる、乱数チェック処理の詳細な内容について、図12に示すフローチャートを参照して説明する。なお、上述した割込処理では、以下に説明する乱数チェック処理の他にも、前述したモータ駆動回路114(図5参照)へ駆動パルスを出力する処理、スタートスイッチ36およびストップスイッチ37L,37C,37Rを含む操作手段300からの信号を読み取る処理、および後述する異常発生処理などの各種処理も行われている。
≪Description of random number check process≫
Next, a detailed flowchart of the random number check process performed in the interrupt process executed by the CPU 106 in response to an interrupt signal supplied from outside every 1.49 milliseconds is shown in the flowchart shown in FIG. The description will be given with reference. In the interrupt process described above, in addition to the random number check process described below, the process for outputting a drive pulse to the motor drive circuit 114 (see FIG. 5), the start switch 36 and the stop switches 37L, 37C, Various processes such as a process of reading a signal from the operation means 300 including 37R and an abnormality occurrence process described later are also performed.

まず、CPU106は、RAM110に記憶されている異常検出用乱数取得無効フラグの状態が、オンになっているか否かを判断する(ステップS200)。異常検出用乱数取得無効フラグの状態がオンになっていた場合(YES)は、図10に示した乱数取得処理が行われているものとみなして、直ちに乱数チェック処理を終了する。これに対して、異常検出用乱数取得無効フラグの状態がオンになっていた場合(YES)、CPU106は、入出力バス104のデータバスDATを介して、乱数発生装置112が生成した16ビットの乱数のうち、下位8ビットの値を取得し(ステップS201)、次いで上位8ビットの値を取得する(ステップS202)。これにより、下位8ビット、上位8ビットに分けて取得された16ビットの乱数は、異常検出用乱数として、後述するステップS204およびS205における比較処理に用いられる。なお、ステップS201およびS202の処理によって取得された異常検出用乱数を、以下では、今回取得された異常検出用乱数という。   First, the CPU 106 determines whether or not the state of the abnormality detection random number acquisition invalid flag stored in the RAM 110 is on (step S200). When the state of the abnormality detection random number acquisition invalid flag is on (YES), it is considered that the random number acquisition process shown in FIG. 10 is being performed, and the random number check process is immediately terminated. In contrast, when the abnormality detection random number acquisition invalid flag is on (YES), the CPU 106 uses the data bus DAT of the I / O bus 104 to generate the 16-bit generated by the random number generator 112. Among the random numbers, a lower 8-bit value is acquired (step S201), and then an upper 8-bit value is acquired (step S202). As a result, the 16-bit random number acquired separately for the lower 8 bits and the upper 8 bits is used for comparison processing in steps S204 and S205 described later as an abnormality detection random number. Note that the abnormality detection random number acquired by the processes in steps S201 and S202 is hereinafter referred to as the abnormality detection random number acquired this time.

次にCPU106は、RAM110に記憶されている乱数異常検出情報の内容を「正常」に設定する(ステップS203)。乱数異常検出情報は、乱数発生装置112で生成された乱数に異常が発生したか否かを示す情報であり、その内容が「正常」のときは、生成された乱数が正常であることを意味し、「異常」のときは、生成された乱数が異常であることを意味する。   Next, the CPU 106 sets the content of the random number abnormality detection information stored in the RAM 110 to “normal” (step S203). The random number abnormality detection information is information indicating whether or not an abnormality has occurred in the random number generated by the random number generator 112. When the content is “normal”, it means that the generated random number is normal. However, “abnormal” means that the generated random number is abnormal.

次にCPU106は、RAM110に記憶されている前回取得された異常判定用乱数の下位8ビットの値と、ステップS201の処理によって取得された異常判定用乱数の下位8ビットの値とが、一致したか否かを判断する(ステップS204)。ここで、前回取得された異常判定用乱数とは、CPU106が、前回の割込処理で図12の乱数チェック処理を行ったときに、ステップS201およびS202の処理によって取得された異常判定用乱数をいう。この異常判定用乱数は、後述するステップS214の処理によってRAM110に記憶される。ステップS204の処理において、CPU106が、両者の値が一致した(YES)と判断したときは、次に、前回取得された異常判定用乱数の上位8ビットの値と、ステップS202の処理によって取得された異常判定用乱数の上位8ビットの値とが、一致したか否かを判断する(ステップS205)。   Next, the CPU 106 matches the lower 8 bits value of the abnormality determination random number previously acquired stored in the RAM 110 with the lower 8 bits value of the abnormality determination random number acquired by the process of step S201. Whether or not (step S204). Here, the abnormality determination random number acquired last time is the abnormality determination random number acquired by the processing of steps S201 and S202 when the CPU 106 performed the random number check processing of FIG. 12 in the previous interruption processing. Say. This abnormality determination random number is stored in the RAM 110 by the process of step S214 described later. If the CPU 106 determines that the two values match (YES) in the process of step S204, then the upper 8 bits of the abnormality determination random number acquired last time and the process of step S202 are acquired. It is determined whether or not the upper 8 bits of the abnormality determination random number match (step S205).

ここで、CPU106が、両者の値が一致した(YES)と判断したときは、前回取得された異常検出用乱数の値と、今回取得された抽選用乱数の値が同じであることを意味する。この場合、CPU106は、乱数異常回数errの値に「1」を加算し(ステップS206)、乱数異常回数errの値が「2」になったか否かを判断する(ステップS207)。ここで、乱数異常回数errの値は、割込信号が供給されるごとに割込処理が実行されることによって、図12の乱数チェック処理が刻々と行われていく過程で(但し、乱数チェック処理を行う際に異常検出用乱数取得無効フラグがオンになっていた場合を除く)、ステップS204およびS205における双方の判断結果が、連続してYESとなった回数を計数するための値である。すなわち、errの値が「2」になるということは、例えば、今回行った図12の乱数チェック処理において、前回取得された異常検出用乱数の値と、今回取得された抽選用乱数の値とが同じであると判断され、次に図12の乱数チェック処理を行ったときにも、前回取得された異常検出用乱数の値と、今回取得された抽選用乱数の値とが同じであると判断されたことを意味する。   Here, when the CPU 106 determines that both values match (YES), it means that the value of the abnormality detection random number acquired last time is the same as the value of the lottery random number acquired this time. . In this case, the CPU 106 adds “1” to the value of the random number abnormality count err (step S206), and determines whether or not the value of the random number abnormality count err has become “2” (step S207). Here, the value of the random number abnormality count err is determined in the process of performing the random number check process of FIG. 12 by executing the interrupt process every time the interrupt signal is supplied (however, the random number check is performed). This is a value for counting the number of times that both determination results in steps S204 and S205 are YES in succession (except when the abnormality detection random number acquisition invalid flag is turned on at the time of processing). . That is, when the value of err becomes “2”, for example, in the random number check process of FIG. 12 performed this time, the value of the abnormality detection random number acquired last time and the value of the random number for lottery acquired this time are When the random number check processing of FIG. 12 is performed next, the value of the abnormality detection random number acquired last time is the same as the value of the random number for lottery acquired this time. It means that it was judged.

ステップS207の判断処理において、CPU106が、乱数異常回数errの値が「2」になった(YES)と判断したときは、乱数異常回数errの値を「0」にし(ステップS208)、RAM110に記憶されている終了フラグの状態をオンにする(ステップS209)。この終了フラグは、乱数発生装置112において乱数値の更新が正常に行われていないと判断されたときにオンになるフラグであり、オン/オフ状態は、RAM110の所定の記憶領域に記憶されている。スロットマシン10は、終了フラグがオンになっている場合、基本的には単位遊技が行われないように制御するが、詳しくは後述するように、終了フラグがオンになっている場合でも、継続フラグのオン/オフ状態に応じて引き続き単位遊技を実行可能とする。   In the determination process of step S207, when the CPU 106 determines that the value of the random number abnormality number err has become “2” (YES), the value of the random number abnormality number err is set to “0” (step S208), and the RAM 110 stores the value. The state of the stored end flag is turned on (step S209). This end flag is a flag that is turned on when the random number generator 112 determines that the random number value has not been updated normally. The on / off state is stored in a predetermined storage area of the RAM 110. Yes. When the end flag is turned on, the slot machine 10 basically controls so that the unit game is not performed. However, as will be described in detail later, the slot machine 10 continues even when the end flag is turned on. The unit game can be continuously executed according to the on / off state of the flag.

次に、CPU106は、RAM110に記憶されている乱数準異常検出情報の内容が、「正常」になっているか否かを判断する(ステップS210)。この乱数準異常検出情報は、図10に示した乱数取得処理のステップS114で「正常」にセットされ、乱数の値が正常に更新されていない可能性が有る場合は、図10のステップS130で「異常」に更新されるものである。そして、乱数準異常検出情報の内容が「正常」出会った場合は、次にCPU106は、現在、単位遊技が行われているか否かを判断する(ステップS211)。どのような状態を単位遊技中とみなすかは適宜定めればよいが、例えば、遊技者によってスタートスイッチ36が操作されてから、全てのリール40が停止して、単位遊技の結果に応じた処理(例えば、メダルの払い出し処理など)が終了するまでの間を単位遊技中としても良い。   Next, the CPU 106 determines whether or not the content of the random number quasi-abnormality detection information stored in the RAM 110 is “normal” (step S210). This random number quasi-abnormality detection information is set to “normal” in step S114 of the random number acquisition process shown in FIG. It is updated to “abnormal”. When the content of the random number semi-abnormality detection information is “normal”, the CPU 106 next determines whether or not a unit game is currently being performed (step S211). What state is considered to be considered as a unit game may be determined as appropriate. For example, after the start switch 36 is operated by the player, all reels 40 are stopped, and processing according to the result of the unit game is performed. A unit game may be performed until (for example, medal payout processing) is completed.

そして、CPU106が単位遊技の実行中である(YES)と判断したときは、RAM110の所定の記憶領域に記憶されている継続フラグの状態(初期状態はオフ)を、オン状態にして(ステップS212)、ステップS203でセットした乱数異常検出情報の内容を「異常」に更新する(ステップS213)。これに対して、CPU106が、ステップS210の判断処理で、乱数準異常検出情報が「異常」である(NO)、または、S211の判断処理で、現在、単位遊技中ではない(NO)、と判断したときは、継続フラグの状態をオンにすることなく、直ちにステップS213の処理へ移行する。この継続フラグがオンになっているときは、上述した終了フラグがオンになっているときでも、引き続き単位遊技を実行することができる。そしてCPU106は、ステップS201およびS202の処理によって取得された異常検出用乱数を、次に乱数チェック処理を行うときの「前回取得された異常検出用乱数」とすべく、RAM110に記憶して(ステップS214)、図12に示す乱数チェック処理を終了する。   When the CPU 106 determines that the unit game is being executed (YES), the state of the continuation flag stored in the predetermined storage area of the RAM 110 (the initial state is off) is turned on (step S212). ) The content of the random number abnormality detection information set in step S203 is updated to “abnormal” (step S213). On the other hand, the CPU 106 determines that the random number quasi-abnormality detection information is “abnormal” in the determination process in step S210 (NO), or that the unit game is not currently in the determination process in S211 (NO). If it is determined, the process immediately proceeds to step S213 without turning on the state of the continuation flag. When the continuation flag is on, the unit game can be continuously executed even when the above-described end flag is on. Then, the CPU 106 stores the abnormality detection random number acquired by the processes of steps S201 and S202 in the RAM 110 so as to be a “previously acquired abnormality detection random number” when the next random number check process is performed (step S201). S214), the random number check process shown in FIG.

これに対して、ステップS207の処理で、CPU106がerrの値が「2」ではない(NO)と判断したときは、ステップS208〜S213の処理を行わずに、ステップS214の処理へ移行する。ここで、ステップS207の判断処理は、ステップS206の処理によってerrの値に「1」が加算された後に行われるため、errの値が「2」ではないと判断された場合、errの値は「1」になっていることを意味する。この場合、ステップS213の処理が行われないため、この段階では、乱数異常検出情報の内容が「異常」に更新されることはない。また、ステップS208の処理も行われないため、次に図12の乱数チェック処理が行われる際に、errの値が「1」になっている。   On the other hand, when the CPU 106 determines that the value of err is not “2” (NO) in the process of step S207, the process proceeds to the process of step S214 without performing the processes of steps S208 to S213. Here, since the determination process of step S207 is performed after “1” is added to the value of err by the process of step S206, when it is determined that the value of err is not “2”, the value of err is It means “1”. In this case, since the process of step S213 is not performed, the content of the random number abnormality detection information is not updated to “abnormal” at this stage. Also, since the process of step S208 is not performed, the value of err is “1” when the random number check process of FIG. 12 is performed next.

また、ステップS204またはS205のいずれかの処理で、CPU106が、両者の値が一致しない(NO)と判断した場合は、乱数発生装置112において、乱数値の更新が行われており、乱数が正常に生成されているものとみなし、errの値を「0」にする(ステップS215)。そして、ステップS214の処理へ移行して、ステップS201およびS202の処理によって取得された異常検出用乱数を、RAM110に記憶する。   If the CPU 106 determines that the values do not match (NO) in either step S204 or S205, the random number generator 112 has updated the random number value and the random number is normal. The value of err is set to “0” (step S215). Then, the process proceeds to step S214, and the abnormality detection random number acquired by the processes in steps S201 and S202 is stored in the RAM 110.

ここで、基本的に割込処理が行われるごとに実行される、図12の乱数チェック処理におけるステップS201およびS202の処理によって取得される、異常検出用乱数の時間的な間隔、および、図12の乱数チェック処理におけるステップS204〜S215の処理による乱数の異常判定の流れについて、図13に示すタイミングチャートを参照して説明する。   Here, the time interval of the abnormality detection random number acquired by the processing of steps S201 and S202 in the random number check processing of FIG. 12 that is executed whenever interrupt processing is performed, and FIG. A random number abnormality determination process in steps S204 to S215 in the random number check process will be described with reference to a timing chart shown in FIG.

まず、図13(a)を参照して、クロック信号の周期と、異常検出用乱数の取得タイミングとの関係について説明する。この図において、fCKはクロック信号の周期を示し、RINT0〜2は、各々、乱数チェック処理が実行されたときに取得された異常検出用乱数を示している。そして、異常検出用乱数RINT0〜2の各々に対応して図示されている矢印は、各異常検出用乱数が取得されたタイミングを示している。また、Δtは各異常検出用乱数が取得される時間的な間隔を示している。なお、図13(a)においては、クロック信号の周期と、各異常検出用乱数の取得タイミングとの関係を理解しやすくするために、Δtは実際の間隔よりも短く図示している。 First, with reference to FIG. 13A, the relationship between the period of the clock signal and the acquisition timing of the abnormality detection random number will be described. In this figure, f CK indicates the period of the clock signal, and R INT 0 to 2 indicate abnormality detection random numbers acquired when the random number check process is executed. The arrows shown corresponding to each of the abnormality detection random numbers R INT 0 to 2 indicate the timing at which each abnormality detection random number is acquired. Δt represents a time interval at which each abnormality detection random number is acquired. In FIG. 13A, Δt is shown to be shorter than the actual interval in order to facilitate understanding of the relationship between the cycle of the clock signal and the acquisition timing of each abnormality detection random number.

図13(a)に示すように、各異常検出用乱数の取得は、クロック信号の立下りタイミングに同期して行われている。これは、乱数発生装置112における乱数値の更新が、クロック信号の立上りタイミングで行われているため、乱数値の更新中に異常検出用乱数を取得してしまうのを避けるためである。また、乱数発生装置112において、乱数値の更新が行われる前に、複数の異常検出用乱数を取得しないように、Δtの時間は、最短でもクロック信号の周期fCKよりも長く設定される必要がある。ここでは、前述したように乱数発生装置112における乱数値の更新周期(クロック信号の周期)が139.68ナノ秒であるのに対し、割込信号の周期が1.49ミリ秒になっているため、Δtの時間が乱数発生装置112における乱数値の更新周期よりも短くなることはない。なお、図12の乱数チェック処理は、割込処理の中で行われる複数の処理の1つであるため、乱数チェック処理よりも前に行われる処理が完了するまでの時間に応じて、1回の割込処理の中で乱数チェック処理が開始されるタイミングが常に一定になるとは限らない。 As shown in FIG. 13A, each abnormality detection random number is acquired in synchronization with the falling timing of the clock signal. This is because the random number generator 112 updates the random number value at the rising edge of the clock signal, and thus avoids obtaining an abnormality detection random number during the random number value update. In addition, before the random number generator 112 updates the random number value, the time Δt needs to be set to be longer than the cycle f CK of the clock signal at the shortest so that a plurality of abnormality detection random numbers are not acquired. There is. Here, as described above, while the random number value update period (clock signal period) in the random number generator 112 is 139.68 nanoseconds, the interrupt signal period is 1.49 milliseconds. Therefore, the time Δt does not become shorter than the random number update cycle in the random number generation device 112. Note that the random number check process in FIG. 12 is one of a plurality of processes performed in the interrupt process, and therefore, once according to the time until the process performed before the random number check process is completed. The timing at which the random number check process is started in the interrupt process is not always constant.

また、Δtの時間は、最長でも、2つの連続する乱数周期F内に、少なくとも3つの異常検出用乱数を取得することができる長さに設定する必要がある。このようにΔtの時間を設定することで、3つの異常検出用乱数のうち、連続するいずれか2つの異常検出用乱数、すなわち、1番目と2番目に取得された異常検出用乱数、または、2番目と3番目に取得された異常検出用乱数は、必ず同じ乱数周期内で取得することができる。これにより、同じ乱数周期内で取得された2つの異常検出用乱数が異なる値であれば、乱数発生装置112における乱数値の更新が正常に行われていることになり、同じ値であれば乱数値が更新されていないことがわかる。   In addition, the time Δt needs to be set to a length that allows at least three abnormality detection random numbers to be acquired within two consecutive random number periods F at the longest. By setting the time Δt in this way, any two consecutive abnormality detection random numbers among the three abnormality detection random numbers, that is, the first and second acquired abnormality detection random numbers, or The abnormality detection random numbers acquired second and third can always be acquired within the same random number cycle. As a result, if the two abnormality detection random numbers acquired within the same random number period are different values, the random number generator 112 has normally updated the random number value. It turns out that the numerical value is not updated.

以上を踏まえて、図12に示した乱数チェック処理による乱数の異常判定の流れについて、図13(b)および(c)を参照して説明する。これらの図において、Fは1つの乱数周期を示し、errは図12の乱数チェック処理における乱数異常回数errを示している。また、その他の記号については、図13(a)と同様である。   Based on the above, the flow of random number abnormality determination by the random number check process shown in FIG. 12 will be described with reference to FIGS. 13B and 13C. In these figures, F represents one random number period, and err represents the random number abnormality frequency err in the random number check process of FIG. Other symbols are the same as those in FIG.

まず、図12のステップS201およびS202の処理によって異常検出用乱数RINT1が取得されたとすると、ステップS204およびS205の処理によって、異常検出用乱数RINT1の値と、前回の乱数チェック処理において取得された異常検出用乱数RINT0の値とが、比較される。そして、図13(b)に示すように、CPU106が、両者の値が異なっている(ステップS204またはS205の判断結果がNO)と判断したときは、ステップS215の処理でerrの値が「0」され、ステップS214の処理で異常検出用乱数RINT1が、次の乱数チェック処理における「前回取得した異常検出用乱数」として、RAM110に記憶される。また、このときステップS213の処理は行われないので、乱数異常検出情報の内容は、ステップS203でセットされた「正常」が維持される。 First, when the abnormality detection random number R INT 1 is acquired by the processing in steps S201 and S202 in FIG. 12, the processing of steps S204 and S205, the value of the abnormality detection random number R INT 1, in the random number check processing of the previous The obtained value of the abnormality detection random number R INT 0 is compared. Then, as shown in FIG. 13B, when the CPU 106 determines that the two values are different (the determination result of step S204 or S205 is NO), the value of err is “0” in the process of step S215. In step S214, the abnormality detection random number R INT 1 is stored in the RAM 110 as “anomaly detection random number acquired last time” in the next random number check process. At this time, since the process of step S213 is not performed, “normal” set in step S203 is maintained as the content of the random number abnormality detection information.

なお、図13(b)に示す場合において、異常検出用乱数RINT1の値と、異常検出用乱数RINT0の値とが一致したと判断された場合でも、直ちに乱数に異常が生じたとは判断せず、異常検出用乱数RINT1と、次の乱数チェック処理で取得された異常検出用乱数との比較結果に応じて、異常が生じたか否かが判断される。例えば、図13(c)に示すように、今回取得された異常検出用乱数RINT1の値と、前回取得された異常検出用乱数RINT0の値とが一致した(ステップS205の判断結果がYES)場合は、ステップS206の処理によってerrの値が「1」となり、ステップS207の判断結果がNOとなって、ステップS214の処理で、異常検出用乱数RINT1が次の乱数チェック処理における「前回取得した異常検出用乱数」として、RAM110に記憶される。 Incidentally, in the case shown in FIG. 13 (b), the value of the abnormality detection random number R INT 1, even when the value of the abnormality detection random number R INT 0 is determined to match, abnormality occurs immediately random number Is not determined, and whether or not an abnormality has occurred is determined according to a comparison result between the abnormality detection random number R INT 1 and the abnormality detection random number acquired in the next random number check process. For example, as shown in FIG. 13C, the value of the abnormality detection random number R INT 1 acquired this time matches the value of the abnormality detection random number R INT 0 acquired last time (the determination result of step S205). Is YES), the value of err becomes “1” by the process of step S206, the determination result of step S207 is NO, and the abnormality detection random number R INT 1 is the next random number check process by the process of step S214. Is stored in the RAM 110 as “anomaly detection random number acquired last time”.

そして、次の乱数チェック処理で異常検出用乱数RINT2が取得されると、ステップS204およびS205の処理によって、異常検出用乱数RINT2の値と、異常検出用乱数RINT1の値とが比較される。その結果、両者の値が一致しなかった(ステップS204またはS205の判断結果がNO)と判断されたときは、ステップS215の処理でerrの値が「0」され、ステップS214の処理へ移行する。これにより、ステップS213の処理が行われないため、乱数異常検出情報の内容は、ステップS203でセットされた「正常」が維持される。すなわち、この場合は、異常検出用乱数RINT0と、異常検出用乱数RINT1とは、互いに異なる乱数周期で取得されたものであり、偶然同じ値が取得されたものとみなす。 Then, when the abnormality detection random number R INT 2 is acquired in the next random number check process, the values of the abnormality detection random number R INT 2 and the values of the abnormality detection random number R INT 1 are obtained by the processes of steps S204 and S205. Are compared. As a result, when it is determined that the two values do not match (the determination result of step S204 or S205 is NO), the value of err is “0” in the process of step S215, and the process proceeds to step S214. . Thereby, since the process of step S213 is not performed, the “normal” set in step S203 is maintained as the content of the random number abnormality detection information. That is, in this case, the abnormality detection random number R INT 0 and the abnormality detection random number R INT 1 are acquired at different random number cycles, and it is assumed that the same value is acquired by chance.

これに対して、異常検出用乱数RINT2の値と、異常検出用乱数RINT1の値とが、一致した(ステップS205の判断結果がYES)と判断された場合は、ステップS206の処理によってerrの値が「2」にされる。これにより、ステップS207の判断結果がYESとなって、ステップS213の処理により、乱数異常検出情報の内容が「異常」に更新される。すなわち、異常検出用乱数RINT0と、異常検出用乱数RINT1とが、互いに異なる乱数周期で取得され、偶然同じ値が取得されたと仮定すると、異常検出用乱数RINT1と異常検出用乱数RINT2とは、同じ乱数周期で取得されたことになり、しかも両者の値が一致していることから、乱数発生装置112において乱数の更新が正常に行われていないことになる。 On the other hand, if it is determined that the value of the abnormality detection random number R INT 2 matches the value of the abnormality detection random number R INT 1 (the determination result of step S205 is YES), the process of step S206 is performed. As a result, the value of err is set to “2”. Thereby, the determination result of step S207 becomes YES, and the content of the random number abnormality detection information is updated to “abnormal” by the process of step S213. That is, assuming that the abnormality detection random number R INT 0 and the abnormality detection random number R INT 1 are acquired at different random number cycles and the same value is acquired by chance, the abnormality detection random number R INT 1 and the abnormality detection random number R INT 1 are detected. The random number R INT 2 is acquired at the same random number cycle, and since both values match, the random number generator 112 does not normally update the random number.

このように、クロック信号の周期fCKの時間と、2つの連続する乱数周期Fの時間とを考慮して、Δtの時間を前述した内容に従って設定し、連続して取得した3つの異常検出用乱数の値が一致したときに、生成された乱数に異常が生じたと判定することで、各乱数周期において更新される乱数値の順序が異なる場合であっても、正確な異常判定を行うことができる。 Thus, in consideration of the time of the clock signal cycle f CK and the time of two consecutive random number cycles F, the time of Δt is set according to the above-described content, and the three abnormality detection results obtained successively. By determining that an abnormality has occurred in the generated random number when the random number values match, accurate abnormality determination can be performed even when the order of the random number values updated in each random number period is different. it can.

≪入賞判定処理の説明≫
次に、図9に示したメインルーチンのステップS10で実行される入賞判定処理の詳細な内容について、図14に示すフローチャートを参照して説明する。
まず、CPU106は、表示窓22に停止表示された9つの図柄の種類を認識する(ステップS40)。そして、CPU106は、RAM110に記憶されている現在の遊技状態を示す情報を参照し、現在の遊技状態が「通常遊技」であるか否かを判断する(ステップS41)。通常遊技中である(YES)と判断した場合、CPU106は、小役1a,1b、小役2a,2bおよび小役3のいずれかが入賞したか否かを判断する(ステップS42)。
≪Explanation of winning determination process≫
Next, detailed contents of the winning determination process executed in step S10 of the main routine shown in FIG. 9 will be described with reference to the flowchart shown in FIG.
First, the CPU 106 recognizes nine types of symbols stopped and displayed on the display window 22 (step S40). Then, the CPU 106 refers to the information indicating the current gaming state stored in the RAM 110, and determines whether or not the current gaming state is “normal game” (step S41). If it is determined that a normal game is being played (YES), the CPU 106 determines whether or not any of the small roles 1a and 1b, the small roles 2a and 2b, and the small role 3 has been won (step S42).

すなわち、有効ラインL1〜L5のいずれかに沿って、小役1a,1b、小役2a,2bまたは小役3に対応する図柄の組合せが停止表示された場合は、その小役が入賞したものとして、規定数(通常遊技であるため3枚)に応じた払出枚数(図7参照)をRAM110の所定の記憶領域に記憶する(ステップS43)。この処理によってRAM110に記憶された払出枚数のメダルが、図9のステップS12に示した払い出し処理によって遊技者に払い出される。   That is, when a combination of symbols corresponding to the small roles 1a, 1b, the small roles 2a, 2b or the small role 3 is stopped and displayed along any of the effective lines L1 to L5, the winning combination of the small role As shown in FIG. 7, the payout number (see FIG. 7) corresponding to the specified number (three because it is a normal game) is stored in a predetermined storage area of the RAM 110 (step S43). Through this process, the medals of the number of payouts stored in the RAM 110 are paid out to the player by the payout process shown in step S12 of FIG.

ステップS42の判断処理で、小役が入賞していない(NO)とCPU106が判断した場合は、次に、再遊技役a〜cのいずれかが成立したか否かを判断する(ステップS44)。そして、有効ラインL1〜L5のいずれかに沿って、再遊技役a〜cのいずれかに対応する図柄の組合せが停止表示された場合は(YES)、その再遊技役が成立したものとして、RAM110に記憶されている再遊技成立フラグのオン/オフ状態をオンに更新する(ステップS45)。これにより、次の単位遊技では、図9のステップS2における判断結果がYESとなり、メダルを投入することなく単位遊技を行うことができる。   If the CPU 106 determines that the small combination has not won (NO) in the determination process of step S42, it is next determined whether any of the re-game players a to c is established (step S44). . And, when the combination of symbols corresponding to any of the re-game players a to c is stopped and displayed along any of the active lines L1 to L5 (YES), it is assumed that the re-game game is established, The on / off state of the re-game establishment flag stored in the RAM 110 is updated to on (step S45). Thereby, in the next unit game, the determination result in step S2 of FIG. 9 is YES, and the unit game can be performed without inserting medals.

ステップS44の判断処理で、再遊技役が成立していない(NO)とCPU106が判断した場合は、次に、BB役a、BB役bまたはBB役cが成立したか否かを判断する(ステップS46)。そして、有効ラインL1〜L5のいずれかに沿って、BB役a、BB役bまたはBB役cに対応する図柄の組合せが停止表示された場合は(YES)、そのBB役が成立したものとして、RAM110に記憶されている現在の遊技状態を示す情報を「BB遊技」に更新する(ステップS47)。次いで、CPU106は、RAM110に記憶されている各役に対応する当選フラグのうち、成立したBB役に対応する当選フラグをオフにする(ステップS48)。   If the CPU 106 determines in step S44 that the re-game combination is not established (NO), it is next determined whether the BB combination a, the BB combination b, or the BB combination c is established ( Step S46). If the combination of symbols corresponding to the BB combination a, BB combination b or BB combination c is stopped and displayed along any of the effective lines L1 to L5 (YES), it is assumed that the BB combination is established. The information indicating the current gaming state stored in the RAM 110 is updated to “BB gaming” (step S47). Next, the CPU 106 turns off the winning flag corresponding to the established BB combination among the winning flags corresponding to each combination stored in the RAM 110 (step S48).

ステップS46の判断処理で、BB役が成立していない(NO)とCPU106が判断した場合は、次に、MB役aまたはMB役bが成立したか否かを判断する(ステップS49)。そして、有効ラインL1〜L5のいずれかに沿って、MB役aまたはMB役bに対応する図柄の組合せが停止表示された場合は(YES)、そのMB役が成立したものとして、RAM110に記憶されている現在の遊技状態を示す情報を「MB遊技」に更新する(ステップS50)。次いで、CPU106は、RAM110に記憶されている各役に対応する当選フラグのうち、成立したMB役に対応する当選フラグをオフにする(ステップS51)。   If the CPU 106 determines that the BB combination is not established (NO) in the determination process of step S46, it is next determined whether the MB combination a or the MB combination b is established (step S49). If the combination of symbols corresponding to MB combination a or MB combination b is stopped and displayed along any of the effective lines L1 to L5 (YES), it is stored in the RAM 110 as the MB combination is established. The information indicating the current gaming state is updated to “MB gaming” (step S50). Next, the CPU 106 turns off the winning flag corresponding to the established MB winning combination among the winning flags corresponding to each winning combination stored in the RAM 110 (step S51).

次に、CPU106は、RAM110に記憶されている各役に対応する当選フラグのうち、BB役a、BB役b、BB役c、MB役aおよびMB役b(特別役)に対応する当選フラグ以外の当選フラグをオフにする(ステップS52)。そして、CPU106は、今回の単位遊技の結果および、現在の遊技状態情報を、副制御回路200へ送信する(ステップS53)。ここで、遊技結果情報には、成立した役の有無や成立した役の種類を示す情報が含まれている。また、遊技状態情報には、現在の遊技状態(通常遊技、MB遊技またはBB遊技)を示す情報が含まれている。そして、副制御回路200へ遊技結果情報および遊技状態情報を送信すると、CPU106は、図14に示す入賞判定処理を終了して、図9に示したステップS11の処理へ進む。   Next, among the winning flags corresponding to each combination stored in the RAM 110, the CPU 106 selects winning flags corresponding to the BB combination a, BB combination b, BB combination c, MB combination a, and MB combination b (special combination). The other winning flags are turned off (step S52). Then, the CPU 106 transmits the result of the current unit game and the current game state information to the sub control circuit 200 (step S53). Here, the game result information includes information indicating the presence / absence of a winning combination and the type of winning combination. The game state information includes information indicating the current game state (normal game, MB game, or BB game). Then, when the game result information and the game state information are transmitted to the sub control circuit 200, the CPU 106 ends the winning determination process shown in FIG. 14, and proceeds to the process of step S11 shown in FIG.

このように、通常遊技中(ステップS41,YES)は、小役、再遊技役、BB役およびMB役について、各々成立したか否かを判断し、成立したと判断した場合は、成立した役の種類に応じて各種の処理を行う。このうち、小役、再遊技役またはBB役が成立したときの処理(ステップS43、S45またはS48)を行うと、または、単位遊技の結果がハズレだった場合(ステップS49,NO)は、図12のステップS212の処理によってオンにされた継続フラグを、種々の条件に応じてオフにする処理を行う。   In this way, during the normal game (step S41, YES), it is determined whether or not each of the small role, the replaying role, the BB role, and the MB role has been established. Various types of processing are performed according to the type. Among these, when the processing when the small combination, re-playing combination or BB combination is established (step S43, S45 or S48) or when the result of the unit game is lost (step S49, NO), The process of turning off the continuation flag turned on by the process of 12 step S212 is performed according to various conditions.

まず、CPU106は、RAM110に記憶されているMB役aまたはMB役bに対応する当選フラグ(以下、MB当選フラグという)の状態がオンであるか否かを判断する(ステップS54)。MB当選フラグがオフ(NO)だった場合は、MB役の当選状態が持ち越されていない状態であることから、継続フラグをオフにする処理を行う。すなわち、CPU106は、RAM110に記憶されている継続フラグの状態がオンになっているか否かを判断し(ステップS55)、オンになっていた場合(YES)は、オフ状態に更新し(ステップS56)、上述したステップS52の処理へ移行する。   First, the CPU 106 determines whether or not the state of the winning flag (hereinafter referred to as the MB winning flag) corresponding to the MB combination a or MB combination b stored in the RAM 110 is on (step S54). When the MB winning flag is off (NO), the winning state of the MB combination is not carried over, so the process of turning off the continuation flag is performed. That is, the CPU 106 determines whether or not the state of the continuation flag stored in the RAM 110 is turned on (step S55). If it is turned on (YES), it is updated to the off state (step S56). ), The process proceeds to step S52 described above.

この処理によって、通常遊技中であり、かつ、MB当選フラグがオフになっているときに、継続フラグがオンになっていた場合は、入賞判定処理において継続フラグがオフにされるため、継続フラグがオンにされた単位遊技(図12のステップS211,YES→S212)が終了すると、図9のステップS14の判断処理がNOとなって、次の単位遊技が開始されない状態となる。
なお、ステップS55の判断処理で、継続フラグの状態がオフになっていた場合(NO)は、直ちにステップS52の処理へ移行する。
By this process, if the continuation flag is on when the normal game is in progress and the MB winning flag is off, the continuation flag is turned off in the winning determination process. When the unit game for which is turned on (step S211, YES → S212 in FIG. 12) is completed, the determination process in step S14 in FIG. 9 is NO, and the next unit game is not started.
Note that if the state of the continuation flag is OFF in the determination process of step S55 (NO), the process immediately proceeds to the process of step S52.

これに対して、ステップS54の判断処理で、MB役に対応する当選フラグがオン(YES)になっていた場合、すなわち、MB役の当選状態が持ち越されている場合、つぎにCPU106は、今回の単位遊技で再遊技役が成立したか否かを判断するため、RAM110に記憶されている再遊技成立フラグの状態がオンになっているか否かを判断する(ステップS57)。ここで、再遊技成立フラグの状態がオフになっていた(NO)場合は、直ちにステップS52の処理へ移行する。これにより、通常遊技中にMB当選フラグのオン状態が持ち越されており、かつ、再遊技役が成立していない場合は、継続フラグがオフにされることがないため、引き続き単位遊技を行うことができる。   On the other hand, if the winning flag corresponding to the MB combination is turned on (YES) in the determination process of step S54, that is, if the winning state of the MB combination is carried over, the CPU 106 next In order to determine whether or not a re-game player has been established in this unit game, it is determined whether or not the state of the re-game establishment flag stored in the RAM 110 is on (step S57). If the re-game establishment flag is off (NO), the process immediately proceeds to step S52. As a result, the continuation flag will not be turned off when the MB winning flag on state is carried over during the normal game and the re-game player is not established, so the unit game is continued. Can do.

また、ステップS57の判断処理で、再遊技成立フラグがオンになっている(YES)とCPU106が判断した場合は、ステップS55へ進み、継続フラグがオンになっている場合は、ステップS56へ進んで継続フラグをオフにする。すなわち、通常遊技中にMB当選フラグのオン状態が持ち越されている場合であっても、再遊技役が成立している場合は、継続フラグがオフにされて、次の単位遊技を行うことができなくなる。これは、乱数発生装置112が発生する乱数の値が、再遊技役の当選数値範囲(「45115」〜「54092」;図8(a)参照)のいずれかの値で更新されなくなってしまった場合に対応するためである。すなわち、このような状態で引き続き単位遊技を行ったとすると、役抽選において必ず再遊技役が当選し、再遊技役とMB役とが成立し得る状態となるが、リール停止制御によって、MB役よりも再遊技役が優先して成立することになる。よって、MB役を成立させることができない状態となるため、単位遊技を中止するのである。   If the CPU 106 determines in the determination process in step S57 that the re-game establishment flag is on (YES), the process proceeds to step S55. If the continuation flag is on, the process proceeds to step S56. To turn off the continuation flag. That is, even if the on-state of the MB winning flag is carried over during the normal game, if the re-game player is established, the continuation flag is turned off and the next unit game can be performed. become unable. This is because the value of the random number generated by the random number generator 112 is not updated with any value in the winning numerical value range of the re-gamer (“45115” to “54092”; see FIG. 8A). This is to cope with the case. That is, if a unit game is continuously performed in such a state, a re-game role is always won in the role lottery, and a re-game role and an MB role can be established. However, the re-gamer will be established with priority. Therefore, since the MB combination cannot be established, the unit game is stopped.

次に、ステップS41の判断処理において、現在の遊技状態が特別遊技中、すなわち、MB遊技中またはBB遊技中だった場合(NO)、CPU106は、単位遊技の結果、いずれかの小役が入賞したか否かを判断する(ステップS58)。すなわち、有効ラインL1〜L5のいずれかに沿って、小役1a,1b、小役2a,2b、小役3または小役4に対応する図柄の組合せが停止表示された場合は、その小役が入賞したものとして、規定数(特別遊技であるため2枚)に応じた払出枚数(図7参照)をRAM110の所定の記憶領域に記憶する(ステップS59)。この処理によってRAM110に記憶された払出枚数のメダルが、図9のステップS12に示した払い出し処理によって遊技者に払い出される。   Next, in the determination process of step S41, when the current gaming state is in the special game, that is, in the MB game or the BB game (NO), the CPU 106 receives one of the small roles as a result of the unit game. It is determined whether or not (step S58). That is, when a combination of symbols corresponding to the small roles 1a and 1b, the small roles 2a and 2b, the small roles 3 or the small roles 4 is stopped and displayed along any of the effective lines L1 to L5, As a winning, the number of payouts (see FIG. 7) corresponding to the specified number (2 because it is a special game) is stored in a predetermined storage area of the RAM 110 (step S59). Through this process, the medals of the number of payouts stored in the RAM 110 are paid out to the player by the payout process shown in step S12 of FIG.

そして、現在の遊技中に払い出したメダルの合計枚数に、ステップS59で記憶した払出枚数を加算して(ステップS60)、その合計枚数が、現在行っている特別遊技の終了条件を満たしたか否かを判断する(ステップS61)。なお、ステップS58の判断処理で、CPU106が、今回の単位遊技の結果、小役に入賞しなかった(NO)と判断した場合は、直ちにステップS61の判断処理を行う。CPU106が、終了条件を満たしていない(NO)と判断した時は、現在行っている特別遊技がMB遊技であるか否かを判断する(ステップS62)。ここで、BB遊技中だった場合(NO)は、ステップS55の処理へ進み、継続フラグがオンになっていた場合(YES)は、ステップS56の処理へ進み、継続フラグをオフにした後、ステップS52の処理へ移行する。   Then, the payout number stored in step S59 is added to the total number of medals paid out during the current game (step S60), and whether or not the total number satisfies the end condition of the special game currently being performed. Is determined (step S61). If it is determined in step S58 that the CPU 106 has not won a small role as a result of the current unit game (NO), the CPU 106 immediately performs the determination process in step S61. When the CPU 106 determines that the end condition is not satisfied (NO), it determines whether or not the special game being played is an MB game (step S62). If the BB game is in progress (NO), the process proceeds to step S55. If the continuation flag is on (YES), the process proceeds to step S56, and after the continuation flag is turned off, The process proceeds to step S52.

一方、ステップS62の判断処理において、MB遊技中だった場合(YES)は、直接、ステップS52の処理へ移行する。これにより、MB遊技中は、継続フラグがオフにされることがないため、引き続き単位遊技を行うことができる。
また、ステップS61の判断処理で、CPU106が、現在行っている特別遊技の終了条件が成立した(YES)と判断したときは、現在の遊技状態を「通常遊技」にして(ステップS63)、ステップS55の処理へ移行する。そして、ステップS55の処理で、継続フラグがオンになっていた場合(YES)は、ステップS56の処理へ進み、継続フラグをオフにした後、ステップS52の処理へ移行する。
On the other hand, in the determination process of step S62, if the game is in the MB game (YES), the process directly proceeds to the process of step S52. Thereby, during the MB game, the continuation flag is not turned off, so that the unit game can be continued.
If the CPU 106 determines in the determination process in step S61 that the conditions for ending the special game being played are satisfied (YES), the current game state is set to “normal game” (step S63), The process proceeds to S55. If the continuation flag is turned on in step S55 (YES), the process proceeds to step S56. After the continuation flag is turned off, the process proceeds to step S52.

このように、スロットマシン10においては、単位遊技中に乱数が正常に更新されないという不具合が生じた場合であっても、役抽選に使用された乱数が正常なものであった場合は、その単位遊技が終了するまで遊技に関する制御を行うため、遊技者は、単位遊技を最後まで実行することができる。また、正常な乱数に基づく役抽選によってMB役が当選した場合は、その後、乱数に異常が生じたとしても、遊技者は、当選したMB役に基づくMB遊技を最後まで行うことができる。このため、遊技者が享受すべきMB遊技の機会を消滅させることなく、遊技者へ付与することができ、MB遊技による遊技者の利益が保証される。また、MB遊技中は役抽選の結果に依存しない単位遊技が行われるため、乱数に異常が生じたまま遊技を継続させたとしても、遊技店に著しい不利益を与えることがない。   As described above, in the slot machine 10, even if a problem occurs that the random number is not normally updated during the unit game, if the random number used in the role lottery is normal, the unit Since the control related to the game is performed until the game ends, the player can execute the unit game to the end. In addition, when an MB combination is won by a combination lottery based on a normal random number, even if an abnormality occurs in the random number thereafter, the player can play an MB game based on the selected MB combination to the end. For this reason, it can be given to the player without annihilating the MB game opportunity that the player should enjoy, and the player's profit by the MB game is guaranteed. In addition, since unit games that do not depend on the result of the lottery are performed during the MB game, even if the game is continued with an abnormality in the random number, there is no significant disadvantage to the game store.

なお、図14に示した入賞判定処理では、ステップS57の処理により、MB役の当選を持ち越しているときに、再遊技役の当選数値範囲のいずれかの値(以下、当選値という)で乱数の値が更新されなくなった場合は、継続フラグをオフにするように制御している。しかしながら、例えば、周知の乱数発生装置によって生成されたハードウェア乱数に、他の値を加算したものを、役抽選に用いている場合は、乱数発生装置に異常が生じてハードウェア乱数の値が更新されなくなったとしても、他の値が変化していれば、役抽選に用いる乱数の値も変化するため、図14のステップS57の処理を省いてもよい。ここで、ハードウェア乱数に加算する他の値としては、例えば、予め設定しておいた一定の値、CPUにおいて逐次更新される値(例えば、Z80系CPUにおけるRレジスタの値)および周知のソフトウェア乱数の値などであってもよい。さらに、小役の当選値で乱数の値が更新されなくなった場合にも、継続フラグをオフにするように制御してもよい。また、この場合において、小役の当選フラグがオンになっていたときに、継続フラグをオフにするように制御しても良いが、その他にも、小役が入賞したことによる払出枚数が、予め定めていた枚数を超えた場合に継続フラグをオフにするように制御しても良い。   In the winning determination process shown in FIG. 14, when the winning combination of the MB combination is carried over by the processing of step S57, a random number is selected with any value in the winning numerical value range of the re-playing combination (hereinafter referred to as the winning value). When the value of is no longer updated, the continuation flag is controlled to be turned off. However, for example, when a value obtained by adding another value to a hardware random number generated by a well-known random number generator is used for the lottery, an abnormality occurs in the random number generator and the value of the hardware random number is Even if it is no longer updated, since the value of the random number used for the winning lottery also changes if other values have changed, the processing in step S57 in FIG. 14 may be omitted. Here, as other values to be added to the hardware random number, for example, a predetermined value that is set in advance, a value that is sequentially updated in the CPU (for example, the value of the R register in the Z80 CPU), and known software It may be a random value. Furthermore, the continuation flag may be controlled to be turned off even when the random number value is not updated with the winning value of the small combination. Further, in this case, when the winning flag for the small role is turned on, the continuation flag may be controlled to be turned off. Control may be performed so that the continuation flag is turned off when the number of sheets exceeds a predetermined number.

≪乱数取得処理および乱数チェック処理の変形例≫
上述したように、本実施形態のスロットマシンでは、遊技者がスタートスイッチ36を操作したことに起因して、図10に示した乱数取得処理を行うとともに、外部から割込信号が定期的に供給されるごとに、図12に示した乱数チェック処理を行い、各々の処理において乱数の異常判定を行っている。以下では、図10の乱数取得処理および図12の乱数チェック処理について、これらの方法とは異なる方法によって乱数の異常判定を行う場合の例について説明する。
≪Modification of random number acquisition process and random number check process≫
As described above, in the slot machine of the present embodiment, the random number acquisition process shown in FIG. 10 is performed due to the player operating the start switch 36, and an interrupt signal is periodically supplied from the outside. Each time the random number check process shown in FIG. 12 is performed, the abnormality determination of the random number is performed in each process. In the following, an example in which abnormality determination of random numbers is performed by a method different from these methods for the random number acquisition process of FIG. 10 and the random number check process of FIG. 12 will be described.

<乱数取得処理の変形例(1)>
図15に、図10に示した乱数取得処理とは異なる方法によって乱数の異常を判定する乱数取得処理のフローチャートを示す。なお、図15に示す乱数取得処理は、図10に示した乱数取得処理の代わりに実行されるものであり、外部から定期的に供給される割込信号に応じて図12の乱数チェック処理を行う点については変わりない。また、図15に示すフローチャートにおいて、図10のフローチャートと同様の処理を行うステップについては、同じステップ番号を付与し、それらの詳しい説明は省略する。図15に示すフローチャートでは、図10のフローチャートのステップS112〜S130の処理を行う代わりに、ステップS140〜S148の処理を行っている。
<Modification of random number acquisition process (1)>
FIG. 15 shows a flowchart of a random number acquisition process for determining abnormality of random numbers by a method different from the random number acquisition process shown in FIG. The random number acquisition process shown in FIG. 15 is executed instead of the random number acquisition process shown in FIG. 10, and the random number check process shown in FIG. There is no change in what to do. Further, in the flowchart shown in FIG. 15, steps that perform the same processing as in the flowchart of FIG. In the flowchart shown in FIG. 15, the processes of steps S140 to S148 are performed instead of the processes of steps S112 to S130 of the flowchart of FIG. 10.

図15に示すフローチャートのステップS110において、CPU106がステップS104で禁止した割込処理を許可すると、次にCPU106は、乱数異常検出情報の内容を「正常」に設定する(ステップS140)。ここで、図10に示した乱数取得処理では、異常判定の結果を乱数準異常検出情報によって示していたが、図15に示す乱数取得処理では、異常判定の結果、「異常」と判定したときには、乱数値が正常に更新されている可能性が完全に否定される確実な異常判定を行っているため、異常判定の結果を乱数異常検出情報によって示している。   In step S110 of the flowchart shown in FIG. 15, when CPU 106 permits the interrupt process prohibited in step S104, CPU 106 next sets the content of random number abnormality detection information to “normal” (step S140). Here, in the random number acquisition process shown in FIG. 10, the result of the abnormality determination is indicated by the random number semi-abnormality detection information. However, in the random number acquisition process shown in FIG. Since the reliable abnormality determination that completely denies the possibility that the random number value is normally updated is performed, the result of the abnormality determination is indicated by the random number abnormality detection information.

次にCPU106は、図12に示した乱数チェック処理によって、図15に示す乱数取得処理を開始する直前に取得された異常検出用乱数(以下、単に「直前に取得された異常検出用乱数」という)の下位8ビットの値と、ステップS106で取得された抽選用乱数の下位8ビットの値とが、一致するか否かを判断する(ステップS142)。CPU106が、両者の値が一致した(YES)と判断したときは、次に、直前に取得された異常検出用乱数の上位8ビットの値と、ステップS108で取得された抽選用乱数の上位8ビットの値とが、一致するか否かを判断する(ステップS144)。   Next, the CPU 106 performs the random number check process shown in FIG. 12 to obtain an abnormality detection random number acquired immediately before starting the random number acquisition process shown in FIG. 15 (hereinafter simply referred to as “anomaly detection random number acquired immediately before”). ) And the value of the lower 8 bits of the random number for lottery acquired in step S106 are judged (step S142). If the CPU 106 determines that both values match (YES), then the upper 8 bits of the abnormality detection random number acquired immediately before and the upper 8 bits of the lottery random number acquired in step S108. It is determined whether or not the bit value matches (step S144).

CPU106が、両者の値が一致した(YES)と判断した場合は、さらに図12の乱数チェック処理において更新される乱数異常回数errの値(図12のステップS206参照)が「1」になっているか否かを判断する(ステップS146)。この判断処理において、CPU106が、乱数異常回数errの値が「1」になっている(YES)と判断したときは、ステップS140で「正常」にセットされた乱数異常検出情報の内容を「異常」に更新する(ステップS148)。そして、CPU106は、ステップS132の処理へ進み、ステップS106およびS108で取得した抽選用乱数を、「前回取得した抽選用乱数」としてRAM110に記憶する。次いでCPU106は、ステップS134へ進み、ステップS100でオン状態にした異常検出用乱数取得無効フラグをオフ状態にして、図15に示す乱数取得処理を終了する。   If the CPU 106 determines that both values match (YES), the value of the random number abnormality count err (see step S206 in FIG. 12) updated in the random number check process in FIG. 12 becomes “1”. It is determined whether or not there is (step S146). In this determination process, when the CPU 106 determines that the value of the random number abnormality count err is “1” (YES), the content of the random number abnormality detection information set to “normal” in step S140 is set to “abnormal”. (Step S148). Then, the CPU 106 proceeds to the process of step S132, and stores the random numbers for lottery acquired in steps S106 and S108 in the RAM 110 as “the random numbers for lottery acquired last time”. Next, the CPU 106 proceeds to step S134, turns off the abnormality detection random number acquisition invalid flag that was turned on in step S100, and ends the random number acquisition process shown in FIG.

また、CPU106が、上述したステップS142の判断処理で、直前に取得された異常検出用乱数およびステップS106で取得された抽選用乱数の下位8ビットの値が一致しない(NO)と判断した場合、上述したステップS144の判断処理で、直前に取得された異常検出用乱数およびステップS108で取得された抽選用乱数の上位8ビットの値が一致しない(NO)と判断した場合、または、上述したステップS146の判断処理で、乱数異常回数errの値が「1」になっていない(NO)と判断した場合は、CPU106は、直ちにステップS132の処理を行い、ステップS134の処理を行った後、図15に示す乱数取得処理を終了する。   Further, when the CPU 106 determines in the determination process of step S142 described above that the abnormality detection random number acquired immediately before and the value of the lower 8 bits of the lottery random number acquired in step S106 do not match (NO), When it is determined in the determination process of step S144 described above that the value of the upper 8 bits of the abnormality detection random number acquired immediately before and the lottery random number acquired in step S108 do not match (NO), or the above-described step If it is determined in S146 that the value of the random number abnormality count err is not “1” (NO), the CPU 106 immediately performs the process of step S132 and the process of step S134. The random number acquisition process shown in FIG.

(異常判定の流れについての説明)
次に、上述した乱数取得処理のステップS142〜S148の処理による乱数の異常判定の流れについて、図16に示すタイミングチャートを参照して説明する。なお、図16に記載された各種記号および矢印については、図11および図13のタイミングチャートに記した各種記号および矢印と同様の意味を有する。
(Explanation of abnormality judgment flow)
Next, the flow of random number abnormality determination by the processes of steps S142 to S148 of the random number acquisition process described above will be described with reference to the timing chart shown in FIG. Note that the various symbols and arrows described in FIG. 16 have the same meaning as the various symbols and arrows described in the timing charts of FIGS. 11 and 13.

まず、遊技者によってスタートスイッチ36が操作されたことにより、図15のステップS106およびS108の処理によって抽選用乱数RST0が取得される。そして、ステップS142およびS144において、図16(a)に示すように直前に取得された異常検出用乱数RINT0の値と比較される。このとき、両者の値が一致しなければ、ステップS142またはS144の判断結果がNOとなって、乱数異常検出情報の内容は「正常」のまま、ステップS132の処理へ移行することになる。 First, when the start switch 36 is operated by the player, the lottery random number R ST 0 is acquired by the processing of steps S106 and S108 in FIG. Then, in steps S142 and S144, as shown in FIG. 16A, the value is compared with the value of the abnormality detection random number R INT 0 acquired immediately before. If the two values do not match at this time, the determination result in step S142 or S144 is NO, and the process proceeds to step S132 while the content of the random number abnormality detection information remains “normal”.

これに対して、図16(b)に示すように、抽選用乱数RST0の値と異常検出用乱数RINT0の値とが一致した場合は、ステップS142およびS144の判断結果がともにYESとなって、ステップS146において、乱数異常回数errの値が「1」になっているか否かが判断される。ここで、乱数異常回数errの値が「1」になっている場合とは、直前に取得された異常検出用乱数RINT0の値と、さらにその1回前に取得された異常検出用乱数RINT(−1)の値と、が一致した場合である(図12のステップS204〜S206参照)。すなわち、抽選用乱数RST0、異常検出用乱数RINT0および異常検出用乱数RINT(−1)の値が全て一致した場合である。 On the other hand, as shown in FIG. 16B, when the value of the lottery random number R ST 0 matches the value of the abnormality detection random number R INT 0, both the determination results in steps S142 and S144 are YES. Thus, in step S146, it is determined whether or not the value of the random number abnormality count err is “1”. Here, when the value of the random number abnormality count err is “1”, the value of the abnormality detection random number R INT 0 acquired immediately before and the abnormality detection random number acquired one time before that This is a case where the value of R INT (−1) matches (see steps S204 to S206 in FIG. 12). That is, the lottery random number R ST 0, the abnormality detection random number R INT 0, and the abnormality detection random number R INT (−1) all match.

よって、図15の乱数取得処理で異常検出用乱数取得無効フラグがオンになっている期間を考慮に含めた上で、図16(c)に示すように、異常検出用乱数RINT0およびRINT(−1)、ならびに抽選用乱数RST0が取得される時間tが、2つの連続する乱数周期F(=2F)よりも短くなるように、割込周期を設定することで、確実に乱数の異常を判定することができる。なお、図16(c)において、斜線のハッチングで示す範囲は、異常検出用乱数取得無効フラグがオンになっている期間(すなわち、図12の乱数チェック処理が禁止される期間)を示している。また同図では、異常検出用乱数RINT1が取得されるタイミングよりも、異常検出用乱数取得無効フラグがオンになったタイミングが僅かに早かったために、異常検出用乱数RINT1の取得が無効にされた場合を示している。 Therefore, after taking into account the period during which the abnormality detection random number acquisition invalid flag is on in the random number acquisition processing of FIG. 15, as shown in FIG. 16C, the abnormality detection random numbers R INT 0 and R INT By setting the interrupt period so that INT (−1) and the time t at which the lottery random number R ST 0 is acquired are shorter than two consecutive random number periods F (= 2F), it is ensured. Anomalies in random numbers can be determined. In FIG. 16C, the hatched range indicates a period during which the abnormality detection random number acquisition invalid flag is on (that is, a period during which the random number check process in FIG. 12 is prohibited). . In the figure, the timing at which the abnormality detection random number R INT 1 is obtained, for abnormality detection random number acquisition invalid flag was slightly earlier timing turned on, is acquired abnormality detection random number R INT 1 It shows the case where it is invalidated.

このように、図15に示した乱数取得処理では、遊技者によるスタートスイッチ36の操作に応じて取得された抽選用乱数RST0、当該抽選用乱数が取得される直前の乱数チェック処理で取得された異常検出用乱数RINT0、さらにその1回前の乱数チェック処理で取得された異常検出用乱数RINT(−1)の値が全て一致したときに、生成された乱数が異常であると判定している。 As described above, in the random number acquisition process shown in FIG. 15, the lottery random number R ST 0 acquired in accordance with the operation of the start switch 36 by the player, the random number check process immediately before the lottery random number is acquired. The generated random number is abnormal when all the values of the abnormality detection random number R INT 0 and the abnormality detection random number R INT (−1) acquired in the previous random number check process match. It is determined.

<乱数取得処理の変形例(2)>
次に図17に示すフローチャートを参照して、図10および図15に示した乱数取得処理とは異なる方法によって乱数の異常を判定する乱数取得処理のフローチャートを示す。なお、図10に示した乱数取得処理の代わりに図17に示す乱数取得処理を行った場合にも、外部から定期的に供給される割込信号に応じて図12の乱数チェック処理を行う点については変わりない。また、図17に示すフローチャートにおいて、図10のフローチャートと同様の処理を行うステップについては、同じステップ番号を付与し、それらの詳しい説明は省略する。図17に示すフローチャートでは、図10のフローチャートのステップS104〜S132の処理を行う代わりに、ステップS150〜S178の処理を行っている。
<Modification of random number acquisition process (2)>
Next, referring to a flowchart shown in FIG. 17, a flowchart of a random number acquisition process for determining abnormality of a random number by a method different from the random number acquisition process shown in FIG. 10 and FIG. Note that, when the random number acquisition process shown in FIG. 17 is performed instead of the random number acquisition process shown in FIG. 10, the random number check process of FIG. It does not change about. In the flowchart shown in FIG. 17, steps that perform the same processing as in the flowchart of FIG. 10 are given the same step numbers, and detailed descriptions thereof are omitted. In the flowchart shown in FIG. 17, steps S150 to S178 are performed instead of performing steps S104 to S132 in the flowchart of FIG. 10.

CPU106は、ステップS102の処理により、スロットマシン10の内部に設置されたメダルセレクタにおけるブロッカをオフにすると、RAM110に記憶されている乱数異常判定回数nの値を「3」に、セットする(ステップS150)。この乱数異常判定回数nは、乱数発生装置112で生成された乱数に異常が発生しているか否かの判定を行う残りの回数を示すものである。次にCPU106は、図10のステップS104の処理と同様に割込処理を禁止し(ステップS152)、乱数発生装置112が生成した16ビットの乱数のうち下位8ビットの値を、入出力バス104のデータバスDAT(8ビット幅)を介して取得する(ステップS154)。次にCPU106は、乱数発生装置112が生成した16ビットの乱数のうち上位8ビットの値を、入出力バス104のデータバスDATを介して取得する(ステップS156)。ステップS154およびS156によって取得された下位8ビット、上位8ビットの乱数は、各々、CPU106のレジスタまたはRAM110の所定の記憶領域に記憶される。   When the CPU 106 turns off the blocker in the medal selector installed inside the slot machine 10 by the processing of step S102, the CPU 106 sets the value of the random number abnormality determination count n stored in the RAM 110 to “3” (step S102). S150). The random number abnormality determination number n indicates the remaining number of times for determining whether an abnormality has occurred in the random number generated by the random number generator 112. Next, the CPU 106 prohibits the interrupt processing in the same manner as the processing in step S104 in FIG. Is obtained via the data bus DAT (8-bit width) (step S154). Next, the CPU 106 acquires the value of the upper 8 bits of the 16-bit random number generated by the random number generator 112 via the data bus DAT of the input / output bus 104 (step S156). The lower 8-bit and upper 8-bit random numbers acquired in steps S154 and S156 are stored in a register of the CPU 106 or a predetermined storage area of the RAM 110, respectively.

このように、乱数発生装置112によって生成される乱数は16ビットであるが、データバスDATのバス幅が8ビットであるため、CPU106は、16ビットの乱数を、下位8ビットと上位8ビットとの2回に分けて取得している。また、乱数生成装置112においては、CPU106が、乱数の下位8ビットを取得してから、上位8ビットを取得するまでの間に、CPU106が取得する乱数値を更新してしまわないように、例えば、16ビットのデータラッチ回路などによって、遊技者がスタートスイッチ36を操作したタイミングに基づいて、生成した16ビットの乱数値を保持しておく必要がある。   Thus, although the random number generated by the random number generator 112 is 16 bits, since the bus width of the data bus DAT is 8 bits, the CPU 106 converts the 16-bit random number into lower 8 bits and upper 8 bits. It is acquired in two times. In addition, in the random number generation device 112, for example, the CPU 106 may not update the random value acquired by the CPU 106 after acquiring the lower 8 bits of the random number and before acquiring the upper 8 bits. It is necessary to hold the generated 16-bit random value based on the timing when the player operates the start switch 36 by a 16-bit data latch circuit or the like.

次にCPU106は、ステップS152で禁止した割込処理を許可した後(ステップS158)、ステップS150でセットした乱数異常判定回数nの値(「3」)から「1」を減算し(ステップS160)、その結果、乱数異常判定回数nの値が「2」になったか否かを判断する(ステップS162)。ここで、図17の乱数取得処理を開始してから最初にステップS162の判断処理を行う際には、乱数異常判定回数nの値が「2」になっているため、判断結果はYESとなる。このためCPU106は、まず、ステップS154およびS156の処理によって取得された16ビットの乱数を、抽選用乱数としてRAM110の所定の記憶領域に記憶し(ステップS164)、さらに、同じ値の乱数を、比較用乱数として、RAM110の他の記憶領域に記憶する(ステップS166)。   Next, after permitting the interrupt processing prohibited in step S152 (step S158), the CPU 106 subtracts “1” from the value (“3”) of the random number abnormality determination number n set in step S150 (step S160). As a result, it is determined whether or not the value of the random number abnormality determination count n is “2” (step S162). Here, when the determination process of step S162 is performed for the first time after the random number acquisition process of FIG. 17 is started, the determination result is YES because the value of the random number abnormality determination number n is “2”. . For this reason, the CPU 106 first stores the 16-bit random number acquired by the processing in steps S154 and S156 in a predetermined storage area of the RAM 110 as a random number for lottery (step S164), and further compares the random numbers having the same value. The random number for use is stored in another storage area of the RAM 110 (step S166).

そして、CPU106は、RAM110に記憶されている乱数異常検出情報の内容を「正常」に設定する(ステップS168)。ここで、図17に示す乱数取得処理においても、異常判定の結果、「異常」と判定したときには、乱数値が正常に更新されている可能性が完全に否定される確実な異常判定を行っているため、異常判定の結果を乱数異常検出情報によって示している。そして、ステップS168の処理を終えると、ステップS152の処理へ戻って、再び割込処理を禁止し、上述したようにステップS160までの処理を行い、2度目の乱数の取得および乱数異常判定回数nの更新処理(n=「1」)を行う。   Then, the CPU 106 sets the content of the random number abnormality detection information stored in the RAM 110 to “normal” (step S168). Here, also in the random number acquisition process shown in FIG. 17, when it is determined as “abnormal” as a result of the abnormality determination, a reliable abnormality determination that completely denies the possibility that the random number value is normally updated is performed. Therefore, the result of the abnormality determination is indicated by random number abnormality detection information. When the process of step S168 is completed, the process returns to the process of step S152, the interrupt process is again prohibited, the process up to step S160 is performed as described above, and the second random number acquisition and random number abnormality determination count n are performed. Update processing (n = “1”).

次にCPU106は、ステップS162の処理で、再び乱数異常判定回数nの値が「2」になっているか否かの判断を行う。ここでは、2回目のステップS160の処理が行われていることから、乱数異常判定回数nの値は「1」になっており、判断結果はNOとなる。これにより、CPU106は、ステップS166の処理によってRAM110に記憶されている比較用乱数の下位8ビットの値と、2回目のステップS154およびS156の処理によって取得された乱数の下位8ビットの値とを比較して、一致するか否かを判断する(ステップS170)。両者の値が一致した(YES)場合は、次に、RAM110に記憶されている比較用乱数の上位8ビットの値と、2回目に取得した乱数の上位8ビットの値とを比較して、一致するか否かを判断する(ステップS172)。そして、ステップS172の判断処理で、CPU106が、両者の値が一致した(YES)と判断したときは、乱数異常判定回数nの値が「0」になっているか否かを判断する(ステップS174)。   Next, the CPU 106 determines again whether or not the value of the random number abnormality determination count n is “2” in the process of step S162. Here, since the process of step S160 for the second time is performed, the value of the random number abnormality determination number n is “1”, and the determination result is NO. As a result, the CPU 106 obtains the lower 8-bit value of the comparison random number stored in the RAM 110 by the process of step S166 and the lower 8-bit value of the random number acquired by the second process of steps S154 and S156. A comparison is made to determine whether they match (step S170). If the two values match (YES), then the upper 8 bits of the random number for comparison stored in the RAM 110 is compared with the upper 8 bits of the random number acquired the second time, It is determined whether or not they match (step S172). If the CPU 106 determines in the determination process of step S172 that both values match (YES), it determines whether or not the value of the random number abnormality determination count n is “0” (step S174). ).

ここでは、乱数異常判定回数nの値が「0」になっているため、ステップS174の判断結果はNOとなり、CPU106は、RAM110に記憶されている比較用乱数の値を、2度目に取得した乱数の値に更新する(ステップS176)。そして、CPU106は、再度、ステップS152の処理へ戻る。   Here, since the value of the random number abnormality determination count n is “0”, the determination result in step S174 is NO, and the CPU 106 acquires the value of the comparison random number stored in the RAM 110 for the second time. The random number value is updated (step S176). And CPU106 returns to the process of step S152 again.

なお、上述したステップS170またはS172の判断処理において、両者の値が一致しなかった(NO)と判断したときは、CPU106は、直ちにステップS134の処理へ進み、ステップS100でオン状態にした異常検出用乱数取得無効フラグをオフ状態にして、図17に示す乱数取得処理を終了する。この場合、後述するステップS178の処理が行われないことから、乱数異常検出情報の内容は「正常」のまま、図17に示す乱数取得処理が終了することになる。   If it is determined in step S170 or S172 that the two values do not match (NO), the CPU 106 immediately proceeds to step S134 and detects the abnormality detected in step S100. The random number acquisition invalid flag is turned off, and the random number acquisition process shown in FIG. In this case, since the process of step S178 described later is not performed, the random number acquisition process illustrated in FIG. 17 ends with the content of the random number abnormality detection information remaining “normal”.

さて、ステップS152の処理へ戻り、ステップS152からS160の処理を行って、3度目の乱数の取得および乱数異常判定回数nの更新処理(n=「0」)を行うと、ステップS162の判断処理において、CPU106は、乱数異常判定回数nの値は「2」ではない(NO)との判断を行う。これにより、CPU106は、ステップS170の処理へ進み、ステップS176の処理によって更新されたRAM110に記憶されている比較用乱数(2回目のステップS154およびS156の処理によって取得された乱数)の下位8ビットの値と、3回目のステップS154およびS156の処理によって取得された乱数の下位8ビットの値とを比較する。   Returning to the process of step S152, the process of steps S152 to S160 is performed, and when the third random number acquisition and random number abnormality determination count n update process (n = “0”) is performed, the determination process of step S162 is performed. The CPU 106 determines that the value of the random number abnormality determination count n is not “2” (NO). Thereby, the CPU 106 proceeds to the process of step S170, and the low-order 8 bits of the random number for comparison (the random number acquired by the process of the second step S154 and S156) stored in the RAM 110 updated by the process of step S176. Is compared with the value of the lower 8 bits of the random number obtained by the third processing of steps S154 and S156.

ステップS170の判断処理において、CPU106が、両者の値が一致した(YES)場合は、次に、ステップS172の判断処理へ進み、RAM110に記憶されている比較用乱数(2回目のステップS154およびS156の処理によって取得された乱数)の上位8ビットの値と、3回目に取得された乱数の上位8ビットの値とを比較する。そして、両者の値が一致した(YES)ときは、ステップS174へ進み、乱数異常判定回数nの値が「0」になっているか否かを判断する。ここでは、乱数異常判定回数nの値が「0」になっている(YES)ことから、ステップS168でセットした乱数異常検出情報の内容を「異常」に更新する(ステップS178)。そして、ステップS134の処理へ進み、ステップS100でオン状態にした異常検出用乱数取得無効フラグをオフ状態にして、図17に示す乱数取得処理を終了する。   In the determination process of step S170, if both values match (YES), the CPU 106 then proceeds to the determination process of step S172, and the comparison random numbers (second steps S154 and S156 stored in the RAM 110). The upper 8-bit value of the random number acquired by the above process is compared with the upper 8-bit value of the random number acquired for the third time. If the two values match (YES), the process proceeds to step S174, and it is determined whether or not the value of the random number abnormality determination count n is “0”. Here, since the value of the random number abnormality determination count n is “0” (YES), the content of the random number abnormality detection information set in step S168 is updated to “abnormal” (step S178). Then, the process proceeds to step S134, the abnormality detection random number acquisition invalid flag turned on in step S100 is turned off, and the random number acquisition process shown in FIG. 17 is ended.

なお、ステップS170またはS172の判断処理において、2回目に取得した乱数の値と、3回目に取得した乱数の値とが一致しなかった(NO)と、CPU106が判断した場合は、直ちにステップS134の処理へ進み、ステップS100でオン状態にした異常検出用乱数取得無効フラグをオフ状態にして、図17に示す乱数取得処理を終了する。この場合は、上述したステップS178の処理が行われないことから、乱数異常検出情報の内容は「正常」のまま、図17に示す乱数取得処理が終了することになる。   In the determination process of step S170 or S172, if the CPU 106 determines that the random number value acquired for the second time does not match the random number value acquired for the third time (NO), step S134 is immediately performed. In step S100, the abnormality detection random number acquisition invalid flag turned on in step S100 is turned off, and the random number acquisition processing shown in FIG. 17 ends. In this case, since the process of step S178 described above is not performed, the random number acquisition process illustrated in FIG. 17 ends with the content of the random number abnormality detection information remaining “normal”.

(異常判定の流れについての説明)
次に、上述した乱数取得処理のステップS152〜S178の処理による乱数の異常判定の流れについて、図18に示すタイミングチャートを参照して説明する。図18において、RCMP0〜2は、各々、ステップS154およびS156の処理によって、最初、2番目、最後に取得された乱数を示している。その他の各種記号および矢印については、図11および図13のタイミングチャートに記した各種記号および矢印と同様の意味を有する。
(Explanation of abnormality judgment flow)
Next, the flow of random number abnormality determination by the processes of steps S152 to S178 of the random number acquisition process described above will be described with reference to the timing chart shown in FIG. In FIG. 18, R CMP 0 to 2 indicate the random numbers obtained first, second, and last by the processes of steps S154 and S156, respectively. Other various symbols and arrows have the same meaning as the various symbols and arrows described in the timing charts of FIGS.

まず、遊技者によってスタートスイッチ36が操作されたことにより、図17のステップS154およびS156の処理によって、最初の乱数が取得される。取得された乱数は、ステップS164およびS166において、抽選用乱数および比較用乱数RCMP0として、RAM110に記憶される。そして、再びステップS152へ戻り、ステップS154およびS156の処理によって、2番目の比較用乱数RCMP1が取得され、ステップS170およびS172において、最初に取得された比較用乱数RCMP0と比較される。このとき、図18(a)に示すように、比較用乱数RCMP0およびRCMP1の値が一致しなければ、ステップS170またはS172の判断結果がNOとなって、乱数異常検出情報の内容は「正常」のまま、ステップS134の処理へ移行することになる。 First, when the start switch 36 is operated by the player, the first random number is acquired by the processing of steps S154 and S156 in FIG. The acquired random numbers are stored in the RAM 110 as lottery random numbers and comparison random numbers R CMP 0 in steps S164 and S166. Then, the process returns to step S152 again, and the second comparison random number R CMP 1 is acquired by the processing of steps S154 and S156, and is compared with the first acquired comparison random number R CMP 0 in steps S170 and S172. . At this time, as shown in FIG. 18A, if the values of the comparison random numbers R CMP 0 and R CMP 1 do not match, the determination result in step S170 or S172 is NO, and the content of the random number abnormality detection information Remains “normal” and the process proceeds to step S134.

これに対して、図18(b)に示すように、比較用乱数RCMP0およびRCMP1の値が一致した場合は、ステップS170およびS172の判断結果がともにYESとなって、三たび、ステップS152へ戻る。そして、ステップS154およびS156の処理によって、3番目の比較用乱数RCMP2が取得され、ステップS170およびS172において、2番目に取得された比較用乱数RCMP1と比較される。ここで、比較用乱数RCMP1およびRCMP2の値が一致しなければ、ステップS170またはS172の判断結果がNOとなって、乱数異常検出情報の内容は「正常」のまま、ステップS134の処理へ移行することになる。 On the other hand, as shown in FIG. 18B, when the values of the comparison random numbers R CMP 0 and R CMP 1 match, the determination results in steps S170 and S172 are both YES, The process returns to step S152. Then, the processing in steps S154 and S156, the acquired third comparative random number R CMP 2, in step S170 and S172, are the compared with comparative random number R CMP 1 acquires the second. Here, if the values of the comparison random numbers R CMP 1 and R CMP 2 do not match, the determination result in step S170 or S172 is NO, the content of the random number abnormality detection information remains “normal”, and in step S134 It will move to processing.

一方、比較用乱数RCMP1およびRCMP2の値が一致すると、ステップS178へ移行して、乱数異常検出情報の内容が「異常」に更新されて、ステップS134の処理へ移行する。このとき、図18(c)に示すように、比較用乱数RCMP0が取得されてから、3つ目の比較用乱数RCOM2が取得されるまでの期間tが、2つの連続する乱数周期F(=2F)よりも短く、かつ、比較用乱数RCMP0が取得されてから比較用乱数RCMP1が取得されるまでの期間Δt1、および比較用乱数RCMP1が取得されてから比較用乱数RCMP2が取得されるまでの期間Δt2が、各々、乱数発生装置112において乱数値が次に更新されるまでの期間(クロック信号の周期)fCKよりも長く設定されていれば、確実に乱数の異常を判定することができる。 On the other hand, when the values of the comparison random numbers R CMP 1 and R CMP 2 match, the process proceeds to step S178, the content of the random number abnormality detection information is updated to “abnormal”, and the process proceeds to step S134. At this time, as shown in FIG. 18C, a period t from when the comparison random number R CMP 0 is acquired until the third comparison random number R COM 2 is acquired is two consecutive random numbers. shorter than the cycle F (= 2F), and, since the period .DELTA.t1, and compares random number R CMP 1 is acquired from the comparison random number R CMP 0 is acquired until the comparison for the random number R CMP 1 is obtained If the period Δt2 until the comparison random number RCMP2 is acquired is set to be longer than the period (clock signal period) f CK until the random number generator 112 next updates the random number value, respectively. It is possible to reliably determine abnormality of random numbers.

なお、上述した期間Δt1およびΔt2を、クロック信号の周期fCKよりも確実に長くするために、図17のステップS162およびS174の判断結果が、各々YESとなってからステップS152へ戻るまでの間に、予め定めておいた時間が経過するまで次の処理への移行を一時的に停止させる、待機処理を行うようにしてもよい。 Note that in order to ensure that the above-described periods Δt1 and Δt2 are longer than the period f CK of the clock signal, the determination results in steps S162 and S174 in FIG. 17 are from YES to return to step S152. In addition, a standby process may be performed in which the transition to the next process is temporarily stopped until a predetermined time has elapsed.

このように、図17に示した乱数取得処理では、遊技者によるスタートスイッチ36の操作に応じて取得された比較用乱数RCMP0、および、その後適宜時間をおいて取得された比較用乱数RCMP1、RCMP2の値が全て一致したときに、生成された乱数が異常であると判定している。 As described above, in the random number acquisition process shown in FIG. 17, the comparison random number R CMP 0 acquired in response to the operation of the start switch 36 by the player, and the comparison random number R acquired after an appropriate time thereafter. When the values of CMP 1 and R CMP 2 all match, it is determined that the generated random number is abnormal.

<乱数チェック処理の変形例(1)>
次に図19に示すフローチャートを参照して、図12に示した乱数チェック処理とは異なる方法によって乱数の異常を判定する乱数チェック処理について説明する。なお、図19に示す乱数チェック処理は、図10、図15および図17に各々示した乱数取得処理のいずれかと併せて実行されるものとする。以下では、図10、図15および図17に示した乱数取得処理を、まとめていう場合は、単に「乱数取得処理」という。また、図19に示すフローチャートにおいて、図12のフローチャートと同様の処理を行うステップについては、同じステップ番号を付与し、それらの詳しい説明は省略する。図19に示すフローチャートでは、図12のフローチャートの各ステップにおける処理に、ステップS230〜S244の処理を適宜追加して行うものである。
<Modification of random number check process (1)>
Next, with reference to the flowchart shown in FIG. 19, a random number check process for determining a random number abnormality by a method different from the random number check process shown in FIG. It is assumed that the random number check process shown in FIG. 19 is executed in combination with any of the random number acquisition processes shown in FIG. 10, FIG. 15, and FIG. Hereinafter, the random number acquisition processing shown in FIGS. 10, 15 and 17 will be simply referred to as “random number acquisition processing” when collectively referred to. In the flowchart shown in FIG. 19, steps that perform the same processing as in the flowchart of FIG. 12 are given the same step numbers, and detailed descriptions thereof are omitted. In the flowchart shown in FIG. 19, the processes in steps S230 to S244 are appropriately added to the processes in the respective steps of the flowchart in FIG.

まず、CPU106は、外部から割込信号が供給されると、乱数取得処理が実行中でなければ、すなわち異常検出用乱数取得無効フラグがオフになっていれば(ステップS200,NO)、ステップS201およびS202の処理により、異常検出用乱数を取得する。そして、CPU106は、ステップS203の処理により、乱数異常検出情報を「正常」にセットした後、抽選用乱数取得完了フラグがオンになっているか否かを判断する(ステップS230)。   First, when an interrupt signal is supplied from the outside, the CPU 106 determines that the random number acquisition process is not being executed, that is, if the abnormality detection random number acquisition invalid flag is off (step S200, NO), step S201. In step S202, the abnormality detection random number is acquired. Then, after setting the random number abnormality detection information to “normal” by the process of step S203, the CPU 106 determines whether or not the lottery random number acquisition completion flag is turned on (step S230).

この抽選用乱数取得完了フラグは、乱数取得処理が行われた直後であるか否かを判断するために参照されるフラグである。この抽選用乱数取得完了フラグのオン/オフ状態はRAM110に記憶され、図19に示す乱数チェック処理を行う場合において、乱数取得処理のステップS134で、異常検出用乱数取得無効フラグがオフにされる際に、併せてオンにされる。   The lottery random number acquisition completion flag is a flag that is referred to in order to determine whether or not it is immediately after the random number acquisition process is performed. The on / off state of the lottery random number acquisition completion flag is stored in the RAM 110, and when performing the random number check process shown in FIG. 19, the abnormality detection random number acquisition invalid flag is turned off in step S134 of the random number acquisition process. At the same time, it is turned on.

ステップS230の判断処理で、異常検出用乱数取得無効フラグがオンになっている(YES)と判断すると、次にCPU106は、RAM110に記憶されている、乱数取得処理によって直前に取得された抽選用乱数の値の下位8ビットと、ステップS201で取得した異常検出用乱数の値の下位8ビットとが、一致するか否かを判断する(ステップS232)。両者の値が一致した(YES)と、CPU106が判断したときは、次にRAM110に記憶されている、乱数取得処理によって直前に取得された抽選用乱数の値の上位8ビットと、ステップS202で取得した異常検出用乱数の値の上位8ビットとが、一致するか否かを判断する(ステップS234)。そして、両者の値が一致した(YES)と、CPU106が判断したときは、RAM110に記憶されている取得後準異常フラグをオン状態にする(ステップS236)。   If it is determined in the determination process of step S230 that the abnormality detection random number acquisition invalid flag is on (YES), the CPU 106 next stores the random number acquisition process stored in the RAM 110 and acquired immediately before the random number acquisition process. It is determined whether or not the lower 8 bits of the random number value matches the lower 8 bits of the abnormality detection random number value acquired in step S201 (step S232). When the CPU 106 determines that the two values match (YES), the upper 8 bits of the random number for lottery acquired immediately before by the random number acquisition process stored in the RAM 110, and in step S202 It is determined whether or not the upper 8 bits of the acquired abnormality detection random number value match (step S234). When the CPU 106 determines that both values match (YES), the post-acquisition semi-abnormal flag stored in the RAM 110 is turned on (step S236).

ここで、取得後準異常フラグは、乱数取得処理の終了後、最初の乱数チェック処理で、乱数発生装置112により生成された乱数に異常が生じている可能性が有ることを示すフラグである。取得後準異常フラグのオン/オフ状態は、RAM110に記憶されており、オンのときは、生成された乱数に異常が生じている可能性が有ることを示し、オフのときは、生成された乱数が正常であることを示している。また、取得後準異常フラグの初期状態はオフになっている。   Here, the post-acquisition quasi-abnormal flag is a flag indicating that there is a possibility that an abnormality has occurred in the random number generated by the random number generator 112 in the first random number check process after the random number acquisition process is completed. The on / off state of the post-acquisition semi-abnormal flag is stored in the RAM 110. When it is on, it indicates that there is a possibility that an abnormality has occurred in the generated random number, and when it is off, it is generated. The random number is normal. Also, the initial state of the post-acquisition semi-abnormal flag is off.

次にCPU106は、RAM110に記憶されている抽選用乱数取得完了フラグのオン/オフ状態をオフにする(ステップS238)。また、上述したステップS232またはS234の判断処理で、CPU106が、抽選用乱数の値と、異常検出用乱数の値とが、一致しない(NO)と判断したときは、直ちにステップS238の処理へ進み、抽選用乱数取得完了フラグがオフにされる。これにより、抽選用乱数取得完了フラグがオンになっている期間は、乱数取得処理のステップS134で異常検出用乱数取得無効フラグがオフにされてから、最初の乱数チェック処理で、ステップS232の判断処理が(この判断結果に応じてステップS234の判断処理も)行われるまでの間となる。そして、ステップS238の処理を終えると、次にCPU106はステップS214へ進み、ステップS201およびS202で取得した異常検出用乱数を、次に乱数チェック処理を行うときの「前回取得された異常検出用乱数」とすべく、RAM110に記憶し、図19に示す乱数チェック処理を終了する。   Next, the CPU 106 turns off the on / off state of the lottery random number acquisition completion flag stored in the RAM 110 (step S238). If the CPU 106 determines that the lottery random number value and the abnormality detection random number value do not match (NO) in the determination process of step S232 or S234 described above, the process immediately proceeds to the process of step S238. The lottery random number acquisition completion flag is turned off. As a result, during the period when the lottery random number acquisition completion flag is on, the determination of step S232 is performed in the first random number check process after the abnormality detection random number acquisition invalid flag is turned off in step S134 of the random number acquisition process. This is a period until the process is performed (the determination process in step S234 is also performed according to the determination result). When the process of step S238 is completed, the CPU 106 then proceeds to step S214, and the abnormality detection random number acquired in steps S201 and S202 is used as the “anomaly detection random number previously acquired when the random number check process is performed next. To store the random number check process shown in FIG.

一方、上述したステップS230の判断処理で、抽選用乱数取得完了フラグがオフになっている(NO)とCPU106が判断したときは、ステップS204へ進み、RAM110に記憶されている、前回取得された異常検出用乱数の下位8ビットの値と、ステップS201で取得した異常検出用乱数の下位8ビットの値とが、一致するか否かを判断する。そして、CPU106が、両者の値が一致した(YES)と判断したときは、ステップS205へ進み、前回取得された異常判定用乱数の上位8ビットの値と、ステップS202で取得した異常判定用乱数の上位8ビットの値とが、一致したか否かを判断する。   On the other hand, when the CPU 106 determines that the lottery random number acquisition completion flag is off (NO) in the determination process of step S230 described above, the process proceeds to step S204 and is stored in the RAM 110 and acquired last time. It is determined whether or not the lower 8 bits of the abnormality detection random number match the lower 8 bits of the abnormality detection random number acquired in step S201. If the CPU 106 determines that both values match (YES), the process proceeds to step S205, and the upper 8 bits of the abnormality determination random number acquired last time and the abnormality determination random number acquired in step S202. It is determined whether or not the value of the upper 8 bits of.

CPU106が、両者の値が一致した(YES)と判断した場合は、ステップS206へ進んで、乱数異常回数errの値に「1」を加算し、RAM110に記憶されている取得後準異常フラグがオンになっているか否かを判断する(ステップS240)。取得後準異常フラグがオンになっている(YES)とCPU106が判断したときは、取得後準異常フラグをオフにして(ステップS242)、ステップS213へ進み、RAM110に記憶されている乱数異常検出情報の内容を「正常」から「異常」に更新する。そして、CPU106はステップS214へ進み、ステップS201およびS202で取得した異常検出用乱数をRAM110に記憶して、図19に示す乱数チェック処理を終了する。   If the CPU 106 determines that both values match (YES), the process proceeds to step S206, where “1” is added to the value of the random number abnormality count err, and the post-acquisition quasi-abnormality flag stored in the RAM 110 is set. It is determined whether or not it is turned on (step S240). When the CPU 106 determines that the post-acquisition quasi-abnormality flag is on (YES), the post-acquisition quasi-abnormality flag is turned off (step S242), the process proceeds to step S213, and random number abnormality detection stored in the RAM 110 is detected. Update the information content from “normal” to “abnormal”. Then, the CPU 106 proceeds to step S214, stores the abnormality detection random number acquired in steps S201 and S202 in the RAM 110, and ends the random number check process shown in FIG.

これに対して、ステップS240の判断処理で、取得後準異常フラグがオフになっている(NO)とCPU106が判断したときは、ステップS207へ進み、乱数異常回数errの値が「2」になったか否かを判断する。CPU106が、乱数異常回数errの値が「2」になった(YES)と判断したときは、ステップS208へ進み、乱数異常回数errの値を「0」にし、ステップS209〜S212の処理をその時の状態に応じて行い、ステップS213の処理で、乱数異常検出情報の内容を「異常」に更新する。そしてCPU106は、ステップS214へ進み、ステップS201およびS202の処理によって取得された異常検出用乱数を、次に乱数チェック処理を行うときの「前回取得された異常検出用乱数」とすべく、RAM110に記憶して、図19に示す乱数チェック処理を終了する。これに対して、ステップS207の処理で、CPU106がerrの値が「2」ではない(NO)と判断したときは、直ちにステップS214の処理を行い、図19に示す乱数チェック処理を終了する。   On the other hand, when the CPU 106 determines that the post-acquisition quasi-abnormality flag is off (NO) in the determination processing in step S240, the process proceeds to step S207, and the value of the random number abnormality count err is set to “2”. Judge whether or not. When the CPU 106 determines that the value of the random number abnormality number err has become “2” (YES), the process proceeds to step S208, where the value of the random number abnormality number err is set to “0”, and the processing of steps S209 to S212 is performed at that time. In step S213, the content of the random number abnormality detection information is updated to “abnormal”. Then, the CPU 106 proceeds to step S214, and stores the abnormality detection random number acquired by the processing of steps S201 and S202 in the RAM 110 so as to be the “abnormality detection random number acquired last time” when the next random number check process is performed. The random number check process shown in FIG. 19 is terminated. On the other hand, when the CPU 106 determines that the value of err is not “2” (NO) in the process of step S207, the process of step S214 is immediately performed, and the random number check process shown in FIG.

また、ステップS204またはS205のいずれかの処理で、CPU106が、両者の値が一致しない(NO)と判断した場合は、乱数発生装置112において、乱数が正常に生成されているものとみなし、ステップS215へ進み、errの値を「0」にする。次いでCPU106は、RAM110に記憶されている取得後準異常フラグをオフにして(ステップS244)、ステップS214の処理へ移行して、ステップS201およびS202の処理によって取得された異常検出用乱数を、RAM110に記憶した後、図19に示す乱数チェック処理を終了する。   If the CPU 106 determines that the two values do not match (NO) in either step S204 or S205, the random number generator 112 regards that the random number has been generated normally, and the step Proceeding to S215, the value of err is set to “0”. Next, the CPU 106 turns off the post-acquisition quasi-abnormality flag stored in the RAM 110 (step S244), proceeds to the processing of step S214, and uses the abnormality detection random number acquired by the processing of steps S201 and S202 as the RAM 110. Then, the random number check process shown in FIG.

(異常判定の流れについての説明)
次に、上述した図19の乱数チェック処理による乱数の異常判定の流れについて、図20に示すタイミングチャートを参照して説明する。図20において、RST0は、遊技者がスタートスイッチ36を操作したことによって実行された乱数取得処理で取得した抽選用乱数を示す。RINT1は、抽選用乱数RST0を取得した乱数取得処理の終了後、最初に行われた図19の乱数チェック処理で取得された異常検出用乱数を示す。RINT2は、異常検出用乱数RINT1を取得した乱数チェック処理の次に実行された乱数チェック処理で取得された異常検出用乱数を示す。また、その他の各種記号および矢印については、図11および図13のタイミングチャートに記した各種記号および矢印と同様の意味を有する。
(Explanation of abnormality judgment flow)
Next, the flow of random number abnormality determination by the random number check process of FIG. 19 described above will be described with reference to the timing chart shown in FIG. In FIG. 20, R ST 0 indicates a random number for lottery acquired by a random number acquisition process executed by the player operating the start switch 36. R INT 1 indicates an abnormality detection random number acquired in the random number check process of FIG. 19 first performed after the random number acquisition process for acquiring the lottery random number R ST 0 is completed. R INT 2 indicates the abnormality detection random number acquired in the random number check process executed after the random number check process that acquired the abnormality detection random number R INT 1. Other various symbols and arrows have the same meanings as the various symbols and arrows shown in the timing charts of FIGS.

外部から割込信号が供給されたことに基づいて、図19のステップS201およびS202の処理によって異常検出用乱数が取得され、ステップS230で抽選用乱数取得完了フラグがオンになっている(YES)と判断されたときは、上述した異常検出用乱数は、乱数取得処理の終了後に、最初に取得された異常検出用乱数RINT1ということになる。これにより、異常検出用乱数RINT1の値は、ステップS232およびS234の処理により、直前に行われた乱数取得処理で取得された抽選用乱数RST0の値と比較され、一致しなかった場合は(ステップS232またはS234でNO)、図20(a)に示すように、乱数は正常に生成されているという判定結果になる。すなわち、直ちにステップS238で抽選用乱数取得完了フラグがオフにされ、ステップS213で乱数異常検出情報を「異常」に更新することなく、図19の乱数チェック処理を終了する。そして、次回以降の乱数チェック処理では、抽選用乱数取得完了フラグがオフになっているため、ステップS232〜S238の処理が行われなくなり、図12に示した乱数チェック処理とほぼ同じ内容の乱数の異常判定を行うことになる。 Based on the supply of the interrupt signal from the outside, the abnormality detection random number is acquired by the processing in steps S201 and S202 of FIG. 19, and the lottery random number acquisition completion flag is turned on in step S230 (YES). Is determined, the abnormality detection random number described above is the abnormality detection random number R INT 1 acquired first after the end of the random number acquisition process. As a result, the value of the abnormality detection random number R INT 1 is compared with the value of the lottery random number R ST 0 acquired in the random number acquisition process performed immediately before by the processes of steps S232 and S234 and does not match. In this case (NO in step S232 or S234), as shown in FIG. 20A, the determination result is that the random number has been generated normally. That is, the lottery random number acquisition completion flag is immediately turned off in step S238, and the random number check process in FIG. 19 is terminated without updating the random number abnormality detection information to “abnormal” in step S213. In the subsequent random number check processing, since the lottery random number acquisition completion flag is off, the processing of steps S232 to S238 is not performed, and the random number having almost the same content as the random number check processing shown in FIG. Abnormality judgment will be performed.

一方、図20(b)に示すように、異常検出用乱数RINT1の値と、抽選用乱数RST0の値とが一致した場合は(ステップS232およびS234でYES)、ステップS236で取得後準異常フラグがオンにされる。そして、次回の乱数チェック処理では、ステップS200〜S203→S230,NOとなり、ステップS204およびS205により、異常検出用乱数RINT1の値と、異常検出用乱数RINT2の値と、が比較されることになる。そして、両者の値が一致した(ステップS205,YES)場合は、ステップS206で乱数異常回数errの値が更新された後、ステップS240の判断結果がYESになって、ステップS242で取得後準異常フラグがオフにされる。そして、ステップS213で乱数異常検出情報が「異常」に更新される。 On the other hand, as shown in FIG. 20B, if the value of the abnormality detection random number R INT 1 matches the value of the lottery random number R ST 0 (YES in steps S232 and S234), the acquisition is made in step S236. The quasi-abnormal flag is turned on. Then, in the next random number check process, Steps S200 to S203 → S230, NO, and Steps S204 and S205 compare the value of the abnormality detection random number R INT 1 with the value of the abnormality detection random number R INT 2. Will be. If the two values match (YES in step S205), the value of the random number abnormality count err is updated in step S206, the determination result in step S240 becomes YES, and the post-acquisition quasi-abnormality in step S242. The flag is turned off. In step S213, the random number abnormality detection information is updated to “abnormal”.

なお、上述した異常判定が行われた後、引き続き次の乱数チェック処理が行われる場合は、異常検出用乱数RINT2と同じ値の異常検出用乱数RINT3が取得された後、ステップS205,YES→S206→S240,NO→S207と移行する。ここで、乱数取得処理が行われる直前に乱数異常回数errの値が「0」だったとすると、前回行った乱数チェック処理で、乱数異常回数errの値が「1」となり、今回の乱数チェック処理で乱数異常回数errの値が「2」になる。よって、ステップS207,YES→S208と移行して、ステップS209〜S212の処理をその時の状態に応じて行い、その後、ステップS213の処理で、乱数異常検出情報の内容が「異常」に更新されることになる。 When the next random number check process is performed after the above-described abnormality determination is performed, the abnormality detection random number R INT 3 having the same value as the abnormality detection random number R INT 2 is acquired, and then step S205 is performed. , YES → S206 → S240, NO → S207. Here, if the value of the random number abnormality number err is “0” immediately before the random number acquisition process is performed, the random number abnormality number err value is “1” in the previous random number check process, and the current random number check process is performed. The value of the random number abnormality count err becomes “2”. Therefore, the process proceeds from step S207, YES to S208, and the process of steps S209 to S212 is performed according to the state at that time, and then the content of the random number abnormality detection information is updated to “abnormal” in the process of step S213. It will be.

これに対して、異常検出用乱数RINT1の値と、異常検出用乱数RINT2の値と、が一致しなかった(ステップS204またはS205,NO)場合は、ステップS215を経て、ステップS244で取得後準異常フラグがオフにされる。そして、ステップS213の処理が行われないため、異常検出情報の内容は「正常」を維持したまま、図19の乱数チェック処理が終了することになる。 On the other hand, if the value of the abnormality detection random number R INT 1 and the value of the abnormality detection random number R INT 2 do not match (step S204 or S205, NO), the process goes to step S244 via step S215. After acquisition, the semi-abnormal flag is turned off. Then, since the process of step S213 is not performed, the random number check process of FIG. 19 ends with the content of the abnormality detection information maintained “normal”.

このように、図19および図20に示す乱数チェック処理を行う場合は、図20(c)に示すように、乱数取得処理において、異常検出用乱数取得無効フラグがオンになっている期間を考慮に含めた上で、抽選用乱数RST0、異常検出用乱数RINT1およびRINT2が取得される時間tが、2つの連続する乱数周期2Fよりも短くなるように、割込周期を設定することで、確実に乱数の異常を判定することができる。なお、図20(c)において、斜線のハッチングで示す範囲は、図16(c)と同様に、異常検出用乱数取得無効フラグがオンになっている期間(すなわち、乱数チェック処理が禁止される期間)を示している。同図では、異常検出用乱数RINT0が取得されるタイミングよりも、異常検出用乱数取得無効フラグがオフになったタイミングが僅かに遅れたため、異常検出用乱数RINT0の取得が無効にされた場合を示している。この場合は、異常検出用乱数取得無効フラグがオフになってから、ほぼ1つの割込周期分の時間が経過した後に取得された異常検出用乱数RINT1が、乱数取得処理の終了後に最初に取得された異常検出用乱数となる。 As described above, when the random number check process shown in FIGS. 19 and 20 is performed, the period in which the abnormality detection random number acquisition invalid flag is on is considered in the random number acquisition process as shown in FIG. In addition, the interruption period is set so that the time t at which the lottery random number R ST 0, the abnormality detection random numbers R INT 1 and R INT 2 are acquired is shorter than two consecutive random number periods 2F. By setting, it is possible to reliably determine abnormality of random numbers. In FIG. 20C, the hatched range is the period during which the abnormality detection random number acquisition invalid flag is on (that is, random number check processing is prohibited, as in FIG. 16C). Period). In the figure, abnormality detection random number than the timing of R INT 0 is obtained, the abnormality for detecting random number acquisition invalid flag timing was off slightly delayed, disable the acquisition of abnormality detection random number R INT 0 Shows the case. In this case, after the abnormality detection random number acquisition invalid flag is turned off, the abnormality detection random number R INT 1 acquired after the time of about one interrupt cycle has passed is the first after the end of the random number acquisition process. This is the anomaly detection random number acquired in

このように、図19に示した乱数チェック処理では、遊技者によるスタートスイッチ36の操作に応じて取得された抽選用乱数RST0、その直後の乱数チェック処理で取得された異常検出用乱数RINT1、さらにその1回後の乱数チェック処理で取得された異常検出用乱数RINT2の値が全て一致したときに、生成された乱数が異常であると判定している。 As described above, in the random number check process shown in FIG. 19, the lottery random number R ST 0 acquired in accordance with the operation of the start switch 36 by the player, and the abnormality detection random number R acquired in the random number check process immediately after that. When all the values of the INT 1 and the abnormality detection random number R INT 2 acquired in the random number check process one time after that match, it is determined that the generated random number is abnormal.

<乱数チェック処理の変形例(2)>
次に図21に示すフローチャートを参照して、図12および図19に示した乱数チェック処理とは異なる方法によって乱数の異常を判定する乱数チェック処理について説明する。なお、図21に示す乱数チェック処理も、図19に示した乱数チェック処理と同様に、図10、図15および図17に各々示した乱数取得処理のいずれかと併せて実行されるものとする。また、以下では、図10、図15および図17に示した乱数取得処理を、まとめていう場合は、単に「乱数取得処理」という。さらに、図21に示すフローチャートにおいて、図12および図19のフローチャートと同様の処理を行うステップについては、同じステップ番号を付与し、それらの詳しい説明は省略する。図21に示すフローチャートでは、図12および図19のフローチャートの各ステップにおける処理に、ステップS250〜S254の処理を適宜追加して行うものである。
<Modification of random number check process (2)>
Next, with reference to the flowchart shown in FIG. 21, a random number check process for determining a random number abnormality by a method different from the random number check process shown in FIGS. 12 and 19 will be described. It is assumed that the random number check process shown in FIG. 21 is also executed in combination with any of the random number acquisition processes shown in FIGS. 10, 15, and 17, similarly to the random number check process shown in FIG. In the following, the random number acquisition process shown in FIGS. 10, 15 and 17 is simply referred to as “random number acquisition process” when collectively referred to. Furthermore, in the flowchart shown in FIG. 21, steps that perform the same processing as those in the flowcharts of FIGS. 12 and 19 are given the same step numbers, and detailed descriptions thereof are omitted. In the flowchart shown in FIG. 21, processing in steps S250 to S254 is appropriately added to the processing in each step of the flowcharts in FIGS.

まず、CPU106は、外部から割込信号が供給されると、乱数取得処理が実行中でなければ、すなわち異常検出用乱数取得無効フラグがオフになっていれば(ステップS200,NO)、ステップS201およびS202の処理により、異常検出用乱数を取得する。そして、CPU106は、ステップS203の処理により、乱数異常検出情報の内容を「正常」にセットした後、ステップS230の処理において、抽選用乱数取得完了フラグがオンになっているか否かを判断する。   First, when an interrupt signal is supplied from the outside, the CPU 106 determines that the random number acquisition process is not being executed, that is, if the abnormality detection random number acquisition invalid flag is off (step S200, NO), step S201. In step S202, the abnormality detection random number is acquired. Then, after setting the content of the random number abnormality detection information to “normal” by the process of step S203, the CPU 106 determines whether or not the lottery random number acquisition completion flag is on in the process of step S230.

ステップS230の判断処理で、抽選用乱数取得完了フラグがオンになっている(YES)と判断すると、次にCPU106は、直前に行われた乱数取得処理における判定の結果、乱数準異常検出情報の内容が「正常」になっているか否かを判断する(ステップS250)。乱数準異常検出情報の内容が「正常」になっているときは、図19の乱数チェック処理におけるステップS232〜S238およびステップS214と同じ処理を行った後、図21の乱数チェック処理を終了する。ここで、ステップS232〜S238の各処理の内容については、説明が重複するため省略する。   If it is determined in the determination process in step S230 that the lottery random number acquisition completion flag is on (YES), then the CPU 106 determines that the random number quasi-abnormality detection information is the result of the determination in the random number acquisition process performed immediately before. It is determined whether or not the content is “normal” (step S250). When the content of the random number quasi-abnormality detection information is “normal”, the same processing as in steps S232 to S238 and step S214 in the random number check processing of FIG. 19 is performed, and then the random number check processing of FIG. Here, the contents of each processing in steps S232 to S238 are omitted because they are redundantly described.

これに対して、CPU106が、ステップS250の判断処理で乱数準異常検出処理が「異常」になっている(NO)と判断した場合は、RAM110に記憶されている抽選用乱数取得完了フラグをオフにして(ステップS252)、ステップS204の処理へ進む。また、上述したステップS230の判断処理で、CPU106が、抽選用乱数取得完了フラグがオフになっている(NO)と判断したときは、ステップS250の処理を行わず、直接、ステップS204の処理へ進む。そして、ステップS204で、CPU106は、RAM110に記憶されている、前回取得された異常検出用乱数の下位8ビットの値と、ステップS201で取得した異常検出用乱数の下位8ビットの値とが、一致するか否かを判断する。ここで、ステップS250の判断結果がNOとなった結果、ステップS204の処理へ移行した場合は、前回取得された異常検出用乱数は、直前に行われた乱数取得処理が開始される以前において、最後に取得していた異常検出用乱数となる。   In contrast, if the CPU 106 determines that the random number quasi-abnormality detection process is “abnormal” in the determination process of step S250 (NO), the lottery random number acquisition completion flag stored in the RAM 110 is turned off. (Step S252), the process proceeds to Step S204. If the CPU 106 determines that the lottery random number acquisition completion flag is off (NO) in the determination process in step S230 described above, the process directly proceeds to the process in step S204 without performing the process in step S250. move on. In step S204, the CPU 106 stores the value of the lower 8 bits of the abnormality detection random number acquired last time and the value of the lower 8 bits of the abnormality detection random number acquired in step S201, which are stored in the RAM 110. Determine whether they match. Here, as a result of the determination in step S250 being NO, if the process proceeds to step S204, the abnormality detection random number acquired last time is before the random number acquisition process performed immediately before is started. This is the anomaly detection random number that was acquired last.

CPU106が、前回取得された異常検出用乱数の下位8ビットの値と、ステップS201で取得した異常検出用乱数の下位8ビットの値とが、一致する(YES)と判断したときは、ステップS205へ進み、前回取得された異常判定用乱数の上位8ビットの値と、ステップS202で取得した異常判定用乱数の上位8ビットの値とが、一致したか否かを判断する。そして、CPU106が、両者の値が一致した(YES)と判断した場合は、ステップS206へ進んで乱数異常回数errの値に「1」を加算した後、ステップS240へ進み、RAM110に記憶されている取得後準異常フラグがオンになっているか否かを判断する。   When the CPU 106 determines that the value of the lower 8 bits of the abnormality detection random number acquired last time matches the value of the lower 8 bits of the abnormality detection random number acquired in step S201 (YES), step S205 is performed. Then, it is determined whether or not the upper 8 bits of the abnormality determination random number acquired last time coincides with the upper 8 bits of the abnormality determination random number acquired in step S202. If the CPU 106 determines that the two values match (YES), the process proceeds to step S206, where “1” is added to the value of the random number abnormality count err, then the process proceeds to step S240, and is stored in the RAM 110. It is determined whether the post-acquisition semi-abnormal flag is on.

取得後準異常フラグがオンになっている(YES)とCPU106が判断したときは、ステップS242へ進み、取得後準異常フラグをオフにした後、継続フラグをオンにする(ステップS254)。ここで、継続フラグは、図12に示した乱数チェック処理のステップS212の処理によってオンにされる継続フラグと同じものである。ステップS254の処理が終了すると、CPU106はステップS209へ進んで終了フラグをオンにした後、ステップS213へ進み、RAM110に記憶されている乱数異常検出情報の内容を「正常」から「異常」に更新する。そして、CPU106はステップS214へ進み、ステップS201およびS202で取得した異常検出用乱数をRAM110に記憶して、図21に示す乱数チェック処理を終了する。   When the CPU 106 determines that the post-acquisition semi-abnormal flag is on (YES), the process proceeds to step S242, and after the post-acquisition semi-abnormal flag is turned off, the continuation flag is turned on (step S254). Here, the continuation flag is the same as the continuation flag that is turned on by the process of step S212 of the random number check process shown in FIG. When the processing of step S254 is completed, the CPU 106 proceeds to step S209 to turn on the termination flag, and then proceeds to step S213 to update the content of the random number abnormality detection information stored in the RAM 110 from “normal” to “abnormal”. To do. Then, the CPU 106 proceeds to step S214, stores the abnormality detection random number acquired in steps S201 and S202 in the RAM 110, and ends the random number check process shown in FIG.

上述したステップS240の判断処理で、取得後準異常フラグがオフになっている(NO)とCPU106が判断したときは、ステップS207へ進み、乱数異常回数errの値が「2」になったか否かを判断する。CPU106が、乱数異常回数errの値が「2」になった(YES)と判断したときは、ステップS208へ進み、乱数異常回数errの値を「0」にし、ステップS213の処理で、乱数異常検出情報の内容を「異常」に更新する。そしてCPU106は、ステップS214へ進み、ステップS201およびS202で取得した異常検出用乱数をRAM110に記憶して、図21に示す乱数チェック処理を終了する。これに対して、ステップS207の処理で、CPU106がerrの値が「2」ではない(NO)と判断したときは、直ちにステップS214の処理を行い、その後、図21に示す乱数チェック処理を終了する。   When the CPU 106 determines that the post-acquisition quasi-abnormality flag is off (NO) in the determination process of step S240 described above, the process proceeds to step S207, and whether or not the value of the random number abnormality count err has become “2”. Determine whether. When the CPU 106 determines that the value of the random number abnormality count err has become “2” (YES), the process proceeds to step S208, where the value of the random number abnormality count err is set to “0”. Update the content of the detection information to “abnormal”. Then, the CPU 106 proceeds to step S214, stores the abnormality detection random number acquired in steps S201 and S202 in the RAM 110, and ends the random number check process shown in FIG. On the other hand, when the CPU 106 determines that the value of err is not “2” (NO) in the process of step S207, it immediately performs the process of step S214, and then ends the random number check process shown in FIG. To do.

また、ステップS204またはS205のいずれかの処理で、CPU106が、両者の値が一致しない(NO)と判断した場合は、乱数発生装置112において、乱数が正常に生成されているものとみなし、ステップS215へ進み、errの値を「0」にする。次いでCPU106は、ステップS244へ進み、RAM110に記憶されている取得後準異常フラグをオフにして、ステップS214の処理へ移行する。そして、ステップS201およびS202の処理によって取得された異常検出用乱数を、RAM110に記憶した後、図21に示す乱数チェック処理を終了する。   If the CPU 106 determines that the two values do not match (NO) in either step S204 or S205, the random number generator 112 regards that the random number has been generated normally, and the step Proceeding to S215, the value of err is set to “0”. Next, the CPU 106 proceeds to step S244, turns off the post-acquisition semi-abnormal flag stored in the RAM 110, and proceeds to the process of step S214. Then, after storing the abnormality detection random number acquired by the processes of steps S201 and S202 in the RAM 110, the random number check process shown in FIG. 21 is terminated.

(異常判定の流れについての説明)
次に、上述した図21の乱数チェック処理による乱数の異常判定の流れについて、図22に示すタイミングチャートを参照して説明する。図22において、RST0は、遊技者がスタートスイッチ36を操作したことによって実行された乱数取得処理で取得した抽選用乱数を示す。RINT1は、抽選用乱数RST0を取得した乱数取得処理の終了後、最初に行われた図19の乱数チェック処理で取得された異常検出用乱数を示す。RINT2は、異常検出用乱数RINT1を取得した乱数チェック処理の次に実行された乱数チェック処理で取得された異常検出用乱数を示す。
(Explanation of abnormality judgment flow)
Next, the flow of the random number abnormality determination by the random number check process of FIG. 21 described above will be described with reference to the timing chart shown in FIG. In FIG. 22, R ST 0 indicates a random number for lottery acquired by a random number acquisition process executed when the player operates the start switch 36. R INT 1 indicates an abnormality detection random number acquired in the random number check process of FIG. 19 first performed after the random number acquisition process for acquiring the lottery random number R ST 0 is completed. R INT 2 indicates the abnormality detection random number acquired in the random number check process executed after the random number check process that acquired the abnormality detection random number R INT 1.

また、前述したように、図21の乱数チェック処理は、図10、図15および図17に各々示した乱数取得処理のいずれかと併せて実行されるものであり、図22に示す抽選用乱数RST(−1)および異常検出用乱数RINT0は、図10に示した乱数取得処理を行った場合において、図11(b−2)に示したRST(−1)および異常検出用乱数RINT0に対応するものである。その他の各種記号および矢印については、図11および図13のタイミングチャートに記した各種記号および矢印と同様の意味を有する。 Further, as described above, the random number check process of FIG. 21 is executed in combination with any of the random number acquisition processes shown in FIGS. 10, 15 and 17, and the lottery random number R shown in FIG. ST (−1) and abnormality detection random number R INT 0 are the same as R ST (−1) and abnormality detection random number shown in FIG. 11 (b-2) when the random number acquisition process shown in FIG. 10 is performed. This corresponds to R INT 0. Other various symbols and arrows have the same meaning as the various symbols and arrows described in the timing charts of FIGS.

なお、以下の説明では、図10に示した乱数取得処理を行っており、異常検出用乱数RINT1が取得された時点で異常判定回数errの値が「0」になっているものとした上で、(1)乱数取得処理において乱数準異常検出情報が「異常」だった場合と、(2)乱数準異常検出情報が「異常」だった場合とに分けて説明する。 In the following description, it is assumed that the random number acquisition process shown in FIG. 10 is performed, and the value of the abnormality determination number err is “0” when the abnormality detection random number R INT 1 is acquired. The description will be divided into (1) when the random number quasi-abnormality detection information is “abnormal” in the random number acquisition process and (2) when the random-number quasi-abnormality detection information is “abnormal”.

(1)乱数準異常検出情報が「異常」だった場合
外部から割込信号が供給されたことに基づいて、図21のステップS201およびS202の処理によって異常検出用乱数が取得され、ステップS230で抽選用乱数取得完了フラグがオンになっている(YES)と判断されたときは、ステップS201およびS202によって取得された異常検出用乱数は、乱数取得処理の終了後に、最初に取得された異常検出用乱数RINT1ということになる。次にステップS250で、乱数準異常検出情報の内容が「正常」になっているか否かが判断される。ここで、図22(a)に示すように、乱数準異常検出情報の内容が「異常」になっているときは(図10の乱数取得処理を行っている場合は、準異常状態を意味する)、ステップS252で、抽選用乱数取得完了フラグがオフにされた後、ステップS204およびS205の処理によって、前回の乱数チェック処理で取得された異常検出用乱数RINT0の値と、上述した異常検出用乱数RINT1の値とが、比較される。
(1) When the random number quasi-abnormality detection information is “abnormal” Based on the fact that an interrupt signal is supplied from the outside, an abnormality detection random number is acquired by the processing of steps S201 and S202 of FIG. When it is determined that the lottery random number acquisition completion flag is turned on (YES), the abnormality detection random number acquired in steps S201 and S202 is the first abnormality detection acquired after the random number acquisition process ends. Random number R INT 1 will be used. Next, in step S250, it is determined whether or not the content of the random number quasi-abnormality detection information is “normal”. Here, as shown in FIG. 22 (a), when the content of the random number quasi-abnormality detection information is “abnormal” (when the random number acquisition process of FIG. 10 is performed, it means a quasi-abnormal state). ) In step S252, after the lottery random number acquisition completion flag is turned off, the values of the abnormality detection random number R INT 0 acquired in the previous random number check processing by the processing in steps S204 and S205 and the above-described abnormality The value of the random number for detection R INT 1 is compared.

両者の値が一致した場合は(ステップS204,S205が共にYES)、ステップS206で異常判定回数errの値(「0」)に「1」が加算されて「1」となり、ステップS240で、取得後準異常フラグがオンになっているか否か判断される。取得後準異常フラグの初期状態はオフであるから(ステップS240,NO)、直ちにステップS214へ進み、異常検出用乱数RINT1の値をRAM110に記憶して、図21の乱数チェック処理を終了する。 If both values match (both YES in steps S204 and S205), “1” is added to the value of the abnormality determination number err (“0”) in step S206 to become “1”, which is acquired in step S240. It is determined whether or not the quasi-abnormal flag is on. Since the initial state of the post-acquisition semi-abnormal flag is OFF (NO in step S240), the process immediately proceeds to step S214, the value of the abnormality detection random number R INT 1 is stored in the RAM 110, and the random number check process in FIG. To do.

そして、次の割込信号が供給されたことにより、図21の乱数チェック処理が行われると、ステップS201およびS202によって異常検出用乱数RINT2が取得される。次いで、前回の乱数チェック処理のステップS252で抽選用乱数取得完了フラグがオフにされているため、ステップS230の判断結果がNOとなり、ステップS204およびS205により、異常検出用乱数RINT1の値と、異常検出用乱数RINT2の値が比較される。ここで、両者の値が一致した場合は、ステップS206で異常判定回数errの値が「2」にされて、ステップS240,NO→S207,YES→S208→S209→S213と移行し、乱数異常検出情報が「異常」に更新される。すなわち、異常検出用乱数RINT0、RINT1、RINT2の値が全て一致したことによって、乱数異常検出情報が「異常」に更新される。なお、この場合は、ステップS254の処理が行われないため、遊技完遂フラグはオンにならない。よって、乱数取得処理によって取得された抽選用乱数RST0は、異常な乱数であると見なし、たとえ遊技中であっても直ちに単位遊技の進行が停止することになる(後述する)。 When the next interrupt signal is supplied and the random number check process of FIG. 21 is performed, the abnormality detection random number R INT 2 is acquired in steps S201 and S202. Next, since the lottery random number acquisition completion flag is turned off in step S252 of the previous random number check process, the determination result in step S230 is NO, and the values of the abnormality detection random number R INT 1 are set in steps S204 and S205. The value of the abnormality detection random number R INT 2 is compared. If the two values match, the value of the abnormality determination number err is set to “2” in step S206, and the process proceeds to steps S240, NO → S207, YES → S208 → S209 → S213, and random number abnormality detection is performed. Information is updated to “abnormal”. That is, when the values of the abnormality detection random numbers R INT 0, R INT 1, and R INT 2 all match, the random number abnormality detection information is updated to “abnormal”. In this case, since the process of step S254 is not performed, the game completion flag is not turned on. Therefore, the lottery random number R ST 0 acquired by the random number acquisition process is regarded as an abnormal random number, and the progress of the unit game is immediately stopped even during the game (described later).

(2)乱数準異常検出情報が「正常」だった場合
外部から割込信号が供給されたことに基づいて、図21のステップS201〜S203の処理が行われ、ステップS230で抽選用乱数取得完了フラグがオンになっている(YES)と判断されたときは、ステップS201およびS202によって取得された異常検出用乱数は、乱数取得処理の終了後に、最初に取得された異常検出用乱数RINT1ということになる。次にステップS250で、乱数準異常検出情報の内容が「正常」になっているか否かが判断される。ここで、乱数準異常検出情報の内容が「正常」になっているとき(ステップS250,YES)は、ステップS232およびS234で、異常検出用乱数RINT1の値と、直前に行われた乱数取得処理によって取得された抽選用乱数RST0との値が比較される。
(2) When the random number quasi-abnormality detection information is “normal” Based on the fact that the interrupt signal is supplied from the outside, the processing of steps S201 to S203 of FIG. 21 is performed, and the random number for lottery acquisition is completed in step S230 When it is determined that the flag is on (YES), the abnormality detection random number acquired in steps S201 and S202 is the abnormality detection random number R INT 1 first acquired after the random number acquisition process is completed. It turns out that. Next, in step S250, it is determined whether or not the content of the random number semi-abnormality detection information is “normal”. Here, when the content of the random number semi-abnormality detection information is “normal” (step S250, YES), in steps S232 and S234, the value of the abnormality detection random number R INT 1 and the random number performed immediately before are detected. The lottery random number R ST 0 acquired by the acquisition process is compared with the value.

このとき、図22(b)に示すように、両者の値が一致しなければ(ステップS232またはS234,NO)、ステップS238で抽選用乱数取得完了フラグがオフされ、ステップS214へ進み、異常検出用乱数RINT1の値をRAM110に記憶した後、図21の乱数チェック処理を終了する。この場合、ステップS213の処理が行われないため、乱数異常検出情報の内容は「正常」のまま維持される。これに対して、両者の値が一致した場合は(ステップS232およびS234が共にYES)、ステップS236で取得後準異常フラグがオンにされ、ステップS238で抽選用乱数取得完了フラグがオフされ、ステップS214へ進み、異常検出用乱数RINT1の値をRAM110に記憶した後、図21の乱数チェック処理を終了する。 At this time, as shown in FIG. 22B, if the two values do not match (step S232 or S234, NO), the lottery random number acquisition completion flag is turned off in step S238, the process proceeds to step S214, and an abnormality is detected. After the value of the random number for use R INT 1 is stored in the RAM 110, the random number check process in FIG. In this case, since the process of step S213 is not performed, the content of the random number abnormality detection information is maintained as “normal”. On the other hand, if the two values match (both YES in steps S232 and S234), the post-acquisition semi-abnormal flag is turned on in step S236, the lottery random number acquisition completion flag is turned off in step S238, After proceeding to S214 and storing the value of the abnormality detection random number R INT 1 in the RAM 110, the random number check process of FIG.

そして、次の割込信号が供給されたことにより、図21の乱数チェック処理が行われると、ステップS201およびS202によって異常検出用乱数RINT2が取得され、ステップS230の判断結果がNOとなり、ステップS204およびS205により、異常検出用乱数RINT1の値と、異常検出用乱数RINT2の値が比較される。ここで、図22(c)に示すように、両者の値が一致した場合は、ステップS206で異常判定回数errの値が「2」にされて、ステップS240で取得後準異常フラグがオンになっているか否かが判定される。 When the next interrupt signal is supplied and the random number check process in FIG. 21 is performed, the abnormality detection random number R INT 2 is acquired in steps S201 and S202, and the determination result in step S230 is NO. Through steps S204 and S205, the value of the abnormality detection random number R INT 1 is compared with the value of the abnormality detection random number R INT 2. Here, as shown in FIG. 22C, when the two values match, the value of the abnormality determination number err is set to “2” in step S206, and the post-acquisition quasi-abnormal flag is turned on in step S240. It is determined whether or not.

ここでは、ステップS236の処理によって取得後準異常フラグがオンにされていることから、ステップS240の判断結果がYESとなり、ステップS242で取得後準異常フラグがオフにされた後、ステップS254で継続フラグがオンにされ、ステップS213で乱数異常検出情報が「異常」に更新される。すなわち、抽選用乱数RST0と、RINT1およびRINT2の値とが、全て一致したことによって乱数異常検出情報が「異常」に更新される。この場合、乱数取得処理で抽選用乱数が取得された時点では、乱数発生装置112において乱数が正常に生成されていたが、その後、何らかの原因によって生成された乱数に異常が生じたものとみなす。よって、直前に行われた乱数取得処理で取得された抽選用乱数RST0を有効なものとして扱い、少なくともそのとき進行中だった単位遊技に限って最後まで遊技に関する制御を行うべく、継続フラグがオンにされる。 Here, since the post-acquisition quasi-abnormality flag is turned on by the process of step S236, the determination result of step S240 is YES, and after the post-acquisition quasi-abnormality flag is turned off in step S242, the process continues in step S254. The flag is turned on, and the random number abnormality detection information is updated to “abnormal” in step S213. That is, the random number abnormality detection information is updated to “abnormal” when the lottery random number R ST 0 and the values of R INT 1 and R INT 2 all match. In this case, when the random number for lottery is acquired in the random number acquisition process, the random number generator 112 has normally generated the random number, but it is considered that the random number generated for some reason has an abnormality after that. Therefore, the lottery random number R ST 0 acquired in the random number acquisition process performed immediately before is treated as valid, and the continuation flag is used to control the game to the end only at least for the unit game that was in progress at that time. Is turned on.

なお、図22(a)および(c)において、異常検出用乱数RINT0が取得されてから、異常検出用乱数RINT2が取得されるまでの時間が、2つの連続する乱数周期2Fよりも短くなるように、かつ、異常検出用乱数RINT0、RINT1、RINT2および抽選用乱数RST0の各取得間隔が、乱数発生装置112における乱数更新周期よりも長くなるように、乱数取得処理における異常検出用乱数取得無効フラグのオン期間および割込周期が設定されているものとする。 In FIGS. 22A and 22C, the time from when the abnormality detection random number R INT 0 is acquired until the abnormality detection random number R INT 2 is acquired is based on two consecutive random number cycles 2F. And the acquisition intervals of the abnormality detection random numbers R INT 0, R INT 1, R INT 2, and the lottery random number R ST 0 are longer than the random number update period in the random number generator 112. Assume that the on-period and interrupt period of the abnormality detection random number acquisition invalid flag in the random number acquisition processing are set.

このように、図21に示した乱数チェック処理では、乱数取得処理において、取得された抽選用乱数が正常か異常か(または異常の可能性があるか)の判定結果に応じて、その後、異常が確定的に検出された場合における遊技制御の停止時期を異ならせている。   As described above, in the random number check process shown in FIG. 21, in the random number acquisition process, an abnormality is then performed according to the determination result of whether the acquired lottery random number is normal or abnormal (or whether there is a possibility of abnormality). The game control stop timing is changed in a case where is deterministically detected.

<乱数チェック処理の変形例(3)>
次に図23に示すフローチャートを参照して、図12、図19および図21に示した乱数チェック処理とは異なる方法によって乱数の異常を判定する乱数チェック処理について説明する。なお、図23に示す乱数チェック処理も、図19および図21に示した乱数チェック処理と同様に、図10、図15および図17に各々示した乱数取得処理のいずれかと併せて実行されるものであるが、以下の説明では、図10に示した乱数取得処理と併せて実行されているものとする。さらに、図23に示すフローチャートにおいて、図12、図19および図21のフローチャートと同様の処理を行うステップについては、同じステップ番号を付与し、それらの詳しい説明は省略する。
<Modification of random number check process (3)>
Next, with reference to the flowchart shown in FIG. 23, a random number check process for determining a random number abnormality by a method different from the random number check process shown in FIGS. 12, 19, and 21 will be described. Note that the random number check process shown in FIG. 23 is also executed in combination with any of the random number acquisition processes shown in FIGS. 10, 15, and 17, similar to the random number check process shown in FIGS. However, in the following description, it is assumed that the process is executed together with the random number acquisition process shown in FIG. Further, in the flowchart shown in FIG. 23, the same step numbers are assigned to the steps for performing the same processes as those in the flowcharts of FIGS. 12, 19, and 21, and detailed descriptions thereof are omitted.

まず、CPU106は、外部から割込信号が供給されると、乱数取得処理が実行中でなければ、すなわち異常検出用乱数取得無効フラグがオフになっていれば(ステップS200,NO)、ステップS201およびS202の処理により、異常検出用乱数を取得する。そして、CPU106は、ステップS203の処理により、乱数異常検出情報の内容を「正常」にセットした後、ステップS230で抽選用乱数取得完了フラグがオンになっているか否かを判断する。その結果、CPU106が、抽選用乱数取得完了フラグがオンになっている(YES)と判断したときは、上述したステップS201およびS202で取得した乱数が、乱数取得処理の終了後、最初に取得した異常検出用乱数であることを意味する。この場合、CPU106はステップS250へ進み、直前に行われた乱数取得処理における判定の結果、乱数準異常検出情報の内容が「正常」になっているか否かを判断する。ステップS250の判断処理で、CPU106が、乱数準異常検出情報の内容が「正常」になっている(YES)と判断したときは、RAM110に記憶されている取得直後異常判定フラグをオンにする(ステップS260)。   First, when an interrupt signal is supplied from the outside, the CPU 106 determines that the random number acquisition process is not being executed, that is, if the abnormality detection random number acquisition invalid flag is off (step S200, NO), step S201. In step S202, the abnormality detection random number is acquired. Then, after setting the content of the random number abnormality detection information to “normal” by the process of step S203, the CPU 106 determines whether or not the lottery random number acquisition completion flag is turned on in step S230. As a result, when the CPU 106 determines that the lottery random number acquisition completion flag is on (YES), the random number acquired in steps S201 and S202 described above is first acquired after the random number acquisition process ends. It means a random number for abnormality detection. In this case, the CPU 106 proceeds to step S250 and determines whether or not the content of the random number quasi-abnormality detection information is “normal” as a result of the determination in the random number acquisition process performed immediately before. When the CPU 106 determines that the content of the random number quasi-abnormality detection information is “normal” (YES) in the determination processing of step S250, the abnormality determination flag immediately after acquisition stored in the RAM 110 is turned on ( Step S260).

この取得直後異常判定フラグは、図23に示す乱数チェック処理により、乱数発生装置112が生成した乱数に異常が生じたと判定した際に、その判定が、乱数取得処理の終了直後に3回連続して実行された乱数チェック処理によって、取得された3つの異常検出用乱数に基づいてなされたものであるか否かを判断するためのフラグである。ここで、図23に示す乱数チェック処理において、乱数異常検出情報の内容を「異常」に更新する(すなわち、異常という判定を下した)際に、取得直後異常判定フラグがオンになっていた場合、その判定は、乱数取得処理の終了直後に連続して取得された3つの異常検出用乱数に基づいてなされたものであることを意味する。また、乱数異常検出情報の内容を「異常」に更新する際に、取得直後異常判定フラグがオフになっていた場合は、その判定は、乱数取得処理の終了直後に連続して取得された3つの異常検出用乱数に基づいてなされたものではないことを意味する。なお、取得直後異常判定フラグの初期状態はオフである。   This abnormality determination flag immediately after acquisition is determined three times immediately after the end of the random number acquisition process when it is determined by the random number check process shown in FIG. 23 that an abnormality has occurred in the random number generated by the random number generation device 112. This is a flag for determining whether or not the random number check processing is executed based on the three abnormality detection random numbers acquired. Here, in the random number check process shown in FIG. 23, when the content of the random number abnormality detection information is updated to “abnormal” (that is, when the abnormality is determined), the abnormality determination flag immediately after acquisition is turned on. The determination means that the determination is made based on the three abnormality detection random numbers acquired successively immediately after the end of the random number acquisition process. In addition, when updating the content of the random number abnormality detection information to “abnormal”, if the abnormality determination flag immediately after acquisition is turned off, the determination is continuously acquired immediately after the end of the random number acquisition process. It means that it was not made based on one abnormality detection random number. Note that the initial state of the abnormality determination flag immediately after acquisition is off.

CPU106は、ステップS260で取得直後異常判定フラグをオンにすると、次いでRAM110に記憶されている抽選用乱数取得完了フラグをオフにしてから(ステップS262)、ステップS215へ進んで異常判定回数errの値を「0」にクリアする。そして、ステップS214へ進んで、上述したステップS201およびS202で取得した異常検出用乱数をRAM110に記憶した後、図23に示す乱数チェック処理を終了する。よって、乱数取得処理の終了後、最初に実行する乱数チェック処理において、乱数準異常検出情報が「正常」だった場合は、異常検出用乱数の取得は行われるが、当該取得した異常検出用乱数と、過去に取得した異常検出用乱数との比較処理は行われない。   When the abnormality determination flag immediately after acquisition is turned on in step S260, the CPU 106 turns off the lottery random number acquisition completion flag stored in the RAM 110 (step S262), and then proceeds to step S215 to determine the value of the abnormality determination number err. Is cleared to “0”. Then, the process proceeds to step S214, the abnormality detection random number acquired in steps S201 and S202 described above is stored in the RAM 110, and the random number check process shown in FIG. Therefore, when the random number quasi-abnormality detection information is “normal” in the first random number check process after the random number acquisition process is completed, the abnormality detection random number is acquired, but the acquired abnormality detection random number is acquired. Are not compared with the abnormality detection random numbers acquired in the past.

これに対して、CPU106が、ステップS250の判断処理で乱数準異常検出処理が「異常」になっている(NO)と判断した場合は、ステップS252へ進み、RAM110に記憶されている抽選用乱数取得完了フラグをオフにして、ステップS204の処理へ進む。また、上述したステップS230の判断処理で、CPU106が、抽選用乱数取得完了フラグがオフになっている(NO)と判断したときは、ステップS250の処理を行わず、直接、ステップS204の処理へ進む。そして、ステップS204で、CPU106は、RAM110に記憶されている、前回取得された異常検出用乱数の下位8ビットの値と、ステップS201で取得した異常検出用乱数の下位8ビットの値とが、一致するか否かを判断する。ここで、ステップS250の判断結果がNOとなった結果、ステップS204の処理へ移行した場合は、前回取得された異常検出用乱数は、直前に行われた乱数取得処理が開始される以前において、最後に取得していた異常検出用乱数となる。   On the other hand, if the CPU 106 determines that the random number quasi-abnormality detection process is “abnormal” (NO) in the determination process in step S250, the process proceeds to step S252, and the random numbers for lottery stored in the RAM 110 are determined. The acquisition completion flag is turned off, and the process proceeds to step S204. If the CPU 106 determines that the lottery random number acquisition completion flag is off (NO) in the determination process in step S230 described above, the process directly proceeds to the process in step S204 without performing the process in step S250. move on. In step S204, the CPU 106 stores the value of the lower 8 bits of the abnormality detection random number acquired last time and the value of the lower 8 bits of the abnormality detection random number acquired in step S201, which are stored in the RAM 110. Determine whether they match. Here, as a result of the determination in step S250 being NO, if the process proceeds to step S204, the abnormality detection random number acquired last time is before the random number acquisition process performed immediately before is started. This is the anomaly detection random number that was acquired last.

CPU106が、前回取得された異常検出用乱数の下位8ビットの値と、ステップS201で取得した異常検出用乱数の下位8ビットの値とが、一致する(YES)と判断したときは、ステップS205へ進み、前回取得された異常判定用乱数の上位8ビットの値と、ステップS202で取得した異常判定用乱数の上位8ビットの値とが、一致したか否かを判断する。そして、CPU106が、両者の値が一致した(YES)と判断した場合は、ステップS206へ進んで乱数異常回数errの値に「1」を加算した後、ステップS207へ進み、乱数異常回数errの値が「2」になったか否かを判断する。CPU106が、乱数異常回数errの値が「2」になった(YES)と判断したときは、取得直後異常判定フラグがオンになっているか否かを判断する(ステップS264)。取得直後異常判定フラグがオンになっていた場合は、乱数取得処理の終了直後から、3回連続して取得された異常検出用乱数に基づいて、乱数発生装置112が生成した乱数に異常が生じていると判断し、かつ、当該乱数取得処理で抽選用乱数が取得された時点では、乱数発生装置112によって生成された乱数は正常であったとみなされる。   When the CPU 106 determines that the value of the lower 8 bits of the abnormality detection random number acquired last time matches the value of the lower 8 bits of the abnormality detection random number acquired in step S201 (YES), step S205 is performed. Then, it is determined whether or not the upper 8 bits of the abnormality determination random number acquired last time coincides with the upper 8 bits of the abnormality determination random number acquired in step S202. If the CPU 106 determines that both values match (YES), the process proceeds to step S206, and "1" is added to the value of the random number abnormality count err, and then the process proceeds to step S207, where the random number abnormality count err is set. It is determined whether or not the value is “2”. When the CPU 106 determines that the value of the random number abnormality count err has become “2” (YES), it determines whether or not the abnormality determination flag immediately after acquisition is on (step S264). If the abnormality determination flag immediately after acquisition is on, an abnormality occurs in the random number generated by the random number generator 112 based on the abnormality detection random number acquired three times in succession immediately after the end of the random number acquisition process. When the lottery random number is acquired in the random number acquisition process, the random number generated by the random number generator 112 is considered normal.

これにより、CPU106は、RAM110に記憶されている継続フラグのオン/オフ状態をオンにする(ステップS266)。この継続フラグは、図12および図21に示した乱数チェック処理における継続フラグと同様のフラグである。そして、CPU106は、RAM110に記憶されている取得直後異常判定フラグをオフにした後(ステップS268)、ステップS208へ進み異常判定回数errの値を「0」にクリアする。なお、ステップS264の判断処理で、取得直後異常判定フラグがオフになっている(NO)とCPU106が判断したときは、ステップS266およびS268の処理を行わずに、直接ステップS208の処理へ移行する。ステップS208の処理を行うと、CPU106は、ステップS209へ進んで終了フラグをオンにし、次いでステップS213へ進んで乱数異常検出情報の内容を「異常」に更新し、さらにステップS214へ進んで、上述したステップS201およびS202で取得した異常検出用乱数をRAM110に記憶した後、図24に示す乱数チェック処理を終了する。   Thereby, the CPU 106 turns on the ON / OFF state of the continuation flag stored in the RAM 110 (step S266). This continuation flag is the same flag as the continuation flag in the random number check processing shown in FIGS. Then, after turning off the abnormality determination flag immediately after acquisition stored in the RAM 110 (step S268), the CPU 106 proceeds to step S208 and clears the value of the abnormality determination number err to “0”. If the CPU 106 determines that the abnormality determination flag immediately after acquisition is off (NO) in the determination process in step S264, the process directly proceeds to the process in step S208 without performing the processes in steps S266 and S268. . When the process of step S208 is performed, the CPU 106 proceeds to step S209 to turn on the end flag, and then proceeds to step S213 to update the content of the random number abnormality detection information to “abnormal”, and further proceeds to step S214. After storing the abnormality detection random numbers acquired in steps S201 and S202 in the RAM 110, the random number check process shown in FIG. 24 is terminated.

なお、上述したステップS207の判断処理で、CPU106が、乱数異常回数errの値が「2」になっていない(NO)と判断したときは、直ちにステップS214に進んで、上述したステップS201およびS202で取得した異常検出用乱数をRAM110に記憶した後、図23に示す乱数チェック処理を終了する。   When the CPU 106 determines that the value of the random number abnormality count err is not “2” (NO) in the determination process of step S207 described above, the process immediately proceeds to step S214, and the above-described steps S201 and S202 are performed. 23 is stored in the RAM 110, and then the random number check process shown in FIG.

また、ステップS204またはS205のいずれかの処理で、CPU106が、両者の値が一致しない(NO)と判断した場合は、乱数発生装置112において、乱数が正常に生成されているものとみなし、RAM110に記憶されている取得直後異常判定フラグをオフにする(ステップS270)。そしてCPU106は、ステップS215へ進み、errの値を「0」にクリアし、さらにステップS214の処理へ進み、上述したステップS201およびS202の処理によって取得された異常検出用乱数を、RAM110に記憶した後、図23に示す乱数チェック処理を終了する。   If the CPU 106 determines in step S204 or S205 that the two values do not match (NO), the random number generator 112 regards that the random number is normally generated, and the RAM 110 Is turned off (step S270). Then, the CPU 106 proceeds to step S215, clears the value of err to “0”, further proceeds to the process of step S214, and stores the abnormality detection random number acquired by the processes of steps S201 and S202 described above in the RAM 110. Then, the random number check process shown in FIG.

(異常判定の流れについての説明)
次に、上述した図23の乱数チェック処理による乱数の異常判定の流れについて、図24に示すタイミングチャートを参照して説明する。以下では、図23の乱数チェック処理は、図10に示した乱数取得処理と併せて実行される場合について説明する。また、図24に示す各種記号および矢印は、図22に示した各種記号および矢印と同様の意味を有する。なお、RINT3は、異常検出用乱数RINT2を取得した乱数チェック処理の次に実行された乱数チェック処理で取得された異常検出用乱数を示す。
(Explanation of abnormality judgment flow)
Next, the flow of random number abnormality determination by the random number check process of FIG. 23 described above will be described with reference to the timing chart shown in FIG. Hereinafter, a case where the random number check process of FIG. 23 is executed in conjunction with the random number acquisition process shown in FIG. 10 will be described. Also, the various symbols and arrows shown in FIG. 24 have the same meaning as the various symbols and arrows shown in FIG. R INT 3 represents an abnormality detection random number acquired in the random number check process executed after the random number check process for acquiring the abnormality detection random number R INT 2.

さらに、以下の説明では、図23の乱数チェック処理において、異常検出用乱数RINT1が取得された時点では、異常判定回数errの値が「0」になっているものとした上で、(1)乱数取得処理において乱数準異常検出情報が「異常」だった場合と、(2)乱数準異常検出情報が「異常」だった場合とに分けて説明する。 Furthermore, in the following description, in the random number check process of FIG. 23, when the abnormality detection random number R INT 1 is acquired, the value of the abnormality determination number err is assumed to be “0”. 1) In the random number acquisition process, the case where the random number quasi-abnormality detection information is “abnormal” and (2) the case where the random number quasi-abnormality detection information is “abnormal” will be described separately.

(1)乱数準異常検出情報が「異常」だった場合
外部から割込信号が供給されたことに基づいて、図23のステップS201およびS202の処理によって異常検出用乱数が取得され、ステップS230で抽選用乱数取得完了フラグがオンになっている(YES)と判断されたときは、ステップS201およびS202によって取得された異常検出用乱数は、乱数取得処理の終了後に、最初に取得された異常検出用乱数RINT1ということになる。次にステップS250で、乱数準異常検出情報の内容が「正常」になっているか否かが判断される。ここで、図24(a)に示すように、乱数準異常検出情報の内容が「異常」になっているときは(図10の乱数取得処理を行っている場合は、準異常状態を意味する)、ステップS252で、抽選用乱数取得完了フラグがオフにされた後、ステップS204およびS205の処理によって、前回の乱数チェック処理で取得された異常検出用乱数RINT0の値と、上述した異常検出用乱数RINT1の値とが、比較される。
(1) When the random number quasi-abnormality detection information is “abnormal” Based on the fact that an interrupt signal is supplied from the outside, a random number for abnormality detection is acquired by the processing of steps S201 and S202 of FIG. When it is determined that the lottery random number acquisition completion flag is turned on (YES), the abnormality detection random number acquired in steps S201 and S202 is the first abnormality detection acquired after the random number acquisition process ends. Random number R INT 1 will be used. Next, in step S250, it is determined whether or not the content of the random number semi-abnormality detection information is “normal”. Here, as shown in FIG. 24A, when the content of the random number semi-abnormality detection information is “abnormal” (when the random number acquisition process of FIG. 10 is performed, it means a semi-abnormal state). ) After the lottery random number acquisition completion flag is turned off in step S252, the values of the abnormality detection random number R INT 0 acquired in the previous random number check process by the processes in steps S204 and S205 and the above-described abnormality The value of the random number for detection R INT 1 is compared.

両者の値が一致した場合は(ステップS204,S205が共にYES)、ステップS206で異常判定回数errの値(「0」)に「1」が加算されて「1」となり、ステップS207の判断結果がNOとなるので、直ちにステップS214へ進み、異常検出用乱数RINT1の値をRAM110に記憶して、図23の乱数チェック処理を終了する。そして、次の割込信号が供給されたことにより、図23の乱数チェック処理が行われると、ステップS201およびS202によって異常検出用乱数RINT2が取得される。次いで、前回の乱数チェック処理のステップS252で抽選用乱数取得完了フラグがオフにされているため、ステップS230の判断結果がNOとなり、ステップS204およびS205により、異常検出用乱数RINT1の値と、異常検出用乱数RINT2の値が比較される。 If both values match (both YES in steps S204 and S205), “1” is added to the value of the abnormality determination number err (“0”) in step S206 to become “1”, and the determination result in step S207 Therefore, the process immediately proceeds to step S214, the value of the abnormality detection random number R INT 1 is stored in the RAM 110, and the random number check process in FIG. When the next interrupt signal is supplied and the random number check process of FIG. 23 is performed, the abnormality detection random number R INT 2 is acquired in steps S201 and S202. Next, since the lottery random number acquisition completion flag is turned off in step S252 of the previous random number check process, the determination result in step S230 is NO, and the values of the abnormality detection random number R INT 1 are set in steps S204 and S205. The value of the abnormality detection random number R INT 2 is compared.

ここで、両者の値が一致した場合は、ステップS206で異常判定回数errの値が「2」にされて、ステップS207の判定結果がYESとなるが、取得直後異常判定フラグがオフになっているため、次のステップS264における判断結果はNOとなり、ステップS264,NO→S208→S209→S213と移行して、乱数異常検出情報が「異常」に更新される。すなわち、異常検出用乱数RINT0、RINT1、RINT2の値が全て一致したことによって、乱数異常検出情報が「異常」に更新される。なお、この場合は、ステップS266の処理が行われないため、継続フラグはオンにならない。よって、乱数取得処理によって取得された抽選用乱数RST0は、異常な乱数であると見なし、たとえ遊技中であっても直ちに遊技の進行が停止することになる(後述する)。 If the two values match, the value of the abnormality determination number err is set to “2” in step S206, and the determination result in step S207 is YES, but the abnormality determination flag immediately after acquisition is turned off. Therefore, the determination result in the next step S264 is NO, the process proceeds from step S264, NO → S208 → S209 → S213, and the random number abnormality detection information is updated to “abnormal”. That is, when the values of the abnormality detection random numbers R INT 0, R INT 1, and R INT 2 all match, the random number abnormality detection information is updated to “abnormal”. In this case, since the process of step S266 is not performed, the continuation flag is not turned on. Therefore, the lottery random number R ST 0 acquired by the random number acquisition process is regarded as an abnormal random number, and the progress of the game is immediately stopped even during the game (described later).

(2)乱数準異常検出情報が「正常」だった場合
外部から割込信号が供給されたことに基づいて、図23のステップS201〜S203の処理が行われ、ステップS230で抽選用乱数取得完了フラグがオンになっている(YES)と判断されたときは、ステップS201およびS202によって取得された異常検出用乱数は、乱数取得処理の終了後に、最初に取得された異常検出用乱数RINT1ということになる。次にステップS250で、乱数準異常検出情報の内容が「正常」になっているか否かが判断される。ここで、図24(b)に示すように、乱数準異常検出情報の内容が「正常」になっているとき(ステップS250,YES)は、ステップS260およびS262で、各々、取得直後異常判定フラグがオン、抽選用乱数取得完了フラグがオフにされる。そしてステップS215で異常判定回数errの値がクリアされた後、ステップS214の処理により、異常検出用乱数RINT1がRAM110に記憶されて、図23の乱数チェック処理が終了する。
(2) When the random number quasi-abnormality detection information is “normal” Based on the fact that an interrupt signal is supplied from the outside, the processing of steps S201 to S203 in FIG. 23 is performed, and the random number for lottery acquisition is completed in step S230. When it is determined that the flag is on (YES), the abnormality detection random number acquired in steps S201 and S202 is the abnormality detection random number R INT 1 first acquired after the random number acquisition process is completed. It turns out that. Next, in step S250, it is determined whether or not the content of the random number semi-abnormality detection information is “normal”. Here, as shown in FIG. 24B, when the content of the random number quasi-abnormality detection information is “normal” (step S250, YES), in step S260 and S262, the immediately after acquisition abnormality determination flag, respectively. Is turned on, and the random number acquisition completion flag for lottery is turned off. Then, after the value of the abnormality determination number err is cleared in step S215, the abnormality detection random number R INT 1 is stored in the RAM 110 by the process of step S214, and the random number check process of FIG.

そして、次の割込信号が供給されたことにより、図23の乱数チェック処理が行われると、ステップS201およびS202によって異常検出用乱数RINT2が取得され、前回の乱数チェック処理で抽選用乱数取得完了フラグがオフにされていることから、ステップS230の判断結果がNOとなり、ステップS204およびS205により、異常検出用乱数RINT1の値と、異常検出用乱数RINT2の値が比較される。ここで、図24(b)に示すように、両者の値が一致しなければ(ステップS204またはS205,NO)、ステップS270で取得直後異常判定フラグがオフにされ、ステップS215で異常判定回数errの値がクリアされた後、ステップS214の処理により、異常検出用乱数RINT2がRAM110に記憶されて、図23の乱数チェック処理が終了する。この場合、ステップS213の処理が行われないため、乱数異常検出情報の内容は「正常」のまま維持される。 When the next interrupt signal is supplied and the random number check process of FIG. 23 is performed, the abnormality detection random number R INT 2 is acquired in steps S201 and S202. Since the acquisition completion flag is turned off, the determination result in step S230 is NO, and the value of the abnormality detection random number R INT 1 is compared with the value of the abnormality detection random number R INT 2 in steps S204 and S205. The Here, as shown in FIG. 24B, if the two values do not match (step S204 or S205, NO), the immediately after acquisition abnormality determination flag is turned off in step S270, and the abnormality determination number err in step S215. After the value is cleared, the abnormality detection random number R INT 2 is stored in the RAM 110 by the process of step S214, and the random number check process of FIG. In this case, since the process of step S213 is not performed, the content of the random number abnormality detection information is maintained as “normal”.

これに対して、ステップS204およびS205により、異常検出用乱数RINT1の値と、異常検出用乱数RINT2の値が一致すると判断された場合は、ステップS206の処理によって異常判定回数errの値が「1」となり、その後、ステップS207,NO→S214と移行して、異常検出用乱数RINT2がRAM110に記憶された後、図23の乱数チェック処理が終了する。ここで、前回行われた乱数チェック処理のステップS260によって、オンにされた取得直後異常判定フラグの状態は維持されている。 On the other hand, if it is determined in steps S204 and S205 that the value of the abnormality detection random number R INT 1 and the value of the abnormality detection random number R INT 2 match, the process of step S206 sets the abnormality determination count err. After the value becomes “1”, the process proceeds to step S207, NO → S214, and the abnormality detection random number R INT 2 is stored in the RAM 110. Then, the random number check process in FIG. Here, the state of the immediately after acquisition abnormality determination flag that is turned on is maintained by step S260 of the random number check process performed last time.

さらに、次の割込信号が供給されたことにより、図23の乱数チェック処理が行われると、図24(c)に示すように、ステップS201およびS202によって異常検出用乱数RINT3が取得され、ステップS230の判断結果がNOとなり、ステップS204およびS205により、異常検出用乱数RINT2の値と、異常検出用乱数RINT3の値が比較される。このとき、両者の値が一致すれば、ステップS206の処理によって異常判定回数errの値が「2」となり、ステップS264で、取得直後異常判定フラグがオンになっているか否かが判断される。 Further, when the random number check process of FIG. 23 is performed by supplying the next interrupt signal, the abnormality detection random number R INT 3 is acquired in steps S201 and S202 as shown in FIG. 24C. The determination result in step S230 is NO, and the value of the abnormality detection random number R INT 2 is compared with the value of the abnormality detection random number R INT 3 in steps S204 and S205. At this time, if the two values match, the value of the abnormality determination number err becomes “2” by the process of step S206, and it is determined whether or not the abnormality determination flag immediately after acquisition is turned on in step S264.

前回の乱数チェック処理が終了した時点で、取得直後異常判定フラグのオン状態が維持されていることから、ステップS264の判断結果はYESとなり、ステップS266で継続フラグがオンにされた後、ステップS268で取得直後異常判定フラグがオフにされる。そして、ステップS208で異常判定回数errの値がクリアされ、次いでステップS213で乱数異常検出情報の内容が「異常」に更新された後、ステップS214で異常検出用乱数RINT3がRAM110に記憶されて、図23の乱数チェック処理が終了する。 Since the ON state of the abnormality determination flag immediately after acquisition is maintained when the previous random number check process is completed, the determination result in step S264 is YES, and after the continuation flag is turned on in step S266, step S268 is performed. The abnormality determination flag is turned off immediately after acquisition. Then, the value of the abnormality determination number err is cleared in step S208, and then the content of the random number abnormality detection information is updated to “abnormal” in step S213, and then the abnormality detection random number R INT 3 is stored in the RAM 110 in step S214. Thus, the random number check process in FIG.

この場合、抽選用乱数RINT1、RINT2およびRINT3の値が全て一致したことによって乱数異常検出情報が「異常」に更新されるが、乱数取得処理によって抽選用乱数が取得された時点では、乱数発生装置112は乱数を正常に生成していたものとみなす。よって、直前に行われた乱数取得処理で取得された抽選用乱数RST0を有効なものとして扱い、少なくともそのとき進行中だった単位遊技については、最後まで遊技に関する制御を行うべく、継続フラグがオンにされる。 In this case, the random number abnormality detection information is updated to “abnormal” when the values of the random numbers for lottery R INT 1, R INT 2 and R INT 3 all match, but the random number for lottery has been acquired by the random number acquisition process. At the time, the random number generator 112 assumes that the random number has been generated normally. Therefore, the lottery random number R ST 0 acquired in the random number acquisition process performed immediately before is treated as valid, and at least for the unit game that was in progress at that time, the continuation flag Is turned on.

なおここで、図24(a)および(c)において、異常検出用乱数RINT1が取得されてから、異常検出用乱数RINT3が取得されるまでの時間が、2つの連続する乱数周期2Fよりも短くなるように、かつ、異常検出用乱数RINT1、RINT2およびRINT3の各取得間隔が、乱数発生装置112における乱数更新周期よりも長くなるように、割込周期が設定されているものとする。 In FIGS. 24A and 24C, the time from when the abnormality detection random number R INT 1 is acquired until the abnormality detection random number R INT 3 is acquired is two consecutive random number cycles. The interrupt period is set to be shorter than 2F, and the acquisition intervals of the abnormality detection random numbers R INT 1, R INT 2 and R INT 3 are longer than the random number update period in the random number generator 112. It is assumed that it is set.

このように、図23に示した乱数チェック処理においても、図21に示した乱数チェック処理と同様、乱数取得処理において、取得された抽選用乱数が正常か異常か(または異常の可能性があるか)の判定結果に応じて、その後、異常が確定的に検出された場合における遊技制御の停止時期を異ならせている。   As described above, in the random number check process shown in FIG. 23, as in the random number check process shown in FIG. 21, in the random number acquisition process, the lottery random number acquired is normal or abnormal (or may be abnormal). Depending on the determination result, the game control stop timing is changed when an abnormality is definitely detected thereafter.

以上説明した各種変形例において、図17に示した乱数取得処理では、抽選用乱数RST0(比較用乱数RCMP0と同じ)の異常判定を、その後取得した比較用乱数RCMP1およびRCMP2と比較することで行っている(図18参照)。また、図19に示した乱数チェック処理では、乱数取得処理で取得した抽選用乱数RST0が異常であるか否かの判定を、その乱数取得処理後の割込処理で取得された異常検出用乱数RINT1およびRINT2と比較することで行っている(図20参照)。また、図21および図23に示した乱数チェック処理では、乱数取得処理後の割込処理で取得された異常検出用乱数RINT1およびRINT2、RINT1または〜3に基づいて、継続フラグのオン/オフ制御を行っている(図22および図24参照)。これらの異常判定および継続フラグのオン/オフ制御は、遊技者がスタートスイッチ36を操作してからストップスイッチ37L,37C,37Rの操作が可能となるまでの間に完了させることができる。 In the various modifications described above, in the random number acquisition process shown in FIG. 17, abnormality determination of the lottery random number R ST 0 (same as the comparison random number R CMP 0) is performed, and then the comparison random numbers R CMP 1 and R acquired. This is done by comparing with CMP 2 (see FIG. 18). Further, in the random number check process shown in FIG. 19, it is determined whether or not the lottery random number R ST 0 acquired in the random number acquisition process is abnormal. The abnormality detection acquired in the interrupt process after the random number acquisition process is performed. This is done by comparing with the random numbers for use R INT 1 and R INT 2 (see FIG. 20). Further, in the random number check process shown in FIG. 21 and FIG. 23, it continues based on the abnormality detection random numbers R INT 1 and R INT 2, R INT 1 or ˜3 acquired in the interrupt process after the random number acquisition process. Flag on / off control is performed (see FIGS. 22 and 24). The abnormality determination and the on / off control of the continuation flag can be completed after the player operates the start switch 36 until the stop switches 37L, 37C, and 37R can be operated.

例えば、図23に示した乱数チェック処理では、乱数取得処理の終了後に取得された3つの異常検出用乱数RINT1〜3に基づいて、継続フラグのオン/オフ制御が行われているが、この制御は、乱数取得処理に続いて行われる役抽選処理(図9、ステップS8参照)およびリール変動・停止処理(図9、ステップS9参照)によって開始される各リールの加速期間(247.34ミリ秒)以内に十分完了させることができる。 For example, in the random number check process shown in FIG. 23, on / off control of the continuation flag is performed based on the three abnormality detection random numbers R INT 1 to 3 acquired after the end of the random number acquisition process. This control is performed by an acceleration period (247.34) of each reel that is started by a winning lottery process (see FIG. 9, step S8) and a reel change / stop process (see FIG. 9, step S9) performed following the random number acquisition process. It can be fully completed within milliseconds.

また、図21および図23に示した乱数チェック処理のステップS250では、図10に示した乱数取得処理において判断された乱数準異常検出情報に基づく判断を行っていたが、図10において最初に行われる比較(直前に取得された異常検出用乱数と、今回取得された抽選用乱数との比較)の結果に基づいて、図21および図23におけるステップS250の判断処理を行ってもよい。この場合、図10において、直前に取得された異常検出用乱数の値と、今回取得された抽選用乱数の値とが一致しなければ、ステップS250の判断結果がYESとなって、図21の乱数チェック処理ではステップS232の処理へ移行し、図23の乱数チェック処理ではステップS260の処理へ移行する。また、図10において、直前に取得された異常検出用乱数の値と、今回取得された抽選用乱数の値とが一致すれば、ステップS250の判断結果がNOとなって、図21および図23の乱数チェック処理においてステップS252の処理へ移行する。   Further, in step S250 of the random number check process shown in FIGS. 21 and 23, the determination based on the random number quasi-abnormality detection information determined in the random number acquisition process shown in FIG. 10 is performed. The determination process of step S250 in FIGS. 21 and 23 may be performed based on the result of the comparison (comparison between the abnormality detection random number acquired immediately before and the lottery random number acquired this time). In this case, if the value of the abnormality detection random number acquired immediately before in FIG. 10 does not match the value of the random number for lottery acquired this time, the determination result in step S250 is YES, and FIG. In the random number check process, the process proceeds to step S232, and in the random number check process in FIG. 23, the process proceeds to step S260. In FIG. 10, if the value of the abnormality detection random number acquired immediately before matches the value of the random number for lottery acquired this time, the determination result in step S250 is NO, and FIG. 21 and FIG. In the random number check process, the process proceeds to step S252.

≪異常発生処理の説明≫
次に、CPU106が、1.49ミリ秒ごとに外部から供給される割込信号に応じて実行する割込処理の中で行われる、異常発生処理の詳細な内容について、図25に示すフローチャートを参照して説明する。
≪Explanation of abnormality occurrence process≫
Next, the flowchart shown in FIG. 25 shows the detailed contents of the abnormality occurrence process performed in the interrupt process executed by the CPU 106 according to the interrupt signal supplied from the outside every 1.49 milliseconds. The description will be given with reference.

スロットマシン10では、異常を検出すべき項目(以下、異常検出項目という)が予め定められており、各異常検出項目について随時、異常が発生したか否かをチェックしている。異常検出項目としては、従来のスロットマシンと同様に、例えば、遊技者による不正行為に関するもの(メダルの不正な投入など)、スロットマシン10の各部の故障に関するもの(RAMの読み書きができないなど)、遊技上好ましくない状態に関するもの(ホッパーに貯留されているメダルが無いなど)など多岐に渡っている。各異常検出項目に関するチェック結果は、各々、異常検出情報としてRAM110に適宜記憶される。図10の乱数取得処理における乱数準異常検出情報、および図12の乱数チェック処理の乱数異常検出情報も、そのような異常検出情報の1つである。   In the slot machine 10, items to be detected for abnormality (hereinafter referred to as abnormality detection items) are determined in advance, and each abnormality detection item is checked as to whether or not an abnormality has occurred at any time. As an abnormality detection item, for example, as with a conventional slot machine, for example, an illegal act by a player (such as illegal insertion of medals), a malfunction of each part of the slot machine 10 (e.g., RAM cannot be read or written), There are a variety of things related to unfavorable game situations (such as no medals stored in the hopper). Check results regarding each abnormality detection item are appropriately stored in the RAM 110 as abnormality detection information. The random number quasi-abnormality detection information in the random number acquisition process in FIG. 10 and the random number abnormality detection information in the random number check process in FIG. 12 are also one of such abnormality detection information.

図25に示す異常発生処理は、各異常検出情報の内容をチェックし、異常が発生したと認められた場合に、その旨を報知すると共に、スロットマシン10における遊技の進行を停止させるものである。   The abnormality generation process shown in FIG. 25 checks the contents of each abnormality detection information, and when it is recognized that an abnormality has occurred, notifies the fact and stops the progress of the game in the slot machine 10. .

まず、CPU106は、予め定められた順序に従って、RAM110に記憶されている各異常検出情報のうち1つの異常検出情報の内容を参照する(ステップS300)。そして、参照した異常検出情報の内容が「異常」を示すものであるか否かを判断する(ステップS302)。参照した異常検出情報の内容が「正常」を示すものである(NO)場合は、未だ参照していない異常検出情報があるか否かを判断し(ステップS304)、未だ参照していない異常検出情報がある(YES)場合は、ステップS300の処理に戻り、予め定められた順序に従って次の異常検出情報の内容を参照する。   First, the CPU 106 refers to the content of one abnormality detection information among each abnormality detection information stored in the RAM 110 according to a predetermined order (step S300). Then, it is determined whether or not the content of the referenced abnormality detection information indicates “abnormal” (step S302). When the content of the detected abnormality detection information indicates “normal” (NO), it is determined whether there is abnormality detection information that has not been referred to yet (step S304), and an abnormality detection that has not been referred to yet. If there is information (YES), the process returns to step S300, and the content of the next abnormality detection information is referred to according to a predetermined order.

これに対して、ステップS302の処理で、参照した異常検出情報の内容が「異常」を示すものである(YES)場合は、「異常」を示す異常検出情報が、図12の乱数チェック処理によるチェック結果を示す乱数異常検出情報であるか否かを判断する(ステップS306)。CPU106が、乱数異常検出情報でない(NO)と判断したときは、ステップS300で参照した異常検出情報に対応するエラーコードを、ROM108から読み出し、RAM110の所定の記憶領域に記憶する(ステップS308)。そして、ステップS304の処理へ移行して、未だ参照していない異常検出情報があるか否かを判断する。このようにして、ステップS300〜S308の処理を繰り返して行い、予め定められている全ての異常検出情報の内容をチェックしていく。この過程において、(1)全ての異常検出情報が「正常」である場合、(2)「異常」を示す異常検出情報の中に乱数異常検出情報が含まれていない場合、(3)「異常」を示す異常検出情報の中に乱数異常検出情報が含まれている場合とで処理の内容が異なっているため、以下の説明では、各々の場合に分けて説明する。   On the other hand, when the content of the detected abnormality detection information indicates “abnormal” in the process of step S302 (YES), the abnormality detection information indicating “abnormal” is obtained by the random number check process of FIG. It is determined whether or not the random number abnormality detection information indicates a check result (step S306). When the CPU 106 determines that it is not random number abnormality detection information (NO), an error code corresponding to the abnormality detection information referred to in step S300 is read from the ROM 108 and stored in a predetermined storage area of the RAM 110 (step S308). Then, the process proceeds to step S304, and it is determined whether there is abnormality detection information that has not been referred to yet. In this way, the processes in steps S300 to S308 are repeated to check the contents of all the abnormality detection information set in advance. In this process, (1) when all abnormality detection information is “normal”, (2) when abnormality detection information indicating “abnormality” does not include random number abnormality detection information, (3) “abnormality” The content of the process differs depending on whether or not the random number abnormality detection information is included in the abnormality detection information indicating "".

(1)全ての異常検出情報が「正常」である場合
この場合、全ての異常検出情報の内容をチェックする処理の流れは、ステップS300→S302(NO)→S304(YES)→S300の処理を繰り返し行うことになる。そして、全ての異常検出情報の内容をチェックし終えると、ステップS304の判断結果がNOになって、CPU106は、RAM110の所定の記憶領域にエラーコードが記憶されているか否かを判断する(ステップS310)。この場合、ステップS308の処理が行われることは無いため、RAM110にエラーコードが記憶されておらず、ステップS322の判断結果がNOとなって、図25の異常発生処理が終了する。そして、次の割込処理が行われる際に、再び図25の異常発生処理が行われる。
(1) When all abnormality detection information is “normal” In this case, the flow of processing for checking the contents of all abnormality detection information is as follows: Step S300 → S302 (NO) → S304 (YES) → S300 Repeatedly. Then, after checking the contents of all the abnormality detection information, the determination result in step S304 is NO, and the CPU 106 determines whether or not an error code is stored in a predetermined storage area of the RAM 110 (step S310). In this case, since the process of step S308 is not performed, no error code is stored in the RAM 110, the determination result of step S322 is NO, and the abnormality generation process of FIG. Then, when the next interrupt process is performed, the abnormality occurrence process of FIG. 25 is performed again.

(2)「異常」を示す異常検出情報の中に乱数異常検出情報が含まれていない場合
この場合、全ての異常検出情報の内容をチェックする処理の流れは、ステップS300→S302(NO)→S304(YES)→S300またはステップS300→S302(YES)→S306(NO)→S308→S304(YES)→S300の処理を繰り返し行うことになる。そして、全ての異常検出情報の内容をチェックし終えると、ステップS304の判断結果がNOになって、CPU106は、ステップS310の判断処理へ移行し、RAM110の所定の記憶領域にエラーコードが記憶されているか否かを判断する。この場合、すでにステップS308の処理が行われており、RAM110には何らかのエラーコードが記憶されていることになるため、ステップS310の判断結果はYESとなる。
(2) When the abnormality detection information indicating “abnormal” does not include the random number abnormality detection information In this case, the flow of processing for checking the contents of all the abnormality detection information is step S300 → S302 (NO) → The process of S304 (YES) → S300 or step S300 → S302 (YES) → S306 (NO) → S308 → S304 (YES) → S300 is repeated. Then, after checking the contents of all the abnormality detection information, the determination result in step S304 is NO, the CPU 106 proceeds to the determination process in step S310, and the error code is stored in a predetermined storage area of the RAM 110. Judge whether or not. In this case, since the process of step S308 has already been performed and some error code is stored in the RAM 110, the determination result of step S310 is YES.

これによりCPU106は、まず、外部集中端子基板118(図3および図5参照)を介して、何らかの異常が発生したことを示す異常発生信号を、外部の管理コンピュータなどへ出力する(ステップS312)。そしてCPU106は、接続線120(図3および図4参照)を介してRAM110に記憶されている全てのエラーコードを副制御回路200へ送信する(ステップS314)。次に、CPU106は、LED駆動回路116(図3参照)により、RAM110に記憶されている全てのエラーコードを、順次切り替えつつ獲得枚数表示器28(図1参照)に表示させる(ステップS316)。   As a result, the CPU 106 first outputs an abnormality occurrence signal indicating that some abnormality has occurred to the external management computer or the like via the external concentrated terminal board 118 (see FIGS. 3 and 5) (step S312). Then, the CPU 106 transmits all error codes stored in the RAM 110 to the sub control circuit 200 via the connection line 120 (see FIGS. 3 and 4) (step S314). Next, the CPU 106 causes the LED drive circuit 116 (see FIG. 3) to display all the error codes stored in the RAM 110 on the acquired number display 28 (see FIG. 1) while sequentially switching (step S316).

そして、CPU106は、RAM110に記憶されている継続フラグの状態が、オンになっているかを判断する(ステップS318)。ここで、継続フラグは、図12、図19、図21または図23に示した乱数チェック処理によってオンにされるものであり、「異常」を示す異常検出情報の中に、乱数異常検出情報が含まれていないことから、継続フラグの状態はオフになっている。このため、ステップS318の判断結果はNOとなり、CPU106は、単位遊技中断処理を行う(ステップS320)。この処理の内容としては、スロットマシン10の内部にメダルセレクタのブロッカをオフにしてメダルの投入ができないようにし、スロットマシン10に設けられた各種ランプ類を消灯するとともに、リール40L,40C,40Rが回転していた場合は直ちに停止させるなどの処理を行う。そして、単位遊技中断処理を行った後は待機状態となる。   Then, CPU 106 determines whether or not the state of the continuation flag stored in RAM 110 is on (step S318). Here, the continuation flag is turned on by the random number check processing shown in FIG. 12, FIG. 19, FIG. 21 or FIG. 23, and the random number abnormality detection information is included in the abnormality detection information indicating “abnormal”. Since it is not included, the state of the continuation flag is off. For this reason, the determination result in step S318 is NO, and the CPU 106 performs unit game interruption processing (step S320). The contents of this process include turning off the blocker of the medal selector inside the slot machine 10 so that the medal cannot be inserted, turning off various lamps provided in the slot machine 10, and reels 40L, 40C, 40R. If is rotating, perform a process such as stopping immediately. And after performing unit game interruption processing, it will be in a standby state.

そして、待機状態になっているときに、遊技者によって図1に示した1−ベットスイッチ34、最大ベットスイッチ35、スタートスイッチ36、またはストップスイッチ37L,37C,37Rが操作され、主制御回路100に対して、メダル投入信号、遊技開始信号または停止指示信号が出力されたとしても、これらの信号は無視され、各スイッチの操作に応じた遊技制御が行われなくなる。なお、この待機状態から復帰するためのリセットスイッチをスロットマシン10の内部に設け、リセットスイッチが操作されると、図9に示したメインルーチンのステップS1から改めて処理を開始するように構成してもよい。   In the standby state, the player operates the 1-bet switch 34, the maximum bet switch 35, the start switch 36, or the stop switches 37L, 37C, and 37R shown in FIG. On the other hand, even if a medal insertion signal, a game start signal, or a stop instruction signal is output, these signals are ignored and game control according to the operation of each switch is not performed. A reset switch for returning from the standby state is provided in the slot machine 10 so that when the reset switch is operated, the process is started again from step S1 of the main routine shown in FIG. Also good.

(3)「異常」を示す異常検出情報の中に乱数異常検出情報が含まれている場合
ステップS302の判断処理により、「異常」を示す異常検出情報である(YES)と判断され、ステップS306の判断処理において、参照した異常検出情報が乱数異常検出情報である(YES)と判断されると、CPU106は、全ての異常検出情報に関する内容のチェックを完了させることなく、直ちに外部集中端子基板118を介して外部の管理コンピュータなどに対し、乱数発生装置112が生成した乱数に異常が生じたことを示す乱数異常信号を出力する(ステップS322)。そして、CPU106は、接続線120を介して、乱数発生装置112が生成した乱数に異常が生じたことを示すエラーコードを副制御回路200へ送信する(ステップS324)。
(3) When random number abnormality detection information is included in the abnormality detection information indicating “abnormal” By the determination processing in step S302, it is determined that the abnormality detection information indicates “abnormal” (YES), and step S306 In the determination process, if it is determined that the referenced abnormality detection information is random number abnormality detection information (YES), the CPU 106 immediately completes the check of the contents relating to all the abnormality detection information, and the external concentration terminal board 118 immediately. The random number abnormality signal indicating that an abnormality has occurred in the random number generated by the random number generator 112 is output to an external management computer or the like (step S322). Then, the CPU 106 transmits an error code indicating that an abnormality has occurred in the random number generated by the random number generator 112 to the sub-control circuit 200 via the connection line 120 (step S324).

次に、CPU106は、LED駆動回路116により、乱数発生装置112が生成した乱数に異常が生じたことを示すエラーコードを獲得枚数表示器28(図1参照)に表示させる(ステップS326)。そして、CPU106は、ステップS318の処理へ移行して、RAM110に記憶されている継続フラグの状態がオンになっているか否かを判断する。ここで、継続フラグがオンになっている(YES)と判断したときは、そのまま図25の異常発生処理を終了する。これにより、乱数異常検出情報が「異常」を示していたとしても、継続フラグがオンになっていた場合は、そのまま単位遊技が継続する。これに対して、CPU106は、継続フラグがオフになっている(NO)と判断したときは、ステップS320へ進み、単位遊技中断処理を行った後、待機状態となる。   Next, the CPU 106 causes the LED drive circuit 116 to display an error code indicating that an abnormality has occurred in the random number generated by the random number generator 112 on the acquired number display 28 (see FIG. 1) (step S326). Then, the CPU 106 proceeds to the process of step S318 and determines whether or not the state of the continuation flag stored in the RAM 110 is on. Here, when it is determined that the continuation flag is on (YES), the abnormality occurrence process of FIG. 25 is terminated as it is. As a result, even if the random number abnormality detection information indicates “abnormal”, if the continuation flag is on, the unit game continues as it is. On the other hand, when the CPU 106 determines that the continuation flag is off (NO), the CPU 106 proceeds to step S320, performs unit game interruption processing, and enters a standby state.

このように、乱数異常検出情報が「異常」を示していることが判明すると、CPU106は、そのことを最優先で、外部の管理コンピュータおよび副制御回路200へ通知し、獲得枚数表示器28にその旨のエラーコードを表示することで、遊技者などに報知する。そして、これらの処理を終えると、継続フラグの状態に応じて、スロットマシン10における遊技の進行を制御する。   Thus, when it is found that the random number abnormality detection information indicates “abnormal”, the CPU 106 gives the top priority to the external management computer and the sub-control circuit 200, and notifies the acquired number display device 28. A player or the like is notified by displaying an error code to that effect. When these processes are completed, the progress of the game in the slot machine 10 is controlled according to the state of the continuation flag.

上述した異常発生処理では、各異常検出項目に対応する異常検出情報の内容を順次チェックし、乱数異常検出情報の内容が「異常」になっていた場合は、最優先で乱数異常信号を外部へ出力し、エラーコードを副制御回路200へ送信していた。このような異常発生処理の変形例として、例えば、図25のステップS302の判断処理で、CPU106が異常検出情報の内容が「異常」になっていると判断するごとに(すなわちステップS302,YES)、その異常検出情報に対応する異常信号およびエラーコードを、外部および副制御回路200へ送信するようにしてもよい。   In the abnormality occurrence process described above, the contents of the abnormality detection information corresponding to each abnormality detection item are checked sequentially. And the error code is transmitted to the sub-control circuit 200. As a modification of such abnormality occurrence processing, for example, every time the CPU 106 determines that the content of the abnormality detection information is “abnormal” in the determination processing in step S302 of FIG. 25 (ie, YES in step S302). The abnormality signal and error code corresponding to the abnormality detection information may be transmitted to the external and sub-control circuit 200.

ここで、主制御回路100から外部および副制御回路200に対して送信される異常信号またはエラーコードの信号線が、送信する異常の種類に応じて1本または1対ずつ、複数設けられている場合は、異常を検出するごとに、対応する信号線に異常信号およびエラーコードを送信すればよい。これに対して、異常信号またはエラーコードを送信するための信号線が1本(または1対)しか設けられていなかった場合は、図25のステップS302の判断処理で、CPU106が異常検出情報の内容が「異常」と判断したときに、その異常検出情報が乱数異常検出情報でなければ、予め定められた時間だけ、異常信号を外部の管理コンピュータおよび副制御回路200へ出力し、乱数異常検出情報であった場合は、上述したリセットスイッチが操作されるまで、異常信号を外部の管理コンピュータおよび副制御回路200へ出力し続けるように構成するとよい。   Here, a plurality of abnormal signal or error code signal lines transmitted from the main control circuit 100 to the outside and the sub control circuit 200 are provided, one or a pair, depending on the type of abnormality to be transmitted. In this case, each time an abnormality is detected, an abnormality signal and an error code may be transmitted to the corresponding signal line. On the other hand, if only one signal line (or a pair) is provided for transmitting an abnormality signal or error code, the CPU 106 determines whether the abnormality detection information is in the determination process in step S302 of FIG. When the content is determined to be "abnormal", if the abnormality detection information is not random number abnormality detection information, an abnormality signal is output to the external management computer and sub-control circuit 200 for a predetermined time, and random number abnormality detection is performed. In the case of information, it is preferable that the abnormality signal is continuously output to the external management computer and the sub control circuit 200 until the above-described reset switch is operated.

また、この様な場合の他の方法としては、異常検出情報の種類ごとに、予め固有の異常信号の出力時間(オン時間)を定めておくとよい。そして、図25のステップS302の判断処理で、CPU106が異常検出情報の内容が「異常」と判断したときは、その異常検出情報に対応する時間だけ異常信号を出力するように構成する。これにより、外部の管理コンピュータまたは副制御回路200は、異常信号がオンになっている時間を計測することで、いずれの異常が発生したのかを判別することができる。   In addition, as another method in such a case, it is preferable to set a specific abnormality signal output time (on time) in advance for each type of abnormality detection information. When the CPU 106 determines that the content of the abnormality detection information is “abnormal” in the determination processing in step S302 of FIG. Thereby, the external management computer or the sub-control circuit 200 can determine which abnormality has occurred by measuring the time during which the abnormality signal is on.

なお、この場合、複数の異常検出情報が「異常」を示したときに、外部の管理コンピュータまたは副制御回路200が異常の種類を判別できるように、1つの異常検出情報に対応する異常信号を出力した後は、一定時間のインターバルをおいてから、次の異常信号を出力するように構成するとよい。また、この場合において、「異常」を示す異常検出情報が複数存在し、それら異常検出情報の中に乱数異常検出情報が含まれているときは、乱数異常検出情報が「異常」であることを示す異常信号を最初に送信するようにしてもよい。また、既に他の異常検出情報に対応する異常信号を出力している状況で、乱数異常検出情報が「異常」となった際には、現在出力されている異常信号の出力を中止または変更することにより、乱数に異常が生じたことを示す異常信号を優先して出力してもよい。   In this case, when a plurality of abnormality detection information indicates “abnormal”, an abnormality signal corresponding to one abnormality detection information is transmitted so that the external management computer or the sub control circuit 200 can determine the type of abnormality. After output, it may be configured to output the next abnormal signal after a certain time interval. In this case, when there are a plurality of abnormality detection information indicating “abnormal” and the abnormality detection information includes random number abnormality detection information, it is determined that the random number abnormality detection information is “abnormal”. The abnormal signal shown may be transmitted first. Also, if the random number abnormality detection information becomes “abnormal” in the situation where an abnormality signal corresponding to other abnormality detection information has already been output, the output of the currently output abnormality signal is stopped or changed. Accordingly, an abnormal signal indicating that an abnormality has occurred in the random number may be preferentially output.

≪電源断処理および電源投入処理の説明≫
上述した乱数取得処理および乱数チェック処理によって、乱数値の更新に異常が生じたことが検出された場合は、スロットマシン10の電源を一旦オフにした後、再度オンにして、正常な乱数の復旧を試みることが考えられる。そこで、以下ではスロットマシン10の電源をオフにしたときに行われる電源断処理と、電源をオンにした直後に行われる電源投入処理と、について説明する。
≪Explanation of power-off process and power-on process≫
When it is detected by the random number acquisition process and random number check process described above that an abnormality has occurred in updating the random number value, the slot machine 10 is turned off and then turned on again to restore normal random numbers. It is possible to try. Therefore, hereinafter, a power-off process performed when the power of the slot machine 10 is turned off and a power-on process performed immediately after the power is turned on will be described.

<電源断処理の説明>
まず、上述した電源断処理の内容について、図26に示すフローチャートを参照して説明する。
まず、スロットマシン10の電源がオフにされると、CPU106は、外部から入力される割込信号によって実行される割込処理を禁止する(ステップS350)。そして、CPU106内の各種レジスタ内に格納されているデータを、RAM110に予め定めておいたスタックエリアに保存する(ステップS352)。また、スタックエリアに保存するデータには、例えば、図10、図15または図17の乱数取得処理におけるステップS132の処理によってRAM110に記憶された抽選用乱数の値、図12、図19または図21の乱数チェック処理におけるステップS214の処理によってRAM110に記憶された異常検出用乱数の値、現在の遊技状態を示す情報、および役抽選の結果を示す情報や、前述した継続フラグおよび終了フラグを含む各種フラグのオン/オフ状態など、スロットマシン10の電源をオフにしたときの状態から、再度遊技を開始するために必要な情報が含まれている。次にCPU106は、スタックポインタが示している値(アドレス)をRAM110のスタックポインタ退避エリアに保存する(ステップS354)。次いで、CPU106は、RAM110の全記憶領域についてチェックサムを算出し、RAM110の所定の記憶領域に保存する(ステップS356)。そして、以後のRAM110への書き込みを禁止して(ステップS358)、図26に示す電源断処理を終了する。
<Description of power-off processing>
First, the contents of the power-off process described above will be described with reference to the flowchart shown in FIG.
First, when the power of the slot machine 10 is turned off, the CPU 106 prohibits an interrupt process executed by an interrupt signal input from the outside (step S350). Then, the data stored in the various registers in the CPU 106 is stored in a stack area previously set in the RAM 110 (step S352). The data stored in the stack area includes, for example, the random number for lottery stored in the RAM 110 by the process of step S132 in the random number acquisition process of FIG. 10, FIG. 15, or FIG. The random number value for abnormality detection stored in the RAM 110 by the process of step S214 in the random number check process, information indicating the current gaming state, information indicating the result of the role lottery, and the continuation flag and end flag described above Information necessary for starting the game again from the state when the power of the slot machine 10 is turned off, such as the on / off state of the flag, is included. Next, the CPU 106 saves the value (address) indicated by the stack pointer in the stack pointer save area of the RAM 110 (step S354). Next, the CPU 106 calculates a checksum for all the storage areas of the RAM 110 and stores it in a predetermined storage area of the RAM 110 (step S356). Then, subsequent writing to the RAM 110 is prohibited (step S358), and the power-off process shown in FIG. 26 is terminated.

<電源投入処理の説明>
次に、上述した電源投入処理の内容について、図27に示すフローチャートを参照して説明する。
まず、スロットマシン10の電源がオンにされると、CPU106は、RAM110において、上述したスタックエリア、スタックポインタ退避エリアおよびワークエリア以外の記憶領域のうち、使用されていないアドレスに、仮のスタックポインタを設定する(ステップS370)。このように、仮のスタックポインタを設定することで、以降の処理を行うことができるようにする。次にCPU106は、ROM108の全記憶領域についてのチェックサムを算出し(ステップS372)、その算出結果が、予め記憶していた値と一致するか否かを判断する(ステップS374)。
<Description of power-on processing>
Next, the contents of the power-on process described above will be described with reference to the flowchart shown in FIG.
First, when the power of the slot machine 10 is turned on, the CPU 106 sets a temporary stack pointer to an unused address in the RAM 110 other than the above-described stack area, stack pointer save area, and work area. Is set (step S370). In this way, by setting the temporary stack pointer, the subsequent processing can be performed. Next, the CPU 106 calculates a checksum for all storage areas of the ROM 108 (step S372), and determines whether or not the calculation result matches a value stored in advance (step S374).

ステップS372で算出したチェックサムの値が、予め記憶していた値と一致しなければ、ROM108に異常が生じている(NO)とみなし、以下の処理を中止する。これに対して、ステップS372で算出したチェックサムの値と、予め記憶していた値とが、一致した(YES)ときは、ROM108は正常であるとみなし、次にCPU106は、スロットマシン10の筐体内部に設けられたリセットスイッチ(図示略)が、オンになっているか否かを判断する(ステップS376)。リセットスイッチがオンになっていない(NO)とCPU106が判断したときは、RAM110の全記憶領域について、チェックサムを算出する(ステップS378)。   If the checksum value calculated in step S372 does not match the value stored in advance, it is assumed that an abnormality has occurred in the ROM 108 (NO), and the following processing is stopped. On the other hand, when the checksum value calculated in step S372 matches the value stored in advance (YES), the ROM 108 is regarded as normal, and the CPU 106 then determines that the slot machine 10 It is determined whether or not a reset switch (not shown) provided in the housing is on (step S376). When the CPU 106 determines that the reset switch is not turned on (NO), a checksum is calculated for all the storage areas of the RAM 110 (step S378).

そして、CPU106は、ステップS378で算出したチェックサムの値と、図26に示した電源断処理のステップS358の処理によって算出されたチェックサムの値と、の値を比較し、一致するか否かを判断する(ステップS380)。双方の値が一致しなかった(NO)場合は、RAM110に異常が生じているとみなし、その旨を示すエラーコードを図1に示した獲得枚数表示器28に表示して(ステップS382)、以下の処理を中止する。これに対して、双方の値が一致した(YES)場合、CPU106は、RAM110のスタックポインタ退避エリアに保存されていた値をスタックポインタとして使用する(ステップS384)。次にCPU106は、外部から供給される割込信号に従った割込処理を許可し(ステップS386)、当該割込処理に含まれる乱数チェック処理(図12等参照)などを開始する(ステップS388)。そして、図27に示した電源投入処理を終了し、以下、単位遊技を行うための処理へ移行する。   The CPU 106 compares the checksum value calculated in step S378 with the checksum value calculated in step S358 of the power-off process shown in FIG. 26, and determines whether or not they match. Is determined (step S380). If the two values do not match (NO), it is considered that an abnormality has occurred in the RAM 110, and an error code indicating that is displayed on the acquired number display 28 shown in FIG. 1 (step S382). Cancels the following processing. On the other hand, if both values match (YES), the CPU 106 uses the value stored in the stack pointer save area of the RAM 110 as the stack pointer (step S384). Next, the CPU 106 permits an interrupt process according to an interrupt signal supplied from the outside (step S386), and starts a random number check process (see FIG. 12, etc.) included in the interrupt process (step S388). ). Then, the power-on process shown in FIG. 27 is terminated, and the process proceeds to a process for performing a unit game.

ここで、ステップS382の処理によって、RAM110の異常を示すエラーコードが表示された場合、ユーザは、RAMクリアを行うことによってスロットマシン10が正常に作動するか否かを試みることも可能である。この場合、ユーザは、上述したリセットスイッチをオンにしながら電源をオンにする。この場合、CPU106は、上述したステップS370〜S374の処理を行い、ステップS374における判断結果がYESとなった場合、ステップS376において、リセットスイッチがオンになっている(YES)と判断する。これにより、CPU106は、所定のスタックポインタをセットして(ステップS390)、RAM110の記憶領域にデータ「0」を書き込んで、RAM110の初期化を行う(ステップS392)。そして、ステップS386の処理へ移行して、外部から供給される割込信号に基づく割込処理を許可し、図12等に示した乱数チェック処理を開始する。   Here, when an error code indicating an abnormality of the RAM 110 is displayed by the process of step S382, the user can try whether the slot machine 10 operates normally by performing a RAM clear. In this case, the user turns on the power while turning on the reset switch described above. In this case, the CPU 106 performs the processes of steps S370 to S374 described above, and when the determination result in step S374 is YES, in step S376, it is determined that the reset switch is on (YES). Thereby, the CPU 106 sets a predetermined stack pointer (step S390), writes data “0” in the storage area of the RAM 110, and initializes the RAM 110 (step S392). Then, the process proceeds to step S386, the interrupt process based on the interrupt signal supplied from the outside is permitted, and the random number check process shown in FIG.

[乱数発生装置の他の形態]
次に図28および図29を参照して、図5に示した乱数発生器112とは異なる形態の乱数発生装置の形態について説明する。ここで、図28は、本形態における乱数発生装置112の機能ブロック図であり、この図において、図3に示した主制御回路100の各部と共通する構成については、同一の符号を付し、その詳しい説明は省略する。また、図29は、図28に示す乱数生成回路132をデジタルICによって構成した場合の回路図を示している。
[Other forms of random number generator]
Next, with reference to FIG. 28 and FIG. 29, a form of a random number generator different from the random number generator 112 shown in FIG. 5 will be described. Here, FIG. 28 is a functional block diagram of the random number generation device 112 in the present embodiment. In this figure, the same reference numerals are given to components common to the respective parts of the main control circuit 100 shown in FIG. Detailed description thereof is omitted. FIG. 29 is a circuit diagram in the case where the random number generation circuit 132 shown in FIG. 28 is configured by a digital IC.

図28に示すように、本形態における乱数発生装置112は、乱数クロック発生回路130と、乱数生成回路132と、クロック反転回路134と、第1ラッチ信号出力回路136と、第2ラッチ信号出力回路138とで構成されている。乱数クロック発生回路130は、図5に示した乱数クロック発生手段410に対応するものであり、例えば、7.15909MHzの乱数発生用クロック信号CK(デューティ比50%の矩形波)を生成し、乱数生成回路132およびクロック反転回路134へ各々供給する。乱数発生回路132は、クロックカウント回路140と、カウント値ラッチ回路142とからなっており、クロックカウント回路140は、乱数クロック発生回路130から供給される乱数発生用クロック信号CKの立ち上がりタイミングに応じて、16ビットの数値(10進数で0〜65535)を1ずつカウントする。また、カウント値が65535になると、再び0からカウントを行い、0〜65535の値を繰り返しカウントしている。   As shown in FIG. 28, the random number generation device 112 in this embodiment includes a random number clock generation circuit 130, a random number generation circuit 132, a clock inversion circuit 134, a first latch signal output circuit 136, and a second latch signal output circuit. 138. The random number clock generation circuit 130 corresponds to the random number clock generation unit 410 shown in FIG. 5, and generates a random number generation clock signal CK (rectangular wave with a duty ratio of 50%) of 7.15909 MHz, for example. This is supplied to the generation circuit 132 and the clock inversion circuit 134, respectively. The random number generation circuit 132 includes a clock count circuit 140 and a count value latch circuit 142, and the clock count circuit 140 corresponds to the rising timing of the random number generation clock signal CK supplied from the random number clock generation circuit 130. , 16-bit numerical values (decimal numbers 0 to 65535) are counted one by one. Further, when the count value reaches 65535, the count is started again from 0, and the value of 0 to 65535 is repeatedly counted.

カウント値ラッチ回路142は、第1ラッチ信号出力回路136および第2ラッチ信号出力回路138から各々出力されるラッチ信号LT1およびLT2に従って、クロックカウント回路140がカウントしている16ビットの数値をサンプリングする。また、外部のアドレスデコーダ152から読取信号RD1およびRD2が供給されると、サンプリングした16ビットの数値を上位8ビットと、下位8ビットとに分けて、入出力バス104のデータバスDATへ出力する。ここで、カウント値ラッチ回路142は、読取信号RD1が供給されたときに、下位8ビットのデータを出力し、読取信号RD2が供給されたときに、上位8ビットのデータを出力している。   Count value latch circuit 142 samples the 16-bit numerical value counted by clock count circuit 140 in accordance with latch signals LT1 and LT2 output from first latch signal output circuit 136 and second latch signal output circuit 138, respectively. . When the read signals RD1 and RD2 are supplied from the external address decoder 152, the sampled 16-bit numerical value is divided into upper 8 bits and lower 8 bits and output to the data bus DAT of the input / output bus 104. . Here, the count value latch circuit 142 outputs lower 8 bits of data when the read signal RD1 is supplied, and outputs upper 8 bits of data when the read signal RD2 is supplied.

クロック反転回路134は、NOTゲートによって構成され、乱数クロック発生回路130から供給される乱数発生用クロック信号CKの論理を反転させて、第1ラッチ信号出力回路136および第2ラッチ信号出力回路138へ各々供給する。以下では、乱数発生用クロック信号CKの論理を反転させた信号を反転クロック信号¬CKと表記する。第1ラッチ信号出力回路136は、インターフェイス回路102から、スタートスイッチ36が操作されたときに出力される遊技開始信号が出力されると、当該遊技開始信号を、クロック反転回路134から供給された反転クロック信号¬CKの立ち上がりタイミングに同期させ、ラッチ信号LT1としてカウント値ラッチ回路142へ出力する。   The clock inversion circuit 134 is configured by a NOT gate, inverts the logic of the random number generation clock signal CK supplied from the random number clock generation circuit 130, and supplies the inverted signal to the first latch signal output circuit 136 and the second latch signal output circuit 138. Supply each. Hereinafter, a signal obtained by inverting the logic of the random number generating clock signal CK is referred to as an inverted clock signal ¬CK. When the game start signal output when the start switch 36 is operated is output from the interface circuit 102, the first latch signal output circuit 136 inverts the game start signal supplied from the clock inverting circuit 134. In synchronization with the rising timing of the clock signal ¬CK, it is output to the count value latch circuit 142 as the latch signal LT1.

なお、インターフェイス回路102から出力された遊技開始信号は、バッファ回路154にも出力されており、バッファ回路154は、アドレスデコータ152から読取信号RD3が供給されると、入出力バス104のデータバスDATへ、遊技開始信号を出力する。なお、バッファ回路154の出力は8ビットになっているが、これらのビットのうち予め定められている1つのビットが、遊技開始信号用に割り当てられている。この遊技開始信号は、データバスDATを介してCPU106に取り込まれ、スタートレバー36が操作されたか否かの判断(図9のステップS5参照)に用いられる。   The game start signal output from the interface circuit 102 is also output to the buffer circuit 154. When the read signal RD3 is supplied from the address decoder 152, the buffer circuit 154 receives the data bus of the input / output bus 104. A game start signal is output to DAT. Although the output of the buffer circuit 154 is 8 bits, one predetermined bit among these bits is allocated for the game start signal. This game start signal is taken into the CPU 106 via the data bus DAT and used for determining whether or not the start lever 36 has been operated (see step S5 in FIG. 9).

アドレスデコータ152は、CPU106から入出力バス104のアドレスバスADDに対して、特定のアドレスデータが出力されると、そのアドレスデータをデコードして、読取信号RD1、RD2またはRD3を出力する。すなわち、カウント値ラッチ回路142から、下位8ビットのデータを読み取るためのアドレス値、上位8ビットのデータを読み取るためのアドレス値、および、バッファ回路154から遊技開始信号を読み取るためのアドレス値が、予め定められており、これらのアドレス値を示すアドレスデータが、アドレスバスADDに出力されると、アドレスデコータ152は、そのアドレスデータをデコードして、各アドレス値に応じて読取信号RD1、RD2またはRD3を出力する。   When specific address data is output from the CPU 106 to the address bus ADD of the input / output bus 104, the address decoder 152 decodes the address data and outputs a read signal RD1, RD2, or RD3. That is, the address value for reading the lower 8 bits of data from the count value latch circuit 142, the address value for reading the upper 8 bits of data, and the address value for reading the game start signal from the buffer circuit 154 are: When the address data which is determined in advance and indicates these address values is output to the address bus ADD, the address decoder 152 decodes the address data and reads the read signals RD1 and RD2 according to each address value. Alternatively, RD3 is output.

第2ラッチ信号出力回路138は、CPU106から出力されるラッチ信号を、クロック反転回路134から供給された反転クロック信号¬CKの立ち上がりタイミングに同期させ、ラッチ信号LT2としてカウント値ラッチ回路142へ出力する。ここで、CPU106からラッチ信号が出力されるタイミングは、図12に示した乱数チェック処理において、ステップS201およびS202に相当する処理が行われる直前(換言すると、ステップS200の判断結果がNOとなった直後)とする。そして、CPU106は、ステップS201の処理で、入出力バス104のアドレスバスADDに対して、下位8ビットのデータを読み取るためのアドレス値を示すアドレスデータを出力し、これに応じてカウント値ラッチ回路142からデータバスDATへ出力されたデータ(16ビットの乱数の下位8ビット)をCPU106が取り込む。また、ステップS202の処理で、入出力バス104のアドレスバスADDに対して、上位8ビットのデータを読み取るためのアドレス値を示すアドレスデータを出力し、これに応じてカウント値ラッチ回路142からデータバスDATへ出力されたデータ(16ビットの乱数の上位8ビット)をCPU106が取り込む。   The second latch signal output circuit 138 synchronizes the latch signal output from the CPU 106 with the rising timing of the inverted clock signal ¬CK supplied from the clock inverter circuit 134, and outputs the latch signal to the count value latch circuit 142 as the latch signal LT2. . Here, the timing at which the latch signal is output from the CPU 106 is immediately before the processing corresponding to steps S201 and S202 is performed in the random number check processing shown in FIG. 12 (in other words, the determination result in step S200 is NO). Immediately after). In step S201, the CPU 106 outputs address data indicating an address value for reading lower 8-bit data to the address bus ADD of the input / output bus 104, and in response thereto, the count value latch circuit The CPU 106 takes in the data (the lower 8 bits of the 16-bit random number) output from 142 to the data bus DAT. In the process of step S202, address data indicating an address value for reading the upper 8 bits of data is output to the address bus ADD of the input / output bus 104, and the count value latch circuit 142 responds accordingly to the data. The CPU 106 captures data (upper 8 bits of a 16-bit random number) output to the bus DAT.

上述したCPU106から出力されるラッチ信号は、基準クロック発生回路150から供給される基準クロック信号のタイミングに基づいて出力される。ここで、基準クロック発生回路150が発生する基準クロック信号と、乱数クロック発生回路130が発生する乱数発生用クロック信号CKとは、互いに周期が異なっており、かつ非同期の関係になっている。このように、互いのクロック信号の周期を異ならせ、かつ、非同期とすることで、役抽選に用いられる抽選用乱数を生成する乱数生成回路132で用いられている乱数発生用クロック信号CKの周期を、外部から察知されにくくすることができるという利点が得られる。また、基準クロック信号と、乱数発生用クロック信号CKとを、同じ周期または互いに同期するクロックとし、または、単一のクロックを用いた場合でも、CPU106に供給するクロック信号、または乱数生成回路132に供給するクロック信号のいずれか一方を分周すれば、同様の利点を得ることができる。   The latch signal output from the CPU 106 described above is output based on the timing of the reference clock signal supplied from the reference clock generation circuit 150. Here, the reference clock signal generated by the reference clock generation circuit 150 and the random number generation clock signal CK generated by the random number clock generation circuit 130 have different periods and are in an asynchronous relationship. In this way, the cycle of the random number generation clock signal CK used in the random number generation circuit 132 that generates the random numbers for lottery used for the winning lottery by making the clock signals have different cycles and asynchronous. Can be made difficult to be detected from the outside. Further, the reference clock signal and the random number generation clock signal CK are set to the same period or clocks synchronized with each other, or even when a single clock is used, the clock signal supplied to the CPU 106 or the random number generation circuit 132 A similar advantage can be obtained by dividing one of the supplied clock signals.

次に図29を参照して、図28に示した乱数生成回路132をデジタルICによって構成する場合の一例について説明する。この図において、図28に示した構成および信号名称に対応するものには、同一の符号または名称を付与し、その詳しい説明を省略する。また、図28に示したアドレスデコーダ152から出力される読取信号RD1〜RD3は、いずれも負論理の信号になっているものとする。よって以下では、負論理の信号であることを示すために各信号名称の前に「¬」という記号を付して表記する。これに対して、図28に示した第1ラッチ信号出力回路136および第2ラッチ信号出力回路138から出力されるラッチ信号LT1,LT2はいずれも正論理の信号になっているものとする。   Next, an example in which the random number generation circuit 132 shown in FIG. 28 is configured by a digital IC will be described with reference to FIG. In this figure, components corresponding to the configuration and signal names shown in FIG. 28 are assigned the same reference numerals or names, and detailed descriptions thereof are omitted. It is assumed that the read signals RD1 to RD3 output from the address decoder 152 shown in FIG. 28 are all negative logic signals. Therefore, in the following, in order to indicate a negative logic signal, the symbol “¬” is attached before each signal name. On the other hand, it is assumed that the latch signals LT1 and LT2 output from the first latch signal output circuit 136 and the second latch signal output circuit 138 shown in FIG. 28 are both positive logic signals.

図29において、クロックカウント回路140は、4個の4ビットインクリメントカウンタ(以下、単にカウンタという)IC1〜IC4をカスケード接続してなり、カウンタIC1〜IC4の各クロック端子CKに供給される乱数発生用クロック信号CKの立ち上がりエッジによって、16ビットのカウント値(D0〜D15)を「1」ずつインクリメントしていく。ここで、16ビットの数値の内、最下位の4ビット(D0〜D3)をカウンタIC1がカウントし、以下、その上位4ビット(D4〜D7)をカウンタIC2が、さらにその上位4ビット(D8〜D11)をカウンタIC3が、そして、最上位の4ビット(D12〜D15)をカウンタIC4が、各々カウントしている。   In FIG. 29, the clock count circuit 140 is formed by cascading four 4-bit increment counters (hereinafter simply referred to as counters) IC1 to IC4, and generates random numbers supplied to the clock terminals CK of the counters IC1 to IC4. The 16-bit count value (D0 to D15) is incremented by “1” by the rising edge of the clock signal CK. Here, the counter IC1 counts the least significant 4 bits (D0 to D3) out of the 16-bit numerical value, and hereinafter, the higher 4 bits (D4 to D7) are counted by the counter IC2 and the higher 4 bits (D8). To D11), and the counter IC3 counts the most significant 4 bits (D12 to D15).

そして、カウンタIC1が2進数で「1111」をカウントするごとに、カウンタIC1のCO端子からカウンタIC2のENT端子へ、桁上がり信号が出力される。この桁上がり信号は、カウンタIC1におけるカウント値が「1111」になってから、次の乱数発生用クロック信号CKでカウント値が「0000」となるまでの間、出力される。また、カウンタIC2は、ENT端子に桁上がり信号が入力されている間に供給された乱数発生用クロック信号CKの立ち上がりエッジによって、カウント値を「1」インクリメントする。ここで、カウンタIC1から出力される桁上がり信号は、カウンタIC1が「1111」をカウントしたときの、乱数発生用クロック信号CKの立ち上がりエッジよりも僅かに遅れて立ち上がり、次にカウンタIC1が「0000」をカウントしたときの、乱数発生用クロック信号CKの立ち上がりエッジよりも僅かに遅れて立ち下がる。よって、カウンタIC2は、カウンタIC1が「0000」をカウントしたときの、乱数発生用クロック信号CKの立ち上がりエッジより、自らのカウント値を「1」インクリメントする。このように、16ビットの数値の内、より下位の4ビットをカウントするカウンタのCO端子と、その上位4ビットをカウントするカウンタのENT端子とを接続することで、4つのカウンタIC1〜IC4によって16ビットの値のカウントが可能となる。   Each time the counter IC1 counts “1111” in binary, a carry signal is output from the CO terminal of the counter IC1 to the ENT terminal of the counter IC2. This carry signal is output after the count value in the counter IC1 becomes “1111” until the count value becomes “0000” in the next random number generation clock signal CK. The counter IC 2 increments the count value by “1” by the rising edge of the random number generating clock signal CK supplied while the carry signal is input to the ENT terminal. Here, the carry signal output from the counter IC1 rises slightly later than the rising edge of the random number generation clock signal CK when the counter IC1 counts “1111”, and the counter IC1 then “0000”. ”Falls at a slight delay from the rising edge of the random number generating clock signal CK. Therefore, the counter IC 2 increments its count value by “1” from the rising edge of the random number generation clock signal CK when the counter IC 1 counts “0000”. Thus, by connecting the CO terminal of the counter that counts the lower 4 bits of the 16-bit numerical value and the ENT terminal of the counter that counts the upper 4 bits, the four counters IC1 to IC4 A 16-bit value can be counted.

次に、カウント値ラッチ回路142は、8ビットのD−ラッチ回路IC5,IC6と、8ビットの3ステートノンインバータIC7,IC8と、によって構成されている。D−ラッチ回路IC5,IC6は、8つの入力端子D1〜D8と、8つの出力端子Q1〜Q8と、クロック端子CLOCKを有し、クロック端子CLOCKに供給されるラッチ信号が立ち上がったときに、入力端子D1〜D8に供給されていた8ビットのデータをラッチして、出力端子Q1〜Q8に出力する。そして、次にクロック端子CLOCKに供給されるラッチ信号が立ち上がるまで、入力端子D1〜D8に供給されている8ビットのデータが変化しても、出力端子Q1〜Q8に出力された8ビットのデータは維持される。   Next, the count value latch circuit 142 includes 8-bit D-latch circuits IC5 and IC6 and 8-bit 3-state non-inverters IC7 and IC8. The D-latch circuits IC5 and IC6 have eight input terminals D1 to D8, eight output terminals Q1 to Q8, and a clock terminal CLOCK, and are input when a latch signal supplied to the clock terminal CLOCK rises. The 8-bit data supplied to the terminals D1 to D8 is latched and output to the output terminals Q1 to Q8. Then, even if the 8-bit data supplied to the input terminals D1 to D8 changes until the next latch signal supplied to the clock terminal CLOCK rises, the 8-bit data output to the output terminals Q1 to Q8. Is maintained.

3ステートノンインバータIC7,IC8は、8つの入力端子A1〜A8と、8つの出力端子B1〜B8と、ゲート端子G1を有し、ゲート端子G1に供給される信号がハイレベルになっているときは、出力端子B1〜B8がハイ−インピーダンス状態となり、ゲート端子G1に供給される信号がローレベルになっているときは、入力端子A1〜A8に供給されている8ビットのデータをそのまま出力端子B1〜B8からデータバスDATへ出力する。   The three-state non-inverters IC7 and IC8 have eight input terminals A1 to A8, eight output terminals B1 to B8, and a gate terminal G1, and the signal supplied to the gate terminal G1 is at a high level. When the output terminals B1 to B8 are in the high-impedance state and the signal supplied to the gate terminal G1 is at the low level, the 8-bit data supplied to the input terminals A1 to A8 is output as it is. Output from B1 to B8 to the data bus DAT.

そして、D−ラッチ回路IC5の入力端子D1〜D4は、カウンタIC1の出力端子QA〜QDと接続され、D−ラッチ回路IC5の入力端子D5〜D8は、カウンタIC2の出力端子QA〜QDと接続されている。同様に、D−ラッチ回路IC6の入力端子D1〜D4は、カウンタIC3の出力端子QA〜QDと接続され、D−ラッチ回路IC6の入力端子D5〜D8は、カウンタIC4の出力端子QA〜QDと接続されている。また、D−ラッチ回路IC5の出力端子Q1〜Q8は、3ステートノンインバータIC7の入力端子A1〜A8と接続され、D−ラッチ回路IC6の出力端子Q1〜Q8は、3ステートノンインバータIC8の入力端子A1〜A8と接続されている。さらに、3ステートノンインバータIC7およびIC8の出力端子B1〜B8は、共にデータバスDATに接続されている。   The input terminals D1 to D4 of the D-latch circuit IC5 are connected to the output terminals QA to QD of the counter IC1, and the input terminals D5 to D8 of the D-latch circuit IC5 are connected to the output terminals QA to QD of the counter IC2. Has been. Similarly, the input terminals D1 to D4 of the D-latch circuit IC6 are connected to the output terminals QA to QD of the counter IC3, and the input terminals D5 to D8 of the D-latch circuit IC6 are connected to the output terminals QA to QD of the counter IC4. It is connected. The output terminals Q1 to Q8 of the D-latch circuit IC5 are connected to the input terminals A1 to A8 of the three-state non-inverter IC7, and the output terminals Q1 to Q8 of the D-latch circuit IC6 are input to the three-state non-inverter IC8. It is connected to terminals A1 to A8. Further, the output terminals B1 to B8 of the three-state non-inverters IC7 and IC8 are both connected to the data bus DAT.

また、D−ラッチ回路IC5およびIC6の各クロック端子CLOCKは、ORゲートIC9の出力端子と接続されている。このORゲートIC9の出力端子には、ラッチ信号LT1およびLT2の論理和が出力される。さらに、3ステートノンインバータIC7のゲート端子G1には、読取信号¬RD1が供給され、3ステートノンインバータIC8のゲート端子G1には、読取信号¬RD2が供給されている。   The clock terminals CLOCK of the D-latch circuits IC5 and IC6 are connected to the output terminal of the OR gate IC9. The logical sum of the latch signals LT1 and LT2 is output to the output terminal of the OR gate IC9. Further, the read signal ¬RD1 is supplied to the gate terminal G1 of the 3-state non-inverter IC7, and the read signal RD2 is supplied to the gate terminal G1 of the 3-state non-inverter IC8.

なお、カウンタIC1〜IC4の各クリア端子CLR、および、D−ラッチ回路IC5およびIC6の各クリア端子CLEARには、各々、リセットパルス発生回路(図示略)から出力されるリセット信号¬CLRが供給されている。このリセットパルス発生回路は、スロットマシン10の電源が投入されると、ローレベルのリセット信号¬CLRを所定時間出力するものである。これにより、カウンタIC1〜IC4およびD−ラッチ回路IC5,IC6にリセット信号が供給されると、各々の出力端子から出力されるデータは0(ゼロ)となる。   A reset signal ¬CLR output from a reset pulse generation circuit (not shown) is supplied to each clear terminal CLR of the counters IC1 to IC4 and each clear terminal CLEAR of the D-latch circuits IC5 and IC6. ing. This reset pulse generation circuit outputs a low level reset signal ¬CLR for a predetermined time when the power of the slot machine 10 is turned on. Thus, when a reset signal is supplied to the counters IC1 to IC4 and the D-latch circuits IC5 and IC6, the data output from each output terminal is 0 (zero).

図29に示す乱数生成回路132では、カウンタIC1〜IC4の各クロック端子CKに供給される乱数発生用クロック信号CKによって、0から65535までの数値範囲内で、カウント値が順次更新されていき、カウント値が65535になると、再びカウント値が0から順次更新されていく。このカウント値の更新は、繰り返しかつ常時行われている。そして、ラッチ信号LT1またはLT2が入力されると、D−ラッチ回路IC5およびIC6によって、カウンタIC1〜IC4のカウント値(16ビットの数値)がラッチされる。そして、読取信号¬RD1が3ステートノンインバータIC7のゲート端子G1に供給されると、3ステートノンインバータIC7の出力端子B1〜B8から、D−ラッチ回路IC5によってラッチされた下位8ビットのデータがデータバスDATへ出力される。また、読取信号¬RD2が3ステートノンインバータIC8のゲート端子G1に供給されると、3ステートノンインバータIC8の出力端子B1〜B8から、D−ラッチ回路IC6によってラッチされた上位8ビットのデータがデータバスDATへ出力される。   In the random number generation circuit 132 shown in FIG. 29, the count value is sequentially updated within the numerical range from 0 to 65535 by the random number generation clock signal CK supplied to the clock terminals CK of the counters IC1 to IC4. When the count value reaches 65535, the count value is sequentially updated from 0 again. The count value is updated repeatedly and constantly. When the latch signal LT1 or LT2 is input, the count values (16-bit numerical values) of the counters IC1 to IC4 are latched by the D-latch circuits IC5 and IC6. When the read signal ¬RD1 is supplied to the gate terminal G1 of the 3-state non-inverter IC7, the lower 8-bit data latched by the D-latch circuit IC5 is output from the output terminals B1 to B8 of the 3-state non-inverter IC7. Output to data bus DAT. When the read signal RD2 is supplied to the gate terminal G1 of the 3-state non-inverter IC8, the upper 8-bit data latched by the D-latch circuit IC6 is output from the output terminals B1 to B8 of the 3-state non-inverter IC8. Output to data bus DAT.

[第2実施形態]
次に、本発明に係る遊技機を、パチンコ機とした場合の実施形態について説明する。
本実施形態に係るパチンコ機700の外観を図30に示す。図30は、パチンコ機700の正面図であり、同図において、パチンコ機700は、外枠712と、前枠714と、遊技盤720と、を含む。外枠712は、パチンコ機700の外郭を構成し、方形状の形状を有する。この外枠712には、開閉自在に軸支される前枠714が設けられている。前枠714には、ガラス扉716、打球ハンドル718や、遊技盤720を収容する収容部等の各種の部材が設けられている。
[Second Embodiment]
Next, an embodiment in which the gaming machine according to the present invention is a pachinko machine will be described.
The external appearance of the pachinko machine 700 according to this embodiment is shown in FIG. FIG. 30 is a front view of the pachinko machine 700. In the figure, the pachinko machine 700 includes an outer frame 712, a front frame 714, and a game board 720. The outer frame 712 constitutes the outline of the pachinko machine 700 and has a rectangular shape. The outer frame 712 is provided with a front frame 714 that is pivotally supported so as to be freely opened and closed. The front frame 714 is provided with various members such as a glass door 716, a hitting ball handle 718, and a housing portion that houses the game board 720.

遊技盤720には、レール722により区画された遊技領域724が設けられている。遊技領域724の略中央部には、図柄の画像等の種々の画像を表示する画像表示装置730が設けられている。さらに、遊技領域724には、図柄の変動開始の条件を定める始動入賞口732や、遊技が大当たりとなったときに開閉する特別入賞口734や、普通図柄変動表示口736a及び736bや、遊技球の落下に影響を及ぼす風車728a及び728bや、多数の遊技釘(図示せず)や、アウト口738も設けられている。   The game board 720 is provided with a game area 724 partitioned by rails 722. An image display device 730 that displays various images such as images of symbols is provided at a substantially central portion of the game area 724. Furthermore, in the game area 724, a start winning port 732 that defines a condition for starting the variation of symbols, a special winning port 734 that opens and closes when a game is a big hit, normal symbol variation display ports 736a and 736b, a game ball Windmills 728a and 728b that affect the falling of the aircraft, a number of game nails (not shown), and an out port 738 are also provided.

上述した打球ハンドル718を遊技者が回動操作したときには、その操作量に応じた強度で、遊技球が、打球発射装置(図示せず)によって遊技領域724に打球として発射される。遊技領域724に発射された打球は、上述した風車や遊技釘との接触を繰り返して移動方向を変えながら落下し、上述した各種の入賞口732〜736bやアウト口738に流入する。この遊技盤720の表面を流下する遊技球によって「弾球遊技」が行われ、遊技球の流下の態様に基づいて遊技の進行が定まり、遊技球が、各種の入賞口732〜736bやアウト口738に流入することによって、弾球遊技の結果が定まる。   When the player rotates the hitting ball handle 718 described above, the game ball is shot as a hit ball in the game area 724 with a strength corresponding to the operation amount by a hitting ball emitting device (not shown). The hit ball launched in the game area 724 falls while changing the moving direction by repeatedly contacting the windmill and the game nail described above, and flows into the various winning holes 732 to 736b and the out port 738 described above. A “ball game” is performed by the game balls flowing down the surface of the game board 720, and the progress of the game is determined based on the flow mode of the game balls. By entering 738, the result of the ball game is determined.

上述した入賞口732〜736bの各々には、これらの入賞口の背面に形成されて遊技球が通過する流路に、遊技球の通過を検出するための入賞検出センサ(図示せず)が設けられている。なお、入賞口732〜736bの各々に設けられている入賞検出センサは、後述する図32においては、入賞検出センサ群902として示す。入賞口732〜736bのいずれかに遊技球が入賞したときには、入賞検出センサは、遊技球が通過したことを検出して、検出信号を出力する。入賞検出センサは、後述する主制御回路810(図31に示す)と信号ケーブルによって電気的に接続されている。入賞検出センサから発せられた検出信号は、主制御回路810に供給される。主制御回路810は、検出信号を検出することにより、入賞口732〜736bのうちのいずれの入賞口に遊技球が入賞したかを得ることができる。打球が、いずれかの入賞口732〜736bに入賞したときには、所定数の遊技球が賞球として払い出される。なお、本実施の形態においては、入賞口732に入賞したときには、4個の賞球が払い出され、入賞口734に入賞したときには、15個の賞球が払い出される。   Each of the above-described winning ports 732 to 736b is provided with a winning detection sensor (not shown) for detecting the passing of the game ball in a flow path formed on the back of these winning ports and through which the game ball passes. It has been. Note that the winning detection sensors provided in each of the winning ports 732 to 736b are shown as a winning detection sensor group 902 in FIG. When a game ball wins any of the winning ports 732 to 736b, the win detection sensor detects that the game ball has passed and outputs a detection signal. The winning detection sensor is electrically connected to a main control circuit 810 (shown in FIG. 31), which will be described later, by a signal cable. A detection signal generated from the winning detection sensor is supplied to the main control circuit 810. By detecting the detection signal, the main control circuit 810 can obtain which of the winning ports 732 to 736b the game ball has won. When the hit ball wins any one of the winning openings 732 to 736b, a predetermined number of game balls are paid out as winning balls. In the present embodiment, four winning balls are paid out when winning a winning opening 732, and 15 winning balls are paid out when winning a winning opening 734.

パチンコ機700には、遊技球を賞球として払い出すための払出口(図示せず)が形成されている。後述するように、上述したいずれかの入賞口732〜736bに打球が入賞したと、主制御回路810が判別したときには、主制御回路810は、払出制御回路(図示せず)に制御命令を発する。払出制御回路には、払出モータ(図示せず)が電気的に接続されており、制御命令を受信した払出制御回路は、その制御命令に含まれている賞球の個数を示す情報に基づいて、払出モータに駆動信号を発する。払出モータが駆動されると、払い出される賞球の数を計数しながら、賞球が送出される。   The pachinko machine 700 is formed with a payout opening (not shown) for paying out game balls as prize balls. As will be described later, when the main control circuit 810 determines that a hit ball has been won in any of the above-described winning holes 732 to 736b, the main control circuit 810 issues a control command to the payout control circuit (not shown). . A payout motor (not shown) is electrically connected to the payout control circuit, and the payout control circuit that has received the control command is based on information indicating the number of prize balls included in the control command. A drive signal is issued to the payout motor. When the payout motor is driven, prize balls are sent out while counting the number of prize balls to be paid out.

上述したように、遊技領域724の略中央部には、画像表示装置730が設けられている。後述するように、画像表示装置730には、図柄の画像やキャラクタの画像等の種々の画像が演出画像として表示される。画像表示装置730においては、図柄の画像による遊技、いわゆるスロットマシンにおいて行われるスロットゲームを模した図柄画像遊技が実行される。   As described above, the image display device 730 is provided in the approximate center of the game area 724. As will be described later, on the image display device 730, various images such as a design image and a character image are displayed as effect images. In the image display device 730, a game based on a graphic image, that is, a graphic image game simulating a slot game performed in a so-called slot machine is executed.

図柄は、この画像遊技の結果を示すための識別情報、例えば、「0」、「1」〜「9」等の数字や文字による識別情報からなり、図柄の画像は、この識別情報を遊技者に視認可能に示す画像である。図柄の画像は、変動表示されたり停止表示されたりする。図柄の画像の変動表示は、図柄画像を構成する識別情報が順次変更されるような態様で表示したり、図柄画像の表示位置を変更するような態様で表示したりする表示方法である。この図柄画像の変動表示が開始されたときが、図柄画像遊技の開始のときである。変動表示された図柄画像は、所定の時間経過後に停止表示される。図柄の画像の停止表示は、画像表示装置730の一定の位置において一定の識別情報を表示する。特に、図柄画像遊技のうち、図柄画像が変動表示されてから停止表示されるまでを単位遊技と称する。また、図柄の画像のみならず、図柄画像遊技の演出効果を高めるためのキャラクタ画像や背景画像も併せて画像表示装置730に表示される。   The symbol consists of identification information for indicating the result of the image game, for example, identification information by numbers or characters such as “0”, “1” to “9”, etc. It is an image shown to be visible. The symbol image is displayed in a variable manner or stopped. The variable display of the symbol image is a display method in which the identification information constituting the symbol image is displayed in such a manner that it is sequentially changed, or the symbol image is displayed in such a manner that the display position of the symbol image is changed. The time when the symbol image variation display is started is the time when the symbol image game is started. The variably displayed symbol image is stopped and displayed after a predetermined time has elapsed. In the stop display of the symbol image, certain identification information is displayed at a certain position of the image display device 730. In particular, among the symbol image games, a period from when the symbol image is variably displayed until it is stopped is referred to as a unit game. In addition to the symbol image, a character image and a background image for enhancing the effect of the symbol image game are also displayed on the image display device 730.

また、始動入賞口732に打球が入賞したときには、画像表示装置730に表示された図柄の画像は変動表示を開始し、所定の動画像や図柄の変動態様が所定時間だけ表示された後、図柄の画像の変動表示を停止する。即ち、始動入賞口732に打球が入賞する度に、図柄画像遊技の単位遊技が開始される。なお、後述するように、画像表示装置730において単位遊技が行われているときに始動入賞口732に打球が入賞した場合には、入賞したことを所定数、例えば4個まで保留する。始動入賞口732への入賞が保留されている場合に、一の単位遊技が終了したときには、保留されていることに基づいて次の単位遊技が開始される。   Further, when the hit ball is won at the start winning opening 732, the image of the symbol displayed on the image display device 730 starts variable display, and after the predetermined moving image and the variation mode of the symbol are displayed for a predetermined time, the symbol is displayed. Stop displaying the fluctuation of the image. That is, every time a hit ball wins at the start winning opening 732, a unit game of the symbol image game is started. As will be described later, if a hit ball is won at the start winning opening 732 while a unit game is being performed on the image display device 730, a predetermined number, for example, four, is held. When winning at the start winning opening 732 is held, when one unit game is finished, the next unit game is started based on the holding.

図柄の画像が停止表示されたときに、画像表示装置730に表示された図柄の画像の態様が特定のものとなった場合、例えば、図柄の画像を3つ表示して、3つの図柄の全てがいわゆるぞろ目となった場合には、図柄画像遊技はいわゆる大当たりとなる。図柄画像遊技が大当たりとなったときには、パチンコ遊技では特別遊技が実行される。この特別遊技は、画像表示装置730において所定のデモ画像を表示するとともに、上述した特別入賞口734を開放して遊技球を入賞容易状態にし、遊技球を特別入賞口734に流入しやすくする遊技である。この特別遊技によって、弾球遊技が遊技者にとって有利な特別遊技に移行する。   When the pattern image displayed on the image display device 730 becomes specific when the symbol image is stopped, for example, three symbol images are displayed and all three symbols are displayed. Is a so-called rough game, the symbol image game is a so-called jackpot. When the symbol image game is a big hit, a special game is executed in the pachinko game. This special game is a game in which a predetermined demo image is displayed on the image display device 730, and the above-described special prize opening 734 is opened to make the game ball easy to win, so that the game ball easily flows into the special prize opening 734. It is. By this special game, the ball game is shifted to a special game advantageous to the player.

なお、始動入賞口732の左右の近傍には動作可能に設けられた2つの可動片733a及び733bが設けられている。上述した普通図柄変動表示口736a及び736bを遊技球が通過すると、遊技盤720の左側に設けられている普通図柄表示部731において普通図柄遊技が開始される。この普通図柄遊技の遊技結果が当りとなったときには2つの可動片733a及び733bが開き、始動入賞口732に遊技球を入賞させやすくなる。図30に示した普通図柄表示部731は、2つのランプからなり、普通図柄変動表示口736a及び736bを遊技球が通過したときには、2つのランプの点滅が始まる。その後、所定の時間経過後にいずれか一方のみが点灯し、その点灯した方のランプによって当り又は外れが定まる。   Note that two movable pieces 733 a and 733 b are provided in the vicinity of the left and right sides of the start winning opening 732 so as to be operable. When the game ball passes through the above-described normal symbol variation display ports 736a and 736b, the normal symbol game is started in the normal symbol display portion 731 provided on the left side of the game board 720. When the game result of this normal symbol game is a win, the two movable pieces 733a and 733b are opened, and it becomes easy to win the game ball in the start winning opening 732. The normal symbol display unit 731 shown in FIG. 30 includes two lamps. When the game ball passes through the normal symbol fluctuation display ports 736a and 736b, the two lamps start blinking. After that, only one of the lights is turned on after a predetermined time has elapsed, and hit or miss is determined by the lamp that is turned on.

上述したように、画像表示装置730におけるキャラクタ画像遊技が大当たりとなったときには、パチンコ遊技では特別入賞口734を開放して入賞容易状態にして、特別遊技が実行される。この特別入賞口734の入賞容易状態は、特別入賞口734に打球が所定数入賞するまで、例えば10個入賞するまで、又は特別入賞口734が開放されてから所定時間経過するまで、例えば30秒経過するまで継続する。その後、特別入賞口734を閉鎖して入賞困難状態にする。なお、特別入賞口734には、特定領域(図示せず)が設けられている。特別入賞口734が開放されている間に、この特定領域を打球が通過していたときには、特別入賞口734を一旦閉鎖した後に再び開放する。この特別入賞口734の開放と閉鎖との動作は、複数回、例えば15回に至るまで繰り返され、その後、特別入賞口734は閉鎖される。特別入賞口734が開放されてから次いで閉鎖されるまでの遊技を単一特別遊技と称し、単一特別遊技が行われた回数をラウンド数と称する。   As described above, when the character image game in the image display device 730 is a big hit, in the pachinko game, the special prize opening 734 is opened to make it easy to win, and the special game is executed. The easy-to-win state of the special winning opening 734 is, for example, 30 seconds until a predetermined number of hits are won in the special winning opening 734, for example, ten pieces are won, or until a predetermined time elapses after the special winning opening 734 is opened. Continue until it has passed. Thereafter, the special prize opening 734 is closed to make it difficult to win. The special prize opening 734 is provided with a specific area (not shown). If a hit ball passes through this specific area while the special prize opening 734 is open, the special prize opening 734 is once closed and then opened again. The operation of opening and closing the special prize opening 734 is repeated a plurality of times, for example, 15 times, and then the special prize opening 734 is closed. A game from when the special winning opening 734 is opened until it is closed is referred to as a single special game, and the number of times a single special game is played is referred to as a round number.

打球ハンドル718の左側には、透音孔が形成されており、透音孔の背面にはスピーカ740が設けられている。スピーカ740から発せられた音声がパチンコ遊技10の前方に伝わるようになされている。   A sound transmission hole is formed on the left side of the hitting ball handle 718, and a speaker 740 is provided on the back surface of the sound transmission hole. The sound emitted from the speaker 740 is transmitted to the front of the pachinko game 10.

図31は、パチンコ機700の背面を示す背面図である。この図に示すように、背面の下部には主制御回路810が設けられている。主制御回路810は、パチンコ機700の全体の制御を行う。例えば、主制御回路810は、始動入賞口732や特別入賞口734等の入賞口に遊技球が入賞したときに、その入賞口に応じた数の遊技球を賞球として払い出す制御をする。主制御回路810は、演算等を行うCPU(図示せず)、パチンコ機700の全体を制御するためのプログラムが記憶されたROM(図示せず)、及び各データを一時的に記憶するRAM(図示せず)等を含む。これらのCPU、ROM及びRAMは、入出力バスによって電気的に接続されており、入出力バスにデータ信号やアドレス信号が送出できるようになされている。   FIG. 31 is a rear view showing the back surface of the pachinko machine 700. As shown in this figure, a main control circuit 810 is provided at the lower part of the back surface. The main control circuit 810 performs overall control of the pachinko machine 700. For example, the main control circuit 810 controls to pay out the number of game balls corresponding to the winning opening as winning balls when the winning game balls win a winning opening such as the start winning opening 732 and the special winning opening 734. The main control circuit 810 includes a CPU (not shown) that performs operations and the like, a ROM (not shown) that stores a program for controlling the entire pachinko machine 700, and a RAM (temporarily storing each data) (Not shown). These CPU, ROM, and RAM are electrically connected by an input / output bus so that data signals and address signals can be sent to the input / output bus.

本実施の形態においては、パチンコ機700の全体を制御するためのプログラムのうち、遊技球の入賞の処理のプログラムについては、後述する図33に示す。上述したように、これらのプログラムはROMに記憶されている。また、RAMには、これらプログラムで用いられる変数の値が記憶される。さらに、後述するように、RAMには、乱数の値を記憶する通常記憶領域や保留領域が割り当てられている。   In the present embodiment, among the programs for controlling the entire pachinko machine 700, a game ball winning process program is shown in FIG. As described above, these programs are stored in the ROM. The RAM stores the values of variables used in these programs. Further, as will be described later, a normal storage area for storing random numbers and a reserved area are allocated to the RAM.

また、主制御回路810の上部には画像表示装置730が設けられており、画像表示装置730の背面には、画像制御回路752が設けられている。この画像制御回路752は、主制御回路810と信号ケーブル(図示せず)によって電気的に接続されており、主制御回路810から発せられた制御信号に基づいて画像表示装置730を制御する。画像制御回路752は、演算等を行うCPU(図示せず)、画像表示装置730を制御するためのプログラムが記憶されたROM(図示せず)、及び各データを一時的に記憶するRAM(図示せず)等を含む。なお、ROMには、図柄画像やキャラクタの画像の表示を制御するためのプログラムが記憶されている。さらに、ROMには、これらの図柄画像やキャラクタの画像の画像データも記憶されている。上述したCPU、ROM及びRAMは、入出力バスによって電気的に接続されており、入出力バスにデータ信号やアドレス信号が送出できるようになされている。この画像制御回路752によって、ROMに記憶されている画像データが読み出されて、図柄画像やキャラクタの画像が画像表示装置730に表示される。   An image display device 730 is provided above the main control circuit 810, and an image control circuit 752 is provided on the back surface of the image display device 730. The image control circuit 752 is electrically connected to the main control circuit 810 through a signal cable (not shown), and controls the image display device 730 based on a control signal generated from the main control circuit 810. The image control circuit 752 includes a CPU (not shown) that performs calculations and the like, a ROM (not shown) that stores a program for controlling the image display device 730, and a RAM (not shown) that temporarily stores data. (Not shown). The ROM stores a program for controlling the display of the design image and the character image. Further, the ROM also stores image data of these symbol images and character images. The CPU, ROM, and RAM described above are electrically connected via an input / output bus so that data signals and address signals can be sent to the input / output bus. The image control circuit 752 reads out the image data stored in the ROM, and the design image and the character image are displayed on the image display device 730.

画像制御回路752の下側には、上述したスピーカ740を制御するスピーカ制御回路756が設けられている。このスピーカ制御回路756は、画像制御回路752と信号ケーブル(図示せず)によって電気的に接続されており、画像制御回路752から発せられた制御信号に基づいてスピーカ740から発する音声を制御する。スピーカ制御回路756は、演算等を行うCPU(図示せず)、スピーカ740を制御するためのプログラムが記憶されたROM(図示せず)、及び各データを一時的に記憶するRAM(図示せず)等を含む。なお、ROMには、スピーカ740から発するための音声データも記憶されている。上述したCPU、ROM及びRAMは、入出力バスによって電気的に接続されており、入出力バスにデータ信号やアドレス信号が送出できるようになされている。   A speaker control circuit 756 that controls the above-described speaker 740 is provided below the image control circuit 752. The speaker control circuit 756 is electrically connected to the image control circuit 752 through a signal cable (not shown), and controls sound emitted from the speaker 740 based on a control signal emitted from the image control circuit 752. The speaker control circuit 756 includes a CPU (not shown) that performs calculations and the like, a ROM (not shown) that stores a program for controlling the speaker 740, and a RAM (not shown) that temporarily stores each data. ) Etc. Note that the ROM also stores audio data to be emitted from the speaker 740. The CPU, ROM, and RAM described above are electrically connected via an input / output bus so that data signals and address signals can be sent to the input / output bus.

また、図31の背面図における右上隅の箇所には、各入賞口に遊技球が入賞したとき、上述した単位遊技が開始されとき、および特別遊技が開始されたとき等に、その旨を示す信号を、外部に設置されている管理コンピュータ等へ送信するための外部端子板758が設けられている。さらに、外部端子板758を介して外部に送信される情報は、上述したような遊技に関する情報だけでなく、予め定められた複数のチェック項目について、何らかの異常が発生したと判断され場合に、出力される異常検出情報も含まれている。   In addition, the upper right corner of the rear view of FIG. 31 shows that when a game ball has won a prize, when the above-mentioned unit game is started, or when a special game is started. An external terminal plate 758 for transmitting a signal to a management computer or the like installed outside is provided. Furthermore, the information transmitted to the outside via the external terminal board 758 is not only information related to the game as described above, but also output when it is determined that some abnormality has occurred for a plurality of predetermined check items. Anomaly detection information is also included.

図32は、パチンコ機700における主要な制御機能の概略を示す機能ブロック図である。
図32に示すように、パチンコ機700は、制御手段800と、入賞検出手段900と、演出手段910と、を含む。制御手段800は、入賞検出手段900と演出手段910とに電気的に接続され、入賞検出手段900から発せられた入賞検出信号は、制御手段800に供給される。さらに、制御手段800から発せられた制御信号は、演出手段910に供給される。なお、この図に示す乱数発生装置112および乱数異常検出手段420は、図5に示したものと同じものを用いている。
FIG. 32 is a functional block diagram showing an outline of main control functions in the pachinko machine 700.
As shown in FIG. 32, the pachinko machine 700 includes control means 800, winning detection means 900, and rendering means 910. The control means 800 is electrically connected to the winning detection means 900 and the rendering means 910, and a winning detection signal issued from the winning detection means 900 is supplied to the control means 800. Further, the control signal issued from the control means 800 is supplied to the effect means 910. Note that the random number generator 112 and the random number abnormality detecting means 420 shown in this figure are the same as those shown in FIG.

入賞検出手段900は、遊技盤上を移動していた遊技球が所定の入賞口に入賞したか否かを検出する。例えば、入賞口732〜736bのいずれかに遊技球が入賞したか否かを検出する。入賞検出手段900は、入賞口に入賞した遊技球の通過を検出したときには、検出信号を発する入賞検出センサ群902からなる。この入賞検出センサ群902は、上述した入賞口732〜736bの各々の背後に形成された遊技球の流路に設けられて遊技球の通過を検出する入賞検出センサが好ましい。   The winning detection means 900 detects whether or not the game ball moving on the game board has won a predetermined winning opening. For example, it is detected whether or not a game ball has won any of the winning ports 732 to 736b. The winning detection means 900 includes a winning detection sensor group 902 that issues a detection signal when it detects the passage of a game ball that has won a winning opening. The winning detection sensor group 902 is preferably a winning detection sensor that is provided in the flow path of the game ball formed behind each of the above-described winning ports 732 to 736b and detects the passage of the game ball.

制御手段800は、主制御手段810と副制御手段860とを含む。この主制御手段810と副制御手段860とは互いに電気的に接続されており、主制御手段810から発せられた制御命令は、副制御手段860に供給される。主制御手段810は、図5に示した乱数発生装置112および乱数異常検出手段420と、後述する抽選手段820と、保留記憶手段830と、弾球遊技制御手段840と、入賞判断処理手段850と、を含む。なお、乱数発生装置112および乱数異常検出手段420については、既に詳しく説明しているためその説明を省略する。   The control unit 800 includes a main control unit 810 and a sub control unit 860. The main control unit 810 and the sub control unit 860 are electrically connected to each other, and a control command issued from the main control unit 810 is supplied to the sub control unit 860. The main control means 810 includes a random number generator 112 and a random number abnormality detection means 420 shown in FIG. 5, a lottery means 820 described later, a holding storage means 830, a ball game control means 840, and a winning determination processing means 850. ,including. Note that the random number generator 112 and the random number abnormality detection means 420 have already been described in detail and will not be described.

抽選手段820は、当り又は外れの抽選(以下、当たり抽選という)を行うものである。ここで、当り又は外れは、後述する特別遊技に移行させるか否かを定める。抽選手段820は、当たり抽選に用いる抽選用乱数を乱数発生装置112から取得する抽選用乱数取得手段822と、抽選用乱数取得手段822が取得した乱数値に基づいて、当りの当選の有無を判定する乱数判定手段824とを含む。抽選用乱数取得手段822は、乱数発生装置112が発生した乱数を、所定のタイミングで取得する。乱数判定手段824は、抽選用乱数取得手段822によって取得された乱数値を、抽選テーブル(図示せず)と照合することにより、その乱数値が属する領域に応じて当りか外れかを決定する。   The lottery means 820 performs winning or losing lottery (hereinafter referred to as winning lottery). Here, winning or losing determines whether or not to shift to a special game described later. The lottery means 820 determines whether or not the winning is based on the lottery random number acquisition means 822 for acquiring the random numbers for lottery used in the winning lottery from the random number generator 112 and the random number value acquired by the random number for lottery acquisition 822. And random number determination means 824 for performing. The lottery random number acquisition unit 822 acquires the random number generated by the random number generation device 112 at a predetermined timing. The random number determination means 824 collates the random value acquired by the lottery random number acquisition means 822 with a lottery table (not shown), and determines whether or not it is a hit or fall according to the area to which the random number value belongs.

保留記憶手段830は、所定の数、例えば4つの記憶領域(以下、保留領域という)を有し、画像表示装置730において単位遊技が実行されており、かつ、上述した4つの保留領域のうち少なくとも1つの保留領域が空いている場合に、抽選用乱数取得手段822によって取得された抽選用乱数の値を記憶する。この抽選用乱数の値を記憶する処理は、後述する図33のステップS408において実行される。   The holding storage means 830 has a predetermined number, for example, four storage areas (hereinafter referred to as holding areas), a unit game is being executed in the image display device 730, and at least of the four holding areas described above. When one reserved area is vacant, the lottery random number acquired by the lottery random number acquiring means 822 is stored. The process of storing the lottery random number value is executed in step S408 of FIG.

弾球遊技制御手段840は、特別遊技実行手段842を含む。特別遊技実行手段842は、上述した特別入賞口734を開閉動作して、遊技球の入賞容易状態にしたり、入賞困難状態にしたりして、特別遊技の進行を制御する。特に、特別遊技実行手段842は、抽選手段の抽選結果が、当りとなったときには、弾球遊技を遊技者にとって有利な特別遊技に移行させる。入賞判断処理手段850は、上述した入賞検出手段900から発せられた検出信号を検出して、入賞口732〜736bのいずれかに遊技球が入賞したか否かを判断する。この判断処理は、後述する図33のステップS400又はS416の処理で実行される。   The bullet ball game control means 840 includes special game execution means 842. The special game execution means 842 opens and closes the special prize opening 734 described above to make the game ball easy to win or make it difficult to win, thereby controlling the progress of the special game. In particular, when the lottery result of the lottery means wins, the special game executing means 842 shifts the ball game to a special game advantageous to the player. The winning determination processing means 850 detects the detection signal issued from the winning detection means 900 described above, and determines whether or not the game ball has won any of the winning openings 732 to 736b. This determination process is executed in the process of step S400 or S416 of FIG.

次に、副制御手段860は、演出選択手段870と、画像表示制御手段880と、スピーカ制御手段890とを含む。演出選択手段870は、前述した抽選手段820によって行われた当たり抽選の結果と、乱数に基づく演出抽選の結果に基づいて予め定められている複数の演出内容のうちの1つを選択して、選択した演出を演出手段910に実行させる。画像表示制御手段880は、単位遊技実行手段882と、画像データ記憶手段884とを含む単位遊技制御手段882は、画像データ記憶手段884から図柄の画像の画像データを読み出し、読み出した画像データを図柄の画像として画像表示装置730において変動表示させたり停止表示させたりする。図柄の画像を変動表示させたときが単位遊技の開始で、その後所定のタイミングで図柄の画像を停止表示させたときが単位遊技の終了である。単位遊技実行手段882は、主制御手段810から単位遊技開始信号が発せられる毎に、画像表示装置730において単位遊技を実行する。さらに、単位遊技実行手段882は、図柄の画像の表示のみならず、画像データ記憶手段884からキャラクタの画像の画像データや、背景の画像の画像データを読み出し、読み出した画像データをキャラクタの画像や背景の画像として画像表示装置730に表示させる。   Next, the sub control unit 860 includes an effect selection unit 870, an image display control unit 880, and a speaker control unit 890. The effect selection means 870 selects one of a plurality of effect contents predetermined based on the result of the winning lottery performed by the lottery means 820 described above and the result of the effect lottery based on random numbers, The effect unit 910 is made to execute the selected effect. The image display control means 880 includes a unit game execution means 882 and an image data storage means 884. The unit game control means 882 reads the image data of the image of the design from the image data storage means 884, and the read image data is displayed as the design. The image display device 730 causes the image display device 730 to variably display or stop display the image. The unit game starts when the symbol image is variably displayed, and the unit game ends when the symbol image is stopped and displayed at a predetermined timing. The unit game execution means 882 executes a unit game in the image display device 730 every time a unit game start signal is issued from the main control means 810. Further, the unit game execution means 882 reads not only the image of the pattern but also the image data of the character image and the image data of the background image from the image data storage means 884, and the read image data is read as the character image and the image data. The image is displayed on the image display device 730 as a background image.

画像データ記憶手段884には、演出画像が画像データとして記憶されている。ここで、演出画像は、図柄の画像と図柄の画像以外の複数の表示画像とからなる。この図柄の画像以外の複数の表示画像は、例えば、キャラクタの画像や背景の画像や、上述した所定の画像を含む。スピーカ制御手段890は、演出選択手段860によって選択された演出に対応する音声を発生させるための音声データをスピーカ740へ出力する。   In the image data storage unit 884, effect images are stored as image data. Here, the effect image includes a design image and a plurality of display images other than the design image. The plurality of display images other than the design image include, for example, a character image, a background image, and the predetermined image described above. Speaker control means 890 outputs sound data for generating sound corresponding to the effect selected by effect selection means 860 to speaker 740.

演出手段910は、画像表示装置730と、スピーカ740とからなる。画像表示装置730には、上述した副制御手段860の画像表示制御手段880から発せられた制御信号に基づいて、図柄の画像やキャラクタの画像や文字情報が表示される。スピーカ740は、上述したスピーカ制御手段890から出力された音声データに基づいて、音声を発生する。   The rendering unit 910 includes an image display device 730 and a speaker 740. The image display device 730 displays a pattern image, a character image, and character information based on the control signal generated from the image display control unit 880 of the sub-control unit 860 described above. The speaker 740 generates sound based on the sound data output from the speaker control unit 890 described above.

次に、主制御手段810で実行される入賞処理ルーチンの内容について、図33に示すフローチャートを参照して説明する。この図に示した入賞処理は、主制御手段810で予め実行されているメインプログラム(図示せず)から所定のタイミング毎に呼び出されて繰り返し実行される。また、図33に示す入賞処理ルーチンの他にも、所定のタイミングごとに、図12に示した乱数チェック処理および図25に示した異常発生処理が実行されるものとする。   Next, the contents of the winning process routine executed by the main control means 810 will be described with reference to the flowchart shown in FIG. The winning process shown in this figure is called from a main program (not shown) previously executed by the main control means 810 at every predetermined timing and repeatedly executed. In addition to the winning process routine shown in FIG. 33, the random number check process shown in FIG. 12 and the abnormality occurrence process shown in FIG. 25 are executed at every predetermined timing.

最初に、遊技盤720の表面を流下している遊技球が始動入賞口732に入賞したか否かを判断する(ステップS400)。なお、始動入賞口732には、遊技球の通過を検出すると、主制御手段810へ検出信号を出力する遊技球センサ(図示せず)が設けられており、ステップS400の判断処理は、この検出信号が主制御手段810に供給されたか否かによって行われる。ステップS400で遊技球が始動入賞口732に入賞した(YES)と判断したときには、画像表示装置730で図柄の画像が変動表示されている最中であるか否かを判断する(ステップS402)。そして、画像表示装置730において図柄の画像が変動表示されている最中である(YES)と判別したときには、主制御手段810の保留記憶手段830の4つの保留領域に空きがあるか否かを判断する(ステップS404)。   First, it is determined whether or not the game ball flowing down the surface of the game board 720 has won the start winning opening 732 (step S400). The start winning port 732 is provided with a game ball sensor (not shown) that outputs a detection signal to the main control means 810 when the passage of the game ball is detected. This is done depending on whether a signal is supplied to the main control means 810. When it is determined in step S400 that the game ball has won the start winning opening 732 (YES), it is determined whether or not the image of the symbol is being variably displayed on the image display device 730 (step S402). When the image display device 730 determines that the symbol image is being variably displayed (YES), it is determined whether or not there are empty areas in the four storage areas of the storage unit 830 of the main control unit 810. Judgment is made (step S404).

保留領域に空きがある(YES)と判別したときには、図10に示した乱数取得処理を実行し(ステップS406)し、乱数取得処理によって取得された抽選用乱数を保留領域の空き領域に記憶する(ステップS408)。この空き領域に記憶された抽選用乱数は、画像表示装置730において図柄の画像が停止表示されるごとに、順次読み出されて当たり抽選が行われる。そして、始動入賞口732に入賞したときに払い出すべき個数(4個)の遊技球を払い出す払い出し処理を行い(ステップS410)、図33に示す入賞処理ルーチンを終了する。一方、上述したステップS404の判断処理で、保留領域に空きがない(NO)と判別したときは、直ちにステップS410の払い出し処理へ移行して、始動入賞口732に入賞したときに払い出すべき個数(4個)の遊技球を払い出して、図33に示す入賞処理ルーチンを終了する。   When it is determined that there is a space in the reserved area (YES), the random number acquisition process shown in FIG. 10 is executed (step S406), and the lottery random number acquired by the random number acquisition process is stored in the empty area of the reserved area. (Step S408). The random numbers for lottery stored in the vacant area are sequentially read and a lottery is performed each time the symbol image is stopped and displayed on the image display device 730. Then, a payout process for paying out the number (4) of game balls to be paid out when winning at the start winning opening 732 is performed (step S410), and the winning process routine shown in FIG. 33 is ended. On the other hand, if it is determined in the determination process in step S404 described above that there is no vacancy in the reserved area (NO), the process immediately proceeds to the payout process in step S410, and the number to be paid out when winning in the start winning opening 732 (4) game balls are paid out, and the winning process routine shown in FIG. 33 is completed.

次に、上述したステップS402の判断処理で、画像表示装置730において図柄の画像が変動表示されている最中でない(NO)と判断したときには、直ちに図10に示した乱数取得処理を実行し(ステップS412)、乱数取得処理によって取得された抽選用乱数をRAMなどの記憶手段に記憶する(ステップS414)。この記憶された抽選用乱数は、別途行われる当たり抽選処理(図示略)において読み出されて、当該抽選用乱数に基づく当たり抽選が行われる。そして、ステップS410の払い出し処理へ移行して、始動入賞口732に入賞したことにより、4個の遊技球を払い出して、図33に示す入賞処理ルーチンを終了する。   Next, when it is determined in the determination process of step S402 described above that the symbol image is not being variably displayed on the image display device 730 (NO), the random number acquisition process shown in FIG. In step S412), the random number for lottery acquired by the random number acquisition process is stored in a storage unit such as a RAM (step S414). This stored random number for lottery is read in a winning lottery process (not shown) separately performed, and a winning lottery based on the random number for lottery is performed. Then, the process proceeds to the payout process in step S410, and by winning the start winning opening 732, four game balls are paid out, and the payout process routine shown in FIG. 33 is ended.

また、ステップS400の判断処理において、遊技球が始動入賞口732に入賞していない(NO)と判断したときには、次に、他の入賞口736aや736bなどに遊技球が入賞したか否かを判断する(ステップS416)。そして、いずれの入賞口にも遊技球が入賞していない(NO)と判別したときには、入賞処理ルーチンを直ちに終了する。一方、いずれかの入賞口に遊技球が入賞した(YES)と判別したときには、ステップS410の払い出し処理へ移行して、入賞した入賞口の種類に応じた数だけ遊技球を払い出した後、入賞処理ルーチンを終了する。   If it is determined in the determination process of step S400 that the game ball has not won the start winning opening 732 (NO), it is next determined whether or not the game ball has won another winning opening 736a, 736b, or the like. Judgment is made (step S416). When it is determined that no game ball has been won in any winning opening (NO), the winning process routine is immediately terminated. On the other hand, when it is determined that a game ball has been won (YES) in any of the winning openings, the process proceeds to the payout process in step S410, and after paying out game balls by the number corresponding to the type of the winning opening, The processing routine ends.

以上のように、図33に示した入賞処理ルーチンでは、始動入賞口732に遊技球が入賞すると(ステップS400,YES)、保留領域に空きがない(ステップS404,NO)場合を除いて、図10に示した乱数取得処理が実行される(ステップS406,S412)。これにより、図11を参照して説明した内容の乱数に関する異常判定が実行される。また、パチンコ機700は、所定のタイミングごとに、図12に示した乱数チェック処理および図15に示した異常発生処理が実行される。そして、図10の乱数取得処理または図12の乱数チェック処理において、乱数発生装置112が生成した乱数に異常が認められると判定された場合は、図25の異常発生処理によって、外部端子板758を介して異常が発生した旨を示す異常信号を外部の管理コンピュータ950等へ出力すると共に、副制御手段860に対して乱数に異常が発生したことを示すエラーコードが送信される。これにより、副制御手段860は、受信したエラーコードに対応するメッセージを画像表示装置730へ表示すると共に、異常発生時に発生するエラー音をスピーカ740から出力させる。   As described above, in the winning process routine shown in FIG. 33, when a game ball wins in the start winning opening 732 (step S400, YES), except in the case where there is no space in the holding area (step S404, NO), FIG. 10 is executed (steps S406 and S412). Thereby, the abnormality determination regarding the random number of the content demonstrated with reference to FIG. 11 is performed. In addition, the pachinko machine 700 executes the random number check process shown in FIG. 12 and the abnormality occurrence process shown in FIG. 15 at every predetermined timing. If it is determined in the random number acquisition process of FIG. 10 or the random number check process of FIG. In addition, an abnormality signal indicating that an abnormality has occurred is output to the external management computer 950 and the like, and an error code indicating that an abnormality has occurred in the random number is transmitted to the sub-control means 860. As a result, the sub-control unit 860 displays a message corresponding to the received error code on the image display device 730 and causes the speaker 740 to output an error sound generated when an abnormality occurs.

このように、図10に示した乱数取得処理および図12に示した乱数チェック処理は、スロットマシンのみならず、パチンコ機においても適用させることができる。また、図10に示した乱数取得処理および図12に示した乱数チェック処理の代わりに、図15または図17に示した乱数取得処理、および図19、図21または図23に示した乱数チェック処理を行ってもよいことはいうまでもない。   As described above, the random number acquisition process shown in FIG. 10 and the random number check process shown in FIG. 12 can be applied not only to a slot machine but also to a pachinko machine. Further, instead of the random number acquisition process shown in FIG. 10 and the random number check process shown in FIG. 12, the random number acquisition process shown in FIG. 15 or FIG. 17 and the random number check process shown in FIG. 19, FIG. Needless to say, it may be performed.

10 スロットマシン
112 乱数発生装置
410 乱数クロック発生手段
412 乱数テーブル記憶手段
414 乱数テーブル指定手段
416 乱数更新手段
418 乱数記憶手段
420 乱数異常検出手段
422 異常検出用乱数取得手段
424 異常検出用乱数記憶手段
426 乱数異常判定手段
432 役抽選手段
4322,822 抽選用乱数取得手段
4324,824 抽選用乱数判定手段
700 パチンコ機
DESCRIPTION OF SYMBOLS 10 Slot machine 112 Random number generator 410 Random number clock generation means 412 Random number table storage means 414 Random number table designation means 416 Random number update means 418 Random number storage means 420 Random number abnormality detection means 422 Abnormality detection random number acquisition means 424 Abnormality detection random number storage means 426 Random number abnormality determination means 432 Role lottery means 4322, 822 Lottery random number acquisition means 4324, 824 Lottery random number determination means 700 Pachinko machine

Claims (7)

予め定められた数値範囲内で生成される1つの乱数を用いて行われる抽選に基づいて遊技の結果を定める遊技機であって、
予め定められた乱数周期ごとに、前記数値範囲内の各数値が重複せずに一通り生成されるように前記生成する乱数の値を順次更新する乱数更新手段と、
前記抽選に用いる抽選用乱数として、外部からの操作に応じて前記乱数更新手段によって更新された乱数を取得する抽選用乱数取得手段と、
前記乱数更新手段による前記乱数の値の更新間隔よりも長く、かつ、2つの連続する前記乱数周期内に少なくとも3回取得できる時間間隔で、前記乱数更新手段によって更新される乱数を、異常検出用乱数として定期的に取得する異常検出用乱数取得手段と、
前記異常検出用乱数が取得されるごとに、該異常検出用乱数の値に基づいて前記乱数更新手段によって乱数の値が正常に更新されているか否かを判定する第一の乱数判定手段と、
前記抽選用乱数が取得されるごとに、該抽選用乱数の値に基づいて前記乱数更新手段によって乱数の値が正常に更新されているか否かを判定する第二の乱数判定手段と、
前記第一の乱数判定手段によって、前記乱数の値が正常に更新されていないと判定された時点において、前記第二の乱数判定手段が、前記乱数の値が正常に更新されていると判定していたときは遊技を継続させ、正常に更新されていないと判定していたときは遊技を停止させる遊技進行制御手段と、
を備えることを特徴とする遊技機。
A gaming machine that determines a game result based on a lottery performed using one random number generated within a predetermined numerical range,
Random number updating means for sequentially updating the value of the generated random number so that each numerical value in the numerical value range is generated without overlapping each other for each predetermined random number cycle;
As a lottery random number for use in the lottery, a lottery random number acquisition unit that acquires a random number updated by the random number update unit according to an external operation;
A random number that is updated by the random number updating means for detecting an abnormality at a time interval that is longer than the update interval of the random number value by the random number updating means and that can be acquired at least three times within two consecutive random number cycles. Anomaly detection random number acquisition means for periodically acquiring random numbers;
A first random number determination unit that determines whether or not a random number value is normally updated by the random number update unit based on the value of the abnormality detection random number each time the abnormality detection random number is acquired;
A second random number determination unit that determines whether or not the random number value is normally updated by the random number update unit based on the lottery random number value each time the lottery random number is acquired;
When the first random number determination unit determines that the random number value is not normally updated, the second random number determination unit determines that the random number value is updated normally. A game progress control means for continuing the game when it is, and stopping the game when it is determined that the game has not been updated normally;
A gaming machine comprising:
前記第二の乱数判定手段は、
前記抽選用乱数取得手段によって前記抽選用乱数が取得されると、該抽選用乱数と、該抽選用乱数とは各々異なるタイミングで前記乱数更新手段によって更新された少なくとも2つの乱数と、からなる少なくとも3つの乱数のうち、いずれか2つの乱数の値が一致しなかったときに、前記乱数更新手段によって乱数の値が正常に更新されていると判定し、
前記少なくとも3つの乱数は、最初の乱数が取得されてから最後の乱数が取得されるまでの期間が、前記2つの連続する乱数周期よりも短く、かつ、各々の乱数は、前記乱数更新手段による前記乱数の値の更新間隔よりも長い時間間隔で取得されたものである
ことを特徴とする請求項1に記載の遊技機。
The second random number determination means includes
When the lottery random number is acquired by the lottery random number acquisition unit, the lottery random number and at least two random numbers updated by the random number update unit at different timings from the lottery random number When any two random numbers among the three random numbers do not match, it is determined that the random number value is normally updated by the random number updating means,
The at least three random numbers have a period from when the first random number is acquired until the last random number is acquired shorter than the two consecutive random number cycles, and each random number is determined by the random number updating unit. The gaming machine according to claim 1, wherein the gaming machine is acquired at a time interval longer than an update interval of the random number value.
前記第一の乱数判定手段は、
前記抽選用乱数取得手段によって取得された前記抽選用乱数の値と、該抽選用乱数が取得された直後に前記異常検出用乱数取得手段によって取得された、時系列で連続する2つの前記異常検出用乱数の値とが、すべて一致したときに、前記乱数更新手段によって乱数の値が正常に更新されていないと判定する
ことを特徴とする請求項1または2に記載の遊技機。
The first random number determination means includes
The lottery random number acquired by the lottery random number acquisition unit and the two abnormality detections acquired in succession in time series acquired by the abnormality detection random number acquisition unit immediately after the lottery random number is acquired. 3. The gaming machine according to claim 1, wherein the random number value is determined not to be normally updated by the random number updating means when all the random number values for use coincide with each other.
前記第一の乱数判定手段は、
前記抽選用乱数取得手段によって前記抽選用乱数が取得された直後に、前記異常検出用乱数取得手段によって取得された、時系列で連続する3つの前記異常検出用乱数の値がすべて一致したときに、前記乱数更新手段によって乱数の値が正常に更新されていないと判定する
ことを特徴とする請求項1または2に記載の遊技機。
The first random number determination means includes
Immediately after the random number for lottery acquisition is acquired by the random number for lottery acquisition, the values of the three consecutive random numbers for abnormality detection acquired by the random number for random detection for abnormality detection are matched. The game machine according to claim 1, wherein the random number value is not normally updated by the random number updating unit.
前記外部からの操作を契機として複数の図柄が変動を開始してから、該図柄の変動がすべて停止するまでを1回の単位とする単位遊技を実行する単位遊技実行手段と、
前記複数の図柄の変動が停止したときに特定の図柄組合せが停止表示されると、遊技者に対して特典が付与される確率が高くなる特別遊技を実行し、該特別遊技が終了すると前記単位遊技を再開させる特別遊技実行手段と、を備え、
前記単位遊技実行手段は、
前記外部からの操作に応じて取得された前記抽選用乱数に基づいて、特別役に当選したか否かを決定する役抽選を行う役抽選手段と、
前記役抽選において前記特別役が当選したときに、前記特定の図柄組合せが停止表示されるように、前記複数の図柄の変動を停止させる停止制御手段と、を含み、
前記遊技進行制御手段は、
前記第一の乱数判定手段および前記第二の乱数判定手段の判定に基づいて遊技を継続させると判断した場合、前記特別遊技中だったときは、該特別遊技を継続して実行し、該特別遊技が終了すると、前記単位遊技の再開を禁止し、
前記特別遊技中ではなく、かつ、前記単位遊技中だったときは、該単位遊技が終了すると、次の単位遊技の開始を禁止する
ことを特徴とする請求項1から4のうちいずれか1項に記載の遊技機。
A unit game execution means for executing a unit game with one unit from the start of change of a plurality of symbols triggered by an operation from the outside until the stop of all the changes of the symbols;
When a specific symbol combination is stopped and displayed when the variation of the plurality of symbols is stopped, a special game is executed with a high probability that a privilege is given to the player, and when the special game ends, the unit A special game execution means for resuming the game,
The unit game execution means is
Based on the random number for lottery acquired according to the operation from the outside, a role lottery means for performing a role lottery to determine whether or not a special role is won
Stop control means for stopping fluctuations of the plurality of symbols so that the specific symbol combination is stopped and displayed when the special combination is won in the combination lottery,
The game progress control means includes
When it is determined that the game is to be continued based on the determinations of the first random number determination means and the second random number determination means, the special game is continuously executed when the special game is in progress. When the game ends, the unit game is prohibited from being resumed,
5. The start of the next unit game is prohibited when the unit game is over when the special game is not in progress and the unit game is in progress. 6. The gaming machine described in 1.
前記役抽選の結果を記憶する役抽選結果記憶手段を備え、
前記遊技進行制御手段は、
前記第一の乱数判定手段および前記第二の乱数判定手段の判定に基づいて遊技を継続させると判断した場合、前記役抽選結果記憶手段に前記特別役に当選したことが記憶されていたときは、該特別役に基づく前記特別遊技が開始されて終了するまで、前記単位遊技および前記特別遊技を継続して実行し、
前記役抽選結果記憶手段に前記特別役に当選したことが記憶されておらず、かつ、前記単位遊技中だったときは、該単位遊技が終了すると、次の単位遊技の開始を禁止する
ことを特徴とする請求項5に記載の遊技機。
A role lottery result storage means for storing the result of the role lottery;
The game progress control means includes
When it is determined that the game is to be continued based on the determination of the first random number determination means and the second random number determination means, when the winning combination is stored in the combination lottery result storage means , The unit game and the special game are continuously executed until the special game based on the special role is started and ended,
If the winning combination is not stored in the winning lottery result storage means and the unit game is in progress, when the unit game ends, the start of the next unit game is prohibited. The gaming machine according to claim 5, characterized in that
前記単位遊技実行手段は、所定数の遊技媒体が投入されたことによって、前記単位遊技の実行が可能となるとともに、前記特別遊技中においても前記単位遊技を実行し、
前記役抽選手段は、前記特別役と、対応する図柄組合せが停止表示されると予め定められた数の前記遊技媒体が払い出されることとなる複数の小役と、を含む複数種類の役のうち、少なくとも1つの役を当選役とするか否かを決定する役抽選を行い、
前記停止制御手段は、前記役抽選により少なくとも1つの当選役が定められると、1つの当選役のみに対応する図柄組合せが停止表示されるように、前記複数の図柄の変動を停止させ、
前記単位遊技実行手段は、
前記特別遊技中に行われる前記単位遊技において、前記外部からの操作がなされたときに、前記役抽選に依らずに強制的に前記複数の小役をすべて当選役と定める強制当選手段を有する
ことを特徴とする請求項5または6に記載の遊技機。
The unit game execution means allows the unit game to be executed by inserting a predetermined number of game media, and executes the unit game even during the special game,
The combination lottery means includes a plurality of types of combinations including the special combination and a plurality of small combinations in which a predetermined number of game media will be paid out when the corresponding symbol combination is stopped and displayed. , Perform a role lottery to determine whether or not to win at least one role,
The stop control means stops fluctuation of the plurality of symbols so that a symbol combination corresponding to only one winning combination is stopped when at least one winning combination is determined by the combination lottery,
The unit game execution means is
In the unit game performed during the special game, there is a compulsory winning means for compulsorily determining all of the plurality of small roles as a winning combination without depending on the winning lottery when the external operation is performed. The gaming machine according to claim 5 or 6, characterized by the above.
JP2010183242A 2010-08-18 2010-08-18 Game machine Pending JP2012040139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010183242A JP2012040139A (en) 2010-08-18 2010-08-18 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010183242A JP2012040139A (en) 2010-08-18 2010-08-18 Game machine

Publications (1)

Publication Number Publication Date
JP2012040139A true JP2012040139A (en) 2012-03-01

Family

ID=45897127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010183242A Pending JP2012040139A (en) 2010-08-18 2010-08-18 Game machine

Country Status (1)

Country Link
JP (1) JP2012040139A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012070860A (en) * 2010-09-28 2012-04-12 Kyoraku Sangyo Kk Game machine
JP2014144107A (en) * 2013-01-29 2014-08-14 Daito Giken:Kk Game board
JP2014144359A (en) * 2014-03-19 2014-08-14 Daito Giken:Kk Game machine
JP2015006368A (en) * 2014-07-10 2015-01-15 株式会社大都技研 Game machine
JP5659283B1 (en) * 2013-11-02 2015-01-28 株式会社オリンピア Game machine
JP2015085177A (en) * 2014-05-20 2015-05-07 株式会社オリンピア Game machine
JP2017196228A (en) * 2016-04-28 2017-11-02 株式会社三洋物産 Game machine
JP2018051401A (en) * 2018-01-15 2018-04-05 株式会社オリンピア Game machine
JP2021023376A (en) * 2019-07-31 2021-02-22 株式会社ユニバーサルエンターテインメント Game machine
JP2021023377A (en) * 2019-07-31 2021-02-22 株式会社ユニバーサルエンターテインメント Game machine
JP2021023378A (en) * 2019-07-31 2021-02-22 株式会社ユニバーサルエンターテインメント Game machine
JP2021023373A (en) * 2019-07-31 2021-02-22 株式会社ユニバーサルエンターテインメント Game machine
JP2022097245A (en) * 2020-12-18 2022-06-30 株式会社オリンピア Game machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07313687A (en) * 1994-05-25 1995-12-05 Sophia Co Ltd Game machine controller
JP2005000551A (en) * 2003-06-13 2005-01-06 Sankyo Kk Game machine
JP2009268627A (en) * 2008-05-02 2009-11-19 Daiichi Shokai Co Ltd Game machine
JP2010063500A (en) * 2008-09-08 2010-03-25 Sammy Corp Hardware random number monitoring device and game machine incorporating the same
JP2012070859A (en) * 2010-09-28 2012-04-12 Kyoraku Sangyo Kk Game machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07313687A (en) * 1994-05-25 1995-12-05 Sophia Co Ltd Game machine controller
JP2005000551A (en) * 2003-06-13 2005-01-06 Sankyo Kk Game machine
JP2009268627A (en) * 2008-05-02 2009-11-19 Daiichi Shokai Co Ltd Game machine
JP2010063500A (en) * 2008-09-08 2010-03-25 Sammy Corp Hardware random number monitoring device and game machine incorporating the same
JP2012070859A (en) * 2010-09-28 2012-04-12 Kyoraku Sangyo Kk Game machine

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012070860A (en) * 2010-09-28 2012-04-12 Kyoraku Sangyo Kk Game machine
JP2014144107A (en) * 2013-01-29 2014-08-14 Daito Giken:Kk Game board
JP5659283B1 (en) * 2013-11-02 2015-01-28 株式会社オリンピア Game machine
JP2014144359A (en) * 2014-03-19 2014-08-14 Daito Giken:Kk Game machine
JP2015085177A (en) * 2014-05-20 2015-05-07 株式会社オリンピア Game machine
JP2015006368A (en) * 2014-07-10 2015-01-15 株式会社大都技研 Game machine
JP2017196228A (en) * 2016-04-28 2017-11-02 株式会社三洋物産 Game machine
JP2018051401A (en) * 2018-01-15 2018-04-05 株式会社オリンピア Game machine
JP2021023376A (en) * 2019-07-31 2021-02-22 株式会社ユニバーサルエンターテインメント Game machine
JP2021023377A (en) * 2019-07-31 2021-02-22 株式会社ユニバーサルエンターテインメント Game machine
JP2021023378A (en) * 2019-07-31 2021-02-22 株式会社ユニバーサルエンターテインメント Game machine
JP2021023373A (en) * 2019-07-31 2021-02-22 株式会社ユニバーサルエンターテインメント Game machine
JP2022097245A (en) * 2020-12-18 2022-06-30 株式会社オリンピア Game machine
JP7252650B2 (en) 2020-12-18 2023-04-05 株式会社オリンピア game machine

Similar Documents

Publication Publication Date Title
JP2012040139A (en) Game machine
JP5024843B1 (en) Amusement stand
JP5564675B2 (en) Amusement stand
JP4991955B1 (en) Amusement stand
JP2018000249A5 (en)
JP2019072002A (en) Game machine
JP2013027436A (en) Game machine
JP2020068812A (en) Game machine
JP2019072005A (en) Game machine
JP6675438B2 (en) Gaming machine
JP2011224209A (en) Game machine
JP5332029B2 (en) Amusement stand
JP2020078524A (en) Game machine
JP2019201934A (en) Game machine
JP5082118B2 (en) Amusement stand
JP6867694B2 (en) Game machine
JP5366065B2 (en) Amusement stand
JP2019180526A (en) Game machine
JP5724086B2 (en) Amusement stand
JP2019080648A (en) Game machine
JP2019072004A (en) Game machine
JP6864372B2 (en) Pachinko machine
JP6864371B2 (en) Pachinko machine
JP6803080B2 (en) Game machine
JP6850012B2 (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120920

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130925

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131001

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140225