JPH082712Y2 - Display controller - Google Patents

Display controller

Info

Publication number
JPH082712Y2
JPH082712Y2 JP11503689U JP11503689U JPH082712Y2 JP H082712 Y2 JPH082712 Y2 JP H082712Y2 JP 11503689 U JP11503689 U JP 11503689U JP 11503689 U JP11503689 U JP 11503689U JP H082712 Y2 JPH082712 Y2 JP H082712Y2
Authority
JP
Japan
Prior art keywords
code
character
address
memory
register
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
JP11503689U
Other languages
Japanese (ja)
Other versions
JPH0352792U (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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP11503689U priority Critical patent/JPH082712Y2/en
Publication of JPH0352792U publication Critical patent/JPH0352792U/ja
Application granted granted Critical
Publication of JPH082712Y2 publication Critical patent/JPH082712Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Description

【考案の詳細な説明】 〈産業上の利用分野〉 本考案は、ディスプレイ制御装置に関し、更に詳しく
は、キャラクタコードからメモリアドレスへの変換を行
った文字パターンを自動的に発生させる装置の改良に関
する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a display control device, and more particularly, to improvement of a device for automatically generating a character pattern obtained by converting a character code into a memory address. .

〈従来の技術〉 従来のディスプレイ装置において、キャラクタコード
からメモリアドレスへの変換を行った文字パターンを自
動的に発生させるのにあたっては、キャラクタコードを
工夫して文字パターンの格納されているメモリアドレス
を簡単に求めるように構成されていた。
<Prior Art> In a conventional display device, when a character pattern converted from a character code to a memory address is automatically generated, the character code is devised so that the memory address where the character pattern is stored is changed. It was configured to be easy to seek.

具体的には、例えばキャラクタコードを加工してメモ
リアドレスとすることによって文字パターンを出力させ
ていた。
Specifically, for example, a character pattern is output by processing a character code and using it as a memory address.

〈考案が解決しようとする課題〉 しかし、このような構成によれば、キュラクタコード
がシステム特有のものになり、ソフトウェアの面からは
EUC(Extended UNIX CODE)コードやJISコード等の汎用
的なキャラクタコードが使用しにくくなってしまう。
<Problems to be solved by the invention> However, according to such a configuration, the curactor code becomes system-specific, and from the viewpoint of software,
It becomes difficult to use general-purpose character codes such as EUC (Extended UNIX CODE) code and JIS code.

また、汎用的なキャラクタコードを使用する場合、キ
ャラクタコードを文字パターンの格納されているメモリ
アドレスとがリニアに対応していないために変換機構が
必要になる。そして、これらの変換をソフトウェアで行
おうとすると処理が複雑になって処理時間がかかり過ぎ
てしまう。
Further, when a general-purpose character code is used, a conversion mechanism is necessary because the character code does not linearly correspond to the memory address where the character pattern is stored. Then, if these conversions are performed by software, the processing becomes complicated and the processing takes too long.

本考案はこのような点に着目してなされたものであ
り、その目的は、汎用的なキャラクタコードに基づいて
短時間で文字パターンを自動的に発生させることができ
るディスプレイ制御装置を提供することにある。
The present invention has been made paying attention to such a point, and an object thereof is to provide a display control device capable of automatically generating a character pattern in a short time based on a general-purpose character code. It is in.

〈課題を解決するための手段〉 上記課題を解決する本考案は、 ドット構成の異なる複数項目の文字パターンが各項目
毎に連続したアドレスになるように配列されて格納され
たメモリと、 読み出したいキャラクタコードを指定するコードレジ
スタと、 該コードレジスタから読み出されるキャラクタコード
を文字パターンが格納されている前記メモリのアドレス
に変換すると共にドット構成を含む属性データに変換す
るコードコンバータと、 該コードコンバータから出力される属性データをラッ
チするアトリビュートレジスタと、 該アトリビュートレジスタから出力される属性データ
に基づいてCPUから出力されるアドレスと前記コードコ
ンバータから出力されるアドレスを加算して前記メモリ
の読み出しアドレスを生成するアドレス加算器、 とで構成されたことを特徴とするものである。
<Means for Solving the Problems> In the present invention for solving the above problems, a memory in which character patterns of a plurality of items having different dot configurations are arranged and stored so as to have continuous addresses for each item, A code register for designating a character code; a code converter for converting the character code read from the code register into an address of the memory in which a character pattern is stored and to attribute data including a dot configuration; An attribute register for latching output attribute data, and an address output from the CPU and an address output from the code converter are added based on the attribute data output from the attribute register to generate a read address of the memory Address adder, It is characterized by being composed of and.

〈作用〉 本考案のディスプレイ制御装置において、CPUで設定
されたキャラクタコードは、コードレジスタ,コードコ
ンバータ,アトリビュートレジスタ及びアドレス加算器
の回路構成によって、ソフトウェアによるアドレス演算
処理よりもはるかに短時間でアドレスに変換される。
<Operation> In the display control device of the present invention, the character code set by the CPU is addressed in a much shorter time than the address calculation processing by software by the circuit configuration of the code register, code converter, attribute register and address adder. Is converted to.

〈実施例〉 以下、図面を参照して本考案の実施例を詳細に説明す
る。
<Example> Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は、本考案の一実施例を示すブロック図であ
る。図において、CPU1は読み出したい文字パターンのキ
ャラクタコードをデータバス2を介してコードレジスタ
3に設定する。該コードレジスタ3は、設定されたキャ
ラクタコードをコードコンバータ4に出力する。該コー
ドコンバータ4は、コードレジスタ3から入力されたキ
ャラクタコードを文字パターンが格納されているメモリ
7のアドレスに変換すると共に、そのキャラクタコード
がどの項目に属していてどのようなドット構成になって
いるのかを表す属性データに変換する。すなわち、メモ
リ7は、例えば第2図及び第3図に示すように、文字パ
ターンの項目(ASCII,かな,帳票,簡易図形,外字,漢
字等)に応じて複数の領域A〜Fに分割されている。そ
して、文字パターンは、これら各項目によってそれぞれ
異なったドット構成(8×8,12×8,16×8等)で各項目
毎に連続したアドレスで格納されている。そこで、コー
ドコンバータ4は、CPU1により設定される文字パターン
のキャラクタコードをメモリ7の格納項目に従って分類
してそのドット構成を表す属性データに変換すると共
に、該キャラクタコードに応じたアドレスオフセットを
算出してメモリ7の格納アドレスに変換する。該コード
コンバータ4から変換出力されるアドレスはアドレス加
算器5の一方の入力端子に加えられる。属性データはア
トリビュートレジスタ6でラッチされ、CPU1はデータバ
ス2を介してこの属性データを読むことができる。そし
て、CPU1は、アトリビュートレジスタ6を介して入力さ
れる属性データのドット構成データに基づいて所望の文
字パターンをメモリ7から読み出すためのアクセス方法
を知る。これは、各キャラクタコードに対応する文字パ
ターンのドット構成が異なり、メモリ7領域内での文字
パターン格納方法が、第4図(a),(b)のように異
なるために必要である。第4図(a)はASCII1文字分の
格納方法を示し、第4図(b)はかな1文字分の格納方
法を示す。よってCPU1は上位ビットがマスクされたアド
レスをアドレスバス8を介してアドレス加算器5の他方
の入力端子に出力する。該アドレス加算器5はコードコ
ンバータ4から加えられるアドレスとCPU1から加えられ
るアドレスを加算し、加算結果をメモリ7の読み出しア
ドレスとして出力する。メモリ7は該アドレスに従って
キャラクタコードに応じた文字パターンデータを読み出
し、データバス2を介してCPU1に出力する。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, the CPU 1 sets the character code of the character pattern to be read in the code register 3 via the data bus 2. The code register 3 outputs the set character code to the code converter 4. The code converter 4 converts the character code input from the code register 3 into an address of the memory 7 in which the character pattern is stored, and the character code belongs to what item and has a dot configuration. Convert to attribute data that indicates whether or not there is. That is, the memory 7 is divided into a plurality of areas A to F according to the character pattern items (ASCII, kana, forms, simple figures, external characters, kanji, etc.) as shown in FIGS. 2 and 3, for example. ing. The character pattern is stored in consecutive addresses for each item in a dot configuration (8 × 8, 12 × 8, 16 × 8, etc.) that is different for each item. Therefore, the code converter 4 classifies the character codes of the character pattern set by the CPU 1 according to the storage items of the memory 7 and converts them into attribute data representing the dot configuration, and also calculates an address offset according to the character code. To the storage address of the memory 7. The address converted and output from the code converter 4 is added to one input terminal of the address adder 5. The attribute data is latched by the attribute register 6, and the CPU 1 can read this attribute data via the data bus 2. Then, the CPU 1 knows an access method for reading a desired character pattern from the memory 7 based on the dot configuration data of the attribute data input via the attribute register 6. This is necessary because the dot configuration of the character pattern corresponding to each character code is different and the method of storing the character pattern in the memory 7 area is different as shown in FIGS. 4 (a) and 4 (b). FIG. 4 (a) shows a storage method for one ASCII character, and FIG. 4 (b) shows a storage method for one kana character. Therefore, the CPU 1 outputs the address whose upper bits are masked to the other input terminal of the address adder 5 via the address bus 8. The address adder 5 adds the address added by the code converter 4 and the address added by the CPU 1, and outputs the addition result as a read address of the memory 7. The memory 7 reads the character pattern data corresponding to the character code according to the address and outputs it to the CPU 1 via the data bus 2.

このように構成することによって、CPU1はキャラクタ
コードを入力するためのソフトウェアだけで文字パター
ンの属性データ及び文字パターンデータを受けとること
ができる。
With such a configuration, the CPU 1 can receive the attribute data of the character pattern and the character pattern data only by the software for inputting the character code.

これは、ビットマップディスプレイへの文字の描画時
に有効であるが、とりわけ、英数字や記号だけでなく非
常に多数の文字種を必要とする日本語(漢字)処理にお
ける効果は顕著である。
This is effective when drawing characters on a bitmap display, but especially in Japanese (Kanji) processing, which requires not only alphanumeric characters and symbols but also a very large number of character types.

また、キャラクタコードのみによって構成された画面
イメージのハードコピーをとる場合には、そのイメージ
を構成するために各キャラクタのフォントパターンを読
み出す必要があるが、この場合にもソフトウェア処理で
アドレスを算出するよりもはるかに処理時間を短縮でき
る。
Also, when a hard copy of a screen image composed only of character codes is taken, it is necessary to read out the font pattern of each character in order to compose the image, but in this case also the address is calculated by software processing. The processing time can be much shortened.

〈考案の効果〉 以上詳細に説明したように、本考案によれば、汎用的
なキャラクタコードに基づいて短時間で文字パターンを
自動的に発生させることができるディスプレイ制御装置
を提供することができる。
<Effect of Device> As described in detail above, according to the present invention, it is possible to provide a display control device capable of automatically generating a character pattern in a short time based on a general-purpose character code. .

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

第1図は本考案の一実施例のブロック図、第2図及び第
3図は第1図におけるパターン格納メモリの説明図、第
4図(a),(b)はメモリ領域の文字パターンの格納
方法を表す図である。 1…CPU、2…データバス 3…コードレジスタ、4…コードコンバータ 5…アドレス加算器 6…アトリビュートレジスタ 7…パターン格納メモリ 8…アドレスバス
FIG. 1 is a block diagram of an embodiment of the present invention, FIGS. 2 and 3 are explanatory views of a pattern storage memory in FIG. 1, and FIGS. 4 (a) and 4 (b) are character patterns of a memory area. It is a figure showing the storing method. 1 ... CPU, 2 ... Data bus 3 ... Code register, 4 ... Code converter 5 ... Address adder 6 ... Attribute register 7 ... Pattern storage memory 8 ... Address bus

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】ドット構成の異なる複数項目の文字パター
ンが各項目毎に連続したアドレスになるように配列され
て格納されたメモリと、 読み出したいキャラクタコードを指定するコードレジス
タと、 該コードレジスタから読み出されるキャラクタコードを
文字パターンが格納されている前記メモリのアドレスに
変換すると共にドット構成を含む属性データに変換する
コードコンバータと、 該コードコンバータから出力される属性データをラッチ
するアトリビュートレジスタと、 該アトリビュートレジスタから出力される属性データに
基づいてCPUから出力されるアドレスと前記コードコン
バータから出力されるアドレスを加算して前記メモリの
読み出しアドレスを生成するアドレス加算器、 とで構成されたことを特徴とするディスプレイ制御装
置。
1. A memory in which character patterns of a plurality of items having different dot configurations are arranged and stored so as to have consecutive addresses for each item, a code register for designating a character code to be read, and a code register from the code register. A code converter for converting a read character code into an address of the memory in which a character pattern is stored and converting into attribute data including a dot configuration; an attribute register for latching attribute data output from the code converter; An address adder that adds the address output from the CPU and the address output from the code converter based on the attribute data output from the attribute register to generate the read address of the memory. Display system Apparatus.
JP11503689U 1989-09-29 1989-09-29 Display controller Expired - Lifetime JPH082712Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11503689U JPH082712Y2 (en) 1989-09-29 1989-09-29 Display controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11503689U JPH082712Y2 (en) 1989-09-29 1989-09-29 Display controller

Publications (2)

Publication Number Publication Date
JPH0352792U JPH0352792U (en) 1991-05-22
JPH082712Y2 true JPH082712Y2 (en) 1996-01-29

Family

ID=31663382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11503689U Expired - Lifetime JPH082712Y2 (en) 1989-09-29 1989-09-29 Display controller

Country Status (1)

Country Link
JP (1) JPH082712Y2 (en)

Also Published As

Publication number Publication date
JPH0352792U (en) 1991-05-22

Similar Documents

Publication Publication Date Title
JPH031193A (en) Data converter
JPH082712Y2 (en) Display controller
EP0385508A3 (en) Device for generating dot pattern data
JPS6356693A (en) Character dot conversion system
JPS6097387A (en) Character size specification system
JPS615277A (en) Generator for character signal or the like
JP2631788B2 (en) Arbitrary waveform and arbitrary data editing method
JP2910183B2 (en) Character processor
JPS59216240A (en) Information output device
JP2861201B2 (en) Data converter
JPS63202476A (en) Document output unit
JP2728089B2 (en) Bit data generator
JPH02223990A (en) Character processor
JPS62136693A (en) Graphic character output system
JPH05127655A (en) Character pattern generation device
JPH0486274A (en) Pattern generation system
JPS63282787A (en) Document editing apparatus
JPS63307496A (en) Character output device
JPH01210355A (en) Character pattern generation
JPS62269991A (en) Character deformation printing processor
JPH0223871B2 (en)
JPH03261573A (en) Reduction printing system
JPH01229666A (en) Printer
JPS61213884A (en) Graphic character generator
JPH0486277A (en) Pattern generator