JP2829051B2 - Character display method - Google Patents

Character display method

Info

Publication number
JP2829051B2
JP2829051B2 JP1241453A JP24145389A JP2829051B2 JP 2829051 B2 JP2829051 B2 JP 2829051B2 JP 1241453 A JP1241453 A JP 1241453A JP 24145389 A JP24145389 A JP 24145389A JP 2829051 B2 JP2829051 B2 JP 2829051B2
Authority
JP
Japan
Prior art keywords
character
address
display
pattern data
stored
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
Application number
JP1241453A
Other languages
Japanese (ja)
Other versions
JPH03102395A (en
Inventor
亮 松田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1241453A priority Critical patent/JP2829051B2/en
Publication of JPH03102395A publication Critical patent/JPH03102395A/en
Application granted granted Critical
Publication of JP2829051B2 publication Critical patent/JP2829051B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔目 次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段 作用 実施例 I. 実施例と第1図との対応関係 II. 実施例の構成 III.実施例の動作 IV. 実施例のまとめ V. 発明の変形態様 発明の効果 〔概 要〕 図形表示装置における文字表示方式に関し、 ソフトウェア資源を有効に活用することを目的とし、 画素データを格納する画素データ格納手段と、画素デ
ータ格納手段に格納された画素データに基づいて表示を
行なう表示手段とを有する図形表示手段と、文字,記号
を表すパターンデータを格納しているパターンデータ格
納手段と、指定されたアドレスにパターンデータを格納
する文字バッファと、入力された表示位置に対応する文
字バッファのアドレスを指定して、入力された文字コー
ドに基づいてパターンデータ格納手段から検索されたパ
ターンデータを書き込む第1処理手段と、第1処理手段
による書込処理の際に指定されたアドレスを順次に格納
し、少なくとも1つのアドレスを格納したときに読出要
求信号を出力するアドレス格納手段と、通常は図形を表
す画素単位の画素データを作成して画素データ格納手段
に格納する図形表示処理を行ない、読出要求信号に応じ
て、アドレス格納手段に格納されたアドレスに基づい
て、文字バッファに格納されたパターンデータを画素デ
ータ格納手段の該当する格納場所に転送する処理を行な
う第2処理手段とを備えて構成する。
Detailed Description of the Invention [Table of Contents] Overview Industrial application field Conventional technology Problems to be solved by the invention Means to solve the problem Actions Embodiment I. Correspondence between the embodiment and FIG. 1 II Configuration of the Embodiment III. Operation of the Embodiment IV. Summary of the Embodiment V. Modifications of the Invention Effects of the Invention [Summary] Regarding the character display method in the graphic display device, the purpose is to make effective use of software resources. A graphic display means having pixel data storage means for storing pixel data, display means for performing display based on the pixel data stored in the pixel data storage means, and pattern data representing characters and symbols. A pattern data storage unit, a character buffer for storing pattern data at a specified address, and a character buffer address corresponding to the input display position are designated and input. A first processing unit for writing pattern data retrieved from the pattern data storage unit based on the character code, and an address designated at the time of the writing process by the first processing unit are sequentially stored, and at least one address is stored. Address display means for outputting a read request signal when the image data is read, and a graphic display process for generating pixel data representing a graphic and storing the pixel data in the pixel data storage means, and performing address storage according to the read request signal. Second processing means for performing a process of transferring the pattern data stored in the character buffer to a corresponding storage location of the pixel data storage means based on the address stored in the means.

〔産業上の利用分野〕[Industrial applications]

本発明は、図形表示装置における文字表示方式に関す
るものである。
The present invention relates to a character display method in a graphic display device.

コンピュータ支援設計(CAD)システムなどに利用さ
れているワークステーションの表示装置としては、図形
表示機能を重視した図形表示装置が用いられている。
As a display device of a workstation used in a computer-aided design (CAD) system or the like, a graphic display device emphasizing a graphic display function is used.

図形表示装置は主として図形表示を行なうので、図形
表示装置の中には、文字表示装置で用いられているよう
な文字表示機構を備えていないものがある。
Since graphic display devices mainly perform graphic display, some graphic display devices do not have a character display mechanism as used in character display devices.

一方、このような図形表示装置においても、文字表示
装置と同様に漢字表示を行ないたいという要望がある。
On the other hand, in such a graphic display device as well, there is a demand for displaying kanji in the same manner as the character display device.

〔従来の技術〕[Conventional technology]

第5図に従来の文字表示装置を備えたワークステーシ
ョンの構成を示す。また、第6図に従来の図形表示装置
を備えたワークステーションの構成を示す。
FIG. 5 shows a configuration of a workstation provided with a conventional character display device. FIG. 6 shows a configuration of a workstation provided with a conventional graphic display device.

従来の文字表示装置を備えたワークステーションにお
いて、文字の表示を行なう際には、マイクロプロセッサ
(MPU)511により、文字を表示する位置に対応する文字
バッファ512の格納場所に、表示すべき文字を示す文字
コードが格納される。表示制御部513は、この文字バッ
ファ512から文字コードを読み出して、キャラクタジェ
ネレータ(CG)514に供給する。この文字コードに応じ
て、CG514から該当する文字を表すパターンデータが出
力され、ビデオ信号に変換されて陰極線管(CRT)515に
表示される。
When a character is displayed on a workstation equipped with a conventional character display device, a character to be displayed is stored in a character buffer 512 corresponding to a position where the character is displayed by a microprocessor (MPU) 511. The character code shown is stored. The display control unit 513 reads a character code from the character buffer 512 and supplies it to a character generator (CG) 514. According to the character code, pattern data representing the corresponding character is output from the CG 514, converted into a video signal, and displayed on the cathode ray tube (CRT) 515.

このように、文字表示装置を備えたワークステーショ
ンにおいては、文字バッファ512とCG541とからなる文字
表示機構を備えていることが前提となっている。
As described above, it is assumed that the workstation including the character display device includes a character display mechanism including the character buffer 512 and the CG 541.

また、文字表示装置は図形表示装置に比較して普及し
ており、文字表示装置を用いたワークステーションおよ
びパーソナルコンピュータに適用されるソフトウェアの
蓄積は膨大な量となっている。
Further, character display devices are more widespread than graphic display devices, and the amount of software applied to workstations and personal computers using the character display devices is enormous.

一方、従来の図形表示装置を備えたワークステーショ
ンにおいては、MPU621は、入力された座標データと描画
指示に基づいて、図形を表す画素データを生成してグラ
フィスクメモリ622に格納し、表示制御部623は、このグ
ラフィクスメモリ622に格納された画素データに基づい
て表示を行なうように、CRT624を制御するようになって
いる。
On the other hand, in a workstation provided with a conventional graphic display device, the MPU 621 generates pixel data representing a graphic based on the input coordinate data and the drawing instruction, stores the pixel data in the graphics memory 622, and displays the display control unit. The 623 controls the CRT 624 so as to perform display based on the pixel data stored in the graphics memory 622.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

ところで、上述した従来の図形表示装置は、文字バッ
ファおよびCGを備えていないので、文字表示装置を備え
たワークステーションに適用されるソフトウェアをその
まま利用して文字を表示させることはできず、膨大なソ
フトウェア資源を活用することができないという問題点
があった。
By the way, since the conventional graphic display device described above does not include a character buffer and a CG, it is not possible to display characters using software applied to a workstation equipped with the character display device as it is, and it is enormous. There was a problem that software resources could not be utilized.

上述したような図形表示装置を用いて、文字表示をし
ようとすると、各文字を図形として表す必要がある。
When attempting to display characters using the graphic display device as described above, it is necessary to represent each character as a graphic.

また、単に文字バッファとCGとを付加しただけでは、
図形表示装置を用いたワークステーションのMPU621によ
って文字バッファおよびCGを制御する必要があるので、
文字表示に関するプログラムを大幅に変更しなければな
らない。
Also, just by adding a character buffer and CG,
Since it is necessary to control the character buffer and CG by the MPU621 of the workstation using the graphic display device,
Significant changes have to be made to character display programs.

本発明は、このような点にかんがみて創作されたもの
であり、文字表示処理用のハードウェアを追加すること
により、ソフトウェア資源を有効に活用するようにした
文字表示方式を提供することを目的としている。
The present invention has been made in view of such a point, and an object of the present invention is to provide a character display method that effectively utilizes software resources by adding hardware for character display processing. And

〔課題を解決するための手段〕[Means for solving the problem]

第1図は、本発明の文字表示方式の原理ブロック図で
ある。
FIG. 1 is a block diagram showing the principle of the character display system according to the present invention.

図において、図形表示手段110は、画素データを格納
する画素データ格納手段111と、画素データ格納手段111
に格納された画素データに基づいて表示を行なう表示手
段112とを有する。
In the figure, a graphic display unit 110 includes a pixel data storage unit 111 for storing pixel data, and a pixel data storage unit 111.
And a display unit 112 for performing display based on the pixel data stored in the storage device.

パターンデータ格納手段121は、文字および記号を表
すパターンデータを格納している。
The pattern data storage unit 121 stores pattern data representing characters and symbols.

文字バッファ122は、指定されたアドレスにパターン
データを格納する。
The character buffer 122 stores the pattern data at the specified address.

第1処理手段124は、入力された文字コードに基づい
てパターンデータ格納手段121を検索し、入力された表
示位置に対応する文字バッファ122のアドレスを指定し
て、検索されたパターンデータの書込処理を行なう。
The first processing means 124 searches the pattern data storage means 121 based on the input character code, specifies the address of the character buffer 122 corresponding to the input display position, and writes the searched pattern data. Perform processing.

アドレス格納手段123は、第1処理手段124による書込
処理の際に指定されたアドレスを順次に格納し、少なく
とも1つのアドレスを格納したときに読出要求信号を出
力する。
The address storage unit 123 sequentially stores the addresses specified during the writing process by the first processing unit 124, and outputs a read request signal when at least one address is stored.

第2処理手段131は、通常は図形を表す画素単位の画
素データを生成して画素データ格納手段111に格納する
図形表示処理を行ない、読出要求信号に応じて、アドレ
ス格納手段123に格納されたアドレスに基づいて、文字
バッファ122に格納されたパターンデータを画素データ
格納手段111の該当する格納場所に転送する処理を行な
う。
The second processing unit 131 performs a graphic display process of generating pixel data of a pixel representing a graphic and storing the pixel data in the pixel data storage unit 111, and is stored in the address storage unit 123 in response to the read request signal. Based on the address, a process of transferring the pattern data stored in the character buffer 122 to a corresponding storage location of the pixel data storage unit 111 is performed.

〔作 用〕(Operation)

入力された文字コードに基づいて、第1処理手段124
により、パターンデータ格納手段121から該当するパタ
ーンデータが検索され、このパターンデータが、入力さ
れた表示位置に対応する文字バッファ122のアドレスに
格納される。
Based on the input character code, the first processing unit 124
Thus, the corresponding pattern data is retrieved from the pattern data storage means 121, and this pattern data is stored in the address of the character buffer 122 corresponding to the input display position.

このとき、この文字バッファ122のアドレスがアドレ
ス格納手段123に格納され、少なくとも1つのアドレス
が格納されたときに、このアドレス格納手段123により
読出要求信号が出力される。例えば、アドレス格納手段
123の容量の半分までアドレスが格納されたときに読出
要求信号を出力するように出力すればよい。
At this time, the address of the character buffer 122 is stored in the address storage means 123, and when at least one address is stored, the address storage means 123 outputs a read request signal. For example, address storage means
What is necessary is just to output the read request signal when the address is stored to half of the capacity of 123.

この読出要求信号に応じて、第2処理手段131によ
り、アドレス格納手段123に格納された文字バッファ122
のアドレスに格納されたパターンデータが、画素データ
格納手段111の該当する格納場所に転送される。
In response to the read request signal, the second processing means 131 causes the character buffer 122 stored in the address storage means 123 to be stored.
Is transferred to the corresponding storage location of the pixel data storage unit 111.

本発明にあっては、第1処理手段124,パターンデータ
格納手段121,文字バッファ122,アドレス格納手段123
が、文字表示のための処理を行なう文字表示機構として
動作する。また、アドレス格納手段123からの読出要求
信号に応じて、第2処理手段131により、文字バッファ1
22に格納されたパターンデータを画素データ格納手段11
1に転送することにより、文字および記号を表すパター
ンデータに基づいて、表示手段112による表示が行なわ
れる。これにより、第2処理手段131のソフトウェアを
大幅に変更することなく、文字表示機構を備えているこ
とを前提として作成されたソフトウェア資源を活用する
ことができる。
In the present invention, the first processing means 124, the pattern data storage means 121, the character buffer 122, the address storage means 123
Operate as a character display mechanism that performs processing for character display. Also, in response to the read request signal from the address storage means 123, the second processing means 131 causes the character buffer 1
The pattern data stored in 22 is stored in the pixel data storage
By transferring the data to 1, the display by the display means 112 is performed based on the pattern data representing the characters and symbols. This makes it possible to utilize the software resources created on the assumption that the character display mechanism is provided, without largely changing the software of the second processing unit 131.

〔実施例〕〔Example〕

以下、図面に基づいて本発明の実施例について詳細に
説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第2図は、本発明の一実施例における文字表示方式を
適用したワークステーションの構成を示す。
FIG. 2 shows a configuration of a workstation to which a character display method according to an embodiment of the present invention is applied.

I.実施例と第1図との対応関係 ここで、本発明の実施例と第1図の対応関係を示して
おく。
I. Correspondence Between Embodiment and FIG. 1 Here, the correspondence between the embodiment of the present invention and FIG. 1 will be described.

図形表示手段110は、図形表示装置210に相当する。 The graphic display means 110 corresponds to the graphic display device 210.

画素データ格納手段111は、グラフィクスメモリ212に
相当する。
The pixel data storage unit 111 corresponds to the graphics memory 212.

表示手段112は、陰極線管(CRT)211に相当する。 The display means 112 corresponds to a cathode ray tube (CRT) 211.

パターンデータ格納手段121は、メモリ223のパターン
データ領域232に相当する。
The pattern data storage unit 121 corresponds to the pattern data area 232 of the memory 223.

文字バッファ格納手段122は、メモリ223の文字バッフ
ァ領域233に相当する。
The character buffer storage unit 122 corresponds to the character buffer area 233 of the memory 223.

アドレス格納手段123は、先入れ先立しメモリ(FIF
O)222に相当する。
The address storage means 123 is a first-in first-out memory (FIF
O) 222.

第1処理手段124は、マイクロプロセッサ(MPU)221
に相当する。
The first processing means 124 includes a microprocessor (MPU) 221
Is equivalent to

第2処理手段131は、MPU201に相当する。 The second processing unit 131 corresponds to the MPU 201.

以上のような対応関係があるものとして、以下本発明
の実施例について説明する。
An embodiment of the present invention will be described below assuming that there is the above correspondence.

II.実施例の構成 第2図において、201は32ビットのマイクロプロセッ
サ(MPU)、210は図形表示装置、211は陰極線管(CR
T)、212はグラフィクスメモリ、213は表示制御部、214
は信号変換部である。ワークステーションは、これらの
各部を備えて構成されており、MPU201と図形表示装置21
0とは、バス202を介して相互に接続されている。
II. Configuration of the embodiment In FIG. 2, 201 is a 32-bit microprocessor (MPU), 210 is a graphic display device, 211 is a cathode ray tube (CR).
T), 212 is a graphics memory, 213 is a display control unit, 214
Is a signal conversion unit. The workstation is configured to include these units, and includes the MPU 201 and the graphic display device 21.
0 is mutually connected via the bus 202.

図形表示装置210のグラフィクスメモリ212の各格納場
所には、CRT211の表示画面の各画素に対応して画素デー
タが格納されるようになっている。
Each storage location of the graphics memory 212 of the graphic display device 210 stores pixel data corresponding to each pixel of the display screen of the CRT 211.

このグラフィクスメモリ212に格納された画素データ
は、信号変換部214によってビデオ信号に変換されてCRT
211に供給されるようになっており、表示制御部213は、
グラフィクスメモリ212に格納された画素データに基づ
いて、CRT211により画像が表示されるように、CRT211お
よび信号変換部214を制御するようになっている。
The pixel data stored in the graphics memory 212 is converted into a video signal by the signal
211, and the display control unit 213
The CRT 211 and the signal conversion unit 214 are controlled so that an image is displayed by the CRT 211 based on the pixel data stored in the graphics memory 212.

また、221は16ビットのMPU、222は512ワードの容量を
有する先入れ先だしメモリ(FIFO)、223は、1Mバイト
の容量を有するメモリ、224はステータレジスタであ
る。文字表示アダプタ220は、これらの各部を備えて構
成されており、MPU221とメモリ223とは、アドレスバス2
24aおよびデータバス224bからなるバス224を介して接続
されている。また、FIFO222は、MPU221のアドレスバス2
24aに接続されており、MPU221がメモリ223にデータを書
き込む際に、メモリ223のアドレスがFIFO222に書き込ま
れるようになっている。
221 is a 16-bit MPU, 222 is a first-in first-out memory (FIFO) having a capacity of 512 words, 223 is a memory having a capacity of 1 Mbyte, and 224 is a stator register. The character display adapter 220 includes these components, and the MPU 221 and the memory 223 are connected to the address bus 2.
They are connected via a bus 224 including a data bus 24a and a data bus 224b. The FIFO 222 is connected to the address bus 2 of the MPU 221.
24a, the address of the memory 223 is written to the FIFO 222 when the MPU 221 writes data to the memory 223.

また、この文字表示アダプタ220は、ワークステーシ
ョンの拡張スロット(図示せず)に差し込むように構成
されており、この拡張スロットを介して、FIFO222,メモ
リ223,ステータスレジスタ224は、MPU201のバス202に接
続されるようになっている。
The character display adapter 220 is configured to be inserted into an expansion slot (not shown) of the workstation. Through this expansion slot, the FIFO 222, the memory 223, and the status register 224 are connected to the bus 202 of the MPU 201. It is to be connected.

メモリ223は、プログラム領域231と、パターンデータ
領域232と、文字バッファ領域233とから形成されてい
る。
The memory 223 includes a program area 231, a pattern data area 232, and a character buffer area 233.

このプログラム領域231には、ワークステーションを
起動する際に、ディスク装置などの補助記憶装置(図示
せず)からオペレーションシステム(OS)の中の文字表
示処理に関するプログラムが格納されるようになってい
る。
The program area 231 stores a program related to character display processing in an operation system (OS) from an auxiliary storage device (not shown) such as a disk device when the workstation is started. .

MPU221はMPU201によって実行されているアプリケーシ
ョンプログラムからの文字表示処理依頼に応じて、この
プログラム領域231に格納されたプログラムに従って動
作する。ここで、このプログラム領域231に格納される
文字表示処理に関するプログラムは、従来の文字表示装
置を用いた場合のプログラムと同一のプログラムであ
る。
The MPU 221 operates in accordance with the program stored in the program area 231 in response to a character display processing request from an application program executed by the MPU 201. Here, the program related to the character display processing stored in the program area 231 is the same program as the program using the conventional character display device.

パターンデータ領域232には、文字および記号を示す
文字コードに対応して、該当する文字および記号を表す
パターンデータが予め格納されている。また、上述した
補助記憶装置にこのようなパターンデータを予め格納し
ておき、ワークステーションを起動する際にパターンデ
ータ領域232にこのパターンデータを格納するようにし
てもよい。
In the pattern data area 232, pattern data representing the corresponding characters and symbols is stored in advance corresponding to the character codes indicating the characters and symbols. Alternatively, such pattern data may be stored in the auxiliary storage device in advance, and the pattern data may be stored in the pattern data area 232 when the workstation is started.

文字バッファ領域233は、CRT211の表示画面上の各文
字表示位置に対応する複数の小領域から形成されてい
る。例えば、CRT211で80桁×24行の文字表示が可能であ
る場合は、文字バッファ領域233は、80×24個の小領域
から形成されている。
The character buffer area 233 is formed from a plurality of small areas corresponding to each character display position on the display screen of the CRT 211. For example, when the CRT 211 can display characters of 80 columns × 24 lines, the character buffer area 233 is formed from 80 × 24 small areas.

III.実施例の動作 MPU201によって実行されているアプリケーションプラ
グラムの中で文字の表示を行なう場合に、アプリケーシ
ョンプログラムは、文字表示処理に関するプログラムに
対して、表示する文字コードと表示位置とを指定して、
文字表示処理依頼を行なう。
III. Operation of Embodiment When displaying characters in an application program executed by the MPU 201, the application program specifies a character code to be displayed and a display position for a program relating to character display processing. ,
Request character display processing.

この文字表示処理依頼に応じて、文字表示アダプタ22
0のMPU221は、指定された文字コードに基づいてメモリ2
23のパターンデータ領域233を検索し、該当するパター
ンデータを文字バッファ領域233の指定された表示位置
に対応する小領域に格納する。このとき、パターンデー
タが書き込まれた小領域の先頭アドレスが、FIFO222に
書き込まれる。
In response to this character display processing request, the character display adapter 22
0 MPU 221 stores memory 2 based on the specified character code.
The 23 pattern data areas 233 are searched, and the corresponding pattern data is stored in the small area corresponding to the designated display position in the character buffer area 233. At this time, the start address of the small area where the pattern data is written is written to the FIFO 222.

このようにして、アプリケーションプログラムからの
文字表示処理依頼に応じて、指定された文字コードに対
応するパターンデータが文字バッファ領域233に、この
文字バッファ領域233におけるパターンデータの格納場
所の先頭アドレスがFIFO222に順次に格納され、文字表
示処理が行なわれる。
In this way, in response to a character display processing request from the application program, the pattern data corresponding to the designated character code is stored in the character buffer area 233, and the start address of the storage location of the pattern data in the character buffer area 233 is stored in the FIFO 222. , And a character display process is performed.

FIFO222は、容量の半分(256ワード)まで上述したア
ドレスが書き込まれたときに、出力端子OHFからハーフ
・フル信号SHFとして論理“0"を出力するように構成さ
れており、このハーフ・フル信号SHFは、割り込み要求
信号としてMPU201に供給されるとともに、ステータスレ
ジスタ224の変更通知フラグをセットするようになって
いる。
The FIFO 222 is configured to output a logic “0” as a half-full signal S HF from the output terminal O HF when the above-mentioned address is written to half of the capacity (256 words). full signal S HF is supplied to MPU201 as an interrupt request signal, is adapted to set the change notification flag in the status register 224.

MPU201は、上述した割り込み要求信号に応じて、以下
に述べる割り込み信号を行なう。
The MPU 201 performs an interrupt signal described below in response to the above-described interrupt request signal.

第3図は、割り込み処理動作を表す流れ図である。 FIG. 3 is a flowchart showing an interrupt processing operation.

まず、MPU201は、文字表示アダプタ220のステータス
レジスタ224を参照し、変更通知フラグがセットされて
いるか否かによって、CRT211の表示画面の変更が必要で
あるか否かを判定する(ステップ301)。
First, the MPU 201 refers to the status register 224 of the character display adapter 220, and determines whether or not the display screen of the CRT 211 needs to be changed based on whether or not the change notification flag has been set (step 301).

ここで、表示画面の変更とは、新たな文字の表示,表
示されている文字の変更あるいは消去をいう。
Here, the change of the display screen means the display of a new character, the change or deletion of the displayed character.

変更通知フラグがセットされている場合は、上述した
ステップ301における肯定判定となり、MPU201は、FIFO2
22から文字バッファ領域233のアドレスを読み出して
(ステップ302)、該当する文字バッファ領域233の小領
域からパターンデータを読み出す(ステップ303)。
If the change notification flag is set, the affirmative determination is made in step 301 described above, and the MPU 201
The address of the character buffer area 233 is read from 22 (step 302), and the pattern data is read from the corresponding small area of the character buffer area 233 (step 303).

次に、MPU201は、ステップS302において読み出した文
字バッファ領域233のアドレスに基づいて、CRT211の表
示画面上の該当する表示位置に対応するグラフィクスメ
モリ212の領域の先頭アドレスを算出し、この領域にス
テップS303で読み出したパターンデータを格納する(ス
テップ304)。
Next, the MPU 201 calculates the start address of the area of the graphics memory 212 corresponding to the corresponding display position on the display screen of the CRT 211 based on the address of the character buffer area 233 read in step S302, and The pattern data read in S303 is stored (step 304).

このようにして、グラフィクスメモリ212の該当する
領域に、文字バッファ領域233から読み出したパターン
データが格納され、これにより、CRT211の表示画面が変
更される。
In this way, the pattern data read from the character buffer area 233 is stored in the corresponding area of the graphics memory 212, and thereby the display screen of the CRT 211 is changed.

MPU201は、FIFO222のハーフ・フル信号SHFが論理“1"
となってステータスレジスタ224の変更通知フラグがリ
セットされ、上述したステップ301の否定判定となるま
で、上述したステップ301〜ステップ304の処理を繰り返
す。
In the MPU 201, the half full signal S HF of the FIFO 222 is logic “1”.
As a result, the change notification flag of the status register 224 is reset, and the processing of steps 301 to 304 described above is repeated until a negative determination is made in step 301 described above.

また、MPU201への割り込み要求信号として、FIFO222
のハーフ・フル信号SHFの代わりに、FIFO222が空の状態
であるときに論理“1"となるエンプティ信号SEを用いる
ようにしてもよい。この場合は、ステータスレジスタ22
4は、このエンプティ信号SEが論理“0"のときに、上述
した変更通知フラグをセットするようにすればよい。
Also, as an interrupt request signal to the MPU 201, the FIFO 222
In place of the half-full signal S HF, it may be used empty signal S E becomes the logic "1" when FIFO222 is empty. In this case, the status register 22
4, when the empty signal S E is logic "0", it is sufficient to set the change notification flag described above.

ところで、MPU201によるFIFO222からのアドレスの読
出速度よりもMPU221によるFIFO222への書込速度の方が
速い場合は、アドレスがFIFO222の容量一杯に書き込ま
れた状態となる。このとき、FIFO222は出力端子OFから
フル信号SFとして論理“0"を出力するように構成されて
おり、このフル信号SFはホールド信号SHOLDとして、MPU
221に供給されている。また、MPU221は、このホールド
信号SHOLDが論理“0"の間は動作を一時停止するように
なっている。
If the writing speed of the MPU 221 to the FIFO 222 is faster than the reading speed of the address from the FIFO 222 by the MPU 201, the address is written to the full capacity of the FIFO 222. At this time, FIFO222 is configured to output a logic "0" as the full signal S F from the output terminal O F, as the full signal S F is hold signal S HOLD, MPU
221. The operation of the MPU 221 is temporarily stopped while the hold signal S HOLD is logic “0”.

このように、FIFO222の容量一杯にアドレスが書き込
まれた状態においては、MPU201によって先に書き込まれ
たアドレスが読み出されるまで、MPU221による文字表示
処理動作が一時停止される。
As described above, in the state where the address is written to the full capacity of the FIFO 222, the character display processing operation by the MPU 221 is temporarily stopped until the address previously written by the MPU 201 is read.

一方、画面のリフレッシュを行なう場合や、入力され
たデータの取消を行なう場合などは、MPU201はリセット
信号SRを出力して、FIFO222の制御端子Rに供給する。F
IFO222は、制御端子Rに供給されたこのリセット信号SR
に応じてアドレスの書込位置をリセットし、上述したハ
ーフ・フル信号SHFおよびフル信号SFとして論理“1"を
出力するようになっている。また、このハーフ・フル信
号SHFの変化に応じて、ステータスレジスタ224の変更通
知フラグはリセットされる。
On the other hand, and when performing screen refreshing, such as when performing cancellation of the input data, the MPU 201 outputs a reset signal S R, to the control terminal R of the FIFO 222. F
The IFO 222 outputs the reset signal S R supplied to the control terminal R.
Depending on to reset the writing position address, and outputs a logical "1" as a half-full signal S HF, and full signal S F described above. In addition, the change notification flag of the status register 224 is reset according to the change of the half-full signal SHF .

また、上述したようにFIFO222の容量一杯にアドレス
が書き込まれた状態で、MPU221を一時停止させないよう
にしたい場合がある。
Further, there is a case where it is desired not to temporarily stop the MPU 221 in a state where the address is written to the full capacity of the FIFO 222 as described above.

この場合は、MPU201は、FIFO222から供給された割り
込み要求信号に応じて、第4図に示す割り込み処理を行
なう。また、この場合は、FIFO222のフル信号SFが論理
“0"のときにステータスレジスタ224の満杯通知フラグ
をセットし、論理“1"のときにリセットするようにす
る。
In this case, the MPU 201 performs the interrupt processing shown in FIG. 4 according to the interrupt request signal supplied from the FIFO 222. In this case, the full signal S F of FIFO222 is set full notification flag in the status register 224 when a logic "0", so as to reset when a logic "1".

まず、MPU201は、ステータスレジスタ224を参照し、
満杯通知フラグがセットされているか否かを判定し(ス
テップ401)、否定判定の場合にCRT211の表示画面の変
更が必要であるか否かを判定する(ステップ402)。こ
のステップ402における肯定判定の場合に、MPU201は、F
IFO222からアドレスの読み出しを行ない(ステップ40
3)、このアドレスに基づいて文字バッファ領域233から
パターンデータを読み出して(ステップ404)、グラフ
ィクスメモリ212の該当する領域に格納する(ステップ4
05)。
First, the MPU 201 refers to the status register 224,
It is determined whether or not the full notification flag is set (step 401), and in the case of a negative determination, it is determined whether or not the display screen of the CRT 211 needs to be changed (step 402). In the case of an affirmative determination in step 402, the MPU 201
The address is read from IFO 222 (step 40
3) The pattern data is read from the character buffer area 233 based on this address (step 404) and stored in the corresponding area of the graphics memory 212 (step 4).
05).

上述したフル信号SFによってMPU221を一時停止する場
合と同様にして、ステップ402における否定判定となる
まで、ステップ401〜ステップ405を繰り返す。
In the same manner as in the case of pause MPU221 by full signal S F as described above, until the negative determination in step 402, and repeats the steps 401 to 405.

一方、ステップ401における肯定判定の場合は、MPU20
1は上述したリセット信号SRを出力してFIFO222の書込位
置をリセットして(ステップ406)、全画面のリフレッ
シュを行ない(ステップ407)、このステップ407の実行
後は、ステップ401に戻る。
On the other hand, in the case of an affirmative determination in step 401, the MPU 20
1 resets the writing position FIFO222 outputs a reset signal S R as described above (step 406), performs a refresh of the entire screen (step 407), after execution of step 407, the process returns to step 401.

IV.実施例のまとめ 上述したように、図形表示装置210を備えたワークス
テーションに、MPU221,FIFO222,メモリ223,ステータス
レジスタ224を備えた文字表示アダプタ220を付加し、こ
のメモリ223のパターンデータ領域232にパターンデータ
を格納し、プログラム領域231に文字表示処理に関する
プログラムを格納して起動する。
IV.Summary of Embodiment As described above, a character display adapter 220 having an MPU 221, a FIFO 222, a memory 223, and a status register 224 is added to a workstation having the graphic display device 210, and a pattern data area of the memory 223 is added. The pattern data is stored in 232 and the program related to the character display processing is stored in the program area 231 and activated.

これにより、アプリケーションプログラムからの文字
表示処理依頼に応じて、MPU221,FIFO222,メモリ223によ
り、文字表示のための処理が行なわれ、メモリ223の文
字バッファ領域233に指定された文字コードに対応する
パターンデーが格納される。また、文字表示アダプタ22
0からの割り込み要求信号(FIFO222のハーフ・フル信号
SHF)に応じて、上述した割り込み処理を行なうことに
より、このパターンデータがグラフィクスメモリ212に
転送され、図形表示装置210のCRT211により、パターン
データに基づいて文字の表示を行なうことが可能とな
る。
As a result, in response to a character display processing request from the application program, processing for character display is performed by the MPU 221, the FIFO 222, and the memory 223, and a pattern corresponding to the character code specified in the character buffer area 233 of the memory 223. The data is stored. The character display adapter 22
Interrupt request signal from 0 (half-full signal of FIFO222
By performing the above-described interrupt processing in accordance with S HF ), this pattern data is transferred to the graphics memory 212, and characters can be displayed on the CRT 211 of the graphic display device 210 based on the pattern data. .

このように、アプリケーションプログラムを変更する
ことなく、MPU201のプログラムとしては上述した割り込
み処理のプログラムを追加するだで、文字表示を行なう
ことができる。
As described above, the character display can be performed by adding the above-described interrupt processing program as the program of the MPU 201 without changing the application program.

また、上述した文字表示アダプタ220は、市販のMPU,F
IFO,メモリなどの素子を用いて構成することができる。
The character display adapter 220 described above is a commercially available MPU, F
It can be configured using elements such as an IFO and a memory.

〔発明の効果〕〔The invention's effect〕

上述したように、本発明によれば、第1処理手段とパ
ターンデータ格納手段と文字バッファとアドレス格納手
段によって文字表示のための処理を行ない、第2処理手
段によって文字バッファに格納されたパターンデータを
画素データ格納手段に転送することにより、表示手段に
より文字表示を行なうことが可能となり、文字表示機構
の存在を前提としたソフトウェア資源を活用することが
できるので、実用的には極めて有用である。
As described above, according to the present invention, the first processing means, the pattern data storage means, the character buffer, and the address storage means perform the processing for character display, and the second processing means stores the pattern data stored in the character buffer. Is transferred to the pixel data storage means, the character display can be performed by the display means, and software resources based on the existence of a character display mechanism can be used, which is extremely useful in practice. .

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

第1図は本発明の文字表示方式の原理ブロック図、第2
図は本発明の一実施例による文字表示方式を適用したワ
ークステーションの構成ブロック図、第3図,第4図は
実施例の割り込み処理動作を表す流れ図、 第5図は従来の文字表示装置を備えたワークステーショ
ンの構成図、 第6図は従来の図形表示装置を備えたワークステーショ
ンの構成図である。 図において、 110は図形表示手段、 111は画素データ格納手段、 112は表示手段、 121はパターンデータ格納手段、 122は文字バッファ、 123はアドレス格納手段、 124は第1処理手段、 131は第2処理手段、 201,221,511,621はマイクロプロセッサ(MPU)、 202,224はバス、 210は図形表示装置、 211,515,624は陰極線管(CRT)、 212,622はグラフィクスメモリ、 212,513,623は表示制御部、 214は信号変換部、 220は文字表示アダプタ、 222は先入れ先出しメモリ(FIFO)、 223はメモリ、 231はプログラム領域、 232はパターンデータ領域、 233は文字バッファ領域、 512は文字バッファ、 514はキャラクタジェネレータ(CG)である。
FIG. 1 is a block diagram showing the principle of the character display system according to the present invention.
FIG. 1 is a block diagram of a workstation to which a character display system according to an embodiment of the present invention is applied, FIGS. 3 and 4 are flowcharts showing an interrupt processing operation of the embodiment, and FIG. FIG. 6 is a configuration diagram of a workstation provided with a conventional graphic display device. In the figure, 110 is a graphic display means, 111 is a pixel data storage means, 112 is a display means, 121 is a pattern data storage means, 122 is a character buffer, 123 is an address storage means, 124 is a first processing means, and 131 is a second processing means. Processing means, 201,221,511,621 are microprocessors (MPU), 202,224 are buses, 210 is graphic display device, 211,515,624 is cathode ray tube (CRT), 212,622 is graphics memory, 212,513,623 is display control unit, 214 is signal conversion unit, 220 is character display An adapter, 222 is a first-in first-out memory (FIFO), 223 is a memory, 231 is a program area, 232 is a pattern data area, 233 is a character buffer area, 512 is a character buffer, and 514 is a character generator (CG).

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画素データを格納する画素データ格納手段
(111)と、前記画素データ格納手段(111)に格納され
た画素データに基づいて表示を行なう表示手段(112)
とを有する図形表示手段(110)と、 文字および記号を表すパターンデータを格納しているパ
ターンデータ格納手段(121)と、 指定されたアドレスに前記パターンデータを格納する文
字バッファ(122)と、 入力された文字コードに基づいて前記パターンデータ格
納手段(121)を検索し、入力された表示位置に対応す
る前記文字バッファ(122)のアドレスを指定して、検
索されたパターンデータの書込処理を行なう第1処理手
段(124)と、 前記第1処理手段(124)による書込処理の際に指定さ
れたアドレスを順次に格納し、少なくとも1つのアドレ
スを格納したときに読出要求信号を出力するアドレス格
納手段(123)と、 通常は図形を表す画素単位の画素データを生成して前記
画素データ格納手段(111)に格納する図形表示処理を
行い、前記読出要求信号に応じて、前記アドレス格納手
段(123)に格納されたアドレスに基づいて、前記文字
バッファ(122)に格納されたパターンデータを前記画
素データ格納手段(111)の該当する格納場所に転送す
る処理を行なう第2処理手段(131)と、 を備えるように構成したことを特徴とする文字表示方
式。
1. A pixel data storage means (111) for storing pixel data, and a display means (112) for performing display based on the pixel data stored in the pixel data storage means (111).
A pattern data storage means (121) for storing pattern data representing characters and symbols; a character buffer (122) for storing the pattern data at a specified address; Searching the pattern data storage means (121) based on the input character code, and specifying the address of the character buffer (122) corresponding to the input display position, and writing the searched pattern data A first processing means (124) for performing a write operation, and sequentially storing addresses designated at the time of writing processing by the first processing means (124), and outputting a read request signal when at least one address is stored. An address storage means (123) for performing a graphic display process of generating pixel data of a pixel representing a graphic and storing the generated pixel data in the pixel data storage means (111); In response to the output request signal, the pattern data stored in the character buffer (122) is stored in a corresponding storage location of the pixel data storage means (111) based on the address stored in the address storage means (123). And a second processing means (131) for performing a transfer process.
JP1241453A 1989-09-18 1989-09-18 Character display method Expired - Lifetime JP2829051B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1241453A JP2829051B2 (en) 1989-09-18 1989-09-18 Character display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1241453A JP2829051B2 (en) 1989-09-18 1989-09-18 Character display method

Publications (2)

Publication Number Publication Date
JPH03102395A JPH03102395A (en) 1991-04-26
JP2829051B2 true JP2829051B2 (en) 1998-11-25

Family

ID=17074536

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1241453A Expired - Lifetime JP2829051B2 (en) 1989-09-18 1989-09-18 Character display method

Country Status (1)

Country Link
JP (1) JP2829051B2 (en)

Also Published As

Publication number Publication date
JPH03102395A (en) 1991-04-26

Similar Documents

Publication Publication Date Title
JP2662168B2 (en) Systems and methods for managing graphics system rendering context data
JP2538029B2 (en) Computer display device
JP3240821B2 (en) High-performance image memory LSI and display device using the same
JPH0355832B2 (en)
JP2548765B2 (en) Display device
JP2755378B2 (en) Extended graphics array controller
US4747042A (en) Display control system
US5757381A (en) Methods for fast scrolling of images
US5553228A (en) Accelerated interface between processors and hardware adapters
JPH0646378B2 (en) Computer display
JP2829051B2 (en) Character display method
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JP3312699B2 (en) Screen display method using virtual VRAM
JP3454113B2 (en) Graphics display
JPH11161255A (en) Image display unit
JPH0550013B2 (en)
JPH0520412A (en) Graphic display device
JPH07199907A (en) Display controller
JPS60129786A (en) Image memory
JPS61109094A (en) Cursor display unit
JPH06214749A (en) Plotting controller
JPH03276272A (en) Fast display device for graphic screen
JPH0528397B2 (en)
JPH0774945B2 (en) Multi-wind memory management device
JPH04199284A (en) Display device