JPS6020228A - Key input system - Google Patents

Key input system

Info

Publication number
JPS6020228A
JPS6020228A JP58127769A JP12776983A JPS6020228A JP S6020228 A JPS6020228 A JP S6020228A JP 58127769 A JP58127769 A JP 58127769A JP 12776983 A JP12776983 A JP 12776983A JP S6020228 A JPS6020228 A JP S6020228A
Authority
JP
Japan
Prior art keywords
signal
key
decoder
cpu
video
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
JP58127769A
Other languages
Japanese (ja)
Inventor
Tatsuo Arai
達夫 新井
Yuichi Kobayashi
雄一 小林
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 JP58127769A priority Critical patent/JPS6020228A/en
Publication of JPS6020228A publication Critical patent/JPS6020228A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To make a key encoder unnecessary, and secure a key input processing by decoding a signal from a synchronous signal generation circuit, transmitting an interruption signal to a CPU, via an interruption generating circuit to perform a key input processing. CONSTITUTION:The signal from the CPU-1 actuates a control circuit 21, and gives a clock pulse to a video counter 22. A decoder 24 decodes the contents, and sends to a video circuit 7 as a horizontal and a vertical synchronous signal. The decoder 25 outputs pulse signals d and e by the inputting from a video counter 22. An FF 26 is set by the signal d, and applies an interruption INTa. The CPU-1, by this interruption, gives data to the I/O decoder 15, outputs 1 from a line 15a, gives a reading instruction to the buffer 14, at the same time reset the FF 26. The buffer 14 reads the inputting of a keyboard 13, and sends it to the CPU-1, thereby eliminating the key encoder, reducing cost to secure a key inputting operation.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はビデオ表示機能を備えた情報処理機器における
キー人力方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a key manual method in an information processing device having a video display function.

〔従来技術とその問題点〕[Prior art and its problems]

従来、例えばパーソナルコンピュータ、ビデオデーム等
のビデオ表示機能を備えた情報処理機器では、キー人力
部をサンプリングする場合、キーエンコーダを使用して
キー人力用のタイミング信号を独自に発生するようにし
ている。しかしながら、上記従来のように片−入力部専
用のエンコーダを設けてタイミング信号を発生させるの
では、コストが^くなるという問題がある。
Conventionally, in information processing equipment equipped with a video display function, such as personal computers and video cameras, when sampling a key input section, a key encoder is used to independently generate a timing signal for the input key operation. . However, if an encoder dedicated to one input section is provided to generate a timing signal as in the conventional method, there is a problem in that the cost increases.

〔発明の目的〕[Purpose of the invention]

本発明は上記の点に鑑みてなされたもので、キーエンコ
ーダを使用することなくキー人力処理を確実に行なうこ
とができ、コストの低下を計り得るキー人力方式を提供
することを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to provide a manual key processing method that can reliably perform manual key processing without using a key encoder and can reduce costs.

〔発明の実施例〕[Embodiments of the invention]

以下図面を参照して本発明の一実施例を説明する。まず
、第1図によりシステム全体の概略構成について説明す
る。第1図において1はCPUで、このCPU Jには
キー人力部2が接続されると共に、共有バス3を介して
ビデオ制御回路4が接続されている。また、共有パス3
にはRAM 5及びROM 6が接続されている。そし
て、上記ビデオ制御回路4にはビデオ回路7が接続され
、このビデオ回路7によってCRT表示部8が表示制御
される。
An embodiment of the present invention will be described below with reference to the drawings. First, the general configuration of the entire system will be explained with reference to FIG. In FIG. 1, reference numeral 1 denotes a CPU, to which a key human power section 2 is connected as well as a video control circuit 4 via a shared bus 3. Also, shared path 3
RAM 5 and ROM 6 are connected to . A video circuit 7 is connected to the video control circuit 4, and the display of the CRT display section 8 is controlled by the video circuit 7.

次に第2図によp上記キー人力部2及びビデオ制御回路
4の主要部の詳細について説明する。
Next, referring to FIG. 2, details of the main parts of the key input section 2 and video control circuit 4 will be explained.

キー人力部2は、バッファ11、デコーダ12、キーデ
ートノ3、バッファ14、I10デコーダ15からなっ
ている。このI10デコーダ15は、CPU 1から共
用パス3を介して与えられるデータをデコードして出力
ラインノ5a、ノ5bよシバッファ11.14に読込み
指令を与える。
The key input unit 2 includes a buffer 11, a decoder 12, a key date number 3, a buffer 14, and an I10 decoder 15. This I10 decoder 15 decodes data provided from the CPU 1 via the shared path 3 and provides read commands to the output lines 5a and 5b and buffers 11 and 14.

バッファ11はCPU 1からのデータを読込んでデコ
ーダ12によシキーサンプリング信号を発生させてキー
ボード13に供給する。そして、キー操作に応じてキー
ボード13から出力され“る信号は、バッファ14を介
してCPU Iへ送られる。
The buffer 11 reads data from the CPU 1, causes the decoder 12 to generate a high sampling signal, and supplies it to the keyboard 13. A signal output from the keyboard 13 in response to a key operation is sent to the CPU I via the buffer 14.

また、21はビデオ制御回路4内に設けられる制御回路
で、CPU Jから共用パス3を介して送られてくる信
号に従って動作し、ビデオカウンタ22をクロックツや
ルスを与える。」二配ビデオカウンタ22は、例えば2
62進のカウンタで、そのカウント出力はバッファ23
及びデコーダ24.25へ送られる。上記ノクッフ丁2
3は共用パス3に接続されており、第1図のRAM5 
、 ROM 6から読出されるデータを一時記憶してビ
デオ回路7へ出力する。デコーダ24は、ビデオカウン
タ22のカウント値に応じて水平同期信号、垂直同期信
号を発生し、ビデオ回路?へ与える。また、デコーダ2
5は、出力ライン25a、25bを備え、出力ライン2
5aからはビデオカウンタ22のカウント値がr192
J〜r261Jの範囲、つまシ垂諦同期信号が出力され
る前後において、一定間隔で16個の・Pルス信号を出
力し、出力ライン25bからは上記ノ4ルス信号の16
個目のタイミングで1個のノPルス信号を出力する。そ
して、上記デコーダ25の出力ライン25& 、25b
から出力されるパルス信号は、割込み発生回路例えばフ
リツノフロップ26.27のセット端子Sへそれぞれ入
力される。上記フリップフロップ26.27の出力信号
は、CPU 1へ割込み信号lNTa 、 lNTbと
して送られる。上記、フリツノフロップ26゜27は、
上記I10デコーダ15の出力ライン15&、15bか
ら出力される信号によってリセットされる。
Further, 21 is a control circuit provided in the video control circuit 4, which operates according to a signal sent from the CPU J via the shared path 3, and provides clock pulses and pulses to the video counter 22. ” The secondary video counter 22 is, for example, 2
It is a 62-decimal counter, and its count output is sent to the buffer 23.
and sent to decoders 24 and 25. The above Nokufu-cho 2
3 is connected to the shared path 3, and the RAM 5 in FIG.
, temporarily stores the data read from the ROM 6 and outputs it to the video circuit 7. The decoder 24 generates a horizontal synchronization signal and a vertical synchronization signal according to the count value of the video counter 22, and outputs a horizontal synchronization signal and a vertical synchronization signal to the video circuit. give to Also, decoder 2
5 includes output lines 25a and 25b, and output line 2
From 5a onwards, the count value of the video counter 22 is r192.
In the range J to r261J, 16 ・P pulse signals are output at regular intervals before and after the output synchronization signal is output, and 16 of the above 4 pulse signals are output from the output line 25b.
One NOP pulse signal is output at the second timing. And the output lines 25&, 25b of the decoder 25
The pulse signals output from the interrupt generating circuits, for example, are input to the set terminals S of the Fritzno flops 26 and 27, respectively. The output signals of the flip-flops 26 and 27 are sent to the CPU 1 as interrupt signals lNTa and lNTb. The above Fritsuno flop 26°27 is
It is reset by the signal output from the output lines 15&, 15b of the I10 decoder 15.

次罠上i=己実施例の動作を説明する。制御回路21か
らのクロックパルスによシビデオカウンタ22け第3図
(b)に示すように常時「0」〜r261Jのカウント
動作を繰返している。仁のビデオカウンタ22の内容は
デコーダ24によりデコードされ、水平同期信号及び垂
直同期信号としてビデオ回路7へ送られる。また、上記
ビデオカウンタ22のカウント内容は、デコーダ25へ
送られてデコードされる。このデコーダ25は、垂直帰
線時の画面の非表示期間において、例えば第2図(b)
 、 (c)に示すようにビデオカウンタ22のカウン
ト値がr192J〜r261Jの範囲において、出力ラ
イン258から第3図(d)に示す16個のパルス信号
を出力すると共に、出力ライン25bから16個目の・
9ルス信号と同じタイミングで第3図(、)に示す1個
のノ(ルス信号を出力する。しかして、上記デコーダ2
5の出力ライン25#Lから最初の/4’ルス信号が出
力されると、このパルス信号によりフリップフロップ2
6がセットされ、割込み信−号lNTaがCPU Jへ
送られる。CPU 1は割込み信号lNTaが入力され
ると、パスライン3からI10デコーダ15へ所定のデ
ータを与え、出力ライン15ILから“1″信号を出力
して)ぐツファ14に読込み指令を与えると共に、フリ
ツプフロツプ26をリセットする。乙の場合、バラノア
1ノには、前回のキー人力処理の最終タイミングでCP
U Jからキーサンプリングに対する初期値がセットさ
れており、その初期値がデコーダ12でう′コードされ
てキーが一ド13にキーサンプリング信号として入力さ
れている。従ッて上記I10デコーダ15からバッフア
ノ4に読込み指令75;与えられると、上記キーサンプ
リング信号及びキー操作に応じてキーボートノ3から出
力される信号がバッファ14に読込まれ、CPU1へ送
られる。CPU 1はバッファ14からのデータによっ
てキー人力の有無を判断し、キー人力が無い場合には、
バッファ11にその時の保持値よりr+I J L、た
値を与えると共に、I10デコーダ15を介してバソフ
ブ11に読込み指令を与え、パンノア1ノの内容を更新
する。バッファ11の内容が更新されると、その内容が
デコーダ12によりデコードされ、キーデート13へ次
のキーサンプリング信号として与えられる。この状態で
デコーダ25から次のパルス信号が出力され、ソリツブ
フロップ26がセットされて割込み信号lNTaがCP
U 1へ送られる。この割込み信号lNTaによりCP
U JはI10デコーダ15を介してバッファ14に読
込み指令を与え、キーボード13の出力をバッファ14
に読込んでキー人力の有無を判断する。以下同様の動作
が繰返されるが、キーボード13の操作キーに応じて所
定のサンプリング信号がキー人力としてパックァ14に
読込まれると、CPU1はバッファ14の保持データか
ら操作キーの内容を判断し、そのキー人力に対する処理
を実行する。しかして、デコーダ25から出力ライン2
6aに16個のパルス信号が出力され、その最終タイミ
ングで出力ライン25bに第3図(e)に示す/fルス
信号が出力されると、ソリツブフロップ27がセットさ
れ、割込み信号lNTbがCPU 1へ送られる。
Next, the operation of the embodiment will be explained. In response to clock pulses from the control circuit 21, the video counter 22 constantly repeats a counting operation from "0" to r261J, as shown in FIG. 3(b). The contents of the digital video counter 22 are decoded by the decoder 24 and sent to the video circuit 7 as a horizontal synchronization signal and a vertical synchronization signal. Further, the count contents of the video counter 22 are sent to the decoder 25 and decoded. This decoder 25, for example, in the non-display period of the screen during vertical retrace, as shown in FIG.
As shown in (c), when the count value of the video counter 22 is in the range r192J to r261J, 16 pulse signals shown in FIG. 3(d) are output from the output line 258, and 16 pulse signals are output from the output line 25b. Ocular·
At the same timing as the nine pulse signals, one pulse signal shown in FIG. 3 (,) is output.
When the first /4' pulse signal is output from the output line 25#L of 5, this pulse signal causes the flip-flop 2 to
6 is set, and an interrupt signal lNTa is sent to CPU J. When the interrupt signal lNTa is input, the CPU 1 supplies predetermined data from the pass line 3 to the I10 decoder 15, outputs a "1" signal from the output line 15IL, gives a read command to the buffer 14, and also outputs a read command to the flip-flop 14. Reset 26. In the case of Party B, CP is applied to Baranoa 1 at the final timing of the previous key manual processing.
An initial value for key sampling is set from UJ, and the initial value is decoded by the decoder 12 and inputted to the key card 13 as a key sampling signal. Therefore, when a read command 75 is given from the I10 decoder 15 to the buffer 4, the key sampling signal and the signal output from the keyboard 3 in response to the key operation are read into the buffer 14 and sent to the CPU 1. The CPU 1 determines the presence or absence of key power based on the data from the buffer 14, and if there is no key power,
A value r+I J L higher than the value held at that time is given to the buffer 11, and a read command is given to the bathtub 11 via the I10 decoder 15 to update the contents of the Pannoor 1. When the contents of the buffer 11 are updated, the contents are decoded by the decoder 12 and provided to the key date 13 as the next key sampling signal. In this state, the next pulse signal is output from the decoder 25, the solve flop 26 is set, and the interrupt signal lNTa is set to CP.
Sent to U1. This interrupt signal lNTa causes the CP
UJ gives a read command to the buffer 14 via the I10 decoder 15, and sends the output of the keyboard 13 to the buffer 14.
to determine the presence or absence of key personnel. The same operation is repeated thereafter, but when a predetermined sampling signal is read into the packer 14 as a key input according to the operation key of the keyboard 13, the CPU 1 determines the contents of the operation key from the data held in the buffer 14, and Execute processing for key personnel. Thus, output line 2 from decoder 25
When 16 pulse signals are output to 6a and the /f pulse signal shown in FIG. Sent to 1.

CP[] 1は、割込み信号lNTbが与えられると、
キーボード13の出力をバッファ14に胱込んた後、バ
ッファ11に初期値をセットする。この時、I10デコ
ーダ15の出力ライン15bから“1″信号が出力され
、フリップフロップ27かリセットされる。これ以後は
画面が表示期間に入るので、次の非表示期間までキー人
力の読込みが停止する。そして、ビデオカウンタ22の
カウント値がr192Jに達すると、上記したキー人力
の読込み処理が実行される。
When CP[] 1 is given the interrupt signal lNTb,
After inputting the output from the keyboard 13 into the buffer 14, an initial value is set in the buffer 11. At this time, a "1" signal is output from the output line 15b of the I10 decoder 15, and the flip-flop 27 is reset. After this, the screen enters the display period, and key reading stops until the next non-display period. Then, when the count value of the video counter 22 reaches r192J, the above-described key manual reading process is executed.

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

以上述べたように本発明によれば、同期イn号発生回路
からの信号をデコードし、割込み発生回路によυ割込み
信号をCPUへ送ってキー人力処理を行なわせるように
したので、キーエンコーダを使用すること力くキー人力
処理を確実に行なうことができ、コストの低1・を計り
得るものである。
As described above, according to the present invention, the signal from the synchronous input number generation circuit is decoded, and the interrupt generation circuit sends the υ interrupt signal to the CPU to perform key manual processing, so that the key encoder By using this method, key manual processing can be performed reliably and the cost can be reduced.

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

図は本発明の一実施例を示すもので、第1図tまシスデ
ノ・全体の棚、略構成を示すブロック図、第2図は第1
図における主要線の詳細を示す回路構成図、第3図は動
作を説明するための)タイミングチャートである。 1・・・CPU 、 、 2・・・キー人力部、3・・
・共廟バス、4・・・ビデオ制御回路、13・・・キー
ボード。
The figures show one embodiment of the present invention, and Fig. 1 is a block diagram showing the overall structure of the system.
FIG. 3 is a circuit configuration diagram showing details of main lines in the figure, and FIG. 3 is a timing chart for explaining the operation. 1...CPU, 2...Key personnel department, 3...
・Common bus, 4...Video control circuit, 13...Keyboard.

Claims (1)

【特許請求の範囲】[Claims] ビデオ表示機能を備えた情報処理機器においで、」二記
ビデオ表示機能における同期イ11号発生回路からの信
号をデコードし、画面の非表示期間において一定間隔の
iJ?ルス信号を発生するデコーダと、このデコーダの
出力信号に従って処理回路へ割込み信号を出力する手段
と、上記割込み信号によシキー人力部へのサンプリング
信号を発生してキー人力を読込む手段とを具備した仁と
を特徴と1−るキー人力方式。
In an information processing device equipped with a video display function, the signal from the synchronous I11 generation circuit in the video display function is decoded, and iJ? a decoder that generates a signal, a means for outputting an interrupt signal to a processing circuit according to an output signal of the decoder, and a means for generating a sampling signal to a key human power section based on the interrupt signal and reading the key human power. 1-key human-powered method characterized by the human power and human power.
JP58127769A 1983-07-15 1983-07-15 Key input system Pending JPS6020228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58127769A JPS6020228A (en) 1983-07-15 1983-07-15 Key input system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58127769A JPS6020228A (en) 1983-07-15 1983-07-15 Key input system

Publications (1)

Publication Number Publication Date
JPS6020228A true JPS6020228A (en) 1985-02-01

Family

ID=14968234

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58127769A Pending JPS6020228A (en) 1983-07-15 1983-07-15 Key input system

Country Status (1)

Country Link
JP (1) JPS6020228A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0326015U (en) * 1989-07-21 1991-03-18

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0326015U (en) * 1989-07-21 1991-03-18

Similar Documents

Publication Publication Date Title
JPS5850590A (en) Apparatus and method for simultaneous indication of characters having variable dimensions and density
JPS6020228A (en) Key input system
KR900004875Y1 (en) Horizontal window signal generating circuit for pip
JPS593387A (en) Timepiece with timetable display function
JP2756445B2 (en) Asynchronous circuit reset method
JPH02206085A (en) Data setting circuit
US5539887A (en) Input buffer circuit for a microprocessor which prevents improper data input
JPS62269197A (en) Liquid crystal display unit
JPS62150388A (en) Plasma display unit
JPH04207218A (en) Pulse selecting circuit
JPH0738809A (en) On-screen display circuit
JPS5865478A (en) Large integrated circuit for display
JPH01179081A (en) Character modifying circuit
JPS62151964A (en) Interruption control circuit
JPS61107286A (en) Testing system of crt display control circuit
JPS63145564A (en) Interface for controlling peripheral equipment
KR19990005265A (en) A driving circuit for a liquid crystal display device having a circuit protection function
SU1626947A1 (en) Device for displaying information on the screen of a cathode ray tube
JPS62191884A (en) Computer image display unit
JPS61190388A (en) Character display unit
JPH07104757B2 (en) Light pen interface circuit
JPH04372214A (en) Latch circuit
JPH04353922A (en) Data conversion method
JPH02250088A (en) Character moving device
JPH01124891A (en) Character display device