JPH04282177A - Microcomputer for game machine control - Google Patents

Microcomputer for game machine control

Info

Publication number
JPH04282177A
JPH04282177A JP3045190A JP4519091A JPH04282177A JP H04282177 A JPH04282177 A JP H04282177A JP 3045190 A JP3045190 A JP 3045190A JP 4519091 A JP4519091 A JP 4519091A JP H04282177 A JPH04282177 A JP H04282177A
Authority
JP
Japan
Prior art keywords
chip
program
rom
microcomputer
board
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3045190A
Other languages
Japanese (ja)
Other versions
JP2614546B2 (en
Inventor
Shohachi Ugawa
詔八 鵜川
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.)
Sankyo Co Ltd
Original Assignee
Sankyo Co Ltd
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 Sankyo Co Ltd filed Critical Sankyo Co Ltd
Priority to JP3045190A priority Critical patent/JP2614546B2/en
Publication of JPH04282177A publication Critical patent/JPH04282177A/en
Application granted granted Critical
Publication of JP2614546B2 publication Critical patent/JP2614546B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)
  • Display Devices Of Pinball Game Machines (AREA)

Abstract

PURPOSE:To prevent inconvenience to operate a game machine 21 for microcomputer control delivered in a game shop 24 by a malfeasant program other than an acceptable program from occurring. CONSTITUTION:A means 62 to decide the normal/defective condition of read-only memory 10c in which a control program to control the game machine is stored and packaged is provided at a microcomputer 23 for game control. When a prescribed condition is satisfied (for example, a power source is applied), it is decided whether or not the control program stored in the read-only memory 10c is a proper program by the normal/defective condition decision means 62, and ordinary control is performed on the game machine only when it is decided that the program is the proper one.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、パチンコ遊技機やアレ
ンジ式パチンコ遊技機あるいはスロットマシーン等で代
表される遊技機を制御するためのマイクロコンピュータ
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer for controlling gaming machines such as pachinko gaming machines, arranged pachinko gaming machines, and slot machines.

【0002】0002

【従来の技術】従来、遊技機を制御するための遊技機制
御用マイクロコンピュータのプログラムは、開発製造会
社がプログラムを開発してマイクロコンピュータのリー
ドオンリーメモリ(ROM)に記憶させた後その開発プ
ログラムが一定の基準に合格するか否かを決めるための
第三者機関による試験を受ける。そして第三者機関の試
験に合格した合格プログラムが記憶されたリードオンリ
ーメモリを有するマイクロコンピュータのみが遊技機に
搭載されて遊技場に搬入され、遊技場においては一定の
基準に合格した健全な遊技が行なうことのできる遊技機
のみが設置されることになる。
[Prior Art] Conventionally, a game machine control microcomputer program for controlling a game machine is developed by a development and manufacturing company and stored in the read-only memory (ROM) of the microcomputer. Take a test conducted by a third-party organization to determine whether or not you pass a certain standard. Only microcomputers with read-only memory that store programs that have passed tests by third-party organizations are installed in gaming machines and delivered to gaming parlors. Only gaming machines that allow players to play games will be installed.

【0003】0003

【発明が解決しようとする課題】しかし、遊技場に出荷
される遊技機が一定の基準に合格した健全な遊技のでき
る遊技機のみであったとしても、遊技場に搬入された遊
技機に関し、合格プログラム以外の不正プログラムを作
りその不正プログラムにより中央処理装置を動作させる
不正改造が行なえる場合があり、そのような不正改造が
行なわれた場合には、せっかく第三者機関が試験を行な
ったとしても実際の遊技場において一定の基準に適合し
ない動作をする遊技機が出回る不都合が生ずる欠点があ
った。
[Problem to be Solved by the Invention] However, even if the gaming machines shipped to gaming parlors are only those that have passed certain standards and can be played in a healthy manner, there are In some cases, it is possible to create a malicious program other than the passed program and use that malicious program to perform unauthorized modification to operate the central processing unit, and if such unauthorized modification is performed, it may be necessary to take the trouble to have a third-party organization conduct the test. However, there is a disadvantage in that in actual gaming parlors, gaming machines that do not operate in accordance with certain standards are sold.

【0004】本発明は、係る実情に鑑み、合格プログラ
ム以外の不正に改造されたプログラムによる遊技機の制
御を極力防止することができる遊技機制御用マイクロコ
ンピュータを提供することを目的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned circumstances, it is an object of the present invention to provide a microcomputer for controlling a gaming machine that can prevent, as much as possible, the control of a gaming machine by an illegally modified program other than a passing program.

【0005】[0005]

【課題を解決するための手段】本発明に係る遊技機制御
用マイクロコンピュータは、遊技機を制御するための制
御用プログラムが記憶されたリードオンリーメモリを含
む遊技機制御用マイクロコンピュータであって、前記リ
ードオンリーメモリに記憶されている前記制御用プログ
ラムが適正なものであるか否かの判定を行なうための適
否判定手段を含み、前記適否判定を行なうための所定の
条件が成立したことに基づいて前記適否判定手段によっ
て適否判定を行ない、その判定結果が適正であった場合
に、前記リードオンリーメモリに記憶されている制御用
プログラムに従って所定の制御動作を行なうことを特徴
とする。
[Means for Solving the Problems] A gaming machine controlling microcomputer according to the present invention is a gaming machine controlling microcomputer including a read-only memory in which a control program for controlling the gaming machine is stored. The control program includes a suitability determining means for determining whether or not the control program stored in the only memory is appropriate; The apparatus is characterized in that a suitability judgment is made by the suitability judgment means, and when the judgment result is proper, a predetermined control operation is performed according to a control program stored in the read-only memory.

【0006】[0006]

【作用】本発明によれば、遊技機を制御するための制御
用プログラムが記憶されたリードオンリーメモリが、遊
技機制御用マイクロコンピュータに実装される。遊技機
制御用マイクロコンピュータの適否判定手段は、所定の
条件が成立すると、リードオンリーメモリに記憶されて
いる制御用プログラムが適正なものであるかどうかの判
定を行なう。そして、判定結果が適正であった場合に、
リードオンリーメモリに記憶された制御用のプログラム
に従って遊技機に対する所定の制御動作が行なわれる。
According to the present invention, a read-only memory storing a control program for controlling a gaming machine is installed in a microcomputer for controlling the gaming machine. When a predetermined condition is satisfied, the appropriateness determining means of the gaming machine control microcomputer determines whether the control program stored in the read-only memory is appropriate. Then, if the judgment result is appropriate,
Predetermined control operations for the gaming machine are performed according to a control program stored in the read-only memory.

【0007】[0007]

【実施例】次に、本発明の実施例を図面に基づいて詳細
に説明する。
Embodiments Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0008】図1は、本発明に係る遊技用のワンチップ
マイクロコンピュータを用いたセキュリティシステムを
示す全体システムブロック図である。
FIG. 1 is an overall system block diagram showing a security system using a one-chip microcomputer for gaming according to the present invention.

【0009】本発明に係るマイクロコンピュータのチッ
プは半導体チップメーカ1により製造される。半導体チ
ップメーカ1は、マイクロコンピュータにおけるMPU
(Micro  Processing  Unit)
,RAM(Random  Access  Memo
ry),入出力ポート(I/Oポート)をワンチップ化
した半導体チップを製造する。この半導体チップメーカ
1により製造されるチップには、後に詳しく説明するが
、開発用チップ23aと開発用チップ23bとがある。 量産用チップ23aとは、この量産用チップ23aに接
続されたROMに記憶されているプログラムが後述する
第三者試験機関11による試験に合格した適正なもので
あるか否かを判定する判定機能を有するものである。開
発用チップ23bは、前述した判定機能を有しないチッ
プであり、判定機能を有しない点を除いては量産用チッ
プ23aと同じものである。
A microcomputer chip according to the present invention is manufactured by a semiconductor chip manufacturer 1. Semiconductor chip maker 1 manufactures MPUs in microcomputers.
(Micro Processing Unit)
, RAM (Random Access Memo
ry), manufacturing a semiconductor chip with input/output ports (I/O ports) integrated into one chip. The chips manufactured by this semiconductor chip maker 1 include a development chip 23a and a development chip 23b, which will be explained in detail later. The mass-production chip 23a has a determination function that determines whether the program stored in the ROM connected to the mass-production chip 23a is appropriate and has passed a test by a third-party testing organization 11, which will be described later. It has the following. The development chip 23b is a chip that does not have the above-described determination function, and is the same as the mass-production chip 23a except that it does not have the determination function.

【0010】半導体チップメーカ1からチップ流通会社
2に入荷されたチップのうち量産用チップ23aは量産
用チップ流通部門28によって流通されチップ流通管理
機関3に搬入される。一方、開発用チップ23bの方は
、チップ流通会社2の開発用チップ流通部門29によっ
て流通されてチップ流通管理機関3に搬入される。なお
このチップ流通会社2は、完全な民営の会社でもよく、
また国が出資して作った公共の企業団体であってもよい
。チップ流通管理機関3は、チップが適正に流通してい
るか否かを管理して所定の遊技機メーカ等にチップの流
通を斡旋するための機関である。このチップ流通管理機
関3を省いてチップ流通会社2から遊技機メーカーに直
接チップを搬入してもよい。
Among the chips delivered from the semiconductor chip manufacturer 1 to the chip distribution company 2, the mass-produced chips 23a are distributed by the mass-produced chip distribution department 28 and delivered to the chip distribution management organization 3. On the other hand, the development chip 23b is distributed by the development chip distribution department 29 of the chip distribution company 2 and delivered to the chip distribution management institution 3. Note that this chip distribution company 2 may be a completely private company,
It may also be a public business organization created with funding from the state. The chip distribution management organization 3 is an organization that manages whether or not chips are distributed properly and mediates the distribution of chips to a predetermined gaming machine manufacturer or the like. This chip distribution management institution 3 may be omitted and the chips may be delivered directly from the chip distribution company 2 to the gaming machine manufacturer.

【0011】チップ流通管理機関3に搬入された量産用
チップ23aと開発用チップ23bとは、それぞれ遊技
機メーカ4の量産部門6と開発部門5とに搬入される。 遊技機メーカ4の開発部門5では、図示7に示すように
搬入された開発用チップ23bを用いてプログラムを開
発し、製品開発を行なう。そして開発部門5は開発した
開発プログラムが記憶された申請マスターROM10a
を搭載して申請用遊技機を作成するとともに、申請用の
書類を作成し、それら申請マスターROM10aが搭載
された申請用遊技機・作成書類9等からなる申請用提出
物8を提出して第三者試験機関11に試験を申請する。
The mass production chips 23a and the development chips 23b delivered to the chip distribution management institution 3 are delivered to the mass production department 6 and the development department 5 of the game machine manufacturer 4, respectively. The development department 5 of the game machine manufacturer 4 develops a program using the development chip 23b brought in as shown in FIG. 7, and develops a product. The development department 5 has an application master ROM 10a in which the developed development program is stored.
At the same time, create an application game machine with the application master ROM 10a installed, create the application documents, submit the application submission 8 consisting of the application game machine equipped with the application master ROM 10a, the created documents 9, etc. Apply for the test to the three-party testing organization 11.

【0012】第三者試験機関11は、たとえば警察等の
公的な監督機関の依託機関等で構成されている。この第
三者試験機関11には、試験業務部門12と鑑定業務部
門13とがあり、試験業務部門12に前記試験用提出物
8が搬入され、図示14に示すようにその試験申請を受
付ける。試験業務部門12では、その受付けた試験用提
出物8を図示15に示すように試験し、図示16で示す
ようにその試験結果の合否の判定を行なう。不合格と判
定された場合には試験業務部門12は図示17に示すよ
うに遊技機メーカにその申請用提出物8を差戻して不合
格である旨の通知を行なう。
[0012] The third party testing agency 11 is comprised of, for example, a commissioned agency of a public supervisory agency such as the police. This third-party testing organization 11 has a testing department 12 and an appraisal department 13, and the test submission 8 is delivered to the testing department 12, and the test application is accepted as shown in FIG. The testing department 12 tests the received test submission 8 as shown in FIG. 15, and determines whether the test result is acceptable or not as shown in FIG. If it is determined that the application has failed, the testing department 12 returns the application submission 8 to the game machine manufacturer and notifies the gaming machine manufacturer of the failure, as shown in FIG. 17.

【0013】一方、各都道府県の警察等で構成された管
轄監督機関25も申請用遊技機について検定を行い、第
三者試験機関11により合格と判断されかつ管轄監督機
関25により適正と判断された場合には図示18で示す
ようにセキュリティコードを発行して量産用マスターR
OM10bに記憶させる作業を行なう。この第三者試験
機関11と管轄監督機関25とにより、前記リードオン
リーメモリ(ROM)に記憶されている前記開発プロク
ラムが一定の基準に合格するか否かを試験する第三者機
関が構成されている。前記セキュリティコードとは、第
三者機関により合格と判断されて市場に出回った遊技機
に搭載されたROMに記憶されているプログラムが前記
第三者機関の試験に合格した適正なものであるか否かを
判定するために用いられるセキュリティ情報である。
On the other hand, the competent supervisory authority 25 consisting of the police of each prefecture also inspected the game machine for application, and the third party testing institute 11 determined that the game machine passed, and the competent supervisory authority 25 determined that it was appropriate. In this case, a security code will be issued as shown in Figure 18 and the master R for mass production will be issued.
Perform the work to store it in the OM10b. The third-party testing agency 11 and the competent supervisory agency 25 constitute a third-party agency that tests whether the development program stored in the read-only memory (ROM) passes a certain standard. ing. The above-mentioned security code refers to whether the program stored in the ROM installed in a gaming machine that has been judged to have passed by a third-party institution and put on the market is the correct one that has passed the test of the third-party institution. This is security information used to determine whether the

【0014】このセキュリティコードは、例えば合格し
たプログラムのプログラムデータを所定の変換フォーマ
ットに従って変換されたものをセキュリティコードとす
る方法が考えられる。この場合において、プログラムデ
ータすべてをセキュリティコード作成の基準としてもよ
いし、プログラムデータのうち、特に重要な部分(例え
ば大当り確率や可変入賞球装置の開放時間などのデータ
部分)をセキュリテイーコード作成の基準としてもよい
。このセキュリテイーコードは、管轄監督機関25の検
定結果を待つことなく第三者試験機関が試験に合格した
と判断した時点で発行するようにしてもよい。
[0014] This security code may be obtained by, for example, converting the program data of the passed program according to a predetermined conversion format. In this case, all of the program data may be used as the standard for creating the security code, or particularly important parts of the program data (for example, data parts such as jackpot probability and opening time of the variable winning ball device) may be used as the standard for creating the security code. You can also use it as This security code may be issued at the time when a third-party testing agency determines that the test has been passed, without waiting for the test results from the competent supervisory agency 25.

【0015】第三者試験機関11の試験業務部門12に
よってセキュリティコードが付加された量産用マスター
ROM10bは、遊技機メーカ4の量産部門6に搬入さ
れる。量産部門6は量産用マスターROM10bに記憶
されている記憶情報を図示19に示すようにコピーする
。量産用マスターROM10bの記憶情報がコピーされ
たROMが基板22に実装される。さらに、チップ流通
管理機関3から搬入されてきた量産用チップを図示20
に示すように基板22に実装する。この基板22に実装
された実装チップ23と実装ROM10cとにより、遊
技機を制御するためのマイクロコンピュータが構成され
る。
The mass production master ROM 10b to which a security code has been added by the testing department 12 of the third party testing organization 11 is delivered to the mass production department 6 of the gaming machine manufacturer 4. The mass production department 6 copies the storage information stored in the mass production master ROM 10b as shown in FIG. A ROM in which the storage information of the mass production master ROM 10b has been copied is mounted on the board 22. Furthermore, the mass-produced chips brought in from the chip distribution management organization 3 are shown at 20.
It is mounted on the board 22 as shown in FIG. The mounted chip 23 and mounted ROM 10c mounted on this board 22 constitute a microcomputer for controlling the gaming machine.

【0016】基板22にチップ23とROM10cとを
実装した後に、最初に電源を投入した段階で、実装RO
M10cの記憶情報に含まれている前記セキュリティコ
ードが後述するように実装チップ23に記憶される。量
産用チップ23aからなる実装チップ23は、基板22
に装着されて一番最初に接続されたROM10cに記憶
されているセキュリティコードのみを記憶する機能を有
する。そしてこの記憶したセキュリティコードに基づい
て実装ROM10cに記憶されているプログラムが第三
者機関の試験を合格した適正なものであるか否かの判定
が行なわれる。一旦ROMを実装した後そのROMに記
憶されているプログラムを改ざんしたり、実装ROM1
0cを不正に作られたプログラムが記憶されたROMに
交換したりした場合には、実装チップ23に記憶されて
いる前記セキュリティコードとROMに記憶されている
セキュリティコードとが食違って整合性を失う。そのた
めに、プログラムが不正に改造されたことを判定するこ
とが可能となる。
After mounting the chip 23 and ROM 10c on the board 22, when the power is turned on for the first time, the mounting RO
The security code included in the storage information of M10c is stored in the mounting chip 23 as described later. The mounting chip 23 consisting of the mass-produced chip 23a is mounted on the substrate 22.
It has a function of storing only the security code stored in the ROM 10c that is installed in the ROM 10c and connected first. Then, based on the stored security code, it is determined whether the program stored in the mounted ROM 10c is a proper program that has passed a test by a third-party organization. Once the ROM is installed, the program stored in the ROM may be tampered with, or the installed ROM1
If 0c is replaced with a ROM in which an illegally created program is stored, the security code stored in the mounting chip 23 and the security code stored in the ROM may become inconsistent due to a discrepancy. lose. Therefore, it becomes possible to determine whether the program has been illegally modified.

【0017】このプログラムおよびセキュリティコード
のROMへのコピーおよび基板への実装作業を遊技機メ
ーカ4に行なわせる代わりに、量産用マスターROM1
0bをチップ流通会社2に搬入してチップ流通会社2で
ROMコピーとROMの基板への実装作業を行ない、そ
の後基板を遊技機メーカ4に搬入するようにしてもよい
。この遊技機メーカ4により、遊技機を制御するための
マイクロコンピュータの中央処理装置を動作させるため
のプログラムを開発して該開発プログラムを前記マイク
ロコンピュータのリードオンリーメモリに記憶させる開
発製造会社が構成されている。なおこの開発製造会社は
、遊技機メーカに限らず、その遊技機メーカの下請けで
あるプログラム開発製造会社で構成してもよい。
Instead of having the gaming machine manufacturer 4 carry out the work of copying this program and security code to the ROM and mounting it on the board, the master ROM 1 for mass production is
0b may be delivered to the chip distribution company 2, where the chip distribution company 2 performs ROM copying and mounting of the ROM onto the board, and then the board is delivered to the gaming machine manufacturer 4. This gaming machine manufacturer 4 constitutes a development and manufacturing company that develops a program for operating the central processing unit of a microcomputer for controlling the gaming machine and stores the developed program in the read-only memory of the microcomputer. ing. Note that this development and manufacturing company is not limited to the game machine manufacturer, but may also be a program development and manufacturing company that is a subcontractor of the game machine manufacturer.

【0018】前述したように、量産用チップ23aは、
接続されたROMに記憶されているプログラムを改造等
して最初のプログラムと異なったものにした場合にはプ
ログラムが不正に改造された旨の判定を行なってマイク
ロコンピュータが通常の状態では動作しないようにする
機能を有している。そのため量産用チップ23aを用い
て前述した開発部門5による開発を行なった場合には、
ROMに記憶されているプログラムのデバグ等を行なっ
てプログラムを変更する度に不適正である旨の判定が行
なわれてマイクロコンピュータが正常に動作しなくなる
不都合が生じる。しかし、前述したように開発用チップ
23bは前記セキュリティチェック機能を有しない。し
たがって、開発用チップ23bを用いて前記デバグ等を
行なえばマイクロコンピュータが通常状態で動作し、プ
ログラム開発に好都合となる。また、量産用チップ23
aのパッケージをたとえばプラスチックとし、開発用チ
ップ23bのパッケージをたとえばセラミックで構成し
、チップの外観から量産用チップ23aと開発用チップ
23bとの区別ができるようにしている。
As mentioned above, the mass-produced chip 23a is
If the program stored in the connected ROM is modified so that it is different from the original program, it will be determined that the program has been illegally modified and the microcomputer will not operate under normal conditions. It has the function of Therefore, when the aforementioned development department 5 performs development using the mass-produced chip 23a,
Each time the program stored in the ROM is debugged or otherwise changed, it is determined that the program is inappropriate, causing the inconvenience that the microcomputer no longer operates normally. However, as described above, the development chip 23b does not have the security check function. Therefore, if the development chip 23b is used for debugging, etc., the microcomputer operates in a normal state, which is convenient for program development. In addition, mass production chip 23
The package a is made of plastic, for example, and the package of the development chip 23b is made of ceramic, for example, so that the mass-produced chip 23a and the development chip 23b can be distinguished from each other based on the appearance of the chips.

【0019】チップとROMが実装された基板が組付け
られた遊技機21は、遊技場24に搬入される。遊技場
24では、搬入されてきた遊技機21を複数台設置して
遊技者による遊技が可能な状態にする。
The game machine 21 with the board mounted with the chip and the ROM mounted thereon is carried into the game hall 24. In the gaming hall 24, a plurality of gaming machines 21 that have been brought in are installed so that players can play games.

【0020】管轄監督機関25は、遊技場24に設置さ
れた遊技機21を抜打ち的に検査して図示26で示すよ
うに動作がおかしいと思われる遊技機のROMの照合処
理を行なう。そしてROMの照合を行なったにもかかわ
らず適否を決めがたいものについて、第三者試験機関1
1の鑑定業務部門13に鑑定依頼を行なう。たとえば、
実装チップ23と実装ROM10cとの両者を不正に作
られた別のものに取替えた場合には、前述したセキュリ
ティチェックが行われることなく改造プログラムに従っ
て遊技機が動作することになるのであり、そのような場
合に鑑定業務部門13に鑑定依頼を行なうのである。
[0020] The competent supervisory authority 25 randomly inspects the gaming machines 21 installed in the gaming parlor 24, and performs a process of checking the ROM of the gaming machine that seems to be malfunctioning, as shown in the diagram 26. If the ROM cannot be determined to be suitable even after verification, the third-party testing organization
An appraisal request is made to the appraisal business department 13 of No. 1. for example,
If both the mounted chip 23 and the mounted ROM 10c are replaced with different ones made illegally, the game machine will operate according to the modified program without the aforementioned security check being performed. In such cases, an appraisal request is made to the appraisal business department 13.

【0021】鑑定業務部門13では、鑑定依頼された実
装チップ23と実装ROM10cとが搭載された基板2
2を検査して図示33で示すように遊技機検証・照合を
行なう。この遊技機検証・照合33は、基板22に実装
されたROM10cを取去ってその代わりに適正なプロ
グラムが記憶されている量産用マスターROM10bを
実装して実装チップ23が正常に動作するか否かの検証
・照合をすることにより行なう。その結果、図示28に
示すように鑑定作業・書類の作成を行ない、管轄監督機
関25に鑑定結果を報告する。前述した申請マスタRO
M10a,量産用マスタROM10b,実装ROM10
cはたとえばEPROMで構成されている。
[0021] In the appraisal business department 13, the board 2 on which the mounted chip 23 and the mounted ROM 10c that have been requested for appraisal are mounted.
2 is inspected and gaming machine verification/verification is performed as shown at 33 in the figure. This gaming machine verification/verification 33 involves removing the ROM 10c mounted on the board 22 and replacing it with a master ROM 10b for mass production in which a proper program is stored, and checking whether the mounted chip 23 operates normally. This is done by verifying and collating. As a result, as shown in the diagram 28, appraisal work and document preparation are performed, and the appraisal results are reported to the competent supervisory authority 25. Application master RO mentioned above
M10a, mass production master ROM10b, mounting ROM10
c is composed of, for example, an EPROM.

【0022】図2は、量産用チップが基板に実装された
状態の実装チップおよびそれに接続される各種装置や回
路を示すブロック図である。
FIG. 2 is a block diagram showing a mass-produced chip mounted on a substrate and various devices and circuits connected thereto.

【0023】この実装チップ23は、制御動作を所定の
手順で実行することのできる中央処理装置すなわちCP
U(Central  Processing  Un
it)40と、必要なデータの書込みおよび呼出しがで
きるRAM41と、入力信号を受けてCPU40に入力
データを与えるとともにCPU40からの出力データを
受けて外部に出力するI/Oポート44等がワンチップ
化されて構成されている。実装チップ23に設けられて
いるクロック発生回路46には、外部に設けられた水晶
発振子45からの水晶振動信号が入力される。この水晶
発振子45からの水晶振動信号は動作クロックの2倍の
振動数のものである。なお、水晶発振子45に変えてセ
ラミックを発振子としたセラミック発振子による振動信
号をクロック発生回路46に入力してもよい。
This mounted chip 23 has a central processing unit, that is, a CP, which can execute control operations according to a predetermined procedure.
U (Central Processing Un)
IT) 40, a RAM 41 that can write and recall necessary data, and an I/O port 44 that receives input signals and provides input data to the CPU 40, receives output data from the CPU 40, and outputs it to the outside on a single chip. It is structured and organized. A crystal oscillation signal from an externally provided crystal oscillator 45 is input to a clock generation circuit 46 provided on the mounted chip 23 . The crystal vibration signal from this crystal oscillator 45 has a frequency twice that of the operating clock. Note that instead of the crystal oscillator 45, a vibration signal generated by a ceramic oscillator using a ceramic as an oscillator may be input to the clock generation circuit 46.

【0024】クロック発生回路46からのクロック信号
が入力されたプログラマブルクロック分周回路47は、
入力されたクロック信号を分周して所定のクロック信号
をサウンドジェネレータ48や可変表示装置表示駆動用
IC49に出力する。このサウンドジェネレータ48は
遊技機に設けられたスピーカ97(図7参照)に音発生
用の制御信号を出力するものである。また可変表示装置
表示駆動用IC49は遊技機に設けられた可変表示装置
90(図7参照)を制御するためのものであり、CPU
,RAM,ROM,I/Oポートがワンチップ化された
もので構成されている。なお、この可変表示装置表示駆
動用IC49は図示一点鎖線で示すようにプログラマブ
ル割込み要求タイマ50,51に接続させた状態で設け
てもよく、また、可変表示装置表示駆動用IC49を設
けることなく可変表示装置90を直接I/Oポート44
からの出力信号により制御するようにしてもよい。
The programmable clock frequency divider circuit 47 to which the clock signal from the clock generation circuit 46 is input,
The frequency of the input clock signal is divided and a predetermined clock signal is output to the sound generator 48 and the variable display device display driving IC 49. This sound generator 48 outputs a control signal for generating sound to a speaker 97 (see FIG. 7) provided in the gaming machine. Further, the variable display device display driving IC 49 is for controlling the variable display device 90 (see FIG. 7) provided in the gaming machine, and is for controlling the variable display device 90 (see FIG. 7).
, RAM, ROM, and I/O ports all integrated into one chip. Note that the variable display device display driving IC 49 may be provided in a state connected to the programmable interrupt request timers 50 and 51 as shown by the dashed line in the figure, or the variable display device display driving IC 49 may be provided in a state connected to the programmable interrupt request timers 50 and 51. The display device 90 can be connected directly to the I/O port 44.
The control may be performed using an output signal from.

【0025】プログラマブル割込要求タイマ0(50)
,1(51)は、16bitのプログラマブルカウンタ
タイマで構成されており、フリー・ランニング・カウン
タ,コンペア・レジスタ(2組)を内蔵している。 このプログラマブル割込要求タイマ0(50),1(5
1)は、主要機能として、インターバル・タイマ機能,
イベント・カウント機能,ワンショット出力機能,PW
M(パルス幅変調)出力機能を有するばかりでなく、パ
ルス幅測定機能と時間差測定機能とを有する。
Programmable interrupt request timer 0 (50)
, 1 (51) is composed of a 16-bit programmable counter timer, and includes a free running counter and a compare register (two sets). This programmable interrupt request timer 0 (50), 1 (5
1) has an interval timer function as its main functions,
Event count function, one-shot output function, PW
It not only has an M (pulse width modulation) output function, but also a pulse width measurement function and a time difference measurement function.

【0026】パルス幅測定機能とは、たとえば遊技機に
設けられた始動入賞スイッチ101a,101b,10
1cや10カウント検出スイッチ102(図8参照)の
検出信号の波形長さを測定する機能である。時間差測定
機能とは、前述した各種のスイッチからの検出信号があ
った後次回の検出信号があるまでの時間を測定する機能
である。このパルス幅測定機能と時間差測定機能とは、
プログラマブル割込要求タイマ0(50),1(51)
のカウンタのクロックソースを外部入力に選択した場合
に達成可能となる。
[0026] The pulse width measurement function is, for example, the start winning switch 101a, 101b, 10 provided in the gaming machine.
This function measures the waveform length of the detection signal of the 1c or 10 count detection switch 102 (see FIG. 8). The time difference measurement function is a function that measures the time from when a detection signal is received from the various switches described above until the next detection signal is received. What is this pulse width measurement function and time difference measurement function?
Programmable interrupt request timer 0 (50), 1 (51)
This can be achieved if the clock source of the counter is selected as an external input.

【0027】カウンタのクロックソースとしては、クロ
ックを選択してリフレッシュカウンタとして利用するこ
ともでき、また、他方のプログラマブル割込要求タイマ
からの出力をクロックソースに選択して32bitのカ
ウンタとして使用することもできる。これらのクロック
ソースを選択する方法としては、プログラム内部で選択
するやり方を採用する。つまり、ある番地にレジスタが
あり、ここに所定の数字を書込み、その書込まれた数字
の種類によってクロックソースを選択するようにする。
As the clock source of the counter, the clock can be selected and used as a refresh counter, or the output from the other programmable interrupt request timer can be selected as the clock source and used as a 32-bit counter. You can also do it. As a method of selecting these clock sources, a method of selecting them within the program is adopted. That is, there is a register at a certain address, a predetermined number is written there, and a clock source is selected depending on the type of the written number.

【0028】このプログラマブル割込要求タイマ0(5
0),1(51)は、カウンタ出力およびコンペア出力
により割込みの設定が可能であり、また、割込みを、ユ
ーザリセット,マスカブル割込み,ノンマスカブル割込
みのいずれかの例外処理にルーティング設定できる。さ
らに、プリスケーラの働きにより、タイマのクロック単
位時間を任意に設定できるとともに、コンペア・レジス
タ(2組)の値を任意に設定できる。このプログラマブ
ル割込要求タイマ0(50),1(51)からの出力信
号がリセット/割込みコントローラ52に入力される。
This programmable interrupt request timer 0 (5
0) and 1 (51) can set interrupts using counter outputs and compare outputs, and can route interrupts to any one of user reset, maskable interrupt, and non-maskable interrupt exception processing. Further, by the function of the prescaler, the clock unit time of the timer can be arbitrarily set, and the values of the compare registers (two sets) can be arbitrarily set. Output signals from the programmable interrupt request timers 0 (50) and 1 (51) are input to the reset/interrupt controller 52.

【0029】このリセット/割込みコントローラ52は
、システムリセット機能とユーザリセット機能とを有す
る。システムリセットとは、I/Oポート44を含む実
装チップ23全体を初期化して電源立上げ状態からのリ
スタートを行なうことである。一方ユーザリセットとは
、CPU40のみをリセットして実装チップ23のウォ
ームリスタートを行なうことである。このユーザリセッ
トは、たとえば2msec毎に1回行なわれて割込み処
理が可能となる。このリセット/割込みコントローラ5
2には、割込み要求信号発生回路54から、システムリ
セット信号、ウォームリスタートを行なうためのユーザ
リセット信号,ノンマスカブル割込み要求信号,マスカ
ブル割込み要求信号が入力される。リセット/割込みコ
ントローラ52から割込み要求信号発生回路54に対し
てはシステムリセット出力信号が出力される。
The reset/interrupt controller 52 has a system reset function and a user reset function. System reset means initializing the entire mounted chip 23 including the I/O port 44 and restarting from the power-up state. On the other hand, user reset means to reset only the CPU 40 and perform a warm restart of the mounted chip 23. This user reset is performed once every 2 msec, for example, to enable interrupt processing. This reset/interrupt controller 5
2, a system reset signal, a user reset signal for performing a warm restart, a non-maskable interrupt request signal, and a maskable interrupt request signal are inputted from the interrupt request signal generation circuit 54. A system reset output signal is output from the reset/interrupt controller 52 to the interrupt request signal generation circuit 54.

【0030】このリセット/割込みコントローラ52に
入力されるシステムリセット信号は、ロウアクティブで
レベル入力となっている。つまり、入力される信号がハ
イレベルからロウレベルに切替わったときにリセットさ
れるようになっている。リセット/割込みコントローラ
52に入力されるユーザリセット信号も同様にロウアク
ティブでレベル入力となっている。なお、この割込み要
求信号発生回路54は設けない場合もある。
The system reset signal input to the reset/interrupt controller 52 is a low active level input. In other words, it is reset when the input signal switches from high level to low level. Similarly, the user reset signal input to the reset/interrupt controller 52 is a low active level input. Note that this interrupt request signal generation circuit 54 may not be provided.

【0031】実装チップ23にはアドレス・デコード回
路57とデータ出力時間調整回路58とが設けられてい
る。アドレス・デコード回路57には、外部I/O67
と外部ROM10cとが接続されている。この実装チッ
プ23と外部ROM10cによってマイクロコンピュー
タが構成される。このマイクロコンピュータは、実装チ
ップ23と外部ROM10cと、さらにはサウンドジェ
ネレータ48を含めてワンチップ化しても良い。アドレ
ス・デコード回路57は、外部入出力マップエリアと外
部ROMエリアとをメモリ(物理アドレス)上の空間へ
設定するアドレス・デコード(チップセレクト信号生成
)機能を有している。
The mounted chip 23 is provided with an address decode circuit 57 and a data output time adjustment circuit 58. The address decode circuit 57 includes an external I/O 67
and an external ROM 10c are connected. This mounted chip 23 and external ROM 10c constitute a microcomputer. This microcomputer may include the mounting chip 23, the external ROM 10c, and the sound generator 48 in one chip. The address decode circuit 57 has an address decode (chip select signal generation) function that sets an external input/output map area and an external ROM area in a space on a memory (physical address).

【0032】外部入出力マップエリアは外部入出力マッ
プエリア・サイズを256B〜2KBまで設定できると
ともに、8分割したエリア毎にチップセレクト信号(6
本)を割当てることができる。また、外部ROMエリア
は、外部ROM10cのチップセレクト信号を生成する
The external input/output map area size can be set from 256B to 2KB, and the chip select signal (6
books) can be assigned. Further, the external ROM area generates a chip select signal for the external ROM 10c.

【0033】データ出力時間調整回路58は、低速の入
出力機器とのインターフェイスを行なうために、マシン
サイクルを延ばすウエイト機能を提供する。設定により
、最大4マシンサイクル分のウエイト・ステートが可能
となる。このアドレス・デコード回路57からの出力信
号はI/Oポート44にも入力され、出力されたアドレ
スに応じてI/Oポート44のbitを指定して入出力
ポートを特定できるように構成されている。
Data output time adjustment circuit 58 provides a wait function to extend the machine cycle in order to interface with low speed input/output equipment. Depending on the settings, a wait state of up to four machine cycles is possible. The output signal from the address decode circuit 57 is also input to the I/O port 44, and the configuration is such that the input/output port can be specified by specifying the bit of the I/O port 44 according to the output address. There is.

【0034】I/Oポート44は、8bit(ポートA
用)および4bit(ポートB用)の周辺機器インター
フェイスポート(PIP)を、各1ポート有する。これ
らのポート端子は、汎用入出力ポート機能のほかに、外
部入出力のチップセレクト端子およびハンドシェイク端
子(1ポート分)とを兼ねている。図4に示すように、
a,b,cの3つのモードを有し、その3つのモードの
いずれを選択するかの選択命令が外部ROM10cから
CPU40を介してI/Oポート44に与えられる。そ
して、cのモードが選択された場合には、bit単位で
入出力設定のできる8bitの汎用入出力ポートと6b
itのチップセレクト機能が提供される。ハンドシェイ
ク機能を持たせたい場合にはaまたはbのモードを選択
する。すると、Byte単位で入出力設定のできる8b
it汎用入出力ポートが提供される。ただしポートA用
のハンドシェイク用端子として2端子(P8,P9)が
設定され、このハンドシェイク端子P8,P9は、タイ
ミング信号とリード,ライト信号が入出力される。この
ハンドシェイク用端子は割込み設定が可能である。さら
に、ハンドシェイク用端子の割込みをマスカブル割込み
の例外処理にルーティング設定できる。また、モードa
を選択した場合には、P10〜P13の端子がチップセ
レクト信号ポートとなり、モードbを選択した場合には
、P10〜P13の端子はポートBのためのハンドシェ
イク機能なしのPIPとなる。
The I/O port 44 has 8 bits (port A
It has one port each for peripheral device interface ports (PIP) and 4-bit (for port B). In addition to the general-purpose input/output port function, these port terminals also serve as external input/output chip select terminals and handshake terminals (for one port). As shown in Figure 4,
It has three modes, a, b, and c, and a selection command for selecting one of the three modes is given to the I/O port 44 from the external ROM 10c via the CPU 40. When mode c is selected, an 8-bit general-purpose input/output port and a 6b
It provides a chip select function. If you want to have a handshake function, select mode a or b. Then, 8b which can input/output settings in byte units.
It provides general purpose input/output ports. However, two terminals (P8, P9) are set as handshake terminals for port A, and timing signals and read and write signals are input and output to these handshake terminals P8 and P9. This handshake terminal can be set for interrupts. Additionally, handshake terminal interrupts can be routed to maskable interrupt exception handling. Also, mode a
When mode b is selected, the terminals P10 to P13 become chip select signal ports, and when mode b is selected, the terminals P10 to P13 become PIPs without a handshake function for port B.

【0035】このI/Oポート44に対し遊技機の各種
駆動回路55と各種スイッチ回路56とが接続されてい
る。そして、I/Oポート44を介して各種スイッチ回
路56からの信号がCPU40に与えられ、I/Oポー
ト44を介してCPU40からの制御信号が各種駆動回
路55に与えられる。
Various drive circuits 55 and various switch circuits 56 of the game machine are connected to this I/O port 44. Signals from various switch circuits 56 are applied to the CPU 40 via the I/O port 44, and control signals from the CPU 40 are applied to various drive circuits 55 via the I/O port 44.

【0036】実装チップ23に設けられたウォッチドッ
グタイマ60は、ノイズや電源電圧の低下等の原因によ
る誤動作(暴走)を検出して正常な状態に戻す機能を提
供するものである。このウォッチドッグタイマ60から
の信号がシステムチェック回路61とリセット/割込み
コントローラ52とに与えられる。このウォッチドッグ
タイマ60は、タイマのリセットタイミングが最大許容
リセット・インターバル・タイム以上になったときにウ
ォッチ・ドッグ・タイマ信号が出力されるように構成さ
れている。この最大許容リセット・インターバル・タイ
ムは遊技機メーカ4が所望の時間に設定することができ
る。さらにこのウォッチドッグタイマ60は、8bit
プリスケーラの働きにより、タイマのクロック単位時間
が設定できる。このウォッチドッグタイマ信号の出力を
、ユーザリセット,マスカブル割込み,ノンマスカブル
割込みのいずれかの例外処理にルーティング設定できる
。なおシステムチェック回路61は設けない場合もある
The watchdog timer 60 provided in the mounted chip 23 provides a function of detecting malfunction (runaway) due to causes such as noise or a drop in power supply voltage, and restoring the circuit to a normal state. A signal from watchdog timer 60 is applied to system check circuit 61 and reset/interrupt controller 52. This watchdog timer 60 is configured to output a watchdog timer signal when the reset timing of the timer exceeds the maximum allowable reset interval time. This maximum allowable reset interval time can be set to a desired time by the gaming machine manufacturer 4. Furthermore, this watchdog timer 60 has an 8-bit
The prescaler function allows the clock unit time of the timer to be set. The output of this watchdog timer signal can be routed to any one of user reset, maskable interrupt, and non-maskable interrupt exception processing. Note that the system check circuit 61 may not be provided.

【0037】実装チップ23に設けられた外部バスイン
ターフェイス43にはアドレスバス端子(16端子)と
データバス端子(8端子)とが接続されており、アドレ
スバス信号とデータバス信号とがそれぞれ出力される。 また外部バスインターフェイス43からは、データバス
がリードサイクルであることを示す信号,データバスが
ライトサイクルであることを示す信号,メモリ空間への
アクセスであることを示す信号,オペコードフェッチサ
イクル実行中であることを示す信号が出力される。これ
らの出力信号は、プログラム開発の際にワンチップマイ
クロコンピュータICE用アダプタボード59(図5参
照)に出力される。このワンチップマイクロコンピュー
タICE用アダプタボード59には、セキュリティチェ
ック回路62からモニタ装置60への出力端子を除くこ
の実装チップ23の入出力端子の全てが接続される。ま
た、アドレスバス端子からのアドレスバス信号とデータ
バス端子からのデータバス信号とはそれぞれ外部I/O
ポート67,外部ROM10cにも出力される。また、
データバス端子からのデータバス信号を可変表示装置表
示駆動用IC49のI/Oポートおよびデータバスに入
力して可変表示装置表示駆動用ICを動作させるように
してもよい。この場合に可変表示装置表示駆動用ICに
入力される信号の内容としては、たとえば遊技機が大当
たりになるようにするための命令信号が考えられる。一
方、この可変表示装置表示駆動用IC49に入力する命
令信号としては、前記I/Oポート44からの出力信号
を命令信号として入力してもよい。
Address bus terminals (16 terminals) and data bus terminals (8 terminals) are connected to the external bus interface 43 provided on the mounting chip 23, and address bus signals and data bus signals are output respectively. Ru. In addition, from the external bus interface 43, a signal indicating that the data bus is in a read cycle, a signal indicating that the data bus is in a write cycle, a signal indicating that the memory space is being accessed, and a signal indicating that the operation code fetch cycle is being executed. A signal is output indicating that there is. These output signals are output to the one-chip microcomputer ICE adapter board 59 (see FIG. 5) during program development. All the input/output terminals of this mounted chip 23 except the output terminal from the security check circuit 62 to the monitor device 60 are connected to this one-chip microcomputer ICE adapter board 59. In addition, the address bus signal from the address bus terminal and the data bus signal from the data bus terminal are respectively external I/O
It is also output to port 67 and external ROM 10c. Also,
The variable display device display driving IC may be operated by inputting a data bus signal from the data bus terminal to the I/O port and data bus of the variable display device display driving IC 49. In this case, the content of the signal input to the variable display device display driving IC may be, for example, a command signal for causing a game machine to hit a jackpot. On the other hand, the output signal from the I/O port 44 may be input as the command signal to the variable display device display driving IC 49.

【0038】図中69は大容量のコンデンサであり、R
AM41の電源をバックアップするためのものである。 なおこのコンデンサ69を設けない場合もある。このR
AM41は、セキュリティチェック回路62からのバン
ク切替え信号によりバンク切替えが可能に構成されてい
る。このことを図3に基づいて説明する。
In the figure, 69 is a large capacity capacitor, R
This is for backing up the power supply of AM41. Note that this capacitor 69 may not be provided in some cases. This R
The AM 41 is configured to be able to switch banks in response to a bank switching signal from the security check circuit 62. This will be explained based on FIG. 3.

【0039】図3は、メモリマップを示す説明図である
。図3に示すように、アドレス0000から7FFFま
でが外部ROM10cに割振られたアドレスであり、8
000から81FFまでがRAM41に割振られたアド
レスであり、F000からF7FFまでが外部I/O6
7に割振られたアドレスであり、FF00からFFFF
までが内部I/O44に割振られたアドレスである。 そして、RAM41は、アドレス8000から81FF
までの同じアドレスに256/512B(コンデンサ6
9によるバックアップが可能)と256Bとの2つの領
域を有している。ただし、RAM41の容量が256B
の時は、そのアドレスは8000から80FFまでであ
る。そして、後述する一般ユーザモードの場合には25
6/512Bのワーキングエリアが用いられ、後述する
ユーザテストモードの場合にはバンク切替えが行なわれ
て256Bの方のワーキングエリアが用いられる。なお
、256/512Bの内、256の方がパチンコ遊技機
用であり512の方がスロットマシーン用である。
FIG. 3 is an explanatory diagram showing a memory map. As shown in FIG. 3, addresses 0000 to 7FFF are addresses allocated to the external ROM 10c, and 8
Addresses from 000 to 81FF are allocated to RAM 41, and addresses from F000 to F7FF are for external I/O 6.
This is the address assigned to 7, from FF00 to FFFF
The addresses up to are the addresses allocated to the internal I/O 44. And RAM41 is from address 8000 to 81FF
256/512B (capacitor 6) to the same address up to
9) and 256B. However, the capacity of RAM41 is 256B
, the address is from 8000 to 80FF. In the case of general user mode, which will be described later, 25
A working area of 6/512B is used, and in the case of a user test mode to be described later, bank switching is performed and a working area of 256B is used. Note that among 256/512B, 256 is for pachinko gaming machines, and 512 is for slot machines.

【0040】また、外部ROM10cには、前述のよう
にアドレス0000から7FFFが割当てられており、
このアドレス内に収まるように適正プログラムは作成さ
れる。もしもこのアドレス外の命令を実行するようにプ
ログラムが作成されている場合、このプログラムは不正
に改造されたものと判断される。そのような場合には、
CPU40は自動的に停止し、命令を実行することがな
いように構成されている。
Furthermore, addresses 0000 to 7FFF are assigned to the external ROM 10c as described above.
A suitable program is created to fit within this address. If a program is created to execute an instruction outside this address, it is determined that this program has been illegally modified. In such cases,
The CPU 40 is configured to automatically stop and not execute any instructions.

【0041】RAM41は、コンデンサ69によりバッ
クアップされている。しかし、何らかの原因で電源の瞬
断等があった場合には、CPU動作が不安定となり、R
AM41への異常なアクセスにより、RAM41のデー
タが破壊されるおそれがある。そのため、RAM41に
は、電源瞬断時のバックアップ電源からの出力に応答し
て、RAM41へのアクセスを禁止するためのアクセス
制御機能が付加されている。
The RAM 41 is backed up by a capacitor 69. However, if there is a momentary power outage for some reason, CPU operation will become unstable and R
There is a possibility that data in RAM 41 may be destroyed due to abnormal access to AM 41. Therefore, the RAM 41 is provided with an access control function for prohibiting access to the RAM 41 in response to the output from the backup power supply when the power supply is momentarily cut off.

【0042】すなわち、RAM41には、アクセス制御
レジスタが設けられており、その所定のビットの値に応
じてRAM41へのアクセスの可否を制御する。このビ
ットの書換えは、CPU40が、電源の瞬断時にバック
アップ電源が発生するノンマスカブル割込などに応答し
て、まだ動作が安定している間に行なう。このビットが
アクセス不可を示す値であるときには、RAM41から
のデータ読出しも、書込みも行なうことができず、遊技
機が異常な動作に陥ることを予防できる。
That is, the RAM 41 is provided with an access control register, and access to the RAM 41 is controlled depending on the value of a predetermined bit. This bit is rewritten while the CPU 40 is still operating stably in response to a non-maskable interrupt generated by the backup power supply when the power supply is momentarily cut off. When this bit has a value indicating that access is prohibited, data cannot be read from or written to the RAM 41, and it is possible to prevent the gaming machine from operating abnormally.

【0043】実装チップ23に設けられているセキュリ
ティチェック回路62は、CPU63,ROM64,R
AM65を有し、ROM64には後述する図5に示すプ
ログラムが記憶されている。
The security check circuit 62 provided in the mounting chip 23 includes a CPU 63, a ROM 64, an R
It has an AM65, and a ROM64 stores a program shown in FIG. 5, which will be described later.

【0044】また、そのプログラムを図5に基づいて説
明する。電源が投入され、システムリセットがされてス
テップS(以下単にSという)1により、外部ROM1
0cに書き込まれているセキュリティコードと外部RO
M10cのプログラムデータとの整合性をチェックする
処理が行なわれる。この外部ROM10cに書込まれて
いるセキュリティコードとは、図1で説明したように、
第三者試験機関や管轄監督機関25によって合格と見な
された開発プログラムに付加されるセキュリティコード
であり、たとえば外部ROM10cのプログラムデータ
を一定の変換フォーマットに従って変換したコードであ
る。そしてその変換フォーマットが既にセキュリティチ
ェック回路62のROM64に記憶されており、その記
憶された変換フォーマットに従って外部ROM10cに
書込まれているセキュリティコードとプログラムデータ
との整合性をチェックするのである。なお、前記変換フ
ォーマットを前もってセキュリティチェック回路62の
ROM64に書込む代わりに、第三者試験機関等によっ
て合格と判断されたROM10bにその変換フォーマッ
トを書込んでおいてもよい。その場合には、その変換フ
ォーマットとセキュリティコードとに基づいて、セキュ
リティチェック回路62がROMに書込まれているセキ
ュリティコードとプログラムデータとの整合性をチェッ
クすることになる。次に、S2に進み、チェックの結果
適正であるか否かの判断がなされ、適正である場合には
S3に進み、セキュリティチェック回路62にセキュリ
ティコードが書込まれているか否かの判断が行なわれる
。実装チップ23が実装されている基板22と同一基板
にROM10cが実装されて初めて電源が投入された段
階では、セキュリティチェック回路にセキュリティコー
ドがまだ書込まれていないためにS6に進む。S6では
、セキュリティチェック回路62にセキュリティコード
を書込む処理がなされた後にS7に進む。なお、この場
合においてROMのプログラムデータをそのままセキュ
リティデータとしてセキュリティチェック回路に書込む
ようにしてもよい。S7では、CPU40を時間制限な
しで能動化して通常の遊技機制御が行なわれる一般ユー
ザモードにする処理が行なわれる。この場合においても
、システム暴走等があった場合にはシステムリセットが
行なわれて再度S1以降の処理が行なわれる。なお、本
実施例では、実装チップ23が実装されている基板22
と同一基板にROM10cが実装されて初めて電源が投
入された時にセキュリティチェック回路62にセキュリ
ティコードを書込むようにしたが、遊技機メーカー4が
第三者試験機関11から量産用マスタROM10bに対
応するセキュリティコードが書込まれた量産用マスタチ
ップを受けとり、それを量産用チップ23aにコピーし
て基板22に実装するようにしてもよい。また、専用の
セキュリティコード書込装置によって実装チップ23(
量産用チップ23a)にセキュリティコードを書込むよ
うにしてもよい。
Further, the program will be explained based on FIG. 5. The power is turned on, the system is reset, and in step S (hereinafter simply referred to as S) 1, the external ROM 1 is
Security code written in 0c and external RO
Processing is performed to check consistency with the program data of M10c. The security code written in this external ROM 10c is as explained in Fig. 1.
This is a security code added to a development program that is deemed to have passed by a third-party testing agency or competent supervisory agency 25, and is, for example, a code obtained by converting program data in the external ROM 10c according to a certain conversion format. The conversion format has already been stored in the ROM 64 of the security check circuit 62, and the consistency between the security code written in the external ROM 10c and the program data is checked according to the stored conversion format. Note that instead of writing the conversion format in advance in the ROM 64 of the security check circuit 62, the conversion format may be written in the ROM 10b that has been determined to be acceptable by a third-party testing organization or the like. In that case, the security check circuit 62 checks the consistency between the security code written in the ROM and the program data based on the conversion format and the security code. Next, the process proceeds to S2, where it is determined whether the check result is appropriate, and if the result is appropriate, the process proceeds to S3, where it is determined whether or not the security code is written in the security check circuit 62. It will be done. When the power is turned on for the first time after the ROM 10c is mounted on the same board as the board 22 on which the mounted chip 23 is mounted, the process proceeds to S6 because the security code has not yet been written in the security check circuit. In S6, a process of writing a security code into the security check circuit 62 is performed, and then the process advances to S7. In this case, the program data in the ROM may be written directly as security data into the security check circuit. In S7, a process is performed in which the CPU 40 is activated without a time limit and placed in a general user mode in which normal gaming machine control is performed. Even in this case, if there is a system runaway, the system is reset and the processes from S1 onwards are performed again. Note that in this embodiment, the substrate 22 on which the mounted chip 23 is mounted is
The security code is written in the security check circuit 62 when the power is turned on for the first time after the ROM 10c is mounted on the same board as the ROM 10c. It is also possible to receive a master chip for mass production in which the security code is written, copy it to the mass production chip 23a, and mount it on the board 22. In addition, the mounted chip 23 (
A security code may be written in the mass-produced chip 23a).

【0045】一方、セキュリティチェック回路に既にセ
キュリティコードが書込まれている場合にはS3により
YESの判断がなされて制御はS4に進み、ROM10
cのセキュリティコードとセキュリティチェック回路に
既に書込まれているセキュリティコードとの整合性のチ
ェックを行なう。次に制御はS5に進み、そのチェック
の結果適正であったか否かの判断が行なわれ、適正であ
った場合には制御はS7に進むが、適正でなかった場合
にはS8に進み、CPU40を一定時間(たとえば60
秒間)に限り能動化する処理すなわちユーザテストモー
ドに移行する。そして一定時間が経過した場合またはシ
ステム暴走等があった場合には再度システムリセットが
行なわれてS1以降の処理が行なわれる。このS1,S
2およびS4,S5により、リードオンリーメモリに記
憶されている制御用プログラムが前記第三者機関の試験
に合格した適正なものか否かを判定する適否判定手段が
構成されている。一方、S2,S5によるチェックの結
果適正である旨の判断が行なわれた場合には、前述した
ようにROM41が256/512Bのワーキングエリ
アを使用することになり、一方S2,S5によるチェッ
クの結果不適正である旨の判断が行なわれた場合にはセ
キュリティチェック回路62からRAM41に対し図2
で示すようにバンク切替え信号が出力され、RAM41
が256Bの方のワーキングエリアに切替えられる。そ
して、S8による制限時間(たとえば60秒間)内に限
ってCPUが能動化された場合には、その制限時間内に
おけるマイクロコンピュータの動作はRAM41の25
6Bの方のワーキングエリアで行なわれることになる。
On the other hand, if the security code has already been written in the security check circuit, a YES determination is made in S3, and control proceeds to S4, where the ROM 10 is
The consistency between the security code c and the security code already written in the security check circuit is checked. Next, the control proceeds to S5, where it is determined whether the check result is appropriate or not. If the result is appropriate, the control proceeds to S7, but if not, the control proceeds to S8, where the CPU 40 is A certain period of time (for example, 60
2 seconds), that is, transition to user test mode. If a certain period of time has elapsed or if the system goes out of control, the system is reset again and the processes from S1 onwards are performed. This S1,S
2, S4, and S5 constitute a suitability determining means for determining whether the control program stored in the read-only memory is appropriate and has passed the test of the third party organization. On the other hand, if the results of the checks by S2 and S5 are determined to be appropriate, the ROM 41 will use the 256/512B working area as described above; If it is determined that it is inappropriate, the security check circuit 62 sends a message to the RAM 41 as shown in FIG.
A bank switching signal is output as shown in
is switched to the working area of 256B. When the CPU is activated only within the time limit set by S8 (for example, 60 seconds), the operation of the microcomputer within the time limit is limited to 25
This will be done in the working area of 6B.

【0046】このチェックの結果不適正であった場合に
も所定時間(たとえば60秒間)に限りCPU40を能
動化する理由の1つは、たとえば図1に示す21で示し
た遊技機の遊技場24への出荷前に再度基板チェックや
遊技盤に設けられている可変表示装置等の制御のチェッ
クを行なう場合があり、その場合には既に基板22に実
装されている実装ROM10cを一端引抜き他のチェッ
ク用のプログラムが記憶されたROMを差込んでチェッ
クを行なうためであり、合格プログラムとは異なったプ
ログラムが記憶されたROMを実装したとしても所定時
間(たとえば60秒間)だけはマイクロコンピュータが
動作して前述したチェックが行なえるようにするためで
ある。また、他の理由は、遊技機制御用のプログラム開
発会社がプログラムを作成して第三者試験機関11の試
験を受けて合格した後その合格プロクラムが記憶された
ROM10cとチップ23とを基板22に実装して遊技
機メーカー4に出荷する前に基板チェックを行う場合が
あるためである。この場合の基板チェックは、たとえば
大当り時の可変入賞球装置の開成期間を通常より短くす
る等のように制御時間を短縮させたテスト用のプログラ
ムが組込まれたテスト用ROMを合格ROMの代わりに
基板22に装着して短い制限時間(たとえば60秒間)
内で迅速に入出力のテストが行えるようにする。そのよ
うなユーザテストモードの場合に、RAM41のワーキ
ングエリアを256Bの方に切替える理由は、仮に一般
ユーザモードとユーザテストモードとのワーキングエリ
アを同一にした場合にはプログラム改造用のプログラム
が記憶されたROMを不正に基板22に差込み、制限時
間(たとえば60秒間)だけそのプログラム改造用のプ
ログラムに従ってマイクロコンピュータを動作させてR
AM41を介して記憶されている種々の定数等を書替え
てしまい、後に合格プログラムが記憶された外部ROM
10cを基板22に実装したとしても既に定数等が書替
えられているためにマイクロコンピュータが不正に動作
してしまう不都合が生ずるのであり、そのような不都合
を生じさせないためにユーザテストモードの場合には一
般ユーザモードとは異なったワーキングエリアで動作さ
せるようにするためである。
One of the reasons why the CPU 40 is activated only for a predetermined period of time (for example, 60 seconds) even if the result of this check is incorrect is that, for example, the gaming machine 24 of the gaming machine indicated by 21 in FIG. There are cases where the board is checked again and the control of the variable display device installed on the game board is checked again before shipping to the game board. In that case, the mounted ROM 10c already mounted on the board 22 is pulled out and other checks This is to perform a check by inserting a ROM that stores a program for the test, and even if a ROM that stores a program different from the passing program is installed, the microcomputer will not operate for a predetermined period of time (for example, 60 seconds). This is to enable the above-mentioned check to be performed. Another reason is that after a gaming machine control program development company creates a program and passes the test by a third-party testing organization 11, the ROM 10c and chip 23 in which the passed program is stored are installed on the board 22. This is because the board may be checked before being mounted and shipped to the gaming machine manufacturer 4. In this case, the board check is performed by replacing the passing ROM with a test ROM containing a test program that shortens the control time, such as by shortening the opening period of the variable winning ball device at the time of a jackpot than usual. A short time limit (for example, 60 seconds) after mounting on the board 22
Enables quick input/output testing within the system. In such a user test mode, the reason for switching the working area of RAM 41 to 256B is that if the working areas for general user mode and user test mode are the same, programs for program modification will not be stored. The ROM is illegally inserted into the board 22, and the microcomputer is operated according to the program for modifying the program for a limited time (for example, 60 seconds).
Various constants etc. stored through AM41 were rewritten, and later the external ROM where the passing program was stored
Even if 10c is mounted on the board 22, the constants etc. have already been rewritten, causing the inconvenience of the microcomputer operating incorrectly.In order to prevent such inconvenience, in the case of user test mode, This is to enable operation in a working area different from the general user mode.

【0047】さらに、図5に示すS1〜S5またはS1
〜S3,S6のセキュリティチェックに要する時間はた
とえば3〜5秒程度に設定されている。このような3〜
5秒程度の比較的長い時間になるように構成した理由は
、合格プログラム以外の不正に改造されたプログラムが
記憶されたROMを基板22に実装した場合に制限時間
が経過する毎に前記3〜5秒程度のセキュリティチェッ
クを行なってその間CPUが動作できない状態にし、3
〜5秒程度の長い期間に渡ってCPUの動作が停止して
遊技機をあえて正常に動作しないように構成し、不正改
造されたプログラムでは遊技に支障が生ずるようにする
ためである。
Furthermore, S1 to S5 or S1 shown in FIG.
The time required for the security checks in S3 and S6 is set to, for example, about 3 to 5 seconds. 3~ like this
The reason why it is configured to take a relatively long time of about 5 seconds is that when a ROM in which an illegally modified program other than a passing program is stored is mounted on the board 22, each time the time limit elapses, Perform a security check for about 5 seconds and make the CPU inoperable during that time.
This is to prevent the CPU from operating normally for a long period of about 5 seconds, so that the game machine does not operate normally, and to prevent illegally modified programs from playing the game.

【0048】なお、S8において制限時間(たとえば6
0秒間)が経過した場合には次に電源が投入されるまで
CPUを能動化しないようにしてもよい。また、制限時
間経過後にはシステムリセットを行なう、という処理を
所定回繰り返した後にはCPU40を停止し、以後不適
正ROMによっては電源の再投入によっても二度とユー
ザテストモードでの動作を行なわないように構成しても
良い。
[0048] Note that in S8, the time limit (for example, 6
0 seconds) have elapsed, the CPU may not be activated until the next power is turned on. In addition, after repeating the system reset process a predetermined number of times after the time limit has elapsed, the CPU 40 is stopped, and depending on the incorrect ROM, the system will not operate in user test mode again even if the power is turned on again. It may be configured.

【0049】この3〜5秒程度のセキュリティチェック
処理時間や前記制限時間(たとえば60秒間)は、水晶
発振子45の発信周波数が高くなれば時間が短くなり発
信周波数が低くなれば時間が長くなる。図2に示すよう
にセキュリティチェック回路62にモニタ装置60を接
続した場合には、チップの今現在のモードが一般ユーザ
モードかユーザテストモードかの判定が可能となる。な
お、図中66,68はデータバスである。
The security check processing time of about 3 to 5 seconds and the above-mentioned time limit (for example, 60 seconds) become shorter as the oscillation frequency of the crystal oscillator 45 becomes higher, and become longer as the oscillation frequency becomes lower. . When the monitor device 60 is connected to the security check circuit 62 as shown in FIG. 2, it becomes possible to determine whether the current mode of the chip is the general user mode or the user test mode. Note that 66 and 68 in the figure are data buses.

【0050】開発用チップ23bの場合には、図2に示
したセキュリティチェック回路62が存在しない以外は
すべて量産用チップ23aのものと同様である。なお、
開発用チップ23bにもセキュリティチェック回路62
を設け、セキュリティチェックを行なうためのプログラ
ムをROM64に記憶させないようにしてもよい。
The development chip 23b is the same as the mass-production chip 23a except that the security check circuit 62 shown in FIG. 2 is not present. In addition,
The security check circuit 62 is also included in the development chip 23b.
The program for performing the security check may not be stored in the ROM 64.

【0051】この量産用チップ23aや開発用チップ2
3bは、いわゆるASIC(application 
 specific  integrated  ci
rcuit)であり、パチンコ遊技機やスロットマシー
ン専用のチップである。また遊技機メーカ4を限定する
チップであってもよい。なお、上述の実施例においては
、各種機能がワンチップ化されていたが、これら各機能
を、それぞれ単独部品で構成しても良い。
[0051] This mass production chip 23a and the development chip 2
3b is a so-called ASIC (application
specific integrated ci
rcuit), which is a chip dedicated to pachinko and slot machines. Alternatively, it may be a chip that limits the gaming machine manufacturer 4. In the above-described embodiments, various functions are integrated into one chip, but each of these functions may be configured as a single component.

【0052】図6は、遊技機メーカーの開発部門におい
て開発用チップを用いてプログラム開発を行なう場合の
マイクロコンピュータ開発システムの一部を示すブロッ
ク図である。
FIG. 6 is a block diagram showing part of a microcomputer development system used in the development department of a gaming machine manufacturer to develop a program using a development chip.

【0053】図中80はCPU用ICEであり市販品で
ある。ICE(in−circuit  emulat
or)とは、MDS(microcomputerde
velopment  system)のもとでマイク
ロコンピュータシステムのハードウェアのエミュレート
を行なうものである。このCPU用ICE80は、ワン
チップ化される以前の遊技機制御用マイクロコンピュー
タのためのICEであり、この市販品である従来から一
般的なCPU用ICE80を有効利用してマイクロコン
ピュータのプログラム開発を行なうためには、ワンチッ
プマイクロコンピュータICE用アダプタボード59が
必要となる。このワンチップマイクロコンピュータIC
E用アダプタボード59は、図1に示したチップ流通会
社2が発売している。CPU用ICE80のCPUプロ
ーブ81とワンチップマイクロコンピュータICE用ア
ダプタボード59のCPUソケット84とを接続し、さ
らにワンチップマイクロコンピュータICE用アダプタ
ボード59のワンチップマイクロコンピュータ用プロー
ブ82と製品開発用ボード83のワンチップマイクロコ
ンピュータ用ソケット84とを続した状態でマイクロコ
ンピュータのプログラム開発が可能となる。なお10は
開発用チップ23bに接続されるROMである。
In the figure, 80 is a CPU ICE, which is a commercially available product. ICE (in-circuit emulator)
or) stands for MDS (microcomputer
It emulates the hardware of a microcomputer system under the development system. This ICE80 for CPU is an ICE for a microcomputer for controlling gaming machines before it was integrated into a single chip, and this commercially available ICE80 for a CPU, which has been commonly used in the past, can be used effectively to develop microcomputer programs. For this purpose, a one-chip microcomputer ICE adapter board 59 is required. This one-chip microcomputer IC
The E adapter board 59 is sold by the chip distribution company 2 shown in FIG. The CPU probe 81 of the CPU ICE 80 and the CPU socket 84 of the one-chip microcomputer ICE adapter board 59 are connected, and the one-chip microcomputer probe 82 of the one-chip microcomputer ICE adapter board 59 and the product development board 83 are connected. It becomes possible to develop microcomputer programs by connecting the one-chip microcomputer socket 84. Note that 10 is a ROM connected to the development chip 23b.

【0054】図7は、遊技機制御用マイクロコンピュー
タが組込まれた遊技機の一例のパチンコ遊技機21を示
す全体正面図である。パチンコ遊技機21の右下隅に設
けられている打球操作ハンドル92を遊技者が操作する
ことにより打球発射装置93(図8参照)が作動してパ
チンコ玉が1つずつ遊技領域94内に打込まれる。遊技
領域94内に打込まれたパチンコ玉が始動入賞口96a
,96b,96cのいずれかに入賞すれば、複数種類の
識別情報が可変表示可能な可変表示装置90が可変開始
する。この可変表示装置は、複数個(図面では3個)の
ドラムが設けられており、このドラムをたとえばステッ
ピィングモータ等で回転させることにより可変表示が行
なわれ、そのステッピングモータを停止させることによ
り可変表示を停止させることができる。なお可変表示装
置90は、ドラムを用いる代わりに液晶表示やセグメン
トLEDやドットマトリックスLEDやエレクトロルミ
ネセンス等を用いたデジタル表示器のもので構成しても
よい。この可変表示装置の停止時の表示結果が予め定め
られた識別情報の組合わせ(たとえば777)となった
場合には可変入賞球装置95が開成してパチンコ玉が入
賞しやすい遊技者にとって有利な第1の状態となり大当
り状態が発生する。この大当り状態を発生させるか否か
は、マイクロコンピュータのリセット待ち時間を利用し
てカウントアップされる乱数カウンタの始動入賞時にお
ける値をピックアップし、そのピックアップされた値に
基づいて決定する。なお、本実施例ではパチンコ玉を投
入して遊技を行なうパチンコ遊技機を示したが、カード
リーダライタ等を含むカード処理器を設けて所定の有価
価値が特定可能な情報が記録されたカード等の記録媒体
をそのカード処理器に挿入してその記録媒体によって特
定される有価価値の範囲内で遊技ができるようなカード
式遊技機であってもよい。この場合に、前記カード処理
器はパチンコ遊技機21に対し分離可能に設けてもよく
、また、パチンコ遊技機21内に組込んでもよい。この
カード式遊技機の場合には、遊技により獲得した獲得得
点が表示され、遊技終了時にその得点に相当する有価価
値が記録された景品用記録媒体が遊技者に払出される。 この景品用記録媒体は遊技開始時にカード処理器に挿入
した記憶媒体とは別の記録媒体で構成してもよく、また
、遊技開始時に挿入した記憶媒体の記録領域を2つに分
割し、一方の記録領域に遊技開始時に必要となる有価価
値を記録し、他方の記録領域に遊技終了時の獲得得点に
相当する有価価値を記録して遊技者に払出すようにして
もよい。図中97はスピーカであり、サウンドジェネレ
ータ48(図2参照)からの信号に基づいて大当り時に
効果音等を発生させるものである。
FIG. 7 is an overall front view showing a pachinko game machine 21, which is an example of a game machine incorporating a microcomputer for controlling the game machine. When the player operates the ball-striking operation handle 92 provided at the lower right corner of the pachinko game machine 21, the ball-launching device 93 (see FIG. 8) is activated, and the pachinko balls are shot one by one into the gaming area 94. It will be done. The pachinko ball hit into the gaming area 94 enters the starting prize opening 96a.
, 96b, or 96c, the variable display device 90 that can variably display multiple types of identification information starts changing. This variable display device is equipped with a plurality of drums (three in the drawing). Variable display is performed by rotating the drums with a stepping motor, etc., and variable display is performed by stopping the stepping motor. Display can be stopped. Note that the variable display device 90 may be configured with a digital display using a liquid crystal display, segment LED, dot matrix LED, electroluminescence, etc. instead of using a drum. When the display result when the variable display device stops is a predetermined combination of identification information (for example, 777), the variable winning ball device 95 is opened and the pachinko ball is advantageous for the player who is likely to win. The first state is reached, and a jackpot state occurs. Whether or not to generate this jackpot state is determined based on the picked up value of a random number counter that is counted up using the reset waiting time of the microcomputer at the time of starting winning. In this embodiment, a pachinko game machine is shown in which a game is played by inserting pachinko balls, but a card processing device including a card reader/writer etc. is installed to provide a card etc. on which information that can identify a predetermined value is recorded. It may also be a card-type gaming machine in which a recording medium of 1 is inserted into the card processor and games can be played within the range of value specified by the recording medium. In this case, the card processing device may be provided separably from the pachinko gaming machine 21, or may be incorporated into the pachinko gaming machine 21. In the case of this card-type gaming machine, the points earned through the game are displayed, and at the end of the game, a prize recording medium on which the value corresponding to the points is recorded is paid out to the player. This recording medium for prizes may be composed of a recording medium different from the storage medium inserted into the card processor at the start of the game, or the recording area of the storage medium inserted at the start of the game may be divided into two, and one The value required at the start of the game may be recorded in one recording area, and the value corresponding to the points obtained at the end of the game may be recorded in the other recording area and paid out to the player. Reference numeral 97 in the figure is a speaker, which generates sound effects and the like when a jackpot is won based on a signal from the sound generator 48 (see FIG. 2).

【0055】図8は、パチンコ遊技機21の内部構造を
示す全体背面図である。
FIG. 8 is an overall rear view showing the internal structure of the pachinko game machine 21. As shown in FIG.

【0056】前記始動入賞口96a,96b,96c(
図7参照)に入賞した入賞玉が入賞玉検出スイッチ10
1a,101b,101cにより検出され、その検出信
号が遊技制御メイン基板22の各種スイッチ回路56(
図2参照)に入力される。また、可変入賞球装置95に
入賞した入賞玉が10カウント検出スイッチ102によ
り検出され、その検出信号が遊技制御メイン基板22の
各種スイッチ回路56に入力される。遊技制御メイン基
板22は、チップ23と外部ROM10cとが実装され
ているとともにコネクタ103を有し、このコネクタを
介して前記検出信号が入力される。図中180は可変入
賞球装置95を開閉駆動するためのソレノイドであり遊
技制御メイン基板22の各駆動回路55からの駆動制御
信号に基づいて制御される。遊技制御メイン基板22は
基板ケース104内に収納された状態で遊技機21の機
構板側に設けられている。図中108は遊技制御サブ基
板であり、前述した可変表示装置表示駆動用IC49が
実装されている。この遊技制御サブ基板108にはコネ
クタ107が設けられており、このコネクタ107が接
続配線105を介して遊技制御メイン基板22のコネク
タ103に接続されている。さらに、パチンコ遊技機2
1には中継端子基板111が設けられており、この中継
端子基板111のコネクタ110と遊技制御メイン基板
22のコネクタ103とが接続配線105を介して接続
されている。さらに、遊技制御メイン基板22のコネク
タ103と施錠装置113とがアース線112を介して
接続されており、遊技制御メイン基板22がアースされ
た状態となる。
[0056] The starting prize openings 96a, 96b, 96c (
(See Figure 7) When the winning ball is detected by the winning ball detection switch 10
1a, 101b, and 101c, and the detection signals are sent to various switch circuits 56 (
(see Figure 2). Further, the winning balls that have won in the variable winning ball device 95 are detected by the 10 count detection switch 102, and the detection signal is input to the various switch circuits 56 of the game control main board 22. The game control main board 22 has a chip 23 and an external ROM 10c mounted thereon, and has a connector 103, through which the detection signal is input. In the figure, 180 is a solenoid for opening and closing the variable winning ball device 95, and is controlled based on drive control signals from each drive circuit 55 of the game control main board 22. The game control main board 22 is housed in the board case 104 and is provided on the mechanism board side of the gaming machine 21. In the figure, 108 is a game control sub-board, on which the aforementioned variable display device display driving IC 49 is mounted. This game control sub-board 108 is provided with a connector 107, and this connector 107 is connected to the connector 103 of the game control main board 22 via connection wiring 105. Furthermore, pachinko game machine 2
1 is provided with a relay terminal board 111, and the connector 110 of this relay terminal board 111 and the connector 103 of the game control main board 22 are connected via connection wiring 105. Furthermore, the connector 103 of the game control main board 22 and the locking device 113 are connected via the ground wire 112, and the game control main board 22 is in a grounded state.

【0057】図9は、遊技制御メイン基板22を収納す
るための基板ケースの構造を示す分解斜視図である。
FIG. 9 is an exploded perspective view showing the structure of a board case for housing the game control main board 22.

【0058】実装チップ23が実装された遊技制御メイ
ン基板22に対し外部ROM10cが実装され(図示矢
印参照)、その後遊技制御メイン基板22のコネクタ1
03に対し接続配線105とアース線112とを接続し
た状態で遊技制御メイン基板22を基板収納ボックス本
体120内に取付固定する。その後、透明カバー体12
1により基板収納ボックス本体120をカバーする。基
板収納ボックス本体120には係合孔124が設けられ
ており、透明カバー体121側に設けられている爪部1
25をその係合孔124に挿入した状態でビス126に
より透明カバー体121を基板収納ボックス本体120
に固定する。次に、開閉カバー体122を基板収納ボッ
クス本体120に対し開閉自在に取付ける。この開閉カ
バー体122には支軸128が設けられており、基板収
納ボックス本体120側に設けられている挿通孔127
にこの支軸128を挿通して開閉カバー体122を開閉
自在に基板収納ボックス本体120側に支持させる。一
方、基板収納ボックス本体120には係合爪部123が
形成されており、この係合爪部123に係合する係合孔
129が開閉カバー体122側に形成されており、この
係合孔129を前記係合爪部123に外嵌させて係合さ
せることにより、開閉カバー体122が基板収納ボック
ス本体120に固定される。そして、開閉カバー体12
2を開成したい場合には、前記係合爪部123と係合孔
129との係合を解除させることにより簡単に開成可能
となる。
The external ROM 10c is mounted on the game control main board 22 on which the mounting chip 23 is mounted (see the arrow in the figure), and then the connector 1 of the game control main board 22 is mounted.
03, the game control main board 22 is mounted and fixed inside the board storage box main body 120 with the connection wiring 105 and the ground wire 112 connected. After that, the transparent cover body 12
1 covers the substrate storage box main body 120. The board storage box body 120 is provided with an engagement hole 124, and the claw portion 1 provided on the transparent cover body 121 side.
25 inserted into the engagement hole 124, screw the transparent cover body 121 onto the substrate storage box body 120 using the screws 126.
Fixed to. Next, the opening/closing cover body 122 is attached to the substrate storage box body 120 so as to be openable and closable. This opening/closing cover body 122 is provided with a support shaft 128, and an insertion hole 127 provided on the board storage box body 120 side.
This support shaft 128 is inserted through the opening/closing cover body 122 to be supported on the board storage box body 120 side so as to be freely openable and closable. On the other hand, an engagement claw portion 123 is formed in the board storage box body 120, and an engagement hole 129 that engages with this engagement claw portion 123 is formed on the opening/closing cover body 122 side. The opening/closing cover body 122 is fixed to the substrate storage box main body 120 by fitting and engaging the opening/closing cover body 129 onto the engaging claw portion 123 . Then, the opening/closing cover body 12
2, it can be easily opened by releasing the engagement between the engaging claw portion 123 and the engaging hole 129.

【0059】図中132は封印シールであり、透明カバ
ー体121を基板収納ボックス120に取付けた状態で
透明カバー体121と基板収納ボックス本体120とに
わたって封印シール132を貼着する。このようにすれ
ば、たとえば外部ROM10cを他の外部ROMに差替
えるべく透明カバー体121を基板収納ボックス本体1
20から離脱させれば封印シール132が破れるために
、その封印シール132を見ることにより透明カバー体
121が離脱されたか否かの判別が可能となる。また、
130は切欠部であり、接続配線105とアース線11
2とを基板ケース104外方に導き出すためのものであ
る。
In the figure, reference numeral 132 denotes a sealing seal, and with the transparent cover body 121 attached to the substrate storage box 120, the sealing seal 132 is pasted across the transparent cover body 121 and the substrate storage box body 120. In this way, for example, in order to replace the external ROM 10c with another external ROM, the transparent cover body 121 can be attached to the board storage box main body 1.
If the transparent cover body 121 is removed from the transparent cover body 20, the seal 132 will be broken, so by looking at the seal seal 132, it is possible to determine whether or not the transparent cover body 121 has been removed. Also,
Reference numeral 130 is a notch, in which the connection wiring 105 and the ground wire 11 are connected.
2 to the outside of the board case 104.

【0060】透明カバー体121と開閉カバー体122
には、多数の放熱孔131が設けられており、基板ケー
ス104内に収納された遊技制御メイン基板22からの
熱を外部に逃がすことができるように構成されている。 また、基板収納ボックス本体120と開閉カバー体12
2は導電性を高めるため、たとえばポリプロピレンにカ
ーボンを混ぜた合成樹脂で形成されている。この樹脂の
色は黒色である。また、透明カバー体121はポリカー
ボネイト等で透明に構成されており、開閉カバー体12
2を開成させることにより透明カバー体121の外から
遊技制御メイン基板22を見ることができるように構成
されており、透明カバー体121を基板収納ボックス本
体120から離脱させることなく遊技制御基板22を見
て異常があったかどうかの確認がある程度できるように
構成されている。また、この透明カバー体121を構成
するポリカーボネイト等にもカーボンを混ぜてもよい。 この透明カバー体121は、完全な透明である必要はな
く、内部を透視可能な程度のものであればよい。なお、
基板収納ボックス本体120と開閉カバー体122とを
金属板で構成してもよい。
Transparent cover body 121 and opening/closing cover body 122
is provided with a large number of heat radiation holes 131, and is configured to allow heat from the game control main board 22 housed in the board case 104 to escape to the outside. In addition, a board storage box main body 120 and an opening/closing cover body 12 are also provided.
2 is made of a synthetic resin made of polypropylene mixed with carbon, for example, in order to improve conductivity. The color of this resin is black. In addition, the transparent cover body 121 is transparently made of polycarbonate or the like, and the opening/closing cover body 121 is made of transparent material such as polycarbonate.
By opening 2, the game control main board 22 can be seen from outside the transparent cover body 121, and the game control board 22 can be viewed without removing the transparent cover body 121 from the board storage box body 120. It is configured so that you can check to some extent whether there is an abnormality by looking at it. Further, carbon may also be mixed into the polycarbonate or the like constituting the transparent cover body 121. This transparent cover body 121 does not need to be completely transparent, but only needs to be such that the inside can be seen through. In addition,
The board storage box main body 120 and the opening/closing cover body 122 may be made of metal plates.

【0061】[0061]

【発明の効果】本発明は、遊技場に搬入された遊技機を
制御するためのワンチップマイクロコンピュータに関し
、合格プログラム以外の不正プログラムが記憶されたリ
ードオンリーメモリにより動作させる不正改造が行なわ
れた場合には、適否判定手段により適正でないことが判
定されて遊技の実行が行なわれないために、不正プログ
ラムによる遊技機の制御を防止しやすくなる。
[Effects of the Invention] The present invention relates to a one-chip microcomputer for controlling a gaming machine brought into a gaming parlor, and has been illegally modified to operate using a read-only memory in which a fraudulent program other than a passing program is stored. In this case, the suitability determining means determines that the game is not proper and the game is not played, making it easier to prevent unauthorized programs from controlling the gaming machine.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明に係る遊技機制御用マイクロコンピュー
タを用いたセキュリティシステムの概略を示すシステム
ブロック図である。
FIG. 1 is a system block diagram schematically showing a security system using a gaming machine control microcomputer according to the present invention.

【図2】本発明に係る遊技機制御用マイクロコンピュー
タを構成する実装チップおよびそれに接続される周辺機
器の回路を示すブロック図である。
FIG. 2 is a block diagram showing a mounted chip constituting a gaming machine control microcomputer according to the present invention and a circuit of peripheral devices connected thereto.

【図3】本発明に係る遊技機制御用マイクロコンピュー
タのメモリマップを示す説明図である。
FIG. 3 is an explanatory diagram showing a memory map of the gaming machine control microcomputer according to the present invention.

【図4】I/Oポートのモードに対応した機能を説明す
るための説明図である。
FIG. 4 is an explanatory diagram for explaining functions corresponding to modes of an I/O port.

【図5】遊技機制御用マイクロコンピュータのセキュリ
ティチェック回路に設けられているROMに記憶されて
いるプログラムを示すフローチャートである。
FIG. 5 is a flowchart showing a program stored in a ROM provided in a security check circuit of a gaming machine control microcomputer.

【図6】遊技機制御用マイクロコンピュータの開発シス
テムの一部を示すブロック図である。
FIG. 6 is a block diagram showing part of a development system for a microcomputer for controlling gaming machines.

【図7】遊技機の一例のパチンコ遊技機を示す全体正面
図である。
FIG. 7 is an overall front view showing a pachinko game machine as an example of the game machine.

【図8】パチンコ遊技機の内部構造を示す全体背面図で
ある。
FIG. 8 is an overall rear view showing the internal structure of the pachinko game machine.

【図9】基板ケースの構造を説明するための分解斜視図
である。
FIG. 9 is an exploded perspective view for explaining the structure of the board case.

【符号の説明】[Explanation of symbols]

21    遊技機の一例のパチンコ遊技機23   
 実装チップ 10c  実装ROM 4    開発製造会社の一例の遊技機メーカー11 
   第三者試験機関 25    管轄監督機関 24    遊技場
21 Pachinko game machine 23 as an example of a game machine
Mounted chip 10c Mounted ROM 4 Game machine manufacturer 11, which is an example of a development and manufacturing company
Third-party testing agency 25 Competent supervisory agency 24 Amusement hall

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  遊技機を制御するための制御用プロク
ラムが記憶されたリードオンリーメモリを含む遊技機制
御用マイクロコンピュータであって、前記リードオンリ
ーメモリに記憶されている前記制御用プログラムが適正
なものであるか否かの判定を行なうための適否判定手段
を含み、前記適否判定を行なうための所定の条件が成立
したことに基づいて前記適否判定手段によって適否判定
を行ない、その判定結果が適正であった場合に、前記リ
ードオンリーメモリに記憶されている制御用プログラム
に従って所定の制御動作を行なうことを特徴とする、遊
技機制御用マイクロコンピュータ。
1. A gaming machine control microcomputer including a read-only memory storing a control program for controlling a gaming machine, wherein the control program stored in the read-only memory is proper. The method includes a suitability judgment means for judging whether or not the suitability judgment is carried out, and the suitability judgment means makes a suitability judgment based on the establishment of a predetermined condition for making the suitability judgment, and the judgment result is judged to be proper. A microcomputer for controlling a game machine, characterized in that, when a game machine is detected, a predetermined control operation is performed according to a control program stored in the read-only memory.
JP3045190A 1991-03-11 1991-03-11 Gaming machine Expired - Lifetime JP2614546B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3045190A JP2614546B2 (en) 1991-03-11 1991-03-11 Gaming machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3045190A JP2614546B2 (en) 1991-03-11 1991-03-11 Gaming machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP5221880A Division JP2703716B2 (en) 1993-09-07 1993-09-07 Microcomputer for controlling game machines

Publications (2)

Publication Number Publication Date
JPH04282177A true JPH04282177A (en) 1992-10-07
JP2614546B2 JP2614546B2 (en) 1997-05-28

Family

ID=12712350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3045190A Expired - Lifetime JP2614546B2 (en) 1991-03-11 1991-03-11 Gaming machine

Country Status (1)

Country Link
JP (1) JP2614546B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06285234A (en) * 1993-03-30 1994-10-11 Sankyo Kk Game machine
JPH0724126A (en) * 1993-07-06 1995-01-27 Kyoraku Sangyo Kk Detecting device for illegal remodeling of memory of game machine
JPH08299554A (en) * 1996-03-11 1996-11-19 Heiwa Corp Pachinko machine
JP2009090154A (en) * 2009-02-05 2009-04-30 Sanyo Product Co Ltd Game machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59100955A (en) * 1982-12-02 1984-06-11 Nec Corp Checking method for unfair use of software
JPS6399949U (en) * 1986-12-18 1988-06-29
JPH01171585A (en) * 1987-12-28 1989-07-06 Heiwa Ind Co Ltd Controller for game apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59100955A (en) * 1982-12-02 1984-06-11 Nec Corp Checking method for unfair use of software
JPS6399949U (en) * 1986-12-18 1988-06-29
JPH01171585A (en) * 1987-12-28 1989-07-06 Heiwa Ind Co Ltd Controller for game apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06285234A (en) * 1993-03-30 1994-10-11 Sankyo Kk Game machine
JPH0724126A (en) * 1993-07-06 1995-01-27 Kyoraku Sangyo Kk Detecting device for illegal remodeling of memory of game machine
JPH08299554A (en) * 1996-03-11 1996-11-19 Heiwa Corp Pachinko machine
JP2009090154A (en) * 2009-02-05 2009-04-30 Sanyo Product Co Ltd Game machine

Also Published As

Publication number Publication date
JP2614546B2 (en) 1997-05-28

Similar Documents

Publication Publication Date Title
US8613662B2 (en) Alterable storage media gaming machine
US20030069074A1 (en) Method for developing gaming programs compatible with a computerized gaming operating system and apparatus
JP2862504B2 (en) Microcomputer security system for gaming machine control
JP3263101B2 (en) Microcomputer for controlling game machines
JP4056150B2 (en) Game processing unit
JP2000126425A5 (en)
JPH06142307A (en) Game machine with variable display
JPH053957A (en) Computer for control of game machine
JPH06165857A (en) Game machine with variable display device
JP2630680B2 (en) Gaming machine
JP2614546B2 (en) Gaming machine
JP2918838B2 (en) Microcomputer for controlling game machines
JPH06142327A (en) Game machine equipped with variable display device
JP2001145772A (en) Game system
JPH09253312A (en) Microcomputer for game machine control
JP2002253823A (en) Game machine
JP2001087529A (en) Arithmetic processing device for game
JP2703716B2 (en) Microcomputer for controlling game machines
JP2849031B2 (en) Gaming machine security system
JP4493684B2 (en) Game machine
JP4056149B2 (en) Game processing unit
JP4518335B2 (en) Game machine
JP2000126427A5 (en)
JP4117716B2 (en) Game processing unit
JP4518334B2 (en) Game machine

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19961203

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110227

Year of fee payment: 14

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20110227

Year of fee payment: 14

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20110227

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20110227

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 15