JP5443956B2 - In-circuit emulator adapter and in-circuit emulator - Google Patents

In-circuit emulator adapter and in-circuit emulator Download PDF

Info

Publication number
JP5443956B2
JP5443956B2 JP2009265359A JP2009265359A JP5443956B2 JP 5443956 B2 JP5443956 B2 JP 5443956B2 JP 2009265359 A JP2009265359 A JP 2009265359A JP 2009265359 A JP2009265359 A JP 2009265359A JP 5443956 B2 JP5443956 B2 JP 5443956B2
Authority
JP
Japan
Prior art keywords
circuit
cpu core
circuit emulator
emulator
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009265359A
Other languages
Japanese (ja)
Other versions
JP2011108182A (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 JP2009265359A priority Critical patent/JP5443956B2/en
Publication of JP2011108182A publication Critical patent/JP2011108182A/en
Application granted granted Critical
Publication of JP5443956B2 publication Critical patent/JP5443956B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Description

本発明は、遊技機制御用マイクロコンピュータの遊技機向け付加回路の機能をエミュレートするインサーキットエミュレータ用アダプタと、このインサーキットエミュレータ用アダプタと遊技機制御用マイクロコンピュータのCPU(Central Processing Unit)コアの機能をエミュレートするCPUコア用インサーキットエミュレータで構成されるインサーキットエミュレータに関する。   The present invention relates to an adapter for an in-circuit emulator that emulates the function of an additional circuit for a gaming machine microcomputer, and the function of a CPU (Central Processing Unit) core of the in-circuit emulator adapter and the gaming machine control microcomputer. The present invention relates to an in-circuit emulator including an in-circuit emulator for a CPU core that emulates the above.

遊技機制御用マイクロコンピュータは、プログラムの改ざん等の不正行為を検出するために外部の照合機によって検査可能な構成でなければならない。このため、CPUコアは、従来から遊技機制御用マイクロコンピュータに搭載されているものを用いざるを得ない。   The gaming machine control microcomputer must be configured to be inspected by an external verification machine in order to detect fraudulent acts such as program tampering. For this reason, the CPU core that is conventionally mounted on the gaming machine control microcomputer must be used.

一方、遊技機の高機能化・高性能化に対応するために、遊技機制御用マイクロコンピュータには、ウオッチドックタイマ、乱数回路、FIFO(First In First Out)回路等の遊技機向け付加回路が搭載されるようになった。   On the other hand, in order to cope with higher functionality and higher performance of gaming machines, the gaming machine control microcomputer is equipped with additional circuits for gaming machines such as a watchdog timer, a random number circuit, and a FIFO (First In First Out) circuit. It came to be.

ここで、遊技機用のプログラムや遊技機のハードを開発する際には、遊技機制御用マイクロコンピュータの機能をエミュレートするインサーキットエミュレータ(以下、ICEという。)が用いられる。
ただし、様々な付加回路が搭載された遊技機制御用マイクロコンピュータごとにICEを開発するとICEのコストが高くなる。そこで、遊技機制御用マイクロコンピュータの機能をエミュレートするICEは、CPUコア用ICEと、遊技機向け付加回路の機能をエミュレートするICE用アダプタとで構成される(例えば、特許文献1参照)。
Here, when developing a game machine program or game machine hardware, an in-circuit emulator (hereinafter referred to as ICE) that emulates the function of the game machine control microcomputer is used.
However, if an ICE is developed for each gaming machine control microcomputer equipped with various additional circuits, the cost of the ICE increases. Therefore, the ICE that emulates the function of the gaming machine control microcomputer is composed of a CPU core ICE and an ICE adapter that emulates the function of the additional circuit for the gaming machine (see, for example, Patent Document 1).

特開2009−43209号公報JP 2009-43209 A

遊技機制御用マイクロコンピュータ用ICEは、プログラムの実行を停止している(ブレークしている)とき、CPUコア内の回路の内部状態を保存したまま、CPUコア内の所定のメモリやレジスタからデータを読みだすことができる。
しかし、アダプタに搭載されている遊技機向け付加回路の中には、ブレーク中にデータを読み出すと回路の内部状態が変化するものが含まれている。
例えば、受信用FIFO回路は、ブレーク中にデータを読み出すとリードポインタのポインタ値が変化する。特許文献1に開示されているICEは、ブレーク中にリードポインタのポインタ値を変化させずに、受信用FIFO回路に記憶されている複数のデータのうち最初に入力されたデータのみ受信用FIFO回路から読み出すことができる。けれども、このICEは、ブレーク中に、2番目以降に入力されたデータを受信用FIFO回路から読み出すことができない。
When the ICE for the microcomputer for gaming machine control is stopped (breaks), the data from the predetermined memory or register in the CPU core is saved while the internal state of the circuit in the CPU core is preserved. You can read it out.
However, some of the additional circuits for gaming machines mounted on the adapter change the internal state of the circuit when data is read during a break.
For example, when the receiving FIFO circuit reads data during a break, the pointer value of the read pointer changes. The ICE disclosed in Patent Document 1 does not change the pointer value of the read pointer during a break, and only the first input data among a plurality of data stored in the reception FIFO circuit is a reception FIFO circuit. Can be read from. However, this ICE cannot read out the second and subsequent input data from the reception FIFO circuit during the break.

本発明は、上記実情に鑑みてなされたものであり、ブレーク中に、アダプタに搭載されている遊技機向け付加回路の内部状態を保存したまま、その付加回路内の所定のメモリやレジスタからデータを読み出すことができる遊技機制御用マイクロコンピュータのためのインサーキットエミュレータ用アダプタとそれを用いたインサーキットエミュレータを提供することを目的とする。   The present invention has been made in view of the above circumstances, and during a break, data is stored from a predetermined memory or register in the additional circuit while preserving the internal state of the additional circuit for the gaming machine mounted on the adapter. It is an object of the present invention to provide an in-circuit emulator adapter for a microcomputer for gaming machine control capable of reading out and an in-circuit emulator using the same.

上記目的を達成するため、本発明に係るインサーキットエミュレータ用アダプタは、
CPUコアと遊技機向け付加回路で構成される遊技機制御用マイクロコンピュータの当該遊技機向け付加回路の機能をエミュレートするインサーキットエミュレータ用アダプタであって、
前記CPUコアの機能をエミュレートするCPUコア用インサーキットエミュレータが遊技機制御用プログラムの実行を停止していることを検出する停止検出手段と、
前記停止検出手段によって遊技機制御用プログラムの実行停止が検出されたことに応答して、前記遊技機向け付加回路の内部状態を保存したまま、前記遊技機向け付加回路に含まれる所定のメモリとレジスタに記憶されているデータが前記CPUコア用インサーキットエミュレータによって読み出されることを可能とする読出制御手段と、
を備えることを特徴とする。
In order to achieve the above object, an adapter for an in-circuit emulator according to the present invention is:
An adapter for an in-circuit emulator that emulates the function of the additional circuit for the gaming machine of the microcomputer for gaming machine control constituted by the CPU core and the additional circuit for the gaming machine,
Stop detection means for detecting that the in-circuit emulator for CPU core emulating the function of the CPU core stops execution of the game machine control program;
In response to the execution stop of the game machine control program being detected by the stop detection means, the predetermined memory and register included in the additional circuit for the gaming machine are stored while the internal state of the additional circuit for the gaming machine is preserved. Read control means for enabling the data stored in the CPU core in-circuit emulator to be read; and
It is characterized by providing.

好ましくは、前記停止検出手段は、前記遊技機制御用プログラムの実行を停止したときに前記CPUコア用インサーキットエミュレータから出力されるブレーク信号が入力されたことにより、遊技機制御用プログラムの実行停止を検出する。   Preferably, the stop detection unit detects a stop of execution of the game machine control program when a break signal output from the in-circuit emulator for CPU core when the execution of the game machine control program is stopped is input. To do.

好ましくは、前記遊技機向け付加回路は、生成された乱数値を乱数値レジスタに設定する乱数回路と、カウンタのカウンタ値が所定の値と一致するとタイムアウト信号を発生するウォッチドッグタイマと、受信した複数のデータを記憶する記憶部と当該記憶部から出力されるデータを指定するリードポインタとを含んでおり、当該記憶部から当該各データを受信した順番で出力する受信用FIFO回路とを有し、
前記読出制御手段は、前記遊技機制御用プログラムの実行停止が検出されたことに応答して、前記乱数回路と前記ウォッチドッグタイマの状態遷移を停止させ、前記CPUコア用インサーキットエミュレータによって前記乱数回路に含まれる乱数値レジスタと前記ウォッチドッグタイマに含まれるカウンタからそれぞれ乱数値とカウンタ値が読み出されることを可能とし、かつ、前記CPUコア用インサーキットエミュレータによって、前記リードポインタのポインタ値を保存して前記受信用FIFO回路に含まれる記憶部から記憶されている各データが読み出されることを可能にする。
Preferably, the additional circuit for a gaming machine has received a random number circuit that sets the generated random value in a random value register, a watchdog timer that generates a time-out signal when the counter value of the counter matches a predetermined value, and Including a storage unit for storing a plurality of data and a read pointer for designating data output from the storage unit, and a reception FIFO circuit for outputting the data from the storage unit in the order of reception. ,
The read control means stops the state transition of the random number circuit and the watchdog timer in response to detecting that the execution stop of the game machine control program is detected, and the random number circuit is executed by the CPU core in-circuit emulator. The random number value and the counter value can be read from the random value register included in the watchdog timer and the counter included in the watchdog timer, respectively, and the pointer value of the read pointer is stored by the in-circuit emulator for the CPU core. Thus, each data stored in the storage unit included in the reception FIFO circuit can be read out.

好ましくは、前記読出制御手段は、
前記CPUコア用インサーキットエミュレータに接続されるデータバスと、
前記CPUコア用インサーキットエミュレータに接続されるアドレスバスと、
を有し、
前記アドレスバスを送信されるアドレスに基づいて、前記乱数回路に含まれる乱数値レジスタに記憶されている乱数値又は前記ウォッチドッグタイマに含まれるカウンタに記憶されているカウンタ値又は前記受信用FIFO回路に含まれる記憶部に記憶されている各データを前記データバスに出力させる。
Preferably, the reading control means includes
A data bus connected to the CPU core in-circuit emulator;
An address bus connected to the CPU core in-circuit emulator;
Have
Based on an address transmitted through the address bus, a random value stored in a random value register included in the random number circuit, a counter value stored in a counter included in the watchdog timer, or the FIFO circuit for reception Each data stored in the storage unit included in is output to the data bus.

また、本発明に係るインサーキットエミュレータは、
CPUコアの機能をエミュレートするCPUコア用インサーキットエミュレータと遊技機向け付加回路の機能をエミュレートするインサーキットエミュレータ用アダプタとで構成されるインサーキットエミュレータであって、
前記CPUコア用インサーキットエミュレータは、遊技機制御用プログラムの実行を停止している間、ブレーク信号を出力するブレーク信号出力手段を備え、
前記インサーキットエミュレータ用アダプタは、
前記CPUコア用インサーキットエミュレータのブレーク信号出力手段によってブレーク信号が出力されていることに応答して、前記遊技機向け付加回路の内部状態を保存したまま、前記遊技機向け付加回路に含まれる所定のメモリとレジスタに記憶されているデータが前記CPUコア用インサーキットエミュレータによって読み出されることを可能とする読出制御手段と、
を備える。
The in-circuit emulator according to the present invention is
An in-circuit emulator comprising an in-circuit emulator for CPU core that emulates the function of a CPU core and an adapter for in-circuit emulator that emulates the function of an additional circuit for gaming machines,
The in-circuit emulator for the CPU core includes break signal output means for outputting a break signal while the execution of the game machine control program is stopped.
The in-circuit emulator adapter is
In response to the break signal being output by the break signal output means of the in-circuit emulator for CPU core, the internal state of the additional circuit for the gaming machine is stored and the predetermined circuit included in the additional circuit for the gaming machine is stored. Read control means for enabling the data stored in the memory and register of the CPU to be read by the in-circuit emulator for CPU core,
Is provided.

本発明によれば、遊技機制御用マイクロコンピュータ用ICEが、ブレーク中に、アダプタに搭載されている遊技機向け付加回路の内部状態を保存したまま、その付加回路内の所定のメモリやレジスタからデータを読み出すことができる。   According to the present invention, the microcomputer ICE for controlling the gaming machine controls the data from the predetermined memory or register in the additional circuit while the internal state of the additional circuit for the gaming machine mounted on the adapter is preserved during the break. Can be read out.

本発明の実施形態に係る遊技機制御用マイクロコンピュータのためのインサーキットエミュレータの構成の一例を示す図である。It is a figure which shows an example of a structure of the in-circuit emulator for the microcomputer for game machine control which concerns on embodiment of this invention. 本発明の実施形態に係る乱数回路の構成の一例を示す図である。It is a figure which shows an example of a structure of the random number circuit which concerns on embodiment of this invention. 本発明の実施形態に係るウォッチドッグタイマの構成の一例を示す図である。It is a figure which shows an example of a structure of the watchdog timer which concerns on embodiment of this invention. 本発明の実施形態に係る受信用FIFO回路の構成の第1の例を示す図である。It is a figure which shows the 1st example of a structure of the FIFO circuit for reception concerning embodiment of this invention. 本発明の実施形態に係る受信用FIFO回路の構成の第2の例を示す図である。It is a figure which shows the 2nd example of a structure of the FIFO circuit for reception concerning embodiment of this invention. 本発明の実施形態に係る受信用FIFO回路の構成の第3の例を示す図である。It is a figure which shows the 3rd example of a structure of the FIFO circuit for reception concerning embodiment of this invention.

以下、本発明の実施形態について図面を参照しながら説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

本発明の実施形態に係る遊技機制御用マイクロコンピュータのためのインサーキットエミュレータ1は、図1に示すように、ICE用アダプタ10とCPUコア用ICE20とを含んでいる。なお、ターゲットボード30は、遊技機を構成する回路が搭載されたボードである。
CPUコア用ICE20は、図示しないコンピュータ等に接続される。インサーキットエミュレータ1は、このコンピュータ等により制御される。
As shown in FIG. 1, an in-circuit emulator 1 for a gaming machine control microcomputer according to an embodiment of the present invention includes an ICE adapter 10 and a CPU core ICE 20. Note that the target board 30 is a board on which a circuit constituting the gaming machine is mounted.
The CPU core ICE 20 is connected to a computer or the like (not shown). The in-circuit emulator 1 is controlled by this computer or the like.

CPUコア用ICE20は、例えば、Z80命令互換のCPUコアやM6800/M6801命令互換のCPUコアの機能をエミュレートする。
ICE用アダプタ10は、乱数回路11やウォッチドッグタイマ12等の遊技機専用の回路、受信用FIFO回路13、送信用FIFO回路(図示なし)、タイマ回路(図示なし)等の遊技機に必要とされる汎用回路およびCPUソケット14を含んでいる。
The CPU core ICE 20 emulates, for example, the functions of a CPU core compatible with Z80 instructions and a CPU core compatible with M6800 / M6801 instructions.
The ICE adapter 10 is necessary for a gaming machine such as a random number circuit 11 or a watch dog timer 12 dedicated circuit, a reception FIFO circuit 13, a transmission FIFO circuit (not shown), a timer circuit (not shown), or the like. General purpose circuitry and CPU socket 14.

CPUコア用ICE20は、CPUコアの全ての入出力端子とブレーク信号出力端子(Break)とを有している。
CPUコアの全ての入出力端子は、CPUソケット14を介してICE用アダプタ10に接続される。これらの入出力端子は、アドレス出力端子(Address)、データ入出力端子(Data)、制御信号端子(Control)に分類される。
制御信号端子は、CPUコアの種類によって異なるが、例えば、Z80命令互換のCPUコアの場合、リードストローブ出力端子とライトストローブ出力端子を含む。以下、リードストローブ出力端子から出力される信号をRD信号、ライトストローブ出力端子から出力される信号をWR信号という。
以下では、Z80命令互換のCPUコアを例として説明する。
The CPU core ICE 20 has all input / output terminals and break signal output terminals (Break) of the CPU core.
All input / output terminals of the CPU core are connected to the ICE adapter 10 via the CPU socket 14. These input / output terminals are classified into an address output terminal (Address), a data input / output terminal (Data), and a control signal terminal (Control).
For example, in the case of a Z80 instruction compatible CPU core, the control signal terminal includes a read strobe output terminal and a write strobe output terminal. Hereinafter, a signal output from the read strobe output terminal is referred to as an RD signal, and a signal output from the write strobe output terminal is referred to as a WR signal.
Hereinafter, a Z80 instruction compatible CPU core will be described as an example.

ブレーク信号出力端子から出力されるブレーク信号は、CPUコア用ICE20がブレークされたこと、すなわちプログラムの実行を停止させられたことを示す。
ユーザがインサーキットエミュレータ1を制御するコンピュータからインサーキットエミュレータ1をブレークさせる旨の指示を入力すると、CPUコア用ICE20は遊技機制御用プログラムの実行を停止する。そして、CPUコア用ICE20は遊技機制御用プログラムの実行を停止している間、ブレーク信号を出力する。
The break signal output from the break signal output terminal indicates that the CPU core ICE 20 is broken, that is, the execution of the program is stopped.
When the user inputs an instruction to break the in-circuit emulator 1 from the computer that controls the in-circuit emulator 1, the CPU core ICE 20 stops the execution of the game machine control program. The CPU core ICE 20 outputs a break signal while the execution of the game machine control program is stopped.

ターゲットボード30には、遊技機制御用マイクロコンピュータのためのソケットが実装されている。完成した遊技機では、このソケットに遊技機制御用マイクロコンピュータが装着される。遊技機のハードやソフトの開発中には、このソケットを介してICE用アダプタ10の入出力端子がターゲットボード30に接続される。
なお、ブレーク信号はCPUコア用ICE20とICE用アダプタ10との間の信号であり、遊技機制御用マイクロコンピュータから出力される信号ではない。このため、ブレーク信号出力端子はターゲットボード30には接続されない。
The target board 30 is mounted with a socket for a gaming machine control microcomputer. In the completed gaming machine, a gaming machine control microcomputer is attached to this socket. During development of hardware and software of the gaming machine, the input / output terminal of the ICE adapter 10 is connected to the target board 30 through this socket.
The break signal is a signal between the CPU core ICE 20 and the ICE adapter 10, and is not a signal output from the gaming machine control microcomputer. For this reason, the break signal output terminal is not connected to the target board 30.

乱数回路11、ウォッチドッグタイマ12、受信用FIFO回路13、およびその他のICE用アダプタ10に搭載されている回路は、必要に応じてアドレスバス(Address)、データバス(Data)、RD信号線とWR信号線を含む制御信号線(Control)、ブレーク信号線(Break)に接続される。   The circuits mounted on the random number circuit 11, the watchdog timer 12, the reception FIFO circuit 13, and other ICE adapters 10 include an address bus (Address), a data bus (Data), and an RD signal line as necessary. It is connected to a control signal line (Control) including a WR signal line and a break signal line (Break).

乱数回路11は、大当たりのような入賞のタイミングを制御する等の目的で擬似乱数を生成する。
乱数回路11は、図2に示すように、カウンタ111と、乱数生成回路112と、乱数値レジスタ113と、乱数生成停止回路114と、アドレスデコード回路115と、トライステートバッファ116とを有している。
The random number circuit 11 generates a pseudo-random number for the purpose of controlling the timing of winning such as a jackpot.
As shown in FIG. 2, the random number circuit 11 includes a counter 111, a random number generation circuit 112, a random number value register 113, a random number generation stop circuit 114, an address decoding circuit 115, and a tristate buffer 116. Yes.

カウンタ111と乱数生成回路112はクロックごとに回路の状態が遷移する状態遷移回路である。
カウンタ111は、周期的に乱数を更新する場合に使用される。カウンタ111のカウンタ値が予め設定された値になると、乱数生成回路112の乱数値が更新される。
乱数生成回路112は、クロックごとに乱数値を生成し、生成した乱数値を乱数値レジスタ113に設定する。
乱数生成停止回路114は、CPUコア用ICE20が遊技機制御用プログラムを実行しているとき、カウンタ111と乱数生成回路112を動作させる。一方、乱数生成停止回路114は、CPUコア用ICE20からブレーク信号が出力されているとき、カウンタ111と乱数生成回路112の状態遷移を停止させる。
The counter 111 and the random number generation circuit 112 are state transition circuits in which the state of the circuit changes every clock.
The counter 111 is used when the random number is periodically updated. When the counter value of the counter 111 reaches a preset value, the random number value of the random number generation circuit 112 is updated.
The random number generation circuit 112 generates a random value for each clock and sets the generated random value in the random value register 113.
The random number generation stop circuit 114 operates the counter 111 and the random number generation circuit 112 when the CPU core ICE 20 is executing a game machine control program. On the other hand, the random number generation stop circuit 114 stops the state transition of the counter 111 and the random number generation circuit 112 when a break signal is output from the CPU core ICE 20.

アドレスデコード回路115は、アドレスバスに出力されるアドレスが乱数値レジスタ113に割り当てられているアドレスと一致し、RD信号線にRD信号が出力されている場合に、トライステートバッファ116をオープンし、乱数値レジスタ113に設定されている乱数値をデータバスに出力する。   The address decoding circuit 115 opens the tri-state buffer 116 when the address output to the address bus matches the address assigned to the random value register 113 and the RD signal is output to the RD signal line. The random value set in the random value register 113 is output to the data bus.

従って、CPUコア用ICE20は、遊技機制御用プログラムを実行している間に、アドレスバスとRD信号線にそれぞれ乱数値レジスタ113のアドレスとRD信号を出力し、データバスに出力された乱数値を読み取ることによって、乱数値レジスタ113から乱数値を読み出すことができる。
また、CPUコア用ICE20は、ブレークされている(遊技機制御用プログラムの実行を停止している)間には、乱数回路11(カウンタ111と乱数生成回路112)の状態遷移を停止させて、乱数値レジスタ113から乱数値を読み出すことができる。
なお、アドレスデコード回路115にブレーク信号を入力してアドレスとブレーク信号をまとめてデコードすることにより、遊技機制御用プログラムを実行している間とブレークされている間とで異なるアドレスを乱数値レジスタ113に割り当てることもできる。
Therefore, the CPU core ICE 20 outputs the address of the random value register 113 and the RD signal to the address bus and the RD signal line, respectively, and executes the random number value output to the data bus while executing the game machine control program. By reading, the random value can be read from the random value register 113.
Further, while the CPU core ICE 20 is broken (when the execution of the game machine control program is stopped), the CPU core ICE 20 stops the state transition of the random number circuit 11 (the counter 111 and the random number generation circuit 112). A random value can be read from the numerical register 113.
It should be noted that by inputting a break signal to the address decoding circuit 115 and decoding the address and the break signal together, different addresses between the execution of the game machine control program and the break are assigned to the random value register 113. Can also be assigned.

静電気等のノイズの影響を受けても遊技機が暴走しないように、遊技機制御用マイクロコンピュータは、所定時間毎にリセットされ、メモリの所定の番地(例えば、0番地)からプログラムの実行を再開する。
このために、ウォッチドッグタイマ12が設けられる。ウォッチドッグタイマ12は、所定時間毎にタイムアウト信号を発生する。タイムアウト信号が発生すると、遊技機制御用マイクロコンピュータはリセットされる。
ウォッチドッグタイマ12は、図3に示すように、カウンタ121と、出力制御回路122と、ウォッチドッグタイマ停止回路123と、アドレスデコード回路124と、トライステートバッファ125とを有している。
The gaming machine control microcomputer is reset every predetermined time so that the gaming machine does not run away even under the influence of noise such as static electricity, and the execution of the program is resumed from a predetermined address in the memory (for example, address 0). .
For this purpose, a watchdog timer 12 is provided. The watchdog timer 12 generates a timeout signal every predetermined time. When the time-out signal is generated, the gaming machine control microcomputer is reset.
As shown in FIG. 3, the watchdog timer 12 includes a counter 121, an output control circuit 122, a watchdog timer stop circuit 123, an address decode circuit 124, and a tristate buffer 125.

カウンタ121はクロックごとに回路の状態が遷移する状態遷移回路である。カウンタ121は上述した所定時間に相当するクロック数をカウントする。
出力制御回路122は、カウンタ121のカウンタ値が所定時間に相当するクロック数になると、タイムアウト信号を出力する。
ウォッチドッグタイマ停止回路123は、CPUコア用ICE20からブレーク信号が出力されていない間、カウンタ121を動作させる。一方、ウォッチドッグタイマ停止回路123は、CPUコア用ICE20からブレーク信号が出力されている間、カウンタ121を停止させる。
The counter 121 is a state transition circuit in which the circuit state transitions for each clock. The counter 121 counts the number of clocks corresponding to the predetermined time described above.
The output control circuit 122 outputs a timeout signal when the counter value of the counter 121 reaches the number of clocks corresponding to a predetermined time.
The watchdog timer stop circuit 123 operates the counter 121 while no break signal is output from the CPU core ICE 20. On the other hand, the watchdog timer stop circuit 123 stops the counter 121 while the break signal is output from the CPU core ICE 20.

アドレスデコード回路124は、アドレスバスに出力されるアドレスがカウンタ121に割り当てられているアドレスと一致し、RD信号線にRD信号が出力され、ブレーク信号が出力されている場合に、トライステートバッファ125をオープンし、カウンタ121のカウンタ値をデータバスに出力する。   When the address output to the address bus coincides with the address assigned to the counter 121, the RD signal is output to the RD signal line, and the break signal is output, the address decode circuit 124 outputs the tristate buffer 125. And the counter value of the counter 121 is output to the data bus.

従って、CPUコア用ICE20は、ブレークされている(遊技機制御用プログラムの実行を停止している)間に、ウォッチドッグタイマ12(カウンタ121)を停止させて、アドレスバスとRD信号線にそれぞれカウンタ121のアドレスとRD信号を出力し、データバスに出力されたカウンタ値を読み取ることによって、カウンタ121からカウンタ値を読み出すことができる。   Therefore, the CPU core ICE 20 stops the watchdog timer 12 (counter 121) while the break is occurring (the execution of the game machine control program is stopped), and the counter is applied to the address bus and the RD signal line, respectively. The counter value can be read from the counter 121 by outputting the address 121 and the RD signal and reading the counter value output to the data bus.

受信用FIFO13は、受信したデータを受信した順(古い順)に出力する。
図4は、本発明の実施形態に係る受信用FIFO回路の構成の第1の例を示す。
FIFO回路13Aは、記憶部131と、リードポインタ(RDP)132と、リードポインタ(RDP)133と、リードポインタ(RDP)切換回路134と、セレクタ135と、セレクタ136と、アドレスデコード回路137と、トライステートバッファ138と、図示しないライトポインタとを有している。
The reception FIFO 13 outputs the received data in the order of reception (old order).
FIG. 4 shows a first example of the configuration of the reception FIFO circuit according to the embodiment of the present invention.
The FIFO circuit 13A includes a storage unit 131, a read pointer (RDP) 132, a read pointer (RDP) 133, a read pointer (RDP) switching circuit 134, a selector 135, a selector 136, an address decoding circuit 137, It has a tristate buffer 138 and a write pointer (not shown).

記憶部131は、0番地から3番地まで4ワード記憶することができる。入力ポートに入力したデータは、記憶部131のライトポインタの指す番地に書き込まれる。ライトポインタは、記憶部131にデータを書き込むごとに、1だけインクリメントし、3を超えると0に戻る。   The storage unit 131 can store 4 words from address 0 to address 3. Data input to the input port is written to the address pointed to by the write pointer in the storage unit 131. The write pointer is incremented by 1 each time data is written to the storage unit 131 and returns to 0 when 3 is exceeded.

リードポインタ切換回路134は、CPUコア用ICE20が遊技機制御用プログラムを実行している間、リードポインタ132を動作させる。一方、リードポインタ切換回路134は、CPUコア用ICE20からブレーク信号が出力されると、リードポインタ132を停止させ、リードポインタ132のポインタ値をリードポインタ133にコピーしてリードポインタ133を動作させる。   The read pointer switching circuit 134 operates the read pointer 132 while the CPU core ICE 20 is executing the game machine control program. On the other hand, when a break signal is output from the CPU core ICE 20, the read pointer switching circuit 134 stops the read pointer 132, copies the pointer value of the read pointer 132 to the read pointer 133, and operates the read pointer 133.

セレクタ135は、CPUコア用ICE20が遊技機制御用プログラムを実行しているときリードポインタ132を選択し、リードポインタ132の記憶している番地をセレクタ136に送る。このとき、セレクタ136は、リードポインタ132の指す番地に記憶されている記憶部131のデータを選択する。
リードポインタ132は、記憶部131からデータが読み出されるごとに、1だけインクリメントし、3を超えると0に戻る。なお、リードポインタ132の指す番地がライトポインタの指す番地を超えないように図示しない回路により制御される。
The selector 135 selects the read pointer 132 when the CPU core ICE 20 is executing the game machine control program, and sends the address stored in the read pointer 132 to the selector 136. At this time, the selector 136 selects the data in the storage unit 131 stored at the address indicated by the read pointer 132.
The read pointer 132 is incremented by 1 each time data is read from the storage unit 131, and returns to 0 when 3 is exceeded. The address indicated by the read pointer 132 is controlled by a circuit (not shown) so as not to exceed the address indicated by the write pointer.

一方、セレクタ135は、CPUコア用ICE20からブレーク信号が出力されると、リードポインタ133を選択し、リードポインタ133の記憶している番地をセレクタ136に送る。このとき、セレクタ136は、リードポインタ133の指す番地に記憶されている記憶部131のデータを選択する。
リードポインタ133は、記憶部131からデータが読み出されるごとに、1だけインクリメントし、3を超えると0に戻る。なお、リードポインタ133の指す番地がライトポインタの指す番地を超えないように図示しない回路により制御される。
On the other hand, when a break signal is output from the CPU core ICE 20, the selector 135 selects the read pointer 133 and sends the address stored in the read pointer 133 to the selector 136. At this time, the selector 136 selects the data in the storage unit 131 stored at the address indicated by the read pointer 133.
The read pointer 133 is incremented by 1 each time data is read from the storage unit 131, and returns to 0 when 3 is exceeded. The address indicated by the read pointer 133 is controlled by a circuit (not shown) so as not to exceed the address indicated by the write pointer.

アドレスデコード回路137は、アドレスバスに出力されるアドレスがFIFO回路13Aに割り当てられているアドレスと一致し、RD信号線にRD信号が出力されている場合に、トライステートバッファ138をオープンする。これにより、記憶部131のリードポインタ132またはリードポインタ133の指す番地のデータがデータバスに出力される。   The address decoding circuit 137 opens the tri-state buffer 138 when the address output to the address bus matches the address assigned to the FIFO circuit 13A and the RD signal is output to the RD signal line. As a result, the data at the address indicated by the read pointer 132 or the read pointer 133 in the storage unit 131 is output to the data bus.

このように、FIFO回路13Aは、CPUコア用ICE20が遊技機制御用プログラムを実行しているときリードポインタ132を使用し、CPUコア用ICE20がブレークされているとき、リードポインタ133を使用し、リードポインタ132を停止させる。このため、ブレーク中にFIFO回路13Aからデータを読み出してもリードポインタ132の内容は変化せず、保存される。
リードポインタ切換回路134は、CPUコア用ICE20がブレークされている状態から遊技機制御用プログラムの実行に戻ったとき、リードポインタ133を停止させ、再びリードポインタ132を動作させる。
As described above, the FIFO circuit 13A uses the read pointer 132 when the CPU core ICE 20 is executing the game machine control program, and uses the read pointer 133 when the CPU core ICE 20 is broken. The pointer 132 is stopped. For this reason, even if data is read from the FIFO circuit 13A during the break, the contents of the read pointer 132 are not changed and saved.
The read pointer switching circuit 134 stops the read pointer 133 and operates the read pointer 132 again when returning to the execution of the game machine control program from the state where the CPU core ICE 20 is broken.

なお、記憶部131はセレクタ136と分離してレジスタで構成することもできるし、記憶部131とセレクタ136を一体化してメモリで構成することもできる。   Note that the storage unit 131 can be configured by a register separately from the selector 136, or the storage unit 131 and the selector 136 can be integrated and configured by a memory.

図5は、本発明の実施形態に係る受信用FIFO回路の構成の第2の例を示す。
受信用FIFO回路の第2の例は、FIFO回路13BとFIFO回路13Cと、FIFO切換回路139とで構成される。
FIFO回路13Bは、記憶部131と、リードポインタ132と、セレクタ136と、アドレスデコード回路137Bと、トライステートバッファ138と、図示しないライトポインタとを有している。
FIFO回路13Cは、記憶部131と、リードポインタ133と、セレクタ136と、アドレスデコード回路137Cと、トライステートバッファ138と、図示しないライトポインタとを有している。
図4と図5の同一の構成要素には同一の符号を付し、説明を省略する。
FIG. 5 shows a second example of the configuration of the reception FIFO circuit according to the embodiment of the present invention.
A second example of the reception FIFO circuit is constituted by a FIFO circuit 13B, a FIFO circuit 13C, and a FIFO switching circuit 139.
The FIFO circuit 13B includes a storage unit 131, a read pointer 132, a selector 136, an address decoding circuit 137B, a tristate buffer 138, and a write pointer (not shown).
The FIFO circuit 13C includes a storage unit 131, a read pointer 133, a selector 136, an address decoding circuit 137C, a tristate buffer 138, and a write pointer (not shown).
The same components in FIGS. 4 and 5 are denoted by the same reference numerals, and description thereof is omitted.

入力ポートから入力したデータは、FIFO回路13Bの記憶部131とFIFO回路13Cの記憶部131の同一の番地に書き込まれる。従って、FIFO回路13Bの記憶部131とFIFO回路13Cの記憶部131とは同一のデータを保持している。   Data input from the input port is written to the same address in the storage unit 131 of the FIFO circuit 13B and the storage unit 131 of the FIFO circuit 13C. Therefore, the storage unit 131 of the FIFO circuit 13B and the storage unit 131 of the FIFO circuit 13C hold the same data.

FIFO切換回路139は、CPUコア用ICE20が遊技機制御用プログラムを実行している間、FIFO回路13Bからデータを出力させ、CPUコア用ICE20からブレーク信号が出力されている間、FIFO回路13Cからデータを出力させる。
すなわち、アドレスデコード回路137Bは、CPUコア用ICE20が遊技機制御用プログラムを実行している間、FIFO回路13Bのトライステートバッファ138をオープンし、リードポインタ132の指す番地のデータを記憶部131からデータバスに出力させる。一方、アドレスデコード回路137Cは、CPUコア用ICE20からブレーク信号が出力されている間、FIFO回路13Cのトライステートバッファ138をオープンし、リードポインタ133の指す番地のデータを記憶部131からデータバスに出力させる。
The FIFO switching circuit 139 outputs data from the FIFO circuit 13B while the CPU core ICE 20 executes the game machine control program, and outputs data from the FIFO circuit 13C while the break signal is output from the CPU core ICE 20. Is output.
That is, the address decoding circuit 137B opens the tristate buffer 138 of the FIFO circuit 13B while the CPU core ICE 20 executes the game machine control program, and the data at the address pointed to by the read pointer 132 is transferred from the storage unit 131 to the data. Output to the bus. On the other hand, the address decoding circuit 137C opens the tristate buffer 138 of the FIFO circuit 13C while the break signal is output from the CPU core ICE 20, and the data at the address indicated by the read pointer 133 is transferred from the storage unit 131 to the data bus. Output.

CPUコア用ICE20がブレークされているとき、FIFO回路13Bは動作しない。このため、リードポインタ132の内容は変化せず、保存される。
FIFO切換回路139は、CPUコア用ICE20がブレークされている状態から遊技機制御用プログラムの実行に戻ったとき、FIFO回路13Cを停止させ、再びFIFO回路13Bを動作させる。
When the CPU core ICE 20 is broken, the FIFO circuit 13B does not operate. For this reason, the contents of the read pointer 132 are not changed and are stored.
The FIFO switching circuit 139 stops the FIFO circuit 13C and operates the FIFO circuit 13B again when returning to the execution of the game machine control program from the state where the CPU core ICE 20 is broken.

図6は、本発明の実施形態に係る受信用FIFO回路の構成の第3の例を示す。
FIFO回路13Dは、記憶部131と、リードポインタ132と、セレクタ136と、アドレスデコード回路137と、トライステートバッファ138と、アドレスデコード回路140と、トライステートバッファ141と、トライステートバッファ142と、トライステートバッファ143と、トライステートバッファ144と、図示しないライトポインタとを有している。
図4と図6の同一の構成要素には同一の符号を付し、説明を省略する。
FIG. 6 shows a third example of the configuration of the reception FIFO circuit according to the embodiment of the present invention.
The FIFO circuit 13D includes a storage unit 131, a read pointer 132, a selector 136, an address decode circuit 137, a tristate buffer 138, an address decode circuit 140, a tristate buffer 141, a tristate buffer 142, a tristate buffer, It has a state buffer 143, a tristate buffer 144, and a write pointer (not shown).
The same components in FIGS. 4 and 6 are denoted by the same reference numerals, and description thereof is omitted.

トライステートバッファ141〜144は、それぞれ記憶部131の0番地〜3番地に記憶されているデータをアドレスバスに出力するために設けられている。トライステートバッファ141〜144には、別々のアドレスが割り当てられている。
アドレスデコード回路140は、例えば、アドレスバスに出力されるアドレスとトライステートバッファ141に割り当てられているアドレスとが一致し、RD信号線にRD信号が出力され、ブレーク信号線にブレーク信号が出力されている場合に、トライステートバッファ131をオープンする。これにより、記憶部131の0番地のデータがデータバスに出力される。アドレスデコード回路140は、トライステートバッファ142〜144も同様に動作させる。
The tri-state buffers 141 to 144 are provided for outputting data stored in addresses 0 to 3 of the storage unit 131 to the address bus, respectively. Different addresses are assigned to the tristate buffers 141 to 144.
The address decode circuit 140, for example, matches the address output to the address bus and the address assigned to the tristate buffer 141, outputs the RD signal to the RD signal line, and outputs the break signal to the break signal line. If so, the tri-state buffer 131 is opened. As a result, the data at address 0 in the storage unit 131 is output to the data bus. The address decoding circuit 140 operates the tristate buffers 142 to 144 in the same manner.

CPUコア用ICE20がブレークされているとき、記憶部131に記憶されているデータはトライステートバッファ141〜144を介して読み出される。このため、リードポインタ132の内容は変化せず、保存される。   When the CPU core ICE 20 is broken, the data stored in the storage unit 131 is read via the tristate buffers 141 to 144. For this reason, the contents of the read pointer 132 are not changed and are stored.

なお、上記図4〜図6に示した受信用FIFO回路の第1〜第3の例では、記憶部131が4ワードのデータを記憶できる場合を示したが、記憶部131が記憶できるデータ数は4ワードに限らず8ワードや16ワード等であって良い。また、その他のワード数であっても良い。   In the first to third examples of the reception FIFO circuit shown in FIGS. 4 to 6, the case where the storage unit 131 can store four words of data is shown. However, the number of data that the storage unit 131 can store is shown. Is not limited to 4 words, but may be 8 words, 16 words, or the like. Other word numbers may also be used.

また、上記実施形態では、Z80命令互換のCPUコアを例として説明したが、本発明は、M6800/M6801命令互換のCPUコアやその他のCPUコアに対して適用できることは言うまでもない。   In the above embodiment, the Z80 instruction compatible CPU core has been described as an example. However, it goes without saying that the present invention can be applied to an M6800 / M6801 compatible CPU core and other CPU cores.

以上説明したように、本発明によれば、乱数回路やウォッチドッグタイマのように状態遷移回路を含む回路では、CPUコア用ICEがブレークされているとき、状態遷移回路の状態遷移を止める。このため、ブレーク中に、CPUコア用ICEがその回路に含まれるレジスタやメモリの内容を読み出すときに、回路の内部状態は変化せず、保存される。
また、受信用FIFO回路のリードポインタのように、CPUコア用ICEがレジスタやメモリの内容を読み出すと内部状態が変化する回路では、内部状態を保存したままレジスタやメモリの内容を読み出すことができる回路を付加する。
従って、本発明に係る遊技機制御用マイクロコンピュータ用ICEは、ブレーク中に、アダプタに搭載されている遊技機向け付加回路の内部状態を保存したまま、その付加回路内の所定のメモリやレジスタからデータを読み出すことができる。
As described above, according to the present invention, in a circuit including a state transition circuit such as a random number circuit or a watchdog timer, the state transition of the state transition circuit is stopped when the CPU core ICE is broken. For this reason, during the break, when the CPU core ICE reads the contents of the registers and memories included in the circuit, the internal state of the circuit is not changed and is saved.
Also, in a circuit in which the internal state changes when the CPU core ICE reads the contents of the register or memory, such as the read pointer of the reception FIFO circuit, the contents of the register or memory can be read while the internal state is preserved. Add a circuit.
Therefore, the microcomputer ICE for controlling a gaming machine according to the present invention stores data from a predetermined memory or register in the additional circuit while the internal state of the additional circuit for the gaming machine mounted on the adapter is preserved during the break. Can be read out.

以上、本発明の実施形態について説明したが、設計上の都合やその他の要因によって必要となる様々な修正や組み合わせは、請求項に記載されている発明や発明の実施形態に記載されている具体例に対応する発明の範囲に含まれると理解されるべきである。   Although the embodiments of the present invention have been described above, various modifications and combinations necessary for design reasons and other factors are described in the inventions described in the claims and the specific embodiments described in the embodiments of the invention. It should be understood that it falls within the scope of the invention corresponding to the examples.

1…インサーキットエミュレータ、10…インサーキットエミュレータ用アダプタ、11…乱数回路、12…ウォッチドッグタイマ、13…受信用FIFO回路、14…CPUソケット、20…CPUコア用インサーキットエミュレータ、30…ターゲットボード、111…カウンタ、112…乱数生成回路、113…乱数値レジスタ、114…乱数生成停止回路、115…アドレスデコード回路、116…トライステートバッファ、121…カウンタ、122…出力制御回路、123…ウォッチドッグタイマ停止回路、124…アドレスデコード回路、125…トライステートバッファ、13A、13B、13C、13D…FIFO回路、131…記憶部、132…リードポインタ、133…リードポインタ、134…リードポインタ切換回路、135…セレクタ、136…セレクタ、137、137B、137C…アドレスデコード回路、138…トライステートバッファ、139…FIFO切換回路、140…アドレスデコード回路、141、142、143、144…トライステートバッファ DESCRIPTION OF SYMBOLS 1 ... In-circuit emulator, 10 ... Adapter for in-circuit emulator, 11 ... Random number circuit, 12 ... Watchdog timer, 13 ... FIFO circuit for reception, 14 ... CPU socket, 20 ... In-circuit emulator for CPU core, 30 ... Target board 111 ... Counter 112 ... Random number generation circuit 113 ... Random number value register 114 ... Random number generation stop circuit 115 ... Address decoding circuit 116 ... Tri-state buffer 121 ... Counter 122 ... Output control circuit 123 ... Watch dog Timer stop circuit 124... Address decode circuit 125. Tristate buffer 13 A, 13 B, 13 C, 13 D FIFO circuit 131 131 storage unit 132 read pointer 133 read pointer 134 read pointer switching Road, 135 ... selector, 136 ... selector, 137,137B, 137C ... address decoding circuit, 138 ... tristate buffer, 139 ... FIFO switching circuit, 140 ... address decoding circuit, 141, 142, 143, 144 ... tristate buffer

Claims (5)

CPUコアと遊技機向け付加回路で構成される遊技機制御用マイクロコンピュータの当該遊技機向け付加回路の機能をエミュレートするインサーキットエミュレータ用アダプタであって、
前記CPUコアの機能をエミュレートするCPUコア用インサーキットエミュレータが遊技機制御用プログラムの実行を停止していることを検出する停止検出手段と、
前記停止検出手段によって遊技機制御用プログラムの実行停止が検出されたことに応答して、前記遊技機向け付加回路の内部状態を保存したまま、前記遊技機向け付加回路に含まれる所定のメモリとレジスタに記憶されているデータが前記CPUコア用インサーキットエミュレータによって読み出されることを可能とする読出制御手段と、
を備えることを特徴とするインサーキットエミュレータ用アダプタ。
An adapter for an in-circuit emulator that emulates the function of the additional circuit for the gaming machine of the microcomputer for gaming machine control constituted by the CPU core and the additional circuit for the gaming machine,
Stop detection means for detecting that the in-circuit emulator for CPU core emulating the function of the CPU core stops execution of the game machine control program;
In response to the execution stop of the game machine control program being detected by the stop detection means, the predetermined memory and register included in the additional circuit for the gaming machine are stored while the internal state of the additional circuit for the gaming machine is preserved. Read control means for enabling the data stored in the CPU core in-circuit emulator to be read; and
An in-circuit emulator adapter characterized by comprising:
前記停止検出手段は、前記遊技機制御用プログラムの実行を停止したときに前記CPUコア用インサーキットエミュレータから出力されるブレーク信号が入力されたことにより、遊技機制御用プログラムの実行停止を検出することを特徴とする請求項1に記載のインサーキットエミュレータ用アダプタ。   The stop detection means detects the stop of execution of the game machine control program by receiving a break signal output from the CPU core in-circuit emulator when the execution of the game machine control program is stopped. The adapter for an in-circuit emulator according to claim 1, wherein the adapter is an in-circuit emulator. 前記遊技機向け付加回路は、生成された乱数値を乱数値レジスタに設定する乱数回路と、カウンタのカウンタ値が所定の値と一致するとタイムアウト信号を発生するウォッチドッグタイマと、受信した複数のデータを記憶する記憶部と当該記憶部から出力されるデータを指定するリードポインタとを含んでおり、当該記憶部から当該各データを受信した順番で出力する受信用FIFO回路とを有し、
前記読出制御手段は、前記遊技機制御用プログラムの実行停止が検出されたことに応答して、前記乱数回路と前記ウォッチドッグタイマの状態遷移を停止させ、前記CPUコア用インサーキットエミュレータによって前記乱数回路に含まれる乱数値レジスタと前記ウォッチドッグタイマに含まれるカウンタからそれぞれ乱数値とカウンタ値が読み出されることを可能とし、かつ、前記CPUコア用インサーキットエミュレータによって、前記リードポインタのポインタ値を保存して前記受信用FIFO回路に含まれる記憶部から記憶されている各データが読み出されることを可能にする、
ことを特徴とする請求項1又は2に記載のインサーキットエミュレータ用アダプタ。
The additional circuit for gaming machines includes a random number circuit that sets a generated random value in a random value register, a watchdog timer that generates a timeout signal when the counter value of the counter matches a predetermined value, and a plurality of received data Including a storage unit that stores data and a read pointer that specifies data output from the storage unit, and a reception FIFO circuit that outputs the data from the storage unit in the order received.
The read control means stops the state transition of the random number circuit and the watchdog timer in response to detecting that the execution stop of the game machine control program is detected, and the random number circuit by the CPU core in-circuit emulator The random number value and the counter value can be read from the random value register included in the watchdog timer and the counter included in the watchdog timer, respectively, and the pointer value of the read pointer is stored by the in-circuit emulator for the CPU core. Enabling each data stored in the storage unit included in the reception FIFO circuit to be read.
The adapter for an in-circuit emulator according to claim 1 or 2.
前記読出制御手段は、
前記CPUコア用インサーキットエミュレータに接続されるデータバスと、
前記CPUコア用インサーキットエミュレータに接続されるアドレスバスと、
を有し、
前記アドレスバスを送信されるアドレスに基づいて、前記乱数回路に含まれる乱数値レジスタに記憶されている乱数値又は前記ウォッチドッグタイマに含まれるカウンタに記憶されているカウンタ値又は前記受信用FIFO回路に含まれる記憶部に記憶されている各データを前記データバスに出力させる、
ことを特徴とする請求項3に記載のインサーキットエミュレータ。
The read control means includes
A data bus connected to the CPU core in-circuit emulator;
An address bus connected to the CPU core in-circuit emulator;
Have
Based on an address transmitted through the address bus, a random value stored in a random value register included in the random number circuit, a counter value stored in a counter included in the watchdog timer, or the FIFO circuit for reception Outputting each data stored in the storage unit included in the data bus,
The in-circuit emulator according to claim 3.
CPUコアの機能をエミュレートするCPUコア用インサーキットエミュレータと遊技機向け付加回路の機能をエミュレートするインサーキットエミュレータ用アダプタとで構成されるインサーキットエミュレータであって、
前記CPUコア用インサーキットエミュレータは、遊技機制御用プログラムの実行を停止している間、ブレーク信号を出力するブレーク信号出力手段を備え、
前記インサーキットエミュレータ用アダプタは、
前記CPUコア用インサーキットエミュレータのブレーク信号出力手段によってブレーク信号が出力されていることに応答して、前記遊技機向け付加回路の内部状態を保存したまま、前記遊技機向け付加回路に含まれる所定のメモリとレジスタに記憶されているデータが前記CPUコア用インサーキットエミュレータによって読み出されることを可能とする読出制御手段と、
を備えることを特徴とするインサーキットエミュレータ。
An in-circuit emulator comprising an in-circuit emulator for CPU core that emulates the function of a CPU core and an adapter for in-circuit emulator that emulates the function of an additional circuit for gaming machines,
The in-circuit emulator for the CPU core includes break signal output means for outputting a break signal while the execution of the game machine control program is stopped.
The in-circuit emulator adapter is
In response to the break signal being output by the break signal output means of the in-circuit emulator for CPU core, the internal state of the additional circuit for the gaming machine is stored and the predetermined circuit included in the additional circuit for the gaming machine is stored. Read control means for enabling the data stored in the memory and register of the CPU to be read by the in-circuit emulator for CPU core,
An in-circuit emulator comprising:
JP2009265359A 2009-11-20 2009-11-20 In-circuit emulator adapter and in-circuit emulator Expired - Fee Related JP5443956B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009265359A JP5443956B2 (en) 2009-11-20 2009-11-20 In-circuit emulator adapter and in-circuit emulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009265359A JP5443956B2 (en) 2009-11-20 2009-11-20 In-circuit emulator adapter and in-circuit emulator

Publications (2)

Publication Number Publication Date
JP2011108182A JP2011108182A (en) 2011-06-02
JP5443956B2 true JP5443956B2 (en) 2014-03-19

Family

ID=44231541

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009265359A Expired - Fee Related JP5443956B2 (en) 2009-11-20 2009-11-20 In-circuit emulator adapter and in-circuit emulator

Country Status (1)

Country Link
JP (1) JP5443956B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020127811A (en) * 2020-05-19 2020-08-27 株式会社三洋物産 Game machine
JP6996589B2 (en) * 2020-05-19 2022-01-17 株式会社三洋物産 Pachinko machine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007264822A (en) * 2006-03-27 2007-10-11 Nec Corp Microprocessor system
JP5036448B2 (en) * 2007-08-13 2012-09-26 株式会社ピーエーネット技術研究所 FIFO memory reading method in in-circuit emulator and in-circuit emulator for one-chip microcomputer with built-in FIFO memory

Also Published As

Publication number Publication date
JP2011108182A (en) 2011-06-02

Similar Documents

Publication Publication Date Title
JP5668143B2 (en) Debugging data processing equipment
KR20210011451A (en) Embedded scheduling of hardware resources for hardware acceleration
JP4249779B2 (en) Device controller
CN111033630B (en) Multiprocessor kernel device with MBIST
US9995789B2 (en) Secure remote debugging of SoCs
US9529686B1 (en) Error protection for bus interconnect circuits
CN103052942A (en) Alignment control
JP5514982B2 (en) Microcomputer chip for gaming machine control
GB2497736A (en) Hardware monitor with context selector for selecting from multiple contexts
JP5443956B2 (en) In-circuit emulator adapter and in-circuit emulator
CN102799248A (en) Wake-on-local access network (LAN) device, computer and wake-on-LAN method
US20090187903A1 (en) Virtual multiprocessor system
KR20110116990A (en) Micro computer
KR100543152B1 (en) Microprocessor and processing method of microprocessor
JP5036448B2 (en) FIFO memory reading method in in-circuit emulator and in-circuit emulator for one-chip microcomputer with built-in FIFO memory
US7702956B2 (en) Circuit for transferring test flag signals among multiple processors, the test flag signals being used by a test controller to generate test signals
JP5467172B1 (en) Information processing system and information processing method
JP2008117148A (en) Information processor and information processing method
JP6645467B2 (en) Microcomputer
JP5811544B2 (en) Integrated device, information processing system, and processing method
JP3604101B2 (en) Flash memory controller
JP2013218427A (en) Information processing apparatus and method
JPS6346460B2 (en)
JP2000112789A (en) Semiconductor device
JP2012118769A (en) In-circuit emulator

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131022

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131220

R150 Certificate of patent or registration of utility model

Ref document number: 5443956

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees