JPS581782B2 - Moji pattern hatsuseiki - Google Patents

Moji pattern hatsuseiki

Info

Publication number
JPS581782B2
JPS581782B2 JP50123308A JP12330875A JPS581782B2 JP S581782 B2 JPS581782 B2 JP S581782B2 JP 50123308 A JP50123308 A JP 50123308A JP 12330875 A JP12330875 A JP 12330875A JP S581782 B2 JPS581782 B2 JP S581782B2
Authority
JP
Japan
Prior art keywords
character
memory
address
character code
pattern
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
Application number
JP50123308A
Other languages
Japanese (ja)
Other versions
JPS5247633A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP50123308A priority Critical patent/JPS581782B2/en
Publication of JPS5247633A publication Critical patent/JPS5247633A/en
Publication of JPS581782B2 publication Critical patent/JPS581782B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は漢字及びひらがな等をドットパターン文字で表
示する漢字表示装置または印字装置において高速処理メ
モリーと低速処理メモリーの2つを持つ文字発生器の改
良に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an improvement of a character generator having two high-speed processing memories and a low-speed processing memory in a kanji display device or printing device that displays kanji characters, hiragana characters, etc. in dot pattern characters.

漢字表示の処理において、従来の英字、数字カナ表示と
比べて1文字当りのドット数が多くメモリ容量で約4倍
〜16倍を必要とし、かつ文字種は英数カナは約130
種であるが漢字は総てでは5万種以上もあり実際の処理
するものだけ考えても、約1万種ある。
In processing kanji display, the number of dots per character is larger than that of conventional alphabetic and numeric kana display, requiring approximately 4 to 16 times the memory capacity, and there are approximately 130 alphanumeric kana character types.
There are more than 50,000 types of kanji in total, and even if you consider only the ones that are actually processed, there are about 10,000 types.

この様に文字種が多いと従来の様にROM(Read
Only Memory)あるいはコマメモリー等に貯
蔵すれば、とってもなく高価となる。
When there are many character types like this, ROM (Read
If it is stored in ``Only Memory'' or frame memory, it will be extremely expensive.

そこでメモリーとしては安価なディスクあるいはドラム
メモリーを使用することになるが、ROM、コアメモリ
ーと比べて低速となってしまう。
Therefore, inexpensive disk or drum memory is used as memory, but it is slower than ROM or core memory.

処理速度を向上させるために一部の使用頻度の高い文字
をコアメモリーあるいはICメモリーに内蔵する。
To improve processing speed, some frequently used characters are stored in core memory or IC memory.

しかし、業務内容により少文字種で高速処理を必要とし
たり低速でも構わぬが多くの文字種を必要とするシステ
ム等要求は種々雑多である。
However, depending on the business content, there are various requirements, such as systems that require high-speed processing with a small number of character types, and systems that require many character types, even if low-speed processing is acceptable.

この要求毎に装置を開発、あるいは改造すると当然原価
が高くなる。
Naturally, if a device is developed or modified for each of these requirements, the cost will increase.

そこで一つの装置で要求を満足する方法が本発明となっ
た。
Therefore, the present invention is a method that satisfies the requirements with one device.

この発明の目的は1万種以上の漢字を表示するシステム
、あるいは数千種の限定された文字のみを高速にて処理
するシステム等の多様化する要求を改造することなく1
つの装置でこれを実現する文字発生器を提供することに
ある。
The purpose of this invention is to meet diversifying requirements such as systems that display over 10,000 types of kanji, or systems that process only several thousand types of limited characters at high speed, without making any modifications.
The object of the present invention is to provide a character generator that achieves this with one device.

この発明の特徴とするところは1つのメモリーにいくつ
かの文字パターン及び対応する文字コードの対といくつ
かの文字コードを貯蔵せしめ文字コードのみのデータに
対応する文字パターンは外部メモリーに内蔵せしめ、文
字コードを読み出し参照するためのメモリーのアドレス
を加算器を通ずことにより変換し、対応する文字パター
ンを外部メモリから読み出すよう構成し、かつ前記メモ
リの文字コードと文字パターンの対の数と文字コードの
みの数の比率を任意にとることができるようにしたこと
にある。
The feature of this invention is that several character patterns and corresponding character code pairs and several character codes are stored in one memory, and character patterns corresponding to character code only data are stored in an external memory, The memory address for reading and referencing the character code is converted by passing it through an adder, and the corresponding character pattern is read from the external memory, and the number and character of the pair of character code and character pattern in the memory are converted. The reason is that the ratio of the number of codes can be set arbitrarily.

以下に本発明の一実施例を示す。An example of the present invention is shown below.

実施例の構成 第1図は本発明の一実施例である文字発生器のブロック
図を示すものである。
Structure of Embodiment FIG. 1 shows a block diagram of a character generator which is an embodiment of the present invention.

第1図に示す構成及び機能を下記の(a)〜(l)にて
説明する。
The configuration and functions shown in FIG. 1 will be explained in (a) to (l) below.

(a) 高速メモリー9 ここには第2図に示す形式で文字パターン及び文字コー
ド変換テーフルが内蔵されている。
(a) High-speed memory 9 A character pattern and character code conversion table is built in here in the format shown in FIG.

第2図について説明する。FIG. 2 will be explained.

本実施例では文字コードは16ビット、文字パターンは
横16ビット×縦18ビットで図3に示す様に構成され
る。
In this embodiment, the character code is 16 bits, and the character pattern is 16 bits horizontally by 18 bits vertically, as shown in FIG.

メモリアドレス0番地には文字コードA.23が格納さ
れており、1番地には文字コードに対応する文字パター
ンA.22の1行目、2番地には2行目と順に配列され
19番地には18行目が入っている。
Memory address 0 has character code A. 23 is stored, and the character pattern A.23 corresponding to the character code is stored at address 1. 22, the first and second rows are arranged in order, and the 18th row is located at the 19th address.

そして20番地には次の文字コードAが格納され続いて
対応する文字パターンAが書かれているものとする。
It is assumed that the next character code A is stored at address 20, followed by the corresponding character pattern A.

即ち19番地毎に文字コードAがあり、各文字コードA
の次には対応する文字パターンAが格納されている。
In other words, there is a character code A for every 19 addresses, and each character code A
The corresponding character pattern A is stored next to .

文字パターンAは文字数設定レジスタ17に設定された
負数が内蔵されている。
The character pattern A has a built-in negative number set in the character number setting register 17.

その後には、その他の文字の文字コードB.24が連続
的に書かれている。
After that, the character code of other characters is B. 24 are written consecutively.

(b) 外部メモリー16 第4図は外部メモリを示すもので高速メモIJ一9に内
蔵される文字コード24に対応した文字パターンB.2
6が連続的に格納されその配列は高速メモリー内の文字
コードBと同じ順序となっている。
(b) External memory 16 FIG. 4 shows the external memory, which contains character patterns B. 2
6 are stored consecutively and their arrangement is in the same order as the character code B in the high speed memory.

(C) 定数1 第1図のラツチ1には定数=1が設定されている。(C) Constant 1 A constant=1 is set for latch 1 in FIG.

(d) 定数2 第1図のラツチ2には定数=19が設定されている。(d) Constant 2 A constant=19 is set for latch 2 in FIG.

(e)文字数設定レジスタ17 高速メモリー9に格納された文字パターンの負数が外部
より設定できる様になっている。
(e) Number of characters setting register 17 The negative number of the character pattern stored in the high speed memory 9 can be set externally.

(f) フリツプフロツプ3 あらかじめリセット状態となっており、リセット状態で
はA. N D回路5の出力即ち定数=19を選択し、
セット状態ではAND回路4、即ち定数=1を選択する
(f) Flip-flop 3 It is in a reset state in advance, and in the reset state, A. Select the output of the ND circuit 5, that is, the constant = 19,
In the set state, AND circuit 4, that is, constant=1 is selected.

このフリツブフロツプ3のセット条件は文字数設定レジ
スタ17の内容と読み出し文字数18の内容が一致した
ときである。
The setting condition for the flip-flop 3 is when the contents of the character number setting register 17 and the contents of the read character number 18 match.

(g)アドレスレジスタ8 高速メモリ−9のアドレスを指示し、初期値二0にセッ
トされている。
(g) Address register 8 Indicates the address of high speed memory 9, and is set to an initial value of 20.

(h) 読みだし文字数カウンター18高速メモリー
9に内蔵されている文字コードA、文字コードBを読む
度に1ずつアップされるカウンタ。
(h) Reading character count counter 18 A counter that is incremented by 1 each time character code A and character code B built in the high-speed memory 9 are read.

初期値=0である。(i) 加算回路7 この加算回路はアドレスレジスタ8の内容とフリツプフ
ロツプ3により選択される定数1(定数−1)あるいは
定数2(定数=19)と加算した結果が出力され再びア
ドレスレジスタ8の入力に接続される。
Initial value=0. (i) Adder circuit 7 This adder circuit outputs the result of adding the contents of address register 8 and constant 1 (constant - 1) or constant 2 (constant = 19) selected by flip-flop 3, and then inputs the input of address register 8 again. connected to.

(j) アドレスレジスタ15 外部メモリー9のアドレスをセットするレジスクである
(j) Address register 15 This is a register for setting the address of the external memory 9.

(k) 文字コードレジスタ10 文字パターンを読み出すための文字コードを設定する。(k) Character code register 10 Set the character code for reading the character pattern.

(l)文字パターンバツファレジスタ14表示する文字
パターンをバツファリングするためのレジスタである。
(l) Character pattern buffer register 14 This is a register for buffering character patterns to be displayed.

実施例の動作 第1図において表示しようとする文字コードを文字コー
ドレジスタ10にセットする。
Operation of the Embodiment In FIG. 1, the character code to be displayed is set in the character code register 10.

この文字コードに対応する文字パターンを読み出す為に
高速メモリー9に内蔵される文字コードAあるいは文字
コードBを読み出す。
In order to read out the character pattern corresponding to this character code, character code A or character code B stored in the high-speed memory 9 is read out.

まず、アドレスレジスタ8は0番地がセットされており
、O番地の内容、即ち1番目の文字コードAを読み出し
、文字コードレジスタ10の内容と一致回路12にて比
較される。
First, address register 8 is set to address 0, and the contents of address O, that is, the first character code A, is read out and compared with the contents of character code register 10 in matching circuit 12.

この結果が不一致の場合は2番目の文字コードを読みだ
すが、その際のアドレスはアドレスレジスタの内容にフ
リツプフロツプ3により選択される定数2(定数=19
)と加算回路7にて加算されたもの、即ち19番地の内
容が読みだされる。
If the results do not match, the second character code is read, and the address at that time is the constant 2 (constant = 19) selected by flip-flop 3 in the address register.
) and the sum added by the adder circuit 7, that is, the contents of address 19 are read out.

この様に現在のアドレスNに19を加えたN+19番地
の内容が次々と読み出され、文字コードレジスタ10と
一致するまで繰り返えされる。
In this manner, the contents of address N+19, which is the current address N plus 19, are read one after another until the contents match the character code register 10.

文字コードAと文字コードレジスタ10の内容が一致す
ると次のアドレス以後に格納されている文字パターンA
を読み、文字パターンバツファレジスタ14にセットさ
れ表示される。
If the character code A and the contents of the character code register 10 match, the character pattern A stored after the next address will be displayed.
is read, set in the character pattern buffer register 14, and displayed.

該当する文字コードが見つからず、文字数設定レジスタ
17と読み出し文字数カウンタ18が一致するまで文字
コードAを読みつづけると、一致回路19により、フリ
ツプフロツプ3がセットされる。
If the corresponding character code is not found and the character code A is read until the character number setting register 17 and read character number counter 18 match, the flip-flop 3 is set by the matching circuit 19.

これにより加算回路7の加数として定数2(定数−1)
が選択される。
As a result, the addend of the adder circuit 7 is constant 2 (constant - 1).
is selected.

この結果高速メモリー9のアドレスは現在のアドレスN
に1番地が加えられN+1番地が設定される。
As a result, the address of high-speed memory 9 is the current address N
Address 1 is added to address N+1.

即ち文字コードB,24が連続アドレスで読みだされる
ことになる。
That is, character codes B and 24 are read out at consecutive addresses.

そして文字コードレジスタ10と文字コードBが比較さ
れ一致するとその時の読み出し文字数カウンタ18の内
容を外部メモリー16用のアドレスレジスタ15にセッ
トする。
The character code register 10 and the character code B are compared and if they match, the contents of the read character number counter 18 at that time are set in the address register 15 for the external memory 16.

即ち高速メモリー9に内蔵されている文字コードB.2
4と外部メモリー16に内蔵されている文字パターンB
.26は同じ順位にて配列されているために読み出し文
字数カウンター18の内容が間接的に外部メモリー16
に内蔵されている文字パターンBのアドレスとなってい
る。
That is, the character code B. 2
4 and character pattern B stored in external memory 16
.. 26 are arranged in the same order, so the contents of the read character count counter 18 are indirectly stored in the external memory 16.
This is the address of character pattern B built in.

そして外部メモリー16より該当する文字パターンBを
読み出し文字パターンバツファレジスタ14にセットし
文字を表示する。
Then, the corresponding character pattern B is read out from the external memory 16 and set in the character pattern buffer register 14 to display the character.

以上述べた如き構成であるから本発明にあたっては次の
如き効果を得ることができる。
With the configuration as described above, the following effects can be obtained in the present invention.

高速メモリーにある選ばれた文字パターンとその他の文
字の文字コードを共用させることにより、コードを連続
的に読みだし参照するので文字パターンが高速メモリー
に内蔵されても外部メモリーに内蔵されてもこれを意識
することなく文字コードを文字パターンに変換できる。
By sharing the selected character pattern in the high-speed memory with the character code of other characters, the code is read out and referenced continuously, so it does not matter whether the character pattern is stored in the high-speed memory or external memory. You can convert character codes to character patterns without being aware of them.

その結果、文字パターンがどちらに内蔵されていても構
わぬことになるので、高速メモリーに格納した文字パタ
ーンの負数をソフトウエアあるいはスイッチ等で設定す
れば自動的にこれが処理される。
As a result, it does not matter which one the character pattern is stored in, so if the negative number of the character pattern stored in the high-speed memory is set using software or a switch, it will be automatically processed.

即ち、高速メモリーに格納する文字パターン及び文字コ
ードの配分を自在に替えることが可能であり、処理内容
に合わぜた適切な文字発生器が容易に作成可能となる。
That is, it is possible to freely change the distribution of character patterns and character codes stored in the high-speed memory, and it is possible to easily create a character generator suitable for the processing content.

一例をあげれば高速メモリーを高速サイクルなものとし
、外部メモリーを低速、大容量メモリーとすれば、下記
■〜■のシステムが自在となる。
For example, if the high-speed memory is a high-speed cycle memory and the external memory is a low-speed, large-capacity memory, the following systems 1 to 2 can be created.

■ 少文字種、高速処理システム 使用文字の数が少なく限定されておれば高速メモリーに
より多くの文字パターンを内蔵する。
■ Small character types, high-speed processing system If the number of characters used is small and limited, more character patterns can be stored in the high-speed memory.

その結果、外部メモリーへのアクセスが無く、高速処理
が可能となる。
As a result, there is no need to access external memory, allowing high-speed processing.

■ 多文字種処理システム 使用文字が数万種もある場合は高価な高速メモリーに文
字パターンを内蔵したのでは著しく高価となるために安
価な低速、大容量メモリーに文字パターンを内蔵し、文
字コードのみを高速メモリーに内蔵する。
■ Multi-character type processing system When there are tens of thousands of characters, it would be extremely expensive to store the character patterns in expensive high-speed memory, so it is possible to store the character patterns in inexpensive, low-speed, large-capacity memory and use only character codes. is built into high-speed memory.

■ 土記■、■の中間的システム 使用文字はそれほど多くないが、ある程度の高速処理を
行う場合には、高速メモリーには使用頻度の高い文字の
パターンを外部メモリーには使用頻度の低い文字のパタ
ーンをバランスよく内蔵させることによりコストパフォ
ーマンスの良いシステムが作成される。
■ There are not so many intermediate system-used characters in Doki■ and ■, but if you want to perform high-speed processing to a certain extent, you can store patterns of frequently used characters in high-speed memory and patterns of characters that are used less frequently in external memory. By incorporating patterns in a well-balanced manner, a system with good cost performance is created.

以上述べた様に、装置を新たに開発あるいは改造するこ
となく処理内容により業務に適切なシステムを作成する
ことが可能となる。
As described above, it is possible to create a system appropriate for the business depending on the processing content without newly developing or modifying the device.

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

第1図は本発明の一実施例を示す文字発生器のブロック
図、第2図は高速メモリーの内容を分割した概略図、第
3図は高速メモリーに内蔵する文字パターン及び対応す
る文字コードに関する1文字の説明図、第4図は外部メ
モリーに内容の分割概要図。 符号の説明、1・・・・・・定数(定数−1)、2・・
・・・・定数(定数=19)3・・・・・・フリツプフ
ロツブ回路、4,5・・・・・・A.ND回路、6,1
3・・・・・・OR回路、7・・・・・・加算回路、8
,15・・・・・・アドレスレジスタ、9・・・・・・
高速メモリー、10・・・・・・文字コードレジスタ、
12.19・・・・・・一致回路、14・・・・・・文
字パターンバツファレジスタ、16・・・・・・外部メ
モリー、17・・・・・・文字数設定レジスタ、18・
・・・・・読みだしカウンタ、20・・・・・・文字表
示線、21・・・・・・高速メモリー、22・・・・・
・文字パターンA、23・・・・・・文字コードA、2
4・・・・・・文字コードB、25・・・・・・外部メ
モリー、26……文字パターンB0
FIG. 1 is a block diagram of a character generator showing an embodiment of the present invention, FIG. 2 is a schematic diagram of the divided contents of the high-speed memory, and FIG. 3 is a diagram related to the character patterns built into the high-speed memory and the corresponding character codes. An explanatory diagram of one character, and Figure 4 is a schematic diagram of how the contents are divided into external memory. Explanation of signs, 1... constant (constant - 1), 2...
... Constant (constant = 19) 3 ... Flip-flop circuit, 4, 5 ... A. ND circuit, 6,1
3...OR circuit, 7...Addition circuit, 8
, 15...Address register, 9...
High-speed memory, 10...Character code register,
12.19... Matching circuit, 14... Character pattern buffer register, 16... External memory, 17... Character number setting register, 18.
...Reading counter, 20...Character display line, 21...High speed memory, 22...
・Character pattern A, 23...Character code A, 2
4...Character code B, 25...External memory, 26...Character pattern B0

Claims (1)

【特許請求の範囲】[Claims] 1 文字コードをドットマトリクスで表わされる文字パ
ターンに変換し表示または印字するための文字パターン
発生器において、いくつかの文字コードと文字パターン
の対と、他のいくつかの文字コードを記憶する第1のメ
モリと、前記他のいくつかの文字コードに対応する文字
パターンを記憶する第2のメモリと、第1のメモリに記
憶された前記対の数を記憶するレジスタと、第1のメモ
リを前記対の容量だけアドレスを更新しながら順に読み
出し、読み出し文字数が前記レジスタの値になると文字
コードの容量だけアドレスを更新しながら第1のメモリ
を読み出す手段とを具え、前記他の文字コードに対応す
る文字パターンは第2のメモリから順次読み出し読み出
された文字コードが求める文字コードと一致したときに
それに対応する文字パターンを取込むことを特徴とする
文字パターン発生器。
1. In a character pattern generator for converting a character code into a character pattern represented by a dot matrix and displaying or printing the character pattern, the first generator stores several pairs of character codes and character patterns and several other character codes. a second memory for storing character patterns corresponding to the other several character codes; a register for storing the number of pairs stored in the first memory; means for sequentially reading the address while updating the address by the capacity of the pair, and when the number of read characters reaches the value of the register, reading the first memory while updating the address by the capacity of the character code, and corresponding to the other character code. A character pattern generator characterized in that character patterns are sequentially read from a second memory and when the read character code matches a desired character code, a character pattern corresponding to the read character code is taken in.
JP50123308A 1975-10-15 1975-10-15 Moji pattern hatsuseiki Expired JPS581782B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP50123308A JPS581782B2 (en) 1975-10-15 1975-10-15 Moji pattern hatsuseiki

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP50123308A JPS581782B2 (en) 1975-10-15 1975-10-15 Moji pattern hatsuseiki

Publications (2)

Publication Number Publication Date
JPS5247633A JPS5247633A (en) 1977-04-15
JPS581782B2 true JPS581782B2 (en) 1983-01-12

Family

ID=14857314

Family Applications (1)

Application Number Title Priority Date Filing Date
JP50123308A Expired JPS581782B2 (en) 1975-10-15 1975-10-15 Moji pattern hatsuseiki

Country Status (1)

Country Link
JP (1) JPS581782B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5917422B2 (en) * 1976-09-25 1984-04-21 富士通株式会社 Scattered code table conversion method
JPH01153875U (en) * 1988-04-18 1989-10-23

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4834631A (en) * 1971-09-08 1973-05-21
JPS4856033A (en) * 1971-11-13 1973-08-07

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4834631A (en) * 1971-09-08 1973-05-21
JPS4856033A (en) * 1971-11-13 1973-08-07

Also Published As

Publication number Publication date
JPS5247633A (en) 1977-04-15

Similar Documents

Publication Publication Date Title
JPH0613224B2 (en) Font inclusion method
JP2855207B2 (en) Form output device
JPS581782B2 (en) Moji pattern hatsuseiki
JPH0337697A (en) Character generator
JPS594706B2 (en) Print pattern generator
JPS5816186B2 (en) character pattern generator
JPH0430073B2 (en)
JPH0445875B2 (en)
JPS63233465A (en) Input display system for numerical format code
JP2846357B2 (en) Font memory device
JPS6230436B2 (en)
JPS606876Y2 (en) Dot pattern display device
JPH05265433A (en) Character outputting method
JP3251311B2 (en) Sorting method for data representing numerical values
JPS59184942A (en) Kanji code converting method
JPS6347908Y2 (en)
JPH0594538A (en) Method for forming graph
JPH01310391A (en) Circuit for crt display
JPH0444781B2 (en)
JPS62103154A (en) Character pattern memory circuit
JPH04280295A (en) Character pattern processing device
JPS6136647B2 (en)
JPH0465405B2 (en)
JPS6145837B2 (en)
JPS6060060B2 (en) display device