JPH0480420B2 - - Google Patents
Info
- Publication number
- JPH0480420B2 JPH0480420B2 JP62247594A JP24759487A JPH0480420B2 JP H0480420 B2 JPH0480420 B2 JP H0480420B2 JP 62247594 A JP62247594 A JP 62247594A JP 24759487 A JP24759487 A JP 24759487A JP H0480420 B2 JPH0480420 B2 JP H0480420B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- buffer
- code
- processing
- input
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、仮名データ列が表示されている行と
同一の行において、新たに入力される子音データ
を、前記仮名データ列に引き続いて連続的に表示
する文字処理方法に関する。[Detailed Description of the Invention] [Industrial Field of Application] The present invention provides for continuously inputting newly input consonant data in the same row as the row in which the kana data row is displayed, following the kana data row. This invention relates to a character processing method for displaying characters.
[従来の技術]
従来、この種の装置は、例えば特公昭52−
38371号公報に記載されている様に、入力される
アルフアベツトの子音データ或いは母音データ
は、文節単位でローマ字/カナ変換が行なわれて
いた。[Prior art] Conventionally, this type of device has been used, for example, in the
As described in Japanese Patent Application No. 38371, input alphanumeric consonant data or vowel data is converted into Romaji/kana in units of phrases.
一方、出願人は、特開昭55−49771号公報等に
よりローマ字から仮名への変換の契機を入力され
る母音とした技術を提案している。 On the other hand, the applicant has proposed a technique in which an input vowel is used as a trigger for conversion from Roman characters to kana, as disclosed in Japanese Patent Application Laid-open No. 55-49771.
[発明が解決しようとする問題点]
しかしながら、この場合、操作者とのインタフ
エースの1つである表示上で、どの様な表示が行
なわれるかについては、まだまだ改良の余地が十
分あると考えられる。[Problems to be solved by the invention] However, in this case, we believe that there is still plenty of room for improvement regarding what kind of display is displayed on the display, which is one of the interfaces with the operator. It will be done.
[問題を解決する為の手段]
この問題点を解決する為に、本発明は仮名デー
タ列が表示されている行と同一の行において、新
たに入力される子音データを、前記仮名データ列
に引き続いて連続的に表示ようにしている。[Means for Solving the Problem] In order to solve this problem, the present invention adds newly input consonant data to the kana data string in the same row as the kana data string. It continues to be displayed continuously.
[実施例]
第1図は本発明による文字処理装置の一実施例
を示すブロツク図である。[Embodiment] 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ではひらがな入力をも可能とするために、ひ
らがなシフトキー及びひらがな小シフトキーが追
加されている。 Figure 6 shows the keyboard KB in more detail. The arrangement of the character keys is a slightly modified version of the so-called JIS keyboard. The main change is the configuration of the shift key. i.e. keyboard
In KB, a hiragana shift key and a hiragana small shift key have been added to enable hiragana input.
フアンクシヨンキー群にはDECIMALキー、全
巾キー、半巾キー、ローマ字キー、カナキーがあ
る。このうちローマ字キーとカナキーとはキーボ
ードKBの文字キー群より文字等を入力するにあ
たつての入力モードを決定するキーであり、ロー
マ字キーを押下すると日本語文をローマ字読みで
入力することができ、又、カナキーを押下すると
日本語文をカナで入力することが可能となる。 Function keys include DECIMAL keys, full-width keys, half-width keys, Roman keys, and kana keys. Of these, the Romaji key and Kana key are keys that determine the input mode for inputting characters from the character keys of the keyboard KB, and when you press the Romaji key, you can input Japanese sentences in the Romaji reading. Also, by pressing the Kana key, it becomes possible to input Japanese sentences in Kana.
DECIMALキーは、デジマルタブ入力を指示す
るキーであり。全巾キーは通常サイズの文字入力
を指示するキー、半巾キーは通常サイズの半分の
サイズ(横方向)の文字入力を指示するキー(但
し、英数字等特定の文字のみ)である。 The DECIMAL key is a key that instructs digital tab input. The full-width key is a key that instructs to input characters of normal size, and the half-width key is a key that instructs input of characters that are half the normal size (in the horizontal direction) (however, only specific characters such as alphanumeric characters) are used.
文字キー群及びフアンクシヨンキー群の内の1
つのキーを打鍵すると、後述するマイクロプロセ
ツサCPUに対し、後述するコントロールバスCB
を通し、インタラプトを与える。又、キーボード
KBにそなえられたエンコーダを通し、打鍵され
たキーのコードを後述するマイクロプロセツサ
CPUは後述するデータバスDBを通し知ることが
できる。 One of the character keys and function keys
When you press one key, the control bus CB (described later) is activated to the microprocessor CPU (described later).
Give an interrupt through . Also, keyboard
A microprocessor that converts the code of the pressed key through the encoder provided in the KB.
The CPU can be known through the data bus DB, which will 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
によつてキーボードKBインタラプトがマスクさ
れていてもマイクロプロセツサCPUによつてキ
ーボードKBインタラプトのマスクを解除すると
マスクされている時に発生したKBインタラプト
は、失なわれることはなく、該インタラプトの動
作が正常に働くものとする。 Interrupts given from the keyboard KB to the microprocessor CPU are
Can be masked by CPU. However, CPU
Even if the keyboard KB interrupt is masked by the microprocessor CPU, if the keyboard KB interrupt is unmasked by the microprocessor CPU, the KB interrupt that occurred while it was masked will not be lost, and the operation of the interrupt will not be lost. It shall work normally.
KB BUFFERはキーボードKBから打鍵され
た入力データを文字コードに変換してバツフアリ
ングするためのバツフアである。 KB BUFFER is a buffer for converting input data entered from the keyboard KB into character codes and buffering them.
キーボードKBのキーが打鍵されると、キーボ
ードKB入力処理ルーチンが起動され、キーボー
ドKBからの入力データはバツフアKB
BUFFERに蓄えられる。 When a key on the keyboard KB is pressed, the keyboard KB input processing routine is activated, and the input data from the keyboard KB is transferred to the keyboard KB.
Stored in BUFFER.
又バツフアKB BUFFERに蓄えられた文字等
のデータはキーボードKBからの入力データを必
要な各種処理ルーチン、例えば入力処理ルーチ
ン、編集処理ルーチン等により読み出され使用さ
れる。これらの処理ルーチンは本発明とは直接関
係ないのでその詳細の説明は省略される。 Data such as characters stored in the buffer KB BUFFER 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、1W−16bit)の容量を
有する。各Wの具体的定義は以下に示す。 Details of the KB BUFFER are shown in Figure 2. It has a total capacity of 21W (W: Ward, 1W-16bit). A specific definition of each W is shown below.
WORD0 KB BUFFER内に格納されている全
DATA LENGTH
WORD1 KB BUFFER内に格納されている全
DATAの内濁点、半濁点の処理が終了してい
るDATAのLENGTH
WORD2 KB BUFFER内に格納されている全
DATAの内ローマ字カナ変換が終了している
DATAのLENGTH
WORD3 KB BUFFER内に格納されている全
DATAの内半巾処理の終了しているDATAの
LENGTH
WORD4 KB BUFFER内に格納されている全
DATAの内DECIMAL処理の終了している
DATAのLENGTH
WORD5〜20 KBから入力されたDATAが格納
される領域
最初の5WはバツフアKB BUFFERに記憶され
ているデータの特性が記入される。第6W目以降
には、実際に入力データが蓄えられる。WORD0 KB All data stored in BUFFER
DATA LENGTH WORD1 KB All data stored in BUFFER
All data stored in LENGTH WORD2 KB BUFFER of DATA for which internal and handakuten processing has been completed.
Romaji-kana conversion of DATA has been completed.
All data stored in LENGTH WORD3 KB BUFFER of DATA
DATA inner half-width processing has been completed.
LENGTH WORD4 KB All data stored in BUFFER
DECIMAL processing in DATA has finished
DATA LENGTH WORD5-20 Area where input data is stored from KB The first 5W are filled with the characteristics of the data stored in the buffer KB BUFFER. After the 6th W, input data is actually stored.
バツフアKB BUFFERのWORD 0(第1W目)
にはバツフアKB BUFFERに蓄えられているデ
ータのLENGTHが記入される。しかしながら、
これらのデータは、すぐに前述した各種処理ルー
チンにより処理できるデータとはなつていない。
例えばキーボードKBから“か”という文字デー
タが入力されたとする。しかしながら、この
“か”というデータは次に打鍵されるキーによつ
て変化するものである。即ち、次に“″”(濁点)
のキーが打鍵されると“が”というデータに変わ
り、それ以外のキーが打鍵されると“か”という
データであることが確認される。 Batsuhua KB BUFFER's WORD 0 (1st W)
The LENGTH of the data stored in the buffer KB BUFFER is entered. however,
These data have not yet become data that can be immediately processed by the various processing routines described above.
For example, assume that the character data "ka" is input from the keyboard KB. However, this data "ka" changes depending on the next key pressed. That is, next “″” (voiced point)
When a key is pressed, the data changes to "ga", 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, and it is not until the next keystroke, for example, "A", that the keystroke is entered. The data becomes a confirmed “ya”.
又、例えば半巾入力を行つている時に最初の打
鍵、例えば“1”を入力した段階では今だデータ
として確定されるものではなく、次に例えば
“2”を入力した段階ではじめて確定した“12”
というデータになる。このことは、本実施例にお
いて半巾の文字は常に2文字単位で扱う処理方式
を採用しているためである。 Also, for example, when performing half-width input, the first keystroke, such as "1", is not confirmed as data yet, and it is not until the next keystroke, for example, "2", that the data is confirmed, "12". ”
This 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.
このようにバツフアKB BUFFERのWORD
0に蓄えられたDATA LENGTHで規定するデ
ータが必ずしもすべて有効なデータとはなつてい
ない。 In this way BUFFER KB BUFFER WORD
The data specified by DATA LENGTH stored in 0 is not necessarily all valid data.
そこでバツフアKB BUFFERに蓄えられてい
るデータの特性を明確にするためバツフアKB
BUFFERのHEADERの5Wが用いられる。 Therefore, in order to clarify the characteristics of the data stored in BUFFER,
5W of HEADER of BUFFER is used.
バツフアKB BUFFERのWORD 0
バツフアKB BUFFERに蓄えられている全
データのLENGTH
KB BUFFER WORD 1
バツフアKB BUFFERに蓄えられている全
データの内濁点、半濁点の処理がなされている
データのLENGTH
KB BUFFER WORD 2
バツフアKB BUFFERに蓄えられている全
データの内濁点、半濁点処理及びローマ字カナ
変換処理が成されているデータのLENGTH
KB BUFFER WORD 3
バツフアKB BUFFERに蓄えられている全
データの内濁点、半濁点処理、ローマ字カナ変
換処理、及び半巾処理が成されているデータの
LENGTH
KB BUFFER WORD 4
バツフアKB BUFFERに蓄えられている全
データの内濁点、半濁点処理、ローマ字カナ変
換処理、半巾処理、デシルマ処理が成されてい
るデータのLENGTH。バツフアKB
BUFFER内に蓄えられているデータの内バツ
フアKB BUFFERのWORD4で与えられるデ
ータの長さが真に有効なデータである。WORD of KB BUFFER 0 LENGTH KB BUFFER WORD of all data stored in KB BUFFER 1 LENGTH KB BUFFER WORD of all data stored in KB BUFFER with internal and handakuten processed 2 LENGTH KB BUFFER WORD of all data stored in Batsufua KB BUFFER that has been processed with internal dakuten and half-dakuten processing and romaji-kana conversion processing 3 LENGTH KB BUFFER WORD of all data stored in Batsufua KB BUFFER Data that has undergone voiced mark processing, romaji kana conversion processing, and half-width processing
LENGTH KB BUFFER WORD 4 The LENGTH of all data stored in the buffer KB BUFFER that has been processed with internal dakuten, handakuten processing, romaji kana conversion processing, half-width processing, and decimal processing. Batsuhua KB
Of the data stored in BUFFER, the length of data given by WORD4 of KB BUFFER is truly valid data.
本実施例においては、濁点、半濁点処理、ロー
マ字カナ変換処理、半巾処理、デシマル処理の一
部等を後述するキーボードKB入力処理ルーチン
で実行し、その結果をバツフアKB BUFFERに
蓄え、キーボードKBからの入力データを必要と
する各種処理ルーチンは、前記4種の処理が実行
された結果のデータを利用する構成となつてい
る。従つて、他の実施例、例えば半巾処理をKB
処理ルーチンから除き、キーボードKBからの入
力データを必要とする各種処理ルーチンが半巾処
理を行うような構成をとることもできる。前記4
種の処理について、いずれも同様のことが言え
る。本発明は4種の処理の内1つでもKB入力処
理ルーチンで実行するならば、その発明の主旨を
そこねるものではない。 In this embodiment, the voiced mark, half-voiced mark processing, Romaji-kana conversion processing, half-width processing, part of the decimal processing, etc. are executed by the keyboard KB input processing routine described later, and the results are stored in the buffer KB BUFFER and transferred from the keyboard KB. Various processing routines that require input data are configured to utilize data resulting from execution of the four types of processing described above. Therefore, other embodiments, such as half-width processing, can be
It is also possible to adopt a configuration in which various processing routines that require input data from the keyboard KB, other than the processing routines, perform half-width processing. Said 4
The same can be said about seed treatment. The gist of the present invention will not be compromised if even one of the four types of processing is executed in the KB input processing routine.
バツフアKB BUFFERのWORD5〜20に蓄え
られるデータの構成は第5図のようになつてい
る。 The structure of the data stored in WORDs 5 to 20 of the KB BUFFER is as shown in Figure 5.
bit0 半角=1、全角=0
bit1〜7 JIS CODE 第1BYTE
bit8 REFRESH MEMORY内では
低輝度表示=1、普通輝度表示=0
KB BUFFER内では
ローマ字を構成する文字=1、独立した文字
=0
DATA BUFFER、KB READ BUFFER内
では
NOT USED
bit9〜15 JIS CODE 第2BYTE
<注>
全角の時:JIS CODE第1BYTEとJIS CODE第
2BYTEでJIS漢字コード(14bit)を表現する。
FUNCTIONコードもJIS漢字コード表の空き
エリアが割り当てられているものとする。bit0 Half-width = 1, full-width = 0 bit1~7 JIS CODE 1st BYTE bit8 REFRESH In MEMORY, low brightness display = 1, normal brightness display = 0 In KB BUFFER, characters that make up Roman characters = 1, independent characters = 0 DATA BUFFER , in KB READ BUFFER NOT USED bit9~15 JIS CODE 2nd BYTE <Note> When full-width: JIS CODE 1st BYTE and JIS CODE 1st BYTE
Represents JIS Kanji code (14bit) with 2BYTE.
It is assumed that the FUNCTION code is also assigned an empty area in the JIS Kanji code table.
半角の時:JIS CODE第1BYTEとJIS CODE第
2BYTEでJISコード(7bit)の2文字が表現さ
れる。Half-width: JIS CODE 1st BYTE and JIS CODE 1st BYTE
Two characters of JIS code (7bit) are expressed in 2BYTE.
即ち1Wで全巾の文字(普通サイズの文字)1
文字あるいは半巾の文字2文字を表現する。bit0
で半巾文字か全巾文字かの区別を行う。全巾の場
合bit1〜7にJIS漢字コードの第1BYTE、bit9〜
15にJIS漢字コードの第2BYTEが蓄えられる。
半巾の場合bit1〜7に7bitJIS CODEの1文字、
bit9〜15に他の1文字が割り当てられる。 That is, 1W full width character (normal size character) 1
Represents a letter or two half-width letters. bit0
to distinguish between half-width and full-width characters. For full width, bits 1 to 7 are the 1st BYTE of the JIS Kanji code, bits 9 to 7
The 2nd BYTE of JIS Kanji code is stored in 15.
For half-width, one character of 7bitJIS CODE in bits 1 to 7,
One other character is assigned to bits 9 to 15.
bit8は、該コードがローマ字の構成要素例えば
“T”(ローマ字“TA”の構成要素)である時そ
れを識別するために1となる。 Bit8 becomes 1 to identify when the code is a component of the Roman alphabet, such as "T" (a component of the Roman alphabet "TA").
KB READ BUFFERはバツフアで、キーボー
ドKBからの入力データを必要な各種処理ルーチ
ンが、該データを要求する時に使用されるバツフ
アであり、21W(1W−16bit)の容量を有する。
該各種処理ルーチンはバツフアKB READ
BUFFERのWORD 0(第1W)に要求する
DATA LENGTHを設定し、後述するKB
BUFFER READ処理ルーチン、あるいはKB
BUFFER LOOK処理ルーチンを起動するなら
ば、KB READ BUFFERのWORD5〜20に要求
したデータを得ることができる。その際バツフア
KB READ BUFFERのWORD1に実際に
WORD5〜20に書き込まれたDATA LENGTH
が記入される。実際は、KB BUFFER READ処
理ルーチン及びKB BUFFER LOOK処理ルーチ
ンは、バツフアKB BUFFERに蓄えられた有効
データ(KB BUFFER WORD4で規定される)
をバツフアKB READ BUFFERに移すことにな
る。 The KB READ BUFFER is a buffer used when various processing routines that require input data from the keyboard KB request the data, and has a capacity of 21W (1W-16bit).
The various processing routines are available in Batsufua KB READ
Request WORD 0 (1st W) of BUFFER
Set the DATA LENGTH and use the KB described below.
BUFFER READ processing routine or KB
If you start the BUFFER LOOK processing routine, you can obtain the requested data in WORD5-20 of KB READ BUFFER. At that time, Batsuhua
Actually in WORD1 of KB READ BUFFER
DATA LENGTH written in WORD5~20
is entered. In reality, the KB BUFFER READ processing routine and KB BUFFER LOOK processing routine process the valid data (specified by KB BUFFER WORD4) stored in the buffer KB BUFFER.
will be moved to the buffer KB READ BUFFER.
第4図にKB READ BUFFERのフオーマツト
を示す。 Figure 4 shows the format of KB READ BUFFER.
同図において、
WORD0 READ又はLOOK要求DATA
LENGTH
WORD1 実際READ又はLOOKしたDATA
LENGTH
WORD2〜4 NOT USED
WORD5〜20 READ又はLOOKしたデータ
なお、バツフアKB READ BUFFERの
WORD5〜20に蓄えられるデータのフオーマツト
はバツフアKB BUFFERのWORD5〜20に蓄え
られるデータのフオーマツトと下記の点で異なる
のみである。即ち、bit8は使用されない。 In the same figure, WORD0 READ or LOOK request DATA
LENGTH WORD1 DATA that was actually READ or LOOKed
LENGTH WORD2~4 NOT USED WORD5~20 READ or LOOK data.
The format of data stored in WORD5-20 differs from the format of data stored in WORD5-20 of the KB BUFFER only in the following points. That is, bit8 is not used.
CRT REFRESH MEMORYはメモリで8×
16W(1W−16bit)の容量を有する。 CRT REFRESH MEMORY is 8x memory
It has a capacity of 16W (1W-16bit).
メモリCRT REFRESH MEMORYに蓄えら
れた文字等のコードは、後述するCRTコントロ
ーラCRT CONTによりパターン化されたCRT
画面上に表示される。 The codes such as characters stored in the memory CRT REFRESH MEMORY are transferred to the CRT patterned by the CRT controller CRT CONT, which will be described later.
displayed on the screen.
メモリCRT REFRESH MEMORYのフオー
マツトは、第3図に示すように8行16桁から成
り、第1行〜第7行は各種文字処理表示用領域
で、第8行はKB BUFFERのモニタ表示用領域
である。かかるメモリは後述するCRT画面と対
応して縦8行横16桁の文字等コードを蓄えること
ができる。メモリCRT REFRESH MEMORY
に格納されるデータのフオーマツトは、バツフア
KB BUFFERに蓄えられるデータのフオーマツ
トと下記の点で異なるのみである。即ち、bit8=
1の時CRT上には低輝度で表示され、bit8=0
の時はCRT上に普通輝度で表示される。このコ
ントロールはCRTコントローラCRT CONTに
より行われる。 The format of the memory CRT REFRESH MEMORY consists of 8 lines 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 an area for displaying the KB BUFFER monitor. be. This memory can store a character code of 8 lines vertically and 16 digits horizontally in correspondence with a CRT screen to be described later. Memory CRT REFRESH MEMORY
The format of the data stored in the buffer is
The only difference from the format of data stored in KB BUFFER is the following points. That is, bit8=
When it is 1, it is displayed in low brightness on CRT, and bit8=0
When , the image is displayed at normal brightness on the CRT. This control is performed by the CRT controller CRT CONT.
又、CRT REFRESH MEMORYの第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 embodiment, 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 CONTはメモリCRT REFRESH
MEMORYに格納されている文字等コード情報
をパターン化し、CRT画面上に表示するコント
ロールを行うCRTコントローラである。CRTコ
ントローラCRT CONTの詳細図を第10図に示
す。第10図1点鎖線で囲われた領域がCRT
CONTである。制御回路CRTCはメモリCRT
REFRESH MEMORYに対し表示すべき文字コ
ードのアドレスを与え、該文字コードを取り出
す。取りだされた該文字コード情報は一時記憶レ
ジスタREGに蓄えられた後、全巾キヤラクタジ
エネレータCG、半巾キヤラクタジエネレータCG
、半巾キヤラクタジエネレータCGをアクセ
スする。全巾キヤラクタジエネレータCGには、
全巾の文字パターンが格納されている。言字記憶
レジスタREGからの出力データのbti1〜7及び
bti9〜15により、文字が指定され、制御回路
CRTからのROWアドレス信号により、該文字の
ROWアドレスが指定され、対応する文字の対応
するROWの横一列のパターンを出力する。 CRT CONT is memory CRT REFRESH
This is a CRT controller that controls the patterning of character code information stored in MEMORY and displaying it on the CRT screen. Figure 10 shows a detailed diagram of the CRT controller CRT CONT. The area surrounded by the dashed line in Figure 10 is the CRT
CONT. Control circuit CRTC is memory CRT
Give the address of the character code to be displayed to REFRESH MEMORY and extract the character code. The retrieved character code information is stored in the temporary storage register REG, and then transferred to the full-width character generator CG and the half-width character generator CG.
, access half-width character generator CG. The full-width character generator CG includes
Full-width character patterns are stored. bti1 to bti7 of the output data from the word memory register REG and
bti9 to 15 specify the character and control circuit
The ROW address signal from the CRT causes the character to be
A ROW address is specified, and a horizontal row pattern of the corresponding ROW of the corresponding character is output.
半巾キヤラクタジエネレータCG,には半
巾の文字パターンが格納されている。半巾キヤラ
クタジエネレータCG,にはそれぞれ一時記
憶レジスタREGのbit1〜7、bit9〜15が入力さ
れ、各々の対応した文字パターンの横一列のパタ
ーンが、全巾キヤラクタジエネレータCGと同様
に出力される。全巾キヤラクタジエネレータCG
からの出力データと半巾キヤラクタジエネレータ
CG,からの出力データとの選択はセレクタ
SLで行われる。 Half-width character patterns are stored in the half-width character generator CG. Bits 1 to 7 and bits 9 to 15 of the temporary storage register REG are input to the half-width character generator CG, respectively, and a horizontal line of each corresponding character pattern is output in the same way as the full-width character generator CG. be done. Full width character generator CG
Output data from and half-width character generator
Use the selector to select the output data from CG.
It will be held in SL.
セレクタSLをコントロールするのは一時記憶
レジスタREGの出力bit0による。即ち、bit0=1
の時は半巾キヤラクタジエネレータCG,か
らの出力データを選択し、bit=0の時は全巾キ
ヤラクタジエネレータCGからの出力データを選
択する。選択されたセレクタSLから出力された
データはパラレルシリアル変換機PSを介し、シ
リアルデータとし、表示装置CRTに出力される。
一時記憶レジスタREGから出力されるデータbit8
は、表示装置CRTに対し輝度コントロールを行
うため表示装置CRTに出力される。 Selector SL is controlled by output bit0 of temporary storage register REG. That is, bit0=1
When bit = 0, output data from the half-width character generator CG is selected, and when bit = 0, output data from the full-width 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 output to the display device CRT.
Data bit8 output from 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 REFRESH
MEMORYへのアクセスアドレスを変え、又全
巾キヤラクタジエネレータCG、半巾キヤラクタ
ジエネレータCG,に対するROWアドレス信
号を変更し、表示装置CRTへの文字表示を行う。 The control circuit CRTC receives vertical timing signals and horizontal timing signals from the display device CRT, and sequentially controls the memory CRT REFRESH.
The access address to MEMORY is changed, and the ROW address signal for the full-width character generator CG and half-width character generator CG is changed to display characters on the display device CRT.
CRTは表示装置でCRTコントローラCRT
CONTによつてコントロールされることにより、
メモリCRT REFRESH MEMORYに蓄えられ
た文字情報を表示する。 CRT is a display device and CRT controller CRT
By being controlled by CONT,
Displays character information stored in memory CRT REFRESH MEMORY.
表示装置CRTは、CRTコントローラCRT
CONTに対し、パーテイカルタイミング信号と
ホリゾンタルタイミング信号を送り、CRTコン
トローラCRT CONTのタイミングを合わせる。
又、表示装置CRTは制御回路CRTからのVIDEO
情報の出力を行う。 display device CRT, CRT controller CRT
Send a partical timing signal and a horizontal timing signal to CONT to match the timing of the CRT controller CRT CONT.
In addition, the display device CRT receives VIDEO from the control circuit CRT.
Outputs information.
TATA BUFFERはバツフアで各種処理ルー
チンによつて使用されるデータを蓄える。本発明
には直接関係はない。 TATA BUFFER is a buffer that stores data used by various processing routines. It is not directly related to the present invention.
本実施例においてはバツフアKB BUFFERに
蓄えられるデータのフオーマツトを第5図に示す
ごとく定めた。 In this embodiment, the format of data stored in the buffer KB BUFFER is determined as shown in FIG.
RKCTはローマ字カナ変換テーブルで、ロー
マ字文字列をカナ文字列に変換するための変換テ
ーブルである。第9図に示すごとくローマ字文字
列とカナ文字列が対応している。 RKCT is a romaji-kana conversion table, which is a conversion table for converting romaji character strings into kana character strings. As shown in FIG. 9, Roman character strings and kana character strings correspond.
ICTはKBコード、内部コード変換テーブルで、
キーボードKBからの出力データを内部コード
(第5図)に変換するためのテーブルである。変
換にあたつては、シフト状態、入力モード状態に
より、変換されるコードが異なることに注意しな
ければならない。第7図に本テーブルの詳細を示
す。 ICT is KB code, internal code conversion table,
This is a table for converting output data from the keyboard KB into internal code (Figure 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つのコードを与え
る。コード体系から濁点又は半濁点に対し1つの
コードを与えず、文字コードに濁点、半濁点の情
報を含めるコード体系への変換テーブルである。 DHT is a dakuten and handakuten table, which assigns one code to a dakuten or a handakuten, as shown in Figure 8. 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、デシマルフラツグDECIMAL FG、
シフトレジスタSR、内部コードレジスタIREG、
パツキングレジスタPREG、レジスタDF、レジ
スTDL、レジスタLEN等が含まれる。 RAM is a random access memory used for temporary storage of various data. The memory RAM contains Roman flags FG, half-width flags HWFG, decimal flags DECIMAL FG, which are used by the microprocessor CPU (described later) during processing.
Shift register SR, internal code register IREG,
Includes packing register PREG, register DF, register TDL, 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 makes theoretical decisions.
後述するアドレスバスAB、データバスDB、
コントロールバスCBを介し、キーボードKB、
バツフアKB BUFFER、メモリCRT
REFRESH MEMORY、バツフアDATA
BUFFER、バツフアKB READ BUFFER、ロ
ーマ字カナ変換テーブル、RKCT KBコード内
部コード変換テーブルICT、メモリRAM、制御
メモリROMに対し、データの読み取り、書き込
みを行うことができる。ABはアドレスバスで、
制御対象を指示する信号を転送する。CBはコン
トロールバスで各種制御対象して制御信号を印加
する。DBはデータバスで各種DATAを転送す
る。 Address bus AB, data bus DB, which will be described later
via control bus CB, keyboard KB,
KB BUFFER, memory CRT
REFRESH MEMORY, buffer DATA
Data can be read and written to BUFFER, BUFFER KB READ BUFFER, Romaji-kana conversion table, RKCT KB code internal code conversion table ICT, memory RAM, and control memory ROM. AB is the address bus,
Transfers signals that indicate the control target. CB is a control bus that applies control signals to various control targets. DB transfers various data using 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.1 KB INT(INTERRUPTの略)MASK ON
0.2 KB BUFFERにすべてNULLコードを入れ
る。(すべて0にクリアする)
0.3 CRT REFRESH MEMORYにすべてスペ
ースコードを入れる。0.1 KB INT (abbreviation for INTERRUPT) MASK ON 0.2 KB Put all NULL codes in BUFFER. (Clear all to 0) 0.3 Insert all space codes into CRT REFRESH MEMORY.
0.4 KB INT MASK OFF
0.5 MAIN処理1又は2へJUMP
上述のようにステツプ0.1でKB INT MASK
ONし、ステツプ0.2でKB BUFFERクリアする。
(ALL0にする)
次にステツプ0.3でメモリCRT REFRESH
MEMORYにすべてスペースコードを入れる。0.4 KB INT MASK OFF 0.5 JUMP to MAIN processing 1 or 2 KB INT MASK at step 0.1 as described above
Turn on and clear KB BUFFER in step 0.2.
(Set ALL 0) Next, in step 0.3, memory CRT REFRESH
Enter all space codes in MEMORY.
ステツプ0.4でKB INT MASK OFFし、
ステツプ0.5でMAIN処理1又は2へJUMPす
る。 Turn KB INT MASK OFF at step 0.4, and jump to MAIN processing 1 or 2 at step 0.5.
MAIN処理1又は2は、本発明の2種類の応
用例を示すものである。 MAIN processing 1 or 2 represents two types of application examples of the present invention.
上述のイニシヤライズ処理のステツプ0.5で例
えば第12図に示すMain処理1に移る。第12
図に示すフローの各ステツプの内容を以下に示
す。 At step 0.5 of the above-mentioned initialization process, the process moves to, for example, Main process 1 shown in FIG. 12. 12th
The contents of each step in the flow shown in the figure are shown below.
1.1 KB READ BUFFERのWORD 0に
READ要求DATA LENGTHをセツトする。1.1 KB READ BUFFER WORD 0
Set READ request DATA LENGTH.
1.2 KB BUFFER READ処理
1.3 KB READ BUFFERのWORD1(実際に
READしたDATA LENGTH)は0か?
1.4 入力データに応じた各種処理実行
上述のようにステツフ1.1でKB BUFFERに蓄
えられているデータを読み取るためにKB
READ BUFFERのWORD 0に読み取り要求
DATA LENGTHをセツトする。次のステツプ
1.2でKB BUFFERに蓄えられている有効データ
(KB BUFFERのWORD4で規定される)を読み
取りバツフアKB READ BUFFERに移す。1.2 KB BUFFER READ processing 1.3 KB READ BUFFER WORD1 (actually
Is READ DATA LENGTH) 0? 1.4 Execution of various processes according to input data As mentioned above, in step 1.1, in order to read the data stored in KB BUFFER,
Read request to WORD 0 of READ BUFFER
Set DATA LENGTH. next step
In 1.2, read the valid data (specified by WORD4 of KB BUFFER) stored in KB BUFFER and move it to the buffer KB READ BUFFER.
移すべきDATA LENGTHはバツフアKB
READ BUFFERのWORD0で規定されている。
移し終つたら、そのデータをバツフアKB
BUFFERから取り除く。 DATA LENGTH to be transferred is Batshua KB
Specified by WORD0 of READ BUFFER.
Once the transfer is complete, transfer the data to Batsuhua KB.
Remove from BUFFER.
次のステツプ1.3でKB BUFFERからKB
READ BUFFERに移されたデータのLENGTH
は0か否かチエツクする。もし、0であるならス
テツプ1.2を繰り返す、もし0でなければステツ
プ1.4に進む。かかるステツプ1.4で入力データに
応じた各種処理を実行する。 KB from KB BUFFER in next step 1.3
LENGTH of data moved to READ BUFFER
Check whether is 0 or not. If it is 0, repeat step 1.2; if not, go 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 BUFFER READ処理の詳細フロー
を第14図に示す。各ステツプの内容は以下に示
す。 FIG. 14 shows the detailed flow of the above-mentioned KB BUFFER READ processing. The contents of each step are shown below.
1.2.1 KB INT MASK ON
1.2.2 KB BUFFERのWORD4(DECIMAL処理
後DATA LENGTH)よりKB READ
BUFFERのWORD0の方が大きいか?
1.2.3 TDL←=BUFFERのWORD4
1.2.4 TDL←=KB READ BUFFER WORD0
1.2.5 TDLの値だけKB BUFFER内のDATAを
KB READ BUFFERに移す。1.2.1 KB INT MASK ON 1.2.2 KB READ from WORD4 of KB BUFFER (DATA LENGTH after DECIMAL processing)
Is WORD0 of BUFFER larger? 1.2.3 TDL←=WORD4 of BUFFER 1.2.4 TDL←=KB READ BUFFER WORD0 1.2.5 Read the DATA in KB BUFFER by the value of TDL
Move to KB READ BUFFER.
1.2.6 KB READ BUFFER WORD1にTDLの
値をセツトする。1.2.6 Set the TDL value in KB READ BUFFER WORD1.
1.2.7 KB BUFFER WORD0〜4の値から
TDLの値を減ずる。1.2.7 KB BUFFER WORD From values 0 to 4
Decrease the value of TDL.
1.2.8 KB BUFFER WORD5〜20の内容をすべ
てTDLの値だけ左寄せする。(TDLの値だけ
先頭を削除し、残りを左寄せする)
1.2.9 DISPLAY処理(3.13)
1.2.10 KB INT MASK OFF
上述のようにステツプ1.2.1でKB INT
MASIC ONし、
ステツプ1.2.2でKB BUFFER WORD4(有効
DATA LENGTH)よりKB READ BUFFER
WORD0(要求DATA LENGTH)の方が大きい
か否か判断する。1.2.8 Align all contents of KB BUFFER WORD5 to 20 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 As described above, in step 1.2.1, KB INT
Turn on MASIC and set KB BUFFER WORD4 (enabled) in step 1.2.2.
DATA LENGTH) from KB READ BUFFER
Determine whether WORD0 (request DATA LENGTH) is larger.
大きい場合ステツプ1.2.3に進む
小さい場合ステツプ1.2.4に進む
ステツプ1.2.3でKB READ BUFFER
WORD0の値にセツトする。ステツプ1.2.5に進む
ステツプ1.2.4でTDLをKB BUFFER
WORD0の値にセツトする。ステツプ1.2.5に進
む。ステツプ1.2.5でTDLの値だけKB BUFFER
内のデータをKB READ BUFFERに移す。 If larger, proceed to step 1.2.3 If smaller, proceed to step 1.2.4 KB READ BUFFER in step 1.2.3
Set to the value of WORD0. Proceed to step 1.2.5 Transfer TDL to KB BUFFER in step 1.2.4
Set to the value of WORD0. Proceed to step 1.2.5. KB BUFFER by TDL value in step 1.2.5
Move the data in KB READ BUFFER.
ステツプ1.2.6でKB READ BUFFER
WORD1にTDLの値をセツトする。 KB READ BUFFER in step 1.2.6
Set the TDL value in WORD1.
ステツプ1.2.7でKB BUFFER WORD0〜4の
値からTDLの値を減ずる。 In step 1.2.7, subtract the value of TDL from the value of KB BUFFER WORD0~4.
ステツプ1.2.8でKB BUFFERのDATA領域から
TDLの値だけ先頭を削除し、残りを左寄せす
る。From the DATA area of KB BUFFER in step 1.2.8
Delete the beginning of the TDL value and align the rest to the left.
1.2.9 KB BUFFER DISPLAY処理(3.13)
(KB BUFFER内DATAをCRT上に
DISPLAYする)
1.2.10 KB INT MASK OFFする。1.2.9 KB BUFFER DISPLAY processing (3.13)
(Data in KB BUFFER is transferred to CRT)
DISPLAY) 1.2.10 KB INT MASK OFF.
第15図はKB BUFFER READ処理における
バツフアKB BUFFER及びバツフアKB READ
BUFFERの例である。バツフアKB BUFFERか
ら3文字のDATA READ要求に対してバツフア
KB BUFFERからバツフアKB READ
BUFFERに対して3文字の移動が行つている様
子がわかる。又バツフアKB BUFFER及びバツ
フアKB READ BUFFERのHEADER部パラメ
ータもそれに伴なつて変化していることがわか
る。 Figure 15 shows buffer KB BUFFER and buffer KB READ in KB BUFFER READ processing.
This is an example of BUFFER. In response to a 3-character DATA READ request from KB BUFFER,
KB BUFFER to BUFFER KB READ
You can see that three characters are moved to BUFFER. It can also be seen that the HEADER section parameters of buffer KB BUFFER and buffer KB READ BUFFER also change accordingly.
上述のようにMAIN1の処理を行う。一方次に
MAIN2の処理を詳述する。イニシヤライズ処理
のステツプ0.5でMAIN2の処理が実行される場
合、第13図に示すフローの各ステツプが実行さ
れる。以下にフローの各ステツプを示す。 Perform MAIN1 processing as described above. On the other hand, next
The processing of MAIN2 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.1 KB READ BUFFER WORD1にLOOK要
求DATA LENGTHをセツトする。2.1 Set LOOK request DATA LENGTH in KB READ BUFFER WORD1.
2.2 KB BUFFER LOOK処理
2.3 LOOKしたデータは処理可能なDATAか?
2.4 KB BUFFER READ処理(1.2)
2.5 入力データに応じた各種処理実行
上述のフローに示す如くステツプ2.1でKB
BUFFERに蓄えられているデータの中味を知る
ためにKB READ BUFFERのWORD0に知りた
いデータのLENGTHを記入する。2.2 KB BUFFER LOOK processing 2.3 Is the LOOK data data that can be processed? 2.4 KB BUFFER READ processing (1.2) 2.5 Execution of various processes according to input data As shown in the flow above, KB is read in step 2.1.
To know the contents of the data stored in BUFFER, enter the LENGTH of the data you want to know in WORD0 of KB READ BUFFER.
ステツプ2.2で、KB BUFFERに蓄えられてい
る有効データをバツフアKB READ BUFFERに
移す、移すべきDATA LENGHTはKB READ
BUFFERのWORD0に規定されている。移し終
わつてもバツフアKB BUFFERからそのデータ
を取り除かない。次のステツプ2.3で、KB
READ BUFFERに入れられたデータは、処理可
能なデータか否かチエツクする。 In step 2.2, move the valid data stored in KB BUFFER to buffer KB READ BUFFER.The DATA LENGHT to be moved is KB READ.
Specified in WORD0 of BUFFER. Even after the transfer is complete, the data is not removed from the KB BUFFER. In the next step 2.3, KB
Check whether the data entered in READ BUFFER can be processed.
もし、処理可能ならばステツプ2.4に進む。 If it can be processed, proceed to step 2.4.
もし処理不可能ならばステツプ2.2を繰り返す。 If processing is not possible, repeat step 2.2.
ステツプ2.4でKB BUFFER READ処理(1.2)
を行い、バツフアKB BUFFERから、これから
処理するデータを取り除く。 KB BUFFER READ processing (1.2) in step 2.4
and remove the data to be processed from the buffer KB BUFFER.
ステツプ2.5でKB READ BUFFERに読み込
まれたデータに応じて、各種処理を実行する。各
種処理の具体的中味は本発明と直接の関係がない
ので省略する。例えばカナ漢字変換処理において
は一文節の入力が終了しないと変換処理は実行で
きない。そこでステツプ2.3において、一文節の
KBからの入力が終了したか否かをチエツクし、
終了したならば、ステツプ2.5でカナ漢字変換の
処理が行われる。 Various processes are executed according to the data read into the KB READ BUFFER in step 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, we will
Check whether input from KB is finished,
Once completed, kana-kanji conversion processing is performed in step 2.5.
上述のステツプ2.2のKB BUFFER LOOK処
理の詳細を第16図に示す。かかるフローの内容
は以下に示す。 FIG. 16 shows details of the KB BUFFER LOOK process in step 2.2 above. The contents of this flow are shown below.
2.2.1 KB INT MASK ON
2.2.2 KB BUFFER WORD4(DECIMAL処理
後DATA LENGTH)よりKB READ
BUFFER WORD0の方が大きいか?
2.2.3 TDL=KB BUFFER WORD4
2.2.4 TDLの値だけKB BUFFER内のDATAを
KB READ BUFFERに移す
2.2.6 KB READ BUFFERのWORD1にTDL
の値をセツトする
2.2.7 KB INT MASK OFF
上述の各ステツプは以下に示す如くKB
BUFFER READ処理とだいたい同じで、KB
BUFFER READ処理との違いはKB BUFFER
LOOK処理がバツフアKB BUFFERに一切影響
を与えない点にある。2.2.1 KB INT MASK ON 2.2.2 KB READ from KB BUFFER WORD4 (DATA LENGTH after DECIMAL processing)
Is BUFFER WORD0 larger? 2.2.3 TDL=KB BUFFER WORD4 2.2.4 DATA in KB BUFFER by TDL value
Move to KB READ BUFFER2.2.6 TDL to WORD1 of KB READ BUFFER
2.2.7 KB INT MASK OFF
Roughly the same as BUFFER READ processing, KB
The difference from BUFFER READ processing is KB BUFFER
The point is that LOOK processing has no effect on the buffer KB BUFFER.
KB BUFFER LOOK処理のステツプ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.1 of the KB BUFFER LOOK process is
Same as 1.2.1, Step 2.2.2 same as 1.2.2, Step 2.2.3 same as 1.2.3, Step 2.2.4 same as 1.2.4, Step 2.2.5 same as 1.2.5, step
Step 2.2.6 is the same as 1.2.6 and step 2.2.7 is the same as 1.2.10.
上述のようにしてMAIN2の処理を行う。 MAIN2 processing 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.1 KB INT MASK ON 3.2 KBからDATAを入力する。3.1 KB INT MASK ON Input DATA from 3.2 KB.
3.3 FG処理(フラツグ等のセツト)
3.4 有効データか?
3.5 入力データは、BSコードか?
3.6 BS処理(KB BUFFERからデータをして
取り除く処理)
3.7 コードコンバージヨン処理
3.8 KB BUFFER書込処理
3.9 濁点、半濁点処理
3.10 ローマ時カナ変換処理
3.11 半巾処理
3.12 DECIMAL処理
3.13 DISPLAY処理
3.14 KB INT MASK OFF
上述のようにステツプ3.1でKB INT MASK
ONし、ステツプ3.2で、KBからデータを入力す
る。次のステツプ3.3で、FG処理(入力モード、
シフト等のセツトを行う)ステツプ3.4で入力し
たデータが、KB BUFFERの変化に対して有効
なデータが否かを判断し、有効であるならステツ
プ3.5に進み、無効であるならステツプ3.14に進
む。3.3 FG processing (setting flags, etc.) 3.4 Is it valid data? 3.5 Is the input data a BS code? 3.6 BS processing (processing to remove data from KB BUFFER) 3.7 Code conversion processing 3.8 KB BUFFER write processing 3.9 Dakuten, handakuten processing 3.10 Roman time kana conversion processing 3.11 Half width processing 3.12 DECIMAL processing 3.13 DISPLAY processing 3.14 KB INT MASK OFF KB INT MASK in step 3.1 as above
Turn on and enter data from KB in step 3.2. In the next step 3.3, FG processing (input mode,
It is determined whether the data input in step 3.4 is valid for the change in KB BUFFER (setting shifts, etc.), and if it is valid, proceed to step 3.5, and if invalid, proceed to step 3.14.
ステツプ3.5で入力したデータはBSコードか?
BSコードであるならステツプ3.6に進む。そうで
ないならステツプ3.7に進む。 Is the data entered in step 3.5 a BS code?
If it is a BS code, proceed to step 3.6. If not, proceed to step 3.7.
ステツプ3.6でBS処理(KB BUFFERからデ
ータを1つ取除く)し、ステツプ3.14に進む。 Perform BS processing (remove one piece of data from KB BUFFER) in step 3.6, and proceed to step 3.14.
ステツプ3.7でコードコンバージヨン処理(KB
BUFFERにデータを1つつめ込むための準備と
してKBから入力されたデータのKBコードを内
部処理用の内部コードに変換する)次のステツプ
3.8でKB BUFFER書き込み処理(変換された内
部コードをバツフアKB BUFFERに書き込む)
をし、ステツプ3.9で濁点、半濁点処理(KB
BUFFER内データに対して濁点半濁点処理を行
い、濁点半濁点処理が成されたDATA
LENGHT即ちKB BUFFER WORD1を決定す
る)をする。 Code conversion processing in step 3.7 (KB
The next step is to convert the KB code of the data input from the KB into an internal code for internal processing in preparation for loading one piece of data into the BUFFER.
KB BUFFER write processing in 3.8 (write converted internal code to buffer KB BUFFER)
Then, in step 3.9, add voiced and semi-voiced marks (KB
Data in BUFFER is processed with voiced and half-voiced marks, and the data is processed with voiced and half-voiced marks.
(Determine LENGHT, ie, KB BUFFER WORD1).
ステツプ3.10でローマ字カナ変換処理(KB
BUFFER内のデータに対してローマ字カナ変換
処理を行い、ローマ字カナ変換処理が成された
DATA LENGTH即ちKB BUFFER WORD2
を決定する)をし、ステツプ3.11で半巾処理
(KB BUFFER内のDATAに対して半巾処理を
行い、半巾処理が成されたDATA LENGTH即
ちKB BUFFERのWORD3の値を決定する)を
する。ステツプ3.12でDECIMAL処理(KB
BUFFER中のデータに対してDECIMAL処理が
成されたDATA LENGTH即ちKB BUFFER
WORD4の値を決定する)をし、KB BUFFER
に蓄えられたデータの内KB BUFFER WORD4
に蓄えられた値のDATA LENGTHに真に有効
なDATAとなる。ステツプ3.13でDISPLAY処理
(KB BUFFER内のDATAをCRT画面上に
DISPLAYする)をする。次にステツプ3.14で
KB INT MASK OFFして、処理を終了する。 Romaji-kana conversion processing in step 3.10 (KB
Romaji-kana conversion processing is performed on the data in BUFFER, and Romaji-kana conversion processing is completed.
DATA LENGTH i.e. KB BUFFER WORD2
Then, in step 3.11, perform half-width processing (perform half-width processing on the DATA in KB BUFFER, and determine the DATA LENGTH after half-width processing, that is, the value of WORD3 of KB BUFFER). DECIMAL processing (KB
DATA LENGTH i.e. KB BUFFER where DECIMAL processing is performed on the data in BUFFER
determine the value of WORD4) and KB BUFFER
Of the data stored in KB BUFFER WORD4
The DATA LENGTH of the value stored in is truly valid DATA. In step 3.13, DISPLAY processing (displays DATA in KB BUFFER on CRT screen)
DISPLAY). Then in step 3.14
Turn KB INT MASK OFF and end the process.
上述のフローに於いて示される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.6 シフトレジスタSRにシフト状態をセーブ
3.3.7 入力したデータはDECIMALキーか?
3.3.8 DECIMAL FGが既にセツトされている
か?
3.3.9 DECIMAL FG SET
3.3.10 入力したデータを有効データであると判
断する。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 specification key code? [Width 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? Shift keys: Eidaiki shift key Alphabetic decimal shift key Katakana shift key Katakana small shift key Hiragana shift key Hiragana small shift key 3.3.6 Save shift status in shift register SR 3.3.7 Is the input data a DECIMAL key? 3.3.8 Is DECIMAL FG already set? 3.3.9 DECIMAL FG SET 3.3.10 Determine input data as valid data.
3.3.11 入力したデータを無効データであると判
断する。3.3.11 Determine input data as invalid data.
上述したようにステツプ3.3.1、3.3.2で入力し
たデータがモードキーであつたら、ローマ字キー
かカナキーかに従つてローマ字フラツグFGのセ
ツト又はリセツトを行う。次のステツプ3.3.3、
3.3.4で入力したデータが巾指定キーであつたら
全巾キーかカナキーかに従つて全巾フラツグ
AWFGをセツト又はリセツトする。 As mentioned above, if the data input in steps 3.3.1 and 3.3.2 is a mode key, the Roman character flag FG is set or reset depending on whether it is a Roman character key or a Kana key. Next step 3.3.3,
If the data entered in 3.3.4 is a width specification key, the full width flag will be set depending on whether it is a full width key or a kana key.
Set or reset AWFG.
ステツプ3.3.5、3.3.6で入力したデータがシフ
トキーであつたら英大記シフトキーか、英小数シ
フトキーか、カタカナシフトキーか、カタカナ小
シフトキーか、ひらがなシフトキーか、ひらがな
小シフトキーかに従つてシフトレジスタSRに該
当シフトコードをセツトする。 If the data entered in steps 3.3.5 and 3.3.6 is a shift key, the shift register will be changed depending on whether it is an English Daiji shift key, an English decimal number shift key, a Katakana shift key, a Katakana small shift key, a Hiragana shift key, or a Hiragana small shift key. Set the corresponding shift code in SR.
ステツプ3.3.7〜3.3.9で入力したデータが
DECIMLキーであつたならデジタルフラツグ
DECIMAL FGをセツトする。 If the data entered in steps 3.3.7 to 3.3.9
If it is a DECIML key, it is a digital flag.
Set DECIMAL FG.
ステツプ3.3.10、3.3.11で入力したデータがモ
ードキー、巾指定キー、シフトキー又はデジタル
フラツグDECIMAL FGがセツトされていた時の
DECIMALキーであつた時は、入力したデータを
無効データと判断し、それ以外のデータであつた
ら有効データと判断し、FG処理を終了する。 When the data entered in steps 3.3.10 and 3.3.11 is set to the mode key, width specification key, shift key, or digital flag DECIMAL FG.
If the DECIMAL key is pressed, the input data is determined to be invalid data, and if it is any other data, it is determined to be valid data, and the FG processing ends.
次にステツプ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.1 KB BUFFERのWORD0≠0?
3.6.2 KB BUFFERのWORD0デクリメント
3.6.3 KB BUFFER
WORD0≧WORD1?
3.6.4 KB BUFFERのWORD1デクリメント
3.6.5 KB BUFFER
WORD0≧WORD2?
3.6.6 KB BUFFERのWORDデクリメント
3.6.7 KB BUFFER
WORD0≧WORD3?
3.6.8 KB BUFFERのWORD3デクリメント
3.6.9 KB BUFFER
WORD0≧WORD4?
3.6.10 KB BUFFERのWORD4デクリメント
3.6.11 DISPLAY処理3.13
上述した如くステツプ3.6.1〜3.6.10でKB
BUFFERからそこに格納されているデータを1
つ取り除く。そのためにKB BUFFERの
WORD0をデクリメントする。又他のWORD1〜
WORD4までも、もし、WORD0より大になるも
のがあつたら、そのWORDに限りデクリメント
する。次のステツプ3.6.11でKB BUFFERを表示
装置CRTにDISPLAYしてBS処理を終了する。3.6.1 WORD0≠0 of KB BUFFER? 3.6.2 WORD0 decrement of KB BUFFER 3.6.3 KB BUFFER WORD0≧WORD1? 3.6.4 Decrement WORD1 of KB BUFFER 3.6.5 KB BUFFER WORD0≧WORD2? 3.6.6 WORD decrement of KB BUFFER 3.6.7 KB BUFFER WORD0≧WORD3? 3.6.8 WORD3 decrement of KB BUFFER 3.6.9 KB BUFFER WORD0≧WORD4? 3.6.10 WORD4 decrement of KB BUFFER 3.6.11 DISPLAY processing 3.13 KB in steps 3.6.1 to 3.6.10 as described above
1 data stored there from BUFFER
remove one. For that purpose, KB BUFFER
Decrement WORD0. Also other WORD1~
Even up to WORD4, if there is something greater than WORD0, only that WORD is decremented. In the next step 3.6.11, the KB BUFFER is displayed on the display device CRT and the BS processing is completed.
次にステツプ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から入力されたデータのコードをKB
コード・内部コード変換テーブルを参照し、内
部コードに変換し、内部コードレジスタに入
る。3.7.1 Code for data input from KB to KB
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 Alphabetic decimal shift? 3.7.4 Set bit8 of internal code register IRFG to 1.
上述した如くステツプ3.7.1〜3.7.4でKBから入
力したデータのKBコードを、KBコード内部コ
ード変換テーブルを用いて内部コードに変換し、
その結果を内部コードレジスタIREGに書き込
む。その際、ローマ字入力モードでかつカタカナ
シフト又はカタカナ小シフト又はひらがな小シフ
トである時、内部コードレジスタIREGに書き込
んだデータのbit8を1にして、該データがローマ
字を構成する文字であることを示し、コードコン
バージヨン処理を終了する。 As mentioned above, convert the KB code of the data input from KB in steps 3.7.1 to 3.7.4 into an internal code using the KB code internal code conversion table,
Write the result to internal code register IREG. At that time, when in Roman character input mode and in Katakana shift, Katakana small shift, or Hiragana small shift, bit 8 of the data written to the internal code register IREG is set to 1 to indicate that the data is a character forming Roman characters. , the code conversion process ends.
次にステツプ3.8のKB BUFFER書込処理の詳
細を説明する。第21図はそのフローで、その各
ステツプの内容が以下に示される。 Next, the 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(WORD0+1)←=内部コードレジス
タ即ちKB BUFFERの〔WORD0の値+1〕
のアドレスで示されるDATA位置に、内部コ
ードレジスタの値を書き込む
3.8.2 KB BUFFER WORD0をインクリメント
する。3.8.1 KBB (WORD0+1) ← = Internal code register, KB BUFFER [WORD0 value + 1]
Write the value of the internal code register to the DATA location indicated by the address of 3.8.2 KB BUFFER Increment WORD0.
上述した如くKB BUFFERのDATA領域の
DATA列末尾に内部コードレジスタ内の文字コ
ードを付け加えKB BUFFERのWORD1(DATA
LENGTH)をインクリメントし、KB
BUFFER書込処理を終了する。 As mentioned above, the DATA area of KB BUFFER
Adds the character code in the internal code register to the end of the DATA column. WORD1 of KB BUFFER (DATA
LENGTH) and increment KB
BUFFER write processing ends.
次にステツプ3.9の濁点、半濁点処理の詳細を
説明する。第22図はフローを示し、その各ステ
ツプの内容を以下に示す。 Next, the details of the voiced and half-voiced point 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?
3.9.2 WORD0>WORD1?
3.9.3 KB BUFFER(WORD0)は濁点コード
(〓)又は半濁点コードか?
3.9.4 KB BUFFER
WROD0≧WORD1+2?
3.9.5 WROD1←=WORD0−1
3.9.6 KB BUFFER(以下KBB)(WORD0)は
濁点又は半濁点可能コードか?
3.9.7 WORD1←=WORD0
3.9.8 WORD0≧WORD1+2?
3.9.9 濁点、半濁点テーブルDHTを参照しKBB
(WORD0−1)、KBB(WORD0)の2コード
をJIS漢字コードに変更し、その結果をKBB
(WORD0−1)の値とする。3.9.1 Roman alphabet FG=1? 3.9.2 WORD0>WORD1? 3.9.3 Is KB BUFFER (WORD0) a voiced mark code (〓) or a handakuten code? 3.9.4 KB BUFFER WROD0≧WORD1+2? 3.9.5 WROD1←=WORD0−1 3.9.6 Is KB BUFFER (KBB) (WORD0) a voiced or handakuten code? 3.9.7 WORD1←=WORD0 3.9.8 WORD0≧WORD1+2? 3.9.9 Dakuten, handakuten table DHT and KBB
(WORD0-1), KBB (WORD0) are changed to JIS Kanji code, and the result is KBB
The value shall be (WORD0-1).
3.9.10 WORD0←=WORD0−1
3.9.11 WORD1←=WORD0
上述した如くステツプ3.9.1でローマ字FG=1
の時ステツプ3.9.11に進む、FG=0のときステツ
プ3.9.2に進む、即ちカナ入力モードの時ステツ
プ3.9.2以降の処理が実行される。3.9.10 WORD0←=WORD0−1 3.9.11 WORD1←=WORD0 As mentioned above, Roman FG=1 in step 3.9.1
When FG=0, the process advances to step 3.9.2. In other words, when the kana input mode is selected, the process from step 3.9.2 onwards is executed.
ステツプ3.9.2でKB BUFFER WORD0>
WORD1の時、処理対象の文字列が存在するので
ステツプ3.9.3に進む。即ち、WORD0とWORD1
とにはさまれる文字列が処理対象文字列である。
別の言い方をすると、KB BUFFER内DATAの
内WORD1に示される値のDATA LENGTHに
ついては濁点、半濁点処理は終了しているため、
それ以外のデータについて処理を行うためステツ
プ3.9.3に進む。 KB BUFFER WORD0> in step 3.9.2
If it is WORD1, there is a character string to be processed, so proceed to step 3.9.3. i.e. WORD0 and WORD1
The string sandwiched between is the string to be processed.
In other words, the voiced and handakuten processing has been completed for the DATA LENGTH of the value shown in WORD1 of the DATA in the KB BUFFER, so
Proceed to step 3.9.3 to process other data.
ステツプ3.9.3でKBB(WORD0)は濁点コード
又は半濁点コードかチエツクする。KBB
(WORD0)が濁点コード又は半濁点コードであ
るならばステツプ3.9.8に進む。それ以外の時ス
テツプ3.9.4に進む。 In step 3.9.3, KBB (WORD0) checks whether it is a voiced mark code or a handakuten code. KBB
If (WORD0) is a voiced mark code or a handakuten code, proceed to step 3.9.8. Otherwise, proceed to step 3.9.4.
(ここで、KBB(WORD0)とは、KB
BUFFER内データの内第WORD0番目のデータ
を示す。以下同様)
ステツプ3.9.4でWORD0≧WORD1+2である
ならステツプ3.9.5に進む、そうでないならステ
ツプ3.9.6に進む。 (Here, KBB(WORD0) means KB
Indicates the 0th WORD data in the data in BUFFER. (Similarly below) If WORD0≧WORD1+2 in step 3.9.4, proceed to step 3.9.5, otherwise proceed to step 3.9.6.
(ここで、WORD0とはKB BUFFERの第1W
目を指す。以下同様)
ここでWORD0≧WORD1+2とはKBからデ
ータを入力する前に濁点、半濁点処理が行われて
いないデータがKB BUFFERに存在していたか
否かをチエツクすることに相当する。 (Here, WORD0 is the 1st W of KB BUFFER.
Point to the eyes. (Similarly below) Here, WORD0≧WORD1+2 corresponds to checking whether there is data in the KB BUFFER that has not been subjected to voiced or semi-voiced mark processing before inputting data from the KB.
ステツプ3.9.5でWORD1にWORD0−1の値を
セツトする。即ちKBB(WORD0)が濁点又は半
濁点コードでなかつたことによりKBB(WORD0
−1)までのコードはすべて、濁点又は半濁点に
よるコード変更はないことになり、それらのコー
ドは濁点、半濁点対象文字からはずす。 In step 3.9.5, set WORD1 to the value of WORD0-1. In other words, KBB(WORD0) is not a voiced or handakuten code.
For all codes up to -1), there will be no code change due to voiced or handakuten, and these codes will be removed from the characters subject to voiced or handakuten.
ステツプ3.9.6でKBB(WORD0)が濁点又は半
濁点可能であるコードであるならWORD1の値を
変更せずにリターンする。即ち次にKBより入力
するデータによつてはコードが変更する可能性が
有り、KBB(WORD0)は濁点、半濁点対象文字
のままである。KBB(WORD0)が濁点、半濁点
可能でないなら、KBB(WORD0)を濁点、半濁
点対象コードからはずすためステツプ3.9.7に進
む。 In step 3.9.6, if KBB (WORD0) is a code that can be voiced or handakuten, return without changing the value of WORD1. That is, the code may change depending on the data input next from KB, and KBB (WORD0) remains a character subject to voiced and handakuten. If KBB (WORD0) is not possible for voiced and handakuten, proceed to step 3.9.7 to remove KBB (WORD0) from the code for voiced and handakuten.
ステツプ3.9.7で、WORD1にWORD0の値を設
定する。その後リターンする。 In step 3.9.7, set WORD1 to the value of WORD0. Then return.
ステツプ3.9.8で、WORD0≧WORD1+2であ
るならステツプ3.7.9に進む。それ以外ならステ
ツプ3.9.10に進む。 In step 3.9.8, if WORD0≧WORD1+2, 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 the KB, proceed to 3.9.9.
ステツプ3.9.9で、KBB(WORD0−1)、KBB
(WORD0)の2コードを濁点、半濁点テーブル
DHTを参照して濁点付又は半濁点付の16bit内部
コードに変更し、その値をKBB(WORD0−1)
の値とする。 In step 3.9.9, KBB (WORD0-1), KBB
(WORD0) 2 codes are voiced and handakuten table
Refer to DHT and change to 16bit internal code with voiced or half voiced mark, and change the value to KBB (WORD0-1)
be the value of
ステツプ3.9.10で、WORD0をデクリメントす
る。 In step 3.9.10, WORD0 is decremented.
ステツプ3.9.11で、WORD1をWORD0と同じ
値とし、濁点、半濁点処理を終了する。 In step 3.9.11, set WORD1 to the same value as WORD0, and finish the 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 WORD1>WORD2?
3.10.3 KBB(WORD1)のbit8=1?
3.10.4 KBB(WORD1)のbit8=0
3.10.5 KBB(WORD2+1)KBB(WORD1)ま
でのローマ字コード列はカナコード列に変換で
きるか?(ローマ字カナ変換テーブルRKCT
を参照し調べる)
3.10.6 KBB(WORD2+1)からKBB
(WORD1)までのローマ字コード列をカナコ
ード列に変換し(ローマ字カナ変換テーブルを
参照)、変換した結果を再びKBB(WORD2+
1)からKBB(WORD1)までの位置に書き込
む。3.10.1 Roman alphabet FG=1? 3.10.2 WORD1>WORD2? 3.10.3 KBB (WORD1) bit8=1? 3.10.4 Bit8 of KBB (WORD1) = 0 3.10.5 Can the Roman code string up to KBB (WORD2 + 1) KBB (WORD1) be converted to a Kana code string? (Romaji kana conversion table RKCT
3.10.6 KBB (WORD2+1) to KBB
Convert the Romaji code string up to (WORD1) into a Kana code string (refer to the Romaji-Kana conversion table), and convert the conversion result back to KBB (WORD2+
Write to the positions from 1) to KBB (WORD1).
3.10.7 LEN←=ローマ字コード列の長さ−カナコ
ード列の長さ
3.10.8 WORD0←=WORD0−LEN
3.10.9 WORD1←=WORD1−LEN
3.10.10 WORD2←=WORD1
上述したようにステツプ3.10.1で、ローマ字FG
=1のときステツプ3.10.2に進む。ローマ字FG=
0のときステツプ3.10.10に進む。3.10.7 LEN←=Length of Romaji code string - Length of Kana code string 3.10.8 WORD0←=WORD0−LEN 3.10.9 WORD1←=WORD1−LEN 3.10.10 WORD2←=WORD1 Step 3.10 as described above .1, romaji FG
When = 1, proceed to step 3.10.2. Romaji FG=
If it is 0, proceed to step 3.10.10.
ステツプ3.10.2で、WORD1>WORD2である
ならローマ字カナ変換処理対象文字列がKB
BUFFER内に存在するためステツプ3.10.3に進
む。それ以外の時リターンする。 In step 3.10.2, if WORD1>WORD2, the character string to be processed for Romaji-kana conversion is KB.
Since it exists in BUFFER, proceed to step 3.10.3. Returns at other times.
ステツプ3.10.3で、KBB(WORD1)のbit8が1
であるなら、KBB(WORD1)はローマ字カナ変
換処理対象文字であり、ステツプ3.10.4に進む。
それ以外の時ステツプ3.10.10に進む。 In step 3.10.3, bit8 of KBB (WORD1) is 1
If so, KBB (WORD1) is the character to be processed for romaji-kana conversion processing, and the process proceeds to step 3.10.4.
Otherwise, proceed to step 3.10.10.
ステツプ3.10.4で、KBB(WORD1)のbit8=0
とする。 In step 3.10.4, bit8 of KBB (WORD1) = 0
shall be.
ステツプ3.10.5で、ローマ字カナ変換テーブル
RKCTを参照し、KBB(WORD2+1)から
KBB(WORD1)までのローマ字コード列がカナ
コード列に変換できるか否かチエツクする。もし
変換できるならステツプ3.10.6に進む、以下なら
リターンする。 In step 3.10.5, Romaji-kana conversion table
Refer to RKCT and from KBB (WORD2+1)
Check whether the Romaji code string up to KBB (WORD1) can be converted to a Kana code string. If it can be converted, proceed to step 3.10.6, otherwise return.
ステツプ3.10.6で、KBB(WORD2+1)から
KBB(WORD1)までのローマ字コード列をカナ
コード列に変換し、変換した結果を再びKBB
(WORD2+1)〜KBB(WORD1)までの値とす
る。 In step 3.10.6, from KBB (WORD2+1)
Convert the Romaji code string up to KBB (WORD1) to Kana code string, and convert the converted result back to KBB.
The value shall be from (WORD2+1) to KBB(WORD1).
ステツプ3.10.7でローマ字コード列の長さとカ
ナコード列の長さの差をLENとする。 In step 3.10.7, the difference between the length of the Romaji code string and the length of the Kana code string is set as LEN.
ステツプ3.10.8で、WORD0の値をレジスタ
LENの値だけ減ずる。 In step 3.10.8, register the value of WORD0
Decreased by the value of LEN.
ステツプ3.10.9で、WORD1の値をレジスタ
LENの値だけ減ずる。 In step 3.10.9, register the value of WORD1
Decreased by the value of LEN.
ステツプ3.10.10で、WORD2の値をWORD1の
値にしてローマ字カナ変換処理を終了する。 In step 3.10.10, the value of WORD2 is changed to the value of WORD1 and the Romanji-kana conversion process is completed.
次にステツプ3.11の半巾処理の詳細を第24図
a,bに示す、各ステツプの内容は以下に示す。 Next, details of the half-width processing in step 3.11 are shown in FIGS. 24a and 24b. The contents of each step are shown below.
3.11.1 半巾フラグHW FG=1?
3.11.2 WORD2>WORD3?
3.11.3 DECIMAL FG=1?
3.11.4 KBB(WORD2)は、パツキング可能な
文字コードか?
3.11.5 WORD2≧WORD3+2?
3.11.6 KBB(WORD2−1)とKBB(WORD2)
とをパツキングし、KBB(WORD2−1)に、
その結果を書き込む。3.11.1 Half width flag HW FG=1? 3.11.2 WORD2>WORD3? 3.11.3 DECIMAL FG=1? 3.11.4 Is KBB (WORD2) a packable character code? 3.11.5 WORD2≧WORD3+2? 3.11.6 KBB(WORD2-1) and KBB(WORD2)
Packing and to KBB (WORD2-1),
Write the result.
3.11.7 WORD0←=WORD0−1
WORD1←=WORD1−1
WORD2←=WORD2−1
WORD3←=WORD2
3.11.8 WORD2≧WORD2
3.11.9 KBB(WORD2−1)とスペースコード
とをパツキングし、その結果をKBB(WORD2
−1)の値とする。3.11.7 WORD0←=WORD0−1 WORD1←=WORD1−1 WORD2←=WORD2−1 WORD3←=WORD2 3.11.8 WORD2≧WORD2 3.11.9 Packing KBB (WORD2−1) and space code and the result KBB (WORD2
−1).
3.11.10 WORD3←=WORD2
3.11.11 KBB(WORD2)はDECIMAL TAB終
了コードか?
3.11.12 〔WORD2−WORD3〕の値は奇数か?
3.11.13 KBB(WORD3+1)〜KBB(WORD2
−1)までのコードを2コードずつパツキング
し、その結果再びKBB(WORD3+1)以降の
値とする。3.11.10 WORD3←=WORD2 3.11.11 Is KBB (WORD2) the DECIMAL TAB exit code? 3.11.12 Is the value of [WORD2−WORD3] an odd number? 3.11.13 KBB (WORD3+1) ~ KBB (WORD2
The codes up to -1) are packed two codes at a time, and the result is again set to values after KBB (WORD3+1).
3.11.14 DF REG←=WORD2−WORD3−1/2
3.11.15 スペースコード及びKBB(WORD3+
1)〜KBB(WORD2−1)までのコードを2
コードずつ、パツキングし、その結果を再び
KBB(WORD3+1)以降の値とする。3.11.14 DF REG←=WORD2−WORD3−1/2 3.11.15 Space code and KBB (WORD3+
1) - 2 codes from KBB (WORD2-1)
Pack the code one by one and re-pack the results.
The value shall be KBB (WORD3+1) or later.
3.11.16 DF REG=WORD2−WORD3/2
3.11.17 WORD3←=WORD3+DF
3.11.18 DF REG←=WORD2−WORD3−1
3.11.19 WORD0←=WORD0−DF
WORD1←=WORD1−DF
WORD2←=WORD2−DF
上述に示したようにステツプ3.11.1で、半巾フ
ラツグHW FG=1ならステツプ3.11.2に進む。
半巾フラグHW FG=0ならステツプ3.11.10に進
む。3.11.16 DF REG=WORD2−WORD3/2 3.11.17 WORD3←=WORD3+DF 3.11.18 DF REG←=WORD2−WORD3−1 3.11.19 WORD0←=WORD0−DF WORD1←=WORD1−DF WORD2←=WORD2− DF As shown above, in step 3.11.1, if the half-width flag HW FG = 1, proceed to step 3.11.2.
If half-width flag HW FG = 0, proceed to step 3.11.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 in half width, so step
Proceed to 3.11.3. Otherwise, return.
ステツプ3.11.3で、DECIMAL FG=1ならス
テツプ3.11.11に進む(DECIMAL半巾処理)。
DECIMAL FG=0ならステツプ3.11.4に進む
(DECIMAL全巾処理)。 If DECIMAL FG=1 in step 3.11.3, proceed to step 3.11.11 (DECIMAL half-width processing).
If DECIMAL FG=0, proceed to step 3.11.4 (DECIMAL full width processing).
ステツプ3.11.4で、KBB(WORD2)はパツキ
ング可能文字かチエツクする。ここで言うパツキ
ングとは、半巾文字コードにすべき文字コード
(1文字で1W)を2文字組合わせて半巾の内部コ
ード(2文字で1W)に変換することを言う。本
実施例において半巾が可能な文字コードとはスペ
ースコード、アルフアベツトコード、数字コード
およびピリオドコードである。 In step 3.11.4, check if KBB (WORD2) is a packable character. Packing here refers to converting a character code that should be made into a half-width character code (1W per character) into a half-width internal code (1W per 2 characters) by combining two characters. In this embodiment, character codes that can be half-width are space codes, alphanumeric codes, numeric codes, and period codes.
KBB(WORD2)がパツキング可能文字コード
であるならステツプ3.11.5に進む。否なら3.11.8
に進む。 If KBB (WORD2) is a packable character code, proceed to step 3.11.5. If no, 3.11.8
Proceed to.
ステツプ3.11.5で、WORD2≧WORD3+2で
あるなら、即ちKBB(WORD2)以外に既にKB
BUFFER内に半巾処理対象列が存在していたな
らステツプ3.11.6に進む。否ならリーターンし、
次にKBからの入力を待つ。 In step 3.11.5, if WORD2≧WORD3+2, that is, there is already KB in addition to KBB (WORD2).
If a half-width processing target column exists in BUFFER, proceed to step 3.11.6. If no, return.
Next, wait for input from KB.
ステツプ3.11.6で、KBB(WORD2)とKBB
(WORD3)とをパツキングし、KBB(WORD2−
1)とその結果を書き込む。 In step 3.11.6, KBB (WORD2) and KBB
(WORD3) and KBB (WORD2−
1) and write the results.
パツキングの方法については後述する。 The packing method will be described later.
ステツプ3.11.7で、WORD0、WORD1、
WORD2の値から1を減ずるWORD3の値を
WORD2の値にする。然る後リターンする。 In step 3.11.7, WORD0, WORD1,
Subtract 1 from the value of WORD2.
Set it to the value of WORD2. I will return after that.
ステツプ3.11.8で、WORD2≧WORD3+2で
あるなら、即ちKB BUFFER内に単独で半巾対
象文字が存在しているならステツプ3.11.9に進
む。否なら3.11.10に進む。 In step 3.11.8, if WORD2≧WORD3+2, that is, if the half-width 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, pack KBB (WORD2-1) and space code, and use the result.
The value is KBB (WORD2-1).
ステツプ3.11.10で、WORD3の値をWORD2の
値にセツトする。 In step 3.11.10, set the value of WORD3 to the value of WORD2.
ステツプ3.11.11で、KBB(WORD2)が
DECIMAL TAB終了コードであるならステツプ
3.11.12に進む、否ならリターンする。即ちステ
ツプ3.11.12以降は、DECIMAL TABモードが終
了してから行う。ここでDECIMAL TAB終了コ
ードとは、数字以外のコードのことである。 In step 3.11.11, KBB (WORD2)
Step if DECIMAL TAB exit code
Proceed to 3.11.12, otherwise return. That is, steps 3.11.12 and subsequent steps are performed after the DECIMAL TAB mode ends. Here, the DECIMAL TAB end code is a non-numeric code.
ステツプ3.11.12で、WORD2−WORD3の値が
奇数であるならステツプ3.11.13に進む。否なら
ステツプ3.11.15に進む。 In step 3.11.12, if the value of WORD2-WORD3 is an odd number, proceed to step 3.11.13. If not, proceed to step 3.11.15.
ステツプ3.11.13で、KBB(WORD3+1)〜
KBB(WORD2−1)までのコード列を2コード
ずつパツキングし、その結果再びKBB(WORD3
+1)以降の値とする。 At step 3.11.13, KBB (WORD3+1) ~
The code string up to KBB (WORD2-1) is packed two codes at a time, and as a result, KBB (WORD3
+1) or later.
ステツプ3.11.14で、(WORD2−WORD3−
1)/2の値を計算し、その結果をDF REGに
入れる。然る後ステツプ3.11.17に進む。 In step 3.11.14, (WORD2−WORD3−
1) Calculate the value of /2 and put the result in DF REG. Then proceed to step 3.11.17.
ステツプ3.11.15で、スペースコード及びKBB
(WORD3+1)〜KBB(WORD2−1)までのコ
ードを2コードずつパツキングし、その結果得ら
れたコードをKBB(WORD3+1)以降の値とす
る。 In step 3.11.15, space code and KBB
The codes from (WORD3+1) to KBB(WORD2-1) are packed two codes at a time, and the resulting codes are used as the 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, increase the value of WORD3 by the value of DF REG.
ステツプ3.11.18で、WORD2−WORD3−1を
計算し、その値をDF REGに入れる。 In step 3.11.18, calculate WORD2-WORD3-1 and put the value in DF REG.
ステツプ3.11.19で、WORD0、WORD1、
WORD2のそれぞれの値からDF REGの値を減
じ、半巾処理を終了する。 In step 3.11.19, WORD0, WORD1,
Subtract the value of DF REG from each value of WORD2 and end the half-width processing.
次の上述のステツプ3.11.6、3.11.9、3.11.13、
3.11.15に於いて行われるパツキング処理を第2
5図を用いて説明する。かかる処理は半巾処理対
象文字コードの2単位(2W)を半巾内部コード
(1W)にパツキングするための処理で、各ステツ
プの内容は以下に示す。 Following the above steps 3.11.6, 3.11.9, 3.11.13,
The packing process performed in 3.11.15 is the second
This will be explained using Figure 5. This process is for packing two units (2W) of the half-width processing target character code into a half-width internal code (1W), and the contents of each step are shown below.
4.1 パツキング対象第1Wは全巾のスペースコー
ド又はピリオドコードか?
4.2 パツキングレジスタのbit1〜bit7を0100000
又は0101110とする。4.1 Is the 1st W to be packed a full-width space code or period code? 4.2 Set bits 1 to 7 of the packing register to 0100000
Or 0101110.
4.3 パツキングレジスタのbit1〜bit7をパツキン
グ対象第1Wのbit9〜bit15の値とする。4.3 Set bits 1 to 7 of the packing register to the values of bits 9 to 15 of the 1st W to be packed.
4.4 パツキング対象第2Wは全巾のスペースコー
ド又はピリオドコードか?
4.5 パツキングレジスタのbit9〜bit15を0100000
又は0101110とする。4.4 Is the 2nd W to be packed a full-width space code or period code? 4.5 Set bit9 to bit15 of packing register to 0100000
Or 0101110.
4.6 パツキングレジスタのbit9〜bit15をパツキ
ング対象第2Wのbit9〜bit15の値とする。4.6 Set bits 9 to 15 of the packing register to the values of bits 9 to 15 of the 2nd W to be packed.
上述に示す如くステツプ4.1〜4.6により半巾対
象文字の第1Wのbit9〜bit15をパツキングレジス
タのbit1〜bit7に入れ、半巾対象文字の第2Wの
bit9〜bit15をパツキングレジスタのbit9〜bit15
に入れる。その後パツキングレジスタのbit0を1
にする。 As shown above, in steps 4.1 to 4.6, bits 9 to 15 of the 1st W of the half-width target character are placed in bits 1 to 7 of the packing register, and the 2nd W of the half-width target character is
Packing bit9 to bit15 bit9 to bit15 of register
Put it in. Then set bit 0 of the packing register to 1
Make it.
但し、パツキング対象文字コードがスペースコ
ードまたは、ピリオドコードであつた時は、bit9
〜bit15のかわりに“0100000”または“0101110”
を使用する。かくしてパツキングレジスタにパツ
キングされた半巾内部コードを得ることができ
る。 However, if the character code to be packed is a space code or period code, bit9
~ “0100000” or “0101110” instead of bit15
use. In this way, a half-width internal code packed into a packing register can be obtained.
第26図、第27図はパツキング処理の例で、
第26図は半巾パツキング、第27図も半巾パツ
キングの例を示す。 Figures 26 and 27 are 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 step 3.12 are shown in FIG. The contents of each step are shown below.
3.12.1 DECIMAL FG=1?
3.12.2 KBB(WORD0)はDECIMAL TAB終
了コードか?
3.12.3 DECIMAL FGリセツト
3.12.4 WORD4←=WORD3
上述した如くステツプ3.12.1で、DECIMAL
FG=1のときステツプ3.12.2に進む。否の時ステ
ツプ3.12.4に進む。3.12.1 DECIMAL FG=1? 3.12.2 Is KBB (WORD0) a DECIMAL TAB exit code? 3.12.3 DECIMAL FG reset 3.12.4 WORD4←=WORD3 As mentioned above, in step 3.12.1, DECIMAL
When FG=1, proceed to step 3.12.2. If no, proceed to step 3.12.4.
ステツプ3.12.2でKBB(WORD0)が
DECIMAL TAB終了コードであるなら、ステツ
プ3.12.3に進む。否ならリターンする。即ち
DECIMAL TAB終了コードがKBから打鍵され
るまでKB BUFFER内にDECIMAL TABモー
ドで入力されたデータは、有効データとはなり得
ない。ここでDECIMAL TAB終了コードとは数
字以外のコードのことである。 KBB (WORD0) in step 3.12.2
If it is a DECIMAL TAB exit code, proceed to step 3.12.3. If no, return. That is,
Data entered in DECIMAL TAB mode in the KB BUFFER cannot be valid data until the DECIMAL TAB end code is pressed from the KB. Here, the DECIMAL TAB end code is a non-numeric code.
ステツプ3.12.3で、DECIMAL FGを0にする。 In step 3.12.3, set DECIMAL FG to 0.
ステツプ3.12.4で、WORD4の値をWORD3の
値にし、DECIMAL処理を終了する。 In step 3.12.4, set the value of WORD4 to the value of WORD3 and end the DECIMAL processing.
次に上述に説明したバツフアKB BUFFER内
のデータの状態を第29図a〜fを用いて説明す
る。 Next, the state of the data in the buffer KB BUFFER described above will be explained using FIGS. 29 a to 29 f.
aにおいては、BS(バツクスペース)キーに対
する処理例を示すもので、KB BUFFER中の末
尾データである“D”が削除され、KB
BUFFER HEADER部パラメータのDATA
LENGTHの一部が減じられている様子がわか
る。しかしながらWORD2以降には、その影響は
およばない。 A shows an example of processing for the BS (backspace) key, in which the last data “D” in KB BUFFER is deleted, and the KB
BUFFER HEADER section parameter DATA
It can be seen that a portion of LENGTH has been reduced. However, this effect does not extend to WORD2 and beyond.
bにおいては、濁点キーに対する処理例を示す
ものである。WORD0の値には変化がないが、
WORD2が増加し、引いては、KB BUFFERの
有効DATA LENGTHを示すWORD4の増加も
見られる。 In b, an example of processing for a voiced-tone key is shown. There is no change in the value of WORD0, but
WORD2 increases, and by extension WORD4, which indicates the effective DATA LENGTH of KB BUFFER, also increases.
cにおいては、ローマ字入力におけるKB
BUFFER内の様子が見られる。この場合も、全
DATA LENGTHを示すWORD0の値はかわら
ないが、有効DATA LENGTHを示すWORD4
の値が増加している様子がわかる。 In c, KB in Romaji input
You can see the inside of BUFFER. In this case as well, all
The value of WORD0 indicating DATA LENGTH does not change, but WORD4 indicating effective DATA LENGTH
It can be seen that the value of is increasing.
dは半巾入力モードにおいて、“F”というキ
ーを入力した時のKB BUFFERの様子である。 d shows the state of the KB BUFFER when the "F" key is input in the half-width input mode.
eは全巾モードにおけるDECIMAL処理の様子
を示す。 e shows the state of DECIMAL processing in full-width mode.
fは半巾モードにおけるDECIMAL処理の様子
を示している。 f shows the state of DECIMAL processing in half-width mode.
次にステツプ3.13のDISPLAY処理について第
30図を参照して説明する。 Next, the DISPLAY process in step 3.13 will be explained with reference to FIG.
各ステツプの内容を以下に示す。 The contents of each step are shown below.
3.13.1 CRT REFRESH MEMORYの第8行目
に相当する位置にすべてスペースコードを埋め
る。3.13.1 Fill in space codes in all positions corresponding to the 8th line of CRT REFRESH MEMORY.
3.13.2 KBB(1)〜KBB(WORD0)までのコード
をCRT REFRESH MEMORYの第8行第1
桁の位置から順に書き込む、その際KBB
(WORD4+1)〜KBB(WORD0)まではbit8
=1に変換し書き込む。(但しWORD4=
WORD0)の時は不必要)
3.13.3 カーソルコードをCRT REFRESH
MEMORYの第8行第〔WORD0+1〕桁の位
置に書き込む。3.13.2 Code from KBB(1) to KBB(WORD0) to 8th line 1st of CRT REFRESH MEMORY
Write in order from the digit position, then KBB
(WORD4+1) to KBB (WORD0) is bit8
= 1 and write. (However, WORD4=
3.13.3 CRT REFRESH cursor code
Write to the 8th row [WORD0+1] column of MEMORY.
上述したようにステツプ3.13.1で、CRT
REFRESH MEMORYの第8行目に相当する位
置にすべてスペースコードを埋める。 In step 3.13.1 as mentioned above, the CRT
Fill in space codes in all positions corresponding to the 8th line of REFRESH MEMORY.
ステツプ3.13.2で、KB BUFFER内のデータ
(WORD0でその長さが規定される)をCRT
REFRESH MEMORYの第8行目に相当する位
置に移す。この時WORD0とWORD4との値に相
異があるならば、バツフアKB BUFFER内の
DATAの中の有効DATA LENGTHと全く
DATA LENGTHの間に差があることになる。
有効データは表示装置CRTに普通輝度表示を行
い。今だ有効データになつていないデータは低輝
度表示を行うことにする。そのため第〔WORD4
+1〕番目のデータから第〔WORD0〕番目のデ
ータに対応するメモリCRT REFRESH
MEMORY内のデータのbit8を1にする。 In step 3.13.2, data in KB BUFFER (its length is specified by WORD0) is transferred to CRT.
Move to the position corresponding to the 8th line of REFRESH MEMORY. At this time, if there is a difference between the values of WORD0 and WORD4, the values in the buffer KB BUFFER
Effective DATA LENGTH in DATA and exactly
There will be a difference between DATA LENGTH.
Valid data is displayed with normal brightness on the display device CRT. Data that has not yet become valid data will be displayed with low brightness. Therefore, No. 〔WORD4
Memory CRT REFRESH corresponding to data from +1]th data to [WORD0]th data
Set bit8 of data in MEMORY to 1.
ステツプ3.13.3で、第8行目に次にキーボード
KBから入力すべきデータの位置を入力者に知ら
せるため、カーソルコードをメモリCRT
REFRESH MEMORYの第8行目第〔WORD0
+1〕桁目の位置に書き込む。カーソルコード
は、カーソルパターンに対応してつけられたコー
ドである。 In step 3.13.3, on the 8th line, next the keyboard
The cursor code is stored in the memory CRT to inform the inputter of the location of the data to be input from the KB.
REFRESH MEMORY 8th line [WORD0
+1] Write in the digit position. The cursor code is a code attached to correspond to a cursor pattern.
上述のようにしてDISPLAY処理を終了する。 DISPLAY processing ends as described above.
以上説明した本実施例においては、半巾の
DECIMAL処理においてピリオドは小数点以下の
数値とパツキングすることにしたが、第1の位の
数値とピリオドとをパツキングするように構成し
ても良い。 In this embodiment explained above, the half-width
In the DECIMAL processing, periods are packed with numbers below the decimal point, but it is also possible to pack periods with numbers in the first digit.
本実施例においては有効データと未だ有効デー
タとなつていないデータとの区別を表示輝度を変
えることによつて行つたが、他の反転表示点滅表
示、高輝度表示等による区別の方法も考えられ
る。 In this embodiment, valid data and data that has not yet become valid data were distinguished by changing the display brightness, but other methods of differentiation such as inverted display, blinking display, high-intensity display, etc. are also possible. .
本実施例では入力したデータを順に表示してい
く入力モータ装置を説明したが、入力モータ装置
に限らず入力手段と出力手段を有する任意の文字
処理装置に適用できる。 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.
[効果]
以上、詳述しました様に、本発明により、仮名
データ列が表示されている行と同一の行におい
て、新たに入力される子音データを、前記仮名デ
ータ列に引き続いて連続的に表示することができ
る文字処理方法を提供することが可能となつた。[Effect] As described in detail above, according to the present invention, newly input consonant data is continuously displayed following the kana data string in the same row as the kana data string. It has become possible to provide a character processing method that can be displayed.
第1図は本発明による1実施例を示すブロツク
図、第2図はバツフアKB BUFFERを説明する
図、第3図はメモリLRY REFRESH
MEMORYを説明する図、第4図はバツフアKB
READ BUFFERを説明する図、第5図はデータ
の構成を説明する図、第6図はキーボードKBの
詳細図、第7図はKBコード内部コード変換テー
ブルを示す図、第8図は濁点、半濁点テーブルを
示す図、第9図はローマ字カナ変換テーブルを示
す図、第10図はCRTコントローラを説明する
図、第11図はイニシヤライズ処理を説明する
図、第12図はMAIN処理1を示す図、第13
図はMAIN処理2を示す図、第14図はKB
BUFFER READ処理を示す図、第15図はデー
タの変化を示す図、第16図はKB BUFFER
LOOK処理を示す図、第17図はKB入力処理を
示す図、第18図はFG処理を示す図、第19図
はBS処理を示す図、第20図はコードコンバー
ジヨン処理を示す図、第21図はKB BUFFER
書き込み処理を示す図、第22図は濁点、半濁点
処理を示す図、第23図はローマ字カナ変換処理
を示す図、第24図a,bは半巾処理を示す図、
第25図はパツキング処理を示す図、第26図は
半巾パツキングを説明する図、第27図は半巾パ
ツキング(スペースのある場合)を説明する図、
第28図はDECIMAL処理を示す図、第29図a
〜fはデータ移動を示す図、第30図は
DISPLAY処理を示す図である。
RAM……メモリ、ROM……制御メモリ、
CPU……マイクロプロセツサ、CRT……表示装
置。
Figure 1 is a block diagram showing one embodiment of the present invention, Figure 2 is a diagram explaining the buffer KB BUFFER, and Figure 3 is a diagram explaining the memory LRY REFRESH.
Diagram explaining MEMORY, Figure 4 is Batshua KB
A diagram explaining READ BUFFER, 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, and Figure 8 is a diagram explaining the dakuten and half-tone. Figure 9 is a diagram showing a dakuten table, Figure 9 is a diagram showing a Romaji-kana conversion table, Figure 10 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. , 13th
The figure shows MAIN processing 2, Figure 14 is KB
Figure 15 shows the BUFFER READ process, Figure 15 shows the data changes, Figure 16 shows the KB BUFFER
Figure 17 is a diagram showing KB input processing; Figure 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 KB BUFFER
Figure 22 is a diagram showing the writing process, Figure 22 is a diagram showing the voiced and handakuten processing, Figure 23 is a diagram showing the Romaji-kana conversion process, Figures 24a and b are diagrams showing the half-width processing,
Fig. 25 is a diagram showing the packing process, Fig. 26 is a diagram explaining half-width packing, Fig. 27 is a diagram explaining half-width packing (if there is space),
Figure 28 is a diagram showing DECIMAL processing, Figure 29a
~f is a diagram showing data movement, and Figure 30 is
FIG. 3 is a diagram showing DISPLAY processing. RAM...memory, ROM...control memory,
CPU...microprocessor, CRT...display device.
Claims (1)
音を表わす)を入力して日本文を入力するローマ
字入力状態において、 逐次入力される前記英文字データの子音データ
と母音データの組について、前記母音データの入
力に基づいて、直ちにローマ字つづりに対応する
仮名データに変換し、 前記変換された仮名データが仮名データ列とし
て表示されている状態において、 前記仮名データ列が表示されている行と同一の
行において、新たに入力される子音データを、前
記ローマ字つづりに対応する仮名データに変換さ
れない状態のままであつて、かつ、前記表示され
ている仮名データ列に引き続いて連続的に表示さ
せ、 次に新たに入力された母音データに基づいて、
直ちにローマ字つづりに対応する仮名データに変
換し、前記変換によつて得られた前記仮名データ
を、前記新たに入力された子音データが表示され
ている位置に、前記新たに入力された子音データ
に代わつて表示するよう、制御を行うことを特徴
とする文字処理方法。[Scope of Claims] 1. In a Roman character input state in which a Japanese sentence is input by inputting English characters (representing consonants or vowels) forming Roman characters, consonant data and vowels of the English character data that are sequentially input. Immediately converting the data set into kana data corresponding to the Roman alphabet spelling based on the input of the vowel data, and displaying the kana data string while the converted kana data is displayed as a kana data string. In the same line as the row in which the newly input consonant data is not converted to kana data corresponding to the Roman alphabet spelling, and continues from the displayed kana data string, Display it continuously, and then based on the newly input vowel data,
Immediately convert it into kana data corresponding to the romaji spelling, and add the kana data obtained by the conversion to the newly input consonant data at the position where the newly input consonant data is displayed. A character processing method characterized by performing control so that a substitute display is performed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62247594A JPS63219059A (en) | 1987-09-29 | 1987-09-29 | character processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62247594A JPS63219059A (en) | 1987-09-29 | 1987-09-29 | character processing device |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55135572A Division JPS5760462A (en) | 1980-09-29 | 1980-09-29 | Character processing equipment |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4230267A Division JP2567187B2 (en) | 1992-08-28 | 1992-08-28 | Character processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63219059A JPS63219059A (en) | 1988-09-12 |
| JPH0480420B2 true JPH0480420B2 (en) | 1992-12-18 |
Family
ID=17165829
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62247594A Granted JPS63219059A (en) | 1987-09-29 | 1987-09-29 | character processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS63219059A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5549771A (en) * | 1978-10-02 | 1980-04-10 | Canon Inc | Character processing unit |
-
1987
- 1987-09-29 JP JP62247594A patent/JPS63219059A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63219059A (en) | 1988-09-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5418718A (en) | Method for providing linguistic functions of English text in a mixed document of single-byte characters and double-byte characters | |
| JPH023212B2 (en) | ||
| JPH0480420B2 (en) | ||
| JPH0440741B2 (en) | ||
| JP2567187B2 (en) | Character processing method | |
| JPS61250768A (en) | Device for updating conversion dictionary | |
| KR910001562B1 (en) | Method of input and display of koreancharacters | |
| JPH01230093A (en) | Method for displaying character | |
| JPS63219058A (en) | character processing device | |
| JP2786260B2 (en) | Kana-Kanji conversion device | |
| JP2846655B2 (en) | Character correction method | |
| JP2944666B2 (en) | Character processor | |
| JP2603269B2 (en) | Character processor | |
| JPH0565899B2 (en) | ||
| JP2543501B2 (en) | Word processor | |
| JPH0816908B2 (en) | Character processing device and character processing method | |
| JPS62200396A (en) | Display method | |
| JP2548129B2 (en) | Text input device | |
| JPS63219057A (en) | character processing device | |
| JPH0225547B2 (en) | ||
| JPS6089235A (en) | character processing device | |
| JPS61196359A (en) | character processing device | |
| JPH0562794B2 (en) | ||
| JPS6348593A (en) | character processing device | |
| JPS6341923A (en) | Method of changing kind of character in keyboard inputting |