JPS62283391A - Display editing system for hybrid system of more than one type of code - Google Patents

Display editing system for hybrid system of more than one type of code

Info

Publication number
JPS62283391A
JPS62283391A JP61127034A JP12703486A JPS62283391A JP S62283391 A JPS62283391 A JP S62283391A JP 61127034 A JP61127034 A JP 61127034A JP 12703486 A JP12703486 A JP 12703486A JP S62283391 A JPS62283391 A JP S62283391A
Authority
JP
Japan
Prior art keywords
code
cursor
type
character
display
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
JP61127034A
Other languages
Japanese (ja)
Inventor
亀井 文夫
英樹 奥野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP61127034A priority Critical patent/JPS62283391A/en
Publication of JPS62283391A publication Critical patent/JPS62283391A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〈産業上の利用分野〉 この発明は漢字処理機能付ポケットコンピュータ(ポケ
コン)等に使用する2種類以上のコードの混在系におけ
る表示編集方式に関する。
[Detailed Description of the Invention] 3. Detailed Description of the Invention (Field of Industrial Application) This invention relates to a display and editing system in a mixed system of two or more types of codes used in a pocket computer with a kanji processing function, etc. .

〈従来の技術〉 現在、ポケットコンピュータ等のBAS[Cインタプリ
タにおいて漢字コードを扱う場合、第3図のようなコー
ド体系になっている。第3図のコード系に従って、AN
K、漢字、BASICインタプリタ命令圧縮コード(以
下、命令圧縮コートと呼ぶ)の3種のコードの混在した
例を示したものが第4図のプログラムリスト表示である
。第4図の表示画面において、rPRINTJはBAS
 ICのコマンド名である。「陰」はプログラム実行時
にコマンドにより表示される漢字キャラクタ−である。
<Prior Art> Currently, when kanji codes are handled in a BAS[C interpreter such as a pocket computer, the code system is as shown in FIG. According to the code system in Figure 3, AN
The program list display in FIG. 4 shows an example of a mixture of three types of codes: K, Kanji, and BASIC interpreter instruction compression code (hereinafter referred to as instruction compression code). In the display screen of Figure 4, rPRINTJ is BAS
This is the IC command name. "Yin" is a Kanji character that is displayed by a command when the program is executed.

rAJrBjrc’はプログラム実行時に表示される英
文字キャラクタ−である。第4図に示す表示を構成する
メモリ内容を第5図に示す。第5図において左よりr)
’E 894はrPRtNTjの命令圧縮コードである
。r8941Jは「陰」の漢字コードである。r41 
Jr42Jr43Jは各々rAJrBJrcJのANK
コードである。
rAJrBjrc' is an English character displayed when the program is executed. FIG. 5 shows the memory contents constituting the display shown in FIG. 4. From the left in Figure 5 r)
'E 894 is the instruction compression code of rPRtNTj. r8941J is the kanji code for "in". r41
Jr42Jr43J are ANK of rAJrBJrcJ respectively
It is a code.

表示編集において第5図でカーソルを左から右へ移動す
る場合は、まずrFEjを調べ、これか命令圧縮コード
(2バ、イト構成)の1ベイト目であることを認識17
、次のr89JととらにrFE  89JによりrPR
I NTjの命令圧縮コードであることを認識できる。
When moving the cursor from left to right in Figure 5 during display editing, first check rFEj and recognize that this is the first bait of the instruction compression code (2 byte, byte configuration)17
, rPR by next r89J and Tora rFE 89J
It can be recognized that this is an instruction compression code of INTj.

次に3文字目のr89J1は漢字コード(2バイト構成
)の1バイト目であることを認識し、次の「41」とと
もにr8941jにより「陰」の漢字コードであること
を認識できる。次に、5文字目の「11」は、ヘトJK
コード(1バイト)の「A」であることを認識でき、r
42jr43jにおいてもA N KコードのrBjr
cjであることを認識できる。
Next, the third character r89J1 is recognized as the first byte of the Kanji code (consisting of 2 bytes), and together with the next "41", r8941j allows the user to recognize that it is the Kanji code for "Yin". Next, the 5th letter “11” is a bad JK
It can be recognized that it is “A” in the code (1 byte), and r
42jr43j also has the ANK code rBjr.
It can be recognized that it is cj.

このようにカーソル右移動の場合は、コードを順にサー
チして行くので、コードの種類の判別ができろ。このた
め、第6図のようにコード単位にカーソルをスキップさ
せることができろ。
When you move the cursor to the right like this, the codes are searched in order, so you can determine the type of code. Therefore, it would be possible to skip the cursor in code units as shown in Figure 6.

次に、第6図の(d)の状態にカーソル表示されている
場合、カーソルを左移動させる場合について考えてみる
。カーソル左移動におけるカーソルの王しい表示例を第
7図に示す。
Next, let us consider the case where the cursor is displayed in the state shown in FIG. 6(d) and the cursor is moved to the left. FIG. 7 shows a typical display example of the cursor when the cursor is moved to the left.

しかし、第5図のコード例の「42」の位置より午方向
にコード検索していく場合、第8図のように2通りの文
字ソリか考えられる。
However, if the code is searched in the noon direction from the position of "42" in the code example of FIG. 5, there are two possible character types as shown in FIG.

第8図(a)は所望のコート列である。第8図(b)は
コード列として可能性のある別の:r−+;列である。
FIG. 8(a) shows a desired coat row. FIG. 8(b) shows another possible code string: r-+;.

つまり(b)の「42」の位置より左方向に1つ進むと
ra 12h<あり「A jと認識される。さらに左方
向に1つ進むと「41]があり、これも「A」と認識さ
れる。次に、左方向に1つ進むと「89」があり、これ
は2バイト系の下位バイトと認識され、さらに1つ左の
r89jととらにr898J宅より「演−1という漢字
として認識される。このように検索していくと最左列に
ある文字はrFEJとなり、これはコードとして矛盾で
あjつ、結局は再度「、12」の位置より左方向に検索
していき、(a)のように矛盾のないコードyalを得
ろことができろつじかし、(a)のコード列を認識する
には一度Cb)のようなコード列の検索を行なった後、
これに矛盾を見出した後、改めて別の組合わせ検索を行
なりノに後、(a)のコード列を得るのである。つまり
第3ヌ1のようなコード体系において、左方向に検索し
ていく場合、最左にあるコードまで検索してみないと、
途中つコードの組合わせか正しいかどうか分からないっ
したがってカーソル左移動の場合にはコード種類の判別
が遅くなるため、カーソル右移動の逆の移動(第7図)
が文字の挿入等の編集・処理に時間がかかるという欠点
がある。
In other words, if you go one position to the left from the "42" position in (b), it will be recognized as ra 12h < and "A j." If you go one step further to the left, you will find "41", which is also recognized as "A". Recognized. Next, moving one position to the left, we find "89", which is recognized as the lower byte of the 2-byte system, and further to the left, r89j and Tora r898J, which is recognized as the kanji "en-1". When searching in this way, the character in the leftmost column becomes rFEJ, which is inconsistent as a code.In the end, we search again to the left from the position of ", 12", and find (a) However, in order to recognize the code string in (a), after searching for the code string in Cb),
After finding a contradiction in this, another combination search is performed and the code string (a) is obtained. In other words, in a code system like 3rd number 1, if you search to the left, you have to search all the way to the leftmost code.
You don't know if the combination of chords in the middle is correct, so if you move the cursor to the left, it will be slower to determine the chord type, so move the cursor in the opposite direction to the right (Figure 7).
However, the disadvantage is that editing and processing such as inserting characters takes time.

〈発明の目的〉 そこで、この発明の目的は、2種類以上のコード混在系
において右から左へカーソルを移動させる場合に最左の
文字列まで検索することなく、右から左・\正しくコー
ド検索ができるようにすること、すなわち、表示文字単
位にカーソルを移動させる。二とができるよう1こする
こと1こある。
<Purpose of the Invention> Therefore, the purpose of the present invention is to perform correct code search from right to left without searching to the leftmost character string when moving the cursor from right to left in a mixed system of two or more types of codes. In other words, move the cursor to each displayed character. There is one thing you need to rub so that you can do two things.

〈発明の構成〉 上記目的を達成するため、この発明の2種類以」二のコ
ードの混在系における表示編集方式は、異なる複数種の
コード系を使用する電子機器において、コード変換部に
より、カーソルのある行のコードデータのPilltを
判別すると!友に、コードデータの種類を表わす特殊コ
ードに変換して、バクファに書き込み、上記バッファ内
のコードデータの種類をコード判別部により判別し、上
記コート判別部の判別結果に基づいて、カーソル制御部
でカーソルを表示文字単位に移動させるようにしたこと
を特徴としている。
<Structure of the Invention> In order to achieve the above object, the present invention provides a display editing method for a mixed system of two or more types of codes, in which a cursor is When determining the Pillt of code data in a certain line! The code data is converted into a special code representing the type of code data and written to the buffer, the type of code data in the buffer is determined by the code discrimination section, and the cursor control section The feature is that the cursor is moved to each displayed character.

く作用〉 例として第5図のコード列を、コード検索時にコード変
換部で特殊コート化してバッファに格納しr、らのを第
2図に示す。第2図において、rPn l N T J
の命令圧縮コードI″FE  894はそのままにして
おく。次の「陰」の漢字コードr8941Jにおいて、
上位バイト「89」はrFc+Jに、下位バイト「41
」はrrp」に変える。次にr A Jr B Jr 
CΣ1のANKコード丁41 J「4:Jr43Jは各
々「00ヨに変える。これにより、カーソル制御部はコ
ード判別部の可断に基づいて文字単位でカーソルを移動
させ、第8図(b)のように「陰」のコード「89・1
1jの「41」を「A」と認識することがなくなる。
As an example, FIG. 2 shows a case in which the code string shown in FIG. 5 is converted into a special code by a code converter and stored in a buffer at the time of code search. In FIG. 2, rPn l N T J
Leave the instruction compression code I″FE 894 as it is.In the next kanji code r8941J for “in”,
The upper byte "89" is in rFc+J, and the lower byte "41" is in rFc+J.
” should be changed to “rrp”. Next r A Jr B Jr
The ANK code D41J of CΣ1 is changed to "00Yo" respectively.As a result, the cursor control section moves the cursor character by character based on the determination of the code discrimination section, and The code for “yin” is “89.1”
1j's "41" will no longer be recognized as "A".

つまりこの「4【巳はrFFJに特殊コード化されてい
るため、漢字コードの下位バイトと認識する。
In other words, this "4 [snake] is specially encoded as rFFJ, so it is recognized as the lower byte of the kanji code.

第8図(a)のように正しいコード列が最左の文字列ま
で検索することなく正しく検索できる。
As shown in FIG. 8(a), the correct code string can be searched correctly without having to search all the way to the leftmost character string.

ただし、この例では特殊コード化にあたっての規則とし
て、命令圧縮コードの下位バイトに「FDJrFEJr
FFJは使用しないものとする。
However, in this example, as a rule for special encoding, "FDJrFEJr
FFJ shall not be used.

〈実施例〉 第1図はこの発明の一実施例におけるデータの流れを示
したブロック図であり、lは表示すべきデータのコード
を記憶したメモリ、2はメモリlのコードを読み取り、
命令コードかキャラクタ−コードかを判別し、命令コー
ドであれば命令コードをキャラクタ−コード°列に展開
し、後述のキャラクタジェネレータ4をアクセスし、コ
マンド名の文字パターンをビデオランダムアクセスメモ
リ(VRAM)3に出力しコマンド名を表示させ、キャ
ラクタ−コードであればそのキャラクタ−コードに対応
する文字パターンをキャラクタジェネレータ4より読み
出し、ビデオランダムアクセスメモリ(VRAM)3に
出力する表示制御部、4は文字パターンデータを文字コ
ードに対応して記憶するキャラクタジェネレータ、5は
カーソルキー等の命令に従ってカーソルを移動させるカ
ーソル制御部、6はメモリの内容によりコードの種別を
判別してコードの種別を示す特殊コードを出力するコー
ド変換部、7はコード変換部6より出力されたコードの
種別を示す特殊コードを記憶するバッファ、8はカーソ
ル制御部5の制御に従い、バッファ7内のデータを判別
するコード判別部、9はVRAM3に書き込まれた文字
ドツトパターンを読み出して表示する表示ユニットであ
る。
<Embodiment> FIG. 1 is a block diagram showing the flow of data in an embodiment of the present invention, l is a memory that stores the code of data to be displayed, 2 reads the code of the memory l,
It determines whether it is an instruction code or a character code, and if it is an instruction code, expands the instruction code into a character code column, accesses the character generator 4 (described later), and stores the character pattern of the command name in video random access memory (VRAM). 3 to display the command name, and if it is a character code, read out the character pattern corresponding to the character code from the character generator 4 and output it to the video random access memory (VRAM) 3; 4 is a character A character generator that stores pattern data in correspondence with character codes; 5 a cursor control unit that moves the cursor according to commands from cursor keys; and 6 a special code that determines the type of code based on the contents of the memory and indicates the type of code. 7 is a buffer that stores a special code indicating the type of code output from the code converter 6; 8 is a code discriminator that discriminates the data in the buffer 7 under the control of the cursor controller 5; , 9 is a display unit that reads out the character dot pattern written in the VRAM 3 and displays it.

上工己キャラクタジェネレータ4は1バイトコードに対
応する16×8の文字パターンデータの記憶部4−Aと
2バイトコードに対応する16×16の文字パターンデ
ータの記憶部4−8とに分けられている。
The character generator 4 is divided into a storage section 4-A for 16×8 character pattern data corresponding to a 1-byte code and a storage section 4-8 for 16×16 character pattern data corresponding to a 2-byte code. ing.

左から右にカーソルを移動させて表示を行なう場合、表
示制御部2はメモリlの内容を順次左から右に読み取り
、1バイトコードか2バイトコードかを判別し、コード
の種類によりキャラクタジェネレータ4を記憶部4−A
または4−Hに切り換えて、コードに対応するパターン
データを読み込む。そして、表示ドツトパターンを記憶
するVRAM3にドブドパターンデータを書き込む。そ
して書き込まれたパターンは表示ユニット9により表示
される。
When displaying by moving the cursor from left to right, the display control unit 2 sequentially reads the contents of the memory l from left to right, determines whether it is a 1-byte code or a 2-byte code, and uses the character generator 4 depending on the type of code. storage unit 4-A
Or switch to 4-H and read the pattern data corresponding to the code. Then, the dot pattern data is written into the VRAM 3 that stores the display dot pattern. The written pattern is then displayed on the display unit 9.

次に、カーソルを右から左に移動するとする。Next, suppose you want to move the cursor from right to left.

カーソル制御部5にはカーソル位置を記憶するカーソル
カウンタがあり、カーソルカウンタにより指定される行
の表示データをコード変換部6を通して特殊コードに変
換してバッファ7に書き込む。
The cursor control section 5 has a cursor counter that stores the cursor position, and the display data of the line designated by the cursor counter is converted into a special code through the code conversion section 6 and written into the buffer 7.

そして、カーソル制御部5はカーソルキーの押下に従っ
てカーソル位置を変える。このときカーソルカウンタw
I5はカーソルカウンタの内容を更新し、カーフ・ルカ
ウンタによ・つ指定されるバッファ7内の;−夕をコー
ト判別部8により判別ずろ。そして、そのデータか2バ
イトの下位を示すデータなろば更にカーソルカウンタを
更新して、2バイトコードの上位部の位置を示す内容に
し、他方、1バイトコードを示すデータならばそのまま
でそのコードの位置を示す内容にする。そして、カウン
タの内容により指定されるVRAM3のアドレスにカー
プルパターンを文字パターンと重ねる。このようにする
ことにより、使い易く、見易い表示が行なわれる。
Then, the cursor control unit 5 changes the cursor position according to the depression of the cursor key. At this time, the cursor counter w
I5 updates the contents of the cursor counter, and causes the coat discriminating section 8 to discriminate the value in the buffer 7 specified by the cursor counter. If the data indicates the lower 2-byte code, the cursor counter is further updated to indicate the upper part of the 2-byte code, whereas if the data indicates a 1-byte code, it is left as is. Make the content indicate the location. Then, the curve pattern is superimposed on the character pattern at the address of the VRAM 3 specified by the contents of the counter. By doing so, the display is easy to use and easy to see.

尚、カーソルパターンを2バイトコードと1バイトコー
ドの判別により切り換えるようにしてもよい。
Incidentally, the cursor pattern may be switched by determining whether it is a 2-byte code or a 1-byte code.

〈発明の効果〉 以上より明らかなように、この発明によれば、2種類以
上のコードの混在系において、カーソル移動処理1衷示
編集を行う場合、表示文字単位にすばやくカーソルを移
動さ仕ることができ、最左の文字列まで検索することな
く、正しくコー!−険索ができ、使い易く、見易い表示
ができろ。
<Effects of the Invention> As is clear from the above, according to the present invention, when cursor movement processing 1 indicating editing is performed in a mixed system of two or more types of codes, the cursor can be quickly moved in display character units. Correctly code without having to search all the way to the leftmost string! - It should be easy to navigate, easy to use, and have easy-to-read displays.

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

第1図はこの発明の一実施例のブロック図、第2図はメ
モリの内容およびバッファの内容を示す図、第3図はコ
ート系の説明図、第4図は混在したコードによる文字の
表示例を示す図、第5図は第4図のメモリ内容を示す図
、第6.7図はカーソル表示例を示す図、第8図(a)
 、 (b)は左方向にコード検索していく場合のコー
ド列を示す図である。 l・・・メモリ、2・・・表示制御部、3・・V RA
 M 。 4・・・キャラクタノエネレータ、5・・・カーソル制
御部、6・・コード変換部、7・・・バッファ、訃・・
コード判別部、9・−・表示ユニット。
Figure 1 is a block diagram of an embodiment of the present invention, Figure 2 is a diagram showing the contents of memory and buffer, Figure 3 is an explanatory diagram of the code system, and Figure 4 is a table of characters using mixed codes. Figure 5 is a diagram showing the memory contents of Figure 4, Figure 6.7 is a diagram showing an example of cursor display, Figure 8 (a)
, (b) is a diagram showing a code string when searching for codes in the left direction. l...Memory, 2...Display control unit, 3...V RA
M. 4... Character generator, 5... Cursor control section, 6... Code conversion section, 7... Buffer, Death...
Code discrimination section, 9.--Display unit.

Claims (1)

【特許請求の範囲】[Claims] (1)異なる複数種のコード系を使用する電子機器にお
いて、コード変換部により、カーソルのある行のコード
データの種類を判別すると共に、コードデータの種類を
表わす特殊コードに変換して、バッファに書き込み、上
記バッファ内のコードデータの種類をコード判別部によ
り判別し、上記コード判別部の判別結果に基づいて、カ
ーソル制御部でカーソルを表示文字単位に移動させるよ
うにしたことを特徴とする2種類以上のコードの混在系
における表示編集方式。
(1) In electronic equipment that uses multiple different types of code systems, the code converter determines the type of code data in the line where the cursor is located, converts it into a special code representing the type of code data, and stores it in a buffer. Writing, the type of code data in the buffer is determined by a code discrimination section, and the cursor is moved in display character units by a cursor control section based on the discrimination result of the code discrimination section. A display/edit method for mixed systems with more than one type of code.
JP61127034A 1986-05-30 1986-05-30 Display editing system for hybrid system of more than one type of code Pending JPS62283391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61127034A JPS62283391A (en) 1986-05-30 1986-05-30 Display editing system for hybrid system of more than one type of code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61127034A JPS62283391A (en) 1986-05-30 1986-05-30 Display editing system for hybrid system of more than one type of code

Publications (1)

Publication Number Publication Date
JPS62283391A true JPS62283391A (en) 1987-12-09

Family

ID=14950019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61127034A Pending JPS62283391A (en) 1986-05-30 1986-05-30 Display editing system for hybrid system of more than one type of code

Country Status (1)

Country Link
JP (1) JPS62283391A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07319855A (en) * 1994-05-25 1995-12-08 Nippon Denki Joho Service Kk Displaying method for character code

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60173586A (en) * 1984-02-20 1985-09-06 株式会社リコー Cursor display control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60173586A (en) * 1984-02-20 1985-09-06 株式会社リコー Cursor display control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07319855A (en) * 1994-05-25 1995-12-08 Nippon Denki Joho Service Kk Displaying method for character code

Similar Documents

Publication Publication Date Title
JPH024938B2 (en)
JPS595277A (en) Display indication system for multi-window screen
JPH0348545B2 (en)
US4728945A (en) Tabulating system
JPS62283391A (en) Display editing system for hybrid system of more than one type of code
JPH0365588B2 (en)
Stallman RFC0746: SUPDUP graphics extension
Stallman SUPDUP graphics extension
JPH0525115B2 (en)
JPS61237117A (en) Information processor
JPS61186994A (en) Document generator
JPS5855977A (en) Cursor movement control system
JPH0643836Y2 (en) Character output device
JPH058435B2 (en)
JPS605955B2 (en) Display control method
JPH0352102B2 (en)
JPH023862A (en) Document processor
JPS5998239A (en) Documentation device
JPH03246664A (en) Display system for document processor
JPS6027034B2 (en) Kanji terminal system
JPS6120983A (en) Display for multiple screen information
JPS61187071A (en) Character processor
JPS61275888A (en) Specified area accentuation display system
JPH03141461A (en) Document processor
JPS6048530A (en) Displaying system of kanji associative code