JPS6274116A - Priority key processing system - Google Patents

Priority key processing system

Info

Publication number
JPS6274116A
JPS6274116A JP60214122A JP21412285A JPS6274116A JP S6274116 A JPS6274116 A JP S6274116A JP 60214122 A JP60214122 A JP 60214122A JP 21412285 A JP21412285 A JP 21412285A JP S6274116 A JPS6274116 A JP S6274116A
Authority
JP
Japan
Prior art keywords
key data
priority
key
input
inputted
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
JP60214122A
Other languages
Japanese (ja)
Inventor
Mikio Niimura
新村 幹夫
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP60214122A priority Critical patent/JPS6274116A/en
Publication of JPS6274116A publication Critical patent/JPS6274116A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To eliminate the need for re-inputting a key data by storing in advance a key data to be inputted preferentially, and outputting this key data if it is inputted, prior to the preceding key data in a key buffer. CONSTITUTION:A priority processing circuit of a specified key data is constituted so that a key data which is inputted by each key operation of a keyboard is preset to a key data latch 1, and preset successively to a key buffer therefrom. The key data in this buffer 2 is given to a CPU through a selector 3, and brought to a data processing. In this case, the key data to be inputted first preferentially than other preceding key data is preset in advance to a priority key data latch 4. In this way, the priority key data is given to a comparing circuit 5 in addition to a CPU, and whether it coincides with an input key data which his inputted each time from the key data latch 1 or not is discriminated. As a result, when they coincide with each other, the priority key data is outputted by taking precedence over others.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は特定のキーデータのみを既に入力されているキ
ーデータに先行して入力させる優先キー処理方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a priority key processing method for inputting only specific key data in advance of key data that has already been input.

[従来技術] 従来、このような優先キー処理方式としては。[Prior art] Conventionally, this is the priority key processing method.

入力されるキーデータが一時記憶されているキーバッフ
ァを一旦すべてクリアした上で優先すべきキーデータを
入力したり、優先すべきキーデータに割り込みコードを
付加してキーバッファに入力しておき、後で割り込みコ
ードのあるキーデータを検索してこれを優先的に出力さ
せるものが実現化されていた。
After clearing all the key buffers in which input key data is temporarily stored, input the key data that should be prioritized, or add an interrupt code to the key data that should be prioritized and input it to the key buffer. A system was realized that would later search for key data containing an interrupt code and output it preferentially.

[従来技術の問題点] しかしながら、上記キーバッファを一旦クリアするもの
では、せっかく入力したキーデータがクリアされてしま
い、あらためてキーデーテを入力し直さなくてはならず
、割り込みコードを付加するものでは、1つのキーデー
タを入力するにも、割り込みコード付きのものとないも
のと、2種類のキーを設ける等、種々の回路が必要とな
る等の問題点があった。
[Problems with the prior art] However, with the method that clears the key buffer once, the key data that has been input is cleared and the key data must be input again, and with the method that adds an interrupt code, Even in order to input one key data, there are problems such as requiring various circuits, such as providing two types of keys, one with an interrupt code and one without.

[発明の目的] そこで、本発明は既に入力されているキーデータをクリ
アしたり、1つのキーデータにつき2つのキーを設けな
くとも、特定のキーデータを他のキーデータより優先さ
せることのできる優先キー処理方式を提供することを目
的としている。
[Object of the Invention] Therefore, the present invention makes it possible to give priority to specific key data over other key data without clearing already input key data or providing two keys for one key data. The purpose is to provide a priority key handling scheme.

[発明の要点] この発明は、上述した目的を達成するために。[Key points of the invention] This invention aims to achieve the above-mentioned objects.

優先17て先に入力されるべきキーデータをあらかじめ
メモリしておき、このキーデータの入力があるかを判別
し、当該キーデータの入力があれば、このキーデータを
キーバッファ内の先行キーデータに先んじて出力させる
ようにしたことを要点とするものである。
Priority 17 The key data that should be input first is memorized in advance, and it is determined whether this key data is input. If the key data is input, this key data is used as the preceding key data in the key buffer. The main point is that it is outputted in advance.

[実施例の構成] 以下本発明の一実施例につき図面を参照して詳述する。[Configuration of Example] An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図は特定のキーデータを優先して処理する回路を示
すもので、図中1はキーデータラッチであり、このキー
データラッチlにはキーボード(図示せず)の各キーの
操作によって入力されるキーデータがプリセットされ、
このキーデータラッチlからキーバッファ2にlowレ
ベルで駆動されるストローブ信号の印加時にキーデータ
が順次プリセットされる。このキーバッファ2は8ビツ
トのレジスタが複数段接続されており、8ビツトのキー
データが取り込まれるたびに、それまでに取り込まれて
いたキーデータが順次シフトされ、それまでの入力キー
データが一時記憶される。このキーバッファ2内のキー
データはセレクタ3を介してCPU(図示せず)に与え
られてデータ処理される。
Figure 1 shows a circuit that processes specific key data with priority; 1 in the figure is a key data latch, and input is input to this key data latch l by operating each key on a keyboard (not shown). The key data to be used is preset,
Key data is sequentially preset when a strobe signal driven at a low level is applied from the key data latch 1 to the key buffer 2. This key buffer 2 has multiple stages of 8-bit registers connected, and each time 8-bit key data is captured, the previously captured key data is sequentially shifted, and the previously input key data is temporarily stored. be remembered. The key data in the key buffer 2 is provided to a CPU (not shown) via a selector 3 for data processing.

一方、他の先行キーデータより優先して先に人力される
べきキーデータはあらかじめキーボードからのプリセッ
ト操作によりCPUを通じて優先キーデータラッチ4に
プリセットされる。この優先キープクラッチ4の優先キ
ーデータは1−記セ1/クタ3を介してCP Uに与え
られるほか比較回路5にかえられ、この比較回路5には
I−記キーデータラッチlからのその都度入力される入
力キーデータも与えられ、両データの一致判別が行われ
、一致すると−・致信号が上記セレクタ3に与えられる
。セレクタ3では一致信号が榮えられると、CPUにグ
ーえるデータをキーバッファ2からの入力キーデータか
ら優先キーデータラッチ4からの優先キーデータに切り
換えられ、キーバッファ2の先行する入力キーデータに
対し優先キーデータが優先して出力Sれる。このセレク
タ3からCPUへのキーデータの出力はCPUから読み
出し信号CPU  READ印加時に行われ、またCP
Uからのリセット信号RESETによって、出力データ
のキーバッファ2側への復帰が行われる。さらに上記比
較回路5からの一致信号はオアゲート6を介してキーバ
ッファ2にグーえられ、キーバッファ2へのキーデータ
の取り込みが阻止され、キーバッファ2には優先キーデ
ータはプリセットされないようになっている。
On the other hand, key data that should be entered manually in preference to other preceding key data is preset in the priority key data latch 4 through the CPU by a preset operation from the keyboard. The priority key data of this priority keep clutch 4 is given to the CPU via the 1-recorded cell 1/actor 3 and is also returned to the comparator circuit 5. Input key data that is input each time is also given, and a match between the two data is determined, and if they match, a match signal is given to the selector 3. When the match signal is received in the selector 3, the data to be sent to the CPU is switched from the input key data from the key buffer 2 to the priority key data from the priority key data latch 4, and the data sent to the CPU is switched from the input key data from the key buffer 2 to the priority key data from the priority key data latch 4. On the other hand, priority key data is output with priority. The key data is output from the selector 3 to the CPU when the read signal CPU READ is applied from the CPU.
The output data is returned to the key buffer 2 side by the reset signal RESET from U. Further, the match signal from the comparison circuit 5 is sent to the key buffer 2 via the OR gate 6, preventing key data from being taken into the key buffer 2, and preventing priority key data from being preset in the key buffer 2. ing.

[実施例の動作1 次に本実施例の動作について述べる。[Example operation 1 Next, the operation of this embodiment will be described.

いまrZJを優先キーデータとしたければ、rZJのキ
ーデータを優先キーデータラッチ4にプリセットしてお
く。そして、例えばrabcd・・拳」とキー人力を行
なっている際、「Z」を優先入力したければrZJのキ
ーを操作すればよい。すると、rZJのキーデータはキ
ーデータラッチ1にプリセットされて比較回路5にり−
えられるから、優先キーデータラッチ4からのキーデー
タと一致して一致信号がセ1/クタ3にIj−えられ、
キーバッファ2内のrabcd拳・・Jの先行入力キー
データに優先して「Z]のキーデータが優先キーデータ
ラッチ4からセレクタ3を介してCPUに出力される。
If rZJ is to be set as the priority key data, the key data of rZJ is preset in the priority key data latch 4. For example, if you want to preferentially input "Z" when performing a keystroke such as "rabcd...fist", you can operate the rZJ key. Then, the key data of rZJ is preset to the key data latch 1 and sent to the comparator circuit 5.
Since the key data from the priority key data latch 4 matches, a match signal is sent to the sector 1/actor 3, and
The key data of "Z" is outputted from the priority key data latch 4 to the CPU via the selector 3 in priority to the previously input key data of rabcd fist . . . J in the key buffer 2.

こうして、先行キーデータrabcd・・・」は消去さ
れず、また通常の「Z」のキーを操作するだけで、rZ
Jの優先キーデータがCPUに与えられていく。
In this way, the preceding key data ``rabcd...'' is not erased, and rZ
The priority key data of J is given to the CPU.

また、優先キーデータを別のrKJ等に切り換えたけれ
ば、優先キーデータラッチ4のキーデータなrKJ等に
プリセットし直せばよい。
Furthermore, if it is desired to switch the priority key data to another rKJ, etc., the key data of the priority key data latch 4 may be preset to rKJ, etc. again.

こうして、優先キーデータを所望のものに自由に変える
こともできる。
In this way, the priority key data can be freely changed to desired data.

なお、上記実施例では、優先キーデータラッチ4にプリ
セットされる優先キーデータは1つであったが、複数と
してもよい。この場合複数の優先キーデータは1つづつ
順次比較回路5で比較され一致信号がでたものがセレク
タ3に送られる。
In the above embodiment, one priority key data is preset in the priority key data latch 4, but a plurality of priority key data may be preset. In this case, the plurality of priority key data are sequentially compared one by one in the comparison circuit 5, and those that produce matching signals are sent to the selector 3.

[発明の効果] この発明は以上詳細に説明したように、優先して先に入
力されるべきキーデータをあらかじめメモリしておき、
このキーデータの入力があるかを判別し、当該キーデー
タの入力があれば、このキーデータをキーバッファ内の
先行キーデータに先んじて出力させるようにしたから先
に入力済のキーデータが消去されず、特定のキーデータ
を優先して出力させることができ、あらためてキーデー
タを入力し直す必要がなくなり、また、通常のキーボー
ドのどのキーについても、優先キーデータとして登録し
ておけば、優先キーとすることができるから、優先キー
だけを別個に特別に設ける必要がなくなるほか、優先キ
ーデータとして登録するキーデータを任意に変えること
ができるから、優先キーデータを自由に変えることがで
きる等の効果を奏する。
[Effects of the Invention] As explained in detail above, the present invention stores in advance key data that should be input first with priority,
It is determined whether this key data is input, and if the key data is input, this key data is output before the previous key data in the key buffer, so the key data that was input earlier is erased. It is possible to output specific key data with priority, eliminating the need to re-enter key data, and by registering any key on a regular keyboard as priority key data. Since it can be used as a key, there is no need to provide a separate priority key, and the key data registered as priority key data can be changed arbitrarily, so priority key data can be changed freely, etc. It has the effect of

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

図面図は特定のキーデータを先行キーデータに対して優
先して出力する回路を示す図である。 l・・・・・・キーデータラッチ、3・・・・・・セレ
クタ、4・・・・・・優先キーデータラッチ、5・・・
・・・比較回路。 特許出願人  カシオ計算株式会社 CPUへ
The drawing shows a circuit that outputs specific key data with priority over preceding key data. l...Key data latch, 3...Selector, 4...Priority key data latch, 5...
...Comparison circuit. Patent applicant: Casio Computing Co., Ltd. CPU

Claims (1)

【特許請求の範囲】 順次入力されるキーデータを記憶する入力キーデータ記
憶手段と、 入力が後でも先行キーデータより優先して先に入力され
るべきキーデータを記憶する優先キーデータ記憶手段と
、 入力されたキーデータが上記優先キーデータ記憶手段に
記憶されている優先キーデータと一致するか否かを比較
する比較手段と、 この比較手段で入力キーデータが優先キーデータに一致
していることが判別されれば、優先キーデータを上記入
力キーデータ記憶手段に記憶されている先行キーデータ
に先んじて出力される出力選択手段と を具備してなることを特徴とする優先キー処理方式。
[Scope of Claims] Input key data storage means for storing key data to be inputted sequentially; and priority key data storage means for storing key data to be inputted first with priority over previous key data even if inputted later. , a comparison means for comparing whether or not the input key data matches the priority key data stored in the priority key data storage means; and the comparison means determines whether the input key data matches the priority key data. a priority key processing method, comprising: an output selection means for outputting the priority key data prior to the preceding key data stored in the input key data storage means, if it is determined that the priority key data is the same;
JP60214122A 1985-09-27 1985-09-27 Priority key processing system Pending JPS6274116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60214122A JPS6274116A (en) 1985-09-27 1985-09-27 Priority key processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60214122A JPS6274116A (en) 1985-09-27 1985-09-27 Priority key processing system

Publications (1)

Publication Number Publication Date
JPS6274116A true JPS6274116A (en) 1987-04-04

Family

ID=16650586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60214122A Pending JPS6274116A (en) 1985-09-27 1985-09-27 Priority key processing system

Country Status (1)

Country Link
JP (1) JPS6274116A (en)

Similar Documents

Publication Publication Date Title
KR960038583A (en) Output control device
JPS6274116A (en) Priority key processing system
US20020090081A1 (en) Electronic device with keyboard
JP2615851B2 (en) Key input device
JPH0731315Y2 (en) Electronics
JPS63257030A (en) Character string retrieving circuit
JP3254402B2 (en) Data merge transfer device
JPS6224806B2 (en)
SU1488804A2 (en) Channel simulator
JPS6339943B2 (en)
JPS60123929A (en) Character position detecting device
JPH07129599A (en) Data processing method and device therefor
JPH01145789A (en) Hand writing input device with user dictionary registering function
JPS57174732A (en) Key input device
JPS54161833A (en) Signal process system
JPS60105038A (en) Input character processor
JPS581814B2 (en) data entry device
JPS58142440A (en) Electronic device
JPH04236621A (en) Data input system
JPS6346868B2 (en)
JPH05174062A (en) Character string retrieval processor
JPH0226257B2 (en)
JPH0228876A (en) Data retrieving system
JPH02291077A (en) Information retrieving device
JPH0582605B2 (en)