JP4753589B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP4753589B2
JP4753589B2 JP2005041175A JP2005041175A JP4753589B2 JP 4753589 B2 JP4753589 B2 JP 4753589B2 JP 2005041175 A JP2005041175 A JP 2005041175A JP 2005041175 A JP2005041175 A JP 2005041175A JP 4753589 B2 JP4753589 B2 JP 4753589B2
Authority
JP
Japan
Prior art keywords
control board
command
power
ram clear
gaming machine
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.)
Active
Application number
JP2005041175A
Other languages
Japanese (ja)
Other versions
JP2006223585A (en
Inventor
高明 市原
有史 長谷川
之誉 遠藤
健一 江口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daiichi Shokai Co Ltd
Original Assignee
Daiichi Shokai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daiichi Shokai Co Ltd filed Critical Daiichi Shokai Co Ltd
Priority to JP2005041175A priority Critical patent/JP4753589B2/en
Publication of JP2006223585A publication Critical patent/JP2006223585A/en
Application granted granted Critical
Publication of JP4753589B2 publication Critical patent/JP4753589B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、複数の制御基板の分散処理によって制御される遊技機に関する。   The present invention relates to a gaming machine controlled by distributed processing of a plurality of control boards.

パチンコ機その他の遊技機の動作は、CPUを用いた複数の制御基板の分散処理によって実現されている。動作の制御には、遊技機の音声、表示などの出力や、遊技中の入賞時の処理などが含まれる。このような遊技機においては、バックアップ電源を用いて、遊技中の情報を保持するためのバックアップ機能が設けられている。   The operation of pachinko machines and other gaming machines is realized by distributed processing of a plurality of control boards using a CPU. The control of the operation includes output of the voice and display of the gaming machine, processing at the time of winning a prize during the game, and the like. Such gaming machines are provided with a backup function for holding information during the game using a backup power source.

バックアップ機能は、遊技中に停電が起きた場合や電源を切断した後でも、復旧後または電源再投入後も電源切断直前の状態から遊技を再開可能とできる利点がある。一方、閉店後に遊技機の電源を切断した後も、翌日には前日の終了時の状態から遊技が継続可能となることが弊害となる場合もある。例えば、大当たりの確率が高い状態で前日の遊技が終了していると、翌日には高い確率で遊技が再開されることとなり、遊技機の運営者は損失を被ることになる。同様に、遊技機の製造時に大当たりの確率を高める設定がなされているような場合にも、導入後の開店時に、運営者は損失を被ることになる。   The backup function has an advantage that the game can be resumed from a state immediately before the power is turned off even after a power failure occurs during the game or after the power is turned off, even after restoration or after the power is turned on again. On the other hand, even after the game machine is turned off after the store is closed, it may be harmful that the game can be continued from the state at the end of the previous day on the next day. For example, if the game of the previous day is finished with a high probability of jackpot, the game will be resumed with a high probability on the next day, and the operator of the gaming machine will suffer a loss. Similarly, even when a setting for increasing the probability of jackpot is made at the time of manufacturing a gaming machine, the operator will suffer a loss at the time of opening the store after introduction.

遊技機には、こうした弊害を回避するための手段として、バックアップされた情報を強制的に消去するためのRAMクリアスイッチが設けられている。RAMクリアスイッチが操作された状態で電源が投入されると、遊技機は電源切断時と無関係な初期状態から動作を開始する。従来、このRAMクリアスイッチの操作が受け付けられたことを作業者に報知する技術が提案されていた(特許文献1、2参照)。これらの従来技術では、RAMクリアスイッチの操作を検知すると、主制御基板が、表示や音声の出力を制御するためのサブ制御基板にコマンドを出力し、RAMクリア音を発生させたり、装飾ランプを点灯させたりすることでRAMクリアの報知が行われていた。   The gaming machine is provided with a RAM clear switch for forcibly erasing backed up information as means for avoiding such adverse effects. When the power is turned on while the RAM clear switch is operated, the gaming machine starts its operation from an initial state unrelated to the power-off state. Conventionally, a technique for notifying an operator that an operation of the RAM clear switch has been accepted has been proposed (see Patent Documents 1 and 2). In these conventional technologies, when the operation of the RAM clear switch is detected, the main control board outputs a command to the sub-control board for controlling the display and the output of the sound to generate the RAM clear sound, The RAM clear notification has been performed by turning it on.

特開2002−248219号公報JP 2002-248219 A 特開2003−205161号公報Japanese Patent Laid-Open No. 2003-205161

遊技機に備えられた制御基板は、電源投入後に、初期化および起動処理として、制御用のソフトウェアやデータをRAM上に展開する。これらの処理が完了すると、各制御基板は、種々の制御を実行可能な状態(以下、この状態を「レディ状態」と称する)となり、コマンドを受付可能となる。近年では、演出の多様化、精緻化に伴って、演出に使用されるソフトウェアやデータが増大し、レディ状態になるまでの起動期間が長期化する傾向にあった。かかる傾向は、特に、液晶パネルを搭載した遊技機において顕著であり、遊技機によっては起動期間が数秒以上となるものもあった。   The control board provided in the gaming machine develops control software and data on the RAM as initialization and activation processing after the power is turned on. When these processes are completed, each control board enters a state in which various controls can be executed (hereinafter, this state is referred to as a “ready state”), and can accept a command. In recent years, along with the diversification and sophistication of production, software and data used for production have increased, and there has been a tendency for the startup period to become a ready state to become longer. Such a tendency is particularly prominent in gaming machines equipped with a liquid crystal panel, and some gaming machines have a startup period of several seconds or more.

このように起動期間が長期化すると、RAMクリアスイッチを操作して電源投入した後、RAMクリアが報知されるまで長期間を要するようになる。この間、作業者は、RAMクリアの操作が正しく受け付けられたか否かが不明であるため、RAMクリアスイッチを操作しつづける必要が生じ、作業上の苦痛が大きくなる。また、RAMクリアの報知を長期間待つ必要が生じるため、作業効率も悪くなる。更に、電源投入後、長期間、RAMクリアの報知がなされないと、操作が正常に認識されているか否かの判断ができず、操作をやり直したり、操作が正常に認識されていないにも関わらずRAMクリア報知を待ち続けたりといった無駄時間が生じる。   When the activation period is prolonged as described above, it takes a long time until the RAM clear is notified after the RAM clear switch is operated and the power is turned on. During this time, since it is unclear whether or not the RAM clear operation has been correctly accepted, the worker needs to continue operating the RAM clear switch, which increases work pain. In addition, since it becomes necessary to wait for a RAM clear notification for a long period of time, work efficiency also deteriorates. Furthermore, if the RAM clear is not notified for a long time after the power is turned on, it cannot be determined whether or not the operation is normally recognized, and the operation is re-executed or the operation is not normally recognized. First, there is a waste time such as waiting for RAM clear notification.

これらの弊害は、RAMクリア操作時のみならず、電源投入後の遊技機の状態を作業員が確認するために利用可能な種々の機能について同様に生じ得る。本発明は、かかる課題に鑑み、電源投入後における遊技機の状態を、作業者が速やかに確認可能とするための技術を提供することを目的とする。   These adverse effects can occur not only in the RAM clear operation but also in various functions that can be used by the worker to confirm the state of the gaming machine after the power is turned on. The present invention has been made in view of such problems, and an object of the present invention is to provide a technique for enabling an operator to quickly confirm the state of a gaming machine after power is turned on.

本発明は、複数の制御基板を備える遊技機を対象とする。これらの制御基板には、他の制御基板にコマンドを送信する上位制御基板と、コマンドを受信して動作する下位制御基板とが含まれる。上位制御基板としては、例えば、遊技機の全体を制御するための主制御基板が挙げられ、下位制御基板としては、遊技中の演出を行う演出制御基板(サブ制御基板と呼ぶこともある)などが含まれる。上位制御基板、下位制御基板は複数の制御基板間の相対的な関係を表すものであるから、例えば、演出制御基板を上位制御基板とし、演出制御基板からのコマンドに応じて液晶パネルを制御する基板を下位制御基板として本発明を適用することも可能である。   The present invention is directed to a gaming machine including a plurality of control boards. These control boards include an upper control board that transmits a command to other control boards and a lower control board that operates by receiving the command. The upper control board includes, for example, a main control board for controlling the entire gaming machine, and the lower control board includes an effect control board (also referred to as a sub control board) that performs an effect during the game. Is included. Since the upper control board and the lower control board represent a relative relationship between a plurality of control boards, for example, the effect control board is set as the upper control board, and the liquid crystal panel is controlled in accordance with a command from the effect control board. It is also possible to apply the present invention using a substrate as a lower control substrate.

本発明では、下位制御基板は、電源投入後、全ての制御機能を実現可能なレディ状態となるまでの起動期間中も含めて、上位制御基板からコマンドを受信可能に構成する。レディ状態となるまでの間、下位制御基板は、制御機能に要求されるソフトウェアやデータの読み込み、RAM上への展開を行うことになる(以下、これらの処理を総称して「起動」と呼ぶ)。受信したコマンドは必ずしも直ちに実行可能である必要はない。この受信機能を利用し、上位制御基板は、コマンドの少なくとも一部について、下位制御基板がレディ状態となっているか否かに関わらず送信する。こうすることにより、電源投入後、レディ状態となる前であっても、上位制御基板からのコマンドを下位制御基板が実行可能な範囲で遊技機の状態を速やかに確認可能となる。従って、電源投入後の種々の確認作業の効率化を図ることができる。   In the present invention, the lower-level control board is configured to be able to receive commands from the higher-level control board, including the start-up period after the power is turned on, until it enters a ready state in which all control functions can be realized. Until the ready state is reached, the lower control board reads software and data required for the control function and develops them on the RAM (hereinafter, these processes are collectively referred to as “activation”). ). The received command need not be immediately executable. Using this reception function, the upper control board transmits at least a part of the command regardless of whether or not the lower control board is in a ready state. In this way, even after the power is turned on and before the ready state is entered, the state of the gaming machine can be quickly confirmed within a range in which the command from the upper control board can be executed by the lower control board. Therefore, it is possible to improve the efficiency of various confirmation operations after the power is turned on.

本発明は、例えば、遊技機の演出を制御するための演出制御基板を下位制御基板として適用することができる。遊技機において演出制御基板は、レディ状態になるまでの起動期間が比較的長いため、本発明による効率化の利点を十分に活かすことが可能である。また、作業員が遊技機の状態を確認するためには、音声や表示などの演出を利用することが簡便であるため、演出制御基板に本発明を適用すれば、遊技機の状態を速やかかつ容易に確認可能となる利点がある。   In the present invention, for example, an effect control board for controlling the effect of a gaming machine can be applied as a lower control board. In the game machine, the effect control board has a relatively long start-up period until it becomes ready, so that it is possible to fully utilize the advantages of efficiency according to the present invention. In addition, since it is easy for an operator to check the state of the gaming machine, it is easy to use an effect such as voice or display, so if the present invention is applied to the effect control board, the state of the gaming machine can be quickly and quickly There is an advantage that it can be easily confirmed.

下位制御基板は、連携して動作する2以上のCPUを有していることが好ましい。これらのCPUは主従の関係にあってもよいし、並列の関係にあってもよい。また、ここにおけるCPUには、VDP(Video Display Processor)など、コマンドを解析して制御を実行する種々のチップが含まれる。このように2つのCPUを搭載している場合には、下位制御基板の起動中においても、少なくとも一方のCPUで、コマンド受信部の制御および受信したコマンドの実行を円滑に制御することが可能となる。   It is preferable that the lower control board has two or more CPUs operating in cooperation. These CPUs may be in a master-slave relationship or in a parallel relationship. The CPU here includes various chips that analyze commands and execute control, such as VDP (Video Display Processor). When two CPUs are mounted in this way, it is possible to smoothly control the control of the command receiving unit and the execution of the received command by at least one of the CPUs even while the lower control board is activated. Become.

下位制御基板は、受信したコマンドを一時的に保持可能とすることが好ましい。コマンドを保持するために特別なメモリを用意しても良いし、予め設けられたRAMの一部領域を、コマンド保持用のバッファとして活用してもよい。また、他の基板との通信を制御するためのICに、コマンドを保持するための機能を組み込んでも良い。これらの方法でコマンドを保持可能とすることにより、上位制御基板から送信されたコマンドを漏れなく実行することが可能となり、正確な制御を実現することができる。   It is preferable that the lower control board can temporarily hold the received command. A special memory may be prepared for holding the command, or a partial area of the RAM provided in advance may be used as a buffer for holding the command. Further, a function for holding a command may be incorporated in an IC for controlling communication with another board. By making it possible to hold commands by these methods, it is possible to execute commands transmitted from the host control board without omission and to achieve accurate control.

上位制御基板は、また、コマンドの種類に応じて送信タイミングを切り換えるようにしてもよい。例えば、予め規定された一部のコマンドについてはレディ状態となっているか否かに関わらず送信し、その他のコマンドについては、少なくとも起動期間を経た後に送信するようにしてもよい。こうすることで、起動期間中に下位制御基板に送信されるコマンドを限定することができるため、コマンドの受信および実行によって下位制御基板の起動が遅れることを抑制できる。   The upper control board may also switch the transmission timing according to the type of command. For example, some commands that are defined in advance may be transmitted regardless of whether or not they are in a ready state, and other commands may be transmitted after at least an activation period. By doing so, it is possible to limit the commands transmitted to the lower control board during the start-up period, and thus it is possible to suppress the start-up of the lower control board from being delayed due to the reception and execution of the command.

上述した遊技機のより具体的な構成について説明する。この構成では、上位制御基板には、電源が遮断された時に、従前の情報をRAM上に保持するバックアップ処理部と、バックアップされたRAM上の情報をリセットするためのRAMクリア操作を検出するRAMクリア検出部とを設ける。下位制御基板には、RAMクリアを外部に報知する処理を行う報知部を設ける。報知は、例えば、音声出力や表示制御によって行うことができる。かかる構成においては、下位制御基板がレディ状態となっているか否かに関わらずに送信すべきコマンドには、RAMクリア操作に応じたコマンドを含めることが好ましい。こうすることにより、作業員は、下位制御基板がレディ状態となるのを待つまでなく、RAMクリアの完了を知ることができ、作業効率の向上を図ることが可能となる。   A more specific configuration of the above gaming machine will be described. In this configuration, the upper control board includes a backup processing unit that retains previous information on the RAM when the power is shut off, and a RAM that detects a RAM clear operation for resetting the information on the backed up RAM. A clear detection unit is provided. The lower control board is provided with a notifying unit that performs processing for notifying RAM clear to the outside. The notification can be performed by, for example, voice output or display control. In such a configuration, it is preferable to include a command corresponding to the RAM clear operation in the command to be transmitted regardless of whether the lower control board is in the ready state. By doing so, the worker can know the completion of the RAM clearing without waiting for the lower control board to be ready, and can improve the work efficiency.

本発明のRAMクリア操作への適用は、RAMクリア操作を行うためのRAMクリアスイッチが、上位制御基板に設けられている遊技機に特に有用である。遊技機では、上位制御基板への不適切な信号入力による不正行為を回避するため、上位制御基板に外部から入力し得る信号を排除することが要請されるのが通常である。かかる要請から、RAMクリアスイッチも上位制御基板に取り付けられることとなる。このようにRAMクリアスイッチの取付部位が制約されている場合、作業員は、その操作のために無理な姿勢を強いられることが多い。従って、本発明によって、RAMクリアの完了を速やかに知ることができることは作業員にとって作業時の苦痛を緩和することができる。   The application of the present invention to a RAM clear operation is particularly useful for a gaming machine in which a RAM clear switch for performing a RAM clear operation is provided on a host control board. In gaming machines, it is usually required to eliminate signals that can be input from the outside to the upper control board in order to avoid illegal acts due to inappropriate signal input to the upper control board. From this request, the RAM clear switch is also attached to the host control board. When the attachment site of the RAM clear switch is restricted in this way, the worker is often forced into an unreasonable posture for the operation. Therefore, according to the present invention, the fact that the completion of the RAM clear can be quickly known can alleviate the pain at the time of work for the worker.

先に示したバックアップ処理部を設ける場合の構成について説明する。遊技機には、上位制御基板または下位制御基板のいずれかに、電源停止予測部を設ける。電源停止予測部は、上位制御基板への電源の供給停止を予測する。電源停止予測部は、上位制御基板への電源の供給制御を併せて行ってもよい。RAMは、電源の供給停止後も所定期間、バックアップ電源によって制御処理に必要となる制御情報を保持可能に構成されている。制御情報としては、制御時には上位制御基板に保持されている情報も含まれる。   A configuration in the case where the backup processing unit described above is provided will be described. The gaming machine is provided with a power stop prediction unit on either the upper control board or the lower control board. The power stop prediction unit predicts the stop of power supply to the host control board. The power stop prediction unit may also perform power supply control to the upper control board. The RAM is configured to be able to hold control information necessary for control processing by a backup power source for a predetermined period even after the supply of power is stopped. The control information includes information held on the upper control board at the time of control.

バックアップ処理部は、電源停止予測部からの割込信号によってバックアップ処理を開始する構成としてもよいが、予測の結果を周期的に点検し、その点検結果に応じて、バックアップ処理を実行する構成とすることが好ましい。バックアップ処理とは、停電前の制御処理を再現できるよう、制御情報をRAMに格納する処理である。バックアップ処理は、予測結果の点検に続けて行うようにしてもよいし、この点検とは別のタイミングで実行するようにしてもよい。予測結果の点検は、定期的な割込処理の中で行うようにしてもよいし、通常の制御処理過程で定期的に行うようにしてもよい。このように停電の予測結果を周期的に点検してバックアップ処理を実行し、停電の予測を能動的に検出することにより、不定期な割込処理を利用した場合に比較して、停電時のバックアップ処理に関し、ノイズによる誤動作が生じる可能性を抑制することができる。   The backup processing unit may be configured to start the backup process by an interrupt signal from the power stop prediction unit, but periodically checks the prediction result, and executes the backup process according to the inspection result. It is preferable to do. The backup process is a process for storing control information in the RAM so that the control process before the power failure can be reproduced. The backup process may be performed following the inspection of the prediction result, or may be performed at a timing different from this inspection. The inspection of the prediction result may be performed in a periodic interrupt process, or may be performed periodically in a normal control process. In this way, the power failure prediction results are periodically checked and the backup process is executed, and by detecting the power failure prediction actively, compared to the case of using irregular interrupt processing, With respect to the backup process, the possibility of malfunction due to noise can be suppressed.

この態様は、制御処理が比較的高速でループしているタイプの遊技機、例えばパチンコ機に適している。回胴式遊技機など、1回のループに比較的長時間を要するタイプの遊技機では、1回のループ中の複数箇所で予測結果を点検するよう設定しておくことが望ましい。   This aspect is suitable for a game machine of a type in which the control process is looped at a relatively high speed, for example, a pachinko machine. In a game machine of a type that requires a relatively long time for one loop, such as a spinning-type game machine, it is desirable to set the inspection result to be checked at a plurality of locations in one loop.

バックアップ処理部は、上述の態様とは別の態様として、電源の供給停止が予測されると、この予測に呼応して、RAMに格納された制御情報の変更禁止を含むバックアップ処理を実行するものとしてもよい。バックアップ処理は、不定期の割込処理ではなく、制御処理の過程における規定のタイミングで実行される。即ち、制御処理の過程で停電が生じると、遊技機は、規定のタイミングに至るまで通常の動作を継続し、このタイミングに至った時点でバックアップ処理を開始する。遊技機は、通常、電源回路に電圧平滑化のためのコンデンサを有しており、停電発生後の通常動作およびバックアップ処理は、このコンデンサに蓄積された電力を利用して行うことができる。   As an aspect different from the above-described aspect, when a power supply stoppage is predicted, the backup processing unit executes a backup process including prohibition of changing the control information stored in the RAM in response to the prediction. It is good. The backup process is not an irregular interrupt process, but is executed at a prescribed timing in the process of the control process. That is, when a power failure occurs in the process of control processing, the gaming machine continues normal operation until a predetermined timing is reached, and starts backup processing when this timing is reached. A gaming machine usually has a capacitor for smoothing the voltage in the power supply circuit, and normal operation and backup processing after the occurrence of a power failure can be performed using the power stored in the capacitor.

停電の予測は、種々の方法およびタイミングで行うことができる。例えば、停電の予測結果自体は、割込処理によって検出可能としてもよい。また、先に説明したように周期的に停電予測結果を点検するようにしてもよい。この場合、停電予測結果の点検は、バックアップ処理を行う規定のタイミングで行うようにしてもよい。   A power outage can be predicted by various methods and timings. For example, the power failure prediction result itself may be detectable by interrupt processing. Moreover, you may make it check a power failure prediction result periodically as demonstrated previously. In this case, the check of the power failure prediction result may be performed at a prescribed timing for performing the backup process.

このようにバックアップ処理を規定のタイミング、つまり一連の処理の中の決まった位置で実行することにより、割込処理の形で不定期にバックアップ処理が実行される場合に比較して、復旧のために保持すべき情報量を低減することができる。例えば、制御処理のどの時点でバックアップ処理が行われたかという情報、換言すれば、復電時に制御処理中のいかなる処理から開始すべきかを示す情報は、保持する必要がなくなる。   In this way, backup processing is executed at a specified timing, that is, at a fixed position in a series of processing, so that the backup processing is performed in a manner that is less frequent than interrupt processing. It is possible to reduce the amount of information that should be held in the network. For example, it is not necessary to retain information indicating at what point in the control process the backup process was performed, in other words, information indicating what process in the control process should be started upon power recovery.

電源供給中、上位制御基板は、サブルーチンコールや割込処理などを制御するために、スタックポインタやレジスタなどの制御パラメータを記憶しながら一連の処理を実行する。これらの制御パラメータは、処理を実行する間、サブルーチンコールの状況などに応じて変動するものではあるが、例えば、メインルーチンを開始する最初の時点など、一定の位置では、処理状況に関わらず一定の値(以下、予め決まっている値という意味で「規定値」と呼ぶ)となることがある。この規定値には初期状態も含まれる。本発明のバックアップ処理は、このように制御パラメータが規定値となるタイミングで実行することが好ましい。かかるタイミングでバックアップ処理を実行すれば、制御パラメータは常に一定の値となっているため、改めて制御パラメータの値をバックアップしておくまでなく、上述の規定値を用いて、遊技機の動作状態を停電前の状態に復旧することが可能となる。ここでは、スタックポインタやレジスタを制御パラメータとして例示したが、制御パラメータは、この他、ソフト的またはハード的に一連の処理を実行する上で用いられる種々の変数も対象とすることができる。   During power supply, the host control board executes a series of processes while storing control parameters such as a stack pointer and a register in order to control subroutine calls and interrupt processes. These control parameters vary depending on the status of the subroutine call during the execution of the processing, but are constant regardless of the processing status at a certain position, for example, at the first time when the main routine is started. (Hereinafter referred to as “specified value” in the sense of a predetermined value). This default value includes the initial state. The backup processing according to the present invention is preferably executed at the timing when the control parameter becomes the specified value. If the backup process is executed at such timing, the control parameter is always a constant value. Therefore, it is not necessary to back up the control parameter value again. It becomes possible to recover to the state before the power failure. Here, the stack pointer and the register are exemplified as the control parameters. However, the control parameters can also be various variables used for executing a series of processes in software or hardware.

バックアップ処理は、一例として、繰り返し実行される制御処理(例えば、メインルーチン)の開始直後に実行するようにしてもよい。かかる位置では、サブルーチンコールや割込処理が行われておらず、スタックポインタやレジスタの値が一定値となるため、バックアップしておくべき値を減らすことができる利点がある。   As an example, the backup process may be executed immediately after the start of a repeatedly executed control process (for example, a main routine). At such a position, no subroutine call or interrupt processing is performed, and the values of the stack pointer and the register become constant values, so that there is an advantage that the value to be backed up can be reduced.

上述した種々のバックアップ処理が行われることを前提として、遊技機は、電源の供給停止後の復電時に、予め用意された規定の情報を上位制御基板に設定する復電処理部を備えることが好ましい。こうすることにより、停電前の動作状態を復旧させることができる。復電処理部が設定する情報には、上述した制御パラメータの値が含まれる。   On the premise that the various backup processes described above are performed, the gaming machine may include a power recovery processing unit that sets prescribed information prepared in advance on the upper control board at the time of power recovery after power supply is stopped. preferable. By doing so, it is possible to restore the operating state before the power failure. The information set by the power recovery processing unit includes the value of the control parameter described above.

復電時に用いられる規定の情報は、予め不揮発性メモリに保持しておくようにしてもよいし、バックアップ処理時にRAMの規定の領域に格納しておくようにしてもよい。バックアップ処理が行われた後の復電時の処理と、通常のリセット後の初期化処理との間で、この規定の情報は、同一でもよいし、異なっていてもよい。   The prescribed information used at the time of power recovery may be stored in the nonvolatile memory in advance, or may be stored in a prescribed area of the RAM at the time of backup processing. This prescribed information may be the same or different between the power recovery process after the backup process is performed and the normal initialization process after the reset.

バックアップ処理が完了した後は、無限ループその他の待機処理を実行しながら電源停止に備えるよう構成してもよい。この態様を用いる場合には、ごく短時間の停電など(以下、「瞬停」と呼ぶ)によって、電源電圧が不安定となることによって、電源断発生時処理が開始されてしまったときに、自動的に待機処理から復帰可能とするための構成を併せて設けることが好ましい。かかる構成としては、例えば、バックアップ処理の実行によって、通常の遊技時の制御処理が行われなくなった後の経過期間が所定値を超えた場合には、制御処理を再起動させる復帰手段を設けても良い。経過期間は、タイマで計測された時間の他、無限ループで構成された待機処理のループ実行数やCPUのステップ数などで計測するようにしてもよい。こうすることによって、瞬停時にも支障なく遊技機を稼働させることが可能となる。復帰手段は、先に説明した本発明のバックアップ処理を適用するか否かに関わらず、設けることが可能である。   After the backup process is completed, it may be configured to prepare for a power stop while executing an infinite loop or other standby process. When this mode is used, when the power failure occurs due to the power supply voltage becoming unstable due to a very short blackout (hereinafter referred to as “instantaneous power failure”), It is preferable to provide a configuration for automatically returning from standby processing. As such a configuration, for example, there is provided a return means for restarting the control process when the elapsed time after the control process during the normal game is not performed due to the execution of the backup process exceeds a predetermined value. Also good. In addition to the time measured by the timer, the elapsed period may be measured by the number of loop executions of standby processing configured by an infinite loop, the number of CPU steps, and the like. By doing so, it is possible to operate the gaming machine without any trouble even during a momentary power failure. The restoring means can be provided regardless of whether or not the backup processing of the present invention described above is applied.

本発明は、上述した種々の特徴を必ずしも全て備えている必要はなく、一部を省略したり、適宜組み合わせたりしてもよい。また、本発明は、遊技機において、電源投入後の上位制御基板から下位制御基板へのコマンドの送信を制御する制御方法として構成してもよい。更に、かかるコマンド送信を実現するためのコンピュータプログラム、および該コンピュータプログラムを記録したコンピュータ読み取り可能な記録媒体として構成することもできる。ここで、記録媒体としては、ICカード、ROMカートリッジ、コンピュータの内部記憶装置(RAMやROMなどのメモリ)および外部記憶装置等、コンピュータが読取り可能な種々の媒体を利用できる。   The present invention does not necessarily have all the various features described above, and some of them may be omitted or combined as appropriate. Further, the present invention may be configured as a control method for controlling transmission of commands from the upper control board to the lower control board after power is turned on in the gaming machine. Further, the present invention can be configured as a computer program for realizing the command transmission and a computer-readable recording medium on which the computer program is recorded. Here, various media that can be read by a computer, such as an IC card, a ROM cartridge, a computer internal storage device (memory such as RAM or ROM), and an external storage device can be used as the recording medium.

本発明の実施例について以下の順序で説明する。本実施例では、パチンコ機としての構成を例示するが、本発明は、これに限らず回胴式遊技機など種々の遊技機に適用可能である。
A.ハードウェア構成:
B.主制御基板100の動作:
C.コマンド送信処理:
D.払出制御基板200の動作:
Embodiments of the present invention will be described in the following order. In the present embodiment, a configuration as a pachinko machine is illustrated, but the present invention is not limited to this and can be applied to various gaming machines such as a spinning-type gaming machine.
A. Hardware configuration:
B. Operation of main control board 100:
C. Command transmission processing:
D. Operation of the payout control board 200:

A.ハードウェア構成:
図1は実施例としての遊技機のハードウェア構成を示すブロック図である。遊技機の動作を制御する機構を中心に示した。本実施例では、遊技機の動作は、主制御基板100、払出制御基板200、サブ制御基板300などの各制御基板の分散処理によって制御される。各制御基板は、内部にCPU、RAM、ROMなどを備えたマイクロコンピュータとして構成されており、ROMに記録されたプログラムに従って種々の制御処理を実現する。
A. Hardware configuration:
FIG. 1 is a block diagram showing a hardware configuration of a gaming machine as an embodiment. The mechanism that controls the operation of the gaming machine is shown. In this embodiment, the operation of the gaming machine is controlled by distributed processing of each control board such as the main control board 100, the payout control board 200, and the sub control board 300. Each control board is configured as a microcomputer having a CPU, a RAM, a ROM, and the like inside, and implements various control processes according to programs recorded in the ROM.

実施例の遊技機では、種々の不正を防止するため、主制御基板100への外部からの入力が制限されている。例外的な指示入力手段として、主制御基板100上には、RAMクリアスイッチ110が設けられており、電源投入時にこのスイッチを操作することで、RAMの記憶内容を強制的に消去することができる。主制御基板100とサブ制御基板300とはパラレル電気信号で接続されており、主制御基板100と払出制御基板200とは、制御処理の必要上、シリアル電気信号で接続されている。払出制御基板200、サブ制御基板300は、それぞれ主制御基板100からのコマンドに応じて動作する。   In the gaming machine of the embodiment, the input from the outside to the main control board 100 is restricted in order to prevent various frauds. As an exceptional instruction input means, a RAM clear switch 110 is provided on the main control board 100, and the stored contents of the RAM can be forcibly erased by operating this switch when the power is turned on. . The main control board 100 and the sub control board 300 are connected by a parallel electric signal, and the main control board 100 and the payout control board 200 are connected by a serial electric signal for the necessity of control processing. The payout control board 200 and the sub control board 300 operate in accordance with commands from the main control board 100, respectively.

パチンコ機は、主制御基板100の制御に基づいて、遊技盤面に設けられた入賞口に球が入ると、球を払い出し、乱数に基づく当たり/はずれの判定を行うとともに、当たりと判定された場合には、遊技盤面に設けられた大入賞口を規定期間だけ解放するよう動作する。遊技時にかかる動作を実現するため、主制御基板100には、入賞口への球の入賞を検出する入賞検出器101の検出結果が入力されている。また、主制御基板100からは、大入賞口を解放するための大入賞口ソレノイド102の制御信号が出力される。   When a ball enters a winning slot provided on the game board surface based on the control of the main control board 100, the pachinko machine pays out the ball, performs a hit / miss determination based on a random number, and is determined to be a win Operates to release the special winning opening provided on the game board surface for a predetermined period. In order to realize the operation at the time of a game, the main control board 100 receives the detection result of the winning detector 101 that detects the winning of a ball in the winning opening. Further, the main control board 100 outputs a control signal for the big prize opening solenoid 102 for releasing the big prize opening.

その他の遊技時における各動作の制御は、払出制御基板200、サブ制御基板300を介して行われる。払出制御基板200は、遊技中の球の発射および払い出しを次の手順で制御する。球の発射は、直接的には発射制御基板202によって制御される。即ち、遊技者が、遊技盤面に設けられた発射ハンドル201を操作すると、発射制御基板202は、発射モータ203を制御し、球を発射する。払出制御基板200は、発射制御基板202に対して、発射可否の制御信号を送出することで、間接的に球の発射を制御する。   Control of each operation during other games is performed via the payout control board 200 and the sub control board 300. The payout control board 200 controls the launching and payout of the ball being played in the following procedure. The launch of the sphere is controlled directly by the launch control board 202. That is, when the player operates the launch handle 201 provided on the game board surface, the launch control board 202 controls the launch motor 203 to launch a ball. The payout control board 200 indirectly controls the launch of the sphere by sending a launch control signal to the launch control board 202.

遊技中に入賞した旨のコマンドを主制御基板100から受信すると、払出制御基板200は、払出しモータ220を制御し、球数をカウントしながら規定数の球を払い出す。払出制御基板200は、払出し用に貯えられた球の不足の有無を球切れスイッチ210によって検出し、不足時には、球不足の検出信号を払出制御基板200に出力する。   When receiving a command indicating that a prize has been won during the game from the main control board 100, the payout control board 200 controls the payout motor 220 and pays out a specified number of balls while counting the number of balls. The payout control board 200 detects whether or not the balls stored for payout are insufficient by the ball break switch 210, and outputs a ball shortage detection signal to the payout control board 200 when there is a shortage.

サブ制御基板300は、音声、表示、ランプ点灯などの演出を制御する演出制御基板として構成されている。これらの演出は、通常時、入賞時、大当たり時など、遊技中のステータスに応じて変化する。主制御基板100から、各ステータスに応じた演出用のコマンド(以下、「遊技コマンド」と呼ぶ)が送信されると、サブ制御基板300は、各コマンドに対応したプログラムを起動して、主制御基板100から指示された演出を実現する。サブ制御基板300はRAMの所定領域がコマンドバッファとして割り当てられている。サブ制御基板300は、主制御基板100からコマンドを受信すると、一旦、このコマンドバッファに格納した後、順次、コマンドを読み出して実行する。サブ制御基板300は、電源投入後の起動処理中などにおいても、主制御基板100からのコマンドを受信することは可能であるが、必ずしも全てのコマンドを実行可能とは限らない。本実施例のようにコマンドバッファを設けることにより、すぐには実行できないコマンドを受信した場合でも、その実行が可能となった時点で、漏れなく実行することができる利点がある。   The sub control board 300 is configured as an effect control board for controlling effects such as voice, display, and lamp lighting. These effects vary according to the status during the game, such as during normal times, when winning a prize, or when winning a big hit. When an effect command corresponding to each status (hereinafter referred to as “game command”) is transmitted from the main control board 100, the sub-control board 300 activates a program corresponding to each command and performs main control. An effect instructed from the substrate 100 is realized. In the sub-control board 300, a predetermined area of the RAM is assigned as a command buffer. When the sub control board 300 receives a command from the main control board 100, the sub control board 300 temporarily stores the command in the command buffer, and then sequentially reads and executes the command. The sub-control board 300 can receive commands from the main control board 100 even during the startup process after power-on, but not all commands can be executed. By providing a command buffer as in this embodiment, there is an advantage that even when a command that cannot be executed immediately is received, it can be executed without omission when it can be executed.

サブ制御基板300は、これらの遊技中の演出の他、作業員が遊技機の状態を確認するための出力も行う。例えば、本実施例では、主制御基板100に設けられたRAMクリアスイッチ110が操作された時に、RAMの消去指示(以下、「RAMクリア」と呼ぶ)を受け付けた旨の音声出力をスピーカ350から行う。併せて、枠装飾ランプ376を点灯制御してもよい。但し、RAMクリアの作業は、遊技板の背面で行われ、作業員が枠装飾ランプ376の点灯状態を確認しづらいことが多いため、RAMクリアの完了には音声出力を用いることが好ましい。RAMクリアの報知は、RAMの消去が完了した時点で行うようにしてもよいが、作業効率向上という観点からは、RAMクリアを受け付けた時点で速やかに報知することが好ましい。   In addition to these effects during the game, the sub-control board 300 also outputs for the worker to check the state of the gaming machine. For example, in this embodiment, when the RAM clear switch 110 provided on the main control board 100 is operated, a sound output indicating that a RAM erasing instruction (hereinafter referred to as “RAM clear”) is received is output from the speaker 350. Do. In addition, the lighting of the frame decoration lamp 376 may be controlled. However, since the RAM clearing operation is performed on the back of the game board and it is often difficult for an operator to check the lighting state of the frame decoration lamp 376, it is preferable to use an audio output to complete the RAM clearing. The RAM clear notification may be performed when the RAM erase is completed, but from the viewpoint of improving work efficiency, it is preferable to promptly notify when the RAM clear is received.

本実施例では、図示する通り、サブ制御基板300はスピーカ350を直接制御する。スピーカ350は、複数接続されていてもよい。液晶表示装置(以下、「LCD」と呼ぶ)361は、表示制御基板360を介して制御する。表示制御基板360は、CPU、RAM、ROMを搭載しており、このCPUの制御下でVDP(Video Display Processor)を駆動して、バッファ上にLCD361に表示する図柄を生成、記憶させ、これに基づいて、LCD361の各セルを駆動制御して所望の図柄を表示させる機能を奏する。サブ制御基板300の制御対象となるランプには、遊技盤面に設けられたパネル装飾ランプ371と、遊技盤の枠に設けられた枠装飾ランプ376がある。サブ制御基板300は、信号分配用の基板であるランプ中継基板370、375を介して、これらのランプ371、376と接続されており、各ランプを個別に点滅させることができる。本実施例では、サブ制御基板300と表示制御基板360を個別の基板として示したが、両者を統合した演出統合制御基板として構成してもよい。こうすることにより演出統合制御基板には、VDPも含めて複数のCPUが搭載されることになり、後述する電源投入後の処理において、コマンド受信・実行と起動処理を各CPU間で分散しながら円滑に実行することが可能となる。   In the present embodiment, as illustrated, the sub-control board 300 directly controls the speaker 350. A plurality of speakers 350 may be connected. A liquid crystal display device (hereinafter referred to as “LCD”) 361 is controlled via a display control board 360. The display control board 360 is equipped with a CPU, RAM, and ROM. Under the control of the CPU, a VDP (Video Display Processor) is driven to generate and store symbols to be displayed on the LCD 361 on the buffer. Based on this, each cell of the LCD 361 is driven and controlled to display a desired pattern. The lamps to be controlled by the sub-control board 300 include a panel decoration lamp 371 provided on the game board surface and a frame decoration lamp 376 provided on the frame of the game board. The sub-control board 300 is connected to these lamps 371 and 376 via lamp relay boards 370 and 375 which are signal distribution boards, and each lamp can blink individually. In the present embodiment, the sub control board 300 and the display control board 360 are shown as separate boards, but may be configured as an effect integrated control board that integrates both. In this way, the production integrated control board is equipped with a plurality of CPUs including the VDP, and the command reception / execution and start-up processes are distributed among the CPUs in the process after power-on described later. It becomes possible to execute smoothly.

電源制御基板400は、これらの基板その他への電力の供給を行う。電力供給回路404は、外部電源から供給用の電力を生成する回路である。本実施例では、5V、12V、24V、34Vの各電圧で電力を供給する。これらの電力によって、各制御装置、大入賞口ソレノイド102、モータ等が駆動される。図の煩雑化を回避するため、電力の供給線は図示を省略した。   The power supply control board 400 supplies power to these boards and others. The power supply circuit 404 is a circuit that generates power for supply from an external power supply. In the present embodiment, power is supplied at each voltage of 5V, 12V, 24V, and 34V. These electric powers drive each control device, the special prize opening solenoid 102, the motor, and the like. In order to avoid complication of the figure, the illustration of the power supply line is omitted.

バックアップ電源回路406は、交流を直流に変換した後に平滑化するためのコンデンサ、および電気二重層コンデンサ等から構成される回路であり、外部電源の停電時に、遊技機の各部へ一定期間電力を供給する。前者のコンデンサは、直流の平滑化の他、停電発生時の電源断発生時処理が完了するまでの各制御基板の動作確保に使用される。後者の電気二重層コンデンサは、停電後数日間のRAMの記憶内容保持に使用される。   The backup power supply circuit 406 is composed of a capacitor for smoothing after converting alternating current to direct current, an electric double layer capacitor, and the like, and supplies power to each part of the gaming machine for a certain period of time when a power failure occurs in the external power supply. To do. The former capacitor is used for ensuring the operation of each control board until the process at the time of the occurrence of a power interruption in the event of a power failure is completed in addition to the smoothing of direct current. The latter electric double layer capacitor is used to hold the stored contents of RAM for several days after a power failure.

停電監視回路402は、電力供給回路404の出力電圧を監視する回路である。電力供給回路404からの出力電圧が、所定値よりも低下した場合には外部電源の停電が発生したものと判断し、停電予告信号を払出制御基板200に出力する。停電予告信号は、更に、払出制御基板200から主制御基板100に伝達される。この信号は、直接、電力供給回路404から主制御基板100に出力されるようにしてもよい。払出制御基板200および主制御基板100は、停電予告信号を受けると、後述する電源断発生時処理を実行する。この間の停電電圧の低下は、バックアップ電源回路406からの電力によって補償される。   The power failure monitoring circuit 402 is a circuit that monitors the output voltage of the power supply circuit 404. When the output voltage from the power supply circuit 404 falls below a predetermined value, it is determined that a power failure has occurred in the external power supply, and a power failure warning signal is output to the payout control board 200. The power failure notice signal is further transmitted from the payout control board 200 to the main control board 100. This signal may be directly output from the power supply circuit 404 to the main control board 100. The payout control board 200 and the main control board 100, when receiving a power failure notice signal, execute a power interruption occurrence process described later. The decrease in the power failure voltage during this time is compensated by the power from the backup power supply circuit 406.

以上で説明したハードウェア構成は、遊技機の一例である。各ハードウェアモジュールの接続先は、図示した例に限らず種々の構成を採ることが可能である。また、遊技機に要求される機能に応じて、図示したハードウェアモジュールの一部を省略した構成、別個のハードウェアモジュールを追加した構成を採ってもよい。   The hardware configuration described above is an example of a gaming machine. The connection destination of each hardware module is not limited to the illustrated example, and various configurations can be adopted. Further, a configuration in which a part of the illustrated hardware module is omitted or a configuration in which a separate hardware module is added may be employed depending on the function required for the gaming machine.

B.主制御基板100の動作:
図2は主制御基板100の制御処理(以下、「主制御処理」と呼ぶ)のフローチャートである。主制御基板100のROMに記録されているプログラムに従って、CPUが実行する処理である。電源が投入されると、CPUは電源投入時処理を実行する(ステップS100)。電源投入時処理の内容については後述する。
B. Operation of main control board 100:
FIG. 2 is a flowchart of the control process of the main control board 100 (hereinafter referred to as “main control process”). This process is executed by the CPU in accordance with a program recorded in the ROM of the main control board 100. When the power is turned on, the CPU executes a power-on process (step S100). Details of the power-on process will be described later.

電源投入時処理が終了すると、CPUは遊技用の各処理を繰り返し実行するループを開始する。このループ開始時には、CPUは、まず停電予告信号が検知されているか否かを判定する(ステップS200)。外部電源が停電したり、電源が切断されたりした場合など(以下、両者を含めて広義に「停電」と称する)、停電予告信号が検知されている場合には、電源断発生時処理を実行する(ステップS300)。これは、電源が復旧した場合に(以下、「復電」と呼ぶ)、遊技機の動作を、停電前の状態から再開するための処理である。処理内容は、後述するが、本実施例においては、図示する通り、電源断発生時処理は、割込処理ではなく、ループの開始直後に、停電予告信号の検知有無に応じて実行される分岐処理として主制御処理内に組み込まれている。   When the power-on process ends, the CPU starts a loop that repeatedly executes each process for gaming. At the start of this loop, the CPU first determines whether or not a power failure notice signal has been detected (step S200). If a power failure warning signal is detected, such as when the external power supply fails or is turned off (hereinafter referred to as “power failure” in a broad sense, including both), the power failure occurrence processing is executed. (Step S300). This is a process for resuming the operation of the gaming machine from the state before the power failure when the power supply is restored (hereinafter referred to as “power recovery”). Although the processing contents will be described later, in this embodiment, as shown in the figure, the processing at the time of power-off occurrence is not an interrupt processing, but is executed immediately after the start of the loop depending on whether or not a power failure warning signal is detected. It is incorporated in the main control process as a process.

停電予告信号が検知されていない場合(ステップS200)、即ち外部電源からの電力が正常に供給されている場合には、CPUは遊技用の処理として、遊技開始処理(ステップS400)、普通図柄遊技(ステップS402)、普通電動役物遊技(ステップS404)、特別図柄遊技(ステップS406)、および第1種特別電動役物遊技(ステップS408)を実行する。遊技開始処理では、CPUは、入賞口への遊技球の入賞有無の検知や、入賞球数に応じた賞球払出コマンドの払出制御基板200への出力を行う。その他の処理は、それぞれ普通図柄、普通電動役物、特別図柄、第1種特別電動役物などの動作可否の判定、および表示、動作制御などを行う処理である。これらの各種処理において、他の制御基板へのコマンド送信は、後述するコマンド送信処理によって実行される。   When the power failure warning signal is not detected (step S200), that is, when the power from the external power supply is normally supplied, the CPU starts a game start process (step S400), a normal symbol game as a game process. (Step S402), a normal electric game (Step S404), a special symbol game (Step S406), and a first type special electric game (Step S408) are executed. In the game start process, the CPU detects whether or not a game ball has won a prize opening and outputs a prize ball payout command according to the number of winning balls to the payout control board 200. The other processes are processes for determining whether or not to operate the normal symbol, the ordinary electric accessory, the special symbol, the first type special electric accessory, and the like, and displaying and controlling the operation. In these various processes, command transmission to other control boards is executed by command transmission processing described later.

図3は電源断発生時処理のフローチャートである。主制御処理において、停電予告信号が検出された時に実行される処理である。CPUは、まず割込処理が実行されないよう、割込禁止設定を行う(ステップS302)。そして、RAMのチェックサムを算出し、RAM内の所定領域に保存する(ステップS304)。このチェックサムは、後述する通り、復電時に、停電前のRAMの内容が保持されているか否かをチェックするのに使用される。   FIG. 3 is a flowchart of the process at the time of power-off occurrence. In the main control process, this process is executed when a power failure warning signal is detected. First, the CPU performs an interrupt prohibition setting so that the interrupt process is not executed (step S302). Then, the RAM checksum is calculated and stored in a predetermined area in the RAM (step S304). As will be described later, this checksum is used to check whether or not the content of the RAM before the power failure is retained at the time of power recovery.

次に、CPUは、RAMの所定領域に設けられたバックアップフラグに、電源断発生時処理が実行されたことを表す規定値を設定する(ステップS306)。以上の処理を終えると、CPUはRAMへのアクセスを禁止し(ステップS308)、無限ループに入って、電源停止に備える。   Next, the CPU sets a specified value indicating that the process at the time of power-off occurrence has been executed in a backup flag provided in a predetermined area of the RAM (step S306). When the above processing is completed, the CPU prohibits access to the RAM (step S308), enters an infinite loop, and prepares for power stop.

なお、この処理では、ごく短時間の停電など(以下、「瞬停」と呼ぶ)によって、電源電圧が不安定となることによって、電源断発生時処理が開始されてしまった場合、実際には電源は停止されないため、上記処理では、無限ループから復帰することができなくなるおそれがある。かかる弊害を回避するため、本実施例のCPUには、ウォッチドッグタイマが設けられており、所定時間、ウォッチドッグタイマが更新されないと、リセットがかかるよう構成されている。ウォッチドッグタイマは、正常に処理が行われている間は、定期的に更新されるが、電源断発生時処理に入り、更新が行われなくなる。この結果、瞬停によって、電源断発生時処理に入り図3の無限ループに入った場合でも、所定時間経過後にリセットがかかり、電源投入時と同じプロセスでCPUが起動することになる。   In this process, if the power supply voltage becomes unstable due to a power outage for a very short time (hereinafter referred to as “instantaneous power outage”), the process at the time of power-off occurrence is actually started. Since the power supply is not stopped, there is a possibility that the process described above cannot return from the infinite loop. In order to avoid such adverse effects, the CPU of this embodiment is provided with a watchdog timer, and is configured to be reset if the watchdog timer is not updated for a predetermined time. The watchdog timer is periodically updated while the process is normally performed. However, the watchdog timer enters the process when the power is cut off and is not updated. As a result, even when the power interruption occurs and the infinite loop shown in FIG. 3 is entered due to a momentary power failure, a reset is applied after a predetermined time has elapsed, and the CPU is started in the same process as when the power is turned on.

図4は電源投入時処理(「起動処理」または「ブート処理」と呼ぶこともある)のフローチャートである。主制御処理(図2)のステップS100に相当する処理である。電源が投入されると、CPUは、まず割込モードの設定(ステップS101)、停電予告信号を一定時間監視(ステップS102)、RAMのアクセス許可(ステップS103)という電源投入後の規定の設定処理を実行する。   FIG. 4 is a flowchart of power-on processing (sometimes referred to as “start-up processing” or “boot processing”). This is a process corresponding to step S100 of the main control process (FIG. 2). When the power is turned on, the CPU first sets the interrupt mode (step S101), monitors the power failure warning signal for a certain period of time (step S102), and permits access to the RAM (step S103). Execute.

その後、スタックポインタに規定値Aを設定する(ステップS104)。スタックポインタは、CPUが主制御処理を実行するために必要となる種々の制御情報、例えば、サブルーチンからの戻りアドレスやレジスタの値の一時的保存に使用されるメモリ領域を表す値である。スタックポインタは、主制御処理の実行中には、上述の制御情報の量に応じて変動するが、少なくともループ(図2参照)の開始時、つまり遊技開始処理等の一連の処理(図2のステップS400〜S408)を完了した後では、サブルーチンコールや割込処理が行われていないため、常に一定の値となっている。従って、本実施例では、スタックポインタをバックアップするまでなく、一定の規定値Aを設定することで、遊技機を停電直前の状態に復旧させることができる。   Thereafter, the specified value A is set in the stack pointer (step S104). The stack pointer is a value representing a memory area used for temporarily storing various control information necessary for the CPU to execute main control processing, for example, a return address from a subroutine and a register value. The stack pointer varies depending on the amount of control information described above during execution of the main control process, but at least at the start of the loop (see FIG. 2), that is, a series of processes such as a game start process (see FIG. 2). After completing Steps S400 to S408), the subroutine call and interrupt processing are not performed, so the value is always constant. Therefore, in this embodiment, the gaming machine can be restored to the state immediately before the power failure by setting a certain prescribed value A without having to back up the stack pointer.

次に、CPUは、RAMクリアスイッチ110、即ちRAMを強制的に初期化するためのスイッチがONとなっていなければ(ステップS105)、RAMのチェックサムを算出する(ステップS106)。そして、算出結果を、先に電源断発生時処理(図3)で保存したチェックサムと比較する。両者が一致している場合には、チェックサムは正常と判断する(ステップS107)。   Next, if the RAM clear switch 110, that is, the switch for forcibly initializing the RAM is not ON (step S105), the CPU calculates a checksum of the RAM (step S106). Then, the calculation result is compared with the checksum previously saved in the process at the time of power-off occurrence (FIG. 3). If the two match, it is determined that the checksum is normal (step S107).

チェックサムが正常であれば、CPUはバックアップフラグが電源断発生時処理の設定値となっているか否かを判断する(ステップS108)。正常とは、この設定値に設定されていることを示す。バックアップフラグが正常でない場合には、通常起動時であると判断し、RAMの全てをクリアするとともに、初期設定を行う(ステップS120、S121)。この処理は、RAMクリアスイッチ110がONとなっている場合(ステップS105)およびチェックサムの値が異常である場合(ステップS107)にも同様に行われる。また、RAMクリアと併せて、CPUはサブ制御基板300に対して、RAMクリアの受付を報知させるためのコマンド、RAMクリアコマンドを送信する(ステップS122)。このコマンド送信も、後述するコマンド送信処理によって行われる。RAMクリアコマンドは、RAMクリアが完了した時点で送出するようにしてもよい。   If the checksum is normal, the CPU determines whether or not the backup flag is a set value for processing when a power failure occurs (step S108). “Normal” indicates that this set value is set. If the backup flag is not normal, it is determined that it is normal startup, and all of the RAM is cleared and initial setting is performed (steps S120 and S121). This process is similarly performed when the RAM clear switch 110 is ON (step S105) and when the checksum value is abnormal (step S107). In addition to the RAM clear, the CPU transmits a command for informing the sub-control board 300 of acceptance of the RAM clear and a RAM clear command (step S122). This command transmission is also performed by a command transmission process described later. The RAM clear command may be sent when the RAM clear is completed.

バックアップフラグが正常値である場合には(ステップS108)、バックアップフラグをクリアし(ステップS110)、RAMの復電時処理を実行する(ステップS111)。本実施例の復電時処理では、遊技機を停電時の状態に復旧させるためにCPUがレジスタに読み込むべき値を、RAMの所定領域にロードするものとした。CPUのレジスタの内容は、主制御処理の実行中には変動するが、図2のループ開始時点では、サブルーチンコールや割込処理がなされていないため、常に一定値となる。従って、復電時処理(ステップS111)では、停電の発生タイミングに関わらず規定値を設定すれば足りる。この設定値は、CPUによって読み込まれ、レジスタに設定される。   If the backup flag is a normal value (step S108), the backup flag is cleared (step S110), and the process for power recovery of the RAM is executed (step S111). In the power recovery process of this embodiment, the value that the CPU should read into the register to restore the gaming machine to the power failure state is loaded into a predetermined area of the RAM. Although the contents of the CPU register fluctuate during execution of the main control process, the subroutine call and interrupt process are not performed at the start of the loop in FIG. Therefore, in the power recovery process (step S111), it is sufficient to set a specified value regardless of the occurrence timing of the power failure. This set value is read by the CPU and set in the register.

以上の処理を完了すると、CPUは周辺デバイスの初期設定を実行し(ステップS130)、割込許可の設定を行って(ステップS131)、電源投入時処理を終了する。図2に示した通り、この後、遊技用のループが開始されることになる。復電時には、電源投入時処理によって、停電時のスタックポインタおよびレジスタの状態が復旧されていることになるため、遊技機の動作も停電時の状態から再開されることになる。   When the above processing is completed, the CPU executes initial setting of peripheral devices (step S130), sets interrupt permission (step S131), and ends the power-on processing. As shown in FIG. 2, a game loop is started thereafter. When power is restored, the power-on process restores the state of the stack pointer and the register at the time of the power failure, so that the operation of the gaming machine is resumed from the state at the time of the power failure.

起動処理は、払出制御基板200、サブ制御基板300、表示制御基板360においても、それぞれ個別に実行される。ただし、本実施例では、サブ制御基板300、表示制御基板360についてはバックアップ機能が設けられていないため、図4におけるステップS104〜S111およびS122が省略された簡易な処理が実行されることになる。払出制御基板200は、主制御基板100と同様のバックアップ処理、復電処理を実行する。また、主制御基板100がRAMクリアを行う際には、主制御基板100からの信号を受けて払出制御基板200もRAMクリアを実行する。   The activation process is also executed individually on the payout control board 200, the sub control board 300, and the display control board 360. However, in this embodiment, since the backup function is not provided for the sub control board 300 and the display control board 360, a simple process in which steps S104 to S111 and S122 in FIG. 4 are omitted is executed. . The payout control board 200 executes backup processing and power recovery processing similar to those of the main control board 100. Further, when the main control board 100 performs the RAM clear, the payout control board 200 also executes the RAM clear in response to a signal from the main control board 100.

サブ制御基板300、表示制御基板360の各制御基板は、初期設定(ステップS130)の一環として、それぞれの制御基板での制御を実現するために必要なソフトウェアやデータをROMからRAM領域に展開する処理を実行する。サブ制御基板300や表示制御基板360では、展開すべきソフトウェアおよびデータのサイズが比較的大きいため、起動処理には、数秒を要することもある。先に説明した通り、サブ制御基板300は、この起動処理中においても、主制御基板100からのコマンドを受信することが可能である。同様に、払出制御基板200は主制御基板100からのコマンド受信が可能であり、表示制御基板360はサブ制御基板300からのコマンド受信が可能である。   Each control board of the sub-control board 300 and the display control board 360 develops software and data necessary for realizing control on the respective control boards from the ROM to the RAM area as part of the initial setting (step S130). Execute the process. In the sub control board 300 and the display control board 360, since the size of software and data to be developed is relatively large, the activation process may take several seconds. As described above, the sub control board 300 can receive a command from the main control board 100 even during the activation process. Similarly, the payout control board 200 can receive commands from the main control board 100, and the display control board 360 can receive commands from the sub control board 300.

C.コマンド送信処理:
図5はコマンド送信処理のフローチャートである。先に示した主制御処理(図2)や電源投入時処理(図4)などにおいて、主制御基板100が他の制御基板にコマンドを送信するために実行する処理である。コマンド送信処理が実行される際には、送信すべきコマンドが、主制御処理等によって指定されていることになる。図中の右側には、このコマンドを受信する側の処理例として、サブ制御基板300が電源投入後に実行する処理を示した。
C. Command transmission processing:
FIG. 5 is a flowchart of command transmission processing. This is a process executed by the main control board 100 to transmit a command to another control board in the main control process (FIG. 2) and the power-on process (FIG. 4) described above. When the command transmission process is executed, the command to be transmitted is designated by the main control process or the like. On the right side of the figure, as an example of processing on the side of receiving this command, processing executed after the sub control board 300 is turned on is shown.

主制御基板100のCPUはこの処理が開始されると、送信すべきコマンド指定を入力し(ステップS10)、送信タイミングを判定する(ステップS11)。本実施例では、コマンドと送信タイミングとの対応関係が予めテーブル形式で規定されているものとした。図中に、この対応関係を示すテーブル例を示した。例えば、「RAMクリアコマンド」は、「即時」に送信する設定となっており、「演出パターン番号」など遊技中に使用されるコマンドについては、「ブート後」、即ち起動処理が完了した後に送信する設定となっている。先に説明した通り、本実施例では、主制御基板100とサブ制御基板300とは単方向のパラレル通信線で接続されており、主制御基板100のCPUはサブ制御基板300の起動完了を検知することはできない構成となっている。従って、「ブート後」と設定されたコマンドに関しては、主制御基板100はサブ制御基板300の起動の所要時間(以下、「起動期間」と称する)に基づいて予め設定された時間を経過した後に、コマンドを送信することになる。   When this process is started, the CPU of the main control board 100 inputs a command designation to be transmitted (step S10) and determines the transmission timing (step S11). In this embodiment, it is assumed that the correspondence between commands and transmission timing is defined in advance in a table format. In the figure, an example of a table showing this correspondence is shown. For example, the “RAM clear command” is set to be transmitted “immediately”, and commands used during the game such as “effect pattern number” are transmitted “after boot”, that is, after the startup process is completed. It is set to be. As described above, in this embodiment, the main control board 100 and the sub control board 300 are connected by a unidirectional parallel communication line, and the CPU of the main control board 100 detects the completion of the start of the sub control board 300. It can not be configured. Accordingly, for the command set as “after boot”, the main control board 100 has passed a preset time based on the time required to start up the sub-control board 300 (hereinafter referred to as “startup period”). Will send a command.

コマンドの送信タイミングは、図中に例示した他、種々の態様で設定することが可能であり、例えば、各コマンドに送信までの待ち時間を対応づけるようにしてもよい。こうすることにより、待ち時間の設定値によって、コマンド間に送信に関する優劣を設けることも可能となる。コマンド間に優劣を設けるようにしてもよいし、コマンドの送信先となる基板の種類によって優劣を設けるようにしてもよい。本実施例では、RAMクリアコマンドのみが即時と設定されていることから、サブ制御基板300へのコマンドを、払出制御基板200へのコマンドよりも優先した設定となっていることになる。   The command transmission timing can be set in various modes in addition to the example illustrated in the figure. For example, a waiting time until transmission may be associated with each command. By doing so, it becomes possible to provide superiority or inferiority in transmission between commands depending on the set value of the waiting time. Superiority or inferiority may be provided between commands, or superiority or inferiority may be provided depending on the type of substrate to which the command is transmitted. In this embodiment, since only the RAM clear command is set to be immediate, the command to the sub control board 300 is set to have priority over the command to the payout control board 200.

コマンドの送信タイミングは、必ずしもテーブル形式で設定しておく必要はなく、例えば、「RAMクリアコマンドか否か」という処理中の分岐条件として規定するようにしてもよい。コマンドの送信タイミングは、電源投入後の起動処理中、遊技中など、いくつかのモードに分けて個別に設定するようにしてもよい。   The command transmission timing does not necessarily have to be set in a table format. For example, the command transmission timing may be defined as a branching condition during processing such as “whether or not it is a RAM clear command”. The command transmission timing may be set separately for several modes, such as during startup processing after power-on and during gaming.

CPUは、上述の処理によって決定された送信タイミングに基づいてコマンドの送信を実行する。本実施例では、ブート後(ステップS12)、または「即時」送信が指定されている場合(ステップS13)は、直ちにコマンドの送信を実行する(ステップS15)。遊技中でない場合(ステップS12)、即ち起動中の場合において、「ブート後」が指定されている場合(ステップS13)には、起動期間の経過を待って(ステップS14)、コマンドを送信する(ステップS15)。   The CPU executes command transmission based on the transmission timing determined by the above-described processing. In this embodiment, after booting (step S12) or when “immediate” transmission is designated (step S13), the command is immediately transmitted (step S15). If the game is not in progress (step S12), that is, if it is activated, and “after boot” is designated (step S13), the command is transmitted after waiting for the activation period to elapse (step S14) (step S14). Step S15).

このコマンドを受信する側の処理として、サブ制御基板300の起動処理中を例示した。サブ制御基板300は、電源が投入されると、RAMの初期化など必要な初期化処理を実行し(ステップS20)、制御に必要なソフトウェアおよびデータをROMからRAM上に展開する(ステップS21)。この間もサブ制御基板300はコマンドの受信が可能である。従って、主制御基板100からコマンドが送信されると、サブ制御基板300は、これを受信して、コマンドバッファに格納する(ステップS22)。そして、ソフトウェア・データの展開の途中で、適宜、割込をかけてコマンドを実行する(ステップS23)。   As an example of processing on the side of receiving this command, the sub-control board 300 is being started. When the power is turned on, the sub control board 300 executes necessary initialization processing such as initialization of the RAM (step S20), and develops software and data necessary for control from the ROM onto the RAM (step S21). . During this time, the sub-control board 300 can receive commands. Therefore, when a command is transmitted from the main control board 100, the sub control board 300 receives it and stores it in the command buffer (step S22). Then, during the development of the software data, a command is executed with an appropriate interruption (step S23).

主制御基板100およびサブ制御基板300が正常に動作している場合、起動中にサブ制御基板300が受信し得るのは、本実施例では「RAMクリアコマンド」のみである。図中には、コマンド実行処理(ステップS23)の例として、この「RAMクリアコマンド」に対応する処理を示した。サブ制御基板300は、主制御基板100から、RAMクリアコマンドを受信すると、作業員にRAMクリアの受付を報知するため、スピーカ350から規定のRAMクリア音を発生するとともに、枠装飾ランプ376を点灯する。枠装飾ランプ376の点灯制御を省略してもよい。図1で示した通り、スピーカ350および枠装飾ランプ376は、いずれも下位の制御基板を介することなく、サブ制御基板300によって直接に制御されているため、起動中でも音声出力および点灯制御が可能である。   When the main control board 100 and the sub control board 300 are operating normally, only the “RAM clear command” can be received by the sub control board 300 during startup in this embodiment. In the drawing, as an example of the command execution process (step S23), a process corresponding to the “RAM clear command” is shown. When the sub control board 300 receives a RAM clear command from the main control board 100, the sub control board 300 generates a prescribed RAM clear sound from the speaker 350 and lights the frame decoration lamp 376 to notify the worker of acceptance of the RAM clear. To do. The lighting control of the frame decoration lamp 376 may be omitted. As shown in FIG. 1, both the speaker 350 and the frame decoration lamp 376 are directly controlled by the sub-control board 300 without going through the lower control board, so that sound output and lighting control can be performed even during startup. is there.

サブ制御基板300は、以上の処理を起動完了まで繰り返し実行する(ステップS24)。ここでは、図示の便宜上、ソフトウェア・データの展開と、コマンドの入力および実行とを、一つのシーケンスとして示したが、実際には、並列に実行される個別の処理によって実現されている。コマンドの受信および実行は、図中に示した他、遊技中にもサブ制御基板300、払出制御基板200でそれぞれ実行されることになる。   The sub-control board 300 repeatedly executes the above processing until the activation is completed (step S24). Here, for convenience of illustration, the development of software data and the input and execution of commands are shown as one sequence, but in actuality, they are realized by individual processes executed in parallel. The command reception and execution are executed by the sub control board 300 and the payout control board 200 during the game, as shown in the figure.

D.払出制御基板200の動作:
図6は払出制御基板200の制御処理(以下、「払出制御処理」と呼ぶ)のフローチャートである。払出制御基板200のROMに記録されているプログラムに従って、CPUが実行する処理である。電源が投入されると、CPUは電源投入時処理を実行した後(ステップS500)、ループを開始する。電源投入時処理は、主制御基板100における処理(図4)と同様の処理である。主制御基板100でRAMクリアが行われる場合には、払出制御基板200でもRAMクリアが行われる。払出制御基板200のRAMクリアの実行指示は、例えば、主制御基板100からRAMクリアコマンドを払出制御基板200に送出して行うようにしてもよいし、RAMクリアスイッチ110の操作を払出制御基板200が検出するようにしてもよい。
D. Operation of the payout control board 200:
FIG. 6 is a flowchart of the control process of the payout control board 200 (hereinafter referred to as “payout control process”). This is a process executed by the CPU in accordance with a program recorded in the ROM of the payout control board 200. When the power is turned on, the CPU executes a power-on process (step S500) and then starts a loop. The power-on process is the same as the process in the main control board 100 (FIG. 4). When the RAM is cleared on the main control board 100, the RAM is also cleared on the payout control board 200. The instruction to execute the RAM clear of the payout control board 200 may be performed by, for example, sending a RAM clear command from the main control board 100 to the payout control board 200, or operating the RAM clear switch 110. May be detected.

本実施例では、払出制御基板200は、RAMクリア指示を受け付けた場合でも、RAMクリアコマンドを出力しないものとした。払出制御基板200でのRAMクリアを確実に実行するためには、払出制御基板200からもRAMクリアコマンドを送出するようにしてもよい。例えば、RAMクリアコマンドを主制御基板100経由でサブ制御基板300に送出し、RAMクリアを報知する態様を採ることができる。この場合には、主制御基板100と払出制御基板200で、報知態様を変えることが好ましい。別の態様として、主制御基板100は、自身がRAMクリアを受け付けることに加えて、払出制御基板200がRAMクリアの指示を受け付けたことを確認した時点で、RAMクリアコマンドを出力するようにしてもよい。   In this embodiment, the payout control board 200 does not output a RAM clear command even when a RAM clear instruction is received. In order to reliably execute the RAM clear on the payout control board 200, a RAM clear command may also be sent from the payout control board 200. For example, a mode in which a RAM clear command is sent to the sub control board 300 via the main control board 100 to notify the RAM clear can be adopted. In this case, it is preferable to change the notification mode between the main control board 100 and the payout control board 200. As another mode, the main control board 100 outputs a RAM clear command when it confirms that the payout control board 200 has received a RAM clear instruction in addition to accepting a RAM clear. Also good.

ループの開始時点において、停電予告信号が検知されている場合には(ステップS501)、CPUは電源断発生時処理を実行する(ステップS505)。この処理は、主制御基板100における処理(図3)と同様である。   If a power failure warning signal is detected at the start of the loop (step S501), the CPU executes a process when a power failure occurs (step S505). This process is the same as the process in the main control board 100 (FIG. 3).

停電予告信号が検知されていない場合には(ステップS501)、CPUは、賞球制御処理(ステップS502)、および球貸制御処理(ステップS503)をそれぞれ実行する。賞球制御処理は、払出しモータ220を制御して、賞球の払い出しを行う処理である。球貸制御処理は、払出しモータ220を制御して、遊技球の貸し出しを行う処理である。   When the power failure notice signal is not detected (step S501), the CPU executes a winning ball control process (step S502) and a ball lending control process (step S503), respectively. The prize ball control process is a process for paying out a prize ball by controlling the payout motor 220. The ball lending control process is a process of lending out game balls by controlling the payout motor 220.

以上で説明した本実施例の遊技機によれば、電源投入後の起動処理において、サブ制御基板300の起動完了前であっても、RAMクリアコマンドがサブ制御基板300に送信され、実行される。従って、作業員は、RAMクリアの受付を速やかに知ることができ、作業の効率化を図ることができる。   According to the gaming machine of the present embodiment described above, the RAM clear command is transmitted to the sub control board 300 and executed in the start-up process after power-on even before the start of the sub-control board 300 is completed. . Therefore, the worker can quickly know the acceptance of the RAM clear, and work efficiency can be improved.

電源投入後に主制御基板100が送信し得るコマンドが複数存在する場合、図5に例示したテーブルの設定などを利用して、各コマンドの送信タイミングに種々の態様で優劣を設けても良い。例えば、RAMクリアコマンドのように作業員が遊技機に対して何らかの操作を行う必要があるコマンドを優先的に送信するようにしてもよい。こうすることで作業性を向上することができる。   When there are a plurality of commands that can be transmitted by the main control board 100 after the power is turned on, it is possible to provide superiority or inferiority in various modes for the transmission timing of each command using the table setting illustrated in FIG. For example, a command that requires an operator to perform some operation on the gaming machine, such as a RAM clear command, may be transmitted with priority. In this way, workability can be improved.

また、本実施例の遊技機によれば、停電予告信号が検出された後の「電源断発生時処理」を割込処理ではなく、ループの規定位置での分岐処理として実行する。このため、停電の発生タイミングに関わらず、スタックポインタおよびレジスタの値が規定値となる。従って、電源断発生時処理の内容を簡素化することができるとともに、スタックポインタおよびレジスタを記憶しておくためのメモリ容量を節約することができる。   Further, according to the gaming machine of the present embodiment, the “power failure occurrence process” after the power failure notice signal is detected is executed as a branch process at a specified position of the loop, not an interrupt process. For this reason, the values of the stack pointer and the register become the specified values regardless of the occurrence timing of the power failure. Therefore, it is possible to simplify the contents of the processing when the power interruption occurs, and to save the memory capacity for storing the stack pointer and the register.

電源断発生時処理は、ループ開始直後である必要はなく、スタックポインタおよびレジスタの値が予め確定している種々の位置で実行可能である。かかる位置としては、例えば、サブルーチンコールや割込処理がなされていない箇所、処理状況に関わらず決まったサブルーチンコールがなされる箇所などがあげられる。上位の処理(図2の制御処理など)から下位の処理(図2中の普通図柄遊技S402、普通電動役物遊技S404、特別図柄遊技S406、第1種特別電動役物遊技S408など)の呼び出し方法によっては、電源断発生時処理は、複数箇所で行うことも可能である。例えば、下位の処理を読み出す際の情報授受をレジスタ経由ではなく、RAMの予め定められた領域経由で受け渡すようにすれば、レジスタの値を一定値とすることができるため、下位の処理が実行されている最中を除き、いずれかの下位の処理の開始直前または終了後であれば、電源断発生時処理を実行することが可能となる。こうすることにより、電源断発生時処理の開始を、ループ開始直後まで待つ必要がなくなるため、バックアップ処理完了までに要求される電力の低減を図ることができる。   The process at the time of power-off occurrence does not need to be performed immediately after the start of the loop, and can be executed at various positions where the values of the stack pointer and the register are previously determined. Examples of such positions include a place where a subroutine call or interrupt process is not performed, a place where a subroutine call is made regardless of the processing status, and the like. Calling lower-level processing (ordinary symbol game S402, normal electric game game S404, special symbol game S406, first type special electric game game S408, etc. in FIG. 2) from higher-level processing (control processing of FIG. 2, etc.) Depending on the method, it is also possible to perform the processing when the power is cut off at a plurality of locations. For example, if the information exchange at the time of reading the low-order process is transferred via a predetermined area of the RAM instead of via the register, the value of the register can be set to a constant value. Except during the execution, it is possible to execute the process at the time of power-off occurrence just before or after the start of any lower-level process. By doing so, it is not necessary to wait for the start of the process when the power interruption occurs until immediately after the start of the loop, so that the power required until the backup process is completed can be reduced.

本実施例においては、電源断発生時処理として、スタックポインタおよびレジスタの値も含めてバックアップを行う処理を適用してもよい。かかる場合でも、停電予告信号については、割込処理ではなく、CPUが制御処理過程で能動的に検知するものとする。こうすることにより、割込処理を用いる場合に比較して、ノイズによる誤動作で電源断発生時処理が行われるおそれを抑制することができる。   In the present embodiment, a process for performing backup including the stack pointer and the register value may be applied as the process when the power is cut off. Even in such a case, it is assumed that the power failure warning signal is actively detected by the CPU during the control process, not the interrupt process. By doing so, it is possible to suppress the possibility that the process at the time of power-off occurrence is performed due to a malfunction due to noise, as compared with the case where the interrupt process is used.

本実施例においては、停電予告信号の検出と、電源断発生時処理の実行タイミングとを分けても良い。例えば、停電予告信号は割込処理でCPUが受信するようにし、この受信があった後、規定のタイミングで電源断発生時処理を行うようにしてもよい。別の例として、停電予告信号を制御処理の複数のタイミングで、CPUが能動的に検知するようにし、この検知結果に応じて、電源断発生時処理を規定のタイミングで行うようにしてもよい。   In the present embodiment, the detection of the power failure notice signal may be divided from the execution timing of the process when the power is cut off. For example, the power failure warning signal may be received by the CPU by an interrupt process, and after this reception, the process at the time of power-off occurrence may be performed at a specified timing. As another example, the CPU may actively detect the power failure warning signal at a plurality of timings of the control processing, and the processing at the time of power-off occurrence may be performed at a specified timing according to the detection result. .

本実施例では、主制御基板100および払出制御基板200のバックアップ処理を例示したが、サブ制御基板300でも同様の処理を適用することができる。また、主制御基板100または払出制御基板200の一方においてのみ電源断発生時処理を分岐処理として実行し、他方においては割込処理として実行するようにしてもよい。   In the present embodiment, the backup process of the main control board 100 and the payout control board 200 is illustrated, but the same process can be applied to the sub-control board 300 as well. Alternatively, the power interruption occurrence process may be executed as a branch process only on one of the main control board 100 or the payout control board 200, and may be executed as an interrupt process on the other.

以上、本発明の種々の実施例について説明したが、本発明はこれらの実施例に限定されず、その趣旨を逸脱しない範囲で種々の構成を採ることができることはいうまでもない。実施例においてソフトウェア的に実現されている種々の処理は、ASICなどによってハードウェア的に実現しても構わない。   As mentioned above, although the various Example of this invention was described, it cannot be overemphasized that this invention is not limited to these Examples, and can take a various structure in the range which does not deviate from the meaning. Various processes implemented in software in the embodiments may be implemented in hardware by an ASIC or the like.

実施例としての遊技機のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the game machine as an Example. 主制御処理のフローチャートである。It is a flowchart of a main control process. 電源断発生時処理のフローチャートである。It is a flowchart of a process at the time of power-off occurrence. 電源投入時処理のフローチャートである。It is a flowchart of a power-on process. コマンド送信処理のフローチャートである。It is a flowchart of a command transmission process. 払出制御処理のフローチャートである。It is a flowchart of a payout control process.

符号の説明Explanation of symbols

100…主制御基板
101…入賞検出器
102…大入賞口ソレノイド
110…RAMクリアスイッチ
200…払出制御基板
201…発射ハンドル
202…発射制御基板
203…発射モータ
210…スイッチ
220…払出しモータ
300…サブ制御基板
350…スピーカ
360…表示制御基板
361…LCD
370…ランプ中継基板
371…パネル装飾ランプ
375…ランプ中継基板
376…枠装飾ランプ
400…電源制御基板
402…停電監視回路
404…電力供給回路
406…バックアップ電源回路
DESCRIPTION OF SYMBOLS 100 ... Main control board 101 ... Winning detector 102 ... Grand prize opening solenoid 110 ... RAM clear switch 200 ... Discharge control board 201 ... Firing handle 202 ... Firing control board 203 ... Firing motor 210 ... Switch 220 ... Discharging motor 300 ... Sub control Substrate 350 ... Speaker 360 ... Display control substrate 361 ... LCD
370 ... Lamp relay board 371 ... Panel decoration lamp 375 ... Lamp relay board 376 ... Frame decoration lamp 400 ... Power supply control board 402 ... Power failure monitoring circuit 404 ... Power supply circuit 406 ... Backup power supply circuit

Claims (3)

複数の制御基板を備える遊技機であって、
前記制御基板には、他の制御基板にコマンドを送信する上位制御基板と、該コマンドを受信して動作する下位制御基板とが含まれ、
前記上位制御基板は、
電源が遮断された時に、従前の情報をRAM上に保持するバックアップ処理部と、
前記バックアップされたRAM上の情報をリセットするためのRAMクリア操作を検出するRAMクリア検出部と、
前記上位制御基板は、少なくとも前記RAMクリア操作に応じたコマンドを含む予め規定された一部のコマンドについて前記下位制御基板が前記レディ状態になっているか否かに関わらず送信するコマンド送信部を有し、
前記下位制御基板は、
電源投入後、全ての制御機能を実現可能なレディ状態となるまでの起動期間中も含めて、前記上位制御基板からコマンドを受信可能なコマンド受信部を有し、
前記コマンド送信部は前記コマンドの1つである前記RAMクリア操作に応じたコマンドを即時に送信する遊技機。
A gaming machine comprising a plurality of control boards,
The control board includes an upper control board that transmits a command to another control board, and a lower control board that operates by receiving the command,
The upper control board is:
A backup processing unit that retains previous information on the RAM when the power is shut off;
A RAM clear detector for detecting a RAM clear operation for resetting information on the backed up RAM;
The upper control board has a command transmission unit that transmits at least a part of the predetermined commands including a command corresponding to the RAM clear operation regardless of whether or not the lower control board is in the ready state. And
The lower control board is:
Including a command receiving unit capable of receiving commands from the host control board, including during the startup period until power-on and ready state in which all control functions can be realized;
The gaming machine is a gaming machine that immediately transmits a command corresponding to the RAM clear operation, which is one of the commands .
請求項1に記載の遊技機であって、
前記一部のコマンドに含まれないコマンドは、少なくとも前記下位制御基板の起動期間を経た後に送信する遊技機。
The gaming machine according to claim 1,
A game machine that transmits a command that is not included in the partial command after at least a startup period of the lower control board.
請求項1または2に記載の遊技機であって、
前記コマンドは、コマンドとその送信タイミングを予め規定したテーブル、あるいは、コマンドの送信タイミングを処理中の分岐条件に基づいて前記上位制御基板から前記下位制御基板に送信する遊技機。
A gaming machine according to claim 1 or 2,
A gaming machine in which the command is transmitted from the upper control board to the lower control board based on a table in which the command and its transmission timing are defined in advance, or based on a branch condition for processing the command transmission timing .
JP2005041175A 2005-02-17 2005-02-17 Game machine Active JP4753589B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005041175A JP4753589B2 (en) 2005-02-17 2005-02-17 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005041175A JP4753589B2 (en) 2005-02-17 2005-02-17 Game machine

Publications (2)

Publication Number Publication Date
JP2006223585A JP2006223585A (en) 2006-08-31
JP4753589B2 true JP4753589B2 (en) 2011-08-24

Family

ID=36985455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005041175A Active JP4753589B2 (en) 2005-02-17 2005-02-17 Game machine

Country Status (1)

Country Link
JP (1) JP4753589B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5159151B2 (en) * 2007-04-20 2013-03-06 株式会社大一商会 Pachinko machine
JP4919304B2 (en) * 2009-08-26 2012-04-18 京楽産業.株式会社 Pachinko machine
JP5330337B2 (en) * 2010-08-31 2013-10-30 京楽産業.株式会社 Pachinko machine
JP5552622B2 (en) * 2010-09-06 2014-07-16 株式会社オリンピア Game machine
JP5499090B2 (en) * 2012-05-30 2014-05-21 京楽産業.株式会社 Game machine
JP6322233B2 (en) * 2016-07-01 2018-05-09 株式会社ソフイア Game machine
JP7277934B2 (en) * 2020-03-31 2023-05-19 株式会社大都技研 Game machines and game systems

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3747252B2 (en) * 1999-12-01 2006-02-22 株式会社高尾 Game machine
JP2002113196A (en) * 2000-10-05 2002-04-16 Sophia Co Ltd Game machine
JP3894296B2 (en) * 2001-11-29 2007-03-14 豊丸産業株式会社 Game machine
JP2003236170A (en) * 2002-02-21 2003-08-26 Shinnichi Electronics Kk Picture display device for pachinko game machine, and its control method
JP2003284852A (en) * 2002-03-27 2003-10-07 Jb:Kk Game machine
JP2005125001A (en) * 2003-10-27 2005-05-19 Heiwa Corp Game machine

Also Published As

Publication number Publication date
JP2006223585A (en) 2006-08-31

Similar Documents

Publication Publication Date Title
JP4753589B2 (en) Game machine
JP6135555B2 (en) Game machine
JP3660309B2 (en) Game machine
JP6303600B2 (en) Game machine
JP4793846B2 (en) Game machine
JP2001112940A (en) Game machine
JP2001170326A (en) Game machine
JP5282211B2 (en) Game machine
JP5173162B2 (en) Pachinko machine
JP2002085656A (en) Game machine
JP2002035239A (en) Game machine
JP4577337B2 (en) Game machine
JP4314619B2 (en) Game machine
JP5093625B2 (en) Game machine
JP2002292084A (en) Controlling device for game machine and controlling method
JP4756164B2 (en) Game machine
JP4066671B2 (en) Game machine
JP3201754B1 (en) Gaming machine
JP4761277B2 (en) Game machine
JP4665297B2 (en) Game machine
JP2002035240A (en) Game machine
JP4452667B2 (en) Game machine
JP4793845B2 (en) Game machine
JP6303601B2 (en) Game machine
JP4347141B2 (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080128

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20081114

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20090318

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101019

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101217

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20101217

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20101217

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110426

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110524

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

Free format text: PAYMENT UNTIL: 20140603

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4753589

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250