JP2933555B2 - Key code masking equipment - Google Patents

Key code masking equipment

Info

Publication number
JP2933555B2
JP2933555B2 JP8341959A JP34195996A JP2933555B2 JP 2933555 B2 JP2933555 B2 JP 2933555B2 JP 8341959 A JP8341959 A JP 8341959A JP 34195996 A JP34195996 A JP 34195996A JP 2933555 B2 JP2933555 B2 JP 2933555B2
Authority
JP
Japan
Prior art keywords
code
key
mask
masked
switch
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 - Fee Related
Application number
JP8341959A
Other languages
Japanese (ja)
Other versions
JPH10187323A (en
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.)
NIPPON DENKI DEETA KIKI KK
Original Assignee
NIPPON DENKI DEETA KIKI KK
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 NIPPON DENKI DEETA KIKI KK filed Critical NIPPON DENKI DEETA KIKI KK
Priority to JP8341959A priority Critical patent/JP2933555B2/en
Publication of JPH10187323A publication Critical patent/JPH10187323A/en
Application granted granted Critical
Publication of JP2933555B2 publication Critical patent/JP2933555B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はキーコードのマスク
装置に関し、特にキーボードの各キーに割り付けられて
いるキー機能を任意にマスクするためのキーコードのマ
スク装置に関する。
The present invention relates to a key code masking device, and more particularly to a key code masking device for arbitrarily masking a key function assigned to each key of a keyboard.

【0002】[0002]

【従来の技術】従来、キーボード上の特定のキーの機能
を無効化する方法として、特開平7−210286号公
報「キーボードのマスク方法」で述べている方法があ
る。
2. Description of the Related Art Conventionally, as a method for disabling the function of a specific key on a keyboard, there is a method described in Japanese Patent Application Laid-Open No. Hei 7-210286, entitled "Keyboard Masking Method".

【0003】すなわち、キーボードを持つ、コンピュー
タにおいて本体装置内の記憶装置に、キーボードのキー
機能の内で、無効にすべきキー機能を指示するテーブル
を設け、キーボードの、キーが操作されるごとにキーボ
ードから生成されるキー情報について、当該テーブル中
で無効を指示されているキー機能のキー情報であるかど
うかを調べ、無効を指示されているものであるとき、そ
のキー情報をマスクする。
That is, in a computer having a keyboard, a storage device in a main unit of the computer is provided with a table for designating key functions to be invalidated among key functions of the keyboard, and each time a key of the keyboard is operated, The key information generated from the keyboard is checked to see if it is the key information of the key function instructed to be invalid in the table, and if the key information is invalidated, the key information is masked.

【0004】[0004]

【発明が解決しようとする課題】従来の方法において
は、第1の問題点は、マスク機能の中断や終了のよう
に、キーのマスク条件を変える際、キーを使わなければ
ならないので、そのキーは、マスクをすることができな
く、誤ってマスクをしていないキーを操作することがあ
った。
In the conventional method, the first problem is that a key must be used when changing a mask condition of a key, such as interruption or termination of a mask function. In some cases, a mask could not be masked and a key that was not masked was operated by mistake.

【0005】その理由は、マスクを希望するキーの全て
を必ずしも指定できるわけではないからである。
[0005] The reason is that not all keys for which masking is desired can always be specified.

【0006】第2の問題点は、コンピュータ本体上のプ
ログラムで、マスクの制御をしているので、マスク処理
されたデータを利用するプログラムと同時に、動作させ
なければならない。
A second problem is that since the mask is controlled by a program on the computer main body, it must be operated at the same time as a program that uses masked data.

【0007】その理由は、これらプログラム間のデータ
の授受や、デイスプレイ上での表示の割り当て等で、プ
ログラム相互に密接な関係を持たせなければならず、任
意のプログラムと組み合わせて、使うことが、難しいか
らである。
The reason is that the programs must have a close relationship with each other by exchanging data between the programs and allocating the display on the display. Because it is difficult.

【0008】本発明の目的は、コンピュータを使用する
際に、利用するソフトウエアにより、キーボード上で、
一部のキーの機能は全く利用されない場合が、少なから
ずあり、そのようなキーが不用意に操作されることによ
り、誤処理となる場合があり、キーボード上の不要なキ
ーの機能を確実に無効化できる、また本体上で動作する
任意のプログラムと組み合わせて使用することができる
キーコードのマスク装置を提供することにある。
[0008] An object of the present invention is to provide a method for using a computer on a keyboard by using software.
There are many cases where the functions of some keys are not used at all, and if such keys are operated carelessly, erroneous processing may occur. An object of the present invention is to provide a key code masking device which can be invalidated and can be used in combination with an arbitrary program operating on the main body.

【0009】[0009]

【課題を解決するための手段】本発明のキーコードのマ
スク装置は、マスク制御の実行、非実行を切り換えるス
イッチと、該スイッチがマスク制御の実行の時、キーボ
ードからのデータを入力し、キーのコードとキーの押
下、解放の情報を抽出し、マイクロプロセッサに送るシ
リアル入力部と、マスクすべきコードを記憶する記憶部
と、該記憶部のマスクすべきまたはさせないコードと該
シリアル入力部からのキーのコードを比較照合し、制御
キーが押されている間を複合コードとして処理すること
により、マスクの可否を判定する該マイクロプロセッサ
と、マスクしないコードをコンピュータ本体に送出する
シリアル出力部とを備える。
According to the present invention, there is provided a key code masking device, comprising: a switch for switching between execution and non-execution of mask control; and when the switch performs mask control, inputs data from a keyboard. A serial input unit for extracting the code and key press / release information and sending the information to the microprocessor, a storage unit for storing a code to be masked, and a code for masking or not to be masked in the storage unit and the serial input unit. A microprocessor for comparing and collating the codes of the keys and processing as a composite code while the control key is being pressed, and a serial output unit for sending a non-masked code to the computer body, Is provided.

【0010】[作用]マスク処理中を中断、終了するに
は、スイッチをオフにすれば良いので、任意の指定のキ
ーを無条件にマスク指定できる。また、マスク制御をす
るために、本体上の機能を全く使わないので、本体側の
プログラム等の動作には支障がない。また、本体側の動
作で本発明のキーコードのマスク装置への影響もない。
[Operation] In order to interrupt or end the masking process, it is sufficient to turn off the switch, so that any specified key can be unconditionally masked. Further, since the functions on the main body are not used at all for controlling the mask, there is no problem in the operation of the programs and the like on the main body side. Further, the operation of the main body side does not affect the mask device of the key code of the present invention.

【0011】[0011]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0012】図1は本発明のキーコードのマスク装置の
一実施の形態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a key code masking apparatus according to the present invention.

【0013】図1を参照すると、マイクロプロセッサで
あるMPU3に、非同期シリアル入力部2、スイッチ
5、ランダムアクセスメモリのRAM6、リードオンリ
ーメモリのROM7、非同期シリアル出力部8が接続さ
れている。
Referring to FIG. 1, an asynchronous serial input unit 2, a switch 5, a RAM 6 of a random access memory, a ROM 7 of a read-only memory, and an asynchronous serial output unit 8 are connected to an MPU 3 which is a microprocessor.

【0014】非同期シリアル入力部2は、入力端子1を
経由して、キーボード(図示せず)に接続されており、
キーボードからキーのコードを受け、MPU3に渡す。
The asynchronous serial input unit 2 is connected to a keyboard (not shown) via the input terminal 1.
The key code is received from the keyboard and passed to MPU3.

【0015】RAM6には、あらかじめ、マスクすべき
キーのコードが記憶されている。スイッチ5のオン/オ
フをMPU3が論理値で入力し状態を判定する。スイッ
チ5がオンの時、MPU3は非同期シリアル入力部2か
らきたキーのコードをRAM6上のマスクすべきキーの
コードと比較照合し、いずれのコードにも一致しない場
合は、そのコードを非同期シリアル出力部8に渡す。非
同期シリアル出力部8は本体への伝送の形式に編集し、
出力端子9を経由して本体に送出する。また、一致する
場合は、非同期シリアル出力部8へコードを送らないの
で、キーのコードをマスクすることができる。
The code of the key to be masked is stored in the RAM 6 in advance. The MPU 3 inputs ON / OFF of the switch 5 with a logical value and determines the state. When the switch 5 is on, the MPU 3 compares the code of the key received from the asynchronous serial input unit 2 with the code of the key to be masked in the RAM 6, and if the code does not match any code, outputs the code to the asynchronous serial output. Hand over to part 8. The asynchronous serial output unit 8 edits the format of transmission to the main unit,
It is sent to the main unit via the output terminal 9. If they match, no code is sent to the asynchronous serial output unit 8, so that the key code can be masked.

【0016】また、スイッチ5がオフの時は、MPU3
上で入力されたキーのコードと、マスクすべきキーのコ
ードと比較照合はせず、そのまま、非同期シリアル出力
部8に渡すので、マスクされない。
When the switch 5 is off, the MPU 3
The key code input above and the key code to be masked are not compared and collated, and are passed to the asynchronous serial output unit 8 as they are, so that they are not masked.

【0017】キーボードから非同期シリアル入力部2
へ、及び、非同期シリアル出力部8から本体へのキーの
コードの転送形式は11ビットのブロック単位毎に転送
される。図2は本発明のキーコードのマスク装置のキー
コードの転送形式の構成を示す図である。
Asynchronous serial input unit 2 from keyboard
And the transfer format of the key code from the asynchronous serial output unit 8 to the main unit is transferred in units of 11-bit blocks. FIG. 2 is a diagram showing a configuration of a key code transfer format of the key code masking device of the present invention.

【0018】ブロックの先頭は、スタートビット21で
1ビットである。次に、データビット列22が8ビット
続く。データビット列22は各キーに固有の7ビット
(D0〜D6)のコード26とキーの動作を示す押下/
解放ビット25の1ビット(D7)で構成される。
The start of the block is a start bit 21 of one bit. Next, the data bit string 22 continues for 8 bits. The data bit string 22 is a 7-bit (D0 to D6) code 26 unique to each key and a press / indicate key operation.
It is composed of one bit (D7) of the release bit 25.

【0019】押下/解放ビット25では、キーボードで
キーを操作した際、押下の時は“0”、キーから解放の
時は“1”が入る。すなわち、キーを押下した時と、解
放した時と、二回コードがキーボードから送られる。
In the press / release bit 25, when a key is operated with the keyboard, "0" is entered when the key is pressed and "1" is entered when the key is released. That is, the code is sent from the keyboard twice when the key is pressed and when the key is released.

【0020】次に、パリテイビット23が送られる。パ
リテイビット23はデータビット列22のパリテイ演算
の結果の値が入る。
Next, the parity bit 23 is sent. The parity bit 23 contains the value of the result of the parity operation of the data bit string 22.

【0021】最後に、ストップビット24が来る。Finally, a stop bit 24 comes.

【0022】非同期シリアル入力部2では、各ブロック
のデータビット列22のみを抽出して、MPU3に転送
する。
The asynchronous serial input unit 2 extracts only the data bit string 22 of each block and transfers it to the MPU 3.

【0023】キーは、英字、数字、カナ、記号、機能に
分類される。英字はA〜Z、a〜zである。数字は0〜
9である。カナはア〜ンである。記号は#、%=、<等
である。機能は、リターンキー、TAB、BS、IN
S、CLS、SHIFT、→、F1〜F10等である。
このうちコントロール・キー(CTRL)、シフト・キ
ー(SHIFT)、グラフ・キー(GRPH)はそのキ
ーだけでは、機能せず、必ず他のキーと複合して使用さ
れる。CTRL、SHIFT、GRPHのように他のキ
ーと複合して使用されるキーを制御キーと呼ぶ。制御キ
ーの押下により送出されるコードをここでは制御コード
と呼ぶ。
The keys are classified into alphabets, numbers, kana, symbols, and functions. Alphabetic characters are AZ and az. Number is 0
9 Kana is a to a. The symbols are #,% =, <etc. Function is return key, TAB, BS, IN
S, CLS, SHIFT, →, F1 to F10, and the like.
Of these, the control key (CTRL), shift key (SHIFT), and graph key (GRPH) do not function by themselves, but are always used in combination with other keys. Keys used in combination with other keys, such as CTRL, SHIFT, and GRPH, are called control keys. The code transmitted by pressing the control key is called a control code here.

【0024】また、英字、数字、カナ、記号、制御キー
以外の機能キーのコードをここでは文字コードと総称す
ることにする。キーボードから送られてくるコードデー
タのブロックは、単一のキーを打つ場合には、キーの押
下時とキーの解放時の二回送られる。
The codes of function keys other than alphabetic characters, numerals, kana, symbols, and control keys are collectively referred to herein as character codes. When a single key is hit, a block of code data sent from the keyboard is sent twice: when the key is pressed and when the key is released.

【0025】複合キーの場合、例えば、シフトキーと3
の文字キーを同時に打つと#と見なされ、3とは、違う
文字を表す。この場合、キーボードから送られるコード
のブロックは、押下のシフトキー、押下の3のキー、解
放の3のキー、解放のシフトキーのコードで順におくら
れる。
In the case of a composite key, for example, a shift key and 3
Are hit at the same time, it is regarded as # and 3 represents a different character. In this case, the blocks of the code sent from the keyboard are arranged in order by the code of the shift key for pressing, the key of 3 for pressing, the key of 3 for releasing, and the code of the shifting key for releasing.

【0026】次に、スイッチ5がオンの時に、MPU3
上で動作するマスク処理のプログラムの処理方法を図3
の本発明のキーコードのマスク装置の一実施の形態の動
作を示す流れ図で説明する。
Next, when the switch 5 is turned on, the MPU 3
FIG. 3 shows a processing method of a mask processing program that operates on the above.
The operation of an embodiment of the key code masking apparatus of the present invention will be described with reference to a flowchart.

【0027】MPU3にキーのコードのデータビット列
22が来ると、プログラムは、イン(ステップ31)よ
り進み、押下/解放ビット25を調べ、“押下のコード
か”(ステップ32)の判定により、押下/解放ビット
25が“0”であれば、押下と見なし、“CTRLか”
(ステップ33)に進み、“1”であれば、解放と見な
し“CTRLか”(ステップ51)に進む。
When the data bit string 22 of the key code arrives at the MPU 3, the program proceeds from in (step 31), checks the press / release bit 25, and determines whether the code is a press code (step 32). If the / release bit 25 is “0”, it is regarded that the button is pressed and “CTRL or not”
Proceeding to (Step 33), if it is "1", it is regarded as release and proceed to "CTRL or not" (Step 51).

【0028】“CTRLか”(ステップ33)では、キ
ーのコード26がCTRLのコードであれば、“制御コ
ード記憶”(ステップ41)で、CTRLコードを記憶
し、“制御コードあり”(ステップ43)をセットす
る。
In the case of "CTRL or not" (step 33), if the key code 26 is a CTRL code, the CTRL code is stored in "control code storage" (step 41) and "control code exists" (step 43). ) Is set.

【0029】CTRLのコードでない場合は、“GRP
Hか”(ステップ34)に進み、キーのコード26がG
RPHであれば、“制御コード記憶”(ステップ41)
でGRPHを記憶し、“制御コードあり“(ステップ4
3)をセットする。
If the code is not a CTRL code, "GRP
H? "(Step 34), and the key code 26
If RPH, "control code storage" (step 41)
To store the GRPH, and “control code exists” (step 4
Set 3).

【0030】キーのコードがGRPHでない場合は、
“SHIFTか”(ステップ35)に進み、キーのコー
ド26がSHIFTであれば“制御コード記憶”(ステ
ップ41)でSHIFTを記憶し、“制御コードあり”
(ステップ43)をセットする。
If the key code is not GRPH,
Proceeding to "SHIFT?" (Step 35), if the key code 26 is SHIFT, store the SHIFT in "control code storage" (step 41) and "control code exists".
(Step 43) is set.

【0031】“制御コードあり”(ステップ43)をセ
ットの後、“本体に送出“(ステップ38)でコードを
非同期シリアル出力部8を経由して本体に送出し、アウ
ト(ステップ39)に至る。
After setting "control code present" (step 43), the code is transmitted to the main unit via the asynchronous serial output unit 8 by "send to main unit" (step 38), and the output reaches (step 39). .

【0032】SHIFTのコードでない場合は、“制御
コードありか”(ステップ36)に進む。以前に押下の
制御コードがあれば、“制御コードありセット“(ステ
ップ43)でセットしてある。
If the code is not a SHIFT code, the flow advances to "whether there is a control code" (step 36). If there is a control code to be pressed before, it is set in the "set with control code" (step 43).

【0033】“制御コードありか”(ステップ36)で
セット/リセットの状態を調べる。制御コードなしの場
合、単一キーの文字コードと見なし、“マスクのコード
と一致か”(ステップ37)で、あらかじめ、RAM6
に記憶してあるマスクすべき単一のキーのコードの全て
と、比較照合する。
The "set / reset" state is checked in "whether there is a control code" (step 36). If there is no control code, it is regarded as a character code of a single key.
Is compared with all of the codes of the single key to be masked stored in.

【0034】いずれにも、一致しなければ、“本体に送
出”(ステップ38)で、コードを本体に送出し、アウ
ト(ステップ39)に進む。一致した場合は、マスクす
べきコードと見なし、送出しないでアウト(ステップ3
9)に進む。
In any case, if they do not match, the code is sent to the main body in "Send to main body" (step 38), and the process proceeds to out (step 39). If there is a match, it is regarded as a code to be masked, and it is output without sending (step 3
Proceed to 9).

【0035】“制御コードありか”(ステップ36)
で、ありの場合、“制御コード付マスクコードと一致か
“(ステップ42)に進む。RAM6にあらかじめ、複
合キーのマスクのコードが、記憶されている。複合キー
のマスクのコードは、制御コードと文字コードの一組で
構成される。まず、前に“制御コード記憶”(ステップ
41)で記憶した制御コードについて、このコードとマ
スクすべき制御コードと一致しなければ、マスクせず、
受けた文字コードを“本体に送出”(ステップ38)
で、本体に送り、アウト(ステップ39)に至る。
"Does control code exist" (step 36)
If yes, the process proceeds to "Does the mask code match with control code?" (Step 42). The code of the mask of the composite key is stored in the RAM 6 in advance. The code of the mask of the composite key is composed of a set of a control code and a character code. First, if the control code stored in the "control code storage" (step 41) does not match the control code to be masked, the mask is not masked.
Send the received character code to the main unit (step 38)
Then, it is sent to the main body and reaches out (step 39).

【0036】マスクすべき制御コードと一致すれば、さ
らに、文字コードの比較照合を行う。一致しなければ、
マスクせず、受けた文字コードを“本体に送出”(ステ
ップ38)で、本体に送り、アウト(ステップ39)に
至る。
If the control code matches the control code to be masked, the character code is further compared and collated. If they do not match,
Without masking, the received character code is sent to the main body by "send to main body" (step 38), and reaches out (step 39).

【0037】一方、文字コードの比較照合で一致した場
合は、マスクするので、コードを送出せず、アウト(ス
テップ39)に至る。“押下のコードか”(ステップ3
2)で、押下/解放ビット25が“1”の場合は、“C
TRLか”(ステップ51)に進み、コード26がCT
RLのコードであれば、“制御コードありリセット
“(ステップ55)に行く。
On the other hand, if there is a match in the comparison of the character codes, masking is performed, so that no code is sent out and the process goes out (step 39). “Is the code for pressing down” (Step 3
In 2), if the press / release bit 25 is “1”, “C”
TRL or "(step 51), and code 26 is CT
If it is an RL code, go to "Reset with control code" (step 55).

【0038】CTRLのコードでなければ“GRPH
か”(ステップ52)に進む。GRPHのコードであれ
ば、“制御コードありリセット“(ステップ55)に行
く。GRPHのコードでなければ“SHIFTか”(ス
テップ53)に進む。
If it is not a CTRL code, "GRPH
(Step 52). If it is a GRPH code, go to "Reset with control code" (Step 55). If it is not a GRPH code, go to "SHIFT?" (Step 53).

【0039】SHIFTのコードであれば、“制御コー
ドありリセット”(ステップ55)に行く。SHIFT
のコードでなければ、“押下時に送出か”(ステップ5
4)に進む。ここで、押下時点でコードがマスクされな
かったか調べ、マスクされていなければ、“本体に送
出”(ステップ38)に進み、コードを送出して、アウ
ト(ステップ39)に至る。
If the code is a SHIFT code, the procedure goes to "reset with control code" (step 55). SHIFT
If it is not the code, “Send when pressed” (step 5
Proceed to 4). Here, it is checked whether or not the code is masked at the time of pressing, and if not masked, the process proceeds to "Send to main body" (step 38), and the code is sent out (step 39).

【0040】押下時点でマスクされていれば、アウト
(ステップ39)に至り、マスクする。他方、“制御コ
ードありリセット“(ステップ55)に進んだ場合は制
御コードありのりセット、つまり、制御コードなしにす
る。
If it is masked at the time of pressing, the process goes out (step 39), and masking is performed. On the other hand, in the case of proceeding to "reset with control code" (step 55), the control code is set to the preset state, that is, there is no control code.

【0041】“本体に送出”(ステップ38)で、本体
へコードを送出し、アウト(ステップ39)に至る。上
述の実施の形態では、RAM6上に、マスク処理すべき
キーのコードを記憶したが、ROM7であってもよい。
また、実施の形態では、マスクすべきコードを比較照合
の対象としたが、マスクしないコードを記憶し、これと
比較照合して、マスクするか否かの判断をすることもで
きる。
The code is sent to the main unit by "send to main unit" (step 38), and the process goes out (step 39). In the above-described embodiment, the key code to be masked is stored in the RAM 6, but may be the ROM 7.
Further, in the embodiment, the code to be masked is set as a target of comparison and collation. However, a code which is not masked may be stored and compared with this to determine whether or not to mask.

【0042】さらに、実施の形態では、CTRLキー、
GRPHキー、SHIFTキーを制御キーとしたが、こ
れに限らず、複合キーで機能するキーを制御キーとし
て、扱うことができる。さらに、実施の形態では、複合
キーを2つのキーで説明したが、3つ以上のキーでも、
同様にマスク処理が可能である。
Further, in the embodiment, the CTRL key,
Although the GRPH key and the SHIFT key are used as control keys, the present invention is not limited to this, and keys that function as composite keys can be used as control keys. Further, in the embodiment, the composite key has been described with two keys, but even with three or more keys,
Similarly, mask processing is possible.

【0043】RAM6上のマスクすべきコードで、複合
キーのコードを構成する3つ以上のコードの組み合わせ
として、比較照合すればよい。さらに、実施の形態で
は、非同期シリアル入力部2と非同期シリアル出力部8
で説明したが同期式の転送方法による入力部と出力部で
も可能である。さらに、実施の形態では、スイッチをオ
フにした時、MPU3上でマスクしないプログラムを動
作させて、非同期シリアル入力部2、MPU3、非同期
シリアル出力部8を経由したが、スイッチ5の切り換え
で直接、入力端子1から、出力端子9に至る接続にし
て、同等の効果を得られる。
The code to be masked in the RAM 6 may be compared and compared as a combination of three or more codes constituting the code of the composite key. Furthermore, in the embodiment, the asynchronous serial input unit 2 and the asynchronous serial output unit 8
As described above, an input unit and an output unit using a synchronous transfer method are also possible. Furthermore, in the embodiment, when the switch is turned off, a program that is not masked on the MPU 3 is operated to pass through the asynchronous serial input unit 2, the MPU 3, and the asynchronous serial output unit 8. By connecting from the input terminal 1 to the output terminal 9, the same effect can be obtained.

【0044】さらに、上述の実施の形態では、マスクす
るコードを非同期シリアル出力部8から送出したが、こ
れをコンピュータ本体側で無効と見なすコードに変換
し、送出しても同様の効果を得られる。
Further, in the above-described embodiment, the code to be masked is transmitted from the asynchronous serial output unit 8. However, the same effect can be obtained by converting this to a code regarded as invalid on the computer body side and transmitting it. .

【0045】[0045]

【発明の効果】以上説明したように、本発明のキーコー
ドのマスク装置は、第1の効果は、全てのキーに対し
て、任意にマスクの指定をすることができる。
As explained above, the first effect of the key code masking device of the present invention is that a mask can be arbitrarily designated for all keys.

【0046】その理由は、マスクするか否かをキーの代
わりにスイッチで切り換えることができるので、キーを
使用しないからである。
The reason is that the key is not used because whether or not to mask can be switched by a switch instead of the key.

【0047】第2の効果は、本体のプログラムの動作と
完全に切り離してマスク処理ができる。
The second effect is that mask processing can be completely separated from the operation of the main program.

【0048】その理由は、MPUを使って、専用にマス
ク処理をするため本体のプログラム動作に係わらないこ
とによるからである。
The reason for this is that the mask processing is performed exclusively using the MPU, so that it is not involved in the program operation of the main unit.

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

【図1】本発明のキーコードのマスク装置の一実施の形
態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a key code masking apparatus according to the present invention.

【図2】本発明のキーコードのマスク装置のキーコード
の転送形式の構成を示す図である。
FIG. 2 is a diagram showing a configuration of a key code transfer format of the key code masking device of the present invention.

【図3】本発明のキーコードのマスク装置の一実施の形
態の動作を示す流れ図である。
FIG. 3 is a flowchart showing an operation of the key code masking apparatus according to one embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 入力端子 2 非同期シリアル入力部 3 MPU 5 スイッチ 6 RAM 7 ROM 8 非同期シリアル出力部 9 出力端子 21 スタートビット 22 データビット列 23 パリテイビット 24 ストップビット 25 押下/解放ビット 26 コード DESCRIPTION OF SYMBOLS 1 Input terminal 2 Asynchronous serial input part 3 MPU 5 Switch 6 RAM 7 ROM 8 Asynchronous serial output part 9 Output terminal 21 Start bit 22 Data bit string 23 Parity bit 24 Stop bit 25 Press / release bit 26 Code

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 マスク制御の実行、非実行を切り換える
スイッチと、該スイッチがマスク制御の実行の時、キー
ボードからのデータを入力し、キーのコードとキーの押
下、解放の情報を抽出し、マイクロプロセッサに送るシ
リアル入力部と、マスクすべきコードを記憶する記憶部
と、該記憶部のマスクすべきコードと該シリアル入力部
からのキーのコードを比較照合し、制御キーが押されて
いる間を複合コードとして処理することにより、マスク
の可否を判定する該マイクロプロセッサと、マスクしな
いコードをコンピュータ本体に送出するシリアル出力部
とを備えることを特徴とするキーコードのマスク装置。
1. A switch for switching between execution and non-execution of mask control, and when the switch executes mask control, inputs data from a keyboard, and extracts key codes and information on key presses and releases, A serial input unit to be sent to the microprocessor, a storage unit for storing a code to be masked, a code to be masked in the storage unit is compared with a key code from the serial input unit, and the control key is pressed. A key code masking device, comprising: a microprocessor for determining whether or not to mask by processing a space between the codes as a composite code; and a serial output unit for sending a code not to be masked to a computer main body.
【請求項2】 マスク制御の実行、非実行を切り換える
スイッチと、該スイッチがマスク制御の実行の時、キー
ボードからのデータを入力し、キーのコードとキーの押
下、解放の情報を抽出し、マイクロプロセッサに送るシ
リアル入力部と、マスクさせないコードを記憶する記憶
部と、該記憶部のマスクさせないコードと該シリアル入
力部からのキーのコードを比較照合し、制御キーが押さ
れている間を複合コードとして処理することにより、マ
スクの可否を判定する該マイクロプロセッサと、マスク
しないコードをコンピュータ本体に送出するシリアル出
力部とを備えることを特徴とするキーコードのマスク装
置。
2. A switch for switching between execution and non-execution of mask control, and when the switch executes mask control, inputs data from a keyboard, and extracts key codes and information on key presses and releases, A serial input unit to be sent to the microprocessor, a storage unit for storing a code to be unmasked, a code for unmasked in the storage unit and a key code from the serial input unit are compared and collated. A key code masking device, comprising: a microprocessor that determines whether or not to mask by processing as a composite code; and a serial output unit that sends a code not to be masked to a computer main body.
【請求項3】 マスク機能実行時、スイッチをオンする
ことにより、記憶部に記憶されたマスク処理プログラム
を実行し、キーボードからのキーコードをシリアル入部
で受けつけ、MPUが、記憶部に記憶してあるマスクす
べきコードと比較照合し、一致すれば、キーコードをシ
リアル出力部を経由して外部に送出しなく、一致しなけ
れば、キーコードをシリアル出力部を経由して外部に送
出し、マスク機能停止時、スイッチをオフすることによ
り、マスク処理プログラムは休止し、キーボードから受
けたコードの全てを通過させることを特徴とするキーコ
ードのマスク装置。
3. When the mask function is executed, a switch is turned on to execute a mask processing program stored in a storage unit, a key code from a keyboard is received by a serial input unit, and the MPU stores the key code in the storage unit. Compare and collate with a code to be masked, and if they match, do not send the key code to the outside via the serial output unit.If they do not match, send the key code to the outside via the serial output unit. A key code masking device characterized in that when a mask function is stopped, a mask processing program is halted by turning off a switch to allow all codes received from a keyboard to pass.
JP8341959A 1996-12-20 1996-12-20 Key code masking equipment Expired - Fee Related JP2933555B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8341959A JP2933555B2 (en) 1996-12-20 1996-12-20 Key code masking equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8341959A JP2933555B2 (en) 1996-12-20 1996-12-20 Key code masking equipment

Publications (2)

Publication Number Publication Date
JPH10187323A JPH10187323A (en) 1998-07-14
JP2933555B2 true JP2933555B2 (en) 1999-08-16

Family

ID=18350096

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8341959A Expired - Fee Related JP2933555B2 (en) 1996-12-20 1996-12-20 Key code masking equipment

Country Status (1)

Country Link
JP (1) JP2933555B2 (en)

Also Published As

Publication number Publication date
JPH10187323A (en) 1998-07-14

Similar Documents

Publication Publication Date Title
JP2933555B2 (en) Key code masking equipment
JPH04367924A (en) Keyboard controller
JP3052595B2 (en) Computer redundancy control method
JPH10333806A (en) Key input controller and method therefor
JP2597457B2 (en) Signal input device and signal input method
JP2866426B2 (en) keyboard
JPH08263188A (en) Keyboard control system
JP2568227B2 (en) Key output device
CN117472196A (en) Method and device based on single function key plus character key combination
JPS6161405B2 (en)
JPH03225411A (en) Keyboard and information processor
JPH0417540B2 (en)
JPS62131645A (en) Data communication equipment
JPS63236124A (en) Input device
JPS62191981A (en) Control instruction column converting system for drawing graphic
JPH02206811A (en) Electronic equipment system
JPH02293962A (en) Microprocessor controller
JPH01129318A (en) Information processor
JPH0580911A (en) Key input device
JPH06161624A (en) Interruption controlling method
JPS62245325A (en) Keyboard control system
JPH0510688B2 (en)
JPS59172042A (en) Information processing device
JPH02130611A (en) Command mask circuit for keyboard
JPS62196718A (en) Keyboard

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990427

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090528

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100528

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110528

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees