JPH0293585A - Display memory controller - Google Patents

Display memory controller

Info

Publication number
JPH0293585A
JPH0293585A JP63244319A JP24431988A JPH0293585A JP H0293585 A JPH0293585 A JP H0293585A JP 63244319 A JP63244319 A JP 63244319A JP 24431988 A JP24431988 A JP 24431988A JP H0293585 A JPH0293585 A JP H0293585A
Authority
JP
Japan
Prior art keywords
display
data
memory
line memory
system clock
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
JP63244319A
Other languages
Japanese (ja)
Inventor
Hisashi Morita
寿 森田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63244319A priority Critical patent/JPH0293585A/en
Publication of JPH0293585A publication Critical patent/JPH0293585A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To improve access efficiency by accessing a display memory all in synchronism with a system clock and reading a 2nd line memory only in synchronism with a display clock. CONSTITUTION:A CPU 110 accesses the display memory 200 in synchronism with the system clock to read its stored data out. Output data from a data attribute processing circuit 104 which can modify dot pattern data(DP) is transferred to the 1st line memory 105 with the system clock. Here, when display data of one horizontal display period is stored, the data is transferred to the 2nd line memory 106 at a high speed in a nondisplay period with the system clock and outputted as an R, a G, and a B signal from an RGB decoder 107 in synchronism with the display clock of a display side. Consequently, the access efficiency is improved even if the capacity of the data bus of the display memory is small.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、マイクロコンピュータにより表示メモリを
制御して表示画面を得るデイスプレィに使用される表示
メモリ制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a display memory control device used in a display in which a display memory is controlled by a microcomputer to obtain a display screen.

(従来の技術) ビデオテックスなどのカラーデイスプレィには表示メモ
リ制御装置が設けられている。第4図は従来の表示メモ
リ制御装置である。中央演算処理装置(以下CPUと記
す)400は、8ビツトのデータバス401を介してバ
ッファ回路402に接続され、このバッファ回路402
は、16ビツトのデータバス403に接続されている。
(Prior Art) A color display such as Videotex is provided with a display memory control device. FIG. 4 shows a conventional display memory control device. A central processing unit (hereinafter referred to as CPU) 400 is connected to a buffer circuit 402 via an 8-bit data bus 401.
is connected to a 16-bit data bus 403.

データバス403は、4ビツトのバス404,405゜
406,407に分岐され、それぞれのバス404.4
05,406.407は表示メモリ411.412.4
13’、414に接続されている。また、415はRG
Bデコーダであり、表示メモリ411,412,413
,414から読み出される16ビツト単位のデータを、
表示すイクルに合せて、つまり表示クロックに同期して
R,G、Bの表示信号に変換している。
The data bus 403 is branched into 4-bit buses 404, 405, 406, and 407, and each bus 404.
05,406.407 is display memory 411.412.4
13', 414. Also, 415 is RG
B decoder and display memories 411, 412, 413
, 414 in units of 16 bits,
It is converted into R, G, and B display signals in accordance with the display cycle, that is, in synchronization with the display clock.

」1記のように、従来の表示メモリ制御装置は、4ビツ
トデータバス構成の表示メモリを表示メモリ411,4
12,413.414のように4個使用し、これをアク
セスしている。この例は、ブロック着色形と呼ばれる表
示メモリ構成である。
1, the conventional display memory control device connects the display memory with the 4-bit data bus configuration to the display memories 411 and 4.
Four such as 12,413.414 are used and accessed. An example of this is a display memory configuration called block coloring.

ブロック着色形表示メモリ構成は、−層のドツトパター
ンメモリ部と、機能ブロックメモリ部とに大別できる。
The block colored display memory structure can be roughly divided into a -layer dot pattern memory section and a functional block memory section.

文字や図形のドツトパターンデータは、ドツトパターン
メモリ部に格納され、機能ブロック単位のデータ、つま
り着色データ(前景色データ、背景色データ)や表示属
性データ(フラッシングなど)は機能ブロックメモリ部
に格納される。表示メモリ411,412,413゜4
14のデータは、アドレスデータにより指定され走査線
周期で読み出され、RGBデコーダ415によりR,G
、B信号に変換される。
Dot pattern data for characters and figures is stored in the dot pattern memory section, and data for each functional block, that is, coloring data (foreground color data, background color data) and display attribute data (flashing, etc.) is stored in the functional block memory section. be done. Display memory 411, 412, 413゜4
14 data is specified by the address data and read out at the scanning line period, and is converted into R, G by the RGB decoder 415.
, B signal.

前景色、背景色データ用の機能ブロックメモリの容量は
、前景色、背景色とも8色2階調の16色を機能ブロッ
ク単位(4×4画素)で指定するものとすると、1機能
ブロック当り4ビット(2−16色)必要である。
The capacity of the functional block memory for foreground color and background color data is as follows: If 16 colors (8 colors and 2 gradations) are specified for both the foreground color and background color in functional block units (4 x 4 pixels), the capacity of the functional block memory for each functional block is as follows: 4 bits (2-16 colors) are required.

一方、表示属性用の機能ブロックメモリの容量は、フラ
ッシングやコンシールなどを着色と同様に機能ブロック
単位で指定するとして1機能ブロック当り3ビツト(2
−8種類)と仮定する。
On the other hand, the capacity of the functional block memory for display attributes is 3 bits (2
-8 types).

第5図は、サイクルスチール方式と呼ばれる表示メモリ
制御方式のタイミングチャートであり、ここでは、1表
示すイクルを16表表示クロック16Tc)に選定して
1表示すイクル中で、各ドツトパターンデータ(DP)
、表示属性データ(CC)、前景色データ(FG) 、
背景色データ(BG)をそれぞれ16ビツト単位で読み
出し、RGBデコーダ415によりデコードしている。
FIG. 5 is a timing chart of a display memory control method called the cycle steal method. DP)
, display attribute data (CC), foreground color data (FG),
Background color data (BG) is read out in units of 16 bits and decoded by an RGB decoder 415.

アドレスバスは、CPU400から供給されるので、8
ビツトのアドレスデータが2回与えられることにより、
16ビツトのデータが読み出される。
Since the address bus is supplied from the CPU 400, 8
By giving the bit address data twice,
16 bit data is read.

こように、各ドツトパターンデータ(DP)、表示属性
データ(CC) 、前景色データ(FG)、背景色デー
タ(BG)がそれぞえ16ビツト単位で読み出され、デ
コーダ415の入力となる。
In this way, each dot pattern data (DP), display attribute data (CC), foreground color data (FG), and background color data (BG) are read out in units of 16 bits and are input to the decoder 415. .

このとき、各ドツトパターンデータ(DP)、表示属性
データ(CC)、前景色データ(FG)、背景色データ
(BG)の間隙を縫って、表示メモリ411〜414の
書込みアクセスや他の処理(この期間をCPTと記載す
る)を行なっている。
At this time, writing access to the display memories 411 to 414 and other processing ( This period is referred to as CPT).

ところで、最近では集積回路技術の向上にともない、表
示メモリとして大容量のものが開発されている。このよ
うな表示メモリ(データバスは4ビツト)のものを使用
し、使用メモリチップ数を減らし回路規模を小さくしよ
うとした場合、次のような問題が生じている。大容量の
表示メモリのデータバスが4ビツトであるために、1表
示クロックで4ビツトのデータしか読み出すことはでき
ない。従って、16ビツト単位のデータを得るとすると
4表示クロックが必要となる。このことは、第5図の例
からもわかるように、4個の表示メモリを使用したとき
は2表示クロックにより16ビツトのデータを読み出す
ことができたのに、大容量の表示メモリではその倍の表
示クロックを要し、CPU400が他の処理を行なう期
間(CPT)にゆとりがなくなることを意味する。サイ
クルスチール方式では、第5図に示す1表示すイクルの
ほとんどをデータ読出しのために費やすことになる。
Recently, as integrated circuit technology has improved, large capacity display memories have been developed. When using such a display memory (with a 4-bit data bus) and attempting to reduce the number of memory chips used to reduce the circuit size, the following problems occur. Since the data bus of a large-capacity display memory is 4 bits, only 4 bits of data can be read out with one display clock. Therefore, if data is to be obtained in units of 16 bits, four display clocks are required. As can be seen from the example in Figure 5, when four display memories were used, 16-bit data could be read out with two display clocks, but with a large-capacity display memory, it was possible to read out 16-bit data with double the number of display clocks. This means that there is no leeway in the period (CPT) during which the CPU 400 performs other processing. In the cycle steal method, most of one display cycle shown in FIG. 5 is spent reading data.

(発明が解決しようとする課題) 上記したように、従来の表示メモリ制御方式によると、
大容量の表示メモリ(データバスは4ビツト)のものを
使用し、使用メモリチップ数を減らし回路規模を小さく
しようとした場合、データ読出し期間が長くなり(アク
セス効率の低下)、CPUが他の処理あるいは表示メモ
リへのデータ書込みを行なう余裕がなくなるという問題
がある。
(Problems to be Solved by the Invention) As mentioned above, according to the conventional display memory control method,
If you use a large-capacity display memory (4-bit data bus) and try to reduce the number of memory chips used to reduce the circuit size, the data read period will become longer (decreased access efficiency), and the CPU will There is a problem in that there is no room for processing or writing data to the display memory.

そこでこの発明は、表示メモリのデータバスの容量が少
なくても、そのアクセス効率を向上することができる表
示メモリ制御装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a display memory control device that can improve the access efficiency even if the capacity of the data bus of the display memory is small.

[発明の構成コ (課題を解決するための手段) この発明は、表示データを格納した表示メモリと、この
表示メモリに格納されている表示データがデータバスを
介して供給され、1水平表示期間分の表示データを格納
することができる第1のラインメモリと、この第1のラ
インメモリに対して前記表示メモリからの読出しデータ
をシステムクロックに同期して転送する手段と、この第
1のラインメモリから読み出された表示データを格納す
ることができる第2のラインメモリと、この第2のライ
ンメモリに対して前記第1のラインメモリに蓄積されて
いる表示データを表示期間に先だって、前記システムク
ロックにより転送する手段と、前記第2のラインメモリ
からの表示データを表示クロックに応答して読出し表示
信号にデコディングするデコーダとを備え、表示メモリ
のアクセスを全てシステムクロックに同期させて行ない
、第2のラインメモリの読出しのみを表示クロックに同
期して行なうようにしたものである。
[Structure of the Invention (Means for Solving the Problem) This invention includes a display memory storing display data, and a display data stored in the display memory being supplied via a data bus, and displaying data for one horizontal display period. a first line memory capable of storing display data for minutes, means for transferring read data from the display memory to the first line memory in synchronization with a system clock; a second line memory capable of storing display data read out from the memory; and a second line memory capable of storing display data read out from the memory; The device includes means for transferring data using a system clock, and a decoder that reads display data from the second line memory and decodes it into a read display signal in response to the display clock, and all accesses to the display memory are performed in synchronization with the system clock. , only reading of the second line memory is performed in synchronization with the display clock.

(作用) 上記の手段により、表示メモリに対する直接のアクセス
は、CPUのシステムクロックにより行なうので、高速
でデータ書込み読出しを行なうことができる。このよう
にアクセスを実行しても、第1と第2のラインメモリを
設けているので、デイスプレィ側の表示すイクル及び表
示クロックとの時間合せは容易に得られる。
(Function) With the above means, direct access to the display memory is performed using the system clock of the CPU, so data can be written and read at high speed. Even when access is executed in this manner, since the first and second line memories are provided, time alignment with the display cycle and display clock on the display side can be easily obtained.

(実施例) 以下、この発明の実施例を図面を参照して説明する。(Example) Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例である。第1図において、
中央演算処理装置(以下CPUと記す)100は、8ビ
ツトのデータバス101を介してバッファ回路102に
接続され、このバッファ回路102は、4ビツトのデー
タバス103に接続されている。データバス103は、
4ビツトのデータバスを有する表示メモリ200に接続
されている。
FIG. 1 shows an embodiment of the present invention. In Figure 1,
A central processing unit (hereinafter referred to as CPU) 100 is connected to a buffer circuit 102 via an 8-bit data bus 101, and this buffer circuit 102 is connected to a 4-bit data bus 103. The data bus 103 is
It is connected to a display memory 200 having a 4-bit data bus.

表示メモリ200に対しては、例えば第4図で説明した
ようなドツトパターンデータ(DP)、表示属性データ
(CC) 、前景色ブタ(PC) 、背景色データ(B
G)が格納され、またCPU100のシステムクロック
に同期したアクセスにより誼データの読出しか行われる
The display memory 200 stores, for example, dot pattern data (DP), display attribute data (CC), foreground color data (PC), and background color data (B) as explained in FIG.
G) is stored, and only the data is read by accessing in synchronization with the system clock of the CPU 100.

また表示メモリ200のデータバスは、データ属性処理
回路104に接続されている。データ属性処理回路10
4は、表示属性データ(CC)に応じてドツトパターン
データ(DP)を変形することができる。データ属性処
理回路104からの出力データは、システムクロックに
より第1のラインメモリ105に転送される。ここで、
1水平表示期間分の表示データが蓄積されると、今度は
、やはりシステムクロックによりデイスプレィ(受像機
)の表示期間に先たって、非表示期間に高速で第2のラ
インメモリ106に転送される。そして、第2のライン
メモリ106の表示データは、今度は、デイスプレィ側
の表示クロックに同期してRGBデコーダ107におい
てデコードされ、表示用のR,G、B信号として出力さ
れる。
Further, the data bus of the display memory 200 is connected to the data attribute processing circuit 104. Data attribute processing circuit 10
4 can transform dot pattern data (DP) according to display attribute data (CC). Output data from the data attribute processing circuit 104 is transferred to the first line memory 105 by the system clock. here,
Once the display data for one horizontal display period has been accumulated, it is transferred to the second line memory 106 at high speed during a non-display period, also by the system clock, prior to the display period of the display (receiver). The display data in the second line memory 106 is then decoded by the RGB decoder 107 in synchronization with the display clock on the display side, and output as R, G, and B signals for display.

第2図は、上記実施例の回路のタイミングチャートであ
る。この表示メモリ制御装置は、表示メモリ200に対
する書込みや読出しアクセス、表示属性処理、第1のラ
インメモリ105.及び第2のリンメモリ106に対す
るデータ転送は、全てCPU100にもちいられるシス
テムクロック(第2図(a))で高速で行なっている。
FIG. 2 is a timing chart of the circuit of the above embodiment. This display memory control device performs write and read access to the display memory 200, display attribute processing, first line memory 105. All data transfers to the second link memory 106 are performed at high speed using the system clock (FIG. 2(a)) used by the CPU 100.

従って、データバス103における表示メモリ200か
らの読出しデータは、第2図(b)に示すように、表示
クロック(第2図(e))とは無関係に、CPU100
の主導権の元で表示属性処理回路104に転送される。
Therefore, as shown in FIG. 2(b), the read data from the display memory 200 on the data bus 103 is transmitted to the CPU 100 regardless of the display clock (FIG. 2(e)).
The information is transferred to the display attribute processing circuit 104 under the initiative of .

第2図(b)のデータ期間CPTおよび斜線部分は、C
PU100のアクセス動作に余裕を生じた期間であり、
この期間を利用してCPU100は、表示メモリ200
へのデータ書込みや他の処理を行なうことができる。表
示属性処理回路104にはその入力バス(4ビツト容f
f1)を介して、ドツトパターンデータ(DP) 、表
示属性データ(CC) 、前景色データ(FG)、背景
色データ(BG)が入力される。
The data period CPT and the shaded area in FIG. 2(b) are C
This is a period in which the access operation of the PU 100 has a margin,
Using this period, the CPU 100 stores the display memory 200.
You can write data to and perform other processing. The display attribute processing circuit 104 has an input bus (4-bit capacity f).
f1), dot pattern data (DP), display attribute data (CC), foreground color data (FG), and background color data (BG) are input.

ここで、表示属性処理回路104は、表示属性データ(
CC)に応じてドツトパターンデータ(DP)を変形処
理することができる。例えば、表示属性データ(CC)
かフラッシングを示すものであれば、ドツトパターンデ
ータ(DP)をそのまま出力したり反転させたりする作
業を自動的に切換え、またコンシールを示すものであれ
がブタを全てオール“1°又はオール“0”に変形した
りする。これにより、第1のラインメモリ105に転送
されるデータは、第2図(d)に示すように、属性デー
タの分が少なくて良い。これにより、ラインメモリ10
5からラインメモリ106ヘデータ転送を行なう場合(
第2図(f))もCPU100のデータ転送負担が低減
され、またRGBデコーダ107において行われるデコ
ーディング処理も負担が軽減される。なお、属性処理回
路104がない場合は、RGBデコーダは従来と同様な
属性処理を行なうことになる。
Here, the display attribute processing circuit 104 processes display attribute data (
The dot pattern data (DP) can be transformed in accordance with the CC). For example, display attribute data (CC)
If the dot pattern data (DP) is indicative of flashing or flashing, the operation to output or invert the dot pattern data (DP) will be automatically switched, and if it is indicative of concealment, all the dot pattern data (DP) will be output to all “1°” or all “0”. As a result, as shown in FIG. 2(d), the data transferred to the first line memory 105 may contain less attribute data.
5 to the line memory 106 (
In FIG. 2(f), the data transfer load on the CPU 100 is also reduced, and the load on the decoding process performed in the RGB decoder 107 is also reduced. Note that if the attribute processing circuit 104 is not provided, the RGB decoder will perform attribute processing similar to the conventional one.

第3図は、上記第1と第2のラインメモリ105と10
6のメモリマツプの例を示している。
FIG. 3 shows the first and second line memories 105 and 10.
6 shows an example of a memory map.

この例は、1水平表示期間に256ビツトのドツトパタ
ーンがあるものとして示した例であり、64ワード×1
2ビット−768ビツトである。
This example assumes that there is a 256-bit dot pattern in one horizontal display period, and the dot pattern is 64 words x 1.
2 bits - 768 bits.

なお、上記の実施例では、ブロック着色形の表示メモリ
制御装置を一例として説明したか、この発明はこれに限
定されるものではなく、各種の表示メモリ制御のために
用いることができる。またこの発明は、属性処理回路は
必ずしも必要ではない。
In the above embodiment, the block coloring type display memory control device has been described as an example, but the present invention is not limited to this, and can be used for various types of display memory control. Further, the present invention does not necessarily require an attribute processing circuit.

[発明の効果] 以上説明したようにこの発明は、表示メモリのデータバ
スの容量が少なくても、そのアクセス効率を向上するこ
とができる。またこれにともない、使用するメモリチッ
プ数を低減し、回路規嘆を縮小するにも有効である。さ
らに、CPUのアクセスにゆとりができるために、他の
処理を実行させるためのソフトウェア機能向上を図るこ
とができる。
[Effects of the Invention] As explained above, the present invention can improve the access efficiency even if the capacity of the data bus of the display memory is small. This is also effective in reducing the number of memory chips used and the circuit requirements. Furthermore, since there is more leeway in CPU access, it is possible to improve the functionality of software for executing other processes.

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

第1図はこの発明の一実施例を示す構成説明図、第2図
は第1図の回路の動作例を説明するために示したタイミ
ングチャート、第3図は第1図のラインメモリのメモリ
マツプの例を示す図、第4図は従来のメモリ制御回路を
示すブロック図、第5図は第4図の回路の動作例を説明
するために示したタイミングチャートである。 100・・・中央演算処理装置i& (CPU) 、1
02・・・バッファ回路、104・・・表示属性処理回
路、105・・第1のラインメモリ、106・・・第2
のラインメモリ、107・・・RGBデコーダ、200
・・・表示メモリ。 第1図 出願人代理人 弁理士 鈴江武彦 64word x 12bit = 768 bit
FIG. 1 is a configuration explanatory diagram showing one embodiment of the present invention, FIG. 2 is a timing chart shown to explain an example of the operation of the circuit in FIG. 1, and FIG. 3 is a memory map of the line memory in FIG. 1. FIG. 4 is a block diagram showing a conventional memory control circuit, and FIG. 5 is a timing chart shown to explain an example of the operation of the circuit shown in FIG. 100...Central processing unit i & (CPU), 1
02... Buffer circuit, 104... Display attribute processing circuit, 105... First line memory, 106... Second
line memory, 107...RGB decoder, 200
...display memory. Figure 1 Applicant's agent Patent attorney Takehiko Suzue 64 words x 12 bits = 768 bits

Claims (1)

【特許請求の範囲】 表示データを格納した表示メモリと、 この表示メモリに格納されている表示データがデータバ
スを介して供給され、1水平表示期間分の表示データを
格納することができる第1のラインメモリと、 この第1のラインメモリに対して前記表示メモリからの
読出しデータをシステムクロックに同期して転送する手
段と、 この第1のラインメモリから読み出された表示データを
格納することができる第2のラインメモリと、 この第2のラインメモリに対して前記第1のラインメモ
リに蓄積されている表示データを表示期間に先だって、
前記システムクロックにより転送する手段と、 前記第2のラインメモリからのデータを表示クロックに
応答して読出し表示信号にデコーディングするデコーダ
とを備え、 前記表示メモリのアクセスを全てシステムクロックに同
期させて行ない、第2のラインメモリの読出しのみを表
示クロックに同期させて行なうことを特徴とする表示メ
モリ制御装置。
[Claims] A display memory storing display data; and a first display memory to which the display data stored in the display memory is supplied via a data bus and capable of storing display data for one horizontal display period. a line memory, means for transferring read data from the display memory to the first line memory in synchronization with a system clock, and storing display data read from the first line memory. a second line memory capable of displaying data stored in the first line memory for the second line memory prior to a display period;
means for transferring data using the system clock; and a decoder that reads data from the second line memory and decodes it into a readout display signal in response to a display clock, and synchronizes all accesses to the display memory with the system clock. A display memory control device characterized in that the second line memory is read out in synchronization with a display clock.
JP63244319A 1988-09-30 1988-09-30 Display memory controller Pending JPH0293585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63244319A JPH0293585A (en) 1988-09-30 1988-09-30 Display memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63244319A JPH0293585A (en) 1988-09-30 1988-09-30 Display memory controller

Publications (1)

Publication Number Publication Date
JPH0293585A true JPH0293585A (en) 1990-04-04

Family

ID=17116953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63244319A Pending JPH0293585A (en) 1988-09-30 1988-09-30 Display memory controller

Country Status (1)

Country Link
JP (1) JPH0293585A (en)

Similar Documents

Publication Publication Date Title
US4104624A (en) Microprocessor controlled CRT display system
JPH01140863A (en) Method and apparatus for superposing displayable information
JPS61188582A (en) Multi-window writing controller
JPH0362090A (en) Control circuit for flat panel display
JPH0377530B2 (en)
JPS60117327A (en) Display device
US4924432A (en) Display information processing apparatus
JPH0293585A (en) Display memory controller
JPS62183487A (en) Raster scan video controller
JPS58136093A (en) Display controller
JPS6138987A (en) Crt controller
JPS62113193A (en) Memory circuit
JPS6126085A (en) Image display system
JPS60251431A (en) Memory display device
JPH01239587A (en) Display control circuit
JPS63149690A (en) Information processor
JPH03226847A (en) Computer system
JPS63245716A (en) Multiwindow display device
JPS635758B2 (en)
JPH04166887A (en) Lcd display two-port memory circuit
JPH0227677B2 (en)
JPH04245346A (en) Microcomputer system
JPS60129786A (en) Image memory
JPH0353318A (en) Two-port memory
JPH0429072B2 (en)