JP3263101B2 - Microcomputer for controlling game machines - Google Patents

Microcomputer for controlling game machines

Info

Publication number
JP3263101B2
JP3263101B2 JP27241891A JP27241891A JP3263101B2 JP 3263101 B2 JP3263101 B2 JP 3263101B2 JP 27241891 A JP27241891 A JP 27241891A JP 27241891 A JP27241891 A JP 27241891A JP 3263101 B2 JP3263101 B2 JP 3263101B2
Authority
JP
Japan
Prior art keywords
chip
rom
gaming machine
program
microcomputer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP27241891A
Other languages
Japanese (ja)
Other versions
JPH05111564A (en
Inventor
詔八 鵜川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
L E Tech CO Ltd
Original Assignee
L E Tech 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 L E Tech CO Ltd filed Critical L E Tech CO Ltd
Priority to JP27241891A priority Critical patent/JP3263101B2/en
Publication of JPH05111564A publication Critical patent/JPH05111564A/en
Application granted granted Critical
Publication of JP3263101B2 publication Critical patent/JP3263101B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

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 a game machine represented by a pachinko game machine, an arrangement type pachinko game machine, a slot machine, or the like.

【0002】[0002]

【従来の技術】従来、遊技機を制御するための遊技機制
御用マイクロコンピュータのプログラムは、開発製造会
社がプログラムを開発してマイクロコンピュータのリー
ドオンリーメモリ(ROM)に記憶させた後その開発プ
ログラムが一定の基準に合格するか否かを決めるための
第三者機関による試験を受ける。そして第三者機関の試
験に合格した合格プログラムが記憶されたリードオンリ
ーメモリを有するマイクロコンピュータのみが遊技機に
搭載されて遊技場に搬入され、遊技場においては一定の
基準に合格した健全な遊技を行なうことのできる遊技機
のみが設置されることになる。
2. Description of the Related Art Conventionally, a program for a microcomputer for controlling a gaming machine for controlling a gaming machine is developed by a development / manufacturing company and stored in a read-only memory (ROM) of the microcomputer. Take a third-party test to determine if you pass certain criteria. Only a microcomputer having a read-only memory in which a passing program that has passed the examination of a third-party organization is stored in the gaming machine and loaded into the game arcade, where a sound game that passes a certain standard is passed. Only gaming machines that can perform the game will be installed.

【0003】[0003]

【発明が解決しようとする課題】しかし、遊技場に出荷
される遊技機が一定の基準に合格した健全な遊技のでき
る遊技機のみであったとしても、遊技場に搬入された遊
技機に関し、合格プログラム以外の不正プログラムを作
りその不正プログラムにより中央処理装置を動作させる
不正改造が行なえる場合があり、そのような不正改造が
行なわれた場合には、せっかく第三者機関が試験を行な
ったとしても実際の遊技場において一定の基準に適合し
ない動作をする遊技機が出回る不都合が生ずる欠点があ
った。
However, even if the only gaming machines that are shipped to the amusement arcade are those that can play sound games that pass a certain standard, the present invention relates to a gaming machine carried into the amusement arcade. In some cases, an unauthorized program other than a passing program was created, and the central processing unit could be operated by the unauthorized program.If such unauthorized modification was performed, a third-party organization performed a test. However, there is a disadvantage in that a gaming machine that operates in a manner that does not conform to a certain standard is available in an actual game arcade.

【0004】本発明は、係る実情に鑑み、合格プログラ
ム以外の不正に改造されたプログラムによる遊技機の制
御を極力防止することができる遊技機制御用マイクロコ
ンピュータを提供することを目的とする。
An object of the present invention is to provide a gaming machine control microcomputer capable of minimizing the control of a gaming machine by an illegally modified program other than a passing program.

【0005】[0005]

【課題を解決するための手段】本発明に係る遊技機制御
用マイクロコンピュータは、遊技制御動作のための所定
のプログラムデータ及び該データに基づき所定のフォー
マットに従って変換された所定のセキュリティコードと
が記憶された着脱可能に接続される外部記憶手段(10
c)と、該外部記憶手段(10c)に記憶された所定の
セキュリティコードが記憶される記憶手段及び所定の変
換フォーマットプログラムが記憶された記憶手段を有す
るセキュリティチェック回路を内蔵するマイクロコンピ
ュータとからなり、前記接続された外部記憶手段(10
c)に記憶されたセキュリティコードと憶手段(10
c)に記憶されたプログラムデータに基づき所定の変換
フォーマットに従って変換されたセキュリティコードと
が一致した場合にはセキュリティチェック回路の記憶手
段に既にセキュリティコードを書き込まれているか否か
の照合を行い、書き込まれていない場合には書き込んだ
後にCPUの能動化を行い、またセキュリティチェック
回路の記憶手段にセキュリティコードが書き込まれてい
る場合には両者のセキュリティコードが一致しているか
否かを判定し、一致した場合にCPUを能動化するよう
に構成されていることを特徴とする。
A microcomputer for controlling a gaming machine according to the present invention stores predetermined program data for a game control operation and a predetermined security code converted according to a predetermined format based on the data. External storage means (10
c) and a microcomputer having a built-in security check circuit having storage means for storing a predetermined security code stored in the external storage means (10c) and storage means for storing a predetermined conversion format program. , The connected external storage means (10
c) the security code and storage means (10
If the security code is converted according to a predetermined conversion format based on the program data stored in c), it is checked whether or not the security code has already been written in the storage means of the security check circuit, and the write is performed. If not, the CPU is activated after writing, and if a security code is written in the storage means of the security check circuit, it is determined whether or not both security codes match. The configuration is such that the CPU is activated in such a case.

【0006】[0006]

【作用】本発明によれば、遊技機を制御するための情報
が記憶された外部記憶手段が、遊技機制御用マイクロコ
ンピュータに最初に接続されると、その外部記憶手段に
記憶されていたセキュリティコードに対応するセキュリ
ティチェック情報がセキュリティチェック回路の記憶手
段に記憶される。このセキュリティチェック情報は以後
そのまま保持される。遊技機制御用マイクロコンピュー
タの適否判定手段は、所定の判定条件が成立すると、セ
キュリティチェック回路の記憶手段に記憶されたセキュ
リティチェック情報を手掛かりに、接続された外部記憶
手段に記憶されている遊技制御動作のための情報が適正
なものであるかどうかの判定を行なう。
According to the present invention, when the external storage means storing information for controlling the gaming machine is first connected to the gaming machine control microcomputer, the security code stored in the external storage means is stored. Are stored in the storage means of the security check circuit. This security check information is retained as it is thereafter. The suitability determination means of the gaming machine control microcomputer, when a predetermined determination condition is satisfied, uses the security check information stored in the storage means of the security check circuit as a clue, and controls the game control operation stored in the connected external storage means. It is determined whether the information for is appropriate.

【0007】[0007]

【実施例】次に、本発明の実施例を図面に基づいて詳細
に説明する。
Next, an embodiment 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 game one-chip microcomputer according to the present invention.

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

【0010】半導体チップメーカ1からチップ流通会社
2に入荷されたチップのうち量産用チップ23aは量産
用チップ流通部門2aによって流通されチップ流通管理
機関3に搬入される。一方、開発用チップ23bの方
は、チップ流通会社2の開発用チップ流通部門2bによ
って流通されてチップ流通管理機関3に搬入される。な
おこのチップ流通会社2は、完全な民営の会社でもよ
く、また国が出資して作った公共の企業団体であっても
よい。チップ流通管理機関3は、チップが適正に流通し
ているか否かを管理して所定の遊技機メーカ等にチップ
の流通を斡旋するための機関である。このチップ流通管
理機関3を省いてチップ流通会社2から遊技機メーカー
に直接チップを搬入してもよい。
[0010] Of the chips received from the semiconductor chip maker 1 to the chip distribution company 2, the mass production chips 23a are distributed by the mass production chip distribution section 2a and carried into the chip distribution management organization 3. On the other hand, the development chip 23 b is distributed by the development chip distribution section 2 b of the chip distribution company 2 and is carried into the chip distribution management organization 3. Note that the chip distribution company 2 may be a completely private company, or may be a public company formed by the government. The chip distribution management institution 3 is an organization for managing whether or not chips are properly distributed and mediating distribution of chips to a predetermined game machine maker or the like. The chip distribution management organization 3 may be omitted and chips may be directly carried in from the chip distribution company 2 to the game machine maker.

【0011】チップ流通管理機関3に搬入された量産用
チップ23aと開発用チップ23bとは、それぞれ遊技
機メーカ4の量産部門6と開発部門5とに搬入される。
遊技機メーカ4の開発部門5では、図示7に示すように
搬入された開発用チップ23bを用いてプログラムを開
発し、製品開発を行なう。そして開発部門5は開発した
開発プログラムが記憶された申請マスターROM10a
を、図1(A)に示されるように、チップ流通会社2の
セキュリティ管理部門2cに、セキュリティコード打込
を依頼する。セキュリティ管理部門2cは、所定のセキ
ュリティコードをこのROM10aに書込み、図1
(B)に示されるように遊技機メーカー4の開発部門5
に返還する。開発部門5は、返送された申請マスタRO
M10aを量産用チップ23aに実装し、さらにこれら
を搭載して申請用遊技機を作成するとともに、申請用の
書類を作成し、それら申請マスターROM10aが搭載
された複数台の申請用遊技機・作成書類9等からなる申
請用提出物8を提出して図1(C)に示される様に第三
者試験機関11に試験を申請する。
The mass production chip 23a and the development chip 23b carried into the chip distribution management organization 3 are carried into the mass production section 6 and the development section 5 of the gaming machine maker 4, respectively.
The development section 5 of the gaming machine maker 4 develops a program using the development chip 23b carried in as shown in FIG. Then, the development section 5 stores an application master ROM 10a in which the developed development program is stored.
As shown in FIG. 1A, a security code is requested to the security management section 2c of the chip distribution company 2. The security management section 2c writes a predetermined security code into the ROM 10a,
As shown in (B), development department 5 of gaming machine maker 4
To return. Development department 5 returns the returned application master RO
The M10a is mounted on the mass-production chip 23a, and further, these are mounted to create an application gaming machine, and an application document is created, and a plurality of application gaming machines / production machines on which the application master ROM 10a is mounted. The applicant submits an application submission 8 composed of documents 9 and the like, and applies for a test to a third-party testing institution 11 as shown in FIG.

【0012】第三者試験機関11は、たとえば警察等の
公的な監督機関の依託機関等で構成されている。この第
三者試験機関11には、試験業務部門12と鑑定業務部
門13とがあり、試験業務部門12に前記試験用提出物
8が搬入され、図示14に示すようにその試験申請を受
付ける。試験業務部門12では、その受付けた試験用提
出物8を図示15に示すように試験し、図示16で示す
ようにその試験結果の合否の判定を行なうとともに図1
(D)に示す様に遊技機メーカー4に遊技機を返還す
る。ただし1台はそのまま第三者試験機関11に保管さ
れ、また申請マスターROM10aは遊技機から取外さ
れ、図1(E)に示す様にチップ流通管理機関3に引渡
される。そして不合格と判定された場合には試験業務部
門12は図示17に示すようにチップ流通管理機関3に
その引渡したROM10aの廃棄を依頼する。チップ流
通管理機関3は、このROM10aを、外部に流出する
ことがない様処分する。また、合格と判定された場合に
は、図示18に示すようにチップ流通管理機関3に対
し、遊技機メーカー4の謄本交付申請書の提出および引
渡したROM10aの遊技機メーカー4への返還を依頼
する。これを受けて、チップ流通管理機関3では、図1
(F)に示すようにROM10aを遊技機メーカー4に
返還するとともに謄本交付申請書の提出依頼があったこ
とを遊技機メーカーに連絡する。連絡を受けた遊技機メ
ーカー4は図1(G)に示すように謄本交付申請書およ
びROM10aを第三者試験機関11に提出する。そし
て、図1(H)に示す様に第三者試験機関11から遊技
機メーカー4に謄本が交付される。なお、第三者試験機
関11に保管される遊技機の申請マスターROM10a
は、量産用マスターROM10bとして鑑定業務に用い
られる。
The third-party testing institution 11 is composed of, for example, a commissioned agency of a public supervisory institution such as the police. The third-party testing institution 11 includes a test service section 12 and an appraisal service section 13. The test submission 8 is carried into the test service section 12, and the test application is accepted as shown in FIG. The test service section 12 tests the received test submission 8 as shown in FIG. 15 and determines whether or not the test result is acceptable as shown in FIG.
The gaming machine is returned to the gaming machine maker 4 as shown in (D). However, one of them is stored as it is in the third party testing institution 11, and the application master ROM 10a is removed from the gaming machine and delivered to the chip distribution management institution 3 as shown in FIG. If it is determined to be unsuccessful, the test service department 12 requests the chip distribution management organization 3 to discard the delivered ROM 10a as shown in FIG. The chip distribution management organization 3 disposes of the ROM 10a so as not to flow out. If the pass is determined to be acceptable, the request is made to the chip distribution management organization 3 to submit the application for granting a copy of the gaming machine maker 4 and return the delivered ROM 10a to the gaming machine maker 4, as shown in FIG. I do. In response, the chip distribution management organization 3
As shown in (F), the ROM 10a is returned to the gaming machine maker 4, and the fact that a request for submission of a certified copy application has been received is sent to the gaming machine maker. The gaming machine maker 4 having received the notification submits the certified copy application form and the ROM 10a to the third-party testing institution 11 as shown in FIG. Then, as shown in FIG. 1 (H), a certified copy is issued to the gaming machine maker 4 from the third party testing organization 11. The application master ROM 10a of the gaming machine stored in the third-party testing institution 11
Is used for appraisal work as a master ROM 10b for mass production.

【0013】一方、各都道府県の警察等で構成された管
轄監督機関25も申請用遊技機について検定を行い、第
三者試験機関11により合格と判断されかつ管轄監督機
関25により適正と判断された場合には遊技場への遊技
機の設置が認められる。この第三者試験機関11と管轄
監督機関25とにより、前記リードオンリーメモリ(R
OM)に記憶されている前記開発プロクラムが一定の基
準に合格するか否かを試験する第三者機関が構成されて
いる。前記セキュリティコードとは、第三者機関により
合格と判断されて市場に出回った遊技機に搭載されたR
OMに記憶されているプログラムが前記第三者機関の試
験に合格した適正なものであるか否かを判定するために
用いられるセキュリティ情報である。
On the other hand, the competent supervising organization 25 composed of polices in each prefecture also conducts an examination on the application gaming machine, and is judged to be passed by the third-party testing institution 11 and judged to be appropriate by the competent supervising organization 25. In the event that a game machine is installed in the amusement arcade. The read-only memory (R)
A third party organization is configured to test whether the development program stored in the OM passes certain criteria. The security code is an R code mounted on a game machine that has been determined to be accepted by a third party and is on the market.
The security information is used to determine whether or not the program stored in the OM is an appropriate program that has passed the test of the third party.

【0014】このセキュリティコードは、例えばプログ
ラムデータを所定の変換フォーマットに従って変換され
たものをセキュリティコードとする方法が考えられる。
この場合において、プログラムデータすべてをセキュリ
ティコード作成の基準としてもよいし、プログラムデー
タのうち、特に重要な部分(例えば大当り確率や可変入
賞球装置の開放時間などのデータ部分)をセキュリテイ
ーコード作成の基準としてもよい。
As the security code, for example, a method in which program data converted according to a predetermined conversion format is used as a security code can be considered.
In this case, all of the program data may be used as a reference for creating a security code, or a particularly important portion of the program data (for example, a data portion such as a jackpot probability or an opening time of a variable winning ball device) may be used as a reference for creating a security code. It may be.

【0015】返還された申請用マスタROM10aのい
くつかは、量産用マスタROM10bとして、遊技機メ
ーカ4の量産部門6に搬入される。量産部門6は量産用
マスターROM10bに記憶されている記憶情報を図示
19に示すようにコピーする。量産用マスターROM1
0bの記憶情報がコピーされたROM10cが基板22
に実装される。さらに、チップ流通管理機関3から搬入
されてきた量産用チップを図示20に示すように基板2
2に実装する。この基板22に実装された実装チップ2
3と実装ROM10cとにより、遊技機を制御するため
のマイクロコンピュータが構成される。
Some of the returned application master ROMs 10a are carried into the mass production section 6 of the gaming machine maker 4 as mass production master ROMs 10b. The mass production section 6 copies the storage information stored in the mass production master ROM 10b as shown in FIG. Master ROM 1 for mass production
ROM 10c on which the storage information of the
Implemented in Further, the chips for mass production carried in from the chip distribution management organization 3 are transferred to the substrate 2 as shown in FIG.
2 Mounting chip 2 mounted on this substrate 22
The microcomputer 3 controls the gaming machine by the ROM 3c and the mounting ROM 10c.

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

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

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

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

【0020】管轄監督機関25は、遊技場24に設置さ
れた遊技機21を抜打ち的に検査して図示26で示すよ
うに動作がおかしいと思われる遊技機のROMの照合処
理を行なう。そしてROMの照合を行なったにもかかわ
らず適否を決めがたいものについて、第三者試験機関1
1の鑑定業務部門13に鑑定依頼を行なう。たとえば、
実装チップ23と実装ROM10cとの両者を不正に作
られた別のものに取替えた場合には、前述したセキュリ
ティチェックが行われることなく改造プログラムに従っ
て遊技機が動作することになるのであり、そのような場
合に鑑定業務部門13に鑑定依頼を行なうのである。
The jurisdiction supervising organization 25 performs a random inspection of the gaming machine 21 installed in the game arcade 24, and performs a collation process of the ROM of the gaming machine which seems to be malfunctioning as shown in FIG. Third-party testing institutes 1 whose ROMs have been verified but whose suitability is difficult to determine
A request for appraisal is made to the appraisal business unit 13 of the first section. For example,
If both the mounting chip 23 and the mounting ROM 10c are replaced with other illegally manufactured ones, the gaming machine will operate according to the remodeling program without performing the security check described above. In such a case, an appraisal request is made to the appraisal business unit 13.

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

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

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

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

【0025】プログラマブル割込要求タイマ0(5
0),1(51)は、16bitのプログラマブルカウ
ンタタイマで構成されており、フリー・ランニング・カ
ウンタ,コンペア・レジスタ(2組)を内蔵している。
このプログラマブル割込要求タイマ0(50),1(5
1)は、主要機能として、インターバル・タイマ機能,
イベント・カウント機能,ワンショット出力機能,PW
M(パルス幅変調)出力機能を有するばかりでなく、パ
ルス幅測定機能と時間差測定機能とを有する。
The programmable interrupt request timer 0 (5
Reference numerals 0) and 1 (51) each comprise a 16-bit programmable counter timer, and include a free running counter and a compare register (two sets).
The programmable interrupt request timers 0 (50) and 1 (5
1) The main functions are interval timer function,
Event count function, one-shot output function, PW
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)
のカウンタのクロックソースを外部入力に選択した場合
に達成可能となる。
The pulse width measuring function is, for example, a start winning switch 101a, 101b, 10 provided in a game machine.
This is a function for measuring 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 of measuring the time from when there is a detection signal from the above-described various switches to when there is a next detection signal. The pulse width measurement function and the time difference measurement function
Programmable interrupt request timer 0 (50), 1 (51)
This can be achieved when the clock source of the counter is selected as an external input.

【0027】カウンタのクロックソースとしては、クロ
ックを選択してリフレッシュカウンタとして利用するこ
ともでき、また、他方のプログラマブル割込要求タイマ
からの出力をクロックソースに選択して32bitのカ
ウンタとして使用することもできる。これらのクロック
ソースを選択する方法としては、プログラム内部で選択
するやり方を採用する。つまり、ある番地にレジスタが
あり、ここに所定の数字を書込み、その書込まれた数字
の種類によってクロックソースを選択するようにする。
As the clock source of the counter, a clock can be selected and used as a refresh counter, and the output from the other programmable interrupt request timer can be selected as a clock source and used as a 32-bit counter. Can also. As a method of selecting these clock sources, a method of selecting them inside a program is adopted. In other words, there is a register at a certain address, a predetermined number is written in this register, and a clock source is selected according to 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
For 0) and 1 (51), an interrupt can be set by a counter output and a compare output, and the interrupt can be set to be routed to any one of exception processing of a user reset, a maskable interrupt, and a non-maskable interrupt. 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回行なわれて割込み
処理が可能となる。このリセット/割込みコントローラ
52には、割込み要求信号発生回路54から、システム
リセット信号、ウォームリスタートを行なうためのユー
ザリセット信号,ノンマスカブル割込み要求信号,マス
カブル割込み要求信号が入力される。リセット/割込み
コントローラ52から割込み要求信号発生回路54に対
してはシステムリセット出力信号が出力される。
This reset / interrupt controller 52
Has a system reset function and a user reset function. The system reset refers to initializing the entire mounting chip 23 including the I / O port 44 and restarting from the power-on state. On the other hand, the user reset is to perform a warm restart of the mounted chip 23 by resetting only the CPU 40. This user reset is performed, for example, once every 2 msec to enable interrupt processing. The reset / interrupt controller 52 receives 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 from an interrupt request signal generating 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 has a low active level input. That is, it is reset when the input signal switches from the high level to the low level. Similarly, the user reset signal input to the reset / interrupt controller 52 is low active and level input. The interrupt request signal generating circuit 54 may not be provided.

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

【0032】外部入出力マップエリアは外部入出力マッ
プエリア・サイズを256B〜2KBまで設定できると
ともに、8分割したエリア毎にチップセレクト信号(6
本)を割当てることができる。また、外部ROMエリア
は、外部ROM10cのチップセレクト信号を生成す
る。
The external input / output map area can be set to an external input / output map area size of 256 B to 2 KB, and a chip select signal (6
Book). 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を指定して入出
力ポートを特定できるように構成されている。
The data output time adjusting circuit 58 provides a wait function for extending a machine cycle in order to interface with a low-speed input / output device. By setting, a wait state for a maximum of 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 input / output port is specified by specifying the bit of the I / O port 44 according to the output address. I have.

【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
And a 4-bit (for port B) peripheral device interface port (PIP). These port terminals serve as a chip select terminal for external input / output and a handshake terminal (for one port) in addition to a general-purpose input / output port function. As shown in FIG.
There are three modes, a, b, and c, and a selection command for selecting one of the three modes is given from the external ROM 10 c to the I / O port 44 via the CPU 40. When the mode c is selected, an 8-bit general-purpose input / output port for setting input / output in units of bits and 6b
It provides a chip select function for it. To have a handshake function, the mode a or b is selected. Then, 8b that I / O setting can be done in Byte unit
It provides a general purpose input / output port. However, two terminals (P8, P9) are set as handshake terminals for port A, and timing signals and read / write signals are input / output to / from these handshake terminals P8, P9. This handshake terminal can be set to interrupt. In addition, routing of the handshake terminal interrupt can be set for maskable interrupt exception processing. Mode a
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 for port B without the handshake function.

【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 gaming machine are connected to the I / O port 44. Then, signals from the various switch circuits 56 are given to the CPU 40 via the I / O port 44, and control signals from the CPU 40 are given to the 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 mounting chip 23 provides a function of detecting a malfunction (runaway) due to a cause such as noise or a drop in power supply voltage, and returning to a normal state. The signal from watchdog timer 60 is applied to system check circuit 61 and reset / interrupt controller 52. The watchdog timer 60 is configured to output a watchdog timer signal when the reset timing of the timer is equal to or longer than the maximum allowable reset interval time. The maximum allowable reset interval time can be set by the gaming machine maker 4 to a desired time. Furthermore, this watchdog timer 60 has an 8-bit
The clock unit time of the timer can be set by the function of the prescaler. The output of the watchdog timer signal can be set to be routed to any one of the exception processing of user reset, maskable interrupt, and non-maskable interrupt. 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からの出力信号
を命令信号として入力してもよい。
An address bus terminal (16 terminals) and a data bus terminal (8 terminals) are connected to the external bus interface 43 provided on the mounting chip 23, and an address bus signal and a data bus signal are respectively output. You.
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 access to the memory space is being performed, and an operation code fetch cycle is being executed. A signal indicating the presence is output. 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 the mounting chip 23 except the output terminal from the security check circuit 62 to the monitor device 60 are connected to the one-chip microcomputer ICE adapter board 59. Further, the address bus signal from the address bus terminal and the data bus signal from the data bus terminal are connected to the external I / O, respectively.
It is also output to port 67 and external ROM 10c. Also,
A data bus signal from the data bus terminal may be input to the I / O port of the variable display device display driving IC 49 and the data bus to operate the variable display device display driving IC. In this case, as the content of the signal input to the variable display device display driving IC, for example, a command signal for making the gaming machine a big hit can be considered. On the other hand, as the command signal input to the variable display device display drive IC 49, an output signal from the I / O port 44 may be input as a command signal.

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

【0039】図3は、メモリマップを示す説明図であ
る。図3に示すように、アドレス0000から7FFF
までが外部ROM10cに割振られたアドレスであり、
8000から81FFまでがRAM41に割振られたア
ドレスであり、F000からF7FFまでが外部I/O
67に割振られたアドレスであり、FF00からFFF
Fまでが内部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 the addresses allocated to the external ROM 10c,
8000 to 81FF are addresses allocated to the RAM 41, and F000 to F7FF are external I / O.
Address assigned to 67, from FF00 to FFF
Addresses up to F are addresses allocated to the internal I / O 44.
Then, the RAM 41 stores the address from 8000 to 81FF.
Up to 256 / 512B (capacitor 6
9 is possible) and 256B. However, the capacity of the RAM 41 is 256B
At the time, the address is from 8000 to 80FF. Then, in the case of a general user mode described later, 25
A working area of 6 / 512B is used, and in the case of a user test mode described later, bank switching is performed and a working area of 256B is used. Of the 256 / 512B, 256 is for a pachinko game machine and 512 is for a slot machine.

【0040】また、外部ROM10cには、前述のよう
にアドレス0000から7FFFが割当てられており、
このアドレス内に収まるように適正プログラムは作成さ
れる。もしもこのアドレス外の命令を実行するようにプ
ログラムが作成されている場合、このプログラムは不正
に改造されたものと判断される。そのような場合には、
CPU40は自動的に停止し、命令を実行することがな
いように構成されている。
The external ROM 10c is assigned addresses 0000 to 7FFF as described above.
An appropriate 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 tampered with. In such a case,
The CPU 40 is configured to stop automatically and not execute an instruction.

【0041】RAM41は、コンデンサ69によりバッ
クアップされている。しかし、何らかの原因で電源の瞬
断等があった場合には、CPU動作が不安定となり、R
AM41への異常なアクセスにより、RAM41のデー
タが破壊されるおそれがある。そのため、RAM41に
は、電源瞬断時のバックアップ電源からの出力に応答し
て、RAM41へのアクセスを禁止するためのアクセス
制御機能が付加されている。
The RAM 41 is backed up by a capacitor 69. However, if the power supply is momentarily interrupted for any reason, the CPU operation becomes unstable, and R
An abnormal access to the AM 41 may destroy data in the RAM 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 at the moment of a power interruption.

【0042】すなわち、RAM41には、アクセス制御
レジスタが設けられており、その所定のビットの値に応
じてRAM41へのアクセスの可否を制御する。このビ
ットの書換えは、CPU40が、電源の瞬断時にバック
アップ電源が発生するノンマスカブル割込などに応答し
て、まだ動作が安定している間に行なう。このビットが
アクセス不可を示す値であるときには、RAM41から
のデータ読出しも、書込みも行なうことができず、遊技
機が異常な動作に陥ることを予防できる。
That is, the RAM 41 is provided with an access control register, which controls whether or not access to the RAM 41 is possible according to the value of a predetermined bit. The rewriting of this bit is performed while the operation of the CPU 40 is still stable in response to a non-maskable interrupt generated by the backup power supply at the moment of a power interruption. When this bit is a value indicating that access is not allowed, neither data reading nor writing from the RAM 41 can be performed, so that an abnormal operation of the gaming machine can be prevented.

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

【0044】また、そのプログラムを図5に基づいて説
明する。電源が投入され、システムリセットがされてス
テップS(以下単にSという)1により、外部ROM1
0cに書き込まれているセキュリティコードと外部RO
M10cのプログラムデータとの整合性をチェックする
処理が行なわれる。この外部ROM10cに書込まれて
いるセキュリティコードとは、図1で説明したように、
開発プログラムに付加されるセキュリティコードであ
り、たとえば外部ROM10cのプログラムデータを一
定の変換フォーマットに従って変換したコードである。
そしてその変換フォーマットが既にセキュリティチェッ
ク回路62のROM64に記憶されており、その記憶さ
れた変換フォーマットに従って外部ROM10cに書込
まれているセキュリティコードとプログラムデータとの
整合性をチェックするのである。
The program will be described with reference to FIG. The power is turned on, the system is reset, and in step S (hereinafter simply referred to as S) 1, the external ROM 1
Security code written in 0c and external RO
A process of checking the consistency with the program data of M10c is performed. The security code written in the external ROM 10c is, as described with reference to FIG.
This is a security code added to the development program, for example, a code obtained by converting program data of the external ROM 10c according to a certain conversion format.
Then, the conversion format is already 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 in accordance with the stored conversion format.

【0045】次に、S2に進み、チェックの結果適正で
あるか否かの判断がなされ、適正である場合にはS3に
進み、セキュリティチェック回路62にセキュリティコ
ードが書込まれているか否かの判断が行なわれる。実装
チップ23が実装されている基板22と同一基板にRO
M10cが実装されて初めて電源が投入された段階で
は、セキュリティチェック回路62にセキュリティコー
ドがまだ書込まれていないためにS6に進む。S6で
は、セキュリティチェック回路62のRAM65にセキ
ュリティコードを書込む処理がなされた後にS7に進
む。なお、この場合においてROM11cのプログラム
データをそのままセキュリティデータとしてセキュリテ
ィチェック回路62に書込むようにしてもよい。S7で
は、CPU40を時間制限なしで能動化して通常の遊技
機制御が行なわれる一般ユーザモードにする処理が行な
われる。この場合においても、システム暴走等があった
場合にはシステムリセットが行なわれて再度S1以降の
処理が行なわれる。
Next, the flow proceeds to S2, where it is determined whether or not the result of the check is proper. If the result is proper, the flow proceeds to S3 to determine whether or not the security code is written in the security check circuit 62. A decision is made. The RO is mounted on the same substrate as the substrate 22 on which the mounting chip 23 is mounted.
When the power is turned on for the first time after the M10c is mounted, the process proceeds to S6 because the security code has not been written in the security check circuit 62 yet. In S6, after the process of writing the security code in the RAM 65 of the security check circuit 62 is performed, the process proceeds to S7. In this case, the program data in the ROM 11c may be directly written into the security check circuit 62 as security data. In S7, a process is performed in which the CPU 40 is activated without a time limit to enter a general user mode in which normal gaming machine control is performed. Also in this case, if there is a system runaway or the like, the system is reset and the processes after S1 are performed again.

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

【0047】このチェックの結果不適正であった場合に
も所定時間(たとえば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 for activating the CPU 40 only for a predetermined period of time (for example, 60 seconds) even if the result of this check is inappropriate is, for example, a game machine 24 shown in FIG. Before shipment to the board, the board may be checked or the control of the variable display device or the like provided on the game board may be checked again. In such a case, the mounting ROM 10c already mounted on the board 22 is pulled out once and other checks are performed. The purpose of this is to insert a ROM in which a program for use is stored and perform a check. Even if a ROM in which a program different from the passing program is stored is mounted, the microcomputer operates for a predetermined time (for example, 60 seconds). This is so that the above-described check can be performed. Another reason is that a program development company for controlling a gaming machine creates a program, passes the test of the third-party testing institution 11 and passes the test, and then stores the ROM 10c storing the passed program and the chip 23 on the substrate 22. This is because a board check may be performed before mounting and shipping to the gaming machine maker 4. In this case, the board check is performed by replacing the test ROM with a test ROM in which a test program in which the control time is shortened, for example, by shortening the opening period of the variable prize ball device at the time of the big hit, is replaced with the pass ROM Short time limit (for example, 60 seconds) after mounting on the substrate 22
I / O tests can be performed quickly within the system. In the case of such a user test mode, the reason for switching the working area of the RAM 41 to 256B is that if the working areas of the general user mode and the user test mode are made the same, a program for program modification is stored. The illegally inserted ROM is inserted into the board 22, and the microcomputer is operated according to the program for the program modification for a limited time (for example, 60 seconds), and
An external ROM in which various constants and the like stored through the AM 41 are rewritten and a pass program is stored later.
Even if 10c is mounted on the board 22, the microcomputer may operate improperly because the constants and the like have already been rewritten, and in the case of the user test mode in order to prevent such inconvenience, This is for operating in a working area different from the general user mode.

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

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

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

【0051】開発用チップ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 does not exist. In addition,
The security check circuit 62 is also provided for the development chip 23b.
May be provided so that a program for performing a security check is not stored in the ROM 64.

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

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

【0054】図中80はCPU用ICEであり市販品で
ある。ICE(in−circuit emulato
r)とは、MDS(microcomputerdev
elopment system)のもとでマイクロコ
ンピュータシステムのハードウェアのエミュレートを行
なうものである。このCPU用ICE80は、ワンチッ
プ化される以前の遊技機制御用マイクロコンピュータの
ためのICEであり、この市販品である従来から一般的
なCPU用ICE80を有効利用してマイクロコンピュ
ータのプログラム開発を行なうためには、ワンチップマ
イクロコンピュータICE用アダプタボード59が必要
となる。このワンチップマイクロコンピュータICE用
アダプタボード59は、図1に示したチップ流通会社2
が発売している。CPU用ICE80のCPUプローブ
81とワンチップマイクロコンピュータICE用アダプ
タボード59のCPUソケット84とを接続し、さらに
ワンチップマイクロコンピュータICE用アダプタボー
ド59のワンチップマイクロコンピュータ用プローブ8
2と製品開発用ボード83のワンチップマイクロコンピ
ュータ用ソケット84とを続した状態でマイクロコンピ
ュータのプログラム開発が可能となる。なお10は開発
用チップ23bに接続されるROMである。
In the figure, reference numeral 80 denotes a CPU ICE, which is a commercially available product. ICE (in-circuit emulato
r) is MDS (microcomputerdev)
The emulation of the hardware of the microcomputer system is performed under an employment system. The CPU ICE 80 is an ICE for a gaming machine control microcomputer before being made into a single chip, and develops a microcomputer program by effectively utilizing this commercially available conventional CPU ICE 80. For this purpose, the one-chip microcomputer ICE adapter board 59 is required. This one-chip microcomputer ICE adapter board 59 is a chip distribution company 2 shown in FIG.
Has been released. 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 8 of the one-chip microcomputer ICE adapter board 59 is further connected.
2 and the one-chip microcomputer socket 84 of the product development board 83 are connected, and microcomputer program development becomes possible. Reference numeral 10 denotes a ROM connected to the development chip 23b.

【0055】図7は、遊技機制御用マイクロコンピュー
タが組込まれた遊技機の一例のパチンコ遊技機21を示
す全体正面図である。
FIG. 7 is an overall front view showing a pachinko gaming machine 21 as an example of a gaming machine in which a microcomputer for controlling a gaming machine is incorporated.

【0056】パチンコ遊技機21の右下隅に設けられて
いる打球操作ハンドル92を遊技者が操作することによ
り打球発射装置93(図8参照)が作動してパチンコ玉
が1つずつ遊技領域94内に打込まれる。遊技領域94
内に打込まれたパチンコ玉が始動入賞口96a,96
b,96cのいずれかに入賞すれば、複数種類の識別情
報が可変表示可能な可変表示装置90が可変開始する。
この可変表示装置は、複数個(図面では3個)のドラム
が設けられており、このドラムをたとえばステッピィン
グモータ等で回転させることにより可変表示が行なわ
れ、そのステッピングモータを停止させることにより可
変表示を停止させることができる。なお可変表示装置9
0は、ドラムを用いる代わりに液晶表示やセグメントL
EDやドットマトリックスLEDやエレクトロルミネセ
ンス等を用いたデジタル表示器のもので構成してもよ
い。
When the player operates a hitting ball operation handle 92 provided at the lower right corner of the pachinko gaming machine 21, the hitting ball firing device 93 (see FIG. 8) is operated, and the pachinko balls are placed one by one in the game area 94. Is driven into. Gaming area 94
The pachinko balls that are driven into the inside are the starting winning prizes 96a, 96
If any one of b and 96c is won, the variable display device 90 capable of variably displaying a plurality of types of identification information variably starts.
This variable display device is provided with a plurality of (three in the drawing) drums. Variable display is performed by rotating this drum with, for example, a stepping motor, and the variable display is performed by stopping the stepping motor. The display can be stopped. The variable display device 9
0 means liquid crystal display or segment L instead of using a drum.
It may be constituted by a digital display using an ED, a dot matrix LED, electroluminescence, or the like.

【0057】この可変表示装置の停止時の表示結果が予
め定められた識別情報の組合わせ(たとえば777)と
なった場合には可変入賞球装置95が開成してパチンコ
玉が入賞しやすい遊技者にとって有利な第1の状態とな
り大当り状態が発生する。この大当り状態を発生させる
か否かは、マイクロコンピュータのリセット待ち時間を
利用してカウントアップされる乱数カウンタの始動入賞
時における値をピックアップし、そのピックアップされ
た値に基づいて決定する。
When the display result when the variable display device is stopped is a combination of predetermined identification information (for example, 777), the variable winning ball device 95 is opened and the pachinko ball is likely to win. The first state is advantageous to the player, and the big hit state occurs. Whether or not to generate the big hit state is determined by picking up the value of the random number counter which is counted up by using the reset waiting time of the microcomputer at the time of winning the start, and based on the picked up value.

【0058】なお、本実施例ではパチンコ玉を投入して
遊技を行なうパチンコ遊技機を示したが、カードリーダ
ライタ等を含むカード処理器を設けて所定の有価価値が
特定可能な情報が記録されたカード等の記録媒体をその
カード処理器に挿入してその記録媒体によって特定され
る有価価値の範囲内で遊技ができるようなカード式遊技
機であってもよい。この場合に、前記カード処理器はパ
チンコ遊技機21に対し分離可能に設けてもよく、ま
た、パチンコ遊技機21内に組込んでもよい。このカー
ド式遊技機の場合には、遊技により獲得した獲得得点が
表示され、遊技終了時にその得点に相当する有価価値が
記録された景品用記録媒体が遊技者に払出される。この
景品用記録媒体は遊技開始時にカード処理器に挿入した
記憶媒体とは別の記録媒体で構成してもよく、また、遊
技開始時に挿入した記憶媒体の記録領域を2つに分割
し、一方の記録領域に遊技開始時に必要となる有価価値
を記録し、他方の記録領域に遊技終了時の獲得得点に相
当する有価価値を記録して遊技者に払出すようにしても
よい。図中97はスピーカであり、サウンドジェネレー
タ48(図2参照)からの信号に基づいて大当り時に効
果音等を発生させるものである。
In this embodiment, a pachinko game machine in which a pachinko ball is inserted to play a game is shown. However, a card processor including a card reader / writer or the like is provided to record information capable of specifying a predetermined value. A card-type gaming machine in which a recording medium such as a card or the like is inserted into the card processor and a game can be played within a value range specified by the recording medium may be used. In this case, the card processor may be provided so as to be separable from the pachinko gaming machine 21, or may be incorporated in the pachinko gaming machine 21. In the case of this card-type gaming machine, the acquired score obtained by the game is displayed, and at the end of the game, a premium recording medium on which a valuable value corresponding to the score is recorded is paid out to the player. This premium recording medium may be constituted by 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 is divided into two parts. The value required at the start of the game may be recorded in the recording area, and the value corresponding to the acquired score at the end of the game may be recorded in the other recording area and paid out to the player. In the figure, reference numeral 97 denotes a speaker that generates a sound effect or the like at the time of a big hit based on a signal from the sound generator 48 (see FIG. 2).

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

【0060】前記始動入賞口96a,96b,96c
(図7参照)に入賞した入賞玉が入賞玉検出スイッチ1
01a,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に接続されている。さらに、パチンコ遊技機
21には中継端子基板111が設けられており、この中
継端子基板111のコネクタ110と遊技制御メイン基
板22のコネクタ103とが接続配線105を介して接
続されている。さらに、遊技制御メイン基板22のコネ
クタ103と施錠装置113とがアース線112を介し
て接続されており、遊技制御メイン基板22がアースさ
れた状態となる。
The starting winning ports 96a, 96b, 96c
(See FIG. 7) is a winning ball detection switch 1
01a, 101b, and 101c, and the detection signals are supplied to various switch circuits 56 of the game control main board 22.
(See FIG. 2). In addition, the variable winning ball device 95
Is detected by the 10-count detection switch 102, and the detection signal is transmitted to the game control main board 22.
Are input to the various switch circuits 56. The game control main board 22 has a connector 103 mounted thereon with the chip 23 and the external ROM 10c, and the detection signal is input via this connector. In the figure, reference numeral 180 denotes a solenoid for opening and closing the variable winning ball apparatus 95, which is controlled based on a drive control signal from each drive circuit 55 of the game control main board 22. Game control main board 22
Is provided on the mechanism plate side of the gaming machine 21 in a state housed in the board case 104. In the figure, reference numeral 108 denotes a game control sub-board, which is a variable display device display driving IC 49 described above.
Has been implemented. The game control sub-board 108 is provided with a connector 107, and the connector 107 is connected to the connector 103 of the game control main board 22 via the connection wiring 105. Further, the pachinko gaming machine 21 is provided with a relay terminal board 111, and the connector 110 of the relay terminal board 111 and the connector 103 of the game control main board 22 are connected via the connection wiring 105. Further, 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.

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

【0062】実装チップ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 arrow in the figure), and then the connector 1 of the game control main board 22 is mounted.
The game control main board 22 is mounted and fixed in the board storage box main body 120 while the connection wiring 105 and the ground wire 112 are connected to 03. Then, the transparent cover 12
1 covers the substrate storage box main body 120. An engagement hole 124 is provided in the substrate storage box body 120, and the claw 1 provided on the transparent cover body 121 side is provided.
25 is inserted into the engagement hole 124, and the transparent cover 121 is
Fixed to. Next, the opening / closing cover body 122 is attached to the substrate storage box main body 120 so as to be freely opened and closed. The opening / closing cover body 122 is provided with a support shaft 128, and an insertion hole 127 provided on the substrate storage box main body 120 side.
The opening / closing cover body 122 is supported on the substrate storage box main body 120 side so as to be freely opened / closed by passing the support shaft 128 through. On the other hand, an engagement claw portion 123 is formed in the substrate storage box main body 120, and an engagement hole 129 that engages with the engagement claw portion 123 is formed on the opening / closing cover body 122 side. The opening / closing cover body 122 is fixed to the board storage box main body 120 by externally fitting the engagement claws 129 to the engagement claws 123 and engaging them. And the opening and closing cover body 12
When it is desired to open 2, the engagement can be easily opened by releasing the engagement between the engagement claw 123 and the engagement hole 129.

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

【0064】透明カバー体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 openable cover body 122
Are provided with a large number of heat radiation holes 131 so that heat from the game control main board 22 housed in the board case 104 can be released to the outside.
The board storage box body 120 and the opening / closing cover body 12
Numeral 2 is formed of, for example, a synthetic resin obtained by mixing carbon with polypropylene in order to enhance conductivity. The color of this resin is black. The transparent cover body 121 is made of a transparent material such as polycarbonate.
The game control main board 22 can be viewed from outside the transparent cover body 121 by opening the game control board 2, and the game control board 22 can be removed without detaching the transparent cover body 121 from the board storage box main body 120. It is configured so that it is possible to confirm to a certain extent whether there is any abnormality when viewed. Further, carbon may be mixed into polycarbonate or the like constituting the transparent cover body 121.
The transparent cover body 121 does not need to be completely transparent, and may be of such a degree that the inside can be seen through. In addition,
The substrate storage box main body 120 and the opening / closing cover body 122 may be formed of a metal plate.

【0065】[0065]

【発明の効果】本発明は、遊技場に搬入された遊技機を
制御するためのワンチップマイクロコンピュータに関
し、正規の記憶手段が最初に実装された時点で、そのセ
キュリティコードに対応するセキュリティチェック情報
が自動的に記憶される。そして、適正な遊技制御動作情
報以外の不正情報が記憶された記憶手段により動作させ
る不正改造が行なわれた場合には、適否判定手段により
適正でないことが判定されて遊技の実行が行なわれない
ために、不正な遊技制御情報による遊技機の制御を防止
しやすくなる。さらに、セキュリティチェック情報の記
憶が自動的に行われるため、入力誤りや入力漏れ等がな
い。
The present invention relates to a one-chip microcomputer for controlling a gaming machine carried into a game arcade. When a proper storage means is first mounted, security check information corresponding to the security code is provided. Is automatically stored. Then, in the case where an unauthorized remodeling operation is performed by the storage unit storing the unauthorized information other than the appropriate game control operation information, the inappropriateness is determined by the appropriateness determination unit, and the game is not executed. In addition, it is easy to prevent the gaming machine from being controlled by the illegal gaming control information. Further, since the security check information is automatically stored, there is no input error or omission.

【図面の簡単な説明】[Brief description of the drawings]

【図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 mounting chip constituting a gaming machine control microcomputer according to the present invention and circuits 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 a function corresponding to an I / O port mode.

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

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

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

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

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

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

4 開発製造会社の一例の遊技機メーカー 10a 申請用ROM 10b 量産用ROM 10c 実装ROM 11 第三者試験機関 21 遊技機の一例のパチンコ遊技機 23 実装チップ 24 遊技場 25 管轄監督機関 4 Example of a gaming machine maker 10a Application ROM 10b Mass production ROM 10c Mounting ROM 11 Third-party testing institution 21 Pachinko gaming machine as an example of gaming machine 23 Mounting chip 24 Amusement arcade 25 Jurisdiction overseeing agency

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 遊技制御動作のための所定のプログラム
データ及び該データに基づき所定のフォーマットに従っ
て変換された所定のセキュリティコードとが記憶された
着脱可能に接続される外部記憶手段(10c)と、該外
部記憶手段(10c)に記憶された所定のセキュリティ
コードが記憶される記憶手段及び所定の変換フォーマッ
トプログラムが記憶された記憶手段を有するセキュリテ
ィチェック回路を内蔵するマイクロコンピュータとから
なり、 前記接続された外部記憶手段(10c)に記憶されたセ
キュリティコードと記憶手段(10c)に記憶されたプ
ログラムデータに基づき所定の変換フォーマットに従っ
て変換されたセキュリティコードとが一致した場合には
セキュリティチェック回路の記憶手段に既にセキュリテ
ィコードを書き込まれているか否かの照合を行い、書き
込まれていない場合には該記憶手段に書き込んだ後にC
PUの能動化を行い、またセキュリティチェック回路の
記憶手段にセキュリティコードが書き込まれている場合
には両者のセキュリティコードが一致しているか否かを
判定し、一致した場合にCPUを能動化するように構成
されていることを特徴とする遊技機制御用マイクロコン
ピュータ。
An external storage means (10c), which is detachably connected and stores predetermined program data for a game control operation and a predetermined security code converted according to a predetermined format based on the data; A microcomputer incorporating a security check circuit having storage means for storing a predetermined security code stored in the external storage means (10c) and storage means for storing a predetermined conversion format program; If the security code stored in the external storage means (10c) matches the security code converted according to a predetermined conversion format based on the program data stored in the storage means (10c), the storage means of the security check circuit Already have a security code It performed whether collation is incorporated can, if not written C after writing in the storage means
The PU is activated, and if a security code has been written in the storage means of the security check circuit, it is determined whether or not both security codes match, and if so, the CPU is activated. A microcomputer for controlling a gaming machine, comprising:
JP27241891A 1991-10-21 1991-10-21 Microcomputer for controlling game machines Expired - Lifetime JP3263101B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27241891A JP3263101B2 (en) 1991-10-21 1991-10-21 Microcomputer for controlling game machines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27241891A JP3263101B2 (en) 1991-10-21 1991-10-21 Microcomputer for controlling game machines

Publications (2)

Publication Number Publication Date
JPH05111564A JPH05111564A (en) 1993-05-07
JP3263101B2 true JP3263101B2 (en) 2002-03-04

Family

ID=17513637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27241891A Expired - Lifetime JP3263101B2 (en) 1991-10-21 1991-10-21 Microcomputer for controlling game machines

Country Status (1)

Country Link
JP (1) JP3263101B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09325914A (en) * 1996-06-06 1997-12-16 Ryosaku Sakuraba Controller for game machine
JPH11123271A (en) * 1997-10-23 1999-05-11 Heiwa Corp Illegal game machine remodeling detection device
JP4699589B2 (en) * 2000-06-19 2011-06-15 株式会社平和 Game machine
JP2002018072A (en) * 2000-07-05 2002-01-22 Heiwa Corp Circuit board mounted with electronic device for game machine
JP3944591B2 (en) * 2002-06-26 2007-07-11 株式会社高尾 Enclosure
JP4537908B2 (en) * 2005-03-29 2010-09-08 株式会社東芝 Processor, memory, computer system and system LSI
JP2007260438A (en) * 2007-07-12 2007-10-11 Heiwa Corp Central processing unit for game machine
JP5012853B2 (en) * 2009-06-02 2012-08-29 株式会社三洋物産 Game machine

Also Published As

Publication number Publication date
JPH05111564A (en) 1993-05-07

Similar Documents

Publication Publication Date Title
JP5621110B2 (en) Game machine
JP4885473B2 (en) GAME MACHINE, GAME INFORMATION AUTHENTICATION CAPTURE DEVICE, AND GAME INFORMATION CAPTURE DEVICE
JP3263101B2 (en) Microcomputer for controlling game machines
JP2862504B2 (en) Microcomputer security system for gaming machine control
JPH06142307A (en) Game machine with variable display
JPH06165857A (en) Game machine with variable display device
JP2000126425A5 (en)
JP2630680B2 (en) Gaming machine
JPH053957A (en) Computer for control of game machine
JP2614546B2 (en) Gaming machine
JP2918838B2 (en) Microcomputer for controlling game machines
JP4112129B2 (en) Game processing unit
JPH06142327A (en) Game machine equipped with variable display device
JP2001145772A (en) Game system
JP3653474B2 (en) Game machine
JP2001087529A5 (en)
JPH09253312A (en) Microcomputer for game machine control
JP2703716B2 (en) Microcomputer for controlling game machines
JP2849031B2 (en) Gaming machine security system
JP4056149B2 (en) Game processing unit
JP4117716B2 (en) Game processing unit
JPH11309253A (en) Game machine
JP3442474B2 (en) Microcomputer chip for gaming machine control
JPH08196705A (en) Random number generator for game machine
JP2704720B2 (en) Game equipment control device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term