JPH04525A - Bus mouse interface circuit for data processor - Google Patents

Bus mouse interface circuit for data processor

Info

Publication number
JPH04525A
JPH04525A JP2102201A JP10220190A JPH04525A JP H04525 A JPH04525 A JP H04525A JP 2102201 A JP2102201 A JP 2102201A JP 10220190 A JP10220190 A JP 10220190A JP H04525 A JPH04525 A JP H04525A
Authority
JP
Japan
Prior art keywords
mouse
bus
data
serial
interrupt
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.)
Granted
Application number
JP2102201A
Other languages
Japanese (ja)
Other versions
JP2614930B2 (en
Inventor
Toshihiro Masumoto
増元 俊博
Sumiyoshi Ito
伊藤 純義
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 Platforms Ltd
NEC Corp
Original Assignee
NEC Corp
NEC AccessTechnica 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 NEC Corp, NEC AccessTechnica Ltd filed Critical NEC Corp
Priority to JP2102201A priority Critical patent/JP2614930B2/en
Publication of JPH04525A publication Critical patent/JPH04525A/en
Application granted granted Critical
Publication of JP2614930B2 publication Critical patent/JP2614930B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To improve the operability of this bus mouse interface circuit and to effectively utilze software resources by providing the interface circuit with a selector, a register to be controlled software and an interruption generating circuit. CONSTITUTION:When a serial mouse interruption signal 13 is generated from a serial mouse control circuit 6 in order to detect the moving amount of a serial mouse 8, the signal 13 is transmitted to a CPU 1 through an interruption controller 9. Software receives the data from the mouse 8 within a serial mouse interruption processing routine, converts the received data into bus mouse data and writes the converted data in a data replacing register 2. At the end of the interruption processing routine, an interruption generating command is issued to an interruption generating circuit 11. The bus-mouse interface circuit is driven by the command as if an interruption is generated from the bus mouse and the same processing as that to be executed when the bus mouse is connected to the bus mouse software can be executed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ処理装置におけるバスマウスの接続に利
用する。本発明はパーソナルコンピュータ、ワークステ
ーションの人力装置のマウスデータを変換するインタフ
ェース回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is utilized for connecting a bus mouse in a data processing device. The present invention relates to an interface circuit for converting mouse data of a human powered device of a personal computer or workstation.

〔概要〕〔overview〕

本発明はデータ処理装置のバスマウスインタフェース回
路において、 シリアルマウスから受信したデータをバスマウス用デー
タに変換し、バスマウスから割込みが発生したように動
作させ、バスマウス用ソフトウェアにバスマウスが接続
されているときと同じ処理を実行させることにより、 シリアルマウスを使用したままバスマウスのソフトウェ
アを利用できるようにしたものである。
The present invention converts data received from a serial mouse into bus mouse data in a bus mouse interface circuit of a data processing device, operates the bus mouse as if an interrupt has occurred, and connects the bus mouse to bus mouse software. By executing the same processing as when using a serial mouse, it is possible to use bus mouse software while using a serial mouse.

〔従来の技術〕[Conventional technology]

従来、パーソナルコンピュータに標準機能として装備さ
れているマウスはシリアルマウスまたはバスマウスのど
ちらか一方のマウスインタフェース回路に固定され、バ
スマウス用ソフトウェアはシリアルマウスを装備した装
置では利用できなかった。
Conventionally, a mouse that has been equipped as a standard feature in personal computers has been fixed to a mouse interface circuit for either a serial mouse or a bus mouse, and bus mouse software has not been available for devices equipped with a serial mouse.

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

上述した従来のマウスインタフェース回路は、各種パー
ソナルコンピュータ、ワークステーションでシリアルマ
ウスまたはバスマウス方式に固定されているため、シリ
アルマウスを使用している装置にバスマウスインタフェ
ースを持つパーソナルコンピュータ、ワークステーショ
ンを一体化しようとする場合に二種類のマウスインタフ
ェースを持つことになり、使用するソフトウェアによっ
てマウスインタフェースの切替え、つまりケーブルの差
し換えを必要としていた。
The conventional mouse interface circuit described above is fixed to the serial mouse or bus mouse method in various personal computers and workstations, so it is possible to integrate a personal computer or workstation with a bus mouse interface into a device that uses a serial mouse. If you want to use a computer, you have to have two types of mouse interfaces, and depending on the software you use, you have to switch mouse interfaces, which means you have to change cables.

本発明はこのような問題を解決するもので、シリアルマ
ウスを使用したままバスマウスのソフトウェアを利用す
ることができるインタフェース回路を提供することを目
的とする。
SUMMARY OF THE INVENTION The present invention is intended to solve these problems, and it is an object of the present invention to provide an interface circuit that allows bus mouse software to be used while using a serial mouse.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、中央処理装置に接続されたデータバスに接続
され、バスマウスコネクタを介して接続されたバスマウ
スから前記データバスへのデータの送信を制御するバス
マウス制御回路を備えたデータ処理装置のバスマウスイ
ンタフェース回路において、シリアルマウスコネクタを
介して接続されたシリアルマウスから前記データバスへ
のデータの送信を制御するシリアルマウス制御回路を設
け、前記シリアルマウスから受信され、バスマウス用に
変換されたデータを保持するデータ付替えレジスタと、
このデータ付替えレジスタと前記ハスマウスからの出力
を前記バスマウス制御回路に切替え接続するデータ切替
えセレクタと、前記データバスに接続されソフトウェア
の制御により割込み発生コマンドを発生する割込み発生
回路とを備えたことを特徴とする。
The present invention provides a data processing device including a bus mouse control circuit connected to a data bus connected to a central processing unit and controlling transmission of data from a bus mouse connected via a bus mouse connector to the data bus. The bus mouse interface circuit includes a serial mouse control circuit for controlling the transmission of data from a serial mouse connected via a serial mouse connector to the data bus, the data being received from the serial mouse and converted for bus mouse use. a data reassignment register that holds the stored data;
A data switching selector that switches and connects the data assignment register and the output from the bus mouse to the bus mouse control circuit, and an interrupt generation circuit that is connected to the data bus and generates an interrupt generation command under the control of software. It is characterized by

前記バスマウス制御回路および前記割込み発生回路から
の出力を切り替え接続する割込み付替えセレクタと、こ
の割込み付替えセレクタおよび前記バスマウス制御回路
の出力により前記中央処理装置に割込み要求信号を送出
する割込みコントローラとを備えることが望ましく、前
記中央処理装置は、パーソナルコンピュータまたはワー
クステーションに備えられる。
an interrupt reassignment selector that switches and connects outputs from the bus mouse control circuit and the interrupt generation circuit; and an interrupt controller that sends an interrupt request signal to the central processing unit based on the outputs of the interrupt reassignment selector and the bus mouse control circuit. The central processing unit is preferably provided in a personal computer or a workstation.

〔作用〕[Effect]

データ付替えセレクタがデータ付替えレジスタ側に切替
えられ、割込み付替えセレクタが割込み発生回路側に切
替えられた状態でシリアルマウス割込み信号が発生する
と、その信号が中央処理装置(以下CPUという)に伝
達され、シリアルマウス用の割込み処理ルーチン内でマ
ウスからデータを受信し、データ付替えレジスタにバス
マウス用データに変換てして書込み、割込み発生コマン
ドを発生する。この割込み発生コマンドによりバスマウ
スからの割込みが発生したように動作する。
When a serial mouse interrupt signal is generated while the data assignment selector is switched to the data assignment register side and the interrupt assignment selector is switched to the interrupt generation circuit side, the signal is transmitted to the central processing unit (hereinafter referred to as CPU). It receives data from the mouse in the serial mouse interrupt processing routine, converts it to bus mouse data and writes it to the data reassignment register, and generates an interrupt generation command. This interrupt generation command causes the device to operate as if an interrupt had been generated from the bus mouse.

これにより、バスマウスが接続されているときと同様の
処理を行うことができ、操作性の向上をはかり、ソフト
ウェア資源を有効に利用することができる。
This allows the same processing as when a bus mouse is connected, improves operability, and makes effective use of software resources.

〔実施例〕〔Example〕

次に、本発明実施例を図面に基づいて説明する。 Next, embodiments of the present invention will be described based on the drawings.

図は本発明実施例の構成を示すブロック図である。The figure is a block diagram showing the configuration of an embodiment of the present invention.

本発明実施例は、CPU1に接続されたデータバス12
に接続され、バスマウスコネクタ5を介して接続された
図外のバスマウスからデータバス12へのデータの送信
を制御するバスマウス制御回路3とを備え、さらに、シ
リアルマウスコネクタ7を介して接続されたシリアルマ
ウス8からデータバスI2へのデータの送信を制御する
シリアルマウス制御回路6と、シリアルマウス8から受
信され、バスマウス用に変換されたデータを保持するデ
ータ付替えレジスタ2と、このデータ付替えレジスタ2
とバスマウスからの出力をバスマウス制御回路3に切替
え接続するデータ付替えセレクタ4と、データバス12
に接続されソフトウェアの制御により割込み発生コマン
ドを発生する割込み発生回路11と、バスマウス制御回
路3および割込み発生回路11からの出力を切り替え接
続する割込み付替えセレクタ10と、この割込み付替え
セレクタ10およびバスマウス制御回路3の出力により
CPU1に割込み要求信号を送出する割込みコントロー
ラ9とを備える。
The embodiment of the present invention has a data bus 12 connected to the CPU 1.
and a bus mouse control circuit 3 that controls the transmission of data from a bus mouse (not shown) connected to the data bus 12 via a bus mouse connector 5, and further connected via a serial mouse connector 7. a serial mouse control circuit 6 that controls the transmission of data from the serial mouse 8 to the data bus I2; a data reassignment register 2 that holds data received from the serial mouse 8 and converted for bus mouse use; Data reassignment register 2
and a data switching selector 4 that switches and connects the output from the bus mouse to the bus mouse control circuit 3, and a data bus 12.
an interrupt generation circuit 11 that is connected to and generates an interrupt generation command under software control; an interrupt reassignment selector 10 that switches and connects the outputs from the bus mouse control circuit 3 and the interrupt generation circuit 11; An interrupt controller 9 is provided which sends an interrupt request signal to the CPU 1 based on the output of the bus mouse control circuit 3.

次に、このように構成された本発明実施例の動作につい
て説明する。
Next, the operation of the embodiment of the present invention configured as described above will be explained.

シリアルマウスのソフトウェアを使用する場合には、シ
リアルマウス8はシリアルマウスコネクタ7に接続され
る。このような状態でバスマウス用ソフトウェアを使用
する場合には、まずデータ付替えセレクタ4をデータ付
替えレジスタ2側へ切替え、割込み付替えセレクタ10
を割込み発生回路II側に切替えておく。
When using serial mouse software, the serial mouse 8 is connected to the serial mouse connector 7. When using the bus mouse software in such a state, first switch the data reassignment selector 4 to the data reassignment register 2 side, and then switch the interrupt reassignment selector 10 to the data reassignment register 2 side.
is switched to the interrupt generation circuit II side.

ここで、シリアルマウス8の移動量を検出するためにシ
リアルマウス制御回路6からシリアルマウス割込み信号
13が発生すると、割込みコントローラ9を通じてCP
UIへその信号が伝達される。
Here, when a serial mouse interrupt signal 13 is generated from the serial mouse control circuit 6 to detect the movement amount of the serial mouse 8, the CP
The signal is transmitted to the UI.

ソフトウェアはシリアルマウス用の割込み処理ルーチン
内でシリアルマウス8からのデータを受信し、これをデ
ータ付替えレジスタ2にバスマウス用データに変換して
書込む。その後、割込み処理ルーチンの最後で割込み発
生回路11に割込み発生コマンドを発行する。この割込
み発生コマンドにより図外のバスマウスからの割込みが
発生したように動作し、バスマウス用ソフトウェアにバ
スマウスが接続されているときと同じ処理を実行させる
ことができる。バスマウスコネクタ5は本発明による回
路を用いても動作しないソフトウェアに対しての完全互
換をはかるために設けられる。
The software receives data from the serial mouse 8 within the interrupt processing routine for the serial mouse, converts it into data for the bus mouse, and writes it into the data reassignment register 2. Thereafter, at the end of the interrupt processing routine, an interrupt generation command is issued to the interrupt generation circuit 11. This interrupt generation command operates as if an interrupt has been generated from a bus mouse (not shown), allowing the bus mouse software to execute the same processing as when a bus mouse is connected. The bus mouse connector 5 is provided for full compatibility with software that does not operate using the circuit according to the invention.

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

以上説明したように本発明によれば、セレクタ、ソフト
ウェアで制御できるレジスタ、および割込み発生回路を
備えることにより、シリアルマウスを使用したままバス
マウスのソフトウェアを利用することができ、模作性の
向上をはかり、ソフトウェア資源を有効に利用すること
ができる効果がある。
As explained above, according to the present invention, by providing a selector, a register that can be controlled by software, and an interrupt generation circuit, it is possible to use bus mouse software while using a serial mouse, which improves imitability. This has the effect that scales and software resources can be used effectively.

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

図は本発明実施例の構成を示すブロック図。 1・・・CPU、2・・・データ付替えレジスタ、3・
・・バスマウス制御回路、4・・・データ付替えセレク
タ、5・・・バスマウスコネクタ、6・・・シリアルマ
ウス制御回路、7・・・シリアルマウスコネクタ、訃°
°シリアルマウス、9・・・割込みコントローラ、10
・・・割込み付替えセレクタ、11・・・割込み発生回
路、12・・・データバス、13・・・シリアルマウス
割込み信号、14・・・バスマウス割込み信号、15・
・・割込み要求信号。
The figure is a block diagram showing the configuration of an embodiment of the present invention. 1...CPU, 2...Data reassignment register, 3.
... Bus mouse control circuit, 4... Data exchange selector, 5... Bus mouse connector, 6... Serial mouse control circuit, 7... Serial mouse connector,
°Serial mouse, 9...Interrupt controller, 10
... Interrupt replacement selector, 11... Interrupt generation circuit, 12... Data bus, 13... Serial mouse interrupt signal, 14... Bus mouse interrupt signal, 15.
...Interrupt request signal.

Claims (1)

【特許請求の範囲】 1、中央処理装置に接続されたデータバスに接続され、 バスマウスコネクタを介して接続されたバスマウスから
前記データバスへのデータの送信を制御するバスマウス
制御回路を備えたデータ処理装置のバスマウスインタフ
ェース回路において、シリアルマウスコネクタを介して
接続されたシリアルマウスから前記データバスへのデー
タの送信を制御するシリアルマウス制御回路を設け、前
記シリアルマウスから受信され、バスマウス用に変換さ
れたデータを保持するデータ付替えレジスタと、 このデータ付替えレジスタと前記バスマウスからの出力
を前記バスマウス制御回路に切替え接続するデータ切替
えセレクタと、 前記データバスに接続されソフトウェアの制御により割
込み発生コマンドを発生する割込み発生回路と を備えたことを特徴とするデータ処理装置のバスマウス
インタフェース回路。 2、前記バスマウス制御回路および前記割込み発生回路
からの出力を切り替え接続する割込み付替えセレクタと
、 この割込み付替えセレクタおよび前記バスマウス制御回
路の出力により前記中央処理装置に割込み要求信号を送
出する割込みコントローラとを備えた請求項1記載のデ
ータ処理装置のバスマウスインタフェース回路。 3、前記中央処理装置が、パーソナルコンピュータまた
はワークステーションに備えられた請求項1記載のデー
タ処理装置のバスマウスインタフェース回路。
[Claims] 1. A bus mouse control circuit connected to a data bus connected to a central processing unit and controlling transmission of data from a bus mouse connected via a bus mouse connector to the data bus. In a bus mouse interface circuit of a data processing device, a serial mouse control circuit is provided for controlling the transmission of data from a serial mouse connected via a serial mouse connector to the data bus, and the bus mouse a data switching register that holds data converted for use with the bus; a data switching selector that switches and connects the data switching register and the output from the bus mouse to the bus mouse control circuit; and a software controller connected to the data bus. 1. A bus mouse interface circuit for a data processing device, comprising: an interrupt generation circuit that generates an interrupt generation command under control. 2. An interrupt reassignment selector that switches and connects the outputs from the bus mouse control circuit and the interrupt generation circuit, and sends an interrupt request signal to the central processing unit by the outputs of the interrupt reassignment selector and the bus mouse control circuit. 2. The bus mouse interface circuit for a data processing device according to claim 1, further comprising an interrupt controller. 3. The bus mouse interface circuit for a data processing device according to claim 1, wherein said central processing unit is included in a personal computer or a workstation.
JP2102201A 1990-04-17 1990-04-17 Bus mouse interface circuit of data processing device Expired - Lifetime JP2614930B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2102201A JP2614930B2 (en) 1990-04-17 1990-04-17 Bus mouse interface circuit of data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2102201A JP2614930B2 (en) 1990-04-17 1990-04-17 Bus mouse interface circuit of data processing device

Publications (2)

Publication Number Publication Date
JPH04525A true JPH04525A (en) 1992-01-06
JP2614930B2 JP2614930B2 (en) 1997-05-28

Family

ID=14321052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2102201A Expired - Lifetime JP2614930B2 (en) 1990-04-17 1990-04-17 Bus mouse interface circuit of data processing device

Country Status (1)

Country Link
JP (1) JP2614930B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9079358B2 (en) 2013-02-20 2015-07-14 Ms Spaichingen Gmbh Round sonotrode

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9079358B2 (en) 2013-02-20 2015-07-14 Ms Spaichingen Gmbh Round sonotrode

Also Published As

Publication number Publication date
JP2614930B2 (en) 1997-05-28

Similar Documents

Publication Publication Date Title
JPH04525A (en) Bus mouse interface circuit for data processor
JP3394834B2 (en) Debugging method for devices that make up a multiprocessor system
JPH03268159A (en) Console connection system for maintenance
JPS58101323A (en) Keyboard controlling system
JPH0417540B2 (en)
JPH067364B2 (en) Plant control equipment
JPH02165361A (en) Interruption pending latch control system
JPS63273152A (en) Execution job control system
KR20000018814A (en) Operator terminal with the united interface structure in a mobile communication system
JPS61255425A (en) Keyboard inputting device
JPS63124120A (en) Input/output device
JPS63101951A (en) Virtual terminal processing system
JPS62242260A (en) Information processor
JPH0385665A (en) Personal computer connecting mechanism for work station
JPH0275048A (en) Channel connected scsi interface device
JPS6297011A (en) Display system for numerical controller
JPH04182762A (en) Peripheral equipment switching device and its method
JPS61269741A (en) Control circuit for maintenance diagnostic processor
JP2000003327A (en) Input/output control system
JPH0368036A (en) Multiprocessor diagnostic system
JPH01248264A (en) System for controlling contention of system bus
JPH01222342A (en) Data processor
JPS6379128A (en) Control system for mouse data
JPS61234451A (en) Data transfer control system
JPH1040225A (en) Duplex controller