JP2009000241A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2009000241A
JP2009000241A JP2007163215A JP2007163215A JP2009000241A JP 2009000241 A JP2009000241 A JP 2009000241A JP 2007163215 A JP2007163215 A JP 2007163215A JP 2007163215 A JP2007163215 A JP 2007163215A JP 2009000241 A JP2009000241 A JP 2009000241A
Authority
JP
Japan
Prior art keywords
value
count value
initial value
hit
ram
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007163215A
Other languages
Japanese (ja)
Inventor
Takaaki Ichihara
高明 市原
Hajime Kato
肇 加藤
Naoyuki Okumura
尚之 奥村
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.)
Daiman Co Ltd
Original Assignee
Daiman 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 Daiman Co Ltd filed Critical Daiman Co Ltd
Priority to JP2007163215A priority Critical patent/JP2009000241A/en
Publication of JP2009000241A publication Critical patent/JP2009000241A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technique capable of preventing a fraudulent game even when a storage circuit is fraudulently initialized. <P>SOLUTION: A main control circuit 31 successively updates a count value 33a for winning determination over one cycle within a first range from a first initial value within a first range, and also successively updates a count value 33b for winning initial value within a second range from the second initial value within a second range within the first range. A random number generation circuit 34 generates a random number on the basis of intrinsic identification information intrinsic to each game machine. The main control circuit 31 sets the first initial value using a value determined on the basis of the random number generated in the random number generation circuit 34 in the updating of the first cycle of the count value 33a for the winning determination after the initialization of a RAM 33, and sets the first initial value using the count value 33b for the winning initial value in the second and succeeding cycles. <P>COPYRIGHT: (C)2009,JPO&INPIT

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)に記憶し、停電復旧時に、停電発生により中断された遊技状態から遊技を再開するように構成されている。例えば、停電が発生すると、制御回路は、停電処理を実行する。停電処理では、停電が発生した時点に記憶回路(RAM)に記憶されている遊技情報に基づいて判定情報を作成して記憶回路(RAM)に記憶する。停電中は、記憶回路(RAM)に記憶されている遊技情報と判定情報は、バックアップ電源から供給されるバックアップ電力によって保持される。そして、停電が復旧する(復電する)と、制御回路は、復帰処理を実行する。復帰処理では、記憶回路(RAM)に記憶されている遊技情報に基づいて判定情報を作成し、作成した判定情報と記憶回路(RAM)に記憶されている判定情報を比較することによって、記憶回路(RAM)に記憶されている遊技情報が正常であるか否か(停電中に変化しているか否か)を判定する。記憶回路(RAM)に記憶されている遊技情報が正常であることを判定した場合(停電中に変化していない場合)には、記憶回路(RAM)は初期化しない。これにより、停電発生時の遊技情報に基づいて、すなわち、停電の発生により中断された遊技状態から遊技が再開される。一方、記憶回路(RAM)に記憶されている遊技情報が異常であることを判定した場合(停電中に変化した虞がある場合)には、記憶回路(RAM)を初期化する。これにより、遊技情報の初期値に基づいて、すなわち、初期の遊技状態から遊技が開始される。
従来の遊技機では、記憶回路(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 award balls are being paid out from the payout device, the payout device stops in the middle of paying out the prize balls. 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 deleted.
Therefore, the game information at the time when the power failure occurs is stored in a storage circuit (RAM), and the game is resumed from the gaming state interrupted by the occurrence of the power failure when the power failure is restored. For example, when a power failure occurs, the control circuit executes a power failure process. In the power failure process, 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 (RAM). During a power failure, game information and determination information stored in a storage circuit (RAM) 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 processing, the determination information is created based on the game information stored in the storage circuit (RAM), and the generated determination information is compared with the determination information stored in the storage circuit (RAM). It is determined whether or not the game information stored in (RAM) is normal (whether or not it has changed during a power failure). When it is determined that the game information stored in the memory circuit (RAM) is normal (when it is not changed during a power failure), the memory circuit (RAM) is not initialized. Thereby, based on the game information at the time of the power failure occurrence, that is, the game is resumed from the gaming state interrupted by the occurrence of the power failure. On the other hand, when it is determined that the game information stored in the memory circuit (RAM) is abnormal (when there is a possibility that it has changed during a power failure), the memory circuit (RAM) is initialized. Thus, the game is started based on the initial value of the game information, that is, from the initial game state.
In a conventional gaming machine, a backup power supply for supplying backup power to a memory circuit (RAM) is provided on a power supply board together with the power supply circuit (see Patent Document 1).
JP 2000-279579 A

パチンコ機では、遊技球が始動入賞口に入球したことを示す始動入賞球信号が入力されると、遊技者に有利な当たり遊技状態を発生させるか否かを決定するための抽選が行われる。例えば、大当たり遊技状態(大入賞口を開閉する大入賞口開閉部材を開制御あるいは開閉制御する)を発生させるか否かを決定するための大当たり判定用カウント値を取得し、取得した大当たり判定用カウント値が設定値(当たり値)と一致するか否かを判別する。大当たり判定用カウント値としては、例えば、「0」から「299」の範囲内で初期値から「1」ずつ加算されるカウント値が用いられる。ここで、大当たり判定用カウント値が、常に、「0」と「299」の範囲内で繰り返し加算される場合には、大当たり判定用カウント値が設定値と一致するタイミングが等間隔に発生する。このため、大当たり判定用カウント値が設定値と一致するタイミングを知らせる体感器を用いた不正や、大当たり判定用カウント値が設定値と一致するタイミングで不正に始動入賞球信号を入力させる不正基板を用いた不正が行われる虞がある。
そこで、大当たり判定用カウント値として、初期更新型の大当たり判定用カウント値が用いられている。例えば、「0」と「299」の範囲内で繰り返し「1」ずつ、大当たり判定用カウント値より短い更新周期で更新(加算)される大当たり初期値用カウント値を設け、大当たり初期値用カウント値を初期値として「0」と「299」の範囲内の1周期に亘って「1」ずつ大当たり判定用カウント値を更新(加算)する処理を、1周期毎に行う。初期値更新型の大当たり判定用カウント値は、例えば、図8に示すように更新される。時点t21で記憶回路(RAM)が初期化された場合、RAMに記憶されている大当たり判定用カウント値と大当たり初期値用カウント値は、ともに「0」に初期化される。このため、大当たり判定用カウント値は、記憶回路(RAM)が初期化された後の1周期目(1サイクル目)では、大当たり初期値用カウント値の初期値「0」から更新が開始される。時点t22で、大当たり判定用カウント値が「299」(「0」を初期値とする1周期の最後の値)に達すると、1周期目の更新が終了する。そして、大当たり初期値用カウント値を用いて、大当たり判定用カウント値の2周期目(2サイクル目)の初期値を設定する。図8では、大当たり初期値用カウント値「60」が、大当たり判定用カウント値の2周期目の初期値として設定されている。時点t23で、大当たり判定用カウント値が「299」に達すると、2周期目の更新が終了していないため、「0」に戻って更新が継続される。そして、時点t24で、大当たり判定用カウント値が「59」(「60」を初期値とする1周期の最後の値)に達すると、2周期目の更新が終了する。以後、同様にして、大当たり判定用カウント値は、1周期毎に大当たり初期値用カウント値を用いて設定される(更新される)初期値から、「0」と「299」の範囲内の1周期(1サイクル)に亘って「1」ずつ更新(加算)される。
このように、大当たり判定用カウント値として初期値更新型の大当たり判定用カウント値を用いることにより、大当たり判定用カウント値が設定値(当たり値)と一致するタイミングが等間隔に発生するのを防止することができる。
しかしながら、初期値更新型の大当たり判定用カウント値を用いた場合でも、記憶回路(RAM)が初期化された直後の大当たり初期値用カウント値は「0」に初期化されるため、大当たり判定用カウント値は「0」から更新が開始される。このため、大当たり判定用カウント値の更新間隔と設定値(当たり値)が分かれば、記憶回路(RAM)が初期化されてから(大当たり判定用カウント値と大当たり初期値用カウント値が初期化されてから)、大当たり判定用カウント値が設定値(当たり値)に達するまでの期間(大当たり判定用カウント値が設定値と一致するタイミング)を予測することができる。
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, the jackpot determination count value for determining whether or not to generate a jackpot gaming state (open control or open / close control of the bonus winning opening / closing member that opens / closes the winning prize opening) is acquired, and the acquired jackpot determination It is determined whether or not the count value matches the set value (winning value). As the jackpot determination count value, for example, a count value that is incremented by “1” from the initial value within the range of “0” to “299” is used. Here, when the jackpot determination count value is always repeatedly added within the range of “0” and “299”, the timing at which the jackpot determination count value matches the set value occurs at equal intervals. 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 is used. There is a risk of fraud being used.
Therefore, the initial update type jackpot determination count value is used as the jackpot determination count value. For example, a jackpot initial value count value that is repeatedly updated (added) with a shorter update cycle than the jackpot determination count value by “1” within a range of “0” and “299” is provided, and the jackpot initial value count value is set. A process of updating (adding) the big hit determination count value by “1” over one period within the range of “0” and “299” is performed for each period. The initial value update type jackpot determination count value is updated as shown in FIG. 8, for example. When the memory circuit (RAM) is initialized at time t21, the jackpot determination count value and the jackpot initial value count value stored in the RAM are both initialized to “0”. For this reason, the big hit determination count value is updated from the initial value “0” of the big hit initial value count value in the first cycle (first cycle) after the storage circuit (RAM) is initialized. . 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. Then, the initial value of the second period (second cycle) of the jackpot determination count value is set using the jackpot initial value count value. In FIG. 8, the jackpot initial value count value “60” is set as the initial value of the second period of the jackpot determination count value. When the jackpot determination count value reaches “299” at time t23, the update in the second cycle has not been completed, and thus the update returns to “0” and is continued. At time t24, when the big hit determination count value reaches “59” (the last value in one cycle with “60” as an initial value), the update in the second cycle ends. Thereafter, in the same manner, the jackpot determination count value is set within the range of “0” and “299” from the initial value set (updated) using the jackpot initial value count value for each cycle. It is updated (added) by “1” over a period (one cycle).
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 initialized to “0”. The count value is updated from “0”. For this reason, if the update interval of the jackpot determination count value and the set value (winning value) are known, the memory circuit (RAM) is initialized (the jackpot determination count value and the jackpot initial value count value are initialized). From this point on, it is possible to predict a period until the jackpot determination count value reaches the set value (win value) (timing when the jackpot determination count value matches the set value).

ここで、従来の遊技機では、バックアップ電源が電源基板に設けられているため、電源基板と制御基板の間に、バックアップ電力を制御基板に供給するための電力線が接続されている。この場合、バックアップ電力を供給するための電力線を短絡あるいは断線させた状態で、制御基板への直流電力の供給を一定期間停止させる不正が行われると、制御基板への直流電力の供給が停止されている間、バックアップ電源から制御基板にバックアップ電力が供給されないため、記憶回路に記憶されている遊技情報が消去される。このため、制御回路への直流電力の供給が再開された後の制御回路での復帰処理において、記憶回路が初期化されて大当たり判定用カウント値は初期値「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 control board is connected between the power supply board and the control board. 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, backup power is not supplied from the backup power source to the control board, 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 these points, and an object of the present invention is to provide a technique capable of preventing an illegal game due to an illegal initialization of a memory circuit.

本発明の遊技機は、制御基板と電源基板を有している。
電源基板には、制御基板に電力を供給する電源回路が設けられている。電源回路としては、例えば、AC24V電力をDC34V電力とDC12V電力に変換するAC−DC変換回路が用いられる。なお、制御基板に設けられている制御回路や記憶回路等の駆動電力を供給する電力線へのノイズの混入による影響や電力線に対する不正を防止する観点からは、電源回路から供給されるDC電力の電圧を、制御基板に設けられている制御回路や記憶回路等の駆動電力の電圧に変換する電圧変換回路(例えば、DC12V電力をDC5V電力に変換する電圧変換回路)を制御基板に設けるのが好ましい。
制御基板には、制御回路、記憶回路、乱数生成回路が設けられている。
記憶回路には、遊技にともなって変化する遊技情報、第1の範囲内で順次更新される当たり判定用カウント値、第1の範囲内である第2の範囲内で順次更新される当たり初期値用カウント値、遊技機毎に固有な固有識別情報等が記憶される。第1の範囲は、第1の値と第2の値によって設定され、第2の範囲は、第3の値と第4の値によって設定される。第2の範囲は、第1の範囲と同じであってもよい(例えば、[第1の値=第3の値]および[第2の値=第4の値])。記憶回路に記憶する遊技情報としては、例えば、パチンコ機では、遊技球(遊技媒体)が始動入賞口に入球したことを示す始動入賞球信号の数、当たり遊技状態(大当たり遊技状態や確変遊技状態等)が発生していることを示す当たり遊技情報、払出装置から払い出す賞球数を示す賞球情報等が用いられる。遊技機毎に固有な固有識別情報としては、典型的には、遊技機に設けられている回路や素子、例えば、制御回路と記憶回路が一体成形されている制御回路ICチップの識別情報(製造番号等)が用いられる。記憶回路としては、ROMやRAMが用いられる。典型的には、記憶回路は、変化しない情報(例えば、固有識別情報)を記憶するROMと、変化する情報(例えば、遊技情報、当たり判定用カウント値や当たり初期値用カウント値)を記憶するRAMにより構成される。
乱数生成回路は、記憶回路に記憶されている固有識別情報に基づいて乱数を生成する。乱数生成回路として、M系列乱数等の公知の乱数を生成する乱数生成回路を用いることができる。
制御回路は、以下の処理を実行する。
駆動電力が供給されると、復帰処理を実行した後、メイン処理とタイマ割り込み処理を実行する。タイマ割り込み処理は、例えば、メイン処理内において、タイマ割り込み周期4ms毎に実行される。
復帰処理では、記憶回路に記憶されている遊技情報等が正常であるか否か(遊技情報等が停電中に変化しているか否か)を判定する。本発明では、記憶回路に記憶されている遊技情報等が正常であるか否かを判定する方法として、記憶回路に記憶されている遊技情報等に基づいて算出した判定情報と、記憶回路に記憶されている判定情報(前回の停電処理時に算出された判定情報)を比較する方法を用いている。判定情報としては、例えば、記憶回路に記憶されている遊技情報等のチェックサム値やパリティデータ等を用いることができる。算出した判定情報と記憶回路に記憶されている判定情報が一致しない場合には、記憶回路に記憶されている遊技情報等が正常でない、すなわち、異常である(停電中に変化している虞がある)ことを判定し、記憶回路に記憶されている遊技情報、当たり判定用カウント値、当たり初期値用カウント値を初期化する初期化処理を実行する。遊技情報が初期化されると、初期の遊技状態から遊技が開始される。記憶回路に記憶されている遊技情報、当たり判定用カウント値、当たり初期値用カウント値を初期化する方法としては、典型的には、遊技情報、当たり判定用カウント値および当たり初期値用カウント値を記憶するRAMを初期化する方法が用いられる。一方、算出した判定情報と記憶回路に記憶されている判定情報が一致している場合には、記憶回路に記憶されている遊技情報等が正常である(停電中に変化していない)ことを判定し、初期化処理は実行しない。この場合には、記憶回路に記憶されている遊技情報に対応する遊技状態、すなわち、前回の停電時の遊技状態から遊技が再開される。
メイン処理では、停電検出信号入力判定処理と当たり初期値用カウント値更新処理を実行する。
停電検出信号入力判定処理では、停電が発生したことを示す停電検出信号が入力されたか否かを判定する。停電検出信号が入力されたことを判定した場合には、復帰処理で用いる判定情報(例えば、記憶回路に記憶されている遊技情報等のチェックサム値やパリティデータ)を算出して記憶回路に記憶する。停電検出信号は、停電が発生したことを検出する停電検出回路から出力される。停電検出回路は、制御基板に設けるのが好ましいが、電源基板に設けることもできる。例えば、停電検出回路は、制御基板に設けられる場合には、制御基板に供給されるDC12V電力の電圧が停電検出設定値より低下したことを検出した場合に、また、電源基板に設けられる場合には、電源回路で変換されたDC12V電力の電圧が停電検出設定値より低下したことを検出した場合に停電検出信号を出力するように構成することができる。
当たり初期値用カウント値更新処理では、当たり初期値用カウント値を、第2の範囲内の第2の初期値から第2の更新値ずつ順次更新する。第2の更新値や更新方向は、適宜設定可能である。なお、遊技機が複数の当たり遊技状態を有し、複数の当たり遊技状態それぞれを発生させるか否かを決定するための複数の当たり判定用カウント値を用いる場合には、初期値用カウント値更新処理では、複数の当たり判定用カウント値それぞれに対応する当たり初期値用カウント値を更新する。
タイマ割り込み処理では、当たり判定用カウント値更新処理と抽選条件判定処理を実行する。
当たり判定用カウント値更新処理では、当たり判定用カウント値を、第1の範囲内の第1の初期値から第1の範囲内の1周期に亘って第1の更新値ずつ更新する。ここで、本発明では、初期化処理を実行した後の当たり判定用カウント値の1周期目においては、乱数生成回路で生成されている乱数に基づいて決定される値を用いて第1の初期値を設定し、初期化処理を実行した後の当たり判定用カウント値の2周期目以降の各周期においては、当たり初期値用カウント値を用いて第1の初期値を設定する。第1の更新値や更新方向は、適宜設定可能である。「第1の範囲内の1周期」は、第1の範囲が第1の値と第2の値によって設定され、当たり判定用カウント値の更新方向が第1の値から第2の値の方向に設定されているものとすると、第1の初期値が第1の値に設定された場合には、第1の値から第2の値までの範囲(第1の値〜第2の値)を意味し、第1の初期値が第1の値以外の値に設定された場合には、第1の初期値から第1の値の直前の値までの範囲(第1の初期値〜第2の値〜第1の初期値の直前の値)を意味する。なお、遊技機が複数の当たり遊技状態を有し、当たり遊技状態それぞれを発生させるか否かを決定するための複数の当たり判定用カウント値を用いる場合には、当たり判定用カウント値更新処理では、複数の当たり判定用カウント値それぞれを更新する。
抽選条件判定処理では、抽選条件が成立したか否かを判定する。抽選条件としては、例えば、パチンコ機では、遊技球が始動入賞口に入球したことを示す始動入賞球信号が入力された条件が用いられる。抽選条件が成立したことを判定した場合には、当たり判定用カウント値と設定値を比較する。そして、当たり判定用カウント値が設定値と一致する場合には、当たり遊技状態を発生させるための制御信号を出力する。例えば、抽選結果が当たりであることや当たり遊技状態が発生していることを表示装置に演出表示させるためのコマンド信号、大入賞口を開閉する大入賞口開閉部材を開制御あるいは開閉制御する駆動信号を出力する。
本発明では、遊技者に有利な当たり遊技状態を発生させるか否かを決定するための(抽選を行うための)当たり判定用カウント値として、当たり判定用カウント値の1周期毎に第1の初期値を更新しながら第1の初期値から1周期に亘って当たり判定用カウント値を更新する初期値更新型の当たり判定用カウント値を用いるとともに、記憶回路に記憶されている遊技情報、当たり判定用カウント値および当たり初期値用カウント値を初期化する初期化処理を実行した後の当たり判定用カウント値の1周期目の更新においては、乱数生成回路によって生成されている乱数に基づいて決定される値を用いて第1の初期値を設定し、初期化処理を実行した後の当たり判定用カウント値の2周期目以降の各周期の更新においては、当たり初期値用カウント値を用いて第1の初期値を設定している。そして、本発明では、乱数生成回路として、遊技機毎に固有な固有識別情報に基づいて乱数を生成する乱数生成回路を用いている。このため、不正に初期化処理が実行された場合でも、当たり判定用カウント値の1周期目において、当たり判定用カウント値が設定値(当たり値)と一致する時点(初期化処理が実行されてから当たり判定用カウント値が最初に設定値と一致するまでの期間)を予測するのが非常に困難である。また、当たり初期値用カウント値更新処理をメイン処理内で実行し、当たり判定用カウント値更新処理をメイン処理内のタイマ割り込み処理内で実行しているため、当たり初期値用カウント値がランダムに変化する。これにより、当たり判定用カウント値の2周期目以降の各周期において、当たり初期値用カウント値を用いて更新される当たり判定用カウント値の第1の初期値もランダムに変化するため、当たり判定用カウント値が設定値(当たり値)と一致する時点を予測するのが非常に困難である。したがって、記憶回路の不正な初期化による不正な遊技を確実に防止することができる。
なお、制御基板に供給される電力の電圧を、制御基板に設けられている制御回路や記憶回路等の駆動電力の電圧に対応する電圧に変換する電圧変換手段を制御回路に設けた場合には、制御基板に設けられている制御回路や処理手段等の駆動電力(駆動電力に対応する電圧を有する電力)を供給するための電力線を制御基板に接続する必要がないため、制御回路や処理手段等の駆動電力を供給するための電力線に混入するノイズによる影響や、電力線に対する不正操作によって記憶回路が不正に初期化されるのを防止することができる。
また、停電検出回路を制御基板に設けた場合には、停電検出信号を伝送するための信号線を制御基板に接続する必要がないため、停電検出信号を伝送するための信号線に対する不正操作によって記憶回路が不正に初期化されるのを防止することができる。
The gaming machine of the present invention has a control board and a power supply board.
A power supply circuit for supplying power to the control board is provided on the power supply board. As the power supply circuit, for example, an AC-DC conversion circuit that converts AC24V power into DC34V power and DC12V power is used. The voltage of DC power supplied from the power supply circuit from the viewpoint of preventing the influence of noise mixing on the power lines that supply drive power to the control circuit and memory circuit provided on the control board and fraud to the power lines. It is preferable to provide a voltage conversion circuit (for example, a voltage conversion circuit that converts DC12V power to DC5V power) for converting the voltage into a drive power voltage such as a control circuit or a memory circuit provided on the control board.
The control board is provided with a control circuit, a storage circuit, and a random number generation circuit.
The memory circuit includes game information that changes with the game, a count value for hit determination that is sequentially updated within the first range, and an initial value that is sequentially updated within the second range within the first range. Count value, unique identification information unique to each gaming machine, and the like are stored. The first range is set by the first value and the second value, and the second range is set by the third value and the fourth value. The second range may be the same as the first range (for example, [first value = third value] and [second value = fourth value]). As game information stored in the memory circuit, for example, in a pachinko machine, the number of start winning ball signals indicating that a game ball (game medium) has entered the start winning opening, a winning game state (a jackpot gaming state or a probable game) Game information indicating the occurrence of a state, etc., prize ball information indicating the number of prize balls to be paid out from the payout device, and the like are used. The unique identification information unique to each gaming machine typically includes identification information (manufacturing information) of a circuit or element provided in the gaming machine, for example, a control circuit IC chip in which a control circuit and a memory circuit are integrally formed. Number). A ROM or RAM is used as the memory circuit. Typically, the storage circuit stores a ROM that stores information that does not change (for example, unique identification information) and information that changes (for example, game information, a count value for hit determination, or a count value for hit initial value). It is composed of RAM.
The random number generation circuit generates a random number based on the unique identification information stored in the storage circuit. As the random number generation circuit, a random number generation circuit that generates a known random number such as an M-sequence random number can be used.
The control circuit executes the following processing.
When the drive power is supplied, the main process and the timer interrupt process are executed after the return process is executed. The timer interrupt process is executed, for example, every 4 ms in the timer interrupt period in the main process.
In the return process, it is determined whether or not the game information and the like stored in the storage circuit is normal (whether or not the game information and the like are changed during a power failure). In the present invention, as a method for determining whether or not the game information or the like stored in the memory circuit is normal, the determination information calculated based on the game information or the like stored in the memory circuit and the memory information stored in the memory circuit are stored. The determination information (determination information calculated at the time of the previous power failure process) is compared. As the determination information, for example, a checksum value such as game information stored in the storage circuit, parity data, or the like can be used. If the calculated determination information and the determination information stored in the storage circuit do not match, the game information stored in the storage circuit is not normal, that is, abnormal (there may be a change during a power failure). And initialization processing for initializing the game information, the hit determination count value, and the hit initial value count value stored in the storage circuit is executed. When the game information is initialized, the game is started from the initial game state. As a method for initializing the game information, the hit determination count value, and the hit initial value count value stored in the storage circuit, typically, the game information, the hit determination count value, and the hit initial value count value A method for initializing the RAM for storing the data is used. On the other hand, if the calculated determination information matches the determination information stored in the storage circuit, the game information stored in the storage circuit is normal (not changed during a power failure). Determine and do not execute the initialization process. In this case, the game is resumed from the game state corresponding to the game information stored in the storage circuit, that is, the game state at the time of the previous power failure.
In the main process, a power failure detection signal input determination process and a hit initial value count value update process are executed.
In the power failure detection signal input determination process, it is determined whether or not a power failure detection signal indicating that a power failure has occurred is input. If it is determined that a power failure detection signal has been input, determination information used in the return process (for example, checksum value or parity data such as game information stored in the storage circuit) is calculated and stored in the storage circuit To do. The power failure detection signal is output from a power failure detection circuit that detects that a power failure has occurred. The power failure detection circuit is preferably provided on the control board, but can also be provided on the power supply board. For example, when the power failure detection circuit is provided on the control board, when it is detected that the voltage of DC12V power supplied to the control board is lower than the power failure detection set value, or when it is provided on the power supply board. Can be configured to output a power failure detection signal when it is detected that the voltage of DC 12V power converted by the power supply circuit has dropped below the power failure detection set value.
In the hit initial value count value update process, the hit initial value count value is sequentially updated from the second initial value within the second range by the second update value. The second update value and the update direction can be set as appropriate. When the gaming machine has a plurality of winning game states and uses a plurality of hit determination count values for determining whether or not to generate each of the plurality of winning game states, the initial value count value is updated. In the processing, the hit initial value count value corresponding to each of the plurality of hit determination count values is updated.
In the timer interrupt process, a hit determination count value update process and a lottery condition determination process are executed.
In the hit determination count value update process, the hit determination count value is updated for each first update value over one period in the first range from the first initial value in the first range. Here, in the present invention, in the first cycle of the hit determination count value after executing the initialization process, the first initial value is determined using a value determined based on the random number generated by the random number generation circuit. In each period after the second period of the hit determination count value after setting the value and executing the initialization process, the first initial value is set using the count value for hit initial value. The first update value and the update direction can be set as appropriate. “One period in the first range” is set in the first range by the first value and the second value, and the update direction of the count value for hit determination is the direction from the first value to the second value. If the first initial value is set to the first value, the range from the first value to the second value (first value to second value) When the first initial value is set to a value other than the first value, the range from the first initial value to the value immediately before the first value (the first initial value to the first value) 2 to the value immediately before the first initial value). When the gaming machine has a plurality of winning gaming states and uses a plurality of winning determination count values for determining whether or not to generate each winning gaming state, Each of the plurality of hit determination count values is updated.
In the lottery condition determination process, it is determined whether the lottery condition is satisfied. 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. When it is determined that the lottery condition is satisfied, the hit determination count value is compared with the set value. When the winning determination count value matches the set value, a control signal for generating a winning gaming state is output. For example, a command signal for effect display on the display device that the lottery result is winning or that a winning gaming state has occurred, driving for opening / closing or controlling the opening / closing member of the large winning opening that opens / closes the large winning opening Output a signal.
In the present invention, as a count value for hit determination (for performing a lottery) for determining whether or not to generate a win game state advantageous to the player, the first count is determined for each cycle of the count value for hit determination. While using the initial value update type hit determination count value for updating the hit determination count value over one period from the first initial value while updating the initial value, the game information stored in the storage circuit, In the first cycle update of the count value for hit determination after executing the initialization process for initializing the count value for determination and the count value for hit initial value, it is determined based on the random number generated by the random number generation circuit. In the update of each period after the second period of the count value for hit determination after executing the initialization process, the first initial value is set using And it sets the first initial value by using a preparative value. In the present invention, a random number generation circuit that generates a random number based on unique identification information unique to each gaming machine is used as the random number generation circuit. For this reason, even when the initialization process is executed improperly, the point when the hit determination count value matches the set value (win value) in the first cycle of the hit determination count value (the initialization process is executed) It is very difficult to predict the period until the count value for hit determination first matches the set value. In addition, the count value update process for hit initial value is executed in the main process, and the count value update process for hit determination is executed in the timer interrupt process in the main process. Change. Thereby, in each cycle after the second cycle of the hit determination count value, the first initial value of the hit determination count value updated using the hit initial value count value also randomly changes. It is very difficult to predict the point in time when the business count value matches the set value (winning value). Therefore, it is possible to reliably prevent an illegal game due to an illegal initialization of the memory circuit.
When the control circuit is provided with voltage conversion means for converting the voltage of the power supplied to the control board into a voltage corresponding to the drive power voltage of the control circuit or storage circuit provided on the control board. Since there is no need to connect a power line for supplying driving power (power having a voltage corresponding to driving power) to a control circuit or processing means provided on the control board, the control circuit or processing means Thus, it is possible to prevent the memory circuit from being illegally initialized due to the influence of noise mixed in the power line for supplying driving power or the like, or the unauthorized operation on the power line.
In addition, when the power failure detection circuit is provided on the control board, it is not necessary to connect the signal line for transmitting the power failure detection signal to the control board. It is possible to prevent the memory circuit from being illegally initialized.

本発明を用いることにより、記憶回路の不正な初期化による不正な遊技を防止することができる。   By using the present invention, illegal games due to illegal initialization of the memory circuit 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電力(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 the “power supply circuit” of the present invention.
Here, in order to supply DC5V power, which is driving power of the control circuit and the memory 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. Thus, if a power line that supplies DC 5V power is connected to the power supply board 10 or each control board, an improper operation (an illegal operation on the power line) may be performed in which the power circuit is short-circuited for a single period to initialize the storage circuit. There is.
Therefore, in this embodiment, DC34V power and DC12V power that are less affected by voltage drop due to the power line and noise mixed in the power line and are difficult to perform unauthorized operations (when DC34V power and DC12V power are cut off, many games are used. Since the operation of the device stops, unauthorized operation is easily detected.) Is supplied from the power supply board 10 to each control board. For example, the DC 34V power converted by the power supply 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 supply board 10, and the DC12V power is supplied to the terminal 10c and the power line L2 of the power supply board 10. To the terminal 20b of the main control board 20.

また、停電時(主制御回路31等への駆動電力の供給が遮断されている時)には、停電が復旧した後(復電後)に停電前の遊技状態から遊技を再開できるように、RAM33に記憶されている遊技情報等を保持させるためのバックアップ電力を供給する必要がある。本実施の形態では、電源基板10に、バックアップ電力を供給するためのバックアップコンデンサ12が設けられている。バックアップコンデンサ12は、電源回路11から主制御基板20に電力が供給されている状態において、主制御基板20に設けられている電圧変換回路21で変換されたDC5V電力がダイオード24、電力線パターンm3、主制御基板20の端子20e、電力線L3、電源基板の端子10dを介して供給されることによって充電される。
バックアップコンデンサ12は、本発明の「バックアップ電源」に対応する。
前述したように、制御基板にバックアップ電源を設けた場合には、制御基板を遊技機から取り外し、制御基板に設けられている記憶回路に記憶されている遊技情報を不正に書き替えた後に遊技機に取り付ける不正が行われる虞がある。本実施の形態では、バックアップ電力を供給するバックアップコンデンサ12を電源基板10に設けている。このため、例えば、主制御基板20を遊技機から取り外した場合には、記憶回路(RAM33)に駆動電力が供給されなくなり、記憶回路(RAM33)に対するこのような不正が行われるのを防止することができる。
In addition, at the time of a power failure (when the supply of drive power to the main control circuit 31 or the like is interrupted), after the power failure is restored (after power recovery), the game can be resumed from the gaming state before the power failure. It is necessary to supply backup power for holding game information and the like stored in the RAM 33. 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 power is supplied from the power supply circuit 11 to the main control board 20, the backup capacitor 12 receives the DC5V power converted by the voltage conversion circuit 21 provided in the main control board 20 as a diode 24, a power line pattern m3, The battery is charged by being supplied via the terminal 20e of the main control board 20, 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 (chip) 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 terminal 20a and the terminal 20c, and a power line pattern m2 for supplying DC 12V power is provided between the terminal 20b and the terminal 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. A control signal from the main control circuit 31 (for example, a main control signal such as a main command signal and a drive signal) is 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 the “voltage conversion circuit” 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(制御基板20)に供給される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 DC12V power supplied to the voltage conversion circuit 21 (control board 20) has dropped below the power failure detection set value, and the power supplied to the main control board 20 is detected. A power failure detection signal indicating that the voltage (that is, the voltage of the driving power supplied to the main control circuit 31 or 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 circuit” 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は、本発明の「初期化指示スイッチ」に対応する。
本実施の形態では、停電等が発生して停電検出信号が入力された場合には、バックアップコンデンサ12からバックアップ電力を主制御回路用IC30に供給することによって、停電発生時にRAM33に記憶されている遊技情報を保持させている。そして、停電が復旧した時(復電時)に、RAM33に記憶されている遊技情報に基づいて、停電発生時の遊技状態から遊技を再開させている。
しかしながら、遊技店の開店時等では、各遊技機の制御基板に設けられているRAM33を初期化し、初期化された遊技情報から遊技を開始させる必要がある場合がある。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 the “initialization instruction switch” of the present invention.
In this embodiment, when a power failure occurs and a power failure detection signal is input, backup power is supplied from the backup capacitor 12 to the main control circuit IC 30 and stored in the RAM 33 when the power failure occurs. Game information is held. Then, when the power failure is restored (at the time of power recovery), 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 33 provided on the control board of each gaming machine and start the game from the initialized game information. 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 while the RAM clear switch 23 is operated (ON). The main control circuit 31 (processing means 31a) forcibly initializes the RAM 33 when the driving power is supplied in a state where the RAM clear switch 23 is being operated (a state where the initialization instruction signal is input). Turn into.

主制御回路31は、CPUにより構成されている。主制御回路31は、ROM32に記憶されている動作プログラムやRAM33に記憶されている遊技情報等に基づいて動作し、処理手段31a、抽選手段31b、当たり判定用カウント値更新手段31c、当たり初期値用カウント値更新手段31d、初期値設定手段31dの処理を実行する。
主制御回路31は、本発明の「制御回路」に対応する。
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 count value update means 31c, and the hit initial value The processing of the count value updating means 31d and the initial value setting means 31d is executed.
The main control circuit 31 corresponds to the “control circuit” of the present invention.

ROM32は、主制御回路31(各手段31a〜31d)の動作プログラム、固有識別情報(固有ID)32a等が記憶されている。固有識別情報32aとしては、遊技機に固有な識別情報が用いられる。例えば、遊技機に設けられている素子や回路の識別情報が用いられる。本実施の形態では、主制御基板30に設けられている、主制御回路31、ROM32やRAM33等が一体成形されている主制御回路IC30の識別情報(例えば、製造時に付与される主制御回路IC30毎の製造番号)が用いられている。
ROM32に記憶されている固有識別情報32aは、本発明の「遊技機毎に固有な固有識別情報」に対応する。
The ROM 32 stores an operation program of the main control circuit 31 (each unit 31a to 31d), unique identification information (unique ID) 32a, and the like. As the unique identification information 32a, identification information unique to the gaming machine is used. For example, identification information of elements and circuits provided in the gaming machine is used. In the present embodiment, the main control circuit 31 provided on the main control board 30, the identification information of the main control circuit IC30 in which the ROM 32, the RAM 33, etc. are integrally formed (for example, the main control circuit IC30 given at the time of manufacture). Each serial number is used.
The unique identification information 32a stored in the ROM 32 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サイクル)内で当たり判定用カウント値33aが第2の値「299」に達すると、第1の値「0」に戻って更新(加算)が継続される。
当たり初期値用カウント値33bは、当たり判定用カウント値33aの1周期(1サイクル)毎の第1の初期値を設定するために用いられる。当たり初期値用カウント値33bは、第3の値と第4の値の間の範囲内(以下、「第2の範囲内」という)の初期値(以下、「第2の初期値」という)から、第3の値から第4の値の方向に第2の更新値ずつ第2の範囲に亘って順次更新される。第2の範囲は、第1の範囲に含まれるように(第3の値と第4の値が第1の範囲内の値となるように)設定される。好適には、第2の範囲は、第1の範囲と同じ範囲([第3の値=第1の値]および[第4の値=第2の値])に設定される。第2の更新値と更新方向は、適宜設定可能である。例えば、当たり初期値用カウント値33bは、第3の値「0」(=第1の値)と第4の値「299」(=第2の値)の間の第2の範囲(=第1の範囲)内の第2の初期値から、第2の範囲に亘って第2の更新値「1」(=第1の更新値)ずつ順次加算される(更新方向が加算方向)カウント値で表される。なお、当たり初期値用カウント値33bが第4の値「299」に達すると、第3の値「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 count value 33a, a hit initial value count value 33b, and the like. The hit determination count value 33a and the hit initial value count value 33b are stored in the hit determination count value storage area and the hit initial value count 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 gate, the number of winning balls instructed to pay out to the payout device, and the state of play per game The game information and the like indicating that the player is playing is stored.
The hit determination count value 33a is used to determine (lottery) whether or not to generate a win 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 count value 33a. That is, the hit determination count value 33a is an initial value (hereinafter referred to as a “first initial value”) within a range between the first value and the second value (hereinafter referred to as “first range”). ) To the second value in the direction from the first value to the first value, and sequentially updated over one period (one cycle) within the first range, and the first initial value every period. The value is updated. The first update value and the update direction can be set as appropriate. For example, the count value for hit determination 33a is changed from the first initial value in the first range between the first value “0” and the second value “299” to one cycle in the first range. Over the first update value “1” is sequentially added (the update direction is the addition direction) and is represented by a count value. 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 hit determination count value 33a reaches the second value “299” within one period (one cycle), the value returns to the first value “0” and the update (addition) is continued.
The hit initial value count value 33b is used to set a first initial value for each period (one cycle) of the hit determination count value 33a. The hit initial value count value 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"). From the third value to the fourth value, the second update value is sequentially updated 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 ([third value = first value] and [fourth value = second value]). The second update value and the update direction can be set as appropriate. For example, the hit initial value count value 33b is a second range (= first value) between the third value “0” (= first value) and the fourth value “299” (= second value). Count value sequentially added by the second update value “1” (= first update value) over the second range from the second initial value in the range of 1) (the update direction is the addition direction). It is represented by When the hit initial value count value 33b reaches the fourth value “299”, the count value 33b returns to the third value “0” and the update (addition) is continued. The second initial value of the hit initial value count value 33b can be selected as appropriate. However, when the RAM 33 is initialized, a value set in the hit initial value count value storage area of the RAM 33 (for example, “0”) is preferably used.

なお、パチンコ機が複数の当たり遊技状態を有している場合には、RAM33には複数の当たり判定用カウント値33aが記憶される。例えば、大入賞口を開閉する大入賞口開閉部材を開制御あるいは開閉制御する大当たり遊技状態と、大当たり遊技状態が発生することを表示装置に表示する際に用いる当たり図柄によって、大当たり遊技状態が発生する確率が通常時に比べて高い確変遊技状態を発生させる場合には、当たり判定用カウント値33aとして、大当たり遊技状態を発生させるか否かを決定する(抽選する)ための大当たり判定用カウント値と、確変遊技状態を発生させるか否かを決定する(抽選する)ための当たり図柄判定用カウント値が記憶される。
また、複数の当たり判定用カウント値33aをRAM33に記憶する場合、複数の当たり判定用カウント値33aそれぞれの1周期毎の第1の初期値を設定するために用いられる複数の当たり初期値用カウント値を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 count values 33a. For example, the jackpot gaming state occurs depending on the jackpot gaming state that opens or closes 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 When a probability variation gaming state with a higher probability than normal is generated, a jackpot determination count value for determining whether or not to generate a jackpot gaming state (lottery) as the hit determination count value 33a The winning symbol determination count value for determining whether or not to generate the probability variation gaming state (lottery) is stored.
When a plurality of hit determination count values 33a are stored in the RAM 33, a plurality of hit initial value counts used for setting a first initial value for each cycle of each of the plurality of hit determination count values 33a. The value can also be stored in the RAM 33.
The count value for hit determination 33a corresponds to the “count value for hit determination” of the present invention, and the count value for hit initial value 33b corresponds to the “count value for hit initial value” of the present invention. The ROM 32 and the RAM 33 correspond to the “memory circuit” of the present invention.

乱数生成回路34は、ROM32に記憶されている遊技機毎に固有な固有識別情報32aに基づいて(固有識別情報32aを初期値として)乱数を生成する。乱数生成回路34としては、M系列乱数等の公知の乱数を生成する乱数生成回路を用いることができる。
ここで、後述するように、乱数生成回路34で生成されている乱数は、RAM33が初期化された後の1周期目の当たり判定用カウント値33aの第1の初期値(開始値S)や、RAM33が初期化されてから当たり判定用カウント値33aの更新処理を開始するまでの期間(開始期間T)を設定する際に用いられる。このため、乱数生成回路34で生成されている乱数を用いて当たり判定用カウント値33aの1周期目の開始値Sや当たり判定用カウント値33aの更新処理を開始する開始期間Tを容易に設定することができるように構成するのが好ましい。例えば、乱数生成回路34で生成される乱数の変化範囲を、当たり判定用カウント値33aの変化範囲(第1の値と第2の値によって設定される第1の範囲)と等しくすることができるように、設定可能に構成する。あるいは、乱数生成回路34で生成されている乱数を、当たり判定用カウント値33aの1周期目の開始値Sや当たり判定用カウント値33aの更新処理を開始する開始期間Tに変換する方法を設定する。
本実施の形態では、乱数生成回路34で生成されている乱数を用いて、RAM33が初期化された後の、当たり判定用カウント値33aの1周期目の第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 (using the unique identification information 32a 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 first initial value (start value S) of the first cycle hit determination count value 33a after the RAM 33 is initialized, or the RAM 33. Is used to set a period (start period T) from the initialization of the process until the start of the process of updating the hit determination count value 33a. Therefore, using the random number generated by the random number generation circuit 34, the start value S of the first cycle of the hit determination count value 33a and the start period T for starting the update processing of the hit determination count value 33a are easily set. It is preferable to be able to do so. For example, the change range of the random number generated by the random number generation circuit 34 can be made equal to the change range of the hit determination count value 33a (the first range set by the first value and the second value). Thus, it is configured to be settable. Alternatively, a method of converting the random number generated by the random number generation circuit 34 into the start value S of the first cycle of the hit determination count value 33a or the start period T for starting the update processing of the hit determination count value 33a is set. To do.
In the present embodiment, the first initial value (start value S) in the first cycle of the hit determination count value 33a after the RAM 33 is initialized using the random number generated by the random number generation circuit 34. Is 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を、第1の範囲内の第1の初期値から、第1の値から第2の値の方向に第1の更新値ずつ第1の範囲内の1周期(1サイクル)に亘って順次更新する。
初期値設定手段31dは、当たり判定用カウント値33aの1周期毎の第1の初期値を設定する。本実施の形態では、初期値設定手段31dは、処理手段31aによってRAM33が初期化された後の、当たり判定用カウント値33aの1周期目においては、乱数生成回路34で生成されている乱数34aに基づいて決定される値(開始値S)を用いて第1の初期値を設定し、RAM33が初期化された後の、当たり判定用カウント値33aの2周期目以降の各周期においては、当たり初期値用カウント値33bを用いて第1の初期値を設定する。
当たり判定用カウント値更新手段31cと初期値設定手段31dによって、初期値更新型の当たり判定用カウント値33aを更新する、初期値更新型の当たり判定用カウント値更新手段が構成される。すなわち、本実施の形態では、当たり判定用カウント値33aは、RAM33が初期化された後の1周期目においては、乱数生成回路34によって生成されている乱数に基づいて決定される値を用いて更新される(設定される)第1の初期値から、また、RAM33が初期化された後の2周期目以降の各周期においては、当たり初期値用カウント値33bを用いて更新される(設定される)第1の初期値から、第1の値から第2の値の方向に第1の更新値ずつ第1の範囲内の1周期に亘って順次更新される。
Each means of the main control circuit 31 will be described.
The hit determination count value updating means 31c sets the hit determination count value 33a stored in the RAM 33 to the first value from the first initial value within the first range in the direction from the first value to the second value. Are sequentially updated over one period (one cycle) within the first range.
The initial value setting means 31d sets a first initial value for each cycle of the count value for hit determination 33a. In the present embodiment, the initial value setting means 31d uses the random number 34a generated by the random number generation circuit 34 in the first cycle of the hit determination count value 33a after the RAM 33 is initialized by the processing means 31a. In each cycle after the second cycle of the count value 33a for hit determination after the RAM 33 is initialized, the first initial value is set using the value determined based on (start value S). A first initial value is set using the count value 33b for the hit initial value.
The hit determination count value update means 31c and the initial value setting means 31d constitute an initial value update type hit determination count value update means for updating the initial value update type hit determination count value 33a. In other words, in the present embodiment, the hit determination count value 33a uses a value determined based on the random number generated by the random number generation circuit 34 in the first cycle after the RAM 33 is initialized. From the first initial value to be updated (set), and in each cycle after the second cycle after the RAM 33 is initialized, the count value for the initial value 33b is updated (set). Are updated sequentially from the first initial value in the direction from the first value to the second value by the first updated value over one period within the first range.

当たり初期値用カウント値更新手段31dは、RAM33に記憶される当たり初期値用カウント値33bを、第3の値と第4の値の間の第2の範囲内の第2の初期値から、第3の値から第4の値の方向に第2の更新値ずつ第2の範囲に亘って順次更新する。第2の範囲は、第1の範囲と一致していてもよい。   The hit initial value count value updating means 31d calculates the hit initial value count value 33b stored in the RAM 33 from the second initial value within the second range between the third value and the fourth value. The second update value is sequentially updated over the second range in the direction from the third value to the fourth value. The second range may coincide with the first range.

なお、パチンコ機が複数の当たり遊技状態を有する場合には、複数の遊技状態それぞれを発生させるか否かを決定するための複数の当たり判定用カウント値33aを更新する複数の当たり判定用カウント値更新手段31cと、複数の当たり判定用カウント値33aそれぞれの1周期毎の第1の初期値を設定するために用いられる当たり初期値用カウント値33bを更新する複数の当たり初期値用カウント値更新手段31dと、複数の当たり判定用カウント値33aそれぞれの1周期毎の第1の初期値を設定する複数の初期値設定手段31dを設けることができる。
例えば、前述した、大当たり遊技状態を発生させるか否かを決定する(抽選する)ための大当たり判定用カウント値と確変遊技状態を発生させるか否かを決定する(抽選する)ための当たり図柄判定用カウント値を用いる場合には、当たり判定用カウント値更新手段31cとして、大当たり判定用カウント値を更新する大当たり判定用カウント値更新手段と当たり図柄判定用カウント値を更新する当たり図柄判定用カウント値更新手段を設け、当たり初期値用カウント値更新手段31dとして、大当たり初期値用カウント値を更新する大当たり初期値用カウント値更新手段と当たり図柄初期値用カウント値を更新する当たり図柄初期値用カウント値更新手段を設け、初期値設定手段31dとして、大当たり判定用カウント値の1周期毎の第1の設定値を設定する大当たり判定用初期値設定手段と当たり図柄判定用カウント値の1周期毎の第1の設定値を設定する当たり初期値用初期値設定手段を設ける。
When the pachinko machine has a plurality of winning game states, a plurality of hit determination count values for updating a plurality of hit determination count values 33a for determining whether or not to generate each of the plurality of gaming states. Update unit 31c and a plurality of hit initial value count values update for updating a hit initial value count value 33b used for setting a first initial value for each period of each of the plurality of hit determination count values 33a. There can be provided means 31d and a plurality of initial value setting means 31d for setting a first initial value for each period of each of the plurality of hit determination count values 33a.
For example, the aforementioned jackpot determination count value for determining whether or not to generate a jackpot gaming state (lottery) and the winning symbol determination for determining (lottery) whether or not to generate a probable gaming state When the count value for use is used, the count value for jackpot determination count value updating means for updating the count value for jackpot determination and the count value for winning symbol determination for updating the count value for determination of the hit symbol are used as the count value update means 31c for winning determination. An update means is provided, and as a hit initial value count value update means 31d, a jackpot initial value count value update means for updating the jackpot initial value count value and a hit symbol initial value count for updating the hit symbol initial value count value A value updating unit is provided, and the initial value setting unit 31d is a first jackpot determination count value for each cycle. Providing an initial value for the initial value setting means per set the first set value for each cycle of the jackpot determining the initial value setting means and per symbol judgment count value for setting the set value.

本実施の形態では、当たり初期値用カウント値更新手段31dによる当たり初期値用カウント値33bの更新処理は、処理手段31a(主制御回路31)のメイン処理内および処理手段31aのメイン処理内のタイマ割り込み周期(例えば、4ms)毎のタイマ割り込み処理内で行われる。また、当たり判定用カウント値更新手段31cによる当たり判定用カウント値33aの更新処理は、処理手段31a(主制御回路31)のメイン処理内で行われる。このように、当たり初期値用カウント値33bの更新処理を、処理手段31のメイン処理内とメイン処理内のタイマ割り込み処理内で行うことにより、処理手段31aのメイン処理内のタイマ割り込み処理内でのみ行う場合に比べて、当たり初期値用カウント値33bはよりランダムに変化する。これにより、当たり判定用カウント値の1周期毎の第1の初期値もよりランダムに変化する。なお、当たり初期値用カウント値33bの更新処理は、処理手段31aのメイン処理内でのみ行うように構成することもできる。この場合でも、当たり初期値用カウント値はランダムに変化する。   In the present embodiment, the process of updating the hit initial value count value 33b by the hit initial value count value updating means 31d is performed in the main process of the processing means 31a (main control circuit 31) and in the main process of the processing means 31a. This is performed in a timer interrupt process every timer interrupt cycle (for example, 4 ms). The hit determination count value 33a is updated by the hit determination count value updating means 31c in the main process of the processing means 31a (main control circuit 31). In this way, by updating the hit initial value count value 33b in the main process of the processing means 31 and the timer interrupt process in the main process, the timer interrupt process in the main process of the processing means 31a is performed. Compared to the case where only the initial count is performed, the count value for hit initial value 33b changes more randomly. As a result, the first initial value for each period of the count value for hit determination also changes more randomly. The hit initial value count value 33b can be updated only in the main process of the processing unit 31a. Even in this case, the hit initial value count value changes randomly.

抽選手段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. As the lottery condition, the above-described condition that the start winning ball signal indicating that the game ball has entered the start winning opening is input.
In the lottery process, first, the winning determination count value 33a stored in the winning determination count value storage area of the RAM 33 is acquired (read). Then, the acquired hit determination count value 33a is compared with the set value (win 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 count value is compared with a set value (jackpot set value). When the jackpot determination count value matches the jackpot set value (when the lottery game lottery result is a win), the winning symbol determination count value is compared with the set value (probability variation symbol set value). Then, a winning symbol lottery result (probability variation jackpot symbol or normal jackpot symbol) is output. When the jackpot determination count value does not coincide with the jackpot set value (when the lottery game lottery result is out of order), the losing symbol determination count value is acquired and the jackpot lottery result (missing symbol) is output.
Note that when the jackpot determination count value matches the jackpot set value, and when the hit symbol determination count value matches the probability variation symbol set value, the jackpot gaming state and the probability variation gaming state occur. The jackpot determination count value matches the jackpot set value, but if the hit symbol determination count value does not match the probability variation symbol set value, only the jackpot gaming state occurs. When the jackpot determination count value does not match the jackpot set value, the jackpot gaming state and the probability variation gaming state do not occur.
Various methods can be used as a method of executing the lottery process. For example, various count values such as a jackpot determination count value, a winning symbol determination count value, and a miss symbol determination count value are acquired in advance, and the lottery process is sequentially performed by appropriately selecting from the acquired count values. You can also

処理手段31aは、種々の処理を実行する。
電圧変換回路21から供給されるDC5V電力(駆動電力)の電圧が主制御回路31が動作可能な動作電圧に達すると、RAMクリアスイッチ23が操作されているか否か(初期化指示信号が入力されているか否か)を判定する。RAMクリアスイッチ23が操作されていることを判定した場合にはRAM33を初期化する初期化処理を実行し、RAMクリアスイッチ23が操作されていない場合には復帰処理を実行する。その後、メイン処理とタイマ割り込み処理を実行する。
初期化処理では、RAM33を初期化する。これにより、RAM33に記憶されている遊技情報、当たり判定用カウント値33a、当たり初期値用カウント値33bが初期化される。本実施の形態では、RAM33が初期化されると、当たり判定用カウント値33aおよび当たり初期値用カウント値33bは「0」に初期化される。
RAM33を初期化する初期化処理は、本発明の「初期化処理」に対応する。
The processing unit 31a performs various processes.
When the voltage of DC5V power (driving power) supplied from the voltage conversion circuit 21 reaches an operating voltage at which the main control circuit 31 can operate, whether or not the RAM clear switch 23 is operated (an initialization instruction signal is input). Or not). When it is determined that the RAM clear switch 23 is operated, an initialization process for initializing the RAM 33 is executed, and when the RAM clear switch 23 is not operated, a return process is executed. Thereafter, main processing and timer interrupt processing are executed.
In the initialization process, the RAM 33 is initialized. Thereby, the game information, the hit determination count value 33a, and the hit initial value count value 33b stored in the RAM 33 are initialized. In the present embodiment, when the RAM 33 is initialized, the hit determination count value 33a and the hit initial value count value 33b are initialized to “0”.
The initialization process for initializing the RAM 33 corresponds to the “initialization process” of the present invention.

復帰処理では、RAM33に記憶されている遊技情報等が正常であるか否か(停電中に変化しているか否か)を判定する。例えば、RAM33に記憶されている遊技情報等に基づいてチェックサム値やパリティデータ等の判定情報を算出し、算出した判定情報とRAM33に記憶されている判定情報(前回の停電処理時に算出された判定情報)を比較する。そして、算出した判定情報とRAM33に記憶されている判定情報が一致する場合には、RAM33に記憶されている遊技情報等が正常である(停電中に変化していない)ことを判定する。この場合には、RAM33を初期化する初期化処理は行わない、これにより、RAM33に記憶されている遊技情報等に基づいて遊技が再開される(停電時の遊技状態から再開される)。一方、算出した判定情報とRAM33に記憶されている判定情報が一致しない場合には、RAM33に記憶されている遊技情報等が異常である(停電中に変化している虞がある)ことを判定する。この場合には、RAM33を初期化する初期化処理を実行する。これにより、初期化された遊技情報等に基づいて遊技が開始される(初期の遊技状態から開始される)。
なお、復帰処理では、前回の停電処理が正常に終了したか否かを示すバックアップフラグが、前回の停電処理が正常に終了していることを示しているか否かを判定するバックアップフラグ判定処理を行う。バックアップフラグが、前回の停電処理が正常に終了していないことを示していることを判定した場合には、不正な操作が行われた虞があるため、初期化処理を実行する。
In the return process, 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 such as a checksum value and parity data is calculated based on game information stored in the RAM 33, and the calculated determination information and determination information stored in the RAM 33 (calculated during the previous power failure process). Compare judgment information). 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). In this case, the initialization process for initializing the RAM 33 is not performed, whereby the game is resumed based on the game information and the like stored in the RAM 33 (resumed from the game state at the time of power failure). 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). To do. In this case, an initialization process for initializing the RAM 33 is executed. Thereby, the game is started based on the initialized game information or the like (started from the initial game state).
In the recovery process, a backup flag determination process for determining whether or not the backup flag indicating whether or not the previous power failure process has ended normally indicates that the previous power failure process has ended normally. Do. If it is determined that the backup flag indicates that the previous power failure process has not ended normally, an unauthorized operation may be performed, and therefore an initialization process is executed.

メイン処理では、停電検出信号入力判定処理と当たり初期値用カウント値更新処理を実行する。
停電検出信号入力処理では、停電検出回路22から出力された停電検出信号(停電予告信号)が入力されているか否かを判定する。停電検出信号が入力されたことを判定した場合には、停電処理を実行する。
停電処理では、前述した復帰処理で用いるチェックサム値やパリティデータ等の判定情報を算出してRAM33に記憶する。なお、停電処理において、正常に停電処理を実行した場合(判定情報をRAM33に記憶した場合)には、バックアプフラグを、停電処理を正常に終了したことを示す状態(例えば、「1」)に設定する。停電処理が正常に終了しなかった場合には、バックアップフラグは、停電処理が正常に終了しなかったことを示す状態(例えば、「0」)に維持される。バックアップフラグは、停電中に保持される。
当たり初期値用カウント値更新処理は、当たり初期値用カウント値更新手段31dによって実行される。
In the main process, a power failure detection signal input determination process and a hit initial value count value update process are executed.
In the power failure detection signal input process, it is determined whether or not the power failure detection signal (power failure warning signal) output from the power failure detection circuit 22 is input. When it is determined that a power failure detection signal has been input, power failure processing is executed.
In the power failure process, determination information such as a checksum value and parity data used in the above-described return process is calculated and stored in the RAM 33. In the power failure processing, when the power failure processing is normally executed (when the determination information is stored in the RAM 33), the backup flag is set to a state (for example, “1”) indicating that the power failure processing has been completed normally. Set. When the power failure process does not end normally, the backup flag is maintained in a state (for example, “0”) indicating that the power failure process did not end normally. The backup flag is retained during a power failure.
The hit initial value count value update processing is executed by the hit initial value count value update means 31d.

タイマ割り込み処理では、当たり判定用カウント値更新処理、当たり初期値用カウント値更新処理、抽選条件判定処理を実行する。
当たり判定用カウント値更新処理は、当たり判定用カウント値更新手段31cと初期値設定手段33dにより実行される。
当たり初期値用カウント値更新処理は、当たり初期値用カウント値更新手段31dによって実行される。
抽選条件判定処理では、抽選条件が成立したか否かを判定する。抽選条件が成立した場合には、抽選処理を実行する。抽選処理は、抽選手段31bによって実行される。そして、抽選結果に基づいて、遊技状態を発生させるための制御信号を出力する。例えば、抽選結果が、当たり判定用カウント値が設定値と一致することを示している場合には、当たり遊技状態が発生することを液晶表示装置等に演出表示させるコマンド信号や当たり遊技状態が発生していることを液晶表示装置等に演出表示させるコマンド信号、大入賞口を開閉する大入賞口開閉部材を開制御あるいは開閉制御する駆動信号を出力する。
処理手段31aは、これ以外の種々の処理を実行する。
In the timer interrupt process, a hit determination count value update process, a hit initial value count value update process, and a lottery condition determination process are executed.
The hit determination count value update processing is executed by the hit determination count value update means 31c and the initial value setting means 33d.
The hit initial value count value update processing is executed by the hit initial value count value update means 31d.
In the lottery condition determination process, it is determined whether the lottery condition is satisfied. When the lottery condition is satisfied, the lottery process is executed. The lottery process is executed by the lottery means 31b. Then, based on the lottery result, a control signal for generating a gaming state is output. For example, if the lottery result indicates that the count value for winning determination matches the set value, a command signal or a winning gaming state for effect display on the liquid crystal display device is generated. A command signal for effect display on the liquid crystal display device and the like, and a drive signal for opening / closing or controlling the opening / closing member of the large winning opening / closing member for opening / closing the large winning opening are output.
The processing unit 31a performs various other processes.

次に、本実施の形態の主制御回路31(処理手段31a、抽選手段31b、当たり判定用カウント値更新手段31c、当たり初期値用カウント値更新手段31d、初期値設定手段31d)の処理を、図2〜図4に示すフローチャートを用いて説明する。図2および図3は、主制御回路31の電源投入時処理とメイン処理の概略を説明するフローチャートであり、図4は、主制御回路31のタイマ割り込み処理の概略を説明するフローチャートである。
先ず、主制御回路31の電源投入時処理とメイン処理について説明する。図2および図3に示す電源投入時処理は、電源の投入等によって、主制御基板20に設けられている電圧変換回路21から供給されるDC5V電力の電圧が、主制御回路31が動作可能な動作電圧に達した時点で開始される。
Next, the processing of the main control circuit 31 (processing means 31a, lottery means 31b, hit determination count value update means 31c, hit initial value count value update means 31d, initial value setting means 31d) of the present embodiment, This will be described with reference to the flowcharts shown in FIGS. 2 and 3 are flowcharts for explaining the outline of the power-on process and 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.
First, the power-on process and main process of the main control circuit 31 will be described. The power-on process shown in FIGS. 2 and 3 is such that the main control circuit 31 can 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では、停電検出信号(停電予告信号)が入力されているか否かを判断する。停電検出信号が入力されている場合にはステップ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 control signal from the main control circuit 31 is prohibited by the power failure clear signal.
In step S3, wait timer processing 1 is executed.
In step S4, it is determined whether or not a power failure detection signal (power failure notice signal) is input. When the power failure detection signal is input, the process returns to step S3, and when the power failure detection 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 the 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 DC 12V power is stabilized (until the power failure detection set value or more) when the power is turned on. In the present embodiment, 200 ms is set as the wait time 1 of the wait timer process 1. If the DC 12V power voltage does not reach the power failure detection set value within the wait time 1, it is determined that an abnormality has occurred, and an abnormality process 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 control signal can be output from the main control circuit 31.

ステップS6では、RAMクリアスイッチ23が操作されているか否かを判定する。RAMクリアスイッチ23が操作されているか否かは、例えば、初期化指示信号が入力されているか否かによって判定する。RAMクリアスイッチ23が操作されている場合にはステップS7に進み、RAMクリアスイッチ23が操作されていない場合にはステップS8に進む。
ステップS6では、本発明の「初期化指示信号が入力されている状態で駆動電力が供給されたか否かを判定する処理」が実行される。
ステップ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 whether or not an initialization instruction signal is input, for example. 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 S6, the “process for determining whether or not drive power is supplied in a state where the initialization instruction signal is input” of the present invention is executed.
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, the determination information calculated in step S11 is used to determine whether the information stored in RAM 33 is normal (whether game information, etc. stored in 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に進む。
ステップS13では、「前回の停電処理が正常に終了したか否かを判定する」処理が実行される。
ステップ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 S13, a process of “determining whether or not the previous power failure process ended normally” is executed.
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 outage 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 game state at the time of the power outage). 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 control 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で生成されている乱数34aを取得してRAM33に記憶する。前述したように、RAM33の初期化後の当たり判定用カウント値33aの1周期目の第1の初期値(開始値S)やRAM33の初期化後の当たり判定用カウント値33aの更新処理を開始する期間(開始期間T)を設定する際に用いられる。本実施の形態では、ステップS19で取得した乱数34aを用いて、RAM33の初期化後の当たり判定用カウント値33aの1周期目の第1の初期値(開始値S)を設定している。
ステップS20では、RAMクリア時処理を実行する。RAMクリア時処理では、例えば、RAM33を初期化したことを示すRAMクリア報知コマンド、各制御回路や遊技用機器の検査を行うためのテストコマンドを作成し、RAM33の送信領域に記憶する。なお、主制御回路31からRAMクリア報知コマンド信号が出力されると、液晶表示装置にRAM33が初期化されたことを報知する画像情報が表示される。また、主制御回路31からテストコマンドが出力されると、各制御回路や各遊技用機器の検査が行われる。
なお、ステップS11、S12、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 it is determined that the previous power failure process has not ended 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. A method of reading the initial value stored in the ROM 32 and setting it in the RAM 33 can also be used.
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 <b> 19, the random number 34 a generated by the random number generation circuit 34 is acquired and stored in the RAM 33. As described above, the update processing of the first initial value (start value S) in the first cycle of the hit determination count value 33a after initialization of the RAM 33 and the hit determination count value 33a after initialization of the RAM 33 is started. It is used when setting the period (start period T) to be performed. In the present embodiment, the first initial value (start value S) of the first period of the hit determination count value 33a after initialization of the RAM 33 is set using the random number 34a acquired in step S19.
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 33. 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, by the processing in steps S11, S12, S14, S17, and S18, the main control circuit 31 (processing unit 31a) performs a recovery process when the power is turned on.

ステップS16では、割り込み初期設定を行う。割り込み初期設定では、主制御回路31(処理手段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 main control circuit 31 (processing means 31a) is set. In the present embodiment, 4 ms is set as the interrupt cycle. Of course, the main process is executed at a cycle 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 detection signal (power failure notice signal) from the power failure detection circuit 22 is input. If a power failure detection signal is not input, the process proceeds to step S24. If a power failure detection signal is input, the process proceeds to step S25.
In step S24, a process for updating the count value for hit initial value 33b used for determining the first initial value for each cycle of the count value for hit determination 33a is performed. Here, when the RAM 33 is initialized, the count value for hit initial value 33b starts to be updated from the second initial value. As the second initial value, typically, when the RAM 33 is initialized, an initial value (for example, “0”) of the hit initial value count value 33b of the hit initial value count value storage area of the RAM 33 is used. It is done. In this case, when the update of the hit initial value count value 33b is started, it is only necessary to update the second update value from the initial value of the hit initial value count value 33b stored in the RAM 33.
In step S24, a non-hit determination count value other than the hit initial value count value (excluding the hit determination count value used in the lottery for determining whether or not to generate a win game state advantageous to the player). The update process can also be performed. For the non-winning determination count value, a reach display determination count value for determining whether or not to select a display mode including a reach display as a display mode for displaying the lottery result, and a variation display pattern of the lottery result are determined. For example, a count value for determining a variation display pattern is included. The non-hit determination count value is updated by the non-hit determination count value update means corresponding to each non-hit determination count value.
The hit initial value count value 33a is updated by the hit initial value count value updating unit 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の退避領域に記憶する。判定情報としては、チャックサム値に限定されず、パリティデータ等の種々の判定情報を用いることができる。
ステップ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, a checksum value such as game information stored in the RAM 33 is calculated. The game information stored in the RAM 33 and the calculated checksum value are stored in the save area of the RAM 33 as backup information. The determination information is not limited to the chuck sum value, and various determination information such as parity data can be used.
In step S28, when the processing of step S27 (processing for 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 completed normally, the backup flag BK is set to the power failure processing. 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 recovery).
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 written in the input area of the RAM 33 as input information. As the input signal, for example, a start winning ball signal indicating that a game ball has entered the start winning port, a big winning ball signal indicating that a game ball has entered the big winning port, 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に記憶されている当たり判定用カウント値33aの更新処理を行う。複数の当たり判定用カウント値を用いている場合には、RAM33に記憶されている複数の当たり判定用カウント値を更新する。
本実施の形態では、RAM33の初期化後の当たり判定用カウント値33aの1周期目の更新処理では、ステップS19で取得した乱数34aを用いて開始値Sを決定し、決定した開始値Sを当たり判定用カウント値33aの1周期目の第1の初期値として設定する。一方、RAM33の初期化後の当たり判定用カウント値33aの2周期目以降の各周期での更新処理では、当たり初期値用カウント値33bを当たり判定用カウント値33aの各周期の第1の初期値として設定する。当たり判定用カウント値33aの各周期の第1の初期値を設定する処理は、初期値設定手段31dによって実行される。なお、初期値設定手段31dによる当たり判定用カウント値33aの1周期目の第1の初期値を設定する処理は、ステップS19で実行することもできる。ステップT5では、初期値設定手段31dによって設定された第1の初期値から、当たり判定用カウント値33aを順次更新する。当たり判定用カウント値33aが、当該周期の第1の初期値の直前の値に達すると、初期値設定手段31dによって次の周期の第1の初期値が設定され、設定された次の周期の第1の初期値から次の周期の更新処理が実行される。なお、当たり判定用カウント値33aは、当該周期内で第2の値に達すると、第1の値から更新処理が継続される。
本実施の形態では、RAM33が初期化された後の1周期目の第1の初期値を、乱数生成回路34で生成されている、遊技機毎に固有な固有識別情報32aに基づいて生成されている乱数を用いて設定している。このため、RAM33が初期化されてから当たり判定用カウント値33aが最初に(1周期目において)設定値(当たり値)に達するまでの期間は遊技機毎に異なるものとなる。したがって、RAM33が不正に初期化されても、当たり判定用カウント値33aが最初に設定値と一致する時点を予測するのが困難となり、RAM33の不正な初期化による不正な遊技を防止することができる。
主制御回路31(処理手段31a)が動作を開始した時点でRAM33の初期化が行われなかった場合には、遊技情報、当たり判定用カウント値33a、当たり初期値用カウント値33bは初期化されない。この場合には、当たり判定用カウント値33aおよび当たり初期値用カウント値33bは、停電前の値から更新が開始される。
In step T5, the hit determination count value 33a stored in the RAM 33 is updated. When a plurality of hit determination count values are used, the plurality of hit determination count values stored in the RAM 33 are updated.
In the present embodiment, in the first cycle update process of the hit determination count value 33a after initialization of the RAM 33, the start value S is determined using the random number 34a acquired in step S19, and the determined start value S is It is set as the first initial value of the first period of the hit determination count value 33a. On the other hand, in the update process in each cycle after the second cycle of the hit determination count value 33a after initialization of the RAM 33, the hit initial value count value 33b is changed to the first initial value in each cycle of the hit determination count value 33a. Set as a value. The process of setting the first initial value of each cycle of the hit determination count value 33a is executed by the initial value setting means 31d. The process of setting the first initial value of the first period of the hit determination count value 33a by the initial value setting means 31d can also be executed in step S19. In step T5, the hit determination count value 33a is sequentially updated from the first initial value set by the initial value setting means 31d. When the hit determination count value 33a reaches a value immediately before the first initial value of the cycle, the initial value setting means 31d sets the first initial value of the next cycle, and the set next cycle The update process of the next cycle is executed from the first initial value. When the hit determination count value 33a reaches the second value within the period, the updating process is continued from the first value.
In the present embodiment, the first initial value in the first period after the RAM 33 is initialized is generated based on the unique identification information 32a generated by the random number generation circuit 34 and unique to each gaming machine. Is set using random numbers. For this reason, the period until the count value 33a for hit determination reaches the set value (win value) for the first time (in the first cycle) after the RAM 33 is initialized differs for each gaming machine. Therefore, even if the RAM 33 is illegally initialized, it is difficult to predict when the hit determination count value 33a first matches the set value, thereby preventing illegal games due to the illegal initialization of the RAM 33. it can.
If the RAM 33 is not initialized when the main control circuit 31 (processing means 31a) starts operating, the game information, the hit determination count value 33a, and the hit initial value count value 33b are not initialized. . In this case, the hit determination count value 33a and the hit initial value count value 33b are updated from the values before the power failure.

なお、ステップT5では、ステップS24での当たり初期値用カウント値33bの更新処理と同様の更新処理も行われる。すなわち、非当たり判定用カウント値33bの更新処理も行われる。このように、当たり初期値用カウント値の更新処理を、メイン処理内およびメイン処理内のタイマ割り込み処理内それぞれで行うことにより、当たり初期値用カウント値のランダム性がより高まる。ステップT5での当たり判定用カウント値33bの更新処理は、当たり判定用カウント値更新手段31cと初期値設定手段31dによって実行され、当たり初期値用カウント値33bの更新処理は、当たり初期値用カウント値更新手段31dによって実行される。   In step T5, an update process similar to the update process of the hit initial value count value 33b in step S24 is also performed. That is, update processing of the non-hit determination count value 33b is also performed. In this way, by performing the update process of the hit initial value count value in each of the main process and the timer interrupt process in the main process, the randomness of the hit initial value count value is further increased. The update process of the hit determination count value 33b in step T5 is executed by the hit determination count value update means 31c and the initial value setting means 31d, and the update process of the hit initial value count value 33b is performed by the hit initial value count. This is executed by the value updating 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 corresponds to the read input information. A signal (prize ball command signal) indicating the number of prize balls (corresponding to a prize opening into which a 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 winning opening opening / closing member for opening / closing the 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, prize ball abnormality information is written in the transmission area of the RAM 33.

ステップT8では、抽選処理を行う。例えば、RAM33の入力領域から入力情報を読み出し、遊技者に有利な当たり遊技状態を発生させるか否かの抽選を行う条件を示している入力情報が入力されている場合(抽選条件が成立した場合)には、RAM33に記憶されている当たり判定用カウント値33aを取得する(読み出す)。そして、取得した当たり判定用カウント値33aとROM32に記憶されている設定値(当たり値)を比較し(抽選し)、比較結果を出力する(抽選結果を出力する)抽選処理を実行する(当たりであるか否かを判定する)。
例えば、大当たり遊技状態と確変遊技状態を発生させる場合には、遊技球が始動入賞口に入球したことを示す始動入賞口入球信号が入力されると、大当たり判定用カウント値を取得し、取得した大当たり判定用カウント値と設定値(大当たり設定値)とを比較する。取得した大当たり判定用カウント値が大当たり設定値と一致しない場合には、はずれ図柄判定用カウント値を取得し、抽選結果として出力する。取得した大当たり判定用カウント値が大当たり設定値と一致する場合には、当たり図柄判定用カウント値を取得し、取得した当たり図柄判定用カウント値と設定値(確変図柄設定値)とを比較する。取得した当たり図柄判定用カウント値が確変図柄設定値と一致しない場合には、確変大当たり図柄を示す当たり図柄判定用カウント値を抽選結果として出力する。取得した当たり図柄判定用カウント値が確変図柄設定値と一致しない場合には、普通大当たり図柄を示す当たり図柄判定用カウント値を抽選結果として出力する。
次に、抽選結果に基づいて出力情報を設定しRAM33の出力領域に書き込む。例えば、抽選結果が、大当たり判定用カウント値が大当たり設定値と一致し、当たり図柄判定用カウント値は確変図柄設定値と一致することを示している場合には、大当たり遊技状態および確変遊技状態を発生させることを決定する。また、抽選結果が、大当たり判定用カウント値が大当たり設定値と一致しているが、当たり図柄判定用カウント値は確変図柄設定値と一致していないことを示している場合には、大当たり遊技状態を発生させることを決定する。なお、当たり変動表示パターン用カウント値更新手段で更新されている当たり変動表示パターン用カウント値に基づいて当たり変動表示パターンを決定する。
そして、確変図柄あるいは普通大当たり図柄を示す当たり図柄情報および当たり変動表示パターンを示す当たり変動表示パターン情報をRAM33の出力領域に書き込む。また、大当たり遊技状態を発生させるための情報(例えば、大入賞口開閉部材を駆動する駆動信号)と確変遊技状態を発生させるための情報(例えば、高確率テーブル選択情報)をRAM33の出力領域に書き込む。
一方、大当たり判定用カウント値が大当たり設定値と一致しない場合には、はずれ図柄判定用カウント値更新手段で更新されているはずれ図柄判定用カウント値に基づいてはずれ図柄を決定するとともに、はずれ変動表示パターン用カウント値更新手段で更新されているはずれ変動表示パターン用カウント値に基づいてはずれ変動表示パターンを決定する。そして、決定したはずれ図柄を示すはずれ図柄情報およびはずれ変動表示パターンを示すはずれ変動表示パターン情報をRAM33の出力領域に書き込む。
ステップT8での抽選処理は、抽選手段31bによって実行される。
In step T8, a lottery process is performed. For example, 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 winning gaming state advantageous to the player is input (when the lottery condition is satisfied) ) Obtains (reads out) the hit determination count value 33a stored in the RAM 33. Then, the acquired winning determination count value 33a is compared with the set value (winning value) stored in the ROM 32 (lottery), and the comparison result is output (the lottery result is output). Or not).
For example, in the case of generating a jackpot gaming state and a probability variation gaming state, when a start winning port entry signal indicating that a game ball has entered the starting winning port is input, a jackpot determination count value is acquired, The acquired jackpot determination count value is compared with the set value (jackpot set value). When the acquired jackpot determination count value does not coincide with the jackpot set value, the lost symbol determination count value is acquired and output as a lottery result. When the acquired jackpot determination count value matches the jackpot setting value, the winning symbol determination count value is acquired, and the acquired winning symbol determination count value is compared with the set value (probability changing symbol setting value). When the acquired winning symbol determination count value does not coincide with the probability variation symbol set value, the winning symbol determination count value indicating the probability variation large symbol is output as a lottery result. When the acquired winning symbol determination count value does not coincide with the probability variation symbol setting value, the winning symbol determination count value indicating the normal jackpot symbol is output as the lottery result.
Next, output information is set based on the lottery result and written to the output area of the RAM 33. For example, if the lottery result indicates that the jackpot determination count value matches the jackpot setting value and the winning symbol determination count value matches the probability variation symbol setting value, the jackpot gaming state and the probability variation gaming state are Decide to generate. Also, if the lottery result indicates that the jackpot determination count value matches the jackpot set value, but the winning symbol determination count value does not match the probability variation symbol set value, the jackpot gaming state Decide to generate. The hit fluctuation display pattern is determined based on the hit fluctuation display pattern count value updated by the hit fluctuation display pattern count value updating means.
Then, the winning symbol information indicating the probability variation symbol or the normal jackpot symbol and the winning variation display pattern information indicating the winning variation display pattern are written in the output area of the RAM 33. In addition, information for generating a jackpot gaming state (for example, a driving signal 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. Write.
On the other hand, when the jackpot determination count value does not coincide with the jackpot set value, the missing symbol is determined based on the missed symbol determination count value updated by the missing symbol determination count value updating means, and the variation variation display is performed. A deviation fluctuation display pattern is determined based on the deviation fluctuation display pattern count value updated by the pattern count value updating means. Then, the determined symbol information indicating the error symbol and the error variation display pattern information indicating the error variation display pattern are written in the output area of the RAM 33.
The lottery process at step T8 is executed by the lottery means 31b.

ステップT9では、信号出力処理を行う。例えば、RAM33の出力領域に書き込まれている出力情報を読み出し、読み出した出力情報に基づいて各種制御信号(コマンド信号や駆動信号)を出力する。
ステップT10では、ウォッチドックタイマクリアレジスタWCLに「C」を設定する。これにより、ウォッチドックタイマクリアレジスタWCLに、「A」、「B」、「C」が順に設定されるため、ウォッチドックタイマがクリア設定される。
ステップT11では、レジスタの切替(復帰)を行う。ここで、タイマ割り込み処理が開始されると、主制御回路31(処理手段31a)は、レジスタに記憶されている情報をスタックに退避し、メイン処理で使用していたレジスタに記憶されている情報が破壊されるのを防止している。ステップT11では、タイマ割り込み処理が終了したため、スタックに退避していた情報を読み出したレジスタに記憶する。
In step T9, signal output processing is performed. For example, the output information written in the output area of the RAM 33 is read, and various control signals (command signal and drive signal) are output based on the read output 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が初期化された後の、当たり判定用カウント値33aの1周期目においては、乱数生成回路34で生成されている乱数34aに基づいて決定される開始値Sを第1の初期値に設定して更新を実行し、2周期目以降の各周期においては、当たり初期値用カウント値33bを各周期の第1の初期値に設定して更新を実行するように構成されている。
また、当たり判定用カウント値33aは、リセット値「0」を第1の値、折返し値「299」を第2の値とする第1の範囲「0」〜「299」内の第1の初期値から、リセット値「0」から折返し値「299」の方向(加算方向)に第1の更新値「1」ずつ更新(加算)し、当たり初期値用カウント値33bは、リセット値「0」を第3の値、折り返し値「299」を第4の値とする第2の範囲「0」〜「299」内のリセット値「0」から、リセット値「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 count value and the hit initial value count value. Hereinafter, a case where one hit determination count value 33a and one hit initial value count value 33b are used will be described. In addition, operations related to the change state of the hit determination count value 33a and the hit initial value count value 33b will be mainly described, and description of other operations will be omitted. In FIG. 5, the hit determination count value is indicated by a solid line, and the hit initial value count value is indicated by a broken line.
In the present embodiment, in the first cycle of the hit determination count value 33a after the RAM 33 is initialized, the start value S determined based on the random number 34a generated by the random number generation circuit 34 is changed to the first value S. The update is executed by setting the initial value to 1, and the update is executed by setting the count value 33b for the hit initial value to the first initial value of each cycle in each cycle after the second cycle. Has been.
The hit determination count value 33a is a first initial value in the first range “0” to “299” in which the reset value “0” is the first value and the turn-back value “299” is the second value. From the value, the first update value “1” is updated (added) in the direction (addition direction) from the reset value “0” to the return value “299”, and the count value 33b for the initial value is the reset value “0”. From the reset value “0” in the second range “0” to “299”, from the reset value “0” to the return value “299”, with the third value as the third value and the return value “299” as the fourth value. It is assumed that the second update value “1” is updated (added) in the direction (addition direction). In this case, one period (one cycle) of the hit determination count value 33a is a range from the first initial value being updated (added) by “1” “300” times. Further, when the count value for hit determination 33a and the count value for hit initial value 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等の駆動電力として供給する。
主制御回路31(処理手段31a)は、DC5V電力の電圧が動作電圧に達すると、RAMクリアスイッチ23から入力される初期化指示信号あるいはRAM33に記憶されている判定情報あるいはバックアップデータに基づいて、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 via 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.
When the DC5V power voltage reaches the operating voltage, the main control circuit 31 (processing means 31a), based on the initialization instruction signal input from the RAM clear switch 23, the determination information stored in the RAM 33, or the backup data, It is determined whether or not the RAM 33 is to be initialized.

いま、主制御回路31が、時点t1で、RAM33を初期化した場合を考える。本実施の形態では、RAM33が初期化された時点t1で、TAM33の当たり判定用カウント値33aおよび当たり初期値用カウント値33bは「0」(=リセット値)に設定される。RAM33が初期化された後直ちに当たり判定用カウント値更新手段31cによる当たり判定用カウント値33aの更新を開始すると、当たり判定用カウント値33aは、リセット値「0」から更新が開始される。この場合、前述したように、RAM33が初期化されてから当たり判定用カウント値33aが最初に設定値(図5では、当たり値「140」)と一致するまでの期間を予測することができる。
本実施の形態では、初期値設定手段31dは、RAM33が初期化された後の当判定用カウント値33aの1周期目においては、乱数生成回路34によって生成されている乱数(パチンコ機毎に固有な固有識別情報32aに基づいて生成されている乱数)に基づいて決定した開始値Sを、1周期目の第1の初期値として設定する(ステッS19)。なお、乱数生成回路34は、当たり判定用乱数33aの変化範囲内で乱数が変化するように構成されるのが好ましい。例えば、主制御回路31(処理手段31a)から乱数生成回路34に、乱数の変化範囲を示す変化範囲情報(例えば、開始値Sの変化範囲を示す第5の値と第6の値)を出力し、乱数生成回路34で生成される乱数の変化範囲を設定可能に構成する。
Consider a case where the main control circuit 31 initializes the RAM 33 at time t1. In the present embodiment, at the time point t1 when the RAM 33 is initialized, the count value for hit determination 33a and the count value for hit initial value 33b of the TAM 33 are set to “0” (= reset value). When the hit determination count value 33a is updated by the hit determination count value updating unit 31c immediately after the RAM 33 is initialized, the hit determination count value 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 count value 33a first matches the set value (in FIG. 5, the hit value “140”).
In the present embodiment, the initial value setting means 31d has a random number (specific to each pachinko machine) generated by the random number generation circuit 34 in the first cycle of the determination count value 33a after the RAM 33 is initialized. The start value S determined based on the unique identification information 32a is set as the first initial value in the first period (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 hit determination random number 33a. For example, change range information (for example, the fifth value and the sixth value indicating the change range of the start value S) indicating the change range of the random number is output from the main control circuit 31 (processing unit 31a) 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.

当たり判定用カウント値33aは、時点t1で、乱数に基づいて決定された開始値Sを第1の初期値として1周期目の更新が開始された後、時点t2で折り返し値「299」に達するが、1周期目の更新が終了してないため、リセット値「0」からの更新が継続される。そして、初期値「S」から1周期分の更新(「300」回の更新)が行われた時点t3で、当たり判定用カウント値33aは、第1の初期値「S」の直前の値に達する。これにより、当たり判定用カウント値33aの1周期目の更新(加算)が終了する。
当たり判定用カウント値33aは、時点t3で1周期目の更新が終了すると、2周期目の更新が行われる。ここで、初期値設定手段31dは、RAM33が初期化された後の当たり判定用カウント値33aの2周期目以降の各周期においては、当たり初期値用カウント値33bを用いて当たり判定用カウント値33aの第1の初期値を設定する。図5では、時点t3で、当たり初期値用カウント値33bが「120」であり、当たり判定用カウント値33aの2周期目の第1の初期値として「120」が設定され、第1の初期値「120」から2周期目の更新が開始されている。
以後、同様にして、当たり判定用カウント値33aは、1周期毎に第1の初期値を当たり初期値用カウント値33bを用いて更新しながら、第1の範囲内で更新される。
The hit determination count value 33a reaches the return value “299” at time t2 after the first period of update is started with the start value S determined based on the random number as the first initial value at time t1. However, the update from the reset value “0” is continued because the update in the first cycle is not completed. Then, at the time t3 when the update for one cycle (the update of “300” times) is performed from the initial value “S”, the hit determination count value 33a is set to a value immediately before the first initial value “S”. Reach. Thereby, the update (addition) of the first period of the hit determination count value 33a is completed.
The hit determination count value 33a is updated in the second cycle when the update in the first cycle is completed at time t3. Here, the initial value setting means 31d uses the hit initial value count value 33b in each cycle after the second cycle of the hit determination count value 33a after the RAM 33 is initialized. A first initial value 33a is set. In FIG. 5, at time t3, the hit initial value count value 33b is “120”, and “120” is set as the first initial value of the second cycle of the hit determination count value 33a. Update of the second cycle is started from the value “120”.
Thereafter, similarly, the hit determination count value 33a is updated within the first range while the first initial value is updated using the hit initial value count value 33b every cycle.

以上のように、本実施の形態では、当たり判定用カウント値33aとして初期値更新型の当たり判定用カウント値を用いるとともに、RAM33が初期化された後の、当たり判定用カウント値33aの1周期目においては、乱数生成回路34で生成されている乱数に基づいて決定される開始値Sを1周期目の第1の初期値として設定し、2周期目以降においては、当たり初期値用カウント値33bを各周期の第1の初期値として設定している。ここで、乱数生成回路34は、遊技機毎に固有な固有識別情報32aに基づいて乱数を生成しているため、開始値Sは遊技機毎に異なる。
これにより、RAM33が初期化されてから、当たり判定用カウント値33aが最初に設定値(当たり値)と一致するまでの期間(当たり判定用カウント値33aが設定値と一致する時点)を予測するのが困難となる。また、2周期目以降の各周期においても、各周期の開始時点から、当たり判定用カウント値33aが設定値(当たり値)と一致するまでの期間(当たり判定用カウント値33aが設定値と一致する時点)を予測するのが困難となる。したがって、RAM33の不正な初期化による不正な遊技を防止することができる。
As described above, in the present embodiment, an initial value update type hit determination count value is used as the hit determination count value 33a, and one cycle of the hit determination count value 33a after the RAM 33 is initialized. In the eye, the start value S determined based on the random number generated by the random number generation circuit 34 is set as the first initial value in the first period, and in the second period and thereafter, the count value for the winning initial value is set. 33b is set as the first initial value of each period. 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 value S is different for each gaming machine.
Thus, a period from when the RAM 33 is initialized until the hit determination count value 33a first matches the set value (win value) (when the hit determination count value 33a matches the set value) is predicted. It becomes difficult. Also, in each cycle after the second cycle, the period from the start of each cycle until the hit determination count value 33a matches the set value (win value) (the hit determination count value 33a matches the set value) It is difficult to predict when to perform the operation. Therefore, an illegal game due to an illegal initialization of the RAM 33 can be prevented.

第1の実施の形態では、RAM33の初期化後の、当たり判定用カウント値33aの1周期目の第1の初期値を、遊技機毎に固有な固有識別情報32aに基づいて生成されている乱数に基づいて決定される開始値Sに設定したが、RAM33の初期化後の、当たり判定用カウント値33aの1周期目の更新処理を、遊技機毎に固有な固有識別情報32aに基づいて生成されている乱数に基づいて決定される開始期間T経過後に開始するように構成することもできる。
以下に、RAM33が初期化された後に、当たり判定用カウント値33aおよび当たり初期値用カウント値33bの更新処理を開始する時期を遅らせる第2の実施の形態を説明する。
なお、第2の実施の形態は、ステップS24での当たり初期値用カウント値33bの更新処理と、ステップT5での当たり判定用カウント値33aの更新処理および当たり初期値用カウント値33bの更新処理が第1の実施の形態と異なるだけであるため、以下では、当たり初期値用カウント値33bの更新処理と当たり判定用カウント値33aの更新処理についてのみ説明する。
In the first embodiment, the first initial value of the first period of the hit determination count value 33a after the initialization of the RAM 33 is generated based on the unique identification information 32a unique to each gaming machine. Although the start value S determined based on the random number is set, the update process of the first period of the hit determination count value 33a after the initialization of the RAM 33 is performed based on the unique identification information 32a unique to each gaming machine. It can also be configured to start after the elapse of the start period T determined based on the generated random number.
In the following, a second embodiment will be described in which the timing for starting the update process of the hit determination count value 33a and the hit initial value count value 33b is delayed after the RAM 33 is initialized.
In the second embodiment, the hit initial value count value 33b is updated in step S24, the hit determination count value 33a is updated in step T5, and the hit initial value count value 33b is updated. However, only the process for updating the count value for hit initial value 33b and the process for updating the count value for hit determination 33a will be described below.

ステップS24およびステップT5では、当たり初期値用カウント値33bの更新処理を行う。本実施の形態では、RAM33が初期化された場合、RAM33が初期化されてから、乱数生成回路34で生成されている乱数に基づいて決定される期間(開始期間T)経過した時点で、当たり判定用カウント値33aおよび当たり初期値用カウント値33bの更新処理を開始する。すなわち、RAM33が初期化された場合には、ステップS19で取得した乱数を用いて、RAM33が初期化されてから当たり初期値用カウント値33bの更新を開始する開始期間Tを決定する。そして、RAM33が初期化されてから、決定した開始期間Tが経過した時点で、当たり初期値用カウント値33bの更新処理を開始する。当たり初期値用カウント値33bは、第2の値(本実施の形態では「0」)から第2の更新値ずつ第2の範囲内で順次更新される。   In step S24 and step T5, the hit initial value count value 33b is updated. In the present embodiment, when the RAM 33 is initialized, when the 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, Update processing of the count value for determination 33a and the count value for hit initial value 33b is started. That is, when the RAM 33 is initialized, the start period T for starting the update of the count value for initial value 33b after the RAM 33 is initialized is determined using the random number obtained in step S19. Then, when the determined start period T elapses after the RAM 33 is initialized, the process for updating the hit initial value count value 33b is started. The hit initial value count value 33b is sequentially updated within the second range from the second value (“0” in the present embodiment) by the second update value.

ステップT5では、当たり判定用カウント値33bの更新処理を行う。本実施の形態では、RAM33が初期化された場合、RAM33が初期化されてから、乱数生成回路34で生成されている乱数に基づいて決定される期間(開始期間T)経過した時点で、当たり判定用カウント値33aおよび当たり初期値用カウント値33bの更新処理を開始する。すなわち、RAM33が初期化された場合には、ステップS19で取得した乱数を用いて、RAM33が初期化されてから当たり判定用カウント値33aの更新を開始する開始期間Tを決定する。そして、RAM33が初期化されてから、決定した開始期間Tが経過した時点で、当たり判定用カウント値33aの更新を開始する。RAM33が開始されてから開始期間Tが経過したか否かは、ステップT4でのタイマ減算処理で判定することができる。
なお、初期値設定手段31dは、RAM33が開始されてから開始期間Tが経過すると、当たり判定用乱数33aの各周期において、第1の当たり初期値用カウント値33bを用いて各周期の第1の初期値を設定する。ステップT5では、初期値設定手段31dで設定された第1の初期値から、第1の更新値ずつ当たり判定用カウント値33aを更新する。
In step T5, the hit determination count value 33b is updated. In this embodiment, when the RAM 33 is initialized, when the 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, Update processing of the count value for determination 33a and the count value for hit initial value 33b is started. That is, when the RAM 33 is initialized, the start period T for starting the update of the hit determination count value 33a after the RAM 33 is initialized is determined using the random number acquired in step S19. Then, the update of the hit determination count value 33a is started when the determined start period T has elapsed after the RAM 33 is initialized. Whether or not the start period T has elapsed since the start of the RAM 33 can be determined by the timer subtraction process in step T4.
The initial value setting unit 31d uses the first count value 33b for the first hit initial value in each cycle of the hit determination random number 33a when the start period T elapses after the RAM 33 is started. Set the initial value of. In step T5, the hit determination count value 33a is updated for each first update value from the first initial value set by the initial value setting means 31d.

第2の実施の形態の動作を、当たり判定用カウント値と当たり初期値用カウント値の変化状態を示す図6を参照して説明する。各条件は、図5で説明した場合と同様である。また、図6では、当たり判定用カウント値は実線で示され、当たり初期値用カウント値は破線で示されている。
時点t1で、RM33が初期化された場合、乱数生成回路34で生成されている乱数に基づいて開始期間Tが決定される。
そして、時点t1から開始期間Tが経過した時点t2で、当たり判定用カウント値33aおよび当たり初期値用カウント値33bの更新が開始される。時点t2では、当たり初期値用カウント値33bは、RAM33が初期化された時点の値「0」であるため、初期設定手段31dは、当たり判定用カウント値33aの1周期目の第1の初期値として、当たり初期値用カウント値33bの値「0」を設定する。これにより、当たり判定用カウント値33aおよび当たり初期値用カウント値33bは、時点t2で、「0」から更新が開始される。
当たり判定用カウント値33aは、時点t2で更新処理を開始した後、第1の初期値「0」から1周期分の更新(「300」回の更新)が行われた時点t3で、折返し値「299」に達する。これにより、当たり判定用カウント値33aの1周期目の更新(カウント)が終了する。
当たり判定用カウント値33aは、時点t3で1周期目の更新が終了すると、2周期目の更新が開始される。ここで、初期値設定手段31dは、当たり初期値用カウント値33bを2周期目の第1の初期値として設定する。図6では、時点t3では当たり初期値用カウント値33bが「130」であり、当たり判定用カウント値33aの2周期目の第1の初期値として「130」が設定され、第1の初期値「130」から2周期目の更新が開始される。
以後、同様にして、当たり判定用カウント値33aは、1周期毎に第1の初期値を当たり初期値用カウント値33bを用いて更新しながら、第1の範囲内で更新される。
The operation of the second embodiment will be described with reference to FIG. 6 showing the change state of the hit determination count value and the hit initial value count value. Each condition is the same as that described in FIG. In FIG. 6, the hit determination count value is indicated by a solid line, and the hit initial value count value is indicated by a broken line.
When the RM 33 is initialized at the time point t1, the start period T is determined based on the random number generated by the random number generation circuit 34.
Then, at the time t2 when the start period T has elapsed from the time t1, the hit determination count value 33a and the hit initial value count value 33b are updated. At time point t2, the count value for hit initial value 33b is the value “0” at the time when the RAM 33 is initialized. Therefore, the initial setting means 31d sets the first initial value in the first cycle of the count value for hit determination 33a. As the value, the value “0” of the count value 33b for hit initial value is set. Accordingly, the hit determination count value 33a and the hit initial value count value 33b are updated from “0” at time t2.
The count value for hit determination 33a is a return value at a time point t3 when updating for one cycle from the first initial value “0” (“300” times of updating) is performed after starting the updating process at the time point t2. Reach "299". Thereby, the update (count) of the first period of the count value for hit determination 33a is completed.
The hit determination count value 33a starts to be updated in the second cycle when the update in the first cycle is completed at time t3. Here, the initial value setting means 31d sets the hit initial value count value 33b as the first initial value in the second period. In FIG. 6, at the time t3, the hit initial value count value 33b is “130”, “130” is set as the first initial value of the second cycle of the hit determination count value 33a, and the first initial value is set. The update of the second cycle is started from “130”.
Thereafter, similarly, the hit determination count value 33a is updated within the first range while the first initial value is updated using the hit initial value count value 33b every cycle.

以上のように、本実施の形態では、当たり判定用カウント値33aとして初期値更新型の当たり判定用カウント値を用いるとともに、RAM33が初期化された場合には、当たり判定用カウント値33aおよび当たり初期値用カウント値33bの更新処理を、乱数生成回路34で生成されている乱数に基づいて決定される開始期間T経過した後に開始している。ここで、乱数生成回路34は、遊技機毎に固有な固有識別情報32aに基づいて生成されているため、開始期間Tは遊技機毎に異なる。
これにより、RAM33が初期化されてから、当たり判定用カウント値33aが最初に設定値(当たり値)と一致するまでの期間(当たり判定用カウント値33aが設定値と一致する時点)を予測するのが困難となる。また、2周期目以降の各周期においても、各周期の開始時点から、当たり判定用カウント値33aが設定値(当たり値)と一致するまでの期間(当たり判定用カウント値33aが設定値と一致する時点)を予測するのが困難となる。したがって、RAM33の不正な初期化による不正な遊技を防止することができる。
As described above, in the present embodiment, the initial value update type hit determination count value is used as the hit determination count value 33a, and when the RAM 33 is initialized, the hit determination count value 33a and the hit determination count value are determined. The update processing of the initial value count value 33b is started after the start period T determined based on the random number generated by the random number generation circuit 34 has elapsed. Here, since the random number generation circuit 34 is generated based on the unique identification information 32a unique to each gaming machine, the start period T is different for each gaming machine.
Thus, a period from when the RAM 33 is initialized until the hit determination count value 33a first matches the set value (win value) (when the hit determination count value 33a matches the set value) is predicted. It becomes difficult. Also, in each cycle after the second cycle, the period from the start of each cycle until the hit determination count value 33a matches the set value (win value) (the hit determination count value 33a matches the set value) It is difficult to predict when to perform the operation. Therefore, an illegal game due to an illegal initialization of the RAM 33 can be prevented.

第2の実施の形態では、RAM33が初期化された場合、RAM33が初期化されてから、乱数生成回路34で生成されている乱数に基づいて決定される開始期間Tが経過した後に、当たり判定用乱数33aおよび当たり初期値用乱数33bの更新処理を開始させたが、当たり初期値用乱数33bの更新処理を当たり判定用乱数33aの更新処理より前に開始させるように構成することもできる。
以下に、RAM33が初期化された時点で当たり初期値用乱数の更新処理を開始させ、RAM33が初期化されてから乱数生成回路で生成されている乱数に基づいて決定される開始期間が経過した後に当たり判定用乱数の更新処理を開始させる第3の実施の形態を説明する。
第3の実施の形態の遊技機は、図1と同様に構成することができる。
第3の実施の形態の処理は、ステップT5での当たり判定用乱数33aの更新処理を除いて、図2〜図4に示されているフローチャートと同様の処理を実行するため、以下では、当たり判定用カウント値33aの更新処理についてのみ説明する。
In the second embodiment, when the RAM 33 is initialized, the hit determination is made after the 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. Although the update process for the random number for random use 33a and the random number for random start value 33b is started, the update process for the random number for positive initial value 33b can be started before the update process for the random number for hit determination 33a.
Below, when the RAM 33 is initialized, the initial value random number update process is started, and the start period determined based on the random numbers generated by the random number generation circuit has elapsed since the RAM 33 was initialized. A third embodiment for starting the hit determination random number update process later will be described.
The gaming machine of the third embodiment can be configured similarly to FIG.
Since the process of the third embodiment executes the same process as the flowcharts shown in FIGS. 2 to 4 except for the update process of the hit determination random number 33a in step T5, Only the update processing of the determination count value 33a will be described.

ステップT5では、当たり判定用カウント値33bの更新処理を行う。本実施の形態では、RAM33が初期化された場合、RAM33が初期化されてから、乱数生成回路34で生成されている乱数に基づいて決定される期間(開始期間T)経過した時点で、当たり判定用カウント値33aの更新処理を開始する。すなわち、RAM33が初期化された場合には、ステップS19で取得した乱数を用いて、RAM33が初期化されてから当たり判定用カウント値33aの更新を開始する開始期間Tを決定する。そして、RAM33が初期化されてから、決定した開始期間Tが経過した時点で、初期化手段31dは、当たり初期値用カウント値33bを当たり判定用カウント値33aの1周期目の第1の初期値として設定する。
ここで、本実施の形態では、当たり初期値用カウント値33bの更新処理は、第1の実施の形態と同様に、RAM33が初期化された時点t1から開始される。このため、RAM33が初期化されてから開始期間Tが経過した時点t2では、当たり初期値用カウント値33bは任意の値となっている。これにより、RAM33が初期化されてから当たり判定用カウント値33aの更新処理が開始される時点およびRAM33が初期化された後の当たり判定用カウント値33aの1周期目の第1の初期値がランダムに設定される。
In step T5, the hit determination count value 33b is updated. In the present embodiment, when the RAM 33 is initialized, when the 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, Update processing of the determination count value 33a is started. That is, when the RAM 33 is initialized, the start period T for starting the update of the hit determination count value 33a after the RAM 33 is initialized is determined using the random number acquired in step S19. When the determined start period T elapses after the RAM 33 is initialized, the initialization unit 31d sets the first initial value in the first cycle of the hit determination count value 33a to the hit initial value count value 33b. Set as a value.
Here, in the present embodiment, the update process of the hit initial value count value 33b is started from the time point t1 when the RAM 33 is initialized, as in the first embodiment. For this reason, at the time t2 when the start period T has elapsed since the RAM 33 was initialized, the hit initial value count value 33b is an arbitrary value. As a result, the first initial value of the first period of the hit determination count value 33a after the RAM 33 is initialized and when the update process of the hit determination count value 33a is started and after the RAM 33 is initialized are set. Randomly set.

第3の実施の形態の動作を、当たり判定用カウント値と当たり初期値用カウント値の変化状態を示す図7を参照して説明する。各条件は、図5で説明した場合と同様である。また、図7では、当たり判定用カウント値は実線で示され、当たり初期値用カウント値は破線で示されている。
RAM33が初期化された時点t1で、当たり初期値用カウント値33bは、リセット値「0」を第2の初期値として更新が開始される。
そして、RAM33が初期化されてから開始期間Tが経過した時点t2で、当たり判定用カウント値33aの更新処理が開始される。この時、初期値設定手段31dは、当たり初期値用カウント値33bを、当たり判定用カウント値33aの1周期目の第1の初期値として設定する。図7では、時点t2で、当たり初期値用カウント値が「60」であり、当たり判定用カウント値33aは、時点t2で、当たり初期値用カウント値「60」が1周期目の第1の初期値として設定され、第1の初期値「60」から1周期目の更新が開始される。
当たり判定用カウント値33aは、時点t2で第1の初期値「60」から1周期目の更新を開始した後、時点t3で折り返し値「299」に達するが、1周期目の更新が終了してないため、リセット値「0」からの更新が継続される。そして、初期値「60」から1周期分の更新(「300」回の更新)が行われた時点t4で、当たり判定用カウント値33aが、1周期目の第1の初期値「60」の直前の値「59」に達する。これにより、当たり判定用カウント値33aの1周期目の更新(カウント)が終了する。
時点t4で1周期目の更新処理が終了すると、初期値設定手段31dは、当たり初期値用カウント値33bを2周期目の第1の初期値として設定する。図7では、時点t4では当たり初期値用カウント値33bが「170」であり、当たり判定用カウント値33aの2周期目の第1の初期値として「170」が設定され、第1の初期値「170」から2周期目の更新が開始される。
以後、同様にして、当たり判定用カウント値33aは、1周期毎に、当たり初期値用カウント値33bを用いて各周期の第1の初期値が更新されながら、第1の範囲内で更新される。
なお、当たり初期値用カウント値33bの更新処理は、RAM33が初期化されてから開始期間Tが経過する前であればよく、開始期間T内の任意の時点から開始してもよい。
The operation of the third embodiment will be described with reference to FIG. 7 showing the change state of the hit determination count value and the hit initial value count value. Each condition is the same as that described in FIG. In FIG. 7, the hit determination count value is indicated by a solid line, and the hit initial value count value is indicated by a broken line.
At the time point t1 when the RAM 33 is initialized, the count value for hit initial value 33b is started to be updated with the reset value “0” as the second initial value.
Then, at the time t2 when the start period T has elapsed since the initialization of the RAM 33, the update process of the hit determination count value 33a is started. At this time, the initial value setting means 31d sets the hit initial value count value 33b as the first initial value in the first cycle of the hit determination count value 33a. In FIG. 7, the hit initial value count value is “60” at time t2, and the hit determination count value 33a is the first count in the first cycle at the time t2. The initial value is set, and the first cycle update is started from the first initial value “60”.
The hit determination count value 33a reaches the return value “299” at the time point t3 after starting the update of the first cycle from the first initial value “60” at the time point t2, but the update of the first cycle is completed. Therefore, the update from the reset value “0” is continued. Then, at the time t4 when the update for one cycle from the initial value “60” (“300” update) is performed, the hit determination count value 33a is the first initial value “60” in the first cycle. The previous value “59” is reached. Thereby, the update (count) of the first period of the count value for hit determination 33a is completed.
When the update process for the first cycle is completed at time t4, the initial value setting unit 31d sets the count value 33b for winning initial value as the first initial value for the second cycle. In FIG. 7, the count value 33b for the hit initial value is “170” at the time point t4, “170” is set as the first initial value in the second cycle of the count value 33a for the hit determination, and the first initial value Updating of the second cycle starts from “170”.
Thereafter, similarly, the hit determination count value 33a is updated within the first range while the first initial value of each cycle is updated using the hit initial value count value 33b for each cycle. The
The hit initial value count value 33b may be updated before the start period T elapses from the initialization of the RAM 33, and may be started at an arbitrary point in the start period T.

以上のように、本実施の形態では、当たり判定用カウント値33aとして初期値更新型の当たり判定用カウント値を用いるとともに、RAM33が初期化されてから、乱数生成回路34で生成されている乱数に基づいて決定される開始期間Tが経過した後に当たり判定用カウント値33aの更新処理を開始している。前述したように、乱数生成回路34で生成されている乱数に基づいて決定される開始期間Tは、遊技機毎に異なる。
さらに、RAM33が初期化されてから開始期間Tが経過する前に(RAM33が初期化された時点を含む)当たり初期値用カウント値33bの更新処理を開始させている。このため、RAM33が初期化されてから開始期間Tが経過した時点における当たり初期値用カウント値33bはランダムな値となり、RAM33が初期化されてから当たり判定用カウント値33aが最初に設定値と一致するまでの期間を予測するのが非常に困難となる。
したがって、RAM33の不正な初期化による不正な遊技をより確実に防止することができる。
As described above, in this embodiment, the initial value update type hit determination count value is used as the hit determination count value 33a, and the random number generated by the random number generation circuit 34 after the RAM 33 is initialized. After the start period T determined on the basis of elapses, update processing of the hit determination count value 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 update process of the initial value count value 33b is started before the start period T elapses after the RAM 33 is initialized (including the time when the RAM 33 is initialized). Therefore, the hit initial value count value 33b at the time when the start period T has elapsed since the initialization of the RAM 33 is a random value, and the hit determination count value 33a is first set to the set value after the RAM 33 is initialized. It will be very difficult to predict the time until matching.
Therefore, an illegal game due to an illegal initialization of the RAM 33 can be prevented more reliably.

なお、第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 count value becomes equal to the set value, it is possible to prevent an illegal game from being performed.

また、第1〜第3の実施の形態では、RAMクリアスイッチ23が主制御基板20に設けられているため、RAMクリアスイッチ23の操作信号(初期化指示信号)を伝送する信号線を主制御基板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 23 is main-controlled. There is no need to connect to the substrate 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 while the initialization instruction signal is illegally inserted into the signal line. Can be prevented.

本発明は、実施の形態で説明した構成に限定されず、種々の変更、追加、削除が可能である。
電源基板10の構成や、主制御基板20の構成は実施の形態で説明した構成に限定されない。
当たり判定用カウント値33aや当たり初期値用カウント値33bの変化範囲(第1の範囲や第2の範囲)、更新値(第1の更新値や第2の更新値)、更新方向等は、適宜選択可能である。
本発明は、実施の形態で説明した各構成を個別にあるいは複数を適宜組み合わせて構成することができる。
主制御基板20に供給する直流電力の電圧値は、適宜選択可能である。
主制御回路31が設けられている主制御基板20について説明したが、本発明は、他の制御回路が設けられている他の制御基板にも適用することができる。
パチンコ機として構成した場合について説明したが、本発明はパチンコ機以外の種々の遊技機として構成することができる。
The present invention is not limited to the configuration described in the embodiment, and various changes, additions, and deletions are possible.
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 change range (first range or second range), update value (first update value or second update value), update direction, etc. of the hit determination count value 33a or the hit initial value count value 33b are as follows: It can be selected as appropriate.
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の範囲内で更新される当たり判定用カウント値、前記第1の範囲内の第2の範囲内で更新される当たり初期値用カウント値、遊技機毎に固有な固有識別情報が記憶され、
前記乱数生成回路は、前記記憶回路に記憶されている固有識別情報に基づいて乱数を生成し、
前記制御回路は、駆動電力が供給されると、復帰処理を実行した後、メイン処理とタイマ割り込み処理を実行し、
前記復帰処理では、前記記憶回路に記憶されている判定情報に基づいて前記記憶回路に記憶されている情報が正常であるか否かを判定し、前記記憶回路に記憶されている情報が正常でないことを判定した場合には、前記記憶回路に記憶されている遊技情報、当たり判定用カウント値と当たり初期値用カウント値を初期化する初期化処理を実行し、
前記メイン処理では、停電検出信号入力判定処理と当たり初期値用カウント値更新処理を実行し、
前記停電検出信号入力判定処理では、停電が発生したことを示す停電検出信号が入力されたか否かを判定し、停停電検出信号が入力されたことを判定した場合には、前記復帰処理で用いる判定情報を算出して前記記憶回路に記憶し、
前記当たり初期値用カウント値更新処理では、前記当たり初期値用カウント値を、前記第2の範囲内の第2の初期値から第2の更新値ずつ更新し、
前記タイマ割り込み処理では、当たり判定用カウント値更新処理と抽選条件判定処理を実行し、
前記当たり判定用カウント値更新処理では、前記当たり判定用カウント値を、第1の初期値から前記第1の範囲内の1周期に亘って第1の更新値ずつ更新するとともに、1周期毎に前記第1の初期値を前記当たり初期値用カウント値を用いて更新し、前記初期化処理が実行された場合には、前記初期化処理が実行されてから前記乱数生成回路で生成されている乱数に基づいて決定される開始期間が経過した後に前記当たり判定用カウント値の更新を開始し、
前記抽選条件判定処理では、抽選条件が成立したか否かを判定し、抽選条件が成立したことを判定した場合には、前記当たり判定用カウント値と設定値を比較し、前記当たり判定用カウント値が前記設定値と一致する場合には、当たり遊技状態を発生させるための制御信号を出力することを特徴とする遊技機。」として構成することができる。
The present invention can be configured as follows.
“(Aspect 1) A gaming machine that compares a count value for hit determination with a set value due to establishment of a lottery condition, and generates a hit gaming state when the count value for hit determination matches the set value,
A control circuit, a storage circuit, a random number generation circuit, a control board provided with the control circuit, the storage circuit and the random number generation circuit, a power supply circuit for supplying power to the control board, and the power supply circuit Provided with the power supply board provided,
The memory circuit includes game information that changes with the game, a count value for hit determination updated within the first range, and a hit initial value updated within the second range within the first range. Count value, unique identification information unique to each gaming machine is stored,
The random number generation circuit generates a random number based on the unique identification information stored in the storage circuit,
When the drive power is supplied, the control circuit executes a return process, and then executes a main process and a timer interrupt process.
In the restoration process, it is determined whether or not the information stored in the storage circuit is normal based on the determination information stored in the storage circuit, and the information stored in the storage circuit is not normal If it is determined, the game information stored in the storage circuit, a count value for hit determination and an initialization process for initializing the count value for hit initial value are executed,
In the main process, the power failure detection signal input determination process and the initial value count value update process are executed,
In the power failure detection signal input determination process, it is determined whether or not a power failure detection signal indicating that a power failure has occurred is input, and when it is determined that a power failure detection signal has been input, it is used in the return processing Determination information is calculated and stored in the storage circuit,
In the hit initial value count value update process, the hit initial value count value is updated by a second update value from the second initial value within the second range,
In the timer interruption process, a count value update process for winning determination and a lottery condition determination process are executed,
In the hit determination count value update process, the hit determination count value is updated from the first initial value by the first update value over one period within the first range, and for each period. When the first initial value is updated using the count value for the initial value and the initialization process is executed, the first random value is generated by the random number generation circuit after the initialization process is executed. After the start period determined based on a random number has elapsed, the hit determination count value is updated,
In the lottery condition determination process, it is determined whether or not the lottery condition is satisfied. When it is determined that the lottery condition is satisfied, the winning determination count value is compared with a set value, and the winning determination count is determined. When the value matches the set value, a control signal for generating a winning gaming state is output. Can be configured.

本態様では、初期化処理が実行されてから、乱数生成回路で生成されている乱数に基づいて決定される開始期間が経過した後に当たり判定用カウント値の更新を開始する。
本態様では、初期化処理が実行されてから、遊技機毎に異なる固有識別情報に基づいて生成されている乱数を用いて決定された開始期間が経過した後に、当たり判定用カウント値の更新処理を開始するため、初期化処理が実行されてから当たり判定用カウント値が最初に設定と一致するまでの期間を予測するのが困難である。したがって、記憶回路の不正な初期化による不正な遊技を防止することができる。
In this aspect, after the initialization process is executed, the hit determination count value is updated after a start period determined based on the random number generated by the random number generation circuit has elapsed.
In this aspect, after the initialization process is executed, the count value for hit determination is updated after a start period determined using a random number generated based on unique identification information that differs for each gaming machine has elapsed. Therefore, it is difficult to predict a period from when the initialization process is executed until the hit determination count value first matches the setting. Therefore, an illegal game due to an illegal initialization of the memory circuit can be prevented.

また、「(態様2)態様1の遊技機であって、前記当たり初期値用カウント値更新処理では、前記初期化処理が実行された場合には、前記初期化処理が実行されてから前記開始期間が経過する前に前記当たり初期値用カウント値の更新を開始することを特徴とする遊技機。」として構成することができる。   In addition, “(Aspect 2) is a gaming machine according to Aspect 1, wherein in the hit initial value count value update process, when the initialization process is executed, the initialization process is executed and then the start is performed. The game machine is characterized by starting to update the count value for winning initial value before the period elapses. "

本態様では、初期化処理が実行されてから、乱数生成回路で生成されている乱数に基づいて決定される開始期間が経過する前に当たり初期値用カウント値の更新を開始する。初期値用カウント値の更新を開始する時期は、当たり判定用乱数の更新処理が開始される前であればよく、初期化処理が実行された時点でもよい。
本態様では、初期化処理が実行された後の、当たり判定用カウント値の1周期目の第1の初期値をランダムに設定することができる。したがって、記憶回路の不正な初期化による不正な遊技をより効果的に防止することができる。
In this aspect, after the initialization process is executed, the update of the initial value count value is started before the start period determined based on the random number generated by the random number generation circuit elapses. The time to start updating the initial value count value may be before the hit determination random number update process is started, or may be the time when the initialization process is executed.
In this aspect, the first initial value of the first cycle of the hit determination count value after the initialization process is executed can be set at random. Therefore, an illegal game due to an illegal initialization of the memory circuit can be more effectively prevented.

また、「(態様3)請求項1、態様1または2のいずれかの遊技機であって、前記タイマ割り込み処理では、前記当たり判定用カウント値更新処理、前記抽選条件判定処理と前記当たり初期値用カウント値更新処理を実行することを特徴とする遊技機。」として構成することができる。   Further, “(Aspect 3) is the gaming machine according to any one of Claims 1, Aspects 1 and 2, wherein in the timer interruption process, the count value update process for winning determination, the lottery condition determination process, and the initial value for winning are determined. The game machine is characterized in that the count value update process is executed. ”

本態様では、当たり初期値用カウント値の更新処理を、制御回路のメイン処理内とメイン処理内のタイマ割り込み処理内で実行する。
本態様では、当たり初期値用カウント値、すなわち、当たり判定用カウント値の各周期の第1の初期値をよりランダムに変化させることができるため、当たり判定用カウント値が設定値と一致する時期を予測するのがより困難となる。
In this aspect, the hit initial value count value update process is executed in the main process of the control circuit and in the timer interrupt process in the main process.
In this aspect, the count value for the hit determination value, that is, the first initial value of each cycle of the count value for the hit determination can be changed more randomly. Is more difficult to predict.

また、「(態様4)請求項1、態様1〜3のいずれかの遊技機であって、前記制御基板には、電圧変換回路と停電検出回路が設けられており、前記電圧変換回路は、前記電源回路から供給される電力の電圧を前記制御回路の駆動電力の電圧に対応する電圧に変換し、前記停電検出回路は、前記電源回路から供給される電力が低下していることを検出した場合に前記停電検出信号を出力することを特徴とする遊技機。」として構成することができる。   Further, “(Aspect 4) is a gaming machine according to any one of claims 1 and 1 to 3, wherein the control board is provided with a voltage conversion circuit and a power failure detection circuit. The voltage of power supplied from the power supply circuit is converted into a voltage corresponding to the voltage of drive power of the control circuit, and the power failure detection circuit detects that the power supplied from the power supply circuit is reduced. In some cases, the power failure detection signal is output.

本態様では、制御基板に電圧変換回路と停電検出回路を設けている。
これにより、制御基板に設けられている制御回路の駆動電力を供給するための電力線を制御基板に接続する必要がない。これにより、制御回路の駆動電力を供給するための電力線に混入されるノイズによる影響を防止することができるとともに、制御回路の駆動電力を供給するための電源線に対する不正操作を防止することができる。
また、初期化指示信号を伝送するための信号線を制御基板に接続する必要がない、これにより、初期化指示信号を伝送するための信号線に対する不正操作を防止することができる。
In this aspect, the voltage conversion circuit and the power failure detection circuit are provided on the control board.
Thereby, it is not necessary to connect the power line for supplying the drive power of the control circuit provided in the control board to the control board. As a result, it is possible to prevent the influence of noise mixed in the power line for supplying the driving power for the control circuit, and it is possible to prevent the unauthorized operation on the power line for supplying the driving power for the control circuit. .
In addition, it is not necessary to connect a signal line for transmitting the initialization instruction signal to the control board, thereby preventing an unauthorized operation on the signal line for transmitting the initialization instruction signal.

また、「(態様5)請求項1、態様1〜4のいずれかの遊技機であって、前記制御基板には、初期化指示信号を出力する初期化指示手段が設けられており、前記制御回路は、駆動電力が供給されると、前記初期化指示信号が入力されている状態で駆動電力が供給されたか否かを判定し、前記初期化指示信号が入力されている状態で駆動電力が供給されたことを判定した場合には、前記初期化処理を実行した後に前記メイン処理と前記タイマ割り込み処理を実行し、前記初期化指示信号が入力されていない状態で駆動電力が供給されたことを判定した場合には、前記復帰処理を実行した後、前記メイン処理と前記タイマ割り込み処理を実行することを特徴とする遊技機。」として構成することができる。   In addition, “(Aspect 5) is a gaming machine according to any one of claims 1 and 1, wherein the control board is provided with an initialization instruction means for outputting an initialization instruction signal. When the drive power is supplied, the circuit determines whether the drive power is supplied in a state where the initialization instruction signal is input, and the drive power is supplied in the state where the initialization instruction signal is input. If it is determined that the power is supplied, the main process and the timer interrupt process are executed after the initialization process, and the drive power is supplied in a state where the initialization instruction signal is not input. When the game machine is determined, the main process and the timer interrupt process are executed after the return process is executed.

本態様では、記憶回路の初期化を指示する初期化指示信号を出力する初期化指示スイッチを制御基板に設けている。そして、制御回路は、初期化指示スイッチから初期化指示信号が出力されている状態で動作した場合に記憶手段を初期化する。
本態様では、初期化指示スイッチからの初期化指示信号を伝送するための信号線を制御基板に接続する必要がない。これにより、初期化指示信号を伝送するための信号線に対する不正操作を防止することができる。
In this embodiment, an initialization instruction switch for outputting an initialization instruction signal for instructing initialization of the memory circuit is provided on the control board. The control circuit initializes the storage means when operating in a state where the initialization instruction signal is output from the initialization instruction switch.
In this aspect, there is no need to connect a signal line for transmitting an initialization instruction signal from the initialization instruction switch to the control board. Thereby, an unauthorized operation on the signal line for transmitting the initialization instruction signal can be prevented.

また、「(態様6)請求項1、態様1〜5のいずれかの遊技機であって、前記電源基板には、前記制御基板にバックアップ電力を供給するバックアップ電源が設けられていることを特徴とする遊技機。」として構成することができる。   Further, “(Aspect 6) is a gaming machine according to any one of claims 1 and 1 to 5, wherein the power supply board is provided with a backup power supply for supplying backup power to the control board. Can be configured as a game machine.

本態様では、制御基板にバックアップ電力を供給するバックアップ電源を電源基板に設けている。
これにより、バックアップ電源を制御基板に設けた場合のように、制御基板を取り外して故意に不正な遊技状態に設定する不正を防止することができる。
In this aspect, a backup power supply for supplying backup power to the control board 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 count value and a hit initial value count value according to the first embodiment of the present invention. 本発明の第2の実施の形態の当たり判定用カウント値と当たり初期値用カウント値の変化状態を示す図である。It is a figure which shows the change state of the count value for winning determination and the count value for winning initial value of the 2nd Embodiment of this invention. 本発明の第3の実施の形態の当たり判定用カウント値と当たり初期値用カウント値の変化状態を示す図である。It is a figure which shows the change state of the count value for winning determination and the count value for winning initial value of the 3rd Embodiment of this invention. 従来例の当たり判定用カウント値の変化状態を示す図である。It is a figure which shows the change state of the count value 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 当たり初期値用カウント値更新手段
31e 初期値設定手段
32 ROM
32a 固有識別情報
33 RAM
33a 当たり判定用カウント値
33b 初期値用カウント値
34 乱数生成回路(乱数生成手段)
10 Power Supply Board 11 Power Supply Circuit 12 Backup Capacitor (Backup Power Supply)
20 Main control board (control board)
21 Voltage conversion circuit 22 Power failure detection circuit 23 RAM clear switch (initialization instruction switch)
30 Main control circuit IC
31 main control circuit 31a processing means 31b lottery means 31c hit determination count value update means 31d hit value initial value count value update means 31e initial value setting means 32 ROM
32a Unique identification information 33 RAM
33a Count value for hit determination 33b Count value for initial value 34 Random number generation circuit (random number generation means)

Claims (1)

抽選条件の成立に起因して、当たり判定用カウント値と設定値を比較し、当たり判定用カウント値が設定値と一致する場合に当たり遊技状態を発生させる遊技機であって、
制御回路と、記憶回路と、乱数生成回路と、前記制御回路、前記記憶回路および前記乱数生成回路が設けられている制御基板と、前記制御基板に電力を供給する電源回路と、前記電源回路が設けられている電源基板を備え、
前記記憶回路には、遊技に伴って変化する遊技情報、第1の範囲内で更新される当たり判定用カウント値、前記第1の範囲内の第2の範囲内で更新される当たり初期値用カウント値、遊技機毎に固有な固有識別情報が記憶され、
前記乱数生成回路は、前記記憶回路に記憶されている固有識別情報に基づいて乱数を生成し、
前記制御回路は、駆動電力が供給されると、復帰処理を実行した後、メイン処理とタイマ割り込み処理を実行し、
前記復帰処理では、前記記憶回路に記憶されている判定情報に基づいて前記記憶回路に記憶されている情報が正常であるか否かを判定し、前記記憶回路に記憶されている情報が正常でないことを判定した場合には、前記記憶回路に記憶されている遊技情報、当たり判定用カウント値と当たり初期値用カウント値を初期化する初期化処理を実行し、
前記メイン処理では、停電検出信号入力判定処理と当たり初期値用カウント値更新処理を実行し、
前記停電検出信号入力判定処理では、停電が発生したことを示す停電検出信号が入力されたか否かを判定し、停停電検出信号が入力されたことを判定した場合には、前記復帰処理で用いる判定情報を算出して前記記憶回路に記憶し、
前記当たり初期値用カウント値更新処理では、前記当たり初期値用カウント値を、前記第2の範囲内の第2の初期値から第2の更新値ずつ更新し、
前記タイマ割り込み処理では、当たり判定用カウント値更新処理と抽選条件判定処理を実行し、
前記当たり判定用カウント値更新処理では、前記当たり判定用カウント値を、第1の初期値から前記第1の範囲内の1周期に亘って第1の更新値ずつ更新するとともに、前記初期化処理が実行された後の1周期目においては、前記乱数生成回路で生成されている乱数に基づいて決定される値を用いて前記第1の初期値を設定し、前記初期化処理が実行された後の2周期目以降の各周期においては、前記当たり初期値用カウント値を用いて前記第1の初期値を設定し、
前記抽選条件判定処理では、抽選条件が成立したか否かを判定し、抽選条件が成立したことを判定した場合には、前記当たり判定用カウント値と設定値を比較し、前記当たり判定用カウント値が前記設定値と一致する場合には、当たり遊技状態を発生させるための制御信号を出力する、
ことを特徴とする遊技機。
Due to the establishment of the lottery condition, a game machine that compares a count value for hit determination with a set value and generates a hit gaming state when the count value for hit determination matches the set value,
A control circuit, a storage circuit, a random number generation circuit, a control board provided with the control circuit, the storage circuit and the random number generation circuit, a power supply circuit for supplying power to the control board, and the power supply circuit Provided with the power supply board provided,
The memory circuit includes game information that changes with the game, a count value for hit determination updated within the first range, and a hit initial value updated within the second range within the first range. Count value, unique identification information unique to each gaming machine is stored,
The random number generation circuit generates a random number based on the unique identification information stored in the storage circuit,
When the drive power is supplied, the control circuit executes a return process, and then executes a main process and a timer interrupt process.
In the restoration process, it is determined whether or not the information stored in the storage circuit is normal based on the determination information stored in the storage circuit, and the information stored in the storage circuit is not normal If it is determined, the game information stored in the storage circuit, a count value for hit determination and an initialization process for initializing the count value for hit initial value are executed,
In the main process, the power failure detection signal input determination process and the initial value count value update process are executed,
In the power failure detection signal input determination process, it is determined whether or not a power failure detection signal indicating that a power failure has occurred is input, and when it is determined that a power failure detection signal has been input, it is used in the return processing Determination information is calculated and stored in the storage circuit,
In the hit initial value count value update process, the hit initial value count value is updated by a second update value from the second initial value within the second range,
In the timer interruption process, a count value update process for winning determination and a lottery condition determination process are executed,
In the hit determination count value update process, the hit determination count value is updated for each first update value from the first initial value over one period within the first range, and the initialization process is performed. In the first cycle after the first is executed, the first initial value is set using a value determined based on the random number generated by the random number generation circuit, and the initialization process is executed. In each of the subsequent cycles after the second cycle, the first initial value is set using the count value for the hit initial value,
In the lottery condition determination process, it is determined whether or not the lottery condition is satisfied. When it is determined that the lottery condition is satisfied, the winning determination count value is compared with a set value, and the winning determination count is determined. When the value matches the set value, a control signal for generating a winning gaming state is output.
A gaming machine characterized by that.
JP2007163215A 2007-06-20 2007-06-20 Game machine Pending JP2009000241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007163215A JP2009000241A (en) 2007-06-20 2007-06-20 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007163215A JP2009000241A (en) 2007-06-20 2007-06-20 Game machine

Publications (1)

Publication Number Publication Date
JP2009000241A true JP2009000241A (en) 2009-01-08

Family

ID=40317304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007163215A Pending JP2009000241A (en) 2007-06-20 2007-06-20 Game machine

Country Status (1)

Country Link
JP (1) JP2009000241A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011104271A (en) * 2009-11-20 2011-06-02 Takao Co Ltd Pinball game machine
JP2012130592A (en) * 2010-12-24 2012-07-12 Daiichi Shokai Co Ltd Game machine
JP2013166036A (en) * 2013-06-03 2013-08-29 Sophia Co Ltd Game machine
JP2013166038A (en) * 2013-06-03 2013-08-29 Sophia Co Ltd Game machine
JP2013166037A (en) * 2013-06-03 2013-08-29 Sophia Co Ltd Game machine
JP2016163629A (en) * 2015-03-06 2016-09-08 株式会社三共 Game machine and device for game

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006149534A (en) * 2004-11-26 2006-06-15 Samii Kk Random number generator, game machine and random number generating method
JP2006271685A (en) * 2005-03-29 2006-10-12 Daiman:Kk Game machine
JP2007111408A (en) * 2005-10-24 2007-05-10 Sanyo Product Co Ltd Game machine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006149534A (en) * 2004-11-26 2006-06-15 Samii Kk Random number generator, game machine and random number generating method
JP2006271685A (en) * 2005-03-29 2006-10-12 Daiman:Kk Game machine
JP2007111408A (en) * 2005-10-24 2007-05-10 Sanyo Product Co Ltd Game machine

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011104271A (en) * 2009-11-20 2011-06-02 Takao Co Ltd Pinball game machine
JP2012130592A (en) * 2010-12-24 2012-07-12 Daiichi Shokai Co Ltd Game machine
JP2013166036A (en) * 2013-06-03 2013-08-29 Sophia Co Ltd Game machine
JP2013166038A (en) * 2013-06-03 2013-08-29 Sophia Co Ltd Game machine
JP2013166037A (en) * 2013-06-03 2013-08-29 Sophia Co Ltd Game machine
JP2016163629A (en) * 2015-03-06 2016-09-08 株式会社三共 Game machine and device for game

Similar Documents

Publication Publication Date Title
JP5250804B2 (en) Game machine
JP2013128828A (en) Game machine
JP5282211B2 (en) Game machine
JP2009000241A (en) Game machine
JP5252174B2 (en) Game machine
JP4321642B2 (en) Game machine
JP5238951B2 (en) Game machine
JP2003275429A (en) Pachinko game machine
JP2006271687A (en) Game machine
JP4023322B2 (en) Game machine
JP4492685B2 (en) Slot machine
JP5360862B2 (en) Game machine
JP5250803B2 (en) Game machine
JP2009061346A (en) Game machine
JP2009061344A (en) Game machine
JP2009061345A (en) Game machine
JP2009056111A (en) Game machine
JP2009061347A (en) Game machine
JP5182335B2 (en) Game machine
JP4320685B2 (en) Game machine
JP5576017B2 (en) Game machine
JP5720645B2 (en) Game machine
JP4428438B2 (en) Game machine
JP4428439B2 (en) Game machine
JP4379514B2 (en) Game machine

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Effective date: 20090323

Free format text: JAPANESE INTERMEDIATE CODE: A712

A621 Written request for application examination

Effective date: 20100618

Free format text: JAPANESE INTERMEDIATE CODE: A621

A131 Notification of reasons for refusal

Effective date: 20120801

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Effective date: 20121120

Free format text: JAPANESE INTERMEDIATE CODE: A02