JP2010194337A - Game machine - Google Patents
Game machine Download PDFInfo
- Publication number
- JP2010194337A JP2010194337A JP2010110982A JP2010110982A JP2010194337A JP 2010194337 A JP2010194337 A JP 2010194337A JP 2010110982 A JP2010110982 A JP 2010110982A JP 2010110982 A JP2010110982 A JP 2010110982A JP 2010194337 A JP2010194337 A JP 2010194337A
- Authority
- JP
- Japan
- Prior art keywords
- power supply
- voltage
- game
- unit
- power
- 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.)
- Granted
Links
Images
Landscapes
- Pinball Game Machines (AREA)
Abstract
Description
本発明は、コンピュータ回路を備えて構成される遊技機に関し、特に、電源復旧時の電源電圧が不安定であっても、電源遮断前の遊技動作を確実に再開できる遊技機に関する。 The present invention relates to a gaming machine configured with a computer circuit, and more particularly to a gaming machine that can reliably resume a gaming operation before power-off even when the power supply voltage is unstable when power is restored.
パチンコ機などの弾球遊技機は、遊技盤に設けた図柄始動口と、複数の表示図柄による一連の図柄変動態様を表示する図柄表示部と、開閉板が開閉される大入賞口などを備えて構成されている。そして、図柄始動口に設けられた検出スイッチが遊技球の通過を検出すると入賞状態となり、遊技球が賞球として払出された後、図柄表示部では表示図柄が所定時間変動される。その後、7−7−7などの所定の態様で図柄が停止すると大当り状態となり、大入賞口が繰返し開放されて、遊技者に有利な利益状態を発生させている。 A ball game machine such as a pachinko machine has a symbol start opening provided on the game board, a symbol display section for displaying a series of symbol variation patterns by a plurality of display symbols, and a big winning opening for opening and closing the opening and closing plate. Configured. When the detection switch provided at the symbol start port detects the passage of the game ball, the winning state is entered, and after the game ball is paid out as a prize ball, the display symbol is changed for a predetermined time in the symbol display section. Thereafter, when the symbol is stopped in a predetermined manner such as 7-7-7, a big hit state is established, and the big winning opening is repeatedly opened to generate a profit state advantageous to the player.
このような遊技機では、万一、突発的な停電が生じても、遊技者にとっての利益状態が消失することがないよう、バックアップ処理が設けられている。具体的には、交流電源が遮断状態になると、CPUにマスク不能の最優先割込み(NMI: non maskable interrupt
)をかけ、直流電源が完全に降下するまでの間に、NMI割込み処理においてCPUの内部レジスタの値をスタック領域に格納している。そして、直流電源が遮断された後にも、RAMにバックアップ電源を供給している。
In such a gaming machine, a backup process is provided so that even if a sudden power failure occurs, the profit state for the player does not disappear. Specifically, when the AC power supply is cut off, the CPU has a non-maskable interrupt (NMI: non maskable interrupt).
) And the value of the internal register of the CPU is stored in the stack area in the NMI interrupt processing until the DC power supply completely drops. Even after the DC power supply is cut off, the backup power is supplied to the RAM.
そのため、ワーク領域のデータは、バックアップ電源によって電源遮断以前の値を維持し、電源復旧後にCPUの内部レジスタの値をスタック領域から復帰するだけで、中断された遊技状態を再開することができる(例えば、特許文献1)。 For this reason, the data in the work area can be maintained at the value before the power is cut off by the backup power supply, and the interrupted gaming state can be resumed only by restoring the value of the internal register of the CPU from the stack area after the power is restored ( For example, Patent Document 1).
しかしながら、特許文献1に記載の発明では、電源電圧の降下に対応して無条件にNMI処理を起動させるので、電源復帰時に電源電圧が繰り返し降下すると、そのたびにNMI処理によってスタック領域を使用することになり、遂には、スタック領域に近接するRAMのワーク領域を破損させてしまうおそれがあった。
However, in the invention described in
また、遊技動作中のどのタイミングで電源電圧が降下するかも予期できないので、あらゆる可能性を考慮して、電源降下時のNMI処理と、電源復帰後の復帰処理とを構築する必要があり、シンプルな処理で完璧な動作を実現することが非常に困難であった。 In addition, since it is impossible to predict at what timing during the game operation the power supply voltage will drop, it is necessary to construct NMI processing at power-down and return processing after power-return in consideration of all possibilities. It was very difficult to achieve perfect operation with simple processing.
なお、上記の諸点は、NMIに代えてマスク可能な割込み(maskable interrupt)を使用しても基本的に変らない。そこで、割込み方式に代えて、フラグセンス方式(ポーリング方式)を採用し、電源遮断の有無を定期的にチェックすることも考えられる。 Note that the above points are basically the same even when a maskable interrupt is used instead of the NMI. In view of this, it is conceivable to adopt a flag sense method (polling method) instead of the interrupt method and periodically check for the presence or absence of power interruption.
しかし、この種の遊技機では、制御プログラムの違法改造を検出するため、制御プログラムの実行開始前に、CPU処理とは無関係なセキュリティチェック処理が実行されるのが常であり、そのため、電源電圧を単純にポーリングしていたのでは、電源異常時には対処できないことがある。すなわち、セキュリティチェック処理に少なからず処理時間を要するため、例えば、電源復帰時に、再び電源電圧が降下する場合には、ポーリング処理が実行されるまでに、直流電源電圧が完全に降下してしまい、バックアップ処理が間に合わないことがある。 However, in this type of gaming machine, in order to detect illegal modification of the control program, a security check process unrelated to the CPU process is usually executed before the execution of the control program. If simply polling, it may not be possible to deal with power failure. That is, since the security check process requires a considerable amount of processing time, for example, when the power supply voltage drops again when power is restored, the DC power supply voltage drops completely before the polling process is executed, The backup process may not be in time.
本発明は、上記の問題点に鑑みてなされたものであって、電源投入時や電源復旧時の電源電圧が不安定であっても、電源遮断前の遊技動作を確実に再現できる遊技機を提供することを目的とする。 The present invention has been made in view of the above problems, and a gaming machine that can reliably reproduce a gaming operation before power-off even when the power supply voltage is unstable when power is turned on or restored. The purpose is to provide.
上記の目的を達成するため、本発明は、電源電圧が降下すると電圧降下信号を出力する電圧監視部と、電源電圧の遮断後もメモリの記憶内容を維持するバックアップ電源とを設けた遊技機であって、前記電圧監視部から出力される電圧降下信号を受ける入力部と、所定時間毎に前記入力部からデータを取得して電源異常を検出する判定処理と、前記判定処理によって電源異常が検出されると、その後の遊技制御を中止して、第1レベルに設定し
た特定データをRAMのフラグ保存領域に保存する退避処理とを、遊技制御動作を中心的に担う主制御部に設け、電源電圧の復旧や投入に基づいて起動される前記主制御部のシステムリセット処理では、前記入力部からの取得データに基づいて電源異常でないことを確認した上で、前記フラグ保存領域の特定データを、第1レベルから第2レベルに設定変更
した上で中断された以降の処理を開始する。
In order to achieve the above object, the present invention is a gaming machine provided with a voltage monitoring unit that outputs a voltage drop signal when the power supply voltage drops, and a backup power supply that maintains the memory contents after the power supply voltage is cut off. An input unit that receives a voltage drop signal output from the voltage monitoring unit, a determination process that acquires data from the input unit every predetermined time to detect a power supply abnormality, and a power supply abnormality is detected by the determination process Then, the subsequent game control is stopped, and a save process for saving the specific data set to the first level in the flag storage area of the RAM is provided in the main control unit mainly responsible for the game control operation, In the system reset process of the main control unit that is activated based on voltage restoration or input, after confirming that there is no power supply abnormality based on the acquired data from the input unit, the flag storage area The specific data is changed from the first level to the second level, and the process after the interruption is started.
本発明では、入力部からの取得データに基づいて電源異常でないことを確認した上で、フラグ保存領域の特定データを、第1レベルから第2レベルに設定変更する一方、電源異
常時にはその後の処理に移行しないので電源異常にも適切に対応できる。なお、実施例では第1レベルが5AH、第2レベルが00Hであるが、必ずしも2値的に変化させる必要
はない。
In the present invention, after confirming that there is no power supply abnormality based on the acquired data from the input unit, the specific data in the flag storage area is changed from the first level to the second level, while the subsequent processing is performed when the power supply is abnormal Since it does not shift to, power supply abnormality can be handled appropriately. In the embodiment, the first level is 5AH and the second level is 00H, but it is not always necessary to change it in a binary manner.
なお、本発明は、当否抽選によって遊技者に有利な利益状態を発生させる構成を有する遊技機に好適に適応され、更に好適には、パチンコ機のような弾球遊技機や、スロットマシンなどの回胴遊技機に適用すべきである。 It should be noted that the present invention is suitably applied to a gaming machine having a configuration that generates a profitable state advantageous to the player through a lottery determination, and more preferably a ball game machine such as a pachinko machine or a slot machine. It should be applied to a spinning machine.
本発明は、好ましくは、電源遮断後も保持すべきスタック領域のデータ群の先頭アドレスを特定するスタックポインタの値が、前記退避処理に前後して(但し、連続させる必要はない)、RAMのアドレス保存領域に保存される。また、前記主制御部の動作は、電源電圧の復旧や投入に基づいて起動されるシステムリセット処理と、一定時間毎に起動されるマスク可能なタイマ割込み処理とを有し、マスク不能の割込み処理を使用することなく構成され、前記退避処理は、前記タイマ割込み処理の中に設けられるのが好ましい。更に、前記システムリセット処理と前記退避処理には、RAMの特定のデータ群について同一の演算を実行する演算処理が設けられ、各々の演算結果が一致しない場合には、前記システムリセット処理においてRAMの内容を消去する一方、各々の演算結果が一致する場合には、固定的に定められた特定の処理に復帰するよう構成されていると好適である。 In the present invention, preferably, the value of the stack pointer that specifies the top address of the data group in the stack area to be retained even after the power is shut off is not changed before and after the save processing (however, it does not need to be continued). Stored in the address storage area. In addition, the operation of the main control unit includes a system reset process that is activated based on restoration or input of a power supply voltage, and a maskable timer interrupt process that is activated at regular intervals, and an unmaskable interrupt process. It is preferable that the save process is provided in the timer interrupt process. Further, the system reset process and the save process are provided with a calculation process for executing the same calculation for a specific data group in the RAM, and if the respective calculation results do not match, While the contents are erased, if the respective calculation results match, it is preferable to be configured to return to a fixed fixed process.
前記電圧監視部は、好ましくは、電源回路に入力される交流電圧の異常と、前記電源回路が出力する直流電圧の異常とを監視し、いずれかの異常に基づいて電圧降下信号を出力するよう構成されている。この構成によれば、交流入力電源の遮断を素早く検出できるので、バックアップ処理(退避処理)の開始までに十分な時間を確保できる。したがって、割込み方式に代えてフラグセンス方式を採用しても何の弊害もない。むしろ、割込み方式を採らないので、電源復帰時に再開すべき処理を固定化でき、また、バックアップ処理を極限的にシンプルにすることができる。そのため、交流電源の瞬停に敏感に反応する必要がなくなり、直流電源電圧が限界点まで降下する直前まで、遊技動作を続行することができる。 Preferably, the voltage monitoring unit monitors an abnormality in the AC voltage input to the power supply circuit and an abnormality in the DC voltage output from the power supply circuit, and outputs a voltage drop signal based on any abnormality. It is configured. According to this configuration, since the interruption of the AC input power supply can be detected quickly, a sufficient time can be ensured before the start of the backup process (evacuation process). Therefore, there is no problem even if the flag sense method is adopted instead of the interrupt method. Rather, since the interrupt method is not adopted, it is possible to fix the process to be resumed when the power is restored, and to simplify the backup process to the limit. Therefore, it is not necessary to react sensitively to the instantaneous interruption of the AC power supply, and the gaming operation can be continued until immediately before the DC power supply voltage drops to the limit point.
上記した本発明によれば、電源投入時や電源復旧時の電源電圧が不安定であっても、電源遮断前の遊技動作を確実に再現できる遊技機を実現できる。 According to the above-described present invention, it is possible to realize a gaming machine that can reliably reproduce a gaming operation before power-off even when the power supply voltage is unstable when the power is turned on or when the power is restored.
以下、実施例に係る弾球遊技機に基づいて本発明を詳細に説明する。図1は、本実施例のパチンコ機GMを示す斜視図である。このパチンコ機GMは、島構造体に着脱可能に装着される矩形枠状の木製外枠1と、外枠1に固着されたヒンジ2を介して開閉可能に枢着される前枠3とで構成されている。この前枠3には、遊技盤5が裏側から着脱自在に装着され、その前側には、ガラス扉6と前面板7とが夫々開閉自在に枢着されている。
Hereinafter, the present invention will be described in detail based on a ball game machine according to an embodiment. FIG. 1 is a perspective view showing a pachinko machine GM of the present embodiment. This pachinko machine GM includes a rectangular frame-shaped wooden
ガラス扉6の外周には、LEDランプなどによる電飾ランプが、略C字状に配置されている。前面板7には発射用の遊技球を貯留する上皿8が装着され、前枠3の下部には、上皿8から溢れ出し又は抜き取った遊技球を貯留する下皿9と、発射ハンドル10とが設けられている。発射ハンドル10は発射モータと連動しており、発射ハンドル10の回動角度に応じて動作する打撃槌によって遊技球が発射される。
On the outer periphery of the glass door 6, an electric lamp such as an LED lamp is arranged in a substantially C shape. An upper plate 8 for storing game balls for launch is mounted on the
上皿8の外周面には、チャンスボタン11が設けられている。このチャンスボタン11は、遊技者の左手で操作できる位置に設けられており、遊技者は、発射ハンドル10から右手を離すことなくチャンスボタン11を操作できる。このチャンスボタン11は、通常時には機能していないが、ゲーム状態がボタンチャンス状態となると内蔵ランプが点灯されて操作可能となる。なお、ボタンチャンス状態は、必要に応じて設けられるゲーム状態である。
A
上皿8の右部には、カード式球貸し機に対する球貸し操作用の操作パネル12が設けられ、カード残額を3桁の数字で表示する度数表示部と、所定金額分の遊技球の球貸しを指示する球貸しスイッチと、ゲーム終了時にカードの返却を指令する返却スイッチとが設けられている。
On the right side of the upper plate 8, an
図2に示すように、遊技盤5には、金属製の外レールと内レールとからなるガイドレール13が環状に設けられ、その内側の遊技領域5aの略中央には、液晶カラーディスプレイDISPが配置されている。また、遊技領域5aの適所には、図柄始動口15、大入賞口16、複数個の普通入賞口17(大入賞口16の左右に4つ)、2つの通過口であるゲート18が配設されている。これらの入賞口15〜18は、それぞれ内部に検出スイッチを有しており、遊技球の通過を検出できるようになっている。
As shown in FIG. 2, the
液晶ディスプレイDISPは、大当り状態に係わる特定図柄を変動表示すると共に背景画像や各種のキャラクタなどをアニメーション的に表示する装置である。この液晶ディスプレイDISPは、中央部に特別図柄表示部Da〜Dcと右上部に普通図柄表示部19を有している。そして、特別図柄表示部Da〜Dcでは、大当り状態の招来を期待させるリーチ演出が実行され、特別図柄表示部Da〜Dc及びその周りでは、当否結果を不確定に報知する予告演出などが実行される。 The liquid crystal display DISP is a device that variably displays a specific symbol related to a big hit state and displays a background image and various characters in an animated manner. This liquid crystal display DISP has special symbol display portions Da to Dc in the center portion and a normal symbol display portion 19 in the upper right portion. The special symbol display portions Da to Dc execute a reach effect that expects a big hit state to be invited, and the special symbol display portions Da to Dc and the surroundings perform a notice effect that informs the result of the determination indefinitely. The
普通図柄表示部19は普通図柄を表示するものであり、ゲート18を通過した遊技球が検出されると、普通図柄が所定時間だけ変動し、遊技球のゲート18の通過時点において抽出された抽選用乱数値により決定される停止図柄を表示して停止するようになっている。
The normal symbol display unit 19 displays a normal symbol. When a game ball that has passed through the
図柄始動口15は、左右1対の開閉爪15aを備えた電動式チューリップで開閉されるよう例えば構成され、普通図柄表示部19の変動後の停止図柄が当り図柄を表示した場合には、開閉爪15aが所定時間だけ開放されるようになっている。
For example, the symbol start opening 15 is configured to be opened and closed by an electric tulip having a pair of left and right opening and closing
一方、図柄始動口15に遊技球が入賞すると、特別図柄表示部Da〜Dcの表示図柄が
所定時間だけ変動し、図柄始動口15への遊技球の入賞タイミングに応じた抽選結果に基づいて決定される停止図柄で停止する。なお、特別図柄表示部Da〜Dc及びその周りでは、一連の図柄演出の間に、予告演出が実行される場合がある。
On the other hand, when a game ball wins at the symbol start
大入賞口16は、例えば前方に開放可能な開閉板16aで開閉制御されるが、特別図柄表示部Da〜Dcの図柄変動後の停止図柄が「777」などの大当り図柄のとき、「大当りゲーム」と称する特別遊技が開始され、開閉板16aが開放されるようになっている。
The big winning
大入賞口16の開閉板16aが開放された後、所定時間が経過し、又は所定数(例えば10個)の遊技球が入賞すると開閉板16aが閉じる。このような動作は、最大で例えば15回まで特別遊技が継続され、遊技者に有利な状態に制御される。なお、特別図柄表示部Da〜Dcの変動後の停止図柄が特別図柄のうちの特定図柄であった場合には、特別遊技の終了後のゲームが高確率状態となるという特典が付与される。
After the opening /
図3は、上記した各動作を実現するパチンコ機GMの全体回路構成を示すブロック図である。図中の破線は、主に、直流電圧ラインを示している。 FIG. 3 is a block diagram showing an overall circuit configuration of the pachinko machine GM that realizes the above-described operations. Broken lines in the figure mainly indicate DC voltage lines.
図示の通り、このパチンコ機GMは、AC24Vを受けて各種の直流電圧やシステムリセット信号SYSを出力する電源基板20と、遊技制御動作を中心統括的に担う主制御基板21と、主制御基板21から受けた制御コマンドCMDに基づいてランプ演出及び音声演出を実行する演出制御基板22と、演出制御基板22から受けた信号を各部に伝送する演出インタフェイス基板23と、演出インタフェイス基板23から受けた制御コマンドCMD’に基づいて液晶ディスプレイDISPを駆動する液晶制御基板24と、主制御基板21から受けた制御コマンドCMD”に基づいて払出モータM1を制御して遊技球を払い出す払出制御基板25と、遊技者の操作に応答して遊技球を発射させる発射制御基板26とを中心に構成されている。
As shown in the figure, the pachinko machine GM includes a
ここで、主制御基板21、演出制御基板22、液晶制御基板24、及び払出制御基板25には、ワンチップマイコンを備えるコンピュータ回路がそれぞれ搭載されている。そこで、主制御基板21、演出制御基板22、液晶制御基板24、及び払出制御基板25に搭載された回路、及びその回路によって実現される動作を機能的に総称して、本明細書では、主制御部21、演出制御部22、液晶制御部24、及び払出制御部25と言うことがある。なお、演出制御部22、液晶制御部24、及び払出制御部25の全部又は一部がサブ制御部である。
Here, the main control board 21, the effect control board 22, the liquid
図示の通り、主制御部21は、コマンド中継基板29に接続されると共に、遊技盤中継基板27を経由して、遊技盤5の各遊技部品に接続されている。そして、遊技盤上の各入賞口16〜18に内蔵された検出スイッチのスイッチ信号を受ける一方、電動チューリップなどのソレノイド類を駆動している。なお、図柄始動口15からのスイッチ信号については、遊技盤中継基板27を経由することなく、直接、主制御部21が受けている。
As shown in the figure, the main control unit 21 is connected to the command relay board 29 and is connected to each game component of the
また、主制御部21は、払出制御部25に対して制御コマンドCMD”を一方向に送信する一方、払出制御部25からは、遊技球の払出動作を示す賞球計数信号や、払出動作の異常に係わるステイタス信号CONを受信している。ステイタス信号CONには、例えば、補給切れ信号、払出不足エラー信号、下皿満杯信号が含まれる。 The main control unit 21 transmits a control command CMD ″ to the payout control unit 25 in one direction, while the payout control unit 25 receives a prize ball count signal indicating a game ball payout operation and a payout operation. The status signal CON related to the abnormality is received, and the status signal CON includes, for example, a replenishment out signal, a payout shortage error signal, and a lower plate full signal.
ところで、主制御部21と払出制御部25のワンチップマイコンには、電源基板20から、直流5Vのバックアップ電源BUが供給されている。したがって、営業終了や停電により交流電源24Vが遮断された後も、ワンチップマイコン内部のRAMのデータは保持される。本実施例では、少なくとも数日は、RAMの記憶内容が保持されるよう設計され
ている。
By the way, a backup power supply BU of
また、電源基板20は、交流電源24Vの遮断時に、主制御部21及び払出制御部25に、電圧降下信号ABNを出力するよう構成されている。電圧降下信号ABNは、この実施例では、各ワンチップマイコンの割込み端子ではなく、入力ポート(PIO部)に供給されている。そして、主制御部21及び払出制御部25では、フラグセンス方式によって、電圧降下信号ABNのレベル降下を把握した後、必要なデータをRAMに退避している。そのため、上記したバックアップ電源BUの作用とあいまって、主制御部21と払出制御部25では、営業開始時や停電からの復旧時に、電源遮断前の動作を再開できることになる。但し、その他の制御基板には、バックアップ電源BUが供給されていないので、営業開始時や停電からの復旧時には、電源遮断前の動作とは無関係に、初期状態の動作を開始することになる。
Further, the
図4は、主制御基板21に搭載されたワンチップマイコン30の内部構成と、電源基板20の回路構成と、両基板の接続関係とを図示したものである。
FIG. 4 illustrates the internal configuration of the one-chip microcomputer 30 mounted on the main control board 21, the circuit configuration of the
図示の通り、電源基板20には、交流24Vを受けて脈流電圧(実効値24V)に変換する整流部50と、脈流電圧を直流5Vに変換する安定化電源ICによる第1電圧変換部51と、脈流電圧を直流12Vに変換する第2電圧変換部52と、脈流電圧を直流32Vに変換する第3電圧変換部53と、第1電圧変換部51の出力電圧を蓄電する蓄電部54と、電源投入状態と電源遮断状態を検出してシステムリセット信号SYSと電圧降下信号ABNとを出力する電圧監視部55とで構成されている。
As shown in the figure, the
図示の通り、蓄電部54は、大容量(例えば、1ファラッド程度)のコンデンサCと、過電流用の制限抵抗r1、r2と、逆方向電流を阻止するダイオードDとで構成されている。コンデンサCの両端電圧BUは、ワンチップマイコン30の内蔵RAMに供給されており、電源電圧の遮断状態でも、少なくとも数日は内蔵RAMの記憶内容を保持するようにしている。
As shown in the figure, the
図5は、電圧監視部55を更に詳細に示す回路図である。この電圧監視部55は、電圧降下検出部FALLと電源投入検出部RSTとで構成されている。
FIG. 5 is a circuit diagram showing the
電圧降下検出部FALLは、交流電圧24Vを受けてON/OFF動作するスイッチング部SWと、スイッチング部SWのON/OFF状態を検出する検出部DET1と、検出部DET1の出力を遅延して伝達する遅延部DLY1と、遅延部DLY1の出力を受けてON/OFF動作する第1出力部OT1と、DC5Vの電圧低下を検出する検出部DET2と、検出部DET2の出力を遅延して伝達する遅延部DLY2と、遅延部DLY2の出力を受けてON/OFF動作する第2出力部OT2とで構成されている。そして、第1出力部OT1と第2出力部OT2から、電圧降下信号ABNが出力されるようになっている。 The voltage drop detection unit FALL receives the AC voltage 24V, switches ON / OFF, detects the ON / OFF state of the switching unit SW, detects the DET1, and outputs the detection unit DET1 with delay. A delay unit DLY1, a first output unit OT1 that receives an output from the delay unit DLY1, and performs an ON / OFF operation; a detection unit DET2 that detects a voltage drop of DC5V; and a delay unit that delays and transmits the output of the detection unit DET2 It is composed of DLY2 and a second output unit OT2 that receives the output of the delay unit DLY2 and performs ON / OFF operation. The voltage drop signal ABN is output from the first output unit OT1 and the second output unit OT2.
スイッチング部SWは、抵抗R1及びコンデンサC1からなる整流部と、コンデンサC1の出力値に基づいてON/OFF動作するトランジスタQ1とを中心に構成されている。そして、AC24Vが正常に供給されている場合には、トランジスタQ1がON状態となり、スイッチング部SWの出力がLレベルとなる。一方、AC24Vの電圧が低下して、コンデンサC1の出力が低下すると、トランジスタQ1がOFF状態となり、スイッチング部SWの出力がHレベルとなる。 The switching unit SW is mainly configured by a rectifying unit including a resistor R1 and a capacitor C1, and a transistor Q1 that performs an ON / OFF operation based on an output value of the capacitor C1. When AC24V is normally supplied, the transistor Q1 is turned on, and the output of the switching unit SW becomes L level. On the other hand, when the voltage of AC24V decreases and the output of the capacitor C1 decreases, the transistor Q1 is turned off and the output of the switching unit SW becomes H level.
検出部DET1は、分圧抵抗R4,R5と、基準電圧Er1と、コンパレータAP1とで構成されている。分圧抵抗R5は、トランジスタQ1に並列接続されているので、トラ
ンジスタQ1がON状態の場合には、R5が短絡状態となり、検出部DET1の出力は、Hレベルとなる。逆に、トランジスタQ1がOFF状態の場合には、検出部DET1の出力は、Lレベルとなる。
The detection unit DET1 includes voltage dividing resistors R4 and R5, a reference voltage Er1, and a comparator AP1. Since the voltage dividing resistor R5 is connected in parallel to the transistor Q1, when the transistor Q1 is in the ON state, R5 is short-circuited, and the output of the detection unit DET1 is at the H level. Conversely, when the transistor Q1 is in the OFF state, the output of the detection unit DET1 is at the L level.
遅延部DLY1は、ON/OFF動作するトランジスタQ2,Q3と、5μA程度の定電流源A1と、シュミットトリガ型の反転増幅器AP2と、定電流源A1によって充電されるコンデンサC2とで構成されている。トランジスタQ2がOFF状態に変化すると、コンデンサC2は、定電流源A1によって充電が開始される。そのため、充電されるコンデンサC2の両端電圧が、LレベルからHレベルに変化するまで、トランジスタQ2のHレベル出力の伝達を遅延させることになる。なお、トランジスタQ2がON状態に変化すると、コンデンサC2の電荷は迅速に放電されるので、トランジスタQ2のLレベル出力は直ちに伝達される。 The delay unit DLY1 includes transistors Q2 and Q3 that perform ON / OFF operation, a constant current source A1 of about 5 μA, a Schmitt trigger type inverting amplifier AP2, and a capacitor C2 that is charged by the constant current source A1. . When the transistor Q2 changes to the OFF state, charging of the capacitor C2 is started by the constant current source A1. Therefore, the transmission of the H level output of the transistor Q2 is delayed until the voltage across the capacitor C2 to be charged changes from the L level to the H level. Note that when the transistor Q2 changes to the ON state, the charge of the capacitor C2 is quickly discharged, so that the L level output of the transistor Q2 is immediately transmitted.
第1出力部OT1は、分圧抵抗R6〜R8と、ON/OFF動作するトランジスタQ4と、トランジスタQ4の負荷抵抗R9とで構成されている。また、第2出力部OT2は、分圧抵抗R12〜R14と、ON/OFF動作するトランジスタQ7と、トランジスタQ7の負荷抵抗R9とで構成されている。ここで、トランジスタQ4とトランジスタQ7とが並列に接続されているので、負荷抵抗R9と共に、ワイアードORのロジックを実現している。すなわち、トランジスタQ4及びトランジスタQ7のうち、少なくとも何れか一方がON状態になると、出力部OT1,OT2の出力(電圧降下信号ABN)はLレベルとなる。 The first output unit OT1 includes voltage dividing resistors R6 to R8, an ON / OFF transistor Q4, and a load resistor R9 of the transistor Q4. The second output unit OT2 includes voltage dividing resistors R12 to R14, a transistor Q7 that performs ON / OFF operation, and a load resistor R9 of the transistor Q7. Here, since the transistor Q4 and the transistor Q7 are connected in parallel, a wired OR logic is realized together with the load resistor R9. That is, when at least one of the transistor Q4 and the transistor Q7 is turned on, the outputs (voltage drop signal ABN) of the output units OT1 and OT2 become L level.
検出部DET2は、分圧抵抗R10,R11と、基準電圧Er2と、コンパレータAP3とで構成されている。そのため、電源電圧(DC5V)が低下すると、検出部DET2の出力は、Hレベルとなる。逆に、電源電圧が正常値であれば、検出部DET2の出力は、Lレベルとなる。 The detection unit DET2 includes voltage dividing resistors R10 and R11, a reference voltage Er2, and a comparator AP3. Therefore, when the power supply voltage (DC5V) is lowered, the output of the detection unit DET2 becomes H level. Conversely, if the power supply voltage is a normal value, the output of the detection unit DET2 is at the L level.
遅延部DLY2は、ON/OFF動作するトランジスタQ5,Q6と、5μA程度の定電流源A3と、シュミットトリガ型の非反転増幅器AP4と、定電流源A3によって充電されるコンデンサC3とで構成されている。トランジスタQ5がOFF状態に変化すると、コンデンサC3は、定電流源A3によって充電が開始される。そのため、充電されるコンデンサC3の両端電圧が、LレベルからHレベルに変化するまで、トランジスタQ5のHレベル出力の伝達を遅延させることになる。 The delay unit DLY2 includes transistors Q5 and Q6 that perform ON / OFF operation, a constant current source A3 of about 5 μA, a Schmitt trigger type non-inverting amplifier AP4, and a capacitor C3 that is charged by the constant current source A3. Yes. When the transistor Q5 changes to the OFF state, charging of the capacitor C3 is started by the constant current source A3. Therefore, the transmission of the H level output of the transistor Q5 is delayed until the voltage across the capacitor C3 to be charged changes from the L level to the H level.
以上の通り、この電圧降下検出部FALLは、交流24Vの電圧値を監視するスイッチング部SW及び検出部DET1と、直流5Vの電圧値を監視する検出部DET2とを備えている。そして、何れか一方の電圧値が正常値から低下すると、電圧降下信号ABNがLレベルに変化するようになっている。そのため、この電圧降下信号ABNのレベルに基づいて主制御部のCPUは電源電圧の降下を判定することが可能となる。
As described above, the voltage drop detection unit FALL includes the switching unit SW and the detection unit DET1 that monitor the voltage value of AC 24V, and the detection unit DET2 that monitors the voltage value of
念のため、AC電圧降下時の動作内容を説明すると、電源遮断によるAC24Vの電圧低下に対応して、先ず、スイッチ部SWを構成しているトランジスタQ1がOFF状態となり、コンパレータAP1への反転入力電圧が増加する。そのため、コンパレータAP1の出力がHレベルからLレベルに変化し、トランジスタQ2がOFF状態に変化する。 As a precaution, the operation content at the time of AC voltage drop will be described. First, in response to the voltage drop of 24V AC due to power interruption, the transistor Q1 constituting the switch unit SW is turned off, and the inverting input to the comparator AP1. The voltage increases. Therefore, the output of the comparator AP1 changes from the H level to the L level, and the transistor Q2 changes to the OFF state.
すると、コンデンサC2は、定電流源A1によって充電が開始されて(矢印参照)、Lレベルの電圧から所定の遅延時間を経てHレベルの電圧となる。そして、コンデンサC2の両端電圧がHレベルとなると反転増幅器AP2の出力がLレベルとなり、その結果、トランジスタQ3がON状態からOFF状態に変化し、トランジスタQ4は、OFF状態からON状態に変化する。本実施例では、(a)フラグセンス方式で電圧降下信号ABNを監
視すること、(b)電源監視処理(ST31)が極めてシンプルに構成されていること、及
び(c)電源監視処理(ST31)が短時間(4mS)毎に実行されることから、遅延部D
LY1の遅延時間を極限的に長く設定できる。
Then, charging of the capacitor C2 is started by the constant current source A1 (see arrow), and becomes the H level voltage after a predetermined delay time from the L level voltage. When the voltage across the capacitor C2 becomes H level, the output of the inverting amplifier AP2 becomes L level. As a result, the transistor Q3 changes from the ON state to the OFF state, and the transistor Q4 changes from the OFF state to the ON state. In the present embodiment, (a) the voltage drop signal ABN is monitored by the flag sense method, (b) the power supply monitoring process (ST31) is extremely simple, and (c) the power supply monitoring process (ST31). Is executed every short time (4 mS), the delay unit D
The delay time of LY1 can be set extremely long.
何れにしても、前述した動作の結果、電圧降下信号ABNは、電源遮断に対応してHレベルからLレベルに低下する。なお、AC24Vの低下に伴う電圧降下信号ABNの立下りの後、コンパレータAP3、非反転増幅器AP4、及びトランジスタQ5〜Q7は、動作反転すると解されるが、トランジスタQ7は、トランジスタQ4と共にワイアードロジックを構成しているので、電圧降下信号ABNに変化を与えることはない。 In any case, as a result of the above-described operation, the voltage drop signal ABN falls from the H level to the L level in response to the power interruption. Note that the comparator AP3, the non-inverting amplifier AP4, and the transistors Q5 to Q7 are understood to invert the operation after the fall of the voltage drop signal ABN accompanying the decrease in AC24V. However, the transistor Q7 performs wired logic together with the transistor Q4. Since it is configured, the voltage drop signal ABN is not changed.
以上の通り、この実施例の電圧降下検出部FALLは、AC24Vの電圧低下を監視する回路と、DC5Vの電圧低下を監視する回路とを重複して備えている。これは、例えば、整流部50は正常に動作しているが、第1電圧変換部51が故障して、直流電圧DC5Vのみが低下する可能性もあり、かかる異常時にも適切に対処して、遊技機の動作状態を正しくバックアップ保存できるようにするためである。
As described above, the voltage drop detection unit FALL of this embodiment includes a circuit that monitors a voltage drop of 24 VAC and a circuit that monitors a voltage drop of 5 VDC. This is because, for example, the rectifying
一方、図5に示す電源投入検出部RSTも、ほぼ同様の回路構成であり、DC5Vの電圧変化を検出する検出部DET3と、検出部DET3の出力を遅延して伝達する遅延部DLY3と、遅延部DLY3の出力を受けてON/OFF動作する第3出力部OT3とで構成されている。 On the other hand, the power-on detection unit RST shown in FIG. 5 also has a substantially similar circuit configuration, a detection unit DET3 that detects a voltage change of DC5V, a delay unit DLY3 that delays and transmits the output of the detection unit DET3, and a delay The third output unit OT3 that performs ON / OFF operation in response to the output of the unit DLY3.
検出部DET3は、分圧抵抗R17,R18と、基準電圧Er3と、コンパレータAP5とで構成されている。遅延部DLY3は、ON/OFF動作するトランジスタQ8,Q9と、5μA程度の定電流源A5と、シュミットトリガ型の反転増幅器AP6と、定電流源A5によって充電されるコンデンサC6とで構成されている。また、第3出力部OT3は、トランジスタQ9の負荷抵抗R19と、ノイズ吸収用コンデンサC7と、2つのインバータG4,G5とで構成されている。 The detection unit DET3 includes voltage dividing resistors R17 and R18, a reference voltage Er3, and a comparator AP5. The delay unit DLY3 includes transistors Q8 and Q9 that perform ON / OFF operation, a constant current source A5 of about 5 μA, a Schmitt trigger type inverting amplifier AP6, and a capacitor C6 that is charged by the constant current source A5. . The third output unit OT3 includes a load resistor R19 of the transistor Q9, a noise absorbing capacitor C7, and two inverters G4 and G5.
電源投入時には、電源電圧(DC5V)が傾斜して立ち上がるが、これに合わせて、コンパレータAP5の出力はLレベルとなり、トランジスタQ8はOFF状態となる。そのため、コンデンサC6は定電流源A5によって充電されて(矢印参照)、Lレベルの電圧から遅延時間tdを経てHレベルの電圧となる。そして、この遅延時間tdの後には、トランジスタQ9がON状態からOFF状態に変化し、第3出力部OT3の出力は、LレベルからHレベルとなる。 When the power is turned on, the power supply voltage (DC5V) rises with an inclination. In accordance with this, the output of the comparator AP5 becomes L level, and the transistor Q8 is turned off. Therefore, the capacitor C6 is charged by the constant current source A5 (see the arrow), and becomes the H level voltage after the delay time td from the L level voltage. Then, after this delay time td, the transistor Q9 changes from the ON state to the OFF state, and the output of the third output unit OT3 changes from the L level to the H level.
このように、システムリセット信号SYSは、交流電圧24Vの供給が開始されたことに起因して、一定時間tdだけLレベルとなる。一方、電圧降下信号ABNは、交流電圧24Vが降下するか、或いは、直流5Vが降下する電源異常時には固定的にLレベルとなる。したがって、フラグセンス方式を採っても何の問題もない。
As described above, the system reset signal SYS is at the L level for a predetermined time td due to the start of the supply of the AC voltage 24V. On the other hand, the voltage drop signal ABN is fixedly at the L level when the AC voltage 24V drops or the power supply abnormality where the
続いて、図4に戻って、主制御部21のワンチップマイコン30の内部構成を説明する。このワンチップマイコン30には、Z80(Zilog社)相当品のCPUコア31と、システムクロックを生成するクロックジェネレータ32と、外部からシステムリセット信号SYSを受けるリセット回路33と、外部バスインターフェイス回路34と、Z80CTC(Counter Timer Circuit)部35と、アドレスデコーダ36と、Z80PIO(Parallel Input Output)部37と、ウォッチドッグタイマ38と、内蔵RAM39と、内蔵ROM40と、セキュリティチェック回路41とを内蔵して構成されている。
Next, returning to FIG. 4, the internal configuration of the one-chip microcomputer 30 of the main control unit 21 will be described. This one-chip microcomputer 30 includes a
そして、本実施例では、Z80CTC部35で生成された4mS周期のタイマ信号が、CPUコア31の割込み端子INTに供給されている。CPUコア31の割込み端子IN
Tは、マスク可能な割込み(maskable interrupt)端子であり、CPUコア31がDI(Disable interrupt)命令を実行したり、或いは、CPUコア31が割込みを受け付けた状態
では、改めてEI(enable interrupt)命令を実行しない限り、割込み信号は受け付けられない。逆に、CPUコア31が割込み受付状態であれば、4mS毎に割込み信号が受け付けられて、後述するタイマ割込み処理が起動される。
In this embodiment, the 4 mS cycle timer signal generated by the
T is a maskable interrupt terminal, and when the
セキュリティチェック回路41は、リセット回路33がシステムリセット信号SYSを受けると、内蔵ROM40を連続的にアクセスして、チェック動作を開始するよう構成されている。このチェック動作には、CPUコア31が介在することはなく、セキュリティチェック回路41のハードウェア機能によって、内蔵ROM40の複数アドレスにわたって、所定の演算が実行され、内蔵ROM40に予め格納されているチェックデータとの整合が確認される。
When the
この確認動作(セキュリティチェック動作)は、制御プログラムの違法改造を検出するための動作である。そして、内蔵ROM40に格納された制御プログラムの読出し処理、及び、所定の演算を経た判定処理が実行されるので、例えば、システムクロック1,420,000個程度の時間を消費する。そして、少なからず時間を消費する確認動作が正常に終わる
と、CPUコア31のプログラムカウンタが0000Hとなり、内蔵ROM40の0番地以降に格納されている制御プログラムの実行が開始される。先に説明した通り、電源投入からセキュリティチェック動作の終了までは、CPUコア31が機能せず、ワンチップマイコン30のアドレスバスやデータバスも、高インピーダンス(Hi-Z)状態である。
This confirmation operation (security check operation) is an operation for detecting illegal modification of the control program. Then, the process of reading the control program stored in the built-in
ところで、この実施例では、図4に示す通り、PIO部37の出力ポートからウォッチドックタイマ38に対して、所定時間毎にクリア信号が供給されている。この動作によって、ウォッチドックタイマ38がタイムアウト状態になることが阻止されるが、もし、プログラムが暴走して、クリア信号の供給が途絶えると、ウォッチドックタイマ38がタイムアウト状態となり、CPUコア31のリセット端子RESETに、リセット信号が供給されるようになっている。リセット信号が供給されると、CPUのプログラムカウンタは、自動的に0000Hに書き換えられ、制御プログラムが初期状態から再実行される。
By the way, in this embodiment, as shown in FIG. 4, a clear signal is supplied from the output port of the
図6〜図8は、主制御部21の制御プログラムを示すフローチャートである。主制御部21の制御プログラムは、電源電圧の復旧や投入に基づいて起動されるシステムリセット処理(図6)と、所定時間毎(4mS)に起動されるマスク可能なタイマ割込み処理(図7:TIMER INT)とで構成されている。なお、電源基板20からの電圧降下信号ABNが
供給されても、割込み処理(NMI割込)が起動することはない。
6 to 8 are flowcharts showing a control program of the main control unit 21. The control program of the main control unit 21 includes a system reset process (FIG. 6) that is activated based on the restoration or input of the power supply voltage, and a maskable timer interrupt process that is activated at predetermined time intervals (4 mS) (FIG. 7: TIMER INT). Note that even if the voltage drop signal ABN is supplied from the
以下、図6を参照しつつ、システムリセット処理プログラム(メイン処理)について説明する。メイン処理が開始されるのは、停電状態からの復旧時のように初期化スイッチ(不図示)がOFF状態で電源がON状態になる場合と、遊技ホールの開店時のように、初期化スイッチがON操作されて電源がON状態になる場合とがある。なお、制御プログラムが暴走したことにより、ウォッチドッグタイマ38が起動してCPUコア31が強制的にリセットされる場合もあるので、図6では、両者を区別するため、前者をシステムリセット、後者をユーザリセットと称している。
Hereinafter, the system reset processing program (main processing) will be described with reference to FIG. The main process starts when the initialization switch (not shown) is turned off and the power is turned on, such as when recovering from a power outage, and when the game hall is opened. May be turned on to turn on the power. In some cases, the
先に説明した通り、電源基板20からシステムリセット信号SYSが供給されたシステムリセット状態では、CPUコア31が機能するに先立って、セキュリティチェック回路41がセキュリティチェック動作を開始する。そして、このセキュリティチェック動作が正常に終了すると、CPUコア31のプログラムカウンタは0000Hとなり、ユーザリセット状態の場合と同様に、ステップST1の初期設定処理が開始される。
As described above, in the system reset state in which the system reset signal SYS is supplied from the
初期設定処理(ST1)では、Z80CPUコア31を含むワンチップマイコンの各部が初期設定されるが、CPUコア31は、割込み禁止状態(DI)である。したがって、CTC部35から割込み端子INTに供給されるタイマ割込み信号は、全て無視される。その後、RAMクリア信号の値が判定される(ST2)。RAMクリア信号とは、内蔵RAMの全領域を初期設定するか否かを決定する信号であって、係員が操作する初期化スイッチのON/OFF状態に対応した値を有している。
In the initial setting process (ST1), each part of the one-chip microcomputer including the
ここでは、RAMクリア信号がON状態であったと仮定すると、ステップST2の判定に続いて、内蔵RAMの全領域がゼロクリアされる(ST10)。したがって、図8(c)に示すBFL番地のバックアップフラグBFLの値は、他のチェックサム値などと共にゼロとなる。 Here, assuming that the RAM clear signal is in the ON state, following the determination in step ST2, the entire area of the built-in RAM is cleared to zero (ST10). Therefore, the value of the backup flag BFL at address BFL shown in FIG. 8C becomes zero together with other checksum values.
次に、RAM領域がゼロクリアされたことを報知するためのRAMクリアコマンドCMDが演出制御部22に出力される(ST11)。その後、電圧降下信号ABNがLレベルでないことを条件に(ST12〜ST13)、EI命令の実行により、CPUが割込み許可状態に設定される(ST14)。 Next, a RAM clear command CMD for notifying that the RAM area has been cleared to zero is output to the effect control unit 22 (ST11). Thereafter, on condition that the voltage drop signal ABN is not at the L level (ST12 to ST13), the CPU is set to the interrupt enabled state by executing the EI command (ST14).
電圧降下信号ABNは、ワンチップマイコン30のPIO部37の入力ポートに、定常的に供給されているので(図4参照)、そのレベルが正常レベルでない限り、ST12〜ST13の処理を無限ループ状に繰り返す。したがって、投入された電源が直ぐに遮断されたような異常時には、遊技動作の開始が禁止されて、異常な遊技動作の発生が未然に防止される。
Since the voltage drop signal ABN is constantly supplied to the input port of the
一方、電圧降下信号ABNが正常レベルであれば、EI命令を実行した後(ST14)、無限ループ状にカウンタ更新処理が実行される(ST15)。更新されるカウンタには、外れ図柄用カウンタが含まれているが、この外れ図柄用カウンタは、図7の特別図柄処理(ST45)における大当り判定処理の判定によって外れ状態となった場合に、どのような態様の外れゲームを演出するかを決定するためのカウンタである。 On the other hand, if the voltage drop signal ABN is at a normal level, after executing the EI command (ST14), counter update processing is executed in an infinite loop (ST15). The counter to be updated includes a missed symbol counter. This missed symbol counter can be used when the missed symbol determination process in the special symbol process (ST45) in FIG. It is a counter for deciding whether to produce the off-game of such a mode.
以下、ステップST2の判定処理に戻って説明を続ける。CPUが強制的にリセットされた場合(ユーザリセット状態)や、停電状態からの復旧時のように、初期化スイッチ(RAMクリア信号)がOFF状態であった場合には、ステップST2の判定に続いて、バックアップフラグBFLの内容が判定される(ST3)。バックアップフラグBFLとは、図8に示す退避処理(ST53〜56)が正常に完了したか否かを示すデータであり、この実施例では、電源監視処理で5AHとされ(ST55)、図6のステップST9の処理でゼロクリアされる。 Hereinafter, the description will be continued by returning to the determination process of step ST2. When the CPU is forcibly reset (user reset state), or when the initialization switch (RAM clear signal) is in an OFF state, such as when recovering from a power failure state, the determination at step ST2 follows. Thus, the content of the backup flag BFL is determined (ST3). The backup flag BFL is data indicating whether or not the save processing (ST53 to 56) shown in FIG. 8 has been normally completed. In this embodiment, the backup flag BFL is set to 5AH in the power supply monitoring processing (ST55). It is cleared to zero in the process of step ST9.
今、電源投入時や、停電状態からの復旧時である場合には、バックアップフラグBFLの内容が5AHの筈である。但し、何らかの理由でプログラムが暴走状態となり、ウォッチドッグタイマによるCPUリセット動作が生じたような場合には、バックアップフラグBFL=00Hである。したがって、BFL≠5AH(通常はBFL=00H)となる場合には、ステップST3からステップST10の処理に移行させて遊技機の動作を初期状態に戻す。 When the power is turned on or when the power is restored from the power failure state, the content of the backup flag BFL is 5AH. However, if the program goes into a runaway state for some reason and a CPU reset operation is caused by the watchdog timer, the backup flag BFL = 00H. Therefore, when BFL ≠ 5AH (normally BFL = 00H), the process proceeds from step ST3 to step ST10 to return the operation of the gaming machine to the initial state.
一方、バックアップフラグBFL=5AHであれば、チェックサム値を算出するためのチェックサム演算を実行する(ST4)。ここで、チェックサム演算とは、内蔵RAMのワーク領域(図8(c)参照)に対する8ビット加算演算である。そして、チェックサム値が算出されたら、この演算結果を、RAMのSUM番地の記憶値と比較をする(ST5)。 On the other hand, if the backup flag BFL = 5AH, a checksum operation for calculating a checksum value is executed (ST4). Here, the checksum operation is an 8-bit addition operation on the work area of the internal RAM (see FIG. 8C). When the checksum value is calculated, the calculation result is compared with the stored value at the SUM address in the RAM (ST5).
SUM番地には、電圧降下時に実行される退避処理(図8のST53〜56)において、同じチェックサム演算によるチェックサム値が記憶されている。そして、記憶された演算結果は、内蔵RAMの他のデータと共に、バックアップ電源BUによって維持されている。したがって、本来は、ステップST5の判定によって両者が一致する筈である。 In the SUM address, the checksum value by the same checksum calculation is stored in the saving process (ST53 to ST56 in FIG. 8) executed when the voltage drops. The stored calculation result is maintained by the backup power supply BU together with other data of the built-in RAM. Therefore, the two should be matched by the determination in step ST5.
しかし、電源監視処理におけるチェックサム演算(ST54)の実行後、メイン処理のチェックサム演算(ST4)の実行時までの間に、ワーク領域のデータが破損している場合もあり、このような場合にはステップST5の判定結果は不一致となる。判定結果の不一致によりデータ破損が検出された場合には、もはや、電源電圧の降下前の遊技状態を正常に再開させることはできないので、ステップST10の処理に移行させてRAMクリア処理を実行し、遊技機の動作を初期状態に戻している。 However, the data in the work area may be corrupted between the execution of the checksum calculation (ST54) in the power monitoring process and the execution of the checksum calculation (ST4) in the main process. In step ST5, the determination result is inconsistent. If data corruption is detected due to a discrepancy in the determination result, the gaming state before the power supply voltage drop can no longer be resumed normally, so the process proceeds to step ST10 to execute the RAM clear process, The operation of the gaming machine is returned to the initial state.
一方、ステップST5の判定において、チェックサム演算(ST4)によるチェックサム値と、SUM番地の記憶値とが一致する場合には、内蔵RAMのデータは、バックアップ電源BUによって、正常に維持されていると考えることができる。そこで次に、電源遮断前の遊技状態を再開させるが、本実施例では、遊技再開に先立って、電圧降下信号ABNのレベルをチェックしている(ST6〜ST7)。 On the other hand, if it is determined in step ST5 that the checksum value obtained by the checksum calculation (ST4) matches the stored value at the SUM address, the data in the built-in RAM is normally maintained by the backup power supply BU. Can be considered. Therefore, next, the gaming state before power-off is resumed, but in this embodiment, the level of the voltage drop signal ABN is checked before the game is resumed (ST6 to ST7).
これは、電源投入直後に、電源電圧が再度遮断されたような異常時にも適切に対処するためである。例えば、営業中に突然停電状態となった場合を想定する。このような場合には、後述する電源監視処理(ST31)を経ることで、停電前の遊技が正しく再開できる筈である。しかし、電源復旧後、直ぐに電源が遮断されてしまった場合には、セキュリティチェック処理などの処理時間を経て、バックアップフラグBFLを00Hに書換えた直後には、電源電圧の低下のためにCPUが動作不能となっているおそれもある。かかる場合には、その後に電源が復旧したとしても、バックアップフラグBFL=00Hであることから、RAMがクリアされてしまい(ST10)、もはや停電前の遊技動作を再開することができなくなる。 This is in order to appropriately cope with an abnormal situation in which the power supply voltage is shut off again immediately after the power is turned on. For example, assume a case where a power outage suddenly occurs during business. In such a case, the game before the power failure should be able to be resumed correctly through the power supply monitoring process (ST31) described later. However, if the power supply is cut off immediately after the power supply is restored, the CPU operates due to a drop in the power supply voltage immediately after rewriting the backup flag BFL to 00H after processing time such as security check processing. It may be impossible. In such a case, even if the power supply is restored after that, since the backup flag BFL = 00H, the RAM is cleared (ST10), and the gaming operation before the power failure can no longer be resumed.
そこで、本実施例では、このような事態の発生を未然に防止するため、ワンチップマイコン30のPIO部37から電圧降下信号ABNを取得し(ST6)、そのレベルが正常レベルでない限り、ステップST6〜ST7の処理を無限ループ状に繰り返す。したがって、電源遮断時には、バックアップフラグBFLが書換えられることはなく、その後の電源復旧時に、再度、ステップST4〜ST9の処理が実行されて電源遮断前の遊技動作が正しく再開される。
Therefore, in this embodiment, in order to prevent such a situation from occurring, the voltage drop signal ABN is acquired from the
一方、電圧降下信号ABNが正常なHレベルである場合には、RAMのSP記憶エリア(図8(c)参照)に記憶されている数値を、CPUコア31内部のスタックポインタSPに書込む(ST8)。また、バックアップフラグBFLの値をゼロに戻して(ST9)、ステップST32の乱数生成処理の先頭アドレスXXYY番地にジャンプする。なお、この状態では、CPUコア31は、割込み禁止(DI)状態のままである。
On the other hand, when the voltage drop signal ABN is at a normal H level, the numerical value stored in the SP storage area of the RAM (see FIG. 8C) is written into the stack pointer SP inside the CPU core 31 ( ST8). Further, the value of the backup flag BFL is reset to zero (ST9), and the process jumps to the start address XXYY of the random number generation process in step ST32. In this state, the
SP記憶エリアには、電源監視処理において、図8(c)に示す退避レジスタ領域(ステップST30の処理で退避されたレジスタ値の格納エリア)の先頭アドレスが格納されている(ST53)。そのため、ステップST32以降の一連のタイマ割込み処理をDI状態で実行した後、ステップST49の処理によって退避レジスタの値がCPUコアに正しく復帰され、また、EI命令実行後(ST50)のRETI命令の実行によって、タイマ割込み前の無限ループ処理(ST15)に戻る。 In the SP storage area, the head address of the save register area (the register value storage area saved in the process of step ST30) shown in FIG. 8C is stored in the power supply monitoring process (ST53). Therefore, after executing a series of timer interrupt processes after step ST32 in the DI state, the value of the save register is correctly returned to the CPU core by the process of step ST49, and the execution of the RETI instruction after execution of the EI instruction (ST50) To return to the infinite loop processing (ST15) before the timer interruption.
続いて、上記した図6の無限ループ処理(ST15)を中断させて4mS毎に開始されるタイマ割込み処理プログラム(図7)を説明する。タイマ割込みが生じると、各レジス
タの内容がスタック領域に退避された後(ST30)、最初に、電源監視処理が実行される(ST31)。なお、タイマ割込みにより、CPUコア31は、割込み禁止状態となる。
Next, a timer interrupt processing program (FIG. 7) started every 4 mS by interrupting the above infinite loop processing (ST15) of FIG. 6 will be described. When a timer interrupt occurs, the contents of each register are saved in the stack area (ST30), and then a power supply monitoring process is first executed (ST31). Note that, due to the timer interrupt, the
図8(a)は、電源監視処理の内容を具体的に示すフローチャートである。先ず、ワンチップマイコン30のPIO部37から電圧降下信号ABNを取得し(ST51)、そのレベルを判定する(ST52)。そして、電圧降下信号ABNがHレベルの正常値であれば、そのままサブルーチン処理を終える。一方、電圧降下信号ABNがLレベルであれば、交流電源AC24Vが遮断状態であると判断する。なお、図5に関して詳述したように、交流電源AC24Vの遮断状態は適切なタイミングで迅速に検出されるので、その後も、しばらくは直流電源電圧(DC5V)が維持され、したがって、以降の退避処理(ST53〜ST56)が可能となる。
FIG. 8A is a flowchart specifically showing the contents of the power supply monitoring process. First, the voltage drop signal ABN is acquired from the
退避処理では、先ず、その時のスタックポインタSPの値を+2した数値を、RAMのSP記憶エリアに格納する(ST53)。今、ステップST30(図7)の処理では、PUSH AF→PUSH BC→PUSH DE→PUSH HLの順番に命令が実行されたとする。また、ステップST31とST32の処理では、CALL CHECK→CAL
L RANDOMの順番に命令が実行されるとする。そして、CALL RANDOMのマシン語命令は、XXYY番地以降に格納されているとする。
In the saving process, first, a numerical value obtained by adding +2 to the value of the stack pointer SP at that time is stored in the SP storage area of the RAM (ST53). Now, in the process of step ST30 (FIG. 7), it is assumed that instructions are executed in the order of PUSH AF → PUSH BC → PUSH DE → PUSH HL. Further, in the processing of steps ST31 and ST32, CALL CHECK → CAL
Assume that instructions are executed in the order of L RANDOM. It is assumed that the CALL RANDOM machine language instruction is stored after the XXYY address.
かかる場合には、電源監視処理(ST31)の開始時には、スタック領域は、図8(b)のようになっている。すなわち、スタックポインタSPは、FILO(First In Last Out)を採るスタック領域の最頂部を指しており、このスタック領域の最上部には、サブル
ーチン処理(CALL CHECK)の戻り番地XXYYの下位アドレス値(=YY)が
記憶されている。また、PUSH AF→・・・→PUSH HLの命令実行によって格納された一群のレジスタ値に続いて、タイマ割込み処理(TIMER INT)終了後の戻り番地HHLLが格納されている。なお、この戻り番地HHLLは、ステップST15の処理を実現する一群の命令の何れかの格納アドレスを意味する。
In such a case, at the start of the power supply monitoring process (ST31), the stack area is as shown in FIG. That is, the stack pointer SP points to the top of the stack area taking FILO (First In Last Out), and the top of the stack area has a lower address value (XYLY) of the return address XXYY of the subroutine processing (CALL CHECK). = YY) is stored. Further, a return address HHLL after the end of the timer interrupt process (TIMER INT) is stored following the group of register values stored by executing the instruction of PUSH AF →... → PUSH HL. Note that this return address HHLL means a storage address of one group of instructions for realizing the process of step ST15.
先に説明した通り、本実施例では、退避処理(ST53〜ST56)の最初に、スタックポインタSPの値を+2した数値を、RAMのSP記憶エリアに格納する(ST53)。したがって、CALL CHECK命令実行後の戻り番地(=XXYY)は消滅するが
、退避処理(ST53〜ST56)の終了後は、CPUコアが非動作状態となって電源電圧(DC5V)が消滅すること、及び、電源復帰後には、JP XXYY命令を経て、乱
数作成処理(ST32)が開始されるので何の弊害もない。
As described above, in this embodiment, at the beginning of the save process (ST53 to ST56), a value obtained by adding 2 to the value of the stack pointer SP is stored in the SP storage area of the RAM (ST53). Therefore, the return address (= XXYY) after execution of the CALL CHECK instruction disappears, but after the save processing (ST53 to ST56) ends, the CPU core becomes inoperative and the power supply voltage (DC5V) disappears. And after the power is restored, the random number generation process (ST32) is started through the JP XXYY instruction, so there is no problem.
ステップST53の処理が終われば、次に、メイン処理のステップST4と同様のチェックサム演算を実行する(ST54)。具体的には、内蔵RAMのワーク領域(図8(c)参照)に対して、連続して8ビット加算を実行し、その加算結果をチェックサム値としてSUM番地に記憶する。8ビット演算の対象となる領域は広い方が好ましいので、ここでは、SUM番地とBFL番地(バックアップフラグBFL)とを除くRAMの全領域としている。 When the process of step ST53 is completed, the same checksum calculation as step ST4 of the main process is executed (ST54). Specifically, 8-bit addition is continuously performed on the work area of the internal RAM (see FIG. 8C), and the addition result is stored as a checksum value at the SUM address. Since it is preferable that the area to be subjected to 8-bit operation is wide, the entire area of the RAM excluding the SUM address and the BFL address (backup flag BFL) is used here.
その後、BFL番地にフラグ値5AHを記憶した後(ST55)、RAMのアクセスを禁止して電源電圧が降下してCPUが非動作状態になるのを待つ(ST56)。その後、CPUは非動作状態となるが、RAMにはバックアップ電源BUが供給されているので、バックアップされたデータがそのまま維持される。 Thereafter, after storing the flag value 5AH at the address BFL (ST55), access to the RAM is prohibited, and the CPU waits for the power supply voltage to drop and the CPU to become inoperative (ST56). After that, the CPU becomes inoperative, but the backed up data is maintained as it is because the backup power BU is supplied to the RAM.
以上、図7の電源監視処理(ST31)について、電圧降下信号ABNがLレベルの場合を説明したが、通常は、電圧降下信号ABNがHレベルであるから、ステップST4の
処理に移行して乱数作成処理が実行される(ST32)。乱数作成処理には、普通図柄処理ST40や特別図柄処理ST45における抽選動作で使用される、当り用カウンタRGや大当たり用カウンタCTの更新処理を含んでいる。
The power monitoring process (ST31) in FIG. 7 has been described with respect to the case where the voltage drop signal ABN is at the L level. Normally, since the voltage drop signal ABN is at the H level, the process proceeds to step ST4 and the random number is changed. Creation processing is executed (ST32). The random number generation processing includes update processing of the winning counter RG and the big hit counter CT used in the lottery operation in the normal symbol processing ST40 and the special symbol processing ST45.
乱数作成処理(ST32)が終わると、各遊技動作の時間を管理しているタイマについて、タイマ減算処理が行なわれる(ST33)。ここで減算されるタイマは、主として、電動チューリップや大入賞口の開放時間やその他の遊技演出時間を管理するために使用される。また、このとき、ウォッチドッグタイマ(不図示)にクリア信号を供給して、CPUが強制的にリセットされることを防止する。 When the random number generation process (ST32) ends, a timer subtraction process is performed for the timer that manages the time of each game operation (ST33). The timer to be subtracted here is mainly used for managing the opening time of the electric tulip and the special winning opening and other game effect times. At this time, a clear signal is supplied to a watchdog timer (not shown) to prevent the CPU from being forcibly reset.
続いて、図柄始動口15や大入賞口16の入賞検出スイッチを含む各種スイッチ類のON/OFF信号が入力され、ワーク領域にON/OFF信号が記憶される(ST34)。そして、記憶された情報に基づいて、例えば図柄始動口に入賞がありその情報を保留可能な状態である場合、保留を表示させる為のコマンドなど検出に基づく必要な情報が送信される。又、万一、不合理なON信号が検出されたら、不正入賞コマンドが送信される(ST35)。不正入賞コマンドが送信されるのは、例えば、特別遊技中でもないのに、大入賞口16の検出スイッチからON信号が得られたような場合である。
Subsequently, ON / OFF signals of various switches including a winning detection switch of the symbol start opening 15 and the big winning
次に、エラー管理処理が行われる(ST36)。エラー管理処理は、遊技球の補給が停止したり、遊技球が詰まっていないかなど、機器内部に異常が生じていないかの判定である。次に、払出制御基板向けの制御コマンドを作成した後(ST37)、上記の各処理で生成されている制御コマンドを該当するサブ制御基板に伝送する(ST38)。 Next, error management processing is performed (ST36). The error management process is a determination as to whether or not an abnormality has occurred inside the device, such as whether or not the supply of game balls has stopped or the game balls are clogged. Next, after creating a control command for the payout control board (ST37), the control command generated in each of the above processes is transmitted to the corresponding sub-control board (ST38).
次に、現在が当り中の動作モードでないことを条件に、普通図柄処理を行う(ST40)。普通図柄処理とは、電動チューリップなど、普通電動役物を作動させるか否かの判定を意味する。具体的には、ステップST34のスイッチ入力結果によって遊技球がゲートを通過していると判定された場合に、乱数生成処理(ST32)で更新された当り用カウンタRGを、当り当選値と対比して行われる。そして、対比結果が当選状態であれば当り中の動作モードに変更する。また、当り中となれば、電動チューリップなど、普通電動役物の作動に向けた処理を行う(ST42)。 Next, normal symbol processing is performed on the condition that the current operation mode is not the hit mode (ST40). The normal symbol processing means determination as to whether or not to operate an ordinary electric accessory such as an electric tulip. Specifically, when it is determined that the game ball has passed the gate based on the switch input result in step ST34, the winning counter RG updated in the random number generation process (ST32) is compared with the winning winning value. Done. If the comparison result is a winning state, the operation mode is changed to the winning operation mode. Further, if it is hit, a process for operating an ordinary electric accessory such as an electric tulip is performed (ST42).
続いて、必要な制御コマンドを該当するサブ制御基板に伝送し(ST43)、現在が大当り中の動作モードでないことを条件に、特別図柄処理を行う(ST45)。特別図柄処理とは、大入賞口16など、特別電動役物を作動させるか否かの判定である。具体的には、ステップST34のスイッチ入力結果によって遊技球が図柄始動口を通過していると判定された場合に、乱数生成処理(ST32)で更新された大当り用カウンタCTを、大当り当選値Hitと対比して行われる。そして、対比結果が当選状態であれば大当り中の動作モードに変更する。また、大当り中となれば、大入賞口など特別電動役物の作動に向けた処理を行う(ST47)。
Subsequently, necessary control commands are transmitted to the corresponding sub control board (ST43), and special symbol processing is performed on the condition that the current operation mode is not a big hit (ST45). The special symbol process is a determination as to whether or not to operate a special electric accessory such as the
その後、上記の各処理で生成された制御コマンドを該当するサブ制御基板に伝送する(ST48)。例えば、特別図柄処理(ST45)が実行された場合には、その抽選結果に係わらず、制御コマンドの伝送を契機として、液晶ディスプレイDISPでは図柄変動動作が開始されることになる。何れにしてもステップST48の処理が終われば、ステップST30の処理で退避しておいたレジスタを復帰させて(ST49)、EI命令を実行して割込み処理を終える(ST50)。その結果、通常は、割込み処理ルーチンからメイン処理の無限ループ処理(図6のST15)に戻ることになる。 Thereafter, the control command generated in each of the above processes is transmitted to the corresponding sub-control board (ST48). For example, when the special symbol process (ST45) is executed, regardless of the lottery result, the symbol variation operation is started in the liquid crystal display DISP when the control command is transmitted. In any case, when the process of step ST48 is completed, the register saved in the process of step ST30 is restored (ST49), the EI instruction is executed, and the interrupt process is completed (ST50). As a result, normally, the routine returns from the interrupt processing routine to the infinite loop processing (ST15 in FIG. 6) of the main processing.
以上説明した通り、本実施例では、NMI(non maskable interrupt)などの割込み処理を使用することなく電源遮断時の処理を実行する。そのため、退避処理(ST53〜ST
56)が極めてシンプルとなり、確実に退避処理を終えることができる。
As described above, in this embodiment, the process at the time of power-off is executed without using an interrupt process such as NMI (non maskable interrupt). Therefore, save processing (ST53-ST
56) becomes extremely simple, and the evacuation process can be surely completed.
また、退避処理の処理時間が短いので、交流電源の瞬停に有効に対処できる。すなわち、電源監視部の遅延部DLY1の遅延時間を極限的に長く設定できるので、ある程度の瞬停であれば、遊技動作を中止することなく、そのまま遊技動作を続行することができる。最低限、タイマ割込み周期(=4mS)と電源監視の処理時間(=α)の総和である4+αの時間が確保できれば良い。日本では、人間に感知できない程度の瞬停は、毎日のように発生しているので、本実施例の構成は、特にUPS(Uninterrupted Power Supply=無停電電源装置)などを設けていない遊技ホールに有効である。 In addition, since the processing time of the saving process is short, it is possible to effectively cope with an instantaneous power interruption. That is, since the delay time of the delay unit DLY1 of the power supply monitoring unit can be set extremely long, the game operation can be continued as it is without stopping the game operation if there is a certain momentary power interruption. It is sufficient that at least 4 + α time, which is the sum of the timer interruption period (= 4 mS) and the power monitoring process time (= α), can be secured. In Japan, momentary power interruptions that cannot be perceived by humans occur every day, so the configuration of this example is especially in game halls that are not equipped with UPS (Uninterrupted Power Supply). It is valid.
また、本実施例では、NMI処理を使用しないので、電源復帰後の交流電源が不安定な場合であっても、スタック領域を使い切ったり、ワーク領域を侵食するおそれがない。また、電源復帰後に再開すべき最初の命令が固定的に決まるので、電源復帰後の処理もシンプルとなる。 Further, in this embodiment, since the NMI process is not used, there is no possibility that the stack area is used up or the work area is eroded even when the AC power supply after power recovery is unstable. In addition, since the first command to be resumed after power recovery is fixedly determined, the processing after power recovery is simplified.
しかも、本実施例では、電源復帰処理後、遊技処理を再開するに先立って、電圧降下信号ABNをチェックして、交流電源が正常であることを確認するので、電源復帰後すぐに電源が遮断される異常時が繰り返されても、その後に電源が安定すれば遊技動作を正しく再開することができる。 In addition, in this embodiment, after restarting the power supply, before restarting the game process, the voltage drop signal ABN is checked to confirm that the AC power supply is normal. Even if the abnormal time is repeated, the gaming operation can be resumed correctly if the power supply is stabilized thereafter.
例えば、本実施例では、ステップST8→ST9の処理の後、割込み周期(=4ms)の後には、電源監視処理(ST31)が実行されるので、ステップST8のタイミングで交流電源が遮断されても(電圧降下信号ABNがHレベルからLレベルに切り替わっても)、確実に、退避処理(ST53〜ST56)を実行できる。なお、ステップST1〜ST7の間に交流電源が遮断された場合(電圧降下信号ABNがHレベルからLレベルに切り替わった場合)には、バックアップフラグBFLの値が5AHのままであるから、電源復帰後に同じ処理(ST1〜ST7)を繰り返すだけであり、何の問題も生じない。 For example, in the present embodiment, after the process of step ST8 → ST9, the power supply monitoring process (ST31) is executed after the interrupt cycle (= 4 ms), so even if the AC power supply is shut off at the timing of step ST8. (Even if the voltage drop signal ABN is switched from the H level to the L level), the saving process (ST53 to ST56) can be executed reliably. When the AC power supply is interrupted during steps ST1 to ST7 (when the voltage drop signal ABN is switched from the H level to the L level), the value of the backup flag BFL remains 5AH. Only the same process (ST1 to ST7) is repeated later, and no problem occurs.
ところで、RAMクリア処理(ST10)を実行した後の電圧降下信号ABNのチェック処理(ST12〜ST13)は、これを省略することもできる。すなわち、本実施例ではタイマ割込みの先頭で、電源監視処理(ST31)を実行するので、前記のチェック処理(ST12〜ST13)を省略しても、その後の割込み許可状態(ST14参照)において、迅速に電源異常を検出できるからである。 By the way, the check process (ST12 to ST13) of the voltage drop signal ABN after the RAM clear process (ST10) is executed can be omitted. That is, in the present embodiment, since the power supply monitoring process (ST31) is executed at the head of the timer interrupt, even if the above check processes (ST12 to ST13) are omitted, in the subsequent interrupt permission state (see ST14), it is quick. This is because a power supply abnormality can be detected.
もっとも、最初のタイマ割込み処理(Timer INT)の起動前に、直流電源電圧(DC5
V)が遮断されると、退避処理(ST53〜ST56)が実行されないために、電源復帰後に元の処理を再開させることはできない。但し、再開できない元の処理は単なるカウンタの更新処理であり、しかも、ここで問題にしているのは、RAMクリア処理によって過去の遊技情報が全て消失した後であって、且つ、電源復帰直後に電源が再び遮断された場合であるから、元の処理を再開できないことに実質的な弊害は何もない。
However, before starting the first timer interrupt processing (Timer INT), the DC power supply voltage (DC5
When V) is cut off, the save process (ST53 to ST56) is not executed, so that the original process cannot be resumed after the power is restored. However, the original process that cannot be resumed is simply a counter update process, and the problem here is that all past game information has been lost by the RAM clear process and immediately after the power is restored. Since the power supply is shut off again, there is no substantial adverse effect on the original process cannot be resumed.
以上、本発明の実施例の構成及び効果を具体的に説明したが、具体的な記載内容は何ら本発明を限定するものではなく、各種の改変が可能である。例えば、実施例では、電圧降下信号ABNの一回のレベル判定によって、正常/異常の判定をしているが、PIO部への入力データのビット化けを考慮して、複数回の判定によって正否判定をするのが好ましい。図9(a)は、この実施例であり、N回連続して正常レベルである場合に、次の処理に移行させている。この構成は、システムリセット処理のST6〜ST7や、ST12〜ST13の代わりに使用される。一方、電源監視処理のステップST51ST52に代えて、図9(b)の構成を採用するのも好ましく、この場合には、N回連続して異常レベルである場合に、次の処理に移行させている。 As mentioned above, although the structure and effect of the Example of this invention were demonstrated concretely, the concrete description content does not limit this invention at all, and various modifications are possible. For example, in the embodiment, normality / abnormality is determined by a single level determination of the voltage drop signal ABN, but whether the input data to the PIO unit is garbled or not is determined by multiple determinations. It is preferable to FIG. 9A shows this embodiment. When the normal level is reached N times consecutively, the process proceeds to the next process. This configuration is used in place of ST6 to ST7 and ST12 to ST13 of the system reset process. On the other hand, it is preferable to adopt the configuration shown in FIG. 9B instead of steps ST51ST52 of the power supply monitoring process. In this case, when the abnormality level is continuously N times, the process proceeds to the next process. Yes.
また、実施例では、説明の都合上、ステップST9の後で、ジャンプ命令(JP XX
YY)を実行することにしたが、これに代えて、RET命令(リターン命令)を使用することもできるのは勿論である。RET命令を使用する場合には、ステップST53において、SP記憶エリアにはSP+2の数値ではなく、その時のスタックポインタの数値SPがそのまま記憶される。
In the embodiment, for convenience of explanation, a jump instruction (JP XX) is provided after step ST9.
YY) is executed, but a RET instruction (return instruction) can be used instead. When the RET instruction is used, in step ST53, the SP storage area stores not the SP + 2 value but the stack pointer value SP at that time.
21 主制御部
55 電圧監視部
GM 遊技機
ABN 電圧降下信号
BU バックアップ電源
PIO 入力部
ST52 判定処理
ST55 退避処理
21
Claims (5)
前記電圧監視部から出力される電圧降下信号を受ける入力部と、所定時間毎に前記入力部からデータを取得して電源異常を検出する判定処理と、前記判定処理によって電源異常が検出されると、その後の遊技制御を中止して、第1レベルに設定した特定データをRA
Mのフラグ保存領域に保存する退避処理とを、遊技制御動作を中心的に担う主制御部に設け、
電源電圧の復旧や投入に基づいて起動される前記主制御部のシステムリセット処理では、前記入力部からの取得データに基づいて電源異常でないことを確認した上で、前記フラグ保存領域の特定データを、第1レベルから第2レベルに設定変更した上で中断された以
降の処理を開始することを特徴とする遊技機。 A gaming machine provided with a voltage monitoring unit that outputs a voltage drop signal when the power supply voltage drops, and a backup power supply that maintains the stored contents of the memory even after the power supply voltage is cut off,
An input unit that receives a voltage drop signal output from the voltage monitoring unit, a determination process that acquires data from the input unit every predetermined time to detect a power supply abnormality, and a power supply abnormality is detected by the determination process The subsequent game control is stopped, and the specific data set to the first level is
A save process to be stored in the M flag storage area is provided in the main control unit mainly responsible for the game control operation,
In the system reset process of the main control unit that is activated based on the restoration or input of the power supply voltage, it is confirmed that there is no power supply abnormality based on the acquired data from the input unit, and then the specific data in the flag storage area is A game machine characterized by starting processing after being interrupted after changing the setting from the first level to the second level.
前記退避処理は、前記タイマ割込み処理の中に設けられる請求項1又は2に記載の遊技
機。 The operation of the main control unit includes a system reset process that is started based on the restoration or input of the power supply voltage, and a maskable timer interrupt process that is started at regular intervals, and uses an unmaskable interrupt process. Configured without
The gaming machine according to claim 1, wherein the save process is provided in the timer interrupt process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010110982A JP4932928B2 (en) | 2010-05-13 | 2010-05-13 | Game machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010110982A JP4932928B2 (en) | 2010-05-13 | 2010-05-13 | Game machine |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007077623A Division JP4726842B2 (en) | 2007-03-23 | 2007-03-23 | Game machine |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010194337A true JP2010194337A (en) | 2010-09-09 |
JP4932928B2 JP4932928B2 (en) | 2012-05-16 |
Family
ID=42819650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010110982A Expired - Fee Related JP4932928B2 (en) | 2010-05-13 | 2010-05-13 | Game machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4932928B2 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7425313B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425319B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425320B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425317B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425322B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425318B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425315B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425321B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425316B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425314B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002224399A (en) * | 2001-02-01 | 2002-08-13 | Fuji Shoji:Kk | Game machine |
JP2005326340A (en) * | 2004-05-17 | 2005-11-24 | Keyence Corp | Image sensor using apparatus, optical displacement gage, and optical information reading device |
JP2006150100A (en) * | 2006-02-22 | 2006-06-15 | Sankyo Kk | Game machine |
JP2006320560A (en) * | 2005-05-19 | 2006-11-30 | Sankyo Kk | Game machine |
-
2010
- 2010-05-13 JP JP2010110982A patent/JP4932928B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002224399A (en) * | 2001-02-01 | 2002-08-13 | Fuji Shoji:Kk | Game machine |
JP2005326340A (en) * | 2004-05-17 | 2005-11-24 | Keyence Corp | Image sensor using apparatus, optical displacement gage, and optical information reading device |
JP2006320560A (en) * | 2005-05-19 | 2006-11-30 | Sankyo Kk | Game machine |
JP2006150100A (en) * | 2006-02-22 | 2006-06-15 | Sankyo Kk | Game machine |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7425313B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425319B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425320B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425317B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425322B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425318B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425315B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425321B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425316B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
JP7425314B2 (en) | 2020-10-20 | 2024-01-31 | サミー株式会社 | gaming machine |
Also Published As
Publication number | Publication date |
---|---|
JP4932928B2 (en) | 2012-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4726842B2 (en) | Game machine | |
JP4932928B2 (en) | Game machine | |
JP4907608B2 (en) | Game machine | |
JP4789862B2 (en) | Game machine | |
JP4764442B2 (en) | Game machine | |
JP5341140B2 (en) | Game machine | |
JP4712649B2 (en) | Game machine | |
JP2019205590A (en) | Game machine | |
JP5173162B2 (en) | Pachinko machine | |
JP2008054814A (en) | Game machine | |
JP5851125B2 (en) | Game machine | |
JP4712650B2 (en) | Game machine | |
JP2012040438A (en) | Game machine | |
JP4756164B2 (en) | Game machine | |
JP5661876B2 (en) | Game machine | |
JP5661906B2 (en) | Game machine | |
JP6010091B2 (en) | Game machine | |
JP2001314614A (en) | Game machine | |
JP4904411B2 (en) | Game machine | |
JP5475024B2 (en) | Game machine | |
JP2011188935A5 (en) | ||
JP2010148912A (en) | Game machine | |
JP4904428B2 (en) | Game machine | |
JP2001286642A (en) | Control device for game machine | |
JP5009424B2 (en) | Game machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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: 20120117 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120215 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4932928 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150224 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
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 |
|
LAPS | Cancellation because of no payment of annual fees |