JPH07219514A - Image display controller - Google Patents

Image display controller

Info

Publication number
JPH07219514A
JPH07219514A JP6010481A JP1048194A JPH07219514A JP H07219514 A JPH07219514 A JP H07219514A JP 6010481 A JP6010481 A JP 6010481A JP 1048194 A JP1048194 A JP 1048194A JP H07219514 A JPH07219514 A JP H07219514A
Authority
JP
Japan
Prior art keywords
address
vram
kanji
image
input terminal
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
JP6010481A
Other languages
Japanese (ja)
Inventor
Hiroshi Asada
弘 浅田
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 JP6010481A priority Critical patent/JPH07219514A/en
Publication of JPH07219514A publication Critical patent/JPH07219514A/en
Pending legal-status Critical Current

Links

Landscapes

  • Liquid Crystal Display Device Control (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To effectively perform the expansion of character pattern data into an image storage means, to enable performing the display of an image at high speed and also to enable reducing the load on a software processing with this expansion. CONSTITUTION:At the time of expanding KANJI (Chinese character) patterns stored in a KANJI ROM 2 into a VRAM 3, an MPU 1 simply performs increments of KANJI addresses to be given to the KANJI ROM 2 and VRAM addresses to be given to the VRAM 3. At this time, a VRAM address is transformed into a VRAM address corresponding to a storage area in which dot data outputted from the KANJI ROM 2 in accordance with a KANJI address being outputted by the MPU 1 in an address transforming circuit 6 and supplied to the VRAM 3.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えばディジタルPB
Xに適用され、メッセージなどを示す画像をLCDなど
の表示器に表示させるための画像表示制御装置に関す
る。
BACKGROUND OF THE INVENTION The present invention relates to, for example, a digital PB.
The present invention relates to an image display control device which is applied to X and causes an image such as a message to be displayed on a display device such as an LCD.

【0002】[0002]

【従来の技術】ディジタルPBXにおいては、LCDな
どの表示器を設け、ユーザに対する各種のメッセージ表
示を行う場合がある。図9はこのようなメッセージ表示
を行うための画像表示制御装置の従来の構成例を示す機
能ブロック図である。この画像表示制御装置において
は、MPU1の制御のもとに、漢字ROM2に登録され
た多数の漢字パターンのうちの任意のものをビデオRA
M(VRAM)3の任意の位置に展開することにより、
メッセージを示す画像データをVRAM3上に作成す
る。そしてLCDコントローラ4がVRAM3に格納さ
れた画像データに基づいてLCD5を駆動することによ
り、LCD5の画面上にメッセージを示す画像が表示さ
れる。
2. Description of the Related Art In a digital PBX, a display device such as an LCD may be provided to display various messages to the user. FIG. 9 is a functional block diagram showing a conventional configuration example of an image display control device for displaying such a message. In this image display control device, under the control of the MPU 1, any one of a large number of kanji patterns registered in the kanji ROM 2 can be video RA.
By expanding to any position of M (VRAM) 3,
Image data showing a message is created on the VRAM 3. Then, the LCD controller 4 drives the LCD 5 based on the image data stored in the VRAM 3, so that an image showing a message is displayed on the screen of the LCD 5.

【0003】ところで漢字ROM2は一般に、各漢字パ
ターンのビットイメージ情報(例えば16×16ドット構成
・32バイト)を図10に示すようなアドレスで収容して
ある。そして通常は、MPU1のアドレスA0〜A5
が、漢字ROM2のアドレスA0〜A3,A15,A1
6としてそれぞれ与えられている。すなわち漢字ROM
2においては、MPU1がアドレスを単純にインクリメ
ントした場合、行増加方向に読出しがなされる。
By the way, the Kanji ROM 2 generally stores bit image information (for example, 16 × 16 dot structure / 32 bytes) of each Kanji pattern at an address as shown in FIG. And, normally, the addresses A0 to A5 of the MPU 1 are
But the addresses A0-A3, A15, A1 of the Kanji ROM2
Each is given as 6. Ie Kanji ROM
In 2, when the MPU 1 simply increments the address, reading is performed in the row increasing direction.

【0004】一方VRAM4は、例えば図11に示すよ
うに64バイト×256の記憶領域を有したSRAMが
用いられる。そしてこの64バイト×256の記憶領域
のうち、LCD5の画素数(例えば320×240)に
対応する40バイト×240の記憶領域を用い、LCD
5の1ドットに対して1ビットのデータを記憶するもの
となっている。このVRAM4のアドレスは、MPU1
のアドレス空間に配置された場合、列増加方向に配置さ
れている。
On the other hand, as the VRAM 4, for example, an SRAM having a storage area of 64 bytes × 256 as shown in FIG. 11 is used. Then, of the 64 bytes × 256 storage area, a 40 bytes × 240 storage area corresponding to the number of pixels of the LCD 5 (for example, 320 × 240) is used to display the LCD.
One dot of 5 stores one bit of data. The address of this VRAM4 is MPU1
When it is arranged in the address space of, it is arranged in the column increasing direction.

【0005】このように、漢字ROM2とVRAM3と
は、アドレスの配置方向が互いに異なっている。このた
め、MPU1はある漢字パターンをVRAM3の1行1
列に展開する場合には、まず漢字の種類を識別するため
の上位アドレスAn 〜A5 を求めた上で、当該漢字パタ
ーンの各ビットを指定するための下位アドレスA4 〜A
0 を“00H ”〜“1FH ”の範囲でインクリメントし
つつ、以下の対応でVRAM3への書き込みを行う。
As described above, the Kanji ROM 2 and the VRAM 3 are different from each other in the address arrangement direction. Therefore, the MPU 1 uses a certain kanji pattern for each line 1 of the VRAM 3.
When expanding to a column, first, upper addresses A n to A 5 for identifying the type of Kanji are obtained, and then lower addresses A 4 to A for designating each bit of the Kanji pattern.
While incrementing the range of 0 to "00 H" ~ "1F H ", writing to VRAM3 following correspondence.

【0006】 漢字パターンアドレス“00H ” → VRAMアドレス“000H ” 漢字パターンアドレス“01H ” → VRAMアドレス“040H ” 漢字パターンアドレス“02H ” → VRAMアドレス“080H ” : : 漢字パターンアドレス“0FH ” → VRAMアドレス“3C0H ” 漢字パターンアドレス“10H ” → VRAMアドレス“001H ” : : 漢字パターンアドレス“1FH ” → VRAMアドレス“3C1H ” 従って、MPU1は、1つの漢字パターンを展開するた
めに、 (1) レジスタBC←漢字ROMパターン左側の先頭アド
レス[LD BC,nn ] (2) HLレジスタ←VRAMのアドレス[LD HL,4000
H ] (3) DEレジスタ←アドレス増加40H [LD DE,40H ] (4) ・Aレジスタ←BCレジスタが示す漢字ROMアド
レス[LD A,(BC) ] ・HLレジが示すVRAMエリア←Aレジスタが示すア
ドレスの漢字パターンデータ[LD (HL),A ] ・漢字ROMアドレスを更新(+1)[INC BC] ・VRAMアドレスを次のアドレス(4040H )に設
定[ADD HL,DE ] ・(4) の最初に戻り、これを16回繰り返す(漢字パタ
ーン左側の書き込み) (5) ・HLレジスタ←VRAMのアドレス[LD HL,4001
H ] ・(4) と同様のシーケンスを16回繰り返す(漢字パタ
ーン右側の書き込み) なるシーケンスで処理を行う必要がある。すなわち、合
計32回ものアドレス計算および転送処理を行わなけれ
ばならない。このため、展開処理に多くの時間を必要と
し、画面表示速度が低下するとともに、ソフトウェア処
理上の大きな負担となっている。
Kanji pattern address “00 H ” → VRAM address “000 H ” Kanji pattern address “01 H ” → VRAM address “040 H ” Kanji pattern address “02 H ” → VRAM address “080 H ” :: Kanji pattern address “0F H ” → VRAM address “3C0 H ” Kanji pattern address “10 H ” → VRAM address “001 H ”: Kanji pattern address “1F H ” → VRAM address “3C1 H ” Therefore, MPU1 has one Kanji pattern (1) Register BC ← Kanji ROM pattern left side start address [LD BC, nn] (2) HL register ← VRAM address [LD HL, 4000
H ] (3) DE register ← Increase address 40 H [LD DE, 40 H ] (4) ・ A register ← Kanji ROM address indicated by BC register [LD A, (BC)] ・ VRAM area indicated by HL register ← A Kanji pattern data at the address indicated by the register [LD (HL), a] · Kanji ROM updating the address (+1) [INC BC] · VRAM address set to the next address (4040 H) [ADD HL, DE] · ( Return to the beginning of 4) and repeat this 16 times (writing the left side of the kanji pattern) (5) ・ HL register ← VRAM address [LD HL, 4001
H ] ・ It is necessary to perform the processing in the sequence of repeating the same sequence as (4) 16 times (writing the right side of the Chinese character pattern). That is, a total of 32 times of address calculation and transfer processing must be performed. For this reason, a lot of time is required for the expansion processing, the screen display speed is reduced, and a heavy load is imposed on the software processing.

【0007】[0007]

【発明が解決しようとする課題】以上のように従来の画
像表示制御装置では、1つのキャラクタを表示するため
にアドレス計算および転送処理を多数回行わなければな
らないために、画面表示速度が低下するとともに、ソフ
トウェア処理上の大きな負担となるという不具合があっ
た。
As described above, in the conventional image display control device, since the address calculation and the transfer process must be performed many times in order to display one character, the screen display speed decreases. At the same time, there is a problem that it imposes a heavy burden on software processing.

【0008】本発明はこのような事情を考慮してなされ
たものであり、その目的とするところは、キャラクタパ
ターンデータの画像記憶手段への展開を効率的に行うこ
とができ、これにより高速に画像の表示を行うことが可
能で、かつソフトウェア処理上の負担も軽減することが
できる画像表示制御装置を提供することにある。
The present invention has been made in consideration of such circumstances, and an object of the present invention is to efficiently develop character pattern data in an image storage means, which enables high speed operation. An object of the present invention is to provide an image display control device capable of displaying an image and reducing the load on software processing.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に本発明は、多数のドットデータの配列によりなる例え
ば漢字パターンなどのキャラクタパターンデータを予め
記憶し指定された第1アドレス(漢字アドレス)に対応
するドットデータを出力する例えば漢字ROMなどのキ
ャラクタ記憶手段と、画像データを構成する多数のドッ
トデータのそれぞれを記憶するための多数の記憶領域を
有し与えられるドットデータを指定された第2アドレス
(VRAMアドレス)に対応する記憶領域に記憶する例
えばビデオRAMなどの画像記憶手段と、前記第1アド
レスおよび前記第2アドレスを所定の順序で変化させつ
つ前記キャラクタ記憶手段に記憶されたキャラクタデー
タのドットデータを前記画像記憶手段に順次転送させる
例えばMPUなどの転送制御手段と、この転送制御手段
が発生している第2アドレスを、転送制御手段が発生し
ている第1アドレスに応じて前記キャラクタ記憶手段か
ら出力されるドットデータを格納すべき記憶領域に対応
する第3アドレス(VRAMアドレス)に変換して前記
画像記憶手段に与える例えば4つのセレクタから構成さ
れたアドレス変換回路などのアドレス変換手段とを具備
した。
In order to achieve the above object, the present invention provides a first address (kanji address) designated by pre-storing character pattern data such as a kanji pattern formed of an array of a large number of dot data. Character data storage means for outputting dot data corresponding to, for example, a kanji ROM, and a large number of storage areas for storing a large number of dot data constituting image data, and designated dot data to be given. An image storage means such as a video RAM which is stored in a storage area corresponding to two addresses (VRAM address), and a character stored in the character storage means while changing the first address and the second address in a predetermined order. For sequentially transferring dot data of data to the image storage means, such as MPU The transfer control means and the second address generated by the transfer control means are stored in a storage area for storing the dot data output from the character storage means in accordance with the first address generated by the transfer control means. It is provided with an address conversion unit such as an address conversion circuit composed of, for example, four selectors for converting the corresponding third address (VRAM address) and giving it to the image storage unit.

【0010】[0010]

【作用】このような手段を講じたことにより、転送制御
手段がキャラクタ記憶手段に記憶されたキャラクタデー
タを画像記憶手段に転送させるべく第1アドレスおよび
前記第2アドレスを所定の順序で変化させると、アドレ
ス変換手段により第2アドレスが、第1アドレスに応じ
て前記キャラクタ記憶手段から出力されるドットデータ
を格納すべき記憶領域に対応する第3アドレスに変換さ
れて前記画像記憶手段に与えられる。
By taking such means, the transfer control means changes the first address and the second address in a predetermined order in order to transfer the character data stored in the character storage means to the image storage means. The address conversion means converts the second address into a third address corresponding to a storage area in which the dot data output from the character storage means is to be stored according to the first address and is supplied to the image storage means.

【0011】従って、転送制御手段では、第1アドレス
および前記第2アドレスを単純にインクリメントして行
くことにより、キャラクタ記憶手段に記憶されたキャラ
クタデータを画像記憶手段に転送され、所望とする状態
で画像記憶手段に展開される。
Therefore, in the transfer control means, the character data stored in the character storage means is transferred to the image storage means by simply incrementing the first address and the second address, and in a desired state. It is expanded in the image storage means.

【0012】[0012]

【実施例】以下、図面を参照して本発明の一実施例につ
き説明する。図1は本実施例に係る画像表示制御装置を
適用して構成された画像表示装置の構成を示す機能ブロ
ック図である。なお図9と同一部分には同一符号を付
し、その詳細な説明は省略する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram showing the configuration of an image display device configured by applying the image display control device according to the present embodiment. The same parts as those in FIG. 9 are designated by the same reference numerals, and detailed description thereof will be omitted.

【0013】この画像表示装置は、MPU1、漢字RO
M2、ビデオRAM(VRAM)3、LCDコントロー
ラ4、LCD5およびアドレス変換回路6より構成され
ている。
This image display device includes an MPU 1 and a Chinese character RO.
It is composed of an M2, a video RAM (VRAM) 3, an LCD controller 4, an LCD 5 and an address conversion circuit 6.

【0014】図2乃至図5は具体的な構成を示す回路図
であり、図2は全体の構成を示す回路図、図3は図2中
の漢字ROM2の部分を拡大して示す図、図4は図2中
のVRAM3およびLCDコントローラ4の部分を拡大
して示す図、図5は図2中のLCDコントローラ4およ
びアドレス変換回路6の部分を拡大して示す図である。
2 to 5 are circuit diagrams showing a concrete structure, FIG. 2 is a circuit diagram showing the whole structure, and FIG. 3 is an enlarged view showing a portion of the Kanji ROM 2 in FIG. 4 is an enlarged view of the VRAM 3 and LCD controller 4 in FIG. 2, and FIG. 5 is an enlarged view of the LCD controller 4 and address conversion circuit 6 in FIG.

【0015】これらの図に示すように、MPU1には既
製のZ80(商標名:ザイログ社)が適用されている。
また漢字ROM2、VRAM3およびLCDコントロー
ラ4には、それぞれ既製の集積回路(IC10、IC2
7、IC26)が適用されている。そしてMPU1は、
漢字ROM2、VRAM3、プログラムROM(図示せ
ず)およびデータスタッフRAM(図示せず)を図6に
示すようなアドレスで管理している。
As shown in these figures, a ready-made Z80 (trade name: Zylog Co.) is applied to the MPU 1.
The kanji ROM2, VRAM3, and LCD controller 4 are provided with ready-made integrated circuits (IC10, IC2, respectively).
7, IC26) is applied. And MPU1
The Chinese character ROM 2, VRAM 3, program ROM (not shown) and data stuff RAM (not shown) are managed by addresses as shown in FIG.

【0016】アドレス変換回路6は図2および図5に示
すように、それぞれセレクタとして機能する4つの既製
の集積回路(IC22,IC23,IC24,IC2
5)を主体として構成されている。そしてMPU1がV
RAM3に対して出力するVRAMアドレス(16ビッ
トパラレル)の各ビットA0〜A15は、以下のように
IC22〜25に入力されている。
As shown in FIGS. 2 and 5, the address conversion circuit 6 includes four ready-made integrated circuits (IC22, IC23, IC24, IC2) which respectively function as selectors.
5) is the main constituent. And MPU1 is V
Bits A0 to A15 of the VRAM address (16-bit parallel) output to the RAM 3 are input to the ICs 22 to 25 as follows.

【0017】ビットA0 :IC25の入力端子1Aお
よびIC24の入力端子3B ビットA1 :IC25の入力端子2AおよびIC24
の入力端子4B ビットA2 :IC25の入力端子3AおよびIC23
の入力端子1B ビットA3 :IC25の入力端子4AおよびIC23
の入力端子2B ビットA4 :IC24の入力端子1AおよびIC23
の入力端子3B ビットA5 :IC24の入力端子2AおよびIC23
の入力端子4B ビットA6 :IC24の入力端子3AおよびIC22
の入力端子1B ビットA7 :IC24の入力端子4AおよびIC22
の入力端子2B ビットA8 :IC23の入力端子1AおよびIC25
の入力端子1B ビットA9 :IC23の入力端子2AおよびIC25
の入力端子2B ビットA10:IC23の入力端子3AおよびIC25
の入力端子3B ビットA11:IC23の入力端子4AおよびIC25
の入力端子4B ビットA12:IC22の入力端子1AおよびIC24
の入力端子1B ビットA13:IC22の入力端子2AおよびIC24
の入力端子2B ビットA14:IC22の入力端子3AおよびIC22
の入力端子3B ビットA15:IC22の入力端子4AおよびIC22
の入力端子4B またIC22〜25のそれぞれのセレクト信号入力端子
Sには、MPU1のI/Oアドレス上に配置されたレジ
スタから出力される信号LCDADCHGの論理をIC36中の
NORゲート36aにより反転した信号とMPU1から
出力される信号/MRQとのNORをとるIC36中のNO
Rゲート36bの出力が与えられている。
Bit A0: Input terminal 1A of IC25 and input terminal 3B of IC24 Bit A1: Input terminal 2A and IC24 of IC25
Input terminal 4B of A25: input terminal 3A of IC25 and IC23
Input terminal 1B of A3: Input terminal 4A of IC25 and IC23
Input terminal 2B of A24: Input terminal 1A of IC24 and IC23
Input terminal 3B of IC A2: Input terminal 2A of IC24 and IC23
Input terminal 4B of IC 24: Bit A6: Input terminal 3A of IC24 and IC22
Input terminal 1B of A24: Input terminal 4A of IC24 and IC22
Input terminal 2B of A23: input terminal 1A of IC23 and IC25
Input terminal 1B of IC A2: Input terminal 2A of IC23 and IC25
Input terminal 2B of A23: input terminal 3A of IC23 and IC25
Input terminal 3B of bit A11: Input terminal 4A of IC23 and IC25
Input terminal 4B of bit A12: Input terminal 1A of IC22 and IC24
Input terminal 1B of IC A2: Input terminal 2A of IC22 and IC24
Input terminal 2B of A22: input terminal 3A of IC22 and IC22
Input terminal 3B of A22: Input terminal 4A of IC22 and IC22
The input terminal 4B of the IC 22 to the select signal input terminal S of each of the ICs 22 to 25 is a signal obtained by inverting the logic of the signal LCDADCHG output from the register arranged on the I / O address of the MPU 1 by the NOR gate 36a in the IC 36. NO in IC36 that takes the NOR of the signal output from / MPU1 and MRQ
The output of the R gate 36b is given.

【0018】そしてIC22〜25のそれぞれの出力端
子は、以下のような対応関係でLCDコントローラ4
(IC26)の入力端子に接続されている。 IC25の出力端子1Y:IC26の入力端子AB0 IC25の出力端子2Y:IC26の入力端子AB1 IC25の出力端子3Y:IC26の入力端子AB2 IC25の出力端子4Y:IC26の入力端子AB3 IC24の出力端子1Y:IC26の入力端子AB4 IC24の出力端子2Y:IC26の入力端子AB5 IC24の出力端子3Y:IC26の入力端子AB6 IC24の出力端子4Y:IC26の入力端子AB7 IC23の出力端子1Y:IC26の入力端子AB8 IC23の出力端子2Y:IC26の入力端子AB9 IC23の出力端子3Y:IC26の入力端子AB10 IC23の出力端子4Y:IC26の入力端子AB11 IC22の出力端子1Y:IC26の入力端子AB12 IC22の出力端子2Y:IC26の入力端子AB13 IC22の出力端子3Y:IC26の入力端子AB14 IC22の出力端子4Y:IC26の入力端子AB15 次に以上のように構成された画像表示装置の動作を説明
する。
The output terminals of each of the ICs 22 to 25 have the following correspondence relationship with the LCD controller 4
It is connected to the input terminal of (IC26). Output terminal 1Y of IC25: Input terminal AB0 of IC26 Output terminal 2Y of IC25: Input terminal AB1 of IC26 Output terminal 3Y of IC25 3Y: Input terminal AB2 of IC26 Output terminal 4Y of IC25 4Y: Input terminal AB3 of IC26 Output terminal 1Y of IC24: Input terminal AB4 of IC26 Output terminal 2Y of IC24: Input terminal AB5 of IC26 Output terminal 3Y of IC24 3Y: Input terminal AB6 of IC26 Output terminal 4Y of IC24 4Y: Input terminal AB7 of IC26 Output terminal 1Y of IC23: Input terminal AB8 of IC26 IC23 Output terminal 2Y: input terminal AB9 of IC26 output terminal 3Y of IC23: input terminal AB10 of IC26 output terminal 4Y of IC23 4Y: input terminal AB11 of IC26 output terminal 1Y of IC22: input terminal AB12 of IC26 output terminal 2Y of IC22: IC 26 input terminal AB13 output terminal 3Y of IC22: input terminal AB14 of IC26 output terminal 4Y of IC22: input terminal AB15 of IC26 Next, the operation of the image display device configured as described above will be described.

【0019】まずアドレス変換回路6におけるアドレス
変換処理につき説明する。IC22〜25のそれぞれの
セレクト信号入力端子Sには、NORゲート36bの出
力信号が共通に入力されている。従って、IC22〜2
5は、A側の入力端子1A〜4A(NORゲート36b
の出力信号が“L”レベルのとき)またはB側の入力端
子1B〜4B(NORゲート36bの出力信号が“H”
レベルのとき)を同時に選択する。
First, the address conversion processing in the address conversion circuit 6 will be described. The output signal of the NOR gate 36b is commonly input to the select signal input terminal S of each of the ICs 22 to 25. Therefore, IC22-2
Reference numeral 5 denotes input terminals 1A to 4A on the A side (NOR gate 36b
Output signal of "L" level) or B side input terminals 1B to 4B (the output signal of NOR gate 36b is "H")
Level) is selected at the same time.

【0020】さて、各IC22〜25がA側を選択して
いるとき、MPU1が出力するVRAMアドレスの各ビ
ットA0〜A15とIC22〜25のそれぞれのA側の
入力端子1A〜4Aとの対応関係およびIC22〜25
のそれぞれの出力端子1Y〜4YとLCDコントローラ
4(IC26)の入力端子AB0〜AB15との対応関
係が上述のようになっているので、LCDコントローラ
4(IC26)にはMPU1が出力するVRAMアドレ
スがアドレス変換回路6を介してそのまま与えられる。
すなわちこのときには、アドレス変換回路6はVRAM
アドレスの変換を行わない。
Now, when each of the ICs 22 to 25 selects the A side, the correspondence between the bits A0 to A15 of the VRAM address output by the MPU 1 and the input terminals 1A to 4A on the A side of each of the ICs 22 to 25. And IC22-25
The output terminals 1Y to 4Y and the input terminals AB0 to AB15 of the LCD controller 4 (IC26) correspond to each other as described above. Therefore, the LCD controller 4 (IC26) has the VRAM address output by the MPU1. It is given as it is through the address conversion circuit 6.
That is, at this time, the address conversion circuit 6 operates in the VRAM.
Does not translate the address.

【0021】一方、各IC22〜25がB側を選択して
いるとき、MPU1が出力するVRAMアドレスの各ビ
ットA0〜A15とIC22〜25のそれぞれのB側の
入力端子1B〜4Bとの対応関係およびIC22〜25
のそれぞれの出力端子1Y〜4YとLCDコントローラ
4(IC26)の入力端子AB0〜AB15との対応関
係が上述のようになっているので、LCDコントローラ
4(IC26)には、図7に示すアドレス変換則に従っ
て変換されたのちのVRAMアドレスがアドレス変換回
路6から与えられる。すなわちこのときには、アドレス
変換回路6はVRAMアドレスの変換を行う。
On the other hand, when each of the ICs 22 to 25 selects the B side, the correspondence between the bits A0 to A15 of the VRAM address output by the MPU 1 and the B side input terminals 1B to 4B of the ICs 22 to 25, respectively. And IC22-25
Since the correspondence between the output terminals 1Y to 4Y of each of the above and the input terminals AB0 to AB15 of the LCD controller 4 (IC26) is as described above, the LCD controller 4 (IC26) has the address conversion shown in FIG. The VRAM address after being converted according to the rule is given from the address conversion circuit 6. That is, at this time, the address conversion circuit 6 converts the VRAM address.

【0022】図8はアドレス変換を行う場合の入力アド
レス(MPU1が出力するVRAMアドレス)と出力ア
ドレス(LCDコントローラ4(IC26)に与えられ
るVRAMアドレス)との対応関係を示す図である。こ
の図において、太線で囲われた領域が画像データを格納
する領域である。また各マス目は1バイト(8ビット)
分、すなわち8画素分のデータ(1ビットが黒/白の1
画素を示す)を格納する領域を示す。そして、当該マス
目の内部に示された数字がVRAMアドレスを示し、斜
線左側が入力アドレス、斜線上側がアドレス変換実行時
の出力アドレスをそれぞれ示している。なお、アドレス
変換を行わない場合の出力アドレスは、入力アドレスと
同一であるので斜線左側に示すものとなっている。
FIG. 8 is a diagram showing a correspondence relationship between an input address (VRAM address output by the MPU 1) and an output address (VRAM address given to the LCD controller 4 (IC 26)) when performing address conversion. In this figure, the area surrounded by a thick line is an area for storing image data. Each cell is 1 byte (8 bits)
Minute, that is, data for 8 pixels (1 bit is 1 for black / white)
(Indicates a pixel). The numbers shown in the squares represent VRAM addresses, the left side of the slanted line represents the input address, and the upper side of the slanted line represents the output address when the address conversion is executed. The output address when the address conversion is not performed is the same as the input address, and therefore is shown on the left side of the diagonal line.

【0023】続いて、実際に漢字ROM2に格納された
漢字パターンをVRAM3に展開する場合の動作を説明
する。この場合まず、MPU1は信号LCDADCHGを“L”
にするべく、対応するI/Oレジスタの出力を“L”に
設定する。このときには、NORゲート36bの出力は
絶えず“L”となるため、IC22〜25ではそれぞれ
A側の入力が選択されており、LCDコントローラ4お
よびVRAM3へはMPU1が出力しているVRAMア
ドレス(図8の各マス目内の斜線左側のアドレス)が供
給される。
Next, the operation of expanding the Kanji pattern actually stored in the Kanji ROM 2 into the VRAM 3 will be described. In this case, the MPU1 first sets the signal LCDADCHG to "L".
Therefore, the output of the corresponding I / O register is set to "L". At this time, since the output of the NOR gate 36b is constantly "L", the inputs on the A side are selected in the ICs 22 to 25, and the VRAM address output by the MPU 1 to the LCD controller 4 and the VRAM 3 (see FIG. 8). The address on the left side of the diagonal line in each cell) is supplied.

【0024】この状態からMPU1が、信号LCDADCHGを
“H”にするべく該当I/Oレジスタの出力を“H”に
設定すると、NORゲート36bの一方の入力が“L”
となるため、NORゲート36bの出力はMPU1から
メモリアクセスがあるたび毎に“L”→“H”に変化す
る。このため、メモリアクセス時にはIC22〜25で
はそれぞれB側の入力が選択されており、LCDコント
ローラ4およびVRAM3へはMPU1が出力している
VRAMアドレスを図7に示すアドレス変換則に従って
変換したVRAMアドレス(図8の各マス目内の斜線上
側のアドレス)が供給されている。
From this state, when the MPU 1 sets the output of the corresponding I / O register to "H" in order to set the signal LCDADCHG to "H", one input of the NOR gate 36b becomes "L".
Therefore, the output of the NOR gate 36b changes from "L" to "H" every time the MPU 1 accesses the memory. Therefore, at the time of memory access, the inputs on the B side are selected in the ICs 22 to 25, and the VRAM address output from the MPU 1 to the LCD controller 4 and the VRAM 3 is converted to the VRAM address (according to the address conversion rule shown in FIG. 7). Addresses on the upper side of the diagonal line in each square in FIG. 8 are supplied.

【0025】かくしてMPU1が、出力するVRAMア
ドレスをインクリメントして行くと、VRAM3におい
てアクセスされる領域は図8の太線内において列変化方
向に変化して行くことになる。一方漢字ROM2におい
ては、漢字アドレスがインクリメントされることにより
列変化方向に読出しが行われ、これがLCDコントロー
ラ4を介してVRAM3に供給される。
Thus, as the MPU 1 increments the VRAM address to be output, the area to be accessed in the VRAM 3 changes in the column changing direction within the thick line in FIG. On the other hand, in the Kanji ROM 2, the Kanji address is incremented to read in the column changing direction, and this is supplied to the VRAM 3 via the LCD controller 4.

【0026】従って、漢字ROM2およびVRAM3の
それぞれに与える漢字アドレスおよびVRAMアドレス
をともにインクリメントしてやれば、漢字パターンが漢
字ROM2に格納されたのと同様な状態でVRAM3に
展開されて行く。
Therefore, if both the Kanji address and the VRAM address given to the Kanji ROM 2 and the VRAM 3 are incremented, the Kanji pattern is developed in the VRAM 3 in the same state as that stored in the Kanji ROM 2.

【0027】さて本実施例では、MPU1としてZ80
が使用されている。このZ80は、ブロック転送命令を
有しているが、本実施例では上述のように漢字ROM2
およびVRAM3のそれぞれに与える漢字アドレスおよ
びVRAMアドレスはともにインクリメントすれば良い
ので、ブロック転送命令を使用して以下のようなシーケ
ンスで処理することができる。
In this embodiment, the MPU 1 is Z80.
Is used. This Z80 has a block transfer instruction, but in the present embodiment, the Kanji ROM 2 is used as described above.
Since both the Kanji address and the VRAM address given to the VRAM 3 and the VRAM 3 need only be incremented, they can be processed in the following sequence using a block transfer instruction.

【0028】すなわち、例えば1行1列に漢字パターン
を表示する場合、あらかじめ所望とする漢字パターンの
漢字アドレスを算出した上で、図6に示す漢字ROMの
バンクアドレス(00〜15)を設定するとともに、M
PU1のHLレジスタ、DEレジスタおよびBCレジス
タに、 HLレジスタ←漢字パターン左側の先頭アドレス DEレジスタ←VRAM3の1行1列の先頭である40
00H BCレジスタ←転送回数を示す0FH をそれぞれ設定したのち、MPU1にLDIR命令を実
行させる。そうするとMPU1により、漢字ROM2に
対する漢字アドレスとVRAM3に対するVRAMアド
レスとがともにインクリメントされつつ、漢字パターン
の左側16バイトがVRAM3上に転送する処理が自動
的になされる。この際、アドレス変換回路6では、40
00H からインクリメントされて行くVRAMアドレス
を受け、4000H ,4040H ,4080H …,7B
C0H ,4001H ,4041H ,4081H …,7B
C1H …,4027H ,4067H ,40A7H …,7
BE7H なるVRAMアドレスに変換してLCDコント
ローラ4およびVRAM3に与えているので、漢字パタ
ーンはVRAM3へは行変化方向で書き込まれて行く。
That is, when displaying a kanji pattern in one row and one column, for example, the kanji address of the desired kanji pattern is calculated in advance, and then the bank address (00 to 15) of the kanji ROM shown in FIG. 6 is set. Along with M
In the HL register, the DE register and the BC register of PU1, the HL register ← the start address on the left side of the kanji pattern DE register ← the start of the 1st row and 1st column of VRAM3 40
00 H BC register ← 0 F H indicating the number of transfers is set, and then the MPU 1 executes the LDIR instruction. Then, the MPU 1 automatically increments both the Kanji address for the Kanji ROM 2 and the VRAM address for the VRAM 3 and transfers the left 16 bytes of the Kanji pattern onto the VRAM 3. At this time, in the address conversion circuit 6, 40
Receive VRAM address incremented from 00 H , 4000 H , 4040 H , 4080 H ..., 7B
C0 H , 4001 H , 4041 H , 4081 H ..., 7B
C1 H ..., 4027 H , 4067 H , 40A7 H ..., 7
Since it is converted into a VRAM address BE7 H and given to the LCD controller 4 and the VRAM 3, the kanji pattern is written in the VRAM 3 in the line changing direction.

【0029】次に、 HLレジスタはそのまま DEレジスタ←VRAM3の1行2列の先頭である41
00H BCレジスタ←転送回数を示す0FH をそれぞれ設定しのち、MPU1にLDIR命令を実行
させる。そうするとMPU1により、上記と同様にして
漢字パターンの右側16バイトがVRAM3上に転送す
る処理が自動的になされる。
Next, the HL register remains as it is: DE register ← 41 at the beginning of the first row and second column of VRAM3.
00 H BC register ← later set respectively 0F H indicating the number of transfers, to execute the LDIR instruction MPU 1. Then, the MPU 1 automatically performs the process of transferring the right 16 bytes of the Kanji pattern to the VRAM 3 in the same manner as above.

【0030】なおLCDコントローラ4では、上述のよ
うにしてVRAM3中に作成された画像データに基づい
て、周知の手順でLCD5を駆動することにより、LC
D5に画像データに対応する画像を表示させる。
In the LCD controller 4, the LCD 5 is driven by a well-known procedure based on the image data created in the VRAM 3 as described above.
An image corresponding to the image data is displayed on D5.

【0031】以上のように本実施例によれば、漢字RO
M2に記憶された漢字パターンをVRAM3に展開する
際においては、インクリメントされて行くVRAMアド
レスを、VRAM3における書き込み領域が列変化方向
に変化するようなVRAMアドレスにアドレス変換回路
6が変換したのちにVRAM3に与えられる。これによ
り、MPU1は、漢字アドレスおよびVRAMアドレス
をともにインクリメントして行けば、漢字ROM2に記
憶された漢字パターンをVRAM3へと展開することが
できる。従って、漢字パターンの展開に係る処理が簡易
となり、その処理に要する時間を短縮し、画像表示を高
速に行うことが可能となる。また、MPU1が有するブ
ロック転送命令を利用することが可能となるために、ソ
フトウェアも簡略化することができる。
As described above, according to this embodiment, the Chinese character RO
When the Kanji pattern stored in M2 is expanded in the VRAM3, the address conversion circuit 6 converts the incremented VRAM address into a VRAM address in which the writing area in the VRAM3 changes in the column changing direction, and then the VRAM3. Given to. As a result, the MPU 1 can expand the Kanji pattern stored in the Kanji ROM 2 into the VRAM 3 by incrementing both the Kanji address and the VRAM address. Therefore, the process related to the expansion of the Chinese character pattern is simplified, the time required for the process is shortened, and the image display can be performed at high speed. Moreover, since the block transfer instruction of the MPU 1 can be used, the software can be simplified.

【0032】なお本発明は上記実施例に限定されるもの
ではない。例えば上記実施例では、本発明の画像表示制
御装置を、LCDを有し、このLCDに任意の画像を表
示させる画像表示装置に適用しているが、例えばCRT
などのLCD以外の表示器を有した画像表示装置に適用
することが可能であり、あるいは画像表示装置以外の装
置に適用することも可能である。さらには、他の装置に
組み込むことなしに独立した画像表示制御装置とするこ
ともできる。
The present invention is not limited to the above embodiment. For example, in the above embodiment, the image display control device of the present invention is applied to an image display device having an LCD and displaying an arbitrary image on the LCD.
The present invention can be applied to an image display device having a display other than the LCD, or can be applied to a device other than the image display device. Furthermore, the image display control device may be an independent image display control device without being incorporated in another device.

【0033】またキャラクタ記憶手段、画像記憶手段、
転送制御手段およびアドレス変換手段の具体的な構成は
上記実施例に挙げたものには限定されず、種々変形が可
能である。このほか、本発明の要旨を逸脱しない範囲で
種々の変形実施が可能である。
Character storage means, image storage means,
The specific configurations of the transfer control means and the address conversion means are not limited to those described in the above embodiment, and various modifications are possible. In addition, various modifications can be made without departing from the scope of the present invention.

【0034】[0034]

【発明の効果】本発明によれば、多数のドットデータの
配列によりなる例えば漢字パターンなどのキャラクタパ
ターンデータを予め記憶し指定された第1アドレス(漢
字アドレス)に対応するドットデータを出力する例えば
漢字ROMなどのキャラクタ記憶手段と、画像データを
構成する多数のドットデータのそれぞれを記憶するため
の多数の記憶領域を有し与えられるドットデータを指定
された第2アドレス(VRAMアドレス)に対応する記
憶領域に記憶する例えばビデオRAMなどの画像記憶手
段と、前記第1アドレスおよび前記第2アドレスを所定
の順序で変化させつつ前記キャラクタ記憶手段に記憶さ
れたキャラクタデータのドットデータを前記画像記憶手
段に順次転送させる例えばMPUなどの転送制御手段
と、この転送制御手段が発生している第2アドレスを、
転送制御手段が発生している第1アドレスに応じて前記
キャラクタ記憶手段から出力されるドットデータを格納
すべき記憶領域に対応する第3アドレス(VRAMアド
レス)に変換して前記画像記憶手段に与える例えば4つ
のセレクタから構成されたアドレス変換回路などのアド
レス変換手段とを具備したので、キャラクタパターンデ
ータの画像記憶手段への展開を効率的に行うことがで
き、これにより高速に画像の表示を行うことが可能で、
かつソフトウェア処理上の負担も軽減することができる
画像表示制御装置となる。
According to the present invention, character pattern data such as a Chinese character pattern made up of an array of a large number of dot data is stored in advance and dot data corresponding to a designated first address (Kanji address) is output, for example. It corresponds to a second address (VRAM address) designated by character storage means such as a kanji ROM and a large number of storage areas for storing a large number of dot data constituting image data, and given dot data. An image storage unit such as a video RAM stored in a storage region, and dot data of character data stored in the character storage unit while changing the first address and the second address in a predetermined order. And a transfer control means such as an MPU for sequentially transferring the The second address but that is occurring,
In response to the first address generated by the transfer control means, the dot data output from the character storage means is converted into a third address (VRAM address) corresponding to the storage area to be stored and given to the image storage means. For example, since it is provided with an address conversion unit such as an address conversion circuit composed of four selectors, the character pattern data can be efficiently developed in the image storage unit, and thus an image can be displayed at high speed. Is possible,
In addition, the image display control device can reduce the load on software processing.

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

【図1】本発明の一実施例に係る画像表示制御装置を適
用して構成された画像表示装置の構成を示す機能ブロッ
ク図。
FIG. 1 is a functional block diagram showing a configuration of an image display device configured by applying an image display control device according to an embodiment of the present invention.

【図2】本発明の一実施例に係る画像表示制御装置の具
体的な構成を示す回路図。
FIG. 2 is a circuit diagram showing a specific configuration of an image display control device according to an embodiment of the present invention.

【図3】図2中の漢字ROM2の部分を拡大して示す
図。
FIG. 3 is an enlarged view showing a portion of a Kanji ROM 2 in FIG.

【図4】図2中のVRAM3およびLCDコントローラ
4の部分を拡大して示す図。
FIG. 4 is an enlarged view showing portions of a VRAM 3 and an LCD controller 4 in FIG.

【図5】図2中のLCDコントローラ4およびアドレス
変換回路6の部分を拡大して示す図。
5 is an enlarged view showing a portion of an LCD controller 4 and an address conversion circuit 6 in FIG.

【図6】図1中のMPU1から見たメモリマップを模式
的に示す図。
FIG. 6 is a diagram schematically showing a memory map viewed from MPU1 in FIG.

【図7】図1中のアドレス変換回路6でのアドレス変換
則を示す図。
7 is a diagram showing an address conversion rule in the address conversion circuit 6 in FIG.

【図8】図1中のアドレス変換回路6がアドレス変換処
理を行う際におけるアドレス変換回路6の入力アドレス
と出力アドレスとの関係を示す図。
8 is a diagram showing a relationship between an input address and an output address of the address conversion circuit 6 when the address conversion circuit 6 in FIG. 1 performs an address conversion process.

【図9】従来技術を説明する図。FIG. 9 is a diagram illustrating a conventional technique.

【図10】従来技術を説明する図。FIG. 10 is a diagram illustrating a conventional technique.

【図11】従来技術を説明する図。FIG. 11 is a diagram illustrating a conventional technique.

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

1…MPU 2…漢字ROM 3…ビデオRAM(VRAM) 4…LCDコントローラ 5…LCD 6…アドレス変換回路 1 ... MPU 2 ... Kanji ROM 3 ... Video RAM (VRAM) 4 ... LCD controller 5 ... LCD 6 ... Address conversion circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 多数のドットデータの配列によりなる画
像データに基づいて表示手段を駆動することにより、前
記表示手段に前記画像データに対応する画像を表示させ
る画像表示制御装置において、 多数のドットデータの配列によりなるキャラクタパター
ンデータを予め記憶し、指定された第1アドレスに対応
するドットデータを出力するキャラクタ記憶手段と、 前記画像データを構成する前記多数のドットデータのそ
れぞれを記憶するための多数の記憶領域を有し、与えら
れるドットデータを指定された第2アドレスに対応する
記憶領域に記憶する画像記憶手段と、 前記第1アドレスおよび前記第2アドレスを所定の順序
で変化させつつ前記キャラクタ記憶手段に記憶されたキ
ャラクタデータのドットデータを前記画像記憶手段に順
次転送させる転送制御手段と、 この転送制御手段が発生している第2アドレスを、前記
転送制御手段が発生している第1アドレスに応じて前記
キャラクタ記憶手段から出力されるドットデータを格納
すべき記憶領域に対応する第3アドレスに変換して前記
画像記憶手段に与えるアドレス変換手段とを具備したこ
とを特徴とする画像表示制御装置。
1. An image display control device for displaying an image corresponding to the image data on the display means by driving the display means based on image data composed of an array of a large number of dot data. A character storage unit for storing character pattern data having an array of the above and outputting dot data corresponding to a designated first address; and a large number for storing each of the plurality of dot data constituting the image data. Image storage means for storing given dot data in a storage area corresponding to a designated second address, and the character while changing the first address and the second address in a predetermined order. The dot data of the character data stored in the storage means is sequentially transferred to the image storage means. A transfer control means for controlling the second address generated by the transfer control means, and a memory for storing the dot data output from the character storage means in accordance with the first address generated by the transfer control means. An image display control device, comprising: an address conversion means for converting the third address corresponding to the area and giving it to the image storage means.
JP6010481A 1994-02-01 1994-02-01 Image display controller Pending JPH07219514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6010481A JPH07219514A (en) 1994-02-01 1994-02-01 Image display controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6010481A JPH07219514A (en) 1994-02-01 1994-02-01 Image display controller

Publications (1)

Publication Number Publication Date
JPH07219514A true JPH07219514A (en) 1995-08-18

Family

ID=11751362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6010481A Pending JPH07219514A (en) 1994-02-01 1994-02-01 Image display controller

Country Status (1)

Country Link
JP (1) JPH07219514A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020211750A1 (en) * 2019-04-15 2020-10-22 清华大学 Spatial beam shaping-based system for processing array micro-holes using femtosecond laser

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020211750A1 (en) * 2019-04-15 2020-10-22 清华大学 Spatial beam shaping-based system for processing array micro-holes using femtosecond laser

Similar Documents

Publication Publication Date Title
US4670752A (en) Hard-wired circuit for handling screen windows
JPH04303233A (en) Integrated circuit for display driving control and display system
EP0395916A2 (en) Separate font and attribute display system
JPH06186942A (en) Display device
JPH07219514A (en) Image display controller
JPS5831591B2 (en) Pattern display method at arbitrary position
JPH07181928A (en) Dot lcd display system
KR100234415B1 (en) RAM in lyquid crystal device controller
JPH0227677B2 (en)
JP2846357B2 (en) Font memory device
KR100195275B1 (en) An expansion method of liquid crystal display segment pin
JPH0467191B2 (en)
JPH0462587B2 (en)
JPH04205678A (en) Image information processor
JPH035755B2 (en)
JPS6145837B2 (en)
JP2001195226A (en) Display method and display driver device
JPH07152351A (en) Liquid crystal display circuit
JPH06342276A (en) Memory controller
JPH07334452A (en) Dma controller for graphic inversion
JPS6316773B2 (en)
JPH02289099A (en) Pattern data transfer system
JPH08234714A (en) Memory circuit for display
JPS60129786A (en) Image memory
JPH06215560A (en) Memory integrated circuit for video display