JPS6235931A - Input buffer control system - Google Patents
Input buffer control systemInfo
- Publication number
- JPS6235931A JPS6235931A JP60175298A JP17529885A JPS6235931A JP S6235931 A JPS6235931 A JP S6235931A JP 60175298 A JP60175298 A JP 60175298A JP 17529885 A JP17529885 A JP 17529885A JP S6235931 A JPS6235931 A JP S6235931A
- Authority
- JP
- Japan
- Prior art keywords
- code
- input buffer
- processing section
- read
- 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.)
- Granted
Links
Landscapes
- Input From Keyboards Or The Like (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
【発明の詳細な説明】
〔概要〕
入力バッファを設けて、キーボード入力装置からの受信
コードを格納しておくようにされた入力バッファ制御方
式において、データを処理する応用処理部と、上記入力
バッファに格納されたコードを取り出すリード・コマン
ド処理部とのインタフェースとして、特定コード・クリ
ア・アンド・リード・コマンドによる指示手段を設け、
該指示手段による指示があった場合に、リード・コマン
ド処理部は、入力バッファにおける予め定められた特定
コードについてのみ消去するようにし、必要以上に機能
キーなどに関する処理が行われないようにした入カバッ
ファ制御方弐を開示している。[Detailed Description of the Invention] [Summary] In an input buffer control method in which an input buffer is provided and a received code from a keyboard input device is stored, an application processing unit that processes data and the input buffer As an interface with the read command processing unit for retrieving the code stored in the code, an instruction means using a specific code clear and read command is provided.
When there is an instruction from the instruction means, the read/command processing section erases only a predetermined specific code in the input buffer, and prevents processing related to function keys from being performed unnecessarily. Two methods for controlling the buffer are disclosed.
本発明は1例えば日本語ワードプロセッサや。 The present invention can be applied to, for example, a Japanese word processor.
パーソナル・コンピュータなどにおいて、キーホード入
力装置からの受信コードを制御する人カバソファ制御方
式であって、特に機能キーなどの特定コードを選択的に
入力バッファから消去しで。A human cover control method for controlling received codes from a keyboard input device in a personal computer, etc., and in particular, selectively erasing specific codes such as function keys from an input buffer.
必要なコードについてのみ処理を実行できるようにした
入力バッファ制御方式に関するものである。This invention relates to an input buffer control method that allows processing to be executed only on necessary codes.
初期のキーボード入力制御方式では、キーの入力時間が
、その処理時間よりも速い場合に、入力文字の抜けが生
しることがあった。そのため、現在では、一般に入力バ
ッファを設けることにより。In early keyboard input control systems, if the key input time was faster than the key processing time, missing input characters could occur. Therefore, now generally by providing an input buffer.
キーボード入力装置から入力されたコードを1文字コー
ドに対する各種応用処理とは独立に、入力バッファに記
憶しておく入力バッファ制御方式が多く採用されている
。Many input buffer control methods are employed in which a code input from a keyboard input device is stored in an input buffer independently of various applied processes for single-character codes.
しかし、従来の入力バッファ制御方式では、すべてのコ
ードについて、−律に大力バッファに記41ておくよう
にされているため、覚えていると都合の悪いキー・コー
ドについても、入力へソファに蓄積されてしまうという
問題があった。However, in the conventional input buffer control method, all codes are written in a large buffer, so even key codes that are difficult to remember are accumulated in the input buffer. There was a problem with being exposed.
即ち1例えば日本語ワードプロセッサ等において、1次
頁キー」等の処理は、ディスプレイ画面におけるスクロ
ール処理を伴うため、処理時間が多くかかる。この間、
「次頁キー」等が余分に押され、必要以上に「次頁キー
」等の処理が実行されてしまうことがある。そのため、
「次頁キー」等の機能キーに関する処理を実行する毎に
、入力バッファの内容を完全にクリアするようなことが
行われているが、この場合には、覚えておいたほうがよ
い一般文字キー等のキー・コードについても、入力バッ
ファから消去されてしまうので、キーを再打鍵する必要
が仕しる。For example, in a Japanese word processor or the like, processing such as "primary page key" requires a lot of processing time because it involves scrolling on the display screen. During this time,
The "next page key" or the like may be pressed redundantly, resulting in the processing of the "next page key" being executed more than necessary. Therefore,
The contents of the input buffer are completely cleared every time a process related to a function key such as "next page key" is executed, but in this case, it is important to remember the general character key Key codes such as , etc. will also be erased from the input buffer, requiring you to press the key again.
C問題点を解決するための手段〕
本発明は上記問題点の解決を図り、覚えて置くべきキー
・コード(一般には文字キー等)と、そうでないキー・
コード(機能キー等)とを区別して、覚えていると都合
が悪いキー・コードだけを選択的に消去する手段を設け
ている。Means for Solving Problem C] The present invention aims to solve the above problems and distinguishes between key codes (generally character keys, etc.) that must be memorized and keys and codes that are not.
A means is provided for distinguishing between codes (function keys, etc.) and selectively erasing only key codes that are inconvenient to memorize.
第1図は本発明の基本構成図を示す。FIG. 1 shows a basic configuration diagram of the present invention.
第1図において、10はキーボード入力装置。In FIG. 1, 10 is a keyboard input device.
11はスキャン信号を供給するスキャンコードレジスタ
、12はマトリックス状のキー・スイッチからなるキー
マトリックス、13はキーマトリックス12を走査しそ
の出力に関する情報を本体系処理装置側へ送出する制御
を行う入力制御部、14はキーの打鍵を検出するキー打
鍵検出部、15は入力されたキー・コードを送出するコ
ード送出部、16は中央処理装置と主記憶装置とを持つ
本体系処理装置、17はコード送出部15から送出され
たコードを受信する受信処理部、18は受信したコード
を記憶する入力バッファ、19は入力文字を応用処理部
へ引き渡すリード・コマンド処理部、20はキー・コー
ドに対応する例えば2バイトJISコードを記憶するコ
ード変換テーブル。11 is a scan code register that supplies a scan signal; 12 is a key matrix consisting of a matrix of key switches; and 13 is an input control that scans the key matrix 12 and sends information regarding the output to the main body processing device side. 14 is a keystroke detection unit that detects keystrokes, 15 is a code sending unit that sends out an input key code, 16 is a main body system processing unit having a central processing unit and a main memory, and 17 is a code 18 is an input buffer that stores the received code; 19 is a read command processing unit that delivers input characters to the application processing unit; 20 corresponds to a key code. For example, a code conversion table that stores 2-byte JIS codes.
21はキー・コードをJISコード等の文字コードに変
換するコード変換部、22は予め定められた機能キー等
の特定コードを入力バッファ18から消去する特定コー
ドクリア部、23は入カバ・ノファ18に格納されてい
るすべてのコードを消去する入力バッファクリア部、2
4は入力文字コードに対する各種データ処理を実行する
応用処理部。21 is a code conversion unit that converts a key code into a character code such as a JIS code; 22 is a specific code clearing unit that erases a specific code such as a predetermined function key from the input buffer 18; and 23 is an input cover/nofa 18. an input buffer clear section that erases all codes stored in the 2
4 is an application processing unit that performs various data processing on input character codes;
25は入力バッファ18における特定コードだけを選択
的に消去した後に文字入力を行うことを指示する特定コ
ード・クリア・アンド・リード・コマンド、26はリー
ド・コマンド処理部19により読み出された文字コード
が設定されるリード・バッファを表す。25 is a specific code clear and read command that instructs to input characters after selectively erasing only the specific code in the input buffer 18; 26 is a character code read by the read command processing unit 19; represents the read buffer that is set.
入力制御部13は1例えばマイクロプロセッサ制御によ
り、打鍵されたキー・コードを本体系処理装置16へ送
出する制御を行う。受信処理部17は2割込みによって
起動され、入力バッファ18に受信したキー・コードを
格納する。入力バッファ18は、 F I F O(
First In First 0ut)により、コー
ド・データの書き込み/読み出しが行われるようになっ
ており2例えば格納ポインタと読み出しポインタとによ
り管理されて、サイクリックに使用される。The input control unit 13 controls sending the pressed key code to the main body processing device 16 under, for example, microprocessor control. The reception processing section 17 is activated by two interrupts and stores the received key code in the input buffer 18. The input buffer 18 is F I F O (
Writing/reading of code/data is performed by First In First Out), and is managed by, for example, a storage pointer and a read pointer, and used cyclically.
リード・コマンド処理部I9は、応用処理部24からの
キー人力を要求するコマンドを処理するものである。本
発明の場合、コマンドとして2通常のリード・コマンド
およびクリア・アンド・リード・コマンドの他に、特定
コード・クリア・アンド・リード・コマンド25が設け
られる。該コマンド25が発行されると、特定コードク
リア部22が起動され、特定コードクリア部22は、入
力バッファ18中の機能キー等の所定のコードを消去す
る。The read command processing section I9 processes commands from the application processing section 24 that require key human power. In the case of the present invention, in addition to the two normal read commands and clear and read commands, a specific code clear and read command 25 is provided. When the command 25 is issued, the specific code clear section 22 is activated, and the specific code clear section 22 erases a predetermined code such as a function key in the input buffer 18.
なお、クリア・アンド・リード・コマンド(図示省略)
が発行された場合には、入力バッファクリア部23が起
動され、入力バッファ1日に格納されている全コードを
消去する処理が行われ、その後、リード処理が実行され
る。In addition, clear and read command (not shown)
is issued, the input buffer clear unit 23 is activated, a process of erasing all codes stored in the input buffer on the first day is performed, and then a read process is executed.
本発明によれば、特定コード・クリア・アンド・リード
・コマンド25を発行することにより。According to the invention, by issuing a specific code clear and read command 25.
特定コードクリア部22が、予め定められた特定コード
だけを選択的に入力バッファ18から消去する。従って
、必要な文字コードだけを人力することが可能になる。A specific code clearing unit 22 selectively erases only a predetermined specific code from the input buffer 18. Therefore, it becomes possible to manually create only the necessary character codes.
第2図は本発明に関連する部分の一実施例処理説明図、
第3図はコマンド形式説明図である。FIG. 2 is an explanatory diagram of one embodiment of processing of parts related to the present invention;
FIG. 3 is an explanatory diagram of the command format.
第1図図示応用処理部24が、特定コード・クリア・ア
ンド・リード・コマンド25を発行すると、リード・コ
マンド処理部19が起動される。When the application processing unit 24 shown in FIG. 1 issues a specific code clear and read command 25, the read command processing unit 19 is activated.
リード・コマンド処理部19は、第2図に示す処理を実
行する。以下の処理番号■〜[相]は、第2図に示す処
理番号に対応する。The read command processing section 19 executes the processing shown in FIG. The following process numbers - [phase] correspond to the process numbers shown in FIG.
■ コマンド・パラメータの詳細種別コードにより、特
定コードのクリアが指定されているか否かを判定する。■ Determine whether clearing of a specific code is specified based on the detailed type code of the command parameter.
指定されていない場合、他の処理へ制御を移行する。他
の処理については、従来と同様であると考えてよいので
、その処理内容についての説明を省略する。If not specified, control is transferred to another process. Other processing can be considered to be the same as the conventional one, so a description of the processing contents will be omitted.
■ 大カバソファ18が空であるか否かを判定する。例
えば2図示省略した格納ポインタと読み出しポインタと
の内容が一致するとき2人カバソファ18が空であると
判断する。■ Determine whether the large hippo sofa 18 is empty. For example, when the contents of a storage pointer and a read pointer (not shown) match, it is determined that the two-person sofa 18 is empty.
■ 入力バッファ18が空でないとき、読み出しポイン
タに従って、入力バッファ18からコードを取り出す。■ When the input buffer 18 is not empty, retrieve the code from the input buffer 18 according to the read pointer.
その後、読み出しポインタを1つ先に進める。Thereafter, the read pointer is advanced by one.
■ コード変換部21により、コード変換テーブル20
を参照して1例えば7ビツトのキー・コードをJISコ
ード等の2バイトの文字コードに変換する。■ The code conversion table 20 is created by the code conversion unit 21.
1, for example, a 7-bit key code is converted into a 2-byte character code such as a JIS code.
■ 予め定められた特定コードであるか否かを判定する
。特定コードであるか否かについての情報は9例えばコ
ード変換テーブル20を用いて。■ Determine whether it is a predetermined specific code. Information regarding whether or not the code is a specific code is obtained using the code conversion table 20, for example.
文字コードに変換した結果から得られる。変換した文字
コードの先頭1バイトが(00)+6であるとき、消去
対象となる特定コードと判定する。Obtained from the result of converting to character code. When the first byte of the converted character code is (00)+6, it is determined that it is a specific code to be erased.
■ 入力バッファ18から取り出したコードが特定コー
ドであるとき、そのコードを棄却し、処理■へ制御を戻
し2次のコードについて同様に処理を繰り返す。(2) When the code taken out from the input buffer 18 is a specific code, that code is rejected, control is returned to process (2), and the same process is repeated for the secondary code.
■ 特定コードでない場合には、コマンド・パラメータ
で指定されたリード・バッフア26へ。■ If it is not a specific code, go to the read buffer 26 specified by the command parameter.
文字コードを設定する。なお、この処理■の前に、処理
■ないし処理■による特定コードの選択・消去を、入力
へソファ18の全コードについて処理するようにしても
よい。Set character code. Incidentally, before this process (2), the selection and deletion of specific codes by processes (2) and (2) may be performed for all codes of the input sofa 18.
■ 入力バッファ18が空の場合、i1m常のリード処
理と同様な処理を実行する。まず、キーボード入力装置
10からコードを受信するのを待つ。(2) If the input buffer 18 is empty, i1m performs the same process as the usual read process. First, it waits for a code to be received from the keyboard input device 10.
■ コード受信により、入力バッファ18にコードが設
定されたなば、そのコードを入力バッファ18から取り
出す。(2) If a code is set in the input buffer 18 by receiving the code, the code is taken out from the input buffer 18.
[相] 取り出したキー・コードを文字コードに変換し
、処理■以降の処理を実行する。[Phase] Convert the retrieved key code to a character code and execute the process after process ■.
応用処理部24が発行するコマンドのパラメータは2例
えば第3図図示のようになっている。The parameters of the command issued by the application processing section 24 are two, for example, as shown in FIG.
コマンド・パラメータ30において、コマンド・種別の
フィールドには、キーボード入力装置10からの入力を
要求する所定のキーボード・リード・コマンド・コード
が格納される。例えば9周辺装置がプリンタである場合
には、このフィールドにプリンタ・ライト・コマンド・
コードが格納されることになる。In the command parameter 30, the command type field stores a predetermined keyboard read command code that requests input from the keyboard input device 10. For example, if the peripheral device is a printer, this field contains the printer write command.
The code will be stored.
詳細ii別のフィールドは、コマンドモディファイア情
報が設定されるフィールドである。本実施例の場合、キ
ーボード入力装置10に関係するコマンド詳細種別とし
て、3種類用意されており。The details ii field is a field in which command modifier information is set. In the case of this embodiment, three types of command details related to the keyboard input device 10 are prepared.
詳細種別が“01”の場合には1通常のリード・コマン
ド、”02”の場合には、入力バッファ18を全部クリ
アしてからリード処理を実行することを指示するクリア
・アンド・リード・コマンド。If the detailed type is “01”, it is a normal read command, and if it is “02”, it is a clear and read command that instructs to clear the entire input buffer 18 before executing the read process. .
“03”の場合には1本発明に係る特定コード・クリア
・アンド・リード・コマンドを示す。"03" indicates a specific code clear and read command according to the present invention.
リード・バッファ・アドレスのフィールドには。in the read buffer address field.
応用処理部24が指定する文字コードの格納領域である
リード・バッファ26のアドレスが設定される。The address of the read buffer 26, which is a storage area for character codes specified by the application processing unit 24, is set.
なお2本実施例では、特定コード・クリア・アンド・リ
ード・コマンド25の場合、特定コードをコード変換テ
ーブル20に登録されている情報によって、一意的に選
択できるようにしているが。In the second embodiment, in the case of the specific code clear and read command 25, the specific code can be uniquely selected based on the information registered in the code conversion table 20.
例えばこのコマンド・パラメータ30の中で、消去対象
とする特定コードの種類を指定できるようにしてもよい
。For example, the type of specific code to be erased may be specified in the command parameter 30.
以上説明したように1本発明によれば、入力バッファに
覚えておくべきキー・コードと、覚えていると都合の悪
いキー・コードとを区別して、後者のキー・コードだけ
を選択的に消去できるので。As explained above, according to the present invention, key codes that should be remembered in the input buffer are distinguished from key codes that are inconvenient to remember, and only the latter key codes are selectively erased. Because I can.
応用処理部の処理負担が軽減すると共に、操作性が向上
する。The processing load on the application processing section is reduced and the operability is improved.
第1図は本発明の基本構成図、第2図は本発明に関連す
る部分の一実施例処理説明図、第3図はコマンド形式説
明図である。
図中、10はキーボード入力装置、13は入力制御部、
16は本体系処理装置、17は受信処理部、18は入力
バッファ、19はリード・コマンド処理部、22は特定
コードクリア部、25は特定コード・クリア・アンド・
リード・コマンド。
26はリード・バッファを表す。
特許出願人 富士通株式会社
代理人弁理士 森1)寛(外1名)
乏 Q・ ■FIG. 1 is a basic configuration diagram of the present invention, FIG. 2 is an explanatory diagram of one embodiment of processing of a portion related to the present invention, and FIG. 3 is an explanatory diagram of a command format. In the figure, 10 is a keyboard input device, 13 is an input control unit,
16 is a main body processing unit, 17 is a reception processing unit, 18 is an input buffer, 19 is a read command processing unit, 22 is a specific code clear unit, 25 is a specific code clear and
Lead command. 26 represents a read buffer. Patent Applicant: Fujitsu Ltd. Representative Patent Attorney Hiroshi Mori (1 other person) Hiroshi Q. ■
Claims (1)
(10)から送出されたコードを受信する受信処理部(
17)と、該受信処理部(17)が受信したコードを格
納する入力バッファ(18)と、データを処理する応用
処理部(24)と、該応用処理部(24)からの要求に
より上記入力バッファ(18)からコードを取り出して
引き渡す制御を行うリード・コマンド処理部(19)と
を備えた入力バッファ制御方式において、上記応用処理
部(24)は、上記リード・コマンド処理部(19)に
対し、上記入力バッファ(18)に格納されているコー
ドのうち、予め定められた特定コードを消去した後にリ
ードすることを指示する手段(25)を備えると共に、 上記リード・コマンド処理部(19)は、上記指示手段
(25)による指示に対し、上記入力バッファ(18)
から上記特定コードを選別して消去する手段(22)を
備えたことを特徴とする入力バッファ制御方式。[Claims] A keyboard input device (10) and a reception processing unit (10) that receives a code sent from the keyboard input device (10).
17), an input buffer (18) for storing the code received by the reception processing section (17), an application processing section (24) for processing data, and an input buffer (18) for storing the code received by the reception processing section (17); In the input buffer control method including a read command processing section (19) that controls taking out and passing the code from the buffer (18), the application processing section (24) provides the read command processing section (19) with a read command processing section (19). On the other hand, the read command processing unit (19) includes means (25) for instructing to read after erasing a predetermined specific code among the codes stored in the input buffer (18); In response to the instruction from the instruction means (25), the input buffer (18)
An input buffer control system characterized by comprising means (22) for selecting and erasing the specific code from among the codes.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60175298A JP2664135B2 (en) | 1985-08-09 | 1985-08-09 | Input buffer controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60175298A JP2664135B2 (en) | 1985-08-09 | 1985-08-09 | Input buffer controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6235931A true JPS6235931A (en) | 1987-02-16 |
| JP2664135B2 JP2664135B2 (en) | 1997-10-15 |
Family
ID=15993653
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60175298A Expired - Lifetime JP2664135B2 (en) | 1985-08-09 | 1985-08-09 | Input buffer controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2664135B2 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5396631A (en) * | 1977-02-03 | 1978-08-24 | Hitachi Ltd | Terminal equipment |
-
1985
- 1985-08-09 JP JP60175298A patent/JP2664135B2/en not_active Expired - Lifetime
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5396631A (en) * | 1977-02-03 | 1978-08-24 | Hitachi Ltd | Terminal equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2664135B2 (en) | 1997-10-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4077959B2 (en) | Character processing apparatus and method, and storage medium storing the program | |
| JPS6235931A (en) | Input buffer control system | |
| JPH04367924A (en) | Keyboard controller | |
| EP0326102A2 (en) | Method and apparatus for selecting a keyboard on a computer system | |
| JPS5981726A (en) | word processor | |
| JPH0363103B2 (en) | ||
| JPH0766381B2 (en) | Kanji processor | |
| JP2632331B2 (en) | Character display device | |
| JP3097721B2 (en) | Terminal printer | |
| JPH0650459B2 (en) | Information processing equipment | |
| JPS6125234A (en) | Keyboard system | |
| JPH0377175A (en) | electronic file device | |
| JP3753780B2 (en) | Command processing method in information processing apparatus | |
| JPH0410164A (en) | Character processing device | |
| JPS61228523A (en) | Keyboard controlling system | |
| JPH04124714A (en) | Auxiliary input device adaptor | |
| JPH05174198A (en) | Card information reader | |
| JPH06236369A (en) | Word processor and replacing method for page | |
| JPS5922128A (en) | Data input device | |
| JPS6257056A (en) | Document input processing system | |
| JPS62221075A (en) | Information file device | |
| JPH0273467A (en) | electronic filing system | |
| JPH06266522A (en) | Menu selection device | |
| JPS63108855A (en) | electronic filing system | |
| JP2632331C (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |