JPH06202604A - Flicker control system of graphic display - Google Patents

Flicker control system of graphic display

Info

Publication number
JPH06202604A
JPH06202604A JP5000018A JP1893A JPH06202604A JP H06202604 A JPH06202604 A JP H06202604A JP 5000018 A JP5000018 A JP 5000018A JP 1893 A JP1893 A JP 1893A JP H06202604 A JPH06202604 A JP H06202604A
Authority
JP
Japan
Prior art keywords
flicker
palette
color
management program
program
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
JP5000018A
Other languages
Japanese (ja)
Inventor
Toyoichi Suzuki
豊一 鈴木
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP5000018A priority Critical patent/JPH06202604A/en
Publication of JPH06202604A publication Critical patent/JPH06202604A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To facilitate programming for realizing a flicker function, to flexibly modify the flicker function, and to reduce the overheads of respective tasks due to a flicker. CONSTITUTION:When a flicker is obtained on the screen of a CRT 4 by changing palette values of a color palette 2 at a constant period, a flicker control program 5 performs centralized control over the color palette 2, and programs 61, 62... which uses the flicker register the palette number of the color palette 2 in the control program and also perform drawing processes with the palette number, and sends a request for starting the flicker to the control program when the flicker is used, and the control program performs flicker control.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、グラフィックディスプ
レイのフリッカ制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a flicker control system for a graphic display.

【0002】[0002]

【従来の技術】グラフィックディスプレイは、ピクセル
と呼ばれる画素の集合として画像を表示する。この構成
は図3に示すように、ディスプレイ画面上の各ピクセル
はメモリに1対1に対応するロケーションを持ち、この
ロケーションにピクセル値を保持している。このピクセ
ル値を保持するフレームメモリ1は論理的には複数枚の
プレーンの集合とされ、ピクセル値の取り得る値はプレ
ーン数をnとすると0から2n−1となる。
Graphic displays display images as a collection of picture elements called pixels. In this configuration, as shown in FIG. 3, each pixel on the display screen has a one-to-one location in the memory, and the pixel value is held in this location. The frame memory 1 that holds this pixel value is logically a set of a plurality of planes, and the possible pixel values are 0 to 2 n −1, where n is the number of planes.

【0003】カラーパレット(カラーマップ)2は、ピ
クセル値をCRT上にある色として表示するための変換
テーブルになり、ピクセル値の範囲だけエントリを持
つ。カラーパレットの各パレットの値はソフトウェアに
よって変更され、描画という操作はフレームメモリ1の
値を書換える操作になる。
A color palette (color map) 2 serves as a conversion table for displaying pixel values as colors on a CRT, and has an entry for the range of pixel values. The value of each palette of the color palette is changed by software, and the operation of drawing is the operation of rewriting the value of the frame memory 1.

【0004】カラーマップ2の各パレット値はD/Aコ
ンバータ3によって対応する色(R,G,B)の電圧制
御信号に変換され、CRT4上の色を決定する。
Each palette value of the color map 2 is converted into a voltage control signal of the corresponding color (R, G, B) by the D / A converter 3 to determine the color on the CRT 4.

【0005】ここで、フリッカ機能はある単一色で描画
された領域を一定周期でその色を変化させ、このための
従来方法はソフトウェアによってある領域を色を変えて
毎回描画する方法と、カラーパレットの値を一定周期で
変更する方法がある。
Here, the flicker function changes the color of an area drawn with a certain single color at a constant cycle, and the conventional method for this is to change the color of a certain area by software and draw each time, and a color palette. There is a method to change the value of in a constant cycle.

【0006】図4は毎回描画方法の手順を示し、フリッ
カカラー1のピクセル値取得S1とフリッカカラー2の
ピクセル値取得S2を行った後、フリッカ領域をカラー
1で描画S3と、フリッカ領域をカラー2で描画S4と
を繰り返す。
FIG. 4 shows the procedure of the drawing method every time. After performing the pixel value acquisition S1 of the flicker color 1 and the pixel value acquisition S2 of the flicker color 2, the flicker area is drawn with the color S3 and the flicker area is colored. At step 2, drawing S4 is repeated.

【0007】図5はカラーパレット値変更方法の手順を
示し、フリッカ用パレット取得S5の後、パレットにカ
ラー1を設定S6と、パレットにカラー2を設定S7と
を繰り返す。
FIG. 5 shows the procedure of the color pallet value changing method. After flicker pallet acquisition S5, color 1 is set in the palette S6 and color 2 is set in the palette S7 are repeated.

【0008】[0008]

【発明が解決しようとする課題】従来の毎回描画方法は
フレームメモリのフリッカ領域を毎回再描画するため、
フリッカ領域が大きくなるほど描画のためのオーバヘッ
ド問題となり、一般的でない。
Since the conventional drawing method redraws the flicker area of the frame memory every time,
The larger the flicker area is, the more it becomes an overhead problem for drawing, which is not common.

【0009】一方、カラーパレットの値を変更する方法
は、そのソフトウェアによって一定周期でカラーパレッ
トを書き換えるという操作(プログラム)を必要とし、
プログラムの記述量が増し、フリッカ色やフリッカ周期
を変更する場合の柔軟性に劣る。
On the other hand, the method of changing the value of the color palette requires an operation (program) of rewriting the color palette at a constant cycle by the software,
The amount of description of the program increases, and the flexibility for changing the flicker color and flicker cycle is poor.

【0010】特に、この手法ではフリッカを行う複数の
プログラムが同時に動作するマルチタスク環境ではあら
かじめパレット番号を決定しておく必要があり、フリッ
カ色の追加等に他のプログラムとの競合を起こすことが
あり、フリッカ色の追加・変更を難しくする。
In particular, in this method, it is necessary to determine the palette number in advance in a multitasking environment in which a plurality of programs for flicker operate at the same time, which may cause a conflict with another program in adding a flicker color. Yes, making it difficult to add / change the flicker color.

【0011】本発明の目的は、フリッカ機能を実現する
ためのプログラミングを容易にすると共にフリッカ機能
変更に柔軟性を持たせ、またフリッカによる各タスクの
オーバヘッドを低減するフリッカ制御方式を提供するこ
とにある。
An object of the present invention is to provide a flicker control system that facilitates programming for realizing the flicker function, provides flexibility in changing the flicker function, and reduces the overhead of each task due to the flicker. is there.

【0012】[0012]

【課題を解決するための手段】本発明は、前記課題の解
決を図るため、カラーパレットのパレット値を一定周期
で変更することによりディスプレイ画面の描画色を切換
えるグラフィックディスプレイのフリッカ制御におい
て、フリッカに使用するカラーパレット、色及びフリッ
カ周期を一元管理するフリッカ管理プログラムを設け、
フリッカを使用するプログラムは前記フリッカ管理プロ
グラムへパレット番号を要求して当該パレット番号を取
得しておき、このパレット番号でフリッカ領域を描画し
ておき、フリッカの起動・停止を該フリッカ管理プログ
ラムに要求し、前記フリッカの起動を要求された前記フ
リッカ管理プログラムは要求されたパレット番号に対応
する色で前記カラーパレットのパレット値を一定周期で
変更することを特徴とする。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention provides a flicker control in a flicker control of a graphic display in which a drawing color of a display screen is switched by changing a palette value of a color palette at a constant cycle. Provide a flicker management program that centrally manages the color palette used, colors and flicker cycle,
A program using flicker requests the flicker management program for a pallet number, acquires the pallet number, draws a flicker area with this pallet number, and requests the flicker management program to start and stop the flicker. The flicker management program requested to activate the flicker changes the palette value of the color palette with a color corresponding to the requested palette number at regular intervals.

【0013】[0013]

【作用】カラーパレットのパレット変更をフリッカ管理
プログラムによって行い、フリッカを使用するプログラ
ムはパレットをフリッカ管理プログラムに要求しておく
と共に該パレット番号でフリッカ領域を描画しておき、
フリッカを行うときはフリッカ管理プログラムへフリッ
カ起動要求のみで済むようにする。
With the flicker management program, the palette of the color palette is changed, and the program using the flicker requests the flicker management program for the palette and draws the flicker area with the palette number.
When performing flicker, only the flicker activation request to the flicker management program is required.

【0014】[0014]

【実施例】図1は本発明の一実施例を示すソフトウェア
構成図である。
1 is a software block diagram showing an embodiment of the present invention.

【0015】フリッカ管理プログラム5は、フリッカに
使用するカラーパレット、色及びフリッカ周期を一元管
理し、カラーパレット2のパレット番号エントリ管理及
びフリッカ処理を実行する。
The flicker management program 5 centrally manages a color palette used for flicker, a color and a flicker cycle, and executes palette number entry management and flicker processing of the color palette 2.

【0016】フリッカ機能を使用するプログラム61
2,…は、フリッカ管理プログラム5にパレット番号
要求を出しておき、カラーパレット番号を取得しておく
と共にその描画をしておき、必要なときにフリッカ起動
と停止の要求をフリッカ管理プログラム5に行う。
A program 6 1 , which uses the flicker function,
6 2 , ... Issue a palette number request to the flicker management program 5, acquire a color palette number and draw the color palette number, and issue a flicker start and stop request when necessary. To do.

【0017】図2はフリッカ管理プログラム5のパレッ
ト管理手順図を示す。フリッカ用パレットの必要数を各
プログラムから取得しておき(S8)、タスクとなるフ
リッカ使用プログラム61,62,…からの新たなパレッ
ト番号を要求があるとき(S9)、その登録と共に当該
タスクへパレット番号を返却し(S10)、フリッカ起
動があると内部の当該フリッカパレットの値を一定周期
で変更する(S11)ことによりフリッカを得る。
FIG. 2 shows a palette management procedure diagram of the flicker management program 5. The required number of flicker palettes is acquired from each program (S8), and when a new pallet number is requested from the flicker use programs 6 1 , 6 2 , ... Which are tasks (S9), the flicker palette is registered and registered. The pallet number is returned to the task (S10), and when the flicker is activated, the flicker is obtained by changing the value of the internal flicker palette in a fixed cycle (S11).

【0018】従って、フリッカ機能を使用するプログラ
ムはフリッカ管理プログラムにパレット番号の要求を出
し、フリッカ用のカラーパレットエントリ(ピクセル
値)を取得し、このピクセル値にて描画しておくことで
フリッカ起動要求のみでその描画領域をフリッカさせる
ことができる。
Therefore, the program using the flicker function requests the flicker management program for the palette number, acquires the color palette entry (pixel value) for the flicker, and draws with this pixel value to start the flicker. The drawing area can be flickered only by request.

【0019】また、フリッカに使用する色及びフリッカ
周期はフリッカ管理プログラムにパレット番号の変更、
追加の要求を出すことにより任意に変更、追加できる。
The color used for flicker and the flicker cycle are changed by changing the palette number in the flicker management program.
It can be arbitrarily changed or added by issuing an additional request.

【0020】[0020]

【発明の効果】以上のとおり、本発明によれば、フリッ
カに使用するカラーパレット、色及びフリッカ周期を一
元管理するフリッカ管理プログラムを設け、フリッカを
使用するプログラムは管理プログラムへのパレット番号
の要求とパレット番号による描画をしておき、フリッカ
使用時にその起動要求を管理プログラムに行うことで該
管理プログラムによるフリッカを得るようにしたため、
以下の効果がある。
As described above, according to the present invention, a flicker management program for centrally managing a color palette used for flicker, a color and a flicker cycle is provided, and a program using flicker requests a palette number to the management program. Since the drawing is performed with the palette number and the flicker is used, the activation request is sent to the management program to obtain the flicker by the management program.
It has the following effects.

【0021】(1)フリッカ機能の管理を一元化したこ
とにより、フリッカ機能を使用するプログラムのプログ
ラミングが容易になる。
(1) By unifying management of the flicker function, programming of a program using the flicker function becomes easy.

【0022】(2)フリッカ機能を実現するためのパレ
ット制御は、フリッカ管理プログラムのみが行うので、
フリッカによるオーバーヘッドは、最小限にすることが
できる。
(2) Since only the flicker management program performs the palette control for realizing the flicker function,
Flicker overhead can be minimized.

【0023】(3)フリッカを使用するプログラムが完
成した後も、フリッカの色やフリッカ周期を任意に変更
できるため、柔軟性が増す。
(3) Even after the program using the flicker is completed, the color of the flicker and the flicker cycle can be arbitrarily changed, so that the flexibility is increased.

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

【図1】本発明の一実施例を示すソフトウェア構成図。FIG. 1 is a software configuration diagram showing an embodiment of the present invention.

【図2】実施例のパレット管理手順図。FIG. 2 is a pallet management procedure diagram of the embodiment.

【図3】フリッカ機能の構成図。FIG. 3 is a configuration diagram of a flicker function.

【図4】従来のフリッカ方法。FIG. 4 is a conventional flicker method.

【図5】従来のフリッカ方法。FIG. 5 shows a conventional flicker method.

【符号の説明】[Explanation of symbols]

1…フレームメモリ 2…カラーパレット 5…フリッカ管理プログラム 61,62…フリッカを使用するプログラム。1 ... Frame memory 2 ... Color palette 5 ... Flicker management program 6 1 , 6 2 ... Program that uses flicker.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 カラーパレットのパレット値を一定周期
で変更することによりディスプレイ画面の描画色を切換
えるグラフィックディスプレイのフリッカ制御におい
て、 フリッカに使用するカラーパレット、色及びフリッカ周
期を一元管理するフリッカ管理プログラムを設け、 フリッカを使用するプログラムは前記フリッカ管理プロ
グラムへパレット番号を要求して当該パレット番号を取
得しておき、このパレット番号でフリッカ領域を描画し
ておき、フリッカの起動・停止を該フリッカ管理プログ
ラムに要求し、 前記フリッカの起動を要求された前記フリッカ管理プロ
グラムは要求されたパレット番号に対応する色で前記カ
ラーパレットのパレット値を一定周期で変更することを
特徴とするグラフィックディスプレイのフリッカ制御方
式。
1. A flicker management program for centrally managing a color palette used for flicker, a color, and a flicker cycle in flicker control of a graphic display for changing a drawing color of a display screen by changing a palette value of the color palette at a constant cycle. A program that uses flicker requests the flicker management program for a pallet number, obtains the pallet number, draws a flicker area with this pallet number, and starts and stops the flicker. A flicker control for a graphic display, characterized in that the flicker management program is requested to start a flicker and changes the palette value of the color palette with a color corresponding to the requested palette number at a constant cycle. method.
JP5000018A 1993-01-04 1993-01-04 Flicker control system of graphic display Pending JPH06202604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5000018A JPH06202604A (en) 1993-01-04 1993-01-04 Flicker control system of graphic display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5000018A JPH06202604A (en) 1993-01-04 1993-01-04 Flicker control system of graphic display

Publications (1)

Publication Number Publication Date
JPH06202604A true JPH06202604A (en) 1994-07-22

Family

ID=11462678

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5000018A Pending JPH06202604A (en) 1993-01-04 1993-01-04 Flicker control system of graphic display

Country Status (1)

Country Link
JP (1) JPH06202604A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010066342A (en) * 2008-09-09 2010-03-25 Mitsubishi Electric Corp Display device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010066342A (en) * 2008-09-09 2010-03-25 Mitsubishi Electric Corp Display device

Similar Documents

Publication Publication Date Title
JPH06202604A (en) Flicker control system of graphic display
CN112954854A (en) Control method, device and equipment for ambient light and ambient light system
CN1313981A (en) Increasing color purity in color-sequential liquid crystal display
JPH03194593A (en) Simultaneous display control system for index display and direct value display
JP3024159B2 (en) Grid display method
JPH03119386A (en) Image processor
JPH0726710Y2 (en) Waveform measuring device
JPH08711Y2 (en) Image brightness control device
JP2548263Y2 (en) Multi-color display
JPH0273470A (en) Picture processor
JPH05205026A (en) Method and device for processing simultaneous pick event
JP2970912B2 (en) Display controller
SU1587574A1 (en) Device for presentation of graphic information on screen of television indicator
JPH04324522A (en) Method for making flickering display on display device
JPS6443456U (en)
JPS6235970A (en) Graphic display device
JPWO2000070596A1 (en) Image processing device and image display device
JPH02187820A (en) System for controlling input/output to graphic terminal
JPH02236618A (en) Picture display control system
JPH05216450A (en) Blink display method and device
JPH01191892A (en) Cursor display controller
JPH0345596U (en)
JPH0358089A (en) Crt display control circuit
JPH10254421A (en) Color selection method
JPH03166591A (en) Display method