JPH01126687A - Display memory control circuit - Google Patents

Display memory control circuit

Info

Publication number
JPH01126687A
JPH01126687A JP62283245A JP28324587A JPH01126687A JP H01126687 A JPH01126687 A JP H01126687A JP 62283245 A JP62283245 A JP 62283245A JP 28324587 A JP28324587 A JP 28324587A JP H01126687 A JPH01126687 A JP H01126687A
Authority
JP
Japan
Prior art keywords
data
display memory
display
image data
address
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
JP62283245A
Other languages
Japanese (ja)
Inventor
Takashi Nakasugi
高志 中杉
Shigeru Komatsu
茂 小松
Yukitoshi Tsuboi
幸利 坪井
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 JP62283245A priority Critical patent/JPH01126687A/en
Publication of JPH01126687A publication Critical patent/JPH01126687A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE: To reduce the frequency in access to one to quickly write picture data in a display memory by writing only first picture data in the display memory in the case of a large number N of continuous picture elements of the same picture data. CONSTITUTION: A clear circuit 4 which writes clear data in a display memory 2 in accordance with a clear signal sent from an MPU 1 and a display data holding circuit 7 which discriminates whether read data read out by a display data control circuit 6 is significant or not to successively hold only significant data are provided. When N picture elements of the same picture data are continuous, such display memory write address is generated by an address generation circuit 3 that only the first address out of addresses where data of N picture elements should be stored in the display memory 2 is generated but addresses for N-1 other continuous picture elements are not generated. Consequently, data of plural picture elements is written in the display memory only once however long these picture elements are continuous. Thus, the same picture data is quickly written.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、イメージ情報を表示する画像表示装置に係わ
り、特に連続した複数の画素に対して表示メモリへの高
速な同一画素データの書き込みを行なうのに好適な表示
メモリ制御回路に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an image display device that displays image information, and particularly relates to an image display device that displays image information, and particularly to a method for writing the same pixel data into a display memory at high speed for a plurality of consecutive pixels. The present invention relates to a display memory control circuit suitable for performing the following operations.

〔従来の技術〕[Conventional technology]

キャプテンやファクシミリ等では、連続した同一画像デ
ータの列をランレングス符号化によりEl:縮して伝送
し、受信する端末側で元の画像データ、に復号し℃画像
表示を行なっている。従来、このようなランレングス符
号化された画像情報を復号する回路としては、特開昭6
0−76789号公報に記載のように、開始アドレス、
画像データ、連続する画素数を設定することにより自動
的に1画素ずつ画素データを表示メモリに連続し′c1
1き込む表示メモリ制御回路が知られている。
In captains, facsimile machines, etc., a continuous sequence of the same image data is compressed by run-length encoding and transmitted, and the receiving terminal decodes it into the original image data and displays the image. Conventionally, as a circuit for decoding such run-length encoded image information,
As described in Publication No. 0-76789, the start address,
By setting the image data and the number of consecutive pixels, the pixel data is automatically stored one pixel at a time in the display memory.'c1
A one-input display memory control circuit is known.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術におい又は、1メそリサイクルに1画素す
つ画像データt−表示メモリに書き込むため、連続する
画素数が増すとその書き込み画素数に比例して書き込み
に要する時間も増大するという問題点があった。
Another problem with the above-mentioned conventional technology is that since one pixel of image data is written into the t-display memory in one frame cycle, as the number of consecutive pixels increases, the time required for writing also increases in proportion to the number of pixels to be written. was there.

本発明は、上記従来技術の問題点を解決し、連続した複
数画素に対する同一画像データの書き込みを高速化でき
るようにした表示メモリ制御回路を提供することを目的
とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a display memory control circuit that solves the problems of the prior art described above and can speed up the writing of the same image data to a plurality of consecutive pixels.

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

上記目的を達成するために本発明では、表示メモリへの
最初の画像データ書き込み開始位置を示す初期アドレス
と瞥き込むべき連続画素数Nと現在のアドレスを加算す
ることによって得られる加算変換アドレスから表示メモ
リ書き込みアドレスを選択する選択手段と、前記の選択
手段により選択され次表示メモリ書き込みアドレス1−
1メモリサイクルごとに1づつ増加させるカウンタ手段
と。
In order to achieve the above object, the present invention uses an addition conversion address obtained by adding an initial address indicating the starting position of writing the first image data to the display memory, the number N of consecutive pixels to be looked at, and the current address. a selection means for selecting a display memory write address, and a next display memory write address 1- selected by the selection means;
and counter means for incrementing by 1 every memory cycle.

前記表示メモリ書き込みアドレスと書き込むべき連続画
素数へとの加算を行ない前記加算変換アドレスを生成す
る加算手段と、次の画面のデータが表示メモリに誓き込
まれる前に前の画面データを高速にクリアするクリア手
段と1表示メモリから読みだされたデータが有効である
かあるいは無効であるかを判別する判別手段と、有効な
データが入力されるたびに前記有効データをホールドす
るデータホールド手段を設け、連続した複数画素に対す
る同一画像データの書き込みを上記従来例よりも高速に
行なおうとするものである。
an addition means for generating the addition conversion address by adding the display memory write address and the number of continuous pixels to be written; A clearing means for clearing data, a determining means for determining whether data read from the display memory is valid or invalid, and a data holding means for holding the valid data each time the valid data is input. This is intended to write the same image data to a plurality of consecutive pixels at a higher speed than in the conventional example.

〔作用〕[Effect]

上記クリア手段でクリアデータt−表示メモリへ瞥き込
む。次に上記選択手段で選択された初期アドレスより表
示メ七すへ画像データを書き込む。
The above-mentioned clearing means looks into the clear data t-display memory. Next, image data is written to the display menu from the initial address selected by the selection means.

このとき1画素ずつの画像データ豊き込みの軸合は、上
記カウンタ手段により1つづつ表示メモリ書き込みアド
レスがカウントアツプされこのカウントアツプされたア
ドレスに従りて画像データが表示メモリに記憶されてい
くが、連続した複数の書き込み画素の場合は前記連続書
き込み画素数へか上記加算手段によつ工表示メモリ書き
込みアドレスに加算され一挙に表示メモリ書き込みアド
レスがへだけ増し、このNだけ増した表示メモリ書き込
みアドレスが上記選択手段で加算変換アドレスとして選
択され、この加算変換アドレスに従って画像データが記
憶される。従りて、なにも書き込まれずに飛び越された
へ一1画素間の表示メモリにはクリアデータがそのまま
残りている。このような表示メモリへの書き込み操作を
行なうことで、連続した同一画像データは最初の画像デ
ータだけが記憶され残りはN−1画素分だけ表示メモリ
に残ることになる。
At this time, the axis of image data enrichment for each pixel is determined by counting up the display memory write address one by one by the counter means and storing the image data in the display memory according to the counted up address. However, in the case of a plurality of continuous writing pixels, the number of consecutive writing pixels is added to the display memory write address by the adding means, and the display memory write address is increased at once, and the display increased by this N. The memory write address is selected as the addition conversion address by the selection means, and image data is stored in accordance with this addition conversion address. Therefore, the clear data remains in the display memory between the first and eleventh pixel which was skipped without writing anything. By performing such a writing operation to the display memory, only the first image data of consecutive identical image data is stored, and the remaining image data for N-1 pixels remain in the display memory.

次に表示メモリから画像データが読み出されるときは画
像データか、あるいはクリアデータかが上記判別手段で
判別され画像データだけが上記データホールド手段に送
られてデータホールドされる。これにより、連続し九同
−画像データは最初の画像データしか記憶されていない
が、この最初の画像データが出力されるときに上記デー
タホールド手段で次ぎのriiJSデータが来るまでデ
ータホールドされるので、出力側から見るとあたかも連
続した複数画素が全℃表示メモリに記憶されているよう
に見える。さらに1次ぎの画像データを表示メモリに書
き込むときはクリアデータで表示メモリをクリアしてか
ら書き込みを行なう。その結果、いくら長く連続した複
数画素データでも表示メモリへの書き込みFi次りたの
1回でいいことになり、これ罠より同−画像データの高
速な査き込みを行なう表示メモリ制御回路が実現する。
Next, when image data is read from the display memory, the discrimination means discriminates whether it is image data or clear data, and only the image data is sent to the data hold means and held. As a result, only the first image data is stored in the series of nine-double image data, but when this first image data is output, the data is held by the data holding means until the next riiJS data arrives. , when viewed from the output side, it appears as if a plurality of consecutive pixels are stored in the total temperature display memory. Furthermore, when writing the primary image data to the display memory, the display memory is cleared with clear data before writing. As a result, no matter how long the continuous multi-pixel data is, it only needs to be written to the display memory once, making it possible to realize a display memory control circuit that can read the same image data at high speed. do.

〔実施例〕〔Example〕

以下、本発明の実施例を図面を用いて説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明による表示メモリ制御回路の一実施例の
ブロック図で、G1りて、1は画像データの書き込み処
St−行なうマイクロプロセッサ(以下°、MPUと称
す)、2は表示すべき画像データを記憶する表示メモリ
、5は画像データを表示メモリ2のどこに記憶すべきか
を決めるアドレスを生成するアドレス生成回路、4はM
PUIから送られて来るクリア信号に従りて表示メモリ
2にクリアデータを書き込むクリア回路、5は表示デー
タを表示する表示装置、6は表示メモリ2の記憶画像デ
ータを表示装置i5のラスク走査に合わせて読みだし制
御する表示データ制御回路、7は表示データ制御回路6
忙よって読み出され次リードデータの有意無意を判断し
て有意データだけを順次ホールドしていく表示データホ
ールド回路である。
FIG. 1 is a block diagram of an embodiment of the display memory control circuit according to the present invention, in which G1 indicates a microprocessor (hereinafter referred to as MPU) for writing image data, and 2 indicates a microprocessor (hereinafter referred to as MPU) for writing image data. 5 is a display memory that stores image data; 5 is an address generation circuit that generates an address that determines where in the display memory 2 the image data should be stored; 4 is M;
A clear circuit writes clear data to the display memory 2 according to a clear signal sent from the PUI, 5 is a display device that displays the display data, and 6 is a clear circuit that writes the image data stored in the display memory 2 to the last scan of the display device i5. Display data control circuit 7 also performs reading control, display data control circuit 6
This is a display data hold circuit that judges the significance of the next read data that is read due to busyness and sequentially holds only the significant data.

第2図は第1図における表示メモリ2と画素の表示位置
との対応を示す図である。
FIG. 2 is a diagram showing the correspondence between the display memory 2 and pixel display positions in FIG. 1.

表示メモリ2は表示画素と1対1に対応している。ま友
、表示装置5の表示走査の順に画像データのアドレスが
増加する。すなわち、表示画素のX座標がアドレスの下
位側のビットにX座標が上位側のビットに割当てられて
いる。
The display memory 2 has a one-to-one correspondence with display pixels. Friend, the addresses of image data increase in the order of display scanning of the display device 5. That is, the X coordinate of the display pixel is assigned to the lower bit of the address, and the X coordinate is assigned to the upper bit of the address.

次に、ランレングス符号化され友圧縮データを復号して
表示メモリ2へ書き込み表示する方法を述べる。
Next, a method for decoding the run-length encoded compressed data and writing it into the display memory 2 for display will be described.

第3図はランレングス符号化された圧縮データとして1
表示画素の5行3列から3行10列まで8画素分書き込
む場合の入力から出力までの様子を示している。
Figure 3 shows 1 as run-length encoded compressed data.
It shows the process from input to output when writing for 8 pixels from 5th row, 3rd column to 3rd row, 10th column of display pixels.

同図において、ランレングス符号化された圧縮データを
表示メモリ2へ書き込む場合、連続画源データD1はそ
の先頭アドレスである5行3列にしか書き込まれず残り
の7画素分についてはなにも行なわれない。すなわち、
ランレングス符号化された圧縮データの先頭位置を示す
画像データだけt−表示メモリ2に畏き込み、残りの1
ifI素については1ITIWiクリアされ九ときのク
リアデータにこでは、クリアデータ=600とし、この
クリアデータは画像データには使われ℃いないものとす
る)が残るようにする。次に、このようにして表示メモ
リに書き込まれたデータをそのまま出力し次ら、表示画
素と表示メモリ2は1対1に対応しているのでランレン
グス符号化された圧縮データの部分は5行3列の先頭だ
けが正しくあとの7画素分は°0”データが表示される
だけになってしまう。ここで、表示メそすの出力段にデ
ータが°0°なら無視してそれ以外ならその出力データ
をホールドするよ“うな出力データホールド回路を付加
することによって、1101+データはまったく表示画
素の方へは出力されなくなり、結局この構成をとること
によpランレングス符号化され次圧縮データが伸長され
て表示出力されることになる。
In the figure, when run-length encoded compressed data is written to the display memory 2, the continuous image source data D1 is written only to the 5th row and 3rd column, which is the first address, and nothing is done for the remaining 7 pixels. Not possible. That is,
Only the image data indicating the start position of the run-length encoded compressed data is stored in the t-display memory 2, and the remaining 1
For the ifI element, 1ITIWi is cleared, and the clear data at 9 is set to 600, and this clear data is not used for image data and is assumed not to exist. Next, the data written to the display memory in this way is output as is, and since there is a one-to-one correspondence between display pixels and display memory 2, the run-length encoded compressed data part consists of 5 lines. Only the beginning of the third column is correct, and the remaining 7 pixels are only displayed with °0" data.Here, if the data is °0° in the output stage of the display method, ignore it, and if it is not, ignore it. By adding an output data hold circuit that holds the output data, the 1101+ data is no longer output to the display pixels, and with this configuration, it is encoded into p-run length and becomes the next compressed data. will be expanded and output for display.

第4図はアドレス生成回路の詳細なブロック図とクリア
回路と表示メ缶りである。
FIG. 4 is a detailed block diagram of the address generation circuit, clear circuit, and display system.

10は開始アドレスと加算変換アドレスとを初期値設定
信号に従って選択する2チヤンネルマルチプレクサ、1
1はデータバス上のレングスデータだけをレングス信号
に従ってランチするDフリップフロップ、12はロード
した書き込みアドレスをクロックに従って1つずつカウ
ントアツプするアドレスカウンタ、13は、現在の光示
メモリ書き込みアドレスとレングスデータ加算するを加
算回路、14は2人力NORゲートである。
10 is a two-channel multiplexer that selects a start address and an addition conversion address according to an initial value setting signal;
1 is a D flip-flop that launches only the length data on the data bus according to the length signal, 12 is an address counter that counts up the loaded write address one by one according to the clock, and 13 is the current optical memory write address and length data. The adding circuit 14 is a two-man powered NOR gate.

第5図は、ランレングス符号のデータ構造を示した構造
図である。
FIG. 5 is a structural diagram showing the data structure of a run-length code.

同図で(a)は1画素づつの画像データが送られて来る
場合で、最上位ビットが“かならず°0°である。(b
)は同一画像データが複数個続く場合にその個数を示す
レングスデータと画像データが送られて来る場合で、最
上位ビットが°かならず°1゜であり、その後に続くデ
ータはレングスデータと判断される。また1画像データ
とレングスデータの区別はMPU1が判別してレングス
データのときはレングス信号を出力するものとする。こ
のようなランレングス符号をもちい友場合の表示メモリ
への書き込み動作を第4図を用いて説明する。
In the same figure, (a) is a case where image data is sent one pixel at a time, and the most significant bit is "always 0°. (b)
) is a case where length data indicating the number of pieces of the same image data and image data are sent when multiple pieces of the same image data continue, and the most significant bit is always °1°, and the data that follows is judged to be length data. Ru. Further, it is assumed that the MPU 1 discriminates between one image data and length data, and outputs a length signal when the data is length data. The writing operation to the display memory when such a run-length code is used will be explained with reference to FIG.

同図において、先ず、クリア信号がクリア回路4にMP
U1から供給されクリア回路4ではクリアデータ00#
が表示メモリ2に高速に書き込まれ表示メモリ2をクリ
アする。ここで、高速に表示メモリ2をクリアする方法
として、例えばシリアル入力機能が付いたデュアル・ポ
ート・メモリを表示メモリ2に使用した場合、まず、シ
リアル入力端子から°O″を連続して入力し、シリアル
・ポートのデータ・レジスタをクリアする。次に、シリ
アル・ポートからランダム・ポートへの内部データ転送
を繰り返してランダム・ポートをクリアする。以上のク
リア動作で要する時間は60110 ”秒はとである。
In the figure, first, a clear signal is sent to the clear circuit 4 from MP
Clear data 00# is supplied from U1 and clear circuit 4
is written to the display memory 2 at high speed and clears the display memory 2. Here, as a method to quickly clear display memory 2, for example, if a dual port memory with a serial input function is used as display memory 2, first input °O'' continuously from the serial input terminal. , clear the data register of the serial port. Next, repeat the internal data transfer from the serial port to the random port to clear the random port. The time required for the above clearing operation is 60110 seconds. It is.

次IK、、開始アドレスがMPU1から供給され初期値
設定信号が与えられると2チヤンネルマルチプレクサ1
0がH側に切フ換わ゛シアドレスカ9ンタ12のデータ
入力に開始アドレスが供給されると共に、ロード入力に
2人力NORゲート14t−通って初期値設定信号が与
えられてメモリサイクルクロックの立ち上が9と共にア
ドレスカウンタ12に表示メモリへのデータ書き込み開
始アドレスの初期値が設定される。
Next IK, when the start address is supplied from MPU1 and the initial value setting signal is given, 2 channel multiplexer 1
0 is switched to the H side.A start address is supplied to the data input of the seat address counter 12, and an initial value setting signal is supplied to the load input through the two-manufactured NOR gate 14t-, and the memory cycle clock rises. The initial value of the data write start address to the display memory is set in the address counter 12 together with the upper value 9.

次に1画像データの書き込みであるが、画像データだけ
が送られて来てその画像データだけ1書き込む場合と1
画像データとレングスデータが送られて来て画像データ
のランレングス伸長書き込みを行なう場合の2通りの表
示メモリ2への書き込みがある。
Next, regarding writing one image data, there is a case where only image data is sent and only that image data is written once, and a case where only one image data is written.
There are two ways of writing to the display memory 2 when image data and length data are sent and the run-length expansion writing of the image data is performed.

1ず、画像データだけを魯き込む場合は、画像データと
ライト信号が表示メモリ2にMPUIから供給され表示
メモリ2ではそのときのアドレスカウンタ12の表示メ
モリ書き込みアドレスの値に従り1画像データを記憶し
、その後にメモリサイクルクロックの立ち上が9が来て
アドレスカウンタを1つだけカウントアツプさせる。画
像データだけが送られ℃来た場合は以上の動作を繰シ返
して画像データt−1画素ずつ表示メモリに書き込んで
いく。
1. When reading only image data, the image data and write signal are supplied from the MPUI to the display memory 2, and the display memory 2 writes one image data according to the value of the display memory write address of the address counter 12 at that time. Then, when the memory cycle clock rises 9, the address counter is incremented by one. If only the image data is sent and the temperature reaches .degree. C., the above operation is repeated to write the image data t-1 pixels at a time to the display memory.

次に、画像データのランレングス伸長書き込みを行なう
場合は、ます1画像データとライト信号が表示メモリ2
にMPUIから供給され表示メモリ2ではそのときのア
ドレスカウンタ12の表示メモリ書き込みアドレスの値
に従って画像データを記憶する。次に、画素数NがDフ
リップフロップ11のデータ入力&CMPutから供給
され、レングス信号がDフリップフロップ11のクロッ
ク入力に与えられると画素数NがDフリップフロップ1
1にラッチされる。ラッチされた画素数へはDフリップ
フロップ11のデータ出力から加算回路15に供給され
、加算回路15ではそのとき供給されている表示メモリ
書ぎ込みアドレスと画素数N1に加算してその計算結果
である加算変換アドレスt−2チャンネルマルチプレク
サ10に供給する。このとき2チヤンネルマルチプレク
サ10は、初期値設定信号が与えられ℃いないのでL側
にあシ加算変換アドレスをアドレスカウンタ12のデー
タ入力に供給され、アドレスカウンタ12では、MPU
1からロード入力に2人力NORゲート14を通りてレ
ングス信号が与えられてメモリサイクルクロックの立ち
上が9と共にアドレスカウンタ12に表示メモリへの表
示データ書き込みアドレスが設定される。画像データと
Next, when performing run-length expansion writing of image data, one square image data and write signal are stored in the display memory 2.
The image data is supplied from the MPUI and stored in the display memory 2 according to the value of the display memory write address of the address counter 12 at that time. Next, the number of pixels N is supplied from the data input &CMPut of the D flip-flop 11, and the length signal is given to the clock input of the D flip-flop 11.
It is latched to 1. The latched number of pixels is supplied from the data output of the D flip-flop 11 to the adder circuit 15, and the adder circuit 15 adds the display memory write address supplied at that time and the number of pixels N1, and uses the result of the calculation. A certain addition conversion address is supplied to the t-2 channel multiplexer 10. At this time, the 2-channel multiplexer 10 is not given the initial value setting signal, so the L side is supplied with the addition conversion address to the data input of the address counter 12, and the address counter 12 inputs the MPU
A length signal is applied from 1 to the load input through a two-way NOR gate 14, and at the rising edge 9 of the memory cycle clock, an address for writing display data into the display memory is set in the address counter 12. with image data.

レングスデータが送られて来た場合は以上の動作・金繰
り返してランレングス符号化された圧縮データの先頭位
置を示す画像データだけを表示メモリ2に1き込み、残
りの画像データーついては残りの画像データの幅だけ画
面クリアされたときの°0”データが残るようにアドレ
ス操作を行ない1画像データを画素数へすつ表示メモリ
2に書き込んでいく。
When length data is sent, repeat the above operations to load only the image data indicating the start position of the run-length encoded compressed data into the display memory 2, and store the remaining image data into the display memory 2. One image data is written into the display memory 2 according to the number of pixels by performing address operations so that the data "0" when the screen is cleared by the width of the data remains.

以上2つの表示メモリ書き込み動作t−MPUtから供
給されるデータにより使い分けることにより画像データ
のランレングス伸長書き込みを高速に行なうことが出来
る。また、新しい画像データを表示メモリに重ね℃書き
込むときは新しい画像データを書き込む前に表示メモリ
に書き込まれている古い画像データを°0°データで表
示メモリをクリアする。
By selectively using the data supplied from the two display memory write operations t-MPUt, it is possible to perform run-length expansion writing of image data at high speed. Furthermore, when writing new image data onto the display memory in an overlapping manner, the old image data written in the display memory is cleared as 0° data before writing the new image data.

第6@は表示メモリ書き込みにおけるMPU1が出力す
る各種データとコントロール信号のタイムチャートであ
る。
The sixth @ is a time chart of various data and control signals output by the MPU 1 during display memory writing.

81.82は各画面での開始アドレス、IJI 、L)
2 。
81.82 is the start address on each screen, IJI, L)
2.

1JS 、D4 、D5 、D6 、Dnは画像データ
、Ll、L2はレングスデータである。
1JS, D4, D5, D6, and Dn are image data, and Ll and L2 are length data.

データバスは表示メモリの瞥き込み開始アドレスSや画
像データDや同一画像データがどのくらい続(かを示す
レングスデータLなどが出力される。初期値設定信号は
信号レベルかHのときにデータバス上に瞥き込み開始ア
ドレスSが確定していることを示す。レングス信号は信
号レベルがHのときにデータバス上にレングスデータが
確定していることを示す。ライト信号は信号レベルがL
のときにデータバス上の画像データを表示メモリに書き
込むことを示す。メモリサイクルクロックはアドレスカ
ウンタ12のロードタイミングあるいはカウントアツプ
のタイミングを示す。クリア信号は画面の変わり目であ
る垂直帰線期間中に出力され表示メモリをクリアデータ
でクリアすることを示す。
The data bus outputs the glance start address S of the display memory, image data D, length data L indicating how long the same image data lasts, etc. When the initial value setting signal is at signal level or H, the data bus It shows that the glance start address S is fixed at the top.The length signal shows that the length data is fixed on the data bus when the signal level is H.The write signal shows that the length data is fixed on the data bus when the signal level is L.
Indicates that the image data on the data bus is written to the display memory when . The memory cycle clock indicates the load timing or count-up timing of the address counter 12. The clear signal is output during the vertical retrace period at which the screen changes, indicating that the display memory is to be cleared with clear data.

次に1表示メモリ2に記憶されている画像データの読み
出し方法を述べる。
Next, a method for reading image data stored in the 1-display memory 2 will be described.

第7図は表示データホールド回路7の精細なブロック図
と表示装置5と表示制御回路6と表示メモリ2である。
FIG. 7 is a detailed block diagram of the display data hold circuit 7, the display device 5, the display control circuit 6, and the display memory 2.

14は画像データかクリアデータかを判別するデータ判
別回路、15は表示メ七り2から読み出された画像デー
タとクリアデータのうち(iiiigI!データだけを
データ判別回路14の出力に従ってラッチするDフリッ
プフロップである。
Reference numeral 14 denotes a data discrimination circuit for discriminating whether it is image data or clear data, and 15 indicates D for latching only (iiiiii!) data among the image data and clear data read out from the display menu 2 according to the output of the data discrimination circuit 14. It's a flip flop.

同図におい℃1表示制御回路6拡表示装置5にラスク操
作を行なわせるために水平同期信号と垂直同期信号を供
給し、この表示装置5のラスク操作に同期して表示メモ
リ2から表示画素に対応し次アドレス忙記憶されたm像
データの読みだし操作をしている。データ判別回路14
では1表示メモリ2から読み出されたリードデータを絶
えず監視してて画像データが読み出されて来たらラッチ
信号t−Dフリップフロップ15に供給する。Dフリッ
プフロップ15では、ラッチ信号が入力されるとそのと
きのリードデータをラッチし、ラッチしたり−ドデータ
を表示データとして表示装置i5に供給する。これによ
V、表示メ七り2への画像データ書き込みのときに残し
又いたクリアデーダ0°社いりさい表示されない。
In the same figure, the °C1 display control circuit 6 supplies a horizontal synchronization signal and a vertical synchronization signal to the magnifying display device 5 to perform a rask operation, and in synchronization with the rask operation of the display device 5, the data is transferred from the display memory 2 to the display pixels. Correspondingly, the next address is busy reading out the stored m-image data. Data discrimination circuit 14
Then, the read data read out from the 1 display memory 2 is constantly monitored, and when image data is read out, a latch signal is supplied to the t-D flip-flop 15. When the latch signal is input, the D flip-flop 15 latches the read data at that time, and supplies the latched read data as display data to the display device i5. As a result, the clear data left when writing image data to the display menu 2 is no longer displayed.

以上のように、例えばランレングス符号化により圧縮さ
れた画像データを表示メモリ2へ書き込むときと、f!
Lみ出すときに分担してランレングス伸長するような構
造を破ることによりランレングス符号化された画像デー
タの高速な復号処理が実現出来る。
As described above, for example, when writing image data compressed by run-length encoding to the display memory 2, f!
By breaking the structure in which run-length expansion is carried out by dividing the length of L, high-speed decoding processing of run-length encoded image data can be realized.

なお、ここまでの説明では1例えばランレングス符号化
された1111g1情報の復号処理の高速化を目的とし
ていたが、高速に線を引く処理や面vmりつぶす処理等
にも有効であることは明らかである。
In addition, although the purpose of the explanation so far has been to speed up the decoding process of run-length encoded 1111g1 information, it is clear that it is also effective for high-speed line drawing processing, surface vm crushing processing, etc. It is.

上記実施例では、表示メモリ2にクリアデータとして@
0”を書き込んでい九が画像データと重ならない値であ
ればどのような数値をクリアデータに用い℃も良い。さ
らに1画像データ自信に有効無効の情報(例えば、デー
タの8ビツト目が“0゜のときは無効データで、データ
の8ビツト目が°1″のときは有効データであるとする
など。)を持たせることも出来る。このとき表示メモリ
21−クリアするにはデータの8ビツト目だけをクリア
すればよい。
In the above embodiment, @ is stored as clear data in the display memory 2.
If you write "0" and the value does not overlap with the image data, any numerical value can be used for the clear data and temperature is also good.Furthermore, each image data itself has valid/invalid information (for example, if the 8th bit of the data is " When the 8th bit of the data is 0°, it is invalid data, and when the 8th bit of the data is 1", it is valid data.) In this case, to clear the display memory 21, the data 8 All you need to do is clear the first bit.

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

以上説明し友ように1本発明によれば、連続するN画素
について同一の画像データ?:表示メモリに%き込む場
合、どんなに長く続く同一画像データであっても表示メ
モリに書き込むのは最初の画像データだけであり、たり
た1回のアクセスですむ。これにより、表示メモリへの
高速な画像データ書き込みが実現できる。
As explained above, according to the present invention, the same image data can be used for consecutive N pixels? : When writing to the display memory, no matter how long the same image data lasts, only the first image data is written to the display memory, and only one access is required. This makes it possible to write image data into the display memory at high speed.

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

第1図は本発明による表示メモリ制御回路の一実施例を
示すブロック図、第2図は第1図における表示メモリと
画素の表示位置との対応を示す説明図、第3図はランレ
ングス符号化された圧縮データを書き込む場合の入力か
ら出力までの様子を示す説明図、第4図はクリア回路と
表示メモリとアドレス生成回路の詳細なブロック図、第
5図は。 ランレングス符号のデータ構造を示した構造図、!!%
6図灯表示メモリ書き込みにおけるMPU1が出力する
各1データとコントロール信号のタイムチャート、第7
図は1表示装@Sと表示制御回路6と表示メモリ2と表
示データホールド回路7の精細なブロック1である。 −MPU 2−表示メモリ 5−アドレス生成回路 4−クリア回路 5−表示装置 6−表示制御回路 7−表示データホールド回路 12−アドレスカウンタ 15−加算回路 14−データ判定回路 15−Dフリップフロップ 代理人弁堆士 小 川 勝 男′。 回     →^ 第5図 (Q) (b)
FIG. 1 is a block diagram showing an embodiment of the display memory control circuit according to the present invention, FIG. 2 is an explanatory diagram showing the correspondence between the display memory and pixel display positions in FIG. 1, and FIG. 3 is a run-length code. FIG. 4 is a detailed block diagram of the clear circuit, display memory, and address generation circuit, and FIG. 5 is an explanatory diagram showing the process from input to output when writing compressed data. A structure diagram showing the data structure of a run-length code! ! %
Figure 6: Time chart of each data and control signal output by MPU 1 in writing to light display memory, No. 7
The figure shows a detailed block 1 consisting of a display device @S, a display control circuit 6, a display memory 2, and a display data hold circuit 7. -MPU 2-Display memory 5-Address generation circuit 4-Clear circuit 5-Display device 6-Display control circuit 7-Display data hold circuit 12-Address counter 15-Addition circuit 14-Data judgment circuit 15-D flip-flop agent Katsuo Ogawa, Bentoshi. times →^ Figure 5 (Q) (b)

Claims (1)

【特許請求の範囲】[Claims] 少なくとも画像情報を記憶保持する表示メモリを備え、
該表示メモリに記憶している画像情報の表示を行なう画
像表示装置の表示メモリ制御回路において、同一画像デ
ータがN画素連続するとき前記表示メモリ中の前記N画
素のデータが格納されるべきアドレスの内先頭アドレス
だけを発生し連続した残りのN−1画素については表示
メモリ書き込みアドレスの発生を行なわないような表示
メモリ書き込みアドレスを生成するアドレス生成回路と
、前記表示メモリから読み出された画像データの判別を
行ない予め定めたクリアデータ以外の画像データのみを
選択的にホールドする表示データホールド回路と、画像
データの更新時に前記表示メモリをクリアするクリア回
路を設けたことを特長とする表示メモリ制御回路。
Equipped with a display memory that stores and retains at least image information,
In a display memory control circuit of an image display device that displays image information stored in the display memory, when the same image data continues for N pixels, the address where the data of the N pixels in the display memory should be stored is determined. an address generation circuit that generates a display memory write address that generates only the first address in the display memory and does not generate a display memory write address for the remaining N-1 consecutive pixels, and image data read from the display memory. A display memory control device comprising: a display data hold circuit that selectively holds only image data other than predetermined clear data by making a determination; and a clear circuit that clears the display memory when updating image data. circuit.
JP62283245A 1987-11-11 1987-11-11 Display memory control circuit Pending JPH01126687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62283245A JPH01126687A (en) 1987-11-11 1987-11-11 Display memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62283245A JPH01126687A (en) 1987-11-11 1987-11-11 Display memory control circuit

Publications (1)

Publication Number Publication Date
JPH01126687A true JPH01126687A (en) 1989-05-18

Family

ID=17662968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62283245A Pending JPH01126687A (en) 1987-11-11 1987-11-11 Display memory control circuit

Country Status (1)

Country Link
JP (1) JPH01126687A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006323375A (en) * 2005-04-19 2006-11-30 Semiconductor Energy Lab Co Ltd Display device
US8131968B2 (en) 2007-12-28 2012-03-06 Panasonic Corporation Information processing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006323375A (en) * 2005-04-19 2006-11-30 Semiconductor Energy Lab Co Ltd Display device
US8131968B2 (en) 2007-12-28 2012-03-06 Panasonic Corporation Information processing device

Similar Documents

Publication Publication Date Title
JPH0131195B2 (en)
KR0140426B1 (en) Display controller
JPH0141994B2 (en)
JPH01126687A (en) Display memory control circuit
JPS60236184A (en) Semiconductor memory
JPS63236082A (en) Display memory control circuit
JP2000232623A (en) Video memory circuit
JP2959486B2 (en) Multi-window display control memory
JP2633251B2 (en) Image memory device
JPS58129473A (en) Memory control system
SU1015423A1 (en) Device for displaying data on cathode-ray tube crt screen
JPH0352714B2 (en)
JPH076087A (en) Method for accessing frame buffer
JPH0316037B2 (en)
JPH0469798B2 (en)
JPH01142986A (en) Picture memory element
JPS62249574A (en) Video memory
JPH08111090A (en) Memory controller
JPH0148569B2 (en)
JPH07175917A (en) Method for storing data to image memory device
JPH01108686A (en) Image memory write controller
JPS644194B2 (en)
JPS63271294A (en) Image reloading system for video game machine
JPS6021086A (en) Character generator
JPS59231589A (en) Image memory control circuit