JP3909553B2 - Game machine - Google Patents
Game machine Download PDFInfo
- Publication number
- JP3909553B2 JP3909553B2 JP2000264427A JP2000264427A JP3909553B2 JP 3909553 B2 JP3909553 B2 JP 3909553B2 JP 2000264427 A JP2000264427 A JP 2000264427A JP 2000264427 A JP2000264427 A JP 2000264427A JP 3909553 B2 JP3909553 B2 JP 3909553B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- cpu
- output
- input
- data
- 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
Description
【0001】
【発明の属する技術分野】
CPUを含む制御回路によって遊技を制御される遊技機に関する。
【0002】
【従来の技術】
一般に、ぱちんこ機等の遊技機においてはコンピュータ制御が採り入れられており、遊技機の電源投入時から通常の遊技時に至るまで、コンピュータ制御に必要な信号の生成や入出力制御が行なわれている。このため、CPUの選定や生成信号の波形は、許認可制がとられている遊技機の所望の性能や、ゲーム性(遊技内容や趣向性)、及び、生産・ランニングコスト等の種々の要因を勘案して決定されている。
また、遊技機の制御においては、遊技者と遊技場との間の公平性や、遊技場の過酷な動作環境(塵埃や電気的ノイズ等)を考慮して、リセット制御が行なわれている。このリセット制御には、主に、遊技機の電源立上げ時のリセット制御(以下、パワーオンリセットという)と、遊技機の稼働中に定常的に実施されるリセット制御(ユーザーリセット)とがある。
前者のパワーオンリセットは、遊技場の毎日の開店前等に、営業開始に備えて行われる制御であり、通常の遊技制御に入る前に、遊技機の主電源投入に伴い、定常制御に備え、遊技機全体の制御データが初期化される。
一方、後者のユーザーリセットは、定常制御において短周期(例えば2ms毎)に繰り返し行われる制御であり、遊技の進行に応じて発生した必要なデータを残して、遊技の主制御が毎回初期状態に戻される。このユーザーリセットによって、遊技場内の過酷な動作環境において仮に遊技機の暴走が発生したとしても、短期で制御の初期状態に回復し、外乱により遊技への悪影響が及ぶことが防止される。
また、CPUへの信号の入出力設計は、CPU内部の動作を考慮して適切な時期に行なうことが必要である。つまり、例えばCPUが信号読込みの準備を整えていない状態で信号入力が行なわれても、CPUはその入力信号を適切に利用することができない。このような不具合を防止したCPUとして、読込み可能時に読込み可能信号を出力し、書込み可能時に書込み可能信号を出力して、周辺回路との信号入出力の時期の整合を図るものがある。
【0003】
【発明が解決しようとする課題】
ところで、電源投入時にCPUを初期化するシステムリセット(パワーオンリセットともいう)信号は、図14(2)を引用して示すように、遊技機への電源((1)にその電位状態を示す)が立ち上がってから安定するまでの一定時間T0の間、Lレベル(アクティブ)を持続し、その後Hレベル(インアクティブ)になる。このシステムリセット信号が、電源投入後、Lレベルにある際に、CPUが初期化される。しかし、実際には、この電源信号(1)とパワーオンリセット信号(2)との関係が設計通りにはCPUの動作状態に反映されず、一部の制御回路が電源信号の立ち上がり途中の中間電位で予定外の挙動を示すことがあった。
このような不具合は、開発段階において極く希に見られる現象であり、年間数百万台生産される遊技機の多くに発生するというものではないが、遊技結果に応じて遊技者に価値媒体が与えられる遊技機においては、遊技の公平性をより高め、公序良俗を害さないよう、所望の性能を安定して発揮させる必要がある。したがって、遊技機設計者の思想と異なる現象の発生は、可能な限り防止しなければならず、制御回路を設計思想通りに動作させるための何らかの策をとることが重要である。
また、CPUの信号入出力についても、単にCPUからの信号出力時に書込み可能信号を出力し、信号入力時期に読込み可能信号を出力したのでは、CPUや周辺の電子部品の特性が反映されず、CPUの動作が不安定となる惧れがある。
【0004】
本発明の目的は、制御動作をより安定化できる遊技機を提供することにある。
【0005】
【課題を解決するための手段】
遊技に係る制御を行なう制御装置を備えた遊技機において、遊技装置が、データ送信元となる1又は複数の送信元デバイスと、該送信元デバイスからデータバスを介してデータを受信する受信側CPUと、データバス上に設けられるとともに、データバスによる受信側CPUと送信元デバイスとの間の接続/非接続を受信側CPUからの切替指令信号に基づいて切り替える切替部と、受信側CPUとは別に設けられると共に、該受信側CPUと切替部との間に介在して、受信側CPUからの切替部への切替指令信号の送信タイミングを所定時間遅延させる切替指令信号送信タイミング遅延手段と、を備えることを特徴とする。
【0006】
このように構成すれば、CPUがバスインターフェースの入出力を切り換える際、リードライトの切り換え信号が入力ポートへ入力されるタイミングを、切替指令信号送信タイミング遅延手段により所定時間遅延させることができる。この結果、各種電子部品の特性に合わせて、リードライトの切り替え信号がCPUのバスインターフェースの入出力の切り換えに先行してしまうことを防止でき、入力ポートからのデータ入力前にインターフェースに存在した信号電位によってCPUが不正確なデータを読み込むことを回避できる。そして、データバスにおけるデータの衝突(いわゆるコンフリクト)を防止できる。
【0007】
CPUが、入出力切替タイミングと略同時に切替指令信号を出力するが、切替指令信号送信タイミング遅延手段はその切替指令信号を受信した後、所定時間遅延させて切替部に中継送信するようにすることができる。
つまりCPUは略一定のタイミングで切替指令信号を出力するため、それに対応した所定時間の遅延を信号出力に施すことで、入力ポートからCPUへのデータ入力のタイミングをばらつかせることなく安定した読み込みを実現できる。
また、この遅延のタイミングの創出に、CPUのクロックパルスを利用すれば、遅延回路の動作もCPUに同期するため、より確実な読み込み動作を行なうことができる。例えば、このようなクロックパルスによって動作する回路素子としてD型フリップフロップICなどが挙げられる。
【0008】
切替指令信号送信タイミング遅延手段をCPUの外部に形成することにより、CPUを変更することなく、安定した動作を得られる。つまり、遊技機においては、公平性や公序良俗の観点から、使用するCPUが限られており、遊技機製造業者が任意にCPUを選択或いは開発商品化することができない。
このため、切替指令信号送信タイミング遅延手段をCPUの外部に形成することで、規格購入品のCPUを利用することが可能となる。
【0009】
また、上記のような遅延回路あるいは遅延手段をCPU内部に備えることも考えられる。例えばバスインターフェースの入出力モード切り替えに対し、リード/ライト信号の出力タイミングを、システムクロックなどを元に所定時間遅らせるようなプログラムをROMに格納するようにすることもできる。
【0010】
【実施例】
以下、本発明の実施の形態を、第一種遊技機を例に取り、図面に示す実施例を参照して説明する。
図1は、本発明の遊技機1の正面図である。
遊技機1の前面部は、本体枠2と、中枠3と、前面枠4と、上皿部5と、下皿部6と、施錠装置7とから構成されている。本体枠2は、木製の板状体を略長方形の額縁状に組立て固着したものである。中枠3は、ほぼ全体がプラスチック製で、枠体部(図示略)と下板部(図示略)とを有して本体枠2の内周側に嵌合し取り付けられている。右端中央には施錠装置7が設けられ、その施錠装置7は、正面視すると鍵穴を備えた略長方形状を呈し、前面枠4を閉鎖した場合に施錠するためのものである。
【0011】
前面枠4は、全体がプラスチック製であり、遊技盤10を前方から視認するべく、遊技盤10に形成された遊技領域の形状に対応して上側が略円弧状を呈し、全体が略弾丸形状に開設された開口部4aを有している。そして、その裏面には、開口部4aに応じてガラス板が嵌められた略長方形状のガラス枠(図示略)が装着されている。また、この前面枠4は、遊技機1の前面全体の2/3のサイズを占め、中枠3の左端に軸着され開閉可能に形成されている。
【0012】
遊技盤10は略長方形の木製の板状体であって中枠3に保持され、後述する裏機構盤102(図2参照)にその背面側が覆われ、表面に設けられた外レールと内レールとにより略円形状の遊技領域が形成され、その遊技領域内には、特別図柄表示装置や変動入賞装置などの遊技にかかわる遊技装置が配設されている。
【0013】
ここで枠体部は、上端から下方へ中枠3全体の略2/3程度に略長方形の額縁状に形成され、上端部には、開口部4aの上端部の円弧部分に沿って枠飾りランプ4b、4c、4e、4hが設けられ、これらに対応して、枠飾りランプ基板4gが設置されている。それらの左側上方の中枠3には、賞球表示LED4i及び賞球表示LED基板4dが、右側上方にはストップ表示LED4j及びストップ表示LED基板4fが設けられている。
【0014】
また、下板部は、下端から上方へ中枠3全体の略1/3程度を占め、左側には、上皿部5に形成されたスピーカ面5aに対応すべく、遊技状態に応じた効果音その他の音声情報を発生させるスピーカー(図示略)が配設され、略右側には、遊技球を発射する発射装置ユニット8(図2参照)に対し、上皿部5に貯留された遊技球を供給する供給装置等(図示略)が設けられている。さらに、下方には下皿部6が設けられている。
【0015】
下皿部6は、灰皿や玉抜きレバー等を備えて、遊技機1の内部から遊技球を排出するための排出口6aが開設され、右端に発射装置ユニット8(図2参照)を操作する発射ハンドル9が設けられている。また、この発射ハンドル9には、遊技者がタッチしていることを検出するタッチスイッチ9aが装着され、その近傍には、発射停止を一時的に指令する発射停止スイッチ9bが配置されている。
【0016】
上皿部5は、前面枠4の下側で、中枠3の左端に軸着され開閉可能に形成されている。皿外縁部5bには、玉抜きボタンや遊技球の貸出・返却ボタン等が配設されている。また遊技機1の内部から遊技球を排出するための排出口5cが開設されている。左端には、複数の長孔を有するスピーカ面5aが形成され、その裏面には、音量スイッチ基板(図示略)が設けられている。遊技機1の左端側には、プリペイドカードユニット13が装着されている。遊技盤10は中枠3の表面側に着脱可能に取り付けられている。
【0017】
次に、本実施例の遊技機1の裏面構造について図2を参照して説明する。
前面枠4は中枠3にあって、前面枠4の上下端の位置に設けられた一対のヒンジ101により、開閉可能に支持されている。機構盤102は中枠3にあって機構盤102の上下端の位置に設けられた一対のヒンジ103により、開閉可能に支持されている。上端側にあるヒンジ101の配設位置からみて左側には、タンク球切れ検知スイッチ104をタンク底部に備えた賞球タンク105と、この賞球タンク105に接続されるタンクレール106とが取り付けられている。また、タンクレール106の右側には、球抜きレバー107が設けられ、その下流側には、補給球切れ検知スイッチ108が、さらに、その下流側には、賞球払出装置109が配設されている。
【0018】
続いて、遊技球の振り分け部110が賞球払出装置109の下流側に設けられている。タンクレール106の下側には、図示しない表示制御部を収納した蓋付きの裏ケース111が、この裏ケース111の下側には、後述する主制御基板100が収納された主制御基板ケース112がそれぞれ脱着可能に設けられている。主制御基板ケース112の左側には、発射装置制御基板(図示略)を格納した発射装置制御基板ケース113、タッチ感度調整つまみ114、球飛び強弱調整つまみ115及び発射制御集合中継基板116が設けられている。機構盤102の左下方部には、上述した発射装置ユニット8が、同じく右下方部には、補給球詰まり、下皿部満タン、主電源電圧異常、発射停止、主制御基板通信異常、賞球モータ異常などを7セグメントLEDで表示する枠状態表示器117を備えた枠制御部(図示略)を収納した枠制御基板ケース118が設けられている。
【0019】
一方、機構盤102の右上端部には、ヒューズボックス119、電源スイッチ120、電源ターミナル基板121及び大当り、発射装置制御、球切れ、扉開放、賞球、球貸し用等の遊技機枠用外部接続端子を備えた端子基板122が設けられている。また、外部からの電力の供給を受けるための電源ケーブル123も端子基板122の下側に配設されている。枠制御基板ケース118からは接続ケーブル124が上方へ延出し、電源ケーブル125を備えたプリペイドカードユニット13に接続されている。また、機構盤102の略中央下端部には、下皿部用球通路部材126が設けられている。
【0020】
次に主制御基板100について、図3以下に基づいて説明する。
主制御基板100には、CPU201を含む主回路部200と、入出力回路部300とが形成されている(図3参照)。以下に、主回路部200及び入出力回路部300とを順に説明する。
【0021】
主回路部200は、図3に示すように、CPU201、発振部210、リセット回路部250、第1外部入力回路部230、I/Oデコード回路部220、及びデータバス安定化部211を有している。
これらのうちCPU201は、図4に示すように、CPUコア280、内蔵RAM281、内蔵ROM282、メモリ制御回路283、クロック発生器284、アドレスデコーダ285、ウオッチドッグタイマ286、カウンタ/タイマ287、パラレル入出力ポート288、リセット/割り込みコントローラ289、外部バスインターフェース290、出力制御回路291を備える。
【0022】
図5に示すように、発振部210は水晶発振モジュール204を備えている。また、同じく図5に示すように、リセット回路部250は、初期化リセット信号生成部212(電源投入時用初期化信号生成部)と、ユーザリセット信号生成部213(定常制御用初期化信号生成部)とを有している。初期化リセット信号生成部212は、汎用初期化リセット信号生成部218(汎用初期化信号生成部)と、CPU用初期化リセット信号生成部214(電子部品用初期化信号生成部)とが備えられている。
これらのうち、初期化リセット信号生成部212の汎用初期化リセット信号生成部218は、電源入力コネクタ245、リセット入力保護抵抗251、シュミットトリガインバータIC252、254、ローパス(LP)フィルタ回路253、NANDゲート255、NORゲートIC258、及び、カウンタIC256,257により構成される。
また、CPU用初期化リセット信号生成部214は、フリップフロップIC267、シュミットトリガインバータIC259、カウンタIC260、及びNORゲートIC261により構成される。
さらに、ユーザリセット信号生成部213はフリップフロップ回路部262、カウンタIC263、シュミットトリガインバータ264、266、カウンタIC265により構成される。
【0023】
図7に示すように、第1外部入力回路部230は、入力コネクタ部240、スイッチドライバ232、信号整合部233、標準化信号安定化部234及び抵抗アレー231を有している。
入力コネクタ部240は、枠用コネクタ241と遊技盤用コネクタである第1特別図柄始動スイッチ用コネクタ242、第2特別図柄始動スイッチ用コネクタ243及び普通図柄始動スイッチ用コネクタ244を有している。
標準化信号安定化部234は複数の抵抗により構成され、信号整合部233は複数の抵抗とコンデンサとにより構成される。
【0024】
図6に示すように、I/Oデコード回路部220は、デバイス選択信号生成部215、ゲート信号生成部216を有している。デバイス選択信号生成部215は、NORゲートIC222、デコーダIC223,224及び、抵抗アレー221、228を備える。また、切替指令信号送信タイミング遅延手段を構成するゲート信号生成部216は、NORゲートIC225、NANDゲートIC226、フリップフロップIC227、抵抗アレー229及びシュミットトリガインバータ205を備えている。
同じく図6に示すように、データバス安定化部211は、抵抗アレー203とバッファIC202を有している。
【0025】
次に、主回路部200のCPU201及び各回路部の機能を説明する。
図5等に示すCPU201の各端子は、以下のように分類される。
(1)アドレス部
A0〜A15:16ビットアドレスバス出力端子。
(2)データ部
D0〜D7:8ビットの双方向性データバス端子。
(3)システム制御部
XM1:マシンサイクル1を示す信号の出力端子。
XMREQ:メモリ空間へのリクエスト信号の出力端子。
XIORQ:I/O空間への入出力リクエスト信号の出力端子。
XWR:データバスがライトサイクルであることを示す信号の出力端子。
XRD:データバスがリードサイクルであることを示す信号の出力端子。
XRFSH:リフレッシュ信号の出力端子。
(4)CPU制御部
XHALT:ホールト信号の出力端子。
XINT:マスカブル割り込み要求信号の入力端子。
XNMI:マスク不可能な割り込み要求信号の入力端子。
XSRST:システムリセット信号の入力端子。
XSRSTO:システムリセット信号の出力端子。
XURST:ユーザーリセット信号の入力端子。
IEO/SCLKO:デージーチェーン信号、分周クロックの兼用出力端子。
PRG:CPUをPROMモードに設定する入力端子。
MODE:CPUの動作モードの状態を示す出力端子。
(5)I/O部
CLK/TRG2・CLK/TRG3:外部クロック/タイマトリガ信号の入力端子。
ZC/TO0・ZC/TO1:内蔵CTC信号の出力端子。
PA0〜PA7:8ビットのパラレルI/O端子。
PB0/XCSIO0〜PB3/XCSIO3:4ビットのパラレルI/Oポート、外部デバイスのチップセレクト用の兼用端子。
(6)クロック部
EXTAL1・EXTAL2:水晶振動子接続端子。
CLKO:システムクロック信号の出力端子。EXTAL1/EXTAL2端子の入力信号周波数を1/2分周して得られたデューティ50%の方形波が出力される。
(7)電源部
VDD1・2:電源(+5V)端子。
VSS1・2:電源(GND)端子。
VBB:内蔵RAMのバックアップ端子。
(8)その他
NC:ノンコネクション端子。
【0026】
このCPU201は、図4に示す内蔵ROM282に書き込まれたプログラムに基づき、内蔵RAM281をワークエリアとして使用する。なおCPU201は、電源遮断時において、内蔵RAM281の内容をVBB端子に接続された電圧保持部により保持するRAMバックアップ機能と、プログラム認証機能及び指定エリア外プログラム実行禁止機能などの不正防止機能を備えている。
プログラム認証機能とは、電源投入時にCPU201を初期化するための初期化信号が入力された際に、プログラムを基に計算された認証コードが正しいかどうかのチェックを行い、認証コードが正しくない場合はプログラムの実行を停止する機能である。また、指定エリア外プログラム実行禁止機能とは、予め定められたアドレス範囲外でのプログラムの実行を禁止する機能である。
【0027】
CPU201においては、暴走防止のため、一定周期で割込みリセットが行われる。暴走の原因としては、過剰なノイズの侵入等が挙げられる。
また、本実施例のCPU201においては、I/OマップドI/O方式のデコードが行われており、XIORQ端子が使用され、XMREQ端子は使用されない。しかし、デコードにメモリマップドI/O方式を採用し、XMREQ端子を使用することも可能である。
【0028】
図5に示す発振部210の水晶発振モジュール204は、CPU201の動作クロック信号を出力している。この動作クロック信号は、CPU201のEXTAL1端子に入力される。
なお、水晶発振モジュール204の代わりに水晶発振子を用い、この水晶発振子をEXTAL1・2端子の間に接続し、CPU201のクロック発生器284(図4参照)による発振クロックの生成も可能である。しかし、本実施例では、水晶発振モジュール204を用い、それをCPU201のEXTAL1端子に接続しているので、水晶発振子とクロック発生回路との整合を図る必要がない。
【0029】
同じく図5に示すリセット回路部250においては、汎用初期化リセット信号生成部218にて汎用初期化リセット信号が生成され、ユーザーリセット信号生成部213にてユーザーリセット信号が生成される。
汎用初期化リセット信号生成部218は、外部から電源入力コネクタ245を介して入力されたシステムリセット信号(パワーオンリセット信号とも称する)に基づき、汎用初期化リセット信号をCPU用初期化リセット信号生成部214や後述する出力ポート400(図12参照)のフリップフロップIC311〜361のClear端子に出力し、これを初期化する。
【0030】
CPU用初期化リセット信号生成部214は、外部から外部入力コネクタ245を介して入力されたシステムリセット信号に基づき、CPU201のXSRT端子にCPU用初期化リセット信号を出力する。CPU用初期化リセット信号は、CPU201の電源安定が行われた時点で、一定時間Hレベルを維持し、その後一旦Lレベルとなってから、更にHレベルに変化するパルス信号である。このCPU用初期化リセット信号が生成されることで、CPU201においては、電源信号に影響されずに、電源投入時の初期化が確実に行われる。
なお、このCPU用初期化リセット信号生成部214の更なる詳細な機能については、後述する。
【0031】
ユーザーリセット信号生成部213は、CPU201のXM1端子の出力信号とシステムリセット信号を基に、CPU201のXURST端子にユーザーリセット信号を出力する。つまり、ユーザーリセット信号生成部213は、CPU201のXM1端子の出力信号がLレベルとなるのを切っ掛けとしてカウント動作を行い、CPU201に一定周期のパルス信号であるユーザーリセット信号を供給する。
【0032】
次に、CPU用初期化リセット信号生成部214の機能を、図13〜図15を用いて、更に詳細に説明する。また、CPU用初期化リセット信号生成部214への入力信号の生成についても併せて説明する。
まず、システムリセット信号(図15(1))が立ち下がってアクティブになるとカウンタIC256,257のへのクロック信号が分周され、システムリセット信号(同(1))の変化から所定時間(T1)遅れて、カウンタIC256の出力信号(同(2))が、Hアクティブの信号として立ち上がる。
カウンタIC257の出力信号はシュミットトリガインバータIC259へ送られ、シュミットトリガIC259からNORゲートIC261への出力信号(同(3))はLに変化する。
【0033】
この一方で、タイマIC256の出力信号(同(2))は、フリップフロップIC267のクリア端子(CLR)に入力される。フリップフロップIC267は、発振部210からのクロック入力に基づいて、後段のカウンタIC260のEnable入力信号を生成し、後段のカウンタIC260は、その出力信号(同(4))に、カウンタIC257の出力信号(同(2))に対し所定時間(T2)遅れて立ち上がり、更に所定時間(T3)後に立ち下がるパルスを与える。
NORゲートIC261は、シュミットトリガインバータIC259の出力信号(同(3))と、カウンタIC260のQ2B端子からの出力信号(同(4))との論理和の否定をとる。
つまり、シュミットトリガインバータIC259の出力信号(同(3))が立ち下がった際、カウンタIC260の出力信号(同(4))はLレベルを維持しているので、NORゲートIC261の出力信号(同(5))はHレベルに変化する(第1の変化形態を示す)。さらに、カウンタIC260の出力信号(同(4))がHレベルに変化するのに伴い、NORゲートIC261の出力信号(同(5))は、Lレベルに変化する(第2の変化形態を示す)。また、カウンタIC260の出力信号(同(4))が再びHレベルに変化するのに伴い、NORゲートIC261の出力信号(同(5))が再度Hレベルに変化する。
【0034】
また、本実施例においては、前記所定時間T1〜T3は、T1=349.9ms,T2=T3=667nsに設定されている。
【0035】
図7に示す第1外部入力回路部230は、CPU201から要求された球検知スイッチ類の信号をCPU201に送信する。つまり、第1外部入力回路部230には、入力コネクタ部240を介して各種スイッチ群が接続されており、CPU201がスイッチ状態読込みの際に、各スイッチの状態が、スイッチドライバ232のO1〜O5端子とVO端子とからCPU201へ送られる。
なお、本実施例では、対応付けられた球検知スイッチ類の個数に合せて、スイッチドライバ232の6つの出力端子(O1〜O5端子、VO端子)が使用されている。これら6つの端子は、CPU201で割当てられた6つのポート(PA0〜PA5)に個々に対応している。
なお、本実施例では、抵抗アレー231により、PA0〜PA5端子のインピーダンスが低減され、外来ノイズ等の影響が抑制されている。
【0036】
また、入力コネクタ部240からの信号は、スイッチドライバ232の内部回路と標準化信号安定化部234と信号整合部233との組み合わせによりノイズ除去される。さらに、信号整合部においては、電圧調整もなされる。
これは、入力コネクタ部240に繋がるスイッチ類のうち、送信先が分岐しているものがあり、主制御基板100以外にも検知信号が送られていることに基づく。つまり、そのスイッチに係る回路系の負荷は他のスイッチに比べて大きいため、その信号の特性は他の信号と異なる。このため、該当する信号線上に信号整合部233を設けて、他の信号との整合を図っている。なお、信号整合部233の出力信号はスイッチドライバ232のV1端子に入力される。
【0037】
図6に示すI/Oデコード回路部220は、CPU201からのアドレス信号を復号して、デバイス選択信号(CS0〜CS6)とゲート信号(G)とを入出力回路部300(後述する)へ出力する。デバイス選択信号(CS0〜CS6)は、外部装置(後述する)を選択する信号であり、ゲート信号は、デバイス選択信号(CS6)を有効化する信号である。
デバイス選択信号(CS0〜CS6)は、出力用デバイス選択信号(CS0〜CS5)と入力用デバイス選択信号(CS6)に区別される。
PB0/XCSIO0端子の範囲アドレス(上位)が指定されるとPB0/XCSIO0端子から信号出力があり、A0〜A4端子からアドレス信号(下位)が出力される。該アドレス信号はNORゲートIC222及びデコーダIC223にて出力用デバイス選択信号(CS0〜CS5)にデコードされる。CPU201のD0〜D7端子の出力信号がデータバスを介して入出力回路部300に出力される際には、出力用デバイス選択信号(CS0〜CS5)が図9に示す出力ポート400に送信され、フリップフロップIC311〜361の1D〜8D端子に入力される。一方、アドレス信号はI/Oデコード回路部にて出力用デバイス選択信号(CS0〜CS5)に変換され、これも出力ポート400に送信され、対応するフリップフロップICのclock端子に入力される。
【0038】
また本実施例では、抵抗アレー221、228、229により、入力端子側のインピーダンスが低減され、それぞれデバイス選択信号生成部の生成する出力選択信号、入力選択信号、ゲート信号生成部216の生成するゲート信号への外来ノイズ等の影響が抑制されている。
さらに、本実施例では、データバス(OD,D)が2経路に別れている。これは、CPU201とフリップフロップIC311〜361の間の負荷容量によるものであり、2経路に分ける必要がない回路構成としてもよい。
【0039】
CPU201が入出力回路部300へのデータの書き込みを行なう場合、PB0/XCSIO0端子の範囲アドレスが指定され、及びA0〜A4端子からアドレス信号が出力される。該アドレス信号はNORゲートIC222及びデコーダIC223にて出力用デバイス選択信号(CS0〜CS5)にデコードされ、デコーダIC223から出力される。CPU201のD0〜D7端子の出力信号がデータバスを介して入出力回路部300へ出力される際には、出力用デバイス選択信号(CS0〜CS5)が図12に示す出力ポート400に送信され、フリップフロップIC311〜361の1D〜8D端子に入力される。一方、アドレス信号はI/Oデコード回路部にて出力用デバイス選択信号(CS0〜CS5)に変換され、これも出力ポート400に送信され、対応するフリップフロップICのclock端子に入力される。
【0040】
切替指令信号として形成される入力用デバイス選択信号(CS6)は、A0〜A4端子から予め定めたアドレス出力があり、かつPB1/XCSIO1端子から出力があった場合に、NORゲートIC222とデコーダIC224により形成され、デコーダIC224からバッファIC371(図16参照)へ出力される。
またゲート信号生成部216において、水晶発振モジュール204から出力されている発振クロックと、CPU201のXRD端子とXIORQ端子の出力信号に基づき、ゲート信号(G)が生成され、これもバッファIC371へ出力される。
【0041】
次に、I/Oデコード回路部220のゲート信号生成部216について説明する。
受信側CPUとして、CPU201が、入出力回路部300に接続された送信元デバイスとしての外部装置から、データバスを介してデータ読み込みを行なう場合、図16に示すように、PB1/XCSIO1端子から出力がなされ、A0〜A4端子から予め定めたアドレス信号が出力される。該アドレス信号はNORゲートIC222及びデコーダIC224にて入力用デバイス選択信号(CS6)にデコードされ、デコーダIC224から切替部であるバッファIC371へ出力される。
一方、CPU201はデータバスインターフェースの入出力モード変換と併せて、アドレス信号出力と略同時にXRD端子からのリード信号とXIORQ端子からの読み込み指定信号を送出する。リード信号と読みこみ指定信号はNORゲートIC225からNANDゲートIC226及びフリップフロップIC227へ入力される。NANDゲートIC226はNORゲートIC225とフリップフロップIC227の出力がHになるとバッファIC371にアクティブ信号(L)を出力する。
【0042】
図17(a)は、図16中に示す、CPU201からのクロックパルス(CLKO)をシュミットトリガインバータIC205によって反転した信号(0)、NORゲートIC225からの出力信号(1)、フリップフロップIC227の2Q端子からの出力信号(2)及びNANDゲートIC226からの出力信号(3)を示すタイミングチャートである。
初期状態では、フリップフロップIC227の2D端子はLとなっているため、CPU201のCLKO端子からシステムクロックが出力されても2Q端子から出力される信号はLであり、従ってNANDゲートIC226からのゲート信号はHとなっている。このためバッファIC371はアクティブにならない。
CPU201が入力モードを実行すると、XRD端子及びXIORQ端子の出力がアクティブとなって、NORゲートIC225の出力信号(1)がHとなり、フリップフロップIC227の2D端子がHとなる。ここでシュミットトリガインバータ205の出力信号(0)の立ち上がりを検知すると、フリップフロップIC227の2Q端子からHレベルが出力される(2)。
これにより、XRD信号を直接バッファIC371に入力する場合と比べて、フリップフロップIC227の2D端子へのHレベル信号が入力されてから、クロック入力によって該フリップフロップIC227の2Q端子からHレベル信号が出力されるまでの時間の差t1だけバッファIC371への信号入力が遅れ、これが少なくとも予め定められた遅延時間(例えば8ns)を超えるように構成されている。
またNORゲートIC225の出力信号(1)はXRD端子及びXIORQ端子からの出力がLである間はHを維持するので、XRD端子及びXIORQ端子がアクティブである限り、バッファIC371は入力モードとなる。本実施例においては、XRD端子及びXIORQ端子からの出力は、シュミットトリガIC205から出力されるパルスの2.5パルス分、言いかえればシステムクロック2.5クロック分の時間を継続して出力するものとなっている。
再度CPU201が出力モードに切り替える際は、XWR端子やPB0/XCSIO0端子をアクティブにし、データバスを出力モードにすると同時にXRD及びXIORQ端子をノンアクティブにする。これによりNANDゲートIC226からの出力はHになるためバッファIC371がオープンとなり入力はなされなくなる。この時、出力ポート400の各フリップフロップIC311〜361のCPU側端子はハイインピーダンスであるため、遷移状態にあるCPU201のバスインターフェースに残存する電位は降下する。
【0043】
なお、図17(b)に示すように、回路中を信号が伝播するにあたって、伝播速度や信号検知を認識する閾値を超えるまでの過渡時間などによる物理的な要素を原因とする遅延時間(t2,t3,t4)が存在するため、遅延時間t1は図17(a)に示すものより長くなる。また、これら物理的な要素を原因とする遅延時間(t2,t3,t4)の影響で、本発明の遅延回路を組込むことがなくとも誤動作なく稼動する可能性はあるが、それは稼動状況や環境などの要素に左右されるものである。しかし、上記のような遅延回路を設けることで、確実に誤動作を避けるための信号伝達の遅延時間を確保することができる。
また、ゲート信号生成部216に遅延回路を設けるのでなく、例えばデコーダIC224からバッファIC371へ出力されるチップセレクト信号(CS6)の信号線上に、該チップセレクト信号をラッチし、システムクロックの入力で動作するD型フリップフロップICなどを設けることでバッファIC371のCPU側出力を遅延させるようにしても良い。
【0044】
データバス安定化部211はCPU201と入出力回路部300を接続するデータバスの信号を安定させる。抵抗アレー203はインピーダンスを低減することでバスにはいるノイズを軽減し、バッファ202は2経路に別れたデータバスのうち、賞球、ランプ、表示及び音声の各コマンド出力回路部(310〜340)へのバス(OD)の出力信号(OD0〜OD7)を増幅する。
【0045】
次に、入出力回路部300について説明する。
図3に示すように、入出力回路部300には、賞球コマンド出力回路部310、ランプコマンド出力回路部320、表示コマンド出力回路部330、音声コマンド出力回路部340、ソレノイド駆動回路部350及びLED駆動・情報出力回路部360と、入力を行なう第2入力回路部370が備えられている。
【0046】
上述の各回路部310〜370のうち、賞球コマンド出力回路部310,ランプコマンド出力回路部320,表示コマンド出力回路部330,音声コマンド出力回路部340は、いずれも同様な回路構成を有している。したがって、本実施例では図面が冗長になるのを避けるため、賞球コマンド出力回路部310のみを図示し(図10)、その他の回路部320〜340については、図10に符号を括弧書するのみとして、これらの図示を省略する。
つまり、各出力回路部310,320,330,340は、各々フリップフロップIC311,321,331,341と、バッファIC312,322,332,342と、ストローブ信号線バッファIC313,323,333,343と接続コネクタ314,324,334,344とを有している。
【0047】
図9に示すように、ソレノイド駆動回路部350は、フリップフロップIC351と、3つのランプ・ソレノイドドライバ352〜354と、そのランプ・ソレノイドドライバのDrain端子に対しそれぞれ並列に接続されたフリーホイールダイオード355と、入出力コネクタ356とを備えている。
【0048】
図10に示すように、LED駆動・情報出力回路部360は、フリップフロップIC361、トランジスタアレイ362、ランプ・ソレノイドドライバ363、継電部365、電力調整部364、入出力コネクタ356、情報出力コネクタ366を有し、またフリップフロップIC351もその構成の一部を担っている。継電部365には2つのリレー367、368が備えられ、電力調整部364には10個の抵抗R4〜R13が備えられている。
【0049】
図11に示すように、第2外部入力回路部370は、バッファIC371、スイッチドライバ372、抵抗アレー373、電力調整部374、入出力コネクタ356を有している。電力調整部374には、6つの抵抗R21〜R26が備えられている。
【0050】
また、図12に示すように、賞球コマンド出力回路部310、ランプコマンド出力回路部320、表示コマンド出力回路部330、音声コマンド出力回路部340、ソレノイド駆動回路部350及びLED駆動・情報出力回路部360のフリップフロップIC311,321,331,341,351,361は、出力ポート回路部400を構成している。そして、この出力ポート回路部400には6つの出力ポートが形成されている。
【0051】
次に、入出力回路部300の各回路部310〜370について、その機能を説明する。
図9に示す出力ポート回路部400においては、主回路部200からのデータ(OD,D)、デバイス選択信号(CS0〜CS5)、及びクリア信号(CLR)が入力される。また、出力ポート回路部400の各ポートには外部装置が割り当てられている。外部装置としては、賞球装置、ランプ装置、表示装置、音声装置、ソレノイド装置、LED装置、及びホールコンピュータ等が挙げられる。
データ(OD)は、フリップフロップIC311〜361の1D〜8D端子に入力される。デバイス選択信号(CS0〜CS5)は、対応するフリップフロップIC311〜361のclock端子に入力される。デバイス選択信号(CS0〜CS5)により選択されたフリップフロップIC311〜361においては、主回路部200からのデータ(OD,D)が1D〜8D端子に入力され、デバイス選択信号(CS0〜CS5)の立ち上がりエッジのタイミングで、1Q〜8Q端子からデータが出力される。
また、この出力ポート回路部400においては、遊技機1への電源投入時に、前述の汎用初期化リセット信号部212からの初期化リセット信号により、フリップフロップIC311、321、331、341、351、361は初期化される。
【0052】
図8に示す各種のコマンド出力回路部310〜340は、後段の外部装置である賞球装置、ランプ装置、表示装置、音声装置にコマンドデータを送信する回路部であり、デバイス選択信号がCS0〜CS3であった場合、それぞれ対応するコマンド出力回路部310〜340のフリップフロップIC311〜341から出力されたコマンドデータは、バッファIC312,322,332,342のA1〜A8端子に入力され、ドライブ能力を増強されて、各回路のコネクタ314〜344を介して接続されたそれぞれ対応する外部装置に、後述するフリップフロップIC351から送信されたストローブ信号とともに出力される。また、各バッファIC及びストローブ信号線バッファのアウトプットイネーブル端子G1、G2は接地され、そのドライブ能力を増強されている。
なお、各種コマンド出力回路部310〜340で扱われる制御信号は、データ8ビット、ストローブ1ビットの合計9ビットであるが、データビット数は接続する賞球装置によっては変更される場合もある。
【0053】
図9に示すソレノイド駆動回路部350は、デバイス選択信号(CS4)により選択され、遊技状態に合わせて外部装置であるソレノイド装置を駆動する回路部である。
ソレノイド駆動回路部350においては、ランプ・ソレノイドドライバ352〜354がソレノイドに対応付けられている。そして、フリップフロップIC351は、5Q〜7Q端子から対応するランプ・ソレノイドドライバ352〜354へ、Hレベルを入力する。さらに、フリップフロップIC351からランプ・ソレノイドドライバ352〜354のIN端子への入力信号がHレベルの場合に、ランプ・ソレノイドドライバ352〜354がソレノイド装置を駆動する。
また、フリップフロップIC351は、コマンド出力回路部310〜340へストローブ信号を送信するストローブ信号発生部としても機能する。すなわち、図10に示すように、フリップフロップIC351は、1Q〜4Q端子からの出力信号を対応するコマンド出力回路部310〜340のストローブ信号バッファIC313〜343に、ストローブ信号として送信する。
【0054】
フリーホイールダイオード355は、高速スイッチング動作時の負荷電流を持続させる働きによって、ランプ・ソレノイドドライバ352〜354の出力信号がHレベルからLレベルへ切り換わる際に、持続電流を還流させる。
なお、ランプ・ソレノイドドライバ352〜354の代わりに、例えば、トランジスタ、FETを使用してソレノイドを駆動することも可能である。
【0055】
図10に示すLED駆動・情報出力回路部360は、普通図柄LEDの駆動や、ホールコンピュータ等への外部情報出力に使用される。普通図柄LEDには2ビットが割当てられ、外部情報出力には6ビットが割り当てられている。
デバイス選択信号が、CS5であった場合、LED駆動・情報出力回路部360のフリップフロップIC361から出力されたデータは、トランジスタアレイ362のI1〜I8端子へ入力される。そしてこの入力がI1、I2であれば、CPU201の当否判定に基づく普通図柄LEDの駆動信号であり、トランジスタアレイ362がスイッチング動作を行なうとともに、その出力(O1,O2)によって入出力コネクタ356を介して接続されたLEDが駆動される。入力I3〜I7は図柄確定回数情報等の外部情報出力の信号であり、トランジスタアレイ362が同様にスイッチング動作を行ない、入出力コネクタ356から出力する。また入力I8も外部情報出力であり、トランジスタアレイ362によってスイッチングされ、継電部365のリレーを介して接続コネクタ366から出力される。
なおそのLEDへの駆動電流や外部出力の信号電流は、保護抵抗部364の各信号線毎に備えられた抵抗R4〜R13により制限され、過電流が流れるのを防止されている。
【0056】
普通図柄LED駆動部においては、普通図柄当否判定の結果を報知するデータ(D0、D1)が、トランジスタアレイ362のI1、I2端子へ入力される。これによりトランジスタアレイ362がスイッチング動作を行いコネクタ356から普通図柄LEDに出力される。なお、保護抵抗部374のR4、R5により普通図柄LEDへの駆動電流は制限されている。
【0057】
外部情報出力部においては、CPU201からフリップフロップIC361に外部情報データが入力されると、トランジスタアレイ362がスイッチング動作を行い、外部情報データとして図柄確定回数情報、ゲート情報、始動口情報、確率変動(変動短縮)情報、大当り情報、賞球情報等の複数種類の情報が出力される。
CPU201からフリップフロップIC351の8D端子、フリップフロップIC361の8D端子に入力があると、トランジスタアレイ362及びランプ・ソレノイドドライバ363がスイッチング動作を行う。さらに、トランジスタアレイ362、ランプ・ソレノイドドライバ363を使用した電圧レベルでの出力信号と、リレー365を使用した接点のON・OFFによる接点出力信号の2種類の信号形態が生成される。なお、保護抵抗部374のR6〜R13は電流を制限し、過電流の発生を防いでいる。
【0058】
図11に示す第2入力回路部370は、各種スイッチの状態をCPU201のデータバス(D0〜D5)へ入力する回路部であり、使用するデータバス(D0〜D5)の信号線数は、接続されているスイッチの数に対応している。
接続コネクタ356に検知信号を受信すると、電力調整部374の各信号線毎に設けられた抵抗R21〜R26でノイズ除去と電圧調整がなされて、スイッチドライバ372に入力される(I1〜I6)。これらの信号はスイッチドライバ372の出力端子O1〜O6からバッファIC371に入力される。
【0059】
ここでCPU201によるスイッチ状態の読込みが指示されると、デバイス選択信号生成部215の生成するデバイス選択信号(CS6)がG1端子に入力されてバッファIC371が選択されるとともに、ゲート信号生成部216からデータバスの入出力方向の反転を指示するゲート信号(G)がG2端子に入力される。該デバイス選択信号(CS6)及びゲート信号(G)を受信したバッファIC371は、スイッチドライバ372から入力された信号を増幅してデータバス(D)へ入力する。そしてスイッチドライバ372の出力信号がバッファIC371に読込まれ、増幅されてデータバス(D)を介してCPU201へ入力される。
また、スイッチドライバ372は、短絡検知機能を備えており、I1、I2端子に接続されているスイッチが短絡状態になると、その出力信号がHレベルからLレベルに変化し、同様にCPU201のデータバスに送信され、これを受信するとCPU201はエラー処理を実行し遊技制御を停止する。
なお、スイッチドライバ372への入力信号に対しては、電力調整部374によりノイズ除去と電圧調整とがなされる。
また、抵抗アレー373は、バッファIC371のA1〜A8端子のインピーダンスを低くして外来ノイズ等の影響を抑制している。
【0060】
以上説明したように、データ送信元となる1又は複数の外部装置と接続可能であり、該外部装置からデータバスを介してデータを受信する受信側CPU201と、CPU201と外部装置との間の接続/非接続をCPU201からの切替指令信号に基づいて切り替えるバッファIC371と、CPU201とは別に設けられると共に、CPU201とバッファIC371との間に介在して、CPU201からの切替指令信号のバッファ371への送信タイミングを所定時間遅延させるゲート信号生成部216とを備えたので、各種電子部品の特性に合わせて、データバスにおけるデータの衝突を防止できる。
データの衝突は、CPU201からの読込み或は書き込み信号の送信タイミングと、CPU201における読込み或は書込み可能状態の遷移完了タイミングとの相違をその要因とするが、切替指令信号のバッファ371への送信タイミングは、CPU201における読込み或は書込み可能状態の遷移完了タイミングに対し、同時或はその後となることが好ましい。しかし、CPU201における読込み或は書込み可能状態の遷移完了タイミングは、CPU201の種別や遊技状態に応じて相違する場合も考えられるため、送信タイミングが遷移完了タイミングの前となることも起こり得る。そこで、本実施例のように、CPU201からの切替指令信号のバッファ371への送信タイミングを所定時間遅延させるゲート信号生成部216を設けることにより、送信タイミングと遷移完了タイミングとが積極的に且つ可能な限り近付けられ、例えば遊技状態等の相違に関わらず、CPU201に安定したデータ読込み或は書込みを行なわせることができる。
【図面の簡単な説明】
【図1】本発明の一実施例の遊技機の正面図。
【図2】遊技機の裏面図。
【図3】主制御基板のブロック図。
【図4】主制御基板に用いられるCPU内部のブロック図
【図5】リセット回路部とCPUとの接続状態を示す回路図。
【図6】I/Oデコード回路部とCPUとの接続状態を示す回路図。
【図7】第一入力回路部とCPUとの接続状態を示す回路図。
【図8】コマンド出力回路部を示す回路図。
【図9】ソレノイド駆動回路部を示す回路図。
【図10】LED駆動・情報出力回路部を示す回路図。
【図11】第2入力回路部を示す回路図。
【図12】出力ポート部を示す回路図。
【図13】CPUリセット回路部を示す回路図。
【図14】主電源信号(1)、システムリセット信号(2)、CPU初期化リセット信号(3)を示すタイミングチャート
【図15】CPU初期化リセット信号(5)と、その生成に用いられる各種信号(1)〜(4)を示すタイミングチャート。
【図16】I/Oデコード回路部とその周辺部とN要部回路図。
【図17】ゲート信号生成部の各部の出力信号を示すタイミングチャート。
【符号の説明】
1 遊技機
100 主制御基板
201 CPU
216 ゲート信号生成部
224 デコーダIC
225 NORゲートIC
226 NANDゲートIC
227 フリップフロップIC
371 バッファIC[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a gaming machine whose game is controlled by a control circuit including a CPU.
[0002]
[Prior art]
In general, gaming machines such as pachinko machines adopt computer control, and signal generation and input / output control necessary for computer control are performed from when the gaming machine is turned on until normal gaming. For this reason, the selection of the CPU and the waveform of the generated signal depend on various factors such as the desired performance of the gaming machine for which the authorization system is adopted, game characteristics (game contents and preferences), and production / running costs. Decided by taking into account.
Further, in the control of the gaming machine, reset control is performed in consideration of fairness between the player and the game hall and a severe operating environment (dust, electrical noise, etc.) of the game hall. This reset control mainly includes a reset control at the time of power-on of the gaming machine (hereinafter referred to as a power-on reset) and a reset control (user reset) that is regularly performed while the gaming machine is in operation. .
The former power-on reset is a control that is performed in preparation for the start of business, such as before the daily opening of the amusement hall, and in preparation for steady control as the main power of the gaming machine is turned on before entering the normal game control. The control data for the entire gaming machine is initialized.
On the other hand, the latter user reset is a control that is repeatedly performed in a short cycle (for example, every 2 ms) in the steady control, and the main control of the game is returned to the initial state every time leaving necessary data generated according to the progress of the game. Returned. By this user reset, even if the gaming machine runs away in a severe operating environment in the game hall, the initial state of the control is restored in a short period of time, and it is prevented that the game is adversely affected by the disturbance.
In addition, it is necessary to design the input / output of signals to the CPU at an appropriate time in consideration of the internal operation of the CPU. That is, for example, even if a signal is input in a state where the CPU is not ready for signal reading, the CPU cannot appropriately use the input signal. As a CPU that prevents such a problem, there is a CPU that outputs a readable signal when it can be read, and outputs a writable signal when it can be written, so as to match the timing of signal input / output with a peripheral circuit.
[0003]
[Problems to be solved by the invention]
By the way, a system reset (also referred to as a power-on reset) signal that initializes the CPU when the power is turned on, as shown in FIG. 14 (2), indicates the potential state of the power supply to the gaming machine ((1)). ) For a certain period of time T 0 During this period, the L level (active) is maintained, and then the H level (inactive) is reached. When this system reset signal is at the L level after power-on, the CPU is initialized. However, in practice, the relationship between the power signal (1) and the power-on reset signal (2) is not reflected in the operation state of the CPU as designed, and some control circuits are in the middle of rising of the power signal. In some cases, the potential showed unexpected behavior.
Such defects are rarely seen in the development stage and do not occur in many of the millions of machines that are produced annually. In a gaming machine that is given, it is necessary to improve the fairness of the game and to stably exhibit the desired performance so as not to harm public order and morals. Therefore, occurrence of a phenomenon different from the idea of the gaming machine designer must be prevented as much as possible, and it is important to take some measures for operating the control circuit according to the design idea.
As for the signal input / output of the CPU, simply outputting a writable signal at the time of signal output from the CPU and outputting a readable signal at the signal input timing does not reflect the characteristics of the CPU and peripheral electronic components, There is a possibility that the operation of the CPU becomes unstable.
[0004]
An object of the present invention is to provide a gaming machine capable of further stabilizing a control operation.
[0005]
[Means for Solving the Problems]
In a gaming machine provided with a control device that controls a game, the gaming device receives one or more transmission source devices that are data transmission sources, and a receiving CPU that receives data from the transmission source devices via a data bus And on the data bus, and by the data bus Receiver A switching unit that switches connection / disconnection between the CPU and the transmission source device based on a switching command signal from the receiving CPU and a receiving CPU are provided separately from the receiving CPU and the switching unit. From the receiving CPU. To switching part The transmission timing of the switch command signal Delay for a predetermined time Switching command signal transmission timing delay And means.
[0006]
With this configuration, when the CPU switches the input / output of the bus interface, the timing at which the read / write switching signal is input to the input port is changed to the switching command signal transmission timing. delay means To delay for a predetermined time be able to. As a result, it is possible to prevent the read / write switching signal from preceding the input / output switching of the CPU bus interface in accordance with the characteristics of various electronic components, and the signals that existed in the interface before data input from the input port. It is possible to prevent the CPU from reading inaccurate data due to the potential. Then, data collision (so-called conflict) on the data bus can be prevented.
[0007]
The CPU outputs a switching command signal almost simultaneously with the input / output switching timing, but the switching command signal transmission timing delay After receiving the switching command signal, the means can relay the signal to the switching unit with a predetermined time delay.
In other words, since the CPU outputs the switching command signal at a substantially constant timing, the signal output is delayed by a predetermined time corresponding to the switching command signal, so that stable reading can be performed without varying the timing of data input from the input port to the CPU. Can be realized.
Further, if the CPU clock pulse is used to create the delay timing, the operation of the delay circuit is also synchronized with the CPU, so that a more reliable reading operation can be performed. For example, a D-type flip-flop IC or the like can be given as a circuit element that operates by such a clock pulse.
[0008]
Switching command signal transmission timing delay By forming the means outside the CPU, a stable operation can be obtained without changing the CPU. In other words, in gaming machines, the CPU to be used is limited from the viewpoint of fairness and public order and morals, and a gaming machine manufacturer cannot arbitrarily select or develop a commercialized CPU.
Therefore, switch command signal transmission timing delay By forming the means outside the CPU, it is possible to use a standard purchased CPU.
[0009]
It is also conceivable to provide a delay circuit or delay means as described above in the CPU. For example, a program that delays the output timing of the read / write signal for a predetermined time based on the system clock or the like in response to the switching of the input / output mode of the bus interface may be stored in the ROM.
[0010]
【Example】
Hereinafter, embodiments of the present invention will be described with reference to examples shown in the drawings, taking a first-class gaming machine as an example.
FIG. 1 is a front view of a
The front portion of the
[0011]
The
[0012]
The
[0013]
Here, the frame body portion is formed in a substantially rectangular frame shape from the upper end to the lower side to approximately 2/3 of the entire
[0014]
Further, the lower plate portion occupies about 1/3 of the entire
[0015]
The
[0016]
The
[0017]
Next, the back surface structure of the
The
[0018]
Subsequently, a game
[0019]
On the other hand, on the upper right end portion of the
[0020]
Next, the
On the
[0021]
As shown in FIG. 3, the
Among these, as shown in FIG. 4, the
[0022]
As shown in FIG. 5, the
Among these, the general-purpose initialization reset signal generation unit 218 of the initialization reset
The CPU initialization reset
Further, the user reset
[0023]
As shown in FIG. 7, the first external
The
The standardized
[0024]
As illustrated in FIG. 6, the I / O
Similarly, as shown in FIG. 6, the data
[0025]
Next, functions of the
Each terminal of the
(1) Address part
A0 to A15: 16-bit address bus output terminals.
(2) Data part
D0 to D7: 8-bit bidirectional data bus terminals.
(3) System control unit
XM1: An output terminal for a signal indicating
XMREQ: An output terminal for request signals to the memory space.
XIORQ: An output terminal for an input / output request signal to the I / O space.
XWR: A signal output terminal indicating that the data bus is in a write cycle.
XRD: An output terminal for a signal indicating that the data bus is in a read cycle.
XRFSH: Refresh signal output terminal.
(4) CPU control unit
XHALT: Halt signal output terminal.
XINT: Maskable interrupt request signal input terminal.
XNMI: Non-maskable interrupt request signal input terminal.
XSRST: System reset signal input terminal.
XSRSTO: System reset signal output terminal.
XURST: User reset signal input terminal.
IEO / SCLKO: A daisy chain signal / divided clock output terminal.
PRG: An input terminal for setting the CPU to the PROM mode.
MODE: An output terminal indicating the state of the operation mode of the CPU.
(5) I / O section
CLK / TRG2 and CLK / TRG3: External clock / timer trigger signal input terminals.
ZC / TO0 / ZC / TO1: Built-in CTC signal output terminal.
PA0 to PA7: 8-bit parallel I / O terminals.
PB0 / XCSIO0 to PB3 / XCSIO3: 4-bit parallel I / O port, external device chip select shared terminal.
(6) Clock part
EXTAL1, EXTAL2: Crystal resonator connection terminals.
CLKO: System clock signal output terminal. A square wave with a duty of 50% obtained by dividing the input signal frequency of the EXTAL1 / EXTAL2 terminal by 1/2 is output.
(7) Power supply
VDD1 / 2: Power supply (+ 5V) terminal.
VSS1 and 2: Power supply (GND) terminals.
VBB: Backup terminal for built-in RAM.
(8) Other
NC: Non-connection terminal.
[0026]
The
The program authentication function is to check whether the authentication code calculated based on the program is correct when an initialization signal for initializing the
[0027]
In the
In the
[0028]
The
A crystal oscillator is used in place of the
[0029]
Similarly, in the
The general-purpose initialization reset signal generation unit 218 generates a general-purpose initialization reset signal as a CPU initialization reset signal generation unit based on a system reset signal (also referred to as a power-on reset signal) input from the outside via the
[0030]
The CPU initialization reset
Further detailed functions of the CPU initialization
[0031]
The user reset
[0032]
Next, the function of the CPU initialization reset
First, when the system reset signal (FIG. 15 (1)) falls and becomes active, the clock signal to the
The output signal of the
[0033]
On the other hand, the output signal (2) of the
The NOR
That is, when the output signal (same (3)) of the Schmitt trigger inverter IC259 falls, the output signal (same (4)) of the
[0034]
In this embodiment, the predetermined time T 1 ~ T 3 T 1 = 349.9 ms, T 2 = T 3 = 667 ns.
[0035]
The first external
In the present embodiment, six output terminals (O1 to O5 terminals, VO terminals) of the
In this embodiment, the impedance of the PA0 to PA5 terminals is reduced by the
[0036]
Further, the signal from the
This is based on the fact that some of the switches connected to the
[0037]
6 decodes an address signal from the
The device selection signals (CS0 to CS6) are classified into output device selection signals (CS0 to CS5) and input device selection signals (CS6).
When a range address (upper) of the PB0 / XCSIO0 terminal is designated, a signal output is output from the PB0 / XCSIO0 terminal, and an address signal (lower) is output from the A0 to A4 terminals. The address signal is decoded into an output device selection signal (CS0 to CS5) by the NOR gate IC222 and the decoder IC223. When the output signals of the D0 to D7 terminals of the
[0038]
Further, in this embodiment, the impedance on the input terminal side is reduced by the
Furthermore, in this embodiment, the data bus (OD, D) is divided into two paths. This is due to the load capacity between the
[0039]
When the
[0040]
The input device selection signal (CS6) formed as the switching command signal is output by the NOR
The gate
[0041]
Next, the gate
As the receiving CPU, when the
On the other hand, the
[0042]
17A shows the signal (0) obtained by inverting the clock pulse (CLKO) from the
In the initial state, since the 2D terminal of the flip-flop IC227 is L, even if the system clock is output from the CLKO terminal of the
When the
As a result, the H level signal is output from the 2Q terminal of the flip-flop IC227 by the clock input after the H level signal is input to the 2D terminal of the flip-flop IC227, compared with the case where the XRD signal is directly input to the buffer IC371. Time difference t 1 Therefore, the signal input to the
Further, the output signal (1) of the NOR
When the
[0043]
As shown in FIG. 17B, when a signal propagates through the circuit, a delay time (t that is caused by a physical factor such as a transition time until the signal exceeds a threshold for recognizing propagation speed or signal detection (t 2 , T 3 , T 4 ), The delay time t1 is longer than that shown in FIG. In addition, the delay time (t 2 , T 3 , T 4 ), There is a possibility of operation without malfunction even if the delay circuit of the present invention is not incorporated, but this depends on factors such as operating conditions and environment. However, by providing the delay circuit as described above, it is possible to ensure a signal transmission delay time for reliably avoiding a malfunction.
In addition, the
[0044]
The data
[0045]
Next, the input /
As shown in FIG. 3, the input /
[0046]
Among the
That is, the
[0047]
As shown in FIG. 9, the solenoid
[0048]
As shown in FIG. 10, the LED drive / information
[0049]
As shown in FIG. 11, the second external
[0050]
Also, as shown in FIG. 12, a prize ball command
[0051]
Next, functions of the
In the output
Data (OD) is input to the 1D to 8D terminals of the flip-
In the output
[0052]
The various command
Note that the control signals handled by the various command
[0053]
The solenoid
In the solenoid
The flip-
[0054]
The
Instead of the lamp /
[0055]
The LED drive / information
When the device selection signal is CS5, the data output from the flip-flop IC361 of the LED drive / information
The drive current to the LED and the signal current of the external output are limited by resistors R4 to R13 provided for each signal line of the
[0056]
In the normal symbol LED driving unit, data (D0, D1) for notifying the result of the normal symbol determination is input to the I1 and I2 terminals of the
[0057]
In the external information output unit, when external information data is input from the
When there is an input from the
[0058]
The second
When the detection signal is received by the
[0059]
Here, when reading of the switch state is instructed by the
The
It should be noted that noise removal and voltage adjustment are performed on the input signal to the
Further, the
[0060]
As described above, the receiving
The data collision is caused by the difference between the reading timing of the reading or writing signal from the
[Brief description of the drawings]
FIG. 1 is a front view of a gaming machine according to an embodiment of the present invention.
FIG. 2 is a back view of the gaming machine.
FIG. 3 is a block diagram of a main control board.
FIG. 4 is a block diagram of the inside of the CPU used for the main control board.
FIG. 5 is a circuit diagram showing a connection state between a reset circuit unit and a CPU.
FIG. 6 is a circuit diagram showing a connection state between an I / O decode circuit unit and a CPU.
FIG. 7 is a circuit diagram showing a connection state between the first input circuit unit and the CPU.
FIG. 8 is a circuit diagram showing a command output circuit unit.
FIG. 9 is a circuit diagram showing a solenoid drive circuit unit.
FIG. 10 is a circuit diagram showing an LED drive / information output circuit unit;
FIG. 11 is a circuit diagram showing a second input circuit section.
FIG. 12 is a circuit diagram showing an output port unit.
FIG. 13 is a circuit diagram showing a CPU reset circuit unit;
FIG. 14 is a timing chart showing a main power signal (1), a system reset signal (2), and a CPU initialization reset signal (3).
FIG. 15 is a timing chart showing a CPU initialization reset signal (5) and various signals (1) to (4) used for generating the CPU initialization reset signal (5).
FIG. 16 is a circuit diagram of an I / O decode circuit section, its peripheral section, and an N main section.
FIG. 17 is a timing chart showing output signals of respective units of the gate signal generation unit.
[Explanation of symbols]
1 gaming machine
100 Main control board
201 CPU
216 Gate signal generator
224 Decoder IC
225 NOR gate IC
226 NAND gate IC
227 Flip-flop IC
371 Buffer IC
Claims (3)
前記制御装置が、
データ送信元となる1又は複数の送信元デバイスと接続可能であり、該送信元デバイスからデータバスを介してデータを受信する受信側CPUと、
前記データバス上に設けられるとともに、前記データバスによる前記受信側CPUと前記送信元デバイスとの間の接続/非接続を前記受信側CPUからの切替指令信号に基づいて切り替える切替部と、
前記受信側CPUとは別に設けられると共に、該受信側CPUと前記切替部との間に介在して、前記受信側CPUから前記切替部への前記切替指令信号の送信タイミングを所定時間遅延させる切替指令信号送信タイミング遅延手段と、
を備えることを特徴とする遊技機。In a gaming machine equipped with a control device for performing control related to a game,
The control device is
A receiving side CPU that is connectable to one or a plurality of transmission source devices that are data transmission sources and receives data from the transmission source device via a data bus;
A switching unit that is provided on the data bus and switches connection / disconnection between the receiving CPU and the transmission source device by the data bus based on a switching command signal from the receiving CPU;
A switch that is provided separately from the receiving CPU and is interposed between the receiving CPU and the switching unit to delay the transmission timing of the switching command signal from the receiving CPU to the switching unit for a predetermined time. Command signal transmission timing delay means;
A gaming machine comprising:
前記切替指令信号送信タイミング遅延手段は、前記受信側CPUがデータ出力モードからデータ入力モードへ切り替わる出入力切替タイミングよりも所定時間遅延させて前記切替指令信号を前記切替部に送信するものである請求項1記載の遊技機。The data bus is connected to the data input and output ports of the receiving CPU, the receiving-side CPU is to transmit output data signal to the data destination over the data bus by switching to the data output mode,
The switching command signal transmission timing delay means transmits the switching command signal to the switching unit with a delay of a predetermined time from the input / output switching timing at which the receiving CPU switches from the data output mode to the data input mode. Item 1. The gaming machine according to Item 1.
前記切替指令信号送信タイミング遅延手段は、該切替指令信号を受信した後、所定時間遅延させて前記切替部に中継送信するものである請求項2に記載の遊技機。The receiving side CPU outputs the switching command signal toward the switching command signal transmission timing delay means substantially simultaneously with the input / output switching timing,
The gaming machine according to claim 2, wherein the switching command signal transmission timing delay means delays a predetermined time after receiving the switching command signal and relays it to the switching unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000264427A JP3909553B2 (en) | 2000-08-31 | 2000-08-31 | Game machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000264427A JP3909553B2 (en) | 2000-08-31 | 2000-08-31 | Game machine |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000373809A Division JP2002066094A (en) | 2000-12-08 | 2000-12-08 | Game machine |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002066092A JP2002066092A (en) | 2002-03-05 |
JP3909553B2 true JP3909553B2 (en) | 2007-04-25 |
Family
ID=18751845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000264427A Expired - Fee Related JP3909553B2 (en) | 2000-08-31 | 2000-08-31 | Game machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3909553B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002066094A (en) * | 2000-12-08 | 2002-03-05 | Taiyo Elec Co Ltd | Game machine |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4748506B2 (en) * | 2005-02-09 | 2011-08-17 | 株式会社大一商会 | Game machine |
JP4729341B2 (en) * | 2005-06-02 | 2011-07-20 | 株式会社大都技研 | Amusement stand |
JP2008086363A (en) * | 2006-09-29 | 2008-04-17 | Sansei R & D:Kk | Game machine |
JP2009066171A (en) * | 2007-09-13 | 2009-04-02 | Daito Giken:Kk | Game machine |
JP6142184B2 (en) * | 2013-05-16 | 2017-06-07 | 株式会社ソフイア | Game machine |
JP6446637B2 (en) * | 2013-11-28 | 2019-01-09 | 株式会社ソフイア | Game machine |
JP6813187B2 (en) * | 2017-03-08 | 2021-01-13 | Necエンベデッドプロダクツ株式会社 | Circuit equipment, control methods and programs for circuit equipment |
JP7137857B2 (en) * | 2020-03-09 | 2022-09-15 | 京楽産業.株式会社 | game machine |
JP7141728B2 (en) * | 2020-03-09 | 2022-09-26 | 京楽産業.株式会社 | game machine |
JP7141729B2 (en) * | 2020-03-09 | 2022-09-26 | 京楽産業.株式会社 | game machine |
JP7141727B2 (en) * | 2020-03-09 | 2022-09-26 | 京楽産業.株式会社 | game machine |
JP7137858B2 (en) * | 2020-03-09 | 2022-09-15 | 京楽産業.株式会社 | game machine |
JP7137859B2 (en) * | 2020-03-09 | 2022-09-15 | 京楽産業.株式会社 | game machine |
-
2000
- 2000-08-31 JP JP2000264427A patent/JP3909553B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002066094A (en) * | 2000-12-08 | 2002-03-05 | Taiyo Elec Co Ltd | Game machine |
Also Published As
Publication number | Publication date |
---|---|
JP2002066092A (en) | 2002-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3909553B2 (en) | Game machine | |
JP4719232B2 (en) | Game machine | |
JP6067054B2 (en) | Game machine | |
JP2002066074A (en) | Game machine | |
JP3859128B2 (en) | Game machine | |
JP2002253755A (en) | Game machine | |
JP4512708B2 (en) | Game machine | |
JP3859127B2 (en) | Game machine | |
JP4056497B2 (en) | Game machine | |
JP3747265B2 (en) | Game machine | |
JP3747264B2 (en) | Game machine | |
JP2003164594A (en) | Game machine | |
JP2002066094A (en) | Game machine | |
JP2012106140A (en) | Game machine | |
JP4056494B2 (en) | Game machine | |
JP2010246949A (en) | Game machine | |
JP2002066089A (en) | Game machine | |
JP4056496B2 (en) | Game machine | |
JP2002204877A (en) | Game machine | |
JP2002035382A (en) | Game machine | |
JP3601407B2 (en) | Ball game machine | |
JPH11290536A (en) | Pinball game machine | |
JP5318847B2 (en) | Game machine | |
JP4987135B2 (en) | Game machine | |
JP4987136B2 (en) | Game machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060706 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060829 |
|
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: 20070105 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070117 |
|
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: 20130202 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130202 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130202 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130202 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |