JPS6155677B2 - - Google Patents

Info

Publication number
JPS6155677B2
JPS6155677B2 JP54010437A JP1043779A JPS6155677B2 JP S6155677 B2 JPS6155677 B2 JP S6155677B2 JP 54010437 A JP54010437 A JP 54010437A JP 1043779 A JP1043779 A JP 1043779A JP S6155677 B2 JPS6155677 B2 JP S6155677B2
Authority
JP
Japan
Prior art keywords
memory
address
written
display
output
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
Application number
JP54010437A
Other languages
Japanese (ja)
Other versions
JPS55103636A (en
Inventor
Yoji Nishio
Yoshiki Kobayashi
Nagaharu Hamada
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1043779A priority Critical patent/JPS55103636A/en
Publication of JPS55103636A publication Critical patent/JPS55103636A/en
Publication of JPS6155677B2 publication Critical patent/JPS6155677B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)

Description

【発明の詳細な説明】 本発明は電子計算機と接続して使用するに好適
なラスタスキヤン方式のデイスプレイ装置に係
り、特にグラフイツクな情報を表示するに好適な
デイスプレイ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a raster scan type display device suitable for use in connection with an electronic computer, and particularly to a display device suitable for displaying graphic information.

第1図に一般的なラスタ走査形グラフイツクデ
イスプレイシステムのブロツク構成を示す。すな
わち、グラフイツクデイスプレイ装置は、電子計
算機やキーボードその他の外部情報源100との
データの授受を行い、外部情報源100からのデ
ータを基に、1画面分の表示データを保持するリ
フレツシユメモリ及びその制御回路300に対し
て、表示に必要なデータあるいは制御信号を出力
するとともに、映像制御部400に表示タイミン
グ信号を出力するグラフイツクプロセツサ200
と、リフレツシユメモリ及びその制御回路300
からの表示データとグラフイツクプロセツサ20
0からの表示タイミングに基づいて表示用の映像
信号を発生する映像制御部400及び映像信号を
CRT(Cathode Ray Tube)面上に可視像とし
て映出する表示部500から成つている。
FIG. 1 shows the block configuration of a general raster scanning type graphic display system. That is, the graphic display device exchanges data with an external information source 100 such as a computer, keyboard, etc., and has a refresh memory and a refresh memory that hold display data for one screen based on data from the external information source 100. A graphics processor 200 outputs data or control signals necessary for display to the control circuit 300, and outputs a display timing signal to the video control section 400.
and a refresh memory and its control circuit 300
Display data from and graphics processor 20
A video control unit 400 that generates a video signal for display based on the display timing from 0;
It consists of a display unit 500 that displays a visible image on a CRT (Cathode Ray Tube) surface.

ここで、面図形を描く要求が起きた時、1画面
分の表示データを保持するリフレツシユメモリの
面図形全ドツトに対応する全アドレスに面図形の
表示データを書込むという方法が従来から行われ
ている。しかし、この方法では面図形の全ドツト
に相当する分だけリフレツシユメモリに書込むた
め、処理速度が遅いという欠点がある。
Here, when a request to draw an area figure occurs, the conventional method is to write the display data of the area figure to all addresses corresponding to all dots of the area figure in the refresh memory that holds display data for one screen. It is being said. However, this method has the disadvantage that the processing speed is slow because only the amount corresponding to all the dots of the surface figure is written into the refresh memory.

この欠点を改善するために、リフレツシユメモ
リの面図形の輪郭線に対応するアドレスにその表
示データを記憶し、水平走査において奇数番目に
読出される輪郭線の表示データをフリツプフロツ
プに記憶し、偶数番目に読出される輪郭線のアド
レスでフリツプフロツプをリセツトし、このフリ
ツプフロツプが“1”にセツトされている間、表
示する技術が述べられている。これにより面図形
の表示は高速化されるが、面図形が重なつた場合
にはリフレツシユメモリに書込む表示データの修
正が必要であり、この処理が複雑で時間がかか
る。
In order to improve this drawback, the display data is stored in the address corresponding to the contour line of the surface figure in the refresh memory, and the display data of the contour line read out in the odd numbered position in horizontal scanning is stored in a flip-flop, and A technique is described in which a flip-flop is reset at the address of the contour that is read out first and is displayed while the flip-flop is set to "1". This speeds up the display of area figures, but when area figures overlap, it is necessary to correct the display data written to the refresh memory, and this process is complex and time consuming.

またフルドツトメモリと垂直座標に対応する数
のレジスタを有し、面図形の輪郭線の垂直アドレ
スに対応するレジスタに輪郭線のx座標値を極大
点及び水平点を除いて登録し、既にあるx座標が
登録されているならば、登録しようとしたx座標
と既に登録されているx座標の間フルドツトメモ
リのビツトを反転させて面図形を描く方法が考え
られているが、この方法も処理速度が遅いという
欠点がある。
It also has a full dot memory and a number of registers corresponding to the vertical coordinates, and registers the x-coordinate value of the contour line, excluding the maximum point and horizontal point, in the register corresponding to the vertical address of the contour line of the surface figure. If the x-coordinate is registered, a method has been considered to draw the area figure by inverting the bits in the full dot memory between the x-coordinate you are trying to register and the x-coordinate that has already been registered, but this method also works. The disadvantage is that the processing speed is slow.

本発明の目的は上記欠点を除去し、簡単なハー
ドウエアでカラーの面図形の表示のための処理を
高速に行ないうるデイスプレイ装置を提供するに
ある。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned drawbacks and to provide a display device that can perform processing for displaying color area figures at high speed with simple hardware.

本発明は、面図形を表示するに際し、面図形の
輪郭線のみをカラーコードメモリに書込み、面か
そうでないかを面コードメモリに書込み、読出し
時すなわち表示時において面コードメモリの出力
によつて輪郭線内なら輪郭線のカラーコードを出
力し、輪郭線外ならそのアドレスのカラーコード
を出力するよう制御するものである。
When displaying a surface figure, the present invention writes only the outline of the surface figure into a color code memory, writes whether it is a surface or not into a surface code memory, and when reading it out, that is, displaying it, by outputting the surface code memory. If the address is within the outline, the color code of the outline is output, and if it is outside the outline, the color code of the address is output.

本発明の推奨される一実施例においては、2つ
のメモリに輪郭線が書込まれた後、水平走査にし
たがつてメモリの内容を読出し、読出しアドレス
が輪郭線内なら、輪郭線のカラーコードと読出し
アドレスのカラーコードとを論理演算してカラー
コードメモリのそのアドレスに書込み、輪郭線外
なら読出しアドレスのカラーコードをカラーコー
ドメモリのそのアドレスに書込む。また同時に面
コードメモリに0を書込んで次に描く面図形を書
込める状態にし高速に多重の面図形処理を可能に
している。
In a preferred embodiment of the present invention, after contour lines are written in two memories, the contents of the memories are read out according to horizontal scanning, and if the read address is within the contour line, the color code of the contour line is and the color code of the read address are logically operated and written to that address in the color code memory, and if it is outside the contour line, the color code of the read address is written to that address in the color code memory. At the same time, 0 is written in the area code memory to make it ready for writing the next area figure to be drawn, thereby making it possible to process multiple area figures at high speed.

以下本発明の一実施例を図面によつて説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例を示す。これは第1
図のグラフイツクデイスプレイシステムのリフレ
ツシユメモリ及び制御回路300の部分に相当す
る。
FIG. 2 shows an embodiment of the invention. This is the first
This corresponds to the refresh memory and control circuit 300 of the graphic display system shown in the figure.

この例では、表示カラーコードを記憶する表示
カラーコードメモリ310、面図形制御データを
記憶する面コードメモリ311、グラフイツクプ
ロセツサ200から出力される面図形の時にはそ
の輪郭を示す書込用のアドレス信号602と表示
用のアドレス信号603を受けて2つのメモリ3
10と311に適切なるアドレスを出力するメモ
リ読出・書込アドレス制御回路700及びグラフ
イツクプロセツサ200から出力されるカラーコ
ード600と面図形か線図形かを示す面コード6
01及び制御回路700から出力される書込制御
信号606を受けて制御回路700がアクセスし
たアドレスにデータを書込み、書込まれたデータ
から面図形を発生するメモリ読出・書込データ制
御回路701から構成される。
In this example, a display color code memory 310 that stores a display color code, a surface code memory 311 that stores surface shape control data, and a writing address that indicates the outline of a surface shape output from the graphics processor 200 are used. The two memories 3 receive the signal 602 and the display address signal 603.
The memory read/write address control circuit 700 outputs appropriate addresses to 10 and 311, the color code 600 output from the graphics processor 200, and the area code 6 indicating whether it is an area figure or a line figure.
01 and a write control signal 606 output from the control circuit 700, the control circuit 700 writes data to the accessed address, and generates a surface figure from the written data from the memory read/write data control circuit 701. configured.

以下これについて詳述する。 This will be explained in detail below.

グラフイツクプロセツサ200から、表示する
図形のカラーコード600、その図形が面図形で
あるか線図形であるかを示す面コード601、図
形の輪郭のアドレスを示す書込みアドレス信号6
02、表示カラーコードメモリ310と面コード
メモリ311の表示用の読出しアドレス603及
び表示の水平帰線時間内にレジスタ318をリセ
ツトする信号604が入力される。本実施例で
は、直線などが面図形を形成している場合には面
コード601は“1”で、形成していない場合は
“0”とする。
From the graphics processor 200, a color code 600 of the figure to be displayed, an area code 601 indicating whether the figure is a plane figure or a line figure, and a write address signal 6 indicating the address of the outline of the figure are sent.
02, a readout address 603 for display of the display color code memory 310 and surface code memory 311, and a signal 604 for resetting the register 318 within the horizontal retrace time of display are input. In this embodiment, the surface code 601 is "1" if a straight line or the like forms a surface figure, and is "0" if no straight line is formed.

表示カラーコードメモリ310と面コードメモ
リ311は表示用アドレス信号603によつて並
列にアドレス指定される。書込みアドレス信号6
02は面コードメモリ用アドレス発生回路314
によつて表示カラーコードメモリ用と面コードメ
モリ用アドレス605に分けられる。これを第3
図によつて説明する。
Display color code memory 310 and surface code memory 311 are addressed in parallel by display address signal 603. Write address signal 6
02 is a surface code memory address generation circuit 314
The address is divided into display color code memory address 605 and surface code memory address 605. This is the third
This will be explained using figures.

即ち、第3図中の矢印の様に線を描く場合、現
在書込みアドレス602が(xk+1、yk+1)を指
示している時、面コードメモリ用アドレス605
は線上における(xk+1、yk+1)の1つ前のアド
レス(xk、yk)を指示する。
That is, when drawing a line like the arrow in FIG. 3, when the current write address 602 indicates (x k+1 , y k+1 ), the surface code memory address 605
indicates the address (x k , y k ) immediately before (x k +1 , y k+1 ) on the line.

また、第2図において、面コードメモリ用アド
レス発生回路314は面コード601を面コード
メモリ311に書込む場合には“1”となり書込
まない場合には“0”となる書込制御信号606
を出力する。この信号606の出力アルゴリズム
は例えば次のようなものがあり、これを簡単に説
明する。
In addition, in FIG. 2, the surface code memory address generation circuit 314 outputs a write control signal 606 which becomes "1" when writing the surface code 601 into the surface code memory 311 and becomes "0" when not writing.
Output. For example, the output algorithm for this signal 606 is as follows, which will be briefly explained.

書込アドレス602が(xk+1、yk+1)で面コ
ードメモリ用アドレス605が(xk、yk)の時 △yk=yk+1−ykと定義する。
When the write address 602 is (xk +1 , yk +1 ) and the surface code memory address 605 is ( xk , yk ), it is defined as Δyk =yk +1 - yk .

この時 △yk=0のとき“0” △yk・△yk-1=−1のとき“0” △yk・△yk-1=+1のとき“1”即ち(x
k、yk)に面図形の場合“1”を書込む、但し△
k-1=0の時は△yk-2、△yk-3、………とさか
のぼり最初に0でなくなつたものを△yk-1とす
る。このようにして面コードメモリ311に書込
んだ様子を第4図に示す。即ち丸印で示したよう
な輪郭を持つ面図形の場合、面コードメモリ31
1には●印に相当する番地に“1”が書込まれ
る。一方表示カラーコードメモリ310には丸印
で示したアドレスすべてにカラーコードが書込ま
れる。面コードメモリ用アドレス発生回路314
の詳細は後に述べる。
At this time, “0” when △y k = 0, “0” when △y k・△y k-1 = −1, “1” when △y k・△y k-1 = +1, that is, (x
k , yk ) in the case of a surface figure, write “1”, but △
When y k-1 = 0, go back to △y k-2 , △y k-3 , etc. and take the first one that is not 0 as △y k-1 . FIG. 4 shows how data is written to the surface code memory 311 in this manner. In other words, in the case of a surface figure with an outline as shown by a circle, the surface code memory 31
1, "1" is written in the address corresponding to the ● mark. On the other hand, color codes are written into the display color code memory 310 at all addresses indicated by circles. Address generation circuit 314 for surface code memory
The details will be described later.

マルチプレクサ312と313は2つのメモリ
310と311の書込タイミングの時にはそれぞ
れ書込アドレス信号602と面コードメモリ用ア
ドレス605を出力し、表示読出タイミングの時
には読出アドレス信号603を出力する。このタ
イミングは例えば、帰線時間と表示時間とでグラ
フイツクプロセツサ200によつて切換えられ
る。
Multiplexers 312 and 313 output a write address signal 602 and a surface code memory address 605, respectively, at write timing for the two memories 310 and 311, and output a read address signal 603 at display read timing. This timing is switched by the graphics processor 200 between, for example, the retrace time and the display time.

さて、第4図に示すように面コードメモリ31
1に書込まれ、表示カラーコードメモリ310に
は丸印で示されたアドレスにカラーコードが書込
まれたとする。
Now, as shown in FIG.
1, and the color code is written in the display color code memory 310 at the address indicated by the circle.

次にグラフイツクプロセツサ200から出力さ
れる表示用読出アドレス603によつてメモリ3
10と311が並列に読出される。
Next, the display readout address 603 output from the graphics processor 200 reads the memory 3.
10 and 311 are read out in parallel.

あるアドレスにおいてカラーコードメモリ31
0に書込まれているカラーコードをa(aは例え
ば101など)、面コードメモリ311に書込ま
れているコードをi(iは“0”か“1”)の時
メモリ310,311には(a、i)が書込まれ
ていると定義する。
Color code memory 31 at a certain address
When the color code written in 0 is a (a is 101, etc.), and the code written in the surface code memory 311 is i (i is "0" or "1"), it is stored in the memories 310 and 311. defines that (a, i) is written.

今、メモリの(0、0)なるコードが記憶され
ているアドレスが読出された時、表示カラーコー
ドメモリ310の出力607は“0”で、面コー
ドメモリ311の出力608は“0”である。し
たがつてレジスタ318はグラフイツクプロセツ
サ200から水平帰線時間内に出力されるリセツ
ト信号604によつて出力609は“0”のまま
であるのでオア(OR)ゲート317の出力61
0は“0”である。ORゲート317の出力61
0は映像制御回路400に入力される。順次読出
して(a、1)なるコードが記憶されているアド
レス、第4図で言えば(3、3)なるアドレス部
が読出された時、メモリ310からはaなるコー
ドを持つ出力607が出力され、メモリ311か
らは“1”なる出力608が出力される。したが
つてORゲート317の出力610はaになる。
また、レジスタ318の出力値“0”とメモリ3
10の出力値aを受けてエクスクルツシブオア
(EOR)ゲート316の出力611はaとなり、
その値aをメモリ311の出力値“1”でセツト
し、レジスタ318の出力は“0”からaになり
その値を保持する。したがつて(3、3)の次の
アドレス、すなわち1つ右横の(3、4)のコー
ド(0、0)が読出されてもORゲート317の
出力610はaのままである。読出しが進み
(3、7)なるアドレス部が読出されると(a、
1)なるコードがメモリ310,311から出力
される。したがつてORゲート317の出力61
0はaであるが、EORゲート316の出力は
“0”となりメモリ311の出力値1によつてレ
ジスタ318はリセツトされる。故に次のアドレ
ス(3、8)が読出されると(0、0)なるコー
ドがメモリ310,311から出力されるので
ORゲート317の出力610は“0”となる。
Now, when the address in the memory where the code (0, 0) is stored is read out, the output 607 of the display color code memory 310 is "0" and the output 608 of the surface code memory 311 is "0". . Therefore, the output 609 of the register 318 remains at "0" due to the reset signal 604 output from the graphics processor 200 during the horizontal retrace time, so the output 61 of the OR gate 317
0 is "0". Output 61 of OR gate 317
0 is input to the video control circuit 400. When the address in which the code (a, 1) is stored is read out in sequence, or the address section (3, 3) in FIG. 4 is read out, the memory 310 outputs an output 607 with the code a. An output 608 of "1" is output from the memory 311. Therefore, the output 610 of OR gate 317 becomes a.
In addition, the output value “0” of the register 318 and the memory 3
In response to the output value a of 10, the output 611 of the exclusive OR (EOR) gate 316 becomes a,
The value a is set to the output value "1" of the memory 311, and the output of the register 318 changes from "0" to a and holds that value. Therefore, even if the address next to (3, 3), that is, the code (0, 0) of (3, 4) one position to the right is read out, the output 610 of the OR gate 317 remains a. As the read progresses and the address part (3, 7) is read out, (a,
1) is output from the memories 310 and 311. Therefore, the output 61 of OR gate 317
0 is a, but the output of the EOR gate 316 becomes "0" and the register 318 is reset by the output value 1 of the memory 311. Therefore, when the next address (3, 8) is read, the code (0, 0) will be output from the memories 310, 311.
The output 610 of the OR gate 317 becomes "0".

更に読出しが進み(8、2)なるアドレス部が
読出されると面コードメモリ用アドレス発生回路
314によつて面コードメモリ311には“0”
が書込まれているので(a、0)なるコードがメ
モリ310,311から出力されるのでORゲー
ト317の出力610はaであり、レジスタ31
8の出力609は“0”のままである。したがつ
て次の(8、3)なるアドレス部が読出されると
ORゲート317の出力610は“0”となり、
表示エラーを引起こさない。
When the reading progresses further and the address part (8, 2) is read out, "0" is written to the surface code memory 311 by the surface code memory address generation circuit 314.
is written, the code (a, 0) is output from the memories 310 and 311, so the output 610 of the OR gate 317 is a, and the code (a, 0) is output from the memory 310, 311.
The output 609 of 8 remains "0". Therefore, when the next address part (8, 3) is read out,
The output 610 of the OR gate 317 becomes "0",
Does not cause display errors.

第5図は面コードメモリ用アドレス発生回路3
14を示したものである。xレジスタ410、y
レジスタ411には書込アドレス(yk、yk)が
セツトされている。そのときグラフイツクプロセ
ツサ200から次の書込アドレス602即ち(x
k+1、yk+1)が出力される。減算器412によつ
てyk+1とyレジスタ411のykとの差△yk
出力420される。差レジスタ413には1つ前
の時点の差△yk-1がセツトされている。△yk
ち減算器412の出力420が“0”で△yk-1
即ち差レジスタの値が0以外ならば差保持レジス
タ414のセツト信号(ANDゲート415の出
力)が1となり差保持レジスタ414に△yk-1
がセツトされる。マルチプレクサ416は差レジ
スタ413の内容△yk-1が“0”の時は差保持
レジスタ414の内容(△yk-2、△yk-3とさか
のぼつて最初に“0”でなくなつたものに相当)
を出力し、差レジスタ413の内容△yk-1が0
以外の時は差レジスタ413の内容△yk-1を出
力する。減算器412の出力420即ち△yk
マルチプレクサ416の出力△yk-1(△yk-1
0のときは△yk-2、△yk-3とさかのぼり最初に
0でなくなつたもの)が比較され、一致ならば
“1”となる制御信号600を出力する。
Figure 5 shows address generation circuit 3 for surface code memory.
14 is shown. x register 410, y
A write address (y k , y k ) is set in the register 411. At that time, the next write address 602 from the graphics processor 200, ie (x
k+1 , y k+1 ) are output. The subtracter 412 outputs 420 the difference Δy k between y k+1 and y k of the y register 411 . In the difference register 413, the difference Δy k-1 at the previous point in time is set. △y k, that is, when the output 420 of the subtracter 412 is “0”, △y k-1
That is, if the value of the difference register is other than 0, the set signal of the difference holding register 414 (output of the AND gate 415) becomes 1, and the difference holding register 414 receives △y k-1.
is set. When the content △y k-1 of the difference register 413 is “0”, the multiplexer 416 traces back the content of the difference holding register 414 (△y k-2 , △y k-3 , etc.) (equivalent to something)
is output, and the content △y k-1 of the difference register 413 is 0.
In other cases, the content Δy k-1 of the difference register 413 is output. The output 420 of the subtracter 412, that is, △y k , and the output △y k-1 of the multiplexer 416 (when △y k-1 is 0, it is traced back to △y k-2 , △y k-3 , and becomes non-zero first. 2) are compared, and if they match, a control signal 600 that becomes "1" is output.

本実施例によれば、面図形を描く際に、面図形
の輪郭に対応したリフレツシユメモリのアドレス
のみ処理すれば良く、かつ、図形の極大点あるい
は極小点における表示データの修正処理が不要で
あるので高速にカラー面図形の表示処理が可能で
ある。
According to this embodiment, when drawing a surface figure, it is only necessary to process the address of the refresh memory corresponding to the contour of the surface figure, and there is no need to correct the display data at the maximum or minimum point of the shape. Therefore, it is possible to display color plane figures at high speed.

第6図は本発明の他の実施例を示すもので、第
2図と同一部分は同一符号で示す。第2図と異な
るのは、アンド(AND)ゲート315の出力と
面コードメモリ311の出力を受けるEORゲー
ト319を設け、その出力を面コードメモリ31
1に入れた点である。第2図の実施例において
は、面コードメモリ311に書込む際に書込むと
いう操作のみであつたが、本実施例では、面コー
ドメモリ用アドレス605のアドレス部を読み出
してから、その出力とANDゲート315の出力
とのEORゲート319でEORをとつてからメモ
リ311に書込むという操作をする。その他の操
作は第2図と全く同一である。このようにする事
によつて第7図の矢印部に示すような2つの辺が
交わつているような部分の表示エラーを防ぐこと
ができる。これを以下に説明する。
FIG. 6 shows another embodiment of the present invention, in which the same parts as in FIG. 2 are designated by the same reference numerals. What is different from FIG.
This is the point I put in number 1. In the embodiment shown in FIG. 2, the only operation was writing when writing to the surface code memory 311, but in this embodiment, after reading the address part of the surface code memory address 605, the output and The EOR gate 319 performs an EOR with the output of the AND gate 315, and then the data is written into the memory 311. Other operations are exactly the same as in FIG. By doing this, it is possible to prevent a display error in a portion where two sides intersect as shown by the arrow in FIG. 7. This will be explained below.

第8図に第7図の矢印部の拡大を示す。第8図
の矢印のように面図形の輪郭を書く場合、前述し
たように面コードメモリ311のAアドレスには
まず“1”が書込まれる。書込みが進み再びAア
ドレスにきたとき、面コードメモリ311のAア
ドレスには“1”が書込まれているので、AND
ゲート315の出力値1と面コードメモリ311
の出力値1のEORがとられ、面コードメモリ3
11のAアドレスには“0”が書込まれる。この
ようなにして第7図の面図形を描く場合に、最終
的に書込まれた面コードメモリ311の様子を第
9図に示す。●印は“1”が書込まれており、〇
印は“0”が書込まれている。この実施例では、
第9図のAアドレスの様に辺がが重なつている場
合の面図形を描く時でも表示エラーを引き起こさ
ない。
FIG. 8 shows an enlarged view of the arrowed portion in FIG. 7. When drawing the outline of a surface figure as indicated by the arrow in FIG. 8, "1" is first written to the A address of the surface code memory 311 as described above. When the writing progresses and the A address is reached again, "1" has been written to the A address of the surface code memory 311, so the AND
Output value 1 of gate 315 and surface code memory 311
The EOR of the output value 1 is taken and the surface code memory 3 is
“0” is written to the A address of 11. FIG. 9 shows the state of the surface code memory 311 finally written when drawing the surface figure of FIG. 7 in this manner. "1" is written in the ● mark, and "0" is written in the ○ mark. In this example,
Even when drawing a surface figure with overlapping sides like the A address in FIG. 9, a display error does not occur.

第10図は、本発明の他の実施例を示すもの
で、第2図と同一部分は同一符号で示す。第2図
と異なるのはメモリ読出・書込データ制御回路7
01の構成を変え、多重面図形表示を可能にした
点である。以下これについて説明する。
FIG. 10 shows another embodiment of the present invention, in which the same parts as in FIG. 2 are designated by the same reference numerals. The difference from FIG. 2 is the memory read/write data control circuit 7.
This is because the configuration of 01 has been changed to enable multi-plane graphic display. This will be explained below.

まず第2図の場合と同様に表示カラーコードメ
モリ310にはカラーコードを、面コードメモリ
311には面コードを書込む。この際にはマルチ
プレクサ320,321はそれぞれカラーコード
600、ANDゲート315の出力を出力するよ
う切換えられる。書込みが終了すると表示カラー
コードメモリ310には面図形の輪郭のみ書込ま
れているので面図形内のぬりつぶし面コードメモ
リ311の“1”が書込まれていた部分を“0”
にする操作をメモリ310,311のリフレツシ
ユに合わせて順次する。以下これについて第4図
のような場合を例にとつて説明する。
First, as in the case of FIG. 2, a color code is written in the display color code memory 310 and a surface code is written in the surface code memory 311. At this time, the multiplexers 320 and 321 are switched to output the color code 600 and the output of the AND gate 315, respectively. When the writing is completed, only the outline of the area figure is written in the display color code memory 310, so the part where "1" was written in the fill-in area code memory 311 in the area figure is changed to "0".
This operation is performed sequentially in accordance with the refresh of the memories 310 and 311. This will be explained below using a case as shown in FIG. 4 as an example.

メモリ310,311の左端から順に読出して
書込むという操作を行なう。アドレス(3、3)
に達した時メモリ310,311からは(a、
1)なるコードが読出される。フリツプフロツプ
323とレジスタ318は例えば水平帰線時間に
出力される信号604によつてリセツトされてい
る。したがつて(a、1)が読出されるとフリツ
プフロツプ323は“1”を出力し、レジスタ3
18はaを出力する。フリツプフロツプ323が
“1”のときはマルチプレクサ322はレジスタ
318の出力を出力する。ぬりつぶし操作の際は
マルチプレクサ320,321はそれぞれマルチ
プレクサ322の出力と接地側を出力する。アド
レス(3、3)を読出した後(3、3)に書込む
のでメモリ310,311には(a、0)なるコ
ードが書込まれる。
The operations of sequentially reading and writing from the left end of the memories 310 and 311 are performed. address (3, 3)
When the memory 310, 311 reaches (a,
1) A code is read out. Flip-flop 323 and register 318 are reset, for example, by signal 604 output during horizontal retrace time. Therefore, when (a, 1) is read out, the flip-flop 323 outputs "1" and the register 3
18 outputs a. When flip-flop 323 is "1", multiplexer 322 outputs the output of register 318. During the filling operation, multiplexers 320 and 321 output the output of multiplexer 322 and the ground side, respectively. Since address (3, 3) is read and then written to (3, 3), a code (a, 0) is written in the memories 310 and 311.

次にアドレス(3、4)が読出されると(0、
0)なるコードが読出される。レジスタ318、
フリツプフロツプ323の出力はそれぞれa、1
と変わらないのでアドレス(3、4)の書込操作
をするとアドレス(3、4)には(a、0)が書
込まれる。即ちカラーコードメモリ310のアド
レス(3、4)がaにぬりつぶされたことにな
る。
Next, when address (3, 4) is read (0,
0) is read out. register 318,
The outputs of the flip-flop 323 are a and 1, respectively.
Therefore, when a write operation is performed on address (3, 4), (a, 0) is written to address (3, 4). That is, the address (3, 4) of the color code memory 310 is filled in with a.

アクセスが進んでアドレス(3、7)が読出さ
れると(a、1)なるコードが読み出される。し
たがつてEORゲート316の出力は“0”とな
り、インバータ324の出力は“0”であるので
レジスタ318の出力は“0”となり、フリツプ
フロツプ323の出力は“0”となる。そしてア
ドレス(3、7)の書込操作をすると、マルチプ
レクサ322はメモリ310の出力を出力するの
でアドレス(3、7)には(a、0)が書込まれ
る。
When the access progresses and address (3, 7) is read, a code (a, 1) is read. Therefore, the output of EOR gate 316 becomes "0", and since the output of inverter 324 is "0", the output of register 318 becomes "0", and the output of flip-flop 323 becomes "0". When a write operation is performed on address (3, 7), multiplexer 322 outputs the output of memory 310, so (a, 0) is written to address (3, 7).

次にアドレス(3、8)が読出されると(0、
0)なるコードをメモリ310,311は出力す
る。フリツプフロツプ323の出力は“0”であ
るのでアドレス(3、8)に書込操作をすると
(0、0)が書込まれる。
Next, when address (3, 8) is read (0,
The memories 310 and 311 output the code 0). Since the output of flip-flop 323 is "0", when a write operation is performed to address (3, 8), (0, 0) is written.

このような操作を順次行うことによつて表示カ
ラーコードメモリ310の面図形部はぬりつぶさ
れ、面コードメモリ311はすべてリセツトされ
る。この後、同様な手順で他の面図形を描けば多
重の面図形表示が可能である。
By sequentially performing such operations, the area graphic portion of the display color code memory 310 is filled in, and all areas of the area code memory 311 are reset. After this, by drawing other area figures using the same procedure, it is possible to display multiple area figures.

この実施例によれば、多重の面図形の表示が可
能となる。
According to this embodiment, multiple area figures can be displayed.

また第10図では示さなかつたが、第6図と同
様にEORゲートをANDゲート315とマルチプ
レクサ321の間に挿入することにより、第6図
と同様の効果を得られることは明らかである。
Although not shown in FIG. 10, it is clear that the same effect as in FIG. 6 can be obtained by inserting an EOR gate between AND gate 315 and multiplexer 321 as in FIG.

第11図は、本発明の更に他の実施例を示すも
ので、第10図と同一部分は同一符号で示す。
FIG. 11 shows still another embodiment of the present invention, in which the same parts as in FIG. 10 are designated by the same reference numerals.

第10図と異なるのは、多重面図形において第
10図では後からかいたものが優先であつたが、
面図形の重なり部の色をORの色にしたりするこ
とが可能なようにカラーコードメモリ310の出
力とレジスタ318の出力を受ける機能発生回路
327と重なり部をどうするかを決める機能決定
レジスタ326を設けた点である。以下これにつ
いて説明する。
The difference from Fig. 10 is that in Fig. 10, the one teased later has priority in the multiplane figure, but
In order to make it possible to change the color of the overlapping part of plane figures to an OR color, a function generating circuit 327 that receives the output of the color code memory 310 and the output of the register 318, and a function determining register 326 that determines what to do with the overlapping part are provided. This is the point I made. This will be explained below.

操作の手順は第10図と全く同じである。カラ
ーコードメモリ310の面図形をぬりつぶす際
に、面図形の重なり部において先にぬりつぶされ
ていた面図形の色コードとこれからぬりつぶそう
とする面図形の色コード612が機能発生回路3
27に入力され、ORにするか、EORにするかを
機能決定レジスタで決める。この結果機能発生回
路327は重なり部の色を論理演算して出力し、
それがカラーコードメモリ310に書込まれる。
第12図に機能発生回路327の1例を示す。
The operating procedure is exactly the same as in FIG. 10. When coloring a surface figure in the color code memory 310, the color code of the surface figure that was previously filled in and the color code 612 of the surface figure that is to be colored in the overlapping part of the surface figure are generated by the function generation circuit 3.
27, and the function determination register determines whether to use OR or EOR. As a result, the function generating circuit 327 performs a logical operation on the color of the overlapping part and outputs it.
It is written into color code memory 310.
FIG. 12 shows an example of the function generating circuit 327.

この実施例によれば、多重の面図形の表示が可
能であるとともに、面図形の重なり部の色を自由
に設定することが可能である。
According to this embodiment, it is possible to display multiple area figures, and it is also possible to freely set the color of the overlapping part of the area figures.

以上詳細に説明したように、本発明によると、
ラスタ走査形表示装置において、カラーの図形の
表示処理が高速化される。
As explained in detail above, according to the present invention,
In a raster scan type display device, display processing of color graphics is sped up.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はグラフイツクデイスプレイシステムの
一般的ブロツク図、第2図は本発明の一実施例を
示す図、第3図と第4図は書込みアドレスの説明
図、第5図は面コードメモリ用アドレス発生回路
314の詳細図、第6図は本発明は他の実施例を
示す図、第7図、第8図、第9図は面図形の辺と
辺が重なる場合の説明図、第10図は本発明の他
の実施例を示す図、第11図は本発明の他の実施
例を示す図、第12図は機能発生回路327の一
例図である。 310……表示カラーコードメモリ、311…
…面コードメモリ、700……メモリ読出・書込
アドレス制御回路、701……メモリ読出・書込
データ制御回路。
Figure 1 is a general block diagram of a graphic display system, Figure 2 is a diagram showing an embodiment of the present invention, Figures 3 and 4 are illustrations of write addresses, and Figure 5 is for surface code memory. A detailed diagram of the address generation circuit 314, FIG. 6 is a diagram showing another embodiment of the present invention, FIGS. 11 is a diagram showing another embodiment of the present invention, and FIG. 12 is a diagram showing an example of the function generation circuit 327. 310...display color code memory, 311...
...Surface code memory, 700...Memory read/write address control circuit, 701...Memory read/write data control circuit.

Claims (1)

【特許請求の範囲】 1 画面表示データを保持するリフレツシユメモ
リに表示用データを書込み、該リフレツシユメモ
リのデータを順次読出して画面の表示を行う表示
装置において、表示カラーコードを記憶するメモ
リと、面図形である事を示すコードを記憶するメ
モリと、前記2つのメモリに表示データを書込む
アドレスと前記2つのメモリの表示データを読出
すアドレスを制御するメモリ読出・書込みアドレ
ス制御回路と、前記2つのメモリに書込む表示デ
ータと前記2つのメモリから読出す表示データを
制御するメモリ読出・書込データ制御回路から構
成され、前記2つのメモリには図形の輪郭線のみ
を書込み、順次読出す際に、前記面図形である事
を示すコードを記憶するメモリからの出力で、前
記表示カラーコードを記憶するメモリからのカラ
ー出力を制御することを特徴とするデイスプレイ
装置。 2 特許請求の範囲第1項記載のデイスプレイ装
置において、前記2つのメモリに図形の輪郭線に
書込む際に、前記面図形である事を示すコードを
記憶するメモリに書込む際には1度読出し、先に
書込まれているデータと新たに書込もうとしてい
るデータとをエクスクルツシブオア(EOR)し
てから書込むことを特徴とするデイスプレイ装
置。 3 特許請求の範囲第1項記載のデイスプレイ装
置において、前記2つのメモリにまず図形の輪郭
線を書込んだ後、順次読出しを行うとともに、前
記面図形である事を示すコードを記憶するメモリ
からの出力で、前記表示カラーコードを記憶する
メモリからのカラー出力を制御してカラーコード
記憶メモリの読出したアドレスに、そのアドレス
が輪郭線内ならば輪郭線のカラーコードを、輪郭
線外なら先に書込まれていたカラーコードを書込
み、カラーコード記憶メモリの輪郭線内をぬりつ
ぶし、面図形である事を示すコードを記憶するメ
モリに0を書込んでいくことを特徴とするデイス
プレイ装置。 4 特許請求の範囲第3項記載のデイスプレイ装
置において、前記2つのメモリに図形の輪郭線を
書込んだ後、順次読出して書込みを行う際に、読
出したアドレスが輪郭線内ならば、輪郭線のカラ
ーコードと先に書込まれていたカラーコードとを
演算して前記カラーコード記憶メモリに書込み、
輪郭線外ならば、先に書込まれていたカラーコー
ドを読出したアドレスに書込むことを特徴とする
デイスプレイ装置。
[Scope of Claims] 1. In a display device that writes display data to a refresh memory that holds screen display data and sequentially reads out data from the refresh memory to display a screen, there is provided a memory that stores a display color code; , a memory that stores a code indicating that it is a surface figure, and a memory read/write address control circuit that controls an address for writing display data in the two memories and an address for reading display data from the two memories; It is composed of a memory read/write data control circuit that controls display data written to the two memories and display data read from the two memories, and writes only the outline of a figure to the two memories and reads them sequentially. 1. A display device characterized in that, when displaying, the color output from the memory storing the display color code is controlled by the output from the memory storing the code indicating that the display color is a surface figure. 2. In the display device according to claim 1, when writing to the outline of a figure in the two memories, when writing to the memory that stores the code indicating that the figure is a surface figure, once. A display device is characterized in that data that has been read and previously written is subjected to an exclusive OR (EOR) with data that is to be newly written before being written. 3. In the display device according to claim 1, the outline of the figure is first written in the two memories, and then sequentially read out from the memory that stores the code indicating that the figure is a surface figure. With the output, the color output from the memory that stores the display color code is controlled, and if the address is within the contour line, the color code of the contour line is sent to the read address of the color code storage memory, and if the address is outside the contour line, the color code is sent to the read address of the color code storage memory. The display device is characterized in that the color code written in the display device is written in, the outline of the color code storage memory is filled in, and 0 is written in the memory that stores the code indicating that it is a surface figure. 4. In the display device according to claim 3, when the outline of a figure is written in the two memories and then sequentially read and written, if the read address is within the outline, the outline calculate the color code and the previously written color code and write it into the color code storage memory;
A display device characterized in that if the color code is outside the contour line, the previously written color code is written at the read address.
JP1043779A 1979-02-02 1979-02-02 Display unit Granted JPS55103636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1043779A JPS55103636A (en) 1979-02-02 1979-02-02 Display unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1043779A JPS55103636A (en) 1979-02-02 1979-02-02 Display unit

Publications (2)

Publication Number Publication Date
JPS55103636A JPS55103636A (en) 1980-08-08
JPS6155677B2 true JPS6155677B2 (en) 1986-11-28

Family

ID=11750130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1043779A Granted JPS55103636A (en) 1979-02-02 1979-02-02 Display unit

Country Status (1)

Country Link
JP (1) JPS55103636A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4481594A (en) * 1982-01-18 1984-11-06 Honeywell Information Systems Inc. Method and apparatus for filling polygons displayed by a raster graphic system
JPS58142390A (en) * 1982-02-17 1983-08-24 横河電機株式会社 Graphic display unit adapted to indicating smeared graphic
JPS61212895A (en) * 1985-03-18 1986-09-20 大日本スクリ−ン製造株式会社 Processing for smearing area with in polygon
JPS6459295A (en) * 1987-08-28 1989-03-06 Alps Electric Co Ltd Character painting system
JP2721985B2 (en) * 1988-11-16 1998-03-04 忍 安冨 Kotatsu
JPH0820867B2 (en) * 1992-09-28 1996-03-04 株式会社日立製作所 Filled figure generation method

Also Published As

Publication number Publication date
JPS55103636A (en) 1980-08-08

Similar Documents

Publication Publication Date Title
US4626838A (en) Filled shaped generating apparatus
JPH0126072B2 (en)
US4492956A (en) Graphics display system and method including preclipping circuit
US4984183A (en) Graphics display controller for transferring figure data to overlapping portions of destination area and drawing-enable area defined by clipping rectangle
JPS60239796A (en) Circuit and apparatus for altering data in display memory
JPH0355832B2 (en)
EP0525986B1 (en) Apparatus for fast copying between frame buffers in a double buffered output display system
JPS5912176B2 (en) Cursor circuit for digital television display
JPS6155677B2 (en)
JPS6016634B2 (en) Graphic generation method in display devices
JPH0713788B2 (en) Image display device
JPS599059B2 (en) Display device character code extension method and device
JP3354725B2 (en) Display device
JPS642953B2 (en)
US5903280A (en) Image display apparatus that reduces necessary memory capacity for operation
JPH0544063B2 (en)
JP3129717B2 (en) Image processing apparatus and image processing method
JP2761220B2 (en) 3D graphic display system
US5305431A (en) Method and system for rendering polygons on a raster display
JP2808105B2 (en) Font drawing device
JPS5836350B2 (en) Pattern display method
EP0201267A2 (en) Row processor for bit-map display
JPH01281546A (en) Error detector for bit map memory
JPH04247587A (en) Graphic display device
JPS6040034B2 (en) display device