JPS58208783A - Color display - Google Patents

Color display

Info

Publication number
JPS58208783A
JPS58208783A JP57091272A JP9127282A JPS58208783A JP S58208783 A JPS58208783 A JP S58208783A JP 57091272 A JP57091272 A JP 57091272A JP 9127282 A JP9127282 A JP 9127282A JP S58208783 A JPS58208783 A JP S58208783A
Authority
JP
Japan
Prior art keywords
color
code
red
display
display device
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
JP57091272A
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP57091272A priority Critical patent/JPS58208783A/en
Publication of JPS58208783A publication Critical patent/JPS58208783A/en
Pending legal-status Critical Current

Links

Abstract

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

Description

【発明の詳細な説明】 本発明はピットマツプ方式(画面上の表示1ドツトの#
l/晴がメモリ内の1ビツトの0N10FFに対応して
いる)のカラー表示装RK関するものである。
[Detailed Description of the Invention] The present invention is based on a pit map method (one dot displayed on the screen with #
This relates to a color display RK (1/clear corresponds to 1 bit 0N10FF in memory).

ビットマツプ方式のカラー表示装置では画面上の表示1
ドツトに対して色指定を行なうためのカラー選択コード
を蓄えるメモリ(以下カラーRAMと呼ぶ)が設けられ
ている。例えば画面上に640X 400 F’ノット
7色表示の可能なカラーCRT表示装置では32にバイ
トのカラーRAMを赤、緑。
On a bitmap color display device, the display 1 on the screen
A memory (hereinafter referred to as color RAM) is provided for storing color selection codes for specifying colors for dots. For example, a color CRT display device that can display 640 x 400 F' knots in 7 colors on the screen uses 32 bytes of color RAM in red and green.

青に対応して3面分膜けである。かかる表示装置に文字
をカラー表示する場合、表示フォントの1ドツトに対応
する上記3面のカラ=RAM上の同一アドレスV(ある
1ビツトに対して、例えば黄色なら110のカラー選択
コードを書き込む必要がある。
It has three separate membranes corresponding to the blue color. When displaying characters in color on such a display device, the color of the above three sides corresponding to one dot of the display font = the same address V on the RAM (for example, if it is yellow, it is necessary to write a color selection code of 110 for a certain 1 bit). There is.

従来このカラー選択コードの書き込み方法として3面分
のカラーRAMを1面ずつ別々に書くものがあったが処
理速度が遅いという欠点があった。
Conventionally, as a method of writing this color selection code, there was a method in which the three sides of the color RAM were written separately one side at a time, but this had the drawback of slow processing speed.

これに対して1バイト分のフォントパターンゲータする
カラー選択r−夕をあらかじめ個々のカラーRAMのデ
ータ入力ラインに設けたレジスタに蓄えておき、3面分
の力%−RAMの同一アドレスに1回で書き込みを行な
う方法で処理速度を早めたものがあるが、例えばパック
グラウンドの表示が黄色でその中に所望の色で文字を表
示するような場合にはカラー選択データの計算処理や書
き込み操作が複雑となり、やはり処理速度の低下をもた
らすという欠点を有していた。
In contrast, 1 byte of color selection data for font pattern gator is stored in advance in a register provided on the data input line of each color RAM, and once at the same address of 3 pages of power%-RAM. There is a method that speeds up the processing speed by writing in, but for example, if the background display is yellow and you want to display text in the desired color, it is necessary to calculate the color selection data and write the data. This method is complicated and has the drawback of lowering the processing speed.

本発明は上述従来例の欠点を除去するもので簡単な論理
回路を配置することによりカラー選択コードの曹き込み
は複数面のカラーRAMK対して1回で済み、しかも文
字とパックグラウンドの色の組合せ選択が容易に行なえ
るようなカラー表示装置を提供することを目的とする。
The present invention eliminates the drawbacks of the conventional example described above, and by arranging a simple logic circuit, the color selection code can be written only once for multiple color RAMKs. It is an object of the present invention to provide a color display device that allows easy selection of combinations.

以下本発明の1実施例を図面を参照して説明する。第1
図は論理回路を配置し、カラー選択コードを発生する実
施例の構成を示すブロック図である。図において1〜3
はカラーレジスタでパックグラウンドに対する色指定の
コードは信号C1゜C□、C畠□のレジスタに格納され
る。さらに信号Co e Cu + Catは夫々赤色
、緑色、青色を指定するビットであり例えば黄色を指定
する場合には赤色と緑色とを組合せたコードを用いてC
11,C□。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure is a block diagram showing the configuration of an embodiment in which logic circuits are arranged and color selection codes are generated. 1 to 3 in the figure
is a color register, and the code specifying the color for the back ground is stored in the register of the signals C1°C□ and Cbata□. Furthermore, the signal Co e Cu + Cat is a bit that specifies red, green, and blue, respectively. For example, to specify yellow, C
11,C□.

Cs、 = 1 、1 、0 となる如くレジスタに格
納されている。また文字に対する色指定のコードは信号
C+o r Ca。+Cs。のレジスタに格納される。
Cs, = 1, 1, 0 are stored in the register. The code for specifying the color for characters is the signal C+or Ca. +Cs. stored in the register.

同様にして信号Cl1) t el。、C1゜は夫々赤
色、緑色、1色を指定するビットであるが、このカラー
レジスタへは所望の色指定のコード(例えば赤色ではC
1・。
Similarly, the signal Cl1) tel. , C1° are bits that specify red, green, and one color, respectively, but a code specifying the desired color (for example, C1 for red) is input to this color register.
1.

C7゜、Cs0=IIO10)と前記パックグラウンド
に対する色指定のコード(C11,C鵞* 、Cmt=
1.1,0)とのvト他的論理和を取り、その結果の値
(C+o 。
C7゜, Cs0=IIO10) and the color designation code for the pack ground (C11, C鵞*, Cmt=
1.1,0) and the resulting value (C+o.

C116* Cs。=Q、1.0 )を格納する。4〜
6は論理回路で同一回路構成を成し、前記の色指定コー
ドと1バイト分のフォントパターンゲータD0〜D。
C116*Cs. =Q, 1.0). 4~
Reference numeral 6 denotes a logic circuit having the same circuit configuration as the color designation code and 1-byte font pattern gators D0 to D.

が入力されるとフォント1ノ々イト分のカラー選択デー
タ(論理回路4は赤色の選択データate−att、−
理回路5は緑色の選択データago〜d11、論理回路
6は青色の選択データdso−dsマ)を出力する。
When input, the color selection data for one font font (logic circuit 4 is red selection data ate-att, -
The logic circuit 5 outputs green selection data ago-d11, and the logic circuit 6 outputs blue selection data dso-dsma).

従って出力信号d1゜、d2゜+d3゜の組はフォント
1ビット分のカラー選択コードを成すことになる。
Therefore, the set of output signals d1°, d2°+d3° forms a color selection code for one bit of the font.

7.8.9は夫々赤、緑1%J′に対応するカラー選択
データを格納するカラーRAMで、画面上の表示1ドツ
トに対する色の制御情報は各メモリの同一アドレス上で
1ピツトの0N10FF状態の組合せ(前記カラー選択
コード)にて格納されている。
7.8.9 is a color RAM that stores color selection data corresponding to red and green 1%J', respectively, and the color control information for one display dot on the screen is stored in one pit of 0N10FF at the same address in each memory. It is stored as a combination of states (the color selection code).

lOはマスクレジスタでカラーRAM7,8.9上にあ
る特定のカラー選択コードが新らしいコードで書き変え
られないようにマスクするための情報を蓄える。該マス
クレジスタ10の機能は本発明の主旨とは直接関係しな
いので以後マスクはされていないものとして説明を続け
る。
IO is a mask register that stores information for masking a specific color selection code on the color RAMs 7, 8, and 9 so that it is not rewritten with a new code. Since the function of the mask register 10 is not directly related to the gist of the present invention, the explanation will be continued assuming that it is not masked.

第2図は論理回路4の論理構成を示すブロック図である
。図においてAはANDダートでEORは EXCLU
SIVE ORり−) (以下EORf−) ト呼ぶ)
である。論理回路4への共通入力信号としてパックグラ
ウンドの赤色指定ビットCII と文字の赤色指定ピッ
)Cr。とVC情報が与えられると、カラー選択r−タ
出力dlH(n−=0〜7)はフォア トpi p−ン
入力Dn(n−θ〜7)に対応して論理式d IH= 
(C+。△D11)■Ct+  の関係で結ばれている
FIG. 2 is a block diagram showing the logical configuration of the logic circuit 4. As shown in FIG. In the diagram, A is AND dart and EOR is EXCLU
SIVE ORri-) (hereinafter referred to as EORf-)
It is. As a common input signal to the logic circuit 4, the background red designation bit CII and the character red designation bit Cr. and VC information are given, the color selection r-data output dlH (n-=0 to 7) corresponds to the foreground pi p-n input Dn (n-θ to 7), and the logical formula dIH=
They are connected by the following relationship: (C+.△D11)■Ct+.

以上述べた構成において、今赤いノミツクグラウンドに
黄色い文字を表示する場合の例を用いて、カラー選択コ
ードが形成される過程を以下に説明する。先ずパックグ
ラウンドを赤にしたいのでカラーレジスタCo r C
!I p Catに赤色指定コード1゜0.0 をセッ
トする。次にその中に黄色い文字を表示したいので黄色
指定コード1.1.0と前記i4ツクグラウンドの赤色
指定コードi、o、oとの排他的論理和をCPU内で形
成し、その値0.1.0をカラーレジスタC1o r 
Cto r Csoにセットする。
In the configuration described above, the process of forming a color selection code will be described below using an example in which yellow characters are displayed on a red background. First of all, I want to make the pack ground red, so I set the color register Cor C
! Set the red designation code 1°0.0 to I p Cat. Next, since we want to display yellow characters in it, the exclusive OR of the yellow designation code 1.1.0 and the red designation codes i, o, o of the i4 background is formed in the CPU, and its value 0. 1.0 to color register C1or
Set to Ctor Cso.

この状態でフォントパターンデー夕I)n(n=0〜7
)が入力される時に個々のビットに着目するとD11=
文字フォントの構成画素に対応する。上記入力条件がそ
ろえばカラー選択コード出力は論理構成に従って以下に
示す如く形成される。
In this state, the font pattern data I)n (n=0 to 7)
) is input, looking at the individual bits, D11=
Corresponds to the constituent pixels of the character font. When the above input conditions are met, the color selection code output is formed as shown below according to the logical configuration.

(a)  赤色のカラー選択ビット出力dinはDn=
00時に dty1=(0△0)■1=1Dn=1の時
に dtn=(OΔ1)■1=1(b)  緑色のカラ
ー選択ビット出力d2nはDn=00時に dlIn 
= (1△0)■0=01)n=1の時に d、n=(
1△1)■0=1(cl  を色のカラー選択ビット出
力d3HはDn=00時に dxn=(0△0)■0=
0Dn=1の時に d11n=(O△1)■0−0とな
る。
(a) Red color selection bit output din is Dn=
At 00, dty1=(0△0)■1=1 When Dn=1, dtn=(OΔ1)■1=1(b) Green color selection bit output d2n is at Dn=00, dlIn
= (1△0)■0=01) When n=1, d, n=(
1△1)■0=1(cl is the color selection bit output d3H is when Dn=00 dxn=(0△0)■0=
When 0Dn=1, d11n=(O△1)■0-0.

以上を要約すると、フォントパターンデータの°バック
グラウンドに対応する入力Dn=0に対してカラー選択
コード出力はdtIl 、 d2n、 dsn= 1.
0+0となりこれはパックグラウンドを赤色表示するこ
とを示している。また文字フォントに対応する入力Dn
=1に対してカラー選択コード出力はdtH+d 2n
l dan =1 r 1 r Oとなりこれは文字を
黄色表示することを示している。
To summarize the above, for the input Dn=0 corresponding to the background of the font pattern data, the color selection code output is dtIl, d2n, dsn=1.
The result is 0+0, which indicates that the pack ground is displayed in red. Also, the input Dn corresponding to the character font
For =1, the color selection code output is dtH+d 2n
l dan =1 r 1 r O, which indicates that the characters are displayed in yellow.

本実施例ではカラーRAMを3画面分持ち、各々が赤、
緑、青色に対応しているものとしたが、本発明の原理は
これ以外の構成を持つカラー表示装置にも同様に適用で
きる。例えば画面上の表示1ドツトに対応して4画面以
上の画面メモリを持つ表示装置や、画m1メモリの内容
が直接赤、緑。
This embodiment has color RAM for three screens, each with red,
Although it is assumed that the display corresponds to green and blue, the principles of the present invention can be similarly applied to color display devices having other configurations. For example, a display device has screen memory for four or more screens corresponding to one dot displayed on the screen, or the contents of the screen m1 memory are directly red or green.

青色のカラー情報に対応しておらず、3画面の内容が表
示色のコードとなっているような表示装置(いわゆるカ
ラー・奢レット方式の表示装置)にも適用できる。
The present invention can also be applied to a display device that does not support blue color information and in which the contents of three screens are coded for the display color (a so-called color/color type display device).

また本実施例では、文字の色指定コードをカラーレジス
タにセットする時、あらかじめCPHにおいて、パック
グラウンドの色指定コードと文字の色指定コードとの排
他的論理和を取り、その結果の値を文字のカラーレジス
タにセットしたが、この過程もハードウェアの論理回路
に代行させることは容易に可能である。
In addition, in this embodiment, when setting the character color specification code to the color register, the CPH performs an exclusive OR of the background color specification code and the character color specification code, and then uses the resulting value as the character color specification code. This process can easily be performed by a hardware logic circuit.

以上述べた如く本発明によれば、簡単な論理回路を配置
することにより複雑な表示色画向に対するカラー選択コ
ードが即座に得られるものであり、CPUの表示制御に
おける負荷を軽減し、高速のカラー画像処理にも安価で
高性能なるカラー表示装置tを提供できるという効果を
有する。
As described above, according to the present invention, by arranging a simple logic circuit, a color selection code for a complicated display color orientation can be immediately obtained, which reduces the load on the display control of the CPU and achieves high-speed processing. This also has the effect of providing an inexpensive and high-performance color display device t for color image processing.

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

第1図は実施例の構成を示すブロック図、第2   ′
図は論理回路の論理構成を示すブロック図である。 1.2.3・・・カラーレジスタ 4.5.6・・・論理回路 7.8.9・・カラーRAM 10・・・マスクレジスタ 特許出願人  キャン〉株式会社
Fig. 1 is a block diagram showing the configuration of the embodiment;
The figure is a block diagram showing the logical configuration of a logic circuit. 1.2.3...Color register 4.5.6...Logic circuit 7.8.9...Color RAM 10...Mask register Patent applicant Can Co., Ltd.

Claims (1)

【特許請求の範囲】 (1,)セットされた表示色指定r−夕からカラー選択
コードを形成する論理回路を有するカラー表示装置。 (2、)表示装置がCRT表示装置であることを特徴と
する第1項記載の表示装置。
Claims: (1.) A color display device having a logic circuit for forming a color selection code from a set display color designation. (2.) The display device according to item 1, wherein the display device is a CRT display device.
JP57091272A 1982-05-31 1982-05-31 Color display Pending JPS58208783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57091272A JPS58208783A (en) 1982-05-31 1982-05-31 Color display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57091272A JPS58208783A (en) 1982-05-31 1982-05-31 Color display

Publications (1)

Publication Number Publication Date
JPS58208783A true JPS58208783A (en) 1983-12-05

Family

ID=14021808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57091272A Pending JPS58208783A (en) 1982-05-31 1982-05-31 Color display

Country Status (1)

Country Link
JP (1) JPS58208783A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61264380A (en) * 1985-05-20 1986-11-22 株式会社日立製作所 Memory circuit
JPS61267793A (en) * 1985-05-13 1986-11-27 株式会社ピーエフユー Memory access system
JPS62102288A (en) * 1985-10-30 1987-05-12 株式会社日立製作所 Bit map display unit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61267793A (en) * 1985-05-13 1986-11-27 株式会社ピーエフユー Memory access system
JPS61264380A (en) * 1985-05-20 1986-11-22 株式会社日立製作所 Memory circuit
JPS62102288A (en) * 1985-10-30 1987-05-12 株式会社日立製作所 Bit map display unit

Similar Documents

Publication Publication Date Title
JPS61254983A (en) Display character attribute control system
JPS58208783A (en) Color display
JPH02297587A (en) Screen display device
JPS63132286A (en) Graphic display device
JPS604988A (en) Image display
JPS58184189A (en) Blinking system depending on changes in color
JPS59164592A (en) Crt display unit
JPS5893097A (en) Color switching circuit
JPS59178493A (en) Multicolor information display
JPS6048080A (en) Image display system
JPS62102288A (en) Bit map display unit
JPS6146986A (en) Display function expander
JPS5915983A (en) Color display controller
JPS6141186A (en) Simultaneous color data writing apparatus
JPS6252674A (en) Device for modifying screen display color in specified range
JPS6123197A (en) Display
JPS6319697A (en) Graphic display unit
JPS6329794A (en) Color development system
JPS6086623A (en) Centralized control device of output data
JPS63198092A (en) Display device
JPS6364091A (en) Data storage for character image
JPS5960472A (en) Control of subscript
JPS5958470A (en) Display control system
JPS6146987A (en) Display function expander
JPS60111289A (en) Refresh memory writing control system