JPS6154231B2 - - Google Patents

Info

Publication number
JPS6154231B2
JPS6154231B2 JP17979080A JP17979080A JPS6154231B2 JP S6154231 B2 JPS6154231 B2 JP S6154231B2 JP 17979080 A JP17979080 A JP 17979080A JP 17979080 A JP17979080 A JP 17979080A JP S6154231 B2 JPS6154231 B2 JP S6154231B2
Authority
JP
Japan
Prior art keywords
character
undefined
code
pattern
flag
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
JP17979080A
Other languages
Japanese (ja)
Other versions
JPS57102685A (en
Inventor
Hiroyuki Yamamoto
Fumio Waki
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 JP17979080A priority Critical patent/JPS57102685A/en
Publication of JPS57102685A publication Critical patent/JPS57102685A/en
Publication of JPS6154231B2 publication Critical patent/JPS6154231B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は、文字パターンが記憶されている文字
発生器を用いて、デイスプレイ装置やプリンタ等
に文字を出力表示する装置における未定義コード
検出方式に関し、回路構成を簡素化してコストダ
ウンを図ることを目的とする。
[Detailed Description of the Invention] The present invention relates to an undefined code detection method in a device that outputs and displays characters on a display device, printer, etc. using a character generator in which character patterns are stored, and simplifies the circuit configuration. The purpose is to reduce costs.

第1図は従来のデイスプレイ装置の回路構成を
ブロツク図で示したものであり、1は制御部、2
は文字発生器、3は文字パターン組立部、4は表
示制御部、5はCRT等の表示部である。文字等
の表示にあたつては、制御部から文字コードが文
字発生器2に入力すると、該文字コードに対応す
る文字パターンが文字発生器2から読出され、文
字パターン組立部3に入力される。そして文字パ
ターンの形で表示制御部4を介して表示器5に入
力され、文字が表示される。ところが、漢字表示
装置等のように大容量の文字発生器を要するもの
においては、文字発生器2中に総ての漢字のパタ
ーンを格納できないため、文字パターンが定義さ
れていない漢字については、文字コードが入力し
ても、文字パターンを出力できないことになる。
このように文字発生器中に、文字パターンが定義
されていない未定義コードが入力したときは、次
のようにしてその旨が表示される。即ち、テーブ
ル6中には、文字コードと文字発生器2中に定義
されている文字との対照内容が記憶されており、
文字コードはこのテーブル6にも入力して定義コ
ードか未定義コードかが検出される。そして、定
義コードであれば、対応する文字パターンが文字
発生器2から出力して表示され、未定義コードで
あれば検出信号が制御部1に入力して、文字発生
器中に文字パターンが定義されていないことを示
す未定義文字符号、例えば“?”や“※”等の文
字コードが文字発生器2に入力され、“?”や
“※”等の記号が表示される。それによつてオペ
レータは、漢字表示を断念し、カナ文字で表示す
るか、他の漢字を用いるかの判断ができる。
Figure 1 is a block diagram showing the circuit configuration of a conventional display device.
3 is a character generator, 3 is a character pattern assembly section, 4 is a display control section, and 5 is a display section such as a CRT. When displaying characters, etc., when a character code is input from the control unit to the character generator 2, a character pattern corresponding to the character code is read from the character generator 2 and input to the character pattern assembly unit 3. . The characters are then input in the form of a character pattern to the display 5 via the display control unit 4, and the characters are displayed. However, in devices that require a large-capacity character generator, such as a kanji display device, it is not possible to store all kanji patterns in the character generator 2, so for kanji for which character patterns are not defined, Even if the code is input, the character pattern cannot be output.
When an undefined code with no defined character pattern is input into the character generator as described above, this fact is displayed as follows. That is, the table 6 stores comparison contents between character codes and characters defined in the character generator 2,
The character code is also input into this table 6 to detect whether it is a defined code or an undefined code. If it is a defined code, a corresponding character pattern is output from the character generator 2 and displayed, and if it is an undefined code, a detection signal is input to the control unit 1, and a character pattern is defined in the character generator. An undefined character code, such as a character code such as "?" or "*", indicating that the character is not registered is input to the character generator 2, and a symbol such as "?" or "*" is displayed. This allows the operator to decide whether to abandon the display of kanji characters and instead display them in kana characters or to use other kanji characters.

しかしながらこのような構成では、特別にテー
ブル用のメモリが必要となり、コスト高になる。
本発明は、従来の未定義コード検出方式における
このような問題を解消することを目的とするもの
である。この目的を達成するために本発明は、文
字コードに対応した文字パターンを格納する格納
領域を備えた文字発生器において、 各文字パターンの格納領域における余剰記憶領
域に、当該格納領域に文字パターンが定義されて
いるか否かを示す未定義フラグ領域を設けるとと
もに、 この未定義フラグにより文字パターンの未定義
が示された時に未定義コードである旨のパターン
を指示するコードを上記文字発生器に供給する制
御手段を設け、 上記未定義フラグがセツトされていることに応
答して文字発生器から読出される文字パターンを
出力せしめ、未定義コードのリセツト状態により
未定義コードを示すパターンを文字発生器より読
出して出力せしめる方式を採つている。
However, such a configuration requires a special memory for the table, resulting in high costs.
The present invention aims to solve these problems in conventional undefined code detection methods. To achieve this object, the present invention provides a character generator equipped with a storage area for storing character patterns corresponding to character codes, in which a character pattern is stored in a surplus storage area in the storage area for each character pattern. An undefined flag area is provided to indicate whether or not a character pattern is defined, and when this undefined flag indicates that a character pattern is undefined, a code indicating the pattern as an undefined code is supplied to the character generator. A control means is provided for outputting a character pattern read from the character generator in response to the undefined flag being set, and for causing the character generator to output a pattern indicating an undefined code depending on the reset state of the undefined code. A method is adopted in which the data is read out and output.

このように本発明によれば、文字パターンの格
納領域における余剰領域に未定義フラグ領域が設
けられるため、文字コードに対応した同一の領域
にパターンとフラグが格納され、CGの内容変更
等も容易に行うことができる。またこのフラグの
セツト“1”条件で文字パターンを読出し、一方
フラグリセツト“0”状態で未定義を示すパター
ンの読出しを自動的に行うことができ、定義、未
定義に拘わらず同一のCGからパターンを読出す
構成になつている。そのため、文字パターン及び
未定義コードを示すパターンを同一のCGにより
発生でき、未定義コードを示すパターンを発生す
るための構成を簡略化できる。さらにフラグ領域
セツト状態で定義コードであることを示し、フラ
グリセツト状態で未定義コードであることを示す
ようにしているので、フラグ“1”で定義コー
ド、フラグ“0”で未定義コードとすることによ
り、CGにおける文字パターンの未定義領域は
“0”の状態となり、必然的に未定義を示すこと
が可能となる。次に本発明の詳細を図示実施例に
基づいて説明する。第2図は本発明による未定義
コード検出方式の一例をブロツク図で示したもの
で、第1図と同一部分には同じ符号が付されてい
る。文字発生器2′における文字パターン定義
は、5×7ドツトの文字フオントで行われている
が、このような場合文字発生器用ROMとして
は、通常8ビツトの製品が用いられる。そのた
め、ROMの7つのビツトbPのみが文字パターン
格納に利用され、例えば最下端の1つのビツト
bnは空いている。図示例の場合この空いたビツ
トbnを未定義ビツトとして利用し、文字コード
に対応した文字パターンが定義されているときは
例えば論理“1”のフラグを設定しておく。そし
て、この文字発生器2′の読出し時にフラグも同
時に読出す。
As described above, according to the present invention, since the undefined flag area is provided in the surplus area of the character pattern storage area, the pattern and the flag are stored in the same area corresponding to the character code, and it is easy to change the contents of the CG. can be done. In addition, character patterns can be read out when this flag is set to "1", while patterns indicating undefined can be automatically read out when the flag is reset to "0". It is configured to read out patterns. Therefore, a character pattern and a pattern indicating an undefined code can be generated by the same CG, and the configuration for generating a pattern indicating an undefined code can be simplified. Furthermore, the flag area set state indicates a defined code, and the flag reset state indicates an undefined code, so a flag "1" indicates a defined code, and a flag "0" indicates an undefined code. As a result, the undefined area of the character pattern in the CG becomes a "0" state, and it becomes possible to inevitably indicate undefined. Next, details of the present invention will be explained based on illustrated embodiments. FIG. 2 is a block diagram showing an example of the undefined code detection method according to the present invention, and the same parts as in FIG. 1 are given the same reference numerals. The character pattern definition in the character generator 2' is performed using a 5.times.7 dot character font, but in such a case, an 8-bit product is usually used as the ROM for the character generator. Therefore, only seven bits bP of the ROM are used to store character patterns, for example, the lowest bit bP
bn is vacant. In the illustrated example, the vacant bit bn is used as an undefined bit, and when a character pattern corresponding to the character code is defined, a flag of logic "1" is set, for example. When the character generator 2' is read, the flag is also read at the same time.

この文字発生器2′と文字パターン組立部3と
の間にアンドゲート7が接続されており、文字発
生器2′の読出し信号はアンドゲート7を介して
出力されるが、その際未定義ビツトbnのフラグ
が読出されることにより、アンドゲート7が開く
ため、文字発生器2′から読出された文字パター
ン信号が、文字パターン組立部3に供給される。
An AND gate 7 is connected between the character generator 2' and the character pattern assembly section 3, and the read signal of the character generator 2' is outputted via the AND gate 7. Since the AND gate 7 is opened by reading the bn flag, the character pattern signal read from the character generator 2' is supplied to the character pattern assembling section 3.

制御部1と文字発生器2′間には、セレクタ8
が設けられており、制御部1からの文字コード
は、セレクタ8を介して文字発生器2′に入力さ
れる。9は設定アドレス盤であり、未定義コード
であることを示す“※”や“?”等のコードが設
定されていて、セレクタ8を介して文字発生器
2′に入力される。セレクタ8の切替えは、文字
発生器2′の未定義ビツトbnの読出し信号によつ
て行われる。即ち、前記のように文字発生器2′
中に定義されている文字コードについては、未定
義ビツトのフラグが読出されてアンドゲート7が
開かれるが、その信号は、セレクタ8にも入力さ
れ、セレクタ8を制御部1側へ切替え保持してい
る。
A selector 8 is provided between the control unit 1 and the character generator 2'.
The character code from the control section 1 is inputted to the character generator 2' via the selector 8. Reference numeral 9 denotes a setting address board, on which codes such as "*" and "?" indicating undefined codes are set, and are inputted to the character generator 2' via the selector 8. The selector 8 is switched by the read signal of the undefined bit bn of the character generator 2'. That is, as mentioned above, the character generator 2'
Regarding the character code defined in the character code, the undefined bit flag is read and the AND gate 7 is opened, but that signal is also input to the selector 8, and the selector 8 is switched to the control unit 1 side and held. ing.

文字発生器2′に定義されていない文字につい
ては、文字発生器2′に文字コードが入力しても
文字パターンは出力されず、未定義ビツトからの
論理“1”のフラグ読出しも行われないため、セ
レクタ8は設定アドレス盤9側に切替えられる。
そして、設定アドレス盤9から、未定義コードで
あることを示す“?”、“※”の符号の文字コード
がセレクタ8を介して文字発生器2′に入力さ
れ、文字発生器2′からその文字パターンが読出
されて表示器5に表示される。このとき、未定義
文字符号の読出しと同時に、その未定義ビツト
bnのフラグ“1”の読出しによつてアンドゲー
ト7が開かれると共に、セレクタ8は制御部1側
に切替わり、次の読出しに備える。未定義文字コ
ードの場合、表示器に未定義文字符号を表示して
注意を喚起することのほかに、設定アドレス盤9
から未定義文字符号の文字コードを入力しない
で、表示器5上の桁位置のみ1桁分進めて、いわ
ゆるスペース表示にしてもよい。
For characters that are not defined in the character generator 2', no character pattern is output even if a character code is input to the character generator 2', and a logic "1" flag is not read from the undefined bit. Therefore, the selector 8 is switched to the setting address board 9 side.
Then, from the setting address board 9, the character codes of "?" and "*" indicating undefined codes are inputted to the character generator 2' via the selector 8, and The character pattern is read out and displayed on the display 5. At this time, at the same time as reading the undefined character code, the undefined bit is
By reading the flag "1" of bn, the AND gate 7 is opened and the selector 8 is switched to the control section 1 side to prepare for the next reading. In the case of an undefined character code, in addition to displaying the undefined character code on the display to alert you,
Instead of inputting the character code of the undefined character code, only the digit position on the display 5 may be advanced by one digit to display a so-called space display.

このように、文字発生器2′に未定義ビツトbn
を設けて未定義文字か定義文字かを判別するフラ
グを設定し、文字コードに従つて文字発生器を読
出す際に、未定義ビツトを読出すことにより、未
定義コードを検出する構成に成つているので、従
来のような対照用のテーブルを特別に設ける必要
が無く、装置のコストが大幅に安くなる。図示例
は、英数字やカナの表示に用いられる5×7ドツ
トの文字の例であるのに対し、漢字の場合は、15
×16ドツトで構成されるが、文字発生器上では16
×16ビツトのメモリを用い、右端または左端のビ
ツトを未定義ビツトとして用いるのがよい。なお
図示例のように、定義文字についてその未定義ビ
ツトに論理“1”のフラグを設定する場合、文字
発生器に、文字パターン記憶に用いられていない
空きのアドレスが有れば、そのアドレスにも未定
義ビツトを設けて、論理“0”のフラグを設定す
ることにより、誤検出が防止される。また、表示
部がデイスプレイ装置でなく、ハードコピーのと
れるプリンタの場合でも、図示例と同じ方式で未
定義コードを検出できる。
In this way, the undefined bit bn is added to the character generator 2'.
By setting a flag to determine whether a character is an undefined character or a defined character, and reading the undefined bits when reading the character generator according to the character code, an undefined code can be detected. Since there is no need to provide a special table for comparison as in the conventional case, the cost of the apparatus is significantly reduced. The example shown is a 5 x 7 dot character used to display alphanumeric characters and kana, whereas in the case of kanji, 15
It consists of ×16 dots, but on the character generator it is 16
It is better to use ×16 bit memory and use the rightmost or leftmost bit as an undefined bit. As shown in the illustrated example, when setting a logic "1" flag to the undefined bit of a defined character, if there is an empty address in the character generator that is not used for character pattern storage, that address is set. Erroneous detection can be prevented by providing an undefined bit and setting a flag of logic "0". Furthermore, even if the display unit is not a display device but a printer capable of producing hard copies, undefined codes can be detected using the same method as in the illustrated example.

以上のように本発明によれば、文字発生器2′
において、各文字パターン記憶ビツトbpに対応
して未定義ビツトbnを設け、この未定義ビツト
bnに、文字パターンとして記憶されているかど
うかを示すフラグを設定し、文字コードに対応し
た文字パターンを読出す際に、未定義ビツトbn
のフラグも読出すことにより、入力された文字コ
ードが未定義コードかどうかを検出する構成に成
つている。そのため、従来のように特別のテーブ
ルを設ける必要が無くなり、大幅なコストダウン
が可能となる。
As described above, according to the present invention, the character generator 2'
, an undefined bit bn is provided corresponding to each character pattern storage bit bp, and this undefined bit is
A flag indicating whether bn is stored as a character pattern is set, and when reading the character pattern corresponding to the character code, undefined bit bn is set.
By also reading the flag, it is possible to detect whether the input character code is an undefined code. Therefore, there is no need to provide a special table unlike in the past, and it is possible to significantly reduce costs.

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

第1図は従来の未定義コード検出方式を示すブ
ロツク図、第2図は本発明による未定義コード検
出方式の実施例を示すブロツク図である。 図において、1は制御部、2,2′は文字発生
器、bpは文字パターン記憶ビツト、bnは未定義
ビツト、5は表示器、8はセレクタである。
FIG. 1 is a block diagram showing a conventional undefined code detection method, and FIG. 2 is a block diagram showing an embodiment of the undefined code detection method according to the present invention. In the figure, 1 is a control unit, 2 and 2' are character generators, bp is a character pattern storage bit, bn is an undefined bit, 5 is a display, and 8 is a selector.

Claims (1)

【特許請求の範囲】 1 文字コードに対応した文字パターンを格納す
る格納領域を備えた文字発生器において、 文字パターンの格納領域における余剰記憶領域
に、当該格納領域に文字パターンが定義されてい
るか否かを示す未定義フラグ領域を設けるととも
に、 この未定義フラグにより文字パターンの未定義
が示された時に未定義コードである旨のパターン
を指示するコードを上記文字発生器に供給する制
御手段を設け、 上記未定義フラグがセツトされていることに応
答して文字発生器から読出される文字パターンを
出力せしめ、未定義コードのリセツト状態により
未定義コードを示すパターンを文字発生器より読
出して出力せしめることを特徴とする、 未定義コード検出方式。
[Claims] 1. In a character generator equipped with a storage area for storing character patterns corresponding to character codes, whether or not a character pattern is defined in the surplus storage area of the character pattern storage area. An undefined flag area is provided to indicate whether the character pattern is undefined, and control means is provided to supply the character generator with a code instructing the pattern to be an undefined code when the undefined flag indicates that the character pattern is undefined. , causes the character generator to output a character pattern read from the character generator in response to the undefined flag being set, and causes the character generator to read and output a pattern indicating an undefined code depending on the reset state of the undefined code. An undefined code detection method characterized by:
JP17979080A 1980-12-19 1980-12-19 Undefined code detection system Granted JPS57102685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17979080A JPS57102685A (en) 1980-12-19 1980-12-19 Undefined code detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17979080A JPS57102685A (en) 1980-12-19 1980-12-19 Undefined code detection system

Publications (2)

Publication Number Publication Date
JPS57102685A JPS57102685A (en) 1982-06-25
JPS6154231B2 true JPS6154231B2 (en) 1986-11-21

Family

ID=16071931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17979080A Granted JPS57102685A (en) 1980-12-19 1980-12-19 Undefined code detection system

Country Status (1)

Country Link
JP (1) JPS57102685A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6094371A (en) * 1983-10-28 1985-05-27 Fuji Facom Corp Printer
JPS60131284A (en) * 1983-12-20 1985-07-12 Fuji Xerox Co Ltd Controlling method for printer
JPH0220364A (en) * 1988-07-08 1990-01-23 Canon Inc Printing apparatus

Also Published As

Publication number Publication date
JPS57102685A (en) 1982-06-25

Similar Documents

Publication Publication Date Title
US4158837A (en) Information display apparatus
EP0199863B1 (en) Visual display unit with character overstrike
US3906457A (en) Display system for an electronic business machine
JPS6154231B2 (en)
JPH03196188A (en) Display system for information processor
KR940004362A (en) LCD Display Controller
JPH042958B2 (en)
JPS60159784A (en) Pattern output unit
EP0273749B1 (en) Display system with fewer display memory chips
JPS5853338B2 (en) Dot pattern output method
JP3817747B2 (en) Typeface information setting device
JPS60176137A (en) Sentence generating device
JP3097721B2 (en) Terminal printer
JPS6049925B2 (en) character input device
KR820001999B1 (en) Displying device of korear language
JPS6239739B2 (en)
JPS5937821Y2 (en) Refresh type CRT display device
JPS59222885A (en) Document processing terminal
JPH0486274A (en) Pattern generation system
JPH0327468A (en) Document processor
JPH0631933B2 (en) Display device
JPS5887625A (en) Layout display device for sentence editing device
JPS6145837B2 (en)
JPS623954B2 (en)
JPS59184942A (en) Kanji code converting method