Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6443065B2 - Game machine - Google Patents
[go: Go Back, main page]

JP6443065B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP6443065B2
JP6443065B2 JP2015006943A JP2015006943A JP6443065B2 JP 6443065 B2 JP6443065 B2 JP 6443065B2 JP 2015006943 A JP2015006943 A JP 2015006943A JP 2015006943 A JP2015006943 A JP 2015006943A JP 6443065 B2 JP6443065 B2 JP 6443065B2
Authority
JP
Japan
Prior art keywords
output
signal
address
data
instruction
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.)
Active
Application number
JP2015006943A
Other languages
Japanese (ja)
Other versions
JP2016131620A (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.)
Sanyo Bussan Co Ltd
Original Assignee
Sanyo Bussan 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 Sanyo Bussan Co Ltd filed Critical Sanyo Bussan Co Ltd
Priority to JP2015006943A priority Critical patent/JP6443065B2/en
Publication of JP2016131620A publication Critical patent/JP2016131620A/en
Application granted granted Critical
Publication of JP6443065B2 publication Critical patent/JP6443065B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

本発明は、遊技機に関するものである。   The present invention relates to a gaming machine.

遊技機の一種として、パチンコ遊技機やスロットマシン等が知られている。これらの遊技機は、CPUなどの制御素子、ROMなどの読み出し専用の記憶素子及びRAMなどの読み書き両用の記憶素子などを備えている。制御素子は、読み書き両用の記憶素子への情報の書き込み及び当該記憶素子からの情報の読み出しを行いながら、読み出し専用の記憶素子から読み出したプログラムに従って処理を実行する。この処理の実行に際しては、制御素子に対してセンサなどからの情報の入力が行われるとともに、電動アクチュエータや発光素子などに対する制御素子からの情報の出力が行われる(例えば、特許文献1参照)。なお、制御素子、読み出し専用の記憶素子及び読み書き両用の記憶素子などが1チップ化されたものも知られている。   As a kind of gaming machine, a pachinko gaming machine, a slot machine, and the like are known. These gaming machines include a control element such as a CPU, a read-only storage element such as a ROM, and a read / write storage element such as a RAM. The control element executes processing in accordance with a program read from the read-only storage element while writing information to the read / write storage element and reading information from the storage element. When executing this processing, information is input from the sensor or the like to the control element, and information is output from the control element to the electric actuator, the light emitting element, or the like (see, for example, Patent Document 1). It is also known that a control element, a read-only memory element, a read / write memory element, and the like are integrated into one chip.

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

ここで、上記例示等のような遊技機においては、制御を好適に行うことが可能な構成が求められており、この点について未だ改良の余地がある。   Here, in the gaming machine such as the above-described example, a configuration capable of suitably performing control is required, and there is still room for improvement in this respect.

本発明は、上記例示した事情等に鑑みてなされたものであり、制御を好適に行うことが可能な遊技機を提供することを目的とするものである。   The present invention has been made in view of the above-mentioned circumstances and the like, and an object thereof is to provide a gaming machine capable of suitably performing control.

上記課題を解決すべく請求項1記載の発明は、命令を予め記憶する記憶手段と、
当該記憶手段から読み出した前記命令を実行する制御実行手段と、
を備えた遊技機において、
前記制御実行手段は、
第1命令を実行する場合に第1命令対応信号を出力するための第1信号出力手段と、
前記第1命令とは情報量が異なる第2命令を実行する場合に第2命令対応信号を出力するための第2信号出力手段と、
を備え、
当該遊技機は、
少なくとも前記第1命令対応信号が出力されている場合及び前記第2命令対応信号が出力されている場合のいずれであっても、特定信号を出力する特定出力手段と、
前記特定信号が出力されている場合に、情報の入力及び出力のうち少なくとも一方である特定の動作状態となる動作手段と、
を備えていることを特徴とする。
In order to solve the above-mentioned problem, the invention according to claim 1 comprises a storage means for storing instructions in advance,
Control execution means for executing the instructions read from the storage means;
In a gaming machine equipped with
The control execution means includes
First signal output means for outputting a first instruction corresponding signal when executing the first instruction;
A second signal output means for outputting a second command corresponding signal when executing a second command having a different amount of information from the first command;
With
The gaming machine is
A specific output means for outputting a specific signal at least in the case where the first command corresponding signal is output and in the case where the second command corresponding signal is output;
When the specific signal is output, an operation means that is in a specific operation state that is at least one of information input and output; and
It is characterized by having.

本発明によれば、制御を好適に行うことが可能となる。   According to the present invention, control can be suitably performed.

第1の実施形態におけるパチンコ機を示す斜視図である。It is a perspective view which shows the pachinko machine in 1st Embodiment. パチンコ機の主要な構成を分解して示す斜視図である。It is a perspective view which decomposes | disassembles and shows the main structures of a pachinko machine. 遊技盤の構成を示す正面図である。It is a front view which shows the structure of a game board. パチンコ機の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of a pachinko machine. 当否抽選などに用いられる各種カウンタの内容を説明するための説明図である。It is explanatory drawing for demonstrating the content of the various counters used for a success or failure lottery. 主制御装置のMPUにて実行されるメイン処理を示すフローチャートである。It is a flowchart which shows the main process performed in MPU of a main controller. 主制御装置のMPUにて実行されるタイマ割込み処理を示すフローチャートである。It is a flowchart which shows the timer interruption process performed in MPU of a main controller. MPUに設けられたCPUの電気的構成を説明するためのブロック図である。It is a block diagram for demonstrating the electrical structure of CPU provided in MPU. (a)入力用ラッチ回路のブロック図であり、(b)出力用ラッチ回路のブロック図である。(A) It is a block diagram of an input latch circuit, (b) It is a block diagram of an output latch circuit. ROMにおいて命令が記憶されているエリアを説明するための説明図である。It is explanatory drawing for demonstrating the area where the instruction | command is memorize | stored in ROM. (a)2バイト命令であるイン命令及びアウト命令を説明するための説明図であり、(b)3バイト命令であるロード命令を説明するための説明図である。(A) It is explanatory drawing for demonstrating the in instruction and out instruction which are 2 byte instructions, (b) It is explanatory drawing for demonstrating the load instruction which is 3 byte instructions. IO空間及びメモリ空間を説明するためのブロック図である。It is a block diagram for demonstrating IO space and memory space. メモリ空間を説明するための説明図である。It is explanatory drawing for demonstrating memory space. 入力ポートからのデータの入力を行う入力用ラッチ回路に対応するチップセレクト端子からチップセレクト信号を出力するための電気的構成を示すブロック図である。It is a block diagram showing an electrical configuration for outputting a chip select signal from a chip select terminal corresponding to an input latch circuit for inputting data from an input port. (a)〜(h)チップセレクト端子からチップセレクト信号が出力される様子を示すタイムチャートである。(A)-(h) It is a time chart which shows a mode that a chip select signal is output from a chip select terminal. CPUコアにて実行される命令実行処理を示すフローチャートである。It is a flowchart which shows the command execution process performed with a CPU core. CPUコアにて実行される3バイト命令用処理を示すフローチャートである。It is a flowchart which shows the process for 3 byte instructions performed with a CPU core. 第2の実施形態におけるCPUの電気的構成を説明するための説明図である。It is explanatory drawing for demonstrating the electrical structure of CPU in 2nd Embodiment. CPUにおいて出力用ラッチ回路にチップセレクト信号を出力するための出力用回路、及びCPUにおいて入力用ラッチ回路にチップセレクト信号を出力するための入力用回路を示すブロック図である。3 is a block diagram showing an output circuit for outputting a chip select signal to an output latch circuit in a CPU and an input circuit for outputting a chip select signal to an input latch circuit in a CPU. FIG. (a)特図表示部の正面図であり、(b)出力エリアを説明するための説明図である。(A) It is a front view of a special figure display part, (b) It is explanatory drawing for demonstrating an output area. (a1)〜(a8)出力エリアに設定されているデータの内容を説明するための説明図であり、(b1)〜(b8)第1〜第8発光部の発光態様を説明するための説明図である。(A1)-(a8) It is explanatory drawing for demonstrating the content of the data set to the output area, (b1)-(b8) Explanation for demonstrating the light emission aspect of the 1st-8th light emission part. FIG. 主制御装置のMPUにて実行される特図表示部の制御処理を示すフローチャートである。It is a flowchart which shows the control processing of the special figure display part performed with MPU of a main control apparatus. 第3の実施形態におけるCPUの電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of CPU in 3rd Embodiment. RAMからデータを読み出す場合に、対応する入力用ラッチ回路にチップセレクト信号を出力するための電気的構成を示すブロック図である。FIG. 3 is a block diagram showing an electrical configuration for outputting a chip select signal to a corresponding input latch circuit when data is read from a RAM.

<第1の実施形態>
以下、遊技機の一種であるパチンコ遊技機(以下、「パチンコ機」という)の第1の実施形態を、図面に基づいて詳細に説明する。図1はパチンコ機10の斜視図、図2はパチンコ機10の主要な構成を分解して示す斜視図である。なお、図2では便宜上パチンコ機10の遊技領域内の構成を省略している。
<First Embodiment>
Hereinafter, a first embodiment of a pachinko gaming machine (hereinafter referred to as “pachinko machine”), which is a type of gaming machine, will be described in detail with reference to the drawings. FIG. 1 is a perspective view of the pachinko machine 10, and FIG. 2 is an exploded perspective view showing the main configuration of the pachinko machine 10. As shown in FIG. In FIG. 2, the configuration in the game area of the pachinko machine 10 is omitted for convenience.

パチンコ機10は、図1に示すように、当該パチンコ機10の外殻を形成する外枠11と、この外枠11に対して前方に回動可能に取り付けられた遊技機本体12とを有する。外枠11は木製の板材を四辺に連結し構成されるものであって矩形枠状をなしている。パチンコ機10は、外枠11を島設備に取り付け固定することにより、遊技ホールに設置される。なお、パチンコ機10において外枠11は必須の構成ではなく、遊技ホールの島設備に外枠11が備え付けられた構成としてもよい。   As shown in FIG. 1, the pachinko machine 10 includes an outer frame 11 that forms an outer shell of the pachinko machine 10, and a gaming machine body 12 that is rotatably attached to the outer frame 11. . The outer frame 11 is configured by connecting wooden plates to four sides and has a rectangular frame shape. The pachinko machine 10 is installed in the game hall by attaching and fixing the outer frame 11 to the island facility. In the pachinko machine 10, the outer frame 11 is not an essential configuration, and may be configured such that the outer frame 11 is provided in the island facility of the game hall.

遊技機本体12は、図2に示すように、内枠13と、その内枠13の前方に配置される前扉枠14と、内枠13の後方に配置される裏パックユニット15とを備えている。遊技機本体12のうち内枠13が外枠11に対して回動可能に支持されている。詳細には、正面視で左側を回動基端側とし右側を回動先端側として内枠13が前方へ回動可能とされている。   As shown in FIG. 2, the gaming machine main body 12 includes an inner frame 13, a front door frame 14 disposed in front of the inner frame 13, and a back pack unit 15 disposed behind the inner frame 13. ing. The inner frame 13 of the gaming machine main body 12 is supported so as to be rotatable with respect to the outer frame 11. Specifically, the inner frame 13 can be rotated forward with the left side as a rotation base end side and the right side as a rotation front end side in front view.

内枠13には、前扉枠14が回動可能に支持されており、正面視で左側を回動基端側とし右側を回動先端側として前方へ回動可能とされている。また、内枠13には、裏パックユニット15が回動可能に支持されており、正面視で左側を回動基端側とし右側を回動先端側として後方へ回動可能とされている。   A front door frame 14 is rotatably supported by the inner frame 13 and can be rotated forward with the left side as a rotation base end side and the right side as a rotation front end side in a front view. Further, the back pack unit 15 is rotatably supported on the inner frame 13, and can be rotated backward with the left side as a rotation base end side and the right side as a rotation front end side in a front view.

なお、遊技機本体12には、その回動先端部に施錠装置が設けられており、遊技機本体12を外枠11に対して開放不能に施錠状態とする機能を有しているとともに、前扉枠14を内枠13に対して開放不能に施錠状態とする機能を有している。これらの各施錠状態は、パチンコ機10前面にて露出させて設けられたシリンダ錠17に対して解錠キーを用いて解錠操作を行うことにより、それぞれ解除される。   The gaming machine main body 12 is provided with a locking device at the rotating tip, and has a function of locking the gaming machine main body 12 to the outer frame 11 so that it cannot be opened. The door frame 14 has a function of locking the door frame 14 to the inner frame 13 so as not to be opened. Each of these locked states is released by performing an unlocking operation using the unlocking key on the cylinder lock 17 that is exposed on the front surface of the pachinko machine 10.

次に、遊技機本体12の前面側の構成について説明する。   Next, the configuration of the front side of the gaming machine body 12 will be described.

内枠13は、外形が外枠11とほぼ同一形状をなす樹脂ベース21を主体に構成されている。樹脂ベース21の中央部には略楕円形状の窓孔23が形成されている。樹脂ベース21には遊技盤24が着脱可能に取り付けられている。遊技盤24は合板よりなり、遊技盤24の前面に形成された遊技領域PAが樹脂ベース21の窓孔23を通じて内枠13の前面側に露出した状態となっている。   The inner frame 13 is mainly composed of a resin base 21 whose outer shape is substantially the same as that of the outer frame 11. A substantially elliptical window hole 23 is formed at the center of the resin base 21. A game board 24 is detachably attached to the resin base 21. The game board 24 is made of plywood, and the game area PA formed on the front surface of the game board 24 is exposed to the front surface side of the inner frame 13 through the window hole 23 of the resin base 21.

ここで、遊技盤24の構成を図3に基づいて説明する。図3は遊技盤24の正面図である。   Here, the structure of the game board 24 is demonstrated based on FIG. FIG. 3 is a front view of the game board 24.

遊技盤24には、遊技領域PAの外縁の一部を区画するようにして内レール部25と外レール部26とが取り付けられており、これら内レール部25と外レール部26とにより誘導手段としての誘導レールが構成されている。樹脂ベース21において窓孔23の下方に取り付けられた遊技球発射機構27(図2参照)から発射された遊技球は誘導レールにより遊技領域PAの上部に案内されるようになっている。   An inner rail portion 25 and an outer rail portion 26 are attached to the game board 24 so as to partition a part of the outer edge of the game area PA. The inner rail portion 25 and the outer rail portion 26 provide guidance means. As a guide rail, it is configured. A game ball launched from a game ball launching mechanism 27 (see FIG. 2) attached below the window hole 23 in the resin base 21 is guided to the upper part of the game area PA by a guide rail.

ちなみに、遊技球発射機構27は、誘導レールに向けて延びる発射レール27aと、後述する上皿55aに貯留されている遊技球を発射レール27a上に供給する球送り装置27bと、発射レール27a上に供給された遊技球を誘導レールに向けて発射させる電動アクチュエータであるソレノイド27cと、を備えている。前扉枠14に設けられた発射操作装置(又は操作ハンドル)28が回動操作されることによりソレノイド27cが駆動制御され、遊技球が発射される。   Incidentally, the game ball launching mechanism 27 includes a launch rail 27a extending toward the guide rail, a ball feeding device 27b for supplying game balls stored in an upper plate 55a, which will be described later, onto the launch rail 27a, and the launch rail 27a. And a solenoid 27c which is an electric actuator for firing the game ball supplied to the guide rail. When the launch operation device (or operation handle) 28 provided on the front door frame 14 is rotated, the solenoid 27c is driven and controlled, and a game ball is launched.

遊技盤24には、前後方向に貫通する大小複数の開口部が形成されている。各開口部には一般入賞口31、特電入賞装置32、第1作動口33、第2作動口34、スルーゲート35、可変表示ユニット36、特図ユニット37及び普図ユニット38等がそれぞれ設けられている。   The game board 24 has a plurality of large and small openings penetrating in the front-rear direction. Each opening is provided with a general winning port 31, a special electricity winning device 32, a first operating port 33, a second operating port 34, a through gate 35, a variable display unit 36, a special drawing unit 37, a universal drawing unit 38, and the like. ing.

スルーゲート35への入球が発生したとしても遊技球の払い出しは実行されない。一方、一般入賞口31、特電入賞装置32、第1作動口33及び第2作動口34への入球が発生すると、所定数の遊技球の払い出しが実行される。当該賞球個数について具体的には、第1作動口33への入球が発生した場合又は第2作動口34への入球が発生した場合には、3個の賞球の払い出しが実行され、一般入賞口31への入球が発生した場合には、10個の賞球の払い出しが実行され、特電入賞装置32への入球が発生した場合には、15個の賞球の払い出しが実行される。   Even if a ball enters the through gate 35, the game ball is not paid out. On the other hand, when a ball enters the general winning port 31, the special electricity winning device 32, the first operating port 33, and the second operating port 34, a predetermined number of game balls are paid out. Specifically, with respect to the number of prize balls, when a ball enters the first working port 33 or a ball enters the second working port 34, three prize balls are paid out. When a ball is entered into the general winning port 31, 10 prize balls are paid out. When a ball is entered into the special electric prize device 32, 15 prize balls are paid out. Executed.

なお、上記賞球個数は任意であり、例えば、第2作動口34の方が第1作動口33よりも賞球個数が少ない構成としてもよく、第2作動口34の方が第1作動口33よりも賞球個数が多い構成としてもよい。   The number of prize balls may be arbitrary. For example, the second actuation port 34 may have a smaller number of prize balls than the first actuation port 33, and the second actuation port 34 may be configured as the first actuation port. The number of prize balls may be larger than 33.

その他に、遊技盤24の最下部にはアウト口24aが設けられており、各種入賞口等に入らなかった遊技球はアウト口24aを通って遊技領域PAから排出される。また、遊技盤24には、遊技球の落下方向を適宜分散、調整等するために多数の釘24bが植設されているとともに、風車等の各種部材が配設されている。   In addition, an out port 24a is provided at the bottom of the game board 24, and game balls that have not entered various winning ports etc. are discharged from the game area PA through the out port 24a. In addition, the game board 24 is provided with a large number of nails 24b and various members such as a windmill in order to disperse and adjust the falling direction of the game ball as appropriate.

ここで、入球とは所定の開口部を遊技球が通過することを意味し、開口部を通過した後に遊技領域PAから排出される態様だけでなく、開口部を通過した後に遊技領域PAから排出されることなく遊技領域PAの流下を継続する態様も含まれる。但し、以下の説明では、アウト口24aへの遊技球の入球と明確に区別するために、一般入賞口31、特電入賞装置32、第1作動口33、第2作動口34及びスルーゲート35への遊技球の入球を、入賞とも表現する。   Here, the entry ball means that the game ball passes through a predetermined opening, and not only the mode of discharging from the game area PA after passing through the opening, but also from the game area PA after passing through the opening. A mode in which the game area PA continues to flow down without being discharged is also included. However, in the following description, in order to clearly distinguish the game ball from entering the out port 24a, the general winning port 31, the special prize winning device 32, the first operating port 33, the second operating port 34, and the through gate 35 are provided. Entering a game ball into is also expressed as a prize.

第1作動口33及び第2作動口34は、作動口装置としてユニット化されて遊技盤24に設置されている。第1作動口33及び第2作動口34は共に上向きに開放されている。また、第1作動口33が上方となるようにして両作動口33,34は鉛直方向に並んでいる。第2作動口34には、左右一対の可動片よりなるガイド片としての普電役物34aが設けられている。普電役物34aの閉鎖状態では遊技球が第2作動口34に入賞できず、普電役物34aが開放状態となることで第2作動口34への入賞が可能となる。   The first operating port 33 and the second operating port 34 are unitized as operating port devices and are installed in the game board 24. Both the first working port 33 and the second working port 34 are opened upward. Further, both the operation ports 33 and 34 are arranged in the vertical direction so that the first operation port 33 is located on the upper side. The second operating port 34 is provided with a general electric utility 34a as a guide piece composed of a pair of left and right movable pieces. In the closed state of the utility wire 34a, the game ball cannot win the second operating port 34, and the winning of the second operating port 34 becomes possible when the universal power 34a is opened.

第2作動口34よりも遊技球の流下方向の上流側に、スルーゲート35が設けられている。スルーゲート35は縦方向に貫通した図示しない貫通孔を有しており、スルーゲート35に入賞した遊技球は入賞後に遊技領域PAを流下する。これにより、スルーゲート35に入賞した遊技球が第2作動口34へ入賞することが可能となっている。   A through gate 35 is provided on the upstream side in the flow-down direction of the game ball from the second working port 34. The through gate 35 has a through hole (not shown) penetrating in the vertical direction, and the game ball that has won the through gate 35 flows down the game area PA after winning. As a result, the game ball that has won the through gate 35 can win the second working port 34.

スルーゲート35への入賞に基づき第2作動口34の普電役物34aが閉鎖状態から開放状態に切り換えられる。具体的には、スルーゲート35への入賞をトリガとして内部抽選が行われるとともに、遊技領域PAにおいて遊技球が通過しない領域である右下の隅部に設けられた普図ユニット38の普図表示部38aにて絵柄の変動表示が行われる。そして、内部抽選の結果が電役開放当選であり当該結果に対応した停止結果が表示されて普図表示部38aの変動表示が終了された場合に普電開放状態へ移行する。普電開放状態では、普電役物34aが所定の態様で開放状態となる。   Based on the winning of the through gate 35, the common utility 34 a of the second operating port 34 is switched from the closed state to the open state. Specifically, an internal lottery is performed with a winning at the through gate 35 as a trigger, and a normal display of a general-purpose unit 38 provided at the lower right corner, which is a region where game balls do not pass in the game region PA, is displayed. In the part 38a, the change display of the pattern is performed. Then, when the result of the internal lottery is the electrification opening winning, the stop result corresponding to the result is displayed, and the fluctuation display of the general map display unit 38a is finished, the state shifts to the public power open state. In the public power open state, the general electric utility 34a is opened in a predetermined manner.

なお、普図表示部38aは、複数のセグメント発光部が所定の態様で配列されてなるセグメント表示器により構成されているが、これに限定されることはなく、液晶表示装置、有機EL表示装置、CRT又はドットマトリックス表示器等その他のタイプの表示装置によって構成されていてもよい。また、普図表示部38aにて変動表示される絵柄としては、複数種の文字が変動表示される構成、複数種の記号が変動表示される構成、複数種のキャラクタが変動表示される構成又は複数種の色が切り換え表示される構成などが考えられる。   The general map display unit 38a is constituted by a segment display in which a plurality of segment light emitting units are arranged in a predetermined manner, but is not limited to this, and is not limited to this. A liquid crystal display device, an organic EL display device , Or other types of display devices such as CRT or dot matrix display. In addition, as a pattern variably displayed on the general map display unit 38a, a configuration in which a plurality of types of characters are variably displayed, a configuration in which a plurality of types of symbols are variably displayed, a configuration in which a plurality of types of characters are variably displayed, or A configuration in which a plurality of colors are switched and displayed is conceivable.

普図ユニット38において、普図表示部38aに隣接した位置には、普図保留表示部38bが設けられている。遊技球がスルーゲート35に入賞した個数は最大4個まで保留され、普図保留表示部38bの点灯によってその保留個数が表示されるようになっている。   In the universal map unit 38, a universal map hold display section 38b is provided at a position adjacent to the universal map display section 38a. A maximum of four game balls won in the through gate 35 are reserved, and the number of the reserved balls is displayed by turning on the general-purpose display unit 38b.

第1作動口33又は第2作動口34への入賞をトリガとして当たり抽選が行われる。そして、当該抽選結果は特図ユニット37及び可変表示ユニット36の図柄表示装置41における表示演出を通じて明示される。   A lottery is performed with the winning of the first working port 33 or the second working port 34 as a trigger. The lottery result is clearly shown through display effects in the symbol display device 41 of the special figure unit 37 and the variable display unit 36.

特図ユニット37について詳細には、特図ユニット37には特図表示部37aが設けられている。特図表示部37aの表示領域は図柄表示装置41の表示面41aよりも狭い。特図表示部37aでは、第1作動口33への入賞又は第2作動口34への入賞をトリガとして当たり抽選が行われることで絵柄の変動表示又は所定の表示が行われる。そして、抽選結果に対応した結果が表示される。なお、特図表示部37aは、複数のセグメント発光部が所定の態様で配列されてなるセグメント表示器により構成されているが、これに限定されることはなく、液晶表示装置、有機EL表示装置、CRT又はドットマトリックス表示器等その他のタイプの表示装置によって構成されていてもよい。また、特図表示部37aにて表示される絵柄としては、複数種の文字が表示される構成、複数種の記号が表示される構成、複数種のキャラクタが表示される構成又は複数種の色が表示される構成などが考えられる。   Specifically, the special figure unit 37 is provided with a special figure display unit 37a. The display area of the special figure display unit 37 a is narrower than the display surface 41 a of the symbol display device 41. In the special figure display part 37a, a winning change to the first working port 33 or a winning to the second working port 34 is used as a trigger, and a lottery is performed to display a variation display or a predetermined display. Then, a result corresponding to the lottery result is displayed. In addition, although the special figure display part 37a is comprised by the segment display by which several segment light emission parts are arranged in the predetermined | prescribed aspect, it is not limited to this, A liquid crystal display device, an organic electroluminescence display device , Or other types of display devices such as CRT or dot matrix display. In addition, as a picture displayed on the special figure display unit 37a, a configuration in which a plurality of types of characters are displayed, a configuration in which a plurality of types of symbols are displayed, a configuration in which a plurality of types of characters are displayed, or a plurality of types of colors A configuration in which is displayed is conceivable.

特図ユニット37において、特図表示部37aに隣接した位置には、特図保留表示部37bが設けられている。遊技球が第1作動口33又は第2作動口34に入賞した個数は最大4個まで保留され、特図保留表示部37bの点灯によってその保留個数が表示されるようになっている。   In the special figure unit 37, a special figure holding display part 37b is provided at a position adjacent to the special figure display part 37a. A maximum of four game balls won in the first operation port 33 or the second operation port 34 are reserved, and the reserved number is displayed by lighting the special figure reservation display portion 37b.

図柄表示装置41について詳細には、図柄表示装置41は、液晶ディスプレイを備えた液晶表示装置として構成されており、後述する表示制御装置により表示内容が制御される。なお、図柄表示装置41は、液晶表示装置に限定されることはなく、プラズマディスプレイ装置、有機EL表示装置又はCRTといった表示画面を有する他の表示装置であってもよく、ドットマトリクス表示器であってもよい。   Specifically, the symbol display device 41 is configured as a liquid crystal display device including a liquid crystal display, and the display content is controlled by a display control device described later. The symbol display device 41 is not limited to a liquid crystal display device, and may be another display device having a display screen such as a plasma display device, an organic EL display device, or a CRT, and is a dot matrix display. May be.

図柄表示装置41では、第1作動口33への入賞又は第2作動口34への入賞に基づき特図表示部37aにて絵柄の変動表示又は所定の表示が行われる場合にそれに合わせて図柄の変動表示又は所定の表示が行われる。例えば、図柄表示装置41の表示面41aには、複数の表示領域として上段・中段・下段の3つの図柄列が設定され、各図柄列において「1」〜「9」の数字が付された主図柄が昇順又は降順で配列された状態でスクロール表示される。このスクロール表示においては、最初に全図柄列におけるスクロール表示が開始され、上図柄列→下図柄列→中図柄列の順にスクロール表示から待機表示に切り換えられ、最終的に各図柄列にて所定の図柄を静止表示した状態で終了される。そして、例えば、遊技結果が大当たり結果となる遊技回では、図柄表示装置41の表示面41aにおいて予め設定されている有効ライン上に所定の組み合わせの図柄が停止表示される。   In the symbol display device 41, when a special symbol display unit 37a displays a change or predetermined display of a pattern based on a winning in the first operating port 33 or a winning in the second operating port 34, the symbol is displayed accordingly. A variable display or a predetermined display is performed. For example, on the display surface 41a of the symbol display device 41, three symbol rows of upper, middle, and lower rows are set as a plurality of display areas, and numbers “1” to “9” are attached to the symbol rows. The symbols are scrolled and displayed with the symbols arranged in ascending or descending order. In this scroll display, the scroll display in all the symbol sequences is started first, and the display is switched from the scroll display to the standby display in the order of the upper symbol sequence → the lower symbol sequence → the middle symbol sequence. The process ends with the symbols still displayed. For example, in the game times in which the game result is a jackpot result, a predetermined combination of symbols is stopped and displayed on the active line set in advance on the display surface 41a of the symbol display device 41.

なお、図柄表示装置41では、第1作動口33又は第2作動口34への入賞をトリガとした表示演出だけでなく、当たり当選となった後に移行する開閉実行モード中の表示演出などが行われる。また、いずれかの作動口33,34への入賞に基づいて、特図表示部37a及び図柄表示装置41にて表示が開始され、所定の結果を表示して終了されるまでが遊技回の1回に相当する。また、図柄表示装置41における図柄の変動表示の態様は上記のものに限定されることはなく任意であり、図柄列の数、図柄列における図柄の変動表示の方向、各図柄列の図柄数などは適宜変更可能である。また、図柄表示装置41にて変動表示される絵柄は上記のような図柄に限定されることはなく、例えば絵柄として数字のみが変動表示される構成としてもよい。   In addition, the symbol display device 41 performs not only a display effect triggered by winning a prize to the first operating port 33 or the second operating port 34, but also a display effect in the opening / closing execution mode that shifts after winning the winning combination. Is called. In addition, based on the winning in one of the operation ports 33 and 34, the display is started on the special symbol display unit 37a and the symbol display device 41, and until a predetermined result is displayed and ended, the game number is 1 Equivalent to times. Further, the variation display mode of the symbol in the symbol display device 41 is not limited to the above, and is arbitrary, such as the number of symbol columns, the direction of symbol variation display in the symbol column, the number of symbols in each symbol column, etc. Can be appropriately changed. Also, the pattern that is variably displayed on the symbol display device 41 is not limited to the above-described pattern, and for example, only numbers may be variably displayed as the pattern.

第1作動口33への入賞又は第2作動口34への入賞に基づく当たり抽選にて大当たり当選となった場合には、特電入賞装置32への入賞が可能となる開閉実行モードへ移行する。特電入賞装置32は、遊技盤24の背面側へと通じる図示しない大入賞口を備えているとともに、当該大入賞口を開閉する開閉扉32aを備えている。開閉扉32aは、閉鎖状態及び開放状態のいずれかに配置される。具体的には、開閉扉32aは、通常は遊技球が入賞できない閉鎖状態になっており、内部抽選において開閉実行モードへの移行に当選した場合に遊技球が入賞可能な開放状態に切り換えられるようになっている。ちなみに、開閉実行モードとは、当たり結果となった場合に移行することとなるモードである。なお、閉鎖状態では入賞が不可ではないが開放状態よりも入賞が発生しづらい状態となる構成としてもよい。   When the big win is won in the winning lottery based on the winning to the first operating port 33 or the winning to the second operating port 34, the mode shifts to an opening / closing execution mode in which the special electric winning device 32 can be won. The special electric prize winning device 32 is provided with a large winning opening (not shown) leading to the back side of the game board 24 and an open / close door 32a for opening and closing the large winning opening. The open / close door 32a is arranged in either a closed state or an open state. Specifically, the open / close door 32a is normally in a closed state in which game balls cannot be won, and can be switched to an open state in which game balls can be won when winning the transition to the open / close execution mode in the internal lottery. It has become. Incidentally, the opening / closing execution mode is a mode that shifts when a hit result is obtained. Note that, in the closed state, winning may not be impossible, but it may be configured such that winning is less likely to occur than in the open state.

図2に示すように、上記構成の遊技盤24が樹脂ベース21に取り付けられてなる内枠13の前面側全体を覆うようにして前扉枠14が設けられている。前扉枠14には、図1に示すように、遊技領域PAのほぼ全域を前方から視認することができるようにした窓部51が形成されている。窓部51は、略楕円形状をなし、窓パネル52が嵌め込まれている。窓パネル52は、ガラスによって無色透明に形成されているが、これに限定されることはなく合成樹脂によって無色透明に形成されていてもよく、パチンコ機10前方から窓パネル52を通じて遊技領域PAを視認可能であれば有色透明に形成されていてもよい。   As shown in FIG. 2, the front door frame 14 is provided so as to cover the entire front side of the inner frame 13 in which the game board 24 having the above configuration is attached to the resin base 21. As shown in FIG. 1, the front door frame 14 is formed with a window portion 51 so that almost the entire game area PA can be viewed from the front. The window part 51 has a substantially elliptical shape, and the window panel 52 is fitted therein. The window panel 52 is formed of colorless and transparent with glass, but is not limited to this, and may be formed of colorless and transparent with synthetic resin. The game area PA is defined through the window panel 52 from the front of the pachinko machine 10. As long as it is visible, it may be colored and transparent.

窓部51の上方には表示発光部53が設けられている。また、遊技状態に応じた効果音などが出力される左右一対のスピーカ部54が設けられている。また、窓部51の下方には、手前側へ膨出した上側膨出部55と下側膨出部56とが上下に並設されている。上側膨出部55内側には上方に開口した上皿55aが設けられており、下側膨出部56内側には同じく上方に開口した下皿56aが設けられている。上皿55aは、後述する払出装置より払い出された遊技球を一旦貯留し、一列に整列させながら遊技球発射機構27側へ導くための機能を有する。また、下皿56aは、上皿55a内にて余剰となった遊技球を貯留する機能を有する。   A display light emitting unit 53 is provided above the window unit 51. In addition, a pair of left and right speaker portions 54 that output sound effects according to the gaming state are provided. Further, below the window portion 51, an upper bulging portion 55 and a lower bulging portion 56 that bulge to the near side are arranged in parallel vertically. An upper plate 55a that opens upward is provided inside the upper bulge portion 55, and a lower plate 56a that also opens upward is provided inside the lower bulge portion 56. The upper plate 55a has a function of temporarily storing game balls paid out from a payout device described later and guiding them to the game ball launching mechanism 27 side while aligning them in a row. In addition, the lower tray 56a has a function of storing game balls that are surplus in the upper tray 55a.

次に、遊技機本体12の背面側の構成について説明する。   Next, the configuration on the back side of the gaming machine main body 12 will be described.

図2に示すように、内枠13(具体的には、遊技盤24)の背面には、遊技の主たる制御を司る主制御装置60が搭載されている。主制御装置60は主制御基板が基板ボックスに収容されてなる。なお、基板ボックスに、その開放の痕跡を残すための痕跡手段を付与する又はその開放の痕跡を残すための痕跡構造を設けてもよい。当該痕跡手段としては、基板ボックスを構成する複数のケース体を分離不能に結合するとともにその分離に際して所定部位の破壊を要する結合部の構成や、引き剥がしに際して粘着層が接着対象に残ることで剥がされたことの痕跡を残す封印シールを複数のケース体間の境界を跨ぐようにして貼り付ける構成が考えられる。また、痕跡構造としては、基板ボックスを構成する複数のケース体間の境界に対して接着剤を塗布する構成が考えられる。   As shown in FIG. 2, a main controller 60 that controls the main game is mounted on the back of the inner frame 13 (specifically, the game board 24). The main control device 60 has a main control board accommodated in a board box. In addition, you may provide the trace structure for giving the trace means for leaving the trace of the opening to the board | substrate box, or leaving the trace of the open. As the trace means, a plurality of case bodies constituting the substrate box are unseparably coupled, and a configuration of a coupling portion that requires destruction of a predetermined part at the time of separation, or an adhesive layer that remains on an adhesion target at the time of peeling is peeled off. A configuration is conceivable in which a seal seal that leaves a trace of what has been done is pasted so as to straddle the boundaries between the plurality of case bodies. Moreover, as a trace structure, the structure which apply | coats an adhesive agent with respect to the boundary between the some case bodies which comprise a board | substrate box can be considered.

主制御装置60を含めて内枠13の背面側を覆うようにして裏パックユニット15が設置されている。裏パックユニット15は、透明性を有する合成樹脂により形成された裏パック72を備えており、当該裏パック72に対して、払出機構部73及び制御装置集合ユニット74が取り付けられている。   The back pack unit 15 is installed so as to cover the back side of the inner frame 13 including the main controller 60. The back pack unit 15 includes a back pack 72 formed of a synthetic resin having transparency, and a payout mechanism unit 73 and a controller assembly unit 74 are attached to the back pack 72.

払出機構部73は、遊技ホールの島設備から供給される遊技球が逐次補給されるタンク75と、当該タンク75に貯留された遊技球を払い出すための払出装置76と、を備えている。払出装置76より払い出された遊技球は、当該払出装置76の下流側に設けられた払出通路を通じて、上皿55a又は下皿56aに排出される。なお、払出機構部73には、例えば交流24ボルトの主電源が供給されるとともに、電源のON操作及びOFF操作を行うための電源スイッチを有する裏パック基板が搭載されている。   The payout mechanism unit 73 includes a tank 75 in which game balls supplied from the island equipment of the game hall are sequentially replenished, and a payout device 76 for paying out the game balls stored in the tank 75. The game balls paid out from the payout device 76 are discharged to the upper plate 55a or the lower plate 56a through a payout passage provided on the downstream side of the payout device 76. The payout mechanism unit 73 is provided with a backpack substrate having a power switch for performing ON and OFF operations of the power supply, for example, while supplying a main power of AC 24 volts.

制御装置集合ユニット74は、払出装置76を制御する機能を有する払出制御装置77と、各種制御装置等で要する所定の電力が生成されて出力されるとともに遊技者による発射操作装置28の操作に伴う遊技球の打ち出しの制御が行われる電源・発射制御装置78と、を備えている。これら払出制御装置77と電源・発射制御装置78とは、払出制御装置77がパチンコ機10後方となるように前後に重ねて配置されている。   The control device assembly unit 74 generates and outputs predetermined power required by the payout control device 77 having a function of controlling the payout device 76 and various control devices, and is accompanied by an operation of the launch operation device 28 by the player. And a power source / launch control device 78 for controlling the launch of the game ball. The payout control device 77 and the power supply / launch control device 78 are arranged so as to overlap each other so that the payout control device 77 is behind the pachinko machine 10.

<パチンコ機10の電気的構成>
図4は、パチンコ機10の電気的構成を示すブロック図である。
<Electric configuration of pachinko machine 10>
FIG. 4 is a block diagram showing an electrical configuration of the pachinko machine 10.

主制御装置60は、遊技の主たる制御を司る主制御基板61と、電源を監視する停電監視基板65と、を具備している。主制御基板61には、MPU62が搭載されている。MPU62には、当該MPU62により実行される各種の制御プログラムや固定値データを記憶したROM63と、そのROM63内に記憶される制御プログラムの実行に際して各種のデータ等を一時的に記憶するためのメモリであるRAM64と、割込回路、タイマ回路、データ入出力回路、乱数発生器としての各種カウンタ回路などが内蔵されている。なお、MPU62に対してROM63及びRAM64が1チップ化されていることは必須の構成ではなく、それぞれが個別にチップ化された構成としてもよい。これは主制御装置60以外の制御装置のMPUについても同様である。   The main control device 60 includes a main control board 61 that controls the main control of the game, and a power failure monitoring board 65 that monitors the power supply. An MPU 62 is mounted on the main control board 61. The MPU 62 includes a ROM 63 that stores various control programs executed by the MPU 62 and fixed value data, and a memory that temporarily stores various data when the control program stored in the ROM 63 is executed. A RAM 64, an interrupt circuit, a timer circuit, a data input / output circuit, various counter circuits as a random number generator, and the like are incorporated. Note that it is not essential that the ROM 63 and the RAM 64 are made into one chip with respect to the MPU 62, but each may be made into a chip individually. The same applies to the MPUs of control devices other than the main control device 60.

MPU62には、入力ポート62a及び出力ポート62bがそれぞれ設けられている。入力ポート62aには24個の接続端子が設けられており、出力ポート62bには40個の接続端子が設けられている。MPU62の入力ポート62aには主制御装置60に設けられた停電監視基板65及び払出制御装置77が接続されている。停電監視基板65には動作電力を供給する機能を有する電源・発射制御装置78が接続されており、MPU62には停電監視基板65を介して電力が供給される。   The MPU 62 is provided with an input port 62a and an output port 62b. The input port 62a is provided with 24 connection terminals, and the output port 62b is provided with 40 connection terminals. A power failure monitoring board 65 and a payout controller 77 provided in the main controller 60 are connected to the input port 62 a of the MPU 62. The power failure monitoring board 65 is connected to a power source / launch control device 78 having a function of supplying operating power, and the MPU 62 is supplied with power via the power failure monitoring board 65.

また、MPU62の入力ポート62aには、各種入賞検知センサ66a〜66eといった各種センサが接続されている。各種入賞検知センサ66a〜66eには、一般入賞口31、特電入賞装置32、第1作動口33、第2作動口34及びスルーゲート35といった入賞対応入球部に対して1対1で設けられた検知センサが含まれており、MPU62において各入球部への入賞判定が行われる。また、MPU62では第1作動口33への入賞に基づいて各種抽選が実行されるとともに第2作動口34への入賞に基づいて各種抽選が実行される。   Further, various sensors such as various winning detection sensors 66a to 66e are connected to the input port 62a of the MPU 62. Each of the various winning detection sensors 66a to 66e is provided on a one-to-one basis with respect to the winning-corresponding pitching portions such as the general winning port 31, the special electric winning device 32, the first operating port 33, the second operating port 34, and the through gate 35. The detection sensor is included, and the MPU 62 makes a winning determination for each winning part. Further, in the MPU 62, various lotteries are executed on the basis of winning in the first operating port 33, and various lotteries are executed on the basis of winning in the second operating port 34.

MPU62の出力ポート62bには、停電監視基板65、払出制御装置77及び音声発光制御装置80が接続されている。払出制御装置77には、例えば上記入賞対応入球部への入賞判定結果に基づいて賞球コマンドが出力される。音声発光制御装置80には、変動用コマンド、種別コマンド及びオープニングコマンドなどの各種コマンドが出力される。これら各種コマンドの詳細については後に説明する。なお、MPU62は、音声発光制御装置80に対してパラレル通信でコマンドを送信する。   A power failure monitoring board 65, a payout control device 77, and a sound emission control device 80 are connected to the output port 62b of the MPU 62. To the payout control device 77, for example, a winning ball command is output based on the winning determination result to the winning corresponding winning portion. Various commands such as a change command, a type command, and an opening command are output to the sound emission control device 80. Details of these various commands will be described later. The MPU 62 transmits a command to the sound emission control device 80 by parallel communication.

また、MPU62の出力ポート62bには、特電入賞装置32の開閉扉32aを開閉動作させる特電用の駆動部32b、第2作動口34の普電役物34aを開閉動作させる普電用の駆動部34b、特図ユニット37及び普図ユニット38が接続されている。ちなみに、特図ユニット37には、特図表示部37a及び特図保留表示部37bが設けられているが、これらの全てがMPU62の出力側に接続されている。同様に、普図ユニット38には、普図表示部38a及び普図保留表示部38bが設けられているが、これらの全てがMPU62の出力側に接続されている。主制御基板61には各種ドライバ回路が設けられており、当該ドライバ回路を通じてMPU62は各種駆動部及び各種表示部の駆動制御を実行する。   Further, the output port 62b of the MPU 62 includes a special electric drive unit 32b for opening / closing the open / close door 32a of the special electric prize device 32, and a general electric drive unit for opening / closing the electric utility 34a of the second operating port 34. 34b, special figure unit 37 and universal figure unit 38 are connected. Incidentally, the special figure unit 37 is provided with a special figure display part 37 a and a special figure holding display part 37 b, all of which are connected to the output side of the MPU 62. Similarly, the universal map unit 38 is provided with a universal map display unit 38 a and a universal map hold display unit 38 b, all of which are connected to the output side of the MPU 62. The main control board 61 is provided with various driver circuits, and the MPU 62 performs drive control of various drive units and various display units through the driver circuits.

つまり、開閉実行モードにおいては特電入賞装置32が開閉されるように、MPU62において特電用の駆動部32bの駆動制御が実行される。また、普電役物34aの開放状態当選となった場合には、普電役物34aが開閉されるように、MPU62において普電用の駆動部34bの駆動制御が実行される。また、各遊技回に際しては、MPU62において特図表示部37aの表示制御が実行される。また、普電役物34aを開放状態とするか否かの抽選結果を明示する場合に、MPU62において普図表示部38aの表示制御が実行される。また、第1作動口33若しくは第2作動口34への入賞が発生した場合、又は特図表示部37aにおいて変動表示が開始される場合に、MPU62において特図保留表示部37bの表示制御が実行され、スルーゲート35への入賞が発生した場合、又は普図表示部38aにおいて変動表示が開始される場合に、MPU62において普図保留表示部38bの表示制御が実行される。   That is, in the opening / closing execution mode, the MPU 62 performs drive control of the special electricity driving unit 32b so that the special electricity prize winning device 32 is opened and closed. In addition, when the power utility item 34a is won, the MPU 62 performs drive control of the power unit 34b so that the power utility item 34a is opened and closed. In each game round, the display control of the special figure display unit 37a is executed in the MPU 62. In addition, when the lottery result indicating whether or not to open the electric utility item 34a is clearly indicated, the MPU 62 performs display control of the normal display portion 38a. In addition, when winning is awarded to the first working port 33 or the second working port 34, or when the variable display is started in the special figure display unit 37a, the display control of the special figure holding display unit 37b is executed in the MPU 62. When the winning to the through gate 35 is generated or when the variable display is started in the general map display unit 38a, the display control of the general map hold display unit 38b is executed in the MPU 62.

停電監視基板65は、主制御基板61と電源・発射制御装置78とを中継し、また電源・発射制御装置78から出力される最大電圧である直流安定24ボルトの電圧を監視する。払出制御装置77は、主制御装置60から受信した賞球コマンドに基づいて、払出装置76により賞球や貸し球の払出制御を行うものである。   The power failure monitoring board 65 relays between the main control board 61 and the power / fire control device 78, and monitors a DC stable voltage of 24 volts, which is the maximum voltage output from the power / fire control device 78. The payout control device 77 performs payout control of prize balls and rental balls by the payout device 76 based on the prize ball command received from the main control device 60.

電源・発射制御装置78は、例えば、遊技ホール等における商用電源(外部電源)に接続されている。そして、その商用電源から供給される外部電力に基づいて主制御基板61や払出制御装置77等に対して各々に必要な動作電力を生成するとともに、その生成した動作電力を供給する。ちなみに、電源・発射制御装置78にはバックアップ用コンデンサなどの電断時用電源部が設けられており、パチンコ機10の電源がOFF状態の場合であっても当該電断時用電源部から主制御装置60のRAM64に記憶保持用の電力が供給される。また、電源・発射制御装置78は遊技球発射機構27の発射制御を担うものであり、遊技球発射機構27は所定の発射条件が整っている場合に駆動される。   The power / launch control device 78 is connected to, for example, a commercial power source (external power source) in a game hall or the like. And based on the external electric power supplied from the commercial power supply, necessary operating power is generated for each of the main control board 61, the payout control device 77, etc., and the generated operating power is supplied. Incidentally, the power supply / launch control device 78 is provided with a power supply unit for power interruption such as a backup capacitor, and even when the power of the pachinko machine 10 is in an OFF state, the power supply unit for power interruption is connected to the main power supply unit. Electric power for storing and holding is supplied to the RAM 64 of the control device 60. In addition, the power source / launch control device 78 is responsible for launch control of the game ball launch mechanism 27, and the game ball launch mechanism 27 is driven when predetermined launch conditions are met.

音声発光制御装置80は、主制御装置60から受信した各種コマンドに基づいて、前扉枠14に設けられた表示発光部53及びスピーカ部54を駆動制御するとともに、表示制御装置90を制御するものである。表示制御装置90は、音声発光制御装置80から受信したコマンドに基づいて、図柄表示装置41の表示制御を実行する。   The sound light emission control device 80 controls the display control device 90 while driving and controlling the display light emitting portion 53 and the speaker portion 54 provided on the front door frame 14 based on various commands received from the main control device 60. It is. The display control device 90 executes display control of the symbol display device 41 based on the command received from the sound emission control device 80.

<主制御装置60のMPU62にて各種抽選を行うための電気的構成>
次に、主制御装置60のMPU62にて各種抽選を行うための電気的な構成について図5を用いて説明する。
<Electrical configuration for performing various lotteries in the MPU 62 of the main controller 60>
Next, an electrical configuration for performing various lotteries in the MPU 62 of the main controller 60 will be described with reference to FIG.

MPU62は遊技に際し各種カウンタ情報を用いて、当たり発生抽選、特図表示部37aの表示の設定、図柄表示装置41の図柄表示の設定、普図表示部38aの表示の設定などを行うこととしており、具体的には、図5に示すように、当たり発生の抽選に使用する当たり乱数カウンタC1と、大当たり種別を判定する際に使用する大当たり種別カウンタC2と、図柄表示装置41が外れ変動する際のリーチ発生抽選に使用するリーチ乱数カウンタC3と、当たり乱数カウンタC1の初期値設定に使用する乱数初期値カウンタCINIと、特図表示部37a及び図柄表示装置41における表示継続時間を決定する変動種別カウンタCSと、を用いることとしている。さらに、第2作動口34の普電役物34aを普電開放状態とするか否かの抽選に使用する普電役物開放カウンタC4を用いることとしている。なお、上記各カウンタC1〜C3,CINI,CS,C4は、RAM64の各種カウンタエリア64bに設けられている。   The MPU 62 uses lots of counter information in the game to perform winning occurrence lottery, setting of display of the special symbol display unit 37a, setting of symbol display of the symbol display device 41, setting of display of the general symbol display unit 38a, and the like. More specifically, as shown in FIG. 5, when the winning random number counter C1 used for winning lottery, the big hit type counter C2 used for determining the big hit type, and the symbol display device 41 fluctuate and change. Reach random number counter C3 used for the reach generation lottery, random number initial value counter CINI used for setting the initial value of the hit random number counter C1, and the variation type for determining the display duration in the special figure display unit 37a and the symbol display unit 41 The counter CS is used. Further, the utility power release counter C4 used for the lottery to determine whether or not the utility power item 34a of the second working port 34 is set to the utility power release state is used. The counters C1 to C3, CINI, CS, and C4 are provided in various counter areas 64b of the RAM 64.

各カウンタC1〜C3,CINI,CS,C4は、その更新の都度前回値に1が加算され、最大値に達した後に「0」に戻るループカウンタとなっている。各カウンタは短時間間隔で更新される。当たり乱数カウンタC1、大当たり種別カウンタC2及びリーチ乱数カウンタC3に対応した情報は、第1作動口33又は第2作動口34への入賞が発生した場合に、RAM64に取得情報記憶手段として設けられた保留格納エリア64aに格納される。   Each of the counters C1 to C3, CINI, CS, and C4 is a loop counter that adds 1 to the previous value every time it is updated and returns to “0” after reaching the maximum value. Each counter is updated at short intervals. Information corresponding to the hit random number counter C1, the big hit type counter C2 and the reach random number counter C3 is provided as an acquisition information storage means in the RAM 64 when a winning to the first operating port 33 or the second operating port 34 occurs. It is stored in the reserved storage area 64a.

保留格納エリア64aは、保留用エリアREと、実行エリアAEとを備えている。保留用エリアREは、第1保留エリアRE1、第2保留エリアRE2、第3保留エリアRE3及び第4保留エリアRE4を備えており、第1作動口33又は第2作動口34への入賞履歴に合わせて、当たり乱数カウンタC1、大当たり種別カウンタC2及びリーチ乱数カウンタC3の各数値情報の組合せが保留情報として、いずれかの保留エリアRE1〜RE4に格納される。   The holding storage area 64a includes a holding area RE and an execution area AE. The holding area RE includes a first holding area RE1, a second holding area RE2, a third holding area RE3, and a fourth holding area RE4. In the winning history to the first operating port 33 or the second operating port 34, In addition, combinations of numerical information of the hit random number counter C1, the big hit type counter C2, and the reach random number counter C3 are stored as hold information in any of the hold areas RE1 to RE4.

この場合、第1保留エリアRE1〜第4保留エリアRE4には、第1作動口33又は第2作動口34への入賞が複数回連続して発生した場合に、第1保留エリアRE1→第2保留エリアRE2→第3保留エリアRE3→第4保留エリアRE4の順に各数値情報が時系列的に格納されていく。このように4つの保留エリアRE1〜RE4が設けられていることにより、第1作動口33又は第2作動口34への遊技球の入賞履歴が最大4個まで保留記憶されるようになっている。   In this case, in the first reservation area RE1 to the fourth reservation area RE4, when a winning to the first operation port 33 or the second operation port 34 occurs continuously a plurality of times, the first reservation area RE1 → second Each numerical information is stored in time series in the order of the reserved area RE2 → the third reserved area RE3 → the fourth reserved area RE4. By providing the four holding areas RE1 to RE4 as described above, up to four game balls winning histories to the first operating port 33 or the second operating port 34 are stored and stored. .

なお、保留記憶可能な数は、4個に限定されることはなく任意であり、2個、3個又は5個以上といったように他の複数であってもよく、単数であってもよい。   Note that the number that can be reserved and stored is not limited to four, but may be any other number such as two, three, or five or more.

実行エリアAEは、特図表示部37aの変動表示を開始する際に、保留用エリアREの第1保留エリアRE1に格納された各数値情報を移動させるためのエリアであり、1遊技回の開始に際しては実行エリアAEに記憶されている各種数値情報に基づいて、当否判定などが行われる。   The execution area AE is an area for moving each numerical information stored in the first holding area RE1 of the holding area RE when starting the variable display of the special figure display section 37a, and starting one game round At this time, determination of success or failure is performed based on various numerical information stored in the execution area AE.

上記各カウンタについて詳細に説明する。   Each of the counters will be described in detail.

まず、普電役物開放カウンタC4について説明する。普電役物開放カウンタC4は、例えば、0〜250の範囲内で順に1ずつ加算され、最大値に達した後に「0」に戻る構成となっている。普電役物開放カウンタC4は定期的に更新され、スルーゲート35に遊技球が入賞したタイミングでRAM64の普電保留エリア64cに格納される。そして、所定のタイミングにおいて、その格納された普電役物開放カウンタC4の値によって普電役物34aを開放状態に制御するか否かの抽選が行われる。   First, the general electric utility release counter C4 will be described. For example, the utility power release counter C4 is incremented by 1 in the range of 0 to 250 and returns to “0” after reaching the maximum value. The general electric utility release counter C4 is periodically updated and stored in the general electric power holding area 64c of the RAM 64 at a timing when a game ball wins the through gate 35. Then, at a predetermined timing, a lottery is performed as to whether or not to control the general utility 34a to the open state based on the stored value of the general utility release counter C4.

本パチンコ機10では、普電役物34aによるサポートの態様が相互に異なるように複数種類のサポートモードが設定されている。詳細には、サポートモードには、遊技領域PAに対して同様の態様で遊技球の発射が継続されている状況で比較した場合に、第2作動口34の普電役物34aが単位時間当たりに開放状態となる頻度が相対的に高低となるように、高頻度サポートモードと低頻度サポートモードとが設定されている。   In the pachinko machine 10, a plurality of types of support modes are set so that the modes of support by the electric utility 34 a are different from each other. Specifically, in the support mode, when the game ball PA is continuously fired in the same manner with respect to the game area PA, the power utility 34a of the second working port 34 is per unit time. The high frequency support mode and the low frequency support mode are set so that the frequency of the open state is relatively high.

高頻度サポートモードと低頻度サポートモードとでは、普電役物開放カウンタC4を用いた普電開放抽選における普電開放状態当選となる確率は同一(例えば、共に4/5)となっているが、高頻度サポートモードでは低頻度サポートモードよりも、普電開放状態当選となった際に普電役物34aが開放状態となる回数が多く設定されており、さらに1回の開放時間が長く設定されている。この場合、高頻度サポートモードにおいて普電開放状態当選となり普電役物34aの開放状態が複数回発生する場合において、1回の開放状態が終了してから次の開放状態が開始されるまでの閉鎖時間は、1回の開放時間よりも短く設定されている。さらにまた、高頻度サポートモードでは低頻度サポートモードよりも、1回の普電開放抽選が行われてから次の普電開放抽選が行われる上で最低限確保される確保時間(すなわち、普図表示部38aにおける1回の表示継続時間)が短く設定されている。   In the high frequency support mode and the low frequency support mode, the probability of winning the electric power open state in the electric power open lottery using the electric power utility opening counter C4 is the same (for example, both 4/5). In the high frequency support mode, the number of times that the power utility 34a is in the open state is set more frequently than in the low frequency support mode, and one open time is set longer. Has been. In this case, in the high frequency support mode, when the open state of the public electric power is selected and the open state of the general electric utility 34a is generated a plurality of times, from the end of one open state to the start of the next open state. The closing time is set shorter than one opening time. Furthermore, in the high frequency support mode, the minimum reserved time (i.e., the normal map) is required for the next open train lottery after the first open train lottery than in the low frequency support mode. The display duration time for the display unit 38a is set short.

上記のとおり、高頻度サポートモードでは、低頻度サポートモードよりも第2作動口34への入賞が発生する確率が高くなる。換言すれば、低頻度サポートモードでは、第2作動口34よりも第1作動口33への入賞が発生する確率が高くなるが、高頻度サポートモードでは、第1作動口33よりも第2作動口34への入賞が発生する確率が高くなる。そして、第2作動口34への入賞が発生した場合には、所定個数の遊技球の払出が実行されるため、高頻度サポートモードでは、遊技者は持ち球をあまり減らさないようにしながら遊技を行うことができる。   As described above, in the high frequency support mode, the probability of winning a prize to the second operating port 34 is higher than in the low frequency support mode. In other words, in the low frequency support mode, there is a higher probability of winning the first operating port 33 than in the second operating port 34, but in the high frequency support mode, the second operation is performed more than in the first operating port 33. The probability of winning a prize in the mouth 34 is increased. When a winning is made to the second operation port 34, a predetermined number of game balls are paid out. Therefore, in the high frequency support mode, the player plays a game while not reducing the number of possessed balls so much. It can be carried out.

なお、高頻度サポートモードを低頻度サポートモードよりも単位時間当たりに普電開放状態となる頻度を高くする上での構成は、上記のものに限定されることはなく、例えば普電開放抽選における普電開放状態当選となる確率を高くする構成としてもよい。また、1回の普電開放抽選が行われてから次の普電開放抽選が行われる上で確保される確保時間(例えば、スルーゲート35への入賞に基づき普図表示部38aにて実行される変動表示の時間)が複数種類用意されている構成においては、高頻度サポートモードでは低頻度サポートモードよりも、短い確保時間が選択され易い又は平均の確保時間が短くなるように設定されていてもよい。さらには、開放回数を多くする、開放時間を長くする、1回の普電開放抽選が行われてから次の普電開放抽選が行われる上で確保される確保時間を短くする、係る確保時間の平均時間を短くする及び当選確率を高くするのうち、いずれか1条件又は任意の組合せの条件を適用することで、低頻度サポートモードに対する高頻度サポートモードの有利性を高めてもよい。   Note that the configuration for increasing the frequency at which the high frequency support mode is set to the normal power open state per unit time as compared to the low frequency support mode is not limited to the above, for example, in the general power open lottery It is good also as a structure which raises the probability that it will be elected in an open state of a public train. In addition, a reserved time (for example, executed in the general map display unit 38a based on a winning to the through gate 35) is secured after the next public train opening lottery is performed. In a configuration in which a plurality of types of variable display time) are prepared, the high frequency support mode is set so that a short securing time is easily selected or the average secure time is shorter than the low frequency support mode. Also good. Furthermore, increase the number of times of opening, lengthen the opening time, and shorten the reserved time that will be secured when the next public train opening lottery is performed after the first public train opening lottery is performed, the reserved time concerned The advantage of the high-frequency support mode over the low-frequency support mode may be increased by applying any one condition or any combination of conditions among shortening the average time and increasing the winning probability.

次に、当たり乱数カウンタC1について説明する。当たり乱数カウンタC1は、例えば0〜599の範囲内で順に1ずつ加算され、最大値に達した後に「0」に戻る構成となっている。特に、当たり乱数カウンタC1が1周した場合、その時点の乱数初期値カウンタCINIの値が当該当たり乱数カウンタC1の初期値として読み込まれる。なお、乱数初期値カウンタCINIは、当たり乱数カウンタC1と同様のループカウンタである(値=0〜599)。当たり乱数カウンタC1は定期的に更新され、遊技球が第1作動口33又は第2作動口34に入賞したタイミングでRAM64の保留格納エリア64aに格納される。   Next, the winning random number counter C1 will be described. For example, the winning random number counter C1 is incremented by 1 within a range of 0 to 599, and returns to “0” after reaching the maximum value. In particular, when the winning random number counter C1 makes one round, the value of the random number initial value counter CINI at that time is read as the initial value of the winning random number counter C1. The random number initial value counter CINI is a loop counter similar to the winning random number counter C1 (value = 0 to 599). The winning random number counter C1 is periodically updated, and stored in the holding storage area 64a of the RAM 64 at the timing when the game ball wins the first operation port 33 or the second operation port 34.

大当たり当選となる乱数の値は、ROM63に当否テーブルとして記憶されている。当否テーブルとしては、低確率モード用の当否テーブルと、高確率モード用の当否テーブルとが設定されている。つまり、本パチンコ機10は、当否抽選手段における抽選モードとして、低確率モードと高確率モードとが設定されている。   The random number value for winning the jackpot is stored in the ROM 63 as a success / failure table. As the success / failure table, a success / failure table for the low probability mode and a success / failure table for the high probability mode are set. That is, in the pachinko machine 10, the low probability mode and the high probability mode are set as the lottery modes in the success / failure lottery means.

上記抽選に際して低確率モード用の当否テーブルが参照されることとなる遊技状態下では、大当たり当選となる乱数の数は2個である。一方、上記抽選に際して高確率モード用の当否テーブルが参照されることとなる遊技状態下では、大当たり当選となる乱数の数は20個である。なお、低確率モードよりも高確率モードの方の当選確率が高くなるのであれば、上記当選となる乱数の数は任意である。   In the gaming state in which the winning / failing table for the low probability mode is referred to at the time of the lottery, the number of random numbers that win the jackpot is two. On the other hand, in the gaming state in which the winning / failing table for the high probability mode is referred to at the time of the lottery, the number of random numbers that will win the jackpot is 20. If the winning probability in the high probability mode is higher than that in the low probability mode, the number of random numbers to be won is arbitrary.

大当たり種別カウンタC2は、0〜29の範囲内で順に1ずつ加算され、最大値に達した後に「0」に戻る構成となっている。大当たり種別カウンタC2は定期的に更新され、遊技球が第1作動口33又は第2作動口34に入賞したタイミングで保留格納エリア64aに格納される。   The jackpot type counter C2 is incremented one by one within the range of 0 to 29, and returns to “0” after reaching the maximum value. The big hit type counter C2 is periodically updated and stored in the holding storage area 64a at the timing when the game ball wins the first operation port 33 or the second operation port 34.

本パチンコ機10では、複数の大当たり結果が設定されている。これら複数の大当たり結果は、(1)開閉実行モードにおける特電入賞装置32の開閉制御の態様、(2)開閉実行モード終了後の当否抽選手段における抽選モード、(3)開閉実行モード終了後の第2作動口34の普電役物34aにおけるサポートモード、という3つの条件に差異を設けることにより、複数の大当たり結果が設定されている。   In the pachinko machine 10, a plurality of jackpot results are set. The plurality of jackpot results are as follows: (1) a mode of opening / closing control of the special prize winning device 32 in the opening / closing execution mode, (2) lottery mode in the winning lottery means after the opening / closing execution mode ends, (3) A plurality of jackpot results are set by making a difference in the three conditions of the support mode in the general electric utility 34a of the two operation ports 34.

開閉実行モードにおける特電入賞装置32の開閉制御の態様としては、開閉実行モードが開始されてから終了するまでの間における特電入賞装置32への入賞の発生頻度が相対的に高低となるように高頻度入賞モードと低頻度入賞モードとが設定されている。具体的には、高頻度入賞モード及び低頻度入賞モードのいずれであっても、予め定められた回数のラウンド遊技を上限として実行される。   As an aspect of the opening / closing control of the special electricity prize winning device 32 in the opening / closing execution mode, the occurrence frequency of winning in the special electricity prize winning device 32 from the start to the end of the opening / closing execution mode is relatively high. A frequency winning mode and a low frequency winning mode are set. Specifically, in any of the high-frequency winning mode and the low-frequency winning mode, the game is executed with a predetermined number of round games as an upper limit.

ここで、ラウンド遊技とは、予め定められた上限継続時間が経過すること、及び予め定められた上限個数の遊技球が特電入賞装置32に入賞することのいずれか一方の条件が満たされるまで継続する遊技のことである。また、大当たり結果が契機となった開閉実行モードにおけるラウンド遊技の回数は、その移行の契機となった大当たり結果の種類がいずれであっても固定ラウンド回数で同一となっている。具体的には、いずれの大当たり結果となった場合であっても、ラウンド遊技の上限回数は15ラウンドに設定されている。   Here, the round game is continued until either one of a predetermined upper limit continuation time elapses and a predetermined upper limit number of game balls win the special electric prize winning device 32 is satisfied. It is a game to play. In addition, the number of round games in the opening / closing execution mode triggered by the jackpot result is the same for a fixed number of rounds regardless of the type of jackpot result triggered by the transition. Specifically, the upper limit number of round games is set to 15 rounds regardless of which jackpot result is obtained.

また、本パチンコ機10では、特電入賞装置32の1回の開放態様が、特電入賞装置32が開放されてから閉鎖されるまでの開放継続時間を相違させて、複数種類設定されている。詳細には、開放継続時間が長時間である29secに設定された長時間態様と、開放継続時間が上記長時間よりも短い短時間である0.06secに設定された短時間態様と、が設定されている。   Moreover, in this pachinko machine 10, a plurality of types of opening modes of the special electricity prize winning device 32 are set with different opening durations from when the special electricity prize winning device 32 is opened until it is closed. Specifically, a long-time mode set to 29 sec, which is a long open duration, and a short-time mode set to 0.06 sec, which is a short time shorter than the above long time, are set. Has been.

本パチンコ機10では、発射操作装置28が遊技者により操作されている状況では、0.6secに1個の遊技球が遊技領域に向けて発射されるように遊技球発射機構27が駆動制御される。また、ラウンド遊技は終了条件の上限個数が9個に設定されている。そうすると、上記開放態様のうち長時間態様では、遊技球の発射周期と1回のラウンド遊技との積よりも長い時間の開放継続時間が設定されていることとなる。一方、短時間態様では、遊技球の発射周期と1回のラウンド遊技との積よりも短い時間、より詳細には、遊技球の発射周期よりも短い時間の開放継続時間が設定されている。したがって、長時間態様で1回の開放が行われた場合には、特電入賞装置32に対して、1回のラウンド遊技における上限個数分の入賞が発生することが期待され、短時間態様で1回の開放が行われた場合には、特電入賞装置32への入賞が発生しないこと又は入賞が発生するとしても1個程度となることが期待される。   In the present pachinko machine 10, when the launch operation device 28 is operated by the player, the game ball launching mechanism 27 is driven and controlled so that one game ball is launched toward the game area every 0.6 sec. The In the round game, the upper limit number of end conditions is set to nine. Then, in the long time mode among the above open modes, the open duration time is set longer than the product of the game ball firing period and one round game. On the other hand, in the short-time mode, an opening continuation time is set that is shorter than the product of the game ball launch cycle and one round game, more specifically, shorter than the game ball launch cycle. Therefore, when the opening is performed once in the long-time mode, it is expected that the special electric prize winning device 32 will receive the maximum number of winnings in one round game. When the number of times is released, it is expected that no prize will be given to the special electric prize winning device 32 or that there will be about one even if a prize is generated.

高頻度入賞モードでは、各ラウンド遊技において長時間態様による特電入賞装置32の開放が1回行われる。一方、低頻度入賞モードでは、各ラウンド遊技において短時間態様による特電入賞装置32の開放が1回行われる。   In the high-frequency winning mode, the special electric prize winning device 32 is opened once in a long-time manner in each round game. On the other hand, in the low-frequency winning mode, the special prize winning device 32 is opened once in each round game in a short time mode.

なお、高頻度入賞モード及び低頻度入賞モードにおける特電入賞装置32の開閉回数、ラウンド遊技の回数、1回の開放に対する開放継続時間及び1回のラウンド遊技における上限個数は、高頻度入賞モードの方が低頻度入賞モードよりも、開閉実行モードが開始されてから終了するまでの間における特電入賞装置32への入賞の発生頻度が高くなるのであれば、上記の値に限定されることはなく任意である。   In addition, the number of times of opening / closing the special electric prize device 32 in the high frequency winning mode and the low frequency winning mode, the number of round games, the opening duration for one opening, and the upper limit number in one round game are those in the high frequency winning mode. However, the value is not limited to the above value as long as the occurrence frequency of the winning to the special electricity winning device 32 is higher than the low-frequency winning mode until the opening / closing execution mode starts and ends. It is.

大当たり種別カウンタC2に対する遊技結果の振分先は、ROM63に振分テーブルとして記憶されている。そして、かかる振分先として、低確大当たり結果と、低入賞高確大当たり結果と、最有利大当たり結果とが設定されている。   The game result distribution destination for the big hit type counter C2 is stored in the ROM 63 as a distribution table. And as such a distribution destination, a low probability big hit result, a low winning high probability big hit result, and the most advantageous big hit result are set.

低確大当たり結果は、開閉実行モードが高頻度入賞モードとなり、さらに開閉実行モードの終了後には、当否抽選モードが低確率モードとなるとともに、サポートモードが高頻度サポートモードとなる大当たり結果である。但し、この高頻度サポートモードは、移行後において遊技回数が終了基準回数(具体的には、100回)に達した場合に低頻度サポートモードに移行する。   The low probability big hit result is a big hit result in which the open / close execution mode becomes the high-frequency winning mode, and after the open / close execution mode ends, the win / fail lottery mode becomes the low probability mode and the support mode becomes the high frequency support mode. However, the high-frequency support mode shifts to the low-frequency support mode when the number of games reaches the end reference number (specifically, 100 times) after the shift.

低入賞高確大当たり結果は、開閉実行モードが低頻度入賞モードとなり、さらに開閉実行モードの終了後には、当否抽選モードが高確率モードとなるとともに、サポートモードが高頻度サポートモードとなる大当たり結果である。これら高確率モード及び高頻度サポートモードは、当否抽選における抽選結果が大当たり当選となり、それによる開閉実行モードに移行するまで継続する。   The low-winning high-probability jackpot result is a jackpot result in which the opening / closing execution mode becomes the low-frequency winning mode, and after the opening / closing execution mode ends, the success / failure lottery mode becomes the high probability mode and the support mode becomes the high-frequency support mode. is there. These high-probability mode and high-frequency support mode continue until the lottery result in the success / failure lottery wins a big win, and the operation shifts to the opening / closing execution mode.

最有利大当たり結果は、開閉実行モードが高頻度入賞モードとなり、さらに開閉実行モードの終了後には、当否抽選モードが高確率モードとなるとともに、サポートモードが高頻度サポートモードとなる大当たり結果である。これら高確率モード及び高頻度サポートモードは、当否抽選における抽選結果が大当たり当選となり、それによる開閉実行モードに移行するまで継続する。   The most advantageous jackpot result is a jackpot result in which the opening / closing execution mode becomes the high-frequency winning mode, and after the opening / closing execution mode ends, the winning / raising lottery mode becomes the high probability mode and the support mode becomes the high-frequency support mode. These high-probability mode and high-frequency support mode continue until the lottery result in the success / failure lottery wins a big win, and the operation shifts to the opening / closing execution mode.

なお、上記各遊技状態との関係で通常遊技状態とは、開閉実行モードではなく、さらに当否抽選モードが低確率モードであり、サポートモードが低頻度サポートモードである状態をいう。また、遊技結果として、低入賞高確大当たり結果が設定されていない構成としてもよい。   Note that the normal game state in relation to each of the above-described game states refers to a state in which the success / failure lottery mode is the low probability mode and the support mode is the low frequency support mode, not the open / close execution mode. Moreover, it is good also as a structure in which the low prize-winning high probability hit result is not set as a game result.

振分テーブルでは、「0〜29」の大当たり種別カウンタC2の値のうち、「0〜9」が低確大当たり結果に対応しており、「10〜14」が低入賞高確大当たり結果に対応しており、「15〜29」が最有利大当たり結果に対応している。   In the distribution table, among the values of the big hit type counter C2 of “0 to 29”, “0 to 9” corresponds to the low probability big hit result, and “10 to 14” corresponds to the low winning high probability big hit result. “15 to 29” corresponds to the most favorable jackpot result.

次に、リーチ乱数カウンタC3について説明する。リーチ乱数カウンタC3は、例えば0〜238の範囲内で順に1ずつ加算され、最大値に達した後に「0」に戻る構成となっている。ここで、本パチンコ機10には、図柄表示装置41における表示演出の一種として期待演出が設定されている。期待演出とは、図柄の変動表示を行うことが可能な図柄表示装置41を備え、所定の大当たり結果となる遊技回では最終的な停止結果が付与対応結果となる遊技機において、図柄表示装置41における図柄の変動表示が開始されてから停止結果が導出表示される前段階で、前記付与対応結果となり易い変動表示状態であると遊技者に思わせるための表示状態をいう。なお、付与対応結果について具体的には、いずれかの有効ライン上に同一の数字が付された図柄の組合せが停止表示される。   Next, the reach random number counter C3 will be described. The reach random number counter C3 is, for example, incremented by 1 within a range of 0 to 238, and returns to “0” after reaching the maximum value. Here, in the pachinko machine 10, an expected effect is set as a kind of display effect in the symbol display device 41. The expected effect includes a symbol display device 41 that can display a variation of symbols, and in a gaming machine in which a final stop result is an assignment corresponding result in a game round that results in a predetermined jackpot result, the symbol display device 41 This is a display state for making the player think that it is a variable display state that is likely to be the above-mentioned giving correspondence result at the stage before the stop result is derived and displayed after the symbol variable display is started. In addition, about the provision corresponding | compatible result, the combination of the symbol to which the same number was attached | subjected on one of the effective lines is stopped and displayed.

期待演出には、リーチ表示と、リーチ表示が発生する前段階などにおいてリーチ表示の発生や付与対応結果の発生を期待させるための予告表示との2種類が設定されている。   In the expected effect, two types of reach display and a notice display for expecting the occurrence of reach display and the generation of the result of giving correspondence at a stage before the reach display occurs are set.

リーチ表示には、図柄表示装置41の表示面41aに表示される複数の図柄列のうち一部の図柄列について図柄を停止表示させることで、同一図柄からなるリーチ図柄の組合せを表示し、その状態で残りの図柄列において図柄の変動表示を行う表示状態が含まれる。また、上記のようにリーチ図柄の組合せを表示した状態で、残りの図柄列において図柄の変動表示を行うとともに、その背景画面において所定のキャラクタなどを動画として表示することによりリーチ演出を行うものや、リーチ図柄の組合せを縮小表示させる又は非表示とした上で、表示面41aの略全体において所定のキャラクタなどを動画として表示することによりリーチ演出を行うものが含まれる。   In the reach display, a combination of reach symbols composed of the same symbols is displayed by stopping and displaying symbols for some of the symbol sequences displayed on the display surface 41a of the symbol display device 41. In the state, a display state in which the variable display of symbols is displayed in the remaining symbol rows is included. In addition, in the state where the combination of reach symbols is displayed as described above, the variation of the symbols is displayed in the remaining symbol rows, and a predetermined character or the like is displayed as a moving image on the background screen, and the reach effect is performed. In addition, there are those that perform a reach effect by displaying a predetermined character or the like as a moving image on substantially the entire display surface 41a after reducing or not displaying a combination of reach symbols.

予告表示には、図柄表示装置41の表示面41aにおいて図柄の変動表示が開始されてから、全ての図柄列にて図柄が変動表示されている状況において、又は一部の図柄列であって複数の図柄列にて図柄が変動表示されている状況において、図柄列上の図柄とは別にキャラクタを表示させる態様が含まれる。また、背景画面をそれまでの態様とは異なる所定の態様とするものや、図柄列上の図柄をそれまでの態様とは異なる所定の態様とするものも含まれる。かかる予告表示は、リーチ表示が行われる場合及びリーチ表示が行われない場合のいずれの遊技回においても発生し得るが、リーチ表示の行われる場合の方がリーチ表示の行われない場合よりも高確率で発生するように設定されている。   The notice display includes a plurality of symbol strings in a situation where symbols are variably displayed in all symbol columns after the symbol variable display is started on the display surface 41a of the symbol display device 41. In the situation where the symbols are variably displayed in the symbol row, a mode in which the character is displayed separately from the symbols on the symbol row is included. Moreover, what makes a background screen the predetermined aspect different from the previous aspect, and what makes the symbol on a symbol row the predetermined aspect different from the previous aspect are also included. Such a notice display can occur in any game times when reach display is performed and when reach display is not performed, but the case where reach display is performed is higher than the case where reach display is not performed. It is set to occur with probability.

リーチ表示は、最終的に同一の図柄の組合せが停止表示される遊技回では、リーチ乱数カウンタC3の値に関係なく実行される。また、同一の図柄の組合せが停止表示されない大当たり結果に対応した遊技回では、リーチ乱数カウンタC3の値に関係なく実行されない。また、外れ結果に対応した遊技回では、ROM63に記憶されたリーチ用テーブルを参照して所定のタイミングで取得したリーチ乱数カウンタC3がリーチ表示の発生に対応している場合に実行される。   The reach display is executed regardless of the value of the reach random number counter C3 in the game times in which the combination of the same symbols is finally stopped. In addition, the game times corresponding to the jackpot result in which the same symbol combination is not stopped and displayed are not executed regardless of the value of the reach random number counter C3. Also, in the game times corresponding to the result of losing, it is executed when the reach random number counter C3 acquired at a predetermined timing with reference to the reach table stored in the ROM 63 corresponds to the occurrence of reach display.

一方、予告表示を行うか否かの決定は、主制御装置60において行うのではなく、音声発光制御装置80において行われる。この場合、音声発光制御装置80は、いずれかの大当たり結果に対応した遊技回の方が、外れ結果に対応した遊技回に比べ、予告表示が発生し易いこと、及び出現率の低い予告表示が発生し易いことの少なくとも一方の条件を満たすように、予告表示用の抽選処理を実行する。ちなみに、この抽選結果は、図柄表示装置41にて遊技回用の演出が実行される場合に反映される。   On the other hand, the determination as to whether or not to perform the notice display is performed not by the main control device 60 but by the sound emission control device 80. In this case, the sound emission control device 80 is more likely to generate a notice display and a notice display with a low appearance rate in the game times corresponding to any of the jackpot results compared to the game times corresponding to the missed results. A lottery process for displaying a notice is executed so as to satisfy at least one of the conditions of being easily generated. Incidentally, the lottery result is reflected when the game display effect is executed on the symbol display device 41.

次に、変動種別カウンタCSについて説明する。変動種別カウンタCSは、例えば0〜198の範囲内で順に1ずつ加算され、最大値に達した後に「0」に戻る構成となっている。変動種別カウンタCSは、特図表示部37aにおける表示継続時間と、図柄表示装置41における図柄の表示継続時間とをMPU62において決定する上で用いられる。変動種別カウンタCSは、後述する通常処理が1回実行される毎に1回更新され、当該通常処理内の残余時間内でも繰り返し更新される。そして、特図表示部37aにおける変動表示の開始時及び図柄表示装置41による図柄の変動開始時における変動パターン決定に際して変動種別カウンタCSのバッファ値が取得される。   Next, the variation type counter CS will be described. For example, the variation type counter CS is incremented one by one within a range of 0 to 198, and returns to “0” after reaching the maximum value. The variation type counter CS is used when the MPU 62 determines the display continuation time in the special symbol display section 37a and the symbol display continuation time in the symbol display device 41. The variation type counter CS is updated once every time a normal process to be described later is executed once, and is repeatedly updated even within the remaining time in the normal process. Then, the buffer value of the variation type counter CS is acquired when the variation pattern is determined at the start of variation display in the special symbol display unit 37a and at the time of symbol variation start by the symbol display device 41.

<主制御装置60の処理構成について>
次に、主制御装置60のMPU62にて遊技を進行させるために実行される各処理を説明する。かかるMPU62の処理としては大別して、電源投入に伴い起動されるメイン処理と、定期的に(本実施の形態では4msec周期で)起動されるタイマ割込み処理とがある。
<Processing configuration of main controller 60>
Next, each process performed in order to advance a game in MPU62 of the main controller 60 is demonstrated. The processing of the MPU 62 is roughly divided into main processing that is started when the power is turned on and timer interrupt processing that is started periodically (in the present embodiment at a cycle of 4 msec).

<メイン処理>
まず、図6のフローチャートを参照しながらメイン処理を説明する。
<Main processing>
First, the main process will be described with reference to the flowchart of FIG.

ステップS101では、電源投入ウェイト処理を実行する。当該電源投入ウェイト処理では、例えばメイン処理が起動されてからウェイト用の所定時間(具体的には1sec)が経過するまで次の処理に進行することなく待機する。かかる電源投入ウェイト処理の実行期間において図柄表示装置41の動作開始及び初期設定が完了することとなる。続くステップS102ではRAM64のアクセスを許可するとともに、ステップS103にてMPU62の内部機能レジスタの設定を行う。   In step S101, power-on wait processing is executed. In the power-on wait process, for example, the process waits without progressing to the next process until a predetermined time for wait (specifically 1 sec) elapses after the main process is activated. The operation start and initial setting of the symbol display device 41 are completed during the execution period of the power-on wait process. In the subsequent step S102, access to the RAM 64 is permitted, and in step S103, the internal function register of the MPU 62 is set.

その後、ステップS104では、電源・発射制御装置78に設けられたRAM消去スイッチが手動操作されているか否かを判定し、続くステップS105では、RAM64の停電フラグに「1」がセットされているか否かを判定する。また、ステップS106ではチェックサムを算出するチェックサム算出処理を実行し、続くステップS107ではそのチェックサムが電源遮断時に保存したチェックサムと一致するか否か、すなわち記憶保持されたデータの有効性を判定する。   Thereafter, in step S104, it is determined whether or not the RAM erase switch provided in the power / fire control device 78 is manually operated. In subsequent step S105, whether or not “1” is set in the power failure flag of the RAM 64 is determined. Determine whether. In step S106, a checksum calculation process for calculating a checksum is executed. In subsequent step S107, whether or not the checksum matches the checksum stored when the power is turned off, that is, the validity of the stored data is checked. judge.

本パチンコ機10では、例えば遊技ホールの営業開始時など、電源投入時にRAMデータを初期化する場合にはRAM消去スイッチを押しながら電源が投入される。したがって、RAM消去スイッチが押されていれば、ステップS108の処理に移行する。また、電源遮断の発生情報が設定されていない場合や、チェックサムにより記憶保持されたデータの異常が確認された場合も同様にステップS108の処理に移行する。ステップS108では、RAM64をクリアする。その後、ステップS109に進む。   In the pachinko machine 10, for example, when RAM data is initialized when the power is turned on, such as when a game hall starts business, the power is turned on while the RAM erase switch is pressed. Therefore, if the RAM erase switch is pressed, the process proceeds to step S108. Similarly, when the information on occurrence of power shutdown is not set, or when an abnormality of data stored and held is confirmed by the checksum, the process proceeds to step S108. In step S108, the RAM 64 is cleared. Thereafter, the process proceeds to step S109.

一方、RAM消去スイッチが押されていない場合には、停電フラグに「1」がセットされていること、及びチェックサムが正常であることを条件に、ステップS108の処理を実行することなくステップS109に進む。ステップS109では、電源投入設定処理を実行する。電源投入設定処理では、停電フラグの初期化といったRAM64の所定のエリアを初期値に設定するとともに、現状の遊技状態を認識させるために現状の遊技状態に対応したコマンドを音声発光制御装置80に送信する。   On the other hand, if the RAM erase switch has not been pressed, step S109 is executed without executing step S108 on condition that the power failure flag is set to “1” and the checksum is normal. Proceed to In step S109, a power-on setting process is executed. In the power-on setting process, a predetermined area of the RAM 64 such as initialization of a power failure flag is set to an initial value, and a command corresponding to the current gaming state is transmitted to the sound emission control device 80 in order to recognize the current gaming state. To do.

その後、ステップS110〜ステップS113の残余処理に進む。つまり、MPU62はタイマ割込み処理を定期的に実行する構成であるが、1のタイマ割込み処理と次のタイマ割込み処理との間に残余時間が生じることとなる。この残余時間は各タイマ割込み処理の処理完了時間に応じて変動することとなるが、かかる不規則な時間を利用してステップS110〜ステップS113の残余処理を繰り返し実行する。この点、当該ステップS110〜ステップS113の残余処理は非定期的に実行される非定期処理であると言える。   Then, it progresses to the residual process of step S110-step S113. That is, the MPU 62 is configured to periodically execute the timer interrupt process, but a remaining time is generated between one timer interrupt process and the next timer interrupt process. The remaining time varies depending on the processing completion time of each timer interrupt process, but the remaining processes in steps S110 to S113 are repeatedly executed using such irregular time. In this regard, it can be said that the remaining processes in steps S110 to S113 are non-periodic processes that are performed irregularly.

残余処理では、まずステップS110にて、タイマ割込み処理の発生を禁止するために割込み禁止の設定を行う。続くステップS111では、乱数初期値カウンタCINIの更新を行う乱数初期値更新処理を実行するとともに、ステップS112にて変動種別カウンタCSの更新を行う変動用カウンタ更新処理を実行する。これらの更新処理では、RAM64の対応するカウンタから現状の数値情報を読み出し、その読み出した数値情報を1加算する処理を実行した後に、読み出し元のカウンタに上書きする処理を実行する。この場合、カウンタ値が最大値に達した際それぞれ「0」にクリアする。その後、ステップS113にて、タイマ割込み処理の発生を禁止している状態から許可する状態へ切り換える割込み許可の設定を行う。ステップS113の処理を実行したら、ステップS110に戻り、ステップS110〜ステップS113の処理を繰り返す。   In the remaining process, first, in step S110, an interrupt prohibition setting is performed in order to prohibit the generation of the timer interrupt process. In the subsequent step S111, a random number initial value update process for updating the random number initial value counter CINI is executed, and a change counter update process for updating the change type counter CS is executed in step S112. In these update processes, the current numerical information is read from the corresponding counter of the RAM 64, the process of adding 1 to the read numerical information is executed, and then the process of overwriting the read-out counter is executed. In this case, each counter value is cleared to “0” when it reaches the maximum value. Thereafter, in step S113, an interrupt permission setting for switching from a state in which the generation of the timer interrupt process is prohibited to a state in which the timer interrupt process is permitted is performed. If the process of step S113 is performed, it will return to step S110 and will repeat the process of step S110-step S113.

<タイマ割込み処理>
次に、図7のフローチャートを参照しながらタイマ割込み処理を説明する。タイマ割込み処理は定期的(例えば4msec周期)に実行される。
<Timer interrupt processing>
Next, timer interrupt processing will be described with reference to the flowchart of FIG. The timer interrupt process is executed periodically (for example, at a cycle of 4 msec).

まずステップS201にて停電情報記憶処理を実行する。停電情報記憶処理では、停電監視基板65から電源遮断の発生に対応した停電信号を受信しているか否かを監視し、停電の発生を特定した場合には停電時処理を実行する。   First, in step S201, a power failure information storage process is executed. In the power outage information storage process, it is monitored whether or not a power outage signal corresponding to the occurrence of power interruption is received from the power outage monitoring board 65, and when the occurrence of a power outage is specified, the process during power outage is executed.

続くステップS202では抽選用乱数更新処理を実行する。抽選用乱数更新処理では、当たり乱数カウンタC1、大当たり種別カウンタC2、リーチ乱数カウンタC3及び普電役物開放カウンタC4の更新を実行する。具体的には、当たり乱数カウンタC1、大当たり種別カウンタC2、リーチ乱数カウンタC3及び普電役物開放カウンタC4から現状の数値情報を順次読み出し、それら読み出した数値情報をそれぞれ1加算する処理を実行した後に、読み出し元のカウンタに上書きする処理を実行する。この場合、カウンタ値が最大値に達した際それぞれ「0」にクリアする。   In subsequent step S202, a lottery random number update process is executed. In the lottery random number update process, the winning random number counter C1, the big hit type counter C2, the reach random number counter C3, and the universal utility release counter C4 are updated. Specifically, the current numerical information is sequentially read from the hit random number counter C1, the big hit type counter C2, the reach random number counter C3, and the general electric utility release counter C4, and a process of adding 1 to each of the read numerical information is executed. Later, a process of overwriting the reading source counter is executed. In this case, each counter value is cleared to “0” when it reaches the maximum value.

その後、ステップS203ではステップS111と同様に乱数初期値更新処理を実行するとともに、ステップS204にてステップS112と同様に変動用カウンタ更新処理を実行する。   Thereafter, in step S203, the random number initial value update process is executed in the same manner as in step S111, and in step S204, the variation counter update process is executed in the same manner as in step S112.

続くステップS205では、不正用の監視対象として設定されている所定の事象が発生しているか否かを監視する不正検知処理を実行する。当該不正検知処理では、複数種類の事象の発生を監視し、所定の事象が発生していることを確認することで、RAM64に設けられた遊技停止用フラグに「1」をセットする。   In subsequent step S205, a fraud detection process for monitoring whether or not a predetermined event set as a fraud monitoring target has occurred is executed. In the fraud detection process, occurrence of a plurality of types of events is monitored, and by confirming that a predetermined event has occurred, “1” is set to a game stop flag provided in the RAM 64.

続くステップS206では、上記遊技停止用フラグに「1」がセットされているか否かを判定することで、遊技の進行を停止している状態であるか否かを判定する。ステップS206にて否定判定をした場合に、ステップS207以降の処理を実行する。   In the subsequent step S206, it is determined whether or not the progress of the game is stopped by determining whether or not “1” is set in the game stop flag. If a negative determination is made in step S206, the processing after step S207 is executed.

ステップS207では、ポート出力処理を実行する。ポート出力処理では、前回のタイマ割込み処理において出力情報の設定が行われている場合に、MPU62の出力ポート62bを通じて、その出力情報に対応した出力を各種駆動部32b,34bに行うための処理を実行する。例えば、特電入賞装置32を開放状態に切り換えるべき情報が設定されている場合には特電用の駆動部32bへの駆動信号の出力を開始させ、閉鎖状態に切り換えるべき情報が設定されている場合には当該駆動信号の出力を停止させる。また、第2作動口34の普電役物34aを開放状態に切り換えるべき情報が設定されている場合には普電用の駆動部34bへの駆動信号の出力を開始させ、閉鎖状態に切り換えるべき情報が設定されている場合には当該駆動信号の出力を停止させる。   In step S207, port output processing is executed. In the port output processing, when output information is set in the previous timer interrupt processing, processing for performing output corresponding to the output information to the various drive units 32b and 34b through the output port 62b of the MPU 62 is performed. Run. For example, when information for switching the special electric prize winning device 32 to the open state is set, output of a drive signal to the special electric drive unit 32b is started, and information for switching to the closed state is set. Stops the output of the drive signal. In addition, when the information for switching the general utility 34a of the second working port 34 to the open state is set, output of the drive signal to the general power drive unit 34b is started, and the closed state should be switched to. When the information is set, the output of the drive signal is stopped.

続くステップS208では、読み込み処理を実行する。読み込み処理では、MPU62の入力ポート62aを通じて、停電信号及び入賞信号以外の信号の読み込みを実行し、その読み込んだ情報を今後の処理にて利用するために記憶する。   In a succeeding step S208, a reading process is executed. In the reading process, signals other than the power failure signal and the winning signal are read through the input port 62a of the MPU 62, and the read information is stored for use in future processing.

続くステップS209では入賞検知処理を実行する。当該入賞検知処理では、MPU62の入力ポート62aを通じて、各入賞検知センサ66a〜66eから受信している信号を読み込むとともに、一般入賞口31、特電入賞装置32、第1作動口33、第2作動口34及びスルーゲート35への入賞の有無を特定する処理を実行する。   In subsequent step S209, a winning detection process is executed. In the winning detection process, the signals received from the winning detection sensors 66a to 66e are read through the input port 62a of the MPU 62, and the general winning port 31, the special prize winning device 32, the first operating port 33, and the second operating port are read. The process which specifies the presence or absence of the winning to 34 and the through gate 35 is performed.

続くステップS210では、RAM64に設けられている複数種類のタイマカウンタの数値情報をまとめて更新するためのタイマ更新処理を実行する。この場合、記憶されている数値情報が減算されて更新されるタイマカウンタを集約して扱う構成であるが、減算式のタイマカウンタの更新及び加算式のタイマカウンタの更新の両方を集約して行う構成としてもよい。   In the subsequent step S210, timer update processing for updating the numerical information of a plurality of types of timer counters provided in the RAM 64 is executed. In this case, the timer counter that is updated by subtracting the stored numerical information is handled in an integrated manner. However, both the updating of the subtracting timer counter and the updating of the adding timer counter are performed collectively. It is good also as a structure.

続くステップS211では、遊技球の発射制御を行うための発射制御処理を実行する。発射操作装置28への発射操作が継続されている状況では、既に説明したとおり、所定の発射周期である0.6secに1個の遊技球が発射される。   In the subsequent step S211, a launch control process for controlling the launch of the game ball is executed. In a situation where the launch operation to the launch operation device 28 is continued, as described above, one game ball is launched at a predetermined launch period of 0.6 sec.

続くステップS212では、入力状態監視処理として、ステップS208の読み込み処理にて読み込んだ情報に基づいて、各入賞検知センサ66a〜66eの断線確認や、遊技機本体12や前扉枠14の開放確認を行う。   In the subsequent step S212, as input state monitoring processing, disconnection confirmation of the winning detection sensors 66a to 66e and opening confirmation of the gaming machine body 12 and the front door frame 14 are confirmed based on the information read in the reading processing in step S208. Do.

続くステップS213では、遊技回の実行制御及び開閉実行モードの実行制御を行うための特図特電制御処理を実行する。当該特図特電制御処理では、保留格納エリア64aに記憶されている保留情報の数が上限数未満である状況で第1作動口33又は第2作動口34への入賞が発生した場合に、その時点における当たり乱数カウンタC1、大当たり種別カウンタC2及びリーチ乱数カウンタC3の各数値情報を保留情報として、保留格納エリア64aに時系列的に格納していく処理を実行する。また、特図特電制御処理では、遊技回中及び開閉実行モード中ではなく且つ保留情報が記憶されていることを条件に、その保留情報が大当たり当選に対応しているか否かを判定する当否判定処理、及び大当たり当選に対応している場合にはその保留情報がいずれの大当たり結果に対応しているのかを判定する振分判定処理を実行する。また、特図特電制御処理では、当否判定処理及び振分判定処理だけでなく、その保留情報が大当たり当選に対応していない場合には、その保留情報がリーチ発生に対応しているか否かを判定するリーチ判定処理を実行するとともに、その時点における変動種別カウンタCSの数値情報を利用して遊技回の継続時間を選択する処理を実行する。そして、それら各処理の結果に応じた継続時間の情報を含む変動用コマンドと、遊技結果の情報を含む種別コマンドとを、音声発光制御装置80に送信するとともに、特図表示部37aにおける絵柄の変動表示を開始させる。これにより、1遊技回が開始された状態となり、特図表示部37a及び図柄表示装置41にて遊技回用の演出が開始される。   In the subsequent step S213, a special figure special electric control process for performing execution control of the game times and execution control of the opening / closing execution mode is executed. In the special figure special power control process, when a winning to the first operation port 33 or the second operation port 34 occurs in a situation where the number of the hold information stored in the hold storage area 64a is less than the upper limit number, A process of storing the numerical information of the hit random number counter C1, the big hit type counter C2 and the reach random number counter C3 at the time as the hold information in the hold storage area 64a in time series is executed. Also, in the special figure special electric control process, whether or not the hold information corresponds to the big win is determined on the condition that the hold information is not stored during the game rotation and the opening / closing execution mode and is stored. If it corresponds to the process and the jackpot winning, a distribution determination process for determining which jackpot result the hold information corresponds to is executed. In addition, in the special figure special power control process, not only the success / failure determination process and the distribution determination process, but if the hold information does not correspond to the big win, whether the hold information corresponds to the occurrence of reach. A reach determination process is performed, and a process of selecting a game time duration using the numerical information of the variation type counter CS at that time is executed. Then, the change command including the duration information according to the result of each process and the type command including the game result information are transmitted to the sound emission control device 80, and the pattern in the special figure display unit 37a is displayed. Start the variable display. As a result, one game round is started, and an effect for game round is started on the special figure display unit 37a and the symbol display device 41.

また、特図特電制御処理では、1遊技回の実行中にはその遊技回の終了タイミングであるか否かを判定し、終了タイミングである場合には遊技結果に対応した表示を行った状態で、その遊技回を終了させる処理を実行する。この場合、遊技回を終了させるべきことを示す最終停止コマンドを音声発光制御装置80に送信する。また、特図特電制御処理では、遊技回の結果が開閉実行モードへの移行に対応した結果である場合には、当該開閉実行モードを開始させるための処理を実行する。この開始に際しては、開閉実行モードが開始されることを示すオープニングコマンドを音声発光制御装置80に送信する。また、特図特電制御処理では、各ラウンド遊技を開始させるための処理及び各ラウンド遊技を終了させるための処理を実行する。これら各処理に際して、ラウンド遊技が開始されることを示す開放コマンドを音声発光制御装置80に送信するとともに、ラウンド遊技が終了されることを示す閉鎖コマンドを音声発光制御装置80に送信する。また、特図特電制御処理では、開閉実行モードを終了させる場合にそのことを示すエンディングコマンドを音声発光制御装置80に送信するとともに、開閉実行モード後の当否抽選モードやサポートモードを設定するための処理を実行する。   Also, in the special figure special electric control process, during the execution of one game round, it is determined whether or not it is the end timing of the game round. If it is the end timing, the display corresponding to the game result is performed. Then, the process of ending the game round is executed. In this case, a final stop command indicating that the game round should be ended is transmitted to the sound emission control device 80. Further, in the special figure special electric control process, when the result of the game times is a result corresponding to the transition to the opening / closing execution mode, a process for starting the opening / closing execution mode is executed. At the start, an opening command indicating that the opening / closing execution mode is started is transmitted to the sound emission control device 80. In the special figure special electric control process, a process for starting each round game and a process for ending each round game are executed. In each of these processes, an open command indicating that the round game is started is transmitted to the sound emission control device 80, and a close command indicating that the round game is ended is transmitted to the sound emission control device 80. Further, in the special figure special electric control process, when the opening / closing execution mode is ended, an ending command indicating that is sent to the sound emission control device 80, and the success / failure lottery mode and the support mode after the opening / closing execution mode are set. Execute the process.

タイマ割込み処理においてステップS213の特図特電制御処理を実行した後は、ステップS214にて普図普電制御処理を実行する。普図普電制御処理では、スルーゲート35への入賞が発生している場合に普図側の保留情報を取得するための処理を実行するとともに、普図側の保留情報が記憶されている場合にその保留情報について開放判定を行い、さらにその開放判定を契機として普図用の演出を行うための処理を実行する。また、開放判定の結果に基づいて、第2作動口34の普電役物34aを開閉させる処理を実行する。   After executing the special figure special electric control process of step S213 in the timer interruption process, the normal figure electric power control process is executed in step S214. In the ordinary map / electric power control process, when a winning to the through gate 35 is generated, a process for acquiring the retained information on the ordinary map side is executed and the retained information on the ordinary map side is stored. In addition, a release determination is performed on the hold information, and a process for performing an effect for a normal diagram is executed using the release determination as a trigger. Further, based on the result of the opening determination, a process for opening and closing the utility wire 34a of the second working port 34 is executed.

続くステップS215では、直前のステップS213及びステップS214の処理結果に基づいて、特図表示部37aに係る保留情報の増減個数を特図保留表示部37bに反映させるための出力情報の設定を行うとともに、普図表示部38aに係る保留情報の増減個数を普図保留表示部38bに反映させるための出力情報の設定を行う。また、ステップS215では、直前のステップS213及びステップS214の処理結果に基づいて、特図表示部37aの表示内容を更新させるための出力情報の設定を行うとともに、普図表示部38aの表示内容を更新させるための出力情報の設定を行う。当該ステップS215における出力情報の設定は、MPU62の出力ポート62bを通じて行われる。   In the subsequent step S215, based on the processing results of the immediately preceding steps S213 and S214, output information is set for reflecting the increase / decrease number of the hold information related to the special figure display unit 37a in the special figure hold display unit 37b. The output information for reflecting the increase / decrease number of the hold information related to the general map display unit 38a to the general map hold display unit 38b is set. In step S215, the output information for updating the display content of the special figure display unit 37a is set based on the processing results of the immediately preceding steps S213 and S214, and the display content of the general map display unit 38a is set. Set the output information to be updated. The setting of the output information in step S215 is performed through the output port 62b of the MPU 62.

続くステップS216では、払出制御装置77から受信したコマンド及び信号の内容を確認し、その確認結果に対応した処理を行うための払出状態受信処理を実行する。また、ステップS217では、賞球コマンドを出力対象として設定するための払出出力処理を実行する。続くステップS218では、今回のタイマ割込み処理にて実行された各種処理の処理結果に応じた外部信号の出力の開始及び終了を制御するための外部情報設定処理を実行する。その後、本タイマ割込み処理を終了する。   In the following step S216, the contents of the command and signal received from the payout control device 77 are confirmed, and a payout state receiving process for performing a process corresponding to the confirmation result is executed. In step S217, a payout output process for setting a prize ball command as an output target is executed. In the subsequent step S218, an external information setting process for controlling the start and end of the output of the external signal according to the processing results of the various processes executed in the current timer interrupt process is executed. Thereafter, the timer interrupt process is terminated.

<MPU62においてデータの読み出し等を行うための電気的構成>
次に、MPU62において命令並びにデータの読み出し、及びデータの書き込みを行うための電気的構成について説明する。図8はMPU62に設けられたCPU101の電気的構成を説明するためのブロック図である。
<Electrical Configuration for Reading Data etc. in MPU 62>
Next, an electrical configuration for reading commands and data and writing data in the MPU 62 will be described. FIG. 8 is a block diagram for explaining the electrical configuration of the CPU 101 provided in the MPU 62.

MPU62にはCPU101が内蔵されている。CPU101に内蔵されたCPUコア102は、MPU62に内蔵されたROM83から各種命令を読み出し、当該命令に対応するプログラムに従って演算処理、入力データの解析処理及びデータの出力処理を実行する。詳細には、CPUコア102は、当該CPUコア102に内蔵され当該CPUコア102の処理の進行に伴い更新されるプログラムカウンタの値に対応するアドレスのエリアから命令を読み出し、その命令に対応する処理を実行することで、プログラムに従った各種処理を実行する。   The CPU 101 is built in the MPU 62. The CPU core 102 incorporated in the CPU 101 reads out various instructions from the ROM 83 incorporated in the MPU 62, and executes arithmetic processing, input data analysis processing, and data output processing according to a program corresponding to the instructions. Specifically, the CPU core 102 reads an instruction from the area of the address corresponding to the value of the program counter incorporated in the CPU core 102 and updated as the processing of the CPU core 102 progresses, and processes corresponding to the instruction To execute various processes according to the program.

CPUコア102は、Vcc端子、GND端子、INT端子、NMI端子、データ端子D0〜D7、アドレス端子A0〜A15、RD端子、WR端子、IREQ端子及びMREQ端子などを備えている。以下、データ端子D0〜D7、アドレス端子A0〜A15、RD端子、WR端子、IREQ端子及びMREQ端子について詳細に説明する。なお、Vcc端子、GND端子、INT端子及びNMI端子については説明を省略する。また、これらVcc端子、GND端子、INT端子及びNMI端子はCPU101にも設けられているが、これらについても説明を省略する。   The CPU core 102 includes a Vcc terminal, a GND terminal, an INT terminal, an NMI terminal, data terminals D0 to D7, address terminals A0 to A15, an RD terminal, a WR terminal, an IREQ terminal, an MREQ terminal, and the like. Hereinafter, the data terminals D0 to D7, the address terminals A0 to A15, the RD terminal, the WR terminal, the IREQ terminal, and the MREQ terminal will be described in detail. Note that description of the Vcc terminal, the GND terminal, the INT terminal, and the NMI terminal is omitted. The Vcc terminal, the GND terminal, the INT terminal, and the NMI terminal are also provided in the CPU 101, but the description thereof is also omitted.

データ端子D0〜D7は、CPUコア102における命令の読み込み、命令に対応するプログラムに従ったCPUコア102における処理の実行に際して参照されるデータの読み込み、及び命令に対応するプログラムに従ったCPUコア102における処理の結果として導出されたデータの書き込みを行うための端子である。データ端子D0〜D7は複数設けられており、CPU101に設けられたデータ端子D10〜D17と電気的に接続されている。具体的には、CPUコア102のデータ端子D0〜D7は8個設けられているとともに、CPU101のデータ端子D10〜D17もCPUコア102のデータ端子D0〜D7に1対1で対応させて8個設けられている。CPUコア102のデータ端子D0〜D7はCPU101に内蔵されたデータバスDBを通じてCPU101のデータ端子D10〜D17と電気的に接続されているとともに、CPU101のデータ端子D10〜D17はMPU62の内部に設けられたデータバスDBと電気的に接続されている。かかる構成であることにより、CPUコア102は、データバスDBを通じて8ビット(すなわち1バイト)のデータをまとめて読み込むことができるとともに、8ビット(すなわち1バイト)のデータをデータバスDBに対してまとめて書き込むことができる。   The data terminals D0 to D7 read instructions in the CPU core 102, read data to be referred to when executing processing in the CPU core 102 according to the program corresponding to the instructions, and CPU core 102 according to the program corresponding to the instructions. This is a terminal for writing data derived as a result of the processing in. A plurality of data terminals D0 to D7 are provided, and are electrically connected to data terminals D10 to D17 provided in the CPU 101. Specifically, eight data terminals D0 to D7 of the CPU core 102 are provided, and eight data terminals D10 to D17 of the CPU 101 are also associated with the data terminals D0 to D7 of the CPU core 102 on a one-to-one basis. Is provided. The data terminals D0 to D7 of the CPU core 102 are electrically connected to the data terminals D10 to D17 of the CPU 101 through the data bus DB built in the CPU 101, and the data terminals D10 to D17 of the CPU 101 are provided inside the MPU 62. The data bus DB is electrically connected. With this configuration, the CPU core 102 can collectively read 8-bit (that is, 1 byte) data through the data bus DB, and can read 8-bit (that is, 1 byte) data to the data bus DB. Can be written together.

アドレス端子A0〜A15は、CPUコア102におけるROM63からの命令の読み込み、及びCPUコア102におけるROM63又はRAM64からのデータの読み込みに際して、それら命令又はデータが存在しているエリアのアドレスを指定するための端子である。また、アドレス端子A0〜A15は、CPUコア102におけるROM63又はRAM64へのデータの書き込みに際して、当該データを書き込むエリアのアドレスを指定するための端子である。アドレス端子A0〜A15は複数設けられており、CPU101に設けられたアドレス端子A20〜A35と電気的に接続されている。具体的には、CPUコア102のアドレス端子A0〜A15は16個設けられているとともに、CPU101のアドレス端子A20〜A35もCPUコア102のアドレス端子A0〜A15に1対1で対応させて16個設けられている。CPUコア102のアドレス端子A0〜A15はCPU101に内蔵されたアドレスバスABを通じてCPU101のアドレス端子A20〜A35と電気的に接続されているとともに、CPU101のアドレス端子A20〜A35はMPU62の内部に設けられたアドレスバスABと電気的に接続されている。かかる構成であることにより、CPUコア102は、ROM63及びRAM64に対してアドレス指定を行うことができる。   Address terminals A0 to A15 are used for designating addresses of areas in which the instructions or data exist when reading instructions from the ROM 63 in the CPU core 102 and reading data from the ROM 63 or the RAM 64 in the CPU core 102. Terminal. Further, the address terminals A0 to A15 are terminals for designating addresses of areas in which data is written when the CPU core 102 writes data to the ROM 63 or the RAM 64. A plurality of address terminals A0 to A15 are provided, and are electrically connected to address terminals A20 to A35 provided in the CPU 101. Specifically, 16 address terminals A0 to A15 of the CPU core 102 are provided, and 16 address terminals A20 to A35 of the CPU 101 are also associated with the address terminals A0 to A15 of the CPU core 102 on a one-to-one basis. Is provided. The address terminals A0 to A15 of the CPU core 102 are electrically connected to the address terminals A20 to A35 of the CPU 101 through the address bus AB built in the CPU 101, and the address terminals A20 to A35 of the CPU 101 are provided inside the MPU 62. The address bus AB is electrically connected. With this configuration, the CPU core 102 can perform address designation for the ROM 63 and the RAM 64.

アドレス端子A0〜A15はROM63及びRAM64に対してアドレス指定を行う場合に利用されるだけではなく、CPU101に設けられたチップセレクト端子CS0〜CS12からチップセレクト信号を出力する場合にも利用される。ここで、チップセレクト端子CS0〜CS12は、CPUコア102における命令の読み込み、及びCPUコア102におけるデータの読み込みに際して、動作対象の入力用ラッチ回路103(図9(a)参照)を指定するとともに、CPUコア102におけるデータの書き込みに際して、動作対象の出力用ラッチ回路104(図9(b)参照)を指定するための端子である。   The address terminals A0 to A15 are used not only when addressing the ROM 63 and the RAM 64 but also when outputting a chip select signal from the chip select terminals CS0 to CS12 provided in the CPU 101. Here, the chip select terminals CS0 to CS12 specify an operation target input latch circuit 103 (see FIG. 9A) when reading instructions in the CPU core 102 and reading data in the CPU core 102. This is a terminal for designating the output latch circuit 104 (see FIG. 9B) to be operated when data is written in the CPU core 102.

入力用ラッチ回路103はMPU62に複数内蔵されている。それら複数の入力用ラッチ回路103として、命令の読み込み及びデータの読み込みに際してROM63を読み込み対象として指定するための入力用ラッチ回路、データの読み込みに際してRAM64を読み込み対象として指定するための入力用ラッチ回路、及びMPU62の入力ポート62aに入力されているデータの読み込みに際してその入力データが格納されているエリアを読み込み対象として指定するための入力用ラッチ回路が設けられている。MPU62の入力ポート62aに入力されているデータの読み込みに際してその入力データが格納されているエリアを読み込み対象として指定するための入力用ラッチ回路は、入力ポート62aにおいて読み込み対象として指定するエリアを相違させて複数設けられている。   A plurality of input latch circuits 103 are built in the MPU 62. As the plurality of input latch circuits 103, an input latch circuit for designating the ROM 63 as a read target when reading instructions and reading data, an input latch circuit for designating the RAM 64 as a read target when reading data, And an input latch circuit for designating an area in which the input data is stored as a read target when the data input to the input port 62a of the MPU 62 is read. The input latch circuit for designating the area where the input data is stored as the reading target when reading the data input to the input port 62a of the MPU 62 makes the area specified as the reading target in the input port 62a different. Are provided.

出力用ラッチ回路104はMPU62に複数内蔵されている。それら複数の出力用ラッチ回路104として、データの書き込みに際してRAM64を書き込み対象として指定するための出力用ラッチ回路、及びMPU62の出力ポート62bへのデータの出力に際してその出力データを格納するエリアを書き込み対象として指定するための出力用ラッチ回路が設けられている。MPU62の出力ポート62bへのデータの出力に際してその出力データを格納するエリアを書き込み対象として指定するための出力用ラッチ回路は、出力ポート62bにおいて読み込み対象として指定するエリアを相違させて複数設けられている。   A plurality of output latch circuits 104 are built in the MPU 62. As the plurality of output latch circuits 104, an output latch circuit for designating the RAM 64 as a write target when writing data, and an area for storing the output data when outputting data to the output port 62b of the MPU 62 are set as write targets. Is provided as an output latch circuit. When outputting data to the output port 62b of the MPU 62, a plurality of output latch circuits for designating an area for storing the output data as a write target are provided with different areas designated as read targets in the output port 62b. Yes.

チップセレクト端子CS0〜CS12は複数設けられており、チップセレクト端子CS0〜CS12はそれぞれMPU62の内部に設けられたセレクト信号線と電気的に接続されている。具体的には、チップセレクト端子CS0〜CS12は13個設けられているとともに、セレクト信号線はチップセレクト端子CS0〜CS12に1対1で対応させて13本設けられている。チップセレクト端子CS0〜CS12のうち一部である複数のチップセレクト端子CS0〜CS4は入力用ラッチ回路103にチップセレクト信号としてCS0信号〜CS4信号を出力するためのものであり、残りの複数のチップセレクト端子CS5〜CS12は出力用ラッチ回路104にチップセレクト信号としてCS5信号〜CS12信号を出力するためのものである。   A plurality of chip select terminals CS0 to CS12 are provided, and each of the chip select terminals CS0 to CS12 is electrically connected to a select signal line provided in the MPU 62. Specifically, 13 chip select terminals CS0 to CS12 are provided, and 13 select signal lines are provided in one-to-one correspondence with the chip select terminals CS0 to CS12. A plurality of chip select terminals CS0 to CS4 which are a part of the chip select terminals CS0 to CS12 are for outputting the CS0 signal to CS4 signal as chip select signals to the input latch circuit 103, and the remaining plurality of chips. The select terminals CS5 to CS12 are for outputting the CS5 signal to the CS12 signal as chip select signals to the output latch circuit 104.

入力用ラッチ回路103について、所定のデータをMPU62の入力ポート62aから入力する場合にCPU101において利用されるものを例に挙げて説明する。図9(a)は入力用ラッチ回路103のブロック図である。図9(a)に示すように、入力用ラッチ回路103は、入力ポート62aからデータを受け取るためのインプット端子Q0〜Q7、インプット端子Q0〜Q7を通じて入力用ラッチ回路103に格納されたデータをデータバスDBに供給するためのデータ端子D20〜D27、CPU101のチップセレクト端子CS0から出力されたCS0信号が入力されるCK端子などを備えている。入力用ラッチ回路103は、CPU101のチップセレクト端子CS0からCS0信号がCK端子に入力されることにより、インプット端子Q0〜Q7を通じて当該入力用ラッチ回路103に格納されていたデータを、データ端子D20〜D27を通じてデータバスDBに供給する。なお、入力用ラッチ回路103は、これら端子以外にも、Vcc端子、GND端子及びCLR端子などを備えている。   The input latch circuit 103 will be described by taking as an example one used in the CPU 101 when predetermined data is input from the input port 62 a of the MPU 62. FIG. 9A is a block diagram of the input latch circuit 103. As shown in FIG. 9A, the input latch circuit 103 receives the data stored in the input latch circuit 103 through the input terminals Q0 to Q7 and the input terminals Q0 to Q7 for receiving data from the input port 62a. Data terminals D20 to D27 for supplying to the bus DB, a CK terminal to which the CS0 signal output from the chip select terminal CS0 of the CPU 101 is input, and the like are provided. When the CS0 signal is input to the CK terminal from the chip select terminal CS0 of the CPU 101, the input latch circuit 103 receives the data stored in the input latch circuit 103 through the input terminals Q0 to Q7 as data terminals D20 to D20. The data is supplied to the data bus DB through D27. The input latch circuit 103 includes a Vcc terminal, a GND terminal, a CLR terminal, and the like in addition to these terminals.

出力用ラッチ回路104について、所定のデータをMPU62の出力ポート62bに出力する場合にCPU101において利用されるものを例に挙げて説明する。図9(b)は出力用ラッチ回路104のブロック図である。図9(b)に示すように、出力用ラッチ回路104は、データバスDBからデータを受け取るためのデータ端子D30〜D37、データ端子D30〜D37を通じて出力用ラッチ回路104に格納されたデータを出力ポート62bに供給するためのアウトプット端子Q10〜Q17、CPU101のチップセレクト端子CS5から出力されたCS5信号が入力されるCK端子などを備えている。出力用ラッチ回路104は、CPU101のチップセレクト端子CS5からCS5信号がCK端子に入力されることにより、データ端子D30〜D37を通じてデータバスDBに提供されているデータを当該出力用ラッチ回路104内に取り込み、その後にその取り込んだデータをアウトプット端子Q10〜Q17から出力ポート62bに出力する。なお、出力用ラッチ回路104は、これら端子以外にも、Vcc端子、GND端子及びCLR端子などを備えている。   The output latch circuit 104 will be described with reference to an example used in the CPU 101 when predetermined data is output to the output port 62b of the MPU 62. FIG. 9B is a block diagram of the output latch circuit 104. As shown in FIG. 9B, the output latch circuit 104 outputs data stored in the output latch circuit 104 through the data terminals D30 to D37 and data terminals D30 to D37 for receiving data from the data bus DB. Output terminals Q10 to Q17 for supplying to the port 62b, a CK terminal to which the CS5 signal output from the chip select terminal CS5 of the CPU 101 is input, and the like are provided. The output latch circuit 104 receives the data provided to the data bus DB through the data terminals D30 to D37 in the output latch circuit 104 when the CS5 signal is input to the CK terminal from the chip select terminal CS5 of the CPU 101. Thereafter, the captured data is output from the output terminals Q10 to Q17 to the output port 62b. Note that the output latch circuit 104 includes a Vcc terminal, a GND terminal, a CLR terminal, and the like in addition to these terminals.

CPU101のチップセレクト端子CS0〜CS12が上記機能を有するのに対して、CPUコア102のアドレス端子A0〜A15(図8参照)から出力されるアドレスデータは、チップセレクト信号を出力するためのチップセレクト端子CS0〜CS12を選択する場合に利用される。また、チップセレクト信号を出力するためのチップセレクト端子CS0〜CS12の選択に際しては、CPUコア102のRD端子、WR端子、IREQ端子及びMREQ端子から出力される信号が利用される。   While the chip select terminals CS0 to CS12 of the CPU 101 have the above functions, the address data output from the address terminals A0 to A15 (see FIG. 8) of the CPU core 102 is a chip select for outputting a chip select signal. This is used when selecting the terminals CS0 to CS12. Further, when selecting the chip select terminals CS0 to CS12 for outputting the chip select signal, signals output from the RD terminal, WR terminal, IREQ terminal and MREQ terminal of the CPU core 102 are used.

RD端子は、CPUコア102において命令の読み込み又はデータの読み込みを行うことを指定するRD信号を出力するための端子である。WR端子は、CPUコア102においてデータの書き込みを行うことを指定するWR信号を出力するための端子である。IREQ端子は、入力ポート62aからのデータの入力を行うためのイン命令又は出力ポート62bへのデータの出力を行うためのアウト命令をCPUコア102において実行する状況であることを指定するIREQ信号を出力するための端子である。MREQ端子は、ROM63からの命令又はデータの読み込み、RAM64へのデータの書き込み又はRAM64からのデータの読み込みなどを行うためのロード命令をCPUコア102において実行する状況であることを指定するMREQ信号を出力するための端子である。   The RD terminal is a terminal for outputting an RD signal designating that the CPU core 102 reads an instruction or reads data. The WR terminal is a terminal for outputting a WR signal designating that the CPU core 102 writes data. The IREQ terminal receives an IREQ signal for designating that the CPU core 102 executes an in-command for inputting data from the input port 62a or an out-command for outputting data to the output port 62b. This is a terminal for output. The MREQ terminal receives an MREQ signal for designating that the CPU core 102 executes a load instruction for reading an instruction or data from the ROM 63, writing data to the RAM 64, or reading data from the RAM 64. This is a terminal for output.

次に、CPUコア102において実行される各種命令について説明する。図10はROM63において命令が記憶されているエリアを説明するための説明図である。   Next, various instructions executed in the CPU core 102 will be described. FIG. 10 is an explanatory diagram for explaining an area where instructions are stored in the ROM 63.

ROM63には、命令として1バイト命令、2バイト命令及び3バイト命令が予め記憶されている。これら命令のうち、既に説明したイン命令及びアウト命令は2バイト命令に該当し、ロード命令は3バイト命令に該当する。ちなみに、2バイト命令にはイン命令及びアウト命令以外の命令も含まれ、3バイト命令にはロード命令以外の命令も含まれる。また、命令のバイト数はこれらに限定されることはなく、これらバイト数の命令に加えて又は代えて4バイト命令が予め記憶されている構成としてもよい。   In the ROM 63, a 1-byte instruction, a 2-byte instruction, and a 3-byte instruction are stored in advance as instructions. Among these instructions, the in instruction and the out instruction already described correspond to a 2-byte instruction, and the load instruction corresponds to a 3-byte instruction. Incidentally, the 2-byte instruction includes instructions other than the in instruction and the out instruction, and the 3-byte instruction includes instructions other than the load instruction. Further, the number of bytes of the instruction is not limited to these, and a 4-byte instruction may be stored in advance in addition to or instead of the instruction having the number of bytes.

図11(a)は2バイト命令であるイン命令及びアウト命令を説明するための説明図である。イン命令及びアウト命令は、図11(a1)に示すアドレスコードと、図11(a2)に示すIO識別コードとを含んでいる。アドレスコードは1バイトのデータ構成となっており、イン命令及びアウト命令における1番目のバイトに設定されている。アドレスコードに設定されている内容によって、入力ポート62aからのデータの入力を行う場合に動作対象とする入力用ラッチ回路103の種類及び出力ポート62bへのデータの出力を行う場合に動作対象となる出力用ラッチ回路104の種類が特定される。この場合、アドレスコードが1バイトのデータ構成となっていることにより、動作対象とするラッチ回路103,104の種類を特定するためのアドレスとして256個のアドレスを指定することが可能である。但し、本パチンコ機10においては既に説明したとおりCPU101のチップセレクト端子CS0〜CS12の数は13個であるため、実際に指定されるアドレスの種類は13個以下である。   FIG. 11A is an explanatory diagram for explaining an in instruction and an out instruction which are 2-byte instructions. The in instruction and the out instruction include an address code shown in FIG. 11 (a1) and an IO identification code shown in FIG. 11 (a2). The address code has a 1-byte data structure and is set to the first byte in the in instruction and out instruction. Depending on the contents set in the address code, the type of the input latch circuit 103 to be operated when inputting data from the input port 62a and the operation target when outputting data to the output port 62b. The type of the output latch circuit 104 is specified. In this case, since the address code has a 1-byte data configuration, 256 addresses can be designated as addresses for specifying the types of latch circuits 103 and 104 to be operated. However, in this pachinko machine 10, since the number of chip select terminals CS0 to CS12 of the CPU 101 is 13 as already described, the number of types of addresses actually specified is 13 or less.

IO識別コードは1バイトのデータ構成となっており、当該IO識別コードに設定されている内容によって、当該2バイト命令の種類がイン命令及びアウト命令のいずれであるかが特定される。ちなみに、アウト命令である場合、アウト命令に対応するプログラムカウンタの値の次の値が1バイト命令に対応しており、その1バイト命令には出力ポート62bに出力するための1バイトの出力データが設定されている。   The IO identification code has a 1-byte data configuration, and the content set in the IO identification code specifies whether the type of the 2-byte instruction is an in instruction or an out instruction. Incidentally, in the case of an out instruction, the next value of the program counter value corresponding to the out instruction corresponds to a 1-byte instruction, and the 1-byte instruction includes 1-byte output data to be output to the output port 62b. Is set.

図11(b)は3バイト命令であるロード命令を説明するための説明図である。ロード命令は、図11(b1)に示す第1アドレスコードと、図11(b2)に示す第2アドレスコードと、図11(b3)に示す実行コードとを含んでいる。第1アドレスコード及び第2アドレスコードはいずれも1バイトのデータ構成となっており、第1アドレスコードはロード命令における1番目のバイトに設定されており、第2アドレスコードはロード命令における2番目のバイトに設定されている。これら第1アドレスコード及び第2アドレスコードに設定されている内容によって、命令及びデータの読み込みを行う場合における読み込み対象となるエリアの種類、並びにデータの書き込みを行う場合における書き込み対象となるエリアの種類が特定される。   FIG. 11B is an explanatory diagram for explaining a load instruction which is a 3-byte instruction. The load instruction includes a first address code shown in FIG. 11 (b1), a second address code shown in FIG. 11 (b2), and an execution code shown in FIG. 11 (b3). Each of the first address code and the second address code has a data structure of 1 byte, the first address code is set to the first byte in the load instruction, and the second address code is the second byte in the load instruction. Is set to bytes. Depending on the contents set in the first address code and the second address code, the type of area to be read when reading instructions and data, and the type of area to be written when writing data Is identified.

実行コードは1バイトのデータ構成となっており、当該実行コードに設定されている内容によって実行対象の命令の種類が特定される。実行対象の命令としては、転送命令、算術演算命令、論理演算命令、ビット操作命令、ローテート命令及びシフト命令などが設定されている。転送命令の場合、第1アドレスコード及び第2アドレスコードにより指定されているアドレスのデータをCPUコア102に読み出す処理や、第1アドレスコード及び第2アドレスコードにより指定されているアドレスに所定のデータを転送する処理が実行される。また、算術演算命令の場合、データに対して所定のデータを加算する処理や減算する処理が実行される。また、論理演算命令の場合、データに対して所定の論理演算を行う処理が実行される。また、ビット操作命令の場合、データのうち所定のビットを「0」及び「1」の間で切り換えを行う処理が実行される。また、ローテート命令の場合、データに含まれるビットを所定の方向に周回するようにずらす処理が実行される。また、シフト命令の場合、データに含まれるビットを周回させることなく所定の方向にずらす処理が実行される。   The execution code has a 1-byte data structure, and the type of instruction to be executed is specified by the contents set in the execution code. As instructions to be executed, a transfer instruction, an arithmetic operation instruction, a logical operation instruction, a bit operation instruction, a rotate instruction, a shift instruction, and the like are set. In the case of a transfer instruction, a process of reading data at an address specified by the first address code and the second address code to the CPU core 102, or predetermined data at an address specified by the first address code and the second address code Is transferred. In the case of an arithmetic operation instruction, processing for adding or subtracting predetermined data to data is executed. In the case of a logical operation instruction, a process for performing a predetermined logical operation on data is executed. In the case of a bit manipulation instruction, a process for switching a predetermined bit of data between “0” and “1” is executed. In the case of a rotate instruction, processing for shifting the bits included in the data so as to circulate in a predetermined direction is executed. In the case of a shift instruction, a process for shifting in a predetermined direction is performed without circulating the bits included in the data.

次に、CPUコア102がアクセスする仮想的な空間であるIO空間105及びメモリ空間106について説明する。図12はIO空間105及びメモリ空間106を説明するためのブロック図である。   Next, the IO space 105 and the memory space 106, which are virtual spaces accessed by the CPU core 102, will be described. FIG. 12 is a block diagram for explaining the IO space 105 and the memory space 106.

IO空間105は、CPUコア102においてイン命令又はアウト命令を実行する場合に当該CPUコア102がアクセスする仮想的な空間である。IO空間105にCPUコア102がアクセスしている状況というのは実際には、入力ポート62aからのデータの入力を行うためにCPU101の対応するチップセレクト端子から対応する入力用ラッチ回路103にチップセレクト信号を出力している状況、又は出力ポート62bにデータの出力を行うためにCPU101の対応するチップセレクト端子から対応する出力用ラッチ回路104にチップセレクト信号を出力している状況である。   The IO space 105 is a virtual space that is accessed by the CPU core 102 when an in instruction or an out instruction is executed in the CPU core 102. The situation where the CPU core 102 is accessing the IO space 105 is actually a chip select from the corresponding chip select terminal of the CPU 101 to the corresponding input latch circuit 103 in order to input data from the input port 62a. This is a situation in which a signal is output, or a situation in which a chip select signal is output from the corresponding chip select terminal of the CPU 101 to the corresponding output latch circuit 104 in order to output data to the output port 62b.

IO空間105にアクセスすることとなるイン命令及びアウト命令においては既に説明したとおり、アドレスコードは1バイトとなっている。したがって、CPUコア102においてIO空間105として指定可能なアドレスの個数は1バイトに対応する256個である。これに対応させて、IO空間105にアクセスする場合、CPUコア102の16個のアドレス端子A0〜A15のうち、その一部であって複数である8個のアドレス端子A0〜A7のみを利用してアドレス指定が行われる。つまり、IO空間105にアクセスする場合、イン命令及びアウト命令において設定されているアドレスコードのビット数と同一の数のアドレス端子A0〜A7が利用される。これにより、イン命令及びアウト命令に設定されているアドレスコードの内容をそのままアドレス端子A0〜A7に設定するデータとして利用することが可能となる。イン命令及びアウト命令において1番目のバイトに設定されているアドレスデータは、CPUコア102のアドレス端子A0〜A15のうち第0番目のアドレス端子A0から下位に向けて連続する8個のアドレス端子A0〜A7に対応している。   In the in instruction and the out instruction that will access the IO space 105, the address code is 1 byte as described above. Therefore, the number of addresses that can be designated as the IO space 105 in the CPU core 102 is 256 corresponding to 1 byte. Correspondingly, when accessing the IO space 105, only the eight address terminals A0 to A7, which are a part of the 16 address terminals A0 to A15 of the CPU core 102, are used. Addressing is performed. That is, when accessing the IO space 105, the same number of address terminals A0 to A7 as the number of bits of the address code set in the in instruction and the out instruction are used. As a result, the contents of the address code set in the IN instruction and OUT instruction can be used as data to be set in the address terminals A0 to A7 as they are. The address data set in the first byte in the in instruction and the out instruction is the eight address terminals A0 that continue from the 0th address terminal A0 to the lower order among the address terminals A0 to A15 of the CPU core 102. It corresponds to ~ A7.

メモリ空間106は、CPUコア102においてプログラムカウンタの値に対応するアドレスのROM63のエリアから命令を読み出す場合、及びCPUコア102においてロード命令を実行する場合に、当該CPUコア102がアクセスする仮想的な空間である。メモリ空間106にCPUコア102がアクセスしている状況というのは実際には、ROM63からの命令若しくはデータの読み込み、又はRAM64からのデータの読み込みを行うためにCPU101の対応するチップセレクト端子CS0〜CS4から対応する入力用ラッチ回路103にチップセレクト信号を出力している状況が該当し、さらにRAM64へのデータの書き込みを行うためにCPU101の対応するチップセレクト端子CS5〜CS12から対応する出力用ラッチ回路104にチップセレクト信号を出力している状況が該当する。   The memory space 106 is a virtual space accessed by the CPU core 102 when the CPU core 102 reads an instruction from the area of the ROM 63 having an address corresponding to the value of the program counter and when the CPU core 102 executes a load instruction. It is space. The situation in which the CPU core 102 is accessing the memory space 106 is actually the corresponding chip select terminals CS0 to CS4 of the CPU 101 for reading instructions or data from the ROM 63 or reading data from the RAM 64. Corresponds to a situation in which a chip select signal is output to the corresponding input latch circuit 103, and the corresponding output latch circuit from the corresponding chip select terminals CS5 to CS12 of the CPU 101 in order to write data to the RAM 64. The situation where the chip select signal is output to 104 corresponds to this situation.

メモリ空間106にアクセスすることとなるロード命令においては既に説明したとおり、アドレスコードは第1アドレスコード及び第2アドレスコードの合計の2バイトとなっている。したがって、CPUコア102においてメモリ空間106として指定可能なアドレスの個数は2バイトに対応する65536個である。これに対応させて、メモリ空間106にアクセスする場合、CPUコア102の16個のアドレス端子A0〜A15の全てを利用してアドレス指定が行われる。つまり、メモリ空間106にアクセスする場合、ロード命令において設定されている第1アドレスコード及び第2アドレスコードの合計のビット数と同一の数のアドレス端子A0〜A15が利用される。これより、ロード命令に設定されている第1アドレスコード及び第2アドレスコードの内容をそのままアドレス端子A0〜A15に設定するデータとして利用することが可能となる。   In the load instruction that accesses the memory space 106, the address code is a total of 2 bytes of the first address code and the second address code, as already described. Therefore, the number of addresses that can be designated as the memory space 106 in the CPU core 102 is 65536 corresponding to 2 bytes. Correspondingly, when accessing the memory space 106, addressing is performed using all of the 16 address terminals A0 to A15 of the CPU core 102. That is, when accessing the memory space 106, the same number of address terminals A0 to A15 as the total number of bits of the first address code and the second address code set in the load instruction are used. Accordingly, the contents of the first address code and the second address code set in the load instruction can be used as data to be set in the address terminals A0 to A15 as they are.

ロード命令において1番目のバイトに設定されている第1アドレスデータは、CPUコア102のアドレス端子A0〜A15のうち第0番目のアドレス端子A0から下位に向けて連続する8個のアドレス端子A0〜A7に対応している。また、ロード命令において2番目のバイトに設定されている第2アドレスデータは、CPUコア102のアドレス端子A0〜A15のうち第8番目のアドレス端子A8から下位に向けて連続する8個のアドレス端子A8〜A15に対応している。   The first address data set in the first byte in the load instruction includes eight address terminals A0 to A0 that continue from the 0th address terminal A0 to the lower side among the address terminals A0 to A15 of the CPU core 102. It corresponds to A7. In addition, the second address data set in the second byte in the load instruction includes eight address terminals that continue from the eighth address terminal A8 to the lower order among the address terminals A0 to A15 of the CPU core 102. It corresponds to A8 to A15.

ここで、既に説明したとおり、イン命令及びアウト命令においては1番目のバイトにアドレスデータが設定されているとともに当該アドレスデータにはアドレスコードとしてアドレス端子A0〜A7に対応するデータが設定されている。つまり、イン命令、アウト命令及びロード命令のいずれであっても、1番目のバイトにはアドレス端子A0〜A7に対応するデータが設定されている。これにより、イン命令及びアウト命令である場合、並びにロード命令である場合のいずれであっても、1番目のバイトに設定されているデータをアドレス端子A0〜A7に設定すればよく、当該データ設定の処理構成を共通化することが可能となることで、処理構成の簡素化を図ることが可能となる。   Here, as already described, in the in instruction and the out instruction, address data is set in the first byte, and data corresponding to the address terminals A0 to A7 is set in the address data as an address code. . That is, in any of the in instruction, the out instruction, and the load instruction, data corresponding to the address terminals A0 to A7 is set in the first byte. As a result, the data set in the first byte can be set in the address terminals A0 to A7 regardless of whether the instruction is an in instruction, an out instruction, or a load instruction. It becomes possible to simplify the processing configuration by making it possible to share the processing configuration.

次に、入力ポート62aからのデータの入力を行う場合及び出力ポート62bへのデータの出力を行う場合にも、CPUコア102がロード命令を実行し得る内容について説明する。   Next, the contents that the CPU core 102 can execute the load instruction when inputting data from the input port 62a and when outputting data to the output port 62b will be described.

既に説明したとおり、イン命令及びアウト命令はアドレスコード及びIO識別コードの2バイト構成となっているとともに、アドレスコードには動作対象とするラッチ回路103,104の種類を特定するためのアドレスが設定され、IO識別コードにはイン命令及びアウト命令のいずれに対応しているのかを示すデータが設定されている。当該構成である場合、イン命令及びアウト命令においてはロード命令のように実行コードを設定することができない。さらに、2バイト命令は全体のビット数が3バイト命令よりも少ないため、当然のことながら2バイト命令の使用可能数にも制限がある。   As described above, the in instruction and the out instruction have a 2-byte configuration of an address code and an IO identification code, and an address for specifying the type of the latch circuits 103 and 104 to be operated is set in the address code. In the IO identification code, data indicating which of the IN command and the OUT command is set is set. In the case of this configuration, the execution code cannot be set in the in instruction and the out instruction like the load instruction. Further, since the total number of bits of the 2-byte instruction is smaller than that of the 3-byte instruction, the number of usable 2-byte instructions is naturally limited.

これに対して、入力ポート62aからのデータの入力を行う場合及び出力ポート62bへのデータの出力を行う場合にもCPUコア102においてロード命令を実行し得る構成となっている。これにより、これらデータの入出力を行う場合であっても実行コードを利用することが可能となる。例えば、入力ポート62aからのデータの入力を行う場合にロード命令を実行することで、複数のビットの配列を変更した後の状態のデータを読み込むといったことや、複数のビットに設定されているデータをそれぞれ反転させた後の状態のデータを読み込むといったことを行うことが可能となる。また、例えば、出力ポート62bへのデータの出力を行う場合にロード命令を実行することで、出力ポート62bに出力したデータをそのままCPUコア102側において保持するとともにそのデータを所定の順序でビットの配列を変更した後の状態のデータを出力ポート62bに出力するといったことを行うことが可能となる。   On the other hand, the load instruction can be executed in the CPU core 102 also when data is input from the input port 62a and when data is output to the output port 62b. This makes it possible to use the execution code even when inputting / outputting these data. For example, when data is input from the input port 62a, a load instruction is executed to read data in a state after changing the arrangement of a plurality of bits, or data set in a plurality of bits Thus, it is possible to read data in a state after each is inverted. Further, for example, when data is output to the output port 62b, by executing a load instruction, the data output to the output port 62b is held as it is on the CPU core 102 side, and the data is stored in a predetermined order. It is possible to output the state data after changing the arrangement to the output port 62b.

但し、ロード命令においては既に説明したとおり1番目のバイトに第1アドレスコードが設定されているとともに2番目のバイトに第2アドレスコードが設定されており、CPUコア102はロード命令を実行する場合、それがROM63又はRAM64にアクセスする場合、及び入力ポート62a又は出力ポート62bにアクセスする場合のいずれであっても、16個のアドレス端子A0〜A15の全てを利用してアドレス指定を行うことでメモリ空間106にアクセスしている状態となる。ROM63又はRAM64にアクセスする場合と、入力ポート62a又は出力ポート62bにアクセスする場合とで、CPUコア102におけるロード命令の扱いを異ならせようとすると、アクセス対象を識別するためのデータをアドレスコードとは別に設定する必要が生じてしまい、この場合、ロード命令を3バイト命令として設定することができなくなってしまうからである。また、上記構成であることにより、CPUコア102において入力ポート62a又は出力ポート62bにアクセスする場合、イン命令又はアウト命令を実行する場合(すなわちIO空間105にアクセスする場合)とロード命令を実行する場合(すなわちメモリ空間106にアクセスする場合)とで異なるアドレス指定を行うこととなる。   However, in the load instruction, as described above, the first address code is set in the first byte and the second address code is set in the second byte, and the CPU core 102 executes the load instruction. Whether the access is to the ROM 63 or the RAM 64, and the access to the input port 62a or the output port 62b, addressing is performed by using all of the 16 address terminals A0 to A15. The memory space 106 is being accessed. When accessing the ROM 63 or the RAM 64 and accessing the input port 62a or the output port 62b, if the handling of the load instruction in the CPU core 102 is made different, the data for identifying the access target is the address code. This is because the load instruction cannot be set as a 3-byte instruction in this case. Further, with the above configuration, when accessing the input port 62a or the output port 62b in the CPU core 102, executing an in instruction or an out instruction (that is, accessing the IO space 105) and executing a load instruction. Different addressing is performed depending on the case (that is, when accessing the memory space 106).

このようにCPUコア102においてロード命令を実行する場合、ROM63又はRAM64にアクセスする場合と入力ポート62a又は出力ポート62bにアクセスする場合とで異なるアドレスが設定されている必要がある。したがって、図13のメモリ空間106の説明図に示すように、メモリ空間106には、ROM63に対応するROM用空間106a及びRAM64に対応するRAM用空間106bだけではなく、入力ポート62aに対応する入力ポート用空間106c及び出力ポート62bに対応する出力ポート用空間106dが存在していることとなる。これらROM用空間106a、RAM用空間106b、入力ポート用空間106c及び出力ポート用空間106dのそれぞれに設定されているアドレスは相互に異なっている。   As described above, when a load instruction is executed in the CPU core 102, it is necessary to set different addresses for accessing the ROM 63 or RAM 64 and for accessing the input port 62a or the output port 62b. Therefore, as shown in the explanatory diagram of the memory space 106 in FIG. 13, the memory space 106 includes not only the ROM space 106a corresponding to the ROM 63 and the RAM space 106b corresponding to the RAM 64, but also the input corresponding to the input port 62a. An output port space 106d corresponding to the port space 106c and the output port 62b exists. The addresses set in the ROM space 106a, RAM space 106b, input port space 106c, and output port space 106d are different from each other.

アドレス指定が必要なエリアの数はROM63が最も多く、RAM64が次に多く、出力ポート62bに対応する出力用ラッチ回路104が次に多く、入力ポート62aに対応する入力用ラッチ回路103が最も少ない。したがって、ROM用空間106aに設定されているアドレスの種類が最も多く、RAM用空間106bに設定されているアドレスの種類が次に多く、出力ポート用空間106dに設定されているアドレスの種類が次に多く、入力ポート用空間106cに設定されているアドレスの種類が最も少ない。   The number of areas that need to be addressed is the ROM 63, the RAM 64 is the next, the output latch circuit 104 corresponding to the output port 62b is the next, and the input latch circuit 103 corresponding to the input port 62a is the smallest. . Therefore, the type of address set in the ROM space 106a is the largest, the type of address set in the RAM space 106b is the second most, and the type of address set in the output port space 106d is the next. The number of addresses set in the input port space 106c is the smallest.

次に、CPUコア102がイン命令又はアウト命令を実行する場合、及びロード命令を実行する場合のいずであっても、入力ポート62aからのデータの入力又は出力ポート62bへのデータの出力を行うための構成について説明する。図14は、入力ポート62aからのデータの入力を行う入力用ラッチ回路103に対応するチップセレクト端子CS0からチップセレクト信号を出力するための電気的構成を示すブロック図である。なお、入力ポート62aからのデータの入力を行う入力用ラッチ回路103に対応する他のチップセレクト端子からチップセレクト信号を出力するための電気的構成、及び出力ポート62bへのデータの出力を行う出力用ラッチ回路104に対応するチップセレクト端子からチップセレクト信号を出力するための電気的構成は図14に示す電気的構成と同一である。   Next, regardless of whether the CPU core 102 executes an in instruction or an out instruction and a load instruction, data is input from the input port 62a or output to the output port 62b. The structure for performing will be described. FIG. 14 is a block diagram showing an electrical configuration for outputting a chip select signal from the chip select terminal CS0 corresponding to the input latch circuit 103 for inputting data from the input port 62a. An electrical configuration for outputting a chip select signal from another chip select terminal corresponding to the input latch circuit 103 that inputs data from the input port 62a, and an output that outputs data to the output port 62b. The electrical configuration for outputting a chip select signal from the chip select terminal corresponding to the latch circuit 104 is the same as the electrical configuration shown in FIG.

CPUコア102のRD端子及びWR端子はいずれも、CPU101に内蔵された動作選択回路111と電気的に接続されている。具体的には、動作選択回路111にはRD端子に対応させて入力端子が設けられており、これらRD端子と入力端子とを電気的に接続するようにして信号経路が形成されている。また、動作選択回路111にはWR端子に対応させて入力端子が設けられており、これらWR端子と入力端子とを電気的に接続するようにして信号経路が形成されている。   Both the RD terminal and the WR terminal of the CPU core 102 are electrically connected to the operation selection circuit 111 built in the CPU 101. Specifically, the operation selection circuit 111 is provided with an input terminal corresponding to the RD terminal, and a signal path is formed so as to electrically connect the RD terminal and the input terminal. The operation selection circuit 111 is provided with an input terminal corresponding to the WR terminal, and a signal path is formed so as to electrically connect the WR terminal and the input terminal.

動作選択回路111は、動作選択端子111aからの動作選択信号の出力契機となる信号を、RD端子から出力されるRD信号及びWR端子から出力されるWR信号のうちいずれにするのかを選択するための回路である。動作選択回路111には、CPU101に内蔵された初期化回路112からCPU101への動作電力の供給が開始された場合に初期化信号が入力されるようになっており、初期化信号が入力されることで、動作選択信号の出力契機となる信号として、RD信号及びWR信号のうちパチンコ機10の設計段階において定められている側の信号を選択した状態となる。具体的には、動作選択回路111にはスイッチ回路111bが設けられており、初期化回路112から初期化信号が入力されることで、RD端子と動作選択端子111aとを導通させる状態、及びWR端子と動作選択端子111aとを導通させる状態のうち、パチンコ機10の設計段階において定められた側の状態とする。RD信号はLOWレベル信号であるため、スイッチ回路111bがRD端子と動作選択端子111aとを導通させる状態である場合、RD信号が出力されていない場合(すなわちRD端子からHIレベル信号が出力されている場合)には動作選択回路111の動作選択端子111aからは非動作選択信号としてHIレベル信号が出力され、RD信号が出力されている場合には動作選択回路111の動作選択端子111aからは動作選択信号としてLOWレベル信号が出力される。同様に、WR信号はLOWレベル信号であるため、スイッチ回路111bがWR端子と動作選択端子111aとを導通させる状態である場合、WR信号が出力されていない場合(すなわちWR端子からHIレベル信号が出力されている場合)には動作選択回路111の動作選択端子111aからは非動作選択信号としてHIレベル信号が出力され、WR信号が出力されている場合には動作選択回路111の動作選択端子111aからは動作選択信号としてLOWレベル信号が出力される。   The operation selection circuit 111 selects either the RD signal output from the RD terminal or the WR signal output from the WR terminal as the output trigger of the operation selection signal from the operation selection terminal 111a. Circuit. The operation selection circuit 111 receives an initialization signal when the supply of operating power from the initialization circuit 112 built in the CPU 101 to the CPU 101 is started. The initialization signal is input to the operation selection circuit 111. Thus, as a signal that triggers the output of the operation selection signal, a signal on the side determined in the design stage of the pachinko machine 10 is selected from the RD signal and the WR signal. Specifically, the operation selection circuit 111 is provided with a switch circuit 111b. When an initialization signal is input from the initialization circuit 112, the RD terminal and the operation selection terminal 111a are electrically connected, and WR Of the states in which the terminal and the operation selection terminal 111a are electrically connected, the state determined at the design stage of the pachinko machine 10 is assumed. Since the RD signal is a LOW level signal, when the switch circuit 111b is in a state of conducting the RD terminal and the operation selection terminal 111a, when the RD signal is not output (that is, the HI level signal is output from the RD terminal). HI level signal is output as the non-operation selection signal from the operation selection terminal 111a of the operation selection circuit 111, and the operation selection terminal 111a of the operation selection circuit 111 operates when the RD signal is output. A LOW level signal is output as the selection signal. Similarly, since the WR signal is a LOW level signal, when the switch circuit 111b is in a state where the WR terminal and the operation selection terminal 111a are in a conductive state, when the WR signal is not output (that is, the HI level signal is output from the WR terminal). When the HI level signal is output from the operation selection terminal 111a of the operation selection circuit 111 as a non-operation selection signal, and when the WR signal is output, the operation selection terminal 111a of the operation selection circuit 111 is output. Outputs a LOW level signal as an operation selection signal.

図14は入力用ラッチ回路103にチップセレクト信号を出力するためのチップセレクト端子CS0であるため、動作選択回路111はRD端子と動作選択端子111aとを導通させる状態となる。これにより、CPUコア102のRD端子からRD信号が出力されることにより動作選択回路111は動作選択端子111aから動作選択信号を出力する。   Since FIG. 14 shows a chip select terminal CS0 for outputting a chip select signal to the input latch circuit 103, the operation selection circuit 111 is brought into conduction between the RD terminal and the operation selection terminal 111a. Thus, when the RD signal is output from the RD terminal of the CPU core 102, the operation selection circuit 111 outputs the operation selection signal from the operation selection terminal 111a.

なお、出力用ラッチ回路104にチップセレクト信号を出力するためのチップセレクト端子CS5〜CS12に対応する動作選択回路111である場合、初期化回路112から初期化信号が入力されることで、WR端子と動作選択端子111aとを導通させる状態となり、CPUコア102のWR端子からWR信号が出力されることにより動作選択回路111の動作選択端子111aから動作選択信号が出力されることとなる。詳細は後述するが、動作選択回路111から動作選択信号が出力されることが、チップセレクト端子CS0からチップセレクト信号が出力されるための必要条件である。   In the case of the operation selection circuit 111 corresponding to the chip select terminals CS5 to CS12 for outputting the chip select signal to the output latch circuit 104, the initialization signal is input from the initialization circuit 112, so that the WR terminal When the WR signal is output from the WR terminal of the CPU core 102, the operation selection signal is output from the operation selection terminal 111a of the operation selection circuit 111. Although the details will be described later, the output of the operation selection signal from the operation selection circuit 111 is a necessary condition for the output of the chip select signal from the chip select terminal CS0.

CPUコア102のIREQ端子及びMREQ端子はいずれも、CPU101に内蔵された対象選択回路113と電気的に接続されている。具体的には、対象選択回路113にはIREQ端子に対応させて入力端子が設けられており、これらIREQ端子と入力端子とを電気的に接続するようにして信号経路が形成されている。また、対象選択回路113にはMREQ端子に対応させて入力端子が設けられており、これらMREQ端子と入力端子とを電気的に接続するようにして信号経路が形成されている。   Both the IREQ terminal and the MREQ terminal of the CPU core 102 are electrically connected to a target selection circuit 113 built in the CPU 101. Specifically, the target selection circuit 113 is provided with an input terminal corresponding to the IREQ terminal, and a signal path is formed so as to electrically connect the IREQ terminal and the input terminal. The target selection circuit 113 is provided with an input terminal corresponding to the MREQ terminal, and a signal path is formed so as to electrically connect the MREQ terminal and the input terminal.

対象選択回路113には対象選択用論理回路113aが設けられている。IREQ端子から出力される信号及びMREQ端子から出力される信号のそれぞれが対象選択用論理回路113aにおける各NOT回路を通じて、対象選択用論理回路113aにおけるNOR回路に入力されるようになっている。IREQ信号がLOWレベル信号であるとともにMREQ信号がLOWレベル信号であるため、IREQ信号及びMREQ信号のいずれか一方が出力されている状況においては対象選択用論理回路113aからはLOWレベル信号が出力される。そして、対象選択用論理回路113aからLOWレベル信号が出力されている状況においては、対象選択回路113の対象選択端子113bから対象選択信号としてLOWレベル信号が出力されることとなる。つまり、IREQ端子からIREQ信号が出力される場合及びMREQ端子からMREQ信号が出力される場合のいずれであっても、対象選択回路113から対象選択信号が出力される。これにより、CPUコア102が入力ポート62a又は出力ポート62bにアクセスする場合として、イン命令又はアウト命令を実行する場合だけではなく、ロード命令を実行する場合が存在している構成において、いずれの場合であっても対象選択回路113から対象選択信号が出力されるようにすることが可能となる。詳細は後述するが、対象選択回路113から対象選択信号が出力されることが、チップセレクト端子CS0からチップセレクト信号が出力されるための必要条件である。なお、対象選択回路113はIREQ信号が出力されておらずさらにMREQ信号も出力されていない状況においては、非対象選択信号としてHIレベル信号を出力する。   The target selection circuit 113 is provided with a target selection logic circuit 113a. Each of the signal output from the IREQ terminal and the signal output from the MREQ terminal is input to the NOR circuit in the target selection logic circuit 113a through each NOT circuit in the target selection logic circuit 113a. Since the IREQ signal is a LOW level signal and the MREQ signal is a LOW level signal, a LOW level signal is output from the target selection logic circuit 113a in a situation where either the IREQ signal or the MREQ signal is output. The In a situation where the LOW level signal is output from the target selection logic circuit 113a, the LOW level signal is output as the target selection signal from the target selection terminal 113b of the target selection circuit 113. That is, the target selection signal is output from the target selection circuit 113 regardless of whether the IREQ signal is output from the IREQ terminal or the MREQ signal is output from the MREQ terminal. As a result, when the CPU core 102 accesses the input port 62a or the output port 62b, not only when the in instruction or the out instruction is executed, but also when the load instruction is executed, in any case Even so, the target selection signal can be output from the target selection circuit 113. Although details will be described later, the output of the target selection signal from the target selection circuit 113 is a necessary condition for the output of the chip select signal from the chip select terminal CS0. The target selection circuit 113 outputs a HI level signal as a non-target selection signal in a situation where no IREQ signal is output and no MREQ signal is output.

CPUコア102のアドレス端子A0〜A15のうち第0番目のアドレス端子A0から下位に向けて連続する8個のアドレス端子A0〜A7はIO用アドレスデコーダ114と電気的に接続されている。具体的には、IO用アドレスデコーダ114には8個のアドレス端子A0〜A7に1対1で対応させて8個の入力端子が設けられており、対応するアドレス端子A0〜A7と入力端子とを電気的に接続するようにして信号経路が形成されている。また、16個の全てのアドレス端子A0〜A15はメモリ用アドレスデコーダ115と電気的に接続されている。具体的には、メモリ用アドレスデコーダ115には16個のアドレス端子A0〜A15に1対1で対応させて16個の入力端子が設けられており、対応するアドレス端子A0〜A15と入力端子とを電気的に接続するようにして信号経路が形成されている。なおアドレス端子A0〜A7からIO用アドレスデコーダ114の各入力端子に向けた信号経路は、アドレス端子A0〜A7とメモリ用アドレスデコーダ115の各入力端子とを電気的に接続する信号経路の途中位置から分岐させて設けられている。   Of the address terminals A0 to A15 of the CPU core 102, eight address terminals A0 to A7 continuous from the 0th address terminal A0 to the lower order are electrically connected to the IO address decoder 114. Specifically, the IO address decoder 114 is provided with eight input terminals in a one-to-one correspondence with the eight address terminals A0 to A7, and the corresponding address terminals A0 to A7, input terminals, Are electrically connected to each other to form a signal path. All 16 address terminals A0 to A15 are electrically connected to the memory address decoder 115. Specifically, the memory address decoder 115 is provided with 16 input terminals in a one-to-one correspondence with the 16 address terminals A0 to A15, and the corresponding address terminals A0 to A15, input terminals, Are electrically connected to each other to form a signal path. A signal path from the address terminals A0 to A7 to each input terminal of the IO address decoder 114 is an intermediate position of a signal path that electrically connects the address terminals A0 to A7 and each input terminal of the memory address decoder 115. It is provided to be branched from.

IO用アドレスデコーダ114は、チップセレクト端子CS0に対応する1バイトのアドレスデータがCPUコア102から出力された場合にIOアドレス出力端子114aからIOアドレス信号としてLOWレベル信号を出力するように電気回路が形成されている。また、CPUコア102はチップセレクト端子CS0とは異なるチップセレクト端子CS1〜CS12からチップセレクト信号を出力させる場合にもアドレス端子A0〜A7からアドレスデータを出力することとなるが、チップセレクト端子CS0に対応させて設けられたIO用アドレスデコーダ114は自身に設けられている回路に対応するアドレスデータとは異なるアドレスデータが入力されたとしてもIOアドレス出力端子114aからIOアドレス信号を出力しない。つまり、IOアドレス出力端子114aから非IOアドレス信号としてHIレベル信号が出力される。   The IO address decoder 114 has an electric circuit configured to output a LOW level signal as an IO address signal from the IO address output terminal 114a when 1-byte address data corresponding to the chip select terminal CS0 is output from the CPU core 102. Is formed. The CPU core 102 also outputs address data from the address terminals A0 to A7 when outputting a chip select signal from the chip select terminals CS1 to CS12 different from the chip select terminal CS0. The IO address decoder 114 provided in correspondence does not output an IO address signal from the IO address output terminal 114a even if address data different from address data corresponding to a circuit provided in the IO address decoder 114 is input. That is, the HI level signal is output as a non-IO address signal from the IO address output terminal 114a.

メモリ用アドレスデコーダ115は、チップセレクト端子CS0に対応する2バイトのアドレスデータがCPUコア102から出力された場合にメモリアドレス出力端子115aからメモリアドレス信号としてLOWレベル信号を出力するように電気回路が形成されている。また、CPUコア102はチップセレクト端子CS0とは異なるチップセレクト端子CS1〜CS12からチップセレクト信号を出力させる場合にもアドレス端子A0〜A15からアドレスデータを出力することとなるが、チップセレクト端子CS0に対応させて設けられたメモリ用アドレスデコーダ115は自身に設けられている回路に対応するアドレスデータとは異なるアドレスデータが入力されたとしてもメモリアドレス出力端子115aからメモリアドレス信号を出力しない。つまり、メモリアドレス出力端子115aから非メモリアドレス信号としてHIレベル信号が出力される。   The memory address decoder 115 has an electric circuit configured to output a LOW level signal as a memory address signal from the memory address output terminal 115a when 2-byte address data corresponding to the chip select terminal CS0 is output from the CPU core 102. Is formed. The CPU core 102 also outputs address data from the address terminals A0 to A15 when outputting a chip select signal from the chip select terminals CS1 to CS12 different from the chip select terminal CS0. The memory address decoder 115 provided in correspondence does not output a memory address signal from the memory address output terminal 115a even if address data different from the address data corresponding to the circuit provided therein is input. That is, the HI level signal is output as a non-memory address signal from the memory address output terminal 115a.

詳細は後述するが、IO用アドレスデコーダ114又はメモリ用アドレスデコーダ115から対応するアドレス信号が出力されることが、チップセレクト端子CS0からチップセレクト信号が出力されるための必要条件である。   Although details will be described later, the output of the corresponding address signal from the IO address decoder 114 or the memory address decoder 115 is a necessary condition for the output of the chip select signal from the chip select terminal CS0.

ここで、IO用アドレスデコーダ114からのIOアドレス信号の出力契機となる1バイトのアドレスデータと、メモリ用アドレスデコーダ115からのメモリアドレス信号の出力契機となる2バイトのアドレスデータのうち1番目のバイトに設定されている1バイトのアドレスデータとは、同一のデータとなっている。例えばIO用アドレスデコーダ114からのIOアドレス信号の出力契機となる1バイトのアドレスデータが16進数で「A5」に設定されているのに対して、メモリ用アドレスデコーダ115からのメモリアドレス信号の出力契機となる2バイトのアドレスデータのうち1番目のバイトのアドレスデータが16進数で「A5」に設定されているとともに2番目のバイトのアドレスデータが16進数で「00」に設定されている。   Here, the first of the 1-byte address data that triggers the output of the IO address signal from the IO address decoder 114 and the 2-byte address data that triggers the output of the memory address signal from the memory address decoder 115. The 1-byte address data set in the byte is the same data. For example, while the 1-byte address data that triggers the output of the IO address signal from the IO address decoder 114 is set to “A5” in hexadecimal, the output of the memory address signal from the memory address decoder 115 The address data of the first byte is set to “A5” in hexadecimal and the address data of the second byte is set to “00” in hexadecimal.

入力ポート62aからデータ入力を行う入力用ラッチ回路103及び出力ポート62bへのデータ出力を行う出力用ラッチ回路104に対してチップセレクト信号を出力するための電気回路においては、既に説明したとおり、IREQ信号及びMREQ信号のいずれが出力される場合であっても対象選択回路113から対象選択信号が出力されることとなる。そうすると、上位側のアドレス端子A0〜A7から出力される1バイトのアドレスデータがIO用アドレスデコーダ114からアドレス信号が出力されることに対応するアドレスデータである場合、下位側のアドレス端子A8〜A15から出力される1バイトのアドレスデータがいずれのデータであったとしても、当該IO用アドレスデコーダ114からIOアドレス信号が出力されることとなる。この場合、上位側のアドレス端子A0〜A7のアドレスデータが当該IO用アドレスデコーダ114に対応している2バイトのアドレスデータを、当該IO用アドレスデコーダ114に対応するチップセレクト端子とは異なるチップセレクト端子の電気回路におけるIO用アドレスデコーダ及びメモリ用アドレスデコーダに対応するアドレスデータとして利用することができない。このような事情において、メモリ用アドレスデコーダ115からメモリアドレス信号を出力するための2バイトのアドレスデータのうち1番目のバイトに設定されている1バイトのアドレスデータが、IO用アドレスデコーダ114からIOアドレス信号を出力するための1バイトのアドレスデータと一致していることにより、他のチップセレクト端子の電気回路として利用不可となるアドレスデータの種類の数を抑えることが可能となる。   In the electric circuit for outputting a chip select signal to the input latch circuit 103 that inputs data from the input port 62a and the output latch circuit 104 that outputs data to the output port 62b, as described above, IREQ The target selection signal is output from the target selection circuit 113 regardless of whether the signal or the MREQ signal is output. Then, when the 1-byte address data output from the upper address terminals A0 to A7 is address data corresponding to the output of the address signal from the IO address decoder 114, the lower address terminals A8 to A15. The IO address signal is output from the IO address decoder 114 regardless of which one-byte address data is output from the IO. In this case, the 2-byte address data in which the address data of the higher-order address terminals A0 to A7 corresponds to the IO address decoder 114 is changed to a chip select different from the chip select terminal corresponding to the IO address decoder 114. It cannot be used as address data corresponding to the IO address decoder and the memory address decoder in the electric circuit of the terminal. Under such circumstances, 1-byte address data set as the first byte of 2-byte address data for outputting a memory address signal from the memory address decoder 115 is transferred from the IO address decoder 114 to the IO address. By matching with the 1-byte address data for outputting the address signal, it is possible to suppress the number of types of address data that cannot be used as an electric circuit for other chip select terminals.

IO用アドレスデコーダ114のIOアドレス出力端子114a及びメモリ用アドレスデコーダ115のメモリアドレス出力端子115aはいずれも、CPU101に内蔵されたアドレス用回路116と電気的に接続されている。具体的には、アドレス用回路116にはIOアドレス出力端子114aに対応させて入力端子が設けられており、これらIOアドレス出力端子114aと入力端子とを電気的に接続するようにして信号経路が形成されている。また、アドレス用回路116にはメモリアドレス出力端子115aに対応させて入力端子が設けられており、これらメモリアドレス出力端子115aと入力端子とを電気的に接続するようにして信号経路が形成されている。   The IO address output terminal 114 a of the IO address decoder 114 and the memory address output terminal 115 a of the memory address decoder 115 are both electrically connected to the address circuit 116 built in the CPU 101. Specifically, the address circuit 116 is provided with an input terminal corresponding to the IO address output terminal 114a, and a signal path is formed so as to electrically connect the IO address output terminal 114a and the input terminal. Is formed. The address circuit 116 is provided with an input terminal corresponding to the memory address output terminal 115a, and a signal path is formed so as to electrically connect the memory address output terminal 115a and the input terminal. Yes.

アドレス用回路116にはアドレス用論理回路116aが設けられている。IOアドレス出力端子114aから出力される信号及びメモリアドレス出力端子115aから出力される信号のそれぞれがアドレス用論理回路116aにおける各NOT回路を通じて、アドレス用論理回路116aにおけるNOR回路に入力されるようになっている。IOアドレス信号がLOWレベル信号であるとともにメモリアドレス信号がLOWレベル信号であるため、少なくとも一方のアドレス信号が出力されている状況においてはアドレス用論理回路116aからはLOWレベル信号が出力される。そして、アドレス用論理回路116aからLOWレベル信号が出力されている状況においては、アドレス用回路116のアドレス出力端子116bから合成アドレス信号としてLOWレベル信号が出力されることとなる。つまり、IOアドレス出力端子114aからIOアドレス信号が出力される場合及びメモリアドレス出力端子115aからメモリアドレス信号が出力される場合のいずれであっても、アドレス用回路116から合成アドレス信号が出力される。詳細は後述するが、アドレス用回路116から合成アドレス信号が出力されることが、チップセレクト端子CS0からチップセレクト信号が出力されるための必要条件である。なお、アドレス用回路116はIOアドレス信号が出力されておらずさらにメモリアドレス信号が出力されていない状況においては、非合成アドレス信号としてHIレベル信号を出力する。   The address circuit 116 is provided with an address logic circuit 116a. Each of the signal output from the IO address output terminal 114a and the signal output from the memory address output terminal 115a is input to the NOR circuit in the address logic circuit 116a through each NOT circuit in the address logic circuit 116a. ing. Since the IO address signal is the LOW level signal and the memory address signal is the LOW level signal, the LOW level signal is output from the address logic circuit 116a in a situation where at least one address signal is output. When the LOW level signal is output from the address logic circuit 116a, the LOW level signal is output from the address output terminal 116b of the address circuit 116 as a composite address signal. That is, the synthesized address signal is output from the address circuit 116 regardless of whether the IO address signal is output from the IO address output terminal 114a or the memory address signal is output from the memory address output terminal 115a. . As will be described in detail later, the output of the composite address signal from the address circuit 116 is a necessary condition for the output of the chip select signal from the chip select terminal CS0. Note that the address circuit 116 outputs a HI level signal as a non-synthetic address signal in a situation where no IO address signal is output and no memory address signal is output.

アドレス用回路116のアドレス出力端子116b、動作選択回路111の動作選択端子111a、及び対象選択回路113の対象選択端子113bはいずれも、CPU101に内蔵された合成回路117と電気的に接続されている。具体的には、合成回路117にはアドレス出力端子116bに対応させて入力端子が設けられており、これらアドレス出力端子116bと入力端子とを電気的に接続するようにして信号経路が形成されている。また、合成回路117には動作選択端子111aに対応させて入力端子が設けられており、これら動作選択端子111aと入力端子とを電気的に接続するようにして信号経路が形成されている。また、合成回路117には対象選択端子113bに対応させて入力端子が設けられており、これら対象選択端子113bと入力端子とを電気的に接続するようにして信号経路が形成されている。   The address output terminal 116 b of the address circuit 116, the operation selection terminal 111 a of the operation selection circuit 111, and the target selection terminal 113 b of the target selection circuit 113 are all electrically connected to the synthesis circuit 117 built in the CPU 101. . Specifically, the synthesis circuit 117 is provided with an input terminal corresponding to the address output terminal 116b, and a signal path is formed so as to electrically connect the address output terminal 116b and the input terminal. Yes. Further, the combining circuit 117 is provided with an input terminal corresponding to the operation selection terminal 111a, and a signal path is formed so as to electrically connect the operation selection terminal 111a and the input terminal. Further, the combining circuit 117 is provided with an input terminal corresponding to the target selection terminal 113b, and a signal path is formed so as to electrically connect the target selection terminal 113b and the input terminal.

合成回路117には合成用論理回路117aが設けられている。アドレス出力端子116bから出力される信号、動作選択端子111aから出力される信号及び対象選択端子113bから出力される信号のそれぞれが合成用論理回路117aにおける各NOT回路を通じて、合成用論理回路117aにおけるNAND回路に入力されるようになっている。合成アドレス信号、動作選択信号及び対象選択信号のいずれもがLOWレベル信号であるため、合成アドレス信号、動作選択信号及び対象選択信号の全てが出力されている状況においては合成回路117からはLOWレベル信号が出力される。そして、合成用論理回路117aからLOWレベル信号が出力されている状況においては、チップセレクト端子CS0からチップセレクト信号としてLOWレベル信号が出力されることとなる。つまり、アドレス用回路116から合成アドレス信号が出力され、動作選択回路111から動作選択信号が出力され、さらに対象選択回路113から対象選択信号が出力されている場合に、チップセレクト端子CS0からチップセレクト信号が出力される。チップセレクト信号がチップセレクト端子CS0から出力されることにより、当該チップセレクト端子CS0に対応する入力用ラッチ回路103においてラッチされているデータがデータバスDBに供給されることとなる。   The synthesis circuit 117 is provided with a synthesis logic circuit 117a. Each of the signal output from the address output terminal 116b, the signal output from the operation selection terminal 111a, and the signal output from the target selection terminal 113b passes through each NOT circuit in the synthesis logic circuit 117a, and the NAND in the synthesis logic circuit 117a. It is input to the circuit. Since all of the composite address signal, the operation selection signal, and the target selection signal are LOW level signals, the composite circuit 117 outputs a LOW level in the situation where all of the composite address signal, the operation selection signal, and the target selection signal are output. A signal is output. In a situation where the LOW level signal is output from the synthesizing logic circuit 117a, the LOW level signal is output as the chip select signal from the chip select terminal CS0. That is, when the synthesized address signal is output from the address circuit 116, the operation selection signal is output from the operation selection circuit 111, and the target selection signal is output from the target selection circuit 113, the chip select terminal CS0 outputs the chip select. A signal is output. By outputting the chip select signal from the chip select terminal CS0, the data latched in the input latch circuit 103 corresponding to the chip select terminal CS0 is supplied to the data bus DB.

なお、合成回路117は、合成アドレス信号、動作選択信号及び対象選択信号のいずれか一つでも出力されていない状況においては、非チップセレクト信号としてHIレベル信号を出力する。この場合、チップセレクト端子CS0に対応する入力用ラッチ回路103においてラッチされているデータはデータバスDBに供給されない。   Note that the synthesis circuit 117 outputs the HI level signal as a non-chip select signal in a situation where any one of the synthesis address signal, the operation selection signal, and the target selection signal is not output. In this case, the data latched in the input latch circuit 103 corresponding to the chip select terminal CS0 is not supplied to the data bus DB.

次に、チップセレクト端子CS0からチップセレクト信号が出力される様子について、図15のタイムチャートを参照しながら説明する。図15(a)はCPUコア102から1バイトのアドレスデータが出力される期間を示し、図15(b)はCPUコア102から2バイトのアドレスデータが出力される期間を示し、図15(c)はアドレス用回路116から合成アドレス信号が出力される期間を示し、図15(d)は動作選択回路111から動作選択信号が出力される期間を示し、図15(e)はCPUコア102からIREQ信号が出力される期間を示し、図15(f)はCPUコア102からMREQ信号が出力される期間を示し、図15(g)は対象選択回路113から対象選択信号が出力される期間を示し、図15(h)はチップセレクト端子CS0からチップセレクト信号が出力される期間を示す。   Next, how the chip select signal is output from the chip select terminal CS0 will be described with reference to the time chart of FIG. FIG. 15A shows a period in which 1-byte address data is output from the CPU core 102, and FIG. 15B shows a period in which 2-byte address data is output from the CPU core 102. ) Indicates a period during which the composite address signal is output from the address circuit 116, FIG. 15D illustrates a period during which the operation selection signal is output from the operation selection circuit 111, and FIG. FIG. 15F shows a period during which the MREQ signal is output from the CPU core 102, and FIG. 15G shows a period during which the target selection signal is output from the target selection circuit 113. FIG. 15H shows a period during which the chip select signal is output from the chip select terminal CS0.

まずCPUコア102においてイン命令が実行される場合にチップセレクト端子CS0からチップセレクト信号が出力される場合について説明する。   First, a case where a chip select signal is output from the chip select terminal CS0 when the in-command is executed in the CPU core 102 will be described.

t1のタイミングで、図15(a)に示すようにCPUコア102から1バイトのアドレスデータの出力が開始されるとともに、図15(e)に示すようにCPUコア102からIREQ信号の出力が開始される。なお、当該t1のタイミングでCPUコア102からRD信号の出力が開始される。また、t1のタイミングで出力されるアドレスデータはIO用アドレスデコーダ114に対応するアドレスデータである。   At the timing t1, the CPU core 102 starts outputting 1-byte address data as shown in FIG. 15A, and the CPU core 102 starts outputting the IREQ signal as shown in FIG. 15E. Is done. Note that the output of the RD signal from the CPU core 102 is started at the timing t1. The address data output at the timing t1 is address data corresponding to the IO address decoder 114.

t1のタイミングで1バイトのアドレスデータの出力が開始されることにより、IO用アドレスデコーダ114からIOアドレス信号の出力が開始される。そして、IOアドレス信号の出力が開始されることで、t2のタイミングで図15(c)に示すように、アドレス用回路116からの合成アドレス信号の出力が開始される。   When the output of 1-byte address data is started at the timing t1, the output of the IO address signal from the IO address decoder 114 is started. When the output of the IO address signal is started, the output of the composite address signal from the address circuit 116 is started at the timing t2, as shown in FIG.

また、t1のタイミングでRD信号の出力が開始されることにより、t2のタイミングで図15(d)に示すように動作選択回路111からの動作選択信号の出力が開始される。また、t1のタイミングでIREQ信号の出力が開始されることにより、t2のタイミングで図15(g)に示すように、対象選択回路113からの対象選択信号の出力が開始される。   Further, when the output of the RD signal is started at the timing t1, the operation selection signal output from the operation selection circuit 111 is started at the timing t2, as shown in FIG. Further, when the output of the IREQ signal is started at the timing of t1, the output of the target selection signal from the target selection circuit 113 is started at the timing of t2, as shown in FIG.

t2のタイミングで合成アドレス信号、動作選択信号及び対象選択信号の全ての出力が開始されることにより、t3のタイミングで図15(h)に示すようにチップセレクト端子CS0からのチップセレクト信号の出力が開始される。これにより、当該チップセレクト端子CS0に対応する入力用ラッチ回路103においてラッチされているデータがデータバスDBに供給されることとなる。   Output of the composite address signal, the operation selection signal, and the target selection signal is all started at the timing t2, so that the chip selection signal is output from the chip selection terminal CS0 as shown in FIG. 15 (h) at the timing t3. Is started. As a result, the data latched in the input latch circuit 103 corresponding to the chip select terminal CS0 is supplied to the data bus DB.

その後、t4のタイミングで、図15(a)に示すようにCPUコア102からの1バイトのアドレスデータの出力が停止されるとともに、図15(e)に示すようにCPUコア102からのIREQ信号の出力が停止される。なお、当該t4のタイミングでCPUコア102からのRD信号の出力も停止される。これにより、t5のタイミングで、図15(c)に示すように合成アドレス信号の出力が停止され、図15(d)に示すように動作選択信号の出力が停止され、図15(g)に示すように対象選択信号の出力が停止される。そして、これら信号の出力が停止されることにより、t6のタイミングで図15(h)に示すようにチップセレクト端子CS0からのチップセレクト信号の出力が停止される。チップセレクト信号の出力が停止されることにより、当該チップセレクト端子CS0に対応する入力用ラッチ回路103においてラッチされているデータのデータバスDBへの供給が停止されることとなる。   Thereafter, at the timing t4, the output of 1-byte address data from the CPU core 102 is stopped as shown in FIG. 15A, and the IREQ signal from the CPU core 102 is shown in FIG. 15E. Output is stopped. Note that the output of the RD signal from the CPU core 102 is also stopped at the timing t4. Thereby, at the timing of t5, the output of the composite address signal is stopped as shown in FIG. 15C, the output of the operation selection signal is stopped as shown in FIG. 15D, and the output of FIG. As shown, the output of the target selection signal is stopped. By stopping the output of these signals, the output of the chip select signal from the chip select terminal CS0 is stopped at the timing of t6 as shown in FIG. 15 (h). When the output of the chip select signal is stopped, the supply of the data latched in the input latch circuit 103 corresponding to the chip select terminal CS0 to the data bus DB is stopped.

なお、上記の動作の流れは、出力用ラッチ回路104を利用することにより出力ポート62bへのデータ出力を行う場合にCPUコア102においてアウト命令が実行される場合においても同様である。   The above operation flow is the same when the out instruction is executed in the CPU core 102 when data is output to the output port 62b by using the output latch circuit 104.

次に、CPUコア102においてロード命令が実行される場合にチップセレクト端子CS0からチップセレクト信号が出力される場合について説明する。   Next, a case where a chip select signal is output from the chip select terminal CS0 when a load instruction is executed in the CPU core 102 will be described.

t7のタイミングで、図15(b)に示すようにCPUコア102から2バイトのアドレスデータの出力が開始されるとともに、図15(f)に示すようにCPUコア102からMREQ信号の出力が開始される。なお、当該t7のタイミングでCPUコア102からRD信号の出力が開始される。また、t7のタイミングで出力されるアドレスデータはメモリ用アドレスデコーダ115に対応するアドレスデータである。   At the timing t7, output of 2-byte address data from the CPU core 102 is started as shown in FIG. 15B, and output of the MREQ signal from the CPU core 102 is started as shown in FIG. 15F. Is done. Note that the output of the RD signal from the CPU core 102 is started at the timing t7. The address data output at the timing t7 is address data corresponding to the memory address decoder 115.

t7のタイミングで2バイトのアドレスデータの出力が開始されることにより、メモリ用アドレスデコーダ115からメモリアドレス信号の出力が開始される。そして、メモリアドレス信号の出力が開始されることで、t8のタイミングで図15(c)に示すように、アドレス用回路116からの合成アドレス信号の出力が開始される。   When the output of 2-byte address data is started at the timing t7, the output of the memory address signal from the memory address decoder 115 is started. Then, when the output of the memory address signal is started, the output of the synthesized address signal from the address circuit 116 is started as shown in FIG. 15C at the timing of t8.

また、t7のタイミングでRD信号の出力が開始されることにより、t8のタイミングで図15(d)に示すように動作選択回路111からの動作選択信号の出力が開始される。また、t7のタイミングでMREQ信号の出力が開始されることにより、t8のタイミングで図15(g)に示すように、対象選択回路113からの対象選択信号の出力が開始される。   Further, when the output of the RD signal is started at the timing of t7, the output of the operation selection signal from the operation selection circuit 111 is started as shown in FIG. 15D at the timing of t8. Further, when the output of the MREQ signal is started at the timing of t7, the output of the target selection signal from the target selection circuit 113 is started as shown in FIG.

t8のタイミングで合成アドレス信号、動作選択信号及び対象選択信号の全ての出力が開始されることにより、t9のタイミングで図15(h)に示すようにチップセレクト端子CS0からのチップセレクト信号の出力が開始される。これにより、当該チップセレクト端子CS0に対応する入力用ラッチ回路103においてラッチされているデータがデータバスDBに供給されることとなる。   Output of the composite address signal, the operation selection signal, and the target selection signal is started at the timing of t8, so that the output of the chip selection signal from the chip selection terminal CS0 is performed at the timing of t9 as shown in FIG. Is started. As a result, the data latched in the input latch circuit 103 corresponding to the chip select terminal CS0 is supplied to the data bus DB.

その後、t10のタイミングで、図15(b)に示すようにCPUコア102からの2バイトのアドレスデータの出力が停止されるとともに、図15(f)に示すようにCPUコア102からのMREQ信号の出力が停止される。なお、当該t10のタイミングでCPUコア102からのRD信号の出力も停止される。これにより、t11のタイミングで、図15(c)に示すように合成アドレス信号の出力が停止され、図15(d)に示すように動作選択信号の出力が停止され、図15(g)に示すように対象選択信号の出力が停止される。そして、これら信号の出力が停止されることにより、t12のタイミングで図15(h)に示すようにチップセレクト端子CS0からのチップセレクト信号の出力が停止される。チップセレクト信号の出力が停止されることにより、当該チップセレクト端子CS0に対応する入力用ラッチ回路103においてラッチされているデータのデータバスDBへの供給が停止されることとなる。   Thereafter, at the timing of t10, the output of 2-byte address data from the CPU core 102 is stopped as shown in FIG. 15B, and the MREQ signal from the CPU core 102 is shown in FIG. 15F. Output is stopped. Note that the output of the RD signal from the CPU core 102 is also stopped at the timing t10. Thereby, at the timing of t11, the output of the composite address signal is stopped as shown in FIG. 15C, the output of the operation selection signal is stopped as shown in FIG. 15D, and the output of FIG. As shown, the output of the target selection signal is stopped. Then, by stopping the output of these signals, the output of the chip select signal from the chip select terminal CS0 is stopped at the timing t12 as shown in FIG. 15 (h). When the output of the chip select signal is stopped, the supply of the data latched in the input latch circuit 103 corresponding to the chip select terminal CS0 to the data bus DB is stopped.

以上のとおり、対象選択回路113にはCPUコア102のIREQ端子から出力される信号及びCPUコア102のMREQ端子から出力される信号のそれぞれを入力信号とした負論理のOR回路が設けられていることにより、CPUコア102からIREQ信号及びMREQ信号のいずれが出力されている状況であっても対象選択回路113から対象選択信号が出力される。この場合、チップセレクト端子CS0に対応する入力用ラッチ回路103を利用して入力ポート62aからのデータの入力を行う場合、CPUコア102にてイン命令及びロード命令のいずれが実行される状況であっても、すなわちCPUコア102からIREQ信号及びMREQ信号のいずれが出力される状況であっても、対象選択回路113の状態を切り換えることなく当該対象選択回路113から対象選択信号を出力することが可能となる。これにより、処理構成の簡素化を図りながら、イン命令及びロード命令のいずれが実行される状況であってもチップセレクト端子CS0からチップセレクト信号を出力することが可能となる。   As described above, the target selection circuit 113 is provided with a negative logic OR circuit using the signal output from the IREQ terminal of the CPU core 102 and the signal output from the MREQ terminal of the CPU core 102 as input signals. As a result, the target selection signal is output from the target selection circuit 113 regardless of whether the CPU core 102 outputs the IREQ signal or the MREQ signal. In this case, when data is input from the input port 62a using the input latch circuit 103 corresponding to the chip select terminal CS0, either the in instruction or the load instruction is executed in the CPU core 102. In other words, it is possible to output the target selection signal from the target selection circuit 113 without switching the state of the target selection circuit 113, regardless of whether the CPU core 102 outputs the IREQ signal or the MREQ signal. It becomes. Thus, it is possible to output the chip select signal from the chip select terminal CS0 regardless of whether the in instruction or the load instruction is executed while simplifying the processing configuration.

また、チップセレクト端子CS0に対応する電気回路には、1バイトのアドレスデータに対応するIO用アドレスデコーダ114と2バイトのアドレスデータに対応するメモリ用アドレスデコーダ115とが設けられており、CPUコア102から1バイトのアドレスデータが出力される場合にはIO用アドレスデコーダ114からIOアドレス信号が出力され、CPUコア102から2バイトのアドレスデータが出力される場合にはメモリ用アドレスデコーダ115からメモリアドレス信号が出力される。そして、IOアドレス信号及びメモリアドレス信号の少なくとも一方が出力されている場合にはアドレス用回路116から合成アドレス信号が出力される。この場合、チップセレクト端子CS0に対応する入力用ラッチ回路103を利用して入力ポート62aからのデータの入力を行う場合、CPUコア102にてイン命令及びロード命令のいずれが実行される状況であっても、すなわちCPUコア102から1バイトのアドレスデータ及び2バイトのアドレスデータのいずれが出力される状況であっても、アドレス信号の出力を行うための回路の状態を切り換えることなくアドレス用回路116から合成アドレス信号を出力することが可能となる。これにより、処理構成の簡素化を図りながら、イン命令及びロード命令のいずれが実行される状況であってもチップセレクト端子CS0からチップセレクト信号を出力することが可能となる。   The electrical circuit corresponding to the chip select terminal CS0 is provided with an IO address decoder 114 corresponding to 1-byte address data and a memory address decoder 115 corresponding to 2-byte address data. When 1-byte address data is output from 102, an IO address signal is output from the IO address decoder 114, and when 2-byte address data is output from the CPU core 102, the memory address decoder 115 outputs a memory. An address signal is output. When at least one of the IO address signal and the memory address signal is output, the synthesized address signal is output from the address circuit 116. In this case, when data is input from the input port 62a using the input latch circuit 103 corresponding to the chip select terminal CS0, either the in instruction or the load instruction is executed in the CPU core 102. In other words, the address circuit 116 without switching the state of the circuit for outputting the address signal, regardless of whether 1-byte address data or 2-byte address data is output from the CPU core 102. It is possible to output a composite address signal from. Thus, it is possible to output the chip select signal from the chip select terminal CS0 regardless of whether the in instruction or the load instruction is executed while simplifying the processing configuration.

次に、CPUコア102にて短い周期で繰り返し実行される命令実行処理の内容について、図16のフローチャートを参照しながら説明する。なお、図16の処理がCPUコア102にて実行されることにより、結果的に主制御装置60のMPU62において既に説明したメイン処理(図6)やタイマ割込み処理(図7)などが実行される。   Next, the contents of the instruction execution process that is repeatedly executed in a short cycle by the CPU core 102 will be described with reference to the flowchart of FIG. 16 is executed by the CPU core 102, as a result, the main process (FIG. 6) and the timer interrupt process (FIG. 7) already described in the MPU 62 of the main controller 60 are executed. .

まずプログラムカウンタの今回の値において指定されているアドレスに対応するROM63のエリアから命令を読み出す(ステップS301)。その読み出した命令が2バイト命令である場合(ステップS302:YES)、当該命令にIO識別コードが設定されているか否かを判定する(ステップS303)。IO識別コードが設定されていない場合(ステップS303:NO)、今回の命令がイン命令及びアウト命令のいずれでもないことを意味するため、ステップS304のその他の処理にて今回の命令に対応する処理を実行する。   First, an instruction is read from the area of the ROM 63 corresponding to the address specified in the current value of the program counter (step S301). If the read instruction is a 2-byte instruction (step S302: YES), it is determined whether an IO identification code is set for the instruction (step S303). If the IO identification code is not set (step S303: NO), it means that the current instruction is neither an in instruction nor an out instruction, and therefore processing corresponding to the current instruction in other processing of step S304. Execute.

今回の命令にIO識別コードが設定されている場合(ステップS303:YES)、今回の命令がイン命令又はアウト命令であることを意味するため、ステップS305に進む。ステップS305では、今回読み出した命令の1番目のバイトに設定されているアドレスコードを上位側の8個のアドレス端子A0〜A7に対して設定することで、1バイトのアドレスデータの出力設定を行う。これにより、アドレス端子A0〜A7から1バイトのアドレスデータが出力される。なお、この場合、残りの8個のアドレス端子A8〜A15の出力状態は前回の出力状態が維持される。また、ステップS306にて、CPUコア102のIREQ端子からIREQ信号の出力を開始する。   If an IO identification code is set for the current instruction (step S303: YES), this means that the current instruction is an in-command or an out-command, and the process proceeds to step S305. In step S305, the address code set in the first byte of the instruction read this time is set for the upper eight address terminals A0 to A7, thereby setting the output of 1-byte address data. . As a result, 1-byte address data is output from the address terminals A0 to A7. In this case, the output states of the remaining eight address terminals A8 to A15 are maintained at the previous output states. In step S306, output of the IREQ signal from the IREQ terminal of the CPU core 102 is started.

その後、今回の命令におけるIO識別コードが入力ポート62aからのデータの入力に対応している場合(ステップS307:YES)、CPUコア102のRD端子からRD信号の出力を開始する(ステップS308)。一方、今回の命令におけるIO識別コードが出力ポート62bからのデータの出力に対応している場合(ステップS307:NO)、CPUコア102のWR端子からWR信号の出力を開始する(ステップS309)。その後、ステップS301にて参照したプログラムカウンタの次の値において指定されているアドレスに対応するROM63のエリアから1バイトの出力データを読み出し、その出力データをデータバスDBに対して設定する(ステップS310)。   Thereafter, when the IO identification code in the current instruction corresponds to data input from the input port 62a (step S307: YES), output of the RD signal is started from the RD terminal of the CPU core 102 (step S308). On the other hand, when the IO identification code in the current instruction corresponds to the output of data from the output port 62b (step S307: NO), the output of the WR signal is started from the WR terminal of the CPU core 102 (step S309). Thereafter, 1-byte output data is read from the area of the ROM 63 corresponding to the address specified in the next value of the program counter referred to in step S301, and the output data is set to the data bus DB (step S310). ).

今回の命令が2バイト命令ではない場合には(ステップS302:NO)、今回の命令が3バイト命令であるか否かを判定する(ステップS311)。3バイト命令ではない場合、今回の命令が1バイト命令又は4バイト以上の命令であることを意味するため、ステップS304のその他の処理にて今回の命令に対応する処理を実行する。3バイト命令である場合(ステップS311:YES)、3バイト命令用処理を実行する(ステップS312)。   If the current instruction is not a 2-byte instruction (step S302: NO), it is determined whether the current instruction is a 3-byte instruction (step S311). If it is not a 3-byte instruction, it means that the current instruction is a 1-byte instruction or an instruction of 4 bytes or more, and therefore processing corresponding to the current instruction is executed in other processing of step S304. If it is a 3-byte instruction (step S311: YES), a 3-byte instruction process is executed (step S312).

図17は3バイト命令用処理を示すフローチャートである。   FIG. 17 is a flowchart showing the 3-byte instruction processing.

今回の3バイト命令が入力ポート62aに対する入力命令である場合(ステップS401:YES)、今回読み出した命令の1番目のバイトに設定されている第1アドレスコードを上位側の8個のアドレス端子A0〜A7に対して設定するとともに、今回読み出した命令の2番目のバイトに設定されている第2アドレスコードを下位側の8個のアドレス端子A8〜A15に対して設定することで、2バイトのアドレスデータの出力設定を行う。これにより、アドレス端子A0〜A15から2バイトのアドレスデータが出力される。   If the current 3-byte instruction is an input instruction for the input port 62a (step S401: YES), the first address code set in the first byte of the instruction read this time is used as the upper eight address terminals A0. To A7, and by setting the second address code set in the second byte of the instruction read this time to the lower eight address terminals A8 to A15, two bytes Set the address data output. As a result, 2-byte address data is output from the address terminals A0 to A15.

その後、CPUコア102のMREQ端子からMREQ信号の出力を開始するとともに(ステップS403)、CPUコア102のRD端子からRD信号の出力を開始する(ステップS404)。その後、今回の入力命令に論理演算命令が含まれている場合には(ステップS405:YES)、入力ポート62aから今回入力したデータに対して、今回の命令において指定されている論理演算処理を実行する(ステップS406)。例えば、MPU62のレジスタに記憶保持されているデータと入力ポート62aから今回入力したデータとのAND処理を実行することが命令として指定されている場合には当該AND処理を実行する。   Thereafter, the output of the MREQ signal is started from the MREQ terminal of the CPU core 102 (step S403), and the output of the RD signal is started from the RD terminal of the CPU core 102 (step S404). Thereafter, if the current input instruction includes a logical operation instruction (step S405: YES), the logical operation processing specified in the current instruction is executed on the data input this time from the input port 62a. (Step S406). For example, when it is designated as an instruction to perform an AND process on data stored in the register of the MPU 62 and data input this time from the input port 62a, the AND process is executed.

今回の3バイト命令が出力ポート62bに対する出力命令である場合(ステップS407:YES)、ステップS402と同様に、2バイトのアドレスデータの出力設定を行う(ステップS408)。これにより、アドレス端子A0〜A15から2バイトのアドレスデータが出力される。   If the current 3-byte instruction is an output instruction for the output port 62b (step S407: YES), output setting of 2-byte address data is performed as in step S402 (step S408). As a result, 2-byte address data is output from the address terminals A0 to A15.

その後、CPUコア102のMREQ端子からMREQ信号の出力を開始するとともに(ステップS409)、CPUコア102のWR端子からWR信号の出力を開始する(ステップS410)。その後、今回の出力命令にシフト命令が含まれている場合には(ステップS411:YES)、出力ポート62bに今回出力する元となるデータのビットを所定の方向にずらす処理を実行する(ステップS412)。その後、今回の出力対象のデータをデータバスDBに対して設定する(ステップS413)。   Thereafter, the output of the MREQ signal is started from the MREQ terminal of the CPU core 102 (step S409), and the output of the WR signal is started from the WR terminal of the CPU core 102 (step S410). Thereafter, if the current output command includes a shift command (step S411: YES), a process of shifting the bit of the data to be output this time to the output port 62b in a predetermined direction is executed (step S412). ). Thereafter, the data to be output this time is set for the data bus DB (step S413).

今回の3バイト命令が読み出し命令である場合(ステップS414:YES)、ステップS402と同様に、2バイトのアドレスデータの出力設定を行う(ステップS415)。これにより、アドレス端子A0〜A15から2バイトのアドレスデータが出力される。その後、CPUコア102のMREQ端子からMREQ信号の出力を開始するとともに(ステップS416)、CPUコア102のRD端子からRD信号の出力を開始する(ステップS417)。これにより、ROM63又はRAM64における今回のアドレスデータに対応するエリアからデータの読み出しが行われる。   When the current 3-byte instruction is a read instruction (step S414: YES), output setting of 2-byte address data is performed in the same manner as in step S402 (step S415). As a result, 2-byte address data is output from the address terminals A0 to A15. Thereafter, the output of the MREQ signal is started from the MREQ terminal of the CPU core 102 (step S416), and the output of the RD signal is started from the RD terminal of the CPU core 102 (step S417). As a result, data is read from the area corresponding to the current address data in the ROM 63 or RAM 64.

今回の3バイト命令が書き込み命令である場合(ステップS418:YES)、ステップS402と同様に、2バイトのアドレスデータの出力設定を行う(ステップS419)。これにより、アドレス端子A0〜A15から2バイトのアドレスデータが出力される。その後、CPUコア102のMREQ端子からMREQ信号の出力を開始するとともに(ステップS420)、CPUコア102のWR端子からWR信号の出力を開始する(ステップS421)。その後、今回の出力対象となるデータをデータバスDBに対して設定する(ステップS422)。   If the current 3-byte instruction is a write instruction (step S418: YES), output setting of 2-byte address data is performed as in step S402 (step S419). As a result, 2-byte address data is output from the address terminals A0 to A15. Thereafter, the output of the MREQ signal is started from the MREQ terminal of the CPU core 102 (step S420), and the output of the WR signal is started from the WR terminal of the CPU core 102 (step S421). Thereafter, the data to be output this time is set for the data bus DB (step S422).

今回の3バイト命令が書き込み命令ではない場合(ステップS418:NO)、その他の処理を実行する(ステップS423)。その他の処理では、例えば算出演算命令やビット操作命令などを実行する。   If the current 3-byte instruction is not a write instruction (step S418: NO), other processing is executed (step S423). In other processing, for example, a calculation operation instruction or a bit operation instruction is executed.

以上詳述した本実施形態によれば、以下の優れた効果を奏する。   According to the embodiment described in detail above, the following excellent effects are obtained.

CPUコア102はロード命令を実行する場合にMREQ端子からMREQ信号を出力し、イン命令又はアウト命令を実行する場合にIREQ端子からIREQ信号を出力する。これにより、ロード命令、イン命令及びアウト命令のいずれも実行されていない状況においてデータの読み出し、データの書き込み及びデータの入出力が行われてしまうことを阻止することが可能となるとともに、ロード命令が実行されている場合とイン命令又はアウト命令が実行されている場合とで動作対象を区別させることが可能となる。この場合に、入力ポート62aに対応する入力用ラッチ回路103にチップセレクト信号を出力するための合成回路117からは、CPUコア102からMREQ信号及びIREQ信号のうちいずれが出力されている場合にもチップセレクト信号が出力される。これは出力ポート62bに対応する出力用ラッチ回路104にチップセレクト信号を出力するための構成についても同様である。これにより、イン命令又はアウト命令が実行される場合だけではなく、ロード命令が実行される状況であっても、入力ポート62aからのデータの受信又は出力ポート62bへのデータの設定を行うことが可能となる。よって、入力ポート62aからのデータの受信又は出力ポート62bへのデータの設定を行う場合に実行される命令の種類の幅を広げることが可能となる。   The CPU core 102 outputs an MREQ signal from the MREQ terminal when executing a load instruction, and outputs an IREQ signal from the IREQ terminal when executing an in instruction or an out instruction. As a result, it is possible to prevent data reading, data writing, and data input / output from being performed in a situation where none of the load instruction, the in instruction, and the out instruction is executed. It is possible to distinguish the operation target between the case where is executed and the case where the in instruction or the out instruction is executed. In this case, the combining circuit 117 for outputting the chip select signal to the input latch circuit 103 corresponding to the input port 62a outputs either the MREQ signal or the IREQ signal from the CPU core 102. A chip select signal is output. The same applies to the configuration for outputting a chip select signal to the output latch circuit 104 corresponding to the output port 62b. Thereby, not only when the in instruction or the out instruction is executed, but also when the load instruction is executed, the data can be received from the input port 62a or set to the output port 62b. It becomes possible. Therefore, it is possible to widen the range of types of instructions executed when receiving data from the input port 62a or setting data to the output port 62b.

対象選択回路113から対象選択信号が出力されていることを一の条件として合成回路117からチップセレクト信号が出力される構成において、対象選択回路113はIREQ信号又はMREQ信号が出力されている場合に対象選択信号を出力する構成であるため、対象選択回路113以外の構成をそのまま流用しながら上記のような優れた効果を奏することが可能となる。   In a configuration in which a chip select signal is output from the synthesis circuit 117 on the condition that the target selection signal is output from the target selection circuit 113, the target selection circuit 113 outputs an IREQ signal or an MREQ signal. Since the configuration is such that the target selection signal is output, the above-described excellent effects can be achieved while diverting the configuration other than the target selection circuit 113 as it is.

対象選択回路113にはCPUコア102のIREQ端子から出力される信号及びCPUコア102のMREQ端子から出力される信号のそれぞれを入力信号とした負論理のOR回路が設けられていることにより、CPUコア102からIREQ信号及びMREQ信号のいずれが出力されている状況であっても対象選択回路113から対象選択信号が出力される。この場合、チップセレクト端子CS0に対応する入力用ラッチ回路103を利用して入力ポート62aからのデータの入力を行う場合、CPUコア102にてイン命令及びロード命令のいずれが実行される状況であっても、すなわちCPUコア102からIREQ信号及びMREQ信号のいずれが出力される状況であっても、対象選択回路113の状態を切り換えることなく当該対象選択回路113から対象選択信号を出力することが可能となる。これにより、処理構成の簡素化を図りながら、イン命令及びロード命令のいずれが実行される状況であってもチップセレクト端子CS0からチップセレクト信号を出力することが可能となる。   The target selection circuit 113 is provided with a negative logic OR circuit that uses the signal output from the IREQ terminal of the CPU core 102 and the signal output from the MREQ terminal of the CPU core 102 as input signals. The target selection signal is output from the target selection circuit 113 regardless of whether the IREQ signal or the MREQ signal is output from the core 102. In this case, when data is input from the input port 62a using the input latch circuit 103 corresponding to the chip select terminal CS0, either the in instruction or the load instruction is executed in the CPU core 102. In other words, it is possible to output the target selection signal from the target selection circuit 113 without switching the state of the target selection circuit 113, regardless of whether the CPU core 102 outputs the IREQ signal or the MREQ signal. It becomes. Thus, it is possible to output the chip select signal from the chip select terminal CS0 regardless of whether the in instruction or the load instruction is executed while simplifying the processing configuration.

イン命令又はアウト命令を実行する場合には1バイトのアドレスデータがCPUコア102から出力されるとともにロード命令を実行する場合には2バイトのアドレスデータがCPUコア102から出力される。これにより、イン命令又はアウト命令を実行する場合とロード命令を実行する場合とのそれぞれに対応する態様でアドレスデータの出力を行うことが可能となる。また、このようにイン命令又はアウト命令を実行する場合には1バイトのアドレスデータが出力され、ロード命令を実行する場合には2バイトのアドレスデータが出力される構成であっても、1バイトのアドレスデータが出力されている場合及び2バイトのアドレスデータが出力されている場合のいずれであっても、合成回路117からチップセレクト信号が出力される。これにより、イン命令又はアウト命令が実行される場合だけではなく、ロード命令が実行される状況であっても、入力ポート62aからのデータの受信又は出力ポート62bへのデータの設定を行うことが可能となる。   When executing an in instruction or an out instruction, 1-byte address data is output from the CPU core 102, and when executing a load instruction, 2-byte address data is output from the CPU core 102. Thereby, it becomes possible to output the address data in a manner corresponding to each of the case where the in instruction or the out instruction is executed and the case where the load instruction is executed. Further, even when the in instruction or the out instruction is executed as described above, 1 byte of address data is output, and when the load instruction is executed, 2 bytes of address data is output. The chip select signal is output from the synthesis circuit 117 regardless of whether the address data is output or the 2-byte address data is output. Thereby, not only when the in instruction or the out instruction is executed, but also when the load instruction is executed, the data can be received from the input port 62a or set to the output port 62b. It becomes possible.

チップセレクト端子CS0に対応する電気回路には、1バイトのアドレスデータに対応するIO用アドレスデコーダ114と2バイトのアドレスデータに対応するメモリ用アドレスデコーダ115とが設けられており、CPUコア102から1バイトのアドレスデータが出力される場合にはIO用アドレスデコーダ114からIOアドレス信号が出力され、CPUコア102から2バイトのアドレスデータが出力される場合にはメモリ用アドレスデコーダ115からメモリアドレス信号が出力される。そして、IOアドレス信号及びメモリアドレス信号の少なくとも一方が出力されている場合にはアドレス用回路116から合成アドレス信号が出力される。この場合、チップセレクト端子CS0に対応する入力用ラッチ回路103を利用して入力ポート62aからのデータの入力を行う場合、CPUコア102にてイン命令及びロード命令のいずれが実行される状況であっても、すなわちCPUコア102から1バイトのアドレスデータ及び2バイトのアドレスデータのいずれが出力される状況であっても、アドレス信号の出力を行うための回路の状態を切り換えることなくアドレス用回路116から合成アドレス信号を出力することが可能となる。これにより、処理構成の簡素化を図りながら、イン命令及びロード命令のいずれが実行される状況であってもチップセレクト端子CS0からチップセレクト信号を出力することが可能となる。   The electric circuit corresponding to the chip select terminal CS0 is provided with an IO address decoder 114 corresponding to 1-byte address data and a memory address decoder 115 corresponding to 2-byte address data. When 1-byte address data is output, an IO address signal is output from the IO address decoder 114, and when 2-byte address data is output from the CPU core 102, a memory address signal is output from the memory address decoder 115. Is output. When at least one of the IO address signal and the memory address signal is output, the synthesized address signal is output from the address circuit 116. In this case, when data is input from the input port 62a using the input latch circuit 103 corresponding to the chip select terminal CS0, either the in instruction or the load instruction is executed in the CPU core 102. In other words, the address circuit 116 without switching the state of the circuit for outputting the address signal, regardless of whether 1-byte address data or 2-byte address data is output from the CPU core 102. It is possible to output a composite address signal from. Thus, it is possible to output the chip select signal from the chip select terminal CS0 regardless of whether the in instruction or the load instruction is executed while simplifying the processing configuration.

<第2の実施形態>
本実施形態は、CPUコア102において出力データの別保存を行うための処理を実行しなくても、既に出力したデータを加工してその加工後のデータの出力を行うことを可能とする電気的構成となっている点で上記第1の実施形態と相違している。当該相違する構成について以下に説明する。なお、上記第1の実施形態と同一の構成については基本的にその説明を省略する。
<Second Embodiment>
In this embodiment, even if the CPU core 102 does not execute processing for separately storing output data, it is possible to process data that has already been output and output the processed data. The configuration is different from the first embodiment. The different configuration will be described below. The description of the same configuration as that of the first embodiment is basically omitted.

図18は本実施形態におけるCPU101の電気的構成を説明するための説明図である。   FIG. 18 is an explanatory diagram for explaining the electrical configuration of the CPU 101 in the present embodiment.

CPU101は上記第1の実施形態と同様にチップセレクト端子CS0〜CS12を備えている。但し、本実施形態では、チップセレクト端子CS0、チップセレクト端子CS2、チップセレクト端子CS4及びチップセレクト端子CS6が出力用ラッチ回路121a〜121dに対してチップセレクト信号を出力するためのものであり、それ以外のチップセレクト端子CS1,CS3,CS5,CS7〜CS12が入力用ラッチ回路122a〜122iに対してチップセレクト信号を出力するためのものである。   The CPU 101 includes chip select terminals CS0 to CS12 as in the first embodiment. However, in this embodiment, the chip select terminal CS0, the chip select terminal CS2, the chip select terminal CS4, and the chip select terminal CS6 are for outputting a chip select signal to the output latch circuits 121a to 121d. The other chip select terminals CS1, CS3, CS5, CS7 to CS12 are for outputting a chip select signal to the input latch circuits 122a to 122i.

出力用ラッチ回路121a〜121dに対応するチップセレクト端子CS0,CS2,CS4,CS6は対応する出力用ラッチ回路121a〜121dとの間で信号経路が形成されており、入力用ラッチ回路122a〜122iに対応するチップセレクト端子CS1,CS3,CS5,CS7〜CS12は対応する入力用ラッチ回路122a〜122iとの間で信号経路が形成されている。また、各出力用ラッチ回路121a〜121dはそれぞれ、CPU101のデータ端子D10〜D17と電気的に接続されたデータバスDBとの間で信号経路が形成されており、データ端子D10〜D17からデータバスDBに供給されたデータを出力用ラッチ回路121a〜121dにおいてラッチすることが可能である。また、各入力用ラッチ回路122a〜122iはそれぞれデータバスDBとの間で信号経路が形成されており、それぞれに対応するデータの出力元から供給されたデータを一旦記憶保持し、その記憶保持しているデータを必要に応じてデータバスDBに供給することが可能である。   A signal path is formed between the chip select terminals CS0, CS2, CS4, and CS6 corresponding to the output latch circuits 121a to 121d and the corresponding output latch circuits 121a to 121d, and the input latch circuits 122a to 122i. Signal paths are formed between the corresponding chip select terminals CS1, CS3, CS5, CS7 to CS12 and the corresponding input latch circuits 122a to 122i. Each of the output latch circuits 121a to 121d has a signal path formed between the data terminals D10 to D17 of the CPU 101 and the data bus DB electrically connected to the data terminals D10 to D17. Data supplied to DB can be latched in the output latch circuits 121a to 121d. Each of the input latch circuits 122a to 122i has a signal path with the data bus DB, and temporarily stores and holds the data supplied from the corresponding data output source. It is possible to supply the stored data to the data bus DB as needed.

出力用ラッチ回路121a〜121dに対応するチップセレクト端子CS0,CS2,CS4,CS6のうち一部であって複数(具体的には3個)のチップセレクト端子CS0,CS2,CS4は出力ポート62bへのデータ出力を行うための出力用ラッチ回路121a〜121cにチップセレクト信号を出力するためのものであり、残りのチップセレクト端子CS6はRAM64へのデータ出力を行うための出力用ラッチ回路121dにチップセレクト信号を出力するためのものである。この場合に、出力ポート62bへのデータ出力を行うための出力用ラッチ回路121a〜121cに1対1で対応させて入力用ラッチ回路122a〜122cが設けられており、これら出力用ラッチ回路121a〜121cから出力ポート62bに出力されるデータはその出力元の出力用ラッチ回路121a〜121cに対応する入力用ラッチ回路122a〜122cにおいてラッチされる構成となっている。詳細には、出力用ラッチ回路121a〜121cと出力ポート62bとを電気的に接続するデータ用経路L1〜L3はそれぞれ途中で分岐しており、その分岐経路L4〜L6が対応する入力用ラッチ回路122a〜122cと電気的に接続されている。そして、当該入力用ラッチ回路122a〜122cにおいてラッチされたデータは、それら入力用ラッチ回路122a〜122cに1対1で対応させて設けられたチップセレクト端子CS1,CS3,CS5からチップセレクト信号が出力されることにより、データバスDBに供給されてCPU101のデータ端子D10〜D17に入力される。これにより、出力ポート62bに対してデータ出力を行う場合に、その出力対象のデータをCPUコア102のレジスタやRAM64に別保存するための処理を実行することなくCPUコア102において読み出して加工してその加工後のデータを出力ポート62bに対して出力することが可能となる。   Of the chip select terminals CS0, CS2, CS4 and CS6 corresponding to the output latch circuits 121a to 121d, a plurality (specifically, three) of chip select terminals CS0, CS2 and CS4 are connected to the output port 62b. The other chip select terminals CS6 are connected to the output latch circuit 121d for outputting data to the RAM 64, and the chip select signal is output to the output latch circuits 121a to 121c. This is for outputting a select signal. In this case, input latch circuits 122a to 122c are provided in a one-to-one correspondence with the output latch circuits 121a to 121c for outputting data to the output port 62b, and these output latch circuits 121a to 121c are provided. The data output from 121c to the output port 62b is latched in the input latch circuits 122a to 122c corresponding to the output latch circuits 121a to 121c. More specifically, the data paths L1 to L3 that electrically connect the output latch circuits 121a to 121c and the output port 62b each branch in the middle, and the branch paths L4 to L6 correspond to the input latch circuits. It is electrically connected to 122a to 122c. The data latched by the input latch circuits 122a to 122c is output as chip select signals from chip select terminals CS1, CS3, and CS5 provided in one-to-one correspondence with the input latch circuits 122a to 122c. As a result, the data is supplied to the data bus DB and input to the data terminals D10 to D17 of the CPU 101. As a result, when data is output to the output port 62b, the CPU core 102 reads and processes the output target data without executing processing for separately storing the data to be output in the register or RAM 64 of the CPU core 102. The processed data can be output to the output port 62b.

次に、CPUコア102において出力ポート62bに出力済みのデータを加工してその加工後のデータを出力ポート62bに出力するための構成について詳細に説明する。図19は、CPU101において出力用ラッチ回路121aにチップセレクト信号を出力するための出力用回路131、及びCPU101において入力用ラッチ回路122aにチップセレクト信号を出力するための入力用回路141を示すブロック図である。なお、出力ポート62bへの出力データを循環させるための他の出力用ラッチ回路121b,121cと入力用ラッチ回路122b,122cとの組合せにチップセレクト信号を出力するための電気的構成は図19に示す電気的構成と同一である。   Next, a configuration for processing data that has been output to the output port 62b in the CPU core 102 and outputting the processed data to the output port 62b will be described in detail. FIG. 19 is a block diagram showing an output circuit 131 for outputting a chip select signal to the output latch circuit 121a in the CPU 101 and an input circuit 141 for outputting a chip select signal to the input latch circuit 122a in the CPU 101. It is. FIG. 19 shows an electrical configuration for outputting a chip select signal to other combinations of output latch circuits 121b and 121c and input latch circuits 122b and 122c for circulating output data to the output port 62b. It is the same as the electrical configuration shown.

出力用回路131は、上記第1の実施形態における図14に示す電気的構成と同様に、RD端子及びWR端子と電気的に接続された動作選択回路132と、IREQ端子及びMREQ端子と電気的に接続された対象選択回路133と、CPUコア102においてアウト命令が実行される場合に1バイトのアドレスデータが入力されるIO用アドレスデコーダ134と、CPUコア102においてロード命令が実行される場合に2バイトのアドレスデータが入力されるメモリ用アドレスデコーダ135と、IO用アドレスデコーダ134及びメモリ用アドレスデコーダ135と電気的に接続されたアドレス用回路136と、アドレス用回路136、動作選択回路132及び対象選択回路133と電気的に接続された合成回路137と、を備えている。これら動作選択回路132、対象選択回路133、IO用アドレスデコーダ134、メモリ用アドレスデコーダ135、アドレス用回路136及び合成回路137の具体的な構成は上記第1の実施形態と同様である。   Similarly to the electrical configuration shown in FIG. 14 in the first embodiment, the output circuit 131 is electrically connected to the operation selection circuit 132 electrically connected to the RD terminal and the WR terminal, and electrically connected to the IREQ terminal and the MREQ terminal. When the out instruction is executed in the CPU core 102, the IO address decoder 134 to which 1-byte address data is input when the out instruction is executed, and the load instruction is executed in the CPU core 102 A memory address decoder 135 to which 2-byte address data is input, an IO address decoder 134, an address circuit 136 electrically connected to the memory address decoder 135, an address circuit 136, an operation selection circuit 132, and A synthesis circuit 137 electrically connected to the object selection circuit 133; That. Specific configurations of the operation selection circuit 132, the object selection circuit 133, the IO address decoder 134, the memory address decoder 135, the address circuit 136, and the synthesis circuit 137 are the same as those in the first embodiment.

動作選択回路132に設けられたスイッチ回路132aは、CPU101への動作電力の供給が開始された場合に初期化信号が入力されることで、動作選択信号の出力契機となる信号がRD端子からのRD信号及びWR端子からのWR信号のうちWR信号となるように設定されている。したがって、CPUコア102からWR信号が出力されている場合に動作選択回路132から動作選択信号が出力される。   The switch circuit 132a provided in the operation selection circuit 132 receives an initialization signal when the supply of operation power to the CPU 101 is started, so that a signal that triggers the output of the operation selection signal is output from the RD terminal. Of the RD signal and the WR signal from the WR terminal, the WR signal is set. Therefore, when the WR signal is output from the CPU core 102, the operation selection signal is output from the operation selection circuit 132.

対象選択回路133は、CPUコア102からIREQ信号及びMREQ信号のいずれが出力されている状況であっても対象選択信号を出力する。IO用アドレスデコーダ134は、当該IO用アドレスデコーダ134に対応する1バイトのアドレスデータがCPUコア102から出力されている場合にIOアドレス信号を出力する。メモリ用アドレスデコーダ135は、当該メモリ用アドレスデコーダ135に対応する2バイトのアドレスデータがCPUコア102から出力されている場合にメモリアドレス信号を出力する。アドレス用回路136は、IOアドレス信号及びメモリアドレス信号のいずれかが出力されている場合に合成アドレス信号を出力する。合成回路137は、合成アドレス信号、動作選択信号及び対象選択信号の全てが出力されている場合に、チップセレクト端子CS0から出力用ラッチ回路121aにチップセレクト信号を出力する。これにより、CPUコア102のデータ端子D0〜D7に設定されているデータが出力用ラッチ回路121aにラッチされ、当該出力用ラッチ回路121aに対応する出力ポート62bの各エリアに対してそのラッチされたデータが出力される。また、この出力データは、データ用経路L1及び分岐経路L4を通じて入力用ラッチ回路122aにラッチされる。   The target selection circuit 133 outputs a target selection signal regardless of whether an IREQ signal or an MREQ signal is output from the CPU core 102. The IO address decoder 134 outputs an IO address signal when 1-byte address data corresponding to the IO address decoder 134 is output from the CPU core 102. The memory address decoder 135 outputs a memory address signal when 2-byte address data corresponding to the memory address decoder 135 is output from the CPU core 102. The address circuit 136 outputs a composite address signal when either the IO address signal or the memory address signal is output. The synthesis circuit 137 outputs a chip select signal from the chip select terminal CS0 to the output latch circuit 121a when all of the synthesized address signal, the operation selection signal, and the target selection signal are output. As a result, the data set in the data terminals D0 to D7 of the CPU core 102 is latched in the output latch circuit 121a and latched for each area of the output port 62b corresponding to the output latch circuit 121a. Data is output. The output data is latched by the input latch circuit 122a through the data path L1 and the branch path L4.

入力用回路141は、上記第1の実施形態における図14に示す電気的構成と同様に、RD端子及びWR端子と電気的に接続された動作選択回路142と、IREQ端子及びMREQ端子と電気的に接続された対象選択回路143と、CPUコア102においてアウト命令が実行される場合に1バイトのアドレスデータが入力されるIO用アドレスデコーダ144と、CPUコア102においてロード命令が実行される場合に2バイトのアドレスデータが入力されるメモリ用アドレスデコーダ145と、IO用アドレスデコーダ144及びメモリ用アドレスデコーダ145と電気的に接続されたアドレス用回路146と、アドレス用回路146、動作選択回路142及び対象選択回路143と電気的に接続された合成回路147と、を備えている。これら動作選択回路142、対象選択回路143、IO用アドレスデコーダ144、メモリ用アドレスデコーダ145、アドレス用回路146及び合成回路147の具体的な構成は上記第1の実施形態と同様である。   Similarly to the electrical configuration shown in FIG. 14 in the first embodiment, the input circuit 141 is electrically connected to the RD terminal and the WR terminal, the IREQ terminal and the MREQ terminal. When the out instruction is executed in the CPU core 102, the IO address decoder 144 to which 1-byte address data is input when the out instruction is executed, and when the load instruction is executed in the CPU core 102 A memory address decoder 145 to which 2-byte address data is input; an address circuit 146 electrically connected to the IO address decoder 144 and the memory address decoder 145; an address circuit 146; an operation selection circuit 142; A synthesis circuit 147 electrically connected to the target selection circuit 143; That. The specific configurations of the operation selection circuit 142, target selection circuit 143, IO address decoder 144, memory address decoder 145, address circuit 146, and synthesis circuit 147 are the same as those in the first embodiment.

なお、図19においては、CPUコア102に、アドレス端子A0〜A15、RD端子、WR端子、IREQ端子及びMREQ端子のそれぞれが2個ずつ設けられているように示されているが、実際にはそれら各端子はそれぞれ1個のみ設けられており、各端子から延びる信号経路を分岐させることによって、各端子からの信号が出力用回路131及び入力用回路141のそれぞれに供給される構成となっている。   In FIG. 19, the CPU core 102 is shown as having two each of the address terminals A0 to A15, the RD terminal, the WR terminal, the IREQ terminal, and the MREQ terminal. Only one of each of these terminals is provided, and the signal from each terminal is supplied to each of the output circuit 131 and the input circuit 141 by branching a signal path extending from each terminal. Yes.

動作選択回路142に設けられたスイッチ回路142aは、CPU101への動作電力の供給が開始された場合に初期化信号が入力されることで、動作選択信号の出力契機となる信号がRD端子からのRD信号及びWR端子からのWR信号のうちRD信号となるように設定されている。したがって、CPUコア102からRD信号が出力されている場合に動作選択回路142から動作選択信号が出力される。   The switch circuit 142a provided in the operation selection circuit 142 receives an initialization signal when the supply of operation power to the CPU 101 is started, so that a signal that triggers the output of the operation selection signal is output from the RD terminal. The RD signal and the WR signal from the WR terminal are set to be the RD signal. Therefore, when the RD signal is output from the CPU core 102, the operation selection signal is output from the operation selection circuit 142.

対象選択回路143は、CPUコア102からIREQ信号及びMREQ信号のいずれが出力されている状況であっても対象選択信号を出力する。IO用アドレスデコーダ144は、当該IO用アドレスデコーダ144に対応する1バイトのアドレスデータがCPUコア102から出力されている場合にIOアドレス信号を出力する。メモリ用アドレスデコーダ145は、当該メモリ用アドレスデコーダ145に対応する2バイトのアドレスデータがCPUコア102から出力されている場合にメモリアドレス信号を出力する。アドレス用回路146は、IOアドレス信号及びメモリアドレス信号のいずれかが出力されている場合に合成アドレス信号を出力する。合成回路147は、合成アドレス信号、動作選択信号及び対象選択信号の全てが出力されている場合に、チップセレクト端子CS1から入力用ラッチ回路122aにチップセレクト信号を出力する。これにより、入力用ラッチ回路122aにラッチされているデータがデータバスDBに供給され、その供給されたデータがCPUコア102において取得される。この取得されたデータは、出力用ラッチ回路121aを利用して出力ポート62bの対応するエリアに前回出力したデータである。   The target selection circuit 143 outputs a target selection signal regardless of whether an IREQ signal or an MREQ signal is output from the CPU core 102. The IO address decoder 144 outputs an IO address signal when 1-byte address data corresponding to the IO address decoder 144 is output from the CPU core 102. The memory address decoder 145 outputs a memory address signal when 2-byte address data corresponding to the memory address decoder 145 is output from the CPU core 102. The address circuit 146 outputs a composite address signal when either the IO address signal or the memory address signal is output. The synthesizing circuit 147 outputs a chip select signal from the chip select terminal CS1 to the input latch circuit 122a when all of the synthesized address signal, the operation selection signal, and the target selection signal are output. As a result, the data latched in the input latch circuit 122a is supplied to the data bus DB, and the supplied data is acquired by the CPU core 102. The acquired data is data that was output last time to the corresponding area of the output port 62b using the output latch circuit 121a.

ここで、入力用回路141のIO用アドレスデコーダ144からIOアドレス信号を出力する契機となる1バイトのアドレスデータは、出力用回路131のIO用アドレスデコーダ134からIOアドレス信号を出力する契機となる1バイトのアドレスデータと同一となっている。また、入力用回路141のメモリ用アドレスデコーダ145からメモリアドレス信号を出力する契機となる2バイトのアドレスデータは、出力用回路131のメモリ用アドレスデコーダ135からメモリアドレス信号を出力する契機となる2バイトのアドレスデータと同一となっている。これにより、出力用回路131から出力用ラッチ回路121aにチップセレクト信号を出力するためのアドレスデータと、入力用回路141から入力用ラッチ回路122aにチップセレクト信号を出力するためのアドレスデータとを同一のデータとすることが可能となる。よって、CPUコア102において出力ポート62bに出力済みのデータを加工してその加工後のデータを出力ポート62bに出力する処理を、一のアドレスデータの指定によって行うことが可能となる。   Here, the 1-byte address data that triggers the output of the IO address signal from the IO address decoder 144 of the input circuit 141 triggers the output of the IO address signal from the IO address decoder 134 of the output circuit 131. It is the same as 1-byte address data. The 2-byte address data that triggers the output of the memory address signal from the memory address decoder 145 of the input circuit 141 triggers the output of the memory address signal from the memory address decoder 135 of the output circuit 131 2. It is the same as the byte address data. Thus, the address data for outputting the chip select signal from the output circuit 131 to the output latch circuit 121a is the same as the address data for outputting the chip select signal from the input circuit 141 to the input latch circuit 122a. It becomes possible to make it data. Therefore, the CPU core 102 can process the data already output to the output port 62b and output the processed data to the output port 62b by designating one address data.

また、一のアドレスデータの指定によって出力用ラッチ回路121aへのチップセレクト信号の出力及び入力用ラッチ回路122aへのチップセレクト信号の出力を行う構成であっても、出力用ラッチ回路121aへのチップセレクト信号の出力はCPUコア102からWR信号が出力されている場合に行われ、入力用ラッチ回路122aへのチップセレクト信号の出力はCPUコア102からRD信号が出力されている場合に行われる。したがって、出力用ラッチ回路121aを利用したデータの出力タイミングと、入力用ラッチ回路122aを利用したデータの入力タイミングとを異ならせることが可能である。   Even if the configuration is such that the output of the chip select signal to the output latch circuit 121a and the output of the chip select signal to the input latch circuit 122a by the designation of one address data, the chip to the output latch circuit 121a. The output of the select signal is performed when the WR signal is output from the CPU core 102, and the output of the chip select signal to the input latch circuit 122a is performed when the RD signal is output from the CPU core 102. Therefore, the data output timing using the output latch circuit 121a can be different from the data input timing using the input latch circuit 122a.

次に、CPUコア102において出力ポート62bに出力済みのデータを加工してその加工後のデータを出力ポート62bに出力することで行われる処理を、特図表示部37aにおける表示制御に利用する場合について説明する。   Next, a case where the processing performed by processing the data already output to the output port 62b in the CPU core 102 and outputting the processed data to the output port 62b is used for display control in the special figure display unit 37a. Will be described.

図20(a)は特図表示部37aの正面図である。特図表示部37aには、8個の発光部151〜158が設けられている。各発光部151〜158は、LEDからなる個別の光源を有しており、これら個別の光源がオンオフ制御されることで、任意の1個の発光部151〜158のみを点灯させることができるとともに、任意の組合せの発光部151〜158を点灯させることができる。上記個別の光源はいずれも同一色の光を照射するものであるため、各発光部151〜158においてはいずれも同一の色が表示されることとなるが、これに限定されることはなく、各発光部151〜158において異なる色が表示される構成としてもよい。発光部151〜158のうち7個の第1〜第7発光部151〜158はいずれも直線状の表示用セグメントであり、所謂7セグメント表示器となるように第1〜第7発光部151〜158が配列されている。また、残りの1個の第8発光部158は円形状の発光部であり、第1〜第7発光部151〜158に対して隣接した位置に設けられている。   FIG. 20A is a front view of the special figure display section 37a. The special figure display unit 37 a is provided with eight light emitting units 151 to 158. Each of the light emitting units 151 to 158 has an individual light source composed of LEDs, and by turning on and off these individual light sources, only one arbitrary light emitting unit 151 to 158 can be turned on. In any combination, the light emitting units 151 to 158 can be turned on. Since each of the individual light sources emits light of the same color, the same color is displayed in each of the light emitting units 151 to 158, but is not limited thereto. It is good also as a structure by which a different color is displayed in each light emission part 151-158. Of the light emitting units 151 to 158, the seven first to seventh light emitting units 151 to 158 are all linear display segments, and the first to seventh light emitting units 151 to 151 are so-called 7-segment displays. 158 are arranged. The remaining eighth light emitting unit 158 is a circular light emitting unit, and is provided at a position adjacent to the first to seventh light emitting units 151 to 158.

図20(b)は出力ポート62bにおいて第1〜第8発光部151〜158へのデータ出力の内容を定めるデータが設定される出力エリア159を説明するための説明図である。   FIG. 20B is an explanatory diagram for explaining an output area 159 in which data defining the contents of data output to the first to eighth light emitting units 151 to 158 is set in the output port 62b.

出力エリア159は1バイトのデータ構成となっており、各ビットは第1〜第8発光部151〜158に1対1で対応している。具体的には、出力エリア159には第1発光部151に対応する第1ビット159aと、第2発光部152に対応する第2ビット159bと、第3発光部153に対応する第3ビット159cと、第4発光部154に対応する第4ビット159dと、第5発光部155に対応する第5ビット159eと、第6発光部156に対応する第6ビット159fと、第7発光部157に対応する第7ビット159gと、第8発光部158に対応する第8ビット159hと、が設けられている。主制御基板61には出力エリア159に設定されているデータに基づいて、第1〜第8発光部151〜158に駆動信号を出力するための駆動回路が設けられている。当該駆動回路は、第1〜第8ビット159a〜159hのうち発光対応データに対応する「1」のデータが設定されているビット159a〜159hに対応する発光部151〜158が発光状態となり、消灯対応データに対応する「0」のデータが設定されているビット159a〜159hに対応する発光部151〜158が消灯状態となるように第1〜第8発光部151〜158に対する発光制御を実行する。   The output area 159 has a 1-byte data structure, and each bit corresponds to the first to eighth light emitting units 151 to 158 on a one-to-one basis. Specifically, the output area 159 includes a first bit 159 a corresponding to the first light emitting unit 151, a second bit 159 b corresponding to the second light emitting unit 152, and a third bit 159 c corresponding to the third light emitting unit 153. The fourth bit 159d corresponding to the fourth light emitting unit 154, the fifth bit 159e corresponding to the fifth light emitting unit 155, the sixth bit 159f corresponding to the sixth light emitting unit 156, and the seventh light emitting unit 157. A corresponding seventh bit 159g and an eighth bit 159h corresponding to the eighth light emitting unit 158 are provided. The main control board 61 is provided with a drive circuit for outputting a drive signal to the first to eighth light emitting units 151 to 158 based on the data set in the output area 159. In the drive circuit, the light emitting units 151 to 158 corresponding to the bits 159a to 159h in which data “1” corresponding to the light emission corresponding data among the first to eighth bits 159a to 159h is set to the light emitting state, and the light is turned off. The light emission control for the first to eighth light emitting units 151 to 158 is executed so that the light emitting units 151 to 158 corresponding to the bits 159a to 159h in which the data “0” corresponding to the corresponding data is set are turned off. .

図21は、出力エリア159に設定されている内容と第1〜第8発光部151〜158の発光態様との関係を説明するための説明図である。図21(a1)〜図21(a8)は出力エリア159に設定されているデータの内容を説明するための説明図であり、図21(b1)〜図21(b8)は第1〜第8発光部151〜158の発光態様を説明するための説明図である。   FIG. 21 is an explanatory diagram for explaining the relationship between the contents set in the output area 159 and the light emission modes of the first to eighth light emitting units 151 to 158. 21 (a1) to 21 (a8) are explanatory diagrams for explaining the contents of data set in the output area 159, and FIGS. 21 (b1) to 21 (b8) are first to eighth. It is explanatory drawing for demonstrating the light emission aspect of the light emission parts 151-158.

図21(a1)に示すように出力エリア159の第1ビット159aにのみ「1」が設定されている場合には、図21(b1)に示すように第1〜第8発光部151〜158のうち第1発光部151のみが点灯状態となり残りが消灯状態となる。この状態から、図21(a2)〜図21(a8)に示すように、「1」が設定されているビット159a〜159hが第1ビット159a→第2ビット159b→第3ビット159c→第4ビット159d→第5ビット159e→第6ビット159f→第7ビット159g→第8ビット159hの順序でシフトすることにより、図21(b2)〜図21(b8)に示すように、発光状態となる発光部151〜158が第1発光部151→第2発光部152→第3発光部153→第4発光部154→第5発光部155→第6発光部156→第7発光部157→第8発光部158の順序で変化する。これにより、出力エリア159において「1」を設定するビットを変化させるだけで、特図表示部37aの表示内容を変化させることが可能となる。   When “1” is set only in the first bit 159a of the output area 159 as shown in FIG. 21 (a1), the first to eighth light emitting units 151 to 158 are shown in FIG. 21 (b1). Among these, only the 1st light emission part 151 will be in a lighting state, and the remainder will be in a light extinction state. From this state, as shown in FIGS. 21A2 to 21A8, the bits 159a to 159h in which “1” is set are changed from the first bit 159a → the second bit 159b → the third bit 159c → the fourth bit. By shifting in the order of bit 159d → fifth bit 159e → sixth bit 159f → seventh bit 159g → eighth bit 159h, the light emitting state is obtained as shown in FIGS. The light emitting units 151 to 158 are the first light emitting unit 151 → the second light emitting unit 152 → the third light emitting unit 153 → the fourth light emitting unit 154 → the fifth light emitting unit 155 → the sixth light emitting unit 156 → the seventh light emitting unit 157 → the eighth. It changes in the order of the light emitting unit 158. Thereby, the display content of the special figure display part 37a can be changed only by changing the bit for setting “1” in the output area 159.

次に、主制御装置60のMPU62にて実行される特図表示部の制御処理について、図22のフローチャートを参照しながら説明する。特図表示部の制御処理は、タイマ割込み処理(図7)における表示制御処理(ステップS215)にて実行される。   Next, the control process of the special figure display unit executed by the MPU 62 of the main controller 60 will be described with reference to the flowchart of FIG. The control process of the special figure display unit is executed in the display control process (step S215) in the timer interrupt process (FIG. 7).

特図表示部37aの変動表示中ではない場合であって特図表示部37aの変動開始条件が成立した場合(ステップS501:NO、ステップS502:YES)、3バイト命令である変動開始用の駆動命令をROM63から読み出す(ステップS503)。そして、その読み出した命令の1番目のバイトに設定されている第1アドレスコードをCPUコア102における上位側の8個のアドレス端子A0〜A7に対して設定するとともに、その読み出した命令の2番目のバイトに設定されている第2アドレスコードをCPUコア102における下位側の8個のアドレス端子A8〜A15に対して設定することで、2バイトのアドレスデータの出力設定を行う(ステップS504)。これにより、アドレス端子A0〜A15から2バイトの共通アドレスデータが出力される。   When the fluctuation display of the special figure display unit 37a is not in progress and the fluctuation start condition of the special figure display unit 37a is satisfied (step S501: NO, step S502: YES), driving for fluctuation start which is a 3-byte instruction The instruction is read from the ROM 63 (step S503). Then, the first address code set in the first byte of the read instruction is set to the upper eight address terminals A0 to A7 in the CPU core 102, and the second address of the read instruction is set. By setting the second address code set in this byte to the lower eight address terminals A8 to A15 in the CPU core 102, output setting of 2-byte address data is performed (step S504). As a result, 2-byte common address data is output from the address terminals A0 to A15.

その後、CPUコア102のMREQ端子からMREQ信号の出力を開始するとともに(ステップS505)、CPUコア102のWR端子からWR信号の出力を開始する(ステップS506)。その後、ステップS503にて読み出した命令に対応するプログラムカウンタの値に対して次の値に対応するROM63のエリアから変動開始時の駆動データを読み出し、今回の出力対象のデータとしてデータバスDBに対して設定する(ステップS507)。変動開始時の駆動データは、出力エリア159の第1〜第8ビット159a〜159hのうち第1ビット159aにのみ「1」が設定され、残りのビット159a〜159hに「0」が設定されるようにするための駆動データである。ステップS507の処理が実行されることにより、出力用ラッチ回路121aにおいて変動開始時の駆動データがラッチされ、当該変動開始時の駆動データに対応するデータが出力エリア159の第1〜第8ビット159a〜159hに設定される。これにより、特図表示部37aにおいて絵柄の変動表示が開始される。また、出力用ラッチ回路121aから出力エリア159に出力されたデータは入力用ラッチ回路122aにラッチされる。   Thereafter, the output of the MREQ signal is started from the MREQ terminal of the CPU core 102 (step S505), and the output of the WR signal is started from the WR terminal of the CPU core 102 (step S506). Thereafter, the drive data at the start of fluctuation is read from the area of the ROM 63 corresponding to the next value with respect to the value of the program counter corresponding to the instruction read in step S503, and the data to be output this time is sent to the data bus DB. (Step S507). As the drive data at the start of fluctuation, “1” is set only in the first bit 159a of the first to eighth bits 159a to 159h of the output area 159, and “0” is set in the remaining bits 159a to 159h. It is drive data for doing so. By executing the processing of step S507, the drive data at the start of the fluctuation is latched in the output latch circuit 121a, and the data corresponding to the drive data at the start of the fluctuation is the first to eighth bits 159a of the output area 159. ~ 159h. Thereby, the variation display of a picture is started in the special figure display part 37a. The data output from the output latch circuit 121a to the output area 159 is latched by the input latch circuit 122a.

特図表示部37aの変動表示中である場合(ステップS501:YES)、今回の変動表示の終了タイミングではない場合であって(ステップS508:NO)、表示内容の更新タイミングである場合(ステップS509:YES)、3バイト命令である更新用の駆動命令をROM63から読み出す(ステップS510)。そして、その読み出した命令の1番目のバイトに設定されている第1アドレスコードをCPUコア102における上位側の8個のアドレス端子A0〜A7に対して設定するとともに、その読み出した命令の2番目のバイトに設定されている第2アドレスコードをCPUコア102における下位側の8個のアドレス端子A8〜A15に対して設定することで、2バイトのアドレスデータの出力設定を行う(ステップS511)。これにより、アドレス端子A0〜A15から2バイトの共通アドレスデータが出力される。   When the variation display of the special figure display section 37a is being performed (step S501: YES), it is not the end timing of the current variation display (step S508: NO), and it is the display content update timing (step S509). : YES) A drive instruction for update, which is a 3-byte instruction, is read from the ROM 63 (step S510). Then, the first address code set in the first byte of the read instruction is set to the upper eight address terminals A0 to A7 in the CPU core 102, and the second address of the read instruction is set. By setting the second address code set in this byte to the lower eight address terminals A8 to A15 in the CPU core 102, output setting of 2-byte address data is performed (step S511). As a result, 2-byte common address data is output from the address terminals A0 to A15.

その後、CPUコア102のMREQ端子からMREQ信号の出力を開始するとともに(ステップS512)、CPUコア102のRD端子からRD信号の出力を開始する(ステップS513)。これにより、入力用ラッチ回路122aにラッチされている駆動データがデータバスDBに提供され、当該駆動データがCPUコア102に読み出される。この駆動データは、出力エリア159に現状設定されている駆動データである。   Thereafter, the output of the MREQ signal is started from the MREQ terminal of the CPU core 102 (step S512), and the output of the RD signal is started from the RD terminal of the CPU core 102 (step S513). As a result, the drive data latched by the input latch circuit 122 a is provided to the data bus DB, and the drive data is read out to the CPU core 102. This drive data is the drive data currently set in the output area 159.

その後、ステップS510にて読み出した命令に従って、駆動データのローテート処理を実行する(ステップS514)。具体的には、入力用ラッチ回路122aから取得した駆動データの各ビットが所定の方向に周回するようにローテート処理を実行する。これにより、図21(a1)〜図21(a8)に示すように駆動データにおいて「1」がセットされるビットが所定の方向に周回するようにずれる。   Thereafter, the drive data rotation process is executed in accordance with the instruction read in step S510 (step S514). Specifically, the rotation process is executed so that each bit of the drive data acquired from the input latch circuit 122a circulates in a predetermined direction. As a result, as shown in FIGS. 21A1 to 21A8, the bits in which “1” is set in the drive data are shifted so as to circulate in a predetermined direction.

その後、ステップS510にて読み出した命令に従って、ステップS511と同様に共通アドレスデータの出力設定を行う(ステップS515)。そして、CPUコア102のMREQ端子からMREQ信号の出力を開始するとともに(ステップS516)、CPUコア102のWR端子からWR信号の出力を開始し(ステップS517)、さらにステップS514にてローテート処理を実行した後の駆動データを今回の出力対象のデータとしてデータバスDBに対して設定する(ステップS518)。これにより、出力用ラッチ回路121aにおいて今回の駆動データがラッチされ、当該駆動データに対応するデータが出力エリア159の第1〜第8ビット159a〜159hに設定される。これにより、特図表示部37aにおける表示内容が変更される。また、出力用ラッチ回路121aから出力ポート62bに出力されたデータは入力用ラッチ回路122aにラッチされる。   Thereafter, in accordance with the instruction read in step S510, the common address data output is set in the same manner as in step S511 (step S515). Then, the output of the MREQ signal is started from the MREQ terminal of the CPU core 102 (step S516), the output of the WR signal is started from the WR terminal of the CPU core 102 (step S517), and the rotation process is executed in step S514. The drive data after this is set for the data bus DB as the data to be output this time (step S518). As a result, the current drive data is latched in the output latch circuit 121a, and the data corresponding to the drive data is set in the first to eighth bits 159a to 159h of the output area 159. Thereby, the display content in the special figure display part 37a is changed. The data output from the output latch circuit 121a to the output port 62b is latched by the input latch circuit 122a.

ステップS510〜ステップS518の処理内容は、変動表示の終了タイミングとなる前において表示内容の更新タイミングとなる度に実行される。この場合に読み出される更新用の駆動命令データは常に同一の命令である。これにより、ROM63に予め記憶しておく命令の種類数を抑えながら、特図表示部37aの表示制御を実行することが可能となる。   The processing contents of steps S510 to S518 are executed every time the display contents are updated before the end of the variable display. In this case, the update driving command data read out is always the same command. As a result, it is possible to execute the display control of the special figure display unit 37a while suppressing the number of types of instructions stored in advance in the ROM 63.

変動表示の終了タイミングである場合(ステップS508:YES)、変動表示終了用処理を実行する(ステップS519)。これにより、今回の遊技回の当否判定結果及び振分判定結果に対応する駆動データが出力エリア159に設定され、これら当否判定結果及び振分判定結果に対応する表示内容となるように特図表示部37aが表示制御される。   If it is the end timing of the variable display (step S508: YES), the variable display end process is executed (step S519). As a result, the drive data corresponding to the determination result of the current game round and the allocation determination result are set in the output area 159, and the special display is displayed so that the display contents corresponding to the determination result and the allocation determination result are displayed. The display of the unit 37a is controlled.

以上詳述した本実施形態によれば、上記第1の実施形態における効果に加え、以下の優れた効果を奏する。   According to the present embodiment described in detail above, the following excellent effects are obtained in addition to the effects in the first embodiment.

出力ポート62bへのデータ出力を行うための出力用ラッチ回路121a〜121cに1対1で対応させて入力用ラッチ回路122a〜122cが設けられており、これら出力用ラッチ回路121a〜121cから出力ポート62bに出力されるデータはその出力元の出力用ラッチ回路121a〜121cに対応する入力用ラッチ回路122a〜122cにおいてラッチされる構成となっている。そして、当該入力用ラッチ回路122a〜122cにおいてラッチされたデータは、それら入力用ラッチ回路122a〜122cに1対1で対応させて設けられたチップセレクト端子CS1,CS3,CS5からチップセレクト信号が出力されることにより、データバスDBに供給されてCPU101のデータ端子D10〜D17に入力される。これにより、出力ポート62bに対してデータ出力を行う場合に、その出力対象のデータをCPUコア102のレジスタやRAM64に別保存するための処理を実行することなくCPUコア102において読み出して加工してその加工後のデータを出力ポート62bに対して出力することが可能となる。   Input latch circuits 122a to 122c are provided in one-to-one correspondence with the output latch circuits 121a to 121c for outputting data to the output port 62b. The data output to 62b is latched in the input latch circuits 122a to 122c corresponding to the output latch circuits 121a to 121c of the output source. The data latched by the input latch circuits 122a to 122c is output as chip select signals from chip select terminals CS1, CS3, and CS5 provided in one-to-one correspondence with the input latch circuits 122a to 122c. As a result, the data is supplied to the data bus DB and input to the data terminals D10 to D17 of the CPU 101. As a result, when data is output to the output port 62b, the CPU core 102 reads and processes the output target data without executing processing for separately storing the data to be output in the register or RAM 64 of the CPU core 102. The processed data can be output to the output port 62b.

入力用ラッチ回路122a〜122cは取得した出力データをデータバスDBに供給する。これにより、既存の伝送経路の構成を利用して、出力データをCPUコア102に供給することが可能となる。   The input latch circuits 122a to 122c supply the acquired output data to the data bus DB. As a result, output data can be supplied to the CPU core 102 using the configuration of the existing transmission path.

チップセレクト端子CS1,CS3,CS5からチップセレクト信号が出力されることにより、入力用ラッチ回路122a〜122cにおいてラッチされたデータがデータバスDBに供給されてCPU101のデータ端子D10〜D17に入力される構成であることにより、CPU101における制御において好ましいタイミングで入力用ラッチ回路122a〜122cからデータを取得することが可能となる。   By outputting a chip select signal from the chip select terminals CS1, CS3, CS5, the data latched in the input latch circuits 122a-122c is supplied to the data bus DB and input to the data terminals D10-D17 of the CPU 101. With the configuration, it is possible to acquire data from the input latch circuits 122a to 122c at a preferable timing in the control of the CPU 101.

出力用ラッチ回路121a〜121cと出力ポート62bとを電気的に接続するデータ用経路L1〜L3はそれぞれ途中で分岐しており、その分岐経路L4〜L6が対応する入力用ラッチ回路122a〜122cと電気的に接続されている。これにより、CPU101内に入力用ラッチ回路122a〜122cを内蔵させることなく、CPUコア102における出力データの再取得を行うことが可能となる。   The data paths L1 to L3 that electrically connect the output latch circuits 121a to 121c and the output port 62b respectively branch in the middle, and the branch paths L4 to L6 correspond to the corresponding input latch circuits 122a to 122c. Electrically connected. This makes it possible to reacquire output data in the CPU core 102 without incorporating the input latch circuits 122a to 122c in the CPU 101.

入力用回路141のIO用アドレスデコーダ144からIOアドレス信号を出力する契機となる1バイトのアドレスデータは、出力用回路131のIO用アドレスデコーダ134からIOアドレス信号を出力する契機となる1バイトのアドレスデータと同一となっている。また、入力用回路141のメモリ用アドレスデコーダ145からメモリアドレス信号を出力する契機となる2バイトのアドレスデータは、出力用回路131のメモリ用アドレスデコーダ135からメモリアドレス信号を出力する契機となる2バイトのアドレスデータと同一となっている。これにより、出力用回路131から出力用ラッチ回路121aにチップセレクト信号を出力するためのアドレスデータと、入力用回路141から入力用ラッチ回路122aにチップセレクト信号を出力するためのアドレスデータとを同一のデータとすることが可能となる。よって、CPUコア102において出力ポート62bに出力済みのデータを加工してその加工後のデータを出力ポート62bに出力する処理を、一のアドレスデータの指定によって行うことが可能となる。   The 1-byte address data that triggers the output of the IO address signal from the IO address decoder 144 of the input circuit 141 is the 1-byte address data that triggers the output of the IO address signal from the IO address decoder 134 of the output circuit 131. It is the same as the address data. The 2-byte address data that triggers the output of the memory address signal from the memory address decoder 145 of the input circuit 141 triggers the output of the memory address signal from the memory address decoder 135 of the output circuit 131 2. It is the same as the byte address data. Thus, the address data for outputting the chip select signal from the output circuit 131 to the output latch circuit 121a is the same as the address data for outputting the chip select signal from the input circuit 141 to the input latch circuit 122a. It becomes possible to make it data. Therefore, the CPU core 102 can process the data already output to the output port 62b and output the processed data to the output port 62b by designating one address data.

一のアドレスデータの指定によって出力用ラッチ回路121aへのチップセレクト信号の出力及び入力用ラッチ回路122aへのチップセレクト信号の出力を行う構成であっても、出力用ラッチ回路121aへのチップセレクト信号の出力はCPUコア102からWR信号が出力されている場合に行われ、入力用ラッチ回路122aへのチップセレクト信号の出力はCPUコア102からRD信号が出力されている場合に行われる。したがって、出力用ラッチ回路121aを利用したデータの出力タイミングと、入力用ラッチ回路122aを利用したデータの入力タイミングとを異ならせることが可能である。   Even if the chip select signal is output to the output latch circuit 121a and the chip select signal is output to the input latch circuit 122a by designating one address data, the chip select signal to the output latch circuit 121a. Is output when the WR signal is output from the CPU core 102, and the output of the chip select signal to the input latch circuit 122a is performed when the RD signal is output from the CPU core 102. Therefore, the data output timing using the output latch circuit 121a can be different from the data input timing using the input latch circuit 122a.

<第3の実施形態>
本実施形態は、CPUコア102において出力ポート62bに出力済みのデータを加工してその加工後のデータを出力ポート62bに出力する場合に利用される出力用ラッチ回路162及び入力用ラッチ回路163がCPU101の外部に設けられているのではなく当該CPU101に内蔵されている点で上記第2の実施形態と相違している。当該相違する構成について以下に説明する。なお、上記第2の実施形態と同一の構成については基本的にその説明を省略する。
<Third Embodiment>
In the present embodiment, the output latch circuit 162 and the input latch circuit 163 that are used when the CPU core 102 processes data that has already been output to the output port 62b and outputs the processed data to the output port 62b. The second embodiment is different from the second embodiment in that it is not provided outside the CPU 101 but is built in the CPU 101. The different configuration will be described below. The description of the same configuration as that of the second embodiment is basically omitted.

図23はCPU101の電気的構成を示すブロック図である。   FIG. 23 is a block diagram showing an electrical configuration of the CPU 101.

CPU101には、CPU101の外部に設けられた外部出力用ラッチ回路161、及びCPU101の内部に設けられた内部出力用ラッチ回路162のそれぞれに同時にチップセレクト信号を出力するための出力用回路171と、CPU101の内部に設けられた内部入力用ラッチ回路163のみにチップセレクト信号を出力するための入力用回路181とが設けられている。   The CPU 101 includes an output circuit 171 for outputting a chip select signal to each of an external output latch circuit 161 provided outside the CPU 101 and an internal output latch circuit 162 provided inside the CPU 101; Only an internal input latch circuit 163 provided in the CPU 101 is provided with an input circuit 181 for outputting a chip select signal.

出力用回路171は、上記第1の実施形態における図14に示す電気的構成と同様に、RD端子及びWR端子と電気的に接続された動作選択回路172と、IREQ端子及びMREQ端子と電気的に接続された対象選択回路173と、CPUコア102においてアウト命令が実行される場合に1バイトのアドレスデータが入力されるIO用アドレスデコーダ174と、CPUコア102においてロード命令が実行される場合に2バイトのアドレスデータが入力されるメモリ用アドレスデコーダ175と、IO用アドレスデコーダ174及びメモリ用アドレスデコーダ175と電気的に接続されたアドレス用回路176と、アドレス用回路176、動作選択回路172及び対象選択回路173と電気的に接続された合成回路177と、を備えている。これら動作選択回路172、対象選択回路173、IO用アドレスデコーダ174、メモリ用アドレスデコーダ175、アドレス用回路176及び合成回路177の具体的な構成は上記第1の実施形態と同様である。   Similarly to the electrical configuration shown in FIG. 14 in the first embodiment, the output circuit 171 is electrically connected to the operation selection circuit 172 electrically connected to the RD terminal and the WR terminal, and to the IREQ terminal and the MREQ terminal. The target selection circuit 173 connected to the I / O, the IO address decoder 174 to which 1-byte address data is input when an out instruction is executed in the CPU core 102, and the load instruction is executed in the CPU core 102 A memory address decoder 175 to which 2-byte address data is input, an IO address decoder 174, an address circuit 176 electrically connected to the memory address decoder 175, an address circuit 176, an operation selection circuit 172, and A synthesis circuit 177 electrically connected to the target selection circuit 173; That. Specific configurations of the operation selection circuit 172, target selection circuit 173, IO address decoder 174, memory address decoder 175, address circuit 176, and synthesis circuit 177 are the same as those in the first embodiment.

動作選択回路172に設けられたスイッチ回路172aは、CPU101への動作電力の供給が開始された場合に初期化信号が入力されることで、動作選択信号の出力契機となる信号がRD端子からのRD信号及びWR端子からのWR信号のうちWR信号となるように設定されている。したがって、CPUコア102からWR信号が出力されている場合に動作選択回路172から動作選択信号が出力される。   The switch circuit 172a provided in the operation selection circuit 172 receives an initialization signal when the supply of operation power to the CPU 101 is started, so that a signal that triggers the output of the operation selection signal is output from the RD terminal. Of the RD signal and the WR signal from the WR terminal, the WR signal is set. Therefore, when the WR signal is output from the CPU core 102, the operation selection signal is output from the operation selection circuit 172.

対象選択回路173は、CPUコア102からIREQ信号及びMREQ信号のいずれが出力されている状況であっても対象選択信号を出力する。IO用アドレスデコーダ174は、当該IO用アドレスデコーダ174に対応する1バイトのアドレスデータがCPUコア102から出力されている場合にIOアドレス信号を出力する。メモリ用アドレスデコーダ175は、当該メモリ用アドレスデコーダ175に対応する2バイトのアドレスデータがCPUコア102から出力されている場合にメモリアドレス信号を出力する。アドレス用回路176は、IOアドレス信号及びメモリアドレス信号のいずれかが出力されている場合に合成アドレス信号を出力する。合成回路177は、合成アドレス信号、動作選択信号及び対象選択信号の全てが出力されている場合に、チップセレクト端子CS0から外部出力用ラッチ回路161にチップセレクト信号を出力する。これにより、CPUコア102のデータ端子D0〜D7に設定されているデータが外部出力用ラッチ回路161にラッチされ、当該外部出力用ラッチ回路161に対応する出力ポート62bの各エリアに対してそのラッチされたデータが出力される。   The target selection circuit 173 outputs a target selection signal even when either the IREQ signal or the MREQ signal is output from the CPU core 102. The IO address decoder 174 outputs an IO address signal when 1-byte address data corresponding to the IO address decoder 174 is output from the CPU core 102. The memory address decoder 175 outputs a memory address signal when 2-byte address data corresponding to the memory address decoder 175 is output from the CPU core 102. The address circuit 176 outputs a composite address signal when either the IO address signal or the memory address signal is output. The synthesis circuit 177 outputs a chip select signal from the chip select terminal CS0 to the external output latch circuit 161 when all of the synthesized address signal, the operation selection signal, and the target selection signal are output. As a result, the data set in the data terminals D0 to D7 of the CPU core 102 is latched in the external output latch circuit 161, and is latched for each area of the output port 62b corresponding to the external output latch circuit 161. Data is output.

また、合成回路177に設けられた合成用論理回路177aの出力端子とチップセレクト端子CS0とを電気的に接続する信号経路L7は、その途中位置で分岐しており、その分岐経路L8は内部出力用ラッチ回路162に対して電気的に接続されている。これにより、チップセレクト端子CS0から外部出力用ラッチ回路161にチップセレクト信号が出力される場合には、内部出力用ラッチ回路162にもチップセレクト信号が出力される。そして、内部出力用ラッチ回路162はチップセレクト信号が入力されることにより、CPUコア102のデータ端子D0〜D7に設定されているデータ、すなわち外部出力用ラッチ回路161にラッチされるデータと同一のデータをラッチする。   The signal path L7 that electrically connects the output terminal of the synthesizing logic circuit 177a provided in the synthesizing circuit 177 and the chip select terminal CS0 is branched in the middle, and the branch path L8 is an internal output. The latch circuit 162 is electrically connected. Accordingly, when a chip select signal is output from the chip select terminal CS0 to the external output latch circuit 161, the chip select signal is also output to the internal output latch circuit 162. When the chip select signal is input to the internal output latch circuit 162, the same data as the data set in the data terminals D0 to D7 of the CPU core 102, that is, the data latched in the external output latch circuit 161 is obtained. Latch data.

内部出力用ラッチ回路162は、データ用経路L9を通じて内部入力用ラッチ回路163に対して電気的に接続されている。したがって、内部出力用ラッチ回路162においてラッチされたデータは当該データ用経路L9を通じて内部入力用ラッチ回路163に供給される。   The internal output latch circuit 162 is electrically connected to the internal input latch circuit 163 through the data path L9. Therefore, the data latched in the internal output latch circuit 162 is supplied to the internal input latch circuit 163 through the data path L9.

入力用回路181は、上記第1の実施形態における図14に示す電気的構成と同様に、RD端子及びWR端子と電気的に接続された動作選択回路182と、IREQ端子及びMREQ端子と電気的に接続された対象選択回路183と、CPUコア102においてアウト命令が実行される場合に1バイトのアドレスデータが入力されるIO用アドレスデコーダ184と、CPUコア102においてロード命令が実行される場合に2バイトのアドレスデータが入力されるメモリ用アドレスデコーダ185と、IO用アドレスデコーダ184及びメモリ用アドレスデコーダ185と電気的に接続されたアドレス用回路186と、アドレス用回路186、動作選択回路182及び対象選択回路183と電気的に接続された合成回路187と、を備えている。これら動作選択回路182、対象選択回路183、IO用アドレスデコーダ184、メモリ用アドレスデコーダ185、アドレス用回路186及び合成回路187の具体的な構成は上記第1の実施形態と同様である。   Similarly to the electrical configuration shown in FIG. 14 in the first embodiment, the input circuit 181 is electrically connected to the operation selection circuit 182 electrically connected to the RD terminal and the WR terminal, and to the IREQ terminal and the MREQ terminal. When the out instruction is executed in the CPU core 102, the IO address decoder 184 to which 1-byte address data is input when the out instruction is executed, and when the load instruction is executed in the CPU core 102 A memory address decoder 185 to which 2-byte address data is input; an address circuit 186 electrically connected to the IO address decoder 184 and the memory address decoder 185; an address circuit 186; an operation selection circuit 182; A synthesis circuit 187 electrically connected to the object selection circuit 183; That. Specific configurations of the operation selection circuit 182, the object selection circuit 183, the IO address decoder 184, the memory address decoder 185, the address circuit 186, and the synthesis circuit 187 are the same as those in the first embodiment.

なお、図23においては、CPUコア102に、アドレス端子A0〜A15、RD端子、WR端子、IREQ端子及びMREQ端子のそれぞれが2個ずつ設けられているように示されているが、実際にはそれら各端子はそれぞれ1個のみ設けられており、各端子から延びる信号経路を分岐させることによって、各端子からの信号が出力用回路171及び入力用回路181のそれぞれに供給される構成となっている。   In FIG. 23, the CPU core 102 is shown as having two each of the address terminals A0 to A15, the RD terminal, the WR terminal, the IREQ terminal, and the MREQ terminal. Only one of each of these terminals is provided, and the signal from each terminal is supplied to each of the output circuit 171 and the input circuit 181 by branching the signal path extending from each terminal. Yes.

動作選択回路182に設けられたスイッチ回路182aは、CPU101への動作電力の供給が開始された場合に初期化信号が入力されることで、動作選択信号の出力契機となる信号がRD端子からのRD信号及びWR端子からのWR信号のうちRD信号となるように設定されている。したがって、CPUコア102からRD信号が出力されている場合に動作選択回路182から動作選択信号が出力される。   The switch circuit 182a provided in the operation selection circuit 182 receives an initialization signal when the supply of operation power to the CPU 101 is started, so that a signal that triggers the output of the operation selection signal is output from the RD terminal. The RD signal and the WR signal from the WR terminal are set to be the RD signal. Therefore, the operation selection signal is output from the operation selection circuit 182 when the RD signal is output from the CPU core 102.

対象選択回路183は、CPUコア102からIREQ信号及びMREQ信号のいずれが出力されている状況であっても対象選択信号を出力する。IO用アドレスデコーダ184は、当該IO用アドレスデコーダ184に対応する1バイトのアドレスデータがCPUコア102から出力されている場合にIOアドレス信号を出力する。メモリ用アドレスデコーダ185は、当該メモリ用アドレスデコーダ185に対応する2バイトのアドレスデータがCPUコア102から出力されている場合にメモリアドレス信号を出力する。アドレス用回路186は、IOアドレス信号及びメモリアドレス信号のいずれかが出力されている場合に合成アドレス信号を出力する。合成回路187は、合成アドレス信号、動作選択信号及び対象選択信号の全てが出力されている場合、当該合成回路187の出力端子187aと内部入力用ラッチ回路163とを電気的に接続するようにCPU101内に設けられた信号経路L10を通じて、内部入力用ラッチ回路163にチップセレクト信号を出力する。これにより、内部入力用ラッチ回路163にラッチされているデータがデータバスDBに供給され、その供給されたデータがCPUコア102において取得される。この取得されたデータは、外部出力用ラッチ回路161を利用して出力ポート62bの対応するエリアに前回出力したデータである。   The target selection circuit 183 outputs a target selection signal regardless of whether an IREQ signal or an MREQ signal is output from the CPU core 102. The IO address decoder 184 outputs an IO address signal when 1-byte address data corresponding to the IO address decoder 184 is output from the CPU core 102. The memory address decoder 185 outputs a memory address signal when 2-byte address data corresponding to the memory address decoder 185 is output from the CPU core 102. The address circuit 186 outputs a composite address signal when either the IO address signal or the memory address signal is output. When all of the synthesized address signal, the operation selection signal, and the target selection signal are output, the synthesis circuit 187 is configured to electrically connect the output terminal 187a of the synthesis circuit 187 and the internal input latch circuit 163 to each other. A chip select signal is output to the internal input latch circuit 163 through the signal path L10 provided therein. As a result, the data latched by the internal input latch circuit 163 is supplied to the data bus DB, and the supplied data is acquired by the CPU core 102. The acquired data is data that was previously output to the corresponding area of the output port 62b using the external output latch circuit 161.

ここで、入力用回路181のIO用アドレスデコーダ184からIOアドレス信号を出力する契機となる1バイトのアドレスデータは、出力用回路171のIO用アドレスデコーダ174からIOアドレス信号を出力する契機となる1バイトのアドレスデータと同一となっている。また、入力用回路181のメモリ用アドレスデコーダ185からメモリアドレス信号を出力する契機となる2バイトのアドレスデータは、出力用回路171のメモリ用アドレスデコーダ175からメモリアドレス信号を出力する契機となる2バイトのアドレスデータと同一となっている。これにより、出力用回路171から外部出力用ラッチ回路161及び内部出力用ラッチ回路162にチップセレクト信号を出力するためのアドレスデータと、入力用回路181から内部入力用ラッチ回路163にチップセレクト信号を出力するためのアドレスデータとを同一のデータとすることが可能となる。よって、CPUコア102において出力ポート62bに出力済みのデータを加工してその加工後のデータを出力ポート62bに出力する処理を、一のアドレスデータの指定によって行うことが可能となる。   Here, the 1-byte address data that triggers the output of the IO address signal from the IO address decoder 184 of the input circuit 181 triggers the output of the IO address signal from the IO address decoder 174 of the output circuit 171. It is the same as 1-byte address data. The 2-byte address data that triggers the output of the memory address signal from the memory address decoder 185 of the input circuit 181 is a trigger that outputs the memory address signal from the memory address decoder 175 of the output circuit 171 2. It is the same as the byte address data. As a result, the address data for outputting the chip select signal from the output circuit 171 to the external output latch circuit 161 and the internal output latch circuit 162 and the chip select signal from the input circuit 181 to the internal input latch circuit 163 are sent. It is possible to make the address data for output the same data. Therefore, the CPU core 102 can process the data already output to the output port 62b and output the processed data to the output port 62b by designating one address data.

また、一のアドレスデータの指定によって各出力用ラッチ回路161,162へのチップセレクト信号の出力及び内部入力用ラッチ回路163へのチップセレクト信号の出力を行う構成であっても、各出力用ラッチ回路161,162へのチップセレクト信号の出力はCPUコア102からWR信号が出力されている場合に行われ、内部入力用ラッチ回路163へのチップセレクト信号の出力はCPUコア102からRD信号が出力されている場合に行われる。したがって、各出力用ラッチ回路161,162を利用したデータの出力タイミングと、内部入力用ラッチ回路163を利用したデータの入力タイミングとを異ならせることが可能である。   Even if the configuration is such that the output of the chip select signal to each of the output latch circuits 161 and 162 and the output of the chip select signal to the internal input latch circuit 163 by the designation of one address data, The chip select signal is output to the circuits 161 and 162 when the WR signal is output from the CPU core 102, and the chip select signal is output from the CPU core 102 to the internal input latch circuit 163. To be done. Therefore, the data output timing using the output latch circuits 161 and 162 can be different from the data input timing using the internal input latch circuit 163.

以上詳述した本実施形態によれば、上記第2の実施形態における効果に加え、以下の優れた効果を奏する。   According to the present embodiment described above in detail, the following excellent effects can be obtained in addition to the effects of the second embodiment.

出力データをCPUコア102に再度供給するための内部入力用ラッチ回路163がCPU101に内蔵されている。これにより、内部入力用ラッチ回路163からデータバスDBにデータを供給させるチップセレクト信号を出力するための端子をCPU101に設ける必要が生じない。よって、CPU101の端子数の増加を抑えながら、出力データをCPUコア102に再度供給することが可能となる。   An internal input latch circuit 163 for supplying output data to the CPU core 102 again is built in the CPU 101. Thus, it is not necessary to provide the CPU 101 with a terminal for outputting a chip select signal for supplying data from the internal input latch circuit 163 to the data bus DB. Therefore, output data can be supplied to the CPU core 102 again while suppressing an increase in the number of terminals of the CPU 101.

<各実施形態において共通の構成>
各実施形態においてROM63又はRAM64にアクセスするための構成について説明する。図24は、RAM64からデータを読み出す場合に、対応する入力用ラッチ回路にチップセレクト信号を出力するための電気的構成を示すブロック図である。なお、ROM63から命令又はデータを読み出す場合に、対応する入力用ラッチ回路にチップセレクト信号を出力するための電気的構成は図24に示す電気的構成と同一である。また、RAM64にデータを書き込む場合に、対応する出力用ラッチ回路にチップセレクト信号を出力するための電気的構成は、動作選択回路191から動作選択信号が出力される契機となる信号がRD信号ではなくWR信号である点で相違するもののその他の点は図24に示す電気的構成と同一である。
<Common configuration in each embodiment>
A configuration for accessing the ROM 63 or the RAM 64 in each embodiment will be described. FIG. 24 is a block diagram showing an electrical configuration for outputting a chip select signal to a corresponding input latch circuit when data is read from the RAM 64. Note that, when an instruction or data is read from the ROM 63, the electrical configuration for outputting a chip select signal to the corresponding input latch circuit is the same as the electrical configuration shown in FIG. Further, when writing data to the RAM 64, the electrical configuration for outputting the chip select signal to the corresponding output latch circuit is that the signal that triggers the output of the operation selection signal from the operation selection circuit 191 is the RD signal. In other respects, the WR signal is the same as the electrical configuration shown in FIG.

RAM64からデータを読み出す契機となるチップセレクト信号を出力するための回路は、RD端子及びWR端子と電気的に接続された動作選択回路191と、IREQ端子及びMREQ端子と電気的に接続された対象選択回路192と、これら動作選択回路191及び対象選択回路192に初期化信号を出力するための初期化回路193と、CPUコア102においてロード命令が実行される場合に2バイトのアドレスデータが入力されるメモリ用アドレスデコーダ194と、動作選択回路191、対象選択回路192及びメモリ用アドレスデコーダ194と電気的に接続された合成回路195と、を備えている。   A circuit for outputting a chip select signal that triggers reading of data from the RAM 64 includes an operation selection circuit 191 electrically connected to the RD terminal and the WR terminal, and a target electrically connected to the IREQ terminal and the MREQ terminal. A selection circuit 192, an initialization circuit 193 for outputting an initialization signal to the operation selection circuit 191 and the object selection circuit 192, and 2-byte address data are input when a load instruction is executed in the CPU core 102. A memory address decoder 194, an operation selection circuit 191, a target selection circuit 192, and a synthesis circuit 195 electrically connected to the memory address decoder 194.

動作選択回路191に設けられたスイッチ回路191aは、CPU101への動作電力の供給が開始された場合に初期化信号が入力されることで、動作選択信号の出力契機となる信号がRD端子からのRD信号及びWR端子からのWR信号のうちRD信号となるように設定されている。したがって、CPUコア102からRD信号が出力されている場合に動作選択回路191から動作選択信号が出力される。   The switch circuit 191 a provided in the operation selection circuit 191 receives an initialization signal when the supply of operation power to the CPU 101 is started, so that a signal that triggers the output of the operation selection signal is output from the RD terminal. The RD signal and the WR signal from the WR terminal are set to be the RD signal. Therefore, when the RD signal is output from the CPU core 102, the operation selection signal is output from the operation selection circuit 191.

対象選択回路192に設けられたスイッチ回路192aは、CPU101への動作電力の供給が開始された場合に初期化信号が入力されることで、対象選択信号の出力契機となる信号がIREQ端子からのIREQ信号及びMREQ端子からのMREQ信号のうちMREQ信号となるように設定されている。したがって、CPUコア102からMREQ信号が出力されている場合に対象選択回路192から対象選択信号が出力される。   The switch circuit 192a provided in the target selection circuit 192 receives an initialization signal when the supply of operating power to the CPU 101 is started, so that a signal that triggers the output of the target selection signal is output from the IREQ terminal. Of the IREQ signal and the MREQ signal from the MREQ terminal, the MREQ signal is set. Therefore, when the MREQ signal is output from the CPU core 102, the target selection signal is output from the target selection circuit 192.

メモリ用アドレスデコーダ194は、当該メモリ用アドレスデコーダ194に対応する2バイトのアドレスデータ、換言すればRAM64からのデータ読み出しに対応する2バイトのアドレスデータがCPUコア102から出力されている場合にメモリアドレス信号を出力する。合成回路195は、メモリアドレス信号、動作選択信号及び対象選択信号の全てが出力されている場合に、チップセレクト端子CS20から入力用ラッチ回路にチップセレクト信号を出力する。これにより、RAM64において今回のアドレス指定に対応するエリアに書き込まれているデータがデータバスDBに供給され、当該データがデータ端子D0〜D7を通じてCPUコア102に供給される。   The memory address decoder 194 is a memory when the CPU core 102 outputs 2-byte address data corresponding to the memory address decoder 194, in other words, 2-byte address data corresponding to data read from the RAM 64. Output address signal. The synthesis circuit 195 outputs a chip select signal from the chip select terminal CS20 to the input latch circuit when all of the memory address signal, the operation selection signal, and the target selection signal are output. As a result, the data written in the area corresponding to the current address designation in the RAM 64 is supplied to the data bus DB, and the data is supplied to the CPU core 102 through the data terminals D0 to D7.

<他の実施形態>
なお、上述した実施形態の記載内容に限定されず、本発明の趣旨を逸脱しない範囲内で種々の変形改良が可能である。例えば以下のように変更してもよい。ちなみに、以下の別形態の構成を、上記実施形態の構成に対して、個別に適用してもよく、組合せて適用してもよい。
<Other embodiments>
In addition, it is not limited to the description content of embodiment mentioned above, A various deformation | transformation improvement is possible within the range which does not deviate from the meaning of this invention. For example, you may change as follows. Incidentally, the following configuration of another embodiment may be applied individually or in combination to the configuration of the above embodiment.

(1)上記第1の実施形態では、1個のチップセレクト端子CS0に対応する回路に、IO用アドレスデコーダ114とメモリ用アドレスデコーダ115とが個別に設けられている構成としたが、メモリ用アドレスデコーダ115と同様にアドレス端子A0〜A15と1対1で対応する入力端子が設けられた1個のアドレスデコーダが設けられている構成としてもよい。この場合、当該アドレスデコーダを、上位側の8個のアドレス端子A0〜A7から所定の1バイトのアドレスデータが出力されている場合には下位側の8個のアドレス端子A8〜A15から出力されているアドレスデータの内容に関係なく、合成回路117に対してアドレス信号(上記第1の実施形態における合成アドレス信号に相当)を出力する構成とする。当該構成であっても、CPUコア102からのRD信号の出力、CPUコア102からのIREQ信号及びMREQ信号のいずれかの出力、及びCPUコア102からの所定の2バイトのアドレスデータの出力が行われている場合に、チップセレクト端子CS0からチップセレクト信号が出力されるようにすることが可能となる。また、当該構成の場合、アドレスデコーダを1個のみ設ければよい点で、上記第1の実施形態よりも構成を簡素化させることが可能となる。なお、当該構成を、出力用ラッチ回路にチップセレクト信号を出力するための回路構成として適用してもよく、上記第2の実施形態又は上記第3の実施形態に適用してもよい。   (1) In the first embodiment, the IO address decoder 114 and the memory address decoder 115 are individually provided in the circuit corresponding to one chip select terminal CS0. Similarly to the address decoder 115, one address decoder provided with input terminals corresponding to the address terminals A0 to A15 on a one-to-one basis may be provided. In this case, when a predetermined 1-byte address data is output from the upper eight address terminals A0 to A7, the address decoder is output from the lower eight address terminals A8 to A15. The address signal (corresponding to the combined address signal in the first embodiment) is output to the combining circuit 117 regardless of the contents of the address data. Even with this configuration, the output of the RD signal from the CPU core 102, the output of either the IREQ signal or the MREQ signal from the CPU core 102, and the output of predetermined 2-byte address data from the CPU core 102 are performed. In this case, a chip select signal can be output from the chip select terminal CS0. Further, in the case of this configuration, it is possible to simplify the configuration compared to the first embodiment in that only one address decoder is provided. This configuration may be applied as a circuit configuration for outputting a chip select signal to the output latch circuit, and may be applied to the second embodiment or the third embodiment.

(2)上記(1)の構成において、IO空間105にアクセスする場合には上位側の8個のアドレス端子A0〜A7から所定の1バイトのアドレスデータが出力されるとともに下位側の8個のアドレス端子A8〜A15からはオール「0」又はオール「1」のデータが出力されるようにCPUコア102の制御内容を設定し、さらにメモリ空間106にアクセスする場合にはロード命令において設定されている2バイトのアドレスデータがアドレス端子A0〜A15から出力される構成としてもよい。この場合、上位側の8個のアドレス端子A0〜A7から所定の1バイトのアドレスデータが出力される場合であったとしても、下位側の8個のアドレス端子A8〜A15から出力される1バイトのアドレスデータが特定のデータである場合にはチップセレクト端子CS0からチップセレクト信号が出力されないこととなる。これにより、上位側の1バイトのアドレスデータが所定のデータであったとしても、下位側の1バイトのアドレスデータが特定のデータであれば、チップセレクト端子CS0とは異なるチップセレクト端子からのチップセレクト信号の出力契機となるアドレスとして利用することが可能となる。なお、当該構成を、出力用ラッチ回路にチップセレクト信号を出力するための回路構成として適用してもよく、上記第2の実施形態又は上記第3の実施形態に適用してもよい。   (2) In the configuration of (1) above, when accessing the IO space 105, predetermined one byte of address data is output from the upper eight address terminals A0 to A7 and the lower eight The control content of the CPU core 102 is set so that all “0” or all “1” data is output from the address terminals A8 to A15, and when accessing the memory space 106, it is set in the load instruction. The address data of 2 bytes may be output from the address terminals A0 to A15. In this case, even if predetermined one byte address data is output from the upper eight address terminals A0 to A7, one byte output from the lower eight address terminals A8 to A15. When the address data is specific data, the chip select signal is not output from the chip select terminal CS0. As a result, even if the high-order 1-byte address data is predetermined data, if the low-order 1-byte address data is specific data, a chip from a chip select terminal different from the chip select terminal CS0 is used. It can be used as an address that triggers the output of the select signal. This configuration may be applied as a circuit configuration for outputting a chip select signal to the output latch circuit, and may be applied to the second embodiment or the third embodiment.

(3)上記第1の実施形態では、1個のチップセレクト端子CS0に対応する回路に、IO用アドレスデコーダ114とメモリ用アドレスデコーダ115とが個別に設けられている構成としたが、IO用アドレスデコーダ114と同様にアドレス端子A0〜A7と1対1で対応する入力端子が設けられた1個のアドレスデコーダが設けられている構成としてもよい。この場合、当該アドレスデコーダを、上位側の8個のアドレス端子A0〜A7から所定の1バイトのアドレスデータが入力されている場合には、合成回路117に対してアドレス信号(上記第1の実施形態における合成アドレス信号に相当)を出力する構成とする。当該構成であっても、CPUコア102からのRD信号の出力、CPUコア102からのIREQ信号及びMREQ信号のいずれかの出力、及びCPUコア102からの所定の2バイトのアドレスデータの出力が行われている場合に、チップセレクト端子CS0からチップセレクト信号が出力されるようにすることが可能となる。また、当該構成の場合、アドレスデコーダを1個のみ設ければよい点で、上記第1の実施形態よりも構成を簡素化させることが可能となる。なお、当該構成を、出力用ラッチ回路にチップセレクト信号を出力するための回路構成として適用してもよく、上記第2の実施形態又は上記第3の実施形態に適用してもよい。   (3) In the first embodiment, the IO address decoder 114 and the memory address decoder 115 are individually provided in the circuit corresponding to one chip select terminal CS0. Similarly to the address decoder 114, a configuration may be adopted in which one address decoder provided with input terminals corresponding to the address terminals A0 to A7 on a one-to-one basis is provided. In this case, when a predetermined 1-byte address data is inputted from the upper eight address terminals A0 to A7, the address decoder sends an address signal (the first implementation described above) to the synthesis circuit 117. (Corresponding to the combined address signal in the embodiment). Even with this configuration, the output of the RD signal from the CPU core 102, the output of either the IREQ signal or the MREQ signal from the CPU core 102, and the output of predetermined 2-byte address data from the CPU core 102 are performed. In this case, a chip select signal can be output from the chip select terminal CS0. Further, in the case of this configuration, it is possible to simplify the configuration compared to the first embodiment in that only one address decoder is provided. This configuration may be applied as a circuit configuration for outputting a chip select signal to the output latch circuit, and may be applied to the second embodiment or the third embodiment.

(4)上記第1の実施形態において、対象選択回路113を不具備とし、アドレス用回路116から合成アドレス信号が出力されているとともに動作選択回路111から動作選択信号が出力されている場合に合成回路117からチップセレクト信号が出力される構成としてもよい。この場合、CPUコア102からIREQ信号及びMREQ信号の両方が出力されていない状況であってもチップセレクト信号が出力され得ることとなるが、チップセレクト信号が出力されるためにはCPUコア102からRD信号及びWR信号のいずれかが出力されているとともに所定のアドレスデータが出力されている必要がある。なお、当該構成を、出力用ラッチ回路にチップセレクト信号を出力するための回路構成として適用してもよく、上記第2の実施形態又は上記第3の実施形態に適用してもよい。   (4) In the first embodiment, when the target selection circuit 113 is not provided and the synthesized address signal is output from the address circuit 116 and the operation selection signal is output from the operation selection circuit 111, the synthesis is performed. The circuit 117 may be configured to output a chip select signal. In this case, the chip select signal can be output even when both the IREQ signal and the MREQ signal are not output from the CPU core 102. However, in order to output the chip select signal, the CPU core 102 can output the chip select signal. Either the RD signal or the WR signal must be output and the predetermined address data must be output. This configuration may be applied as a circuit configuration for outputting a chip select signal to the output latch circuit, and may be applied to the second embodiment or the third embodiment.

(5)上記各実施形態において、入力ポート62aからのデータ入力を行う入力用ラッチ回路にチップセレクト信号を出力するための回路、及び出力ポート62bへのデータ衆力を行う出力用ラッチ回路にチップセレクト信号を出力するための回路の全てが、CPUコア102からIREQ信号及びMREQ信号のいずれが出力されている場合であってもチップセレクト信号を出力する構成に限定されることはなく、それら回路のうち一部はCPUコア102からIREQ信号が出力されている場合にはチップセレクト信号を出力するがMREQ信号が出力されている場合にはチップセレクト信号を出力しない構成としてもよい。この場合、当該一部の回路の対象選択回路は、IREQ信号が出力されている場合にのみ対象選択信号を出力する構成となる。また、当該一部の回路は、IO用アドレスデコーダを備える一方、メモリ用アドレスデコーダ及びアドレス用回路を備えない構成となる。当該構成においては、その一部の回路に搭載された合成回路は、IO用アドレスデコーダからのIOアドレス信号、動作選択回路からの動作選択信号及び対象選択回路からの対象選択信号を入力している場合にチップセレクト信号を出力することとなる。   (5) In each of the embodiments described above, the chip select signal is output to the input latch circuit that inputs data from the input port 62a, and the output latch circuit that outputs data to the output port 62b. All of the circuits for outputting signals are not limited to the configuration for outputting the chip select signal regardless of whether the IREQ signal or the MREQ signal is output from the CPU core 102. Some of them may output a chip select signal when the CPU core 102 outputs an IREQ signal, but may not output a chip select signal when an MREQ signal is output. In this case, the target selection circuit of the part of the circuits is configured to output the target selection signal only when the IREQ signal is output. The part of the circuit includes an IO address decoder, but does not include a memory address decoder and an address circuit. In the configuration, the synthesis circuit mounted on a part of the circuits receives the IO address signal from the IO address decoder, the operation selection signal from the operation selection circuit, and the target selection signal from the target selection circuit. In this case, a chip select signal is output.

(6)上記第3の実施形態において内部出力用ラッチ回路162が設けられていない構成としてもよい。この場合、外部出力用ラッチ回路161から出力ポート62bへのデータの伝送経路を分岐させるとともにその分岐経路を内部入力用ラッチ回路163と電気的に接続することで、外部出力用ラッチ回路161から出力ポート62bに設定されるデータが内部入力用ラッチ回路163においてラッチされるようにすることが可能となる。   (6) The internal output latch circuit 162 may not be provided in the third embodiment. In this case, the data transmission path from the external output latch circuit 161 to the output port 62b is branched and the branch path is electrically connected to the internal input latch circuit 163, so that the output from the external output latch circuit 161 is performed. Data set in the port 62b can be latched in the internal input latch circuit 163.

(7)上記第3の実施形態において内部入力用ラッチ回路163を不具備とし、代わりに内部入力用ラッチ回路163の機能をRAM64又はCPU101のレジスタに担わせる構成としてもよい。この場合、内部入力用ラッチ回路163を設ける必要がない点で、上記第3の実施形態よりも構成を簡素化させることが可能となる。   (7) In the third embodiment, the internal input latch circuit 163 may be omitted, and the function of the internal input latch circuit 163 may be assigned to the RAM 64 or the CPU 101 instead. In this case, the configuration can be simplified as compared with the third embodiment in that it is not necessary to provide the internal input latch circuit 163.

(8)MPU62の入力ポート62aに1バイト分よりも多い数の接続端子が設けられている構成に代えて、1バイト分の接続端子が設けられている構成としてもよい。当該構成においては、主制御基板61に入力用ラッチ回路を複数設けるとともに、それら入力用ラッチ回路に1対1で対応する数のチップセレクト端子をMPU62に設け、チップセレクト信号の出力対象となっている入力用ラッチ回路から入力ポート62aにデータが入力され、入力ポート62aに入力されたデータがCPU101に供給される構成としてもよい。   (8) Instead of the configuration in which the input port 62a of the MPU 62 is provided with more connection terminals than one byte, a configuration in which one byte of connection terminals is provided may be adopted. In this configuration, a plurality of input latch circuits are provided on the main control board 61, and a number of chip select terminals corresponding to the input latch circuits are provided on the MPU 62, which are to be output as chip select signals. Data may be input to the input port 62a from the input latch circuit, and the data input to the input port 62a may be supplied to the CPU 101.

また、MPU62の出力ポート62bに1バイト分よりも多い数の接続端子が設けられている構成に代えて、1バイト分の接続端子が設けられている構成としてもよい。当該構成においては、主制御基板61に出力用ラッチ回路を複数設けるとともに、それら出力用ラッチ回路に1対1で対応する数のチップセレクト端子をMPU62に設け、チップセレクト信号の出力対象となっている出力用ラッチ回路に出力ポート62bからデータが出力される構成としてもよい。   Further, instead of the configuration in which the output port 62b of the MPU 62 is provided with more connection terminals than one byte, a configuration in which one byte of connection terminals is provided may be adopted. In this configuration, a plurality of output latch circuits are provided on the main control board 61, and the number of chip select terminals corresponding to the output latch circuits on a one-to-one basis is provided on the MPU 62, and the chip select signal is to be output. Data may be output from the output port 62b to the output latch circuit.

(9)主制御装置60から送信されるコマンドに基づいて、音声発光制御装置80により表示制御装置90が制御される構成に代えて、主制御装置60から送信されるコマンドに基づいて、表示制御装置90が音声発光制御装置80を制御する構成としてもよい。また、音声発光制御装置80と表示制御装置90とが別々に設けられた構成に代えて、両制御装置が一の制御装置として設けられた構成としてもよく、それら両制御装置のうち一方の機能が主制御装置60に集約されていてもよく、それら両制御装置の両機能が主制御装置60に集約されていてもよい。また、主制御装置60から音声発光制御装置80に送信されるコマンドの構成や、音声発光制御装置80から表示制御装置90に送信されるコマンドの構成も任意である。   (9) Display control based on a command transmitted from the main control device 60 instead of a configuration in which the display control device 90 is controlled by the sound emission control device 80 based on a command transmitted from the main control device 60 The device 90 may be configured to control the sound emission control device 80. Further, instead of the configuration in which the sound emission control device 80 and the display control device 90 are separately provided, both the control devices may be provided as one control device, and one of the two control devices has a function. May be integrated into the main control device 60, and both functions of these two control devices may be integrated into the main control device 60. The configuration of the command transmitted from the main control device 60 to the sound emission control device 80 and the configuration of the command transmitted from the sound emission control device 80 to the display control device 90 are also arbitrary.

(10)上記各実施形態とは異なる他のタイプのパチンコ機等、例えば特別装置の特定領域に遊技球が入ると電動役物が所定回数開放するパチンコ機や、特別装置の特定領域に遊技球が入ると権利が発生して大当たりとなるパチンコ機、他の役物を備えたパチンコ機、アレンジボール機、雀球等の遊技機にも、本発明を適用できる。   (10) Other types of pachinko machines different from the above embodiments, for example, a pachinko machine in which an electric accessory is released a predetermined number of times when a game ball enters a specific area of a special device, or a game ball in a specific area of a special device The present invention can also be applied to a pachinko machine that generates a right if a player enters, a pachinko machine equipped with other objects, an arrangement ball machine, a sparrow ball, and other gaming machines.

また、弾球式でない遊技機、例えば、複数種の図柄が周方向に付された複数のリールを備え、メダルの投入及びスタートレバーの操作によりリールの回転を開始し、ストップスイッチが操作されるか所定時間が経過することでリールが停止した後に、表示窓から視認できる有効ライン上に特定図柄又は特定図柄の組合せが成立していた場合にはメダルの払い出し等といった特典を遊技者に付与するスロットマシンにも本発明を適用できる。   Also, a non-ball-type gaming machine, for example, a plurality of reels with a plurality of types of symbols attached in the circumferential direction, starts rotation of the reel by inserting a medal and operating a start lever, and a stop switch is operated. If a specific symbol or a combination of specific symbols is established on the active line visible from the display window after the reel has stopped after a predetermined time has passed, a privilege such as paying out medals is given to the player The present invention can also be applied to a slot machine.

また、外枠に開閉可能に支持された遊技機本体に貯留部及び取込装置を備え、貯留部に貯留されている所定数の遊技球が取込装置により取り込まれた後にスタートレバーが操作されることによりリールの回転を開始する、遊技媒体として遊技球を利用してスロットマシンと同様の遊技を行う遊技機にも、本発明を適用できる。   In addition, the gaming machine main body that is supported by the outer frame so as to be openable and closable is provided with a storage unit and a capture device, and the start lever is operated after a predetermined number of game balls stored in the storage unit are captured by the capture device. Thus, the present invention can also be applied to a gaming machine that starts the rotation of the reel and performs a game similar to a slot machine using a game ball as a game medium.

<上記各実施形態から抽出される発明群について>
以下、上述した各実施形態から抽出される発明群の特徴について、必要に応じて効果等を示しつつ説明する。なお以下においては、理解の容易のため、上記各実施形態において対応する構成を括弧書き等で適宜示すが、この括弧書き等で示した具体的構成に限定されるものではない。
<Invention Group Extracted from Each Embodiment>
Hereinafter, the characteristics of the invention group extracted from each of the above-described embodiments will be described while showing effects and the like as necessary. In the following, for easy understanding, the corresponding configuration in each of the above embodiments is appropriately shown in parentheses, but is not limited to the specific configuration shown in parentheses.

<特徴A群>
特徴A1.命令を予め記憶する記憶手段(ROM63)と、
当該記憶手段から読み出した前記命令を実行する制御実行手段(CPUコア102)と、
を備えた遊技機において、
前記制御実行手段は、
第1命令を実行する場合に第1命令対応信号(MREQ信号)を出力するための第1信号出力手段(MREQ端子)と、
前記第1命令とは情報量が異なる第2命令を実行する場合に第2命令対応信号(IREQ信号)を出力するための第2信号出力手段(IREQ端子)と、
を備え、
当該遊技機は、
少なくとも前記第1命令対応信号が出力されている場合及び前記第2命令対応信号が出力されている場合のいずれであっても、特定信号(チップセレクト信号)を出力する特定出力手段(第1の実施形態では合成回路117、第2の実施形態では合成回路137、第3の実施形態では合成回路177)と、
前記特定信号が出力されている場合に、情報の入力及び出力のうち少なくとも一方である特定の動作状態となる動作手段(第1の実施形態では入力用ラッチ回路103又は出力用ラッチ回路104、第2の実施形態では出力用ラッチ回路121a、第3の実施形態では外部出力用ラッチ回路161)と、
を備えていることを特徴とする遊技機。
<Feature A group>
Feature A1. Storage means (ROM 63) for storing instructions in advance;
Control execution means (CPU core 102) for executing the instruction read from the storage means;
In a gaming machine equipped with
The control execution means includes
First signal output means (MREQ terminal) for outputting a first instruction corresponding signal (MREQ signal) when executing the first instruction;
Second signal output means (IREQ terminal) for outputting a second command corresponding signal (IREQ signal) when executing a second command having a different amount of information from the first command;
With
The gaming machine is
At least in the case where the first command corresponding signal is output and the case where the second command corresponding signal is output, the specific output means (the first output signal) for outputting the specific signal (chip select signal) In the embodiment, the synthesis circuit 117, in the second embodiment, the synthesis circuit 137, in the third embodiment, the synthesis circuit 177),
When the specific signal is output, the operation means (in the first embodiment, the input latch circuit 103 or the output latch circuit 104, the first latch circuit 104) is in a specific operation state of at least one of information input and output. In the second embodiment, the output latch circuit 121a, and in the third embodiment, the external output latch circuit 161),
A gaming machine characterized by comprising:

特徴A1によれば、第1命令を実行する場合に第1信号出力手段から第1命令対応信号が出力され、第2命令を実行する場合に第2信号出力手段から第2命令対応信号が出力されるため、第1命令及び第2命令のいずれも実行していない状況において所定の動作が実行されてしまうことを阻止することが可能となるとともに、第1命令が実行されている場合と第2命令が実行されている場合とで動作対象を区別させることが可能となる。   According to the feature A1, the first command output signal is output from the first signal output unit when the first command is executed, and the second command output signal is output from the second signal output unit when the second command is executed. Therefore, it is possible to prevent the predetermined operation from being executed in a situation where neither the first instruction nor the second instruction is executed, and the case where the first instruction is executed and the case where the first instruction is executed. It is possible to distinguish the operation target from the case where two instructions are executed.

この場合に、動作手段を特定の動作状態とするために出力される特定信号は、制御実行手段から第1命令対応信号及び第2命令対応信号のうちいずれが出力されている場合にも出力される。これにより、第1命令及び第2命令のいずれが実行される状況であっても、動作手段を特定の動作状態にさせることが可能となる。よって、動作手段を特定の動作状態とする場合における命令の種類の幅を広げることが可能となる。   In this case, the specific signal output for setting the operating means to a specific operating state is output when either the first command corresponding signal or the second command corresponding signal is output from the control execution means. The As a result, the operating means can be brought into a specific operating state regardless of whether the first instruction or the second instruction is executed. Therefore, it is possible to widen the range of instruction types when the operation means is set to a specific operation state.

なお、「第1信号出力手段」としては「第1信号出力部」又は「第1信号出力端子」が挙げられ、「第2信号出力手段」としては「第2信号出力部」又は「第2信号出力端子」が挙げられる。   The “first signal output unit” includes “first signal output unit” or “first signal output terminal”, and the “second signal output unit” includes “second signal output unit” or “second signal output unit”. Signal output terminal ”.

特徴A2.前記第1命令対応信号又は前記第2命令対応信号が出力されている場合に所定信号を出力する所定出力手段(第1の実施形態では対象選択回路113、第2の実施形態では対象選択回路133、第3の実施形態では対象選択回路173)を備え、
前記特定出力手段は、前記所定信号が出力されている場合に前記特定信号を出力することを特徴とする特徴A1に記載の遊技機。
Feature A2. Predetermined output means for outputting a predetermined signal when the first instruction corresponding signal or the second instruction corresponding signal is output (the object selecting circuit 113 in the first embodiment, the object selecting circuit 133 in the second embodiment) In the third embodiment, an object selection circuit 173) is provided.
The gaming machine according to Feature A1, wherein the specific output means outputs the specific signal when the predetermined signal is output.

特徴A2によれば、所定出力手段から所定信号が出力されていることを少なくとも一の条件として特定出力手段から特定信号が出力される構成において、所定出力手段は第1命令対応信号又は第2命令対応信号が出力されている場合に所定信号を出力する構成であるため、所定出力手段以外の構成をそのまま流用しながら上記のような優れた効果を奏することが可能となる。   According to the feature A2, in the configuration in which the specific signal is output from the specific output means on the condition that the predetermined signal is output from the predetermined output means, the predetermined output means is the first command corresponding signal or the second command Since the configuration is such that the predetermined signal is output when the corresponding signal is output, the above-described excellent effects can be achieved while diverting the configuration other than the predetermined output means as it is.

特徴A3.前記所定出力手段は、前記第1信号出力手段と電気的に接続される入力手段及び前記第2信号出力手段と電気的に接続される入力手段を有し前記第1命令対応信号及び前記第2命令対応信号のいずれかが入力されている場合に前記所定信号を出力する論理回路(対象選択用論理回路113a)を備えていることを特徴とする特徴A2に記載の遊技機。   Feature A3. The predetermined output means has input means electrically connected to the first signal output means and input means electrically connected to the second signal output means, and the first command corresponding signal and the second The gaming machine according to Feature A2, further comprising a logic circuit (target selection logic circuit 113a) that outputs the predetermined signal when any of the instruction corresponding signals is input.

特徴A3によれば、第1命令対応信号又は第2命令対応信号が出力されている場合に所定出力手段は自ずと所定信号を出力する構成であるため、第1命令対応信号が出力される場合と第2命令対応信号が出力される場合とで所定出力手段の状態を切り換える必要がない。よって、所定出力手段の構成の簡素化を図りながら、既に説明したような優れた効果を奏することが可能となる。   According to the feature A3, when the first command corresponding signal or the second command corresponding signal is output, the predetermined output means naturally outputs the predetermined signal, and therefore, the first command corresponding signal is output. There is no need to switch the state of the predetermined output means between when the second command corresponding signal is output. Therefore, it is possible to achieve the excellent effects as described above while simplifying the configuration of the predetermined output means.

特徴A4.前記第1命令はロード命令であり、前記第2命令はイン命令及びアウト命令のいずれかであることを特徴とする特徴A1乃至A3のいずれか1に記載の遊技機。   Feature A4. The gaming machine according to any one of features A1 to A3, wherein the first instruction is a load instruction, and the second instruction is either an in instruction or an out instruction.

特徴A4によれば、情報の入力及び出力のうち少なくとも一方である特定の動作状態となるように動作手段を制御する場合において、イン命令及びアウト命令のいずれかだけでなくロード命令を実行することが可能となる。   According to the feature A4, when the operation means is controlled to be in a specific operation state of at least one of information input and output, the load instruction is executed in addition to either the in instruction or the out instruction. Is possible.

特徴A5.前記制御実行手段は、
動作対象を指定する指定情報を出力するための指定情報出力手段(アドレス端子A0〜A15)と、
前記第1命令を実行することで前記動作手段を前記特定の動作状態とする場合に第1指定情報を前記指定情報出力手段から出力し、前記第2命令を実行することで前記動作手段を前記特定の動作状態とする場合に第2指定情報を前記指定情報出力手段から出力する指定情報出力手段(CPUコア102におけるステップS305、ステップS402、ステップS408、ステップS415及びステップS419の処理を実行する機能)と、
を備え、
前記特定出力手段は、前記第1指定情報が出力されている場合及び前記第2指定情報が出力されている場合のいずれであっても前記特定信号を出力することを特徴とする特徴A1乃至A4のいずれか1に記載の遊技機。
Feature A5. The control execution means includes
Designation information output means (address terminals A0 to A15) for outputting designation information for designating an operation target;
When the operation unit is set to the specific operation state by executing the first instruction, first designation information is output from the designation information output unit, and the operation unit is executed by executing the second instruction. Designation information output means for outputting second designation information from the designation information output means in the case of a specific operating state (function for executing the processing of steps S305, S402, S408, S415 and S419 in the CPU core 102) )When,
With
The specific output means outputs the specific signal regardless of whether the first designation information is output or the second designation information is output. A1 to A4 The gaming machine according to any one of the above.

特徴A5によれば、動作手段を特定の動作状態とする場合に第1命令及び第2命令のいずれも実行可能とした構成において、第1命令を実行する場合には第1指定情報が出力されるとともに第2命令を実行する場合には第2指定情報が出力される。これにより、第1命令を実行する場合及び第2命令を実行する場合のそれぞれに対応する態様で指定情報の出力を行うことが可能となる。また、第1命令を実行する場合には第1指定情報が出力され、第2命令を実行する場合には第2指定情報が出力される構成であっても、第1指定情報が出力されている場合及び第2指定情報が出力されている場合のいずれであっても特定出力手段から特定信号が出力されるため、第1命令及び第2命令のいずれが実行される状況であっても、動作手段を特定の動作状態にさせることが可能となる。   According to the feature A5, in the configuration in which both the first instruction and the second instruction can be executed when the operation means is set to a specific operation state, the first designation information is output when the first instruction is executed. When the second instruction is executed, second designation information is output. Thereby, it is possible to output the designation information in a manner corresponding to each of the case where the first instruction is executed and the case where the second instruction is executed. In addition, when the first instruction is executed, the first designation information is output, and when the second instruction is executed, the first designation information is output even if the second designation information is output. Since the specific signal is output from the specific output means regardless of whether the second designation information is being output or the second designation information is being output, regardless of whether the first instruction or the second instruction is executed, The operating means can be brought into a specific operating state.

なお、「指定情報出力手段」としては「指定情報出力部」又は「指定情報出力端子」が挙げられる。   The “designated information output means” includes “designated information output unit” or “designated information output terminal”.

特徴A6.前記第1指定情報と前記第2指定情報とは情報量が異なることを特徴とする特徴A5に記載の遊技機。   Feature A6. The gaming machine according to Feature A5, wherein the first designation information and the second designation information are different in information amount.

特徴A6によれば、第1命令を実行する場合には当該第1命令に対応する情報量で指定情報の出力が行われ、第2命令を実行する場合には当該第2命令に対応する情報量で指定情報の出力が行われる。この場合に、上記特徴A5の構成を備え、第1指定情報が出力されている場合及び第2指定情報が出力されている場合のいずれであっても特定出力手段から特定信号が出力されるため、第1命令及び第2命令のいずれが実行される状況であっても、動作手段を特定の動作状態にさせることが可能となる。   According to the feature A6, when the first instruction is executed, the designation information is output with the amount of information corresponding to the first instruction, and when the second instruction is executed, the information corresponding to the second instruction is output. The specified information is output in quantity. In this case, the configuration of the feature A5 is provided, and the specific signal is output from the specific output means regardless of whether the first specification information is output or the second specification information is output. In any situation where either the first instruction or the second instruction is executed, the operating means can be brought into a specific operating state.

特徴A7.前記第1指定情報又は前記第2指定情報が出力されている場合に指定対応信号を出力する指定対応手段(第1の実施形態ではIO用アドレスデコーダ114、メモリ用アドレスデコーダ115及びアドレス用回路116、第2の実施形態ではIO用アドレスデコーダ134、メモリ用アドレスデコーダ135及びアドレス用回路136、第3の実施形態ではIO用アドレスデコーダ174、メモリ用アドレスデコーダ175及びアドレス用回路176)を備え、
前記特定出力手段は、前記指定対応信号が出力されている場合に前記特定信号を出力することを特徴とする特徴A5又はA6に記載の遊技機。
Feature A7. A designation corresponding means for outputting a designation corresponding signal when the first designation information or the second designation information is output (in the first embodiment, an IO address decoder 114, a memory address decoder 115, and an address circuit 116). In the second embodiment, an IO address decoder 134, a memory address decoder 135, and an address circuit 136, and in the third embodiment, an IO address decoder 174, a memory address decoder 175, and an address circuit 176) are provided.
The gaming machine according to A5 or A6, wherein the specific output means outputs the specific signal when the designation corresponding signal is output.

特徴A7によれば、指定対応手段は第1指定情報又は第2指定情報が出力されている場合に指定対応信号を出力し、指定対応手段から指定対応信号が出力されていることを少なくとも一の条件として特定出力手段から特定信号が出力される構成であるため、特定出力手段において第1指定情報及び第2指定情報のそれぞれに対応した動作を実行する必要が生じない。これにより、特定出力手段の構成の簡素化を図りながら、既に説明したような優れた効果を奏することが可能となる。   According to the feature A7, the designation corresponding means outputs the designation corresponding signal when the first designation information or the second designation information is output, and at least one of the fact that the designation corresponding signal is output from the designation corresponding means. Since the specific signal is output from the specific output unit as a condition, it is not necessary to execute an operation corresponding to each of the first designation information and the second designation information in the specific output unit. Thereby, it is possible to achieve the excellent effects as described above while simplifying the configuration of the specific output means.

特徴A8.前記指定対応手段は、
前記第1指定情報が出力されている場合に第1対応信号を出力する手段(第1の実施形態ではメモリ用アドレスデコーダ115、第2の実施形態ではメモリ用アドレスデコーダ135、第3の実施形態ではメモリ用アドレスデコーダ175)と、
前記第2指定情報が出力されている場合に第2対応信号を出力する手段(第1の実施形態ではIO用アドレスデコーダ114、第2の実施形態ではIO用アドレスデコーダ134、第3の実施形態ではIO用アドレスデコーダ174)と、
前記第1対応信号又は前記第2対応信号が出力されている場合に前記指定対応信号を出力する手段(第1の実施形態ではアドレス用回路116、第2の実施形態ではアドレス用回路136、第3の実施形態ではアドレス用回路176)と、
を備えていることを特徴とする特徴A7に記載の遊技機。
Feature A8. The designation corresponding means is
Means for outputting a first corresponding signal when the first designation information is output (memory address decoder 115 in the first embodiment, memory address decoder 135 in the second embodiment, third embodiment Then, the memory address decoder 175),
Means for outputting a second corresponding signal when the second designation information is output (IO address decoder 114 in the first embodiment, IO address decoder 134 in the second embodiment, third embodiment Then, the IO address decoder 174),
Means for outputting the specified corresponding signal when the first corresponding signal or the second corresponding signal is output (the address circuit 116 in the first embodiment, the address circuit 136 in the second embodiment, the second In the third embodiment, an address circuit 176),
The gaming machine according to Feature A7, comprising:

特徴A8によれば、第1指定情報が出力されている場合にそれに対応させて第1対応信号を出力する手段と、第2指定情報が出力されている場合にそれに対応させて第2対応信号を出力する手段とが個別に設けられていることにより、第1指定情報及び第2指定情報のそれぞれに対応する信号の出力を比較的簡素な構成により行うことが可能となる。また、第1対応信号又は第2対応信号が出力されている場合に指定対応信号が出力される構成であるため、特定出力手段に出力される信号の種類を抑えることが可能となる。   According to the feature A8, a means for outputting a first corresponding signal in response to the first designation information being output, and a second correspondence signal corresponding to the second designation information being output in response thereto Are separately provided, it is possible to output signals corresponding to the first designation information and the second designation information with a relatively simple configuration. Further, since the designated corresponding signal is output when the first corresponding signal or the second corresponding signal is output, the types of signals output to the specific output unit can be suppressed.

なお、特徴A1〜A8の構成に対して、特徴A1〜A8、特徴B1〜B6、特徴C1〜C6のうちいずれか1又は複数の構成を適用してもよい。これにより、その組み合わせた構成による相乗的な効果を奏することが可能となる。   Note that one or more configurations of the features A1 to A8, the features B1 to B6, and the features C1 to C6 may be applied to the configurations of the features A1 to A8. Thereby, it becomes possible to produce a synergistic effect by the combined configuration.

<特徴B群>
特徴B1.出力手段(出力ポート62b)に対して所定情報が設定されるようにする制御実行手段(CPUコア102)と、
前記出力手段に設定された前記所定情報に対応する動作を実行する動作実行手段(特電用の駆動部32b、普電用の駆動部34b、特図表示部37a、特図保留表示部37b、普図表示部38a、普図保留表示部38bなど)と、
前記出力手段に設定される前記所定情報を当該所定情報が伝送される伝送経路から取得し、その取得した前記所定情報を前記制御実行手段に供給する供給手段(第2の実施形態では入力用ラッチ回路122a〜122c、第3の実施形態では内部出力用ラッチ回路162及び内部入力用ラッチ回路163)と、
を備えていることを特徴とする遊技機。
<Feature B group>
Feature B1. Control execution means (CPU core 102) for setting predetermined information to the output means (output port 62b);
Operation executing means for executing an operation corresponding to the predetermined information set in the output means (a special electric drive unit 32b, a general electric drive unit 34b, a special figure display unit 37a, a special figure hold display unit 37b, A figure display unit 38a, a general map hold display unit 38b, etc.),
Supply means for acquiring the predetermined information set in the output means from a transmission path through which the predetermined information is transmitted, and supplying the acquired predetermined information to the control execution means (in the second embodiment, an input latch) Circuits 122a to 122c, in the third embodiment, an internal output latch circuit 162 and an internal input latch circuit 163);
A gaming machine characterized by comprising:

特徴B1によれば、出力手段に設定された所定情報が伝送経路を介して制御実行手段に供給される。これにより、出力手段に設定する所定情報を別保存したり、再度読み出したりしなくても、その所定情報を制御実行手段において再度読み出して利用することが可能となる。   According to the characteristic B1, the predetermined information set in the output unit is supplied to the control execution unit via the transmission path. This makes it possible to read and use the predetermined information again in the control execution unit without separately storing the predetermined information set in the output unit or reading it again.

特徴B2.前記供給手段は、前記制御実行手段の制御に基づき前記供給手段に入力用取得信号が入力されている場合に前記所定情報を前記制御実行手段に供給することを特徴とする特徴B1に記載の遊技機。   Feature B2. The game according to Feature B1, wherein the supply means supplies the predetermined information to the control execution means when an input acquisition signal is input to the supply means based on the control of the control execution means. Machine.

特徴B2によれば、制御実行手段において好ましいタイミングで供給手段から制御実行手段に所定情報が供給されるようにすることが可能となる。   According to the feature B2, it is possible to supply the predetermined information from the supply unit to the control execution unit at a preferable timing in the control execution unit.

特徴B3.前記制御実行手段への情報の伝送及び前記制御実行手段からの情報の伝送を可能とする第1伝送経路(データバスDB)と、
前記第1伝送経路から取得した前記所定情報を前記出力手段に設定する出力用設定手段(第2の実施形態では出力用ラッチ回路121a〜121c、第3の実施形態では外部出力用ラッチ回路161)と、
を備え、
前記供給手段は、前記第1伝送経路及び前記出力用設定手段から前記出力手段への情報の第2伝送経路(データ用経路L1〜L3)のうちいずれかである対象経路と電気的に接続され、当該対象経路から取得した前記所定情報を前記制御実行手段に供給すべく前記第1伝送経路に供給することを特徴とする特徴B1又はB2に記載の遊技機。
Feature B3. A first transmission path (data bus DB) that enables transmission of information to the control execution means and transmission of information from the control execution means;
Output setting means for setting the predetermined information acquired from the first transmission path in the output means (output latch circuits 121a to 121c in the second embodiment, external output latch circuit 161 in the third embodiment) When,
With
The supply means is electrically connected to a target path which is one of the first transmission path and the second transmission path (data paths L1 to L3) of information from the output setting means to the output means. The gaming machine according to B1 or B2, wherein the predetermined information acquired from the target route is supplied to the first transmission route so as to be supplied to the control execution unit.

特徴B3によれば、出力手段に所定情報を設定するための伝送経路を利用して制御実行手段に所定情報を供給することが可能となる。   According to the characteristic B3, it is possible to supply the predetermined information to the control execution unit using a transmission path for setting the predetermined information in the output unit.

特徴B4.前記出力用設定手段は、出力用取得信号が入力されている場合に、前記第1伝送経路から取得した前記所定情報を前記出力手段に設定し、
前記供給手段は、入力用取得信号が入力されている場合に前記所定情報を前記制御実行手段に供給すべく前記第1伝送経路に供給し、
前記制御実行手段から所定指定情報(アドレスデータ)が出力されている場合に、前記出力用設定手段に前記出力用取得信号を出力する第1出力対応手段(第2の実施形態では合成回路137、第3の実施形態では合成回路177)と、
前記制御実行手段から前記所定指定情報が出力されている場合に、前記供給手段に前記入力用取得信号を出力する第2出力対応手段(第2の実施形態では合成回路147、第3の実施形態では合成回路187)と、
を備えていることを特徴とする特徴B3に記載の遊技機。
Feature B4. The output setting means sets the predetermined information acquired from the first transmission path to the output means when an output acquisition signal is input,
The supply means supplies the predetermined information to the first transmission path to supply the predetermined information to the control execution means when an input acquisition signal is input,
When predetermined designation information (address data) is output from the control execution means, first output corresponding means (the synthesis circuit 137 in the second embodiment) that outputs the output acquisition signal to the output setting means. In the third embodiment, the synthesis circuit 177),
Second output corresponding means for outputting the input acquisition signal to the supply means when the predetermined designation information is output from the control execution means (the synthesis circuit 147 in the second embodiment, the third embodiment) Then, the synthesis circuit 187),
A gaming machine according to Feature B3, characterized by comprising:

特徴B4によれば、出力用設定手段は出力用取得信号が入力されている場合に出力手段に対して所定情報を設定し、供給手段は入力用取得信号が入力されている場合に所定情報を制御実行手段に供給するため、所定情報の出力手段への設定タイミングと所定情報の制御実行手段への供給タイミングとを好ましいものとすることが可能となる。この場合に、出力用設定手段に出力用取得信号を出力させるために制御実行手段から出力される所定指定情報と、供給手段に入力用取得信号を出力させるために制御実行手段から出力される所定指定情報とが同一である。これにより、出力手段に所定情報を設定するために使用される所定指定情報を利用して、当該所定情報を制御実行手段に供給させることが可能となる。   According to the feature B4, the output setting unit sets predetermined information to the output unit when the output acquisition signal is input, and the supply unit sets the predetermined information when the input acquisition signal is input. Since it is supplied to the control execution means, it is possible to make the setting timing of the predetermined information to the output means and the supply timing of the predetermined information to the control execution means preferable. In this case, predetermined designation information output from the control execution means for causing the output setting means to output the output acquisition signal, and predetermined output from the control execution means for causing the supply means to output the input acquisition signal. The specified information is the same. This makes it possible to supply the control execution means with the predetermined information using the predetermined designation information used for setting the predetermined information in the output means.

特徴B5.前記制御実行手段は、
前記出力用設定手段による前記所定情報の設定を行わせる場合に第1信号を出力するための第1対応手段(WR端子)と、
前記供給手段による前記所定情報の供給を行わせる場合に第2信号を出力するための第2対応手段(RD端子)と、
を備え、
前記第1出力対応手段は前記第1信号が出力されている場合に、前記出力用設定手段に前記出力用取得信号を出力し、
前記第2出力対応手段は前記第2信号が出力されている場合に、前記供給手段に前記入力用取得信号を出力することを特徴とする特徴B4に記載の遊技機。
Feature B5. The control execution means includes
First corresponding means (WR terminal) for outputting a first signal when the predetermined information is set by the output setting means;
Second response means (RD terminal) for outputting a second signal when the supply means supplies the predetermined information;
With
The first output corresponding means outputs the output acquisition signal to the output setting means when the first signal is output;
The gaming machine according to Feature B4, wherein the second output corresponding means outputs the input acquisition signal to the supply means when the second signal is output.

特徴B5によれば、制御実行手段から第1信号が出力されている場合に出力用取得信号が出力される一方、制御実行手段から第2信号が出力されている場合に入力用取得信号が出力される。これにより、出力用設定手段に出力用取得信号を出力させるために制御実行手段から出力される所定指定情報と、供給手段に入力用取得信号を出力させるために制御実行手段から出力される所定指定情報とが同一である構成であっても、出力用設定手段による所定情報の設定が行われるタイミングと、供給手段による所定情報の供給が行われるタイミングとを異ならせることが可能となる。   According to the feature B5, the output acquisition signal is output when the first signal is output from the control execution unit, while the input acquisition signal is output when the second signal is output from the control execution unit. Is done. Thus, the predetermined designation information output from the control execution means for causing the output setting means to output the output acquisition signal, and the predetermined designation output from the control execution means for causing the supply means to output the input acquisition signal. Even when the information is the same, the timing at which the predetermined information is set by the output setting means can be different from the timing at which the predetermined information is supplied by the supplying means.

なお、「第1対応手段」としては「第1対応部」又は「第1対応端子」が挙げられ、「第2対応手段」としては「第2対応部」又は「第2対応端子」が挙げられる。   The “first corresponding means” includes “first corresponding part” or “first corresponding terminal”, and the “second corresponding means” includes “second corresponding part” or “second corresponding terminal”. It is done.

特徴B6.前記制御実行手段は、
前記供給手段により供給された前記所定情報に対して所定処理を実行することで異なる情報を生成する生成手段(CPUコア102におけるステップS514の処理を実行する機能)と、
当該生成手段により生成された前記異なる情報が前記出力手段に対して設定されるようにする手段(CPUコア102におけるステップS518の処理を実行する機能)と、
を備えていることを特徴とする特徴B1乃至B5のいずれか1に記載の遊技機。
Feature B6. The control execution means includes
Generating means for generating different information by executing predetermined processing on the predetermined information supplied by the supplying means (function for executing the process of step S514 in the CPU core 102);
Means for causing the different information generated by the generating means to be set for the output means (function for executing the processing of step S518 in the CPU core 102);
A gaming machine according to any one of features B1 to B5, characterized by comprising:

特徴B6によれば、制御実行手段は既に出力手段に設定した所定情報を加工することにより異なる情報を生成し、その異なる情報を出力手段に設定することが可能となる。   According to the feature B6, the control execution unit can generate different information by processing the predetermined information already set in the output unit, and set the different information in the output unit.

なお、特徴B1〜B6の構成に対して、特徴A1〜A8、特徴B1〜B6、特徴C1〜C6のうちいずれか1又は複数の構成を適用してもよい。これにより、その組み合わせた構成による相乗的な効果を奏することが可能となる。   Note that one or more of the features A1 to A8, the features B1 to B6, and the features C1 to C6 may be applied to the features B1 to B6. Thereby, it becomes possible to produce a synergistic effect by the combined configuration.

<特徴C群>
特徴C1.所定伝送経路(データバスDB)を利用して情報の入力及び出力を行う制御手段(CPU101)と、
当該制御手段に設けられた選択信号用手段(チップセレクト端子CS0)から選択信号(チップセレクト信号)が出力されている場合に、前記所定伝送経路から取得した所定情報を出力手段(出力ポート62b)に設定する出力用設定手段(外部出力用ラッチ回路161)と、
前記出力手段に設定された前記所定情報に対応する動作を実行する動作実行手段(特電用の駆動部32b、普電用の駆動部34b、特図表示部37a、特図保留表示部37b、普図表示部38a、普図保留表示部38bなど)と、
を備えた遊技機において、
前記制御手段は、
前記所定情報の前記出力手段への出力を可能とする情報出力手段を有する制御実行手段(CPUコア102)と、
前記情報出力手段から出力された前記所定情報を取得し、その取得した前記所定情報を前記制御実行手段に供給する供給手段(内部出力用ラッチ回路162及び内部入力用ラッチ回路163)と、
を備えていることを特徴とする遊技機。
<Feature C group>
Feature C1. Control means (CPU 101) for inputting and outputting information using a predetermined transmission path (data bus DB);
When the selection signal (chip select signal) is output from the selection signal means (chip select terminal CS0) provided in the control means, the predetermined information acquired from the predetermined transmission path is output means (output port 62b). Output setting means (external output latch circuit 161) for setting to
Operation executing means for executing an operation corresponding to the predetermined information set in the output means (a special electric drive unit 32b, a general electric drive unit 34b, a special figure display unit 37a, a special figure hold display unit 37b, A figure display unit 38a, a general map hold display unit 38b, etc.),
In a gaming machine equipped with
The control means includes
Control execution means (CPU core 102) having information output means for enabling output of the predetermined information to the output means;
Supply means (internal output latch circuit 162 and internal input latch circuit 163) for acquiring the predetermined information output from the information output means and supplying the acquired predetermined information to the control execution means;
A gaming machine characterized by comprising:

特徴C1によれば、出力手段に設定された所定情報が制御実行手段に供給される。これにより、出力手段に設定する所定情報を別保存したり、再度読み出したりしなくても、その所定情報を制御実行手段において再度読み出して利用することが可能となる。また、供給手段は制御手段に内蔵されているため、供給手段を動作させるための手段を制御手段において用意する必要が生じない。よって、制御手段の端子などの数の増加を抑えながら、所定情報を制御実行手段において再度読み出して利用することが可能となる。   According to the feature C1, the predetermined information set in the output unit is supplied to the control execution unit. This makes it possible to read and use the predetermined information again in the control execution unit without separately storing the predetermined information set in the output unit or reading it again. Further, since the supply means is built in the control means, it is not necessary to prepare means for operating the supply means in the control means. Therefore, it is possible to read and use the predetermined information again in the control execution unit while suppressing an increase in the number of terminals of the control unit.

なお、「選択信号用手段」としては「選択部」又は「選択端子」が挙げられる。   The “selection signal means” includes “selection unit” or “selection terminal”.

特徴C2.前記供給手段は、前記制御実行手段の制御に基づき前記供給手段に入力用取得信号が入力されている場合に前記所定情報を前記制御実行手段に供給することを特徴とする特徴C1に記載の遊技機。   Feature C2. The game according to claim C1, wherein the supply means supplies the predetermined information to the control execution means when an input acquisition signal is input to the supply means based on the control of the control execution means. Machine.

特徴C2によれば、制御実行手段において好ましいタイミングで供給手段から制御実行手段に所定情報が供給されるようにすることが可能となる。   According to the feature C2, it is possible to supply predetermined information to the control execution unit from the supply unit at a preferable timing in the control execution unit.

特徴C3.前記所定伝送経路は、前記制御実行手段への情報の伝送及び前記制御実行手段からの情報の伝送を可能とするものであり、
前記供給手段は、前記所定伝送経路から取得した前記所定情報を前記制御実行手段に供給すべく前記所定伝送経路に供給することを特徴とする特徴C1又はC2に記載の遊技機。
Feature C3. The predetermined transmission path enables transmission of information to the control execution unit and transmission of information from the control execution unit,
The gaming machine according to claim C1 or C2, wherein the supply means supplies the predetermined information acquired from the predetermined transmission path to the predetermined transmission path so as to be supplied to the control execution means.

特徴C3によれば、出力手段に所定情報を設定するための所定伝送経路を利用して所定情報を制御実行手段に供給することが可能となる。   According to the feature C3, it is possible to supply the predetermined information to the control execution unit using a predetermined transmission path for setting the predetermined information in the output unit.

特徴C4.前記出力用設定手段は、出力用取得信号が入力されている場合に、前記所定伝送経路から取得した前記所定情報を前記出力手段に設定し、
前記供給手段は、入力用取得信号が入力されている場合に前記所定情報を前記制御実行手段に供給すべく前記所定伝送経路に供給し、
前記制御実行手段から所定指定情報(アドレスデータ)が出力されている場合に、前記出力用設定手段に前記出力用取得信号を出力する第1出力対応手段(合成回路177)と、
前記制御実行手段から前記所定指定情報が出力されている場合に、前記供給手段に前記入力用取得信号を出力する第2出力対応手段(合成回路187)と、
を備えていることを特徴とする特徴C3に記載の遊技機。
Feature C4. The output setting means sets the predetermined information acquired from the predetermined transmission path to the output means when an output acquisition signal is input,
The supply means supplies the predetermined information to the predetermined transmission path to supply the predetermined information to the control execution means when an input acquisition signal is input,
First output corresponding means (combining circuit 177) for outputting the output acquisition signal to the output setting means when predetermined designation information (address data) is output from the control execution means;
Second output corresponding means (combining circuit 187) for outputting the input acquisition signal to the supply means when the predetermined designation information is outputted from the control execution means;
The gaming machine according to Feature C3, comprising:

特徴C4によれば、出力用設定手段は出力用取得信号が入力されている場合に出力手段に対して所定情報を設定し、供給手段は入力用取得信号が入力されている場合に制御実行手段に所定情報を供給するため、所定情報の出力手段への設定タイミングと所定情報の制御実行手段への供給タイミングとを好ましいものとすることが可能となる。この場合に、出力用設定手段に出力用取得信号を出力させるために制御実行手段から出力される所定指定情報と、供給手段に入力用取得信号を出力させるために制御実行手段から出力される所定指定情報とが同一である。これにより、出力手段に所定情報を設定するために使用される所定指定情報を利用して、当該所定情報を制御実行手段に供給させることが可能となる。   According to the feature C4, the output setting unit sets predetermined information to the output unit when the output acquisition signal is input, and the supply unit controls the execution unit when the input acquisition signal is input. Therefore, it is possible to make the setting timing of the predetermined information to the output means and the supply timing of the predetermined information to the control execution means preferable. In this case, predetermined designation information output from the control execution means for causing the output setting means to output the output acquisition signal, and predetermined output from the control execution means for causing the supply means to output the input acquisition signal. The specified information is the same. This makes it possible to supply the control execution means with the predetermined information using the predetermined designation information used for setting the predetermined information in the output means.

特徴C5.前記制御実行手段は、
前記出力用設定手段による前記所定情報の設定を行わせる場合に第1信号を出力するための第1対応手段(WR端子)と、
前記供給手段による前記所定情報の供給を行わせる場合に第2信号を出力するための第2対応手段(RD端子)と、
を備え、
前記第1出力対応手段は前記第1信号が出力されている場合に、前記出力用設定手段に前記出力用取得信号を出力し、
前記第2出力対応手段は前記第2信号が出力されている場合に、前記供給手段に前記入力用取得信号を出力することを特徴とする特徴C4に記載の遊技機。
Feature C5. The control execution means includes
First corresponding means (WR terminal) for outputting a first signal when the predetermined information is set by the output setting means;
Second response means (RD terminal) for outputting a second signal when the supply means supplies the predetermined information;
With
The first output corresponding means outputs the output acquisition signal to the output setting means when the first signal is output;
The game machine according to C4, wherein the second output corresponding means outputs the input acquisition signal to the supply means when the second signal is output.

特徴C5によれば、制御実行手段から第1信号が出力されている場合に出力用取得信号が出力される一方、制御実行手段から第2信号が出力されている場合に入力用取得信号が出力される。これにより、出力用設定手段に出力用取得信号を出力させるために制御実行手段から出力される所定指定情報と、供給手段に入力用取得信号を出力させるために制御実行手段から出力される所定指定情報とが同一である構成であっても、出力用設定手段による所定情報の設定が行われるタイミングと、供給手段による所定情報の供給が行われるタイミングとを異ならせることが可能となる。   According to the feature C5, the output acquisition signal is output when the first signal is output from the control execution unit, while the input acquisition signal is output when the second signal is output from the control execution unit. Is done. Thus, the predetermined designation information output from the control execution means for causing the output setting means to output the output acquisition signal, and the predetermined designation output from the control execution means for causing the supply means to output the input acquisition signal. Even when the information is the same, the timing at which the predetermined information is set by the output setting means can be different from the timing at which the predetermined information is supplied by the supplying means.

なお、「第1対応手段」としては「第1対応部」又は「第1対応端子」が挙げられ、「第2対応手段」としては「第2対応部」又は「第2対応端子」が挙げられる。   The “first corresponding means” includes “first corresponding part” or “first corresponding terminal”, and the “second corresponding means” includes “second corresponding part” or “second corresponding terminal”. It is done.

特徴C6.前記制御実行手段は、
前記供給手段により供給された前記所定情報に対して所定処理を実行することで異なる情報を生成する生成手段(CPUコア102におけるステップS514の処理を実行する機能)と、
当該生成手段により生成された前記異なる情報が前記出力手段に対して設定されるようにする手段(CPUコア102におけるステップS518の処理を実行する機能)と、
を備えていることを特徴とする特徴C1乃至C5のいずれか1に記載の遊技機。
Feature C6. The control execution means includes
Generating means for generating different information by executing predetermined processing on the predetermined information supplied by the supplying means (function for executing the process of step S514 in the CPU core 102);
Means for causing the different information generated by the generating means to be set for the output means (function for executing the processing of step S518 in the CPU core 102);
The gaming machine according to any one of features C1 to C5, comprising:

特徴C6によれば、制御実行手段は既に出力手段に設定した所定情報を加工することにより異なる情報を生成し、その異なる情報を出力手段に設定することが可能となる。   According to the feature C6, the control execution unit can generate different information by processing the predetermined information already set in the output unit, and set the different information in the output unit.

なお、特徴C1〜C6の構成に対して、特徴A1〜A8、特徴B1〜B6、特徴C1〜C6のうちいずれか1又は複数の構成を適用してもよい。これにより、その組み合わせた構成による相乗的な効果を奏することが可能となる。   Note that one or more configurations of the features A1 to A8, the features B1 to B6, and the features C1 to C6 may be applied to the configurations of the features C1 to C6. Thereby, it becomes possible to produce a synergistic effect by the combined configuration.

上記特徴A群、上記特徴B群及び上記特徴C群に係る発明によれば、以下の課題を解決することが可能である。   According to the invention relating to the feature A group, the feature B group, and the feature C group, it is possible to solve the following problems.

遊技機の一種として、パチンコ遊技機やスロットマシン等が知られている。これらの遊技機は、CPUなどの制御素子、ROMなどの読み出し専用の記憶素子及びRAMなどの読み書き両用の記憶素子などを備えている。制御素子は、読み書き両用の記憶素子への情報の書き込み及び当該記憶素子からの情報の読み出しを行いながら、読み出し専用の記憶素子から読み出したプログラムに従って処理を実行する。この処理の実行に際しては、制御素子に対してセンサなどからの情報の入力が行われるとともに、電動アクチュエータや発光素子などに対する制御素子からの情報の出力が行われる。なお、制御素子、読み出し専用の記憶素子及び読み書き両用の記憶素子などが1チップ化されたものも知られている。   As a kind of gaming machine, a pachinko gaming machine, a slot machine, and the like are known. These gaming machines include a control element such as a CPU, a read-only storage element such as a ROM, and a read / write storage element such as a RAM. The control element executes processing in accordance with a program read from the read-only storage element while writing information to the read / write storage element and reading information from the storage element. When this process is executed, information is input from the sensor or the like to the control element, and information is output from the control element to the electric actuator or the light emitting element. It is also known that a control element, a read-only memory element, a read / write memory element, and the like are integrated into one chip.

ここで、上記例示等のような遊技機においては、制御を好適に行うことが可能な構成が求められており、この点について未だ改良の余地がある。   Here, in the gaming machine such as the above-described example, a configuration capable of suitably performing control is required, and there is still room for improvement in this respect.

以下に、以上の各特徴を適用し得る又は各特徴に適用される遊技機の基本構成を示す。   The basic configuration of the gaming machine to which the above features can be applied or applied to each feature is shown below.

パチンコ遊技機:遊技者が操作する操作手段と、その操作手段の操作に基づいて遊技球を発射する遊技球発射手段と、その発射された遊技球を所定の遊技領域に導く球通路と、遊技領域内に配置された各遊技部品とを備え、それら各遊技部品のうち所定の通過部を遊技球が通過した場合に遊技者に特典を付与する遊技機。   Pachinko gaming machine: operation means operated by a player, game ball launching means for launching a game ball based on the operation of the operation means, a ball path for guiding the launched game ball to a predetermined game area, and a game A gaming machine that includes each gaming component arranged in an area, and gives a bonus to a player when a gaming ball passes through a predetermined passing portion of each gaming component.

スロットマシン等の回胴式遊技機:複数の絵柄を可変表示させる絵柄表示装置を備え、始動操作手段の操作に起因して前記複数の絵柄の可変表示が開始され、停止操作手段の操作に起因して又は所定時間経過することにより前記複数の絵柄の可変表示が停止され、その停止後の絵柄に応じて遊技者に特典を付与する遊技機。   Revolving type gaming machine such as a slot machine: equipped with a picture display device for variably displaying a plurality of pictures, variably starting display of the plurality of pictures due to the operation of the start operation means, and due to the operation of the stop operation means In addition, the game machine is configured such that the variable display of the plurality of patterns is stopped when a predetermined time elapses and a privilege is given to the player according to the pattern after the stop.

10…パチンコ機、32b…特電用の駆動部、34b…普電用の駆動部、37a…特図表示部、37b…特図保留表示部、38a…普図表示部、38b…普図保留表示部、62b…出力ポート、63…ROM、102…CPUコア、103…入力用ラッチ回路、104…出力用ラッチ回路、113…対象選択回路、113a…対象選択用論理回路、114…IO用アドレスデコーダ、115…メモリ用アドレスデコーダ、116…アドレス用回路、117…合成回路、121a…出力用ラッチ回路、122a〜122c…入力用ラッチ回路、133…対象選択回路、134…IO用アドレスデコーダ、135…メモリ用アドレスデコーダ、136…アドレス用回路、137…合成回路、147…合成回路、161…外部出力用ラッチ回路、162…内部出力用ラッチ回路、163…内部入力用ラッチ回路、173…対象選択回路、174…IO用アドレスデコーダ、175…メモリ用アドレスデコーダ、176…アドレス用回路、177…合成回路、187…合成回路、A0〜A15…アドレス端子、CS0…チップセレクト端子、DB…データバス、L1〜L3…データ用経路。   DESCRIPTION OF SYMBOLS 10 ... Pachinko machine, 32b ... Drive part for special electricity, 34b ... Drive part for ordinary electricity, 37a ... Special figure display part, 37b ... Special figure hold display part, 38a ... General figure display part, 38b ... General figure hold display , 62b ... output port, 63 ... ROM, 102 ... CPU core, 103 ... input latch circuit, 104 ... output latch circuit, 113 ... target selection circuit, 113a ... target selection logic circuit, 114 ... IO address decoder 115, memory address decoder, 116, address circuit, 117, synthesis circuit, 121a, output latch circuit, 122a to 122c, input latch circuit, 133, target selection circuit, 134, IO address decoder, 135,. Memory address decoder, 136... Address circuit, 137... Synthesis circuit, 147... Synthesis circuit, 161. DESCRIPTION OF SYMBOLS 2 ... Internal output latch circuit, 163 ... Internal input latch circuit, 173 ... Object selection circuit, 174 ... IO address decoder, 175 ... Memory address decoder, 176 ... Address circuit, 177 ... Synthesis circuit, 187 ... Synthesis Circuits A0 to A15... Address terminals, CS0... Chip select terminals, DB... Data bus, L1 to L3.

Claims (8)

命令を予め記憶する記憶手段と、
当該記憶手段から読み出した前記命令を実行する制御実行手段と、
を備えた遊技機において、
前記制御実行手段は、
第1命令を実行する場合に第1命令対応信号を出力するための第1信号出力手段と、
前記第1命令とは情報量が異なる第2命令を実行する場合に第2命令対応信号を出力するための第2信号出力手段と、
を備え、
当該遊技機は、
少なくとも前記第1命令対応信号が出力されている場合及び前記第2命令対応信号が出力されている場合のいずれであっても、特定信号を出力する特定出力手段と、
前記特定信号が出力されている場合に、情報の入力及び出力のうち少なくとも一方である特定の動作状態となる動作手段と、
を備えていることを特徴とする遊技機。
Storage means for storing instructions in advance;
Control execution means for executing the instructions read from the storage means;
In a gaming machine equipped with
The control execution means includes
First signal output means for outputting a first instruction corresponding signal when executing the first instruction;
A second signal output means for outputting a second command corresponding signal when executing a second command having a different amount of information from the first command;
With
The gaming machine is
A specific output means for outputting a specific signal at least in the case where the first command corresponding signal is output and in the case where the second command corresponding signal is output;
When the specific signal is output, an operation means that is in a specific operation state that is at least one of information input and output; and
A gaming machine characterized by comprising:
前記第1命令対応信号又は前記第2命令対応信号が出力されている場合に所定信号を出力する所定出力手段を備え、
前記特定出力手段は、前記所定信号が出力されている場合に前記特定信号を出力することを特徴とする請求項1に記載の遊技機。
A predetermined output means for outputting a predetermined signal when the first instruction corresponding signal or the second instruction corresponding signal is output;
The gaming machine according to claim 1, wherein the specific output means outputs the specific signal when the predetermined signal is output.
前記所定出力手段は、前記第1信号出力手段と電気的に接続される入力手段及び前記第2信号出力手段と電気的に接続される入力手段を有し前記第1命令対応信号及び前記第2命令対応信号のいずれかが入力されている場合に前記所定信号を出力する論理回路を備えていることを特徴とする請求項2に記載の遊技機。   The predetermined output means has input means electrically connected to the first signal output means and input means electrically connected to the second signal output means, and the first command corresponding signal and the second The gaming machine according to claim 2, further comprising a logic circuit that outputs the predetermined signal when any one of the instruction corresponding signals is input. 前記第1命令はロード命令であり、前記第2命令はイン命令及びアウト命令のいずれかであることを特徴とする請求項1乃至3のいずれか1に記載の遊技機。   4. The gaming machine according to claim 1, wherein the first instruction is a load instruction, and the second instruction is either an in instruction or an out instruction. 5. 前記制御実行手段は、
動作対象を指定する指定情報を出力するための指定情報出力手段と、
前記第1命令を実行することで前記動作手段を前記特定の動作状態とする場合に第1指定情報を前記指定情報出力手段から出力し、前記第2命令を実行することで前記動作手段を前記特定の動作状態とする場合に第2指定情報を前記指定情報出力手段から出力する指定情報出力手段と、
を備え、
前記特定出力手段は、前記第1指定情報が出力されている場合及び前記第2指定情報が出力されている場合のいずれであっても前記特定信号を出力することを特徴とする請求項1乃至4のいずれか1に記載の遊技機。
The control execution means includes
A designation information output means for outputting designation information for designating an operation target;
When the operation unit is set to the specific operation state by executing the first instruction, first designation information is output from the designation information output unit, and the operation unit is executed by executing the second instruction. Designation information output means for outputting the second designation information from the designation information output means in the case of a specific operation state;
With
2. The specific output unit outputs the specific signal regardless of whether the first designation information is output or the second designation information is output. 4. The gaming machine according to any one of four.
前記第1指定情報と前記第2指定情報とは情報量が異なることを特徴とする請求項5に記載の遊技機。   The gaming machine according to claim 5, wherein the first designation information and the second designation information are different in information amount. 前記第1指定情報又は前記第2指定情報が出力されている場合に指定対応信号を出力する指定対応手段を備え、
前記特定出力手段は、前記指定対応信号が出力されている場合に前記特定信号を出力することを特徴とする請求項5又は6に記載の遊技機。
A designation corresponding means for outputting a designation correspondence signal when the first designation information or the second designation information is output;
The gaming machine according to claim 5 or 6, wherein the specific output means outputs the specific signal when the designation corresponding signal is output.
前記指定対応手段は、
前記第1指定情報が出力されている場合に第1対応信号を出力する手段と、
前記第2指定情報が出力されている場合に第2対応信号を出力する手段と、
前記第1対応信号又は前記第2対応信号が出力されている場合に前記指定対応信号を出力する手段と、
を備えていることを特徴とする請求項7に記載の遊技機。
The designation corresponding means is
Means for outputting a first corresponding signal when the first designation information is output;
Means for outputting a second corresponding signal when the second designation information is output;
Means for outputting the designated corresponding signal when the first corresponding signal or the second corresponding signal is output;
The gaming machine according to claim 7, comprising:
JP2015006943A 2015-01-16 2015-01-16 Game machine Active JP6443065B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015006943A JP6443065B2 (en) 2015-01-16 2015-01-16 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015006943A JP6443065B2 (en) 2015-01-16 2015-01-16 Game machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018221815A Division JP2019030753A (en) 2018-11-28 2018-11-28 Game machine

Publications (2)

Publication Number Publication Date
JP2016131620A JP2016131620A (en) 2016-07-25
JP6443065B2 true JP6443065B2 (en) 2018-12-26

Family

ID=56434820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015006943A Active JP6443065B2 (en) 2015-01-16 2015-01-16 Game machine

Country Status (1)

Country Link
JP (1) JP6443065B2 (en)

Cited By (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
JP2020138066A (en) * 2020-06-09 2020-09-03 株式会社三洋物産 Game machine

Cited By (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
JP2020138066A (en) * 2020-06-09 2020-09-03 株式会社三洋物産 Game machine

Also Published As

Publication number Publication date
JP2016131620A (en) 2016-07-25

Similar Documents

Publication Publication Date Title
JP5903799B2 (en) Game machine
JP2020018912A (en) Game machine
JP6520132B2 (en) Gaming machine
JP2014061045A (en) Game machine
JP6119157B2 (en) Game machine
JP6443065B2 (en) Game machine
JP5768508B2 (en) Game machine
JP6520131B2 (en) Gaming machine
JP6996589B2 (en) Pachinko machine
JP5853396B2 (en) Game machine
JP2019030753A (en) Game machine
JP6164275B2 (en) Game machine
JP2020127811A (en) Game machine
JP5979285B2 (en) Game machine
JP2019115817A (en) Game machine
JP2019115818A (en) Game machine
JP2020138066A (en) Game machine
JP5853395B2 (en) Game machine
JP6332312B2 (en) Game machine
JP2021118965A (en) Game machine
JP2021118964A (en) Game machine
JP6973520B2 (en) Pachinko machine
JP6354898B2 (en) Game machine
JP2022103395A (en) Game machine
JP2019171135A (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181025

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181112

R150 Certificate of patent or registration of utility model

Ref document number: 6443065

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250