JP3901230B2 - Pachinko game machine - Google Patents
Pachinko game machine Download PDFInfo
- Publication number
- JP3901230B2 JP3901230B2 JP16953295A JP16953295A JP3901230B2 JP 3901230 B2 JP3901230 B2 JP 3901230B2 JP 16953295 A JP16953295 A JP 16953295A JP 16953295 A JP16953295 A JP 16953295A JP 3901230 B2 JP3901230 B2 JP 3901230B2
- Authority
- JP
- Japan
- Prior art keywords
- reset
- output
- signal
- control
- reset signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Pinball Game Machines (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、所定時間毎にリセットされるまでに一連の制御動作を終了するパチンコゲーム機に関する。
【0002】
【発明が解決しようとする課題】
従来より、パチンコゲーム機においては、CPU(Central Processing Unit )により一連の制御動作を実行するようにしている。
【0003】
ところで、CPUは電気的ノイズにより暴走して制御動作を確実に実行しなくなる虞があるので、従来より、パチンコゲーム機では、CPUが暴走した場合であっても暴走が継続しないようにノイズ対策を施している。つまり、所定時間毎にCPUをリセットすると共に、CPUによる一連の制御動作を次にリセットされるまでに終了するようにしている。従って、ノイズによりCPUが万一暴走するようなことがあっても、CPUは次のリセットにより正常に動作するようになるので、CPUの暴走状態が継続してしまうことを防止することができる。
【0004】
図8は、この種のパチンコゲーム機の制御装置の構成を概略的に示している。この図8において、電源モニタ1は、電源が立上るまでシステムリセット信号をCPU2に出力する。発振回路3は、所定周期のクロック信号をCPU2のクロック端子及び分周回路4に出力する。分周回路4は、発振回路3からのパルス信号を複数回分周することにより所定周期のリセット信号をCPU2のリセット端子に出力する。この場合、分周回路4は、電源モニタ1からのシステムリセット信号の出力状態が解除されたタイミングから動作するように設定されている。
【0005】
さて、ROM5には制御プログラムが記憶されており、CPU2は、ROM5に記憶されている制御プログラムに従って入出力インタフェース6を通じて各種電気機器7を制御する。ここで、CPU2は内蔵ROM2aを有しており、その内蔵ROM2aにはROM5に記憶されている制御プログラムの真偽を検査するためのセキュリティプログラムが記憶されている。そして、CPU2は、電源モニタ1からのシステムリセット信号の出力が停止したときは、内蔵ROM2aに記憶されているセキュリティプログラムを実行することによりROM5に記憶されている制御プログラムを所定の手法により検査する。このとき、CPU2は、制御プログラムが予め認証を受けたものと異なると判断したときは当該制御プログラムを実行することなく動作を停止し、制御プログラムは認証を受けたものであると判断したときは当該制御プログラムを実行するようになっている。
【0006】
従って、ROM5に記憶されている制御プログラムが真の場合には、CPU2は、分周回路4からリセット信号が入力される毎に制御プログラムを繰返して実行することにより入出力インタフェース6を通じて各種電気機器7を制御する。
【0007】
しかしながら、上記従来例のものでは、CPU2にリセット信号を出力するための分周回路4が動作開始するのは電源モニタ1からのシステムリセット信号の出力状態が停止したタイミングであるので、分周回路4から最初のリセット信号が出力されるのは、図9に示すようにCPU2がシステムリセット信号の解除に伴ってセキュリティプログラムを実行開始してから所定時間Tが経過した後である。このため、セキュリティプログラムの実行時間及び制御プログラムの実行時間の合計時間が分周回路4からのリセット信号の出力間隔よりも短い場合は、同図に示すようにセキュリティプログラムの実行に続く制御プログラムの実行中にCPU2がリセットされてしまうので、第1回目の制御処理が処理途中で中断されてしまうので、以後の各種電気機器7に対する制御を確実に実行できない虞がある。
【0008】
この場合、第1回目の制御処理の中断が第2回目以降の処理に悪影響を与えないように制御プログラムを修正することが考えられるが、プログラムの容量が制限されている条件下において斯様にプログラムを適正に修正することは困難を伴うと共に多大の開発費を要する。
【0009】
一方、瞬停が発生した場合は、CPU2を直ちにリセットすることによりCPU2の暴走を防止するようにしているが、CPU2による制御プログラムの実行中に瞬停が発生した場合は、制御プログラムが途中で中断してしまうことになり、各種電気機器7に対する制御を確実に実行できない虞がある。また、瞬停が解除した場合にCPU2に対するリセット状態を直ちに解除した場合は、CPU2による制御プログラムの実行中に分周回路4からのリセット信号によりCPU2がリセットされてしまうので、この場合も、各種電気機器7に対する制御を確実にに実行できない虞がある。
【0010】
本発明は上記事情に鑑みてなされたもので、その目的は、所定時間毎にリセットされると共に制御プログラムを検査するセキュリティプログラムを実行するのに続いて当該制御プログラムを実行する構成において、簡単な構成で制御プログラムを確実に実行することができると共に、所定時間毎にリセットされる構成において、電源の異常にかかわらず制御プログラムを確実に実行することができるパチンコゲーム機を提供することにある。
【0011】
【課題を解決するための手段】
本発明のパチンコゲーム機は、電源が立上るまでシステムリセット信号を出力するシステムリセット手段を設け、所定時間毎にリセット信号を出力するリセット手段を設け、このリセット手段からのリセット信号の出力間隔内で実行が終了するように設定された制御プログラムが記憶された記憶手段を設け、この記憶手段に記憶された制御プログラムの真偽を検査するためのセキュリティプログラムが予め記憶され、前記システムリセット手段からのシステムリセット信号の出力状態が解除されたときは上記セキュリティプログラムを実行することにより前記制御プログラムが真であることを確認してから当該制御プログラムを実行すると共に前記リセット手段からのリセット信号の出力に応じてリセットされる制御手段を設け、前記システムリセット手段からのシステムリセット信号の非出力状態で起動信号が最初に入力されたときに前記リセット手段を起動する起動制御手段を設けた上で、前記起動制御手段を、前記制御手段による制御プログラムの実行開始時に起動信号が入力されるように構成したものである(請求項1)。
【0012】
この構成の場合、電源が立上ると、システムリセット手段は、システムリセット信号の出力を停止する。すると、制御手段は、セキュリティプログラムを実行することにより記憶手段に記憶されている制御プログラムの真偽を判定する。このとき、制御手段は、制御プログラムが真であると判定したときは当該制御プログラムを実行する。
【0013】
ここで、起動制御手段は、システムリセット手段からのシステムリセット信号の非出力状態で制御手段による制御プログラムの実行開始時に起動信号が入力されたときは、そのタイミングからリセット手段を起動する。これにより、リセット手段は、そのタイミングから所定時間毎にリセット信号を出力するようになるので、制御手段には制御プログラムの実行タイミングから所定時間毎にリセット信号が与えられるようになる。従って、制御手段は、セキュリティプログラムの実行に続く制御プログラムを次にリセットされるまでに確実に実行することができる。
【0014】
上記構成において、前記制御手段を、制御プログラムの実行中はプログラム実行信号を出力するように構成すると共に、前記起動制御手段を、前記制御手段からのプログラム実行信号を起動信号として入力されるようにしてもよい(請求項2)。
【0015】
この構成の場合、制御手段は、制御プログラムの実行中はプログラム実行信号を出力する。このとき、起動制御手段は、制御手段からのプログラム実行信号を起動信号として入力されるので、制御手段による制御プログラムの実行開始時にリセット手段を起動することができる。
【0016】
また、前記制御手段からの指令に応じて前記起動制御手段に起動信号を出力する起動信号出力手段を設けると共に、前記制御手段を、セキュリティプログラムの実行終了時に前記起動信号出力手段を動作させるようにしてもよい(請求項3)。
【0017】
この構成の場合、制御手段は、セキュリティプログラムの実行終了時に起動信号出力手段を動作させる。すると、起動信号出力手段は、起動制御手段に起動信号を出力するので、制御手段による制御プログラムの実行開始時にリセット手段を起動することができる。
【0018】
また、前記制御手段からの指令に応じて前記起動制御手段に起動信号を出力する起動信号出力手段を設けると共に、前記制御手段を、制御プログラムの実行開始時に前記起動信号出力手段を動作させるようにしてもよい(請求項4)。
【0019】
この構成の場合、制御手段は、制御プログラムの実行開始時に起動信号出力手段を動作させる。すると、起動信号出力手段は、起動制御手段に起動信号を出力するので、制御手段による制御プログラムの実行開始時にリセット手段を起動することができる。
【0020】
また、前記起動信号出力手段を、前記制御手段と当該制御手段の制御対象機器との間に介在された入出力インタフェースに設けるようにしてもよい(請求項5)。
【0021】
この構成の場合、起動信号出力手段を入出力インタフェースに設けることにより、外部からの起動信号の出力を容易に行うことができる。
【0022】
さらに、本発明のパチンコゲーム機は、所定時間毎にリセット信号を出力するリセット手段を設け、このリセット手段からのリセット信号の出力間隔内で実行が終了するように設定された制御プログラムが記憶された記憶手段を設け、この記憶手段に記憶された制御プログラムを実行すると共に前記リセット手段からのリセット信号の出力に応じてリセットされる制御手段を設け、電源の異常を検出する電源異常検出手段を設け、この電源異常検出手段が電源の異常を検出した状態で前記リセット手段から最初のリセット信号が出力してから前記異常検出手段が電源の異常を検出しなくなった状態で前記リセット手段から最初のリセット信号が出力されるまで前記制御手段にリセット信号を出力する電源異常用リセット手段を設けたものである(請求項6)。
【0023】
この構成の場合、瞬停或いは電源電圧が低下する等の異常が発生したときは、制御手段は、制御プログラムを確実に実行できない虞がある。このとき、電源に異常が生じたときは、電源異常検出手段が異常を検出するので、電源異常用リセット手段は、電源異常検出手段が電源の異常を検出した状態でリセット手段から最初のリセットが出力されたときは制御手段にリセット信号を出力する。これにより、制御手段は、電源の異常が発生したときに直ちに停止されることはないので、制御プログラムを中断されることなく確実に実行することができる。
【0024】
ここで、電源異常用リセット手段は、電源異常検出手段が電源の異常を検出しなくなった状態でリセット手段から最初のリセット信号が出力されるまでリセット信号の出力を継続する。これにより、制御手段は、電源の異常が解消されたときは直ちに制御プログラムを開始することはないので、制御プログラムを中断されることなく確実に実行することができる。
【0025】
【発明の実施の形態】
以下、本発明の第1実施例を図1乃至図3を参照して説明する。図2はパチンコゲーム機の電気的構成を概略的に示している。この図2において、電源装置11は整流素子及び蓄電素子を組合わせた平滑回路からなり、交流を直流に変換した状態で制御装置12及び電気役物或いはランプ等の各種電気機器13に給電する。制御装置12は、電源装置11からの給電により動作することにより各種電気機器13の動作を制御する。
【0026】
図1は上記制御装置12を概略的に示している。この図1において、システムリセット手段としてのシステムリセット信号発生回路14は、電源装置11から直流電圧が給電されるのに応じてコンデンサ15の充電電圧が所定電圧以上となるまでローレベルのシステムリセット信号を制御手段としてのCPU16のシステムリセット端子に出力する。
【0027】
発振回路17は、所定周期のクロック信号をCPU16のクロック端子及びリセット手段としてのリセット信号発生回路18のクロック端子に出力する。リセット信号発生回路18は分周回路から成り、発振回路17からのクロック信号を分周して所定周期のパルス信号をCPU16のリセット端子に出力する。このリセット信号発生回路18は、リセット端子がローレベル状態となると動作するようになっている。
【0028】
起動制御手段としての起動制御回路19はフリップフロップからなり、クリア端子の入力レベルがローレベル状態では反転出力端子からハイレベル信号を出力し、クリア端子の入力レベルがハイレベル状態でクロック信号が入力されたときは反転出力端子からデータ端子の入力レベルを反転したレベルの信号を出力するようになっている。この場合、起動制御回路19のクリア端子にはシステムリセット回路14の出力端子が接続され、クロック端子にはCPU16のM1端子がインバータ20を介して接続され、データ端子には電源端子が接続されている。また、起動制御回路19の反転出力端子はリセット信号発生回路18のリセット端子と接続されている。
【0029】
CPU16はセキュリティプログラムが記憶された内蔵ROM16aを有しており、システムリセット端子の入力レベルがハイレベルとなると、内蔵ROM16aに記憶されているセキュリティプログラムを実行するようなっている。このセキュリティプログラムは、記憶手段としてのROM21に記憶されている制御プログラムの真偽を検査するためのプログラムである。この場合、CPU16は、セキュリティプログラムの実行により制御プログラムを真であると判断したときはセキュリティプログラムの実行に続けて当該制御プログラムを実行し、制御プログラムが偽であると判断したときは制御プログラムを実行しないようになっている。また、CPU16は、リセット端子にリセット信号が入力される毎に制御プログラムを繰返して実行するようになっている。この制御プログラムは、図示しない各種センサの検出状態に基づいて入出力インタフェース22を通じて各種電気機器13を制御すると共に、その制御状態をRAM23に記憶するためのものである。
【0030】
この場合、本実施例に用いられているCPU16は、ROM21に記憶されている制御プログラムを実行するときは、M1端子からプログラム実行信号としてのM1信号(Z80系のCPUがプログラムにアクセスするときに出力する信号で、68系のCPUを採用したときはLIR端子から出力されるLIR信号となる)を出力する一方で、内蔵ROM16aに記憶されているセキュリティプログラムを実行するときはM1信号を出力しないように構成されている。従って、CPU16がセキュリティプログラムを実行するときは、CPU16からM1信号が出力されることはない。
【0031】
次に上記構成の作用について説明する。電源装置11に交流電源が投入されると、電源装置11から制御装置12に直流電圧が出力される。このとき、制御装置12においては、システムリセット信号発生回路14のコンデンサ15は放電状態から充電されることにより徐々に電圧が上昇するので、システムリセット信号発生回路14からCPU16に対して電源投入から所定時間だけシステムリセット信号の出力状態が継続する。これにより、CPU16は、発振回路17から所定周期のクロック信号が出力されるにしても、電源電圧が不安定な状態では動作することはない。
【0032】
そして、電源が完全に立上がと、図3に示すようにシステムリセット信号発生回路14からCPU16に対して出力されていたシステムリセット信号が解除される。すると、CPU16は、内蔵ROM16aに記憶されているセキュリティプログラムを実行することによりROM21に記憶されている制御プログラムを検査する。つまり、CPU16は、制御プログラムを所定の手法に基づいて検査するものであり、制御プログラムが予め認証を受けた内容と異なるときは当該制御プログラムを実行しないと共に、制御プログラムが予め認証を受けた内容と一致したときは当該制御プログラムを実行する。
【0033】
一方、上述のようにシステムリセット信号発生回路14からのシステムリセット信号の出力が停止したときは、起動制御回路19のクリア端子の入力レベルがハイレベルとなるので、起動制御回路19は動作可能状態となる。
【0034】
さて、CPU16は、セキュリティプログラムの実行に続いてROM21に記憶されている制御プログラムを実行する。この制御プログラムは、リセット信号発生回路18からのリセット信号の出力間隔内に終了するように設定されている。そして、CPU16は、制御プログラムの実行によりインタフェース22を通じて各種電気機器13を制御すると共にパチンコゲーム機の稼働状態をRAM23に記憶する。
【0035】
ここで、CPU16は、ROM21に記憶されている制御プログラムを実行するときは、制御プログラムにアクセスする毎にM1信号を出力する。この場合、CPU16から第1回目のM1信号が起動制御回路19のクロック端子に出力されると、起動制御回路19がセットされて反転出力端子の出力レベルがローレベルとなる。これにより、リセット信号発生回路18のリセット状態が解除されるので、リセット信号発生回路18は、発振回路17からのクロック信号を所定回数だけ分周する毎にリセット信号を出力する分周動作を実行する。このとき、リセット信号発生回路18は、図3に示すように動作開始から所定時間T経過後にリセット信号を出力するので、CPU16は、リセット信号発生回路18から最初のリセット信号が出力されるまでには第1回目の制御プログラムの実行を終了している。
【0036】
そして、CPU16は、リセット信号発生回路18からリセット信号が出力される毎に制御プログラムを繰返して実行することによりパチンコゲーム機に対する制御動作を実行する。
【0037】
上記構成のものによれば、CPU16にリセット信号を出力するための起動制御回路19は、CPU16がセキュリティプログラムの実行に続く制御プログラムの実行に応じて最初のM1信号を出力したタイミングから動作するように構成されているので、CPU16がリセット信号発生回路18からのリセット信号により所定周期でリセットされるにしても、CPU16が第1回目の制御プログラムの実行中にリセットされてしまうことを防止できる。従って、制御プログラムを検査するセキュリティプログラムの実行開始から所定時間経過後にCPUがリセットされてしまう虞がある従来例のものと違って、CPU16による制御プログラムの実行により各種電気機器13を確実に制御することができる。
【0038】
また、上記実施例では、CPU16が制御プログラムを実行するときに初めてM1信号を出力するように構成されていることに着目し、そのM1信号の出力に基づいて起動制御回路19によりリセット信号発生回路18を動作させるようにしたので、従来例の構成に起動制御回路19を付加するのみで実現できる。従って、CPU16の構成或いはプログラムを一切修正することなく実現できるので、上述のように優れた効果を奏しながら低コストで実現することができる。
【0039】
図4及び図5は本発明の第2実施例を示すものであり、第1実施例と同一部分には同一符号を付して説明を省略し、異なる部分についてのみ説明する。この第2実施例は、起動制御回路19をCPU16のプログラム制御により起動することを特徴とする。
【0040】
即ち、起動信号出力手段としての機能を有する入出力インタフェース22は、CPU16が予め設定された特定アドレスにアクセスしたときに起動信号を起動制御回路19のクロック端子に出力するようになっている。そして、CPU16は、セキュリティプログラムの実行終了時若しくは制御プログラムの実行開始時に入出力インタフェース22に対して特定アドレスによりアクセスするようになっている。
【0041】
さて、CPU16は、セキュリティプログラムの実行終了時若しくは制御プログラムの実行開始時に特定アドレスにアクセスする。すると、入出力インタフェース22から起動制御回路19に起動信号が出力されるので(図5参照)、起動制御回路19はリセット信号発生回路18を起動するようになる。これにより、リセット信号発生回路18からCPU16に起動信号が所定周期で出力されるので、CPU16は所定周期でリセットされるようになる。従って、第1実施例と同様に、CPU16は、セキュリティプログラムに続く制御プログラムを次にリセットされるまでに確実に実行することができる。
【0042】
また、入出力インタフェース22にはCPU16からのアドレスをデコードする機能が本来的に設けられているので、CPU16から特定アドレスがアクセスされたか否かを判定する構成を簡単に実施することができる。
【0043】
図6及び図7は本発明の第3実施例を示しており、第1実施例と同一部分には同一符号を付して説明を省略し、異なる部分について説明する。この第3実施例は、電源装置11の異常を検出する電源異常検出手段を設け、その電源異常検出手段が電源の異常を検出した場合は、CPU16に適宜タイミングでリセット信号を出力することを特徴とする。
【0044】
即ち、電源異常検出手段としての電源異常検出回路24は電源装置11の入力側の電圧を監視しており、入力電圧が瞬間的に零となった場合(所謂瞬停)、或いは入力電圧が正規値から低下した場合は、電源異常用リセット手段としての電源異常用リセット信号発生回路25にハイレベル信号を出力する。この電源異常用リセット信号発生回路25は、電源異常検出回路24からのハイレベル信号の入力状態でリセット信号発生回路18から最初のリセット信号が出力されたときは、NOR回路26を通じてCPU16にリセット信号を出力する。この場合、電源異常用リセット信号発生回路25は、電源異常検出回路24からのハイレベル信号が断たれた状態でリセット信号発生回路18から最初のリセット信号が出力されるまでリセット信号の出力状態を継続するようになっている。尚、リセット信号発生回路18は、NOR回路26を通じてCPU16にリセット信号を出力するようになっている。
【0045】
さて、商用電源は種々の異常により瞬停したり、電圧が低下することがある。このように電源が異常となった場合は、CPU16が異常動作をしないように停止するのが一般的であるが、電源の異常によりCPU16を直ちに停止したのでは、図7に示すように制御プログラムの処理が中断されてしまう虞がある。また、電源が復帰したタイミングでCPU16を直ちに動作させた場合も、図7に示すように制御プログラムの処理が中断されてしまう虞がある。
【0046】
そこで、本実施例では、電源に異常が発生した場合であっても、次のようにして制御プログラムを確実に実行できるようにしている。つまり、電源異常検出回路24は、電源の異常を検出したときはハイレベル信号を電源異常用リセット信号発生回路25に出力する。すると、電源異常用リセット信号発生回路25は、電源異常検出回路24からハイレベル信号が入力された状態でリセット信号発生回路18から最初のリセット信号が入力されたときは、そのタイミングでリセット信号を出力する。これにより、NOR回路26を通じてCPU16にリセット信号が出力されるので、CPU16は停止状態となる。
【0047】
この場合、電源に異常が発生しても、電源装置11の電源供給状態は暫く継続するので、CPU16は動作を継続することができる。従って、電源の異常が発生するにしても、図7に示すようにCPU16は制御プログラムを確実に実行することができる。
【0048】
また、電源の異常状態中は、電源異常用リセット信号発生回路25からCPU16に対するリセット信号の出力状態が継続するので、CPU16は停止状態を継続する。
【0049】
そして、電源の異常が解消されて電源が復帰すると、電源異常検出回路24は電源異常用リセット信号発生回路25に対するハイレベル信号の出力を停止する。すると、電源異常用リセット回路25は、電源異常検出回路24からのハイレベル信号の出力が停止した状態でリセット信号発生回路18から最初のリセット信号が出力されたときは、CPU16に出力していたリセット信号の出力を停止するので、図7に示すように瞬停が解除されたにもかかわらずCPU16は制御プログラムを確実に実行することができる。
【0050】
本発明は、上記実施例に限定されるものではなく、次のように変形または拡張できる。
CPUとしては、68系のものを用いるようにしてもよい。
入出力インタフェース22から起動信号出力手段としての機能を独立して設けるようにしてもよい。
起動信号出力手段を、CPU16によりROM21の先頭アドレスがアクセスされたときに起動信号を起動制御回路19に出力するように構成してもよい。
【0051】
【発明の効果】
以上の説明から明らかなように、本発明のパチンコゲーム機によれば、所定時間毎にリセットされると共に制御プログラムを検査するセキュリティプログラムを実行するのに続いて当該制御プログラムを実行する構成において、簡単な構成で制御プログラムを確実に実行することができると共に、所定時間毎にリセットされる構成において、電源の異常にかかわらず制御プログラムを確実に実行することができるので、パチンコゲーム機が有する電気機器を確実に制御することができるという優れた効果を奏する。
【図面の簡単な説明】
【図1】本発明の第1実施例における制御装置の電気的構成を示す概略図
【図2】全体の電気的構成を示す概略図
【図3】CPUの動作を示すタイミングチャート
【図4】本発明の第2実施例を示す図1相当図
【図5】図3相当図
【図6】本発明の第3実施例を示す図1相当図
【図7】CPUの動作を示すタイミングチャート
【図8】従来例を示す図1相当図
【図9】図3相当図
【符号の説明】
12は制御装置、14はシステムリセット信号発生回路(システムリセット手段)、16はCPU(制御手段)、18はリセット信号発生回路(リセット手段)、19は起動制御回路(起動制御手段)、21はROM(記憶手段)、22は入出力インタフェース(起動信号出力手段)、24は電源異常検出回路(電源異常検出手段)、25は電源異常用リセット信号発生回路(電源異常用リセット手段)である。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a pachinko game machine that ends a series of control operations before being reset every predetermined time.
[0002]
[Problems to be solved by the invention]
Conventionally, in a pachinko game machine, a series of control operations are executed by a CPU (Central Processing Unit).
[0003]
By the way, since the CPU may run away due to electrical noise and the control operation may not be executed reliably, conventional pachinko game machines have taken measures against noise so that the runaway does not continue even if the CPU runs away. Has been given. In other words, the CPU is reset every predetermined time, and a series of control operations by the CPU is finished until the next reset. Therefore, even if the CPU may run away due to noise, the CPU will operate normally by the next reset, so that the runaway state of the CPU can be prevented from continuing.
[0004]
FIG. 8 schematically shows the configuration of a control device of this type of pachinko game machine. In FIG. 8, the power source monitor 1 outputs a system reset signal to the
[0005]
A control program is stored in the ROM 5, and the
[0006]
Therefore, when the control program stored in the ROM 5 is true, the
[0007]
However, in the above conventional example, the frequency divider 4 for outputting the reset signal to the
[0008]
In this case, it may be possible to modify the control program so that the interruption of the first control process does not adversely affect the second and subsequent processes. However, under the condition that the capacity of the program is limited, Correcting the program properly is difficult and requires significant development costs.
[0009]
On the other hand, when an instantaneous power failure occurs, the
[0010]
The present invention has been made in view of the above circumstances, and the object thereof is simple in a configuration in which the control program is reset after executing a security program that is reset every predetermined time and inspects the control program. An object of the present invention is to provide a pachinko gaming machine that can reliably execute a control program with a configuration and that can reliably execute a control program regardless of power supply abnormality in a configuration that is reset every predetermined time.
[0011]
[Means for Solving the Problems]
The pachinko game machine of the present invention is provided with system reset means for outputting a system reset signal until the power is turned on, and provided with reset means for outputting a reset signal every predetermined time, and within an output interval of the reset signal from the reset means. Provided with a storage means for storing a control program set to end execution, and a security program for checking the authenticity of the control program stored in the storage means is stored in advance, from the system reset means When the output state of the system reset signal is released, the security program is executed to confirm that the control program is true, and then the control program is executed and the reset signal is output from the reset means. And a control means that is reset according to the system. Activation signal in the non-output state of the system reset signal from the reset means But Type first Is Provided with a start control means for starting the reset means when the start control means receives a start signal when the control means starts executing a control program. Is (Claim 1).
[0012]
In this configuration, when the power is turned on, the system reset unit stops outputting the system reset signal. Then, the control means determines the authenticity of the control program stored in the storage means by executing the security program. At this time, when it is determined that the control program is true, the control means executes the control program.
[0013]
Here, the start control means is a start signal at the start of execution of the control program by the control means in a non-output state of the system reset signal from the system reset means. But input Is If reset, the reset means is activated from that timing. As a result, the reset means outputs a reset signal every predetermined time from that timing, so that the reset signal is given to the control means every predetermined time from the execution timing of the control program. Therefore, the control means can surely execute the control program following the execution of the security program until the next reset.
[0014]
In the above configuration, the control unit is configured to output a program execution signal while the control program is being executed, and the activation control unit receives the program execution signal from the control unit as an activation signal. Is (Claim 2).
[0015]
In the case of this configuration, the control means outputs a program execution signal during execution of the control program. At this time, the start control means inputs the program execution signal from the control means as the start signal. Is Therefore, the reset means can be activated when the control means starts executing the control program.
[0016]
Also provided is a start signal output means for outputting a start signal to the start control means in response to a command from the control means, and the control means is configured to operate the start signal output means at the end of execution of the security program. (Claim 3).
[0017]
In this configuration, the control means operates the activation signal output means at the end of execution of the security program. Then, since the activation signal output means outputs the activation signal to the activation control means, the reset means can be activated when the control means starts executing the control program.
[0018]
Also provided is a start signal output means for outputting a start signal to the start control means in response to a command from the control means, and the control means is configured to operate the start signal output means at the start of execution of a control program. (Claim 4).
[0019]
In the case of this configuration, the control means operates the activation signal output means at the start of execution of the control program. Then, since the activation signal output means outputs the activation signal to the activation control means, the reset means can be activated when the control means starts executing the control program.
[0020]
The activation signal output means may be provided in an input / output interface interposed between the control means and a control target device of the control means (claim 5).
[0021]
In the case of this configuration, by providing the activation signal output means in the input / output interface, it is possible to easily output the activation signal from the outside.
[0022]
Further, the pachinko game machine of the present invention is provided with a reset means for outputting a reset signal every predetermined time, and a control program set so that execution is completed within an output interval of the reset signal from the reset means is stored. A power supply abnormality detecting means for detecting a power supply abnormality by providing a control means for executing a control program stored in the storage means and resetting in response to an output of a reset signal from the reset means. The power supply abnormality detection means detects the power supply abnormality and outputs the first reset signal from the reset means, and then the abnormality detection means stops detecting the power supply abnormality. The control means is provided with a power failure reset means for outputting a reset signal until a reset signal is output. (Claim 6).
[0023]
In the case of this configuration, when an abnormality such as a momentary power failure or a drop in power supply voltage occurs, the control means may not be able to execute the control program reliably. At this time, when an abnormality occurs in the power supply, the power supply abnormality detecting means detects the abnormality, so that the power supply abnormality detecting means performs the first reset from the reset means in a state where the power supply abnormality detecting means detects the power supply abnormality. When output, a reset signal is output to the control means. As a result, the control means does not stop immediately when a power supply abnormality occurs, so that the control program can be reliably executed without being interrupted.
[0024]
Here, the reset means for power supply abnormality is the first reset signal from the reset means in a state where the power supply abnormality detection means stops detecting the power supply abnormality. Is output Continue to output the reset signal until As a result, the control means does not immediately start the control program when the power supply abnormality is resolved, so that the control program can be executed without interruption.
[0025]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS. FIG. 2 schematically shows an electrical configuration of the pachinko game machine. In FIG. 2, a
[0026]
FIG. 1 schematically shows the
[0027]
The
[0028]
The
[0029]
The
[0030]
In this case, when the
[0031]
Next, the operation of the above configuration will be described. When AC power is supplied to the
[0032]
When the power supply is completely started up, the system reset signal output from the system reset
[0033]
On the other hand, when the output of the system reset signal from the system reset
[0034]
The
[0035]
Here, when executing the control program stored in the
[0036]
The
[0037]
According to the above configuration, the
[0038]
Further, in the above embodiment, paying attention to the fact that the
[0039]
4 and 5 show a second embodiment of the present invention. The same parts as those in the first embodiment are denoted by the same reference numerals and the description thereof will be omitted, and only different parts will be described. The second embodiment is characterized in that the
[0040]
That is, the input /
[0041]
The
[0042]
Further, since the input /
[0043]
6 and 7 show a third embodiment of the present invention. The same parts as those in the first embodiment are denoted by the same reference numerals and the description thereof is omitted, and different parts will be described. The third embodiment is provided with a power supply abnormality detecting means for detecting a
[0044]
In other words, the power supply abnormality detection circuit 24 as a power supply abnormality detection means monitors the voltage on the input side of the
[0045]
Now, the commercial power supply may be momentarily stopped due to various abnormalities, or the voltage may drop. When the power supply becomes abnormal in this way, it is common to stop the
[0046]
Therefore, in this embodiment, even when an abnormality occurs in the power supply, the control program can be reliably executed as follows. That is, the power supply abnormality detection circuit 24 outputs a high level signal to the power supply abnormality reset signal generation circuit 25 when a power supply abnormality is detected. Then, the power supply abnormality reset signal generation circuit 25 receives a high level signal from the power supply abnormality detection circuit 24. But input Is The first reset signal from the reset
[0047]
In this case, even if an abnormality occurs in the power supply, the power supply state of the
[0048]
Further, during the abnormal state of the power supply, the output state of the reset signal from the power supply abnormality reset signal generation circuit 25 to the
[0049]
When the power supply abnormality is resolved and the power supply is restored, the power supply abnormality detection circuit 24 stops outputting the high level signal to the power supply abnormality reset signal generation circuit 25. Then, the power supply abnormality reset circuit 25 receives the high level signal from the power supply abnormality detection circuit 24. output When the first reset signal is output from the reset
[0050]
The present invention is not limited to the above embodiments, and can be modified or expanded as follows.
As the CPU, a 68-series CPU may be used.
A function as an activation signal output means may be provided independently from the input /
The start signal output means may be configured to output a start signal to the
[0051]
【The invention's effect】
As is apparent from the above description, according to the pachinko gaming machine of the present invention, in the configuration in which the control program is executed after executing the security program that is reset every predetermined time and inspects the control program, The control program can be reliably executed with a simple configuration, and the control program can be reliably executed regardless of the abnormality of the power supply in the configuration that is reset every predetermined time. There is an excellent effect that the device can be reliably controlled.
[Brief description of the drawings]
FIG. 1 is a schematic diagram showing an electrical configuration of a control device according to a first embodiment of the present invention.
FIG. 2 is a schematic diagram showing the overall electrical configuration.
FIG. 3 is a timing chart showing the operation of the CPU.
FIG. 4 is a view corresponding to FIG. 1 showing a second embodiment of the present invention.
FIG. 5 is a view corresponding to FIG.
FIG. 6 is a view corresponding to FIG. 1 showing a third embodiment of the present invention.
FIG. 7 is a timing chart showing the operation of the CPU.
FIG. 8 is a view corresponding to FIG. 1 showing a conventional example.
FIG. 9 is a view corresponding to FIG.
[Explanation of symbols]
12 is a control device, 14 is a system reset signal generation circuit (system reset means), 16 is a CPU (control means), 18 is a reset signal generation circuit (reset means), 19 is a start control circuit (start control means), and 21 is ROM (storage means), 22 is an input / output interface (startup signal output means), 24 is a power supply abnormality detection circuit (power supply abnormality detection means), and 25 is a power supply abnormality reset signal generation circuit (power supply abnormality reset means).
Claims (6)
所定時間毎にリセット信号を出力するリセット手段と、
このリセット手段からのリセット信号の出力間隔内で実行が終了するように設定された制御プログラムが記憶された記憶手段と、
この記憶手段に記憶された制御プログラムの真偽を検査するためのセキュリティプログラムが予め記憶され、前記システムリセット手段からのシステムリセット信号の出力状態が解除されたときは上記セキュリティプログラムを実行することにより前記制御プログラムが真であることを確認してから当該制御プログラムを実行すると共に前記リセット手段からのリセット信号の出力に応じてリセットされる制御手段と、
前記システムリセット手段からのシステムリセット信号の非出力状態で起動信号が最初に入力されたときに前記リセット手段を起動する起動制御手段とを備え、
前記起動制御手段は、前記制御手段による制御プログラムの実行開始時に起動信号が入力されるように構成されていることを特徴とするパチンコゲーム機。System reset means for outputting a system reset signal until the power is turned on;
Resetting means for outputting a reset signal every predetermined time;
Storage means for storing a control program set to finish execution within an output interval of a reset signal from the reset means;
A security program for checking the authenticity of the control program stored in the storage means is stored in advance, and when the output state of the system reset signal from the system reset means is released, the security program is executed A control unit that executes the control program after confirming that the control program is true and is reset in response to an output of a reset signal from the reset unit;
A start control means for starting the reset means when a start signal is first input in a non-output state of the system reset signal from the system reset means,
It said activation control means, pachinko gaming machines, wherein the activation signal to the start of execution of the control program by the control means is configured so that the input.
前記起動制御手段は、前記制御手段からのプログラム実行信号が起動信号として入力されることを特徴とする請求項1記載のパチンコゲーム機。The control means is configured to output a program execution signal during execution of the control program,
It said activation control means, pachinko game machine according to claim 1, wherein the program execution signal from said control means and said Rukoto input as the start signal.
前記制御手段は、セキュリティプログラムの実行終了時に前記起動信号出力手段を動作させることを特徴とする請求項1記載のパチンコゲーム機。In response to a command from the control means, provided with a start signal output means for outputting a start signal to the start control means,
The pachinko game machine according to claim 1, wherein the control means operates the activation signal output means when the execution of the security program is completed.
前記制御手段は、制御プログラムの実行開始時に前記起動信号出力手段を動作させることを特徴とする請求項1記載のパチンコゲーム機。In response to a command from the control means, provided with a start signal output means for outputting a start signal to the start control means,
The pachinko game machine according to claim 1, wherein the control means operates the activation signal output means at the start of execution of a control program.
このリセット手段からのリセット信号の出力間隔内で実行が終了するように設定された制御プログラムが記憶された記憶手段と、
この記憶手段に記憶された制御プログラムを実行すると共に前記リセット手段からのリセット信号の出力に応じてリセットされる制御手段と、
電源の異常を検出する電源異常検出手段と、
この電源異常検出手段が電源の異常を検出した状態で前記リセット手段から最初のリセット信号が出力されてから前記異常検出手段が電源の異常を検出しなくなった状態で前記リセット手段から最初のリセット信号が出力されるまで前記制御手段にリセット信号を出力する電源異常用リセット手段とを備えたことを特徴とするパチンコゲーム機。Resetting means for outputting a reset signal every predetermined time;
Storage means for storing a control program set to finish execution within an output interval of a reset signal from the reset means;
A control unit that executes the control program stored in the storage unit and is reset in response to an output of a reset signal from the reset unit;
A power supply abnormality detection means for detecting a power supply abnormality;
The first reset signal is output from the reset unit in a state in which the abnormality detection unit stops detecting a power supply abnormality after the first reset signal is output from the reset unit in a state in which the power supply abnormality detection unit detects the power supply abnormality. A pachinko game machine comprising: a power abnormality resetting means for outputting a reset signal to the control means until is output.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16953295A JP3901230B2 (en) | 1994-07-05 | 1995-07-05 | Pachinko game machine |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP15318294 | 1994-07-05 | ||
JP6-153182 | 1994-07-05 | ||
JP16953295A JP3901230B2 (en) | 1994-07-05 | 1995-07-05 | Pachinko game machine |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0871216A JPH0871216A (en) | 1996-03-19 |
JP3901230B2 true JP3901230B2 (en) | 2007-04-04 |
Family
ID=26481894
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP16953295A Expired - Fee Related JP3901230B2 (en) | 1994-07-05 | 1995-07-05 | Pachinko game machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3901230B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4393634B2 (en) * | 1999-09-10 | 2010-01-06 | 株式会社三共 | Game machine |
JP2011050750A (en) * | 2000-04-26 | 2011-03-17 | Sanyo Product Co Ltd | Game machine |
JP4413388B2 (en) * | 2000-07-14 | 2010-02-10 | 株式会社三共 | Game machine |
JP2002210095A (en) * | 2001-01-23 | 2002-07-30 | Konami Parlor Entertainment Kk | Power source cut off processing apparatus and method |
JP4932890B2 (en) * | 2009-10-21 | 2012-05-16 | 株式会社藤商事 | Game machine |
JP2014076313A (en) * | 2013-09-19 | 2014-05-01 | Daito Giken:Kk | Game board |
-
1995
- 1995-07-05 JP JP16953295A patent/JP3901230B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH0871216A (en) | 1996-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3901230B2 (en) | Pachinko game machine | |
JP2004338883A (en) | Elevator controller | |
JPS58169219A (en) | Memory contents holding system of microcomputer | |
JPS5816318A (en) | Stabilized power supply device for microcomputer | |
JPH07334392A (en) | Resetting device and abnormal operation detector | |
JP2001190802A (en) | Game machine | |
JP2508305B2 (en) | Initial value determination device | |
JPS63816B2 (en) | ||
JP2000010954A5 (en) | Digital signal processor and processor self-test method | |
JP2017004259A (en) | Microcontroller | |
JPS59201123A (en) | Interruption processing system | |
JP4983806B2 (en) | System monitoring apparatus and monitoring method using dual timer | |
JP2688750B2 (en) | Pachinko machine control device | |
JP2841405B2 (en) | Microcomputer control circuit | |
JP2002355212A (en) | Interruption restoring dish washer/dryer, interruption restoring full automatic washer/dryer, and interruption restoring electric appliance | |
JPH01245322A (en) | Power failure control circuit for microprocessor | |
JP2990008B2 (en) | Processor self-diagnosis method | |
JPH04171516A (en) | Reset circuit | |
JPH08263177A (en) | Method and circuit for resetting cpu | |
JP4047408B2 (en) | Microcomputer reset discrimination device | |
JPH09237205A (en) | Program runaway detection device | |
JPH11183534A (en) | Detecting method for power source frequency | |
JPH1165891A (en) | Diagnostic system for watchdog circuit | |
JP2001331325A (en) | Initial startup device, its method and recording medium | |
JPH03157701A (en) | Power failure processing system for programmable controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060222 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061114 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061122 |
|
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: 20061219 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061226 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100112 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130112 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |