JPS58219629A - Key input interruption driver processing system - Google Patents

Key input interruption driver processing system

Info

Publication number
JPS58219629A
JPS58219629A JP57100613A JP10061382A JPS58219629A JP S58219629 A JPS58219629 A JP S58219629A JP 57100613 A JP57100613 A JP 57100613A JP 10061382 A JP10061382 A JP 10061382A JP S58219629 A JPS58219629 A JP S58219629A
Authority
JP
Japan
Prior art keywords
data
display
interrupt
driver
key
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
JP57100613A
Other languages
Japanese (ja)
Inventor
Akitou Okabe
明納 岡部
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura Electric 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP57100613A priority Critical patent/JPS58219629A/en
Publication of JPS58219629A publication Critical patent/JPS58219629A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To eliminate the waste of an interruption signal output to a CPU, to simplify the program of the CPU, and to relieve the load on it, by selecting a signal from a keyboard through an interruption driver. CONSTITUTION:The interruption driver 6 is connected to the keyboard 7 and an interruption signal corresponding to an input from the keyboard 7 is generated and inputted to the CPU1 through an address data and control bus 8. Data corresponding to the interruption signal is displayed on a display 5 under the control of the CPU1. Data corresponding to respective display states of the display 5 are set in the tables of a data ROM9 by the display states previously. When receiving the input from the keyboard 7, the driver 6 judges the current display state of the display 5 and reads data out of the table corresponding to the display state to supply data coincident with the key input contents to the CPU1 as an interruption corresponding to the display state, simplifying the program a program ROM3.

Description

【発明の詳細な説明】 [技術分野の説明〕 本発明はキーボードから入力された信号を割り込みドラ
イバへ流し、中央演算処理装置(以下CPUと記す)に
割り込みを発生させ、割り込み処理プログラム(二より
表示装置に人力データを表示させるキー人力割り込みド
ライバ処理システムに関するものである。
[Detailed Description of the Invention] [Description of Technical Field] The present invention sends a signal input from a keyboard to an interrupt driver, generates an interrupt in a central processing unit (hereinafter referred to as CPU), and executes an interrupt processing program (from The present invention relates to a key human input interrupt driver processing system that displays human input data on a display device.

〔従来技術の説明〕[Description of prior art]

従来のキー人力割り込みドライバ処理システムではキー
ボードからの信号を割り込みドライノ((二てその41
割り込み信号に変換したCPUへ割り込み信号を出力し
ていた。この場合キーボード上のキーが多くなればなる
程、割り込みドライバからCPUへ出力される割り込み
信号の種類も多くなる。
In the conventional key human interrupt driver processing system, the signal from the keyboard is
The interrupt signal was output to the CPU, which converted it into an interrupt signal. In this case, the more keys there are on the keyboard, the more types of interrupt signals output from the interrupt driver to the CPU.

そのためCPUは、割り込みドライバからの割り込み信
号を受は付けた時点で、現在CI’LT等の表示装置1
″−表示されている画面の状態に対し、受は付けた信号
が処理してよい信号かどうかを判断しなければならず、
CPUのプログラムが複雑になると1/1う欠点があっ
た。
Therefore, when the CPU accepts the interrupt signal from the interrupt driver, the current display device 1 such as CI'LT
″-Regarding the state of the displayed screen, the receiver must judge whether the signal attached is a signal that can be processed.
There was a drawback that the CPU program became 1/1 when the program became complicated.

[発明の目的〕 本発明の目的は、割り込みドライバにて、現在表示装置
;:表示されている表面状態に対し不必要なデータがキ
ー人力されてもこれをCPUへの割り込み信号に変換し
ないようにしてCPUのプログラムの複雑化を防止しか
つ負担を軽減した割り込みドライバ処理システムを提供
することにある。
[Object of the Invention] The object of the present invention is to prevent the interrupt driver from converting unnecessary data into an interrupt signal to the CPU even if unnecessary data is manually entered for the surface state currently displayed on the display device. An object of the present invention is to provide an interrupt driver processing system that prevents the complexity of a CPU program and reduces the burden.

[発明の概要〕 本発明によるキー人力割り込みドライバ処理システムは
キーボードからのキー人力を受けこのキー人力に対応す
る割込信号を生じる割り込みドライバと、この割り込み
ドライバの生じる割り込み信号を入力しこれ(二対応す
るデータを表示装置に出力する中央演算処理装置と、前
記表示装置による各表示状態毎にこの表示状態にて表示
されるべきデータを予め設定したテーブルをそれぞれ有
するメモリとを備えたもので、前記割9込みドライ11 バはキー人力された場合前記表示装置の現在の表示状態
を判断し、この表示状態に対応する前記テーブルからデ
ータを読み出して前記キー人力内容と合致するも□のが
あるかを判断し、合致するものがあればこのキー人力に
対応する割り込み信号を中央演算処理装置に与えるよう
にして中央演算処理装置に対し不必要な割り込み信号を
与えないようにしたものである。
[Summary of the Invention] The key manual interrupt driver processing system according to the present invention includes an interrupt driver that receives key manual input from a keyboard and generates an interrupt signal corresponding to the key manual input, and an interrupt signal generated by the interrupt driver that is input to the interrupt driver. A central processing unit that outputs corresponding data to a display device, and a memory each having a table in which data to be displayed in each display state of the display device is set in advance for each display state, When a key is input manually, the interrupt driver 11 determines the current display state of the display device, reads data from the table corresponding to this display state, and matches the content of the key input. If there is a match, an interrupt signal corresponding to this key input is given to the central processing unit, thereby preventing unnecessary interrupt signals from being given to the central processing unit.

[発明の実施例〕 以下本発明を図面に示す一実施例を参照して詳細に説明
する。CPU 1はアドレス、データ及びコントロール
パス(以下単音:バスと呼ぶ)8全通して、プログラム
を格絡したリードオンリーメモリ(以下ROMと呼ぶ)
3、各種データを格納したデータ1(OM 9 、ラン
ダムアクセスメモリ(以下論と呼ぶ)2、出力ボート4
と接続し、これらの間でデータの受は渡しを行う。上記
出力ボート4は表示装置、例えばプラズマディスプレイ
5と接続する。またCPU 1はパス8を通して割り込
みドライバ6とも接続されておや、割り込み信号の受信
を行う。
[Embodiment of the Invention] The present invention will be described in detail below with reference to an embodiment shown in the drawings. The CPU 1 is a read-only memory (hereinafter referred to as ROM) that stores programs through address, data, and control paths (hereinafter referred to as bus) 8.
3. Data 1 (OM 9) that stores various data, Random access memory (hereinafter referred to as theory) 2, Output port 4
data is received and passed between them. The output boat 4 is connected to a display device, for example a plasma display 5. The CPU 1 is also connected to an interrupt driver 6 through a path 8 and receives interrupt signals.

割す込みドライバ6はキーボード7と接続され第2図で
示す各種キースイッチによるキー人力信号の受信を行い
、パス8を通してデータROM 9 にあらかじめ設定
されたキー人力信号データを取り出す。そしてパス8を
通してCPU 1 に対し割り込み信号の送信を行う−
0 なお、第3図はプラズマディスプレイ5の画ml状態を
あられす表か内容であり、第4図は、プラズマディスプ
レイ5の画面状態に対応したキー人力信号許可データの
格納されているデータROM 9の設定内容を示したも
のである。
The interrupt driver 6 is connected to the keyboard 7, receives key input signals from the various key switches shown in FIG. 2, and takes out key input signal data preset in the data ROM 9 through a path 8. Then, an interrupt signal is sent to CPU 1 through path 8.
0 FIG. 3 shows a table or contents indicating the screen status of the plasma display 5, and FIG. This shows the settings.

はじめにプラズマディスプレイ5の表示状態の判断基準
としてレベルを定−める。すなわち、無表示状態をレベ
ル″′0”とし、またモード表示である例えば1セイギ
ヨ」という文字が表示されて(洩る状態をレベル″′1
”とする。以下同様に各しベルを定め、これら各レベル
毎の設定データをテーブルとしてデータROM 9に格
納しておく。まずレベル10″′の状態からキーボード
7のモード表示用のキー、例えば「制御」キーを入力す
ると割り込みドライバ6はデータROM 9から第4図
で示すレベルuO″′用の設定データテーブル9−0指
定し、このテーブル中に、キー人力「セイギョ」に合致
するものがあるかを判別する。この場合、合致する亀の
があるので、プラズマディスプレイ5に「セイギョ」と
いう文字データを表示し、表示状態をレベルをMill
とする。次にキーボード7からのテンキーにより数字「
1」をキー人力すると、同様にデータRAM 9 +=
格納されたレベルセ1′用の設定データテーブル9−1
と比較し、その中に数字「1」に合致するものがあるか
を判別する。この場合、合致するものがあるので、プラ
ズマディスプレイ5に数字「1」という文字データを表
示する。このように順次データーをキー人力し、第3図
で示すような文字表示を行う。ここでレベルt″0”、
又はレベル@1”の各レベル媚二おいて、キーボード7
からキー人力したデータが、データROM 9 に格納
した対応するレベルの設定データテーブルにないもので
あれば、割り込みドライバ6で不要なキー人力信号と判
定し、CPU 1へは割り込み信号を発生させない。
First, a level is determined as a criterion for determining the display state of the plasma display 5. In other words, the non-display state is set to level ``'0'', and the mode display, for example, ``1 Seigiyo'' is displayed (the leaking state is set to level ``'1'').
''.Similarly, each level is determined, and the setting data for each level is stored as a table in the data ROM 9.First, from the state of level 10'', press the mode display key on the keyboard 7, e.g. When the "control" key is input, the interrupt driver 6 specifies the setting data table 9-0 for the level uO'' shown in FIG. Determine if there is. In this case, since there is a matching turtle, the character data "Seigyo" is displayed on the plasma display 5, and the display status is set to Mill.
shall be. Next, use the numeric keypad from keyboard 7 to enter the number “
1" key manually, the data RAM 9 +=
Stored setting data table 9-1 for level controller 1'
and determines whether there is one that matches the number "1". In this case, since there is a match, the character data of the number "1" is displayed on the plasma display 5. In this way, the data is entered sequentially using the keys, and characters are displayed as shown in FIG. Here, level t″0″,
Or for each level of "Level @ 1", keyboard 7
If the data manually input from the key is not in the setting data table of the corresponding level stored in the data ROM 9, the interrupt driver 6 determines it as an unnecessary key input signal and does not generate an interrupt signal to the CPU 1.

第5図は割り込みドライバ6に、上記機能を実行するた
めの設定されたプログラムのフローチャートを示す。以
下このフローチャート;二より無表示状態(レベル″’
O’ ) l二おいてキー「制御」ヲオン操作した場合
を説明する。まず、キー人力されたデータをピックアッ
プ(ステップB)し、つぎ1ニカウンタをクリア(ステ
ップb)する。このカウンタは各レベル毎に設定された
第4図で示すテーブルからデータを読み出すためのイン
デックスとして用いるものである。次(二このカウンタ
の値を読み(ステップe)、カウンタ終了になっていな
いかを判断する。また表示状態のレベルも同時に判断す
る。この場合、無表示状態から最初のキー人力なので、
レベルaO”と判断し、データROM9に設定された対
応するテーブル9−0から上記カウンタのカウント値(
この場合O)をインデックスとして読み出す(ステップ
d)。
FIG. 5 shows a flowchart of a program set for the interrupt driver 6 to execute the above functions. Below is this flowchart;
The following describes the case where the "control" key is turned on after setting "O')". First, the keyed data is picked up (step B), and then the 1 counter is cleared (step b). This counter is used as an index for reading data from the table shown in FIG. 4 set for each level. Next (2) Read the value of this counter (step e) and judge whether the counter has finished. Also, judge the level of the display state at the same time. In this case, since it is the first key input from the non-display state,
The count value of the above counter (
In this case, O) is read out as an index (step d).

第4図で示す如く、レベル50″のテーブル9−0では
、カウント値(0)をインデックスとして読み出される
0番地のデータは「セイギョ」であり、これが読み出さ
れる。そしてキー人力されたデータ「制御」と合致する
かを判定する(ステップe)。
As shown in FIG. 4, in the table 9-0 at level 50'', the data at address 0 read out using the count value (0) as an index is ``Seigyo'', and this is read out. Then, it is determined whether the key matches the manually entered data "control" (step e).

この場合合致するので、データ「セイギョ」に対応する
割り込み信号をCPU 1に出力してプラズマディスプ
レイ5に文字「セイギョ」を表示さ7せる。
In this case, since they match, an interrupt signal corresponding to the data "Seigyo" is output to the CPU 1, and the characters "Seigyo" are displayed on the plasma display 5.

その後カウンタを終了としくステップg)、さらにレベ
ルを、文字「セイギョ」が表示された状態のレベルtI
II′としステップCに戻る。ステップCではカウンタ
が終了になっているので、そのまま終了する。次にテン
キーにより数字「1」を入力すると、前記と同様に動作
する。すなわち、ステップCにてレベル61”と判断し
、ステップdにてレベルI11”に対応した第4図で示
すテーブル9−1からカウンタのカウント値をインデッ
クスとしてデータを読み出す。テーブル9−1では最初
のカウント値(0)Inより読み出される0番地のデー
タは数字rOJのコードであり、ステップeの合致判定
ではNOと判定され、ステップlにてカウンタをカウン
トアツプし0、ステップc、di二進む。ステップdで
は再びカウンタのカウント値(カウントアツプにより1
となっている)をインデックスとしてテーブル9−1の
1番地のデータを読み出す。このデータは数字「1」の
コードであり、ステップeの合致判定ではYESと判定
され、これに対応する割り込み信号をCPU iに送っ
て数字「l」を表示させる。
After that, the counter is finished, step g), and the level is changed to the level tI with the character "Seigyo" displayed.
II' and return to step C. In step C, since the counter has ended, the process ends immediately. Next, when the number "1" is input using the numeric keypad, the same operation as described above occurs. That is, in step C, it is determined that the level is 61'', and in step d, data is read out from table 9-1 shown in FIG. 4 corresponding to level I11'' using the count value of the counter as an index. In Table 9-1, the data at address 0 read from the first count value (0) In is the code of the number rOJ, and the match determination in step e is determined as NO, and the counter is incremented in step l to 0, Proceed to step c and di. In step d, the count value of the counter again (1 due to count up)
) is used as an index to read the data at address 1 of table 9-1. This data is a code for the number "1", and the match determination in step e is determined to be YES, and a corresponding interrupt signal is sent to the CPU i to display the number "l".

その後の動作は前述のものと同じで説明は省略す  ′
る。
The subsequent operations are the same as those described above, so the explanation will be omitted.
Ru.

これに対し、現在の表示状態、例えばレベル@1″のテ
ーブル9−1にない内容が、誤操作等により入力される
と、ステップeの合致判定がYB2 +二ならないので
、テーブル9−1の全番地につき、ステップe、d、e
、i  を繰返えして終了する。従って、このキー人力
はCPU 1 には出力されない。
On the other hand, if content that is not in the current display state, for example, level @1'' table 9-1, is entered due to an erroneous operation, the matching judgment in step e will not be YB2 + 2, so all of the contents in table 9-1 will be input. For each address, step e, d, e
, i and finish. Therefore, this key power is not output to CPU 1 .

なお、CPU lは割り込みドライバ6からの上記割り
込み信号により、プログラムRAM 3からノ(ス8を
通して、命令語を取り出して解読する。次1ニバス8を
通してデータl(OM 9からプラズマディスプレイ5
に表示するための表示データを取り出し、バス8を通し
て出力ボート4に表示データを出力する。
In response to the interrupt signal from the interrupt driver 6, the CPU 1 extracts and decodes the instruction word from the program RAM 3 through the node 8. Next, the CPU 1 extracts the command word from the program RAM 3 through the node 8 and decodes it.
The display data to be displayed is taken out and outputted to the output port 4 through the bus 8.

し発明の効果〕 以上のように本発明によれば、キーボードからの信号を
割り込みドライバで選択できるため、CPUへの割り込
み信号出力もむだがなくなり、CPUのプログラムが簡
単になり負担も軽減する。
[Effects of the Invention] As described above, according to the present invention, since the signal from the keyboard can be selected by the interrupt driver, the output of the interrupt signal to the CPU is not wasted, and the programming of the CPU is simplified and the burden is reduced.

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

第1図は本発明によるキー人力割り込みドライバ処理シ
ステムの一実施例を示す構成図、第2図は本発明に用い
るキーボードのキー配置例を示す図、第3図は本発明(
二用いる表示装置の表示例を示す図、第4図は本発明喀
;用いるデータテーブルの内容を示す図、第5図は本発
明の詳細な説明するフローチャートである。 1・・・中央演算処理装置 2・・・)LAM      3・・・プログラムRO
M4・・・出力ボート   5・・・表示装置6・・・
割り込みドライバ 7・・・キーボード8・・・マドレ
ス、データ及ヒコントロールパス9・・・データI’L
OM (7317)  代理人弁理士 則 近 憲 佑 (ほ
か1名)第1図 第2図 第3図 第4図 第5図
FIG. 1 is a block diagram showing an embodiment of a key manual interrupt driver processing system according to the present invention, FIG. 2 is a diagram showing an example of the key arrangement of a keyboard used in the present invention, and FIG.
2 is a diagram showing a display example of the display device used, FIG. 4 is a diagram showing the contents of a data table used in the present invention, and FIG. 5 is a flow chart explaining the present invention in detail. 1... Central processing unit 2...) LAM 3... Program RO
M4...Output boat 5...Display device 6...
Interrupt driver 7...Keyboard 8...Madress, data and control path 9...Data I'L
OM (7317) Representative Patent Attorney Kensuke Chika (and 1 other person) Figure 1 Figure 2 Figure 3 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] キーボードからのキー人力を受けこのキー人力;=対応
する割込信号を生じる割り込みドライバと、この割り込
みドライバの生じる割り込み信号を入力しこれに対応す
るデータを表示装置に出力する中央演算処理装置と、前
記表示装置による各表示状態毎にこの表示状態にて表示
されるべきデータを予め設定したテーブルをそれぞれ有
するメモリとを備え、前記割り込みドライバはキー人力
された場合前記表示装置の現在の表示状態を判断し、こ
の表示状態C二対応する前記テーブルからデータを読み
出して前記キー人力内容と合致するものがあるかを判断
し、合致するものがあればこのキー人力に対応する割り
込み信号を中央演算処理装置に与えるように設定されて
いるキー人力割り込みドライバ処理システム。
An interrupt driver that receives key input from the keyboard and generates a corresponding interrupt signal; a central processing unit that inputs the interrupt signal generated by the interrupt driver and outputs the corresponding data to a display device; and a memory each having a table in which data to be displayed in each display state of the display device is set in advance for each display state of the display device, and the interrupt driver reads the current display state of the display device when a key is manually input. The data is read from the table corresponding to this display state C2, and it is determined whether there is anything that matches the key human input content.If there is a match, the interrupt signal corresponding to this key human input is processed by central processing. A key human interrupt driver processing system configured to provide the device.
JP57100613A 1982-06-14 1982-06-14 Key input interruption driver processing system Pending JPS58219629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57100613A JPS58219629A (en) 1982-06-14 1982-06-14 Key input interruption driver processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57100613A JPS58219629A (en) 1982-06-14 1982-06-14 Key input interruption driver processing system

Publications (1)

Publication Number Publication Date
JPS58219629A true JPS58219629A (en) 1983-12-21

Family

ID=14278688

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57100613A Pending JPS58219629A (en) 1982-06-14 1982-06-14 Key input interruption driver processing system

Country Status (1)

Country Link
JP (1) JPS58219629A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5726228A (en) * 1995-12-05 1998-03-10 Bayer Aktiengesellschaft Use of carbonates as demoulding agents for thermoplastic polycarbonates

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5726228A (en) * 1995-12-05 1998-03-10 Bayer Aktiengesellschaft Use of carbonates as demoulding agents for thermoplastic polycarbonates

Similar Documents

Publication Publication Date Title
JPS60262204A (en) Programmable controller
JPH05265517A (en) Programmable controller with operator message transmitting function
US4742452A (en) Computer system including address driven program interrupt system
JPS58219629A (en) Key input interruption driver processing system
JPH09230915A (en) Programming device
US4680725A (en) Dual function decimal key
JPH08211860A (en) Display color changing device
GB2286278A (en) Input device for microwave oven
JPS58103023A (en) Field input system for display terminal
JPS5814690B2 (en) Kanji-mixed sentence input device
JPS60138604A (en) Controller for prevention of missetting
JP2513606B2 (en) Display controller
JPH06161624A (en) Interruption controlling method
JPS6048534A (en) Key intput device
JPS6159536A (en) Electronic computer system having interruption discriminating device
JPH08202658A (en) Password changing method and terminal device
JPH01175620A (en) Electronic equipment having keyboard
EP0335373A2 (en) Hardware status switching input control system
JPH0193811A (en) Interlock device for key input
JPH0934637A (en) Cursor pointing system
JPS60186921A (en) Keyboard device
JPS62260221A (en) Input field controller
JPH01286057A (en) Microprocessor
JPS62105220A (en) Input device
JPS55105738A (en) Terminal control unit