JPS63219057A - Character processor - Google Patents

Character processor

Info

Publication number
JPS63219057A
JPS63219057A JP62247595A JP24759587A JPS63219057A JP S63219057 A JPS63219057 A JP S63219057A JP 62247595 A JP62247595 A JP 62247595A JP 24759587 A JP24759587 A JP 24759587A JP S63219057 A JPS63219057 A JP S63219057A
Authority
JP
Japan
Prior art keywords
data
buffer
processing
code
character
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.)
Pending
Application number
JP62247595A
Other languages
Japanese (ja)
Inventor
Katsumi Masaki
正木 克己
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP62247595A priority Critical patent/JPS63219057A/en
Publication of JPS63219057A publication Critical patent/JPS63219057A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To input characters without being conscious of half-width and total width characters by providing a control means adding a half width dummy code to remained character data which cannot be packed in a prescribed number of characters and displaying it as the prescribed number of characters. CONSTITUTION:If a half width flag HWFG in a RAM is '1', a CPU executes a packing processing in which two units (2W) of a character code for half width processing are turned into a half width internal code (1W) in a keyboard KB input processing. Namely, bits 9-15 of a first W in characters for half width are inputted to the bits 1-7 of a packing register PREG, and then the bit '0' of the PREG is set to '1' after the bits 9-15 of a second W in the characters for half width are inputted to the bits 9-15 of the PREG. If the character code for packing is a space or period code at that time, 0100000 or 0101110 is substituted for the bits 9-15. Thus, the half width internal code which has been packed by the PREG can be obtained.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文字データを入力して表示することのできる
文字処理装置に関するもので、特に全中文字と半巾文字
とを扱うことのできる文字処理装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a character processing device that can input and display character data, and in particular, a character processing device that can handle full-Chinese characters and half-width characters. It relates to a processing device.

[従来の技術] 従来、この種の装置は、半巾文字を入力すると、所定文
字数、例えば2文字を1文字として扱った、全中文字の
表示位置に表示するのであるが、2文字をパッキングし
て1文字として表示していた[発明が解決しようとする
問題点] しかしながら、この場合、半巾文字2文字をパッキング
して1文字とする為、半巾文字を1文字だけ表示するこ
とは出来ないという問題点が有った。
[Prior Art] Conventionally, when a half-width character is input, this type of device treats a predetermined number of characters, for example, two characters, as one character and displays it at the display position of the full-width character, but it does not pack two characters. [Problem to be solved by the invention] However, in this case, two half-width characters are packed into one character, so it is not possible to display only one half-width character. There was a problem.

あるいは、あえて半巾文字を1文字を入力して、これを
表示する為には、この半巾文字とパッキング擦るための
入力しなければならないという問題点が有った。
Alternatively, in order to intentionally input one half-width character and display it, there was a problem in that it was necessary to input something to rub the packing against the half-width character.

〔問題点を解決する為の手段〕[Means for solving problems]

この問題点を解決するために、本発明は、所定文字数で
パッキングできない余った半巾文字データに、ダミーの
コードを付して所定文字数とし、これを表示する制御手
段を備えてなる。
In order to solve this problem, the present invention includes a control means for attaching a dummy code to the remaining half-width character data that cannot be packed into a predetermined number of characters to make it a predetermined number of characters, and displaying this.

第1図は本発明による文字処理装置の一実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of a character processing device according to the present invention.

KBはキーボードで文章入力用の文字キ一群及び本装置
にそなわる種々機能を実現するためのファンクションキ
一群により成る。
The KB is a keyboard consisting of a group of character keys for inputting text and a group of function keys for realizing various functions of this device.

第6図はキーボードKBをさらに詳細に示している。文
字キ一群の配列は、いわゆるJIS鍵盤に多少の変更を
加えたものになっている。主な変更点はシフトキーの構
成である。即ち、キーボードKBではひらがな入力をも
可能とするために、ひらがなシフトキー及びひらがな小
シフトキーが追加されている。
FIG. 6 shows the keyboard KB in more detail. The arrangement of the letter keys is a slightly modified version of the so-called JIS keyboard. The main change is the configuration of the shift key. That is, the keyboard KB has a hiragana shift key and a hiragana small shift key added to enable hiragana input.

ファンクションキ一群にはDECIMALキー。There is a DECIMAL key in the function key group.

全中キー、卒中キー、ローマ字キー、カナキーがある。There are Zenchu key, Stroke key, Romaji key, and Kana key.

このうちローマ字キーとカナキーとはキーボードKBの
文字キ一群より文字等を入力するにあたっての入力モー
ドを決定するキーであり、ローマ字キーを押下すると日
本語文をローマ字読みで入力することができ、又、カナ
キーを押下すると日本語文をカナで入力することが可能
となる。
Of these, the Romaji key and Kana key are keys that determine the input mode for inputting characters from the group of character keys on the keyboard KB.By pressing the Romaji key, you can input Japanese sentences in the Romaji reading. By pressing the kana key, it becomes possible to input Japanese sentences in kana.

DECIMALキーは、デシマルタブ入力を指示するキ
ーであり。全中キーは通常サイズの文字入力を指示する
キー、卒中キーは通常サイズの半分のサイズ(横方向)
の文字入力を指示するキー(但し、英数字等特定の文字
のみ)である。
The DECIMAL key is a key for instructing decimal tab input. Zenchu key is a key that instructs to input characters of normal size, and stroke key is half the size of normal size (horizontal direction)
This is a key for instructing character input (however, only specific characters such as alphanumeric characters).

文字キ一群及びファンクションキ一群の内の1つのキー
を打鍵すると、後述するマイクロプロセッサCPUに対
し、後述するコントロールバスCBを通し、インクラブ
ドを与える。又、キーボードKBにそなえられたエンコ
ーダを通し、打鍵されたキーのコードを後述するマイク
ロプロセッサCPUは後述するデータバスDBを通し知
ることができる。
When one key from a group of character keys and a group of function keys is pressed, an included signal is given to a microprocessor CPU (described later) through a control bus CB (described later). Further, a microprocessor CPU (to be described later) can know the code of a pressed key through an encoder provided in the keyboard KB through a data bus DB (to be described later).

なお、エンコーダから出力されたキーのコードは直接文
字コードに対応するものではなく、各キーの判別を行う
ためのコードになっている。
Note that the key code output from the encoder does not directly correspond to a character code, but is a code for identifying each key.

キーボードKBからマイクロプロセッサCPUへ与える
インタラブドは、マイクロプロセッサCPUによりマス
クすることができる。但しCPUによってキーボードK
Bインタラブドがマスクされていてもマイクロプロセッ
サCPUによってキーボードKBインクラブドのマスク
を解除するとマスクされている時に発生したKBインタ
ラブドは、失なわれることはなく、該KBインタラブド
の動作が正常に働(ものとする。
The interconnect provided from the keyboard KB to the microprocessor CPU can be masked by the microprocessor CPU. However, depending on the CPU, the keyboard K
Even if the keyboard KB included is masked, if the keyboard KB included is unmasked by the microprocessor CPU, the KB included that occurred while it was masked will not be lost, and the operation of the KB included will continue to function normally. do.

KB  BUFFERはキーボードKBから打鍵された
入力データを文字コードに変換して)(ツファリングす
るためのバッファである。
The KB BUFFER is a buffer for converting input data pressed from the keyboard KB into character codes.

キーボードKBのキーが打鍵されると、キーボードKB
入力処理ルーチンが起動され、キーボードKBからの入
力データはバッファKB  BUFFEHに蓄えられる
When a key on the keyboard KB is pressed, the keyboard KB
An input processing routine is activated, and input data from the keyboard KB is stored in the buffer KB BUFFEH.

又バッファKB  BUFFEHに蓄えられた文字等の
データはキーボードKBからの入力データを必要な各種
処理ルーチン、例えば入力処理ルーチン、編集処理ルー
チン等により読み出され使用される。
Data such as characters stored in the buffer KB BUFFEH is read out and used by various processing routines that require input data from the keyboard KB, such as input processing routines and editing processing routines.

これらの処理ルーチンは本発明とは直接関係ないのでそ
の詳細の説明は省略される。
Since these processing routines are not directly related to the present invention, detailed explanation thereof will be omitted.

バッファKB  BUFFERの詳細は第2図に示され
る。全21W (W : Ward、  IW−16b
it)の容量を有す。各Wの具体的定義は以下に示す。
Details of the buffer KB BUFFER are shown in FIG. Total 21W (W: Ward, IW-16b
It has a capacity of A specific definition of each W is shown below.

WORDOKB  BUFFER内に格納されている全
DATA LENGTH WORDI   KB  BUFFER内に格納されて
いる全DATAの白濁点、半濁点の処理が 終了しているDATAのLENGTH WORD2   KB  BUFFER内に格納されて
いる全DATAの内ローマ字カナ変換が 終了しているDATAのLENGTH WORD3   KB  BUFFER内に格納されて
いる全DATAの内半巾処理の終了して いるDATAのLENGTH WORDJ   KB  BUFFER内に格納されて
いる全DATAの内DECIMAL処理の 終了しているDATAのLENGTH WORD 5〜20KBから入力されたDATAが格納
される領域 最初の5WはバッファKB  BUFFERに記憶され
ているデータの特性が記入される。第6W目以降には、
実際に入力データが蓄えられる。
LENGTH of all DATA stored in WORDI KB BUFFER LENGTH of all DATA stored in WORDI KB BUFFER LENGTH of DATA for which cloudy and half-darkened points have been processed WORD2 KB LENGTH of all DATA stored in KB BUFFER LENGTH WORD of the DATA for which internal Romaji-kana conversion has been completed LENGTH WORD of all DATA stored in KB BUFFER LENGTH WORDJ of DATA for which processing has been completed DECIMAL processing of all DATA stored in KB BUFFER LENGTH WORD of DATA that has ended 5 to 20 KB The first 5 W of the area where the input DATA is stored is filled with the characteristics of the data stored in the buffer KB BUFFER. After the 6th W,
Input data is actually stored.

バッファKB  BUFFEHのWORDO(第1W目
)にはバッファKB  BUFFERに蓄えられている
データのLENGTHが記入される。しかしながら、こ
れらのデータは、すぐに前述した各種処理ルーチンによ
り処理できるデータとはなっていない。
The LENGTH of the data stored in the buffer KB BUFFER is written in WORDO (first W) of the buffer KB BUFFEH. However, these data cannot be immediately processed by the various processing routines described above.

例えばキーボードKBから“か”という文字データが入
力されたとする。しかしながら、この“か”というデー
タは次に打鍵されるキーによって変化するものである。
For example, assume that the character data "ka" is input from the keyboard KB. However, this "ka" data changes depending on the next key pressed.

即ち、次に“′”(濁点)のキーが打鍵されると“が”
というデータに変わり、それ以外のキーが打鍵されると
“か”というデータであることが確認される。
In other words, the next time the “′” (voiced mark) key is pressed, “ga” is pressed.
The data changes to "ka", and when any other key is pressed, it is confirmed that the data is "ka".

又、例えばローマ字モードによって入力している時に最
初の打鍵、例えば“Y”を入力した段階では、今だ、デ
ータとして確定されるものではなく、次に例えば“A”
と打鍵されて初めて確定した“や”というデータになる
Also, for example, when inputting in Roman alphabet mode, the first keystroke, such as "Y", is not confirmed as data, but the next keystroke, for example, "A".
The data “ya” is confirmed only after the key is pressed.

又、例えば半巾入力を行っている時に最初の打鍵、例え
ば“1”を入力した段階では今だデータとして確定され
るものではなく、次に例えば“2”を入力した段階では
じめて確定した“12”というデータになる。このこと
は、本実施例において半巾の文字は常に2文字単位で扱
う処理方式を採用しているためである。
Also, for example, when performing half-width input, the first keystroke, such as "1", is not confirmed as data yet, but the next keystroke, for example, "2", which is confirmed for the first time, is "12". ” is the data. This is because, in this embodiment, a processing method is adopted in which half-width characters are always treated in units of two characters.

又、例えばデシマルタブを終了させる文字が入力されて
初めてそれらの入力された文字列が有効なものとして確
定される。
Further, for example, only after a character that ends a decimal tab is input, the input character string is determined to be valid.

コノようにバッフ7KB BUFFER(7)WORD
Oに蓄えられたDATA  LENGTHで規定するデ
ータが必ずしもすべて有効なデータとはなっていない。
Kono Yoni Buff 7KB BUFFER (7) WORD
The data specified by DATA LENGTH stored in O is not necessarily all valid data.

そこでバッファKB  BUFFERに蓄えられている
データの特性を明確にするためバッファKBBUFFE
RのHEADERの5Wが用いられる。
Therefore, in order to clarify the characteristics of the data stored in the buffer KB BUFFER,
5W of HEADER of R is used.

バッファKB  BUFFERのWORD  Oバッフ
ァKB  BUFFERに蓄えられている全データのL
ENGTH KB BUFFERWORD  1 バツフアKB  BUFFERに蓄えられている全デー
タの白濁点、半濁点の処理がなされているデータのLE
NGTH KB  BUFFERWORD  2 バツフアKB  BUFFERに蓄えられている全デー
タの白濁点、半濁点処理及びローマ字カナ変換処理が成
されているデータのLENGTHKB BUFFERW
ORD  3 バツフアKB  BUFFERに蓄えられている全デー
タの白濁点、半濁点処理、ローマ字カナ変換処理、及び
半巾処理が成されているデータのLENGTH KB BUFFERWORD  4 バツフアKB  BUFFERに蓄えられている全デー
タの白濁点、半濁点処理、ローマ字カナ変換処理、半巾
処理、デシマル処理が成されているデータのLENGT
H0バッファKB  BUFFER内に蓄えられている
データの内バッファKB  BUFFERのWORD4
で与えられるデータの長さが真に有効なデータである。
WORD of buffer KB BUFFER L of all data stored in buffer KB BUFFER
ENGTH KB BUFFERWORD 1 LE of the data that has been processed for the cloudy point and half-voiced point of all data stored in the buffer KB BUFFER
NGTH KB BUFFERWORD 2 LENGTHKB BUFFERW of data that has been processed with cloudy point, half-voiced point processing, and romaji kana conversion processing for all data stored in buffer KB BUFFER
ORD 3 Buffer KB BUFFER LENGTH KB BUFFERWORD 4 Buffer KB BUFFER LENGTH KB BUFFERWORD 4 Buffer KB BUFFER LENGTH KB BUFFER LENGT of data that has undergone cloudy point processing, half-voiced point processing, romaji kana conversion processing, half-width processing, and decimal processing
WORD4 of buffer KB BUFFER of the data stored in H0 buffer KB BUFFER
The length of data given by is truly valid data.

本実施例においては、濁点、半濁点処理、ローマ字カナ
変換処理、半巾処理、デシマル処理の一部等を後述する
キーボードKB入力処理ルーチンで実行し、その結果を
バッファKB  BUFFERに蓄え、キーボードKB
からの入力データを必要とする各種処理ルーチンは、前
記4種の処理が実行された結果のデータを利用する構成
となっている。
In this embodiment, part of the voiced-tone, half-voiced-tone processing, romaji-kana conversion processing, half-width processing, decimal processing, etc. is executed in the keyboard KB input processing routine described later, and the results are stored in the buffer KB BUFFER.
Various processing routines that require input data from the computer are configured to utilize data resulting from the execution of the four types of processing.

従って、他の実施例、例えば半巾処理をKB処理ルーチ
ンから除き、キーボードKBからの入力データを必要と
する各種処理ルーチンが半巾処理を行うような構成をと
ることもできる。前記4種の処理について、いずれも同
様のことが言える。本発明は4種の処理の内1つでもK
B入力処理ルーチンで実行するならば、その発明の主旨
をそこねるものではない。
Therefore, in other embodiments, for example, half-width processing may be removed from the KB processing routine, and various processing routines that require input data from the keyboard KB may perform half-width processing. The same can be said of the four types of processing described above. The present invention provides K even if one of the four types of processing
If it is executed in the B input processing routine, it does not deviate from the spirit of the invention.

バッファKB  BUFFERのWORD5〜20に蓄
えられるデータの構成は第5図のようになっている。
The structure of the data stored in WORDs 5 to 20 of the buffer KB BUFFER is as shown in FIG.

bit O半角=1.全角=O bit1〜7   JIS C0DE第1 BYTEb
 i t 8    REFRESHMEMORY内で
は低輝度表示=1.普通輝度表示=0 KB  BUFFER内では ローマ字を構成する文字−1゜ 独立した文字=0、 DATA  BUFFER,KB READ BUFF
ER内では NOT  USED bit9〜15   JIS C0DE第2BYTE〈
注〉 全角の時: JIS C0DE第1BYTEとJIS 
C0DE第2BYTEでJIS漢字コード(14bit
)を表現する。FUNCTIONコードもJIS漢字コ
ード表の空きエリアが 割り当てられているものとする。
bit O half-width=1. Full-width = O bit1~7 JIS C0DE 1st BYTEb
i t 8 Low brightness display in REFRESH MEMORY = 1. Normal brightness display = 0 In KB BUFFER, characters that make up the Roman alphabet - 1° Independent characters = 0, DATA BUFFER, KB READ BUFF
NOT USED bit9~15 JIS C0DE 2nd BYTE in ER
Note> When full-width: JIS C0DE 1st BYTE and JIS
JIS Kanji code (14bit) in C0DE 2nd BYTE
) to express. It is assumed that the FUNCTION code is also assigned an empty area in the JIS Kanji code table.

半角の時: JIS C0DE第1BYTEとJIS 
C0DE第2BYTEでJISコード(7bit)の2
文字が表現される。
Half-width: JIS C0DE 1st BYTE and JIS
C0DE 2nd BYTE is JIS code (7bit) 2
characters are expressed.

即ちIWで食中の文字(普通サイズの文字)1文字ある
いは卒中の文字2文字を表現する。bitoで卒中文字
か全中文字かの区別を行う。食中の場合bit1〜7に
JIS漢字コードの第1BYTE、 bit9〜15に
JIS漢字コードの第2BYTEが蓄えられる。
That is, IW expresses one character in the eclipse (normal size characters) or two characters in the stroke. Bito distinguishes between stroke characters and Zenchu characters. When eating, the first BYTE of the JIS Kanji code is stored in bits 1 to 7, and the second BYTE of the JIS Kanji code is stored in bits 9 to 15.

卒中(7)場合bit1〜7 i: 7bitJIS 
 C0DE (7) 1文字、bit9〜15に他の1
文字が割り当てられる。
If stroke (7), bit 1 to 7 i: 7bit JIS
C0DE (7) 1 character, other 1 in bits 9-15
A character is assigned.

bit8は、該コードがローマ字の構成要素例えば“T
”(ローマ字“TA”の構成要素)である時それを識別
するために1となる。
Bit 8 indicates that the code is a Roman alphabet component, for example “T
” (component of the Roman alphabet “TA”), it becomes 1 to identify it.

KB、READ  BUFFERはバッファで、キーボ
ードKBからの入力データを必要な各種処理ルーチンが
、該データを要求する時に使用されるバッファであり、
21W(IW−16bit)の容量を有する。該各種処
理ルーチンはバッファKB  READ  BUFFE
RのWORDO(第1W)に要求するDATA  LE
NGTHを設定し、後述するKB  BUFFERRE
AD処理ルーチン、あるいはKB  BUFFERLO
OK処理ルーチンを起動するならば、KB  READ
  BUFFERのWORD5〜20に要求したデータ
を得ることができる。その際バッファKB  READ
  BUFFERのWORDIに実際にWORD5〜2
0に書き込まれたDATA  LENGTHが記入され
る。実際は、KBBUFFERREAD処理ルーチン及
びKB  BUFFERLOOK処理ルーチンは、バッ
ファKB  BUFFERにMえらtLf:有効データ
(KB  BUFFERWORD4で規定される)をバ
ッファKE  READ  BUFFERに移すことに
なる。
KB, READ BUFFER is a buffer that is used when various processing routines that require input data from the keyboard KB request the data.
It has a capacity of 21W (IW-16bit). The various processing routines are buffer KB READ BUFFE
DATA LE requested from R's WORDO (1st W)
Set NGTH and KB BUFFERRE described later.
AD processing routine or KB BUFFERLO
To start the OK processing routine, KB READ
The requested data can be obtained from WORDs 5 to 20 of the BUFFER. At that time, buffer KB READ
Actually WORD5~2 in WORDI of BUFFER
DATA LENGTH written to 0 is written. In fact, the KB BUFFERREAD and KB BUFFERLOOK processing routines will move valid data (defined by KB BUFFERWORD4) into the buffer KB BUFFER to the buffer KE READ BUFFER.

第4図にKB READ BUFFERのフォーマット
を示す。
FIG. 4 shows the format of KB READ BUFFER.

同図に於いて、 WORDOREAD又はLOOK要求DATAENGT
H WORD 1    実際READ又は1.OOKした
DATAENGTH WORD 2〜4  NOT  USEDWORD 5
〜20  READ又はLOOKしたデータなお、バッ
ファKB READ BUFFERのWORD5〜20
に蓄えられるデータのフォーマットはバッファK B 
 B U F F E RのWORD5〜20に蓄えら
れるデータのフォーマットと下記の点で異なるのみであ
る。
In the same figure, WORDORED or LOOK request DATAENGT
H WORD 1 Actual READ or 1. OOK DATA ENGTH WORD 2-4 NOT USED WORD 5
~20 READ or LOOKed data, buffer KB READ BUFFER WORD5~20
The format of the data stored in the buffer KB is
It differs from the format of data stored in WORDs 5 to 20 of BUFFER only in the following points.

即ち、bit8は使用されない。That is, bit8 is not used.

CRT REFRESHMEMORYはメモリで8X1
6W(lW−16bit)の容量を有する。
CRT REFRESH MEMORY is 8X1 memory
It has a capacity of 6W (1W-16bit).

メモIJ CRT  REFRESHMEMORYに蓄
えられた文字等のコードは、後述するCRTコントロー
ラCRT  C0NTによりパターン化されCRT画面
上に表示される。
The codes such as characters stored in the memo IJ CRT REFRESH MEMORY are patterned by a CRT controller CRT CONT, which will be described later, and displayed on the CRT screen.

メモリCRT  REFRESHMEMORYのフォー
マットは、第3図に示すように8行16桁から成り、第
1行〜第7行は各種文字処理表示用領域で、第8行はK
B  BUFFERのモニタ表示用領域である。かかる
メモリは後述するCRT画面と対応して族8行横16桁
の文字等コードを蓄えることができる。メモリCRT 
 REFRESHMEMORYに格納されるデータのフ
ォーマットは、バッファKBBUFFERに蓄えられる
データのフォーマットと下記の点で異なるのみである。
The format of the memory CRT REFRESH MEMORY consists of 8 rows and 16 digits as shown in Figure 3, the 1st to 7th lines are areas for displaying various character processing, and the 8th line is a K
This is the area for monitor display of B BUFFER. This memory can store character codes of 8 rows and 16 digits horizontally in correspondence with a CRT screen to be described later. memory CRT
The format of data stored in REFRESH MEMORY differs from the format of data stored in buffer KBBUFER only in the following points.

即ち、bit8−=1の時CRT上には低輝度で表示さ
れ、bit8=oの時はCRT上に普通輝度で表示され
る。このコントロールはCRTコントローラCRT  
C0NTにより行われる。
That is, when bit8-=1, it is displayed on the CRT with low brightness, and when bit8=o, it is displayed on the CRT with normal brightness. This control is a CRT controller CRT
This is done by C0NT.

又、CRT  REFRESHMEMORYの第8行目
は、バッファKB  BUFFERの内容を表示するた
めの領域であり、第1行目〜第7行目までは、各種処理
ルーチンにより使用される領域である。本実施例では、
第1行目〜第7行目までの表示の扱いについては、本発
明とは直接の関係がないため省略する。
The 8th line of CRT REFRESH MEMORY is an area for displaying the contents of the buffer KB BUFFER, and the 1st to 7th lines are areas used by various processing routines. In this example,
The handling of the display from the first line to the seventh line is omitted because it has no direct relation to the present invention.

CRT  C0NTはメモリCRT  REFRESH
MEMORYに格納されている文字等コード情報をパタ
ーン化し、CRT画面上に表示するコントロールを行う
CRTコントローラである。CRTコントローラCRT
  C0NTの詳細図を第10図に示す。第10図1点
鎖線で囲われた領域がCRT  C0NTである。制御
回路CRTCはメモリCRT  REFRESHMEM
ORYに対し表示すべき文字コードのアドレスを与え、
該文字コードを取り出す。取りだされた該文字コード情
報は一時記憶しジスタREGに蓄えられた後、全巾キャ
ラクタジェネレータCG、卒中キャラクタジェネレータ
CGII、卒中キャラクタジェネレータCGI[[をア
クセスする。食中キャラクタジェネレータCGには、食
中の文字パターンが格納されている。一時記憶レジスタ
REGからの出力データのbit1〜7及びbit9〜
15により、文字が指定され、制御回路CRTCからの
ROWアドレス信号により、該文字のROWアドレスが
指定され、対応する文字の対応するROWの横一列のパ
ターンを出力する。
CRT C0NT is memory CRT REFRESH
This is a CRT controller that controls character and other code information stored in MEMORY to be patterned and displayed on the CRT screen. CRT controller CRT
A detailed diagram of C0NT is shown in FIG. The area surrounded by the dashed line in FIG. 10 is the CRT C0NT. The control circuit CRTC is the memory CRT REFRESHMEM
Give the address of the character code to be displayed to ORY,
Extract the character code. The retrieved character code information is temporarily stored in the register REG, and then the full-width character generator CG, stroke character generator CGII, and stroke character generator CGI[[ are accessed. The food character generator CG stores character patterns for food characters. Bits 1 to 7 and bits 9 to 7 of the output data from temporary storage register REG
15, a character is specified, the ROW address of the character is specified by the ROW address signal from the control circuit CRTC, and a horizontal line pattern of the corresponding ROW of the corresponding character is output.

卒中キャラクタジェネレータCGI、nには卒中の文字
パターンが格納されている。卒中キャラクタジェネレー
タCGI、nにはそれぞれ一時記憶しジスタREGのb
it1〜7. bit9〜15が入力され、各々の対応
した文字パターンの横一列のパターンが、全巾キャラク
タジェネレータCGと同様に出力される。食中キャラク
タジェネレータCGからの出力データと卒中キャラクタ
ジェネレータCGI、nからの出力データとの選択はセ
レクタSLで行われる。
The stroke character generator CGI,n stores the character pattern of stroke. Stroke character generator CGI, n is temporarily stored and register REG's b
it1-7. Bits 9 to 15 are input, and a horizontal row of corresponding character patterns is output in the same way as the full-width character generator CG. The selection between the output data from the eating character generator CG and the output data from the stroke character generator CGI,n is performed by the selector SL.

セレクタSLをコントロールするのは一時記憶しジスタ
REGの出力bitoによる。即ち、bito= 1の
時は卒中キャラクタジェネレータCGI、nからの出力
データを選択し、bito=oの時は食中キャラクタジ
ェネレータCGからの出力データを選択する。選択され
たセレクタSLから出力されたデータはパラレルシリア
ル変換機PSを介し、シリアルデータとし、表示装置C
RTに出力される。一時記憶レジスタREGから出力さ
れるデータbit8は、表示装置CRTに対し輝度コン
トロールを行うため表示装置CRTに出力される。
The selector SL is controlled by the output bit of the temporary memory register REG. That is, when bito=1, the output data from the stroke character generator CGI,n is selected, and when bito=o, the output data from the stroke character generator CG is selected. The data output from the selected selector SL is converted into serial data via the parallel-to-serial converter PS, and is displayed on the display device C.
Output to RT. Data bit 8 output from the temporary storage register REG is output to the display device CRT in order to perform brightness control on the display device CRT.

制御回路CRTCは、表示装置CRTからのパーティカ
ルタイミング信号及びホリゾンタルタイミング信号を受
け、次々とメモリCRT  REFRESHM E M
 ORYへのアクセスアドレスを変え、又全巾キャラク
タジェネレータCG、卒中キャラクタジェネレータCG
I、IIに対するROWアドレス信号を変更し、表示装
置CRTへの文字表示を行う。
The control circuit CRTC receives the particle timing signal and the horizontal timing signal from the display device CRT, and sequentially controls the memory CRT REFRESHMEM.
Change the access address to ORY, and also change the full-width character generator CG and stroke character generator CG.
The ROW address signals for I and II are changed to display characters on the display device CRT.

CRTは表示装置でCRTコントローラCRT  C0
NTによってコントロールされることにより、メモリC
RT  REFRESHMEMORYに蓄えられた文字
情報を表示する。
CRT is a display device and CRT controller CRT C0
By being controlled by NT, memory C
RT Displays character information stored in REFRESH MEMORY.

表示装置CRTは、CRTコントローラCRT  C0
NTに対し、パーティカルタイミング信号とホリゾンタ
ルタイミング信号を送り、CRTコントローラCRTC
ONTのタイミングを合わせる。又、表示装置CRTは
制御回路CRTCからのVIDEO情報の出力を行う。
The display device CRT is a CRT controller CRT C0
Sends particle timing signals and horizontal timing signals to the CRT controller CRTC.
Adjust the ONT timing. The display device CRT also outputs VIDEO information from the control circuit CRTC.

DATA  BUFFERはバッファで各種処理ルーチ
ンによって使用されるデータを蓄える。本発明には直接
関係はない。
DATA BUFFER is a buffer that stores data used by various processing routines. It is not directly related to the present invention.

本実施例においてはバッファDATA  BUFFER
に蓄えられるデータのフォーマットを第5図に示すごと
く定めた。
In this example, the buffer DATA BUFFER
The format of the data stored in the system was determined as shown in Figure 5.

RKCTはローマ字カナ変換テーブルで、ローマ字文字
列をカナ文字列に変換するための変換テーブルである。
RKCT is a romaji-kana conversion table, which is a conversion table for converting romaji character strings into kana character strings.

第9図に示すごとくローマ字文字列とカナ文字列が対応
している。
As shown in FIG. 9, Roman character strings and kana character strings correspond.

tcTはKBコード、内部コード変換テーブルで、キー
ボードKBからの出力データを内部コード(第5図)に
変換するためのテーブルである。変換にあたっては、シ
フト状態、入力モード状態により、変換されるコードが
異なることに注意しなければならない。第7図に本テー
ブルの詳細を示す。
tcT is a KB code/internal code conversion table, which is a table for converting output data from the keyboard KB into an internal code (FIG. 5). When converting, it must be noted that the code to be converted differs depending on the shift state and input mode state. Figure 7 shows details of this table.

DHTは濁点半濁点テーブルで、第8図に示すごとく、
濁点又は半濁点に1つのコードを与える。
DHT is a dakuten/handakuten table, as shown in Figure 8.
Give one code to voiced or handakuten.

コード体系から濁点又は半濁点に対し1つのコードを与
えず、文字コードに濁点、半濁点の情報を含めるコード
体系への変換テーブルである。
This is a conversion table for converting from a code system to a code system that does not give a single code to voiced or handakuten, but includes information on voiced and handakuten in character codes.

RAMはランダムアクセスメモリで各種データの一時記
憶に用いられる。メモリRAMの中には、後述するマイ
クロプロセッサCPUが処理実行中に使用するローマ字
フラッグFG、卒中フラッグHWFG。
RAM is a random access memory used for temporary storage of various data. In the memory RAM, a Roman flag FG and a stroke flag HWFG are used by a microprocessor CPU (described later) during processing execution.

デシマルフラッグDECIMAL  FG、シフトレジ
スタSR,内部コードレジスタIREG、パッキングレ
ジスタPREG、レジスタDF、レジスタTDL。
Decimal flag DECIMAL FG, shift register SR, internal code register IREG, packing register PREG, register DF, register TDL.

レジスタLEN等が含まれる。Includes register LEN, etc.

ROMは制御メモリで第11図以降に示される制御手順
が格納される。
The ROM is a control memory in which the control procedures shown in FIG. 11 and subsequent figures are stored.

CPUはマイクロプロセッサで演算、論理判断を行う。The CPU is a microprocessor that performs calculations and logical judgments.

後述するアドレスバスAB、  データバスDB。Address bus AB and data bus DB, which will be described later.

コントロールバスCBを介し、キーボードKB。Keyboard KB via control bus CB.

バッファKB  BUFFER,メモリCRT  RE
FRESHMEMORY、バッファDATA  BUF
FER,バッファKB  READ  BUFFER,
ローマ字カナ変換テーブル、RKCT  KBコード内
部コード変換テーブルICT、メモリRAM、制御メモ
リROMに対し、データの読み取り、書き込みを行うこ
とができる。
Buffer KB BUFFER, memory CRT RE
FRESH MEMORY, buffer DATA BUF
FER, buffer KB READ BUFFER,
Data can be read and written to the Romaji-kana conversion table, RKCT, KB code internal code conversion table ICT, memory RAM, and control memory ROM.

ABはアドレスバスで、制御対象を指示する信号を転送
する。CBはコントロールバスで各種制御対象して制御
信号を印加する。DBはデータバスで各種DATAを転
送する。
AB is an address bus that transfers a signal indicating a control target. CB is a control bus that applies control signals to various control targets. The DB transfers various DATA via a data bus.

以上の構成にもとずいて、本実施例の動作について説明
する。
Based on the above configuration, the operation of this embodiment will be explained.

電源を投入すると、まず第11図に示すイニシャライズ
処理が実行される。このフローの各ステップの内容は以
下に示す。
When the power is turned on, initialization processing shown in FIG. 11 is first executed. The details of each step in this flow are shown below.

0、I  KB  INT(INTERRUPT(7)
略)MASKN O,2KB  BUFFERにすべてNULLコードを
入れる。(すべてOにクリアする) 0.3  CRT  REFRESHMEMORYにす
べてスペースコードを入れる。
0, I KB INT (INTERRUPT(7)
omitted) MASKN O, 2KB Put all NULL codes in BUFFER. (Clear all to O) 0.3 Insert all space codes in CRT REFRESH MEMORY.

0.4  KB  INT  MASK  0FF0.
5  MAIN処理1又は2へJUMP上述のようにス
テップo、lでKB INT MAsI(ONj、、ス
テップ0.2でKB  BUFFERクリアする。(A
LLOにする) 次にステップ0.3でメモリCRT  REFRESH
MEMORYにすべてスペースコー ドを入れる。
0.4 KB INT MASK 0FF0.
5 JUMP to MAIN processing 1 or 2 As described above, in steps o and l, KB INT MAsI (ONj,, in step 0.2, clear KB BUFFER. (A
(set to LLO) Next, in step 0.3, memory CRT REFRESH
Enter all space codes in MEMORY.

ステップ0.4でKB  INT  MASK  0F
FL、ステップ0.5でMAIN処理1又は2へJUM
Pする。
KB INT MASK 0F in step 0.4
FL, JUM to MAIN processing 1 or 2 at step 0.5
P.

MAIN処理l又は2は、本発明の2種類の応用例を示
すものである。
MAIN processing 1 or 2 represents two types of application examples of the present invention.

上述のイニシャライズ処理のステップ0.5で例えば第
12図に示すM a i n処理lに移る。第12図に
示すフローの各ステップの内容を以下に示す。
At step 0.5 of the above-mentioned initialization process, the process moves to, for example, the M a i process l shown in FIG. 12. The contents of each step of the flow shown in FIG. 12 are shown below.

1 、 l  KB READ BUFFERノWOR
D OニREAD 要求DATA  LENGTHをセ
ットする。
1, l KB READ BUFFER NO WOR
Set DODIREAD request DATA LENGTH.

1.2  KB  BUFFERREAD処理1.3 
 KB  READ  BUFFER(7)WORDI
 (実際にREAD したDATA LENGTH)は
0か?1.4  人カデtりに応じた各種処理実行上述
のようにステップ1.1でK B  B U F F 
E Rに蓄えられているデータを読み取るためにKB 
 READBUFFERのWORD  Oに読み取り要
求DATALENGTHをセットする。次のステップ1
.2でKBBUFFERに蓄えられている有効データ(
KB BUFFEHのWORD4で規定される)を読み
取りバッファKBREAD  BUFFERに移す。
1.2 KB BUFFERREAD processing 1.3
KB READ BUFFER (7) WORDI
Is (actually READ DATA LENGTH) 0? 1.4 Execution of various processes according to the number of students As mentioned above, in step 1.1 K B B U F
KB to read data stored in E
Set read request DATALENGTH to WORD O of READBUFFER. Next step 1
.. In step 2, the valid data stored in KBBUFER (
(defined by WORD 4 of KB BUFFEH) to the read buffer KBREAD BUFFER.

移すべきDATA LENGTHはバッファKB RE
ADBUFFERのWORDOで規定されている。移し
終ったら、そのデータをバッファKB  BUFFER
から取り除(。
DATA LENGTH to be transferred is buffer KB RE
It is specified by WORDO of ADBUFFER. Once the data has been transferred, transfer it to the buffer KB BUFFER.
Removed from (.

次のステップ1.3でKB BUFFERからKB R
EADBUFFERに移されたデータのLENGTHは
0か否かチェックする。もし、0であるならステップ1
.2を繰り返す、もしOでなければステップ1.4に進
む。かかるステップ1.4で入力データに応じた各種処
理を実行する。
In the next step 1.3, from KB BUFFER to KB R
Check whether LENGTH of the data transferred to EADBUFFER is 0 or not. If 0, step 1
.. Repeat step 2. If not O, proceed to step 1.4. In step 1.4, various processes are executed according to the input data.

各種処理の具体的中味は、本発明とは直接関係ないので
省略するが、例えば文字入力処理等がある。
The specific contents of the various processes are omitted because they are not directly related to the present invention, but include, for example, character input processing.

上述のKB  BUFFERREAD処理の詳細フロー
を第14図に示す。各ステップの内容は以下に示す。
FIG. 14 shows a detailed flow of the above-mentioned KB BUFFERREAD process. The contents of each step are shown below.

1.2.1  KB  TNT  MASK  ONl
、2.2  KB BUFFERのWORD4 (DE
CIMAL処理後DATA  LENGTH)よりKB
READ  BUFFERのWORDOの方が大きいか
? 1.2,3  TDL”:BUFFERのWORD41
.2.4  TDL:KB READ BUFFERW
ORDOl、2.5  TDLの値だけKB BUFF
ER内のDATAをKB  READ  BUFFER
に移す。
1.2.1 KB TNT MASK ONl
, 2.2 KB BUFFER's WORD4 (DE
KB from DATA LENGTH after CIMAL processing
Is the WORD of READ BUFFER larger? 1.2,3 TDL”: BUFFER’s WORD41
.. 2.4 TDL:KB READ BUFFERW
ORDOl, 2.5 TDL value only KB BUFF
KB READ BUFFER of DATA in ER
Move to.

1.2,6  KB READ  BUFFER’WO
RDIにTDLの値をセットする。
1.2,6 KB READ BUFFER'WO
Set the TDL value to RDI.

1.2.7  KB  BUFFER内TDLの値を減
する。
1.2.7 Decrease the value of TDL in KB BUFFER.

1.2.8  KB  BUFFERWORD5〜20
の内容をすべてTDLの値だけ左寄せする。(TDLの
値だけ先頭を削除し、残りを左寄せ する) 1.2.9  DISPLAY処理(3,13)1.2
.10  KB  INT  MASK  OFF上述
のようにステップ1.2.1でKB  INT  MA
SICONし、 ステップ1.2.2でKB  BUFFERWORD4
 (有効DATA  LENGTH)よりKB REA
DBUFFERWORDO(要求DATA LENGT
H)の方が大きいか否か判断する。
1.2.8 KB BUFFERWORD5~20
Align all contents to the left by the value of TDL. (Delete the beginning of the TDL value and align the rest to the left) 1.2.9 DISPLAY processing (3, 13) 1.2
.. 10 KB INT MASK OFF KB INT MASK in step 1.2.1 as above
SICON and KB BUFFERWORD4 in step 1.2.2
(Effective DATA LENGTH) from KB REA
DBUFFERWORDO (request DATA LENGT
Determine whether H) is larger.

大きい場合ステップ1.2.3に進む 小さい場合ステップ1.2.4に進む ステップ1.2.3でTDLをKB  READ  B
UFFERWORDOの値にセットする。ステップ1゜
2.5に進む ステップ1.2.4でTDLをKB  BUFFERW
ORDOの値にセットする。ステップ1.2.5に進む
。ステップ1.2.5でTDLの値だけに、13BUF
FER内のデータをKB READ BUFFERに移
す。
If larger, proceed to step 1.2.3 If smaller, proceed to step 1.2.4 TDL in step 1.2.3 KB READ B
Set to the value of UFERWORDO. Proceed to step 1゜2.5 In step 1.2.4, set TDL to KB BUFFERW
Set to the value of ORDO. Proceed to step 1.2.5. In step 1.2.5, only the TDL value is 13BUF.
Move the data in FER to KB READ BUFFER.

ステップ1.2.6でKB  READ  BUFFE
RWORDIにTDLの値をセットする。
KB READ BUFFE in step 1.2.6
Set the TDL value to RWORDI.

ステップ1.2.7でKB  BUFFERWORDO
〜4の値からTDLの値を減する。
KB BUFFERWORDO in step 1.2.7
Subtract the value of TDL from the value of ~4.

ステップ1.2.8でKB  BUFFERのDATA
領域からTDLの値だけ先頭を削除し、残りを左寄せす
る。
KB BUFFER DATA in step 1.2.8
Delete the beginning of the area by the value of TDL and align the rest to the left.

1.2.9  KB  BUFFERDISPLAY処
理(3,13)(KB  BUFFER内DATAをC
RT上にDISPLAYする) 1.2.10  KB  INT  MASK  OF
Fする。
1.2.9 KB BUFFER DISPLAY processing (3, 13) (Data in KB BUFFER is
DISPLAY on RT) 1.2.10 KB INT MASK OF
F.

第15図はKB  BUFFERREAD処理における
バッファKB  BUFFER及びバッファKB  R
EADBUFFERの例である。バッファKB  BU
FFERから3文字のDATA  READ要求に対し
てバッファKB BUFFERからバッファKB RE
AD BUFFERに対して3文字の移動が行っている
様子がわかる。
Figure 15 shows the buffer KB BUFFER and buffer KB R in the KB BUFFERREAD process.
This is an example of EADBUFFER. Buffer KB BU
Buffer KB from FFER in response to a 3-character DATA READ request Buffer KB RE from BUFFER
It can be seen that three characters are moved to AD BUFFER.

又バッファKB  BUFFER及びバッファKB  
READBUFFERのHEADER部パラメータもそ
れに伴なって変化していることがわかる。
Also, buffer KB BUFFER and buffer KB
It can be seen that the HEADER section parameters of READBUFFER also change accordingly.

上述のようにMAINIの処理を行う。一方次にMAI
N2の処理を詳述する。イニシャライズ処理のステップ
0.5でMAIN2の処理が実行される場合、第13図
に示すフローの各ステップが実行される。以下にフロー
の各ステップを示す。
MAINI processing is performed as described above. On the other hand, MAI
The processing of N2 will be explained in detail. When the MAIN2 process is executed at step 0.5 of the initialization process, each step of the flow shown in FIG. 13 is executed. Each step of the flow is shown below.

2.I  KB READ BUFFERWORDIに
LOOK要求DATA  LENGT)Iをセットする
2. Set LOOK request DATA LENGT)I in IKB READ BUFFERWORDI.

2.2  KB  BUFFERLOOK処理2.3 
 LOOKL、たデータは処理可能なりATAか?2.
4  KB  BUFFERREAD処理(1,2)2
.5  入力データに応じた各種処理実行上述のフロー
に示す如くステップ2.1でKB BUFFERに蓄え
られているデータの中味を知るためにKBREAD  
BUFFERのWORDO+:知りタイデータのLEN
GTHを記入する。
2.2 KB BUFFERLOOK processing 2.3
Is it possible to process LOOKL data using ATA? 2.
4 KB BUFFERREAD processing (1, 2) 2
.. 5 Execution of various processes according to input data As shown in the flow above, in step 2.1, in order to know the contents of the data stored in KB BUFFER, KBREAD is executed.
BUFFER's WORD+: Knowledge Thai data LEN
Enter GTH.

ステップ2.2で、KB  BUFFERに蓄えられて
いる有効データをバッファKB  READ  BUF
FERに移す、移すべきDATA  LENGTHはK
B READBUFFERのWORDOに規定されてい
る。移し終わってもバッファKB  BUFFERから
そのデータを取り除かない。次のステップ2.3で、K
B READBUFFERに入れられたデータは、処理
可能なデータか否かチェックする。
In step 2.2, the valid data stored in KB BUFFER is transferred to the buffer KB READ BUF.
DATA LENGTH to be transferred to FER is K
Specified in WORDO of B READBUFFER. Even after the transfer is completed, the data is not removed from the buffer KB BUFFER. In the next step 2.3, K
The data entered in B READBUFFER is checked to see if it can be processed.

もし、処理可能ならばステップ2.4に進む。If processing is possible, proceed to step 2.4.

もし処理不可能ならばステップ2.2を繰り返す。If processing is not possible, repeat step 2.2.

ステップ2.4でKB BUFFERREAD処理(1
,2)を行い、バッファK B  B U F F E
 Rから、これから処理するデータを取り除く。
In step 2.4, KB BUFFERREAD processing (1
, 2) and create a buffer K B B U F F E
Remove the data to be processed from R.

ステップ2.5でKB  READ  BUFFERに
読み込まれたデータに応じて、各種処理を実行する。
Various processes are executed according to the data read into the KB READ BUFFER in step 2.5.

各種処理の具体的中味は本発明と直接の関係がないので
省略する。例えばカナ漢字変換処理においては一文節の
入力が終了しないと変換処理は実行できない。そこでス
テップ2.3において、−文節のKBからの入力が終了
したか否かをチェックし、終了したならば、ステップ2
.5でカナ漢字変換の処理が行われる。
The specific contents of the various treatments are omitted because they have no direct relation to the present invention. For example, in the kana-kanji conversion process, the conversion process cannot be executed until the input of one phrase is completed. Therefore, in step 2.3, it is checked whether the input of the - clause from the KB has been completed, and if it has been completed, step 2.
.. In step 5, kana-kanji conversion processing is performed.

上述のステップ2.2のKB  BUFFERLOOK
処理の詳細を第16図に示す。かかるフローの内容は以
下に示す。
KB BUFFERLOOK from step 2.2 above
Details of the processing are shown in FIG. The contents of this flow are shown below.

2.2.I  KB  INT  MASK  ON2
.2.2  KB BUFFERWORD4(DECI
MAL処理後DATA  LENGTH)よりKBRE
AD  BUFFERWORDOの方が大きいか? 2.2,3  TDL=KB  BUFFERWORD
42.2.4  TDLの値だけKB  BUFFER
内のDATAをKB  READ  BUFFERに移
す2.2.6  KB  READ  BUFFERの
WORDIにTDLの値をセットする 2、2.7  KB  INT  MASK  OFF
上述の各ステップは以下に示す如(KB  BUFFE
RREAD処理とだいたい同じで、KB  BUFFE
RREAD処理との違いはKB  BUFFERLOO
K処理がバッファKB  BUFFERに一切影響を与
えない点にある。
2.2. IKB INT MASK ON2
.. 2.2 KB BUFFERWORD4(DECI
KBRE from DATA LENGTH after MAL processing
Is AD BUFFERWORDO larger? 2.2,3 TDL=KB BUFFERWORD
42.2.4 KB BUFFER by TDL value
2.2.6 Set the TDL value to WORDI of KB READ BUFFER 2, 2.7 KB INT MASK OFF
Each of the above steps is as shown below (KB BUFFE
Roughly the same as RREAD processing, KB BUFFE
The difference from RREAD processing is KB BUFFERLOO
The point is that the K processing does not affect the buffer KB BUFFER at all.

KB  BUFFERLOOK処理のステップ2.2.
1は1.2.1に同じ、ステップ2.2.2は1.2.
2に同じ、ステップ2.2.3は1.2.3に同じ、ス
テップ2.2゜4は1.2.4に同じ、ステップ2.2
.5は1.2.5に同じ、ステップ2.2.6は1.2
.6に同じ、ステップ2.2.7は1.2.10に同じ
である。
Step 2.2 of KB BUFFERLOOK processing.
1 is the same as 1.2.1, step 2.2.2 is the same as 1.2.
2, step 2.2.3 is the same as 1.2.3, step 2.2゜4 is the same as 1.2.4, step 2.2
.. 5 is the same as 1.2.5, step 2.2.6 is 1.2
.. Step 2.2.7 is the same as 1.2.10.

上述のようにしてMAIN2の処理を行う。The MAIN2 process is performed as described above.

次にキーボードKBが操作されたときの処理を説明する
。第17図はKB入力処理のフローを示す。
Next, the processing when the keyboard KB is operated will be explained. FIG. 17 shows the flow of KB input processing.

各ステップの内容は以下に示す。The contents of each step are shown below.

3、I  KB  INT  MASK  ON3.2
  KBからDATAを入力する。
3.IKB INT MASK ON3.2
Input DATA from KB.

3.3  FG処理(フラッグ等のセット)3.4  
有効データか? 3.5  入力データは、BSコードか?3.6  B
S処理(KB  BUFFERからデータをして取り除
く処理) 3.7  コードコンバージョン処理 3.8  KB  BUFFER書込処理3.9  濁
点、半濁点処理 3、lOローマ字カナ変換処理 3.11  卒中処理 3.12  DECIMAL 処理 3.13  DISPLAY処理 3.14KBINTMASKOFF 上述のようにステップ3.1でKB  INT  MA
SKONL、、ステップ3.2で、KBからデータを入
力する。次のステップ3.3で、FG処理(入力モード
3.3 FG processing (setting flags, etc.) 3.4
Is it valid data? 3.5 Is the input data a BS code? 3.6 B
S processing (processing to remove data from KB BUFFER) 3.7 Code conversion processing 3.8 KB BUFFER writing processing 3.9 Voiced tone, handakuten processing 3, lO romaji kana conversion processing 3.11 Stroke processing 3.12 DECIMAL Processing 3.13 DISPLAY Processing 3.14 KBINTMASKOFF KB INT MASKOFF in step 3.1 as described above
SKONL,,In step 3.2, input data from the KB. In the next step 3.3, FG processing (input mode).

シフト等のセットを行う)ステップ3.4で入力したデ
ータが、KB  BUFFERの変化に対して有効なデ
ータか否かを判断し、有効であるならステップ3,5に
進み、無効であるならステップ3.14に進む。
(set shifts, etc.) Determine whether the data input in step 3.4 is valid data for the change in KB BUFFER, and if it is valid, proceed to steps 3 and 5; if invalid, proceed to step Proceed to 3.14.

ステップ3.5で入力したデータはBSコードか?BS
コードであるなら゛ステップ3.6に進む。そうでない
ならステップ3.7に進む。
Is the data entered in step 3.5 a BS code? B.S.
If it is a code, proceed to step 3.6. If not, proceed to step 3.7.

ステップ3.6でBS処理(KB  BUFFERから
データを1つ取除<)シ、ステップ3.14に進む。
In step 3.6, BS processing (remove one data item from KB BUFFER) is performed, and the process proceeds to step 3.14.

ステップ3.7でコードコンバージョン処理(KBBU
FFERにデータを1つつめ込むための準備としてKB
から入力されたデータのKBコードを内部処理用の内部
コードに変換する)次のステップ3.8でKB  BU
FFER書き込み処理(変換された内部コードをバッフ
ァKB  BUFFERに書き込む)をし、ステップ3
.9で濁点、半濁点処理(KB  BUFFER内デー
タに対データ点半濁点処理を行い、濁点半濁点処理が成
されたDATA  LENGTH即ちKBBUFFER
WORDlを決定する)をする。
In step 3.7, code conversion processing (KBBU
KB in preparation for loading one piece of data into FFER
Convert the KB code of the data input from BU into an internal code for internal processing) In the next step 3.8
Perform FFER write processing (write the converted internal code to the buffer KB BUFFER) and proceed to step 3.
.. 9, the data in KB BUFFER is processed with voiced and half-voiced points, and the DATA LENGTH that has been processed with voiced and half-voiced points, that is, KBBUFER.
(determine WORDl).

ステップ3.10でローマ字カナ変換処理(KBBUF
FER内のデータに対してローマ字カナ変換処理を行い
、ローマ字カナ変換処理が成されたDATA  LEN
GTH即ちKB  BUFFERWORD2を決定する
)をし、ステップ3.11で卒中処理(KBBUFFE
R内のDATAに対して卒中処理を行い、卒中処理が成
されたDATA  LENGTH即ちKBBUFFER
のWORD3の値を決定する)をする。
In step 3.10, Romaji-kana conversion processing (KBBUF)
Romaji-kana conversion processing is performed on the data in FER, and DATA LEN is the data that has undergone Romanji-kana conversion processing.
GTH, that is, determine KB BUFFERWORD2), and in step 3.11, process the stroke (KBBUFFE
Stroke processing is performed on DATA in R, and DATA LENGTH, that is, KBBUFER, for which stroke processing has been completed.
(Determine the value of WORD3).

ステップ3.12でDECIMAL処理(KB  BU
FFER内のデータに対してDECIMAL処理が成さ
れたDATA  LENGTH即ちKB  BUFFE
RWORD4の値を決定する)をし、KB  BUFF
ERに蓄えられたデータの内KB  BUFFERWO
RD4に蓄えられた値のDATA  LENGTHが真
に有効なりATAとなる。ステップ3.13でDISP
LAY処理(KBBUFFER内のDATAをCR7画
面上にDISPLAYする)をする。次にステップ3.
14でKB  INTMASK  0FFL、て、処理
を終了する。
In step 3.12, DECIMAL processing (KB BU
DATA LENGTH i.e. KB BUFFE where DECIMAL processing has been performed on the data in FFER
determine the value of RWORD4) and set KB BUFF
KB BUFFERWO of data stored in ER
If the value DATA LENGTH stored in RD4 is truly valid, it becomes ATA. DISP in step 3.13
Perform LAY processing (DISPLAY the DATA in KBBUFFER on the CR7 screen). Next step 3.
KB INTMASK 0FFL at 14, and the process ends.

上述のフローに於いて示されるFG処理をさらに説明す
る。第18図はその詳細を示すフローで、以下にその各
ステップを示す。
The FG processing shown in the above flow will be further explained. FIG. 18 is a flow showing the details, and each step will be shown below.

3.3.1  入力したデータはモードキーコードか?
〔モードキー:ローマ字キー、カナキー〕3.3.2 
 ローマ字入力FGをセット又はリセット3.3.3 
 入力したデータは巾指定キーコードか?〔中指定キー
:全巾キー、半巾キー〕 3.3.4  全巾AWFGをセット又はリセット3.
3.5  入力したDATAはシフトキーコードか?ブ 3.3.7  入力したデータはDECIMALキーか
?3.3.8  DECIMAL  FGが既にセット
されているか? 3.3.9  DECIMAL  FG  5ET3.
3.IO大入力たデータを有効データであると判断する
3.3.1 Is the input data a mode key code?
[Mode key: Romaji key, Kana key] 3.3.2
Set or reset Romaji input FG 3.3.3
Is the input data a width specified key code? [Medium specification key: full width key, half width key] 3.3.4 Set or reset full width AWFG 3.
3.5 Is the input DATA a shift key code? 3.3.7 Is the input data a DECIMAL key? 3.3.8 Is DECIMAL FG already set? 3.3.9 DECIMAL FG 5ET3.
3. The data that has been input at IO is determined to be valid data.

3.3.ll 入力したデータを無効データであると判
断する。
3.3. ll Determine the input data as invalid data.

上述に示したようにステップ3.3.1. 3,3.2
で入力したデータがモードキーであったら、ローマ字キ
ーかカナキーかに従ってローマ字フラッグFGのセット
又はリセットを行う。次のステップ3.3.3゜3.3
.4で入力したデータが巾指定キーであったら食中キー
かカナキーかに従って食中フラッグAWFGをセット又
はリセットする。
As indicated above, step 3.3.1. 3,3.2
If the data input in is a mode key, the Roman character flag FG is set or reset depending on whether the data is a Roman character key or a Kana key. Next step 3.3.3゜3.3
.. If the data input in step 4 is the width designation key, the eating flag AWFG is set or reset depending on whether the eating key is the eating key or the kana key.

ステップ3.3.5. 3.3.6で入力したデータが
シフトキーであったら英大記シフトキーか、英小数シフ
トキーか、カタカナシフトキーか、カタカナ小シフトキ
ーか、ひらがなシフトキーか、ひらがな小シフトキーか
に従ってシフトレジスタSRに該当シフトコードをセッ
トする。
Step 3.3.5. 3. If the data input in 3.6 is a shift key, enter the corresponding shift code in the shift register SR depending on whether it is an English shift key, an alphanumeric shift key, a katakana shift key, a katakana small shift key, a hiragana shift key, or a hiragana small shift key. Set.

ステップ3.3.7〜3.3.9で入力したデータがD
ECIMALキーであったならデジタルフラッグDEC
IMAL  FGをセットする。
The data entered in steps 3.3.7 to 3.3.9 is
If it is an ECIMAL key, it is a digital flag DEC.
Set IMAL FG.

ステップ3.3.10. 3.3.11で入力したデー
タがモードキー、巾指定キー、シフトキー又はデジタル
フラッグDECIMAL  FGがセットされていた時
のDECIMALキーであった時は、入力したデータを
無効データと判断し、それ以外のデータであったら有効
データと判断し、FG処理を終了する。
Step 3.3.10. 3. If the data input in 3.11 is a mode key, width specification key, shift key, or DECIMAL key when the digital flag DECIMAL FG is set, the input data will be judged as invalid data and other If the data is, it is determined to be valid data and the FG processing is terminated.

次にステップ3.6のBS処理を第19図を参照して説
明する。各ステップの内容は以下に示す。
Next, the BS processing in step 3.6 will be explained with reference to FIG. The contents of each step are shown below.

3.6.I  KB BUFFERのWORDO≠0?
3.6.2  KB  BUFFERのWORDOデク
リメント3.6.3  KB BUFFER WORDO≧WORDI? 3.6,4  KB BUFFERのWORDIデクリ
メント3.6.5  KB BUFFER WORDO≧WORD2’i’ 3.6.6  KB BUFFERのWORD2デクリ
メント3.6.7  KB BUFFER WORDO≧WORD3? 3.6.8  KB BUFFER(7)WORD3デ
クリメント3.6.9  KB BUFFER WORDO≧WORD4 ? 3.6,10 KB BUFFERのWORD4デクリ
メント3.6.11 DISPLAY処理3.13上述
した如くステップ3.6.1〜3.6.10でKBBU
FFERからそこに格納されているデータを1つ取り除
(。そのためにKB  BUFFEHのWORDOをデ
クリメントする。父性のWORDI〜WORD4までも
、もし、WORDOより大になるものがあったら、その
WORDに限りデクリメントする。次のステップ3.6
.11でKB  BUFFERを表示装置CRTにDI
SPLAYLでBS処理を終了する。
3.6. I KB BUFFER WORDO≠0?
3.6.2 WORD decrement of KB BUFFER 3.6.3 KB BUFFER WORDO≧WORDI? 3.6,4 KB BUFFER WORDI decrement 3.6.5 KB BUFFER WORDO≧WORD2'i' 3.6.6 KB BUFFER WORD2 decrement 3.6.7 KB BUFFER WORDO≧WORD3? 3.6.8 KB BUFFER (7) WORD3 decrement 3.6.9 KB BUFFER WORDO≧WORD4? 3.6, 10 WORD4 decrement of KB BUFFER 3.6.11 DISPLAY processing 3.13 KBBU in steps 3.6.1 to 3.6.10 as described above
Remove one piece of data stored there from FFER (for that purpose, decrement the WORD of KB BUFFEH.If there is a data larger than WORD of paternity, WORDI to WORD4 of paternity, only that WORD Decrement. Next step 3.6
.. 11, DI the KB BUFFER to the display device CRT.
BS processing is ended with SPLAYL.

次にステップ3.7のコードコンバージョン処理をさら
に説明する。第20図はそのフローを示し、その内容を
以下に示す。
Next, the code conversion process in step 3.7 will be further explained. FIG. 20 shows the flow, and its contents are shown below.

3.7.1  KBから入力されたデータのコードをK
B・ コード・内部コード変換テーブルを参照し、内部
コードに変換し、内部コー ドレジスタに入る。
3.7.1 Code of data input from KB
B. Refers to the code/internal code conversion table, converts it to an internal code, and stores it in the internal code register.

3.7.2  ローマ字入力FGはセットされているか
?3.7.3  現在のシフト状態は英大記シフト又は
英小数シフトか? 3.7.4  内部コードレジスタIRFGのbit8
を1にセットする。
3.7.2 Is the Romaji input FG set? 3.7.3 Is the current shift state an English-daiji shift or an English-decimal shift? 3.7.4 Bit 8 of internal code register IRFG
Set to 1.

上述した如くステップ3.7.1〜3.7.4でKBか
ら入力したデータのKBコードを、KBコード内部コー
ド変換テーブルを用いて内部コードに変換し、その結果
を内部コードレジスタIREGに書き込む。
As described above, convert the KB code of the data input from the KB in steps 3.7.1 to 3.7.4 into an internal code using the KB code internal code conversion table, and write the result to the internal code register IREG. .

その際、ローマ字入力モードでかつカタカナシフト又は
カタカナ小シフト又はひらがな小シフトである時、内部
フードレジスタIREGに書き込んだデータのbit8
を1にして、該データがローマ字を構成する文字である
ことを示し、コードコンバージョン処理を終了する。 
・ 次にステップ3.8のKB  BUFFER書込処理の
詳細を説明する。第21図はそのフローで、その各ステ
ップの内容が以下に示される。
At that time, when in Roman alphabet input mode and in Katakana shift, Katakana small shift, or Hiragana small shift, bit 8 of the data written to internal food register IREG
is set to 1 to indicate that the data is a character constituting the Roman alphabet, and the code conversion process ends.
- Next, details of the KB BUFFER write process in step 3.8 will be explained. FIG. 21 shows the flow, and the contents of each step are shown below.

3.8.1  KBB (WORDO+1)竺内部コー
ドレジスタ即ちKB  BUFFERの[WORDOの
値+1]のアドレスで示されるDATA位置に、内部コ
ードレジスタの値を 書き込む 3 、8 、2  K B  B U F F E R
W ORD Oをインクリメントする。
3.8.1 KBB (WORDO+1) Write the value of the internal code register to the DATA location indicated by the address [WORDO value + 1] of the internal code register, that is, KB BUFFER 3, 8, 2 K B B U F F E R
Increment W ORD O.

上述した如(KB  BUFFERのDATA領域のD
ATA列末尾に内部コードレジスタ内の文字コードを付
は加えKB  BUFFER17)WORDI (DA
TALENGTH)をインクリメントし、KB  BU
FFER書込処理を終了する。
As mentioned above (D in the DATA area of KB BUFFER
The character code in the internal code register is added to the end of the ATA column and KB BUFFER17) WORDI (DA
TALENGTH) and increment KB BU
FFER write processing ends.

次にステップ3.9の濁点、半濁点処理の詳細を説明す
る。第22図はそのフローを示し、その各ステップの内
容を以下に示す。
Next, details of the voiced and handakuten processing in step 3.9 will be explained. FIG. 22 shows the flow, and the contents of each step are shown below.

3.9.1  ローマ字 FG=1’i’3.9.2 
 WORDO>WORDI ?3.9,3  KB  
BUFFER(WORDO)は濁点コード(゛)又は半
濁点コードか? 3.9.4  KB BUFFER WORDO≧WORDI+2’i’ 3.9.5  WORDI:WORDO−13,9,6
KB  BUFFER(以下KBB)(WORDO)は
濁点又は半濁点可能コードか? 3.9.7   woRDl =woRn。
3.9.1 Roman alphabet FG=1'i'3.9.2
WORDO>WORDI? 3.9,3 KB
Is BUFFER (WORDO) a voiced mark code (゛) or a handakuten code? 3.9.4 KB BUFFER WORDO≧WORDI+2'i' 3.9.5 WORDI:WORDO-13,9,6
Is KB BUFFER (KBB) (WORDO) a voiced or handakuten code? 3.9.7 woRDl = woRn.

3.9.8   WORDO≧WORDI +273.
9.9  濁点、半濁点テーブルDHTを参照しKBB
(WORDO−1)、 KBB (WORDO)の2コ
ードをJIS漢字コードに変更し、その結果をKBB 
(WORDO−1)の値とする。
3.9.8 WORDO≧WORDI +273.
9.9 KBB by referring to the voiced and handakuten table DHT
Change the two codes (WORDO-1) and KBB (WORDO) to JIS Kanji code, and convert the result to KBB.
The value is (WORDO-1).

3.9.10  WORDO;WORDO−13,9,
11WORDIミWORDO 上述した如くステップ3.9.1でローマ字FG=1の
時ステップ3,9.11に進む、FG=0のときステッ
プ3.9.2に進む、即ちカナ入力モードの時ステップ
3.9.2以降の処理が実行される。
3.9.10 WORDO; WORDO-13,9,
11 WORDI WORDO As mentioned above, when Romaji FG=1 in step 3.9.1, proceed to step 3,9.11, when FG=0, proceed to step 3.9.2, that is, when in kana input mode, proceed to step 3 .9.2 and subsequent processes are executed.

ステップ3.9.2でKB  BUFFERWORDO
>WORDIの時、処理対象の文字列が存在するのでス
テップ3.9.3に進む。即ち、WORDOとWORD
Iとにはさまれる文字列が処理対象文字列である。
KB BUFFERWORDO in step 3.9.2
>WORDI, there is a character string to be processed, so proceed to step 3.9.3. That is, WORDO and WORD
The character string sandwiched between I and I is the character string to be processed.

別の言い方をすると、KB  BUFFER内DATA
の内WORDI1.:示される値のDATA  LEN
GTH+1mついては濁点、半濁点処理は終了している
ため、それ以外のデータについて処理を行うためステッ
プ3.9.3に進む。
In other words, the DATA in KB BUFFER
Of these, WORDI1. : DATA LEN of the indicated value
Since the voiced and half-voiced sound processing for GTH+1m has been completed, the process proceeds to step 3.9.3 to process other data.

ステップ3.9.3t’KBB (WORDO)は濁点
コード又は半濁点コードかチェックする。KBB(WO
RDO)が濁点コード又は半濁点コードであるならばス
 テップ3.9.8に進む。それ以外の時ステップ3.
9.4に進む。
Step 3.9.3 t'KBB (WORDO) checks whether it is a voiced mark code or a handakuten code. KBB(WO
If RDO) is a voiced or handakuten code, proceed to step 3.9.8. Otherwise, step 3.
Proceed to 9.4.

(ここで、KBB (WORDO)とは、KB  BU
FFER内データの白データRDO番目のデータを示す
。以下同様) ステップ3.9.4でWORDO≧WORD!+2であ
るならステップ3.9.5に進む、そうでないならステ
ップ3.9.6に進む。
(Here, KBB (WORDO) means KB BU
Indicates the white data RDO-th data in the FFER data. (Same below) In step 3.9.4, WORD≧WORD! If +2, proceed to step 3.9.5, otherwise proceed to step 3.9.6.

(ここで、WORDOとはKB  BUFFERの第1
W目を指す。以下同様) ここでWORDO≧WORD1+2とはKBからデータ
を入力する前に濁点、半濁点処理が行われていないデー
タがKB  BUFFERに存在していたか否かをチェ
ックすることに相当する。
(Here, WORDO is the first word of KB BUFFER.
Point to W. (Similarly below) Here, WORDO≧WORD1+2 corresponds to checking whether or not data that has not been subjected to voiced-tone or hand-voiced point processing exists in the KB BUFFER before inputting data from the KB.

ステップ3.9.5でWORDIにWORDO−1の値
をセットする。即ちKBB (WORI)O)が濁点又
は半濁点コードでなかったことによりKBB (WOR
DO−1)までのコードはすべて、濁点又は半濁点によ
るコード変更はないことになり、それらのコードは濁点
、半濁点対象文字からはずす。
In step 3.9.5, set WORDI to the value of WORDO-1. In other words, since KBB (WORI) O) was not a voiced or handakuten code, KBB (WOR
All the codes up to DO-1) are not changed by voiced or handakuten, and these codes are excluded from the characters subject to voiced or handakuten.

ステップ3.9.6でKBB(WORDo)が濁点又は
半濁点可能であるコードであるならWORDIの値を変
更せずにリターンする。即ち次にKBより入力するデー
タによってはコードが変更する可能性が有り、KBB 
(WORDO)は濁点、半濁点対象文字のままである。
In step 3.9.6, if KBB (WORDo) is a code that can be voiced or half-voiced, the process returns without changing the value of WORDI. In other words, the code may change depending on the data input next from KB,
(WORDO) remains a voiced and handakuten character.

KBB (WORDO)が濁点。KBB (WORDO) is a voiced mark.

半濁点可能でないなら、KBB (WORDO)を濁点
If it is not possible to use a half-voiced mark, use a half-voiced mark for KBB (WORDO).

半濁点対象コードからはずすためステップ3.9.7に
進む。
Proceed to step 3.9.7 to remove it from the handakuten target chord.

ステップ3.9.7 テ、WORDIl、:WORDO
の値を設定する。その後リターンする。
Step 3.9.7 Te, WORDIl, :WORDO
Set the value of Then return.

ステップ3.9.8 テ、WORDO≧WORD1+2
であるならステップ3.7.9に進む。それ以外ならス
テップ3.9.10に進む。
Step 3.9.8 Te, WORDO≧WORD1+2
If so, proceed to step 3.7.9. Otherwise, proceed to step 3.9.10.

即ちKBから濁点又は半濁点コードが入力する前にバッ
ファKB  BUFFER内に濁点、半濁点対象文字が
存在したならば3.9.9に進む。
That is, if a voiced or handakuten target character exists in the buffer KB BUFFER before a voiced or handakuten code is input from KB, the process proceeds to 3.9.9.

ステップ3.9.9 テ、KBB (WORDO−1)
、KBB(WORDO)の2コードを濁点、半濁点テー
ブルDHTを参照して濁点付又は半濁煮付の16bit
内部コードに変更し、ソノ値をKBB (WORDO−
1) の値とする。
Step 3.9.9 Te, KBB (WORDO-1)
, 16 bits of KBB (WORDO) with voiced and half-voiced points with voiced and half-voiced points by referring to the table DHT.
Change the internal code and set the sono value to KBB (WORDO-
1) The value shall be .

ステップ3.9.10で、WORDOをデクリメントす
る。
In step 3.9.10, WORDO is decremented.

ステップ3.9.11テ、WORDIをWORDOf!
:同じ値とし、濁点、半濁点処理を終了する。
Step 3.9.11, WORDOf!
: Set to the same value and end voiced and handakuten processing.

次にステップ3.10のローマ字カナ変換処理の詳細を
第23図に示す。第23図に示す各ステップの内容を以
下に示す。
Next, the details of the Romaji-kana conversion process in step 3.10 are shown in FIG. The contents of each step shown in FIG. 23 are shown below.

3.10.1  ローマ字 FG=1?3.10.2 
 WORDI>WORD2?3.10.3  KBB 
(WORDI) (7)bit8=1 ’i’3.10
.4  KBB (WORDI) (D bit8=0
3.10.5  KBB (WORD2+1) KBB
 (WORDI)までのローマ字コード列はカナコー ド列に変換できるか?(ローマ字カナ 変換テーブルRKCTを参照し調べる)3.10.6 
  KBB(WORD2+1)からKBB(WORDI
)までのローマ字コード列をカナコー ド列に変換しくローマ字カナ変換 テーブルを参照)、変換した結果を 再びKBB (WORD2+1)からKBB(WORD
りまでの位置に書き込む。
3.10.1 Roman alphabet FG=1?3.10.2
WORDI>WORD2?3.10.3 KBB
(WORDI) (7) bit8=1 'i'3.10
.. 4 KBB (WORDI) (D bit8=0
3.10.5 KBB (WORD2+1) KBB
Can the Roman code string up to (WORDI) be converted to a Kana code string? (Check by referring to Romaji-kana conversion table RKCT) 3.10.6
KBB(WORD2+1) to KBB(WORDI
) to convert Romaji code strings to Kana code strings, refer to the Romaji Kana conversion table), and convert the converted results from KBB (WORD2+1) to KBB (WORD
Write to the position up to

3.10.7  LEN !:ローマ字コード列の長さ
−カナコード列の長さ 3.10.8  WORDO:WORDO−LEN3.
10.9  WORDI’:WORDl−LEN3.1
0.10  WORD2:WORDI上述したようにス
テップ3.10.1で、ローマ字FG=1のときステッ
プ3.10.2に進む。ローマ字FG=Oのときステッ
プ3.10.10に進む。
3.10.7 LEN! : Length of Romaji code string - Length of Kana code string 3.10.8 WORDO: WORDO-LEN3.
10.9 WORDI': WORDl-LEN3.1
0.10 WORD2: WORDI As described above, in step 3.10.1, if Roman FG=1, proceed to step 3.10.2. When Roman FG=O, proceed to step 3.10.10.

ステップ3.10.2で、WORDI>WORD2であ
るならローマ字カナ変換処理対象文字列がKBBUFF
ER内に存在するためステップ3.10.3に進む。そ
れ以外の時リターンする。
In step 3.10.2, if WORDI>WORD2, the character string to be processed for Romaji-kana conversion is KBBUFF.
Since it exists in the ER, proceed to step 3.10.3. Returns at other times.

ステップ3.10.3で、KBB (WORDI)のb
it8が1であるなら、KBB (WORDI)はロー
マ字カナ変換処理対象文字であり、ステップ3.10.
4に進む。それ以外の時ステップ3.IO,10に進む
In step 3.10.3, b of KBB (WORDI)
If it8 is 1, KBB (WORDI) is a character to be processed for Romaji-kana conversion processing, and step 3.10.
Proceed to step 4. Otherwise, step 3. Proceed to IO, 10.

ステップ3.10.4で、KBB (WORDI)のb
it8=0とする。
In step 3.10.4, b of KBB (WORDI)
Let it8=0.

ステップ3.IO,5で、ローマ字カナ変換テーブルR
KCTを参照し、KBB (WORD2+1)からKB
B(WORDI)までのローマ字コード列がカナコード
列に変換できるか否かチェックする。もし変換できるな
らステップ3.10.6に進む、否ならリターンする。
Step 3. Romaji kana conversion table R with IO,5
Refer to KCT and from KBB (WORD2+1) to KB
Check whether the Roman code string up to B (WORDI) can be converted into a Kana code string. If the conversion is possible, proceed to step 3.10.6; otherwise, return.

ステップ3.10.6で、KBB (WORD2+1)
からKBB (WORDI)までのローマ字コード列を
カナコード列に変換し、変換した結果を再びKBB(W
ORD2+1)〜KBB (WORDI)までの値とす
る。
In step 3.10.6, KBB (WORD2+1)
Convert the Romaji code string from
ORD2+1) to KBB (WORDI).

ステップ3,10.7でローマ字コード列の長さとカナ
コード列の長さの差をLENとする。
In step 3, 10.7, the difference between the length of the Roman alphabet code string and the length of the Kana code string is set as LEN.

ステップ3.10.8で、WORDOの値をレジスタL
ENの値だけ減する。
In step 3.10.8, set the value of WORDO to register L.
Decrease by the value of EN.

ステップ3.10.9で、WORDIの値をレジスタL
ENの値だけ減する。
In step 3.10.9, set the value of WORDI to register L.
Decrease by the value of EN.

ステップ3.10.10で、WORD2の値をWORD
Iの値にしてローマ字カナ変換処理を終了する。
In step 3.10.10, set the value of WORD2 to WORD
The value of I is set and the Romaji-kana conversion process ends.

次にステップ3.11の半巾処理の詳細を第24図(a
)、 (b)に示す、各ステップの内容は以下に示す。
Next, the details of the half-width processing in step 3.11 are shown in Figure 24 (a
) and (b), the contents of each step are shown below.

3.11.1  卒中フラグHW  FG=1?3.1
1.2  WORD2>WORD3?3.11.3  
DECIMAL  FG二1?3.11.4  KBB
 (WORD2)は、パッキング可能な文字コードか? 3.11.5  WORD2≧WORD3+273.1
1.6  KBB(WORD2−1)とKBB(WOR
D2)とをパッキングし、KBB (WORD2−1)
に、その結果を書き込む。
3.11.1 Stroke flag HW FG=1?3.1
1.2 WORD2>WORD3?3.11.3
DECIMAL FG21?3.11.4 KBB
Is (WORD2) a packable character code? 3.11.5 WORD2≧WORD3+273.1
1.6 KBB (WORD2-1) and KBB (WOR
D2) and KBB (WORD2-1)
Write the result to .

3.11.7  WORDO’:WORDO−1WOR
DI :WORDl−1 WORD2竺WOR’D2−1 WORD3 : WORD2 3.11.8    WORD2≧WORD3+273
.11.9   KBB (WORD2−1)とスペー
スコードとをパッキングし、その結果をKBB(woR
D2−1)の値とする。
3.11.7 WORDO': WORDO-1WOR
DI: WORDl-1 WORD2 WOR'D2-1 WORD3: WORD2 3.11.8 WORD2≧WORD3+273
.. 11.9 Pack KBB (WORD2-1) and space code, and save the result to KBB (woR
D2-1).

3.11.10  WORD3”:WORD23.11
.11  KBB(WORD2)はDECIMAL T
AB終了コードか? 3.11.12  (WORD2〜WORD3)の値は
奇数か? 3.11.13  KBB (WORD3+1)〜KB
B (WORD2−1)までのコードを2コードずつ パッキングし、その結果再びKBB (WORD3+1)以降の値とする。
3.11.10 WORD3”: WORD23.11
.. 11 KBB (WORD2) is DECIMAL T
Is it an AB exit code? 3.11.12 Is the value of (WORD2~WORD3) an odd number? 3.11.13 KBB (WORD3+1) ~KB
The codes up to B (WORD2-1) are packed into two codes at a time, and as a result, the values after KBB (WORD3+1) are set again.

3.11.15  スペースコード及びKBB (WO
RDa十1) 〜KBB (WORD2−1)まテノコ
ードを2コードずつ、パッキングし、その結果を再びK
BB (WORD3+1)以降の値とする。
3.11.15 Space code and KBB (WO
RDa 11) ~KBB (WORD2-1) Pack the teno chords 2 chords at a time, and then re-pack the result.
The value shall be after BB (WORD3+1).

3.11.17   WORD3”=WO’RD3+D
F3.11.18   DF REG竺WORD2−W
ORD3−13.11.19   WORDO’;WO
RDO−DFWORDI’:WORDI−DF WORD2竺WORD2−DF 上述に示したようにステップ3,11.1で、卒中フラ
ッグHW  FG=1ならステップ3.11.2に進む
。半巾フラッグHW  FG=Oならステップ3.11
.10に進む。
3.11.17 WORD3”=WO'RD3+D
F3.11.18 DF REG WORD2-W
ORD3-13.11.19 WORDO';WO
RDO-DFWORDI': WORDI-DF WORD2-DF WORD2-DF As shown above, if the stroke flag HW FG=1 in step 3, 11.1, proceed to step 3.11.2. Half-width flag HW If FG=O, step 3.11
.. Proceed to step 10.

ステップ3.11.2で、WORD2>WORD3なら
ば卒中処理対象文字列が存在するのでステップ3.11
.3に進む。それ以外はリターンする。
In step 3.11.2, if WORD2>WORD3, there is a character string to be processed for stroke, so step 3.11
.. Proceed to step 3. Otherwise, return.

ステップ3.11.3で、DECIMAL  FG=1
ならステップ3.11.11に進む(DECIMAL半
巾処理)。
In step 3.11.3, DECIMAL FG=1
If so, proceed to step 3.11.11 (DECIMAL half-width processing).

半巾CIMAL  FG=Oならステップ3.11.4
に進む(DECIMAL全巾処理)。
Half-width CIMAL If FG=O, step 3.11.4
Proceed to (DECIMAL full width processing).

全子処理3.11.4 テ、KBB (WORD2) 
はパ’7キング可能文字かチェックする。ここで言うパ
ッキングとは、卒中文字コードにすべき文字コード(1
文字でIW)を2文字組合わせて卒中の内部コード(2
文字でIW)に変換することを言う。本実施例において
卒中が可能な文字コードとはスペースコード、アルファ
ベットコード、数字コードおよびピリオドコードである
All child processing 3.11.4 Te, KBB (WORD2)
Checks whether the character is a pa'7gable character. Packing here refers to the character code (1
The internal code for stroke (2) is created by combining two letters (IW)
It means to convert to IW) in letters. In this embodiment, the character codes that can cause strokes are space codes, alphabet codes, numeric codes, and period codes.

KBB (WORD2)がパッキング可能文字コードで
あるならステップ3.11.5に進む。否なら3,11
 。
If KBB (WORD2) is a packable character code, proceed to step 3.11.5. If no, 3,11
.

8に進む。Proceed to step 8.

ステップ3.11.5 テ、WORD2≧WORD3+
2であるなら、即ちKBB (WORD2)以外に既に
KBBUFFER内に半巾処理対象列が存在していたな
らステップ3.11.6に進む。否ならリーターンし、
次にKBからの入力を待つ。
Step 3.11.5 Te, WORD2≧WORD3+
2, that is, if there is already a half-width processing target column in KBBUFER other than KBB (WORD2), the process advances to step 3.11.6. If no, return.
Next, it waits for input from KB.

ステップ3.11.6で、KBB (WORD2)とK
BB(WORD3)とをパッキングし、KBB (WO
RD2−1)とその結果を書き込む。
In step 3.11.6, KBB (WORD2) and K
Pack BB (WORD3) and KBB (WO
RD2-1) and its results are written.

パッキングの方法については後述する。The packing method will be described later.

ステ’7フ3.11.7テ、WORDO,WORDI、
WORD2の値から1を減するWORD3の値をWOR
D2の値にする。然る後リーターンする。
Step '7fu 3.11.7te, WORDO, WORDI,
WOR the value of WORD3 which subtracts 1 from the value of WORD2
Set it to the value of D2. After that, I will return.

ステップ3.11.8で、WORD2≧WORD3+2
であるなら、即ちKB  BUFFER内に単独で卒中
対象文字が存在しているならステップ3.11.9に進
む。否なら3.11.10に進む。
In step 3.11.8, WORD2≧WORD3+2
If so, that is, if the stroke target character exists alone in the KB BUFFER, proceed to step 3.11.9. If not, proceed to 3.11.10.

ステップ3.11.9で、KBB (WORD2−1)
とスペースコードとをパッキングし、その結果をKBB
(WORD2−1)の値とする。
In step 3.11.9, KBB (WORD2-1)
and space code, and send the result to KBB.
(WORD2-1).

ステップ3.11.toで、WORD3の値をWORD
2の値にセットする。
Step 3.11. to, WORD the value of WORD3
Set to a value of 2.

ステップ3,11.11で、KBB(WORD2)がD
ECIMALTAB終了コードであるならステップ3゜
11.12に進む、否ならリターンする。即ちステップ
3.11゜12以降は、DECIMAL  TABモー
ドが終了してから行う。ここでDECIMAL  TA
B終了コードとは、数字以外のコードのことである。
In step 3, 11.11, KBB (WORD2) is D
If it is an ECIMALTAB end code, proceed to step 3.11.12; otherwise, return. That is, steps 3.11 and 12 are performed after the DECIMAL TAB mode is completed. Here DECIMAL TA
The B end code is a non-numeric code.

ステップ3.11.12で、WORD2−WORD3の
値が奇数であるならステップ3.11.13に進む。
In step 3.11.12, if the value of WORD2-WORD3 is an odd number, proceed to step 3.11.13.

否ならステップ3.11.15に進む。If not, proceed to step 3.11.15.

ステップ3,11.13で、KBB (WORD3+1
)〜KBB (WORD2−1)までのコード列を2コ
ードずつパッキングし、その結果再びKBB (WOR
D3+1)以降の値とする。
In step 3, 11.13, KBB (WORD3+1
) to KBB (WORD2-1) are packed 2 codes at a time, and as a result, KBB (WOR
D3+1) onwards.

ステップ3.11.14で、(WORD2−WORD3
−1)/2の値を計算し、その結果をDF  REGに
入れる。
In step 3.11.14, (WORD2-WORD3
-1)/2 and put the result in DF REG.

然る後ステップ3.11.17に進む。Then proceed to step 3.11.17.

ステップ3.11.15で、スペースコード及びKBB
(WORDa+1)〜KBB (WORD2−1)まで
のコードを2コードずつパッキングし、その結果得られ
たコードをKBB (WORD3+1)以降の値とする
In step 3.11.15, space code and KBB
The codes from (WORDa+1) to KBB (WORD2-1) are packed two codes at a time, and the resulting codes are set as values after KBB (WORD3+1).

ステップ3.11.16で、(WORD2−WORD3
)/2を計算し、その値をDF  REGに入れる。
In step 3.11.16, (WORD2-WORD3
)/2 and put that value in DF REG.

ステップ3.11.17で、WORD3の値をDF  
REGの値だけ増加させる。
In step 3.11.17, DF the value of WORD3
Increase by the value of REG.

ステップ3.11.18で、WORD2−WORD3−
1を計算し、その値をDF  REGに入れる。
In step 3.11.18, WORD2-WORD3-
1 and put that value in DF REG.

ステップ3.11.19で、WORDO,WORDI。In step 3.11.19, WORDO, WORDI.

WORD2のそれぞれの値からDF  REGの値を減
じ、半巾処理を終了する。
The value of DF REG is subtracted from each value of WORD2, and the half-width processing is completed.

次に上述のステップ3.11.6.3,11.9.3.
11゜13.3.11.15に於いて行われるパッキン
グ処理を第25図を用いて説明する。かかる処理は半巾
処理対象文字コードの2単位(2W)を卒中内部コード
(IW)にパッキングするための処理で、各ステップの
内容は以下に示す。
Next step 3.11.6.3, 11.9.3 above.
The packing process performed at 11°13.3.11.15 will be explained using FIG. This process is for packing two units (2W) of the character code to be subjected to half-width processing into an internal stroke code (IW), and the contents of each step are shown below.

4.1バツキング対象第1Wは食中のスペースコード又
はピリオドコードか? 4.2  パッキングレジスタのbitl−bit7を
0100000又は0101110とする。
4.1 Is the 1st W subject to backing a space code or a period code during an eclipse? 4.2 Set bitl-bit7 of the packing register to 0100000 or 0101110.

4.3  パッキングレジスタのbitl〜bit7を
パッキング対象第1Wのbit9〜bit15の値とす
る。
4.3 Set bitl to bit7 of the packing register to the values of bit9 to bit15 of the first W to be packed.

4.4  パッキング対象第2Wは食中のスペースコー
ド又はピリオドコードか? 4.5  パッキングレジスタのbit9〜bit15
を0100000又は0101110とする。
4.4 Is the second W to be packed a space code or a period code during the meal? 4.5 Packing register bit9 to bit15
is 0100000 or 0101110.

4.6  パッキングレジスタのbit9〜bit15
をパッキング対象第2Wのbit9〜bit15の値と
する。
4.6 Packing register bit9 to bit15
are the values of bits 9 to 15 of the second W to be packed.

上述に示す如くステップ4.1〜4.6により卒中対象
文字の第1Wのbit9〜bit15をパッキングレジ
スタのbitl=bit7に入れ、半巾対象文字の第2
Wのbit9〜bit15をパッキングレジスタのbi
t9〜bit15に入れる。その後パッキングレジスタ
のbitoを1にする。
As shown above, in steps 4.1 to 4.6, bits 9 to 15 of the first W of the stroke target character are placed in bitl=bit7 of the packing register, and the second bit of the half-width target character is
Bits 9 to 15 of W are bits of the packing register.
Enter in t9~bit15. After that, bito of the packing register is set to 1.

但し、パッキング対象文字コードがスペースコードまた
は、ピリオドコードであ、った時は、bit9〜bit
 l 5のかわりに0100000″または01011
10”を使用する。か(してパッキングレジスタにパッ
キングされた卒中内部コードを得ることができる。
However, when the character code to be packed is a space code or a period code, bit9 to bit
0100000″ or 01011 instead of l 5
10'' can be used to obtain the stroke internal code packed into the packing register.

第26図、第27図はパッキング処理の例で、第26図
は半巾パッキング、第27図も半巾パッキングの例を示
す。
FIGS. 26 and 27 show examples of packing processing. FIG. 26 shows an example of half-width packing, and FIG. 27 also shows an example of half-width packing.

次にステップ3,12のDECIMAL処理の詳細を第
28図に示す。各ステップの内容を以下に示す。
Next, the details of the DECIMAL processing in steps 3 and 12 are shown in FIG. The contents of each step are shown below.

3.12.1   DECIMAL  FG=1 ?3
.12.2  KBB (WORDO)はDECIMA
L TAB終了コードか? 3.12.3  DECIMAL  FGリセット3.
12.4  WORD4:WORD3上述した如くステ
ップ3.12.1で、DECIMALFG=1のときス
テップ3.12.2に進む。否の時ステップ3.12.
4に進む。
3.12.1 DECIMAL FG=1? 3
.. 12.2 KBB (WORDO) is DECIMA
L TAB end code? 3.12.3 DECIMAL FG reset 3.
12.4 WORD4: WORD3 As mentioned above, in step 3.12.1, if DECIMALFG=1, proceed to step 3.12.2. If no, step 3.12.
Proceed to step 4.

ステップ3.12.2でKBB(WORDO)がDEC
IMALTAB終了コードであるなら、ステップ3.1
2.3に進む。否ならリターンする。即ちDECIMA
L  TAB終了コードがKBから打鍵されるまでKB
 BUFFER内にDECIMAL  TABモードで
入力されたデータは、有効データとはなり得ない。ここ
でDECIMALTAB終了コードとは数字以外のコー
ドのことである。
In step 3.12.2 KBB (WORDO) is converted to DEC
If IMALTAB exit code, step 3.1
Proceed to 2.3. If no, return. That is, DECIMA
KB until L TAB end code is pressed from KB
Data input into the BUFFER in DECIMAL TAB mode cannot be valid data. Here, the DECIMALTAB end code is a non-numeric code.

ステップ3.12.3で、DECIMAL  FGを0
にする。
In step 3.12.3, set DECIMAL FG to 0
Make it.

ステップ3.12.4で、WORD4の値をWORD3
の値にし、DECIMAL処理を終了する。
In step 3.12.4, change the value of WORD4 to WORD3
, and end the DECIMAL processing.

次に上述に説明したバッファKB  BUFFER内の
データの状態を第29図(a)〜(f)を用いて説明す
る。
Next, the state of the data in the buffer KB BUFFER explained above will be explained using FIGS. 29(a) to 29(f).

(a)においては、BS(バックスペース)キーに対す
る処理例を示すもので、KB  BUFFER中の末尾
データであるD″が削除され、KB  BUFFERH
EADER部パラメータのDATA  LENGTHの
一部が減じられている様子がわかる。しかしながらWO
RD2以降には、その影響はおよばない。
In (a), an example of processing for the BS (backspace) key is shown, in which the last data D'' in KB BUFFER is deleted and KB BUFFERH
It can be seen that a part of the EADER section parameter DATA LENGTH has been reduced. However, W.O.
This effect does not extend to RD2 and later.

(b)においては、濁点キーに対する処理例を示すもの
である。WORDOの値には変化がないが、WORD2
が増加し、引いては、KB  BUFFERの有効DA
TA  LENGTHを示すWORD4の増加も見られ
る。
In (b), an example of processing for a voiced-tone key is shown. There is no change in the value of WORDO, but WORD2
increases, and subtracts the effective DA of KB BUFFER.
An increase in WORD4 indicating TA LENGTH is also seen.

(C)においては、ローマ字入力におけるKBBUFF
ER内の様子が見られる。この場合も、全DATA  
LENGTHを示すWORDOの値はかわらないが、有
効DATA  LENGTHを示すWORD4の値が増
加している様子がわかる。
In (C), KBBUFF in Romaji input
You can see what's going on inside the ER. In this case as well, all DATA
It can be seen that the value of WORD4, which indicates LENGTH, does not change, but the value of WORD4, which indicates effective DATA LENGTH, increases.

(d)は半巾入力モードにおいて、F”というキーを入
力した時のK B  B U F F E Rの様子で
ある。
(d) shows the state of K B B U F F E R when the key F" is input in the half-width input mode.

(e)は食中モードにおけるDECIMAL処理の様子
を示す。
(e) shows the state of DECIMAL processing in the meal mode.

(f)は卒中モードにおけるDECIMAL処理の様子
を示している 次にステップ3.13のDISPLAY処理について第
30図を参照して説明する。
(f) shows the DECIMAL processing in the stroke mode. Next, the DISPLAY processing in step 3.13 will be explained with reference to FIG.

各ステップの内容を以下に示す。The contents of each step are shown below.

3.13.I  CRT  REFRESHMEMOR
Yの第8行目に相当する位置にすべてスペース コードを埋める。
3.13. I CRT REFRESH MEMOR
Fill in space codes in all positions corresponding to the 8th line of Y.

3.13.2  KBB (1)〜KBB (WORD
O)までのコードをCRT  REFRESHMEMO
RYの第8行第1桁の位置から順に書き込む、その際K
BB (WORD4+1)〜KBB(WORDO)まで
はbit8=1に変換し書き込む。(但しWORD4=
WORDOの時は不必要) 3.13.3  カーソルコードをCRT  REFR
ES)IMEMORYの第8行第[wORDO+13桁
の位置に書き込む。
3.13.2 KBB (1) ~ KBB (WORD
CRT REFRESHMEMO the code up to O)
Write in order starting from the 8th row, 1st digit of RY, at which time K
BB (WORD4+1) to KBB (WORDO) are converted to bit8=1 and written. (However, WORD4=
(Unnecessary when using WORDO) 3.13.3 CRT cursor code REFR
ES) Write to the 8th line [wORDO+13 digit position of IMEMORY].

上述したようにステップ3.13.1で、CRT RE
FRESHM E M ORYの第8行目に相当する位
置にすべてスペースコードを埋める。
In step 3.13.1 as described above, the CRT RE
Fill in space codes in all positions corresponding to the 8th line of FRESHM EMORY.

ステップ3.13.2で、KB  BUFFER内のデ
ータ(WORDOでその長さが規定される)をCRTR
EFRESHMEMORYの第8行目に相当する位置に
移す。この時WORDOとWORD4との値に相異があ
るならば、バッファKB  BUFFER内のDATA
の中の有効DATA  LENGTHと全< DATA
LENGTHの間に差があることになる。有効データは
表示装置CRTに普通輝度表示を行い。今だ有効データ
になっていないデータは低輝度表示を行うことにする。
In step 3.13.2, the data in KB BUFFER (its length is specified by WORDO) is sent to CRTR.
Move it to the position corresponding to the 8th line of EFRESHMEMORY. At this time, if there is a difference between the values of WORDO and WORD4, the DATA in the buffer KB BUFFER
Valid DATA LENGTH and total < DATA
There will be a difference between LENGTH. Valid data is displayed with normal brightness on the display device CRT. Data that is not yet valid data will be displayed with low brightness.

そのため第[WORD4+1]番目のデータから第(W
ORDO)番目のデータに対応するメモリCRT  R
EFRESHMEMORY内のデータのbit8を1に
する。
Therefore, from the [WORD4+1]th data to the (WORD4+1)th data
Memory CRT R corresponding to data of ORDO)
Set bit 8 of the data in EFRESHMEMORY to 1.

ステップ3,13.3で、第8行目に次にキーボードK
Bから入力すべきデータの位置を入力者に知らせるため
、カーソルコードをメモリCRT  REFRESHM
EMORYの第8行口笛[:WORDO+1)桁目の位
置に書き込む。カーソルコードは、カーソルパターンに
対応してつけられたコードである。
In step 3, 13.3, on the 8th line, next the keyboard K
In order to inform the inputter of the position of the data to be input from B, the cursor code is stored in the memory CRT REFRESHM.
Write in the 8th line whistle [:WORDO+1) digit position of EMORY. The cursor code is a code attached to correspond to a cursor pattern.

上述のようにしてDISPLAY処理を終了する。The DISPLAY process ends as described above.

以上説明した本実施例においては、卒中のDECIMA
L処理においてピリオドは小数点以下の数値とパッキン
グすることにしたが、第1の位の数値とピリオドとをパ
ッキングするように構成しても良い。
In this embodiment described above, DECIMA of stroke
In the L processing, the period is packed with the value below the decimal point, but it is also possible to pack the period with the number in the first digit.

本実施例においては有効データと未だ有効データとなっ
ていないデータとの区別を表示輝度を゛変えることによ
って行ったが、他に反転表示点滅表示、高輝度表示等に
よる区別の方法も考えられる。
In this embodiment, valid data and data that is not yet valid are distinguished by changing the display brightness, but other methods such as inverted display, blinking display, high-intensity display, etc. are also conceivable.

本実施例では入力したデータを順に表示していく入力モ
ータ装置を説明したが、入力モータ装置に限らず入力手
段と出力手段を有する任意の文字処理装置に適用できる
In this embodiment, an input motor device that sequentially displays input data has been described, but the invention is not limited to the input motor device, but can be applied to any character processing device having an input means and an output means.

[効果コ 以上述べた如く、本発明によると、半巾文字がパッキン
グできないとき、更にダミーのコードを入力する必要が
なく、装置がダミーのコードを付加してパッキングする
ので、操作者は、半巾文字、全中文字を意識することな
く、文字の入力を行
[Effects] As described above, according to the present invention, when half-width characters cannot be packed, there is no need to further input a dummy code, and the device adds a dummy code and packs the characters. , input characters without being aware of Zenchuji characters.

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

第1図は本発明による1実施例を示すブロック図、第2
図はバッファKB  BUFFERを説明する図、第3
図はメモリLRY  REFRESHMEMORYを説
明する図、第4図はバッファKB  READBUFF
ERを説明する図、第5図はデータの構成を説明する図
、第6図はキーボードKBの詳細図、第7図はKBコー
ド内部コード変換テーブルを示す図、第8図は濁点、半
濁点テーブルを示す図、第9図はローマ字カナ変換テー
ブルを示す図、第1O図はCRTコントローラを説明す
る図、第11図はイニシャライズ処理を説明する図、第
12図はMAIN処理(1)を示す図、第13図はMA
IN処理(2)を示す図、第14図はKB  BUFF
ERREAD処理を示す図、第15図はデータの変化を
示す図、第16図はKB  BUFFERLOOK処理
を示す図、第17図はKB入力処理を示す図、第18図
はFG処理を示す図、第19図はBS処理を示す図、第
20図はコードコンバージョン処理を示す図、第21図
はKB  BUFFER書き込み処理を示す図、第22
図は濁点、半濁点処理を示す図、第23図はローマ字カ
ナ変換処理を示す図、第24図(a)、  (b)は半
巾処理を示す図、第25図はパッキング処理を示す図、
第26図は卒中パッキングを説明する図、第27図は卒
中パッキング(スペースのある場合)を説明する図、第
28図はDECIMAL処理を示す図、第29図(a)
〜(f)はデータ移動を示す図、第30図はDISPL
AY処理を示す図である。 RAM・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・メモリROM・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・制御メモリCPU・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・マイクロプロセッサCRT・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・表示装置第2図 第3区 第4図 ローマ877す変撲テーブル 第1C図 ?ぺ           、           
8′″″3     ↓     + −ノ                       
             Q手続補正書(放) 特許庁長官  小 川 邦 夫  殿 、事件の表示 昭和62年特特許第247595号 、発明の名称 文字処理装置 、補正をする者 事件との関係     特許出願人 住所 東京都大田区下丸子3−30−2名称 (100
)  キャノン株式会社代表者 賀  来  龍 三 
部 、代理人 居所 〒146東京都大田区下丸子3−30−2キャノ
ン株式会社内(電話758−2111)5、補正命令の
日付 昭和63年 2月23日(発送日付) 6、補正の対象 図   面 7、補正の内容 明細書第1図及び第7図を別紙の如く補正する。
FIG. 1 is a block diagram showing one embodiment of the present invention;
The figure is a diagram explaining the buffer KB BUFFER, the third
The figure is a diagram explaining the memory LRY REFRESH MEMORY, and Figure 4 is the buffer KB READBUFF.
A diagram explaining ER, Figure 5 is a diagram explaining the data structure, Figure 6 is a detailed diagram of the keyboard KB, Figure 7 is a diagram showing the KB code internal code conversion table, Figure 8 is a diagram showing voiced and handakuten. Figure 9 is a diagram showing a Roman-ji kana conversion table, Figure 1O is a diagram explaining a CRT controller, Figure 11 is a diagram explaining initialization processing, and Figure 12 is a diagram showing MAIN processing (1). Figure, Figure 13 is MA
A diagram showing IN processing (2), Figure 14 is KB BUFF
FIG. 15 is a diagram showing data changes; FIG. 16 is a diagram showing KB BUFFERLOOK processing; FIG. 17 is a diagram showing KB input processing; FIG. 18 is a diagram showing FG processing; Figure 19 is a diagram showing BS processing, Figure 20 is a diagram showing code conversion processing, Figure 21 is a diagram showing KB BUFFER writing processing, and Figure 22 is a diagram showing KB BUFFER writing processing.
23 is a diagram showing Romaji kana conversion processing, FIGS. 24 (a) and (b) are diagrams showing half-width processing, and FIG. 25 is a diagram showing packing processing.
Figure 26 is a diagram explaining stroke packing, Figure 27 is a diagram explaining stroke packing (if there is space), Figure 28 is a diagram showing DECIMAL processing, Figure 29 (a)
~(f) is a diagram showing data movement, and FIG. 30 is DISPL
It is a figure which shows AY processing. RAM・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・Memory ROM・・・・
・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・Control memory CPU・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・Microprocessor CRT・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・
...Display device Figure 2, District 3, Figure 4 Rome 877 Suhenmo table Figure 1C? Pe,
8′″″3 ↓ + −ノ
Q Procedural amendment (released) Kunio Ogawa, Commissioner of the Japan Patent Office, Indication of the case, 1988 Patent Patent No. 247595, Name of the invention Character processing device, Person making the amendment Relationship with the case Patent applicant address Ota, Tokyo Ward Shimomaruko 3-30-2 Name (100
) Canon Co., Ltd. Representative Ryuzo Kaku
Department, Agent Address: Canon Co., Ltd., 3-30-2 Shimomaruko, Ota-ku, Tokyo 146 (telephone: 758-2111) 5. Date of amendment order: February 23, 1988 (shipment date) 6. Figures subject to amendment Aspect 7: The details of the amendments in Figures 1 and 7 are revised as shown in the attached sheet.

Claims (1)

【特許請求の範囲】 1)全巾文字は、全巾1文字単位で処理を行ない、半巾
文字は半巾2文字単位で処理を行なう表示制御手段を有
する文字処理装置において、 全巾文字、及び半巾文字を入力する入力手段と前記入力
手段から入力された半巾文字に対し処理単位である半巾
2文字のペアを作るパッキング手段と、 前記パッキング手段によってペアを作れない半巾文字が
1文字存在したとき、半巾のダミーコード1文字とペア
を作るよう制御を行なう制御手段と、 を有することを特徴とする文字処理装置。 2)前記入力手段から入力される半巾の文字が数値であ
る場合、該数字列の小数点以上の桁数によってペアを決
定するようにしたことを特徴とする特許請求の範囲第1
項に記載の文字処理装置。
[Scope of Claims] 1) In a character processing device having a display control means that processes full-width characters in units of one full-width character and processes half-width characters in units of two half-width characters, an input means for inputting characters; a packing means for forming a pair of two half-width characters as a processing unit for the half-width characters inputted from the input means; and when there is one half-width character that cannot be paired by the packing means, A character processing device comprising: control means for controlling to create a pair with one character of a half-width dummy code. 2) When the half-width characters inputted from the input means are numerical values, the pair is determined by the number of digits beyond the decimal point of the numerical string.
The character processing device described in Section.
JP62247595A 1987-09-29 1987-09-29 Character processor Pending JPS63219057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62247595A JPS63219057A (en) 1987-09-29 1987-09-29 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62247595A JPS63219057A (en) 1987-09-29 1987-09-29 Character processor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP55135572A Division JPS5760462A (en) 1980-09-29 1980-09-29 Character processing equipment

Publications (1)

Publication Number Publication Date
JPS63219057A true JPS63219057A (en) 1988-09-12

Family

ID=17165846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62247595A Pending JPS63219057A (en) 1987-09-29 1987-09-29 Character processor

Country Status (1)

Country Link
JP (1) JPS63219057A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5221367A (en) * 1988-08-03 1993-06-22 International Business Machines, Corp. Strained defect-free epitaxial mismatched heterostructures and method of fabrication

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55143645A (en) * 1979-04-26 1980-11-10 Toshiba Corp Input-output system for en character and em character

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55143645A (en) * 1979-04-26 1980-11-10 Toshiba Corp Input-output system for en character and em character

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5221367A (en) * 1988-08-03 1993-06-22 International Business Machines, Corp. Strained defect-free epitaxial mismatched heterostructures and method of fabrication

Similar Documents

Publication Publication Date Title
CN104412255A (en) Document processing system, electronic document, document processing method, and program
JPS63219057A (en) Character processor
JPH01111226A (en) Document processor
JPH023212B2 (en)
JPS6026235B2 (en) How to protect diagram data
JP2567187B2 (en) Character processing method
JPS5843034A (en) Sentence edit processor
JPH0440741B2 (en)
JPS59132030A (en) Documentation device
JPS63219058A (en) Character processor
JPS63219059A (en) Character processor
JPS5864540A (en) Information processing system
JPS5814241A (en) Japanese language input device having function of extended character output
JPS6038750B2 (en) How to enter characters in a word processor
JP3148324B2 (en) Character input device
JPS6338716B2 (en)
JPH0340871B2 (en)
JPH0256670A (en) Document processing device
JPH10187130A (en) Display control device, display control method, and electronic equipment with display control function
JPS61110261A (en) Character processor
JPH03167660A (en) Character processor
JPS62200454A (en) Document editing device
JPH03176759A (en) Character processor
JPS61110263A (en) Character processor
JPS60104373A (en) Character processor