JP2016123803A - Chip for game machine control - Google Patents

Chip for game machine control Download PDF

Info

Publication number
JP2016123803A
JP2016123803A JP2015002188A JP2015002188A JP2016123803A JP 2016123803 A JP2016123803 A JP 2016123803A JP 2015002188 A JP2015002188 A JP 2015002188A JP 2015002188 A JP2015002188 A JP 2015002188A JP 2016123803 A JP2016123803 A JP 2016123803A
Authority
JP
Japan
Prior art keywords
output
circuit
game information
output signal
gaming machine
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.)
Pending
Application number
JP2015002188A
Other languages
Japanese (ja)
Inventor
佐々木 純
Jun Sasaki
純 佐々木
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.)
LETech Co Ltd
Original Assignee
LETech 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 LETech Co Ltd filed Critical LETech Co Ltd
Priority to JP2015002188A priority Critical patent/JP2016123803A/en
Publication of JP2016123803A publication Critical patent/JP2016123803A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a chip for game machine control which achieves a portion of processing executed by software by hardware included in the chip for game machine control.SOLUTION: The chip for game machine control includes: a central processing part; a memory for having game information about a game written; a game information output circuit including a register and an output signal generation circuit; a bus for connecting the central processing part, the memory, and the game information output circuit; and an output terminal for outputting an output signal. When monitoring the bus to detect that the central processing part writes the game information at a prescribed address of the memory, the game information output circuit acquires the game information to be written to write the game information in the register. The output signal generation circuit generates an output signal on the basis of information of a bit at a prescribed bit position of the game information written in the register, and outputs the output signal from an output terminal.SELECTED DRAWING: Figure 3

Description

本発明は遊技機制御用チップに関する。   The present invention relates to a gaming machine control chip.

従来、パチンコ遊技機などの遊技機には遊技機制御用チップが搭載され、当該遊技機は遊技機制御用チップのプログラムの実行により制御される。遊技機は、国家公安委員会の規則(遊技機に関する規則)に従って第三者機関の認定を受けなければならず、遊技機制御用チップにおいても当該規則に基づく規定が定められている。例えば、遊技の制御等に関するプログラムやこれに関するデータ等は遊技機制御用チップに内蔵された内蔵ROMに格納されているが、当該規則により内蔵ROM内に当該プログラムや当該データ等を格納する記憶容量が規定されている。   Conventionally, a gaming machine control chip is mounted on a gaming machine such as a pachinko gaming machine, and the gaming machine is controlled by executing a program of the gaming machine control chip. The gaming machine must be certified by a third party in accordance with the rules of the National Public Safety Commission (rules for gaming machines), and the rules based on the rules are also set for the gaming machine control chip. For example, a program related to game control, data related thereto, and the like are stored in a built-in ROM built in the gaming machine control chip, but the storage capacity for storing the program, the data, etc. is stored in the built-in ROM according to the rules. It is prescribed.

上記事情により、限られた記憶容量の内蔵ROM内では、ユーザプログラムに使用可能な容量が制約される。遊技機のゲーム性の多様化に伴い、プログラムで使用したい容量は増えているのに対して、ユーザプログラムが制約されると、遊技の内容も制約されることとなるので遊技の興趣が低下してしまう恐れがある。   Due to the above circumstances, the capacity that can be used for the user program is limited in the built-in ROM having a limited storage capacity. Along with the diversification of the game characteristics of gaming machines, the capacity to be used in the program is increasing, but if the user program is restricted, the contents of the game are also restricted, so the interest of the game is reduced. There is a risk that.

一般的に遊技機では、ナンバーランプ(呼び出しランプ)やホールコンピュータと接続するための信号を、外部端子板(盤用外部端子板、枠用外部端子板、外部集中端子板等)に出力する。その信号の出力は、マイコンの外部I/Oとして設けられており、例えば内蔵ROMに格納されるプログラム等のソフトウェアによって出力を行う。また、試験機関の試射試験用にも同様の信号の出力が、外部I/Oとして設けられている。これらのソフトウェアで実行していた処理の一部を、遊技機制御用チップに内蔵したハードウェアによる処理で実現することができれば、限りあるプログラムの容量をより効率的に使用することが可能となる。さらに、従来は外部I/O用のためにデコーダ・バッファ等のICが必要であったが、上記の通り遊技機制御用チップに内蔵したハードウェアによる処理で実現することができれば、デコーダ・バッファ等のICを基板上から取り除くことが可能となる。   In general, a gaming machine outputs a signal for connection with a number lamp (calling lamp) or a hall computer to an external terminal board (board external terminal board, frame external terminal board, external concentrated terminal board, etc.). The output of the signal is provided as an external I / O of the microcomputer, and is output by software such as a program stored in the built-in ROM. In addition, a similar signal output is provided as an external I / O for a test engine test test. If a part of the processing executed by these software can be realized by processing by hardware built in the gaming machine control chip, it becomes possible to more efficiently use the capacity of a limited program. Furthermore, an IC such as a decoder / buffer has been conventionally required for external I / O, but if it can be realized by hardware processing built in the gaming machine control chip as described above, a decoder / buffer, etc. It is possible to remove the IC from the substrate.

本発明は、遊技機制御用チップにおいて、ソフトウェアで実行していた処理の一部を、遊技機制御用チップに内蔵したハードウェアによる処理で実現する。これによって、興趣の豊かな遊技を実現することができる遊技機制御用チップを提供することが可能となる。さらに外部I/Oのためのデコーダ・バッファ等のICを基板上から取り除くことが可能となる。   The present invention realizes a part of processing executed by software in the gaming machine control chip by processing by hardware built in the gaming machine control chip. This makes it possible to provide a gaming machine control chip capable of realizing an amusement-rich game. Furthermore, it is possible to remove ICs such as decoders and buffers for external I / O from the substrate.

上記の課題を解決するため、本発明に係る遊技機制御用チップは、中央処理部と、遊技に関する遊技情報が書き込まれるメモリと、レジスタ及び出力信号生成回路を含む遊技情報出力回路と、中央処理部、メモリ、及び遊技情報出力回路を接続するバスと、出力信号を出力するための出力端子と、を備える。遊技情報出力回路は、バスをモニタし、中央処理部がメモリの所定のアドレスに遊技情報を書き込むことを検知すると、その書き込まれる遊技情報を取得してレジスタに書き込むものであり、出力信号生成回路は、レジスタに書き込まれた遊技情報の所定のビット位置のビットの情報に基づいて出力信号を生成し出力端子より出力するものであることができる。当該遊技機制御用チップによれば、外部への出力をハードウェアにより処理することができる。   In order to solve the above problems, a gaming machine control chip according to the present invention includes a central processing unit, a memory in which game information relating to a game is written, a game information output circuit including a register and an output signal generation circuit, and a central processing unit. A bus connecting the memory and the game information output circuit, and an output terminal for outputting an output signal. The game information output circuit monitors the bus, and when the central processing unit detects that the game information is written to a predetermined address in the memory, the game information output circuit acquires the written game information and writes it to the register. Can generate an output signal based on the bit information at a predetermined bit position of the game information written in the register and output it from the output terminal. According to the gaming machine control chip, output to the outside can be processed by hardware.

本発明に係る遊技機制御用チップにおいて、メモリは、中央処理部がプログラム実行時に使用するRAMであることもできる。   In the gaming machine control chip according to the present invention, the memory may be a RAM used by the central processing unit when executing a program.

本発明に係る遊技機制御用チップにおいて、遊技情報出力回路は、複数の所定のアドレスそれぞれに対応する各レジスタを含むこともできる。   In the gaming machine control chip according to the present invention, the game information output circuit may include registers corresponding to a plurality of predetermined addresses.

本発明に係る遊技機制御用チップにおいて、遊技情報出力回路は、レジスタと出力信号生成回路の間に配置されるキュー構造の記憶回路をさらに備え、出力信号生成回路は、キュー構造の記憶回路に蓄積され順次出力される遊技情報の所定のビット位置のビットの情報に基づいて出力信号を生成し前記出力端子より出力することもできる。当該遊技機制御用チップによれば、出力信号生成回路が出力信号を生成し出力する前に、レジスタに次々と書き込みがされる場合に、レジスタに書き込まれる情報の欠損を防ぐことができる。キュー構造の記憶回路は、先入れ先出し(FIFO)カウンタ又はFIFO型メモリで構成することもできる。   In the gaming machine control chip according to the present invention, the game information output circuit further includes a cue-structure storage circuit disposed between the register and the output signal generation circuit, and the output signal generation circuit is stored in the cue-structure storage circuit. Then, an output signal can be generated based on the bit information at a predetermined bit position of the game information that is sequentially output and output from the output terminal. According to the gaming machine control chip, loss of information written to the register can be prevented when the register is successively written before the output signal generation circuit generates and outputs the output signal. The storage circuit having a queue structure can be constituted by a first-in first-out (FIFO) counter or a FIFO type memory.

本発明に係る遊技機制御用チップにおいて、出力信号生成回路は、レジスタに書き込まれた遊技情報の所定のビット位置のビットの情報に基づいて既定の数のパルス信号を生成することもできる。   In the gaming machine control chip according to the present invention, the output signal generation circuit can also generate a predetermined number of pulse signals based on bit information at predetermined bit positions of the game information written in the register.

本発明に係る遊技機制御用チップにおいて、出力信号生成回路は、レジスタに書き込まれた遊技情報に基づいてシリアル出力信号を生成することもできる。   In the gaming machine control chip according to the present invention, the output signal generation circuit can also generate a serial output signal based on the game information written in the register.

また本発明に係る1つの実施形態において、当該遊技機制御用チップを基板に組み込むこともでき、当該基板を遊技機に含むこともできる。   In one embodiment of the present invention, the gaming machine control chip can be incorporated into a board, and the board can be included in a gaming machine.

本発明の実施例による遊技機システムの外観を示す図である。It is a figure which shows the external appearance of the game machine system by the Example of this invention. 本発明の実施例による遊技機における各チップの概要図である。It is a schematic diagram of each chip in the gaming machine according to the embodiment of the present invention. 本発明の実施例による遊技機制御用チップの概略を示したブロック図である。It is the block diagram which showed the outline of the chip | tip for game machine control by the Example of this invention. 本発明の実施例による遊技機制御用チップが有するユーザROMのメモリマップを示す図である。It is a figure which shows the memory map of the user ROM which the game machine control chip | tip by the Example of this invention has. 従来のプログラムの実行により大当たり信号が出力処理されるフローを示す図である。It is a figure which shows the flow by which the jackpot signal is output-processed by execution of the conventional program. 本発明の実施例による遊技情報出力回路を含む遊技機制御用チップの概要を説明するブロック図である。It is a block diagram explaining the outline | summary of the game machine control chip | tip containing the game information output circuit by the Example of this invention. 本発明の実施例による遊技情報出力回路のデータ取り込み動作のフローを示す図である。It is a figure which shows the flow of the data acquisition operation | movement of the game information output circuit by the Example of this invention. CPUコアが大当たり信号を示すスタティック信号をRAMの所定のアドレスに書き込む場合の遊技情報出力回路の動作を示す図である。It is a figure which shows operation | movement of the game information output circuit when a CPU core writes the static signal which shows a jackpot signal in the predetermined address of RAM. CPUコアが図柄停止信号を示すパルス信号をRAMの所定のアドレスに書き込む場合の遊技情報出力回路の動作を示す図である。It is a figure which shows operation | movement of the game information output circuit when a CPU core writes the pulse signal which shows a symbol stop signal in the predetermined address of RAM. CPUコアが、賞球信号を示すパルス連続信号を、RAMの所定のアドレスに書き込む場合の遊技情報出力回路の動作を示す図である。It is a figure which shows operation | movement of the game information output circuit in case a CPU core writes the continuous pulse signal which shows a prize ball signal to the predetermined address of RAM. 出力信号生成回路の1つの入力位置に対応するパルス生成回路の機能フローを示す図である。It is a figure which shows the functional flow of the pulse generation circuit corresponding to one input position of an output signal generation circuit. 出力信号生成回路の1つの入力位置に対応するパルス生成回路の機能ブロックを示す図である。It is a figure which shows the functional block of the pulse generation circuit corresponding to one input position of an output signal generation circuit. 本発明の実施例による遊技機制御用チップの遊技情報出力の概要を説明するブロック図である。It is a block diagram explaining the outline | summary of the game information output of the chip for gaming machine control by the Example of this invention.

これより図面を参照して、本発明に係る遊技機制御用チップについて説明する。その前に当該チップに関係する遊技システムの構成、遊技システムにおける各チップの構成を説明する。   A gaming machine control chip according to the present invention will now be described with reference to the drawings. Before that, the configuration of the gaming system related to the chip and the configuration of each chip in the gaming system will be described.

遊技機システムの構成
図1は、本発明の実施例によるパチンコシステム100を示す。本実施例では、遊技機の一例としてパチンコ機を用いて説明するが、パチスロ機などの他の遊技機に置き換えてもよい。図1において、システム100は、2台のパチンコ機105、110、及び抽選媒体供給装置(玉貸し装置又はサンドとも呼ばれる)115を備える。
Diagram 1 of the gaming machine system indicates a pachinko system 100 according to an embodiment of the present invention. In this embodiment, a pachinko machine will be described as an example of a gaming machine, but it may be replaced with another gaming machine such as a pachislot machine. In FIG. 1, the system 100 includes two pachinko machines 105 and 110 and a lottery medium supply device (also called a ball lending device or a sand) 115.

パチンコ機105は、抽選の実行及び抽選結果の表示を行う遊技盤部120、抽選結果に応じて払出を行う払出部125、及び、ハンドル部130を備える。パチンコ機110は、パチンコ機105と同様な構成を備えている。パチンコ機105、110は、払出部125から実際の玉を排出することができる。   The pachinko machine 105 includes a game board unit 120 that executes a lottery and displays a lottery result, a payout unit 125 that makes a payout according to the lottery result, and a handle unit 130. The pachinko machine 110 has the same configuration as the pachinko machine 105. The pachinko machines 105 and 110 can discharge the actual balls from the payout unit 125.

抽選媒体供給装置115は、購入したパチンコ玉をパチンコ機105に供給する。抽選媒体供給装置115は、コイン投入部135を有し、遊技者によるコインの投入に応じて、抽選媒体であるパチンコ玉やメダルをパチンコ機105に供給する。抽選媒体が、紙幣やプリペイドカードなどの投入に応じて供給される場合、コイン投入部135は、紙幣やプリペイドカードなどの投入部とすることができる。遊技者が抽選媒体供給装置115にコイン等を投入することによって、抽選媒体供給装置115は、投入されたコイン等に対応する抽選媒体をパチンコ機105に供給する。パチンコ機105は、抽選媒体に応じて、遊技者にゲームを行わせる。ハンドル部130は、遊技者がパチンコ玉をパチンコ機105に打ち出すのに使用される。   The lottery medium supply device 115 supplies the purchased pachinko balls to the pachinko machine 105. The lottery medium supply device 115 has a coin insertion unit 135 and supplies a pachinko ball or medal as a lottery medium to the pachinko machine 105 in accordance with the insertion of a coin by a player. When the lottery medium is supplied in response to insertion of a bill or a prepaid card, the coin insertion unit 135 can be an insertion unit such as a bill or a prepaid card. When the player inserts coins or the like into the lottery medium supply device 115, the lottery medium supply device 115 supplies the lottery medium corresponding to the inserted coins or the like to the pachinko machine 105. The pachinko machine 105 causes the player to play a game in accordance with the lottery medium. The handle portion 130 is used by a player to launch a pachinko ball into the pachinko machine 105.

遊技機システムにおける各チップの構成
図2は、本発明の実施例による遊技機における各チップ200の概要を示した図である。遊技機システムにおいて、遊技盤部120、払出部125は、それぞれ独立した基板で構成されており、それぞれ独立したチップ(マイクロプロセッサ)を有する。
Configuration of Each Chip in the Gaming Machine System FIG. 2 is a diagram showing an outline of each chip 200 in the gaming machine according to the embodiment of the present invention. In the gaming machine system, the game board unit 120 and the payout unit 125 are each composed of an independent substrate, and each have an independent chip (microprocessor).

遊技盤部120は、遊技機制御用基板210上に搭載された遊技機制御用チップ215によって制御される。払出部125は、払出制御用基板220上に搭載された払出制御用チップ225によって制御される。遊技機制御用チップ215は払出制御用チップ225に接続される。   The gaming board 120 is controlled by a gaming machine control chip 215 mounted on the gaming machine control board 210. The payout unit 125 is controlled by a payout control chip 225 mounted on the payout control board 220. The gaming machine control chip 215 is connected to the payout control chip 225.

遊技機制御用チップ215は、玉の検出、抽選、入賞時の払出の通知、画像や音などの演出制御などを行う。具体的には例えば、入賞時などの玉の払出しが必要なときに払出制御用チップ225に対し払出命令を送信したり、遊技機に搭載される液晶画面(図示せず)の制御を行うときに画像制御用チップ(図示せず)に画像制御命令を送信したりすることで遊技の制御を行う。本発明に係る実施形態においては、遊技機制御用チップ215に、外部端子板や試射試験用中継基板を接続することで、所望の信号を出力することができる。   The gaming machine control chip 215 performs ball detection, lottery, notification of payout at the time of winning a prize, control of effects such as images and sounds. Specifically, for example, when a payout command is sent to the payout control chip 225 or when a liquid crystal screen (not shown) mounted on the gaming machine is controlled when it is necessary to pay out a ball such as when winning a prize. The game is controlled by transmitting an image control command to an image control chip (not shown). In the embodiment according to the present invention, a desired signal can be output by connecting an external terminal board or a test fire test relay board to the gaming machine control chip 215.

払出制御用チップ225は、遊技機制御用チップ215が制御する処理以外である払出などの制御を行う。具体的には例えば、遊技機制御用チップ215からの払出命令を受けて、パチンコ玉の払い出しを行う。なお本発明に係る他の実施形態においては、払出制御用チップ225に、外部端子板や試射試験用中継基板を接続することで、所望の信号を遊技機外部へ出力することができる。   The payout control chip 225 performs control such as payout other than the processing controlled by the gaming machine control chip 215. Specifically, for example, a pachinko ball is paid out in response to a payout command from the gaming machine control chip 215. In another embodiment according to the present invention, a desired signal can be output to the outside of the gaming machine by connecting an external terminal board or a test firing relay board to the payout control chip 225.

1つの実施例として、遊技機制御用チップ、及び払出制御用チップは、チップセットとして構成されていてもよい。   As one example, the gaming machine control chip and the payout control chip may be configured as a chip set.

遊技機制御用チップの構成
図3は、本発明の実施の一形態に係る遊技機制御用チップ300のブロック図である。遊技機制御用チップ300は、CPUコア310と、メモリ320と、外部バスインタフェース330と、クロック回路332と、照合用回路334と、固有情報336と、演算回路338と、アドレスデコーダ回路340と、リセットコントローラ342と、モード制御回路348と、セキュリティ回路350と、乱数回路352と、フリーランカウンタ回路354と、タイマ回路356と、割込みコントローラ358と、パラレル出力ポート360と、パラレル入力ポート362と、通信回路364と、遊技情報出力回路370と、これらを接続するCPUバス312と、を備える。
Configuration of Game Machine Control Chip FIG. 3 is a block diagram of a game machine control chip 300 according to an embodiment of the present invention. The gaming machine control chip 300 includes a CPU core 310, a memory 320, an external bus interface 330, a clock circuit 332, a verification circuit 334, specific information 336, an arithmetic circuit 338, an address decoder circuit 340, and a reset. Controller 342, mode control circuit 348, security circuit 350, random number circuit 352, free-run counter circuit 354, timer circuit 356, interrupt controller 358, parallel output port 360, parallel input port 362, communication A circuit 364, a game information output circuit 370, and a CPU bus 312 for connecting them are provided.

CPUコア310は、中央処理部として遊技機の全体的な動作を制御し、1つ以上のレジスタを内蔵する。レジスタとしては、アキュムレータを含む他の専用レジスタや汎用レジスタを用いることができる。   The CPU core 310 controls the overall operation of the gaming machine as a central processing unit and incorporates one or more registers. As the register, another dedicated register including an accumulator or a general-purpose register can be used.

CPUバス312はCPUコア310に接続されたバスであって、データバス、アドレスバス、制御信号等を含む。   The CPU bus 312 is a bus connected to the CPU core 310 and includes a data bus, an address bus, a control signal, and the like.

メモリ320は、ブートROM322、ブートRAM324、ユーザROM326、及びユーザRAM328を含む。ブートROM322はブートプロフラムを格納する。ブートプログラムはセキュリティチェックやチップの初期化を行う。ブートRAM324は、ブートプログラム実行時のRAMである。ブートRAM324がユーザRAM328と異なるRAMとして配置されることによって、ブートRAM324は、ユーザRAM328の情報に影響を与えない構造であり、さらに、ユーザRAM328は、ブートRAM324の情報に影響を与えない構造となっている。   The memory 320 includes a boot ROM 322, a boot RAM 324, a user ROM 326, and a user RAM 328. The boot ROM 322 stores a boot program. The boot program performs security checks and chip initialization. The boot RAM 324 is a RAM when executing the boot program. Since the boot RAM 324 is arranged as a RAM different from the user RAM 328, the boot RAM 324 has a structure that does not affect the information in the user RAM 328, and the user RAM 328 has a structure that does not affect the information in the boot RAM 324. ing.

ユーザROM326は、ユーザプログラムなどの遊技制御用プログラム、遊技機制御用データを格納する。   The user ROM 326 stores game control programs such as user programs and game machine control data.

図4に、1つの実施例としてのユーザROM326のメモリマップを示す。プログラムコードエリアとプログラムデータエリアは、示された範囲の中で自由に設定することができる。例えば遊技機メーカ等のユーザは、遊技機のソフトウェアの開発を実行する際に、プログラムコードエリア及びプログラムデータエリアに自社の遊技機を制御するプログラムを書き込む。下位の64バイトはCPUコア310がユーザプログラムを実行するのに必要な情報を格納するプログラム管理エリアであり、各種コード、チップ内の内部機能設定のためのデータ、不正改造を防止するための情報等を格納する。なお前述した遊技機に関する規則の制約とは、本実施例で示すユーザROM326の記憶容量、制御領域の容量、データ領域の容量等の制限を意味する。図示したメモリマップのアドレスやサイズは実施時の一例であり、この限りではない。   FIG. 4 shows a memory map of the user ROM 326 as one embodiment. The program code area and the program data area can be freely set within the range shown. For example, a user such as a gaming machine manufacturer writes a program for controlling his / her gaming machine in the program code area and the program data area when developing software for the gaming machine. The lower 64 bytes are a program management area for storing information necessary for the CPU core 310 to execute the user program. Various codes, data for setting internal functions in the chip, and information for preventing unauthorized modification. Etc. are stored. Note that the above-mentioned rule restrictions regarding gaming machines mean limitations on the storage capacity of the user ROM 326, the capacity of the control area, the capacity of the data area, and the like shown in this embodiment. The address and size of the illustrated memory map are examples at the time of implementation, and are not limited to this.

ユーザRAM328は、CPUコア310が主にユーザプログラムなどを実行する際に用いられるワークRAMである。ユーザRAM328は、CPUコア310のレジスタに保存されている情報や遊技機制御に必要な情報、遊技結果を示す情報等を保存することもできる。さらにRAMは電源切断後のバックアップ機能を有し、電源切断後もRAM内のデータの保存が可能である。   The user RAM 328 is a work RAM used when the CPU core 310 mainly executes a user program or the like. The user RAM 328 can also store information stored in a register of the CPU core 310, information necessary for game machine control, information indicating a game result, and the like. Further, the RAM has a backup function after the power is turned off, and data in the RAM can be stored even after the power is turned off.

外部バスインタフェース330は、アドレスバス、データバス、及び各制御信号の方向制御や、駆動能力を強化するバスインタフェースである。   The external bus interface 330 is a bus interface that enhances the direction control and drive capability of the address bus, data bus, and control signals.

クロック回路332は、当該クロック回路が備えうるEX端子(図示せず)から入力されたクロックを分周し、CPUコア310や内部の各回路にシステムクロックとして供給する回路である。生成されたシステムクロックは、当該クロック回路332が備えうるCLKO端子(図示せず)から外部に出力することができる。また、システムクロックを分周したクロックを出力することができる。   The clock circuit 332 divides a clock input from an EX terminal (not shown) that can be included in the clock circuit, and supplies the divided clock as a system clock to the CPU core 310 and internal circuits. The generated system clock can be output to the outside from a CLKO terminal (not shown) that the clock circuit 332 can have. Further, a clock obtained by dividing the system clock can be output.

照合用回路334は、外部の照合機と接続し、チップの照合(チップの真がんについてのチェック)を行う回路である。   The verification circuit 334 is a circuit that is connected to an external verification machine and performs chip verification (check for true cancer of the chip).

固有情報336は、複数の固有情報(ID)を含み、その中の特定情報は、ユーザプログラムから読み取ることができる。また、照合用回路334経由で外部より読み出すことが可能である。   The unique information 336 includes a plurality of unique information (ID), and the specific information therein can be read from the user program. Further, it is possible to read from the outside via the verification circuit 334.

演算回路338は、乗算・除算を含む演算を行う回路である。   The arithmetic circuit 338 is a circuit that performs operations including multiplication and division.

アドレスデコーダ回路340は、ユーザプログラムの外部デバイス用のデコード回路であり、チップセレクト信号を出力する。   The address decoder circuit 340 is a decode circuit for an external device of the user program, and outputs a chip select signal.

リセットコントローラ342は、システムリセット端子から入力された外部システムリセット、内部システムリセット、及び内部ユーザリセットを制御する回路である。内部システムリセット及び内部ユーザリセットは、ウォッチドッグタイマタイムアウト信号又は指定エリア外走行禁止(IAT)発生信号を受けて発生する。システムリセットを受け付けるとCPUコア310を含むすべての内部回路が初期化される。ユーザリセットを受け付けるとCPUコア310と一部の内部回路が初期化される。内部システムリセットと内部ユーザリセットは、プログラム管理エリアで選択設定される。ウォッチドッグタイマ344は、チップの暴走を監視するタイマで一定時間内にアクセスがないとタイムアウト信号としてリセットを発生させる回路である。前述したプログラム管理エリアは、ユーザROM326内において、ユーザプログラムを実行するのに必要な情報を格納するエリアであるが、プログラム管理エリアを設定することによりタイムアウト時間を選択することができる。指定エリア外走行禁止(IAT)346は、ユーザプログラムがプログラム管理エリアで設定された指定エリア内で正しく実行されているかどうかを監視する回路である。指定エリア外でユーザプログラムが実行されると、IAT発生信号を出力する。   The reset controller 342 is a circuit that controls an external system reset, an internal system reset, and an internal user reset input from the system reset terminal. The internal system reset and the internal user reset are generated in response to a watchdog timer time-out signal or an out-of-designated area running prohibition (IAT) generation signal. When a system reset is received, all internal circuits including the CPU core 310 are initialized. When a user reset is accepted, the CPU core 310 and some internal circuits are initialized. Internal system reset and internal user reset are selected and set in the program management area. The watchdog timer 344 is a circuit that monitors a chip runaway and is a circuit that generates a reset as a time-out signal when there is no access within a predetermined time. The above-described program management area is an area for storing information necessary for executing the user program in the user ROM 326, but the timeout time can be selected by setting the program management area. The non-designated area travel prohibition (IAT) 346 is a circuit that monitors whether the user program is correctly executed in the designated area set in the program management area. When the user program is executed outside the designated area, an IAT generation signal is output.

モード制御回路348は、システムリセットの入力やPROMモードを要求する信号の入力やセキュリティチェックの結果により、遊技機制御用チップのモードをPROMモード、セキュリティモード、ユーザモードに切り替える回路である。ここで各モードについて説明する。PROMモードは、ユーザROM326にプログラムを書き込むモードで、市販される遊技機に搭載される量産用の遊技機制御用チップにおいては、書き込みは一度だけ可能になっている。セキュリティモードは、ブートROM322により実行されチップの初期化を行った後、遊技機制御用チップのユーザROM326内のプログラムが改ざんされていないか判定するセキュリティチェックを行うモードである。セキュリティチェックは、後述のセキュリティ回路が行う。ユーザモードは、ユーザプログラムに従い、遊技機を動作させるモードで、いわゆる遊技場でユーザが遊技を興じるモードである。遊技機制御用チップは、電源投入後、システムリセット信号が入力され、PROMモード信号の入力があると、PROMモードに移行し、PROMモード信号の入力がなければ、セキュリティモードに移行する。   The mode control circuit 348 is a circuit that switches the mode of the gaming machine control chip between the PROM mode, the security mode, and the user mode based on the input of a system reset, the input of a signal requesting the PROM mode, and the result of the security check. Here, each mode will be described. The PROM mode is a mode in which a program is written in the user ROM 326. In a mass production gaming machine control chip mounted on a commercially available gaming machine, writing can be performed only once. The security mode is a mode for performing a security check to determine whether the program in the user ROM 326 of the gaming machine control chip has been tampered with after the chip is executed by the boot ROM 322 and the chip is initialized. The security check is performed by a security circuit described later. The user mode is a mode in which a gaming machine is operated according to a user program, and is a mode in which a user plays a game at a so-called game hall. When the system reset signal is input after the power is turned on and the PROM mode signal is input, the gaming machine control chip shifts to the PROM mode. If the PROM mode signal is not input, the gaming machine control chip shifts to the security mode.

セキュリティ回路350は、セキュリティモードにおいて、ユーザROM326内のプログラム等の情報が正規のものであるか否かを検査する回路で、ユーザROM326内のプログラムに所定の演算を行い得たコードと、プログラム管理エリア内のセキュリティコードを比較することで、適合を受けたプログラムが改変されていないかを調べる回路である。ここでセキュリティコードとは、ユーザROM326内に格納されているプログラム等の情報をハッシュ計算などの所定の計算式で演算して求めたコードである。比較した結果、一致していれば、正規のプログラムであると判断し、ユーザモードに移行する。一致しなければ、正規のプログラムではないと判断し、CPUコア310を停止し、遊技機は動作しない。なお、このセキュリティモードの時間は設定することで、固定時間で延長したり、ある範囲内でランダムに遅延させたりすることができる。   The security circuit 350 is a circuit for inspecting whether information such as a program in the user ROM 326 is legitimate in the security mode. The security circuit 350 includes a code obtained by performing a predetermined operation on the program in the user ROM 326, and program management. This is a circuit that checks whether the conforming program has been altered by comparing the security codes in the area. Here, the security code is a code obtained by calculating information such as a program stored in the user ROM 326 by a predetermined calculation formula such as hash calculation. If they match as a result of the comparison, it is determined that the program is a legitimate program, and the mode is shifted to the user mode. If they do not match, it is determined that the program is not a legitimate program, the CPU core 310 is stopped, and the gaming machine does not operate. In addition, by setting the time of this security mode, it can be extended by a fixed time or can be delayed at random within a certain range.

乱数回路352は、乱数を発生させる回路であり、例えば8ビット乱数を6チャネル、16ビット乱数を4チャネル発生させることができる。   The random number circuit 352 is a circuit for generating random numbers, and can generate, for example, 6 channels of 8-bit random numbers and 4 channels of 16-bit random numbers.

フリーランカウンタ354は、カウント動作を行うものであり、例えば8ビットのカウンタ4チャネルとすることができる。   The free-run counter 354 performs a counting operation and can be, for example, an 8-bit counter 4 channel.

タイマ回路356は、8ビットのプログラマブルタイマであり、8ビットのカウンタを3チャネル内蔵する。ユーザプログラムの設定により、リアルタイム割込み要求や時間計測をすることができる。   The timer circuit 356 is an 8-bit programmable timer and incorporates three channels of 8-bit counters. Real-time interrupt requests and time measurement can be performed by setting the user program.

割込みコントローラ358は、外部割込み要求や、内蔵の周辺回路(タイマ回路、フリーランカウンタ回路、通信回路、乱数回路)からの割込み要求を制御する回路である。割込み要求をマスク制御することもできる。   The interrupt controller 358 is a circuit that controls external interrupt requests and interrupt requests from built-in peripheral circuits (timer circuit, free-run counter circuit, communication circuit, random number circuit). Interrupt requests can also be masked.

パラレル出力ポート360は、例えば8ビット幅の出力ポートとすることができ、他の機能との兼用端子であることができる。なおパラレル出力ポート360は、遊技機制御用チップの外部に構成することもできる。   The parallel output port 360 can be an output port having an 8-bit width, for example, and can be a terminal shared with other functions. The parallel output port 360 can also be configured outside the gaming machine control chip.

パラレル入力ポート362は、例えば6ビット幅の入力ポートとすることができ、一部の入力端子は他の機能との兼用端子とすることができる。例えば玉の通過センサー等の情報は、パラレル入力ポート362で受信することができる。なおパラレル入力ポート362は、遊技機制御用チップの外部に構成することもできる。   The parallel input port 362 can be, for example, a 6-bit width input port, and some of the input terminals can also be used as other functions. For example, information such as a ball passing sensor can be received by the parallel input port 362. Note that the parallel input port 362 can also be configured outside the gaming machine control chip.

通信回路364は、遊技機制御用チップ300の外部I/O及び外部の機器との非同期、又は同期でシリアル通信を行う回路を備える。   The communication circuit 364 includes a circuit that performs serial communication asynchronously or synchronously with the external I / O of the gaming machine control chip 300 and external devices.

遊技情報出力回路370は、本発明の目的の機能を果たすためのハードウェア回路であって、1つ以上の遊技情報出力データレジスタ(以下「データレジスタ」という)及び出力信号生成回路372を備える。CPUコア310がユーザRAM328の所定のアドレスに遊技情報を書き込むときに、CPUバス312には遊技情報のデータ及びアドレスが出力されるが、1つの実施例としては、遊技情報出力回路370は、CPUバス312で所定のアドレスへの書き込みを検知すると、CPUバス312から遊技情報のデータを取得し、取得したデータをデータレジスタに書き込む。続いて遊技情報出力回路370は、データレジスタに記憶されたデータに基づいて出力信号生成回路372に入力する。データレジスタは、書き込まれたデータを記憶するレジスタであり、例えば1ビットのデータを記憶するフリップフロップ(例えばD‐フリップフロップ)を1個以上(例えば8個)並べて構成される。また、遊技情報出力回路における出力信号生成回路372への入力は、ユーザRAMの所定のアドレスに対応する出力信号生成回路372の入力位置に対応させて入力するように、遊技情報出力回路は構成されることができる。これは例えば、遊技情報出力回路がそれぞれの所定のアドレスに対応するデータレジスタを備え、各データレジスタと出力信号生成回路372の入力位置を関連付けることで、実現されうる。上記の実施例によって、CPUコアを介さず遊技情報出力回路は遊技情報を取得することができる。なお、遊技情報出力回路はクロック(又は分周したクロック)に同期して動作するように構成される。また、上記データレジスタはメモリ回路で構成されても良い、さらに上記データレジスタはCPUより読み書きできる構造とすることもできる。   The game information output circuit 370 is a hardware circuit for performing the objective function of the present invention, and includes one or more game information output data registers (hereinafter referred to as “data registers”) and an output signal generation circuit 372. When the CPU core 310 writes the game information to a predetermined address in the user RAM 328, the game information data and address are output to the CPU bus 312. As one example, the game information output circuit 370 includes a CPU When writing to a predetermined address is detected on the bus 312, game information data is acquired from the CPU bus 312 and the acquired data is written to the data register. Subsequently, the game information output circuit 370 inputs the data to the output signal generation circuit 372 based on the data stored in the data register. The data register is a register that stores written data, and includes, for example, one or more (for example, eight) flip-flops (for example, D-flip-flops) that store 1-bit data. Further, the game information output circuit is configured such that the input to the output signal generation circuit 372 in the game information output circuit is input in correspondence with the input position of the output signal generation circuit 372 corresponding to a predetermined address of the user RAM. Can. This can be realized, for example, by providing the game information output circuit with data registers corresponding to the respective predetermined addresses and associating each data register with the input position of the output signal generation circuit 372. According to the above embodiment, the game information output circuit can acquire the game information without using the CPU core. Note that the game information output circuit is configured to operate in synchronization with a clock (or a divided clock). In addition, the data register may be configured by a memory circuit, and the data register may be configured to be readable / writable by the CPU.

また遊技情報出力回路370は、比較回路及び比較用レジスタをさらに備えることができる。比較回路は、データレジスタに書き込まれたデータ内容を、比較用レジスタのデータ内容と比較する。遊技情報出力回路370は、比較用レジスタのデータを所定の値にすることもできるし、又は比較用レジスタのデータがデータレジスタのデータと差異があった場合にデータレジスタのデータを比較用レジスタに前回値として書き込むようにすることもできる。遊技情報出力回路370は比較回路を備える場合、データレジスタに記憶されたデータに代えて、比較回路による比較結果に基づいて出力信号生成回路372に入力することができる。これは遊技情報が所定の変化をした場合のみ、出力信号生成回路372へ入力する場合に好適である。   The game information output circuit 370 may further include a comparison circuit and a comparison register. The comparison circuit compares the data content written in the data register with the data content in the comparison register. The game information output circuit 370 can set the data in the comparison register to a predetermined value, or if the data in the comparison register is different from the data in the data register, the data in the data register is converted into the comparison register. It can also be written as the previous value. When the game information output circuit 370 includes a comparison circuit, the game information output circuit 370 can be input to the output signal generation circuit 372 based on the comparison result of the comparison circuit, instead of the data stored in the data register. This is suitable for the case where the game information is input to the output signal generation circuit 372 only when the game information has changed a predetermined amount.

出力信号生成回路372は、データレジスタと電気的に接続され、データレジスタに書き込まれた遊技情報の所定のビット位置のビット情報に基づいて、出力信号を生成する。出力信号生成回路372は、データレジスタの各ビットに対応した複数の入力位置を有し、各入力位置とデータレジスタの各ビットを電気的に接続されるように構成することもできる。さらにデータレジスタが複数有る場合には、各データレジスタの各ビットに対応した複数の入力位置を有し、各入力位置と各データレジスタの各ビットが電気的に接続されるように構成することもできる。また、遊技機制御用チップは、出力信号を出力するための出力端子を備えることができる。出力信号の出力方法の1つの実施例としては、出力信号生成回路372は、データレジスタに記憶された遊技情報の所定のビット位置のビット情報に基づいてそれぞれの波形を生成し、パラレル信号として出力端子から出力するか、又は当該ビット情報を順番に取り出して並べて1つのシリアル信号として波形を生成し出力端子から出力することもできる。他の実施例としては、出力信号生成回路372は、データレジスタからの入力信号に基づいて、所定の時間幅と電圧を有するパルス波形を生成する。入力信号(トリガー信号)の入力位置に基づいた数量のパルスを生成することや入力信号の入力位置に基づいた出力端子から出力することもできる。これは所定のアドレス(ビット)ごとにパラレル信号として波形を生成し出力端子から出力することもできるし、これらの信号を1つにまとめてシリアル信号として波形を生成し出力端子から出力することもできる。なお、パルス波形の時間幅と電圧、出力する出力端子位置、及び生成するパルス数量については、遊技情報出力回路でハードウェア的に設定することもできるし、又はユーザプログラム若しくはブートプログラムによりプログラム管理エリアに置かれたデータをソフトウェア的に設定することもできる。またさらなる実施例としては、出力信号生成回路372は、データレジスタに書き込まれた遊技情報の所定のビット位置のビット情報に基づいて予め定められた出力波形を有するシリアル出力信号を生成し出力端子より出力することができる。遊技機制御用チップと専用ICは、さらに暗号回路と復号回路を備えることにより、当該シリアル出力信号を暗号化して通信することができる。   The output signal generation circuit 372 is electrically connected to the data register, and generates an output signal based on bit information at a predetermined bit position of the game information written in the data register. The output signal generation circuit 372 can have a plurality of input positions corresponding to each bit of the data register, and can be configured such that each input position and each bit of the data register are electrically connected. Further, when there are a plurality of data registers, it may be configured to have a plurality of input positions corresponding to each bit of each data register and to electrically connect each input position and each bit of each data register. it can. In addition, the gaming machine control chip can include an output terminal for outputting an output signal. As one embodiment of the output signal output method, the output signal generation circuit 372 generates each waveform based on the bit information at a predetermined bit position of the game information stored in the data register, and outputs it as a parallel signal. It is possible to output from the terminal, or to extract the bit information in order and generate a waveform as one serial signal and output it from the output terminal. As another embodiment, the output signal generation circuit 372 generates a pulse waveform having a predetermined time width and voltage based on an input signal from the data register. It is also possible to generate a quantity of pulses based on the input position of the input signal (trigger signal) and to output from the output terminal based on the input position of the input signal. This can generate a waveform as a parallel signal for each predetermined address (bit) and output it from the output terminal, or combine these signals into one to generate a waveform as a serial signal and output it from the output terminal. it can. The time width and voltage of the pulse waveform, the output terminal position to be output, and the number of pulses to be generated can be set by hardware in the game information output circuit, or can be set in the program management area by the user program or the boot program. It is also possible to set the data placed in the software. As a further embodiment, the output signal generation circuit 372 generates a serial output signal having a predetermined output waveform based on bit information at a predetermined bit position of game information written in the data register, and outputs it from an output terminal. Can be output. The gaming machine control chip and the dedicated IC can further communicate with each other by encrypting the serial output signal by further including an encryption circuit and a decryption circuit.

上記のように遊技機専用チップからパラレル信号かパルス信号かシリアル信号により出力されるが遊技機外部装置でこの信号を受信し、遊技機の状態が外部で把握でき、その信号は試射試験装置の入力情報にも使用可能となる。   As mentioned above, it is output from the gaming machine dedicated chip as a parallel signal, pulse signal or serial signal, but this signal is received by the external device of the gaming machine, and the state of the gaming machine can be grasped externally, and the signal of the test firing test device It can also be used for input information.

また遊技機の遊技情報出力がシリアルデータの場合は遊技機の内部又は外部基板上の専用回路(専用IC)によって、遊技機制御用チップの出力端子を介した通信により当該シリアル出力信号を受信し、パラレルデータに変換したあと各ビットの情報により遊技機の状態が把握できる。   In addition, when the gaming information output of the gaming machine is serial data, the serial output signal is received by communication via the output terminal of the gaming machine control chip by a dedicated circuit (dedicated IC) on the inside or outside board of the gaming machine, After converting to parallel data, the state of the gaming machine can be grasped from the information of each bit.

ここで出力信号生成回路372が、出力信号を生成し、出力端子から出力する前に、遊技情報出力回路370が出力信号生成回路372へ信号を次々に入力してしまう可能性がある。これによる情報の欠損を防ぐため、遊技情報出力回路は、キュー構造の記憶回路をさらに備えることができるか、又はデータレジスタがFIFOタイプのレジスタであることができる。これによって、データレジスタに書き込まれるデータをキュー構造の記憶回路に蓄積し、順次出力信号生成回路372に入力することができる。   Here, there is a possibility that the game information output circuit 370 may successively input signals to the output signal generation circuit 372 before the output signal generation circuit 372 generates an output signal and outputs the output signal from the output terminal. In order to prevent the loss of information due to this, the game information output circuit may further include a queue-structured storage circuit, or the data register may be a FIFO type register. Thus, data to be written to the data register can be accumulated in the queue-structured storage circuit and sequentially input to the output signal generation circuit 372.

遊技機制御用チップの遊技情報出力
以下、本発明の実施の一形態に係る遊技機制御用チップにおける遊技情報出力について説明する。最初に遊技情報について説明する。遊技情報は所定のビット数を持つ(一般的には複数のビットから構成される)遊技に関する遊技情報であって、パラレル入力ポートから受信する玉の通過センサー等の情報に基づいて、遊技機制御用チップが作成する。1つの実施例において遊技情報は、大当たり信号を示すスタティック信号、図柄停止信号を示すパルス信号、賞球信号を示すパルス連続信号を含む。
Game Information Output of Game Machine Control Chip Hereinafter, game information output in the game machine control chip according to an embodiment of the present invention will be described. First, game information will be described. The game information is game information relating to a game having a predetermined number of bits (generally composed of a plurality of bits), for controlling the gaming machine based on information such as a ball passing sensor received from the parallel input port. Created by the chip. In one embodiment, the game information includes a static signal indicating a jackpot signal, a pulse signal indicating a symbol stop signal, and a continuous pulse signal indicating a prize ball signal.

次にCPUコアの動作について説明する。CPUコアは、遊技の結果発生した当該遊技情報を遊技情報用エリアに格納した後、ユーザRAMの所定のアドレスに書き込む。なお遊技機制御用チップのユーザは、遊技情報のビットサイズ、遊技情報を格納するユーザRAMのアドレス等を設定することができる。   Next, the operation of the CPU core will be described. The CPU core stores the game information generated as a result of the game in the game information area, and then writes it in a predetermined address of the user RAM. The user of the gaming machine control chip can set the bit size of the game information, the address of the user RAM that stores the game information, and the like.

従来、ユーザRAMの所定のアドレスに記憶された遊技情報は、CPUコアでのプログラムの実行により、液晶・役物出力、外部端子板出力、及び試射試験用出力を行っていた。その例示として、大当たり信号がプログラムによって出力処理するフローを図5に示す。なおCPUコア内のレジスタの動作等の詳細の流れは省略する。遊技機制御用チップは、玉の通過センサー等の情報に基づいて大当たりや小当たりの動作を行いその遊技情報を出力するように構成される。遊技機の動作が開始すると、大当たりや小当たり等の当たりの状況に応じた遊技情報を出力した場合に(S501)、当該遊技情報を遊技情報用エリアに格納した後、ユーザRAMの所定のアドレスに格納する(S502)。続いて格納された遊技情報を、外部出力用に設定されたI/O領域に書き込み(S503)、外部I/Oに出力し、各種状態出力処理を行う(S504)。遊技が終了すると本フローは終了する(S505)。この時、外部I/Oに出力される信号はプログラムにより信号の属性により、スタティックな状態出力で出力するか又はタイマ割込み処理等により波形を形成した信号によるパルス信号又は連続したパルス信号で出力されていた。   Conventionally, game information stored at a predetermined address of the user RAM has been subjected to a liquid crystal / function output, an external terminal board output, and a test firing test output by executing a program in the CPU core. As an example, FIG. 5 shows a flow in which a jackpot signal is output by a program. The detailed flow of register operations in the CPU core is omitted. The gaming machine control chip is configured to perform a jackpot or a jackpot operation based on information such as a ball passing sensor and output the game information. When operation of the gaming machine is started, when game information according to the status of winning such as big win or small win is output (S501), the game information is stored in the game information area, and then a predetermined address of the user RAM (S502). Subsequently, the stored game information is written in the I / O area set for external output (S503), and is output to the external I / O, and various state output processing is performed (S504). When the game ends, this flow ends (S505). At this time, the signal output to the external I / O is output as a static state output according to the signal attribute by the program, or as a pulse signal or a continuous pulse signal based on a signal whose waveform is formed by timer interrupt processing or the like. It was.

続いて遊技情報出力回路の動作について説明する。本発明においては、他の動作と連動したプログラムにおいて出力される液晶・役物出力以外の外部端子板出力及び試射試験用出力について、遊技情報出力回路がCPUコアを介さずに行う。すなわち、前述したS503、S504をプログラムの実行により行うのではなく、遊技情報出力回路により行う。その遊技情報出力回路を含む遊技機制御用チップの概要図を図6に、遊技情報出力回路でのデータ取り込み動作フローを図7に示す。図6に示すように、CPUバス312は、データバス(D0−D7)、アドレスバス(A0−A15)、制御信号(RD、WR)を含む。なお、その他の制御信号(チップセレクト信号や当該信号に関係するアドレスデコーダ回路)については省略する。CPUコア310は、ユーザRAM328の所定のアドレスに遊技情報を書き込むときに、CPUバス312上に遊技情報のデータ(D0−D7)、ユーザRAMの所定のアドレスデータ(A0−A15)、及び書き込み信号(WR)を出力する。ここで遊技情報出力回路370は、CPUバス312をモニタし、ユーザRAM328の所定のアドレスデータへの書き込みを受信(検知)した場合に(S701)、当該所定のアドレスに書き込まれる遊技情報のデータを取得し(S702)、データレジスタに書き込みを行う(S703)。データレジスタへの書き込みは、所定のアドレスのデータ(8ビット)をそのまま書き込む構成とすることもできるし、所定のアドレスのデータの一部のビットを選択的に書き込む構成とすることもできる。なおデータレジスタはデータとして取得する遊技情報を格納することができるサイズを有する。   Next, the operation of the game information output circuit will be described. In the present invention, the game information output circuit performs the external terminal board output and the test firing test output other than the liquid crystal / function output output in a program linked with other operations without using the CPU core. That is, the above-described S503 and S504 are not performed by executing the program, but by the game information output circuit. FIG. 6 shows a schematic diagram of a gaming machine control chip including the game information output circuit, and FIG. 7 shows a data fetch operation flow in the game information output circuit. As shown in FIG. 6, the CPU bus 312 includes a data bus (D0-D7), an address bus (A0-A15), and control signals (RD, WR). Other control signals (chip select signal and address decoder circuit related to the signal) are omitted. When the CPU core 310 writes game information to a predetermined address of the user RAM 328, game information data (D0-D7), predetermined address data (A0-A15) of the user RAM, and a write signal on the CPU bus 312 (WR) is output. Here, the game information output circuit 370 monitors the CPU bus 312 and receives (detects) writing to a predetermined address data in the user RAM 328 (S701), and outputs the game information data written to the predetermined address. Obtain (S702) and write to the data register (S703). Writing to the data register may be configured to write data (8 bits) at a predetermined address as it is, or may be configured to selectively write some bits of data at a predetermined address. The data register has a size capable of storing game information acquired as data.

なお遊技機制御用チップは、遊技情報出力回路が行う以外の動作についてはCPUコアを介したプログラムの実行により行う。プログラムの実行は、主に命令フェッチ(命令コードの読み込み)、デコード(命令コードの解析)、命令実行(命令コードに対応する動作)の流れになり、命令フェッチ、命令実行時にCPUバスを使用することになる。前述した遊技情報出力回路におけるデータ取得は、このCPUコアの命令実行時におけるRAMへのデータ格納時の動作である。またユーザプログラムを設定することにより、CPUコアを介して遊技情報を、遊技情報出力回路のデータレジスタに書き込むことができてもよい。   The gaming machine control chip performs operations other than those performed by the game information output circuit by executing a program via the CPU core. The program execution mainly consists of instruction fetch (instruction code reading), decoding (instruction code analysis), and instruction execution (operation corresponding to the instruction code). The CPU bus is used for instruction fetch and instruction execution. It will be. The above-described data acquisition in the game information output circuit is an operation at the time of data storage in the RAM when the CPU core executes an instruction. Also, by setting a user program, game information may be written to a data register of the game information output circuit via the CPU core.

さらに遊技情報出力回路の動作について説明する。第1の実施例においては、遊技情報出力回路は、ユーザRAMの所定のアドレスデータへの書き込みを検知すると、当該アドレスに書き込まれる遊技情報のデータを取得し、データレジスタ(保持用レジスタ)に取得したデータを書き込み、データレジスタに記憶されたデータに基づいて出力信号生成回路に入力する。なお、データレジスタは書き込まれたビット情報を、新たに書き込まれるまで保持するように構成される。出力信号生成回路は、データレジスタが記憶するビット情報に基づいて、データレジスタの各ビット情報に対応する信号をパラレル信号として出力するか、又はデータレジスタの各ビット情報を順番に取り出して並べて1つのシリアル信号として出力する。いずれの場合も遊技機制御用チップは、出力に必要な数の端子を備える。シリアル信号として出力する場合、出力信号生成回路はさらに暗号通信機能を備えることができる。   Further, the operation of the game information output circuit will be described. In the first embodiment, when the game information output circuit detects writing to a predetermined address data in the user RAM, the game information output circuit acquires the game information data written to the address, and acquires it in the data register (holding register). The written data is written and input to the output signal generation circuit based on the data stored in the data register. The data register is configured to hold the written bit information until it is newly written. The output signal generation circuit outputs a signal corresponding to each bit information of the data register as a parallel signal based on the bit information stored in the data register, or takes out and arranges each bit information of the data register in order. Output as a serial signal. In any case, the gaming machine control chip has a number of terminals necessary for output. In the case of outputting as a serial signal, the output signal generation circuit can further have an encryption communication function.

第1の実施例の1つとして、図8は、CPUコア310が大当たり信号を示すスタティック信号をRAM328の所定のアドレス(例えば「7XX1h」)に書き込む場合の遊技情報出力回路370の動作を示す図である。アドレス「7XX1h」はビット0からビット7までの8ビットからなり、各ビットはそれぞれスタティック出力0からスタティック出力7に対応する。8ビットの一部のビットのみをスタティック出力に対応させてもよい。CPUコア310は大当たりが開始すると対応するビットに「1」を、大当たりが終了すると対応するビットに「0」を書き込む。この場合遊技情報出力回路370は、CPUバス312をモニタし、アドレス「7XX1h」の書き込みを検知すると、アドレス「7XX1h」のビット0からビット7へ書き込まれた「0」又は「1」をCPUバス312から取得し、対応するデータレジスタのビット0からビット7に当該ビット情報を書き込む。出力信号生成回路372は、データレジスタの各ビットに対応した複数の入力位置を有し、各入力位置とデータレジスタの各ビットが電気的に接続される構成とすることもできる。出力信号生成回路372は、データレジスタに記憶されたビット0からビット7のビット情報(スタティック出力0からスタティック出力7)に基づいてスタティック信号波形を生成し、パラレル信号を出力するか、又はデータレジスタに記憶されたビット0からビット7のビット情報を順番に取り出して並べて1つのシリアル信号として出力する。このようにして本実施例では、RAMへの書き込みデータを、CPUコアを介さずに出力端子へ出力することができる。   As one of the first embodiments, FIG. 8 is a diagram showing the operation of the game information output circuit 370 when the CPU core 310 writes a static signal indicating a jackpot signal to a predetermined address (eg, “7XX1h”) of the RAM 328. It is. The address “7XX1h” includes 8 bits from bit 0 to bit 7, and each bit corresponds to static output 0 to static output 7, respectively. Only a part of the 8 bits may correspond to the static output. The CPU core 310 writes “1” in the corresponding bit when the jackpot starts and writes “0” in the corresponding bit when the jackpot ends. In this case, the game information output circuit 370 monitors the CPU bus 312 and, when detecting the writing of the address “7XX1h”, the CPU bus outputs “0” or “1” written from bit 0 to bit 7 of the address “7XX1h”. The bit information is acquired from 312 and the bit information is written into bit 0 to bit 7 of the corresponding data register. The output signal generation circuit 372 may have a plurality of input positions corresponding to each bit of the data register, and each input position and each bit of the data register may be electrically connected. The output signal generation circuit 372 generates a static signal waveform based on bit information (bits 0 to 7) stored in the data register and outputs a parallel signal, or outputs a parallel signal. Are sequentially extracted and arranged and output as one serial signal. Thus, in this embodiment, the write data to the RAM can be output to the output terminal without going through the CPU core.

第2の実施例においては、遊技情報出力回路は、ユーザRAMの所定のアドレスデータへの書き込みを検知すると、当該アドレスに書き込まれる遊技情報のデータを取得し、データレジスタに取得したデータを書き込み、データレジスタは書き込まれたビット情報を、出力信号生成回路へ入力信号(トリガー信号)を入力するように構成される。出力信号生成回路は、入力信号に基づいて、所定の時間幅と電圧を有するパルス波形を生成し、入力信号の入力位置に基づいた出力端子から出力する。また、入力信号の入力位置に基づいたパルス数を生成するように構成されることもできる。遊技機制御用チップは、ユーザRAMの所定のアドレス又はビットに対応した出力端子を備えることで、ユーザRAMの各ビットに対応して1パルス波形又は複数のパルス波形を出力することができる。   In the second embodiment, when the game information output circuit detects writing to predetermined address data in the user RAM, the game information output circuit acquires game information data written to the address, and writes the acquired data to the data register. The data register is configured to input the written bit information to the output signal generation circuit as an input signal (trigger signal). The output signal generation circuit generates a pulse waveform having a predetermined time width and voltage based on the input signal, and outputs the pulse waveform from the output terminal based on the input position of the input signal. It can also be configured to generate the number of pulses based on the input position of the input signal. The gaming machine control chip includes an output terminal corresponding to a predetermined address or bit of the user RAM, and can output one pulse waveform or a plurality of pulse waveforms corresponding to each bit of the user RAM.

第2の実施例の1つとして、図9は、CPUコア310が図柄停止信号を示すパルス信号をRAM328の所定のアドレス(例えば「7XX2h」)に書き込む場合の遊技情報出力回路370の動作を示す図である。アドレス「7XX2h」はビット0からビット7までの8ビットからなり、各ビットはそれぞれパルス出力0からパルス出力7に対応する。8ビットの一部のビットのみをパルス出力に対応させてもよい。CPUコア310は図柄停止毎に対応するビットに「1」を書き込む(「0」は書き込まない)。この場合遊技情報出力回路370は、CPUバス312をモニタすることでアドレス「7XX2h」の書き込みを検知すると、アドレス「7XX2h」のビット0からビット7へ書き込まれたビット情報(「1」)をCPUバス312から取得し、所定のアドレス「7XX2h」に対応するデータレジスタのうち、アドレス「7XX2h」で「1」が書き込まれたビットに対応するビットに「1」を書き込む。続いて遊技情報出力回路370は、アドレス「7XX2h」のビット0からビット7に対応する出力信号生成回路372の入力位置に、データレジスタに書き込まれたビット情報を入力する。すなわちここでは、データレジスタに「1」が書き込まれたビットに対応する出力信号生成回路372の入力位置のみ「1」が入力される。出力信号生成回路372は、「1」が入力されるごとに所定の時間幅と電圧を有する1パルス波形を1つ生成する。また、入力位置に対応した既定の出力端子へ出力することもできる。このようにして本実施例では、CPUコアを介さずに出力端子へ1パルス出力をすることができる。   As one of the second embodiments, FIG. 9 shows the operation of the game information output circuit 370 when the CPU core 310 writes a pulse signal indicating a symbol stop signal to a predetermined address (eg, “7XX2h”) of the RAM 328. FIG. The address “7XX2h” is composed of 8 bits from bit 0 to bit 7, and each bit corresponds to pulse output 0 to pulse output 7, respectively. Only a part of the 8 bits may correspond to the pulse output. The CPU core 310 writes “1” in the corresponding bit every time the symbol is stopped (“0” is not written). In this case, when the game information output circuit 370 detects the writing of the address “7XX2h” by monitoring the CPU bus 312, the bit information (“1”) written from the bit 0 to the bit 7 of the address “7XX2h” is stored in the CPU. Of the data register corresponding to the predetermined address “7XX2h” acquired from the bus 312, “1” is written into the bit corresponding to the bit in which “1” is written at the address “7XX2h”. Subsequently, the game information output circuit 370 inputs the bit information written in the data register to the input position of the output signal generation circuit 372 corresponding to bit 0 to bit 7 of the address “7XX2h”. That is, here, “1” is input only at the input position of the output signal generation circuit 372 corresponding to the bit in which “1” is written in the data register. The output signal generation circuit 372 generates one 1-pulse waveform having a predetermined time width and voltage every time “1” is input. It can also be output to a predetermined output terminal corresponding to the input position. In this way, in this embodiment, one pulse can be output to the output terminal without going through the CPU core.

さらに第2の実施例の1つとして、図10は、CPUコア310が、賞球信号を示すパルス連続信号を、RAM328の所定のアドレス(例えば「7XX3h」)に書き込む場合の遊技情報出力回路370の動作を示す図である。アドレス「7XX3h」はビット0からビット7までの8ビットからなり、各ビットはそれぞれパルス出力0からパルス出力7に対応する。8ビットの一部のビットのみをパルス出力に対応させてもよい。CPUコア310は賞球の球数に応じて当該ビットに「1」を書き込む(「0」は書き込まない。)。ここでは、CPUコア310は賞球10個毎に1パルス出す等のようにRAM328に書き込み命令を実行し、例えばRAM328のあるビットに「1」を書き込むと2パルス出力し、別のあるビットに「1」を書き込むと3パルス出力するように構成される。この場合遊技情報出力回路370は、CPUバス312をモニタすることでアドレス「7XX3h」の書き込みを検知すると、アドレス「7XX3h」のビット0からビット7へ書き込まれたビット情報(「1」)をCPUバス312から取得し、所定のアドレス「7XX3h」に対応するデータレジスタのうち、アドレス「7XX3h」で「1」が書き込まれたビットに対応するビットに「1」を書き込む。続いて遊技情報出力回路370は、アドレス「7XX3h」のビット0からビット7に対応する出力信号生成回路372の入力位置に、データレジスタに書き込まれたビット情報を入力する。すなわちここでは、データレジスタに「1」が書き込まれたビットに対応する出力信号生成回路372の入力位置のみ「1」が入力される。出力信号生成回路372は、「1」が入力されるごとに、入力位置に対応した既定の数、所定の時間幅と電圧を有するパルス波形を生成する。入力位置に対応した既定の出力端子へ出力することもできる。このようにして本実施例では、CPUコアが連続パルス出力を命令する場合に、CPUコアを介さずに出力端子へ連続パルス出力をすることができる。遊技情報出力回路は、所定のアドレス(例えば「7XX4h」等)に対応させたデータレジスタをさらに含むことができ、それぞれのデータレジスタの各ビットに対応させた出力信号生成回路の入力位置へビット情報を入力するように構成することができる。このような構成により、入力位置に対応した様々な種類、数のパルスを生成することが可能となる。   Further, as one of the second embodiments, FIG. 10 shows a game information output circuit 370 when the CPU core 310 writes a pulse continuous signal indicating a prize ball signal to a predetermined address (for example, “7XX3h”) of the RAM 328. FIG. The address “7XX3h” is composed of 8 bits from bit 0 to bit 7, and each bit corresponds to pulse output 0 to pulse output 7, respectively. Only a part of the 8 bits may correspond to the pulse output. The CPU core 310 writes “1” in the bit according to the number of winning balls (“0” is not written). Here, the CPU core 310 executes a write command to the RAM 328 such that one pulse is output for every ten winning balls, and for example, when “1” is written in a certain bit of the RAM 328, two pulses are output and another one bit is output. When “1” is written, 3 pulses are output. In this case, when the game information output circuit 370 detects the writing of the address “7XX3h” by monitoring the CPU bus 312, the bit information (“1”) written from the bit 0 to the bit 7 of the address “7XX3h” is stored in the CPU. Of the data register corresponding to the predetermined address “7XX3h” acquired from the bus 312, “1” is written to the bit corresponding to the bit in which “1” is written at the address “7XX3h”. Subsequently, the game information output circuit 370 inputs the bit information written in the data register to the input position of the output signal generation circuit 372 corresponding to bit 0 to bit 7 of the address “7XX3h”. That is, here, “1” is input only at the input position of the output signal generation circuit 372 corresponding to the bit in which “1” is written in the data register. Each time “1” is input, the output signal generation circuit 372 generates a pulse waveform having a predetermined number corresponding to the input position, a predetermined time width and voltage. It is also possible to output to a predetermined output terminal corresponding to the input position. In this way, in this embodiment, when the CPU core commands the continuous pulse output, it is possible to output the continuous pulse to the output terminal without going through the CPU core. The game information output circuit can further include a data register corresponding to a predetermined address (for example, “7XX4h”, etc.), and bit information is input to the input position of the output signal generation circuit corresponding to each bit of each data register. Can be configured to input. With such a configuration, various types and numbers of pulses corresponding to the input position can be generated.

ここで第2の実施例における1つの実施形態に係る出力信号生成回路372の1つの入力位置に対応するパルス生成回路374の機能フローを図11に示す。出力信号生成回路は1つ以上のパルス生成回路を備えることができる。なお、出力信号生成回路(パルス生成回路)の初期値の設定、例えばパルスカウント数の初期値の設定、パルス出力値(電圧)の初期値の設定、パルス幅時間(T1)の設定、又はパルス間隔幅時間(T2)の設定は、ハードウェア回路にて固定としても良いがCPUバスを通してプログラム(ユーザプログラム若しくはブートプログラム)にて行うこともできる。データレジスタからの保持データ(「1」)を受信すると(S1101)、カウンタを起動し、パルスカウント数の初期値を設定する(S1102)。続いて出力値に初期値をセットし、初期値の出力を開始する。(S1103)。なお、ここでは出力開始前の信号を「0(0V)」、出力開始後の信号を「1(5V)」での構成を想定しているが、信号はこの逆であっても構わない。出力を開始すると既定のパルス幅の時間(T1)カウントを開始し(S1104)、T1経過時に出力信号を反転する(S1105)。出力信号の反転は、元の出力が「0」であった場合は「1」の出力となり、元の出力が「1」であった場合は「0」の出力となることを意味する。続いて既定のパルス間隔幅の時間(T2)カウントを開始し(S1106)、パルスカウント数を更新する(S1107)。本フローではカウンタはダウンカウンタであるため、更新すると回数が「−1」される。パルスカウント数が「0」に達した場合に(S1108)パルス出力を終了する(S1109)。パルスカウント数が「0」でない場合は(S1108)、パルス生成を継続する。以上の動作をパルスカウント数が「0」となるまで継続する。   FIG. 11 shows a functional flow of the pulse generation circuit 374 corresponding to one input position of the output signal generation circuit 372 according to one embodiment in the second example. The output signal generation circuit can comprise one or more pulse generation circuits. Note that the initial value of the output signal generation circuit (pulse generation circuit) is set, for example, the initial value of the pulse count number, the initial value of the pulse output value (voltage), the setting of the pulse width time (T1), or the pulse The setting of the interval width time (T2) may be fixed by a hardware circuit, but can also be performed by a program (user program or boot program) through the CPU bus. When holding data (“1”) from the data register is received (S1101), the counter is activated and an initial value of the pulse count number is set (S1102). Subsequently, an initial value is set to the output value, and output of the initial value is started. (S1103). Here, it is assumed that the signal before the start of output is “0 (0 V)” and the signal after the start of output is “1 (5 V)”, but the signal may be reversed. When output is started, time (T1) counting with a predetermined pulse width is started (S1104), and the output signal is inverted when T1 elapses (S1105). The inversion of the output signal means that when the original output is “0”, the output is “1”, and when the original output is “1”, the output is “0”. Subsequently, a time (T2) count of a predetermined pulse interval width is started (S1106), and the pulse count number is updated (S1107). In this flow, since the counter is a down counter, the number of times is "-1" when updated. When the pulse count reaches “0” (S1108), the pulse output is terminated (S1109). If the pulse count is not “0” (S1108), pulse generation is continued. The above operation is continued until the pulse count number becomes “0”.

図12に、第2の実施例における1つの実施形態に係る出力信号生成回路372の1つの入力位置に対応するパルス生成回路374の機能ブロック図を示す。パルス生成回路374は、レジスタに「1」が書き込まれると、カウンタを起動し、パルス回数初期値においてパルスカウント数を設定する。続いて初期値設定により出力値に初期値をセットすることで初期値の出力を開始するとともに、パルス幅T1初期値によりパルス幅T1を設定し、パルス幅T1カウンタにおいてパルス幅時間T1の計測を開始する。なお、遊技情報出力回路372は好ましくはクロック(又は分周したクロック)に同期して動作するように構成され、この場合パルス幅T1(T2)カウンタは分周したクロックを使用して計測を行う。パルス幅時間T1が経過すると、データ反転により出力データの反転をするとともに、パルス幅T2初期値によりパルス幅T2を設定し、パルス幅T2カウンタにおいてパルス幅時間T2の計測を開始する。パルス幅時間T2が経過すると、パルス回数カウンタによりパルスカウント数を更新するとともに、データの初期値を出力値とするが、パルスカウント数が「0」に達した場合にはパルス出力を終了する。パルスカウント数が「1」以上である場合は、パルスカウント数が「0」となるまでパルス生成を継続する。なお、出力信号生成回路372の各パルス生成回路374は、パルス出力中であるか否かを示すステータスレジスタをさらに備えることができる。   FIG. 12 is a functional block diagram of the pulse generation circuit 374 corresponding to one input position of the output signal generation circuit 372 according to one embodiment in the second example. When “1” is written to the register, the pulse generation circuit 374 activates the counter and sets the pulse count number in the initial value of the number of pulses. Subsequently, the output of the initial value is started by setting the initial value to the output value by the initial value setting, the pulse width T1 is set by the initial value of the pulse width T1, and the pulse width time T1 is measured by the pulse width T1 counter. Start. The game information output circuit 372 is preferably configured to operate in synchronization with a clock (or a divided clock), and in this case, the pulse width T1 (T2) counter performs measurement using the divided clock. . When the pulse width time T1 elapses, the output data is inverted by data inversion, the pulse width T2 is set by the initial value of the pulse width T2, and measurement of the pulse width time T2 is started in the pulse width T2 counter. When the pulse width time T2 elapses, the pulse count number is updated by the pulse number counter and the initial value of the data is used as the output value. When the pulse count number reaches “0”, the pulse output is terminated. When the pulse count number is “1” or more, the pulse generation is continued until the pulse count number becomes “0”. Each pulse generation circuit 374 of the output signal generation circuit 372 can further include a status register indicating whether or not a pulse is being output.

これら第1、第2の実施例において、遊技情報出力回路はキュー構造の記憶回路をさらに備えることができる。遊技情報出力回路は、データレジスタに書き込んだ遊技情報のデータをキュー構造の記憶回路に蓄積する。キュー構造の記憶回路は蓄積されたビット情報を順次、出力信号生成回路に入力する。データレジスタの各ビットと出力信号生成回路の各入力位置が、それぞれ電気的に接続されている構成である場合、キュー構造の記憶回路はそれぞれのビット毎に配置することもできるし、1バイト毎に配置することもできる。例えば、図10におけるアドレス「7XX3h」用のデータレジスタのビット0と出力信号生成回路の対応する入力位置の間にキュー構造の記憶回路を配置する場合、キュー構造の記憶回路は図11又は図12のパルス出力終了を検知することで、順次「1」の入力信号を出力信号生成回路の対応する入力位置に入力することができる。この場合、キュー構造の記憶回路はステータスレジスタに基づいて、順次「1」の入力信号を出力信号生成回路に入力するように構成してもよい。キュー構造の記憶回路は、「1」が入力されると「1」が加算され、「1」を転送すると「1」が減算されるFIFOカウンタ又はキュー構造のメモリ(レジスタ)で構成することができる。FIFOカウンタは、キュー構造の記憶回路をそれぞれのビット毎に配置する場合に使用され、FIFOメモリは、キュー構造の記憶回路を1バイト毎に配置する場合に使用されうるが、FIFOメモリは、一部のビットのみ使用する構成としてもよい。さらなる変形形態として遊技情報出力回路は、キュー構造の記憶回路をさらに備える代わりに、データレジスタがFIFOレジスタであることもできる。これらのキュー構造の記憶回路を備える実施例においては、遊技情報出力回路が、出力信号生成回路において出力信号を生成し出力端子から出力する前に、出力信号生成回路に次々と入力するのを防ぎたい場合に、キュー構造の記憶回路に情報を蓄積することができる点で有効である。   In these first and second embodiments, the game information output circuit can further include a storage circuit having a queue structure. The game information output circuit stores the game information data written in the data register in a storage circuit having a queue structure. The queue-structure storage circuit sequentially inputs the accumulated bit information to the output signal generation circuit. When each bit of the data register and each input position of the output signal generation circuit are electrically connected to each other, the storage circuit having the queue structure can be arranged for each bit or for each byte. It can also be arranged. For example, when a queue-structure storage circuit is arranged between bit 0 of the data register for the address “7XX3h” in FIG. 10 and the corresponding input position of the output signal generation circuit, the queue-structure storage circuit is the same as that shown in FIG. By detecting the end of pulse output, it is possible to sequentially input “1” input signals to corresponding input positions of the output signal generation circuit. In this case, the queue-structure storage circuit may be configured to sequentially input “1” input signals to the output signal generation circuit based on the status register. The storage circuit having a queue structure may be configured by a FIFO counter or a memory (register) having a queue structure in which “1” is added when “1” is input and “1” is subtracted when “1” is transferred. it can. The FIFO counter is used when a queue structure storage circuit is arranged for each bit, and the FIFO memory can be used when a queue structure storage circuit is arranged for each byte. A configuration may be used in which only a portion of bits is used. As a further modification, the game information output circuit may further include a queue-structured storage circuit, and the data register may be a FIFO register. In the embodiment including the storage circuit of these queue structures, the game information output circuit is prevented from inputting the output signal generation circuit one after another before generating the output signal in the output signal generation circuit and outputting it from the output terminal. This is effective in that information can be stored in a storage circuit having a queue structure.

以上に遊技情報出力回路の動作を中心とした実施例を説明してきたが、1つの実施例による遊技機制御用チップの遊技情報出力の概要を説明するブロック図を図13に示す。遊技情報出力回路370は、ユーザRAMの所定のアドレスに対応したデータレジスタA、データレジスタB及びデータレジスタCを含み、出力信号生成回路372は、スタティック出力の波形を生成する出力信号生成回路A、パルス出力(連続パルスを含む)の波形を生成する出力信号生成回路B、及びシリアルデータ出力の波形を生成する出力信号生成回路Cを含む。出力信号生成回路Cは暗号化回路を含むことができる。遊技情報出力回路370は、CPUコア310のユーザRAM328の複数の所定のアドレスへの書き込みをCPUバス312で検知すると、CPUバス312から遊技情報のデータを取得し、取得したデータをそれぞれの所定のアドレスに対応するデータレジスタA、データレジスタBやデータレジスタCに書き込む。1つの実施例として、データレジスタAのすべてのビットに書き込まれるデータがスタティック出力対象のデータであり、データレジスタBのすべてのビットに書き込まれるデータがパルス出力対象のデータであり、データレジスタCのすべてのビットに書き込まれるデータがシリアル信号出力対象のデータである場合、出力信号生成回路A、B、Cの各入力位置はデータレジスタA、B、Cの各ビット位置とそれぞれ電気的に接続されるように構成することで、出力信号生成回路A、B、CはそれぞれデータレジスタA、B、Cに書き込まれた各ビット情報に基づいて、スタティック出力、パルス出力、シリアル信号出力を行うことができる。他の1つの実施例として、データレジスタAの一部ビットに書き込まれるデータがスタティック出力対象のデータであり、残りの一部ビットに書き込まれるデータがパルス出力対象のデータである場合、出力信号生成回路Aの入力位置はスタティック出力対象のデータが書き込まれるデータレジスタAの各ビット位置とそれぞれ電気的に接続され、出力信号生成回路Bの入力位置はパルス出力対象のデータが書き込まれるデータレジスタAの各ビット位置とそれぞれ電気的に接続されるように構成することで、出力信号生成回路A、BはそれぞれデータレジスタAに書き込まれた各ビット情報に基づいて、スタティック出力、パルス出力を行うことができる。さらに別の1つの実施例として、データレジスタAのすべてのビットに書き込まれるデータがスタティック出力対象のデータであり、データレジスタBのすべてのビットに書き込まれるデータがパルス出力対象のデータである場合、出力信号生成回路A、Bの各入力位置はデータレジスタA、Bの各ビット位置とそれぞれ電気的に接続されるように構成するとともに、出力信号生成回路Cの各入力位置はデータレジスタA、Bの所定のビット位置とそれぞれ電気的に接続されるように構成することで、出力信号生成回路A、B、CはそれぞれデータレジスタA、Bに書き込まれた各ビット情報に基づいて、スタティック出力、パルス出力、シリアル信号出力を行うことができる。この場合、データレジスタA又はデータレジスタBの所定のビット位置は、出力信号生成回路A又は出力信号生成回路Bの各入力位置にそれぞれ電気的に接続されるとともに、出力信号生成回路Cの入力位置にそれぞれ電気的に接続されるように構成することができる。このようにデータレジスタA、Bに書き込まれたデータは出力信号生成回路A又は出力信号生成回路Bを介してスタティック又はパルス波形を生成すると同時に出力信号生成回路Cを介してシリアル出力を構成することができるが、さらにすべてのデータレジスタA、B、Cに書き込まれたデータを出力信号生成回路A又は出力信号生成回路Bを介さずにシリアル通信で出力する構成とすることもできる。この場合、スタティック出力やパルス出力用の出力端子が省略できる効果もある。   The embodiment centering on the operation of the game information output circuit has been described above. FIG. 13 is a block diagram for explaining the outline of the game information output of the gaming machine control chip according to one embodiment. The game information output circuit 370 includes a data register A, a data register B, and a data register C corresponding to a predetermined address of the user RAM. The output signal generation circuit 372 includes an output signal generation circuit A that generates a waveform of static output, An output signal generation circuit B that generates a waveform of a pulse output (including a continuous pulse) and an output signal generation circuit C that generates a waveform of a serial data output are included. The output signal generation circuit C can include an encryption circuit. When the game information output circuit 370 detects writing to a plurality of predetermined addresses of the user RAM 328 of the CPU core 310 by the CPU bus 312, the game information output circuit 370 acquires game information data from the CPU bus 312, and acquires the acquired data for each predetermined data. Write to data register A, data register B, or data register C corresponding to the address. As one embodiment, data written to all bits of the data register A is data for static output, data written to all bits of the data register B is data for pulse output, When the data written in all the bits is the serial signal output target data, the input positions of the output signal generation circuits A, B, and C are electrically connected to the bit positions of the data registers A, B, and C, respectively. With this configuration, the output signal generation circuits A, B, and C can perform static output, pulse output, and serial signal output based on each bit information written in the data registers A, B, and C, respectively. it can. As another embodiment, when the data written to some bits of the data register A is data for static output, and the data written to the remaining some bits is data for pulse output, an output signal is generated. The input position of the circuit A is electrically connected to each bit position of the data register A to which the data to be static output is written, and the input position of the output signal generation circuit B is the data register A to which the data to be pulse output is written. By being configured to be electrically connected to each bit position, the output signal generation circuits A and B can perform static output and pulse output based on each bit information written in the data register A, respectively. it can. As another example, when data written to all bits of the data register A is data for static output, and data written to all bits of the data register B is data for pulse output, The input positions of the output signal generation circuits A and B are configured to be electrically connected to the bit positions of the data registers A and B, respectively, and the input positions of the output signal generation circuit C are the data registers A and B. The output signal generation circuits A, B, and C are configured to be statically output based on the bit information written in the data registers A and B, respectively. Pulse output and serial signal output can be performed. In this case, the predetermined bit position of the data register A or the data register B is electrically connected to each input position of the output signal generation circuit A or the output signal generation circuit B, and the input position of the output signal generation circuit C. Can be configured to be electrically connected to each other. Thus, the data written in the data registers A and B generates a static or pulse waveform via the output signal generation circuit A or the output signal generation circuit B, and at the same time configures a serial output via the output signal generation circuit C. However, the data written in all the data registers A, B, and C may be output by serial communication without going through the output signal generation circuit A or the output signal generation circuit B. In this case, there is an effect that an output terminal for static output or pulse output can be omitted.

上記の各出力信号生成回路より出力される出力信号は、出力端子を介した通信により、外部端子板や中継基板などの遊技機外部装置で受信することができる。遊技機外部装置は、受信した信号から遊技情報出力回路370のデータレジスタに書き込まれたデータに復元することができる。これによって、遊技機の状態が外部で把握でき、その信号はホールコンピュータ、ナンバーランプ(呼び出しランプ)や試射試験装置の入力情報にも使用可能となる。なお出力信号がシリアルデータの場合は、中継基板又は遊技機外部装置の専用回路(専用IC)によってパラレルデータに変換することで、各ビットの情報により遊技機の状態が把握できる。出力信号生成回路Cにおいて暗号化されている場合は、専用回路(専用IC)によって復号化を行った後、上記処理を行う。   The output signals output from each of the output signal generation circuits described above can be received by a gaming machine external device such as an external terminal board or a relay board through communication via the output terminal. The gaming machine external device can restore the data written in the data register of the gaming information output circuit 370 from the received signal. As a result, the state of the gaming machine can be ascertained externally, and the signal can be used as input information for a hall computer, a number lamp (calling lamp), and a test firing test apparatus. When the output signal is serial data, the state of the gaming machine can be grasped by the information of each bit by converting it into parallel data by a dedicated circuit (dedicated IC) of the relay board or the gaming machine external device. If the output signal generation circuit C is encrypted, the above process is performed after decryption by a dedicated circuit (dedicated IC).

これまでの実施例で遊技情報出力回路が書込みを検知するアドレスをRAM(ユーザRAM)上としたが、検知するアドレスはRAM以外のアドレスでも良く任意のメモリ上に割り付けても良い。RAM上に割り振る場合は、プログラム実行におけるワークRAM上のデータ格納エリアに検知アドレスを割り付けることにより、データレジスタに書き込んだデータをRAM上のデータとして読み出すことが可能となる。   In the above embodiments, the address at which the game information output circuit detects writing is on the RAM (user RAM), but the address to be detected may be an address other than the RAM or may be allocated on an arbitrary memory. In the case of allocation on the RAM, the data written in the data register can be read as data on the RAM by assigning a detection address to a data storage area on the work RAM in executing the program.

以上のように遊技機制御用チップから遊技情報を出力することにより、ユーザROMのプログラムの容量を減らすことができる。また前述の通り、従来は外部出力用に設定されたI/O領域から外部I/O出力用のデコーダ・バッファ等介していたため、そのためのICが基板上に必要であったが、本発明に係る遊技機制御用チップによれば、出力信号生成回路が出力端子より信号を出力するため、当該ICを基板上から取り除くことができる。また従来は、基板上のバッファ等のICから、遊技情報をそのままパラレル信号でコネクタに出力していたが、本発明に係る遊技機制御用チップによれば、出力信号生成回路でシリアル信号を出力する構成とすることで、基板と外部端子板接続コネクタの配線及び基板と試射試験用中継基板接続コネクタの配線を削減することができる。さらに従来は、接続コネクタからのパラレル信号に対応した回路を外部端子板や試射試験用中継基板上に用意しなければならなかったが、前述と同様に出力信号生成回路でシリアル信号を出力する構成とすることで、外部端子板等をシンプルな構成とすることができる。この時、出力されるシリアル信号は出力信号生成回路でさらに暗号化することができ、外部端子板や試射試験用中継基板上に復号回路等を設ければ信号の秘匿化ができ不正改造や信号の改ざんが困難となる。   As described above, by outputting the game information from the gaming machine control chip, the capacity of the user ROM program can be reduced. In addition, as described above, conventionally, since an I / O area set for external output is passed through a decoder / buffer for external I / O output, an IC for that purpose is required on the substrate. According to the gaming machine control chip, since the output signal generation circuit outputs a signal from the output terminal, the IC can be removed from the substrate. Conventionally, game information is directly output to the connector as a parallel signal from an IC such as a buffer on the board. However, according to the gaming machine control chip according to the present invention, a serial signal is output by the output signal generation circuit. With the configuration, it is possible to reduce the wiring between the board and the external terminal board connection connector and the wiring between the board and the relay board connection connector for the trial test. Furthermore, in the past, a circuit corresponding to the parallel signal from the connection connector had to be prepared on the external terminal board or the relay board for the trial test, but a configuration in which a serial signal is output by the output signal generation circuit as described above. By doing so, the external terminal board and the like can be made simple. At this time, the output serial signal can be further encrypted by the output signal generation circuit. If a decryption circuit etc. is provided on the external terminal board or relay board for trial test, the signal can be concealed and illegal modification or signal It becomes difficult to tamper.

以上に説明した処理又は動作において、あるステップにおいて、そのステップではまだ利用することができないはずのデータを利用しているなどの処理又は動作上の矛盾が生じない限りにおいて、処理又は動作を自由に変更することができる。   In the process or operation described above, a process or operation can be freely performed at a certain step as long as there is no inconsistency in the process or operation such as using data that should not be used at that step. Can be changed.

以上に説明してきた各実施例は、本発明を説明するための例示であり、本発明はこれらの実施例に限定されるものではない。例えばこれらの各実施例は組み合わせることが可能であり、これにより、2以上の実施例を組み合わせて1つの実施例にすることができる。本発明は、その要旨を逸脱しない限り、種々の形態で実施することができる。   Each Example described above is an illustration for explaining the present invention, and the present invention is not limited to these Examples. For example, these embodiments can be combined, and two or more embodiments can be combined into one embodiment. The present invention can be implemented in various forms without departing from the gist thereof.

100 パチンコシステム
105、110 パチンコ機
115 抽選媒体供給装置
120 遊技盤部
125 払出部
130 ハンドル部
200 各チップ
210 遊技機制御用基板
215 遊技機制御用チップ
220 払出制御用基板
225 払出制御用チップ
300 遊技機制御用チップ
310 CPUコア
312 CPUバス
320 メモリ
322 ブートROM
324 ブートRAM
326 ユーザROM
328 ユーザRAM
330 外部バスインタフェース
332 クロック回路
334 照合用回路
336 固有情報
338 演算回路
340 アドレスデコーダ回路
342 リセットコントローラ
344 ウォッチドッグタイマ
346 指定エリア外走行禁止(IAT)回路
348 モード制御回路
350 セキュリティ回路
352 乱数回路
354 フリーランカウンタ回路
356 タイマ回路
358 割込みコントローラ
360 パラレル出力ポート
362 パラレル入力ポート
364 通信回路
370 遊技情報出力回路
372 出力信号生成回路
374 パルス生成回路
DESCRIPTION OF SYMBOLS 100 Pachinko system 105, 110 Pachinko machine 115 Lottery medium supply apparatus 120 Game board part 125 Delivery part 130 Handle part 200 Each chip 210 Game machine control board 215 Game machine control chip 220 Delivery control board 225 Delivery control chip 300 For game machine control Chip 310 CPU core 312 CPU bus 320 Memory 322 Boot ROM
324 Boot RAM
326 User ROM
328 User RAM
330 External bus interface 332 Clock circuit 334 Verification circuit 336 Specific information 338 Operation circuit 340 Address decoder circuit 342 Reset controller 344 Watchdog timer 346 Out-of-area travel prohibition (IAT) circuit 348 Mode control circuit 350 Security circuit 352 Random number circuit 354 Free Run counter circuit 356 Timer circuit 358 Interrupt controller 360 Parallel output port 362 Parallel input port 364 Communication circuit 370 Game information output circuit 372 Output signal generation circuit 374 Pulse generation circuit

Claims (9)

中央処理部と、
遊技に関する遊技情報が書き込まれるメモリと、
レジスタ及び出力信号生成回路を含む遊技情報出力回路と、
前記中央処理部、前記メモリ、及び前記遊技情報出力回路を接続するバスと、
出力信号を出力するための出力端子と、を備える遊技機制御用チップであって、
前記遊技情報出力回路は、前記バスをモニタし、前記中央処理部が前記メモリの所定のアドレスに前記遊技情報を書き込むことを検知すると、その書き込まれる前記遊技情報を取得して前記レジスタに書き込むものであり、
前記出力信号生成回路は、前記レジスタに書き込まれた前記遊技情報の所定のビット位置のビットの情報に基づいて出力信号を生成し前記出力端子より出力するものである、ことを特徴とする遊技機制御用チップ。
A central processing unit;
A memory in which game information about the game is written;
A game information output circuit including a register and an output signal generation circuit;
A bus connecting the central processing unit, the memory, and the game information output circuit;
A gaming machine control chip comprising an output terminal for outputting an output signal,
The game information output circuit monitors the bus, and when the central processing unit detects that the game information is written to a predetermined address of the memory, acquires the game information to be written and writes it to the register And
The output signal generation circuit generates an output signal based on bit information at a predetermined bit position of the game information written in the register and outputs the output signal from the output terminal. Tip for your use.
前記メモリは、前記中央処理部がプログラム実行時に使用するRAMである、請求項1に記載の遊技機制御用チップ。   The gaming machine control chip according to claim 1, wherein the memory is a RAM used by the central processing unit when executing a program. 前記遊技情報出力回路は、複数の前記所定のアドレスそれぞれに対応する各前記レジスタを含む、請求項1又は2に記載の遊技機制御用チップ。   The gaming machine control chip according to claim 1, wherein the gaming information output circuit includes each of the registers corresponding to a plurality of the predetermined addresses. 前記遊技情報出力回路は、前記レジスタと前記出力信号生成回路の間に配置されるキュー構造の記憶回路をさらに備え、
前記出力信号生成回路は、前記キュー構造の記憶回路に蓄積され順次出力される前記遊技情報の所定のビット位置のビットの情報に基づいて出力信号を生成し前記出力端子より出力するものである、請求項1から3のいずれか一つに記載の遊技機制御用チップ。
The game information output circuit further includes a storage circuit having a queue structure disposed between the register and the output signal generation circuit,
The output signal generation circuit is configured to generate an output signal based on bit information at a predetermined bit position of the game information that is accumulated and sequentially output in the storage circuit having the queue structure, and outputs the output signal from the output terminal. The gaming machine control chip according to any one of claims 1 to 3.
前記キュー構造の記憶回路は、FIFOカウンタ又はFIFO型メモリで構成される請求項1から4のいずれか一つに記載の遊技機制御用チップ。   5. The gaming machine control chip according to claim 1, wherein the storage circuit having the queue structure includes a FIFO counter or a FIFO type memory. 前記出力信号生成回路は、前記レジスタに書き込まれた前記遊技情報の所定のビット位置のビットの情報に基づいて既定の数のパルス信号を生成する、請求項1から5のいずれか一つに記載の遊技機制御用チップ。   6. The output signal generation circuit according to claim 1, wherein the output signal generation circuit generates a predetermined number of pulse signals based on bit information of a predetermined bit position of the game information written in the register. Game machine control chip. 前記出力信号生成回路は、前記レジスタに書き込まれた前記遊技情報に基づいてシリアル出力信号を生成する、請求項1から5のいずれか一つに記載の遊技機制御用チップ。   6. The gaming machine control chip according to claim 1, wherein the output signal generation circuit generates a serial output signal based on the game information written in the register. 請求項1から請求項7のいずれか一つに記載の前記遊技機制御用チップを組み込んだ基板。   A board incorporating the gaming machine control chip according to any one of claims 1 to 7. 請求項8に記載の前記基板を含む遊技機。   A gaming machine including the board according to claim 8.
JP2015002188A 2015-01-08 2015-01-08 Chip for game machine control Pending JP2016123803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015002188A JP2016123803A (en) 2015-01-08 2015-01-08 Chip for game machine control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015002188A JP2016123803A (en) 2015-01-08 2015-01-08 Chip for game machine control

Publications (1)

Publication Number Publication Date
JP2016123803A true JP2016123803A (en) 2016-07-11

Family

ID=56358468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015002188A Pending JP2016123803A (en) 2015-01-08 2015-01-08 Chip for game machine control

Country Status (1)

Country Link
JP (1) JP2016123803A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020081553A (en) * 2018-11-28 2020-06-04 株式会社ソフイア Game machine
JP2020120819A (en) * 2019-01-29 2020-08-13 株式会社ソフイア Game machine
JP2021074161A (en) * 2019-11-07 2021-05-20 株式会社ユニバーサルエンターテインメント Game machine
JP7424908B2 (en) 2020-05-15 2024-01-30 ダイコク電機株式会社 Amusement park systems

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020081553A (en) * 2018-11-28 2020-06-04 株式会社ソフイア Game machine
JP2020120819A (en) * 2019-01-29 2020-08-13 株式会社ソフイア Game machine
JP2021074161A (en) * 2019-11-07 2021-05-20 株式会社ユニバーサルエンターテインメント Game machine
JP7153933B2 (en) 2019-11-07 2022-10-17 株式会社ユニバーサルエンターテインメント game machine
JP7424908B2 (en) 2020-05-15 2024-01-30 ダイコク電機株式会社 Amusement park systems

Similar Documents

Publication Publication Date Title
JP5536316B2 (en) Game machine
JP5828611B2 (en) Game machine
JP5937639B2 (en) Game machine
JP6039196B2 (en) Slot machine
JP6628962B2 (en) Gaming machine
JP2016123803A (en) Chip for game machine control
JP6039195B2 (en) Slot machine
JP6243597B2 (en) Slot machine
JP2014236961A (en) Game machine
JP6628961B2 (en) Gaming machine
JP5985196B2 (en) Game machine
JP4482316B2 (en) Microcomputer for game machine control
JP6261703B2 (en) Game machine
JP6005099B2 (en) Game machine
JP5722300B2 (en) Game machine
JP6261704B2 (en) Game machine
JP2013158359A (en) Game machine
JP4943665B2 (en) GAME MACHINE, GAME INFORMATION AUTHENTICATION CAPTURE DEVICE, AND GAME INFORMATION CAPTURE DEVICE
JP6027166B2 (en) Game machine
JP2017000226A (en) Circuit for setting register in a plurality of channels, processor with circuit, circuit board with processor, and game machine with circuit board
JPH1015201A (en) Game control device
JP5617006B2 (en) Game machine
JP6005100B2 (en) Game machine
JP5779633B2 (en) Game machine
JP6170872B2 (en) Game machine