JPH03102395A - Character display system - Google Patents

Character display system

Info

Publication number
JPH03102395A
JPH03102395A JP1241453A JP24145389A JPH03102395A JP H03102395 A JPH03102395 A JP H03102395A JP 1241453 A JP1241453 A JP 1241453A JP 24145389 A JP24145389 A JP 24145389A JP H03102395 A JPH03102395 A JP H03102395A
Authority
JP
Japan
Prior art keywords
character
address
storage means
pattern data
display
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.)
Granted
Application number
JP1241453A
Other languages
Japanese (ja)
Other versions
JP2829051B2 (en
Inventor
Akira Matsuda
亮 松田
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

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To utilize a software resource effectively by adding hardware for character display processing. CONSTITUTION:A 1st processing means 124 retrieves a pattern data storage means 121 according to an input character code and specifies an address of a character pattern 122 corresponding to an input display position to write retrieved pattern data. An address storage means 123 is stored with the address specified at the time of the writing processing by the 1st processing means 124 and outputs a readout request signal when the address is stored. A 2nd processing means 131 generates data in picture element units which show a figure and performs figure display processing for storage in a picture element data storage means 11, and pattern data stored in the character buffer 122 is transferred to a picture element data storage means 111 at a readout request according to the address stored in the address storage means 123.

Description

【発明の詳細な説明】 〔目 次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段 作用 実施例 ■.実施例と第1図との対応関係 ■.実施例の構戒 ■.実施例の動作 ■.実施例のまとめ ■.発明の変形態様 発明の効果 〔概 要〕 図形表示装置における文字表示方式に関し、ソフトウエ
ア資源を有効に活用することを目的とし、 画素データを格納する画素データ格納手段と、画素デー
タ格納手段に格納された画素データに基づいて表示を行
なう表示手段とを有する図形表示手段と、文字,記号を
表すパターンデータを格納しているパターンデータ格納
手段と、指定されたアドレスにパターンデータを格納す
る文字バッツァと、人力された表示位置に対応する文字
バッファのアドレスを指定して、入力された文字コード
に基づいてパターンデータ格納手段から検索されたパタ
ーンデータを書き込む第1処理手段と、第1処理手段に
よる書込処理の際に指定されたアドレスを順次に格納し
、少なくともlつのアドレスを格納したときに読出要求
信号を出力するアドレス格納手段と、通常は図形を表す
画素単位の画素データを生威して画素データ格納手段に
格納する図形表示処理を行ない、読出要求信号に応して
、アドレス格納手段に格納されたアドレスに基づいて、
文字バッファに格納されたパターンデータを画素データ
格納手段の該当する格納場所に転送する処理を行なう第
2処理手段とを備えて構或する。
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Field of Application Conventional Technology Problems to be Solved by the Invention Examples of Means and Actions for Solving Problems ■. Correspondence between the example and FIG. 1 ■. Structure of the example■. Operation of the embodiment■. Summary of Examples■. Variations of the Invention Effects of the Invention [Summary] The purpose of this invention is to provide a pixel data storage means for storing pixel data, and a method for storing pixel data in the pixel data storage means, for the purpose of effectively utilizing software resources regarding a character display method in a graphic display device. a graphic display means having a display means for displaying based on pixel data, a pattern data storage means for storing pattern data representing characters and symbols, and a character batza for storing the pattern data at a specified address. and a first processing means for specifying the address of the character buffer corresponding to the manually entered display position and writing the pattern data retrieved from the pattern data storage means based on the input character code; Address storage means that sequentially stores addresses specified during write processing and outputs a read request signal when at least one address is stored; performs graphic display processing to be stored in the pixel data storage means, and in response to the read request signal, based on the address stored in the address storage means,
and second processing means for transferring the pattern data stored in the character buffer to a corresponding storage location in the pixel data storage means.

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

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

コンピュータ支援設計(CAD)システムなどに利用さ
れているワークステーションの表示装置としては、図形
表示機能を重視した図形表示装置が用いられている。
2. Description of the Related Art As display devices for workstations used in computer-aided design (CAD) systems and the like, graphic display devices that place emphasis on graphic display functions are used.

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

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

〔従来の技術〕[Conventional technology]

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

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

このように、文字表示装置を備えたワークステーション
においては、文字バッファ512とCG514とからな
る文字表示機構を備えていることが前提となっている。
In this way, a workstation equipped with a character display device is premised on having a character display mechanism consisting of the character buffer 512 and the CG 514.

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

一方、従来の図形表示装置を備えたワークステーシゴン
においては、MPU6 2 1は、入力された座標デー
タと描画指示に基づいて、図形を表す画素データを生戒
してグラフィクスメモリ622に格納し、表示制御部6
23は、このグラフィクスメモリ622に格納された画
素データに基づいて表示を行なうように、CRT6 2
 4を制御するようになっている。
On the other hand, in a workstation equipped with a conventional graphic display device, the MPU 621 stores pixel data representing a graphic in the graphics memory 622 based on input coordinate data and drawing instructions. Display control unit 6
23 is a CRT 6 2 so as to perform display based on the pixel data stored in the graphics memory 622.
It is designed to control 4.

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

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

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

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

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

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

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

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

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

文字バッファ122は、指定されたアドレスにパターン
データを格納する。
Character buffer 122 stores pattern data at a designated 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 manually input display position, and writes the retrieved pattern data. Process.

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

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

〔作 用〕[For production]

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

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

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

本発明にあっては、第1処理手段l24,パターンデー
タ格納手段12l,文字バッファ工22,アドレス格納
手段123が、文字表示のための処理を行なう文字表示
機構として動作する。また、アドレス格納手段123か
らの読出要求信号に応して、第2処理千段131により
、文字バッファ122に格納されたパターンデータを画
素データ格納千段111に転送することにより、文字お
よび記号を表すパターンデータに基づいて、表示手段1
12による表示が行なわれる。これにより、第2処理手
段131のソフトウエアを大幅に変更することなく、文
字表示機構を備えていることを前提として作戒されたソ
フトウエア資源を活用することができる。
In the present invention, the first processing means 124, the pattern data storage means 12l, the character buffer 22, and the address storage means 123 operate as a character display mechanism that performs processing for character display. Further, in response to a read request signal from the address storage means 123, the second processing stage 131 transfers the pattern data stored in the character buffer 122 to the pixel data storage stage 111, thereby converting characters and symbols. Based on the pattern data represented, the display means 1
12 is displayed. Thereby, without significantly changing the software of the second processing means 131, it is possible to utilize software resources that have been carefully prepared on the premise that a character display mechanism is provided.

〔実施例〕〔Example〕

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

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

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

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

画素データ格納手段111は、グラフイクスメモリ21
2に相当する。
The pixel data storage means 111 is a graphics memory 21
Corresponds to 2.

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

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

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

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

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

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

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

並一j組魁偉死匪戊 第2図において、201は32ビットのマイクロプロセ
ッサ(MPU) 、2 1 0は図形表示装置、211
は陰極線管(CRT) 、2 1 2はグラフイクスメ
モリ、213は表示制御部、214は信号変換部である
.ワークステーシゴン番よ、これらの各部を備えて構成
されており、MPU201と図形表示装置210とは、
バス202を介して相互に接続されている。
In Figure 2, 201 is a 32-bit microprocessor (MPU), 210 is a graphic display device, and 211 is a 32-bit microprocessor (MPU).
is a cathode ray tube (CRT), 2 1 2 is a graphics memory, 213 is a display control section, and 214 is a signal conversion section. The work station is configured with each of these parts, and the MPU 201 and the graphic display device 210 are
They are interconnected via a bus 202.

図形表示装i!210のグラフィクスメモリ2l2の各
格納場所には、CRT2 1 1の表示画面の各画素に
対応して画素データが格納されるようになっている。
Graphic display device i! In each storage location of the graphics memory 2l2 of 210, pixel data is stored corresponding to each pixel of the display screen of the CRT 211.

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

また、221は16ビットのMPU,222は512ワ
ードの容量を有する先入れ先だしメモリ(FIF○)、
223はIMバイトの容量を有するメモリ、224はス
テータスレジスタである。
In addition, 221 is a 16-bit MPU, 222 is a first-in first-out memory (FIF○) with a capacity of 512 words,
223 is a memory having a capacity of IM bytes, and 224 is a status register.

文字表示アダプタ220は、これらの各部を備えて構戒
されており、MPU221とメモリ223とは、アドレ
スバス224aおよびデータバス224bからなるバス
224を介して接続されている。また、FIFO222
は、MPU221のアドレスバス224aに接続されて
おり、MPU221がメモリ223にデータを書き込む
際に、メモリ223のアドレスがFIFO222に書き
込まれるようになっている。
The character display adapter 220 is equipped with each of these parts, and the MPU 221 and memory 223 are connected via a bus 224 consisting of an address bus 224a and a data bus 224b. Also, FIFO222
is connected to the address bus 224a of the MPU 221, and when the MPU 221 writes data to the memory 223, the address of the memory 223 is written to the FIFO 222.

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

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

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

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

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

文字バッファ領域233は、CRT2 1 1の表示画
面上の各文字表示位置に対応する複数の小領域から形成
されている。例えば、CRT2 1 1で80桁×24
行の文字表示が可能である場合は、文字バッファ領域2
33は、80X24個の小領域から形威されている。
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, for CRT2 1 1, 80 digits x 24
If it is possible to display characters in a line, character buffer area 2
33 is formed from 80×24 small areas.

jLJ組D濱彰級庄 MPU201によって実行されているアプリケーシジン
プログラムの中で文字の表示を行なう場合に、アブリケ
ーシッンプログラムは、文字表示処理に関するブログラ
みに対して、表示する文字コードと表示位置とを指定し
て、文字表示処理依頼を行なう。
When displaying characters in the application program executed by the JLJ group D Hama Akira Kurasho MPU 201, the application program determines the character code to be displayed and the display in response to a blog regarding character display processing. Specify the position and request character display processing.

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

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

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

MPU201は、上述した割り込み要求信号に応じて、
以下に述べる割り込み処理を行なう。
In response to the above-mentioned interrupt request signal, the MPU 201
Performs the interrupt processing described below.

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

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

ここで、表示画面の変更とは、新たな文字の表示,表示
されている文字の変更あるいは消去をいう。
Here, changing the display screen refers to displaying new characters, changing or erasing displayed characters.

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

次に、MPU2 0 1は、ステップ302において読
み出した文字バッファ領域233のアドレスに基づいて
、CRT2 1 1の表示画面上の該当する表示位置に
対応するグラフィクスメモリ212の領域の先頭アドレ
スを算出し、この領域にステ?プ303で読み出したパ
ターンデータを格納する(ステップ304)。
Next, the MPU 2 0 1 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 2 1 1 based on the address of the character buffer area 233 read out in step 302. Stay in this area? The pattern data read out in step 303 is stored (step 304).

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

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

また、MPU201への割り込み要求信号として、FI
FO222のハーフ・フル信号SHFの代わりに、FI
FO222が空の状態であるときに論理゜“1”となる
エンブティ信号S,を用いるようにしてもよい。この場
合は、ステータスレジスタ224は、このエンブティ信
号Stが論理“゜O”のときに、上述した変更通知フラ
グをセットするようにすればよい。
Also, as an interrupt request signal to the MPU 201, the FI
Instead of the half-full signal SHF of FO222, FI
An empty signal S which becomes logic "1" when the FO 222 is in an empty state may be used. In this case, the status register 224 may set the above-mentioned change notification flag when the entity signal St is at the logic "°O".

ところで、MPU201によるFIFO222からのア
ドレスの読出速度よりもMPU2 2 1によるFIF
O222への書込速度の方が速い場合は、アドレスがF
IFO222の容量一杯に書き込まれた状態となる。こ
のとき、FIFO222は出力端子OFからフル信号S
yとして論理“0゛′を出力するように構戒されており
、このフル信号Syはホールド信号S HOLDとして
、MPU221に供給されている。また、MPU221
は、このホールド信号S0。L,)が論理“0”の間は
動作を一時停止するようになっている。
By the way, the reading speed of the address from the FIFO 222 by the MPU 201 is faster than that of the FIF by the MPU 2 2 1.
If the writing speed to O222 is faster, the address is F.
The IFO 222 is now written to its full capacity. At this time, the FIFO 222 receives a full signal S from the output terminal OF.
y is set to output logic "0", and this full signal Sy is supplied to the MPU 221 as a hold signal S HOLD.
is this hold signal S0. The operation is temporarily stopped while L,) is at logic "0".

このように、FIFO222の容量一杯にアドレスが書
き込まれた状態においては、MPU20lによって先に
書き込まれたアドレスが読み出されるまで、MPU22
1による文字表示処理動作が一時停止される。
In this way, when addresses are written to the full capacity of the FIFO 222, the MPU 222
The character display processing operation according to No. 1 is temporarily stopped.

一方、画面のリフレッシュを行なう場合や、入力された
データの取消を行なう場合などは、MPU201はリセ
ット信号Sヮを出力して、FTP0222の制御端子R
に供給する。FIFO222は、制御端子Rに供給され
たこのリセット信号S糞に応じてアドレスの書込位置を
リセットし、上述したハーフ・フル信号SNFおよびフ
ル信号SFとして論理“1“を出力するようになってい
る。
On the other hand, when refreshing the screen or canceling input data, the MPU 201 outputs a reset signal Sヮ to the control terminal R of the FTP0222.
supply to. The FIFO 222 resets the write position of the address in response to the reset signal S supplied to the control terminal R, and outputs logic "1" as the half-full signal SNF and the full signal SF described above. There is.

また、このハーフ・フル信号SNFの変化に応じて、ス
テータスレジスタ224の変更通知フラグはリセットさ
れる。
Further, the change notification flag of the status register 224 is reset in accordance with the change in the half/full signal SNF.

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

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

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

上述したフル信号S2によってMPU221を一時停止
する場合と同様にして、ステップ402における否定判
定となるまで、ステップ401〜ステップ405を繰り
返す。
In the same manner as when the MPU 221 is temporarily stopped by the full signal S2 described above, steps 401 to 405 are repeated until a negative determination is made in step 402.

一方、ステップ401における肯定判定の場合は、MP
U201は上述したリセット信号SRを出力してFIF
O222の書込位置をリセットして(ステップ406)
、全画面のリフレッシュを行ない(ステップ407)、
このステップ407の実行後は、ステップ401に戻る
On the other hand, in the case of an affirmative determination in step 401, MP
U201 outputs the above-mentioned reset signal SR and
Reset the writing position of O222 (step 406)
, refreshes the entire screen (step 407),
After executing step 407, the process returns to step 401.

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

これにより、アプリケーションプログラムからの文字表
示処理依頼に応じて、MPU221,FIFO222,
メモリ223により、文字表示のための処理が行なわれ
、メモリ223の文字バッファ領域233に指定された
文字コードに対応するパターンデータが格納される。ま
た、文字表示アダプタ220からの割り込み要求信号(
F I F0222のハーフ・フル信号SHy)に応じ
て、上述した割り込み処理を行なうことにより、このパ
ターンデータがグラフィクスメモリ212に転送され、
図形表示装置210のCRT2 1 1により、パター
ンデータに基づいて文字の表示を行なうことが可能とな
る。
As a result, the MPU 221, FIFO 222,
Processing for character display is performed by the memory 223, and pattern data corresponding to the specified character code is stored in the character buffer area 233 of the memory 223. Additionally, an interrupt request signal (
This pattern data is transferred to the graphics memory 212 by performing the above-mentioned interrupt processing in response to the half/full signal SHy of FIF0222.
The CRT 2 1 1 of the graphic display device 210 makes it possible to display characters based on pattern data.

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

また、上述した文字表示アダプタ220は、市販のMP
U,FIF○,メモリなどの素子を用いて構戒すること
ができる。
Further, the character display adapter 220 described above is a commercially available MP
This can be done using elements such as U, FIF○, and memory.

〔発明の効果〕〔Effect of the invention〕

上述したように、本発明によれば、第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 character display processing, and the second processing means performs processing for displaying the pattern data stored in the character buffer. By transferring the data to the pixel data storage means, it becomes possible to display characters using the display means, and it is possible to utilize software resources that assume the existence of a character display mechanism, which is extremely useful in practice. .

【図面の簡単な説明】[Brief explanation of 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はグラフィクスメモリ、213,513.62
3は表示制御部、214は信号変換部、 220は文字表示アダプタ、 222は先入れ先出しメモリCFIF○)、223はメ
モリ、 231はプログラム領域、 232はパターンデータ領域、 233は文字バッファ領域、 512は文字バッファ、 514はキャラクタジエネレータ(CG)である。 痺釆−7筋表示装置の槙八閏 第5図 ?,t車■図形嬶電寛の祷六図 第6図
Figure 1 is a principle block diagram of the character display method of the present invention, Figure 2
The figure is a block diagram of a workstation to which a character display method according to an embodiment of the present invention is applied, Figures 3 and 4 are flowcharts showing the interrupt processing operation of the embodiment, and Figure 5 is a conventional character display device. Fig. 6 is a block diagram of a workstation equipped 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 are graphic display devices, 211, 515, 624 are cathode ray tubes (CRT), 212
.. 622 is graphics memory, 213,513.62
3 is a display control unit, 214 is a signal conversion unit, 220 is a character display adapter, 222 is a first-in first-out memory CFIF○), 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 514 is a character generator (CG). Paralyzed - 7-line display device Makihachikan 5th figure? , T car■ Figure 6

Claims (1)

【特許請求の範囲】[Claims] (1)画素データを格納する画素データ格納手段(11
1)と、前記画素データ格納手段(111)に格納され
た画素データに基づいて表示を行なう表示手段(112
)とを有する図形表示手段(110)と、 文字および記号を表すパターンデータを格納しているパ
ターンデータ格納手段(121)と、指定されたアドレ
スに前記パターンデータを格納する文字バッファ(12
2)と、 入力された文字コードに基づいて前記パターンデータ格
納手段(121)を検索し、入力された表示位置に対応
する前記文字バッファ(122)のアドレスを指定して
、検索されたパターンデータの書込処理を行なう第1処
理手段(124)と、前記第1処理手段(124)によ
る書込処理の際に指定されたアドレスを順次に格納し、
少なくとも1つのアドレスを格納したときに読出要求信
号を出力するアドレス格納手段(123)と、通常は図
形を表す画素単位の画素データを生成して前記画素デー
タ格納手段(111)に格納する図形表示処理を行ない
、前記読出要求信号に応じて、前記アドレス格納手段(
123)に格納されたアドレスに基づいて、前記文字バ
ッファ(122)に格納されたパターンデータを前記画
素データ格納手段(111)の該当する格納場所に転送
する処理を行なう第2処理手段(131)と、を備える
ように構成したことを特徴とする文字表示方式。
(1) Pixel data storage means (11
1), and display means (112) that performs display based on the pixel data stored in the pixel data storage means (111).
), a pattern data storage means (121) storing pattern data representing characters and symbols, and a character buffer (121) storing the pattern data at a designated address.
2) Search the pattern data storage means (121) based on the input character code, specify the address of the character buffer (122) corresponding to the input display position, and retrieve the searched pattern data. a first processing means (124) for performing a write process, and sequentially storing addresses specified during the write process by the first processing means (124);
Address storage means (123) that outputs a read request signal when at least one address is stored, and a graphic display that generates pixel data in pixel units that usually represent a figure and stores it in the pixel data storage means (111). processing, and in response to the read request signal, the address storage means (
a second processing means (131) for transferring the pattern data stored in the character buffer (122) to a corresponding storage location of the pixel data storage means (111) based on the address stored in the character buffer (123); A character display method characterized by being configured to include and.
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 true JPH03102395A (en) 1991-04-26
JP2829051B2 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
JP2829051B2 (en) 1998-11-25

Similar Documents

Publication Publication Date Title
JP2538029B2 (en) Computer display device
US5299309A (en) Fast graphics control system capable of simultaneously storing and executing graphics commands
US4747042A (en) Display control system
US5553228A (en) Accelerated interface between processors and hardware adapters
JPH01210990A (en) Display device
JPH03102395A (en) Character display system
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JPH08194826A (en) Graphic controller
JP2554876B2 (en) Address translation device
JPS6035075B2 (en) CRT display device
JP3312699B2 (en) Screen display method using virtual VRAM
JPS58146931A (en) Display
JP2605609B2 (en) Dot display processing device
JPS6155689A (en) Image memory writing/reading controller
JPS61138329A (en) Display controller
JPS6324368A (en) Access circuit for image memory
JPH08123651A (en) Multiwindow display device
JPS62133484A (en) Image display unit
JPS6159484A (en) Segment control system
JPS61243491A (en) Block transfer circuit for graphic display unit
JPS61109094A (en) Cursor display unit
JPS60129786A (en) Image memory
JPS63172190A (en) Image display controller
JPS61264387A (en) Animation display unit
JPS61221927A (en) Character display system