Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3871776B2 - Central processing unit for gaming machines - Google Patents
[go: Go Back, main page]

JP3871776B2 - Central processing unit for gaming machines - Google Patents

Central processing unit for gaming machines Download PDF

Info

Publication number
JP3871776B2
JP3871776B2 JP24808697A JP24808697A JP3871776B2 JP 3871776 B2 JP3871776 B2 JP 3871776B2 JP 24808697 A JP24808697 A JP 24808697A JP 24808697 A JP24808697 A JP 24808697A JP 3871776 B2 JP3871776 B2 JP 3871776B2
Authority
JP
Japan
Prior art keywords
chip select
signal
unit
address
mode
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 - Lifetime
Application number
JP24808697A
Other languages
Japanese (ja)
Other versions
JPH1176565A (en
Inventor
光次 蓮沼
道春 赤坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Heiwa Corp
Original Assignee
Heiwa Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Heiwa Corp filed Critical Heiwa Corp
Priority to JP24808697A priority Critical patent/JP3871776B2/en
Publication of JPH1176565A publication Critical patent/JPH1176565A/en
Application granted granted Critical
Publication of JP3871776B2 publication Critical patent/JP3871776B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)
  • Pinball Game Machines (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、パチンコ機等の遊技機を制御するための中央処理装置(CPU)に関する。
【0002】
【従来の技術】
今日、パチンコ機等の遊技機を構成する各種の電動部品の制御を行うために、遊技機内部に遊技機用の中央処理装置(CPU)が設けられており、このCPUが予め定められたプログラムに従った動作を行うことによって、所定の制御動作が実行可能になっている。そして、このCPUが動作を行う際には、CPU内部のバス上に実アドレスや実データを送出する。
【0003】
ところで、このCPUを用いて遊技機を開発するためには、CPUがプログラムに従った動作を行うのに従って、実アドレスや実データをCPU外部出力可能な構成にしておくことが好ましいが、このような構成によれば、出力されるアドレスやデータを手掛かりに内蔵されたプログラムを解析し、解析結果を反映して自己に有利なようにプログラムを改ざんする者が現れる可能性がある。
【0004】
そこで、予めプログラムを暗号化しておき、必要時にはこれを復号化するための復号化回路を設けておき、この復号化回路によって復号化されたプログラムにしたがって、CPUが動作を行うようにすることが提案されていた。
【0005】
【発明が解決しようとする課題】
しかしながら、このような復号化回路を設けた構成では、コストの増加や基板に装着される回路系の大きさの巨大化を招いてしまうとともに、CPU外部には、CPUの動作に伴った何らの情報も出力されないため、また、通常アセンブラにより得たROMデータを、一旦、暗号化手段を介して暗号化した後、この暗号化したものを実際にROMに書き込むなど、遊技機開発工数が増加してしまうという問題があった。
【0006】
そして、パチンコ機では検査機関の検査が行われなければ販売製品として認められないため、この検査機関によって、CPUの動作等を検査可能な構成にしなければならないという要請もある。
【0007】
本発明は、このような従来の課題を解決するためになされたもので、その目的は、動作を第三者に把握されないようにしつつも、検査機関のみにはその動作を把握可能な遊技機用CPUを提供する点にある。
【0008】
【課題を解決するための手段】
上記目的を達成するために、請求項1に係る発明によれば、遊技機を制御するための遊技機用の中央処理装置において、モードを切り替える信号が与えられるとこれに対応したモードを設定するモード制御部と、このモード制御部に設定されているモードに応じて切り替え信号を記憶する切り替え設定レジスタと、バス上に供給されるアドレス信号をデコードしてチップセレクト信号を生成するチップセレクト部と、前記切り替え信号に応じて前記アドレス信号と前記チップセレクト部が生成したチップセレクト信号とを切り替えて外部に出力可能なインタフェース部と、を備えたことを特徴とする遊技機用中央処理装置が提供される。
請求項2に係る発明のように、前記切り替え設定レジスタは、前記モード制御部に記憶されているモードが検査モードであるときには、前記インタフェース部から前記アドレス信号が出力され、前記モード制御部に記憶されているモードが通常モードであるときには、前記インタフェース部から前記チップセレクト信号が出力されるように、前記切り替え信号を記憶するように構成することができる。
【0009】
これによれば、インタフェース部が、設定されているモードに応じてアドレス信号とチップセレクト信号とを切り替えて出力できるので、例えば、通常時にはチップセレクト信号を出力し、検査時のような特殊な場合のみアドレス信号を出力する様にしたため、第三者によるプログラムの解析を困難にすることができる。
【0010】
また、上記目的を達成するために、請求項に係る発明によれば、遊技機を制御するための遊技機用の中央処理装置において、バス上に供給されるアドレス信号をデコードしてチップセレクト信号を生成するチップセレクト部と、前記アドレス信号と前記チップセレクト部が生成したチップセレクト信号とを切り替えて出力可能なインタフェース部と、を備え、前記インタフェース部は、外部チップセレクト部を装着可能に構成され、前記外部チップセレクト部は、前記インタフェース部から前記アドレス信号が出力される場合、このアドレス信号に対応するチップセレクト信号を出力することを特徴とする遊技機用中央処理装置が提供される。
【0011】
これによれば、外部チップセレクト部をインタフェース部に装着すると、外部チップセレクト部からはチップセレクト信号が出力されるとともに、インタフェース部からはアドレス信号が出力され、このアドレス信号を用いて検査機関による検査が可能になり、かつ、チップセレクト信号を用いて遊技機を通常動作させることも可能になる。
【0012】
【発明の実施の形態】
以下、本発明の実施形態を図面を参照しつつ説明する。
図1に本発明の実施の形態にかかる遊技機用CPU100のブロック構成図を示す。
【0013】
この遊技機用CPU100は、2ビットのデジタル信号MODEA、MODEBが与えられるとこれに対応したモードを設定するモード制御部10と、図示しない水晶発振回路から与えられる信号(XTAL)に基づいてクロックを生成して各部に供給する(同期用クロックEのみ図示)クロック発生部20と、通常のCPUが有する汎用機能を備えた汎用機能部30と、暗号化されたプログラムを記憶するワンタイムプログラム型のリードオンリーメモリ(OTP・ROM)であるEPROM50と、CR式パチンコ機の複数種類の確率設定値等の遊技機の制御に必要な各種のデータを記憶する電気的書換え可能なリードオンリーメモリであるEEPROM60と、各種の処理の際にワークエリアとして機能するRAM70と、16ビットのアドレス信号(ADR00〜ADR15)からチップセレクト信号(CS00〜CS15)を生成するチップセレクト部80(アドレスデコーダ)と、データ(D0〜D7)、アドレス(ADR00〜ADR16)、および、チップセレクト信号を出力する端子とを備えたバスインタフェース部90と、図示しないレジスタやALU等を備え、EPROM50に記憶されたプログラムに従って動作を行うCPUコア40とを有していて、各構成部は、データ線、アドレス線、および、コントロール線を含んでなるバス85で情報を送受可能に接続されている。
【0014】
モード制御部10は、2ビットのデジタル信号MODEA、MODEBが与えられるとこれに応じたモード設定を行う。例えば、ローレベルの信号を「0」、ハイレベルの信号を「1」とすると、「MODEA=0,MODEB=0」の場合(通常モード)、バスインタフェース90がチップセレクト信号を出力するように、制御線にデジタル信号を与えるための動作を行い、「MODEA=0,MODEB=1」の場合(ROM書き込みモード)、バスインタフェース90を介してEPROM50やEEPROM60への情報を書き込み可能とするように、制御線にデジタル信号を与えるための動作を行い、「MODEA=1,MODEB=0」の場合(ベリファイモード)、同様にバスインタフェース90を介して外部マスターROM(図示せず)とのベリファイ動作を可能とし、そして、「MODEA=1,MODEB=1」の場合(検査モード)、検査機関が検査可能にバスインタフェース90がアドレス信号を出力するように、制御線にデジタル信号を与えるための動作を行う。
【0015】
汎用機能部30は、リセット信号(RESET)によってリセットされ割り込み信号(IRQ)によって割り込み処理を開始させる割り込み制御部31と、暴走等を検出する機能を有するウオッチドッグタイマーからなるウオッチドッグ部33と、2種類のタイムアウト信号(TM0,TM1)を生成するタイマー部32とを有する。
【0016】
チップセレクト部80は、16ビットのアドレス信号(ADR00〜ADR15)から図示しない16種類のラッチICをイネーブルするためのチップセレクト信号(CS00〜CS15)を生成するアドレスデコーダ出力として動作する。
【0017】
例えば、16種類のラッチICの各々に対して、一例として「7FF0(H)〜7FFF(H)」のアドレスが割り当てられているものとすれば、アドレス信号が「7FF0(H)〜7FFF(H)」のいずれかの番地を示す場合、対応するいずれかのチップセレクト信号がアクティブ(例えばローレベル)になる。
【0018】
バスインタフェース部90は、例えば、下位ビットから上位ビットまで1ビット毎に、制御信号(制御線上の信号)によってアドレスデータとチップセレクト信号を選択するためのアナログスイッチを有して構成可能である。
【0019】
図2に示す例では、最下位ビットから最上位ビットまで各ビットに対応してアナログスイッチ91a、…、91bを有していて、アナログスイッチ91aは、CS00とADR00とを切り替え可能に、また、アナログスイッチ91bは、CS15とADR15とを切り替え可能に構成されている。なお、例えば、CPUコア40にバスを介して接続された切り替え設定レジスタ92の内容が送られて、制御信号となるように構成されている。
【0020】
そして、制御信号は、切り替え設定レジスタ92にハイレベルの信号が書き込まれた時にチップセレクト信号を選択し、一方、切り替え設定レジスタ92にローレベルの信号が書き込まれた時にアドレス信号を選択するようにアナログスイッチを選択するものにしておけばよい。このようにして、アドレス信号(ADR00〜ADR15)とチップセレクト信号(CS00〜CS15)を切り替える。
【0021】
なお、図2は、バスインタフェース部90の一例を示したものであり、アドレス信号とチップセレクト信号を切り替え可能な構成であれば他の態様のものでも良い。
【0022】
まず、MODEA、MODEBにハイレベルのデジタル信号を供給したとき、この遊技機用CPU100が通常モードになる。通常モードになると、モード制御部10は、切り替え設定レジスタ92にハイレベルの信号を記憶する。
【0023】
CPUコア30がEPROM40に記憶されているプログラムにしたがって動作すると、バス85を介してCPU内部ではアドレスおよびデータが送受される。そして、バスインタフェース90は、チップセレクト部80が生成したチップセレクト信号を出力する。このチップセレクト信号を入力する図示しないいずれかのラッチICは、データ(D0〜D7)をラッチする。このとき、アドレス信号そのものは出力されない。
【0024】
一方、MODEA、MODEBにハイレベルのデジタル信号を供給したとき、この遊技機用CPU100が検査モードになり、検査機関が遊技機用CPU100を検査するものとして動作説明を行う。まず、検査モードになると、モード制御部10は、切り替え設定レジスタ92にローレベルの信号を記憶する。
【0025】
CPUコア30がEPROM40に記憶されているプログラムにしたがって動作すると、バス85を介してCPU内部ではアドレスおよびデータが送受される。そして、バスインタフェース90は、アドレス信号を出力する。このとき、チップセレクト部80のアドレスデコード動作によって、チップセレクト信号が生成されているが出力されない。
【0026】
このようにして、バスインタフェース90から出力される信号が、アドレス信号とチップセレクト信号との間で切り替え可能となる。したがって、この実施の形態によれば、通常時にはチップセレクト信号を出力し、検査機関での検査時等の特殊な場合のみアドレスを出力する様にしたため、第三者によるプログラムの解析を困難にすることができるという効果が得られる。
【0027】
なお、モード制御部10によって切り替え設定レジスタ92の内容を変更するのではなく、プログラムによって強制的に切り替え設定レジスタ92の記憶内容を設定して、所望の切り替えを行うような構成にしてもよい。
【0028】
さて、検査用にバスインタフェース90からアドレス信号が出力されている場合には、チップセレクト信号が出力されないため、通常状態においてチップセレクト信号により動作するラッチICを駆動できず遊技機の制御動作を行えないことになる。そこで、バスインタフェース90からアドレス信号が出力されたままで、このアドレス信号に基づいてチップセレクト信号を生成する外部チップセレクト部200を遊技機用CPU100に装着可能に構成すれば、検査機関がアドレス信号を用いた検査行いながら、チップセレクト信号を用いた通常の遊技機制御を行うことが可能となる。
【0029】
図3に外部チップセレクト部200を遊技機用CPU100に装着して様子を示す。これによれば、外部チップセレクト部200は、チップセレクト部80と同等の動作を行い、アドレス信号(ADR00〜ADR15)を用いてチップセレクト信号(CS00〜CS15)を生成している。
【0030】
そこで、図4を参照して、この外部チップセレクト部200を実現するための具体的な構成例について説明する。
図4は、外部チップセレクト部200の一部、具体的には、チップセレクト信号CS00およびCS01の生成部のみの構成図である。
【0031】
まず、チップセレクト信号CS00を生成部は、4本の入力端子を有するNANDゲート回路210と、この4本の入力端子の夫々に接続されるANDゲート回路201、202、203、204とを有している。なお、NANDゲート回路210は、クロック発生部20で生成された同期用クロックEが入力されて、この同期用クロックEがハイレベルの時のみローレベルの信号が出力可能となっている。なお、このクロックEは、CPUコアをモトローラ社製(モトローラは登録商標)「68HC11」とした場合のものである。
【0032】
また、ANDゲート回路201は、アドレス線ADR00〜ADR03の信号の各々をNOTゲート回路220、221、222、223で反転したものを入力可能に構成され、ANDゲート回路202は、アドレス線ADR04〜ADR07の信号を入力可能に構成され、ANDゲート回路203は、アドレス線ADR08〜ADR11の信号を入力可能に構成され、さらに、ANDゲート回路204は、アドレス線ADR12〜ADR14の信号とアドレス線ADR15の信号をNOTゲート回路224で反転したものを入力可能に構成されている。
【0033】
ANDゲート回路201は、アドレス線ADR00〜ADR03の信号が「0000」のときハイレベルの信号を出力し、ANDゲート回路202は、アドレス線ADR04〜ADR07の信号が「1111」のときハイレベルの信号を出力し、ANDゲート回路203は、アドレス線ADR08〜ADR11の信号が「1111」のときハイレベルの信号を出力し、さらに、ANDゲート回路204は、アドレス線ADR12〜ADR15の信号が「0111」のときハイレベルの信号を出力する。
【0034】
そして、4つのANDゲート回路201〜204までの出力が「1」の時、ANDゲート回路210はローレベルの信号をチップセレクト信号CS00として出力する。したがって、アドレス信号が「7FF0(H)」の時、図示しないラッチICをイネーブル状態(アクティブローとする)とするチップセレクト信号CS00が出力される。
【0035】
また、チップセレクト信号CS01を生成部は、4本の入力端子を有するNANDゲート回路211と、この4本の入力端子の夫々に接続されるANDゲート回路205、206、207、208とを有している。また、上述した同期用信号EがNANDゲート回路211に入力されている。
【0036】
また、ANDゲート回路205は、アドレス線ADR00の信号とアドレス線ADR01〜ADR03信号の各々をNOTゲート回路225、226、227で反転したものを入力可能に構成され、ANDゲート回路206は、アドレス線ADR04〜ADR07の信号を入力可能に構成され、ANDゲート回路207は、アドレス線ADR08〜ADR11の信号を入力可能に構成され、さらに、ANDゲート回路208は、アドレス線ADR12〜ADR14の信号とアドレス線ADR15の信号をNOTゲート回路228で反転したものを入力可能に構成されている。
【0037】
ANDゲート回路205は、アドレス線ADR00〜ADR03の信号が「0001」のときハイレベルの信号を出力し、ANDゲート回路206は、アドレス線ADR04〜ADR07の信号が「1111」のときハイレベルの信号を出力し、ANDゲート回路207は、アドレス線ADR08〜ADR11の信号が「1111」のときハイレベルの信号を出力し、さらに、ANDゲート回路208は、アドレス線ADR12〜ADR15の信号が「0111」のときハイレベルの信号を出力する。
【0038】
そして、4つのANDゲート回路205〜208までの出力が「1」の時、ANDゲート回路211はローレベルの信号をチップセレクト信号CS01として出力する。したがって、アドレス信号が「7FF1(H)」の時、図示しないラッチICをイネーブル状態(アクティブローとする)とするチップセレクト信号CS01が出力される。
【0039】
このようにすれば、アドレス信号が「FFF0(H)」、「FFF1(H)」、…、「FFFF(H)」のときアクティブとなるチップセレクト信号CS00〜CS15を生成する、チップセレクト部80と同等の機能を有する外部チップセレクト部200を実現することが可能になる。
【0040】
したがって、図3に示すように、外部チップセレクト部200にアドレス信号ADR00〜ADR15を入力すれば、チップセレクト部80と同様にチップセレクト信号を生成することが可能となる。
【0041】
これによれば、インタフェース部90からはアドレスが出力され、このアドレスを用いて検査機関による検査が可能になり、かつ、外部チップセレクト部200から出力されるチップセレクト信号を用いて遊技機を通常動作させることも可能になる。その結果、開発者工数が増加することを防止することも可能となる。
【0042】
次に、図5を参照して本発明の実施の形態にかかる遊技機用CPU100および外部チップセレクト部200の具体的な構成例について説明する。
図5は、本発明の実施の形態にかかる遊技機用CPUや外部チップセレクト部の基板への装着状態を示す模式図であり、図5(a)は、遊技機用CPU100を装着するための、ICソケット等で実現したソケット部510を備え、自身を遊技機裏側等に装着可能な遊技機制御用基板500の構成を示しており、また、図5(b)は、別途用意しておく検査用サブ基板の構成を示している。そして、このソケット部510には、通常時には、遊技機用CPU100が直接装着され、一方、検査モード時には、検査用サブ基板520が装着される。この検査用サブ基板520には、遊技機制御用基板500のソケット部510に装着可能なように突出形成された接続用ピン540が設けられていて、さらに、遊技機用CPU100および外部チップセレクト部200が装着可能(図5(b)は、遊技機用CPU100および外部チップセレクト部200を装着した状態を図示している)に構成されているとともに、アドレスバス、データバスおよびコンロールバス上の情報をモニターするためのモニター端子530が備えられている。
【0043】
そして、接続用ピン540は、ICソケットを挿入可能な形状を有しているとともに、各端子のピン配置は遊技機用CPU100と全く同じ配置となっている。遊技機用CPU100と異なる点は、「CS**/ADR**」(**は、例えば、00から15までの数)が直接接続される代わりに、外部チップセレクト部200からのチップセレクト信号「CS**」(**は、例えば、00から15までの数)が接続される点にある。その他の信号は、検査用サブ基板52に装着された遊技機用CPU100から直接この接続用ピン540に接続供給される。
【0044】
さらには、外部チップセレクト部200が、遊技機用CPU100からのアドレスよりチップセレクト信号「CS**」を生成するように接続されている。また、検査機関が検査するために必要な信号がモニター端子530から取出し可能に接続されている。接続される信号としては、遊技機用CPU100からのアドレスバス「ADR**」、データバス(D0〜D7)、コントロール信号(E、R/W )等が挙げられる。このモニター端子530は、外部のロジックアナライザー等の検査装置に接続されて、プログラムの検査、解析が可能となる。
【0045】
なお、遊技機用CPU100は、この検査用サブ基板520に接続されたときに、自動的に検査モードになるように構成しておけば良い。このためには、MODEA、MODEBに所望のデジタル信号が供給されるように、遊技機用CPU100を装着するICソケットの所望のピン位置に、所望のデジタル信号が供給されるようにしておけばよい。このような構成の検査用サブ基板520は、接続用ピン540によって、ソケット部510に装着される。
【0046】
この装着によって、遊技機用CPU100からの信号は、遊技機制御用基板500側に供給可能となるので、この遊技機制御用基板500はあたかも通常モードで動作している遊技機用CPU100が装着されているのと同様に動作を行う。
【0047】
さらには、外部チップセレクト部200の性能を遊技機用CPU100に内蔵されているチップセレクト部80と同一機能のもので構成すれば、CPU100を直接装着した場合と全く同じ条件で動作可能となる。一方、遊技機用CPU100が装着された検査用サブ基板520側は、そのモニター端子530にロジックアナライザー等の外部検査機器が接続されて、動作の検査、解析が可能になる。なお、以上述べてきた実施の形態の説明では、特に、パチンコ機を想定して行ったが、本発明は、パチスロ等の他の遊技機に適用しても好適な遊技機用CPUを提供するものである。
【0048】
【発明の効果】
以上説明したように、請求項1、2に係る発明によれば、インタフェース部が、設定されているモードに応じてアドレス信号とチップセレクト信号とを切り替えて出力するので、通常時にはチップセレクト信号を出力するとともに、検査機関での検査時にはアドレス信号を出力し、検査機関での検査を可能にしつつ第三者によるプログラムの解析を困難にすることができるという効果が得られる。
【0049】
また、請求項に係る発明によれば、外部チップセレクト部をインタフェース部に装着すると、外部チップセレクト部からはチップセレクト信号が出力されるとともに、インタフェース部からはアドレス信号が出力され、このアドレス信号を用いて検査機関による検査が可能になり、かつ、チップセレクト信号を用いて遊技機を通常動作させることも可能になる。
【図面の簡単な説明】
【図1】本発明の実施の形態にかかる遊技機用CPUのブロック構成図である。
【図2】バスインタフェース部の構成図である。
【図3】外部チップセレクト部を接続した遊技機用CPUのブロック構成図である。
【図4】外部チップセレクト部の構成図である。
【図5】本発明の実施の形態にかかる遊技機用CPUや外部チップセレクト部の基板への装着状態を示す模式図である。
【符号の説明】
10 モード制御部
20 クロック発生部
30 汎用機能部
31 割り込み制御部
32 タイマー部
33 ウオッチドッグ部
34 PWM部
40 CPUコア
50 EPROM
60 EEPROM
70 RAM
80 チップセレクト部
90 バスインタフェース部
91a アナログスイッチ
91b アナログスイッチ
92 切り替え設定レジスタ
100 遊技機用CPU
200 外部チップセレクト部
201〜208 ANDゲート回路
210 NANDゲート回路
211 NANDゲート回路
220〜228 NOTゲート回路
500 遊技機制御用基板
510 ソケット部
520 検査用サブ基板
530 モニター端子
540 接続用ピン
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a central processing unit (CPU) for controlling a gaming machine such as a pachinko machine.
[0002]
[Prior art]
Today, a central processing unit (CPU) for a gaming machine is provided inside the gaming machine to control various electric parts constituting the gaming machine such as a pachinko machine, and this CPU is a predetermined program. By performing the operation according to the above, a predetermined control operation can be executed. When the CPU performs an operation, it sends a real address and real data onto a bus inside the CPU.
[0003]
By the way, in order to develop a gaming machine using this CPU, it is preferable that a real address and real data be output from the CPU as the CPU performs an operation according to the program. According to such a configuration, there is a possibility that a person who analyzes a program built in based on an output address or data and alters the program to be advantageous to himself reflecting the analysis result may appear.
[0004]
Therefore, it is possible to encrypt the program in advance and provide a decryption circuit for decrypting the program when necessary, so that the CPU operates according to the program decrypted by the decryption circuit. It was proposed.
[0005]
[Problems to be solved by the invention]
However, the configuration provided with such a decoding circuit leads to an increase in cost and an increase in the size of a circuit system mounted on the board, and there is no outside of the CPU due to the operation of the CPU. Since no information is output, the ROM data normally obtained by the assembler is once encrypted through encryption means, and then this encrypted data is actually written to the ROM. There was a problem that.
[0006]
And since a pachinko machine is not approved as a product for sale unless it is inspected by an inspection organization, there is a demand that the inspection organization should be configured to be able to inspect the operation of the CPU.
[0007]
The present invention has been made to solve such a conventional problem, and its purpose is to make a gaming machine capable of grasping the operation only by an inspection organization while preventing the operation from being grasped by a third party. The point is to provide a CPU.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, according to the first aspect of the present invention, in a central processing unit for a gaming machine for controlling a gaming machine, when a mode switching signal is given, a mode corresponding to this is set. A mode control unit, a switching setting register for storing a switching signal in accordance with the mode set in the mode control unit, and a chip selection unit for decoding the address signal supplied on the bus to generate a chip select signal , and possible interface unit outputs to the outside by switching the chip select signal the chip select portion and the address signal is generated in response to the switching signal, the central processing unit for a game machine, characterized in that it comprises the provision Is done.
According to a second aspect of the present invention, when the mode stored in the mode control unit is the inspection mode, the switching setting register outputs the address signal from the interface unit and stores it in the mode control unit. When the current mode is the normal mode, the switching signal can be stored so that the chip select signal is output from the interface unit.
[0009]
According to this, the interface unit, it is possible to output by switching the address signal and the chip select signal in response to the set mode, for example, during normal outputs a chip select signal, special cases during a test Since only the address signal is output, the analysis of the program by a third party can be made difficult.
[0010]
In order to achieve the above object , according to the invention according to claim 3 , in the central processing unit for gaming machines for controlling gaming machines, the address signals supplied on the bus are decoded and chip select is performed. A chip select unit that generates a signal, and an interface unit that can switch and output the address signal and the chip select signal generated by the chip select unit, and the interface unit can be mounted with an external chip select unit is configured, the external chip select unit, when the address signal is output from the interface unit, for gaming machines central processing unit is provided and outputs a chip select signal corresponding to the address signal .
[0011]
According to this, when attaching the external chip select unit to the interface unit, it is outputted chip select signals from the external chip select unit, from the interface unit address signal is outputted, by the inspection engine with the address signal The inspection can be performed, and the gaming machine can be normally operated using the chip select signal.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram of a gaming machine CPU 100 according to an embodiment of the present invention.
[0013]
When the 2-bit digital signals MODEA and MODEB are supplied, the gaming machine CPU 100 sets a clock based on a mode control unit 10 for setting a mode corresponding to the signals and a signal (XTAL) supplied from a crystal oscillation circuit (not shown). A clock generator 20 that generates and supplies to each unit (only the synchronization clock E is shown), a general-purpose function unit 30 having a general-purpose function of a normal CPU, and a one-time program type that stores an encrypted program EPROM 50, which is a read-only memory (OTP / ROM), and EEPROM 60, which is an electrically rewritable read-only memory that stores various data necessary for controlling the gaming machine, such as a plurality of types of probability setting values of a CR pachinko machine. RAM 70 functioning as a work area for various processing, and 16 bits Chip select unit 80 (address decoder) that generates chip select signals (CS00 to CS15) from address signals (ADR00 to ADR15), and outputs data (D0 to D7), addresses (ADR00 to ADR16), and chip select signals A bus interface unit 90 having a terminal for performing the operation, and a CPU core 40 having a register, an ALU, and the like (not shown) and operating according to a program stored in the EPROM 50. Each component includes a data line, an address A line 85 and a bus 85 including a control line are connected so that information can be transmitted and received.
[0014]
When the 2-bit digital signals MODEA and MODEB are given, the mode control unit 10 performs mode setting according to the signals. For example, when a low level signal is “0” and a high level signal is “1”, the bus interface 90 outputs a chip select signal when “MODEA = 0, MODEB = 0” (normal mode). Then, an operation for applying a digital signal to the control line is performed, and when “MODEA = 0, MODEB = 1” (ROM writing mode), information can be written to the EPROM 50 and the EEPROM 60 via the bus interface 90. In the case of “MODEA = 1, MODEB = 0” (verify mode), the verify operation with the external master ROM (not shown) is similarly performed via the bus interface 90. And "MODEA = 1, MODEB = 1" (inspection mode), inspection Seki As inspection capable bus interface 90 outputs an address signal, performs an operation for providing a digital signal to the control line.
[0015]
The general-purpose function unit 30 includes an interrupt control unit 31 that is reset by a reset signal (RESET) and starts interrupt processing by an interrupt signal (IRQ), a watchdog unit 33 that includes a watchdog timer having a function of detecting runaway, etc. And a timer unit 32 for generating two types of timeout signals (TM0, TM1).
[0016]
The chip select unit 80 operates as an address decoder output that generates chip select signals (CS00 to CS15) for enabling 16 types of latch ICs (not shown) from a 16-bit address signal (ADR00 to ADR15).
[0017]
For example, if addresses of “7FF0 (H) to 7FFF (H)” are assigned to each of 16 types of latch ICs as an example, the address signal is “7FF0 (H) to 7FFF (H). ) ", Any one of the corresponding chip select signals becomes active (for example, low level).
[0018]
For example, the bus interface unit 90 can be configured to include an analog switch for selecting address data and a chip select signal by a control signal (a signal on a control line) for each bit from a lower bit to an upper bit.
[0019]
In the example shown in FIG. 2, analog switches 91a,..., 91b are provided corresponding to each bit from the least significant bit to the most significant bit, and the analog switch 91a can switch between CS00 and ADR00. The analog switch 91b is configured to be able to switch between CS15 and ADR15. Note that, for example, the contents of the switching setting register 92 connected to the CPU core 40 via a bus are sent to be a control signal.
[0020]
The control signal selects the chip select signal when a high level signal is written in the switching setting register 92, and selects the address signal when a low level signal is written in the switching setting register 92. The analog switch can be selected. In this way, the address signal (ADR00 to ADR15) and the chip select signal (CS00 to CS15) are switched.
[0021]
FIG. 2 shows an example of the bus interface unit 90, and other configurations may be used as long as the address signal and the chip select signal can be switched.
[0022]
First, when a high-level digital signal is supplied to MODEA and MODEB, the gaming machine CPU 100 enters a normal mode. In the normal mode, the mode control unit 10 stores a high level signal in the switching setting register 92.
[0023]
When the CPU core 30 operates in accordance with a program stored in the EPROM 40, addresses and data are transmitted and received within the CPU via the bus 85. The bus interface 90 outputs the chip select signal generated by the chip select unit 80. Any latch IC (not shown) that inputs this chip select signal latches data (D0 to D7). At this time, the address signal itself is not output.
[0024]
On the other hand, when a high-level digital signal is supplied to MODEA and MODEB, the operation of the gaming machine CPU 100 enters the inspection mode, and the operation will be described assuming that the inspection engine inspects the gaming machine CPU 100. First, in the inspection mode, the mode control unit 10 stores a low level signal in the switching setting register 92.
[0025]
When the CPU core 30 operates in accordance with a program stored in the EPROM 40, addresses and data are transmitted and received within the CPU via the bus 85. The bus interface 90 outputs an address signal. At this time, the chip select signal is generated but not output by the address decoding operation of the chip select unit 80.
[0026]
In this way, the signal output from the bus interface 90 can be switched between the address signal and the chip select signal. Therefore, according to this embodiment, since a chip select signal is normally output and an address is output only in a special case such as an inspection in an inspection organization, it is difficult for a third party to analyze a program. The effect that it can be obtained.
[0027]
Instead of changing the contents of the switching setting register 92 by the mode control unit 10, the storage contents of the switching setting register 92 may be forcibly set by a program to perform desired switching.
[0028]
When the address signal is output from the bus interface 90 for inspection, the chip select signal is not output. Therefore, the latch IC operated by the chip select signal cannot be driven in the normal state, and the control operation of the gaming machine can be performed. There will be no. Therefore, if the external chip select unit 200 that generates the chip select signal based on the address signal is output from the bus interface 90 so that it can be mounted on the gaming machine CPU 100, the inspection organization sends the address signal. It is possible to perform normal gaming machine control using a chip select signal while performing the inspection used.
[0029]
FIG. 3 shows a state in which the external chip select unit 200 is mounted on the gaming machine CPU 100. According to this, the external chip select unit 200 performs the same operation as the chip select unit 80, and generates the chip select signal (CS00 to CS15) using the address signal (ADR00 to ADR15).
[0030]
A specific configuration example for realizing the external chip select unit 200 will be described with reference to FIG.
FIG. 4 is a configuration diagram of only a part of the external chip select unit 200, specifically, the generation unit of the chip select signals CS00 and CS01.
[0031]
First, the generation unit of the chip select signal CS00 includes a NAND gate circuit 210 having four input terminals, and AND gate circuits 201, 202, 203, and 204 connected to the four input terminals. ing. The NAND gate circuit 210 can output a low-level signal only when the synchronization clock E generated by the clock generator 20 is input and the synchronization clock E is at a high level. The clock E is obtained when the CPU core is “68HC11” manufactured by Motorola (motorola is a registered trademark).
[0032]
The AND gate circuit 201 is configured to be capable of inputting signals obtained by inverting the signals of the address lines ADR00 to ADR03 by NOT gate circuits 220, 221, 222, and 223. The AND gate circuit 202 includes the address lines ADR04 to ADR07. The AND gate circuit 203 is configured to be able to input signals on the address lines ADR08 to ADR11, and the AND gate circuit 204 further includes signals on the address lines ADR12 to ADR14 and signals on the address line ADR15. Is inverted by a NOT gate circuit 224 so that it can be input.
[0033]
The AND gate circuit 201 outputs a high level signal when the signals on the address lines ADR00 to ADR03 are “0000”, and the AND gate circuit 202 outputs a high level signal when the signals on the address lines ADR04 to ADR07 are “1111”. The AND gate circuit 203 outputs a high level signal when the signals on the address lines ADR08 to ADR11 are “1111”, and the AND gate circuit 204 further outputs the signals on the address lines ADR12 to ADR15 to “0111”. A high level signal is output when.
[0034]
When the outputs from the four AND gate circuits 201 to 204 are “1”, the AND gate circuit 210 outputs a low level signal as the chip select signal CS00. Therefore, when the address signal is “7FF0 (H)”, a chip select signal CS00 for enabling a latch IC (not shown) to be in an enabled state (active low) is output.
[0035]
The chip select signal CS01 generation unit includes a NAND gate circuit 211 having four input terminals, and AND gate circuits 205, 206, 207, and 208 connected to the four input terminals. ing. Further, the synchronization signal E described above is input to the NAND gate circuit 211.
[0036]
The AND gate circuit 205 is configured to be able to input a signal of the address line ADR00 and the address lines ADR01 to ADR03 which are inverted by NOT gate circuits 225, 226 and 227, and the AND gate circuit 206 The ADR04 to ADR07 signals can be input, the AND gate circuit 207 can be configured to input the address lines ADR08 to ADR11, and the AND gate circuit 208 further includes the address lines ADR12 to ADR14 and the address lines. An ADR 15 signal inverted by a NOT gate circuit 228 can be input.
[0037]
The AND gate circuit 205 outputs a high level signal when the signals on the address lines ADR00 to ADR03 are “0001”, and the AND gate circuit 206 outputs a high level signal when the signals on the address lines ADR04 to ADR07 are “1111”. The AND gate circuit 207 outputs a high level signal when the signal on the address lines ADR08 to ADR11 is “1111”, and the AND gate circuit 208 further outputs the signal on the address lines ADR12 to ADR15 to “0111”. A high level signal is output when.
[0038]
When the outputs from the four AND gate circuits 205 to 208 are “1”, the AND gate circuit 211 outputs a low level signal as the chip select signal CS01. Therefore, when the address signal is “7FF1 (H)”, a chip select signal CS01 for enabling a latch IC (not shown) to be enabled (active low) is output.
[0039]
In this way, the chip select unit 80 that generates chip select signals CS00 to CS15 that are active when the address signal is “FFF0 (H)”, “FFF1 (H)”,..., “FFFF (H)”. It is possible to realize the external chip select unit 200 having the same function as the above.
[0040]
Therefore, as shown in FIG. 3, if the address signals ADR00 to ADR15 are input to the external chip select unit 200, a chip select signal can be generated in the same manner as the chip select unit 80.
[0041]
According to this, an address is output from the interface unit 90, the inspection by the inspection organization can be performed using this address, and the gaming machine is normally operated using the chip select signal output from the external chip select unit 200. It can also be operated. As a result, it is possible to prevent an increase in developer man-hours.
[0042]
Next, specific configuration examples of the gaming machine CPU 100 and the external chip selection unit 200 according to the embodiment of the present invention will be described with reference to FIG.
FIG. 5 is a schematic diagram showing a state where the gaming machine CPU and the external chip select unit according to the embodiment of the present invention are mounted on the board. FIG. 5A is a diagram for mounting the gaming machine CPU 100. FIG. 5B shows a configuration of a gaming machine control board 500 that includes a socket portion 510 realized by an IC socket or the like, and that can be mounted on the back side of the gaming machine, and FIG. 5B shows a test prepared separately. The structure of the sub board | substrate is shown. In the normal state, the gaming machine CPU 100 is directly attached to the socket 510, while the inspection sub-board 520 is attached in the inspection mode. The inspection sub-board 520 is provided with a connection pin 540 that protrudes so as to be attachable to the socket portion 510 of the gaming machine control board 500, and further, the gaming machine CPU 100 and the external chip selection section 200. (FIG. 5B shows a state where the gaming machine CPU 100 and the external chip select unit 200 are mounted), and information on the address bus, data bus, and control bus is displayed. A monitor terminal 530 for monitoring is provided.
[0043]
The connection pin 540 has a shape into which an IC socket can be inserted, and the pin arrangement of each terminal is exactly the same as that of the gaming machine CPU 100. The difference from the CPU 100 for gaming machines is that “CS ** / ADR **” (** is a number from 00 to 15, for example) is directly connected, instead of a chip select signal from the external chip select unit 200. “CS **” (** is a number from 00 to 15, for example) is connected. Other signals are connected and supplied directly to the connection pins 540 from the gaming machine CPU 100 mounted on the inspection sub-board 52.
[0044]
Further, the external chip select unit 200 is connected to generate a chip select signal “CS **” from the address from the gaming machine CPU 100. In addition, a signal necessary for inspection by the inspection organization is connected to be able to be taken out from the monitor terminal 530. The signals to be connected include the address bus “ADR **” from the gaming machine CPU 100, the data bus (D0 to D7), and the control signals (E, R / W). ) And the like. The monitor terminal 530 is connected to an inspection device such as an external logic analyzer so that the program can be inspected and analyzed.
[0045]
The gaming machine CPU 100 may be configured to automatically enter the inspection mode when connected to the inspection sub-board 520. For this purpose, a desired digital signal may be supplied to a desired pin position of an IC socket in which the CPU 100 for gaming machines is mounted so that a desired digital signal is supplied to MODEA and MODEB. . The inspection sub-board 520 having such a configuration is attached to the socket portion 510 by the connection pins 540.
[0046]
By this mounting, the signal from the gaming machine CPU 100 can be supplied to the gaming machine control board 500 side, so the gaming machine control board 500 is mounted with the gaming machine CPU 100 operating in the normal mode. Perform the same operation as
[0047]
Furthermore, if the performance of the external chip select section 200 is configured with the same function as the chip select section 80 built in the gaming machine CPU 100, it can operate under exactly the same conditions as when the CPU 100 is directly mounted. On the other hand, on the inspection sub-board 520 side to which the gaming machine CPU 100 is attached, an external inspection device such as a logic analyzer is connected to the monitor terminal 530, thereby enabling operation inspection and analysis. In the above description of the embodiment, a pachinko machine has been particularly assumed. However, the present invention provides a gaming machine CPU that can be suitably applied to other gaming machines such as a pachislot machine. Is.
[0048]
【The invention's effect】
As described above, according to the first and second aspects of the invention, the interface unit switches and outputs the address signal and the chip select signal according to the set mode. In addition to the output, an address signal is output at the time of inspection at the inspection organization, so that it is possible to make the analysis by the third party difficult while enabling inspection at the inspection organization.
[0049]
According to the invention of claim 3 , when the external chip select unit is attached to the interface unit, a chip select signal is output from the external chip select unit and an address signal is output from the interface unit. The inspection can be performed by the inspection organization using the signal , and the gaming machine can be normally operated using the chip select signal.
[Brief description of the drawings]
FIG. 1 is a block diagram of a gaming machine CPU according to an embodiment of the present invention.
FIG. 2 is a configuration diagram of a bus interface unit.
FIG. 3 is a block diagram of a gaming machine CPU to which an external chip select unit is connected.
FIG. 4 is a configuration diagram of an external chip select unit.
FIG. 5 is a schematic diagram showing a state in which a gaming machine CPU and an external chip select unit according to an embodiment of the present invention are mounted on a substrate.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 Mode control part 20 Clock generation part 30 General-purpose function part 31 Interrupt control part 32 Timer part 33 Watchdog part 34 PWM part 40 CPU core 50 EPROM
60 EEPROM
70 RAM
80 chip select section 90 bus interface section 91a analog switch 91b analog switch 92 switching setting register 100 CPU for gaming machine
200 External Chip Select Units 201-208 AND Gate Circuit 210 NAND Gate Circuit 211 NAND Gate Circuits 220-228 NOT Gate Circuit 500 Game Machine Control Board 510 Socket Unit 520 Inspection Sub-board 530 Monitor Terminal 540 Connection Pin

Claims (3)

遊技機を制御するための遊技機用の中央処理装置において、
モードを切り替える信号が与えられるとこれに対応したモードを設定するモード制御部と、
このモード制御部に設定されているモードに応じて切り替え信号を記憶する切り替え設定レジスタと、
バス上に供給されるアドレス信号をデコードしてチップセレクト信号を生成するチップセレクト部と、
前記切り替え信号に応じて前記アドレス信号と前記チップセレクト部が生成したチップセレクト信号とを切り替えて外部に出力可能なインタフェース部と、を備えたことを特徴とする遊技機用中央処理装置。
In a central processing unit for gaming machines for controlling gaming machines,
A mode control unit for setting a mode corresponding to a signal for switching the mode;
A switching setting register for storing a switching signal according to the mode set in the mode control unit;
A chip select unit that decodes an address signal supplied on the bus and generates a chip select signal;
A central processing unit for gaming machines, comprising: an interface unit capable of switching the address signal and the chip select signal generated by the chip select unit in accordance with the switching signal and outputting the same to the outside .
前記切り替え設定レジスタは、前記モード制御部に記憶されているモードが検査モードであるときには、前記インタフェース部から前記アドレス信号が出力され、前記モード制御部に記憶されているモードが通常モードであるときには、前記インタフェース部から前記チップセレクト信号が出力されるように、前記切り替え信号を記憶するようになっている請求項1記載の遊技機用中央処理装置。 The switching setting register outputs the address signal from the interface unit when the mode stored in the mode control unit is a test mode, and when the mode stored in the mode control unit is a normal mode. The central processing unit for gaming machines according to claim 1, wherein the switching signal is stored so that the chip select signal is output from the interface unit . 遊技機を制御するための遊技機用の中央処理装置において、In a central processing unit for gaming machines for controlling gaming machines,
バス上に供給されるアドレス信号をデコードしてチップセレクト信号を生成するチップセレクト部と、  A chip select unit that decodes an address signal supplied on the bus and generates a chip select signal;
前記アドレス信号と前記チップセレクト部が生成したチップセレクト信号とを切り替えて出力可能なインタフェース部と、を備え、  An interface unit capable of switching and outputting the address signal and the chip select signal generated by the chip select unit;
前記インタフェース部は、外部チップセレクト部を装着可能に構成され、前記外部チップセレクト部は、前記インタフェース部から前記アドレス信号が出力される場合、このアドレス信号に対応するチップセレクト信号を出力することを特徴とする遊技機用中央処理装置。  The interface unit is configured so that an external chip select unit can be mounted. When the address signal is output from the interface unit, the external chip select unit outputs a chip select signal corresponding to the address signal. A central processing unit for gaming machines.
JP24808697A 1997-09-12 1997-09-12 Central processing unit for gaming machines Expired - Lifetime JP3871776B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24808697A JP3871776B2 (en) 1997-09-12 1997-09-12 Central processing unit for gaming machines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24808697A JP3871776B2 (en) 1997-09-12 1997-09-12 Central processing unit for gaming machines

Publications (2)

Publication Number Publication Date
JPH1176565A JPH1176565A (en) 1999-03-23
JP3871776B2 true JP3871776B2 (en) 2007-01-24

Family

ID=17173008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24808697A Expired - Lifetime JP3871776B2 (en) 1997-09-12 1997-09-12 Central processing unit for gaming machines

Country Status (1)

Country Link
JP (1) JP3871776B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6446637B2 (en) * 2013-11-28 2019-01-09 株式会社ソフイア Game machine

Also Published As

Publication number Publication date
JPH1176565A (en) 1999-03-23

Similar Documents

Publication Publication Date Title
US6593771B2 (en) Method and system for use of a field programmable interconnect within an ASIC for configuring the ASIC
KR100198382B1 (en) Computer with multi-booting function
JPH0863340A (en) Method and equipment for communication of configuration information of system in network
KR920005836B1 (en) Single chip micro computer
US7100088B2 (en) Computer system equipped with a BIOS debugging card
US4989208A (en) Data processor
US6442725B1 (en) System and method for intelligent analysis probe
JPH0472271B2 (en)
KR900000113B1 (en) Computer system with command supervision
JP3871776B2 (en) Central processing unit for gaming machines
JP3293125B2 (en) Initial setting and diagnosis method for on-chip multiprocessor system
JPH0827730B2 (en) Single-chip microcomputer and test method thereof
US6393558B1 (en) Peripheral component interconnect (PCI) card for selectively processing a PCI bus reset signal and method for resetting the PCI card
JP3198997B2 (en) Microcomputer and burn-in test method thereof
US20050192791A1 (en) Method for emulating an integrated circuit and semiconductor chip for practicing the method
KR20000008628A (en) How to output boot music of computer system
JP2000293394A (en) Processor with BIST function
JPH0232620A (en) Programmable logic array
JPH10283266A (en) Semiconductor integrated circuit and test method of this semiconductor integrated circuit
JP3125950B2 (en) Application specific integrated circuits
JPH01263739A (en) Information processor
JP3453068B2 (en) Semiconductor integrated circuit and test pattern creation method
JPH0440543A (en) Semiconductor integrated circuit device
JP2000181579A (en) Initial value setting changing device
JP2002287956A (en) Microcomputer

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060523

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060724

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: 20061003

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061018

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: 20101027

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101027

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111027

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111027

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121027

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131027

Year of fee payment: 7

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

EXPY Cancellation because of completion of term