JP2018175150A - Debugging system - Google Patents
Debugging system Download PDFInfo
- Publication number
- JP2018175150A JP2018175150A JP2017076557A JP2017076557A JP2018175150A JP 2018175150 A JP2018175150 A JP 2018175150A JP 2017076557 A JP2017076557 A JP 2017076557A JP 2017076557 A JP2017076557 A JP 2017076557A JP 2018175150 A JP2018175150 A JP 2018175150A
- Authority
- JP
- Japan
- Prior art keywords
- gaming machine
- debugging
- machine control
- relay device
- unit
- 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
Links
- 238000003860 storage Methods 0.000 claims abstract description 67
- 238000012544 monitoring process Methods 0.000 claims description 43
- 238000004891 communication Methods 0.000 claims description 41
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000012360 testing method Methods 0.000 abstract description 28
- 230000006870 function Effects 0.000 description 9
- 238000007689 inspection Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 5
- 230000018109 developmental process Effects 0.000 description 5
- 238000003780 insertion Methods 0.000 description 5
- 230000037431 insertion Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 230000007958 sleep Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000006266 hibernation Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000000284 resting effect Effects 0.000 description 1
- 238000009987 spinning Methods 0.000 description 1
- 230000008685 targeting Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Pinball Game Machines (AREA)
Abstract
Description
本発明は、遊技機制御用マイクロコンピュータが遊技機制御を行うために用いるプログラムやデータに含まれるバグを除去するデバッグ作業を効率良く行えるデバッグシステムに関する。 The present invention relates to a debugging system capable of efficiently performing a debugging operation for removing a bug included in a program or data used by a gaming machine control microcomputer to perform gaming machine control.
遊技機開発において、試作機による実射試験は、欠かすことのできない重要なステップである。実射試験の目的は、それまでの開発過程で見過ごされてきた不具合がないことを確認すること、及び、出玉の特性が法律で規定されている要件を満たし、かつ、商品として企画した通りの性能を有していることを確認することである。 In the development of gaming machines, live shot testing with prototypes is an indispensable and important step. The purpose of the actual shooting test is to confirm that there is no defect that has been overlooked in the development process until then, and the characteristics of the ball have met the requirements specified by the law and as planned as a product It is to confirm that it has the performance of
遊技機の動作は偶然に左右される要素があるため、実射試験は比較的長時間行う必要がある。実際には、遊技機が複数台ある場合、遊技機の動作は、確率的に独立していると考えることができるので、試験の延べ時間を確保するために、複数台を同時に稼働させてその結果を集計する方法が一般的である。 Since the operation of the gaming machine is dependent on chance, the shooting test needs to be performed for a relatively long time. In practice, when there are a plurality of gaming machines, the operation of the gaming machines can be considered to be stochastically independent, so in order to secure the total time for the test, a plurality of machines are operated at the same time It is common to aggregate the results.
そこで、遊技機からのデータ収集を効率良く行うために、遊技制御装置からの制御コマンドに基づいて演出制御および表示制御を行う演出制御装置にデバッグ装置が搭載されているときに限って、遊技制御装置からの制御コマンドに検査用コマンドを含ませることを可能にした遊技機が提案されている(例えば、特許文献1を参照)。このような遊技機によれば、デバッグ装置を演出制御装置に搭載して行う検査のときには、検査用コマンドを用いた検査データを収集できるが、デバッグ装置を搭載せずに市場に流通させた遊技機では、検査用コマンドが使われることは無いので、検査用コマンドを含ませた遊技機制御用のプログラムで実射試験を効率良く行えるのである。 Therefore, in order to efficiently collect data from the gaming machine, the game control is performed only when the debugging device is installed in the effect control device that performs effect control and display control based on the control command from the game control device. A gaming machine has been proposed in which it is possible to include an inspection command in a control command from a device (see, for example, Patent Document 1). According to such a gaming machine, at the time of inspection performed by mounting the debugging device in the effect control device, inspection data using the inspection command can be collected, but the game is distributed to the market without mounting the debugging device. Since no inspection command is used in the machine, the shooting test can be efficiently performed with a program for game machine control that includes the inspection command.
しかしながら、実際の遊技機開発作業では、問題が発見されたり、仕様が変更されたりする度に、遊技機制御用プログラムを修正し、更新された遊技機制御用プログラムによって実射試験を行う必要があるものの、特許文献1に記載された遊技機によるデバッグ作業では、遊技機制御用プログラムの更新を効率良く行う事はできない。すなわち、遊技機制御用プログラムを更新するためには、従前通り、実射試験に供している多数の試作機から制御用ROM(遊技機制御用マイクロコンピュータ)を取り外し、プログラムを書き換えた制御用ROMを再び試作機に取り付けなければならない。これは、大変手間のかかる作業のため、非効率的である。しかも、複数の機種の実射試験を同時に行っている場合、更新された制御用ROMを取り付ける機種を間違えることで、遊技機が異常動作を起こし、試作機を損壊してしまう危険性もある。このように、遊技機制御用マイクロコンピュータが遊技機制御に用いる遊技機制御用プログラムやデータを更新する作業は、慎重を要すると共に手間のかかる作業であり、これを改善することで、デバッグ作業の効率化を果たすことができる。
However, in the actual gaming machine development work, although it is necessary to correct the gaming machine control program every time a problem is found or a specification is changed, it is necessary to perform a shooting test with the updated gaming machine control program. In the debugging operation by the gaming machine described in
本発明は上記事情に鑑みてなされたものであり、遊技機制御用マイクロコンピュータが遊技機制御を行うために用いるプログラムやデータに含まれるバグを除去するデバッグ作業を効率良く行えるデバッグシステムの提供を目的とする。 The present invention has been made in view of the above circumstances, and it is an object of the present invention to provide a debugging system capable of efficiently performing a debugging operation for removing a bug included in a program or data used by a gaming machine control microcomputer to perform gaming machine control. I assume.
上記の課題を解決するために、請求項1に係る発明は、遊技機の主たる制御を行う主制御基板に設けられる遊技機制御用マイクロコンピュータと、該遊技機制御用マイクロコンピュータが遊技機制御を行うために用いるプログラムやデータに含まれるバグを除去するデバッグ作業に利用するデバッグ装置と、前記遊技機制御用マイクロコンピュータと前記デバッグ装置との間に接続される中継装置と、からなるデバッグシステムであって、前記中継装置は、少なくとも、前記デバッグ装置から供給される遊技機制御用のプログラムやデータを記憶するメモリ部と、前記遊技機制御用マイクロコンピュータの通信制御部と通信可能な通信制御手段と、を備え、前記遊技機制御用マイクロコンピュータは、少なくとも、遊技機制御用のプログラムやデータを読み出して実行するCPU部と、遊技機制御用のプログラムやデータを書き換え可能に記憶するROM部と、前記中継装置との通信が可能で、適正な中継装置からの指令によりROM部の内容を書き換え可能な通信制御部と、を備え、前記デバッグ装置から供給されて中継装置のメモリ部に記憶された遊技機制御用のプログラムやデータを、前記遊技機制御用マイクロコンピュータのROM部に上書きさせ、上書きされた遊技機制御用のプログラムやデータをCPU部が読み出して実行するようにしたことを特徴とする。
In order to solve the above problems, the invention according to
また、請求項2に係る発明は、前記請求項1に記載のデバッグシステムにおいて、前記遊技機制御用マイクロコンピュータのROM部は、遊技機制御用のプログラムやデータの種別を一意に示すプログラム識別情報を記憶するプログラム識別情報記憶領域を備えるものとし、該ROM部に遊技機制御用のプログラムやデータを書き込むときには、併せて、そのプログラム識別情報をプログラム識別情報記憶領域へ書き込むようにしたことを特徴とする。 According to a second aspect of the present invention, in the debugging system according to the first aspect, the ROM unit of the gaming machine control microcomputer stores program identification information uniquely indicating a type of a program or data for gaming machine control. A program identification information storage area is provided, and when a program or data for game machine control is written in the ROM portion, the program identification information is also written in the program identification information storage area.
また、請求項3に係る発明は、前記請求項に記載のデバッグシステムにおいて、前記中継装置は、遊技機制御用マイクロコンピュータにおけるROM部のプログラム識別情報記憶領域から、プログラム識別情報を読み出せるようにしたことを特徴とする。 In the debugging system according to the third aspect of the present invention, the relay device can read out the program identification information from the program identification information storage area of the ROM section in the gaming machine control microcomputer. It is characterized by
また、請求項4に係る発明は、前記請求項1〜請求項3の何れか1項に記載のデバッグシステムにおいて、前記遊技機制御用マイクロコンピュータは、自身のユニークな識別情報であるチップIDを固定的に記憶しているチップID記憶部を備え、前記中継装置は、接続中の遊技機制御用マイクロコンピュータのチップID記憶部よりチップIDを取得してデバッグ装置へ送信し、前記デバッグ装置は、チップIDの送信元である中継装置に接続されている遊技機と紐付けてチップIDを管理するようにしたことを特徴とする。
The invention according to claim 4 is the debugging system according to any one of
また、請求項5に係る発明は、前記請求項4に記載のデバッグシステムにおいて、前記中継装置は、接続されている遊技機が起動して遊技機制御用マイクロコンピュータと通信可能になったとき、接続中の遊技機制御用マイクロコンピュータのチップID記憶部よりチップIDを取得してデバッグ装置へ送信し、前記デバッグ装置は、中継装置より送信されてきたチップIDと、当該中継装置に接続されている遊技機と紐付けて管理しているチップIDとを比較し、一致しない場合には警告動作を行うようにしたことを特徴とする。 The invention according to claim 5 is the debug system according to claim 4, wherein the relay device is connected when the connected gaming machine is activated and becomes communicable with the gaming machine control microcomputer. The chip ID is acquired from the chip ID storage unit of the microcomputer for controlling a gaming machine and transmitted to the debugging device, and the debugging device transmits the chip ID transmitted from the relay device and the game connected to the relay device. It is characterized in that the chip ID linked with the machine and managed is compared, and when the two do not match, the warning operation is performed.
また、請求項6に係る発明は、前記請求項1〜請求項5の何れか1項に記載のデバッグシステムにおいて、前記中継装置は、1つの遊技機における遊技機制御用マイクロコンピュータと1対1で接続し、前記デバッグ装置は、複数の中継装置と接続可能とし、前記デバッグ装置から複数の中継装置へ遊技機制御用のプログラムやデータを供給してメモリ部に記憶させることで、該当する中継装置と接続された各遊技機の遊技機制御用マイクロコンピュータに上書きさせる遊技機制御用のプログラムやデータをまとめて更新するようにしたことを特徴とする。
In the invention according to claim 6, in the debug system according to any one of
また、請求項7に係る発明は、前記請求項6に記載のデバッグシステムにおいて、前記中継装置には、自機の識別番号を設定可能な識別番号設定手段を設け、前記デバッグ装置は、各中継装置の識別番号設定手段に設定されている識別番号によって、当該中継装置が接続されている遊技機を識別するようにしたことを特徴とする。 The invention according to claim 7 is the debug system according to claim 6, wherein the relay device is provided with identification number setting means capable of setting an identification number of the own device, and the debug device The gaming machine to which the relay device is connected is identified by the identification number set in the identification number setting means of the device.
また、請求項8に係る発明は、前記請求項7に記載のデバッグシステムにおいて、前記デバッグ装置は、1又は複数の遊技機を括ってグループ識別情報を設定して、当該グループの各遊技機に対応する中継装置へグループ識別情報を送信し、前記デバッグ装置よりグループ識別情報を受信した中継装置は、受信したグループ識別情報をグループ識別情報記憶手段に記憶するようにしたことを特徴とする。 According to an eighth aspect of the present invention, in the debugging system according to the seventh aspect, the debugging device sets group identification information by bundling one or more gaming machines, and sets each group to gaming machines. The relay apparatus which has transmitted the group identification information to the corresponding relay apparatus and has received the group identification information from the debug apparatus stores the received group identification information in the group identification information storage means.
また、請求項9に係る発明は、前記請求項8に記載のデバッグシステムにおいて、前記中継装置は、グループ識別情報記憶部に記憶されているグループ識別情報に応じたグループ識別表示を行う表示手段を備えることを特徴とする。 The invention according to claim 9 is the debug system according to claim 8, wherein the relay device displays the group identification display according to the group identification information stored in the group identification information storage unit. It is characterized by having.
また、請求項10に係る発明は、前記請求項1〜請求項9の何れか1項に記載のデバッグシステムにおいて、前記遊技機制御用マイクロコンピュータには、内部バスの状態を監視する内部バス監視部と、前記CPU部の動作を停止させる内部バスの状態として定められたバス条件を記憶するバス条件記憶部と、を設け、前記内部バスの状態がバス条件記憶部に記憶されたバス条件と一致するブレーク条件が成立すると、前記内部バス監視部はCPU部に働きかけて休止状態とするようにしたことを特徴とする。
The invention according to claim 10 is the debug system according to any one of
また、請求項11に係る発明は、前記請求項10に記載のデバッグシステムにおいて、前記デバッグ装置にて設定されたバス条件が前記中継装置へ送信されることで、その中継装置に接続された遊技機の遊技機制御用マイクロコンピュータへバス条件が送信され、この送信されたバス条件がバス条件記憶部に記憶されるようにしたことを特徴とする。 The invention according to claim 11 is the debug system according to claim 10, wherein the bus condition set by the debug device is transmitted to the relay device, whereby the game is connected to the relay device. The bus condition is transmitted to the gaming machine control microcomputer of the machine, and the transmitted bus condition is stored in the bus condition storage unit.
また、請求項12に係る発明は、前記請求項11に記載のデバッグシステムにおいて、前記バス条件記憶部は、複数のバス条件を記憶可能とし、前記内部バス監視部は、前記バス条件記憶部に記憶されたバス条件の何れか一つとバス状態とが一致すれば、ブレーク条件の成立と判断し、前記CPU部を休止状態とするようにしたことを特徴とする。 The invention according to claim 12 is the debug system according to claim 11, wherein the bus condition storage unit can store a plurality of bus conditions, and the internal bus monitoring unit is configured to store the bus condition storage unit. When any one of the stored bus conditions coincides with the bus state, it is determined that a break condition is satisfied, and the CPU unit is put into a sleep state.
また、請求項13に係る発明は、前記請求項10〜請求項12の何れか1項に記載のデバッグシステムにおいて、前記内部バス監視部は、予め定められたバス監視条件が満たされている間に限って、ブレーク条件成立に基づくCPU部の休止を行うようにしたことと特徴とする。 The invention according to claim 13 is the debug system according to any one of claims 10 to 12, wherein the internal bus monitoring unit is configured to satisfy a predetermined bus monitoring condition. The present invention is characterized in that the CPU unit is paused based on the occurrence of the break condition.
また、請求項14に係る発明は、前記請求項13に記載のデバッグシステムにおいて、前記バス監視条件は、CPU状態問い合わせを中継装置から定期的に受けている期間としたことを特徴とする。 The invention according to claim 14 is characterized in that, in the debug system according to claim 13, the bus monitoring condition is a period in which a CPU state inquiry is periodically received from a relay apparatus.
本発明に係るデバッグシステムによれば、バグ取り等で更新した遊技機制御用のプログラムやデータ(遊技機制御用プログラム等)を中継装置の記憶手段に記憶させ、遊技機制御用マイクロコンピュータのROM部に上書きさせることで、遊技機制御用マイクロコンピュータのCPU部は、ROM部に上書きされた遊技機制御用のプログラムやデータを読み出して実行できるので、遊技機制御用マイクロコンピュータ自体を交換すること無く、更新された遊技機制御用プログラム等による実射試験を効率良く行うことが可能となる。 According to the debugging system according to the present invention, a program or data for game machine control (such as a program for game machine control) updated by removing a bug or the like is stored in the storage means of the relay device and overwritten in the ROM portion of the microcomputer for game machine control. By doing this, the CPU unit of the gaming machine control microcomputer can read out and execute the gaming machine control program and data overwritten in the ROM portion, so that the updated gaming can be performed without replacing the gaming machine control microcomputer itself. It becomes possible to efficiently carry out an actual shooting test using a machine control program or the like.
以下、本発明に係るデバッグシステムの実施形態を、添付図面に基づいて詳細に説明する。 Hereinafter, an embodiment of a debugging system according to the present invention will be described in detail based on the attached drawings.
図1に例示するデバッグシステム1は、実射試験に用いる多数の遊技機10(例えば、第1遊技機10A、第2遊技機10B、第3遊技機10C、…)と、デバッグ作業に利用するデバッグ装置としてのデバッグ制御用PC20と、各遊技機10に対応して設けられる中継装置30(例えば、第1中継装置30A、第2中継装置30B、第3中継装置30C、…)と、これらの中継装置30とデバッグ制御用PC20とを接続するネットワーク40を含む。なお、ネットワーク40で用いる通信プロトコルは任意のもので構わない。また、各中継装置30とデバッグ制御用PC20との接続は、有線であっても、無線であっても構わない。さらに、デバッグ制御用PC20と中継装置30を1対1で接続してデバッグシステム1を構築することも可能である。その場合は、ネットワーク40に代えてUSB等の汎用的インターフェース規格のケーブルを用い、そのインターフェース規格に対応したポートを備えるデバッグ制御用PC20と中継装置30を接続すれば良い。
The
図1に例示した遊技機10は、遊技球を用いた弾球遊技を行えるぱちんこ式遊技機である。遊技機10における主な遊技進行の制御等を担う主制御基板100には、遊技機制御用マイクロコンピュータ110が搭載され、各種の遊技機能装置を制御する。この遊技機制御用マイクロコンピュータ110は、例えばコネクタ付ケーブル200を介して中継装置30と接続され、この中継装置30の機能により、遊技機10の実射試験で得られたデータ(例えば、発射数、アウト数、払出数、抽出乱数値など)を取得してデバッグ制御用PC20へ送信したり、デバッグ制御用PC20からの指令に基づくコマンド等を遊技機制御用マイクロコンピュータ110へ送信したりする。
The gaming machine 10 illustrated in FIG. 1 is a pachinko type gaming machine that can perform ballistic ball games using gaming balls. A
遊技機制御用マイクロコンピュータ110の内部には、遊技機制御用プログラムおよび該遊技機制御用プログラムが参照するデータ(以下、遊技機制御用プログラム等という)が固定的に記憶されており、遊技機制御用プログラム等に基づいて遊技機制御用マイクロコンピュータ110が行う遊技動作の一例は、次のようなものになる。
A game machine control program and data to be referred to by the game machine control program (hereinafter referred to as a game machine control program etc.) are fixedly stored inside the game
遊技機10の遊技盤面に設けられた遊技球センサからの入力信号を監視し、遊技球の入賞を検知すると、入賞口の種別に応じて予め定められている払出数分の遊技球を払い出す。遊技球が入賞した入賞口が始動口であった場合、特別図柄装置における図柄変動などの演出をするとともに、大当たりか否かの判定を行う。大当たりの判定は、遊技球が始動口へ入賞したのを検知したタイミングで取得した乱数値が、予め定めておいた特定の値と一致するか否かで行う。すなわち、始動口への入賞時に取得した乱数値が特定の値と一致した場合に、これを大当たりと判定するのである。なお、この処理をぱちんこ式遊技機の内部抽選と呼ぶ。 The input signal from the game ball sensor provided on the game board surface of the gaming machine 10 is monitored, and when the game ball is detected to be paid, the game balls for the number of payouts predetermined according to the type of the winning opening are paid out . When the winning opening on which the game ball has won is the starting opening, the effect such as symbol variation in the special symbol device is presented, and it is judged whether or not it is a big hit. The determination of the jackpot is performed based on whether or not the random number value acquired at the timing when it is detected that the gaming ball has won the start opening, matches a predetermined specific value. That is, when the random number value acquired at the time of winning in the starting opening matches the specific value, it is determined that this is a big hit. In addition, this process is called an internal lottery of a pachinko type gaming machine.
内部抽選の確率は、乱数の取り得る値の範囲と、大当たりと判定する乱数値の個数で決まる。例えば、乱数の取り得る値の範囲が、0〜199であり、7という値1個だけを大当たりの乱数値と定めておいた場合には、大当たりの確率は1/200となる。 The probability of the internal lottery is determined by the range of possible values of the random number and the number of random values determined to be the jackpot. For example, if the range of possible values of the random number is 0 to 199, and only one value of 7 is defined as the big hit random number value, the big hit probability is 1/200.
上記のようにして大当たりと判定された場合、役物装置のソレノイドを駆動して大入賞口を開放し、大入賞口へ遊技球が入賞できる大当たり遊技動作を行う。そして、遊技球センサにより、大入賞口への遊技球の入賞を検知すると、入賞の都度、予め定められている払出数分の遊技球を払い出す。大入賞口に所定個数以上の遊技球が入賞したことを検知すると、大入賞口をいったん閉じるが、大入賞口の開放が、所定の回数に達しない場合、再び大入賞口を開放する。なお、大当たり時に何回大入賞口を開放するかは、大当たりの確率とともに、遊技機の仕様として適宜に定められている。 When it is determined as a big hit as described above, the solenoid of the character apparatus is driven to open the big winning opening, and a big hit gaming operation in which the gaming ball can win to the big winning opening is performed. Then, when the game ball sensor detects the winning of the game ball to the special winning opening, the game balls for the predetermined number of payouts are paid out each time a prize is made. When it is detected that a predetermined number or more of game balls have won in the special winning opening, the special winning opening is closed once, but if the opening of the special winning opening does not reach a predetermined number of times, the special winning opening is opened again. In addition, how many times the big winning opening is opened at the time of the big hit is appropriately determined as the specification of the gaming machine, together with the probability of the big hit.
一方、回胴式遊技機の場合、遊技機制御用マイクロコンピュータ110に書き込まれている遊技機制御用プログラム等による遊技動作の一例は、次のようなものになる。
On the other hand, in the case of the roll-to-roll type gaming machine, an example of the gaming operation by the gaming machine control program or the like written in the gaming
メダル投入口から遊技メダルが投入されると、これを遊技メダル投入センサによって検知する。1回の遊技で投入できる最大枚数よりも多くの遊技メダルが投入された場合、超過した遊技メダルは内部に貯留され、その貯留枚数を更新する。なお、遊技メダルが投入されるのではなく、投入ボタンが操作された場合、それは貯留された遊技メダルが投入されたものとみなし、貯留数を減じて、投入数を加算する。 When a game medal is inserted from the medal insertion slot, this is detected by the game medal insertion sensor. When more game medals are inserted than the maximum number that can be inserted in one game, the excess game medals are stored internally, and the stored number is updated. If the game medal is not inserted but the insertion button is operated, it is regarded that the stored game medal is inserted, the storage number is reduced, and the insertion number is added.
回胴回転装置のスタートレバーが操作されたのを検知すると、スタートレバー操作を検知したタイミングで乱数を取得し、その乱数の値によって、回胴が停止したときに、どの図柄を揃えてもよいか決定する。この処理を回胴式遊技機の内部抽選と呼ぶ。ここで、ある図柄について揃えてもよいと決定した場合、その図柄について「フラグを立てる」と表現する。次いで、ステッピングモータのパルスを出力することにより、回胴回転装置を制御する。 When it is detected that the start lever of the rotating drum rotation device is operated, a random number is acquired at the timing when the operation of the start lever is detected, and any pattern may be aligned when the rotating drum is stopped by the value of the random number. Decide. This process is called an internal lottery of the roll-type game machine. Here, when it is determined that alignment may be made for a certain symbol, it is expressed as "setting a flag" for that symbol. Then, by controlling the stepping motor pulse, the rotating drum rotation device is controlled.
そして、停止ボタンが操作されたことを検知すると、回胴回転装置によって回転していた回胴を停止させるのであるが、このとき、回転している回胴の停止位置近くの図柄が、フラグの立った図柄である場合は、その図柄が停止位置に揃って止まるように回胴回転装置を制御し、フラグの立った図柄が停止位置近くにない場合は、特定の図柄が停止位置に揃わないように回胴回転装置を制御する。つまり、回胴式遊技機で図柄が揃うのは、回胴式遊技機の内部抽選によって特定の図柄についてフラグが立ち、かつ、遊技者が停止ボタンをその図柄が停止位置に差し掛かったタイミングで操作した場合に限られる。 Then, when it is detected that the stop button has been operated, the rotating drum which has been rotated is stopped by the rotating drum rotating device, and at this time, the design near the stop position of the rotating rotating drum is the flag If it is a standing symbol, control the spinning machine so that the symbol is aligned with the stop position and stop. If the symbolized flag is not near the stop position, the specific symbol does not align with the stop position. To control the torso rotator. That is, the symbols are aligned on the revolving type game machine because the flag is set for a specific symbol by the internal lottery of the revolving type game machine, and the player operates the stop button at the timing when the symbol reaches the stop position. It is limited to
停止位置に図柄が揃った場合、揃った図柄に応じた枚数の遊技メダルを、払出装置から払い出すか、又は、貯留数をその分増加させる。 When the symbols are aligned at the stop position, game medals of the number corresponding to the aligned symbols are paid out from the payout device, or the number of storages is increased accordingly.
このように、ぱちんこ式遊技機および回胴式遊技機の何れにおいても、遊技機制御用マイクロコンピュータ110に書き込まれている遊技機制御用プログラム等によって、遊技状態の遷移の制御、及び、各遊技状態における遊技メダル等の投入と払い出しの制御を全て行っている。したがって、遊技機の開発段階で、遊技機制御用プログラム等のデバッグ作業は重要であり、デバッグ作業を効率良く行えるデバッグシステム1が望まれる。
As described above, in both the pachinko-type gaming machine and the drum-type gaming machine, the control of the transition of the gaming state and the respective gaming states by the gaming machine control program etc. written in the gaming
また、デバッグ作業においては、複数の機種を同時に実射試験してデータ収集している場合や、同一機種でも異なるプログラムで実射試験を行っている場合もあるので、試作機をグループ分けして管理すれば、作業効率を高めることができる。図1においては、第1遊技機10Aと第2遊技機10Bをグループ番号01(グループID:01)、第3遊技機10Cをグループ番号02(グループID:02)、…として、デバッグ制御用PC20が管理している。
Also, in the debugging work, there are cases where multiple models are simultaneously shot-tested and data are collected, and even if the same model is tested using different programs, the prototypes are divided into groups. If managed, work efficiency can be improved. In FIG. 1, with the
次に、デバッグシステム1における遊技機制御用マイクロコンピュータ110および中継装置30の詳細機能を説明する。図2は、遊技機制御用マイクロコンピュータ110および中継装置30の概略構成である。
Next, the detailed functions of the gaming
遊技機制御用マイクロコンピュータ110は、デバッグ作業に適した構造を備えるカスタムチップであり、出荷品に搭載する量産チップではないが、量産チップと同様、その内部には、少なくとも、CPU部111、ROM部112、RAM部113、内部バス114、外部バスインターフェース115、通信制御部116、チップID記憶部117を備えたワンチップ構造である。量産チップである通常の遊技機制御用マイクロコンピュータ110においては、CPU部111が、ROM部112に記憶されている遊技機制御用プログラムと参照用のデータに基づいて、ぱちんこ遊技を進行する制御を行う。また、RAM部113は、遊技進行に伴ってCPU部111が抽出した乱数値などの一時的な記憶情報を書き込むワークメモリとして用いられる。さらに、遊技機制御用マイクロコンピュータ110には、量産チップには無い機能(後に詳述)として、内部バス監視部118およびバス条件記憶部119を設けてある。
The gaming
通信制御部116は、遊技機制御用マイクロコンピュータ110のセキュリティ管理を担うもので、接続された外部装置が適正な認証条件を満たす場合に動作し、セキュリティ認証をクリアした外部装置からの指令のみを受け付け、チップID記憶部117に記憶されている当該遊技機制御用マイクロコンピュータ110に付されたチップIDや、ROM部112に記憶された遊技機制御用プログラム等を読み出して、外部装置へ出力する。
The
しかして、遊技機制御用マイクロコンピュータ110が備えるROM部112は、上記通信制御部116の制御により、遊技機制御用プログラム等を上書きすることが可能である。すなわち、ROM部112には、電源が断たれても記憶内容を失わない不揮発性で、且つ記憶内容を電気的に書き換えることが可能なEEPROM等を用いるものとし、通信制御部116には、既にROM部112に遊技機制御用プログラム等が書き込まれていても、遊技機制御用プログラム等で上書きさせる機能を持たせておくのである。
Thus, the
かくすれば、セキュリティ認証をクリアした外部装置より、ROM部112への書き込み指示と書き込み内容(上書きするための遊技機制御用プログラム等)を通信制御部116へ入力することで、ROM部112を更新された遊技機制御用プログラム等で上書きすることができるのである。なお、通信制御部116は、ROM部112に遊技機制御用プログラム等を上書きするに際して、先ずCPU部111を休止状態にしておく。書き換え中のROM部112にCPU部111がアクセスしないようにするためである。
In this way, the
一方、中継装置30は、少なくとも、CPU部31、メモリ部32、内部バス33、第1通信制御部34、第2通信制御部35、識別番号設定部36、グループID記憶部37、表示部38を備えている。中継装置30の第1通信制御部34は、ネットワーク40を介してデバッグ制御用PC20と接続され、デバッグ制御用PC20からの指令や遊技機制御用プログラム等を受信し、デバッグ制御用PC20から求められた収集データ(遊技機10の実射試験で収集されたデータ)を遊技機制御用マイクロコンピュータ110より取得してデバッグ制御用PC20へ送信する。また、デバッグ制御用PC20から供給される遊技機制御用プログラム等は、記憶手段としてのメモリ部32に記憶される。
On the other hand, the
中継装置30の第2通信制御部35は、遊技機制御用マイクロコンピュータ110の通信制御部116と通信可能な通信制御手段であり、コネクタ付ケーブル200を介して遊技機制御用マイクロコンピュータ110と接続される。しかして、遊技機制御用マイクロコンピュータ100の通信制御部116は、接続された外部装置としての中継装置30との通信を開始するに際して、所定の手順でセキュリティ認証を行い、認証条件を満たしていると判定されたときにのみ、中継装置30との通信を開始する。なお、デバッグシステム1に用いる中継装置30が適正な装置であれば、第2通信制御部35の機能によって、遊技機制御用マイクロコンピュータ110の通信制御部116と相互認証が可能である。
The second
遊技機制御用マイクロコンピュータ110の通信制御部116を介して接続された中継装置30と通信が確立されると、通信制御部116は、中継装置30からの指示を受け付ける。例えば、デバッグ制御用PC20からのダウンロード開始コマンドを中継装置30が受信すると、中継装置30は、デバッグ制御用PC20から新しい遊技機制御用プログラム等をダウンロードしてメモリ部32に格納し、遊技機制御用マイクロコンピュータ110の通信制御部116にプログラム書き換え指示を出すので、通信制御部116はプログラム書き換え指示に基づいた動作を行う。
When communication is established with the
遊技機制御用マイクロコンピュータ110のCPU部111がROM部112に格納された遊技機制御用プログラム等を読み込んで実射試験を行っているときに、通信制御部116が中継装置30からのプログラム書き換え指示を受けると、通信制御部116はCPU部111を休止状態にする。次いで、通信制御部116は、中継装置30のメモリ部32に格納されている遊技機制御用プログラム等を受信し、この受信した遊技機制御用プログラム等でROM部112を上書きする。中継装置30から受信した遊技機制御用プログラム等でROM部112を上書きした後、通信制御部116はCPU部111にリセット信号を送出してCPU部111の休止状態を解除する。これにより、CPU部111は、ROM部112に格納された新しい遊技機制御用プログラム等を最初から読み込んで実行することとなる。
When the
すなわち、バグ取りなどで更新した遊技機制御用プログラム等を中継装置30のメモリ部32に記憶させておけば、遊技機制御用マイクロコンピュータ110のROM部112に、更新した遊技機制御用プログラム等が上書きされるので、以後は更新された遊技機制御用プログラム等での実射試験を行うことが可能となる。よって、プログラム等を更新する度に、わざわざ主制御基板100から遊技機制御用マイクロコンピュータ110を取り外して、更新プログラムを書き込んだ別の遊技機制御用マイクロコンピュータ110を取り付ける作業が不要となり、非常に効率良くデバッグ作業を行うことができる。
That is, if the gaming machine control program etc. updated by picking up bugs etc. are stored in the
上述したデバッグシステム1において、更新した遊技機制御用プログラム等を遊技機制御用マイクロコンピュータ110のROM部112に上書きさせるタイミングは特に限定されない。例えば、デバッグ制御用PC20から中継装置30に対して遊技機制御用プログラム等が送信され、これをメモリ部32に格納したタイミングで、遊技機制御用マイクロコンピュータ110の通信制御部116にプログラム書き換え指示を出すようにしても良いし、実射試験のデータ収集が所定条件を達成したタイミング(例えば、中継装置30が収集データをデバッグ制御用PC20へ送信したタイミング)で行わせるようにしても良い。
In the
また、デバッグ制御用PC20から中継装置30に対して遊技機制御用プログラム等を送信する場合、具体的にはバイナリーコードが記録されたファイルを指定して行うのであるが、このとき、遊技機制御用プログラム等のバイナリーコードだけでなく、そのファイル名も中継装置30に対して送信してもよい。そのファイル名は、機種名やバージョン・ナンバー等を含むことで、遊技機制御用プログラム等の種別を一意に示すプログラム識別情報として用いることができる。したがって、通信制御部116がROM部112に遊技機制御用プログラム等を書き込むときには、併せて、そのファイル名をROM部112の特定位置へ書き込むようにしておけば、ファイル名を読み出すことで、ROM部112に現在書き込まれている遊技機制御用プログラム等の種別を特定できる。
Further, when transmitting a game machine control program etc. from the
かくするために、ROM部112の特定箇所(特定アドレス位置)には、プログラム識別情報を書き込むプログラム識別情報記憶領域を予め設定しておき、通信制御部116がROM部112に遊技機制御用プログラム等を上書きするときには、併せて中継装置30より取得したファイル名をROM部112のプログラム識別情報記憶領域に書き込むようにする。そして、中継装置30からプログラム識別情報読み出し命令を受けたとき、通信制御部116は、ROM部112のプログラム識別情報記憶領域からファイル名を読み出して中継装置30へ送る。これにより、中継装置30経由でデバッグ制御用PC20は、現在のROM部112に書き込まれている遊技機制御用プログラム等の種別を容易に確認することが可能となる。なお、プログラム識別情報としてのファイル名は、遊技機制御用プログラム等のバイナリーコード中の所定箇所(所定アドレス位置)に含ませておき、ROM部112に書き込んだバイナリーコードの中からファイル名を読み出すようにしても良い。
For this purpose, a program identification information storage area in which program identification information is written is set in advance at a specific location (specific address position) of the
さらに、適正な外部装置として遊技機制御用マイクロコンピュータ110と接続された中継装置30は、接続中の遊技機制御用マイクロコンピュータ110のチップID記憶部117よりチップIDを取得することができる。そして、接続中の遊技機制御用マイクロコンピュータ110から取得したチップIDは、デバッグ制御用PC20へ送信され、これを受けたデバッグ制御用PC20では、チップIDの送信元である中継装置30に接続されている遊技機10と紐付けてチップIDを管理する。
Furthermore, the
その後、実射試験の再開時などに遊技機10が起動して、遊技機用マイクロコンピュータ110と中継装置30とのセキュリティ認証を行った後に、中継装置30から遊技機制御用マイクロコンピュータ110に対してチップIDを問い合わせるので、遊技機制御用マイクロコンピュータ110から取得したチップIDが、中継装置30からデバッグ制御用PC20へ送信されることとなる。したがって、デバッグ制御用PC20は、中継装置30から新たに取得したチップID(今回接続時のチップID)と、既に記憶しているチップID(前回接続時のチップID)とを比較することができる。
After that, the gaming machine 10 is activated at the time of resumption of the shooting test, etc., and after the security authentication between the
前回接続時のチップIDと今回接続時のチップIDとが異なる場合、中継装置30が遊技機10に前回接続されたときから遊技機10に今回接続されるまでの間に、遊技機10本体が交換されたか、あるいは、遊技機10自体は同一であるものの主制御基板100や遊技機制御用マイクロコンピュータ110が交換された可能性がある。このように、前回接続時のチップIDと今回接続時のチップIDとが異なる場合には、デバッグ制御用PC20にて警告動作を行う。デバッグ制御用PC20による警告動作は特に限定されないが、例えば、画面に注意喚起の表示を行ったり、警告音を出力したりして、当該中継装置30に接続された遊技機10への確認を作業者に促すことができれば良い。
If the chip ID at the time of the previous connection and the chip ID at the time of the current connection are different, the gaming machine 10 main body is between the time the
例えば、実射試験の終了に伴って試作機を交換した後、新たに試験を開始するときであれば、前回接続時のチップIDと今回接続時のチップIDの不一致が検出されるのは当然である。しかしながら、実射試験の継続中にチップIDの不一致が検出されるということは、本来なら交換対象ではなかった遊技機10本体や遊技機制御用マイクロコンピュータ110が交換されてしまった可能性がある。デバッグ制御用PC20では、前回まで中継装置30に接続されていた遊技機10の遊技機制御用マイクロコンピュータ110に適合した更新プログラム等を中継装置30へ供給するので、他機種の遊技機10や遊技機制御用マイクロコンピュータ110に変更されたまま、中継装置30から遊技機制御用プログラム等を遊技機制御用マイクロコンピュータ110に供給してROM部112に上書きさせると、異常動作によって試作機が損壊する危険性がある。
For example, if it is time to start a new test after replacing the prototype with the end of the live shot test, it is natural that a mismatch between the chip ID at the previous connection and the chip ID at the current connection is detected. It is. However, the fact that a chip ID mismatch is detected during the live shooting test may mean that the gaming machine 10 main body and the gaming
したがって、前回接続時のチップIDと今回接続時のチップIDとが異なる場合、デバッグ制御用PC20で警告動作が行われることから、デバッグ制御用PC20を操作して各遊技機10に遊技機制御用プログラム等を送信する作業者は、不適正な遊技機10本体の交換、あるいは主制御基板100や遊技機制御用マイクロコンピュータ110の交換が行われた可能性を察知することができる。よって、中継装置30に接続された遊技機10の遊技機制御用マイクロコンピュータ110に適合しない遊技機制御用プログラム等を書き込ませてしまうような作業ミスを効果的に抑止できる。なお、新たな実射試験を開始する場合など、中継装置30に接続されている遊技機10本体、主制御基板100あるいは遊技機制御用マイクロコンピュータ110が交換されていることが分かっていれば、今回接続時のチップIDを前回接続時のチップIDに上書きして、今回接続時のチップIDの送信元である中継装置30に接続されている遊技機10と紐付けて管理できるようにすれば良い。
Therefore, when the chip ID in the previous connection and the chip ID in the current connection are different, a warning operation is performed in the
上述したデバッグシステム1においては、前回接続時のチップID管理、今回接続時のチップIDとの比較、およびチップID不一致検出時の警告動作を全てデバッグ制御用PC20にて行うものとしたが、これらの機能を中継装置30に持たせるようにしても良い。例えば、中継装置30に取得ID記憶部39(図2中、破線で示す)を設け、最初に接続された遊技機10の遊技機制御用マイクロコンピュータ10より取得したチップIDを記憶しておき、これを前回接続時のチップIDとして用いる。次に接続された遊技機10の遊技機制御用マイクロコンピュータ10より取得したチップIDを今回接続時のチップIDとして、前回接続時のチップID(取得ID記憶部39に記憶されているチップID)と比較するのである。
In the above-described
中継装置30による比較結果として、両チップIDが一致していれば、そのまま実射試験を開始させるが、両チップIDが不一致であると判断した場合には、中継装置30が警告動作を行う。警告動作として、例えば、中継装置30の表示部38によって警告表示を行ったり、中継装置30からデバッグ制御用PC20へチップID不一致検出信号を送信して、デバッグ制御用PC20の画面に注意喚起の表示を行ったりする。このような警告動作を行うことで、作業者に対して該当中継装置30が接続されている遊技機10への確認を促すことができる。検出されたチップIDの不一致が、別機種での実射試験開始に伴うものであった場合には、中継装置30に設けた警告解除スイッチの操作、あるいはデバッグ制御用PC20から中継装置30へ警告解除信号を送信することによって、今回接続時のチップIDで取得ID記憶部39を上書きさせる。
As a comparison result by the
なお、中継装置30の電源を落としたり、リセットされたりした場合でも、取得ID記憶部39の記憶内容が保持されるように、取得ID記憶部39を不揮発性のメモリで構成したり、バックアップ電源によって取得ID記憶部39への給電状態を保持できるようにしておく必要がある。また、実射試験の終了に伴って、中継装置30を別機種に接続するとき、取得ID記憶部39に記憶されている前回接続時のチップIDを削除するリセット操作を行えるようにしても良い。かくすれば、別機種での実射試験を開始するときに、中継装置30で警告動作が行われるような煩わしさを無くすことができる。
In addition, even if the
上述したように、遊技機10における遊技機制御用マイクロコンピュータ110のROM部112に新しい遊技機制御用プログラム等を上書きさせる機能を備えた中継装置30は、各遊技機10と1対1で接続されると共に、デバッグ制御用PC20と接続される。したがって、デバッグ制御用PC20から複数の中継装置30へ同時に遊技機制御用プログラム等の書き換えを指示することで、該当する中継装置30と接続された各遊技機10の遊技機制御用マイクロコンピュータ110に上書きさせる遊技機制御用プログラム等をまとめて更新することが可能となり、更なるデバッグ作業の効率化を期せる。
As described above, the
また、各中継装置30には識別番号設定部36を設けてあり、この識別番号設定部36によって自機の識別番号を設定することができる。この識別番号設定部36は、人為的操作によって任意の番号に設定できるものである。各中継装置30に対して設定された識別番号はデバッグ制御用PC20に送信され、デバッグ制御用PC20では、中継装置30の識別番号と、この中継装置30が接続されている遊技機10の固有情報(試作機の番号や機種など)とを紐付けて管理することで、各中継装置30へ送信する遊技機制御用プログラム等を適切に判断できる。なお、1台のデバッグ制御用PC20が管理している中継装置30の中に、識別番号が重複しているものがあれば、ウォーニング表示などで警告し、該当する中継装置30の識別番号設定部36による識別番号の再設定を作業者に促すようにしても良い。
Further, each
ただし、中継装置30に設定した識別番号は、中継装置30の電源を落としたり、リセットされたりした後にも、同じ設定値として継続利用できる必要がある。かくするために、例えば、中継装置30に設ける識別番号設定部36は、設定内容を保持できるロータリースイッチやディップスイッチ等で構成し、中継装置30の起動時に識別番号設定部36の設定内容を読み込むことで自機の識別番号を特定できるようにしても良いし、入力された識別番号を不揮発性のメモリ、或いは電池や蓄電コンデンサ等でバックアップされたメモリに記憶しておくようにしても良い。
However, the identification number set in the
前述したように、デバッグ制御用PC20は、複数の遊技機10を一括りのグループとして管理することで、効率良くデバッグ作業を行うことが可能となる。そこで、各遊技機10に1対1で接続されている中継装置30に設定された識別番号を用いて、デバッグ制御用PC20によるグループ管理を行うものとする。
As described above, the
例えば、同一機種の試作機である複数台の遊技機10に対応する中継装置30の識別番号を選定して、一つのグループを形成する。グループ管理を行うことができれば、プログラム更新対象の中継装置30を逐一指定しなくても、グループを指定して遊技機制御用プログラム等の送信を一斉に行うことが可能となる。実射試験においては、全ての遊技機が同一機種の場合だけでなく、異なる複数の機種を同時に試験したり、同一の機種であっても大当り確率の異なるバージョンを同時に試験したりする場合があるので、同じ遊技機制御用プログラムを適用できる遊技機群をグループとして括り、遊技機制御用プログラム等の更新操作を行うときには、該当するグループを操作対象とすることで、遊技機制御用プログラム等の更新操作を簡便にすると共に、操作ミスを低減させることができる。
For example, identification numbers of
グループ管理を可能にするために、デバッグ制御用PC20は、グループ識別情報としてのグループIDを各グループに設定し、該当するグループの各中継装置30に対して自機が属するグループのグループIDを送信する。なお、グループIDは数値であってもよいし、数値と記号の組合せであってもよい。そして、デバッグ制御用PC20からグループIDを受信した中継装置30は、グループ識別情報記憶手段としてのグループID記憶部37にグループIDを記憶し、記憶したグループIDに対応した表示を表示部38に対して行う。なお、グループID記憶部37の機能は、メモリ部32によって実現するようにしても構わない。
To enable group management, the
表示部38は、グループIDに対応した表示を行うことができれば、どのような表示機能のものでも構わない。例えば、数桁の番号数値からなるグループIDをそのまま表示する場合には、数桁のセグメント表示器でも良いし、低画素の液晶表示器を用いることもできる。また、グループIDを特定の色彩に対応させておく場合には、それらの色彩表示を行える多色発光パネルやカラー液晶表示パネル等を表示部38として用いることができる。なお、グループIDを色彩に対応させる場合、各グループIDに対応させた色彩が視認困難な類似色とならないように注意しておく必要がある。
The
このように、各中継装置30に設けた表示部38によってグループIDを確認することができれば、デバッグ制御用PC20で設定したグループ割り当てを、各遊技機10に接続された中継装置30の表示部38で実際に確認できるので、異なる機種が同一のグループに含まれるような作業ミスを効率的に回避できるという利点がある。特に、実射試験に供される遊技機10とデバッグ制御用PC20とが別の部屋にあったり、同一の部屋にあっても少し離れていたりして、各遊技機10の外観とデバッグ制御用PC20のグループ設定画面とを同時に目視することができない場合、各遊技機10の外観と各中継装置30における表示部38のグループ表示とからグループ分けの適否を確認できるメリットは非常に大きい。
As described above, if the group ID can be confirmed by the
次に、遊技機制御用マイクロコンピュータ110に設けた内部バス監視部118とバス条件記憶部119について説明する。
Next, the internal
内部バス監視部118は、内部バス114がバス条件記憶部119に記憶されている条件(CPU部111の動作を停止させる内部バス114の状態として定められた条件)を満たした場合に、CPU部111を休止状態にする。なお、バス条件記憶部119に記憶されているバス条件が成立し、CPU部111が休止状態になった状態をブレーク状態とよび、CPU部111がプログラムを逐次実行する状態をRUN状態とよぶ。また、ブレーク状態のきっかけとなる条件(内部バス114の状態が、バス条件記憶部119に記憶するバス条件と一致すること)をブレーク条件とよぶ。
When the
バス条件記憶部119に記憶するバス条件は、CPU部111の動作に伴う内部バス114の状態であり、少なくともアドレスバス、データバス、リード/ライト、命令フェッチの各信号の状態を組み合わせて定義する。例えば、アドレスバス=0100h、データバス=12h、リード/ライト=ライト、命令フェッチ=指定せず、という組合せの場合、バス条件は「0100h番地に12hというデータをライトする」という条件になる。また、アドレスバス=8000h、データバス=指定せず、リード/ライト=リード、命令フェッチ=命令フェッチ、という組合せの場合、バス条件は「8000h番地の命令を命令フェッチする」という条件となる。なお、命令フェッチとは、次に実行するプログラムとしてデータをリードするというCPU部111の動作である。
The bus condition stored in the bus
ブレーク条件を任意に設定できるバス条件は、デバッグ制御用PC20にて設定し、中継装置30に送信される。このとき、送信先とする中継装置30は、識別番号を指定して送信することもできるし、グループIDを指定して複数の中継装置30に送信することもできる。そして、デバッグ制御用PC20からバス条件を受信した中継装置30は、そのバス条件を遊技機制御用マイクロコンピュータ110に送信する。遊技機制御用マイクロコンピュータ110の通信制御部116は、中継装置30から受信したバス条件をバス条件記憶部119に記憶させる。これにより、内部バス監視部118は、内部バス114の状態がバス条件記憶部119に記憶されたバス条件と一致するブレーク条件の成立を監視できるのである。
The bus conditions for which break conditions can be arbitrarily set are set by the
上記のようにして、遊技機制御用マイクロコンピュータ110の内部バス監視部118によってブレーク条件の成立が監視されている間、中継装置30は、遊技機制御用マイクロコンピュータ110に対してCPU部111の状態(RUN状態なのか、ブレーク状態なのか)を問い合わせる。それに対する返答から得られたCPU部111の状態を、中継装置30はデバッグ制御用PC20へ通知する。内部バス監視部118およびバス条件記憶部119によるバス監視は、遊技機制御用プログラム等のデバッグ作業にて確認が必要なブレークポイントを任意に設定し、ブレークポイントでCPU部111をブレーク状態とするのに有用である。
As described above, while the establishment of the break condition is monitored by the internal
なお、ブレーク条件はいつ成立するか分からないので、中継装置30から遊技機制御用マイクロコンピュータ110へのCPU状態問合せは、比較的短い時間間隔で定期的に行うことが望ましい。そして、ブレーク条件の成立可否を定期的に行えば、デバッグ制御用PC20は、中継装置30を介して接続している全ての遊技機10の状態(CPU部111の状態)を監視することができる。
Since it is not known when the break condition is satisfied, it is desirable that the CPU state inquiry from the
また、着目するブレークポイントが複数有る場合を考慮して、バス条件記憶部119は、複数のバス条件を記憶可能とし、内部バス監視部118は、バス条件記憶部119に記憶されたバス条件の何れか一つと内部バス114のバス状態とが一致すれば、ブレーク条件の成立と判断し、CPU部111をブレーク状態とするようにしても良い。かくする場合には、デバッグ制御用PC20からブレーク条件判定用バス条件を送出する際に、「第何番目のブレーク条件」のようにブレーク条件を識別する情報とともに送出して、各バス条件を識別できるようにバス条件記憶部119に記憶させておき、遊技機制御用マイクロコンピュータ110が中継装置30からの問合せに対して、ブレーク状態であると返答する場合には、「第何番目のブレーク条件によるブレーク状態」のように、ブレーク条件を識別できる情報とともに返答すれば良い。このようにして、様々なバス条件を任意に設定して多様なブレーク条件でのバス監視を行えば、発生頻度の非常に低いバグについても、その条件を特定する手がかりを得ることができる。
Further, in consideration of the case where there are a plurality of breakpoints to be focused on, the bus
上述した内部バス監視部118とバス条件記憶部119による内部バス114の状態監視は、バス条件記憶部119にバス条件が設定されている限り継続的に行うものに限らず、予め定めたバス監視条件が満たされている間に限って行うようにしても良い。例えば、バス監視条件として、中継装置30から遊技機制御用マイクロコンピュータ110へのCPU状態問い合わせを定期的に受けている期間を設定すると、中継装置30が遊技機10に接続されていない場合には、中継装置30からのCPU状態問い合わせが所定期間を過ぎても入力されないので、バス監視条件が満たされず、仮に、内部バス監視部118がブレーク条件の成立を検出しても、CPU部111をブレーク状態にすることはない。かくすれば、遊技機制御用マイクロコンピュータ110のバス条件記憶部119にバス条件を記憶させた状態で、デバッグ制御用PC20や中継装置30を外し、遊技機10をスタンドアローンで動作させた場合に、ブレーク条件が成立してCPU部111が休止状態になってしまうことを防げるので、遊技機10の動作が急に停止して作業員らを困惑させるようなことが無い。
The monitoring of the state of the
なお、バス監視条件は任意に設定して構わないので、スタンドアローンで稼動させている遊技機10に対して適用できるバス監視条件(例えば、実射試験の開始から所定時間が経過するまでの期間、中継装置30からバス監視終了命令を受けるまでの期間など)を設定しておけば、遊技機10に中継装置30が接続されていないときでも、内部バス監視部118とバス条件記憶部119による内部バス114の状態監視が実行され、ブレーク条件の成立によってCPU部111が休止状態となる。また、遊技機10の本体側にバス監視モード切替スイッチ等を設けておき、内部バス114に対する状態監視の実行・停止がバス監視条件に基づいて切り替わる条件付き監視モードと、バス監視条件に関係なく常時バス監視を実行する常時監視モードと、バス監視条件に関係なくバス監視を行わない監視停止モードと、を切り替えられるようにしても良い。
Since the bus monitoring condition may be set arbitrarily, the bus monitoring condition applicable to the gaming machine 10 operated in a stand-alone mode (for example, a period from the start of the shooting test to the lapse of a predetermined time) If the
以上、本発明に係るデバッグシステムの実施形態を添付図面に基づいて説明したが、本発明は、この実施形態に限定されるものではなく、特許請求の範囲に記載の構成を変更しない範囲で、公知既存の等価な技術手段を転用することにより実施しても構わない。 As mentioned above, although the embodiment of the debugging system concerning the present invention was described based on an accompanying drawing, the present invention is not limited to this embodiment, In the range which does not change the composition as described in a claim, You may implement by diverting the well-known existing equivalent technical means.
1 デバッグシステム
10 遊技機
100 主制御基板
110 遊技機制御用マイクロコンピュータ
111 CPU部
112 ROM部
113 RAM部
116 通信制御部
200 コネクタ付ケーブル
20 デバッグ制御用PC
30 中継装置
32 メモリ部
35 第2通信制御部
36 識別番号設定部
40 ネットワーク
DESCRIPTION OF
30
Claims (14)
前記中継装置は、少なくとも、前記デバッグ装置から供給される遊技機制御用のプログラムやデータを記憶するメモリ部と、前記遊技機制御用マイクロコンピュータの通信制御部と通信可能な通信制御手段と、を備え、
前記遊技機制御用マイクロコンピュータは、少なくとも、遊技機制御用のプログラムやデータを読み出して実行するCPU部と、遊技機制御用のプログラムやデータを書き換え可能に記憶するROM部と、前記中継装置との通信が可能で、適正な中継装置からの指令によりROM部の内容を書き換え可能な通信制御部と、を備え、
前記デバッグ装置から供給されて中継装置のメモリ部に記憶された遊技機制御用のプログラムやデータを、前記遊技機制御用マイクロコンピュータのROM部に上書きさせ、上書きされた遊技機制御用のプログラムやデータをCPU部が読み出して実行するようにしたことを特徴とするデバッグシステム。 A microcomputer for gaming machine control provided on a main control board for main control of a gaming machine, and a debugging operation for removing a bug included in a program or data used for the gaming machine control microcomputer to perform gaming machine control A debugging system comprising: a debugging device; and a relay device connected between the gaming machine control microcomputer and the debugging device,
The relay device comprises at least a memory unit for storing a program or data for controlling a gaming machine supplied from the debugging device, and communication control means capable of communicating with a communication control unit of the microcomputer for controlling the gaming machine.
The gaming machine control microcomputer communicates at least a CPU unit that reads and executes a program or data for gaming machine control, a ROM unit that rewritably stores a program or data for gaming machine control, and the relay device. A communication control unit capable of rewriting the contents of the ROM unit according to an instruction from the appropriate relay device;
The program or data for gaming machine control supplied from the debugging device and stored in the memory unit of the relay device is overwritten on the ROM portion of the gaming machine control microcomputer, and the overwritten program or data for gaming machine control is stored in the CPU. A debugging system characterized in that the unit reads out and executes.
前記中継装置は、接続中の遊技機制御用マイクロコンピュータのチップID記憶部よりチップIDを取得してデバッグ装置へ送信し、
前記デバッグ装置は、チップIDの送信元である中継装置に接続されている遊技機と紐付けてチップIDを管理するようにしたことを特徴とする請求項1〜請求項3の何れか1項に記載のデバッグシステム。 The gaming machine control microcomputer includes a chip ID storage unit which fixedly stores a chip ID which is unique identification information of the game machine control microcomputer.
The relay device acquires the chip ID from the chip ID storage unit of the connected gaming machine control microcomputer, and transmits the chip ID to the debugging device.
4. The chip debugging apparatus according to claim 1, wherein the debugging apparatus manages the chip ID by associating it with a gaming machine connected to a relay apparatus that is a transmission source of the chip ID. The debugging system described in.
前記デバッグ装置は、中継装置より送信されてきたチップIDと、当該中継装置に接続されている遊技機と紐付けて管理しているチップIDとを比較し、一致しない場合には警告動作を行うようにしたことを特徴とする請求項4に記載のデバッグシステム。 The relay device acquires the chip ID from the chip ID storage unit of the connected microcomputer for controlling the gaming machine when the connected gaming machine is activated and becomes communicable with the microcomputer for controlling the gaming machine and debug device Send to
The debugging device compares the chip ID transmitted from the relay device with the chip ID managed in association with the gaming machine connected to the relay device, and performs a warning operation if they do not match. 5. The debugging system according to claim 4, characterized in that:
前記デバッグ装置は、複数の中継装置と接続可能とし、
前記デバッグ装置から複数の中継装置へ遊技機制御用のプログラムやデータを供給してメモリ部に記憶させることで、該当する中継装置と接続された各遊技機の遊技機制御用マイクロコンピュータに上書きさせる遊技機制御用のプログラムやデータをまとめて更新するようにしたことを特徴とする請求項1〜請求項5の何れか1項に記載のデバッグシステム。 The relay device is connected to the gaming machine control microcomputer in one gaming machine on a one-to-one basis.
The debugging device can be connected to a plurality of relay devices,
By supplying programs and data for controlling the gaming machine from the debugging device to the plurality of relay devices and storing them in the memory unit, the gaming machine control is made to overwrite on the gaming machine control microcomputer of each gaming machine connected with the corresponding relay device. The debugging system according to any one of claims 1 to 5, wherein programs and data for control are collectively updated.
前記デバッグ装置は、各中継装置の識別番号設定手段に設定されている識別番号によって、当該中継装置が接続されている遊技機を識別するようにしたことを特徴とする請求項6に記載のデバッグシステム。 The relay device is provided with identification number setting means capable of setting the identification number of the own device.
7. The debugging according to claim 6, wherein the debugging device identifies the gaming machine to which the relay device is connected by the identification number set in the identification number setting means of each relay device. system.
前記デバッグ装置よりグループ識別情報を受信した中継装置は、受信したグループ識別情報をグループ識別情報記憶手段に記憶するようにしたことを特徴とする請求項7に記載のデバッグシステム。 The debugging device sets group identification information by bundling one or more gaming machines, and transmits the group identification information to a relay device corresponding to each gaming machine of the group.
8. The debugging system according to claim 7, wherein the relay device receiving the group identification information from the debugging device stores the received group identification information in the group identification information storage means.
前記内部バスの状態がバス条件記憶部に記憶されたバス条件と一致するブレーク条件が成立すると、前記内部バス監視部はCPU部に働きかけて休止状態とするようにしたことを特徴とする請求項1〜請求項9の何れか1項に記載のデバッグシステム。 The gaming machine control microcomputer includes an internal bus monitoring unit that monitors the state of the internal bus, and a bus condition storage unit that stores bus conditions defined as the state of the internal bus that stops the operation of the CPU unit. Set up
When a break condition is established in which the state of the internal bus matches the bus condition stored in the bus condition storage unit, the internal bus monitoring unit acts on the CPU unit to put it into a paused state. The debugging system according to any one of claims 1 to 9.
前記内部バス監視部は、前記バス条件記憶部に記憶されたバス条件の何れか一つとバス状態とが一致すれば、ブレーク条件の成立と判断し、前記CPU部を休止状態とするようにしたことを特徴とする請求項11に記載のデバッグシステム。 The bus condition storage unit can store a plurality of bus conditions,
The internal bus monitoring unit determines that a break condition is satisfied, and puts the CPU unit into a paused state if any one of the bus conditions stored in the bus condition storage unit matches the bus state. The debugging system according to claim 11, characterized in that:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017076557A JP6879506B2 (en) | 2017-04-07 | 2017-04-07 | Debug system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017076557A JP6879506B2 (en) | 2017-04-07 | 2017-04-07 | Debug system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018175150A true JP2018175150A (en) | 2018-11-15 |
JP6879506B2 JP6879506B2 (en) | 2021-06-02 |
Family
ID=64280156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017076557A Active JP6879506B2 (en) | 2017-04-07 | 2017-04-07 | Debug system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6879506B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021118961A (en) * | 2021-05-19 | 2021-08-12 | 株式会社ユニバーサルエンターテインメント | Game machine |
JP2022177961A (en) * | 2021-05-19 | 2022-12-02 | 株式会社ユニバーサルエンターテインメント | game machine |
JP2022177960A (en) * | 2021-05-19 | 2022-12-02 | 株式会社ユニバーサルエンターテインメント | game machine |
-
2017
- 2017-04-07 JP JP2017076557A patent/JP6879506B2/en active Active
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2021118961A (en) * | 2021-05-19 | 2021-08-12 | 株式会社ユニバーサルエンターテインメント | Game machine |
JP7049509B2 (en) | 2021-05-19 | 2022-04-06 | 株式会社ユニバーサルエンターテインメント | Pachinko machine |
JP2022177961A (en) * | 2021-05-19 | 2022-12-02 | 株式会社ユニバーサルエンターテインメント | game machine |
JP2022177960A (en) * | 2021-05-19 | 2022-12-02 | 株式会社ユニバーサルエンターテインメント | game machine |
JP7356173B2 (en) | 2021-05-19 | 2023-10-04 | 株式会社ユニバーサルエンターテインメント | gaming machine |
JP7356172B2 (en) | 2021-05-19 | 2023-10-04 | 株式会社ユニバーサルエンターテインメント | gaming machine |
Also Published As
Publication number | Publication date |
---|---|
JP6879506B2 (en) | 2021-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6879505B2 (en) | Debug system | |
JP2018175150A (en) | Debugging system | |
JP6879500B2 (en) | Microcomputer for game machine control | |
JP5134589B2 (en) | Game machine | |
JP2009078036A (en) | Game machine | |
JP4867106B2 (en) | Game machine | |
JP2014213033A (en) | Pachinko game machine | |
JP2014213035A (en) | Pachinko game machine | |
JP4747458B2 (en) | Game machine | |
JP5380656B2 (en) | Game system | |
JP4747459B2 (en) | Game machine | |
JP7340356B2 (en) | game machine | |
JP2014213034A (en) | Pachinko game machine | |
JP5492262B2 (en) | Game machine | |
JP4374670B2 (en) | Game machine | |
JP2015027584A (en) | Pachinko game machine | |
JP5569566B2 (en) | Game machine | |
JP7123502B2 (en) | game machine | |
JP7214571B2 (en) | game machine | |
JP7123503B2 (en) | game machine | |
JP7200043B2 (en) | game machine | |
JP7114524B2 (en) | game machine | |
JP5141746B2 (en) | Game machine | |
JP4433221B2 (en) | Game machine | |
JP6605845B2 (en) | Game machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20191101 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200818 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200814 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201016 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210330 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210421 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6879506 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |