JPH10161638A - Image display device - Google Patents

Image display device

Info

Publication number
JPH10161638A
JPH10161638A JP8315120A JP31512096A JPH10161638A JP H10161638 A JPH10161638 A JP H10161638A JP 8315120 A JP8315120 A JP 8315120A JP 31512096 A JP31512096 A JP 31512096A JP H10161638 A JPH10161638 A JP H10161638A
Authority
JP
Japan
Prior art keywords
character
font
scan line
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
JP8315120A
Other languages
Japanese (ja)
Inventor
Kanji Harada
寛次 原田
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP8315120A priority Critical patent/JPH10161638A/en
Publication of JPH10161638A publication Critical patent/JPH10161638A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To shorten the time required for loading a display data from a video memory in the display of text mode. SOLUTION: This device has a font data converting circuit 22 and a font address generating circuit 23. A video memory plane 3 is added to a video memory 36, and in conformation to the output of a scanning line count means for designating a scanning line for character display, the font data of each character is continuously accessed and loaded in the order of character text code every scanning line from the continuous space of the video memory plane 3 through a memory interface 24, and an image signal is outputted from a display circuit 25 to a CRT device 37.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、画像表示装置に
関し、特にビデオメモリに格納されたフォントデータを
アクセスする画像表示装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image display device, and more particularly to an image display device for accessing font data stored in a video memory.

【0002】[0002]

【従来の技術】従来、この種の画像表示装置では、表示
期間中に、ビデオメモリまたはビデオバッファと呼ばれ
るメモリから一定時間内に表示データをロードし画像信
号を出力しなければならない。この一定時間は、表示ク
ロック周波数または解像度によって決定される。表示デ
ータのロードが表示スピードの画像信号出力に追いつか
なくなると、正しい表示が行われない。
2. Description of the Related Art Conventionally, in this type of image display device, during a display period, display data must be loaded from a memory called a video memory or a video buffer within a predetermined time to output an image signal. This fixed time is determined by the display clock frequency or the resolution. If the load of the display data cannot keep up with the output of the image signal at the display speed, correct display is not performed.

【0003】ビデオメモリへ表示データを格納する分割
方法としては、プレーン型とパックドピクセル型の2通
りがある。プレーン型では、1プレーンに1ピクセルあ
たり1ビットの表示データが格納される。4プレーン構
成の場合では、1ピクセルあたりの表示データは4ビッ
トである。パックドピクセル型では、プレーンは1プレ
ーンのみであり、1ピクセルあたりの表示データは、1
バイトもしくは2バイトという具合に格納されている。
本特許は、プレーン型のビデオメモリの使用方法に関連
しているため、以下、プレーン型の従来の技術について
説明する。
There are two methods of storing display data in a video memory: a plane type and a packed pixel type. In the plane type, 1-bit display data per pixel is stored in one plane. In the case of a 4-plane configuration, the display data per pixel is 4 bits. In the packed pixel type, there is only one plane, and the display data per pixel is 1 plane.
It is stored in bytes or 2 bytes.
Since this patent relates to a method of using a plane type video memory, a conventional plane type technology will be described below.

【0004】プレーン型の表示モードには、グラフィッ
クモードとテキストモードがあり、それぞれのモードに
より、ビデオメモリへの表示データの格納方法および表
示データのロード方法が異なる。
[0004] The plane type display mode includes a graphic mode and a text mode, and a method of storing display data in a video memory and a method of loading display data differ depending on each mode.

【0005】グラフィックモードでは、1ピクセル単位
に対応するカラーデータがビデオメモリに格納されてい
る。例えば、16色グラフィックの場合、1ピクセルは
4ビットの表示データからなり、4プレーンの各プレー
ンにそれぞれ1ビットのデータが格納されている。
In the graphic mode, color data corresponding to one pixel is stored in a video memory. For example, in the case of a 16-color graphic, one pixel is made up of 4-bit display data, and each of the four planes stores one-bit data.

【0006】グラフィックモードでは、ビデオメモリを
構成しているDRAMから、高速アクセスまたはページ
アクセス(以下高速アクセスと呼ぶ)と呼ばれるアクセ
ス方法により、表示スキャンライン方向に連続する表示
データをアクセスし、64ピクセル分または128ピク
セル分といった転送単位でロードする。この転送単位
は、画像表示装置のFIFOの大きさに依存する。グラ
フィックモードでは、ロードした表示データをパレット
変換して、RGBデータを生成する。
In the graphic mode, display data continuous in the display scan line direction is accessed from a DRAM constituting a video memory by an access method called high-speed access or page access (hereinafter referred to as high-speed access), and 64 pixels are accessed. , Or in 128-pixel transfer units. This transfer unit depends on the size of the FIFO of the image display device. In the graphic mode, the display data loaded is converted into a palette to generate RGB data.

【0007】これに対して、テキストモードでは、表示
データのビデオメモリの格納方法およびロード方法がグ
ラフィックモードと異なる。ビデオメモリには、画面上
の左上から表示すべきテキストの文字コードと属性コー
ドが、連続アドレスに格納されている。文字コードは通
常8ビットであり、256文字から1文字を選択でき
る。属性コードも通常8ビットであり、下位4ビット,
上位4ビットが、フォアグラウンドカラー,バックグラ
ウンドカラーをそれぞれ示す。これら文字コードおよび
属性コードは、スクロール,画面のクリア,などを行う
際に、CPUから更新される。これら文字コードおよび
属性コードの他に、ビデオメモリには、文字フォントデ
ータが格納されている。この文字フォントデータは、テ
キストモード設定時にCPUによりロードされた後は文
字コードおよび属性コードのようにCPUから頻繁に更
新されず、ビデオメモリの固定領域に存在する文字フォ
ントのビットマップデータである。通常、文字コード,
属性コード,フォントデータは、プレーン0,プレーン
1,プレーン2に、別々に格納される。
On the other hand, in the text mode, the storage method and the loading method of the display data in the video memory are different from those in the graphic mode. In the video memory, a character code and an attribute code of a text to be displayed from the upper left on the screen are stored at consecutive addresses. The character code is usually 8 bits, and one character can be selected from 256 characters. The attribute code is also usually 8 bits, the lower 4 bits,
The upper 4 bits indicate a foreground color and a background color, respectively. These character codes and attribute codes are updated by the CPU when scrolling, clearing the screen, and the like. In addition to these character codes and attribute codes, the video memory stores character font data. This character font data is bitmap data of a character font that is not frequently updated from the CPU like a character code and an attribute code after being loaded by the CPU when the text mode is set, and exists in a fixed area of the video memory. Usually, character code,
The attribute code and the font data are stored separately in plane 0, plane 1 and plane 2.

【0008】テキストモードでは、表示データをロード
するとき、始めに、水平スキャンライン方向に、8文字
分または16文字分といった転送単位で、文字コードお
よび属性コードをロードする。この転送単位も、グラフ
ィックモード時と同様に、画像表示装置のFIFOの大
きさに依存する。このときのロードは、DRAMの高速
アクセスを使用することができる。なぜならば、ビデオ
メモリ内で連続した領域のデータをリードするからであ
る。文字コードおよび属性コードのロードが終了する
と、次に、フォントデータのロードを行う。フォントデ
ータのロードに際して、文字コードと表示スキャンライ
ン値からフォントデータのアドレス計算が行われる。
In the text mode, when loading display data, first, a character code and an attribute code are loaded in the horizontal scan line direction in a transfer unit such as 8 characters or 16 characters. This transfer unit also depends on the size of the FIFO of the image display device, as in the graphic mode. The load at this time can use the high-speed access of the DRAM. This is because data in a continuous area in the video memory is read. When the loading of the character code and the attribute code is completed, the font data is loaded next. When loading the font data, the address of the font data is calculated from the character code and the display scan line value.

【0009】Programmers Guide to the EGA and VGA C
ards Second Edition (1990年、Richard F.Ferrar
o 著)によれば、フォントデータは、図7に示すよう
に、1文字あたりビデオメモリの連続した領域、例えば
32バイトの連続空間に格納されている。通常、1文字
あたりのフォントデータは、横幅8ピクセル,縦幅32
ピクセルの32バイトから構成されている。文字コード
00hのフォントデータは、ビデオメモリプレーン2の
アドレス00hに先頭スキャンラインデータを格納し、
また、文字コード01hは、プレーン2のアドレス20
hに先頭スキャンラインデータを格納している。
[0009] Programmers Guide to the EGA and VGA C
ards Second Edition (1990, Richard F. Ferrar
o)), the font data is stored in a continuous area of the video memory per character, for example, in a continuous space of 32 bytes, as shown in FIG. Normally, font data per character is 8 pixels wide and 32 pixels wide.
It consists of 32 bytes of pixels. For the font data of the character code 00h, the head scan line data is stored at the address 00h of the video memory plane 2;
The character code 01h is the address 20 of the plane 2
h stores the first scan line data.

【0010】このように、テキストモードでは、文字コ
ードおよび属性コードのロードに引き続いて、フォント
データのロードを行う。グラフィックモードとの大きな
違いは、グラフィックモードでは、ロードした表示デー
タをそのままピクセルデータとして使用できるのに対
し、テキストモードでは、文字コードおよび属性コード
のロードに引き続いてフォントデータのロードを行わな
ければならないことである。このため、テキストモード
では、グラフィックモードと比較して約2倍のビデオメ
モリアクセス時間を要する。
As described above, in the text mode, the font data is loaded following the loading of the character code and the attribute code. The major difference from the graphic mode is that in the graphic mode, the loaded display data can be used directly as pixel data, whereas in the text mode, the font data must be loaded following the loading of character codes and attribute codes. That is. For this reason, the text mode requires about twice as much video memory access time as the graphic mode.

【0011】テキストモードの文字コードおよび属性コ
ードは、表示方向に従ってビデオメモリの連続空間に格
納されているため、ロードする際に、DRAMの高速ア
クセスを使用することができる。高速アクセスは、例え
ば8アドレスの転送時間でランダムアクセスと比較する
と、約4倍から5倍高速である。
Since the character code and the attribute code in the text mode are stored in the continuous space of the video memory according to the display direction, it is possible to use the high-speed access of the DRAM when loading. High-speed access is, for example, about four to five times faster than random access with a transfer time of eight addresses.

【0012】一方、テキストモードでのフォントデータ
のロードは、必ずしも、DRAMの高速アクセスが使用
できるわけではない。その理由は、文字コードと表示ス
キャンライン値から算出したアドレスがDRAMの同一
ページのアドレスとならない可能性が有るからである。
DRAMの高速アクセスは、同一ページのアドレスにア
クセスする場合にのみ使用することが出来る。図8に、
テキストモードでの文字コードおよび属性コードおよび
フォントデータのロードの様子を示す。この図8は、フ
ォントデータのロードが全てランダムアクセスの例であ
る。
On the other hand, loading font data in the text mode does not always enable high-speed access to the DRAM. The reason is that the address calculated from the character code and the display scan line value may not be the address of the same page of the DRAM.
DRAM high-speed access can be used only when accessing the same page address. In FIG.
7 shows how character codes, attribute codes, and font data are loaded in a text mode. FIG. 8 shows an example in which all font data loads are random access.

【0013】フォントデータは、図7に示すように、ビ
デオメモリのプレーン2に1文字あたり32バイトの連
続空間に格納されている。隣接する文字コードのフォン
ト、例えば文字コード00h,01h,02hなどは、
DRAMの同一ページに存在する。しかし、文字コード
が離れているフォントデータ、例えば文字コード00h
と文字コードFFhのフォントデータは、DRAMの異
なるページに存在する。表示する文字コードの順番が0
0h,FFh,01h,FEh,02h,FDh,03
h,FChのような場合には、DRAMからのフォント
データのロードは全てランダムアクセスとなる。
As shown in FIG. 7, the font data is stored in a plane 2 of the video memory in a continuous space of 32 bytes per character. Fonts of adjacent character codes, for example, character codes 00h, 01h, 02h, etc.
Present on the same page of DRAM. However, font data whose character code is distant, for example, character code 00h
And the font data of the character code FFh exist in different pages of the DRAM. The order of the character codes to be displayed is 0
0h, FFh, 01h, FEh, 02h, FDh, 03
In cases such as h and FCh, the loading of font data from the DRAM is all random access.

【0014】[0014]

【発明が解決しようとする課題】従来の画像表示装置に
おける問題点は、テキストモードでの文字コードおよび
属性コードのロードではDRAMの高速アクセスを使用
できるが、フォントデータのロードでは必ずしも高速ア
クセスが使用できないことである。
A problem with the conventional image display device is that the high-speed access of the DRAM can be used for loading character codes and attribute codes in the text mode, but the high-speed access is not necessarily used for loading font data. That is not possible.

【0015】その理由は、それぞれの文字フォントが連
続したビデオメモリ空間に格納されているため、表示す
る文字コード並びによってはDRAMの同一ページのア
ドレスにアクセスすることができないからである。
The reason is that, since each character font is stored in a continuous video memory space, it is not possible to access the address of the same page of the DRAM depending on the character code arrangement to be displayed.

【0016】従来の画像表示装置では、640x400
(80行x25桁)などの低解像度においては、表示ス
ピードに対して表示データのロード時間に余裕があるた
め問題はなかった。しかし、1056x400(132
行x25桁)などの高解像度になると、表示スピードが
増大するため表示データのロード時間を短縮しなければ
ならない。フォントデータのロードをランダムアクセス
で行っていてはロード時間の短縮は困難である。ロード
時間の短縮が不可能であれば高解像度での正常な表示が
なされない。
In a conventional image display device, 640 × 400
At a low resolution such as (80 rows × 25 columns), there is no problem because there is a margin in the load time of display data with respect to the display speed. However, 1056x400 (132
When the resolution becomes high (eg, row x 25 columns), the display speed increases, and the load time of the display data must be reduced. If the font data is loaded by random access, it is difficult to reduce the loading time. If the load time cannot be reduced, normal display at high resolution is not performed.

【0017】この発明は、上記事情を考慮してなされた
ものであり、テキストモードの表示において、ビデオメ
モリからの表示データのロードに要する時間を短縮する
ことを目的とする。
The present invention has been made in consideration of the above circumstances, and has as its object to reduce the time required to load display data from a video memory in text mode display.

【0018】[0018]

【課題を解決するための手段】そのため、この発明に係
わる画像表示装置は、文字表示のスキャンラインを指定
するスキャンラインカウント手段の出力に対応して、ビ
デオメモリプレーンの連続空間から各文字のフォントデ
ータを表示データの1つとしてスキャンライン単位毎の
文字テキストコード順に連続してアクセスおよびロード
し、画像信号を出力している。
Therefore, an image display apparatus according to the present invention provides a font for each character from a continuous space of a video memory plane corresponding to an output of a scan line counting means for specifying a scan line for character display. The data is successively accessed and loaded in the order of the character text code for each scan line unit as display data, and an image signal is output.

【0019】また、システム起動時または非表示期間中
に、他のビデオメモリプレーンの連続空間に文字テキス
トコード単位毎のスキャンライン順に予め格納された前
記各文字のフォントデータを読み出しスキャンライン単
位に分解しスキャンライン単位毎の文字テキストコード
順に変換して前記ビデオメモリプレーンの連続空間に格
納するフォントデータ変換手段と、前記各文字のフォン
トデータを表示データの1つとしてアクセスおよびロー
ドするとき、前記ビデオメモリプレーンに格納されたフ
ォントデータのフォントアドレスをスキャンライン単位
毎の文字テキストコード順に生成するフォントアドレス
生成手段と、を備えている。
Also, at the time of system startup or during a non-display period, font data of each character previously stored in a continuous space of another video memory plane in scan line order for each character text code unit is read out and decomposed in scan line units. A font data conversion means for converting the character text code in scan line units and storing the converted data in a continuous space of the video memory plane; and accessing and loading the font data of each character as one of display data. Font address generation means for generating font addresses of font data stored in the memory plane in the order of character text codes for each scan line.

【0020】さらに、前記フォントデータ変換手段が、
前記他のビデオメモリプレーンの読出しアドレスをシフ
ト変換し前記ビデオメモリプレーンの書込みアドレスと
して出力するアドレス変換回路を備えている。
Further, the font data conversion means includes:
An address conversion circuit is provided which shift-converts a read address of the other video memory plane and outputs it as a write address of the video memory plane.

【0021】また、前記フォントアドレス生成手段が、
表示する文字コードをロードするFIFO手段の出力を
前記フォントアドレスの下位ビット部とし前記スキャン
ラインカウント手段の出力を前記フォントアドレスの上
位ビット部とするフォントアドレスバスを備えている。
Further, the font address generating means includes:
A font address bus is provided, wherein the output of the FIFO means for loading the character code to be displayed is the lower bit part of the font address and the output of the scan line counting means is the upper bit part of the font address.

【0022】[0022]

【発明の実施の形態】以下、この発明について図面を参
照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings.

【0023】図1は、この発明の画像表示装置の1実施
形態を示すブロック図である。図1を参照すると、この
実施形態の画像表示装置35は、従来の画像表示装置と
同じく、メモリインタフェース24,表示回路25,そ
の他を有し、ビデオメモリ37を構成するビデオメモリ
プレーン0,1に格納された表示データをアクセスおよ
びロードする。これら従来の画像表示装置と同じブロッ
クについて重複説明を省略する。
FIG. 1 is a block diagram showing one embodiment of the image display device of the present invention. Referring to FIG. 1, an image display device 35 according to this embodiment has a memory interface 24, a display circuit 25, and other components, as in a conventional image display device. Access and load stored display data. The same blocks as those of the conventional image display device will not be described repeatedly.

【0024】この実施形態の画像表示装置35は、さら
に、フォントデータ変換回路22,フォントアドレス生
成回路23とを備え、ビデオメモリにビデオメモリプレ
ーン3を加え、文字表示のスキャンラインを指定するス
キャンラインカウント手段の出力に対応して、ビデオメ
モリプレーン3の連続空間から各文字のフォントデータ
を表示データの1つとしてスキャンライン単位にスキャ
ンライン順に連続してアクセスおよびロードし、CRT
装置36に画像信号を出力している。
The image display device 35 of this embodiment further includes a font data conversion circuit 22 and a font address generation circuit 23. The video memory plane 3 is added to the video memory, and a scan line for specifying a scan line for character display is provided. Corresponding to the output of the counting means, the font data of each character is successively accessed and loaded from the continuous space of the video memory plane 3 as one of the display data in scan line units in scan line order,
The image signal is output to the device 36.

【0025】ここで、従来の画像表示装置と同じく、テ
キストモードにおいて、表示文字は、1文字について、
文字コード1バイト,属性コード1バイトで識別され、
ビデオメモリのプレーン0,プレーン1にそれぞれ格納
され、各文字のフォントデータは、ビデオメモリのプレ
ーン2の連続空間に文字テキストコード単位毎のスキャ
ンライン順に予め格納されているとする。また、ビデオ
メモリのプレーン3は、この実施形態の画像表示装置3
5において、ビデオメモリのプレーン2のフォントデー
タの格納変換領域として使用される。
Here, as in the conventional image display device, in the text mode, the display characters are as follows.
Identified by 1 byte character code and 1 byte attribute code,
It is assumed that the font data of each character is stored in the plane 0 and the plane 1 of the video memory, respectively, and the font data of each character is stored in advance in the continuous space of the plane 2 of the video memory in the scan line order for each character text code unit. The plane 3 of the video memory is the image display device 3 of this embodiment.
5 is used as a storage conversion area for font data of plane 2 of the video memory.

【0026】フォントデータ変換回路22は、システム
起動時もしくは非表示期間中に、他のビデオメモリのプ
レーン2の連続空間に文字テキストコード順に予め格納
された各文字のフォントデータを読み出しスキャンライ
ン単位に分解しスキャンライン単位に分割しスキャンラ
イン単位毎の文字テキストコード順にに変換してビデオ
メモリのプレーン3の連続空間に格納する。
The font data conversion circuit 22 reads out font data of each character previously stored in the continuous space of the plane 2 of the other video memory in the order of the character text code when the system is started or during the non-display period, and scans the data in units of scan lines. It is decomposed, divided into scan line units, converted into character text code order for each scan line unit, and stored in the continuous space of plane 3 of the video memory.

【0027】図2は、このフォントデータ変換回路22
の詳細構成例を示すブロック図である。このフォントデ
ータ変換回路22は、ソースアドレスカウンタ回路6,
ディストネーションアドレス変換回路4,フォントデー
タラッチ5とを備えている。ソースアドレスカウンタ回
路6は、さらに、ソースアドレスレジスタ2およびイン
クリメンタ3から構成され、0hから順にインクリメン
トされ、ビデオメモリのプレーン2の読出しアドレスを
順次生成する。また、フォントデータラッチ5は、ビデ
オメモリのプレーン2から読み出されたソースフォント
データをラッチしビデオメモリのプレーン3の書込みデ
ータであるディストネーションフォントデータを出力す
る。さらに、ディストネーションアドレス変換回路4
は、ビデオメモリのプレーン2の読出しアドレスをシフ
ト変換しビデオメモリのプレーン3の書込みアドレスと
して出力する。このとき、ビデオメモリのプレーン2の
読出しアドレスの中、文字表示のスキャンライン,文字
コードに対応する下位ビット部,上位ビット部を上位ビ
ット部,下位ビット部にシフト変換する。
FIG. 2 shows the font data conversion circuit 22.
FIG. 3 is a block diagram illustrating a detailed configuration example. The font data conversion circuit 22 includes a source address counter circuit 6,
A destination address conversion circuit 4 and a font data latch 5 are provided. The source address counter circuit 6 further includes a source address register 2 and an incrementer 3, and is sequentially incremented from 0h to sequentially generate a read address of the plane 2 of the video memory. The font data latch 5 latches source font data read from the plane 2 of the video memory and outputs destination font data which is write data of the plane 3 of the video memory. Further, the destination address conversion circuit 4
Shifts the read address of plane 2 of the video memory and outputs it as the write address of plane 3 of the video memory. At this time, in the read address of the plane 2 of the video memory, the scan line of the character display and the lower bit portion and the upper bit portion corresponding to the character code are shifted and converted into the upper bit portion and the lower bit portion.

【0028】また、このフォントデータ変換回路22に
おいて、ソースアドレスカウンタ回路6は0hから順に
インクリメントされ、フォントデータの変換は、プレー
ン2からソースフォントデータをリードしプレーン3へ
ディストネーションフォントデータをライトするという
作業を繰り返す。この作業をプレーン2の全フォントア
ドレス領域に対して行う。フォントデータの変換作業
は、システム起動時または表示ブランク中に変換作業を
行うようにCPUにより起動される。
In the font data conversion circuit 22, the source address counter circuit 6 is incremented sequentially from 0h, and the font data is converted by reading the source font data from the plane 2 and writing the destination font data to the plane 3. Is repeated. This operation is performed for all font address areas of plane 2. The font data conversion work is started by the CPU so as to perform the conversion work when the system is started or during display blanking.

【0029】図3は、このフォントデータ変換回路22
により変換されたプレーン3内のフォントデータの格納
形態を説明するための説明図である。全256種類の文
字フォントデータはスキャンライン順に格納されてい
る。従来の技術である図7の格納形態と対比させると解
りやすい。この格納形態では、全256種類の文字フォ
ントデータはスキャンライン単位に分割した形態で格納
されている。各文字フォントのスキャンライン0のフォ
ントデータは、プレーン3の先頭から連続する256バ
イトの領域に格納される。スキャンライン1は、次の連
続する256バイトの領域に格納される。このようにし
て、順にスキャンライン2,3,4という具合に、スキ
ャンライン31までのフォントデータが格納される。
FIG. 3 shows the font data conversion circuit 22.
FIG. 9 is an explanatory diagram for describing a storage format of font data in a plane 3 converted by the above-described method. All 256 types of character font data are stored in scan line order. It is easy to understand when compared with the storage form of FIG. 7 which is a conventional technique. In this storage form, all 256 types of character font data are stored in a form divided into scan lines. The font data of scan line 0 of each character font is stored in a continuous 256-byte area from the top of plane 3. Scan line 1 is stored in the next continuous 256-byte area. In this way, the font data up to the scan line 31 is stored in the order of the scan lines 2, 3, and 4.

【0030】このように、スキャンライン単位に分割し
て格納することにより、フォントデータのロード時にD
RAMの高速アクセスが使用できる。なぜならば、一般
的なDRAMアドレスは、ロウアドレスおよびカラムア
ドレスがそれぞれ9ビットであるから、その1ページの
大きさは512バイト(2の9乗)である。従って、同
一スキャンラインのフォントデータが256バイトであ
るから、2本分のスキャンラインのフォントデータが同
一ページに収まることができる。このことから、1本の
水平方向スキャンラインの表示を行う際、フォントデー
タのロードはDRAMの高速アクセスを使用することが
できる。
As described above, by storing the data in units of scan lines, the font data is loaded when the font data is loaded.
Fast access to RAM can be used. This is because a general DRAM address has a row address and a column address of 9 bits each, and the size of one page is 512 bytes (2 9). Therefore, since the font data of the same scan line is 256 bytes, the font data of two scan lines can fit in the same page. For this reason, when displaying one horizontal scan line, the font data can be loaded using the high-speed access of the DRAM.

【0031】フォントアドレス生成回路23は、このD
RAMの高速アクセスにより各文字のフォントデータを
表示データの1つとしてアクセスおよびロードすると
き、ビデオメモリのプレーン3に格納されたフォントデ
ータのフォントアドレスをスキャンライン単位毎の文字
テキストコード順に生成する。
The font address generation circuit 23 uses the D
When accessing and loading the font data of each character as one of the display data by the high-speed access of the RAM, the font address of the font data stored in the plane 3 of the video memory is generated in the order of the character text code for each scan line unit.

【0032】図4は、このフォントアドレス生成回路2
3の詳細構成例を示すブロック図である。このフォント
アドレス生成回路23は、8文字分の文字コードを格納
するFIFO15,スキャンラインカウンタ回路7とを
有し、FIFO15の出力をフォントアドレスの下位ビ
ット部としスキャンラインカウンタ回路7の出力をフォ
ントアドレスの上位ビット部とするフォントアドレスバ
スを備えている。スキャンラインカウンタ回路7は、さ
らに、文字縦幅レジスタ9,コンパレータ10,インク
リメンタ11,マルチプレクサ13,スキャンラインレ
ジスタ14などから構成され、表示文字の縦方向のスキ
ャンライン値の信号を出力する。例えば、8×16のフ
ォントデータの場合、スキャンラインカウンタ7は、0
hからインクリメントし15hまでカウントアップ後ま
た0hに戻る。このとき、文字縦幅レジスタ9は、15
hに設定される。同一スキャンラインのフォントアドレ
スは、文字コードの部分である下位8ビットのみ変化す
ることになるので、同一スキャンラインのフォントアド
レスは、256バイトの範囲で変化する。このフォント
アドレスは、DRAMの高速アクセスシーケンスに直さ
れてビデオメモリのデータアクセスに用いられる。
FIG. 4 shows the font address generation circuit 2
FIG. 3 is a block diagram showing a detailed configuration example of No. 3; The font address generation circuit 23 has a FIFO 15 for storing character codes for eight characters and a scan line counter circuit 7, and uses the output of the FIFO 15 as the lower bit part of the font address and outputs the output of the scan line counter circuit 7 to the font address. And a font address bus as an upper bit portion of The scan line counter circuit 7 further includes a character vertical width register 9, a comparator 10, an incrementer 11, a multiplexer 13, a scan line register 14, and the like, and outputs a signal of a vertical scan line value of a display character. For example, in the case of 8 × 16 font data, the scan line counter 7 indicates 0
Increment from h, count up to 15h and return to 0h again. At this time, the character vertical width register 9 stores 15
h. Since the font address of the same scan line changes only in the lower 8 bits that are the character code portion, the font address of the same scan line changes within a range of 256 bytes. This font address is converted into a high-speed access sequence of the DRAM and used for data access of the video memory.

【0033】図5は、この実施形態の画像表示装置の動
作例を示す波形図であり、ビデオメモリへのアクセスタ
イミングを示す。始めに、8文字分の文字コードと属性
コードをビデオメモリからロードする。次に、8文字分
の文字コードのフォントデータのロードを行う。フォン
トデータは、スキャンライン単位に連続した256バイ
トのビデオメモリ領域に格納されているため、常に、D
RAMの高速アクセスを使用してロードすることができ
る。この8文字分の文字コード,属性コード,フォント
データのロードの作業を、80桁×25行モードの例で
は、1水平方向スキャンライン中に10回繰り返す。こ
のように、表示データである文字コード,属性コード,
フォントデータのロードが全てDRAMの高速アクセス
を使用して実行されるため、ロードに要する時間は、従
来と比較して約2分の1に短縮される。
FIG. 5 is a waveform diagram showing an operation example of the image display device of this embodiment, and shows the timing of access to the video memory. First, eight character codes and attribute codes are loaded from the video memory. Next, font data of character codes for eight characters is loaded. Since the font data is stored in a 256-byte video memory area that is continuous for each scan line,
It can be loaded using fast access to RAM. The operation of loading the character codes, attribute codes, and font data for eight characters is repeated 10 times in one horizontal scan line in the example of the 80-digit × 25-line mode. In this way, the display data character code, attribute code,
Since all the loading of the font data is performed using the high-speed access of the DRAM, the time required for the loading is reduced to about one half compared with the related art.

【0034】なお、この実施形態の画像表示装置の変形
例として、ビデオメモリ36のプレーン2には偶数スキ
ャンラインのフォントデータを格納し、ビデオメモリ3
6のプレーン3には奇数スキャンラインのフォントデー
タを格納することもできる。図6は、この変形例におけ
るビデオメモリ36のプレーン2,3内のフォントデー
タの格納形態を説明するための説明図である。この格納
形態では、1つのフォントアドレスへに対してのアクセ
スにより、偶数スキャンラインおよび奇数スキャンライ
ンの2本のスキャンラインのフォントデータをロードす
ることができる。従って、毎スキャンラインごとにフォ
ントデータをロードする必要はなく、2スキャンライン
ごとに一度ロードを行えばよい。この変形例では、本実
施例と比較して表示データのロードに伴うビデオメモリ
へのアクセス回数を2分の1に削減できるため消費電力
を少なくすることができる。
As a modification of the image display device of this embodiment, font data of an even scan line is stored in the plane 2 of the video memory 36,
6 plane 3 can store font data of odd scan lines. FIG. 6 is an explanatory diagram for describing a storage format of font data in planes 2 and 3 of video memory 36 in this modified example. In this storage mode, font data of two scan lines, an even scan line and an odd scan line, can be loaded by accessing one font address. Therefore, it is not necessary to load the font data every scan line, and it is sufficient to load the font data once every two scan lines. In this modified example, the number of accesses to the video memory accompanying the loading of the display data can be reduced by half compared to the present embodiment, so that the power consumption can be reduced.

【0035】[0035]

【発明の効果】以上述べたように、この発明による画像
表示装置は、表示データのロード時間を短縮することが
できる効果がある。また、これにより、高解像度でのテ
キスト表示に対処できるなどの効果がある。
As described above, the image display device according to the present invention has an effect that the load time of display data can be reduced. In addition, there is an effect that text display at a high resolution can be dealt with.

【0036】その理由は、スキャンライン単位毎の文字
テキストコード順にフォントデータを格納変換すること
により、水平方向スキャンラインの表示時のフォントデ
ータが、DRAMのランダムアクセスではなく常にDR
AMの高速アクセスにより読み出されロードできるから
である。
The reason is that by storing and converting font data in the order of the character text code for each scan line, the font data at the time of display of the horizontal scan line is always DR rather than random access of the DRAM.
This is because reading and loading can be performed by high-speed access of the AM.

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

【図1】本発明の画像表示装置の1実施形態を示す部分
ブロック図である。
FIG. 1 is a partial block diagram illustrating an embodiment of an image display device of the present invention.

【図2】図1の画像表示装置におけるフォントデータ変
換回路の構成例を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration example of a font data conversion circuit in the image display device of FIG. 1;

【図3】図2のフォントデータ変換回路により変換され
たビデオメモリ内フォントデータ格納形態を説明するた
めの説明図である。
FIG. 3 is an explanatory diagram for describing a storage format of font data in a video memory converted by the font data conversion circuit of FIG. 2;

【図4】図1の画像表示装置におけるフォントアドレス
生成回路の構成例を示すブロック図である。
FIG. 4 is a block diagram illustrating a configuration example of a font address generation circuit in the image display device of FIG. 1;

【図5】図1の画像表示装置の動作例を示す波形図であ
る。
FIG. 5 is a waveform chart showing an operation example of the image display device of FIG. 1;

【図6】図1の実施形態の変形例によるビデオメモリ内
フォントデータ格納形態を説明するための説明図であ
る。
FIG. 6 is an explanatory diagram for explaining a font data storage form in a video memory according to a modification of the embodiment of FIG. 1;

【図7】従来の画像表示装置によるビデオメモリ内フォ
ントデータ格納形態を説明するための説明図である。
FIG. 7 is an explanatory diagram for describing a font data storage form in a video memory by a conventional image display device.

【図8】従来の画像表示装置の動作例を示す波形図であ
る。
FIG. 8 is a waveform chart showing an operation example of a conventional image display device.

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

1 ビデオメモリプレーン3のフォントアドレス 2 ソースアドレスレジスタ 3 インクリメンタ 4 ディストネーションアドレス変換回路 5 フォントデータラッチ 6 ソースアドレスカウンタ回路 7 スキャンラインカウンタ回路 9 文字縦幅レジスタ 10 コンパレータ 11 インクリメンタ 12 コンスタント値0h 13 マルチプレクサ 14 スキャンラインレジスタ 15 文字コードFIFO 16 文字コードおよび属性コードのロウアドレス 17 文字コードおよび属性コードのカラムアドレス 18 文字コードおよび属性コードのリードデータ 19 フォントデータのロウアドレス 20 フォントデータのカラムアドレス 21 フォントデータのリードデータ 22 フォントデータ変換回路 24 メモリインタフェース 25 表示回路 26 文字コード 27 属性コード 28 ビデオメモリプレーン2のフォントアドレス 29 文字コードおよび属性コードのロウアドレス 30 文字コードおよび属性コードのカラムアドレス 31 文字コードおよび属性コードのリードデータ 32 フォントデータのロウアドレス 33 フォントデータのカラムアドレス 34 フォントデータのリードデータ 35 画像表示装置 36 ビデオメモリ 37 CRT装置 1 Font address of video memory plane 3 2 Source address register 3 Incrementer 4 Destination address conversion circuit 5 Font data latch 6 Source address counter circuit 7 Scan line counter circuit 9 Character vertical width register 10 Comparator 11 Incrementer 12 Constant value 0h 13 Multiplexer 14 Scan line register 15 Character code FIFO 16 Row address of character code and attribute code 17 Column address of character code and attribute code 18 Read data of character code and attribute code 19 Row address of font data 20 Column address of font data 21 Font Data read data 22 Font data conversion circuit 24 Memory interface 25 Display circuit 26 Character code 27 Attribute code 28 Font address of video memory plane 2 29 Row address of character code and attribute code 30 Column address of character code and attribute code 31 Read data of character code and attribute code 32 Row address of font data 33 Font data Column address 34 Read data of font data 35 Image display device 36 Video memory 37 CRT device

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 文字表示のスキャンラインを指定するス
キャンラインカウント手段の出力に対応して、ビデオメ
モリプレーンの連続空間から各文字のフォントデータを
表示データの1つとしてスキャンライン単位毎の文字テ
キストコード順に連続してアクセスおよびロードし、画
像信号を出力する画像表示装置。
In accordance with an output of a scan line counting means for designating a scan line for character display, font data of each character from a continuous space of a video memory plane is set as one of display data as character text for each scan line unit. An image display device that continuously accesses and loads in code order and outputs an image signal.
【請求項2】 システム起動時または非表示期間中に、
他のビデオメモリプレーンの連続空間に文字テキストコ
ード単位毎のスキャンライン順に予め格納された前記各
文字のフォントデータを読み出しスキャンライン単位に
分解しスキャンライン単位毎の文字テキストコード順に
変換して前記ビデオメモリプレーンの連続空間に格納す
るフォントデータ変換手段と、前記各文字のフォントデ
ータを表示データの1つとしてアクセスおよびロードす
るとき、前記ビデオメモリプレーンに格納されたフォン
トデータのフォントアドレスをスキャンライン単位毎の
文字テキストコード順に生成するフォントアドレス生成
手段と、を備える、請求項1記載の画像表示装置。
2. During system startup or during a non-display period,
The font data of each character previously stored in the continuous space of another video memory plane in the scan line order for each character text code unit is read out, decomposed in scan line units, converted into the character text code order for each scan line unit, and converted to the video data order in the scan line unit. A font data converting means for storing the font data of each character in the continuous space of the memory plane, and a font address of the font data stored in the video memory plane when accessing and loading the font data as one of the display data on a scan line basis. The image display device according to claim 1, further comprising: a font address generation unit that generates a character text code for each character.
【請求項3】 前記フォントデータ変換手段が、前記他
のビデオメモリプレーンの読出しアドレスをシフト変換
し前記ビデオメモリプレーンの書込みアドレスとして出
力するアドレス変換回路を備える、請求項2記載の画像
表示装置。
3. The image display device according to claim 2, wherein said font data conversion means comprises an address conversion circuit for shift-converting a read address of said another video memory plane and outputting it as a write address of said video memory plane.
【請求項4】 前記フォントアドレス生成手段が、表示
する文字コードをロードするFIFO手段の出力を前記
フォントアドレスの下位ビット部とし前記スキャンライ
ンカウント手段の出力を前記フォントアドレスの上位ビ
ット部とするフォントアドレスバスを備える、請求項2
記載の画像表示装置。
4. A font in which the font address generating means sets an output of a FIFO means for loading a character code to be displayed as a lower bit part of the font address and an output of the scan line counting means as an upper bit part of the font address. 3. An address bus, comprising:
The image display device as described in the above.
JP8315120A 1996-11-26 1996-11-26 Image display device Pending JPH10161638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8315120A JPH10161638A (en) 1996-11-26 1996-11-26 Image display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8315120A JPH10161638A (en) 1996-11-26 1996-11-26 Image display device

Publications (1)

Publication Number Publication Date
JPH10161638A true JPH10161638A (en) 1998-06-19

Family

ID=18061655

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8315120A Pending JPH10161638A (en) 1996-11-26 1996-11-26 Image display device

Country Status (1)

Country Link
JP (1) JPH10161638A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007114489A (en) * 2005-10-20 2007-05-10 Fujitsu Ltd Image display device and its control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007114489A (en) * 2005-10-20 2007-05-10 Fujitsu Ltd Image display device and its control method
EP1806732A2 (en) 2005-10-20 2007-07-11 Fujitsu Limited Image display system and control method therefor
US7975081B2 (en) 2005-10-20 2011-07-05 Fujitsu Semiconductor Limited Image display system and control method therefor

Similar Documents

Publication Publication Date Title
US4742344A (en) Digital display system with refresh memory for storing character and field attribute data
CA1225480A (en) Band buffer display system
US4485378A (en) Display control apparatus
US5539428A (en) Video font cache
US5670993A (en) Display refresh system having reduced memory bandwidth
JPS6049391A (en) Raster scan display system
JPS62269989A (en) Display controller
EP0215984B1 (en) Graphic display apparatus with combined bit buffer and character graphics store
EP0658858B1 (en) Graphics computer
EP0525986B1 (en) Apparatus for fast copying between frame buffers in a double buffered output display system
JPH0613224B2 (en) Font inclusion method
US4937565A (en) Character generator-based graphics apparatus
JPS5912176B2 (en) Cursor circuit for digital television display
US5818433A (en) Grapics memory apparatus and method
US5555460A (en) Method and apparatus for providing a reformatted video image to a display
JPH10161638A (en) Image display device
US5309560A (en) Data selection device
US4941110A (en) Memory saving arrangement for displaying raster test patterns
JPH071425B2 (en) Raster scan display system
US7009617B2 (en) On-screen display device
JPS6057075B2 (en) display device
US20050030428A1 (en) On-screen display device
JPS6364798B2 (en)
JPH04146488A (en) Display method for raster scan type display device
JPH036510B2 (en)

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19991019