JPS62278623A - Data display method for key input buffer - Google Patents

Data display method for key input buffer

Info

Publication number
JPS62278623A
JPS62278623A JP61122656A JP12265686A JPS62278623A JP S62278623 A JPS62278623 A JP S62278623A JP 61122656 A JP61122656 A JP 61122656A JP 12265686 A JP12265686 A JP 12265686A JP S62278623 A JPS62278623 A JP S62278623A
Authority
JP
Japan
Prior art keywords
key input
data
buffer
input buffer
unprocessed
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
JP61122656A
Other languages
Japanese (ja)
Inventor
Yukihiro Taniguchi
幸弘 谷口
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP61122656A priority Critical patent/JPS62278623A/en
Publication of JPS62278623A publication Critical patent/JPS62278623A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To greatly improve the operability with the data display method for key input buffer by reading the data on the key input buffer set in a memory of a computer as necessary to recognize the unprocessed key input data like the key input data under processing, the preceding key input data, etc., and displaying these unprocessed key input data. CONSTITUTION:When a CPU 1 is set in an access state to a key input buffer 4, the data is read out of the buffer 4 via an address data line 8 for reference to those data on a head pointer, a tail pointer and a buffer counter. Then the presence is recognized for such unprocessed key input data as those stored in the buffer 4 ranging to the data shown by the tail pointer and that shown by the head pointer, i.e., the key input data under processing or those data supplied in advance when they are processed against the key input data supplied previously by the CPU 1. These unprocessed data are sent to a display part 6 for display.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 本発明はコンピュータのキー入力バッ7アのデータ表示
方法に関する。
Detailed Description of the Invention 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a data display method for a computer key input buffer.

〔従来の技術〕[Conventional technology]

従来、コンピュータのターミナルのキーボードよりキー
入力すると、コンピュータ内部のメモリの一部のキー入
力バッファにキー入力したデータが格納される。第2図
に従来のコンビエータを示す。図中の1は中央処理部(
以下、CPUという)、2はメモリ、3はキーボード、
4はキー入力バッファである。キーボード3かもキー入
力したデータはCPU1を介してメモリ2内部のキー入
力バッファ4に格納される。この際CPUIはキー入力
データを格納した先頭アドレス、最終アドレスをキー入
力バッファ4内のヘッドポインタ、テイルポインタにそ
れぞれ書込み、またキー入力データの文字数も同様にキ
ー入力バッファ4内のバッファカウンタに書込む。
Conventionally, when a key is input from the keyboard of a computer terminal, the key input data is stored in a key input buffer in a part of the computer's internal memory. FIG. 2 shows a conventional combiator. 1 in the figure is the central processing unit (
(hereinafter referred to as CPU), 2 is memory, 3 is keyboard,
4 is a key input buffer. Data inputted using the keyboard 3 is stored in a key input buffer 4 inside the memory 2 via the CPU 1. At this time, the CPU writes the start address and end address where the key input data is stored to the head pointer and tail pointer in the key input buffer 4, respectively, and also writes the number of characters of the key input data to the buffer counter in the key input buffer 4. It's crowded.

CPUIは、キー入力バッファ4内のヘッドポインタ、
テイルポインク及びバッファカウンタのデータより、キ
ー入力バッファ4内に未処理のキー入力データが存在す
るか否か判断する。上述の判断の方法は、キー入力バッ
ファ4内のヘッドポインタのデータとテイルポインタの
データとが−致する。すなわちキー入力バッファ4内の
キー入力データが格納されているメモリの先頭アドレス
と最終アドレスが一致している場合や、バッファカウン
タのデータが零の場合はキー入力バッ7ア4内には未処
理のキー入力データが存在しないと判断し、ヘッドポイ
ンタのデータとテイルポインタのデータが一致しない、
あるいはバッファカウンタのデータが零でない場合は、
キー入力バッファ4内にヘッドポインタのデータが示す
メモリアドレスよりテイルポインタのデータが示すメそ
リアドレスまでバッファカウンタのデータが示す文字数
の未処理のキー入力データが存在すると判断する。
CPUI is a head pointer in the key input buffer 4,
Based on the tail point and buffer counter data, it is determined whether or not there is unprocessed key input data in the key input buffer 4. The above-mentioned determination method is such that the data of the head pointer and the data of the tail pointer in the key input buffer 4 match. In other words, if the start address and end address of the memory where the key input data in the key input buffer 4 is stored match, or if the data in the buffer counter is zero, there is no unprocessed data in the key input buffer 4. It is determined that the key input data does not exist, and the head pointer data and tail pointer data do not match.
Or, if the buffer counter data is not zero,
It is determined that there is unprocessed key input data of the number of characters indicated by the buffer counter data from the memory address indicated by the head pointer data to the memory address indicated by the tail pointer data in the key input buffer 4.

また、CPU1は、キー入力バッファ4内に未処理のキ
ー入力データが存在すると判断したら、このキー入力デ
ータに対して処理し、処理終了後ヘッドポインタを次の
未処理のキー入力データが格納されているアドレスに書
き換え、さらにバッファカウンタのデータな未処理のキ
ー入力データの文字数の値にJき換える。
Further, if the CPU 1 determines that there is unprocessed key input data in the key input buffer 4, it processes this key input data, and after the processing is completed, the head pointer is moved to the next unprocessed key input data is stored. It is then rewritten to the address specified by J, and further rewritten to the value J of the number of characters of the unprocessed key input data, which is the buffer counter data.

上述のキー入力バッフ7機能を有しているコンピュータ
は、CPUが処理中でもキー入力がイネーブル時であれ
ば先行してキー入力が可能である。
A computer having the above-mentioned key input buffer 7 function can perform key input in advance even when the CPU is processing, if key input is enabled.

この場合、CPUIが処理中に先行してキー入力しても
キー入力と同時にコンビエータの端末のコンソールに画
面にそれ等キー入力データを表示せず、CPU1がその
データに対して処理を行う時にそれ等キー入力データを
画面に表示するようになっていた。
In this case, even if the CPU 1 inputs a key in advance during processing, the key input data will not be displayed on the console of the combiator's terminal at the same time as the key input, and when the CPU 1 processes the data, it will not be displayed. Key input data was displayed on the screen.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のコンピュータは、アプリケージ1ンプロ
グラムでキー入力バッファの内容を表示する機能を付加
すれば表示可能であるが、CPUがキー入力バッファ表
示以外の処理を行っている際は先行してキー入力しても
瞬時に表示することは不可能であるし、またアプリケー
ションプログラムでコンソールの画像処理を行っている
場合は。
The above-mentioned conventional computer can display the contents of the key input buffer by adding a function to display the contents of the key input buffer in the application program, but when the CPU is performing processing other than displaying the key input buffer, It is impossible to display it instantly even if you enter a key, and if the console image processing is performed by an application program.

キー入力バッファの内容をコンソールの画面に表示する
と画像処理に支障を来たし、CPUが処理している間に
先行してキー入力する場合確認しながらのキー入力は不
可能でかつ既にキー入力した内容の参照が不可能であり
操作上不便である。
Displaying the contents of the key input buffer on the console screen will interfere with image processing, and if you input keys in advance while the CPU is processing, it is impossible to confirm the key input while checking the contents that have already been input. cannot be referenced and is inconvenient for operation.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

本発明のコンビ1−夕のキー入力バッファのデータ表示
方法は随時コンビエータのメモリ内部のキー入力バッフ
ァのデータを読み込み、ヘッドポインタ、テイルポイン
タ及びバッファカウンタのデータより、処理中のキー入
力データや先行してキー入力したデータ等の未処理のキ
ー入力データの存在を認識し、それ等未処理のキー入力
データを表示することを特徴とする。
The key input buffer data display method of the combiator of the present invention reads the data of the key input buffer inside the memory of the combiator at any time, and uses the data of the head pointer, tail pointer, and buffer counter to display the key input data being processed and the previous key input data. The present invention is characterized in that it recognizes the existence of unprocessed key input data such as key input data, and displays the unprocessed key input data.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例である。図中の1〜4は第2
図と同様であり、5はキー入力バッファ制御部、6は表
示部、7,8はアドレス・データ線である。キーボード
3よつ入力されたデータ(家CPU1を介してメモリ2
内部のキー入力バッファ4に格納される。キー入力バッ
ファ制御部5はCPUIがメモリ2内部のキー入力バッ
ファ4に対しアクセス状態か否かをアドレスデータ線7
上のアドレス・データを随時参照する。CPUIがキー
入力バッファ4に対しアクセス状態の場合は。
FIG. 1 shows an embodiment of the present invention. 1 to 4 in the diagram are second
It is similar to the figure, and 5 is a key input buffer control section, 6 is a display section, and 7 and 8 are address/data lines. Data input from the keyboard 3 (memory 2 via the home CPU 1)
It is stored in the internal key input buffer 4. The key input buffer control unit 5 uses an address data line 7 to determine whether or not the CPU is accessing the key input buffer 4 inside the memory 2.
Refer to the address data above at any time. When the CPUI is accessing the key input buffer 4.

キー入力バッ7ア4のデータの読み込みを中断する。C
PU1がキー入力バッファ4に対しアクセス状態になけ
れば、キー入力バッ7ア内のデータをアドレス・データ
線8を介して読み込みヘッドポインタ、テイルポインタ
及びバッファカウンタのデータを参照し、ヘッドポイン
タのデータの示すメモリアドレスからテイルポインタの
データの示すメモリアドレスまでのキー入力バッファ4
内のキー入力データ、つまり処理中のキー入力データあ
るいはCPU1が以前にキー入力データに対して処理状
態にある時に先行してキー入力したデータ等の未処理の
キー入力データの存在を認識し、表示部6にそれ等デー
タを送出し表示部6でこれ等未処理のキー入力データを
表示する。
The reading of data in the key input buffer 7 is interrupted. C
If the PU 1 is not in the state of accessing the key input buffer 4, it reads the data in the key input buffer 7 via the address/data line 8, refers to the data in the head pointer, tail pointer, and buffer counter, and stores the data in the head pointer. Key input buffer 4 from the memory address indicated by to the memory address indicated by the tail pointer data
recognizes the existence of unprocessed key input data such as key input data in the process, that is, key input data that is being processed or data that was previously input by key when the CPU 1 was in the processing state for the key input data, The data is sent to the display section 6, and the unprocessed key input data is displayed on the display section 6.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、随時キー入力パッファ内
のデータを読込んでヘッドポインタ、テイルポインタ及
びバッファカウンタ等のデータを参照することにより未
処理のキー入力データつまり先行してキー入力したデー
タの存在を認識し。
As explained above, the present invention reads the data in the key input buffer at any time and refers to the data such as the head pointer, tail pointer, buffer counter, etc. Recognize existence.

それ等の未処理のキー入力データを表示部で表示するこ
とにより先行してキー入力する際、その表示を参照しな
がらキー入力が可能で操作上非常に便利である。
By displaying such unprocessed key input data on the display unit, when performing key input in advance, it is possible to perform key input while referring to the display, which is very convenient in terms of operation.

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

第1図は本発明の一実施例のブロック図を示し、第2図
は従来のコンビエータのブロック図である。 l・−・・・・制御部、2・・・・・・メモリ、3・・
・・・・キーボード、4・・・・・・キー入力バックア
、5・・・・・・キー入力バッファ制調部、6・・・・
・・表示部、7,8・・・・・・アドレス・データ線。 代理人 弁理士  内 原   晋  −′第1図 床2図(従来伊1)
FIG. 1 shows a block diagram of an embodiment of the present invention, and FIG. 2 shows a block diagram of a conventional combiator. l...control unit, 2...memory, 3...
... Keyboard, 4 ... Key input backer, 5 ... Key input buffer control section, 6 ...
...Display section, 7, 8...Address/data lines. Agent Patent Attorney Susumu Uchihara -' Figure 1 Floor 2 (Previously Italy 1)

Claims (1)

【特許請求の範囲】[Claims] キー入力バッファを有するコンピュータにおいて、キー
入力バッファのデータを随時読込み、キー入力バッファ
内のヘッドポインタ、テイルポインタ及びバッファカウ
ンタの内容に基いてCPUが未だ処理してないキー入力
バッファ内のキー入力データの存在を認識し、該未処理
のデータを表示することを特徴とするキー入力バッファ
のデータ表示方法。
In a computer having a key input buffer, data in the key input buffer is read at any time, and key input data in the key input buffer that has not yet been processed by the CPU is based on the contents of the head pointer, tail pointer, and buffer counter in the key input buffer. 1. A data display method for a key input buffer, the method comprising: recognizing the existence of a key input buffer, and displaying the unprocessed data.
JP61122656A 1986-05-27 1986-05-27 Data display method for key input buffer Pending JPS62278623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61122656A JPS62278623A (en) 1986-05-27 1986-05-27 Data display method for key input buffer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61122656A JPS62278623A (en) 1986-05-27 1986-05-27 Data display method for key input buffer

Publications (1)

Publication Number Publication Date
JPS62278623A true JPS62278623A (en) 1987-12-03

Family

ID=14841374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61122656A Pending JPS62278623A (en) 1986-05-27 1986-05-27 Data display method for key input buffer

Country Status (1)

Country Link
JP (1) JPS62278623A (en)

Similar Documents

Publication Publication Date Title
JPH06195164A (en) Key input device and method therefor
JPS62278623A (en) Data display method for key input buffer
JPS6126686B2 (en)
JPH04167045A (en) Display controller
JP2595045B2 (en) Touch panel input device
JP2910691B2 (en) Lookup table
JPS62226356A (en) Initial program loading system
JPH0726754Y2 (en) Input processing device
JPH0311396A (en) Character display system
JP2642161B2 (en) Multi-window display method
JPS5949615B2 (en) CRT input/output device
JPH02294870A (en) Communication suppression screen type text editor
JPH0193812A (en) System for displaying help screen
JPH07110747A (en) Data display method
JPS60229155A (en) Comparing method of memory
JPH025623A (en) Information processor
JPH0675734A (en) Display mode discriminating system and method thereof
JPS6332590A (en) Cursor movement system for display device
JPS62209589A (en) Document generator
JPH03191412A (en) Input display/control device
JPS63313229A (en) Display device
JPH0588658A (en) Display controller
JPS62202266A (en) Graphic processing system
JPH01243122A (en) Information processing unit
JPH0535387A (en) Handwriting input device