JPH06100904B2 - Memory access device - Google Patents
Memory access deviceInfo
- Publication number
- JPH06100904B2 JPH06100904B2 JP60120501A JP12050185A JPH06100904B2 JP H06100904 B2 JPH06100904 B2 JP H06100904B2 JP 60120501 A JP60120501 A JP 60120501A JP 12050185 A JP12050185 A JP 12050185A JP H06100904 B2 JPH06100904 B2 JP H06100904B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- address
- display
- pattern data
- information
- 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.)
- Expired - Lifetime
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
- Digital Computer Display Output (AREA)
Description
【発明の詳細な説明】 〔発明の利用分野〕 本発明は、メモリアクセス装置に係り、特にキャラクタ
ジェネレータ(以下、CGと略す)とグラフィックイメー
ジのメモリと中央演算処理装置とから成るシステムにお
いて、該演算処理装置から与えられる文字コード情報に
従ってCGから文字パターンデータを読み出し、かつ該パ
ターンデータを、前記中央演算処理装置から与えられる
文字表示位置情報に従って前記グラフィックメモリへ書
き込む際に用いるメモリアクセス装置に関するものであ
る。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory access device, and more particularly to a system including a character generator (hereinafter abbreviated as CG), a graphic image memory and a central processing unit. A memory access device used for reading character pattern data from a CG according to character code information given from an arithmetic processing unit and writing the pattern data into the graphic memory according to character display position information given from the central processing unit Is.
近年、パーソナルコンピュータの表示系が高機能化を要
求され、1チップ化された中央演算処理装置(マイクロ
プロセッサ、以下MPUと略す)の限られた機能をうまく
利用する事により、高速処理及び高精細表示が実現して
いる。この様な高機能なパソコンの表示系において、ほ
とんどのものが文字フォント16×16ドットのキャラクタ
ジェネレータ(以下CGと略す)を採用している。また、
文字をグラフィック画面に表示する際にCGから読み出し
た文字パターンデータをグラフィックメモリへ書き込む
処理は、その一部をハードウェアがサポートしている
(ビットシフト,ビットマスク回路等)ものの基本的に
はソフトウェアに頼るところが大きい。例えば、NEC社
から発売されているパソコンPC−100においては、その
テクニカルマニュアル(11−1)ページから(11−5)
ページに記載している様に、CGに与えるアドレスを1ワ
ードごとにMPUが指定し一旦MPUが文字パターンデータを
取り込んだ後、グラフィックイメモリへ書き込んでい
る。この場合のハードウェア構成と具体的な処理に関し
て、第5図から第7図を用いて説明する。In recent years, the display system of a personal computer has been required to have high functionality, and by utilizing the limited functions of a central processing unit (microprocessor, hereinafter abbreviated as MPU) on a single chip, high-speed processing and high-definition The display is realized. In such high-performance personal computer display systems, most of them employ a character generator of 16 x 16-dot character font (abbreviated as CG below). Also,
The process of writing the character pattern data read from the CG to the graphic memory when displaying characters on the graphic screen is partially supported by hardware (bit shift, bit mask circuit, etc.), but is basically software. There is a lot to rely on. For example, in the PC-100 PC sold by NEC Corporation, its technical manual (11-1) page (11-5)
As described on the page, the MPU specifies the address to be given to the CG word by word, and once the MPU fetches the character pattern data, it writes it to the graphic memory. The hardware configuration and specific processing in this case will be described with reference to FIGS. 5 to 7.
第5図はパソコンの表示系回路を示したブロック図であ
る。同図において、1はMPU、2はデータバス、3はア
ドレスバス、4は読み書き制御信号線(以下R/W線と称
す)、5は表示のための各種タイミング信号を出力する
表示制御用コントローラ(以下CRTCと称す)、6は表示
アドレス、7は表示期間中であることを示す表示タイミ
ング信号機、8は表示タイミング信号線7によって切り
換わる選択回路、9は文字パターンデータを収納したRO
M(Read Only Memory)であるキャラクタジェネレータ
(以下CGと称す)、10はCG9のアドレス情報をラッチす
る出力ポート、11はCG9の文字パターンデータをラッチ
する入力ポート、12はグラフィックイメージで表示デー
タを記憶する表示メモリ、13は表示アドレス6に従って
読み出したデータを可視情報に変換する並直変換器、14
は表示メモリ12の内容を表示するCathode Ray Tube(以
下CRTと略記する)である。FIG. 5 is a block diagram showing a display system circuit of a personal computer. In the figure, 1 is an MPU, 2 is a data bus, 3 is an address bus, 4 is a read / write control signal line (hereinafter referred to as R / W line), and 5 is a display control controller that outputs various timing signals for display. (Hereinafter referred to as CRTC), 6 is a display address, 7 is a display timing signal indicating that a display period is in progress, 8 is a selection circuit which is switched by the display timing signal line 7, and 9 is an RO storing character pattern data.
Character generator (hereinafter referred to as CG) that is M (Read Only Memory), 10 is an output port that latches the address information of CG9, 11 is an input port that latches the character pattern data of CG9, and 12 is the display data as a graphic image. A display memory for storing, 13 is a parallel-to-serial converter for converting the data read according to the display address 6 into visible information, 14
Is a Cathode Ray Tube (hereinafter abbreviated as CRT) that displays the contents of the display memory 12.
次に第5図の動作を説明する。同図において、先ずCRTC
5はMPU1からアドレスバス3とデータバス2を介して動
作情報を受け取り表示に必要な動作を開始する。CRT14
の表示期間中は表示タイミング信号7がH′状態であり
図の如く選択回路8は表示アドレス6を選択している。
これに対して、CRT14の帰線期間に表示タイミング信号
7は|L|状態となり、MPU1はアドレスバス3を介して表
示メモリ12をアクセス可能となる。従って、CRT14に新
たに文字表示するには、帰線期間中に、MPU1が表示メモ
リ12の内容を更新する。Next, the operation of FIG. 5 will be described. In the figure, first, CRTC
Reference numeral 5 receives operation information from the MPU 1 via the address bus 3 and the data bus 2 and starts the operation required for display. CRT14
During the display period, the display timing signal 7 is in the H'state and the selection circuit 8 selects the display address 6 as shown in the figure.
On the other hand, the display timing signal 7 is in the | L | state during the blanking period of the CRT 14, and the MPU 1 can access the display memory 12 via the address bus 3. Therefore, to newly display characters on the CRT 14, the MPU 1 updates the contents of the display memory 12 during the blanking period.
具体的には、MPU1がCG9から読み出した文字パターンデ
ータをCRT14で表示したい位置に対応した表示メモリ12
のアドレスへ書き込む。この時、例えばMPU1がワード
(2バイト)単位でデータ転送可能とすると、16×16ド
ットの文字表示を行うには16回の書き込み動作と書き込
みアドレスの算出をソフトウェアで行っている。次に、
MPU1がCG9から文字パターンデータを読み出す際の動作
を第6図,第7図を用いて説明する。Specifically, the display memory 12 corresponding to the position where the character pattern data read from the CG9 by the MPU1 is to be displayed on the CRT14.
Write to the address of. At this time, for example, assuming that the MPU 1 can transfer data in units of words (2 bytes), 16 write operations and write address calculation are performed by software in order to display characters of 16 × 16 dots. next,
The operation when the MPU1 reads character pattern data from CG9 will be described with reference to FIGS. 6 and 7.
第6図はCG9において文字パターンデータを収納してい
る様子を示したものである。同図は、各文字の固有な情
報である文字コード情報が示すCG9のアドレス空間を示
している。つまり「亜」という文字の文字コード情報が
示すアドレス空間には同図に示した16ワードの文字パタ
ーンデータが収納されている。実際に第5図のMPU1が文
字パターンデータを読み出す際には、何ライン目かを示
すROWアドレス情報を上記文字コード情報と同時にCG9へ
与えることにより、文字パターンデータを1ワードずつ
指定する。具体的には、「亜」という文字コード情報と
ROWアドレス情報「4」をCG9に与えた時16進数1ワード
データ「1FF8」を読み出す事ができる。この様な読み出
し動作をサポートするハードウェアが第5図の出力ポー
ト10と入力ポート11である。つまり、MPU1は出力ポート
10へ文字コード情報とROWアドレス情報を設定し、入力
ポート11から文字パターンデータを読み出す。これはMP
U1のメモリ空間の節約を図ったものである。つまり、CG
9を直接メモリ空間に配置した場合1文字当り16ワード
の空間が必要となるが、この方式では入力ポート11と出
力ポート10の2ワードをメモリ空間に配置すれば全ての
文字パターンデータを読み出すことが可能となってい
る。FIG. 6 shows how CG9 stores character pattern data. This figure shows the CG9 address space indicated by the character code information that is unique information for each character. That is, the address space indicated by the character code information of the character "A" stores the 16-word character pattern data shown in FIG. When the MPU 1 of FIG. 5 actually reads the character pattern data, the ROW address information indicating the line number is given to the CG 9 at the same time as the character code information to specify the character pattern data word by word. Specifically, the character code information "A" and
When ROW address information "4" is given to CG9, hexadecimal 1-word data "1FF8" can be read. The hardware that supports such a read operation is the output port 10 and the input port 11 in FIG. That is, MPU1 is an output port
Set the character code information and ROW address information to 10 and read the character pattern data from the input port 11. This is MP
This is to save the memory space of U1. In other words, CG
If 9 is directly placed in the memory space, 16 words per character will be required. With this method, if 2 words of input port 11 and output port 10 are placed in the memory space, all character pattern data can be read. Is possible.
次に、第7図は以上説明した文字パターンデータの読み
出しに関する処理のフローチャートである。同図に示し
た様に、MPU1が1文字パターンデータを読み出すために
は、1ワード単位でCG9のアドレス情報を更新しこの情
報を出力ポート10へ出力する動作が必要となる。要する
に、CG9に与えるアドレス情報の算出と設定及び文字パ
ターンデータの読み出し動作は、ソフトウェアによりMP
U1が行っている。Next, FIG. 7 is a flowchart of the processing relating to the reading of the character pattern data described above. As shown in the figure, in order for the MPU 1 to read one character pattern data, it is necessary to update the address information of CG9 in units of one word and output this information to the output port 10. In short, the calculation and setting of the address information given to the CG9 and the reading operation of the character pattern data are performed by the MP
U1 is doing.
以上説明した様に従来技術においては、1文字表示の
際、MPU1は1ワード単位でCG9のアドレス情報の算出と
設定及びデータの読み出しを行ない。さらに表示メモリ
のアドレス算出とデータの書き込みを行なっている。こ
の様なソフトウェア処理にかかる時間は、40×40ドット
の文字データの場合、ある測定結果によると約3m秒であ
る。As described above, in the conventional technique, when displaying one character, the MPU 1 calculates and sets the address information of the CG9 and reads the data in units of one word. Further, the address calculation of the display memory and the writing of data are performed. The time required for such software processing is about 3 ms in the case of 40 × 40 dot character data according to a certain measurement result.
〔発明の目的」 本発明の目的は、この様な従来技術の欠点をなくすべ
く、グラフィック図面に文字表示する表示装置におい
て、高速な文字表示を実現するメモリアクセス装置を提
供することにある。[Object of the Invention] An object of the present invention is to provide a memory access device that realizes high-speed character display in a display device that displays characters on a graphic drawing, in order to eliminate such drawbacks of the prior art.
上記目的を達成するために、本発明は、文字データのRO
Wアドレス情報を発生するカウンタ回路と、文字コード
情報及び表示メモリのアドレス情報を保持する回路を設
け、CGから任意の文字パターンデータを読み出しつつ、
読み出した文字パターンデータを直接表示メモリの定め
られた位置へ書き込むことにより、高速な文字表示が可
能となる様に構成したものである。In order to achieve the above object, the present invention provides RO for character data.
A counter circuit that generates W address information and a circuit that holds character code information and address information of the display memory are provided, while reading arbitrary character pattern data from CG,
By writing the read character pattern data directly to a predetermined position in the display memory, high-speed character display is possible.
本実施例は、グラフィック図面に文字表示する処理を高
速化すべく考案したものであり、CGから文字パターンデ
ータを読み出すと同時に、表示メモリの文字表示領域へ
上記文字パターンデータを書込む処理を制御する装置
を、パソコン表示系経路に適用したものである。This embodiment is designed to speed up the process of displaying characters on a graphic drawing, and controls the process of reading the character pattern data from the CG and simultaneously writing the character pattern data to the character display area of the display memory. The device is applied to a personal computer display system route.
以下、本発明を図面を用いて詳細に説明する。第8図
は、本発明によるメモリアクセス装置の適用対象となる
システムを示したもので、第5図と同一機能を有する回
路ブロック及び同一信号線には第5図と同一符号を付し
てある。第8図において、15は本発明の主要な回路ブロ
ックであるメモリアクセス装置、16はCGアドレスバス、
17はメモリアクセス装置15が出力する書き込み信号線
(以下信号線と称する)、18はメモリアクセス装置
15が有効な信号を出力していることを示すイネーブル信
号線(以下MAEN信号線と称する)24は複数アドレスバ
ス、19は文字表示アドレスバス、23は文字パターンデー
タバス、20は論理積回路、21と22はMAEN信号線18により
切り換わる選択回路である。先ず、上記メモリアクセス
装置15を中心に第8図の動作説明を行ない。次に、第1
図から第4図を用いてメモリアクセス装置15の詳細説明
を行う。Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 8 shows a system to which the memory access device according to the present invention is applied. Circuit blocks and signal lines having the same functions as those in FIG. 5 are designated by the same reference numerals as those in FIG. . In FIG. 8, 15 is a memory access device which is a main circuit block of the present invention, 16 is a CG address bus,
Reference numeral 17 is a write signal line (hereinafter referred to as a signal line) output from the memory access device 15, and 18 is a memory access device.
An enable signal line (hereinafter referred to as MAEN signal line) 15 indicating that 15 is outputting a valid signal is a plurality of address buses, 19 is a character display address bus, 23 is a character pattern data bus, 20 is a logical product circuit, Reference numerals 21 and 22 are selection circuits switched by the MAEN signal line 18. First, the operation of FIG. 8 will be described focusing on the memory access device 15. Then the first
The memory access device 15 will be described in detail with reference to FIGS.
第8図において、MPU1はアドレスバス3とデータバス2
を介してメモリアクセス装置15を制御する。本例におい
て、MPU1は次の4つの制御が可能である。それは、
(1)文字コード情報の特定、(2)表示位置情報の設
定、(3)文字表示処理の開始命令、(4)メモリアク
セス装置15の動作ステータスの読み込み、である。メモ
リアクセス装置15は、上記(3)の開始命令を受け取る
とMAEN信号線18を1H1状態とし、同図に示す様に選択回
路21はデータバス2から文字パターンデータバス23へ、
選択回路22は文字表示アドレスバス19へ切り換わる。続
いて、メモリアクセス装置15は、上記(1)で設定した
文字コード情報と内部で制御するROWアドレス情報を合
わせて、CGアドレスバス16へ出力する。同時に、(2)
で設定した情報と上記ROWアドレス情報から算出した表
示メモリ12のアドレス情報を文字表示アドレスバス19に
出力する。さらに、信号線17に書き込み信号を出力
すると論理積回路20を介して、書き込み信号が表示メモ
リ12へ出力されるため、上記CGアドレスバス16のアドレ
ス情報に従って読み出した文字パターンデータを、上記
文字表示アドレスバス19の情報が示す表示メモリ12のア
ドレスへ、書き込む。書き込みが終了した時点で、内部
のROWアドレス情報を自動的に更新し、そのROWアドレス
情報に対応した文字パターンデータを表示メモリ12のア
ドレスに書き込む。この様な動作は、例えば16×16ドッ
トフォントの場合ワード単位でデータを扱うとして、16
回行うことになる。最後に16番目の文字パタンデータの
書き込みが完了すると、MAEN信号線18が1L1状態にな
り、選択回路21はデータバス2へ、選択回路22は複合ア
ドレスバス24へ、各々切り換わる。従って、MPU1はこの
MAEN信号線18の状態を読み込むことにより、メモリアク
セス装置15が動作中が否かを判断できる。これが前記
(4)の制御である。要するに、本発明を適用すること
により、文字コード情報と文字表示位置情報を設定し文
字表示処理の開始命令を発行するだけで、MPU1が文字パ
ターンデータを意識することなく、文字表示が可能にな
るのである。次に、本発明の一実施例としてのメモリア
クセス装置15の詳細動作を第1図を用いて説明する。In FIG. 8, MPU1 is an address bus 3 and a data bus 2.
The memory access device 15 is controlled via the. In this example, the MPU 1 can perform the following four controls. that is,
These are (1) identification of character code information, (2) setting of display position information, (3) start instruction of character display processing, and (4) reading of operation status of the memory access device 15. Memory access device 15, to the (3) of the start instruction receive the MAEN lines 18 and 1 H 1 state when, the selecting circuit as shown in FIG. 21 is the character pattern data bus 23 from the data bus 2,
The selection circuit 22 switches to the character display address bus 19. Subsequently, the memory access device 15 outputs the character code information set in (1) above and the row address information controlled internally to the CG address bus 16 together. At the same time, (2)
The address information of the display memory 12 calculated from the information set in step 1 and the row address information is output to the character display address bus 19. Furthermore, when a write signal is output to the signal line 17, the write signal is output to the display memory 12 via the AND circuit 20, so the character pattern data read according to the address information on the CG address bus 16 is displayed on the character display. Write to the address of the display memory 12 indicated by the information on the address bus 19. When the writing is completed, the internal ROW address information is automatically updated, and the character pattern data corresponding to the ROW address information is written to the address of the display memory 12. For example, in the case of a 16 × 16 dot font, data is handled in word units.
Will be done once. Finally, when the writing of the 16th character pattern data is completed, the MAEN signal line 18 becomes 1 L 1 state, and the selection circuit 21 is switched to the data bus 2 and the selection circuit 22 is switched to the composite address bus 24. Therefore, MPU1
By reading the state of the MAEN signal line 18, it can be determined whether or not the memory access device 15 is operating. This is the control of (4) above. In short, by applying the present invention, the character display can be performed without the MPU1 being aware of the character pattern data by only setting the character code information and the character display position information and issuing a start command of the character display processing. Of. Next, detailed operation of the memory access device 15 as one embodiment of the present invention will be described with reference to FIG.
第1図は本発明の一実施例としてのメモリアクセス装置
15の詳細ブロック図であり、第8図と同一機能を有する
回路ブロック及び同一信号線には同一符号を付してあ
る。第1図において、100はアドレスデコーダ、101〜10
4はデコード信号線、105はタイミング制御回路、106は
アドレスクロック線、107はアドレスクリア線、109は書
き込みのタイミングを示す信号線(以下WE信号線と称
す)、110は発振器、111はROWアドレス情報を生成するR
OWアドレスカウンタ、112はROWアドレスバス、108は文
字分のROWアドレス情報を送出したことを示す終了信号
線、113と115はデータを保持するラッチ回路、114は文
字コード情報バス、116は文字表示垂直位置情報バス、1
17は文字表示水平位置情報バス、118は加算器、119は実
表垂直位置情報バス、120はNAND回路、121はトライステ
ートバッファ回路である。FIG. 1 shows a memory access device as an embodiment of the present invention.
15 is a detailed block diagram of 15, in which circuit blocks and signal lines having the same functions as those in FIG. 8 are designated by the same reference numerals. In FIG. 1, 100 is an address decoder, and 101 to 10
4 is a decode signal line, 105 is a timing control circuit, 106 is an address clock line, 107 is an address clear line, 109 is a signal line indicating the write timing (hereinafter referred to as WE signal line), 110 is an oscillator, 111 is a ROW address R to generate information
OW address counter, 112 ROW address bus, 108 end signal line indicating that ROW address information for characters has been sent, 113 and 115 latch circuits for holding data, 114 character code information bus, 116 character display Vertical location bus, 1
Reference numeral 17 is a character display horizontal position information bus, 118 is an adder, 119 is a real table vertical position information bus, 120 is a NAND circuit, and 121 is a tri-state buffer circuit.
同図において、表示処理の開始命令がアドレスバス3を
介して送られると、アドレスデコーダ100においてデコ
ーダ信号101が生成される。このデコード信号101はタイ
ミング制御回路105へ送られ、文字表示処理が開始す
る。ここで、タイミング制御回路105は、アドレスクロ
ック線106の信号に同期したクリア信号を、アドレスク
リア信号線107を介して、ROWカウンタ111へ送出し、ROW
アドレス情報を初期化する。同時にMAEN信号線18が1H1
状態となる。従って、NAND回路120はWE信号線109の信号
を▲▼信号線17へ出力開始する。In the figure, when a display processing start command is sent via the address bus 3, a decoder signal 101 is generated in the address decoder 100. The decode signal 101 is sent to the timing control circuit 105, and the character display process is started. Here, the timing control circuit 105 sends a clear signal synchronized with the signal of the address clock line 106 to the ROW counter 111 via the address clear signal line 107, and
Initialize address information. At the same time, MAEN signal line 18 is 1 H 1
It becomes a state. Therefore, the NAND circuit 120 starts outputting the signal on the WE signal line 109 to the signal line 17.
一方、ROWカウンタ111はアドレスクロック線106の信号
に同期してカウント動作を行っている。実際に、16×16
ドットの文字表示をする場合には、5ビットカウンタと
なっており、下位4ビットがROWアドレス情報、上位1
ビットが終了信号線108へ送出する信号となる。具体的
には、TTLHD74LS163を2個用いて、このROWカウンタ111
を構成することができる。要するに、ROWカウンタ111
は、文字表示開始時にROWアドレス情報を初期化し、ア
ドレスクロック線106の信号に同期してROWアドレス情報
を更新する。さらに、文字表示処理の終了を終了信号線
108を介してタイミング制御回路105に伝える。この信号
を受けてアドレス制御回路105はMAEN信号線18を再び1L1
状態とする。On the other hand, the ROW counter 111 performs a counting operation in synchronization with the signal on the address clock line 106. Actually 16x16
When displaying dots, it is a 5-bit counter, and the lower 4 bits are the row address information and the upper 1
The bit becomes a signal to be sent to the end signal line 108. Specifically, using two TTLHD74LS163, this ROW counter 111
Can be configured. In short, ROW counter 111
Initializes the ROW address information at the start of character display, and updates the ROW address information in synchronization with the signal on the address clock line 106. In addition, the end of the character display process
It is transmitted to the timing control circuit 105 via 108. In response to this signal, the address control circuit 105 sets the MAEN signal line 18 to 1 L 1 again.
State.
また、このMAEN信号線18の状態は、トライステートバス
バッファ121を介して、MPU1が読み込み可能となってい
る。つまり、MPU1が読み込みたい時には、アドレスバス
3へ特定の情報を出力してアドレスデコーダ100がデコ
ード線104へ読み込み信号を出力する。すると、トライ
ステートバスバッファ121がイネーブル状態となり、MAE
N信号線18の状態をデータバス2へ出力し、MPU1がその
情報を読み込むのである。The state of the MAEN signal line 18 can be read by the MPU 1 via the tristate bus buffer 121. That is, when the MPU 1 wants to read, specific information is output to the address bus 3 and the address decoder 100 outputs a read signal to the decode line 104. Then, the tri-state bus buffer 121 is enabled and the MAE
The state of the N signal line 18 is output to the data bus 2 and the MPU 1 reads the information.
さらに、MPU1が、特定のアドレス情報を出力すると、ア
ドレスデコーダ100はデコード信号線102及び103へ書き
込み信号を出力する。これらの書き込み信号により、ラ
ッチ回路113は文字コード情報を、ラッチ回路115は文字
表示情報を、各々設定する。Further, when the MPU 1 outputs specific address information, the address decoder 100 outputs a write signal to the decode signal lines 102 and 103. The latch circuit 113 sets character code information and the latch circuit 115 sets character display information by these write signals.
先ず、文字コード情報は文字コード情報バス114へ出力
し、ROWカウンタ111が出力するROWアドレス情報と組み
合わす。その結果を、CGアドレス情報としてCGアドレス
バス16へ出力する。従って、ROWアドレス情報が更新さ
れるとCGアドレス情報も自動的に更新される。First, the character code information is output to the character code information bus 114 and combined with the ROW address information output from the ROW counter 111. The result is output to the CG address bus 16 as CG address information. Therefore, when the ROW address information is updated, the CG address information is automatically updated.
次に、文字表示位置情報は文字表示垂直位置情報バス11
6と文字表示水平位置情報バス117へ分けて出力される。
このうち文字表示垂直位置情報は、加算器118におい
て、ROWアドレス情報との加算演算を行い表示メモリ12
の実際のアドレス情報の一部に変換される。この情報は
実文字表示垂直位置情報バス119へ出力し、上記文字表
示水平位置情報と組み合わす。その結果を、文字表示ア
ドレス情報として文字表示アドレス情報バスへ出力す
る。従って、ROWアドレス情報が更新されると文字表示
アドレス情報も自動的に更新される。Next, the character display position information is displayed in the character display vertical position information bus 11
6 and the character display horizontal position information bus 117 are separately output.
Of these, the character display vertical position information is added to the ROW address information in the adder 118, and the display memory 12
Is converted to part of the actual address information of. This information is output to the actual character display vertical position information bus 119 and combined with the character display horizontal position information. The result is output to the character display address information bus as character display address information. Therefore, when the ROW address information is updated, the character display address information is automatically updated.
要するに、CGアドレス情報及び文字表示アドレス情報
も、アドレスクロック線106の信号に同期して更新さ
れ、▲▼信号線の書き込み信号により、CGアドレス
情報に対応した文字パターンデータの書き込み動作が行
なわれる。次に、これら一連の動作タイミングを第2図
を用いて説明する。In short, the CG address information and the character display address information are also updated in synchronization with the signal of the address clock line 106, and the writing operation of the character pattern data corresponding to the CG address information is performed by the write signal of the signal line. Next, the series of operation timings will be described with reference to FIG.
第2図は、メモリアクセス回路15の主な信号のタイムチ
ャートを示した図である。同図に示した様に、デコード
信号が出力されると、アドレスクリア信号は次のアドレ
スクロックの立下りから1クロック幅だけ1L1となる。
この時アドレスクロックの立上りでROWアドレス情報が
初期化され、1O1になる。これと同じタイミングでMAEN
信号が立上る。するとWE信号の情報が▲▼信号へ出
力される。一方、ROWアドレス情報はアドレスクロック
の立上りで更新される。この情報が16回更新されるとRO
Wアドレスカウンタの上位5ビット目である終了信号が
立上る。この信号に立上りを利用して、MAEN信号を1L1
にし、16ワードのメモリアクセスつまり1文字表示処理
が終了したことを示す。FIG. 2 is a diagram showing a time chart of main signals of the memory access circuit 15. As shown in the figure, when the decode signal is output, the address clear signal becomes 1 L 1 for one clock width from the falling edge of the next address clock.
At this time, the row address information is initialized at the rising edge of the address clock and becomes 1 O 1 . MAEN at the same timing as this
The signal rises. Then, the information of the WE signal is output to the ▲ ▼ signal. On the other hand, the ROW address information is updated at the rising edge of the address clock. RO when this information is updated 16 times
The end signal, which is the upper 5th bit of the W address counter, rises. Use the rising edge of this signal to change the MAEN signal to 1 L 1
Indicates that the 16-word memory access, that is, the one-character display process is completed.
次に、この様な動作を制御しているタイミング制御回路
105を第3図と第4図を用いて詳細に説明する。Next, a timing control circuit that controls such operations
105 will be described in detail with reference to FIG. 3 and FIG.
第3図はタイミング制御回路105の詳細図である。同図
において、第1図と同一機能を有する回路でロック及び
同一信号線には同一符号を付してある。FIG. 3 is a detailed diagram of the timing control circuit 105. In the figure, in the circuit having the same function as in FIG. 1, the lock and the same signal line are denoted by the same reference numerals.
第3図において、200は23文周器、201は発振器110のク
ロック線、202はシフトレジスタ、203と204はシフトレ
ジスタ202の各々QB及びQD出力である。205は論理和回
路、206は反転回路、207〜210はエッヂトリガタイプの
フリップフロップ回路(以下FFと称す)、211はFF208の
負論理の出力信号線、212はFF209の正論理の出力信号
線、213はNAND回路、214は論理和回路である。In FIG. 3, 200 2 3 Bunshu unit, 201 is a clock line of the oscillator 110, 202 is a shift register, 203 and 204 are each Q B and Q D output of the shift register 202. 205 is an OR circuit, 206 is an inverting circuit, 207 to 210 are edge trigger type flip-flop circuits (hereinafter referred to as FF), 211 is a negative logic output signal line of FF208, 212 is a positive logic output signal line of FF209. , 213 are NAND circuits, and 214 is an OR circuit.
同図の分周器200は発振器のクロックを23分周した信号
をシフトレジスタ202へ送出している。シフトレジスタ2
02は、この信号を発振器クロック線201のクロックに同
期させた各種位相を持つ信号を生成する。具体的にQA信
号つまりアドレスクロック信号に対して、1クロック遅
延した信号がQB信号、3クロック遅延した信号がQD信号
である。この様な分周器200とシフトレジスタ202は各々
TTLHD74LS393及びHD74LS164で容易に実現可能である。
論理和回路205はこのQB信号線203とQD信号線204を入力
としてWE信号を出力している。これら一連のタイミング
は第4図の上半分に示した。The frequency divider 200 in the figure sends a signal obtained by dividing the clock of the oscillator by 2 3 to the shift register 202. Shift register 2
02 generates signals having various phases by synchronizing this signal with the clock of the oscillator clock line 201. Against specific Q A signal, i.e. the address clock signal one clock delayed signal Q B signals, 3-clock delay signal is a Q D signal. Such a frequency divider 200 and shift register 202 are respectively
It can be easily realized with TTL HD74LS393 and HD74LS164.
OR circuit 205 outputs a WE signal as inputs the Q B signal line 203 and the Q D signal line 204. The series of timings are shown in the upper half of FIG.
第3図のFF207〜FF210は全て同一機能であり、TTLHD74L
S74と全く同じ動作をするものである。従って、デコー
ド信号線101にデコード信号が入るとFF207のQ出力は1L
1になる。さらにFF207のQ出力信号は、FF208において
反転回路206がアドレスクロックを反転した信号の立上
りでラッチされる。さらに、FF208のQ出力信号は、FF2
09においてFF208と同一クロックの立上りでラッされ
る。ここで、NAND回路213はFF208の出力信号線211とF
F209のQ出力信号線212を入力とし、アドレスクリア信
号を出力する。FF207 to FF210 in Fig. 3 have the same function, and TTLHD74L
It operates exactly the same as S74. Therefore, when the decode signal enters the decode signal line 101, the Q output of FF207 becomes 1 L.
Become 1 . Further, the Q output signal of FF207 is latched at the rising edge of the signal obtained by inverting the address clock by the inverting circuit 206 in FF208. Furthermore, the Q output signal of FF208 is FF2.
In 09, it is caught at the rising edge of the same clock as FF208. Here, the NAND circuit 213 is connected to the output signal line 211 and F of the FF208.
The Q output signal line 212 of F209 is input and an address clear signal is output.
また、論理和回路214は、アドレスクロック線106が1H1
でかつアドレスクリア線107が1L1状態の時、FF210のPR
端子へ信号を送出する。この信号によりFF210のQ出力
であるMAEN信号線18は1H1状態となる。最後に、終了信
号線108の信号の立上りでFF210のQ出力であるMAEN信号
線18が1L1状態となる。これら一連のタイミングは第4
図の下半分に示した。以上がタイミング制御回路105の
詳細構成と詳細タイミングである。Further, in the OR circuit 214, the address clock line 106 is 1 H 1
And the address clear line 107 is in the 1 L 1 state, PR of FF210
Send a signal to the terminal. This signal causes the MAEN signal line 18 which is the Q output of the FF 210 to be in the 1 H 1 state. Finally, at the rising edge of the signal on the end signal line 108, the MAEN signal line 18 which is the Q output of the FF 210 enters the 1 L 1 state. The timing of these series is the fourth
Shown in the lower half of the figure. The detailed configuration and timing of the timing control circuit 105 have been described above.
以上、本発明の実施例としてメモリアクセス装置15の説
明を行ったが、本発明は何もこの例に限ったわけではな
い。例えば、32×32ドットの文字表示処理への対応を考
えた場合、第1図において、ROWカウンタ111のビット数
を7ビットとし、下位5ビットの情報と文字表示垂直位
置情報の加算演算を行うだけでなく、ROWカウンタ111の
上位から2番目の1ビット情報と文字表示水平位置情報
の加算演算を行う必要が生じるため、加算器を追加した
構成となる。Although the memory access device 15 has been described as the embodiment of the present invention, the present invention is not limited to this example. For example, considering the correspondence to the character display processing of 32 × 32 dots, in FIG. 1, the bit number of the ROW counter 111 is set to 7 bits, and the addition operation of the lower 5 bits information and the character display vertical position information is performed. Not only this, it is necessary to perform the addition operation of the second highest-order 1-bit information of the ROW counter 111 and the character display horizontal position information. Therefore, the configuration is such that an adder is added.
また、CGとグラフィックイメージのメモリを備えたレー
ザービームプリンタ等の印字装置におけるコントロール
回路においても、本実施例と同様のハードウェア構成で
本実施例の適用が可能である。Further, the present embodiment can be applied to the control circuit in a printing apparatus such as a laser beam printer provided with a CG and a graphic image memory with the same hardware configuration as the present embodiment.
最後に、本発明をパソコン表示系回路に適用した場合、
従来MPUが文字パターンデータを1ワードずつ読み出し
と書き込みの処理を行っていたのに対して、本発明はMP
Uが文字コード情報と文字表示位置情報を設定するだけ
でハードウェアにより処置するためMPUの負荷が少なく
なる、と同時に文字パターンデータの読み出しと書き込
みを同時処理することによりCGROM或いは、グラフィッ
クメモリのどちらか長い方のサイクル時間と1文字デー
タのワード数の積で表わされる時間が、1文字表示の処
理時間となり高速化を実現できる。具体的には、サイク
ル時間500n秒として40×40ドットの文字表示処理時間は
50μ秒となる。Finally, when the present invention is applied to a personal computer display system circuit,
Conventionally, the MPU performed reading and writing of character pattern data word by word, whereas the present invention uses MP.
U only sets the character code information and character display position information, and the processing is done by hardware, so the load on the MPU is reduced. At the same time, by reading and writing character pattern data at the same time, either CGROM or graphic memory can be used. The time represented by the product of the longer cycle time and the number of words of 1-character data becomes the processing time for 1-character display, and high speed can be realized. Specifically, with a cycle time of 500 nsec, the character display processing time of 40 x 40 dots is
50 microseconds.
〔発明の効果〕 以上述べた様に、本発明によれば、1文字表示処理を行
う場合、その処理速度tproはCG或いは表示メモリのどち
らか長い方のサイクル時間tcycに依存し、1文字データ
幅がMバイト、処理するデータ幅がNバイトとすると、 となり高速処理が実現する。具体的には40×40ドットの
文字表示の際にMPU(8086)が約2m秒程度かかっていた
が、本発明を適用するとサイクル時間を500n秒としワー
ド処理の場合50μ秒、バイト処理の場合100μ秒の処理
時間となる。さらに、従来MPUが文字パターンデータを
1バイト或いは1ワードずつ処理していたのに対して、
文字コード情報と文字表示アドレス情報を設定するだけ
で1文字表示処理が可能になるため、MPUの負荷が軽く
なり文字表示処理と同時にMPUが他の処理を行うことが
できる、という効果がある。[Effects of the Invention] As described above, according to the present invention, the processing speed t pro depends on the longer cycle time t cyc of the CG or the display memory when performing the one-character display processing. If the character data width is M bytes and the data width to be processed is N bytes, Next, high-speed processing is realized. Specifically, the MPU (8086) took about 2 ms to display characters of 40 x 40 dots, but when the present invention is applied, the cycle time is set to 500 nsec and 50 µsec for word processing and byte processing. The processing time is 100 μs. Furthermore, while the conventional MPU processed character pattern data 1 byte or 1 word at a time,
Since it is possible to perform the one-character display processing only by setting the character code information and the character display address information, there is an effect that the load of the MPU is lightened and the MPU can perform other processing at the same time as the character display processing.
第1図は本発明の一実施例を示すブロック図、第2図は
第1図のタイムチャート、第3図は第1図におけるタイ
ミング制御回路の詳細を示すブロック図、第4図は第3
図のタイムチャート、第5図はパソコン表示系回路の従
来例を示すブロック図、第6図は文字パターンデータの
収納した様子を示した説明図、第7図は1文字データの
読み出し処理フロー図、第8図は本発明の適用対象とな
るシステムを示すブロック図である。 1…MPU、5…CRTC、9…CG、12…表示メモリ、15…メ
モリアクセス装置、105…タイミング制御回路、111…RO
Wアドレスカウンタ。1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a time chart of FIG. 1, FIG. 3 is a block diagram showing details of a timing control circuit in FIG. 1, and FIG.
FIG. 5 is a time chart, FIG. 5 is a block diagram showing a conventional example of a personal computer display system circuit, FIG. 6 is an explanatory view showing a state in which character pattern data is stored, and FIG. 7 is a flow chart for reading out one character data. , FIG. 8 is a block diagram showing a system to which the present invention is applied. 1 ... MPU, 5 ... CRTC, 9 ... CG, 12 ... Display memory, 15 ... Memory access device, 105 ... Timing control circuit, 111 ... RO
W address counter.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 鈴木 哲也 神奈川県横浜市戸塚区吉田町292番地 日 立ビデオエンジニアリング株式会社内 (72)発明者 丸山 隆 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所マイクロエレクトロニク ス機器開発研究所内 (56)参考文献 特開 昭61−83585(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tetsuya Suzuki, 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Nikkei Video Engineering Co., Ltd. (72) Takashi Maruyama 292 Yoshida-cho, Totsuka-ku, Yokohama, Kanagawa Hitachi, Ltd. Microelectronics Equipment Development Laboratory (56) References JP-A-61-83585 (JP, A)
Claims (1)
表示位置情報とを与えられ、前記文字コード情報に従っ
てキャラクタジェネレータから文字パターンデータを読
み出し、当該文字パターンデータを、前記文字表示位置
情報に従って生成した書き込みアドレスによって、表示
メモリに、前記処理装置の出力するアドレスと前記書き
込みアドレスとの2つのアドレスのうちの一方を前記表
示メモリへのアドレスとして選択する第1の選択手段
と、前記処理装置の出力するデータと前記キャラクタジ
ェネレータから読み出された文字パターンデータとのう
ちの一方を前記表示メモリへの書き込みデータとして選
択する第2の選択手段とを介して、書き込むメモリアク
セス装置であって、 前記処理装置から与えられる前記文字コード情報と文字
位置情報とを保持する保持手段と、ROWアドレス情報を
順次生成する手段と、生成されたROWアドレス情報と前
記保持手段に保持されている文字コード情報とから前記
キャラクタジェネレータの、文字パターンデータを読み
出すべき読み出しアドレスを生成する手段と、生成され
た前記ROWアドレスと前記保持手段に保持されている文
字位置情報とから前記表示メモリの、前記文字パターン
データを書き込むべき書き込みアドレスを生成する手段
と、タイミング制御回路とを有し 前記タイミング制御回路は、前記第1の選択手段の前記
書き込みアドレスを選択するタイミングと、前記第2の
選択手段の前記キャラクタジェネレータから読み出され
た文字パターンデータを選択するタイミングと、前記表
示メモリの書き込み動作のタイミングとの3つのタイミ
ングを、それぞれ、前記読み出しアドレスによって前記
キャラクタジェネレータから読み出された文字パターン
データが、直接、前記書き込みアドレスによって、前記
表示メモリに書き込まれるように制御することを特徴と
するメモリアクセス装置。1. A character processing unit receives character code information and character display position information from a predetermined processing device, reads character pattern data from a character generator according to the character code information, and generates the character pattern data according to the character display position information. A first selecting means for selecting one of two addresses of the output address of the processing device and the write address as an address to the display memory in the display memory according to the write address. A memory access device for writing via one of the output data and the character pattern data read from the character generator as a write data to be written to the display memory. The character code information and characters given from the processing device Holding means for holding position information, means for sequentially generating ROW address information, read character pattern data of the character generator from the generated ROW address information and character code information held in the holding means Timing for generating a read address to be written, a means for generating a write address for writing the character pattern data in the display memory from the generated ROW address and the character position information held in the holding means, and timing. A timing circuit for selecting the write address of the first selecting means, and a timing for selecting character pattern data read from the character generator of the second selecting means. And the timing of the write operation of the display memory The memory access device is controlled such that the character pattern data read from the character generator at the read address is directly written to the display memory at the write address.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60120501A JPH06100904B2 (en) | 1985-06-05 | 1985-06-05 | Memory access device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60120501A JPH06100904B2 (en) | 1985-06-05 | 1985-06-05 | Memory access device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61278886A JPS61278886A (en) | 1986-12-09 |
| JPH06100904B2 true JPH06100904B2 (en) | 1994-12-12 |
Family
ID=14787761
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60120501A Expired - Lifetime JPH06100904B2 (en) | 1985-06-05 | 1985-06-05 | Memory access device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06100904B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63287994A (en) * | 1987-05-21 | 1988-11-25 | 松下電器産業株式会社 | Character font transfer device |
| JPH01108588U (en) * | 1988-01-12 | 1989-07-21 |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6183585A (en) * | 1984-10-01 | 1986-04-28 | 松下電器産業株式会社 | display device |
-
1985
- 1985-06-05 JP JP60120501A patent/JPH06100904B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61278886A (en) | 1986-12-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4849747A (en) | Display data transfer control apparatus applicable for display unit | |
| US5251298A (en) | Method and apparatus for auxiliary pixel color management using monomap addresses which map to color pixel addresses | |
| JPS5834836B2 (en) | data | |
| US4595996A (en) | Programmable video display character control circuit using multi-purpose RAM for display attributes, character generator, and refresh memory | |
| US4837564A (en) | Display control apparatus employing bit map method | |
| JP2797435B2 (en) | Display controller | |
| EP0125768B1 (en) | Method and apparatus for generating phase locked digital clock signals | |
| JPH0570832B2 (en) | ||
| JPH06100904B2 (en) | Memory access device | |
| JPS6145839B2 (en) | ||
| JPS60118888A (en) | Horizontally smoothing scrolling system and method for videodisplay generator | |
| JPS648337B2 (en) | ||
| Matherat | A chip for low-cost raster-scan graphic display | |
| JP2903565B2 (en) | Character display device | |
| JPS6213690B2 (en) | ||
| JP2824708B2 (en) | Graphic drawing device | |
| JP3120118B2 (en) | Image display device | |
| JPH07117827B2 (en) | Character generator device | |
| JPS58100180A (en) | Character display system | |
| JPH0388022A (en) | Image display device | |
| JPS5960482A (en) | CRT device | |
| JPH08115072A (en) | Dot display device | |
| JPS5927911B2 (en) | Display device control method | |
| JPH0443595B2 (en) | ||
| JPH0245198B2 (en) | KANJIHYOJISEIGYOHOSHIKI |