JPH0253797B2 - - Google Patents
Info
- Publication number
- JPH0253797B2 JPH0253797B2 JP59194247A JP19424784A JPH0253797B2 JP H0253797 B2 JPH0253797 B2 JP H0253797B2 JP 59194247 A JP59194247 A JP 59194247A JP 19424784 A JP19424784 A JP 19424784A JP H0253797 B2 JPH0253797 B2 JP H0253797B2
- Authority
- JP
- Japan
- Prior art keywords
- color
- information
- register
- selection
- written
- 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
Links
Landscapes
- Indicating Measured Values (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】
〔発明の属する技術分野〕
本発明は、表示器で複数色を用いてグラフイツ
ク表示を行なうカラー図形表示装置に関するもの
である。DETAILED DESCRIPTION OF THE INVENTION [Field of the Invention] The present invention relates to a color graphic display device that performs graphic display using a plurality of colors on a display.
図形表示装置では、表示しようとする画像にグ
ラフイツクメモリに書き込み、この画像をグラフ
イツクメモリから読み出して表示器に多色表示す
るのが通常である。
In a graphic display device, an image to be displayed is usually written in a graphics memory, and the image is read out from the graphics memory and displayed in multiple colors on the display.
従来、このような図形処理装置には、例えば、
書き込みコントローラがグラフイツクメモリに1
ビツト単位で直接アクセスして画像を書き込むよ
うにしたものがあつた。しかし、この図形処理装
置では、カラー表示を行なう場合、例えばR、
G、Bのメモリプレーンを用いてカラー表示を行
なう場合は、1画素書き込みを行なう毎にR、
G、Bメモリプレーンそれぞれに色情報に対応し
たデータを送らなければならない。このことか
ら、この図形表示装置では、カラー表示を行なう
場合は、書き込み時のデータの転送回数が多くな
り、効率が悪いという問題点があつた。 Conventionally, such graphic processing devices include, for example,
Write controller to graphics memory 1
There was one that allowed you to directly access and write images bit by bit. However, in this graphic processing device, when performing color display, for example, R,
When performing color display using G and B memory planes, each time one pixel is written, R, B memory planes are used.
Data corresponding to color information must be sent to each of the G and B memory planes. For this reason, this graphic display device has a problem in that when performing color display, the number of data transfers during writing increases, resulting in poor efficiency.
本発明は上述した問題点を除去するためになさ
れたものであり、カラー情報の書き込みが効率よ
く行なわれるカラー図形表示装置を実現すること
を目的とする。
The present invention has been made to eliminate the above-mentioned problems, and an object of the present invention is to realize a color graphic display device in which color information can be written efficiently.
本発明は、表示したい画像をグラフイツクメモ
リに書き込み、この画像をグラフイツクメモリか
ら読み出し、表示器で複数色を用いて表示をする
カラー図形表示装置において、
図形の書き込みに用いる色の情報がセツトされ
る複数個のカラーレジスタと、
書き込もうとする画素についての色の情報が随
時セツトされるカラー選択レジスタと、
書き込もうとする画素についての座標の情報が
随時セツトされる座標レジスタと、
前記カラー選択レジスタと座標レジスタの内容
に応じた選択信号を発生する選択信号発生回路
と、
前記選択信号をもとにして前記複数個のカラー
レジスタの中から書き込みたい色がセツトされた
ものを選択するデータ選択回路と、
該データ選択回路で選択した色の情報を前記グ
ラフイツクメモリへ転送する書き込みコントロー
ラ、
とを具備したことを特徴とするカラー図形表示装
置である。
The present invention provides a color graphics display device that writes an image to be displayed in a graphics memory, reads the image from the graphics memory, and displays it on a display using multiple colors. a color selection register in which color information about the pixel to be written is set at any time; a coordinate register in which coordinate information about the pixel to be written is set at any time; and the color selection register a selection signal generation circuit that generates a selection signal according to the contents of the coordinate register; and a data selection circuit that selects a color register in which a desired color is set from among the plurality of color registers based on the selection signal. and a write controller that transfers information on the color selected by the data selection circuit to the graphics memory.
以下、図面により本発明を説明する。 The present invention will be explained below with reference to the drawings.
第1図は本発明にかかるカラー図形表示装置の
一実施例の構成ブロツク図である。 FIG. 1 is a block diagram of an embodiment of a color graphic display device according to the present invention.
第1図において、10はプロセツサ、20は情
報処理部、30は書込みコントローラ、40はグ
ラフイツクメモリ、50は表示コントローラ、6
0は表示器である。 In FIG. 1, 10 is a processor, 20 is an information processing unit, 30 is a write controller, 40 is a graphics memory, 50 is a display controller, and 6
0 is an indicator.
プロセツサ10は、グラフイツクメモリ40に
書き込もうとする文字、図形等の座標を演算して
出力する。この座標は、表示器60の画面上の
X、Y座標である。 The processor 10 calculates and outputs the coordinates of characters, figures, etc. to be written into the graphics memory 40. These coordinates are the X and Y coordinates on the screen of the display 60.
情報処理部20は、プロセツサ10からの信号
をもとにして、グラフイツクメモリ40に書き込
もうとする色と座標の情報を出力する。 The information processing section 20 outputs information on the color and coordinates to be written into the graphics memory 40 based on the signal from the processor 10.
書込みコントローラ30は、情報処理部20の
グラフイツクメモリ40へ対する書き込みを制御
する。 The write controller 30 controls writing to the graphics memory 40 by the information processing section 20.
グラフイツクメモリ40は、例えばR、G、B
のメモリプレーン401,402および403であ
る。 The graphic memory 40 stores, for example, R, G, B
memory planes 40 1 , 40 2 and 40 3 .
表示コントローラ50は、表示器60の表示を
制御する。 The display controller 50 controls the display on the display 60.
このようなカラー図形表示装置の要部構成を第
2図に示す。第2図において、第1図と同一のも
のは同一符号を付ける。 The main structure of such a color graphic display device is shown in FIG. In FIG. 2, the same parts as in FIG. 1 are given the same reference numerals.
第2図において、21はカラーレジスタであ
り、211から21oまでの複数個が設けられてい
る。これらのカラーレジスタ211〜21oには、
図形の書き込みに用いる色の情報がセツトされて
いる。これらのレジスタ211〜21oにセツトさ
れた情報で、赤についての情報は、RCOL1〜RCOLo
である。緑と青についての情報GCOL1〜GCOLoおよ
びBCOL1〜BCOLoについても同様である。 In FIG. 2, 21 is a color register, and a plurality of color registers from 21 1 to 21 o are provided. These color registers 21 1 to 21 o include
Color information used for drawing figures is set. Among the information set in these registers 211 to 21o , information regarding red is R COL1 to R COLo.
It is. The same applies to the information G COL1 to G COLo and B COL1 to B COLo regarding green and blue.
22はカラー選択レジスタであり、書き込もう
とする画素についての色の情報が随時セツトされ
る。 Reference numeral 22 is a color selection register, in which color information about the pixel to be written is set at any time.
23は座標レジスタであり、書き込もうとする
画素についての表示器60の表示画面上における
X、Y座標の情報が随時セツトされる。 Reference numeral 23 denotes a coordinate register, in which information about the X and Y coordinates on the display screen of the display device 60 for the pixel to be written is set at any time.
24は選択信号発生回路であり、カラー選択レ
ジスタ22と座標レジスタ23の内容に応じた選
択信号を出力する。 24 is a selection signal generation circuit which outputs a selection signal according to the contents of the color selection register 22 and the coordinate register 23;
25はデータ選択回路であり、R、G、Bメモ
リプレーン401,402および403に対応した
もの251,252および253が設けられている。
これらのデータ選択回路251〜253は、選択信
号をもとにしてカラーレジスタ211〜21oの中
から表示したい色がセツトされたものを選択す
る。 25 is a data selection circuit, and circuits 25 1 , 25 2 and 25 3 corresponding to the R, G, B memory planes 40 1 , 40 2 and 40 3 are provided.
These data selection circuits 25 1 to 25 3 select one of the color registers 21 1 to 21 o in which the color desired to be displayed is set based on the selection signal.
次に、このようなカラー図形表示装置の動作に
ついて説明する。
Next, the operation of such a color graphic display device will be explained.
プロセツサ10は、図形の書き込みに用いる色
の情報をカラーレジスタ211〜21oにセツトす
る。ここで、プロセツサ10は、書き込もうとす
る画素についての色の情報をカラー選択レジスタ
22にセツトする。次に、プロセツサ10は、書
き込もうとする画素についてのX、Y座標を座標
レジスタ23にセツトする。ここで、プロセツサ
10が書き込み指令を発生すると、選択信号発生
回路24は、カラー選択レジスタ22と座標レジ
スタ23の内容に応じた選択信号を発生する。こ
れによつて、データ選択回路251〜253は、選
択信号をもとにしてカラーレジスタ211〜21o
の中から書き込みたい色がセツトされたものを選
ぶ。書込みコントローラ30は、データ選択回路
251〜253が選んだ色情報をR、G、Bメモリ
プレーン401〜403に転送する。 The processor 10 sets color information used for writing figures into color registers 21 1 to 21 o . Here, the processor 10 sets color information about the pixel to be written into the color selection register 22. Next, the processor 10 sets the X and Y coordinates of the pixel to be written into the coordinate register 23. Here, when the processor 10 generates a write command, the selection signal generation circuit 24 generates a selection signal according to the contents of the color selection register 22 and the coordinate register 23. Thereby, the data selection circuits 25 1 to 25 3 select the color registers 21 1 to 21 o based on the selection signal.
Choose the one that has the color you want to write in from among them. The write controller 30 transfers the color information selected by the data selection circuits 25 1 to 25 3 to the R, G, B memory planes 40 1 to 40 3 .
一方、座標レジスタ23にセツトされた座標情
報は書き込みコントローラ30に送られる。書込
みコントローラ30は、この座標情報に対応した
アドレス信号をR、G、Bメモリプレーン401
〜403に送る。これによつて、各メモリプレー
ン上の書き込み位置が決められる。 On the other hand, the coordinate information set in the coordinate register 23 is sent to the write controller 30. The write controller 30 sends an address signal corresponding to this coordinate information to the R, G, B memory plane 40 1
~40 Send to 3 . This determines the write position on each memory plane.
このような動作によつて、R、G、Bメモリプ
レーン401〜403には表示しようとする画像が
書き込まれる。 Through such operations, images to be displayed are written in the R, G, B memory planes 40 1 to 40 3 .
なお、グラフイツクメモリ40はR、G、Bメ
モリブレーン以外のものであつてもよい。 Note that the graphics memory 40 may be other than the R, G, and B memory brains.
このようなカラー図形表示装置によれば、次の
効果が得られる。
According to such a color graphic display device, the following effects can be obtained.
すなわち、図形をグラフイツクメモリ40に書
き込む場合に、使用する各色の情報がカラーレジ
スタ211〜21oにセツトされていて、書き込も
うとする画素についての色の情報はこのカラーレ
ジスタ211〜21oの中から選ばれてR、G、B
メモリプレーン401〜403に同時に転送され
る。これによつて、色情報を意識することなく、
所望の色で図形を表示することができる。このこ
とから、カラー情報の書き込みを効率よく行なう
ことができる。また、カラーレジスタ211〜2
1oの選択を座標の情報に依存させるモードも用
意できるため、1座標毎に異なつた色の図形を描
く場合にも、色情報を意識することなく描くこと
ができる。 That is, when writing a figure into the graphics memory 40, the information of each color to be used is set in the color registers 21 1 to 21 o , and the color information about the pixels to be written is stored in the color registers 21 1 to 21 o. Selected from R, G, B
They are simultaneously transferred to memory planes 40 1 to 40 3 . With this, you can
Graphics can be displayed in any desired color. From this, color information can be written efficiently. In addition, color registers 21 1 to 2
1 A mode in which the selection of o depends on coordinate information is also available, so even when drawing a figure with a different color for each coordinate, it is possible to draw it without being conscious of color information.
第1図は本発明にかかるカラー図形表示装置の
一実施例の構成ブロツク図、第2図は第1図の要
部構成図である。
21,211〜213……カラーレジスタ、22
……カラー選択レジスタ、23……座標レジス
タ、24……選択信号発生回路、25,251〜
253……データ選択回路、30……書き込みコ
ントローラ、40,401〜403……グラフイツ
クメモリ、60……表示器。
FIG. 1 is a block diagram of an embodiment of a color graphic display device according to the present invention, and FIG. 2 is a diagram of the main part of FIG. 21, 21 1 to 21 3 ...color register, 22
... Color selection register, 23 ... Coordinate register, 24 ... Selection signal generation circuit, 25, 25 1 ~
25 3 ... data selection circuit, 30 ... writing controller, 40, 40 1 to 40 3 ... graphic memory, 60 ... display device.
Claims (1)
込み、この画像をグラフイツクメモリから読み出
し、表示器で複数色を用いて表示をするカラー図
形表示装置において、 図形の書き込みに用いる色の情報がセツトされ
る複数個のカラーレジスタと、 書き込もうとする画素についての色の情報が随
時セツトされるカラー選択レジスタと、 書き込もうとする画素についての座標の情報が
随時セツトされる座標レジスタと、 前記カラー選択レジスタと座標レジスタの内容
に応じた選択信号を発生する選択信号発生回路
と、 前記選択信号をもとにして前記複数個のカラー
レジスタの中から書き込みたい色がセツトされた
ものを選択するデータ選択回路と、 該データ選択回路で選択した色の情報を前記グ
ラフイツクメモリへ転送する書き込みコントロー
ラ、 とを具備したことを特徴とするカラー図形表示装
置。[Scope of Claims] 1. In a color graphic display device that writes an image to be displayed in a graphics memory, reads this image from the graphics memory, and displays the image using multiple colors on a display, the color used for writing the graphic is a plurality of color registers in which information is set; a color selection register in which color information about the pixel to be written is set at any time; a coordinate register in which coordinate information about the pixel to be written is set at any time; a selection signal generation circuit that generates a selection signal according to the contents of a color selection register and a coordinate register; and a selection signal generation circuit that selects a color register in which a desired color is set from among the plurality of color registers based on the selection signal. A color graphic display device comprising: a data selection circuit; and a write controller that transfers information on a color selected by the data selection circuit to the graphics memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59194247A JPS6172293A (en) | 1984-09-17 | 1984-09-17 | Color graphic display unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59194247A JPS6172293A (en) | 1984-09-17 | 1984-09-17 | Color graphic display unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6172293A JPS6172293A (en) | 1986-04-14 |
| JPH0253797B2 true JPH0253797B2 (en) | 1990-11-19 |
Family
ID=16321429
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59194247A Granted JPS6172293A (en) | 1984-09-17 | 1984-09-17 | Color graphic display unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6172293A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6358395A (en) * | 1986-08-11 | 1988-03-14 | テクトロニックス・インコ−ポレイテッド | Color display device |
| JPH0612607B2 (en) * | 1987-01-30 | 1994-02-16 | 富士通株式会社 | Memory device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS53138643A (en) * | 1977-05-11 | 1978-12-04 | Hitachi Ltd | Color graphic display device |
| JPS5962971A (en) * | 1982-10-04 | 1984-04-10 | Hitachi Ltd | Color pattern generator |
-
1984
- 1984-09-17 JP JP59194247A patent/JPS6172293A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6172293A (en) | 1986-04-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0095618B1 (en) | Memory system | |
| JPS6025794B2 (en) | color graphic display device | |
| JPH0473156B2 (en) | ||
| JPS6315615B2 (en) | ||
| JPH0253797B2 (en) | ||
| JP2737898B2 (en) | Vector drawing equipment | |
| JPH0120430B2 (en) | ||
| JPH0361199B2 (en) | ||
| JPS6194090A (en) | graphic display device | |
| JPH0544680B2 (en) | ||
| JPS6138987A (en) | CRT control device | |
| JPS62192865A (en) | Graphic display device | |
| JPH10124039A (en) | Graphic display device | |
| JPS59177592A (en) | Graphic display unit | |
| JPS6332588A (en) | Display controller | |
| JPH0695272B2 (en) | Image display device | |
| JPH0428311B2 (en) | ||
| JPS62141588A (en) | Multiwindow display system | |
| JPH0469908B2 (en) | ||
| JPH06295335A (en) | Picture data storage device | |
| JPS60209786A (en) | Color display unit | |
| JPS63178294A (en) | Graphic display device | |
| JPH0879625A (en) | Digital image division display system | |
| JPS63104191A (en) | Drawn picture processor | |
| JPS62147482A (en) | cursor control device |