JP2003033544A - Game machine - Google Patents

Game machine

Info

Publication number
JP2003033544A
JP2003033544A JP2001225207A JP2001225207A JP2003033544A JP 2003033544 A JP2003033544 A JP 2003033544A JP 2001225207 A JP2001225207 A JP 2001225207A JP 2001225207 A JP2001225207 A JP 2001225207A JP 2003033544 A JP2003033544 A JP 2003033544A
Authority
JP
Japan
Prior art keywords
signal
power supply
input
game
board
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
JP2001225207A
Other languages
Japanese (ja)
Inventor
Shohachi Ugawa
詔八 鵜川
Masaki Imai
雅基 今井
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.)
Sankyo Co Ltd
Original Assignee
Sankyo 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 Sankyo Co Ltd filed Critical Sankyo Co Ltd
Priority to JP2001225207A priority Critical patent/JP2003033544A/en
Publication of JP2003033544A publication Critical patent/JP2003033544A/en
Pending legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)
  • Display Devices Of Pinball Game Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To reliably store necessary data in a storage means and control the input of signals such as an unlawful interrupt signal even if an unlawful act such as the unlawful transmission of the interrupt signal is committed. SOLUTION: In the case that an NMI signal is unlawfully inputted, a reset signal to be provided for a CPU56 does not reach a reset level. But a control circuit by a flip flop for receiving the input of the NMI signal to generate an interrupt signal does not transmit an unlawful signal except an initially inputted NMI signal to output. As a result, only one fall is inputted to an XNMI terminal of the CPU56, and a plurality of interrupts are not applied. Even if a plurality of NMI signals occur due to the instability, etc., of a source voltage at a normal service interruption of power supply by the control circuit, only one non-maskable interrupt is applied in the CPU56. Therefore, processing at the service interruption of power supply is reliably executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、遊技者が所定の遊
技を行い、所定条件の成立に応じて遊技者に所定の遊技
価値を付与可能なパチンコ遊技機やスロットマシン等の
遊技機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a gaming machine such as a pachinko gaming machine or a slot machine in which a player plays a predetermined game and gives a predetermined gaming value to the player when a predetermined condition is satisfied.

【0002】[0002]

【従来の技術】遊技機として、遊技球などの遊技媒体を
発射装置によって遊技領域に発射し、遊技領域に設けら
れている入賞口などの入賞領域に遊技媒体が入賞する
と、所定個の賞球が遊技者に払い出されるものがある。
さらに、表示状態が変化可能な可変表示装置が設けら
れ、可変表示装置の表示結果があらかじめ定められた特
定の表示態様となった場合に所定の遊技価値を遊技者に
与えるように構成されたものがある。
2. Description of the Related Art As a game machine, a game medium such as a game ball is launched into a game area by a launching device, and when a game medium is won in a prize area such as a winning opening provided in the game area, a predetermined number of prize balls are provided. There are things that are paid out to the player.
Further, a variable display device whose display state can be changed is provided, and is configured to give a predetermined game value to the player when the display result of the variable display device becomes a predetermined specific display mode. There is.

【0003】特別図柄を表示する可変表示装置の表示結
果があらかじめ定められた特定の表示態様の組合せとな
ることを、通常、「大当り」という。なお、遊技価値と
は、遊技機の遊技領域に設けられた可変入賞球装置の状
態が打球が入賞しやすい遊技者にとって有利な状態にな
ることや、遊技者にとって有利な状態となるための権利
を発生させたりすることである。
It is usually called "big hit" that the display result of the variable display device for displaying the special symbol is a combination of predetermined specific display modes. Note that the game value is the right for the state of the variable winning ball device provided in the game area of the gaming machine to be in an advantageous state for a player who easily wins a hit ball, or to be in an advantageous state for a player. Is to be generated.

【0004】大当りが発生すると、例えば、大入賞口が
所定回数開放して打球が入賞しやすい大当り遊技状態に
移行する。そして、各開放期間において、所定個(例え
ば10個)の大入賞口への入賞があると大入賞口は閉成
する。そして、大入賞口の開放回数は、所定回数(例え
ば16ラウンド)に固定されている。なお、各開放につ
いて開放時間(例えば29.5秒)が決められ、入賞数
が所定個に達しなくても開放時間が経過すると大入賞口
は閉成する。また、大入賞口が閉成した時点で所定の条
件(例えば、大入賞口内に設けられているVゾーンへの
入賞)が成立していない場合には、大当り遊技状態は終
了する。
When a big hit occurs, for example, the big winning opening is opened a predetermined number of times, and a big hit game state in which a hit ball is easy to win is entered. Then, in each opening period, when a predetermined number (for example, 10) of winning holes are won, the winning holes are closed. The number of times the special winning opening is opened is fixed to a predetermined number (for example, 16 rounds). An opening time (for example, 29.5 seconds) is determined for each opening, and the special winning opening is closed when the opening time elapses even if the number of winnings does not reach a predetermined number. If the predetermined condition (for example, winning in the V zone provided in the special winning opening) is not satisfied when the special winning opening is closed, the jackpot gaming state ends.

【0005】そして、遊技球が遊技盤に設けられている
入賞口に遊技球が入賞すると、あらかじめ決められてい
る個数の賞球払出が行われる。遊技の進行は主基板に搭
載された遊技制御手段によって制御されるので、入賞に
もとづく賞球個数は、遊技制御手段によって決定され、
景品としての遊技球を払い出す払出機構を制御する払出
制御手段に送信される。なお、以下、遊技制御手段およ
びその他の制御手段を、それぞれ電気部品制御手段と呼
ぶことがある。また、電気部品とは、遊技機に設けられ
ている部品(機構部品や回路等)であって、電気的に動
作するものである。
When the game balls are won in the winning openings provided on the game board, a predetermined number of prize balls are paid out. Since the progress of the game is controlled by the game control means mounted on the main board, the number of prize balls based on the winning is determined by the game control means,
It is transmitted to the payout control means for controlling the payout mechanism for paying out game balls as a prize. In the following, the game control means and the other control means may be referred to as electric component control means. In addition, the electric component is a component (mechanical component, circuit, etc.) provided in the gaming machine and electrically operates.

【0006】[0006]

【発明が解決しようとする課題】遊技機には、遊技制御
手段を初めとする種々の電気部品制御手段が搭載されて
いるが、一般に、各電気部品制御手段はマイクロコンピ
ュータで構成される。すなわち、ROM等にプログラム
が格納され、制御上一時的に発生するデータや制御進行
に伴って変化するデータがRAMに格納される。する
と、遊技機に停電等による電源断状態が発生すると、R
AM内のデータは失われてしまう。よって、停電等から
の復旧時には、最初の状態(例えば、遊技店においてそ
の日最初に遊技機に電源投入されたときの状態)に戻さ
ざるを得ないので、遊技者に不利益がもたらされる可能
性がある。例えば、大当り遊技中において電源断が発生
し遊技機が最初の状態に戻ってしまうのでは、遊技者は
大当りの発生にもとづく利益を享受することができなく
なってしまう。
Various kinds of electric component control means such as game control means are mounted on a game machine, and generally, each electric component control means is composed of a microcomputer. That is, the program is stored in the ROM or the like, and the data temporarily generated in the control or the data that changes with the progress of the control are stored in the RAM. Then, when a power failure occurs in the gaming machine due to a power failure, R
The data in AM will be lost. Therefore, at the time of recovery from a power outage, there is no choice but to return to the initial state (for example, the state when the game machine was first turned on at the game store on that day), which may be disadvantageous to the player. There is. For example, if the power is cut off during the big hit game and the gaming machine returns to the initial state, the player cannot receive the profit based on the big hit occurrence.

【0007】そのような事態を回避するには、停電等の
不測の電力供給の停止が生じたときに、遊技制御手段に
おいて、必要なデータを電源バックアップされたバック
アップRAMに保存し、電源が復旧したときに保存され
ていたデータを復元して遊技状態を復元し遊技を再開さ
せればよい。一般に、バックアップRAMが設けられて
いる場合には、電力供給が停止することを検出する検出
回路が設けられ、検出回路からの信号(電源断信号と呼
ぶことにする。)を割込信号としてマイクロコンピュー
タの割込端子に入力し、マイクロコンピュータは、割込
によって電力供給の停止を検知して必要なデータをバッ
クアップRAMに保存する処理を実行する。バックアッ
プRAMに保存される必要なデータには遊技状態を復元
するための情報が含まれるのであるから、プログラムカ
ウンタの値やレジスタの値等がスタック領域に保存され
るのが一般的である。バックアップRAMに必要なデー
タを保存するための処理は、電力供給の停止に伴う電源
電圧の低下時に、電源電圧がマイクロコンピュータが動
作可能な電圧にある間に実行され、バックアップRAM
に必要なデータを保存するための処理の実行が完了した
後、電源電圧は、マイクロコンピュータが動作し得ない
電圧にまで低下した後に0になる。
In order to avoid such a situation, when an unexpected stop of the power supply such as a power failure occurs, the game control means saves necessary data in the backup RAM backed up by the power source and restores the power source. It is only necessary to restore the data saved when the game is played, restore the game state, and restart the game. Generally, when a backup RAM is provided, a detection circuit for detecting that power supply is stopped is provided, and a signal from the detection circuit (hereinafter referred to as a power-off signal) is used as an interrupt signal to generate a micro signal. Input to the interrupt terminal of the computer, the microcomputer executes a process of detecting the stop of the power supply by the interrupt and saving necessary data in the backup RAM. Since the necessary data stored in the backup RAM includes information for restoring the game state, it is general that the value of the program counter, the value of the register, etc. are stored in the stack area. The processing for storing the necessary data in the backup RAM is executed while the power supply voltage is at a voltage at which the microcomputer can operate when the power supply voltage drops due to the stop of power supply.
After the execution of the processing for storing the data necessary for the power supply is completed, the power supply voltage becomes 0 after the voltage has dropped to a voltage at which the microcomputer cannot operate.

【0008】上記のように構成された遊技機において、
電力供給が停止する場合に、電源電圧の値が不安定にな
るので、電源断信号が連続的に発生するおそれがある。
電源断信号が連続的に発生すると、マイクロコンピュー
タに対して連続的に割込が発生するので、必要なデータ
をバックアップRAMに保存する処理が確実になされな
くなってしまう。そのために、電源断信号が連続的に発
生することを防止するための手段(具体的には回路等)
が検出回路の側に設けられていることもある。
In the gaming machine configured as described above,
When the power supply is stopped, the value of the power supply voltage becomes unstable, so that the power-off signal may continuously occur.
When the power-off signal is continuously generated, the microcomputer is continuously interrupted, so that the process of saving necessary data in the backup RAM cannot be performed reliably. Therefore, a means (specifically, a circuit or the like) for preventing the power-off signal from being continuously generated.
May be provided on the side of the detection circuit.

【0009】しかし、電力供給の停止が生ずる訳ではな
いにも関わらず、検出回路の側からマイクロコンピュー
タの割込端子に至る信号線において電源断信号が連続的
に入力されると、以下のような不都合が生ずる可能性が
ある。すなわち、スタック領域のサイズには限界がある
にもかかわらず、繰り返し割込処理が実行されることに
よってスタック領域へのデータ保存が繰り返され、遂に
はスタックオーバーフローが生じてしまう。その結果、
RAMエラーが生じRAM領域の内容が初期化される。
あるいは、ウォッチドッグタイマを使用しているマイク
ロコンピュータを用いている場合には、スタックオーバ
ーフローに起因してRAM領域の内容が破壊されてしま
うことによりプログラム暴走が生じたことにもとづいて
マイクロコンピュータにリセットがかかり、RAM領域
の内容が初期化される。また、電源断信号にもとづく割
込処理の最後で、マイクロコンピュータが動作し得ない
電圧にまで電源電圧が低下するのを待ったり、電源電圧
の低下にもとづくリセット信号の入力を待つためにルー
プ処理を行うように構成されている場合には、電源電圧
の低下やリセット信号の発生がないのでループ処理が継
続し、その結果、ウォッチドッグタイマのタイムアップ
が生じてマイクロコンピュータにリセットがかかり、R
AM領域の内容が初期化される。
However, when the power-off signal is continuously input to the signal line from the detection circuit side to the interrupt terminal of the microcomputer even though the power supply is not stopped, the following occurs. There may be some inconvenience. That is, although the size of the stack area is limited, the repeated interruption processing causes the data to be stored in the stack area repeatedly, and eventually a stack overflow occurs. as a result,
A RAM error occurs and the contents of the RAM area are initialized.
Alternatively, if a microcomputer that uses a watchdog timer is used, the contents of the RAM area may be destroyed due to stack overflow, causing a program runaway and resetting to the microcomputer. It takes time to initialize the contents of the RAM area. Also, at the end of the interrupt processing based on the power-off signal, loop processing is performed to wait for the power supply voltage to drop to a voltage at which the microcomputer cannot operate, or to wait for the reset signal input based on the power supply voltage drop. If the power supply voltage is not lowered and the reset signal is not generated, the loop processing continues, and as a result, the watchdog timer times up, the microcomputer is reset, and R
The contents of the AM area are initialized.

【0010】上述した大当りを発生させるか否かは、一
般に、所定のタイミング(例えば始動入賞の発生時すな
わち始動入賞信号の入力時)において、RAM領域に形
成された乱数発生用カウンタのカウント値があらかじめ
決められた大当り判定値に一致するか否かによって決定
される。上述したように、電源断信号が連続的に入力さ
れるとRAMの内容が初期化されるので、大当りを発生
させるか否かを決定するための乱数発生用カウンタのカ
ウント値も初期化される(0に戻される。)。すると、
カウント値が0から歩進を開始するので、カウント値が
あらかじめ決められた大当り判定値に一致するタイミン
グを容易に把握できてしまう。
Whether or not the above-described big hit is generated is generally determined by a count value of a random number generation counter formed in the RAM area at a predetermined timing (for example, when a start winning is generated, that is, when a start winning signal is input). It is determined by whether or not it matches a predetermined jackpot determination value. As described above, when the power-off signal is continuously input, the contents of the RAM are initialized, so the count value of the random number generation counter for determining whether or not to generate a big hit is also initialized. (Returned to 0.). Then,
Since the step count starts from 0, the timing at which the count value matches the predetermined jackpot determination value can be easily grasped.

【0011】つまり、不正基板等の不正手段を遊技機に
搭載し、不正手段からマイクロコンピュータに対して電
源断信号(割込信号)を連続的に入力させ、かつ、乱数
発生用カウンタのカウント値が大当り判定値に一致する
ようなタイミングで、マイクロコンピュータが搭載され
ている遊技制御基板に対して不正に始動入賞信号を送り
込むことによって、不正に大当りを生じさせることが可
能になってしまう。
That is, a fraudulent means such as a fraudulent board is mounted on a game machine, a power-off signal (interrupt signal) is continuously input to the microcomputer from the fraudulent means, and the count value of the random number generation counter It is possible to illegally generate a big hit by illegally sending a start winning signal to the game control board on which the microcomputer is mounted at a timing that coincides with the big hit judgment value.

【0012】そこで、本発明は、停電等の不測の電力供
給の停止が生じたときに必要なデータを割込処理によっ
て電源バックアップされた記憶手段に保存するように構
成されている場合に、必要なデータを記憶手段に保存す
る処理を確実に実行できるとともに、不正に割込信号を
送り込むような不正行為が行われても、そのような信号
の入力を規制して不正行為を有効にさせないようにする
ことができる遊技機を提供することを目的とする。
Therefore, the present invention is necessary in the case where the necessary data is stored in the storage means whose power is backed up by the interruption process when an unexpected stop of the power supply such as a power failure occurs. In addition to being able to reliably execute processing to save various data in the storage means, even if fraudulent acts such as illegally sending an interrupt signal are performed, restrict the input of such signals to prevent the fraudulent acts from being effective. It is an object of the present invention to provide a gaming machine that can

【0013】[0013]

【課題を解決するための手段】本発明による遊技機は、
遊技者が所定の遊技を行い、所定条件の成立に応じて遊
技者に所定の遊技価値を付与可能な遊技機であって、遊
技に関わる制御を行う制御手段が搭載された制御基板
(例えば主基板31)と、遊技機への電力供給が停止し
ても所定期間は記憶内容を保持することが可能な変動デ
ータ記憶手段(例えばバックアップRAM)と、制御基
板外に設けられ所定電位の電源の出力電圧を監視し検出
条件が成立した場合に検出信号を出力する電源監視手段
(例えば電源監視用IC902)と、制御基板に搭載さ
れ電源監視手段からの検出信号を入力し検出信号にもと
づいて制御手段に所定の割込信号を出力するための割込
信号出力回路(例えばフリップフロップ950b)とを
備え、制御手段が、割込信号出力回路からの割込信号の
状態変化にもとづいて制御状態の復旧に必要なデータを
変動データ記憶手段に退避させる電力供給停止時処理
(例えばステップS451〜S499)を実行可能であ
り、割込信号出力回路が、入力された検出信号にもとづ
いて割込信号を出力した後少なくとも所定期間(例えば
システムリセットのためのリセット信号が入力されるま
で)は検出信号が入力された場合であっても割込信号の
出力状態を保持することを特徴とする。
A gaming machine according to the present invention comprises:
A game machine that allows a player to play a predetermined game and give a predetermined game value to the player in accordance with the establishment of a predetermined condition, and a control board (for example, a main board) equipped with a control unit that controls the game. Substrate 31), a variable data storage means (for example, backup RAM) capable of retaining stored contents for a predetermined period even when power supply to the game machine is stopped, and a power supply of a predetermined potential provided outside the control substrate. A power supply monitoring means (for example, a power supply monitoring IC 902) that monitors the output voltage and outputs a detection signal when the detection condition is satisfied, and a detection signal from the power supply monitoring means that is mounted on the control board and is input and controlled based on the detection signal. An interrupt signal output circuit (for example, a flip-flop 950b) for outputting a predetermined interrupt signal to the means, and the control means is based on the state change of the interrupt signal from the interrupt signal output circuit. It is possible to execute power supply stop processing (for example, steps S451 to S499) in which the data necessary for restoration of the control state is saved in the variable data storage means, and the interrupt signal output circuit performs the interrupt based on the input detection signal. It is characterized in that the output state of the interrupt signal is maintained even after the detection signal is input for at least a predetermined period (for example, until a reset signal for system reset is input) after the output of the interrupt signal. .

【0014】遊技に用いられる遊技媒体の払い出しを行
う払出手段(例えば球払出装置97)と、払出手段から
払い出された遊技媒体を検出するための払出検出手段
(例えば賞球カウントスイッチ301A)とを備え、制
御手段が、電力供給停止時処理にて払出検出手段からの
検出信号の入力を監視する入力監視処理(例えばステッ
プS460〜S480)を実行可能であり、所定期間に
は入力監視処理を実行している入力監視時間(ステップ
S460〜S480の実行時間)が含まれるように構成
されていてもよい。
A payout means (for example, a ball payout device 97) for paying out a game medium used for a game, and a payout detection means (for example, a prize ball count switch 301A) for detecting the game medium paid out from the payout means. The control means can execute an input monitoring process (for example, steps S460 to S480) for monitoring the input of the detection signal from the payout detecting device in the power supply stop process, and the input monitoring process is performed during a predetermined period. The input monitoring time being executed (the execution time of steps S460 to S480) may be included.

【0015】入力監視時間は、払出手段から遊技媒体が
払い出されてから払出検出手段で検出されるまでの時間
以上の時間に設定されることが好ましい。
The input monitoring time is preferably set to a time longer than the time from when the game medium is paid out from the payout means to when it is detected by the payout detection means.

【0016】制御手段が電力供給停止時処理にて変動デ
ータ記憶手段へのアクセスを禁止するアクセス禁止処理
(例えばステップS492)を実行する場合、所定期間
は、電力供給停止時処理の開始時からアクセス禁止処理
を実行するまでの期間を含むことが好ましい。
When the control means executes the access prohibition processing (for example, step S492) for prohibiting access to the fluctuation data storage means in the power supply stoppage processing, the access is started from the start of the power supply stoppage processing for a predetermined period. It is preferable to include a period until the prohibition process is executed.

【0017】制御基板における電源監視手段からの検出
信号の入力部(例えばコネクタ950C)と割込信号出
力回路との間に、検出信号における有効期間以下の信号
の変化を除去するフィルタ回路(例えばローパスフィル
タ950a)が設けられていてもよい。
A filter circuit (for example, a low-pass filter) for removing a change in the detection signal below the effective period between the input portion (for example, the connector 950C) of the detection signal from the power source monitoring means on the control board and the interrupt signal output circuit. A filter 950a) may be provided.

【0018】遊技機で使用される電源を作成する電力供
給基板(例えば電源基板910)を備え、電源監視手段
が、電力供給基板に搭載されるように構成されていても
よい。
A power supply board (for example, a power supply board 910) for creating a power supply used in the gaming machine may be provided, and the power supply monitoring means may be mounted on the power supply board.

【0019】制御手段の動作を停止させるためのリセッ
ト信号を出力するシステムリセット回路(例えばリセッ
トIC651)を備えていてもよい。
A system reset circuit (for example, reset IC 651) that outputs a reset signal for stopping the operation of the control means may be provided.

【0020】割込信号出力回路が、システムリセット回
路からのリセット信号にもとづいて割込信号を変化させ
るように構成されていてもよい。
The interrupt signal output circuit may be configured to change the interrupt signal based on the reset signal from the system reset circuit.

【0021】制御手段において割込信号出力回路からの
割込信号を入力するための入力端子としてマスク不能割
込端子(例えばCPU56のXNMI端子)を用いるよ
うに構成されていてもよい。
The control means may be configured to use a non-maskable interrupt terminal (for example, the XNMI terminal of the CPU 56) as an input terminal for inputting an interrupt signal from the interrupt signal output circuit.

【0022】[0022]

【発明の実施の形態】以下、本発明の一実施形態を図面
を参照して説明する。まず、遊技機の一例であるパチン
コ遊技機の全体の構成について説明する。図1はパチン
コ遊技機を正面からみた正面図、図2は遊技盤の前面を
示す正面図である。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. First, the overall configuration of a pachinko gaming machine, which is an example of a gaming machine, will be described. 1 is a front view of a pachinko gaming machine as seen from the front, and FIG. 2 is a front view showing the front surface of the gaming board.

【0023】パチンコ遊技機1は、縦長の方形状に形成
された外枠(図示せず)と、外枠の内側に開閉可能に取
り付けられた遊技枠とで構成される。また、パチンコ遊
技機1は、遊技枠に開閉可能に設けられている額縁状に
形成されたガラス扉枠2を有する。遊技枠は、外枠に対
して開閉自在に設置される前面枠(図示せず)と、機構
部品等が取り付けられる機構板と、それらに取り付けら
れる種々の部品(後述する遊技盤を除く。)とを含む構
造体である。
The pachinko gaming machine 1 is composed of an outer frame (not shown) formed in a vertically long rectangular shape, and a game frame mounted inside the outer frame so as to be openable and closable. In addition, the pachinko gaming machine 1 has a frame-shaped glass door frame 2 that is provided in the game frame so as to be openable and closable. The game frame includes a front frame (not shown) installed to be openable and closable with respect to the outer frame, a mechanism plate to which mechanical parts and the like are attached, and various parts attached to them (excluding a game board described later). It is a structure including and.

【0024】図1に示すように、パチンコ遊技機1は、
額縁状に形成されたガラス扉枠2を有する。ガラス扉枠
2の下部表面には打球供給皿(上皿)3がある。打球供
給皿3の下部には、打球供給皿3に収容しきれない遊技
球を貯留する余剰球受皿4と打球を発射する打球操作ハ
ンドル(操作ノブ)5が設けられている。ガラス扉枠2
の背面には、遊技盤6が着脱可能に取り付けられてい
る。なお、遊技盤6は、それを構成する板状体と、その
板状体に取り付けられた種々の部品とを含む構造体であ
る。また、遊技盤6の前面には遊技領域7が形成されて
いる。
As shown in FIG. 1, the pachinko gaming machine 1 is
It has a glass door frame 2 formed in a frame shape. On the lower surface of the glass door frame 2, there is a hit ball supply plate (upper plate) 3. Below the hitting ball supply tray 3, there are provided a surplus ball receiving tray 4 for storing game balls that cannot be accommodated in the hitting ball feed tray 3 and a hitting ball operation handle (operation knob) 5 for firing the hit ball. Glass door frame 2
A game board 6 is detachably attached to the back surface of the. The game board 6 is a structure including a plate-shaped body that constitutes the game board 6 and various parts attached to the plate-shaped body. A game area 7 is formed on the front surface of the game board 6.

【0025】遊技領域7の中央付近には、それぞれが識
別情報としての図柄を可変表示する複数の可変表示部を
含む可変表示装置(特別可変表示装置)9が設けられて
いる。可変表示装置9には、例えば「左」、「中」、
「右」の3つの可変表示部(図柄表示エリア)がある。
可変表示装置9の下方には、始動入賞口14が設けられ
ている。始動入賞口14に入った入賞球は、遊技盤6の
背面に導かれ、始動口スイッチ14aによって検出され
る。また、始動入賞口14の下部には開閉動作を行う可
変入賞球装置15が設けられている。可変入賞球装置1
5は、ソレノイド16によって開状態とされる。
In the vicinity of the center of the game area 7, a variable display device (special variable display device) 9 including a plurality of variable display portions for variably displaying symbols as identification information is provided. The variable display device 9 includes, for example, “left”, “middle”,
There are three "right" variable display parts (symbol display areas).
A start winning opening 14 is provided below the variable display device 9. The winning ball that has entered the starting winning opening 14 is guided to the rear surface of the game board 6 and detected by the starting opening switch 14a. A variable winning ball device 15 that opens and closes is provided below the starting winning opening 14. Variable winning ball device 1
The solenoid 5 is opened by the solenoid 16.

【0026】可変入賞球装置15の下部には、特定遊技
状態(大当り状態)においてソレノイド21によって開
状態とされる開閉板20が設けられている。開閉板20
は大入賞口を開閉する手段である。開閉板20から遊技
盤6の背面に導かれた入賞球のうち一方(V入賞領域)
に入った入賞球はV入賞スイッチ22で検出され、開閉
板20からの入賞球はカウントスイッチ23で検出され
る。遊技盤6の背面には、大入賞口内の経路を切り換え
るためのソレノイド21Aも設けられている。また、可
変表示装置9の上部には、始動入賞口14に入った有効
入賞球数すなわち始動記憶数を表示する4つのLEDに
よる特別図柄始動記憶表示器(以下、始動記憶表示器と
いう。)18が設けられている。有効始動入賞がある毎
に、始動記憶表示器18は点灯するLEDを1増やす。
そして、可変表示装置9の可変表示が開始される毎に、
点灯するLEDを1減らす。
At the lower part of the variable winning ball device 15, an opening / closing plate 20 is provided which is opened by a solenoid 21 in a specific game state (big hit state). Opening plate 20
Is a means for opening and closing the special winning opening. One of the winning balls guided from the opening / closing plate 20 to the back of the game board 6 (V winning area)
The entered winning balls are detected by the V winning switch 22, and the winning balls from the opening / closing plate 20 are detected by the count switch 23. On the back surface of the game board 6, a solenoid 21A for switching the route inside the special winning opening is also provided. Further, on the upper part of the variable display device 9, a special symbol starting memory indicator (hereinafter, referred to as starting memory indicator) 18 by four LEDs for displaying the number of effective winning balls that have entered the starting winning port 14, that is, the number of starting memories. Is provided. Each time there is an effective start prize, the start memory indicator 18 increases the number of LEDs to be turned on by one.
Then, each time the variable display of the variable display device 9 is started,
Decrease the number of lit LEDs by 1.

【0027】ゲート32に遊技球が入賞しゲートスイッ
チ32aで検出されると、普通図柄始動記憶が上限に達
していなければ、所定の乱数値が抽出される。そして、
普通図柄表示器10において表示状態が変化する可変表
示を開始できる状態であれば、普通図柄表示器10の表
示の可変表示が開始される。普通図柄表示器10におい
て表示状態が変化する可変表示を開始できる状態でなけ
れば、普通図柄始動記憶の値が1増やされる。普通図柄
表示器10の近傍には、普通図柄始動記憶数を表示する
4つのLEDによる表示部を有する普通図柄始動記憶表
示器41が設けられている。ゲート32への入賞がある
毎に、普通図柄始動記憶表示器41は点灯するLEDを
1増やす。そして、普通図柄表示器10の可変表示が開
始される毎に、点灯するLEDを1減らす。
When a game ball wins the gate 32 and is detected by the gate switch 32a, a predetermined random number value is extracted unless the normal symbol starting memory has reached the upper limit. And
Normally, if the variable display in which the display state changes in the symbol display 10 can be started, the variable display of the display of the normal symbol display 10 is started. Normally, if the variable display whose display state changes in the symbol display 10 cannot be started, the value of the normal symbol starting memory is incremented by 1. In the vicinity of the normal symbol display device 10, there is provided a normal symbol starting memory display device 41 having a display unit of four LEDs for displaying the normal symbol starting memory number. Each time there is a prize in the gate 32, the normal symbol start memory display 41 increases the number of LEDs to be turned on by one. Then, each time the variable display of the normal symbol display device 10 is started, the number of LEDs to be turned on is reduced by 1.

【0028】この実施の形態では、左右のランプ(点灯
時に図柄が視認可能になる)が交互に点灯することによ
って可変表示が行われ、可変表示は所定時間(例えば2
9秒)継続する。そして、可変表示の終了時に左側のラ
ンプが点灯すれば当りとなる。当りとするか否かは、ゲ
ート32に遊技球が入賞したときに抽出された乱数の値
が所定の当り判定値と一致したか否かによって決定され
る。普通図柄表示器10における可変表示の表示結果が
当りである場合に、可変入賞球装置15が所定回数、所
定時間だけ開状態になって遊技球が入賞しやすい状態に
なる。すなわち、可変入賞球装置15の状態は、普通図
柄の停止図柄が当り図柄である場合に、遊技者にとって
不利な状態から有利な状態に変化する。
In this embodiment, the variable display is performed by alternately illuminating the left and right lamps (the pattern becomes visible when illuminated), and the variable display is performed for a predetermined time (for example, 2
9 seconds) Continue. Then, if the left lamp is lit at the end of the variable display, it is a win. Whether or not to win is determined by whether or not the value of the random number extracted when the game ball wins the gate 32 matches a predetermined hit determination value. When the display result of the variable display on the normal symbol display device 10 is a hit, the variable winning ball device 15 is opened for a predetermined number of times and for a predetermined time, and the game ball is in a state where it is easy to win. In other words, the state of the variable winning ball device 15 changes from a disadvantageous state to an advantageous state for the player when the stop symbol of the normal symbol is a winning symbol.

【0029】さらに、確変状態では、普通図柄表示器1
0における停止図柄が当り図柄になる確率が高められる
とともに、可変入賞球装置15の開放時間と開放回数と
のうちの一方または双方が高められ、遊技者にとってさ
らに有利になる。また、確変状態等の所定の状態では、
普通図柄表示器10における可変表示期間(変動時間)
が短縮されることによって、遊技者にとってさらに有利
になるようにしてもよい。
Furthermore, in the probability changing state, the normal symbol display 1
The probability that the stop symbol at 0 becomes a winning symbol is increased, and one or both of the opening time and the number of times of opening the variable winning ball device 15 are increased, which is more advantageous for the player. In addition, in a certain state such as the probability change state,
Variable display period (variation time) on the normal symbol display 10
May be further shortened to give a further advantage to the player.

【0030】遊技盤6には、複数の入賞口29,30,
33,39が設けられ、遊技球の入賞口29,30,3
3への入賞は、それぞれ入賞口スイッチ29a,30
a,33a,39aによって検出される。遊技領域7の
左右周辺には、遊技中に点滅表示される装飾ランプ25
が設けられ、下部には、入賞しなかった打球を吸収する
アウト口26がある。また、遊技領域7の外側の左右上
部には、効果音を発する2つのスピーカ27が設けられ
ている。遊技領域7の外周には、天枠ランプ28a、左
枠ランプ28bおよび右枠ランプ28cが設けられてい
る。さらに、遊技領域7における各構造物(大入賞口
等)の周囲には装飾LEDが設置されている。天枠ラン
プ28a、左枠ランプ28bおよび右枠ランプ28cお
よび装飾用LEDは、遊技機に設けられている装飾発光
体の一例である。
The game board 6 has a plurality of winning openings 29, 30,
33, 39 are provided, and the winning openings 29, 30, 3 for gaming balls
The prizes for 3 are prize winning opening switches 29a, 30 respectively.
a, 33a, 39a. Around the left and right of the game area 7, decoration lamps 25 that are displayed blinking during the game
Is provided, and at the lower part, there is an outlet 26 for absorbing hit balls that have not been won. In addition, two speakers 27 that emit a sound effect are provided on the upper left and right sides outside the game area 7. A top frame lamp 28a, a left frame lamp 28b, and a right frame lamp 28c are provided on the outer periphery of the game area 7. Further, a decorative LED is installed around each structure (a special winning opening, etc.) in the game area 7. The top frame lamp 28a, the left frame lamp 28b, the right frame lamp 28c, and the decorative LED are examples of the decorative light-emitting body provided in the game machine.

【0031】そして、この例では、左枠ランプ28bの
近傍に、賞球残数があるときに点灯する賞球ランプ51
が設けられ、天枠ランプ28aの近傍に、補給球が切れ
たときに点灯する球切れランプ52が設けられている。
さらに、図1には、パチンコ遊技機1に隣接して設置さ
れ、プリペイドカードが挿入されることによって球貸し
を可能にするカードユニット50も示されている。な
お、プリペイドカードとしての磁気カードに限らず、I
Cカード等の他の記録媒体を用いることもできる。記録
媒体の形状についても、名刺大の薄型のカード形状に限
らず、ICコインなど種々の形状のものを使用すること
ができる。
In this example, the prize ball lamp 51 that lights up when there is a remaining number of prize balls near the left frame lamp 28b.
Is provided, and a ball-out lamp 52 that is turned on when the supply ball runs out is provided near the top frame lamp 28a.
Further, FIG. 1 also shows a card unit 50 which is installed adjacent to the pachinko gaming machine 1 and enables a ball lending by inserting a prepaid card. Not only the magnetic card as a prepaid card, but I
Other recording media such as a C card can also be used. The shape of the recording medium is not limited to the thin card shape of a business card, and various shapes such as an IC coin can be used.

【0032】カードユニット50には、使用可能状態で
あるか否かを示す使用可表示ランプ151、カード内に
記録された残額情報に端数(100円未満の数)が存在
する場合にその端数を打球供給皿3の近傍に設けられる
度数表示LEDに表示させるための端数表示スイッチ1
52、カードユニット50がいずれの側のパチンコ遊技
機1に対応しているのかを示す連結台方向表示器15
3、カードユニット50内にカードが投入されているこ
とを示すカード投入表示ランプ154、記録媒体として
のカードが挿入されるカード挿入口155、およびカー
ド挿入口155の裏面に設けられているカードリーダラ
イタの機構を点検する場合にカードユニット50を解放
するためのカードユニット錠156が設けられている。
In the card unit 50, a usable indicator lamp 151 indicating whether or not the card unit 50 is usable, and a fraction (a number less than 100 yen) in the balance information recorded in the card, the fraction is displayed. A fraction display switch 1 for displaying on a frequency display LED provided in the vicinity of the hit ball supply tray 3
52, the connection stand direction indicator 15 showing which side the pachinko gaming machine 1 the card unit 50 corresponds to
3, a card insertion display lamp 154 indicating that a card has been inserted into the card unit 50, a card insertion slot 155 into which a card as a recording medium is inserted, and a card reader provided on the back surface of the card insertion slot 155. A card unit lock 156 is provided for releasing the card unit 50 when checking the mechanism of the writer.

【0033】打球発射装置から発射された遊技球は、打
球レールを通って遊技領域7に入り、その後、遊技領域
7を下りてくる。打球が始動入賞口14に入り始動口ス
イッチ14aで検出されると、図柄の可変表示を開始で
きる状態であれば、可変表示装置9において特別図柄が
可変表示(変動)を始める。図柄の可変表示を開始でき
る状態でなければ、始動記憶数を1増やす。
The game ball shot from the hitting ball launching device enters the game area 7 through the hit ball rail, and then descends from the game area 7. When the ball hits the starting winning opening 14 and is detected by the starting opening switch 14a, if the variable display of the symbol can be started, the variable display device 9 starts the variable display (variation) of the special symbol. If it is not in a state where variable display of symbols can be started, the number of starting memories is increased by 1.

【0034】可変表示装置9における特別図柄の可変表
示は、一定時間が経過したときに停止する。停止時の特
別図柄の組み合わせが大当り図柄(特定表示態様)であ
ると、大当り遊技状態に移行する。すなわち、開閉板2
0が、一定時間経過するまで、または、所定個数(例え
ば10個)の打球が入賞するまで開放する。そして、開
閉板20の開放中に打球がV入賞領域に入賞しV入賞ス
イッチ22で検出されると、継続権が発生し開閉板20
の開放が再度行われる。継続権の発生は、所定回数(例
えば15ラウンド)許容される。
The variable display of the special symbol on the variable display device 9 is stopped when a certain time has elapsed. When the combination of special symbols at the time of stop is a big hit symbol (specific display mode), the big hit game state is entered. That is, the opening / closing plate 2
0 is released until a fixed time elapses or a predetermined number (for example, 10) of hit balls are won. Then, when the hit ball enters the V winning area while the opening / closing plate 20 is open and is detected by the V winning switch 22, the continuation right is generated and the opening / closing plate 20
Is released again. The continuation right can be generated a predetermined number of times (for example, 15 rounds).

【0035】停止時の可変表示装置9における特別図柄
の組み合わせが確率変動を伴う大当り図柄(確変図柄)
の組み合わせである場合には、次に大当りとなる確率が
高くなる。すなわち、確変状態という遊技者にとってさ
らに有利な状態となる。
A combination of special symbols in the variable display device 9 at the time of stop is a big hit symbol with probability variation (probability variation symbol)
In the case of the combination of, the probability of the next big hit is high. That is, the state of probability change is more advantageous for the player.

【0036】次に、パチンコ遊技機1の裏面の構造につ
いて図3および図4を参照して説明する。図3は、遊技
機を裏面から見た背面図である。図4は、各種部材が取
り付けられた機構板を遊技機背面側から見た背面図であ
る。
Next, the structure of the back surface of the pachinko gaming machine 1 will be described with reference to FIGS. 3 and 4. FIG. 3 is a rear view of the gaming machine viewed from the back side. FIG. 4 is a rear view of the mechanism plate to which various members are attached as seen from the rear side of the gaming machine.

【0037】図3に示すように、遊技機裏面側では、可
変表示装置9を制御する図柄制御基板80を含む可変表
示制御ユニット49、遊技制御用マイクロコンピュータ
等が搭載された遊技制御基板(主基板)31が設置され
ている。また、球払出制御を行う払出制御用マイクロコ
ンピュータ等が搭載された払出制御基板37が設置され
ている。さらに、遊技盤6に設けられている各種装飾L
ED、特別図柄始動記憶表示器(始動記憶表示器)18
および普通図柄始動記憶表示器41、装飾ランプ25、
枠側に設けられている天枠ランプ28a、左枠ランプ2
8b、右枠ランプ28c、賞球ランプ51および球切れ
ランプ52を点灯制御するランプ制御手段が搭載された
ランプ制御基板35、スピーカ27からの音発生を制御
する音制御手段が搭載された音制御基板70も設けられ
ている。また、DC30V、DC21V、DC12Vお
よびDC5Vを作成する電源回路が搭載された電力供給
基板としての電源基板910や発射制御基板91が設け
られている。
As shown in FIG. 3, on the back side of the gaming machine, a variable display control unit 49 including a symbol control board 80 for controlling the variable display device 9, a gaming control board (mainly a gaming control microcomputer, etc.) is mounted. Substrate) 31 is installed. Further, a payout control board 37 on which a payout control microcomputer for performing ball payout control is mounted is installed. Furthermore, various decorations L provided on the game board 6
ED, special symbol starting memory display (starting memory display) 18
And a normal pattern starting memory display 41, a decorative lamp 25,
Top frame lamp 28a and left frame lamp 2 provided on the frame side
8b, a right frame lamp 28c, a prize ball lamp 51, and a lamp control board for mounting a lamp control means for controlling lighting of the out-of-ball lamp 52, and sound control for mounting sound control means for controlling sound generation from the speaker 27. A substrate 70 is also provided. Further, a power supply board 910 as a power supply board on which a power supply circuit for producing DC30V, DC21V, DC12V and DC5V is mounted and a firing control board 91 are provided.

【0038】遊技機裏面において、上方には、各種情報
を遊技機外部に出力するための各端子を備えたターミナ
ル基板160が設置されている。ターミナル基板160
には、少なくとも、球切れ検出スイッチの出力を導入し
て外部出力するための球切れ用端子、賞球個数信号を外
部出力するための賞球用端子および球貸し個数信号を外
部出力するための球貸し用端子が設けられている。ま
た、中央付近には、主基板31からの各種情報を遊技機
外部に出力するための各端子を備えた情報端子盤34が
設置されている。
On the back side of the game machine, a terminal board 160 having terminals for outputting various information to the outside of the game machine is installed above. Terminal board 160
At least, the terminal for ball breakage for introducing the output of the ball breakage detection switch and outputting it externally, the terminal for prize balls for externally outputting the prize ball number signal and the external output for the ball lending number signal A ball lending terminal is provided. Further, in the vicinity of the center, an information terminal board 34 provided with each terminal for outputting various information from the main board 31 to the outside of the gaming machine is installed.

【0039】さらに、各基板(主基板31や払出制御基
板37等)に含まれる変動データ記憶手段(例えば、電
力供給停止時にもその内容を保持可能なバックアップR
AM)に記憶されたバックアップデータをクリアするた
めの初期化操作手段としてのクリアスイッチ921が搭
載されたスイッチ基板190が設けられている。スイッ
チ基板190には、クリアスイッチ921と、主基板3
1等の他の基板と接続されるコネクタ922が設けられ
ている。
Further, a fluctuation data storage means (for example, a backup R capable of holding the contents even when the power supply is stopped) included in each board (main board 31, payout control board 37, etc.)
There is provided a switch board 190 having a clear switch 921 as an initialization operation means for clearing the backup data stored in (AM). The switch board 190 includes a clear switch 921 and a main board 3
A connector 922 that is connected to another substrate such as 1 is provided.

【0040】貯留タンク38に貯留された遊技球は誘導
レール39を通り、図4に示されるように、カーブ樋1
86を経て賞球ケース40Aで覆われた球払出装置に至
る。球払出装置の上部には、遊技媒体切れ検出手段とし
ての球切れスイッチ187が設けられている。球切れス
イッチ187が球切れを検出すると、球払出装置の払出
動作が停止する。球切れスイッチ187は遊技球通路内
の遊技球の有無を検出するスイッチであるが、貯留タン
ク38内の補給球の不足を検出する球切れ検出スイッチ
167も誘導レール39における上流部分(貯留タンク
38に近接する部分)に設けられている。球切れ検出ス
イッチ167が遊技球の不足を検知すると、遊技機設置
島に設けられている補給機構から遊技機に対して遊技球
の補給が行われる。
The game balls stored in the storage tank 38 pass through the guide rail 39, and as shown in FIG. 4, the curve gutter 1
After 86, the ball payout device covered with the prize ball case 40A is reached. At the upper part of the ball payout device, a ball break switch 187 is provided as a game medium cut detection means. When the out-of-ball switch 187 detects out-of-ball, the payout operation of the ball payout device is stopped. The out-of-ball switch 187 is a switch that detects the presence or absence of a game ball in the game ball passage, but the out-of-ball detection switch 167 that detects a shortage of supply balls in the storage tank 38 is also an upstream portion of the guide rail 39 (the storage tank 38). (Provided near). When the out-of-ball detection switch 167 detects a shortage of game balls, the supply mechanism provided on the game machine installation island supplies game balls to the game machine.

【0041】なお、球切れスイッチ187は、球払出装
置に至る払出球通路に27〜28個程度の遊技球が存在
することを検出できるような位置に係止されている。す
なわち、球切れスイッチ187は、賞球の一単位の最大
払出量(この実施の形態では15個)および球貸しの一
単位の最大払出量(この実施の形態では100円:25
個)以上が確保されていることが確認できるような位置
に設置されている。
The ball break switch 187 is locked at a position where it is possible to detect the presence of about 27 to 28 game balls in the payout ball passage leading to the ball payout device. That is, the out-of-ball switch 187 has a maximum payout amount of one unit of prize balls (15 in this embodiment) and a maximum payout amount of one unit of ball lending (100 yen: 25 in this embodiment).
It is installed at a position where it can be confirmed that the above items are secured.

【0042】球払出装置から払い出された遊技球は、連
絡口45を通ってパチンコ遊技機1の前面に設けられて
いる打球供給皿3に誘導される。連絡口45の側方に
は、パチンコ遊技機1の前面に設けられている余剰球受
皿4に連通する余剰球通路46が形成されている。
The game balls paid out from the ball payout device are guided to the hitting ball supply tray 3 provided on the front surface of the pachinko gaming machine 1 through the communication port 45. A surplus ball passage 46 communicating with the surplus ball tray 4 provided on the front surface of the pachinko gaming machine 1 is formed on the side of the communication port 45.

【0043】入賞にもとづく景品としての遊技球や球貸
し要求にもとづく遊技球が多数払い出されて打球供給皿
3が満杯になり、ついには遊技球が連絡口45に到達し
た後さらに遊技球が払い出されると、遊技球は、余剰球
通路46を経て余剰球受皿4に導かれる。さらに遊技球
が払い出されると、感知レバー47が貯留状態検出手段
としての満タンスイッチ48を押圧して、貯留状態検出
手段としての満タンスイッチ48がオンする。その状態
では、球払出装置内の払出モータの回転が停止して球払
出装置の動作が停止するとともに発射装置の駆動も停止
する。
A large number of game balls as prizes based on winnings and game balls based on ball lending requests are paid out, and the hitting ball supply plate 3 becomes full. Eventually, after the game balls reach the contact port 45, further game balls are provided. When paid out, the game ball is guided to the surplus ball receiving tray 4 through the surplus ball passage 46. Further, when the game ball is paid out, the sensing lever 47 presses the full tank switch 48 as the storage state detection means, and the full tank switch 48 as the storage state detection means is turned on. In that state, the rotation of the payout motor in the ball payout device is stopped, the operation of the ball payout device is stopped, and the driving of the launching device is also stopped.

【0044】図4に示すように、球払出装置の側方に
は、カーブ樋186から遊技機下部の排出口192に至
る球抜き通路191が形成されている。球抜き通路19
1の上部には球抜きレバー193が設けられ、球抜きレ
バー193が遊技店員等によって操作されると、誘導レ
ール39から球抜き通路191への遊技球通路が形成さ
れ、貯留タンク38内に貯留されている遊技球は、排出
口192から遊技機外に排出される。
As shown in FIG. 4, a ball removing passage 191 extending from the curve gutter 186 to the discharge port 192 at the lower portion of the game machine is formed on the side of the ball payout device. Ball passage 19
1 is provided with a ball removing lever 193, and when the ball removing lever 193 is operated by a game store clerk or the like, a game ball passage from the guide rail 39 to the ball removing passage 191 is formed and stored in the storage tank 38. The played game ball is discharged from the discharge port 192 to the outside of the game machine.

【0045】図5は、球払出装置97の構成例を示す分
解斜視図である。この例では、賞球ケース40Aとして
の3つのケース140,141,142の内部に球払出
装置97が形成されている。ケース140,141の上
部には、球切れスイッチ187の下部の球通路と連通す
る穴170,171が設けられ、遊技球は、穴170,
171から球払出装置97に流入する。
FIG. 5 is an exploded perspective view showing a structural example of the ball payout device 97. In this example, a ball payout device 97 is formed inside the three cases 140, 141, 142 as the prize ball case 40A. Holes 170, 171 communicating with the ball passage at the bottom of the ball break switch 187 are provided in the upper part of the cases 140, 141, and the game ball has holes 170, 171.
It flows into the ball payout device 97 from 171.

【0046】球払出装置97は駆動源となる払出モータ
(例えばステッピングモータ)289を含む。払出モー
タ289の回転力は、払出モータ289の回転軸に嵌合
しているギア290に伝えられ、さらに、ギア290と
噛み合うギア291に伝えられる。ギア291の中心軸
には、凹部を有するスプロケット292が嵌合してい
る。穴170,171から流入した遊技球は、スプロケ
ット292の凹部によって、スプロケット292の下方
の球通路293に1個ずつ落下させられる。
The ball payout device 97 includes a payout motor (eg, stepping motor) 289 serving as a drive source. The rotational force of the dispensing motor 289 is transmitted to the gear 290 fitted to the rotation shaft of the dispensing motor 289, and further transmitted to the gear 291 that meshes with the gear 290. A sprocket 292 having a recess is fitted on the central axis of the gear 291. The game balls that have flowed in from the holes 170 and 171 are dropped one by one into the ball passage 293 below the sprocket 292 by the recess of the sprocket 292.

【0047】球通路293には遊技球の流下路を切り替
えるための振分部材311が設けられている。振分部材
311はソレノイド310によって駆動され、賞球払出
時には、球通路293における一方の流下路を遊技球が
流下するように倒れ、球貸し時には球通路293におけ
る他方の流下路を遊技球が流下するように倒れる。な
お、払出モータ289およびソレノイド310は、払出
制御基板37に搭載されている払出制御用CPUによっ
て制御される。また、払出制御用CPUは、主基板31
に搭載されている遊技制御用のCPUからの指令に応じ
て払出モータ289およびソレノイド310を制御す
る。
The ball passage 293 is provided with a distribution member 311 for switching the flow path of the game balls. The distribution member 311 is driven by the solenoid 310, and when paying out a prize ball, the game ball falls down along one of the flow paths in the ball passage 293, and when lending the ball, the game ball flows down through the other flow path in the ball passage 293. To fall down. The payout motor 289 and the solenoid 310 are controlled by the payout control CPU mounted on the payout control board 37. The payout control CPU is the main board 31.
The payout motor 289 and the solenoid 310 are controlled in accordance with a command from the game control CPU mounted on the.

【0048】賞球払出時に選択される流下路の下方には
球払出装置によって払い出された遊技球を検出する払出
検出手段としての賞球センサ(賞球カウントスイッチ)
301Aが設けられ、球貸し時に選択される流下路の下
方には球払出装置によって払い出された遊技球を検出す
る球貸しセンサ(球貸しカウントスイッチ)301Bが
設けられている。賞球カウントスイッチ301Aの検出
信号と球貸しカウントスイッチ301Bの検出信号は払
出制御基板37の払出制御用CPUに入力される。払出
制御用CPUは、それらの検出信号にもとづいて、実際
に払い出された遊技球の個数を計数する。
A prize ball sensor (prize ball count switch) as payout detecting means for detecting game balls paid out by the ball payout device is provided below the downflow path selected at the time of paying out prize balls.
301A is provided, and a ball lending sensor (ball lending count switch) 301B that detects a game ball paid out by a ball payout device is provided below the flow-down path selected when the ball is lended. The detection signal of the prize ball count switch 301A and the detection signal of the ball lending count switch 301B are input to the payout control CPU of the payout control board 37. The payout control CPU counts the number of game balls actually paid out based on the detection signals.

【0049】なお、ギア291の周辺部には、払出モー
タ位置センサ296を形成する複数の突起部295が形
成されている。突起部295は、ギア291の回転すな
わち払出モータ289の回転に伴って発光体(図示せ
ず)からの光を、払出モータ位置センサの受光部(図示
せず)に対して透過させたり遮蔽したりする。払出制御
用CPUは、受光部からの検出信号によって払出モータ
289の位置を認識することができる。
A plurality of protrusions 295 forming the payout motor position sensor 296 are formed around the gear 291. The protrusion 295 transmits or shields the light from the light emitting body (not shown) with the rotation of the gear 291 or the rotation of the payout motor 289 with respect to the light receiving portion (not shown) of the payout motor position sensor. Or The payout control CPU can recognize the position of the payout motor 289 from the detection signal from the light receiving unit.

【0050】また、この実施の形態では、払出手段とし
ての球払出装置97は球貸しも賞球払出も実行可能な構
成であるが、球貸しを行う機構と賞球払出を行う機構と
が独立していても本発明を適用することができる。球貸
しを行う機構と賞球払出を行う機構とが独立している場
合には、賞球払出と球貸しとを同時実行可能なので、遊
技球の相対的な払出速度を速くすることができる。ま
た、遊技球の流下路を切り替えるための振分部材311
およびソレノイド310は不要である。さらに、払出手
段として、例えば、モータが正転すると賞球払出が行わ
れモータが逆転すると球貸しが行われるような構造のも
のなど、他の構造のものを用いることもできる。
Further, in this embodiment, the ball payout device 97 as the payout means has a structure capable of executing both the ball lending and the prize ball payout, but the mechanism for lending the ball and the mechanism for paying out the prize ball are independent. However, the present invention can be applied. When the mechanism for lending the balls and the mechanism for paying out the prize balls are independent, the prize ball payout and the ball lending can be executed simultaneously, so that the relative payout speed of the game balls can be increased. In addition, the distribution member 311 for switching the flow path of the game ball
And the solenoid 310 is unnecessary. Furthermore, as the payout means, for example, a structure in which a prize ball is paid out when the motor rotates in the normal direction and a ball is loaned when the motor rotates in the reverse direction can be used.

【0051】図6は、遊技盤6に設置されているスイッ
チ基板190の部分を示す正面図である。図6に示すよ
うに、スイッチ基板190には、主基板31等の他の基
板に、ケーブルを介してクリアスイッチ921の出力を
接続するためのコネクタ922が搭載されている。
FIG. 6 is a front view showing a portion of the switch board 190 installed on the game board 6. As shown in FIG. 6, the switch substrate 190 is provided with a connector 922 for connecting the output of the clear switch 921 to another substrate such as the main substrate 31 via a cable.

【0052】図7は、スイッチ基板190に搭載された
クリアスイッチ921の構成の一例を示す構成図であ
る。図7(A)には、押しボタン構造のクリアスイッチ
921が示されている。クリアスイッチ921が押下さ
れるとローレベル(オン状態)のクリアスイッチ信号
(操作信号)が出力され、コネクタ922を介して主基
板31および払出制御基板37等に出力される。すなわ
ち、クリアスイッチ921から主基板31および払出制
御基板37等に出力される操作信号がオン状態になる。
また、クリアスイッチ921が押下されていなければハ
イレベル(オフ状態)の信号が出力される。なお、この
実施の形態では、クリアスイッチ信号は少なくとも主基
板31および払出制御基板37に出力されるので、コネ
クタ922として、主基板31へのクリアスイッチ信号
を出力するためのコネクタと、払出制御基板37へのク
リアスイッチ信号を出力するためのコネクタとを別個に
設けてもよい。
FIG. 7 is a configuration diagram showing an example of the configuration of the clear switch 921 mounted on the switch board 190. FIG. 7A shows a clear switch 921 having a push button structure. When the clear switch 921 is pressed, a low level (on state) clear switch signal (operation signal) is output, and is output to the main board 31, the payout control board 37, and the like via the connector 922. That is, the operation signal output from the clear switch 921 to the main board 31, the payout control board 37, etc. is turned on.
If the clear switch 921 is not pressed, a high level (off state) signal is output. In this embodiment, since the clear switch signal is output to at least the main board 31 and the payout control board 37, the connector 922 is a connector for outputting the clear switch signal to the main board 31, and the payout control board. A connector for outputting a clear switch signal to 37 may be separately provided.

【0053】図7(B)は、クリアスイッチ921の他
の構成例を示す構成図である。図7(B)に示すクリア
スイッチ921は、「OFF」、「ON」および「クリ
ア」の選択切り換えを行うための切換操作部921aを
有する。切換操作部921aによって、「OFF」が選
択されているときは何らの信号も発生しない。「ON」
が選択されているときはハイレベルの信号を出力する。
なお、クリアスイッチ921が、遊技機1に対する電源
供給のオン/オフ切換のためのスイッチも兼ねていても
よい。その場合、「OFF」が選択されると、遊技機1
に対する電源供給が停止された状態(遊技機の電源がオ
フの状態)になる。「ON」または「クリア」が選択さ
れると、遊技機1に対して電源供給が行われる状態(遊
技機の電源がオンの状態)になる。また、「クリア」が
選択されているときに、ローレベルのクリアスイッチ信
号が出力される。
FIG. 7B is a configuration diagram showing another configuration example of the clear switch 921. The clear switch 921 shown in FIG. 7B has a switching operation unit 921a for performing selective switching of "OFF", "ON", and "clear". When "OFF" is selected by the switching operation unit 921a, no signal is generated. "ON"
When is selected, a high level signal is output.
The clear switch 921 may also serve as a switch for switching on / off the power supply to the gaming machine 1. In that case, when "OFF" is selected, the gaming machine 1
The power supply to is stopped (the power of the gaming machine is off). If "ON" or "clear" is selected, the game machine 1 is in a state where power is supplied (the game machine is powered on). Also, when "clear" is selected, a low level clear switch signal is output.

【0054】なお、この実施の形態では、クリアスイッ
チ921が搭載されたスイッチ基板190が他の基板
(遊技制御基板等)とは別個に設けられているが、他の
基板にクリアスイッチ921を搭載してもよい。例え
ば、電源基板910に搭載してもよい。クリアスイッチ
921が電源基板910に搭載されている場合には、遊
技盤6の入れ替え等の場合に入れ替え後の遊技盤6に対
して電源基板910をそのまま使用しても、入れ替え後
の遊技盤6において、そのままで遊技状態復旧処理等を
実行することができる。すなわち、電源基板910の使
い回しを行うことができる。
In this embodiment, the switch board 190 on which the clear switch 921 is mounted is provided separately from other boards (game control board, etc.), but the clear switch 921 is mounted on the other board. You may. For example, it may be mounted on the power supply board 910. In the case where the clear switch 921 is mounted on the power board 910, even if the power board 910 is used as it is for the game board 6 after replacement when the game board 6 is replaced, the game board 6 after replacement is still used. In, the game state recovery processing and the like can be executed as it is. That is, the power supply board 910 can be reused.

【0055】また、クリアスイッチ921は、遊技盤6
の側に設置されていてもよいが、遊技枠側に設置されて
いてもよい。
Further, the clear switch 921 is used for the game board 6
May be installed on the side of, but may be installed on the game frame side.

【0056】図8は、主基板31における回路構成の一
例を示すブロック図である。なお、図8には、払出制御
基板37、ランプ制御基板35、音制御基板70、発射
制御基板91および図柄制御基板80も示されている。
主基板31には、プログラムに従ってパチンコ遊技機1
を制御する基本回路53と、ゲートスイッチ32a、始
動口スイッチ14a、V入賞スイッチ22、カウントス
イッチ23、入賞口スイッチ29a,30a,33a,
39a、満タンスイッチ48、球切れスイッチ187、
賞球カウントスイッチ301Aおよびクリアスイッチ9
21からの信号を基本回路53に与えるスイッチ回路5
8と、可変入賞球装置15を開閉するソレノイド16、
開閉板20を開閉するソレノイド21および大入賞口内
の経路を切り換えるためのソレノイド21Aを基本回路
53からの指令に従って駆動するソレノイド回路59と
が搭載されている。
FIG. 8 is a block diagram showing an example of the circuit configuration of the main board 31. Note that FIG. 8 also shows the payout control board 37, the lamp control board 35, the sound control board 70, the firing control board 91, and the symbol control board 80.
On the main board 31, the pachinko gaming machine 1 according to the program
Control circuit 53, a gate switch 32a, a starting opening switch 14a, a V winning switch 22, a count switch 23, winning opening switches 29a, 30a, 33a,
39a, full tank switch 48, out of ball switch 187,
Prize ball count switch 301A and clear switch 9
Switch circuit 5 for giving the signal from 21 to the basic circuit 53
8 and a solenoid 16 for opening and closing the variable winning ball device 15,
A solenoid 21 for opening / closing the opening / closing plate 20 and a solenoid circuit 59 for driving a solenoid 21A for switching the path in the special winning opening according to a command from the basic circuit 53 are mounted.

【0057】なお、図8には示されていないが、カウン
トスイッチ短絡信号もスイッチ回路58を介して基本回
路53に伝達される。また、ゲートスイッチ32a、始
動口スイッチ14a、V入賞スイッチ22、カウントス
イッチ23、入賞口スイッチ29a,30a,33a,
39a、満タンスイッチ48、球切れスイッチ187、
賞球カウントスイッチ301A等のスイッチは、センサ
と称されているものでもよい。すなわち、遊技球を検出
できる遊技媒体検出手段(この例では遊技球検出手段)
であれば、その名称を問わない。スイッチと称されてい
るものがセンサと称されているもの等でもよいこと、す
なわち、スイッチが遊技媒体検出手段の一例であること
は、他の実施の形態でも同様である。
Although not shown in FIG. 8, the count switch short circuit signal is also transmitted to the basic circuit 53 via the switch circuit 58. Further, the gate switch 32a, the starting port switch 14a, the V winning switch 22, the count switch 23, the winning port switches 29a, 30a, 33a,
39a, full tank switch 48, out of ball switch 187,
Switches such as the prize ball count switch 301A may be called a sensor. That is, a game medium detecting means capable of detecting a game ball (a game ball detecting means in this example)
If so, the name does not matter. It is the same in other embodiments that what is called a switch may be what is called a sensor, that is, the switch is an example of the game medium detecting means.

【0058】また、基本回路53から与えられるデータ
に従って、大当りの発生を示す大当り情報、可変表示装
置9における図柄の可変表示開始に利用された始動入賞
球の個数を示す有効始動情報、確率変動が生じたことを
示す確変情報等の情報出力信号をホールコンピュータ等
の外部装置に対して出力する情報出力回路64が搭載さ
れている。
Further, according to the data given from the basic circuit 53, the big hit information indicating the occurrence of the big hit, the effective starting information indicating the number of the starting winning balls used to start the variable display of the symbols on the variable display device 9, and the probability variation. An information output circuit 64 that outputs an information output signal such as probability variation information indicating that it has occurred to an external device such as a hall computer is mounted.

【0059】基本回路53は、ゲーム制御用のプログラ
ム等を記憶するROM54、ワークメモリとして使用さ
れる記憶手段(変動データを記憶する手段)としてのR
AM55、プログラムに従って制御動作を行うCPU5
6およびI/Oポート部57を含む。この実施の形態で
は、ROM54,RAM55はCPU56に内蔵されて
いる。すなわち、CPU56は、1チップマイクロコン
ピュータである。なお、1チップマイクロコンピュータ
は、少なくともRAM55が内蔵されていればよく、R
OM54およびI/Oポート部57は外付けであっても
内蔵されていてもよい。
The basic circuit 53 is a ROM 54 for storing a game control program and the like, and an R as a storage means (means for storing variation data) used as a work memory.
AM55, CPU5 which controls according to the program
6 and I / O port section 57. In this embodiment, the ROM 54 and the RAM 55 are built in the CPU 56. That is, the CPU 56 is a one-chip microcomputer. Note that the 1-chip microcomputer only needs to have at least the RAM 55 built therein, and
The OM 54 and the I / O port unit 57 may be external or built-in.

【0060】また、RAM(CPU内蔵RAMであって
もよい。)55の少なくとも一部が、電源基板910に
おいて作成されるバックアップ電源よってバックアップ
されているバックアップRAMである。すなわち、遊技
機に対する電力供給が停止しても、所定期間は、RAM
55の少なくとも一部の内容は保存される。ただし、こ
の実施の形態では、RAMの全てがバックアップ電源に
よってバックアップされている。
Further, at least a part of the RAM (which may be a RAM with built-in CPU) 55 is a backup RAM backed up by a backup power supply created in the power supply board 910. In other words, even if the power supply to the gaming machine is stopped, the RAM remains for a predetermined period.
At least some of the contents of 55 are saved. However, in this embodiment, the entire RAM is backed up by the backup power supply.

【0061】遊技球を打撃して発射する打球発射装置は
発射制御基板91上の回路によって制御される駆動モー
タ94で駆動される。そして、駆動モータ94の駆動力
は、操作ノブ5の操作量に従って調整される。すなわ
ち、発射制御基板91上の回路によって、操作ノブ5の
操作量に応じた速度で打球が発射されるように制御され
る。
The hit ball launching device for hitting and launching a game ball is driven by a drive motor 94 controlled by a circuit on the launch control board 91. Then, the driving force of the drive motor 94 is adjusted according to the operation amount of the operation knob 5. That is, the circuit on the firing control board 91 controls the ball to be fired at a speed according to the operation amount of the operation knob 5.

【0062】この実施の形態では、ランプ制御基板35
に搭載されているランプ制御手段が、遊技盤に設けられ
ている始動記憶表示器18、普通図柄始動記憶表示器4
1および装飾ランプ25の表示制御を行うとともに、枠
側に設けられている天枠ランプ28a、左枠ランプ28
b、右枠ランプ28c、賞球ランプ51および球切れラ
ンプ52の表示制御を行う。なお、各ランプはLEDそ
の他の種類の発光体でもよく、この実施の形態および他
の実施の形態で用いられているLEDも他の種類の発光
体でもよい。すなわち、ランプやLEDは発光体の一例
である。また、特別図柄を可変表示する可変表示装置9
および普通図柄を可変表示する普通図柄表示器10の表
示制御は、図柄制御基板80に搭載されている表示制御
手段によって行われる。
In this embodiment, the lamp control board 35 is used.
The lamp control means mounted on the game board is provided with a starting memory display 18, a normal symbol starting memory display 4
1 and the decoration lamp 25 are controlled, and the top frame lamp 28a and the left frame lamp 28 provided on the frame side are provided.
b, the right frame lamp 28c, the prize ball lamp 51, and the out-of-ball lamp 52 are displayed. Each lamp may be an LED or other type of light emitting body, and the LEDs used in this embodiment and other embodiments may be another type of light emitting body. That is, the lamp and the LED are examples of the light emitting body. Also, a variable display device 9 for variably displaying special symbols
And the display control of the normal symbol display 10 which variably displays the ordinary symbol is performed by the display control means mounted on the symbol control board 80.

【0063】図9は、図柄制御基板80内の回路構成
を、可変表示装置9の一実現例であるLCD(液晶表示
装置)82、普通図柄表示器10、主基板31の出力ポ
ート(ポート0,2)570,572および出力バッフ
ァ回路620,62Aとともに示すブロック図である。
出力ポート(出力ポート2)572からは8ビットのデ
ータが出力され、出力ポート570からは1ビットのス
トローブ信号(INT信号)が出力される。
FIG. 9 shows the circuit configuration in the symbol control board 80, an LCD (liquid crystal display) 82 which is an example of realizing the variable display device 9, an ordinary symbol display device 10, an output port of the main substrate 31 (port 0). , 2) 570 and 572 and output buffer circuits 620 and 62A.
8-bit data is output from the output port (output port 2) 572, and a 1-bit strobe signal (INT signal) is output from the output port 570.

【0064】表示制御用CPU101は、制御データR
OM102に格納されたプログラムに従って動作し、主
基板31からノイズフィルタ107および入力バッファ
回路105Bを介してINT信号が入力されると、入力
バッファ回路105Aを介して表示制御コマンドを受信
する。入力バッファ回路105A,105Bとして、例
えば汎用ICである74HC540,74HC14を使
用することができる。なお、表示制御用CPU101が
I/Oポートを内蔵していない場合には、入力バッファ
回路105A,105Bと表示制御用CPU101との
間に、I/Oポートが設けられる。
The display control CPU 101 controls the control data R
It operates according to the program stored in the OM 102, and when the INT signal is input from the main board 31 via the noise filter 107 and the input buffer circuit 105B, the display control command is received via the input buffer circuit 105A. As the input buffer circuits 105A and 105B, for example, general-purpose ICs 74HC540 and 74HC14 can be used. If the display control CPU 101 does not include an I / O port, an I / O port is provided between the input buffer circuits 105A and 105B and the display control CPU 101.

【0065】そして、表示制御用CPU101は、受信
した表示制御コマンドに従って、LCD82に表示され
る画面の表示制御を行う。具体的には、表示制御コマン
ドに応じた指令をVDP103に与える。VDP103
は、キャラクタROM86から必要なデータを読み出
す。VDP103は、入力したデータに従ってLCD8
2に表示するための画像データを生成し、R,G,B信
号および同期信号をLCD82に出力する。
Then, the display control CPU 101 controls the display of the screen displayed on the LCD 82 in accordance with the received display control command. Specifically, the VDP 103 is given a command according to the display control command. VDP103
Reads out the necessary data from the character ROM 86. The VDP 103 displays the LCD 8 according to the input data.
Image data to be displayed on the LCD 2 is generated, and R, G, B signals and synchronizing signals are output to the LCD 82.

【0066】なお、図9には、VDP103をリセット
するためのリセット回路83、VDP103に動作クロ
ックを与えるための発振回路85、および使用頻度の高
い画像データを格納するキャラクタROM86も示され
ている。キャラクタROM86に格納される使用頻度の
高い画像データとは、例えば、LCD82に表示される
人物、動物、または、文字、図形もしくは記号等からな
る画像などである。
FIG. 9 also shows a reset circuit 83 for resetting the VDP 103, an oscillation circuit 85 for giving an operating clock to the VDP 103, and a character ROM 86 for storing frequently used image data. The frequently used image data stored in the character ROM 86 is, for example, a person, an animal, or an image including characters, figures, symbols, or the like displayed on the LCD 82.

【0067】入力バッファ回路105A,105Bは、
主基板31から表示制御基板80へ向かう方向にのみ信
号を通過させることができる。従って、表示制御基板8
0側から主基板31側に信号が伝わる余地はない。すな
わち、入力バッファ回路105A,105Bは、入力ポ
ートとともに不可逆性情報入力手段を構成する。表示制
御基板80内の回路に不正改造が加えられても、不正改
造によって出力される信号が主基板31側に伝わること
はない。
The input buffer circuits 105A and 105B are
The signal can be passed only in the direction from the main board 31 to the display control board 80. Therefore, the display control board 8
There is no room for signals to be transmitted from the 0 side to the main board 31 side. That is, the input buffer circuits 105A and 105B form an irreversible information input unit together with the input port. Even if the circuit in the display control board 80 is tampered with, the signal output by the tampering is not transmitted to the main board 31 side.

【0068】高周波信号を遮断するノイズフィルタ10
7として、例えば3端子コンデンサやフェライトビーズ
が使用されるが、ノイズフィルタ107の存在によっ
て、表示制御コマンドに基板間でノイズが乗ったとして
も、その影響は除去される。また、主基板31のバッフ
ァ回路620,62Aの出力側にもノイズフィルタを設
けてもよい。
Noise filter 10 for cutting off high frequency signals
For example, a 3-terminal capacitor or a ferrite bead is used as 7, but the presence of the noise filter 107 eliminates the influence of noise on the display control command between the substrates. A noise filter may be provided on the output side of the buffer circuits 620 and 62A of the main board 31.

【0069】図10は、主基板31およびランプ制御基
板35における信号送受信部分を示すブロック図であ
る。この実施の形態では、遊技領域7の外側に設けられ
ている天枠ランプ28a、左右枠ランプ28b,28c
と遊技盤に設けられている装飾ランプ25、始動記憶表
示器18および普通図柄始動記憶表示器41の点灯/消
灯と、賞球ランプ51および球切れランプ52の点灯/
消灯とを示すランプ制御コマンドが主基板31からラン
プ制御基板35に出力される。
FIG. 10 is a block diagram showing signal transmitting / receiving portions of the main board 31 and the lamp control board 35. In this embodiment, the top frame lamp 28a, the left and right frame lamps 28b, 28c provided outside the game area 7
Lighting and extinguishing of the decorative lamp 25, the starting memory indicator 18 and the normal symbol starting memory indicator 41 provided on the game board, and lighting of the prize ball lamp 51 and the out-of-ball lamp 52.
A lamp control command indicating turning off is output from the main board 31 to the lamp control board 35.

【0070】図10に示すように、ランプ制御に関する
ランプ制御コマンドは、基本回路53におけるI/Oポ
ート部57の出力ポート(出力ポート0,3)570,
573から出力される。出力ポート(出力ポート3)5
73は8ビットのデータを出力し、出力ポート570は
1ビットのINT信号を出力する。ランプ制御基板35
において、主基板31からの制御コマンドは、入力バッ
ファ回路355A,355Bを介してランプ制御用CP
U351に入力する。なお、ランプ制御用CPU351
がI/Oポートを内蔵していない場合には、入力バッフ
ァ回路355A,355Bとランプ制御用CPU351
との間に、I/Oポートが設けられる。
As shown in FIG. 10, the lamp control command relating to the lamp control is the output port (output port 0, 3) 570 of the I / O port section 57 in the basic circuit 53.
It is output from 573. Output port (output port 3) 5
73 outputs 8-bit data, and the output port 570 outputs a 1-bit INT signal. Lamp control board 35
, The control command from the main board 31 is sent to the lamp control CP via the input buffer circuits 355A and 355B.
Input to U351. The lamp control CPU 351
Does not include an I / O port, the input buffer circuits 355A and 355B and the lamp control CPU 351.
An I / O port is provided between and.

【0071】ランプ制御基板35において、ランプ制御
用CPU351は、各制御コマンドに応じて定義されて
いる天枠ランプ28a、左右枠ランプ28b,28c、
装飾ランプ25の点灯/消灯パターンに従って、天枠ラ
ンプ28a、左右枠ランプ28b,28c、装飾ランプ
25に対して点灯/消灯信号を出力する。点灯/消灯信
号は、天枠ランプ28a、左右枠ランプ28b,28
c、装飾ランプ25に出力される。なお、点灯/消灯パ
ターンは、ランプ制御用CPU351の内蔵ROMまた
は外付けROMに記憶されている。
In the lamp control board 35, the lamp control CPU 351 has a top frame lamp 28a, left and right frame lamps 28b and 28c, which are defined according to each control command.
A lighting / lighting-off signal is output to the top frame lamp 28a, the left and right frame lamps 28b and 28c, and the decoration lamp 25 according to the lighting / lighting-out pattern of the decoration lamp 25. The lighting / extinguishing signal is transmitted from the top frame lamp 28a and the left and right frame lamps 28b and 28.
c, output to the decoration lamp 25. The lighting / extinguishing pattern is stored in the built-in ROM or the external ROM of the lamp control CPU 351.

【0072】主基板31において、CPU56は、RA
M55の記憶内容に未払出の賞球残数があるときに賞球
ランプ51の点灯を指示する制御コマンドを出力し、前
述した遊技盤裏面の払出球通路の上流に設置されている
球切れスイッチ187(図3参照)が遊技球を検出しな
くなると球切れランプ52の点灯を指示する制御コマン
ドを出力する。ランプ制御基板35において、各制御コ
マンドは、入力バッファ回路355A,355Bを介し
てランプ制御用CPU351に入力する。ランプ制御用
CPU351は、それらの制御コマンドに応じて、賞球
ランプ51および球切れランプ52を点灯/消灯する。
なお、点灯/消灯パターンは、ランプ制御用CPU35
1の内蔵ROMまたは外付けROMに記憶されている。
On the main board 31, the CPU 56 controls the RA
When there is an unpaid remaining number of prize balls in the stored contents of M55, a control command for instructing lighting of the prize ball lamp 51 is output, and the ball break switch installed upstream of the pay ball passage on the back surface of the game board described above. When 187 (see FIG. 3) no longer detects a game ball, it outputs a control command for instructing lighting of the out-of-ball lamp 52. In the lamp control board 35, each control command is input to the lamp control CPU 351 via the input buffer circuits 355A and 355B. The lamp control CPU 351 turns on / off the prize ball lamp 51 and the out-of-ball lamp 52 according to the control commands.
It should be noted that the lighting / extinguishing pattern is the lamp control CPU 35.
It is stored in one built-in ROM or an external ROM.

【0073】入力バッファ回路355A,355Bとし
て、例えば、汎用のCMOS−ICである74HC54
0,74HC14が用いられる。入力バッファ回路35
5A,355Bは、主基板31からランプ制御基板35
へ向かう方向にのみ信号を通過させることができる。従
って、ランプ制御基板35側から主基板31側に信号が
伝わる余地はない。たとえ、ランプ制御基板35内の回
路に不正改造が加えられても、不正改造によって出力さ
れる信号がメイン基板31側に伝わることはない。な
お、入力バッファ回路355A,355Bの入力側にノ
イズフィルタを設けてもよい。
The input buffer circuits 355A and 355B are, for example, 74HC54 which is a general-purpose CMOS-IC.
0.74HC14 is used. Input buffer circuit 35
5A and 355B are the main board 31 and the lamp control board 35.
The signal can only be passed in the direction towards. Therefore, there is no room for signals to be transmitted from the lamp control board 35 side to the main board 31 side. Even if the circuit in the lamp control board 35 is tampered with, the signal output by the tampering is not transmitted to the main board 31 side. A noise filter may be provided on the input side of the input buffer circuits 355A and 355B.

【0074】また、主基板31において、出力ポート5
70,573の外側にバッファ回路620,63Aが設
けられている。バッファ回路620,63Aとして、例
えば、汎用のCMOS−ICである74HC250,7
4HC14が用いられる。このような構成によれば、外
部から主基板31の内部に入力される信号が阻止される
ので、ランプ制御基板70から主基板31に信号が与え
られる可能性がある信号ラインをさらに確実になくすこ
とができる。なお、バッファ回路620,63Aの出力
側にノイズフィルタを設けてもよい。
On the main board 31, the output port 5
Buffer circuits 620 and 63A are provided outside the 70 and 573. The buffer circuits 620 and 63A are, for example, 74HC250 and 7 that are general-purpose CMOS-ICs.
4HC14 is used. According to such a configuration, a signal input from the outside to the inside of the main board 31 is blocked, so that a signal line that may give a signal from the lamp control board 70 to the main board 31 is further reliably eliminated. be able to. A noise filter may be provided on the output side of the buffer circuits 620 and 63A.

【0075】図11は、主基板31における音制御コマ
ンドの信号送信部分および音制御基板70の構成例を示
すブロック図である。この実施の形態では、遊技進行に
応じて、遊技領域7の外側に設けられているスピーカ2
7の音出力を指示するための音制御コマンドが、主基板
31から音制御基板70に出力される。
FIG. 11 is a block diagram showing a configuration example of the signal transmission portion of the sound control command on the main board 31 and the sound control board 70. In this embodiment, the speaker 2 provided outside the game area 7 as the game progresses.
A sound control command for instructing sound output of No. 7 is output from the main board 31 to the sound control board 70.

【0076】図11に示すように、音制御コマンドは、
基本回路53におけるI/Oポート部57の出力ポート
(出力ポート0,4)570,574から出力される。
出力ポート(出力ポート4)574からは8ビットのデ
ータが出力され、出力ポート570からは1ビットのI
NT信号が出力される。音制御基板70において、主基
板31からの各信号は、入力バッファ回路705A,7
05Bを介して音制御用CPU701に入力する。な
お、音制御用CPU701がI/Oポートを内蔵してい
ない場合には、入力バッファ回路705A,705Bと
音制御用CPU701との間に、I/Oポートが設けら
れる。
As shown in FIG. 11, the sound control command is
It is output from the output ports (output ports 0, 4) 570 and 574 of the I / O port unit 57 in the basic circuit 53.
8-bit data is output from the output port (output port 4) 574, and 1-bit I is output from the output port 570.
The NT signal is output. In the sound control board 70, signals from the main board 31 are input buffer circuits 705A, 7
Input to the sound control CPU 701 via 05B. When the sound control CPU 701 does not have an I / O port built therein, an I / O port is provided between the input buffer circuits 705A and 705B and the sound control CPU 701.

【0077】そして、例えばディジタルシグナルプロセ
ッサによる音声合成回路702は、音制御用CPU70
1の指示に応じた音声や効果音を発生し音量切替回路7
03に出力する。音量切替回路703は、音制御用CP
U701の出力レベルを、設定されている音量に応じた
レベルにして音量増幅回路704に出力する。音量増幅
回路704は、増幅した音信号をスピーカ27に出力す
る。
Then, for example, the voice synthesizing circuit 702 by a digital signal processor has
The volume switching circuit 7 generates a sound or a sound effect according to the instruction of 1.
Output to 03. The volume switching circuit 703 is a sound control CP.
The output level of U701 is set to a level according to the set volume and output to the volume amplification circuit 704. The volume amplifier circuit 704 outputs the amplified sound signal to the speaker 27.

【0078】入力バッファ回路705A,705Bとし
て、例えば、汎用のCMOS−ICである74HC54
0,74HC14が用いられる。入力バッファ回路70
5A,705Bは、主基板31から音制御基板70へ向
かう方向にのみ信号を通過させることができる。よっ
て、音制御基板70側から主基板31側に信号が伝わる
余地はない。従って、音制御基板70内の回路に不正改
造が加えられても、不正改造によって出力される信号が
主基板31側に伝わることはない。なお、入力バッファ
回路705A,705Bの入力側にノイズフィルタを設
けてもよい。
The input buffer circuits 705A and 705B are, for example, 74HC54 which is a general-purpose CMOS-IC.
0.74HC14 is used. Input buffer circuit 70
5A and 705B can pass signals only in the direction from the main board 31 to the sound control board 70. Therefore, there is no room for signals to be transmitted from the sound control board 70 side to the main board 31 side. Therefore, even if the circuit in the sound control board 70 is tampered with, the signal output by the tampering is not transmitted to the main board 31 side. A noise filter may be provided on the input side of the input buffer circuits 705A and 705B.

【0079】また、主基板31において、出力ポート5
70,574の外側にバッファ回路620,67Aが設
けられている。バッファ回路620,67Aとして、例
えば、汎用のCMOS−ICである74HC250,7
4HC14が用いられる。このような構成によれば、外
部から主基板31の内部に入力される信号が阻止される
ので、音制御基板70から主基板31に信号が与えられ
る可能性がある信号ラインをさらに確実になくすことが
できる。なお、バッファ回路620,67Aの出力側に
ノイズフィルタを設けてもよい。
In the main board 31, the output port 5
Buffer circuits 620 and 67A are provided outside 70 and 574, respectively. The buffer circuits 620 and 67A are, for example, 74HC250 and 7 that are general-purpose CMOS-ICs.
4HC14 is used. According to such a configuration, a signal input from the outside to the inside of the main board 31 is blocked, so that the signal line that may give a signal from the sound control board 70 to the main board 31 is further surely removed. be able to. A noise filter may be provided on the output side of the buffer circuits 620 and 67A.

【0080】図12は、払出制御基板37および球払出
装置97の構成要素などの払出に関連する構成要素を示
すブロック図である。図12に示すように、満タンスイ
ッチ48からの検出信号は、中継基板71を介して主基
板31のI/Oポート部57に入力される。また、球切
れスイッチ187からの検出信号も、中継基板72およ
び中継基板71を介して主基板31のI/Oポート部5
7に入力される。
FIG. 12 is a block diagram showing components related to payout, such as the components of the payout control board 37 and the ball payout device 97. As shown in FIG. 12, the detection signal from the full switch 48 is input to the I / O port section 57 of the main board 31 via the relay board 71. The detection signal from the ball break switch 187 is also transmitted via the relay boards 72 and 71 to the I / O port section 5 of the main board 31.
Input to 7.

【0081】主基板31のCPU56は、球切れスイッ
チ187からの検出信号が球切れ状態を示しているか、
または、満タンスイッチ48からの検出信号が満タン状
態を示していると、払出を停止すべき状態であることを
指示する払出制御コマンドを送出する。払出を停止すべ
き状態であることを指示する払出制御コマンドを受信す
ると、払出制御基板37の払出制御用CPU371は球
払出処理を停止する。
The CPU 56 of the main board 31 determines whether the detection signal from the ball break switch 187 indicates the ball break condition.
Alternatively, when the detection signal from the full tank switch 48 indicates the full state, a payout control command instructing that the payout should be stopped is sent. When receiving the payout control command instructing that the payout should be stopped, the payout control CPU 371 of the payout control board 37 stops the ball payout process.

【0082】さらに、賞球カウントスイッチ301Aか
らの検出信号は、中継基板72および中継基板71を介
して主基板31のI/Oポート部57に入力されるとと
もに、中継基板72を介して払出制御基板37の入力ポ
ート372bに入力される。賞球カウントスイッチ30
1Aは、球払出装置97の払出機構部分に設けられ、実
際に払い出された賞球払出球を検出する。
Further, the detection signal from the prize ball count switch 301A is input to the I / O port section 57 of the main board 31 via the relay boards 72 and 71, and the payout control is also performed via the relay board 72. It is input to the input port 372b of the substrate 37. Prize ball count switch 30
1A is provided in the payout mechanism portion of the ball payout device 97, and detects the actually paid award ball.

【0083】入賞があると、払出制御基板37には、主
基板31の出力ポート(ポート0,1)570,571
から賞球個数を示す払出制御コマンドが入力される。出
力ポート(出力ポート1)571は8ビットのデータを
出力し、出力ポート570は1ビットのINT信号を出
力する。賞球個数を示す払出制御コマンドは、入力バッ
ファ回路373Aを介してI/Oポート372aに入力
される。INT信号は、入力バッファ回路373Bを介
して払出制御用CPU371の割込端子に入力されてい
る。払出制御用CPU371は、I/Oポート372a
を介して払出制御コマンドを入力し、払出制御コマンド
に応じて球払出装置97を駆動して賞球払出を行う。な
お、この実施の形態では、払出制御用CPU371は、
1チップマイクロコンピュータであり、少なくともRA
Mが内蔵されている。
When a prize is won, the payout control board 37 has output ports (ports 0, 1) 570, 571 of the main board 31.
A payout control command indicating the number of prize balls is input from. The output port (output port 1) 571 outputs 8-bit data, and the output port 570 outputs a 1-bit INT signal. The payout control command indicating the number of prize balls is input to the I / O port 372a via the input buffer circuit 373A. The INT signal is input to the interrupt terminal of the payout control CPU 371 via the input buffer circuit 373B. The payout control CPU 371 is an I / O port 372a.
The payout control command is input via the, and the ball payout device 97 is driven according to the payout control command to perform the prize ball payout. In this embodiment, the payout control CPU 371 is
1-chip microcomputer, at least RA
M is built in.

【0084】また、主基板31において、出力ポート5
70,571の外側にバッファ回路620,68Aが設
けられている。バッファ回路620,68Aとして、例
えば、汎用のCMOS−ICである74HC250,7
4HC14が用いられる。このような構成によれば、外
部から主基板31の内部に入力される信号が阻止される
ので、払出制御基板37から主基板31に信号が与えら
れる可能性がある信号ラインをさらに確実になくすこと
ができる。なお、バッファ回路620,68Aの出力側
にノイズフィルタを設けてもよい。
On the main board 31, the output port 5
Buffer circuits 620 and 68A are provided outside the 70 and 571. The buffer circuits 620 and 68A are, for example, 74HC250 and 7 which are general-purpose CMOS-ICs.
4HC14 is used. According to such a configuration, a signal input from the outside to the inside of the main board 31 is blocked, so that the signal line that may give a signal from the payout control board 37 to the main board 31 is further reliably eliminated. be able to. A noise filter may be provided on the output side of the buffer circuits 620 and 68A.

【0085】払出制御用CPU371は、出力ポート3
72cを介して、貸し球数を示す球貸し個数信号をター
ミナル基板160に出力する。さらに、出力ポート37
2dを介して、エラー表示用LED374にエラー信号
を出力する。
The payout control CPU 371 uses the output port 3
A lent ball number signal indicating the number of lent balls is output to the terminal board 160 via 72c. Furthermore, the output port 37
An error signal is output to the error display LED 374 via 2d.

【0086】さらに、払出制御基板37の入力ポート3
72bには、中継基板72を介して、球貸しカウントス
イッチ301B、および払出モータ289の回転位置を
検出するための払出モータ位置センサ296からの検出
信号が入力される。球貸しカウントスイッチ301B
は、球払出装置97の払出機構部分に設けられ、実際に
払い出された貸し球を検出する。払出制御基板37から
の払出モータ289への駆動信号は、出力ポート372
cおよび中継基板72を介して球払出装置97の払出機
構部分における払出モータ289に伝えられ、振分ソレ
ノイド310への駆動信号は、出力ポート372eおよ
び中継基板72を介して球払出装置97の払出機構部分
における振分ソレノイド310に伝えられる。また、ク
リアスイッチ921の出力も、入力ポート372bに入
力される。
Further, the input port 3 of the payout control board 37
Detection signals from the ball lending count switch 301B and a payout motor position sensor 296 for detecting the rotational position of the payout motor 289 are input to the 72b via the relay board 72. Ball lending count switch 301B
Is provided in the payout mechanism portion of the ball payout device 97, and detects the actually paid out lending ball. The drive signal from the payout control board 37 to the payout motor 289 is output to the output port 372.
The driving signal transmitted to the payout motor 289 in the payout mechanism portion of the ball payout device 97 via c and the relay board 72, and the drive signal to the distribution solenoid 310, the payout of the ball payout device 97 via the output port 372e and the relay board 72. It is transmitted to the distribution solenoid 310 in the mechanical portion. The output of the clear switch 921 is also input to the input port 372b.

【0087】カードユニット50には、カードユニット
制御用マイクロコンピュータが搭載されている。また、
カードユニット50には、連結台方向表示器153、カ
ード投入表示ランプ154およびカード挿入口155が
設けられている(図1参照)。残高表示基板74には、
打球供給皿3の近傍に設けられている度数表示LED、
球貸しスイッチおよび返却スイッチが接続される。
A card unit control microcomputer is mounted on the card unit 50. Also,
The card unit 50 is provided with a connecting table direction indicator 153, a card insertion indicator lamp 154 and a card insertion slot 155 (see FIG. 1). On the balance display board 74,
A frequency display LED provided in the vicinity of the hit ball supply tray 3,
The ball lending switch and the return switch are connected.

【0088】残高表示基板74からカードユニット50
には、遊技者の操作に応じて、球貸しスイッチ信号およ
び返却スイッチ信号が払出制御基板37を介して与えら
れる。また、カードユニット50から残高表示基板74
には、プリペイドカードの残高を示すカード残高表示信
号および球貸し可表示信号が払出制御基板37を介して
与えられる。カードユニット50と払出制御基板37の
間では、接続信号(VL信号)、ユニット操作信号(B
RDY信号)、球貸し要求信号(BRQ信号)、球貸し
完了信号(EXS信号)およびパチンコ機動作信号(P
RDY信号)が入力ポート372bおよび出力ポート3
72eを介してやりとりされる。
From the balance display board 74 to the card unit 50
A ball lending switch signal and a return switch signal are given to the player through the payout control board 37 according to the operation of the player. In addition, the balance display board 74 from the card unit 50
A card balance display signal indicating the balance of the prepaid card and a ball lending allowance display signal are given to the payout control board 37. Between the card unit 50 and the payout control board 37, a connection signal (VL signal) and a unit operation signal (B
RDY signal), ball lending request signal (BRQ signal), ball lending completion signal (EXS signal) and pachinko machine operation signal (P
RDY signal) is input port 372b and output port 3
It is exchanged via 72e.

【0089】パチンコ遊技機1の電源が投入されると、
払出制御基板37の払出制御用CPU371は、カード
ユニット50にPRDY信号を出力する。また、カード
ユニット制御用マイクロコンピュータは、VL信号を出
力する。払出制御用CPU371は、VL信号の入力状
態により接続状態/未接続状態を判定する。カードユニ
ット50においてカードが受け付けられ、球貸しスイッ
チが操作され球貸しスイッチ信号が入力されると、カー
ドユニット制御用マイクロコンピュータは、払出制御基
板37にBRDY信号を出力する。この時点から所定の
遅延時間が経過すると、カードユニット制御用マイクロ
コンピュータは、払出制御基板37にBRQ信号を出力
する。
When the power of the pachinko gaming machine 1 is turned on,
The payout control CPU 371 of the payout control board 37 outputs a PRDY signal to the card unit 50. Further, the card unit control microcomputer outputs a VL signal. The payout control CPU 371 determines the connected state / unconnected state based on the input state of the VL signal. When the card is accepted in the card unit 50 and the ball lending switch is operated to input a ball lending switch signal, the card unit controlling microcomputer outputs a BRDY signal to the payout control board 37. When a predetermined delay time has elapsed from this point in time, the card unit control microcomputer outputs a BRQ signal to the payout control board 37.

【0090】そして、払出制御基板37の払出制御用C
PU371は、カードユニット50に対するEXS信号
を立ち上げ、カードユニット50からのBRQ信号の立
ち下がりを検出すると、払出モータ289を駆動し、所
定個の貸し球を遊技者に払い出す。このとき、振分ソレ
ノイド310は駆動状態とされている。すなわち、球振
分部材311を球貸し側に向ける。そして、払出が完了
したら、払出制御用CPU371は、カードユニット5
0に対するEXS信号を立ち下げる。その後、カードユ
ニット50からのBRDY信号がオン状態でなければ、
賞球払出制御を実行する。
Then, the payout control C of the payout control board 37 is used.
When the PU 371 raises the EXS signal to the card unit 50 and detects the fall of the BRQ signal from the card unit 50, it drives the payout motor 289 to pay out a predetermined number of lending balls to the player. At this time, the distribution solenoid 310 is in a driving state. That is, the ball distribution member 311 is directed to the ball lending side. When the payout is completed, the payout control CPU 371 causes the card unit 5
The EXS signal for 0 is dropped. After that, if the BRDY signal from the card unit 50 is not on,
The prize ball payout control is executed.

【0091】以上のように、カードユニット50からの
信号は全て払出制御基板37に入力される構成になって
いる。従って、球貸し制御に関して、カードユニット5
0から主基板31に信号が入力されることはなく、主基
板31の基本回路53にカードユニット50の側から不
正に信号が入力される余地はない。また、カードユニッ
ト50で用いられる電源電圧AC24Vは払出制御基板
37から供給される。
As described above, all the signals from the card unit 50 are input to the payout control board 37. Therefore, regarding the ball lending control, the card unit 5
No signal is input to the main board 31 from 0, and there is no room for the signal to be illegally input to the basic circuit 53 of the main board 31 from the card unit 50 side. The power supply voltage AC24V used in the card unit 50 is supplied from the payout control board 37.

【0092】この実施の形態では、電源基板910から
払出制御基板37に対して電源断信号も入力される。電
源断信号は、払出制御用CPU371のマスク不能割込
(NMI)端子に入力される。さらに、払出制御基板3
7に存在するRAM(CPU内蔵RAMであってもよ
い。)の少なくとも一部は、電源基板910において作
成されるバックアップ電源によって、バックアップされ
ている。すなわち、遊技機に対する電力供給が停止して
も、所定期間は、RAMの少なくとも一部の内容は保存
される。ただし、この実施の形態では、RAMは全てバ
ックアップ電源によってバックアップされている。
In this embodiment, a power-off signal is also input from the power supply board 910 to the payout control board 37. The power-off signal is input to the non-maskable interrupt (NMI) terminal of the payout control CPU 371. Furthermore, the payout control board 3
At least a part of the RAM (may be a RAM with a built-in CPU) existing in 7 is backed up by a backup power supply created in the power supply board 910. That is, even if the power supply to the gaming machine is stopped, at least a part of the contents of the RAM is saved for a predetermined period. However, in this embodiment, all the RAMs are backed up by the backup power supply.

【0093】なお、この実施の形態では、カードユニッ
ト50が遊技機とは別体として遊技機に隣接して設置さ
れている場合を例にするが、カードユニット50は遊技
機と一体化されていてもよい。また、コイン投入に応じ
てその金額に応じた遊技球が貸し出されるような場合で
も本発明を適用できる。
In this embodiment, the case where the card unit 50 is installed adjacent to the gaming machine as a separate body from the gaming machine is taken as an example, but the card unit 50 is integrated with the gaming machine. May be. Further, the present invention can be applied even when a game ball corresponding to the amount of coins is lent out in response to the coin insertion.

【0094】図13は、電源基板910の一構成例を示
すブロック図である。電源基板910は、主基板31、
図柄制御基板80、音制御基板70、ランプ制御基板3
5および払出制御基板37等の電気部品制御基板と独立
して設置され、遊技機内の各電気部品制御基板および機
構部品が使用する電圧を生成する。この例では、AC2
4V、VSL(DC+30V)、DC+21V、DC+1
2VおよびDC+5Vを生成する。また、バックアップ
電源すなわち記憶保持手段となるコンデンサ916は、
DC+5Vすなわち各基板上のIC等を駆動する電源の
ラインから充電される。なお、VSLは、整流回路912
において、整流素子でAC24Vを整流昇圧することに
よって生成される。VSLは、ソレノイド駆動電源とな
る。
FIG. 13 is a block diagram showing a configuration example of the power supply board 910. The power supply board 910 includes a main board 31,
Design control board 80, sound control board 70, lamp control board 3
5 and the payout control board 37 and other electric part control boards are installed independently of each other, and each electric part control board in the gaming machine and the voltage used by the mechanical parts are generated. In this example, AC2
4V, VSL (DC + 30V), DC + 21V, DC + 1
Generates 2V and DC + 5V. Further, the backup power source, that is, the capacitor 916 serving as a memory holding unit,
It is charged from DC + 5V, that is, from the line of the power supply that drives the ICs on each substrate. Note that VSL is a rectifier circuit 912.
At, the rectifying element rectifies and boosts AC 24V. VSL serves as a solenoid drive power source.

【0095】トランス911は、交流電源からの交流電
圧を24Vに変換する。AC24V電圧は、コネクタ9
15に出力される。また、整流回路912は、AC24
Vから+30Vの直流電圧を生成し、DC−DCコンバ
ータ913およびコネクタ915に出力する。DC−D
Cコンバータ913は、1つまたは複数のコンバータI
C922(図13では1つのみを示す。)を有し、VSL
にもとづいて+21V、+12Vおよび+5Vを生成し
てコネクタ915に出力する。コンバータIC922の
入力側には、比較的大容量のコンデンサ923が接続さ
れている。従って、外部からの遊技機に対する電力供給
が停止したときに、+30V、+12V、+5V等の直
流電圧は、比較的緩やかに低下する。コネクタ915は
例えば中継基板に接続され、中継基板から各電気部品制
御基板および機構部品に必要な電圧の電力が供給され
る。
The transformer 911 converts the AC voltage from the AC power supply into 24V. 24V AC voltage is applied to connector 9
It is output to 15. In addition, the rectifier circuit 912 is an AC 24
A DC voltage of +30 V is generated from V and output to the DC-DC converter 913 and the connector 915. DC-D
C converter 913 may include one or more converters I
VSL with C922 (only one shown in FIG. 13)
Based on the above, + 21V, + 12V and + 5V are generated and output to the connector 915. A relatively large-capacity capacitor 923 is connected to the input side of the converter IC 922. Therefore, when the power supply to the game machine from the outside is stopped, the DC voltage of + 30V, + 12V, + 5V, etc., decreases relatively gently. The connector 915 is connected to, for example, a relay board, and the relay board supplies electric power of a required voltage to each electric component control board and mechanical components.

【0096】ただし、電源基板910に各電気部品制御
基板に至る各コネクタを設け、電源基板910から、中
継基板を介さずにそれぞれの基板に至る各電圧を供給す
るようにしてもよい。また、図13には1つのコネクタ
915が代表して示されているが、コネクタは、各電気
部品制御基板対応に設けられている。
However, the power supply board 910 may be provided with each connector reaching each electric component control board, and each voltage may be supplied from the power supply board 910 to each board without the relay board. Further, although one connector 915 is representatively shown in FIG. 13, the connector is provided for each electric component control board.

【0097】DC−DCコンバータ913からの+5V
ラインは分岐してバックアップ+5Vラインを形成す
る。バックアップ+5Vラインとグラウンドレベルとの
間には大容量のコンデンサ916が接続されている。コ
ンデンサ916は、遊技機に対する電力供給が停止した
ときの電気部品制御基板のバックアップRAM(電源バ
ックアップされているRAMすなわち電力供給停止時に
も記憶内容保持状態となりうるバックアップ記憶手段)
に対して記憶状態を保持できるように電力を供給するバ
ックアップ電源となる。また、+5Vラインとバックア
ップ+5Vラインとの間に、逆流防止用のダイオード9
17が挿入される。なお、この実施の形態では、バック
アップ用の+5Vは、主基板31および払出制御基板3
7に供給される。
+ 5V from the DC-DC converter 913
The line branches to form a backup + 5V line. A large-capacity capacitor 916 is connected between the backup + 5V line and the ground level. The capacitor 916 is a backup RAM of the electric component control board when the power supply to the game machine is stopped (RAM whose power is backed up, that is, backup storage means that can be in a storage content holding state even when the power supply is stopped).
It becomes a backup power supply that supplies electric power so that the memory state can be maintained. In addition, a diode 9 for preventing backflow is provided between the + 5V line and the backup + 5V line.
17 is inserted. In this embodiment, the backup + 5V is applied to the main board 31 and the payout control board 3
7 is supplied.

【0098】また、電源基板910には、電源監視回路
(電源監視手段)としての電源監視用IC902が搭載
されている。電源監視用IC902は、VSL電圧を導入
し、VSL電圧を監視することによって遊技機への電力供
給停止の発生を検出する。具体的には、VSL電圧が所定
値(この例では+22V)以下になったら、電力供給の
停止が生ずるとして電源断信号を出力する。なお、監視
対象の電源電圧は、各電気部品制御基板に搭載されてい
る回路素子の電源電圧(この例では+5V)よりも高い
電圧であることが好ましい。この例では、交流から直流
に変換された直後の電圧であるVSLが用いられている。
電源監視用IC902からの電源断信号は、主基板31
や払出制御基板37等に供給される。
A power supply monitoring IC (power supply monitoring means) 902 is mounted on the power supply board 910. The power supply monitoring IC 902 detects the occurrence of power supply stoppage to the gaming machine by introducing the VSL voltage and monitoring the VSL voltage. Specifically, when the VSL voltage becomes equal to or lower than a predetermined value (+ 22V in this example), it is determined that the power supply will be stopped, and a power-off signal is output. The power supply voltage to be monitored is preferably higher than the power supply voltage (+5 V in this example) of the circuit element mounted on each electric component control board. In this example, VSL, which is the voltage immediately after conversion from AC to DC, is used.
The power off signal from the power monitoring IC 902 is sent to the main board 31.
And the payout control board 37 and the like.

【0099】電源監視用IC902が電力供給の停止を
検知するための所定値は、通常時の電圧より低いが、各
電気部品制御基板上のCPUが暫くの間動作しうる程度
の電圧である。また、電源監視用IC902が、CPU
等の回路素子を駆動するための電圧(この例では+5
V)よりも高く、また、交流から直流に変換された直後
の電圧を監視するように構成されているので、CPUが
必要とする電圧に対して監視範囲を広げることができ
る。従って、より精密な監視を行うことができる。さら
に、監視電圧としてVSL(+30V)を用いる場合に
は、遊技機の各種スイッチに供給される電圧が+12V
であることから、電源瞬断時のスイッチオン誤検出の防
止も期待できる。すなわち、+30V電源の電圧を監視
すると、+30V作成の以降に作られる+12Vが落ち
始める以前の段階でそれの低下を検出できる。
The predetermined value for the power supply monitoring IC 902 to detect the stop of power supply is lower than the normal voltage, but is a voltage at which the CPU on each electric component control board can operate for a while. Further, the power supply monitoring IC 902 is a CPU
For driving circuit elements such as (+5 in this example)
The voltage is higher than V) and is configured to monitor the voltage immediately after the conversion from AC to DC, so that the monitoring range can be expanded with respect to the voltage required by the CPU. Therefore, more precise monitoring can be performed. Furthermore, when VSL (+ 30V) is used as the monitoring voltage, the voltage supplied to the various switches of the gaming machine is + 12V
Therefore, it can be expected to prevent erroneous detection of switch-on at the moment of power interruption. That is, when the voltage of the + 30V power supply is monitored, it is possible to detect a decrease in + 12V generated after + 30V is generated, before the voltage starts to drop.

【0100】+12V電源の電圧が低下するとスイッチ
出力がオン状態を呈するようになるが、+12Vより早
く低下する+30V電源電圧を監視して電力供給の停止
を認識すれば、スイッチ出力がオン状態を呈する前に電
力供給回復待ちの状態に入ってスイッチ出力を検出しな
い状態となることができる。
When the voltage of the + 12V power supply drops, the switch output comes to be in the ON state, but if the + 30V power supply voltage that drops earlier than + 12V is monitored and the stop of the power supply is recognized, the switch output will show the ON state. It is possible to enter the state of waiting for the restoration of the power supply before entering the state where the switch output is not detected.

【0101】また、電源監視用IC902は、電気部品
制御基板とは別個の電源基板910に搭載されているの
で、電源監視回路から複数の電気部品制御基板に電源断
信号を供給することができる。電源断信号を必要とする
電気部品制御基板が幾つあっても電源監視手段は1つ設
けられていればよいので、各電気部品制御基板における
各電気部品制御手段が後述する復旧制御を行っても、遊
技機のコストはさほど上昇しない。
Further, since the power supply monitoring IC 902 is mounted on the power supply board 910 separate from the electric part control board, the power supply cutoff circuit can supply a power-off signal to the plurality of electric part control boards. Even if there are any number of electrical component control boards that require a power-off signal, one power source monitoring means may be provided, so that even if each electrical component control means in each electrical component control board performs recovery control described below. , The cost of gaming machines does not rise so much.

【0102】なお、図13に示された構成では、電源監
視用IC902の検出信号(電源断信号)は、バッファ
回路918,919を介してそれぞれの電気部品制御基
板(例えば主基板31と払出制御基板37)に伝達され
るが、例えば、1つの検出信号を中継基板に伝達し、中
継基板から各電気部品制御基板に同じ信号を分配する構
成でもよい。また、電源断信号を必要とする基板数に応
じたバッファ回路を設けてもよい。さらに、主基板31
と払出制御基板37とに出力される電源断信号につい
て、電源断信号を出力することになる電源監視回路の監
視電圧を異ならせてもよい。
In the configuration shown in FIG. 13, the detection signal (power-off signal) of the power supply monitoring IC 902 is transmitted through the buffer circuits 918 and 919 to the respective electric component control boards (for example, the main board 31 and the payout control circuit). Although it is transmitted to the substrate 37), for example, one detection signal may be transmitted to the relay substrate and the same signal may be distributed from the relay substrate to each electric component control substrate. In addition, a buffer circuit may be provided according to the number of substrates that require a power-off signal. Further, the main substrate 31
Regarding the power-off signal output to the payout control board 37, the monitoring voltage of the power-source monitoring circuit that outputs the power-off signal may be different.

【0103】図14は、主基板31におけるCPU56
周りの一構成例を示すブロック図である。図14に示す
ように、電源基板910の電源監視回路からの電源断信
号がバッファ回路900を介して、CPU56のマスク
不能割込端子(XNMI端子)に接続されている。従っ
て、CPU56は、マスク不能割込(NMI)処理によ
って遊技機への電力供給の停止の発生を確認することが
できる。また、電源断信号は、判定回路950にも入力
されている。バッファ回路900から出力される信号は
電源監視回路910からの検出信号と実質的に変わらな
いので(増幅を受けたのみ)、以下、バッファ回路90
0から出力される信号を検出信号またはNMI信号と呼
ぶことがある。また、判定回路950は、システムリセ
ット判定手段の一例である。なお、CPU56は、XN
MI端子の入力信号がローレベルになると、立ち下がり
エッジで割込を受け付ける。
FIG. 14 shows the CPU 56 in the main board 31.
It is a block diagram showing an example of the circumference. As shown in FIG. 14, the power-off signal from the power supply monitoring circuit of the power supply board 910 is connected to the non-maskable interrupt terminal (XNMI terminal) of the CPU 56 via the buffer circuit 900. Therefore, the CPU 56 can confirm the occurrence of the stop of the power supply to the gaming machine by the non-maskable interrupt (NMI) process. The power-off signal is also input to the determination circuit 950. Since the signal output from the buffer circuit 900 is substantially the same as the detection signal from the power supply monitoring circuit 910 (only amplified), the buffer circuit 90 will be described below.
The signal output from 0 may be called a detection signal or an NMI signal. The determination circuit 950 is an example of system reset determination means. Note that the CPU 56 is XN
When the input signal of the MI terminal becomes low level, the interrupt is accepted at the falling edge.

【0104】図14には、システムリセット回路65も
示されている。リセットIC651は、電源投入時に、
外付けのコンデンサの容量で決まる所定時間だけ出力を
ローレベルとし、所定時間が経過すると出力をハイレベ
ルにする。すなわち、リセット信号をハイレベルに立ち
上げてCPU56を動作可能状態にする。また、リセッ
トIC651は、電源基板910の電源監視回路が監視
する電源電圧と等しい電源電圧であるVSLの電源電圧を
監視して電圧値が所定値(電源監視回路が電源断信号を
出力する電源電圧値よりも低い値)以下になると出力を
ローレベルにする。従って、CPU56は、電源監視回
路からの電源断信号に応じて所定の電力供給停止時処理
を行った後、システムリセットされる。
A system reset circuit 65 is also shown in FIG. The reset IC 651 is
The output is set to the low level for a predetermined time determined by the capacity of the external capacitor, and the output is set to the high level when the predetermined time elapses. That is, the reset signal is raised to the high level to bring the CPU 56 into the operable state. Further, the reset IC 651 monitors the power supply voltage of VSL, which is a power supply voltage equal to the power supply voltage monitored by the power supply monitoring circuit of the power supply board 910, and has a predetermined voltage value (the power supply voltage at which the power supply monitoring circuit outputs a power-off signal). When the value is lower than the value), the output goes low. Therefore, the CPU 56 is reset in the system after performing a predetermined power supply stoppage process in response to the power-off signal from the power supply monitoring circuit.

【0105】図14に示すように、リセットIC651
からのリセット信号は、NAND回路947に入力され
るとともに、反転回路(NOT回路)944を介してカ
ウンタIC941のクリア端子に入力される。カウンタ
IC941は、クリア端子への入力がローレベルになる
と、発振器943からのクロック信号をカウントする。
そして、カウンタIC941のQ5出力がNOT回路9
45,946を介してNAND回路947に入力され
る。また、カウンタIC941のQ6出力は、フリップ
フロップ(FF)942のクロック端子に入力される。
フリップフロップ942のD入力はハイレベルに固定さ
れ、Q出力は論理和回路(OR回路)949に入力され
る。OR回路949の他方の入力には、NAND回路9
47の出力がNOT回路948を介して導入される。そ
して、OR回路949の出力が、リセット信号としてC
PU56のリセット端子に接続されている。このような
構成によれば、電源投入時に、CPU56のリセット端
子に2回のリセット信号(ローレベル信号)が与えられ
るので、CPU56は、確実に動作を開始する。
As shown in FIG. 14, the reset IC 651 is used.
The reset signal from is input to the NAND circuit 947 and also to the clear terminal of the counter IC 941 via the inverting circuit (NOT circuit) 944. The counter IC 941 counts the clock signal from the oscillator 943 when the input to the clear terminal becomes low level.
Then, the Q5 output of the counter IC 941 is the NOT circuit 9
It is input to the NAND circuit 947 via 45 and 946. The Q6 output of the counter IC 941 is input to the clock terminal of the flip-flop (FF) 942.
The D input of the flip-flop 942 is fixed to the high level, and the Q output is input to the logical sum circuit (OR circuit) 949. The NAND circuit 9 is connected to the other input of the OR circuit 949.
The output of 47 is introduced via the NOT circuit 948. The output of the OR circuit 949 is C as a reset signal.
It is connected to the reset terminal of the PU 56. With such a configuration, since the reset signal (low level signal) is applied twice to the reset terminal of the CPU 56 when the power is turned on, the CPU 56 surely starts the operation.

【0106】そして、例えば、電源基板910の電源監
視回路の検出電圧(電源断信号を出力することになる電
圧)を+22Vとし、リセット信号をローレベルにする
ための検出電圧を+9Vとする。そのように構成した場
合には、電源監視回路とシステムリセット回路65と
が、同一の電源VSLの電圧を監視するので、電圧監視回
路が電源断信号を出力するタイミングとシステムリセッ
ト回路65がシステムリセット信号を出力するタイミン
グの差を所望の所定期間に確実に設定することができ
る。所望の所定期間とは、電源監視回路からの電源断信
号に応じて電力供給停止時処理を開始してから電力供給
停止時処理が確実に完了するまでの期間である。なお、
電源監視回路とシステムリセット回路65とが監視する
電源の電圧は異なっていてもよい。
Then, for example, the detection voltage of the power supply monitoring circuit of the power supply substrate 910 (the voltage at which the power-off signal is output) is set to + 22V, and the detection voltage for setting the reset signal to the low level is set to + 9V. In such a configuration, since the power supply monitoring circuit and the system reset circuit 65 monitor the voltage of the same power supply VSL, the timing at which the voltage monitoring circuit outputs the power cutoff signal and the system reset circuit 65 resets the system. It is possible to reliably set the difference between the timings of outputting the signals in a desired predetermined period. The desired predetermined period is a period from the start of the power supply stop time process to the reliable completion of the power supply stop time process in response to the power off signal from the power supply monitoring circuit. In addition,
The voltage of the power supply monitored by the power supply monitoring circuit and the system reset circuit 65 may be different.

【0107】CPU56等の駆動電源である+5V電源
から電力が供給されていない間、RAMの少なくとも一
部は、電源基板から供給されるバックアップ電源によっ
てバックアップされ、遊技機に対する電力供給が停止し
ても内容は保存される。そして、+5V電源が復旧する
と、システムリセット回路65からリセット信号が発せ
られるので、CPU56は、通常の動作状態に復帰す
る。そのとき、必要なデータがバックアップRAMに保
存されているので、停電等からの復旧時に停電等の発生
時の遊技状態に復旧させることができる。
At least part of the RAM is backed up by the backup power supply supplied from the power supply board while the power is not supplied from the + 5V power supply which is the drive power supply of the CPU 56 and the like, and the power supply to the gaming machine is stopped. Content is saved. When the + 5V power supply is restored, a reset signal is issued from the system reset circuit 65, so that the CPU 56 returns to the normal operating state. At that time, since necessary data is stored in the backup RAM, it is possible to restore the game state at the time of occurrence of a power failure or the like at the time of recovery from the power failure or the like.

【0108】なお、図14に示す構成では、電源投入時
にCPU56のリセット端子に2回のリセット信号(ロ
ーレベルがリセットレベル)が与えられるが、リセット
信号の立ち上がりタイミングが1回しかなくても確実に
リセット解除されるCPUを使用する場合には、符号9
41〜949で示された回路素子は不要である。その場
合、リセットIC651の出力がそのままCPU56の
リセット端子に接続される。
In the structure shown in FIG. 14, the reset terminal of the CPU 56 is supplied with the reset signal twice (low level is the reset level) when the power is turned on. However, even if the reset signal rises only once, the reset signal is surely generated. When using a CPU that is released from reset, the code 9
The circuit elements indicated by 41 to 949 are unnecessary. In that case, the output of the reset IC 651 is directly connected to the reset terminal of the CPU 56.

【0109】また、リセット信号は判定回路950にも
入力されている。判定回路950は、NMI信号とリセ
ット信号を入力し、CPU56の入力ポートに対して判
定信号を出力する回路であるが、詳細については後述す
る。
The reset signal is also input to the determination circuit 950. The determination circuit 950 is a circuit that inputs the NMI signal and the reset signal and outputs the determination signal to the input port of the CPU 56, but the details will be described later.

【0110】なお、この実施の形態で用いられるCPU
56は、I/Oポート(PIO)およびタイマ/カウン
タ回路(CTC)も内蔵している。
The CPU used in this embodiment
The 56 also includes an I / O port (PIO) and a timer / counter circuit (CTC).

【0111】図15および図16は、この実施の形態に
おける出力ポートの割り当てを示す説明図である。図1
5に示すように、出力ポート0は各電気部品制御基板に
送出される制御コマンドのINT信号の出力ポートであ
る。また、払出制御基板37に送出される払出制御コマ
ンドの8ビットのデータ(払出制御信号CD0〜CD
7)は出力ポート1から出力され、図柄制御基板80に
送出される表示制御コマンドの8ビットのデータ(表示
制御信号CD0〜CD7)は出力ポート2から出力さ
れ、ランプ制御基板35に送出されるランプ制御コマン
ドの8ビットのデータ(ランプ制御信号CD0〜CD
7)は出力ポート3から出力される。そして、図16に
示すように、音制御基板70に送出される音制御コマン
ドの8ビットのデータ(音制御信号CD0〜CD7)は
出力ポート4から出力される。
15 and 16 are explanatory views showing the allocation of output ports in this embodiment. Figure 1
As shown in FIG. 5, the output port 0 is an output port of the INT signal of the control command sent to each electric component control board. In addition, 8-bit data of the payout control command sent to the payout control board 37 (payout control signals CD0 to CD
7) is output from the output port 1 and 8-bit data (display control signals CD0 to CD7) of the display control command sent to the symbol control board 80 is output from the output port 2 and sent to the lamp control board 35. 8-bit data of the lamp control command (lamp control signals CD0 to CD
7) is output from the output port 3. Then, as shown in FIG. 16, 8-bit data (sound control signals CD0 to CD7) of the sound control command sent to the sound control board 70 is output from the output port 4.

【0112】また、出力ポート5から、情報出力回路6
4を介して情報端子板34やターミナル基板160に至
る各種情報出力用信号すなわち制御に関わる情報の出力
データが出力される。そして、出力ポート6から、可変
入賞球装置15を開閉するためのソレノイド16、大入
賞口の開閉板20を開閉するためのソレノイド21、お
よび大入賞口内の経路を切り換えるためのソレノイド2
1Aに対する駆動信号が出力される。
Also, from the output port 5, the information output circuit 6
Various information output signals reaching the information terminal board 34 and the terminal board 160 via 4, that is, output data of information relating to control are output. Then, from the output port 6, a solenoid 16 for opening and closing the variable winning ball device 15, a solenoid 21 for opening and closing the opening and closing plate 20 of the special winning opening, and a solenoid 2 for switching the path inside the special winning opening.
The drive signal for 1A is output.

【0113】図15および図16に示すように、払出制
御基板37、図柄制御基板80、ランプ制御基板35お
よび音制御基板70に対して出力される各INT信号
(払出制御信号INT、表示制御信号INT、ランプ制
御信号INTおよび音制御信号INT)を出力する出力
ポート(出力ポート0)と、払出制御信号CD0〜CD
7、表示制御信号CD0〜CD7、ランプ制御信号CD
0〜CD7および音制御信号CD0〜CD7を出力する
出力ポート(出力ポート1〜4)とは、別ポートであ
る。
As shown in FIGS. 15 and 16, each INT signal (payout control signal INT, display control signal) output to the payout control board 37, the pattern control board 80, the lamp control board 35, and the sound control board 70. Output port (output port 0) for outputting INT, lamp control signal INT and sound control signal INT, and payout control signals CD0 to CD
7, display control signals CD0 to CD7, lamp control signal CD
0 to CD7 and the output ports (output ports 1 to 4) for outputting the sound control signals CD0 to CD7 are different ports.

【0114】従って、INT信号を出力する際に、誤っ
て払出制御信号CD0〜CD7、表示制御信号CD0〜
CD7、ランプ制御信号CD0〜CD7および音制御信
号CD0〜CD7を変化させてしまう可能性が低減す
る。また、払出制御信号CD0〜CD7、表示制御信号
CD0〜CD7、ランプ制御信号CD0〜CD7または
音制御信号CD0〜CD7を出力する際に、誤ってIN
T信号を変化させてしまう可能性が低減する。その結
果、主基板31の遊技制御手段から各電気部品制御基板
に対するコマンドは、より確実に送出されることにな
る。さらに、各INT信号は、全て出力ポート0から出
力されるように構成されているので、遊技制御手段のI
NT信号出力処理の負担が軽減される。
Therefore, when outputting the INT signal, the payout control signals CD0 to CD7 and the display control signals CD0 to CD0 are mistakenly output.
The possibility of changing the CD7, the lamp control signals CD0 to CD7, and the sound control signals CD0 to CD7 is reduced. Also, when the payout control signals CD0 to CD7, the display control signals CD0 to CD7, the lamp control signals CD0 to CD7, or the sound control signals CD0 to CD7 are output, the IN
The possibility of changing the T signal is reduced. As a result, the command to the electric component control board from the game control means of the main board 31 is more reliably transmitted. Further, since each INT signal is configured to be output from the output port 0, I of the game control means
The load of NT signal output processing is reduced.

【0115】図17は、この実施の形態における入力ポ
ートのビット割り当てを示す説明図である。図17に示
すように、入力ポート0のビット0〜7には、それぞ
れ、入賞口スイッチ33a,39a,29a,30a、
始動口スイッチ14a、カウントスイッチ23、V入賞
スイッチ22、ゲートスイッチ32aの検出信号が入力
される。また、入力ポート1のビット0〜4には、それ
ぞれ、賞球カウントスイッチ301A、満タンスイッチ
48、球切れスイッチ187の検出信号、カウントスイ
ッチ短絡信号およびクリアスイッチ921の検出信号が
入力される。なお、各スイッチからの検出信号は、スイ
ッチ回路58において論理反転されている。このよう
に、クリアスイッチ921の検出信号すなわち初期化操
作手段の操作入力は、遊技球を検出するためのスイッチ
の検出信号が入力される入力ポート(8ビット構成の入
力部)と同一の入力ポートにおけるビット(入力ポート
回路)に入力されている。
FIG. 17 is an explanatory diagram showing bit allocation of input ports in this embodiment. As shown in FIG. 17, bits 0 to 7 of the input port 0 have respective winning opening switches 33a, 39a, 29a, 30a, and
The detection signals of the starting port switch 14a, the count switch 23, the V winning switch 22, and the gate switch 32a are input. In addition, the detection signals of the prize ball count switch 301A, the full tank switch 48, the ball cut switch 187, the count switch short circuit signal, and the detection signal of the clear switch 921 are input to bits 0 to 4 of the input port 1, respectively. The detection signal from each switch is logically inverted in the switch circuit 58. Thus, the detection signal of the clear switch 921, that is, the operation input of the initialization operation means, is the same input port as the input port (the input unit of 8-bit configuration) to which the detection signal of the switch for detecting the game ball is input. Is input to the bit (input port circuit) in.

【0116】次に遊技機の動作について説明する。図1
8は、主基板31における遊技制御手段(CPU56お
よびROM,RAM等の周辺回路)が実行するメイン処
理を示すフローチャートである。遊技機に対して電源が
投入され、リセット端子の入力レベルがハイレベルにな
ると、CPU56は、ステップS1以降のメイン処理を
開始する。メイン処理において、CPU56は、まず、
必要な初期設定を行う。
Next, the operation of the gaming machine will be described. Figure 1
8 is a flowchart showing main processing executed by the game control means (CPU 56 and peripheral circuits such as ROM and RAM) on the main board 31. When power is turned on to the gaming machine and the input level of the reset terminal becomes high level, the CPU 56 starts the main processing after step S1. In the main processing, the CPU 56 first
Make the necessary initial settings.

【0117】初期設定処理において、CPU56は、ま
ず、割込禁止に設定する(ステップS1)。次に、割込
モードを割込モード2に設定し(ステップS2)、スタ
ックポインタにスタックポインタ指定アドレスを設定す
る(ステップS3)。そして、内蔵デバイスレジスタの
初期化を行う(ステップS4)。また、内蔵デバイス
(内蔵周辺回路)であるCTC(カウンタ/タイマ)お
よびPIO(パラレル入出力ポート)の初期化(ステッ
プS5)を行った後、RAMをアクセス可能状態に設定
する(ステップS6)。
In the initial setting process, the CPU 56 first sets the interrupt prohibition (step S1). Next, the interrupt mode is set to the interrupt mode 2 (step S2), and the stack pointer designated address is set to the stack pointer (step S3). Then, the built-in device register is initialized (step S4). After initializing the built-in device (built-in peripheral circuit) CTC (counter / timer) and PIO (parallel input / output port) (step S5), the RAM is set to the accessible state (step S6).

【0118】この実施の形態で用いられるCPU56
は、I/Oポート(PIO)およびタイマ/カウンタ回
路(CTC)も内蔵している。また、CTCは、2本の
外部クロック/タイマトリガ入力CLK/TRG2,3
と2本のタイマ出力ZC/TO0,1を備えている。
CPU 56 used in this embodiment
Also incorporates an I / O port (PIO) and a timer / counter circuit (CTC). Also, the CTC has two external clock / timer trigger inputs CLK / TRG2,3.
And two timer outputs ZC / TO0,1.

【0119】この実施の形態で用いられているCPU5
6には、マスク可能な割込のモードとして以下の3種類
のモードが用意されている。なお、マスク可能な割込が
発生すると、CPU56は、自動的に割込禁止状態に設
定するとともに、プログラムカウンタの内容をスタック
にセーブする。
CPU 5 used in this embodiment
6 has the following three types of maskable interrupt modes. When a maskable interrupt occurs, the CPU 56 automatically sets the interrupt disabled state and saves the contents of the program counter in the stack.

【0120】割込モード0:割込要求を行った内蔵デバ
イスがRST命令(1バイト)またはCALL命令(3
バイト)をCPUの内部データバス上に送出する。よっ
て、CPU56は、RST命令に対応したアドレスまた
はCALL命令で指定されるアドレスの命令を実行す
る。リセット時に、CPU56は自動的に割込モード0
になる。よって、割込モード1または割込モード2に設
定したい場合には、初期設定処理において、割込モード
1または割込モード2に設定するための処理を行う必要
がある。
Interrupt mode 0: The built-in device that issued the interrupt request has the RST instruction (1 byte) or the CALL instruction (3
Byte) on the internal data bus of the CPU. Therefore, the CPU 56 executes the instruction of the address corresponding to the RST instruction or the address specified by the CALL instruction. At reset, CPU 56 automatically sets interrupt mode 0
become. Therefore, when it is desired to set the interrupt mode 1 or the interrupt mode 2, it is necessary to perform a process for setting the interrupt mode 1 or the interrupt mode 2 in the initial setting process.

【0121】割込モード1:割込が受け付けられると、
常に0038(H)番地に飛ぶモードである。
Interrupt mode 1: When an interrupt is accepted,
It is a mode which always flies to the address 0038 (H).

【0122】割込モード2:CPU56の特定レジスタ
(Iレジスタ)の値(1バイト)と内蔵デバイスが出力
する割込ベクタ(1バイト:最下位ビット0)から合成
されるアドレスが、割込番地を示すモードである。すな
わち、割込番地は、上位アドレスが特定レジスタの値と
され下位アドレスが割込ベクタとされた2バイトで示さ
れるアドレスである。従って、任意の(飛び飛びではあ
るが)偶数番地に割込処理を設置することができる。各
内蔵デバイスは割込要求を行うときに割込ベクタを送出
する機能を有している。
Interrupt mode 2: The address synthesized from the value (1 byte) of the specific register (I register) of the CPU 56 and the interrupt vector (1 byte: least significant bit 0) output by the built-in device is the interrupt address. Is a mode indicating. That is, the interrupt address is an address indicated by 2 bytes in which the upper address is the value of the specific register and the lower address is the interrupt vector. Therefore, the interrupt processing can be installed at an arbitrary (although discrete) even address. Each built-in device has a function of transmitting an interrupt vector when making an interrupt request.

【0123】よって、割込モード2に設定されると、各
内蔵デバイスからの割込要求を容易に処理することが可
能になり、また、プログラムにおける任意の位置に割込
処理を設置することが可能になる。さらに、割込モード
1とは異なり、割込発生要因毎のそれぞれの割込処理を
用意しておくことも容易である。上述したように、この
実施の形態では、初期設定処理のステップS2におい
て、CPU56は割込モード2に設定される。
Therefore, when the interrupt mode 2 is set, it becomes possible to easily process the interrupt request from each built-in device, and the interrupt processing can be installed at an arbitrary position in the program. It will be possible. Further, unlike the interrupt mode 1, it is easy to prepare each interrupt process for each interrupt generation factor. As described above, in this embodiment, the CPU 56 is set to the interrupt mode 2 in step S2 of the initial setting process.

【0124】次いで、CPU56は、入力ポート1を介
して入力されるクリアスイッチ921の出力信号の状態
を1回だけ確認する(ステップS7)。その確認におい
てオンを検出した場合には、CPU56は、通常の初期
化処理を実行する(ステップS11〜ステップS1
5)。クリアスイッチ921がオンである場合(押下さ
れている場合)には、ローレベルのクリアスイッチ信号
が出力されている。なお、入力ポート1では、クリアス
イッチ信号のオン状態はハイレベルである(図15参
照)。また、例えば、遊技店員は、クリアスイッチ92
1をオン状態にしながら遊技機に対する電力供給を開始
することによって、容易に初期化処理を実行させること
ができる。すなわち、RAMクリア等を行うことができ
る。
Next, the CPU 56 confirms the state of the output signal of the clear switch 921 input via the input port 1 only once (step S7). If ON is detected in the confirmation, the CPU 56 executes normal initialization processing (steps S11 to S1).
5). When the clear switch 921 is on (when pressed), a low level clear switch signal is output. In the input port 1, the clear switch signal is on at a high level (see FIG. 15). Further, for example, the game shop clerk uses the clear switch 92.
By starting power supply to the gaming machine while turning 1 on, the initialization process can be easily executed. That is, the RAM clear or the like can be performed.

【0125】クリアスイッチ921がオンの状態でない
場合には、遊技機への電力供給が停止したときにバック
アップRAM領域のデータ保護処理(例えばパリティデ
ータの付加等の電力供給停止時処理)が行われたか否か
確認する(ステップS8)。この実施の形態では、電力
供給の停止が生じた場合には、バックアップRAM領域
のデータを保護するための処理が行われている。そのよ
うな保護処理が行われていた場合をバックアップありと
する。そのような保護処理が行われていないことを確認
したら、CPU56は初期化処理を実行する。
If the clear switch 921 is not in the ON state, the data protection processing of the backup RAM area (for example, processing when power supply is stopped such as addition of parity data) is performed when power supply to the gaming machine is stopped. It is confirmed whether or not (step S8). In this embodiment, when the power supply is stopped, a process for protecting the data in the backup RAM area is performed. When such a protection process is performed, backup is made. When it is confirmed that such protection processing is not performed, the CPU 56 executes initialization processing.

【0126】この実施の形態では、バックアップRAM
領域にバックアップデータがあるか否かは、電力供給停
止時処理においてバックアップRAM領域に設定される
バックアップフラグの状態によって確認される。この例
では、図19に示すように、バックアップフラグ領域に
「55(H)」が設定されていればバックアップあり
(オン状態)を意味し、「55(H)」以外の値が設定
されていればバックアップなし(オフ状態)を意味す
る。
In this embodiment, the backup RAM
Whether or not there is backup data in the area is confirmed by the state of the backup flag set in the backup RAM area during the power supply stop process. In this example, as shown in FIG. 19, if "55 (H)" is set in the backup flag area, it means that backup is in progress (ON state), and a value other than "55 (H)" is set. If so, it means no backup (off state).

【0127】バックアップありを確認したら、CPU5
6は、バックアップRAM領域のデータチェック(この
例ではパリティチェック)を行う(ステップS9)。こ
の実施の形態では、クリアデータ(00)をチェックサ
ムデータエリアにセットし、チェックサム算出開始アド
レスをポインタにセットする。また、チェックサムの対
象となるデータ数に対応するチェックサム算出回数をセ
ットする。そして、チェックサムデータエリアの内容と
ポインタが指すRAM領域の内容との排他的論理和を演
算する。演算結果をチェックサムデータエリアにストア
するとともに、ポインタの値を1増やし、チェックサム
算出回数の値を1減算する。以上の処理が、チェックサ
ム算出回数の値が0になるまで繰り返される。チェック
サム算出回数の値が0になったら、CPU56は、チェ
ックサムデータエリアの内容の各ビットの値を反転し、
反転後のデータをチェックサムとする。
After confirming that there is a backup, the CPU 5
6 performs a data check of the backup RAM area (parity check in this example) (step S9). In this embodiment, clear data (00) is set in the checksum data area, and the checksum calculation start address is set in the pointer. Further, the number of checksum calculations corresponding to the number of checksum target data is set. Then, the exclusive OR of the contents of the checksum data area and the contents of the RAM area indicated by the pointer is calculated. The calculation result is stored in the checksum data area, the pointer value is incremented by 1, and the checksum calculation count value is decremented by 1. The above process is repeated until the value of the checksum calculation count becomes zero. When the value of the checksum calculation count becomes 0, the CPU 56 inverts the value of each bit of the contents of the checksum data area,
The data after inversion is used as the checksum.

【0128】電力供給停止時処理において、上記の処理
と同様の処理によってチェックサムが算出され、チェッ
クサムはバックアップRAM領域に保存されている。ス
テップS9では、算出したチェックサムと保存されてい
るチェックサムとを比較する。不測の停電等の電力供給
停止が生じた後に復旧した場合には、バックアップRA
M領域のデータは保存されているはずであるから、チェ
ック結果(比較結果)は正常(一致)になる。チェック
結果が正常でないということは、バックアップRAM領
域のデータが、電力供給停止時のデータとは異なってい
ることを意味する。そのような場合には、内部状態を電
力供給停止時の状態に戻すことができないので、電力供
給の停止からの復旧時でない電源投入時に実行される初
期化処理を実行する。
In the power supply stop process, the checksum is calculated by the same process as the above process, and the checksum is stored in the backup RAM area. In step S9, the calculated checksum is compared with the stored checksum. If the power is restored after an unexpected power outage such as a power outage, backup RA
Since the data in the M area should have been saved, the check result (comparison result) becomes normal (match). If the check result is not normal, it means that the data in the backup RAM area is different from the data when the power supply was stopped. In such a case, since the internal state cannot be returned to the state when the power supply was stopped, the initialization process that is executed when the power is turned on, not when the power supply is restored from the stop, is executed.

【0129】チェック結果が正常であれば、CPU56
は、遊技制御手段の内部状態と表示制御手段等の電気部
品制御手段の制御状態を電力供給停止時の状態に戻すた
めの遊技状態復旧処理を行う(ステップS10)。そし
て、バックアップRAM領域に保存されていたPC(プ
ログラムカウンタ)の退避値がPCに設定され、そのア
ドレスに復帰する。
If the check result is normal, the CPU 56
Performs a game state recovery process for returning the internal state of the game control means and the control state of the electric component control means such as the display control means to the state when the power supply was stopped (step S10). Then, the saved value of the PC (program counter) saved in the backup RAM area is set in the PC and the address is restored.

【0130】このように、バックアップフラグとチェッ
クサム等のチェックデータとを用いてバックアップRA
M領域のデータが保存されているか否かを確認すること
によって、遊技状態を電力供給停止時の状態に正確に戻
すことができる。すなわち、バックアップRAM領域の
データにもとづく状態復旧処理の確実性が向上する。な
お、この実施の形態では、バックアップフラグとチェッ
クデータとの双方を用いてバックアップRAM領域のデ
ータが保存されているか否かを確認しているが、いずれ
か一方のみを用いてもよい。すなわち、バックアップフ
ラグとチェックデータとのいずれかを、状態復旧処理を
実行するための契機としてもよい。
As described above, the backup RA is backed up using the backup flag and the check data such as the checksum.
By checking whether or not the data in the M area is saved, it is possible to accurately return the game state to the state when the power supply was stopped. That is, the certainty of the state restoration process based on the data in the backup RAM area is improved. In this embodiment, it is confirmed whether or not the data in the backup RAM area is stored by using both the backup flag and the check data, but only one of them may be used. That is, either the backup flag or the check data may be used as a trigger for executing the state restoration process.

【0131】初期化処理では、CPU56は、まず、R
AMクリア処理を行う(ステップS11)。また、所定
の作業領域(例えば、普通図柄判定用乱数カウンタ、普
通図柄判定用バッファ、特別図柄左中右図柄バッファ、
特別図柄プロセスフラグ、払出コマンド格納ポインタ、
賞球中フラグ、球切れフラグ、払出停止フラグなど制御
状態に応じて選択的に処理を行うためのフラグ)に初期
値を設定する作業領域設定処理を行う(ステップS1
2)。さらに、球払出装置97からの払出が可能である
ことを指示する払出許可状態指定コマンド(以下、払出
可能状態指定コマンドという。)を払出制御基板37に
対して送信する処理を行う(ステップS13)。また、
他のサブ基板(ランプ制御基板35、音制御基板70、
図柄制御基板80)を初期化するための初期化コマンド
を各サブ基板に送信する処理を実行する(ステップS1
4)。初期化コマンドとして、可変表示装置9に表示さ
れる初期図柄を示すコマンド(図柄制御基板80に対し
て)や賞球ランプ51および球切れランプ52の消灯を
指示するコマンド(ランプ制御基板35に対して)等が
ある。
In the initialization process, the CPU 56 first executes R
AM clear processing is performed (step S11). Further, a predetermined work area (for example, a random number counter for normal symbol determination, a normal symbol determination buffer, a special symbol left middle right symbol buffer,
Special symbol process flag, payout command storage pointer,
Work area setting processing for setting an initial value to a prize ball flag, out-of-ball flag, payout stop flag, or other flag for selectively performing processing according to the control state is performed (step S1).
2). Further, a process of transmitting a payout permission state designation command (hereinafter, referred to as a payable state designation command) for instructing that the ball can be paid out from the ball payout device 97 to the payout control board 37 (step S13). . Also,
Other sub-boards (lamp control board 35, sound control board 70,
A process of transmitting an initialization command for initializing the pattern control board 80) to each sub-board is executed (step S1).
4). As an initialization command, a command indicating the initial symbol displayed on the variable display device 9 (for the symbol control board 80) and a command for instructing to turn off the prize ball lamp 51 and the ball out lamp 52 (for the lamp control board 35) Etc.)

【0132】初期化処理では、払出制御基板37に対し
て常に払出可能状態指定コマンドが送信される。仮に、
遊技機の状態が球払出装置97からの払出が可能でない
状態であったとしても、直後に実行される遊技制御処理
において、その旨が検出され、払出が可能でない状態で
あることを指示する払出禁止状態指定コマンド(以下、
払出停止状態指定コマンドという。)が送信されるので
問題はない。
In the initialization process, the payable state designating command is always transmitted to the payout control board 37. what if,
Even if the state of the gaming machine is a state in which the payout from the ball payout device 97 is not possible, the fact is detected in the game control process executed immediately after that, and a payout instructing that the payout is not possible is issued. Command for specifying prohibited state (hereinafter,
It is called a payout stop state designation command. ) Is sent, so there is no problem.

【0133】そして、2ms毎に定期的にタイマ割込が
かかるようにCPU56に設けられているCTCのレジ
スタの設定が行われる(ステップS15)。すなわち、
初期値として2msに相当する値が所定のレジスタ(時
間定数レジスタ)に設定される。
Then, the register of the CTC provided in the CPU 56 is set so that the timer is interrupted periodically every 2 ms (step S15). That is,
A value corresponding to 2 ms as an initial value is set in a predetermined register (time constant register).

【0134】以上のように、この実施の形態では、CP
U56がクリアスイッチ921がオンであることを検出
した場合には、バックアップRAMにデータが保存され
ているか否かに関わらず初期化処理(ステップS11〜
S15)が実行されるので、遊技店の側で強制的に遊技
制御手段を初期化することができる。すなわち、ソフト
ウェア的に遊技制御手段の初期化が実現される。また、
クリアスイッチ921がオンでなくても、バックアップ
フラグとチェックサム等のチェックデータとを用いてソ
フトウェア的に遊技制御手段の初期化を行うことができ
るので、電力供給が復旧したときに、誤った遊技状態が
復元されてしまうことが防止される。
As described above, in this embodiment, the CP
When U56 detects that the clear switch 921 is on, the initialization process (steps S11 to S11) is performed regardless of whether data is stored in the backup RAM.
Since S15) is executed, the game control means can be forcibly initialized on the game shop side. That is, the initialization of the game control means is realized by software. Also,
Even if the clear switch 921 is not on, the game control means can be initialized by software using the backup flag and the check data such as the checksum. Therefore, when the power supply is restored, the wrong game is played. It is prevented that the state is restored.

【0135】また、クリアスイッチ921がオンである
ことを検出しない場合に、バックアップRAMにデータ
が正しく保存されていないことを確認したら、CPU5
6は、初期化処理(ステップS11〜S15)を実行す
る。従って、CPU56は、初期化操作手段に対する操
作がなされなくても、所定の初期化条件が成立した場合
には(この例では、ステップS8またはS9で
「N」)、変動データ記憶手段の記憶内容を初期化す
る。
When it is not detected that the clear switch 921 is on, if it is confirmed that the data is not correctly stored in the backup RAM, the CPU 5
6 executes initialization processing (steps S11 to S15). Therefore, the CPU 56 stores the contents stored in the fluctuation data storage means when the predetermined initialization condition is satisfied even if the initialization operation means is not operated (“N” in step S8 or S9 in this example). To initialize.

【0136】初期化処理の実行(ステップS11〜S1
5)が完了すると、メイン処理で、表示用乱数更新処理
(ステップS17)および初期値用乱数更新処理(ステ
ップS18)が繰り返し実行される。表示用乱数更新処
理および初期値用乱数更新処理が実行されるときには割
込禁止状態とされ(ステップS16)、表示用乱数更新
処理および初期値用乱数更新処理の実行が終了すると割
込許可状態とされる(ステップS19)。表示用乱数と
は、可変表示装置9に表示される図柄を決定するための
乱数であり、表示用乱数更新処理とは、表示用乱数を発
生するためのカウンタのカウント値を更新する処理であ
る。また、初期値用乱数更新処理とは、初期値用乱数を
発生するためのカウンタのカウント値を更新する処理で
ある。初期値用乱数とは、大当りとするか否かを決定す
るための乱数を発生するためのカウンタ(大当り決定用
乱数発生カウンタ)等のカウント値の初期値を決定する
ための乱数である。後述する遊技制御処理において、大
当り決定用乱数発生カウンタのカウント値が1周する
と、そのカウンタに初期値が設定される。
Execution of initialization processing (steps S11 to S1)
When 5) is completed, the display random number updating process (step S17) and the initial value random number updating process (step S18) are repeatedly executed in the main process. When the display random number updating process and the initial value random number updating process are executed, the interrupt disabled state is set (step S16), and when the display random number updating process and the initial value random number updating process are completed, the interrupt enabled state is set. (Step S19). The display random number is a random number for determining the symbol displayed on the variable display device 9, and the display random number updating process is a process of updating the count value of the counter for generating the display random number. . The initial value random number updating process is a process of updating the count value of the counter for generating the initial value random numbers. The initial value random number is a random number for determining an initial value of a count value of a counter (big hit determination random number generation counter) for generating a random number for determining whether or not to make a big hit. In the game control process described later, when the count value of the big hit determination random number generation counter makes one round, the initial value is set to the counter.

【0137】なお、表示用乱数更新処理が実行されると
きには割込禁止状態とされるのは、表示用乱数更新処理
が後述するタイマ割込処理でも実行されることから、タ
イマ割込処理における処理と競合してしまうのを避ける
ためである。すなわち、ステップS17の処理中にタイ
マ割込が発生してタイマ割込処理中で表示用乱数を発生
するためのカウンタのカウント値を更新してしまったの
では、カウント値の連続性が損なわれる場合がある。し
かし、ステップS17の処理中では割込禁止状態にして
おけば、そのような不都合が生ずることはない。
The interrupt-prohibited state is set when the display random number updating process is executed, because the display random number updating process is also executed in the timer interrupt process described later. This is to avoid competing with. That is, if a timer interrupt occurs during the process of step S17 and the count value of the counter for generating the display random number is updated during the timer interrupt process, the continuity of the count value is lost. There are cases. However, such an inconvenience does not occur if the interrupt prohibition state is set during the process of step S17.

【0138】図20は、遊技状態復旧処理の一例を示す
フローチャートである。遊技状態復旧処理において、C
PU56は、まず、スタックポインタの復帰処理を行う
(ステップS81)。スタックポインタの値は、後で詳
述する電力供給停止時処理において、所定のRAMエリ
ア(電源バックアップされている)に退避している。よ
って、ステップS81では、そのRAMエリアの値をス
タックポインタに設定することによって復帰させる。な
お、復帰されたスタックポインタが指す領域(すなわち
スタック領域)には、電力供給が停止したときのレジス
タ値やプログラムカウンタ(PC)の値が退避してい
る。
FIG. 20 is a flow chart showing an example of the game state recovery processing. In the game state recovery process, C
The PU 56 first performs a stack pointer restoration process (step S81). The value of the stack pointer is saved in a predetermined RAM area (power source is backed up) in a power supply stoppage process which will be described later in detail. Therefore, in step S81, the value of the RAM area is set in the stack pointer to restore the value. In the area pointed to by the restored stack pointer (that is, the stack area), the register value and the value of the program counter (PC) when the power supply is stopped are saved.

【0139】次いで、CPU56は、払出停止状態であ
ったか否か確認する(ステップS82)。払出停止状態
であったか否かは、電源バックアップされているRAM
エリアに保存されている所定の作業領域(例えば、普通
図柄判定用乱数カウンタ、普通図柄判定用バッファ、特
別図柄左中右図柄バッファ、特別図柄プロセスフラグ、
払出コマンド格納ポインタ、賞球中フラグ、球切れフラ
グ、払出停止フラグなど)における払出状態データとし
ての払出停止フラグによって確認される。払出停止状態
であった場合には、払出制御基板37に搭載されている
払出制御手段に対して、払出の停止を指示する払出制御
コマンド(払出停止状態指定コマンド)を送信する(ス
テップS83)。払出停止状態でなかった場合には、払
出制御手段に対して払出が可能であることを指示する払
出制御コマンド(払出可能状態指定コマンド)を送信す
る(ステップS84)。
Next, the CPU 56 confirms whether or not the payout is stopped (step S82). Whether or not the payout has been stopped is determined by the RAM whose power is backed up.
Predetermined work area stored in the area (for example, random symbol for normal symbol determination, normal symbol determination buffer, special symbol left middle right symbol buffer, special symbol process flag,
The payout stop flag as the payout state data in the payout command storage pointer, the award ball flag, the out-of-ball flag, the payout stop flag, etc.) is confirmed. When it is in the payout stop state, a payout control command (payout stop state designation command) for instructing the stop of payout is transmitted to the payout control means mounted on the payout control board 37 (step S83). If the payout is not stopped, the payout control unit sends a payout control command (payable state designation command) to the payout control means (step S84).

【0140】補給球の不足や余剰球受皿4の満タンにつ
いて払出制御手段は認識できないので、遊技制御手段か
ら通知しないと、停電等からの復旧時に、補給球の不足
や余剰球受皿4の満タンであるにもかかわらず遊技球の
払出処理を開始してしまうおそれがある。しかし、この
実施の形態では、遊技状態復旧処理において、払出の停
止を指示する払出制御コマンドまたは払出が可能である
こと指示する払出制御コマンドが送信されるので、払出
制御手段が、補給球の不足や余剰球受皿4の満タンであ
るにもかかわらず遊技球の払出処理を開始してしまうこ
とはない。
Since the payout control means cannot recognize the shortage of the supply balls and the full capacity of the surplus ball receiving tray 4, the game control means must notify the shortage of the supply ball or the surplus ball receiving tray 4 when the power is restored. There is a risk that the game ball payout process will be started despite the fact that it is a ton. However, in this embodiment, in the game state recovery process, since the payout control command for instructing the stop of the payout or the payout control command for instructing that the payout is possible, the payout control means causes the shortage of the supply balls. And even if the surplus ball receiving tray 4 is full, the game ball payout process is never started.

【0141】なお、ここでは、遊技媒体の払い出しが可
能であるか否かを判定する払出状態判定手段(遊技制御
手段の一部)が払出可能でないことを検出したら、原因
の如何に関わらず、1種類の払出停止状態指定コマンド
が送信されるようにしたが、原因別のコマンド(この例
では、補給球の不足を示すコマンドと下皿満タンを示す
コマンド)に分けて送信してもよい。さらに、遊技球の
払出が可能でない場合に、遊技の継続を禁止するために
遊技球の発射を禁止することを指示するコマンドを払出
制御基板37に対して送信してもよい。払出制御基板3
7に搭載された払出制御手段は、遊技球の発射を禁止す
ることを指示するコマンドを受信したら、打球発射装置
の駆動を停止する。また、遊技球の払出が可能でない場
合に、遊技制御手段が発射制御手段に対して、直接、遊
技球の発射を禁止することを指示する信号を与えてもよ
い。また、払出制御手段は、払出停止状態指定コマンド
を受信した場合に、打球発射装置の駆動を停止するよう
にしてもよい。
Here, if the payout state determination means (a part of the game control means) for determining whether or not the game medium can be paid out detects that the payout is not possible, regardless of the cause. Although one type of payout stop state designation command is transmitted, it may be transmitted separately for each cause-specific command (in this example, a command indicating a shortage of replenishing balls and a command indicating bottom plate full). . Furthermore, when the payout of the game ball is not possible, a command instructing to prohibit the launch of the game ball to prohibit the continuation of the game may be transmitted to the payout control board 37. Discharge control board 3
When the payout control means mounted in 7 receives a command instructing to prohibit the launch of a game ball, it stops driving the hitting ball launching device. Further, when the payout of the game ball is not possible, the game control means may directly give the launch control means a signal instructing to prohibit the launch of the game ball. Further, the payout control means may stop the driving of the hitting ball launching device when the payout stop state designation command is received.

【0142】次いで、CPU56は、電力供給が停止し
たときに可変表示装置9において特別図柄変動中であっ
たか否か確認する(ステップS85)。電力供給が停止
したときに特別図柄変動中であったか否かは、例えば電
源バックアップされているRAMエリアに格納されてい
る特別図柄プロセスフラグの値等によって確認すること
ができる。特別図柄変動中であった場合には、図柄制御
基板80に搭載されている表示制御手段に対して、特別
図柄停電復旧コマンドおよび左右中の図柄を指定する表
示制御コマンドを送信する(ステップS86,S8
7)。ここで、表示制御コマンドで指定される左右中の
図柄は、電力供給が停止したときに行われていた特別図
柄変動で停止表示されるはずであった図柄である。
Next, the CPU 56 confirms whether or not the special symbol is being changed in the variable display device 9 when the power supply is stopped (step S85). Whether or not the special symbol is changing when the power supply is stopped can be confirmed by, for example, the value of the special symbol process flag stored in the RAM area where the power is backed up. If the special symbol is changing, to the display control means mounted on the symbol control board 80, a special symbol power failure recovery command and a display control command designating the symbol in the left and right are transmitted (step S86, S8
7). Here, the symbols in the left and right designated by the display control command are the symbols that should have been stopped and displayed due to the special symbol fluctuation that was performed when the power supply was stopped.

【0143】表示制御手段は、特別図柄停電復旧コマン
ドを受信すると、所定の報知処理を行う。例えば、可変
表示装置9に停電が生じた旨の表示を行う。電源バック
アップされていた各種情報にもとづいて、遊技状態が電
力供給停止前の状態に戻るのであるが、その後、特別図
柄の変動期間が終了すると、遊技制御手段は表示制御手
段に対して確定コマンドを送信する。表示制御手段は、
確定コマンドを受信したことにもとづいて、次の特別図
柄の変動を行える状態になる。
Upon receipt of the special symbol power failure recovery command, the display control means performs a predetermined notification process. For example, the variable display device 9 displays that a power failure has occurred. Based on various information that was backed up power supply, the game state returns to the state before the power supply was stopped, but after that, when the fluctuation period of the special symbol ends, the game control means sends a confirmation command to the display control means. Send. The display control means is
Based on the receipt of the confirmation command, the next special symbol can be changed.

【0144】特別図柄変動中でなかった場合には、CP
U56は、表示制御手段に対して、左右中の図柄を指定
する表示制御コマンド、確定コマンドおよび客待ちデモ
コマンドを送信する処理を行う(ステップS88〜S9
0)。表示制御コマンドで指定される左右中の図柄は、
電力供給が停止したときに可変表示装置9において表示
されていた図柄である。
If the special symbol is not changing, CP
U56 performs a process of transmitting a display control command designating a symbol in the left and right, a confirmation command, and a customer waiting demo command to the display control means (steps S88 to S9).
0). The symbols in the left and right specified by the display control command are
It is the symbol displayed on the variable display device 9 when the power supply is stopped.

【0145】表示制御手段は、確定コマンドを受信する
と、左右中の図柄を指定する表示制御コマンドで指定さ
れた特別図柄を可変表示装置9に表示させる制御を行
う。また、客待ちデモコマンドを受信すると、可変表示
装置9の背景等の表示状態を待機状態の表示状態にする
制御を行う。
When the confirmation command is received, the display control means controls the variable display device 9 to display the special symbol designated by the display control command for designating the symbols in the left and right. Further, when the customer waiting demo command is received, the display state of the background of the variable display device 9 is controlled to the standby state.

【0146】その後、CPU56は、バックアップフラ
グをクリアする(ステップS91)すなわち、前回の電
力供給停止時に所定の記憶保護処理が実行されたことを
示すフラグをリセットする。また、スタック領域から各
種レジスタの退避値を読み出して、各種レジスタに設定
する(ステップS92)。すなわち、レジスタ復元処理
を行う。そして、パリティフラグがオンしていない場合
には割込許可状態にする(ステップS93,S94)。
最後に、AFレジスタ(アキュミュレータとフラグのレ
ジスタ)をスタック領域から復元する(ステップS9
5)。
After that, the CPU 56 clears the backup flag (step S91), that is, resets the flag indicating that a predetermined storage protection process has been executed at the previous power supply stop. Further, the saved values of various registers are read from the stack area and set in various registers (step S92). That is, register restoration processing is performed. Then, when the parity flag is not turned on, the interrupt permission state is set (steps S93 and S94).
Finally, the AF register (accumulator and flag register) is restored from the stack area (step S9).
5).

【0147】そして、RET命令が実行されるのである
が、ここでのリターン先は、遊技状態復旧処理をコール
した部分ではない。なぜなら、ステップS81において
スタックポインタの復帰処理がなされ、復帰されたスタ
ックポインタが指すスタック領域に格納されているリタ
ーンアドレスは、プログラムにおける前回の電力供給停
止時にNMIが発生したアドレスである。従って、ステ
ップS95の次のRET命令によって、電力供給停止時
にNMIが発生したアドレスにリターンする。すなわ
ち、スタック領域に退避されていたアドレスにもとづい
て復旧制御が実行されている。
Then, the RET command is executed, but the return destination here is not the part that called the game state recovery processing. This is because the stack pointer restoration process is performed in step S81, and the return address stored in the stack area pointed to by the restored stack pointer is the address at which the NMI occurred when the power supply was previously stopped in the program. Therefore, the next RET instruction in step S95 returns to the address where the NMI occurred when the power supply was stopped. That is, the recovery control is executed based on the address saved in the stack area.

【0148】タイマ割込が発生すると、CPU56は、
レジスタの退避処理(ステップS20)を行った後、図
21に示すステップS21〜S32の遊技制御処理を実
行する。遊技制御処理において、CPU56は、まず、
スイッチ回路58を介して、ゲートスイッチ32a、始
動口スイッチ14a、カウントスイッチ23および入賞
口スイッチ29a,30a,33a,39a等のスイッ
チの検出信号を入力し、それらの状態判定を行う(スイ
ッチ処理:ステップS21)。
When a timer interrupt occurs, the CPU 56
After performing the register save process (step S20), the game control process of steps S21 to S32 shown in FIG. 21 is executed. In the game control process, the CPU 56 first
Via the switch circuit 58, the detection signals of the switches such as the gate switch 32a, the starting opening switch 14a, the count switch 23, and the winning opening switches 29a, 30a, 33a, 39a are input to determine their states (switch processing: Step S21).

【0149】次いで、パチンコ遊技機1の内部に備えら
れている自己診断機能によって種々の異常診断処理が行
われ、その結果に応じて必要ならば警報が発せられる
(エラー処理:ステップS22)。
Next, various abnormality diagnosis processing is performed by the self-diagnosis function provided inside the pachinko gaming machine 1, and an alarm is issued if necessary according to the result (error processing: step S22).

【0150】次に、遊技制御に用いられる大当り判定用
の乱数等の各判定用乱数を生成するための各カウンタの
カウント値を更新する処理を行う(ステップS23)。
CPU56は、さらに、表示用乱数を生成するためのカ
ウンタのカウント値を更新する処理を行い(ステップS
24)、さらに、初期値用乱数を生成するためのカウン
タのカウント値を更新する処理を行う(ステップS2
5)。
Next, a process of updating the count value of each counter for generating each judgment random number such as a big hit judgment random number used for game control is performed (step S23).
The CPU 56 further performs a process of updating the count value of the counter for generating the display random number (step S
24) Further, a process of updating the count value of the counter for generating the initial value random number is performed (step S2).
5).

【0151】さらに、CPU56は、特別図柄プロセス
処理を行う(ステップS26)。特別図柄プロセス制御
では、遊技状態に応じてパチンコ遊技機1を所定の順序
で制御するための特別図柄プロセスフラグに従って該当
する処理が選び出されて実行される。そして、特別図柄
プロセスフラグの値は、遊技状態に応じて各処理中に更
新される。また、普通図柄プロセス処理を行う(ステッ
プS27)。普通図柄プロセス処理では、普通図柄表示
器10の表示状態を所定の順序で制御するための普通図
柄プロセスフラグに従って該当する処理が選び出されて
実行される。そして、普通図柄プロセスフラグの値は、
遊技状態に応じて各処理中に更新される。
Further, the CPU 56 carries out special symbol process processing (step S26). In the special symbol process control, the corresponding process is selected and executed according to the special symbol process flag for controlling the pachinko gaming machine 1 in a predetermined order according to the gaming state. Then, the value of the special symbol process flag is updated during each process according to the game state. Also, a normal symbol process process is performed (step S27). In the normal symbol process process, the corresponding process is selected and executed according to the normal symbol process flag for controlling the display state of the normal symbol display device 10 in a predetermined order. And the value of the normal symbol process flag,
It is updated during each process according to the game state.

【0152】次いで、CPU56は、表示制御コマンド
等を送信する処理を行う(コマンド制御処理:ステップ
S28)。なお、コマンド制御処理は、特別図柄プロセ
ス処理や普通図柄プロセス処理において実行されるよう
に構成してもよい。
Next, the CPU 56 performs a process of transmitting a display control command or the like (command control process: step S28). The command control process may be configured to be executed in a special symbol process process or a normal symbol process process.

【0153】さらに、CPU56は、例えばホール管理
用コンピュータに供給される大当り情報、始動情報、確
率変動情報などのデータを出力する情報出力処理を行う
(ステップS30)。
Further, the CPU 56 performs an information output process for outputting data such as big hit information, starting information, probability variation information, etc. supplied to the hall management computer (step S30).

【0154】また、CPU56は、所定の条件が成立し
たときにソレノイド回路59に駆動指令を行う(ステッ
プS31)。可変入賞球装置15または開閉板20を開
状態または閉状態としたり、大入賞口内の遊技球通路を
切り替えたりするために、ソレノイド回路59は、駆動
指令に応じてソレノイド16,21,21Aを駆動す
る。
Further, the CPU 56 issues a drive command to the solenoid circuit 59 when a predetermined condition is satisfied (step S31). In order to open or close the variable winning ball device 15 or the opening / closing plate 20 or to switch the game ball passage in the special winning opening, the solenoid circuit 59 drives the solenoids 16, 21, 21A according to the drive command. To do.

【0155】そして、CPU56は、始動口スイッチ1
4a、入賞口スイッチ29a,30a,33a,39a
およびカウントスイッチ23の検出信号にもとづく賞球
個数の設定などを行う賞球処理を実行する(ステップS
32)。具体的には、始動口スイッチ14a、入賞口ス
イッチ29a,30a,33a,39aおよびカウント
スイッチ23がオンしたことにもとづく入賞検出に応じ
て、払出制御基板37に賞球個数を示す払出制御コマン
ドを出力する。払出制御基板37に搭載されている払出
制御用CPU371は、賞球個数を示す払出制御コマン
ドに応じて球払出装置97を駆動する。その後、レジス
タの内容を復帰させ(ステップS33)、割込許可状態
に設定する(ステップS34)。
Then, the CPU 56 causes the starting opening switch 1
4a, winning opening switch 29a, 30a, 33a, 39a
And prize ball processing for setting the number of prize balls based on the detection signal of the count switch 23 (step S).
32). Specifically, a payout control command indicating the number of prize balls is sent to the payout control board 37 in response to the winning detection based on that the starting opening switch 14a, the winning opening switches 29a, 30a, 33a, 39a and the count switch 23 are turned on. Output. The payout control CPU 371 mounted on the payout control board 37 drives the ball payout device 97 in response to a payout control command indicating the number of prize balls. After that, the contents of the register are restored (step S33), and the interrupt enabled state is set (step S34).

【0156】以上の制御によって、この実施の形態で
は、遊技制御処理は2ms毎に起動されることになる。
なお、この実施の形態では、タイマ割込処理で遊技制御
処理が実行されているが、タイマ割込処理では例えば割
込が発生したことを示すフラグのセットのみがなされ、
遊技制御処理はメイン処理において実行されるようにし
てもよい。
According to the above control, in this embodiment, the game control process is activated every 2 ms.
In this embodiment, the game control process is executed in the timer interrupt process, but in the timer interrupt process, for example, only a flag indicating that an interrupt has occurred is set,
The game control process may be executed in the main process.

【0157】図22は、CPU56が実行する特別図柄
プロセス処理のプログラムの一例を示すフローチャート
である。図22に示す特別図柄プロセス処理は、図21
のフローチャートにおけるステップS26の具体的な処
理である。CPU56は、特別図柄プロセス処理を行う
際に、変動短縮タイマ減算処理(ステップS310)お
よび始動口スイッチ通過確認処理(ステップS311)
を行った後に、内部状態(この例では特別図柄プロセス
フラグ)に応じて、ステップS300〜S309のうち
のいずれかの処理を行う。
FIG. 22 is a flow chart showing an example of a special symbol process processing program executed by the CPU 56. The special symbol process process shown in FIG. 22 is shown in FIG.
This is a specific process of step S26 in the flowchart of FIG. CPU56, when performing the special symbol process processing, fluctuation reduction timer subtraction processing (step S310) and starting opening switch passage confirmation processing (step S311)
After performing, the processing of any of steps S300 to S309 is performed according to the internal state (special symbol process flag in this example).

【0158】変動短縮タイマ減算処理は、始動記憶(始
動口スイッチ14aがオンしたことの記憶)の記憶可能
最大数に対応した個数設けられている変動短縮タイマを
減算する処理である。そして、後述する特別図柄大当り
判定処理(ステップS301)において、例えば、変動
短縮タイマの値が0になっていて、かつ、低確率状態
(通常状態)では始動記憶数が始動記憶の最大値、確変
状態では始動記憶数が「2」以上であれば、図柄の変動
パターンとして変動時間が短縮されたパターンを用いる
ことに決定される。また、始動口スイッチ通過確認処理
は、始動口スイッチ14aがオンしたときに所定の各乱
数値を取得して記憶する処理である。
The fluctuation shortening timer subtraction processing is a processing of subtracting the fluctuation shortening timers provided in the number corresponding to the maximum storable number in the starting memory (memory that the starting port switch 14a is turned on). Then, in a special symbol big hit determination process (step S301) described later, for example, the value of the fluctuation reduction timer is 0, and in a low probability state (normal state), the starting memory number is the maximum value of the starting memory, the probability change In the state, if the number of starting memories is "2" or more, it is determined to use a pattern in which the variation time is shortened as the symbol variation pattern. The starting port switch passage confirmation process is a process of acquiring and storing each predetermined random number value when the starting port switch 14a is turned on.

【0159】ステップS300〜S309において、以
下のような処理が行われる。
In steps S300 to S309, the following processing is performed.

【0160】特別図柄通常処理(ステップS300):
始動記憶数を確認し、始動記憶数が0でなければ、ステ
ップS301に移行するように特別図柄プロセスフラグ
の値を変更する。
Special symbol normal processing (step S300):
Check the starting memory number, if the starting memory number is not 0, change the value of the special symbol process flag so as to move to step S301.

【0161】特別図柄大当り判定処理(ステップS30
1):始動入賞があったときに記憶された各種乱数を格
納するバッファ等の内容をシフトする。シフトの結果、
押し出されたバッファの内容にもとづいて大当りとする
か否かを決定する。なお、バッファは、始動入賞の記憶
可能最大数だけ用意されている。また、シフトによって
押し出されたバッファの内容は、最も前に生じた始動入
賞に応じた内容である。そして、大当りとすることに決
定した場合には、大当りフラグをセットする。その後、
ステップS302に移行するように特別図柄プロセスフ
ラグの値を変更する。
Special symbol big hit determination processing (step S30
1): The contents of a buffer or the like that stores various random numbers stored when a start winning is won are shifted. The result of the shift,
Based on the contents of the buffer pushed out, it is determined whether or not to be a big hit. In addition, the buffer is prepared by the maximum number of memorable start winnings. Also, the contents of the buffer pushed out by the shift are contents corresponding to the starting winning that occurred first. When it is decided to make a big hit, a big hit flag is set. afterwards,
The value of the special symbol process flag is changed so as to shift to step S302.

【0162】停止図柄設定処理(ステップS302):
特別図柄の可変表示の表示結果である左右中図柄の停止
図柄を決定する。そして、ステップS303に移行する
ように特別図柄プロセスフラグの値を変更する。
Stop symbol setting process (step S302):
The stop symbol of the left and right middle symbols which is the display result of the variable display of the special symbol is determined. Then, the value of the special symbol process flag is changed so as to move to step S303.

【0163】変動パターン設定処理(ステップS30
3):特別図柄の可変表示のパターンすなわち可変表示
パターン(変動パターン)を決定する。そして、決定さ
れた変動パターンおよび停止図柄等を通知するための表
示制御コマンドを図柄制御基板80等に対して出力する
ための処理を行う。その後、ステップS304に移行す
るように特別図柄プロセスフラグの値を変更する。
Fluctuation pattern setting process (step S30
3): A variable display pattern of the special symbol, that is, a variable display pattern (variation pattern) is determined. Then, a process for outputting a display control command for notifying the determined variation pattern and the stop symbol to the symbol control board 80 and the like is performed. After that, the value of the special symbol process flag is changed so as to shift to step S304.

【0164】特別図柄変動処理(ステップS304):
変動パターンに応じて決められている変動時間が経過し
たか否か確認する。経過していれば、ステップS305
に移行するように特別図柄プロセスフラグの値を変更す
る。
Special symbol variation process (step S304):
It is confirmed whether or not the fluctuation time determined according to the fluctuation pattern has elapsed. If it has elapsed, step S305
Change the value of the special symbol process flag so as to shift to.

【0165】特別図柄図柄停止処理(ステップS30
5):一定時間(例えば1.000秒)が経過した後、
大当りとすることに決定されている場合には、ステップ
S306に移行するように特別図柄プロセスフラグの値
を変更する。そうでなければ、ステップS300に移行
するように特別図柄プロセスフラグの値を変更する。
Special symbol design stop processing (step S30
5): After a certain time (for example, 1.000 seconds) has passed,
If it is determined to be a big hit, the value of the special symbol process flag is changed so as to move to step S306. If not, the value of the special symbol process flag is changed so as to shift to step S300.

【0166】大入賞口開放前処理(ステップS30
6):大入賞口を開放する制御を開始する。具体的に
は、カウンタやフラグを初期化するとともに、ソレノイ
ド54を駆動して大入賞口を開放する。そして、ステッ
プS307に移行するように特別図柄プロセスフラグの
値を変更する。
Pre-opening processing for the special winning opening (step S30
6): Start the control for opening the special winning opening. Specifically, the counter and the flag are initialized, and the solenoid 54 is driven to open the special winning opening. Then, the value of the special symbol process flag is changed so as to move to step S307.

【0167】大入賞口開放中処理(ステップS30
7):大入賞口の閉成条件の成立を確認する処理等を行
う。大入賞口の閉成条件が成立したら、ステップS30
8に移行するように特別図柄プロセスフラグの値を変更
する。
Processing during opening of the special winning opening (step S30
7): The process of confirming the establishment of the closing condition of the special winning opening is performed. If the conditions for closing the special winning opening are met, step S30
The value of the special symbol process flag is changed so as to shift to 8.

【0168】特定領域有効時間処理(ステップS30
8):V入賞スイッチ22の通過の有無を監視して、大
当り遊技状態継続条件の成立を確認する処理を行う。大
当り遊技状態継続の条件が成立し、かつ、まだ残りラウ
ンドがある場合には、ステップS307に移行するよう
に特別図柄プロセスフラグの値を変更する。また、所定
の有効時間内に大当り遊技状態継続条件が成立しなかっ
た場合、または、全てのラウンドを終えた場合には、ス
テップS309に移行するように特別図柄プロセスフラ
グの値を変更する。
Specific area effective time processing (step S30
8): The presence or absence of passage of the V winning switch 22 is monitored, and the processing for confirming the establishment of the jackpot gaming state continuation condition is performed. The condition for continuing the jackpot gaming state is established, and if there are still remaining rounds, the value of the special symbol process flag is changed so as to move to step S307. Further, if the jackpot gaming state continuation condition is not satisfied within a predetermined effective time, or if all rounds are finished, the value of the special symbol process flag is changed so as to shift to step S309.

【0169】大当り終了処理(ステップS309):大
当り遊技状態が終了したことを遊技者に報知するための
表示をランプ制御手段等に行わせる制御を行う。そし
て、ステップS300に移行するように特別図柄プロセ
スフラグの値を変更する。
Big hit end processing (step S309): control for causing the lamp control means or the like to display to notify the player that the big hit game state has ended. Then, the value of the special symbol process flag is changed so as to shift to step S300.

【0170】図23は、始動口スイッチ通過確認処理
(ステップS311)を示すフローチャートである。打
球が遊技盤に設けられている始動入賞口14に入賞する
と、始動口スイッチ14aがオンする。CPU56は、
スイッチ回路58を介して始動口スイッチ14aがオン
したことを判定すると(ステップS41)、始動記憶数
が上限値(この例では4)に達しているかどうか確認す
る(ステップS42)。始動記憶数が上限値に達してい
なければ、始動記憶数を1増やし(ステップS43)、
大当り判定用乱数等の各乱数の値を抽出する。そして、
それらを始動記憶数の値に対応した乱数値格納エリアに
格納する(ステップS44)。
FIG. 23 is a flow chart showing the starting opening switch passage confirmation processing (step S311). When the ball hits the starting winning opening 14 provided on the game board, the starting opening switch 14a is turned on. The CPU 56
When it is determined that the starting port switch 14a is turned on via the switch circuit 58 (step S41), it is confirmed whether or not the number of stored memories reaches the upper limit value (4 in this example) (step S42). If the number of stored memories has not reached the upper limit, the number of stored memories is increased by 1 (step S43),
Extract the value of each random number such as the big hit determination random number. And
These are stored in the random value storage area corresponding to the value of the number of stored memories (step S44).

【0171】また、始動記憶数指定コマンドの送出要求
のための制御を行う(ステップS45)。始動記憶数指
定コマンドとは、ランプ制御基板35に搭載されている
ランプ制御手段に対して送信される、新たな始動記憶数
を通知するためのランプ制御コマンドであり、具体的に
は、後述するコマンド送信テーブルを指定する処理が行
われる。なお、始動記憶数が上限値に達している場合に
は、始動記憶数を増やす処理を行わない。
Further, control is carried out for a request for sending out a command for specifying the number of stored starting memory (step S45). The start memory number designation command is a lamp control command transmitted to the lamp control means mounted on the lamp control board 35 to notify the new start memory number, and will be specifically described later. The process of specifying the command transmission table is performed. It should be noted that if the number of starting memories has reached the upper limit value, the process of increasing the number of starting memories is not performed.

【0172】CPU56は、ステップS25の特別図柄
プロセス処理において、図24に示すように始動記憶数
の値を確認する(ステップS51)。始動記憶数が0で
なければ、始動記憶;1(1番目の始動記憶)に対応す
る乱数値格納エリアに格納されている値を読み出すとと
もに(ステップS52)、始動記憶数の値を1減らし、
かつ、各乱数値格納エリアの値をシフトする(ステップ
S53)。すなわち、始動記憶;n(n=2,・・・,
4)に対応する乱数値格納エリアに格納されている各値
を、始動記憶:n−1に対応する乱数値格納エリアに格
納する。なお、そのときの始動記憶数に対応した乱数値
格納エリアの内容をクリアする。例えば、始動記憶数が
4であった場合には、始動記憶;4に対応した特別図柄
乱数値格納エリアの内容をクリアする。
In the special symbol process process of step S25, the CPU 56 confirms the value of the starting memory number as shown in FIG. 24 (step S51). If the number of starting memories is not 0, the value stored in the random number storage area corresponding to starting memory; 1 (first starting memory) is read (step S52), and the value of the number of starting memories is decreased by 1,
At the same time, the value in each random value storage area is shifted (step S53). That is, starting memory; n (n = 2, ...,
Each value stored in the random value storage area corresponding to 4) is stored in the random value storage area corresponding to start memory: n-1. Note that the contents of the random value storage area corresponding to the number of starting memories at that time are cleared. For example, when the number of starting memory is 4, the content of the special symbol random value storage area corresponding to the starting memory; 4 is cleared.

【0173】また、始動記憶数が1減らされたので、新
たな始動記憶数をランプ制御手段に通知するために、始
動記憶数指定コマンドの送出要求のための処理を行う
(ステップS65)。
Further, since the number of starting memories is reduced by 1, a process for sending out a starting memory number designation command is performed in order to notify the new starting memory number to the lamp control means (step S65).

【0174】そして、CPU56は、ステップS52で
読み出した値、すなわち抽出されている大当り判定用乱
数(特別図柄判定用乱数)の値にもとづいて当り/はず
れを決定する(ステップS54)。ここでは、大当り判
定用乱数は0〜316の範囲の値をとることにする。そ
して、図25に示すように、通常状態では、例えばその
値が「3」である場合に「大当り」と決定し、それ以外
の値である場合には「はずれ」と決定する。また、高確
率状態(確変状態)では、例えばその値が「3」,
「7」,「79」,「103」,「107」のいずれか
である場合に「大当り」と決定し、それ以外の値である
場合には「はずれ」と決定する。
Then, the CPU 56 determines the hit / departure based on the value read in step S52, that is, the value of the extracted big hit determination random number (special symbol judgment random number) (step S54). Here, the big hit determination random number takes a value in the range of 0 to 316. Then, as shown in FIG. 25, in the normal state, for example, when the value is “3”, it is determined as “big hit”, and when it is any other value, it is determined as “out”. In the high probability state (probability change state), for example, the value is “3”,
If it is any one of "7", "79", "103", and "107", it is determined as "big hit", and if it is any other value, it is determined as "outlier".

【0175】図26は、各乱数を示す説明図である。各
乱数は、以下のように使用される。 (1)ランダム1:大当りを発生させるか否か決定する
(大当り判定用) (2)ランダム2−1〜2−3:特別図柄の左右中のは
ずれ図柄決定用(特別図柄左右中) (3)ランダム3:大当りを発生させる特別図柄の組合
せを決定する(大当り図柄決定用) (4)ランダム4:特別図柄の変動パターンを決定する
(変動パターン決定用) (5)ランダム5:普通図柄にもとづく当りを発生させ
るか否か決定する(普通図柄当り判定用) (6)ランダム6:ランダム1の初期値を決定する(ラ
ンダム1初期値決定用) (7)ランダム7:ランダム5の初期値を決定する(ラ
ンダム5初期値決定用)
FIG. 26 is an explanatory diagram showing each random number. Each random number is used as follows. (1) Random 1: Decide whether to generate a big hit (for big hit judgment) (2) Random 2-1 to 2-3: For deviating symbols in the left and right of the special symbol (left and right in the special symbol) (3) ) Random 3: Determine the combination of special symbols that generate big hits (for big hit symbols determination) (4) Random 4: Determine the fluctuation pattern of special symbols (for fluctuation pattern determination) (5) Random 5: Normal symbol Determine whether or not to generate a base hit (for normal symbol hit determination) (6) Random 6: Determine the initial value of Random 1 (For determining the initial value of Random 1) (7) Random 7: Initial value of Random 5 Determine (for random 5 initial value determination)

【0176】なお、図21に示された遊技制御処理にお
けるステップS23では、CPU56は、(1)の大当
り判定用乱数、(3)の大当り図柄決定用乱数、および
(5)の普通図柄当り判定用乱数を生成するためのカウ
ンタのカウントアップ(1加算)を行う。すなわち、そ
れらが判定用乱数であり、それら以外の乱数が表示用乱
数または初期値用乱数である。なお、遊技効果を高める
ために、上記(1)〜(7)の乱数以外の普通図柄に関
する乱数等も用いられている。
Incidentally, in step S23 in the game control process shown in FIG. 21, the CPU 56 determines the random number for jackpot determination of (1), the random number for jackpot symbol determination of (3), and the regular symbol hit determination of (5). A counter for generating a random number for use is incremented (addition by 1). That is, those are the judgment random numbers, and the other random numbers are the display random numbers or the initial value random numbers. In addition, in order to enhance the game effect, random numbers related to ordinary symbols other than the above random numbers (1) to (7) are also used.

【0177】また、各乱数を発生するためのカウンタお
よび各初期値決定用乱数を発生するためのカウンタの値
は、図18に示されたメイン処理におけるステップS1
1で初期化(値を0にする)されている。
The values of the counter for generating each random number and the counter for generating each initial value determining random number are the same as those in step S1 in the main process shown in FIG.
It is initialized with 1 (value is set to 0).

【0178】図24に示すステップS54において、大
当りと判定されたときには、大当り図柄用乱数(ランダ
ム3)の値に従って大当り図柄を決定する(ステップS
55)。この実施の形態では、ランダム3の値に応じた
大当り図柄テーブルに設定されている図柄番号の各図柄
が、大当り図柄として決定される。大当り図柄テーブル
には、複数種類の大当り図柄の組み合わせのそれぞれに
対応した左右中の図柄番号が設定されている。また、変
動パターン決定用乱数(ランダム4)を抽出し、ランダ
ム4の値にもとづいて特別図柄の変動パターンを決定す
る(ステップS56)。
In step S54 shown in FIG. 24, when it is determined that the big hit, the big hit symbol is determined according to the value of the random number for the big hit symbol (random 3) (step S).
55). In this embodiment, each symbol of the symbol numbers set in the jackpot symbol table corresponding to the value of Random 3 is determined as the jackpot symbol. In the big hit symbol table, symbol numbers in the left and right corresponding to each of a combination of a plurality of kinds of big hit symbols are set. Further, the random number for determining the variation pattern (random 4) is extracted, and the variation pattern of the special symbol is determined based on the value of the random 4 (step S56).

【0179】はずれと判定された場合には、CPU56
は、大当りとしない場合の停止図柄の決定を行う。この
実施の形態では、ステップS52で読み出した値、すな
わち抽出されているランダム2−1の値に従って左図柄
を決定する(ステップS57)。また、ランダム2−2
の値に従って中図柄を決定する(ステップS58)。そ
して、ランダム2−3の値に従って右図柄を決定する
(ステップS59)。ここで、決定された中図柄が左右
図柄と一致した場合には、中図柄に対応した乱数の値に
1加算した値に対応する図柄を中図柄の停止図柄とし
て、大当り図柄と一致しないようにする。
If it is determined that the data is out of alignment, the CPU 56
Decides the stop symbol when it is not a big hit. In this embodiment, the left symbol is determined according to the value read out in step S52, that is, the value of the extracted random 2-1 (step S57). Also, random 2-2
The middle symbol is determined according to the value of (step S58). Then, the right symbol is determined according to the value of Random 2-3 (step S59). Here, when the determined middle symbol matches the left and right symbols, the symbol corresponding to the value obtained by adding 1 to the value of the random number corresponding to the middle symbol is set as the middle symbol stop symbol so that it does not match the big hit symbol. To do.

【0180】さらに、CPU56は、リーチすることに
決定されたか否か(左右の停止図柄が揃っているか否
か)を確認し(ステップS60)、リーチすることに決
定されている場合には、変動パターン決定用乱数(ラン
ダム4)の値を抽出し、ランダム4にもとづいて図柄の
変動パターンを決定する(ステップS61)。
Further, the CPU 56 confirms whether or not it has been decided to reach (whether or not the left and right stop symbols are aligned) (step S60), and if it is decided to reach, it changes. The value of the random number for pattern determination (random 4) is extracted, and the variation pattern of the symbol is determined based on random 4 (step S61).

【0181】リーチすることに決定されていない場合に
は、確変状態か否かを確認する(ステップS62)。確
変状態であれば変動パターンをはずれ時短縮変動パター
ンとすることに決定する(ステップS63)。確変状態
でなければ変動パターンをはずれ時の通常変動パターン
とすることに決定する(ステップS64)。なお、はず
れ時短縮変動パターンは、左右中の図柄の変動時間が例
えば4.0秒という通常変動パターンよりも変動期間が
短い変動パターンである。
If it is not decided to reach, it is confirmed whether or not it is in the probability variation state (step S62). If it is the probability variation state, it is determined that the variation pattern is the out-of-time shortened variation pattern (step S63). If it is not the probability variation state, the variation pattern is determined to be the normal variation pattern at the time of deviation (step S64). The shortening variation pattern at the time of deviation is a variation pattern in which the variation period of the symbols in the left and right is, for example, 4.0 seconds, which is shorter than the normal variation pattern.

【0182】以上のようにして、始動入賞にもとづく図
柄の変動態様を、リーチ態様とするか、はずれ態様とす
るか決定され、それぞれの停止図柄の組合せが決定され
る。すなわち、特別図柄の変動態様として、リーチ演出
を行うのか行わないのかが決定されるとともに停止図柄
の組合せが決定される。
As described above, it is determined whether the variation mode of the symbols based on the starting winning is the reach mode or the outlier mode, and the combination of the respective stop symbols is determined. That is, as a variation mode of the special symbol, whether the reach effect is performed or not is determined and the combination of the stopped symbols is determined.

【0183】なお、図24に示された処理は、図22に
示された特別図柄プロセス処理におけるステップS30
1〜S303の処理をまとめて示した場合の処理に相当
する。また、この実施の形態では、左右中図柄の停止図
柄が揃った場合に大当りが発生する。左右図柄のみが揃
った場合にリーチとなる。
The processing shown in FIG. 24 is step S30 in the special symbol process processing shown in FIG.
This corresponds to the process when the processes of 1 to S303 are collectively shown. Further, in this embodiment, a big hit occurs when the stop symbols of the left and right middle symbols are aligned. Reach is reached when only the left and right symbols are available.

【0184】次に、遊技制御手段から各電気部品制御基
板に送信されるコマンドについて説明する。図27は、
主基板31から、ランプ制御基板35、払出制御基板3
7、音制御基板70および図柄制御基板80に送信され
る制御コマンド(ランプ制御コマンド、音制御コマン
ド、表示制御コマンドおよび払出制御コマンド)のコマ
ンド形態の一例を示す説明図である。この実施の形態で
は、制御コマンドのコマンドデータは2バイト構成であ
り、1バイト目はMODE(コマンドの種類)を表し、
2バイト目はEXT(具体的指示内容)を表す。MOD
Eデータの先頭ビット(ビット7)は必ず「1」とさ
れ、EXTデータの先頭ビット(ビット7)は必ず
「0」とされる。このように、ランプ制御基板35、払
出制御基板37、音制御基板70および図柄制御基板8
0に送信される制御コマンドは、複数のコマンドデータ
で構成され、先頭ビットによってそれぞれを区別可能な
態様になっている。なお、図27に示されたコマンド形
態は一例であって他のコマンド形態を用いてもよい。例
えば、1バイトや3バイト以上で構成される制御コマン
ドを用いてもよい。
Next, the command transmitted from the game control means to each electric component control board will be described. FIG. 27 shows
From the main board 31, the lamp control board 35, the payout control board 3
FIG. 7 is an explanatory diagram showing an example of command forms of control commands (lamp control command, sound control command, display control command, and payout control command) transmitted to the sound control board 70 and the pattern control board 80. In this embodiment, the command data of the control command has a 2-byte structure, the first byte represents MODE (command type),
The second byte represents EXT (specific instruction content). MOD
The first bit (bit 7) of E data is always "1", and the first bit (bit 7) of EXT data is always "0". Thus, the lamp control board 35, the payout control board 37, the sound control board 70, and the symbol control board 8
The control command transmitted to 0 is composed of a plurality of command data, and can be distinguished by the leading bit. Note that the command form shown in FIG. 27 is an example, and other command forms may be used. For example, a control command composed of 1 byte or 3 bytes or more may be used.

【0185】図28に示すように、制御コマンドは、8
ビットの制御信号CD0〜CD7(コマンドデータ)と
INT信号(取込信号)とで構成される。ランプ制御基
板35、払出制御基板37、音制御基板70および図柄
制御基板80に搭載されているランプ制御手段、払出制
御手段、音制御手段および表示制御手段は、INT信号
が立ち上がったことを検知して、割込処理によって1バ
イトのデータの取り込み処理を開始する。
As shown in FIG. 28, the control command is 8
It is composed of bit control signals CD0 to CD7 (command data) and an INT signal (acquisition signal). The lamp control board 35, the payout control board 37, the sound control board 70, and the lamp control means, the payout control means, the sound control means, and the display control means mounted on the pattern control board 80 detect that the INT signal has risen. Then, the interrupt process starts the process of fetching 1-byte data.

【0186】図29は、図柄制御基板80に送出される
表示制御コマンドの内容の一例を示す説明図である。表
示制御コマンドはMODEとEXTの2バイト構成であ
る。図21に示す例において、コマンド8000(H)
〜8031(H)は、特別図柄の変動パターンを指定す
る表示制御コマンドである。なお、変動パターンを指定
するコマンド(変動パターン指定コマンド)は変動開始
指示も兼ねている。
FIG. 29 is an explanatory diagram showing an example of the contents of the display control command sent to the symbol control board 80. The display control command has a 2-byte structure of MODE and EXT. In the example shown in FIG. 21, the command 8000 (H)
8031 (H) is a display control command for designating a variation pattern of the special symbol. The command for designating the variation pattern (variation pattern designation command) also serves as a variation start instruction.

【0187】コマンド88XX(H)(X=4ビットの
任意の値)は、普通図柄の変動パターンに関する表示制
御コマンドである。コマンド89XX(H)は、普通図
柄の停止図柄を指定する表示制御コマンドである。コマ
ンド8AXX(H)(X=4ビットの任意の値)は、普
通図柄の可変表示の停止を指示する表示制御コマンドで
ある。
The command 88XX (H) (X = arbitrary value of 4 bits) is a display control command relating to a variation pattern of a normal symbol. The command 89XX (H) is a display control command for designating a stop symbol of a normal symbol. The command 8AXX (H) (X = an arbitrary value of 4 bits) is a display control command for instructing to stop the variable display of the normal symbols.

【0188】コマンド91XX(H)、92XX(H)
および93XX(H)は、特別図柄の左中右の停止図柄
を指定する表示制御コマンドである。また、コマンドA
0XX(H)は、特別図柄の可変表示の停止を指示する
表示制御コマンドである。コマンドBXXX(H)は、
大当り遊技開始から大当り遊技終了までの間に送出され
る表示制御コマンドである。
Commands 91XX (H), 92XX (H)
And 93XX (H) is a display control command for designating the left middle right stop symbol of the special symbol. Also, command A
0XX (H) is a display control command for instructing to stop the variable display of the special symbol. The command BXXX (H) is
It is a display control command sent from the start of the big hit game to the end of the big hit game.

【0189】コマンドC000(H)は、特別図柄の変
動および大当り遊技に関わらない表示状態に関する表示
制御コマンドである。
The command C000 (H) is a display control command relating to a variation of the special symbol and a display state not related to the big hit game.

【0190】図柄制御基板80の表示制御手段は、主基
板31の遊技制御手段から上述した表示制御コマンドを
受信すると図29に示された内容に応じて可変表示部装
置9における表示領域150の表示状態を変更する制御
を行う。
When the display control means of the symbol control board 80 receives the above-mentioned display control command from the game control means of the main board 31, the display of the display area 150 in the variable display device 9 according to the contents shown in FIG. Control to change the state.

【0191】図30は、主基板31からランプ制御基板
35に送出されるランプ制御コマンドの内容の一例を示
す説明図である。ランプ制御コマンドもMODEとEX
Tの2バイト構成である。図30に示す例において、コ
マンド8000(H)〜8031(H)は、特別図柄の
変動パターンに対応したランプ・LED(遊技機に設け
られている各発光体)の制御パターンを指定するランプ
制御コマンドである。また、コマンドA0XX(H)
(X=4ビットの任意の値)は、特別図柄の可変表示の
停止時のランプ・LEDの制御パターンを指示するラン
プ制御コマンドである。コマンドBXXX(H)は、大
当り遊技開始から大当り遊技終了までの間のランプ・L
EDの制御パターンを指示するランプ制御コマンドであ
る。そして、コマンドC000は、客待ちデモンストレ
ーション時のランプ・LEDの制御パターンを指示する
ランプ制御コマンドである。
FIG. 30 is an explanatory diagram showing an example of the contents of the lamp control command sent from the main board 31 to the lamp control board 35. Lamp control commands are also MODE and EX
It is a 2-byte structure of T. In the example shown in FIG. 30, commands 8000 (H) to 8031 (H) are lamp controls that specify the control pattern of the lamp / LED (each light emitting element provided in the gaming machine) corresponding to the variation pattern of the special symbol. It is a command. Also, the command A0XX (H)
(X = arbitrary value of 4 bits) is a lamp control command for instructing the control pattern of the lamp / LED when the variable display of the special symbol is stopped. The command BXXX (H) is a ramp / L from the start of the big hit game to the end of the big hit game.
It is a lamp control command for instructing the control pattern of the ED. The command C000 is a lamp control command for instructing the lamp / LED control pattern during the customer waiting demonstration.

【0192】なお、コマンド8XXX(H)、AXXX
(H)、BXXX(H)およびCXXX(H)は、遊技
進行状況に応じて遊技制御手段から送出されるランプ制
御コマンド、すなわち遊技状態を報知することを指示す
るランプ制御コマンドである。ランプ制御手段は、主基
板31の遊技制御手段から上述したランプ制御コマンド
を受信すると図30に示された内容に応じてランプ・L
EDの表示状態(点灯、消灯および点滅)を変更する。
Incidentally, the command 8XXX (H), AXXX
(H), BXXX (H) and CXXX (H) are lamp control commands sent from the game control means in accordance with the game progress situation, that is, lamp control commands for informing the gaming state. When the lamp control means receives the above-mentioned lamp control command from the game control means of the main board 31, the lamp / L according to the contents shown in FIG. 30.
Change the ED display status (lit, extinguished, and blinking).

【0193】この実施の形態では、ランプ制御手段は、
遊技状態を報知することを指示するランプ制御コマンド
を受信すると、装飾ランプ25、天枠ランプ28aおよ
び左右枠ランプ28b,28cのうちの一部または全部
を用いて、遊技状態を報知するための点灯/消灯制御を
行う。なお、装飾ランプ25、天枠ランプ28aおよび
左右枠ランプ28b,28cは、それぞれ、複数の発光
体の集まりで構成されていてもよく、その場合、装飾ラ
ンプ25、天枠ランプ28aおよび左右枠ランプ28
b,28cのうちの一部を用いて遊技状態を報知すると
いうことは、例えば、装飾ランプ25を構成する複数の
発光体のうちの一部を用いてもよいということも意味す
る。
In this embodiment, the lamp control means is
When a lamp control command instructing to notify the gaming state is received, a part or all of the decoration lamp 25, the top frame lamp 28a, and the left and right frame lamps 28b and 28c are used to light to notify the gaming state. / Turn off the light. The decorative lamp 25, the ceiling frame lamp 28a, and the left and right frame lamps 28b and 28c may each be composed of a group of a plurality of luminous bodies. In that case, the decorative lamp 25, the ceiling frame lamp 28a, and the left and right frame lamps. 28
Notifying the gaming state by using a part of b and 28c also means that, for example, a part of a plurality of light emitting bodies forming the decoration lamp 25 may be used.

【0194】コマンドE0XX(H)は、始動記憶数
(特別図柄始動記憶数)を示すランプ制御コマンドであ
る。ランプ制御手段は、「XX(H)」で指定される数
を遊技者が認識できるように始動記憶表示器18に特別
図柄始動記憶数に関する情報を表示する。また、コマン
ドE1XX(H)は、普通図柄始動記憶数を示すランプ
制御コマンドである。ランプ制御手段は、「XX
(H)」で指定される数を遊技者が認識できるように普
通図柄始動記憶表示器41に普通図柄始動記憶数に関す
る情報を表示する。
The command E0XX (H) is a lamp control command indicating the number of starting memories (the number of special symbol starting memories). The lamp control means displays information on the special symbol starting memory number on the starting memory indicator 18 so that the player can recognize the number designated by "XX (H)". Further, the command E1XX (H) is a lamp control command which normally indicates the number of symbols starting memory. The lamp control means is "XX
Information about the normal symbol starting memory number is displayed on the normal symbol starting memory indicator 41 so that the player can recognize the number designated by "(H)".

【0195】コマンドE200(H)およびE201
(H)は、賞球ランプ51の表示状態に関するランプ制
御コマンドであり、コマンドE300(H)およびE3
01(H)は、球切れランプ52の表示状態に関するラ
ンプ制御コマンドである。ランプ制御手段は、主基板3
1の遊技制御手段から「E201(H)」のランプ制御
コマンドを受信すると賞球ランプ51の表示状態を賞球
残がある場合としてあらかじめ定められた表示状態と
し、「E200(H)」のランプ制御コマンドを受信す
ると賞球ランプ51の表示状態を賞球残がない場合とし
てあらかじめ定められた表示状態とする。
Commands E200 (H) and E201
(H) is a lamp control command relating to the display state of the prize ball lamp 51, and includes commands E300 (H) and E3.
01 (H) is a lamp control command related to the display state of the out-of-bulb lamp 52. The lamp control means is the main board 3
When the lamp control command of "E201 (H)" is received from the game control means of No. 1, the display state of the prize ball lamp 51 is changed to a predetermined display state when there is a prize ball remaining, and the lamp of "E200 (H)" is displayed. When the control command is received, the display state of the prize ball lamp 51 is changed to a predetermined display state as when there is no prize ball remaining.

【0196】また、主基板31の遊技制御手段から「E
300(H)」のランプ制御コマンドを受信すると球切
れランプ52の表示状態を球あり中の表示状態とし、
「E301(H)」のランプ制御コマンドを受信すると
球切れランプ52の表示状態を球切れ中の表示状態とす
る。すなわち、コマンドE200(H)およびE201
(H)は、未賞球の遊技球があることを遊技者等に報知
するために設けられている発光体を制御することを示す
コマンドであり、コマンドE300(H)およびE30
1(H)は、補給球が切れていることを遊技者や遊技店
員に報知するために設けられている発光体を制御するこ
とを示すコマンドである。
Also, from the game control means of the main board 31, "E
When the lamp control command of "300 (H)" is received, the display state of the out-of-bulb lamp 52 is changed to the display state with a sphere,
When the lamp control command of "E301 (H)" is received, the display state of the out-of-bulb lamp 52 is changed to the display state of out-of-bulb. That is, the commands E200 (H) and E201
(H) is a command indicating that a light emitting body provided to notify a player or the like that there is a non-prize game ball, and commands E300 (H) and E30.
1 (H) is a command indicating that the light emitter provided to notify the player or the game store staff that the supply ball has run out is controlled.

【0197】コマンド「E500(H)」は、遊技制御
手段が不正行為を検知したときに遊技制御手段から送信
される不正報知ランプ指定のランプ制御コマンドであ
る。ランプ制御手段は、不正報知ランプ指定のランプ制
御コマンドを受信すると、不正報知の態様としてあらか
じめ決められた態様でランプ・LEDを点灯制御する。
例えば、全てのランプ・LEDを所定の周期で点滅させ
る。あるいは、不正報知用の発光手段を特に設け、その
発光手段を点灯させるようにしてもよい。
The command "E500 (H)" is a lamp control command for designating an injustice notification lamp, which is transmitted from the game control means when the game control means detects an illegal act. When the lamp control means receives the lamp control command for designating the fraud notification lamp, the lamp control means controls the lighting of the lamp / LED in a predetermined manner as the fraud notification mode.
For example, all the lamps / LEDs are blinked in a predetermined cycle. Alternatively, a light emitting means for notifying of fraud may be provided in particular, and the light emitting means may be turned on.

【0198】図31は、音制御基板70に送出される音
制御コマンドの内容の一例を示す説明図である。音制御
コマンドもMODEとEXTの2バイト構成である。図
31に示す例において、コマンド8XXX(H)(X=
4ビットの任意の値)は、特別図柄の変動期間における
音発生パターンを指定する音制御コマンドである。な
お、コマンド8000(H)〜8031(H)は、特別
図柄の変動パターンに対応した音発生パターンを指定す
る音制御コマンドである。コマンドBXXX(H)(X
=4ビットの任意の値)は、大当り遊技開始から大当り
遊技終了までの間における音発生パターンを指定する音
制御コマンドである。その他のコマンドは、特別図柄の
変動および大当り遊技に関わらない音制御コマンドであ
る。音制御基板70の音制御手段は、主基板31の遊技
制御手段から上述した音制御コマンドを受信すると図2
3に示された内容に応じて音出力状態を変更する。
FIG. 31 is an explanatory diagram showing an example of the contents of the sound control command sent to the sound control board 70. The sound control command also has a 2-byte structure of MODE and EXT. In the example shown in FIG. 31, the command 8XXX (H) (X =
4-bit arbitrary value) is a sound control command that specifies a sound generation pattern in the variable period of the special symbol. The commands 8000 (H) to 8031 (H) are sound control commands that specify a sound generation pattern corresponding to the variation pattern of the special symbol. Command BXXX (H) (X
= Arbitrary value of 4 bits) is a sound control command that specifies a sound generation pattern from the start of the big hit game to the end of the big hit game. Other commands are sound control commands that are not related to special symbol variations and jackpot games. When the sound control means of the sound control board 70 receives the above-mentioned sound control command from the game control means of the main board 31, FIG.
The sound output state is changed according to the contents shown in 3.

【0199】コマンド「E500(H)」は、遊技制御
手段が不正行為を検知したときに遊技制御手段から送信
される不正報知音指定の音制御コマンドである。音制御
手段は、不正報知音指定の音制御コマンドを受信する
と、不正報知の態様としてあらかじめ決められた態様で
スピーカ27から音出力する制御を行う。
The command "E500 (H)" is a sound control command for designating an injustice notification sound, which is transmitted from the game control means when the game control means detects an illegal act. When the sound control means receives the sound control command specifying the injustice notification sound, the sound control means controls the sound output from the speaker 27 in a predetermined mode as the injustice notification mode.

【0200】主基板31の遊技制御手段から各サブ基板
(ランプ制御基板35、払出制御基板37、音制御基板
70、図柄制御基板80)に制御コマンドを出力しよう
とするときに、コマンド送信テーブルの設定が行われ
る。あるいは、ROM54に形成されているコマンド送
信テーブルのアドレス指定が行われる。図32は、コマ
ンド送信テーブルの一構成例を示す説明図である。1つ
のコマンド送信テーブルは3バイトで構成され、1バイ
ト目には後述するINTデータが設定される。また、2
バイト目のコマンドデータ1には、制御コマンドの1バ
イト目のMODEデータが設定される。そして、3バイ
ト目のコマンドデータ2には、制御コマンドの2バイト
目のEXTデータが設定される。
When trying to output a control command from the game control means of the main board 31 to each sub board (lamp control board 35, payout control board 37, sound control board 70, symbol control board 80), the command transmission table Settings are made. Alternatively, the command transmission table formed in the ROM 54 is addressed. FIG. 32 is an explanatory diagram showing a configuration example of the command transmission table. One command transmission table is composed of 3 bytes, and INT data described later is set in the 1st byte. Also, 2
MODE data of the first byte of the control command is set in the command data 1 of the byte. Then, in the command data 2 of the third byte, the EXT data of the second byte of the control command is set.

【0201】なお、EXTデータそのものがコマンドデ
ータ2の領域に設定されてもよいが、コマンドデータ2
には、EXTデータが格納されているテーブル(ROM
54に形成される。)のアドレスを指定するためのデー
タ(バッファ指定データ)が設定されるようにしてもよ
い。この実施の形態では、図33(A)に示すように、
コマンドデータ2のビット7(ワークエリア参照ビッ
ト)が0であれば、コマンドデータ2にEXTデータそ
のものが設定されていることを示す。なお、そのような
EXTデータはビット7が0であるデータである。ま
た、図33(B)に示すように、ワークエリア参照ビッ
トが1であれば、他の7ビットが、EXTデータが格納
されているテーブルのアドレスを指定するためのオフセ
ットであることを示す。なお、図33(B)に示す例で
は、ビット4〜ビット0が使用されているので、32種
類のバッファを指定することが可能である。また、32
種類のバッファには、例えば特別図柄変動パターンバッ
ファ、特別図柄左図柄バッファ、特別図柄中図柄バッフ
ァ、特別図柄右図柄バッファなどが含まれる。
The EXT data itself may be set in the command data 2 area, but the command data 2
Is a table (ROM that stores EXT data).
54. Data for specifying the address of () (buffer specifying data) may be set. In this embodiment, as shown in FIG.
If bit 7 (work area reference bit) of the command data 2 is 0, it indicates that the EXT data itself is set in the command data 2. Note that such EXT data is data in which bit 7 is 0. Further, as shown in FIG. 33B, when the work area reference bit is 1, it indicates that the other 7 bits are offsets for designating the address of the table in which the EXT data is stored. In the example shown in FIG. 33B, since bits 4 to 0 are used, 32 types of buffers can be designated. Also, 32
Types of buffers include, for example, a special symbol variation pattern buffer, a special symbol left symbol buffer, a special symbol middle symbol buffer, a special symbol right symbol buffer, and the like.

【0202】図34はINTデータの一構成例を示す説
明図である。INTデータにおけるビット0は、払出制
御基板37に払出制御コマンドを送出すべきか否かを示
す。ビット0が「1」であるならば、払出制御コマンド
を送出すべきことを示す。従って、CPU56は、例え
ば賞球処理(遊技制御処理のステップS32)におい
て、INTデータに「01(H)」を設定する。
FIG. 34 is an explanatory diagram showing a structural example of INT data. Bit 0 in the INT data indicates whether or not the payout control command should be sent to the payout control board 37. If bit 0 is "1", it indicates that the payout control command should be sent. Therefore, the CPU 56 sets "01 (H)" to the INT data in the prize ball process (step S32 of the game control process), for example.

【0203】また、INTデータにおけるビット1は、
図柄制御基板80に表示制御コマンドを送出すべきか否
かを示す。ビット1が「1」であるならば、表示制御コ
マンドを送出すべきことを示す。従って、CPU56
は、例えば特別図柄プロセス処理や普通図柄プロセス処
理(遊技制御処理のステップS26やS27)におい
て、INTデータに「02(H)」を設定する。
Bit 1 in the INT data is
It shows whether or not a display control command should be sent to the symbol control board 80. If bit 1 is "1", it indicates that the display control command should be sent. Therefore, the CPU 56
For example, in the special symbol process process or the normal symbol process process (steps S26 and S27 of the game control process), "02 (H)" is set to the INT data.

【0204】INTデータのビット2,3は、それぞ
れ、ランプ制御コマンド、音制御コマンドを送出すべき
か否かを示すビットであり、CPU56は、それらのコ
マンドを送出すべきタイミングになったら、特別図柄プ
ロセス処理等で、ポインタ(例えば、特別図柄コマンド
送信ポインタ)が指しているコマンド送信テーブルに、
INTデータ、コマンドデータ1およびコマンドデータ
2を設定する。それらのコマンドを送出するときには、
INTデータの該当ビットが「1」に設定され、コマン
ドデータ1およびコマンドデータ2にMODEデータお
よびEXTデータが設定される。
Bits 2 and 3 of the INT data are bits indicating whether or not to send a lamp control command and a sound control command, respectively, and the CPU 56 outputs a special command at the timing to send these commands. In the symbol process processing, etc., in the command transmission table pointed by the pointer (for example, special symbol command transmission pointer),
INT data, command data 1 and command data 2 are set. When sending those commands,
The corresponding bit of INT data is set to "1", and MODE data and EXT data are set to command data 1 and command data 2.

【0205】この実施の形態では、各制御コマンドにつ
いて、それぞれ複数のコマンド送信テーブルが用意さ
れ、使用すべきコマンド送信テーブルはコマンド送信前
に設定される。あるいは、ROM54に形成されている
コマンド送信テーブルのアドレス指定が行われる。ま
た、複数のコマンド送信テーブルを1つのテーブルに設
定してもよい。例えば、図35に示すように、複数の表
示制御コマンドを格納することが可能な複数のコマンド
送信テーブルを含む1個のテーブルが用意されている。
CPU56は、例えば、コマンド制御処理において、ポ
インタが差しているコマンド送信テーブルから、INT
データ、コマンドデータ1およびコマンドデータ2を読
み出し、表示制御コマンドを送信する。そして、ポイン
タを更新する。その後、ポインタが指定するコマンド送
信テーブルが終了コードを示すまで、表示制御コマンド
の送信処理を繰り返す。なお、各制御コマンドについて
用意されるテーブルの一部(例えば、払出制御基板37
に対する払出個数指定コマンドが設定されるテーブル)
を、リングバッファ形式に構成するようにしてもよい。
In this embodiment, a plurality of command transmission tables are prepared for each control command, and the command transmission table to be used is set before command transmission. Alternatively, the command transmission table formed in the ROM 54 is addressed. Also, a plurality of command transmission tables may be set in one table. For example, as shown in FIG. 35, one table including a plurality of command transmission tables capable of storing a plurality of display control commands is prepared.
In the command control processing, the CPU 56 selects INT from the command transmission table pointed by the pointer.
The data, the command data 1 and the command data 2 are read and the display control command is transmitted. Then, the pointer is updated. After that, the display control command transmission process is repeated until the command transmission table designated by the pointer indicates the end code. A part of the table prepared for each control command (for example, the payout control board 37
Table for setting the payout amount specification command for
May be configured in a ring buffer format.

【0206】図36は、図21に示す遊技制御処理にお
けるコマンド制御処理の処理例を示すフローチャートで
ある。コマンド制御処理は、コマンド出力処理とINT
信号出力処理とを含む処理である。コマンド制御処理に
おいて、CPU56は、まず、コマンド送信テーブルの
アドレスをスタック等に退避する(ステップS33
1)。そして、ポインタが指していたコマンド送信テー
ブルのINTデータを引数1にロードする(ステップS
332)。引数1は、後述するコマンド送信処理に対す
る入力情報になる。また、コマンド送信テーブルを指す
アドレスを+1する(ステップS333)。従って、コ
マンド送信テーブルを指すアドレスは、コマンドデータ
1のアドレスに一致する。なお、表示制御コマンドは例
えば図32に示されたコマンド送信テーブルに設定され
ている。
FIG. 36 is a flow chart showing a processing example of command control processing in the game control processing shown in FIG. Command control processing includes command output processing and INT
This is processing including signal output processing. In the command control processing, the CPU 56 first saves the address of the command transmission table to the stack or the like (step S33).
1). Then, the INT data of the command transmission table pointed to by the pointer is loaded into the argument 1 (step S
332). The argument 1 is input information for the command transmission process described later. Further, the address indicating the command transmission table is incremented by 1 (step S333). Therefore, the address indicating the command transmission table matches the address of the command data 1. The display control command is set in the command transmission table shown in FIG. 32, for example.

【0207】次いで、CPU56は、コマンドデータ1
を読み出して引数2に設定する(ステップS334)。
引数2も、後述するコマンド送信処理に対する入力情報
になる。そして、コマンド送信処理ルーチンをコールす
る(ステップS335)。
Next, the CPU 56 sends the command data 1
Is read out and is set to the argument 2 (step S334).
The argument 2 is also input information for the command transmission process described later. Then, the command transmission processing routine is called (step S335).

【0208】図37は、コマンド送信処理ルーチンを示
すフローチャートである。コマンド送信処理ルーチンに
おいて、CPU56は、まず、引数1に設定されている
データすなわちINTデータを、比較値として決められ
ているワークエリアに設定する(ステップS351)。
次いで、送信回数=4を、処理数として決められている
ワークエリアに設定する(ステップS352)。そし
て、ポート1のアドレスをIOアドレスにセットする
(ステップS353)。この実施の形態では、ポート1
のアドレスは払出制御コマンドデータを出力するための
出力ポートのアドレスであり、ポート2〜4のアドレス
が、表示制御コマンドデータ、ランプ制御コマンドデー
タ、音制御コマンドデータを出力するための出力ポート
のアドレスであるとする。
FIG. 37 is a flow chart showing the command transmission processing routine. In the command transmission processing routine, the CPU 56 first sets the data set in the argument 1, that is, the INT data, in the work area determined as the comparison value (step S351).
Next, the number of transmissions = 4 is set in the work area determined as the number of processes (step S352). Then, the address of port 1 is set to the IO address (step S353). In this embodiment, port 1
Is the address of the output port for outputting the payout control command data, and the addresses of ports 2 to 4 are the addresses of the output ports for outputting the display control command data, the lamp control command data, and the sound control command data. Suppose

【0209】次に、CPU56は、比較値を1ビット右
にシフトする(ステップS354)。シフト処理の結
果、キャリービットが1になったか否か確認する(ステ
ップS355)。キャリービットが1になったというこ
とは、INTデータにおける最も右側のビットが「1」
であったことを意味する。この実施の形態では4回のシ
フト処理が行われるのであるが、例えば、表示制御コマ
ンドを送出すべきことが指定されているときには、2回
目のシフト処理でキャリービットが1になる。
Next, the CPU 56 shifts the comparison value right by 1 bit (step S354). As a result of the shift processing, it is confirmed whether the carry bit has become 1 (step S355). The carry bit has become 1, which means that the rightmost bit in the INT data is "1".
It means that it was. In this embodiment, the shift process is performed four times. For example, when it is specified that the display control command should be sent, the carry bit becomes 1 in the second shift process.

【0210】キャリービットが1になった場合には、引
数2に設定されているデータ、この場合にはコマンドデ
ータ1(すなわちMODEデータ)を、IOアドレスと
して設定されているアドレスに出力する(ステップS3
56)。2回目のシフト処理が行われたときにはIOア
ドレスにポート2のアドレスが設定されているので、そ
のときに、表示制御コマンドのMODEデータがポート
2に出力される。
When the carry bit becomes 1, the data set in the argument 2, in this case, the command data 1 (that is, MODE data) is output to the address set as the IO address (step S3
56). Since the address of the port 2 is set as the IO address when the second shift processing is performed, the MODE data of the display control command is output to the port 2 at that time.

【0211】次いで、CPU56は、IOアドレスを1
加算するとともに(ステップS357)、処理数を1減
算する(ステップS358)。加算前にポート2を示し
ていた場合には、IOアドレスに対する加算処理によっ
て、IOアドレスにはポート3のアドレスが設定され
る。ポート3は、ランプ制御コマンドを出力するための
ポートである。そして、CPU56は、処理数の値を確
認し(ステップS359)、値が0になっていなけれ
ば、ステップS354に戻る。ステップS354で再度
シフト処理が行われる。
Next, the CPU 56 sets the IO address to 1
While adding (step S357), 1 is subtracted from the processing number (step S358). When the port 2 is shown before the addition, the address of the port 3 is set to the IO address by the addition processing for the IO address. Port 3 is a port for outputting a lamp control command. Then, the CPU 56 confirms the value of the processing number (step S359), and if the value is not 0, returns to step S354. The shift process is performed again in step S354.

【0212】2回目のシフト処理ではINTデータにお
けるビット1の値が押し出され、ビット1の値に応じて
キャリーフラグが「1」または「0」になる。従って、
表示制御コマンドを送出すべきことが指定されているか
否かのチェックが行われる。同様に、3回目および4回
目のシフト処理によって、ランプ制御コマンドおよび音
制御コマンドを送出すべきことが指定されているか否か
のチェックが行われる。このように、それぞれのシフト
処理が行われるときに、IOアドレスには、シフト処理
によってチェックされるコマンド(払出制御コマンド、
表示制御コマンド、ランプ制御コマンド、音制御コマン
ド)に対応したIOアドレスが設定されている。
In the second shift processing, the value of bit 1 in the INT data is pushed out and the carry flag becomes "1" or "0" depending on the value of bit 1. Therefore,
A check is made to see if it is specified that a display control command should be sent. Similarly, by the third and fourth shift processes, it is checked whether or not the lamp control command and the sound control command should be sent. In this way, when each shift process is performed, the command (payout control command,
An IO address corresponding to a display control command, a lamp control command, a sound control command) is set.

【0213】よって、キャリーフラグが「1」になった
ときには、対応する出力ポート(ポート1〜ポート4)
に制御コマンドが送出される。すなわち、1つの共通モ
ジュールで、各サブ基板の制御手段に対する制御コマン
ドの送出処理を行うことができる。
Therefore, when the carry flag becomes "1", the corresponding output port (port 1 to port 4)
A control command is sent to. That is, one common module can perform a control command transmission process to the control means of each sub-board.

【0214】また、このように、シフト処理のみによっ
てどの各サブ基板の制御手段に対して制御コマンドを出
力すべきかが判定されるので、いずれの制御手段に対し
て制御コマンドを出力すべきか判定する処理が簡略化さ
れている。
In addition, since the control command of each sub-board to which the control command should be output is determined only by the shift processing in this manner, it is determined to which control means the control command should be output. Processing has been simplified.

【0215】次に、CPU56は、シフト処理開始前の
INTデータが格納されている引数1の内容を読み出し
(ステップS360)、読み出したデータをポート0に
出力する(ステップS361)。この実施の形態では、
ポート0のアドレスは、各制御信号についてのINT信
号を出力するためのポートであり、ポート0のビット0
〜4が、それぞれ、払出制御INT信号、表示制御IN
T信号、ランプ制御INT信号、音制御INT信号を出
力するためのポートである。INTデータでは、ステッ
プS351〜S359の処理で出力された制御コマンド
(払出制御コマンド、表示制御コマンド、ランプ制御コ
マンド、音制御コマンド)に応じたINT信号の出力ビ
ットに対応したビットが「1」になっている。従って、
ポート1〜ポート4のいずれかに出力された制御コマン
ド(払出制御コマンド、表示制御コマンド、ランプ制御
コマンド、音制御コマンド)に対応したINT信号がオ
フ状態(ローレベル)になる。
Next, the CPU 56 reads the content of the argument 1 in which the INT data before the shift processing is started (step S360), and outputs the read data to the port 0 (step S361). In this embodiment,
The address of port 0 is a port for outputting the INT signal for each control signal, and bit 0 of port 0
4 to 4 are the payout control INT signal and the display control IN, respectively.
It is a port for outputting a T signal, a lamp control INT signal, and a sound control INT signal. In the INT data, the bit corresponding to the output bit of the INT signal corresponding to the control command (payout control command, display control command, lamp control command, sound control command) output in the processing of steps S351 to S359 becomes “1”. Has become. Therefore,
The INT signal corresponding to the control command (payout control command, display control command, lamp control command, sound control command) output to any of the ports 1 to 4 is turned off (low level).

【0216】次いで、CPU56は、ウェイトカウンタ
に所定値を設定し(ステップS362)、その値が0に
なるまで1ずつ減算する(ステップS363,S36
4)。ウェイトカウンタの値が0になると、クリアデー
タ(00)を設定して(ステップS365)、そのデー
タをポート0に出力する(ステップS366)。よっ
て、INT信号はオフ状態になる。そして、ウェイトカ
ウンタに所定値を設定し(ステップS362)、その値
が0になるまで1ずつ減算する(ステップS368,S
369)。
Next, the CPU 56 sets a predetermined value in the wait counter (step S362), and decrements by 1 until the value becomes 0 (steps S363, S36).
4). When the value of the wait counter becomes 0, clear data (00) is set (step S365) and the data is output to port 0 (step S366). Therefore, the INT signal is turned off. Then, a predetermined value is set in the wait counter (step S362), and 1 is subtracted until the value becomes 0 (steps S368, S).
369).

【0217】以上のようにして、制御コマンドの1バイ
ト目のMODEデータが送出される。そこで、CPU5
6は、図36に示すステップS336で、コマンド送信
テーブルを指す値を1加算する。従って、3バイト目の
コマンドデータ2の領域が指定される。CPU56は、
指し示されたコマンドデータ2の内容を引数2にロード
する(ステップS337)。また、コマンドデータ2の
ビット7(ワークエリア参照ビット)の値が「0」であ
るか否か確認する(ステップS339)。0でなけれ
ば、コマンド拡張データアドレステーブルの先頭アドレ
スをポインタにセットし(ステップS339)、そのポ
インタにコマンドデータ2のビット6〜ビット0の値を
加算してアドレスを算出する(ステップS340)。そ
して、そのアドレスが指すエリアのデータを引数2にロ
ードする(ステップS341)。
As described above, the 1st byte MODE data of the control command is transmitted. Therefore, CPU5
In step S336 shown in FIG. 36, 6 adds 1 to the value indicating the command transmission table. Therefore, the area of the command data 2 in the third byte is designated. The CPU 56
The contents of the indicated command data 2 are loaded into the argument 2 (step S337). Further, it is confirmed whether or not the value of bit 7 (work area reference bit) of the command data 2 is "0" (step S339). If not 0, the head address of the command extension data address table is set in the pointer (step S339), and the value of bits 6 to 0 of the command data 2 is added to the pointer to calculate the address (step S340). Then, the data of the area pointed to by the address is loaded into the argument 2 (step S341).

【0218】コマンド拡張データアドレステーブルに
は、各サブ基板の制御手段に送出されうるEXTデータ
が順次設定されている。よって、以上の処理によって、
ワークエリア参照ビットの値が「1」であれば、コマン
ドデータ2の内容に応じたコマンド拡張データアドレス
テーブル内のEXTデータが引数2にロードされ、ワー
クエリア参照ビットの値が「0」であれば、コマンドデ
ータ2の内容がそのまま引数2にロードされる。なお、
コマンド拡張データアドレステーブルからEXTデータ
が読み出される場合でも、そのデータのビット7は
「0」である。
In the command extension data address table, EXT data which can be sent to the control means of each sub-board is sequentially set. Therefore, by the above processing,
If the value of the work area reference bit is "1", the EXT data in the command extension data address table corresponding to the content of the command data 2 is loaded into the argument 2 and the value of the work area reference bit is "0". For example, the content of the command data 2 is loaded into the argument 2 as it is. In addition,
Even when the EXT data is read from the command extension data address table, bit 7 of the data is "0".

【0219】次に、CPU56は、コマンド送信処理ル
ーチンをコールする(ステップS342)。従って、M
ODEデータの送出の場合と同様のタイミングでEXT
データが送出される。その後、CPU56は、コマンド
送信テーブルのアドレスを復帰し(ステップS34
3)、コマンド送信テーブルを指す読出ポインタの値を
更新する(ステップS344)。そして、さらに送出す
べきコマンドがあれば(ステップS345)、ステップ
S331に戻る。
Next, the CPU 56 calls the command transmission processing routine (step S342). Therefore, M
EXT at the same timing as when transmitting ODE data
Data is sent out. After that, the CPU 56 restores the address of the command transmission table (step S34
3) Update the value of the read pointer that points to the command transmission table (step S344). Then, if there is a command to be transmitted (step S345), the process returns to step S331.

【0220】以上のようにして、2バイト構成の制御コ
マンド(払出制御コマンド、表示制御コマンド、ランプ
制御コマンド、音制御コマンド)が、対応する各サブ基
板の制御手段に送信される。各サブ基板の制御手段では
INT信号のレベル変化を検出すると制御コマンドの取
り込み処理を開始するのであるが、いずれの制御手段に
ついても、取り込み処理が完了する前に遊技制御手段か
らの新たな信号が信号線に出力されることはない。すな
わち、表示制御手段等の各制御手段において、確実なコ
マンド受信処理が行われる。なお、INT信号の極性を
図28に示された場合と逆にしてもよい。
As described above, the 2-byte control command (payout control command, display control command, lamp control command, sound control command) is transmitted to the control means of the corresponding sub-board. When the control means of each sub-board detects the level change of the INT signal, it starts the processing for fetching the control command, but for each control means, a new signal from the game control means is received before the fetching processing is completed. It is not output to the signal line. That is, reliable command reception processing is performed in each control unit such as the display control unit. The polarity of the INT signal may be reversed from that shown in FIG.

【0221】図38〜図40は、電源基板910からの
電源断信号に応じて実行されるマスク不能割込処理(電
力供給停止時処理)の処理例を示すフローチャートであ
る。CPU56のXNMI端子にハイレベルからローレ
ベルへの変化が生じてマスク不能割込が発生すると、C
PU56に内蔵されている割込制御機構は、マスク不能
割込発生時に実行されていたプログラムのアドレス(具
体的には実行完了後の次のアドレス)を、スタックポイ
ンタが指すスタック領域に退避させるとともに、スタッ
クポインタの値を増やす。すなわち、スタックポインタ
の値がスタック領域の次のアドレスを指すように更新す
る。なお、この実施の形態では、XNMI端子にハイレ
ベルからローレベルへの変化が生ずると割込が生ずる
が、他の態様のレベル変化に応じて割込が発生するマイ
クロコンピュータを用いても、以下のような制御を実行
することができる。
38 to 40 are flow charts showing an example of a non-maskable interrupt process (power supply stop process) executed in response to a power-off signal from the power supply board 910. When the XNMI terminal of the CPU 56 changes from high level to low level and a non-maskable interrupt occurs, C
The interrupt control mechanism incorporated in the PU 56 saves the address of the program being executed at the time of occurrence of the non-maskable interrupt (specifically, the next address after the completion of execution) in the stack area pointed to by the stack pointer. , Increase the stack pointer value. That is, the value of the stack pointer is updated to point to the next address in the stack area. In this embodiment, when the XNMI terminal changes from the high level to the low level, an interrupt occurs. However, even if a microcomputer that generates an interrupt in response to a level change of another mode is used, Such control can be executed.

【0222】電力供給停止時処理において、CPU56
は、AFレジスタ(アキュミュレータとフラグのレジス
タ)をバックアップRAM領域のスタック領域に退避さ
せる(ステップS451)。また、割込フラグをパリテ
ィフラグにコピーする(ステップS452)。パリティ
フラグはバックアップRAM領域に形成されている。割
込フラグは、割込許可状態であるのか割込禁止状態であ
るのかを示すフラグであって、CPU56が内蔵する制
御レジスタ中にある。割込フラグのオン状態が割込禁止
状態であることを示す。上述したように、パリティフラ
グは遊技状態復旧処理で参照される。そして、遊技状態
復旧処理において、パリティフラグがオン状態であれ
ば、割込許可状態には設定されない。
In the power supply stop processing, the CPU 56
Saves the AF register (accumulator and flag register) in the stack area of the backup RAM area (step S451). Also, the interrupt flag is copied to the parity flag (step S452). The parity flag is formed in the backup RAM area. The interrupt flag is a flag indicating whether the interrupt is enabled or disabled, and is in the control register built in the CPU 56. The ON state of the interrupt flag indicates that the interrupt is disabled. As described above, the parity flag is referred to in the game state recovery process. Then, in the game state recovery process, if the parity flag is in the on state, it is not set to the interrupt permission state.

【0223】また、BCレジスタ、DEレジスタ、HL
レジスタ、IXレジスタおよびスタックポインタをバッ
クアップRAM領域のスタック領域に退避させる(ステ
ップS454〜S458)。なお、ステップS451〜
S458の処理は、電源監視手段の検出信号に応じて制
御状態を復旧させるために必要なデータを変動データ記
憶手段に保存させるためのデータ退避処理に相当する。
Further, BC register, DE register, HL
The registers, IX register, and stack pointer are saved in the stack area of the backup RAM area (steps S454 to S458). Note that steps S451-
The process of S458 corresponds to the data saving process for saving the data necessary for restoring the control state in the variable data storage unit according to the detection signal of the power supply monitoring unit.

【0224】次いで、この実施の形態では、所定期間
(入力監視時間の間)、賞球カウントスイッチ301A
の検出信号をチェックする。そして、賞球カウントスイ
ッチ301Aがオンしたら総賞球数バッファの内容を1
減らす。総賞球数バッファとは、RAM55における未
払出賞球個数を記憶する領域であり、入賞に応じて払出
制御基板37に対して賞球個数を示す払出制御コマンド
を送信すると加算され、賞球カウントスイッチ301A
の検出信号にもとづいて減算されるデータが設定されて
いる。
Next, in this embodiment, the prize ball count switch 301A for a predetermined period (during the input monitoring time).
Check the detection signal of. When the prize ball count switch 301A is turned on, the content of the total prize ball count buffer is set to 1
cut back. The total prize ball number buffer is an area for storing the number of unpaid prize balls in the RAM 55, and is added when a payout control command indicating the number of prize balls is transmitted to the payout control board 37 in response to winning, and the prize ball count is calculated. Switch 301A
The data to be subtracted based on the detection signal of is set.

【0225】なお、この実施の形態では、入力監視時間
を計測するために、入力監視時間計測用カウンタが用い
られる。入力監視時間計測用カウンタの値は、初期値m
から、以下に説明するスイッチ検出処理のループ(S4
61から始まってS461に戻るループ)が1回実行さ
れる毎に−1され、その値が0になると、入力監視時間
が終了したとする。検出処理のループでは、例外はある
がほぼ一定の処理が行われるので、ループの1周に要す
る時間のm倍の時間が、ほぼ入力監視時間に相当する。
In this embodiment, an input monitoring time measuring counter is used to measure the input monitoring time. The value of the input monitoring time measuring counter is the initial value m
From the loop of the switch detection processing described below (S4
The loop starting from 61 and returning to S461 is decremented by 1 every time it is executed, and when the value becomes 0, it is assumed that the input monitoring time has ended. Although there is an exception in the detection processing loop, almost constant processing is performed, and therefore a time that is m times the time required for one round of the loop is approximately equivalent to the input monitoring time.

【0226】入力監視時間を計測するために、CPU5
6の内蔵タイマを用いてもよい。すなわち、スイッチ検
出処理開始時に、内蔵タイマに所定値(入力監視時間に
相当)を設定しておく。そして、スイッチ検出処理のル
ープが1回実行される毎に、内蔵タイマのカウント値を
チェックする。そして、カウント値が0になったら、入
力監視時間が終了したとする。内蔵タイマの値が0にな
ったことを検出するために内蔵タイマによる割込を用い
ることもできるが、この段階では制御内容(RAMに格
納されている各値など)を変化させないように、割込を
用いず、内蔵タイマのカウント値を読み出してチェック
するようなプログラム構成の方が好ましい。
To measure the input monitoring time, the CPU 5
A built-in timer of 6 may be used. That is, a predetermined value (corresponding to the input monitoring time) is set in the built-in timer at the start of the switch detection process. Then, the count value of the built-in timer is checked every time the loop of the switch detection processing is executed once. Then, when the count value becomes 0, it is assumed that the input monitoring time has ended. An interrupt by the built-in timer can be used to detect that the value of the built-in timer has become 0. It is preferable to use a program configuration in which the count value of the built-in timer is read out and checked without using the program.

【0227】また、入力監視時間は、遊技球が、球払出
装置97から落下した時点から、賞球カウントスイッチ
301Aに到達するまでの時間以上に設定される。球払
出装置97から賞球カウントスイッチ301Aまでの距
離をLとすると、その間の落下時間tは、t=√(2L
/g)(g:重力加速度)になるので、入力監視時間
は、それ以上に設定される。なお、図5に例示した球払
出装置97を用いる場合には、Lは、スプロケット29
2の凹部から遊技球が落下する位置から賞球カウントス
イッチ301Aの位置までの距離に相当する。以上のよ
うに、入力監視時間は、払出手段から遊技媒体が払い出
されてから払出検出手段で検出されるまでの時間以上の
時間に設定される
The input monitoring time is set to be longer than the time from when the game ball falls from the ball payout device 97 to when it reaches the prize ball count switch 301A. When the distance from the ball payout device 97 to the prize ball count switch 301A is L, the fall time t during that time is t = √ (2L
/ G) (g: gravitational acceleration), the input monitoring time is set longer than that. When the ball payout device 97 illustrated in FIG. 5 is used, L is the sprocket 29.
It corresponds to the distance from the position where the game ball drops from the concave portion 2 to the position of the prize ball count switch 301A. As described above, the input monitoring time is set to a time equal to or longer than the time from when the game medium is paid out from the payout means to when it is detected by the payout detection means.

【0228】少なくとも、スイッチ検出処理が実行され
る入力監視時間では、賞球カウントスイッチ301Aが
遊技球を検出できる状態でなければならない。従って、
図13に示されたように、電源基板910におけるコン
バータIC922の入力側に比較的大容量の補助駆動電
源としてのコンデンサ923が接続されている。よっ
て、遊技機に対する電力供給停止時にも、ある程度の期
間は+12V電源電圧がスイッチ駆動可能な範囲に維持
され、賞球カウントスイッチ301Aが動作可能にな
る。その期間が、上記の入力監視処理が完了するまでの
時間以上になるように、コンデンサの容量が決定され
る。
At least during the input monitoring time during which the switch detection process is executed, the prize ball count switch 301A must be in a state where it can detect a game ball. Therefore,
As shown in FIG. 13, the input side of the converter IC 922 on the power supply board 910 is connected to a capacitor 923 as an auxiliary drive power supply having a relatively large capacity. Therefore, even when the power supply to the gaming machine is stopped, the + 12V power supply voltage is maintained within the switchable range for a certain period of time, and the prize ball count switch 301A becomes operable. The capacitance of the capacitor is determined so that the period is equal to or longer than the time until the input monitoring process is completed.

【0229】なお、入力ポートおよびCPU56も、コ
ンバータIC922で作成される+5V電源で駆動され
るので、電力供給停止時にも、比較的長い期間動作可能
になっている。
Since the input port and the CPU 56 are also driven by the + 5V power source created by the converter IC 922, they can be operated for a relatively long period even when the power supply is stopped.

【0230】ステップS461において、2ms計測用
カウンタに2msの時間に相当する初期値nが設定され
る。そして、2ms計測用カウンタの値が0になるまで
(ステップS462)、2ms計測用カウンタの値が−
1される(ステップS463)。
In step S461, the initial value n corresponding to the time of 2 ms is set in the 2 ms measurement counter. Then, until the value of the 2 ms measurement counter becomes 0 (step S462), the value of the 2 ms measurement counter becomes −.
1 (step S463).

【0231】2ms計測用カウンタの値が0になると、
賞球カウントスイッチ301Aの検出信号の入力チェッ
クが行われる。具体的には、入力ポート1に入力されて
いるデータを入力する(ステップS464)。次いで、
クリアデータ(00)をセットする(ステップS46
5)。また、ポート入力データ、この場合には入力ポー
ト1からの入力データを「比較値」として設定する(ス
テップS466)。さらに、賞球カウントスイッチ30
1Aのためのスイッチタイマのアドレスをポインタにセ
ットする(ステップS467)。
When the value of the 2 ms measurement counter becomes 0,
The input check of the detection signal of the prize ball count switch 301A is performed. Specifically, the data input to the input port 1 is input (step S464). Then
Set clear data (00) (step S46)
5). Further, the port input data, in this case, the input data from the input port 1 is set as the "comparison value" (step S466). Furthermore, prize ball count switch 30
The address of the switch timer for 1A is set in the pointer (step S467).

【0232】そして、ポインタ(スイッチタイマのアド
レスが設定されている)が指すスイッチタイマをロード
するとともに(ステップS468)、比較値を右(上位
ビットから下位ビットへの方向)にシフトする(ステッ
プS469)。比較値には入力ポート1のデータ設定さ
れている。そして、この場合には、賞球カウントスイッ
チ301Aの検出信号がキャリーフラグに押し出され
る。
Then, the switch timer pointed by the pointer (the address of the switch timer is set) is loaded (step S468), and the comparison value is shifted to the right (direction from the higher bit to the lower bit) (step S469). ). The data of the input port 1 is set as the comparison value. Then, in this case, the detection signal of the prize ball count switch 301A is pushed out to the carry flag.

【0233】キャリーフラグの値が「1」であれば(ス
テップS470)、すなわち賞球カウントスイッチ30
1Aの検出信号がオン状態であれば、スイッチタイマの
値を1加算する(ステップS471)。キャリーフラグ
の値が「0」であれば、すなわち賞球カウントスイッチ
301Aの検出信号がオフ状態であれば、スイッチタイ
マにクリアデータをセットする(ステップS472)。
すなわち、スイッチがオフ状態であれば、スイッチタイ
マの値が0に戻る。
If the value of the carry flag is "1" (step S470), that is, the prize ball count switch 30.
If the 1A detection signal is in the ON state, the value of the switch timer is incremented by 1 (step S471). If the value of the carry flag is "0", that is, if the detection signal of the prize ball count switch 301A is in the off state, clear data is set in the switch timer (step S472).
That is, if the switch is in the off state, the value of the switch timer returns to 0.

【0234】そして、スイッチタイマの値が2になった
ときに(ステップS473)、総賞球数格納バッファの
格納値を1減算するとともに(ステップS474)、賞
球情報カウンタの値を+1する(ステップS475)。
そして、賞球情報カウンタの値が10以上であれば(ス
テップS476)、賞球情報出力カウンタの値を+1す
るとともに(ステップS477)、賞球情報カウンタの
値を−10する(ステップS478)。
When the value of the switch timer becomes 2 (step S473), the value stored in the total prize ball storage buffer is decremented by 1 (step S474), and the value of the prize ball information counter is incremented by 1 (step S474). Step S475).
When the value of the prize ball information counter is 10 or more (step S476), the value of the prize ball information output counter is incremented by 1 (step S477), and the value of the prize ball information counter is decremented by 10 (step S478).

【0235】次いで、入力監視時間計測用カウンタの値
を−1し(ステップS479)、その値が0になってい
なければステップS461に戻る。
Next, the value of the input monitoring time measuring counter is decremented by 1 (step S479), and if the value is not 0, the process returns to step S461.

【0236】以上の処理によって、入力監視時間内に賞
球カウントスイッチ301Aがオンしたら、総賞球数格
納バッファの値が−1される。バックアップRAMの内
容を保存するための処理は、このようなスイッチ検出処
理の後で行われるので、払出が完了した賞球について、
必ず総賞球数格納バッファが−1される。従って、遊技
球の払出に関して、保存される制御状態に矛盾が生じて
しまうことが防止される。また、上記のスイッチ検出処
理では、検出期間用カウンタを用いたタイマ処理が施さ
れている。すなわち、2ms毎に賞球カウントスイッチ
301Aの検出出力のチェックが行われ、2回連続して
オン検出した場合に、賞球カウントスイッチ301Aが
確実にオンしたと見なされる。従って、誤ってスイッチ
オン検出がなされてしまうことは防止される。また、ス
イッチ検出処理において、遊技機外部への賞球情報出力
のための賞球情報出力回数カウンタの演算も行われるの
で、外部に出力される賞球情報と実際の払出賞球数とが
食い違ってしまうようなこともない。
With the above processing, when the prize ball count switch 301A is turned on within the input monitoring time, the value of the total prize ball number storage buffer is decremented by one. Since the process for saving the contents of the backup RAM is performed after such a switch detection process,
The total prize ball number storage buffer is always decremented by one. Therefore, regarding the payout of the game balls, it is possible to prevent the stored control state from being inconsistent. Further, in the above switch detection processing, timer processing using a detection period counter is performed. That is, the detection output of the prize ball count switch 301A is checked every 2 ms, and when the ON detection is performed twice in succession, it is considered that the prize ball count switch 301A is surely turned on. Therefore, erroneous switch-on detection can be prevented. Further, in the switch detection process, since the prize ball information output frequency counter for outputting the prize ball information to the outside of the gaming machine is also calculated, the prize ball information output to the outside and the actual number of payout prize balls are inconsistent. It doesn't happen.

【0237】ここでは、電力供給停止時処理において入
力監視時間(球払出装置97から落下した時点から、賞
球カウントスイッチ301Aに到達するまでの時間以上
の所定時間)だけ入力監視処理を実行したが、さらに、
長時間にわたって入力監視処理を実行してもよい。例え
ば、電力供給が完全に停止するまで入力監視処理を継続
してもよい。
Here, in the power supply stop process, the input monitoring process is executed only for the input monitoring time (a predetermined time from the time of dropping from the ball payout device 97 to the time of reaching the prize ball counting switch 301A). ,further,
The input monitoring process may be executed for a long time. For example, the input monitoring process may be continued until the power supply is completely stopped.

【0238】なお、払出制御基板37に搭載されている
払出制御手段も、電源断信号に応じて電力供給停止時処
理を実行する。そして、電力供給停止時処理において早
い段階で(少なくとも遊技制御手段における電力供給停
止時処理おいて入力監視処理が開始される前の段階
で)、払出モータ289の駆動を停止させている。
The payout control means mounted on the payout control board 37 also executes the power supply stop time process in response to the power-off signal. Then, the driving of the payout motor 289 is stopped at an early stage in the power supply stop process (at least before the input monitoring process is started in the power supply stop process in the game control means).

【0239】また、この実施の形態では、賞球カウント
スイッチ301Aのみのスイッチ検出処理が行われた
が、始動入賞口のスイッチや大入賞口に関連するV入賞
スイッチ22やカウントスイッチについても同様のスイ
ッチ検出処理を行ってもよい。また、他の入賞について
も同様のスイッチ検出処理を行ってもよい。そのような
オンチェックも行う場合には、入賞口に遊技球が入賞し
た直後に停電が発生したような場合でも、その入賞が確
実に検出され、保存される遊技状態に反映される。
Further, in the present embodiment, the switch detection processing is performed only for the prize ball count switch 301A, but the same applies to the switch for the starting winning opening and the V winning switch 22 and the count switch related to the special winning opening. Switch detection processing may be performed. Further, similar switch detection processing may be performed for other prizes. When such an on-check is also performed, even if a power failure occurs immediately after the game ball has won the winning opening, the winning is surely detected and reflected in the saved game state.

【0240】入力監視時間が経過すると(ステップS4
80)、すなわち、入力監視時間計測用カウンタの値が
0になると、バックアップあり指定値(この例では「5
5(H)」)をバックアップフラグにストアする(ステ
ップS481)。バックアップフラグはバックアップR
AM領域に形成されている。次いで、パリティデータを
作成する(ステップS482〜S491)。すなわち、
まず、クリアデータ(00)をチェックサムデータエリ
アにセットし(ステップS482)、チェックサム算出
開始アドレスをポインタにセットする(ステップS48
3)。また、チェックサム算出回数をセットする(ステ
ップS484)。
When the input monitoring time elapses (step S4
80), that is, when the value of the input monitoring time measuring counter becomes 0, the designated value with backup (in this example, "5
5 (H) ”) is stored in the backup flag (step S481). Backup flag is backup R
It is formed in the AM region. Next, the parity data is created (steps S482 to S491). That is,
First, the clear data (00) is set in the checksum data area (step S482), and the checksum calculation start address is set in the pointer (step S48).
3). Further, the number of checksum calculations is set (step S484).

【0241】そして、チェックサムデータエリアの内容
とポインタが指すRAM領域の内容との排他的論理和を
演算する(ステップS485)。演算結果をチェックサ
ムデータエリアにストアするとともに(ステップS48
6)、ポインタの値を1増やし(ステップS487)、
チェックサム算出回数の値を1減算する(ステップS4
88)。ステップS485〜S488の処理が、チェッ
クサム算出回数の値が0になるまで繰り返される(ステ
ップS489)。
Then, the exclusive OR of the contents of the checksum data area and the contents of the RAM area pointed to by the pointer is calculated (step S485). The calculation result is stored in the checksum data area (step S48).
6), increment the pointer value by 1 (step S487),
The value of the checksum calculation count is subtracted by 1 (step S4
88). The processes of steps S485 to S488 are repeated until the value of the checksum calculation count becomes 0 (step S489).

【0242】チェックサム算出回数の値が0になった
ら、CPU56は、チェックサムデータエリアの内容の
各ビットの値を反転する(ステップS490)。そし
て、反転後のデータをチェックサムデータエリアにスト
アする(ステップS491)。このデータが、電源投入
時にチェックされるパリティデータとなる。次いで、R
AMアクセスレジスタにアクセス禁止値を設定する(ス
テップS492)。以後、内蔵RAM55のアクセスが
できなくなる。
When the value of the checksum calculation count becomes 0, the CPU 56 inverts the value of each bit of the contents of the checksum data area (step S490). Then, the inverted data is stored in the checksum data area (step S491). This data becomes the parity data that is checked when the power is turned on. Then R
An access prohibition value is set in the AM access register (step S492). After that, the built-in RAM 55 cannot be accessed.

【0243】さらに、CPU56は、クリアデータ(0
0)を適当なレジスタにセットし(ステップS49
3)、処理数(この例では「7」)を別のレジスタにセ
ットする(ステップS494)。また、出力ポート0の
アドレスをIOポインタに設定する(ステップS49
5)。IOポインタとして、さらに別のレジスタが用い
られる。
Further, the CPU 56 clears the clear data (0
0) is set in an appropriate register (step S49
3), the number of processes (“7” in this example) is set in another register (step S494). Further, the address of the output port 0 is set in the IO pointer (step S49).
5). Another register is used as the IO pointer.

【0244】そして、IOポインタが指すアドレスにク
リアデータをセットするとともに(ステップS49
6)、IOポインタの値を1増やし(ステップS49
7)、処理数の値を1減算する(ステップS498)。
ステップS496〜S498の処理が、処理数の値が0
になるまで繰り返される。その結果、全ての出力ポート
0〜6(図15および図16参照)にクリアデータが設
定される。図15および図16に示すように、この例で
は、「1」がオン状態であり、クリアデータである「0
0」が各出力ポートにセットされるので、全ての出力ポ
ートがオフ状態になる。
Then, the clear data is set to the address pointed to by the IO pointer (step S49).
6), the value of the IO pointer is incremented by 1 (step S49
7), 1 is subtracted from the value of the number of processes (step S498).
In the processes of steps S496 to S498, the value of the number of processes is 0.
Is repeated until. As a result, clear data is set to all output ports 0 to 6 (see FIGS. 15 and 16). As shown in FIGS. 15 and 16, in this example, “1” is in the ON state and the clear data “0”.
Since "0" is set to each output port, all output ports are turned off.

【0245】そして、入力ポートに入力されている判定
回路950からの判定信号を確認し判定信号がオン状態
(例えばハイレベル)であれば(ステップS171)、
不正報知コマンド(ランプ制御コマンドあるいは音制御
コマンド、または双方)を送信するための処理を行う
(ステップS172)。
Then, the judgment signal from the judgment circuit 950 input to the input port is confirmed, and if the judgment signal is in the ON state (for example, high level) (step S171),
Processing for transmitting an injustice notification command (lamp control command, sound control command, or both) is performed (step S172).

【0246】なお、この段階では、RAMアクセス禁止
状態に設定されているので、ランプ制御コマンドや音制
御コマンドを送信するための処理では、CPU56は、
例えば、レジスタに所定のデータ(ランプ制御コマンド
や音制御コマンドを構成する2バイトのコマンドデータ
のうちの1バイト)をセットし、レジスタの値を直接出
力ポートに出力する。また、INT信号のオン期間(図
28参照)を作成するために、例えば、レジスタに所定
値をセットし、0になるまで減算する処理を繰り返すこ
とによって、その期間を作成する。そして、そのような
処理を、不正報知コマンドを構成するMODEデータと
EXTデータについて実行する。
Since the RAM access prohibition state is set at this stage, the CPU 56 executes the processing for transmitting the lamp control command and the sound control command.
For example, predetermined data (1 byte of 2 bytes of command data forming a lamp control command or a sound control command) is set in the register, and the value of the register is directly output to the output port. Further, in order to create the ON period of the INT signal (see FIG. 28), the period is created by, for example, setting a predetermined value in the register and repeating the subtraction process until it becomes 0. Then, such processing is executed for the MODE data and the EXT data forming the injustice notification command.

【0247】その後、CPU56は、待機状態(ループ
状態)に入る。従って、システムリセットされるまで、
何もしない状態になる。
After that, the CPU 56 enters a standby state (loop state). Therefore, until the system is reset
It becomes a state where nothing is done.

【0248】この実施の形態では、遊技状態を保存する
ための処理(この例では、チェックサムの生成およびR
AMアクセス防止)が実行された後、各出力ポートは直
ちにオフ状態になる。なお、この実施の形態では、遊技
制御処理において用いられるデータが格納されるRAM
領域は全て電源バックアップされている。従って、その
内容が正しく保存されているか否かを示すチェックサム
の生成処理、およびその内容を書き換えないようにする
ためのRAMアクセス防止処理が、遊技状態を保存する
ための処理に相当する。
In this embodiment, a process for saving the game state (in this example, checksum generation and R
After (AM access prevention) is executed, each output port is immediately turned off. In this embodiment, a RAM that stores data used in the game control process
All areas are backed up by power. Therefore, the checksum generation process indicating whether or not the contents are correctly saved, and the RAM access prevention process for preventing the contents from being rewritten correspond to the process for saving the game state.

【0249】遊技状態を保存するための処理が実行され
た後、直ちに各出力ポートがオフ状態になるので、保存
される遊技状態と整合しない状況が発生することは確実
に防止される。図38〜図40に示す処理が実行される
ときには、遊技機に対する電源供給が停止するので、電
気部品に印加される電圧が低下していく。そして、印加
電圧が駆動可能電圧を下回った時点で電気部品の駆動は
停止する。従って、遊技機に対する電力供給停止時に
は、短時間の遅れはあるものの電気部品の駆動は停止す
る。
Since each output port is turned off immediately after the processing for saving the game state is executed, it is possible to surely prevent the occurrence of the situation that does not match the saved game state. When the processing shown in FIG. 38 to FIG. 40 is executed, the power supply to the gaming machine is stopped, so that the voltage applied to the electric components decreases. Then, when the applied voltage falls below the drivable voltage, the driving of the electric component is stopped. Therefore, when the power supply to the gaming machine is stopped, the driving of the electric parts is stopped although there is a short delay.

【0250】ところが、この実施の形態のような出力ポ
ートに対するクリア処理を行わないと、遊技状態が保存
された後、電力供給が停止するのを遊技制御手段が待っ
ている間に可変入賞球装置15にさらに入賞してしまう
こともある。そのような場合、電力供給再開時には保存
されている遊技状態が復帰されるので保存時の始動入賞
記憶数が始動記憶表示器18に表示される。すると、遊
技者から見ると、始動入賞の保留記憶値が少なくなって
しまっているように見え、トラブルが発生しかねない。
しかし、この実施の形態では、そのようなトラブルが生
ずる可能がなくなる。
However, if the clearing process for the output port as in this embodiment is not performed, the variable winning ball device while the game control means is waiting for the power supply to be stopped after the game state is saved. In some cases, the prize will be 15 more. In such a case, when the power supply is restarted, the saved game state is restored, so that the number of memory for winning the winning prize at the time of saving is displayed on the starting memory indicator 18. Then, from the player's point of view, it seems that the reserved memory value of the starting winnings has decreased, and a trouble may occur.
However, in this embodiment, such a trouble is unlikely to occur.

【0251】また、遊技状態が保存された後に、可変入
賞球装置としての大入賞口への入賞が発生する場合もあ
り得る。そのような場合、遊技者が認識している入賞個
数と、電力供給復帰時に、保存されていた遊技状態にも
とづいて表示部に表示される入賞個数とが食い違ってト
ラブルが生ずる可能性もある。しかし、この実施の形態
では、そのようなトラブルが生ずる可能がなくなる。
Further, after the game state is saved, there may be a case where a winning is made to the special winning opening as the variable winning ball device. In such a case, there is a possibility that the number of winning prizes recognized by the player and the number of winning prizes displayed on the display unit based on the saved game state at the time of power supply recovery are inconsistent with each other, causing a trouble. However, in this embodiment, such a trouble is unlikely to occur.

【0252】また、この実施の形態では、電源断信号に
応じて起動される処理の最初にレジスタの保存処理が行
われたが、スイッチ検出処理においてレジスタを使用し
ない場合には、スイッチ検出処理の実行後に、すなわ
ち、バックアップフラグの設定とチェックサムの算出の
処理の前にレジスタ保存処理を行うことができる。その
場合には、レジスタ保存処理、バックアップフラグ設定
処理、チェックサム算出処理および出力ポートのオフ設
定処理を電力供給停止時処理と見なすことができる。さ
らに、スイッチ検出処理において幾つかのレジスタを使
用する場合であっても、使用しないレジスタについて
は、バックアップフラグの設定とチェックサムの算出の
処理の前にレジスタ保存処理を行うことができる。
Further, in this embodiment, the register saving process is performed at the beginning of the process started in response to the power-off signal. However, if the register is not used in the switch detecting process, the switch detecting process is performed. The register saving process can be performed after the execution, that is, before the process of setting the backup flag and calculating the checksum. In that case, the register saving process, the backup flag setting process, the checksum calculation process, and the output port off setting process can be regarded as the power supply stop process. Further, even when some registers are used in the switch detection process, the register saving process can be performed on the unused registers before the backup flag setting and the checksum calculation process.

【0253】なお、出力ポートのクリア処理を、スイッ
チ検出処理の実行前(ステップS460の前)に行って
もよい。電力供給停止時処理の実行中では、CPU56
やスイッチ類はコンデンサの充電電力等で駆動されるこ
とになる。出力ポートのクリア処理をスイッチ検出処理
の実行前に行った場合には、大入賞口や可変入賞装置等
がソレノイド等の電気部品で駆動されるように構成され
ていても、それらが駆動されることはなく、コンデンサ
の充電電力等を電力供給停止時処理のために効果的に使
用することができる。
The output port clearing process may be performed before the switch detection process is executed (before step S460). During execution of the power supply stop process, the CPU 56
The switches and switches are driven by the charging power of the capacitors. If the output port clearing process is performed before the switch detection process is executed, even if the special winning opening and the variable winning device are configured to be driven by electric parts such as solenoids, they are driven. Therefore, the charging power of the capacitor and the like can be effectively used for the processing when the power supply is stopped.

【0254】ただし、電源が断することが検出された後
にV入賞スイッチ22を検出する場合には、ソレノイド
21(大入賞口をV入賞スイッチに誘導するための部材
を動作させるもの)の出力ポートについては、スイッチ
検出処理の実行後にクリアする。そのようにすれば、継
続権発生の条件であるV入賞をしていない状態で停電が
発生した場合、停電発生直前に大入賞口に入った遊技球
をV入賞スイッチ22の側に誘導することができる。従
って、不当な継続権の消滅を防止することができる。こ
の場合、電源が保持される期間は、大入賞口に入賞した
遊技球がV入賞スイッチ22に到達するまでの時間以上
の期間である。なお、ラッチ式のソレノイドを用いた場
合には、出力ポートのクリア処理は不要である。
However, when the V winning switch 22 is detected after the power is cut off, the output port of the solenoid 21 (which operates the member for guiding the special winning opening to the V winning switch) Is cleared after the switch detection process is executed. By doing so, when a power outage occurs in a state where the V winning that is the condition of continuation right is not generated, guide the game ball that entered the special winning opening just before the power outage to the V winning switch 22 side. You can Therefore, it is possible to prevent the unjustified extinction of the continuation right. In this case, the period during which the power source is held is a period of time or longer until the gaming ball that has won the special winning opening reaches the V winning switch 22. When a latch type solenoid is used, it is not necessary to clear the output port.

【0255】また、出力ポートのクリアによって大入賞
口が閉じた場合でも、大入賞口内に遊技球があることも
考えられるので、電源断信号に応じて実行されるスイッ
チ検出処理において、カウントスイッチ23の検出も行
うことが望ましい。上記の出力ポートのクリア処理をス
イッチ検出処理前に行ってもよいこと、および、上記の
例外的な処理については、第1種パチンコ遊技機におい
てのみならず、第2種パチンコ遊技機や第3種パチンコ
遊技機についても同様である。
Further, even when the special winning opening is closed by clearing the output port, it is possible that there is a game ball in the special winning opening. Therefore, in the switch detection processing executed in response to the power-off signal, the count switch 23 It is desirable to detect The clearing process of the output port may be performed before the switch detection process, and the exceptional process described above is not limited to the first type pachinko gaming machine, but also the second type pachinko gaming machine and the third type pachinko gaming machine. The same applies to the seed pachinko game machine.

【0256】なお、この実施の形態では、NMIに応じ
て電力供給停止時処理が実行されたが、電源断信号をC
PU56のマスク可能端子に接続し、マスク可能割込処
理によって電力供給停止時処理を実行してもよい。ま
た、電源断信号を入力ポートに入力し、入力ポートのチ
ェック結果に応じて電力供給停止時処理を実行してもよ
い。
In this embodiment, the power supply stoppage process is executed according to the NMI, but the power-off signal is changed to C
You may connect to the maskable terminal of PU56 and may perform a power supply stop process by a maskable interrupt process. Alternatively, a power-off signal may be input to the input port, and the power supply stoppage process may be executed according to the check result of the input port.

【0257】図41は、この実施の形態におけるRAM
領域のアドレスマップを示す説明図である。図41に示
すように、RAM領域の先頭はバックアップフラグの領
域に割り当てられている。そして、最後部にチェックサ
ムバッファの領域が割り当てられている。なお、バック
アップフラグからチェックサムバッファまでの領域が作
業領域に相当し、チェックサムバッファ以降の領域にス
タック領域が設定されている。また、この実施の形態で
は、RAM領域の全てが電源バックアップされている。
FIG. 41 shows a RAM according to this embodiment.
It is explanatory drawing which shows the address map of an area | region. As shown in FIG. 41, the head of the RAM area is assigned to the backup flag area. Then, the area of the checksum buffer is allocated at the end. The area from the backup flag to the checksum buffer corresponds to the work area, and the stack area is set in the area after the checksum buffer. In addition, in this embodiment, the entire RAM area is backed up by power supply.

【0258】図42は、チェックサム作成方法の一例を
説明するための説明図である。ただし、図42に示す例
では、簡単のために、バックアップRAM領域のデータ
のサイズを3バイトとする。電源電圧低下にもとづく電
力供給停止時処理において、図42に示すように、チェ
ックサムデータとして初期データ(この例では00
(H))が設定される。次に、「00(H)」と「F0
(H)」の排他的論理和がとられ、その結果と「16
(H)」の排他的論理和がとられる。さらに、その結果
と「DF(H)」の排他的論理和がとられる。そして、
その結果(この例では「39(H)」)を論理反転して
得られた値(この例では「C6(H)」)がチェックサ
ムバッファに設定される。
FIG. 42 is an explanatory diagram for explaining an example of the checksum creating method. However, in the example shown in FIG. 42, the size of the data in the backup RAM area is 3 bytes for simplicity. In the process at the time of stopping the power supply based on the power supply voltage drop, as shown in FIG. 42, as the checksum data, the initial data (00 in this example)
(H)) is set. Next, "00 (H)" and "F0
(H) "is exclusive ORed and the result and" 16 "
(H) "is exclusive-ORed. Furthermore, the exclusive OR of the result and "DF (H)" is taken. And
A value (“C6 (H)” in this example) obtained by logically inverting the result (“39 (H)” in this example) is set in the checksum buffer.

【0259】なお、図42では、説明を容易にするため
に、論理反転前のデータ「39(H)」がチェックサム
バッファに格納されている様子が示されている。なお、
初期データとしての00(H)はステップS460で設
定されるチェックサムデータに対するクリアデータに応
じた値であるが、実際には、00(H)との排他的論理
和は演算前と後とで値が変わらないので、00(H)と
の排他的論理和演算を行わなくてもよい。
For ease of explanation, FIG. 42 shows that the data "39 (H)" before logical inversion is stored in the checksum buffer. In addition,
00 (H) as the initial data is a value corresponding to the clear data with respect to the checksum data set in step S460, but in reality, the exclusive OR with 00 (H) is obtained before and after the operation. Since the value does not change, the exclusive OR operation with 00 (H) does not have to be performed.

【0260】この実施の形態では、チェックサムバッフ
ァは、バックアップRAM領域(変動データ記憶手段)
の最後のアドレスに格納されている。従って、例えば、
チェックサム作成方法のプログラムに誤りがないかどう
か確認する際に、容易にその確認を行うことができる。
RAM領域の最終アドレスの値が正しいか否か確認すれ
ばよいからである。また、この実施の形態では、チェッ
クサム算出開始アドレスはバックアップフラグが設定さ
れるアドレスであり、チェックサム算出最終アドレスは
賞球制御用フラグ・バッファのうちの最後のアドレスで
ある(図41参照)。従って、賞球制御用フラグ・バッ
ファの後、すなわち、バックアップRAM領域の最後の
アドレスをチェックサムバッファの領域にすれば、RA
M領域において無駄が生ずることはない。
In this embodiment, the checksum buffer is a backup RAM area (variable data storage means).
It is stored at the last address of. So, for example,
When confirming whether or not there is an error in the program of the checksum creation method, the confirmation can be easily performed.
This is because it is sufficient to confirm whether the value of the final address in the RAM area is correct. Further, in this embodiment, the checksum calculation start address is the address to which the backup flag is set, and the checksum calculation end address is the last address in the prize ball control flag buffer (see FIG. 41). . Therefore, after the prize ball control flag buffer, that is, if the last address of the backup RAM area is set to the checksum buffer area, RA
No waste occurs in the M area.

【0261】なお、確認のしやすさやRAM領域の無駄
防止を考慮すると、バックアップRAM領域の最初のア
ドレスをチェックサムバッファの領域にしてもよい。
In consideration of ease of confirmation and prevention of waste of the RAM area, the first address of the backup RAM area may be the checksum buffer area.

【0262】また、遊技機への電力供給開始時にはパリ
ティチェックOKか否かの判断が行われるが(図18に
おけるステップS9)、その判断では、電力供給停止時
処理におけるパリティデータの作成処理(ステップS4
82〜S491)と同様の処理が行われ、処理結果すな
わち演算結果がチェックサムバッファの内容と一致した
らパリティチェックOKと判定される。
Further, at the start of power supply to the gaming machine, it is judged whether or not the parity check is OK (step S9 in FIG. 18). In that judgment, the parity data creation process in the power supply stop process (step) is carried out. S4
82 to S491), and if the processing result, that is, the operation result matches the contents of the checksum buffer, it is determined that the parity check is OK.

【0263】なお、ここでは、バックアップRAM領域
の最後または最初のアドレスをチェックサムバッファの
領域にしたが、バックアップRAM領域の中途の領域に
チェックサムバッファの領域を割り当ててもよい。ま
た、この実施の形態では、作業領域のデータにもとづい
てチェックサムが生成されているが、スタック領域のデ
ータも含めてチェックサムを生成するようにしてもよ
い。
Although the last or first address of the backup RAM area is used as the checksum buffer area here, the checksum buffer area may be assigned to the middle area of the backup RAM area. Further, in this embodiment, the checksum is generated based on the data in the work area, but the checksum may be generated also including the data in the stack area.

【0264】さらに、この実施の形態では、電力供給開
始時に、電力供給停止時処理における処理と同じ処理に
よってチェックサムを生成し、生成されたチェックサム
とバックアップRAMに保存されていたチェックサムと
を比較したが、他の方法を用いてもよい。例えば、バッ
クアップRAMに保存されていたチェックサムを初期値
として、電力供給停止時処理において演算対象となった
各データについて演算を行い、演算結果が所定値(例え
ば00(H))と一致したらパリティチェックOKと判
定するようにしてもよい。また、パリティチェックのた
めのチェックデータはチェックサムに限られず、バック
アップRAMの内容が正当に保存されているかを判定で
きるものであれば、他のチェックデータを用いてもよ
い。
Further, in this embodiment, at the start of power supply, a checksum is generated by the same processing as the processing at power supply stop, and the generated checksum and the checksum stored in the backup RAM are combined. Although compared, other methods may be used. For example, by using the checksum stored in the backup RAM as an initial value, each data that is a calculation target in the power supply stop process is calculated, and if the calculation result matches a predetermined value (for example, 00 (H)), the parity It may be determined that the check is OK. The check data for the parity check is not limited to the checksum, and other check data may be used as long as it can determine whether the contents of the backup RAM are properly stored.

【0265】図43は、遊技機への電力供給停止時の電
源電圧低下やNMI信号(=電源断信号:電力供給停止
時信号)の様子を示すタイミング図である。遊技機に対
する電力供給が停止すると、最も高い直流電源電圧であ
るVSLの電圧値は徐々に低下する。そして、この例で
は、+22Vにまで低下すると、電源基板910に搭載
されている電源監視用IC902から電源断信号が出力
される(ローレベルになる)。
FIG. 43 is a timing chart showing the state of the power supply voltage drop and the NMI signal (= power cutoff signal: power supply stop signal) when the power supply to the gaming machine is stopped. When the power supply to the gaming machine is stopped, the voltage value of VSL, which is the highest DC power supply voltage, gradually decreases. Then, in this example, when the voltage drops to + 22V, the power supply cutoff signal is output from the power supply monitoring IC 902 mounted on the power supply board 910 (becomes a low level).

【0266】電源断信号は、電気部品制御基板(この実
施の形態では主基板31および払出制御基板37)に導
入され、CPU56および払出制御用CPU371のN
MI端子に入力される。CPU56および払出制御用C
PU371は、NMI処理によって、所定の電力供給停
止時処理を実行する。
The power-off signal is introduced to the electric component control board (in this embodiment, the main board 31 and the payout control board 37), and the CPU 56 and the payout control CPU 371 have N levels.
It is input to the MI terminal. CPU 56 and payout control C
The PU 371 executes a predetermined power supply stop process by the NMI process.

【0267】VSLの電圧値がさらに低下して所定値(こ
の例では+9V)にまで低下すると、主基板31や払出
制御基板37に搭載されているシステムリセット回路の
出力がローレベルになり、CPU56および払出制御用
CPU371がシステムリセット状態になる。なお、C
PU56および払出制御用CPU371は、システムリ
セット状態とされる前に、電力供給停止時処理を完了し
ている。
When the voltage value of VSL further decreases to a predetermined value (+ 9V in this example), the output of the system reset circuit mounted on the main board 31 or the payout control board 37 becomes low level, and the CPU 56 And the payout control CPU 371 enters the system reset state. Note that C
The PU 56 and the payout control CPU 371 have completed the power supply stoppage process before being brought into the system reset state.

【0268】VSLの電圧値がさらに低下してVcc(各種
回路を駆動するための+5V)を生成することが可能な
電圧を下回ると、各基板において各回路が動作できない
状態となる。しかし、少なくとも主基板31や払出制御
基板37では、電力供給停止時処理が実行され、CPU
56および払出制御用CPU371がシステムリセット
状態とされている。
When the voltage value of VSL further decreases and falls below the voltage capable of generating Vcc (+ 5V for driving various circuits), each circuit becomes inoperable in each substrate. However, at least on the main board 31 and the payout control board 37, the processing at the time of power supply stop is executed, and
56 and the payout control CPU 371 are in the system reset state.

【0269】以上のように、この実施の形態では、電源
監視回路は、遊技機で使用される直流電圧のうちで最も
高い電源VSLの電圧を監視して、その電源の電圧が所定
値を下回ったら電圧低下信号(電源断検出信号)を発生
する。図43に示すように、電源断信号が出力されるタ
イミングでは、IC駆動電圧は、まだ各種回路素子を十
分駆動できる電圧値になっている。従って、IC駆動電
圧で動作する主基板31のCPU56が所定の電力供給
停止時処理を行うための動作時間が確保されている。
As described above, in this embodiment, the power supply monitoring circuit monitors the voltage of the power supply VSL, which is the highest DC voltage used in the gaming machine, and the voltage of the power supply falls below the predetermined value. Generates a voltage drop signal (power cut detection signal). As shown in FIG. 43, at the timing when the power-off signal is output, the IC drive voltage is still at a voltage value that can sufficiently drive various circuit elements. Therefore, an operation time is ensured for the CPU 56 of the main board 31 operating with the IC drive voltage to perform a predetermined power supply stoppage process.

【0270】なお、ここでは、電源監視回路は、遊技機
で使用される直流電圧のうちで最も高い電源VSLの電圧
を監視したが、電源断信号を発生するタイミングが、I
C駆動電圧で動作する電気部品制御手段が所定の電力供
給停止時処理を行うための動作時間が確保されるような
タイミングであれば、監視対象電圧は、最も高い電源V
SLの電圧でなくてもよい。すなわち、少なくともIC駆
動電圧よりも高い電圧を監視すれば、電気部品制御手段
が所定の電力供給停止時処理を行うための動作時間が確
保されるようなタイミングで電源断信号を発生すること
ができる。
Here, the power supply monitoring circuit monitors the voltage of the power supply VSL, which is the highest of the DC voltages used in the gaming machine, but the timing of generating the power-off signal is I
The voltage to be monitored is the highest power supply V at the timing such that the operation time for the electric component control means operating at the C drive voltage to perform the predetermined power supply stop processing is secured.
It does not have to be the voltage of SL. That is, if at least a voltage higher than the IC drive voltage is monitored, the power-off signal can be generated at such a timing that the operation time for the electric component control means to perform the predetermined power supply stoppage process is secured. .

【0271】その場合、上述したように、監視対象電圧
は、電力供給停止時のスイッチオン誤検出の防止も期待
できる電圧であることが好ましい。すなわち、遊技機の
各種スイッチに供給される電圧(スイッチ電圧)が+1
2Vであることから、+12V電源電圧が落ち始める以
前の段階で、電圧低下を検出できることが好ましい。よ
って、少なくともスイッチ電圧よりも高い電圧を監視す
ることが好ましい。
In this case, as described above, it is preferable that the monitored voltage is a voltage that can be expected to prevent erroneous switch-on detection when power supply is stopped. That is, the voltage (switch voltage) supplied to the various switches of the gaming machine is +1
Since it is 2V, it is preferable that the voltage drop can be detected at a stage before the + 12V power supply voltage starts to drop. Therefore, it is preferable to monitor at least a voltage higher than the switch voltage.

【0272】図44は、判定回路950の一構成例を示
すブロック図である。図44に示す構成例では、判定回
路950において、NMI信号がタイマ951の入力端
子(タイマを起動させるための信号が入力されるトリガ
端子)に入力され、タイマ951の出力がフリップフロ
ップ952のセット端子に入力されている。また、フリ
ップフロップ952の他方の入力(リセット端子)に
は、リセット信号が入力されている。そして、フリップ
フロップ952の出力が判定信号としてCPU56の入
力ポートに入力される。フリップフロップ952は、例
えば、セット端子の入力信号の立ち下がりで出力をオン
状態にし、リセット端子にローレベルが入力されると出
力をオフ状態にするようなものである。
FIG. 44 is a block diagram showing a configuration example of the determination circuit 950. In the configuration example shown in FIG. 44, in the determination circuit 950, the NMI signal is input to the input terminal of the timer 951 (the trigger terminal to which the signal for starting the timer is input), and the output of the timer 951 is set in the flip-flop 952. It is input to the terminal. A reset signal is input to the other input (reset terminal) of the flip-flop 952. Then, the output of the flip-flop 952 is input to the input port of the CPU 56 as a determination signal. The flip-flop 952 is, for example, such that the output is turned on when the input signal of the set terminal falls and the output is turned off when a low level is input to the reset terminal.

【0273】なお、図44に示す構成において、タイマ
951の入力端子は電源監視手段からの検出信号を入力
するための検出信号入力部に相当し、フリップフロップ
952のリセット端子はシステムリセット手段からのリ
セット信号を入力するためのリセット信号入力部に相当
し、出力端子は検出信号入力部に信号が入力されてから
所定期間内にリセット信号入力部に信号が出力されたか
否かを特定可能な判定信号を遊技制御手段(具体的には
CPU56)に出力する判定信号出力部に相当する。
In the structure shown in FIG. 44, the input terminal of the timer 951 corresponds to the detection signal input section for inputting the detection signal from the power supply monitoring means, and the reset terminal of the flip-flop 952 is from the system reset means. Corresponds to the reset signal input section for inputting the reset signal, and the output terminal can determine whether the signal is output to the reset signal input section within a predetermined period after the signal is input to the detection signal input section. It corresponds to a determination signal output unit that outputs a signal to the game control means (specifically, the CPU 56).

【0274】判定回路950において、タイマ951
は、NMI信号の立ち下がりタイミングから計時を開始
する。タイマ951がタイムアウトする時間は、電力供
給が停止するときにリセット信号が出力されるまでの時
間よりも長く設定される。フリップフロップ952は、
NMI信号の立ち下がりが遅延された信号であるタイマ
951の出力信号が入力されると、図45に示すように
判定信号をオン状態(ハイレベル)にする。図45の
(A)に示すように、不正にNMI信号が入力されたと
きには、遊技機への電力供給は断しないので、CPU5
6に与えられるリセット信号はリセットレベルにならな
い。従って、CPU56は、判定信号がオン状態になっ
たことにもとづいて所定時間内にリセット信号が入力さ
れなかったと判断し、ランプ・LEDやスピーカ27か
らの音出力による不正報知態様を開始させる(図40に
おけるステップS171,S172)。一方、図45
(B)に示すように、不正にNMI信号が入力されたの
ではなく電力供給が停止するときには、フリップフロッ
プ952がリセット状態になり、その結果、判定信号が
オン状態になることなくリセット信号が出力されるの
で、不正報知態様は開始されない。
In determination circuit 950, timer 951
Starts timing from the falling timing of the NMI signal. The time out of the timer 951 is set longer than the time until the reset signal is output when the power supply is stopped. The flip-flop 952 is
When the output signal of the timer 951, which is a signal in which the falling edge of the NMI signal is delayed, is input, the determination signal is turned on (high level) as shown in FIG. As shown in (A) of FIG. 45, when the NMI signal is illegally input, the power supply to the gaming machine is not cut off, so the CPU 5
The reset signal applied to 6 does not reach the reset level. Therefore, the CPU 56 determines that the reset signal has not been input within the predetermined time based on the determination signal being in the ON state, and starts the fraudulent notification mode by the sound output from the lamp / LED or the speaker 27 (Fig. 40, steps S171 and S172). On the other hand, FIG.
As shown in (B), when the NMI signal is not improperly input and the power supply is stopped, the flip-flop 952 enters the reset state, and as a result, the reset signal does not turn on without the determination signal turning on. Since it is output, the injustice notification mode is not started.

【0275】このように、この実施の形態では、制御手
段は、電源監視手段からの検出信号の出力に関連して、
制御状態の復旧に必要なデータを変動データ記憶手段に
退避させる電力供給停止時処理を実行可能であり、電源
監視手段から検出信号を入力するための検出信号入力部
に信号が入力された後にシステムリセット手段からリセ
ット信号を入力するためのリセット信号入力部に信号が
入力されたか否かを判定するシステムリセット判定手段
の判定にもとづいて遊技機に設けられている報知手段に
て報知を行うための処理を実行する。そして、制御手段
は、システムリセット判定手段が検出信号入力部に信号
が入力されてから所定期間内にリセット信号入力部にリ
セット信号が入力されなかったと判定した場合に遊技機
に設けられている報知手段を用いて報知を開始させる。
また、システムリセット判定手段は、検出信号入力部に
信号が入力されてから所定期間内にリセット信号入力部
に信号が入力されたか否かを特定可能な判定信号を制御
手段に出力する判定信号出力部を備えている。
As described above, in this embodiment, the control means relates to the output of the detection signal from the power supply monitoring means,
It is possible to perform a power supply stoppage process for saving the data necessary for restoring the control state to the fluctuation data storage means, and the system after the signal is input to the detection signal input section for inputting the detection signal from the power supply monitoring means. For notifying by the notifying means provided in the gaming machine based on the judgment of the system reset judging means for judging whether or not the signal is inputted to the reset signal input portion for inputting the reset signal from the reset means Execute the process. Then, the control means, when the system reset determination means determines that the reset signal is not input to the reset signal input portion within a predetermined period after the signal is input to the detection signal input portion, the notification provided on the gaming machine The notification is started using the means.
Further, the system reset determination means outputs a determination signal to the control means, which can determine whether or not the signal is input to the reset signal input portion within a predetermined period after the signal is input to the detection signal input portion. It has a section.

【0276】図46は、判定回路950の他の構成例を
示すブロック図である。図46に示す構成例では、判定
回路950において、リセット信号がタイマ951に入
力され、タイマ951の出力がフリップフロップ952
のリセット端子に入力されている。また、フリップフロ
ップ952の他方の入力(セット端子)には、NMI信
号が入力されている。そして、フリップフロップ952
の出力が判定信号としてCPU56の入力ポートに入力
される。
FIG. 46 is a block diagram showing another configuration example of the determination circuit 950. In the configuration example shown in FIG. 46, in the determination circuit 950, the reset signal is input to the timer 951 and the output of the timer 951 is the flip-flop 952.
Input to the reset terminal of. The NMI signal is input to the other input (set terminal) of the flip-flop 952. And the flip-flop 952
Is output to the input port of the CPU 56 as a determination signal.

【0277】判定回路950において、フリップフロッ
プ952はNMI信号が入力されると、図46に示すよ
うに、判定信号をオン状態にし、タイマ951のタイム
アウトによって判定信号をオフ状態にする。タイマがタ
イムアウトする時間は、電力供給停止時にリセット信号
が出力されるまでの時間よりも短く設定される。従っ
て、判定信号がオン状態であるうちにステップS171
の判定信号入力処理が実行され、不正報知コマンドが、
ランプ制御コマンドや音制御コマンドとしてランプ制御
手段や音制御手段に送信される。ランプ制御手段や音制
御手段は、不正報知コマンドの受信に応じて、ランプ・
LEDの状態やスピーカ27からの音出力状態を不正報
知態様に制御する。図47の(A)に示すように、不正
にNMI信号が入力されたときには、遊技機への電力供
給は断しないので、CPU56に与えられるリセット信
号はリセットレベルにならない。従って、ランプ・LE
Dやスピーカ27からの音出力による不正報知態様は継
続する。以上のように、遊技制御手段は、システムリセ
ット判定手段の検出信号入力部(NMI信号の入力部)
に信号が入力されたことを条件に遊技機に設けられてい
る報知手段の報知を開始させる。また、システムリセッ
ト判定手段のリセット信号入力部に所定期間内にリセッ
ト信号が入力されなかった場合に遊技機に設けられてい
る報知手段による報知を継続する。
In the decision circuit 950, when the NMI signal is input to the flip-flop 952, the decision signal is turned on and the decision signal is turned off by the time out of the timer 951, as shown in FIG. The time-out of the timer is set shorter than the time until the reset signal is output when the power supply is stopped. Therefore, while the determination signal is in the on state, step S171
The judgment signal input process of is executed and the injustice notification command is
It is transmitted to the lamp control means or the sound control means as a lamp control command or a sound control command. The lamp control means and the sound control means respond to the lamp
The state of the LED and the state of sound output from the speaker 27 are controlled in an unauthorized notification mode. As shown in (A) of FIG. 47, when the NMI signal is illegally input, the power supply to the gaming machine is not cut off, and therefore the reset signal given to the CPU 56 does not reach the reset level. Therefore, the lamp / LE
The illegitimate notification mode by sound output from D or the speaker 27 continues. As described above, the game control means is the detection signal input section (NMI signal input section) of the system reset determination means.
The notification is started by the notification means provided in the gaming machine on the condition that the signal is input to. Further, when the reset signal is not input to the reset signal input unit of the system reset determination unit within a predetermined period, the notification by the notification unit provided in the gaming machine is continued.

【0278】しかし、正常時には、ランプ・LEDやス
ピーカ27からの音出力による不正報知態様が開始して
から、ごく短時間でリセット信号がリセットレベルにな
った後、遊技機への電力供給が断たれ(図43参照)、
電気部品であるランプ・LEDやスピーカ27の出力状
態はオフ状態になる。従って、遊技店員等は、不正報知
態様が継続して出現していることによって、その遊技機
に対して不正行為がなされたことを直ちに認識すること
ができる。
However, in a normal state, the power supply to the gaming machine is cut off after the reset signal reaches the reset level in a very short time after the illegal notification mode by the sound output from the lamp / LED or the speaker 27 is started. Sauce (see Figure 43),
The output state of the lamp / LED or the speaker 27, which is an electric component, is turned off. Therefore, the gaming shop clerk or the like can immediately recognize that the fraudulent activity has been performed on the gaming machine by the continuous appearance of the fraudulent notification mode.

【0279】このように、制御手段は、リセット信号入
力部に信号が入力されるまで報知手段による報知を継続
させる。なお、制御手段は、システムリセット判定手段
の判定にもとづいて報知手段にて報知を行うための処理
を電力供給停止時処理において実行している。
Thus, the control means keeps the notification by the notification means until a signal is input to the reset signal input section. Note that the control means executes the processing for the notification by the notification means based on the determination by the system reset determination means in the power supply stop processing.

【0280】図48は、判定回路950の他の構成例を
示すブロック図である。図48に示す構成例では、判定
回路950は汎用CMOS−ICである74HC123
(マルチバイブレータ)953で構成されている。74
HC123は、B入力端子に対してトリガ入力(B入力
信号の立ち下がり)があると、外付けの抵抗(図48に
おいて図示せず)の抵抗値とコンデンサ(図48におい
て図示せず)の容量とで決まる時間(図48においてt
1で示す期間)だけ出力(Q出力端子からのQ出力)を
ハイレベルにする。なお、その時間が経過する前にリセ
ット端子へのリセット信号がローレベルになると、Q出
力もローレベルになる。
FIG. 48 is a block diagram showing another configuration example of the determination circuit 950. In the configuration example shown in FIG. 48, the determination circuit 950 is a 74HC123 which is a general-purpose CMOS-IC.
(Multivibrator) 953. 74
When there is a trigger input (falling of the B input signal) to the B input terminal, the HC 123 has a resistance value of an external resistor (not shown in FIG. 48) and a capacitance of a capacitor (not shown in FIG. 48). Time (t in FIG. 48) determined by
The output (Q output from the Q output terminal) is set to the high level only for the period indicated by 1. If the reset signal to the reset terminal becomes low level before the time has elapsed, the Q output also becomes low level.

【0281】なお、図48に示す構成において、74H
C123のB入力端子は電源監視手段からの検出信号を
入力するための検出信号入力部に相当し、リセット端子
はシステムリセット手段からのリセット信号を入力する
ためのリセット信号入力部に相当し、Q出力端子は検出
信号入力部に信号が入力されてから所定期間内にリセッ
ト信号入力部に信号が出力されたか否かを特定可能な判
定信号を遊技制御手段(具体的にはCPU56)に出力
する判定信号出力部に相当する。
In the configuration shown in FIG. 48, 74H
The B input terminal of C123 corresponds to the detection signal input section for inputting the detection signal from the power supply monitoring means, the reset terminal corresponds to the reset signal input section for inputting the reset signal from the system reset means, and Q The output terminal outputs to the game control means (specifically, the CPU 56) a determination signal capable of specifying whether or not the signal is output to the reset signal input section within a predetermined period after the signal is input to the detection signal input section. It corresponds to the determination signal output unit.

【0282】また、マスク不能割込処理の後半(図38
〜図40に示すステップS451〜S492の処理に続
いて行われる処理)を、例えば、図50のフローチャー
トに示すように構成してもよい。すなわち、遊技状態を
保存するための処理が実行された後に出力ポートのクリ
ア処理が実行されると(ステップS493〜S49
9)、CPU56は、所定期間のループ処理を実行する
(ステップS170)。そして、正常時(電力供給停止
にもとづくNMI信号が生ずるとき)ではステップS1
70のループ処理が行われているときにリセット信号が
リセットレベルになるように、ループ期間が設定され
る。そのように構成すれば、正常時には、ステップS1
70の処理中にCPU56はリセット状態になり、その
後、電力供給が停止する。
The latter half of the non-maskable interrupt process (see FIG. 38).
To the processing of steps S451 to S492 shown in FIG. 40) may be configured as shown in the flowchart of FIG. 50, for example. That is, when the process for saving the game state is executed and then the output port clearing process is executed (steps S493 to S49).
9), the CPU 56 executes loop processing for a predetermined period (step S170). Then, in a normal state (when an NMI signal is generated due to the stop of power supply), step S1
The loop period is set so that the reset signal becomes the reset level while the loop processing of 70 is being performed. With such a configuration, at the normal time, step S1
During the process of 70, the CPU 56 is in the reset state, and then the power supply is stopped.

【0283】しかし、正常時でない場合(不正にNMI
信号が入力された場合)には、ループ処理が完了する前
にリセット信号がリセットレベルにならず、ステップS
172の処理が実行される。すなわち、CPU56は、
不正報知コマンド(ランプ制御コマンドあるいは音制御
コマンド、または双方)を送信するための処理を実行す
る。なお、不正にNMI信号が入力された場合の処理タ
イミング例が図49(A)に示され、正常時の処理タイ
ミング例が図49(B)に示されている。
However, if it is not normal (unauthorized NMI
Signal is input), the reset signal does not reach the reset level before the loop processing is completed, and the step S
The process of 172 is executed. That is, the CPU 56
A process for transmitting an injustice notification command (a lamp control command, a sound control command, or both) is executed. Note that FIG. 49 (A) shows an example of processing timing when an NMI signal is illegally input, and FIG. 49 (B) shows an example of processing timing in a normal state.

【0284】従って、判定回路950は、実質的に、電
源断信号に相当するNMI信号が出力されてから所定期
間内に、システムリセット手段(図14に示されたリセ
ット信号を作成する各回路)からのリセット信号が出力
されたか否か(具体的にはリセットレベルになったか否
か)を判定する手段、すなわち、検出信号入力部に信号
が入力された後にリセット信号入力部に信号が入力され
たか否かを判定するシステムリセット判定手段を構成し
ている。つまり、図49においてt1で示された所定期
間内にリセット信号が出力されれば、判定信号の出力状
態をオフ状態にする。そして、遊技制御手段は、判定回
路950の判定の結果(判定信号)にもとづいて、ラン
プ制御手段や音制御手段に不正報知を行わせる。つま
り、遊技制御手段は、システムリセット判定手段が検出
信号入力部に信号が入力されてから所定期間内にリセッ
ト信号入力部にリセット信号が入力されなかったと判定
した場合に、遊技機に設けられている報知手段を用いて
報知を行うための処理を実行する。従って、不正にNM
I信号がCPU56に送り込まれたときに、遊技機の外
部から、そのことを容易に認識することができる。
Therefore, the determination circuit 950 is, in effect, the system reset means (each circuit for generating the reset signal shown in FIG. 14) within a predetermined period after the NMI signal corresponding to the power-off signal is output. Means for determining whether or not the reset signal from the device is output (specifically, whether or not the reset level has been reached), that is, the signal is input to the reset signal input unit after the signal is input to the detection signal input unit. It constitutes a system reset judging means for judging whether or not there is. That is, if the reset signal is output within the predetermined period indicated by t1 in FIG. 49, the output state of the determination signal is turned off. Then, the game control means causes the lamp control means and the sound control means to make an illegal notification based on the result (judgment signal) of the judgment of the judgment circuit 950. That is, the game control means is provided in the gaming machine when the system reset determination means determines that the reset signal has not been input to the reset signal input portion within a predetermined period after the signal has been input to the detection signal input portion. The processing for performing the notification is performed using the notification means that is present. Therefore, illegally NM
When the I signal is sent to the CPU 56, the fact can be easily recognized from the outside of the gaming machine.

【0285】図51は、CPU周りの他の構成例を示す
ブロック図である。図51に示す例では、図14に示さ
れた構成例とは異なり、バッファ回路900からのNM
I信号は規制回路950Aのみに入力され、CPU56
のマスク不能割込端子には、規制回路950Aから信号
が供給される。図52は、規制回路950Aの構成例を
示すブロック図である。図52に示す構成例では、規制
回路950Aには、電源基板910からのケーブル(図
示せず)、および主基板31に設けられた電源監視手段
からの検出信号の入力部としてのコネクタ950Cを介
してNMI信号が入力される。
FIG. 51 is a block diagram showing another example of the configuration around the CPU. In the example shown in FIG. 51, the NM from the buffer circuit 900 is different from the configuration example shown in FIG.
The I signal is input only to the regulation circuit 950A, and the CPU 56
A signal is supplied from the restriction circuit 950A to the non-maskable interrupt terminal. FIG. 52 is a block diagram showing a configuration example of the regulation circuit 950A. In the configuration example shown in FIG. 52, the regulation circuit 950A is provided with a cable (not shown) from the power supply board 910 and a connector 950C as an input section of a detection signal from the power supply monitoring means provided on the main board 31. The NMI signal is input.

【0286】規制回路950Aにおいて、NMI信号
は、まず、ローパスフィルタ950aに入力される。そ
して、ローパスフィルタ950aの出力が、入力信号に
立ち下がりがあると出力をローレベルにするフリップフ
ロップ950bに入力される。そして、フリップフロッ
プ950bの出力が、CPU56のマスク不能割込端子
に入力される。この例では、フリップフロップ950b
が、入力された検出信号にもとづいて割込信号を出力し
た後、少なくとも所定期間は検出信号が入力された場合
であっても割込信号の出力状態を保持する割込信号出力
回路に相当する。
In the restriction circuit 950A, the NMI signal is first input to the low pass filter 950a. The output of the low-pass filter 950a is input to the flip-flop 950b that sets the output to the low level when the input signal falls. Then, the output of the flip-flop 950b is input to the non-maskable interrupt terminal of the CPU 56. In this example, flip-flop 950b
Corresponds to an interrupt signal output circuit that holds the output state of the interrupt signal at least for a predetermined period after outputting the interrupt signal based on the input detection signal, even if the detection signal is input. .

【0287】図53は、処理タイミング例を示すタイミ
ング図である。この例では、マスク不能割込処理は、図
38〜図40に示されたように実行される。ただし、こ
の例では判定信号を用いていないので、ステップS17
1およびS172の処理を実行しない。そして、正常時
であれば、図53(A)に示すように、遊技状態を保存
するための処理および出力ポートクリア処理が実行され
た後、リセット信号がリセットレベルになってから、遊
技機への電力供給が断たれる(図43参照)。
FIG. 53 is a timing chart showing an example of processing timing. In this example, the non-maskable interrupt process is executed as shown in FIGS. 38 to 40. However, since the determination signal is not used in this example, step S17
1 and S172 are not executed. Then, if normal, as shown in FIG. 53A, after the process for saving the game state and the output port clear process are executed, after the reset signal becomes the reset level, the game machine Is cut off (see FIG. 43).

【0288】不正にNMI信号が入力された場合には、
図53(B)に示すように、遊技機への電力供給は断し
ないので、CPU56に与えられるリセット信号はリセ
ットレベルにならない。しかし、規制回路950Aにお
けるフリップフロップ950bは初回に入力されたNM
I信号以外の不正な信号(図53(B)に示すローレベ
ルパルス)を出力に伝達しない。その結果、CPU56
のXNMI端子には、1回の立ち下がりしか入力され
ず、複数回の割込がかかることはない。従って、主基板
31に対して基板外から不正にNMI信号を繰り返し入
力しても、スタックオーバーフローは生じない。従っ
て、プログラムが暴走して遊技制御が初期状態から開始
されるようなこともない。すなわち、大当り判定値に一
致するタイミングを容易に把握できてしまうという状況
は発生しない。
When an NMI signal is illegally input,
As shown in FIG. 53B, the power supply to the gaming machine is not cut off, so that the reset signal supplied to the CPU 56 does not reach the reset level. However, the flip-flop 950b in the regulation circuit 950A is the NM input first time.
Illegal signals other than the I signal (low level pulse shown in FIG. 53B) are not transmitted to the output. As a result, the CPU 56
Only one falling edge is input to the XNMI terminal of, and interrupts are not generated a plurality of times. Therefore, stack overflow does not occur even if the NMI signal is repeatedly input to the main board 31 from outside the board without authorization. Therefore, the program does not run away and the game control does not start from the initial state. That is, the situation in which the timing that matches the jackpot determination value can be easily grasped does not occur.

【0289】また、規制回路950Aを設けることによ
って、通常の電力供給停止時に、電源電圧の不安定等に
起因して複数回NMI信号が発生したとしても、CPU
56には、マスク不能割込が1回しかからない。従っ
て、電力供給停止時処理が確実に実行される。
Further, by providing the regulation circuit 950A, even when the NMI signal is generated a plurality of times due to instability of the power supply voltage or the like when the normal power supply is stopped, the CPU
56 has only one non-maskable interrupt. Therefore, the processing when the power supply is stopped is surely executed.

【0290】さらに、フリップフロップ950bの前段
にローパスフィルタ950aが設けられているので、所
定パルス幅以下のノイズはフリップフロップ950bに
伝達されない。すなわち、ノイズの影響も除去されてい
る。なお、ここでは、ローパスフィルタ950aが用い
られているが、電源監視手段からの検出信号における有
効期間以下の信号の変化を除去するために、例えば3端
子コンデンサやフェライトビーズなどによる他のフィル
タ回路を用いることもできる。ここで、有効期間とは、
少なくともその期間のローレベルが継続するとCPU5
6がマスク不能割込を受け付けることになる期間(マス
ク不能割込受け付け可能期間)である。
Further, since the low-pass filter 950a is provided in the preceding stage of the flip-flop 950b, noise having a predetermined pulse width or less is not transmitted to the flip-flop 950b. That is, the influence of noise is also removed. Although the low-pass filter 950a is used here, another filter circuit such as a three-terminal capacitor or a ferrite bead is used in order to remove a change in the detection signal from the power supply monitoring unit which is equal to or less than the effective period. It can also be used. Here, the term of validity is
If the low level continues for at least that period, the CPU 5
6 is a period during which the non-maskable interrupt is accepted (non-maskable interrupt acceptable period).

【0291】このように、この実施の形態では、主基板
31において、複数回NMI信号が発生したとしてもC
PU56にはマスク不能割込が1回しかからないように
するための規制回路950Aが設けられている。規制回
路950Aは、電源監視手段からの検出信号が入力され
た場合に遊技制御手段(具体的にはCPU56)に対し
て電源監視手段から検出信号が入力されたことを示す信
号を出力するとともに、再度検出信号が入力された場合
であっても、検出信号が入力されたことを示す信号の出
力状態を保持する。すなわち、CPU56のマスク不能
割込端子に与えられる信号(割込信号)の出力状態を保
持する。
As described above, in this embodiment, even if the NMI signal is generated a plurality of times on the main substrate 31, C
The PU 56 is provided with a restriction circuit 950A for preventing the non-maskable interrupt from occurring only once. The restriction circuit 950A outputs a signal indicating that the detection signal is input from the power supply monitoring means to the game control means (specifically, the CPU 56) when the detection signal from the power supply monitoring means is input, Even when the detection signal is input again, the output state of the signal indicating that the detection signal is input is held. That is, the output state of the signal (interrupt signal) applied to the non-maskable interrupt terminal of the CPU 56 is held.

【0292】従って、電源基板910と主基板31との
間のケーブル等に不正信号を発生する不正基板等が設置
されても、不正信号による不正行為を無効にすることが
できる。また、不正行為を防止するだけでなく、通常の
電力供給停止時に電源電圧の不安定等に起因して複数回
NMI信号が発生するような状況において、複数回のマ
スク不能割込の発生を防止することができるので、電力
供給停止時処理が常に確実に実行される。
Therefore, even if an illegal board or the like that generates an illegal signal is installed on the cable or the like between the power supply board 910 and the main board 31, the illegal act by the illegal signal can be nullified. In addition to preventing fraudulent activities, it also prevents multiple non-maskable interrupts in situations where NMI signals are generated multiple times due to instability of the power supply voltage during normal power supply interruption. Therefore, the process at the time of stopping the power supply is always executed reliably.

【0293】図52に示された規制回路950Aは判定
信号を出力しなかったが、図53に示すように、判定信
号を出力する規制回路950Bを設けてもよい。図54
は、規制回路950Bの構成を示すブロック図である。
図54に示すように、規制回路950Bには、電源基板
910からのケーブル(図示せず)および主基板31に
設けられたコネクタ950Cを介してNMI信号が入力
される。
Although regulation circuit 950A shown in FIG. 52 does not output the determination signal, regulation circuit 950B that outputs the determination signal may be provided as shown in FIG. FIG. 54
FIG. 9 is a block diagram showing a configuration of a regulation circuit 950B.
As shown in FIG. 54, the NMI signal is input to the restriction circuit 950B via a cable (not shown) from the power supply board 910 and a connector 950C provided on the main board 31.

【0294】規制回路950Bにおいて、NMI信号
は、まず、ローパスフィルタ950aに入力される。そ
して、ローパスフィルタ950aの出力が、汎用CMO
S−ICである74HC123(マルチバイブレータ)
953に入力される。74HC123は、トリガ入力
(B入力立ち下がり)があると、外付けの抵抗(図55
において図示せず)の抵抗値とコンデンサ(図55にお
いて図示せず)の容量とで決まる時間だけQ出力をハイ
レベルにし、Q ̄出力をローレベルにする。なお、その
時間が経過する前にリセット信号がローレベルになる
と、Q出力もローレベルになる。そして、Q出力を、判
定信号としてCPU56の入力ポートに入力させるとと
もに、Q ̄出力をCPU56のマスク不能割込端子に入
力させる。従って、この例では、74HC123が、入
力された検出信号にもとづいて割込信号を出力した後、
少なくとも所定期間は検出信号が入力された場合であっ
ても割込信号の出力状態を保持する割込信号出力回路に
相当する。
In the restriction circuit 950B, the NMI signal is first input to the low pass filter 950a. The output of the low-pass filter 950a is the general-purpose CMO.
74HC123 (multivibrator) which is S-IC
953 is input. When there is a trigger input (B input falling), the 74HC123 has an external resistor (see FIG. 55).
The Q output is set to the high level and the Q output is set to the low level for a time determined by the resistance value of the capacitor (not shown) and the capacitance of the capacitor (not shown in FIG. 55). It should be noted that if the reset signal becomes low level before the time has elapsed, the Q output also becomes low level. Then, the Q output is input to the input port of the CPU 56 as a determination signal, and the Q output is input to the non-maskable interrupt terminal of the CPU 56. Therefore, in this example, after the 74HC123 outputs an interrupt signal based on the input detection signal,
It corresponds to an interrupt signal output circuit that holds the output state of the interrupt signal even when the detection signal is input for at least a predetermined period.

【0295】図56および図57は、処理タイミング例
を示すタイミング図である。この例では、マスク不能割
込処理は、図38〜図40に示されたように実行され
る。すなわち、遊技状態を保存するための処理および出
力ポートクリア処理が実行された後、CPU56は、不
正報知コマンド(ランプ制御コマンドあるいは音制御コ
マンド、または双方)を送信するための処理を実行す
る。そして、正常時であれば、図56に示すように、ラ
ンプ・LEDやスピーカ27からの音出力による不正報
知態様が開始してから、ごく短時間でリセット信号がリ
セットレベルになった後、すなわちリセット信号が発生
した後、遊技機への電力供給が断たれ(図43参照)、
電気部品であるランプ・LEDやスピーカ27の出力状
態はオフ状態になる。なお、図55に示された規制回路
950Bは、リセット信号が発生すると、CPU56の
XNMI端子に入力される割込信号および判定信号の状
態も変化させる。
56 and 57 are timing charts showing an example of processing timing. In this example, the non-maskable interrupt process is executed as shown in FIGS. 38 to 40. That is, after the processing for saving the game state and the output port clear processing are executed, the CPU 56 executes the processing for transmitting the injustice notification command (the lamp control command, the sound control command, or both). Then, in the normal time, as shown in FIG. 56, after the illegitimate notification mode by the sound output from the lamp / LED or the speaker 27 is started, the reset signal becomes the reset level in a very short time, that is, After the reset signal is generated, the power supply to the gaming machine is cut off (see FIG. 43),
The output state of the lamp / LED or the speaker 27, which is an electric component, is turned off. When the reset signal is generated, the regulation circuit 950B shown in FIG. 55 also changes the states of the interrupt signal and the determination signal input to the XNMI terminal of the CPU 56.

【0296】しかし、不正にNMI信号が入力された場
合には、図57に示すように、遊技機への電力供給は断
しないので、CPU56に与えられるリセット信号はリ
セットレベルにならない。従って、ランプ・LEDやス
ピーカ27からの音出力による不正報知態様は継続す
る。
However, when the NMI signal is illegally input, as shown in FIG. 57, the power supply to the gaming machine is not cut off, so that the reset signal given to the CPU 56 does not become the reset level. Therefore, the injustice notification mode by the sound output from the lamp / LED or the speaker 27 continues.

【0297】つまり、図57に示すように、連続的にN
MI信号が不正に入力された場合には、74HC123
(マルチバイブレータ)953に対して再度トリガがか
かる(抵抗値とコンデンサの容量とで決まる時間が再度
0から始まる)ので、CPU56には、最初の1回のみ
割込信号が入力される。連続的にNMI信号が不正に入
力され、マスク不能割込処理が多数回実行されるとスタ
ックオーバーフローが生じてプログラムが暴走する可能
性がある。その際に、ランプ制御手段に対して、不正報
知コマンドとは異なるランプ制御コマンドを送出してし
まい、ランプ制御手段が不正報知を中断してしまう可能
性もある。しかし、図57に示すように規制回路950
Bが最初の1回のみ割込信号を出力すれば、スタックオ
ーバーフローが生ずる可能性はない。
That is, as shown in FIG. 57, N
If the MI signal is illegally input, 74HC123
Since the (multivibrator) 953 is triggered again (the time determined by the resistance value and the capacitance of the capacitor starts from 0 again), the interrupt signal is input to the CPU 56 only once at the first time. If the NMI signal is continuously input illegally and the non-maskable interrupt process is executed many times, stack overflow may occur and the program may run out of control. At that time, there is a possibility that a lamp control command different from the injustice notification command is sent to the lamp control means, and the lamp control means interrupts the injustice notification. However, as shown in FIG.
If B outputs an interrupt signal only once at the beginning, there is no possibility of stack overflow.

【0298】このように、規制回路950Bは、入力さ
れた検出信号にもとづいて割込信号を出力した後、少な
くとも所定期間は、検出信号が入力された場合であって
も割込信号の出力状態を保持する。すなわち、割込信号
の出力状態を継続する。そして、所定期間(上記の例で
は抵抗値とコンデンサの容量とで決まる時間)内に検出
信号が再度入力された場合であっても検出信号が入力さ
れたことを示す信号の出力状態(割込信号の出力状態)
を変化させない。
As described above, the restriction circuit 950B outputs the interrupt signal based on the input detection signal, and then outputs the interrupt signal for at least a predetermined period even if the detection signal is input. Hold. That is, the output state of the interrupt signal is continued. Then, even when the detection signal is input again within a predetermined period (the time determined by the resistance value and the capacitance of the capacitor in the above example), the output state of the signal indicating that the detection signal is input (interruption) Signal output status)
Does not change.

【0299】なお、上記の所定期間には、電力供給停止
時処理において賞球カウントスイッチ301Aの検出信
号の入力監視処理(図39におけるステップS460〜
S480)を実行している入力監視時間が含まれる。従
って、入力監視処理が行われている間に、割込信号の出
力状態が変化することはない。また、所定期間には、電
力供給停止時処理の開始時からアクセス禁止処理(図4
0におけるステップS492)を実行するまでの期間が
含まれる。従って、アクセス禁止処理が行われる前に、
割込信号の出力状態が変化することはない。
It should be noted that during the above-mentioned predetermined period, the input monitoring process of the detection signal of the prize ball count switch 301A in the power supply stop process (steps S460 to S460 in FIG. 39).
The input monitoring time during which S480) is executed is included. Therefore, the output state of the interrupt signal does not change while the input monitoring process is being performed. Further, during a predetermined period, the access prohibition process (see FIG.
The period until step S492) in 0 is executed is included. Therefore, before access prohibition processing is performed,
The output state of the interrupt signal does not change.

【0300】電力供給停止時処理において賞球カウント
スイッチ301Aの検出信号の入力監視処理が実行され
るので、システムリセット待ちのループ処理(例えばス
テップS171のループ)に入るまでの時間は比較的長
くなっている。従って、電力供給停止時の電圧低下に伴
って発生する可能性がある複数回のNMI信号が、電力
供給停止時処理の実行中にCPU56に入る可能性が高
まる。従って、上記の各実施の形態のように割込信号出
力回路が入力された検出信号にもとづいて割込信号を出
力した後少なくとも所定期間は検出信号が入力された場
合であっても割込信号の出力状態を保持する構成は、電
力供給停止時処理において入力監視処理を実行するよう
に構成した場合に特に有効である。
Since the input monitoring process of the detection signal of the prize ball count switch 301A is executed in the power supply stop process, the system reset waiting loop process (for example, the loop of step S171) takes a relatively long time. ing. Therefore, there is an increased possibility that the NMI signals that may occur with the voltage drop when the power supply is stopped enter the CPU 56 during the execution of the power supply stop process. Therefore, even if the detection signal is input for at least a predetermined period after the interrupt signal is output based on the detection signal input by the interrupt signal output circuit as in the above-described embodiments, the interrupt signal is input. The configuration for holding the output state of is particularly effective when configured to execute the input monitoring process in the power supply stop process.

【0301】また、上記の実施の形態では、電源断信号
(NMI信号)がマスク不能割込端子に入力されたが、
マスク可能割込端子に入力するようにしてもよく、入力
ポートに入力するようにしてもよい。入力ポートに入力
される場合には、遊技制御手段は、ポートチェックの結
果電源断信号がオン状態であれば、上述したマスク不能
割込処理に相当する処理を実行する。
In the above embodiment, the power-off signal (NMI signal) is input to the non-maskable interrupt terminal.
It may be input to the maskable interrupt terminal or may be input to the input port. When inputting to the input port, the game control means executes a process corresponding to the non-maskable interrupt process described above if the power-off signal is in the ON state as a result of the port check.

【0302】さらに、上記の実施の形態では、主基板3
1における制御について説明したが、払出制御基板37
に搭載されているRAMにも電源バックアップされてい
る領域があり、払出制御用CPU371は電源断信号に
もとづく制御状態保存処理を行うので、上述した判定手
段および判定手段の判定結果にもとづく制御を適用する
ことができる。また、払出制御基板37に限らず、電源
断信号にもとづく制御状態保存処理を行う他の制御手段
があれば、その制御手段にも上述した判定手段および判
定手段の判定結果にもとづく制御を適用することができ
る。
Further, in the above embodiment, the main substrate 3
Although the control in 1 has been described, the payout control board 37
The RAM installed in the CPU also has an area where the power is backed up, and the payout control CPU 371 performs the control state saving process based on the power-off signal. Therefore, the above-described determination unit and the control based on the determination result of the determination unit are applied. can do. In addition to the payout control board 37, if there is another control means for performing the control state saving process based on the power-off signal, the above-mentioned determination means and the control based on the determination result of the determination means are applied to that control means. be able to.

【0303】なお、上記の実施の形態では、電源監視手
段は電源基板910に搭載されていたが、主基板31以
外の他の基板や、遊技機における他の箇所に設定されて
いてもよい。また、システムリセット手段は主基板31
に搭載されていたが、電源基板910等の他の基板に搭
載されていてもよい。
In the above embodiment, the power supply monitoring means is mounted on the power supply board 910, but it may be set on a board other than the main board 31 or at another place in the gaming machine. Further, the system reset means is the main board 31.
However, it may be mounted on another substrate such as the power supply substrate 910.

【0304】また、上記の実施の形態では、判定用乱数
や初期値決定用乱数を生成するためのカウンタは、初期
化処理(図18に示すステップS11)において0に初
期化されたが、初期化処理においてカウンタの値を0に
初期化しないようにしてもよい。そのようにすれば、初
期化処理が実行されても各カウンタの初期値がばらつく
ので、本発明の効果を補強することができる。
Further, in the above embodiment, the counter for generating the judgment random number and the initial value determination random number is initialized to 0 in the initialization process (step S11 shown in FIG. 18). The counter value may not be initialized to 0 in the conversion processing. By doing so, the initial value of each counter varies even if the initialization process is executed, so that the effect of the present invention can be reinforced.

【0305】例えば、システムリセット回路65に相当
する回路(リセット回路とする。)が、主基板31では
なく電源源基板910等の主基板31の外部の基板に設
けられ、そのリセット回路からシステムリセット信号を
主基板31に入力しているような構成では、基板間で、
不正行為がなされる可能性がある。例えば、基板間のケ
ーブルに、主基板31に対して不正にシステムリセット
信号を入力させるような不正回路が接続されて不正行為
がなされる可能性がある。主基板31のCPU56に対
して不正にシステムリセット信号が入力された場合に
は、遊技機に対して電力供給が開始された場合と同様に
制御状態が初期状態に戻る。すなわち、CPU56は、
図18に示されたメイン処理を最初から実行する状態に
なる。この場合、電力供給停止時処理は実行されていな
いので、遊技状態復旧処理(図18におけるステップS
10)は実行されず、CPU56は初期化処理を実行す
る。
For example, a circuit corresponding to the system reset circuit 65 (referred to as a reset circuit) is provided not on the main substrate 31 but on a substrate outside the main substrate 31 such as the power source substrate 910, and the system reset is performed from the reset circuit. In a configuration in which a signal is input to the main board 31, between the boards,
There is a possibility of cheating. For example, there is a possibility that a fraudulent act will be performed by connecting a fraudulent circuit for fraudulently inputting a system reset signal to the main board 31 to the cable between the boards. When the system reset signal is illegally input to the CPU 56 of the main board 31, the control state returns to the initial state as in the case where the power supply to the gaming machine is started. That is, the CPU 56
The main processing shown in FIG. 18 is ready to be executed from the beginning. In this case, since the power supply stop process is not executed, the game state recovery process (step S in FIG. 18)
10) is not executed, and the CPU 56 executes the initialization process.

【0306】初期化処理において、判定用乱数を生成す
るためのカウンタのカウント値を0に初期化すると、不
正にシステムリセット信号を入力させた時点から、大当
り判定用乱数(ランダム1)を生成するためのカウンタ
のカウント値が大当り判定値に一致するタイミングを予
測することが容易になってしまう。そして、不正行為者
は、そのタイミングで始動入賞が生じたような不正信号
を主基板31に送り込むことによって、不正に大当りを
生じさせてしまう。
In the initialization processing, if the count value of the counter for generating the random number for determination is initialized to 0, the random number for random determination (random 1) is generated from the time when the system reset signal is illegally input. Therefore, it becomes easy to predict the timing when the count value of the counter coincides with the jackpot determination value. Then, the cheating person sends a fraudulent signal to the main board 31 such that a start winning occurs at that timing, thereby fraudulently causing a big hit.

【0307】しかし、初期化処理において、判定用乱数
を生成するためのカウンタのカウント値を0に初期化し
ないようにしておけば、そのような不正行為を防止する
ことができる。そして、電力供給停止時処理が実行され
た後、電力供給が復旧して遊技状態復旧処理が実行され
る場合には、遊技状態復旧処理において、CPU56
は、バックアップRAMに保存されているカウント値か
らカウンタの歩進を再開する。
However, such an illegal act can be prevented by not initializing the count value of the counter for generating the judgment random number to 0 in the initialization processing. Then, when the power supply is restored and the game state restoration process is performed after the power supply stop process is performed, the CPU 56 in the game state restoration process.
Restarts the counter from the count value stored in the backup RAM.

【0308】あるいは、初期化処理において、初期値決
定用乱数を生成するためのカウンタのカウント値を0に
初期化しないようにしておけば、不正にシステムリセッ
ト信号が入力されたことによって制御状態が初期状態に
戻っても、すぐに、判定用乱数を生成するためのカウン
タのカウント値は、初期値決定用乱数を生成するための
カウンタのカウント値によって更新されるので、ランダ
ム1を生成するためのカウンタのカウント値が大当り判
定値に一致するタイミングを予測することが困難にな
る。そして、電力供給停止時処理が実行された後、電力
供給が復旧して遊技状態復旧処理が実行される場合に
は、遊技状態復旧処理において、CPU56は、バック
アップRAMに保存されているカウント値から、初期値
決定用乱数を生成するためのカウンタの歩進を再開す
る。
Alternatively, in the initialization processing, if the count value of the counter for generating the random number for initial value determination is not initialized to 0, the control state may be changed due to the illegal input of the system reset signal. Even after returning to the initial state, the count value of the counter for generating the random number for determination is immediately updated with the count value of the counter for generating the random number for initial value determination. It becomes difficult to predict the timing at which the count value of the counter of (1) matches the jackpot determination value. Then, when the power supply is restored and the game state restoration process is performed after the power supply stop process is performed, in the game state restoration process, the CPU 56 determines from the count value stored in the backup RAM. , Restart the stepping of the counter for generating the random number for determining the initial value.

【0309】また、判定用乱数を生成するためのカウン
タおよび初期値決定用乱数を生成するためのカウンタと
は別に、無限カウンタ(タイマ割込処理で常に更新され
る)を設け、初期化処理において、無限カウンタのカウ
ント値を、初期値としてランダム1を生成するためのカ
ウンタに設定するようにしてもよい。そのようにして
も、ランダム1を生成するためのカウンタのカウント値
が大当り判定値に一致するタイミングを予測することが
困難になる。なお、無限カウンタは例えば2バイトで構
成されるが、初期化処理において、例えば無限カウンタ
の下位8ビットの値が、ランダム1を生成するためのカ
ウンタに設定される。
In addition to the counter for generating the random number for determination and the counter for generating the random number for initial value determination, an infinite counter (which is constantly updated by the timer interrupt process) is provided to perform the initialization process. The count value of the infinite counter may be set to a counter for generating random 1 as an initial value. Even in such a case, it becomes difficult to predict the timing when the count value of the counter for generating the random 1 matches the big hit determination value. Although the infinite counter is composed of, for example, 2 bytes, the value of the lower 8 bits of the infinite counter is set to the counter for generating the random 1 in the initialization process.

【0310】さらに、CPU56は、電力供給停止時処
理中または初期化処理中であることを示す信号を遊技機
外部に出力するようにしてもよい。例えば、情報出力信
号としてホールコンピュータ等に出力する。電力供給停
止時処理中であることを示す信号をホールコンピュータ
等に出力するようにした場合には、遊技店側で電力供給
停止時処理中であることが認識可能になる。よって、実
際には電力供給が停止していないにも関わらず電力供給
停止時処理中であることを示す信号が遊技機から出力さ
れた場合には不正行為がなされたと判断することができ
る。また、初期化処理中であることを示す信号をホール
コンピュータ等に出力するようにした場合には、遊技店
側で初期化処理中であることが認識可能になる。よっ
て、実際には電力供給が停止していないにも関わらず初
期化処理中であることを示す信号が遊技機から出力され
た場合には不正行為がなされたと判断することができ
る。
Further, the CPU 56 may output to the outside of the gaming machine a signal indicating that the power supply stop time process or the initialization process is being executed. For example, the information output signal is output to a hall computer or the like. When the signal indicating that the power supply stop processing is being performed is output to the hall computer or the like, it becomes possible for the gaming shop to recognize that the power supply stop processing is being performed. Therefore, it is possible to determine that a fraudulent act has been performed when a signal indicating that the power supply stop processing is being executed is output from the gaming machine even though the power supply is not actually stopped. Further, when the signal indicating that the initialization process is being performed is output to the hall computer or the like, it becomes possible for the gaming shop side to recognize that the initialization process is being performed. Therefore, if a signal indicating that the initialization process is in progress is output from the gaming machine even though the power supply is not actually stopped, it can be determined that a fraudulent act has been performed.

【0311】このように、遊技店側で遊技機が電力供給
停止時処理中または初期化処理中であることを認識可能
に構成した場合には、遊技店側において、不正行為者が
不正行為が発覚していることを気付かないうちに、不正
行為を行っている者を特定することができる。
In this way, in the case where the gaming machine side can recognize that the gaming machine is in the process of power supply stoppage or in the initialization process, the fraudulent person is It is possible to identify a person who is committing fraud without noticing that he is aware of it.

【0312】また、初期化処理において、初期化処理を
行っていることを、音、ランプ、表示(例えば可変表示
装置9による表示)によって報知するようにしてもよ
い。そのように構成した場合には、実際には電力供給が
停止していない場合には、不正にシステムリセット信号
が入力された遊技機においてのみ報知がなされることに
なる。従って、不正行為を容易に発見できるとともに、
不正行為者が報知に気付いて直ちに離席したような場合
でも、再度の不正行為を実行しづらくするという効果が
ある。なお、初期化処理を行っていることの報知は、不
正行為の発見を容易にするために、所定期間(例えば5
分間)継続されることが好ましい。
Further, in the initialization processing, the fact that the initialization processing is being performed may be notified by sound, lamp, or display (for example, display by the variable display device 9). With such a configuration, when the power supply is not actually stopped, the notification is made only in the gaming machine to which the system reset signal is illegally input. Therefore, while fraudulent activity can be easily detected,
Even if the dishonest person notices the notification and immediately leaves the desk, there is an effect that it becomes difficult to execute the dishonest act again. It should be noted that the notification that the initialization process is being performed is performed for a predetermined period (for example, 5
It is preferable to continue for (minutes).

【0313】また、上記の実施の形態では、ウォッチド
ッグタイマは使用されなかったが、ウォッチドッグタイ
マを使用する制御手段に対しても本発明を適用すること
ができる。つまり、ウォッチドッグタイマのタイムアウ
トによって制御手段の動作を停止させるように構成され
ている場合にも本発明を適用することができる。例え
ば、ウォッチドッグタイマのタイムアウトにもとづくリ
セット信号を発生する回路が主基板31以外に設置され
ているような場合に、そのようなリセット信号の配線に
不正基板が接続されても不正行為が有効にならないよう
に、複数回のリセット信号が入力されてもマイクロコン
ピュータに1回のみしかリセット信号を与えないように
する規制回路を設けてもよい。
Although the watchdog timer is not used in the above embodiment, the present invention can be applied to the control means using the watchdog timer. That is, the present invention can be applied to the case where the operation of the control means is stopped by the time-out of the watchdog timer. For example, in the case where a circuit that generates a reset signal based on the time-out of the watchdog timer is installed on a board other than the main board 31, even if an illegal board is connected to the wiring of such a reset signal, the illegal act is effective. In order to prevent this, a regulation circuit may be provided so that the reset signal is given only once to the microcomputer even if the reset signal is input a plurality of times.

【0314】また、図58に示すように、電源基板91
0と主基板31との間の信号(電源線を含む)を中継す
る中継基板930が設けられている場合には、中継基板
930を基板ボックスに収容してもよい。基板ボックス
のの蓋部931は、取付部のそれぞれにおける1箇所の
取付穴にねじ込まれたワンウェイねじとその他のねじ
(図示せず)でボックス本体932に固着される。ワン
ウェイねじとは、ねじ締め方向にしか回らないねじであ
る。従って、一旦締め付けるとねじを取り外すことはで
きない。
Further, as shown in FIG. 58, the power supply board 91
When a relay board 930 that relays a signal (including a power supply line) between 0 and the main board 31 is provided, the relay board 930 may be housed in the board box. The lid portion 931 of the board box is fixed to the box body 932 with a one-way screw and another screw (not shown) screwed into one mounting hole in each mounting portion. A one-way screw is a screw that turns only in the screw tightening direction. Therefore, once tightened, the screw cannot be removed.

【0315】蓋部931をボックス本体932から外し
て中継基板930を露出させようとする場合には、取付
部におけるワンウェイねじの取付部分を切断する必要が
ある。従って、取付部分の切断の履歴から中継基板93
0が露出された回数がわかる。管理者等が把握している
取付部分の切断の履歴(回数)よりも実際の切断の回数
が多い場合には、蓋部931が不正に外されて中継基板
930が露出され、不正基板が装着された可能性がある
ことがわかる。なお、取付部にはそれぞれ3箇所の取付
穴が設けられているので、蓋部931を3回まで外すこ
とができる。
When the lid 931 is to be removed from the box body 932 to expose the relay board 930, it is necessary to cut the mounting portion of the one-way screw in the mounting portion. Therefore, from the history of cutting the attachment portion, the relay board 93
You can see how many times 0 was exposed. When the actual number of times of cutting is larger than the history (number of times) of cutting of the mounting portion known by the administrator or the like, the lid 931 is illegally removed, the relay board 930 is exposed, and the illegal board is mounted. It turns out that there was a possibility that it was done. Since the mounting portions are provided with three mounting holes, the lid 931 can be removed up to three times.

【0316】また、中継基板930を透明なクリアボッ
クスに収容してもよい。その場合には、中継基板930
の様子を外部から視認できるので、不正基板が装着され
ても容易にそれを発見することができる。
The relay board 930 may be housed in a transparent clear box. In that case, the relay board 930
Since the state of can be visually recognized from the outside, it is possible to easily find out even if an unauthorized board is mounted.

【0317】なお、上記の各実施の形態のパチンコ遊技
機1は、主として、始動入賞にもとづいて可変表示装置
9に可変表示される特別図柄の停止図柄が所定の図柄の
組み合わせになると所定の遊技価値が遊技者に付与可能
になる第1種パチンコ遊技機であったが、始動入賞にも
とづいて開放する電動役物の所定領域への入賞があると
所定の遊技価値が遊技者に付与可能になる第2種パチン
コ遊技機や、始動入賞にもとづいて可変表示される図柄
の停止図柄が所定の図柄の組み合わせになると開放する
所定の電動役物への入賞があると所定の権利が発生また
は継続する第3種パチンコ遊技機であっても、本発明を
適用できる。
The pachinko gaming machine 1 of each of the above-described embodiments is mainly a predetermined game when the stop symbol of the special symbol variably displayed on the variable display device 9 based on the start winning is a combination of the predetermined symbols. It was a first-class pachinko game machine that can be given value to the player, but if there is a prize in the predetermined area for the electric auditors to be released based on the starting prize, the predetermined game value can be given to the player. The second kind of pachinko gaming machine and the symbols that are variably displayed based on the starting winnings will be released when the combination of the predetermined symbols is the combination of the predetermined symbols. The present invention can be applied to a third-class pachinko gaming machine that does.

【0318】[0318]

【発明の効果】以上のように、請求項1記載の発明で
は、遊技機を、制御基板外に設けられ所定電位の電源の
出力電圧を監視し検出条件が成立した場合に検出信号を
出力する電源監視手段と、制御基板に搭載され電源監視
手段からの検出信号を入力し検出信号にもとづいて制御
手段に所定の割込信号を出力するための割込信号出力回
路とを備え、制御手段が、割込信号出力回路からの割込
信号の状態変化にもとづいて制御状態の復旧に必要なデ
ータを変動データ記憶手段に退避させる電力供給停止時
処理を実行可能であり、割込信号出力回路が、入力され
た検出信号にもとづいて割込信号を出力した後少なくと
も所定期間は検出信号が入力された場合であっても割込
信号の出力状態を保持するように構成にしたので、必要
なデータを記憶手段に保存する処理を確実に実行できる
とともに、不正に電源監視手段からの検出信号に相当す
る信号を送り込むような不正行為が行われても、そのよ
うな信号の入力を規制することができる効果がある。
As described above, according to the first aspect of the invention, the gaming machine monitors the output voltage of the power supply provided outside the control board and has a predetermined potential, and outputs the detection signal when the detection condition is satisfied. The control means includes a power supply monitoring means and an interrupt signal output circuit which is mounted on the control board and which inputs a detection signal from the power supply monitoring means and outputs a predetermined interrupt signal to the control means based on the detection signal. , It is possible to execute the power supply stop processing that saves the data necessary for the restoration of the control state to the variable data storage means based on the change in the status of the interrupt signal from the interrupt signal output circuit. , After the interrupt signal is output based on the input detection signal, the output state of the interrupt signal is held for at least a predetermined period even if the detection signal is input. Storage means There is an effect that the saving process can be surely executed and the input of such a signal can be regulated even if an illegal act such as illegally sending a signal corresponding to the detection signal from the power supply monitoring means is performed. .

【0319】請求項2記載の発明では、制御手段が、電
力供給停止時処理にて払出検出手段からの検出信号の入
力を監視する入力監視処理を実行可能であり、所定期間
には入力監視処理を実行している入力監視時間が含まれ
るように構成されているので、電力供給停止の直前まで
払い出された遊技媒体を検出することができるようにな
り、遊技媒体の払出に関して、保存される制御状態に矛
盾が生じてしまうことが防止される。
According to the second aspect of the present invention, the control means can execute the input monitoring processing for monitoring the input of the detection signal from the payout detecting means in the power supply stop processing, and the input monitoring processing is performed for a predetermined period. Since it is configured to include the input monitoring time during which the game medium is executed, it becomes possible to detect the game medium paid out until immediately before the stop of the power supply, and the game medium is saved with respect to the payout of the game medium. Inconsistency in the control state is prevented.

【0320】請求項3記載の発明では、入力監視時間
が、払出手段から遊技媒体が払い出されてから払出検出
手段で検出されるまでの時間以上の時間に設定されてい
るので、電力供給停止の直前まで払い出された遊技媒体
を確実に検出することができる。
In the invention according to claim 3, since the input monitoring time is set to a time longer than the time from when the game medium is paid out from the payout means to when it is detected by the payout detection means, the power supply is stopped. It is possible to reliably detect the game medium paid out until just before.

【0321】請求項4記載の発明では、所定期間が、電
力供給停止時処理の開始時からアクセス禁止処理を実行
するまでの期間を含むので、変動データ記憶手段のアク
セス禁止処理が実行される前に再度電力供給停止時処理
が起動されてしまうということはなく、電力供給停止時
に変動データ記憶手段の内容を確実に保護することがで
きる。
According to the fourth aspect of the invention, since the predetermined period includes the period from the start of the power supply stop process to the access prohibition process, before the access prohibition process of the variable data storage means is executed. Therefore, the process at the time of stopping the power supply is not started again, and the contents of the variable data storage means can be surely protected at the time of stopping the power supply.

【0322】請求項5記載の発明では、制御基板におけ
る電源監視手段からの検出信号の入力部と割込信号出力
回路との間に、検出信号における有効期間以下の信号の
変化を除去するフィルタ回路が設けられているので、ノ
イズによって不正確な割込信号が出力されてしまうこと
が防止される。
According to a fifth aspect of the present invention, a filter circuit is provided between the input portion of the detection signal from the power supply monitoring means in the control board and the interrupt signal output circuit to remove a change in the detection signal within the effective period. Is provided, it is possible to prevent an incorrect interrupt signal from being output due to noise.

【0323】請求項6記載の発明では、遊技機で使用さ
れる電源を作成する電力供給基板を備え、電源監視手段
が、電力供給基板に搭載されているので、電源経路の上
流側で電源監視を行うことができる。
According to the sixth aspect of the present invention, the power supply board for producing the power supply used in the gaming machine is provided, and the power supply monitoring means is mounted on the power supply board. Therefore, the power supply is monitored on the upstream side of the power supply path. It can be performed.

【0324】請求項7記載の発明では、制御手段の動作
を停止させるためのリセット信号を出力するシステムリ
セット回路が設けられているので、電力供給停止時に、
電力供給停止時処理が実行されてから確実に制御手段は
動作停止状態になる。
According to the invention described in claim 7, since the system reset circuit for outputting the reset signal for stopping the operation of the control means is provided, when the power supply is stopped,
After the power supply stop processing is executed, the control means is surely brought into the operation stop state.

【0325】請求項8記載の発明では、割込信号出力回
路が、システムリセット回路からのリセット信号にもと
づいて割込信号を変化させるように構成されているの
で、不要な信号出力状態を解除することができる。
According to the eighth aspect of the invention, since the interrupt signal output circuit is configured to change the interrupt signal based on the reset signal from the system reset circuit, the unnecessary signal output state is released. be able to.

【0326】請求項9記載の発明では、制御手段におい
て割込信号出力回路からの割込信号を入力するための入
力端子としてマスク不能割込端子を用いるように構成さ
れているので、優先度の高い処理によって確実に電力供
給停止時処理を実行することができる。
According to the ninth aspect of the present invention, the control means is configured to use the non-maskable interrupt terminal as an input terminal for inputting the interrupt signal from the interrupt signal output circuit. The high processing can surely execute the power supply stop processing.

【図面の簡単な説明】[Brief description of drawings]

【図1】 パチンコ遊技機を正面からみた正面図であ
る。
FIG. 1 is a front view of a pachinko gaming machine as viewed from the front.

【図2】 ガラス扉枠を取り外した状態での遊技盤の前
面を示す正面図である。
FIG. 2 is a front view showing the front surface of the game board with the glass door frame removed.

【図3】 遊技機を裏面から見た背面図である。FIG. 3 is a rear view of the gaming machine viewed from the back side.

【図4】 各種部材が取り付けられた機構板を遊技機背
面側から見た背面図である。
FIG. 4 is a rear view of a mechanism plate to which various members are attached as seen from the rear side of the gaming machine.

【図5】 球払出装置の構成例を示す分解斜視図であ
る。
FIG. 5 is an exploded perspective view showing a configuration example of a ball payout device.

【図6】 遊技盤に設置されているスイッチ基板の部分
を示す正面図である。
FIG. 6 is a front view showing a portion of a switch board installed on the game board.

【図7】 クリアスイッチの構成の一例を示す構成図で
ある。
FIG. 7 is a configuration diagram showing an example of a configuration of a clear switch.

【図8】 遊技制御基板(主基板)の回路構成例を示す
ブロック図である。
FIG. 8 is a block diagram showing a circuit configuration example of a game control board (main board).

【図9】 図柄制御基板の回路構成例を示すブロック図
である。
FIG. 9 is a block diagram showing a circuit configuration example of a symbol control board.

【図10】 ランプ制御基板内の回路構成を示すブロッ
ク図である。
FIG. 10 is a block diagram showing a circuit configuration in a lamp control board.

【図11】 音制御基板内の回路構成を示すブロック図
である。
FIG. 11 is a block diagram showing a circuit configuration in the sound control board.

【図12】 払出制御基板の回路構成例を示すブロック
図である。
FIG. 12 is a block diagram showing a circuit configuration example of a payout control board.

【図13】 電源基板の回路構成例を示すブロック図で
ある。
FIG. 13 is a block diagram showing a circuit configuration example of a power supply board.

【図14】 電源監視および電源バックアップのための
CPU周りの一構成例を示すブロック図である。
FIG. 14 is a block diagram showing an example of the configuration around a CPU for power supply monitoring and power supply backup.

【図15】 出力ポートのビット割り当ての一例を示す
説明図である。
FIG. 15 is an explanatory diagram showing an example of bit allocation of output ports.

【図16】 出力ポートのビット割り当ての一例を示す
説明図である。
FIG. 16 is an explanatory diagram showing an example of bit allocation of output ports.

【図17】 入力ポートのビット割り当ての一例を示す
説明図である。
FIG. 17 is an explanatory diagram showing an example of bit allocation of input ports.

【図18】 主基板におけるCPUが実行するメイン処
理を示すフローチャートである。
FIG. 18 is a flowchart showing a main process executed by a CPU on a main board.

【図19】 バックアップフラグと遊技状態復旧処理を
実行するか否かとの関係の一例を示す説明図である。
FIG. 19 is an explanatory diagram showing an example of a relationship between a backup flag and whether or not to execute a game state recovery process.

【図20】 遊技状態復旧処理を示すフローチャートで
ある。
FIG. 20 is a flowchart showing a game state recovery process.

【図21】 2msタイマ割込処理を示すフローチャー
トである。
FIG. 21 is a flowchart showing a 2 ms timer interrupt process.

【図22】 特別図柄プロセス処理を示すフローチャー
トである。
FIG. 22 is a flowchart showing a special symbol process process.

【図23】 始動口スイッチ通過確認処理を示すフロー
チャートである。
FIG. 23 is a flowchart showing a starting opening switch passage confirmation process.

【図24】 可変表示の停止図柄を決定する処理および
リーチ種類を決定する処理を示すフローチャートであ
る。
FIG. 24 is a flowchart showing a process for determining a variable display stop symbol and a process for determining a reach type.

【図25】 大当りとするか否かを決定する処理を示す
フローチャートである。
FIG. 25 is a flowchart showing a process of determining whether or not to make a big hit.

【図26】 乱数の一例を示す説明図である。FIG. 26 is an explanatory diagram showing an example of random numbers.

【図27】 制御コマンドのコマンド形態の一例を示す
説明図である。
FIG. 27 is an explanatory diagram showing an example of a command form of a control command.

【図28】 制御コマンドを構成する8ビットの制御信
号とINT信号との関係を示すタイミング図である。
FIG. 28 is a timing diagram showing a relationship between an 8-bit control signal forming a control command and an INT signal.

【図29】 表示制御コマンドの内容の一例を示す説明
図である。
FIG. 29 is an explanatory diagram showing an example of the contents of a display control command.

【図30】 ランプ制御コマンドの内容の一例を示す説
明図である。
FIG. 30 is an explanatory diagram showing an example of contents of a lamp control command.

【図31】 音制御コマンドの内容の一例を示す説明図
である。
FIG. 31 is an explanatory diagram showing an example of the content of a sound control command.

【図32】 コマンド送信テーブルの一構成例を示す説
明図である。
FIG. 32 is an explanatory diagram showing a configuration example of a command transmission table.

【図33】 コマンドデータ2の一構成例および他の構
成例を示す説明図である。
FIG. 33 is an explanatory diagram showing one configuration example of command data 2 and another configuration example.

【図34】 INTデータの一構成例を示す説明図であ
る。
FIG. 34 is an explanatory diagram showing a configuration example of INT data.

【図35】 コマンド送信テーブルの一構成例を示す説
明図である。
FIG. 35 is an explanatory diagram showing a configuration example of a command transmission table.

【図36】 コマンド制御処理を示すフローチャートで
ある。
FIG. 36 is a flowchart showing command control processing.

【図37】 コマンド送信処理ルーチンを示すフローチ
ャートである。
FIG. 37 is a flowchart showing a command transmission processing routine.

【図38】 マスク不能割込処理(電力供給停止時処
理)を示すフローチャートである。
FIG. 38 is a flowchart showing non-maskable interrupt processing (power supply stop processing).

【図39】 マスク不能割込処理(電力供給停止時処
理)を示すフローチャートである。
FIG. 39 is a flowchart showing non-maskable interrupt processing (power supply stop processing).

【図40】 マスク不能割込処理(電力供給停止時処
理)を示すフローチャートである。
FIG. 40 is a flowchart showing non-maskable interrupt processing (power supply stop processing).

【図41】 RAMのアドレスマップを示す説明図であ
る。
FIG. 41 is an explanatory diagram showing an RAM address map.

【図42】 チェックサム作成方法の一例を説明するた
めの説明図である。
FIG. 42 is an explanatory diagram illustrating an example of a checksum creation method.

【図43】 遊技機への電力供給停止時の電源低下やN
MI信号の様子を示すタイミング図である。
FIG. 43: Power supply drop and N when power supply to a gaming machine is stopped
It is a timing diagram which shows a mode of MI signal.

【図44】 判定回路の一構成例を示すブロック図であ
る。
FIG. 44 is a block diagram illustrating a configuration example of a determination circuit.

【図45】 マスク不能割込処理の処理タイミング例を
示すタイミング図である。
FIG. 45 is a timing chart showing a processing timing example of unmaskable interrupt processing.

【図46】 判定回路の他の構成例を示すブロック図で
ある。
FIG. 46 is a block diagram illustrating another configuration example of the determination circuit.

【図47】 マスク不能割込処理の処理タイミング例を
示すタイミング図である。
FIG. 47 is a timing chart showing a processing timing example of unmaskable interrupt processing.

【図48】 判定回路の他の構成例を示すブロック図で
ある。
FIG. 48 is a block diagram showing another configuration example of the determination circuit.

【図49】 マスク不能割込処理の処理タイミング例を
示すタイミング図である。
FIG. 49 is a timing chart showing a processing timing example of unmaskable interrupt processing.

【図50】 マスク不能割込処理(電力供給停止時処
理)の他の例を示すフローチャートである。
FIG. 50 is a flowchart showing another example of unmaskable interrupt processing (power supply stop processing).

【図51】 CPU周りの他の構成例を示すブロック図
である。
FIG. 51 is a block diagram showing another configuration example around the CPU.

【図52】 規制回路の構成例を示すブロック図であ
る。
FIG. 52 is a block diagram showing a configuration example of a regulation circuit.

【図53】 マスク不能割込処理の処理タイミング例を
示すタイミング図である。
FIG. 53 is a timing chart showing a processing timing example of unmaskable interrupt processing.

【図54】 CPU周りの他の構成例を示すブロック図
である。
FIG. 54 is a block diagram showing another configuration example around the CPU.

【図55】 規制回路の他の構成例を示すブロック図で
ある。
FIG. 55 is a block diagram showing another configuration example of the regulation circuit.

【図56】 マスク不能割込処理の処理タイミング例を
示すタイミング図である。
FIG. 56 is a timing chart showing a processing timing example of unmaskable interrupt processing.

【図57】 マスク不能割込処理の処理タイミング例を
示すタイミング図である。
FIG. 57 is a timing chart showing a processing timing example of unmaskable interrupt processing.

【図58】 中継基板の構成例を示すブロック図であ
る。
FIG. 58 is a block diagram showing a configuration example of a relay board.

【符号の説明】[Explanation of symbols]

1 パチンコ遊技機 31 主基板 35 ランプ制御基板 37 払出制御基板 53 基本回路 55 RAM(変動データ記憶手段) 56 CPU 70 音制御基板 80 図柄制御基板 371 払出制御用CPU 902 電源監視用IC(電源監視手段) 910 電源基板 916 コンデンサ(バックアップ電源) 950 判定回路 950A,950B 規制回路 950C コネクタ 950a ローパスフィルタ 950b フリップフロップ 1 Pachinko machine 31 Main board 35 lamp control board 37 Discharge control board 53 Basic circuit 55 RAM (change data storage means) 56 CPU 70 sound control board 80 symbol control board 371 CPU for payout control 902 Power supply monitoring IC (power supply monitoring means) 910 Power board 916 Capacitor (backup power supply) 950 Judgment circuit 950A, 950B Regulator circuit 950C connector 950a low pass filter 950b flip-flop

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 遊技者が所定の遊技を行い、所定条件の
成立に応じて遊技者に所定の遊技価値を付与可能な遊技
機であって、 遊技に関わる制御を行う制御手段が搭載された制御基板
と、 遊技機への電力供給が停止しても所定期間は記憶内容を
保持することが可能な変動データ記憶手段と、 前記制御基板外に設けられ、所定電位の電源の出力電圧
を監視し検出条件が成立した場合に検出信号を出力する
電源監視手段と、 前記制御基板に搭載され、前記電源監視手段からの検出
信号を入力し該検出信号にもとづいて前記制御手段に所
定の割込信号を出力するための割込信号出力回路とを備
え、 前記制御手段は、前記割込信号出力回路からの割込信号
の状態変化にもとづいて、制御状態の復旧に必要なデー
タを前記変動データ記憶手段に退避させる電力供給停止
時処理を実行可能であり、 前記割込信号出力回路は、入力された検出信号にもとづ
いて割込信号を出力した後、少なくとも所定期間は、検
出信号が入力された場合であっても割込信号の出力状態
を保持することを特徴とする遊技機。
1. A game machine in which a player plays a predetermined game and gives a predetermined game value to the player according to the establishment of a predetermined condition, and a control means for performing control relating to the game is mounted. A control board, a variable data storage means capable of retaining stored contents for a predetermined period even when power supply to a gaming machine is stopped, and an output voltage of a power supply provided outside the control board and having a predetermined potential Then, a power supply monitoring means that outputs a detection signal when the detection condition is satisfied, and a detection signal that is mounted on the control board and that receives the detection signal from the power supply monitoring means and that a predetermined interrupt is given to the control means based on the detection signal. An interrupt signal output circuit for outputting a signal, the control means, based on the state change of the interrupt signal from the interrupt signal output circuit, the data required for recovery of the control state the fluctuation data Save to storage means It is possible to perform a power supply stop process, the interrupt signal output circuit, after outputting an interrupt signal based on the input detection signal, at least for a predetermined period, when the detection signal is input, A gaming machine characterized in that it also holds the output state of the interrupt signal.
【請求項2】 遊技に用いられる遊技媒体の払い出しを
行う払出手段と、 前記払出手段から払い出された遊技媒体を検出するため
の払出検出手段とを備え、 制御手段は、電力供給停止時処理にて前記払出検出手段
からの検出信号の入力を監視する入力監視処理を実行可
能であり、 所定期間には、前記入力監視処理を実行している入力監
視時間が含まれる請求項1記載の遊技機。
2. A payout means for paying out a game medium used for a game, and a payout detection means for detecting the game medium paid out from the payout means, wherein the control means is a power supply stop time process. 2. The game according to claim 1, wherein an input monitoring process for monitoring the input of the detection signal from the payout detecting means can be executed, and the predetermined period includes an input monitoring time during which the input monitoring process is executed. Machine.
【請求項3】 入力監視時間は、払出手段から遊技媒体
が払い出されてから払出検出手段で検出されるまでの時
間以上の時間に設定される請求項2記載の遊技機。
3. The game machine according to claim 2, wherein the input monitoring time is set to be a time equal to or longer than a time from when the game medium is paid out from the payout means to when it is detected by the payout detection means.
【請求項4】 制御手段は、電力供給停止時処理にて変
動データ記憶手段へのアクセスを禁止するアクセス禁止
処理を実行可能であり、 所定期間は、電力供給停止時処理の開始時から前記アク
セス禁止処理を実行するまでの期間を含む請求項1から
請求項3のうちのいずれかに記載の遊技機。
4. The control means can execute access prohibition processing for prohibiting access to the variable data storage means in the power supply stoppage processing, and the access is started from the start of the power supply stoppage processing for a predetermined period. The gaming machine according to any one of claims 1 to 3, including a period until execution of prohibition processing.
【請求項5】 制御基板における電源監視手段からの検
出信号の入力部と割込信号出力回路との間に、検出信号
における有効期間以下の信号の変化を除去するフィルタ
回路を設けた請求項1から請求項4のうちのいずれかに
記載の遊技機。
5. A filter circuit is provided between the input portion of the detection signal from the power supply monitoring means on the control board and the interrupt signal output circuit to remove a change in the detection signal within the effective period. 5. The gaming machine according to claim 4.
【請求項6】 遊技機で使用される電源を作成する電力
供給基板を備え、 電源監視手段は、前記電力供給基板に搭載される請求項
1から請求項5のうちのいずれかに記載の遊技機。
6. The game according to claim 1, further comprising a power supply board that creates a power supply used in the game machine, wherein the power supply monitoring means is mounted on the power supply board. Machine.
【請求項7】 制御手段の動作を停止させるためのリセ
ット信号を出力するシステムリセット回路を備えた請求
項1から請求項6のいずれかに記載の遊技機。
7. The gaming machine according to claim 1, further comprising a system reset circuit that outputs a reset signal for stopping the operation of the control means.
【請求項8】 割込信号出力回路は、システムリセット
回路からのリセット信号にもとづいて割込信号を変化さ
せる請求項7記載の遊技機。
8. The gaming machine according to claim 7, wherein the interrupt signal output circuit changes the interrupt signal based on a reset signal from the system reset circuit.
【請求項9】 制御手段において割込信号出力回路から
の割込信号を入力するための入力端子としてマスク不能
割込端子を用いる請求項1から請求項8のうちのいずれ
かに記載の遊技機。
9. The gaming machine according to claim 1, wherein a non-maskable interrupt terminal is used as an input terminal for inputting an interrupt signal from the interrupt signal output circuit in the control means. .
JP2001225207A 2001-07-25 2001-07-25 Game machine Pending JP2003033544A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001225207A JP2003033544A (en) 2001-07-25 2001-07-25 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001225207A JP2003033544A (en) 2001-07-25 2001-07-25 Game machine

Publications (1)

Publication Number Publication Date
JP2003033544A true JP2003033544A (en) 2003-02-04

Family

ID=19058235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001225207A Pending JP2003033544A (en) 2001-07-25 2001-07-25 Game machine

Country Status (1)

Country Link
JP (1) JP2003033544A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003102959A (en) * 2001-07-27 2003-04-08 Sanyo Product Co Ltd Game machine
JP2003102961A (en) * 2001-07-27 2003-04-08 Sanyo Product Co Ltd Game machine
JP2003103022A (en) * 2001-07-27 2003-04-08 Sanyo Product Co Ltd Game machine
JP2003102960A (en) * 2001-07-27 2003-04-08 Sanyo Product Co Ltd Game machine
JP2008136792A (en) * 2006-12-05 2008-06-19 Sankyo Co Ltd Game machine
JP2010137074A (en) * 2010-02-17 2010-06-24 Sankyo Co Ltd Game machine
JP2018027444A (en) * 2017-11-28 2018-02-22 株式会社平和 Game machine

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003102959A (en) * 2001-07-27 2003-04-08 Sanyo Product Co Ltd Game machine
JP2003102961A (en) * 2001-07-27 2003-04-08 Sanyo Product Co Ltd Game machine
JP2003103022A (en) * 2001-07-27 2003-04-08 Sanyo Product Co Ltd Game machine
JP2003102960A (en) * 2001-07-27 2003-04-08 Sanyo Product Co Ltd Game machine
JP2008136792A (en) * 2006-12-05 2008-06-19 Sankyo Co Ltd Game machine
JP2010137074A (en) * 2010-02-17 2010-06-24 Sankyo Co Ltd Game machine
JP2018027444A (en) * 2017-11-28 2018-02-22 株式会社平和 Game machine

Similar Documents

Publication Publication Date Title
JP3768419B2 (en) Game machine
JP4794779B2 (en) Game machine
JP2002355432A (en) Game machine
JP3907931B2 (en) Game machine
JP2002219258A (en) Game machine
JP2003033544A (en) Game machine
JP2003325909A (en) Game machine
JP4850974B2 (en) Game machine
JP4658177B2 (en) Game machine
JP2003164634A (en) Pachinko game machine
JP2003024606A (en) Game machine
JP4795476B2 (en) Game machine
JP3907929B2 (en) Game machine
JP2003038823A (en) Game machine
JP3828367B2 (en) Game machine
JP2002191825A (en) Game machine
JP2003038824A (en) Game machine
JP2003038786A (en) Game machine
JP3907927B2 (en) Game machine
JP3583363B2 (en) Gaming machine
JP4166801B2 (en) Game machine
JP3647751B2 (en) Game machine
JP2002200234A (en) Game machine
JP2006247426A (en) Game machine
JP2002191826A (en) Game machine

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20051202

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060123