JP2735072B2 - Image display control device and electronic device having the same - Google Patents

Image display control device and electronic device having the same

Info

Publication number
JP2735072B2
JP2735072B2 JP9004164A JP416497A JP2735072B2 JP 2735072 B2 JP2735072 B2 JP 2735072B2 JP 9004164 A JP9004164 A JP 9004164A JP 416497 A JP416497 A JP 416497A JP 2735072 B2 JP2735072 B2 JP 2735072B2
Authority
JP
Japan
Prior art keywords
circuit
data
output
priority
pattern data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP9004164A
Other languages
Japanese (ja)
Other versions
JPH09171381A (en
Inventor
祐之 阿部
比佐夫 佐藤
弘明 那須
康彰 萩原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP9004164A priority Critical patent/JP2735072B2/en
Publication of JPH09171381A publication Critical patent/JPH09171381A/en
Application granted granted Critical
Publication of JP2735072B2 publication Critical patent/JP2735072B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、動画表示を行なう
ラスタ・スキャン方式のディスプレイ装置に於けるスプ
ライトと呼ばれる動画の重ね合わせ処理を簡易に行ない
得る画像表示制御装置に関し、特に、表示画面の1画素
に対して複数のスプライトの重なりが生じた場合に最も
優先順位の高いスプライトの色パターンデータを選択し
てこの色パターンデータを1画素に対する色データとす
る制御を行なうデータ選択装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image display control device which can easily perform a moving image superimposition process called a sprite in a raster scan type display device for displaying a moving image. The present invention relates to a data selection device that selects color pattern data of a sprite having the highest priority when a plurality of sprites overlap a pixel, and controls the color pattern data to be color data for one pixel.

【0002】[0002]

【従来の技術】スプライト機能をもつ画像表示制御装置
は、複数のスプライトと、バックグラウンド画面を表示
することができ、例えば、バックグラウンド画面を固定
し、スプライトに、あるキャラクタパターンを定義し、
表示画面上でのスプライトの表示位置(座標)を変更し
てやることで、表示画面上でのキャラクタパターンの移
動を容易に行なわせることができる。
2. Description of the Related Art An image display control device having a sprite function can display a plurality of sprites and a background screen. For example, the background screen is fixed, a character pattern is defined in the sprite,
By changing the display position (coordinates) of the sprite on the display screen, it is possible to easily move the character pattern on the display screen.

【0003】また、スプライトには優先順位があり、2
個以上のスプライトが重なった場合には、優先順位の高
いスプライトが表示され、優先順位が低いスプライトは
表示されない機能を有している。
[0003] Sprites have a priority order.
When more than one sprite overlaps, a sprite having a higher priority is displayed, and a sprite having a lower priority is not displayed.

【0004】従来、スプライトの優先順位の判別は図1
に示される如き回路により実現される。
Conventionally, the priority order of sprites is determined as shown in FIG.
Is realized by a circuit as shown in FIG.

【0005】図1に示された優先データ選択装置は、画
面の一水平ライン上に幅が16ドットのスプライトを1
6個分選択可能であり、スプライト1画素に対し4ビッ
トのデータを指定することにより16色表現することが
できるものである。このためパターンシフト回路11に
は、長さが16ビットのシフトレジスタ15が4個用意
されている。この4個のシフトレジスタ15から同時に
送出される4ビットのデータ103により16色が表現
される。また前記パターンシフト回路11を16個用い
ることにより、一水平ライン上にスプライトを16個ま
で選択することができる。前記パターンシフト回路11
は、16ビット幅のシフトレジスタ15の他に、スプラ
イトの表示位置のX座標を記憶するラッチ回路16と、
水平ドットカウンタ19のカウント数と前記ラッチ回路
16内のX座標との一致を検出する一致検出回路17
と、一致検出回路17から出力される検出信号104を
受けて前記シフトレジスタ15にシフトクロック105
を送る制御を行なうクロック制御回路18とにより構成
される。
[0005] The priority data selection device shown in FIG. 1 uses a sprite having a width of 16 dots on one horizontal line of the screen.
Six colors can be selected, and 16 colors can be expressed by designating 4-bit data for one sprite pixel. Therefore, the pattern shift circuit 11 is provided with four shift registers 15 each having a length of 16 bits. Sixteen colors are represented by the 4-bit data 103 transmitted simultaneously from the four shift registers 15. Further, by using the 16 pattern shift circuits 11, up to 16 sprites can be selected on one horizontal line. The pattern shift circuit 11
A latch circuit 16 for storing an X coordinate of a display position of a sprite, in addition to a shift register 15 having a width of 16 bits,
A coincidence detection circuit 17 for detecting coincidence between the count number of the horizontal dot counter 19 and the X coordinate in the latch circuit 16
And the shift register 105 receives the detection signal 104 output from the coincidence detection circuit
And a clock control circuit 18 for controlling the transmission of the clock signal.

【0006】図1の優先データ選択装置は、SP1〜S
P16と呼ばれる、16個のパターンシフト回路11
と、各パターンシフト回路11から出力されるデータ1
03のうち最も優先順位が高いデータを選択する優先パ
ターン選択回路により構成されている。
The priority data selection device shown in FIG.
16 pattern shift circuits 11 called P16
And data 1 output from each pattern shift circuit 11
03 is a priority pattern selection circuit that selects the data with the highest priority.

【0007】スプライトの選択方法について図1を用い
簡単に説明する。ディスプレイ装置の水平帰線期間に次
の水平表示期間に表示すべきスプライトデータを16本
のパターン入力信号線100により並列にパターンシフ
ト回路11内のシフトレジスタ15に取り込む。シフト
レジスタ15は図1の上から順に印加される読み込みク
ロック信号102により各データを取り込む。また、パ
ターンシフト回路の一番上のシフトレジスタ15にパタ
ーンデータを取り込むときには、入力線101を通して
スプライトの表示座標(X座標)をラッチ回路16に取
り込む操作も行なわれる。次に水平表示期間に入り、水
平ドットカウンタ19がカウント動作を開始し水平ドッ
トカウンタ19のカウント数とラッチ回路16内のX座
標が一致検出回路17により比較される。前記カウント
数とX座標が一致すると、一致検出回路17は検出信号
104を出力し、クロック制御回路18は、この検出信
号104を受けてシフトレジスタ15にシフトクロック
105を供給する。シフトレジスタ15は、このシフト
クロック105に同期してスプライトデータを連続に出
力する。図1の優先データ選択装置では、SP1のパタ
ーンシフト回路11のスプライトデータが、最も優先順
位が高く、SP1,SP2,……,SP16の順で優先
順位が低くなる。スプライトの16色のデータのうち
(0、0、0、0)のデータは有色でなく透明であり、
選択対象となるデータの範ちゅうに含まれない。すなわ
ち、パターンシフト回路11の出力が(0、0、0、
0)であれば、選択対象のデータが存在しないものと判
別される。そして、SP1のパターンシフト回路11か
ら出力されたデータ103に“1”が存在すると、即、
透明でないとするノア回路12の出力(イネーブル信号
a)は“0”となる。SP2のパターンシフト回路の出
力は、イネーブル信号aとのアンド回路構成をとってい
るため、アンド回路13の出力は“0”となる。SP3
以降のパターンシフト回路11の出力についても、同様
に、イネーブル信号aとアンド回路構成をとっているの
で、アンド回路の出力は“0”となる。この時、オア回
路14の出力は、16個のアンド回路13の出力の論理
和が、取られ、SP1のパターンシフト回路11のスプ
ライトデータと同一データが出力されることになる。
A method for selecting a sprite will be briefly described with reference to FIG. Sprite data to be displayed in the next horizontal display period during the horizontal flyback period of the display device is taken in parallel to the shift register 15 in the pattern shift circuit 11 by the 16 pattern input signal lines 100. The shift register 15 takes in each data by the read clock signal 102 applied in order from the top in FIG. When the pattern data is taken into the top shift register 15 of the pattern shift circuit, an operation of taking in the display coordinates (X coordinate) of the sprite into the latch circuit 16 through the input line 101 is also performed. Next, in the horizontal display period, the horizontal dot counter 19 starts counting operation, and the coincidence detection circuit 17 compares the count number of the horizontal dot counter 19 with the X coordinate in the latch circuit 16. When the count number matches the X coordinate, the coincidence detection circuit 17 outputs a detection signal 104, and the clock control circuit 18 receives the detection signal 104 and supplies a shift clock 105 to the shift register 15. The shift register 15 continuously outputs sprite data in synchronization with the shift clock 105. In the priority data selection device of FIG. 1, the sprite data of the pattern shift circuit 11 of SP1 has the highest priority, and the priority is lower in the order of SP1, SP2,..., SP16. The data of (0, 0, 0, 0) out of the 16 color data of the sprite is not colored but transparent.
Not included in the range of data to be selected. That is, the output of the pattern shift circuit 11 is (0, 0, 0,
If 0), it is determined that the data to be selected does not exist. As soon as “1” exists in the data 103 output from the pattern shift circuit 11 of SP1,
The output (enable signal a) of the NOR circuit 12 which is not transparent is "0". Since the output of the pattern shift circuit of SP2 has an AND circuit configuration with the enable signal a, the output of the AND circuit 13 is "0". SP3
Similarly, since the output of the pattern shift circuit 11 has an AND circuit configuration with the enable signal a, the output of the AND circuit is "0". At this time, as the output of the OR circuit 14, the logical sum of the outputs of the 16 AND circuits 13 is obtained, and the same data as the sprite data of the pattern shift circuit 11 of SP1 is output.

【0008】つまり、パターンシフト回路11の出力を
ノア回路12に入力し、ノア回路12の出力をイネーブ
ル信号とし、これにより優先順位の低いパターンデータ
の出力を全て“0”とする。オア回路14により、その
時出力されたデータのうち最も優先順位が高いスプライ
トデータと同一データが出力される様に構成されてい
る。
That is, the output of the pattern shift circuit 11 is input to the NOR circuit 12, and the output of the NOR circuit 12 is used as an enable signal, whereby the outputs of the pattern data of lower priority are all set to "0". The OR circuit 14 is configured to output the same data as the sprite data having the highest priority among the data output at that time.

【0009】[0009]

【発明が解決しようとする課題】しかし、従来技術の回
路構成では、イネーブル信号a、b、c、……を出力す
るノア回路12に関し、接続された負荷となるアンド回
路の数の違いのためイネープル信号a、b、c、……の
遅延時間が、a>b>c>……の様に、異なってしま
う。また、SP2〜SP16のパターンシフト回路11
の出力が入力された各々のアンド回路13は、優先度が
低いスプライトデータを処理するアンド回路ほど多入力
となる。一般的に、多入力のゲートほど遅延時間が大き
くなる。よって、従来技術の回路の動作速度は、SP1
6のスプライトデータが選択される時が一番遅くなり、
明らかな動作速度上のネックが存在する。特に上記従来
回路を動作速度が速い場合に適用しようとすると、動作
上のネックを解消する手段を考慮にいれなければならな
いといった問題点が生じてくる。すなわち、ノア回路1
2に関しては、負荷となるゲートの違いに応じてトラン
ジスタサイズの最適化を図り、またアンド回路13に関
しても、入力信号数に応じたトランジスタサイズの最適
化が図られる必要がある。一般的には、動作速度を高速
化するため遅延時間の見込まれるゲート回路を構成する
トランジスタのサイズを大きくすることが必要である。
However, in the circuit configuration of the prior art, the NOR circuit 12 which outputs the enable signals a, b, c,... The delay times of the enable signals a, b, c,... Differ as in a>b>c>. The pattern shift circuit 11 of SP2 to SP16
The AND circuit 13 to which the output of (1) is input has more inputs as the AND circuit processes sprite data with lower priority. Generally, the delay time increases as the number of input gates increases. Therefore, the operation speed of the conventional circuit is SP1
6 is the slowest when sprite data is selected,
There is a clear operational speed bottleneck. In particular, when the conventional circuit is applied to a case where the operation speed is high, there arises a problem that means for eliminating an operation bottleneck must be taken into consideration. That is, the NOR circuit 1
For 2, the transistor size needs to be optimized according to the difference in the gate serving as a load, and for the AND circuit 13, the transistor size needs to be optimized according to the number of input signals. Generally, in order to increase the operation speed, it is necessary to increase the size of a transistor constituting a gate circuit which can be expected to have a delay time.

【0010】従来のこの様な回路構成を半導体集積回路
で実現したとすると、トランジスタサイズの最適化が図
られて、トランジスタサイズが違っているためと、入力
数が異るために、各々のゲート回路のサイズはトランジ
スタサイズが異なるために各々同一ではなく、セル化
(標準化)することができない。また、個々のトランジ
スタサイズに応じたゲート回路を作成しなければならな
いといった、煩わしさも生じてくる。また、サイズの違
ったゲート回路を並べなければならず、更に、信号線の
集中箇所も存在するために、ロジック部の占有面積と配
線面積が、増加することになり、チップ上での占有面積
が大きくなってしまうといった問題点を有している。
If such a conventional circuit configuration is realized by a semiconductor integrated circuit, the transistor size is optimized. Each transistor has a different size, and each gate has a different number of inputs. The sizes of the circuits are not the same because the transistor sizes are different, and cannot be made into cells (standardized). In addition, there is also an annoyance that a gate circuit must be created according to each transistor size. In addition, since gate circuits of different sizes must be arranged, and there are also concentrated portions of signal lines, the occupied area of the logic section and the wiring area are increased, and the occupied area on the chip is increased. Has a problem that it becomes large.

【0011】そこで、本発明は、従来のこのような問題
点を解決するために、動作速度が速い場合でも安定に優
先データが得られ、しかも、半導体集積回路に適した回
路を提供することにある。
The present invention has been made to solve the above-mentioned conventional problems by providing a circuit suitable for a semiconductor integrated circuit that can obtain priority data stably even at a high operation speed. is there.

【0012】[0012]

【課題を解決するための手段】本発明の画像表示制御装
置は、画面に表示する画像パターンの表示位置を制御し
て表示パターンデータを出力する画像表示制御装置にお
いて、タイミング発生手段と、M個(2≦M)のデータ
選択回路とを有し、N段目(2≦N≦M)の前記データ
選択回路はそれぞれ、画像データを記憶し所定の表示位
置に表示パターンデータを出力するパターンデータ出力
回路と、前記パターンデータ出力回路が出力する前記表
示パターンデータの優先判別を行う優先判別回路と、前
記優先判別回路の出力に応じて、当該段の前記パターン
データ出力回路から出力される表示パターンデータ又は
前段の前記データ選択回路から出力される表示パターン
データを、選択する優先選択回路とを具備し、各段のデ
ータ選択回路内の優先選択回路は、前記選択された表示
パターンデータを、前記タイミング発生手段が出力する
タイミング信号に基づいて保持し、該保持出力を次段へ
出力することで順次優先判別をし、M段目の前記データ
選択回路内の前記優先選択回路が、最優先に表示する表
示パターンデータを出力してなり、N段目の前記データ
選択回路内の前記優先判別回路の出力が優先状態を示す
場合には、当該段のデータ選択回路内の前記優先選択回
路は、当該段の前記パターンデータ出力回路から出力さ
れる表示パターンデータを選択出力し、前記場合以外に
は、N−1段目の前記データ選択回路から出力される表
示パターンデータを選択出力してなることを特徴とす
る。
According to the present invention, there is provided an image display control apparatus for controlling a display position of an image pattern to be displayed on a screen and outputting display pattern data. (2 ≦ M) data selection circuits, and the N-th (2 ≦ N ≦ M) data selection circuits each store image data and output display pattern data at a predetermined display position. An output circuit, a priority determination circuit that performs priority determination of the display pattern data output by the pattern data output circuit, and a display pattern output from the pattern data output circuit of the stage in response to an output of the priority determination circuit A priority selection circuit for selecting data or display pattern data output from the data selection circuit in the preceding stage, and The preselection circuit holds the selected display pattern data based on the timing signal output by the timing generation means, and outputs the held output to the next stage to sequentially perform priority determination, and When the priority selection circuit in the data selection circuit outputs display pattern data to be displayed with the highest priority, and when the output of the priority determination circuit in the N-th data selection circuit indicates a priority state, The priority selection circuit in the data selection circuit of the stage selects and outputs display pattern data output from the pattern data output circuit of the stage, and in other cases, selects the data of the (N-1) th stage. The display pattern data output from the circuit is selectively output.

【0013】また、請求項1記載の画像表示制御装置に
おいて、前記優先判別回路の出力は、前記パターンデー
タが透明色をあらわすものであるときには該パターンデ
ータが優先状態ではないことを示す信号を含むことを特
徴とする。
Further, in the image display control device according to claim 1, the output of the priority determination circuit includes a signal indicating that the pattern data is not in a priority state when the pattern data indicates a transparent color. It is characterized by the following.

【0014】また、請求項1乃至2のうちいずれか一つ
の請求項に記載の画像表示制御装置において、前記タイ
ミング発生手段が発生するタイミング信号は、互いに重
なり合わない第1のタイミング信号と第2のタイミング
信号とを含み、奇数段と偶数段とがそれぞれの異なるタ
イミング信号に基づいて前記保持をなすことを特徴とす
る。
Further, any one of claims 1 to 2
In the image display control device of the mounting serial to claim, timing signal the timing generating means generates includes a first timing signal and a second timing signal do not overlap each other, and the odd-numbered stages and even-numbered stages The holding is performed based on different timing signals.

【0015】また、本発明の電子機器は、請求項1乃至
のうちいずれか一つの請求項に記載の画像表示制御装
置と、該画像表示制御装置が出力する表示パターンデー
タをコンポジット信号に変換する手段とを含み、該コン
ポジット信号に基づいて前記最優先の表示パターンデー
タに応じた画像を表示してなることを特徴とする。
Further, electronic equipment of the present invention includes: any one of the serial mounting the image display control apparatus to claim one of claims 1 to 3, the display pattern data to which the image display control apparatus outputs the composite signal Converting means for displaying an image corresponding to the highest priority display pattern data based on the composite signal.

【0016】[0016]

【作用】上記の様に構成された画像表示制御装置は、
示パターンデータを選択する優先選択回路を具備し、各
段のデータ選択回路内の該優先選択回路は、選択された
表示パターンデータを、タイミング発生手段が出力する
タイミング信号に基づいて保持し、該保持出力を次段へ
出力することで順次優先判別をするため、逐次2個のス
プライトデータのみの優先順位を判別するだけであり、
一動作周期内に、選択されたデータと次の比較データと
の優先順位の判別を行なうといった操作を順次繰り返し
行なうことにより、M個のデータについてMー1回の判
別操作を行なうものである。
[Action] The image display control device configured as described above, the table
A priority selection circuit for selecting the display pattern data.
The priority selection circuit in the data selection circuit of the stage is
The display pattern data is output by the timing generator.
Hold based on the timing signal, and transfer the held output to the next stage
Since the priority is determined sequentially by outputting, only the priority of only two sprite data is determined sequentially.
The operation of determining the priority of the selected data and the next comparison data is sequentially repeated within one operation cycle, thereby performing M-1 determination operations on M pieces of data.

【0017】一動作周期に、2個のデータの優先順位の
判別を行なうだけで良く、一動作周期内の通過ゲート回
路数が少なくなり、個々のゲート回路に許容される遅延
時間が大きくなる。よって、動作速度が速い場合に於い
ても、動作速度を速くするためにトランジスタサイズの
最適化を図る等の配慮が不要となる。
It is only necessary to determine the priority of two data in one operation cycle. The number of passing gate circuits in one operation cycle is reduced, and the delay time allowed for each gate circuit is increased. Therefore, even when the operation speed is high, consideration such as optimizing the transistor size in order to increase the operation speed becomes unnecessary.

【0018】また、上記の回路構成によれば、繰り返し
回路であり、トランジスタサイズの最適化を図る必要が
ないために、半導体集積回路に於いては、各々のゲート
回路のセル化を行なうことができ、更に基本回路ブロッ
クのパターンをセル化すればこのセルの繰り返しにより
上記回路のパターン化が容易は実現される。
Further, according to the above circuit configuration, since it is a repetitive circuit and it is not necessary to optimize the transistor size, in the semiconductor integrated circuit, each gate circuit can be formed into a cell. If the pattern of the basic circuit block is formed into cells, the patterning of the circuit can be easily realized by repeating the cells.

【0019】[0019]

【発明の実施の形態】以下、本発明の画像表示制御装置
を詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an image display control device according to the present invention will be described in detail.

【0020】図2は、本発明を適用したパーソナルコン
ピュータのシステムブロック図を示し、主として画像表
示制御装置(VDC)1、CPU2、ビデオカラーエン
コーダ(VCE)3より構成される。
FIG. 2 is a system block diagram of a personal computer to which the present invention is applied, and mainly comprises an image display control device (VDC) 1, a CPU 2, and a video color encoder (VCE) 3.

【0021】画像表示制御装置1は、ROM5に格納さ
れたテレビゲーム等のプログラムを解読するCPU2の
制御によって、ビデオRAM(VRAM)6からそのス
トリーに従った画像データを読み出して、ビデオカラー
エンコーダ3に供給する。CPU2はROM5のプログ
ラムに基づいて所定の制御を行い、それに伴ってデータ
や演算結果等を一時的にRAM4に記憶する。ビデオR
AM4は、画像表示制御装置1を通して、CPU2から
リード、ライトの制御を受けて、画像情報(座標、パタ
ーン、パターン番号等)を記憶する。画像データを入力
したビデオカラーエンコーダ3は、内部のカラーデータ
に基づいて映像色信号(輝度信号と色差信号を含む)を
出力する。ビデオカラーエンコーダ3より出力される映
像色信号は、インターフェース(I/F)7を介してコ
ンポジット信号に変換されてテレビ(CRT)8に与え
られる。
The image display control device 1 reads out image data in accordance with the stream from a video RAM (VRAM) 6 under the control of a CPU 2 which decodes a program such as a video game stored in a ROM 5 and a video color encoder 3. To supply. The CPU 2 performs a predetermined control based on a program in the ROM 5, and temporarily stores data, calculation results, and the like in the RAM 4. Video R
The AM 4 receives read / write control from the CPU 2 through the image display control device 1 and stores image information (coordinates, patterns, pattern numbers, etc.). The video color encoder 3 having input the image data outputs a video color signal (including a luminance signal and a color difference signal) based on the internal color data. The video color signal output from the video color encoder 3 is converted into a composite signal via an interface (I / F) 7 and provided to a television (CRT) 8.

【0022】図3には図2に示した実施例の中の画像表
示制御装置1のブロック図を示す。この画像表示装置1
はワンチップIC化されている。図3の画像制御装置1
は、コントロール部30、アドレスユニット31、CP
Uリード/ライトバッファ32、スプライトアトリビュ
ートテーブルバッファ33、スプライトシフトレジスタ
34、バックグラウンドシフトレジスタ35、データバ
スバッファ36、同期回路37、プライオリティ回路3
8を有する。
FIG. 3 is a block diagram of the image display control device 1 in the embodiment shown in FIG. This image display device 1
Is a one-chip IC. Image control device 1 of FIG.
Are the control unit 30, the address unit 31, the CP
U read / write buffer 32, sprite attribute table buffer 33, sprite shift register 34, background shift register 35, data bus buffer 36, synchronization circuit 37, priority circuit 3
8

【0023】コントロール部30は、CPU2がビデオ
RAM6との間でデータをライト/リードするとき画像
表示制御装置1の処理が間に合わない場合にその間CP
U2にその状態を保持させる信号を出力するBUSY端
子と、割り込み要求信号を出力する、IRQ端子と、1
ドット(画素)の周波数のクロックを入力するCK端子
と、初期化のリセット信号を入力するRESET端子
と、8ビット/16ビットのデータバス幅の選択のため
のデークバス幅切換信号を入力するEX8/16端子を
有する。
When the CPU 2 writes / reads data to / from the video RAM 6 when the CPU 2 cannot process the image display control device 1 in time,
A BUSY terminal for outputting a signal for causing U2 to hold the state, an IRQ terminal for outputting an interrupt request signal,
A CK terminal for inputting a clock of a dot (pixel) frequency, a RESET terminal for inputting a reset signal for initialization, and an EX8 / for inputting a data bus width switching signal for selecting an 8-bit / 16-bit data bus width. It has 16 terminals.

【0024】アドレスユニット31はビデオRAM6の
アドレス信号を出力するMA0〜MA15端子に接続さ
れている。ビデオRAM6のアドレス空間は、6553
6ワード(1ワード16ビット)である。また、アドレ
スユニット31、CPUリード/ライトバッファ32、
スプライトアトリビュートテーブルバッファ33、スプ
ライトシフトレジスタ34、バックグラウンドシフトレ
ジスタ35はデータバスを介してMD0〜MD15端子
に接続されている。MD0〜MD15端子を介してビデ
オRAM6のデータが入出力される。
The address unit 31 is connected to terminals MA0 to MA15 for outputting an address signal of the video RAM 6. The address space of the video RAM 6 is 6553.
It is 6 words (1 word 16 bits). Further, an address unit 31, a CPU read / write buffer 32,
The sprite attribute table buffer 33, the sprite shift register 34, and the background shift register 35 are connected to MD0 to MD15 terminals via a data bus. Data in the video RAM 6 is input / output via the MD0 to MD15 terminals.

【0025】スプライトアトリビュートテーブルバッフ
33はスプライト(16×16ドット)の表示位置
(X、Y)、色、パターン番号等を記憶する内部メモリ
である。
Sprite attribute table buffer
A33Indicates a sprite (16 x 16 dots)position
Internal memory for storing (X, Y), color, pattern number, etc.
It is.

【0026】スプライトアトリビュートバッファ33
が、スプライトの表示位置(X、Y)、パターン番号、
スプライトカラー等を得た後、表示すべきラスタの1ラ
スタ前の水平帰線期間に、スプライトのパターン番号に
基づいてビデオRAM6をアクセスし、ビデオRAM6
内のスプライトジェネレータから読み出されたパターン
データをスプライトシフトレジスタ34に蓄える。また
スプライトアトリビュートバッファ33に蓄えられてい
るスプライトのX座標、スプライトカラーのデータもス
プライトシフトレジスタ34に蓄える。次に、表示すべ
きラスタになると、スプライトシフトレジスタ34内の
水平ドットクロックカウンタのカウント数とX座標がX
座標一致検出回路で比較され、両者が一致した時に、ス
プライトシフトレジスタ34内のパターンシフト回路か
ら、パターンデータが出力され、優先データ選択装置を
通ってスプライトシフトレジスタ34から出力される。
優先データ選択装置は、パターンデータを取り込んで記
憶する複数のパターンシフト回路(記憶手段)から、パ
ターンデータが出力された場合に、最も優先順位が高い
パターンデータを選択するものである。又、アドレスユ
ニット31は、ラスタ位置からビデオRAM6のアドレ
スを生成してビデオRAM6内のアトリビュートテーブ
ルを読み、それから得られたキャラクタジェネレータの
アドレスを生成し、そのアドレスに基づいて読み出され
たパターンをバックグランドシフトレジスタ35にエリ
アカラーとともに蓄える。
Sprite attribute buffer 33
Is the sprite display position (X, Y), pattern number,
After obtaining the sprite color and the like, the video RAM 6 is accessed based on the sprite pattern number during the horizontal retrace period one raster before the raster to be displayed.
The pattern data read from the sprite generator is stored in the sprite shift register 34. The sprite shift register 34 also stores the X coordinate and sprite color data of the sprite stored in the sprite attribute buffer 33. Next, when the raster to be displayed is reached, the count number of the horizontal dot clock counter in the sprite shift register 34 and the X coordinate become X.
The data is compared by the coordinate coincidence detection circuit. When the two coincide, the pattern data is output from the pattern shift circuit in the sprite shift register 34, and is output from the sprite shift register 34 through the priority data selection device.
The priority data selection device selects the pattern data having the highest priority when the pattern data is output from a plurality of pattern shift circuits (storage means) that fetch and store the pattern data. The address unit 31 generates an address of the video RAM 6 from the raster position, reads an attribute table in the video RAM 6, generates an address of a character generator obtained from the address table, and generates a pattern read based on the address. It is stored in the background shift register 35 together with the area color.

【0027】データバスバッファ36は、データを入出
力する端子D0〜D15に接続されている。CPU2か
らのリード/ライトは、このデータバスバッファ36を
介して行なわれる。画像表示制御装置1は、CPU2を
含むシステムのデータ幅に合わせて8ビットインターフ
ェース、16ビットインタフェースの選択が可能であ
り、8ビットインタフェースが選択された場合には、D
0〜D15端子のD0〜D7が用いられる。
The data bus buffer 36 is connected to data input / output terminals D0 to D15. Read / write from the CPU 2 is performed via the data bus buffer 36. The image display control device 1 can select an 8-bit interface or a 16-bit interface in accordance with the data width of the system including the CPU 2, and when the 8-bit interface is selected, D
Terminals D0 to D7 of terminals 0 to D15 are used.

【0028】同期回路37は表示期間を示す信号を示す
DISP端子と、CRTに垂直同期をかける信号を出力
するとともに外部垂直同期信号を入力するVSYNC端
子と、CRTに水平同期をかける信号を出力するととも
に外部水平同期信号を入力するHSYNC端子とに接続
されている。
The synchronizing circuit 37 outputs a DISP terminal indicating a signal indicating a display period, a VSYNC terminal for outputting a signal for vertically synchronizing the CRT and inputting an external vertical synchronizing signal, and a signal for horizontally synchronizing the CRT. And an HSYNC terminal for inputting an external horizontal synchronizing signal.

【0029】プライオリティ回路38はビデオデータを
出力するVD0〜VD7端子に接続され、かつ、ビデオ
データがスプライトデータのとき「H」を、バックグラ
ウンドデータのとき「L」の信号を出力するSPBG端
子に接続されている。プライオリティ回路38では、ス
プライトシフトレジスタ34から出力されたスプライト
データと、バックグラウンドシフトレジスタ35から出
力されたバックグラウンドデータのどちらを選択するか
内部の設定に応じて切り換える。
The priority circuit 38 is connected to terminals VD0 to VD7 for outputting video data, and to an SPBG terminal for outputting a signal "H" when the video data is sprite data and a signal "L" when the video data is background data. It is connected. The priority circuit 38 switches between sprite data output from the sprite shift register 34 and background data output from the background shift register 35 in accordance with an internal setting.

【0030】また、前述したコントロール部30は、コ
ントロール部30内の内部レジスタを、CPU2からリ
ード/ライトできる様にCS端子が設けられている。C
S端子に「L」信号が入力された時に、CPU2はコン
トロール部30の内部レジスタをリード/ライトするこ
とができる。リード/ライトの選択は、RD端子、WR
端子のどちらか一方を「L」にすることにより、選択さ
れる。A0端子およびA1端子はCPU2のアドレスバ
スに接続され、RD、WR信号との組み合わせにより、
データバス信号の種類が選択される。MRD端子は、画
像表示制御装置1が、ビデオRAM6からデータを読み
出す時のタイミング出力で、MWR端子は、画像表示制
御装置1がビデオRAM6にデータを書き込む時のタイ
ミング出力である。
The control unit 30 is provided with a CS terminal so that the CPU 2 can read / write the internal register in the control unit 30. C
When the “L” signal is input to the S terminal, the CPU 2 can read / write the internal register of the control unit 30. Read / write selection is RD terminal, WR
The selection is made by setting one of the terminals to “L”. The A0 terminal and the A1 terminal are connected to the address bus of the CPU2, and in combination with the RD and WR signals,
The type of the data bus signal is selected. The MRD terminal is a timing output when the image display control device 1 reads data from the video RAM 6, and the MWR terminal is a timing output when the image display control device 1 writes data to the video RAM 6.

【0031】ここまで、本発明を用いた一実施例の画像
表示制御装置とこの画像制御装置を含む一実施例のシス
テムについて説明してきた。
The image display control apparatus according to one embodiment using the present invention and the system according to one embodiment including the image control apparatus have been described.

【0032】次に、本発明の一実施例の要部について説
明する。図4は、図3の画像表示制御装置のスプライト
シフトレジスタ34の要部を示す回路図である。
Next, the main part of one embodiment of the present invention will be described. FIG. 4 is a circuit diagram showing a main part of the sprite shift register 34 of the image display control device of FIG.

【0033】図4に於いて、本実施例の回路は、点線に
囲まれた基本回路ブロックBP1,BP2,……,BP
16を16段積み重ねた回路構成をとっている。点線に
囲まれた基本回路ブロックは、パターンシフト回路4
1、ノア回路42、アンド回路43、クロックドノア回
路44、インバータ回路45、クロックドナンドゲート
46、インバータ47を有する。パターンシフト回路4
1は、長さが16ビットの4個のシフトレジスタ48
と、スプライトの表示座標(X座標)を記憶するラッチ
回路49と、水平ドットカウンタ53のカウント数を記
憶するラッチ回路50と、ラッチ回路49内のX座標と
ラッチ回路50内のカウント数との一致検出を行なう一
致検出回路51と、一致検出回路51の検出信号114
を受けてシフトレジスタ48にシフトクロック115を
供給するクロック制御回路52とにより構成されてい
る。パターンシフト回路41内のラッチ回路50の出力
116は、一致検出回路51と、次段のパターンシフト
回路41内のラッチ回路50の入力の両方に接続されて
いる。
In FIG. 4, the circuit according to the present embodiment includes basic circuit blocks BP1, BP2,.
16 has a circuit configuration in which 16 stages are stacked. The basic circuit block surrounded by the dotted line is a pattern shift circuit 4
1, a NOR circuit 42, an AND circuit 43, a clocked NOR circuit 44, an inverter circuit 45, a clocked NAND gate 46, and an inverter 47. Pattern shift circuit 4
1 is four shift registers 48 each having a length of 16 bits.
A latch circuit 49 for storing the display coordinates (X coordinate) of the sprite, a latch circuit 50 for storing the count number of the horizontal dot counter 53, and a relation between the X coordinate in the latch circuit 49 and the count number in the latch circuit 50. A coincidence detection circuit 51 for performing coincidence detection, and a detection signal 114 of the coincidence detection circuit 51
And a clock control circuit 52 that supplies the shift clock 115 to the shift register 48. The output 116 of the latch circuit 50 in the pattern shift circuit 41 is connected to both the coincidence detection circuit 51 and the input of the latch circuit 50 in the pattern shift circuit 41 at the next stage.

【0034】次に、本実施例の動作を説明する。表示に
先だつ水平帰線期間に、画像表示制御装置1は、ビデオ
RAM6内のスプライトジェネレータから読み出された
スプライトのパターンデータをパターンシフト回路41
内のシフトレジスタ48にパターン入力信号線110を
通して並列的に蓄え、また、スプライトアトリビュート
バッファ33に蓄えられているスプライトのX座標を読
み出して入力線111を通してパターンシフト回路41
内のラッチ回路49に蓄える。この操作を16回繰り返
すことで、16個のスプライトデータが蓄えられる。パ
ターンシフト回路41は各シフトレジスタ48に接続さ
れた読み込みクロック信号112に従って各データを蓄
えていく。
Next, the operation of this embodiment will be described. During the horizontal retrace period prior to the display, the image display control device 1 transmits the sprite pattern data read from the sprite generator in the video RAM 6 to the pattern shift circuit 41.
The X-coordinate of the sprite stored in the sprite attribute buffer 33 is read out in parallel through a pattern input signal line 110 in a shift register 48 therein, and the pattern shift circuit 41 is read out through an input line 111.
And stored in the latch circuit 49. By repeating this operation 16 times, 16 pieces of sprite data are stored. The pattern shift circuit 41 accumulates each data according to the read clock signal 112 connected to each shift register 48.

【0035】次に、表示期間になると、水平ドットカウ
ンタ53がカウントを開始する。ラッチ回路50はカス
ケード状に接続され、水平ドットカウンタ53のカウン
ト数を次段のラッチ回路50へ逐次送って行く。一致検
出回路51は、ラッチ回路49に蓄えられたX座標とラ
ッチ回路50のカウント数を比較し、一致すると検出信
号114をクロック制御回路52に出力する。クロック
制御回路52は、この検出信号を受けてシフトレジスタ
48にシフトクロック115を供給する。シフトレジス
タ48は、このクロック115を受けてパターンデータ
をシリアルに送り出す。
Next, in the display period, the horizontal dot counter 53 starts counting. The latch circuits 50 are connected in cascade, and sequentially send the count number of the horizontal dot counter 53 to the next-stage latch circuit 50. The coincidence detection circuit 51 compares the X coordinate stored in the latch circuit 49 with the count number of the latch circuit 50, and outputs a detection signal 114 to the clock control circuit 52 when they match. The clock control circuit 52 supplies the shift clock 115 to the shift register 48 in response to the detection signal. The shift register 48 receives the clock 115 and sends out the pattern data serially.

【0036】送り出されたデータは、ノア回路42と、
アンド回路43に入力される。アンド回路43の入力
は、パターンシフト回路41のパターンデータと前段の
基本回路ブロックから出力されたイネープル信号であ
り、アンド回路43の出力はクロックドノア回路44に
入力される。クロックドノア回路44の入力は、アンド
回路43の出力と、前段の基本ブロックから出力された
データであり、クロックドノア回路44の出力はインバ
ータ回路45の入力となり、インバータ回路45の出力
が次段の基本回路ブロックにパターンデータとして出力
される。ノア回路42の出力は、前段の基本ブロックか
ら出力されだイネーブル信号と共にクロックドナンド回
路46に入力され、クロックドナンド回路46の出力は
インバータ47を介して反転され、インバータ47の出
力が次段の基本回路ブロックのイネーブル信号となる。
The transmitted data is transmitted to a NOR circuit 42,
The signal is input to the AND circuit 43. The inputs of the AND circuit 43 are the pattern data of the pattern shift circuit 41 and the enable signal output from the preceding basic circuit block, and the output of the AND circuit 43 is input to the clocked NOR circuit 44. The input of the clocked NOR circuit 44 is the output of the AND circuit 43 and the data output from the preceding basic block. The output of the clocked NOR circuit 44 is the input of the inverter circuit 45, and the output of the inverter circuit 45 is It is output as pattern data to the basic circuit block of the stage. The output of the NOR circuit 42 is input to the clock NAND circuit 46 together with the enable signal output from the previous basic block. The output of the clock NAND circuit 46 is inverted via the inverter 47, and the output of the inverter 47 is Is an enable signal for the basic circuit block.

【0037】クロックドノア回路44は、クロックが
「H」の時データを出力し、クロックが「L」の時イン
バータ回路47の入力との間の浮遊容量により、データ
を保持する。つまりダイナミック型のラッチ回路として
動作する。クロックドナンド回路46も、同様にダイナ
ミック型のラッチとして動作する。本実施例ではダイナ
ミック型のラッチ回路を用いているが、スタティック型
のラッチ回路を用いても実施でき、ダイナミック型のラ
ッチ回路に限定するものではない。例えば、クロックド
ノア回路44は、ノア回路とスタティック型のラッチ回
路を用いることにより実現できる。
The clocked NOR circuit 44 outputs data when the clock is "H", and holds the data by the stray capacitance between the clock and the input of the inverter circuit 47 when the clock is "L". That is, it operates as a dynamic latch circuit. The clock NAND circuit 46 also operates as a dynamic latch. Although a dynamic latch circuit is used in the present embodiment, the present invention can be implemented using a static latch circuit, and the present invention is not limited to the dynamic latch circuit. For example, the clocked NOR circuit 44 can be realized by using a NOR circuit and a static latch circuit.

【0038】本実施例の回路は、BP1のブロック内の
パターンシフト回路に蓄えられたパターンデータが最も
優先順位が高く、以下、BP2,BP3,……,BP1
6のデータの順である。BP1,BP3,……の奇数番
目の回路ブロックの動作クロックはφ1であり、BP
2,BP4,……の偶数番目の回路ブロックの動作クロ
ックはφ2である。φ1とφ2の位相関係は、図6に示
す様に重なりのない2相クロックである。基本回路ブロ
ックBP1,BP3,BP5,……の奇数番目のブロッ
ク内のパターンシフト回路41内のラッチ回路50の制
御クロックと、シフトレジスタ48のシフトクロックは
φ1に同期し、基本回路ブロックBP2,BP4,BP
6,……の偶数番目のブロック内のパターンシフト回路
41内のラッチ回路50の制御クロックと、シフトレジ
スタ48のシフトクロックはφ2に同期している。
In the circuit of this embodiment, the pattern data stored in the pattern shift circuit in the block of BP1 has the highest priority, and hereinafter BP2, BP3,.
6 in the order of the data. The operation clock of the odd-numbered circuit blocks BP1, BP3,...
The operation clock of the even-numbered circuit block of 2, BP4,... Is φ2. The phase relationship between φ1 and φ2 is a non-overlapping two-phase clock as shown in FIG. The control clock of the latch circuit 50 in the pattern shift circuit 41 in the odd-numbered block of the basic circuit blocks BP1, BP3, BP5,... And the shift clock of the shift register 48 are synchronized with φ1, and the basic circuit blocks BP2, BP4 , BP
The control clock of the latch circuit 50 in the pattern shift circuit 41 in the even-numbered block of 6,... And the shift clock of the shift register 48 are synchronized with φ2.

【0039】今BP1のパターンシフト回路41からφ
1が「H」の時パターンデータが出力されたとする。こ
の出力されたデータに選択対象となる“1”が存在する
と、ノア回路42の出力は、“0”となり、イネーブル
信号aが“0”となる。インバータ回路45の出力は、
パターンシフト回路41から出力されたデータと同一デ
ータとなる。φ1が「L」となると、イネーブル信号a
とインバータ回路45の出力は、クロックドアンド回路
46とクロックドノア回路44がラッチ動作をするため
に、データが保持される。次に、φ2が「H」となり、
BP2のパターンシフト回路41からデータが出力され
たとすると、イネーブル信号aが“0”であるために、
BP2のアンド回路43の出力が全て“0”になり、B
P2のインパータ回路45の出力は、この時のBP1の
インバータ回路45の出力データと同一データが出力さ
れる。
Now, from the pattern shift circuit 41 of BP1
It is assumed that pattern data is output when 1 is "H". If "1" to be selected exists in the output data, the output of the NOR circuit 42 becomes "0" and the enable signal a becomes "0". The output of the inverter circuit 45 is
The same data as the data output from the pattern shift circuit 41 is obtained. When φ1 becomes “L”, the enable signal a
The output of the inverter circuit 45 holds data because the clocked AND circuit 46 and the clocked NOR circuit 44 perform a latch operation. Next, φ2 becomes “H”,
Assuming that data is output from the pattern shift circuit 41 of BP2, since the enable signal a is “0”,
All outputs of the AND circuit 43 of BP2 become “0”, and B
The same data as the output data of the inverter circuit 45 of BP1 at this time is output to the output of the inverter circuit 45 of P2.

【0040】また、イネーブル信号bは、イネーブル信
号aが“0”であるために“0”となる。次に、φ2が
「L」となると、イネーブル信号bとインバータ回路4
5の出力は、上述の様にクロックドナンド回路46とク
ロックドノア回路44がラッチ動作をするために、デー
タが保持される。次にφ1が「H」となり、BP3のパ
ターンシフト回路41からパターンデータが出力される
と、イネーブル信号bが“0”であるために、BP3の
インバータ回路45の出力は、この時のBP2のインバ
ータ回路45の出力データと同一データとなる。以上の
通り、ラッチ回路を用いてクロックに同期して、優先デ
ータの選択、保持の動作を順次行なっていくことで、B
P16のインバータ回路から優先データが得られ、この
例では、BP1のパターンデータと同一データが優先デ
ータとして取り出されることになる。
The enable signal b becomes "0" because the enable signal a is "0". Next, when φ2 becomes “L”, the enable signal b and the inverter circuit 4
The output of No. 5 holds data because the clocked NAND circuit 46 and the clocked NOR circuit 44 perform a latch operation as described above. Next, when φ1 becomes “H” and the pattern data is output from the pattern shift circuit 41 of BP3, the output of the inverter circuit 45 of BP3 becomes the output of BP2 at this time because the enable signal b is “0”. It becomes the same data as the output data of the inverter circuit 45. As described above, by sequentially performing the operation of selecting and holding the priority data in synchronization with the clock using the latch circuit, B
The priority data is obtained from the inverter circuit of P16. In this example, the same data as the pattern data of BP1 is extracted as the priority data.

【0041】図5に、本発明の別の実施例を示す。本実
施例の回路も、図4と同様に、点線に囲まれた基本回路
ブロックBP1,BP2,……,BP16を16段積み
重ねた回路構成をとっている。この基本回路ブロック
は、パターンシフト回路61、ノア回路62、アンド回
路63、クロックドノア回路64、インバータ回路65
を有する。パターンシフト回路61は図4と同様にシフ
トレジスタ66、ラッチ回路67、ラッチ回路68、一
致検出回路69、クロック制御回路70により構成され
ている。水平ドットカウンタ71はラッチ回路68に接
続されている。図5に使用されているパターンシフト回
路61は図4のパターンシフト回路41と同一の動作を
する。図5の基本的な回路動作は図4の回路と同様であ
る。図5の実施例の回路では、BP16のブロック内の
パターンシフト回路に蓄えられたパターンデータが最も
優先順位が高く、以下、BP15,BP14,……,B
P1の順である。BP1,BP3,……,の奇数番目の
回路ブロックの動作クロックはφ1であり、SP2,S
P4,……の偶数番目の回路ブロックの動作クロックは
φ2である。
FIG. 5 shows another embodiment of the present invention. The circuit of the present embodiment also has a circuit configuration in which 16 stages of basic circuit blocks BP1, BP2,... The basic circuit block includes a pattern shift circuit 61, a NOR circuit 62, an AND circuit 63, a clocked NOR circuit 64, and an inverter circuit 65.
Having. The pattern shift circuit 61 includes a shift register 66, a latch circuit 67, a latch circuit 68, a coincidence detection circuit 69, and a clock control circuit 70 as in FIG. The horizontal dot counter 71 is connected to the latch circuit 68. The pattern shift circuit 61 used in FIG. 5 operates in the same manner as the pattern shift circuit 41 in FIG. The basic circuit operation of FIG. 5 is the same as the circuit of FIG. In the circuit of the embodiment of FIG. 5, the pattern data stored in the pattern shift circuit in the block of BP16 has the highest priority, and hereinafter, BP15, BP14,.
The order is P1. The operation clock of the odd-numbered circuit block of BP1, BP3,...
The operation clock of the even-numbered circuit blocks of P4,... Is φ2.

【0042】今、BP1のパターンシフト回路61から
φ1が「H」の時、パターンデータが出力されたとす
る。この時インバータ回路65の出力はパターンシフト
回路61から出力されたパターンデータと同一データと
なる。次にφ1が「L」になると、インバータ回路65
の出力は、クロックドノア回路64がラッチ動作をする
ために、データが保持される。次に、φ2が「H」とな
り、BP2のパターンシフト回路61からパターンデー
タが出力され出力データに選択対象となる“1”が存在
すると、BP2のノア回路62の出力は“0”となり、
BP2のアンド回路63の出力は全て“0”となる。よ
って、この時のインバータ回路65の出力は、BP2の
パターンシフト回路61から出力されたデータと同一デ
ータとなる。次にφ2が「L」となると、ラッチ動作に
よりBP2のインバータ回路65の出力はそのまま保持
される。次にφ1が「H」となると、BP3のパターン
シフト回路61の出力と、BP2のインバータ回路65
の出力とが比較される。BP3のパターンシフト回路6
1の出力が全て“0”であれば、BP2のインバータ回
路65の出力が選択され、BP3のインバータ回路65
の出力は、この時のBP2のインバータ回路65のデー
タと同一データとなる。以上の通り、ラッチ回路を用い
てクロックに同期して、優先データの選択保持の動作を
順次行っていくことで、BP16のインバータ回路65
から優先データが得られることこなる。
Assume that pattern data is output when φ1 is “H” from the pattern shift circuit 61 of the BP1. At this time, the output of the inverter circuit 65 becomes the same data as the pattern data output from the pattern shift circuit 61. Next, when φ1 becomes “L”, the inverter circuit 65
Is held in data because the clocked NOR circuit 64 performs a latch operation. Next, when φ2 becomes “H” and the pattern data is output from the pattern shift circuit 61 of BP2 and there is “1” to be selected in the output data, the output of the NOR circuit 62 of BP2 becomes “0”,
The outputs of the AND circuit 63 of BP2 are all "0". Therefore, the output of the inverter circuit 65 at this time becomes the same data as the data output from the pattern shift circuit 61 of BP2. Next, when φ2 becomes “L”, the output of the inverter circuit 65 of BP2 is held as it is by the latch operation. Next, when φ1 becomes “H”, the output of the pattern shift circuit 61 of BP3 and the inverter circuit 65 of BP2
Is compared with the output of BP3 pattern shift circuit 6
If all the outputs of 1 are "0", the output of the inverter circuit 65 of BP2 is selected, and the output of the inverter circuit 65 of BP3 is selected.
Is the same data as the data of the inverter circuit 65 of BP2 at this time. As described above, the operation of selecting and holding priority data is sequentially performed in synchronization with the clock using the latch circuit.
From which priority data can be obtained.

【0043】以上説明した通り、本実施例においては、
ダイナミック型のラッチ回路を用いて、動作クロックに
同期して逐次2つのデータの優先順位を判別して行き、
この操作を繰り返しながら全データを比較し、優先デー
タを得るものである。
As described above, in this embodiment,
Using a dynamic latch circuit, the priority of the two data is sequentially determined in synchronization with the operation clock,
While repeating this operation, all data are compared to obtain priority data.

【0044】[0044]

【発明の効果】本実施例の画像表示制御装置は、複数の
動画の重ね合わせ処理を行なうために、複数のパターン
シフト回路(シフトレジスタ)を設け、画面上での表示
座標に応じてパターンシフト回路からバターンデータを
出力するものであり、複数の動画の重ね合わせ処理のた
めに、選択回路とラッチ回路とを組み合わせて、動作ク
ロックに同期して逐次優先順位の判別操作を行ない、こ
の操作を繰り返して、表示すべき最も優先度の高いパタ
ーンデータを表示させるものであって、特に、一動作周
期内の動作が2個のパターンデータの比較選択だけであ
り、一動作周期内の通過ゲート段数を少なくできる利点
を有している。このために、一動作周期内の個々のゲー
ト回路に許容される遅延時間が大きくても確実に動作す
る。例えば、周波数が21MHZ の高速で動作させる場
合を考える。本発明実施例の画像表示制御装置では、半
クロックの時間で2個のパターンデータの比較選択動作
をさせているため、21MHZ の半分の周期(約23n
sec)内にこの動作が終了しなければならないが、普
通の半導体集積回路の典型的なゲート回路の遅延時間
は、2〜3nsec程度であり、本実施例はパターンシ
フト回路からラッチ回路までのゲート回路の段数はパタ
ーンシフト回路内のゲート回路の段数を含めて5段程度
必要であることから、10〜15nsec程度でラッチ
回路に、パターンデータが取り込まれることになり、十
分に回路動作が保証されることになる。この様に、動作
速度が速い場合(21MHZ )でも、安定に所望の優先
データが得られる。
The image display control apparatus according to the present embodiment is provided with a plurality of pattern shift circuits (shift registers) in order to perform a plurality of moving image superimposition processes, and performs a pattern shift according to display coordinates on a screen. It outputs pattern data from the circuit, and performs the operation of judging priority sequentially in synchronization with the operation clock by combining the selection circuit and the latch circuit for the superimposition processing of a plurality of moving images. It repeatedly displays the highest priority pattern data to be displayed. In particular, the operation in one operation cycle is only comparison and selection of two pattern data, and the number of passing gate stages in one operation cycle Has the advantage of being able to reduce For this reason, even if the delay time permitted for each gate circuit within one operation cycle is long, it operates reliably. For example, consider the case where frequency is operated at high speed 21MH Z. In the image display control apparatus of the present invention embodiment, since by the comparison and selection operation of the two pattern data of a half clock period, half of the period (approximately 23n of 21MH Z
This operation must be completed within sec), but the delay time of a typical gate circuit of an ordinary semiconductor integrated circuit is about 2 to 3 nsec. In this embodiment, the gate from the pattern shift circuit to the latch circuit is Since the number of circuit stages is required to be about 5 including the number of gate circuits in the pattern shift circuit, the pattern data is taken into the latch circuit in about 10 to 15 nsec, and the circuit operation is sufficiently ensured. Will be. Thus, when the operation speed is fast even (21MH Z), the desired priority data stably obtained.

【0045】更に、本実施例では、回路が同一の回路ブ
ロックの繰り返しになっている。この繰り返しは、この
回路をIC化するとき、アートワーク上でも同一パター
ンの繰り返しとなる。よって基本回路ブロックをセル化
すると、そのセルを積み重ねるだけでパターン化が図ら
れる。また信号線の配線もブロックを積み重ねるだけで
形成される様になっているために、セル間をつなぐ配線
領域を特別に設ける必要がなく、配線を効率的に行な
い、配線部のチップ上での占有面積を減少させることが
できる。このように本実施例は、ICのアートワークが
容易であり、更にチップ上での占有面積を小さくするこ
とができるといった効果があり、半導体集積回路に適し
た回路である。以上の通り、本発明の画像表示制御装置
は、画面に表示する画像パターンの表示位置を制御して
表示パターンデータを出力する画像表示制御装置におい
て、タイミング発生手段と、M個(2≦M)のデータ選
択回路とを有し、N段目(2≦N≦M)の前記データ選
択回路はそれぞれ、画像データを記憶し所定の表示位置
に表示パターンデータを出力するパターンデータ出力回
路と、前記パターンデータ出力回路が出力する前記表示
パターンデータの優先判別を行う優先判別回路と、前記
優先判別回路の出力に応じて、当該段の前記パターンデ
ータ出力回路から出力される表示パターンデータ又は前
段の前記データ選択回路から出力される表示パターンデ
ータを、選択する優先選択回路とを具備し、各段のデー
タ選択回路内の優先選択回路は、前記選択された表示パ
ターンデータを、前記タイミング発生手段が出力するタ
イミング信号に基づいて保持し、該保持出力を次段へ出
力することで順次優先判別をし、M段目の前記データ選
択回路内の前記優先選択回路が、最優先に表示する表示
パターンデータを出力してなり、N段目の前記データ選
択回路内の前記優先判別回路の出力が優先状態を示す場
合には、当該段のデータ選択回路内の前記優先選択回路
は、当該段の前記パターンデータ出力回路から出力され
る表示パターンデータを選択出力し、前記場合以外に
は、N−1段目の前記データ選択回路から出力される表
示パターンデータを選択出力してなるため、段数を重ね
ても最優先の表示データパターンが出力されるまでの遅
延時間は段数に依存しない、従って、動作速度が速い場
合であっても安定に所望の優先デー タが得られる。ま
た、最終段はもっとも優先度が高く、前段に位置するほ
ど優先度が低いように作用する画像表示制御装置が得ら
れる。また、本発明の画像表示制御装置は、さらに、前
記優先判別回路の出力は、前記パターンデータが透明色
をあらわすものであるときには該パターンデータが優先
状態ではないことを示す信号を含むものであるため、透
明色を色の一種として他の色と同様な扱いををすること
が可能となり、透明色でない色を優先して処理すること
ができる。また、本発明の画像表示制御装置は、さら
に、前記タイミング発生手段が発生するタイミング信号
は、互いに重なり合わない第1のタイミング信号と第2
のタイミング信号とを含み、奇数段と偶数段とがそれぞ
れの異なるタイミング信号に基づいて前記保持をなすも
のであるため、奇数段と偶数段とが、保持タイミングが
重ならないように、交互に、優先判別がなされることと
なり、誤判別が生じない。したがって、データ選択回路
の1段分の遅延時間内に確実に処理することができる。
また、本発明の電子機器は、上記画像表示制御装置と、
該画像表示制御装置が出力する表示パターンデータをコ
ンポジット信号に変換する手段とを含み、該コンポジッ
ト信号に基づいて前記最優先の表示パターンデータに応
じた画像を表示してなるものであるため、複数の画面か
ら優先度に応じた1枚の画面を形成して高速に誤判別無
く表示装置に表示できる。
Further, in this embodiment, the circuit is a repetition of the same circuit block. This repetition is a repetition of the same pattern on the artwork when this circuit is formed into an IC. Therefore, when the basic circuit block is formed into cells, patterning can be achieved only by stacking the cells. Also, since the wiring of the signal lines is formed only by stacking the blocks, there is no need to provide a special wiring area connecting the cells, and the wiring is efficiently performed, and the wiring portion on the chip The occupied area can be reduced. This embodiment thus is easy IC artwork, there is effect that it is possible to further reduce the occupied area on the chip, Ru circuit der suitable for semiconductor integrated circuits. As described above, the image display control device of the present invention
Controls the display position of the image pattern to be displayed on the screen
Image display control device that outputs display pattern data
The timing generation means and M data selection (2 ≦ M)
And an N-th stage (2 ≦ N ≦ M).
Each of the selection circuits stores the image data and sets a predetermined display position.
Output pattern data to output display pattern data to
Path and the display output by the pattern data output circuit
A priority determination circuit for determining priority of the pattern data;
According to the output of the priority determination circuit, the pattern
Display pattern data output from the data output circuit or
Display pattern data output from the data selection circuit
And a priority selection circuit for selecting data.
The priority selection circuit in the data selection circuit is connected to the selected display pattern.
The turn data is output by the timing generation means.
Hold based on the imaging signal and output the held output to the next stage.
The priority of the data selection in the M-th stage
Display that the priority selection circuit in the selection circuit displays with the highest priority
Pattern data is output, and the data selection of the N-th stage is performed.
When the output of the priority determination circuit in the selection circuit indicates a priority state,
In the case, the priority selection circuit in the data selection circuit of the stage
Is output from the pattern data output circuit of the stage.
Select and output the display pattern data to
Is a table output from the data selection circuit in the (N-1) th stage.
Display pattern data is selected and output.
Delay until the highest priority display data pattern is output.
The delay time does not depend on the number of stages, so if the operating speed is fast,
A if desired priority data in a stable can be obtained. Ma
The last row has the highest priority, and
An image display control device that operates so that the priority is low is obtained.
It is. Further, the image display control device of the present invention further comprises:
The output of the priority determination circuit is that the pattern data is a transparent color.
, The pattern data has priority.
Since it contains a signal indicating that it is not in the state,
Treat light colors as a kind of color and treat them in the same way as other colors
Is possible, and colors that are not transparent are given priority.
Can be. Further, the image display control device of the present invention further comprises
A timing signal generated by the timing generation means.
Are the first non-overlapping timing signal and the second
The odd-numbered stage and the even-numbered stage
The holding based on the different timing signals.
Therefore, the odd-numbered stage and the even-numbered stage
The priority judgment is performed alternately so that they do not overlap.
No misjudgment occurs. Therefore, the data selection circuit
Can be reliably processed within the delay time of one stage.
Further, the electronic device of the present invention, the image display control device,
The display pattern data output by the image display control device is
Means for converting the composite signal into a composite signal.
Response to the highest priority display pattern data based on the
Since multiple images are displayed, multiple screens
One screen is formed according to the priority and there is no misjudgment at high speed.
Can be displayed on a display device.

【図面の簡単な説明】[Brief description of the drawings]

【図1】従来例を示す回路図。FIG. 1 is a circuit diagram showing a conventional example.

【図2】本発明を適用したパーソナルコンピュータのシ
ステムブロック図。
FIG. 2 is a system block diagram of a personal computer to which the present invention is applied.

【図3】本発明を適用して、IC化した画像表示制御装
置を示すブロック図。
FIG. 3 is a block diagram showing an image display control device which is formed into an IC by applying the present invention.

【図4】本発明の一実施例を示す回路図。FIG. 4 is a circuit diagram showing one embodiment of the present invention.

【図5】本発明の別の一実施例を示す回路図。FIG. 5 is a circuit diagram showing another embodiment of the present invention.

【図6】本実施例に用いたクロックのタイミングチャー
トである。
FIG. 6 is a timing chart of a clock used in the present embodiment.

【符号の説明】[Explanation of symbols]

第1図において 11…パターンシフト回路 12…ノア回路 13…アンド回路 14…オア回路 15…シフトレジスタ 18…ラッチ回路 17…一致検出回路 18…クロック制御回路 19…水平ドットカウンタ 第2図において 1…画像表示制御装置 2…CPU 3…ビデオカラーエンコーダ 4…RAM 5…ROM 6…ビデオRAM 7…インターフェイス 8…テレピ 第3図において 1…画像表示制御装置 6…ビデオRAM 80…コントロール部 31…アドレスユニット 32…CPUリード/ライトバッファ 33…スプライトアトリビュートテーブル 34…スプライトシフトレジスタ 35…バックグラウンドシフトレジスタ 36…データバスバッファ 37…同期回路 38…プライオリティ回路 第4図において 41…パターンゾフト回路 42…ノア回路 43…アンド回路 44…クロックドノア回路 45…インバータ回路 46…クロックドナンド回路 47…インバータ 48…シフトレジスタ 49…ラッチ回路 50…ラッチ回路 51…一致検出回路 52…クロック制御回路 53…水平ドットカウンタ 第5図において 61…パターンシフト回路 62…ノア回路 63…アンド回路 64…クロックドノア回路 65…インバータ回路 66…シフトレジスタ\ 67…ラッチ回路 68…ラッチ回路 69…一致検出回路 70…クロック制御回路 71…水平ドットカウンタ In FIG. 1, 11 ... Pattern shift circuit 12 ... Nor circuit 13 ... And circuit 14 ... OR circuit 15 ... Shift register 18 ... Latch circuit 17 ... Match detection circuit 18 ... Clock control circuit 19 ... Horizontal dot counter In FIG. Image display control device 2 CPU 3 Video color encoder 4 RAM 5 ROM 6 Video RAM 7 Interface 8 Telegraph In FIG. 3, 1 Image display control device 6 Video RAM 80 Control unit 31 Address unit 32 CPU read / write buffer 33 sprite attribute table 34 sprite shift register 35 background shift register 36 data bus buffer 37 synchronization circuit 38 priority circuit In FIG. Road 42 ... NOR circuit 43 ... AND circuit 44 ... Clocked NOR circuit 45 ... Inverter circuit 46 ... Clock donand circuit 47 ... Inverter 48 ... Shift register 49 ... Latch circuit 50 ... Latch circuit 51 ... Match detection circuit 52 ... Clock control circuit 53 ... horizontal dot counter In FIG. 5 61 ... pattern shift circuit 62 ... NOR circuit 63 ... AND circuit 64 ... clocked NOR circuit 65 ... inverter circuit 66 ... shift register \ 67 ... latch circuit 68 ... latch circuit 69 ... coincidence detection circuit 70: Clock control circuit 71: Horizontal dot counter

フロントページの続き (72)発明者 萩原 康彰 長野県諏訪市大和3丁目3番5号 セイ コーエプソン株式会社内 (56)参考文献 特開 昭62−35393(JP,A)Continuation of the front page (72) Inventor Yasuaki Hagiwara 3-5-5 Yamato, Suwa-shi, Nagano Seiko Epson Corporation (56) References JP-A-62-35393 (JP, A)

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画面に表示する画像パターンの表示位置を
制御して表示パターンデータを出力する画像表示制御装
置において、 タイミング発生手段と、 M個(2≦M)のデータ選択回路とを有し、 N段目(2≦N≦M)の前記データ選択回路はそれぞ
れ、 画像データを記憶し所定の表示位置に表示パターンデー
タを出力するパターンデータ出力回路と、 前記パターンデータ出力回路が出力する前記表示パター
ンデータの優先判別を行う優先判別回路と、 前記優先判別回路の出力に応じて、当該段の前記パター
ンデータ出力回路から出力される表示パターンデータ又
は前段の前記データ選択回路から出力される表示パター
ンデータを、選択する優先選択回路とを具備し、 各段のデータ選択回路内の優先選択回路は、前記選択さ
れた表示パターンデータを、前記タイミング発生手段が
出力するタイミング信号に基づいて保持し、該保持出力
を次段へ出力することで順次優先判別をし、 M段目の前記データ選択回路内の前記優先選択回路が、
最優先に表示する表示パターンデータを出力してなり、 N段目の前記データ選択回路内の前記優先判別回路の出
力が優先状態を示す場合には、当該段のデータ選択回路
内の前記優先選択回路は、当該段の前記パターンデータ
出力回路から出力される表示パターンデータを選択出力
し、 前記場合以外には、N−1段目の前記データ選択回路か
ら出力される表示パターンデータを選択出力してなるこ
とを特徴とする画像表示制御装置。
1. An image display control device for controlling a display position of an image pattern displayed on a screen and outputting display pattern data, comprising: a timing generation means; and M (2 ≦ M) data selection circuits. The data selection circuits of the N-th stage (2 ≦ N ≦ M) each store image data and output display pattern data at a predetermined display position; and the pattern data output circuit outputs the pattern data output circuit. A priority determination circuit that determines the priority of the display pattern data; and a display pattern data output from the pattern data output circuit of the corresponding stage or a display output from the data selection circuit of the preceding stage in accordance with an output of the priority determination circuit. A priority selection circuit for selecting the pattern data, wherein the priority selection circuit in the data selection circuit of each stage includes the selected display pattern. Data is held on the basis of a timing signal output by the timing generation means, and the held output is output to the next stage to sequentially determine priority. ,
The display pattern data to be displayed with the highest priority is output. If the output of the priority determination circuit in the data selection circuit of the Nth stage indicates a priority state, the priority selection in the data selection circuit of the stage is performed. The circuit selectively outputs the display pattern data output from the pattern data output circuit in the stage, and selectively outputs the display pattern data output from the data selection circuit in the (N-1) th stage, except in the above case. An image display control device, comprising:
【請求項2】請求項1記載の画像表示制御装置におい
て、前記優先判別回路の出力は、前記パターンデータが
透明色をあらわすものであるときには該パターンデータ
が優先状態ではないことを示す信号を含むことを特徴と
する画像表示制御装置。
2. An image display control device according to claim 1, wherein an output of said priority determination circuit includes a signal indicating that said pattern data is not in a priority state when said pattern data represents a transparent color. An image display control device, characterized in that:
【請求項3】請求項1乃至2のうちいずれか一つの請求
項に記載の画像表示制御装置において、 前記タイミング発生手段が発生するタイミング信号は、
互いに重なり合わない第1のタイミング信号と第2のタ
イミング信号とを含み、奇数段と偶数段とがそれぞれの
異なるタイミング信号に基づいて前記保持をなすことを
特徴とする画像表示制御装置。
3. A request for any one of the claims 1 to 2
The image display control device of the mounting serial to claim, timing signal the timing generator occurs,
An image display control device comprising: a first timing signal and a second timing signal that do not overlap each other, wherein the odd-numbered stages and the even-numbered stages perform the holding based on respective different timing signals.
【請求項4】請求項1乃至3のうちいずれか一つの請求
項に記載の画像表示制御装置と、該画像表示制御装置が
出力する表示パターンデータをコンポジット信号に変換
する手段とを含み、 該コンポジット信号に基づいて前記最優先の表示パター
ンデータに応じた画像を表示してなることを特徴とする
電子機器。
Wherein any one of claims one of claims 1 to 3
A serial mounting the image display control apparatus in the item display pattern data in which the image display control apparatus outputs and means for converting the composite signal, the image corresponding to the display pattern data of the highest priority based on said composite signal Electronic equipment characterized by displaying.
JP9004164A 1987-05-25 1997-01-13 Image display control device and electronic device having the same Expired - Lifetime JP2735072B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9004164A JP2735072B2 (en) 1987-05-25 1997-01-13 Image display control device and electronic device having the same

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP12741187 1987-05-25
JP62-127411 1987-05-25
JP9004164A JP2735072B2 (en) 1987-05-25 1997-01-13 Image display control device and electronic device having the same

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP63005083A Division JP2653078B2 (en) 1987-05-25 1988-01-13 Image display control device and electronic device having the same

Publications (2)

Publication Number Publication Date
JPH09171381A JPH09171381A (en) 1997-06-30
JP2735072B2 true JP2735072B2 (en) 1998-04-02

Family

ID=26337891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9004164A Expired - Lifetime JP2735072B2 (en) 1987-05-25 1997-01-13 Image display control device and electronic device having the same

Country Status (1)

Country Link
JP (1) JP2735072B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6235393A (en) * 1985-08-09 1987-02-16 株式会社トキメック General-purpose graphic display unit

Also Published As

Publication number Publication date
JPH09171381A (en) 1997-06-30

Similar Documents

Publication Publication Date Title
EP0318517B1 (en) Display generator circuitry for personal computer system
US5838389A (en) Apparatus and method for updating a CLUT during horizontal blanking
US5103499A (en) Beam synchronized coprocessor
JPS6256533B2 (en)
CA1220293A (en) Raster scan digital display system
KR0140426B1 (en) Display controller
JP2797435B2 (en) Display controller
JP2653078B2 (en) Image display control device and electronic device having the same
JPS61233776A (en) Video apparatus
JP2735072B2 (en) Image display control device and electronic device having the same
EP0264603A2 (en) Raster scan digital display system
JPH0695959A (en) Information processor
US4901062A (en) Raster scan digital display system
JPS632116B2 (en)
JPS6055389A (en) Character/graphic display
JP2922519B2 (en) Video synthesizer
JP3124166B2 (en) Display address operation circuit of VRAM
JPH0418048Y2 (en)
JPS63256992A (en) Controller for liquid crystal display device
JPH04354069A (en) Picture processor
JPS6213690B2 (en)
JPH05119749A (en) Liquid crystal display device
JPH0287224A (en) Display controller
JPH06242772A (en) Sprite control system
JPS63127287A (en) Cursor display system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19971202

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090109

Year of fee payment: 11