JPS61123874A - Graphic display unit - Google Patents
Graphic display unitInfo
- Publication number
- JPS61123874A JPS61123874A JP59245445A JP24544584A JPS61123874A JP S61123874 A JPS61123874 A JP S61123874A JP 59245445 A JP59245445 A JP 59245445A JP 24544584 A JP24544584 A JP 24544584A JP S61123874 A JPS61123874 A JP S61123874A
- Authority
- JP
- Japan
- Prior art keywords
- bit
- data
- color
- graphic
- register
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Image Analysis (AREA)
- Image Generation (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
ピ)産業上の利用分野
本発明は、表示画面の各画素に対応する画素データが複
数ビットで構成されるグラフィックディスプレイ装置に
係り、特に1色あるいは濃淡の判定が可能な同装置に関
する。DETAILED DESCRIPTION OF THE INVENTION B) Industrial Application Field The present invention relates to a graphic display device in which pixel data corresponding to each pixel on a display screen is composed of multiple bits, and is particularly capable of determining one color or shade. Regarding the same device.
(ロ) 従来の技術
一般に、グラフィックディスプレイ装置においては、表
示画面の各画素に対応する画素データは複数ビットで構
成され、例えば、色データはRlG、Bの3ビットで構
成される。そして、この色データはR,G、B毎に各々
3つのグラフィックメモリに記憶される。このようなグ
ラフィックディスプレイ装置において、表示されたある
画像の色を変更する場合、即ち、ペイント処理を行な5
場合や、パターンのチェックを行なう場合、グラフィッ
クメモリに記憶されている色データが指定した色と同じ
かと5かを判定する必要がある。(B) Prior Art Generally, in a graphic display device, pixel data corresponding to each pixel on a display screen is composed of a plurality of bits, for example, color data is composed of three bits of RlG and B. This color data is stored in three graphic memories for each of R, G, and B. In such a graphic display device, when changing the color of a displayed image, in other words, it is necessary to perform a painting process.
When checking a color or a pattern, it is necessary to determine whether the color data stored in the graphic memory is the same as the specified color or not.
ところが、従来、rPc−100テクニカルマ二為アル
」Kga示されているように、グラフィックメモリから
の絖出し時は、1度に1つのメモリしかアクセスしてい
なかった。即ち、色の判定を行なうときは、R,G、B
の各グラフィックメモリを1回づつアクセスし、得られ
たデータ”をソフトウェアで処理していた。However, as shown in the rPc-100 Technical Manual, only one memory was accessed at a time when printing from the graphics memory. In other words, when determining the color, R, G, B
Each graphics memory was accessed once, and the resulting data was processed by software.
(ハ)発明が解決しようとする問題点
従来の技術では、色データを構成するビット数と同じ回
数だけ、グラフィックメモリをアクセスする必要があり
、このため処理速度が遅くなるという問題点があった。(c) Problems to be solved by the invention In the conventional technology, it is necessary to access the graphic memory as many times as the number of bits that make up the color data, which has the problem of slowing down the processing speed. .
又、ソフトウェアの負担も大きかった。Moreover, the burden of software was also large.
に)問題点を解決するための手段
本発明は、指定されたnビットの画素データをセットす
るためのレジスタと、n個のグラクイックメモリから各
々読出されるmビット並列データの同一ビット出力を一
方のnビット入力端子く入力し、他方のnビット入力端
子に励記レジスタの内容を入力し、入力されたnビット
のデータを比較して一致信号を出力するm個のnビット
コンパレータとを設けたものである。(2) Means for Solving the Problems The present invention provides a register for setting specified n-bit pixel data, and a same-bit output of m-bit parallel data read from n graphic memories respectively. m pieces of n-bit comparators that input one n-bit input terminal and input the contents of the excitation register to the other n-bit input terminal, compare the input n-bit data, and output a match signal. It was established.
(ホ)作用
本発明では、指定された色に対応する色データをレジス
タにセットし、n個のグラフィックメモリを1度にアク
セスすると、m個のnビットコンパレータには、m個の
画素に対応する色データが各々入力され、指定された色
データと比較される。(e) Effect In the present invention, when color data corresponding to a specified color is set in a register and n graphic memories are accessed at once, m n-bit comparators are filled with data corresponding to m pixels. Each color data is inputted and compared with the specified color data.
そして、両色データが一致しているときに一致信号が出
力される。このため、nビットコンパレータの出力をC
PUに取込んでチェックすれば、指定された色か否かの
判定が可能となる。Then, when both color data match, a match signal is output. Therefore, the output of the n-bit comparator is
By importing the color into the PU and checking it, it becomes possible to determine whether the color is the specified color or not.
す、(1) 、 (2) 、 13)は各々R,G、B
に対するグラフィックメモリ、(4)は1回のアクセス
で8ピツトのデータを読出すCPU、(5)はチップセ
レクト信号C8I〜C83を各グラフィックメモリに送
出するアドレスデコーダ、(6)はグラフィックメモリ
へのデータの書込み及び読出しを制御するリードラす
イト制御回路、(7)は指定された3ビットの色データ
をセットするための色レジスタ、(8a)〜(8h)の
各々は、各3ピツトの入力端千人及びBを有し、両入力
端子に人力されたデータを比較し、一致している場合出
力端子Yから「1」レベルの一致信号を出力する3ビッ
トコンパレータであって、入力端子Bは色レジスタ(7
)の出力端に共通に接続され、入力端子Aは各グラフィ
ックメモIJ (1)(2)+31の同一ビット出力端
に接続されている。尚、3ビットコンパレータは具体的
には、例えば3つのエクスクル−シブORゲートと、こ
のゲート出力を入力する1つのNORゲートで構成すれ
ばよい。(1), (2), and 13) are R, G, and B, respectively.
(4) is a CPU that reads 8 pits of data in one access, (5) is an address decoder that sends chip select signals C8I to C83 to each graphic memory, and (6) is a CPU that reads 8 pits of data in one access. A read/write control circuit controls data writing and reading, (7) is a color register for setting designated 3-bit color data, and (8a) to (8h) are inputs for each of the 3 pits. This is a 3-bit comparator that has terminals 1,000 and B, compares data input manually to both input terminals, and outputs a "1" level match signal from output terminal Y if they match, and input terminal B is the color register (7
), and the input terminal A is connected to the same bit output terminal of each graphic memo IJ (1) (2) +31. Specifically, the 3-bit comparator may be constructed of, for example, three exclusive OR gates and one NOR gate to which the gate output is input.
又、デコーダ(5)は、CPU(4)が3つのグラフィ
ックメモ;+ (11(2)(3)を各々独立にアクセ
スできるように、 CI)U(41からの3つの異なる
アドレスに対して、チップセレクト信号C8I、C82
、C83を各々独立に発生するよう構成されていると共
に、CPU(4)からの特定アドレスに対しては全ての
チップセレクト信号C81〜C83を同時(発生して、
3つのグラフィックメモ月1)〜(3)を同時にアクセ
スできるように構成されている。In addition, the decoder (5) provides three different addresses from CI)U(41) so that the CPU (4) can independently access the three graphic memos;+(11(2)(3)). , chip select signals C8I, C82
, C83 independently, and simultaneously (generates) all chip select signals C81 to C83 for a specific address from the CPU (4).
It is configured so that three graphic memo months 1) to (3) can be accessed at the same time.
そこで、ライトベンやキーボードあるいはプログラムに
より指定された色に対応する色データを、データバスD
BUSを介してCPU(4)から色レジスタ(7)にセ
ットし、CPU(4)から特定アドレスを発生してリー
ドコマンドを出力すると、3つのグラフィックメモリ(
1)〜(3)には、リードライト制御回路(6)からリ
ードイネーブル信号REが与えられ、又、デコーダ(5
)からチップセレクト信号C8I〜C83が与えられ、
各グラフィックメモリからは8ピツトの並列データが各
々読出される。そして、続出された並列8ビットデータ
の各ビット出力は゛3ビットコンパレータ(8a)〜(
8h)K各々入力される。即ち、グラフィックメモリ(
1)−+31に独立に記憶されていたag1画素から第
8画素に対応する8つの色データが3ビットコンパレー
タ(8a)〜(8h)に各々入力され、指定された色デ
ータと比較される。 ゛
従って、3ビット;ンパレータ(8a)〜(8h)の出
力データDO−D7をレジスタ(9)に取込み、CPU
(4)でその8ピツトの内容をチェックすれば、第1画
素から第8画素の色が指定された色であるか判定できる
。Therefore, the color data corresponding to the color specified by the light bench, keyboard, or program is transferred to the data bus.
When the CPU (4) sets the color register (7) via the BUS, generates a specific address from the CPU (4), and outputs a read command, the three graphic memories (
1) to (3) are supplied with a read enable signal RE from a read/write control circuit (6), and are supplied with a read enable signal RE from a decoder (5).
) chip select signals C8I to C83 are given from
Eight pits of parallel data are read from each graphic memory. Then, each bit output of the successively output parallel 8-bit data is output from 3-bit comparators (8a) to (
8h) K are each input. That is, the graphics memory (
1) Eight color data corresponding to pixels ag1 to pixel 8, which were independently stored in -+31, are input to 3-bit comparators (8a) to (8h), respectively, and compared with designated color data. Therefore, the output data DO-D7 of the 3-bit comparators (8a) to (8h) is taken into the register (9), and the CPU
By checking the contents of the 8 pits in step (4), it can be determined whether the colors of the first to eighth pixels are the designated colors.
以下、グラフィックメモリ(1)〜(3)に与えるアド
レスをインクリメントしていげば、表示画儂の各画素の
色の判定が可能となる。Thereafter, by incrementing the addresses given to the graphic memories (1) to (3), it becomes possible to determine the color of each pixel of the displayed image.
ところで、上述においては色の判定について説明したが
、濃淡の場合も全く同一である。Incidentally, although the above description has been made regarding the determination of color, the determination of light and shade is also completely the same.
(ト) 発明の効果
本発明に依れば、グラフィックメモリに対するアクセス
を1回行なえば、表示されている画素の色あるいは濃淡
が指定された色あるいは濃淡と同じか否かが判定できる
ので、処理速度が速くなり、しかもソフトウェアの負担
を軽減できる。(g) Effects of the Invention According to the present invention, by accessing the graphic memory once, it can be determined whether the color or shading of a displayed pixel is the same as a specified color or shading. The speed is faster and the burden on the software is reduced.
図面は本発明の実施例を示すブロック図である。
主な図書の眺明
(1)〜(3)・・・グラフィックメモリ、 (4)・
・・CPU。
(力・・・色レジスタ、(8a)〜(8h)・・・3ビ
ットコンパレータ。The drawing is a block diagram showing an embodiment of the invention. Views of main books (1)-(3)...Graphic memory, (4)-
...CPU. (Power...color register, (8a) to (8h)...3-bit comparator.
Claims (1)
:2以上の整数)ビットで構成され、表示画像を構成す
る各画素データを1ビットづつ各々記憶するn個のグラ
フィックメモリと、該グラフィックメモリから1回のア
クセスでm(m:整数)ビットの並列データを読出すC
PUとを備えたグラフィックディスプレイ装置において
、指定されたnビットの画素データをセットするための
レジスタと、前記n個の、グラフィックメモリから各々
読出されるmビット並列データの同一ビット出力を一方
のnビット入力端子に入力し、他方のnビット入力端子
に前記レジスタの内容を入力し、入力されたnビットの
データを比較して一致信号を出力するm個のnビットコ
ンパレータとを設けたことを特徴とするグラフィックデ
ィスプレイ装置。(1) Pixel data corresponding to each pixel on the display screen is n(n
: an integer of 2 or more) bits, each storing 1 bit of each pixel data constituting a display image, and m (m: an integer) bits in one access from the graphic memory. C to read parallel data
In a graphic display device equipped with a PU, a register for setting specified n-bit pixel data, and the same bit output of the n pieces of m-bit parallel data each read from the graphic memory are stored in one register. m pieces of n-bit comparators are provided for inputting data to a bit input terminal, inputting the contents of the register to the other n-bit input terminal, comparing the inputted n-bit data, and outputting a match signal. A graphic display device with special features.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59245445A JPS61123874A (en) | 1984-11-20 | 1984-11-20 | Graphic display unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59245445A JPS61123874A (en) | 1984-11-20 | 1984-11-20 | Graphic display unit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS61123874A true JPS61123874A (en) | 1986-06-11 |
JPH0312318B2 JPH0312318B2 (en) | 1991-02-19 |
Family
ID=17133764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59245445A Granted JPS61123874A (en) | 1984-11-20 | 1984-11-20 | Graphic display unit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61123874A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS53106521A (en) * | 1977-02-28 | 1978-09-16 | Nec Corp | Color picture analyzer |
JPS5963099A (en) * | 1982-10-02 | 1984-04-10 | Fujitsu Ltd | Diagnostic system of memory |
-
1984
- 1984-11-20 JP JP59245445A patent/JPS61123874A/en active Granted
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS53106521A (en) * | 1977-02-28 | 1978-09-16 | Nec Corp | Color picture analyzer |
JPS5963099A (en) * | 1982-10-02 | 1984-04-10 | Fujitsu Ltd | Diagnostic system of memory |
Also Published As
Publication number | Publication date |
---|---|
JPH0312318B2 (en) | 1991-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6318227B2 (en) | ||
JPS6125188A (en) | Image display unit | |
KR890004306B1 (en) | Rasfer scan digital display system | |
US4677427A (en) | Display control circuit | |
JPH05266177A (en) | Plotting device | |
EP0093954A2 (en) | Image display memory unit | |
JPS592079A (en) | Image recorder | |
JPS61123874A (en) | Graphic display unit | |
JP2745957B2 (en) | Image rotation processing device | |
JPH07234948A (en) | Picture processor | |
JPS5945567A (en) | Circuit for controlling writing in memory | |
JP2837461B2 (en) | Access method of external character memory | |
JPS6141186A (en) | Simultaneous color data writing apparatus | |
JPH0355672A (en) | Picture editing processor | |
JPS5974590A (en) | Memory control system for display | |
JPS59160173A (en) | Frame memory | |
JPH05128007A (en) | Image forming device | |
JPS6326784A (en) | Image connection processor | |
JPS6316357A (en) | Memory element | |
JPS635758B2 (en) | ||
JPS62214431A (en) | Memory access mechanism | |
JPS59157882A (en) | Memory circuit | |
JPS6215593A (en) | Memory | |
JPS5942585A (en) | Memory control system | |
JPS6152688A (en) | Pattern data updating system |