JPS6329793A - Graphic processing device - Google Patents

Graphic processing device

Info

Publication number
JPS6329793A
JPS6329793A JP61171512A JP17151286A JPS6329793A JP S6329793 A JPS6329793 A JP S6329793A JP 61171512 A JP61171512 A JP 61171512A JP 17151286 A JP17151286 A JP 17151286A JP S6329793 A JPS6329793 A JP S6329793A
Authority
JP
Japan
Prior art keywords
memory
lut
output
address
signal
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.)
Pending
Application number
JP61171512A
Other languages
Japanese (ja)
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.)
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 JP61171512A priority Critical patent/JPS6329793A/en
Publication of JPS6329793A publication Critical patent/JPS6329793A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、陰極線管(CRT)によるカラー表示装置な
どに用いて好適な図形処理装置に係わり、特に、ルック
アップテーブルを用いた図形処理装置に関する。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a graphic processing device suitable for use in a color display device using a cathode ray tube (CRT), and more particularly, to a graphic processing device using a look-up table. Regarding.

〔従来の技術〕[Conventional technology]

CRTによるカラー表示装置には、図形処理装置でCR
T画面上に表示すべき色の情報に対するルックアップテ
ーブル(以下、LUTという)を格納したメモリが設け
られているものがある。このLUTメモリには、異なる
色情報が異なるアドレスに順次格納されており、このア
ドレスを指定することにより、このアドレスに格納され
ている所望の色情報が読み出され、CRTに供給されて
所望の色が画面上に表示される。また、図形処理装置に
は画像メモリが設けられている。この画像メモリには、
CRTの各画素(ピクセル)毎にアドレスが割り当てら
れ、夫々のアドレスには、CRT画面上のピクセルで表
示しようとする色に対するLUTメモリ上のアドレス(
以下、ピクセルデータという)が格納されている。
For CRT color display devices, a graphic processing device is used to
Some devices are equipped with a memory that stores a look-up table (hereinafter referred to as LUT) for color information to be displayed on the T screen. In this LUT memory, different color information is sequentially stored at different addresses, and by specifying this address, the desired color information stored at this address is read out and supplied to the CRT to display the desired color information. Colors are displayed on the screen. The graphic processing device is also provided with an image memory. This image memory contains
An address is assigned to each pixel on the CRT, and each address contains the address (in the LUT memory) for the color to be displayed by the pixel on the CRT screen.
(hereinafter referred to as pixel data) is stored.

CRTでのスキャンとともに、このスキャン位置に対す
る画像メモリのアドレスが順次指定されてピクセルデー
タが読み出される。これらピクセルデータによってLU
Tメモリからスキャン位置に対する色情報が読み出され
る。これにより、CRT画面上に色が表示される。
As the CRT scans, addresses in the image memory corresponding to the scan positions are sequentially specified and pixel data is read out. With these pixel data, LU
Color information for the scan position is read from the T memory. This causes colors to be displayed on the CRT screen.

LUTを用いると、見かけ上の色の数を増加させること
ができ、また、画像メモリの内容を変更せずに、LUT
の内容を書き換えるだけで高速に表示すべき色を変更で
きるものであって、このようなことから多くの表示装置
に用いられているのである。
LUTs can be used to increase the number of apparent colors, and can also be used without changing the contents of image memory.
It is possible to quickly change the color to be displayed simply by rewriting the contents of , and for this reason it is used in many display devices.

ところで、表示される色を変更する場合には、LUTの
内容を書き替えればよいが、書き替え要求があると、こ
の書き替えはCRTのスキャン期間であっても、CRT
画面上で色表示を行ないながら、すなわち、LOTメモ
リから色情報を読み出しながら行なわれる。このように
、書き替えはその要求と同時に行なわれ、しかも、CR
T画面上での色表示の中断をさけるようにしている。
By the way, if you want to change the displayed color, you can simply rewrite the contents of the LUT, but if there is a rewriting request, this rewriting will be performed even during the CRT scan period.
This is performed while displaying colors on the screen, that is, while reading color information from the LOT memory. In this way, the rewriting is done at the same time as the request, and the CR
This is to avoid interruption of color display on the T screen.

しかしながら、LUTの内容を書き替えるときには、新
たな色情報が書き込まれるLUTメモリのアドレスが指
定されるのであるが、この指定アドレスは固定されるた
めに、この新たに書き込んだ色情報が画面上に表示され
てしまい、これがノイズとなって現われることになる。
However, when rewriting the contents of the LUT, the address of the LUT memory where new color information is written is specified, but since this specified address is fixed, this newly written color information is not displayed on the screen. This will appear as noise.

この問題をなくすために、rElectronic D
esignJSep5.1985pp・131−140
に開示されるように、LUTメモリをデュアル・ボート
・メモリで構成することが提案されている。
To eliminate this problem, rElectronic D
esignJSep5.1985pp・131-140
It has been proposed to configure the LUT memory with a dual port memory, as disclosed in .

〔発明で解決しようとする問題点〕[Problems to be solved by invention]

しかしながら、上記のような従来技術では、CRTでの
ラスクスキャンによる現在表示している画素に対するL
UTメモリの読出しアドレス(すなわち、ピクセルデー
タ)と新たな色情報を書き込もうとするLUTメモリの
アドレスが異なる場合には、CRT画面にノイズが生ず
ることはないが、両アドレスが一致した場合には、やは
りCRT画面上にノイズが現われる。
However, in the conventional technology as described above, the L for the currently displayed pixel is
If the UT memory read address (i.e., pixel data) and the LUT memory address to which new color information is written are different, no noise will occur on the CRT screen, but if the two addresses match, Noise still appears on the CRT screen.

本発明の目的は、上記の問題点を解決し、画面上にノイ
ズが現われることなく、LUTメモリでの書き替えを可
能とした図形処理装置を提供するにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a graphic processing device that solves the above problems and allows rewriting in an LUT memory without noise appearing on the screen.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的を達成するために、本発明は、LUTメモリに
書き込むべき新たな内容を保持する手段を設け、CRT
の帰線期間中に該保持手段の内容を1LUTメモリに書
き込むようにしたものである。
In order to achieve the above object, the present invention provides means for holding new contents to be written to the LUT memory, and
The contents of the holding means are written into the 1LUT memory during the retrace period.

〔作用〕[Effect]

LOTの書き替えがCRTの帰線期間中に行なわれるの
で、画像メモリからのピクセルデータと書き込みのため
のLUTメモリの指定アドレスとが一致することなく、
シたがって、CRT画面上では、LUTメモリの書き替
えによるノイズは生じない。
Since the LOT is rewritten during the retrace period of the CRT, the pixel data from the image memory and the specified address of the LUT memory for writing do not match.
Therefore, no noise occurs on the CRT screen due to rewriting of the LUT memory.

〔実施例〕〔Example〕

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

第1図は本発明による図形処理装置の一実施例を示すブ
ロック図であって、100はマイクロプロー1=+l−
(MPU) 、 110は画像メモリ、120はセレク
タ、130はLUTメモリ、140はディジタル/アナ
ログ(D/A)コンバータ、150はCRT、160は
LUT変換回路、200゜210はラッチ、220〜2
50はD型フリップフロップ(F F)、260はアン
ドゲート、270はクロック発生器である。
FIG. 1 is a block diagram showing an embodiment of a graphic processing device according to the present invention, in which 100 is a microprocessor 1=+l−
(MPU), 110 is an image memory, 120 is a selector, 130 is an LUT memory, 140 is a digital/analog (D/A) converter, 150 is a CRT, 160 is an LUT conversion circuit, 200°210 is a latch, 220 to 2
50 is a D-type flip-flop (FF), 260 is an AND gate, and 270 is a clock generator.

同図において、LUTメモリ130には、LUTが格納
されており、それを形成する異なる色情報は異なるアド
レスに格納されている。また、画像メモリ110では、
CRT150の各画素(ピクセル)毎にアドレスが割り
当てられており、各アドレスにはピクセルで表示すべき
色に対するLUTメモリ130のアドレス(すなわち、
ピクセルデータ)が格納されている。
In the figure, an LUT is stored in the LUT memory 130, and different color information forming the LUT is stored at different addresses. Furthermore, in the image memory 110,
An address is assigned to each pixel of the CRT 150, and each address contains the address of the LUT memory 130 for the color to be displayed by the pixel (i.e.
pixel data) is stored.

CRT150での画像表示の場合には、CRT150の
ラスクスキャンとともに、MPU100はアドレス線1
01を介してスキャン位置にあるピクセルに対するアド
レスを画像メモリ110に送り、これからそのピクセル
に対するピクセルデ−タを読み出す。このとき、LUT
変換回路160の各FF220〜250はクリアされて
おり、夫々の出力は“O”である。FF230の出力は
信号線231を介してセレクタ120に選択信号として
供給されるが、これが170 +#のときには、セレク
タ120は画像メモリ110の出力を選択してLUTメ
モリ130に送る。また、FF240の“0″の出力は
、信号線241を介し書込イネーブル信号としてLUT
メモリ130に送られる。
When displaying an image on the CRT 150, the MPU 100 scans the address line 1 while scanning the CRT 150.
The address for the pixel at the scan position is sent to the image memory 110 via 01, and the pixel data for that pixel is read from there. At this time, LUT
Each of the FFs 220 to 250 of the conversion circuit 160 is cleared, and each output is "O". The output of the FF 230 is supplied as a selection signal to the selector 120 via the signal line 231, and when this is 170 +#, the selector 120 selects the output of the image memory 110 and sends it to the LUT memory 130. Furthermore, the “0” output of the FF 240 is sent to the LUT as a write enable signal via the signal line 241.
The data is sent to memory 130.

このとき、LUTメモリ130は読出しモードに設定さ
れる。
At this time, LUT memory 130 is set to read mode.

そこで、画像メモリ110から読み出された各ピクセル
データはセレクタ120を介してLUTメモリ130に
供給される。これによってLUTメモリ130からはC
RT150のスキャンされるピクセル毎に色情報が読み
出され、D/Aコンバータ140でアナログ信号に変換
されてCRT150に供給される。これにより、CRT
150の画面上に色表示が行なわれる。
Therefore, each pixel data read from the image memory 110 is supplied to the LUT memory 130 via the selector 120. As a result, from the LUT memory 130, C
Color information is read out for each pixel scanned by the RT 150, converted into an analog signal by the D/A converter 140, and supplied to the CRT 150. This allows CRT
Color display is performed on the screen of 150.

なお、CRT 150の帰線期間では、MPU100か
ら信号線104に“1″のブランキング信号が出力され
る。これにより、この帰線期間では、D/Aコンバータ
140が動作を停止する。
Note that during the retrace period of the CRT 150, a blanking signal of "1" is output from the MPU 100 to the signal line 104. As a result, the D/A converter 140 stops operating during this retrace period.

次に、LUTメモリ130でのLUT書き替え動作につ
いて第2図を用いて説明する。
Next, the LUT rewriting operation in the LUT memory 130 will be explained using FIG. 2.

書き替えが要求されると、MPU100はアドレス線1
02にLUTメモリ130の書き替えるべきアドレスを
表わす書込アドレス信号を出力し、また、データ線10
3に書込データを出力する。
When rewriting is requested, the MPU 100
A write address signal representing the address to be rewritten in the LUT memory 130 is output to the data line 10.
Output the write data to 3.

これとともに、MPU100は信号線105にLUTセ
ット信号も出力し、これにより、書込アドレス信号がラ
ッチ200に、また、書込データがラッチ210に夫々
−旦記憶される。
At the same time, the MPU 100 also outputs a LUT set signal to the signal line 105, whereby the write address signal is temporarily stored in the latch 200 and the write data is stored in the latch 210, respectively.

LUTセット信号は、また、FF220のC(クロック
)入力となり、これによってFF220は“1”のC入
力を取り込む。そこで、FF220の出力は“1”とな
り(これを、以下、FFがセットされるという)、アン
ドゲート260がオン状態となる。その後、MPU 1
00が信号線104に“1”のブランキング信号を出力
すると、このブランキング信号はアンドゲート260を
通り、FF230にC入力として供給される。一方、ク
ロック発生器270から信号線271に出力されるクロ
ックφは、C入力としてFF230〜250に供給され
ており、このクロックφの立上りエツジでFF230が
ブランキング信号を取り込んでセットされ、その出力は
440 IIから′1′′に反転する。これによってセ
レクタ120はラッチ200の出力を選択するようにな
り、ピクセルデータに代って書込アドレス信号がLOT
メモリ130に供給される。
The LUT set signal also becomes the C (clock) input of the FF 220, and thereby the FF 220 takes in the C input of "1". Therefore, the output of the FF 220 becomes "1" (hereinafter referred to as the FF being set), and the AND gate 260 is turned on. After that, MPU 1
00 outputs a blanking signal of "1" to the signal line 104, this blanking signal passes through the AND gate 260 and is supplied to the FF 230 as a C input. On the other hand, the clock φ output from the clock generator 270 to the signal line 271 is supplied to the FFs 230 to 250 as a C input, and at the rising edge of the clock φ, the FF 230 takes in the blanking signal and is set, and its output is inverted from 440 II to '1''. This causes the selector 120 to select the output of the latch 200, and the write address signal is LOT instead of the pixel data.
A memory 130 is provided.

また、FF230のLl 113の出力より、クロック
φの次の立上りエツジでFF240がセットされ、その
出力は“I 11となる。これにより、書込イネーブル
信号が“1”となってLUTメモリ130は書込モード
となり、ラッチ210に記憶されている書込データがL
UTメモリ130の書込アドレス信号で指定されるアド
レスに書き込まれる。
Furthermore, the FF 240 is set by the output of Ll 113 of the FF 230 at the next rising edge of the clock φ, and its output becomes "I 11". As a result, the write enable signal becomes "1" and the LUT memory 130 The write mode is entered, and the write data stored in the latch 210 is L.
It is written to the address specified by the write address signal of the UT memory 130.

また、FF240の“1”の出力により、クロックφの
さらに次の立上りエツジでFF250がセットされ、そ
の出力が“1″′となる。これにより、FF220,2
40はクリアされてそれらの出力は“0”となり、LU
Tメモリ130は再び読み出しモードとなる。そして、
アンドゲート260の出力が“0”となることから、ク
ロックφの次の立下りエツジでFF230の出力はll
 O11となり(以下、これをリセットされたという)
、セレクタ120は画像メモリ110の出力を選択して
再びLUTメモリからの色情報の読み出しが開始される
。
Further, due to the output of "1" from the FF 240, the FF 250 is set at the next rising edge of the clock φ, and its output becomes "1''. As a result, FF220,2
40 are cleared and their outputs become “0”, and the LU
The T memory 130 is again in read mode. and,
Since the output of the AND gate 260 becomes "0", the output of the FF 230 becomes ll at the next falling edge of the clock φ.
became O11 (hereinafter referred to as "reset")
, the selector 120 selects the output of the image memory 110, and the reading of color information from the LUT memory is started again.

なお、FF240の出力がOIIとなるとともに、クロ
ックφの次の立上りエツジでFF250がリセットされ
、したがって、FF220〜250は元の状態(初期状
態)に設定される。
Incidentally, when the output of the FF 240 becomes OII, the FF 250 is reset at the next rising edge of the clock φ, and therefore the FFs 220 to 250 are set to their original states (initial states).

以上のように、この実施例では、CRT150がスキャ
ンしている期間にLUTメモリ130の書き替え要求が
あっても、この書き替えはCRT150の帰線期間内に
行なわれ、CRT150の画面上にノイズが生ずること
はない。
As described above, in this embodiment, even if there is a request to rewrite the LUT memory 130 while the CRT 150 is scanning, this rewriting is performed during the retrace period of the CRT 150, and noise appears on the screen of the CRT 150. will not occur.

第3図は本発明による図形処理装置の他の実施例を示す
ブロック図であって、300はLUT書替用メモリ、3
10はカウンタ、320はセレクタ、330は検出回路
、340はFF、350はアンドゲート、360はFF
、370はアンドゲート、380はインバータであり、
第1図に対応する部分には同一符号をつけている。
FIG. 3 is a block diagram showing another embodiment of the graphic processing device according to the present invention, in which 300 is a LUT rewriting memory;
10 is a counter, 320 is a selector, 330 is a detection circuit, 340 is an FF, 350 is an AND gate, 360 is an FF
, 370 is an AND gate, 380 is an inverter,
Parts corresponding to those in FIG. 1 are given the same reference numerals.

以下、この実施例の動作について第4図を用いて説明す
る。
The operation of this embodiment will be explained below with reference to FIG.

CRT150での表示のときには、FF220〜250
およびFF340,360はクリアされた初期状態にあ
り、FF220〜250およびFF340の出力は“0
″、FF360のQ出力は“O”、Q出力は、41″で
ある。このFF360のQ出力は、信号1!361を介
し、セレクタ120,320に選択信号として供給され
、また、インバータ380で反転されてアンドゲート2
60とカウンタ310のリセット端子Rに供給される。
When displaying on CRT150, FF220-250
and FF340, 360 are in a cleared initial state, and the outputs of FF220 to 250 and FF340 are “0”.
'', the Q output of the FF 360 is "O", and the Q output is 41''. The Q output of this FF 360 is supplied as a selection signal to the selectors 120 and 320 via the signal 1!361, and is also inverted by the inverter 380 and then
60 and the reset terminal R of the counter 310.

この選択信号が110 Nのときには、セレクタ120
は画像メモリ110の出力を選択し、セレクタ320は
ラッチ200の出力を選択している。また、アンドゲー
ト370の出力は、信号線371を介し、書込イネーブ
ル信号としてLUTメモリ130と、クロックとしてカ
ウンタ310に供給される。このとき、FF360のQ
出力が50″であることから、アンドゲート370の出
力も“0”であり、Lt)Tメモリ130は読出モード
にある。したがって、第1図の実施例と同様に、画像メ
モリ110からのピクセルデータによってLUTメモリ
130から色情報が読み出され、CRT 150で色表
示が行なわれる。
When this selection signal is 110N, selector 120
selects the output of the image memory 110, and the selector 320 selects the output of the latch 200. Further, the output of the AND gate 370 is supplied to the LUT memory 130 as a write enable signal and to the counter 310 as a clock via a signal line 371. At this time, FF360's Q
Since the output is 50", the output of the AND gate 370 is also "0" and the Lt)T memory 130 is in the read mode. Therefore, similar to the embodiment of FIG. Color information is read from the LUT memory 130 according to the data, and color display is performed on the CRT 150.

次に、LUTメモリ130の書替要求があると、MPU
 100から出力された書込アドレス信号と書込データ
は夫々ラッチ200,21Qに記憶され、また、信号1
i1105を介したLUTセット信号によってFF22
0がセットされ、その出力は141 Itとなる。また
、このとき、FF360は初期状態にあり、そのQ出力
は“0″であってインバータ380の出力は“1″であ
るから、FF220の出力が“1”となり、その直後p
クロックφの立上りエツジでFF230はセットされる
。
Next, when there is a request to rewrite the LUT memory 130, the MPU
The write address signal and write data output from 100 are stored in latches 200 and 21Q, respectively, and the signal 1
FF22 by LUT set signal via i1105
It is set to 0 and its output is 141 It. Also, at this time, the FF 360 is in the initial state, its Q output is "0", and the output of the inverter 380 is "1", so the output of the FF 220 becomes "1", and immediately after that, p
The FF 230 is set at the rising edge of the clock φ.

したがって、クロックφの次の立上りエツジでFF24
0もセットされる。これにより、LUT書替用メモリ3
00の書込イネーブル信号は“1″となり、それが書込
モードとなってラッチ210で記憶される書込データが
ラッチ200に記憶される書込アドレス信号で指定され
るアドレスに書き込まれる。
Therefore, at the next rising edge of clock φ, FF24
Also set to 0. As a result, LUT rewriting memory 3
The write enable signal of 00 becomes "1", which becomes the write mode, and the write data stored in the latch 210 is written to the address specified by the write address signal stored in the latch 200.

また、FF240の“1″の出力により、FF340が
セットされ、クロックφの次の立上りエツジでFF25
0もセットされる。これによって、FF220,240
がクリアされる。さらに、第1図の場合と同様に、FF
230,250もクリアされる。FF240がクリアさ
れることにより、LUT書替用メモリ300の書イネー
ブル信号は# Ouとなり、そのメモリ300は読出し
状態となる。したがって、LUT書替用メモリ300か
らは、ラッチ200に記憶される書込アドレス信号が読
出信号となって、書き込まれた書込データが読み出され
、データ線301を通してLUTメモリ130に供給さ
れる。しかし、LUTメモリ130は読出しモードにあ
るために、このデータは書き込まれない。
Furthermore, FF340 is set by the output of "1" from FF240, and FF240 is set at the next rising edge of clock φ.
Also set to 0. By this, FF220, 240
is cleared. Furthermore, as in the case of FIG.
230 and 250 are also cleared. By clearing the FF 240, the write enable signal of the LUT rewriting memory 300 becomes #Ou, and the memory 300 enters the read state. Therefore, from the LUT rewriting memory 300, the write address signal stored in the latch 200 becomes a read signal, and the written data is read out and supplied to the LUT memory 130 through the data line 301. . However, since LUT memory 130 is in read mode, this data is not written.

上記のように、LUT書替用メモリ300へのデータの
書込みと同時に、FF340はセットされてその出力は
“1”となる。その後、MPU100から信号m104
を介して′″1″のブランキング信号が供給されると、
このブランキング信号はアンドゲート350を介してF
F360に供給され、これと同時にFF360はセット
されてそのQ出力が“1″、−φ−比出力110 It
どなる。このす出力の立下りエツジでFF340がリセ
ットされる。
As described above, at the same time as data is written to the LUT rewriting memory 300, the FF 340 is set and its output becomes "1". After that, the signal m104 is sent from the MPU 100.
When a blanking signal of ``1'' is supplied via
This blanking signal is passed through AND gate 350 to F
It is supplied to F360, and at the same time FF360 is set and its Q output is "1", -φ- ratio output 110 It
bawl. The FF 340 is reset at the falling edge of this output.

FF360のQ出力が“1″′となると、セレクタ12
0,321はカウンタ310からデータ線311に出力
されるカウンタ値を書込アドレス信号として選択し、ま
た、インバータ380の出力はit OItとなってア
ンドゲート260をオフ状態とするとともに、その立下
りエツジでカウンタ310をリセットする。さらに、F
F360のQ出力が“1″となったことによってアンド
ゲート370がオン状態となり、クロック発生器270
からのクロックφは、アンドゲート370を介し、書込
イネーブル信号としてLUTメモリ130に、クロック
としてカウンタ310に夫々供給される。
When the Q output of FF360 becomes "1"', selector 12
0,321 selects the counter value output from the counter 310 to the data line 311 as the write address signal, and the output of the inverter 380 becomes it OIt, turning off the AND gate 260, and The counter 310 is reset at the edge. Furthermore, F
When the Q output of F360 becomes “1”, the AND gate 370 turns on, and the clock generator 270
The clock φ is supplied to the LUT memory 130 as a write enable signal and to the counter 310 as a clock via an AND gate 370, respectively.

LUTメモリ130は書込イネーブル信号が“1”のと
き書込モードとなり、カウンタ310はクロックの立下
りエツジで1だけアップカウントする。
The LUT memory 130 is in write mode when the write enable signal is "1", and the counter 310 counts up by 1 at the falling edge of the clock.

そこで、アンドゲート370から最初の“1″のクロッ
クφが出力されると、そのクロックφの期間LUTメモ
リ130は書込モードとなる。このとき、カウンタ31
0のカウント値はOであり、LUTメモリ130および
LUT書替用メモリ300はともに0番地が指定される
。したがって、LUT書替用メモリ300では0番地の
データが読み出され、このデータがLUTメモリ130
の0番地に書き込まれる。
Therefore, when the first "1" clock φ is output from the AND gate 370, the LUT memory 130 enters the write mode during the period of the clock φ. At this time, the counter 31
The count value of 0 is O, and address 0 is designated for both the LUT memory 130 and the LUT rewriting memory 300. Therefore, the data at address 0 is read in the LUT rewriting memory 300, and this data is transferred to the LUT memory 130.
is written to address 0.

この最初のクロックφの立下りエツジではカウンタ31
0のカウント値は1となり、次のクロックφがアンドゲ
ート370から出力されると、同様にして、LUT書替
用メモリ300の1番地のデータが読み出されてLUT
メモリ130の1番地に書き込まれる。以下同様に、ク
ロックφがアンドゲート370を通過する毎に、LUT
書替用メモリ300がアドレス順にデータが読み出され
、LUTメモリ130の同一番地に順次書き込まれる。
At the falling edge of this first clock φ, the counter 31
The count value of 0 becomes 1, and when the next clock φ is output from the AND gate 370, the data at address 1 of the LUT rewriting memory 300 is read out and stored in the LUT.
It is written to address 1 in memory 130. Similarly, each time the clock φ passes through the AND gate 370, the LUT
Data is read from the rewrite memory 300 in address order and sequentially written to the same address in the LUT memory 130.

カウンタ310のカウント値は検出回路330にも供給
される。この検出回路330は、このカウント値がLU
Tメモリ130.LUT書替用メモリ300の最終番地
よりも1つ多い数になると、すなわち、LUT書替用メ
モリ300からLOTメモリ130への全データの書き
替えが終了すると、信号a331にリセット信号を発生
し、FF360をリセットする。たとえば、LUTメモ
リ130、LUT書替用メモリ330が4種の色情報を
格納する容量を有しているときには、カウンタ310の
カウント値は3ビツトのデータであり、10進数で5を
表わす2進数(101)2となったとき、検出回路33
0からリセット信号が発生する。これにより、セレクタ
120は画像メモリ110の出力を選択するようになり
、アンドゲート370はオフ状態となって、LUTメモ
リ130は読出モードに固定される。そこで、帰線期間
が終ると、再び、CRT150での色表示が開始される
。このときには、LUTメモリ130とLUT書替用メ
モリ300とにおけるLUTは同一である。
The count value of counter 310 is also supplied to detection circuit 330. This detection circuit 330 detects that this count value is LU
T memory 130. When the number is one more than the final address of the LUT rewrite memory 300, that is, when all data has been rewritten from the LUT rewrite memory 300 to the LOT memory 130, a reset signal is generated in the signal a331, Reset FF360. For example, when the LUT memory 130 and the LUT rewriting memory 330 have a capacity to store four types of color information, the count value of the counter 310 is 3-bit data, which is a binary number representing 5 in decimal. (101) When it becomes 2, the detection circuit 33
A reset signal is generated from 0. As a result, the selector 120 selects the output of the image memory 110, the AND gate 370 is turned off, and the LUT memory 130 is fixed in the read mode. Therefore, when the retrace period ends, color display on the CRT 150 starts again. At this time, the LUTs in the LUT memory 130 and the LUT rewriting memory 300 are the same.

このように、この実施例では、LUTの書き替え指令が
あると、まず、この指令と同時に、LUT書替用メモリ
300でLUTの書き替えを行ない、CRT150の帰
線期間にLUT書替用メモリ300の内容をLUTメモ
リ130に書きうつし、これにより、LUTメモリ13
0のLUTの書き替えを行なうものである。したがって
、この実施例においても、LUT書き替えを行なっても
、CRT画面上にはノイズは生じない。
As described above, in this embodiment, when there is an LUT rewriting command, the LUT is first rewritten in the LUT rewriting memory 300 at the same time as this command, and the LUT rewriting memory is rewritten during the blanking period of the CRT 150. 300 is written to the LUT memory 130, and as a result, the LUT memory 13
This rewrites the LUT of 0. Therefore, in this embodiment as well, no noise occurs on the CRT screen even if the LUT is rewritten.

〔発明の効果〕〔Effect of the invention〕

以上説明したように1本発明によれば、LUTの内容変
更の要求がいつあっても、これは必ずCRTの帰線期間
内に実行されるものであるから、LUTメモリでのピク
セルデータと書込アドレスとが一致することがなく、し
たがって、画面上にノイズを発生させることなく、Lt
JTの内容変更を行なうことができる。
As explained above, according to the present invention, no matter when there is a request to change the contents of the LUT, this is always executed during the retrace period of the CRT, so that the pixel data and the writing in the LUT memory are Lt
You can change the contents of JT.

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

第1図は本発明による図形処理装置の一実施例を示すブ
ロック図、第2図はその動作を示すタイミングチャート
、第3図は本発明による図形処理装置の他の実施例を示
すブロック図、第4図はその動作を示すタイミングチャ
ートである。 110・・・画像メモリ、120・・・セレクタ、13
0・・・ルックアップテーブルメモリ、150・・・陰
極線管、160・・・ルックアップテーブル変更回路。 200.210−ラッチ、220〜250・=D型フリ
ップフロップ、260・・・アンドゲート、300・・
・ルックアップテーブル書替用メモリ、310・・・カ
ウンタ、320・・・セレクタ、330・・・検出回路
、340・・・D型フリップフロップ、350・・・ア
ンドゲート、360・・・D型フリップフロップ。 370・・・アンドゲート、380・・・インバータ。
FIG. 1 is a block diagram showing one embodiment of the graphic processing device according to the present invention, FIG. 2 is a timing chart showing its operation, and FIG. 3 is a block diagram showing another embodiment of the graphic processing device according to the present invention. FIG. 4 is a timing chart showing the operation. 110... Image memory, 120... Selector, 13
0... Lookup table memory, 150... Cathode ray tube, 160... Lookup table changing circuit. 200.210-latch, 220-250 = D type flip-flop, 260...AND gate, 300...
- Lookup table rewriting memory, 310... Counter, 320... Selector, 330... Detection circuit, 340... D type flip-flop, 350... AND gate, 360... D type flip flop. 370...AND gate, 380...Inverter.

Claims (1)

【特許請求の範囲】[Claims] 1、陰極線管の各画素毎にピクセルデータを格納した画
像メモリと、該陰極線管に表示すべき色情報からなるル
ックアップテーブルを格納したルックアップテーブルメ
モリを備え、該画像メモリから読み出されたピクセルデ
ータによって該ルックアップテーブルメモリから色情報
を読み出し、該陰極線管の画面上で色表示を行なうよう
にした図形処理装置において、書込み要求とともに、書
込みデータを記憶する第1の手段と、該陰極線管の帰線
期間を検出する第2の手段と、該第2の手段によって該
帰線期間に該第1の手段に記憶されている書込データを
該ルックアップテーブルメモリに書き込む第3の手段を
設けたことを特徴とする図形処理装置。
1. An image memory that stores pixel data for each pixel of a cathode ray tube, and a lookup table memory that stores a lookup table consisting of color information to be displayed on the cathode ray tube. In a graphics processing device that reads color information from the look-up table memory based on pixel data and displays colors on the screen of the cathode ray tube, a first means for storing write data together with a write request; second means for detecting a retrace period of the tube; and third means for writing write data stored in the first means during the retrace period by the second means into the look-up table memory. A graphic processing device characterized by being provided with.
JP61171512A 1986-07-23 1986-07-23 Graphic processing device Pending JPS6329793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61171512A JPS6329793A (en) 1986-07-23 1986-07-23 Graphic processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61171512A JPS6329793A (en) 1986-07-23 1986-07-23 Graphic processing device

Publications (1)

Publication Number Publication Date
JPS6329793A true JPS6329793A (en) 1988-02-08

Family

ID=15924492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61171512A Pending JPS6329793A (en) 1986-07-23 1986-07-23 Graphic processing device

Country Status (1)

Country Link
JP (1) JPS6329793A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6392995A (en) * 1986-10-08 1988-04-23 セイコーインスツルメンツ株式会社 Lookup table buffer apparatus for display
WO1992020062A1 (en) * 1991-04-24 1992-11-12 Seiko Epson Corporation Data processor
US5745104A (en) * 1992-08-31 1998-04-28 Fujitsu Limited Palette control circuit
JP2011133651A (en) * 2009-12-24 2011-07-07 Mega Chips Corp Setting control device, and method of operating the same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6392995A (en) * 1986-10-08 1988-04-23 セイコーインスツルメンツ株式会社 Lookup table buffer apparatus for display
WO1992020062A1 (en) * 1991-04-24 1992-11-12 Seiko Epson Corporation Data processor
US5745104A (en) * 1992-08-31 1998-04-28 Fujitsu Limited Palette control circuit
JP2011133651A (en) * 2009-12-24 2011-07-07 Mega Chips Corp Setting control device, and method of operating the same
US8743132B2 (en) 2009-12-24 2014-06-03 Megachips Corporation Setting control apparatus and method for operating setting control apparatus

Similar Documents

Publication Publication Date Title
JPS61107392A (en) Image processing system
JP2000089748A (en) Image processing apparatus and image processing method
JPH0863139A (en) On-screen display device
US5847692A (en) Color converting method and apparatus and image processing method and apparatus
JPS6016634B2 (en) Graphic generation method in display devices
JP2703242B2 (en) Drawing data processing device
JPS6235393A (en) General-purpose graphic display unit
JPH06343142A (en) Image display device
JPS6177892A (en) Color image display method
JP2538654B2 (en) Display writing device
JPH0241672Y2 (en)
JPH0421149Y2 (en)
JPS59178493A (en) Multicolor information display
JPH06161409A (en) Look-up table memory rewriting method and display device having look-up table memory
JPS62192865A (en) Graphic display device
JPH0683300A (en) Pallet control circuit
JPH028892A (en) Graphic display
JPS6332588A (en) Display controller
JPS61209481A (en) Character display unit
JPH02163793A (en) Graphics display device
JPH0343634B2 (en)
JPH0224783A (en) Image display device
JPS62191886A (en) Image display circuit
JPS63175884A (en) Image display device
JPH02204781A (en) Color signal synthesizer