JP2021102016A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2021102016A
JP2021102016A JP2019235514A JP2019235514A JP2021102016A JP 2021102016 A JP2021102016 A JP 2021102016A JP 2019235514 A JP2019235514 A JP 2019235514A JP 2019235514 A JP2019235514 A JP 2019235514A JP 2021102016 A JP2021102016 A JP 2021102016A
Authority
JP
Japan
Prior art keywords
circuit
voltage
power supply
data
register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019235514A
Other languages
Japanese (ja)
Other versions
JP7334113B2 (en
Inventor
貴史 野尻
Takashi Nojiri
貴史 野尻
一寛 中村
Kazuhiro Nakamura
一寛 中村
昌史 有田
Masashi Arita
昌史 有田
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.)
Fuji Shoji Co Ltd
Original Assignee
Fuji Shoji 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 Fuji Shoji Co Ltd filed Critical Fuji Shoji Co Ltd
Priority to JP2019235514A priority Critical patent/JP7334113B2/en
Publication of JP2021102016A publication Critical patent/JP2021102016A/en
Application granted granted Critical
Publication of JP7334113B2 publication Critical patent/JP7334113B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a game machine capable of achieving various high-grade performances without any troubles by suppressing wasted power consumption.SOLUTION: A power supply board is provided with a composite circuit component in which a principal part of a converter circuit CV 12s is constituted by arranging necessary circuit components on a circuit board, and a group of circuit connection bars including a plurality of circuit connection bars connected electrically to the same spot of the principal part are aligned in one row and coated in the projected state. The plurality of circuit connection bars connected electrically to the same spot are connected respectively to one circuit pattern land having an installation width corresponding to the maximum separation distance of the plurality of circuit connection bars.SELECTED DRAWING: Figure 9

Description

本発明は、遊技動作に起因する抽選処理を行い、その抽選結果に対応する画像演出を実行する遊技機に関し、特に、電源回路を改善した遊技機に関する。 The present invention relates to a gaming machine that performs a lottery process caused by a gaming operation and executes an image effect corresponding to the lottery result, and more particularly to a gaming machine having an improved power supply circuit.

パチンコ機などの弾球遊技機は、遊技盤に設けた図柄始動口と、複数の表示図柄による一連の図柄変動態様を表示する図柄表示部と、開閉板が開閉される大入賞口などを備えて構成されている。そして、図柄始動口に設けられた検出スイッチが遊技球の通過を検出すると入賞状態となり、遊技球が賞球として払出された後、図柄表示部では表示図柄が所定時間変動される。その後、7・7・7などの所定の態様で図柄が停止すると大当り状態となり、大入賞口が繰返し開放されて、遊技者に有利な遊技状態を発生させている。 A ball game machine such as a pachinko machine is equipped with a symbol start port provided on the game board, a symbol display unit for displaying a series of symbol variation modes by a plurality of display symbols, and a large winning opening for opening and closing the opening / closing plate. It is composed of. Then, when the detection switch provided at the symbol start port detects the passage of the game ball, the winning state is set, and after the game ball is paid out as the prize ball, the displayed symbol is changed for a predetermined time on the symbol display unit. After that, when the symbol is stopped in a predetermined mode such as 7, 7, 7, a big hit state is reached, and the big winning opening is repeatedly opened to generate a game state advantageous to the player.

このような遊技状態を発生させるか否かは、図柄始動口に遊技球が入賞したことを条件に実行される大当り抽選で決定されており、上記の図柄変動動作は、この抽選結果を踏まえたものとなっている。例えば、抽選結果が当選状態である場合には、リーチアクションなどと称される演出動作を20秒前後実行し、その後、特別図柄を整列させている。一方、ハズレ状態の場合にも、同様のリーチアクションが実行されることがあり、この場合には、遊技者は、大当り状態になることを強く念じつつ演出動作の推移を注視することになる。そして、図柄変動動作の終了時に、停止ラインに所定図柄が揃えば、大当り状態であることが遊技者に保証されたことになる。 Whether or not to generate such a game state is determined by a big hit lottery executed on the condition that the game ball wins at the symbol start opening, and the above symbol variation operation is based on the lottery result. It has become a thing. For example, when the lottery result is in the winning state, an effect operation called a reach action or the like is executed for about 20 seconds, and then special symbols are arranged. On the other hand, even in the case of a lost state, the same reach action may be executed. In this case, the player pays close attention to the transition of the production operation while strongly paying attention to the big hit state. Then, if the predetermined symbols are aligned on the stop line at the end of the symbol variation operation, the player is guaranteed to be in the big hit state.

特開2018−130320号公報JP-A-2018-130320 特開2018−000601号公報JP-A-2018-000601 特開2015−205117号公報Japanese Unexamined Patent Publication No. 2015-205117 特開2015−198716号公報Japanese Unexamined Patent Publication No. 2015-198716

この種の遊技機では、各種の演出を複雑化かつ豊富化したいところ、特に、画像演出や役物演出については、その要請が高い。そこで、役物演出を豊富化すると共に、ランプ演出や画像演出についても豊富化したいところ、特定の遊技機だけが大電力を消費したのでは、遊技ホール全体としての電力供給能力が超過してしまう。 In this type of gaming machine, there is a high demand for complicated and abundant productions, especially for image productions and character productions. Therefore, in addition to enriching the character production, we also want to enrich the lamp production and image production, but if only a specific game machine consumes a large amount of power, the power supply capacity of the entire game hall will be exceeded. ..

そこで、遊技機毎に使用可能な電力量の範囲内で、各種の演出を豊富化する必要があり、出願人も、各種の電源回路について提案をしている(引用文献1〜引用文献4)。具体的には、引用文献1〜引用文献4には、電源基板を部品化する構成、演出制御基板への経路にサーミスタを設ける構成、DCコンバータを一斉遮断する構成、スイッチ回路がON動作してサーミスタをバイパスする構成を、各々開示している。 Therefore, it is necessary to enrich various effects within the range of the electric power that can be used for each gaming machine, and the applicant has also proposed various power supply circuits (Cited Documents 1 to 4). .. Specifically, in Cited Documents 1 to 4, the power supply board is made into a component, the thermistor is provided in the path to the effect control board, the DC converter is cut off all at once, and the switch circuit is turned on. Each configuration that bypasses the thermistor is disclosed.

しかし、電源回路について更なる改善が望まれており、また、限られた電力消費量の範囲で、各種の演出制御を更に高度化したいところである。また、如何なる場合にも、電源トラブルは避ける必要がある。 However, further improvement of the power supply circuit is desired, and it is desired to further enhance various production controls within a limited range of power consumption. Moreover, in any case, it is necessary to avoid power supply trouble.

本発明は、上記の課題に鑑みてなされたものであって、無駄な消費電力を更に抑制した遊技機を提供することを目的とする。また、不具合のない高度な各種の演出を実現する遊技機を提供することを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a gaming machine in which wasteful power consumption is further suppressed. Another object of the present invention is to provide a gaming machine that realizes various advanced effects without defects.

上記の目的を達成するため、本発明は、所定のスイッチ信号に起因する抽選結果に基づいて各種の制御動作を実行する遊技機であって、外部から受ける交流電圧に基づいて、各種レベルの直流電圧を形成する電源基板には、必要な回路部品を所定の基板に配置してコンバータ回路の主要部を構成すると共に、前記主要部の同一箇所に電気接続させた複数本を含んだ一群の回路接続バーを、一列に整列して突出させた状態で、前記主要部を被覆した複合回路部品が設けられ、前記一群の回路接続バーは、各々、前記複合回路部品から略直交した状態で、前記電源基板に挿入され、同一箇所に電気接続させた複数本の回路接続バーは、前記複数本の回路接続バーの最大離間距離に対応する取付幅を有する一の回路パターンランドに各々接続されていることを特徴とする。 In order to achieve the above object, the present invention is a gaming machine that executes various control operations based on a lottery result caused by a predetermined switch signal, and has various levels of direct current based on an AC voltage received from the outside. On the power supply board that forms the voltage, a group of circuits including a plurality of circuits in which necessary circuit components are arranged on a predetermined board to form the main part of the converter circuit and electrically connected to the same part of the main part. A composite circuit component covering the main portion is provided in a state where the connection bars are aligned and protruded in a row, and each of the group of circuit connection bars is in a state of being substantially orthogonal to the composite circuit component. The plurality of circuit connection bars inserted into the power supply board and electrically connected at the same location are each connected to one circuit pattern land having a mounting width corresponding to the maximum separation distance of the plurality of circuit connection bars. It is characterized by that.

上記した本発明によれば、無駄な消費電力を更に抑制して、高度な各種の演出を不具合なく実現することができる。 According to the above-described invention, it is possible to further suppress unnecessary power consumption and realize various advanced effects without any trouble.

本実施例のパチンコ機を示す斜視図である。It is a perspective view which shows the pachinko machine of this Example. 図1の遊技機の遊技領域を示す正面図である。It is a front view which shows the gaming area of the gaming machine of FIG. 図1の遊技機の全体回路構成を示すブロック図である。It is a block diagram which shows the whole circuit structure of the gaming machine of FIG. 電源基板の構成を示すブロック図である。It is a block diagram which shows the structure of a power-source board. リレー回路を関連回路と共に示す回路図である。It is a circuit diagram which shows the relay circuit together with the related circuit. 全波整流回路と力率改善回路を示す回路図である。It is a circuit diagram which shows the full-wave rectifier circuit and the power factor improvement circuit. 電圧監視回路を示す回路図である。It is a circuit diagram which shows the voltage monitoring circuit. 同期整流式のDC/DCコンバータを示す回路図である。It is a circuit diagram which shows the DC / DC converter of a synchronous rectification type. 同期整流式の別のDC/DCコンバータを示す回路図である。It is a circuit diagram which shows another DC / DC converter of a synchronous rectification type. 非同期整流式のDC/DCコンバータを示す回路図である。It is a circuit diagram which shows the asynchronous rectification type DC / DC converter. 電源基板の裏面側を示す概略図である。It is the schematic which shows the back surface side of the power-source board. 電源基板の第1〜第3コネクタの構成を示す概略図である。It is the schematic which shows the structure of the 1st | 3rd connector of the power-source board. 図1の遊技機について、演出制御部の回路構成をやや詳細に示すブロック図である。It is a block diagram which shows the circuit structure of the effect control part in a little detail about the game machine of FIG. 演出制御部を構成する複合チップを説明する図面である。It is a drawing explaining the composite chip which comprises the effect control part. 図13に示すCPU回路の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the CPU circuit shown in FIG. CPU回路の内蔵CPU(演出制御CPU)のメモリマップを図示したものである。The memory map of the built-in CPU (effect control CPU) of the CPU circuit is illustrated. DMACについて、各種の転送動作モード(a)〜(b)と、転送動作手順(c)〜(e)を説明する図面である。It is a drawing explaining various transfer operation modes (a)-(b) and transfer operation procedure (c)-(e) about DMAC. インデックス空間、インデックステーブル、仮想描画空間、及び、描画領域について説明する図面である。It is a drawing explaining an index space, an index table, a virtual drawing space, and a drawing area. データ転送回路の内部構成を、関連する回路構成と共に記載したブロック図である。It is a block diagram which described the internal structure of a data transfer circuit together with the related circuit structure. 表示回路の内部構成を、関連する回路構成と共に記載したブロック図である。It is a block diagram which described the internal structure of a display circuit together with the related circuit structure. CPUリセット後のパワーリセット動作を説明するフローチャートである。It is a flowchart explaining a power reset operation after a CPU reset. 図21の一部であるメモリセクション初期化処理を説明するフローチャートである。It is a flowchart explaining the memory section initialization process which is a part of FIG. 図21の一部であるメイン制御処理と、割込み処理を説明するフローチャートである。It is a flowchart explaining the main control processing and interrupt processing which are a part of FIG. メイン制御処理の一部であるCGROMの初期化処理を説明するフローチャートである。It is a flowchart explaining the initialization process of CGROM which is a part of the main control process. 別の割込み処理について、処理内容の一部を説明するフローチャートである。It is a flowchart explaining a part of the processing contents about another interrupt processing. プリローダを使用しない場合について、演出制御CPU63の制御動作を説明するフローチャートである。It is a flowchart explaining the control operation of the effect control CPU 63 when the preloader is not used. メモリREAD動作とメモリWRITE 動作の一例を示すタイムチャートである。It is a time chart which shows an example of a memory READ operation and a memory WRITE operation. ディスプレイリストの構成を説明する図面である。It is a drawing explaining the structure of a display list.

以下、実施例に基づいて本発明を詳細に説明する。図1は、本実施例のパチンコ機GMを示す斜視図である。このパチンコ機GMは、島構造体に着脱可能に装着される矩形枠状の木製外枠1と、外枠1に固着されたヒンジ2を介して開閉可能に枢着される内枠3とで構成されている。この内枠3には、遊技盤5が、裏側からではなく、表側から着脱自在に装着され、その前側には、ガラス扉6と前面板7とが夫々開閉自在に枢着されている。なお、本明細書では、ガラス扉6と前面板7を総称して前扉部材と称する。そして、前扉部材(ガラス扉6や前面板7)が枢着された状態の内枠3を遊技枠と称することがある。 Hereinafter, the present invention will be described in detail based on Examples. FIG. 1 is a perspective view showing a pachinko machine GM of this embodiment. This pachinko machine GM consists of a rectangular frame-shaped wooden outer frame 1 that is detachably attached to the island structure and an inner frame 3 that is pivotally attached to the island structure via a hinge 2 fixed to the outer frame 1. It is configured. A game board 5 is detachably attached to the inner frame 3 not from the back side but from the front side, and a glass door 6 and a front plate 7 are pivotally attached to the front side thereof so as to be openable and closable. In this specification, the glass door 6 and the front plate 7 are collectively referred to as a front door member. The inner frame 3 in which the front door member (glass door 6 and front plate 7) is pivotally attached may be referred to as a game frame.

ガラス扉6の外周には、LEDランプなどによる電飾ランプが、略C字状に配置されている。一方、ガラス扉6の上部左右位置と下側には、全3個のスピーカが配置されている。上部に配置された2個のスピーカは、各々、左右チャンネルR,Lの音声を出力し、下側のスピーカは低音を出力するよう構成されている。 Illumination lamps such as LED lamps are arranged in a substantially C shape on the outer periphery of the glass door 6. On the other hand, a total of three speakers are arranged at the upper left and right positions and the lower side of the glass door 6. The two speakers arranged at the upper part are configured to output the sound of the left and right channels R and L, respectively, and the lower speaker is configured to output the bass sound.

前面板7には、発射用の遊技球を貯留する上皿8が装着され、内枠3の下部には、上皿8から溢れ出し又は抜き取った遊技球を貯留する下皿9と、発射ハンドル10とが設けられている。発射ハンドル10は発射モータと連動しており、発射ハンドル10の回動角度に応じて動作する打撃槌によって遊技球が発射される。 An upper plate 8 for storing a game ball for launch is mounted on the front plate 7, and a lower plate 9 for storing a game ball overflowing or extracted from the upper plate 8 and a launch handle are below the inner frame 3. 10 is provided. The launch handle 10 is interlocked with the launch motor, and the game ball is launched by a striking mallet that operates according to the rotation angle of the launch handle 10.

上皿8の外周面には、チャンスボタン11が設けられている。このチャンスボタン11は、遊技者の左手で操作できる位置に設けられており、遊技者は、発射ハンドル10から右手を離すことなくチャンスボタン11を操作できる。このチャンスボタン11は、通常時には機能していないが、ゲーム状態がボタンチャンス状態となると内蔵ランプが点灯されて操作可能となる。なお、ボタンチャンス状態は、必要に応じて設けられるゲーム状態である。 A chance button 11 is provided on the outer peripheral surface of the upper plate 8. The chance button 11 is provided at a position where it can be operated by the player's left hand, and the player can operate the chance button 11 without releasing the right hand from the firing handle 10. The chance button 11 does not function normally, but when the game state becomes the button chance state, the built-in lamp is turned on and the operation is possible. The button chance state is a game state provided as needed.

また、チャンスボタン11の下方には、ロータリースイッチ型の音量スイッチVLSWが配置されており、遊技者が音量スイッチVLSWを操作することで、無音レベル(=0)から最高レベル(=7)まで、スピーカ音量を8段階に調整できるようになっている。なお、スピーカの音量は、係員だけが操作可能な設定スイッチ(不図示)によって初期設定されており、遊技者が音量スイッチVLSWを操作しない限り、初期設定音量が維持される。また、異常事態が発生したことを報知する異常報知音は、係員による初期設定音量や、遊技者の設定音量に拘らず最高音量で放音される。 Further, a rotary switch type volume switch VLSW is arranged below the chance button 11, and the player operates the volume switch VLSW to move from silence level (= 0) to the highest level (= 7). The speaker volume can be adjusted in 8 steps. The volume of the speaker is initially set by a setting switch (not shown) that can be operated only by the staff, and the default volume is maintained unless the player operates the volume switch VLSW. In addition, the abnormal notification sound for notifying that an abnormal situation has occurred is emitted at the maximum volume regardless of the initial set volume by the staff or the set volume of the player.

上皿8の右部には、カード式球貸し機に対する球貸し操作用の操作パネル12が設けられ、カード残額を3桁の数字で表示する度数表示部と、所定金額分の遊技球の球貸しを指示する球貸しスイッチと、ゲーム終了時にカードの返却を指令する返却スイッチとが設けられている。 On the right side of the upper plate 8, an operation panel 12 for ball lending operation for a card-type ball lending machine is provided, a frequency display unit for displaying the remaining amount of the card with a three-digit number, and a game ball for a predetermined amount. A ball lending switch for instructing lending and a return switch for instructing the return of cards at the end of the game are provided.

図2に示すように、遊技盤5の表面には、金属製の外レールと内レールとからなるガイドレール13が環状に設けられ、その略中央には、中央開口HOが設けられている。そして、中央開口HOの下方には、不図示の可動演出体が隠蔽状態で収納されており、可動予告演出時には、その可動演出体が上昇して露出状態となることで、所定の信頼度の予告演出を実現している。ここで、予告演出とは、遊技者に有利な大当り状態が招来することを不確定に報知する演出であり、予告演出の信頼度とは、大当り状態が招来する確率を意味している。 As shown in FIG. 2, on the surface of the game board 5, a guide rail 13 composed of an outer rail and an inner rail made of metal is provided in an annular shape, and a central opening HO is provided substantially in the center thereof. A movable effect body (not shown) is concealed below the central opening HO, and the movable effect body is raised to be exposed at the time of the movable notice effect, so that the predetermined reliability is achieved. The notice production is realized. Here, the advance notice effect is an effect of uncertainly notifying the player that a big hit state that is advantageous to the player will be invited, and the reliability of the advance notice effect means the probability that the big hit state will be invited.

中央開口HOには、大型(例えば、横1280×縦1024ピクセル)の液晶カラーディスプレイ(LCD)で構成されたメイン表示装置DS1が配置され、メイン表示装置DS1の右側には、小型(例えば、横480×縦800ピクセル)の液晶カラーディスプレイで構成された可動式のサブ表示装置DS2が配置されている。メイン表示装置DS1は、大当り状態に係わる特定図柄を変動表示すると共に背景画像や各種のキャラクタなどをアニメーション的に表示する装置である。この表示装置DS1は、中央部に特別図柄表示部Da〜Dcと右上部に普通図柄表示部19とを有している。そして、特別図柄表示部Da〜Dcでは、大当り状態の招来を期待させるリーチ演出が実行されることがあり、特別図柄表示部Da〜Dc及びその周りでは、適宜な予告演出などが実行される。 A main display device DS1 composed of a large (for example, 1280 horizontal × 1024 vertical pixels) liquid crystal color display (LCD) is arranged in the central opening HO, and a small size (for example, horizontal) is arranged on the right side of the main display device DS1. A movable sub-display device DS2 composed of a liquid crystal color display (480 × 800 pixels in height) is arranged. The main display device DS1 is a device that displays a specific symbol related to a jackpot state in a variable manner and displays a background image, various characters, and the like in an animation manner. The display device DS1 has special symbol display units Da to Dc in the central portion and a normal symbol display unit 19 in the upper right portion. Then, in the special symbol display units Da to Dc, a reach effect that is expected to invite a big hit state may be executed, and an appropriate notice effect or the like is executed in the special symbol display units Da to Dc and its surroundings.

サブ表示装置DS2は、通常時には、その表示画面が遊技者に見やすい角度に傾斜した静止状態で画像情報を表示している。但し、所定の予告演出時には、遊技者に見やすい角度に傾斜角度を変えながら、図示の左側に移動する共に、所定の予告画像を表示するようになっている。 Normally, the sub-display device DS2 displays image information in a stationary state in which the display screen is tilted at an angle that is easy for the player to see. However, at the time of the predetermined advance notice effect, the predetermined advance notice image is displayed while moving to the left side of the drawing while changing the inclination angle to an angle that is easy for the player to see.

すなわち、実施例のサブ表示装置DS2は、単なる表示装置ではなく、予告演出を実行する可動演出体としても機能している。ここで、サブ表示装置DS2による予告演出は、その信頼度が高く設定されており、遊技者は、大きな期待感をもってサブ表示装置DS2の移動動作に注目することになる。 That is, the sub-display device DS2 of the embodiment is not only a display device but also functions as a movable effect body that executes a notice effect. Here, the notice effect by the sub-display device DS2 is set with high reliability, and the player pays attention to the moving operation of the sub-display device DS2 with great expectation.

ところで、遊技球が落下移動する遊技領域には、第1図柄始動口15a、第2図柄始動口15b、第1大入賞口16a、第2大入賞口16b、普通入賞口17、及び、ゲート18が配設されている。これらの入賞口15〜18は、それぞれ内部に検出スイッチを有しており、遊技球の通過を検出できるようになっている。 By the way, in the game area where the game ball falls and moves, the first symbol start opening 15a, the second symbol start opening 15b, the first big winning opening 16a, the second big winning opening 16b, the normal winning opening 17, and the gate 18 Are arranged. Each of these winning openings 15 to 18 has a detection switch inside, so that the passage of a game ball can be detected.

第1図柄始動口15aの上部には、導入口INから進入した遊技球がシーソー状又はルーレット状に移動した後に、第1図柄始動口15に入賞可能に構成された演出ステージ14が配置されている。そして、第1図柄始動口15に遊技球が入賞すると、特別図柄表示部Da〜Dcの変動動作が開始されるよう構成されている。 At the upper part of the first symbol start port 15a, an effect stage 14 configured to be able to win a prize in the first symbol start port 15 is arranged after the game ball entering from the introduction port IN moves in a seesaw shape or a roulette shape. There is. Then, when the game ball wins a prize in the first symbol start opening 15, the special symbol display units Da to Dc are configured to start the variable operation.

第2図柄始動口15bは、左右一対の開閉爪を備えた電動式チューリップで開閉されるように構成され、普通図柄表示部19の変動後の停止図柄が当り図柄を表示した場合には、所定時間だけ、若しくは、所定個数の遊技球を検出するまで、開閉爪が開放されるようになっている。 The second symbol start port 15b is configured to be opened and closed by an electric tulip having a pair of left and right opening / closing claws, and when the stop symbol after the change of the normal symbol display unit 19 displays a hit symbol, it is predetermined. The opening / closing claws are opened only for a period of time or until a predetermined number of game balls are detected.

なお、普通図柄表示部19は、普通図柄を表示するものであり、ゲート18を通過した遊技球が検出されると、普通図柄が所定時間だけ変動し、遊技球のゲート18の通過時点において抽出された抽選用乱数値により決定される停止図柄を表示して停止する。 The normal symbol display unit 19 displays a normal symbol, and when a game ball that has passed through the gate 18 is detected, the normal symbol fluctuates by a predetermined time and is extracted when the game ball passes through the gate 18. The stop symbol determined by the lottery random value is displayed and stopped.

第1大入賞口16aは、前後方向に進退するスライド盤を有して構成され、第2大入賞口16bは、下端が軸支されて前方に開放する開閉板を有して構成されている。第1大入賞口16aや第2大入賞口16bの動作は、特に限定されないが、この実施例では、第1大入賞口16aは、第1図柄始動口15aに対応し、第2大入賞口16bは、第1図柄始動口15bに対応するよう構成されている。 The first large winning opening 16a is configured to have a slide board that advances and retreats in the front-rear direction, and the second large winning opening 16b is configured to have an opening / closing plate whose lower end is pivotally supported and opens forward. .. The operation of the first large winning opening 16a and the second large winning opening 16b is not particularly limited, but in this embodiment, the first large winning opening 16a corresponds to the first symbol starting opening 15a and is the second large winning opening. 16b is configured to correspond to the first symbol start port 15b.

すなわち、第1図柄始動口15aに遊技球が入賞すると、特別図柄表示部Da〜Dcの変動動作が開始され、その後、所定の大当り図柄が特別図柄表示部Da〜Dcに整列すると、第1大当りたる特別遊技が開始され、第1大入賞口16aのスライド盤が、前方に開放されて遊技球の入賞が容易化される。 That is, when the game ball wins the first symbol start port 15a, the fluctuation operation of the special symbol display units Da to Dc is started, and then when the predetermined jackpot symbols are aligned with the special symbol display portions Da to Dc, the first jackpot The barrel special game is started, and the slide board of the first large winning opening 16a is opened forward to facilitate the winning of the game ball.

一方、第2図柄始動口15bへの遊技球の入賞によって開始された変動動作の結果、所定の大当り図柄が特別図柄表示部Da〜Dcに整列すると、第2大当りたる特別遊技が開始され、第2大入賞口16bの開閉板が開放されて遊技球の入賞が容易化される。特別遊技(大当り状態)の遊技価値は、整列する大当り図柄などに対応して種々相違するが、何れの遊技価値が付与されるかは、遊技球の入賞タイミングに応じた抽選結果に基づいて予め決定される。 On the other hand, as a result of the fluctuating operation started by winning the game ball to the second symbol start opening 15b, when the predetermined jackpot symbols are aligned with the special symbol display units Da to Dc, the second jackpot special game is started and the second jackpot is started. The opening / closing plate of the two major winning openings 16b is opened to facilitate the winning of the game ball. The game value of the special game (big hit state) varies depending on the jackpot symbols that are lined up, but which game value is given is determined in advance based on the lottery result according to the winning timing of the game ball. It is determined.

典型的な大当り状態では、大入賞口16の開閉板が開放された後、所定時間が経過し、又は所定数(例えば10個)の遊技球が入賞すると開閉板が閉じる。このような動作は、最大で例えば15回まで継続され、遊技者に有利な状態に制御される。なお、特別図柄表示部Da〜Dcの変動後の停止図柄が特別図柄のうちの特定図柄であった場合には、特別遊技の終了後のゲームが高確率状態(確変状態)となるという特典が付与される。 In a typical big hit state, the opening / closing plate closes when a predetermined time elapses after the opening / closing plate of the big winning opening 16 is opened or when a predetermined number (for example, 10) of game balls win a prize. Such an operation is continued up to, for example, 15 times, and is controlled in a state advantageous to the player. If the stop symbol after the change of the special symbol display units Da to Dc is a specific symbol among the special symbols, the privilege that the game after the end of the special game is in a high probability state (probability change state) is provided. Granted.

図3(a)は、上記した各動作を実現するパチンコ機GMの全体回路構成を示すブロック図である。また、図3(b)は、払出制御基板25に配置された電源モニタ部MNTの回路構成を示す回路図である。 FIG. 3A is a block diagram showing an overall circuit configuration of the pachinko machine GM that realizes each of the above operations. Further, FIG. 3B is a circuit diagram showing a circuit configuration of a power supply monitor unit MNT arranged on the payout control board 25.

図3(a)に示す通り、このパチンコ機GMは、AC24Vを受けて各種の直流電圧(35V,12V,5V)をAC24Vと共に出力する電源基板20と、遊技制御動作を中心統括的に担う主制御基板21と、音声演出用の回路素子SNDを搭載した演出インタフェイス基板22と、主制御基板21から受けた制御コマンドCMDに基づいてランプ演出、音声演出、及び画像演出を統一的に実行する演出制御基板23と、演出制御基板23と表示装置DS1,DS2の間に位置する液晶インタフェイス基板24と、主制御基板21から受けた制御コマンドCMD’に基づいて払出モータMを制御して遊技球を払い出す払出制御基板25と、遊技者の操作に応答して遊技球を発射させる発射制御基板26と、を中心に構成されている。 As shown in FIG. 3A, this pachinko machine GM is mainly responsible for the game control operation and the power supply board 20 that receives AC24V and outputs various DC voltages (35V, 12V, 5V) together with AC24V. The lamp effect, the sound effect, and the image effect are uniformly executed based on the control board 21, the effect interface board 22 equipped with the circuit element SND for the sound effect, and the control command CMD received from the main control board 21. A game in which the payout motor M is controlled based on the effect control board 23, the liquid crystal interface board 24 located between the effect control board 23 and the display devices DS1 and DS2, and the control command CMD'received from the main control board 21. It is mainly composed of a payout control board 25 for paying out balls and a launch control board 26 for firing game balls in response to a player's operation.

なお、演出インタフェイス基板22と、演出制御基板23と、液晶インタフェイス基板24とは、配線ケーブルを経由することなく、雄型コネクタと雌型コネクタとを直結されている。そのため、各電子回路の回路構成を複雑高度化しても基板全体の収納空間を最小化できると共に、接続ラインを最短化することで耐ノイズ性を高めることができる。 The effect interface board 22, the effect control board 23, and the liquid crystal interface board 24 are directly connected to the male connector and the female connector without going through a wiring cable. Therefore, even if the circuit configuration of each electronic circuit is complicated and sophisticated, the storage space of the entire substrate can be minimized, and the noise resistance can be improved by minimizing the connection line.

図示の通り、主制御基板21が出力する制御コマンドCMD’は、払出制御基板25に伝送される。一方、主制御基板21が出力する制御コマンドCMDは、演出インタフェイス基板22を経由して演出制御基板23に伝送される。ここで、制御コマンドCMD,CMD’は、何れも16bit長であるが、8bit長毎に2回に分けてパラレル送信される。 As shown in the figure, the control command CMD'output by the main control board 21 is transmitted to the payout control board 25. On the other hand, the control command CMD output from the main control board 21 is transmitted to the effect control board 23 via the effect interface board 22. Here, the control commands CMD and CMD'are both 16-bit length, but are transmitted in parallel in two times every 8-bit length.

主制御基板21と払出制御基板25には、ワンチップマイコンを含むコンピュータ回路が搭載されている。また、演出制御基板23には、VDP回路(Video Display Processor )52や内蔵CPU回路51などのコンピュータ回路が内蔵された複合チップ50が搭載されている。そこで、これらの制御基板21、25、23と、演出インタフェイス基板22や液晶インタフェイス基板24に搭載された回路、及びその回路によって実現される動作を機能的に総称して、本明細書では、主制御部21、演出制御部23、及び払出制御部25と言うことがある。なお、主制御部21に対して、演出制御部23と、払出制御部25がサブ制御部となる。 A computer circuit including a one-chip microcomputer is mounted on the main control board 21 and the payout control board 25. Further, the effect control board 23 is equipped with a composite chip 50 having a built-in computer circuit such as a VDP circuit (Video Display Processor) 52 and a built-in CPU circuit 51. Therefore, these control boards 21, 25, 23, the circuits mounted on the effect interface board 22 and the liquid crystal interface board 24, and the operations realized by the circuits are functionally collectively referred to in the present specification. , The main control unit 21, the effect control unit 23, and the payout control unit 25. The effect control unit 23 and the payout control unit 25 serve as sub-control units for the main control unit 21.

また、このパチンコ機GMは、図3(a)の破線で囲む枠側部材GM1と、遊技盤5の背面に固定された盤側部材GM2とに大別されている。枠側部材GM1には、ガラス扉6や前面板7が枢着された内枠3と、その外側の木製外枠1とが含まれており、機種の変更に拘わらず、長期間にわたって遊技ホールに固定的に設置される。一方、盤側部材GM2は、機種変更に対応して交換され、新たな盤側部材GM2が、元の盤側部材の代わりに枠側部材GM1に取り付けられる。なお、枠側部材1を除く全てが、盤側部材GM2である。 Further, the pachinko machine GM is roughly divided into a frame-side member GM1 surrounded by a broken line in FIG. 3A and a board-side member GM2 fixed to the back surface of the game board 5. The frame-side member GM 1 includes an inner frame 3 to which a glass door 6 and a front plate 7 are pivotally attached, and a wooden outer frame 1 on the outside thereof. It is fixedly installed in. On the other hand, the board-side member GM2 is replaced in response to the model change, and a new board-side member GM2 is attached to the frame-side member GM1 instead of the original board-side member. All except the frame-side member 1 are board-side members GM2.

図3(a)の破線枠に示す通り、枠側部材GM1には、電源基板20と、バックアップ電源基板33と、払出制御基板25と、発射制御基板26と、枠中継基板36と、モータ/ランプ駆動基板37と、が含まれており、これらの回路基板が、内枠3の適所に各々固定されている。一方、遊技盤5の背面には、主制御基板21、演出制御基板23が、表示装置DS1,DS2やその他の回路基板と共に固定されている。そして、枠側部材GM1と盤側部材GM2とは、一箇所に集中配置された集中接続コネクタC1〜C3によって電気的に接続されている。 As shown by the broken line frame in FIG. 3A, the frame side member GM1 includes a power supply board 20, a backup power supply board 33, a payout control board 25, a launch control board 26, a frame relay board 36, and a motor /. A lamp drive board 37 and a lamp drive board 37 are included, and these circuit boards are fixed at appropriate positions in the inner frame 3. On the other hand, on the back surface of the game board 5, the main control board 21 and the effect control board 23 are fixed together with the display devices DS1 and DS2 and other circuit boards. The frame-side member GM1 and the board-side member GM2 are electrically connected by centralized connection connectors C1 to C3 which are centrally arranged at one location.

電源基板20は、遊技ホールから配電される交流電圧AC24Vに基づいて、三種類の直流電圧(35V,12V,5V)を生成し、各直流電圧を、集中接続コネクタC2を経由して、演出インタフェイス基板22に配電している。また、三種類の直流電圧(35V,12V,5V)は、交流電圧AC24Vと共に、払出制御基板25に配電される。そして、払出制御基板25に配電された直流電圧(35V,12V,5V)は、バックアップ電源BAKと共に、集中接続コネクタC1を経由して、主制御基板21に配電されるよう構成されている。 The power supply board 20 generates three types of DC voltages (35V, 12V, 5V) based on the AC voltage AC24V distributed from the game hall, and transfers each DC voltage via the centralized connector C2. Power is distributed to the face substrate 22. Further, three types of DC voltages (35V, 12V, 5V) are distributed to the payout control board 25 together with the AC voltage AC24V. The DC voltage (35V, 12V, 5V) distributed to the payout control board 25 is configured to be distributed to the main control board 21 via the centralized connector C1 together with the backup power supply BAK.

直流35Vは、遊技球の発射動作に関し、球送りソレノイドや発射ソレノイドの駆動電源、及び、電動式チューリップ(可変入賞装置)や大入賞口16を開閉駆動する電磁ソレノイドの駆動電源として使用される。また、直流12Vは、各制御基板から制御されるLEDランプやモータの駆動電源、及びデジタルアンプの電源電圧として使用され、一方、直流5Vは、払出制御基板25や主制御基板21のワンチップマイコンの電源電圧、及び、各制御基板に搭載された論理素子の電源電圧として使用される。また、直流5Vは、演出インタフェイス基板22のDC/DCコンバータでレベル降下された後、レベル降下された各種レベルの電圧が、各種コンピュータ回路(複合チップ50や音声プロセッサ27など)の電源電圧として使用される。 The DC 35V is used as a drive power source for the ball feed solenoid and the launch solenoid, and as a drive power source for the electromagnetic solenoid that opens and closes the electric tulip (variable winning device) and the large winning opening 16 in relation to the launching operation of the game ball. Further, DC 12V is used as a drive power supply for LED lamps and motors controlled from each control board, and a power supply voltage for a digital amplifier, while DC 5V is a one-chip microcomputer of the payout control board 25 and the main control board 21. It is used as the power supply voltage of the above and the power supply voltage of the logic element mounted on each control board. Further, the DC 5V is level-dropped by the DC / DC converter of the effect interface board 22, and then the various levels of voltage lowered are used as the power supply voltage of various computer circuits (composite chip 50, audio processor 27, etc.). used.

バックアップ電源BAKは、電源遮断後、主制御部21と払出制御部25のワンチップマイコンの内蔵RAMのデータを保持するためのDC5Vの直流電源であり、例えば、電気二重層コンデンサで実現される。この実施例では、専用のバックアップ電源基板33が設けられており、バックアップ電源基板33に配置された電気二重層コンデンサは、払出制御基板25から受ける直流電圧5Vによって遊技動作中に充電されるよう構成されている。 The backup power supply BAK is a DC 5V DC power supply for holding data in the built-in RAM of the one-chip microcomputer of the main control unit 21 and the payout control unit 25 after the power supply is cut off, and is realized by, for example, an electric double layer capacitor. In this embodiment, a dedicated backup power supply board 33 is provided, and the electric double layer capacitor arranged on the backup power supply board 33 is configured to be charged during the game operation by the DC voltage 5V received from the payout control board 25. Has been done.

一方、電源遮断後は、バックアップ電源BAKが、主制御部21と払出制御部25のワンチップマイコンの内蔵RAMのデータを保持するので、主制御部21と払出制御部25は、電源遮断前の遊技動作を電源投入後に再開できることになる。なお、バックアップ電源基板33には、少なくとも数日は、各ワンチップマイコンの内蔵RAMの記憶内容を保持可能な電気二重層コンデンサが配置されている。 On the other hand, after the power is cut off, the backup power supply BAK holds the data of the built-in RAM of the one-chip microcomputer of the main control unit 21 and the payout control unit 25, so that the main control unit 21 and the payout control unit 25 are before the power is cut off. The game operation can be restarted after the power is turned on. An electric double layer capacitor capable of holding the storage contents of the built-in RAM of each one-chip microcomputer is arranged on the backup power supply board 33 for at least several days.

ところで、本実施例では、従来の機器構成とは異なり、交流電圧AC24Vの異常低下を示す電源異常信号ABNは、電源基板20ではなく、払出制御基板25の電源モニタ部MNTにおいて生成されるよう構成されている(図3及び図4参照)。電源モニタ部MNTは、図3(b)に示す通り、電源基板20から受けるAC24を整流する全波整流回路と、全波整流回路の出力を受けて通電発光するフォトダイオードDと、電源基板20から受ける直流電圧5Vを電源とし、フォトダイオードDの発光に基づいてON動作するフォトトランジスTRと、フォトトランジスTRのON動作に基づいてHレベルの検出信号ABN(電源異常信号)を出力する出力部と、を有して構成されている。なお、フォトダイオードDと、フォトトランジスTRとで、フォトカプラPHを構成している。 By the way, in this embodiment, unlike the conventional device configuration, the power supply abnormality signal ABN indicating an abnormal decrease in the AC voltage AC24V is configured to be generated not by the power supply board 20 but by the power supply monitor unit MNT of the payout control board 25. (See FIGS. 3 and 4). As shown in FIG. 3B, the power supply monitor unit MNT includes a full-wave rectifier circuit that rectifies AC24 received from the power supply board 20, a photodiode D that receives the output of the full-wave rectifier circuit and emits light by energization, and a power supply board 20. A phototransis TR that operates ON based on the light emission of the photodiode D and an output unit that outputs an H level detection signal ABN (power supply abnormality signal) based on the ON operation of the phototransistor TR, using a DC voltage of 5 V received from the power supply. And, it is configured to have. The photodiode D and the phototransis TR form a photocoupler PH.

上記の構成において、電源投入後、フォトカプラPHが速やかにON状態になることで、電源異常信号ABNが正常レベル(H)となる。しかし、その後、交流電源が何らかの理由(正常には電源遮断)で異常降下すると、図7に示す監視信号Wm5,Wm5が出力されるタイミング以前に、フォトカプラPHがOFF状態に変化することで、電源異常信号ABNが異常レベル(L)に変化する。この電源異常信号ABNは、払出制御基板25のワンチップマイコンに伝送されると共に、集中接続コネクタC1を経由して、主制御基板21のワンチップマイコンにも伝送されるよう構成されている。したがって、異常レベルの電源異常信号ABNを受けた各ワンチップマイコンは、必要な情報を、各々の内蔵RAMに記憶するバックアップ処理を実行することになる(図7の右上部参照)。先に説明した通り、内蔵RAMの情報は、バックアップ電源BAKによって維持されるので、電源遮断前の遊技動作が電源投入後に再開可能となる。 In the above configuration, the photocoupler PH is immediately turned on after the power is turned on, so that the power supply abnormality signal ABN becomes the normal level (H). However, after that, when the AC power supply abnormally drops for some reason (normally, the power supply is cut off), the photocoupler PH changes to the OFF state before the timing when the monitoring signals Wm5 and Wm5 shown in FIG. 7 are output. The power supply abnormality signal ABN changes to the abnormality level (L). The power supply abnormality signal ABN is configured to be transmitted to the one-chip microcomputer of the payout control board 25 and also to the one-chip microcomputer of the main control board 21 via the centralized connector C1. Therefore, each one-chip microcomputer that receives the abnormal level power supply abnormality signal ABN executes a backup process that stores necessary information in each internal RAM (see the upper right part of FIG. 7). As described above, since the information in the built-in RAM is maintained by the backup power supply BAK, the game operation before the power is cut off can be restarted after the power is turned on.

図4(a)は、電源基板20の回路構成を、やや詳細に示すブロック図である。図示の通り、電源基板20には、AC24Vを受けるフィルタ回路Fiと、通電遮断回路CUTの制御に基づきAC100Vの通電を遮断するリレー回路RLと、同期整流式の全波整流回路RECTと、昇圧式の力率改善回路(力率改善部品PFCなど)と、電圧監視回路WTCHと、4種類の降下型のDC/DCコンバータなどが搭載されている。4種類のDC/DCコンバータは、何れも力率改善回路が出力するDC35Vを電圧降下させるが、出力する電圧レベル(5V/12V)に応じて、5VコンバータCV5m,CV5sと、12VコンバータCV12m,CV12sと、に区分される。 FIG. 4A is a block diagram showing the circuit configuration of the power supply board 20 in a little more detail. As shown in the figure, the power supply board 20 includes a filter circuit Fi that receives AC24V, a relay circuit RL that cuts off the energization of AC100V under the control of the energization cutoff circuit CUT, a synchronous rectification type full-wave rectifier circuit REC, and a step-up type. The power factor improvement circuit (power factor improvement component PFC, etc.), the voltage monitoring circuit WTCH, and four types of drop-type DC / DC converters are installed. Each of the four types of DC / DC converters lowers the voltage of DC35V output by the power factor improving circuit, but depending on the output voltage level (5V / 12V), 5V converters CV5m, CV5s and 12V converters CV12m, CV12s And, it is divided into.

また、これらのコンバータは、整流方式に基づいて、非同期整流式コンバータCV12m,CV5mと、同期整流式コンバータCV12s,CV5sと、に区分される。DC/DCコンバータの具体的な回路構成については、図8〜図10に基づいて後述するが、本明細書において、同期整流式とは、制御信号によって適宜にON/OFF制御されるトランジスタ(典型的にはMOS型FET)によって通電動作が実行される形式を言い、一方、非同期整流式とは、ON/OFF制御されることのない整流ダイオードによって通電動作が実行される形式を言う。 Further, these converters are classified into asynchronous rectifying converters CV12m and CV5m and synchronous rectifying converters CV12s and CV5s based on the rectifying method. The specific circuit configuration of the DC / DC converter will be described later with reference to FIGS. 8 to 10, but in the present specification, the synchronous rectification type is a transistor (typically) whose ON / OFF control is appropriately controlled by a control signal. Specifically, it refers to a form in which an energizing operation is executed by a MOS type FET), while an asynchronous rectifying type refers to a form in which an energizing operation is executed by a rectifying diode that is not ON / OFF controlled.

図3(a)に示す通り、電源基板20から、払出制御基板25及び演出インタフェイス基板22に各種の電圧が配電されるが、図4(a)には、第1コネクタMainと交流コネクタACとを経由して、電源基板20と払出制御基板25が接続されること、及び、第2コネクタSubを経由して、電源基板20と演出インタフェイス基板22とが接続されることが示されている。また、第3コネクタAuxを経由して、ガラス扉6や前面板7などの前扉部材に配置された演出モータやLEDランプに対して、直接DC12Vが供給されることが示されている。 As shown in FIG. 3A, various voltages are distributed from the power supply board 20 to the payout control board 25 and the effect interface board 22, and FIG. 4A shows the first connector Main and the AC connector AC. It is shown that the power supply board 20 and the payout control board 25 are connected via the above, and that the power supply board 20 and the effect interface board 22 are connected via the second connector Sub. There is. Further, it is shown that DC12V is directly supplied to the effect motor and the LED lamp arranged on the front door member such as the glass door 6 and the front plate 7 via the third connector Aux.

この構成に対応して、第1コネクタMainと第2コネクタSubを経由して、正常な通電が実現されていることを示す青色LEDと赤色LEDが、通電報知ランプとして、電源基板20の表面側の縁部に各3個配置されている(図4(b)参照)。具体的には、電源基板20を奥側に配置し、これに重ねて払出制御基板25を配置するが、払出制御基板25を取り外さなくても、青色LEDと赤色LEDの点灯状態が確認できるよう、電源基板20の表面側の縁部に通電報知ランプが配置されている。なお、これらのLEDは、好適には砲弾型で構成されている。 Corresponding to this configuration, the blue LED and the red LED indicating that normal energization is realized via the first connector Main and the second connector Sub are on the surface side of the power supply board 20 as energization notification lamps. Three of each are arranged on the edge of the LED (see FIG. 4 (b)). Specifically, the power supply board 20 is arranged on the back side, and the payout control board 25 is placed on top of the power supply board 20, but the lighting state of the blue LED and the red LED can be confirmed without removing the payout control board 25. , An energization notification lamp is arranged at the edge of the power supply board 20 on the surface side. It should be noted that these LEDs are preferably formed in a cannonball type.

通電報知ランプについて確認すると、まず、第1コネクタMainに対応して、ヒューズFu3の下流側と、2つの非同期整流式コンバータCV12m,CV5mの各下流側とに、合計3個の赤色LEDが配置されている。これらは、35Vと12Vと5Vが各々、払出制御基板25に配電されていることを、赤色点灯で示すものであり、何れかのLEDの消灯は、配電停止状態を示す。 When checking the energization notification lamp, first, a total of three red LEDs are arranged on the downstream side of the fuse Fu3 and on the downstream side of each of the two asynchronous rectifier converters CV12m and CV5m, corresponding to the first connector Main. ing. These indicate that 35V, 12V, and 5V are distributed to the payout control board 25, respectively, by lighting in red, and turning off any of the LEDs indicates a power distribution stop state.

一方、第2コネクタSubに対応して、ヒューズFu2の下流側と、2つの同期整流式コンバータCV12s,CV5sの各下流側とに、合計3個の青色LEDが配置されている。これらは、35Vと12Vと5Vが各々配電されていることを、青色点灯で示すものであり、何れかの消灯は、配電停止状態を示す。 On the other hand, corresponding to the second connector Sub, a total of three blue LEDs are arranged on the downstream side of the fuse Fu2 and on the downstream side of each of the two synchronous rectifier converters CV12s and CV5s. These indicate that 35V, 12V, and 5V are distributed in blue, respectively, and when any of them is turned off, the distribution is stopped.

図4(b)に示す通り、配電する電圧レベル(5/12/35V)に応じて、一対の赤色LEDと青色LEDが、互いに隣接して電源基板20の縁部に配置されており、係員が内枠3を開放して遊技機の裏側を見るだけで、6個の通電報知ランプの点灯の有無と、点灯色が直ちに認識できるようになっている。したがって、6個の通電報知ランプのうち消灯状態のLEDの位置から、配電されていない電圧の電圧レベルと、配電が停止されている回路基板が、払出制御基板25か演出インタフェイス基板22かが容易に認識できることになる。 As shown in FIG. 4B, a pair of red LEDs and blue LEDs are arranged adjacent to each other on the edge of the power supply board 20 according to the voltage level (5/12 / 35V) to be distributed, and the staff members. Just by opening the inner frame 3 and looking at the back side of the gaming machine, it is possible to immediately recognize whether or not the six energization notification lamps are lit and the lighting color. Therefore, from the position of the LED in the off state among the six energization notification lamps, the voltage level of the voltage that is not distributed and the circuit board for which distribution is stopped are the payout control board 25 or the effect interface board 22. It will be easily recognizable.

ところで、先に説明した通り、本実施例では、第3コネクタAuxを経由して、前扉部材たるガラス扉6や前面板7などに配置された演出モータのモータドライバや、LEDランプのLEDドライバに対して、直接DC12Vが供給される。通常の機器構成では、前扉部材に配置された演出モータやLEDランプに対して、演出制御基板23や、演出インタフェイス基板22からDC12Vが配電されるが、この実施例では、演出モータやLEDランプに対して、直接、DC12Vが供給されるので、配電経路がシンプル化されるだけでなく、配電経路での電力損失が大幅に軽減され、無駄な電力消費が抑制される。 By the way, as described above, in this embodiment, the motor driver of the effect motor and the LED driver of the LED lamp arranged on the glass door 6 and the front plate 7 which are the front door members via the third connector Aux. However, DC12V is directly supplied. In a normal device configuration, DC12V is distributed from the effect control board 23 and the effect interface board 22 to the effect motor and LED lamp arranged on the front door member, but in this embodiment, the effect motor and LED are distributed. Since DC12V is directly supplied to the lamp, not only the distribution path is simplified, but also the power loss in the distribution path is significantly reduced, and wasteful power consumption is suppressed.

以下、図4(a)に示す電源基板20の内部構成について、図5〜図10に基づいて説明する。先ず、図5は、通電遮断回路CUTを示す回路図である。図示の通り、通電遮断回路CUTは、交流24Vを受けるブリッジ整流回路BRGと、降伏電圧48V程度のツェナーダイオードZD1と、降伏電圧16V程度のツェナーダイオードZD2と、降伏電圧27V程度のツェナーダイオードZD3と、ツェナーダイオードZD1が非降伏状態である正常時には、OFF動作を継続するトランジスタTR1(NPN型バイポーラ)と、正常時にはON動作を継続するトランジスタQ0(n型MOSFET)と、半波整流ダイオードDrecと、半波整流ダイオードDrecを通過する電流で充電される平滑コンデンサCrecと、リレー接点CN1,CN2をON動作させるリレーコイルRL1,RL2などを有して構成されている。 Hereinafter, the internal configuration of the power supply board 20 shown in FIG. 4A will be described with reference to FIGS. 5 to 10. First, FIG. 5 is a circuit diagram showing an energization cutoff circuit CUT. As shown in the figure, the energization cutoff circuit CUT includes a bridge rectifier circuit BRG that receives AC 24V, a Zener diode ZD1 having a breakdown voltage of about 48V, a Zener diode ZD2 having a breakdown voltage of about 16V, and a Zener diode ZD3 having a breakdown voltage of about 27V. When the Zener diode ZD1 is in a non-yielding state, the transistor TR1 (NPN type bipolar) which continues the OFF operation, the transistor Q0 (n type MOSFET) which continues the ON operation when it is normal, and the half-wave rectifying diode Drec are half. It is configured to include a smoothing capacitor Crec that is charged by a current passing through a wave rectifying diode Drec, and relay coils RL1 and RL2 that turn on the relay contacts CN1 and CN2.

なお、リレーコイルRL1,RL2や、リレー接点CN1,CN2など、矩形枠で囲まれている部分が、一体化されたリレー部品RLであり、電源基板20の表面側に配置されている。また、以下で説明する電解コンデンサCrecと、フィルムコンデンサCbrも、電源基板20の表面側から挿入配置されるが、それ以外の部品は、全て面実装部品で構成されて、電源基板20の裏面側に面実装されている。 The portions surrounded by the rectangular frame, such as the relay coils RL1 and RL2 and the relay contacts CN1 and CN2, are integrated relay component RLs and are arranged on the surface side of the power supply board 20. Further, the electrolytic capacitor Crec and the film capacitor Cbr described below are also inserted and arranged from the front surface side of the power supply board 20, but all other components are composed of surface mount components and are arranged on the back surface side of the power supply board 20. It is surface-mounted on.

交流24Vの波高値は、約34V程度であることから、正常時には、ツェナーダイオードZD1が降伏することはなく、ブリッジ整流回路BRGが全波整流回路として機能することはない。一方、ツェナーダイオードZD2の降伏電圧は16V程度であることから、ツェナーダイオードZD2は、交流24Vに基づいて降伏状態となり(導通電流I2)、また、トランジスタQ0は、ツェナーダイオードZD2の両端電圧16Vに基づいてON動作状態となる。 Since the peak value of AC 24V is about 34V, the Zener diode ZD1 does not yield and the bridge rectifier circuit BRG does not function as a full-wave rectifier circuit under normal conditions. On the other hand, since the breakdown voltage of the Zener diode ZD2 is about 16V, the Zener diode ZD2 is in a yield state based on the alternating current 24V (conduction current I2), and the transistor Q0 is based on the voltage across the Zener diode ZD2 of 16V. It will be in the ON operating state.

そのため、平滑コンデンサCrecは、電流I3に基づき、AC24Vの波高値に近いレベルまで充電されることになり、ツェナーダイオードZD3を降伏させる。したがって、リレーコイルRL1,RL2には、電流制限抵抗Rに制限された状態で、ツェナーダイオードZD3の降伏電圧27Vに対応する電流が定常的に流れることになり、リレー接点CN1,CN2は、定常的にON状態を維持する。そして、リレー接点CN1,CN2がON状態を維持することから、フィルタ回路Fiを経由した交流24Vは、定常的に、全波整流回路RECTや玉貸機RNTに供給されることになる。なお、交流24Vは、交流コネクタACと払出制御基板25とを経由して玉貸機RNTに配電される。 Therefore, the smoothing capacitor Crec is charged to a level close to the peak value of AC24V based on the current I3, and yields the Zener diode ZD3. Therefore, in the state of being limited by the current limiting resistor R, the current corresponding to the yield voltage 27V of the Zener diode ZD3 constantly flows through the relay coils RL1 and RL2, and the relay contacts CN1 and CN2 are constantly flowing. Maintains the ON state. Since the relay contacts CN1 and CN2 maintain the ON state, the AC 24V via the filter circuit Fi is constantly supplied to the full-wave rectifier circuit RECT and the ball lending machine RNT. The AC 24V is distributed to the ball lending machine RNT via the AC connector AC and the payout control board 25.

正常時に半波整流ダイオードDrecに流れる電流Inormalは、リレーコイルRL1,RL2の全電流I1(=IL1+IL2)と、ツェナーダイオードZD3への電流I2と、平滑コンデンサCrecへの電流I3の総和である(Inormal=I1+I2+I3)。また、平滑コンデンサCrecは、700μF程度の大容量円柱形状の電解コンデンサで構成され、電源基板20の表面側に立設されている。 The current I normal flowing through the half-wave rectifier diode Drec under normal conditions is the sum of the total current I1 (= IL1 + IL2) of the relay coils RL1 and RL2, the current I2 to the Zener diode ZD3, and the current I3 to the smoothing capacitor Crec ( I normal = I1 + I2 + I3). Further, the smoothing capacitor Crec is composed of a large-capacity cylindrical electrolytic capacitor of about 700 μF, and is erected on the surface side of the power supply board 20.

ところで、例えば、係員の思い違いなどに基づき、交流24Vに代えて交流100Vが遊技機に配電される場合も有り得る。しかし、そのような場合には、ツェナーダイオードZD1が降伏して、フィルムコンデンサCbrが充電され、OFF状態のトランジスタTR1がON状態に遷移するため、トランジスタQ0がOFF状態に遷移する。そのため、図示の電流I3の径路が遮断されて、リレーコイルRL1,RL2の通電電流が途絶えるので、リレー接点CN1,CN2が、直ちにOFF状態に遷移して、交流100Vの伝送が阻止される。ここで、リレー接点が2つ設けられているので、何れのラインが、フレームグランド(不図示)に接続されたグランドラインであっても、確実に交流100Vの通電を停止させることができる。なお、リレー接点CN1,CN2がOFF遷移するまでの動作は一瞬で終わるので、最上流位置のヒューズFu1が溶断することはない。 By the way, for example, based on the misunderstanding of the staff, AC 100V may be distributed to the gaming machine instead of AC 24V. However, in such a case, the Zener diode ZD1 yields, the film capacitor Cbr is charged, and the transistor TR1 in the OFF state transitions to the ON state, so that the transistor Q0 transitions to the OFF state. Therefore, the path of the illustrated current I3 is cut off, and the energizing current of the relay coils RL1 and RL2 is cut off, so that the relay contacts CN1 and CN2 immediately transition to the OFF state, and the transmission of AC 100V is blocked. Here, since two relay contacts are provided, it is possible to reliably stop the energization of AC 100V regardless of which line is the ground line connected to the frame ground (not shown). Since the operation until the relay contacts CN1 and CN2 are turned OFF is completed in an instant, the fuse Fu1 at the most upstream position is not blown.

以上の通り、本実施例では、万一、係員が設置ミスをしても、電源スイッチの投入に拘らず、遊技機が起動しないことで、係員は操作ミスを認識することができる。また、遊技機の破損が未然防止されるだけでなく、最上流位置のヒューズFu1や、その他のヒューズFu1〜FU6が溶断することもないので、ヒューズ付け替えなどの手間も不要となる。なお、交流24Vは、払出制御基板25を経由して、球貸機RNTに伝送されるよう構成されているが(図4(a)右側参照)、交流100Vが球貸機RNTを破損するおそれも無い。 As described above, in the present embodiment, even if the staff member makes an installation error, the staff member can recognize the operation error because the gaming machine does not start regardless of whether the power switch is turned on. Further, not only the damage of the gaming machine is prevented, but also the fuse Fu1 at the most upstream position and the other fuses Fu1 to FU6 are not blown, so that the trouble of replacing the fuse is not required. The AC 24V is configured to be transmitted to the ball lending machine RNT via the payout control board 25 (see the right side of FIG. 4A), but the AC 100V may damage the ball lending machine RNT. There is no.

次に、図6(a)に基づいて単一回路部品で構成された同期整流式の全波整流回路(全波整流チップ)RECTについて説明する。図示の通り、例えば、ハイブリッドICである全波整流チップRECTは、4個のN型MOSトランジスタQ1〜Q4と、各MOSトランジスタのゲート端子Gに、適宜な制御電圧TGa,TGbを供給することで、同期整流動作を実現する駆動制御回路CTLとが内蔵されている。本明細書において、ハイブリッドICとは、モノリシックICに対比される用語であり、一般に、一枚の絶縁基板上に、個別部品を貼り付け、それらを金属配線で結んで一体化して構成されるが、特に限定されない。なお、以下の説明において、複合回路部品として説明するものを除いて、モノリシックICと位置付けられる。 Next, a synchronous rectifier type full-wave rectifier circuit (full-wave rectifier chip) RECT composed of a single circuit component will be described with reference to FIG. 6A. As shown in the figure, for example, the full-wave rectifying chip RECT, which is a hybrid IC, supplies appropriate control voltages TGa and TGb to the four N-type MOS transistors Q1 to Q4 and the gate terminal G of each MOS transistor. , A drive control circuit CTL that realizes synchronous rectification operation is built-in. In the present specification, the term "hybrid IC" is a term contrasted with that of a monolithic IC, and is generally composed of individual parts attached on one insulating substrate and connected by metal wiring to be integrated. , Not particularly limited. In the following description, except for those described as composite circuit components, they are positioned as monolithic ICs.

この全波整流チップRECTは、2本の交流入力端子(AC+,AC−)と、2本の脈流出力端子(V+,V−)を有する一方、電源電圧端子が設けられておらず、駆動制御回路CTLは、交流電圧(AC+,AC−)や脈流出力(V+,V−)に基づいて、N型MOSトランジスタQ1〜Q4のゲート端子Gとソース端子Sの間に供給すべき、適宜な駆動電圧Vgを生成している。 This full-wave rectifying chip RECT has two AC input terminals (AC +, AC-) and two pulsating output terminals (V +, V-), but is not provided with a power supply voltage terminal and is driven. The control circuit CTL should be supplied between the gate terminal G and the source terminal S of the N-type MOS transistors Q1 to Q4 based on the AC voltage (AC +, AC-) and the pulsating output (V +, V-), as appropriate. The driving voltage Vg is generated.

4個のMOSトランジスタQ1〜Q4には、各々、ボディダイオード(寄生ダイオードD1〜D4)が付随しているので、全てのMOSトランジスタがOFF状態であれば、4個のボディダイオードD1〜D4が、全体として、非同期整流式の全波整流回路(ブリッジ整流回路)を構成することになる。また、この全波整流チップRECTには、先に説明した駆動制御回路CTLが内蔵されており、駆動制御回路CTLは、AC+端子とV+端子間の端子間電圧Vaと、AC+端子とV−端子間の端子間電圧Vbとを常時監視している。 Since body diodes (parasitic diodes D1 to D4) are attached to each of the four MOS transistors Q1 to Q4, if all the MOS transistors are in the OFF state, the four body diodes D1 to D4 can be used. As a whole, an asynchronous rectifying type full-wave rectifying circuit (bridge rectifying circuit) is configured. Further, this full-wave rectifier chip RECT has a built-in drive control circuit CTL described above, and the drive control circuit CTL includes a terminal voltage Va between the AC + terminal and the V + terminal, and an AC + terminal and the V- terminal. The voltage Vb between the terminals is constantly monitored.

そして、Va>0となると、ボディダイオードD1が導通を開始する以前に、駆動制御回路CTLが、MOSトランジスタQ1とMOSトランジスタQ3の駆動電圧Vgを適宜なHレベルに増加させることで、2つのトランジスタQ1,Q3をON動作させる。そのため、ボディダイオードD1,D3をバイパスして、AC+端子→トランジスタQ1→下流側負荷→トランジスタQ3→AC−端子の経路で電流が流れることになる。この場合、各トランジスタQ1,D3のドレイン端子Dとソース端子Sの間の電圧降下は、ボディダイオードD1,D3が導通した場合の電圧降下(順方向電圧0.6〜1.0V)より格段に低いので、無駄な消費電力が大幅に軽減される。 Then, when Va> 0, the drive control circuit CTL increases the drive voltage Vg of the MOS transistor Q1 and the MOS transistor Q3 to an appropriate H level before the body diode D1 starts conducting, so that the two transistors Turn on Q1 and Q3. Therefore, the body diodes D1 and D3 are bypassed, and the current flows in the path of the AC + terminal → the transistor Q1 → the downstream load → the transistor Q3 → the AC− terminal. In this case, the voltage drop between the drain terminal D and the source terminal S of each transistor Q1 and D3 is much larger than the voltage drop (forward voltage 0.6 to 1.0 V) when the body diodes D1 and D3 are conductive. Since it is low, wasteful power consumption is greatly reduced.

更に、本実施例では、N型MOSトランジスタを使用するので、P型MOSトランジスタを使用する場合より、オン抵抗が低減され、この意味でも電源効率が向上される。因みに、全波整流チップRECTは、AC24V入力、脈流平均電流10A出力の動作状態でも、電源効率が96%以上(99%程度)であるので、放熱板の装着も不要である。このように本実施例では、N型MOSトランジスタを4個使用するが、電源効率が多少低下してよい場合には、N型MOSトランジスタ2個と、整流ダイオード2個でブリッジ整流回路を構成しても良い。 Further, in this embodiment, since the N-type MOS transistor is used, the on-resistance is reduced as compared with the case where the P-type MOS transistor is used, and in this sense, the power supply efficiency is improved. Incidentally, since the power supply efficiency of the full-wave rectifying chip RECT is 96% or more (about 99%) even in the operating state of AC24V input and pulsating current average current 10A output, it is not necessary to attach a heat sink. As described above, in this embodiment, four N-type MOS transistors are used, but if the power supply efficiency may be slightly lowered, a bridge rectifier circuit is configured by two N-type MOS transistors and two rectifier diodes. You may.

何れにしても、Va>0となった後、Va<0となると、駆動制御回路CTLは、トランジスタQ1,Q2がOFF動作するよう制御し、更にその後、Vb>0となると、ボディダイオードD2が導通を開始する以前に、MOSトランジスタQ2とMOSトランジスタQ4の駆動電圧Vgを適宜なHレベルに増加させる。この場合も、ボディダイオードD2,D4をバイパスして、AC−端子→トランジスタQ2→下流側負荷→トランジスタQ4→AC+端子の経路で電流が流れるので、無駄な消費電力が大幅に軽減される。 In any case, when Va <0 after Va> 0, the drive control circuit CTL controls the transistors Q1 and Q2 to operate OFF, and then when Vb> 0, the body diode D2 Before starting conduction, the drive voltage Vg of the MOS transistor Q2 and the MOS transistor Q4 is increased to an appropriate H level. In this case as well, the body diodes D2 and D4 are bypassed, and the current flows in the path of the AC-terminal → transistor Q2 → downstream load → transistor Q4 → AC + terminal, so that wasteful power consumption is significantly reduced.

図4(a)に示す通り、全波整流チップRECTの下流側には、2〜3μF程度の高周波バイパスコンデンサC1と、40μH程度のチョークコイルL1が配置されており、高周波バイパスコンデンサC1は、高周波ノイズを吸収して、波高値34V程度の脈流電圧で充電される。なお、高周波バイパスコンデンサC1は、角板状であって、電源基板20の表面側に立設されている。 As shown in FIG. 4A, a high frequency bypass capacitor C1 of about 2 to 3 μF and a choke coil L1 of about 40 μH are arranged on the downstream side of the full-wave rectifying chip RECT, and the high frequency bypass capacitor C1 has a high frequency. It absorbs noise and is charged with a pulsating voltage with a peak value of about 34V. The high-frequency bypass capacitor C1 has a square plate shape and is erected on the surface side of the power supply board 20.

ところで、全波整流チップRECTの内部消費電力は、上記の構成に基づいて、大幅に軽減されているものの、各接続端子には、定常的に大電流が流れる。そこで、この実施例では、全波整流チップRECTを、直接、電源基板20に半田付けするのではなく、全波整流チップRECTの端子に各々複数本の回路接続バーを接続した複合第1回路部品としている。 By the way, although the internal power consumption of the full-wave rectifying chip RECT is significantly reduced based on the above configuration, a large current constantly flows through each connection terminal. Therefore, in this embodiment, the full-wave rectifying chip RECT is not directly soldered to the power supply board 20, but a composite first circuit component in which a plurality of circuit connection bars are connected to the terminals of the full-wave rectifying chip RECT. It is supposed to be.

すなわち、全波整流チップRECTの2本の交流入力端子(AC+,AC−)と、2本の脈流出力端子(V+,V−)について、各端子に各々複数本の回路接続バーを接続して、その全体を適宜にモールドして薄板状の複合第1回路部品を完成させている。このように、全波整流チップRECTへの入出力電流は、何れも複数本の回路接続バーを経由するので、他の回路部品への伝送路における伝送損失を効果的に低減することができる。なお、回路接続バーは、直接、全波整流チップRECTに電気接続しても良いし、別の基板BR(好適には絶縁基板)に全波整流チップRECTを配置した上で電気接続しても良い。 That is, for the two AC input terminals (AC +, AC-) and the two pulsating output terminals (V +, V-) of the full-wave rectifying chip RECT, a plurality of circuit connection bars are connected to each terminal. Then, the whole is appropriately molded to complete a thin plate-shaped composite first circuit component. As described above, since the input / output currents to the full-wave rectifying chip RECT all pass through a plurality of circuit connection bars, the transmission loss in the transmission line to other circuit components can be effectively reduced. The circuit connection bar may be directly electrically connected to the full-wave rectifying chip RECT, or may be electrically connected after arranging the full-wave rectifying chip RECT on another substrate BR (preferably an insulating substrate). good.

いずれにしても、複合第1回路部品の外観は、その本体が30×60×10mm程度の薄板状であり、図6(b)に示す通り、合計17本の回路接続バーが一列に整列して、部品本体から略直交した状態で突出している。ここで、17本の回路接続バーは、交流入力端子AC+に電気接続された第1グループ4本と、交流入力端子AC−に電気接続された第2グループ4本と、脈流出力端子V+に電気接続された第3グループ4本と、脈流出力端子V−に電気接続された第4グループ5本と、に区分される。 In any case, the appearance of the composite first circuit component is that the main body is a thin plate of about 30 × 60 × 10 mm, and as shown in FIG. 6 (b), a total of 17 circuit connection bars are arranged in a row. Therefore, it protrudes from the main body of the component in a substantially orthogonal state. Here, the 17 circuit connection bars are connected to the four first groups electrically connected to the AC input terminal AC +, the four second groups electrically connected to the AC input terminal AC-, and the pulsating output terminal V +. It is divided into four electrically connected third groups and five electrically connected fourth groups V-.

各グループの回路接続バーは、何れも、丸棒状または平板状であり、その直径Φや板幅WDは、正面視で、1mm前後(Φ=WD=0.6〜1.5mm程度)である。また、各グループの回路接続バーは、何れも、2mm以上(好適には2〜3mm程度)の均一ピッチPiで整列しており、各グループの回路接続バーは、均一ピッチPiを維持した状態で、電源基板20に略直交状態で電源基板20の表面側から挿入され、その表裏面で、各グループに対応する回路パターンランドに半田付けされている。 The circuit connection bars of each group are all round bar-shaped or flat plate-shaped, and their diameter Φ and plate width WD are about 1 mm (Φ = WD = about 0.6 to 1.5 mm) when viewed from the front. .. Further, the circuit connection bars of each group are all aligned with a uniform pitch Pi of 2 mm or more (preferably about 2 to 3 mm), and the circuit connection bars of each group maintain a uniform pitch Pi. , It is inserted from the front surface side of the power supply board 20 in a substantially orthogonal state to the power supply board 20, and is soldered to the circuit pattern lands corresponding to each group on the front and back surfaces thereof.

回路パターンランドは、回路基板上に銅箔などで形成された導体面であり、本実施例では、パターン幅1mmの導体面に1Aの電流を流しても、消費電力が全く問題にならない材料を選択し、所定の膜厚を形成している。そして、各グループの回路パターンランドは、各グループに属する回路接続バーの最大離間距離を下回らない十分な平面幅に形成されている。 The circuit pattern land is a conductor surface formed of copper foil or the like on a circuit board. In this embodiment, a material whose power consumption does not matter at all even if a current of 1 A is passed through the conductor surface having a pattern width of 1 mm is used. It is selected to form a predetermined film thickness. The circuit pattern land of each group is formed with a sufficient plane width that does not fall below the maximum separation distance of the circuit connection bars belonging to each group.

具体的には、第1グループ〜第3グループの回路パターンランドは、各4本の回路接続バーに対応して、各々、4×Piを超える平面幅に形成され、第4グループの回路パターンランドは、5本の回路接続バーに対応して、各々、5×Piを超える平面幅に形成されている。特に限定されないが、本実施例の回路パターンランドは、各々、回路接続バーとの接続箇所を最低幅(4×Pi,5×Pi)とし、それ以外は、ほぼ最低幅以上のパターン幅に形成されている。 Specifically, the circuit pattern lands of the first group to the third group are formed in a plane width exceeding 4 × Pi, respectively, corresponding to each of the four circuit connection bars, and the circuit pattern lands of the fourth group are formed. Are formed to have a plane width of more than 5 × Pi, respectively, corresponding to the five circuit connection bars. Although not particularly limited, in each of the circuit pattern lands of this embodiment, the connection points with the circuit connection bar are set to the minimum width (4 × Pi, 5 × Pi), and other than that, the pattern width is formed to be substantially the minimum width or more. Has been done.

したがって、第1グループ〜第3グループの回路パターンランドは、仮に、Pi=2.5mmの場合には、各々、4×Pi(10mm)以上であり、10A以上の定常電流が許容されることになる。かかる構成に対応して、本実施例の全波整流チップRECTは、その出力電流が最大10A程度で機能している。 Therefore, if the circuit pattern lands of the first group to the third group are Pi = 2.5 mm, they are 4 × Pi (10 mm) or more, respectively, and a steady current of 10 A or more is allowed. Become. Corresponding to such a configuration, the full-wave rectifying chip RECT of this embodiment functions at a maximum output current of about 10 A.

上記の構成を有する全波整流チップRECT(複合第1回路部品)で全波整流された脈流電圧V1は、昇圧式の力率改善回路に供給される。力率改善回路は、力率改善部品PFCと関連する回路部品とで構成されるが、図6(c)は、樹脂モールドされた力率改善部品PFCと、力率改善動作に関連する回路部品を図示したものである。図示の通り、力率改善部品PFCは、第1入力端子Vinと、第2入力端子Vin2と、負電圧入力端子V−と、電圧出力端子Voutと、グランド端子GNDと、電源電圧供給端子Vccとを有して構成されている。 The pulsating voltage V1 full-wave rectified by the full-wave rectifying chip RECT (composite first circuit component) having the above configuration is supplied to the boost-type power factor improving circuit. The power factor improvement circuit is composed of a power factor improvement component PFC and a circuit component related to the power factor improvement component. FIG. 6 (c) shows a resin-molded power factor improvement component PFC and a circuit component related to the power factor improvement operation. Is illustrated. As shown in the figure, the power factor improving component PFC includes a first input terminal Vin, a second input terminal Vin2, a negative voltage input terminal V-, a voltage output terminal Vout, a ground terminal GND, and a power supply voltage supply terminal Vcc. It is configured to have.

図6(d)は、複合第2回路部品たる力率改善部品PFCの外観を図示している。図示の複合第2回路部品は、その本体が30×60×10mm程度の薄板状であり、図6(e)に示す電磁シールドボックスSHに収容されることで、一体化回路部品として完成される。電磁ボックスSHは、複合第2回路部品に対応して、31mm×65mm×12mm程度の角型の導体ボックスで形成されている。そして、門型に形成された解放面BKと、面一の閉塞面FTと、解放面BKと閉塞面FTとを接続する板幅12mm程度の上面及び側面とで、底面の無い略直方形状に形成されて電源基板20に固定されている。 FIG. 6D illustrates the appearance of the power factor improving component PFC, which is a composite second circuit component. The illustrated composite second circuit component has a thin plate shape having a main body of about 30 × 60 × 10 mm, and is completed as an integrated circuit component by being housed in the electromagnetic shield box SH shown in FIG. 6 (e). .. The electromagnetic box SH is formed of a square conductor box having a size of about 31 mm × 65 mm × 12 mm, corresponding to the composite second circuit component. Then, the open surface BK formed in a gate shape, the flush closed surface FT, and the upper surface and the side surface having a plate width of about 12 mm connecting the open surface BK and the closed surface FT form a substantially rectangular shape without a bottom surface. It is formed and fixed to the power supply board 20.

力率改善部品PFCの内部構成は、図6(c)に示す通りであるが、ハイブリッドIC(PFC)として、単一素子化しても良いし、基板(絶縁基板)BRに必要な回路部品を配置して完成させても良い。何れにしても、この複合第2回路部品PFCも、図6(d)に示す通り、合計16本の回路接続バーが一列に整列して、部品本体から略直交した状態で突出している。16本の回路接続バーには、第1入力端子Vinグループ4本と、負電圧入力端子V−グループ4本と、電圧出力端子Voutグループ3本と、グランド端子GNDグループ3本とが含まれている。 The internal configuration of the power factor improving component PFC is as shown in FIG. 6 (c), but it may be a single element as a hybrid IC (PFC), or a circuit component required for a substrate (insulated substrate) BR may be used. It may be arranged and completed. In any case, as shown in FIG. 6D, the composite second circuit component PFC also has a total of 16 circuit connection bars arranged in a row and protrudes from the component body in a substantially orthogonal state. The 16 circuit connection bars include four first input terminals Vin group, four negative voltage input terminals V-group, three voltage output terminals Vout group, and three ground terminal GND groups. There is.

複合第2回路部品においても、各グループの回路接続バーは、何れも、丸棒状または平板状であり、その直径Φや板幅WDは、正面視で、1mm前後(Φ=WD=0.6〜1.5mm程度)である。また、各グループの回路接続バーは、何れも、2mm以上(好適には2〜3mm程度)の均一ピッチPiで整列しており、各グループの回路接続バーは、均一ピッチPiを維持した状態で、電源基板20に略直交状態で電源基板20の表面側から挿入され、その表裏面で、各グループに対応する回路パターンランドに半田付けされている。 Even in the composite second circuit component, the circuit connection bar of each group is in the shape of a round bar or a flat plate, and its diameter Φ and plate width WD are about 1 mm (Φ = WD = 0.6) when viewed from the front. ~ 1.5 mm). Further, the circuit connection bars of each group are all aligned with a uniform pitch Pi of 2 mm or more (preferably about 2 to 3 mm), and the circuit connection bars of each group maintain a uniform pitch Pi. , It is inserted from the front surface side of the power supply board 20 in a substantially orthogonal state to the power supply board 20, and is soldered to the circuit pattern lands corresponding to each group on the front and back surfaces thereof.

複合第2回路部品においても、回路パターンランドは、各グループに属する回路接続バーの最大離間距離を下回らない十分な平面幅に形成されており、また、パターン幅1mmの導体面に1Aの電流を流しても、電力損失が全く問題にならない材料を選択し、所定の膜厚を形成している。回路パターンランドは、例えば、電圧出力端子Voutやグランド端子GNDについて、各3本の回路接続バーに対応して、各々、3×Piを超える平面幅に形成されている。また、回路パターンランドは、回路接続バーとの接続箇所を最低幅(3×Pi)とし、それ以外は、ほぼ最低幅以上のパターン幅に形成されている。 Also in the composite second circuit component, the circuit pattern land is formed with a sufficient plane width that does not fall below the maximum separation distance of the circuit connection bars belonging to each group, and a current of 1 A is applied to the conductor surface having the pattern width of 1 mm. A material is selected in which power loss does not matter at all even when it is passed, and a predetermined film thickness is formed. The circuit pattern land is formed, for example, for the voltage output terminal Vout and the ground terminal GND in a plane width exceeding 3 × Pi, corresponding to each of the three circuit connection bars. Further, the circuit pattern land has a minimum width (3 × Pi) at the connection point with the circuit connection bar, and other than that, the circuit pattern land is formed to have a pattern width of substantially the minimum width or more.

したがって、電圧出力端子Voutやグランド端子GNDについての回路パターンランドは、例えば、Pi=2.5mmの場合には、3×Pi(7.5mm)以上であり、7.5A以上の定常電流が許容されることになる。かかる構成に対応して、本実施例の力率改善部品PFCは、その出力電流が最大7A程度で機能している。 Therefore, the circuit pattern land for the voltage output terminal Vout and the ground terminal GND is, for example, 3 × Pi (7.5 mm) or more when Pi = 2.5 mm, and a steady current of 7.5 A or more is allowed. Will be done. Corresponding to such a configuration, the power factor improving component PFC of this embodiment functions at a maximum output current of about 7 A.

以上を踏まえて、力率改善部品PFCについて、関連する回路構成も含め更に説明する。図6(c)に示す通り、全波整流回路RECTの脈流出力端子V+,V−の両端電圧である脈流出力V1は、平滑コンデンサC1とサーミスタTHに供給されている。但し、サーミスタTHには、電源投入時に限り開放状態となるスイッチ回路SWが並列接続されており、通常時は、スイッチ回路SWがON状態であるので、サーミスタTHが機能することはない。 Based on the above, the power factor improving component PFC will be further described including the related circuit configuration. As shown in FIG. 6C, the pulse flow output V1 which is the voltage across the pulse flow output terminals V + and V− of the full-wave rectifier circuit RECT is supplied to the smoothing capacitor C1 and the thermista TH. However, the thermistor TH is connected in parallel with a switch circuit SW that is open only when the power is turned on, and normally, the switch circuit SW is in the ON state, so that the thermistor TH does not function.

そして、平滑コンデンサC1の両端電圧(脈流出力)V1は、直接、第2入力端子Vin2に供給される共に、チョークコイルL1を経由して、第1入力端子Vinに供給されている。また、全波整流回路RECTの脈流出力端子V−は、ON状態のスイッチ回路SWを経由して、力率改善部品PFCの負電圧入力端子V−に接続されている。ここで、力率改善部品PFCを収容する電磁シールドボックスSHは、その閉塞面FTが、チョークコイルL1に対面するように配置されており、チョークコイルL1からの高周波磁界に対応する渦電流が流れることで、力率改善部品PFCを、高周波磁界から確実に電磁シールドしている。 The voltage across the smoothing capacitor C1 (pulse flow output) V1 is directly supplied to the second input terminal Vin2 and is also supplied to the first input terminal Vin via the choke coil L1. Further, the pulsating output terminal V- of the full-wave rectifier circuit RECT is connected to the negative voltage input terminal V- of the power factor improving component PFC via the switch circuit SW in the ON state. Here, the electromagnetic shield box SH accommodating the power factor improving component PFC is arranged so that its closed surface FT faces the choke coil L1, and an eddy current corresponding to a high frequency magnetic field from the choke coil L1 flows. This ensures that the power factor improving component PFC is electromagnetically shielded from the high frequency magnetic field.

また、力率改善部品PFCの出力端子Voutとグランド端子GNDとの間には、大容量の平滑コンデンサC2が接続されている。特に限定されないが、本実施例では、10,000μF程度の円柱形状の電解コンデンサC2を、電源基板20の表面側に3個立設することで、30,000μFの静電容量を実現している。そして、この平滑コンデンサC2の両端電圧V2が、平均値がDC35V程度になるよう力率改善回路が機能している。なお、電源電圧供給端子Vccには、通電制御回路を機能させる直流電圧12Vが供給されている。 Further, a large-capacity smoothing capacitor C2 is connected between the output terminal Vout of the power factor improving component PFC and the ground terminal GND. Although not particularly limited, in this embodiment, a capacitance of 30,000 μF is realized by erection of three cylindrical electrolytic capacitors C2 of about 10,000 μF on the surface side of the power supply board 20. .. Then, the power factor improving circuit is functioning so that the voltage V2 across the smoothing capacitor C2 has an average value of about DC35V. A DC voltage of 12 V is supplied to the power supply voltage supply terminal Vcc to function the energization control circuit.

また、第2入力端子Vin2と、出力端子Voutの間には、一体化されたバイパスダイオードDb,Db(3端子の複合ダイオード素子)が接続されている。バイパスダイオードDb,Dbは、チョークコイルL1をバイパスして、電源投入時の突入電流を平滑コンデンサC2の吸収させることで、電源投入時のチョークコイルL1のリアクトル飽和を回避し、力率改善回路を構成する回路部品の破壊を防止している。 Further, integrated bypass diodes Db and Db (three-terminal composite diode element) are connected between the second input terminal Vin2 and the output terminal Vout. The bypass diodes Db and Db bypass the choke coil L1 and absorb the inrush current at power-on by the smoothing capacitor C2 to avoid reactor saturation of the choke coil L1 at power-on and provide a power factor improvement circuit. It prevents the constituent circuit parts from being destroyed.

ここで、瞬間的に大電流を流せること、順方向電圧降下が低いこと、などの条件から、バイパスダイオードDb,Dbには、好適には、ショットキーバリアダイオードが選択される。実施例のショットキーバリアダイオードDb,Dbは、順方向電流10A時の順方向電圧降下が0.79V程度である(瞬時電力消費は7.9W)。なお、実施例の力率改善回路は昇圧型であって、正常動作時は、V1<V2であるので、逆方向電流が少ないことが望ましく、本実施例では、逆方向電圧100Vにおいて、逆方向電流が30μA以下の素子を選択している。 Here, a Schottky barrier diode is preferably selected as the bypass diodes Db and Db from the conditions that a large current can be passed instantaneously and the forward voltage drop is low. The Schottky barrier diodes Db and Db of the embodiment have a forward voltage drop of about 0.79 V when the forward current is 10 A (instantaneous power consumption is 7.9 W). Since the power factor improving circuit of the embodiment is a step-up type and V1 <V2 during normal operation, it is desirable that the reverse current is small. In this embodiment, the reverse direction is achieved at a reverse voltage of 100 V. An element having a current of 30 μA or less is selected.

ただし、正常動作を継続するには、当然に、接合温度を上限値未満に維持する必要がある。したがって、如何なる動作条件でも素子破壊を防止するべく、実施例の複合ダイオード素子Db,Dbは、放熱板を保持した状態で、電源基板20の表面側に立設されている。 However, in order to continue normal operation, it is naturally necessary to maintain the bonding temperature below the upper limit. Therefore, in order to prevent element destruction under any operating conditions, the composite diode elements Db and Db of the embodiment are erected on the surface side of the power supply board 20 while holding the heat sink.

上記の各部品が接続されている力率改善部品PFCは、高速度で相補的にON/OFF動作するN型のMOSトランジスタQ5,Q6と、力率改善動作が停止される動作時にON動作するP型のMOSトランジスタQ7と、MOSトランジスタQ5,Q6,Q7のON/OFF動作を制御して力率改善を実現する通電制御回路とを有して構成されている。 The power factor improving component PFC to which each of the above components is connected operates with N-type MOS transistors Q5 and Q6 that operate complementaryly on and off at high speed and when the power factor improving operation is stopped. It includes a P-type MOS transistor Q7 and an energization control circuit that controls the ON / OFF operation of the MOS transistors Q5, Q6, and Q7 to improve the power factor.

通電制御回路は、出力電圧V2(平均値35V程度)を所定レベルの基準電圧Vrと比較して、出力電圧V2が、基準電圧Vr以下を維持している間は、電圧波形と電流波形のピークの位置が一致し、かつ、電圧波形に相似する電流波形を形成するよう、MOSトランジスタQ5,Q6を連続的にON/OFF制御する。なお、この正常動作時には、スイッチ回路S1がON状態、スイッチ回路S2,S3がOFF状態に制御される。そのため、P型MOSトランジスタQ7のゲート端子Gは、ソース端子Sが同一電位となり、また、この動作状態では、入力電圧V1<出力電圧V2であるので、P型MOSトランジスタQ7のゲート端子Gが、ドレイン端子Dがより高低電位となってOFF状態を維持する。 The energization control circuit compares the output voltage V2 (average value of about 35V) with the reference voltage Vr of a predetermined level, and while the output voltage V2 is maintained below the reference voltage Vr, the peak of the voltage waveform and the current waveform. The MOS transistors Q5 and Q6 are continuously ON / OFF controlled so that the positions of the above are the same and a current waveform similar to the voltage waveform is formed. During this normal operation, the switch circuit S1 is controlled to the ON state, and the switch circuits S2 and S3 are controlled to the OFF state. Therefore, the gate terminal G of the P-type MOS transistor Q7 has the same potential at the source terminal S, and in this operating state, the input voltage V1 <output voltage V2, so that the gate terminal G of the P-type MOS transistor Q7 has the same potential. The drain terminal D becomes higher and lower potential and maintains the OFF state.

ところで、遊技ホールでは、一の電源システムから多数の遊技機に対して交流電圧(24V)を配電しているので、周囲の遊技機の動作状態に応じて、交流電圧の電圧レベルが一時的に増加する場合があり得る。かかる場合に、力率改善回路の出力電圧V2より高い電圧V1が力率改善回路に印加されると(V1>V2)、正常な力率改善動作を継続することができない。そこで、本実施例の通電制御回路は、出力電圧V2が、所定の基準電圧Vrより高くなると、MOSトランジスタQ5,Q6を共にOFF制御して、力率改善動作を停止している。また、スイッチ回路S1をOFF状態にする一方で、スイッチ回路S2,S3をON状態に制御している。 By the way, in the gaming hall, AC voltage (24V) is distributed from one power supply system to many gaming machines, so the voltage level of the AC voltage temporarily changes according to the operating state of the surrounding gaming machines. It may increase. In such a case, if a voltage V1 higher than the output voltage V2 of the power factor improving circuit is applied to the power factor improving circuit (V1> V2), the normal power factor improving operation cannot be continued. Therefore, in the energization control circuit of this embodiment, when the output voltage V2 becomes higher than the predetermined reference voltage Vr, both the MOS transistors Q5 and Q6 are OFF-controlled to stop the power factor improving operation. Further, while the switch circuit S1 is turned off, the switch circuits S2 and S3 are controlled to be turned on.

そのため、MOSトランジスタQ7のゲート端子Gが、ドレイン端子Dより低電位となって、P型MOSトランジスタQ7がON動作し、チョークコイルL1をバイパスして、MOSトランジスタQ7を経由して、負荷側への配電が継続される。なお、この無制御状態での配電時には、チョークコイルL1がバイパスされるだけでなく、トランジスタQ7のボディダイオードや、トランジスタQ6のボディダイオードに電流が流れることがなく、且つ、複合ダイオード素子Db,Dbに電流が流れることもないので、無駄な電力消費が確実に抑制される。なお、その後、出力電圧V2が、所定の基準電圧Vr以下に戻れば、力率改善動作が再開される。 Therefore, the gate terminal G of the MOS transistor Q7 has a lower potential than the drain terminal D, the P-type MOS transistor Q7 operates ON, bypasses the choke coil L1, and goes to the load side via the MOS transistor Q7. Power distribution is continued. During power distribution in this uncontrolled state, not only the choke coil L1 is bypassed, no current flows through the body diode of the transistor Q7 and the body diode of the transistor Q6, and the composite diode elements Db and Db Since no current flows through the diode, wasteful power consumption is surely suppressed. After that, when the output voltage V2 returns to the predetermined reference voltage Vr or less, the power factor improving operation is restarted.

以上説明した通り、本実施例では、先ず、力率改善動作によって無効電力をゼロにすることで、無駄な電力消費を解消している。また、実施例の力率改善部品PFCでは、本来、ダイオードを使用すべき箇所に、MOSトランジスタQ6を配置して、MOSトランジスタQ5と相補的にスイッチング動作をさせるので(同期整流化)、無駄な消費電力を低減している。 As described above, in the present embodiment, first, wasteful power consumption is eliminated by reducing the reactive power to zero by the power factor improving operation. Further, in the power factor improving component PFC of the embodiment, the MOS transistor Q6 is arranged at the place where the diode should be used, and the switching operation is complementarily performed with the MOS transistor Q5 (synchronous rectification), which is useless. Power consumption is reduced.

さらに、本実施例では、入力電圧V1>出力電圧V2となる動作時には、無制御での配電動作を継続し、この場合に、MOSトランジスタQ7がON動作するので、トランジスタQ6のボディダイオードなどにおける余分な電力消費を極限的に低減することができる。 Further, in this embodiment, when the input voltage V1> the output voltage V2, the uncontrolled power distribution operation is continued, and in this case, the MOS transistor Q7 is turned on, so that the extra body diode of the transistor Q6 or the like is used. Power consumption can be reduced to the utmost.

ところで、先に説明した通り、本実施例の力率改善回路は、その出力電流が最大7A程度で機能している。そのため、チョークコイルL1での消費電力も無視できないレベルになりえる。そこで、本実施例では、チョークコイルL1をトロイダルコア型とし(図6(f)参照)、必要回数Nだけトロイダルコアに巻線を巻き付けることで、所定のインダクタンス値(実施例では40μH)を確保している。 By the way, as described above, the power factor improving circuit of this embodiment functions at a maximum output current of about 7 A. Therefore, the power consumption of the choke coil L1 can be at a level that cannot be ignored. Therefore, in this embodiment, the choke coil L1 is a toroidal core type (see FIG. 6 (f)), and the winding is wound around the toroidal core as many times as necessary to secure a predetermined inductance value (40 μH in the embodiment). doing.

この種のチョークコイルのインダクタンス値は、コアの透磁率μ、コア断面積S,コアの平均円周長L、巻数Nに対応して、L=μSN/Lとなり、巻線径(直径)Φは、インダクタンス値に何ら影響しない。一方、巻線の抵抗値は、断面積(巻線径Φの二乗)に反比例して、巻線が細いほど、抵抗値が増加する。そこで、本実施例では、直径1mm以上の巻線をトロイダルコアに巻き付けることで、必要なインダクタンス値を確保している。 The inductance value of this type of choke coil is L = μSN 2 / L corresponding to the core magnetic permeability μ, core cross-sectional area S, core average circumference length L, and number of turns N, and the winding diameter (diameter). Φ has no effect on the inductance value. On the other hand, the resistance value of the winding is inversely proportional to the cross-sectional area (square of the winding diameter Φ), and the thinner the winding, the higher the resistance value. Therefore, in this embodiment, a required inductance value is secured by winding a winding having a diameter of 1 mm or more around the toroidal core.

一般に、抵抗値を下げるためには、巻線径Φは太いほど好ましいが、大型化や高コスト化を避ける意味では、1.0〜1.5mmの巻線径が好適である。ちなみに、本実施例では、巻線径Φ=1.2mmとすることで、インダクタンス値40μHのチョークコイルL1の内部抵抗を、15mΩに抑制している。したがって、7Aの通電時の電圧降下は、0.1V程度に抑制され、無駄な消費電力は、0.7W程度に抑制される。 Generally, in order to reduce the resistance value, the larger the winding diameter Φ is, the more preferable it is, but in order to avoid increasing the size and cost, a winding diameter of 1.0 to 1.5 mm is preferable. Incidentally, in this embodiment, the internal resistance of the choke coil L1 having an inductance value of 40 μH is suppressed to 15 mΩ by setting the winding diameter Φ = 1.2 mm. Therefore, the voltage drop of 7A when energized is suppressed to about 0.1V, and the wasteful power consumption is suppressed to about 0.7W.

続いて、図7に基づいて、力率改善回路の力率改善出力V2(脈流の平均値が35V程度)を監視する電圧監視回路WTCHについて説明する。電圧監視回路WTCHは、力率改善出力V2を1/10程度に分圧して監視電圧Vsを生成する分圧抵抗R1,R2と、監視電圧Vsを非反転流力端子(+)に受ける第1と第2のコンパレータCM1,CM2と、力率改善出力V2が第1レベルまで降下するとON動作するトランジスタTRmと、力率改善出力V2が第2レベルまで降下するとON動作するトランジスタTRsと、トランジスタTRmのON動作に対応してON動作してLレベルの監視信号Wm5,Ws5を出力するトランジスタTR2,TR3と、トランジスタTRsのON動作に対応してON動作してLレベルの監視信号Wm12,Ws12を出力するトランジスタTR4,TR5と、を有して構成されている。 Subsequently, the voltage monitoring circuit WTCH that monitors the power factor improvement output V2 (the average value of the pulsating current is about 35V) of the power factor improvement circuit will be described with reference to FIG. 7. The voltage monitoring circuit WTCH receives the voltage dividing resistors R1 and R2 that generate the monitoring voltage Vs by dividing the power factor improving output V2 to about 1/10, and the first non-inverting flow force terminal (+) that receives the monitoring voltage Vs. And the second comparators CM1 and CM2, the transistor TRm that operates ON when the voltage improvement output V2 drops to the first level, the transistor TRs that operates ON when the voltage improvement output V2 drops to the second level, and the transistor TRm. Transistors TR2 and TR3 that operate ON in response to the ON operation of the transistor TRs and output L-level monitoring signals Wm5 and Ws5, and L-level monitoring signals Wm12 and Ws12 that operate ON in response to the ON operation of the transistors TRs. It is configured to have transistors TR4 and TR5 to output.

図4(a)に示す通り、監視信号Wm12,Ws12は、DC12Vを生成するDC/DCコンバータCV12m,CV12sのソフトスタート端子SSに供給され、監視信号Wm5,Ws5は、DC5Vを生成するDC/DCコンバータCV5m,CV5sのソフトスタート端子SSに供給されている。ここで、各DC/DCコンバータCV12m,CV12s,CV5m,CV5sは、各々のソフトスタート端子SSの電圧が、0V(Lレベル)から所定値(Hレベル)に達するまでは、DC変換動作を開始しないよう構成されている(ソフトスタート動作)。そして、DC変換動作を開始した後、もし、監視信号Wm12,Ws12,Wm5,Ws5が、HレベルからLレベル降下すると、DC変換動作を停止するよう構成されている。 As shown in FIG. 4A, the monitoring signals Wm12 and Ws12 are supplied to the soft start terminals SS of the DC / DC converters CV12m and CV12s that generate DC12V, and the monitoring signals Wm5 and Ws5 are DC / DCs that generate DC5V. It is supplied to the soft start terminal SS of the converters CV5m and CV5s. Here, each DC / DC converter CV12m, CV12s, CV5m, CV5s does not start the DC conversion operation until the voltage of each soft start terminal SS reaches a predetermined value (H level) from 0V (L level). It is configured as (soft start operation). Then, after the DC conversion operation is started, if the monitoring signals Wm12, Ws12, Wm5, and Ws5 drop from the H level to the L level, the DC conversion operation is stopped.

図7に戻って説明を続けると、第1コンパレータCM1は、シャントレギュレータ(TL431AIPK)などで生成された第1基準電圧Vr1を、反転入力端子(−)に受け、また、第2コンパレータCM2は、第1基準電圧Vr1を分圧した第2基準電圧Vr2を、反転入力端子(−)に受けるよう構成されている。特に限定されないが、本実施例では、第1基準電圧Vr1は、2.5Vであり、第2基準電圧Vr2は、分圧抵抗R3,R4の分圧比に基づいて1.97Vに設定されている。先に説明した通り、監視電圧Vsは、V2/10程度であるので、第1基準電圧Vr1は、力率改善出力V2に対して、V2/14程度となり、第2基準電圧Vr2は、V2/17.7程度となる。 Returning to FIG. 7 and continuing the description, the first comparator CM1 receives the first reference voltage Vr1 generated by the shunt regulator (TL431AIPK) or the like at the inverting input terminal (-), and the second comparator CM2 receives the first reference voltage Vr1. The second reference voltage Vr2, which is a voltage divider of the first reference voltage Vr1, is received by the inverting input terminal (−). Although not particularly limited, in this embodiment, the first reference voltage Vr1 is 2.5V, and the second reference voltage Vr2 is set to 1.97V based on the voltage division ratios of the voltage dividing resistors R3 and R4. .. As described above, since the monitoring voltage Vs is about V2 / 10, the first reference voltage Vr1 is about V2 / 14 with respect to the power factor improvement output V2, and the second reference voltage Vr2 is V2 /. It will be about 17.7.

第1基準電圧Vr1と第2基準電圧Vr2が上記のレベルであることから、力率改善出力V2が正常レベル(35V程度)であれば、何れのコンパレータCM1,CM2も、非反転入力端子(+)の電圧(=V2/10)が、反転入力端子(−)の電圧(=V2/14,V2/17.7)より高レベルとなり、各コンパレータCM1,CM2からHレベルの信号が出力される。そのため、PNPトランジスタTRm,TRsは、何れもOFF状態を維持し、これに対応してNPNトランジスタTR2〜TR5は、全てOFF状態を維持する。 Since the first reference voltage Vr1 and the second reference voltage Vr2 are at the above levels, if the power factor improvement output V2 is at a normal level (about 35V), both comparators CM1 and CM2 have non-inverting input terminals (+). ) Voltage (= V2 / 10) becomes higher than the voltage (= V2 / 14, V2 / 17.7) of the inverting input terminal (-), and H level signals are output from each comparator CM1 and CM2. .. Therefore, the PNP transistors TRm and TRs all maintain the OFF state, and the NPN transistors TR2 to TR5 all maintain the OFF state correspondingly.

このように、力率改善出力V2が正常レベル(35V程度)であれば、全てのトランジスタTR2〜TR5がOFF状態であるので、DC/DCコンバータCV12m,CV12s,CV5m,CV5sが動作を停止することはなく、DC変換動作を継続する。 In this way, if the power factor improvement output V2 is at a normal level (about 35V), all the transistors TR2 to TR5 are in the OFF state, so that the DC / DC converters CV12m, CV12s, CV5m, and CV5s stop operating. However, the DC conversion operation is continued.

一方、何等かの原因で力率改善回路に異常が発生して、力率改善出力V2が25Vレベル(第1レベル)を下回ると、監視電圧Vs(=V2/10)は、2.5Vを下回るので、コンパレータCM1の出力がHレベルからLレベルとなり、トランジスタTRmがON状態に遷移する。そのため、トランジスタTR2,TR3が共にON状態に遷移して、監視信号Wm5,Ws5が、Lレベルとなり、DC/DCコンバータCV5m,CV5sが動作を停止する。DC/DCコンバータCV5m,CV5sが動作を停止すると、払出制御基板25や演出インタフェイス基板22に対するDC5Vの配電が停止される。 On the other hand, when an abnormality occurs in the power factor improvement circuit for some reason and the power factor improvement output V2 falls below the 25V level (first level), the monitoring voltage Vs (= V2 / 10) becomes 2.5V. Since it falls below the voltage, the output of the comparator CM1 changes from the H level to the L level, and the transistor TRm transitions to the ON state. Therefore, both the transistors TR2 and TR3 transition to the ON state, the monitoring signals Wm5 and Ws5 become the L level, and the DC / DC converters CV5m and CV5s stop operating. When the DC / DC converters CV5m and CV5s stop operating, the distribution of DC5V to the payout control board 25 and the effect interface board 22 is stopped.

但し、監視電圧Vs(=V2/10)が2.5Vを下回る以前に、電源モニタ部MNT(図3(b))のフォトカプラPHがOFF動作して、電源異常信号ABNは、既に異常レベル(L)に変化している。したがって、DC/DCコンバータCV5m,CV5sが動作を停止するDC5Vの配電停止時には、払出制御基板25や主制御基板21において、バックアップ処理は完了している。なお、各制御基板21,25に配置された電解コンデンサによって、所定時間はDC5Vの電圧レベルが維持されるので、DC5Vの配電停止時に、仮に、バックアップ処理が完了していなくても、問題なくバックアップ処理を終了させることができる。 However, before the monitoring voltage Vs (= V2 / 10) falls below 2.5V, the photocoupler PH of the power supply monitor unit MNT (FIG. 3B) is turned off, and the power supply abnormality signal ABN is already at an abnormality level. It has changed to (L). Therefore, when the DC5V power distribution is stopped when the DC / DC converters CV5m and CV5s stop operating, the backup process is completed on the payout control board 25 and the main control board 21. Since the voltage level of DC5V is maintained for a predetermined time by the electrolytic capacitors arranged on the control boards 21 and 25, even if the backup process is not completed when the power distribution of DC5V is stopped, there is no problem in backing up. The process can be terminated.

先に説明した通り、直流5Vは、払出制御基板25や主制御基板21のワンチップマイコンの電源電圧、及び、各制御基板に搭載された論理素子の電源電圧として使用されている。また、直流5Vは、演出インタフェイス基板22のDC/DCコンバータでレベル降下された後、レベル降下された各種レベルの電圧が、各種コンピュータ回路の電源電圧として使用されている。 As described above, DC 5V is used as the power supply voltage of the one-chip microcomputer of the payout control board 25 and the main control board 21, and the power supply voltage of the logic element mounted on each control board. Further, the DC 5V is level-dropped by the DC / DC converter of the effect interface board 22, and then various levels of voltage lowered are used as the power supply voltage of various computer circuits.

したがって、直流5Vの配電が停止されると、各制御基板に搭載された論理素子が動作を停止して、制御信号の出力動作などの制御動作が停止される。また、払出制御基板25や主制御基板21に搭載されたリセット回路RST1,RST2が機能してリセット信号がLレベルに変化することで、バックアップ処理を終えた払出制御基板25や主制御基板21のワンチップマイコンが制御動作を停止する。この点は、遊技制御動作を実行していたコンピュータ回路(複合チップ50や音声プロセッサ27など)についても同様であり、直ちに、遊技制御動作を停止する。 Therefore, when the DC 5V power distribution is stopped, the logic elements mounted on each control board stop the operation, and the control operation such as the output operation of the control signal is stopped. Further, the reset circuits RST1 and RST2 mounted on the payout control board 25 and the main control board 21 function to change the reset signal to the L level, so that the payout control board 25 and the main control board 21 that have completed the backup process The one-chip microcomputer stops the control operation. This point also applies to the computer circuit (composite chip 50, voice processor 27, etc.) that has executed the game control operation, and immediately stops the game control operation.

上記の通り、本実施例では、力率改善出力V2が25Vレベルを下回ると、最初にDC/DCコンバータCV5m,CV5sが動作を停止するので、上記した停止動作が迅速に実行され、不安定な電源電圧レベルにおいて、遊技制御動作が継続されるおそれが回避される。なお、このような動作は、通常は、電源遮断時に実行されるが、本実施例では、交流電圧24Vが正常レベルであって、力率改善回路だけが異常状態である場合にも、上記の動作が実行される利点がある。 As described above, in the present embodiment, when the power factor improvement output V2 falls below the 25V level, the DC / DC converters CV5m and CV5s stop the operation first, so that the above stop operation is quickly executed and unstable. At the power supply voltage level, the possibility that the game control operation will continue is avoided. It should be noted that such an operation is usually executed when the power supply is cut off, but in this embodiment, even when the AC voltage 24V is at a normal level and only the power factor improving circuit is in an abnormal state, the above operation is performed. There is an advantage that the operation is performed.

以上、力率改善出力V2が25Vを下回ったタイミングについて説明したが、電源遮断時や、力率改善回路の異常時には、その後も力率改善出力V2のレベル降下が続き、やがて、19.7V(第2レベル)を下回るタイミングに至る。すると、監視電圧Vs(=V2/17.7)は、1.97Vを下回るので、コンパレータCM2の出力がHレベルからLレベルとなり、トランジスタTRsがON状態に遷移する。そのため、トランジスタTR4,TR5が共にON状態に遷移して、監視信号Wm12,Ws12が、Lレベルとなり、DC/DCコンバータCV12m,CV12sが動作を停止する。 The timing at which the power factor improvement output V2 falls below 25V has been described above, but when the power is cut off or when the power factor improvement circuit is abnormal, the level of the power factor improvement output V2 continues to drop, and eventually 19.7V (19.7V). It reaches the timing below the second level). Then, since the monitoring voltage Vs (= V2 / 17.7) is lower than 1.97V, the output of the comparator CM2 changes from the H level to the L level, and the transistors TRs transition to the ON state. Therefore, the transistors TR4 and TR5 both transition to the ON state, the monitoring signals Wm12 and Ws12 become the L level, and the DC / DC converters CV12m and CV12s stop operating.

先に説明した通り、直流12Vは、各制御基板から制御されるLEDランプやモータの駆動電源、及びデジタルアンプの電源電圧として使用されるが、DC/DCコンバータCV12m,CV12sが動作を停止すると、直流12Vの配電が停止される。しかし、このタイミングでは、LEDランプ、演出モータ、及びデジタルアンプの制御動作は、既に停止状態であり、また、論理素子から制御信号が伝送されることもないので、不自然なランプ演出やモータ演出が生じることがなく、スピーカから異音が発生することもない。 As explained above, DC 12V is used as the drive power supply for LED lamps and motors controlled from each control board, and the power supply voltage for digital amplifiers. However, when the DC / DC converters CV12m and CV12s stop operating, The DC 12V power distribution is stopped. However, at this timing, the control operations of the LED lamp, the effect motor, and the digital amplifier are already stopped, and the control signal is not transmitted from the logic element, so that the unnatural lamp effect and motor effect are not transmitted. Is not generated, and no abnormal noise is generated from the speaker.

以上の通り、本実施例では、演出モータなどの制御対象への配電停止に先行して、ワンチップマイコンなどの制御元が制御動作を停止するので、円滑な電源遮断動作を実現できる。また、力率改善回路だけが異常動作した場合にも、同様の円滑な動作終了動作が実現される。 As described above, in the present embodiment, the control source such as the one-chip microcomputer stops the control operation prior to the stop of the power distribution to the control target such as the effect motor, so that the smooth power cutoff operation can be realized. Further, even when only the power factor improving circuit operates abnormally, the same smooth operation ending operation is realized.

次に、図8(a)は、力率改善回路の脈流出力V2(平均値35V)を受けて直流電圧5Vを生成する同期整流型のDC/DCコンバータCV5sの内部構成を示す回路図である。特に限定されないが、本実施例のDC/DCコンバータCV5sは、コンバータIC素子(モノリシックIC)CHPと、関連する回路部品を、電源基板20上で接続して構成されている。なお、チョークコイルL5と平滑コンデンサC6を、電源基板20の表面側に配置する一方、それ以外の回路部品は、放熱板を設けないコンバータIC素子CHPも含め、全て電源基板20の裏面側に配置している。 Next, FIG. 8A is a circuit diagram showing the internal configuration of the synchronous rectification type DC / DC converter CV5s that receives the pulsating output V2 (average value 35V) of the power factor improving circuit and generates a DC voltage of 5V. is there. Although not particularly limited, the DC / DC converter CV5s of this embodiment is configured by connecting a converter IC element (monolithic IC) CHP and related circuit components on the power supply board 20. The choke coil L5 and the smoothing capacitor C6 are arranged on the front surface side of the power supply board 20, while the other circuit components are all arranged on the back surface side of the power supply board 20 including the converter IC element CHP without the heat sink. doing.

このコンバータIC素子CHPは、システムクロック信号CLKを発振する発振部OSCと、のこぎり波(ランプ波)を発生するランプ発生部RaGENと、電源投入時に適宜なソフトスタート動作を実現するスタート制御部SSと、比較基準電圧(0.7V)とフィードバック電圧VFBとの差電圧を出力する誤差増幅部EAPと、誤差増幅部EAPの出力に基づいてPWM波を出力するPWMコンパレータPWMCと、力率改善出力V2を受けて基準電圧10Vを生成する定電圧部RGと、力率改善出力V2を受けて各種の比較電圧を生成する比較電圧生成部RFGと、上側の外付けMOSトランジスタQHを駆動するHドライバHDRVと、下側の外付けMOSトランジスタQLを駆動するLドライバLDRVと、ドライバHDRV,LDRVの動作を制御するドライバ制御部DrCTLとを有して構成されている。 This converter IC element CHP includes an oscillation unit OSC that oscillates the system clock signal CLK, a lamp generation unit RaGEN that generates a saw wave (ramp wave), and a start control unit SS that realizes an appropriate soft start operation when the power is turned on. , The error amplification unit EAP that outputs the difference voltage between the comparison reference voltage (0.7V) and the feedback voltage VFB, the PWM comparator PWMC that outputs the PWM wave based on the output of the error amplification unit EAP, and the power factor improvement output V2. The constant voltage unit RG that generates a reference voltage of 10V in response to the voltage, the comparator voltage generator RFG that generates various comparison voltages in response to the power factor improvement output V2, and the H driver HDRV that drives the upper external MOS transistor QH. It is configured to include an L driver LDRV for driving the lower external MOS transistor QL, and a driver control unit DrCTL for controlling the operation of the drivers HDRV and LDRV.

ここで外付けMOSトランジスタQH,QLは、下側のMOSトランジスタQLだけでなく、上側のMOSトランジスタQHもN型MOSFETで構成されており、無駄な電力消費が軽減されている。すなわち、一般に、N型MOSトランジスタは、P型MOSトランジスタより安価であって、且つ、オン抵抗が低いので、本実施例の構成によれば、電源効率を向上させることができる。 Here, as for the external MOS transistors QH and QL, not only the lower MOS transistor QL but also the upper MOS transistor QH is composed of N-type MOSFETs, so that wasteful power consumption is reduced. That is, in general, the N-type MOS transistor is cheaper than the P-type MOS transistor and has a low on-resistance. Therefore, according to the configuration of this embodiment, the power supply efficiency can be improved.

また、このコンバータIC素子CHPは、上記したソフトスタート機能だけでなく、過電流保護機能、短絡保護機能、過熱遮断保護機能、及び、低電圧誤動作防止機能(UVLO:Under Voltage Lock Out)を有し、且つ、ランプ波の傾斜や、システムクロックの周波数Fswが、設定可能に構成されている。 Further, this converter IC element CHP has not only the above-mentioned soft start function, but also an overcurrent protection function, a short circuit protection function, an overheat cutoff protection function, and a low voltage malfunction prevention function (UVLO: Under Voltage Lock Out). Moreover, the gradient of the ramp wave and the frequency Fsw of the system clock are configured to be configurable.

具体的には、SS端子に適宜な静電容量のコンデンサCsを接続することで、コンデンサCsが所定レベルまで充電されるまで、コンバータの動作開始を待機して、突入電流を抑制すると共に、オーバーシュートを回避している。また、このSS端子には、異常時には、Lレベルとなる監視信号Ws5が、電圧監視回路WTCHから供給されており、力率改善出力V2の異常降下時には、DC変換動作が停止するよう構成されている。 Specifically, by connecting a capacitor Cs having an appropriate capacitance to the SS terminal, the converter waits for the start of operation until the capacitor Cs is charged to a predetermined level, suppresses the inrush current, and overshoots. Avoiding shoots. Further, a monitoring signal Ws5, which becomes L level at the time of abnormality, is supplied to this SS terminal from the voltage monitoring circuit WTCH, and is configured to stop the DC conversion operation when the power factor improvement output V2 drops abnormally. There is.

また、ILIM端子に接続する抵抗の抵抗値に基づいて、上限電流を設定し、KFF端子とBP5端子との間に接続する抵抗の抵抗値に基づいてランプ波の傾斜が設定できるようになっている。本実施例では、システムクロック信号CLKの周波数Fswは、RT端子に接続する抵抗の抵抗値によって、設定できるようになっており、本実施例では、Fsw=200kHz程度のシステムクロックCLKとしている。 In addition, the upper limit current can be set based on the resistance value of the resistor connected to the ILIM terminal, and the slope of the lamp wave can be set based on the resistance value of the resistor connected between the KFF terminal and the BP5 terminal. There is. In this embodiment, the frequency Fsw of the system clock signal CLK can be set by the resistance value of the resistor connected to the RT terminal. In this embodiment, the system clock CLK is set to Fsw = about 200 kHz.

このようなコンバータIC素子CHPの内部構成に対応して、VIN端子には、力率改善出力V2が供給され、BP10端子には適宜なコンデンサが接続されることで、BP10端子を正確なDC10Vに維持している。また、BOOST端子とWS端子との間にブートストラップコンデンサCbtが接続されることで、BOOST端子とWS端子との間は、内部ダイオードDinの順方向電圧Vfに対応して、10−Vf≒9V程度に維持される。このブートストラップコンデンサCbtは、上側のN型MOSトランジスタQHをON動作させるためのチャージポンプ型昇圧回路の構成要素である。 Corresponding to the internal configuration of such a converter IC element CHP, the power factor improvement output V2 is supplied to the VIN terminal, and an appropriate capacitor is connected to the BP10 terminal to make the BP10 terminal an accurate DC10V. Maintained. Further, by connecting the bootstrap capacitor Cbt between the BOOST terminal and the WS terminal, the space between the BOOST terminal and the WS terminal is 10-Vf≈9V corresponding to the forward voltage Vf of the internal diode Din. Maintained to a degree. The bootstrap capacitor Cbt is a component of a charge pump type booster circuit for turning on the upper N-type MOS transistor QH.

また、コンバータIC素子CHPのHDRV端子は、適宜な抵抗を経由して、上側のMOSトランジスタQHのゲート端子に接続され、LDRV端子は、適宜な抵抗を経由して、下側のMOSトランジスタQLのゲート端子に接続されている。そして、SW端子は、上側のMOSトランジスタQHのソース端子に接続され。PGND端子は、下側のMOSトランジスタQLのソース端子に接続されている。また、上側のMOSトランジスタQHのドレイン端子には、力率改善出力V2が供給され、下側のMOSトランジスタQLのドレイン端子は、上側のMOSトランジスタQHのソース端子に接続されている。 Further, the HDRV terminal of the converter IC element CHP is connected to the gate terminal of the upper MOS transistor QH via an appropriate resistor, and the LDRV terminal is connected to the lower MOS transistor QL via an appropriate resistor. It is connected to the gate terminal. Then, the SW terminal is connected to the source terminal of the upper MOS transistor QH. The PGND terminal is connected to the source terminal of the lower MOS transistor QL. Further, the power factor improvement output V2 is supplied to the drain terminal of the upper MOS transistor QH, and the drain terminal of the lower MOS transistor QL is connected to the source terminal of the upper MOS transistor QH.

このような構成に対応して、下側のMOSトランジスタQLのドレイン端子、及び上側のMOSトランジスタQHのソース端子は、共にSW端子に接続された状態で、チョークコイルL5の一方端子に接続されている。また、チョークコイルL5の他方端子は、コンデンサC6を経由してグランド電位のPGND端子に接続されている。 Corresponding to such a configuration, the drain terminal of the lower MOS transistor QL and the source terminal of the upper MOS transistor QH are both connected to the SW terminal and connected to one terminal of the choke coil L5. There is. Further, the other terminal of the choke coil L5 is connected to the ground potential PGND terminal via the capacitor C6.

そして、コンデンサC6の両端電圧は、分圧抵抗RV1,RV2で適宜に分圧された状態で、帰還電圧VFBとして、コンバータIC素子CHPのVFB端子に供給されている。そして、帰還電圧VFBが基準電圧0.7Vに一致するようなデューティ比で、MOSトランジスタQH、QLがON/OFF動作することで、所定レベルのDC電圧が生成される。この実施例では、5×Rv2/(RV1+RV2)=0.7となるよう分圧抵抗の抵抗比が設定されているので、出力電圧がDC5Vとなる。 Then, the voltage across the capacitor C6 is supplied to the VFB terminal of the converter IC element CHP as a feedback voltage VFB in a state where the voltage is appropriately divided by the voltage dividing resistors RV1 and RV2. Then, the MOS transistors QH and QL operate ON / OFF at a duty ratio such that the feedback voltage VFB matches the reference voltage 0.7V, so that a predetermined level DC voltage is generated. In this embodiment, the resistance ratio of the voltage dividing resistor is set so that 5 × Rv2 / (RV1 + RV2) = 0.7, so that the output voltage is DC5V.

図8(a)では、MOSトランジスタQHがON、MOSトランジスタQLがOFFの動作状態における、チョークコイルL5の充電電流を実線矢印で示し、MOSトランジスタQHがOFF、MOSトランジスタQLがONの動作状態における、チョークコイルL5の放電電流を破線矢印で示している。また、図8(c)には、チョークコイルL5の充電電流と放電電流と平均電流Ioを記載している。なお、下側のMOSトランジスタQLのドレイン端子とソース端子の間には、RCスナバ回路が接続されているので、ON/OFF動作遷移時のリンギングが好適に吸収される。 In FIG. 8A, the charging current of the choke coil L5 in the operating state in which the MOS transistor QH is ON and the MOS transistor QL is OFF is indicated by a solid line arrow, and in the operating state in which the MOS transistor QH is OFF and the MOS transistor QL is ON. , The discharge current of the choke coil L5 is indicated by a broken line arrow. Further, FIG. 8C shows the charge current, the discharge current, and the average current Io of the choke coil L5. Since an RC snubber circuit is connected between the drain terminal and the source terminal of the lower MOS transistor QL, ringing at the time of ON / OFF operation transition is preferably absorbed.

先に説明したチョークコイルL5のインダクタンス値は、その値が大きいほどリップル電流は小さくなるが、一方、寸法が大型化する。一方、インダクタンスが小さいとリップル電流が増えるので、コンデンサC6として、大きな静電容量が必要となり、コンデンサC6を大型化せざるを得なくなる。そこで、本実施例では、上記の諸条件と、クロック周波数Fswなどに基づいて、チョークコイルL5のインダクタンス値を30μH、電解コンデンサC6の静電容量を、700μFに決定している。なお、電解コンデンサC6は、円柱形状であり、電源基板20の表面側に立設されている。 As for the inductance value of the choke coil L5 described above, the larger the value, the smaller the ripple current, but on the other hand, the size becomes larger. On the other hand, if the inductance is small, the ripple current increases, so that a large capacitance is required as the capacitor C6, and the capacitor C6 has to be enlarged. Therefore, in this embodiment, the inductance value of the choke coil L5 is determined to be 30 μH and the capacitance of the electrolytic capacitor C6 is determined to be 700 μF based on the above conditions and the clock frequency Fsw. The electrolytic capacitor C6 has a cylindrical shape and is erected on the surface side of the power supply board 20.

ところで、チョークコイルL5に必要なインダクタンス値は、コアの透磁率μ、コアの断面積S、コイル巻数Nなどに基づいて一意に決定される。具体的には、トロイダルコアを使用する場合には、トロイダルコアの平均直径Lと、トロイダルコアの断面積Sと、巻数Nとに対応して、インダクタンス値が、NμS/Lとなり、一方、円柱コアを使用する場合には、漏れ磁束を無視した単位長当たりのインダクタン値は、円筒コアの断面積Sと単位長当たりのコイル巻数Nとに対応してμSNとなる(図10(a)参照)。すなわち、インダクタンス値は、何れの場合も、コアの構成(μやS)と、コアに巻回されるコイル巻線の巻数Nに基づいて一意に決定される。 By the way, the inductance value required for the choke coil L5 is uniquely determined based on the magnetic permeability μ of the core, the cross-sectional area S of the core, the number of coil turns N, and the like. Specifically, when a toroidal core is used, the inductance value becomes N 2 μS / L corresponding to the average diameter L of the toroidal core, the cross-sectional area S of the toroidal core, and the number of turns N, while When a cylindrical core is used, the inductorn value per unit length ignoring the leakage flux is μSN 2 corresponding to the cross-sectional area S of the cylindrical core and the number of coil turns N per unit length (FIG. 10). (A). That is, in each case, the inductance value is uniquely determined based on the core configuration (μ or S) and the number of turns N of the coil winding wound around the core.

したがって、必要なインダクタンス値は、トロイダルコアを使用しても(図6(f)及び図8(b)参照)、円柱コアを使用しても(図10(a)参照)、任意な値を得ることができることになる。しかし、チョークコイルL5には、定常的に大きな直流電流Ioが流れるので、同じ巻数Nであっても、巻線の直径に基づいて、電力損失が大きく相違する。そこで、本実施例では、それほど大電流を必要としない場合には、円柱コアに直径Φ<0.5mmの巻線を巻回することで(小型構成1)、チョークコイルの小型化や製造コストの抑制を図る一方(図10(a)参照)、大電流を必要とする場合には、トロイダルコアに直径Φ≧0.5mmの巻線を使用することで(大型構成2)、電力損失の軽減を図っている(図6(f)及び図8(b)参照)。 Therefore, the required inductance value can be any value regardless of whether a toroidal core is used (see FIGS. 6 (f) and 8 (b)) or a cylindrical core is used (see FIG. 10 (a)). You will be able to get it. However, since a large direct current Io constantly flows through the choke coil L5, even if the number of turns N is the same, the power loss differs greatly based on the diameter of the winding. Therefore, in this embodiment, when a large current is not required, a winding having a diameter of Φ <0.5 mm is wound around the cylindrical core (small configuration 1) to reduce the size of the choke coil and the manufacturing cost. (See Fig. 10 (a)), but when a large current is required, a winding with a diameter of Φ ≧ 0.5 mm is used for the toroidal core (large configuration 2) to reduce power loss. The reduction is attempted (see FIGS. 6 (f) and 8 (b)).

なお、小型構成1を採る場合は、各チョークコイルの直流抵抗が30mΩ以上(好適には120mΩ以下)となり、大型構成2を採る場合は、各チョークコイルの直流抵抗が30mΩ未満となる。 When the small configuration 1 is adopted, the DC resistance of each choke coil is 30 mΩ or more (preferably 120 mΩ or less), and when the large configuration 2 is adopted, the DC resistance of each choke coil is less than 30 mΩ.

以上の設計思想に基づき、本実施例では、第1コネクタMainを経由して、払出制御基板25に向けて配電される直流電圧(12V,5V)を生成するDC/DCコンバータCV12m,CV5mには、製造コストの抑制を最優先して、非同期整流方式を採用すると共に、図10(a)に示す小型構成(1)のチョークコイルを使用している。一方、第2コネクタSubを経由して、演出インタフェイス基板22に配電される直流電圧(12V,5V)を生成するDC/DCコンバータCV12s,CV5sについては、同期整流方式を採用すると共に、消費電力の軽減を最優先して図8(b)や図9(b)に示す大型構成(2)のチョークコイルを使用している。なお、何れの構成を採る場合でも、チョークコイルは、電源基板20の表面側に立設される。これらの点は、力率改善回路に使用されるチョークコイルL1(図6(f))についても同様であり、大型構成(2)のチョークコイルであって、電源基板20の表面側に立設されている。 Based on the above design concept, in this embodiment, the DC / DC converters CV12m and CV5m that generate DC voltage (12V, 5V) distributed to the payout control board 25 via the first connector Main are used. The asynchronous rectification method is adopted with the highest priority given to suppressing the manufacturing cost, and the choke coil having the small configuration (1) shown in FIG. 10A is used. On the other hand, the DC / DC converters CV12s and CV5s that generate DC voltage (12V, 5V) distributed to the effect interface board 22 via the second connector Sub adopt a synchronous rectification method and consume power. The choke coil of the large configuration (2) shown in FIGS. 8 (b) and 9 (b) is used with the highest priority given to the reduction of the above. Regardless of which configuration is adopted, the choke coil is erected on the surface side of the power supply board 20. These points are the same for the choke coil L1 (FIG. 6 (f)) used in the power factor improving circuit, which is a choke coil having a large configuration (2) and is erected on the surface side of the power supply board 20. Has been done.

具体的な説明を続けると、図8(b)に示すチョークコイルL5は、大型構成(2)に基づき、トロイダルコアに線径0.90mmの巻線を巻回して構成されている。この場合の巻線抵抗は、インダクタンス値を30μHにおいて、20mΩ程度であり、消費電力を効果的に抑制することができる。また、同期整流方式を採用して、MOSトランジスタQLを使用するので、この箇所に整流ダイオードを使用する場合に比べて、消費電力を大幅に抑制することができる。 Continuing a specific description, the choke coil L5 shown in FIG. 8B is configured by winding a winding with a wire diameter of 0.90 mm around a toroidal core based on the large configuration (2). The winding resistance in this case is about 20 mΩ at an inductance value of 30 μH, and power consumption can be effectively suppressed. Further, since the synchronous rectification method is adopted and the MOS transistor QL is used, the power consumption can be significantly suppressed as compared with the case where the rectifier diode is used in this portion.

本実施例において、DC/DCコンバータCV5sの出力は、演出インタフェイス基板22や演出制御基板23に搭載された論理素子の電源電圧となるだけでなく、音声プロセッサ27や、複合チップ50の電源電圧(3.3V/1.5V/1.05V)の基礎電圧ともなるので、チョークコイルL5の平均電流Ioは、4.3A程度となる。なお、演出制御を豊富化するには、最大5A程度の平均電流を許容する設計が必要となるので、MOSトランジスタQLを使用することや、チョークコイルL5の巻線抵抗を抑制することの意義はきわめて大きい。 In this embodiment, the output of the DC / DC converter CV5s is not only the power supply voltage of the logic element mounted on the effect interface board 22 and the effect control board 23, but also the power supply voltage of the voice processor 27 and the composite chip 50. Since it also has a basic voltage of (3.3V / 1.5V / 1.05V), the average current Io of the choke coil L5 is about 4.3A. In addition, in order to enrich the effect control, it is necessary to design to allow an average current of about 5 A at the maximum, so it is significant to use the MOS transistor QL and suppress the winding resistance of the choke coil L5. Extremely large.

因みに、巻線径を仮に1/2倍にすれば巻線抵抗は4倍となるので、チョークコイルL5における無駄な消費電力が、Io=5Aの場合、本実施例では0.5W(ワット)のものが、更に1.5W(=5*5*20/1000*3)も増加することになる。また、MOSトランジスタQLに代えて、整流ダイオードを使用すると、順方向電圧降下Vf(≒1V)と、PWM波の平均デューティ比(τ≒5/35)に対応して、無駄な消費電力が、1×4.3×(1−τ)≒1×4.3×0.86=3.7W程度に至ることになる。 By the way, if the winding diameter is halved, the winding resistance will be quadrupled. Therefore, when the wasteful power consumption of the choke coil L5 is Io = 5A, 0.5 W (watt) in this embodiment. However, the amount will increase by 1.5W (= 5 * 5 * 20/1000 * 3). Further, if a rectifier diode is used instead of the MOS transistor QL, wasteful power consumption is generated corresponding to the forward voltage drop Vf (≈1V) and the average duty ratio of the PWM wave (τ≈5 / 35). 1 × 4.3 × (1-τ) ≈ 1 × 4.3 × 0.86 = 3.7 W.

次に、図9(a)は、演出インタフェイス基板22に配電される直流電圧12Vを生成する同期整流型のDC/DCコンバータCV12sの内部構成を示す回路図である。基本構成や動作内容は、図8(a)に示すDC/DCコンバータCV5sと同一であるが、迫力ある各種の遊技動作を実行するためには、相当に大きな駆動電流が必要となり、この点を考慮した特別な構成が必要となる。 Next, FIG. 9A is a circuit diagram showing an internal configuration of a synchronous rectification type DC / DC converter CV12s that generates a DC voltage of 12V to be distributed to the effect interface substrate 22. The basic configuration and operation contents are the same as those of the DC / DC converter CV5s shown in FIG. 8A, but a considerably large drive current is required to execute various powerful game operations. A special configuration is required in consideration.

先ず確認するに、DC/DCコンバータCV12sが生成したDC12Vは、図4に示す第2コネクタSubを経由して、盤側部材を構成する多数のLEDランプや演出モータを駆動するだけでなく、デジタルアンプの電源電圧ともなる。また、第3コネクタAuxを経由して、ガラス扉6や前面板7などの前扉部材に配置されたLEDランプや演出モータも駆動するので、全体として、13A程度の駆動電流が必要となる。 First, to confirm, the DC12V generated by the DC / DC converter CV12s not only drives a large number of LED lamps and effect motors constituting the panel side member via the second connector Sub shown in FIG. 4, but also digitally. It also serves as the power supply voltage for the amplifier. Further, since the LED lamps and the effect motors arranged on the front door members such as the glass door 6 and the front plate 7 are also driven via the third connector Aux, a drive current of about 13 A is required as a whole.

そこで、本実施例では、MOSトランジスタQH,QLなどに流れる電流が大きいことを考慮して、必要な回路部品を、直接、電源基板20に半田付けするのではなく、別の基板(回路基板又はは絶縁基板)に必要な回路部品を取り付けた上で、その全体を樹脂モールドして12V用のDC/DCコンバータを完成させている。すなわち、DC/DCコンバータCV12sは、図8(a)に示すコンバータIC素子CHPを、関連する外付け部品と共に一体化した複合第3回路部品CV12sとして構成されている。 Therefore, in this embodiment, considering that the current flowing through the MOS transistors QH, QL, etc. is large, the necessary circuit parts are not directly soldered to the power supply board 20, but are another board (circuit board or Is an insulating substrate), and after attaching the necessary circuit parts, the whole is resin-molded to complete a 12V DC / DC converter. That is, the DC / DC converter CV12s is configured as a composite third circuit component CV12s in which the converter IC element CHP shown in FIG. 8A is integrated with related external components.

このように、本実施例では、コンバータIC素子CHPと、これに関連する外付け部品を、別の基板に配置して全体をモールドするので、回路部品間は、必ずしも配線パターンで接続する必要がなくなる。そして、この複合第3回路部品CV12sでは、最適な太さの配線ケーブルで部品間を最短接続しており、配線抵抗を低減することで、無駄な電力消費を効果的に抑制している。なお、この複合第3回路部品CV12sについても、複合第1回路部品RECTや、複合第2回路部品PFCと同様の外観であり、例えば、40mm×30mm×8mm程度の薄板状に形成されている。 As described above, in this embodiment, since the converter IC element CHP and the external components related thereto are arranged on different substrates and molded as a whole, it is not always necessary to connect the circuit components with a wiring pattern. It disappears. In the composite third circuit component CV12s, the components are connected in the shortest time with a wiring cable having an optimum thickness, and wasteful power consumption is effectively suppressed by reducing the wiring resistance. The composite third circuit component CV12s also has the same appearance as the composite first circuit component RECT and the composite second circuit component PFC, and is formed in a thin plate shape of, for example, about 40 mm × 30 mm × 8 mm.

また、MOSトランジスタQH,QLなどの放熱効果と共に、電磁遮蔽を実現するため、複合第3回路部品CV12sは、図9(d)に示す導電性の電磁シールドボックスSHに収容された一体化回路部品として、放熱板の使用を不要にしている。図9(d)に示す電磁シールドボックスSHは、図6(c)に関して説明した構成と同一構成であり、31mm×65mm×12mm程度の角型の導体ボックスで形成されている。なお、電磁遮蔽を万全にするため、電磁シールドボックスSHの閉塞面FTは、チョークコイルL3に対面して立設されている。また、静電遮蔽効果を合わせて実現するため、電磁シールドボックスSHは、電源基板20のグランドラインに接続されている。 Further, in order to realize electromagnetic shielding as well as heat dissipation effect of MOS transistors QH, QL, etc., the composite third circuit component CV12s is an integrated circuit component housed in the conductive electromagnetic shield box SH shown in FIG. 9D. As a result, the use of a heat sink is not required. The electromagnetic shield box SH shown in FIG. 9D has the same configuration as that described with respect to FIG. 6C, and is formed of a square conductor box having a size of about 31 mm × 65 mm × 12 mm. The closed surface FT of the electromagnetic shield box SH is erected facing the choke coil L3 in order to ensure perfect electromagnetic shielding. Further, in order to realize the electrostatic shielding effect together, the electromagnetic shield box SH is connected to the ground line of the power supply board 20.

複合第3回路部品(DC/DCコンバータCV12s)は、図9(c)に示す通り、合計13本の回路接続バーが一列に整列して、部品本体から略直交した状態で突出している。13本の回路接続バーには、入力端子INグループ3本と、出力端子OUTグループ4本と、グランド端子GNDグループ3本とが含まれている。なお、FB端子は、分圧抵抗RV1を経由して、コンバータIC素子CHPのVREF端子に接続され、Rref端子と、ON/OFF端子は、各々、コンバータIC素子CHPのVFB端子と、SS端子に一対一の関係で接続されている。 As shown in FIG. 9C, the composite third circuit component (DC / DC converter CV12s) has a total of 13 circuit connection bars arranged in a row and protrudes from the component body in a substantially orthogonal state. The 13 circuit connection bars include three input terminal IN groups, four output terminals OUT groups, and three ground terminals GND groups. The FB terminal is connected to the VREF terminal of the converter IC element CHP via the voltage dividing resistor RV1, and the Rref terminal and the ON / OFF terminal are connected to the VFB terminal and the SS terminal of the converter IC element CHP, respectively. They are connected in a one-to-one relationship.

複合第3回路部品においても、各グループの回路接続バーは、何れも、丸棒状または平板状であり、その直径Φや板幅WDは、正面視で、1mm前後(Φ=WD=0.6〜1.5mm程度)である。また、各グループの回路接続バーは、何れも、2mm以上(好適には2〜3mm程度)の均一ピッチPiで整列しており、各グループの回路接続バーは、均一ピッチPiを維持した状態で、電源基板20に略直交状態で電源基板20の表面側から挿入され、その表裏面で、各グループに対応する回路パターンランドに半田付けされている。 Even in the composite third circuit component, the circuit connection bar of each group is in the shape of a round bar or a flat plate, and its diameter Φ and plate width WD are about 1 mm (Φ = WD = 0.6) when viewed from the front. ~ 1.5 mm). Further, the circuit connection bars of each group are all aligned with a uniform pitch Pi of 2 mm or more (preferably about 2 to 3 mm), and the circuit connection bars of each group maintain a uniform pitch Pi. , It is inserted from the front surface side of the power supply board 20 in a substantially orthogonal state to the power supply board 20, and is soldered to the circuit pattern lands corresponding to each group on the front and back surfaces thereof.

複合第3回路部品においても、回路パターンランドは、各グループに属する回路接続バーの最大離間距離を下回らない十分な平面幅に形成されており、また、パターン幅1mmの導体面に1Aの電流を流しても、損失電力が全く問題にならない材料を選択し、所定の膜厚を形成している。例えば、出力端子OUTグループに対応する回路パターンランドは、4本の回路接続バーに対応して、4×Piを超える平面幅に形成されている。また、この回路パターンランドは、回路接続バーとの接続箇所を最低幅(4×Pi)とし、それ以外は、ほぼ最低幅以上のパターン幅に形成されている。 Also in the composite third circuit component, the circuit pattern land is formed with a sufficient plane width that does not fall below the maximum separation distance of the circuit connection bars belonging to each group, and a current of 1 A is applied to the conductor surface having the pattern width of 1 mm. A material is selected so that the power loss does not matter at all even if it is passed, and a predetermined film thickness is formed. For example, the circuit pattern land corresponding to the output terminal OUT group is formed to have a plane width exceeding 4 × Pi corresponding to four circuit connection bars. Further, in this circuit pattern land, the connection portion with the circuit connection bar has a minimum width (4 × Pi), and other than that, the pattern width is formed to be substantially the minimum width or more.

したがって、出力端子OUTグループに対応する回路パターンランドは、例えば、Pi=2.5mmの場合には、4×Pi(10mm)以上であり、10A以上の定常電流が十分に許容されることになる。本実施例のDC/DCコンバータCVs12は、その出力電流が、例えば、最大13A程度であり、この場合にはやや不足気味に感じるが、この最高電流が流れる時間は、演出上せいぜい10数秒であるので、実質上何ら問題にならない。 Therefore, the circuit pattern land corresponding to the output terminal OUT group is, for example, 4 × Pi (10 mm) or more when Pi = 2.5 mm, and a steady current of 10 A or more is sufficiently allowed. .. The output current of the DC / DC converter CVs12 of this embodiment is, for example, about 13 A at the maximum, and in this case, it seems to be a little insufficient, but the time for this maximum current to flow is at most 10 seconds in terms of production. Therefore, there is virtually no problem.

回路動作は、図8〈a)に示すDC/DCコンバータCV5sの場合と実質的に同じであり、PWM波のデューティ比が適宜に変化することで、出力電圧は12VとなるようDC/DCコンバータCV12sが機能している。なお、出力電圧を12Vに維持するべく分圧抵抗RV1,RV2が規定されており、図9(a)に示す回路では、12×Rv2/(RV1+RV2)=0.7となるよう分圧抵抗RV1,RV2の抵抗比が設定されている。また、コンバータIC素子CHPの内部クロック周波数Fswなどに基づいて、チョークコイルL3のインダクタンス値を70μH、電解コンデンサC4の静電容量を1400μFにしている。なお、静電容量を1400μFは、円柱形状の電解コンデンサ700μFを、電源基板20の表面側に2個立設して実現されている。 The circuit operation is substantially the same as that of the DC / DC converter CV5s shown in FIG. 8A, and the DC / DC converter has an output voltage of 12 V by appropriately changing the duty ratio of the PWM wave. CV12s are working. The voltage dividing resistors RV1 and RV2 are specified to maintain the output voltage at 12V, and in the circuit shown in FIG. 9A, the voltage dividing resistor RV1 is such that 12 × Rv2 / (RV1 + RV2) = 0.7. , The resistance ratio of RV2 is set. Further, the inductance value of the choke coil L3 is set to 70 μH and the capacitance of the electrolytic capacitor C4 is set to 1400 μF based on the internal clock frequency Fsw of the converter IC element CHP. The capacitance of 1400 μF is realized by erection of two cylindrical electrolytic capacitors 700 μF on the surface side of the power supply board 20.

ところで、DC/DCコンバータ(複合第3回路部品)CV12sの出力は、第2コネクタSubや第3コネクタAuxを経由して、多数の高輝度LEDを駆動電源となり、また、複数の大型演出モータの駆動電圧となる。そして、全ての演出モータの一斉に稼働すると、消費電流が例えば、14A以上まで増加するが、これでは、消費電力が過大に過ぎ、遊技ホールの配電システムの能力を超え兼ねない。 By the way, the output of the DC / DC converter (composite third circuit component) CV12s is driven by a large number of high-brightness LEDs via the second connector Sub and the third connector Aux, and is also used by a plurality of large production motors. It becomes the drive voltage. Then, when all the effect motors are operated at the same time, the current consumption increases to, for example, 14 A or more, but this causes the power consumption to be excessive and may exceed the capacity of the power distribution system of the game hall.

そこで、本実施例では、各演出モータの演出タイミングなどを適宜に割り振ることで、最大時でも限界電流Imax(例えば13A)を超えないよう可動演出やランプ演出の演出内容を設計している。また、第2コネクタSubからの供給電流IS2の最大値Im2と、第3コネクタAuxからの供給電流IA3の最大値Im3を、各々、例えばIm2=8A及びIm3=6Aと規定すると共に、如何なる動作時にも、第2コネクタSubと第3コネクタAuxのDC12V端子から供給される総電流IS2+IA3が、限界電流Imaxを超えないよう、演出内容を設計している。すなわち、IS2<Im2(=例えば8A)、及びIA3<Im3(=例えば6A)であって、且つ、IS2+IA3<Imax(=例えば13A)となるよう、可動演出やランプ演出の演出内容を規定している。 Therefore, in this embodiment, the effect contents of the movable effect and the lamp effect are designed so as not to exceed the limit current I max (for example, 13 A) even at the maximum by appropriately allocating the effect timing of each effect motor. Further, a maximum value I m2 of the supply current I S2 of the second connector Sub, a maximum value I m3 of the supply current I A3 from the third connector Aux, respectively, for example, I m2 = 8A and I m3 = 6A defined while, even when any operation, the total current I S2 + I A3 supplied from the second connector Sub and DC12V terminal of the third connector Aux is, so as not to exceed the limit current I max, we are designing effect contents. That is, the movable effect and the lamp so that IS2 <I m2 (= for example 8A) and I A3 <I m3 (= for example 6A) and IS2 + IA3 <I max (= for example 13A). It stipulates the content of the production.

以上の通りに電流配分を抑制した場合でも、DC/DCコンバータCV12sは、最大で、13Aを出力する必要があるので、チョークコイルL3での無駄な電力消費が問題になる。そこで、図9(b)に示すように、トロイダルコアに、直径1.0mm程度の太径の巻線を必要回数巻回して、インダクタンス値70μH程度を実現している(大型構成(2))。太径の巻線を使用することで、その抵抗値を25mΩ程度に抑制することができ、限界電流Imax(=13A)の流通時での損失電力を4W程度に抑制している。なお、実施例のDC/DCコンバータCV12sは、同期整流方式を採っているが、仮に、非同期整流方式を採った場合には、PWM波の平均デューティ比(τ≒12/35)に対応して、限界電流Imaxの配電時の無駄な消費電力が、Vf=1.0Vとして、1×13×(1−τ)≒1×13×0.66=8.5Wに至ることになる。 Even when the current distribution is suppressed as described above, the DC / DC converter CV12s needs to output 13A at the maximum, so that wasteful power consumption in the choke coil L3 becomes a problem. Therefore, as shown in FIG. 9B, a large-diameter winding having a diameter of about 1.0 mm is wound around the toroidal core a required number of times to realize an inductance value of about 70 μH (large configuration (2)). .. By using a large-diameter winding, the resistance value can be suppressed to about 25 mΩ , and the power loss during distribution of the limit current I max (= 13 A) is suppressed to about 4 W. The DC / DC converter CV12s of the embodiment adopts a synchronous rectification method, but if an asynchronous rectification method is adopted, it corresponds to the average duty ratio of the PWM wave (τ≈12 / 35). The useless power consumption during distribution of the limit current I max reaches 1 × 13 × (1-τ) ≈ 1 × 13 × 0.66 = 8.5 W, assuming Vf = 1.0 V.

続いて、図10に基づいて、非同期整流型のDC/DCコンバータについて説明する。図10(b)は、力率改善出力V2=35Vを降下させてDC12Vを出力するDC/DCコンバータCV12mであり、図10(c)は、DC5Vを出力するDC/DCコンバータCV5mの回路構成を示している。図4に示す通り、DC/DCコンバータCV12mと、DC/DCコンバータCV5mの出力(12V/5V)は、第1コネクタMianを経由して、先ず、払出制御部25に配電され、さらに、払出制御部25から主制御基板21に配電される。 Subsequently, an asynchronous rectifying type DC / DC converter will be described with reference to FIG. FIG. 10B shows a DC / DC converter CV12m that outputs DC12V by lowering the power factor improvement output V2 = 35V, and FIG. 10C shows a circuit configuration of a DC / DC converter CV5m that outputs DC5V. Shown. As shown in FIG. 4, the outputs (12V / 5V) of the DC / DC converter CV12m and the DC / DC converter CV5m are first distributed to the payout control unit 25 via the first connector Mian, and further, the payout control is performed. Power is distributed from the unit 25 to the main control board 21.

そして、DC5Vは、各制御基板25,21の論理素子や、ワンチップマイコンの電源電圧として使用されるが、DC5Vラインの総和電流は0.5A程度で足りる。一方、DC12Vは、払出モータや、可変入賞装置を開閉させるソレノイドなどの駆動電圧として使用されるが、それほどの個数を駆動しないので、1A程度で足りる。 The DC5V is used as a power supply voltage for the logic elements of the control boards 25 and 21 and the one-chip microcomputer, but the total current of the DC5V line is about 0.5A. On the other hand, DC12V is used as a driving voltage for a payout motor, a solenoid for opening and closing a variable winning device, and the like, but since it does not drive so many, about 1A is sufficient.

そこで、本実施例では、上記の点を考慮し、製造コストの抑制や、回路基板の小型化などを実現するべく、非同期整流式のDC/DCコンバータを採用している。また、図10(b)と図10(c)に示す通り、何れのDC/DCコンバータCV12m,CV5mも、図10(d)に示すコンバータIC素子SRG(降圧型スイッチングレギュレータ)を使用して構成されている。なお、コンバータIC素子SRGは、モノリシックICに分類される。 Therefore, in this embodiment, in consideration of the above points, an asynchronous rectifying type DC / DC converter is adopted in order to suppress the manufacturing cost and reduce the size of the circuit board. Further, as shown in FIGS. 10B and 10C, both DC / DC converters CV12m and CV5m are configured by using the converter IC element SRG (step-down switching regulator) shown in FIG. 10D. Has been done. The converter IC element SRG is classified as a monolithic IC.

なお、DC12Vを出力するDC/DCコンバータCV12mの分圧抵抗RA1,RA2の分圧比と、DC5Vを出力するDC/DCコンバータCV12mの分圧抵抗RB1,RB2の分圧比は、各々の出力電圧レベル(12V/5V)に応じて適宜に規定されている。具体的には12×RA2/(RA1+RA2)と、5×RB2/(RB1+RB2)は、何れも、コンバータIC素子SRGの比較基準電圧ReVに一致するよう設定されている。 The voltage dividing ratio of the voltage dividing resistors RA1 and RA2 of the DC / DC converter CV12m that outputs DC12V and the voltage dividing ratio of the voltage dividing resistors RB1 and RB2 of the DC / DC converter CV12m that outputs DC5V are the respective output voltage levels ( It is appropriately specified according to 12V / 5V). Specifically, both 12 × RA2 / (RA1 + RA2) and 5 × RB2 / (RB1 + RB2) are set to match the comparison reference voltage ReV of the converter IC element SRG.

図10(d)に示す通り、コンバータIC素子SRGは、IN端子に受ける電圧に基づいて各部の電圧を生成する電源部PRegと、SS端子に受ける制御信号に基づいてソフトスタート動作や非常停止動作を実現する起動制御部Soft & ON/OFF と、過電流保護部Overcurrent Protectionと、加熱保護部Thermal Protectionと、300KHz程度のパルス波を発振する発振部OSCと、電源投入を検出するリセット部Rsetと、ADJ端子に受ける検出電圧を、比較電圧ReVと対比して誤差電圧を出力する誤差増幅部ErAmpと、発振器OSCの出力と誤差電圧に基づいてPWM波を出力するPWMコンパレータCOMPと、各部から受ける制御信号に基づいて出力トランジスタTRswをON/OFF制御する駆動制御部Latch & Driverと、を有して構成されている。 As shown in FIG. 10D, the converter IC element SRG has a power supply unit PREg that generates a voltage of each part based on the voltage received by the IN terminal, and a soft start operation or an emergency stop operation based on a control signal received by the SS terminal. The start control unit Soft & ON / OFF, the overcurrent protection unit Overcurrent Protection, the heating protection unit Thermal Protection, the oscillation unit OSC that oscillates a pulse wave of about 300 KHz, and the reset unit Rset that detects power-on. , The detection voltage received by the ADJ terminal is received from each unit, the error amplification unit ErAmp that outputs the error voltage in comparison with the comparison voltage ReV, and the PWM comparator COMP that outputs the PWM wave based on the output of the oscillator OSC and the error voltage. It is configured to include a drive control unit Latch & Driver that controls ON / OFF of the output transistor TRsw based on a control signal.

何れのDC/DCコンバータCV12m,CV5mも非同期整流型であり、SW端子とGND端子の間には、チョークコイルL2/L4と平滑コンデンサC3/C5が直列接続される共に、整流ダイオードDcvが接続されている。図10(b)の実線で示す通り、出力トランジスタTRswのON動作時には、チョークコイルL2→平滑コンデンサC3→グランドの経路で、コイル充電電流が流れる。また、図10(b)に破線で示す通り、出力トランジスタTRswのOFF動作時には、チョークコイルL2→平滑コンデンサC3→整流ダイオードDcvの経路で、コイル放電電流が流れる。 Both DC / DC converters CV12m and CV5m are asynchronous rectifier type, and a choke coil L2 / L4 and a smoothing capacitor C3 / C5 are connected in series and a rectifier diode Dcv is connected between the SW terminal and the GND terminal. ing. As shown by the solid line in FIG. 10B, when the output transistor TRsw is ON, the coil charging current flows in the path of the choke coil L2 → the smoothing capacitor C3 → the ground. Further, as shown by the broken line in FIG. 10B, when the output transistor TRsw is OFF-operated, the coil discharge current flows in the path of the choke coil L2 → the smoothing capacitor C3 → the rectifier diode Dcv.

このように、コイル放電電流は、順方向電圧Vfが0.7〜1.0V程度の整流ダイオードに流れるので、コイル平均電流Io、PWM波の平均デューティ比τに対応して、消費電力は、Io×Vf×(1−τ)となる。しかし、DC/DCコンバータCV12mの出力電流が2A、DC/DCコンバータCV5mの出力電流を1Aがであった場合、Vf=1Vとして、消費電力は、各々、2×1×(1−12/35)=1.3Wと、1×1×(1−5/35)=0.86Wであり、それ程ではなく、非同期整流方式を採ることに、特に何の問題もない。 In this way, the coil discharge current flows through the rectifier diode having a forward voltage Vf of about 0.7 to 1.0 V, so that the power consumption is corresponding to the coil average current Io and the average duty ratio τ of the PWM wave. It becomes Io × Vf × (1-τ). However, when the output current of the DC / DC converter CV12m is 2A and the output current of the DC / DC converter CV5m is 1A, Vf = 1V and the power consumption is 2 × 1 × (1-12 / 35, respectively). ) = 1.3W and 1 × 1 × (1-5 / 35) = 0.86W, which is not so much, and there is no particular problem in adopting the asynchronous rectification method.

但し、出力トランジスタTRswに流れる電流(2A/1A)に基づく発熱によって、出力トランジスタTRswの熱暴走のおそれがある。また、過電流保護部Overcurrent Protectionが機能して、DC変換動作が非常停止されるおそれもある。そこで、本実施例では、各コンバータIC素子SRGに、各々、必要な放熱板が取り付けることで、上記の問題を未然防止している。また、DC/DCコンバータCV12m,CV5mを構成するコンバータIC素子は、各々、放熱板を保持した状態で、電源基板20の表面側に立設されている。 However, there is a risk of thermal runaway of the output transistor TRsw due to heat generation based on the current (2A / 1A) flowing through the output transistor TRsw. In addition, the overcurrent protection unit Overcurrent Protection may function to cause an emergency stop of the DC conversion operation. Therefore, in this embodiment, the above problems are prevented by attaching necessary heat sinks to each converter IC element SRG. Further, the converter IC elements constituting the DC / DC converters CV12m and CV5m are erected on the surface side of the power supply board 20 while holding the heat sink, respectively.

先に説明した通り、実施例の場合、DC5Vラインの総和電流は0.5A程度、DC12Vラインの総和電流は1A程度である。しかし、異なる機種では、遊技盤面に配置される可変入賞口や遊技球案内装置の数が異なる場合があり、それら数の増加に対応できるよう、また、必要に応じて派手なランプ演出を実現できるよう、DC/DCコンバータCV12mは、その電流上限値として2A程度が必要であり、また、DC/DCコンバータCV5mは、その電流上限値として1A程度が必要となると考えられる。 As described above, in the case of the embodiment, the total current of the DC5V line is about 0.5A, and the total current of the DC12V line is about 1A. However, different models may have different numbers of variable winning openings and game ball guide devices arranged on the game board surface, and it is possible to cope with the increase in these numbers and to realize a flashy lamp effect as needed. As described above, it is considered that the DC / DC converter CV12m requires about 2A as its current upper limit value, and the DC / DC converter CV5m requires about 1A as its current upper limit value.

しかし、この程度の電流上限値であれば、チョークコイルL2/L4での電力損失は、以下に説明するように問題にならないので、円柱状の中心コアに、やや細径の巻線を必要回数巻回することで、必要なインダクタンス値を実現している(図10(a)の小型構成(1))。なお、小型構成(1)では、漏れ磁束を最小化するべく、中心コアを円筒状の外周コアで囲んでいる。このような構成を採る場合、漏れ磁束を無視すると、中心コアの断面積S、コアの透磁率μ、単位長当たりの巻数Nに対応して、単位長当たりのインダクタンス値は、NμSとなる。 However, if the current upper limit is about this level, the power loss in the choke coils L2 / L4 does not pose a problem as described below. Therefore, a slightly smaller diameter winding is required for the cylindrical center core. The required inductance value is realized by winding (small configuration (1) in FIG. 10 (a)). In the compact configuration (1), the central core is surrounded by a cylindrical outer peripheral core in order to minimize the leakage flux. In the case of adopting such a configuration, ignoring the leakage flux, the inductance value per unit length is N 2 μS corresponding to the cross-sectional area S of the central core, the magnetic permeability μ of the core, and the number of turns N per unit length. Become.

本実施例の小型構成(1)を具体的に説明すると、DC12Vを生成するDC/DCコンバータCV12mに使用するチョークコイルL2は、直径0.3mm程度の巻線を使用してインダクタンス値45μHを実現したが、巻線抵抗は90mΩ程度であった。本実施例では、DC12Vラインの電流上限値を2Aとしているので、チョークコイルL2での電力損失は0.36W程度であり、特に問題がない。なお、平滑コンデンサC3は、具体的には、円柱形状の電解コンデンサ700μFであり、電源基板20の表面側に立設される。 To specifically explain the compact configuration (1) of this embodiment, the choke coil L2 used in the DC / DC converter CV12m that generates DC12V realizes an inductance value of 45μH by using a winding having a diameter of about 0.3mm. However, the winding resistance was about 90 mΩ. In this embodiment, since the current upper limit value of the DC12V line is set to 2A, the power loss in the choke coil L2 is about 0.36W, and there is no particular problem. Specifically, the smoothing capacitor C3 is a cylindrical electrolytic capacitor 700 μF, and is erected on the surface side of the power supply board 20.

一方、DC5Vを生成するDC/DCコンバータCV5mに使用するチョークコイルL4は、直径0.4mm程度の巻線を使用してインダクタンス値20μHを実現したが、巻線抵抗は、40mΩ程度であった。本実施例では、DC5Vラインの電流上限値を1Aとしているので、チョークコイルL4での電力損失は0.04W程度であり、何ら問題にならない。なお、平滑コンデンサC5は、具体的には、円柱形状の電解コンデンサ700μFであり、電源基板20の表面側に立設される。 On the other hand, the choke coil L4 used for the DC / DC converter CV5m that generates DC5V realized an inductance value of 20μH by using a winding having a diameter of about 0.4mm, but the winding resistance was about 40mΩ. In this embodiment, since the current upper limit value of the DC5V line is set to 1A, the power loss in the choke coil L4 is about 0.04W, which does not cause any problem. Specifically, the smoothing capacitor C5 is a cylindrical electrolytic capacitor 700 μF, and is erected on the surface side of the power supply board 20.

以上、電源基板20の回路構成について詳細に説明したが、本実施例では、スルーホールを有する一層基板で構成された電源基板20の表面側に、挿入部品を挿入配置する一方、電源基板20に裏面側に、面実装部品を配置して面実装している。ここで、面実装品には、ツェナーダイオードと整流ダイオードが含まれており、本実施例では、全てのツェナーダイオードと整流ダイオード(複合第1回路部品RECTを除く)は、電源基板20の裏面側に面実装されている。 The circuit configuration of the power supply board 20 has been described in detail above. In this embodiment, the insertion component is inserted and arranged on the surface side of the power supply board 20 composed of a single-layer board having through holes, while the power supply board 20 is inserted. A surface mount component is arranged on the back surface side for surface mounting. Here, the surface mount product includes a Zener diode and a rectifying diode. In this embodiment, all the Zener diodes and the rectifying diode (excluding the composite first circuit component RECT) are on the back side of the power supply board 20. It is surface mounted on the diode.

図11は、電源基板20の裏面側を図示したものであり、面実装部品を中心に構成された各部回路が示されている。先ず、サーミスタTHと、サーミスタをバイパスするスイッチ回路SWとで構成されたサーミスタ回路が、電源基板20の裏面に配置される。また、電圧監視回路WTCHは、実装部品だけで構成されており、全ての部品が、電源基板の裏面に面実装されている。 FIG. 11 shows the back surface side of the power supply board 20, and shows the circuits of each part configured around the surface mount components. First, a thermistor circuit composed of a thermistor TH and a switch circuit SW that bypasses the thermistor is arranged on the back surface of the power supply board 20. Further, the voltage monitoring circuit WTCH is composed of only mounting parts, and all the parts are surface-mounted on the back surface of the power supply board.

次に、通電遮断回路CUTは、フィルムコンデンサCbrと、電流制限抵抗Rと、電解コンデンサCrecを除いて面実装品で構成されて、電源基板20の裏面に配置されている。一方、フィルムコンデンサCbrと、電流制限抵抗Rと、電解コンデンサCrecは、通電遮断回路CUTを構成する面実装品の配置位置に近接する電源基板20の表面側に挿入実装されている。 Next, the energization cutoff circuit CUT is composed of a surface mount product except for the film capacitor Cbr, the current limiting resistor R, and the electrolytic capacitor Crec, and is arranged on the back surface of the power supply board 20. On the other hand, the film capacitor Cbr, the current limiting resistor R, and the electrolytic capacitor Crec are inserted and mounted on the surface side of the power supply board 20 close to the arrangement position of the surface-mounted product constituting the energization cutoff circuit CUT.

同様に、同期整流型のDC/DCコンバータCV12sは、電源基板20の表面側に挿入実装されるチョークコイルL5と電解コンデンサC6を除いて、面実装部品で構成されて、全ての面実装部品が、電源基板20の裏面に面実装されている。また、非同期整流型のDC/DCコンバータCV12m及びCV12mについても、電源基板20の表面側に挿入実装されるチョークコイルL2/L4と電解コンデンサC3/C5を除いて、面実装部品で構成されて、全ての面実装部品は、電源基板20の裏面に面実装されている。 Similarly, the synchronous rectification type DC / DC converter CV12s is composed of surface mount components except for the choke coil L5 and the electrolytic capacitor C6 which are inserted and mounted on the surface side of the power supply board 20, and all the surface mount components are. , It is surface-mounted on the back surface of the power supply board 20. Further, the asynchronous rectification type DC / DC converters CV12m and CV12m are also composed of surface mount components except for the choke coil L2 / L4 and the electrolytic capacitor C3 / C5 which are inserted and mounted on the surface side of the power supply board 20. All surface mount components are surface mounted on the back surface of the power supply board 20.

ところで、この電源基板20の表面側及び裏面側には、そこに流れる電流値に対応したパターン幅のパターンランドが縦横に形成されている。先に説明した通り、本実施例では、パターン幅1mmの導体面に1Aの電流を流しても、損失電力が全く問題にならないよう構成されている。しかし、無駄な消費電力を軽減するには、さらに、第1コネクタMain、第2コネクタSub、第3コネクタAuxにおける接触抵抗や給電路における電力損失についても、その軽減を図る必要がある。 By the way, on the front surface side and the back surface side of the power supply board 20, pattern lands having a pattern width corresponding to the current value flowing therethrough are formed vertically and horizontally. As described above, in this embodiment, even if a current of 1 A is passed through a conductor surface having a pattern width of 1 mm, the power loss is not a problem at all. However, in order to reduce unnecessary power consumption, it is necessary to further reduce the contact resistance in the first connector Main, the second connector Sub, and the third connector Aux and the power loss in the power supply path.

そこで、本実施例では、何れにコネクタ端子も、コネクタ端子、及び、そのコネクタ端子に接続される配線ケーブルは、そこに3A程度の電流を流しても損失電力が問題にならない抵抗値としている。また、3Aを超える程度の大電流を給電する場合には、複数のコネクタ端子で分担して給電することとし、特定のコネクタ端子については、共通するパターンランドに並列接続している。 Therefore, in this embodiment, the connector terminals, the connector terminals, and the wiring cables connected to the connector terminals have resistance values that do not cause a problem of power loss even if a current of about 3 A is passed therethrough. Further, when a large current exceeding 3A is supplied, the power is shared among a plurality of connector terminals, and specific connector terminals are connected in parallel to a common pattern land.

以下、各コネクタについて説明するが、第1と第2のコネクタMain,Subのコネクタ端子は、図12(a)に示す二列構成であり、第3コネクタAuxのコネクタ端子は一列構成である。但し、何れの場合も、コネクタ端子の配列ピッチPiは、図示の左右方向に2.0mm程度に設定されている。 Hereinafter, each connector will be described. The connector terminals of the first and second connectors Main and Sub have a two-row configuration shown in FIG. 12A, and the connector terminals of the third connector Aux have a single-row configuration. However, in any case, the arrangement pitch Pi of the connector terminals is set to about 2.0 mm in the left-right direction shown in the drawing.

以下、便宜上、コネクタ端子の一連番号を付して説明すると、第1コネクタMainと、第2コネクタSubについては、奇数番目と偶数番目のコネクタ端子は、隣接番号のコネクタ端子と2.0mm程度離間した状態で、各々、同一の配列ピッチPiで一列に整列した状態で、電源基板20の表側から挿入実装されている。また、第3コネクタAuxの6本のコネクタ端子も、配列ピッチPiで一列に整列した状態で、電源基板20の表面側から挿入実装されている。 Hereinafter, for convenience, the connector terminals will be described with serial numbers. Regarding the first connector Main and the second connector Sub, the odd-numbered and even-numbered connector terminals are separated from the adjacent numbered connector terminals by about 2.0 mm. In this state, they are inserted and mounted from the front side of the power supply board 20 in a state where they are arranged in a row with the same arrangement pitch Pi. Further, the six connector terminals of the third connector Aux are also inserted and mounted from the front surface side of the power supply board 20 in a state of being arranged in a row at the arrangement pitch Pi.

まず、第1コネクタMainについて説明すると、先に説明した通り、第1コネクタMainを経由して、払出制御基板25に対して、DC5V/DC12V/DC35Vが配電される。そして、本実施例では、DC/DCコンバータCV5m,CV12mの構成と、LEDランプやソレノイドの個数などに基づいて、DC5Vラインには最高2A程度、DC12Vラインには最高1A程度、の電流が流れることがある。なお、DC35Vラインは、発射ソレノイドと球送りソレノイドで使用されるので最高1A程度が流れる。 First, the first connector Main will be described. As described above, DC5V / DC12V / DC35V is distributed to the payout control board 25 via the first connector Main. In this embodiment, a maximum current of about 2 A flows through the DC5V line and a maximum of about 1A flows through the DC12V line based on the configurations of the DC / DC converters CV5m and CV12m and the number of LED lamps and solenoids. There is. Since the DC35V line is used by the firing solenoid and the ball feed solenoid, a maximum of about 1A flows.

そこで、上記の電流量を考慮して、十分な余裕をもって配電するべく、各レベルの電圧を、隣接する偶数端子から選択された各2本のコネクタ端子と、これらに対応する2本の配線ケーブルで配電している。なお、各レベルの電圧は、各1本のコネクタ端子でも足りるが、隣接する一対のコネクタ端子を選択することで(端子間の全体幅3mm程度)、対応する回路パターンランドのパターン幅と対応させることができる。また、そもそも、使用本数が多いほど、伝送損失が減少するので、コネクタ端子や配線ケーブルの使用本数は多ければ多いほど好適である。 Therefore, in consideration of the above amount of current, in order to distribute power with sufficient margin, each level of voltage is divided into two connector terminals selected from adjacent even terminals and two wiring cables corresponding to these. Power is distributed at. The voltage of each level may be one connector terminal each, but by selecting a pair of adjacent connector terminals (total width between terminals is about 3 mm), it corresponds to the pattern width of the corresponding circuit pattern land. be able to. Further, in the first place, the larger the number of used cables, the smaller the transmission loss. Therefore, the larger the number of connector terminals and wiring cables used, the more suitable it is.

そこで、かかる観点から、各電圧レベル(5/12/35)の配電ラインの総本数以上のコネクタ端子を、グランドラインとして使用している。具体的には、図12(b)に示す通りであり、2×3=6本以上となる8本のコネクタ端子(グランド端子)を、電源基板20のグランドライン(回路パターランド)に接続している。 Therefore, from this point of view, connector terminals equal to or greater than the total number of distribution lines at each voltage level (5/12/35) are used as ground lines. Specifically, as shown in FIG. 12B, eight connector terminals (ground terminals) having 2 × 3 = 6 or more are connected to the ground line (circuit putter land) of the power supply board 20. ing.

次に、第2コネクタSubについて説明すると、第2コネクタSubを経由するDC5V/DC12V/DC35Vが配電ラインには、本実施例では、各々、5A/13A/4Aの最大電流が予定されている。そこで、十分な余裕をもって配電するべく、各レベルの電圧を、隣接する偶数端子又は奇数端子から選択された複数本のコネクタ端子と、これらに対応する複数本の配線ケーブルで配電している。なお、DC35Vは、演出インタフェイス基板22を経由して配電され、可動物を往復移動させる電磁ソレノイドの駆動電源となる。 Next, the second connector Sub will be described. In this embodiment, a maximum current of 5A / 13A / 4A is planned for the distribution line having DC5V / DC12V / DC35V passing through the second connector Sub. Therefore, in order to distribute power with a sufficient margin, the voltage of each level is distributed by a plurality of connector terminals selected from adjacent even-numbered terminals or odd-numbered terminals and a plurality of wiring cables corresponding to these. The DC35V is distributed via the effect interface board 22 and serves as a driving power source for an electromagnetic solenoid that reciprocates a moving object.

具体的には、DC5Vの配電ラインは、3番、5番、7番の3本のコネクタ端子と、これらの対応する配線ケーブルで構成されており、DC12Vの配電ラインは、8番、10番、12番、14番の4本のコネクタ端子と、これらの対応する配線ケーブルで構成されている。なお、DC5Vの配電ラインを構成する3本のコネクタ端子は、全て奇数番であって互い隣接している(他のコネクタ端子が介在しない状態)。そして、3本のコネクタ端子の全体幅は5mm程度であり、対応する一の回路パターランドに接続されている。 Specifically, the DC5V distribution line consists of three connector terminals Nos. 3, 5, and 7, and the corresponding wiring cables, and the DC12V distribution line is Nos. 8 and 10. , 12 and 14 connector terminals and their corresponding wiring cables. The three connector terminals constituting the DC5V power distribution line are all odd numbers and are adjacent to each other (a state in which other connector terminals do not intervene). The total width of the three connector terminals is about 5 mm, and they are connected to one corresponding circuit putter land.

DC12Vの配電ラインを構成する4本のコネクタ端子についても同様であり、全て偶数番であって互い隣接している(他のコネクタ端子が介在しない)。そして、4本のコネクタ端子の全体幅は7mm程度であり、対応する一の回路パターランドに接続されている。なお、DC35Vラインを構成する2本のコネクタ端子は、何れも奇数番目として隣接しており(他のコネクタ端子が介在しない)、対応する一の回路パターランドに接続されている。 The same applies to the four connector terminals that make up the DC12V distribution line, all of which are even numbers and are adjacent to each other (no other connector terminals intervene). The total width of the four connector terminals is about 7 mm, and they are connected to one corresponding circuit putter land. The two connector terminals constituting the DC35V line are adjacent to each other as odd numbers (other connector terminals do not intervene), and are connected to one corresponding circuit putter land.

以上の構成に対応して、各電圧レベル(5/12/35)の配電ラインの総本数以上のコネクタ端子を、グランドラインとして使用している。具体的には、図12(c)に示す通りであり、3+5+2=10本以上となる同一10本のコネクタ端子(グランド端子)を、電源基板20のグランドラインに接続している。 Corresponding to the above configuration, connector terminals equal to or greater than the total number of distribution lines at each voltage level (5/12/35) are used as ground lines. Specifically, as shown in FIG. 12 (c), the same 10 connector terminals (ground terminals) having 3 + 5 + 2 = 10 or more are connected to the ground line of the power supply board 20.

一方、第3コネクタAuxは、2列配置でないので、1〜3番までの3本をDC12Vの配電ラインとし、4〜6番の3本をグランドラインとしている。以上の通り、本実施例では、十分な余裕をもって配電するべく、第1コネクタMainを経由するDC5VとDC12Vの配電ラインは、各々、2本以上のコネクタ端子を使用して実現され、第2コネクタSubを経由するDC5VとDC12Vの配電ラインは、各々、3本以上のコネクタ端子を使用して実現されている。また、グランド端子の本数は、配電ラインを構成するコネクタ端子の総数以上(同数を含む)であり、これを言い換えると、グランド端子の本数は、各コネクタのコネクタ端子総数の半数以上である。 On the other hand, since the third connector Aux is not arranged in two rows, the three lines 1 to 3 are used as DC12V power distribution lines, and the three lines 4 to 6 are used as ground lines. As described above, in this embodiment, in order to distribute power with a sufficient margin, the distribution lines of DC5V and DC12V via the first connector Main are realized by using two or more connector terminals, respectively, and the second connector. The DC5V and DC12V distribution lines via the Sub are each realized by using three or more connector terminals. Further, the number of ground terminals is equal to or greater than the total number of connector terminals constituting the distribution line (including the same number), in other words, the number of ground terminals is equal to or more than half of the total number of connector terminals of each connector.

以上、電源基板20について詳細に説明したので、図3(a)に戻って、本遊技機GMの他の構成について説明する。図3(a)に示す通り、演出インタフェイス基板22には、音声プロセッサ27などの音声回路SNDが搭載され、演出制御基板23には、VDP回路52や内蔵CPU回路51などのコンピュータ回路が内蔵された複合チップ50が搭載されている。以下、内蔵CPU回路をCPU回路と略称することがある。 Since the power supply board 20 has been described in detail above, returning to FIG. 3A, other configurations of the gaming machine GM will be described. As shown in FIG. 3A, a voice circuit SND such as a voice processor 27 is mounted on the effect interface board 22, and a computer circuit such as a VDP circuit 52 and a built-in CPU circuit 51 is built in the effect control board 23. The composite chip 50 is mounted. Hereinafter, the built-in CPU circuit may be abbreviated as a CPU circuit.

演出インタフェイス基板22には、電源投入時に、電源電圧の上昇を検知して各種のリセット信号RT3,RT4を生成するリセット回路RST3,RST4が搭載されている。先ず、リセット回路RST3は、電源基板20から配電された直流電圧12Vと5Vに基づいて、リセット信号RT3を生成している。そして、リセット信号RT3は、音声メモリ28だけを電源リセットして、そのまま演出制御基板23に伝送される。 The effect interface board 22 is equipped with reset circuits RST3 and RST4 that detect an increase in the power supply voltage and generate various reset signals RT3 and RT4 when the power is turned on. First, the reset circuit RST3 generates a reset signal RT3 based on the DC voltages 12V and 5V distributed from the power supply board 20. Then, the reset signal RT3 resets the power supply of only the voice memory 28 and is transmitted to the effect control board 23 as it is.

演出制御基板23に伝送されたリセット信号RT3は、図13(a)に示す通り、ANDゲートG1において、WDT(Watch Dog Timer )回路58の出力とAND演算され、システムリセット信号SYSとして、CPU回路51やVDP回路52を電源リセットしている(図13(a)及び図13(d)参照)。 As shown in FIG. 13A, the reset signal RT3 transmitted to the effect control board 23 is AND-calculated with the output of the WDT (Watch Dog Timer) circuit 58 at the AND gate G1, and is used as the system reset signal SYS in the CPU circuit. The power supply of 51 and the VDP circuit 52 is reset (see FIGS. 13 (a) and 13 (d)).

リセット回路RST3が生成するリセット信号RT3は、電源投入後、電源リセット信号として所定時間Lレベルを維持した後、Hレベルに上昇する。しかし、その後、直流電圧12V又は直流電圧5Vの何れか一以上が降下した場合(通常は電源遮断時)には、リセット信号RT3のレベル降下に対応して、システムリセット信号SYSもLレベルに降下するので、演出制御基板23のCPU回路51とVDP回路52は動作停止状態となる。 The reset signal RT3 generated by the reset circuit RST3 rises to the H level after maintaining the L level as the power reset signal for a predetermined time after the power is turned on. However, after that, when any one or more of the DC voltage 12V or the DC voltage 5V drops (usually when the power is cut off), the system reset signal SYS also drops to the L level in response to the level drop of the reset signal RT3. Therefore, the CPU circuit 51 and the VDP circuit 52 of the effect control board 23 are stopped.

このシステムリセット信号SYSは、WDT回路58の出力(正常時にはHレベル)に基づいても変化するので、リセット信号RT3=Hの状態で、プログラム暴走時などに起因して、WDT回路58の出力がLレベルに降下することに対応して、システムリセット信号SYSもLレベルに変化して、CPU回路51やVDP回路52を異常リセットする(図13(d)参照)。 Since this system reset signal SYS also changes based on the output of the WDT circuit 58 (H level at normal times), the output of the WDT circuit 58 is output due to a program runaway or the like when the reset signal RT3 = H. Corresponding to the drop to the L level, the system reset signal SYS also changes to the L level, and the CPU circuit 51 and the VDP circuit 52 are abnormally reset (see FIG. 13D).

一方、リセット回路RST4は、電源基板20から配電された5Vを降下して生成された3.3Vに基づいて、リセット信号RT4を生成している。このリセット信号RT4は、電源投入時の電源リセット信号として、音声プロセッサ27を電源リセットしている。 On the other hand, the reset circuit RST4 generates a reset signal RT4 based on 3.3V generated by dropping 5V distributed from the power supply board 20. This reset signal RT4 power-resets the voice processor 27 as a power-reset signal when the power is turned on.

図示の通り、リセット回路RST4には、演出制御基板23から返送されたシステムリセット信号SYSも供給されているので、CPU回路51やVDP回路52の異常リセット時には、これらの回路の異常リセットに同期して、音声プロセッサ27も異常リセットされる。この結果、音声演出は、画像演出やランプ演出と共に初期状態に戻ることになり、不自然な音声演出が継続するおそれがない。 As shown in the figure, the reset circuit RST4 is also supplied with the system reset signal SYSTEM returned from the effect control board 23, so that when the CPU circuit 51 or the VDP circuit 52 is abnormally reset, it is synchronized with the abnormal reset of these circuits. Then, the voice processor 27 is also abnormally reset. As a result, the audio effect returns to the initial state together with the image effect and the lamp effect, and there is no possibility that the unnatural audio effect will continue.

次に、枠側部材GM1たる払出制御基板25と、盤側部材GM2たる主制御部21には、各々、リセット回路RST1,RST2が搭載されており、電源投入時に電源リセット信号が生成され、各コンピュータ回路が電源リセットされるよう構成されている。 Next, the reset circuits RST1 and RST2 are mounted on the payout control board 25 which is the frame side member GM1 and the main control unit 21 which is the panel side member GM2, respectively, and a power reset signal is generated when the power is turned on. The computer circuit is configured to power reset.

このように、本実施例では、主制御部21と、払出制御部25と、演出インタフェイス基板22に、各々、リセット回路RST1〜RST4を配置しており、システムリセット信号SYSが回路基板間で伝送されることがない。すなわち、システムリセット信号SYSを伝送する配線ケーブルが存在しないので、配線ケーブルに重畳するノイズによって、コンピュータ回路が異常リセットされるおそれが解消される。 As described above, in this embodiment, the reset circuits RST1 to RST4 are arranged on the main control unit 21, the payout control unit 25, and the effect interface board 22, respectively, and the system reset signal SYS is transmitted between the circuit boards. It will not be transmitted. That is, since there is no wiring cable for transmitting the system reset signal SYS, the possibility that the computer circuit is abnormally reset due to the noise superimposed on the wiring cable is eliminated.

但し、主制御部21や払出制御部25に設けられたリセット回路RST1,RST2は、各々ウォッチドッグタイマを内蔵しており、各制御部21,25のCPUから、定時的なクリアパルスを受けない場合には、各CPUは強制的にリセットされる。 However, the reset circuits RST1 and RST2 provided in the main control unit 21 and the payout control unit 25 each have a built-in watchdog timer, and do not receive a regular clear pulse from the CPUs of the control units 21 and 25. In that case, each CPU is forcibly reset.

また、主制御部21には、係員が操作可能な初期化スイッチSWが配置されており、電源投入時、初期化スイッチSWがON操作されたか否かを示すRAMクリア信号CLRが出力されるよう構成されている。このRAMクリア信号CLRは、主制御部21と払出制御部25のワンチップマイコンに伝送され、各制御部21,25のワンチップマイコンの内蔵RAMの全領域を初期設定するか否かを決定している。 Further, an initialization switch SW that can be operated by a staff member is arranged in the main control unit 21, and a RAM clear signal CLR indicating whether or not the initialization switch SW has been turned ON is output when the power is turned on. It is configured. This RAM clear signal CLR is transmitted to the one-chip microcomputers of the main control unit 21 and the payout control unit 25, and determines whether or not to initialize the entire area of the built-in RAM of the one-chip microcomputers of the control units 21 and 25. ing.

また、先に説明した通り、主制御部21及び払出制御部25のワンチップマイコンは、払出制御部25に配置された電源モニタMNTから電源異常信号ABNを受けることによって、停電や営業終了に先立って、必要な終了処理を開始するようになっている。 Further, as described above, the one-chip microcomputers of the main control unit 21 and the payout control unit 25 receive the power supply abnormality signal ABN from the power supply monitor MNT arranged in the payout control unit 25, thereby prior to a power failure or business termination. Then, the necessary termination processing is started.

図3(a)に示す通り、主制御部21は、払出制御部25から、遊技球の払出動作を示す賞球計数信号や、払出動作の異常に係わるステイタス信号CONや、動作開始信号BGNを受信している。ステイタス信号CONには、例えば、補給切れ信号、払出不足エラー信号、下皿満杯信号が含まれる。動作開始信号BGNは、電源投入後、払出制御部25の初期動作が完了したことを主制御部21に通知する信号である。 As shown in FIG. 3A, the main control unit 21 outputs a prize ball counting signal indicating the payout operation of the game ball, a status signal CON related to an abnormality in the payout operation, and an operation start signal BGN from the payout control unit 25. I'm receiving. The status signal CON includes, for example, a supply shortage signal, a payout shortage error signal, and a lower plate full signal. The operation start signal BGN is a signal for notifying the main control unit 21 that the initial operation of the payout control unit 25 is completed after the power is turned on.

また、主制御部21は、遊技盤上の各入賞口16〜18に内蔵された検出スイッチのスイッチ信号を受ける一方、電動式チューリップなどのソレノイド類を駆動している。ソレノイド類や検出スイッチは、主制御部21から配電された電源電圧VB(12V)で動作するよう構成されている。また、図柄始動口15への入賞状態などを示す各スイッチ信号は、電源電圧VB(12V)と電源電圧Vcc(5V)とで動作するインタフェイスICで、TTLレベル又はCMOSレベルのスイッチ信号に変換された上で、主制御部21に伝送される。 Further, the main control unit 21 receives the switch signal of the detection switch built in each of the winning openings 16 to 18 on the game board, while driving solenoids such as electric tulips. The solenoids and the detection switch are configured to operate at the power supply voltage VB (12V) distributed from the main control unit 21. Further, each switch signal indicating the winning state of the symbol start port 15 is converted into a TTL level or CMOS level switch signal by an interface IC operating at a power supply voltage VB (12V) and a power supply voltage Vcc (5V). After that, it is transmitted to the main control unit 21.

先に説明した通り、演出インタフェイス基板22は、集中接続コネクタC2を経由して、電源基板20から各レベルの直流電圧(5V,12V,35V)を受けている(図3(a)及び図13(a)参照)。直流電圧12Vは、デジタルアンプ29の電源電圧であると共に、LEDランプなどの駆動電圧として使用される。また、直流電圧35Vは、遊技枠の適所に配電されて可動物を往復移動させるソレノイドの駆動電圧として使用される。 As described above, the effect interface board 22 receives each level of DC voltage (5V, 12V, 35V) from the power supply board 20 via the centralized connector C2 (FIGS. 3A and 3A). 13 (a)). The DC voltage of 12V is a power supply voltage for the digital amplifier 29 and is used as a driving voltage for LED lamps and the like. Further, the DC voltage 35V is used as a driving voltage of a solenoid that reciprocates a moving object by being distributed at an appropriate position in the game frame.

一方、直流電圧5Vは、演出インタフェイス基板22各所の回路素子の電源電圧として供給されると共に、2つのDC/DCコンバータDC1,DC2に供給されて3.3Vと1.0Vが生成される(図13(a)参照)。生成された直流電圧3.3Vと1.0Vは、各々、I/O(入出力)用と、チップコア用の電源電圧として音声プロセッサ27に供給される。また、直流電圧3.3Vは、リセット回路RST4が生成する電源リセット信号RT4の基礎電圧となる。 On the other hand, the DC voltage of 5V is supplied as the power supply voltage of the circuit elements of the effect interface board 22 and is supplied to the two DC / DC converters DC1 and DC2 to generate 3.3V and 1.0V (). See FIG. 13 (a)). The generated DC voltages of 3.3 V and 1.0 V are supplied to the voice processor 27 as power supply voltages for I / O (input / output) and chip core, respectively. Further, the DC voltage 3.3V becomes the basic voltage of the power supply reset signal RT4 generated by the reset circuit RST4.

演出インタフェイス基板22に配電された直流電圧5Vは、DC/DCコンバータDC1で生成された3.3Vと共に、演出制御基板23に配電される。そして、演出制御基板23に配電された直流電圧3.3Vは、電源電圧として、複合チップ50や、PROM53及びCGROM55に供給される。 The DC voltage of 5V distributed on the effect interface board 22 is distributed to the effect control board 23 together with 3.3V generated by the DC / DC converter DC1. Then, the DC voltage 3.3V distributed on the effect control board 23 is supplied to the composite chip 50, the PROM 53, and the CGROM 55 as a power supply voltage.

図13(a)に示す通り、演出制御基板23には、2つのDC/DCコンバータDC3,DC4が配置されており、各々に供給される直流電圧5Vに基づいて、1.5Vと1.05Vを生成している。ここで、直流電圧1.05Vは、複合チップ50のチップコア用の電源電圧であり、直流電圧1.5Vは、DRAM54とのI/O(入出力)用の電源電圧である。したがって、直流電圧1.5Vは、電源電圧として、DRAM54にも供給される。 As shown in FIG. 13A, two DC / DC converters DC3 and DC4 are arranged on the effect control board 23, and 1.5V and 1.05V are based on the DC voltage 5V supplied to each. Is being generated. Here, the DC voltage of 1.05 V is the power supply voltage for the chip core of the composite chip 50, and the DC voltage of 1.5 V is the power supply voltage for I / O (input / output) with the DRAM 54. Therefore, the DC voltage of 1.5 V is also supplied to the DRAM 54 as a power supply voltage.

図3(a)に示す通り、演出インタフェイス基板22は、主制御部21から制御コマンドCMDとストローブ信号STBとを受けて、演出制御基板23に転送している。より詳細には、図13(a)に示す通りであり、制御コマンドCMDとストローブ信号STBは、入力バッファ40を経由して、演出制御基板23の複合チップ50(CPU回路51)に転送される。ここで、ストローブ信号STBは、受信割込み信号IRQ_CMD であり、演出制御CPU63は、受信割込み信号IRQ_CMD を受けて起動される割込み処理プログラム(割込みハンドラ)に基づいて、制御コマンドCMDを取得している。 As shown in FIG. 3A, the effect interface board 22 receives the control command CMD and the strobe signal STB from the main control unit 21 and transfers them to the effect control board 23. More specifically, as shown in FIG. 13A, the control command CMD and the strobe signal STB are transferred to the composite chip 50 (CPU circuit 51) of the effect control board 23 via the input buffer 40. .. Here, the strobe signal STB is the reception interrupt signal IRQ_CMD, and the effect control CPU 63 acquires the control command CMD based on the interrupt processing program (interrupt handler) that is activated in response to the reception interrupt signal IRQ_CMD.

図13(a)に示す通り、演出インタフェイス基板22の入力バッファ44は、枠中継基板36からチャンスボタン11や音量スイッチVLSWのスイッチ信号を受け、各スイッチ信号を演出制御基板23のCPU回路51に伝送している。具体的には、音量スイッチVLSWの接点位置(0〜7)を示すエンコーダ出力の3bit長と、チャンスボタン11のON/OFF状態を示す1bit長をCPU回路51に伝送している。 As shown in FIG. 13A, the input buffer 44 of the effect interface board 22 receives the switch signals of the chance button 11 and the volume switch VLSW from the frame relay board 36, and outputs each switch signal to the CPU circuit 51 of the effect control board 23. Is transmitting to. Specifically, a 3-bit length of the encoder output indicating the contact position (0 to 7) of the volume switch VLSW and a 1-bit length indicating the ON / OFF state of the chance button 11 are transmitted to the CPU circuit 51.

また、演出インタフェイス基板22には、ランプ駆動基板30やモータ/ランプ駆動基板31が接続されると共に、枠中継基板36を経由して、モータ/ランプ駆動基板37にも接続されている。図示の通り、ランプ駆動基板30に対応して、出力バッファ42が配置され、モータ/ランプ駆動基板31に対応して、入力バッファ43aと出力バッファ43bが配置されている。なお、図4(a)では、便宜上、入力バッファ43aと出力バッファ43bを総称して、入出力バッファ43と記載している。入力バッファ43aは、可動演出体たる役物の現在位置(演出モータM1〜Mnの回転位置)を把握する原点センサの出力SN0〜SNnを受けて、演出制御基板23のCPU回路51に伝送している。 Further, the lamp drive board 30 and the motor / lamp drive board 31 are connected to the effect interface board 22, and are also connected to the motor / lamp drive board 37 via the frame relay board 36. As shown in the figure, the output buffer 42 is arranged corresponding to the lamp drive board 30, and the input buffer 43a and the output buffer 43b are arranged corresponding to the motor / lamp drive board 31. In FIG. 4A, for convenience, the input buffer 43a and the output buffer 43b are collectively referred to as an input / output buffer 43. The input buffer 43a receives the outputs SN0 to SNn of the origin sensor that grasps the current position (rotational position of the effect motors M1 to Mn) of the accessory that is the movable effect body, and transmits the output to the CPU circuit 51 of the effect control board 23. There is.

ランプ駆動基板30、モータ/ランプ駆動基板31、及び、モータ/ランプ駆動基板37には、同種のドライバICが搭載されており、演出インタフェイス基板22は、演出制御基板23から受けるシリアル信号を、各ドライバICに転送している。シリアル信号は、具体的には、ランプ(モータ)駆動信号SDATAとクロック信号CKであり、駆動信号SDATAがクロック同期方式で各ドライバICに伝送され、多数のLEDランプや電飾ランプによるランプ演出や、演出モータM1〜Mnによる役物演出が実行される。 The same type of driver IC is mounted on the lamp drive board 30, the motor / lamp drive board 31, and the motor / lamp drive board 37, and the effect interface board 22 receives a serial signal received from the effect control board 23. It is transferred to each driver IC. Specifically, the serial signal is a lamp (motor) drive signal SDATA and a clock signal CK, and the drive signal SDATA is transmitted to each driver IC by a clock synchronization method, and a large number of LED lamps and illuminated lamps are used for lamp production. , The effect effect is executed by the effect motors M1 to Mn.

本実施例の場合、ランプ演出は、三系統のランプ群CH0〜CH2によって実行されており、モータ/ランプ駆動基板37は、枠中継基板36を経由して、CH0のランプ駆動信号SDATA0を、クロック信号CK0に同期して受けている。なお、シリアル信号として伝送される一連のランプ駆動信号SDATA0は、動作制御信号ENABLE0がアクティブレベルに変化したタイミングで、ドライバICからランプ群CH0に出力されることで一斉に点灯状態が更新される。 In the case of this embodiment, the lamp effect is executed by the three lamp groups CH0 to CH2, and the motor / lamp drive board 37 clocks the lamp drive signal SDATA0 of CH0 via the frame relay board 36. Received in synchronization with signal CK0. The lamp drive signal SDATA0 transmitted as a serial signal is output from the driver IC to the lamp group CH0 at the timing when the operation control signal ENABLE0 changes to the active level, so that the lighting state is updated all at once.

以上の点は、ランプ駆動基板30についても同様であり、ランプ駆動基板30のドライバICは、ランプ群CH1のランプ駆動信号SDATA1を、クロック信号CK1に同期して受け、動作制御信号ENABLE1がアクティブレベルに変化したタイミングで、ランプ群CH1の点灯状態を一斉に更新している。 The above points are the same for the lamp drive board 30, and the driver IC of the lamp drive board 30 receives the lamp drive signal SDATA1 of the lamp group CH1 in synchronization with the clock signal CK1, and the operation control signal ENABLE1 is at the active level. At the timing of the change to, the lighting state of the lamp group CH1 is updated all at once.

一方、モータ/ランプ駆動基板31に搭載されたドライバICは、クロック同期式で伝送されるランプ駆動信号を受けてランプ群CH2を駆動すると共に、クロック同期式で伝送されるモータ駆動信号を受けて、複数のステッピングモータで構成された演出モータ群M1〜Mnを駆動している。なお、ランプ駆動信号とモータ駆動信号は、一連のシリアル信号SDATA2であって、クロック信号CK1に同期してシリアル伝送され、これを受けたドライバICは、動作制御信号ENABLE2がアクティブレベルに変化するタイミングで、ランプ群CH2やモータ群M1〜Mnの駆動状態を更新する。 On the other hand, the driver IC mounted on the motor / lamp drive board 31 receives the lamp drive signal transmitted in the clock synchronous manner to drive the lamp group CH2, and also receives the motor drive signal transmitted in the clock synchronous manner. , Drives effect motor groups M1 to Mn composed of a plurality of stepping motors. The lamp drive signal and the motor drive signal are a series of serial signals SDATA2, which are serially transmitted in synchronization with the clock signal CK1, and the driver IC that receives the serial signal is the timing at which the operation control signal ENABLE2 changes to the active level. Then, the drive states of the lamp group CH2 and the motor groups M1 to Mn are updated.

続いて、音声回路SNDについて説明する。図13(a)に示す通り、演出インタフェイス基板22には、演出制御基板23のCPU回路51(演出制御CPU63)から受ける指示に基づいて音声信号を再生する音声プロセッサ(音声合成回路)27と、再生される音声信号の元データである圧縮音声データなどを記憶する音声メモリ28と、音声プロセッサ27から出力される音声信号を受けるデジタルアンプ29と、が搭載されている。 Subsequently, the voice circuit SND will be described. As shown in FIG. 13A, the effect interface board 22 includes a voice processor (speech synthesis circuit) 27 that reproduces a voice signal based on an instruction received from the CPU circuit 51 (effect control CPU 63) of the effect control board 23. , A voice memory 28 that stores compressed voice data that is the original data of the voice signal to be reproduced, and a digital amplifier 29 that receives a voice signal output from the voice processor 27 are mounted.

音声プロセッサ27は、内部回路の異常動作時に、内部回路の設定値を自動的にデフォルト値(初期値)にリセットするWDT回路と、音声制御レジスタSRGとを内蔵して構成されている。そして、音声プロセッサ27は、演出制御CPU63から音声制御レジスタSRGに受ける動作パラメータ(音声コマンドによる設定値)に基づいて、音声メモリ28をアクセスして、必要な音声信号を再生して出力している。 The voice processor 27 has a built-in WDT circuit that automatically resets the set value of the internal circuit to a default value (initial value) when the internal circuit operates abnormally, and a voice control register SRG. Then, the voice processor 27 accesses the voice memory 28 based on the operation parameter (set value by the voice command) received from the effect control CPU 63 to the voice control register SRG, and reproduces and outputs the necessary voice signal. ..

図13(a)に示す通り、音声プロセッサ27と、音声メモリ28とは、26bit長の音声アドレスバスと、16bit長の音声データバスで接続されている。そのため、音声メモリ28には、1Gbit(=226*16)のデータが記憶可能となる。 As shown in FIG. 13A, the voice processor 27 and the voice memory 28 are connected by a voice address bus having a length of 26 bits and a voice data bus having a length of 16 bits. Therefore, the speech memory 28, data of 1Gbit (= 2 26 * 16) is capable of storing.

音声制御レジスタSRGは、レジスタバンク1〜レジスタバンク6に区分され、各々、00H〜FFHのレジスタ番号で特定される。したがって、所定の設定動作は、レジスタバンクを特定した上で、演出制御CPU63が、所定のレジスタ番号(1バイト長)の音声制御レジスタSRGに、1バイト長の動作パラメータを書込むことで実現される。 The voice control register SRG is divided into register banks 1 to register bank 6, and each is specified by a register number of 00H to FFH. Therefore, the predetermined setting operation is realized by specifying the register bank and then writing the operation parameter of 1 byte length to the voice control register SRG of the predetermined register number (1 byte length) by the effect control CPU 63. To.

本実施例の場合、音声制御レジスタSRGのレジスタ番号(00H〜FFH)は、演出制御CPU63のアドレス空間CS3に対応しており、例えば、レジスタ番号XXHの音声制御レジスタSRGに、動作パラメータYYHを設定する場合には、演出制御CPU63は、アドレス空間CS3のゼロ番地にXXHを書込み、次に、1番地にYYHを書込むことになる。すなわち、演出制御CPU63は、そのデータバスにXXHとYYHを、この順番に書き出すことになる。なお、本明細書において、添え字Hや、0X/0xの接頭記号は、数値が16進数表示であることを示している。 In the case of this embodiment, the register numbers (00H to FFH) of the voice control register SRG correspond to the address space CS3 of the effect control CPU 63. For example, the operation parameter YYH is set in the voice control register SRG of the register number XXH. In this case, the effect control CPU 63 writes XXH to the zero address of the address space CS3, and then writes YYH to the first address. That is, the effect control CPU 63 writes XXH and YYH to the data bus in this order. In the present specification, the subscript H and the prefix of 0X / 0x indicate that the numerical value is displayed in hexadecimal.

また、本明細書において、アドレス空間CS0〜CS7とは、揮発性の有無を含むメモリ種別や、データバス幅(8/16/32ビット)を、各々、規定可能なCPU回路51にとって外部メモリを意味する(内蔵メモリを除く)。このアドレス空間CS0〜CS7は、異なるチップセレクト信号CS0〜CS7で選択され、READ/WRITE アクセス時に機能するREAD/WRITE 制御信号がメモリ種別に対応して最適化できるよう設定可能に構成されている。なお、この設定動作は、バスステートコントローラ66に対して実行される。 Further, in the present specification, the address spaces CS0 to CS7 refer to the external memory for the CPU circuit 51, which can specify the memory type including the presence or absence of volatility and the data bus width (8/16/32 bits), respectively. Means (excluding internal memory). The address spaces CS0 to CS7 are selected by different chip select signals CS0 to CS7, and are configured to be configurable so that the READ / WRITE control signal functioning at the time of READ / WRITE access can be optimized according to the memory type. This setting operation is executed for the bus state controller 66.

図13(e)は、演出制御CPU63による音声レジスタSRGへの設定動作を図示したものであり、2bit長のアドレスバスA1−A0と、1バイト長のデータバスD7−D0の内容が示されている。なお、本実施例では、チップセレクト信号CS3は、アドレス空間CS3をアクセスする場合に、自動的にアクティブになるよう、電源投入時に設定されるが、この点は図15や図21に関して後述する。 FIG. 13E illustrates the setting operation of the effect control CPU 63 in the audio register SRG, and shows the contents of the 2-bit length address bus A1-A0 and the 1-byte length data bus D7-D0. There is. In this embodiment, the chip select signal CS3 is set at power-on so that it is automatically activated when accessing the address space CS3. This point will be described later with reference to FIGS. 15 and 21.

何れにしても、本実施例の場合、音声メモリ28に記憶された圧縮音声データは、13bit長のフレーズ番号NUM(000H〜1FFFH)で特定されるフレーズ(phrase)圧縮データであり、一連の背景音楽の一曲分(BGM)や、ひと纏まりの演出音(予告音)などが、最高8192種類(=213)、各々、フレーズ番号NUMに対応して記憶されている。そして、このフレーズ番号NUMは、演出制御CPU63から音声プロセッサ27の音声制御レジスタSRGに伝送される音声コマンドの設定値(動作パラメータ)によって特定される。 In any case, in the case of this embodiment, the compressed audio data stored in the audio memory 28 is phrase compressed data specified by the phrase number NUM (000H to 1FFFH) having a length of 13 bits, and is a series of backgrounds. one piece of music (BGM) and of music, and directing sound of unity people (notice sound), the highest 8192 type (= 2 13), respectively, are stored in response to the phrase number NUM. The phrase number NUM is specified by a set value (operation parameter) of a voice command transmitted from the effect control CPU 63 to the voice control register SRG of the voice processor 27.

前記の通り、上記の構成を有する音声メモリ28は、リセット信号RT3で電源リセットされ、音声プロセッサ27は、リセット信号RT4で電源リセットされる。図13(c)に示す通り、リセット信号RT4は、電源投入後、所定のアサート期間ASRT(Lレベル区間)を経て、Hレベルに立ち上がるが、本実施例では、その後、音声プロセッサ27の内部回路が自動的に機能して、初期化シーケンス処理が実行されるよう構成されている。なお、この初期化シーケンス処理は、所定の手順で実行される内部動作であり、初期化シーケンス処理の動作中は、演出制御CPU63が音声レジスタSRGをアクセスすることはできない。 As described above, the voice memory 28 having the above configuration is power-reset by the reset signal RT3, and the voice processor 27 is power-reset by the reset signal RT4. As shown in FIG. 13C, the reset signal RT4 rises to the H level after a predetermined assert period ASRT (L level section) after the power is turned on. In this embodiment, after that, the internal circuit of the voice processor 27 rises. Is configured to work automatically to perform the initialization sequence processing. Note that this initialization sequence processing is an internal operation executed by a predetermined procedure, and the effect control CPU 63 cannot access the audio register SRG during the operation of the initialization sequence processing.

そして、内部動作たる初期化シーケンス処理が完了すると、CPU回路51に対する割込み信号IRQ_SND がLレベルに変化し、CPU回路51(演出制御CPU63)は、割込み信号IRQ_SND に基づき割込み処理プログラムを実行する。そして、所定の命令に基づいて割込み信号IRQ_SND がHレベルに戻されるが、その詳細については、図23(c)を参照して更に後述する。 Then, when the initialization sequence processing, which is an internal operation, is completed, the interrupt signal IRQ_SND for the CPU circuit 51 changes to the L level, and the CPU circuit 51 (effect control CPU 63) executes the interrupt processing program based on the interrupt signal IRQ_SND. Then, the interrupt signal IRQ_SND is returned to the H level based on a predetermined instruction, and the details thereof will be described later with reference to FIG. 23 (c).

図13(a)に示す通り、演出制御部23のCPU回路51のデータバスとアドレスバスは、液晶インタフェイス基板24に搭載された時計回路(real time clock )38と演出データメモリ39にも及んでいる。時計回路38は、CPU回路51のアドレスバスの下位4bitと、データバスの下位4bitに接続されており、チップセレクト信号CS4で時計回路38が選択された状態では、CPU回路51が、(4bit長アドレス値を有する)内部レジスタを任意にアクセスできるよう構成されている。 As shown in FIG. 13A, the data bus and address bus of the CPU circuit 51 of the effect control unit 23 extend to the clock circuit (real time clock) 38 and the effect data memory 39 mounted on the liquid crystal interface board 24. I'm sorry. The clock circuit 38 is connected to the lower 4 bits of the address bus of the CPU circuit 51 and the lower 4 bits of the data bus. In the state where the clock circuit 38 is selected by the chip select signal CS4, the CPU circuit 51 has a (4 bit length). It is configured to allow arbitrary access to internal registers (which have an address value).

また、演出データメモリ39は、高速アクセス可能なメモリ素子SRAM(Static Random Access Memory )であって、CPU回路51のアドレスバスの16bitと、データバスの下位16bitに接続されており、チップセレクト信号CS4でチップ選択された状態では、SRAM(演出データメモリ)39に記憶されている遊技実績情報その他が、CPU回路51から適宜にR/Wアクセスされるようになっている。なお、チップセレクト信号CS4で選択されるアドレス空間CS4において、0番地から15番地までは時計回路38に付番されているので、SRAM39では使用しない。 Further, the effect data memory 39 is a high-speed accessible memory element SRAM (Static Random Access Memory), which is connected to 16 bits of the address bus of the CPU circuit 51 and 16 bits of the lower 16 bits of the data bus, and is connected to the chip select signal CS4. In the state where the chip is selected in, the game record information and the like stored in the SRAM (effect data memory) 39 are appropriately R / W accessed from the CPU circuit 51. In the address space CS4 selected by the chip select signal CS4, addresses 0 to 15 are numbered in the clock circuit 38, and are not used in SRAM 39.

時計回路38と演出データメモリ39は、不図示の二次電池で駆動されており、この二次電池は、遊技動作中、電源基板20からの給電電圧によって適宜に充電される。そのため、電源遮断後も、時計回路38の計時動作が継続され、また、演出データメモリ39に記憶された遊技実績情報が、永続的に記憶保持されることになる(不揮発性を付与)。なお、時計回路(RTC)38は、CPU回路51に対して、割込み信号IRQ_RTC を出力可能に構成されている(RTC割込み)。このRTC割込みには、日、曜日、時、分、秒が特定可能なアラーム割込みと、所定時間経過後に起動されるタイマ割込みが存在するが、本実施例では、毎日の営業終了時に、日々の遊技実績情報を更新するアラーム割込みを活用している。 The clock circuit 38 and the effect data memory 39 are driven by a secondary battery (not shown), and the secondary battery is appropriately charged by the power supply voltage from the power supply board 20 during the game operation. Therefore, even after the power is cut off, the timekeeping operation of the clock circuit 38 is continued, and the game performance information stored in the effect data memory 39 is permanently stored and retained (nonvolatileity is imparted). The clock circuit (RTC) 38 is configured to be able to output an interrupt signal IRQ_RTC to the CPU circuit 51 (RTC interrupt). This RTC interrupt includes an alarm interrupt that can specify the day, day of the week, hour, minute, and second, and a timer interrupt that is activated after a predetermined time has elapsed. It utilizes an alarm interrupt that updates game performance information.

図13(a)の右側に示す通り、演出制御基板23には、CPU回路51やVDP回路52を内蔵する複合チップ50と、CPU回路51の制御プログラムを記憶する制御メモリ(PROM)53と、大量のデータを高速にアクセス可能なDRAM(Dynamic Random Access Memory)54と、演出制御に必要な大量のCGデータを記憶するCGROM55と、が搭載されている。 As shown on the right side of FIG. 13A, the effect control board 23 includes a composite chip 50 incorporating a CPU circuit 51 and a VDP circuit 52, a control memory (PROM) 53 for storing a control program of the CPU circuit 51, and a control memory (PROM) 53. A DRAM (Dynamic Random Access Memory) 54 capable of accessing a large amount of data at high speed and a CGROM 55 for storing a large amount of CG data required for effect control are mounted.

図16に関して後述するように、制御メモリ(PROM)53は、本実施例では、チップセレクト信号CS0で選択されるアドレス空間CS0に位置付けされている。また、DDR(Double-Data-Rate 3)で構成されるDRAM(Dynamic Random Access Memory)54は、チップセレクト信号CS5で選択されるアドレス空間CS5に位置付けされている。 As will be described later with respect to FIG. 16, the control memory (PROM) 53 is positioned in the address space CS0 selected by the chip select signal CS0 in this embodiment. Further, the DRAM (Dynamic Random Access Memory) 54 composed of DDR (Double-Data-Rate 3) is positioned in the address space CS5 selected by the chip select signal CS5.

図14(a)は、演出制御部23を構成する複合チップ50について、関連する回路素子も含めて図示した回路ブロック図である。図示の通り、実施例の複合チップ50には、所定時間毎にディスプレイリストDLを発行するCPU回路51と、発行されたディスプレイリストDLに基づいて画像データを生成して表示装置DS1,DS2を駆動するVDP回路52とが内蔵されている。そして、CPU回路51とVDP回路52とは、互いの送受信データを中継するCPUIF回路56を通して接続されている。 FIG. 14A is a circuit block diagram showing the composite chip 50 constituting the effect control unit 23, including related circuit elements. As shown in the figure, the composite chip 50 of the embodiment is driven by a CPU circuit 51 that issues a display list DL at predetermined time intervals and display devices DS1 and DS2 that generate image data based on the issued display list DL. The VDP circuit 52 is built-in. The CPU circuit 51 and the VDP circuit 52 are connected to each other through a CPUIF circuit 56 that relays transmission / reception data to each other.

なお、VDP回路52には、音声プロセッサ27と同等の機能を発揮する音声回路SNDが内蔵されているが、これから説明する実施例では、音声回路SNDを活用していない。但し、VDP回路52に内蔵された音声回路SNDを活用すれば、音声メモリ28や音声プロセッサ27の配置が不要となる。 The VDP circuit 52 has a built-in voice circuit SND that exhibits the same function as the voice processor 27, but the voice circuit SND is not used in the examples described below. However, if the voice circuit SND built in the VDP circuit 52 is utilized, the arrangement of the voice memory 28 and the voice processor 27 becomes unnecessary.

先ず、CPU回路51は、発振器OSC1の発振出力(例えば100/3MHz)をHCLKI 端子に受けて、これを周波数逓倍(例えば8逓倍)して、266.7MHz程度のCPU動作クロックとしている。ここで、発振器OSC1は、スペクトラムス拡散波を出力するよう構成されることで、電波障害/電磁妨害を防止するEMI(Electromagnetic Interference)対策を図っている。 First, the CPU circuit 51 receives the oscillation output (for example, 100/3 MHz) of the oscillator OSC1 at the HCLKI terminal and multiplies it by frequency (for example, 8 times) to obtain a CPU operating clock of about 266.7 MHz. Here, the oscillator OSC1 is configured to output a spectrum diffused wave to take EMI (Electromagnetic Interference) measures to prevent radio interference / electromagnetic interference.

一方、VDP回路52は、発振器OSC2の発振出力(例えば40MHz)をPLLREF端子に受け、PLL(Phase Locked Loop )回路で、適宜に周波数逓倍した上で、VDP回路52のシステムクロック、表示装置用の表示クロック(ドットクロックなど)、及び、外付けDRAM54のDDRクロックとして使用している。すなわち、発振器OSC2の出力は、VDP回路52全体のリファレンスクロックとして機能している。なお、PLL回路の周波数逓倍比は、所定の設定端子への設定値で規定される。 On the other hand, the VDP circuit 52 receives the oscillation output (for example, 40 MHz) of the oscillator OSC2 at the PLL REF terminal, multiplies the frequency appropriately by the PLL (Phase Locked Loop) circuit, and then uses the system clock of the VDP circuit 52 and the display device. It is used as a display clock (dot clock, etc.) and a DDR clock of the external DRAM 54. That is, the output of the oscillator OSC2 functions as a reference clock for the entire VDP circuit 52. The frequency multiplication ratio of the PLL circuit is defined by a set value for a predetermined setting terminal.

そこで、このリファレンスクロックの重要性を考慮して、本実施例では、発振器OSC2をVDP回路52と同じ電源電圧3.3Vで動作させると共に、出力イネーブル端子OEがHレベル(=3.3V)であることを条件に、リファレンスクロックを発振出力するよう構成されている。そして、万一、電源電圧3.3Vが所定レベル以下に低下した場合には、その後、正常な演出動作は望めないので、マスク不能の割込み(NMI)が生じるよう構成されている。 Therefore, in consideration of the importance of this reference clock, in this embodiment, the oscillator OSC2 is operated at the same power supply voltage of 3.3V as the VDP circuit 52, and the output enable terminal OE is at the H level (= 3.3V). It is configured to oscillate and output the reference clock on condition that there is. Then, in the unlikely event that the power supply voltage 3.3V drops below a predetermined level, normal production operation cannot be expected thereafter, so that an unmaskable interrupt (NMI) is configured to occur.

また、複合チップ50には、HBTSL 端子が設けられ、HBTSL 端子の論理レベルに基づいて、電源投入(CPUリセット)後に実行されるブートプログラム(初期設定プログラム)が、CGROM55に記憶されているか(HBTSL =H)、それ以外のメモリに記憶されているか(HBTSL =L)を特定している。図示の通り、この実施例では、HBTSL =Lレベルに設定されており、演出制御CPU63のアドレス空間CS0のゼロ番地が、CGROM以外に割り当てられ、具体的には、アドレス空間CS0は、制御メモリ53に割り当てられている。 Further, the composite chip 50 is provided with an HBTSL terminal, and is the boot program (initial setting program) executed after the power is turned on (CPU reset) stored in the CGROM 55 based on the logic level of the HBTSL terminal (HBTSL)? = H) or whether it is stored in other memory (HBTSL = L) is specified. As shown in the figure, in this embodiment, HBTSL = L level is set, and the zero address of the address space CS0 of the effect control CPU 63 is assigned to other than the CGROM. Specifically, the address space CS0 is the control memory 53. Is assigned to.

一方、HBTSL 端子=Hレベルに設定されている場合(破線参照)は、演出制御CPU63のアドレス空間CS0のゼロ番地が、CGROM55に割り当てられる。この場合は、CGROM55のメモリ種別と、バス幅(64/32/16bit)とが、2bit長のHBTBWD端子と、4bit長のHBTRMSL 端子への入力値に基づいて各々特定されようになっている。 On the other hand, when the HBTSL terminal = H level is set (see the broken line), the zero address of the address space CS0 of the effect control CPU 63 is assigned to the CGROM 55. In this case, the memory type of the CGROM 55 and the bus width (64/32/16 bit) are specified based on the input values to the HBTBWD terminal having a 2-bit length and the HBTRMSL terminal having a 4-bit length.

続いて、CPU回路51とVDP回路52について、互いの送受信データを中継するCPUIF回路56について説明する。図14(a)に示す通り、CPUIF回路56には、制御プログラムや必要な制御データを不揮発的に記憶する制御メモリ(PROM)53と、2Mバイト程度の記憶容量を有するワークメモリ(RAM)57とが接続され、各々、CPU回路51からアクセス可能に構成されている。先に説明した通り、制御メモリ(PROM)53は、チップセレクト信号CS0で選択されるアドレス空間CS0に位置付けられ、ワークメモリ(RAM)57は、チップセレクト信号CS6で選択されるアドレス空間CS6に位置付けられている。 Subsequently, the CPU IF circuit 56 that relays transmission / reception data between the CPU circuit 51 and the VDP circuit 52 will be described. As shown in FIG. 14A, the CPUIF circuit 56 includes a control memory (PROM) 53 that non-volatilely stores a control program and necessary control data, and a work memory (RAM) 57 having a storage capacity of about 2 Mbytes. Are connected to each other and are configured to be accessible from the CPU circuit 51. As described above, the control memory (PROM) 53 is positioned in the address space CS0 selected by the chip select signal CS0, and the work memory (RAM) 57 is positioned in the address space CS6 selected by the chip select signal CS6. Has been done.

このワークメモリ(RAM)57には、表示装置DS1,DS2の各一フレームを特定する一連の指示コマンドが記載されたディスプレイリストDLを、一次的に記憶するDLバッファBUFが確保されている。本実施例の場合、一連の指示コマンドには、CGROM55から画像素材(テクスチャ)を読み出してデコード(展開)するためのTXLOADコマンドなどのテクスチャロード系コマンドと、デコード(展開)先のVRAM領域(インデックス空間)を予め特定するなどの機能を有するSETINDEXコマンドなどのテクスチャ設定系コマンドと、デコード(展開)後の画像素材を仮想描画空間の所定位置に配置するためのSPRITEコマンドなどのプリミティブ描画系コマンドと、描画系コマンドによって仮想描画空間に描画された画像のうち、実際に表示装置に描画する描画領域を特定するためのSETDAVR コマンドやSETDAVF コマンドなどの環境設定コマンドと、インデックス空間を管理するインデックステーブルIDXTBLに関するインデックステーブル制御系コマンド(WRIDXTBL)が含まれる。 In the work memory (RAM) 57, a DL buffer BUF that temporarily stores a display list DL in which a series of instruction commands for specifying each frame of the display devices DS1 and DS2 are described is secured. In the case of this embodiment, a series of instruction commands include a texture load command such as a TXLOAD command for reading an image material (texture) from the CGROM 55 and decoding (expanding) it, and a VRAM area (index) of the decoding (expanding) destination. Texture setting commands such as the SET INDEX command, which have functions such as specifying the space in advance, and primitive drawing commands such as the SPRITE command for arranging the decoded (expanded) image material at a predetermined position in the virtual drawing space. , Of the images drawn in the virtual drawing space by drawing commands, environment setting commands such as the SETDAVR command and SETDAVF command for specifying the drawing area actually drawn on the display device, and the index table IDXTBL that manages the index space. Contains index table control commands (WRIDXTBL) for.

なお、図18(c)には、仮想描画空間(水平X方向±8192:垂直Y方向±8192)と、仮想描画空間の中で任意に設定可能な描画領域と、表示装置DS1,DS2に出力する画像データを一次保存するフレームバッファFBa,FBbにおける実描画領域と、の関係が図示されている。 Note that FIG. 18C shows a virtual drawing space (horizontal X direction ± 8192: vertical Y direction ± 8192), a drawing area that can be arbitrarily set in the virtual drawing space, and outputs to the display devices DS1 and DS2. The relationship with the actual drawing area in the frame buffers FBa and FBb for primary storage of the image data to be performed is shown.

次に、CPU回路51は、汎用のワンチップマイコンと同等の性能を有する回路であり、制御メモリ53の制御プログラムに基づき画像演出を統括的に制御する演出制御CPU63と、プログラムが暴走状態になるとCPUを強制リセットするウォッチドッグタイマ(WDT)と、16kバイト程度の記憶容量を有してCPUの作業領域として使用される内蔵RAM59と、CPU63を経由しないでデータ転送を実現するDMAC(Direct Memory Access Controller )60と、複数の入力ポートSi及び出力ポートSoを有するシリアル入出力ポート(SIO)61と、複数の入力ポートPi及び出力ポートPoを有するパラレル入出力ポート(PIO)62と、前記各部の動作を制御するべく設定値が設定される動作制御レジスタREGなどを有して構成されている。但し、外付けのWDT回路58を設けた本実施例では、CPU回路51に内蔵されたウォッチドッグタイマ(WDT)を活用していない。 Next, the CPU circuit 51 is a circuit having the same performance as a general-purpose one-chip microcomputer, and when the effect control CPU 63 that comprehensively controls the image effect based on the control program of the control memory 53 and the program go into a runaway state. A watchdog timer (WDT) that forcibly resets the CPU, a built-in RAM 59 that has a storage capacity of about 16 kbytes and is used as a work area of the CPU, and a DMAC (Direct Memory Access) that realizes data transfer without going through the CPU 63. Controller) 60, a serial input / output port (SIO) 61 having a plurality of input ports Si and an output port So, a parallel input / output port (PIO) 62 having a plurality of input ports Pi and an output port Po, and each of the above parts. It is configured to have an operation control register REG or the like in which a set value is set to control the operation. However, in this embodiment provided with the external WDT circuit 58, the watchdog timer (WDT) built in the CPU circuit 51 is not utilized.

なお、本明細書では、便宜上、入出力ポートとの表現を使用するが、演出制御部23において、入出力ポートには、独立して動作する入力ポートと出力ポートとが含まれている。この点は、以下に説明する入出力回路64pや入出力回路64sについても同様である。 In this specification, the term “input / output port” is used for convenience, but in the effect control unit 23, the input / output port includes an input port and an output port that operate independently. This point is the same for the input / output circuit 64p and the input / output circuit 64s described below.

パラレル入出力ポート62は、入出力回路64pを通して外部機器(演出インタフェイス基板22)に接続されており、演出制御CPU63は、入力回路64pを経由して、音量スイッチVLSWのエンコーダ出力3bitと、チャンスボタン11のスイッチ信号と、制御コマンドCMDと、割込み信号STBと、を受信するようになっている。エンコーダ出力3bitと、スイッチ信号1bitは、入出力回路64pを経由して、パラレル入出力ポート(PIO)62に供給されている。 The parallel input / output port 62 is connected to an external device (effect interface board 22) through the input / output circuit 64p, and the production control CPU 63 has a chance with the encoder output 3 bits of the volume switch VLSW via the input circuit 64p. The switch signal of the button 11, the control command CMD, and the interrupt signal STB are received. The encoder output 3 bits and the switch signal 1 bit are supplied to the parallel input / output port (PIO) 62 via the input / output circuit 64p.

同様に、受信した制御コマンドCMDは、入出力回路64pを経由して、パラレル入出力ポート(PIO)62に供給されている。また、ストローブ信号STBは、入出力回路64pを経由して、演出制御CPU63の割込み端子に供給されることで、受信割込み処理を起動させている。したがって、受信割込み処理に基づいて、制御コマンドCMDを把握した演出制御CPU63は、演出抽選などを経て、この制御コマンドCMDに対応する音声演出、ランプ演出、モータ演出、及び画像演出を統一的に制御することになる。 Similarly, the received control command CMD is supplied to the parallel input / output port (PIO) 62 via the input / output circuit 64p. Further, the strobe signal STB is supplied to the interrupt terminal of the effect control CPU 63 via the input / output circuit 64p to activate the reception interrupt processing. Therefore, the effect control CPU 63 that grasps the control command CMD based on the reception interrupt process uniformly controls the sound effect, the lamp effect, the motor effect, and the image effect corresponding to the control command CMD through the effect lottery and the like. Will be done.

特に限定されないが、本実施例では、ランプ演出とモータ演出のために、VDP回路52のSMC部(Serial Management Controller)78を使用している。SMC部78は、LEDコントローラとMotorコントローラと、を内蔵した複合コントローラであり、クロック同期方式でシリアル信号を出力できるよう構成されている。また、Motorコントローラは、所定の制御レジスタ70への設定値に基づき、任意のタイミングでラッチパルスを出力可能に構成され、また、クロック同期方式でシリアル信号を入力可能に構成されている。 Although not particularly limited, in this embodiment, the SMC unit (Serial Management Controller) 78 of the VDP circuit 52 is used for the lamp effect and the motor effect. The SMC unit 78 is a composite controller incorporating an LED controller and a Motor controller, and is configured to be able to output a serial signal by a clock synchronization method. Further, the Motor controller is configured to be able to output a latch pulse at an arbitrary timing based on a set value in a predetermined control register 70, and is configured to be able to input a serial signal by a clock synchronization method.

そこで、本実施例では、クロック信号に同期してモータ駆動信号やLED駆動信号を、SMC部78から出力させる一方、適宜なタイミングで、ラッチパルスを、動作制御信号ENABLEとして出力するようにしている。また、演出モータ群M1〜Mnからの原点センサ信号SN0〜SNnをクロック同期方式でシリアル入力するよう構成されている。 Therefore, in this embodiment, the motor drive signal and the LED drive signal are output from the SMC unit 78 in synchronization with the clock signal, while the latch pulse is output as the operation control signal ENABLE at an appropriate timing. .. Further, the origin sensor signals SN0 to SNn from the effect motor groups M1 to Mn are serially input by a clock synchronization method.

図13(a)に関して説明した通り、クロック信号CK0〜CK2、駆動信号SDATA0〜SDATA2、及び、動作制御信号ENABLE0〜ENABLE2は、出力バッファ41〜43を経由して、所定の駆動基板30,31,37に伝送される。また、原点センサ信号SN0〜SNnは、モータ/ランプ駆動基板31から入出力バッファ43を経由して、SMC部78にシリアル入力される。 As described with respect to FIG. 13A, the clock signals CK0 to CK2, the drive signals SDATA0 to SDATA2, and the operation control signals ENABLE0 to ENABLE2 pass through the output buffers 41 to 43, and the predetermined drive boards 30, 31, It is transmitted to 37. Further, the origin sensor signals SN0 to SNn are serially input to the SMC unit 78 from the motor / lamp drive board 31 via the input / output buffer 43.

但し、本実施例において、SMC部78を使用することは必須ではない。すなわち、CPU回路51には、汎用のシリアル入出力ポートSIO61が内蔵されているので、これらを使用して、ランプ演出とモータ演出を実行することもできる。 However, it is not essential to use the SMC unit 78 in this embodiment. That is, since the CPU circuit 51 has a built-in general-purpose serial input / output port SIO61, it is also possible to execute the lamp effect and the motor effect by using these.

具体的には、図14(a)の破線に示す通りであり、破線で示す構成では、シリアル入出力ポートSIO61に内部接続されている入出力回路64sを経由して、クロック信号CK0〜CK2、駆動信号SDATA0〜SDATA2が出力され、入出力回路64pを経由して動作制御信号ENABLE0〜ENABLE2が出力される。なお、便宜上、入出力ポートや入出力回路と表現するが、実際に機能するのは、出力ポートや出力回路である。 Specifically, as shown by the broken line in FIG. 14A, in the configuration shown by the broken line, the clock signals CK0 to CK2, via the input / output circuit 64s internally connected to the serial input / output port SIO61, The drive signals SDATA0 to SDATA2 are output, and the operation control signals ENABLE0 to ENABLE2 are output via the input / output circuit 64p. For convenience, it is expressed as an input / output port or an input / output circuit, but what actually functions is an output port or an output circuit.

ここで、シリアル出力ポートSOは、16段のFIFOレジスタを内蔵して構成されている。そして、DMAC回路60は、演出制御CPU63から動作開始指示(図26(b)ST18参照)を受けて起動し、ランプ/モータ駆動テーブル(図26(b)参照)から、必要な駆動テータを順番に読み出し、シリアル出力ポートSOのFIFOレジスタにDMA転送するよう構成されている。FIFOレジスタに蓄積された駆動データは、クロック同期方式でシリアル出力ポートSOからシリアル出力される。なお、DMAC回路には、複数(例えば7)のDMAチャネルが存在するが、優先度に劣る第3のDMAチャネルでランプ駆動データをDMA転送し、最優先度の第1のDMAチャネルでモータ駆動データをDMA転送するよう構成されている。 Here, the serial output port SO is configured to incorporate a 16-stage FIFO register. Then, the DMAC circuit 60 is activated in response to an operation start instruction (see ST18 in FIG. 26 (b)) from the effect control CPU 63, and the necessary drive data are ordered from the lamp / motor drive table (see FIG. 26 (b)). It is configured to read into the FIFO and transfer it to the FIFO register of the serial output port SO by DMA. The drive data stored in the FIFO register is serially output from the serial output port SO by the clock synchronization method. Although there are a plurality of (for example, 7) DMA channels in the DMAC circuit, the lamp drive data is DMA-transferred by the third DMA channel, which is inferior in priority, and the motor is driven by the first DMA channel, which has the highest priority. It is configured to transfer data by DMA.

CPU回路51に内蔵された動作制御レジスタREGは、レジス番号(アドレス値)が0xFF400000以降に付番された8bit、16bit、又は32bit長のレジスタであり、演出制御CPU63から適宜にWRITE/READアクセス可能に構成されている(図16参照)。そのためノイズなどの影響で、動作制御レジスタREGに、不合理な値に設定される可能性がある。 The operation control register REG built in the CPU circuit 51 is an 8-bit, 16-bit, or 32-bit length register whose register number (address value) is numbered after 0xFF400000, and can be appropriately WRITE / READ accessible from the effect control CPU 63. (See FIG. 16). Therefore, there is a possibility that the operation control register REG is set to an unreasonable value due to the influence of noise or the like.

但し、例えば、意図的に無限ループ処理を実行させて外付けのWDT回路58を起動させることで、複合チップ50を異常リセットすることができる。この場合、動作制御レジスタREGの値が、電源投入後と同じデフォルト値(初期値)に戻され、且つ、VDP回路52についても、VDPレジスタRGijの値が、デフォルト値(初期値)に戻されることで異常状態が解消される。 However, for example, the composite chip 50 can be abnormally reset by intentionally executing an infinite loop process to activate the external WDT circuit 58. In this case, the value of the operation control register REG is returned to the same default value (initial value) as after the power is turned on, and the value of the VDP register RGij is also returned to the default value (initial value) of the VDP circuit 52. This will eliminate the abnormal condition.

図13(b)は、このリセット動作に関連する回路構成であって、本実施例に特徴的なリセット機構を説明する図面である。なお、本明細書において、RGijと表記するVDPレジスタは、CPU回路51に内蔵された動作制御レジスタREGではなく、VDP回路52の内部動作を制御する制御レジスタ群70(図16参照)の何れかを意味する。また、図13(b)に示すシステム制御回路520とは、VDPレジスタRGij(図16の制御レジスタ群70の何れか)への設定値に基づいて機能するVDP回路52の内部制御回路を意味する(図14(a)参照)。なお、VDPレジスタRGijは、演出制御CPU63のアドレスマップにおいて、チップセレクト信号CS7で選択されるアドレス空間CS7に位置付けられる。 FIG. 13B is a drawing illustrating a circuit configuration related to this reset operation and a reset mechanism characteristic of the present embodiment. In this specification, the VDP register referred to as RGij is not the operation control register REG built in the CPU circuit 51, but any of the control register group 70 (see FIG. 16) that controls the internal operation of the VDP circuit 52. Means. Further, the system control circuit 520 shown in FIG. 13B means an internal control circuit of the VDP circuit 52 that functions based on a set value in the VDP register RGij (any of the control register group 70 in FIG. 16). (See FIG. 14 (a)). The VDP register RGij is positioned in the address space CS7 selected by the chip select signal CS7 in the address map of the effect control CPU 63.

以上を踏まえてリセット機構について説明すると、図13(b)に示す通り、複合チップ50は、論理反転されたシステムリセット信号SYSバーを受ける3個のORゲートG2〜G4を経由して、内部回路がリセット可能に構成されている。但し、本実施例では、破線で示すように、内蔵WDTを有効化しないので、ORゲートG2の入端子と出力端子は、直結状態となる。 Explaining the reset mechanism based on the above, as shown in FIG. 13B, the composite chip 50 has an internal circuit via three OR gates G2 to G4 that receive the logically inverted system reset signal SYS bar. Is configured to be resettable. However, in this embodiment, as shown by the broken line, the built-in WDT is not enabled, so that the input terminal and the output terminal of the OR gate G2 are directly connected.

何れにしても、CPU回路51とVDP回路52の間に、パターンチェック回路CHKが設けられ、パターンチェック回路CHKは、パラレル入出力ポート(PIO)62から、所定のキーワード列(リセット用の暗号列)を受けることを条件に、リセット信号RSTを出力するよう構成されている。 In any case, a pattern check circuit CHK is provided between the CPU circuit 51 and the VDP circuit 52, and the pattern check circuit CHK is a predetermined keyword string (a code string for resetting) from the parallel input / output port (PIO) 62. ) Is received, and the reset signal RST is output.

そして、複合チップ50の内部回路は、(1)CPU回路51と、(2)VDP回路52の表示回路74と、(3)VDP回路52における表示回路以外とに三分されて、各々、ORゲートG2〜G4から第1リセット経路〜第3リセット経路のリセット信号を受けるよう構成されている。 The internal circuit of the composite chip 50 is divided into (1) a CPU circuit 51, (2) a display circuit 74 of the VDP circuit 52, and (3) a display circuit other than the display circuit of the VDP circuit 52. It is configured to receive the reset signals of the first reset path to the third reset path from the gates G2 to G4.

先ず、入出力端子が直結状態のORゲートG2は、第1リセット経路に関連しており、システムリセット信号SYSバーに基づき、CPU回路51の全体をシステムリセットされるように構成されている。また、ORゲートG3は、第2リセット経路に関連しており、システムリセット信号SYSバーと、パターンチェック回路CHKからのリセット信号RSTとを受けて、OR論理に基づき、VDP回路52全体をリセット可能に構成されている。 First, the OR gate G2 in which the input / output terminals are directly connected is related to the first reset path, and is configured to system reset the entire CPU circuit 51 based on the system reset signal SYS bar. Further, the OR gate G3 is related to the second reset path, and can reset the entire VDP circuit 52 based on the OR logic by receiving the system reset signal SYS bar and the reset signal RST from the pattern check circuit CHK. It is configured in.

この第2リセット経路は、電源投入時の電源リセット動作だけでなく、所定の異常を検出した演出制御CPU63が、VDP回路52の全体を異常リセットして初期状態に戻す用途で使用される。具体的には、VDP回路52の内部動作を示す所定のステイタスレジスタRGijに基づき、重大な異常が発生していると判断される場合には、パターンチェック回路CHKからリセット信号RSTを発生させることで、VDP回路52の全体を異常リセットしている。なお、表示回路74は、ORゲートG4を経由して、第2リセット経路→第3リセット経路で異常リセットされる。 This second reset path is used not only for the power reset operation when the power is turned on, but also for the effect control CPU 63 that has detected a predetermined abnormality to reset the entire VDP circuit 52 to the initial state. Specifically, when it is determined that a serious abnormality has occurred based on the predetermined status register RGij indicating the internal operation of the VDP circuit 52, a reset signal RST is generated from the pattern check circuit CHK. , The entire VDP circuit 52 is abnormally reset. The display circuit 74 is abnormally reset in the second reset path → the third reset path via the OR gate G4.

一方、VDP回路52に内蔵された内部回路は、第4リセット経路で、必要時に個々的にリセットすることも可能に構成されている。個々的にリセット可能な内部回路には、図14(a)に示すインデックステーブルIDXTBL、データ転送回路72、プリローダ73、表示回路74、描画回路76、SMC回路78、及び、音声回路SNDや、図19に示すICM回路が含まれている。 On the other hand, the internal circuit built in the VDP circuit 52 is configured to be individually reset when necessary in the fourth reset path. The internal circuits that can be reset individually include the index table IDXTBL shown in FIG. 14A, the data transfer circuit 72, the preloader 73, the display circuit 74, the drawing circuit 76, the SMC circuit 78, the audio circuit SND, and the drawings. The ICM circuit shown in 19 is included.

個別的なリセット動作を実現する手法は、図13(b)の下部に記載の通りであり、例えば、表示回路74は、所定のVDPレジスタRGij(システムコマンドレジスタ)に、第1リセット値を書き込むことで、第4リセット経路4A→第3リセット経路を経てリセットされる。 The method for realizing the individual reset operation is as described in the lower part of FIG. 13B. For example, the display circuit 74 writes the first reset value to a predetermined VDP register RGij (system command register). As a result, the system is reset via the fourth reset path 4A → the third reset path.

また、VDP回路52の各内部回路(72,73,74,76,SND,・・・)は、(1)第1のVDPレジスタRGij(リセットRQレジスタ)に、対象回路を特定する設定値を書き込んだ後、(2)所定のVDPレジスタRGij(システムコマンドレジスタ)に、第2リセット値を書き込むことで、個々的にリセットされる(第4リセット経路4B)。なお、この実施例では使用しないが、音声回路SNDは、第4リセット経路4Bによるリセットだけでなく、所定のVDPレジスタ(回路設定コマンドレジスタ)に、リセット値を書き込むことでもリセット可能である(第4リセット経路4C)。 Further, each internal circuit (72, 73, 74, 76, SND, ...) Of the VDP circuit 52 sets (1) a set value for specifying the target circuit in the first VDP register RGij (reset RQ register). After writing, (2) the second reset value is written to the predetermined VDP register RGij (system command register), so that the reset values are individually reset (fourth reset path 4B). Although not used in this embodiment, the audio circuit SND can be reset not only by resetting by the fourth reset path 4B but also by writing a reset value to a predetermined VDP register (circuit setting command register) (No. 1). 4 Reset path 4C).

本実施例は、上記の構成を有するので、電源投入時やプログラム暴走時に、VDP回路52全体が自動的に初期状態に戻るだけでなく、必要に応じて、各部を初期状態に戻して異常事態の回復を図ることができる。例えば、一定期間、内蔵VRAM71に対してREAD/WRITE アクセスがない描画回路76のフリーズ時には、第4リセット経路4Bを経由して描画回路76が個別的に初期化される(図26(d)のST16a参照)。プリローダ73やデータ転送回路72についても、ほぼ同様であり、所定の異常時には、第4リセット経路4Bを経由してプリローダ73が初期化され(図25のST27参照)、第4リセット経路4Bを経由してデータ転送回路72が初期化される(図20や図25のST27参照)。 Since this embodiment has the above configuration, not only the entire VDP circuit 52 automatically returns to the initial state when the power is turned on or the program runs out of control, but also each part is returned to the initial state as necessary to cause an abnormal situation. Can be recovered. For example, when the drawing circuit 76 has no READ / WRITE access to the built-in VRAM 71 for a certain period of time, the drawing circuit 76 is individually initialized via the fourth reset path 4B (FIG. 26 (d)). See ST16a). The same applies to the preloader 73 and the data transfer circuit 72. In the event of a predetermined abnormality, the preloader 73 is initialized via the fourth reset path 4B (see ST27 in FIG. 25) and via the fourth reset path 4B. Then, the data transfer circuit 72 is initialized (see ST27 in FIGS. 20 and 25).

また、表示回路74については、1/60秒毎の表示タイミングに、表示データの生成が間に合わないアンダーラン(Underrun)異常が続くような場合に、第4リセット経路4A又は第4リセット経路4Bを経由して、表示回路74が個別的に初期化される(図26のST10c参照)。 Further, regarding the display circuit 74, when the underrun abnormality in which the display data is not generated in time continues at the display timing every 1/60 second, the fourth reset path 4A or the fourth reset path 4B is used. Via this, the display circuit 74 is individually initialized (see ST10c in FIG. 26).

以上、本実施例に特徴的なリセット機構について説明したが、何れかのリセット経路1〜4が機能して、複合チップ50の内部回路がリセットされると、その内部回路に対応するVDPレジスタRGijの設定値は、電源投入後と同じデフォルト値に戻る。 The reset mechanism characteristic of this embodiment has been described above. However, when any of the reset paths 1 to 4 functions and the internal circuit of the composite chip 50 is reset, the VDP register RGIj corresponding to the internal circuit is reset. The set value of is returned to the same default value as after the power was turned on.

続いて、CPU回路51の内部構成に戻って、特徴的な回路構成の説明を続ける。図15は、CPU回路51の内部構成をやや詳細に示すブロック図である。CPU回路51は、先に説明した内蔵RAM59、DMAC回路60、SIO61、PIO62、WDT以外にも、多くの特徴的な回路を含んで構成されている。 Subsequently, the process returns to the internal configuration of the CPU circuit 51, and the description of the characteristic circuit configuration will be continued. FIG. 15 is a block diagram showing the internal configuration of the CPU circuit 51 in a little more detail. The CPU circuit 51 includes many characteristic circuits other than the built-in RAM 59, the DMAC circuit 60, the SIO61, the PIO62, and the WDT described above.

先ず第1に、CPU回路51は、命令用のCPUフェッチバスと、データ用のCPUメモリアクセスバスとを別々に有してハーバード・アーキテクチャを実現している。そのため、CPUコア(演出制御CPU)63が命令をメモリから読むフェッチ動作と、メモリアクセス動作とが競合せず、フェッチ動作を連続させることで高速処理を実現している。 First, the CPU circuit 51 realizes a Harvard architecture by separately having a CPU fetch bus for instructions and a CPU memory access bus for data. Therefore, the fetch operation in which the CPU core (effect control CPU) 63 reads the instruction from the memory does not conflict with the memory access operation, and high-speed processing is realized by continuing the fetch operation.

また、CPUコア63は、複数個(例えば15個)のレジスタバンクRB0〜RB14を有して構成されており、その使用の有無を選択できるよう構成されている。そして、レジスタバンクRBiの使用を許可した動作状態では、割込み処理の開始時に、CPUの内蔵レジスタ(例えば19個)のレジスタ値(各32bit長)が、空き状態のレジスタバンクRBiに自動的に退避される。 Further, the CPU core 63 is configured to have a plurality of (for example, 15) register banks RB0 to RB14, and is configured to be able to select whether or not to use the register banks RB0 to RB14. Then, in the operating state in which the use of the register bank RBi is permitted, the register values (each 32 bit length) of the CPU's built-in registers (for example, 19) are automatically saved to the free register bank RBi at the start of interrupt processing. Will be done.

また、割込み処理の終了時に所定の復帰命令を実行すると、例えば19個の退避データが、対応する内蔵レジスタに自動的に復帰される。したがって、通常の構成のように、割込み処理の開始時にPUSH命令を19回実行し、割込み処理の終了時にPOP命令を19回実行する手間が不要となり、高速処理が実現される。 Further, when a predetermined return instruction is executed at the end of interrupt processing, for example, 19 saved data are automatically returned to the corresponding built-in registers. Therefore, unlike a normal configuration, it is not necessary to execute the PUSH instruction 19 times at the start of interrupt processing and the POP instruction 19 times at the end of interrupt processing, and high-speed processing is realized.

また、実施例のCPU回路51は、命令キャッシュメモリ67と、オペランドキャッシュメモリ89と、キャッシュコントローラ69とを設けることで、ハーバードキャッシュ動作を実現しており、同一アドレスをアクセスする場合に、キャッシュ済みのデータを活用することでプログラム処理の更なる高速化を図っている。なお、バスブリッジ65と、周辺バス(1) 用のコントローラ、周辺バス(2) 用のコントローラ、及び、周辺バス(3) 用のコントローラとが設けられることで、内部バスと、周辺バス(1) 、周辺バス(2) 、及び周辺バス(3) とを適宜に接続している。 Further, the CPU circuit 51 of the embodiment realizes a Harvard cache operation by providing an instruction cache memory 67, an operand cache memory 89, and a cache controller 69, and has been cached when accessing the same address. We are trying to further speed up the program processing by utilizing the data of. By providing the bus bridge 65, a controller for the peripheral bus (1), a controller for the peripheral bus (2), and a controller for the peripheral bus (3), the internal bus and the peripheral bus (1) are provided. ), Peripheral bus (2), and peripheral bus (3) are connected as appropriate.

次に、図15の回路構成において、バスステートコントローラ66は、動作制御レジスタREGへの適宜な設定値に基づいて動作して、CPU回路51に接続された各種メモリデバイスとのメモリREAD動作やメモリWRITE 動作を最適化する部分である。メモリREAD動作やメモリWRITE 動作は、例えば、図27に例示した動作タイミングで実行されるが、アドレスバス(28Bit )から出力されるアドレスデータと、READデータバス(32Bit )に読み出されるREADデータと、WRITE データバス(32Bit )に書き出されるWRITE データと、チップセレクト信号CS0〜CS7などの制御信号との動作タイミングが、動作制御レジスタREGへの設定値に基づいて、各メモリデバイスの特性に対応して適宜に規定される。 Next, in the circuit configuration of FIG. 15, the bus state controller 66 operates based on an appropriate set value in the operation control register REG, and performs a memory READ operation and a memory with various memory devices connected to the CPU circuit 51. This is the part that optimizes the WRITE operation. The memory READ operation and the memory WRITE operation are executed at the operation timing illustrated in FIG. 27, for example, but the address data output from the address bus (28Bit), the READ data read to the READ data bus (32Bit), and the READ data read to the READ data bus (32Bit) The operation timing of the WRITE data written to the WRITE data bus (32Bit) and the control signals such as the chip select signals CS0 to CS7 corresponds to the characteristics of each memory device based on the set value in the operation control register REG. It is specified as appropriate.

READデータバスとWRITE データバスが別々に設けられているので、上記したハーバード・アーキテクチャによる高速動作が実現される。なお、本明細書では、アドレスバス(28Bit )、READデータバス(32Bit )、及び、WRITE データバス(32Bit )について、図15に示す内部バスや、周辺バス(1) 〜周辺バス(3) などと区別する意味で、外部バスと総称することがある。 Since the READ data bus and the WRITE data bus are provided separately, high-speed operation by the Harvard architecture described above is realized. In this specification, the address bus (28Bit), the READ data bus (32Bit), and the WRITE data bus (32Bit) include the internal bus shown in FIG. 15, peripheral buses (1) to peripheral buses (3), and the like. In the sense of distinguishing from, it may be collectively referred to as an external bus.

図16は、チップセレクト信号CS0〜CS7によって選択されるアドレス空間CS0〜CS7を図示したものであり、バスステートコントローラ66を経由してアクセスされる演出制御CPU63にとってのアドレスマップを図示したものである。先ず、各アドレス空間CS0〜CS7は、何れも、最大64Mバイトに(=0x4000000H=67108864)に規定されている。 FIG. 16 illustrates the address spaces CS0 to CS7 selected by the chip select signals CS0 to CS7, and illustrates an address map for the effect control CPU 63 accessed via the bus state controller 66. .. First, each of the address spaces CS0 to CS7 is defined to have a maximum of 64 Mbytes (= 0x4000000H = 67108864).

先に説明した通り、アドレス空間CS0〜CS7とは、揮発性の有無を含むメモリ種別や、データバス幅(8/16/32ビット)を、各々、規定可能なCPU回路51にとって外部メモリを意味する。そして、本実施例では、図15(b)や図16に示す通り、制御メモリ(PROM)53がアドレス空間CS0、音声プロセッサ27の音声制御レジスタSRGがアドレス空間CS3、時計回路38の内部レジスタやSRAM39がアドレス空間CS4、外付けDRAM(DDR)54がアドレス空間CS5、ワークメモリ57がアドレス空間CS6、VDPレジスタRGijがアドレス空間CS7に位置付けられている。なお、アドレス空間CS1,CS2についての説明は省略する。 As described above, the address spaces CS0 to CS7 mean an external memory for the CPU circuit 51 that can specify the memory type including the presence or absence of volatile and the data bus width (8/16/32 bits), respectively. To do. Then, in this embodiment, as shown in FIGS. 15B and 16, the control memory (PROM) 53 is the address space CS0, the voice control register SRG of the voice processor 27 is the address space CS3, and the internal register of the clock circuit 38. The SRAM 39 is located in the address space CS4, the external DRAM (DDR) 54 is located in the address space CS5, the work memory 57 is located in the address space CS6, and the VDP register RGij is located in the address space CS7. The description of the address spaces CS1 and CS2 will be omitted.

ところで、図16から確認される通り、アドレス空間CS0〜CS7は、アドレス値0x00000000〜0x1FFFFFFF(キャッシュ有効空間)だけでなく、アドレス値0x20000000〜0x3FFFFFFF(キャッシュ無効空間)にも確保されている。これは、アドレスビットA29=1のときには、CPU回路51の内部動作に基づいて、キャッシュ無効とする一方、アドレスビットA29=0のときにキャッシュ有効とすることで、キャッシュ機能の活用を任意選択できるようにしたものである。 By the way, as confirmed from FIG. 16, the address spaces CS0 to CS7 are secured not only in the address values 0x00000000 to 0x1FFFFFFFF (cache valid space) but also in the address values 0x20000000 to 0x3FFFFFFF (cache invalid space). When the address bit A29 = 1, the cache is invalidated based on the internal operation of the CPU circuit 51, while when the address bit A29 = 0, the cache is enabled, so that the utilization of the cache function can be arbitrarily selected. It is something like that.

そのため、本実施例では、全32bitのアドレス情報(ビットA31〜A0)のうち、ビットA29の値が1又は0の何れであっても、残り31bit(ビットA31〜A30とビットA28〜A0)の値が同じであれば、同一のメモリの同一番地を指示することになる。例えば、0x18000000番地をREADアクセスしても、0x38000000番地をREADアクセスしても,ワークメモリ57のゼロ番地から同一データが読み出されることになる。なお、0x18000000番地をREADアクセスした場合には、読み出したデータがキャッシュに保存されるが、図15(b)は、キャッシュ有効/無効のアクセス動作を図示している。 Therefore, in this embodiment, among all 32 bits of address information (bits A31 to A0), regardless of whether the value of bit A29 is 1 or 0, the remaining 31 bits (bits A31 to A30 and bits A28 to A0) remain. If the values are the same, it indicates the same address in the same memory. For example, the same data is read from the zero address of the work memory 57 regardless of whether the address 0x18000000 is READ-accessed or the address 0x38000000 is READ-accessed. When address 0x18000000 is READ-accessed, the read data is saved in the cache, but FIG. 15B illustrates the cache valid / invalid access operation.

もっとも、所定の動作制御レジスタREGへの設定値に基づいて、命令キャッシュ及び/又はオペランドキャッシュについて、キャッシュ動作を無効化することもできる。但し、本実施例では、電源投入後、命令キャッシュ及びオペランドキャッシュについて、キャッシュ動作を有効化した上で、必要に応じて、キャッシュ無効空間をアクセスすることで、キャッシュ動作を無効化している。 However, the cache operation of the instruction cache and / or the operand cache can be invalidated based on the value set in the predetermined operation control register REG. However, in this embodiment, after the power is turned on, the cache operation is invalidated by enabling the cache operation for the instruction cache and the operand cache and then accessing the cache invalid space as necessary.

図16のメモリマップについて説明を続けると、0x40000000番地以降は、バスステートコントローラ66が機能しない内部メモリ空間であって、0xF0000000番地〜0xFF3FFFFF番地は、キャッシュのアドレスアレイ空間に割り当てられている。また、0xFF400000番地〜0xFFF7FFFF番地と、0xFFFC0000番地〜0xFFFFFFFF番地は、内蔵周辺モジュールに割り当てられ、具体的には、CPU回路の動作制御レジスタREGに割り当てられている。なお、内蔵RAM59のアドレス範囲は、0xFFF80000〜0xFFFBFFFFである。 Continuing the description of the memory map of FIG. 16, after address 0x40000000, the bus state controller 66 is an internal memory space in which the bus state controller 66 does not function, and addresses 0xF0000000 to 0xFF3FFFFF are allocated to the address array space of the cache. Further, addresses 0xFF400000 to 0xFFFF7FFFF and addresses 0xFFFC0000 to 0xFFFFFFFF are assigned to the built-in peripheral module, and specifically, are assigned to the operation control register REG of the CPU circuit. The address range of the built-in RAM 59 is 0xFFF80000 to 0xFFFBFFFF.

CPU回路51の内部構成について説明を続けると、コンペアマッチタイマCMTと、マルチファンクションタイマユニットMTUは、CPU回路51に供給される外部信号をカウントしたり、或いは、内部クロックを逓倍又は分周した計数クロックをカウントして、カウント結果が所定値に達すると、割込み信号などを発生する回路である。特に限定されないが、本実施例では、マルチファンクションタイマユニットMTUを活用して、1mS割込み信号と、20μS割込み信号を発生させている。 Continuing the description of the internal configuration of the CPU circuit 51, the compare match timer CMT and the multifunction timer unit MTU count the external signals supplied to the CPU circuit 51, or multiply or divide the internal clock. It is a circuit that counts clocks and generates an interrupt signal or the like when the count result reaches a predetermined value. Although not particularly limited, in this embodiment, the multifunction timer unit MTU is utilized to generate a 1 mS interrupt signal and a 20 μS interrupt signal.

次に、割込みコントローラINTCは、VDP回路52やDMAC回路60やマルチファンクションタイマユニットMTUなどからの内部割込みと、IRQ_CMD 、IRQ_SND 、IRQ_RCT などの外部割込みを受けて、予め規定されている優先順位に基づいて、割込み処理(割込みハンドラ)を起動させる回路である。ここで、IRQ_CMD は、制御コマンドCMDを受信すべきコマンド受信割込み信号、IRQ_SND は、音声プロセッサ27が初期化シーケンスを終えたことを示す終了割込み信号、IRQ_RCT は、アラーム割込み信号である。 Next, the interrupt controller INTC receives internal interrupts from the VDP circuit 52, DMAC circuit 60, multifunction timer unit MTU, etc., and external interrupts such as IRQ_CMD, IRQ_SND, and IRQ_RCT, and is based on a predetermined priority. This is a circuit that activates interrupt processing (interrupt handler). Here, IRQ_CMD is a command reception interrupt signal for receiving the control command CMD, IRQ_SND is an end interrupt signal indicating that the voice processor 27 has completed the initialization sequence, and IRQ_RCT is an alarm interrupt signal.

そして、本実施例では、割込み優先度は、コマンド受信割込みIRQ_CMD が最高レベルであり、以下、20μS割込み→1mS割込み→VDP回路からの割込み(IRQ0,IRQ1,IRQ2,IRQ3)→DMAC割込み→IRQ_SND →IRQ_RCT の順になっている(図23(d)参照)。なお、これらは何れも、マスク可能な割込みであり、マスク不能な割込みNMIは、先に説明した通り、発振器OSC2からリファレンスクロックが出力されていない場合に演出制御CPU63に出力される。 In this embodiment, the command reception interrupt IRQ_CMD has the highest interrupt priority. Hereinafter, 20 μS interrupt → 1 mS interrupt → interrupt from the VDP circuit (IRQ0, IRQ1, IRQ2, IRQ3) → DMAC interrupt → IRQ_SND → The order is IRQ_RCT (see Fig. 23 (d)). All of these are maskable interrupts, and the non-maskable interrupt NMI is output to the effect control CPU 63 when the reference clock is not output from the oscillator OSC2, as described above.

そして、何れの割込み処理でも、CPUの複数の内蔵レジスタのレジスタ値(各32bit長)は、空き状態の何れかのレジスタバンクRBiに、自動的に退避される。そして、割込み処理の最後に所定の復帰命令を実行すると、退避データが、対応する内蔵レジスタに自動的に復帰される。 Then, in any interrupt processing, the register values (each 32-bit length) of the plurality of built-in registers of the CPU are automatically saved in any of the free register banks RBi. Then, when a predetermined return instruction is executed at the end of the interrupt processing, the saved data is automatically returned to the corresponding built-in register.

続いて、DMAC回路60について説明する。実施例のDMAC回路60は、所定の動作制御レジスタREGへの設定値に基づいて、転送元(Source)から転送先(Destination )に対して、所定のDMA転送モードで、所定のデータ転送単位毎に、所定回数、データ転送を繰り返す回路である。なお、同一の内部構成を有する複数チャネルのDMAC0〜DMACnが用意されており、並列的に動作可能となっている。但し、優先度が決まっており(チャネル0>・・・>チャネルn)、チャネル調停動作モードの並列動作時には、所定タイミングでのチャネル調停によって優先度の高いDMACiの動作が優先される。 Subsequently, the DMAC circuit 60 will be described. The DMAC circuit 60 of the embodiment is set for each predetermined data transfer unit in a predetermined DMA transfer mode from the transfer source (Source) to the transfer destination (Destination) based on the set value in the predetermined operation control register REG. In addition, it is a circuit that repeats data transfer a predetermined number of times. A plurality of channels DMAC0 to DMACn having the same internal configuration are prepared and can be operated in parallel. However, the priority is fixed (channel 0 >> ...> channel n), and when the channel arbitration operation mode is operated in parallel, the operation of the DMACi having a high priority is prioritized by the channel arbitration at a predetermined timing.

DMAC回路60の活用としては、例えば、シリアル出力ポートSOが機能する実施例(図16(a)破線部参照)では、CPU回路51の動作制御レジスタREGには、ランプ/モータ駆動テーブルの先頭アドレス(転送元アドレスの先頭値)と、シリアル出力ポートSOの入力レジスタのアドレス(転送先アドレスの固定値)と、データ転送単位(8bit)と、転送回数と、が指定される。そして、所定の動作制御レジスタREGに動作開始指示を受けたDMAC回路60は、転送元アドレスを更新しつつ、所定の転送先アドレスに駆動データをDMA転送する。そして、全てのDMA転送が終われば、DMAC割込み(動作終了割込み)が生じるよう構成されている。 As for the utilization of the DMAC circuit 60, for example, in the embodiment in which the serial output port SO functions (see the broken line portion in FIG. 16A), the operation control register REG of the CPU circuit 51 has the start address of the lamp / motor drive table. (Starting value of transfer source address), address of input register of serial output port SO (fixed value of transfer destination address), data transfer unit (8 bits), and number of transfers are specified. Then, the DMAC circuit 60, which has received the operation start instruction in the predetermined operation control register REG, transfers the drive data to the predetermined transfer destination address by DMA while updating the transfer source address. Then, when all the DMA transfers are completed, a DMAC interrupt (operation end interrupt) is configured to occur.

この点は、ディスプレイリストDLをDMAC回路60が発行する実施例(図21、図25(c))の場合もほぼ同様である。すなわち、演出制御CPU63は、CPU回路51の所定の動作制御レジスタREGに、転送元(DLバッファBUF)の先頭アドレスと、転送先(転送ポートTR_PORT )のアドレスと、DMA転送モードと、データ転送単位と、転送回数、その他の条件を設定することになる。なお、これらの点は、図21に関して更に後述する。 This point is almost the same in the case of the embodiment (FIGS. 21 and 25 (c)) in which the DMAC circuit 60 issues the display list DL. That is, the effect control CPU 63 sets the start address of the transfer source (DL buffer BUF), the address of the transfer destination (transfer port TR_PORT), the DMA transfer mode, and the data transfer unit in the predetermined operation control register REG of the CPU circuit 51. , The number of transfers and other conditions will be set. These points will be described later with reference to FIG.

ところで、一般に、DMA転送モードには、DMA転送の単位動作(R動作/W動作)の途中でバス制御権を開放するなど、DMA動作がメモリバスを占有しないサイクルスチール転送モードと、複数のR動作やW動作を連続させるなど、指定された転送回数が完了するまでバス制御権を解放しないバースト転送(パイプライン転送)モードと、他のデバイスから受けるDMA転送要求(デマンド)がアクティブの間はDMA動作を継続するデマンド転送モードなどが考えられる。しかし、本実施例のDMAC回路60は、DMA転送時のリードアクセス起動(R動作)とライトアクセス起動(W動作)の間に、少なくとも1サイクルのメモリ開放期間を設けたサイクルスチール転送モードで機能することで、演出制御CPU63の動作に支障が出ないようにしている。 By the way, in general, the DMA transfer mode includes a cycle steal transfer mode in which the DMA operation does not occupy the memory bus, such as releasing the bus control right in the middle of the unit operation (R operation / W operation) of the DMA transfer, and a plurality of Rs. Between the burst transfer (pipeline transfer) mode in which the bus control right is not released until the specified number of transfers is completed, such as continuous operation and W operation, and the DMA transfer request (demand) received from another device is active. A demand transfer mode that continues the DMA operation can be considered. However, the DMAC circuit 60 of this embodiment functions in the cycle stealing transfer mode in which a memory release period of at least one cycle is provided between the read access activation (R operation) and the write access activation (W operation) at the time of DMA transfer. By doing so, the operation of the effect control CPU 63 is not hindered.

図17は、サイクルスチール転送動作(a1)と、パイプライン転送(a2)とを説明する図面である。図17(a1)に示す通り、サイクルスチール転送モードで機能するDMAC回路60は、1データ転送のリードアクセス起動(R)とライトアクセス起動(W)の間に、少なくとも1サイクル空けて動作しており、この空いたサイクルでは、演出制御CPU63のバス使用が可能となる。図17(a1)と図17(a2)の対比関係から明らかなように、パイプライン転送では、一サイクル(一オペランド転送)が終わるまでは、バスがCPUに開放されないのに対して、サイクルスチール転送モードでは、リードアクセス毎に、バスがCPUに開放されるので、CPUの動作が大きく遅れることがない。 FIG. 17 is a drawing illustrating a cycle steal transfer operation (a1) and a pipeline transfer (a2). As shown in FIG. 17 (a1), the DMAC circuit 60 functioning in the cycle stealing transfer mode operates with at least one cycle between the read access activation (R) and the write access activation (W) of one data transfer. In this vacant cycle, the bus of the effect control CPU 63 can be used. As is clear from the contrasting relationship between FIGS. 17 (a1) and 17 (a2), in pipeline transfer, the bus is not opened to the CPU until one cycle (one operand transfer) is completed, whereas cycle stealing is performed. In the transfer mode, the bus is opened to the CPU for each read access, so that the operation of the CPU is not significantly delayed.

そして、例えば、ディスプレイリストDLのVDP回路52への発行時に、DMAC回路60を使用する実施態様では、一サイクルのデータ転送単位(1オペランド)を、32×2bitに設定し、ディスプレイリストDLが格納されている内蔵RAM59のソースアドレスを適宜に増加しつつ(1オペランド転送毎に+8)、固定アドレスで特定されるデータ転送回路72の転送ポートレジスタTR_PORT (図19参照)に対して、DMA転送動作を実行している。 Then, for example, in the embodiment in which the DMAC circuit 60 is used when the display list DL is issued to the VDP circuit 52, the data transfer unit (1 operand) for one cycle is set to 32 × 2 bits, and the display list DL is stored. While appropriately increasing the source address of the built-in RAM 59 (+8 for each operand transfer), the DMA transfer operation is performed for the transfer port register TR_PORT (see FIG. 19) of the data transfer circuit 72 specified by the fixed address. Is running.

後述するように、実施例では、ディスプレイリストDLに、必要個数のNOP (no operation)コマンドを付加することで、全体のデータサイズを、固定値(例えば、4×64=256バイト、又はその整数倍)に調整しており、32bit×2回の一オペランド転送を32回(又はその整数倍)繰り返すことで、ディスプレイリストDLの発行を完了させている。なお、描画回路76がNOP コマンドを実行しても、事実上、何の変化も生じない。 As will be described later, in the embodiment, by adding the required number of NOP (no operation) commands to the display list DL, the total data size is set to a fixed value (for example, 4 × 64 = 256 bytes or an integer thereof). The display list DL is issued by repeating 32 bits × 2 times of one operand transfer 32 times (or an integral multiple thereof). Even if the drawing circuit 76 executes the NOP command, virtually no change occurs.

また、DMA転送条件に関して動作モードを分類すると、一般に、単一オペランド転送(図17(b1)参照)と、連続オペランド転送(図17(b2)参照)と、ノンストップ転送(図17(b3)参照)とが考えられる。 Further, when the operation modes are classified with respect to the DMA transfer conditions, generally, single operand transfer (see FIG. 17 (b1)), continuous operand transfer (see FIG. 17 (b2)), and non-stop transfer (see FIG. 17 (b3)). See).

ここで、単一オペランド転送とは、図17(b1)に示すように、DMA転送要求が与えられるたびに、1オペランドの転送を繰り返し、転送バイト数をカウントするバイトカウントがゼロになった時点で、DMA割込み要求が生じる動作モードを意味する。次に、連続オペランド転送とは、図17(b2)に示すように、1回のDMA要求で、バイトカウントがゼロになるまでDMA転送を繰り返す動作モードを意味する。 Here, the single operand transfer means, as shown in FIG. 17 (b1), when the byte count for counting the number of transferred bytes becomes zero by repeating the transfer of one operand each time a DMA transfer request is given. This means an operation mode in which a DMA interrupt request is generated. Next, the continuous operand transfer means an operation mode in which the DMA transfer is repeated until the byte count becomes zero with one DMA request, as shown in FIG. 17 (b2).

これら、連続オペランド転送(b2)や単一オペランド転送(b1)では、1オペランド転送が終了するごとにチャネル調停が行われ、優先順位の高いチャネルのDMA要求がないことを条件に、現在のチャネルの転送が継続される(チャネル調停動作モード)。そこで、本実施例では、ディスプレイリストDLのVDP回路への発行や、ランプ駆動データやモータ駆動データのDMA転送は、単一オペランド転送方式を採っている。そして、並列動作時には、例えば、モータデータ>ディスプレイリストDL>ランプデータの優先度のチャネル調停となるよう、最適チャネルのDMACiを使用している。 In these continuous operand transfer (b2) and single operand transfer (b1), channel arbitration is performed every time one operand transfer is completed, and the current channel is provided on the condition that there is no DMA request for the channel with high priority. Transfer is continued (channel arbitration operation mode). Therefore, in this embodiment, a single operand transfer method is adopted for issuing the display list DL to the VDP circuit and for DMA transfer of lamp drive data and motor drive data. Then, during parallel operation, for example, DMACi of the optimum channel is used so that the channel arbitration of the priority of motor data> display list DL> lamp data.

一方、ノンストップ転送とは、チャネル調停が実行されない動作モードであって、図17(b3)に記載の通り、1回のDMA要求で、バイトカウントがゼロになるまで連続的にDMA転送が繰り返される。本実施例では、電源投入時のメモリセクション初期化処理(図21のSP8)では、ノンストップ転送でプログラムやデータをDMA転送している。 On the other hand, non-stop transfer is an operation mode in which channel arbitration is not executed, and as shown in FIG. 17 (b3), DMA transfer is continuously repeated until the byte count becomes zero with one DMA request. Is done. In this embodiment, in the memory section initialization process (SP8 in FIG. 21) when the power is turned on, the program or data is DMA-transferred by non-stop transfer.

以上、CPU回路51について説明したので、次に、VDP回路52について説明すると、VDP回路52には、画像演出を構成する静止画や動画の構成要素となる圧縮データを記憶するCGROM55と、4Gbit程度の記憶容量を有する外付けDRAM(Dynamic Random Access Memory)54と、メイン表示装置DS1と、サブ表示装置DS2とが接続されている。なお、DRAM54は、好適にはDDR3(Double-Data-Rate3 SDRAM )で構成される。 Since the CPU circuit 51 has been described above, the VDP circuit 52 will be described next. The VDP circuit 52 includes a CGROM 55 that stores compressed data that is a component of a still image or a moving image that constitutes an image effect, and about 4 Gbit. An external DRAM (Dynamic Random Access Memory) 54 having a storage capacity of the above, a main display device DS1 and a sub display device DS2 are connected to each other. The DRAM 54 is preferably composed of DDR3 (Double-Data-Rate3 SDRAM).

特に限定するものではないが、この実施例では、CGROM55は、62Gbit程度の記憶容量のNAND型フラッシュメモリで構成されたフラッシュSSD(solid state drive )で構成されており、シリアル伝送によって必要な圧縮データを取得するよう構成されている。そのため、パラレル伝送において不可避的に生じるスキュー(ビットデータ毎の伝送速度の差)の問題が解消され、極限的な高速伝送動作が可能となる。特に限定されないが、本実施例では、SerialATAに準拠したHSS(High Speed Serial )方式で、CGROM55を高速アクセスしている。 Although not particularly limited, in this embodiment, the CGROM 55 is composed of a flash SSD (solid state drive) composed of a NAND flash memory having a storage capacity of about 62 Gbit, and is compressed data required for serial transmission. Is configured to get. Therefore, the problem of skew (difference in transmission speed for each bit data) that inevitably occurs in parallel transmission is solved, and extremely high-speed transmission operation becomes possible. Although not particularly limited, in this embodiment, the CGROM 55 is accessed at high speed by the HSS (High Speed Serial) method conforming to Serial ATA.

なお、SerialATAに準拠したHSS方式を採るか否かに拘らず、NAND型のフラッシュメモリは、ハードディスクより機械的に安定であり、且つ高速アクセスが可能である一方で、シーケンシャルアクセスメモリであるため、DRAMやSRAM(Static Random Access Memory )に比較すると、ランダムアクセス性に問題がある。そこで、本実施例では、一群の圧縮データ(CGデータ)を、描画動作に先行してDRAM54に読み出しておくプリロード動作を実行することで、描画動作時におけるCGデータの円滑なランダムアクセスを実現している。ちなみに、アクセス速度は、内蔵VRAM>外付けDRAM>CGROMの順番に遅くなる。 Regardless of whether or not the HSS method conforming to SerialATA is adopted, the NAND type flash memory is mechanically more stable than the hard disk and can be accessed at high speed, but is a sequential access memory. Compared to DRAM and SRAM (Static Random Access Memory), there is a problem with random accessibility. Therefore, in this embodiment, by executing a preload operation in which a group of compressed data (CG data) is read out to the DRAM 54 prior to the drawing operation, smooth random access of the CG data during the drawing operation is realized. ing. By the way, the access speed becomes slower in the order of internal VRAM> external DRAM> CGROM.

VDP回路52は、詳細には、VDP(Video Display Processor )の動作を規定する各種の動作パラメータが演出制御CPU63によって設定可能な制御レジスタ群70と、表示装置DS1,DS2に表示すべき画像データの生成時に使用される48Mバイト程度の内蔵VRAM(video RAM )71と、チップ内部の各部間のデータ送受信及びチップ外部とのデータ送受信を実行するデータ転送回路72と、内蔵VRAM71に関して、SourceやDestination のアドレス情報を特定可能なインデックステーブルIDXTBLと、描画動作に先行してCGROM55をREADアクセスするプリロード動作が実行可能なプリローダ73と、CGROM55から読み出した圧縮データをデコード(復号伸長/展開)するグラフィックスデコーダ(GDEC)75と、デコード(展開)後の静止画データや動画データを適宜に組み合わせて表示装置DS1,DS2の各一フレーム分の画像データを生成する描画回路76と、描画回路76の動作の一部として、適宜な座標変換によって立体画像を生成するジオメトリエンジン77と、描画回路76が生成したフレームバッファFBa,FBbの画像データを読み出して、適宜な画像処理を並列的に実行可能な3系統(A/B/C)の表示回路74A〜74Cと、3系統(A/B/C)の表示回路74の出力を適宜に選択出力する出力選択部79と、出力選択部79が出力する画像データをLVDS信号に変換するLVDS部80と、シリアルデータ送受信可能なSMC部78と、CPUIF回路56とのデータ送受信を中継するCPUIF部81と、CGROM55からのデータ受信を中継するCGバスIF部82と、外付けDRAM54とのデータ送受信を中継するDRAMIF部83と、内蔵VRAM71とのデータ送受信を中継するVRAMIF部84と、を有して構成されている。なお、音声回路SNDも内蔵されている。 In detail, the VDP circuit 52 includes a control register group 70 in which various operation parameters defining the operation of the VDP (Video Display Processor) can be set by the effect control CPU 63, and image data to be displayed on the display devices DS1 and DS2. Regarding the built-in VRAM (video RAM) 71 of about 48 Mbytes used at the time of generation, the data transfer circuit 72 that executes data transmission / reception between each part inside the chip and data transmission / reception with the outside of the chip, and the built-in VRAM 71, the Source and Destination An index table IDXTBL that can specify address information, a preloader 73 that can execute a preload operation that READ-accesses the CGROM 55 prior to the drawing operation, and a graphics decoder that decodes (decodes / decompresses / expands) the compressed data read from the CGROM 55. (GDEC) 75, the drawing circuit 76 that generates image data for each frame of the display devices DS1 and DS2 by appropriately combining the still image data and the moving image data after decoding (decompression), and the operation of the drawing circuit 76. As a part, three systems that can read the image data of the frame buffers FBa and FBb generated by the geometry engine 77 that generates a stereoscopic image by appropriate coordinate conversion and the drawing circuit 76 and execute appropriate image processing in parallel. (A / B / C) display circuits 74A to 74C, an output selection unit 79 that appropriately selects and outputs the outputs of the three systems (A / B / C) display circuits 74, and an image output by the output selection unit 79. The LVDS unit 80 that converts data into an LVDS signal, the SMC unit 78 that can transmit and receive serial data, the CPUIF unit 81 that relays data transmission and reception between the CPUIF circuit 56, and the CG bus IF unit 82 that relays data reception from the CGROM 55. A DRAMIF unit 83 that relays data transmission / reception with the external DRAM 54, and a VRAMIF unit 84 that relays data transmission / reception with the built-in VRAM 71. The audio circuit SND is also built-in.

図14(b)には、CPUIF部81、CGバスIF部82、DRAMIF部83、及び、VRAMIF部84と、制御レジスタ群70、CGROM55、DRAM54、及び内蔵VRAM71との関係が図示されている。図示の通り、CGROM55から取得したCGデータは、例えば、プリロードデータとして、データ転送回路72及びDRAMIF部83を経由して、外付けDRAM54のプリロード領域に転送される。 FIG. 14B shows the relationship between the CPU IF unit 81, the CG bus IF unit 82, the DRAM IF unit 83, and the VRAM IF unit 84, and the control register group 70, the CGROM 55, the DRAM 54, and the built-in VRAM 71. As shown in the figure, the CG data acquired from the CGROM 55 is transferred as preload data to the preload area of the external DRAM 54 via the data transfer circuit 72 and the DRAMIF unit 83, for example.

但し、上記したプリロード動作は、何ら必須動作ではなく、また、データ転送先も、外付けDRAM54に限定されず、内蔵VRAM71であっても良い。したがって、例えば、プリロード動作を実行しない実施例では、CGデータは、データ転送回路72及びVRAMIF部84を経由して、内蔵VRAM71に転送される(図14(b))。 However, the above-mentioned preload operation is not an essential operation, and the data transfer destination is not limited to the external DRAM 54 and may be the built-in VRAM 71. Therefore, for example, in the embodiment in which the preload operation is not executed, the CG data is transferred to the built-in VRAM 71 via the data transfer circuit 72 and the VRAM IF unit 84 (FIG. 14 (b)).

ところで、本実施例では、内蔵VRAM71には、CGROM55から読み出した圧縮データの展開領域、表示装置のW×H個の表示ピクセルの各ARGB情報(32bit=8×4)を特定する画像データを格納するフレームバッファ領域、及び、各表示ピクセルの深度情報を記憶するZバッファ領域などが必要となる。なお、ARGB情報において、Aは、8bitのαプレーンデータ、RGBは三原色の8bitデータを意味する。 By the way, in this embodiment, the built-in VRAM 71 stores image data for specifying the expansion area of the compressed data read from the CGROM 55 and each ARGB information (32 bits = 8 × 4) of W × H display pixels of the display device. A frame buffer area to be used, a Z buffer area for storing depth information of each display pixel, and the like are required. In the ARGB information, A means 8-bit α-plane data, and RGB means 8-bit data of the three primary colors.

ここで、内蔵VRAM71の上記した各領域は、演出制御CPU63がディスプレイリストDLに記載した各種の指示コマンド(前記したテクスチャやSPRITEなど)に基づいて間接的にアクセスされるが、そのREAD/WRITEアクセスにおいて、一々、内蔵VRAM71のDestination アドレスや、Sourceアドレスを特定するのでは煩雑である。そこで、本実施例では、CPUリセット後の初期処理において、描画動作で必要となる一次元または二次元の論理アドレス空間(以下、インデックス空間という)を確保して、各インデックス空間にインデックス番号を付与することで、インデックス番号に基づくアクセスを可能にしている。 Here, each of the above-mentioned areas of the built-in VRAM 71 is indirectly accessed by the effect control CPU 63 based on various instruction commands (such as the above-mentioned texture and SPRITE) described in the display list DL, and the READ / WRITE access thereof. In, it is complicated to specify the destination address and the source address of the built-in VRAM 71 one by one. Therefore, in this embodiment, in the initial processing after the CPU reset, a one-dimensional or two-dimensional logical address space (hereinafter referred to as an index space) required for the drawing operation is secured, and an index number is assigned to each index space. By doing so, access based on the index number is possible.

具体的には、CPUリセット後、内蔵VRAM71を3種類のメモリ領域に大別すると共に、各メモリ領域に、必要数のインデックス空間を確保している。そして、インデックス空間とインデックス番号とを紐付けて記憶するインデックステーブルIDXTBL(図18(a)参照)を構築することで、その後のインデックス番号に基づく動作を実現している。 Specifically, after the CPU is reset, the built-in VRAM 71 is roughly divided into three types of memory areas, and a required number of index spaces are secured in each memory area. Then, by constructing the index table IDXTBL (see FIG. 18A) that stores the index space and the index number in association with each other, the subsequent operation based on the index number is realized.

このインデックス空間は、(1) 初期処理後に追加することや、逆に、(2) 開放することも必要となる。そこで、これら追加/開放の演出制御CPU63の動作時に、追加/開放の処理が可能なタイミングか否か、また、追加/開放などの処理が実際に完了したか否か、などを判定可能なフラグ領域FGをインデックステーブルIDXTBLに設けている。なお、内蔵VRAM71は、以下に説明する2つのAAC領域(a1,a2) と、ページ領域(b) と、任意領域(c) の三種類のメモリ領域に大別され、この三種類のメモリ領域(a1,a2)(b)(c) に対応して、インデックステーブルIDXTBLが3区分されている(図18(a))。図示の通り、この実施例では、AAC領域(a) として、第一AAC領域(a1)と第二AAC領域(a2)が確保されているが、特に限定されるものではなく、何れか一方だけでも良い。なお、以下の説明では、第一と第二のAAC領域(a1,a2) を総称する場合には、AAC領域(a) と称する場合がある。 This index space needs to be (1) added after the initial processing, and conversely (2) opened. Therefore, a flag capable of determining whether or not the addition / release processing is possible, and whether or not the addition / release processing is actually completed during the operation of the addition / release effect control CPU 63, etc. The area FG is provided in the index table IDXTBL. The built-in VRAM 71 is roughly divided into three types of memory areas, two AAC areas (a1 and a2), a page area (b), and an arbitrary area (c), which will be described below, and these three types of memory areas. The index table IDXTBL is divided into three categories according to (a1, a2), (b), and (c) (FIG. 18 (a)). As shown in the figure, in this embodiment, the first AAC region (a1) and the second AAC region (a2) are secured as the AAC region (a), but the region is not particularly limited and only one of them is used. But it's okay. In the following description, when the first and second AAC regions (a1, a2) are collectively referred to, they may be referred to as the AAC region (a).

本実施例の場合、内蔵VRAM71は、(a) インデックス空間とそのインデックス番号が内部処理によって自動付与され、且つメモリキャッシュ機能を有するAAC領域と、(b) 例えば4096bit×128ラインの二次元空間を単位空間として、その整数倍の範囲でインデックス空間が確保可能なページ領域と、(c) 先頭アドレス(空間先頭アドレス)STxと水平サイズHxが任意に設定できる任意領域と、に区分可能に構成されている(図18(b)参照)。但し、VDP回路52の内部動作を円滑化するため、任意領域(c) において任意設定されるインデックス空間の空間先頭アドレスSTxは、その下位11bitが0であって、所定ビット(2048bit=256バイト)単位とする必要がある。 In the case of this embodiment, the built-in VRAM 71 has (a) an AAC area in which an index space and its index number are automatically assigned by internal processing and has a memory cache function, and (b) a two-dimensional space of, for example, 4096 bits × 128 lines. The unit space can be divided into a page area in which an index space can be secured in the range of an integral multiple of the page area, and (c) an arbitrary area in which the start address (space start address) STx and the horizontal size Hx can be arbitrarily set. (See FIG. 18 (b)). However, in order to facilitate the internal operation of the VDP circuit 52, the space start address STx of the index space arbitrarily set in the arbitrary area (c) has a lower 11 bits of 0 and a predetermined bit (2048 bits = 256 bytes). Must be a unit.

そして、CPUリセット後、各々に必要なアドレス空間の最大値と、領域先頭アドレス(下位11bit=0)を規定して、AAC領域(a1)と、第二AAC領域(a2)と、ページ領域(b) とが確保され、その残りのメモリ領域が任意領域(c) となる。VDP回路52の内部動作を円滑化するため、AAC領域のアドレス空間の最大値は、2048bit単位で規定され、ページ領域のアドレス空間の最大値は、上記した4096bit×128ラインの単位空間の整数倍とされる。 Then, after the CPU is reset, the maximum value of the address space required for each and the area start address (lower 11 bits = 0) are defined, and the AAC area (a1), the second AAC area (a2), and the page area ( b) is secured, and the remaining memory area becomes an arbitrary area (c). In order to facilitate the internal operation of the VDP circuit 52, the maximum value of the address space in the AAC area is defined in units of 2048 bits, and the maximum value of the address space in the page area is an integral multiple of the unit space of the above-mentioned 4096 bits × 128 lines. It is said that.

次に、このように確保された各領域(a1,a2)(b)(c) に必要個数のインデックス空間が設定される。なお、任意領域(c) を使用する場合、VDP回路52の内部動作を円滑化するため、二次元データを扱うインデックス空間の水平サイズHxは、256bitの倍数として、任意に設定可能である一方、その垂直サイズは固定値(例えば、2048ライン)となっている。 Next, the required number of index spaces are set in each of the areas (a1, a2) (b) (c) secured in this way. When the arbitrary area (c) is used, the horizontal size Hx of the index space for handling two-dimensional data can be arbitrarily set as a multiple of 256 bits in order to facilitate the internal operation of the VDP circuit 52. Its vertical size is a fixed value (eg, 2048 lines).

何れにしても、第一と第二のAAC領域(a1,a2) は、VDP回路52によって、インデックス空間とインデックス番号が自動的に付与されるので、例えば、テクスチャ設定系コマンドのSETINDEXコマンドによって、デコード先をAAC領域(a) に指定すれば、CGROM55からCGデータを読み出すTXLOAD(テクスチャロード)コマンドでは、CGROM55のSourceアドレスと、展開(デコード)後の水平・垂直サイズなどを指定するだけで足りることになる。そこで、本実施例では、予告演出時などに一時的に出現するキャラクタなどの静止画(テクスチャ)や、Iストリーム動画については、そのデコード先をAAC領域(a) にしている。 In any case, the index space and index number are automatically assigned to the first and second AAC regions (a1, a2) by the VDP circuit 52. Therefore, for example, the SETINDEX command of the texture setting command can be used. If the decoding destination is specified in the AAC area (a), the TXLOAD (texture load) command that reads CG data from the CGROM55 only needs to specify the Source address of the CGROM55 and the horizontal / vertical size after expansion (decoding). It will be. Therefore, in this embodiment, the decoding destination of the still image (texture) such as a character that temporarily appears at the time of the advance notice production or the I-stream moving image is set to the AAC area (a).

このAAC領域(a) は、いずれも、メモリキャッシュ機能が付与されているので、例えば、CGROM55の同一のテクスチャを複数回、AAC領域(a) に読み出すような場合には、二度目以降は、AAC領域(a) にキャッシュされているデコードデータが活用可能となり、余分なREADアクセスとデコード処理が抑制可能となる。もっとも、AAC領域(a) を使い切った場合には、古いデータが自動的に破壊されるので、本実施例では、AAC領域(a) を使用する場合、原則として第一AAC領域(a1)を使用することとし、繰り返し使用する特定のテクスチャだけを第二AAC領域(a2)に取得するようにしている。 Since the memory cache function is added to each of the AAC areas (a), for example, when the same texture of the CGROM 55 is read into the AAC area (a) multiple times, the second and subsequent times are performed. The decoded data cached in the AAC area (a) can be utilized, and extra READ access and decoding processing can be suppressed. However, when the AAC area (a) is used up, old data is automatically destroyed. Therefore, in this embodiment, when the AAC area (a) is used, in principle, the first AAC area (a1) is used. It is decided to use it, and only a specific texture to be used repeatedly is acquired in the second AAC region (a2).

繰り返し使用するテクスチャとして、例えば、所定の予告演出時に繰り返し出現するキャラクタや、背景画面を静止画で構築する場合の背景画などを例示することができる。このような場合、テクスチャ設定系コマンドのSETINDEXコマンドによって、デコード先を第二AAC領域(a2)に設定し、TXLOADコマンドによって、キャラクタや背景画などのテクスチャを第二AAC領域(a2)にデコードした後は、第二AAC領域(a2)を使用しないことで、デコード結果を保護する。 As the texture to be used repeatedly, for example, a character that repeatedly appears at the time of a predetermined advance notice effect, a background image when the background screen is constructed with a still image, and the like can be exemplified. In such a case, the SETINDEX command, which is a texture setting command, sets the decoding destination to the second AAC area (a2), and the TXLOAD command decodes the textures such as characters and background images to the second AAC area (a2). After that, the decoding result is protected by not using the second AAC region (a2).

そして、その後、SETINDEXコマンドによって、デコード先を第二AAC領域(a2)に指定した上で、取得済みのテクスチャを再取得する同一のTXLOADコマンドを実行させると、取得済みのテクスチャがキャッシュヒットするので、CGROM55へのREADアクセスと、デコード処理に要する時間を削除することができる。後述するように、このようなキャッシュヒット機能は、プリロード領域に先読みされたプリロードデータでも発揮されるが、プリロード領域でキャッシュヒットするプリロードデータは、デコード前の圧縮データであるのに対して、AAC領域でキャッシュヒットするのはデコード後の展開データである点に意義がある。 Then, after that, if the decoding destination is specified in the second AAC area (a2) by the SETINDEX command and the same TXLOAD command for reacquiring the acquired texture is executed, the acquired texture will be cache hit. , READ access to CGROM55 and the time required for decoding processing can be deleted. As will be described later, such a cache hit function is also exhibited in the preload data read ahead in the preload area, but the cache hit preload data in the preload area is compressed data before decoding, whereas AAC. It is significant that the cache hit in the area is the expanded data after decoding.

ところで、テクスチャ(texture )とは、一般に、物の表面の質感・手触りなどを指す概念であるが、本明細書では、静止画を構成するスプライト画像データや、動画一フレームを構成する画像データや、三角形や四角形などの描画プリミティブ(primitive )に貼り付ける画像データだけでなく、デコード後の画像データも含む概念として使用している。そして、内蔵VRAM71の内部で、画像データをコピーする(以下、便宜上、移動と称する)場合には、テクスチャ設定系コマンドのSETINDEXコマンドによって、移動元の画像データをテクスチャとして設定した上で、SPRITEコマンドを実行することになる。 By the way, texture is a concept that generally refers to the texture and texture of the surface of an object, but in the present specification, sprite image data that constitutes a still image, image data that constitutes one frame of a moving image, and the like. , It is used as a concept that includes not only image data to be pasted on drawing primitives such as triangles and squares, but also image data after decoding. Then, when copying the image data inside the built-in VRAM71 (hereinafter referred to as "move" for convenience), the move source image data is set as a texture by the SETINDEX command of the texture setting command, and then the SPRITE command. Will be executed.

なお、SPRITEコマンドの実行により、移動元のSource画像データが、形式上は、図18(c)に示す仮想描画空間に描画されるが、表示装置に実際に描画される仮想描画空間内の描画領域と、フレームバッファとなるインデックス空間との対応関係を、予め環境設定コマンド(SETDAVR ,SETDAVF )や、テクスチャ設定系コマンド(SETINDEX)によって設定しておけば、例えば、SPRITEコマンドによる仮想描画空間への描画により、所定のインデックス空間(フレームバッファ)には、移動元のSource画像データが描画されることになる(図18(c)参照)。 By executing the SPRITE command, the source image data of the movement source is formally drawn in the virtual drawing space shown in FIG. 18C, but the drawing in the virtual drawing space actually drawn on the display device is performed. If the correspondence between the area and the index space that serves as the frame buffer is set in advance using environment setting commands (SETDAVR, SETDAVF) and texture setting commands (SETINDEX), for example, the SPRITE command can be used to create a virtual drawing space. By drawing, the source image data of the movement source is drawn in the predetermined index space (frame buffer) (see FIG. 18C).

何れにしても、本実施例では、内蔵VRAM71が、AAC領域(a1,a2) とページ領域(b) と任意領域(c) に大別され、各々に、適当数のインデックス空間を確保することができ、各インデックス空間は、各領域(a)(b)(c) ごとに独立のインデックス番号によって特定される。インデックス番号は、例えば、1バイト長であり、(内部回路によって自動付与されるAAC領域(a) を除いた)ページ領域(b) と任意領域(c) については、0〜255の範囲で演出制御CPU63が、インデックス番号を自由に付与することができる。 In any case, in this embodiment, the built-in VRAM 71 is roughly divided into an AAC area (a1, a2), a page area (b), and an arbitrary area (c), and an appropriate number of index spaces are secured for each. Each index space is specified by an independent index number for each region (a) (b) (c). The index number is, for example, 1 byte long, and the page area (b) and the arbitrary area (c) (excluding the AAC area (a) automatically assigned by the internal circuit) are produced in the range of 0 to 255. The control CPU 63 can freely assign an index number.

そこで、本実施例では、図18(a)に示す通り、表示装置DS1用として、任意領域(c) に、一対のフレームバッファFBaを確保して、ダブルバッファ構造の双方に、インデックス番号255,254を付与している。すなわち、メイン表示装置DS1用のフレームバッファFBaとして、トグル的に切り換えて使用されるインデックス空間255と、インデックス空間254を確保している。特に限定されないが、このインデックス空間255,254は、表示装置DS1の横方向ピクセル数に対応して、水平サイズ1280としている。なお、各ピクセルは、ARGB情報32bitで特定されるので、水平サイズ1280は、32×1280=40960bit(256bitの倍数)を意味する。 Therefore, in this embodiment, as shown in FIG. 18A, a pair of frame buffers FBa are secured in the arbitrary area (c) for the display device DS1, and the index numbers 255 and 25 are used in both of the double buffer structures. 254 is given. That is, as the frame buffer FBa for the main display device DS1, the index space 255 and the index space 254 that are toggled and used are secured. Although not particularly limited, the index spaces 255 and 254 have a horizontal size of 1280 corresponding to the number of pixels in the horizontal direction of the display device DS1. Since each pixel is specified by ARGB information 32 bits, the horizontal size 1280 means 32 × 1280 = 40960 bits (a multiple of 256 bits).

また、表示装置DS2用として、任意領域(c) に、別の一対のフレームバッファFBbを確保して、ダブルバッファ構造の双方にインデックス番号252,251を付与している。すなわち、サブ表示装置DS2用のフレームバッファFBbとして、インデックス空間252と、インデックス空間251を確保している。このインデックス空間252,251は、表示装置DS2の横方向ピクセル数に対応して、水平サイズ480としている。この場合も、各ピクセルは、ARGB情報32bitで特定されるので、水平サイズ480は、32×480=15360bit(256bitの倍数)を意味する。 Further, for the display device DS2, another pair of frame buffers FBb is secured in the arbitrary area (c), and index numbers 252 and 251 are assigned to both of the double buffer structures. That is, the index space 252 and the index space 251 are secured as the frame buffer FBb for the sub display device DS2. The index spaces 252 and 251 have a horizontal size of 480 corresponding to the number of pixels in the horizontal direction of the display device DS2. Also in this case, since each pixel is specified by the ARGB information 32 bits, the horizontal size 480 means 32 × 480 = 15360 bits (a multiple of 256 bits).

なお、フレームバッファFBa,FBbを任意領域(c) に確保するのは、任意領域(c) には、32バイト(=256bit=8ピクセル分)の倍数として、任意の水平サイズに設定することができ、上記のように、表示装置DS1,DS2の水平ピクセル数に一致させれば、確保領域に無駄が生じないからである。一方、ページ領域(b) には、128ピクセル×128ラインの単位空間の整数倍の水平/垂直サイズしか設定できない。 The frame buffers FBa and FBb are secured in the arbitrary area (c) by setting the arbitrary area (c) to an arbitrary horizontal size as a multiple of 32 bytes (= 256 bits = 8 pixels). This is because, as described above, if the number of horizontal pixels of the display devices DS1 and DS2 is matched, the reserved area is not wasted. On the other hand, in the page area (b), only the horizontal / vertical size that is an integral multiple of the unit space of 128 pixels × 128 lines can be set.

但し、任意領域(c)に確保される二次元のインデックス空間は、その垂直サイズが固定値(例えば、2048ライン)となっている。そのため、フレームバッファFBaにおいて、水平サイズ1280×垂直サイズ1024の領域だけが、メイン表示装置DS1にとって有効データ領域となる。この点は、サブ表示装置DS2についても同様であり、フレームバッファFBbにおいて、水平サイズ480×垂着サイズ800の領域だけが、サブ表示装置DS2にとって有効データ領域となる(図18(c),図26(e)参照)。 However, the vertical size of the two-dimensional index space secured in the arbitrary region (c) is a fixed value (for example, 2048 lines). Therefore, in the frame buffer FBa, only the area of horizontal size 1280 × vertical size 1024 becomes an effective data area for the main display device DS1. This point is the same for the sub-display device DS2, and in the frame buffer FBb, only the area of the horizontal size 480 × the hanging size 800 is the effective data area for the sub-display device DS2 (FIG. 18 (c), FIG. 26 (e)).

上記の点は更に後述するが、何れにしても、フレームバッファFBa,FBbは、描画回路76にとっての描画領域として、各ダブルバッファ(255/254 ,252/251 )が交互に使用され、また、表示回路74A,74Bにとっての表示領域として、各ダブルバッファ(255/254 ,252/251 )が交互に使用される。なお、本実施例では、表示ピクセルの深度情報を記憶するZバッファを使用しないので欠番(253)が生じるが、Zバッファを使用する場合には、任意領域(c) におけるインデックス番号253,250のインデックス空間253,250が、表示装置DS1と表示装置DS2のためのZバッファとなる。 The above points will be further described later, but in any case, the frame buffers FBa and FBb alternately use double buffers (255/254 and 252/251) as drawing areas for the drawing circuit 76, and also. The double buffers (255/254, 252/251) are alternately used as the display area for the display circuits 74A and 74B. In this embodiment, since the Z buffer that stores the depth information of the display pixels is not used, a missing number (253) occurs. However, when the Z buffer is used, the index number 253,250 in the arbitrary area (c) The index space 253,250 serves as a Z buffer for the display device DS1 and the display device DS2.

また、本実施例では、フレームバッファFBa,FBbが確保された任意領域(c) に、追加のインデックス空間(メモリ領域)を確保する場合には、0から始まるインデック番号を付与するようにしている。何ら限定されないが、本実施例では、キャラクタやその他の静止画で構成された演出画像を、必要に応じて、適宜な回転姿勢で表示画面の一部に出現させる予告演出用の作業領域として、任意領域(c) に、インデックス空間(0)を確保している。 Further, in this embodiment, when an additional index space (memory area) is secured in the arbitrary area (c) in which the frame buffers FBa and FBb are secured, an index number starting from 0 is assigned. .. Although not limited in any way, in the present embodiment, as a work area for a notice effect, an effect image composed of a character or other still images is made to appear on a part of the display screen in an appropriate rotation posture as needed. The index space (0) is secured in the arbitrary area (c).

但し、作業領域の使用は必須ではなく、また、任意領域(c) に代えて、ページ領域(b) に作業領域としてのインデックス空間を確保しても良い。ページ領域(b) を使用すれば、水平サイズ128(=4096bit)×垂直サイズ128の正方形状の単位空間の倍数寸法のインデックス空間を確保できるので、小型の演出画像を扱うには好適である。 However, the use of the work area is not essential, and instead of the arbitrary area (c), an index space as a work area may be secured in the page area (b). If the page area (b) is used, an index space having an index space that is a multiple of a square unit space having a horizontal size of 128 (= 4096 bits) and a vertical size of 128 can be secured, which is suitable for handling a small effect image.

ところで、本実施例では、背景画も含め動画で構成されており、画像演出は、ほぼ動画のみで実現されている。特に、変動演出時には、多数(通常10個以上)の動画が同時に描画されている。これらの動画は、何れも、一連の動画フレームとして、圧縮状態でCGROM55に格納されているが、Iフレームのみで構成されたIストリーム動画と、IフレームとPフレームとで構成されたIPストリーム動画とに区分される。ここで、Iフレーム(Intra coded frame )とは、他画面とは独立して、入力画像をそのまま圧縮するフレームを意味する。一方、Pフレーム(Predictive coded frame)とは、前方向予測符号化を行うフレームを意味し、時間的に過去に位置するIフレームまたはPフレームが必要となる。 By the way, in this embodiment, the image is composed of a moving image including a background image, and the image production is realized only by the moving image. In particular, a large number (usually 10 or more) of moving images are drawn at the same time during the variable effect. All of these videos are stored in the CGROM 55 in a compressed state as a series of video frames, but an I-stream video composed of only I-frames and an IP-stream video composed of I-frames and P-frames. It is divided into. Here, the I frame (Intra coded frame) means a frame that compresses the input image as it is, independently of other screens. On the other hand, the P frame (Predictive coded frame) means a frame for performing forward predictive coding, and an I frame or P frame located in the past in time is required.

そこで、本実施例では、IPストリーム動画については、旧データの破壊が懸念されるAAC領域(a) ではなく、ページ領域(b) に展開している。すなわち、水平サイズ128×垂直サイズ128の倍数寸法のインデックス空間を確保可能なページ領域(b) に、多数のインデックス空間(IDX〜IDX)を確保して、一連の動画フレームは、各動画MViに対応する、常に同一のインデックス空間IDXiを使用してデコードするようにしている。すなわち、動画MV1はインデックス空間IDX1に展開され、動画MV2はインデックス空間IDX2に展開され、以下同様に、動画MViはインデックス空間IDXiに展開されるよう構成されている。 Therefore, in this embodiment, the IP stream moving image is developed in the page area (b) instead of the AAC area (a) where there is a concern that the old data may be destroyed. That is, a large number of index spaces (IDX 0 to IDX N ) are secured in the page area (b) in which an index space having a multiple dimension of horizontal size 128 × vertical size 128 can be secured, and a series of video frames are formed for each video. The same index space IDXi corresponding to MVi is always used for decoding. That is, the moving image MV1 is expanded in the index space IDX1, the moving image MV2 is expanded in the index space IDX2, and similarly, the moving image MVi is expanded in the index space IDXi.

動画MViについて、更に具体的に説明すると、SETINDEXコマンドによって、「IPストリーム動画MViのデコード先は、ページ領域(b) におけるインデックス番号iのインデックス空間(i)である」と予め指定した上で、IPストリーム動画MViの動画一フレームを取得するTXLOADコマンドを実行させている。 More specifically, the moving image MVi will be described in more detail. The SETINDEX command specifies in advance that the decoding destination of the IP stream moving image MVi is the index space (i) of the index number i in the page area (b). The TXLOAD command for acquiring one frame of the IP stream video MVi video is executed.

すると、TXLOADコマンドが特定するCGROM55上の動画一フレーム(一連の動画フレームの何れか)が、先ず、AAC領域(a) に取得され、その後、自動的に起動するGDEC(グラフィックスデコーダ)75によって、ページ領域(b) のインデックス空間(i)に、取得した動画一フレームがデコードされて展開されることになる。 Then, one video frame (any of a series of video frames) on the CGROM 55 specified by the TXLOAD command is first acquired in the AAC area (a), and then automatically activated by the GDEC (graphics decoder) 75. , One frame of the acquired video is decoded and expanded in the index space (i) of the page area (b).

一方、本実施例では、Iストリーム動画については、静止画と同一扱いとしており、SETINDEXコマンドによって、「Iストリーム動画MVjのデコード先は、第一AAC領域(a1)である」と指定して、TXLOADコマンドを実行させる。その結果、動画フレームは第一AAC領域(a1)に取得され、その後、自動的に起動するGDEC75が、第一ACC領域(a1)にデコードデータを展開している。先に説明した通り、AAC領域(a) のインデックス空間は、自動的に生成されるので、インデックス番号を指定する必要はない。なお、インデックス空間に必要となる展開ボリューム、つまり、デコードされたテクスチャ(動画フレーム)の水平サイズと垂直サイズは、展開先がAAC領域(a) か、ページ領域(b) かに拘らず、TXLOADコマンドによって特定される。 On the other hand, in this embodiment, the I-stream moving image is treated in the same way as the still image, and the SETINDEX command is used to specify that "the decoding destination of the I-stream moving image MVj is the first AAC area (a1)". Execute the TXLOAD command. As a result, the moving image frame is acquired in the first AAC area (a1), and then the automatically activated GDEC75 develops the decoded data in the first ACC area (a1). As described above, the index space of the AAC area (a) is automatically generated, so it is not necessary to specify the index number. The expansion volume required for the index space, that is, the horizontal size and vertical size of the decoded texture (video frame), is TXLOAD regardless of whether the expansion destination is the AAC area (a) or the page area (b). Specified by the command.

ところで、IPストリーム動画MViやIストリーム動画MVjは、一般にN枚の動画フレーム(IフレームやPフレーム)で構成されている。そのため、TXLOADコマンドでは、例えば、k枚目(1≦k≦N)の動画フレームが記憶されているCGROM55のSourceアドレスと、展開後の水平・垂直サイズなどを指定することになる。何ら限定されないが、静止画を殆ど使用しない実施例では、内蔵VRAM71のアドレス空間48Mバイトの大部分(30Mバイト程度)をページ領域(b) に割り当てている。そして、静止画を殆ど使用しない実施例では、AAC領域として、第一AAC領域(a1)だけを確保し、第二AAC領域(a2)を確保せず、また、前記したAAC領域のキャッシュヒット機能も活用しない。 By the way, the IP stream moving image MVi and the I stream moving image MVj are generally composed of N moving image frames (I frame and P frame). Therefore, in the TXLOAD command, for example, the Source address of the CGROM 55 in which the kth (1 ≦ k ≦ N) moving image frame is stored, the horizontal / vertical size after expansion, and the like are specified. Although not limited in any way, in the embodiment in which the still image is scarcely used, most of the address space of the built-in VRAM 71 (about 30 Mbytes) is allocated to the page area (b). Then, in the embodiment in which the still image is hardly used, only the first AAC region (a1) is secured as the AAC region, the second AAC region (a2) is not secured, and the cache hit function of the above-mentioned AAC region is secured. Do not utilize.

なお、圧縮動画データのデコード処理を高速化するため、専用のGDEC(グラフィックスデコーダ)回路を設けることも考えられる。そして、専用のGDEC回路をVDP回路52に内蔵させれば、N枚の圧縮動画フレームで構成された圧縮動画データのデコード処理において、動画圧縮データの先頭アドレスをGDEC回路に指示すれば足りるので、N枚の圧縮動画フレームについて、1枚ごとに先頭アドレスを指定する必要がなくなる。 In addition, in order to speed up the decoding process of the compressed moving image data, it is conceivable to provide a dedicated GDEC (graphics decoder) circuit. Then, if a dedicated GDEC circuit is built in the VDP circuit 52, it is sufficient to indicate the start address of the video compressed data to the GDEC circuit in the decoding process of the compressed video data composed of N compressed video frames. It is not necessary to specify the start address for each of N compressed video frames.

しかし、このような専用のGDEC回路を、圧縮アルゴリズム毎に複数個内蔵させるのでは、VDP回路52の内部構成が更に複雑化する。そこで、本実施例では、ソフトウェアGDECとし、IPストリーム動画、Iストリーム動画、静止画、その他α値などのデータについて、各圧縮アルゴリズムに対応するソフトウェア処理によってデコード処理を実現している。なお、ハードウェア処理とソフトウェア処理の処理時間差は、あまり問題にならず、処理時間が問題になるのは、もっぱら、CGROM55からのアクセス(READ)タイムである。 However, if a plurality of such dedicated GDEC circuits are built in for each compression algorithm, the internal configuration of the VDP circuit 52 becomes more complicated. Therefore, in this embodiment, software GDEC is used, and decoding processing is realized for data such as IP stream moving image, I stream moving image, still image, and other α values by software processing corresponding to each compression algorithm. The processing time difference between the hardware processing and the software processing does not matter so much, and the processing time becomes a problem mainly in the access (READ) time from the CGROM 55.

続いて、図14(a)に戻って説明を続けると、データ転送回路72は、VDP回路内部のリソース(記憶媒体)と外部記憶媒体を、転送元ポート又は転送先ポートとして、これらの間でDMA(Direct Memory Access)的にデータ転送動作を実行する回路である。図19は、このデータ転送回路72の内部構成を、関連する回路構成と共に記載したブロック図である。 Subsequently, returning to FIG. 14A and continuing the description, the data transfer circuit 72 uses a resource (storage medium) inside the VDP circuit and an external storage medium as a transfer source port or a transfer destination port between them. It is a circuit that executes a data transfer operation like DMA (Direct Memory Access). FIG. 19 is a block diagram showing the internal configuration of the data transfer circuit 72 together with the related circuit configurations.

図19に示す通り、データ転送回路72は、ルータ機能を有する統合接続バスICMを経由して、CGROM55、DRAM54、及び、内蔵VRAM71とデータを送受信するよう構成されている。なお、CGROM55とDRAM54は、CGバスIF部82や、DMAMIF部83を経由してアクセスされる。 As shown in FIG. 19, the data transfer circuit 72 is configured to transmit / receive data to / from the CGROM 55, the DRAM 54, and the built-in VRAM 71 via the integrated connection bus ICM having a router function. The CGROM 55 and the DRAM 54 are accessed via the CG bus IF unit 82 and the DMAMIF unit 83.

一方、CPU回路51は、データ転送回路72に内蔵された転送ポートレジスタTR_PORT を経由して、描画回路76やプリローダ73にディスプレイリストDLを発行している。なお、CPU回路51とデータ転送回路72は、双方向に接続されているが、ディスプレイリストDLの発行時には、転送ポートレジスタTR_PORT は、ディスプレイリストDLを構成する一単位のデータを受け入れるデータ書き込みポートとして機能する。なお、転送ポートレジスタTR_PORT の書込み単位(一単位データ長)は、CPUバス制御部72dのFIFO構造に対応して32bitとなる。 On the other hand, the CPU circuit 51 issues a display list DL to the drawing circuit 76 and the preloader 73 via the transfer port register TR_PORT built in the data transfer circuit 72. The CPU circuit 51 and the data transfer circuit 72 are connected in both directions, but when the display list DL is issued, the transfer port register TR_PORT serves as a data write port that accepts one unit of data constituting the display list DL. Function. The write unit (one unit data length) of the transfer port register TR_PORT is 32 bits corresponding to the FIFO structure of the CPU bus control unit 72d.

図示の通り、演出制御CPU63は、CPUIF部81を経由して、転送ポートレジスタTR_PORT をWRITE アクセスできる一方、DMAC回路60を活用する場合には、DMAC回路60が、転送ポートレジスタTR_PORT を直接的にWRITE アクセスすることになる。そして、転送ポートレジスタTR_PORT に書込まれた一連の指示コマンド(つまり、ディスプレイリストDLを構成する指示コマンド列)は、32bit単位で、FIFO構造(32bit×130段)のFIFOバッファを内蔵したCPUバス制御部72dに、自動蓄積されるよう構成されている。 As shown in the figure, the effect control CPU 63 can access the transfer port register TR_PORT by WRITE via the CPUIF unit 81, while when the DMAC circuit 60 is utilized, the DMAC circuit 60 directly accesses the transfer port register TR_PORT. WRITE access will be made. A series of instruction commands (that is, instruction command sequences constituting the display list DL) written in the transfer port register TR_PORT is a CPU bus containing a FIFO buffer having a FIFO structure (32 bits x 130 stages) in units of 32 bits. It is configured to be automatically stored in the control unit 72d.

また、このデータ転送回路72は、3チャンネルChA〜ChCの伝送経路で、データの送受信動作を実行しており、FIFO構造(64bit×N段)のFIFOバッファを有するChA制御回路72a(N=130段)と、ChB制御回路72b(N=1026段)と、ChC制御回路72c(N=130段)と、を有している。 Further, the data transfer circuit 72 executes a data transmission / reception operation on a transmission path of 3 channels ChA to ChC, and has a FIFO buffer having a FIFO structure (64 bits × N stages) ChA control circuit 72a (N = 130). Stage), a ChB control circuit 72b (N = 1026 stages), and a ChC control circuit 72c (N = 130 stages).

そして、CPUバス制御部72dに蓄積された指示コマンド列(ディスプレイリストDL)は、演出制御CPU63によるデータ転送レジスタRGij(各種制御レジスタ70の一種)への設定値に基づき、描画回路76か、又はプリローダ73に転送される。矢印で示す通り、ディスプレイリストDLは、CPUバス制御部72dから、ChB制御回路72bのFIFOバッファを経由して描画回路76に転送され、ChC制御回路72cのFIFOバッファを経由してプリローダ73に転送されるよう構成されている。 Then, the instruction command sequence (display list DL) accumulated in the CPU bus control unit 72d is the drawing circuit 76 or the drawing circuit 76 based on the set value in the data transfer register RGij (a kind of various control registers 70) by the effect control CPU 63. It is transferred to the preloader 73. As shown by the arrows, the display list DL is transferred from the CPU bus control unit 72d to the drawing circuit 76 via the FIFO buffer of the ChB control circuit 72b, and transferred to the preloader 73 via the FIFO buffer of the ChC control circuit 72c. It is configured to be.

なお、本実施例では、ChB制御回路72bと、ChC制御回路72bは、ディスプレイリストDLの転送動作に特化されており、CPUバス制御部72dのFIFOバッファに蓄積されたデータは、ChB制御回路72bか、ChC制御回路72cのFIFOバッファを経由して、各々、ディスプレイリストDLの一部として、描画回路76かプリローダ73のディスプレイリストアナライザ(Display List Analyzer )に転送される。 In this embodiment, the ChB control circuit 72b and the ChC control circuit 72b are specialized in the transfer operation of the display list DL, and the data stored in the FIFO buffer of the CPU bus control unit 72d is the ChB control circuit. It is transferred to the drawing circuit 76 or the display list analyzer (Display List Analyzer) of the preloader 73 as a part of the display list DL, respectively, via the 72b or the FIFO buffer of the ChC control circuit 72c.

そして、描画回路76は、転送されたディスプレイリストDLに基づいた描画動作を開始する。一方、プリローダ73は、転送されたディスプレイリストDLに基づき、必要なプリロード動作を実行する。プリロード動作によってCGROM55のCGデータが、DRAM54に確保されたプリロード領域に先読みされ、TXLOADコマンドなどに関して、テクスチャのSourceアドレスを変更したディスプレイリストDL(以下、書換えリストDL’という)が、DRAM54に確保されたDLバッファ領域BUF’に保存される。 Then, the drawing circuit 76 starts a drawing operation based on the transferred display list DL. On the other hand, the preloader 73 executes a necessary preload operation based on the transferred display list DL. The CG data of the CGROM 55 is pre-read in the preload area reserved in the DRAM 54 by the preload operation, and the display list DL (hereinafter referred to as the rewrite list DL') in which the source address of the texture is changed is secured in the DRAM 54 with respect to the TXLOAD command or the like. It is saved in the DL buffer area BUF'.

一方、CGROM55、DRAM54、及び、内蔵VRAM71などの記憶媒体の間のデータ転送には、ChA制御回路72aと、接続バスアクセス調停回路72eとが機能する。また、インデックステーブルIDXTBLのアドレス情報が必要になる内蔵VRAM71のアクセス時には、IDXTBLアクセス調停回路72fが機能する。具体的に確認すると、ChA制御回路72aは、例えば、(a)CGROM55の圧縮データを内蔵VRAM71に転送する場合や、(b)CGROM55の圧縮データをプリロード(先読み)して外付けDRAM54に転送する場合や、(c)プリロード領域の先読みデータを、内蔵VRAM71に転送する場合に機能する。 On the other hand, the ChA control circuit 72a and the connection bus access arbitration circuit 72e function for data transfer between storage media such as the CGROM 55, the DRAM 54, and the built-in VRAM 71. Further, the IDXTBL access arbitration circuit 72f functions when the built-in VRAM 71, which requires the address information of the index table IDXTBL, is accessed. Specifically, the ChA control circuit 72a may, for example, (a) transfer the compressed data of the CGROM 55 to the built-in VRAM 71, or (b) preload (pre-read) the compressed data of the CGROM 55 and transfer the compressed data to the external DRAM 54. In some cases, or (c) it functions when transferring the look-ahead data in the preload area to the built-in VRAM 71.

ここで、ChA制御回路72aは、ChB制御回路72bやChC制御回路72cと並行して動作可能に構成されており、上記した(a)〜(c)の動作は、ディスプレイリストDLの発行動作(図26のST8,図23のPT11)や、書換えリストDL’の転送動作(図23のPT10)と並行して実行可能となる。また、ChB制御回路72bとChC制御回路72cも、同時実行可能であり、例えば、ChB制御回路72bが機能する図23のステップPT10の処理と、ChC制御回路72cが機能するステップPT11の処理は並行して実行可能である。但し、転送ポートレジスタTR_PORT は単一であるので、何れか一方(72b/72c)が転送ポートレジスタTR_PORT を使用しているタイミングでは、他方(72c/72b)は、転送ポートレジスタTR_PORT をアクセスすることはできない。 Here, the ChA control circuit 72a is configured to be operable in parallel with the ChB control circuit 72b and the ChC control circuit 72c, and the above-mentioned operations (a) to (c) are the display list DL issuance operations ( It can be executed in parallel with ST8 in FIG. 26, PT11 in FIG. 23) and the transfer operation of the rewrite list DL'(PT10 in FIG. 23). Further, the ChB control circuit 72b and the ChC control circuit 72c can also be executed at the same time. For example, the processing of step PT10 in FIG. 23 in which the ChB control circuit 72b functions and the processing in step PT11 in which the ChC control circuit 72c functions are parallel. It is feasible. However, since the transfer port register TR_PORT is single, when one of them (72b / 72c) is using the transfer port register TR_PORT, the other (72c / 72b) must access the transfer port register TR_PORT. Can't.

なお、ChA制御回路72aの動作時に、接続バスアクセス調停回路72eは、統合接続バスICMを経由する各記憶素子(CGROM55、DRAM54)とのデータ伝送を調停(Arbitration )している。一方、IDXTBLアクセス調停回路72fは、インデックステーブルIDXTBLに基づいてChA制御回路72aを制御することで、内蔵VRAM71とのデータ交信を調停している。なお、プリローダ73が機能する実施例の場合、DRAM54のDLバッファ領域BUF’に保存された書換えリストDL’は、接続バスアクセス調停回路72eと、ChB制御回路72bを経由して描画回路76に転送されることになる(図24(b)参照)。 When the ChA control circuit 72a is operating, the connection bus access arbitration circuit 72e arbitrates data transmission with each storage element (CGROM55, DRAM54) via the integrated connection bus ICM. On the other hand, the IDXTBL access arbitration circuit 72f arbitrates data communication with the built-in VRAM 71 by controlling the ChA control circuit 72a based on the index table IDXTBL. In the case of the embodiment in which the preloader 73 functions, the rewrite list DL'stored in the DL buffer area BUF' of the DRAM 54 is transferred to the drawing circuit 76 via the connection bus access arbitration circuit 72e and the ChB control circuit 72b. (See FIG. 24 (b)).

上記の通り、本実施例のデータ転送回路72は、各種の記憶リソース(Resource)から任意に選択されたデータ転送元と、各種の記憶リソース(Resource)から任意に選択されたデータ転送先との間で、高速のデータ転送を実現している。図19から確認される通り、データ転送回路72が機能する記憶リソースには、内蔵VRAM71だけでなく、CPUIF部56、CGバスIF部82、DRAMIF部83を経由する外部デバイスも含まれる。 As described above, the data transfer circuit 72 of the present embodiment has a data transfer source arbitrarily selected from various storage resources (Resource) and a data transfer destination arbitrarily selected from various storage resources (Resource). High-speed data transfer is realized between them. As confirmed from FIG. 19, the storage resource in which the data transfer circuit 72 functions includes not only the built-in VRAM 71 but also an external device via the CPU IF unit 56, the CG bus IF unit 82, and the DRAM IF unit 83.

そして、CGROM55から1回に取得すべきデータ量(メモリシーケンシャルREAD)のように、ChA制御回路72aが機能する外部デバイスとのデータ転送量は、ChB制御回路72bやChC制御回路72cが機能するディスプレイリストDLの場合と比較して膨大であり、互いに、データ転送量が大きく相違する。 Then, the amount of data transferred from the CGROM 55 to an external device on which the ChA control circuit 72a functions, such as the amount of data to be acquired at one time (memory sequential READ), is the display on which the ChB control circuit 72b and the ChC control circuit 72c function. It is enormous as compared with the case of the list DL, and the amount of data transfer differs greatly from each other.

ここで、これら各種のデータ転送について、単位データ量や総転送データ量を、細かく設定可能に構成することも考えらえるが、これでは、VDP内部の制御動作が煩雑化し、円滑な転送動作が阻害される。そこで、本実施例では、データ転送の最低データ量Dminを一意に規定すると共に、総転送データ量を、最低データ量DTminの整数倍となるよう制限することで、高速で円滑なデータ転送動作を実現している。特に限定されないが、実施例のデータ転送回路72では、最低データ量Dmin(単位データ量)を、256バイトとし、総転送データ量を、この整数倍に制限することにしている。 Here, for these various types of data transfer, it is conceivable that the unit data amount and the total transfer data amount can be set in detail, but this complicates the control operation inside the VDP and enables smooth transfer operation. Be hindered. Therefore, in this embodiment, the minimum data amount Dmin for data transfer is uniquely defined, and the total transfer data amount is limited to an integral multiple of the minimum data amount DTmin, so that high-speed and smooth data transfer operation can be performed. It has been realized. Although not particularly limited, in the data transfer circuit 72 of the embodiment, the minimum data amount Dmin (unit data amount) is set to 256 bytes, and the total transfer data amount is limited to an integral multiple of this.

したがって、32bit毎にCPUバス制御部72dのFIFOバッファに蓄積されたディスプレイリストDLの指示コマンド列は、その総量が最低データ量Dminに達したタイミングで、ChB制御回路72bやChC制御回路72bに転送され、各々のFIFOバッファに蓄積されることになる。 Therefore, the instruction command sequence of the display list DL stored in the FIFO buffer of the CPU bus control unit 72d every 32 bits is transferred to the ChB control circuit 72b or the ChC control circuit 72b at the timing when the total amount reaches the minimum data amount Dmin. Will be stored in each FIFO buffer.

ディスプレイリストDLは、一連の指示コマンドで構成されているが、本実施例では、転送ポートレジスタTR_PORT の書込み単位(32bit)に対応して、ディスプレイリストDLは、コマンド長が、32bitの整数N倍(N>0)の指示コマンドのみで構成されている。したがって、データ転送回路72を経由して、ディスプレイリストDLの指示コマンドを受ける描画回路76やプリローダ73は、素早く円滑にコマンド解析処理(DL analyze)を開始することができる。なお、32bitの整数N倍のコマンド長は、その全てが有意ビットとは限らず、無意ビット(Don't care bit)も含んで、32bitの整数N倍という意味である。 The display list DL is composed of a series of instruction commands. In this embodiment, the command length of the display list DL is an integer N times of 32 bits, corresponding to the write unit (32 bits) of the transfer port register TR_PORT. It consists only of the instruction command (N> 0). Therefore, the drawing circuit 76 and the preloader 73 that receive the instruction command of the display list DL via the data transfer circuit 72 can start the command analysis process (DL analyze) quickly and smoothly. The command length of 32 bits, which is an integer N times, does not mean that all of them are significant bits, and includes a don't care bit, which means that the command length is an integer N times of 32 bits.

次に、プリローダ73について説明する。先に概略説明した通り、プリローダ73は、データ転送回路72(ChC制御回路72b)から転送されたディスプレイリストDLを解釈して、TXLOADコマンドが参照しているCGROM55上のCGデータを、予め、DRAM54のプリロード領域に転送する回路である。また、プリローダ73は、このTXLOADコマンドに関し、CGデータの参照先を、転送後のアドレスに書換えた書換えリストDL’を、DRAM54のDLバッファBUF’に記憶する。なお、DLバッファBUF’や、プリロード領域は、CPUリセット後の初期処理時(図26のST3)に、予め確保されている。 Next, the preloader 73 will be described. As outlined above, the preloader 73 interprets the display list DL transferred from the data transfer circuit 72 (ChC control circuit 72b) and preliminarily converts the CG data on the CGROM 55 referenced by the TXLOAD command into the DRAM 54. It is a circuit to transfer to the preload area of. Further, regarding this TXLOAD command, the preloader 73 stores the rewrite list DL'in which the reference destination of the CG data is rewritten to the address after the transfer in the DL buffer BUF' of the DRAM 54. The DL buffer BUF'and the preload area are reserved in advance at the time of initial processing after the CPU reset (ST3 in FIG. 26).

そして、書換えリストDL’は、描画回路76の描画動作の開始時に、データ転送回路72の接続バスアクセス調停回路72eや、ChB制御回路72bを経由して、描画回路76のディスプレイリストアナライザ(DL Analyzer )に転送される。そして、描画回路76は、書換えリストDL’に基づいて、描画動作を実行する。したがって、TXLOADコマンドなどに基づき、本来は、CGROM55から取得すべきCGデータが、プリロード領域に先読みされているプリロードデータとして、DRAM54のプリロード領域から取得される。この場合、プリロードデータは、上書き消去されない限り、繰り返し使用可能であり、プリロード領域にキャッシュヒットしたプリロードデータは、繰り返し再利用される。 Then, the rewrite list DL'is set in the display list analyzer (DL Analyzer) of the drawing circuit 76 via the connection bus access arbitration circuit 72e of the data transfer circuit 72 and the ChB control circuit 72b at the start of the drawing operation of the drawing circuit 76. ) Is transferred to. Then, the drawing circuit 76 executes the drawing operation based on the rewrite list DL'. Therefore, based on the TXLOAD command or the like, the CG data that should be originally acquired from the CGROM 55 is acquired from the preload area of the DRAM 54 as the preload data that is pre-read in the preload area. In this case, the preload data can be used repeatedly unless it is overwritten and erased, and the preload data cache-hit in the preload area is repeatedly reused.

本実施例では、十分な記憶容量を有する外付けDRAM54にプリロード領域を設定しているので、上記のキャッシュヒット機能が有効に機能する。また、外付けDRAM54の記憶容量が大きいので、例えば、複数フレーム分のCGデータを一気にプリロードする多重プリロードも可能である。すなわち、プリローダ73の動作期間に関し、CGデータの先読み動作を含んだ一連のプリロード動作の動作期間を、VDP回路52の間欠動作時の動作周期δの整数倍の範囲内で、適宜に設定することで多重プリロードが実現される。 In this embodiment, since the preload area is set in the external DRAM 54 having a sufficient storage capacity, the above cache hit function functions effectively. Further, since the storage capacity of the external DRAM 54 is large, for example, multiple preloads that preload CG data for a plurality of frames at once are possible. That is, with respect to the operation period of the preloader 73, the operation period of a series of preload operations including the look-ahead operation of CG data is appropriately set within a range of an integral multiple of the operation cycle δ during the intermittent operation of the VDP circuit 52. Multiple preloads are realized with.

但し、以下の説明では、便宜上、多重プリロードのない実施例について説明するので、実施例のプリローダ73は、一動作周期(δ)の間に、一フレーム分のプリロード動作を完了することにする。なお、図26に関し後述するように、本実施例では、VDP回路52の間欠動作時の動作周期δは、表示装置DS1の垂直同期信号の2倍周期である1/30秒である。 However, in the following description, for convenience, an embodiment without multiple preloads will be described. Therefore, the preloader 73 of the embodiment will complete the preload operation for one frame during one operation cycle (δ). As will be described later with reference to FIG. 26, in this embodiment, the operation cycle δ during the intermittent operation of the VDP circuit 52 is 1/30 second, which is twice the cycle of the vertical synchronization signal of the display device DS1.

次に、描画回路76は、データ転送回路72を経由して転送されたディスプレイリストDLや書換えリストDL’の指示コマンド列を順番に解析して、グラフィックスデコーダ75やジオメトリエンジン77などと協働して、VRAM71に形成されたフレームバッファに、各表示装置DS1,DS2の一フレーム分の画像を描画する回路である。 Next, the drawing circuit 76 sequentially analyzes the instruction command sequences of the display list DL and the rewriting list DL'transferred via the data transfer circuit 72, and cooperates with the graphics decoder 75, the geometry engine 77, and the like. Then, the circuit draws an image for one frame of each display device DS1 and DS2 in the frame buffer formed in the VRAM 71.

上記の通り、プリローダ73を機能させる実施例では、書換えリストDL’のCGデータの参照先は、CGROM55ではなく、DRAM54に設定されたプリロード領域である。そのため、描画回路76による描画の実行中に生じるCGデータへのシーケンシャルアクセスを迅速に実行することができ、動きの激しい高解像度の動画についても問題なく描画することができる。すなわち、本実施例によれば、CGROM55として、安価なSATAモジュールを活用しつつ、複雑高度な画像演出を実行することができる。 As described above, in the embodiment in which the preloader 73 functions, the reference destination of the CG data in the rewrite list DL'is not the CGROM 55 but the preload area set in the DRAM 54. Therefore, the sequential access to the CG data generated during the execution of drawing by the drawing circuit 76 can be quickly executed, and even a high-resolution moving image with intense movement can be drawn without any problem. That is, according to this embodiment, as the CGROM 55, it is possible to perform complicated and advanced image production while utilizing an inexpensive SATA module.

ところで、プリローダ73を機能させるか否かに拘らず、ディスプレイリストDLや書換えリストDL’の転送時に、仮にデータ化けが発生しても、描画回路76は、これを検出することはできない。また、ノイズなどの影響で、描画回路76がフリーズして、内蔵VRAM71のREAD/WRITE アクセスが異常停止することも有り得る。そこで、本実施例では、描画回路76が不合理な指示コマンド(analyze 不能のビット並び)を検出した場合や、一定期間、内蔵VRAM71に対してREAD/WRITE アクセスがない場合には、描画異常割込みを発生させるよう構成されている(描画異常割込みが許可状態)。なお、この点は、図26(d)に関して後述する。 By the way, regardless of whether or not the preloader 73 is made to function, even if data garbled occurs during transfer of the display list DL or the rewrite list DL', the drawing circuit 76 cannot detect this. In addition, the drawing circuit 76 may freeze due to the influence of noise or the like, and the READ / WRITE access of the built-in VRAM 71 may stop abnormally. Therefore, in this embodiment, if the drawing circuit 76 detects an irrational instruction command (bit sequence that cannot be analyzed), or if there is no READ / WRITE access to the built-in VRAM 71 for a certain period of time, a drawing abnormality interrupt is interrupted. Is configured to generate (drawing error interrupt is enabled). This point will be described later with reference to FIG. 26 (d).

次に、図18に関して説明した通り、VRAM71の任意領域(c) に確保されたフレームバッファFBは、描画領域と読出領域に区分されたダブルバッファであり、2つの領域を、交互に用途を切り替えて使用する。また、本実施例では、2つの表示装置DS1,DS2が接続されているので、図18に示す通り、2区画のフレームバッファFBa/FBbが確保されている。したがって、描画回路76は、表示装置DS1用のフレームバッファFBaの描画領域(書込み領域)に、一フレーム分の画像データを描画すると共に、表示装置DS2用のフレームバッファFBaの描画領域(書込み領域)に、一フレーム分の画像データを描画することになる。なお、描画領域に、画像データが書込まれているとき、表示回路74は、他方の読出領域(表示領域)の画像データを読み出して、各表示装置DS1,DS2に出力する。 Next, as described with reference to FIG. 18, the frame buffer FB secured in the arbitrary area (c) of the VRAM 71 is a double buffer divided into a drawing area and a reading area, and the two areas are alternately used. To use. Further, in this embodiment, since the two display devices DS1 and DS2 are connected, the frame buffers FBa / FBb of two sections are secured as shown in FIG. Therefore, the drawing circuit 76 draws one frame of image data in the drawing area (writing area) of the frame buffer FBa for the display device DS1 and draws the image data of the frame buffer FBa for the display device DS2 (writing area). In addition, one frame of image data will be drawn. When the image data is written in the drawing area, the display circuit 74 reads the image data in the other read area (display area) and outputs the image data to the display devices DS1 and DS2.

表示回路74は、フレームバッファFBa,FBbの画像データを読み出して、最終的な画像処理を施した上で出力する回路である(図20)参照)。最終的な画像処理には、例えば、画像を拡大/縮小するスケーラのスケーリング処理、微妙なカラー補正処理、画像全体の量子化誤差が最小化するディザリング処理が含まれている。そして、これらの画像処理を経たデジタルRGB信号(合計24bit)が、水平同期信号や垂直同期信号と共に出力される。図20に示す通り、本実施例では、上記の動作を並列的に実行する3系統の表示回路A/B/Cが設けられており、各表示回路74A〜74Cは、各々に対応するフレームバッファFBa/FBb/FBcの画像データを読み出して、上記の最終画像処理を実行する。但し、本実施例では、表示装置は2個であるので、フレームバッファFBcは確保されておらず、表示回路74Cが機能することもない。 The display circuit 74 is a circuit that reads out the image data of the frame buffers FBa and FBb, performs final image processing, and outputs the image data (see FIG. 20). The final image processing includes, for example, a scaler scaling process for enlarging / reducing the image, a subtle color correction process, and a dithering process for minimizing the quantization error of the entire image. Then, the digital RGB signals (24 bits in total) that have undergone these image processing are output together with the horizontal synchronization signal and the vertical synchronization signal. As shown in FIG. 20, in this embodiment, three display circuits A / B / C for executing the above operations in parallel are provided, and each display circuits 74A to 74C have frame buffers corresponding to the respective display circuits 74A to 74C. The image data of FBa / FBb / FBc is read out, and the above final image processing is executed. However, in this embodiment, since there are two display devices, the frame buffer FBc is not secured and the display circuit 74C does not function.

この動作に関連して、この実施例の出力選択部79は、表示回路74Aの出力信号を、LVDS部80aに伝送し、表示回路74Bの出力信号を、LVDS部80bに伝送している(図20)。そして、LVDS部80aは、画像データ(合計24bitのデジタルRGB信号)をLVDS信号に変換して、クロック信号を伝送する一対を加えて、全五対の差動信号としてメイン表示装置DS1に出力している。なお、メイン表示装置DS1には、LVDS信号の変換受信部RVが内蔵されており、LVDS信号からRGB信号を復元して、表示回路74Aの出力に対応する画像を表示している。 In connection with this operation, the output selection unit 79 of this embodiment transmits the output signal of the display circuit 74A to the LVDS unit 80a, and transmits the output signal of the display circuit 74B to the LVDS unit 80b (FIG. FIG. 20). Then, the LVDS unit 80a converts the image data (a total of 24 bits of digital RGB signals) into an LVDS signal, adds a pair for transmitting the clock signal, and outputs a total of five pairs of differential signals to the main display device DS1. ing. The main display device DS1 has a built-in LVDS signal conversion receiving unit RV, which restores an RGB signal from the LVDS signal and displays an image corresponding to the output of the display circuit 74A.

この点は、LVDS部80bも同様であり、各8bitのデジタルRGB信号の合計24bitについて、クロック信号を伝送する一対を加えて、全五対の差動信号として変換受信部RVに出力し、サブ表示装置DS2が変換受信部RVから受ける合計24bitのRGB信号による画像表示を実現している。そのため、サブ表示装置DS2と、メイン表示装置DS1は、2*2*2の解像度を有することになる。 This point is the same for the LVDS unit 80b, and for a total of 24 bits of each 8 bits of digital RGB signals, a pair for transmitting a clock signal is added and output to the conversion receiving unit RV as a total of 5 pairs of differential signals, and a sub. The display device DS2 realizes image display by a total of 24 bits of RGB signals received from the conversion receiving unit RV. Therefore, the sub-display device DS2, the main display device DS1 will have two 8 * 2 8 * 2 8 resolution.

なお、必ずしもLVDS信号とする必要は無く、例えば伝送距離が短い場合には、デジタルRGB信号を、デジタルRGB部80cを経由して、そのまま表示装置に伝送するか、或いは、伝送距離が長い場合には、デジタルRGB信号を、変換送信部TR’において、V−By−one(登録商標)信号に変換して変換受信部RV’に伝送した後、変換受信部RV’においてデジタルRGB信号に戻すのも好適である。なお、図20の破線は、この動作態様を示しているが、出力選択部79の動作を適宜に設定することで、表示回路74A〜74Cの何れの出力信号であっても上記の動作が可能となる。 It is not always necessary to use an LVDS signal. For example, when the transmission distance is short, the digital RGB signal is transmitted to the display device as it is via the digital RGB unit 80c, or when the transmission distance is long. Converts a digital RGB signal into a V-By-one (registered trademark) signal in the conversion transmitting unit TR'and transmits it to the conversion receiving unit RV', and then returns it to the digital RGB signal in the conversion receiving unit RV'. Is also suitable. Although the broken line in FIG. 20 shows this operation mode, the above operation can be performed with any output signal of the display circuits 74A to 74C by appropriately setting the operation of the output selection unit 79. It becomes.

ところで、本実施例の場合、各表示回路74A〜74Bには、表示タイミングに対して、表示データの生成が間に合わなかったUnderrun異常をカウントするアンダーランカウンタURCNTa〜URCNTcが設けられている(図20参照)。そして、このアンダーランカウンタURCNTa〜URCNTcのカウンタ値は、アンダーラン異常が発生するとVBLANK毎に自動的に加算されるよう構成されている。 By the way, in the case of this embodiment, the display circuits 74A to 74B are provided with underrun counters URCNTa to URCNTc for counting the Underrun abnormality in which the display data is not generated in time for the display timing (FIG. 20). reference). The counter values of the underrun counters URCNTa to URCNTc are configured to be automatically added for each VBLANK when an underrun abnormality occurs.

次に、SMC部78(Serial Management Controller)は、LEDコントローラとMotorコントローラとを内蔵した複合コントローラである。そして、外部基板に搭載したLED/Motorドライバ(シフトレジスタを内蔵するドライバIC)に対して、クロック信号に同期してLED駆動信号やモータ駆動信号を出力する一方、適宜なタイミングで、ラッチパルスを出力可能に構成されている。 Next, the SMC unit 78 (Serial Management Controller) is a composite controller incorporating an LED controller and a Motor controller. Then, while outputting the LED drive signal and the motor drive signal in synchronization with the clock signal to the LED / Motor driver (driver IC with a built-in shift register) mounted on the external board, the latch pulse is output at an appropriate timing. It is configured to be outputable.

上記したVDP回路52の内部回路及びその動作に関し、内部回路が実行すべき動作内容は、演出制御CPU63が、制御レジスタ群70に設定する動作パラメータ(設定値)で規定され、VDP回路52の実行状態は、制御レジスタ群70の動作ステイタス値をREADすることで特定できるようになっている。制御レジスタ群70は、演出制御CPU63のメモリマップ上、1Mバイト程度のアドレス空間(0〜FFFFFH)にマッピングされた多数のVDPレジスタRGijを意味し、演出制御CPU63は、CPUIF部81を経由して動作パラメータのWRITE (設定)動作と、動作ステイタス値のREAD動作を実行するようになっている(図14(b)参照)。 Regarding the internal circuit of the VDP circuit 52 and its operation described above, the operation content to be executed by the internal circuit is defined by the operation parameters (set values) set by the effect control CPU 63 in the control register group 70, and the execution of the VDP circuit 52. The state can be specified by reading the operation status value of the control register group 70. The control register group 70 means a large number of VDP registers RGij mapped in an address space (0 to FFFFFH) of about 1 Mbyte on the memory map of the effect control CPU 63, and the effect control CPU 63 passes through the CPU IF unit 81. The operation parameter WRITE (setting) operation and the operation status value READ operation are executed (see FIG. 14B).

制御レジスタ群70(VDPレジスタRGij)には、割り込み動作などシステム動作に関する初期設定値が書込まれる「システム制御レジスタ」と、内蔵VRAMにAAC領域(a) やページ領域(b) を確定する共に、インデックステーブルIDXTBLを構築又は変更などに関する「インデックステーブルレジスタ」と、演出制御CPU63とVDP回路52の内部回路との間のデータ転送回路72によるデータ転送処理に関する設定値などが書込まれる「データ転送レジスタ」と、グラフィックスデコーダ75の実行状況を特定する「GDECレジスタ」と、指示コマンドや描画回路76に関する設定値が書込まれる「描画レジスタ」と、プリローダ73の動作に関する設定値が書込まれる「プリローダレジスタ」と、表示回路74の動作に関する設定値が書込まれる「表示レジスタ」と、LEDコントローラ(SMC部78)に関する設定値が書込まれる「LED制御レジスタ」と、Motorコントローラ(SMC部78)に関する設定値が書込まれる「モータ制御レジスタ」と、音声回路SNDに関する設定値が書込まれる「音声制御レジスタSRG」と、が含まれている。但し、本実施例では、音声回路SNDを活用していない。 In the control register group 70 (VDP register RGij), the "system control register" in which initial setting values related to system operations such as interrupt operation are written, and the AAC area (a) and page area (b) are determined in the built-in VRAM. , "Index table register" related to construction or modification of index table IDXTBL, and "data transfer" in which setting values related to data transfer processing by the data transfer circuit 72 between the effect control CPU 63 and the internal circuit of the VDP circuit 52 are written. The "register", the "GDEC register" that specifies the execution status of the graphics decoder 75, the "drawing register" in which the setting values related to the instruction command and the drawing circuit 76 are written, and the setting values related to the operation of the preloader 73 are written. A "preloader register", a "display register" in which setting values related to the operation of the display circuit 74 are written, an "LED control register" in which setting values related to the LED controller (SMC unit 78) are written, and a Motor controller (SMC). A "motor control register" in which the setting values related to the part 78) are written and a "voice control register SRG" in which the setting values related to the voice circuit SND are written are included. However, in this embodiment, the voice circuit SND is not utilized.

何れにしても、以下の説明では、制御レジスタ群70に含まれる一又は複数のレジスタRGijを、上記した個別名称で呼ぶ場合と、VDPレジスタRGijと総称することがあるが、何れにしても、演出制御CPU63は、所定のVDPレジスタRGijに、適宜な設定値を書込むことで、VDP回路52の内部動作を制御している。具体的には、演出制御CPU63は、適宜な時間間隔で更新するディスプレイリストDLと、所定のVDPレジスタRGijへの設定値に基づいて、所定の画像演出を実現している。なお、この実施例では、ランプ演出やモータ演出も含め、演出制御CPU63が担当するので、VDPレジスタRGijには、LED制御レジスタやモータ制御レジスタも含まれる。 In any case, in the following description, one or more registers RGij included in the control register group 70 may be referred to by the above-mentioned individual names or collectively referred to as VDP register RGij. The effect control CPU 63 controls the internal operation of the VDP circuit 52 by writing an appropriate set value to the predetermined VDP register RGij. Specifically, the effect control CPU 63 realizes a predetermined image effect based on the display list DL that is updated at an appropriate time interval and the set value in the predetermined VDP register RGij. In this embodiment, since the effect control CPU 63 is in charge of including the lamp effect and the motor effect, the VDP register RGij also includes the LED control register and the motor control register.

続いて、上記したCPU回路51とVDP回路52とを内蔵した複合チップ50によって実現される、画像演出、音声演出、モータ演出、及び、ランプ演出の統一的な演出制御動作について説明する。 Next, a unified effect control operation of image effect, sound effect, motor effect, and lamp effect realized by the composite chip 50 incorporating the CPU circuit 51 and the VDP circuit 52 described above will be described.

本実施例の場合、複合チップ50の動作は、電源投入や異常リセットによるパワーオンリセット動作(図21(a)参照)によって開始され、初期設定プログラム(ブートプログラム)Pinitによる初期設定処理(SP1〜SP9)を経て、演出制御プログラムMain及び割込み処理プログラム(ベクタハンドラ)Voptによるメイン制御処理(SP10)に移行するよう構成されている。メイン制御処理については、図23(a)に、その導入部の処理内容が記載されており、本体部の処理内容が図26(a)に記載されている。なお、図23のステップSP27の処理は、図26(a)のステップST1〜ST3の処理を含んでいる。 In the case of this embodiment, the operation of the composite chip 50 is started by a power-on reset operation (see FIG. 21 (a)) due to power-on or abnormal reset, and initial setting processing (SP1 to 1) by the initial setting program (boot program) Pinit. After SP9), it is configured to shift to the main control processing (SP10) by the effect control program Main and the interrupt processing program (vector handler) Reset. Regarding the main control process, the processing content of the introduction unit is shown in FIG. 23A, and the processing content of the main body unit is shown in FIG. 26A. The process of step SP27 in FIG. 23 includes the processes of steps ST1 to ST3 in FIG. 26 (a).

以上を踏まえて、パワーオンリセット動作について図21(a)に基づいて説明する。電源投入時など、システムリセット信号SYSが所定の期間(アサート期間)Lレベルを維持すると、全ての動作制御レジスタREGや、全てのVDPレジスタRGijは、所定のデフォルト値に自動設定される。そして、その後、システムリセット信号SYSがHレベル(ネゲートレベル)に変化すると、本実施例では、最初に、アドレス空間CS0の先頭番地からの32bitデータが、演出制御CPU63のプログラムカウンタPCに設定され、これに続く32bitデータが、スタックポインタSPに設定されるよう構成されている。なお、図16や図22(c)では、プログラムカウンタPCやスタックポインタSPの初期値を記憶するメモリの先頭領域をベクタテーブルVECTと称している。 Based on the above, the power-on reset operation will be described with reference to FIG. 21 (a). When the system reset signal SYSTEM maintains the L level for a predetermined period (assert period), such as when the power is turned on, all the operation control registers REG and all VDP registers RGij are automatically set to predetermined default values. After that, when the system reset signal SYS changes to the H level (negate level), in this embodiment, first, the 32-bit data from the start address of the address space CS0 is set in the program counter PC of the effect control CPU 63. Subsequent 32-bit data is configured to be set in the stack pointer SP. In FIGS. 16 and 22 (c), the head area of the memory for storing the initial values of the program counter PC and the stack pointer SP is referred to as a vector table VECT.

図21(b)に示す通り、このベクタテーブルVECTには、優先度と割込み要因などを特定するベクタ番号と、アドレス情報とが対応して記憶されている。ベクタ番号は、その番号が小さいほど優先度が高いが、例えば、ベクタ番号11は、マスク不能割込み(NMI)であって、アドレス情報として、NMI割込み時に実行される割込み処理プログラムの先頭アドレスが記憶されている。また、ベクタ番号64は、VDPからの内部割込み(VDP_IRQ0)であって、アドレス情報として、VDP_IRQ0割込み時に実行される割込み処理プログラムの先頭アドレスが記憶されている。 As shown in FIG. 21B, the vector table VECT stores the vector number for specifying the priority, the interrupt factor, and the like, and the address information in correspondence with each other. The smaller the vector number, the higher the priority. For example, the vector number 11 is an non-maskable interrupt (NMI), and the start address of the interrupt processing program executed at the time of NMI interrupt is stored as address information. Has been done. Further, vector number 64 is an internal interrupt (VDP_IRQ0) from VDP, and the start address of the interrupt processing program executed at the time of VDP_IRQ0 interrupt is stored as address information.

割込み優先度は、図23(d)に示す通りであるので、ベクタ番号64より小さいベクタ番号の欄には、制御コマンド受信割込みIRQ_CMD と、20μSタイマ割込みと、1mSタイマ割込みについて、割込み処理プログラムの先頭アドレスが各々記憶されていることになる。一方、ベクタ番号64より大きいベクタ番号の欄には、VDP_IRQ1より優先度が低い割込み処理プログラム(IRQ_SND ,IRQ_RTC など)の先頭アドレスが各々記憶されている。 Since the interrupt priority is as shown in FIG. 23 (d), in the column of the vector number smaller than the vector number 64, the control command reception interrupt IRQ_CMD, the 20 μS timer interrupt, and the 1 mS timer interrupt of the interrupt processing program Each start address is stored. On the other hand, the start addresses of interrupt processing programs (IRQ_SND, IRQ_RTC, etc.) having a lower priority than VDP_IRQ1 are stored in the vector number column higher than the vector number 64.

また、ベクタテーブルVECTにおいて、ベクタ番号0とベクタ番号1は、パワーオンリセット時にCPUのプログラムカウンタと、スタックポインタに自動設定されるべき、設定値が規定されている。図21(b)に示す通り、この実施例では、パワーオンリセット時(リセットアサート期間)の内部動作として、4バイトデータ「****」が、プログラムカウンタPCに設定され、4バイトデータ「++++」がスタックポインタSPに設定される。なお、「****」は、アドレス空間CS0に不揮発的に記憶されている初期設定プログラムPinit(図21のSP1〜SP9)の先頭アドレス値であり、「++++」は、内蔵RAM59に確保された、LIFO(Last-In First-Out )方式で機能するスタック領域の先端又は終端のアドレス値である。 Further, in the vector table VECT, vector number 0 and vector number 1 are defined as setting values that should be automatically set in the program counter of the CPU and the stack pointer at the time of power-on reset. As shown in FIG. 21B, in this embodiment, 4-byte data "*****" is set in the program counter PC as an internal operation at the time of power-on reset (reset assert period), and the 4-byte data "*****" is set. "++++" is set in the stack pointer SP. Note that "*****" is the start address value of the initial setting program Pinit (SP1 to SP9 in FIG. 21) that is non-volatilely stored in the address space CS0, and "++++" is secured in the built-in RAM 59. It is also the address value of the tip or end of the stack area that functions in the LIFO (Last-In First-Out) method.

なお、本実施例では、レジスタバンクRBiを有効活用するので、割込み処理時に、スタック領域が消費されることなく、それほどのメモリ容量は必要とされない。すなわち、本実施例では、スタック領域は、専ら、関数処理や、サブルーチン処理において活用される。 In this embodiment, since the register bank RBi is effectively used, the stack area is not consumed at the time of interrupt processing, and a large amount of memory capacity is not required. That is, in this embodiment, the stack area is exclusively used in function processing and subroutine processing.

以上の動作の結果、その後、演出制御CPU63は、アドレス値「****」以降に記載された初期設定プログラムPinitを実行することになる。但し、アドレス空間CS0のメモリREAD動作は、バスステートコントローラ66(図15)の動作を規定する動作制御レジスタREGのデフォルト値(初期値)に基づいて実行される。この動作制御レジスタREGの初期値は、リセットアサート期間(システムリセット信号SYSがLレベルを維持する図4(d)に示す期間)に自動的に設定される値であり、アドレス空間CS0を、如何なるメモリデバイスで構成しても、問題なくREADアクセスできるよう、最遅READアクセス動作(デフォルトアクセス動作)に設定されている。 As a result of the above operation, after that, the effect control CPU 63 executes the initial setting program Pinit described after the address value "*****". However, the memory READ operation of the address space CS0 is executed based on the default value (initial value) of the operation control register REG that defines the operation of the bus state controller 66 (FIG. 15). The initial value of the operation control register REG is a value automatically set during the reset assert period (the period shown in FIG. 4D in which the system reset signal SYS maintains the L level), and any address space CS0 can be set. It is set to the slowest READ access operation (default access operation) so that READ access can be performed without problems even if it is configured with a memory device.

そこで、このデフォルトアクセス動作を、最適なアクセス動作に変更するべく、最初に、アドレス空間CS0に対するバスステートコントローラ66(図15)の動作を規定する所定の動作制御レジスタREGに最適値を設定する(SP1)。すなわち、初期設定プログラムPinit(SP1〜SP9)、演出制御プログラムMainB(SP10)、定数データなどを格納したPROM53をアクセスする場合のメモリREAD動作を、メモリデバイスに合わせて最適化するべく、バス幅やページアクセスの有無を設定すると共に、チップセレク信号CS0や、READ制御信号や、WRITE 制御信号その他の動作タイミングを最適設定する(図27参照)。 Therefore, in order to change this default access operation to the optimum access operation, first, an optimum value is set in a predetermined operation control register REG that defines the operation of the bus state controller 66 (FIG. 15) with respect to the address space CS0 ( SP1). That is, in order to optimize the memory READ operation when accessing the initial setting program Pinit (SP1 to SP9), the effect control program MainB (SP10), the PROM 53 storing constant data, etc., the bus width and In addition to setting the presence / absence of page access, the chip selection signal CS0, the READ control signal, the WRITE control signal, and other operation timings are optimally set (see FIG. 27).

以上の設定の結果、ステップSP2以降の処理は、アドレス空間CS0に記憶されているプログラムを、最適にメモリREADして実行されることになる。そこで、次に、演出制御CPU63が、VDPレジスタRGijをアクセスする場合のREAD/WRITE アクセス動作を最適化するべく、VDPレジスタRGijに対するバスステートコントローラ66(図15)の動作を規定する所定の動作制御レジスタREGに最適値を設定する(SP2)。 As a result of the above settings, the processes after step SP2 are executed by optimally READing the program stored in the address space CS0 in memory. Therefore, next, in order to optimize the READ / WRITE access operation when the effect control CPU 63 accesses the VDP register RGij, a predetermined operation control that defines the operation of the bus state controller 66 (FIG. 15) with respect to the VDP register RGij. The optimum value is set in the register REG (SP2).

先に説明した通り、本実施例では、VDPレジスタRGijは、演出制御CPU63のアドレス空間CS7に位置付けられているので、チップセレク信号CS7や、その他の制御信号の動作タイミングを最適設定するべく所定の動作制御レジスタREGに所定値を書込むことになる。 As described above, in the present embodiment, since the VDP register RGij is positioned in the address space CS7 of the effect control CPU 63, it is predetermined to optimally set the operation timing of the chip selection signal CS7 and other control signals. A predetermined value is written in the operation control register REG.

続いて、特定のVDPレジスタRGijのレジスタ値を読み出して、その値が所定値(デバイスコード)か否かを判定する(SP3)。これは、VDP回路52のシステムクロックが安定化したことの確認判定である。すなわち、VDP回路52は、PLLREF端子に供給される発振器OSC2の発振出力に基づいて動作するが、このVDP回路52が、CPU回路51からの指令(つまり、VDPレジスタRGijへの設定など)を正常に受け付け可能か否かの判定である。 Subsequently, the register value of the specific VDP register RGij is read out, and it is determined whether or not the value is a predetermined value (device code) (SP3). This is a confirmation determination that the system clock of the VDP circuit 52 has been stabilized. That is, the VDP circuit 52 operates based on the oscillation output of the oscillator OSC2 supplied to the PLLREF terminal, and the VDP circuit 52 normally sends a command from the CPU circuit 51 (that is, a setting to the VDP register RGij, etc.). It is a judgment as to whether or not it can be accepted.

そして、デバイスコードの読出し処理(SP3)によって、システムクロックが安定化したことが確認できれば、その後は、VDP回路52の正常動作を期待できるので、所定のVDPレジスタRGijに対する設定処理を実行する(SP4〜SP6)。具体的には、先ず、演出制御CPU63からVDPレジスタRGijをアクセスする場合のエンディアン設定(ビッグ/リトル)や、データバス幅を設定する(SP4)。 Then, if it can be confirmed that the system clock is stabilized by the device code reading process (SP3), then the normal operation of the VDP circuit 52 can be expected, so that the setting process for the predetermined VDP register RGij is executed (SP4). ~ SP6). Specifically, first, the endian setting (big / little) when accessing the VDP register RGij from the effect control CPU 63 and the data bus width are set (SP4).

なお、本実施例では、設定値の最上位ビット(Most significant Bit)を、VDPレジスタRGijの最上位ビットに格納するビックエンディアンに設定し、データ32バス幅を32bitに設定するが、これらの設定値が、仮に、デフォルト値と同じであれば、これらの設定処理を省略することもできる(以下の処理も同様)。 In this embodiment, the most significant bit of the set value is set to the big endian stored in the most significant bit of the VDP register RGij, and the data 32 bus width is set to 32 bits. If the value is the same as the default value, these setting processes can be omitted (the same applies to the following processes).

次に、VDP回路からCPU回路への内部割込み(VDP_IRQ0,VDP_IRQ1,VDP_IRQ2,VDP_IRQ3)について、割込み有意レベル(H/L)を設定し、PLLREF端子(図14(a)参照)へのクロック信号(リファレンスクロック)に基づいてDDR(DRAM54)を機能させる旨を設定する(SP4)。なお、PLLREF端子に、発振器OSC2のリファレンスクロックが供給されることは図14(a)に関して説明した通りである。 Next, for the internal interrupts (VDP_IRQ0, VDP_IRQ1, VDP_IRQ2, VDP_IRQ3) from the VDP circuit to the CPU circuit, set the interrupt significance level (H / L) and set the clock signal to the PLLREF terminal (see FIG. 14A) (see FIG. 14A). It is set to operate the DDR (DRAM54) based on the reference clock (SP4). It should be noted that the reference clock of the oscillator OSC2 is supplied to the PLL REF terminal as described with reference to FIG. 14 (a).

続いて、図16に示すメモリマップを実現するべく、アドレス空間CS1〜CS6を定義する(SP5)。先に説明した通り、アドレス空間CS3は、音声プロセッサ27の内部レジスタに付与され、アドレス空間CS4は、RTC38の内部レジスタやSRAM39のアドレス空間に付与され、アドレス空間CS5は、外付けDRAM(DDR)54に付与され、アドレス空間CS6は、内蔵CPUのワークメモリ57に付与される。 Subsequently, the address spaces CS1 to CS6 are defined (SP5) in order to realize the memory map shown in FIG. As described above, the address space CS3 is assigned to the internal register of the voice processor 27, the address space CS4 is assigned to the internal register of the RTC 38 and the address space of the SRAM 39, and the address space CS5 is assigned to the external DRAM (DDR). The address space CS6 is assigned to 54, and the address space CS6 is assigned to the work memory 57 of the built-in CPU.

なお、VDPレジスタRGijが、アドレス空間CS7に割り当てられることは固定的に規定されているので、アドレス空間CS7の定義処理は不要である。また、アドレス空間CS0は、CPU回路51のメモリマップ0x000000000番地以降であることは予め固定的に規定されており、この規定を前提として、アドレス空間CS0が、CGROM55に確保されているか、その他のメモリデバイスに付与されるかは、HBTSL 端子のH/Lレベルで規定される。 Since it is fixedly defined that the VDP register RGij is assigned to the address space CS7, the definition process of the address space CS7 is unnecessary. Further, it is fixedly defined in advance that the address space CS0 is after the memory map address 0x000000000000 of the CPU circuit 51, and on the premise of this specification, the address space CS0 is secured in the CGROM 55 or other memory. Whether it is given to the device is specified by the H / L level of the HBTSL terminal.

先に説明した通り、本実施例では、HBTSL 端子=Lとなっており、CGROM55以外にアドレス空間CS0が定義されていることが示されている。そして、CGROM55以外である制御メモリ53の具体的なバス幅や、最適なアクセス動作については、ステップSP1において設定済みであるので、アドレス空間CS0についても、ステップSP5の処理は不要である。 As described above, in this embodiment, the HBTSL terminal = L, and it is shown that the address space CS0 is defined in addition to the CGROM55. Since the specific bus width of the control memory 53 other than the CGROM 55 and the optimum access operation have already been set in step SP1, the processing of step SP5 is not required for the address space CS0.

続いて、ステップSP5の処理で定義されたアドレス空間CS1〜CS6について、各アドレス空間CSiをアクセスする場合のバス幅やページアクセスの有無について、所定の動作制御レジスタREGに所定値を書込む(SP6)。また、チップセレク信号CSiその他を最適設定するべく、所定の動作制御レジスタREGに所定値を書込む(SP6)。これらの処理は、ステップSP1やSP2の処理と同様の内容であり、バスステートコントローラ66(図15)の動作を規定する動作制御レジスタへの書込み処理によって、チップセレク信号CSi、READ制御信号、WRITE 制御信号、その他の動作タイミングが最適に設定される。 Subsequently, for the address spaces CS1 to CS6 defined in the process of step SP5, a predetermined value is written in a predetermined operation control register REG regarding the bus width and the presence / absence of page access when accessing each address space CSi (SP6). ). Further, in order to optimally set the chip selection signal CSi and others, a predetermined value is written in a predetermined operation control register REG (SP6). These processes are the same as the processes of steps SP1 and SP2, and the chip select signal CSi, READ control signal, and WRITE are performed by writing to the operation control register that defines the operation of the bus state controller 66 (FIG. 15). The control signal and other operation timings are optimally set.

続いて、WDT回路58にクリア信号を出力することで、異常リセットを回避する(SP7)。これは、電源投入後、WDT回路58が自動的に動作を開始することを考慮したものであり、この後も、繰り返し同様の処理が実行される。なお、ステップSP9の処理は、サブルーチンSP7として制御メモリ53に格納されているが、ステップSP9の終了時までは、制御メモリ53のサブルーチンSP7が呼び出され、ステップSP9の終了後は、外付けDRAM54に転送された別のサブルーチンSP7’が呼び出されて実行される。 Subsequently, by outputting a clear signal to the WDT circuit 58, an abnormal reset is avoided (SP7). This is in consideration of the fact that the WDT circuit 58 automatically starts operation after the power is turned on, and the same process is repeatedly executed after that. The process of step SP9 is stored in the control memory 53 as the subroutine SP7, but the subroutine SP7 of the control memory 53 is called until the end of step SP9, and after the end of step SP9, the external DRAM 54 stores the process. Another transferred subroutine SP7'is called and executed.

続いて、アドレス空間CS0に格納されているプログラムやデータのうち、図21(b)や図22(c)に示すベクタハンドラVopt(割込み処理プログラム)、エラー復帰処理プログラムPiram、演出制御プログラムMainB、初期値有り変数D、及び、定数データCを、外付けDRAM54や、内蔵RAM59に転送する(SP8)。なお、初期値有り変数Dとは、所定の変数領域に記憶されている初期値データを意味する。このメモリセクションの初期化処理(SP8)は、演出制御処理の高速化を図るため、プログラムやデータを転送する処理であり、アクセス速度に劣るROMへのアクセスを回避するための処理である。 Next, among the programs and data stored in the address space CS0, the vector handler Vopt (interrupt processing program) shown in FIGS. 21 (b) and 22 (c), the error recovery processing program Piram, the effect control program MainB, The variable D with the initial value and the constant data C are transferred to the external DRAM 54 or the internal RAM 59 (SP8). The variable D with an initial value means the initial value data stored in a predetermined variable area. The memory section initialization process (SP8) is a process for transferring programs and data in order to speed up the effect control process, and is a process for avoiding access to the ROM, which is inferior in access speed.

そして、次に、レジスタバンクRBiを使用する旨の設定をする(SP9)。そのため、その後は、割込み処理時に、レジスタバンクRB0〜RB14が機能することになり、割込み処理が迅速化されると共に、スタック領域の消費が緩和される。 Then, the register bank RBi is set to be used (SP9). Therefore, after that, the register banks RB0 to RB14 function at the time of interrupt processing, the interrupt processing is speeded up, and the consumption of the stack area is alleviated.

以上の処理は、アドレス空間CS0である制御メモリ53に格納されている「初期設定プログラムPinit」の実行によって実現される(図22(c)参照)。そして、この初期設定プログラムPinitの実行が終われば、続いて、演出制御プログラムMainによるメイン制御処理を実行する(SP10)。ここで、メイン制御処理の実行とは、ステップSP8の転送処理によって、制御メモリ53から外付けDRAM54に転送された「演出制御プログラムMain」の実行を意味する(図21(b)参照)。 The above processing is realized by executing the "initial setting program Pinit" stored in the control memory 53 which is the address space CS0 (see FIG. 22C). Then, when the execution of the initial setting program Pinit is completed, the main control process by the effect control program Main is subsequently executed (SP10). Here, the execution of the main control process means the execution of the “effect control program Main” transferred from the control memory 53 to the external DRAM 54 by the transfer process in step SP8 (see FIG. 21 (b)).

メイン制御処理(演出制御プログラムMain)の具体的な内容については、図23(a)や、図26(a)に基づいて説明するが、それに先行して、メモリセクションの初期化処理(SP8)について説明する。図22(a)に示す通り、メモリセクションの初期化処理(SP8)では、最初に複数チャネルのDMACを動作停止状態に初期設定する。なお、この処理は、念のための形式的な処理に過ぎない。 The specific contents of the main control process (effect control program Main) will be described with reference to FIGS. 23 (a) and 26 (a), but prior to that, the memory section initialization process (SP8) Will be described. As shown in FIG. 22A, in the memory section initialization process (SP8), the DMACs of a plurality of channels are first initialized to the stopped operation state. Note that this process is just a formal process just in case.

以上の処理が終われば、所定チャネルのDMACiを起動させて、制御メモリ53の記憶されているベクタハンドラVopt(割込み処理プログラム)を、内蔵RAM59に、ノンストップ転送方式(図17(b3)参照)でDMA転送する。本実施例では、割込み処理プログラムVoptを内蔵RAM59に転送するので、外付けDRAM54の異常時においても、適切な異常対応処理が可能となる。 When the above processing is completed, the DMACi of the predetermined channel is activated, and the vector handler Vopt (interrupt processing program) stored in the control memory 53 is transferred to the built-in RAM 59 by a non-stop transfer method (see FIG. 17 (b3)). DMA transfer with. In this embodiment, since the interrupt processing program Vopt is transferred to the built-in RAM 59, even when an abnormality occurs in the external DRAM 54, appropriate abnormality handling processing can be performed.

その後の処理も同じであり、所定チャネルのDMACiを使用して、ノンストップ転送方式で実行され、エラー復帰処理プログラムPiramを内蔵RAM59にDMA転送する(SP62)。本実施例では、エラー復帰処理プログラムPiramを内蔵RAM59に転送するので、エラー復帰処理において、周辺回路を確実にリセット状態にすることができる。例えば、エラー復帰処理プログラムPiramを、内蔵RAM59以外の例えば外付けDRAM54に転送すると、エラー復帰処理時に、外付けDRAM54をリセット処理できないことになる。 Subsequent processing is also the same, and is executed by a non-stop transfer method using DMACi of a predetermined channel, and the error recovery processing program Pilam is DMA-transferred to the built-in RAM 59 (SP62). In this embodiment, since the error recovery processing program Piram is transferred to the built-in RAM 59, the peripheral circuits can be reliably reset in the error recovery processing. For example, if the error recovery processing program Pilam is transferred to, for example, an external DRAM 54 other than the built-in RAM 59, the external DRAM 54 cannot be reset during the error recovery processing.

次に、演出制御プログラムMainを、外付けDRAM54にDMA転送し(SP63)、定数データCを、外付けDRAM54にDMA転送する(SP64)。定数データには、演出抽選に使用する抽選データや、図26(b)に示す各種の駆動データテーブルにおける、ランプ駆動データやモータ駆動データが含まれる。また、初期値の有る変数Dを、外付けDRAM54にDMA転送するが(SP65)、これら何れも、所定チャネルのDMACiを使用したノンストップ転送方式で実行される。 Next, the effect control program Main is DMA-transferred to the external DRAM 54 (SP63), and the constant data C is DMA-transferred to the external DRAM 54 (SP64). The constant data includes lottery data used for the effect lottery, lamp drive data, and motor drive data in various drive data tables shown in FIG. 26B. Further, the variable D having an initial value is DMA-transferred to the external DRAM 54 (SP65), and all of these are executed by a non-stop transfer method using DMACi of a predetermined channel.

最後に、外付けDRAMの変数領域Bの先頭にクリアデータを書込む(SP66)。この先頭アドレスを、仮にADbとすると、その後のDMA転送処理では、転送元アドレスをADbとし、転送先アドレスをADb+1と初期設定した後、各アドレス値ADb,ADb+1をインクリメント処理しつつ、このクリアデータを拡散させることで、変数領域Bのクリア処理を実行することになる(SP67)。 Finally, the clear data is written at the beginning of the variable area B of the external DRAM (SP66). Assuming that this start address is ADb, in the subsequent DMA transfer processing, the transfer source address is set to ADb, the transfer destination address is initially set to ADb + 1, and then the clear data is incremented while each address value ADb, ADb + 1 is incremented. By spreading the above, the clearing process of the variable area B is executed (SP67).

以上説明したステップSP61〜SP66、及びステップSP67の処理は、何れも、類似の動作であり図22(b)に示す通りである。すなわち、先ず、所定チャネルのDMACiに関し、DMA転送条件として、(1)サイクルスチール転送モード、(2)ノンストップ転送方式を採り、(3)Sourceと Destinationのアドレス値をincrement 更新すると、設定する(SP68)。 The processes of steps SP61 to SP66 and steps SP67 described above are all similar operations and are as shown in FIG. 22 (b). That is, first, regarding DMACi of a predetermined channel, as DMA transfer conditions, (1) cycle steal transfer mode, (2) non-stop transfer method is adopted, and (3) source and destination address values are incremented and set (3). SP68).

次に、転送元Sourceアドレスと、転送先Destination アドレスの初期値を設定し(SP69)、転送サイズを設定し、割込み禁止などに設定した上で(SP70)、DMA転送の動作を開始させる(SP71)。なお、ステップSP68〜SP71の設定は、何れも所定の動作制御レジスタREGへの設定動作によって実現される。 Next, the initial values of the transfer source source address and the transfer destination destination address are set (SP69), the transfer size is set, interrupts are disabled (SP70), and then the DMA transfer operation is started (SP71). ). The settings of steps SP68 to SP71 are all realized by the setting operation in the predetermined operation control register REG.

このメモリセクションの初期化処理では、DMA転送終了の割込みを禁止設定しているので(SP70)、DMA転送の動作を開始させた後は、所定の動作制御レジスタREGのステイタスフラグを、繰り返しREADアクセスして、DMA転送の終了を待つ(SP72)。但し、動作終了までの処理時間を考慮して、WDT回路58に対して、クリア信号を繰り返し出力する(SP73)。そして、DMA転送の終了時には、所定の動作制御レジスタREGへの設定動作に基づいてDMACiを停止設定する。 In the initialization process of this memory section, the interrupt for the end of DMA transfer is prohibited (SP70). Therefore, after starting the operation of DMA transfer, the status flag of the predetermined operation control register REG is repeatedly READ-accessed. Then, it waits for the end of DMA transfer (SP72). However, in consideration of the processing time until the end of the operation, the clear signal is repeatedly output to the WDT circuit 58 (SP73). Then, at the end of the DMA transfer, the DMACi is stopped and set based on the setting operation in the predetermined operation control register REG.

続いて、メイン制御処理の動作内容について図23〜図26に基づいて説明する。先に説明した通り、メイン制御処理については、図23(a)に、その導入部(SP20〜SP27)の処理内容が記載されており、本体部(ST4〜ST14)の処理内容が図26(a)に記載されている。なお、図23のステップSP27の処理は、図26(a)のステップST1〜ST3の処理を含んでいる。 Subsequently, the operation contents of the main control process will be described with reference to FIGS. 23 to 26. As described above, with respect to the main control process, the processing contents of the introduction unit (SP20 to SP27) are described in FIG. 23A, and the processing content of the main body unit (ST4 to ST14) is shown in FIG. 26 (ST4 to ST14). It is described in a). The process of step SP27 in FIG. 23 includes the processes of steps ST1 to ST3 in FIG. 26 (a).

図23(a)に示す通り、メイン制御処理(導入部)では、最初に、CGROM55について、そのバス幅やROMデバイスの種別を特定する(SP20)。具体的には、図24(a)に示す通りであり、CGROM55とのインタフェイスを司るCGバスの動作状態を特定する所定のVDPレジスタRGij(例えばCGバスStatusレジスタ)をREADアクセスして(SP80)、CGバスについて動作設定が可能か否かを判定する(SP81)。 As shown in FIG. 23 (a), in the main control process (introduction unit), first, the bus width and the type of the ROM device of the CGROM 55 are specified (SP20). Specifically, as shown in FIG. 24A, READ access is made to a predetermined VDP register RGij (for example, CG bus Status register) that specifies the operating state of the CG bus that controls the interface with the CGROM 55 (SP80). ), It is determined whether or not the operation can be set for the CG bus (SP81).

ここで、CGバスStatusレジスタの値が1であれば、CGバスの内部回路がリセット動作中であることを意味し、VDPレジスタRGijへの設定値を受け付けることができないことを意味する。そこで、CGバスStatusレジスタの値が1から0に変化していることを確認した上で(SP81)、CGROMを構成するメモリデバイスに対応して規定可能なデバイス区間(SPA0〜SPAn)毎に(1)各デバイス区間SPAiの有効/無効、(2)ROMデバイスの種別、(3)データバス幅などの動作パラメータを、所定のVDPレジスタRGijに設定する(SP82)。 Here, if the value of the CG bus Status register is 1, it means that the internal circuit of the CG bus is in the reset operation, and it means that the set value in the VDP register RGij cannot be accepted. Therefore, after confirming that the value of the CG bus Status register has changed from 1 to 0 (SP81), each device section (SPA0 to SPAn) that can be specified corresponding to the memory device constituting the CGROM (SP81) 1) Enable / disable of each device section SPAi, (2) ROM device type, (3) Data bus width and other operating parameters are set in the predetermined VDP register RGij (SP82).

図23(a)に示す通り、この実施例では、CGROM55を複数領域(デバイス区間)に区分できるようになっており、例えば、デバイス区間(SPA0〜SPAn)毎に、メモリデバイスや、データバス幅を選択可能に構成されている。メモリデバイスとしては、例えば、(1)本実施例で採用するSATAモジュール(AHSI/F)、(2)パラレルI/F(Interface )形式を採るメモリ素子、(3)シーケンシャルI/F形式を採るメモリ素子などに大別されるが、大別されたメモリデバイスごとに、メモリデバイスを具体的に選択可能であり、且つ、データバス幅などを任意に規定できるようになっている。 As shown in FIG. 23A, in this embodiment, the CGROM 55 can be divided into a plurality of areas (device sections). For example, each device section (SPA0 to SPAn) has a memory device and a data bus width. Is configured to be selectable. As the memory device, for example, (1) a SATA module (AHSI / F) adopted in this embodiment, (2) a memory element adopting a parallel I / F (Interface) format, and (3) a sequential I / F format are adopted. It is roughly classified into memory elements and the like, but the memory device can be specifically selected for each of the roughly classified memory devices, and the data bus width and the like can be arbitrarily specified.

次に、デバイス区間(SPA0〜SPAn)毎に選択されたメモリデバイスとのメモリREAD動作を最適化するべく、所定の動作パラメータを、所定のVDPレジスタRGijに設定する(SP83)。動作パラメータには、チップセレクト信号と、その他の制御信号(READ制御信号など)との動作タイミングを規定する設定値が含まれている。また、シーケンシャルI/F形式を採るメモリ素子が選択された場合には、図24(b)も示す動作を実現するべく、アドレスラッチの出力タイミングや、読出しクロック数なども特定される。 Next, in order to optimize the memory READ operation with the memory device selected for each device section (SPA0 to SPAn), a predetermined operation parameter is set in a predetermined VDP register RGij (SP83). The operation parameters include set values that define the operation timing of the chip select signal and other control signals (READ control signal, etc.). When a memory element that adopts the sequential I / F format is selected, the output timing of the address latch, the number of read clocks, and the like are also specified in order to realize the operation shown in FIG. 24 (b).

したがって、種類の異なるメモリデバイスを組合せてCGROM55を構成することもできる。但し、本実施例では、SATAモジュールだけを使用してCGROM55を構成し、デバイス区間(SPA0)だけを有効化し、他のデバイス区間(SPA1〜SPAn)を無効化している。 Therefore, the CGROM 55 can be configured by combining different types of memory devices. However, in this embodiment, the CGROM 55 is configured using only the SATA module, only the device section (SPA0) is enabled, and the other device sections (SPA1 to SPAn) are disabled.

何れにしても、ステップSP82〜SP83の設定処理が終われば、その設定処理の実効化を図るべく、所定のVDPレジスタRGijに所定値を書込む(SP84)。これは、CGバスの内部回路がステップSP82〜SP83の設定処理に対応して動作できるまでに所定の時間を要することを考慮したものであり、内部回路の動作中は、前記したCGバスStatusレジスタ(SP80参照)の値が0となる。 In any case, when the setting processing of steps SP82 to SP83 is completed, a predetermined value is written in the predetermined VDP register RGij in order to make the setting processing effective (SP84). This is in consideration of the fact that it takes a predetermined time for the internal circuit of the CG bus to operate in response to the setting processing of steps SP82 to SP83, and during the operation of the internal circuit, the CG bus Status register described above is used. The value of (see SP80) becomes 0.

したがって、その後は、CGバスStatusレジスタを繰り返しREADアクセスして(SP85)、Statusレジスタの値が1から0に戻ることを確認して処理を終える(SP86)。なお、所定回数の判定に拘らず、Statusレジスタの値が1から0に戻らない場合に、ステップSP66の処理を終えても良い。但し、その場合CGROMが正常にアクセスできない状態で遊技処理が始まるので、その後、何れかのタイミングでWDT回路58が起動して複合チップ50が異常リセット状態になる。そして、この場合は、再度、パワーオンリセット動作が実行されることになる。 Therefore, after that, the CG bus Status register is repeatedly READ-accessed (SP85), and the process is completed after confirming that the value of the Status register returns from 1 to 0 (SP86). The process of step SP66 may be completed when the value of the Status register does not return from 1 to 0 regardless of the determination of a predetermined number of times. However, in that case, since the game process starts in a state where the CGROM cannot be normally accessed, the WDT circuit 58 is activated at any timing thereafter, and the composite chip 50 is in an abnormal reset state. Then, in this case, the power-on reset operation is executed again.

一方、図23のステップSP20の処理が、正常に実行された後は、割込みコントローラINTCや、DMAC回路60や、マルチファンクションタイマユニットMTUなど、CPU回路51の内蔵回路をソフトウェア処理によって個々的に初期化する(SP21)。 On the other hand, after the processing of step SP20 in FIG. 23 is normally executed, the built-in circuits of the CPU circuit 51 such as the interrupt controller INTC, the DMAC circuit 60, and the multifunction timer unit MTU are individually initialized by software processing. (SP21).

次に、マルチファンクションタイマユニットMTUについて、所定のタイマ計測動作を開始させた後(SP22)、内部割込み及び内部割込みについて、所定の動作制御レジスタREGに許可設定値を書込んで割込み許可状態に設定する(SP23)。 Next, for the multifunction timer unit MTU, after starting a predetermined timer measurement operation (SP22), for the internal interrupt and the internal interrupt, the permission setting value is written in the predetermined operation control register REG to set the interrupt enabled state. (SP23).

その結果、その後は、図23(d)に示す各種の割込みが生じ得ることになる。通常、このタイミングでは、音声プロセッサ27は、その初期化シーケンスを終えているので、図4(c)に示す通り、終了割込み信号IRQ_SND はLレベルに降下している筈である。そのため、図23(c)に示す割込み処理が起動され、演出制御CPU63は、エラーフラグERRを1に初期設定すると共に、アドレス空間CS3をREADアクセスして(SP30)、音声プロセッサ27の所定の音声レジスタSRGの値を取得して、初期化シーケンスが正常に終了しているか否かを判定する(SP31)。 As a result, after that, various interrupts shown in FIG. 23 (d) can occur. Normally, at this timing, the voice processor 27 has completed its initialization sequence, so that the end interrupt signal IRQ_SND should have dropped to the L level, as shown in FIG. 4 (c). Therefore, the interrupt processing shown in FIG. 23 (c) is activated, the effect control CPU 63 initially sets the error flag ERR to 1, and READ-accesses the address space CS3 (SP30) to obtain a predetermined voice of the voice processor 27. The value of the register SRG is acquired, and it is determined whether or not the initialization sequence is normally completed (SP31).

そして、万一、初期化シーケンスが正常に終了していない場合には、演出制御CPU63は、音声プロセッサ27の所定の音声レジスタSRGにリセットコマンドを書込むと共に(SP32)、1に初期設定されているエラーフラグERRを2にセットする(SP33)。このエラーフラグERRは、音声プロセッサ初期化処理(SP26)を実行するか否かを規定しており、エラーフラグERR=1がステップSP26の実行条件となっている。 Then, in the unlikely event that the initialization sequence is not completed normally, the effect control CPU 63 writes a reset command to a predetermined voice register SRG of the voice processor 27 (SP32) and is initially set to 1. Set the error flag ERR to 2 (SP33). This error flag ERR defines whether or not to execute the voice processor initialization process (SP26), and the error flag ERR = 1 is the execution condition of step SP26.

一方、音声プロセッサ27は、リセットコマンドを受けたことに対応して、終了割込み信号IRQ_SND =Hレベルの状態で、再度、初期化シーケンスを開始し、初期化シーケンスが終われば、終了割込み信号IRQ_SND はLレベルに降下させる。この結果、図23(c)の処理が再実行されることになる。 On the other hand, the voice processor 27 starts the initialization sequence again in the state of the end interrupt signal IRQ_SND = H level in response to receiving the reset command, and when the initialization sequence is completed, the end interrupt signal IRQ_SND becomes. Lower to L level. As a result, the process of FIG. 23 (c) will be re-executed.

以上、初期化シーケンスが正常に終了していない例外的な場合について説明したが、通常は、ステップSP31に続いて、ステップSP32の処理が実行され、演出制御CPU63は、所定の音声レジスタSRGに、所定値を書込むことで終了割込み信号IRQ_SND を、LレベルからHレベルに復帰させる(SP34)。 Although the exceptional case where the initialization sequence is not normally completed has been described above, normally, the process of step SP32 is executed following step SP31, and the effect control CPU 63 is set to the predetermined audio register SRG. By writing a predetermined value, the end interrupt signal IRQ_SND is returned from the L level to the H level (SP34).

そして、最後に、所定の音声レジスタSRGに所定値を書込むことで、全ての音声レジスタSRGへのREAD/WRITE アクセスを許可する(SP35)。この処理の結果、その後の音声プロセッサ初期化処理(SP26)では、必要な設定処理を実行できることになる。 Finally, by writing a predetermined value to the predetermined voice register SRG, READ / WRITE access to all the voice registers SRG is permitted (SP35). As a result of this processing, in the subsequent voice processor initialization processing (SP26), necessary setting processing can be executed.

以上、ステップSP23の割込み許可設定に対応するMaskable Interruptの一例について説明したが、発振器OSC2の発振停止に基づくマスク不能割込み(Non Maskable Interrupt)は、任意のタイミングで起動可能である。先に説明した通り、内蔵CPU(演出制御CPU63)以外の回路の動作クロックは、発振器OSC2の出力クロックをPLL(Phase Locked Loop )で周波数逓倍して生成されており、発振器OSC2の発振が停止されれば、その後のVDP回路52の正常動作は不可能である。 Although an example of the Maskable Interrupt corresponding to the interrupt enable setting in step SP23 has been described above, the non-maskable interrupt based on the oscillation stop of the oscillator OSC2 can be started at an arbitrary timing. As described above, the operating clocks of the circuits other than the built-in CPU (effect control CPU 63) are generated by multiplying the output clock of the oscillator OSC2 by the frequency by PLL (Phase Locked Loop), and the oscillation of the oscillator OSC2 is stopped. If so, the subsequent normal operation of the VDP circuit 52 is impossible.

一方、演出制御CPU63の動作クロックは、発振器OSC1の出力クロックをPLLで逓倍して生成されており、プログラム処理は継続可能である。しかも、割込み処理プログラムは、内蔵RAM59に格納されている。そこで、演出制御CPU63は、異常事態の発生を音声やランプによって異常報知すると共に(SP28)、WDT回路58にクリア信号を出力し続ける(SP29)。異常報知は、例えば「異常事態が発生しました。至急、係員に連絡して下さい」との音声報知となる。なお、WDT回路58にクリア信号を出力し続けるのは、異常リセット動作を回避するためである。すなわち、発振器OSC1が動作を停止する重大な異常時には、仮に、異常リセット処理を繰り返しても、機器の正常復帰が望めないと考えられるからである。 On the other hand, the operation clock of the effect control CPU 63 is generated by multiplying the output clock of the oscillator OSC1 by the PLL, and the program processing can be continued. Moreover, the interrupt processing program is stored in the built-in RAM 59. Therefore, the effect control CPU 63 notifies the occurrence of an abnormal situation by voice or a lamp (SP28), and continues to output a clear signal to the WDT circuit 58 (SP29). The abnormality notification is, for example, a voice notification such as "An abnormal situation has occurred. Please contact the staff immediately." The reason why the clear signal is continuously output to the WDT circuit 58 is to avoid the abnormal reset operation. That is, in the case of a serious abnormality in which the oscillator OSC1 stops operating, it is considered that the normal return of the device cannot be expected even if the abnormality reset process is repeated.

以上、図23(b)と、図23(c)について説明したので、図23(a)に戻って説明を続ける。ステップSP24では、外付けDRAMのプログラム領域を保護するため、必要領域を書込み禁止に設定する。次に、電源遮断時に電池で駆動されている時計回路38について、電源遮断時の正常動作を確認すると共に、念のためアラーム割込みについて再設定する(SP25)。 Since FIG. 23 (b) and FIG. 23 (c) have been described above, the description will be continued by returning to FIG. 23 (a). In step SP24, the required area is set to write-protected in order to protect the program area of the external DRAM. Next, with respect to the clock circuit 38 driven by the battery when the power is cut off, the normal operation when the power is cut off is confirmed, and the alarm interrupt is reset just in case (SP25).

そして、エラーフラグERR=1であることを条件に、音声プロセッサ27の内蔵レジスタ(音声レジスタSRG)に、必要な設定値を書込んで初期化処理を実行する(SP26)。なお、エラーフラグERR=0の場合は、所定時間、エラーフラグERR=1となるまで待機するが、限界時間を超える場合には、WDT回路58を起動させるべく無限ループ処理に移行する。 Then, on condition that the error flag ERR = 1, a necessary setting value is written to the built-in register (voice register SRG) of the voice processor 27, and the initialization process is executed (SP26). When the error flag ERR = 0, the process waits for a predetermined time until the error flag ERR = 1, but when the time limit is exceeded, the process shifts to the infinite loop process in order to activate the WDT circuit 58.

次に、VDPレジスタRGijに、必要な設定値を書込むことで、VDP回路52の初期化処理を実行する(SP27)。なお、ステップSP27の処理には、図26のST1〜ST3の処理が含まれている。 Next, the initialization process of the VDP circuit 52 is executed by writing the necessary set value to the VDP register RGij (SP27). The process of step SP27 includes the processes of ST1 to ST3 of FIG. 26.

以上、音声プロセッサから終了割込み信号IRQ_SND を受ける実施例について説明したが、図23(c)の割込み処理を省略するのも好適である。図25は、変形実施例を示しており、終了割込み信号IRQ_SND に代えて、マルチファンクションタイマユニットMTUが生成する1msタイマ割込信号を活用している。 Although the embodiment of receiving the end interrupt signal IRQ_SND from the voice processor has been described above, it is also preferable to omit the interrupt processing shown in FIG. 23 (c). FIG. 25 shows a modified embodiment, in which the 1 ms timer interrupt signal generated by the multifunction timer unit MTU is used instead of the end interrupt signal IRQ_SND.

図25は、1msタイマ割込処理の一部を図示したものであり、初期状態がゼロである動作管理フラグFLGの値(0/1/2/3)に基づいて、4段階の動作を実現している。なお、音声プロセッサ27のIRQ_SND 出力端子は、開放状態とし、CPU回路51のIRQ_SND 入力端子は、Hレベルに固定されている。 FIG. 25 illustrates a part of the 1 ms timer interrupt process, and realizes four-step operation based on the value (0/1/2/3) of the operation management flag FLG whose initial state is zero. doing. The IRQ_SND output terminal of the audio processor 27 is open, and the IRQ_SND input terminal of the CPU circuit 51 is fixed at the H level.

1mSタイマ割込み処理において、先ず、ステップSP42の処理で、動作管理フラグFLG=0と判定される場合には、音声プロセッサ27の初期化シーケンスが正常終了していることを確認する(SP43)。そして、正常終了している場合には、所定の音声レジスタSRGに所定値を書込むことで割込み信号(IRQ_SND )をクリアさせ(SP46)、動作管理フラグFLGを1にする(SP47)。なお、ステップSP43とSP46の処理は、図23(c)のステップSP31とSP34の処理と同じである。 In the 1 mS timer interrupt process, first, when the operation management flag FLG = 0 is determined in the process of step SP42, it is confirmed that the initialization sequence of the voice processor 27 is normally completed (SP43). Then, when the process ends normally, the interrupt signal (IRQ_SND) is cleared (SP46) by writing a predetermined value to the predetermined voice register SRG, and the operation management flag FLG is set to 1 (SP47). The processing of steps SP43 and SP46 is the same as the processing of steps SP31 and SP34 in FIG. 23 (c).

一方、初期化シーケンスが正常終了していない場合には、所定の音声レジスタSRGにリセットコマンドを書込むことで、音声プロセッサ27に初期化シーケンスを起動させ(SP44)、動作管理フラグFLGをゼロに戻す(SP45)。なお、ステップSP44の処理は、図23(c)のステップSP32の処理に対応している。 On the other hand, when the initialization sequence is not completed normally, the reset command is written in the predetermined voice register SRG to activate the initialization sequence in the voice processor 27 (SP44), and the operation management flag FLG is set to zero. Return (SP45). The process of step SP44 corresponds to the process of step SP32 of FIG. 23 (c).

通常は、ステップSP47の処理を経て動作管理フラグFLG=1となるので、次の1msタイマ割込みでは、所定の音声レジスタに所定値を書込むことで全ての音声レジスタへのアクセスを許可し(SP48)、動作管理フラグFLG=2に設定する(SP49)。ステップSP48の処理は、図23(c)のステップSP35の処理に対応している。 Normally, the operation management flag FLG = 1 is set after the processing of step SP47. Therefore, in the next 1 ms timer interrupt, access to all voice registers is permitted by writing a predetermined value to a predetermined voice register (SP48). ), Set the operation management flag FLG = 2 (SP49). The process of step SP48 corresponds to the process of step SP35 of FIG. 23 (c).

次に、動作管理フラグFLG=2の1msタイマ割込みでは、図23(a)のステップSP26の場合と同様に、音声プロセッサ27の内蔵レジスタ(音声レジスタSRG)に、必要な設定値を書込んで初期化処理を実行し(SP50)、動作管理フラグFLG=3に設定する。 Next, in the 1 ms timer interrupt with the operation management flag FLG = 2, the necessary setting value is written in the built-in register (voice register SRG) of the voice processor 27 as in the case of step SP26 in FIG. 23 (a). The initialization process is executed (SP50), and the operation management flag FLG = 3 is set.

動作管理フラグFLG=3は、通常の音声制御状態を意味し、必要な音声レジスタSRGに、必要な動作パラメータを設定することで、音声制御を進行させる(SP52)。 The operation management flag FLG = 3 means a normal voice control state, and voice control is advanced by setting necessary operation parameters in the necessary voice register SRG (SP52).

以上、音声プロセッサ27の初期化シーケンスの正常終了を、割込み信号(IRQ_SND )に起因する割込み処理で確認する方法(図23(c)のSP31)と、1mSタイマ割込み処理で確認する方法(図25のSP43)について説明したが、これらの方法に、何ら限定されるものではない。例えば、図23のステップSP26の処理の一部として、音声プロセッサ27の初期化シーケンスが正常に終了したか否かを判定するのも好適である。 As described above, the method of confirming the normal end of the initialization sequence of the voice processor 27 by the interrupt processing caused by the interrupt signal (IRQ_SND) (SP31 in FIG. 23 (c)) and the method of confirming by the 1 mS timer interrupt processing (FIG. 25). SP43) has been described, but the method is not limited to these methods. For example, it is also preferable to determine whether or not the initialization sequence of the voice processor 27 has been normally completed as part of the process of step SP26 in FIG.

以上、メイン制御処理の導入部(図23のSP20〜SP27)について説明したので、以下、図26に基づいて、メイン制御処理の本体部の動作を説明する。図26に示す通り、演出制御CPU63の動作は、メイン制御処理(a)と、1mS毎に起動するタイマ割込み処理(b)と、制御コマンドCMDを受けて起動する受信割込み処理(不図示)と、表示装置DS1のVブランク(垂直帰線期間)の開始タイミングに生じるVBLANK信号を受けて起動するVBLANK割込み処理(c)と、動作フリーズ時や不合理な指示コマンド検出時に生じる描画異常割込み処理(d)と、を含んで構成されている。なお、20μS割込み処理については説明を省略する。 Since the introduction unit of the main control process (SP20 to SP27 in FIG. 23) has been described above, the operation of the main body unit of the main control process will be described below with reference to FIG. 26. As shown in FIG. 26, the operation of the effect control CPU 63 includes a main control process (a), a timer interrupt process (b) that is activated every 1 mS, and a reception interrupt process (not shown) that is activated in response to the control command CMD. , VBLANK interrupt processing (c) that is activated by receiving the VBLANK signal that occurs at the start timing of the V blank (vertical blanking interval) of the display device DS1, and drawing abnormality interrupt processing that occurs when the operation freezes or an unreasonable instruction command is detected ( d) and are included in the configuration. The description of 20 μS interrupt processing will be omitted.

受信割込み処理では、主制御部21から受けた制御コマンドCMDを、メイン制御処理(ST13)において参照できるよう、所定の受信バッファに記憶して処理を終える。また、VBLANK割込み処理(図26(b))では、VBLANK割込み毎に、割込みカウンタVCNTをインクリメントし(ST15)、メイン制御処理の開始タイミングでは、割込みカウンタVCNTの値に基づいて、1/30秒の動作開始タイミングを把握した上で、割込みカウンタVCNTをゼロクリアしている(ST4)。 In the reception interrupt processing, the control command CMD received from the main control unit 21 is stored in a predetermined reception buffer so that it can be referred to in the main control processing (ST13), and the processing is completed. Further, in the VBLANK interrupt process (FIG. 26 (b)), the interrupt counter VCNT is incremented for each VBLANK interrupt (ST15), and the start timing of the main control process is 1/30 second based on the value of the interrupt counter VCNT. After grasping the operation start timing of, the interrupt counter VCNT is cleared to zero (ST4).

一方、タイマ割込み処理には、図26(b)に示す通り、ランプ演出やモータ演出の進行処理(ST18)と、原点センサ信号SN0〜SNn信号や、チャンスボタン信号などを取得するセンサ信号取得処理(ST19)とが含まれている。ランプ演出やモータ演出は、全ての演出動作を一元管理する演出シナリオに基づいて制御されており、演出カウンタENが管理する演出開始時に達すれば、演出シナリオ更新処理(ST11)において、モータ駆動テーブルやランプ駆動テーブルが特定されるようになっている。 On the other hand, as shown in FIG. 26B, the timer interrupt processing includes the progress processing (ST18) of the lamp effect and the motor effect, and the sensor signal acquisition process for acquiring the origin sensor signals SN0 to SNn signals, the chance button signal, and the like. (ST19) and are included. The lamp effect and the motor effect are controlled based on the effect scenario that centrally manages all the effect operations, and when the effect start time managed by the effect counter EN is reached, the motor drive table or the motor drive table is used in the effect scenario update process (ST11). The lamp drive table is specified.

そして、その後は、特定されたモータ駆動テーブルに基づいてモータ演出が進行し、特定されたモータ駆動テーブルに基づいてランプ演出が進行することになる。先に説明した通り、ステップST18の動作時に、DMAC回路(第1と第2のDMAチャンネル)60が機能する実施例もある。なお、モータ演出は、1mS毎に進行するが、ランプ演出は、1mSより長い適宜なタイミングで進行する。 After that, the motor effect proceeds based on the specified motor drive table, and the lamp effect proceeds based on the specified motor drive table. As described above, there is also an embodiment in which the DMAC circuit (first and second DMA channels) 60 functions during the operation of step ST18. The motor effect progresses every 1 mS, but the lamp effect progresses at an appropriate timing longer than 1 mS.

一方、図26(d)に示す通り、描画異常割込み処理では、描画回路76の動作状態を示すステイタスレジスタRGijをREADアクセスして、割込み原因を特定する。具体的には、(1) 異常な指示コマンドの検出(ビット化け)による描画異常割込みか、(2) 描画回路76の動作異常(フリーズ)による描画異常割込みかを特定する(ST16a)。そして、異常な指示コマンドの検出に基づく描画異常割込みである場合には、所定のシステム制御レジスタRGijに、所定値を書き込むことで、描画回路76を初期化する(ST16b)。この動作は、図13(b)に示すリセット経路4Bの個別リセット動作に他ならない。 On the other hand, as shown in FIG. 26D, in the drawing abnormality interrupt processing, the status register RGij indicating the operating state of the drawing circuit 76 is READ-accessed to identify the interrupt cause. Specifically, it is specified whether it is (1) a drawing abnormality interrupt due to detection (bit garbled) of an abnormal instruction command or (2) a drawing abnormality interrupt due to an operation abnormality (freeze) of the drawing circuit 76 (ST16a). Then, in the case of a drawing abnormality interrupt based on the detection of an abnormal instruction command, the drawing circuit 76 is initialized by writing a predetermined value to the predetermined system control register RGij (ST16b). This operation is nothing but the individual reset operation of the reset path 4B shown in FIG. 13 (b).

次に、個別リセット動作の正常終了を、所定のステイタスレジスタRGijで確認した後、描画回路76の動作を規定する一群の動作パラメータを所定の描画レジスタRGijに再設定して処理を終える(ST16c)。そして、戻り先アドレスを記憶するスタック領域を調整した後(割込み処理後の戻り先アドレスを消去する開放処理)、ステップST13の処理に移行させる(ST16c)。 Next, after confirming the normal end of the individual reset operation with the predetermined status register RGij, a group of operation parameters defining the operation of the drawing circuit 76 is reset to the predetermined drawing register RGij to end the process (ST16c). .. Then, after adjusting the stack area for storing the return destination address (opening process for erasing the return destination address after the interrupt process), the process proceeds to step ST13 (ST16c).

一方、描画回路76の動作異常に基づく描画異常割込みの場合には、無限ループ処理に移行させることで(ST16d)、WDT回路58を起動させ、複合チップ50全体をリセットする。なお、CPU回路51をリセットしたくない場合には、所定のキーワード列をパターンチェック回路CHKに出力して、リセット信号RSTによってVDP回路52だけをリセットしても良い(図13(b)参照)。この場合には、VDP回路52のリセット動作の正常終了を確認した後、ステップST4やST13の処理に移行させる。なお、可能な限り制御コマンドCMDの読み落しを回避するためには、他の場合も含め、ステップST4より、ステップST13に移行される方が良い。 On the other hand, in the case of a drawing abnormality interrupt based on an operation abnormality of the drawing circuit 76, the WDT circuit 58 is activated by shifting to the infinite loop processing (ST16d), and the entire composite chip 50 is reset. If the CPU circuit 51 is not desired to be reset, a predetermined keyword string may be output to the pattern check circuit CHK and only the VDP circuit 52 may be reset by the reset signal RST (see FIG. 13B). .. In this case, after confirming the normal end of the reset operation of the VDP circuit 52, the process proceeds to steps ST4 and ST13. In order to avoid over-reading the control command CMD as much as possible, it is better to shift to step ST13 rather than step ST4, including other cases.

複合チップ50全体をリセットすると、それまでの演出が消滅して、演出制御が完全に初期状態(電源投入状態)に戻るが、VDP回路52だけをリセットする場合には、VDP回路52のリセット動作が完了するまで、所定の待機時間は生じるものの、一連の演出制御を継続させることができる。なお、演出制御CPU63は、画像演出、ランプ演出、及び、音声演出を統一的に制御しているので、各演出に不自然なズレが生じることもない。 When the entire composite chip 50 is reset, the effect up to that point disappears and the effect control completely returns to the initial state (power-on state), but when resetting only the VDP circuit 52, the reset operation of the VDP circuit 52 A series of effect control can be continued, although a predetermined waiting time is generated until the above is completed. Since the effect control CPU 63 uniformly controls the image effect, the lamp effect, and the sound effect, there is no unnatural deviation in each effect.

続いて、プリローダを機能しない実施例について、メイン制御処理(a)について説明する。図26(a)に示す通り、メイン制御処理は、CPUリセット後に実行される導入初期処理(ST1〜ST3)と、その後、1/30秒毎に繰り返し実行される定常処理(ST4〜ST14)とに区分される。なお、初期処理(ST1〜ST3)は、メイン制御処理の導入部の一部であり、定常処理がメイン制御処理の本体部を意味する。 Subsequently, the main control process (a) will be described with respect to an embodiment in which the preloader does not function. As shown in FIG. 26 (a), the main control processes include the initial introduction process (ST1 to ST3) executed after the CPU reset, and the regular process (ST4 to ST14) repeatedly executed every 1/30 second thereafter. It is divided into. The initial processing (ST1 to ST3) is a part of the introduction part of the main control processing, and the steady processing means the main part of the main control processing.

そして、定常処理は、割込みカウンタVCNTが、VCNT≧2となったタイミングで開始されるので(ST4)、定常処理の動作周期δは、1/30秒となる。この動作周期δは、演出制御CPU63の制御に基づいて間欠動作するVDP回路52について、その実質的な動作周期δに他ならない。なお、判定条件を、VCNT≧2とするのは、定常処理(ST4〜ST14)が異常に長引いて、VCNT=2のタイミングを見逃す可能性を考慮したものであるが、VCNT=3となる事態が発生しないよう設計されている。 Then, since the steady processing is started at the timing when the interrupt counter VCNT becomes VCNT ≧ 2 (ST4), the operation cycle δ of the steady processing is 1/30 second. This operation cycle δ is nothing but a substantial operation cycle δ of the VDP circuit 52 that operates intermittently based on the control of the effect control CPU 63. The determination condition is set to VCNT ≥ 2 in consideration of the possibility that the steady processing (ST4 to ST14) is abnormally prolonged and the timing of VCNT = 2 is overlooked, but the situation where VCNT = 3 is set. Is designed not to occur.

以上を踏まえてメイン制御処理(図26(a))の説明を続けると、本実施例では、初期処理において、記憶容量48Mバイトの内蔵VRAM71を、適切な記憶容量を有するACC領域(a) と、ページ領域(b) と、任意領域(c) と、に適宜に切り分ける(ST1)。具体的には、ACC領域(a1,a2) と、ページ領域(b) について、各々の領域先頭アドレスと必要な総データサイズを、所定のインデックステーブルレジスタRGijに設定する(ST1)。すると、確保されたACC領域(a1,a2) と、ページ領域(b) には含まれない残余領域が任意領域(c) となる。 Continuing the description of the main control process (FIG. 26 (a)) based on the above, in the present embodiment, in the initial process, the built-in VRAM 71 having a storage capacity of 48 Mbytes is referred to as an ACC area (a) having an appropriate storage capacity. , The page area (b) and the arbitrary area (c) are appropriately divided (ST1). Specifically, for the ACC area (a1, a2) and the page area (b), the area start address and the required total data size are set in the predetermined index table register RGij (ST1). Then, the reserved ACC area (a1, a2) and the residual area not included in the page area (b) become an arbitrary area (c).

ここで、第一と第二のACC領域(a1,a2) と、ページ領域(b) の領域先頭アドレスは、各々の下位11bitが0でなくてはならないが、2048bit単位で任意に選択可能である(1番地=1バイトとして、256番地ごとの選択)。また、総データサイズも、単位サイズの整数倍の範囲で任意に選択される。特に限定されないが、ACC領域(a) の単位サイズは、2048bit、ページ領域(b) の単位サイズは、512kbitである。 Here, the lower 11 bits of the first and second ACC areas (a1, a2) and the page area (b) must be 0, but they can be arbitrarily selected in units of 2048 bits. There is (1 address = 1 byte, selection for each 256 addresses). The total data size is also arbitrarily selected in the range of an integral multiple of the unit size. Although not particularly limited, the unit size of the ACC area (a) is 2048 bits, and the unit size of the page area (b) is 512 kbit.

このように本実施例では、ACC領域(a1,a2) と、ページ領域(b) の領域設定に一定の条件を設けるが、それは、メモリ容量が限られている内蔵VRAM71について、可能な限り無駄領域を排除する一方で、VDP回路52の内部動作の円滑化を図るためである。すなわち、内蔵VRAM71の記憶容量を無闇に増加させると、製造コストの高騰やチップ面積の大型化が懸念される一方、無駄領域を完全に排除するような自由な領域設定を認めると、内部処理が煩雑化して、VRAMアクセスの処理時間を短縮化できないためである。なお、以下に説明するインデックス空間の確保に、一定の制約を設けるのも同じ理由による。 As described above, in this embodiment, certain conditions are set for the area settings of the ACC area (a1, a2) and the page area (b), but this is as wasteful as possible for the built-in VRAM 71 having a limited memory capacity. This is to facilitate the internal operation of the VDP circuit 52 while eliminating the region. That is, if the storage capacity of the built-in VRAM 71 is increased indiscriminately, there is a concern that the manufacturing cost will rise and the chip area will increase, but if a free area setting that completely eliminates the wasted area is allowed, the internal processing will be performed. This is because it becomes complicated and the processing time for VRAM access cannot be shortened. For the same reason, certain restrictions are placed on securing the index space described below.

以上を踏まえて説明を続けると、ステップST1の処理に続いて、ページ領域(b) と、任意領域(c) について、必要なインデックス空間IDXiを確保する(ST2)。具体的には、所定のインデックステーブルレジスタRGijに、必要な情報を設定することで、各領域(b)(c)のインデックス空間IDXiを確保する。 Continuing the description based on the above, following the process of step ST1, the necessary index space IDXi is secured for the page area (b) and the arbitrary area (c) (ST2). Specifically, the index space IDXi of each area (b) (c) is secured by setting necessary information in the predetermined index table register RGij.

例えば、ページ領域(b) にインデックス空間IDXiを設ける場合には、任意のインデックス番号iに対応して、任意の水平サイズHxと、任意の垂直サイズWxの倍数情報(単位空間に対する縦横の倍数情報)が、所定のインデックステーブルレジスタRGijに設定される(ST2)。 For example, when the index space IDXi is provided in the page area (b), multiple information of an arbitrary horizontal size Hx and an arbitrary vertical size Wx corresponding to an arbitrary index number i (multiple information in the vertical and horizontal directions with respect to the unit space). ) Is set in the predetermined index table register RGij (ST2).

先に説明した通り、ページ領域(b) のインデックス空間IDXiは、水平サイズ128×垂直サイズ128ラインを単位空間としており、また、1ピクセルは32bitの情報で特定されるので、水平サイズHxと垂直サイズWxの設定に基づいて、データサイズ(bit長)=32×128×Hx×128×Wxのインデックス空間IDXiが確保されたことになる。なお、ページ領域(b) のインデックス空間IDXiの先頭アドレス(空間先頭アドレス)は、内部的に自動付与される。 As described above, the index space IDXi of the page area (b) has a unit space of 128 horizontal size × 128 vertical size lines, and one pixel is specified by 32 bit information, so that it is perpendicular to the horizontal size Hx. Based on the setting of the size Wx, the index space IDXi of the data size (bit length) = 32 × 128 × Hx × 128 × Wx is secured. The start address (space start address) of the index space IDXi in the page area (b) is automatically assigned internally.

また、任意領域(c) にインデックス空間IDXiを設ける場合には、任意のインデックス番号iに対応して、任意の先頭アドレス(空間先頭アドレス)STxと、任意の水平サイズHxの倍数情報が、所定のインデックステーブルレジスタRGijに設定される(ST2)。ここで、任意とは、所定条件を前提とするもので、水平サイズHxは256bit単位で任意決定され、先頭アドレスSTxの下位11bitは0であって、2048bit単位で任意決定される。先に説明した通り、任意領域の垂直サイズは、2048ラインに固定化されるので、水平サイズHxの設定に基づいて、先頭アドレスSTx以降には、データサイズ(bit長)=2048×Hxのインデックス空間が確保されたことになる。 Further, when the index space IDXi is provided in the arbitrary area (c), the arbitrary start address (space start address) STx and the multiple information of the arbitrary horizontal size Hx are predetermined corresponding to the arbitrary index number i. It is set in the index table register RGij of (ST2). Here, "arbitrary" is premised on a predetermined condition, and the horizontal size Hx is arbitrarily determined in units of 256 bits, the lower 11 bits of the start address STx is 0, and is arbitrarily determined in units of 2048 bits. As explained above, the vertical size of the arbitrary area is fixed to the 2048 line, so based on the setting of the horizontal size Hx, the index of the data size (bit length) = 2048 x Hx after the start address STx. Space has been secured.

具体的には、メイン表示装置DS1のフレームバッファFBaとして、水平サイズ1280×垂直ライン2048の一対のインデックス空間が、各々インデックス番号を特定して、一又は複数の所定のインデックステーブルレジスタRGijに設定され、サブ表示装置DS2のフレームバッファFBbとして、水平サイズ480×垂直ライン2048の一対のインデックス空間が、各々インデックス番号を特定して、一又は複数の所定のインデックステーブルレジスタRGijに設定される。なお、もし、表示装置の水平ピクセル数が、256bit/32bitの整数倍に一致しない場合には、各インデックス空間の水平サイズを、その表示装置の水平ピクセル数より大きく、且つ、256/32=8の整数倍となる値に設定して、無駄なメモリ領域の発生を最小限に抑制する。 Specifically, as the frame buffer FBa of the main display device DS1, a pair of index spaces of horizontal size 1280 × vertical line 2048 are set in one or a plurality of predetermined index table registers RGIj by specifying each index number. As the frame buffer FBb of the sub-display device DS2, a pair of index spaces of horizontal size 480 × vertical line 2048 are set in one or a plurality of predetermined index table registers RGij, each specifying an index number. If the number of horizontal pixels of the display device does not match an integral multiple of 256 bits / 32 bits, the horizontal size of each index space is larger than the number of horizontal pixels of the display device, and 256/32 = 8. Set to a value that is an integral multiple of, to minimize the occurrence of wasted memory area.

以上のように、ページ領域(b) と、任意領域(c) について、必要なサイズ情報やアドレス情報を所定のインデックステーブルレジスタRGijに各々設定することで、必要個数のインデックス空間IDXiが生成される(ST2)。そして、この設定処理(ST2)に対応して、各インデックス空間IDXiのアドレス情報やサイズ情報を特定するインデックステーブルIDXTBLが自動的に構築される。図18(a)に示す通り、インデックステーブルIDXTBLには、各インデックス空間IDXiの先頭アドレスが、その他の必要情報と共に記憶されており、VDP回路52内部でのデータ転送時や、外部記憶リソース(Resource)からのデータ取得時に参照される(図19参照)。なお、AAC領域(a) のインデックス空間IDXiは、必要時に自動生成され、自動消滅するので、ステップST2の設定処理は不要である。 As described above, the required number of index spaces IDXi is generated by setting the required size information and address information for the page area (b) and the arbitrary area (c) in the predetermined index table register RGIj, respectively. (ST2). Then, in response to this setting process (ST2), an index table IDXTBL that specifies the address information and size information of each index space IDXi is automatically constructed. As shown in FIG. 18A, the start address of each index space IDXi is stored in the index table IDXTBL together with other necessary information, and is stored at the time of data transfer inside the VDP circuit 52 or as an external storage resource (Resource). ) Is referred to when the data is acquired (see FIG. 19). Since the index space IDXi in the AAC area (a) is automatically generated and automatically disappears when necessary, the setting process in step ST2 is unnecessary.

図18(a)(b)に示す通り、任意領域(c) には、各一対のフレームバッファFBaとFBbが確保され、各々、インデックス番号が付与されている。Zバッファを使用しない実施例では、フレームバッファFBaとして、インデックス番号255,254が付与された、一対のインデックス空間255,254が確保される。また、フレームバッファFBbとして、インデックス番号252,251が付与された、一対のインデックス空間252,251が確保される。なお、本実施例では、任意領域(c) に、インデックス番号0の作業領域(インデックス空間0)も確保されている。 As shown in FIGS. 18A and 18B, each pair of frame buffers FBa and FBb are secured in the arbitrary area (c), and each is assigned an index number. In the embodiment in which the Z buffer is not used, a pair of index spaces 255 and 254 with index numbers 255 and 254 are secured as the frame buffer FBa. Further, as the frame buffer FBb, a pair of index spaces 252 and 251 to which index numbers 252 and 251 are assigned are secured. In this embodiment, a work area (index space 0) having an index number of 0 is also secured in the arbitrary area (c).

また、本実施例では、ページ領域(a) に、IPストリーム動画のデコード領域となる必要個数のインデックス空間IDXiを確保し、インデックス番号iを付与することにしている。但し、初期的には、背景動画(IPストリーム動画)のためのインデックス空間IDXだけを確保している。そして、画像演出(変動演出や予告演出)における必要性に応じて、インデックステーブルレジスタRGijへの設定処理や、ディスプレイリストDLの指示コマンドに基づいて、ページ領域(a) のインデックス空間IDXjを増やし、その後、不要になれば、そのインデックス空間IDXjを開放するようにしている。すなわち、図18(a)は、定常動作時のインデックステーブルIDXTBLを示している。 Further, in this embodiment, the required number of index spaces IDXi, which are the decoding areas of the IP stream moving image, are secured in the page area (a), and the index number i is assigned. However, initially, only the index space IDX 0 for the background moving image (IP stream moving image) is secured. Then, the index space IDXj in the page area (a) is increased based on the setting process in the index table register RGij and the instruction command of the display list DL according to the necessity in the image effect (variation effect or notice effect). After that, when it becomes unnecessary, the index space IDXj is released. That is, FIG. 18A shows the index table IDXTBL during steady operation.

なお、ACC領域(a) のインデックス空間は、ディスプレイリストDLに記載されている指示コマンドに基づいて、必要時に自動的に生成され、インデックステーブルIDXTBLには、自動生成されたインデックス空間IDXjの先頭アドレスや、その他の必要情報が自動設定される。本実施例では、このAAC領域(a) を、静止画その他のテクスチャのデコード領域として使用している。 The index space of the ACC area (a) is automatically generated when necessary based on the instruction command described in the display list DL, and the index table IDXTBL contains the start address of the automatically generated index space IDXj. And other necessary information are set automatically. In this embodiment, this AAC region (a) is used as a decoding region for still images and other textures.

インデックス空間を確保する上記の動作は、もっぱら、制御レジスタ群70に含まれるインデックステーブルレジスタRGijへの設定動作によって実現されるが、ステップST1〜ST2の処理に続いて、他のVDPレジスタRGijに、必要な設定動作を実行することで、VDP回路52の定常動作(間欠動作)を可能にしている。 The above operation of securing the index space is realized exclusively by the setting operation of the index table register RGij included in the control register group 70, but following the processing of steps ST1 to ST2, the other VDP registers RGij are subjected to the operation. By executing the necessary setting operation, the steady operation (intermittent operation) of the VDP circuit 52 is enabled.

例えば、表示回路74の動作を規定する所定の表示レジスタRGijに、所定の動作パラメータ(ライン数と画素数)を書込むことで、各表示装置DS1,SD2について表示ライン数と水平画素数を設定している(SS30)。その結果、各フレームバッファFBa,FBbにおいて、表示回路74がREADアクセスすべき有効データ領域(図26(e)の破線部)の縦横寸法が、特定されることになる。 For example, the number of display lines and the number of horizontal pixels are set for each display device DS1 and SD2 by writing predetermined operation parameters (number of lines and number of pixels) to a predetermined display register RGij that defines the operation of the display circuit 74. (SS30). As a result, in each of the frame buffers FBa and FBb, the vertical and horizontal dimensions of the effective data area (broken line portion in FIG. 26E) to be READ-accessed by the display circuit 74 are specified.

次に、所定の表示レジスタRGijに、所定の動作パラメータ(アドレス値)を書込んで、各フレームバッファFBa,FBbについて、垂直表示開始位置と水平表示開始位置を特定する(SS31)。その結果、ステップSS30の処理で縦横寸法が特定された有効データ領域が、フレームバッファFBa,FBb上に確定されることになる。ここで、垂直表示開始位置と水平表示開始位置は、各インデックス空間における相対アドレス値であって、図26(e)に示す実施例では、表示開始位置は(0,0)となっている。 Next, a predetermined operation parameter (address value) is written in the predetermined display register RGij to specify the vertical display start position and the horizontal display start position for each frame buffer FBa and FBb (SS31). As a result, the effective data area whose vertical and horizontal dimensions are specified in the process of step SS30 is determined on the frame buffers FBa and FBb. Here, the vertical display start position and the horizontal display start position are relative address values in each index space, and in the embodiment shown in FIG. 26 (e), the display start position is (0,0).

続いて、メイン表示装置DS1を駆動する表示回路74Aに関する表示レジスタRGij(DSPAINDEX )と、サブ表示装置DS2を駆動する表示回路74Bに関する表示レジスタRGij(DSPBINDEX )に、各々、「表示領域(0)」と「表示領域(1)」を設定して、各表示領域を定義している(SS32)。 Subsequently, the display register RGij (DSPAINDEX) relating to the display circuit 74A driving the main display device DS1 and the display register RGij (DSPBINDEX) relating to the display circuit 74B driving the sub display device DS2 have "display areas (0)", respectively. And "Display area (1)" are set to define each display area (SS32).

ここで、「表示領域」とは、表示回路74A,74Bが、表示装置DS1,DS2を駆動するために、画像データを読み出すべきインデックス空間(フレームバッファFBa,FBb)を意味し、各々ダブルバッファ構造であるフレームバッファFBa,FBbにおけるダブルバッファの何れか一方を意味する。もっとも、表示回路74A,74Bが、実際に画像データを読み出すのは、表示領域(0)又は表示領域(1)における、ステップSS30〜SS31で特定された「有効データ領域」に限定される。 Here, the "display area" means an index space (frame buffer FBa, FBb) in which image data should be read in order for the display circuits 74A and 74B to drive the display devices DS1 and DS2, and each has a double buffer structure. It means one of the double buffers in the frame buffers FBa and FBb. However, the display circuits 74A and 74B actually read the image data only in the "effective data area" specified in steps SS30 to SS31 in the display area (0) or the display area (1).

何ら限定されないが、本実施例では、フレームバッファFBaについて、VRAM任意領域(c) におけるインデックス番号254のインデックス空間254を「表示領域(0)」と定義し、VRAM任意領域(c) におけるインデックス番号255のインデックス空間255を、「表示領域(1)」と定義している(SS32)。 Although not limited in any way, in this embodiment, for the frame buffer FBa, the index space 254 of the index number 254 in the VRAM arbitrary area (c) is defined as the “display area (0)”, and the index number in the VRAM arbitrary area (c) is defined. The index space 255 of 255 is defined as the "display area (1)" (SS32).

また、フレームバッファFBbについて、VRAM任意領域(c) におけるインデックス番号251のインデックス空間251を「表示領域(0))とし、VRAM任意領域(c) におけるインデックス番号252のインデックス空間252を「表示領域(1)」としている(SS32)。なお、「表示領域」を初期処理(SS3)において定義することは、特に限定されず、動作周期δ毎に、表示回路74が画像データをREADアクセスすべきインデックス空間(表示領域)をトグル的に切換えても良い。 Further, regarding the frame buffer FBb, the index space 251 of the index number 251 in the VRAM arbitrary area (c) is set as the “display area (0)), and the index space 252 of the index number 252 in the VRAM arbitrary area (c) is set as the “display area (display area (0)). 1) ”(SS32). The definition of the "display area" in the initial processing (SS3) is not particularly limited, and the index space (display area) in which the display circuit 74 should READ access the image data is toggled for each operation cycle δ. It may be switched.

本実施例では、以上の初期処理(SS30〜SS32)が終われば、次に、所定のシステム制御レジスタRGijへの設定値が、その後、ノイズなどの影響で変更されないよう、第1種の禁止設定レジスタRGijに、所定の禁止値を設定している(第1の禁止設定SS33)。 In this embodiment, once the above initial processing (SS30 to SS32) is completed, the first type of prohibition setting is made so that the set value in the predetermined system control register RGij is not changed due to the influence of noise or the like. A predetermined prohibition value is set in the register RGij (first prohibition setting SS33).

ここで、今後の書込みが禁止される設定値には、(1) 表示装置DS1,DS2の表示クロックに関する設定値、(2) LVDSのサンプリングクロックに関する設定値、(3) 出力選択回路79の選択動作に関する設定値、(4) 複数の表示回路DS1,DS2の同期関係(表示回路74Bが表示回路74Aの動作周期に従属すること)などが含まれている。なお、第1の禁止設定を解除するソフトウェア処理は存在するが、本実施例では使用していない。但し、必要に応じて使用するのも好適である。 Here, the setting values for which future writing is prohibited include (1) setting values related to the display clocks of the display devices DS1 and DS2, (2) setting values related to the sampling clock of the LVDS, and (3) selection of the output selection circuit 79. It includes set values related to operation, (4) synchronization relations of a plurality of display circuits DS1 and DS2 (the display circuit 74B is dependent on the operation cycle of the display circuit 74A), and the like. Although there is a software process for canceling the first prohibition setting, it is not used in this embodiment. However, it is also preferable to use it as needed.

次に、第2種の禁止設定レジスタRGijに、所定の禁止値を設定することで、初期設定系のVDPレジスタRGijについて書込み禁止設定をしている(第2の禁止設定SS34)。ここで、禁止設定されるレジスタには、ステップSS30〜SS32に係るVDPレジスタRGijが含まれている。 Next, by setting a predetermined prohibition value in the second type prohibition setting register RGij, the write prohibition setting is set for the VDP register RGij of the initial setting system (second prohibition setting SS34). Here, the prohibited register includes the VDP register RGij according to steps SS30 to SS32.

一方、第3種の禁止設定レジスタRGijに、所定の禁止値を設定することで、ステップST1〜ST3の設定処理に関するVDPレジスタを含んだ、多数のVDPレジスタへの禁止設定も可能である(第3の禁止設定)。但し、本実施例では原則として使用しない。何れにしても、第2の禁止設定や、第3の禁止設定は、所定の解除レジスタRGijに、解除値を書込むことで任意に解除可能であり、定常動作中に設定値を変更することも可能となる。 On the other hand, by setting a predetermined prohibition value in the third type prohibition setting register RGij, it is possible to set the prohibition to a large number of VDP registers including the VDP registers related to the setting processing of steps ST1 to ST3 (the first). Prohibition setting of 3). However, in principle, it is not used in this embodiment. In any case, the second prohibition setting and the third prohibition setting can be arbitrarily canceled by writing the release value in the predetermined release register RGij, and the set value is changed during steady operation. Is also possible.

なお、以上説明したステップST1〜ST3の初期設定処理は、VDPレジスタRGijのレジスタアドレス値と、そのレジスタRGijへの設定値とを対応させた初期値設定テーブルSETTABLE(図31参照)に基づいて実行される。以上、初期設定処理について説明したので、次に、定常処理(ST4〜ST14)を説明する前に、演出制御CPU63によって制御されるVDP回路52の定常動作(間欠動作)について図26(a)及び図26(b)に基づいて概略的に説明しておく。 The initial setting process of steps ST1 to ST3 described above is executed based on the initial value setting table SETTABLE (see FIG. 31) in which the register address value of the VDP register RGij and the set value of the register RGij are associated with each other. Will be done. Since the initial setting processing has been described above, next, before the steady processing (ST4 to ST14) is described, the steady operation (intermittent operation) of the VDP circuit 52 controlled by the effect control CPU 63 is shown in FIG. 26A and FIG. It will be schematically described with reference to FIG. 26 (b).

VDP回路52の間欠動作は、図26や図26に示す通りであり、プリローダ73を使用しない実施例では、図26(a)に示すように、演出制御CPU63が完成させたディスプレイリストDLiは、その動作周期(T1)で、描画回路76に発行され、描画回路76はディスプレイリストDLiに基づく描画動作によって、フレームバッファFBa,FBbに、画像データを完成させる。そして、フレームバッファFBa,FBbに完成された画像データは、次の動作周期T1+δに、表示回路74が表示装置DS1,DS2に出力することで、その後の、表示装置DS1,DS2の描画動作に基づき、遊技者が感知する表示画面となる。 The intermittent operation of the VDP circuit 52 is as shown in FIGS. 26 and 26. In the embodiment in which the preloader 73 is not used, as shown in FIG. 26A, the display list DLi completed by the effect control CPU 63 is In the operation cycle (T1), the drawing circuit 76 is issued to the drawing circuit 76, and the drawing circuit 76 completes the image data in the frame buffers FBa and FBb by the drawing operation based on the display list DLi. Then, the image data completed in the frame buffers FBa and FBb is output to the display devices DS1 and DS2 by the display circuit 74 in the next operation cycle T1 + δ, and based on the subsequent drawing operation of the display devices DS1 and DS2. , The display screen is detected by the player.

一方、プリローダ73を使用する実施例では、図26(a)に示すように、演出制御CPU63が完成させたディスプレイリストDLiは、その動作周期(T1)で、プリローダ73に発行され、プリローダ73は、ディスプレイリストDLiを解釈して、必要な先読み動作を実行すると共に、ディスプレイリストDLiの一部を書き換えて、書換えリストDL’を完成させる。なお、先読みされたCGデータと書換えリストDL’は、DRAM54の適所に格納される。 On the other hand, in the embodiment using the preloader 73, as shown in FIG. 26A, the display list DLi completed by the effect control CPU 63 is issued to the preloader 73 in the operation cycle (T1), and the preloader 73 , Interpret the display list DLi, perform the necessary look-ahead operation, and rewrite a part of the display list DLi to complete the rewrite list DL'. The pre-read CG data and the rewrite list DL'are stored in appropriate places on the DRAM 54.

次に、描画回路76は、その次の動作周期(T1+δ)で、DRAM54から書換えリストDL’を取得し、書換えリストDL’に基づく描画動作によって、フレームバッファFBa,FBbに、画像データを完成させる。そして、フレームバッファFBa,FBbに完成された画像データは、更にその次の動作周期(T1+2δ)で、表示回路74が表示装置DS1,DS2に出力することで、その後の表示装置DS1,DS2の描画動作に基づき、遊技者が感知する表示画面となる。 Next, the drawing circuit 76 acquires the rewrite list DL'from the DRAM 54 in the next operation cycle (T1 + δ), and completes the image data in the frame buffers FBa and FBb by the drawing operation based on the rewrite list DL'. .. Then, the image data completed in the frame buffers FBa and FBb is output to the display devices DS1 and DS2 by the display circuit 74 in the next operation cycle (T1 + 2δ), so that the subsequent display devices DS1 and DS2 are drawn. Based on the movement, the display screen is detected by the player.

以上、VDP回路52の間欠動作について概略的に説明したが、上記した間欠動作を実現するため、演出制御CPU63は、初期処理(ST1〜ST3)の後、割込みカウンタVCNTの値を繰り返し参照して、動作開始タイミングに達するのを待ち、動作開始タイミング(一つ飛びのVブランク開始タイミング)に達すれば、割込みカウンタVCNTをゼロクリアする(ST4)。 The intermittent operation of the VDP circuit 52 has been schematically described above, but in order to realize the above-mentioned intermittent operation, the effect control CPU 63 repeatedly refers to the value of the interrupt counter VCNT after the initial processing (ST1 to ST3). , Waits for the operation start timing to be reached, and when the operation start timing (one-step V blank start timing) is reached, the interrupt counter VCNT is cleared to zero (ST4).

その後、定常動作を開始するが、本実施例では、最初に、定常動作を開始すべき動作開始条件を満たしているか否かを判定する(ST5)。なお、この判定タイミングは、表示装置DS1の垂直帰線期間(VBLANK)の開始タイミングである。なお、表示装置DS2の表示タイミングは、表示装置DS1の表示タイミングに従属するよう、初期設定(ST3)時に設定されている。 After that, the steady operation is started. In this embodiment, it is first determined whether or not the operation start condition for starting the steady operation is satisfied (ST5). The determination timing is the start timing of the vertical blanking interval (VBLANK) of the display device DS1. The display timing of the display device DS2 is set at the time of the initial setting (ST3) so as to depend on the display timing of the display device DS1.

垂直帰線期間(VBLANK)の開始タイミングで判定される動作開始条件は、プリローダ73を活用するか否かで異なるので、先ず、プリローダ73を活用しない実施例(図26)について説明する。この場合は、本来、図26(a)のタイムチャートに示す通りにVDPの内部動作が進行するよう、回路構成やプログラムが設計されている。すなわち、動作周期(T1)で完成されたディスプレイリストDL1に基づき、描画回路76は、その動作周期中(T1〜T1+δ)に、描画動作を終える筈である。しかし、例えば、図26(a)の動作周期(T1+2δ)で完成されたディスプレイリストDL3のように、その動作周期中(T1+2δ〜T1+3δ)に、描画動作を終わらない場合も無いとは言えない。また、表示回路74に関して、表示タイミングに対して、表示データの生成が間に合わないUnderrun異常が生じている可能性も無くはない。 Since the operation start condition determined at the start timing of the vertical blanking interval (VBLANK) differs depending on whether or not the preloader 73 is used, an embodiment (FIG. 26) in which the preloader 73 is not used will be described first. In this case, the circuit configuration and the program are originally designed so that the internal operation of the VDP proceeds as shown in the time chart of FIG. 26 (a). That is, based on the display list DL1 completed in the operation cycle (T1), the drawing circuit 76 should finish the drawing operation during the operation cycle (T1 to T1 + δ). However, for example, as in the display list DL3 completed in the operation cycle (T1 + 2δ) of FIG. 26A, it cannot be said that the drawing operation may not be completed during the operation cycle (T1 + 2δ to T1 + 3δ). Further, with respect to the display circuit 74, there is a possibility that an Underrun abnormality has occurred in which the display data is not generated in time with respect to the display timing.

ステップST5の判定処理は、かかる事態を考慮したのであり、演出制御CPU63は、描画回路76の動作状態を示すステイタスレジスタRGij(制御レジスタ群70の一種)をアクセスして、ステップST5のタイミングで、描画回路76が、必要な動作を終えているか否かと、Underrun異常の有無を判定する。なお、Underrun異常の有無は、アンダーランカウンタURCNTa〜URCNTcに基づいて判定される。また、プリローダ73を活用しない実施例では、例えば、図26(a)のタイミングT1+δでは、描画回路76に関する描画レジスタのステイタス情報をREADアクセスして、ディスプレイリストDL1に基づく描画動作が終わっていることを確認する。 The determination process in step ST5 takes such a situation into consideration, and the effect control CPU 63 accesses the status register RGij (a type of control register group 70) indicating the operating state of the drawing circuit 76, and at the timing of step ST5, The drawing circuit 76 determines whether or not the necessary operation has been completed and whether or not there is an Underrun abnormality. The presence or absence of the Underrun abnormality is determined based on the underrun counters URCNTa to URCNTc. Further, in the embodiment in which the preloader 73 is not used, for example, at the timing T1 + δ in FIG. 26A, the status information of the drawing register related to the drawing circuit 76 is READ-accessed, and the drawing operation based on the display list DL1 is completed. To confirm.

そして、動作開始条件を満たさない場合(異常/不適合)には、異常回数をカウントする異常フラグERをインクリメントして、ステップST6〜ST8処理をスキップする。異常フラグERは、その他の重大異常フラグABNと共に、ステップST9やST10の処理で判定され、重大異常フラグABNがリセット状態である前提において、連続異常回数が多くない場合(ER≦2)には、正常時と同様に、演出コマンド解析処理を実行する(ST13)。 Then, when the operation start condition is not satisfied (abnormality / nonconformity), the abnormality flag ER for counting the number of abnormalities is incremented, and the steps ST6 to ST8 processing are skipped. The abnormality flag ER is determined by the processing of steps ST9 and ST10 together with the other serious abnormality flag ABN, and if the number of continuous abnormalities is not large (ER ≦ 2) on the assumption that the serious abnormality flag ABN is in the reset state, The effect command analysis process is executed in the same manner as in the normal state (ST13).

Underrun異常時の場合も、同様に、ステップST6〜ST8処理をスキップする。そして、所定のシステム制御レジスタRGijに、所定のクリア値を書込むことで、表示クロック(周波数)と表示回路74を初期化する(ST10c)。そして、この初期化処理の正常終了を確認した後、表示クロックの周波数や、表示回路74の動作を規定する一群のシステム制御レジスタRGijの値を、規定値に再設定した上で(ST10c)、演出コマンド解析処理を実行する(ST13)。 Similarly, when the Underrun is abnormal, the steps ST6 to ST8 are skipped. Then, the display clock (frequency) and the display circuit 74 are initialized by writing a predetermined clear value to the predetermined system control register RGij (ST10c). After confirming the normal completion of this initialization process, the frequency of the display clock and the value of the group of system control registers RGij that regulate the operation of the display circuit 74 are reset to the specified values (ST10c). The effect command analysis process is executed (ST13).

演出コマンド解析処理(ST13)では、主制御基板21から制御コマンドCMDを受けているか否かを判定し、制御コマンドCMDを受けた場合には、その制御コマンドCMDを解析して必要な処理を実行する(ST13)。ここで、必要な処理には、変動演出の開始を指示する制御コマンドCMDに基づく新規の変動演出の開始準備処理や、エラー発生を示す制御コマンドCMDに基づくエラー報知の開始処理が含まれる。続いて、WDT回路にクリアパルスを出力して(ST14)、ステップST4の処理に戻る。 In the effect command analysis process (ST13), it is determined whether or not the control command CMD is received from the main control board 21, and if the control command CMD is received, the control command CMD is analyzed and necessary processing is executed. (ST13). Here, the necessary processing includes a process for preparing to start a new variation effect based on the control command CMD instructing the start of the variation effect, and a process for starting error notification based on the control command CMD indicating the occurrence of an error. Subsequently, a clear pulse is output to the WDT circuit (ST14), and the process returns to the process of step ST4.

以上、軽微なUnderrun異常時や、動作開始条件が不適合の場合であって、異常フラグERがER≦2である場合について説明したが、このような場合には、その動作周期では、表示回路74が読み出す表示領域をトグル切換える処理(ST6)や、ディスプレイリストの作成処理(ST7)がスキップされ、且つ、演出シナリオが進行しないことになる(ST8〜ST12参照)。これは、不完全な状態のフレームバッファFBa,FBbの画像データを出力させないためである。そのため、画像演出が進行せず、元の画面(DL2に基づく画面)が再表示されるフレーム落ちが生じる。 The case where the error flag ER is ER ≦ 2 has been described above when there is a slight Underrun abnormality or when the operation start condition is incompatible. In such a case, the display circuit 74 is used in the operation cycle. The process of toggle switching the display area read by (ST6) and the process of creating a display list (ST7) are skipped, and the production scenario does not proceed (see ST8 to ST12). This is because the image data of the frame buffers FBa and FBb in an incomplete state is not output. Therefore, the image production does not proceed, and the original screen (screen based on DL2) is redisplayed, resulting in frame dropping.

ここで、フレーム落ちを回避するため、動作開始条件が成立するまで待機する構成も考えられる。しかし、演出制御CPU63が実行すべき制御処理(ST6〜ST12)は数多く、各々の処理時間を確保する必要があるので、本実施例では、動作開始条件を満たさない場合にフレーム落ちを生じさせている。 Here, in order to avoid dropping frames, a configuration that waits until the operation start condition is satisfied is also conceivable. However, since there are many control processes (ST6 to ST12) to be executed by the effect control CPU 63 and it is necessary to secure each processing time, in this embodiment, a frame drop occurs when the operation start condition is not satisfied. There is.

但し、フレーム落ちが生じたとしても、割込み処理(図26(b))によって進行するランプ演出やモータ演出と比較して、1/30〜2/30秒程度、画像演出の進行が遅れるだけであり、これに遊技者が気付くことはない。しかも、フレーム落ち時には、演出カウンタENの更新処理を含んだ演出シナリオ処理(ST11)や、音声進行処理(ST12)も合わせてスキップされるので、その後に開始されるリーチ演出や予告演出や役物演出において、画像演出、音声演出、ランプ演出、及びモータ演出などの開始タイミングがずれるおそれはない。 However, even if a frame is dropped, the progress of the image effect is only delayed by about 1/30 to 2/30 seconds as compared with the lamp effect and the motor effect that are progressed by the interrupt processing (FIG. 26 (b)). Yes, the player does not notice this. Moreover, when the frame is dropped, the production scenario processing (ST11) including the update processing of the production counter EN and the audio progress processing (ST12) are also skipped, so that the reach production, the advance notice production, and the accessory to be started after that are also skipped. In the production, there is no possibility that the start timings of the image production, the audio production, the lamp production, the motor production, and the like are shifted.

すなわち、演出シナリオでは、画像演出、音声演出、ランプ演出、モータ演出の開始タイミングと、その後に実行すべき演出内容を一元的に管理しており、正常時に限り更新される演出カウンタENによって、開始タイミングを制御しているので、各種の演出の同期が外れることはない。例えば、爆発音と、爆発画像と、役物移動と、ランプフラッシュ動作を複合した演出動作がある場合、フレーム落ちが生じた後であっても、上記した各演出動作は正しく同期して開始される。 That is, in the production scenario, the start timing of the image production, the audio production, the lamp production, and the motor production and the production content to be executed after that are centrally managed, and the production counter EN, which is updated only when normal, starts. Since the timing is controlled, the synchronization of various productions will not be out of sync. For example, if there is an effect operation that combines the explosion sound, the explosion image, the movement of the accessory, and the lamp flash operation, each of the above effect operations is started in correct synchronization even after the frame is dropped. To.

以上、比較的軽微な異常時について説明したが、重大異常フラグABNがセット状態である場合や、連続異常回数が多い場合(ER>2)や、繰り返しUnderrun異常が生じる場合には、ステップST10の判定の後、無限ループ状態としている(ST10b)。その結果、WDT回路58の計時動作が進行して、演出制御CPU63を含んだ複合チップ50は、異常リセットされ、その後、初期処理(ST1〜ST3)が再実行されることで、異常事態発生の根本原因の解消が期待される。 Although the relatively minor abnormality has been described above, when the serious abnormality flag ABN is in the set state, the number of continuous abnormalities is large (ER> 2), or when the Underrun abnormality occurs repeatedly, step ST10 is performed. After the determination, the state is in an infinite loop (ST10b). As a result, the timekeeping operation of the WDT circuit 58 progresses, the composite chip 50 including the effect control CPU 63 is abnormally reset, and then the initial processing (ST1 to ST3) is re-executed, so that an abnormal situation occurs. It is expected that the root cause will be eliminated.

なお、このリセット動作は、WDT回路58が起動して実行されるので、CPU回路51も含め複合チップ50全体がリセット状態となる(図13(b))。そこで、CPU回路51のリセットを回避するべく、演出制御CPU63が、所定のキーワード列(例えば1バイトデータ3個)をパターンチェック回路CHKに出力して、リセット信号RSTをVDP回路52に出力するのも好適である。この場合も、VDP回路52のリセット動作の正常終了を確認した後(ST101)、ステップST4やST13の処理に移行させることになる。 Since the WDT circuit 58 is activated and executed in this reset operation, the entire composite chip 50 including the CPU circuit 51 is in the reset state (FIG. 13 (b)). Therefore, in order to avoid resetting the CPU circuit 51, the effect control CPU 63 outputs a predetermined keyword string (for example, three 1-byte data) to the pattern check circuit CHK and outputs the reset signal RST to the VDP circuit 52. Is also suitable. Also in this case, after confirming the normal end of the reset operation of the VDP circuit 52 (ST101), the process proceeds to the processes of steps ST4 and ST13.

何れにしても、この異常時には、音声回路SNDも合わせ異常リセットされるので、画像演出、音声演出、ランプ演出、モータ演出は、全て初期状態に戻ることになる。但し、これらのリセット動作は、主制御部21や払出制御部25には、何の影響も与えなので、大当り状態の消滅や、賞球の消滅のような事態が発生するおそれはない。 In any case, at the time of this abnormality, the audio circuit SND is also abnormally reset, so that the image effect, the sound effect, the lamp effect, and the motor effect all return to the initial state. However, since these reset operations have no effect on the main control unit 21 and the payout control unit 25, there is no possibility that a situation such as the disappearance of the jackpot state or the disappearance of the prize ball will occur.

以上、異常事態について説明したが、実際には、軽微な場合も含め上記した異常が発生することは殆どなく、ステップST5の処理の後、所定の表示レジスタRGij(DSPACTL /DSPBCTL)への設定に基づき、表示回路74Aと表示回路74Bが読み出すべき画像データを記憶するフレームバッファFBa,FBbの「表示領域」をトグル的に切り換える(ST6)。先に説明した通り、「表示領域(0)」と「表示領域(1)」は、予め初期処理において定義されているので(ST3)、ステップST6の処理では、フレームバッファFBa,FBbについて、今回の「表示領域」が、表示領域(0)/表示領域(1)の何れであるかを特定する。 Although the abnormal situation has been described above, in reality, the above-mentioned abnormality rarely occurs even in a minor case, and after the processing of step ST5, the setting to the predetermined display register RGij (DSPACTL / DSPBCTL) is performed. Based on this, the "display area" of the frame buffers FBa and FBb for storing the image data to be read by the display circuit 74A and the display circuit 74B is toggled (ST6). As described above, since the "display area (0)" and the "display area (1)" are defined in advance in the initial processing (ST3), in the processing of step ST6, the frame buffers FBa and FBb are described this time. It is specified whether the "display area" of the above is the display area (0) or the display area (1).

このステップST6が実行されることで、表示回路74Aは、インデックス空間254(表示領域(0))と、インデックス空間255(表示領域(1))から、動作周期δ毎に、交互に画像データを読み出して表示装置DS1を駆動することになる。同様に、表示回路74Bは、インデックス空間251(表示領域(0))と、インデックス空間252(表示領域(1))から、動作周期δ毎に、交互に画像データを読み出してサブ表示装置DS2を駆動することになる。なお、表示回路74が実際にREADアクセスするのは、表示領域(0)/表示領域(1)における有効データ領域に限定されるのは先に説明した通りである。 By executing this step ST6, the display circuit 74A alternately outputs image data from the index space 254 (display area (0)) and the index space 255 (display area (1)) for each operation cycle δ. It reads out and drives the display device DS1. Similarly, the display circuit 74B alternately reads image data from the index space 251 (display area (0)) and the index space 252 (display area (1)) at each operation cycle δ to display the sub-display device DS2. It will be driven. As described above, the display circuit 74 actually performs READ access only to the effective data area in the display area (0) / display area (1).

何れにしても、本実施例では、動作周期毎に「表示領域」が切り替わるので、表示回路74A,74Bは、直前の動作周期で描画回路76が完成させた画像データについて、表示装置DS1,DS2への出力処理を開始することになる。但し、ステップST5の処理は、メイン表示装置DS1の垂直帰線期間(Vブランク)の開始時から開始されるので、実際には、垂直帰線期間が完了してから画像データの出力処理が開始されることになる。図26(a)において、表示回路の欄に示す矢印は、この出力処理の動作周期を示している。 In any case, in the present embodiment, since the "display area" is switched for each operation cycle, the display circuits 74A and 74B use the display devices DS1 and DS2 for the image data completed by the drawing circuit 76 in the immediately preceding operation cycle. Output processing to is started. However, since the process of step ST5 is started from the start of the vertical blanking interval (V blank) of the main display device DS1, the image data output process is actually started after the vertical blanking interval is completed. Will be done. In FIG. 26A, the arrow shown in the column of the display circuit indicates the operation cycle of this output processing.

以上のような意義を有するステップST6の処理が終われば、演出制御CPU63は、続いて、次の動作周期で、表示回路74が表示装置に出力するべき画像データを特定したディスプレイリストDLを完成させる(ST7)。特に限定されないが、この実施例では、RAM59のリストバッファ領域(DLバッファBUF)を確保し、そこにディスプレイリストDLを完成させている(図19参照)。 When the processing of step ST6 having the above significance is completed, the effect control CPU 63 subsequently completes the display list DL that specifies the image data to be output to the display device by the display circuit 74 in the next operation cycle. (ST7). Although not particularly limited, in this embodiment, the list buffer area (DL buffer BUF) of the RAM 59 is secured, and the display list DL is completed there (see FIG. 19).

ディスプレイリストDLは、一連の指示コマンドを、適宜な順番で列記して構成され、EODL(End Of DL )コマンドを記載して終わるよう構成されている。そして、本実施例では、データ転送回路72、描画回路76、プリローダ73の円滑な動作を実現するべく、EODLコマンドを含む全ての指示コマンドを、コマンド長が32bitの整数N倍(N>0)の指示コマンドだけに限定している。なお、32bitの整数N倍で構成された指示コマンドに、無意ビット(Don't care bit)も含んで良いことは先に説明した通りである。 The display list DL is configured by arranging a series of instruction commands in an appropriate order, and is configured to end by writing an EODL (End Of DL) command. Then, in this embodiment, in order to realize smooth operation of the data transfer circuit 72, the drawing circuit 76, and the preloader 73, all the instruction commands including the EODL command are given an integer N times (N> 0) with a command length of 32 bits. It is limited to the instruction command of. As described above, the instruction command composed of a 32-bit integer N times may include a don't care bit.

このように、実施例のディスプレイリストDLは、コマンド長が32bitの整数N倍(N>0)の指示コマンドだけで構成されているので、ディスプレイリストDL全体のデータボリューム値(データ総量)は、必ず、コマンド長の最小単位(32bit=4バイト)の整数倍となる。更に、本実施例では、データ転送回路72の最低データ量Dminを考慮して、ディスプレイリストDLのデータボリューム値を、最低データ量Dminの整数倍(1以上)であって、且つ、指示コマンドの最小単位(4バイト)の整数倍となるよう調整している。例えば、Dmin=256バイトであれば、ディスプレイリストDLのデータボリューム値は、256バイト、512バイト・・・の何れかの値に調整される。 As described above, since the display list DL of the embodiment is composed of only instruction commands having a command length of 32 bits and an integer N times (N> 0), the data volume value (total amount of data) of the entire display list DL is determined. It is always an integral multiple of the minimum unit of command length (32 bits = 4 bytes). Further, in this embodiment, in consideration of the minimum data amount Dmin of the data transfer circuit 72, the data volume value of the display list DL is an integral multiple (1 or more) of the minimum data amount Dmin, and the instruction command is used. It is adjusted to be an integral multiple of the minimum unit (4 bytes). For example, if Dmin = 256 bytes, the data volume value of the display list DL is adjusted to any value of 256 bytes, 512 bytes, and so on.

ここで、演出内容の複雑さに応じて、適宜に、256バイトか、又は512バイトに調整するのも好適であるが、本実施例では、表示装置が二個であり、サブ表示装置DS2はそれほど複雑な画像演出を実行させないことを考慮して、ディスプレイリストDLのデータボリューム値を、常に、256バイトに調整している。 Here, it is also preferable to appropriately adjust to 256 bytes or 512 bytes according to the complexity of the effect content, but in this embodiment, there are two display devices, and the sub display device DS2 is The data volume value of the display list DL is always adjusted to 256 bytes in consideration of not performing such a complicated image effect.

もっとも、この手法は、何ら限定されず、表示装置が三個以上になる場合や、サブ表示装置DS2も含め複雑な画像演出を実行する遊技機の場合には、512バイト又は、768バイトに調整される。また、通常の演出時は、ディスプレイリストDLのデータボリューム値を256バイトに調整し、特別な演出を実行する場合に限り、ディスプレイリストDLのデータボリューム値を、512バイト又は、768バイトに調整するのも好適である。 However, this method is not limited in any way, and is adjusted to 512 bytes or 768 bytes in the case of three or more display devices or in the case of a gaming machine that executes complicated image production including the sub display device DS2. Will be done. Further, during a normal effect, the data volume value of the display list DL is adjusted to 256 bytes, and the data volume value of the display list DL is adjusted to 512 bytes or 768 bytes only when a special effect is executed. Is also suitable.

但し、本実施例の場合には、ディスプレイリストDLのデータボリューム値は、各動作周期δにおいて、予め規定された所定バイト長(256バイト)に調整される。調整手法としては、32bit長のEODLコマンドの後に、不足領域を補填する32bit長のNOP (No Operation)コマンドを埋める簡易手法(A)か、或いは、不足領域を32bit長のNOP コマンドで埋めた後、最後に32bit長のEODLコマンドを記載する標準手法(B)が考えられる。なお、ディスプレイリストDLのデータボリューム値(データ総量)を全く調整することなくEODLコマンドで終結させ、データ転送回路72の動作時に、ダミーデータを付加的に転送して、最低データ量Dminの整数倍の転送量を確保する無調整手法(C)も考えられる。 However, in the case of this embodiment, the data volume value of the display list DL is adjusted to a predetermined byte length (256 bytes) defined in advance in each operation cycle δ. The adjustment method is a simple method (A) in which a 32-bit length NOP (No Operation) command is filled after the 32-bit length EODL command, or a 32-bit length NOP command is used to fill the shortage area. Finally, a standard method (B) in which a 32-bit length EODL command is described can be considered. The data volume value (total data amount) of the display list DL is terminated by the EODL command without any adjustment, and dummy data is additionally transferred during the operation of the data transfer circuit 72, which is an integral multiple of the minimum data amount Dmin. An unadjusted method (C) for securing the transfer amount of the data is also conceivable.

ここで、標準手法(B)を採る場合には、最初、コマンドカウンタCNTを規定値(256バイトに対応する64−1)に初期設定し、DLバッファ領域BUFに、有意な指示コマンドを書き込むごとに、コマンドカウンタCNTを適宜に減算し、一連の有意な指示コマンドの書き込みが終われば、コマンドカウンタCNTがゼロになるまで、NOP コマンドを記載し、最後にEODLコマンドを記載する手法が考えられる。本実施例の場合、指示コマンドは、そのコマンド長が32bitの整数N倍(N>0)のものに限定されているので、上記の処理は容易であり、コマンドカウンタCNTの減算処理は、整数Nに対応した減算処理となる。 Here, when the standard method (B) is adopted, first, the command counter CNT is initially set to a specified value (64-1 corresponding to 256 bytes), and every time a significant instruction command is written to the DL buffer area BUF. A method is conceivable in which the command counter CNT is appropriately subtracted, and when the writing of a series of significant instruction commands is completed, the NOP command is described until the command counter CNT becomes zero, and finally the EODL command is described. In the case of this embodiment, since the instruction command is limited to those whose command length is an integer N times (N> 0) of 32 bits, the above processing is easy, and the subtraction processing of the command counter CNT is an integer. The subtraction process corresponds to N.

一方、簡易手法(A)を採る場合には、ディスプレイリストDLの作成時、最初に、リストバッファ領域(DLバッファBUF)の全てをNOP コマンドで埋めれば足りるので、一見、標準手法(B)より優れているように思われる。また、簡易性の観点では、無調整手法(C)も優れているように思われる。しかし、本実施例では、基本的に標準手法(B)を採っており、ディスプレイリストDLの先頭からEODLコマンドまでの実データ量、つまり、EODLコマンドまでのデータ量が、常に、データ転送回路72の最低データ量Dminの整数倍となるよう調整している。 On the other hand, when adopting the simple method (A), when creating the display list DL, it is sufficient to first fill the entire list buffer area (DL buffer BUF) with the NOP command, so at first glance, it is better than the standard method (B). Seems to be excellent. Further, from the viewpoint of simplicity, the non-adjustment method (C) seems to be excellent. However, in this embodiment, the standard method (B) is basically adopted, and the actual amount of data from the beginning of the display list DL to the EODL command, that is, the amount of data up to the EODL command is always the data transfer circuit 72. The minimum data amount of Dmin is adjusted to be an integral multiple of Dmin.

これは、プリローダ73を活用する実施例を考慮したものであり、もし、簡易手法(A)や無調整手法(C)を採用すると、EODLコマンドまでのディスプレイリストDLの実データ量が、ランダムな値となり、プリローダ73が書き換えた書換えリストDL’のDRAM54への転送時や、DRAM54から描画回路76への書換えリストDL’の転送時に支障が生じるからである。なお、書換えリストDL’のDRAM54への転送時には、データ転送回路72のChA制御回路72aが機能し、書換えリストDL’の描画回路76への転送時には、ChB制御回路72bが機能するが(図24参照)、何れの場合もEODLコマンドまでの書換えリストDL’しか転送しないことになる。 This is in consideration of an embodiment in which the preloader 73 is used. If the simple method (A) or the non-adjustment method (C) is adopted, the actual data amount of the display list DL up to the EODL command is random. This is because the value becomes a value, and problems occur when transferring the rewrite list DL'rewritten by the preloader 73 to the DRAM 54 or when transferring the rewrite list DL'from the DRAM 54 to the drawing circuit 76. The ChA control circuit 72a of the data transfer circuit 72 functions when the rewrite list DL'is transferred to the DRAM 54, and the ChB control circuit 72b functions when the rewrite list DL'is transferred to the drawing circuit 76 (FIG. 24). (See), in either case, only the rewrite list DL'up to the EODL command will be transferred.

以上、ディスプレイリストDLのデータボリューム値を調整する標準手法(B)の利点を説明したが、プリローダ73を使用しない実施例では、発行されたディスプレイリストDLは、描画回路76によって処理されるだけであるので、簡易手法(A)や無調整手法(C)の使用が何ら禁止されない。 The advantages of the standard method (B) for adjusting the data volume value of the display list DL have been described above, but in the embodiment in which the preloader 73 is not used, the issued display list DL is only processed by the drawing circuit 76. Therefore, the use of the simple method (A) and the non-adjustment method (C) is not prohibited at all.

但し、以下の説明では、プリローダ73の使用の有無に拘らず、原則として標準手法(B)を採ることを前提に、図28に基づいて、ディスプレイリストDLの詳細について説明する。 However, in the following description, the details of the display list DL will be described based on FIG. 28 on the premise that the standard method (B) is adopted in principle regardless of whether or not the preloader 73 is used.

特に限定されないが、本実施例では、ディスプレイリストDLに、先ず、メイン表示装置DS1に関する指示コマンド列(L11〜L16)を記載し、その後、サブ表示装置DS2に関する指示コマンド列(L17〜L20)を記載するようにしている。また、標準手法(B)を採用して、ディスプレイリストDLのデータボリューム値を固定長(256バイト)に調整している。なお、図28は、事実上、演出制御CPU63が、RAM59のリストバッファ領域に、指示コマンドを書き込む手順や、ディスプレイリストDLに基づく描画回路76の動作を示したものともなっている。 Although not particularly limited, in this embodiment, first, the instruction command sequence (L11 to L16) relating to the main display device DS1 is described in the display list DL, and then the instruction command sequence (L17 to L20) relating to the sub display device DS2 is described. I am trying to describe it. Further, the standard method (B) is adopted to adjust the data volume value of the display list DL to a fixed length (256 bytes). Note that FIG. 28 also shows, in fact, the procedure in which the effect control CPU 63 writes an instruction command to the list buffer area of the RAM 59, and the operation of the drawing circuit 76 based on the display list DL.

図28に示す通り、ディスプレイリストDLの先頭では、環境設定系の指示コマンド(SETDAVR )を記載して、表示装置DS1のフレームバッファFBaについて、インデックス空間IDX上の左上基点アドレス(X,Y)を規定する(L11)。図18(a)に関して説明した通り、本実施例では、表示装置DS1用として、任意領域(c) に、一対のフレームバッファFBaが確保されている。そして、通常は、表示回路74にとっての有効データ領域に対応して、基点アドレス(X,Y)=(0,0)とすることで、フレームバッファFBaの先頭位置から描画回路76に活用される。 As shown in FIG. 28, at the beginning of the display list DL, an instruction command (SETDAVR) of the environment setting system is described, and the upper left base point address (X, Y) on the index space IDX is set for the frame buffer FBa of the display device DS1. Specify (L11). As described with respect to FIG. 18A, in this embodiment, a pair of frame buffers FBa are secured in the arbitrary area (c) for the display device DS1. Then, normally, by setting the base point address (X, Y) = (0,0) corresponding to the effective data area for the display circuit 74, the drawing circuit 76 is utilized from the start position of the frame buffer FBa. ..

図18(c)では、その下方左側の実描画領域にL11と付しているが、これは、指示コマンドL11によって、フレームバッファFBa上の実描画領域が、フレームバッファFBaの基点アドレス(0,0)位置から始まると特定されたことを意味している。ただし、実描画領域の縦横寸法や、その実描画領域を具体的に特定するインデックス番号は、未だ未確定であり、後述する指示コマンド(SETINDEX)L13によって確定する。なお、指示コマンドL11ではZバッファの使用の有無も指定される。 In FIG. 18C, the actual drawing area on the lower left side is designated as L11, which means that the actual drawing area on the frame buffer FBa is set to the base point address (0,) of the frame buffer FBa by the instruction command L11. 0) It means that it was specified to start from the position. However, the vertical and horizontal dimensions of the actual drawing area and the index number that specifically specifies the actual drawing area are still undecided, and are determined by the instruction command (SETINDEX) L13 described later. The instruction command L11 also specifies whether or not to use the Z buffer.

次に、環境設定系の指示コマンド(SETDAVF )によって、仮想描画空間上に、左上基点座標(Xs,Ys)と、右下対角点座標(Xe,Ye)を設定して、W×H寸法の描画領域を定義する(L12)。ここで、仮想描画空間とは、描画用の指示コマンド(SPRITEコマンドなど)によって描画可能な、X方向±8192、Y方向±8192の仮想的な二次元空間である(図18(c)参照)。 Next, the upper left base point coordinates (Xs, Ys) and the lower right diagonal point coordinates (Xe, Ye) are set in the virtual drawing space by the instruction command (SETDAVF) of the environment setting system, and the W × H dimension is set. The drawing area of is defined (L12). Here, the virtual drawing space is a virtual two-dimensional space in the X direction ± 8192 and the Y direction ± 8192 that can be drawn by a drawing instruction command (SPRITE command or the like) (see FIG. 18C). ..

この指示コマンドL12(SETDAVF )によって、仮想描画空間は、描画内容が実際に表示装置DS1に反映される描画領域と、その他の非描画領域に区分される。また、指示コマンドL12(SETDAVF )は、指示コマンドL11で開始位置(基点アドレス)が規定された実描画領域と、仮想描画空間上の描画領域とを対応付けることになる。 By this instruction command L12 (SETDAVF), the virtual drawing space is divided into a drawing area in which the drawing contents are actually reflected on the display device DS1 and other non-drawing areas. Further, the instruction command L12 (SETDAVF) associates the actual drawing area whose start position (base point address) is defined by the instruction command L11 with the drawing area on the virtual drawing space.

この点を言い換えると、指示コマンドL12によって、(インデックス空間は未定の)フレームバッファFBaには、仮想描画空間上の描画領域に対応する、基点アドレスから始まるW×Hの実描画領域が定義されることになる。したがって、指示コマンドL12で指定する描画領域は、フレームバッファFBaの水平サイズと同一か、それ以下とする必要がある。通常、描画領域や実描画領域は、表示回路74にとっての有効データ領域(図26(e))と同寸法となるよう定義される。 In other words, the instruction command L12 defines a W × H actual drawing area starting from the base point address, which corresponds to the drawing area on the virtual drawing space, in the frame buffer FBa (index space is undecided). It will be. Therefore, the drawing area specified by the instruction command L12 needs to be the same as or smaller than the horizontal size of the frame buffer FBa. Usually, the drawing area and the actual drawing area are defined so as to have the same dimensions as the effective data area (FIG. 26 (e)) for the display circuit 74.

そして、描画回路76が指示コマンドL11,L12を実行した後は、仮想描画空間に描画された描画内容のうち、描画領域に含まれるものだけが、フレームバッファFBaの実描画領域に反映されることになる。したがって、描画領域からはみ出した部分や、図18(c)において作業領域と記載された部分の描画内容は、そのままでは、フレームバッファに反映されることはない。なお、仮想描画空間に作業領域を確保する場合には、仮想描画空間の非描画領域が使用される。 Then, after the drawing circuit 76 executes the instruction commands L11 and L12, only the drawing contents drawn in the virtual drawing space included in the drawing area are reflected in the actual drawing area of the frame buffer FBa. become. Therefore, the drawing contents of the portion protruding from the drawing area and the portion described as the work area in FIG. 18C are not reflected in the frame buffer as they are. When securing a work area in the virtual drawing space, a non-drawing area in the virtual drawing space is used.

次に、今回の動作周期において、描画回路76が、これから完成させるディスプレイリストDLに基づいて描画する描画内容を何処に描画すべきかを規定する(L13)。具体的には、ダブルバッファ構成の表示装置DS1のフレームバッファFBaについて、今回のディスプレイリストDLに基づく描画内容の「書込み領域」となるインデックス空間IDXが特定される(L13)。具体的には、テクスチャ設定系のコマンドであるSETINDEXコマンドによって、(1) フレームバッファFBaは、任意領域に確保されていること、及び、(2) 「書込み領域」となるインデックス空間IDXの任意領域上のインデックス番号Nが特定される。 Next, in this operation cycle, the drawing circuit 76 defines where to draw the drawing contents to be drawn based on the display list DL to be completed (L13). Specifically, for the frame buffer FBa of the display device DS1 having a double buffer configuration, the index space IDX which is the "write area" of the drawing contents based on the display list DL this time is specified (L13). Specifically, by the SETINDEX command, which is a texture setting command, (1) the frame buffer FBa is secured in an arbitrary area, and (2) the index space IDX N that becomes the "write area" is arbitrary. The index number N on the area is specified.

この指示コマンドL13によって、例えば、N=255と特定された場合には、仮想描画空間上に定義された描画領域に対応する実描画領域は、具体的には、ダブルバッファ構造のフレームバッファFBaにおけるインデックス空間IDX255であると定義されたことになる。 When, for example, N = 255 is specified by this instruction command L13, the actual drawing area corresponding to the drawing area defined on the virtual drawing space is specifically in the frame buffer FBa having a double buffer structure. It is defined as the index space IDX 255.

本実施例の場合、フレームバッファFBaのインデックス番号は、255又は254であり(図18(a))、トグル的に切り換えた何れかが指定される(L13)。なお、このインデックス番号は、メイン制御処理のステップST6で指定された表示領域(0)/(1)ではない方のインデック番号である。例えば、ステップST6の処理において、表示回路74に対して、表示領域(0)が指定されている場合には、表示領域(1)が、描画回路76にとっての「書込み領域」となる。 In the case of this embodiment, the index number of the frame buffer FBa is 255 or 254 (FIG. 18 (a)), and either toggled switch is specified (L13). Note that this index number is an index number that is not the display area (0) / (1) specified in step ST6 of the main control process. For example, in the process of step ST6, when the display area (0) is designated for the display circuit 74, the display area (1) becomes the “write area” for the drawing circuit 76.

以上の通り、指示コマンドL11と指示コマンドL12とで、実描画領域(W×Hの論理空間)と描画領域(W×Hの仮想空間)との対応関係が、一般的に定義された後、インデックス空間IDXを具体的に特定する指示コマンドL13(SETINDEX)によって、W×Hの仮想空間が、特定のインデックス空間IDXにおけるW×Hの論理空間であると対応付けられたことになる。 As described above, after the correspondence between the actual drawing area (W × H logical space) and the drawing area (W × H virtual space) is generally defined by the instruction command L11 and the instruction command L12, By the instruction command L13 (SETINDEX) that specifically specifies the index space IDX, the virtual space of W × H is associated with the logical space of W × H in the specific index space IDX.

この点を言い換えると、今後、一連の指示コマンドに基づいて、W×Hの仮想空間に仮想的に描画される内容は、仮想空間と内蔵VRAM71の実アドレスとの対応関係を規定するVDP内部の変換テーブルに基づいて、内蔵VRAM71(フレームバッファ)の画像データとなる。 続いて、「書込み領域」として、特定されたインデックス空間IDXを、例えば、黒色で塗りつぶすフレームバッファ・クリア処理を実行する指示コマンドが記載される(L14,L15)。これは、二動作期間前にフレームバッファFBaに書き込まれた画像データの消去処理に他ならない。 In other words, in the future, based on a series of instruction commands, the content virtually drawn in the W × H virtual space will be inside the VDP that defines the correspondence between the virtual space and the real address of the built-in VRAM 71. Based on the conversion table, it becomes the image data of the built-in VRAM 71 (frame buffer). Subsequently, as a "write area", an instruction command for executing a frame buffer clear process for filling the specified index space IDX with black, for example, is described (L14, L15). This is nothing but the erasing process of the image data written in the frame buffer FBa before the two operation periods.

具体的には、環境設定コマンドの一種であるSETFCOLOR コマンドによって、例えば黒色を選択し、プリミティブ描画系コマンドであるRECTANGLE コマンドによって矩形領域を塗り潰すべく規定する。なお、RECTANGLE コマンドでは、仮想描画空間に設定された描画領域(フレームバッファFBaに対応する仮想空間)について、その左上端点と、右下端点のXY座標が指定される(図18(c)参照)。 Specifically, the SETFCOLOR command, which is a type of environment setting command, selects black, for example, and the RECTANGLE command, which is a primitive drawing command, specifies that the rectangular area should be filled. In the RECTANGLE command, the XY coordinates of the upper left end point and the lower right end point of the drawing area (virtual space corresponding to the frame buffer FBa) set in the virtual drawing space are specified (see FIG. 18C). ..

以上の処理によって、描画準備処理が完了するので、次に、静止画や動画一フレームなど、適宜なテクスチャを、仮想描画空間に描画するための指示コマンドを列記する。典型的には、先ず、テクスチャの展開先となるインデックス空間IDXを、テクスチャ設定系のSETINDEXコマンドで特定した上で、テクスチャロード系の指示コマンドであるTXLOADコマンドを記載して、CGROM55から読み出す所定のテクスチャを、所定のインデックス空間IDXに展開するようディスプレイリストDLに記載する。 Since the drawing preparation process is completed by the above processing, next, instruction commands for drawing an appropriate texture such as a still image or a moving image frame in the virtual drawing space are listed. Typically, first, the index space IDX to which the texture is expanded is specified by the SETINDEX command of the texture setting system, and then the TXLOAD command, which is the instruction command of the texture load system, is described to read from the CGROM 55. The texture is described in the display list DL so as to expand into a predetermined index space IDX.

先に説明した通り、本実施例では、背景動画が、IPストリーム動画で構成されている。そこで、例えば、背景動画について、これを展開すべきインデックス空間IDXを、テクスチャ設定系のSETINDEXコマンドで、ページ領域(b) のインデックス空間IDXと特定した上で、テクスチャロード系のTXLOADコマンドを記載する。なお、TXLOADコマンドでは、今回LOADすべき動画フレームについて、CGROM55の先頭アドレス(テクスチャのSourceアドレス)と、展開後のデータサイズ(水平×垂直)を特定する必要がある。 As described above, in this embodiment, the background moving image is composed of the IP stream moving image. Therefore, for example, for the background video, the index space IDX to be expanded is specified as the index space IDX 0 in the page area (b) by the SETINDEX command of the texture setting system, and then the TXLOAD command of the texture load system is described. To do. In the TXLOAD command, it is necessary to specify the start address (texture source address) of the CGROM 55 and the expanded data size (horizontal x vertical) for the video frame to be loaded this time.

VDP回路52において、上記のTXLOADコマンドが実行されると、背景動画の一動画フレーム(テクスチャ)は、先ず、AAC領域(a) に取得され、その後、自動的に起動するGDEC75によって、ページ領域(b) のインデックス空間IDXに展開される。次に、この一動画フレームを仮想描画空間に描画することになる。この場合に、SETINDEXコマンド(テクスチャ設定系)によって、「ページ領域(b) のインデックス空間IDXが、その後の処理対象のテクスチャである」と設定しても良いが、TXLOADコマンドに連続して処理する場合には、このSETINDEXコマンドの記載を省略することができる。 When the above TXLOAD command is executed in the VDP circuit 52, one moving image frame (texture) of the background moving image is first acquired in the AAC area (a), and then the page area (the page area (texture) is automatically activated by the GDEC75. It is expanded to the index space IDX 0 of b). Next, this one moving image frame is drawn in the virtual drawing space. In this case, the SETINDEX command (texture setting system) may be used to set "the index space IDX 0 in the page area (b) is the texture to be processed thereafter", but the TXLOAD command is continuously processed. In this case, the description of this SET INDEX command can be omitted.

何れにしても、「ページ領域(b) のインデックス空間IDXが、その後の処理対象のテクスチャである」と特定されている状態で、次に、αブレンド処理のためのパラメータを設定するなど、適宜な描画間演算系の指示コマンドを記載する。なお、αブレンド処理とは、既に描画領域(フレームバッファFBa)に記載されている画像と、これから上書きする画像との透明化/半透明化処理に関するものある。したがって、背景動画の動画フレームのように、第一枚目の描画動作では、描画間演算系の指示コマンドの使用は不要である。 In any case, in the state where "the index space IDX 0 in the page area (b) is the texture to be processed after that" is specified, then the parameters for the α blend processing are set, and so on. Describe the instruction command of the appropriate inter-drawing calculation system. The α-blending process is related to the transparency / translucency processing of the image already described in the drawing area (frame buffer FBa) and the image to be overwritten. Therefore, it is not necessary to use the instruction command of the inter-drawing calculation system in the drawing operation of the first sheet as in the moving image frame of the background moving image.

続いて、プリミティブ描画系の指示コマンドであるSPRITEコマンドによって、「ページ領域(b) のインデックス空間IDXのテクスチャ(背景動画の一動画フレーム)」を、仮想描画空間の適所(矩形のDestination 領域)に描画するべくSPRITEコマンドを記載する。なお、SPRITEコマンドには、仮想描画空間のDestination 領域について、その左上端点と、右下端点を特定する必要がある。 Then, by using the SPRITE command, which is an instruction command for the primitive drawing system, " texture of index space IDX 0 in page area (b) (one video frame of background video)" is set in place in the virtual drawing space (rectangular destination area). Describe the SPRITE command to draw in. For the SPRITE command, it is necessary to specify the upper left end point and the right lower end point of the Destination area of the virtual drawing space.

このDestination 領域は、予め、指示コマンドL11,L12によって、実描画領域(FBa)に対応付けられた描画領域(仮想描画空間上に定義された仮想空間)の全体又はその一部である。但し、背景動画は、通常、表示画面全体に描画するので、このような場合のDestination 領域は、描画領域の全体又はそれ以上となる。なお、Destination 領域が、描画領域の全体より大きい場合とは、例えば、背景動画がズームアップされる場合である。 This Destination area is the whole or a part of the drawing area (virtual space defined on the virtual drawing space) associated with the actual drawing area (FBa) in advance by the instruction commands L11 and L12. However, since the background moving image is usually drawn on the entire display screen, the Destination area in such a case is the entire drawing area or more. The case where the Destination area is larger than the entire drawing area is, for example, the case where the background moving image is zoomed up.

以上の処理によって、背景動画の動画フレームの描画が終わったので、続いて、テクスチャロード系、テクスチャ設定系、描画間演算系、プリミティブ描画系コマンドなどの指示コマンドを適宜な順番で列記して、背景動画に重ねて、各種のテクスチャを描画するべくディスプレイリストDLを構成することになる。先に説明したように、変動演出時では、多数の動画が必要となるので、その場合には、内蔵VRAM71のページ領域(b) について、インデックス空間IDXを増加するべく、インデックステーブル制御系の指示コマンド(NEWPIX)を記載することになる。 Since the drawing of the video frame of the background video is completed by the above processing, the instruction commands such as the texture load system, the texture setting system, the inter-drawing calculation system, and the primitive drawing system commands are listed in an appropriate order. The display list DL is configured to draw various textures on the background moving image. As described above, a large number of moving images are required at the time of variable production. In that case, the index table control system is instructed to increase the index space IDX for the page area (b) of the built-in VRAM 71. The command (NEWPIX) will be described.

例えば、二つ目のIPストリーム動画に関し、NEWPIXコマンドによって、ページ領域(b) に、追加のインデックス空間IDXを確保した後、このインデックス空間IDXを特定して(SETINDEX)、二つ目の動画の一フレームの展開を指示し(TXLOAD)、展開したテクスチャを描画領域の適所に配置する(SPRITE)。通常、この場合のDestination 領域は、描画領域の一部となる。 For example, for the second IP stream video, the NEWPIX command allocates an additional index space IDX 1 in the page area (b), then specifies this index space IDX 1 (SETINDEX), and then the second IP stream video. Instruct the expansion of one frame of the video (TXLOAD), and place the expanded texture in the appropriate place in the drawing area (SPRITE). Normally, the Destination area in this case becomes a part of the drawing area.

以下、同様であり、NEWPIXコマンドによって、次々、インデックス空間IDXを確保した後、適宜なαブレンド処理を実行しつつ、複数のIPストリームを描画領域に描画すれば、描画領域への描画内容は、実描画領域であるフレームバッファFBaに画像データとして順次蓄積されることになる。複数N個のIPストリーム動画が描画されている演出時には、ページ領域(b) において、複数N個のインデックス空間が機能している。 The same applies hereinafter. If the index space IDX k is secured one after another by the NEWPIX command and then a plurality of IP streams are drawn in the drawing area while executing appropriate α-blending processing, the drawing contents in the drawing area will be the same. , The image data is sequentially accumulated in the frame buffer FBa, which is the actual drawing area. When a plurality of N IP stream moving images are drawn, a plurality of N index spaces are functioning in the page area (b).

そして、一連の変動演出が終了したような場合には、ページ領域(b) に確保した多数のインデックス空間IDX〜IDXのうち、不要と思われるインデックス空間IDXを開放するべく、DELPIXコマンドによって不要なインデックス空間IDXを削除すれば良い。 Then, when a series of fluctuation effects are completed, the DELPIX command is used to release the index space IDX that is considered unnecessary among the large number of index spaces IDX 1 to IDX k secured in the page area (b). The unnecessary index space IDX may be deleted.

なお、静止画やIストリーム動画を描画する場合には、SETINDEXコマンドによって、これらのテクスチャのデコード先が、AAC領域(a) であると指定した上で、TXLOADコマンドを実行させれば、AAC領域(a) に取得されたテクスチャは、その後、自動的に起動するGDEC75によってACC領域(a) に展開される。そして、展開されたテクスチャは、SPRITEコマンドによって、描画領域の適所に描画すれば良い。なお、キャッシュヒット機能を活用するか否かに応じて、第一AAC領域(a1)か、第二AAC領域(a2)が使用される。 When drawing a still image or I-stream movie, use the SETINDEX command to specify that the decoding destination of these textures is the AAC area (a), and then execute the TXLOAD command to execute the AAC area. The texture acquired in (a) is then expanded into the ACC area (a) by the automatically activated GDEC75. Then, the expanded texture may be drawn at an appropriate position in the drawing area by the SPRITE command. The first AAC region (a1) or the second AAC region (a2) is used depending on whether or not the cache hit function is utilized.

ここまでの説明では、各テクスチャは、直接的に、メイン表示装置用DS1の描画領域に描画されるが、必ずしも、このような動作に限定されない。例えば、既に表示装置DS1用に確保されている描画領域に重複しない状態で、適宜な描画領域を設け(図18(c))、この描画領域を内蔵VRAM71の作業領域に対応付ければ、中間的な描画領域を構築して、適宜な演出画像を完成させることができる。ここで、表示装置DS1用の描画領域と重複しない状態とするのは、重複領域については、後の対応付け設定が優先され、その領域への描画内容がフレームバッファFBaに反映されないからである。 In the description so far, each texture is drawn directly in the drawing area of the DS1 for the main display device, but the operation is not necessarily limited to such an operation. For example, if an appropriate drawing area is provided (FIG. 18 (c)) without overlapping the drawing area already reserved for the display device DS1, and this drawing area is associated with the work area of the built-in VRAM 71, it is intermediate. It is possible to construct an appropriate drawing area and complete an appropriate effect image. Here, the reason why the drawing area does not overlap with the drawing area for the display device DS1 is that the later association setting is prioritized for the overlapping area and the drawing contents in the area are not reflected in the frame buffer FBa.

図18(c)に示す通り、本実施例の作業領域は、任意領域(c) におけるインデックス空間IDXである。そして、この作業領域を使用する演出タイミングでは、先行して、演出画像用の描画領域(図18(c)参照)を、作業領域(インデックス空間IDXの実描画領域)に対応付けるための指示コマンド列(SETDAVR ,SETDAVF ,SETINDEX)を記載しておく。図18(c)に示す通り、演出画像用の描画領域は、メイン表示装置DS1用の描画領域に含まれない領域に確保される。 As shown in FIG. 18 (c), the work area of this embodiment is the index space IDX 0 in the arbitrary area (c). Then, in the effect timing using this work area, an instruction command for associating the drawing area for the effect image (see FIG. 18C) with the work area ( actual drawing area of index space IDX 0) is preceded. Describe the columns (SETDAVR, SETDAVF, SETINDEX). As shown in FIG. 18C, the drawing area for the effect image is secured in an area not included in the drawing area for the main display device DS1.

そして、その後は、フレームバッファFBaに関する指示コマンド列L16と同様の指示コマンドを列記して、インデックス空間IDXに、適宜な演出画像を完成させれば良い。本実施例の場合、演出画像は、静止画で構成されるので、デコードデータは第一AAC領域(a1)に展開されるよう指示コマンド(SETINDEX)が記載され、次に、インデックス空間IDXの描画領域の適所をDestination とするプリミティブ描画系の指示コマンド(SPRITE)が使用されることになる。なお、このような動作は、演出内容に応じて、一回又は複数回繰り返される。 Then, after that, the same instruction commands as the instruction command sequence L16 regarding the frame buffer FBa may be listed, and an appropriate effect image may be completed in the index space IDX 0. In the case of this embodiment, since the effect image is composed of a still image, an instruction command (SETINDEX) is described so that the decoded data is expanded in the first AAC region (a1), and then the index space IDX 0 The primitive drawing system instruction command (SPRITE) with the destination in the drawing area will be used. It should be noted that such an operation is repeated once or a plurality of times depending on the content of the effect.

そして、演出画像を完成させたインデックス空間IDXをテクスチャと位置付けた後(SETINDEX)、SPRITEコマンドによって、メイン表示装置用DS1の描画領域の適所に、インデックス空間IDXの演出画像(テクスチャ)を描画すれば良い。このような場合、インデックス空間IDXの演出画像を、三角形の描画プリミティブ(primitive )に分解し、適宜な角度に回転させた上で、描画領域に描画することが考えられる。なお、テクスチャの回転角度は、例えば、予告演出の信頼度などに対応付けられる。 Then, after positioning the index space IDX 0 that completed the effect image as a texture (SETINDEX), the effect image (texture) of the index space IDX 0 is drawn at an appropriate position in the drawing area of the DS1 for the main display device by the SPRITE command. Just do it. In such a case, it is conceivable to decompose the effect image of the index space IDX 0 into triangular drawing primitives, rotate them at an appropriate angle, and then draw them in the drawing area. The rotation angle of the texture is associated with, for example, the reliability of the advance notice effect.

以上、メイン表示装置DS1の一フレームを完成させるための指示コマンド列(L11〜L16)について説明したが、サブ表示装置DS2の一フレームを完成させるための指示コマンド列(L17〜L12)についても、同様である。すなわち、フレームバッファFBbの開始XY座標を特定し(L17)を定義し(通常はX=0,Y=0)、図18(c)に示す仮想描画空間上に、サブ表示装置DS2のための描画領域を定義する(L18)。 The instruction command sequence (L11 to L16) for completing one frame of the main display device DS1 has been described above, but the instruction command sequence (L17 to L12) for completing one frame of the sub display device DS2 has also been described. The same is true. That is, the start XY coordinates of the frame buffer FBb are specified (L17), defined (usually X = 0, Y = 0), and on the virtual drawing space shown in FIG. 18 (c), for the sub-display device DS2. A drawing area is defined (L18).

ところで、本実施例では、メイン表示装置DS1用の画像データの生成を終えた後、サブ表示装置DS2用の生成処理に移行するので、サブ表示装置DS2用の描画領域が、メイン表示装置DS1用の描画領域と重複しても何の問題もなく、描画領域を自由に設定することができる。そのため、ディスプレイリストDLの生成プログラムの開発時、例えば、SPRITEコマンドで、新規に設定された描画領域に適宜なテクスチャを貼り付けるような場合、SPRITEコマンドの動作パラメータ(Destination 領域)の設定その他を、ある程度、定型化することができる。 By the way, in this embodiment, after the generation of the image data for the main display device DS1 is completed, the process shifts to the generation process for the sub display device DS2, so that the drawing area for the sub display device DS2 is for the main display device DS1. There is no problem even if it overlaps with the drawing area of, and the drawing area can be set freely. Therefore, when developing a display list DL generation program, for example, when pasting an appropriate texture to a newly set drawing area with the SPRITE command, set the operation parameters (Destination area) of the SPRITE command and so on. It can be stylized to some extent.

このような任意の描画領域の定義が終われば(L18)、次に、ダブルバッファ構成の表示装置DS2のフレームバッファFBbについて、今回のディスプレイリストDLに基づく描画内容の「書込み領域」となるインデックス空間IDXを特定する(L19)。このインデックス空間IDXのインデックス番号は、フレームバッファFBbに関し、メイン制御処理のステップST6で指定された表示領域(0)/(1)に対応しない方のインデック番号である。 After the definition of such an arbitrary drawing area is completed (L18), next, for the frame buffer FBb of the display device DS2 having a double buffer configuration, an index space that becomes a "write area" of the drawing contents based on the display list DL this time. Identify the IDX (L19). The index number of the index space IDX is the index number of the frame buffer FBb that does not correspond to the display area (0) / (1) specified in step ST6 of the main control process.

そして、その後、サブ表示装置DS2についての指示コマンド列L20〜L22が、メイン表示装置DS1に関する指示コマンド列L14〜L16と同様に列記される。また、インデックス空間IDXに完成させた演出画像を使用することもできる。 After that, the instruction command sequences L20 to L22 for the sub display device DS2 are listed in the same manner as the instruction command sequences L14 to L16 for the main display device DS1. It is also possible to use the effect image completed in the index space IDX 0.

以上、ディスプレイリストDLを構成するL11〜L22の指示コマンドは、本実施例では、全て、コマンド長が32ビットの整数倍のものに限定されている。そして、先に説明した通り、本実施例のディスプレイリストDLのデータボリューム値(データ総量)を、固定長(256バイト)に調整しており、ダミーコマンドたる必要数のNOP コマンド(L23)を付加した上で、EODLコマンド(L24)で終結させている。すなわち、図28の実施例では、前記した標準手法(B)を採っている。 As described above, all the instruction commands of L11 to L22 constituting the display list DL are limited to those having a command length that is an integral multiple of 32 bits in this embodiment. Then, as described above, the data volume value (total amount of data) of the display list DL of this embodiment is adjusted to a fixed length (256 bytes), and the required number of NOP commands (L23) as dummy commands are added. After that, it is terminated by the EODL command (L24). That is, in the embodiment of FIG. 28, the above-mentioned standard method (B) is adopted.

但し、標準手法(B)を採る場合でも、全ての動作周期において、ディスプレイリストDLのデータ総量を256バイトと固定化することは必ずしも必須ではない。すなわち、別の実施例では、NOP コマンドを除くディスプレイリストDLのデータ総量が、256バイトを超える場合(例えば、特別な演出期間)には、ディスプレイリストDLのデータ総量は、NOP コマンドを付加することで、512バイト又はそれ以上のN×256バイトに調整される。なお、標準手法(B)を採る場合、N×256バイトの最後はEODLコマンドで終端されることは先に説明した通りである。 However, even when the standard method (B) is adopted, it is not always essential to fix the total amount of data in the display list DL to 256 bytes in all operation cycles. That is, in another embodiment, when the total amount of data in the display list DL excluding the NOP command exceeds 256 bytes (for example, during a special production period), the total amount of data in the display list DL is added with the NOP command. Is adjusted to 512 bytes or more N × 256 bytes. As described above, when the standard method (B) is adopted, the end of N × 256 bytes is terminated by the EODL command.

以上、本発明の実施例について詳細に説明したが、各構成は、弾球遊技機に限らず、例えば、回胴遊技機にも好適に適用可能である。なお、力率改善回路については、省略することも可能である。また、遊技球は、必ずしも、遊技者に払い出される必要はなく、賞球数が電子カードの記憶されるいわゆる管理遊技機にも本発明が適用可能であることは勿論である。 Although the embodiments of the present invention have been described in detail above, each configuration can be suitably applied not only to the ball game machine but also to, for example, a spinning machine. The power factor improving circuit can be omitted. Further, the game balls do not necessarily have to be paid out to the player, and it goes without saying that the present invention can be applied to a so-called managed game machine in which the number of prize balls is stored in an electronic card.

GM 遊技機
20 電源基板
CV12s コンバータ回路
GM game machine 20 power supply board CV12s converter circuit

Claims (9)

所定のスイッチ信号に起因する抽選結果に基づいて各種の制御動作を実行する遊技機であって、
外部から受ける交流電圧に基づいて、各種レベルの直流電圧を形成する電源基板には、必要な回路部品を所定の基板に配置してコンバータ回路の主要部を構成すると共に、前記主要部の同一箇所に電気接続させた複数本を含んだ一群の回路接続バーを、一列に整列して突出させた状態で、前記主要部を被覆した複合回路部品が設けられ、
前記一群の回路接続バーは、各々、前記複合回路部品から略直交した状態で、前記電源基板に挿入され、
同一箇所に電気接続させた複数本の回路接続バーは、前記複数本の回路接続バーの最大離間距離に対応する取付幅を有する一の回路パターンランドに各々接続されていることを特徴とする遊技機。
A gaming machine that executes various control operations based on a lottery result caused by a predetermined switch signal.
In the power supply board that forms various levels of DC voltage based on the AC voltage received from the outside, necessary circuit components are arranged on a predetermined board to form the main part of the converter circuit, and the same part of the main part is formed. A composite circuit component covering the main part is provided in a state where a group of circuit connection bars including a plurality of electrically connected circuits are arranged in a row and projected.
Each of the group of circuit connection bars is inserted into the power supply board in a state substantially orthogonal to the composite circuit component.
A game characterized in that a plurality of circuit connection bars electrically connected to the same location are each connected to one circuit pattern land having a mounting width corresponding to the maximum separation distance of the plurality of circuit connection bars. Machine.
前記一群の回路接続バーは、2mm〜3mmのピッチで整列している請求項1に記載の遊技機。 The gaming machine according to claim 1, wherein the group of circuit connection bars are aligned at a pitch of 2 mm to 3 mm. 前記回路接続バーは、正面視で、0.6〜1.5mmの幅を有している請求項1又は2に記載の遊技機。 The gaming machine according to claim 1 or 2, wherein the circuit connection bar has a width of 0.6 to 1.5 mm in a front view. 前記複合回路部品は、略直方体状の金属ボックスで覆われている請求項1〜3の何れかに記載の遊技機 The gaming machine according to any one of claims 1 to 3, wherein the composite circuit component is covered with a substantially rectangular parallelepiped metal box. 前記複合回路部品の下流側にはチョークコイルが配置され、
前記チョークコイルと、前記複合回路部品との間には、前記金属ボックスの第1板面が、隙間の無い面状に配置されている請求項4に記載の遊技機。
A choke coil is arranged on the downstream side of the composite circuit component.
The gaming machine according to claim 4, wherein the first plate surface of the metal box is arranged in a surface shape without a gap between the choke coil and the composite circuit component.
前記第1板面に略並行する第2板面は、中央を開口させた門状に形成されている請求項5に記載の遊技機。 The gaming machine according to claim 5, wherein the second plate surface substantially parallel to the first plate surface is formed in a gate shape with an opening at the center. 前記チョークコイルは、トロイダルコアに巻線を巻回して構成されている請求項5又は6に記載の遊技機。 The gaming machine according to claim 5 or 6, wherein the choke coil is configured by winding a winding around a toroidal core. 前記チョークコイルの巻線の直径は、0.5mm以上である請求項5〜7の何れかに記載の遊技機。 The gaming machine according to any one of claims 5 to 7, wherein the diameter of the winding of the choke coil is 0.5 mm or more. 前記チョークコイルは、前記電源基板の表面側から挿入実装されている請求項5〜8の何れかに記載の遊技機。
The gaming machine according to any one of claims 5 to 8, wherein the choke coil is inserted and mounted from the surface side of the power supply board.
JP2019235514A 2019-12-26 2019-12-26 game machine Active JP7334113B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019235514A JP7334113B2 (en) 2019-12-26 2019-12-26 game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019235514A JP7334113B2 (en) 2019-12-26 2019-12-26 game machine

Publications (2)

Publication Number Publication Date
JP2021102016A true JP2021102016A (en) 2021-07-15
JP7334113B2 JP7334113B2 (en) 2023-08-28

Family

ID=76754511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019235514A Active JP7334113B2 (en) 2019-12-26 2019-12-26 game machine

Country Status (1)

Country Link
JP (1) JP7334113B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05206308A (en) * 1992-01-29 1993-08-13 Murata Mfg Co Ltd Surface mounting component
JPH07106510A (en) * 1993-10-05 1995-04-21 Hitachi Ltd Semiconductor device
JPH09220318A (en) * 1996-02-20 1997-08-26 Daiichi Shokai Co Ltd Noise removing device in pachinko machine
JP2002529922A (en) * 1998-10-30 2002-09-10 パワー トレンズ インコーポレーテツド Case for circuit boards mounted horizontally or vertically
JP2006068252A (en) * 2004-09-01 2006-03-16 Daiman:Kk Game machine
JP2006095225A (en) * 2004-09-30 2006-04-13 Heiwa Corp Circuit board storage box for game machine
JP2008010580A (en) * 2006-06-28 2008-01-17 Toyota Motor Corp Terminal aligning apparatus
JP2017112213A (en) * 2015-12-16 2017-06-22 株式会社トーキン choke coil
JP2018015141A (en) * 2016-07-26 2018-02-01 株式会社藤商事 Game machine

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05206308A (en) * 1992-01-29 1993-08-13 Murata Mfg Co Ltd Surface mounting component
JPH07106510A (en) * 1993-10-05 1995-04-21 Hitachi Ltd Semiconductor device
JPH09220318A (en) * 1996-02-20 1997-08-26 Daiichi Shokai Co Ltd Noise removing device in pachinko machine
JP2002529922A (en) * 1998-10-30 2002-09-10 パワー トレンズ インコーポレーテツド Case for circuit boards mounted horizontally or vertically
JP2006068252A (en) * 2004-09-01 2006-03-16 Daiman:Kk Game machine
JP2006095225A (en) * 2004-09-30 2006-04-13 Heiwa Corp Circuit board storage box for game machine
JP2008010580A (en) * 2006-06-28 2008-01-17 Toyota Motor Corp Terminal aligning apparatus
JP2017112213A (en) * 2015-12-16 2017-06-22 株式会社トーキン choke coil
JP2018015141A (en) * 2016-07-26 2018-02-01 株式会社藤商事 Game machine

Also Published As

Publication number Publication date
JP7334113B2 (en) 2023-08-28

Similar Documents

Publication Publication Date Title
JP7300980B2 (en) game machine
JP7300979B2 (en) game machine
JP7300981B2 (en) game machine
JP7300978B2 (en) game machine
JP7394618B2 (en) gaming machine
JP7353166B2 (en) gaming machine
JP7349902B2 (en) gaming machine
JP7349903B2 (en) gaming machine
JP7353168B2 (en) gaming machine
JP7349904B2 (en) gaming machine
JP7353167B2 (en) gaming machine
JP7353165B2 (en) gaming machine
JP7334113B2 (en) game machine
JP7334111B2 (en) game machine
JP7321080B2 (en) game machine
JP7321079B2 (en) game machine
JP7321082B2 (en) game machine
JP7334110B2 (en) game machine
JP7334112B2 (en) game machine
JP7321081B2 (en) game machine
JP7346480B2 (en) gaming machine
JP7346479B2 (en) gaming machine
JP7346478B2 (en) gaming machine
JP7371038B2 (en) gaming machine
JP2023139203A (en) Game machine

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191226

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220329

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230405

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230718

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230816

R150 Certificate of patent or registration of utility model

Ref document number: 7334113

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150