JP5250804B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP5250804B2
JP5250804B2 JP2007155557A JP2007155557A JP5250804B2 JP 5250804 B2 JP5250804 B2 JP 5250804B2 JP 2007155557 A JP2007155557 A JP 2007155557A JP 2007155557 A JP2007155557 A JP 2007155557A JP 5250804 B2 JP5250804 B2 JP 5250804B2
Authority
JP
Japan
Prior art keywords
random number
initial value
value
hit determination
determination random
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.)
Expired - Fee Related
Application number
JP2007155557A
Other languages
Japanese (ja)
Other versions
JP2008307123A (en
Inventor
高明 市原
有史 長谷川
肇 加藤
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.)
Daiichi Shokai Co Ltd
Original Assignee
Daiichi Shokai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daiichi Shokai Co Ltd filed Critical Daiichi Shokai Co Ltd
Priority to JP2007155557A priority Critical patent/JP5250804B2/en
Publication of JP2008307123A publication Critical patent/JP2008307123A/en
Application granted granted Critical
Publication of JP5250804B2 publication Critical patent/JP5250804B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

本発明は、遊技機に関し、特に、遊技に伴って変化する遊技情報を記憶する記憶回路を有する遊技機に関する。   The present invention relates to a gaming machine, and more particularly, to a gaming machine having a storage circuit that stores gaming information that changes with gaming.

遊技機、例えば、パチンコ機には、種々の遊技用機器、各遊技用機器を制御する制御回路が設けられている。例えば、始動入賞口開閉部材、大入賞口開閉部材、払出装置等が遊技用機器として設けられ、主制御回路、払出制御回路等が制御回路として設けられている。また、制御回路や遊技用機器に電力を供給する電源回路が設けられている。電源回路としては、例えば、交流の商用電力を直流電力に変換するAC/DC変換回路が用いられる。
このようなパチンコ機では、遊技者が遊技を行っている時に、停電によって電源回路からの直流電力の供給が停止すると、制御回路や遊技用機器の処理が中断される。例えば、払出装置が賞球の払い出しを行っている時に電源回路からの直流電力の供給が停止すると、賞球を払い出している途中で払出装置が停止する。この時、主制御回路や払出制御回路も動作を停止するため、未払いの賞球数の情報も消去されてしまう。
そこで、停電が発生した時点の遊技情報を記憶し、停電復旧時に、停電発生により中断された遊技状態から遊技を再開するように構成されている。例えば、停電が発生すると、制御回路は、停電処理を実行する。停電処理では、停電が発生した時点に記憶回路(RAM)に記憶されている遊技情報に基づいて判定情報を作成して記憶回路に記憶する。停電中は、記憶回路に記憶されている遊技情報と判定情報は、バックアップ電源から供給されるバックアップ電力によって保持される。そして、停電が復旧する(復電する)と、制御回路は、復帰処理を実行する。復帰処理では、記憶回路に記憶されている遊技情報に基づいて判定情報を作成し、作成した判定情報と記憶回路に記憶されている判定情報を比較することによって、記憶回路に記憶されている遊技情報が正常であるか否か(停電中に変化しているか否か)を判定する。記憶回路に記憶されている遊技情報が正常であることを判定した場合には、記憶回路に記憶されている、停電発生時の遊技情報に基づいて遊技を再開する。すなわち、停電の発生により中断された遊技状態から遊技を再開する。一方、記憶回路に記憶されている遊技情報が異常であることを判定した場合には、記憶回路を初期化する。すなわち、初期状態の遊技情報に基づいて遊技を開始する。
従来の遊技機では、記憶回路にバックアップ電力を供給するバックアップ電源は、電源回路とともに電源基板に設けられている(特許文献1参照)
特開2000−279579号公報
A gaming machine, for example, a pachinko machine, is provided with various gaming devices and a control circuit for controlling each gaming device. For example, a start winning opening / closing member, a large winning opening / closing member, a payout device, and the like are provided as gaming machines, and a main control circuit, a payout control circuit, and the like are provided as control circuits. In addition, a power supply circuit that supplies power to the control circuit and the gaming machine is provided. As the power supply circuit, for example, an AC / DC conversion circuit that converts AC commercial power into DC power is used.
In such a pachinko machine, when the player is playing a game and the supply of DC power from the power supply circuit is stopped due to a power failure, the processing of the control circuit and the gaming machine is interrupted. For example, if the supply of DC power from the power supply circuit is stopped while the payout device is paying out the prize ball, the payout device stops in the middle of paying out the prize ball. At this time, since the main control circuit and the payout control circuit also stop operating, the information on the number of unpaid prize balls is also erased.
Therefore, the game information at the time when the power failure occurs is stored, and when the power failure is restored, the game is resumed from the gaming state interrupted by the occurrence of the power failure. For example, when a power failure occurs, the control circuit executes a power failure process. In the power failure processing, determination information is created based on the game information stored in the memory circuit (RAM) at the time when the power failure occurs, and stored in the memory circuit. During a power failure, game information and determination information stored in the storage circuit are held by backup power supplied from a backup power source. Then, when the power failure is restored (power is restored), the control circuit executes a restoration process. In the return process, determination information is created based on the game information stored in the storage circuit, and the game stored in the storage circuit is compared by comparing the generated determination information with the determination information stored in the storage circuit. It is determined whether the information is normal (whether it has changed during a power failure). When it is determined that the game information stored in the storage circuit is normal, the game is resumed based on the game information stored in the storage circuit when a power failure occurs. That is, the game is resumed from the game state interrupted by the occurrence of a power failure. On the other hand, when it is determined that the game information stored in the memory circuit is abnormal, the memory circuit is initialized. That is, the game is started based on the game information in the initial state.
In a conventional gaming machine, a backup power source that supplies backup power to a memory circuit is provided on a power supply board together with the power circuit (see Patent Document 1).
JP 2000-279579 A

パチンコ機では、遊技球が始動入賞口に入球したことを示す始動入賞球信号が入力されると、遊技者に有利な当たり遊技状態を発生させるか否かを決定するための抽選が行われる。例えば、大当たり遊技状態(大入賞口を開閉する大入賞口開閉部材を開制御あるいは開閉制御する)を発生させるか否かを決定するための大当たり判定用乱数を取得し、取得した大当たり判定用乱数が設定値(当たり値)と一致するか否かを判別する。大当たり判定用乱数としては、例えば、「0」から「299」までの間で繰り返し更新(カウント)される大当たり判定用カウント値が用いられる。ここで、大当たり判定用カウント値が、常に、「0」と「299」の間で繰り返し更新(カウント)される場合には、大当たり判定用カウント値が設定値と一致するタイミングが等間隔に発生する。このため、大当たり判定用カウント値が設定値と一致するタイミングを知らせる体感器を用いた不正や、大当たり判定用カウント値が設定値と一致するタイミングで不正に始動入賞球信号を入力させる不正基板を用いた不正が行われる虞がある。
そこで、大当たり判定用乱数として、初期値更新型の大当たり判定用カウント値が用いられている。初期値更新型の大当たり判定用カウント値は、大当たり判定用カウント値の1周期(1サイクル)毎に、大当たり初期値用乱数を初期値として1周期(1サイクル)に亘って繰り返し更新(カウント)される。大当たり初期値用乱数としては、大当たり初期値用カウント値が用いられる。初期値更新型の大当たり判定用カウント値は、例えば、図8に示すように変化する。時点t21で記憶回路(RAM)が初期化された場合、大当たり初期値用カウント値は初期値「0」に設定される。このため、大当たり判定用カウント値は、初期値「0」から1サイクル目の更新(カウント)が開始される。時点t22で、大当たり判定用カウント値が「299」(「0」を初期値とする1サイクルの最後の値)に達すると、1サイクル目の更新が終了する。ここで、大当たり初期値用カウント値を取得する(図8では、「60」を取得している)。大当たり判定用カウント値は、取得した大当たり初期値用カウント値「60」を初期値として2サイクル目のカウント(更新)が開始される。時点t23で、大当たり判定用カウント値が「299」に達すると、「0」に戻ってカウントを続ける。そして、時点t24で、大当たり判定用カウント値が「59」(「60」を初期値とする1サイクルの最後の値)に達すると、2サイクル目の更新が終了する。以後、同様にして、大当たり判定用カウント値は、1サイクル毎に大当たり初期値用カウント値を用いて更新される初期値から、「0」と「299」の範囲内の1サイクルに亘って更新(カウント)される。
このように、大当たり判定用カウント値として初期値更新型の大当たり判定用カウント値を用いることにより、大当たり判定用カウント値が設定値(当たり値)と一致するタイミングが等間隔に発生するのを防止することができる。
しかしながら、初期値更新型の大当たり判定用カウント値を用いた場合でも、記憶回路(RAM)が初期化された直後の大当たり初期値用カウント値は初期値「0」であるため、大当たり判定用カウント値は、初期値「0」から更新(カウント)が開始される。このため、大当たり判定用カウント値の更新間隔(カウント間隔)と設定値(当たり値)が分かれば、大当たり判定用カウント値が初期値「0」から設定値(当たり値)に達するまでの期間(大当たり判定用カウント値が設定値と一致するタイミング)を予測することができる。
In the pachinko machine, when a start winning ball signal indicating that a game ball has entered the start winning opening is input, a lottery is performed to determine whether or not to generate a winning gaming state advantageous to the player. . For example, a jackpot determination random number for determining whether or not to generate a jackpot gaming state (open control or open / close control of a bonus opening opening / closing member that opens / closes the winning prize opening) is acquired, and the acquired jackpot determination random number is acquired Whether or not matches the set value (win value). As the jackpot determination random number, for example, a jackpot determination count value that is repeatedly updated (counted) between “0” and “299” is used. Here, when the jackpot determination count value is constantly updated (counted) between “0” and “299”, the timing at which the jackpot determination count value matches the set value occurs at equal intervals. To do. For this reason, a fraud board using a sensory device that informs the timing when the jackpot determination count value matches the set value, or an illegal board that illegally inputs the start winning ball signal at the timing when the jackpot determination count value matches the set value. There is a risk of fraud being used.
Therefore, the initial value update type jackpot determination count value is used as the jackpot determination random number. The initial value update type jackpot determination count value is repeatedly updated (counted) over one period (one cycle) with a random number for the jackpot initial value as an initial value for each period (one cycle) of the jackpot determination count value. Is done. The jackpot initial value count value is used as the jackpot initial value random number. The initial value update type jackpot determination count value changes, for example, as shown in FIG. When the memory circuit (RAM) is initialized at time t21, the jackpot initial value count value is set to the initial value “0”. For this reason, the big hit determination count value starts to be updated (counted) in the first cycle from the initial value “0”. When the jackpot determination count value reaches “299” (the last value in one cycle with “0” as an initial value) at time t22, the update in the first cycle is completed. Here, the count value for the jackpot initial value is acquired (in FIG. 8, “60” is acquired). The jackpot determination count value starts counting (updating) in the second cycle using the acquired jackpot initial value count value “60” as an initial value. When the jackpot determination count value reaches “299” at time t23, it returns to “0” and continues counting. At time t24, when the jackpot determination count value reaches “59” (the last value in one cycle with “60” as an initial value), the update in the second cycle is completed. Thereafter, similarly, the jackpot determination count value is updated over one cycle within the range of “0” and “299” from the initial value updated using the jackpot initial value count value every cycle. (Counted).
In this way, by using the initial value update type jackpot determination count value as the jackpot determination count value, the timing at which the jackpot determination count value matches the set value (winning value) is prevented from occurring at equal intervals. can do.
However, even when the initial value update type jackpot determination count value is used, the jackpot initial value count value immediately after the memory circuit (RAM) is initialized is the initial value “0”, so the jackpot determination count The value is updated (counted) from the initial value “0”. For this reason, if the update interval (count interval) of the jackpot determination count value and the set value (win value) are known, the period until the jackpot determination count value reaches the set value (win value) from the initial value “0” ( The timing at which the jackpot determination count value matches the set value) can be predicted.

ここで、従来の遊技機では、バックアップ電源が電源基板に設けられているため、電源基板と制御基板の間に、バックアップ電力を制御基板に設けられている記憶回路に供給するための電力線が接続されている。この場合、バックアップ電力を供給するための電力線を短絡あるいは断線させた状態で、制御基板への直流電力の供給を一定期間停止させる不正が行われると、制御基板への直流電力の供給が停止されている間、バックアップ電源から記憶回路にバックアップ電力が供給されないため、記憶回路に記憶されている遊技情報が消去する。このため、制御回路への直流電力の供給が再開された後の制御回路での復帰処理において、記憶回路が初期化されて大当たり判定用カウント値は初期値「0」から更新(カウント)が開始される。
このような不正を防止するために、バックアップ電源を制御基板に設けることが考えられる。しかしながら、制御基板にバックアップ電源を設けると、制御基板が遊技機から不正に取り外され、記憶回路に記憶されている遊技情報が不正に書き替えられる虞がある。例えば、主制御基板を遊技機から取り外し、確率変動状態(抽選結果が当たりとなる確率が通常より高い状態)になるまで主制御回路に始動入賞球信号を入力した後、遊技機に取り付ける不正が行われる。この場合、不正に設定された確率変動状態で遊技が行われる。このため、制御基板にバックアップ電源を設ける方法を採用し難い。
本発明は、このような点に鑑みて創案されたものであり、電源基板にバックアップ電源が設けられていても、不正な遊技を防止することができる技術を提供することを目的とする。
Here, in the conventional gaming machine, since the backup power supply is provided on the power supply board, a power line for supplying backup power to the memory circuit provided on the control board is connected between the power supply board and the control board. Has been. In this case, if a fraud in which the supply of DC power to the control board is stopped for a certain period while the power line for supplying backup power is short-circuited or disconnected, the supply of DC power to the control board is stopped. During this time, the backup power is not supplied from the backup power source to the storage circuit, so that the game information stored in the storage circuit is erased. For this reason, in the return processing in the control circuit after the supply of DC power to the control circuit is resumed, the memory circuit is initialized and the jackpot determination count value starts to be updated (counted) from the initial value “0”. Is done.
In order to prevent such fraud, it is conceivable to provide a backup power supply on the control board. However, if a backup power supply is provided on the control board, the control board may be illegally removed from the gaming machine, and game information stored in the storage circuit may be illegally rewritten. For example, if the main control board is removed from the gaming machine and the start winning ball signal is input to the main control circuit until the probability fluctuation state (the probability that the lottery result is a hit is higher than normal) is entered, Done. In this case, the game is played in an illegally set probability variation state. For this reason, it is difficult to employ a method of providing a backup power source on the control board.
The present invention has been made in view of such a point, and an object of the present invention is to provide a technique capable of preventing an illegal game even when a backup power supply is provided on a power supply board.

本発明の遊技機は、制御基板と電源基板を有している。
電源基板には、制御基板に電力を供給する電源手段が設けられている。電源手段としては、例えば、AC24V電源をDC34V電源とDC12V電源に変換するAC−DC変換回路が用いられる。
制御基板には、処理手段、抽選手段、当たり判定用乱数生成手段、初期値用乱数生成手段、乱数生成手段、記憶手段、電圧変換手段、停電検出手段が設けられている。典型的には、処理手段、抽選手段、当たり判定用乱数生成手段、初期値用乱数生成手段の処理は、共通の制御回路によって実行され、乱数生成手段の処理は、乱数生成回路によって実行される。
記憶手段には、処理手段、抽選手段、当たり判定用乱数生成手段、初期値用乱数生成手段等の処理を実行するための動作プログラム、遊技に伴って変化する遊技情報、当たり判定用乱数、初期値用乱数、遊技機毎に固有な固有識別情報等が記憶される。遊技情報としては、例えば、パチンコ機では、遊技媒体が始動入賞口に入球したことを示す始動入賞球信号の数、当たり遊技状態(大当たり遊技状態や確変遊技状態等)が発生していることを示す当たり遊技情報、払出装置から払い出す賞球数を示す賞球情報等が記憶される。固有識別情報としては、典型的には、遊技機に用いられている回路あるいは素子、例えば、処理手段、抽選手段、当たり判定用乱数生成手段、初期値用乱数生成手段、記憶手段が設けられているICチップの識別情報(製造番号等)が用いられる。記憶手段としては、ROMやRAMが用いられる。典型的には、記憶手段は、遊技情報、当たり判定用乱数、初期値用乱数等の遊技中に変化する情報を記憶するRAMと、動作プログラムや固有識別情報等の固定の情報を記憶するROMにより構成される。
当たり判定用乱数生成手段は、当たり判定用乱数を、第1の値と第2の値の間の第1の範囲内の第1の初期値から、第1の値から第2の値の方向に第1の更新値ずつ第1の範囲内の1周期に亘って順次更新する処理(生成する処理)を、1周期毎に第1の初期値を更新しながら実行する。典型的には、当たり判定用乱数生成手段は、第1の初期値から第1の更新値ずつ第1の範囲内の1周期に亘って順次カウント(更新)する当たり判定用カウンタとして構成され、記憶手段に記憶される当たり判定用乱数は、第1の初期値から第1の更新値ずつ第1の範囲内で順次カウント(更新)される当たり判定用カウント値で表される。第1の値、第2の値、第1の更新値および更新方向(カウント方向)は、適宜選択可能である。第1の更新値および更新方向としては、典型的には、「1」および加算方向が用いられる。「第1の範囲内の1周期」は、第1の初期値が第1の値である場合には、第1の値から第2の値までの範囲を意味し、第1の初期値が第1の値以外の値である場合には、第1の初期値から第2の値の方向に更新(カウント)し、第2の値に達すると第1の値から更新(カウント)を続け、第1の初期値の直前の値(例えば、[第1の初期値−1])までの範囲を意味する。当たり判定用乱数の第1の初期値を更新する方法としては、例えば、記憶手段に記憶されている初期値用乱数を当たり判定用乱数の第1の初期値として設定する方法が用いられる。
初期値用乱数生成手段は、初期値用乱数を、第3の値と第4の値の間の第2の範囲内の初期値から、第2の更新値ずつ第2の範囲内に亘って順次更新する処理(生成する処理)を実行する。第2の範囲は、第1の範囲の中から設定される。すなわち、第3の値と第4の値は第1の範囲内から選択される。勿論、第3の値と第4の値として第1の値と第2の値を設定し、第2の範囲を第1の範囲と一致させてもよい。典型的には、初期値用乱数生成手段は、第2の値から第2の更新値ずつ第2の範囲内で順次更新する初期値用カウンタとして構成され、初期値用乱数は、第2の初期値から第2の更新値ずつ第2の範囲内で順次カウント(更新)される初期値用カウント値で表される。第2の初期値は、適宜設定可能であるが、典型的には、記憶手段が初期化された時に、記憶手段の初期値用乱数記憶領域に設定される初期値用乱数の初期値(例えば、「0」)が用いられる。第2の更新値および更新方向は、適宜設定可能であるが、典型的には、「1」と加算方向が用いられる。なお、初期値用乱数生成手段の更新間隔は当たり判定用乱数生成手段の更新間隔より短く設定されている。これにより、当たり判定用乱数の1周期毎に初期値用乱数を当たり判定用乱数の第1の初期値として用いた場合(初期値更新型の当たり判定用乱数を用いた場合)、当たり判定用乱数はランダムに変化する。
なお、遊技機が複数の当たり遊技状態を有している場合には、複数の当たり判定用乱数と、複数の当たり判定用乱数それぞれを生成する複数の当たり判定用乱数生成手段が用いられる。例えば、遊技球の始動入賞口への入球に起因して行われる抽選の結果によって、大入賞口を開閉する大入賞口開閉部材を開制御あるいは開閉制御する大当たり遊技状態と、大当たり遊技状態が発生したことを表示装置に表示する際に用いられる当たり図柄によって、大当たり遊技状態が発生する確率が通常時に比べて高い確変遊技状態を発生させるパチンコ機では、当たり判定用乱数として、大当たり遊技状態を発生させるか否かを決定する(抽選する)ための大当たり判定用乱数と、確変遊技状態を発生させるか否かを決定する(抽選する)ための当たり図柄判定用乱数が用いられ、当たり判定用乱数生成手段として、大当たり判定用乱数生成手段と当たり図柄判定用乱数生成手段が用いられる。さらに、当たり初期値用乱数や当たり初期値用乱数生成手段も、複数の当たり判定用乱数それぞれに対応して複数用いることができる。
乱数生成手段は、記憶手段に記憶されている固有識別情報に基づいて乱数を生成する。乱数生成手段は、M系列乱数等の公知の乱数を生成する。
抽選手段は、抽選条件の成立に起因して、記憶手段に記憶されている当たり判定用乱数を取得して設定値(当たり値)と比較する抽選処理を実行する。抽選条件としては、例えば、パチンコ機では、遊技球が始動入賞口に入球したことを示す始動入賞球信号が入力された条件が用いられる。
処理手段は、抽選手段の抽選結果が、当たり判定用乱数が設定値と一致していること(当たりであること)を示している場合に、遊技者に有利な当たり遊技状態を発生させる。遊技者に有利な当たり遊技状態は、遊技機に応じて適宜設定される。
また、処理手段は、停電が発生したことを示す停電検出信号が入力された場合には、停電処理を実行する。停電処理では、記憶回路に記憶されている遊技情報等に基づいて判定情報を生成して記憶回路に記憶する処理が実行される。判定情報としては、例えば、記憶回路に記憶されている遊技情報等のチェックサム値が用いられる。一方、処理手段に駆動電力が供給された場合には、復帰処理を実行する。復帰処理では、記憶手段に記憶されている判定情報に基づいて記憶手段に記憶されている遊技情報等が正常であるか否かを判定する。例えば、記憶手段に記憶されている遊技情報等のチェックサム値を算出し、算出したチェックサム値と記憶手段に記憶されている、前回の停電処理時に算出されたチェックサム値を比較することによって、記憶手段に記憶されている遊技情報等が正常であるか否かを判定する。記憶手段に記憶されている遊技情報等が正常であることを判定した場合には、記憶手段に記憶されている遊技情報に基づいて遊技を再開し、記憶手段に記憶されている遊技情報等が異常であることを判定した場合には、記憶手段を初期化し、遊技情報等の初期値に基づいて遊技を開始する。
さらに、本発明では、初期値用乱数生成手段は、処理手段によって記憶手段が初期化された場合には、記憶手段が初期化された時点で、初期値用乱数を更新する処理を開始する。また、当たり判定用乱数生成手段は、処理手段によって記憶手段が初期化された場合には、記憶手段が初期化された時点から、乱数生成手段で生成されている乱数に基づいて決定される期間が経過した時点で、1周期毎の第1の初期値を初期値用乱数を用いて更新しながら当たり判定用乱数を更新する処理を開始する。
電圧変換手段は、電源手段(電源基板)から制御基板に供給される電力の電圧を、制御基板に設けられている処理手段等の駆動電力の電圧に対応した電圧に変換する。電圧変換手段としては、例えば、DC12V電源をDC5V電源に変換するスイッチング回路や3端子レギュレータが用いられる。
停電検出手段は、電源手段(電源基板)から制御基板に供給される電力が低下していることを検出した場合に、停電が発生したことを示す停電検出信号を出力する。制御基板に供給される電力が低下していることを検出する方法としては、例えば、制御基板に供給されるDC12V電源の電圧が停電検出設定値より低下していることを検出する方法を用いることができる。停電検出設定値は、停電検出手段から停電検出信号が出力されてから処理手段が停電処理を完了するまで、電圧変換手段から供給される電力の電圧が処理手段の動作電圧以上に保持される値に設定される。
本発明では、制御基板に設けられている電圧変換手段によって、制御基板に供給された電力の電圧を、制御基板に設けられている処理手段等の駆動電力の電圧に対応する電圧に変換している。これにより、処理手段等の駆動電力(駆動電力に対応する電圧を有する電力)を供給するための電力線を制御基板に接続する必要がない。このため、処理手段等の駆動電力を供給する電力線を短期間短絡させて、記憶手段を初期化させる不正を防止することができる。
また、停電検出手段を制御基板に設けているため、停電検出信号を伝送するための信号線を制御基板に接続する必要がない。このため、停電検出信号を伝送するための信号線を短絡あるいは断線させた状態で処理手段等への駆動電力の供給を一定期間遮断させることによって、記憶手段を初期化させる不正を防止することができる。
また、遊技者に有利な当たり遊技状態を発生させることを決定するための当たり判定用乱数の初期値を当たり判定用乱数の1周期毎に更新しているため、当たり判定用乱数が設定値(当たり値)と一致する時点を予測するのが困難である。また、記憶手段が初期化された場合には、記憶手段が初期化された時点で、初期値用乱数を更新する処理を開始するとともに、記憶手段が初期化された時点から、乱数生成手段によって生成されている乱数に基づいて決定される期間が経過した時点で、当たり判定用乱数生成手段による当たり判定用乱数の更新処理(生成処理)を開始している。さらに、乱数生成手段により生成されている乱数は、遊技機毎に固有の固有識別情報に基づいている。このため、記憶手段が不正に初期化された場合でも、記憶手段が初期化された後、当たり判定用乱数が設定値(当たり値)と一致する時点(記憶手段が初期化されてから当たり判定用乱数が設定値と一致するまでの期間)を予測するのが非常に困難である。したがって、当たり判定用乱数が設定値(当たり値)と一致する時点を予測した不正な遊技を確実に防止することができる。

The gaming machine of the present invention has a control board and a power supply board.
The power supply board is provided with power supply means for supplying power to the control board. As the power source means, for example, an AC-DC conversion circuit that converts an AC 24V power source into a DC 34V power source and a DC 12V power source is used.
The control board is provided with processing means, lottery means, hit determination random number generation means, initial value random number generation means, random number generation means, storage means, voltage conversion means, and power failure detection means. Typically, the processing means, the lottery means, the hit determination random number generation means, and the initial value random number generation means are executed by a common control circuit, and the random number generation means is executed by a random number generation circuit. .
The storage means includes a processing means, a lottery means, a winning determination random number generating means, an operation program for executing processing such as an initial value random number generating means, game information that changes with the game, a winning determination random number, an initial value Value random numbers, unique identification information unique to each gaming machine, and the like are stored. As the game information, for example, in a pachinko machine, the number of start winning ball signals indicating that the game medium has entered the start winning opening, and a winning game state (such as a big hit gaming state or a probable game state) have occurred. The winning game information indicating the number of winning balls to be paid out from the payout device, etc. are stored. The unique identification information typically includes a circuit or element used in a gaming machine, for example, a processing means, a lottery means, a hit determination random number generation means, an initial value random number generation means, and a storage means. Identification information (manufacturing number, etc.) of the IC chip being used is used. ROM or RAM is used as the storage means. Typically, the storage means includes a RAM for storing information that changes during the game, such as game information, a winning determination random number, and an initial value random number, and a ROM for storing fixed information such as operation programs and unique identification information. Consists of.
The hit determination random number generating means generates the hit determination random number from the first initial value within the first range between the first value and the second value to the direction from the first value to the second value. In addition, a process of sequentially updating (generating) each first update value over one period within the first range is executed while updating the first initial value every period. Typically, the hit determination random number generation means is configured as a hit determination counter that sequentially counts (updates) the first update value from the first initial value over one period within the first range, The random number for hit determination stored in the storage means is represented by a count value for hit determination that is sequentially counted (updated) within the first range by the first update value from the first initial value. The first value, the second value, the first update value, and the update direction (count direction) can be selected as appropriate. As the first update value and the update direction, “1” and the addition direction are typically used. “One period within the first range” means a range from the first value to the second value when the first initial value is the first value, and the first initial value is When it is a value other than the first value, it is updated (counted) from the first initial value in the direction of the second value, and when it reaches the second value, the update (count) is continued from the first value. , Means a range up to a value immediately before the first initial value (for example, [first initial value-1]). As a method of updating the first initial value of the hit determination random number, for example, a method of setting the initial value random number stored in the storage means as the first initial value of the hit determination random number is used.
The initial value random number generating means generates the initial value random number from the initial value in the second range between the third value and the fourth value, in increments of the second updated value within the second range. A process of updating sequentially (a process of generating) is executed. The second range is set from the first range. That is, the third value and the fourth value are selected from the first range. Of course, the first value and the second value may be set as the third value and the fourth value, and the second range may be matched with the first range. Typically, the initial value random number generating means is configured as an initial value counter that sequentially updates the second value from the second value by the second update value within the second range. It is represented by a count value for initial value that is sequentially counted (updated) within the second range from the initial value by the second update value. The second initial value can be set as appropriate, but typically, the initial value random number initial value (for example, set in the initial value random number storage area of the storage unit when the storage unit is initialized (for example, , “0”). The second update value and the update direction can be set as appropriate, but typically, “1” and the addition direction are used. The update interval of the initial value random number generation means is set shorter than the update interval of the hit determination random number generation means. Thus, when the initial value random number is used as the first initial value of the hit determination random number for each cycle of the hit determination random number (when the initial value update type hit determination random number is used), for the hit determination The random number changes randomly.
When the gaming machine has a plurality of winning game states, a plurality of winning determination random number generation means for generating a plurality of winning determination random numbers and a plurality of winning determination random numbers are used. For example, depending on the result of a lottery performed due to a game ball entering a start winning opening, a big hit gaming state in which a big winning opening opening / closing member that opens / closes the big winning opening is controlled or opened / closed, and a big win gaming state In a pachinko machine that generates a probabilistic gaming state that has a higher probability of occurrence of a big hit gaming state than normal, depending on the winning symbol used when displaying the occurrence on the display device, the jackpot gaming state is set as a random number for the hit determination. A jackpot determination random number for determining whether or not to generate (a lottery) and a winning symbol determination random number for determining whether or not to generate a probability variation gaming state (a lottery) are used. As the random number generating means, a jackpot determining random number generating means and a winning symbol determining random number generating means are used. Further, a plurality of hit initial value random numbers and hit initial value random number generating means can be used corresponding to each of a plurality of hit determination random numbers.
The random number generation means generates a random number based on the unique identification information stored in the storage means. The random number generation means generates a known random number such as an M-sequence random number.
The lottery means executes a lottery process for acquiring a winning determination random number stored in the storage means and comparing it with a set value (winning value) due to establishment of the lottery condition. As a lottery condition, for example, in a pachinko machine, a condition in which a start winning ball signal indicating that a game ball has entered a start winning opening is used.
The processing means generates a winning gaming state advantageous to the player when the lottery result of the lottery means indicates that the winning determination random number matches the set value (that it is a winning). The winning gaming state advantageous to the player is appropriately set according to the gaming machine.
The processing means executes a power failure process when a power failure detection signal indicating that a power failure has occurred is input. In the power failure process, a process of generating determination information based on game information stored in the storage circuit and storing it in the storage circuit is executed. As the determination information, for example, a checksum value such as game information stored in the storage circuit is used. On the other hand, when drive power is supplied to the processing means, a return process is executed. In the return process, it is determined whether or not the game information and the like stored in the storage unit is normal based on the determination information stored in the storage unit. For example, by calculating a checksum value such as game information stored in the storage means, and comparing the calculated checksum value and the checksum value stored in the storage means and calculated in the previous power failure process Then, it is determined whether or not the game information stored in the storage means is normal. When it is determined that the game information stored in the storage means is normal, the game is resumed based on the game information stored in the storage means, and the game information stored in the storage means If it is determined that there is an abnormality, the storage means is initialized, and the game is started based on the initial values such as game information.
Further, in the present invention, when the storage means is initialized by the processing means , the initial value random number generation means starts the process of updating the initial value random number when the storage means is initialized. Further, the hit determination random number generation means, when the storage means is initialized by the processing means, is a period determined based on the random number generated by the random number generation means from the time when the storage means is initialized. There upon expiration, starts the process of updating the hit determining random number while updating using the random number initial value a first initial value for each period.
The voltage conversion means converts the voltage of the power supplied from the power supply means (power supply board) to the control board into a voltage corresponding to the voltage of the drive power of the processing means provided on the control board. As the voltage conversion means, for example, a switching circuit or a three-terminal regulator that converts a DC12V power source into a DC5V power source is used.
The power failure detection means outputs a power failure detection signal indicating that a power failure has occurred when it is detected that the power supplied from the power supply means (power supply board) to the control board is decreasing. As a method of detecting that the power supplied to the control board is reduced, for example, a method of detecting that the voltage of the DC12V power supply supplied to the control board is lower than the power failure detection set value is used. Can do. The power failure detection set value is a value at which the voltage of the electric power supplied from the voltage conversion means is kept higher than the operating voltage of the processing means until the processing means completes the power failure processing after the power failure detection signal is output from the power failure detection means. Set to
In the present invention, the voltage of the power supplied to the control board is converted by the voltage conversion means provided on the control board into a voltage corresponding to the voltage of the driving power of the processing means provided on the control board. Yes. This eliminates the need to connect a power line for supplying driving power (power having a voltage corresponding to the driving power) to the control board. For this reason, the power line supplying the driving power such as the processing means can be short-circuited for a short period of time to prevent the injustice to initialize the storage means.
Moreover, since the power failure detection means is provided on the control board, it is not necessary to connect a signal line for transmitting a power failure detection signal to the control board. For this reason, it is possible to prevent the illegality of initializing the storage means by shutting off the supply of drive power to the processing means for a certain period while the signal line for transmitting the power failure detection signal is short-circuited or disconnected. it can.
Further, since the initial value of the hit determination random number for determining to generate a win game state advantageous to the player is updated for each cycle of the hit determination random number, the hit determination random number is set to the set value ( It is difficult to predict the point in time that coincides with the hit value. In addition, when the storage unit is initialized, the process of updating the initial value random number is started at the time when the storage unit is initialized, and the random number generation unit starts from the time when the storage unit is initialized. when the period determined based on the generated and has a random number has elapsed, it has started determining random number update processing per by hitting determination random number generating means (generation processing). Further, the random number generated by the random number generation means is based on unique identification information unique to each gaming machine. For this reason, even when the storage means is illegally initialized, after the storage means is initialized, the hit determination random number coincides with the set value (win value) (the hit determination after the storage means is initialized). It is very difficult to predict the period until the random number for use matches the set value. Therefore, it is possible to reliably prevent an illegal game in which the point in time when the hit determination random number matches the set value (win value).

本発明を用いることにより、電源基板にバックアップ電源が設けられている場合でも、不正な遊技を防止することができる。   By using the present invention, even if a backup power supply is provided on the power supply board, illegal games can be prevented.

以下に、本発明の実施の形態を、図面を参照して説明する。
本発明の第1の実施の形態の要部の構成を図1に示す。本実施の形態は、本発明をパチンコ機として構成したものである。
本実施の形態は、電源基板10と、主制御基板20を有している。なお、図1には示されていないが、本実施の形態のパチンコ機は、主制御基板20以外の種々の基板や遊技用機器を有している。
電源基板10は、本発明の「電源基板」に対応し、主制御基板20は、本発明の「制御基板」に対応する。
電源基板10には、遊技機内の制御回路や遊技用機器等に電力を供給する電源回路11が設けられている。電源回路11としては、交流電力を直流電力に変換するAC/DC変換回路が用いられている。本実施の形態では、電源回路11は、電源基板10の端子10aに供給されたAC24V電力をDC34V電力、DC12V電力に変換する。
電源回路11は、本発明の「電源手段」に対応する。
ここで、制御回路や記憶回路の駆動電力であるDC5V電力を電源基板10から各制御基板に供給するためには、DC5V電力を供給する電力線を電源基板10や各制御基板に接続する必要がある。DC5V電力は電圧が低いため、電力線による電圧降下や、電力線に混入したノイズによる影響が大きい。また、電源基板10や各制御基板に接続されているDC5V電力を供給する電力線が単期間短絡された場合、各制御基板に配設されている制御回路は、停電処理を実行することなく動作を停止した後、復帰処理を行う。この場合、停電処理が行われていないため、制御回路は、記憶回路を初期化する。このように、電源基板10や各制御基板にDC5V電力を供給する電力線が接続されていると、この電力線を単期間短絡させて記憶回路を初期化させる不正が行われる虞がある。
そこで、本実施の形態では、電力線による電圧降下や電力線に混入したノイズによる影響が少なく、不正が行われ難いDC34V電力とDC12V電力を電源基板10から各制御基板に供給している。例えば、電源回路11で変換されたDC34V電力は、電源基板10の端子10b、電力線L1を介して主制御基板20の端子20aに供給され、DC12V電力は、電源基板10の端子10c、電力線L2を介して主制御基板20の端子20bに供給されている。
Embodiments of the present invention will be described below with reference to the drawings.
The structure of the principal part of the 1st Embodiment of this invention is shown in FIG. In the present embodiment, the present invention is configured as a pachinko machine.
The present embodiment has a power supply board 10 and a main control board 20. Although not shown in FIG. 1, the pachinko machine according to the present embodiment has various boards other than the main control board 20 and gaming equipment.
The power supply board 10 corresponds to the “power supply board” of the present invention, and the main control board 20 corresponds to the “control board” of the present invention.
The power supply board 10 is provided with a power supply circuit 11 for supplying power to a control circuit in the gaming machine, gaming equipment, and the like. As the power supply circuit 11, an AC / DC conversion circuit that converts AC power into DC power is used. In the present embodiment, the power supply circuit 11 converts AC24V power supplied to the terminal 10a of the power supply board 10 into DC34V power and DC12V power.
The power supply circuit 11 corresponds to “power supply means” of the present invention.
Here, in order to supply DC5V power, which is driving power of the control circuit and the storage circuit, from the power supply board 10 to each control board, it is necessary to connect a power line for supplying DC5V power to the power supply board 10 and each control board. . Since DC5V power has a low voltage, it is greatly affected by a voltage drop caused by the power line and noise mixed in the power line. In addition, when a power line for supplying DC 5V power connected to the power supply board 10 or each control board is short-circuited for a single period, the control circuit disposed on each control board operates without performing a power failure process. After stopping, return processing is performed. In this case, since the power failure process is not performed, the control circuit initializes the memory circuit. As described above, if a power line for supplying DC 5V power is connected to the power supply board 10 or each control board, there is a risk that the power line is short-circuited for a single period to improperly initialize the memory circuit.
Therefore, in the present embodiment, DC 34V power and DC 12V power that are less affected by voltage drop due to the power line and noise mixed in the power line and that are difficult to perform fraud are supplied from the power supply board 10 to each control board. For example, the DC 34V power converted by the power circuit 11 is supplied to the terminal 20a of the main control board 20 via the terminal 10b and the power line L1 of the power board 10, and the DC 12V power is supplied to the terminal 10c and the power line L2 of the power board 10. To the terminal 20b of the main control board 20.

また、停電時(主制御回路31等への駆動電力の供給が遮断されている時)には、停電が復旧した後(復電後)に停電前の状態から遊技を再開できるように、RAM33に記憶されている遊技情報等を保持させるためのバックアップ電力を供給する必要がある。本実施の形態では、電源基板10に、バックアップ電力を供給するためのバックアップコンデンサ12が設けられている。バックアップコンデンサ12は、電源回路11から電力が供給されている状態において、主制御基板20に設けられている電圧変換回路21で変換されたDC5V電力がダイオード24、電力線パターンm3、主制御基板20の端子20e、電力線L3、電源基板の端子10dを介して供給されることによって充電される。
バックアップコンデンサ12は、本発明の「バックアップ電源」に対応する。
前述したように、制御基板にバックアップ電源を設けた場合には、制御基板を遊技機から取り外し、制御基板に設けられている記憶回路に記憶されている遊技情報を不正に書き替えた後に遊技機に取り付ける不正が行われる虞がある。本実施の形態では、バックアップ電力を供給するバックアップコンデンサ12を電源基板10に設けている。このため、例えば、主制御基板20を遊技機から取り外した場合には、記憶回路(RAM33)に駆動電力が供給されなくなり、記憶回路(RAM33)に対するこのような不正が行われるのを防止することができる。
Further, in the event of a power failure (when the supply of drive power to the main control circuit 31 or the like is interrupted), the RAM 33 is configured so that the game can be resumed from the state before the power failure after the power failure is restored (after power recovery). It is necessary to supply backup power for holding game information and the like stored in the game. In the present embodiment, the power supply substrate 10 is provided with a backup capacitor 12 for supplying backup power. In the state in which the power is supplied from the power supply circuit 11, the backup capacitor 12 is configured such that the DC5V power converted by the voltage conversion circuit 21 provided in the main control board 20 is converted to the diode 24, the power line pattern m 3, and the main control board 20. The battery is charged by being supplied through the terminal 20e, the power line L3, and the terminal 10d of the power supply board.
The backup capacitor 12 corresponds to the “backup power supply” of the present invention.
As described above, when a backup power supply is provided on the control board, the control board is removed from the gaming machine, and the gaming information stored in the storage circuit provided on the control board is illegally rewritten, and then the gaming machine There is a risk of fraudulent attachment. In the present embodiment, a backup capacitor 12 that supplies backup power is provided on the power supply substrate 10. For this reason, for example, when the main control board 20 is removed from the gaming machine, the driving power is not supplied to the memory circuit (RAM 33), and it is possible to prevent such a fraud from being performed on the memory circuit (RAM 33). Can do.

主制御基板20には、電圧変換回路21、停電検出回路22、RAMクリアスイッチ23、ダイオード24、主制御回路31、ROM32、RAM33、乱数生成回路34等が設けられている。なお、本実施の形態では、主制御回路31、ROM32、RAM33、乱数生成回路34は、一体化された主制御回路IC30として構成されている。主制御基板20には、これ以外の素子や回路が設けられている。
また、主制御基板20には、端子20a〜20gが設けられている。電源基板10の端子10b、10cと主制御基板20の端子20a、20bの間には、DC34V電力を供給するためのDC34V電力線L1、DC12V電力を供給するためのDC12V電力線L2が接続されている。端子20aと端子20cの間には、DC34V電力を供給するための電力線パターンm1が設けられており、端子20bと端子20dの間には、DC12V電力を供給するための電力線パターンm2が設けられている。電力線パターンm1、m2から、主制御基板20に設けられているDC34V負荷、DC12V負荷にDC34V電力、DC12V電力が供給される。主制御基板10の端子20fには種々の信号(例えば、始動入賞球信号)が入力される。端子20fに入力された信号は、主制御回路IC30の端子30cを介して主制御回路31に入力される。主制御回路31からの信号(例えば、主コマンド信号や駆動信号等の主制御信号)は、主制御回路IC30の端子30d、主制御基板10の端子20gを介して出力される。
The main control board 20 is provided with a voltage conversion circuit 21, a power failure detection circuit 22, a RAM clear switch 23, a diode 24, a main control circuit 31, a ROM 32, a RAM 33, a random number generation circuit 34, and the like. In the present embodiment, the main control circuit 31, the ROM 32, the RAM 33, and the random number generation circuit 34 are configured as an integrated main control circuit IC30. The main control board 20 is provided with other elements and circuits.
The main control board 20 is provided with terminals 20a to 20g. A DC34V power line L1 for supplying DC34V power and a DC12V power line L2 for supplying DC12V power are connected between the terminals 10b, 10c of the power supply board 10 and the terminals 20a, 20b of the main control board 20. A power line pattern m1 for supplying DC 34V power is provided between the terminals 20a and 20c, and a power line pattern m2 for supplying DC 12V power is provided between the terminals 20b and 20d. Yes. From the power line patterns m1 and m2, DC34V power and DC12V power are supplied to the DC34V load and DC12V load provided on the main control board 20. Various signals (for example, a start winning ball signal) are input to the terminal 20f of the main control board 10. The signal input to the terminal 20f is input to the main control circuit 31 via the terminal 30c of the main control circuit IC30. Signals from the main control circuit 31 (for example, main control signals such as a main command signal and a drive signal) are output via the terminal 30d of the main control circuit IC30 and the terminal 20g of the main control board 10.

電圧変換回路21は、DC12V電力を、主制御回路31やRAM33等の駆動電力として用いられるDC5V電力に変換する。電圧変換回路21としては、例えば、スイッチングレギュレータや3端子レギュレータが用いられる。
電圧変換回路21は、本発明の「電圧変換手段」に対応する。
電圧変換回路21で変換されたDC5V電力は、ダイオード24、電力線パターンm3を介して主制御回路IC30の端子30bに供給される。また、主制御基板20の端子20eと電源基板10の端子10dの間に接続されている電力線L3を介して、電源基板10に設けられているバックアップコンデンサ12にも供給されている。
The voltage conversion circuit 21 converts DC 12V power into DC 5V power used as drive power for the main control circuit 31, the RAM 33, and the like. For example, a switching regulator or a three-terminal regulator is used as the voltage conversion circuit 21.
The voltage conversion circuit 21 corresponds to “voltage conversion means” of the present invention.
The DC5V power converted by the voltage conversion circuit 21 is supplied to the terminal 30b of the main control circuit IC30 via the diode 24 and the power line pattern m3. Further, it is also supplied to the backup capacitor 12 provided on the power supply board 10 through the power line L3 connected between the terminal 20e of the main control board 20 and the terminal 10d of the power supply board 10.

停電検出回路22は、主制御基板20に供給される電力が低下したことを検出して停電検出信号(「停電予告信号」と呼ばれることもある)を出力する。本実施の形態では、電力が低下したことを電力の電圧が低下したことによって検出している。例えば、停電検出回路22は、電圧変換回路21に供給されるDC12V電力の電圧が停電検出設定値以下に低下したことを検出して、主制御基板20に供給される電力の電圧(すなわち、主制御回路31やRAM33に供給する駆動電力の電圧)が低下したことを示す停電検出信号を出力する。停電検出信号は、主制御回路IC30の端子30aを介して主制御回路31に入力される。
停電検出回路22は、本発明の「停電検出手段」に対応する。
ここで、前述したように、主制御回路31への駆動電力の供給が停止される場合には、主制御回路31に停電処理を実行させる必要がある。このため、停電検出設定値としては、停電等によって主制御基板20に供給されるDC12V電力が低下し、停電検出回路22から停電検出信号が出力されてから主制御回路31が停電処理を実行するまでの期間、電圧変換回路21から供給されるDC5V電力の電圧が、主制御回路31やRAM33が動作可能な電圧(例えば、5Vの駆動電力を用いる主制御回路31に対しては4.75V)以上に保持されるように設定される。
The power failure detection circuit 22 detects that the power supplied to the main control board 20 has decreased, and outputs a power failure detection signal (sometimes referred to as a “power failure warning signal”). In the present embodiment, a decrease in power is detected by a decrease in power voltage. For example, the power failure detection circuit 22 detects that the voltage of the DC 12V power supplied to the voltage conversion circuit 21 has dropped below the power failure detection set value, and the voltage of the power supplied to the main control board 20 (that is, the main power detection circuit 22). A power failure detection signal indicating that the voltage of the driving power supplied to the control circuit 31 and the RAM 33 has decreased is output. The power failure detection signal is input to the main control circuit 31 via the terminal 30a of the main control circuit IC30.
The power failure detection circuit 22 corresponds to the “power failure detection means” of the present invention.
Here, as described above, when the supply of the drive power to the main control circuit 31 is stopped, it is necessary to cause the main control circuit 31 to execute a power failure process. For this reason, as the power failure detection set value, the DC 12V power supplied to the main control board 20 due to a power failure or the like decreases, and the power failure detection signal is output from the power failure detection circuit 22, and the main control circuit 31 executes the power failure process. The voltage of DC5V power supplied from the voltage conversion circuit 21 is a voltage at which the main control circuit 31 and the RAM 33 can operate (for example, 4.75V for the main control circuit 31 using 5V drive power). It is set to be held as described above.

RAMクリアスイッチ23は、RAM33を初期化する際に用いられる。RAMクリアスイッチ23が操作されると、初期化指示信号が主制御回路IC30の端子30eを介して主制御回路31に入力される。
RAMクリアスイッチ23は、本発明の「初期化指示手段」に対応する。
本実施の形態では、停電等が発生して停電検出信号が入力された場合には、バックアップコンデンサ13からバックアップ電力を主制御回路用IC30に供給することによって、停電発生時にRAM33に記憶されている遊技情報を保持させている。そして、停電が復旧した時(復電時)に、RAM33に記憶されている遊技情報に基づいて、停電発生時の遊技状態から遊技を再開させている。
しかしながら、遊技店の開店時等では、各遊技機の制御基板に設けられているRAMを初期化し、初期値の遊技情報から遊技を開始させる必要がある場合がある。RAMクリアスイッチ23は、このように、主制御基板20に設けられているRAM33を強制的に初期化する場合に用いられる。例えば、RAM33を初期化する場合には、RAMクリアスイッチ23を操作(オン)した状態で、遊技機の電源スイッチを投入する。主制御回路31(処理手段31a)は、RAMクリアスイッチ23が操作されている状態(初期化指示信号が入力されている状態)で駆動電力が供給された場合には、RAM33を強制的に初期化する。
The RAM clear switch 23 is used when the RAM 33 is initialized. When the RAM clear switch 23 is operated, an initialization instruction signal is input to the main control circuit 31 via the terminal 30e of the main control circuit IC30.
The RAM clear switch 23 corresponds to “initialization instruction means” of the present invention.
In the present embodiment, when a power failure occurs and a power failure detection signal is input, backup power is supplied from the backup capacitor 13 to the main control circuit IC 30 and stored in the RAM 33 when the power failure occurs. Game information is held. When the power failure is restored (when power is restored), the game is resumed from the gaming state at the time of the power failure based on the game information stored in the RAM 33.
However, when the game store is opened, it may be necessary to initialize the RAM provided on the control board of each gaming machine and start the game from the game information of the initial value. The RAM clear switch 23 is used when forcibly initializing the RAM 33 provided on the main control board 20 as described above. For example, when the RAM 33 is initialized, the power switch of the gaming machine is turned on with the RAM clear switch 23 operated (ON). The main control circuit 31 (the processing unit 31a) forcibly initializes the RAM 33 when the driving power is supplied in a state where the RAM clear switch 23 is operated (a state where the initialization instruction signal is input). Turn into.

主制御回路31は、CPUにより構成されている。主制御回路31は、ROM32に記憶されている動作プログラムやRAM33に記憶されている遊技情報等に基づいて動作し、処理手段31a、抽選手段31b、当たり判定用乱数生成手段31c、当たり初期値用乱数生成手段31dの処理を実行する。すなわち、本実施の形態は、処理手段31a、抽選手段31b、当たり判定用乱数生成手段31c、当たり初期値用乱数生成手段31dを有している。各手段の動作については後述する。
処理手段31aは、本発明の「処理手段」に対応し、抽選手段31bは、本発明の「抽選手段」に対応し、当たり判定用乱数生成手段31cは、本発明の「当たり判定用乱数生成手段」に対応し、当たり初期値用乱数生成手段31dは、本発明の「初期値用乱数生成手段」に対応する。
The main control circuit 31 is constituted by a CPU. The main control circuit 31 operates based on an operation program stored in the ROM 32, game information stored in the RAM 33, and the like. The processing means 31a, the lottery means 31b, the hit determination random number generating means 31c, and the hit initial value The process of the random number generation means 31d is executed. That is, the present embodiment includes processing means 31a, lottery means 31b, hit determination random number generation means 31c, and hit initial value random number generation means 31d. The operation of each means will be described later.
The processing means 31a corresponds to the “processing means” of the present invention, the lottery means 31b corresponds to the “lottery means” of the present invention, and the hit determination random number generation means 31c Corresponding to “means”, the initial value random number generating means 31d corresponds to “initial value random number generating means” of the present invention.

ROM32は、主制御回路31の各手段の動作プログラム、固有識別情報(固有ID)32a等が記憶されている。固有識別情報としては、遊技機に固有な識別情報、例えば、遊技機に設けられている素子や回路の識別情報が用いられる。本実施の形態では、主制御基板30に設けられている、ROM32が一体に成形されている主制御回路IC30の識別情報(例えば、製造時に付与される主制御回路IC30毎の製造番号)が用いられている。
ROM33に記憶されている主制御回路IC30の識別情報は、本発明の「遊技機毎に固有な固有識別情報」に対応する。
The ROM 32 stores an operation program for each unit of the main control circuit 31, unique identification information (unique ID) 32a, and the like. As the unique identification information, identification information unique to the gaming machine, for example, identification information of an element or a circuit provided in the gaming machine is used. In the present embodiment, identification information of the main control circuit IC 30 provided on the main control board 30 and integrally formed with the ROM 32 (for example, a manufacturing number for each main control circuit IC 30 given at the time of manufacture) is used. It has been.
The identification information of the main control circuit IC 30 stored in the ROM 33 corresponds to “unique identification information unique to each gaming machine” of the present invention.

RAM33には、遊技に伴って変化する遊技情報や主制御回路31の各手段の動作情報、当たり判定用乱数33a、当たり初期値用乱数33bが記憶される。当たり判定用乱数33aおよび当たり初期値用乱数33bは、それぞれ、RAM33の当たり判定用乱数記憶領域および当たり初期値用記憶領域に記憶される。
遊技に伴って変化する遊技情報としては、例えば、遊技球が始動入賞口に入球したことを示す始動入賞球信号の数、遊技球が入賞口に入球したことを示す入賞球信号(例えば、普通入賞口に入球したことを示す普通入賞球信号、大入賞口に入球したことを示す大入賞球信号)の数、払出装置に払い出しを指示した賞球数、大当たり遊技状態が発生していることを示す大当たり遊技情報等が記憶される。
当たり判定用乱数33aは、遊技者に有利な当たり遊技状態を発生させるか否かを決定する(抽選する)ために用いられる。本実施の形態では、当たり判定用乱数33aとして、初期値更新型の当たり判定用カウント値を用いている。すなわち、当たり判定用乱数33aは、第1の値と第2の値の間の範囲内(以下、「第1の範囲内」という)の初期値(以下、「第1の初期値」という)から、第1の値から第2の値の方向に第1の更新値ずつ第1の範囲内の1周期(1サイクル)に亘って、1周期毎に第1の初期値が更新されながら、順次更新される。第1の更新値と更新方向は、適宜設定可能である。例えば、当たり判定用乱数33aは、第1の値「0」と第2の値「299」の第1の範囲内の第1の初期値から、第1の範囲内の1周期に亘って第1の更新値「1」ずつ順次加算される(更新方向が加算方向)カウント値で表される。この場合、第1の範囲内の1周期(1サイクル)は、第1の範囲内の第1の初期値から、第1の更新値「1」を加算する処理(更新処理)を「300」回行うまでの範囲である。なお、1周期(1サイクル)内で第2の値「299」に達すると、第1の値「0」に戻ってカウント(更新)が継続される。
当たり初期値用乱数33bは、当たり判定用乱数33aの1周期(1サイクル)毎の第1の初期値を決定するために用いられる。本実施の形態では、当たり初期値用乱数33bとして、初期値用カウント値を用いている。すなわち、当たり初期値用乱数33bは、第3の値と第4の値の間の範囲内(以下、「第2の範囲内」という)の初期値(以下、「第2の初期値」という)から、第3の値から第4の値の方向に第2の更新値ずつ第2の範囲に亘って順次更新される。第2の範囲は、第1の範囲に含まれるように(第3の値と第4の値が第1の範囲内の値となるように)設定される。好適には、第2の範囲は、第1の範囲と同じ範囲(第3の値および第4の値が第1の値および第2の値と等しい)に設定される。第2の更新値と更新方向は、適宜設定可能である。例えば、当たり初期値用乱数33bは、第3の値「0」(=第1の値)と第4の値「299」(=第2の値)の第2の範囲(=第1の範囲)内の第2の初期値から、第2の範囲に亘って第2の更新値「1」(=第1の更新値)ずつ順次加算される(更新方向が加算方向)カウント値で表される。なお、第4の値「299」に達すると、第1の値「0」に戻って更新される。また、当たり初期値用乱数33bの第2の初期値としては、適宜選択可能であるが、RAM33が初期化された時に、RAM33の当たり初期値用乱数記憶領域に設定される初期値(例えば「0」)を用いるのが好ましい。
The RAM 33 stores game information that changes with the game, operation information of each means of the main control circuit 31, a hit determination random number 33a, and a hit initial value random number 33b. The hit determination random number 33a and the hit initial value random number 33b are stored in the hit determination random number storage area and the hit initial value storage area of the RAM 33, respectively.
The game information that changes with the game includes, for example, the number of start winning ball signals indicating that a game ball has entered the start winning port, and a winning ball signal indicating that the game ball has entered the winning port (for example, , The number of normal winning ball signals indicating that the player has entered the normal winning opening, the number of winning balls signal indicating that the player has entered the big winning port, the number of winning balls instructing the payout device to be paid out, and the jackpot game state The jackpot game information indicating that the player is playing is stored.
The winning determination random number 33a is used to determine (lottery) whether or not to generate a winning gaming state advantageous to the player. In the present embodiment, an initial value update type hit determination count value is used as the hit determination random number 33a. That is, the hit determination random number 33a is an initial value (hereinafter referred to as “first initial value”) within a range between the first value and the second value (hereinafter referred to as “first range”). From the first value to the second value in the direction of the first update value, the first initial value is updated every period over one period (one cycle) in the first range, It is updated sequentially. The first update value and the update direction can be set as appropriate. For example, the random number for hit determination 33a is calculated from the first initial value within the first range of the first value “0” and the second value “299” over the first period within the first range. Each update value “1” is incremented one by one (the update direction is the addition direction). In this case, in one cycle (one cycle) in the first range, the process (update process) of adding the first update value “1” from the first initial value in the first range is “300”. It is the range until it performs. When the second value “299” is reached within one period (one cycle), the count returns to the first value “0” and the count (update) is continued.
The winning initial value random number 33b is used to determine a first initial value for each period (one cycle) of the winning determination random number 33a. In the present embodiment, an initial value count value is used as the winning initial value random number 33b. That is, the hit initial value random number 33b is an initial value (hereinafter referred to as “second initial value”) within a range between the third value and the fourth value (hereinafter referred to as “second range”). ) To the fourth value in the direction from the third value to the fourth value sequentially over the second range. The second range is set so as to be included in the first range (so that the third value and the fourth value are values within the first range). Preferably, the second range is set to the same range as the first range (the third value and the fourth value are equal to the first value and the second value). The second update value and the update direction can be set as appropriate. For example, the hit initial value random number 33b is a second range (= first range) of the third value “0” (= first value) and the fourth value “299” (= second value). ), The second update value “1” (= first update value) is sequentially added from the second initial value over the second range (the update direction is the addition direction). The When the fourth value “299” is reached, the first value “0” is restored and updated. The second initial value of the hit initial value random number 33b can be selected as appropriate. When the RAM 33 is initialized, an initial value set in the hit initial value random number storage area of the RAM 33 (for example, “ 0 ") is preferred.

なお、パチンコ機が複数の当たり遊技状態を有している場合には、RAM33には複数の当たり判定用乱数33aが記憶される。例えば、大入賞口を開閉する大入賞口開閉部材を開制御あるいは開閉制御する大当たり遊技状態と、大当たり遊技状態が発生することを表示装置に表示する際に用いる当たり図柄によって、大当たり遊技状態が発生する確率が通常時に比べて高い確変遊技状態を発生させる場合には、当たり判定用乱数33aとして、大当たり遊技状態を発生させるか否かを決定する(抽選する)ための大当たり判定用乱数と、確変遊技状態を発生させるか否かを決定する(抽選する)ための当たり図柄判定用乱数が記憶される。
また、複数の当たり判定用乱数33aをRAM33に記憶する場合、複数の当たり判定用乱数33aそれぞれに対応する当たり初期値用乱数をRAM33に記憶することもできる。
当たり判定用乱数33aは、本発明の「当たり判定用乱数」に対応し、当たり初期値用乱数33bは、本発明の「初期値用乱数」に対応する。また、ROM32とRAM33は、本発明の「記憶手段」に対応する。
If the pachinko machine has a plurality of hit gaming states, the RAM 33 stores a plurality of hit determination random numbers 33a. For example, the jackpot gaming state occurs depending on the jackpot gaming state for opening or closing the jackpot opening / closing member that opens / closes the jackpot and the winning symbol used when displaying that the jackpot gaming state occurs on the display device In the case of generating a probability variation gaming state with a higher probability than normal, the jackpot determination random number 33a for determining whether to generate a jackpot gaming state (lottery) or not A random number for determining a winning symbol for determining whether or not to generate a gaming state (lottery) is stored.
When a plurality of hit determination random numbers 33 a are stored in the RAM 33, hit initial value random numbers corresponding to the plurality of hit determination random numbers 33 a can be stored in the RAM 33.
The hit determination random number 33a corresponds to the “hit determination random number” of the present invention, and the hit initial value random number 33b corresponds to the “initial value random number” of the present invention. The ROM 32 and the RAM 33 correspond to “storage means” of the present invention.

乱数生成回路34は、ROM32に記憶されている遊技機毎に固有な固有識別情報32aに基づいて(固有識別情報を初期値として)乱数を生成する。乱数生成回路34としては、M系列乱数等の公知の乱数を生成する乱数生成回路を用いることができる。
ここで、後述するように、乱数生成回路34で生成されている乱数は、RAM33が初期化されてから当たり判定用乱数33aの生成処理が開始されるまでの期間(開始期間T)や、RAM33が初期化された直後の(1サイクル目の)当たり判定用乱数の第1の初期値(開始値S)を決定する際に用いられる。このため、乱数生成回路34で生成されている乱数を用いて当たり判定用乱数33aの生成処理(更新処理)を開始する開始期間Tや当たり判定用乱数33aの1サイクル目の開始値Sを容易に決定することができるように構成するのが好ましい。例えば、乱数生成回路34で生成される乱数の変化範囲が当たり判定用乱数33aの変化範囲と同じとなるように設定可能に構成する。あるいは、乱数生成回路34で生成されている乱数を当たり判定用乱数33aの生成処理(更新処理)を開始する開始期間Tや当たり判定用乱数33aの1サイクル目の開始値Sに変換する方法を設定する。
なお、乱数生成回路34での乱数生成周期(乱数更新周期)は、適宜設定可能である。
The random number generation circuit 34 generates a random number based on the unique identification information 32a unique to each gaming machine stored in the ROM 32 (with the unique identification information as an initial value). As the random number generation circuit 34, a random number generation circuit that generates a known random number such as an M-sequence random number can be used.
Here, as will be described later, the random number generated by the random number generation circuit 34 is the period from the initialization of the RAM 33 to the start of the process of generating the hit determination random number 33a (start period T), the RAM 33 Is used when determining the first initial value (start value S) of the random number for determination immediately after (initial cycle). Therefore, the start period T for starting the generation process (update process) of the hit determination random number 33a using the random number generated by the random number generation circuit 34 and the start value S of the first cycle of the hit determination random number 33a are easily set. It is preferable to configure so that it can be determined as follows. For example, the change range of the random number generated by the random number generation circuit 34 is configured to be set so as to be the same as the change range of the hit determination random number 33a. Alternatively, a method of converting the random number generated by the random number generation circuit 34 into a start period T for starting generation processing (update processing) of the hit determination random number 33a or a start value S of the first cycle of the hit determination random number 33a. Set.
The random number generation cycle (random number update cycle) in the random number generation circuit 34 can be set as appropriate.

主制御回路31の各手段を説明する。
当たり判定用乱数生成手段31cは、RAM33に記憶される当たり判定用乱数33aを生成する。本実施の形態では、当たり判定用乱数生成手段31cとして初期値更新型の当たり判定用カウンタを用いている。すなわち、当たり判定用乱数生成手段31cは、第1の範囲内の第1の初期値から、第1の値から第2の値の方向に第1の更新値ずつ第1の範囲内の1周期(1サイクル)に亘って、1周期毎に第1の初期値を更新しながら、順次更新することによって当たり判定用乱数33aを生成している。第1の更新値と更新方向は、適宜設定可能である。なお、当たり判定用乱数生成手段31cは、1サイクル毎に、RAM33に記憶されている初期値用乱数33bを当たり判定用乱数33aの第1の初期値として用いる。
本実施の形態では、当たり判定用乱数生成手段31cによる当たり判定用乱数の更新処理は、処理手段31aのメイン処理内のタイマ割り込み周期(例えば、4ms)毎のタイマ割り込み処理内で行われる。
Each means of the main control circuit 31 will be described.
The hit determination random number generation means 31 c generates a hit determination random number 33 a stored in the RAM 33. In this embodiment, an initial value update type hit determination counter is used as the hit determination random number generating means 31c. That is, the random number generator 31c for hit determination determines one cycle in the first range from the first initial value in the first range by the first updated value in the direction from the first value to the second value. The random number 33a for hit determination is generated by sequentially updating the first initial value every cycle over (one cycle). The first update value and the update direction can be set as appropriate. The hit determination random number generating means 31c uses the initial value random number 33b stored in the RAM 33 as the first initial value of the hit determination random number 33a for each cycle.
In the present embodiment, the hit determination random number generation unit 31c performs the hit determination random number update process in the timer interrupt process for each timer interrupt period (for example, 4 ms) in the main process of the processing unit 31a.

初期値用乱数生成手段31dは、RAM33に記憶される当たり初期値用乱数33bを生成する。本実施の形態では、当たり初期値用乱数生成手段31dとして当たり初期値用カウンタを用いている。すなわち、当たり初期値用乱数生成手段31dは、第3の値と第4の値の間の第2の範囲内の第2の初期値から、第3の値から第4の値の方向に第2の更新値ずつ第2の範囲に亘って順次更新することによって当たり初期値用乱数33bを生成している。第2の更新値と更新方向は、適宜設定可能である。
本実施の形態では、当たり初期値用乱数生成手段31dによる当たり初期値用乱数33bの更新処理は、処理手段31aのメイン処理内および処理手段31aのメイン処理内のタイマ割り込み周期(例えば、4ms)毎のタイマ割り込み処理内で行われる。
当たり判定用乱数33aの更新処理を処理手段31aのメイン処理内のタイマ割り込み周期内で行い、初期値用乱数33dの更新処理を処理手段31aのメイン処理内およびメイン処理内のタイマ割り込み周期内で行うことにより、初期値用乱数33bは、初期値用乱数33dの更新処理を処理手段31aのメイン処理内のタイマ割り込み周期内でのみ行う場合に比べてよりランダムに変化する。なお、当たり初期値用乱数33bの更新処理を処理手段31aのメイン処理内でのみ行うように構成することもできる。
The initial value random number generation means 31 d generates a hit initial value random number 33 b stored in the RAM 33. In the present embodiment, a hit initial value counter is used as the hit initial value random number generating means 31d. That is, the hit initial value random number generation means 31d starts from the second initial value within the second range between the third value and the fourth value in the direction from the third value to the fourth value. The initial value random number 33b is generated by sequentially updating the update range by two over the second range. The second update value and the update direction can be set as appropriate.
In the present embodiment, the process for updating the hit initial value random number 33b by the hit initial value random number generating means 31d is performed in the timer interrupt period (for example, 4 ms) in the main process of the processing means 31a and the main process of the processing means 31a. This is done in each timer interrupt process.
The hit determination random number 33a is updated in the timer interrupt cycle in the main process of the processing means 31a, and the initial value random number 33d is updated in the main process of the processing means 31a and in the timer interrupt cycle in the main process. As a result, the initial value random number 33b changes more randomly than when the initial value random number 33d is updated only within the timer interrupt period in the main process of the processing means 31a. It should be noted that the process for updating the hit initial value random number 33b may be performed only within the main process of the processing means 31a.

なお、パチンコ機が複数の当たり遊技状態を有する場合には、複数の遊技状態それぞれを発生させるか否かを決定するための当たり判定用乱数33aを生成する複数の当たり判定用乱数生成手段31cと、複数の当たり判定用乱数33aそれぞれに対応する当たり初期値用乱数33bを生成する複数の当たり初期値用乱数生成手段31dを設けることができる。例えば、前述した、大当たり遊技状態を発生させるか否かを決定する(抽選する)ための大当たり判定用乱数と確変遊技状態を発生させるか否かを決定する(抽選する)ための当たり図柄判定用乱数を用いる場合には、当たり判定用乱数生成手段31cとして、大当たり判定用乱数を生成する大当たり判定用乱数生成手段と当たり図柄判定用乱数を生成する当たり図柄判定用乱数生成手段を設け、当たり初期値用乱数生成手段31dとして、大当たり初期値用乱数を生成する大当たり初期値用乱数生成手段と当たり図柄初期値用乱数を生成する当たり図柄初期値用乱数生成手段を設ける。   When the pachinko machine has a plurality of winning gaming states, a plurality of winning determination random number generating means 31c for generating a hit determining random number 33a for determining whether or not to generate each of the plurality of gaming states; A plurality of hit initial value random number generation means 31d for generating a hit initial value random number 33b corresponding to each of the plurality of hit determination random numbers 33a can be provided. For example, for the jackpot determination random number for determining (lotting) whether or not to generate the jackpot gaming state, and for determining the winning symbol for determining (lottery) whether or not to generate the probable gaming state, as described above In the case of using a random number, as the winning determination random number generating means 31c, a big hit determining random number generating means for generating a big hit determining random number and a winning symbol determining random number generating means for generating a winning symbol determining random number are provided. As the value random number generating means 31d, a jackpot initial value random number generating means for generating a jackpot initial value random number and a hit symbol initial value random number generating means for generating a winning symbol initial value random number are provided.

抽選手段31bは、抽選条件の成立に起因して、遊技者に有利な当たり遊技状態を発生させるか否かを決定する抽選処理を行う。
抽選処理では、まず、RAM33に記憶されている当たり判定用乱数(本実施の形態では当たり判定用カウント値)33aを取得する(読み取る)。抽選条件としては、種々の条件を用いることができる。例えば、遊技球が始動入賞口に入球したことを示す始動入賞球信号が入力された条件が用いられる。そして、取得した当たり判定用乱数33aとROM32に記憶されている設定値(当たり値)とを比較し(抽選を行い)、比較結果(抽選結果)を出力する。
パチンコ機が複数の当たり遊技状態を有している場合には、抽選手段31bは、複数の当たり遊技状態それぞれに対する抽選処理を実行する。例えば、まず、大当たり判定用乱数と設定値(当たり設定値)を比較する。大当たり判定用乱数が設定値と一致する(当たり)場合には、当り図柄判定用乱数と設定値(確変図柄設定値)を比較する。なお、大当たり判定用乱数が設定値と一致しない(はずれ)場合には、はずれ図柄判定用乱数を抽出する。
The lottery means 31b performs a lottery process for determining whether or not to generate a winning gaming state advantageous to the player due to the establishment of the lottery conditions.
In the lottery process, first, a random number for hit determination (in this embodiment, a count value for hit determination) 33a stored in the RAM 33 is acquired (read). Various conditions can be used as the lottery conditions. For example, a condition in which a start winning ball signal indicating that a game ball has entered a start winning opening is used. Then, the acquired winning determination random number 33a is compared with the set value (winning value) stored in the ROM 32 (a lottery is performed), and a comparison result (lottery result) is output.
When the pachinko machine has a plurality of winning game states, the lottery means 31b executes a lottery process for each of the plurality of winning game states. For example, first, the jackpot determination random number is compared with a set value (win set value). When the jackpot determination random number matches the set value (winning), the winning symbol determination random number is compared with the set value (probability variation set value). If the jackpot determination random number does not match the set value (displacement), the lost symbol determination random number is extracted.

処理手段31aは、種々の処理を実行する。
処理手段31aは、抽選手段31bによる抽選処理の結果(抽選結果)に基づいて、遊技者に有利な遊技状態を発生させるか否かを決定する。すなわち、抽選結果が、取得した当たり判定用乱数33aが設定値と一致していることを示している場合には、当たり遊技状態を発生させることを決定する。抽選手段31bは、パチンコ機が複数の当たり遊技状態を有している場合には、複数の当たり遊技状態それぞれを発生させるか否かを決定する。例えば、抽選結果が、大当たり判定用乱数が設定値(当たり設定値)と一致していることを示している場合には、大当たり遊技状態を発生させることを決定する。さらに、抽選結果が、当り図柄判定用乱数が設定値(確変図柄設定値)と一致していることを示している場合には、確変遊技状態を発生させることを決定する。
また、停電検出回路22から、電圧変換回路21に供給されているDC12V電力の電圧が停電検出設定値より低下していることを示す停電検出信号(停電予告信号)が出力されると、停電処理を実行する。停電処理では、例えば、RAM33に記憶されている遊技情報等に基づいて判定情報を算出し、算出した判定情報と遊技情報等をRAM33の退避領域に記憶する。判定情報としては、例えば、RAM33に記憶されている遊技情報等のチェックサム値が用いられる。
また、電圧変換回路21から供給されるDC5V電力(駆動電力)の電圧が主制御回路31(処理手段31a)が動作可能な動作電圧に達すると、復帰処理を実行する。復帰処理では、例えば、RAM33に記憶されている遊技情報等に基づいて判定情報を算出し、算出した判定情報とRAM33に記憶されている判定情報(前回の停電処理時に算出された判定情報)を比較する。そして、算出した判定情報とRAM33に記憶されている判定情報が一致する場合には、RAM33に記憶されている遊技情報等が正常である(停電中に変化していない)ことを判定し、RAM33に記憶されている遊技情報等に基づいて遊技を再開する。一方、算出した判定情報とRAM33に記憶されている判定情報が一致しない場合には、RAM33に記憶されている遊技情報等が異常である(停電中に変化している虞がある)ことを判定し、RAM33を初期化する。この場合には、初期化された遊技情報等に基づいて遊技を開始する。なお、RAM33が初期化されると、RAM33の当たり判定用乱数記憶領域の当たり判定用乱数(当り判定用カウント値)33aおよび当たり初期値用乱数記憶領域の当たり初期値用乱数(当たり初期値用カウント値)33bも初期化される。本実施の形態では、RAM33が初期化されると、当たり判定用乱数33aおよび当たり初期値用乱数33bは「0」に初期化される。
また、RAMクリアスイッチ23が操作された状態(初期化指示信号が入力されている状態)で、電圧変換回路21から供給されるDC5V電力が主制御回路31(処理手段31a)の動作電圧以上になると、RAM33に記憶されている判定情報に無関係に、RAM33を強制的に初期化する。
処理手段31aは、これ以外の種々の処理を実行する。
The processing unit 31a performs various processes.
The processing unit 31a determines whether or not to generate a gaming state advantageous to the player based on the result of the lottery process (lottery result) by the lottery unit 31b. In other words, when the lottery result indicates that the acquired winning determination random number 33a matches the set value, it is determined to generate a winning gaming state. When the pachinko machine has a plurality of winning game states, the lottery means 31b determines whether to generate each of the plurality of winning game states. For example, when the lottery result indicates that the jackpot determining random number matches the set value (win set value), it is determined to generate the jackpot gaming state. Further, when the lottery result indicates that the winning symbol determination random number matches the set value (probability variation symbol setting value), it is determined to generate the probability variation gaming state.
Further, when a power failure detection signal (power failure warning signal) indicating that the voltage of the DC12V power supplied to the voltage conversion circuit 21 is lower than the power failure detection set value is output from the power failure detection circuit 22, the power failure processing is performed. Execute. In the power failure process, for example, determination information is calculated based on game information stored in the RAM 33, and the calculated determination information, game information, and the like are stored in the save area of the RAM 33. As the determination information, for example, a checksum value such as game information stored in the RAM 33 is used.
When the voltage of DC 5V power (driving power) supplied from the voltage conversion circuit 21 reaches the operating voltage at which the main control circuit 31 (processing means 31a) can operate, the return processing is executed. In the return process, for example, determination information is calculated based on game information or the like stored in the RAM 33, and the calculated determination information and the determination information stored in the RAM 33 (determination information calculated during the previous power failure process) are used. Compare. If the calculated determination information matches the determination information stored in the RAM 33, it is determined that the game information stored in the RAM 33 is normal (not changed during a power failure), and the RAM 33 The game is resumed based on the game information stored in the game. On the other hand, when the calculated determination information does not match the determination information stored in the RAM 33, it is determined that the game information stored in the RAM 33 is abnormal (there may be a change during a power failure). Then, the RAM 33 is initialized. In this case, the game is started based on the initialized game information or the like. When the RAM 33 is initialized, the hit determination random number (count value for hit determination) 33a in the hit determination random number storage area of the RAM 33 and the hit initial value random number (for hit initial value) in the hit initial value random number storage area Count value) 33b is also initialized. In the present embodiment, when the RAM 33 is initialized, the hit determination random number 33a and the hit initial value random number 33b are initialized to “0”.
Further, when the RAM clear switch 23 is operated (when the initialization instruction signal is input), the DC5V power supplied from the voltage conversion circuit 21 exceeds the operating voltage of the main control circuit 31 (processing unit 31a). Then, the RAM 33 is forcibly initialized regardless of the determination information stored in the RAM 33.
The processing unit 31a performs various other processes.

次に、本実施の形態の主制御回路31(処理手段31a、抽選手段31b、当たり判定用乱数生成手段31c、当たり初期値用乱数生成手段31d)の処理を、図2〜図4に示すフローチャートを用いて説明する。図2および図3は、主制御回路31の電源投入時処理(メイン処理を含む)の概略を説明するフローチャートであり、図4は、主制御回路31のタイマ割り込み処理の概略を説明するフローチャートである。なお、図2〜図4に示すフローチャートの大部分の処理は、主制御機回路31の処理手段31aによって実行される。
先ず、主制御回路31の電源投入時処理について説明する。図2および図3に示す電源投入時処理は、電源の投入等によって、主制御基板20に設けられている電圧変換回路21から供給されるDC5V電力の電圧が、主制御回路31が動作可能な動作電圧に達した時点で開始される。
Next, the processing of the main control circuit 31 (processing means 31a, lottery means 31b, winning determination random number generating means 31c, winning initial value random number generating means 31d) of the present embodiment is shown in the flowcharts of FIGS. Will be described. 2 and 3 are flowcharts for explaining the outline of the power-on process (including the main process) of the main control circuit 31, and FIG. 4 is a flowchart for explaining the outline of the timer interrupt process of the main control circuit 31. is there. 2 to 4 is executed by the processing means 31a of the main controller circuit 31.
First, the power-on process of the main control circuit 31 will be described. The power-on process shown in FIGS. 2 and 3 allows the main control circuit 31 to operate with the voltage of DC5V power supplied from the voltage conversion circuit 21 provided on the main control board 20 when the power is turned on. It starts when the operating voltage is reached.

ステップS1では、スタックポインタを設定する。スタックポインタは、例えば、データを一時記憶するスタックのアドレス、サブルーチンからメインルーチンに復帰する時のメインルーチンの復帰アドレスを一時記憶するスタックのアドレス等を示す。ステップS1では、スタックポインタにスタックの初期アドレスを設定する。これにより、データや復帰アドレスは初期アドレスから順次スタックに記憶される。
ステップS2では、停電クリア信号の出力を開始する。この停電クリア信号によって、主制御回路31からの主制御信号の出力が禁止される。
ステップS3では、ウェイトタイマ処理1を実行する。
ステップS4では、停電予告信号(停電検出回路22からの停電検出信号)が入力されているか否かを判断する。停電予告信号が入力されている場合にはステップS3に戻り、停電予告信号が入力されていない場合にはステップS5に進む。
ここで、電源投入等によってDC12V電力の供給が開始されてから、DC12V電力の電圧が停電電圧検出回路22に設定されている停電検出設定値に達するまでに時間がかかるため、主制御回路31が動作可能な状態になった時(DC5V電力の電圧が主制御回路31の動作電圧以上になった時)、DC12V電力の電圧が停電検出回路22に設定されている停電検出設定値に達していないことがある。この場合、停電検出回路22から出力される停電予告信号(停電検出信号)によって主制御回路31が誤動作する虞がある。ステップS3とステップS4の処理は、電源投入時等において、DC12V電力の電圧が安定するまで(停電検出設定値以上になるまで)待機するための処理である。本実施の形態では、ウェイトタイマ処理1のウェイトタイム1として200msが設定されている。DC12V電力の電圧が、ウェイトタイム1内に停電検出設定値に達しない場合には、異常が発生していると判断し、異常処理を実行する。例えば、発光器、スピーカ、液晶表示装置等を用いて異常が発生していることを報知する。
ステップS5では、停電クリア信号の出力を停止する。これにより、主制御回路31からの信号の出力が可能となる。
In step S1, a stack pointer is set. The stack pointer indicates, for example, the address of the stack that temporarily stores data, the address of the stack that temporarily stores the return address of the main routine when returning from the subroutine to the main routine, and the like. In step S1, the stack initial address is set in the stack pointer. Thereby, the data and the return address are sequentially stored in the stack from the initial address.
In step S2, output of a power failure clear signal is started. The output of the main control signal from the main control circuit 31 is prohibited by this power failure clear signal.
In step S3, wait timer process 1 is executed.
In step S4, it is determined whether a power failure notice signal (a power failure detection signal from the power failure detection circuit 22) is input. If a power failure warning signal is input, the process returns to step S3, and if a power failure warning signal is not input, the process proceeds to step S5.
Here, since it takes time until the voltage of DC 12V power reaches the power failure detection set value set in the power failure voltage detection circuit 22 after the supply of DC 12V power is started by turning on the power or the like, the main control circuit 31 When it is in an operable state (when the voltage of DC5V power becomes equal to or higher than the operating voltage of the main control circuit 31), the voltage of DC12V power has not reached the power failure detection set value set in the power failure detection circuit 22. Sometimes. In this case, the main control circuit 31 may malfunction due to a power failure warning signal (power failure detection signal) output from the power failure detection circuit 22. The processes in steps S3 and S4 are processes for waiting until the voltage of DC12V power is stabilized (until the power failure detection set value or more) at the time of turning on the power. In the present embodiment, 200 ms is set as the wait time 1 of the wait timer process 1. When the voltage of DC 12V power does not reach the power failure detection set value within the wait time 1, it is determined that an abnormality has occurred and abnormality processing is executed. For example, a light emitting device, a speaker, a liquid crystal display device, or the like is used to notify that an abnormality has occurred.
In step S5, the output of the power failure clear signal is stopped. As a result, a signal from the main control circuit 31 can be output.

ステップS6では、RAMクリアスイッチ23が操作されているか否かを判断する。RAMクリアスイッチ23が操作されているか否かは、例えば、初期化指示信号が入力されているか否かによって判断する。RAMクリアスイッチ23が操作されている場合にはステップS7に進み、RAMクリアスイッチ23が操作されていない場合にはステップS8に進む。
ステップS7では、RAMクリアフラグRCLを「1」に設定する。
ステップS8では、RAMクリアフラグRCLを「0」に設定する。
ステップS9では、ウェイトタイマ処理2を実行する。ここで、電源が投入されてから液晶表示装置に画像情報を表示可能となるまで期間を要する。ステップS9のウェイトタイマ処理2は、液晶表示装置に画像情報を表示することができるようになるまで待機するための処理である。
In step S6, it is determined whether or not the RAM clear switch 23 is operated. Whether or not the RAM clear switch 23 is operated is determined by, for example, whether or not an initialization instruction signal is input. When the RAM clear switch 23 is operated, the process proceeds to step S7, and when the RAM clear switch 23 is not operated, the process proceeds to step S8.
In step S7, the RAM clear flag RCL is set to “1”.
In step S8, the RAM clear flag RCL is set to “0”.
In step S9, the wait timer process 2 is executed. Here, a period of time is required from when the power is turned on until image information can be displayed on the liquid crystal display device. The wait timer process 2 in step S9 is a process for waiting until image information can be displayed on the liquid crystal display device.

ステップS10では、RAMクリアフラグRCLが「0」に設定されているか否かを判断する。RAMクリアフラグRCLが「0」に設定されている場合(RAMクリアスイッチ23が操作されていない状態で主制御回路31が動作状態となった場合)にはステップS11に進み、RAMクリアフラグRCLが「0」に設定されていない場合、すなわち、「1」に設定されている場合(RAMクリアスイッチ23が操作された状態で主制御回路31が動作状態となった場合)にはステップS17に進む。
ステップS11では、RAM33に記憶されている遊技情報等が正常であるか否か(RAM33に記憶されている遊技情報が停電中に変化しているか否か)を判定するための判定情報を算出する。本実施の形態では、RAM33に記憶されている遊技情報等のチェックサム値を判定情報として算出している。
ステップS12では、ステップS11で算出した判定情報を用いて、RAM33に記憶されている情報が正常であるか否か(AM33に記憶されている遊技情報等が停電中に変化しているか否か)を判定する。本実施の形態では、ステップS11で算出したチェックサム値とRAM33に記憶されているチェックサム値(前回の停電処理時に算出したチェックサム値)が一致しているか否かを判断する。算出したチェックサム値とRAM33に記憶されているチェックサム値が一致している場合にはステップS14に進み、一致していない場合にはステップS17に進む。
In step S10, it is determined whether or not the RAM clear flag RCL is set to “0”. When the RAM clear flag RCL is set to “0” (when the main control circuit 31 is in an operating state when the RAM clear switch 23 is not operated), the process proceeds to step S11, and the RAM clear flag RCL is set. When it is not set to “0”, that is, when it is set to “1” (when the main control circuit 31 is in an operating state with the RAM clear switch 23 being operated), the process proceeds to step S17. .
In step S11, determination information for determining whether or not the game information or the like stored in the RAM 33 is normal (whether or not the game information stored in the RAM 33 has changed during a power failure) is calculated. . In the present embodiment, a checksum value such as game information stored in the RAM 33 is calculated as determination information.
In step S12, whether or not the information stored in the RAM 33 is normal using the determination information calculated in step S11 (whether game information or the like stored in the AM 33 has changed during a power failure). Determine. In the present embodiment, it is determined whether or not the checksum value calculated in step S11 matches the checksum value stored in the RAM 33 (the checksum value calculated during the previous power failure process). If the calculated checksum value matches the checksum value stored in the RAM 33, the process proceeds to step S14, and if not, the process proceeds to step S17.

ステップS13では、バックアップフラグBKが「1」に設定されているか否かを判断する。バックアップフラグBKは、前回の停電処理時に、停電処理が正常に終了したか否かを示すフラグである。すなわち、前回の停電処理が正常に終了した場合には「1」が設定され、正常に終了していない場合には「0」が設定される。バックアップフラグBKが「1」に設定されている場合にはステップS14に進み、「0」に設定されている場合にはステップS17に進む。
ステップS14では、RAMクリアスイッチ23が操作されてない状態(初期化指示信号が入力されていない状態)で主制御回路31が動作状態となり、また、RAM33に記憶されている遊技情報等が正常であり、さらに、前回の停電処理が正常に終了したことを判別し、RAM33に記憶されている遊技情報等に基づいて遊技を再開する(停電発生時の遊技状態から遊技を再開する)。すなわち、RAM33の作業領域の復電時設定を行う。例えば、RAM33の退避領域に記憶されている遊技情報等をRAM33の作業領域に書き込む。
ステップS15では、復電時処理を実行する。復電時処理では、例えば、RAM33に記憶されている遊技情報等に対応する信号(主コマンド信号や駆動信号)をRAM33の所定領域に記憶する。ステップS15の処理が終了するとステップS16に進む。
In step S13, it is determined whether or not the backup flag BK is set to “1”. The backup flag BK is a flag indicating whether or not the power failure process has been normally completed during the previous power failure process. That is, “1” is set when the previous power failure process is normally completed, and “0” is set when it is not normally completed. When the backup flag BK is set to “1”, the process proceeds to step S14, and when it is set to “0”, the process proceeds to step S17.
In step S14, the main control circuit 31 is in the operating state when the RAM clear switch 23 is not operated (the initialization instruction signal is not input), and the game information stored in the RAM 33 is normal. In addition, it is determined that the previous power failure process has been completed normally, and the game is resumed based on the game information and the like stored in the RAM 33 (the game is resumed from the gaming state at the time of the power failure). That is, the work area of the RAM 33 is set at power recovery. For example, game information or the like stored in the save area of the RAM 33 is written in the work area of the RAM 33.
In step S15, power recovery processing is executed. In the power recovery process, for example, a signal (main command signal or drive signal) corresponding to game information or the like stored in the RAM 33 is stored in a predetermined area of the RAM 33. When the process of step S15 ends, the process proceeds to step S16.

ステップS17では、RAMクリアスイッチ23が操作されている状態(初期化指示信号が入力されている状態)で主制御回路31が動作状態となったこと、あるいは、RAM33に記憶されている遊技情報等が異常であること、あるいは、前回の停電処理が正常に終了していないことを判別し、RAM33の全領域をクリア(初期化)する。例えば、RAM33の全領域に初期値「0」を設定する。なお、ROM32に記憶されている初期値を読み出してRAM33に設定する方法を用いることもできる。
ステップS18では、RAM33の作業領域を初期設定する。この初期設定では、ROM32に記憶されている初期値を読み出し、読み出した初期値をRAM33の作業領域に設定する。
ステップS19では、乱数生成回路34で生成されている乱数を取得してRAM33に記憶する。前述したように、乱数生成回路34は、ROM32に記憶されている固有識別情報32aを初期値とする乱数を生成している。ステップS19で取得した乱数は、RAM33が初期化されてから当たり判定用乱数生成手段31cによる当たり判定用乱数33aの1サイクル目の更新処理を開始するまでの期間(開始期間T)やRAM33が初期化された後の当たり判定用乱数生成手段31cによる当たり判定用乱数の33aのサイクル目の初期値(開始値S)を設定する際に用いられる。本実施の形態では、ステップS19で取得した乱数は、RAM33が初期化されてから当たり判定用乱数生成手段31cによる当たり判定用乱数33aの1サイクル目の更新処理を開始するまでの期間(開始期間T)を決定するために用いられる。
ステップS20では、RAMクリア時処理を実行する。RAMクリア時処理では、例えば、RAM33を初期化したことを示すRAMクリア報知コマンド、各制御回路や遊技用機器の検査を行うためのテストコマンドを作成し、RAMの送信領域に記憶する。なお、主制御回路31からRAMクリア報知コマンド信号が出力されると、液晶表示装置にRAM33が初期化されたことを報知する画像情報が表示される。また、主制御回路31からテストコマンドが出力されると、各制御回路や各遊技用機器の検査が行われる。
なお、ステップS11〜ステップS14、ステップS17、ステップS18の処理によって、主制御回路31(処理手段31a)の、電源投入時等における復帰処理が実行される。
In step S17, the main control circuit 31 is in an operating state when the RAM clear switch 23 is being operated (a state where the initialization instruction signal is input), game information stored in the RAM 33, or the like. Is abnormal, or the previous power failure process is not completed normally, and the entire area of the RAM 33 is cleared (initialized). For example, an initial value “0” is set in the entire area of the RAM 33. It is also possible to use a method of reading the initial value stored in the ROM 32 and setting it in the RAM 33.
In step S18, the work area of the RAM 33 is initialized. In this initial setting, the initial value stored in the ROM 32 is read, and the read initial value is set in the work area of the RAM 33.
In step S 19, the random number generated by the random number generation circuit 34 is acquired and stored in the RAM 33. As described above, the random number generation circuit 34 generates a random number having the unique identification information 32a stored in the ROM 32 as an initial value. The random number acquired in step S19 is the period from the initialization of the RAM 33 to the start of the first cycle update process of the hit determination random number 33a by the hit determination random number generating means 31c (start period T) or the RAM 33 is initialized. This is used when the initial value (start value S) of the 33a cycle of the hit determination random number is set by the hit determination random number generating means 31c after conversion. In the present embodiment, the random number acquired in step S19 is a period from the initialization of the RAM 33 to the start of the first cycle update process of the hit determination random number 33a by the hit determination random number generation means 31c (start period) T) is used to determine.
In step S20, RAM clear processing is executed. In the RAM clearing process, for example, a RAM clear notification command indicating that the RAM 33 has been initialized and a test command for inspecting each control circuit and gaming device are created and stored in the transmission area of the RAM. When a RAM clear notification command signal is output from the main control circuit 31, image information for notifying that the RAM 33 has been initialized is displayed on the liquid crystal display device. Further, when a test command is output from the main control circuit 31, each control circuit and each gaming device are inspected.
Note that the main control circuit 31 (processing means 31a) is returned to the main control circuit 31 when the power is turned on by the processes of steps S11 to S14, step S17, and step S18.

ステップS16では、割り込み初期設定を行う。割り込み初期設定では、処理手段31aのメイン処理内でタイマ割り込み処理を行う割り込み周期が設定される。本実施形態では、割り込み周期として4msが設定される。勿論、メイン処理の処理周期は、タイマ割り込み周期より短い。
ステップS21では、割り込み許可設定を行う。割り込み許可設定により、ステップS16で設定したタイマ割り込み周期毎のタイマ割り込み処理が実行される。
In step S16, interrupt initialization is performed. In the interrupt initial setting, an interrupt cycle for performing timer interrupt processing in the main processing of the processing means 31a is set. In this embodiment, 4 ms is set as the interrupt cycle. Of course, the processing cycle of the main processing is shorter than the timer interrupt cycle.
In step S21, interrupt permission is set. Due to the interrupt permission setting, timer interrupt processing for each timer interrupt cycle set in step S16 is executed.

ステップS22では、ウォッチドックタイマクリアレジスタWCLに「A」を設定する。なお、ウォッチドックタイマクリアレジスタWCLに「A」、「B」、「C」が順に設定されると、ウォッチドックタイマがクリアされる。
ステップS23では、停電検出回路22からの停電予告信号(停電検出信号)が入力されているか否かを判断する。停電予告信号が入力されていない場合にはステオップS24に進み、停電予告信号が入力された場合にはステップS25に進む。
ステップS24では、当たり判定用乱数33aの1サイクル毎の第1の初期値を決定するための当たり初期値用乱数33bの更新処理が行われる。ここで、RAM33が初期化された場合には、当たり初期値用乱数33bは、第2の初期値から更新が開始される。第2の初期値としては、典型的には、RAM33が初期化された時の、RAM33の当たり初期値用乱数記憶領域の当たり初期値用乱数33bの初期値(例えば「0」)が用いられる。この場合には、当たり初期値用乱数33bの更新を開始する時、RAM33に記憶されている当たり初期値用乱数33bの初期値から第2の更新値ずつ更新するだけでよい。
なお、ステップS24では、当たり初期値用乱数以外の、遊技者に有利な当たり遊技状態を発生させるか否かを決定する抽選で用いられる当たり判定用乱数を除く非当たり判定用乱数の更新処理を行うこともできる。非当たり判定用乱数には、抽選結果を表示する表示態様としてリーチ表示を含む表示態様を選択するか否かを決定するためのリーチ表示判定用乱数や、抽選結果の変動表示パターンを決定するための変動表示パターン判定用乱数等が含まれる。非当たり判定用乱数は、非当たり判定用乱数それぞれに対応する非当たり判定用乱数生成手段によって生成される。
ステップS24での当たり初期値用乱数33aの更新は、当たり初期値用乱数生成手段31dによって実行される。
ステップS24の処理を終了した後ステップS22に戻る。
なお、ステップS22〜ステップS24の処理によって、主制御回路31(処理手段31a)のメイン処理が実行される。
このメイン処理内で、タイマ割り込み周期(例えば、4ms)毎に図4に示すタイマ割り込み処理が実行される。
In step S22, “A” is set in the watchdog timer clear register WCL. When “A”, “B”, and “C” are sequentially set in the watchdog timer clear register WCL, the watchdog timer is cleared.
In step S23, it is determined whether or not a power failure warning signal (power failure detection signal) is input from the power failure detection circuit 22. When the power failure warning signal is not input, the process proceeds to step S24, and when the power failure warning signal is input, the process proceeds to step S25.
In step S24, the hit initial value random number 33b is updated to determine the first initial value for each cycle of the hit determination random number 33a. Here, when the RAM 33 is initialized, the hit initial value random number 33b starts to be updated from the second initial value. As the second initial value, typically, the initial value (for example, “0”) of the random number for initial value 33b in the random value storage area for initial value of the RAM 33 when the RAM 33 is initialized is used. . In this case, when the update of the hit initial value random number 33 b is started, it is only necessary to update the second update value from the initial value of the hit initial value random number 33 b stored in the RAM 33.
In step S24, non-hit determination random numbers other than the hit initial value random numbers are updated except for the hit determination random numbers used in the lottery for determining whether or not to generate a win game state advantageous to the player. It can also be done. In the non-winning determination random number, in order to determine a reach display determination random number for determining whether or not to select a display mode including reach display as a display mode for displaying the lottery result, or a variable display pattern of the lottery result Random number for determining the fluctuation display pattern. The non-hit determination random number is generated by non-hit determination random number generation means corresponding to each non-hit determination random number.
The hit initial value random number 33a is updated by the hit initial value random number generating means 31d in step S24.
After finishing the process of step S24, it returns to step S22.
The main process of the main control circuit 31 (processing unit 31a) is executed by the processes of steps S22 to S24.
In this main process, the timer interrupt process shown in FIG. 4 is executed every timer interrupt period (for example, 4 ms).

ステップS25では、割り込み禁止設定を行う。割り込み禁止設定により、以後のタイマ割り込み処理が禁止され、RAM33に記憶されている遊技情報等の書き換えが禁止される。
ステップS26では、停電クリア信号の出力を開始する。これにより、主制御回路31からの信号の出力が停止され、遊技用機器の駆動が停止する。遊技用機器の駆動が停止されることによって、電力消費が抑制され、主制御回路31(処理手段31a)による停止処理のための電力が確保される。
ステップS27では、次回の主制御回路32(処理手段31a)の復帰処理時に、RAM33に記憶されている遊技情報等が正常であるか否か(RAM33に記憶されている遊技情報等が停電中に変化しているか否か)を判定するための判定情報を作成する。本実施の形態では、RAM33に記憶されている遊技情報等に基づいて判定情報を算出する。本実施の形態では、RAM33に記憶されている情報のチェックサム値を算出している。そして、RAM33に記憶されている遊技情報等(バックアップ情報)と算出したチェックサム値をRAM33の退避領域に記憶する。RAM33に記憶されている情報が正常であるか否か(RAM33に記憶されている情報が停電中に変化しているか否か)を判定する判定情報は、チャックサム値に限定されず、例えば、パリティデータ等の他の判定情報を用いることもできる。
ステップS28では、ステップS27の処理(RAM33に記憶されている遊技情報等と算出したチェックサム値をRAM33の退避領域に記憶する処理)を正常に終了した場合に、バックアップフラグBKを、停電処理を正常に終了したことを示す「1」に設定する。なお、ステップS27の処理が正常に終了しなかった場合には、バックアップフラグBKは、停電処理が正常に終了しなかったことを示す「0」の状態(RAM33が初期化された時の状態)に保持される。
ステップS29では、ウォッチドックタイマのクリア設定を行う。例えば、ウォッチドックタイマクリアレジスタWCLに「A」、「B」、「C」を順に設定する。ステップS29でウォッチドックタイマがクリア設定されると、主制御回路31(処理手段31a)は、再度電源投入等によって、電圧変換回路21から供給されるDC5V電力の電圧が主制御回路31(処理手段31a)の動作電圧以上になるまで(復電するまで)待機する。
なお、ステップS25〜ステップS29の処理によって、主制御回路31(処理手段31a)の停電処理が実行される。
In step S25, interrupt prohibition setting is performed. Due to the interrupt prohibition setting, subsequent timer interrupt processing is prohibited, and rewriting of game information and the like stored in the RAM 33 is prohibited.
In step S26, output of the power failure clear signal is started. Thereby, the output of the signal from the main control circuit 31 is stopped, and the driving of the gaming machine is stopped. When the driving of the gaming machine is stopped, power consumption is suppressed, and power for a stop process by the main control circuit 31 (processing unit 31a) is secured.
In step S27, whether or not the game information or the like stored in the RAM 33 is normal during the next restoration process of the main control circuit 32 (processing means 31a) (the game information or the like stored in the RAM 33 is being interrupted). Determination information for determining whether or not there is a change is created. In the present embodiment, determination information is calculated based on game information and the like stored in the RAM 33. In this embodiment, the checksum value of the information stored in the RAM 33 is calculated. Then, the game information and the like (backup information) stored in the RAM 33 and the calculated checksum value are stored in the save area of the RAM 33. The determination information for determining whether or not the information stored in the RAM 33 is normal (whether or not the information stored in the RAM 33 has changed during a power failure) is not limited to the chuck sum value. Other determination information such as parity data can also be used.
In step S28, when the process of step S27 (the process of storing the game information and the like stored in the RAM 33 and the calculated checksum value in the save area of the RAM 33) is normally completed, the backup flag BK is set to the power failure process. Set to “1” to indicate normal termination. When the process of step S27 is not normally completed, the backup flag BK is in a “0” state indicating that the power failure process has not been normally completed (a state when the RAM 33 is initialized). Retained.
In step S29, the watchdog timer is cleared. For example, “A”, “B”, and “C” are sequentially set in the watchdog timer clear register WCL. When the watchdog timer is cleared in step S29, the main control circuit 31 (processing unit 31a) causes the main control circuit 31 (processing unit 31a) to change the voltage of DC5V power supplied from the voltage conversion circuit 21 by turning on the power again. It waits until it becomes more than the operating voltage of 31a) (until power is restored).
In addition, the power failure process of the main control circuit 31 (processing means 31a) is performed by the process of step S25-step S29.

次に、主制御側回路31(処理手段31a)のタイマ割り込み処理について説明する。図4に示す、タイマ割り込み処理は、図3に示したメイン処理内で、ステップS16で設定されたタイマ割り込み周期(本実施の形態では、4ms)毎に実行される。
ステップT1では、ウォッチドックタイマクリアレジスタWCLに「B」を設定する。この時、ウォッチドックタイマクリアレジスタWCLは、図3のステップS22(メイン処理)での「A」の設定に続いて、「B」が設定されたことになる。
ステップT2では、割り込みフラグのクリアを行う。割り込みフラグのクリアによって、次のタイマ割り込み処理の処理タイミングを決定するタイマ割り込み周期の計時が開始される。
ステップT3では、各種信号の入力処理を行う。入力された信号は、入力情報としてRAM33の入力領域に記憶される。入力される信号としては、例えば、遊技球が始動入賞口に入球したことを示す始動入賞球信号、遊技球が大入賞口に入球したことを示す大入賞球信号等が用いられる。
ステップT4では、タイマ減算処理を行う。例えば、液晶表示装置に図柄を変動表示する際に、図柄の変動表示期間を減算する。この場合、変動表示期間が「0」になることによって、液晶表示装置への図柄の変動表示が終了する時点を判別することができる。あるいは、信号を出力した後のACK信号(応答信号)の入力判定期間を減算する。これにより、入力判定期間が「0」に達するまでにACK信号が入力されなかったことにより、異常が発生していることを判別することができる。なお、本実施の形態では、4ms毎にタイマ割り込み処理を実行しているため、各期間は、4msずつ減算される。
Next, timer interrupt processing of the main control side circuit 31 (processing means 31a) will be described. The timer interrupt process shown in FIG. 4 is executed every timer interrupt period (4 ms in the present embodiment) set in step S16 in the main process shown in FIG.
In step T1, “B” is set in the watchdog timer clear register WCL. At this time, the watchdog timer clear register WCL is set to “B” following the setting of “A” in step S22 (main processing) of FIG.
In step T2, the interrupt flag is cleared. When the interrupt flag is cleared, the timer interrupt cycle for determining the processing timing of the next timer interrupt process is started.
In step T3, various signals are input. The input signal is stored in the input area of the RAM 33 as input information. As the input signal, for example, a start winning ball signal indicating that the game ball has entered the start winning opening, a big winning ball signal indicating that the game ball has entered the main winning opening, or the like is used.
In step T4, a timer subtraction process is performed. For example, when the symbols are variably displayed on the liquid crystal display device, the symbol variation display period is subtracted. In this case, when the variable display period becomes “0”, it is possible to determine when the variable display of the symbols on the liquid crystal display device ends. Alternatively, the input determination period of the ACK signal (response signal) after outputting the signal is subtracted. As a result, it is possible to determine that an abnormality has occurred because the ACK signal has not been input before the input determination period reaches “0”. In the present embodiment, since timer interrupt processing is executed every 4 ms, each period is subtracted by 4 ms.

ステップT5では、RAM33に記憶されている当たり判定用乱数の更新処理を行う。複数の当たり判定用乱数を用いている場合には、RAM33に記憶されている複数の当たり判定用乱数を更新する。
RAM33が初期化されてから1サイクル目の1回目の当たり判定用乱数33aの更新処理の場合には、ステップS19で取得した乱数を用いて、RAM33が初期化されてから当たり判定用乱数33aの1サイクル目の更新処理を開始するまでの期間(開始期間T)を決定する。そして、RAM33が初期化されてから、決定された開始期間Tが経過するまで待機する。RAM33が初期化されてから開始期間Tが経過したか否かの判定は、ステップT4でのタイマ減算処理で行うことができる。RAM33が初期化されてから開始期間Tが経過すると、当たり判定用乱数33aの1サイクル目(1周期目)の第1の初期値を設定する。ここで、本実施の形態では、RAM33に記憶されている当たり初期値用乱数33bを用いて当たり判定用乱数33aの各サイクルの第1の初期値を決定するように構成されている。また、本実施の形態では、RAM33が初期化された後の、当たり初期値用乱数33bの更新処理の開始時期を、当たり判定用乱数33aの更新処理の開始時期と一致させている。このため、RAM33が初期化されてから開始期間Tが経過した時点では、RAM33に記憶されている当たり初期値用乱数33bは、RAM33が初期化された時の初期値(本実施の形態では「0」)に設定されている。したがって、当たり判定用乱数33aは、RAM33が初期化されてから開始期間Tが経過した時点で、当たり初期値用乱数33bの初期値「0」を1サイクル目の第1の初期値として更新が開始される。
なお、当たり判定用乱数33aが当該サイクル内で第2の値に達すると、第1の値から更新処理が継続される。
また、当たり判定用乱数33aが、当該サイクル内の第1の初期値の直前の値に達した場合には、RAM33に記憶されている当たり初期値用乱数33bの値を用いて当たり判定用乱数33aの次のサイクルの第1の初期値を決定し、当たり判定用乱数33aの次のサイクルの更新処理が行われる。以後同様にして、当たり判定用乱数33aの1サイクル(1周期)毎に、当たり初期値用乱数33bを用いて当たり判定用乱数33aの次のサイクルの第1の初期値を更新しながら)、当たり判定用乱数33aが1サイクル(1周期)毎に更新される。
主制御回路31(処理手段31a)が動作を開始した時点でRAM33の初期化が行われなかった場合には、当たり判定用乱数33aおよび当たり初期値用乱数33bの初期化も行われない。RAM33が初期化されなかった場合には、当たり判定用乱数33aおよび当たり初期値用乱数33bは、停電前の値から更新される。
In step T5, the hit determination random number update process stored in the RAM 33 is updated. When a plurality of hit determination random numbers are used, the plurality of hit determination random numbers stored in the RAM 33 are updated.
In the case of the first hit determination random number 33a update process in the first cycle after the RAM 33 is initialized, the random number acquired in step S19 is used to calculate 1 of the hit determination random number 33a after the RAM 33 is initialized. A period (start period T) until the update process of the cycle is started is determined. Then, after the RAM 33 is initialized, the process waits until the determined start period T elapses. Whether or not the start period T has elapsed since the initialization of the RAM 33 can be determined by the timer subtraction process at step T4. When the start period T elapses after the RAM 33 is initialized, the first initial value of the first cycle (first cycle) of the hit determination random number 33a is set. Here, in the present embodiment, the first initial value of each cycle of the hit determination random number 33 a is determined using the hit initial value random number 33 b stored in the RAM 33. Further, in this embodiment, the start time of the update process of the hit initial value random number 33b after the RAM 33 is initialized is made coincident with the start time of the update process of the hit determination random number 33a. For this reason, when the start period T elapses after the RAM 33 is initialized, the random number 33b for the initial value stored in the RAM 33 is the initial value when the RAM 33 is initialized (in this embodiment, “ 0 "). Accordingly, the winning determination random number 33a is updated with the initial value “0” of the winning initial value random number 33b as the first initial value in the first cycle when the start period T has elapsed since the RAM 33 was initialized. Be started.
When the hit determination random number 33a reaches the second value in the cycle, the update process is continued from the first value.
When the hit determination random number 33a reaches a value immediately before the first initial value in the cycle, the hit determination random number 33b is stored using the value of the hit initial value random number 33b stored in the RAM 33. The first initial value of the next cycle of 33a is determined, and the update processing of the next cycle of the hit determination random number 33a is performed. Thereafter, in the same manner, while updating the first initial value of the next cycle of the hit determination random number 33a using the hit initial value random number 33b for each cycle (one period) of the hit determination random number 33a), The hit determination random number 33a is updated every cycle (one cycle).
If the initialization of the RAM 33 is not performed when the main control circuit 31 (the processing unit 31a) starts operation, the hit determination random number 33a and the hit initial value random number 33b are not initialized. When the RAM 33 is not initialized, the winning determination random number 33a and the winning initial value random number 33b are updated from the values before the power failure.

なお、ステップT5では、ステップS24での当たり初期値用乱数33bの更新処理と同様の更新処理も行われる。すなわち、非当たり判定用乱数の更新処理も行われる。このように、当たり初期値用乱数の更新処理を、メイン処理内およびメイン処理内のタイマ割り込み処理内それぞれで行うことにより、当たり初期値用乱数のランダム性がより高まる。ステップT5での当たり判定用乱数33bの更新処理は、当たり判定用乱数生成手段31cによって実行され、当たり初期値用乱数33bの更新処理は、当たり初期値用乱数生成手段31dによって実行される。   In step T5, an update process similar to the update process of the hit initial value random number 33b in step S24 is also performed. That is, the random number determination random number update process is also performed. In this way, the randomness of the winning initial value random number is further increased by performing the updating process of the winning initial value random number in each of the main process and the timer interrupt process in the main process. In step T5, the hit determination random number 33b is updated by the hit determination random number generating means 31c, and the hit initial value random number 33b is updated by the hit initial value random number generating means 31d.

ステップT6では、賞球制御処理を行う。賞球制御処理では、RAM33の入力領域から遊技球が入賞口(一般入賞口、始動入賞口、大入賞口等)に入球したことを示している入力情報を読み出し、読み出した入力情報に対応する(遊技球が入球した入賞口に対応する)賞球数を示す信号(賞球コマンド信号)をRAM33の送信領域に記憶する。
ステップT7では、不正検出処理を行う。例えば、RAM33の入力領域から入力情報を読み出し、大入賞口を開閉する大入賞口開閉部材を開制御あるいは開閉制御する大当たり遊技状態が発生していることを示す入力情報が入力されていない状態で、遊技球が大入賞口に入球したことを示している入力情報が入力されているか否かを判別する。不正を検出した場合には、賞球異常情報をRAM33の送信領域に記憶する。
In step T6, a prize ball control process is performed. In the winning ball control process, input information indicating that a game ball has entered a winning opening (general winning opening, starting winning opening, large winning opening, etc.) is read from the input area of the RAM 33, and the read input information is supported. A signal (prize ball command signal) indicating the number of winning balls (corresponding to the winning opening into which the game ball has entered) is stored in the transmission area of the RAM 33.
In step T7, fraud detection processing is performed. For example, the input information is read from the input area of the RAM 33, and the input information indicating that the jackpot gaming state in which the opening / closing control of the big winning opening / closing member for opening / closing the big winning opening is occurring is not input. Then, it is determined whether or not input information indicating that the game ball has entered the big winning opening is input. When fraud is detected, the prize ball abnormality information is stored in the transmission area of the RAM 33.

ステップT8では、抽選処理を行う。例えば、RAM33の入力領域から入力情報を読み出し、遊技者に有利な遊技状態を発生させるか否かの抽選を行う条件を示している入力情報が入力されている場合には、RAM33に記憶されている当たり判定用乱数33aを取得する(読み出す)。そして、取得した当たり判定用乱数33aとROM32に記憶されている設定値(当たり値)を比較し(抽選し)、比較結果を出力する(抽選結果を出力する)抽選処理を実行する(当たりであるか否かを判定する)。例えば、大当たり遊技状態と確変遊技状態を発生させる場合には、遊技球が始動入賞口に入球したことを示す入力情報が入力されると、大当たり判定用乱数および当たり図柄判定用乱数を取得し、取得した大当たり判定用乱数および当たり図柄判定用乱数とROM33に記憶されている設定値(当たり値)を比較する。
そして、抽選結果(取得した当たり判定用乱数33aと設定値との比較結果)に基づいて出力情報を設定しRAM33の出力領域に記憶する。例えば、大当たり判定用乱数生成手段31cで生成されている大当たり判定用乱数が設定値(大当たり値)と一致する場合(抽選結果が当たりである場合)には、大当たり遊技状態を発生させることを決定する。さらに、当り図柄判定用乱数が設定値(確変図柄設定値)と一致する場合には、確変遊技状態を発生させることを決定する。なお、当たり変動表示パターン用乱数生成手段で生成されている当たり変動表示パターン用乱数に基づいて当たり変動表示パターンを決定する。そして、決定した当たり図柄を示す当たり図柄情報および当たり変動表示パターンを示す当たり変動表示パターン情報をRAM33の出力領域に記憶する。また、大当たり遊技状態を発生させるための情報(例えば、大入賞口開閉部材を駆動する駆動情報)と確変遊技状態を発生させるための情報(例えば、高確率テーブル選択情報)をRAM33の出力領域に記憶する。一方、大当たり判定用乱数生成手段31cで生成されている大当たり判定用乱数が設定値(大当たり値)と一致しない場合(抽選結果がはずれである場合)には、はずれ図柄判定用乱数生成手段で生成されているはずれ図柄判定用乱数に基づいてはずれ図柄を決定するとともに、はずれ変動表示パターン用乱数生成手段で生成されているはずれ変動表示パターン用乱数に基づいてはずれ変動表示パターンを決定する。そして、決定したはずれ図柄を示すはずれ図柄情報およびはずれ変動表示パターンを示すはずれ変動表示パターン情報をRAM33の出力領域に記憶する。
ステップT8での当たり判定用乱数33aと設定値との比較は、抽選手段31bによって実行される。
In step T8, a lottery process is performed. For example, when input information is read from the input area of the RAM 33 and input information indicating a condition for performing a lottery to determine whether or not to generate a game state advantageous to the player is input, the input information is stored in the RAM 33. The hit determination random number 33a is acquired (read). Then, the acquired winning determination random number 33a is compared (lottery) with the set value (winning value) stored in the ROM 32, and the comparison result is output (the lottery result is output). To determine if it exists). For example, in the case of generating a jackpot gaming state and a probability variation gaming state, when input information indicating that a game ball has entered the start winning opening is input, a jackpot determining random number and a winning symbol determining random number are acquired. The acquired jackpot determination random number and the winning symbol determination random number are compared with the set value (winning value) stored in the ROM 33.
Then, output information is set based on the lottery result (the comparison result between the acquired winning determination random number 33 a and the set value) and stored in the output area of the RAM 33. For example, when the jackpot determination random number generated by the jackpot determination random number generation means 31c matches the set value (big win value) (when the lottery result is a win), it is determined to generate a jackpot gaming state. To do. Further, when the winning symbol determination random number matches the set value (probability variation symbol setting value), it is determined to generate the probability variation gaming state. The hit fluctuation display pattern is determined based on the hit fluctuation display pattern random number generated by the hit fluctuation display pattern random number generating means. Then, the winning symbol information indicating the determined winning symbol and the winning variation display pattern information indicating the winning variation display pattern are stored in the output area of the RAM 33. In addition, information for generating a jackpot gaming state (for example, driving information for driving the big prize opening / closing member) and information for generating a probability changing gaming state (for example, high probability table selection information) are output to the output area of the RAM 33. Remember. On the other hand, if the jackpot determination random number generated by the jackpot determination random number generation means 31c does not match the set value (big hit value) (if the lottery result is out of place), the lost symbol determination random number generation means generates The outlier design determining random number is determined based on the outlier design determining random number, and the outbreak variation display pattern is determined based on the outlier variation display pattern random number generated by the outbreak variation display pattern random number generating means. Then, the determined symbol information indicating the error symbol and the error variation display pattern information indicating the error variation display pattern are stored in the output area of the RAM 33.
The lottery means 31b compares the hit determination random number 33a with the set value in step T8.

ステップT9では、信号出力処理を行う。例えば、RAM33の出力領域に記憶されている情報を読み出し、読み出した情報に基づいて各種信号(主コマンド信号や駆動信号)を出力する。
ステップT10では、ウォッチドックタイマクリアレジスタWCLに「C」を設定する。これにより、ウォッチドックタイマクリアレジスタWCLに、「A」、「B」、「C」が順に設定されるため、ウォッチドックタイマがクリア設定される。
ステップT11では、レジスタの切替(復帰)を行う。ここで、タイマ割り込み処理が開始されると、主制御回路31(処理手段31a)は、レジスタに記憶されている情報をスタックに退避し、メイン処理で使用していたレジスタに記憶されている情報が破壊されるのを防止している。ステップT11では、タイマ割り込み処理が終了したため、スタックに退避していた情報を読み出したレジスタに記憶する。
In step T9, signal output processing is performed. For example, information stored in the output area of the RAM 33 is read, and various signals (main command signal and drive signal) are output based on the read information.
In step T10, “C” is set in the watchdog timer clear register WCL. As a result, “A”, “B”, and “C” are sequentially set in the watchdog timer clear register WCL, so that the watchdog timer is cleared.
In step T11, the register is switched (returned). Here, when the timer interrupt process is started, the main control circuit 31 (processing unit 31a) saves the information stored in the register to the stack, and the information stored in the register used in the main process. Is prevented from being destroyed. In step T11, since the timer interrupt process is completed, the information saved in the stack is stored in the read register.

次に、本実施の形態の動作を、当たり判定用乱数と当たり初期値用乱数の変化状態を示す図5を参照して説明する。以下では、1つの当たり判定用乱数33aと、1つの当たり初期値用乱数33bが用いられている場合について説明する。また、当たり判定用乱数33aおよび当たり初期値用乱数33bの変化状態に関係する動作を主に説明し、他の動作の説明は省略する。また、図5では、当たり判定用乱数は実線で示され、当たり初期値用乱数は破線で示されている。
本実施の形態では、RAM33が初期化された場合には、当たり判定用乱数生成手段31による当たり判定用乱数31aの更新処理および当たり初期値用乱数生成手段31dによる当たり初期値用乱数33bの更新処理を、RAM33が初期化されてから、乱数生成回路34で生成されている乱数に基づいて決定される期間(開始期間T)経過した後に開始するように構成されている。
また、当たり判定用乱数(当たり判定用カウント値)33aは、リセット値「0」を第1の値、折返し値「299」を第2の値とする第1の範囲「0」〜「299」内で、リセット値「0」から折返し値「299」の方向(加算方向)に第1の更新値「1」ずつ更新(加算)され、当たり初期値用乱数33bは、リセット値「0」を第3の値、折り返し値「299」を第4の値とする第2の範囲「0」〜「299」内で、リセット値「0」から折り返し値「299」の方向(加算方向)に第2の更新値「1」ずつ更新(加算)されるものとする。この場合、当たり判定用乱数33aの1周期(1サイクル)は、第1の初期値からの「1」ずつの更新(加算)処理を「300」回行うまでの範囲である。また、当たり判定用乱数33aおよび当たり初期値用乱数33bは、折返し値「299」に達すると、リセット値「0」から更新(加算)が継続される。
Next, the operation of the present embodiment will be described with reference to FIG. 5 showing the change state of the hit determination random number and the hit initial value random number. Hereinafter, a case where one hit determination random number 33a and one hit initial value random number 33b are used will be described. In addition, operations relating to the change state of the hit determination random number 33a and the hit initial value random number 33b will be mainly described, and description of other operations will be omitted. In FIG. 5, the hit determination random number is indicated by a solid line, and the hit initial value random number is indicated by a broken line.
In the present embodiment, when the RAM 33 is initialized, the hit determination random number 31a is updated by the hit determination random number generator 31 and the hit initial value random number 33b is updated by the hit initial value random number generator 31d. The process is configured to start after a period (start period T) determined based on the random number generated by the random number generation circuit 34 has elapsed since the RAM 33 was initialized.
Further, the random number for hit determination (count value for hit determination) 33a has a first range “0” to “299” in which the reset value “0” is the first value and the return value “299” is the second value. The first update value “1” is updated (added) in the direction from the reset value “0” to the return value “299” (addition direction). Within the second range “0” to “299” in which the third value, the return value “299” is the fourth value, the reset value “0” to the return value “299” in the direction (addition direction) It is assumed that two update values “1” are updated (added) by two. In this case, one cycle (one cycle) of the hit determination random number 33a is a range in which the update (addition) process by “1” from the first initial value is performed “300” times. Further, when the hit determination random number 33a and the hit initial value random number 33b reach the return value “299”, the update (addition) is continued from the reset value “0”.

パチンコ機の電源が投入されてAC24V電力が電源回路11(電源基板10)に供給されると、電源回路11は、AC24V電力をDC34V電力およびDC12V電力に変換する。AC24V電力及びAC12V電力は、電源基板10から電力線L1及びL2を介して主制御基板20に供給される。主制御基板20に設けられている電圧変換回路21は、主制御基板20に供給されるDC12V電力をDC5V電力に変換し、主制御回路IC30の端子30bを介して主制御回路31やRAM33等の駆動電力として供給する。   When the power of the pachinko machine is turned on and AC24V power is supplied to the power supply circuit 11 (power supply board 10), the power supply circuit 11 converts the AC24V power into DC34V power and DC12V power. The AC 24V power and the AC 12V power are supplied from the power supply board 10 to the main control board 20 through the power lines L1 and L2. The voltage conversion circuit 21 provided on the main control board 20 converts DC12V power supplied to the main control board 20 into DC5V power, and the main control circuit 31 and the RAM 33 are connected via the terminal 30b of the main control circuit IC30. Supply as drive power.

主制御回路31(処理手段31a)は、DC5V電力の電圧が動作電圧に達すると、復帰処理を行う。まず、RAM33に記憶されている遊技情報等が正常であるか否か(停電中に変化しているか否か)を判定する。例えば、RAM33の退避領域に記憶されている遊技情報等に基づいて判定情報(例えば、チェックサム値)を算出し、算出した判定情報とRAM33の退避領域に記憶されている判定情報(例えば、前回の停電処理時に算出されたチェックサム値)が一致しているか否かを判定する(ステップS11、S12)。
算出した判定情報とRAM33に記憶されている判定情報が一致する場合には、RAM33に記憶されている遊技情報等が正常である(停電中に変化していない)ことを判別し、RAM33に記憶されている遊技情報等に基づいて遊技を継続する(ステップS14)。即ち、前回の停電時の遊技状態から遊技を再開する。
一方、算出した判定情報とRAM33に記憶されている判定情報が一致しない場合には、RAM33に記憶されている遊技情報等が異常である(停電中に変化している虞がある)ことを判別し、RAM33を初期化する。この時、RAM33の当たり判定用乱数33aおよび当たり初期値用乱数33bは初期値に設定される(ステップS17、S18)。図5では、RAM33が初期化された時点t1で、当たり判定用乱数33aおよび当たり初期値用乱数33bは「0」(=リセット値)に設定される。
なお、RAMクリアスイッチ23が操作された状態(初期化指示信号が入力されている状態)で、主制御回路31(処理手段31a)の復帰処理が実行される場合には、RAM33に記憶されている判定情報に関係なくRAM33が初期化される(ステップS7、S10、S17)。
The main control circuit 31 (processing unit 31a) performs a return process when the voltage of DC 5V power reaches the operating voltage. First, it is determined whether or not the game information or the like stored in the RAM 33 is normal (whether or not it has changed during a power failure). For example, determination information (for example, checksum value) is calculated based on game information or the like stored in the save area of the RAM 33, and the calculated determination information and determination information stored in the save area of the RAM 33 (for example, the previous time) It is determined whether or not the checksum values calculated at the time of the power failure processing match (steps S11 and S12).
When the calculated determination information matches the determination information stored in the RAM 33, it is determined that the game information stored in the RAM 33 is normal (not changed during a power failure) and stored in the RAM 33. The game is continued based on the game information that has been played (step S14). That is, the game is resumed from the game state at the time of the previous power failure.
On the other hand, if the calculated determination information does not match the determination information stored in the RAM 33, it is determined that the game information stored in the RAM 33 is abnormal (there may be a change during a power failure). Then, the RAM 33 is initialized. At this time, the hit determination random number 33a and the hit initial value random number 33b in the RAM 33 are set to initial values (steps S17 and S18). In FIG. 5, at the time t1 when the RAM 33 is initialized, the hit determination random number 33a and the hit initial value random number 33b are set to “0” (= reset value).
In the case where the main control circuit 31 (processing means 31a) is restored in a state in which the RAM clear switch 23 is operated (a state in which an initialization instruction signal is input), it is stored in the RAM 33. The RAM 33 is initialized irrespective of the determination information (steps S7, S10, S17).

RAM33が初期化されると当たり初期値用乱数33bがリセット値「0」に設定されるため、RAM33が初期化された後直ちに当たり判定用乱数生成手段31cによる当たり判定用乱数33aの更新を開始すると、当たり判定用乱数33aは、リセット値「0」から更新が開始される。この場合、前述したように、RAM33が初期化されてから当たり判定用乱数33aが設定値(図5では、当たり値「140」)と一致するまでの期間を予測することができる。
本実施の形態では、RAM33を初期化する場合には、乱数生成回路34によって、パチンコ機毎に固有な固有識別情報32aに基づいて生成されている乱数を取得し、取得した乱数に基づいて開始期間Tを決定する(ステッS19)。なお、乱数生成回路34は、開始期間Tの変化範囲内で乱数が変化するように構成されるのが好ましい。例えば、主制御回路31(処理手段321a)から乱数生成回路34に、乱数の変化範囲を示す変化範囲情報(例えば、開始期間Tの変化範囲を示す第5の値と第6の値)を出力し、乱数生成回路34で生成される乱数の変化範囲を設定可能に構成する。
When the RAM 33 is initialized, the hit initial value random number 33b is set to the reset value “0”. Therefore, immediately after the RAM 33 is initialized, the hit determination random number generator 31c starts updating the hit determination random number 33a. Then, the hit determination random number 33a starts to be updated from the reset value “0”. In this case, as described above, it is possible to predict a period from when the RAM 33 is initialized until the hit determination random number 33a matches the set value (in FIG. 5, the hit value “140”).
In the present embodiment, when the RAM 33 is initialized, the random number generation circuit 34 acquires a random number generated based on the unique identification information 32a unique to each pachinko machine, and starts based on the acquired random number. The period T is determined (step S19). Note that the random number generation circuit 34 is preferably configured such that the random number changes within the change range of the start period T. For example, change range information (for example, the fifth value and the sixth value indicating the change range of the start period T) indicating the change range of the random number is output from the main control circuit 31 (processing unit 321a) to the random number generation circuit 34. In addition, the change range of the random number generated by the random number generation circuit 34 can be set.

そして、RAM33が初期化された時点t1から、乱数生成回路34から取得した乱数に基づいて決定された開始期間Tが経過した時点t2で、当たり判定用乱数生成手段31cによる当たり判定用乱数33aの更新処理を開始させるとともに(ステップT5)、当たり初期値用乱数生成手段31dによる当たり初期値用乱数33bの更新処理を開始させる(ステップS24、T5)。
図5に示すように、当たり初期値用乱数33bは、時点t2において、リセット値「0」を第2の初期値として更新が開始される。ここで、時点t2では、当たり初期値用乱数33bはリセット値「0」である。このため、当たり判定用乱数33aは、時点t2において、リセット値「0」が第1の初期値として設定され、第1の初期値「0」から1サイクル目(1周期目)の更新が開始される。当たり判定用乱数33aは、時点t2で1サイクル目の更新を開始した後、1サイクル分(1周期分)の更新(カウント)(リセット値「0」と折り返し値「299」の間の第1の範囲の場合、「300」回の更新)が行われた時点t3で、折り返し値「299」に達する。これにより、当たり判定用乱数33aの1サイクル目の更新(カウント)が終了する。なお、この間、当たり初期値用乱数33bは、当たり判定用乱数33aより短い更新周期で更新されている。
当たり判定用乱数33aは、時点t3で1サイクル目の更新が終了すると、2サイクル目の更新が開始される。ここで、当たり初期値用乱数33bが2サイクル目の第1の初期値として設定される。図5では、時点t3では当たり初期値用乱数33bが「130」であり、当たり判定用乱数33aの2サイクル目の第1の初期値として「130」が設定され、第1の初期値「130」から2サイクル目の更新が開始される。
当たり判定用乱数33aが時点t4で折り返し値「299」に達すると、2サイクル目の更新が終了してないため、リセット値「0」からの更新が継続される。そして、初期値「130」から1サイクル分(1周期分)の更新(「300」回の更新)が行われた時点t5で、当たり判定用乱数33aが、2サイクル目の第1の初期値「130」の直前の値「129」に達する。これにより、当たり判定用乱数33aの2サイクル目の更新(カウント)が終了する。
以後、同様にして、当たり判定用乱数33aは、1サイクル毎(1周期毎)に第1の初期値を当たり初期値用乱数33bを用いて更新しながら、第1の範囲内で更新される。
Then, at the time t2 when the start period T determined based on the random number obtained from the random number generation circuit 34 has elapsed from the time t1 when the RAM 33 was initialized, the hit determination random number 33a of the hit determination random number generation means 31c The update process is started (step T5), and the update process of the hit initial value random number 33b by the hit initial value random number generating means 31d is started (steps S24 and T5).
As shown in FIG. 5, the hit initial value random number 33b starts to be updated with the reset value “0” as the second initial value at time t2. Here, at the time point t2, the hit initial value random number 33b is the reset value “0”. Therefore, in the hit determination random number 33a, the reset value “0” is set as the first initial value at the time point t2, and the first cycle (first cycle) starts to be updated from the first initial value “0”. Is done. The hit determination random number 33a is updated (counted) for one cycle (one cycle) after the first cycle update at the time point t2 (the first between the reset value “0” and the turn-back value “299”). In the case of the range, the return value “299” is reached at time t3 when “300” updates) are performed. Thereby, the update (count) of the first cycle of the hit determination random number 33a is completed. During this period, the hit initial value random number 33b is updated at a shorter update cycle than the hit determination random number 33a.
The hit determination random number 33a starts to be updated in the second cycle when the update of the first cycle is completed at time t3. Here, the hit initial value random number 33b is set as the first initial value in the second cycle. In FIG. 5, the random number for initial value 33b is “130” at time t3, “130” is set as the first initial value of the second cycle of the random number for hit determination 33a, and the first initial value “130” is set. The second cycle update is started.
When the hit determination random number 33a reaches the return value “299” at the time t4, the update from the reset value “0” is continued because the update in the second cycle is not completed. Then, at the time t5 when one cycle (one cycle) is updated from the initial value “130” (“300” update), the hit determination random number 33a is the first initial value of the second cycle. The value “129” immediately before “130” is reached. Thereby, the second cycle update (count) of the hit determination random number 33a is completed.
Thereafter, similarly, the hit determination random number 33a is updated within the first range while updating the first initial value using the hit initial value random number 33b every cycle (every period). .

以上のように、本実施の形態では、当たり判定用乱数33aとして初期値更新型の当たり判定用乱数を用いるとともに、RAM33が初期化された場合には、RAM33が初期化されてから、乱数生成回路34で生成されている乱数に基づいて決定される開始期間Tが経過した後に当たり判定用乱数33aの更新処理を開始している。ここで、乱数生成回路34は、遊技機毎に固有な固有識別情報32aに基づいて乱数を生成しているため、乱数生成回路34で生成されている乱数32aに基づいて決定される開始期間Tは、遊技機毎に異なる。
これにより、当たり判定用乱数33aが、RAM33が初期化された後第1の値(例えば、「0」)から更新が開始される場合でも、RAM33が初期化されてから、当たり判定用乱数33aが設定値(当たり値)と一致するまでの期間(当たり判定用乱数33aが設定値と一致する時点)を予測するのが困難となる。したがって、RAM33の不正な初期化による不正な遊技を防止することができる。
As described above, in the present embodiment, an initial value update type hit determination random number is used as the hit determination random number 33a. When the RAM 33 is initialized, random number generation is performed after the RAM 33 is initialized. After the start period T determined based on the random number generated by the circuit 34 has elapsed, the process for updating the hit determination random number 33a is started. Here, since the random number generation circuit 34 generates a random number based on the unique identification information 32a unique to each gaming machine, the start period T determined based on the random number 32a generated by the random number generation circuit 34. Is different for each gaming machine.
As a result, even when the random number for hit determination 33a is updated from the first value (for example, “0”) after the RAM 33 is initialized, the random number for hit determination 33a after the RAM 33 is initialized. It is difficult to predict the period until the value matches the set value (win value) (when the hit determination random number 33a matches the set value). Therefore, an illegal game due to an illegal initialization of the RAM 33 can be prevented.

第1の実施の形態では、RAM33が初期化されてから、乱数生成回路34で生成されている乱数に基づいて決定される開始期間Tが経過した後に、当たり判定用乱数生成回路31cによる当たり判定用乱数33aの更新処理および当たり初期値用乱数生成回路31dによる当たり初期値用乱数33bの更新処理を開始させたが、当たり初期値用乱数生成手段31dによる当たり初期値用乱数33bの更新処理を当たり判定用乱数生成回路31cによる当たり判定用乱数33aの更新処理より前に開始させるように構成することもできる。
以下に、RAM33が初期化された場合、当たり初期値用乱数の更新処理を開始させ、その後、当たり判定用乱数の更新処理を開始させる第2の実施の形態を説明する。
第2の実施の形態の遊技機は、図1と同様に構成することができる。
また、第2の実施の形態の処理は、ステップS24での当たり初期値用乱数33bの更新処理と、ステップT5での当たり判定用乱数33aおよび当たり初期値用乱数33bの更新処理を除いて、図2〜図4に示されているフローチャートと同様の処理を実行する。
In the first embodiment, after the RAM 33 is initialized, after a start period T determined based on the random number generated by the random number generation circuit 34 has elapsed, the hit determination by the hit determination random number generation circuit 31c is performed. The process for updating the random number for random use 33a and the process for updating the random number for random initial value 33b by the random number generating circuit for successful initial value 31d are started. It may be configured to start before the hit determination random number generation circuit 31c updates the hit determination random number 33a.
Hereinafter, a second embodiment will be described in which, when the RAM 33 is initialized, the hit initial value random number update process is started, and then the hit determination random number update process is started.
The gaming machine of the second embodiment can be configured similarly to FIG.
Further, the process of the second embodiment, except for the update process of the hit initial value random number 33b in step S24 and the update process of the hit determination random number 33a and the hit initial value random number 33b in step T5, The same processing as in the flowcharts shown in FIGS. 2 to 4 is executed.

第2の実施の形態の動作を、当たり判定用乱数と当たり初期値用乱数の変化状態を示す図6を参照して説明する。以下では、各条件は、図5で説明した場合と同様である。また、図6では、当たり判定用乱数は実線で示され、当たり初期値用乱数は破線で示されている。なお、第2の実施の形態は、ステップS24での当たり初期値用乱数33bの更新処理と、ステップT5での当たり判定用乱数33aの更新処理および当たり初期値用乱数33bの更新処理が第1の実施の形態と異なるだけであるため、以下では、当たり初期値用乱数33bの更新処理と当たり判定用乱数33aの更新処理についてのみ説明する。   The operation of the second embodiment will be described with reference to FIG. 6 showing the change state of the hit determination random number and the hit initial value random number. In the following, each condition is the same as that described with reference to FIG. In FIG. 6, the hit determination random number is indicated by a solid line, and the hit initial value random number is indicated by a broken line. In the second embodiment, the hit initial value random number 33b update process in step S24, the hit determination random number 33a update process, and the hit initial value random number 33b update process in step T5 are the first. Therefore, only the update process of the hit initial value random number 33b and the update process of the hit determination random number 33a will be described below.

本実施の形態では、第1の実施の形態と同様に、RAM33を初期化する場合には、乱数生成回路34によって、パチンコ機毎に固有な固有識別情報32aに基づいて生成されている乱数を取得し、取得した乱数に基づいて開始期間Tを決定する(ステッS19)。
第1の実施の形態では、RAM33が初期化された時点t1から開始期間Tが経過した後に、当たり初期値用乱数生成手段31dによる当たり初期値用乱数33bの更新処理を開始させたが、本実施の形態では、RAM33が初期化された時点t1で、当たり初期値用乱数生成手段31dによる当たり初期値用乱数33bの更新処理を開始させている(ステップS24、ステップT5)。なお、当たり初期値用乱数33bの更新処理の開始時点は、RAM33が初期化されてから開始期間Tが経過する以前(当たり判定用乱数33aの更新が開始される前)であればよい。
これにより、図6に示すように、当たり初期値用乱数33bは、RAM33が初期化された時点t1において、リセット値「0」を第2の初期値として更新が開始される。
そして、RAM33が初期化されてから開始期間Tが経過した時点t2で、当たり判定用乱数生成手段31cによる当たり判定用乱数33aの更新処理が開始する(ステップT5)。
当たり初期値用乱数33bは、RAM33が初期化された時点t1で更新処理が開始されているため、時点t1から開始期間Tが経過した時点t2では、リセット値「0」と折り返し値「299」の範囲内の任意の値となる。これにより、当たり判定用乱数33aは、時点t2において、更新処理が開始されている当たり初期値用乱数31bの値が第1の初期値として設定され、設定された第1の初期値から1サイクル目(1周期目)の更新が開始される。図6では、当たり判定用乱数33aは、時点t2で、当たり初期値用乱数「60」が1サイクル目の第1の初期値として設定され、第1の初期値「60」から1サイクル目の更新が開始される。
当たり判定用乱数33aは、時点t2で第1の初期値「60」から1サイクル目の更新を開始した後、時点t3で折り返し値「299」に達するが、1サイクル目の更新が終了してないため、リセット値「0」からの更新が継続される。そして、初期値「60」から1サイクル分(1周期分)の更新(「300」回の更新)が行われた時点t4で、当たり判定用乱数33aが、1サイクル目の第1の初期値「60」の直前の値「59」に達する。これにより、当たり判定用乱数33aの2サイクル目の更新(カウント)が終了する。
当たり判定用乱数33aは、時点t4で1サイクル目の更新が終了すると、2サイクル目の更新が開始される。ここで、当たり初期値用乱数33bが2サイクル目の第1の初期値として設定される。図6では、時点t4では当たり初期値用乱数33bが「170」であり、当たり判定用乱数33aの2サイクル目の第1の初期値として「170」が設定され、第1の初期値「170」から2サイクル目の更新が開始される。
以後、同様にして、当たり判定用乱数33aは、1サイクル毎(1周期毎)に第1の初期値を当たり初期値用乱数33bを用いて更新しながら、第1の範囲内で更新される。
In the present embodiment, as in the first embodiment, when the RAM 33 is initialized, the random number generated by the random number generation circuit 34 based on the unique identification information 32a unique to each pachinko machine is used. The start period T is determined based on the acquired random number (step S19).
In the first embodiment, after the start period T has elapsed from the time point t1 when the RAM 33 is initialized, the hit initial value random number generation unit 31d starts the update process of the hit initial value random number 33b. In the embodiment, at the time point t1 when the RAM 33 is initialized, the hit initial value random number generating means 31d starts updating the hit initial value random number 33b (step S24, step T5). The starting point of the process for updating the winning initial value random number 33b may be before the start period T elapses after the RAM 33 is initialized (before the updating of the winning determination random number 33a is started).
As a result, as shown in FIG. 6, the hit initial value random number 33b starts to be updated with the reset value “0” as the second initial value at the time t1 when the RAM 33 is initialized.
Then, at the time t2 when the start period T has elapsed since the initialization of the RAM 33, the hit determination random number generation means 31c starts updating the hit determination random number 33a (step T5).
Since the update process is started at the time t1 when the RAM 33 is initialized, the hit initial value random number 33b is reset at “0” and the return value “299” at the time t2 when the start period T has elapsed from the time t1. Any value within the range of. Thus, the hit determination random number 33a is set to the value of the hit initial value random number 31b for which update processing has been started at the time point t2 as the first initial value, and one cycle from the set first initial value. Update of the eye (first cycle) is started. In FIG. 6, in the hit determination random number 33a, the hit initial value random number “60” is set as the first initial value in the first cycle at the time point t2, and the first cycle from the first initial value “60” is set to the first cycle. Update starts.
The hit determination random number 33a starts updating the first cycle from the first initial value “60” at the time t2, and then reaches the return value “299” at the time t3. Therefore, the update from the reset value “0” is continued. Then, at the time t4 when one cycle (one cycle) is updated from the initial value “60” (“300” update), the hit determination random number 33a is the first initial value in the first cycle. The value “59” immediately before “60” is reached. Thereby, the second cycle update (count) of the hit determination random number 33a is completed.
The hit determination random number 33a starts to be updated in the second cycle when the update of the first cycle is completed at time t4. Here, the hit initial value random number 33b is set as the first initial value in the second cycle. In FIG. 6, the hit initial value random number 33b is “170” at the time point t4, “170” is set as the first initial value in the second cycle of the hit determination random number 33a, and the first initial value “170” is set. The second cycle update is started.
Thereafter, similarly, the hit determination random number 33a is updated within the first range while updating the first initial value using the hit initial value random number 33b every cycle (every period). .

以上のように、本実施の形態では、当たり判定用乱数33aとして初期値更新型の当たり判定用乱数を用いるとともに、RAM33が初期化された場合には、RAM33が初期化されてから、乱数生成回路34で生成されている乱数に基づいて決定される開始期間Tが経過した後に当たり判定用乱数33aの更新処理を開始している。前述したように、乱数生成回路34で生成されている乱数に基づいて決定される開始期間Tは、遊技機毎に異なる。
さらに、RAM33が初期化されてから開始期間Tが経過する前に(RAM33が初期化された時点を含む)当たり初期値用乱数33bの更新処理を開始させている。このため、RAM33が初期化されてから開始期間Tが経過した時点における当たり初期値用乱数はランダムな値となる。これにより、RAM33が初期化された後の当たり判定用乱数の1サイクル目(1周期目)の第1の初期値は、遊技機毎に異なる値が設定される。
したがって、RAM33の不正な初期化による不正な遊技をより確実に防止することができる。
As described above, in the present embodiment, an initial value update type hit determination random number is used as the hit determination random number 33a. When the RAM 33 is initialized, random number generation is performed after the RAM 33 is initialized. After the start period T determined based on the random number generated by the circuit 34 has elapsed, the process for updating the hit determination random number 33a is started. As described above, the start period T determined based on the random number generated by the random number generation circuit 34 is different for each gaming machine.
Further, the initial value random number 33b is updated before the start period T elapses after the RAM 33 is initialized (including the time when the RAM 33 is initialized). For this reason, the random number for initial value at the time when the start period T has elapsed since the initialization of the RAM 33 is a random value. Thereby, the first initial value of the first cycle (first cycle) of the random number for hit determination after the RAM 33 is initialized is set to a different value for each gaming machine.
Therefore, an illegal game due to an illegal initialization of the RAM 33 can be prevented more reliably.

第1および第2の実施の形態では、RAM33が初期化されてから当たり判定用乱数が設定値と一致するまでの期間(一致する時期)の予測を困難にする手法として、遊技機毎に固有な固有識別情報に基づいて決定された(例えば、遊技機毎に固有な固有識別情報に基づいて生成されている乱数に基づいて決定された)開始期間Tが経過した後に当たり判定用乱数の更新処理を開始させる手法を用いたが、遊技機毎に固有な固有識別情報を用いて、RAM33が初期化されてから当たり判定用乱数が設定値と一致するまでの期間(一致する時期)の予測を困難にする手法はこれに限定されない。
以下に、RAM33が初期化された後の、当たり判定用乱数の1サイクル目(1周期目)の第1の初期値(開始値S)を、遊技機毎に固有な固有識別情報に基づいて設定することにより、RAM33が初期化されてから当たり判定用乱数が設定値と一致するまでの期間(一致する時期)の予測を困難にする手法を用いた第3の実施の形態を説明する。
第3の実施の形態の遊技機は、図1と同様に構成することができる。
また、第3の実施の形態の処理は、ステップS19での乱数に基づいた設定値処理と、ステップS24での当たり初期値用乱数33bの更新処理と、ステップT5での当たり判定用乱数33aおよび当たり初期値用乱数33bの更新処理を除いて、図2〜図4に示されているフローチャートと同様の処理を実行する。
In the first and second embodiments, as a technique for making it difficult to predict a period (a time when the random number for hit determination matches the set value) after the RAM 33 is initialized, it is specific to each gaming machine. The random number for hit determination is updated after the start period T determined based on the unique identification information (for example, determined based on the random number generated based on the unique identification information unique to each gaming machine) is passed. Although the method for starting the process is used, the unique identification information unique to each gaming machine is used to predict the period (the coincidence period) from when the RAM 33 is initialized until the hit determination random number matches the set value. However, the method for making this difficult is not limited to this.
Hereinafter, the first initial value (start value S) of the first cycle (first cycle) of the random number for hit determination after the RAM 33 is initialized is based on the unique identification information unique to each gaming machine. A third embodiment using a method that makes it difficult to predict a period from when the RAM 33 is initialized to when the hit determination random number matches the set value (matching time) will be described.
The gaming machine of the third embodiment can be configured similarly to FIG.
The processing of the third embodiment includes setting value processing based on the random number in step S19, update processing of the hit initial value random number 33b in step S24, hit determination random number 33a in step T5, and Except for the process of updating the hit initial value random number 33b, the same process as the flowchart shown in FIGS.

第3の実施の形態の動作を、当たり判定用乱数と当たり初期値用乱数の変化状態を示す図7を参照して説明する。以下では、各条件は、図5で説明した場合と同様である。また、図7では、当たり判定用乱数は実線で示され、当たり初期値用乱数は破線で示されている。なお、第3の実施の形態は、ステップS19での乱数に基づいた設定値処理と、ステップS24での当たり初期値用乱数33bの更新処理と、ステップT5での当たり判定用乱数33aの更新処理および当たり初期値用乱数33bの更新処理が第1の実施の形態と異なるだけであるため、以下では、乱数に基づいて設定値処理、当たり初期値用乱数33bの更新処理と当たり判定用乱数33aの更新処理についてのみ説明する。   The operation of the third embodiment will be described with reference to FIG. 7 showing the change state of the hit determination random number and the hit initial value random number. In the following, each condition is the same as that described with reference to FIG. In FIG. 7, the hit determination random number is indicated by a solid line, and the hit initial value random number is indicated by a broken line. In the third embodiment, the setting value process based on the random number in step S19, the update process for the random number for initial value 33b in step S24, and the update process for the random number for determination 33a in step T5. In addition, since the update process of the hit initial value random number 33b is different from that of the first embodiment, hereinafter, the set value process, the update process of the hit initial value random number 33b, and the hit determination random number 33a are based on the random number. Only the update process will be described.

本実施の形態では、RAM33を初期化する場合には、乱数生成回路34によって、パチンコ機毎に固有な固有識別情報32aに基づいて生成されている乱数を取得し、取得した乱数に基づいて、当り判定用乱数33aの開始値Sを決定する(ステッS19)。
第1および第2の実施の形態では、RAM33が初期化された時点t1から、固有識別情報32aに基づいて決定された開始期間Tが経過した後に、当たり初期値用乱数生成手段31dによる当たり初期値用乱数33bの更新処理を開始させたが、本実施の形態では、RAM33が初期化された時点t1で、当たり初期値用乱数生成手段31dによる当たり初期値用乱数33bの更新処理を開始させるとともに、当たり判定用乱数生成手段31cによる当たり判定用乱数33aの更新処理を、乱数生成回路34で生成されている乱数に基づいて決定された開始値Sを1サイクル目(1周期目)の第1の初期値として開始させている(ステップS24、ステップT5)。
なお、乱数生成回路34は、当たり判定用乱数33aの変化範囲、すなわち、第1の値であるリセット値「0」と第2の値である折返し値「299」の間の第1の範囲内で乱数が変化するように構成されるのが好ましい。例えば、主制御回路31(処理手段321a)から乱数生成回路34に、乱数の変化範囲を示す変化範囲情報(例えば、変化範囲を示す第5の値「0」と第6の値「299」)を出力し、乱数生成回路34で生成される乱数の変化範囲を設定可能に構成する。
当たり初期値用乱数生成手段31cは、RAM33が初期化された時点t1で当たり初期値用乱数33bの更新処理を開始する。この場合、当たり初期値用乱数33bは、図7に示されているように、リセット値「0」を第2の初期値として更新が開始される。
また、当たり判定用乱数生成手段31cも、RAM33が初期化された時点t1で、当り判定用乱数33aの更新処理を開始する。ここで、当り判定用乱数生成手段31cは、図7に示されているように、RAM33が初期化された場合には、当たり判定用乱数33aの1サイクル目の第1の初期値を、乱数生成回路34によって生成されている乱数に基づいて決定された開始値Sを用いて更新し(設定し)、当たり判定用乱数33aの1サイクル目(1周期目)の更新を開始する。
当たり判定用乱数33aは、時点t1で乱数に基づいて決定された開始値Sを第1の初期値として1サイクル目の更新が開始された後、時点t2で折り返し値「299」に達するが、1サイクル目の更新が終了してないため、リセット値「0」からの更新が継続される。そして、初期値「S」から1サイクル分(1周期分)の更新(「300」回の更新)が行われた時点t3で、当たり判定用乱数33aは、1サイクル目の第1の初期値「S」の直前の値に達する。これにより、当たり判定用乱数33aの1サイクル目の更新(カウント)が終了する。
当たり判定用乱数33aは、時点t3で当たり判定用乱数33aの1サイクル目の更新処理が終了すると、2サイクル目の更新が行われる。ここで、当たり判定用乱数生成手段31cは、RAM33が初期化された場合、当り判定用乱数33aの2サイクル目の第1の初期値は、当り初期値用乱数33bを用いて更新する(設定する)。したがって、当り判定用乱数33aの2サイクル目の第1の初期値は、当たり初期値用乱数33bを用いて更新される。図7では、時点t3で当たり初期値用乱数33bが「120」であり、当たり判定用乱数33aの2サイクル目の第1の初期値として「120」が設定され、第1の初期値「120」から2サイクル目の更新が開始される。
以後、同様にして、当たり判定用乱数33aは、1サイクル毎(1周期毎)に第1の初期値を当たり初期値用乱数33bを用いて更新しながら、第1の範囲内で更新される。
In the present embodiment, when the RAM 33 is initialized, the random number generation circuit 34 acquires a random number generated based on the unique identification information 32a unique to each pachinko machine, and based on the acquired random number, A start value S of the hit determination random number 33a is determined (step S19).
In the first and second embodiments, after the start period T determined based on the unique identification information 32a has elapsed since the time point t1 when the RAM 33 was initialized, the winning initial value random number generating means 31d generates a winning initial value. In this embodiment, the update process of the random number for value 33b is started. At the time t1 when the RAM 33 is initialized, the update process of the random number for random value 33b by the random number generator for random initial value 31d is started. At the same time, the update processing of the hit determination random number 33a by the hit determination random number generation means 31c is performed by changing the start value S determined based on the random number generated by the random number generation circuit 34 to the first cycle (first cycle) It is started as an initial value of 1 (step S24, step T5).
Note that the random number generation circuit 34 has a change range of the hit determination random number 33a, that is, within a first range between the reset value “0” as the first value and the return value “299” as the second value. It is preferable that the random number is changed. For example, change range information indicating the change range of the random number (for example, the fifth value “0” and the sixth value “299” indicating the change range) from the main control circuit 31 (processing unit 321a) to the random number generation circuit 34. And the change range of the random number generated by the random number generation circuit 34 can be set.
The hit initial value random number generation means 31c starts the update process of the hit initial value random number 33b at the time t1 when the RAM 33 is initialized. In this case, as shown in FIG. 7, the hit initial value random number 33b is started to be updated with the reset value “0” as the second initial value.
The hit determination random number generation means 31c also starts the update process of the hit determination random number 33a at the time t1 when the RAM 33 is initialized. Here, when the RAM 33 is initialized as shown in FIG. 7, the hit determination random number generation means 31c uses the first initial value of the first cycle of the hit determination random number 33a as a random number. Updating (setting) is performed using the start value S determined based on the random number generated by the generation circuit 34, and updating of the first cycle (first cycle) of the hit determination random number 33a is started.
The hit determination random number 33a reaches the return value “299” at the time point t2 after the update of the first cycle is started with the start value S determined based on the random number at the time point t1 as the first initial value. Since the update in the first cycle is not completed, the update from the reset value “0” is continued. Then, at the time t3 when one cycle (one cycle) is updated from the initial value “S” (“300” update), the hit determination random number 33a is the first initial value in the first cycle. The value just before “S” is reached. Thereby, the update (count) of the first cycle of the hit determination random number 33a is completed.
The hit determination random number 33a is updated in the second cycle when the first cycle update process of the hit determination random number 33a is completed at time t3. Here, when the RAM 33 is initialized, the hit determination random number generation means 31c updates the first initial value of the second cycle of the hit determination random number 33a using the hit initial value random number 33b (setting). To do). Accordingly, the first initial value of the second cycle of the hit determination random number 33a is updated using the hit initial value random number 33b. In FIG. 7, the hit initial value random number 33b is “120” at time t3, “120” is set as the first initial value of the second cycle of the hit determination random number 33a, and the first initial value “120” is set. The second cycle update is started.
Thereafter, similarly, the hit determination random number 33a is updated within the first range while updating the first initial value using the hit initial value random number 33b every cycle (every period). .

以上のように、本実施の形態では、当たり判定用乱数33aとして初期値更新型の当たり判定用乱数を用いるとともに、RAM33が初期化された場合には、乱数生成回路34で生成されている乱数に基づいて決定される開始値Sを、RAM33が初期化された後の当たり判定用乱数33aの1サイクル目(1周期目)の第1の初期値として設定し、当たり判定用乱数33aの更新処理を開始している。乱数生成回路34は、遊技機毎に固有な固有識別情報32aに基づいて乱数を生成している。このため、乱数生成回路34で生成されている乱数に基づいて決定される開始値Sは、遊技機毎に異なる。
これにより、RAM33が初期化された後当たり判定用乱数の更新が開始される場合でも、RAM33が初期化されてから、当たり判定用乱数33aが設定値(当たり値)と一致するまでの期間(当たり判定用乱数33aが設定値と一致する時点)を予測するのが困難となる。したがって、RAM33の不正な初期化による不正な遊技を防止することができる。
As described above, in the present embodiment, the initial value update type hit determination random number is used as the hit determination random number 33a, and the random number generated by the random number generation circuit 34 when the RAM 33 is initialized. Is set as the first initial value of the first cycle (first period) of the hit determination random number 33a after the RAM 33 is initialized, and the hit determination random number 33a is updated. Processing has started. The random number generation circuit 34 generates a random number based on the unique identification information 32a unique to each gaming machine. For this reason, the start value S determined based on the random number generated by the random number generation circuit 34 is different for each gaming machine.
Thus, even when the update of the random number for hit determination after the RAM 33 is initialized is started, the period from when the RAM 33 is initialized until the random number for hit determination 33a matches the set value (win value) ( It is difficult to predict the time (when the hit determination random number 33a matches the set value). Therefore, an illegal game due to an illegal initialization of the RAM 33 can be prevented.

なお、第1〜第3の実施の形態では、バックアップコンデンサ12からのバックアップ電力を供給するために、電源基板10や主制御基板20に電力線L3が接続されている。このため、電力線L3を短絡あるいは切断した状態で電源線L2を短絡させると、RAM33に記憶されている遊技情報が消去することがある。この場合、電源線L2の短絡を解除してDC12V電力の供給を開始させると、主制御回路31の復帰処理でRAM33が初期化される。この場合でも、前述したように、当たり判定用乱数が設定値と等しくなる時期を予測するのが困難であるため、不正な遊技が行われるのを防止することができる。   In the first to third embodiments, the power line L3 is connected to the power supply board 10 and the main control board 20 in order to supply the backup power from the backup capacitor 12. For this reason, when the power line L2 is short-circuited in a state where the power line L3 is short-circuited or disconnected, the game information stored in the RAM 33 may be erased. In this case, when the short circuit of the power supply line L2 is canceled and the supply of DC 12V power is started, the RAM 33 is initialized by the return process of the main control circuit 31. Even in this case, as described above, since it is difficult to predict when the hit determination random number becomes equal to the set value, it is possible to prevent an illegal game from being performed.

また、第1〜第3の実施の形態では、RAMクリアスイッチ23が主制御基板20に設けられているため、RAMクリアスイッチの操作信号(初期化指示信号)を伝送する信号線を主制御基板20に接続する必要がない。初期化指示信号を伝送する信号線が主制御基板20に接続されていないため、信号線に初期化指示信号を挿入した状態で電力線L2を短時間短絡させることによってRAM33が不正に初期化されるのを防止することができる。   In the first to third embodiments, since the RAM clear switch 23 is provided on the main control board 20, the signal line for transmitting the operation signal (initialization instruction signal) of the RAM clear switch is connected to the main control board. No need to connect to 20. Since the signal line for transmitting the initialization instruction signal is not connected to the main control board 20, the RAM 33 is illegally initialized by short-circuiting the power line L2 for a short time with the initialization instruction signal inserted into the signal line. Can be prevented.

本発明は、実施の形態で説明した構成に限定されず、種々の変更、追加、削除が可能である。
RAM(記憶回路)を初期化した後に、当たり判定用乱数が設定値と一致するまでの期間を遊技機に固有な固有識別情報(固有ID)に基づいて変更する手法としては、実施の形態で説明した手法に限定されず種々の手法を用いることができる。例えば、当たり判定用乱数33aの第1の初期値を、当たり初期値用乱数33bあるいは乱数生成回路34で生成されている乱数に基づいて決定される値のいずれかを用いて更新するように構成することができる。当たり初期値用乱数33bあるいは乱数生成回路34で生成されている乱数に基づいて決定される値のいずれを用いるかは、抽選等の適宜の方法を用いて決定される。あるいは、RAM33が初期化されてから当たり判定用乱数33aがn周期(n;正の整数)更新されるまで(好適には、1周期更新されるまで)は、乱数生成回路34で生成されている乱数に基づいて決定される値を用いて当たり判定用乱数33aの第1の初期値を更新し、n周期更新された後は、当たり初期値用乱数33bあるいは乱数生成回路34で生成されている乱数に基づいて決定される値のいずれかを用いて当たり判定用乱数33aの第1の初期値を更新するように構成することができる。あるいは、RAM33が初期化されてから当たり判定用乱数33aがn周期(n;正の整数)更新されるまで(好適には、1周期更新されるまで)は、乱数生成回路34で生成されている乱数に基づいて決定される値を用いて当たり判定用乱数33aの第1の初期値を更新し、n周期更新された後は、当たり初期値用乱数33bを用いて当たり判定用乱数33aの第1の初期値を更新するように構成することができる。あるいは、乱数生成回路34で生成されている乱数に基づいて決定される値を用いて当たり判定用乱数33aの1周期毎の第1の初期値を更新するように構成することができる。いずれの手法を用いた場合でも、RAM33が初期化されてから当たり判定用乱数33aが設定値と一致するまでの期間を予測するのが困難である。
電源基板10の構成や、主制御基板20の構成は実施の形態で説明した構成に限定されない。
本発明は、実施の形態で説明した各構成を個別にあるいは複数を適宜組み合わせて構成することができる。
主制御基板20に供給する直流電力の電圧値は、適宜選択可能である。
主制御回路31が設けられている主制御基板20について説明したが、本発明は、他の制御回路が設けられている他の制御基板にも適用することができる。
パチンコ機として構成した場合について説明したが、本発明はパチンコ機以外の種々の遊技機として構成することができる。
The present invention is not limited to the configuration described in the embodiment, and various changes, additions, and deletions are possible.
As a method of changing the period until the hit determination random number matches the set value after initializing the RAM (memory circuit) based on the unique identification information (unique ID) unique to the gaming machine, Various methods can be used without being limited to the described method. For example, the first initial value of the hit determination random number 33a is updated using either the hit initial value random number 33b or a value determined based on the random number generated by the random number generation circuit 34. can do. Whether to use a value determined based on the random number 33b for winning initial value or the random number generated by the random number generation circuit 34 is determined using an appropriate method such as lottery. Alternatively, until the random number for determination 33a is updated by n cycles (n: a positive integer) after the RAM 33 is initialized (preferably until one cycle is updated), the random number generator 34 generates The first initial value of the hit determination random number 33a is updated using a value determined on the basis of the random number, and after the n period update, the hit initial value random number 33b or the random number generation circuit 34 The first initial value of the hit determination random number 33a can be updated using any of the values determined based on the random number. Alternatively, until the random number for determination 33a is updated by n cycles (n: a positive integer) after the RAM 33 is initialized (preferably until one cycle is updated), the random number generator 34 generates The first initial value of the hit determination random number 33a is updated using a value determined on the basis of the random number, and after the n cycles are updated, the hit determination random number 33b is used to determine the hit determination random number 33a. The first initial value can be configured to be updated. Alternatively, the first initial value for each cycle of the hit determination random number 33 a can be updated using a value determined based on the random number generated by the random number generation circuit 34. Whichever method is used, it is difficult to predict the period from when the RAM 33 is initialized until the hit determination random number 33a matches the set value.
The configuration of the power supply substrate 10 and the configuration of the main control substrate 20 are not limited to the configurations described in the embodiments.
The present invention can be configured by individually combining the configurations described in the embodiments individually or in combination.
The voltage value of the DC power supplied to the main control board 20 can be selected as appropriate.
Although the main control board 20 provided with the main control circuit 31 has been described, the present invention can also be applied to other control boards provided with other control circuits.
Although the case where it is configured as a pachinko machine has been described, the present invention can be configured as various gaming machines other than the pachinko machine.

本発明は、以下のように構成することができる。
例えば、「(態様1)請求項1の遊技機であって、前記初期値用乱数生成手段は、前記処理手段によって前記記憶手段が初期化された場合には、前記当たり判定用乱数生成手段が前記当たり判定用乱数を更新する処理を開始する前に、前記初期値用乱数を更新する処理を開始することを特徴とする遊技機。」として構成することができる。
The present invention can be configured as follows.
For example, “(Aspect 1) The gaming machine according to claim 1, wherein the initial value random number generation means is configured such that when the storage means is initialized by the processing means, the winning determination random number generation means Before starting the process of updating the hit determination random number, the game machine is characterized in that the process of updating the initial value random number is started. "

本態様では、記憶手段が初期化された場合には、初期値用乱数生成手段による当たり初期値用乱数の更新処理を、当たり判定用乱数生成手段による当たり判定用乱数の更新処理が開始される前に開始する。初期値用乱数の更新処理の開始時期は、当たり判定用乱数の更新処理が開始される前であればよく、記憶手段が初期化された時点でもよい。
本発明では、記憶手段が初期化されてから、遊技機毎に固有な固有識別情報に基づいて決定された開始期間が経過した後に当たり判定用乱数の更新処理を開始するとともに、更新が開始されている初期値用乱数を用いて当たり判定用乱数の第1の初期値が更新されるため、記憶手段が初期化されてから、当たり判定用乱数が設定値(当たり値)と一致する時点を予測するのがより困難である。したがって、当たり判定用乱数が設定値(当たり値)と一致する時点を予測した不正な遊技をより確実に防止することができる。
In this aspect, when the storage means is initialized, the initial value random number update process by the initial value random number generation means is started, and the hit determination random number update process by the hit determination random number generation means is started. Start before. The initial value random number update process may be started before the hit determination random number update process is started, or may be the time when the storage unit is initialized.
In the present invention, after the storage means is initialized, after the start period determined based on the unique identification information unique to each gaming machine has elapsed, the hit determination random number update process is started and the update is started. Since the first initial value of the hit determination random number is updated using the initial value random number, the time when the hit determination random number matches the set value (win value) after the storage means is initialized It is more difficult to predict. Therefore, it is possible to more surely prevent an illegal game in which the point in time when the hit determination random number matches the set value (win value).

また、「(態様2)処理手段と、抽選手段と、当たり判定用乱数生成手段および記憶手段が設けられている制御基板と、前記制御基板に電力を供給する電源手段が設けられている電源基板を備え、前記記憶手段には、当たり判定用乱数が記憶され、前記当たり判定用乱数生成手段は、前記当たり判定用乱数を、第1の値と第2の値の間の第1の範囲内の第1の初期値から、前記第1の値から前記第2の値の方向に第1の更新値ずつ前記第1の範囲の1周期に亘って順次更新する処理を、1周期毎に前記第1の初期値を更新しながら実行し、前記抽選手段は、抽選条件の成立に起因して前記当たり判定用乱数と設定値を比較する抽選処理を実行し、前記処理手段は、前記抽選手段による抽選結果が、前記当たり判定用乱数が前記設定値と一致していることを示している場合に当たり遊技状態を発生させ、また、停電が発生したことを示す停電検出信号が入力された場合には、前記記憶手段に記憶されている情報に基づいて判定情報を生成して前記記憶手段に記憶し、駆動電力が供給された場合には、前記記憶手段に記憶されている判定情報に基づいて前記記憶手段に記憶されている情報が正常であるか否かを判定し、前記記憶手段に記憶されている情報が異常であることを判定すると前記記憶手段を初期化する遊技機であって、前記制御基板には、初期値用乱数生成手段と、乱数生成手段と、電圧変換手段および停電検出手段が設けられているとともに、前記記憶手段には、初期値用乱数および遊技機毎に固有な固有識別情報が記憶され、前記初期値用乱数生成手段は、前記初期値用乱数を、前記第1の範囲内である第2の範囲内の第2の初期値から第2の更新値ずつ前記第2の範囲に亘って順次更新する処理を実行し、前記乱数生成手段は、前記記憶手段に記憶されている固有識別情報に基づいて乱数を生成し、前記当たり判定用乱数生成手段は、前記1周期毎の第1の初期値を前記初期値用乱数あるいは前記乱数生成手段で生成されている乱数のいずれかを用いて更新しながら前記当たり判定用乱数を更新する処理を実行し、前記電圧変換手段は、前記電源手段から供給される電力の電圧を前記処理手段の駆動電力の電圧に対応する電圧に変換し、前記停電検出手段は、前記電源手段から供給される電力が低下していることを検出した場合に前記停電検出信号を出力することを特徴とする遊技機。」として構成することができる。   Further, “(Aspect 2) Power supply board provided with a processing means, a lottery means, a control board provided with a hit determination random number generation means and a storage means, and a power supply means for supplying power to the control board. And the storage means stores a winning determination random number, and the winning determination random number generating means stores the winning determination random number within a first range between a first value and a second value. A process of sequentially updating the first range from the first initial value in the direction of the first value to the second value by the first update value over one period of the first range. The lottery means performs a lottery process for comparing the winning determination random number with a set value due to establishment of a lottery condition, and the processing means includes the lottery means. The lottery result by means that the hit determination random number matches the set value. When a power failure detection signal indicating that a power failure has occurred and a power failure detection signal has been input is generated based on the information stored in the storage means When the drive power is supplied to the storage unit, it is determined whether the information stored in the storage unit is normal based on the determination information stored in the storage unit. And a game machine that initializes the storage means when it is determined that the information stored in the storage means is abnormal. The control board includes an initial value random number generation means, a random number generation means, The initial value random number and unique identification information for each gaming machine are stored in the storage means, and the initial value random number generation means For value Executing a process of sequentially updating the number from the second initial value in the second range within the first range by the second update value over the second range, and the random number generation means Generating a random number based on the unique identification information stored in the storage means, wherein the hit determination random number generation means uses the first initial value for each cycle as the initial value random number or the random number generation means. The hit conversion random number is updated while updating using any of the random numbers generated in step (i), and the voltage conversion means drives the processing means to drive the voltage of power supplied from the power supply means. The power failure detection means outputs the power failure detection signal when the power failure detection means detects that the power supplied from the power supply means is reduced. Can be configured as Kill.

本態様では、請求項1の遊技機と同様に、処理手段と、抽選手段と、当たり判定用乱数生成手段と、初期値用乱数生成手段と、乱数生成手段と、記憶手段と、電圧変換手段および停電検出手段が設けられている制御基板と、制御基板に電力を供給する電源手段が設けられている電源基板を備えている。処理手段、抽選手段、初期値用乱数生成手段、乱数生成手段、電圧変換手段および停電検出手段は、請求項1の遊技機と同様の処理を実行する。また、記憶手段には、請求項1の遊技機と同様に、当たり判定用乱数、当たり初期値用乱数が記憶される。
そして、本態様では、当たり判定用乱数生成手段は、当たり判定用乱数の1周期毎の第1の初期値を、初期値用乱数あるいは乱数生成手段で生成されている乱数のいずれかを用いて更新しながら当たり判定用乱数を更新する処理を実行する。初期値用乱数あるいは乱数生成手段で生成されている乱数のいずれを用いるかは、例えば、抽選等の適宜の方法を用いて決定することができる。
本態様では、初期値用乱数あるいは乱数生成手段で生成されている乱数のいずれかを用いて当たり判定用乱数の1周期毎の第1の初期値を更新しているため、記憶手段が初期化されてから、当たり判定用乱数が設定値(当たり値)と一致する時点を予測するのが困難である。したがって、当たり判定用乱数が設定値(当たり値)と一致する時点を予測した不正な遊技を防止することができる。
In this aspect, as with the gaming machine of claim 1, the processing means, the lottery means, the winning determination random number generating means, the initial value random number generating means, the random number generating means, the storage means, and the voltage converting means. And a power supply board on which a power supply means for supplying electric power to the control board is provided. The processing means, the lottery means, the initial value random number generation means, the random number generation means, the voltage conversion means, and the power failure detection means execute the same processing as that of the gaming machine of claim 1. The storage means stores a hit determination random number and a hit initial value random number as in the gaming machine of claim 1.
In this aspect, the hit determination random number generation means uses the first initial value for each cycle of the hit determination random number, using either the initial value random number or the random number generated by the random number generation means. While updating, the process for updating the random number for hit determination is executed. Whether to use the initial value random number or the random number generated by the random number generation means can be determined using an appropriate method such as lottery, for example.
In this aspect, since the first initial value for each cycle of the hit determination random number is updated using either the initial value random number or the random number generated by the random number generation means, the storage means is initialized. Since then, it is difficult to predict when the hit determination random number matches the set value (win value). Therefore, it is possible to prevent an illegal game in which a point in time when the winning determination random number matches the set value (winning value) is predicted.

また、「(態様3)態様2の遊技機であって、前記当たり判定用乱数生成手段は、前記処理手段によって前記記憶手段が初期化された場合には、前記記憶手段が初期化されてから前記当たり判定用乱数がn周期(n:正の整数)更新されるまでは、前記1周期毎の第1の初期値を前記乱数生成手段で生成されている乱数を用いて更新することを特徴とする遊技機。」として構成することができる。   Further, “(Aspect 3) A gaming machine according to Aspect 2, wherein the random number generation means for hit determination is determined after the storage means is initialized when the storage means is initialized by the processing means. Until the hit determination random number is updated by n cycles (n: positive integer), the first initial value for each cycle is updated using the random number generated by the random number generation means. Can be configured as a game machine.

本態様では、当たり判定用乱数生成手段は、記憶手段が初期化された場合には、記憶手段が初期化されてから当たり判定用乱数がn周期(n:正の整数)更新されるまで、好適には1周期更新されるまでは、当たり判定用乱数の1周期毎の第1の初期値を、乱数生成手段で生成されている乱数を用いて更新する。
本態様を用いることにより、記憶手段が初期化されてから、当たり判定用乱数が設定値(当たり値)と一致する時点を予測するのがより困難となる。
In this aspect, when the storage means is initialized, the hit determination random number generation means is updated until the hit determination random number is updated by n cycles (n: a positive integer) after the storage means is initialized. Preferably, the first initial value for each cycle of the hit determination random number is updated using the random number generated by the random number generation means until the cycle is updated.
By using this aspect, it becomes more difficult to predict when the hit determination random number matches the set value (win value) after the storage unit is initialized.

また、「(態様4)態様2の遊技機であって、前記当たり判定用乱数生成手段は、前記処理手段によって前記記憶手段が初期化された場合には、前記記憶手段が初期化されてから前記当たり判定用乱数がn周期(n:正の整数)更新されるまでは、前記1周期毎の第1の初期値を前記乱数生成手段で生成されている乱数を用いて更新し、前記当たり判定用乱数がn周期更新された後は、前記1周期毎の第1の初期値を前記初期値用乱数を用いて更新することを特徴とする遊技機。」として構成することができる。   Further, “(Aspect 4) is a gaming machine according to Aspect 2, wherein the random number generation means for hit determination is determined after the storage means is initialized when the storage means is initialized by the processing means. Until the hit determination random number is updated by n cycles (n: positive integer), the first initial value for each cycle is updated using the random number generated by the random number generation means, After the determination random number has been updated for n cycles, the first initial value for each cycle is updated using the initial value random number. ”

本態様では、記憶手段が初期化されてから、当たり判定用乱数がn周期更新されるまでは、乱数生成手段で生成されている乱数を用いて当たり判定用乱数の各周期毎の第1の初期値を更新し、n周期更新された後は、初期値用乱数を用いて当たり判定用乱数の各周期毎の第1の初期値を更新している。
本態様を用いることにより、記憶手段が初期化されてから、当たり判定用乱数が設定値(当たり値)と一致する時点を予測するのが困難となる。
In this aspect, from the initialization of the storage means until the hit determination random number is updated by n cycles, the first random number for each hit determination random number is generated using the random number generated by the random number generation means. After the initial value is updated and n cycles are updated, the first initial value for each cycle of the hit determination random number is updated using the initial value random number.
By using this aspect, it is difficult to predict when the hit determination random number matches the set value (win value) after the storage unit is initialized.

また、「(態様5)請求項1、態様1〜4のいずれかの遊技機であって、前記当たり判定用乱数生成手段は、前記処理手段のメイン処理内で前記当たり判定用乱数を更新する処理を実行し、前記初期値用乱数生成手段は、前記処理手段のメイン処理内および前記処理手段のメイン処理内のタイマ割り込み処理内で前記初期値用乱数を更新する処理を実行することを特徴とする遊技機。」として構成することができる。   Further, “(Aspect 5) is the gaming machine according to any one of claims 1 and 1, wherein the hit determination random number generation means updates the hit determination random number within the main process of the processing means. The initial value random number generation means executes processing for updating the initial value random number in the main processing of the processing means and in the timer interrupt processing in the main processing of the processing means. Can be configured as a game machine.

本態様では、当たり判定用乱数生成手段は、処理手段のメイン処理内で当たり判定用乱数を更新する処理を実行し、初期値用乱数生成手段は、処理手段のメイン処理内および処理手段のメイン処理内のタイマ割り込み処理内で初期値用乱数を更新する処理を実行する。
本態様では、当たり判定用乱数の1周期内における初期値用乱数の更新処理回数を増大することができるため、当たり判定用乱数の更新値をよりランダムに更新することができる。
In this aspect, the hit determination random number generating means executes a process of updating the hit determination random number within the main process of the processing means, and the initial value random number generating means is within the main process of the processing means and the main of the processing means. The process of updating the initial value random number is executed in the timer interrupt process in the process.
In this aspect, since the number of initial value random number update processes within one cycle of the hit determination random number can be increased, the update value of the hit determination random number can be updated more randomly.

また、「(態様6)処理手段と、抽選手段と、当たり判定用乱数生成手段および記憶手段が設けられている制御基板と、前記制御基板に電力を供給する電源手段が設けられている電源基板を備え、前記記憶手段には、当たり判定用乱数が記憶され、前記当たり判定用乱数生成手段は、前記当たり判定用乱数を、第1の値と第2の値の間の第1の範囲内の第1の初期値から、前記第1の値から前記第2の値の方向に第1の更新値ずつ前記第1の範囲の1周期に亘って順次更新する処理を、1周期毎に前記第1の初期値を更新しながら実行し、前記抽選手段は、抽選条件の成立に起因して前記当たり判定用乱数と設定値を比較する抽選処理を実行し、前記処理手段は、前記抽選手段による抽選結果が、前記当たり判定用乱数が前記設定値と一致していることを示している場合に当たり遊技状態を発生させ、また、停電が発生したことを示す停電検出信号が入力された場合には、前記記憶手段に記憶されている情報に基づいて判定情報を生成して前記記憶手段に記憶し、駆動電力が供給された場合には、前記記憶手段に記憶されている判定情報に基づいて前記記憶手段に記憶されている情報が正常であるか否かを判定し、前記記憶手段に記憶されている情報が異常であることを判定すると前記記憶手段を初期化する遊技機であって、前記制御基板には、乱数生成手段と、電圧変換手段および停電検出手段が設けられており、前記乱数生成手段は、前記記憶手段に記憶されている固有識別情報に基づいて乱数を生成し、前記当たり判定用乱数生成手段は、前記第1の初期値を前記乱数生成手段で生成されている乱数を用いて更新し、前記電圧変換手段は、前記電源手段から供給される電力の電圧を前記処理手段の駆動電力の電圧に対応する電圧に変換し、前記停電検出手段は、前記電源手段から供給される電力が低下していることを検出した場合に前記停電検出信号を出力することを特徴とする遊技機。」として構成することができる。   Further, “(Aspect 6): a power supply board provided with a processing means, a lottery means, a control board provided with a random number generator for hit determination and a storage means, and a power supply means for supplying power to the control board And the storage means stores a winning determination random number, and the winning determination random number generating means stores the winning determination random number within a first range between a first value and a second value. A process of sequentially updating the first range from the first initial value in the direction of the first value to the second value by the first update value over one period of the first range. The lottery means performs a lottery process for comparing the winning determination random number with a set value due to establishment of a lottery condition, and the processing means includes the lottery means. The lottery result by means that the hit determination random number matches the set value. When a power failure detection signal indicating that a power failure has occurred and a power failure detection signal has been input is generated based on the information stored in the storage means When the drive power is supplied to the storage unit, it is determined whether the information stored in the storage unit is normal based on the determination information stored in the storage unit. And a game machine that initializes the storage means when it is determined that the information stored in the storage means is abnormal. The control board includes a random number generation means, a voltage conversion means, and a power failure detection means. The random number generation unit generates a random number based on the unique identification information stored in the storage unit, and the hit determination random number generation unit generates the first initial value as the random number generation. hand The voltage conversion means converts the voltage of the power supplied from the power supply means into a voltage corresponding to the voltage of the driving power of the processing means, and the power failure detection means The power outage detection signal is output when it is detected that the power supplied from the power supply means is reduced.

本態様では、処理手段と、抽選手段と、当たり判定用乱数生成手段と、乱数生成手段と、記憶手段と、電圧変換手段および停電検出手段が設けられている制御基板と、制御基板に電力を供給する電源手段が設けられている電源基板を備えている。処理手段、抽選手段、乱数生成手段、電圧変換手段および停電検出手段は、請求項1の遊技機と同様の処理を実行する。また、記憶手段には、当たり判定用乱数が記憶される。
そして、本態様では、当たり判定用乱数生成手段は、当たり判定用乱数の1周期毎の第1の初期値を、乱数生成手段で生成されている乱数を用いて更新しながら当たり判定用乱数を更新する処理を実行する。
本態様では、乱数生成手段で生成されている乱数を用いて当たり判定用乱数の1周期毎の第1の初期値を更新しているため、簡単な構成で、記憶手段が初期化されてから、当たり判定用乱数が設定値(当たり値)と一致する時点を予測するのが困難となる。
In this aspect, the processing means, the lottery means, the hit determination random number generation means, the random number generation means, the storage means, the control board provided with the voltage conversion means and the power failure detection means, and power to the control board. A power supply board provided with power supply means for supplying is provided. The processing means, the lottery means, the random number generation means, the voltage conversion means, and the power failure detection means execute the same processing as that of the gaming machine according to claim 1. The storage means stores a hit determination random number.
In this aspect, the hit determination random number generation means updates the first initial value for each cycle of the hit determination random number using the random number generated by the random number generation means, while the hit determination random number is updated. Execute the update process.
In this aspect, since the first initial value for each period of the hit determination random number is updated using the random number generated by the random number generation means, the storage means is initialized with a simple configuration. Therefore, it is difficult to predict when the hit determination random number matches the set value (win value).

また、「(態様7)請求項1、態様1〜6のいずれかの遊技機であって、前記制御基板には、前記記憶手段の初期化を指示する初期化指示信号を出力する初期化指示手段が設けられており、前記処理手段は、前記初期化指示手段から初期化信号が出力されている状態で駆動電力が供給された場合には、前記記憶手段を初期化することを特徴とする遊技機。」として構成することができる。   In addition, “(Aspect 7) is the gaming machine according to any one of claims 1 and 1 to 6, wherein the control board outputs an initialization instruction signal for instructing initialization of the storage means. Means is provided, and the processing means initializes the storage means when drive power is supplied in a state where an initialization signal is output from the initialization instruction means. Game machine. "

本態様では、記憶回路の初期化を指示する初期化指示信号を出力する初期化指示手段を制御基板に設けている。処理手段は、初期化指示手段から初期化指示信号が出力されている状態で動作した場合に記憶手段を初期化する。
本態様では、初期化指示手段からの初期化指示信号を伝送するための信号線を制御基板に接続する必要がないため、初期化指示信号を伝送するための信号線に対する不正操作を防止することができる。
In this aspect, the control board is provided with initialization instruction means for outputting an initialization instruction signal for instructing initialization of the memory circuit. The processing means initializes the storage means when operating in a state where the initialization instruction signal is output from the initialization instruction means.
In this aspect, since it is not necessary to connect a signal line for transmitting the initialization instruction signal from the initialization instruction means to the control board, it is possible to prevent an unauthorized operation on the signal line for transmitting the initialization instruction signal. Can do.

また、「(態様8)請求項1、態様1〜7のいずれかの遊技機であって、前記電源基板には、前記制御基板に設けられている前記記憶手段にバックアップ電力を供給するバックアップ電源が設けられていることを特徴とする遊技機。」として構成することができる。   Further, “(Aspect 8) is a gaming machine according to any one of Claims 1 and 1-7, wherein the power supply board supplies backup power to the storage means provided on the control board. It is possible to configure as a gaming machine characterized by having “.

本態様では、記憶手段にバックアップ電力を供給するバックアップ電源を電源基板に設けている。
これにより、バックアップ電源を制御基板に設けた場合のように、制御基板を取り外して故意に不正な遊技状態に設定する不正を防止することができる。
In this aspect, a backup power supply for supplying backup power to the storage means is provided on the power supply board.
As a result, as in the case where a backup power supply is provided on the control board, it is possible to prevent an illegal act of intentionally setting the game state by removing the control board.

本発明の第1の実施の形態の概略構成を示す図である。1 is a diagram showing a schematic configuration of a first embodiment of the present invention. 本発明の第1の実施の形態の電源投入時処理(メイン処理を含む)の概略を説明するフローチャートである。It is a flowchart explaining the outline of the power-on process (a main process is included) of the 1st Embodiment of this invention. 本発明の第1の実施の形態の電源投入時処理(メイン処理を含む)の概略を説明するフローチャートである。It is a flowchart explaining the outline of the power-on process (a main process is included) of the 1st Embodiment of this invention. 本発明の第1の実施の形態のタイマ割り込み処理の概略を説明するフローチャートである。It is a flowchart explaining the outline of the timer interruption process of the 1st Embodiment of this invention. 本発明の第1の実施の形態の当たり判定用乱数と当たり初期値用乱数の変化状態を示す図である。FIG. 6 is a diagram showing a change state of a hit determination random number and a hit initial value random number according to the first embodiment of the present invention. 本発明の第2の実施の形態の当たり判定用乱数と当たり初期値用乱数の変化状態を示す図である。It is a figure which shows the change state of the random number for winning determination and the random number for winning initial value of the 2nd Embodiment of this invention. 本発明の第3の実施の形態の当たり判定用乱数と当たり初期値用乱数の変化状態を示す図である。It is a figure which shows the change state of the random number for winning determination and the random number for winning initial value of the 3rd Embodiment of this invention. 従来例の当たり判定用乱数の変化状態を示す図である。It is a figure which shows the change state of the random number for hit determination of a prior art example.

符号の説明Explanation of symbols

10 電源基板
11 電源回路(電源手段)
12 バックアップコンデンサ(バックアップ電源)
20 主制御基板
21 電圧変換回路(電圧変換手段)
22 停電検出回路(停電検出手段)
23 RAMクリアスイッチ(初期化指示手段)
30 主制御回路IC
31 主制御回路
31a 処理手段
31b 抽選手段
31c 当たり判定用乱数生成手段
31d 初期値用乱数生成手段
32 ROM
32a 固有識別情報
33 RAM
33a 当たり判定用乱数
33b 初期値用乱数
34 乱数生成回路(乱数生成手段)
10 power supply board 11 power supply circuit (power supply means)
12 Backup capacitor (backup power supply)
20 Main control board 21 Voltage conversion circuit (voltage conversion means)
22 Power failure detection circuit (power failure detection means)
23 RAM clear switch (initialization instruction means)
30 Main control circuit IC
31 main control circuit 31a processing means 31b lottery means 31c hit determination random number generation means 31d initial value random number generation means 32 ROM
32a Unique identification information 33 RAM
33a Random number for judgment 33b Random number for initial value 34 Random number generation circuit (random number generation means)

Claims (1)

処理手段と、抽選手段と、当たり判定用乱数生成手段および記憶手段が設けられている制御基板と、前記制御基板に電力を供給する電源手段が設けられている電源基板を備え、
前記記憶手段には、当たり判定用乱数が記憶され、
前記当たり判定用乱数生成手段は、前記当たり判定用乱数を、第1の値と第2の値の間の第1の範囲内の第1の初期値から、前記第1の値から前記第2の値の方向に第1の更新値ずつ前記第1の範囲内の1周期に亘って順次更新する処理を、1周期毎に前記第1の初期値を更新しながら実行し、
前記抽選手段は、抽選条件の成立に起因して前記当たり判定用乱数と設定値を比較する抽選処理を実行し、
前記処理手段は、前記抽選手段による抽選結果が、前記当たり判定用乱数が前記設定値と一致していることを示している場合に当たり遊技状態を発生させ、また、停電が発生したことを示す停電検出信号が入力された場合には、前記記憶手段に記憶されている情報に基づいて判定情報を生成して前記記憶手段に記憶し、駆動電力が供給された場合には、前記記憶手段に記憶されている判定情報に基づいて前記記憶手段に記憶されている情報が正常であるか否かを判定し、前記記憶手段に記憶されている情報が異常であることを判定すると前記記憶手段を初期化する遊技機であって、
前記制御基板には、初期値用乱数生成手段と、乱数生成手段と、電圧変換手段および停電検出手段が設けられているとともに、前記記憶手段には、初期値用乱数および遊技機毎に固有な固有識別情報が記憶され、
前記初期値用乱数生成手段は、前記初期値用乱数を、前記第1の範囲内である第2の範囲内の第2の初期値から第2の更新値ずつ前記第2の範囲に亘って順次更新する処理を実行し、
前記乱数生成手段は、前記記憶手段に記憶されている固有識別情報に基づいて乱数を生成し、
前記初期値用乱数生成手段は、前記処理手段によって前記記憶手段が初期化された場合には、前記記憶手段が初期化された時点で、前記初期値用乱数を更新する処理を開始し、
前記当たり判定用乱数生成手段は、前記処理手段によって前記記憶手段が初期化された場合には、前記記憶手段が初期化された時点から、前記乱数生成手段で生成された乱数に基づいて決定される期間が経過した時点で、前記1周期毎の第1の初期値を前記初期値用乱数を用いて更新しながら前記当たり判定用乱数を更新する処理を開始し、
前記電圧変換手段は、前記電源手段から供給される電力の電圧を前記処理手段の駆動電力の電圧に対応する電圧に変換し、
前記停電検出手段は、前記電源手段から供給される電力が低下していることを検出した場合に前記停電検出信号を出力することを特徴とする遊技機。
A processing means, a lottery means, a control board provided with a hit determination random number generating means and a storage means, and a power supply board provided with a power supply means for supplying power to the control board,
The storage means stores a hit determination random number,
The hit determination random number generator generates the hit determination random number from a first initial value within a first range between a first value and a second value, from the first value to the second value. Sequentially updating the first initial value in the direction of the value over one period within the first range while updating the first initial value every period,
The lottery means executes a lottery process for comparing the random number for hit determination and a set value due to establishment of a lottery condition,
The processing means generates a winning gaming state when a lottery result by the lottery means indicates that the winning determination random number matches the set value, and a power failure indicating that a power failure has occurred. When a detection signal is input, determination information is generated based on the information stored in the storage unit and stored in the storage unit. When drive power is supplied, the determination information is stored in the storage unit. It is determined whether or not the information stored in the storage means is normal based on the determined determination information, and the storage means is initialized when it is determined that the information stored in the storage means is abnormal A gaming machine that
The control board is provided with initial value random number generation means, random number generation means, voltage conversion means and power failure detection means, and the storage means is unique to the initial value random number and each gaming machine. Unique identification information is stored,
The initial value random number generation means generates the initial value random number from the second initial value within the second range, which is within the first range, from the second initial value over the second range. Execute the process to update sequentially,
The random number generation means generates a random number based on the unique identification information stored in the storage means,
The initial value random number generation means, when the storage means is initialized by the processing means, starts a process of updating the initial value random number when the storage means is initialized,
The hit determination random number generation means is determined based on the random number generated by the random number generation means from the time when the storage means is initialized when the storage means is initialized by the processing means. that when the period of time, starts the process of updating the hit determination random number while updating using first the initial value for the random number initial value of the 1 per cycle,
The voltage conversion means converts the voltage of power supplied from the power supply means into a voltage corresponding to the voltage of drive power of the processing means,
The gaming machine according to claim 1, wherein the power failure detection means outputs the power failure detection signal when it is detected that the power supplied from the power supply means is reduced.
JP2007155557A 2007-06-12 2007-06-12 Game machine Expired - Fee Related JP5250804B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007155557A JP5250804B2 (en) 2007-06-12 2007-06-12 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007155557A JP5250804B2 (en) 2007-06-12 2007-06-12 Game machine

Publications (2)

Publication Number Publication Date
JP2008307123A JP2008307123A (en) 2008-12-25
JP5250804B2 true JP5250804B2 (en) 2013-07-31

Family

ID=40235290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007155557A Expired - Fee Related JP5250804B2 (en) 2007-06-12 2007-06-12 Game machine

Country Status (1)

Country Link
JP (1) JP5250804B2 (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6377995B2 (en) * 2014-08-07 2018-08-22 株式会社ニューギン Game machine
JP6377996B2 (en) * 2014-08-07 2018-08-22 株式会社ニューギン Game machine
JP6520986B2 (en) * 2017-06-12 2019-05-29 株式会社三洋物産 Gaming machine
JP7207178B2 (en) * 2019-06-04 2023-01-18 株式会社三洋物産 game machine
JP7207179B2 (en) * 2019-06-04 2023-01-18 株式会社三洋物産 game machine
JP7207182B2 (en) * 2019-06-04 2023-01-18 株式会社三洋物産 game machine
JP7207181B2 (en) * 2019-06-04 2023-01-18 株式会社三洋物産 game machine
JP7207180B2 (en) * 2019-06-04 2023-01-18 株式会社三洋物産 game machine
JP7207183B2 (en) * 2019-06-04 2023-01-18 株式会社三洋物産 game machine
JP7207375B2 (en) * 2020-06-30 2023-01-18 株式会社三洋物産 game machine
JP7207372B2 (en) * 2020-06-30 2023-01-18 株式会社三洋物産 game machine
JP7207374B2 (en) * 2020-06-30 2023-01-18 株式会社三洋物産 game machine
JP7207376B2 (en) * 2020-06-30 2023-01-18 株式会社三洋物産 game machine
JP7207373B2 (en) * 2020-06-30 2023-01-18 株式会社三洋物産 game machine
JP2022073792A (en) * 2020-11-02 2022-05-17 株式会社三洋物産 Game machine
JP2022073790A (en) * 2020-11-02 2022-05-17 株式会社三洋物産 Game machine
JP2022073785A (en) * 2020-11-02 2022-05-17 株式会社三洋物産 Game machine
JP2022073788A (en) * 2020-11-02 2022-05-17 株式会社三洋物産 Game machine
JP2022073789A (en) * 2020-11-02 2022-05-17 株式会社三洋物産 Game machine
JP2022073791A (en) * 2020-11-02 2022-05-17 株式会社三洋物産 Game machine
JP2022073787A (en) * 2020-11-02 2022-05-17 株式会社三洋物産 Game machine
JP2022073786A (en) * 2020-11-02 2022-05-17 株式会社三洋物産 Game machine
JP2021053467A (en) * 2021-01-05 2021-04-08 株式会社三洋物産 Game machine

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4107444B2 (en) * 1998-03-21 2008-06-25 株式会社ソフィア Information generation method
JP4300320B2 (en) * 2001-05-09 2009-07-22 株式会社大一商会 Game machine
JP4317962B2 (en) * 2001-05-10 2009-08-19 株式会社大一商会 Game machine
JP2006271685A (en) * 2005-03-29 2006-10-12 Daiman:Kk Game machine
JP4879533B2 (en) * 2005-09-07 2012-02-22 株式会社三共 Game machine

Also Published As

Publication number Publication date
JP2008307123A (en) 2008-12-25

Similar Documents

Publication Publication Date Title
JP5250804B2 (en) Game machine
JP5238952B2 (en) Game machine
JP4457063B2 (en) Game machine
JP2013128828A (en) Game machine
JP2006271685A (en) Game machine
JP2009000241A (en) Game machine
JP5252174B2 (en) Game machine
JP2006271680A (en) Game machine
JP5238951B2 (en) Game machine
JP2003275429A (en) Pachinko game machine
JP2006271687A (en) Game machine
JP4724898B2 (en) Game machine
JP4744591B2 (en) Game machine
JP2007229041A (en) Game machine
JP4739436B2 (en) Game machine
JP2009061344A (en) Game machine
JP4492685B2 (en) Slot machine
JP5250803B2 (en) Game machine
JP2009061345A (en) Game machine
JP2009061347A (en) Game machine
JP2009061348A (en) Game machine
JP5360862B2 (en) Game machine
JP2009056111A (en) Game machine
JP4679545B2 (en) Game machine
JP5182335B2 (en) Game machine

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20090323

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100614

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120723

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120920

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130319

R150 Certificate of patent or registration of utility model

Ref document number: 5250804

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160426

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees