JPH0827613B2 - Character output device - Google Patents

Character output device

Info

Publication number
JPH0827613B2
JPH0827613B2 JP62104362A JP10436287A JPH0827613B2 JP H0827613 B2 JPH0827613 B2 JP H0827613B2 JP 62104362 A JP62104362 A JP 62104362A JP 10436287 A JP10436287 A JP 10436287A JP H0827613 B2 JPH0827613 B2 JP H0827613B2
Authority
JP
Japan
Prior art keywords
display
code
character
pattern
characters
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 - Fee Related
Application number
JP62104362A
Other languages
Japanese (ja)
Other versions
JPS63271289A (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.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP62104362A priority Critical patent/JPH0827613B2/en
Priority to KR1019880004252A priority patent/KR930006475B1/en
Publication of JPS63271289A publication Critical patent/JPS63271289A/en
Publication of JPH0827613B2 publication Critical patent/JPH0827613B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 発明の背景 この発明は各種のデータ処理装置において出力コマン
ドによって与えられた文字コード・データによって指示
された文字を可視的に出力する,たとえば多桁型の表示
装置に表示するための文字出力装置に関する。
Description: BACKGROUND OF THE INVENTION The present invention visibly outputs a character designated by character code data given by an output command in various data processing devices, for example, it is displayed on a multi-digit type display device. The present invention relates to a character output device for doing.

多桁型の表示装置,たとえば多桁型の蛍光表示管の各
桁には一般に1文字(1キャラクタ)が表示される。し
たがって,表示装置がたとえば20桁のものであれば最大
20の文字の表示が可能であるから,表示コマンド内には
20以下の文字を指定する文字コード・データを含ませて
おけば指定されたすべての文字の表示ができる。
Generally, one character (one character) is displayed on each digit of a multi-digit type display device, for example, a multi-digit type fluorescent display tube. Therefore, if the display device has, for example, 20 digits, the maximum
Since it is possible to display 20 characters,
All specified characters can be displayed by including the character code data that specifies 20 or less characters.

ところが1文字を2桁以上にわたって表示するような
場合,たとえば出願人の昭和62年4月15日付特許願
(1)「ハングル文字生成方法」(特開昭63−256989号
公報)に記載のように1つのハングル文字を表示区画2
桁または3桁にわたって表示するような場合には,表示
コマンドに含まれる文字コードの桁数とこれを表示装置
に表示したときの桁数が一致しない。そうすると,表示
コマンドに含まれる文字コード・データによって指定さ
れている文字のすべてを表示できない場合がある。
However, in the case of displaying one character over two or more digits, for example, as described in the applicant's patent application (1) “Hangul character generation method” (April 15, 1987) (Japanese Patent Laid-Open No. 63-256989). Display one Hangul character in section 2
When the number of digits or three digits is displayed, the number of digits of the character code included in the display command does not match the number of digits when displayed on the display device. If so, it may not be possible to display all of the characters specified by the character code data included in the display command.

表示させるべき文字にはそれを表示することが絶対的
に必要であるというものもある。このような不可欠の文
字の表示ができないとなると表示そのものが無意味とな
ってしまう。
For some characters, it is absolutely necessary to display them. If such indispensable characters cannot be displayed, the display itself becomes meaningless.

発明の概要 この発明は,表示コマンド等の出力コマンドに含まれ
る文字コードによって指定される文字のすべてがたとえ
出力装置に出力できない場合であっても,特定の文字に
ついては必ず出力することのできる文字出力装置を提供
することを目的とする。
SUMMARY OF THE INVENTION The present invention is a character that can always output a specific character even if all the characters specified by a character code included in an output command such as a display command cannot be output to an output device. An object is to provide an output device.

この発明による文字出力装置は,文字を表わす範囲が
あらかじめ定められた出力装置,および出力すべき文字
を表わす一連の文字コード・データと,特定の文字を他
の文字に優先して出力すべきことを示す優先情報とを含
む出力コマンドが与えられ,上記一連の文字コード・デ
ータによって表わされる文字を出力するときに,上記出
力コマンドに含まれる一連の文字コード・データによっ
て表わされる文字のすべてを上記範囲内で出力できない
場合に,上記優先情報によって指定される文字を,それ
以外の文字の一部を削除して,優先的に上記範囲内で出
力するよう制御する出力制御手段を備えているものであ
る。
The character output device according to the present invention should output an output device having a predetermined range for representing a character, a series of character code data representing a character to be output, and a specific character prior to other characters. When outputting a character represented by the series of character code data described above, all the characters represented by the series of character code data contained in the output command are described above. When output cannot be performed within the range, output control means for controlling the characters specified by the priority information so as to preferentially output within the range by deleting some of the other characters Is.

したがって,出力コマンドによって指定されたすべて
の文字がたとえ出力装置の出力範囲内に出力できない場
合であっても,少なくとも優先情報によって指定された
文字は優先して,すなわち他の一部の文字を削除するこ
とにより犠牲にして,必ず出力されるようになる。出力
することが絶対的に不可欠であるという文字は必ず出力
されるので,たとえ小さな文字出力領域をもつ装置であ
っても,出力装置として充分に機能しうるようになる。
Therefore, even if all the characters specified by the output command cannot be output within the output range of the output device, at least the characters specified by the priority information take precedence, that is, some other characters are deleted. By doing so, it will be output at all costs. Characters that are absolutely essential to output are always output, so that even a device having a small character output area can function sufficiently as an output device.

また,すべての文字が出力装置の上記範囲内に出力で
きる場合でも,優先情報によって指定された文字を所定
の区画に出力するようにすると,すべての場合に特定文
字の出力位置を指定でき,これを統一して見やすい出力
が可能となる。
Moreover, even if all the characters can be output within the above range of the output device, if the characters specified by the priority information are output to the predetermined partition, the output position of the specific character can be specified in all cases. It is possible to unify the output and to make the output easy to see.

実施例の説明 この発明を電子キャッシュ・レジスタ(ECR)におけ
るハングル文字の表示に適用した実施例について詳述す
る。
Description of Embodiments An embodiment in which the present invention is applied to display of Hangul characters in an electronic cash register (ECR) will be described in detail.

(1)ECRの構成 第1図はECRの外観を示している。ECR1はその下部に
設けられかつ開閉自在のキャッシュ・ドロアを備えたキ
ャッシュ・ボックス2,登録のために入力された,メモリ
から取出されたまたは算出された部門コード,商品名,
価格,合計金額,顧客の支払金額,釣銭等を表示するた
めのオペレータ用表示器3,この表示器3とは逆方向を向
いて配置されかつ同じような取引データを表示するため
の顧客用表示器4,上記のような取引データがプリンタ5
(第2図参照)によって印字されたレシートの発行口5
a,部門コード,商品コード,金額,個数,その他の取引
情報を入力するためのキーボード6,およびクレジット・
カードに関する個人照合または有効性の検査等のために
そのカードを挿入するためのカード挿入口7aを備えてい
る。
(1) Structure of ECR Figure 1 shows the appearance of the ECR. ECR1 is a cash box 2 with a cash drawer that is installed at the bottom of the ECR1 and has a cash drawer that can be opened and closed.
Display 3 for operator for displaying price, total amount, amount paid by customer, change, etc., display for customer arranged opposite to this display 3 and for displaying similar transaction data Vessel 4, transaction data as described above is printer 5
Issue port for receipts printed by (See Fig. 2) 5
a, keyboard 6 for entering department code, product code, amount, quantity, and other transaction information, and credit card
It is provided with a card insertion port 7a for inserting the card for individual verification or validity inspection of the card.

第2図は上記のECR1の電気的構成を示している。ECR1
における登録処理の全体的な動作はメインCPU11によっ
て制御され,このメインCPU11はその実行プログラムを
格納したROM12および登録処理に必要なデータ,その他
のデータをストアするためのRAM13を備えている。ま
た,メインCPU11には上記キーボード6ならびにクレジ
ット・カードに記録されているデータを読取るおよび必
要ならば書込むカード・リーダ/ライタ7が接続されて
いる。
FIG. 2 shows the electrical configuration of the above ECR1. ECR1
The overall operation of the registration process in is controlled by the main CPU 11, and the main CPU 11 is provided with a ROM 12 storing the execution program thereof and a RAM 13 for storing data necessary for the registration process and other data. Further, the main CPU 11 is connected to the keyboard 6 and a card reader / writer 7 for reading the data recorded on the credit card and writing the data if necessary.

オペレータ用表示器3,顧客用表示器4およびプリンタ
5はサブCPU31,41,51によってそれぞれ制御される。こ
れらのサブCPU31,41,51にはメインCPU11から後述する表
示コマンド,印字コマンドがそれぞれ与えられる。サブ
CPU31,41,51には,表示または印字ドット・パターンを
発生するキャラクタ・ゼネレータとして働くROM32,42,5
2およびメインCPU11から与えられるコマンド,その他の
データをストアするRAM33,43,53を備えている。サブCPU
31,41は,メインCPU11によって与えられる文字コードを
含む表示コマンドを後述するように解析処理して,ROM3
2,42内のドット・パターンを用いてハングル文字ならび
にアルファベットおよび数字の混在した情報を表示する
よう制御する。サブCPU51も同じように与えられる印字
コマンドの解析,印字処理を行なう。
The operator display 3, the customer display 4 and the printer 5 are controlled by the sub CPUs 31, 41 and 51, respectively. Display commands and print commands, which will be described later, are given from the main CPU 11 to these sub CPUs 31, 41, 51, respectively. sub
ROMs 32, 42, 5 that function as character generators that generate display or print dot patterns for CPUs 31, 41, 51
2 and RAMs 33, 43, 53 for storing commands given from the main CPU 11 and other data. Sub CPU
31, 41 analyzes the display command including the character code given by the main CPU 11 as described later, and
The dot pattern in 2,42 is used to control the display of Hangul characters and mixed alphabet and number information. The sub CPU 51 also analyzes the print command given in the same manner and performs print processing.

第3図は表示器3,4にそれぞれ備えられている表示パ
ネル34の一例を示している。表示パネル34には複数の表
示区画35が横一列に並べられている。英文字(アルファ
ベット),数字(0〜9までの1桁の数字),記号等は
1区画35に1個表示されるので,1個の表示区画35を1桁
分と呼ぶことにする。表示パネル34は,複数のドット表
示管(たとえば蛍光表示管)を横に並べることによっ
て,液晶表示器によって,その他のドット表示器によっ
て構成することができる。
FIG. 3 shows an example of the display panel 34 provided in each of the displays 3 and 4. On the display panel 34, a plurality of display sections 35 are arranged in a horizontal row. One letter (alphabet), numeral (one-digit number from 0 to 9), symbol, etc. is displayed in one section 35, so one display section 35 is called one digit. The display panel 34 can be configured by a liquid crystal display by arranging a plurality of dot display tubes (for example, a fluorescent display tube) side by side and by other dot displays.

第4図は5×7ドット表示器の1桁分の表示区画35を
拡大して示すものである。この表示区画35は横5ドッ
ト,縦7ドットに配列されたS1〜S35の35個のドット・
セグメント36から構成されている。
FIG. 4 is an enlarged view of the display section 35 for one digit of the 5 × 7 dot display. This display area 35 has 35 dots of S1 to S35 arranged in 5 dots horizontally and 7 dots vertically.
It consists of segment 36.

表示区画35は5×7ドットに限られる必要はない。た
とえば7×9でもよいし,他の任意のドット配列を採用
できる。
The display area 35 need not be limited to 5 × 7 dots. For example, 7 × 9 may be used, or another arbitrary dot arrangement can be adopted.

以下の説明では5×7ドットの表示区画35をもつ表示
器における動作を例として述べるが,任意のドット配列
のものを用いることができるのはいうまでもない。表示
器におけるドット配列に応じてROM32,42にストアされる
ドット・パターンが若干修正されよう。
In the following description, the operation of the display having the display section 35 of 5 × 7 dots will be described as an example, but it goes without saying that an arbitrary dot arrangement can be used. The dot pattern stored in the ROM 32, 42 may be slightly modified according to the dot arrangement on the display.

(2)ハングル文字の生成とコマンド・フォーマット ハングル文字は,予音字母(以下単に子音という)19
個,母音字母(以下単に母音という)21個およびパッチ
ム(終声子音)27個を,子音+母音,子音+母音+パッ
チムのように組合せることによって構成される。子音+
母音の組合せで399個の文字が,子音+母音+パッチム
の組合せで10,773個の文字がそれぞれ構成され,これら
の組合せの総数は11,172個となる。
(2) Generation of Hangul characters and command format Hangul characters are used as a consonant.
It consists of 21 pieces of vowels, 21 vowels (hereinafter simply referred to as vowels), and 27 patches (final consonants) as consonants + vowels and consonants + vowels + patchums. Consonant +
A combination of vowels constitutes 399 characters, and a combination of consonants + vowels + patchums constitutes 10,773 characters. The total number of these combinations is 11,172.

この組合せにおいて,子音は左または上に置かれ,母
音は右または下に置かれる。パッチムは,子音+母音か
らなるハングルの常に下に置かれる。
In this combination, consonants are placed on the left or top and vowels are placed on the right or bottom. The patchum is always placed under the consonant + vowel Hangul.

表示器3,4には,ハングル文字と,英語のアルファベ
ット,数字,記号等(これらを英数字と略す)とが表示
される。ハングル文字1字の指定は16ビットで行なわ
れ,英数字1字は8ビットで指定される。
Hangul characters and English alphabets, numbers, symbols, etc. (these are abbreviated as alphanumeric characters) are displayed on the displays 3 and 4. One Hangul character is designated by 16 bits, and one alphanumeric character is designated by 8 bits.

第5図(A)はハングル文字指定コードのフォーマッ
トを示している。最上位ビット(第15ビット)はハング
ル文字か英数字かを識別するための区分コードであり,
このビットが1であればハングル文字であり,0であれば
(後述するように英数字コードは8ビットによって構成
されるが)英数字である。他の15ビットは,上位から5
ビットずつそれぞれ子音,母音およびパッチムを指定す
るために用いられる。すなわち,第14ビット〜第10ビッ
トは子音コード,第9ビット〜第5ビットは母音コー
ド,第4ビット第0ビットはパッチム・コードである。
これらのコードのとりうる範囲が第5図(B)に示され
ている。子音は上述のように19種類あるので,これらは
コード00001〜10011(16進数表現で$01〜$13)によっ
て指定される。母音は21種類であるからコード00001〜1
0101(16進数表現で$01〜$15)で指定される。パッチ
ムは27種類あるので,コード00000〜11111(16進数表現
で$00〜$1F)のうち,16進数表現で$10,$11,$13,$
00および$1Fを除く27のコードによって指定される。パ
ッチムはその16個において子音と字母が共通であるか
ら,後に分るようにそのドット・パターンを子音と共有
する。子音19種類のうち3種類のみパッチムになり得な
い子音があり,それがコード$10,$11,$13で指定され
ているので,これらのコードが除かれている。また,$
00,$1Fのときはパッチム無しとみなされる。
FIG. 5 (A) shows the format of the Hangul character designation code. The most significant bit (15th bit) is a classification code for identifying Hangul characters or alphanumeric characters,
If this bit is 1, it is a Hangul character, and if it is 0, it is an alphanumeric character (although the alphanumeric code is composed of 8 bits as described later). The other 15 bits are from the upper 5
It is used to specify consonant, vowel and patchum bit by bit. That is, the 14th to 10th bits are consonant codes, the 9th to 5th bits are vowel codes, and the 4th and 0th bits are patchum codes.
The possible range of these codes is shown in FIG. 5 (B). Since there are 19 types of consonants as described above, these are designated by the codes 00001 to 10011 ($ 01 to $ 13 in hexadecimal notation). There are 21 vowels, so the code is 00001 to 1
It is specified by 0101 ($ 01 to $ 15 in hexadecimal notation). There are 27 types of patchmes, so of the codes 00000 to 11111 (hexadecimal expression $ 00 to $ 1F), hexadecimal expression $ 10, $ 11, $ 13, $
Specified by 27 codes except 00 and $ 1F. The patchum has the same consonant and letter in 16 of them, so its dot pattern is shared with the consonant, as will be seen later. Of the 19 consonants, only 3 are consonants that cannot be patchum, and these are specified by the codes $ 10, $ 11, and $ 13, so these codes are excluded. Also, $
When it is 00, $ 1F, it is considered that there is no patch.

このようにして,16ビットの情報量によって,11,172個
のハングル文字が指定可能となる。
In this way, 11,172 Hangul characters can be specified by the amount of information of 16 bits.

第6図(A)は英数字を指定するコードのフォーマッ
トを示している。英数字のためのASCIIコードまたはJIS
7単位符号においてはすべての英数字は7ビットで表現
されている。最上位ビット(第7ビット)は必ず0にな
っている。この実施例ではこのような従来のコード大系
をそのまま流用している。すなわち,8ビットの英数字コ
ードの最上位ビット0は区分コードで英数字を表わし,
他の7ビットで英数字を指定する。この英数字コードの
とりうる範囲は00000000〜01111111(16進数表現で$00
〜$7F)である。
FIG. 6 (A) shows a code format for designating alphanumeric characters. ASCII code for alphanumeric characters or JIS
In the 7-unit code, all alphanumeric characters are represented by 7 bits. The most significant bit (7th bit) is always 0. In this embodiment, such a conventional code system is used as it is. That is, the most significant bit 0 of the 8-bit alphanumeric code represents the alphanumeric character with the classification code,
Specify the alphanumeric characters with the other 7 bits. The range of this alphanumeric code is 00000000 to 01111111 ($ 00 in hexadecimal notation)
~ $ 7F).

第7図,第8図および第9図は上述した子音9オー
ド,母音コードおよびパッチム・コードによって指定さ
れる実際の子音字母,母音字母およびパッチム字母を示
している。これらの図において5ビットのコードを上位
1ビットと下位4ビットとに分け,これらを16進数で表
わしている。
FIGS. 7, 8 and 9 show actual consonant vowels, vowel vowels and patchum vowels designated by the above-mentioned consonant 9 aud, vowel chords and patchum chords. In these figures, the 5-bit code is divided into upper 1 bit and lower 4 bits, and these are represented by hexadecimal numbers.

子音は上述したようにハングル文字の構成において左
または上に配置される。すべての子音が左に配置される
可能性があり,また上に置かれる可能性がある。ハング
ル文字の構成において左に配置されたときの子音を側子
音と呼びCVで略すことにする。また上に置かれたときの
子音を上子音と呼びCHと略すことにする(第7図参
照)。
Consonants are placed to the left or above in the composition of Hangul characters as described above. All consonants may be placed on the left and may be placed on top. Consonants when placed to the left in the structure of Hangul characters are called side consonants and abbreviated as CV. The consonant placed on top is called the upper consonant and is abbreviated as CH (see FIG. 7).

母音はハングル文字の構成において右または下に置か
れる。第8図を参照して,子音の右に置かれるコード$
01〜$04,$0A〜$0Eの母音を垂直母音と名付け,VVで略
す。子音の下に置かれるコード$05〜$09の母音を水平
母音と名付け,VHで略する。さらに垂直母音と水平母音
を組合せて構成される母音がある。それはコード$0F〜
$15によって指定されるもので,一般に複合母音と呼ば
れるものと区別するために,ここでは複々合母音と名付
け,VH+VVで略すことにする。
Vowels are placed to the right or below in the composition of Hangul letters. Referring to FIG. 8, chord $ placed to the right of the consonant
The vowels of 01 to $ 04 and $ 0A to $ 0E are named vertical vowels and are abbreviated as VV. The vowels with codes $ 05 to $ 09 placed under the consonants are named horizontal vowels and are abbreviated as VH. In addition, there are vowels composed of vertical vowels and horizontal vowels. It's code $ 0F ~
It is specified by $ 15, and in order to distinguish it from what is generally called a compound vowel, it is named here as a compound vowel and is abbreviated as VH + VV.

一般にコード$01〜$0Aの10個の母音は基本母音と呼
ばれ,$0B〜$15の11個の母音は複合母音と呼ばれてい
る。複合母音には基本母音同志の組合せにより構成され
るものと,複合母音と基本母音とを組合せて構成される
ものとがある。主に後者を指す用語として(一部例外も
ある)複々合母音を用いる パッチムには子音字母と同一字母のパッチム(コード
$01〜$0F,$12)と,子音2字の組合せによってつく
られるパッチム(コード$14〜$1E)とがあり,後者を
トウル・パッチムと呼ぶことにする。略称はともにCPで
ある。
In general, 10 vowels with codes $ 01 to $ 0A are called basic vowels, and 11 vowels with $ 0B to $ 15 are called compound vowels. There are two types of compound vowels, one composed of a combination of basic vowels and the other composed of a combination of a compound vowel and a basic vowel. A compound vowel is used as a term mainly referring to the latter (with some exceptions). A patchum is formed by a combination of a consonant and a consonant (codes $ 01 to $ 0F, $ 12) and two consonants. There is an available patchum (code $ 14 to $ 1E), and the latter will be called the Toul patchum. Both abbreviations are CP.

上述したように表示パネル34における1表示区画35は
横5ドット×縦7ドットのドット・セグメント36から構
成されており,ドットの数が少ないので1つのハングル
文字を1表示区画35で表示しきれない場合がある。そこ
で1表示区画で表示しきれないときには,2表示区画また
は3表示区画にわたって1ハングル文字を表示するよう
にしている。2または3表示区画にわたって表示した場
合に一般的に読みづらくなるが,できるだけ読みやすく
なるよう最適な表示品位を保つ工夫がなされている。
As described above, one display section 35 in the display panel 34 is composed of the dot segments 36 of 5 dots in the horizontal direction and 7 dots in the vertical direction. Since the number of dots is small, one Hangul character can be displayed in one display section 35. May not be. Therefore, when it is not possible to display in one display section, one Hangul character is displayed in two display sections or three display sections. Generally, it is difficult to read when displaying over two or three display sections, but the device is designed to maintain the optimum display quality so that it is as easy to read as possible.

第10図は表示器のドット数5×7の制限とハングル文
字パターンとのかねあいから、全ハングル文字11,172字
を9種類の表示パターンに分類していることを示してい
る。また第11図は母音を基準として表示パターンの分類
を示している。この分類テーブルはROM32または42にス
トアされている。
FIG. 10 shows that 11,172 all Hangul characters are classified into 9 types of display patterns in consideration of the limit of the number of dots of the display 5 × 7 and the Hangul character pattern. Further, FIG. 11 shows the classification of display patterns based on vowels. This classification table is stored in ROM 32 or 42.

第3図も参照して,パターン4および5は1表示区画
で表示できる組合せを示している。パターン1,2,6,7お
よび8は2表示区画で表示できる組合せを,パターン3
および9は3表示区画にわたって表示されるハングル文
字パターンをそれぞれ示している。
Referring also to FIG. 3, patterns 4 and 5 show combinations that can be displayed in one display section. Patterns 1, 2, 6, 7, and 8 are combinations that can be displayed in two display areas,
Symbols 9 and 9 respectively indicate Hangul character patterns displayed over three display sections.

第10図に示すハングル文字表示パターンから,キャラ
クタ・ジェネレータとして働くROM32,42にどのような子
音字母ドット・パターン,母音字母ドット・パターン,
パッチム字母ドット・パターンをあらかじめ作成してお
く必要があるかが理解できる。
From the Hangul character display pattern shown in Fig. 10, what consonant vowel dot pattern, vowel vowel dot pattern, can be stored in the ROM32, 42 that functions as a character generator.
Understand that it is necessary to create the patch pattern mother dot pattern in advance.

この図を参照して,子音のうち側子音CVは垂直母音VV
(VV1,VV2)と組合せて使用される(表示パターン1〜
3)。側子音CVについては各字母のドット・パターンが
1種類あれば足り,19個の側子音CVについてその例が第1
2図(A)に示されている。
Referring to this figure, the side consonant CV among the consonants is the vertical vowel VV.
Used in combination with (VV 1 , VV 2 ) (Display pattern 1
3). For side consonants CV, it is sufficient if there is only one type of dot pattern for each character, and for 19 side consonants CV, the example is first
This is shown in Fig. 2 (A).

上子音CH(CH1,CH2)は水平母音VH(VH1,VH2,V
H3,VH4)を組合せて使用される(表示パターン4〜9,
とくに表示パターン4〜6)。19個の上子音について標
準的なドット・パターンが第12図(B)に示されるよう
に作成されている。これを上子音CH1とする。組合せの
仕方によっては縦のドット数の少ないドット・パターン
が必要となることがあるので(たとえば表示パターン
5),上記の標準的なドット・パターンに加えて,特定
の5個の上子音については,同図に示されているよう
に,もう1種類のドット・パターンがあらかじめ作成さ
れている。これを上子音CH2とする。
Upper consonant CH (CH 1 , CH 2 ) is a horizontal vowel VH (VH 1 , VH 2 , V
H 3, VH 4) the combination is used (display pattern 4-9,
Especially display patterns 4-6). A standard dot pattern is created for 19 upper consonants as shown in FIG. 12 (B). This is called upper consonant CH 1 . Depending on how they are combined, a dot pattern with a small number of vertical dots may be required (for example, display pattern 5). Therefore, in addition to the standard dot pattern above, As shown in the figure, another type of dot pattern is created in advance. This is called upper consonant CH 2 .

子音については,それが側子音CVであっても上子音CH
であっても(CH1,CH2のいずれも)同じコードで指定さ
れる(第7図参照)。
For consonants, even if it is a side consonant CV, the upper consonant CH
However, (CH 1 and CH 2 ) are specified by the same code (see FIG. 7).

9個の垂直母音VVのドット・パターンについても(表
示パターン1〜3)最適な表示品位を得るために,縦の
ドット数の多いもの(これをVV1とする)と少ないもの
(これをVV2とする)との2種類が作成されている。そ
の例が第12図(C)に示されている。
With regard to the dot patterns of the 9 vertical vowels VV (display patterns 1 to 3), in order to obtain the optimum display quality, one with a large number of vertical dots (this is VV 1 ) and one with a small number of vertical dots (this is VV 1 ) 2 ) and two types have been created. An example thereof is shown in FIG. 12 (C).

水平母音VHについては(表示パターン4〜6),縦の
ドット数および位置によって4種類のものがつくられて
おり,その例が第12図(D)に示されている。これらを
VH1,VH2,VH3,VH4で区別する。水平母音は5個である
が,そのすべてについて4種類のドット・パターンがあ
る訳ではなく,必要に応じて設定されている。
Regarding horizontal vowels VH (display patterns 4 to 6), four types are created depending on the number and position of dots in the vertical direction, an example of which is shown in FIG. 12 (D). these
Differentiate using VH 1 , VH 2 , VH 3 , and VH 4 . There are five horizontal vowels, but not all of them have four types of dot patterns, and they are set as needed.

第8図を用いて説明したように垂直母音と水平母音の
指定コードは異なっている。
As described with reference to FIG. 8, the vertical vowels and the horizontal vowels have different designation codes.

表示パターン7〜9の母音は複々合母音(コード$0F
〜$15;第8図参照)で水平母音VHと垂直母音VVに分解
でき,これらの組合せVH+VVによって表示可能である。
たとえば表示パターン7および9ではVH1またはVH2+VV
1,パターン8ではVH1またはVH2+VV2である。したがっ
て,複々合母音についてのドット・パターンは作成され
ていない。
The vowels of display patterns 7 to 9 are compound vowels (code $ 0F
~ $ 15; see Fig. 8), it can be decomposed into horizontal vowels VH and vertical vowels VV, and can be displayed by a combination of these VH + VV.
For example, in display patterns 7 and 9, VH 1 or VH 2 + VV
1 , VH 1 or VH 2 + VV 2 in pattern 8. Therefore, no dot pattern has been created for compound vowels.

パッチムCPは垂直母音の下の位置(表示パターン2,
8)かハングル文字の右側の位置(表示パターン3,6,9)
に置かれる。トウル・パッチムを含む27個のパッチムに
対して,第12図(E)(F)に示すように,標準的なド
ット・パターン(CP1とする)と,特定の5個のパッチ
ムに対して縦ドット数の少ないドット・パターン(CP2
とする)とが定められている。
The patchum CP is located below the vertical vowel (display pattern 2,
8) or the position to the right of the Hangul characters (display pattern 3,6,9)
Placed in. For the 27 patchmes including the Toul patchum, as shown in FIGS. 12 (E) and (F), for the standard dot pattern (CP 1 ) and the specific 5 patchmes, Dot pattern with a small number of vertical dots (CP 2
And)) is defined.

第12図(A)〜(F)に示す109個のドット・パター
ンはキャラクタ・ゼネレータとして働くROM32,42(およ
びROM52)にあらかじめストアされている。これらのド
ット・パターンとコードとの関係をまとめたのが第13図
である。○印はドット・パターンがあることを示してい
る。また( )内の数字は縦方向を専有するドット数
(以下,縦ドット数という)を示している。2種類の上
子音,2種類の垂直母音,4種類の水平母音,2種類のパッチ
ムをそれぞれ区別するためにサブ・コードが用いられ
る。また,( )内に示した縦ドット数を示すデータも
テーブル等の形であらかじめROMにストアされている。
なお第13図では作表の便宜上,子音とパッチムの一部に
ついてはコードおよびハングル字母を共通にして図示さ
れている。
The 109 dot patterns shown in FIGS. 12A to 12F are stored in advance in the ROMs 32 and 42 (and the ROM 52) functioning as the character generator. Figure 13 shows the relationship between these dot patterns and codes. A circle indicates that there is a dot pattern. The numbers in parentheses indicate the number of dots that occupy the vertical direction (hereinafter referred to as the vertical dot number). Sub chords are used to distinguish between two types of upper consonants, two types of vertical vowels, four types of horizontal vowels, and two types of patchums. The data indicating the number of vertical dots shown in parentheses is also stored in advance in the ROM in the form of a table.
In FIG. 13, for convenience of tabulation, some chords and patchums are shown with common chords and Hangul letters.

上述したように複々合母音は水平母音と垂直母音との
組合せによってそのドット・パターンが作成されるため
に,複々合母音のドット・パターンはROMにストアされ
ていない。これに代えて複々合母音のドット・パターン
の発生のために水平母音と垂直母音との組合せテーブル
が第14図のようにあらかじめ作成され,ROM32,42に設定
されている。
As described above, since the dot pattern of the compound vowel is created by the combination of the horizontal vowel and the vertical vowel, the dot pattern of the compound vowel is not stored in the ROM. Instead of this, a combination table of horizontal vowels and vertical vowels is created in advance as shown in FIG. 14 and is set in the ROMs 32 and 42 in order to generate a dot pattern of compound vowels.

(3)表示処理一般 第15図はメインCPU11によってサブCPU31または41に与
えられる表示(または印字)コマンドのフォーマット,
およびこのコマンドから指令された文字が表示(印字)
される様子を示すものである。表示コマンドは,コマン
ド・コードを先頭にしてその後に表示すべき文字を指定
するコード(文字コード・データ)が表示位置の順で並
んでいる。上述したようにハングル文字1字は2バイト
(16ビット)のコードによって指定され,英数字は1バ
イト(8ビット)コードによって指定される。文字コー
ド・データ中には一般にハングル文字と英数字とが混在
している。しかもハングル文字コードと英数字コードと
はバイト数が異なる。したがって,サブCPU31または41
は表示コマンドを受取ったときにハングル文字と英数字
とをまず区別しなければならない。
(3) General display processing Fig. 15 shows the format of the display (or print) command given to the sub CPU 31 or 41 by the main CPU 11.
And the characters instructed from this command are displayed (printed)
This is what is done. In the display command, a code (character code data) that specifies the character to be displayed after the command code is arranged in the order of the display position. As described above, one Hangul character is designated by a 2-byte (16-bit) code, and alphanumeric characters are designated by a 1-byte (8-bit) code. Generally, Hangul characters and alphanumeric characters are mixed in the character code data. Moreover, the number of bytes is different between the Hangul character code and the alphanumeric code. Therefore, the sub CPU 31 or 41
Must first distinguish between Hangul and alphanumeric characters when it receives a display command.

表示コマンドはメインCPU11から送られてきたときに
サブCPU31または41に接続されたRAM33もしくは43または
他の適当なバッファに一時的にストアされる。このスト
ア場所を指定するためにアドレス・ポインタが用いら
れ,アドレス・ポインタは1バイト分の場所を1単位と
して指定する。説明の簡略化のために,第15図の中段に
示すように表示コマンド中の文字コード・データの先頭
の1バイト分のデータのストア場所のアドレス・ポイン
トを0,次の1バイト分のデータのストア場所を1,という
ようにアドレス・ポイントとして1バイト分のストア場
所に連続番号が付けられているものとする。
When the display command is sent from the main CPU 11, it is temporarily stored in the RAM 33 or 43 connected to the sub CPU 31 or 41 or another suitable buffer. An address pointer is used for designating this store location, and the address pointer designates the location of 1 byte as one unit. For simplification of explanation, as shown in the middle part of FIG. 15, the address point of the storage location of the first 1 byte of the character code data in the display command is 0, and the next 1 byte of data is stored. It is assumed that 1 byte of store locations are consecutively numbered as address points, such as 1.

第22図はサブCPU31または41によって実行される表示
コマンドにおけるハングル文字と英数字の判別処理を示
している。
FIG. 22 shows a process of discriminating Hangul characters from alphanumeric characters in a display command executed by the sub CPU 31 or 41.

アドレス・ポインタがまず初期化され,先頭のストア
場所のアドレス・ポイント(すなわち0)を示す値に設
定される(ステップ101)。このアドレス・ポインタの
示すポイントから2バイト分のコード・データの最上位
ビットが0か1かがチェックされる(ステップ102)。
第5図および第6図を参照して説明したように最上位ビ
ットは区分コードであり,この区分コードが1ならばそ
れを含む2バイトのコード・データはハングル文字を示
すものであり,0の場合にはそれを含む1バイトのコード
・データは英数字を示すものである。
The address pointer is first initialized and set to a value indicating the address point (ie 0) of the first store location (step 101). From the point indicated by this address pointer, it is checked whether the most significant bit of 2-byte code data is 0 or 1 (step 102).
As described with reference to FIG. 5 and FIG. 6, the most significant bit is the partition code, and if this partition code is 1, the 2-byte code data including it is the Hangul character, 0 In the case of, the 1-byte code data including it indicates alphanumeric characters.

最上位ビット=1の場合にはハングル文字コードであ
ると判断して,このコードがとりうるコード範囲$8420
〜$CEBFの間にあるかどうかがチェックされる(ステッ
プ104,105)。この範囲内のものであれば,ハングル文
字コードであると判断してその旨をRAM33または43の所
定のエリアにストアし(ステップ106),上記範囲外で
あれば未定義のコードである旨を同じようにRAMにスト
アする(ステップ107)。この後,アドレス・ポインタ
に+2してステップ102に戻り,同じような処理が繰返
される。
If the most significant bit is 1, it is determined to be a Hangul character code, and the code range that this code can take is $ 8420.
It is checked whether it is between ~ $ CEBF (steps 104, 105). If it is within this range, it is determined that it is a Hangul character code and that fact is stored in a predetermined area of RAM 33 or 43 (step 106). If it is outside the above range, it is determined that it is an undefined code. The same is stored in RAM (step 107). After this, the address pointer is incremented by +2, the process returns to step 102, and similar processing is repeated.

最上位ビットが0の場合には英数字コードであると判
断してその旨をRAMにストアし(ステップ109),アドレ
ス・ポインタに+1して(ステップ110),ステップ102
に戻る。
If the most significant bit is 0, it is determined to be an alphanumeric code and that fact is stored in RAM (step 109), the address pointer is incremented by 1 (step 110), and step 102 is entered.
Return to

上記の処理の繰返しによって表示コマンド中のすべて
の文字コード・データについての解析が終了すれば(ス
テップ111),この判定処理は終る。
When the analysis of all the character code data in the display command is completed by repeating the above processing (step 111), this determination processing ends.

この解析の結果に基づいて次に各コードによって表わ
されるドット・パターンの生成処理に進み,第15図の最
下段に示されるようなハングル文字と英数字との組合せ
が表示器3または4に表示されることになる。
Based on the result of this analysis, the process of generating the dot pattern represented by each code is proceeded to, and the combination of Hangul characters and alphanumeric characters as shown in the bottom of FIG. 15 is displayed on the display 3 or 4. Will be done.

英数字は指定された1文字を指定された位置の1表示
区画35に表示すればよいので,従来から知られたやり方
で行なうことができる。もちろん英数字のドット・パタ
ーンもROM32または42にストアされている。
It is sufficient to display one designated alphanumeric character in one display section 35 at a designated position, so that it can be performed in a conventionally known manner. Of course, alphanumeric dot patterns are also stored in ROM 32 or 42.

ハングル文字のドット・パターン生成および表示処理
はやや複雑であり,その処理手順の一部が第23図に示さ
れている。この処理はサブCPU31または41によって実行
される。
The dot pattern generation and display process for Hangul characters is rather complicated, and a part of the process procedure is shown in FIG. This processing is executed by the sub CPU 31 or 41.

上記の解析処理によってハングル文字コードであると
判定された2バイト(16ビット)分の文字コードをバッ
ファ等に読出し,これを区分コード(1ビット),子音
コード(5ビット),母音コード(5ビット)およびパ
ッチム・コード(5ビット)分解する(ステップ12
1)。この分解処理の様子が第16図上段および中段に示
されている。2バイトのハングル文字コードが16進数表
現で$843Fの場合には,子音コードは$01,母音コード
は$01,パッチム・コードは$1Fであることが分る。
A 2-byte (16-bit) character code determined to be a Hangul character code by the above analysis process is read into a buffer or the like, and this is read as a classification code (1 bit), consonant code (5 bits), vowel code (5 (Bit 12) and patchum code (5 bits) decomposition (step 12)
1). The state of this decomposition process is shown in the upper and middle sections of FIG. If the 2-byte Hangul character code is $ 843F in hexadecimal notation, the consonant code is $ 01, the vowel code is $ 01, and the patchum code is $ 1F.

次にパッチム・コードの解読によってパッチムが有か
無かが判定される(ステップ122)。パッチム・コード
のとりうる範囲は第9図に示したように$01〜$0F,$1
2,$14〜$1Eであるのでこの範囲内のものかどうかの検
査を行なえばよい。コード$1Fは上記のとりうる範囲内
には無いからパッチム無しと判定される。
Next, by decoding the patch code, it is determined whether or not there is a patch (step 122). The possible range of the patch code is $ 01 to $ 0F, $ 1 as shown in Fig. 9.
Since it is 2, $ 14 to $ 1E, it is sufficient to inspect whether it is within this range. Since the code $ 1F is not within the above range, it is determined that there is no patch.

パッチム無しの場合には,第11図を参照して,表示さ
れるパターン類型はパターン1,4または7であり,これ
らは母音の種類によって分類される。したがって,母音
コードが示す母音の種類が検査され(ステップ123),
母音コードが垂直母音であれば表示パターン1の生成処
理に(ステップ124),水平母音であれば表示パターン
4の生成処理に(ステップ125),複々合母音であれば
表示パターン7の生成処理に(ステップ126)それぞれ
進む。
In the case of no patchum, referring to FIG. 11, the displayed pattern types are patterns 1, 4 or 7 and these are classified by the type of vowel. Therefore, the type of vowel indicated by the vowel code is checked (step 123),
If the vowel code is a vertical vowel, the display pattern 1 is generated (step 124); if it is a horizontal vowel, the display pattern 4 is generated (step 125); if it is a compound vowel, the display pattern 7 is generated. (Step 126).

第16図に示す例において母音コ9ード$01は垂直母音
であるから,表示パターン1の表示処理(ステップ12
4)が行なわれる。この処理は最も簡単である。表示パ
ネル34内の2つの表示区画35が用いられ,第1番目の表
示区画には子音コードによって示されるドット・パター
ンが,第2番目の表示区画には母音コードによって指定
される2種類のドット・パターンのうちパターンVV1
それぞれ表示される。子音コード$01,母音コード$01
の場合の表示例が第16図の下段に示されている。
In the example shown in FIG. 16, since the vowel code 9 is a vertical vowel, the display processing of the display pattern 1 (step 12
4) is performed. This process is the simplest. Two display sections 35 in the display panel 34 are used. The first display section has a dot pattern indicated by a consonant code, and the second display section has two types of dots specified by a vowel code. • Of the patterns, pattern VV 1 is displayed. Consonant code $ 01, Vowel code $ 01
A display example in the case of is shown in the lower part of FIG.

表示パターン4は2つのパターンに分けられる。それ
は上子音CH1と水平母音VH1との組合せ(これをパターン
4−1という),および上子音CH1と水平母音VH2との組
合せ(これをパターン4−2という)である。これらの
2つの9表示パターンが第17図に示されている。
The display pattern 4 is divided into two patterns. It is a combination of the upper consonant CH 1 and the horizontal vowel VH 1 (this is called pattern 4-1), and a combination of the upper consonant CH 1 and the horizontal vowel VH 2 (this is called pattern 4-2). These two nine display patterns are shown in FIG.

上子音CH1の縦ビット数は,第13図からも分るように,
3または4である。これに対して水平母音VH1の縦ビット
数は3または1である。したがって,上子音CH1と水平
母音VH1のいかなる組合せにおいてもそれらの縦ビット
数の合計は表示区画35の縦ビット数である7を超えるこ
とはなく,パターン4となるすべてのハングル文字は原
則的に表示パターン4−1で表示可能である。
The vertical bit number of the upper consonant CH 1 is, as can be seen from FIG. 13,
3 or 4. On the other hand, the horizontal vowel VH 1 has 3 or 1 vertical bits. Therefore, in any combination of the upper consonant CH 1 and the horizontal vowel VH 1 , the total vertical bit number does not exceed 7 which is the vertical bit number of the display section 35, and all Hangul characters in pattern 4 are basically The display pattern 4-1 can be displayed.

しかしながら,上子音コード$04,$0Cまたは$0Eの
字母と水平母音コード$07または$08の字母との組合せ
においては,ドット・パターンCH1とVH1との合成によっ
て生成された文字が非常に見づらくなる。そこで水平母
音のドット・パターンVH1に代えて縦ビット数が2であ
るドット・パターンVH2が用いられる。そして,上半部
の上子音ドット・パターンCH1と下半部の水平母音ドッ
ト・パターンVH2との間に1ドット分のスペースが置か
れる。これが表示パターン4−2である。
However, in the combination of the upper consonant code $ 04, $ 0C or $ 0E and the horizontal vowel code $ 07 or $ 08, the character generated by combining dot pattern CH 1 and VH 1 is very It becomes hard to see. Therefore, instead of the dot pattern VH 1 for horizontal vowels, the dot pattern VH 2 having a vertical bit number of 2 is used. Then, one dot space is placed between the upper consonant dot pattern CH 1 of the upper half and the horizontal vowel dot pattern VH 2 of the lower half. This is the display pattern 4-2.

したがってステップ125の表示パターン4の生成処理
ではまず,与えられた文字コードにおける上子音と水平
母音との組合せが上述したパターン4−2となるべき特
定のものかどうかが判定される。上記特定のものでなけ
ればパターン4−1にしたがって,特定のものであれば
パターン4−2にしたがってそれぞれ1つの表示区画に
表示する。表示パターン4−2のドット・パターンが生
成される様子が第18図に示されている。
Therefore, in the generation process of the display pattern 4 in step 125, first, it is determined whether or not the combination of the upper consonant and the horizontal vowel in the given character code is the specific one that should be the pattern 4-2 described above. If it is not the specific one, it is displayed in one display section according to pattern 4-1 and if it is the specific one, it is displayed in one display section according to pattern 4-2. The manner in which the dot pattern of display pattern 4-2 is generated is shown in FIG.

このパターン4の生成処理の手法は,後に示すパター
ン6,7,8および9の生成処理において利用される。
The method of the generation processing of pattern 4 is used in the generation processing of patterns 6, 7, 8 and 9 described later.

ステップ126における表示パターン7の生成アルゴリ
ズムの詳細が第24図に示されている。またこのアルゴリ
ズムにしたがって行なわれる複々合母音を含むハングル
文字の生成過程の一例が第19図に示されている。これら
の図を参照して,まず複々合母音を水平母音と垂直母音
とに分解する(ステップ131)。上述したように複々合
母音のドット・パターンはあらかじめ作成されていず,
その代わりに複々合母音を構成する水平母音と垂直母音
との組合せテーブル(第14図参照)がROM32または42に
ストアされている。この組合せテーブルを参照して,指
定された複々合母音を構成する水平母音(VH1またはV
H2)のコードと垂直母音(VV1)のコードとをみつけ出
す。第19図の例では,コード$0Fの複々合母音が指定さ
れているから,これはコード$05の水平母音とコード$
01の垂直母音とから構成することができることが分る。
The details of the algorithm for generating the display pattern 7 in step 126 are shown in FIG. FIG. 19 shows an example of the process of generating Hangul characters containing compound vowels according to this algorithm. Referring to these figures, the compound vowels are first decomposed into horizontal vowels and vertical vowels (step 131). As mentioned above, the dot pattern of compound vowels is not created in advance,
Instead, a combination table (see FIG. 14) of horizontal vowels and vertical vowels that form a compound vowel is stored in the ROM 32 or 42. With reference to this combination table, the horizontal vowels (VH 1 or V
Find the chord of H 2 ) and the chord of the vertical vowel (VV 1 ). In the example of FIG. 19, the compound vowel of code $ 0F is specified, so this is the horizontal vowel of code $ 05 and the code $$.
It turns out that it can consist of 01 vertical vowels.

表示パターン7のハングル文字は表示パネル34の2つ
の表示区画35を用いて表示される。次に,子音コードに
よって指定された上子音CH1のドット・パターンと上記
の処理で検索された水平母音(VH1またはVH2)とが上述
した表示パターン4の作成手法で合成され、第1番目の
表示区画に表示される(ステップ132)。第19図の例で
はコード$01の上子音とコード$05の水平母音とが組合
されている。続いて上記処理で検索された垂直母音(VV
1)のドット・パターンが第2番目の表示区画に表示さ
れる(ステップ133)。
The Hangul characters of the display pattern 7 are displayed using the two display sections 35 of the display panel 34. Next, the dot pattern of the upper consonant CH 1 designated by the consonant code and the horizontal vowel (VH 1 or VH 2 ) retrieved by the above processing are synthesized by the above-described method of creating the display pattern 4, and the first pattern is generated. It is displayed in the second display section (step 132). In the example of FIG. 19, the upper consonant of code $ 01 and the horizontal vowel of code $ 05 are combined. Then, the vertical vowels (VV
The dot pattern of 1 ) is displayed in the second display section (step 133).

第23図ステップ122でパッチム有と判断されたときに
は第25図に示す処理に進む。ここでもまず母音コードが
チェックされ,垂直母音か,水平母音かまたは複々合母
音かが判断される(ステップ141)。
When it is determined in step 122 in FIG. 23 that the patch is present, the process proceeds to the process shown in FIG. Here again, the vowel code is first checked to determine whether it is a vertical vowel, a horizontal vowel, or a compound vowel (step 141).

垂直母音の場合には第11図の分類テーブルからも分る
ように表示パターン2または3となる。表示パターン2
は1つのハングル文字を2つの表示区画で表示するもの
であり,表示パターン3は3つの表示区画を用いて表示
する。できるだけ少ない表示区画で1つのハングル文字
を表示することが好ましいので,まずパターン2で表示
可能かどうかがチェックされる(ステップ142)。表示
パターン2,3のいずれにおいても第1番目の表示区画に
は子音コードによって指定された側子音が表示される。
したがって,ハングル文字を構成する垂直母音(縦ドッ
ト数の少ない母音VV2)とパッチムCP1の組合せが1表示
区画におさまるかどうかがチェックの対象となる。
In the case of a vertical vowel, the display pattern is 2 or 3 as can be seen from the classification table of FIG. Display pattern 2
Displays one Hangul character in two display sections, and the display pattern 3 is displayed using three display sections. Since it is preferable to display one Hangul character in as few display sections as possible, it is first checked whether pattern 2 can be displayed (step 142). In each of the display patterns 2 and 3, the side consonant designated by the consonant code is displayed in the first display section.
Therefore, whether or not the combination of vertical vowels (vowels VV 2 with a small number of vertical dots) and patchum CP 1 that make up Hangul characters fit in one display area is the target of the check.

第13図を参照して,垂直母音VV2の縦ドット数は3ま
たは4であり、パッチムCP1の縦ドット数は3,4または5
である。したがって縦ドット数が7の1表示区画に表示
可能な組合せは,縦ドット数3の垂直母音VV2と縦ドッ
ト数3のパッチムCP1,縦ドット数3のVV2と縦ドット数
4のCP1および縦ドット数4のVV2と縦ドット数3のCP1
である。これらの場合には表示パターン2のドット・パ
ターンの生成が行なわれる(ステップ145)。この処理
では,第2番目の表示区画に母音コードによって指定さ
れた垂直母音VV2のドット・パターンとパッチム・コー
ドによって指定されたパッチムCP1のドット・パターン
とが合成されて表示される。
Referring to FIG. 13, the vertical vowel VV 2 has 3 or 4 vertical dots, and the patchum CP 1 has 3, 4 or 5 vertical dots.
Is. Therefore, combinations that can be displayed in one display section with 7 vertical dots are vertical vowel VV 2 with 3 vertical dots and patchum CP 1 with 3 vertical dots, VV 2 with 3 vertical dots and CP with 4 vertical dots. 1 and VV 2 with 4 vertical dots and CP 1 with 3 vertical dots
Is. In these cases, the dot pattern of display pattern 2 is generated (step 145). In this process, the dot pattern of the vertical vowel VV 2 specified by the vowel code and the dot pattern of the patchum CP 1 specified by the patchum code are combined and displayed in the second display section.

上記の組合せ以外の場合には表示パターン3の生成処
理が行なわれる(ステップ146)。この処理では,第2
番目の表示区画に母音コードによって指定される垂直母
音ドット・パターンのうち縦ドット数の多いVV1のパタ
ーンが表示され,第3番目の表示区画に指定されたパッ
チムCP1のドット・パターンが表示される。
In the case of combinations other than the above combinations, the display pattern 3 is generated (step 146). In this process, the second
The VV 1 pattern with the largest number of vertical dots among the vertical vowel dot patterns specified by the vowel code is displayed in the 3rd display area, and the patch pattern CP 1 dot pattern specified in the 3rd display area is displayed. To be done.

母音の種類の判定において水平母音であることが分っ
た場合には,ハングル文字が表示パターン5で表わすこ
とができるかどうかが検査される(ステップ143)。表
示パターン5は子音,母音およびパッチムの組合せを1
表示区画に収めるものである。表示パターン5の組合せ
が可能であれば指定されたハングル文字をこのパターン
5で表示し,不可能な場合には表示パターン6が使用さ
れる。表示パターン6は,第1番目の表示区画に子音と
母音の組合せを,第2番目の表示区画にパッチムをそれ
ぞれ表示することによって,2表示区画で1ハングル文字
を表現する。
If the vowel type is determined to be a horizontal vowel, it is checked whether the Hangul characters can be represented by the display pattern 5 (step 143). Display pattern 5 is 1 combination of consonant, vowel and patchum.
It fits in the display area. If the combination of the display patterns 5 is possible, the designated Hangul characters are displayed in this pattern 5, and if not possible, the display pattern 6 is used. The display pattern 6 displays a combination of consonants and vowels in the first display section and a patchum in the second display section to express one Hangul character in the two display sections.

表示パターン5は,縦ドット数の異なる字母の組合せ
に応じて第20図に示すように表示パターン5−1,5−2
および5−3に分類される。表示パターン5−1は,縦
ドット数2の子音ドット・パターンCH2と縦ドット数2
の母音ドット・パターンVH3と縦ドット数3のパッチム
・ドット・パターンCP1を縦に並べることによって構成
される。表示パターン5−2は縦ビット数3のCH1と縦
ドット数2のVH4と縦ドット数2のCP2とによって,パタ
ーン5−3は縦ドット数3のCH1と縦ドット数1のVH3
縦ドット数3のCP1とによってそれぞれ構成される。最
上段の子音の縦ドット数が多い方がより品位の高いハン
グル文字の表現が可能なので表示パターン5−1よりも
パターン5−2の方が優先的に採用される。これらの表
示パターン5−1〜5−3を構成する子音,母音および
パッチムの字母を第21図に示す。
The display pattern 5 is the display patterns 5-1 and 5-2 as shown in FIG.
And 5-3. The display pattern 5-1 is a consonant dot pattern CH 2 with 2 vertical dots and 2 vertical dots.
The vowel dot pattern VH 3 and the patchum dot pattern CP 1 having three vertical dots are vertically arranged. Display pattern 5-2 is CH 1 with vertical bit number 3, VH 4 with vertical dot number 2 and CP 2 with vertical dot number 2, and pattern 5-3 is CH 1 with vertical dot number 3 and vertical dot number 1 It is composed of VH 3 and CP 1 having three vertical dots. Since the higher the number of vertical dots in the uppermost consonant is, the higher the quality of Hangul characters can be expressed, the pattern 5-2 is preferentially adopted over the display pattern 5-1. FIG. 21 shows the consonants, vowels, and patch vowels constituting these display patterns 5-1 to 5-3.

コードによって指定されたハングル文字がパターン5
−1〜5−3のいずれかで表現できるかどうかをチェッ
クするにあたって,まず母音コードがチェックされる。
母音コードがドット・パターンVH4をもつもの($05,$
06,$07,$08)であれば表示パターン5−2で表現でき
る可能性がある。この場合には,次に子音コードが縦ド
ット数3の上子音ドット・パターンCH1をもつ字母を示
していること(CH1の中には縦ドット数が4のものもあ
る),およびパッチム・コードが縦ドット数2のドット
・パターンCP2をもつ字母を示していることを条件にパ
ターン5−2が選択される。母音コードがドット・パタ
ーンVH4をもつものを示してはいるが(この母音コード
はドット・パターンVH3をももっている),上記の子音
とパッチムの条件を満たさない場合には,次に子音コー
ドが縦ドット数2のドット・パターンCH2をもつもので
あり(縦ドット数2のCH2は縦ドット数3のCH1に含まれ
る),かつパッチム・コードが縦ドット数3のドット・
パターンCP1をもつものであることを条件に表示パター
ン5−1で表示可能と判定する。母音コードがドット・
パターンVH4をもつものであっても子音コードまたはパ
ッチム・コードが表示パターン5−1または5−2の条
件を満たさない場合には表示パターン6で表現すると判
定する。
Hangul characters specified by the code are pattern 5
In checking whether it can be expressed by any of -1 to 5-3, the vowel code is first checked.
Vowel chords with dot pattern VH 4 ($ 05, $
If it is 06, $ 07, $ 08), there is a possibility that it can be expressed by display pattern 5-2. In this case, the consonant code then indicates a letter having an upper consonant dot pattern CH 1 with 3 vertical dots (some CH 1 have 4 vertical dots), and patch -Pattern 5-2 is selected on the condition that the code indicates a character having a dot pattern CP 2 having two vertical dots. Although a vowel code has a dot pattern VH 4 (this vowel code has a dot pattern VH 3 ), if the above consonant and patchum conditions are not met, the next consonant is The code has a dot pattern CH 2 with 2 vertical dots (CH 2 with 2 vertical dots is included in CH 1 with 3 vertical dots), and the patch code is a dot with 3 vertical dots.
It is determined that the display pattern 5-1 can be displayed on the condition that the pattern CP 1 is included. The vowel chord is a dot
Even if it has the pattern VH 4 , if the consonant chord or the patchum chord does not satisfy the conditions of the display pattern 5-1 or 5-2, it is judged that the display pattern 6 is used.

残った表示パターン5−3で表現可能かどうかをみる
ために,母音コードが縦ドット数1のドット・パターン
VH3をもつもの(これは母音コード$09のみ)かどうか
をチェックし,そうであれば子音コードが縦ドット数3
のドット・パターンCH1をもつものであり,かつパッチ
ム・コードが縦ドット数3のドット・パターンCP1をも
つものであることを条件に表示パターン5−3を採用す
る。それ以外の場合には表示パターン6となる。
To check whether the remaining display pattern 5-3 can be expressed, the vowel code is a dot pattern with 1 vertical dot.
Check if it has VH 3 (this is only vowel code $ 09), and if so, the consonant code is 3 vertical dots
The display pattern 5-3 is adopted on condition that the patch pattern has a dot pattern CH 1 of 1 and the patchum code has a dot pattern CP 1 of 3 vertical dots. In other cases, the display pattern 6 is displayed.

表示パターン5−1,5−2または5−3で表示可能と
判定されれば,そのパターンに応じたドット・パターン
がROM32または42から読出され,これらが重ね合わされ
ることによって1表示区画に指定されたハングル文字が
表示される(ステップ147)。
If it is determined that the display pattern 5-1, 5-2 or 5-3 can be displayed, the dot pattern corresponding to that pattern is read from the ROM 32 or 42, and these are overlapped and designated as one display section. The displayed Hangul characters are displayed (step 147).

それ以外の場合には表示パターン6の生成処理に進む
(ステップ148)。この表示パターン6の表示処理にお
いて第1番目の表示区画に9は,与えられた子音コード
および母音コードのドット・パターンCH1およびVH1また
はVH2が,第17図に示した表示パターン4と同じ手法に
したがって表示され,第2番目の表示区画にはパッチム
・コードによって指定された表示パターンCP1が表示さ
れる。
In other cases, the process proceeds to the process of generating the display pattern 6 (step 148). In the display processing of this display pattern 6, the dot pattern CH 1 and VH 1 or VH 2 of the given consonant code and vowel code is displayed in the first display section 9 as the display pattern 4 shown in FIG. Display is performed according to the same method, and the display pattern CP 1 specified by the patch code is displayed in the second display section.

ステップ141の母音コードの分析において複々合母音
と判定されたときには,表示パターン8で表現できるか
どうかが判定される(ステップ144)。表示パターン8
は2表示区画で1ハングル文字を表わすものである。表
示パターン8で表現できなければ,1ハングル文字を3表
示区画を用いて表現する表示パターン9が採用される。
When it is judged in the analysis of the vowel code in step 141 that there are multiple compound vowels, it is judged whether or not it can be expressed by the display pattern 8 (step 144). Display pattern 8
Represents one Hangul character in two display sections. If the display pattern 8 cannot be expressed, the display pattern 9 that expresses one Hangul character using three display sections is adopted.

表示パターン8で表現できるかどうかの判定は,表示
パターン7の表示処理の場合と同じように,第14図に示
すテーブルを用いて複々合母音を水平母音(VH1またはV
H2)と垂直母音(VV1またはVV2)とに分解する。次に,
分解した垂直母音と与えられたパッチムとが1表示区画
で表現できるものであるかどうかを,上述した表示パタ
ーン2で表現可能かどうかの処理と同じ手法を用いて判
定する。表示可能であればパターン8が採用され,不可
能であればパターン9となる。
The determination of whether expressed in display pattern 8, as in the case of the display processing of the display patterns 7, the horizontal vowels multi people if vowel using the table shown in FIG. 14 (VH 1 or V
H 2 ) and vertical vowels (VV 1 or VV 2 ). next,
Whether or not the decomposed vertical vowel and the given patchum can be expressed in one display section is determined using the same method as the above-described processing for determining whether or not the display pattern 2 can be expressed. If it can be displayed, the pattern 8 is adopted, and if it cannot be displayed, the pattern 9 is used.

表示パターン8で表示可能ということになれば,まず
表示パターン4の表示処理で用いた手法によって,子音
コード(CH1)と上記の分解した水平母音コード(VH1
たはVH2)の各ドット・パターンを上下に重ねて第1番
目の表示区画に表示し,次に第2番目の表示区画には分
解された垂直母音と指定されたパッチムのドット・パタ
ーンを重ねて表示する(ステップ149)。表示パターン
9を表示するときには,第1番目の表示区画については
上記パターン8と同じ処理を,第2および第3番目の表
示区画についてはパターン3のと同じ処理が用いられる
(ステップ150)。
If the display pattern 8 can be displayed, the dots used for the consonant code (CH 1 ) and the above-described decomposed horizontal vowel code (VH 1 or VH 2 ) are first determined by the method used in the display process of display pattern 4. The patterns are vertically superimposed and displayed in the first display section, and then the decomposed vertical vowels and the dot pattern of the designated patchum are displayed in the second display section (step 149). When the display pattern 9 is displayed, the same processing as the pattern 8 is used for the first display section and the same processing as the pattern 3 is used for the second and third display sections (step 150).

(4)分離表示制御コードと表示処理 第26図は受信した表示コマンドの文字コード・データ
の一部とこの文字コード・データに基づいて表示パネル
34に表示された内容とを示している。8ビットからなる
英数字コードによって指定される英数字は必ず1つの表
示区画35に表示される。表示パネル34の1表示区画35を
1桁と呼ぶことにしてあるので,これに対応して文字コ
ード・データにおいてもその8ビット分を1桁と呼ぶこ
とにする。第26図では表示コマンドは20桁から構成さ
れ,表示パネル34にも20桁分の表示区画(20個の表示区
画)35が設けられているものとする。
(4) Separate display control code and display processing Figure 26 shows a part of the character code data of the received display command and the display panel based on this character code data.
The contents displayed in 34 are shown. An alphanumeric character designated by an 8-bit alphanumeric code is always displayed in one display section 35. Since one display section 35 of the display panel 34 is called one digit, the corresponding 8 bits in the character code data will be called one digit. In FIG. 26, the display command is composed of 20 digits, and the display panel 34 is also provided with a 20-digit display section (20 display sections) 35.

第26図(1)は表示コマンド内の文字コード・データ
が英数字コードのみを含む場合を示している。上述のよ
うに1桁の英数字コードが示す1つの英数字は1表示区
画に表示されるから,20桁の英数字コードの示すすべて
の英数字が20個の表示区画35を含む表示パネル34に丁度
表示される。表示コマンド内の各文字コードの桁位置と
その文字が表示される表示パネル34上の桁位置とは一致
している。
FIG. 26 (1) shows a case where the character code data in the display command includes only an alphanumeric code. As described above, since one alphanumeric character indicated by the one-digit alphanumeric code is displayed in one display area, all the alphanumeric characters indicated by the 20-digit alphanumeric code include the display panel 34 including 20 display areas 35. Will be displayed exactly. The digit position of each character code in the display command matches the digit position on the display panel 34 where the character is displayed.

第26図(2)は表示コマンド内の文字コード・データ
がハングル文字コードのみからなり,しかもこのハング
ル文字コードが1文字を1表示区画で表示可能な(すな
わち第10図パターン4の)ハングル文字を指定している
場合を示している。ハングル文字コードは16ビットすな
わち2桁を必要とする。2桁の文字コードが表わすハン
グル文字が1桁の表示区画35に表示されるので,20桁の
文字コード・データによって表わされるすべてのハング
ル文字が10桁の表示区画に表示され,10桁の表示区画が
余ってしまう。表示コマンド内の各文字コードの桁位置
とその文字が表示される表示パネル34上の桁位置とは一
致しない。
In Fig. 26 (2), the character code data in the display command consists only of Hangul character codes, and this Hangul character code can display one character in one display section (that is, Hangul characters in Fig. 10 pattern 4). Shows the case where is specified. The Hangul character code requires 16 bits or 2 digits. Since the Hangul characters represented by the 2-digit character code are displayed in the 1-digit display area 35, all the Hangul characters represented by the 20-digit character code data are displayed in the 10-digit display area and the 10-digit display area. There is an excess of compartments. The digit position of each character code in the display command does not match the digit position on the display panel 34 where the character is displayed.

第26図(3)は表示コマンド内の文字コード・データ
がハングル文字コードのみからなり,しかもこのハング
ル文字コードが1文字を2表示区画で表示可能な(たと
えば第10図パターン1の)ハングル文字を指定している
場合を示している。2桁の文字コードが表わすハングル
文字が2桁の表示区画35に表示されるので,20桁のコマ
ンド・データによって表わされるすべてのハングル文字
が丁度20桁の表示区画に表示される。表示コマンド内の
各文字コードの桁位置とその文字が表示される表示パネ
ル34上の桁位置とは一致する。
In Fig. 26 (3), the character code data in the display command consists only of Hangul character codes, and this Hangul character code can display one character in two display areas (for example, Hangul characters in Fig. 10 pattern 1). Shows the case where is specified. Since the Hangul characters represented by the 2-digit character code are displayed in the 2-digit display area 35, all the Hangul characters represented by the 20-digit command data are displayed in the 20-digit display area. The digit position of each character code in the display command matches the digit position on the display panel 34 where the character is displayed.

第26図(4)は表示コマンド内の文字コード・データ
がハングル文字コードのみからなり,しかもこのハング
ル文字コードが1文字を表示するのに3表示区画を必要
とする(たとえば第10図パターン9の)ハングル文字を
指定している場合を示している。2桁の文字コードによ
って表わされるハングル文字が3桁分の表示区画35に表
示されるので,20桁の文字コード・データによって表わ
されるすべてのハングル文字は20桁の表示区画には表示
しきれず,表示パネル34からはみ出してしまう。表示コ
マンド内の各文字コードの桁位置とその文字が表示され
る表示パネル34上の桁位置とは一致しない。
In FIG. 26 (4), the character code data in the display command consists only of Hangul character codes, and this Hangul character code requires three display sections to display one character (for example, pattern 9 in FIG. 10). () Shows the case where the Hangul character is specified. Since the Hangul characters represented by the 2-digit character code are displayed in the 3-digit display area 35, all the Hangul characters represented by the 20-digit character code data cannot be displayed in the 20-digit display area. It protrudes from the display panel 34. The digit position of each character code in the display command does not match the digit position on the display panel 34 where the character is displayed.

第26図(5)は,表示コマンドの文字コード・データ
中に,英数字コード.2表示区画を必要とするハングル文
字コードおよび3表示区画を必要とするハングル文字コ
ードが混在している例を示している。この場合にも表示
できない文字が生じる。また,表示コマンド内の各文字
コードの桁位置とその文字が表示される表示パネル34上
の桁位置とは一致しない。
Fig. 26 (5) shows an example in which the character code data of the display command contains alphanumeric code. Hangul character code that requires 2 display areas and Hangul character code that requires 3 display areas are mixed. Shows. In this case, too, some characters cannot be displayed. Further, the digit position of each character code in the display command does not match the digit position on the display panel 34 where the character is displayed.

第26図(6)は,表示コマンドの文字コード・データ
中に英数字コードと1表示区画で表示できるハングル文
字のコードとが混在している例を示すもので,すべての
文字を表示しても1またはいくつかの表示区画35が余っ
てしまう。表示コマンド内の各文字コードの桁位置とそ
の文字が表示される表示パネル34上の桁位置とは一致し
ない。
Figure 26 (6) shows an example in which the alphanumeric code and the Hangul character code that can be displayed in one display area are mixed in the character code data of the display command, and all characters are displayed. Also, one or some display areas 35 are left over. The digit position of each character code in the display command does not match the digit position on the display panel 34 where the character is displayed.

第26図(7)は,表示コマンドの文字コード・データ
中に英数字コードと表示のために3表示区画を必要とす
るハングル文字のコードとが混在している例を示し,こ
れは第26図(5)の場合と同じ結果になる。
FIG. 26 (7) shows an example in which the alphanumeric code and the Hangul character code that requires three display areas for display are mixed in the character code data of the display command. The result is the same as in the case of FIG.

第26図(8)(9)については後述する。 26 (8) and (9) will be described later.

以上をまとめると,ハングル文字を含むデータを表示
する場合には,表示コマンドによって与えられたすべて
の文字が表示パネル34内に表示しきれない場合がある。
表示コマンドの文字コード・データと表示区画35の桁数
が同じ20の上記の場合のみならず,表示コマンドの文字
コード・データが表示区画35の桁数よりも少し少なくて
も同じように表示しきれない場合が起こりうる。
To summarize the above, when displaying data including Hangul characters, all the characters given by the display command may not be displayed in the display panel 34.
Not only in the above case where the character code data of the display command and the number of digits in the display section 35 are the same 20, but the same is displayed even if the character code data of the display command is slightly less than the number of digits in the display section 35. There may be cases where it cannot be completed.

逆に,表示コマンドによって与えられたすべての文字
を表示しても表示区画が余ってしまう場合が起こりう
る。
On the contrary, it is possible that the display area is left over even if all the characters given by the display command are displayed.

表示コマンド中のすべての文字を表示パネルに表示で
きないとすると次のような問題が生じる。表示器3また
は4に表示すべきデータには絶対的に表示されることが
必要なものが含まれている。このように表示が絶対のデ
ータが表示できなかったとすると表示器3,4の存在が無
意味となる。たとえば表示器3,4に商品名とその価格を
表示するような場合に,商品名の一部または全部は表示
できなくても,ECR1の正確な操作のためには価格は絶対
的に表示しなければならない。
If all the characters in the display command cannot be displayed on the display panel, the following problems occur. The data to be displayed on the display unit 3 or 4 includes data that needs to be displayed absolutely. In this way, if the absolute data cannot be displayed, the existence of the indicators 3 and 4 is meaningless. For example, when displaying the product name and its price on the displays 3 and 4, even if some or all of the product name cannot be displayed, the price must be displayed absolutely for the correct operation of the ECR1. There must be.

このようば問題を解決するために表示コマンドの文字
コード・データ中に分離表示用の制御コードすなわちUS
(unit separator)コードが導入されている。この制御
コードUSは,USコードのある桁以降の文字コードを表示
パネル34上の所定の表示区画に優先して表示すべきこと
を表わしている。
In order to solve this problem, the control code for separate display, ie US
(Unit separator) code has been introduced. This control code US indicates that the character code after a certain digit of the US code should be displayed preferentially in a predetermined display section on the display panel 34.

第27図(A)は制御コードUSを含む表示コマンドのコ
ード・データの例を示している。USコードは第5桁目に
入っている。第20桁目〜第6桁目まではハングル文字
(および英数字)のコードから構成され,第4桁目〜第
1桁目まではハングル文字と英数字(場合によっては英
数字のみ,またはハングル文字のみ)のコードから構成
されている。このような文字コード・データは次のよう
なCPU31または41の処理によって表示器3または4に表
示される。
FIG. 27A shows an example of the code data of the display command including the control code US. The US code is in the fifth digit. The 20th to 6th digits consist of Hangul characters (and alphanumeric) codes, and the 4th to 1st digits are Hangul characters and alphanumeric characters (in some cases, only alphanumeric characters, or Hangul characters). Character only) is composed of the code. Such character code data is displayed on the display 3 or 4 by the processing of the CPU 31 or 41 as follows.

第27図(B)を参照して,まず第20桁目からUSコード
の直前の第6桁目までの文字コードを上述の「(3)表
示処理一般」で述べた手順によって解析し,これらの文
字コードによって指定された文字を表わすドット・パタ
ーンを展開し,各表示区画35に対応する第1のバッファ
にストアする(第1ステップ)。第27図(B)における
第1ステップに対応する図面は,上記のドット・パター
ンの展開によって第20桁目から第3桁目までの表示区画
35が専有されたことを示している。コードSPはスペース
・コードであり,ここには文字は表示されない。
Referring to FIG. 27 (B), first, character codes from the 20th digit to the 6th digit immediately before the US code are analyzed by the procedure described in "(3) Display processing general" above, The dot pattern representing the character designated by the character code of is developed and stored in the first buffer corresponding to each display section 35 (first step). The drawing corresponding to the first step in FIG. 27 (B) is the display section from the 20th digit to the 3rd digit due to the development of the above dot pattern.
It shows that 35 were occupied. Code SP is a space code and no characters are displayed here.

次にUSコード以降の第4桁目から第1桁目までの文字
コードを同じように解析し,これらの文字コードによっ
て指定された文字を表わすドット・パターンを展開し,
第2のバッファにストアする(第2ステップ)。
Next, the character codes from the 4th digit to the 1st digit after the US code are analyzed in the same way, and the dot pattern representing the character designated by these character codes is expanded,
Store in the second buffer (second step).

そして,第2ステップにおいてUSコード以降の文字が
4桁分の表示区画を要することが分るので,これらのド
ット・パターンを第1ステップで展開したドット・パタ
ーンの第4桁目〜第1桁目の表示区画に表示するものと
して第1のバッファに優先してストアする(第3ステッ
プ)。これによって,第1ステップで展開された第3桁
目と第4桁目のドット・パターンは消去される。
Then, in the second step, it is found that the characters after the US code require a display section for four digits. Therefore, the fourth digit to the first digit of the dot pattern expanded from these dot patterns in the first step. The first buffer is preferentially stored as the one to be displayed in the eye display section (third step). As a result, the dot patterns of the third digit and the fourth digit developed in the first step are erased.

したがって最終的に第20桁目の表示区画から第5桁目
の表示区画までは第1ステップで展開されたドット・パ
ターンが,第4桁目の表示区画から第1桁目の表示区画
までは第2ステップで展開されたドット・パターンがそ
れぞれ表示される。すなわちUSコード以降の文字コード
によって表わされる文字が第1桁目〜第4桁目の表示区
画に他の文字に優先して表示されることになる。
Therefore, finally, the dot pattern developed in the first step is displayed from the 20th digit display section to the 5th digit display section, and from the 4th digit display section to the 1st digit display section. The dot patterns developed in the second step are displayed. That is, the character represented by the character code after the US code is displayed in priority to the other characters in the display section of the first digit to the fourth digit.

この優先表示される文字と他の表示文字とを区別する
ために,USコードの位置すなわち第5桁目にスペース・
コードSPを入れ,第5桁目の表示区画にはいかなる文字
も表示しないようにするとよい。
In order to distinguish this preferentially displayed character from other displayed characters, there is a space in the position of the US code, that is, in the fifth digit.
It is recommended that you enter the code SP so that no characters are displayed in the 5th digit display area.

上記の説明ではより分りやすくするためにドット・パ
ターン展開用の2つのバッファを用いているが,USコー
ド以降の文字コードによるドット・パターンの表示のた
めに必要な表示区画数があらかじめ分っている場合には
(たとえば第4桁目〜第1桁目が英数字である場合),U
Sコード以降の文字のドット・パターンを第1のバッフ
ァの第4桁目から展開するようにしてもよい。そうすれ
ば第2のバッファは不要となる。
In the above explanation, two buffers for dot pattern expansion are used to make it easier to understand, but the number of display sections necessary for displaying the dot pattern by the character code after the US code is known in advance. U (for example, if the fourth digit to the first digit are alphanumeric), U
The dot pattern of characters after the S code may be expanded from the fourth digit of the first buffer. Then, the second buffer becomes unnecessary.

USコード以降の文字コードによるドット・パターンの
表示のために必要な表示区画数があらかじめ分っていな
くても,その文字コードから必要な表示区画数を導き出
せば第1のバッファに直接にこれらのドット・パターン
を展開することが可能となる。
Even if the number of display sections required for displaying dot patterns with character codes after the US code is not known in advance, if the necessary number of display sections is derived from that character code, these will be directly input to the first buffer. It is possible to develop a dot pattern.

すべての文字コードをドット・パターンに展開する前
に,これらの文字コードの文字を表示するために必要な
表示区画数を算出し,この算出した値を用いて各文字を
表示すべき区画位置を決定し,その後ドット・パターン
の展開(すなわちキャラクタ・ゼネレータとしてのROM3
2,42からのドット・パターンの読出し)を行なうように
することもできる。
Before expanding all the character codes to dot patterns, calculate the number of display partitions required to display the characters of these character codes, and use the calculated value to determine the partition position where each character should be displayed. Determine, then expand the dot pattern (ie ROM3 as a character generator)
Dot pattern reading from 2,42) can also be performed.

第27図(A)の文字コード・データにおいて,第20桁
目〜第6桁目までの文字コードの示す文字を表示したと
きに専有する表示区画が15桁よりも少ない場合(第27図
(B)の第1ステップでは18桁となり15桁を超えてい
る)にも,USコード以降の第4桁目〜第1桁目までの文
字コードによって表わされる文字を所定桁の表示区画
(たとえば第4桁目)以降に表示するようにすると,優
先表示すべき文字の表示位置が一定しているので優先表
示すべき文字に特定の意味(たとえば価格)をもたせた
ときに非常に見やすい表示となる。
In the character code data of FIG. 27 (A), when the characters indicated by the character codes from the 20th digit to the 6th digit are displayed, the display area occupied by the characters is less than 15 digits (see FIG. 27 ( In the first step of B), the number is 18 digits and exceeds 15 digits). Also, the characters represented by the character codes from the 4th digit to the 1st digit after the US code are displayed in a predetermined digit display section (for example, the 1st digit). If you display it after the 4th digit), the display position of the character that should be prioritized is constant, so it will be very easy to see when the character that should be prioritized has a specific meaning (for example, price). .

第27図(B)に示す処理によると第1ステップで第3
桁目と第4桁目の表示区画に表示されるものとして展開
された文字は,USコード以降の優先文字表示のために消
去されている。たとえば,この消去された第3,4桁目の
文字が3表示区画で表示されるハングル文字の一部を構
成しているとすると,他の部分が第5桁目に残るが,こ
の第5桁目の文字は中途半端な文字となってしまう。
According to the process shown in FIG. 27 (B), the first step is the third step.
The characters expanded as displayed in the display sections of the first digit and the fourth digit are erased for the priority character display after the US code. For example, if the erased characters in the 3rd and 4th digits form part of the Hangul characters displayed in the 3 display areas, the other part remains in the 5th digit. The character in the digit becomes halfway.

このような中途半端な文字が残ってしまった例が第26
図(8)に示されている。この例ではUSコードは文字コ
ード・データ中の第16桁目にある。第18,17桁目の文字
コード$9216および第20,19桁目の文字コード$85F5に
よって指定されたハングル文字は表示のためにともに3
表示区画を要求している。したがって,USコード以降の
優先文字を第15桁目の表示区画以降に表示したときに,
第17,18桁目の表示区画には文字コード$9216によって
指定されるハングル文字が中途半端な形で残ってしま
う。
The 26th is an example of such a halfway character left.
This is shown in Figure (8). In this example, the US code is in the 16th digit of the character code data. The Hangul characters specified by the character code $ 9216 in the 18th and 17th digits and the character code $ 85F5 in the 20th and 19th digits are both 3 for display.
You are requesting a display pane. Therefore, when the priority characters after the US code are displayed in the display area after the 15th digit,
The Hangul characters specified by the character code $ 9216 remain in half-finished form in the display section of the 17th and 18th digits.

このような中途半端なハングル文字は意味不明なこと
があるので消してしまった方が見やすい。第16,17桁目
の中途半端な表示をクリアした表示例が第26図(9)に
示されている。表示コマンドは第26図(8)のものと同
じである。
Such half-finished Hangul characters can be unclear, so it is easier to see them. FIG. 26 (9) shows a display example in which the halfway display in the 16th and 17th digits is cleared. The display command is the same as that of FIG. 26 (8).

このような中途半端な文字を消去する処理のために,
第28図に示すような,表示コマンドにおける表示コード
の桁位置とこれを表示したときに専有される表示パネル
34の表示区画35の桁位置との関係を示すテーブルを作成
しておくとよい。USコード以降の優先文字を第15桁目か
ら表示することが分ると,第15桁目はこのテーブルの17
〜15桁位置に含まれているので,第17,第18桁目の文字
コードの表示は行なわないと判定することができる。
For the process of erasing such half-finished characters,
The digit position of the display code in the display command and the display panel that is used exclusively when displaying it, as shown in Fig. 28.
It is advisable to create a table showing the relationship with the digit positions of the 34 display sections 35. If we know that the priority characters after the US code will be displayed from the 15th digit, the 15th digit will be
Since it is included in the ~ 15 digit position, it can be determined that the character code of the 17th and 18th digits is not displayed.

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

第1図はECRの外観を示す斜視図,第2図はECRの電気的
構成を示すブロック図,第3図はECRにおける表示器の
表示パネルの構成を示す正面図,第4図は上記表示パネ
ルの表示区画のドット・セグメントを示す図である。 第5図(A)はハングル文字指定コードのフォーマット
を示す図,第5図(B)は同指定コードのとりうる範囲
を示す図,第6図(A)は英数字を指定するコードのフ
ォーマットを示す図,第6図(B)は同指定コードのと
りうる範囲を示す図である。 第7図は子音コードと子音字母との対応関係を示す図,
第8図は母音コードと母音字母との対応関係を示す図,
第9図はパッチム・コードとパッチム字母との対応関係
を示す図である。 第10図は表示パターンの類型を示す図であり,第11図は
これらの表示パターンの分類を母音を基準に示す図であ
る。 第12図(A)〜第12図(F)はキャラクタ・ゼネレータ
としてのROMにストアされる字母表示のためのドット・
パターンの例を示す図である。 第13図は作成されかつストアされている字母のドット・
パターンを各字母およびその指定コードごとに整理して
示す図であり,第14図は複々合母音を構成する水平母音
と垂直母音との組合せをテーブルにして示す図である。 第15図は表示コマンドのフォーマットおよびこのコマン
ドから指定された文字が表示される様子を示す図であ
る。 第16図は表示パターン1のハングル文字が指定コードを
分解することによって表示される様子を示す図である。 第17図は表示パターン4が2種類に分類できる様子を示
す図,第18図は表示パターン4のハングル文字の生成,
表示処理過程を示す図である。 第19図は,複々合母音を含む表示パターン7のハングル
文字の生成,表示処理過程を示す図である。 第20図は表示パターン5が3種類に分類できる様子を示
す図,第21図は3種類に分けられた表示パターン5を構
成する具体的な字母を整理して示す図である。 第22図は表示コマンドを受けたときにサブCPUによって
行なわれるハングル文字と英数字とを識別する処理手順
を示すフロー・チャートである。 第23図から第25図はサブCPUによって実行される各種表
示パターンのハングル文字作成,表示処理手順を示すフ
ロー・チャートである。 第26図(1)〜(9)は表示コマンド中の文字コード・
データとその表示例とを示す図である。 第27図(A)は表示分離制御コードを含む文字コード・
データを示し,第27図(B)はこのような文字コード・
データの表示処理の手順を示すものである。 第28図は表示コード・データの桁位置と表示区画上の桁
位置とを関係づけるテーブルを示す図である。 1…ECR,3,4…表示器,5…プリンタ,11…メインCPU,12…
メインCPUのROM,13…メインCPUのRAM,31,41…表示処理
用サブCPU,32,42…サブCPUのキャラクタ・ゼネレータと
して働くROM,33,43…サブCPUのRAM,34…表示パネル,35
…表示区画,36…ドット・セグメント。
Fig. 1 is a perspective view showing the appearance of the ECR, Fig. 2 is a block diagram showing the electrical structure of the ECR, Fig. 3 is a front view showing the structure of the display panel of the display in the ECR, and Fig. 4 is the above display. It is a figure which shows the dot segment of the display area of a panel. FIG. 5 (A) is a diagram showing the format of the Hangul character designation code, FIG. 5 (B) is a diagram showing the range of the same designation code, and FIG. 6 (A) is the format of the code designating alphanumeric characters. And FIG. 6 (B) are diagrams showing the range of the designated code. Figure 7 shows the correspondence between consonant chords and consonant kanji,
FIG. 8 is a diagram showing a correspondence relationship between vowel chords and vowel letters.
FIG. 9 is a diagram showing a correspondence relationship between a patchum code and a patchum character. FIG. 10 is a diagram showing types of display patterns, and FIG. 11 is a diagram showing classification of these display patterns based on vowels. FIGS. 12 (A) to 12 (F) are dot characters for character display stored in the ROM as a character generator.
It is a figure which shows the example of a pattern. Figure 13 shows the dots that have been created and stored.
FIG. 14 is a diagram showing patterns arranged for each character and its designated chord, and FIG. 14 is a table showing combinations of horizontal vowels and vertical vowels constituting a compound vowel. FIG. 15 is a diagram showing the format of a display command and how characters designated by this command are displayed. FIG. 16 is a diagram showing how the Hangul characters of display pattern 1 are displayed by decomposing the designated code. FIG. 17 shows how the display pattern 4 can be classified into two types, and FIG. 18 shows the generation of Hangul characters of the display pattern 4,
It is a figure which shows a display process. FIG. 19 is a diagram showing a process of generating and displaying Hangul characters of the display pattern 7 including compound vowels. FIG. 20 is a diagram showing that the display pattern 5 can be classified into three types, and FIG. 21 is a diagram showing the specific characters formed in the display pattern 5 divided into three types. FIG. 22 is a flow chart showing a processing procedure for distinguishing Hangul characters from alphanumeric characters performed by the sub CPU when receiving a display command. 23 to 25 are flow charts showing Hangul character creation and display processing procedures of various display patterns executed by the sub CPU. Figure 26 (1) to (9) shows the character code in the display command.
It is a figure which shows data and its display example. Figure 27 (A) shows the character code including the display separation control code.
The data is shown in FIG. 27 (B).
It shows a procedure of data display processing. FIG. 28 is a diagram showing a table relating the digit positions of the display code / data and the digit positions on the display section. 1 ... ECR, 3,4 ... Display, 5 ... Printer, 11 ... Main CPU, 12 ...
Main CPU ROM, 13… Main CPU RAM, 31, 41… Display processing sub CPU, 32, 42… Sub CPU character generator ROM, 33, 43… Sub CPU RAM, 34… Display panel, 35
… Display area, 36… Dot segment.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】文字を表わす範囲があらかじめ定められた
出力装置,および 出力すべき文字を表わす一連の文字コード・データと,
特定の文字を他の文字に優先して出力すべきことを示す
優先情報とを含む出力コマンドが与えられ,上記一連の
文字コード・データによって表わされる文字を出力する
ときに,上記出力コマンドに含まれる一連の文字コード
・データによって表わされる文字のすべてを上記範囲内
で出力できない場合に,上記優先情報によって指定され
る文字を,それ以外の文字の一部を削除して,優先的に
上記範囲内で出力するよう制御する出力制御手段, を備えた文字出力装置。
Claim: What is claimed is: 1. An output device in which a range representing a character is predetermined, and a series of character code data representing a character to be output,
An output command including priority information indicating that a specific character should be output in preference to another character, and is included in the output command when the character represented by the series of character code data is output. When all of the characters represented by the series of character code data that can be output cannot be output within the above range, the characters specified by the above priority information are deleted, and some of the other characters are deleted, and the above range is given priority. A character output device provided with an output control means for controlling the output within.
JP62104362A 1987-04-15 1987-04-30 Character output device Expired - Fee Related JPH0827613B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP62104362A JPH0827613B2 (en) 1987-04-30 1987-04-30 Character output device
KR1019880004252A KR930006475B1 (en) 1987-04-15 1988-04-14 Korean character processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62104362A JPH0827613B2 (en) 1987-04-30 1987-04-30 Character output device

Publications (2)

Publication Number Publication Date
JPS63271289A JPS63271289A (en) 1988-11-09
JPH0827613B2 true JPH0827613B2 (en) 1996-03-21

Family

ID=14378719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62104362A Expired - Fee Related JPH0827613B2 (en) 1987-04-15 1987-04-30 Character output device

Country Status (1)

Country Link
JP (1) JPH0827613B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5898782A (en) * 1981-12-09 1983-06-11 横河電機株式会社 Apparatus with display

Also Published As

Publication number Publication date
JPS63271289A (en) 1988-11-09

Similar Documents

Publication Publication Date Title
US4717911A (en) Technique for chaining lines of a document together to facilitate editing or proofreading
JP2740575B2 (en) Character processor
JPH0827614B2 (en) Character output device
JPH0827613B2 (en) Character output device
JPS63310062A (en) Assembled character forming method
JPH0533912B2 (en)
KR930006475B1 (en) Korean character processing method and apparatus
JPH083705B2 (en) Display processor
JPS63311295A (en) Display reprocessing
JPS63256989A (en) Generation of hangul character
JP2644778B2 (en) Character generator
JPS63256990A (en) Alphabet generation of hangul character
JPS61250768A (en) Device for updating conversion dictionary
JPH0533911B2 (en)
JPH0721189A (en) Translation assisting system
JPH10123924A (en) Memorization learning supporting system and medium storing memorization learning supporting system controlling program
US6133899A (en) Printing device for displaying a title of a stored text
JPH0739192B2 (en) Printing method and device
KR890001456B1 (en) Letter modulating system
KR910001562B1 (en) Method of input and display of koreancharacters
JP2575650B2 (en) Kana-Kanji conversion device
JP3027834B2 (en) Document file name display
JPH0548476B2 (en)
JPS63296088A (en) Hangul alphabet character generation
JPH06236372A (en) Character display device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees