JP2019115817A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2019115817A
JP2019115817A JP2019084889A JP2019084889A JP2019115817A JP 2019115817 A JP2019115817 A JP 2019115817A JP 2019084889 A JP2019084889 A JP 2019084889A JP 2019084889 A JP2019084889 A JP 2019084889A JP 2019115817 A JP2019115817 A JP 2019115817A
Authority
JP
Japan
Prior art keywords
output
signal
data
address
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2019084889A
Other languages
Japanese (ja)
Inventor
山崎 好男
Yoshio Yamazaki
好男 山崎
岡村 鉉
Gen Okamura
鉉 岡村
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 JP2019084889A priority Critical patent/JP2019115817A/en
Publication of JP2019115817A publication Critical patent/JP2019115817A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a game machine capable of suitably performing control.SOLUTION: A CPU core built into an MPU 62 can execute a load command as well as an in command and an out command when inputting data from an input port 62a and outputting data to an output port 62b. The CPU core outputs an IREQ signal in execution of the in command or the out command, and outputs an MREQ signal in execution of the load command, but a circuit for outputting a chip select signal to an input latch circuit or an output latch circuit outputs a chip select signal even in a situation in that either the IREQ signal or the MREQ signal is being outputted. Data outputted toward the output port 62b via a data bus from the CPU core are configured to be supplied to the CPU core.SELECTED DRAWING: Figure 4

Description

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

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

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

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

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

上記課題を解決すべく請求項1記載の発明は、出力手段に対して所定情報が設定されるようにする制御実行手段と、
前記出力手段に設定された前記所定情報に対応する動作を実行する動作実行手段と、
前記出力手段に設定される前記所定情報を当該所定情報が伝送される伝送経路から取得し、その取得した前記所定情報を前記制御実行手段に供給する供給手段と、
を備えていることを特徴とする。
In order to solve the above problems, the invention according to claim 1 comprises control execution means for setting predetermined information to the output means;
Operation execution means for executing an operation corresponding to the predetermined information set in the output means;
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;
It is characterized by having.

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

第1の実施形態におけるパチンコ機を示す斜視図である。It is a perspective view showing a pachinko machine in a 1st embodiment. パチンコ機の主要な構成を分解して示す斜視図である。It is a perspective view which disassembles and shows the main structure 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 the etc. lottery. 主制御装置のMPUにて実行されるメイン処理を示すフローチャートである。It is a flowchart which shows the main processing performed by MPU of a main control apparatus. 主制御装置のMPUにて実行されるタイマ割込み処理を示すフローチャートである。It is a flowchart which shows the timer interruption process performed by MPU of a main control apparatus. MPUに設けられたCPUの電気的構成を説明するためのブロック図である。It is a block diagram for demonstrating the electric constitution of CPU provided in MPU. (a)入力用ラッチ回路のブロック図であり、(b)出力用ラッチ回路のブロック図である。(A) It is a block diagram of the latch circuit for input, (b) It is a block diagram of the latch circuit for output. ROMにおいて命令が記憶されているエリアを説明するための説明図である。It is explanatory drawing for demonstrating the area where instruction | indication is memorize | stored in ROM. (a)2バイト命令であるイン命令及びアウト命令を説明するための説明図であり、(b)3バイト命令であるロード命令を説明するための説明図である。(A) is an explanatory diagram for explaining in-instructions and out-instructions that are 2-byte instructions, and (b) is an explanatory diagram for explaining load instructions that are 3-byte instructions. IO空間及びメモリ空間を説明するためのブロック図である。It is a block diagram for demonstrating IO space and memory space. メモリ空間を説明するための説明図である。It is an explanatory view for explaining a memory space. 入力ポートからのデータの入力を行う入力用ラッチ回路に対応するチップセレクト端子からチップセレクト信号を出力するための電気的構成を示すブロック図である。FIG. 6 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 | tip select signal is output from a chip | tip select terminal. CPUコアにて実行される命令実行処理を示すフローチャートである。It is a flowchart which shows the instruction execution process performed by CPU core. CPUコアにて実行される3バイト命令用処理を示すフローチャートである。It is a flowchart which shows the process for 3-byte instructions performed by CPU core. 第2の実施形態におけるCPUの電気的構成を説明するための説明図である。It is explanatory drawing for demonstrating the electric constitution of CPU in 2nd Embodiment. CPUにおいて出力用ラッチ回路にチップセレクト信号を出力するための出力用回路、及びCPUにおいて入力用ラッチ回路にチップセレクト信号を出力するための入力用回路を示すブロック図である。FIG. 6 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. (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) to (a8) is an explanatory diagram for explaining the contents of data set in the output area, and (b1) to (b8) an explanation for describing the light emission mode of the first to eighth light emitting units FIG. 主制御装置のMPUにて実行される特図表示部の制御処理を示すフローチャートである。It is a flowchart which shows the control processing of the special figure display part performed by 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. 6 is a block diagram showing an electrical configuration for outputting a chip select signal to a corresponding input latch circuit when reading data 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 based on the drawings. FIG. 1 is a perspective view of a 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 addition, in FIG. 2, the structure in the game area of the pachinko machine 10 is abbreviate | omitted for convenience.

パチンコ機10は、図1に示すように、当該パチンコ機10の外殻を形成する外枠11と、この外枠11に対して前方に回動可能に取り付けられた遊技機本体12とを有する。外枠11は木製の板材を四辺に連結し構成されるものであって矩形枠状をなしている。パチンコ機10は、外枠11を島設備に取り付け固定することにより、遊技ホールに設置される。なお、パチンコ機10において外枠11は必須の構成ではなく、遊技ホールの島設備に外枠11が備え付けられた構成としてもよい。   As shown in FIG. 1, the pachinko machine 10 has an outer frame 11 forming an outer shell of the pachinko machine 10 and a gaming machine main body 12 rotatably attached to the outer frame 11 in the forward direction. . The outer frame 11 is configured by connecting wooden plate members to four sides, and has a rectangular frame shape. The pachinko machine 10 is installed in the game hall by fixing the outer frame 11 to the island facility. In the pachinko machine 10, the outer frame 11 is not an essential component, and the outer frame 11 may be provided on an 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 rotatably supported relative to the outer frame 11. In detail, the inner frame 13 is pivotable forward with the left side as the pivoting base end and the right side as the pivoting tip side in front view.

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

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

次に、遊技機本体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 mainly includes a resin base 21 whose outer shape is substantially the same as the outer frame 11. A substantially elliptical window hole 23 is formed in the central portion of the resin base 21. A game board 24 is removably attached to the resin base 21. The game board 24 is made of plywood, and the game area PA formed on the front of the game board 24 is exposed to the front side of the inner frame 13 through the window hole 23 of the resin base 21.

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

遊技盤24には、遊技領域PAの外縁の一部を区画するようにして内レール部25と外レール部26とが取り付けられており、これら内レール部25と外レール部26とにより誘導手段としての誘導レールが構成されている。樹脂ベース21において窓孔23の下方に取り付けられた遊技球発射機構27(図2参照)から発射された遊技球は誘導レールにより遊技領域PAの上部に案内されるようになっている。   The inner rail portion 25 and the 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, and the inner rail portion 25 and the outer rail portion 26 guide means Guide rails are configured as. The game balls fired from the game ball launch mechanism 27 (see FIG. 2) attached below the window holes 23 in the resin base 21 are guided to the top of the game area PA by the guide rails.

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

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

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

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

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

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

第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 an operating port device and installed on the game board 24. The first operation port 33 and the second operation port 34 are both open upward. Further, both operation ports 33 and 34 are aligned in the vertical direction so that the first operation port 33 is on the upper side. The second operating port 34 is provided with a general-purpose utility product 34 a as a guide piece consisting of a pair of left and right movable pieces. In the closed state of the commercial power item 34a, the gaming ball can not win in the second operation port 34, and when the common electric symbol 34a is in the open state, it is possible to win the second operating port 34.

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

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

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

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

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

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

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

図柄表示装置41について詳細には、図柄表示装置41は、液晶ディスプレイを備えた液晶表示装置として構成されており、後述する表示制御装置により表示内容が制御される。なお、図柄表示装置41は、液晶表示装置に限定されることはなく、プラズマディスプレイ装置、有機EL表示装置又はCRTといった表示画面を有する他の表示装置であってもよく、ドットマトリクス表示器であってもよい。   In detail, the symbol display device 41 is configured as a liquid crystal display device having 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 the special pattern display or the predetermined display is performed on the special view display unit 37a based on the winning on the first operation opening 33 or the winning on the second operation opening 34, the symbol is displayed accordingly. Variable display or predetermined display is performed. For example, on the display surface 41a of the symbol display device 41, three symbol rows of the upper row, middle row and lower row are set as a plurality of display areas, and the main characters with numbers "1" to "9" attached in each symbol row The symbols are scrolled in an ascending or descending order. In this scroll display, scroll display in all symbol rows is first started, and scroll display is switched from standby display to standby display in the order of upper symbol row → lower symbol row → middle symbol row, and finally predetermined in each symbol row It is ended in the state where the symbol is displayed still. Then, for example, in the game round where the game result is a big hit result, the symbols of the predetermined combination are stopped and displayed on the effective line preset on the display surface 41 a of the symbol display device 41.

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

第1作動口33への入賞又は第2作動口34への入賞に基づく当たり抽選にて大当たり当選となった場合には、特電入賞装置32への入賞が可能となる開閉実行モードへ移行する。特電入賞装置32は、遊技盤24の背面側へと通じる図示しない大入賞口を備えているとともに、当該大入賞口を開閉する開閉扉32aを備えている。開閉扉32aは、閉鎖状態及び開放状態のいずれかに配置される。具体的には、開閉扉32aは、通常は遊技球が入賞できない閉鎖状態になっており、内部抽選において開閉実行モードへの移行に当選した場合に遊技球が入賞可能な開放状態に切り換えられるようになっている。ちなみに、開閉実行モードとは、当たり結果となった場合に移行することとなるモードである。なお、閉鎖状態では入賞が不可ではないが開放状態よりも入賞が発生しづらい状態となる構成としてもよい。   When the jackpot is won in the winning lottery based on the winning of the first operation opening 33 or the winning of the second operation opening 34, transition to the open / close execution mode in which winning to the special power prize device 32 is possible. The special power winning device 32 has 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 disposed in either the closed state or the open state. Specifically, the open / close door 32a is normally in a closed state in which the game ball can not be won, and is switched to an open state in which the game ball can be won if the shift to the open / close execution mode is won in the internal lottery. It has become. By the way, the open / close execution mode is a mode in which transition is made when a hit result is obtained. In the closed state, although it is not impossible to win, it may be in a state in which the 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, a front door frame 14 is provided so as to cover the entire front side of the inner frame 13 formed by attaching the gaming board 24 of the above configuration to the resin base 21. As shown in FIG. 1, the front door frame 14 is formed with a window portion 51 that enables the player to view substantially the entire game area PA from the front. The window portion 51 has a substantially elliptical shape, and the window panel 52 is fitted therein. The window panel 52 is formed to be colorless and transparent by glass, but is not limited to this and may be formed to be colorless and transparent by a synthetic resin, and the game area PA may be made through the window panel 52 from the front of the pachinko machine 10 If it is visible, it may be colored and transparent.

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

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

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

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

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

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

<パチンコ機10の電気的構成>
図4は、パチンコ機10の電気的構成を示すブロック図である。
<Electric Configuration of Pachinko Machine 10>
FIG. 4 is a block diagram showing the 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 comprises a main control board 61 which controls the main control of the game, and a power failure monitoring board 65 which monitors the power supply. The MPU 62 is mounted on the main control board 61. The MPU 62 is a ROM 63 storing various control programs to be executed by the MPU 62 and fixed value data, and a memory for temporarily storing various data etc. 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, etc. are incorporated. The fact that the ROM 63 and the RAM 64 are integrated into one chip with respect to the MPU 62 is not an essential configuration, and each may be configured as an individual chip. 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 control device 77 provided in the main control device 60 are connected to an input port 62 a of the MPU 62. A power and emission control device 78 having a function of supplying operating power is connected to the power failure monitoring board 65, and power is supplied to the MPU 62 through 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への入賞に基づいて各種抽選が実行される。   In addition, various sensors such as various winning detection sensors 66a to 66e are connected to the input port 62a of the MPU 62. The various winning detection sensors 66a to 66e are provided in a one-to-one correspondence with the winning correspondence entry portion such as the general winning opening 31, the special power winning device 32, the first operation opening 33, the second operation opening 34 and the through gate 35. A detection sensor is included, and the MPU 62 makes a winning determination on each ball entry unit. Further, in the MPU 62, various types of lottery are executed based on the winning on the first operation port 33, and, in addition, various types of lottery are executed based on the winning on the second operation port 34.

MPU62の出力ポート62bには、停電監視基板65、払出制御装置77及び音声発光制御装置80が接続されている。払出制御装置77には、例えば上記入賞対応入球部への入賞判定結果に基づいて賞球コマンドが出力される。音声発光制御装置80には、変動用コマンド、種別コマンド及びオープニングコマンドなどの各種コマンドが出力される。これら各種コマンドの詳細については後に説明する。なお、MPU62は、音声発光制御装置80に対してパラレル通信でコマンドを送信する。   To the output port 62b of the MPU 62, the power failure monitoring board 65, the payout control device 77, and the sound emission control device 80 are connected. A payout ball command is output to the payout control device 77, for example, based on the result of the winning determination on the winning portion entry portion. The voice light emission control device 80 outputs various commands such as a variation command, a type command, and an opening command. Details of these various commands will be described later. The MPU 62 transmits a command to the sound emission control apparatus 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は各種駆動部及び各種表示部の駆動制御を実行する。   In addition, the drive portion 32b for special power to operate the open / close door 32a of the special power prize device 32 to the output port 62b of the MPU 62, and the drive for general power to operate the general purpose battery 34a of the second operation opening 34 34b, a special drawing unit 37 and a drawing unit 38 are connected. Incidentally, the special drawing unit 37 is provided with a special drawing display unit 37 a and a special drawing reservation display unit 37 b, all of which are connected to the output side of the MPU 62. Similarly, the common drawing unit 38 is provided with a common drawing display unit 38 a and a common drawing reservation display unit 38 b, all of which are connected to the output side of the MPU 62. The main control substrate 61 is provided with various driver circuits, and the MPU 62 executes drive control of various driving 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 open / close execution mode, the MPU 62 executes drive control of the drive unit 32b for special power so that the special power prize device 32 is opened and closed. In addition, when the open state of the common utility player 34a is won, the MPU 62 executes drive control of the common drive unit 34b so that the common utility product 34a is opened and closed. In addition, at each gaming session, the MPU 62 executes display control of the special view display unit 37a. Further, when the lottery result as to whether or not the common use role product 34a is to be opened is specified, the display control of the common view display unit 38a is executed in the MPU 62. In addition, when winning is generated in the first operation port 33 or the second operation port 34, or when the variable display is started in the special view display unit 37a, the display control of the special view suspension display unit 37b is executed in the MPU 62 When the winning on the through gate 35 occurs or when the variable display is started in the common drawing display unit 38a, the display control of the common drawing reservation display unit 38b is executed in the MPU 62.

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

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

音声発光制御装置80は、主制御装置60から受信した各種コマンドに基づいて、前扉枠14に設けられた表示発光部53及びスピーカ部54を駆動制御するとともに、表示制御装置90を制御するものである。表示制御装置90は、音声発光制御装置80から受信したコマンドに基づいて、図柄表示装置41の表示制御を実行する。   The sound emission control device 80 controls the display light emitting unit 53 and the speaker unit 54 provided on the front door frame 14 based on various commands received from the main control device 60 and controls the display control device 90. 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 lottery with MPU 62 of main controller 60>
Next, an electrical configuration for performing various lottery in the MPU 62 of the main control device 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 a variety of counter information during the game to set winning display lottery, setting of display of the special view display unit 37a, setting of symbol display of the symbol display device 41, setting of display of the common view display unit 38a, etc. Specifically, as shown in FIG. 5, when the random number counter C1 used for lottery of occurrence of hit, the big hit type counter C2 used when determining the big hit type, and the symbol display device 41 deviates out The reach random number counter C3 used for the reach occurrence lottery, the random number initial value counter CINI used for setting the initial value of the per random number counter C1, and the variation type for determining the display duration in the special view display unit 37a and the symbol display device 41 The counter CS is used. Furthermore, a common control utility release counter C4 used in the lottery for determining whether the common control utility 34a of the second operation port 34 is to be put into the common use 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 in which 1 is added to the previous value each time it is updated, and after reaching the maximum value, it returns to "0". Each counter is updated at short intervals. The information corresponding to the per random number counter C1, the big hit type counter C2 and the reach random number counter C3 is provided in the RAM 64 as acquisition information storage means when a winning on the first operation port 33 or the second operation port 34 occurs. It is stored in the pending 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 reserve area RE includes a first reserve area RE1, a second reserve area RE2, a third reserve area RE3 and a fourth reserve area RE4, and the winning history to the first operation port 33 or the second operation port 34 In addition, the combination of each numerical information of the per-random number counter C1, the jackpot type counter C2 and the reach random number counter C3 is stored as one of the holding areas RE1 to RE4 as holding information.

この場合、第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, if winnings to the first operation port 33 or the second operation port 34 occur consecutively in a plurality of times in the first holding area RE1 to the fourth holding area RE4, the first holding area RE1 → second Each numerical value information is stored in chronological order in the order of reserved area RE2, third reserved area RE3, and fourth reserved area RE4. By providing four reserve areas RE1 to RE4 as described above, the game ball's winning history of the first operation opening 33 or the second operation opening 34 is reserved and stored up to four at maximum. .

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

実行エリア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 the variable display of the special view display unit 37a is started, and the start of one game cycle is started On the occasion of the above, on the basis of various numerical value information stored in the execution area AE, a judgment of success or failure is performed.

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

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

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

高頻度サポートモードと低頻度サポートモードとでは、普電役物開放カウンタ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 common power open status in the common power open lottery using the common power utility open counter C4 is the same (for example, both are 4/5) In the high-frequency support mode, the number of times the general-purpose product 34a becomes open when the general-purpose open state is won is set to a larger number than in the low-frequency support mode, and one open time is set longer It is done. In this case, when the general electric power release state is won in the high frequency support mode and the open state of the general power utility item 34a occurs a plurality of times, it is from the end of one open state to the start of the next open state. The closing time is set to be shorter than one opening time. Furthermore, in the high frequency support mode, the securing time minimumly secured in performing the next public power release lottery after the first public power release lottery is performed rather than the low frequency support mode One display continuation time in the display unit 38a is set to be 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 in the second operation port 34 is higher than in the low frequency support mode. In other words, in the low frequency support mode, the probability of winning in the first operation port 33 is higher than that of the second operation port 34, but in the high frequency support mode, the second operation is higher than the first operation port 33. There is a high probability that a winning on the mouth 34 will occur. And, when the winning a prize to the 2nd operation opening 34 occurs, because the payout of the game sphere of specified number is executed, in the high frequency support mode, the game while the player does not decrease the ball very much It can be carried out.

なお、高頻度サポートモードを低頻度サポートモードよりも単位時間当たりに普電開放状態となる頻度を高くする上での構成は、上記のものに限定されることはなく、例えば普電開放抽選における普電開放状態当選となる確率を高くする構成としてもよい。また、1回の普電開放抽選が行われてから次の普電開放抽選が行われる上で確保される確保時間(例えば、スルーゲート35への入賞に基づき普図表示部38aにて実行される変動表示の時間)が複数種類用意されている構成においては、高頻度サポートモードでは低頻度サポートモードよりも、短い確保時間が選択され易い又は平均の確保時間が短くなるように設定されていてもよい。さらには、開放回数を多くする、開放時間を長くする、1回の普電開放抽選が行われてから次の普電開放抽選が行われる上で確保される確保時間を短くする、係る確保時間の平均時間を短くする及び当選確率を高くするのうち、いずれか1条件又は任意の組合せの条件を適用することで、低頻度サポートモードに対する高頻度サポートモードの有利性を高めてもよい。   Note that the configuration for increasing the frequency at which the common power release state occurs per unit time in the high-frequency support mode rather than the low-frequency support mode is not limited to the above-described one. It is good also as composition which makes high the probability of being in a state where the general public is released. In addition, a securement time (for example, based on winning on the through gate 35) is performed in the generalization display portion 38a, which is secured when the next general public open lottery is performed after one public open public lottery is performed. In the configuration in which multiple types of variable display time) are prepared, the high frequency support mode is set so that the short securing time is easier to be selected or the average securing time is shorter than the low frequency support mode. It is also good. Furthermore, the number of opening times is increased, the opening time is extended, and the securing time secured in performing the next public power release lottery after the one public power opening lottery is performed, the securing time to be related, The advantage of the high frequency support mode over the low frequency support mode may be enhanced by applying any one condition or any combination of conditions among the shortening of the average time of and the increase of 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 per-random number counter C1 will be described. The per-random number counter C1 is configured to be sequentially incremented by one, for example, within the range of 0 to 599, and return to “0” after reaching the maximum value. In particular, when the per random number counter C1 makes one revolution, the value of the random number initial value counter CINI at that time is read as the initial value of the per random number counter C1. The random number initial value counter CINI is a loop counter similar to the per random number counter C1 (value = 0 to 599). The random number counter C1 is periodically updated, and is stored in the hold storage area 64a of the RAM 64 at the timing when the gaming ball wins the first operation port 33 or the second operation port 34.

大当たり当選となる乱数の値は、ROM63に当否テーブルとして記憶されている。当否テーブルとしては、低確率モード用の当否テーブルと、高確率モード用の当否テーブルとが設定されている。つまり、本パチンコ機10は、当否抽選手段における抽選モードとして、低確率モードと高確率モードとが設定されている。   The value of the random number for winning the jackpot is stored in the ROM 63 as a success or failure table. As the pass / fail table, a pass / fail table for the low probability mode and a pass / fail 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 mode in the hit / fall lottery means.

上記抽選に際して低確率モード用の当否テーブルが参照されることとなる遊技状態下では、大当たり当選となる乱数の数は2個である。一方、上記抽選に際して高確率モード用の当否テーブルが参照されることとなる遊技状態下では、大当たり当選となる乱数の数は20個である。なお、低確率モードよりも高確率モードの方の当選確率が高くなるのであれば、上記当選となる乱数の数は任意である。   Under the gaming state where the low probability mode hit / fail table is referred to at the time of the lottery, the number of random numbers to be a big hit is two. On the other hand, under the gaming state where the high-probability mode hit / fail table is referred to at the time of the lottery, the number of random numbers to be a big hit is twenty. 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 configured to be sequentially incremented by one within the range of 0 to 29 and to return to “0” after reaching the maximum value. The jackpot type counter C2 is periodically updated, and is stored in the hold storage area 64a at a timing when the gaming ball has won 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. These plural jackpot results are (1) the mode of opening and closing control of the special power winning device 32 in the opening and closing execution mode, (2) the lottery mode in the lottery means after completion of the opening and closing execution mode, and (3) the third after opening and closing execution mode A plurality of jackpot results are set by making a difference in the three conditions of the support mode in the common use utility 34 a of the 2 operation port 34.

開閉実行モードにおける特電入賞装置32の開閉制御の態様としては、開閉実行モードが開始されてから終了するまでの間における特電入賞装置32への入賞の発生頻度が相対的に高低となるように高頻度入賞モードと低頻度入賞モードとが設定されている。具体的には、高頻度入賞モード及び低頻度入賞モードのいずれであっても、予め定められた回数のラウンド遊技を上限として実行される。   As an aspect of the open / close control of the special power winning device 32 in the open / close execution mode, the frequency of occurrence of winnings on the special power winning device 32 in the period from the start to the end of the open / close 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, a predetermined number of round games are executed with an upper limit.

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

また、本パチンコ機10では、特電入賞装置32の1回の開放態様が、特電入賞装置32が開放されてから閉鎖されるまでの開放継続時間を相違させて、複数種類設定されている。詳細には、開放継続時間が長時間である29secに設定された長時間態様と、開放継続時間が上記長時間よりも短い短時間である0.06secに設定された短時間態様と、が設定されている。   Further, in the pachinko machine 10, a plurality of types of one-time opening mode of the special electric winning device 32 is set by making the opening continuation time from the opening of the special electric winning device 32 to the closing different. Specifically, a long-time mode in which the opening continuation time is set to 29 sec, which is a long time, and a short-time mode in which the opening continuation time is set to 0.06 sec, which is a short time shorter than the long time, are set. It is done.

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

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

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

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

低確大当たり結果は、開閉実行モードが高頻度入賞モードとなり、さらに開閉実行モードの終了後には、当否抽選モードが低確率モードとなるとともに、サポートモードが高頻度サポートモードとなる大当たり結果である。但し、この高頻度サポートモードは、移行後において遊技回数が終了基準回数(具体的には、100回)に達した場合に低頻度サポートモードに移行する。   The low probability 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 pass / fail lottery mode becomes the low probability mode and the support mode becomes the high frequency support mode. However, in the high-frequency support mode, the transition to the low-frequency support mode is made when the number of games has reached the end reference frequency (specifically, 100 times) after the transition.

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

なお、上記各遊技状態との関係で通常遊技状態とは、開閉実行モードではなく、さらに当否抽選モードが低確率モードであり、サポートモードが低頻度サポートモードである状態をいう。また、遊技結果として、低入賞高確大当たり結果が設定されていない構成としてもよい。   Note that the normal gaming state is not the opening / closing execution mode, but the winning lottery mode is the low probability mode and the support mode is the low frequency support mode, in relation to the above gaming states. Further, as a game result, a configuration may be made in which the low winning high probability big hit result is not set.

振分テーブルでは、「0〜29」の大当たり種別カウンタC2の値のうち、「0〜9」が低確大当たり結果に対応しており、「10〜14」が低入賞高確大当たり結果に対応しており、「15〜29」が最有利大当たり結果に対応している。   In the sorting 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 certain jackpot result “15-29” corresponds to the most advantageous jackpot result.

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

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

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

予告表示には、図柄表示装置41の表示面41aにおいて図柄の変動表示が開始されてから、全ての図柄列にて図柄が変動表示されている状況において、又は一部の図柄列であって複数の図柄列にて図柄が変動表示されている状況において、図柄列上の図柄とは別にキャラクタを表示させる態様が含まれる。また、背景画面をそれまでの態様とは異なる所定の態様とするものや、図柄列上の図柄をそれまでの態様とは異なる所定の態様とするものも含まれる。かかる予告表示は、リーチ表示が行われる場合及びリーチ表示が行われない場合のいずれの遊技回においても発生し得るが、リーチ表示の行われる場合の方がリーチ表示の行われない場合よりも高確率で発生するように設定されている。   In the advance notice display, after the variable display of the symbols is started on the display surface 41a of the symbol display device 41, the symbols are variably displayed in all the symbol rows, or a part of the symbol rows are plural. In a situation where symbols are variably displayed in the symbol row, a mode is included in which a character is displayed separately from the symbols on the symbol row. In addition, the background screen is a predetermined mode different from the previous modes, and the pattern on the symbol array is the predetermined mode different from the previous modes. Such advance notice may occur at any of the game times when the reach display is performed and when the reach display is not performed, but the case where the reach display is performed is higher than the case where the 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 and displayed. Moreover, in the game time corresponding to the big hit result in which the combination of the same symbol is not stopped and displayed, it is not performed irrespective of the value of the reach random number counter C3. Further, the game times corresponding to the disconnection result are 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 the reach display.

一方、予告表示を行うか否かの決定は、主制御装置60において行うのではなく、音声発光制御装置80において行われる。この場合、音声発光制御装置80は、いずれかの大当たり結果に対応した遊技回の方が、外れ結果に対応した遊技回に比べ、予告表示が発生し易いこと、及び出現率の低い予告表示が発生し易いことの少なくとも一方の条件を満たすように、予告表示用の抽選処理を実行する。ちなみに、この抽選結果は、図柄表示装置41にて遊技回用の演出が実行される場合に反映される。   On the other hand, the main control unit 60 does not determine whether to display the advance notice, but the sound emission control unit 80 determines. In this case, in the voice light emission control device 80, the game display corresponding to any of the big hit results is more likely to generate a notice display than the game play corresponding to the out result, and the notice display having a low appearance rate A lottery process for displaying a notice is performed so as to satisfy at least one of the conditions that are likely to occur. By the way, this lottery result is reflected when the effect for the game round is executed by 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 fluctuation type counter CS is sequentially incremented by one within the range of 0 to 198, and returns to “0” after reaching the maximum value. The fluctuation type counter CS is used when the MPU 62 determines the display continuation time in the special view display unit 37 a and the display continuation time of the symbol in the symbol display device 41. The fluctuation type counter CS is updated once each 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 fluctuation type counter CS is acquired at the time of the start of the fluctuation display in the special view display unit 37a and the time of the fluctuation pattern determination at the time of the fluctuation start of the symbol by the symbol display device 41.

<主制御装置60の処理構成について>
次に、主制御装置60のMPU62にて遊技を進行させるために実行される各処理を説明する。かかるMPU62の処理としては大別して、電源投入に伴い起動されるメイン処理と、定期的に(本実施の形態では4msec周期で)起動されるタイマ割込み処理とがある。
<About Processing Configuration of Main Controller 60>
Next, each process executed to advance the game in the MPU 62 of the main control device 60 will be described. The processes of the MPU 62 are roughly classified into a main process activated upon power-on and a timer interrupt process activated periodically (with a cycle of 4 msec in the present embodiment).

<メイン処理>
まず、図6のフローチャートを参照しながらメイン処理を説明する。
<Main processing>
First, the main processing 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 performed. In the power-on wait process, for example, the process waits until the predetermined time for wait (specifically, 1 sec) elapses after the main process is started, without progressing to the next process. The operation start and initialization of the symbol display device 41 are completed in the execution period of the power on wait process. In the following 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 / emission control device 78 is manually operated, and in the subsequent step S105, "1" is set in the power failure flag of the RAM 64 or not. Determine if In step S106, a checksum calculation process is performed to calculate a checksum. In the subsequent step S107, it is determined whether the checksum matches the checksum stored at the time of power shutdown, that is, the validity of stored data. judge.

本パチンコ機10では、例えば遊技ホールの営業開始時など、電源投入時にRAMデータを初期化する場合にはRAM消去スイッチを押しながら電源が投入される。したがって、RAM消去スイッチが押されていれば、ステップS108の処理に移行する。また、電源遮断の発生情報が設定されていない場合や、チェックサムにより記憶保持されたデータの異常が確認された場合も同様にステップS108の処理に移行する。ステップS108では、RAM64をクリアする。その後、ステップS109に進む。   In the pachinko machine 10, when initializing the RAM data at the time of power on, for example, at the start of business operation of the game hall, the power is turned on while pressing the RAM erase switch. Therefore, if the RAM erase switch is pressed, the process proceeds to step S108. In addition, when the occurrence information of the power-off is not set, or when the abnormality of the data stored and held is confirmed by the checksum, the process similarly shifts to the process of 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, when the RAM erase switch is not pressed, the process in step S108 is not performed under the condition that the power failure flag is set to “1” and the checksum is normal. Go to In step S109, power on setting processing is performed. In the power-on setting process, a predetermined area of the RAM 64 such as initialization of the power failure flag is set to an initial value, and a command corresponding to the current gaming state is transmitted to the voice emission control device 80 to recognize the current gaming state. Do.

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

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

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

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

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

続くステップS205では、不正用の監視対象として設定されている所定の事象が発生しているか否かを監視する不正検知処理を実行する。当該不正検知処理では、複数種類の事象の発生を監視し、所定の事象が発生していることを確認することで、RAM64に設けられた遊技停止用フラグに「1」をセットする。   In the subsequent step S205, a fraud detection process is performed to monitor whether or not a predetermined event set as a fraud monitoring target has occurred. In the fraud detection process, occurrence of multiple types of events is monitored, and it is confirmed that a predetermined event has occurred, thereby setting “1” to the 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 to the game stop flag. If a negative determination is made in step S206, processing in step S207 and subsequent steps is executed.

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

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

続くステップS209では入賞検知処理を実行する。当該入賞検知処理では、MPU62の入力ポート62aを通じて、各入賞検知センサ66a〜66eから受信している信号を読み込むとともに、一般入賞口31、特電入賞装置32、第1作動口33、第2作動口34及びスルーゲート35への入賞の有無を特定する処理を実行する。   In the 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 opening 31, the special electric winning device 32, the first operation opening 33, and the second operation opening A process is executed to specify the presence or absence of winning on 34 and the through gate 35.

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

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

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

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

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

タイマ割込み処理においてステップS213の特図特電制御処理を実行した後は、ステップS214にて普図普電制御処理を実行する。普図普電制御処理では、スルーゲート35への入賞が発生している場合に普図側の保留情報を取得するための処理を実行するとともに、普図側の保留情報が記憶されている場合にその保留情報について開放判定を行い、さらにその開放判定を契機として普図用の演出を行うための処理を実行する。また、開放判定の結果に基づいて、第2作動口34の普電役物34aを開閉させる処理を実行する。   After the special figure special power control process of step S213 is executed in the timer interrupt process, the general view general power control process is executed in step S214. When the winning gate on the through gate 35 has been awarded, the routine control routine executes processing for acquiring the hold information on the general view side, and the hold information on the general view side is stored. Then, the release determination is performed on the hold information, and the release determination is used as a trigger to execute processing for producing effects for the common drawing. Also, based on the result of the open determination, processing is performed to open and close the general purpose utility product 34 a of the second operation port 34.

続くステップS215では、直前のステップS213及びステップS214の処理結果に基づいて、特図表示部37aに係る保留情報の増減個数を特図保留表示部37bに反映させるための出力情報の設定を行うとともに、普図表示部38aに係る保留情報の増減個数を普図保留表示部38bに反映させるための出力情報の設定を行う。また、ステップS215では、直前のステップS213及びステップS214の処理結果に基づいて、特図表示部37aの表示内容を更新させるための出力情報の設定を行うとともに、普図表示部38aの表示内容を更新させるための出力情報の設定を行う。当該ステップS215における出力情報の設定は、MPU62の出力ポート62bを通じて行われる。   In the following step S215, based on the processing results of the immediately preceding step S213 and step S214, setting of output information for reflecting the increase / decrease number of the hold information concerning the special view display unit 37a on the special view hold display unit 37b is performed. The output information is set to reflect the increase / decrease number of the suspension information related to the common drawing display unit 38a on the common drawing reservation display unit 38b. Further, in step S215, based on the processing results of the previous step S213 and step S214, setting of output information for updating the display content of the special view display unit 37a is performed, and the display content of the common view display unit 38a is set. Set the output information for updating. 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 subsequent step S216, the contents of the command and signal received from the payout control device 77 are confirmed, and a payout state reception process for performing a process corresponding to the confirmation result is executed. In step S217, a payout output process for setting a winning ball command as an output target is executed. In the subsequent step S218, an external information setting process is performed to control the start and end of the output of the external signal according to the processing results of various processes executed in the timer interrupt process this time. Thereafter, this timer interrupt processing is ended.

<MPU62においてデータの読み出し等を行うための電気的構成>
次に、MPU62において命令並びにデータの読み出し、及びデータの書き込みを行うための電気的構成について説明する。図8はMPU62に設けられたCPU101の電気的構成を説明するためのブロック図である。
<Electrical Configuration for Reading Data in MPU 62>
Next, an electrical configuration for reading an instruction 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. As shown in FIG.

MPU62にはCPU101が内蔵されている。CPU101に内蔵されたCPUコア102は、MPU62に内蔵されたROM83から各種命令を読み出し、当該命令に対応するプログラムに従って演算処理、入力データの解析処理及びデータの出力処理を実行する。詳細には、CPUコア102は、当該CPUコア102に内蔵され当該CPUコア102の処理の進行に伴い更新されるプログラムカウンタの値に対応するアドレスのエリアから命令を読み出し、その命令に対応する処理を実行することで、プログラムに従った各種処理を実行する。   The MPU 62 incorporates the CPU 101. The CPU core 102 incorporated in the CPU 101 reads various instructions from the ROM 83 incorporated in the MPU 62, and executes arithmetic processing, analysis processing of input data, and output processing of data 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 which is built in the CPU core 102 and updated as the processing of the CPU core 102 proceeds, and the processing 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. 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 below. The 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に対してまとめて書き込むことができる。   Data terminals D0 to D7 read an instruction in CPU core 102, read data referred to in executing processing in CPU core 102 according to a program corresponding to the instruction, and CPU core 102 according to a program corresponding to the instruction. 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 CPU core 102 are provided, and eight data terminals D10 to D17 of CPU 101 are also made to correspond to data terminals D0 to D7 of CPU core 102 on a one-to-one basis. It is provided. Data terminals D0 to D7 of CPU core 102 are electrically connected to data terminals D10 to D17 of CPU 101 through data bus DB built in CPU 101, and data terminals D10 to D17 of CPU 101 are provided in MPU 62. It is electrically connected to the data bus DB. With such a configuration, the CPU core 102 can read 8-bit (i.e., 1 byte) data collectively through the data bus DB, and also transmit 8-bit (i.e., 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 to read an instruction from ROM 63 in CPU core 102 and to specify an address of an area in which the instruction or data exists when reading data from ROM 63 or RAM 64 in CPU core 102. It is a terminal. The address terminals A0 to A15 are terminals for designating an address of an area to which the data is to be written when the CPU core 102 writes the 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 CPU core 102 are provided, and 16 address terminals A20 to A35 of CPU 101 are also made to correspond to address terminals A0 to A15 of CPU core 102 on a one-to-one basis. It 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 an 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. It is electrically connected to the address bus AB. With this configuration, the CPU core 102 can specify an address to 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 chip select signals from chip select terminals CS0 to CS12 provided in the CPU 101. Here, the chip select terminals CS0 to CS12 designate an input latch circuit 103 (see FIG. 9A) to be operated when reading an instruction in the CPU core 102 and reading data in the CPU core 102. When writing data in the CPU core 102, it is a terminal for specifying the output latch circuit 104 (see FIG. 9B) to be operated.

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

出力用ラッチ回路104はMPU62に複数内蔵されている。それら複数の出力用ラッチ回路104として、データの書き込みに際してRAM64を書き込み対象として指定するための出力用ラッチ回路、及びMPU62の出力ポート62bへのデータの出力に際してその出力データを格納するエリアを書き込み対象として指定するための出力用ラッチ回路が設けられている。MPU62の出力ポート62bへのデータの出力に際してその出力データを格納するエリアを書き込み対象として指定するための出力用ラッチ回路は、出力ポート62bにおいて読み込み対象として指定するエリアを相違させて複数設けられている。   A plurality of output latch circuits 104 are incorporated in the MPU 62. The plurality of output latch circuits 104 include an output latch circuit for specifying 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 as a write target An output latch circuit for designating as is provided. An output latch circuit for designating an area for storing the output data as a write target when outputting data to the output port 62b of the MPU 62 is provided in a plurality with different areas designated for the read target in the output port 62b. There is.

チップセレクト端子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 the chip select terminals CS0 to CS12 are electrically connected to select signal lines provided inside the MPU 62, respectively. Specifically, thirteen chip select terminals CS0 to CS12 are provided, and thirteen 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 a chip select signal to the input latch circuit 103, and the remaining plural chips The select terminals CS5 to CS12 are for outputting the CS5 signal to the CS12 signal as a chip select signal 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 uses the input terminals Q0 to Q7 for receiving data from the input port 62a and the data stored in the input latch circuit 103 through the input terminals Q0 to Q7 as data. Data terminals D20 to D27 for supplying data to the bus DB, a CK terminal to which a CS0 signal output from a chip select terminal CS0 of the CPU 101 is input, and the like are provided. The input latch circuit 103 receives the signal CS0 from the chip select terminal CS0 of the CPU 101 to the CK terminal, whereby the data stored in the input latch circuit 103 through the input terminals Q0 to Q7 is converted to the data terminal D20 to The data is supplied to the data bus DB through D27. The input latch circuit 103 is provided with 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 by taking, as an example, one used in the CPU 101 when predetermined data is output to the output port 62 b of the MPU 62. FIG. 9 (b) is a block diagram of the output latch circuit 104. As shown in FIG. 9B, the output latch circuit 104 outputs the data stored in the output latch circuit 104 through data terminals D30 to D37 and data terminals D30 to D37 for receiving data from the data bus DB. The output terminal Q10 to Q17 for supplying to the port 62b, the 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. When the CS5 signal is input from the chip select terminal CS5 of the CPU 101 to the CK terminal, the output latch circuit 104 places the data provided to the data bus DB through the data terminals D30 to D37 into the output latch circuit 104. After capturing, the captured data is output from the output terminals Q10 to Q17 to the output port 62b. The output latch circuit 104 has 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. It is used to select terminals CS0 to CS12. Further, when selecting the chip select terminals CS0 to CS12 for outputting a chip select signal, signals output from the RD terminal, the WR terminal, the IREQ terminal and the 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 which specifies that the CPU core 102 reads an instruction or reads data. The WR terminal is a terminal for outputting a WR signal which specifies that the CPU core 102 writes data. The IREQ terminal designates an IREQ signal designating that the CPU core 102 is to execute an in instruction for inputting data from the input port 62a or an out instruction for outputting data to the output port 62b. It is a terminal for outputting. The MREQ terminal specifies that the CPU core 102 is to execute a load instruction for reading an instruction or data from the ROM 63, writing data to the RAM 64, reading data from the RAM 64, or the like. It is a terminal for outputting.

次に、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 in which an instruction is stored in the ROM 63. As shown in FIG.

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 out-instruction described above correspond to a 2-byte instruction, and the load instruction corresponds to a 3-byte instruction. Incidentally, 2-byte instructions include instructions other than in-instructions and out-instructions, and 3-byte instructions include instructions other than load instructions. 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 of 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 in-instructions and out-instructions which are 2-byte instructions. The in instruction and the out instruction include the address code shown in FIG. 11 (a1) and the 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 input latch circuit 103 to be operated when outputting data from the input port 62a and the type of operation when outputting data to the output port 62b The type of output latch circuit 104 is identified. In this case, since the address code has a 1-byte data configuration, it is possible to specify 256 addresses as an address for specifying the type of latch circuit 103 or 104 to be operated. However, in the pachinko machine 10, as described above, the number of chip select terminals CS0 to CS12 of the CPU 101 is thirteen, so the number of types of addresses actually designated is thirteen 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 identifies whether the type of the 2-byte instruction is an in instruction or an out instruction. Incidentally, if it is an out instruction, the value next to the value of the program counter corresponding to the out instruction corresponds to a 1 byte instruction, and 1 byte of output data to be output to the output port 62b for that 1 byte instruction 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 the first address code shown in FIG. 11 (b1), the second address code shown in FIG. 11 (b2), and the execution code shown in FIG. 11 (b3). The first address code and the second address code both have 1-byte data configuration, the first address code is set to the first byte in the load instruction, and the second address code is the second in the load instruction. Is set to byte. The type of area to be read when reading instructions and data according to the contents set in the first address code and the second address code, 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 configuration, and the type of the instruction to be executed is specified by the contents set in the execution code. As an instruction 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, processing of reading data of an address designated by the first address code and the second address code to the CPU core 102, or predetermined data at the address designated by the first address code and the second address code The process of transferring Further, in the case of an arithmetic operation instruction, processing of adding predetermined data to data and processing of subtracting data are executed. Further, in the case of a logical operation instruction, processing for performing a predetermined logical operation on data is executed. Further, in the case of a bit manipulation instruction, processing of switching a predetermined bit of data between "0" and "1" is executed. Also, in the case of a rotate instruction, processing is performed to shift bits included in data so as to circulate in a predetermined direction. Further, in the case of the shift instruction, processing for shifting in a predetermined direction is performed without circulating 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 accessed by the CPU core 102 when the CPU core 102 executes an in instruction or an out instruction. The situation where the CPU core 102 is accessing the IO space 105 is, in fact, 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. A signal is being output, or 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に対応している。   The address code is 1 byte as described above in the in instruction and out instruction to access the IO space 105. 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. Corresponding to this, when accessing the IO space 105, among the 16 address terminals A0 to A15 of the CPU core 102, only a plurality of eight address terminals A0 to A7 which are a part and plural are used. Address is specified. That is, when the IO space 105 is accessed, the same number of address terminals A0 to A7 as the number of bits of the address code set in the in instruction and out instruction are used. This makes it possible to use the contents of the address code set in the in command and out command as they are as data to be set in the address terminals A0 to A7. The address data set in the first byte in the in instruction and out instruction are eight consecutive address terminals A0 of the address terminals A0 to A15 of the CPU core 102 from the zeroth address terminal A0 toward the lower side. 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 memory that the CPU core 102 accesses when the CPU core 102 reads an instruction from the area of the ROM 63 at an address corresponding to the value of the program counter and when the CPU core 102 executes a load instruction. It is a space. The situation where the CPU core 102 is accessing the memory space 106 is, in fact, to read an instruction or data from the ROM 63 or read data from the RAM 64 to the corresponding chip select terminals CS0 to CS4 of the CPU 101. The situation where the chip select signal is output to the corresponding input latch circuit 103 corresponds to the above, and the output latch circuit corresponding to the corresponding chip select terminals CS5 to CS12 of the CPU 101 to write data to the RAM 64. The situation where the chip select signal is output to 104 corresponds.

メモリ空間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 to access the memory space 106, as described above, the address code is 2 bytes in total of the first address code and the second address code. Therefore, the number of addresses that can be designated as the memory space 106 in the CPU core 102 is 65,536 corresponding to 2 bytes. Corresponding to this, when the memory space 106 is accessed, 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. As a result, the contents of the first address code and the second address code set in the load instruction can be used as they are as data to be set in the address terminals A0 to A15.

ロード命令において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 is eight consecutive address terminals A0 to A15 among the address terminals A0 to A15 of the CPU core 102 from the zeroth address terminal A0. It corresponds to A7. Further, the second address data set in the second byte in the load instruction is eight consecutive address terminals of the address terminals A0 to A15 of the CPU core 102 from the eighth address terminal A8 toward the lower side. It corresponds to A8 to A15.

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

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

既に説明したとおり、イン命令及びアウト命令はアドレスコード及びIO識別コードの2バイト構成となっているとともに、アドレスコードには動作対象とするラッチ回路103,104の種類を特定するためのアドレスが設定され、IO識別コードにはイン命令及びアウト命令のいずれに対応しているのかを示すデータが設定されている。当該構成である場合、イン命令及びアウト命令においてはロード命令のように実行コードを設定することができない。さらに、2バイト命令は全体のビット数が3バイト命令よりも少ないため、当然のことながら2バイト命令の使用可能数にも制限がある。   As described above, the in-instruction and out-instruction consist of 2 bytes of the address code and the IO identification code, and the address code sets an address for specifying the type of the latch circuit 103 or 104 to be operated. The IO identification code is set with data indicating which of the in instruction and the out instruction corresponds to. In the case of this configuration, the execution code can not be set as in the load instruction in the in instruction and the out instruction. Furthermore, since the total number of bits of 2-byte instructions is smaller than that of 3-byte instructions, naturally, the usable number of 2-byte instructions is also 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 these data are input / output. 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 It is possible to read data of the state after respectively inverting. Further, for example, when data is output to output port 62b, by executing a load instruction, the data output to output port 62b is held as it is on CPU core 102 side, and the data is divided into bits in a predetermined order. It is possible to output data of the state 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 case of 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. Even when it accesses the ROM 63 or the RAM 64 and the input port 62a or the output port 62b, addressing is performed using all 16 address terminals A0 to A15. The memory space 106 is being accessed. When handling of the load instruction in the CPU core 102 is made different depending on whether the ROM 63 or the RAM 64 is accessed or the input port 62 a or the output port 62 b is accessed, data for identifying an access target is an address code. Is required to be set separately, and in this case, the load instruction can not be set as a 3-byte instruction. Also, with the above configuration, when accessing the input port 62a or the output port 62b in the CPU core 102, the load instruction is executed when executing the in instruction or out instruction (that is, when accessing the IO space 105). In the case where the memory space 106 is accessed (ie, the memory space 106 is accessed), different addressing will be performed.

このように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 the load instruction is executed in the CPU core 102, different addresses need to be set for accessing the ROM 63 or the RAM 64 and accessing the input port 62a or the output port 62b. Therefore, as shown in the explanatory diagram of the memory space 106 of 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 inputs corresponding to the input port 62a. An output port space 106 d corresponding to the port space 106 c and the output port 62 b is present. The addresses set in the ROM space 106a, the RAM space 106b, the input port space 106c, and the 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 requiring addressing is the largest in ROM 63, the next largest in RAM 64, the next largest in output latch circuits 104 corresponding to output port 62b, the smallest in number of input latch circuits 103 corresponding to input port 62a. . Therefore, the number of types of addresses set in the ROM space 106 a is the largest, the number of types of addresses set in the RAM space 106 b is the second largest, and the type of addresses set in the output port space 106 d is the next The number of types 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, whether or not the CPU core 102 executes an in instruction or an out instruction and whether it executes a load instruction, data input from the input port 62a or data output to the output port 62b The configuration for carrying out 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 input latch circuit 103 for inputting data from input port 62a, and an output for outputting data to output port 62b The electrical configuration for outputting a chip select signal from a chip select terminal corresponding to 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端子と入力端子とを電気的に接続するようにして信号経路が形成されている。   The RD terminal and the WR terminal of the CPU core 102 are both 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 by electrically connecting the RD terminal and the input terminal. Further, the operation selection circuit 111 is provided with an input terminal corresponding to the WR terminal, and a signal path is formed by electrically connecting 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 one of the RD signal output from the RD terminal and the WR signal output from the WR terminal as a signal serving as an output trigger of the operation selection signal from the operation selection terminal 111a. Is the circuit of The operation selection circuit 111 is configured such that an initialization signal is input when supply of operation power from the initialization circuit 112 incorporated in the CPU 101 to the CPU 101 is started, and an initialization signal is input. Thus, as a signal serving as an output trigger of the operation selection signal, the signal on the side determined at the design stage of the pachinko machine 10 is selected among the RD signal and the WR signal. Specifically, switch circuit 111b is provided in operation selection circuit 111, and when the initialization signal is input from initialization circuit 112, a state in which the RD terminal and operation selection terminal 111a are electrically connected, and WR Among the states in which the terminal and the operation selection terminal 111a are conducted, the state of the side determined in the design stage of the pachinko machine 10 is set. Since the RD signal is a LOW level signal, when the switch circuit 111b conducts the RD terminal and the operation selection terminal 111a in a conductive state, the RD signal is not output (that is, the HI level signal is output from the RD terminal) If the operation selection terminal 111a of the operation selection circuit 111 outputs the HI level signal as a non-operation selection signal, and if the RD signal is output, the operation selection terminal 111a of the operation selection circuit 111 operates. A LOW level signal is output as a selection signal. Similarly, since the WR signal is a LOW level signal, when the switch circuit 111b is in a state of bringing the WR terminal and the operation selection terminal 111a into conduction, the WR signal is not output (ie, the HI level signal is output from the WR terminal). If it is output, the operation selection terminal 111a of the operation selection circuit 111 outputs the HI level signal as a non-operation selection signal, and if the WR signal is output, the operation selection terminal 111a of the operation selection circuit 111 A low level signal is output as an operation selection signal from.

図14は入力用ラッチ回路103にチップセレクト信号を出力するためのチップセレクト端子CS0であるため、動作選択回路111はRD端子と動作選択端子111aとを導通させる状態となる。これにより、CPUコア102のRD端子からRD信号が出力されることにより動作選択回路111は動作選択端子111aから動作選択信号を出力する。   FIG. 14 shows a chip select terminal CS0 for outputting a chip select signal to the input latch circuit 103. Therefore, the operation selection circuit 111 brings the RD terminal and the operation selection terminal 111a into conduction. As a result, when the RD signal is output from the RD terminal of the CPU core 102, the operation selection circuit 111 outputs an 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 a chip select signal to the output latch circuit 104, the initialization signal is input from the initialization circuit 112, whereby the WR terminal is obtained. 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 details will be described later, it is a necessary condition for the chip select signal to be output from the chip select terminal CS0 that the operation select signal be output from the operation select circuit 111.

CPUコア102のIREQ端子及びMREQ端子はいずれも、CPU101に内蔵された対象選択回路113と電気的に接続されている。具体的には、対象選択回路113にはIREQ端子に対応させて入力端子が設けられており、これらIREQ端子と入力端子とを電気的に接続するようにして信号経路が形成されている。また、対象選択回路113にはMREQ端子に対応させて入力端子が設けられており、これらMREQ端子と入力端子とを電気的に接続するようにして信号経路が形成されている。   The IREQ terminal and the MREQ terminal of the CPU core 102 are both electrically connected to the object selection circuit 113 built in the CPU 101. Specifically, the object selection circuit 113 is provided with an input terminal corresponding to the IREQ terminal, and a signal path is formed to electrically connect the IREQ terminal and the input terminal. Further, the object selection circuit 113 is provided with an input terminal corresponding to the MREQ terminal, and a signal path is formed by electrically connecting 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 object selection circuit 113 is provided with an object selection logic circuit 113 a. 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 object selection logic circuit 113a through each NOT circuit in the object selection logic circuit 113a. Since the IREQ signal is the LOW level signal and the MREQ signal is the LOW level signal, the 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. Ru. Then, in a situation where a LOW level signal is output from the object selection logic circuit 113a, a LOW level signal is output from the object selection terminal 113b of the object selection circuit 113 as an object selection signal. 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, the CPU core 102 accesses the input port 62a or the output port 62b not only when executing the in instruction or the out instruction but also when there is a case where the load instruction is executed. Even in this case, the target selection signal can be output from the target selection circuit 113. Although the details will be described later, it is a necessary condition for the chip select signal to be output from the chip select terminal CS0 that the target selection signal be output from the target selection circuit 113. In the situation where the IREQ signal is not output and the MREQ signal is not output either, the object selection circuit 113 outputs the HI level signal as the non-object selection signal.

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 consecutive address terminals A0 to A7 directed from the 0th address terminal A0 downward 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 eight address terminals A0 to A7, and corresponding address terminals A0 to A7 and input terminals are provided. Are electrically connected to form a signal path. Further, all sixteen 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 and the input terminals are provided. Are electrically connected to form a signal path. The signal path from the address terminals A0 to A7 to each input terminal of the IO address decoder 114 is an intermediate position of the signal path electrically connecting the address terminals A0 to A7 and each input terminal of the memory address decoder 115. It is provided 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 outputs an LOW level signal as an IO address signal from the IO address output terminal 114a when the 1-byte address data corresponding to the chip select terminal CS0 is output from the CPU core 102. It is formed. Even when the CPU core 102 outputs a chip select signal from a chip select terminal CS1 to CS12 different from the chip select terminal CS0, it outputs address data from the address terminals A0 to A7. The IO address decoder 114 provided correspondingly is not to output the IO address signal from the IO address output terminal 114a even if the address data different from the address data corresponding to the circuit provided in itself is input. That is, the HI level signal is output as the 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 outputs an LOW level signal as a memory address signal from the memory address output terminal 115a when the 2-byte address data corresponding to the chip select terminal CS0 is output from the CPU core 102. It is formed. Even when the CPU core 102 outputs a chip select signal from chip select terminals CS1 to CS12 different from the chip select terminal CS0, the address data is output from the address terminals A0 to A15. The memory address decoder 115 provided correspondingly is not to 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 in itself is inputted. That is, the HI address signal is output as a non-memory address signal from the memory address output terminal 115a.

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

ここで、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 is an output trigger of the IO address signal from the IO address decoder 114 and the 2-byte address data that is an output trigger of the memory address signal from the memory address decoder 115 The 1-byte address data set in the bytes is the same data. For example, while the 1-byte address data serving as an output trigger 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 of the two bytes of address data to be triggered 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 the chip select signal to the input latch circuit 103 for inputting data from the input port 62a and the output latch circuit 104 for outputting data to the output port 62b, as described above, IREQ Even when either the signal or the MREQ signal is output, the target selection signal is output from the target selection circuit 113. Then, when the 1-byte address data output from the upper address terminals A0 to A7 corresponds 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. In this case, the 2-byte address data in which the address data of the upper address terminals A0 to A7 corresponds to the IO address decoder 114 is a chip select different from the chip select terminal corresponding to the IO address decoder 114. It can not 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, one byte of address data set in the first byte of the two bytes of address data for outputting the memory address signal from the memory address decoder 115 is transferred from the IO address decoder 114 to the IO. By matching the address data of 1 byte for outputting the address signal, it is possible to suppress the number of types of address data which can not be used as an electric circuit of another chip select terminal.

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 established by electrically connecting the IO address output terminal 114a and the input terminal. It is formed. Further, the address circuit 116 is provided with an input terminal corresponding to the memory address output terminal 115a, and a signal path is formed by electrically connecting the memory address output terminal 115a and the input terminal. There is.

アドレス用回路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 116 a. Each of the signal output from the IO address output terminal 114a and the signal output from the memory address output terminal 115a are 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 a LOW level signal and the memory address signal is a LOW level signal, the LOW logic level signal is output from the address logic circuit 116a in a situation where at least one of the address signals is output. Then, in the situation where 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 combined address signal. That is, the combined 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. . Although the details will be described later, the output of the combined address signal from the address circuit 116 is a necessary condition for the chip select signal to be output from the chip select terminal CS0. The address circuit 116 outputs the HI level signal as a non-combined address signal in a situation where the IO address signal is not output and the memory address signal is not output.

アドレス用回路116のアドレス出力端子116b、動作選択回路111の動作選択端子111a、及び対象選択回路113の対象選択端子113bはいずれも、CPU101に内蔵された合成回路117と電気的に接続されている。具体的には、合成回路117にはアドレス出力端子116bに対応させて入力端子が設けられており、これらアドレス出力端子116bと入力端子とを電気的に接続するようにして信号経路が形成されている。また、合成回路117には動作選択端子111aに対応させて入力端子が設けられており、これら動作選択端子111aと入力端子とを電気的に接続するようにして信号経路が形成されている。また、合成回路117には対象選択端子113bに対応させて入力端子が設けられており、これら対象選択端子113bと入力端子とを電気的に接続するようにして信号経路が形成されている。   The address output terminal 116b of the address circuit 116, the operation selection terminal 111a of the operation selection circuit 111, and the object selection terminal 113b of the object selection circuit 113 are all electrically connected to the synthesis circuit 117 built in the CPU 101. . Specifically, the combining circuit 117 is provided with an input terminal corresponding to the address output terminal 116b, and a signal path is formed by electrically connecting the address output terminal 116b and the input terminal. There is. Further, the synthesizing 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 by electrically connecting 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 117 a. 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 are NAND circuits in the synthesis logic circuit 117a through respective NOT circuits in the synthesis logic circuit 117a. It is designed to be input to the circuit. Since all of the combined address signal, the operation selection signal, and the target selection signal are LOW level, the synthesis circuit 117 outputs the LOW level when all of the combined address signal, operation selection signal, and target selection signal are output. A signal is output. Then, in the situation where the LOW level signal is output from the combining logic circuit 117a, the LOW level signal is output as the chip select signal from the chip select terminal CS0. That is, when the combined 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 a chip select signal. 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 an HI level signal as a non-chip select signal in a situation where any one of the synthetic 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. 15 (a) shows a period in which 1 byte of address data is outputted from the CPU core 102, and FIG. 15 (b) shows a period in which 2 bytes of address data are outputted from the CPU core 102. Shows a period during which the combined address signal is output from the address circuit 116, FIG. 15 (d) shows a period during which the operation selection signal is output from the operation selection circuit 111, and FIG. FIG. 15 (f) shows a period in which the MREQ signal is output from the CPU core 102, and FIG. 15 (g) shows a period in which the target selection signal is output from the target selection circuit 113. FIG. 15H shows a period in which a chip select signal is output from the chip select terminal CS0.

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

t1のタイミングで、図15(a)に示すようにCPUコア102から1バイトのアドレスデータの出力が開始されるとともに、図15(e)に示すようにCPUコア102からIREQ信号の出力が開始される。なお、当該t1のタイミングでCPUコア102からRD信号の出力が開始される。また、t1のタイミングで出力されるアドレスデータはIO用アドレスデコーダ114に対応するアドレスデータである。   At timing t1, the output of 1-byte address data is started from the CPU core 102 as shown in FIG. 15A, and the output of the IREQ signal is started from the CPU core 102 as shown in FIG. Be done. The output of the RD signal from the CPU core 102 is started at the timing of t1. The address data output at the timing of t1 is the 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 of t1, the output of the IO address signal from the IO address decoder 114 is started. Then, when the output of the IO address signal is started, the output of the combined address signal from the address circuit 116 is started as shown in FIG. 15C at the timing of t2.

また、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 of t1, the output of the operation selection signal from the operation selecting circuit 111 is started at the timing of 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 as shown in FIG. 15 (g) at the timing of t2.

t2のタイミングで合成アドレス信号、動作選択信号及び対象選択信号の全ての出力が開始されることにより、t3のタイミングで図15(h)に示すようにチップセレクト端子CS0からのチップセレクト信号の出力が開始される。これにより、当該チップセレクト端子CS0に対応する入力用ラッチ回路103においてラッチされているデータがデータバスDBに供給されることとなる。   As all outputs of the combined address signal, the operation selection signal, and the target selection signal are started at the timing of t2, the output of the chip select signal from the chip select terminal CS0 as shown in FIG. 15 (h) at the timing of 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 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 as shown in FIG. Output is stopped. The output of the RD signal from the CPU core 102 is also stopped at the timing of t4. Thus, at timing t5, the output of the combined address signal is stopped as shown in FIG. 15 (c), and the output of the operation selection signal is stopped as shown in FIG. 15 (d). As shown, the output of the target selection signal is stopped. Then, when the output of these signals is stopped, 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). By stopping the output of the chip select signal, 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 flow of the above operation is the same as in the case where an out instruction is executed in the CPU core 102 when data is output to the output port 62 b by using the output latch circuit 104.

次に、CPUコア102においてロード命令が実行される場合にチップセレクト端子CS0からチップセレクト信号が出力される場合について説明する。   Next, the case where the chip select signal is output from the chip select terminal CS0 when the 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 time t7, output of 2-byte address data is started from the CPU core 102 as shown in FIG. 15 (b), and output of an MREQ signal is started from the CPU core 102 as shown in FIG. 15 (f). Be done. The output of the RD signal from the CPU core 102 is started at the timing of t7. The address data output at the timing of t7 is the address data corresponding to the memory address decoder 115.

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

また、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 at the timing of t8 as shown in FIG. 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 at the timing of t8 as shown in FIG.

t8のタイミングで合成アドレス信号、動作選択信号及び対象選択信号の全ての出力が開始されることにより、t9のタイミングで図15(h)に示すようにチップセレクト端子CS0からのチップセレクト信号の出力が開始される。これにより、当該チップセレクト端子CS0に対応する入力用ラッチ回路103においてラッチされているデータがデータバスDBに供給されることとなる。   As all outputs of the combined address signal, the operation selection signal, and the target selection signal are started at the timing of t8, the output of the chip select signal from the chip select terminal CS0 as shown in FIG. 15 (h) at the timing of t9. 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 timing 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 as shown in FIG. 15F. Output is stopped. The output of the RD signal from the CPU core 102 is also stopped at the timing of t10. Thus, at timing t11, the output of the combined address signal is stopped as shown in FIG. 15 (c), and the output of the operation selection signal is stopped as shown in FIG. 15 (d). As shown, the output of the target selection signal is stopped. Then, when the output of these signals is stopped, the output of the chip select signal from the chip select terminal CS0 is stopped at the timing of t12 as shown in FIG. 15 (h). By stopping the output of the chip select signal, 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 object selection circuit 113 is provided with an OR circuit of negative logic 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. Thus, the target selection signal is output from the target selection circuit 113 regardless of whether the CPU core 102 is outputting either the IREQ signal or the MREQ signal. In this case, when data is input from input port 62a using input latch circuit 103 corresponding to chip select terminal CS0, CPU core 102 executes either an in instruction or a load instruction. Even in the situation where either the IREQ signal or the MREQ signal is output from the CPU core 102, the target selection signal can be output from the target selection circuit 113 without switching the state of the target selection circuit 113. It becomes. This makes it 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からチップセレクト信号を出力することが可能となる。   In the electric circuit corresponding to the chip select terminal CS0, an IO address decoder 114 corresponding to 1-byte address data and a memory address decoder 115 corresponding to 2-byte address data are provided. When 1-byte address data is output from 102, an IO address signal is output from IO address decoder 114, and when 2-byte address data is output from CPU core 102, memory is output from memory address decoder 115. An address signal is output. When at least one of the IO address signal and the memory address signal is output, a combined address signal is output from the address circuit 116. In this case, when data is input from input port 62a using input latch circuit 103 corresponding to chip select terminal CS0, CPU core 102 executes either an in instruction or a load instruction. Even if the CPU core 102 outputs either 1-byte address data or 2-byte address data, the address circuit 116 does not switch the state of the circuit for outputting the address signal. Can output the combined address signal. This makes it 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 repeatedly executed in a short cycle by the CPU core 102 will be described with reference to the flowchart of FIG. By the processing of FIG. 16 being executed by CPU core 102, as a result, the main processing (FIG. 6) and timer interrupt processing (FIG. 7) already described are executed by MPU 62 of main control device 60. .

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

今回の命令にIO識別コードが設定されている場合(ステップS303:YES)、今回の命令がイン命令又はアウト命令であることを意味するため、ステップS305に進む。ステップS305では、今回読み出した命令の1番目のバイトに設定されているアドレスコードを上位側の8個のアドレス端子A0〜A7に対して設定することで、1バイトのアドレスデータの出力設定を行う。これにより、アドレス端子A0〜A7から1バイトのアドレスデータが出力される。なお、この場合、残りの8個のアドレス端子A8〜A15の出力状態は前回の出力状態が維持される。また、ステップS306にて、CPUコア102のIREQ端子からIREQ信号の出力を開始する。   If the IO identification code is set to the current instruction (step S303: YES), it means that the current instruction is an in instruction or an out instruction, so 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 to perform output setting of 1-byte address data. . Thus, 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 is started from the IREQ terminal of the CPU core 102.

その後、今回の命令における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 the input of data from the input port 62a (step S307: YES), the 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 of output data is read out from the area of ROM 63 corresponding to the address designated by the next value of the program counter referred to in step S301, and the output data is set to 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, so the processing corresponding to the current instruction is executed in the other processing of step S304. If it is a 3-byte instruction (step S311: YES), 3-byte instruction processing is executed (step S312).

図17は3バイト命令用処理を示すフローチャートである。   FIG. 17 is a flowchart showing 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 to the input port 62a (step S401: YES), the first address code set in the first byte of the instruction read this time is set to the upper eight address terminals A0. By setting the second address code set to the second byte of the instruction read this time to the lower eight address terminals A8 to A15 while setting up to A7, the 2-byte Make address data output settings. Thus, 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 from the RD terminal of the CPU core 102 is started (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 execute AND processing of the data stored and held in the register of the MPU 62 and the data inputted this time from the input port 62a, the AND processing is executed.

今回の3バイト命令が出力ポート62bに対する出力命令である場合(ステップS407:YES)、ステップS402と同様に、2バイトのアドレスデータの出力設定を行う(ステップS408)。これにより、アドレス端子A0〜A15から2バイトのアドレスデータが出力される。   If the current 3-byte instruction is an output instruction to the output port 62b (step S407: YES), output setting of 2-byte address data is performed (step S408) as in step S402. Thus, 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 from the WR terminal of the CPU core 102 is started (step S410). After that, if the current output instruction includes a shift instruction (step S411: YES), processing is performed to shift the bit of the data to be output to the output port 62b this time in a predetermined direction (step S412). ). Thereafter, data to be output this time is set in 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における今回のアドレスデータに対応するエリアからデータの読み出しが行われる。   If the current 3-byte instruction is a read instruction (step S414: YES), output setting of 2-byte address data is performed as in step S402 (step S415). Thus, 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 from the RD terminal of the CPU core 102 is started (step S417). Thereby, data is read from the area corresponding to the present address data in the ROM 63 or the 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). Thus, 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 from the WR terminal of the CPU core 102 is started (step S421). Thereafter, data to be output this time is set in the data bus DB (step S422).

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

以上詳述した本実施形態によれば、以下の優れた効果を奏する。   According to the embodiment described above, the following excellent effects can be 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. This makes it possible to prevent data reading, data writing and data input / output from being performed when none of the load instruction, in instruction and out instruction is executed, and the load instruction It is possible to distinguish the operation target between the case where the command is being executed and the case where the in command or the out command is being 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 can output either the MREQ signal or the IREQ signal from the CPU core 102. A chip select signal is output. The same applies to a configuration for outputting a chip select signal to the output latch circuit 104 corresponding to the output port 62b. Thereby, not only when an in instruction or an out instruction is executed but also when data is executed under a load instruction, data is received from input port 62a or data is set to output port 62b. It becomes possible. Therefore, it is possible to widen the range of types of instructions to be 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 the chip select signal is output from the synthesis circuit 117 under the condition that the target selection signal is output from the target selection circuit 113, the target selection circuit 113 outputs the IREQ signal or the MREQ signal. Since the configuration is such that the target selection signal is output, it is possible to achieve the above-described excellent effects while using 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 object selection circuit 113 is provided with a negative logic OR circuit in which 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 are input signals, respectively. The target selection signal is output from the target selection circuit 113 regardless of whether the core 102 is outputting either the IREQ signal or the MREQ signal. In this case, when data is input from input port 62a using input latch circuit 103 corresponding to chip select terminal CS0, CPU core 102 executes either an in instruction or a load instruction. Even in the situation where either the IREQ signal or the MREQ signal is output from the CPU core 102, the target selection signal can be output from the target selection circuit 113 without switching the state of the target selection circuit 113. It becomes. This makes it 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 an in instruction or an out instruction is executed, 1 byte of address data is output from the CPU core 102, and when a load instruction is executed, 2 bytes of address data are output from the CPU core 102. This makes it possible to output the address data in a manner corresponding to the case of executing the in-instruction or the out-instruction and the case of executing the load instruction. In addition, 1 byte of address data is output when executing an in instruction or an out instruction as described above, and 1 byte of address data is output when executing a load instruction. The chip select signal is output from the combining circuit 117 regardless of whether the address data of the address data is output or the address data of 2 bytes is output. Thereby, not only when an in instruction or an out instruction is executed but also when data is executed under a load instruction, data is received from input port 62a or data is set to 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からチップセレクト信号を出力することが可能となる。   In the electric circuit corresponding to the chip select terminal CS0, an IO address decoder 114 corresponding to 1-byte address data and a memory address decoder 115 corresponding to 2-byte address data are provided. When 1-byte address data is output, the IO address signal is output from the IO address decoder 114. When 2-byte address data is output from the CPU core 102, the 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, a combined address signal is output from the address circuit 116. In this case, when data is input from input port 62a using input latch circuit 103 corresponding to chip select terminal CS0, CPU core 102 executes either an in instruction or a load instruction. Even if the CPU core 102 outputs either 1-byte address data or 2-byte address data, the address circuit 116 does not switch the state of the circuit for outputting the address signal. Can output the combined address signal. This makes it 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
The present embodiment is an electrical method that enables processing of data that has already been output and output of the data after processing without executing processing for separately storing output data in the CPU core 102. It differs from the first embodiment in that it is configured. The different configurations 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 an 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 is provided with 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 chip select signals to the output latch circuits 121a to 121d. The other chip select terminals CS1, CS3, CS5, CS7 to CS12 are for outputting chip select signals 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に供給することが可能である。   Chip select terminals CS0, CS2, CS4, CS6 corresponding to output latch circuits 121a-121d form signal paths with corresponding output latch circuits 121a-121d, and input latch circuits 122a-122i. The corresponding chip select terminals CS1, CS3, CS5, CS7 to CS12 form a signal path with the corresponding input latch circuits 122a to 122i. Each of output latch circuits 121a to 121d has a signal path formed between data terminals D10 to D17 of CPU 101 and data bus DB electrically connected, and data buses D10 to D17 are connected to data bus. It is possible to latch the data supplied to DB in output latch circuits 121a to 121d. Each input latch circuit 122a to 122i has a signal path formed with the data bus DB, and temporarily stores and holds data supplied from the output source of the corresponding data. Data can be supplied 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に対して出力することが可能となる。   A plurality (specifically, three) of chip select terminals CS0, CS2, CS4 which are a part of chip select terminals CS0, CS2, CS4, CS6 corresponding to output latch circuits 121a-121d are connected to output port 62b. The other chip select terminal CS6 outputs a chip select signal to the output latch circuit 121d for outputting data to the RAM 64. It is for outputting a select signal. In this case, input latch circuits 122a-122c are provided in a one-to-one correspondence with output latch circuits 121a-121c for outputting data to output port 62b, and output latch circuits 121a-121c are provided. The data output from 121c to the output port 62b is configured to be latched in the input latch circuits 122a to 122c corresponding to the output latch circuits 121a to 121c. More specifically, data paths L1 to L3 electrically connecting output latch circuits 121a to 121c and output port 62b are branched in the middle, and an input latch circuit corresponding to branch paths L4 to L6. It is electrically connected with 122a-122c. The data latched in 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 is input to the data terminals D10 to D17 of the CPU 101. Thus, when data is output to the output port 62b, the CPU core 102 reads and processes the data to be output without executing processing for separately storing the data in the register or the RAM 64 of the CPU core 102. It becomes possible to output the processed data 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 already 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 121 a in the CPU 101, and an input circuit 141 for outputting a chip select signal to the input latch circuit 122 a in the CPU 101. It is. An electrical configuration for outputting a chip select signal to a combination of the other output latch circuits 121b and 121c for circulating output data to the output port 62b and the input latch circuits 122b and 122c is shown in FIG. It is identical to 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, the IREQ terminal and the MREQ terminal. When the CPU core 102 executes a load instruction, the object selection circuit 133 connected to the I / O address decoder 134 to which 1 byte address data is input when the CPU core 102 executes an out instruction, and when the CPU core 102 executes a load instruction A memory address decoder 135 to which 2-byte address data is input, an address circuit 136 electrically connected to the IO address decoder 134 and the memory address decoder 135, an address circuit 136, an operation selection circuit 132, and And a synthesis circuit 137 electrically connected to the object selection circuit 133. That. The 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 combining 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 the initialization signal when the supply of the operation power to the CPU 101 is started, whereby the signal serving as the output selection of the operation selection signal is from the RD terminal. Among the WR signal from the RD signal and 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 the CPU core 102 is outputting either the IREQ signal or the MREQ signal. The IO address decoder 134 outputs an IO address signal when the 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 combined address signal when either the IO address signal or the memory address signal is output. The synthesis circuit 137 outputs a chip select signal to the output latch circuit 121a from the chip select terminal CS0 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 by the output latch circuit 121a, and is 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の実施形態と同様である。   Similar to the electrical configuration shown in FIG. 14 in the first embodiment, the input circuit 141 is electrically connected to the operation selection circuit 142 electrically connected to the RD terminal and the WR terminal, the IREQ terminal and the MREQ terminal. When the CPU core 102 executes a load instruction, the object selection circuit 143 connected to the I / O address decoder 144 to which 1 byte of address data is input when the CPU core 102 executes an out instruction, and when the CPU core 102 executes a load instruction. 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, and And a synthesis circuit 147 electrically connected to the object selection circuit 143. That. The specific configurations of the operation selection circuit 142, the object selection circuit 143, the IO address decoder 144, the memory address decoder 145, the address circuit 146, and the combining circuit 147 are the same as those in the first embodiment.

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

動作選択回路142に設けられたスイッチ回路142aは、CPU101への動作電力の供給が開始された場合に初期化信号が入力されることで、動作選択信号の出力契機となる信号がRD端子からのRD信号及びWR端子からのWR信号のうちRD信号となるように設定されている。したがって、CPUコア102からRD信号が出力されている場合に動作選択回路142から動作選択信号が出力される。   The switch circuit 142a provided in the operation selection circuit 142 receives the initialization signal when the supply of the operation power to the CPU 101 is started, whereby the signal serving as the output selection of the operation selection signal is 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 object selection circuit 143 outputs an object selection signal regardless of whether the CPU core 102 is outputting either the IREQ signal or the MREQ signal. The IO address decoder 144 outputs an IO address signal when the 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 combined address signal when either the IO address signal or the memory address signal is output. The synthesis 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. Thereby, the data latched in the input latch circuit 122 a is supplied to the data bus DB, and the supplied data is acquired by the CPU core 102. The acquired data is data previously output to the area corresponding to 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 becomes the trigger that the memory address signal of the output circuit 131 is output. It is identical to 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 and the address data for outputting the chip select signal from the input circuit 141 to the input latch circuit 122a are the same. It is possible to use Therefore, it becomes possible to process data that has been output to the output port 62b in the CPU core 102 and output the processed data to the output port 62b by specifying one address data.

また、一のアドレスデータの指定によって出力用ラッチ回路121aへのチップセレクト信号の出力及び入力用ラッチ回路122aへのチップセレクト信号の出力を行う構成であっても、出力用ラッチ回路121aへのチップセレクト信号の出力はCPUコア102からWR信号が出力されている場合に行われ、入力用ラッチ回路122aへのチップセレクト信号の出力はCPUコア102からRD信号が出力されている場合に行われる。したがって、出力用ラッチ回路121aを利用したデータの出力タイミングと、入力用ラッチ回路122aを利用したデータの入力タイミングとを異ならせることが可能である。   Further, 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 designation of one address data, the chip to the output latch circuit 121a is 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, it is possible to make the output timing of data using the output latch circuit 121a different from the input timing of data using the input latch circuit 122a.

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

図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. 20 (a) is a front view of the special view display unit 37a. In the special view display unit 37a, eight light emitting units 151 to 158 are provided. Each of the light emitting units 151 to 158 has an individual light source formed of an LED, and it is possible to turn on only one arbitrary light emitting unit 151 to 158 by performing on / off control of the individual light sources. The light emitting units 151 to 158 in any combination can be lighted. The individual light sources all emit light of the same color, so the same color is displayed in each of the light emitting parts 151 to 158, but the invention is not limited thereto. Different colors may be displayed in each of the light emitting units 151 to 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 seven-segment displays. 158 is arranged. The remaining one 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 describing an output area 159 in which data for setting 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 configuration, and each bit corresponds to the first to eighth light emitting units 151 to 158 on a one-to-one basis. Specifically, in the output area 159, a first bit 159a corresponding to the first light emitting unit 151, a second bit 159b corresponding to the second light emitting unit 152, and a third bit 159c corresponding to the third light emitting unit 153. , The fourth bit 159 d corresponding to the fourth light emitting unit 154, the fifth bit 159 e corresponding to the fifth light emitting unit 155, the sixth bit 159 f 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 portion 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, of the first to eighth bits 159a to 159h, the light emitting portions 151 to 158 corresponding to the bits 159a to 159h to which the data “1” corresponding to the light emission correspondence data is set are turned on. The light emission control for the first to eighth light emitting units 151 to 158 is performed so that the light emitting units 151 to 158 corresponding to the bits 159a to 159h in which 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. In FIG. 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 the 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 portions 151 to 158 as shown in FIG. 21 (b1). Among them, only the first light emitting unit 151 is turned on and the rest is turned off. From this state, as shown in FIGS. 21 (a2) to 21 (a8), the bits 159a to 159h in which "1" is set are the first bit 159a → the second bit 159b → the third bit 159c → the fourth By shifting in the order of bit 159 d → fifth bit 159 e → sixth bit 159 f → seventh bit 159 g → eighth bit 159 h, as shown in FIG. 21 (b 2) to FIG. 21 (b 8), light emission occurs. The light emitting units 151 to 158 are first light emitting unit 151 → second light emitting unit 152 → third light emitting unit 153 → fourth light emitting unit 154 → fifth light emitting unit 155 → sixth light emitting unit 156 → seventh light emitting unit 157 → eighth It changes in order of the light emission part 158. FIG. As a result, it is possible to change the display content of the special view display unit 37a only by changing the bit that sets “1” in the output area 159.

次に、主制御装置60のMPU62にて実行される特図表示部の制御処理について、図22のフローチャートを参照しながら説明する。特図表示部の制御処理は、タイマ割込み処理(図7)における表示制御処理(ステップS215)にて実行される。   Next, the control processing of the special view display unit executed by the MPU 62 of the main control device 60 will be described with reference to the flowchart of FIG. The control process of the special view 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バイトの共通アドレスデータが出力される。   If the variable display of the special view display unit 37a is not being performed, and the change start condition of the special view display unit 37a is satisfied (step S501: NO, step S502: YES), the drive for changing start which is a 3-byte instruction An 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 read instruction is set. By setting the second address code set in the lower byte in the lower eight address terminals A8 to A15 in the CPU core 102, the output setting of the 2-byte address data is performed (step S504). Thereby, 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 from the WR terminal of the CPU core 102 is started (step S506). Thereafter, with respect to the value of the program counter corresponding to the instruction read in step S503, the drive data at the start of fluctuation is read out from the area of the ROM 63 corresponding to the next value, and this data is output to the data bus DB. Setting (step S507). In the drive data at the start of fluctuation, "1" is set to only the first bit 159a among the first to eighth bits 159a to 159h of the output area 159, and "0" is set to the remaining bits 159a to 159h. It is drive data for making it. By execution of the process of step S507, the drive data at the start of the change is latched in the output latch circuit 121a, and the data corresponding to the drive data at the start of the change is the first to eighth bits 159a of the output area 159. It is set to -159 h. Thereby, the variable display of the pattern is started in the special view display unit 37a. The data output from output latch circuit 121a to output area 159 is latched in 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バイトの共通アドレスデータが出力される。   If the variable display of the special view display unit 37a is being performed (step S501: YES), it is not the end timing of the current variable display (step S508: NO), and the display timing is updated (step S509). (YES), a drive instruction for updating, 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 read instruction is set. By setting the second address code set in the lower byte in the lower eight address terminals A8 to A15 in the CPU core 102, the output setting of the 2-byte address data is performed (step S511). Thereby, 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 from the RD terminal of the CPU core 102 is started (step S513). Thereby, the drive data latched in 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. The drive data is drive data currently set in the output area 159.

その後、ステップS510にて読み出した命令に従って、駆動データのローテート処理を実行する(ステップS514)。具体的には、入力用ラッチ回路122aから取得した駆動データの各ビットが所定の方向に周回するようにローテート処理を実行する。これにより、図21(a1)〜図21(a8)に示すように駆動データにおいて「1」がセットされるビットが所定の方向に周回するようにずれる。   Thereafter, rotation processing of drive data is executed in accordance with the instruction read out in step S510 (step S514). Specifically, rotation processing is performed such that each bit of the drive data acquired from the input latch circuit 122 a circulates in a predetermined direction. As a result, as shown in FIGS. 21 (a1) to 21 (a8), the bits for 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 out in step S510, output setting of common address data is performed 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), and the output of the WR signal is started from the WR terminal of the CPU core 102 (step S517), and the rotation processing is executed in step S514. The drive data after this is set in the data bus DB as data to be output this time (step S518). As a result, the current drive data is latched in the output latch circuit 121a, and 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 view display unit 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 step S510 to step S518 are executed each time the display content update timing is reached before the end timing of the variable display. The update drive instruction data read out in this case is always the same instruction. This makes it possible to execute display control of the special view 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 success / failure determination result and the distribution determination result of the current game round is set in the output area 159, and the special map display is made to be the display content corresponding to the success / failure determination result and the distribution determination result. The display control of the unit 37a is performed.

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

出力ポート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-122c are provided in a one-to-one correspondence with output latch circuits 121a-121c for outputting data to output port 62b, and output latch circuits 121a-121c are connected to output ports. The data output to 62b is configured to be latched in input latch circuits 122a to 122c corresponding to output output latch circuits 121a to 121c. The data latched in 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 is input to the data terminals D10 to D17 of the CPU 101. Thus, when data is output to the output port 62b, the CPU core 102 reads and processes the data to be output without executing processing for separately storing the data in the register or the RAM 64 of the CPU core 102. It becomes possible to output the processed data 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. This makes it possible to supply output data 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からデータを取得することが可能となる。   As chip select signals are output from chip select terminals CS1, CS3 and CS5, data latched in input latch circuits 122a to 122c is supplied to data bus DB and input to data terminals D10 to D17 of CPU 101. With this configuration, it is possible to acquire data from the input latch circuits 122a to 122c at a preferable timing in control by the CPU 101.

出力用ラッチ回路121a〜121cと出力ポート62bとを電気的に接続するデータ用経路L1〜L3はそれぞれ途中で分岐しており、その分岐経路L4〜L6が対応する入力用ラッチ回路122a〜122cと電気的に接続されている。これにより、CPU101内に入力用ラッチ回路122a〜122cを内蔵させることなく、CPUコア102における出力データの再取得を行うことが可能となる。   The data paths L1 to L3 electrically connecting the output latch circuits 121a to 121c and the output port 62b are branched on the way, and the input latch circuits 122a to 122c corresponding to the branch paths L4 to L6, respectively. It is electrically connected. This makes it possible to reacquire output data in the CPU core 102 without incorporating the input latch circuits 122 a to 122 c 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に出力する処理を、一のアドレスデータの指定によって行うことが可能となる。   One byte of address data that triggers an IO address signal to be output from the IO address decoder 144 of the input circuit 141 is one byte of an address data that triggers an IO address signal to be output 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 becomes the trigger that the memory address signal of the output circuit 131 is output. It is identical to 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 and the address data for outputting the chip select signal from the input circuit 141 to the input latch circuit 122a are the same. It is possible to use Therefore, it becomes possible to process data that has been output to the output port 62b in the CPU core 102 and output the processed data to the output port 62b by specifying one address data.

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

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

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

出力用回路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, the IREQ terminal and the MREQ terminal. When the CPU core 102 executes a load instruction, the object selection circuit 173 connected to the I / O address decoder 174 to which 1-byte address data is input when the CPU core 102 executes an out instruction, and when the CPU core 102 executes a load instruction. A memory address decoder 175 to which 2-byte address data is input, an address circuit 176 electrically connected to the IO address decoder 174 and the memory address decoder 175, an address circuit 176, an operation selection circuit 172, and And a synthesis circuit 177 electrically connected to the object selection circuit 173. That. The specific configurations of the operation selection circuit 172, the object selection circuit 173, the IO address decoder 174, the memory address decoder 175, the address circuit 176 and the 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 the initialization signal when the supply of the operation power to the CPU 101 is started, whereby the signal serving as the output selection of the operation selection signal is from the RD terminal. Among the WR signal from the RD signal and 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 regardless of whether the CPU core 102 is outputting either the IREQ signal or the MREQ signal. The IO address decoder 174 outputs an IO address signal when the 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 combined address signal when either the IO address signal or the memory address signal is output. The synthesis circuit 177 outputs a chip select signal to the external output latch circuit 161 from the chip select terminal CS0 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 by the external output latch circuit 161, and the latch is performed for each area of the output port 62b corresponding to the external output latch circuit 161. The output data is output.

また、合成回路177に設けられた合成用論理回路177aの出力端子とチップセレクト端子CS0とを電気的に接続する信号経路L7は、その途中位置で分岐しており、その分岐経路L8は内部出力用ラッチ回路162に対して電気的に接続されている。これにより、チップセレクト端子CS0から外部出力用ラッチ回路161にチップセレクト信号が出力される場合には、内部出力用ラッチ回路162にもチップセレクト信号が出力される。そして、内部出力用ラッチ回路162はチップセレクト信号が入力されることにより、CPUコア102のデータ端子D0〜D7に設定されているデータ、すなわち外部出力用ラッチ回路161にラッチされるデータと同一のデータをラッチする。   The signal path L7 electrically connecting the output terminal of the synthesis logic circuit 177a provided in the synthesis circuit 177 and the chip select terminal CS0 branches at an intermediate position, and the branch path L8 is an internal output. It is electrically connected to the latch circuit 162. Thus, when the 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. The internal output latch circuit 162 receives the chip select signal, whereby 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 the 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の実施形態と同様である。   Similar 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, the IREQ terminal and the MREQ terminal. When the CPU core 102 executes a load instruction, the object selection circuit 183 connected to the I / O address decoder 184 to which 1 byte of address data is input when the CPU core 102 executes an out instruction, and when the CPU core 102 executes a load instruction. 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, and And a synthesis circuit 187 electrically connected to the object selection circuit 183. That. The 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 combining 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 illustrated as having two address terminals A0 to A15, two RD terminals, two RD terminals, two IREQ terminals, and two MREQ terminals. Only one each of these terminals is provided, and by branching the signal path extending from each terminal, the signal from each terminal is supplied to each of the output circuit 171 and the input circuit 181. There is.

動作選択回路182に設けられたスイッチ回路182aは、CPU101への動作電力の供給が開始された場合に初期化信号が入力されることで、動作選択信号の出力契機となる信号がRD端子からのRD信号及びWR端子からのWR信号のうちRD信号となるように設定されている。したがって、CPUコア102からRD信号が出力されている場合に動作選択回路182から動作選択信号が出力される。   The switch circuit 182a provided in the operation selection circuit 182 receives the initialization signal when the supply of the operation power to the CPU 101 is started, whereby the signal serving as the output selection of the operation selection signal is 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 182.

対象選択回路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 object selection circuit 183 outputs an object selection signal regardless of whether the CPU core 102 is outputting either the IREQ signal or the MREQ signal. 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 combined address signal when either the IO address signal or the memory address signal is output. The synthesis circuit 187 electrically connects the output terminal 187a of the synthesis circuit 187 with the internal input latch circuit 163 when all of the synthesis address signal, the operation selection signal, and the target selection signal are output. The chip select signal is output to the internal input latch circuit 163 through the signal path L10 provided therein. Thereby, the data latched in the internal input latch circuit 163 is supplied to the data bus DB, and the supplied data is acquired in the CPU core 102. The acquired data is data previously output to the area corresponding to 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. Also, 2-byte address data that triggers the output of a memory address signal from the memory address decoder 185 of the input circuit 181 becomes a trigger that the memory address signal of the output circuit 171 is output. It is identical to the byte address data. Thus, 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. Address data to be output can be made the same data. Therefore, it becomes possible to process data that has been output to the output port 62b in the CPU core 102 and output the processed data to the output port 62b by specifying one address data.

また、一のアドレスデータの指定によって各出力用ラッチ回路161,162へのチップセレクト信号の出力及び内部入力用ラッチ回路163へのチップセレクト信号の出力を行う構成であっても、各出力用ラッチ回路161,162へのチップセレクト信号の出力はCPUコア102からWR信号が出力されている場合に行われ、内部入力用ラッチ回路163へのチップセレクト信号の出力はCPUコア102からRD信号が出力されている場合に行われる。したがって、各出力用ラッチ回路161,162を利用したデータの出力タイミングと、内部入力用ラッチ回路163を利用したデータの入力タイミングとを異ならせることが可能である。   Further, each output latch is configured to output the chip select signal to each output latch circuit 161 and 162 and output the chip select signal to the internal input latch circuit 163 according to 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 output of the chip select signal to the internal input latch circuit 163 is the RD signal from the CPU core 102. It takes place if it is done. Therefore, it is possible to make the output timing of data using the output latch circuits 161 and 162 different from the input timing of data using the internal input latch circuit 163.

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

出力データをCPUコア102に再度供給するための内部入力用ラッチ回路163がCPU101に内蔵されている。これにより、内部入力用ラッチ回路163からデータバスDBにデータを供給させるチップセレクト信号を出力するための端子をCPU101に設ける必要が生じない。よって、CPU101の端子数の増加を抑えながら、出力データをCPUコア102に再度供給することが可能となる。   An internal input latch circuit 163 for resupplying output data to the CPU core 102 is incorporated in the CPU 101. As a result, there is no need 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 again to the CPU core 102 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>
The 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 reading data from RAM 64. Referring to FIG. The electrical configuration for outputting a chip select signal to the corresponding input latch circuit when reading out a command or data from the ROM 63 is the same as the electrical configuration shown in FIG. In addition, when writing data in the RAM 64, the electrical configuration for outputting the chip select signal to the corresponding output latch circuit is the RD signal when the operation select signal is output from the operation select circuit 191. However, the other points are the same as the electrical configuration shown in FIG. 24 except that they are WR signals.

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 is an operation selection circuit 191 electrically connected to the RD terminal and the WR terminal, and an object electrically connected to the IREQ terminal and the MREQ terminal. When the load instruction is executed in CPU core 102, 2-byte address data is input when selection circuit 192, initialization circuit 193 for outputting an initialization signal to operation selection circuit 191 and target selection circuit 192, and the like. And a combination circuit 195 electrically connected to the operation selection circuit 191, the target selection circuit 192, and the memory address decoder 194.

動作選択回路191に設けられたスイッチ回路191aは、CPU101への動作電力の供給が開始された場合に初期化信号が入力されることで、動作選択信号の出力契機となる信号がRD端子からのRD信号及びWR端子からのWR信号のうちRD信号となるように設定されている。したがって、CPUコア102からRD信号が出力されている場合に動作選択回路191から動作選択信号が出力される。   The switch circuit 191a provided in the operation selection circuit 191 receives the initialization signal when the supply of the operation power to the CPU 101 is started, and the signal serving as the output selection of the operation selection signal is 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 the initialization signal when the supply of the operation power to the CPU 101 is started, and thus the signal serving as the output trigger of the target selection signal is from the IREQ terminal. Of the MREQ signal from the IREQ signal and 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. Thereby, the data written in the area corresponding to the present address specification 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, it may be changed as follows. Incidentally, the configurations of the following different embodiments may be applied individually to the configuration of the above embodiment, or may be applied in combination.

(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 separately provided in the circuit corresponding to one chip select terminal CS0. Similar to the address decoder 115, one address decoder may be provided in which input terminals corresponding to the address terminals A0 to A15 are provided one to one. In this case, when a predetermined 1-byte address data is output from the upper eight address terminals A0 to A7, the address decoder outputs the address decoder from the lower eight address terminals A8 to A15. An address signal (corresponding to the combined address signal in the first embodiment) is output to the combining circuit 117 regardless of the content of the existing address data. Even in this configuration, the output of the RD signal from the CPU core 102, the output of one of the IREQ signal and the MREQ signal from the CPU core 102, and the output of predetermined two bytes of address data from the CPU core 102 In this case, the chip select signal can be output from the chip select terminal CS0. Further, in the case of the configuration, the configuration can be simplified as compared with the first embodiment in that only one address decoder is required. The 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 1 byte of address data is output from the upper 8 address terminals A0 to A7 and the lower 8 side address data are output. The control content of CPU core 102 is set so that all “0” or all “1” data is output from address terminals A8 to A15, and when accessing memory space 106, it is set in a load instruction. Alternatively, two bytes of address data may be output from the address terminals A0 to A15. In this case, even if a predetermined 1-byte address data is output from the upper 8 address terminals A0 to A7, 1 byte is output from the lower 8 address terminals A8 to A15. When the address data of is a specific data, the chip select signal is not output from the chip select terminal CS0. Thereby, even if the upper 1 byte of address data is predetermined data, if the lower 1 byte of address data is specific data, the chip from the chip select terminal different from the chip select terminal CS0 It becomes possible to use as an address which becomes an output opportunity of a select signal. The 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 separately provided in the circuit corresponding to one chip select terminal CS0. Similar to the address decoder 114, one address decoder may be provided with input terminals corresponding to the address terminals A0 to A7 on a one-to-one basis. In this case, when a predetermined 1-byte address data is input from the upper eight address terminals A0 to A7, the address decoder outputs the address signal to the synthesizing circuit 117 (the first embodiment described above). Output corresponding to the combined address signal in the embodiment). Even in this configuration, the output of the RD signal from the CPU core 102, the output of one of the IREQ signal and the MREQ signal from the CPU core 102, and the output of predetermined two bytes of address data from the CPU core 102 In this case, the chip select signal can be output from the chip select terminal CS0. Further, in the case of the configuration, the configuration can be simplified as compared with the first embodiment in that only one address decoder is required. The 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 object selection circuit 113 is omitted, and the combined address signal is output from the address circuit 116 and the operation selection signal is output from the operation selection circuit 111, the combination is performed. A chip select signal may be output from the circuit 117. 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, the CPU core 102 can output the chip select signal. It is necessary that either the RD signal or the WR signal is output and predetermined address data is output. The 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 the above embodiments, a chip select circuit is provided for outputting a chip select signal to an input latch circuit for inputting data from an input port 62a, and an output latch circuit for outputting data to an output port 62b. All of the circuits for outputting signals are not limited to the configuration for outputting a chip select signal even when either the IREQ signal or the MREQ signal is output from the CPU core 102, and those circuits Among them, a chip select signal may be output when an IREQ signal is output from the CPU core 102, but a chip select signal may not be output when an MREQ signal is output. In this case, the target selection circuit of the part of the circuits outputs the target selection signal only when the IREQ signal is output. In addition, while part of the circuits includes the IO address decoder, the memory address decoder and the address circuit are not provided. In the configuration, the synthesis circuit mounted in a part of the circuits inputs 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 will be output.

(6)上記第3の実施形態において内部出力用ラッチ回路162が設けられていない構成としてもよい。この場合、外部出力用ラッチ回路161から出力ポート62bへのデータの伝送経路を分岐させるとともにその分岐経路を内部入力用ラッチ回路163と電気的に接続することで、外部出力用ラッチ回路161から出力ポート62bに設定されるデータが内部入力用ラッチ回路163においてラッチされるようにすることが可能となる。   (6) In the third embodiment, the internal output latch circuit 162 may not be provided. 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, whereby the output from the external output latch circuit 161 is performed. It becomes possible for the data set to the port 62b to 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 instead, the function of the internal input latch circuit 163 may be performed by the RAM 64 or the register of the CPU 101. In this case, the configuration can be simplified as compared with the third embodiment in that the internal input latch circuit 163 need not be provided.

(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 connection terminals in a number greater than one byte, a configuration may be employed in which connection terminals for one byte are provided. In this configuration, the main control board 61 is provided with a plurality of input latch circuits, and a number of chip select terminals corresponding to the input latch circuits are provided one by one in the MPU 62 to be an output target of chip select signals. Data may be input from the input latch circuit to the input port 62a, 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 connection terminals having a number greater than one byte, a configuration may be employed in which connection terminals for one byte are provided. In this configuration, the main control board 61 is provided with a plurality of output latch circuits, and a number of chip select terminals corresponding to the output latch circuits in a one-to-one manner are provided in the MPU 62 to be output targets of chip select signals. Alternatively, data may be output from the output port 62b to an output latch circuit.

(9)主制御装置60から送信されるコマンドに基づいて、音声発光制御装置80により表示制御装置90が制御される構成に代えて、主制御装置60から送信されるコマンドに基づいて、表示制御装置90が音声発光制御装置80を制御する構成としてもよい。また、音声発光制御装置80と表示制御装置90とが別々に設けられた構成に代えて、両制御装置が一の制御装置として設けられた構成としてもよく、それら両制御装置のうち一方の機能が主制御装置60に集約されていてもよく、それら両制御装置の両機能が主制御装置60に集約されていてもよい。また、主制御装置60から音声発光制御装置80に送信されるコマンドの構成や、音声発光制御装置80から表示制御装置90に送信されるコマンドの構成も任意である。   (9) Instead of the configuration in which the display control device 90 is controlled by the voice emission control device 80 based on the command transmitted from the main control device 60, display control based on the command transmitted from the main control device 60 The device 90 may 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 control devices may be provided as one control device, and one function of the both control devices may be provided. May be integrated into the main control unit 60, and both functions of both control units may be integrated into the main control unit 60. Further, 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 and the like different from the above embodiments, for example, pachinko machines in which a motorized role opens a predetermined number of times when gaming balls enter a specific area of a special device The present invention can be applied to a pachinko machine that becomes a jackpot when a right enters and becomes a jackpot, a pachinko machine equipped with other features, an arrange ball machine, a game machine such as a ball ball, and the like.

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

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

<上記各実施形態から抽出される発明群について>
以下、上述した各実施形態から抽出される発明群の特徴について、必要に応じて効果等を示しつつ説明する。なお以下においては、理解の容易のため、上記各実施形態において対応する構成を括弧書き等で適宜示すが、この括弧書き等で示した具体的構成に限定されるものではない。
<About the invention group extracted from each of the above embodiments>
Hereinafter, the features of the invention group extracted from the above-described embodiments will be described while showing effects and the like as necessary. In the following, for ease of understanding, the corresponding configurations in the above-described embodiments are appropriately shown in parentheses, but the present invention is not limited to the specific configurations 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>
Features 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 provided with
The control execution means is
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 instruction corresponding signal (IREQ signal) when executing a second instruction having a different amount of information from the first instruction;
Equipped with
The game machine is
A specific output unit (a first output unit) that outputs a specific signal (chip select signal) regardless of at least the first command corresponding signal being output and the second command corresponding signal being output. In the embodiment, the synthesis circuit 117; in the second embodiment, the synthesis circuit 137; and in the third embodiment, the synthesis circuit 177);
Operating means (in the first embodiment, the input latch circuit 103 or the output latch circuit 104, the first embodiment) in which the specific operation state is at least one of input and output of information when the specific signal is output In the second embodiment, the output latch circuit 121a, and in the third embodiment, the external output latch circuit 161);
A game machine characterized by comprising:

特徴A1によれば、第1命令を実行する場合に第1信号出力手段から第1命令対応信号が出力され、第2命令を実行する場合に第2信号出力手段から第2命令対応信号が出力されるため、第1命令及び第2命令のいずれも実行していない状況において所定の動作が実行されてしまうことを阻止することが可能となるとともに、第1命令が実行されている場合と第2命令が実行されている場合とで動作対象を区別させることが可能となる。   According to the feature A1, when the first command is executed, the first signal output unit outputs the first command corresponding signal, and when the second command is executed, the second signal output unit outputs the second command corresponding signal. Therefore, it is possible to prevent the predetermined operation from being executed in the situation where neither the first instruction nor the second instruction is executed, and the first instruction is executed and It becomes 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 to bring the operating means into the specific operating state is also output when any of the first command corresponding signal and the second command corresponding signal is output from the control execution means. Ru. This makes it possible to bring the operating means 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 types of instructions in the case of setting the operating means to a specific operating state.

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

特徴A2.前記第1命令対応信号又は前記第2命令対応信号が出力されている場合に所定信号を出力する所定出力手段(第1の実施形態では対象選択回路113、第2の実施形態では対象選択回路133、第3の実施形態では対象選択回路173)を備え、
前記特定出力手段は、前記所定信号が出力されている場合に前記特定信号を出力することを特徴とする特徴A1に記載の遊技機。
Feature A2. A predetermined output means (a target selection circuit 113 in the first embodiment, a target selection circuit 133 in the second embodiment) for outputting a predetermined signal when the first command corresponding signal or the second command corresponding signal is output. , And in the third embodiment, an object selection circuit 173),
The gaming machine according to feature A1, wherein the specific output unit 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 device under the condition that the predetermined signal is output from the predetermined output device, the predetermined output device is the first command corresponding signal or the second command Since the predetermined signal is output when the corresponding signal is output, it is possible to obtain the above-described excellent effect while using the configuration other than the predetermined output means as it is.

特徴A3.前記所定出力手段は、前記第1信号出力手段と電気的に接続される入力手段及び前記第2信号出力手段と電気的に接続される入力手段を有し前記第1命令対応信号及び前記第2命令対応信号のいずれかが入力されている場合に前記所定信号を出力する論理回路(対象選択用論理回路113a)を備えていることを特徴とする特徴A2に記載の遊技機。   Feature A3. The predetermined output means includes an input means electrically connected to the first signal output means, and an input means electrically connected to the second signal output means. A game machine according to feature A2, comprising a logic circuit (object selection logic circuit 113a) for outputting the predetermined signal when any one of command 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 unit is configured to output the predetermined signal by itself. It is not necessary to switch the state of the predetermined output means when the second instruction 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 controlling the operating means to be in a specific operating state which is at least one of input and output of information, not only either the in instruction or the out instruction but also the load instruction is executed. 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 is
Designated information output means (address terminals A0 to A15) for outputting designation information to designate an operation target;
When the operation means is brought into the specific operation state by executing the first instruction, the first designation information is outputted from the designation information output means, and the operation means is outputted by executing the second instruction. Designated information output means for outputting the second designated information from the designated information output means when in a specific operation state (function to execute processing of step S305, step S402, step S408, step S415 and step S419 in the CPU core 102) )When,
Equipped with
The features A1 to A4 are characterized in that the specific output unit outputs the specific signal regardless of whether the first specification information is output or the second specification information is output. 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 are executable when the operation means is in the specific operation state, the first specification information is output when the first instruction is executed. When the second instruction is executed, the second specification information is output. This makes it possible to output the designation information in a mode corresponding to each of the case of executing the first instruction and the case of executing the second instruction. Further, even if the first designation information is output when the first instruction is executed and the second designation information is output when the second instruction is executed, the first designation information is output. Since the specific signal is output from the specific output means in either of the case where the second instruction information is output or the second instruction information is output, either of the first instruction and the second instruction is executed, It is possible to bring the operating means into a specific operating state.

なお、「指定情報出力手段」としては「指定情報出力部」又は「指定情報出力端子」が挙げられる。   In addition, as a "designation information output means", a "designation information output part" or a "designation information output terminal" is mentioned.

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

特徴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 Output of specified information is performed by quantity. In this case, the specific output unit is provided with the configuration of the feature A5, and the specific output unit outputs the specific signal regardless of whether the first specified information is output or the second specified information is output. The operating means can be brought into a specific operating state regardless of whether the first instruction or the second instruction is executed.

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

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

特徴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 designated correspondence means is
A means for outputting a first corresponding signal when the first designation information is output (in the first embodiment, the address decoder for memory 115, in the second embodiment, the address decoder for memory 135, the third embodiment) In the memory address decoder 175),
A unit for outputting a second corresponding signal when the second designation information is output (in the first embodiment, the IO address decoder 114, in the second embodiment, the IO address decoder 134, the third embodiment) Here, the IO address decoder 174),
A unit for outputting the designated corresponding signal when the first corresponding signal or the second corresponding signal is output (in the first embodiment, the address circuit 116; in the second embodiment, the address circuit 136, Address circuit 176) in the third embodiment;
The gaming machine according to feature A7, comprising:

特徴A8によれば、第1指定情報が出力されている場合にそれに対応させて第1対応信号を出力する手段と、第2指定情報が出力されている場合にそれに対応させて第2対応信号を出力する手段とが個別に設けられていることにより、第1指定情報及び第2指定情報のそれぞれに対応する信号の出力を比較的簡素な構成により行うことが可能となる。また、第1対応信号又は第2対応信号が出力されている場合に指定対応信号が出力される構成であるため、特定出力手段に出力される信号の種類を抑えることが可能となる。   According to the feature A8, the means for outputting the first corresponding signal in response to the output of the first designation information, and the second corresponding signal in response to the output of the second designation information. By separately providing means for outputting the signals, it is possible to perform the output of the signal corresponding to each of 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, it is possible to suppress the type of the signal output to the specific output unit.

なお、特徴A1〜A8の構成に対して、特徴A1〜A8、特徴B1〜B6、特徴C1〜C6のうちいずれか1又は複数の構成を適用してもよい。これにより、その組み合わせた構成による相乗的な効果を奏することが可能となる。   Note that any 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 A1 to A8. This makes it 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 (the drive unit 32b for special power, the drive unit 34b for general power, the special view display unit 37a, the special view hold display unit 37b, the general purpose drive execution means for executing the operation corresponding to the predetermined information set in the output means Diagram display unit 38a, common view suspension display unit 38b, etc.),
Supply means for acquiring the predetermined information set in the output means from the 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, and in the third embodiment, an internal output latch circuit 162 and an internal input latch circuit 163);
A game machine characterized by comprising:

特徴B1によれば、出力手段に設定された所定情報が伝送経路を介して制御実行手段に供給される。これにより、出力手段に設定する所定情報を別保存したり、再度読み出したりしなくても、その所定情報を制御実行手段において再度読み出して利用することが可能となる。   According to the feature B1, the predetermined information set in the output means is supplied to the control execution means via the transmission path. By this, even if the predetermined information set in the output means is not separately stored or read out again, the predetermined information can be read out again in the control execution means and used.

特徴B2.前記供給手段は、前記制御実行手段の制御に基づき前記供給手段に入力用取得信号が入力されている場合に前記所定情報を前記制御実行手段に供給することを特徴とする特徴B1に記載の遊技機。   Feature B2. The game according to the 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 control of the control execution means. Machine.

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

特徴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,
Equipped with
The supply means is electrically connected to a target path which is any one of the first transmission path and a second transmission path (data paths L1 to L3) of information from the setting means for output to the output means. A game machine according to feature B1 or B2, characterized in that the predetermined information acquired from the target path is supplied to the first transmission path to be supplied to the control execution means.

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

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

特徴B4によれば、出力用設定手段は出力用取得信号が入力されている場合に出力手段に対して所定情報を設定し、供給手段は入力用取得信号が入力されている場合に所定情報を制御実行手段に供給するため、所定情報の出力手段への設定タイミングと所定情報の制御実行手段への供給タイミングとを好ましいものとすることが可能となる。この場合に、出力用設定手段に出力用取得信号を出力させるために制御実行手段から出力される所定指定情報と、供給手段に入力用取得信号を出力させるために制御実行手段から出力される所定指定情報とが同一である。これにより、出力手段に所定情報を設定するために使用される所定指定情報を利用して、当該所定情報を制御実行手段に供給させることが可能となる。   According to the feature B4, the setting means for output sets predetermined information to the output means when the acquisition signal for output is inputted, and the supply means outputs the predetermined information when the acquisition signal for input is inputted In order to supply 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, the predetermined designation information output from the control execution unit to cause the output setting unit to output the output acquisition signal, and the predetermined output from the control execution unit to cause the supply unit to output the input acquisition signal The specification information is the same. Accordingly, it becomes possible to supply the predetermined information to the control execution means by using predetermined designation information used to set 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 is
First corresponding means (WR terminal) for outputting a first signal when setting the predetermined information by the output setting means;
Second corresponding means (RD terminal) for outputting a second signal when the supply means is to supply the predetermined information;
Equipped with
The first output corresponding means outputs the output acquisition signal to the output setting means when the first signal is outputted.
The game machine according to feature B4, wherein the second output corresponding means outputs the acquisition signal for input to the supply means when the second signal is outputted.

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

なお、「第1対応手段」としては「第1対応部」又は「第1対応端子」が挙げられ、「第2対応手段」としては「第2対応部」又は「第2対応端子」が挙げられる。   In addition, as the "first corresponding means", "the first corresponding portion" or "the first corresponding terminal" may be mentioned, and as the "second corresponding means", the "second corresponding portion" or the "second corresponding terminal" may be mentioned. Be

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

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

なお、特徴B1〜B6の構成に対して、特徴A1〜A8、特徴B1〜B6、特徴C1〜C6のうちいずれか1又は複数の構成を適用してもよい。これにより、その組み合わせた構成による相乗的な効果を奏することが可能となる。   Note that any 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. This makes it 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) Setting means for output (external output latch circuit 161) set to
Operation executing means (the drive unit 32b for special power, the drive unit 34b for general power, the special view display unit 37a, the special view hold display unit 37b, the general purpose drive execution means for executing the operation corresponding to the predetermined information set in the output means Diagram display unit 38a, common view suspension display unit 38b, etc.),
In a gaming machine provided with
The control means
A control execution unit (CPU core 102) having an information output unit capable of outputting the predetermined information to the output unit;
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 game machine characterized by comprising:

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

なお、「選択信号用手段」としては「選択部」又は「選択端子」が挙げられる。   In addition, a "selection part" or a "selection terminal" is mentioned as a "means for selection signal."

特徴C2.前記供給手段は、前記制御実行手段の制御に基づき前記供給手段に入力用取得信号が入力されている場合に前記所定情報を前記制御実行手段に供給することを特徴とする特徴C1に記載の遊技機。   Feature C2. The game according to the feature C1, wherein the supply means supplies the predetermined information to the control execution means when the 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 from the supply means to the control execution means at a preferable timing in the control execution means.

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

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

特徴C4.前記出力用設定手段は、出力用取得信号が入力されている場合に、前記所定伝送経路から取得した前記所定情報を前記出力手段に設定し、
前記供給手段は、入力用取得信号が入力されている場合に前記所定情報を前記制御実行手段に供給すべく前記所定伝送経路に供給し、
前記制御実行手段から所定指定情報(アドレスデータ)が出力されている場合に、前記出力用設定手段に前記出力用取得信号を出力する第1出力対応手段(合成回路177)と、
前記制御実行手段から前記所定指定情報が出力されている場合に、前記供給手段に前記入力用取得信号を出力する第2出力対応手段(合成回路187)と、
を備えていることを特徴とする特徴C3に記載の遊技機。
Feature C4. The output setting means sets the predetermined information acquired from the predetermined transmission path in the output means when the output acquisition signal is input.
The supply means supplies the predetermined information to the predetermined transmission path so as to supply the control execution means when the 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 setting means for output sets predetermined information to the output means when the acquisition signal for output is inputted, and the supply means performs the control execution means when the acquisition signal for input is inputted In order to supply the predetermined information to the control unit, it is possible to make the setting timing of the predetermined information to the output unit and the supply timing of the predetermined information to the control execution unit preferable. In this case, the predetermined designation information output from the control execution unit to cause the output setting unit to output the output acquisition signal, and the predetermined output from the control execution unit to cause the supply unit to output the input acquisition signal The specification information is the same. Accordingly, it becomes possible to supply the predetermined information to the control execution means by using predetermined designation information used to set 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 is
First corresponding means (WR terminal) for outputting a first signal when setting the predetermined information by the output setting means;
Second corresponding means (RD terminal) for outputting a second signal when the supply means is to supply the predetermined information;
Equipped with
The first output corresponding means outputs the output acquisition signal to the output setting means when the first signal is outputted.
The game machine according to Feature C4, wherein the second output corresponding means outputs the acquisition signal for input to the supply means when the second signal is outputted.

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

なお、「第1対応手段」としては「第1対応部」又は「第1対応端子」が挙げられ、「第2対応手段」としては「第2対応部」又は「第2対応端子」が挙げられる。   In addition, as the "first corresponding means", "the first corresponding portion" or "the first corresponding terminal" may be mentioned, and as the "second corresponding means", the "second corresponding portion" or the "second corresponding terminal" may be mentioned. Be

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

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

なお、特徴C1〜C6の構成に対して、特徴A1〜A8、特徴B1〜B6、特徴C1〜C6のうちいずれか1又は複数の構成を適用してもよい。これにより、その組み合わせた構成による相乗的な効果を奏することが可能となる。   Note that any 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 C1 to C6. This makes it possible to produce a synergistic effect by the combined configuration.

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

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

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

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

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

スロットマシン等の回胴式遊技機:複数の絵柄を可変表示させる絵柄表示装置を備え、始動操作手段の操作に起因して前記複数の絵柄の可変表示が開始され、停止操作手段の操作に起因して又は所定時間経過することにより前記複数の絵柄の可変表示が停止され、その停止後の絵柄に応じて遊技者に特典を付与する遊技機。   Throttle type gaming machines such as slot machines: A pattern display device for variably displaying a plurality of patterns, variable display of the plurality of patterns is started due to the operation of the start operation means, and the cause is due to the operation of the stop operation means And / or a variable display of the plurality of symbols is stopped when a predetermined time elapses, and a game machine which provides a bonus to the player according to the symbols 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…データ用経路。   10: Pachinko machine, 32b: drive unit for special electric power, 34b: drive unit for common use, 37a: special view display unit, 37b: special view reservation display unit, 38a: common view display unit, 38b: common view reservation display Section 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: combination circuit, 121a: output latch circuit, 122a to 122c, input latch circuit, 133: target selection circuit, 134: IO address decoder, 135: Address decoder for memory, 136: circuit for address, 137: combining circuit, 147: combining circuit, 161: latch circuit for external output, 1 2 ... internal output latch circuit, 163 ... internal input latch circuit, 173 ... target selection circuit, 174 ... IO address decoder, 175 ... memory address decoder, 176 ... address circuit, 177 ... synthesis circuit, 187 ... synthesis Circuit, A0 to A15: Address terminal, CS0: Chip select terminal, DB: Data bus, L1 to L3: Data path.

Claims (1)

出力手段に対して所定情報が設定されるようにする制御実行手段と、
前記出力手段に設定された前記所定情報に対応する動作を実行する動作実行手段と、
前記出力手段に設定される前記所定情報を当該所定情報が伝送される伝送経路から取得し、その取得した前記所定情報を前記制御実行手段に供給する供給手段と、
を備えていることを特徴とする遊技機。
Control execution means for setting predetermined information to the output means;
Operation execution means for executing an operation corresponding to the predetermined information set in the output means;
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;
A game machine characterized by comprising:
JP2019084889A 2019-04-26 2019-04-26 Game machine Pending JP2019115817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019084889A JP2019115817A (en) 2019-04-26 2019-04-26 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019084889A JP2019115817A (en) 2019-04-26 2019-04-26 Game machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015006944A Division JP6520131B2 (en) 2015-01-16 2015-01-16 Gaming machine

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2020087111A Division JP2020127811A (en) 2020-05-19 2020-05-19 Game machine

Publications (1)

Publication Number Publication Date
JP2019115817A true JP2019115817A (en) 2019-07-18

Family

ID=67303817

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019084889A Pending JP2019115817A (en) 2019-04-26 2019-04-26 Game machine

Country Status (1)

Country Link
JP (1) JP2019115817A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000187988A (en) * 1998-12-21 2000-07-04 Motorola Inc Detection circuit and its method
JP2003062279A (en) * 2001-08-29 2003-03-04 Fuji Shoji:Kk Game machine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000187988A (en) * 1998-12-21 2000-07-04 Motorola Inc Detection circuit and its method
JP2003062279A (en) * 2001-08-29 2003-03-04 Fuji Shoji:Kk Game machine

Similar Documents

Publication Publication Date Title
JP5903799B2 (en) Game machine
JP4468537B2 (en) Game machine, recording medium, and variation display method
JP2008018073A (en) Game machine
JP6520132B2 (en) Gaming machine
JP6119158B2 (en) Game machine
JP6443065B2 (en) Game machine
JP6520131B2 (en) Gaming machine
JP2014061044A (en) Game machine
JP2019115818A (en) Game machine
JP2019115817A (en) Game machine
JP6996589B2 (en) Pachinko machine
JP2008018074A (en) Game machine
JP2020127811A (en) Game machine
JP2019030753A (en) Game machine
JP2020138066A (en) Game machine
JP6164275B2 (en) Game machine
JP2021118965A (en) Game machine
JP2012217775A (en) Game machine
JP6332312B2 (en) Game machine
JP6544464B2 (en) Gaming machine
JP6888596B2 (en) Pachinko machine
JP5853395B2 (en) Game machine
JP6354898B2 (en) Game machine
JP2019088864A (en) Game machine
JP2019048189A (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200331

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20201006