JP4120765B2 - Internal ROM rewrite method for CPU for gaming machine - Google Patents
Internal ROM rewrite method for CPU for gaming machine Download PDFInfo
- Publication number
- JP4120765B2 JP4120765B2 JP2001398823A JP2001398823A JP4120765B2 JP 4120765 B2 JP4120765 B2 JP 4120765B2 JP 2001398823 A JP2001398823 A JP 2001398823A JP 2001398823 A JP2001398823 A JP 2001398823A JP 4120765 B2 JP4120765 B2 JP 4120765B2
- Authority
- JP
- Japan
- Prior art keywords
- rom
- data
- gaming machine
- cpu
- rewrite
- 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)
- Storage Device Security (AREA)
- Stored Programmes (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、書き換え可能なROMを内蔵する遊技機用CPUをリサイクルするための遊技機用CPUの内蔵ROM書き換え方法に関するものである。
【0002】
【従来の技術】
近年、パチンコ機等の遊技機には、遊技機用CPUが搭載され、遊技内容がコンピュータ制御されている。かかる遊技機用CPUは、ROMに記憶された遊技プログラムに基づいて遊技機を制御する。現在では、遊技機用CPUとして、主にROM内蔵のものが使用されている。ここで、ROMとしては、一旦書き込んだら再度書き込むことができないワンタイムROMや、書き換え可能なフラッシュROM等が用いられる。
【0003】
また、遊技機用CPUとしては、一般産業向けのものと異なり、セキュリティ機能を有するなど、特殊なものが用いられる。一般に、遊技機メーカは、パチンコ機等について検定を受けて許可を得ることにより、初めてそのパチンコ機等を生産することができる。このため、パチンコ機等に搭載された遊技機用CPUには、当該検定で使用されたプログラム(正規プログラム)以外の不正なプログラムを用いた場合に、当該遊技機用CPUが正常に動作しないというようなセキュリティ機能が付加されている。このように、遊技機用CPUは特殊なものであるので、一般産業向けのCPUと比べて、非常に高価である。
【0004】
【発明が解決しようとする課題】
ところで、上述したように、遊技機用CPUは非常に高価であるので、市場において不用となった遊技機から遊技機用CPUを回収し、それを再利用(リサイクル)することが望まれる。かかるリサイクルを行うときには、ROMに記憶された遊技プログラムを新しい遊技機向けのプログラムに書き換える必要がある。このため、リサイクルの対象となるのは、書き換え可能なROMが内蔵された遊技機用CPUである。
【0005】
しかしながら、かかる書き換え可能なROMが内蔵された遊技機用CPUについては、当該CPUを製造したCPUメーカだけでなく、他のCPUメーカや遊技機メーカ等も、ROMに記憶されたプログラムを書き換えてリサイクルすることができる。このような第三者によるリサイクル行為を自由に認めると、当該CPUメーカにとっては、自己の生産した新品のCPUの売行きが落ち込み、自己が投じた多大な開発費を回収することが困難になってしまう。
【0006】
本発明は上記事情に基づいてなされたものであり、第三者がCPUメーカの許可を受けずに遊技機用CPUをリサイクルすることを防止することができる遊技機用CPUの内蔵ROM書き換え方法を提供することを目的とするものである。
【0007】
【課題を解決するための手段】
上記の目的を達成するための本発明に係る遊技機用CPUの内蔵ROM書き換え方法は、プログラムデータを記憶する書き換え可能なROMと、あるデータを暗号化するための複数の暗号アルゴリズムと、あるデータを複数の暗号アルゴリズムの中の一つの暗号アルゴリズムにより暗号化した暗号データと、暗号データを復号するための複数の復号アルゴリズムと、暗号データを復号するために複数の復号アルゴリズムの中から一つの復号アルゴリズムを選択するためのデータである鍵データとを記憶する記憶手段と、データの送受が可能なROMライターによる、ROMに記憶するプログラムデータの書き変えを許可するか否かを判断する書換認証手段と、を内蔵する遊技機用CPUをリサイクルする遊技機用CPUのリサイクル方法であって、書換認証手段は、ROMライターに対して、記憶手段に記憶する暗号データと鍵データを送信し、ROMライターは、記憶手段に記憶する復号アルゴリズムと同じ複数の復号アルゴリズムをROMライター用記憶手段に記憶し、書換認証手段から暗号データと鍵データを受信すると、ROMライター用記憶手段に記憶する複数の復号アルゴリズムの中から鍵データに対応する一つの復号アルゴリズムを選択し、その選択した復号アルゴリズムを用いて受信した暗号データを復号した復号データを遊技機用CPUに送信し、書換認証手段は、ROMライターから復号データを受信すると、その受信した復号データと、記憶手段に記憶する複数の復号アルゴリズムの中から鍵データに対応する一つの復号アルゴリズムを選択し、その選択した復号アルゴリズムを用いて記憶手段に記憶する暗号データを復号した復号データとが一致するか否かを判断し、ROMライターから送られた復号データと自己が復号した復号データとが一致したときに、ROMライターによるROMに記憶されたプログラムデータの書き変えを許可するものである。
【0008】
また、本発明に係る遊技機用CPUの内蔵ROM書き換え方法は、書換認証手段が、ROMに記憶されたプログラムデータが書き換えられるたびに複数の暗号アルゴリズムの中から一つの暗号アルゴリズムを選択し新たな暗号データと鍵データとを生成し、記憶手段に記憶するものであることが望ましい。
【0009】
また、本発明に係る遊技機用CPUの内蔵ROM書き換え方法は、書換認証手段が、ROMライターから送られた復号データと自己が復号した復号データとが一致しないときは、認証処理を終了することが望ましい。
【0010】
また、本発明に係る遊技機用CPUの内蔵ROM書き換え方法は、書換認証手段が、ROMライターから送られた復号データと自己が復号した復号データとが一致したときに、ROMをCPUコア及び内蔵リソースと切り離すように遊技機用CPUのバスコントローラに指示することにより、ROMライターは書換認証手段を介してROMとのみ接続された状態となることが望ましい。
【0011】
また、本発明に係る遊技機用CPUの内蔵ROM書き換え方法は、書換認証手段は、ROMライターからROMの一部又は全部についてプログラムデータの書き変えの要求があった場合に当該書き変えを許可するか否かを判断し、当該書き変えを許可するときにROMの状態を書き変え可能な状態に遷移させ、ROMライターは、遊技機用CPUに対してプログラムデータの書き変えの要求を送り、書換認証手段から書き変えを許可する旨の認証を受けたときにROMに記憶されているプログラムデータの書き換えを行うことが望ましい。
【0012】
また、本発明に係る遊技機用CPUは、プログラムデータを記憶する書き換え可能なROMと、あるデータを暗号化するための複数の暗号アルゴリズムと、あるデータを複数の暗号アルゴリズムの中の一つの暗号アルゴリズムにより暗号化した暗号データと、暗号データを復号するための複数の復号アルゴリズムと、暗号データを復号するために複数の復号アルゴリズムの中から一つの復号アルゴリズムを選択するためのデータである鍵データとを記憶する記憶手段と、データの送受が可能なROMライターによる、ROMに記憶するプログラムデータの書き変えを許可するか否かを判断する書換認証手段と、を備え、書換認証手段は、ROMライターに対して暗号データと鍵データとを送出し、ROMライターから暗号データを復号した復号データを受信すると、その受信した復号データと、記憶手段に記憶する複数の復号アルゴリズムの中から鍵データに対応する一つの復号アルゴリズムを選択し、その選択した復号アルゴリズムを用いて暗号データを復号した復号データとが一致するか否かを判断し、ROMライターから送られた復号データと自己が復号した復号データとが一致したときに、ROMライターによるROMに記憶されているプログラムデータの書き変えを許可するものである。
【0013】
また、本発明に係るROMライターは、遊技機用CPUとデータの送受が可能なROMライターであって、遊技機用CPUの記憶手段に記憶されている複数の復号アルゴリズムと同じ複数の復号アルゴリズムを記憶するROMライター用記憶手段を備え、遊技機用CPUから暗号データと鍵データとを受信したときに、ROMライター用記憶手段に記憶する複数の復号アルゴリズムの中のから鍵データに対応する一つの復号アルゴリズムを選択し、その選択した復号アルゴリズムを用いて受信した暗号データを復号した復号データを遊技機用CPUに送信し、書換認証手段からROMに記憶したプログラムデータの書き変えが許可されたときに、ROMに記憶されているプログラムデータを書き換えるものである。
【0014】
【発明の実施の形態】
以下に本発明の第一実施形態について図面を参照して説明する。図1は本発明の第一実施形態である遊技機用CPUの内蔵ROM書き換え方法においてリサイクルの対象となる遊技機用CPUの概略ブロック図である。
【0015】
本実施形態の遊技機用CPUの内蔵ROM書き換え方法は、書き換え可能なROMを内蔵する特定の遊技機用CPUを回収した後、その特定の遊技機用CPUに対する専用のROMライターを用いて、ROMに記憶されたプログラムを書き換えるものである。ここで、専用のROMライターは、当該特定の遊技機用CPUを製造したCPUメーカ側にのみ配置されている。こうして新規のプログラムが書き込まれた遊技機用CPUは、リサイクル品として、再度、遊技機に搭載して使用される。
【0016】
また、「特定の遊技機用CPU」とは、本実施形態の遊技機用CPUの内蔵ROM書き換え方法を適用して、リサイクルすることができる遊技機用CPUのことである。本実施形態の遊技機用CPUの内蔵ROM書き換え方法は、あらゆる種類の遊技機用CPUに対して適用することができるというわけではない。
【0017】
次に、本実施形態の遊技機用CPUの内蔵ROM書き換え方法においてリサイクルの対象となる特定の遊技機用CPU及び専用のROMライターについて説明する。
【0018】
本実施形態においてリサイクルの対象となる遊技機用CPUは、書き換え可能なROMを内蔵しており、そのROMに記憶された遊技プログラムに基づいて遊技機を制御するものである。かかる遊技機用CPU10は、ワンチップCPUであり、図1に示すように、CPUコア11と、内蔵リソース12と、ROM13と、バスコントローラ14と、書換認証制御部(書換認証手段)15と、複数の外部端子とを備える。
【0019】
CPUコア11は、一般的なCPUコアである。内蔵リソース12は、一般にワンチップCPUに内蔵されるリソースであり、具体的には、ROMを除くRAM、タイマ、カウンタ等を含むものである。また、ROM13としては、例えば、通常のパラレルEEPROMが用いられる。
【0020】
ROM13には、遊技機を制御するのに必要な遊技プログラムが記憶されている。かかるROM13の一部又は全部のエリアに記憶されたプログラムを書き換える際には、専用のROMライター60が使用される。このROMライター60は、遊技機用CPU10の外部端子に接続される。書換認証制御部15は、ROMライター60がROM13に記憶されたプログラムを書き換えることに対する認証処理を行うものである。具体的には、書換認証制御部15は、ROMライター60との間でデータのやりとりを行い、そのROMライター60によるプログラムの書き換えの要求を許可するか否かを判断する。そして、その書き換えの要求を認めるときには、書き換えを許可する旨の認証信号をROMライター60に送る。ROMライター60は、書き換えを許可する旨の認証信号を受け取ると、ROM13に記憶されたプログラムの内容を書き換えることができる。
【0021】
尚、本実施形態では、「書き換える」という用語を、ROM13に新たなプログラムを書き込むことと、ROM13に記憶されたプログラムを消去することの両方を含む意味で使用する。実際、プログラムを消去する場合には、ROM13の全エリアに対して、ブランクデータ(例えば00やFF)を書き込むことになる。
【0022】
また、ROM13には、遊技プログラムの他に、暗号データ、鍵データ、複数の暗号アルゴリズム及び復号アルゴリズムが記憶されている。暗号データは、あるデータを所定の暗号アルゴリズムにより暗号化したものである。鍵データは、当該暗号データの生成に使用した暗号アルゴリズムの種類を特定したデータである。かかる暗号データと鍵データは、書換認証制御部15が認証処理を行うために必要なデータである。かかる鍵データから暗号アルゴリズムの種類が分かると、当該暗号アルゴリズムに対する復号アルゴリズムが分かり、これにより、当該暗号データを復号化することが可能となる。また、書換認証制御部15は、ROM13に記憶されたプログラムの内容が書き換えられる度に、複数の暗号アルゴリズムのうちから一の暗号アルゴリズムを選択し、その暗号アルゴリズムにより新たな暗号データを生成すると共に、その暗号データに対する鍵データを生成する。こうして生成された暗号データと鍵データは、ROM13の所定エリアに格納される。尚、暗号データ、鍵データ、複数の暗号アルゴリズム及び復号アルゴリズムは、ROM13に限らず、遊技機用CPU10内の他の記憶手段に記憶するようにしてもよい。
【0023】
また、ROMライター60内の記憶手段にも、上述した複数の復号アルゴリズムが記憶されている。このROMライター60は、かかる複数の復号アルゴリズムと、通信等により書換認証制御部15との間でデータのやり取りを行う機能とを備えているという意味で、上記遊技機用CPU10に対する専用のROMライターである。したがって、書換認証制御部15との間でデータのやり取りを行う機能等を有する専用のROMライター60を用いなければ、ROM13に新たなプログラムを書き込んだり、ROM13に記憶されたプログラムを消去することができない。特に、本実施形態では、専用のROMライター60を、遊技機用CPU10を製造したCPUメーカ側にのみ配置している。これにより、当該遊技機用CPU10を製造したCPUメーカのみが当該遊技機用CPU10のROM13に記憶されたプログラムデータを書き換える権能を保有する。
【0024】
バスコントローラ14は、書換認証制御部15が認証処理によりROMライター60に対して書き換えを許可したときに、ROM13をCPUコア11、内蔵リソース12から電気的に切り離すものである。すなわち、この場合には、遊技機用CPU10は、ROM13とROMライター60のみが書換認証制御部15を介して接続されている状態となる。しかも、ROM13とCPUコア11、内蔵リソース12とが切り離されている間は、CPUコア11は停止状態となるように構成されている。したがって、ROMライター60からみると、当該遊技機用CPU10はあたかもROM単体であるかのような状態になっている。
【0025】
CPUコア11と内蔵リソース12とバスコントローラ14との間、バスコントローラ14と書換認証制御部15と外部端子との間、及び書換認証制御部15とROM13との間は、各種バスにより接続されている。各種バスには、アドレスバスA、データバスD、コントロールバスCが含まれる。
【0026】
アドレスバスA、データバスDはそれぞれ、一般的なアドレスバス、データバスである。これらは、ROM13に記憶されたプログラムを書き換える際にも使用される。また、コントロールバスCも、一般的なコントロールバスであり、ROM13に記憶されたプログラムを書き換える際にも使用される。このため、コントロールバスCは、通常用いられる機能と別の機能をも有するようになっている。例えば、CPUコア11としてはザイログ社製のZ80を、内蔵ROM13としてはパラレルEEPROMを使用した場合、ROM13のCE(チップイネーブル入力)端子は、CPUコア11との接続に際しては使用されないが、ROMライター60との接続に際してはCE端子として使用される。また、ROM13のOE(アウトプットイネーブル入力)端子は、CPUコア11との接続に際してはMREQ端子として使用され、ROMライター60との接続に際してはOE端子として使用される。更に、ROM13のWE(ライトイネーブル入力)端子は、CPUコア11との接続に際しては使用されないが、ROMライター60との接続に際してはWE端子として使用される。尚、CE、OE、WEの各端子は、EEPROMの一般的な端子であるので、ここでは、その説明を省略する。また、同様に、MREQ端子についても、その説明を省略する。
【0027】
また、バスコントローラ14と書換認証制御部15とは、バス制御線21により接続され、書換認証制御部15と外部端子とは、書換認証制御線22により接続されている。また、書換認証制御部15とROM13とは、プロテクト制御線23により接続されている。
【0028】
書換認証制御線22は、ROMライター60と書換認証制御部15との間で認証処理を行うための制御線である。ここで、書換認証制御線22については、方式、本数は問わない。また、バス制御線21は、バスコントローラ14が書換認証制御部15から、各種バスA,D,CをCPUコア11、内部リソース12から切り離す旨の信号を受け取るための制御線である。
【0029】
本実施形態では、ROM13は、書換プロテクト機能を有している。プロテクト制御線23は、ROM13に記憶されたプログラムの書き換えが禁止されているか、その書き換え禁止が解除されているかを制御するための制御線である。ROM13へのプロテクト制御線23が書換禁止状態にある場合は、ROM13の状態は書き換え不能な状態であり、したがって、ROMライター60はプログラムを書き換えることができない。一方、ROM13へのプロテクト制御線23が書換禁止解除状態にある場合は、ROM13の状態は書き換え可能な状態である。すなわち、ROMライター60は、ROM13へのプロテクト制御線23が書換禁止解除状態にあるときのみ、プログラムを書き換えることができる。書換禁止解除状態と書換禁止状態との間の状態遷移は、書換認証制御部15だけが行うことができる。
【0030】
ROMライター60が遊技機用CPU10と接続されていない一般的な使用状況下では、ROM13は、各種バスA,D,Cにより、書換認証制御部15及びバスコントローラ14を介して、CPUコア11、内蔵リソース12と接続される。したがって、この場合には、遊技機用CPU10の動作は一般的なワンチップCPUと同一である。また、当然、ROM13へのプロテクト制御線23は書換禁止状態のままである。尚、各種バスA,D,Cは、外部端子に接続されているため、回路構成によっては外部回路とバス接続することも可能である。
【0031】
一方、ROMライター60が遊技機用CPU10と接続されると、書換認証制御部15は、書換認証制御線22を介して、ROMライター60との間で暗号データ、鍵データ、復号データ等を所定の通信プロトコルでやり取りし、認証処理を行う。書換認証制御部15は、その認証処理において書き換えを許可するとき、バス制御線21を介してバスコントローラ14に、各種バスA,D,CをCPUコア11及び内蔵リソース12から切り離す旨の信号を送出すると共に、ROM13へのプロテクト制御線23を書換禁止解除状態にする。このプロテクト制御線23は、書換認証制御部15により書き換えが許可されない限り、書換禁止解除状態にはならず、また、ROM13に記憶されたプログラムの書き換えが終了したときには、速やかに書換禁止状態になる。したがって、実際に、専用のROMライター60以外の手段を用いて、ROM13にプログラムを書き込もうとしても、プロテクト制御線23は書換禁止状態になっており、しかも、その状態を解除することはできないので、プログラムの書き込みは不可能である。
【0032】
尚、プロテクト制御線23は、遊技機用CPU10の電源を投入した際に、デフォルトとして必ず書換禁止状態となる。このため、プロテクト制御線23が書換禁止解除状態にあるときに、遊技機用CPU10の電源を切ってしまうと、その後、プログラムを書き換えようとして電源を再投入した時点で、プロテクト制御線23は書換禁止状態に戻ってしまう。すなわち、本実施形態では、遊技機用CPU10は、電源を切ると、プログラムの書き換えができないないように自動的にロックされる。
【0033】
次に、第一実施形態の遊技機用CPUの内蔵ROM書き換え方法について詳しく説明する。図2は第一実施形態における遊技機用CPUのリサイクルの手順を説明するためのフローチャート、図3は第一実施形態においてROM13に記憶されたプログラムを書き換える際の処理手順を説明するためのフローチャートである。
【0034】
まず、CPUメーカは、ROM内蔵の遊技機用CPU10を新たに製造する(S11)。次に、CPUメーカは、専用のROMライター60を用いて、その遊技機用CPU10のROM13に新規プログラムを書き込む(S12)。このとき、遊技機用CPU10の書換認証制御部15は暗号データ及び鍵データを作成し、ROM13の所定エリアに格納する。かかるプログラムを書き込む処理は図3のフローに従って行われるが、その詳細は後述する。その後、CPUメーカは、その遊技機用CPU10を遊技機メーカに引き渡す(S13)。こうして、遊技機メーカは、かかる遊技機用CPU10を搭載した遊技機を製造し、販売することになる(S14)。
【0035】
販売後、数年が経過して、当該遊技機が市場において不用となると、遊技機メーカは、使用済みの遊技機用CPU10をリサイクルするために、不用となった遊技機を回収し、その中の遊技機用CPU10を取り出す(S15)。そして、遊技機メーカは、かかる遊技機用CPU10を製造したCPUメーカに、その遊技機用CPU10を引き渡す(S16)。尚、当然のことながら、遊技機メーカは、遊技機用CPU10をリサイクル品として使用する場合、予めCPUメーカの許可を受けておく必要がある。
【0036】
CPUメーカは、専用のROMライター60を用いて、当該遊技機用CPU10のROM13に記憶されたプログラムを新機種の遊技機用のプログラムに書き換える(S17)。かかるプログラムを書き換える際の処理は、図3のフローに従って行われる。
【0037】
CPUメーカが専用のROMライター60を遊技機用CPU10の外部端子に接続すると、図3の処理フローが開始される。まず、書換認証制御部15は、前回、ROM13のプログラムを書き込んだ際にROM13の所定エリアに格納された暗号データ及び鍵データを読み取る(S31)。その後、書換認証制御部15は、その読み取った暗号データ及び鍵データを、所定の通信プロトコルで書換認証制御線22を介してROMライター60に送信する(S32)。ここで、通信プロトコルはどのようなものであってもよい。
【0038】
次に、ROMライター60は、遊技機用CPU10から送られた暗号データ及び鍵データを受け取ると、複数の復号アルゴリズムのうちから、当該鍵データに応じた復号アルゴリズムを決定する(S33)。そして、その決定した復号アルゴリズムに基づいて、当該暗号データを復号データに復号する(S34)。その後、ROMライター60は、その復号データを、所定の通信プロトコルで遊技機用CPU10に送信する(S35)。
【0039】
また、書換認証制御部15は、複数の復号アルゴリズムのうちから、ステップS31において読み取った鍵データに応じた復号アルゴリズムを決定する(S6)。そして、その決定した復号アルゴリズムに基づいて、ステップS31において読み取った暗号データを復号データに復号する(S37)。
【0040】
次に、書換認証制御部15は、ステップS35の処理によりROMライター60から送られた復号データと、ステップS37において自己が復号した復号データとを比較照合し、それらが一致するか否かを判断する(S38)。かかる二つの復号データが一致しなければ、書換認証制御部15は、それ以後の認証制御を行わず、電源が切れるまで何もしない状態となる。この場合、図3に示す処理フローは終了する。
【0041】
一方、二つの復号データが一致すると、書換認証制御部15は、ROMライター60に対して書き換えを許可することを決定する。このとき、書換認証制御部15は、まず、バス制御線21を介して、各種バスA,D,CをCPUコア11、内蔵リソース12から切り離す旨の信号をバスコントローラ14に送信する(S39)。こうして、バスコントローラ14が各種バスA,D,Cを切り離すと、ROM13は、書換認証制御部15を介してROMライター60とのみ接続された状態となる。また、書換認証制御部15は、プロテクト制御線23を書換禁止解除状態にする(S40)。これにより、ROM13に記憶されたプログラムを書き換えることができるようになる。更に、書換認証制御部15は、書き換えを許可する旨の認証信号を、所定の通信プロトコルで書換認証制御線22を介してROMライター60に送信する(S41)。
【0042】
ROMライター60は、かかる書き換えを許可する旨の認証信号を受け取ると、各種バスA,D,Cを介して、所定の書込データ(プログラムデータ)又は消去データ(ブランクデータ)を遊技機用CPU10に送信する(S42)。その後、書換認証制御部15は、ROMライター60からの書込データ又は消去データをROM13に書き込む(S43)。これにより、ROM13には新たなプログラムが書き込まれ、又は、ROM13に記憶されていたプログラムはすべて消去される。こうしてプログラムが書き換えられると、書換認証制御部15は、新たな暗号データ及び鍵データを生成し、ROM13の所定エリアに格納する(S44)。以上で、図3に示す処理フローが終了する。
【0043】
尚、プロテクト制御線23は、電源投入時にデフォルトとして必ず書換禁止状態となる。このため、上記の図3の処理フローが終了した後、一旦電源が落とされると、それ以後は、再び認証処理を経なければ、プロテクト制御線23は書換禁止解除状態となることはない。
【0044】
図3の処理フローに従ってROM13に記憶されたプログラムが書き換えられた後は、CPUメーカは、当該遊技機用CPU10を遊技機メーカに引き渡す(S18)。その後は、図2のステップS14に移行する。このようにしてCPUメーカ及び遊技機メーカは、遊技機用CPU10をリサイクルすることができる。
【0045】
第一実施形態では、使用済みの特定の遊技機用CPUを回収した後、その特定の遊技機用CPUに対する専用のROMライターを用いて、ROMに記憶されたプログラムを書き換える。したがって、かかる専用のROMライターを、当該遊技機用CPUを製造したCPUメーカ側にのみ配置することにより、そのCPUメーカだけがプログラムの書き換えを行うことができ、それ以外の第三者は一般のROMライターを用いたのでは、プログラムを書き換えることができない。このため、当該CPUメーカ及びその許可を受けた者だけが、当該遊技機用CPUをリサイクルすることが可能となる。このとき、リサイクルに要する費用を、そのリサイクル品の販売価格に上乗せすれば、新品販売と同じく利益設定をすることができるので、CPUメーカは、安心してリサイクルに取り組むことができる。また、リサイクル時に、当該リサイクル品の再検査を行うことにより、CPUメーカによる遊技機用CPUの一元管理が可能となるので、市場における遊技機用CPUの品質を一定水準に確保することができる。
【0046】
また、第一実施形態では、遊技機用CPUとして、書換認証制御部が、ROMの一部又は全部についてプログラムの書き換えの要求があった場合に書き換えを許可するか否かを判断し、書き換えを許可するときにROMへのプロテクト制御線を書換禁止解除状態に遷移させるものを使用し、また、専用のROMライターとして、上記の遊技機用CPUに対してプログラムの書き換えの要求を送ると共に、書換認証制御部から書き換えを許可する旨の認証を受けたときにプログラムの書き換えを行うものを使用している。このため、かかる遊技機用CPU及び専用のROMライターは、第一実施形態の遊技機用CPUの内蔵ROM書き換え方法において使用するのに好適である。
【0047】
次に、本発明の第二実施形態について図面を参照して説明する。図4は本発明の第二実施形態における遊技機用CPUのリサイクルの手順を説明するためのフローチャートである。
【0048】
尚、第二実施形態では、リサイクル対象となる遊技機用CPUの概略ブロック図は図1とほぼ同様である。また、第二実施形態において、第一実施形態のものと同一の機能を有するものには、同一の符号を付すことにより、その詳細な説明を省略する。
【0049】
第二実施形態における遊技機用CPUのリサイクル方法が上記第一実施形態のものと異なる点は、CPUメーカが遊技機用CPU10のROM13に記憶されたプログラムの消去のみを行い、遊技機メーカがそのブランク状態のROM13に新規プログラムを書き込むようにした点である。この場合、遊技機用CPU10としては、例えば、プログラムの消去については専用のROMライター60を用いなければ行うことができず、プログラムの書き込みについては一般のROMライターを用いても行うことができるようなものを用いる。これを実現するためには、ROM13内のプログラムが消去されていないと、新たにプログラムを書き込むことができないように、遊技機用CPU10を構成しておけばよい。すなわち、専用のROMライター60によるプログラムの消去が完了した場合には、プロテクト制御線23が書換禁止状態にならず、再書き込みを行う前であれば、たとえ電源を切った後に再度電源を投入したとしても、プロテクト制御線23の状態として書換禁止解除状態が保持されるようにすればよい。尚、上記の第一実施形態では示さなかったが、新品の遊技機用CPU10についても、プログラムの消去済のものと同様に、プロテクト制御線23が書換禁止解除状態となっていることが望ましい。
【0050】
次に、第二実施形態における遊技機用CPUのリサイクルの手順ついて説明する。
【0051】
図4のフローに従い、まず、CPUメーカは、遊技機用CPU10を新たに製造する(S61)。このとき、遊技機用CPU10のROM13はブランク状態になっている。次に、CPUメーカは、その遊技機用CPU10を遊技機メーカに引き渡す(S62)。その後、遊技機メーカは、一般のROMライターを用いて、その遊技機用CPU10のROM13に新規プログラムを書き込む(S63)。そして、遊技機メーカは、かかる遊技機用CPU10を搭載した遊技機を製造し、販売する(S64)。
【0052】
販売後、数年が経過して、当該遊技機が市場において不用となると、遊技機メーカはその遊技機を回収し、その中の遊技機用CPU10を取り出す(S65)。そして、遊技機メーカは、その遊技機用CPU10を、当該遊技機用CPU10を製造したCPUメーカに引き渡す(S66)。
【0053】
CPUメーカは、専用のROMライター60を用いて、当該遊技機用CPU10のROM13に記憶されたプログラムを消去する(S67)。その後、CPUメーカは、かかるプログラム消去済の遊技機用CPU10を遊技機メーカに引き渡す(S68)。
【0054】
次に、遊技機メーカは、一般のROMライターを用いて、その遊技機用CPU10のROM13に新規プログラムを書き込む(S69)。その後は、図4のステップS64に移行する。このようにしてCPUメーカ及び遊技機メーカは、遊技機用CPU10をリサイクルすることができる。
【0055】
第二実施形態では、遊技機用CPUを製造したCPUメーカだけがROM内のプログラムを消去することができ、しかも、ROM内のプログラムが消去されていないと、ROMに新たなプログラムを書き込むことができないので、CPUメーカの許可を受けなければ、第三者は勝手にプログラムを書き換えることができない。したがって、当該CPUメーカ及びその許可を受けた者だけが、当該遊技機用CPUをリサイクルすることが可能となる。その他の効果は第一実施形態と同様である。
【0056】
次に、本発明の第三実施形態について図面を参照して説明する。図5は本発明の第三実施形態における遊技機用CPUのリサイクルの手順を説明するためのフローチャートである。
【0057】
尚、第三実施形態では、リサイクル対象となる遊技機用CPUの概略ブロック図は図1とほぼ同様である。また、第三実施形態において、第一実施形態のものと同一の機能を有するものには、同一の符号を付すことにより、その詳細な説明を省略する。
【0058】
第三実施形態における遊技機用CPUのリサイクル方法が上記の第一実施形態のものと異なる点は、CPUメーカの許可を受けた遊技機メーカが、遊技機用CPU10の回収から新規プログラムの書き込みまで単独で行うようにした点である。ここで、専用のROMライター60は、当該遊技機メーカ側に配置されている。
【0059】
これを実現するためには、例えば、専用のROMライター60にプリペイド機能を付加するようにすればよい。すなわち、専用のROMライター60に、プリペイドカードを投入する機構を設け、そのプリペイドカードの残度数に相当する回数だけプログラムの書き換えが行える機能を付加する。この場合、CPUメーカは、例えば、遊技機メーカに対して専用のROMライター60を無償で貸し出すと共に、プリペイドカードを発行する。CPUメーカは、かかるプリペイドカードの販売により、遊技機用CPU10のリサイクル料を回収することができる。
【0060】
また、プリペイド機能を付加する代わりに、プログラムの書き換えを行った回数を計数する計数手段を、専用のROMライター60に設けるようにしてもよい。この場合も、CPUメーカは、例えば、遊技機メーカに対して専用のROMライター60を無償で貸し出す。そして、CPUメーカは、例えば、各月毎に計数手段の計数する回数を確認し、その回数に応じた金額を遊技機メーカに請求する。
【0061】
尚、第三実施形態では、遊技機メーカが単独で遊技機用CPUのリサイクルを行うことにしているが、当該遊技機メーカはCPUメーカからリサイクル許可を受け、しかもプログラムの書き換えに対する対価をCPUメーカに支払うことにしているので、この場合も、第一実施形態と同様に、当該遊技機用CPUを製造したCPUメーカのみが当該遊技機用CPUのROMに記憶されたプログラムデータを書き換える権能を保有していると言うことができる。
【0062】
次に、第三実施形態における遊技機用CPUのリサイクルの手順について説明する。
【0063】
図5のフローに従い、まず、CPUメーカは、遊技機用CPU10を新たに製造する(S81)。次に、CPUメーカは、その遊技機用CPU10を遊技機メーカに引き渡す(S82)。その後、遊技機メーカは、CPUメーカから貸与された専用のROMライター60を用いて、その遊技機用CPU10のROM13に新規プログラムを書き込む(S83)。かかるプログラムを書き込む処理は、図3のフローに従って行われる。そして、遊技機メーカは、かかる遊技機用CPU10を搭載した遊技機を製造し、販売する(S84)。
【0064】
販売後、数年が経過して、当該遊技機が市場において不用となると、遊技機メーカはその遊技機を回収し、その中の遊技機用CPU10を取り出す(S85)。次に、遊技機メーカは、専用のROMライター60を用いて、当該遊技機用CPU10のROM13に記憶されたプログラムを新規プログラムに書き換える(S86)。その後は、図5のステップS84に移行する。このようにして遊技機メーカは、遊技機用CPU10をリサイクルすることができる。
【0065】
第三実施形態では、遊技機用CPUを製造したCPUメーカから許可を受けた遊技機メーカだけがROM内のプログラムを消去することができるので、それ以外の第三者は勝手にプログラムを書き換えることができない。したがって、当該CPUメーカから許可を受けた者だけが、当該遊技機用CPUをリサイクルすることが可能となる。その他の効果は第一実施形態と同様である。
【0066】
尚、本発明は上記の各実施形態に限定されるものではなく、その要旨の範囲内において種々の変形が可能である。
【0067】
例えば、上記の各実施形態において、遊技機用CPUに内蔵されているROMはEEPROMに限らず、書き換え可能なROMであればどのようなタイプのものであってもよい。また、書換認証制御線を各種バスで兼用するようにしてもよい。更に、暗号データを生成するための暗号アルゴリズムは一つであってもよい。
【0068】
また、上記の各実施形態において、プログラムの書き換え処理の途中で遊技機用CPUの電源が切れても問題がないように、書き換え処理の開始時に、新たに生成した暗号データ及び鍵データをROMに書き込むことが望ましい。
【0069】
また、上記の各実施形態では、書換認証制御部による認証処理において、復号を必要とする暗号データを使用する場合について説明したが、必ずしも、かかる暗号データを使用する必要はない。例えば、暗号化していないデータを所定の通信プロトコルで専用のROMライターに送信するようにしてもよい。この場合、書換認証制御部は、専用のROMライターとの間で当該通信プロトコルを使ったデータのやり取りができるか否かに基づいてプログラムの書き換えを許可するかどうかを決定することになる。
【0070】
更に、上記の各実施形態では、プロテクト制御線を用いて、ROMに記憶されたプログラムが勝手に書き換えられるのを防止する場合について説明したが、必ずしもプロテクト制御線によるプロテクト機能を利用する必要はない。一般に、リサイクル対象となる遊技機用CPUは、電源が投入された後は、書換認証制御部による認証処理を経なければ、ROMに記憶されたプログラムが書き換えられないように構成されていればよい。
【0071】
また、上記の各実施形態では、ROMに記憶されたプログラムを書き換える際に、バスコントローラが各種バスをCPUコア、内蔵リソースから切り離す場合について説明したが、専用のROMライターが、遊技機用CPUに接続されたときに、プログラムを書き換えることができれば、必ずしも各種バスをCPUコア、内蔵リソースから切り離さなくてもよい。
【0072】
また、上記の各実施形態では、書換認証制御部とCPUコアとを別体として構成した場合について説明したが、例えば、CPUコアが書換認証制御部を兼用するようにしてもよい。すなわち、専用のROMライターが遊技機用CPUに接続されたときに、CPUコアが書換認証制御部の機能を実現するためのプログラムにより、認証処理、書き換え処理を行うようにしてもよい。
【0073】
また、上記の各実施形態では、暗号データ、鍵データを、遊技プログラムを記憶しているユーザ用のプログラムROMと同一のROMに書き込む場合について説明したが、暗号データ、鍵データを記憶するための専用のROMを、上記プログラムROMとは別個に構成してもよい。
【0074】
更に、上記の各実施形態において、専用のROMライターは、ROMにプログラムを書き込む際に、ROMに書き込むべきプログラムが正規のプログラムであるか否かを判断し、当該プログラムが正規なものであるときに当該プログラムをROMに正常に書き込むようにしてもよい。この場合、例えば、書き込むべきプログラムには、検定機関による検定の際に認証機関によりオリジナルプログラムに基づき所定のアルゴリズムにより生成される認証データを付加しておく。ROMライターは、かかる認証データの整合性を判断することにより、当該プログラムが正規なプログラムであるか否かを容易に判断できる。このように、検定に使用されたプログラムしかROMに正常に書き込むことができないため、当該専用のROMライターは、不正なプログラムが書き込まれてしまうことに対するセキュリティ機能を有することになる。したがって、リサイクルのために回収した遊技機用CPUが他産業に流出するのを防止し、遊技機用CPUのリサイクル率の向上を図ることができる。
【0075】
加えて、上記の各実施形態において、遊技機用CPUが実装されている制御基板に専用のROMライターと遊技機用CPUとを接続するための端子(又はコネクタ)を設け、専用のROMライターを当該端子に接続した後、遊技機用CPUが制御基板に実装されている状態でROMに記憶されたプログラムを書き換えるようにしてもよい。この場合、遊技機用CPUが制御基板に実装されている状態では、遊技機用CPUの外部端子は所定の外部回路とバス接続されているので、専用のROMライターからバスを介してROMにプログラムを書き込むことはできない。このため、新たに書込制御線を遊技機用CPUの書換認証制御部に設け、書換認証制御部から上記端子には、書換認証制御線だけでなく、当該書込制御線をも引き出すようにする必要がある。尚、専用のROMライターは、書込データを、例えばシリアル通信で書込制御線を介して送るようにしてもよい。
【0076】
【発明の効果】
以上説明したように本発明に係る遊技機用CPUの内蔵ROM書き換え方法によれば、使用済みの特定の遊技機用CPUを回収した後、その特定の遊技機用CPUに対する専用のROMライターを用いて、ROMに記憶されたプログラムデータを書き換える。したがって、かかる専用のROMライターを、当該遊技機用CPUを製造したCPUメーカ側にのみ配置することにより、そのCPUメーカだけがプログラムデータの書き換えを行うことができ、それ以外の第三者は一般のROMライターを用いたのでは、プログラムデータを書き換えることができない。このため、当該CPUメーカ及びその許可を受けた者だけが、当該遊技機用CPUをリサイクルすることができる。
【0077】
また、本発明によれば、使用済みの遊技機用CPUを回収してリサイクルする場合に、当該遊技機用CPUを製造したCPUメーカのみが当該遊技機用CPUのROMに記憶されたプログラムデータを書き換える権能を保有するようにすることにより、そのCPUメーカだけがプログラムデータの書き換えを行うことができ、それ以外の第三者は、当該CPUメーカの許可を得なければ、プログラムデータを書き換えることができない。このため、当該CPUメーカ及びその許可を受けた者だけが、当該遊技機用CPUをリサイクルすることができる。
【図面の簡単な説明】
【図1】 本発明の第一実施形態である遊技機用CPUの内蔵ROM書き換え方法においてリサイクルの対象となる遊技機用CPUの概略ブロック図である。
【図2】 第一実施形態における遊技機用CPUのリサイクルの手順を説明するためのフローチャートである。
【図3】 第一実施形態においてROMに記憶されたプログラムを書き換える際の処理手順を説明するためのフローチャートである。
【図4】 本発明の第二実施形態における遊技機用CPUのリサイクルの手順を説明するためのフローチャートである。
【図5】 本発明の第三実施形態における遊技機用CPUのリサイクルの手順を説明するためのフローチャートである。
【符号の説明】
10 遊技機用CPU
11 CPUコア
12 内蔵リソース
13 ROM
14 バスコントローラ
15 書換認証制御部
21 バス制御線
22 書換認証制御線
23 プロテクト制御線
60 専用ROMライター[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a gaming machine CPU for recycling a gaming machine CPU containing a rewritable ROM.Internal ROM rewriteIt is about the method.
[0002]
[Prior art]
In recent years, gaming machines such as pachinko machines are equipped with a gaming machine CPU, and the game content is computer-controlled. The gaming machine CPU controls the gaming machine based on the gaming program stored in the ROM. Currently, a CPU with a built-in ROM is mainly used as a gaming machine CPU. Here, as the ROM, a one-time ROM that cannot be written once once written, a rewritable flash ROM, or the like is used.
[0003]
In addition, as a CPU for a gaming machine, a special CPU such as having a security function is used unlike a general industry CPU. Generally, a gaming machine maker can produce a pachinko machine etc. for the first time by obtaining an approval for the pachinko machine and obtaining permission. For this reason, when an unauthorized program other than the program (regular program) used in the examination is used for the gaming machine CPU mounted on the pachinko machine or the like, the gaming machine CPU does not operate normally. Such security functions are added. Thus, since the CPU for gaming machines is special, it is very expensive compared with the CPU for general industries.
[0004]
[Problems to be solved by the invention]
By the way, as described above, since the gaming machine CPU is very expensive, it is desired to collect the gaming machine CPU from the gaming machines that are no longer used in the market and reuse (recycle) it. When performing such recycling, it is necessary to rewrite the game program stored in the ROM with a program for a new gaming machine. For this reason, what is to be recycled is a CPU for a gaming machine with a built-in rewritable ROM.
[0005]
However, with respect to a CPU for a gaming machine having a built-in rewritable ROM, not only the CPU maker that manufactured the CPU but also other CPU makers and gaming machine manufacturers can rewrite the program stored in the ROM by rewriting. can do. If such a third party's recycling act is freely allowed, the sales of the new CPU produced by the CPU manufacturer will decline, and it will be difficult to recover the large development costs invested by the CPU. End up.
[0006]
The present invention has been made based on the above circumstances, and there is provided a gaming machine CPU capable of preventing a third party from recycling the gaming machine CPU without obtaining permission from the CPU manufacturer.Internal ROM rewriteIt is intended to provide a method.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, a gaming machine CPU according to the present inventionInternal ROM rewriteThe method includes a rewritable ROM for storing program data, a plurality of encryption algorithms for encrypting certain data, and encryption data obtained by encrypting certain data with one encryption algorithm among the plurality of encryption algorithms, Storage means for storing a plurality of decryption algorithms for decrypting the encrypted data, and key data that is data for selecting one decryption algorithm from among the plurality of decryption algorithms for decrypting the encrypted data; and data A rewriting authentication means for judging whether or not rewriting of program data stored in the ROM is permitted by a ROM writer capable of transmitting and receiving the game machine, and a gaming machine CPU recycling method that recycles the gaming machine CPU. Therefore, the rewrite authenticating means sends the encrypted data stored in the storage means to the ROM writer. The ROM writer stores a plurality of decryption algorithms that are the same as the decryption algorithm stored in the storage means in the ROM writer storage means, and receives the encrypted data and the key data from the rewrite authentication means. One decryption algorithm corresponding to the key data is selected from a plurality of decryption algorithms stored in the storage means, and the decrypted data obtained by decrypting the encrypted data received using the selected decryption algorithm is transmitted to the gaming machine CPU. When the rewrite authentication unit receives the decryption data from the ROM writer, the rewrite authentication unit selects one decryption algorithm corresponding to the key data from among the received decryption data and a plurality of decryption algorithms stored in the storage unit. Decrypted data obtained by decrypting encrypted data stored in the storage means using a decryption algorithm Is allowed, and when the decrypted data sent from the ROM writer and the decrypted data decrypted by itself match, the ROM writer is allowed to rewrite the program data stored in the ROM It is.
[0008]
In addition, the CPU of the gaming machine according to the present inventionInternal ROM rewriteIn the method, each time the rewrite authentication unit rewrites the program data stored in the ROM, it selects one encryption algorithm from a plurality of encryption algorithms, generates new encryption data and key data, and stores them in the storage unit. It is desirable to do.
[0009]
In addition, the CPU of the gaming machine according to the present inventionInternal ROM rewriteIn the method, it is preferable that the rewrite authentication means end the authentication process when the decrypted data sent from the ROM writer and the decrypted data decrypted by the rewrite authenticating means do not match.
[0010]
In addition, the CPU of the gaming machine according to the present inventionInternal ROM rewriteIn the method, the rewrite authentication means instructs the bus controller of the gaming machine CPU to separate the ROM from the CPU core and the built-in resources when the decrypted data sent from the ROM writer matches the decrypted data decrypted by itself. Thus, it is desirable that the ROM writer is connected only to the ROM via the rewrite authentication means.
[0011]
In addition, the CPU of the gaming machine according to the present inventionInternal ROM rewriteWhen the rewrite authentication means determines whether or not to permit rewriting of the program data for a part or all of the ROM from the ROM writer and permits the rewriting, Then, the ROM writer sends a request for rewriting the program data to the gaming machine CPU, and has received authentication from the rewrite authentication means to permit rewriting. Sometimes it is desirable to rewrite program data stored in ROM.
[0012]
Further, the CPU for gaming machine according to the present invention includes a rewritable ROM for storing program data, a plurality of encryption algorithms for encrypting certain data, and a cipher for one of the plurality of encryption algorithms. Encrypted data encrypted by the algorithm, multiple decryption algorithms for decrypting the encrypted data, and key data that is data for selecting one decryption algorithm from among the multiple decryption algorithms for decrypting the encrypted data And a rewrite authentication means for judging whether or not rewriting of program data stored in the ROM is permitted by a ROM writer capable of transmitting and receiving data. Sends encrypted data and key data to the writer and decrypts the encrypted data from the ROM writer. When data is received, one decryption algorithm corresponding to the key data is selected from the received decryption data and a plurality of decryption algorithms stored in the storage means, and the encrypted data is decrypted using the selected decryption algorithm. It is determined whether or not the decrypted data matches, and when the decrypted data sent from the ROM writer and the decrypted data decoded by itself match, the ROM writer rewrites the program data stored in the ROM. It is something to allow.
[0013]
The ROM writer according to the present invention is a ROM writer capable of transmitting and receiving data to and from the gaming machine CPU, and has the same plurality of decoding algorithms as the plurality of decoding algorithms stored in the storage means of the gaming machine CPU. A ROM writer storage means for storing, and when the encryption data and the key data are received from the gaming machine CPU, one of the plurality of decryption algorithms stored in the ROM writer storage means corresponding to the key data When a decryption algorithm is selected, decryption data obtained by decrypting the encrypted data received using the selected decryption algorithm is transmitted to the CPU for the gaming machine, and rewriting of the program data stored in the ROM is permitted from the rewrite authentication means In addition, the program data stored in the ROM is rewritten.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
A first embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a gaming machine CPU according to a first embodiment of the present invention.Internal ROM rewriteFIG. 3 is a schematic block diagram of a gaming machine CPU to be recycled in the method.
[0015]
CPU of the gaming machine of this embodimentInternal ROM rewriteIn the method, after a specific gaming machine CPU having a built-in rewritable ROM is collected, a program stored in the ROM is rewritten using a dedicated ROM writer for the specific gaming machine CPU. Here, the dedicated ROM writer is arranged only on the CPU manufacturer side that manufactured the CPU for the specific gaming machine. The gaming machine CPU in which the new program is written in this manner is again mounted on the gaming machine and used as a recycled product.
[0016]
The “specific gaming machine CPU” is the gaming machine CPU of the present embodiment.Internal ROM rewriteIt is a gaming machine CPU that can be recycled by applying the method. CPU of the gaming machine of this embodimentInternal ROM rewriteThe method is not applicable to all kinds of gaming machine CPUs.
[0017]
Next, the CPU of the gaming machine of this embodimentInternal ROM rewriteA specific gaming machine CPU and a dedicated ROM writer to be recycled in the method will be described.
[0018]
The gaming machine CPU to be recycled in this embodiment incorporates a rewritable ROM, and controls the gaming machine based on a gaming program stored in the ROM. The
[0019]
The
[0020]
The
[0021]
In the present embodiment, the term “rewrite” is used to mean both writing a new program in the
[0022]
In addition to the game program, the
[0023]
The storage unit in the
[0024]
The
[0025]
The
[0026]
The address bus A and the data bus D are a general address bus and a data bus, respectively. These are also used when rewriting a program stored in the
[0027]
The
[0028]
The rewrite
[0029]
In the present embodiment, the
[0030]
Under a general usage situation in which the
[0031]
On the other hand, when the
[0032]
The
[0033]
Next, the gaming machine CPU of the first embodimentInternal ROM rewriteThe method will be described in detail. FIG. 2 shows the first embodiment.Games inCP for machineU LisaFIG. 3 is a flowchart for explaining the procedure of the vehicle.In the first embodiment4 is a flowchart for explaining a processing procedure when a program stored in the
[0034]
First, the CPU manufacturer newly manufactures a
[0035]
After several years have passed since the sale, when the gaming machine is no longer used in the market, the gaming machine manufacturer collects the unused gaming machine in order to recycle the used
[0036]
The CPU manufacturer uses the
[0037]
When the CPU maker connects the
[0038]
Next, when the
[0039]
The rewrite
[0040]
Next, the rewrite
[0041]
On the other hand, when the two pieces of decrypted data match, the rewrite
[0042]
When the
[0043]
The
[0044]
After the program stored in the
[0045]
First implementationIn formAfter collecting the used specific gaming machine CPU, the dedicated ROM writer for the specific gaming machine CPU is used to rewrite the program stored in the ROM. Therefore, by placing such a dedicated ROM writer only on the CPU manufacturer side that manufactured the CPU for the gaming machine, only the CPU manufacturer can rewrite the program. If a ROM writer is used, the program cannot be rewritten. For this reason, only the CPU manufacturer and the person who has received the permission can recycle the gaming machine CPU. At this time, if the cost required for recycling is added to the selling price of the recycled product, the profit can be set in the same way as new product sales, so the CPU manufacturer can work on the recycling with peace of mind. Further, by re-inspecting the recycled product at the time of recycling, it becomes possible to centrally manage the gaming machine CPU by the CPU manufacturer, so that the quality of the gaming machine CPU in the market can be secured at a certain level.
[0046]
In the first embodiment, as the CPU for the gaming machine, the rewrite authentication control unit determines whether or not rewriting is permitted when there is a program rewriting request for part or all of the ROM, and rewriting is performed. When enabling, use the one that changes the protection control line to the ROM to the rewrite prohibition release state, and as a dedicated ROM writer, sends a program rewrite request to the above gaming machine CPU and rewrites A program that rewrites a program when it receives authentication to permit rewriting from the authentication control unit is used. Therefore, the gaming machine CPU and the dedicated ROM writer are the same as the gaming machine CPU of the first embodiment.Internal ROM rewriteSuitable for use in the method.
[0047]
Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 4 shows a second embodiment of the present invention.InCP for gaming machinesU LisaIt is a flowchart for demonstrating the procedure of a cycle.
[0048]
In the second embodiment, a schematic block diagram of a gaming machine CPU to be recycled is substantially the same as FIG. In the second embodiment, components having the same functions as those in the first embodiment are denoted by the same reference numerals, and detailed description thereof is omitted.
[0049]
Second embodimentInThe recycling method of the gaming machine CPU is different from that of the first embodiment in that the CPU manufacturer only erases the program stored in the
[0050]
Next, the second embodimentInCP for gaming machinesU LisaThe procedure of the vehicle is explained.
[0051]
According to the flow of FIG. 4, first, the CPU manufacturer newly manufactures the gaming machine CPU 10 (S61). At this time, the
[0052]
After several years have passed since the sale, when the gaming machine is no longer used in the market, the gaming machine manufacturer collects the gaming machine and takes out the gaming machine CPU 10 (S65). Then, the gaming machine manufacturer hands over the
[0053]
The CPU manufacturer uses the
[0054]
Next, the gaming machine manufacturer writes a new program in the
[0055]
Second implementationIn form,Only the CPU manufacturer that manufactured the CPU for the gaming machine can erase the program in the ROM, and if the program in the ROM is not erased, a new program cannot be written in the ROM. Without permission, a third party cannot rewrite the program without permission. Therefore, only the CPU manufacturer and the person who has received the permission can recycle the gaming machine CPU. Other effects are the same as in the first embodiment.
[0056]
Next, a third embodiment of the present invention will be described with reference to the drawings. FIG. 5 shows a third embodiment of the present invention.InCP for gaming machinesU LisaIt is a flowchart for demonstrating the procedure of a cycle.
[0057]
In the third embodiment, a schematic block diagram of a gaming machine CPU to be recycled is substantially the same as FIG. Moreover, in 3rd embodiment, the detailed description is abbreviate | omitted by attaching | subjecting the same code | symbol to the thing which has the same function as the thing of 1st embodiment.
[0058]
Third embodimentInThe recycle method of the gaming machine CPU is different from that of the first embodiment described above in that the gaming machine manufacturer that has received the permission from the CPU manufacturer performs from the collection of the
[0059]
In order to realize this, for example, a prepaid function may be added to the
[0060]
Further, instead of adding the prepaid function, the
[0061]
In the third embodiment, the gaming machine maker independently recycles the gaming machine CPU. However, the gaming machine maker receives a recycling permission from the CPU maker, and the compensation for rewriting the program is given by the CPU maker. In this case, as in the first embodiment, only the CPU manufacturer that manufactured the gaming machine CPU has the authority to rewrite the program data stored in the ROM of the gaming machine CPU. I can say that.
[0062]
Next, the third embodimentInCP for gaming machinesU LisaThe procedure of the cycle is described.
[0063]
According to the flow of FIG. 5, first, the CPU manufacturer newly manufactures the gaming machine CPU 10 (S81). Next, the CPU manufacturer hands over the
[0064]
After several years have passed since the sale, when the gaming machine is no longer used in the market, the gaming machine manufacturer collects the gaming machine and takes out the gaming machine CPU 10 (S85). Next, the gaming machine manufacturer rewrites the program stored in the
[0065]
Third implementationIn formSince only the gaming machine manufacturer that has received permission from the CPU manufacturer that manufactured the gaming machine CPU can erase the program in the ROM, other third parties cannot arbitrarily rewrite the program. Therefore, only those who receive permission from the CPU manufacturer can recycle the gaming machine CPU. Other effects are the same as in the first embodiment.
[0066]
The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the gist.
[0067]
For example, in each of the above embodiments, the ROM built in the gaming machine CPU is not limited to the EEPROM, but may be any type as long as it is a rewritable ROM. Further, the rewrite authentication control line may be shared by various buses. Furthermore, the number of encryption algorithms for generating encryption data may be one.
[0068]
In each of the above embodiments, newly generated encrypted data and key data are stored in the ROM at the start of the rewriting process so that there is no problem even if the power of the gaming machine CPU is turned off during the program rewriting process. It is desirable to write.
[0069]
In each of the above embodiments, the case where encrypted data that requires decryption is used in the authentication process by the rewrite authentication control unit has been described. However, it is not always necessary to use such encrypted data. For example, unencrypted data may be transmitted to a dedicated ROM writer using a predetermined communication protocol. In this case, the rewrite authentication control unit determines whether to permit program rewriting based on whether data can be exchanged with the dedicated ROM writer using the communication protocol.
[0070]
Further, in each of the above embodiments, the case where the protection control line is used to prevent the program stored in the ROM from being rewritten without permission has been described. However, it is not always necessary to use the protection function based on the protection control line. . Generally, the gaming machine CPU to be recycled may be configured so that after the power is turned on, the program stored in the ROM is not rewritten unless an authentication process is performed by the rewrite authentication control unit. .
[0071]
In each of the above embodiments, the case where the bus controller separates the various buses from the CPU core and the built-in resources when rewriting the program stored in the ROM has been described, but a dedicated ROM writer is used as the gaming machine CPU. If the program can be rewritten when connected, the various buses need not be separated from the CPU core and the built-in resources.
[0072]
In each of the above-described embodiments, the case where the rewrite authentication control unit and the CPU core are configured as separate bodies has been described. However, for example, the CPU core may also serve as the rewrite authentication control unit. That is, when a dedicated ROM writer is connected to the gaming machine CPU, the CPU core may perform authentication processing and rewriting processing by a program for realizing the function of the rewriting authentication control unit.
[0073]
In each of the above embodiments, the case where the encryption data and the key data are written in the same ROM as the user program ROM storing the game program has been described. However, for storing the encryption data and the key data, A dedicated ROM may be configured separately from the program ROM.
[0074]
Further, in each of the above embodiments, when the dedicated ROM writer writes a program to the ROM, the dedicated ROM writer determines whether or not the program to be written to the ROM is a legitimate program, and when the program is legitimate. The program may be normally written in the ROM. In this case, for example, to the program to be written, authentication data generated by the certification authority based on the original program at the time of verification by the certification authority is added. The ROM writer can easily determine whether or not the program is a legitimate program by determining the consistency of the authentication data. As described above, since only the program used for the verification can be normally written in the ROM, the dedicated ROM writer has a security function against an unauthorized program being written. Therefore, it is possible to prevent the gaming machine CPU collected for recycling from flowing into other industries, and to improve the recycling rate of the gaming machine CPU.
[0075]
In addition, in each of the above embodiments, a terminal (or connector) for connecting the dedicated ROM writer and the gaming machine CPU is provided on the control board on which the gaming machine CPU is mounted. After connecting to the terminal, the program stored in the ROM may be rewritten in a state where the gaming machine CPU is mounted on the control board. In this case, in a state where the gaming machine CPU is mounted on the control board, the external terminal of the gaming machine CPU is connected to a predetermined external circuit via a bus, so that a program is written to the ROM from the dedicated ROM writer via the bus. Can not write. For this reason, a new write control line is provided in the rewrite authentication control unit of the gaming machine CPU so that not only the rewrite authentication control line but also the write control line is drawn from the rewrite authentication control unit to the terminal. There is a need to. The dedicated ROM writer may send write data via a write control line by serial communication, for example.
[0076]
【The invention's effect】
As described above, the gaming machine CPU according to the present inventionInternal ROM rewriteAccording to the method, after collecting the used gaming machine CPU, the program data stored in the ROM is rewritten by using a dedicated ROM writer for the particular gaming machine CPU. Therefore, by placing such a dedicated ROM writer only on the CPU manufacturer side that manufactured the CPU for the gaming machine, only the CPU manufacturer can rewrite the program data. Program data cannot be rewritten using a ROM writer. For this reason, only the CPU manufacturer and those who have received permission can recycle the gaming machine CPU.
[0077]
In addition, the present inventionAccording toWhen a used gaming machine CPU is collected and recycled, only the CPU manufacturer that manufactured the gaming machine CPU has the authority to rewrite the program data stored in the ROM of the gaming machine CPU.To doThus, only the CPU manufacturer can rewrite the program data, and other third parties cannot rewrite the program data without permission from the CPU manufacturer. For this reason, only the CPU manufacturer and those who have received permission can recycle the gaming machine CPU.
[Brief description of the drawings]
FIG. 1 shows a CPU for gaming machine according to a first embodiment of the present invention.Internal ROM rewriteFIG. 3 is a schematic block diagram of a gaming machine CPU to be recycled in the method.
FIG. 2 First embodimentGames inCP for machineU LisaIt is a flowchart for demonstrating the procedure of a cycle.
[Fig. 3]In the first embodimentIt is a flowchart for demonstrating the process sequence at the time of rewriting the program memorize | stored in ROM.
FIG. 4 is a second embodiment of the present invention.InCP for gaming machinesU LisaIt is a flowchart for demonstrating the procedure of a cycle.
FIG. 5 is a third embodiment of the present invention.InCP for gaming machinesU LisaIt is a flowchart for demonstrating the procedure of a cycle.
[Explanation of symbols]
10 CPU for gaming machine
11 CPU core
12 Built-in resources
13 ROM
14 Bus controller
15 Rewrite authentication control unit
21 Bus control line
22 Rewrite authentication control line
23 Protect control line
60 Dedicated ROM writer
Claims (7)
あるデータを暗号化するための複数の暗号アルゴリズムと、あるデータを前記複数の暗号アルゴリズムの中の一つの暗号アルゴリズムにより暗号化した暗号データと、前記暗号データを復号するための複数の復号アルゴリズムと、前記暗号データを復号するために前記複数の復号アルゴリズムの中から一つの復号アルゴリズムを選択するためのデータである鍵データとを記憶する記憶手段と、
データの送受が可能なROMライターによる、前記ROMに記憶する前記プログラムデータの書き変えを許可するか否かを判断する書換認証手段と、を内蔵する遊技機用CPUをリサイクルする遊技機用CPUのリサイクル方法であって、
前記書換認証手段は、前記ROMライターに対して、前記記憶手段に記憶する前記暗号データと前記鍵データを送信し、
前記ROMライターは、前記記憶手段に記憶する復号アルゴリズムと同じ複数の復号アルゴリズムをROMライター用記憶手段に記憶し、前記書換認証手段から前記暗号データと前記鍵データを受信すると、前記ROMライター用記憶手段に記憶する複数の復号アルゴリズムの中から前記鍵データに対応する一つの復号アルゴリズムを選択し、その選択した復号アルゴリズムを用いて受信した前記暗号データを復号した復号データを前記遊技機用CPUに送信し、
前記書換認証手段は、前記ROMライターから復号データを受信すると、その受信した復号データと、前記記憶手段に記憶する複数の復号アルゴリズムの中から前記鍵データに対応する一つの復号アルゴリズムを選択し、その選択した復号アルゴリズムを用いて前記記憶手段に記憶する前記暗号データを復号した復号データとが一致するか否かを判断し、前記ROMライターから送られた復号データと自己が復号した復号データとが一致したときに、前記ROMライターによる前記ROMに記憶された前記プログラムデータの書き変えを許可することを特徴とする遊技機用CPUの内蔵ROM書き換え方法。A rewritable ROM for storing program data;
A plurality of encryption algorithms for encrypting certain data, encrypted data obtained by encrypting certain data using one of the plurality of encryption algorithms, and a plurality of decryption algorithms for decrypting the encrypted data; Storage means for storing key data which is data for selecting one decryption algorithm from among the plurality of decryption algorithms in order to decrypt the encrypted data;
A rewriting authentication means for judging whether or not rewriting of the program data stored in the ROM is permitted by a ROM writer capable of transmitting and receiving data, and a gaming machine CPU for recycling a gaming machine CPU having a built-in A recycling method,
The rewrite authentication unit transmits the encryption data and the key data stored in the storage unit to the ROM writer,
The ROM writer stores a plurality of decryption algorithms, which are the same as the decryption algorithms stored in the storage unit, in the ROM writer storage unit, and receives the encrypted data and the key data from the rewrite authentication unit, the ROM writer storage One decryption algorithm corresponding to the key data is selected from a plurality of decryption algorithms stored in the means, and the decrypted data obtained by decrypting the encrypted data received using the selected decryption algorithm is sent to the gaming machine CPU. Send
When the rewrite authentication unit receives the decryption data from the ROM writer, the rewrite authentication unit selects one decryption algorithm corresponding to the key data from the received decryption data and a plurality of decryption algorithms stored in the storage unit, It is determined whether or not the decrypted data obtained by decrypting the encrypted data stored in the storage means using the selected decryption algorithm matches the decrypted data sent from the ROM writer and the decrypted data decrypted by itself There if they match, the internal ROM rewriting method for a game machine CPU, characterized in that to allow rewriting of the program data stored in the ROM by the ROM writer.
前記ROMライターは、前記遊技機用CPUに対してプログラムデータの書き変えの要求を送り、前記書換認証手段から書き変えを許可する旨の認証を受けたときに前記ROMに記憶されているプログラムデータの書き換えを行うことを特徴とする請求項1、2、3又は4記載の遊技機用CPUの内蔵ROM書き換え方法。When the rewrite authentication unit determines whether or not to permit rewriting of the program data for a part or all of the ROM from the ROM writer, and permits the rewriting The state of the ROM is changed to a state where it can be rewritten,
The ROM writer sends a program data rewrite request to the gaming machine CPU, and the program data stored in the ROM when the rewrite authentication means receives authentication to permit rewriting. 5. The method of rewriting a built-in ROM of a gaming machine CPU according to claim 1, wherein said rewriting is performed.
あるデータを暗号化するための複数の暗号アルゴリズムと、あるデータを前記複数の暗号アルゴリズムの中の一つの暗号アルゴリズムにより暗号化した暗号データと、前記暗号データを復号するための複数の復号アルゴリズムと、前記暗号データを復号するために前記複数の復号アルゴリズムの中から一つの復号アルゴリズムを選択するためのデータである鍵データとを記憶する記憶手段と、
データの送受が可能なROMライターによる、前記ROMに記憶する前記プログラムデータの書き変えを許可するか否かを判断する書換認証手段と、を備え、
前記書換認証手段は、前記ROMライターに対して前記暗号データと前記鍵データとを送出し、前記ROMライターから前記暗号データを復号した復号データを受信すると、その受信した復号データと、前記記憶手段に記憶する複数の復号アルゴリズムの中から前記鍵データに対応する一つの復号アルゴリズムを選択し、その選択した復号アルゴリズムを用いて前記暗号データを復号した復号データとが一致するか否かを判断し、前記ROMライターから送られた復号データと自己が復号した復号データとが一致したときに、前記ROMライターによる前記ROMに記憶されている前記プログラムデータの書き変えを許可することを特徴とする遊技機用CPU。A rewritable ROM for storing program data;
A plurality of encryption algorithms for encrypting certain data, encrypted data obtained by encrypting certain data using one of the plurality of encryption algorithms, and a plurality of decryption algorithms for decrypting the encrypted data; Storage means for storing key data which is data for selecting one decryption algorithm from among the plurality of decryption algorithms in order to decrypt the encrypted data;
Rewriting authentication means for judging whether or not rewriting of the program data stored in the ROM is permitted by a ROM writer capable of transmitting and receiving data; and
The rewrite authentication means sends the encrypted data and the key data to the ROM writer, and receives the decrypted data obtained by decrypting the encrypted data from the ROM writer. One decryption algorithm corresponding to the key data is selected from among a plurality of decryption algorithms stored in the memory, and it is determined whether or not the decrypted data obtained by decrypting the encrypted data matches with the selected decryption algorithm. A game in which rewriting of the program data stored in the ROM by the ROM writer is permitted when the decrypted data sent from the ROM writer coincides with the decrypted data decrypted by the ROM writer. CPU for machine.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001398823A JP4120765B2 (en) | 2001-12-28 | 2001-12-28 | Internal ROM rewrite method for CPU for gaming machine |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001398823A JP4120765B2 (en) | 2001-12-28 | 2001-12-28 | Internal ROM rewrite method for CPU for gaming machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2003195967A JP2003195967A (en) | 2003-07-11 |
| JP4120765B2 true JP4120765B2 (en) | 2008-07-16 |
Family
ID=27604104
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001398823A Expired - Fee Related JP4120765B2 (en) | 2001-12-28 | 2001-12-28 | Internal ROM rewrite method for CPU for gaming machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4120765B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006180966A (en) * | 2004-12-27 | 2006-07-13 | Heiwa Corp | Method for managing moving destination of game machine |
| JP4896452B2 (en) * | 2005-07-07 | 2012-03-14 | 大崎電気工業株式会社 | Instrument |
| JP4980800B2 (en) * | 2007-06-07 | 2012-07-18 | 株式会社オリンピア | Gaming machine and memory module for gaming machine |
| JP5576089B2 (en) * | 2009-10-22 | 2014-08-20 | 京楽産業.株式会社 | An accessory control board and a pachinko machine |
-
2001
- 2001-12-28 JP JP2001398823A patent/JP4120765B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2003195967A (en) | 2003-07-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0976114B1 (en) | Secure multiple application card system and process | |
| US6575372B1 (en) | Secure multi-application IC card system having selective loading and deleting capability | |
| US5155680A (en) | Billing system for computing software | |
| US6749115B2 (en) | Dual processor trusted computing environment | |
| JPH0682405B2 (en) | Test program start method | |
| WO2001077920A1 (en) | Storage area dividing method for portable device | |
| WO1999040548A1 (en) | Configuration of ic card | |
| JP2002511610A (en) | How to manage secure terminals | |
| JP4120765B2 (en) | Internal ROM rewrite method for CPU for gaming machine | |
| WO1999040549A1 (en) | System and method for controlling access to computer code in an ic card | |
| JP4224670B2 (en) | CPU and ROM writer for gaming machines | |
| CN100517398C (en) | System and method of authentifying | |
| JP5164372B2 (en) | Game machine control chip and its ROM writer | |
| JP2001524724A (en) | Data management method for chip card | |
| JP3034118B2 (en) | IC card system and IC card | |
| JP3622493B2 (en) | Value transfer method | |
| JP2779092B2 (en) | Erasing method for IC card and its data storage memory | |
| JP3067179B2 (en) | IC card secret key control method | |
| CN104579674B (en) | Terminal security module and its management method, vehicle toll management method and system | |
| JP2004046754A (en) | IC card authentication system and IC card authentication method | |
| JP3571840B2 (en) | IC card and IC card processing system | |
| JPH08315089A (en) | IC card terminal | |
| JP2005332322A (en) | Electronic authentication tool primary issuing apparatus, electronic authentication tool issuance system, electronic authentication tool secondary issuing apparatus, electronic authentication tool primary issuing method, electronic authentication issuing method and electronic authentication tool secondary issuing method | |
| JP2004171596A (en) | Data output method, data output system, and IC card | |
| JPH09198318A (en) | Ic card |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041027 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070705 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070831 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080212 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080312 |
|
| 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: 20080402 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080415 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110509 Year of fee payment: 3 |
|
| 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: 20120509 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120509 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130509 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130509 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140509 Year of fee payment: 6 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |