JP2778109B2 - Electronics - Google Patents

Electronics

Info

Publication number
JP2778109B2
JP2778109B2 JP12042689A JP12042689A JP2778109B2 JP 2778109 B2 JP2778109 B2 JP 2778109B2 JP 12042689 A JP12042689 A JP 12042689A JP 12042689 A JP12042689 A JP 12042689A JP 2778109 B2 JP2778109 B2 JP 2778109B2
Authority
JP
Japan
Prior art keywords
peripheral device
type
peripheral
main
type code
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
JP12042689A
Other languages
Japanese (ja)
Other versions
JPH02300839A (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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP12042689A priority Critical patent/JP2778109B2/en
Publication of JPH02300839A publication Critical patent/JPH02300839A/en
Application granted granted Critical
Publication of JP2778109B2 publication Critical patent/JP2778109B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、本体装置に接続される複数の周辺機器の種
別を識別可能な電子機器に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an electronic device capable of identifying types of a plurality of peripheral devices connected to a main device.

〔発明の概要〕[Summary of the Invention]

本発明は、本体装置に複数種類の周辺機器が接続され
て構成されるワードプロセッサ等のような電子機器にお
いて、各周辺機器内の予め該周辺機器の種別を示すコー
ドを設定する設定手段を設け、これらの周辺機器の種別
コードを本体装置内に設けられた種別コード発生手段よ
り順次発生して各周辺機器に送り、各周辺機器では種別
コード発生手段からの出力が内部の設定手段の種別コー
ドに一致したことを検知してその結果を本体装置に伝送
し、本体装置内で当該種別コードに対応する周辺機器の
制御プログラムを作動可能となすことにより、本体装置
に接続された周辺機器の種類を自動判別して使用可能に
するものである。
In the present invention, in an electronic device such as a word processor configured by connecting a plurality of types of peripheral devices to a main device, a setting unit that sets a code indicating the type of the peripheral device in advance in each peripheral device is provided. The type codes of these peripheral devices are sequentially generated from the type code generation means provided in the main unit and sent to each peripheral device, and in each peripheral device, the output from the type code generation means is converted to the type code of the internal setting means. By detecting the match, the result is transmitted to the main unit, and the control program of the peripheral corresponding to the type code is made operable in the main unit, whereby the type of the peripheral connected to the main unit is determined. It is automatically determined and used.

〔従来の技術〕[Conventional technology]

例えばワードプロセッサやコンピュータ等の電子機器
の本体装置には、キーボード、スキャナ、ジョイスティ
ック、マウス等の入力機器や、表示装置、プリンタ等の
出力機器や、ディスク装置、通信装置等の入出力機器の
ような各種周辺機器が接続されて使用されることが多
い。このような種々の周辺機器を本体装置に接続するこ
とにより、ワードプロセッサやコンピュータ等の電子機
器の機能が拡張され、各種用途に使用可能となる。
For example, main units of electronic devices such as word processors and computers include input devices such as keyboards, scanners, joysticks and mice, output devices such as display devices and printers, and input / output devices such as disk devices and communication devices. In many cases, various peripheral devices are connected and used. By connecting such various peripheral devices to the main unit, the functions of electronic devices such as a word processor and a computer are expanded, and the peripheral devices can be used for various purposes.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

ところで、上述のように本体装置に各種周辺機器を接
続した場合には、これらを動作制御するためのソフトウ
ェア(制御プログラム)が必要である。このためユーザ
は、接続されている周辺機器を確認して対応する制御プ
ログラムを本体装置内のROM等の内蔵メモリから呼び出
し、該制御プログラムを動作可能状態とする等の面倒な
操作が必要である。
By the way, when various peripheral devices are connected to the main unit as described above, software (control program) for controlling the operation of these peripheral devices is required. Therefore, the user needs to perform a troublesome operation such as confirming the connected peripheral device, calling a corresponding control program from a built-in memory such as a ROM in the main device, and setting the control program to an operable state. .

本発明は、このような欠点を解決すべくなされたもの
であり、本体装置に接続されている周辺機器の種別を本
体装置側で自動判別してユーザ側での面倒な操作を省略
可能な電子機器の提供を目的とする。
The present invention has been made in order to solve such a disadvantage, and an electronic device that can automatically determine the type of peripheral device connected to the main unit by the main unit and eliminate troublesome operation on the user side. The purpose is to provide equipment.

〔課題を解決するための手段〕[Means for solving the problem]

本発明に係る電子機器は、第1図に示すように、本体
装置10に接続される周辺機器20内に予め該周辺機器20の
種別を示す種別コードを設定する設定手段(例えばアド
レスデコーダ21)を設け、上記本体装置10に接続可能な
周辺機器の種別コードを上記本体装置10内に設けられた
種別コード発生手段となるCPU11より順次発生し、上記
設定手段(アドレスデコーダ21)により設定された種別
コードと上記種別コード発生手段からの出力が一致した
ことを検知してその結果を上記本体装置10に伝送し、上
記本体装置10内で上記種別コードに対応する周辺機器20
の制御プログラムを作動可能状態としている。
As shown in FIG. 1, the electronic device according to the present invention includes a setting unit (for example, an address decoder 21) for setting a type code indicating the type of the peripheral device 20 in the peripheral device 20 connected to the main device 10 in advance. The type code of the peripheral device connectable to the main unit 10 is sequentially generated by the CPU 11 serving as a type code generating unit provided in the main unit 10 and set by the setting unit (address decoder 21). Detecting that the type code matches the output from the type code generating means, transmitting the result to the main unit 10, and in the main unit 10, the peripheral device 20 corresponding to the type code
Is in an operable state.

〔作 用〕(Operation)

本体装置10内の種別コード発生手段(CPU11)より順
次発生された種別コードが、各周辺機器20内の設定手段
(アドレスデコーダ21)により設定された種別コードと
一致したとき、当該周辺機器20がその結果を本体装置10
に伝送することにより、本体装置10は接続されている周
辺機器の種別を判別でき、この判別された種別の周辺機
器の制御プログラムを作動可能状態とすることができ
る。
When the type code sequentially generated by the type code generating means (CPU 11) in the main unit 10 matches the type code set by the setting means (address decoder 21) in each peripheral device 20, the peripheral device 20 is activated. Main unit 10
The main device 10 can determine the type of the connected peripheral device, and can put the control program of the determined type of peripheral device into an operable state.

〔実施例〕〔Example〕

第1図は本発明に係る電子機器の一実施例を示すブロ
ック図である。
FIG. 1 is a block diagram showing one embodiment of an electronic apparatus according to the present invention.

この第1図において、本体装置10としては、例えばワ
ードプロセッサを想定しており、この本体装置10には、
例えばキーボード、スキャナ、マウス、ジョイスティッ
ク等の入力機器や、表示装置、プリンタ等の出力機器
や、ディスク装置、通信装置等の入出力機器のような各
種の周辺機器20が接続されるようになっている。
In FIG. 1, the main unit 10 is assumed to be, for example, a word processor.
For example, various peripheral devices 20 such as input devices such as a keyboard, a scanner, a mouse, and a joystick, output devices such as a display device and a printer, and input / output devices such as a disk device and a communication device are connected. I have.

これらの本体装置10と周辺機器20との間には、アドレ
スバス31及びデータバス32、コントロールバスのうち少
なくともリード(読出)制御信号伝送線33及びリセット
信号伝送線34が配設されて接続されている。ここで上記
リード制御信号やリセット信号はいずれもローアクティ
ヴとなっている。
At least a read (read) control signal transmission line 33 and a reset signal transmission line 34 of the address bus 31, the data bus 32, and the control bus are provided and connected between the main device 10 and the peripheral device 20. ing. Here, the read control signal and the reset signal are all low active.

本体装置10内には、上記アドレスバス31、データバス
32及びコントロールバスが接続されるCPU(中央処理ユ
ニット)11が設けられており、このCPU11にはプログラ
ムやデータ等が記憶されるROM(リードオンリメモリ)1
2やRAM(ランダムアクセスメモリ)等が接続されてい
る。
The main unit 10 includes the address bus 31 and the data bus.
32 and a CPU (Central Processing Unit) 11 to which a control bus is connected. The CPU 11 has a ROM (Read Only Memory) 1 in which programs and data are stored.
2 and RAM (random access memory) are connected.

周辺機器20内には、上記アドレスバス31に接続された
アドレスデコーダ21や上記データバス32に接続されたデ
ータトランシーバ22が設けられている。アドレスデコー
ダ21は、後述するように当該周辺機器20の種別(プリン
タ、マウス、ディスク装置等)を示す種別コードを設定
する設定手段としても用いられるものである。これらの
アドレスデコーダ21及びデータトランシーバ22は、当該
周辺機器20におけるデータ処理や動作制御等を行うため
の周辺機器制御素子23に接続されている。この周辺機器
制御素子23には、少なくともチップセレクト端子(ある
いはイネーブル端子)CS、データ入出力端子DIO、及び
リセット端子RSTが設けられており、上記アドレスデコ
ーダ21からの出力がチップセレクト端子CSに供給され、
上記データトランシーバ22とデータ入出力端子DIOとの
間でデータが送受されるようになっている。ここで上記
チップセレクト端子CSやリセット端子RSTは、いずれも
ローアクティヴとなっている。上記アドレスデコーダ21
からの出力(ローアクティヴ)は、2つの否定入力を有
する否定入力NANDゲート(ORゲート)24及び3つの否定
入力を有する否定入力ANDゲート25にそれぞれ供給され
ている。否定入力ANDゲート24には、上記リセット信号
伝送線34からのリセット信号(ローアクティヴ)がイン
バータ(NOT回路)26を介して供給され、この否定入力A
NDゲート24からの出力は上記データトランシーバ22のロ
ーアクティヴのゲート端子Gに供給されている。否定入
力ANDゲート25には、上記ローアクティヴのリード制御
信号及びリセット信号が供給されており、この否定入力
ANDゲート25からの出力はダイオード27を介して上記デ
ータバス32(例えば8ビットバス)中の1本のビットラ
イン、例えば最下位ビット(いわゆるLSB)D0のライン
に送られている。
In the peripheral device 20, an address decoder 21 connected to the address bus 31 and a data transceiver 22 connected to the data bus 32 are provided. The address decoder 21 is also used as setting means for setting a type code indicating the type of the peripheral device 20 (printer, mouse, disk device, etc.) as described later. The address decoder 21 and the data transceiver 22 are connected to a peripheral device control element 23 for performing data processing, operation control, and the like in the peripheral device 20. The peripheral device control element 23 is provided with at least a chip select terminal (or enable terminal) CS, a data input / output terminal DIO, and a reset terminal RST, and an output from the address decoder 21 is supplied to the chip select terminal CS. And
Data is transmitted and received between the data transceiver 22 and the data input / output terminal DIO. Here, the chip select terminal CS and the reset terminal RST are all low active. The above address decoder 21
(Low active) are supplied to a negative input NAND gate (OR gate) 24 having two negative inputs and a negative input AND gate 25 having three negative inputs, respectively. A reset signal (low active) from the reset signal transmission line 34 is supplied to the NOT input AND gate 24 via an inverter (NOT circuit) 26.
The output from the ND gate 24 is supplied to a low-active gate terminal G of the data transceiver 22. The negative input AND gate 25 is supplied with the low active read control signal and the reset signal.
The output from the AND gate 25 is sent one bit line in the data bus 32 via a diode 27 (e.g., 8-bit bus), for example, the least significant bit of the (so-called LSB) D 0 line.

ここで、本体装置10に接続可能な複数の個数(nとす
る)の周辺機器のうちの任意のk番目の周辺機器に対し
てデータを送受する場合には、本体装置10内のCPU11
は、第2図の周辺機器割当メモリマップに示すように、
アドレスAD(k)を指定しながら、データのリード(読
出)/ライト(書込)をメモリに対してのリード/ライ
トと同様に行うものとする。この場合、本発明実施例に
おける上記アドレスデコーダ21に設定されるアドレス値
は、周辺機器の種別に対応して予め決定されており、前
述した周辺機器の種別を示す種別コードに相当するもの
でもある。これは、第2図に示す周辺機器割当メモリマ
ップにおいて、各周辺機器指定アドレスAD(1)〜AD
(n)にそれぞれ割り当てられる周辺機器の種別が予め
決定されていることを意味しており、例えばアドレスAD
(1)の周辺機器はプリンタ、アドレスAD(2)の周辺
機器はマウス等のように固定的に対応付けられている。
そして、本体装置に接続されている周辺機器の種類判別
時には、アドレスAD(1)〜AD(n)を指定して読み出
されるデータの上記最下位ビットD0が、周辺機器の種類
判別用のフラグ(識別フラグ)として用いられることに
なる。なお、同じ種類の周辺機器に対して複数の周辺機
器指定アドレスを対応させてもよく、例えばアドレスAD
(3)及びAD(4)の周辺機器をいずれもディスク装置
に対応付けるようにしてもよい。また、1つの周辺機器
に対するメモリの割当量は1バイト分に限定されず、例
えばリード用とライト用とで1バイトずつの計2バイト
を用いたり、1つの周辺機器の各種機能毎にそれぞれ1
バイトを割り当てるようにしてもよい。この場合、1つ
の周辺機器を指定するアドレスが上記機能毎等に複数存
在することになるが、上記周辺機器の識別フラグを読み
出すアドレスとしては、1つの周辺機器毎に1つあれば
足りる。
Here, when transmitting / receiving data to or from an arbitrary k-th peripheral device among a plurality of (n is assumed) peripheral devices connectable to the main device 10, the CPU 11 in the main device 10
Is, as shown in the peripheral device allocation memory map of FIG.
Data read (read) / write (write) is performed in the same manner as read / write to the memory while designating the address AD (k). In this case, the address value set in the address decoder 21 in the embodiment of the present invention is determined in advance corresponding to the type of the peripheral device, and also corresponds to the type code indicating the type of the peripheral device described above. . This is because in the peripheral device allocation memory map shown in FIG.
(N) means that the type of peripheral device assigned to each is determined in advance, for example, the address AD
The peripheral device of (1) is fixedly associated with a printer, and the peripheral device of address AD (2) is fixedly associated with a mouse or the like.
At the time of type identification of the peripheral device connected to the main unit, the address AD (1) to AD the least significant bit D 0 of the data to be read by specifying (n) are flags for the type determination of the peripheral device (Identification flag). A plurality of peripheral device designated addresses may correspond to the same type of peripheral device.
Peripheral devices of (3) and AD (4) may be associated with a disk device. Also, the amount of memory allocated to one peripheral device is not limited to one byte. For example, a total of two bytes, one byte for read and one for write, may be used, or one for each function of one peripheral device.
Bytes may be allocated. In this case, there are a plurality of addresses for specifying one peripheral device for each function or the like, but only one address for reading the identification flag of the peripheral device is required for each peripheral device.

以上のような構成において、本体装置10内のCPU11に
よって所定の周辺機器20が指定されると、該周辺機器20
内のアドレスデコーダ21からの出力(ローアクティヴ)
が“L"(ローレベル、すなわちアクティヴ状態)とな
り、これが上記否定入力NANDゲート24及び否定入力AND
ゲート25にそれぞれ送られる。通常動作時には上記ロー
アクティヴのリセット信号が“H"(ハイレベル)であ
り、これがインバータ26で反転されて否定入力NANDゲー
ト24に供給されているから、このゲート24は上記アドレ
スデコーダ21からの出力をそのまま通し、データトラン
シーバ22のローアクティヴのゲート端子Gに送る。すな
わち、上記CPU11により周辺機器20の上記割当アドレス
が指定されて、当該周辺機器20内のアドレスデコーダ21
からの出力が“L"となるとき、データトランシーバ22は
アクティヴ状態となり、データバス32と周辺機器制御素
子23との間でのデータ送受を行う。
In the above configuration, when a predetermined peripheral device 20 is designated by the CPU 11 in the main device 10, the peripheral device 20 is designated.
Output from the address decoder 21 in the (low active)
Becomes "L" (low level, that is, active state), which is the above-mentioned negative input NAND gate 24 and negative input AND.
Each is sent to the gate 25. During normal operation, the low-active reset signal is "H" (high level), which is inverted by the inverter 26 and supplied to the negative input NAND gate 24. Is sent to the low-active gate terminal G of the data transceiver 22. That is, the assigned address of the peripheral device 20 is designated by the CPU 11 and the address decoder 21 in the peripheral device 20 is designated.
When the output from the device becomes "L", the data transceiver 22 is in the active state, and performs data transmission / reception between the data bus 32 and the peripheral device control element 23.

これに対して、パワーオン時のようなリセット動作時
には、上記ローアクティブのリセット信号が“L"にな
り、周辺機器制御素子23がリセットされると共に、上記
インバータ26からの出力が“H"となって否定入力NANDゲ
ート24に送られるから、アドレスデコーダ21からの出力
に無関係に否定入力NANDゲート24からの出力は“H"で、
データトランシーバ22はデータ送受を行わない。
On the other hand, at the time of a reset operation such as at power-on, the low active reset signal becomes “L”, the peripheral device control element 23 is reset, and the output from the inverter 26 becomes “H”. The output from the NAND gate 24 is “H” regardless of the output from the address decoder 21, and the output from the NAND gate 24 is “H”.
The data transceiver 22 does not transmit / receive data.

このリセット動作時において、CPU11により所定の周
辺機器20が指定されると共にデータのリードが行われる
と、上記リセット信号、アドレスデコーダ21からの出力
及び上記リード制御信号がいずれも“L"となるから、上
記否定入力ANDゲート25からの出力が“H"となり、これ
がダイオード27を介してデータバス32中の上記最下位ビ
ットD0のラインに上記識別フラグのデータ“1"として送
られる。
At the time of this reset operation, when a predetermined peripheral device 20 is designated by the CPU 11 and data is read, the reset signal, the output from the address decoder 21 and the read control signal all become "L". , the output from the negative input aND gate 25 is sent as to "H", which is the data "1" of the identification flag to the line of the least significant bit D 0 of the data bus 32 through the diode 27.

従って、本体装置10のCPU11により、上記各種周辺機
器の種別に対応した割当アドレスを例えば1番目から順
にAD(1)、AD(2)…と切換指定しながらデータを読
み出し制御し、それぞれの読出データの上記最下位ビッ
トD0(識別フラグ)の値を見ることにより、当該周辺機
器の有無(接続されているか否か)を判別できる。例え
ば、任意のk番目の周辺機器割当アドレスAD(k)を指
定してデータを読み出したとき、最下位ビットD0の値が
“1"であれば当該k番目の種別の周辺機器が「有」、す
なわち本体装置10に接続されており、“0"であれば当該
k番目の種別の周辺機器は「無」(接続されていない)
となる。これを本体装置10に接続可能な個数のn番目ま
で行った後、上記「有」と判別された周辺機器の種別に
対応したソフトウェア(当該周辺機器を制御するための
制御プログラム)を本体装置10内のROM12等から呼び出
して実行する。
Therefore, the CPU 11 of the main unit 10 controls the reading of data while designating the assigned addresses corresponding to the types of the various peripheral devices as, for example, AD (1), AD (2),. The presence or absence of the peripheral device (whether or not it is connected) can be determined by looking at the value of the least significant bit D 0 (identification flag) of the data. For example, when reading the data by specifying an arbitrary k-th peripheral assigned address AD (k), the value of the least significant bit D 0 is "1" if it the k-th type of peripheral device is "Yes , That is, connected to the main unit 10, and if “0”, the k-th type peripheral device is “none” (not connected)
Becomes After this is performed up to the nth number of devices that can be connected to the main device 10, the software (control program for controlling the peripheral device) corresponding to the type of the peripheral device determined to be “present” is transmitted to the main device 10. It is called from ROM12 etc. in the inside and executed.

このような周辺機器の自動識別動作を、第3図を参照
しながら説明する。
Such an operation of automatically identifying peripheral devices will be described with reference to FIG.

第3図において、パワーオン時等に周辺機器の自動識
別が開始されるとき、先ずステップS1に示すように上記
ローアクティヴのリセット信号が“L"となり、ループ制
御変数k(上記周辺機器の種別割当アドレスの順番に対
応)が0クリアされる。このループ制御変数kは、ステ
ップS2でインクリメント(k=k+1)され、次のステ
ップS3にて上記接続可能な周辺機器の個数n以下である
か否か(k≦n)が判別される。変数kがn以下(YE
S)のときには、ステップS4に進んで該k番目の種別の
周辺機器を上記アドレスAD(k)で指定しながらデー
タ、特に上記識別フラグ(最下位ビットD0)をリードす
る。次のステップS5では、この識別フラグであるデータ
最下位ビットD0が“1"(すなわち上記否定入力ANDゲー
ト25からの出力が“H")であるか否かが判別され、YES
のときにはステップS6に進んで該k番目の種類の周辺機
器が「有」(本体装置10に接続されている)と識別して
上記ステップS2に戻り、NOのときにはステップS7にて該
k番目の種類の周辺機器が「無」(本体装置10に接続さ
れていない)と識別して上記ステップS2に戻る。これを
本体装置10に接続可能な周辺機器数であるn回(すなわ
ち上記ステップS3でNOと判別されるまで)繰り返した
後、ステップS8に進む。ステップS8では、上記ローアク
ティヴのリセット信号を“L"から“H"(ノンアクティ
ヴ)に復帰させ、次のステップS9で上記「有」と判別さ
れた種別の周辺機器に対応するソフトウェア(周辺機器
の制御プログラム)を上記ROM等の本体内部メモリから
呼び出し、作動可能状態となした後、本体装置10の通常
シーケンスに移行する。
In FIG. 3, when the automatic identification of the peripheral device is started at the time of power-on or the like, first, as shown in step S1, the low-active reset signal becomes "L", and the loop control variable k (the type of the peripheral device) is set. (Corresponding to the order of the assigned addresses) is cleared to 0. This loop control variable k is incremented (k = k + 1) in step S2, and it is determined in the next step S3 whether or not the number of connectable peripheral devices is equal to or less than n (k ≦ n). Variable k is n or less (YE
In the case of S), the process proceeds to step S4 to read the data, particularly the identification flag (least significant bit D 0 ), while specifying the k-th peripheral device by the address AD (k). In the next step S5, whether or not this data least significant bit D 0 is the identification flag "1" (i.e., the output from the negative input AND gate 25 is "H") is discriminated, YES
In step S6, the process proceeds to step S6, where the k-th type of peripheral device is identified as "present" (connected to the main unit 10), and the process returns to step S2. The type of peripheral device is identified as “absent” (not connected to the main device 10), and the process returns to step S2. After this is repeated n times, which is the number of peripheral devices connectable to the main device 10 (that is, until it is determined as NO in step S3), the process proceeds to step S8. In step S8, the low-active reset signal is returned from "L" to "H" (non-active), and in the next step S9, software (peripheral device) corresponding to the type of peripheral device determined to be "present". The control program is called from the internal memory of the main body such as the ROM, and the operation state is set to an operable state.

以上説明した本発明実施例によれば、種別コード設定
手段としてアドレスデコーダを用いており、このアドレ
スデコーダからの出力を、リセット状態でのリード動作
時にデータバスの1ビット(上記最下位ビットD0)に乗
せることで、当該種別の周辺機器が接続されているか否
かの識別を可能ならしめている。従って、構成上では3
入力の否定入力AND25及びダイオード27を付加するだけ
で、容易に周辺機器の自動識別が実現でき、ユーザの手
間を大幅に軽減できる。
According to the embodiment of the present invention described above, the address decoder is used as the type code setting means, and the output from the address decoder is used to read one bit (the least significant bit D 0) of the data bus during the read operation in the reset state. ) Enables identification of whether or not a peripheral device of the type is connected. Therefore, 3
By simply adding the negative input AND 25 and the diode 27 of the input, the automatic identification of the peripheral device can be easily realized, and the labor of the user can be greatly reduced.

なお、本発明は上述の実施例のみに限定されるもので
はなく、例えばアドレスデコーダとは別の種別コード設
定手段を設けるようにしてもよい。この他、本発明の要
旨を逸脱しない範囲で種々の変更が可能であることは勿
論である。
Note that the present invention is not limited to only the above-described embodiment. For example, a type code setting unit different from the address decoder may be provided. In addition, it goes without saying that various changes can be made without departing from the spirit of the present invention.

〔発明の効果〕〔The invention's effect〕

本発明の電子機器によれば、本体装置の種別コード発
生手段から発生される種別コードが該本体装置に接続さ
れている周辺機器内の設定手段の種別コードに一致する
とき、その結果を本体装置に伝送しているため、本体装
置側で現在接続されている周辺機器の種別を識別でき、
この周辺機器の種別に応じた制御プログラムを作動可能
状態にすることができる。これによって、従来のよう
に、接続されている周辺機器を確認しながら制御プログ
ラムを呼び出すようなユーザ側での面倒な操作を省略で
き、使用に便利である。
According to the electronic apparatus of the present invention, when the type code generated by the type code generation unit of the main unit matches the type code of the setting unit in the peripheral device connected to the main unit, the result is displayed in the main unit. Is transmitted to the main unit, the type of peripheral device currently connected can be identified on the main unit side,
The control program corresponding to the type of the peripheral device can be made operable. Thus, it is possible to omit a troublesome operation on the user side such as calling the control program while confirming the connected peripheral device as in the related art, which is convenient for use.

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

第1図は本発明に係る電子機器の一実施例を示すブロッ
ク図、第2図は該実施例における周辺機器割当メモリマ
ップを示す図、第3図は該実施例の周辺機器自動識別動
作を説明するためのフローチャートである。 10……本体装置 11……CPU(中央処理ユニット) 12……ROM(リードオンリスメモリ) 13……RAM(ランダムアクセスメモリ) 20……周辺機器 21……アドレスデコーダ 22……データトランシーバ 23……周辺機器制御素子 24……否定入力NANDゲート 25……否定入力ANDゲート
FIG. 1 is a block diagram showing an embodiment of an electronic device according to the present invention, FIG. 2 is a diagram showing a peripheral device allocation memory map in the embodiment, and FIG. It is a flowchart for explaining. 10 Main unit 11 CPU (Central processing unit) 12 ROM (Read-only memory) 13 RAM (Random access memory) 20 Peripheral equipment 21 Address decoder 22 Data transceiver 23 … Peripheral device control element 24 …… Negative input NAND gate 25 …… Negative input AND gate

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】本体装置に接続される周辺機器内に予め該
周辺機器の種別を示す種別コードを設定する設定手段を
設け、 上記本体装置に接続可能な周辺機器の種別コードを上記
本体装置内に設けられた種別コード発生手段より順次発
生し、 上記周辺機器は上記設定手段により設定された種別コー
ドと上記種別コード発生手段からの出力が一致したこと
を検知してその結果を上記本体装置に伝送し、 上記本体装置内で上記一致が検知された種別コードに対
応する周辺機器の制御プログラムを作動可能状態にする
ことを特徴とする電子機器。
1. A setting device for setting a type code indicating the type of a peripheral device in advance in a peripheral device connected to the main device, wherein the type code of a peripheral device connectable to the main device is set in the main device. The peripheral device detects that the type code set by the setting unit matches the output from the type code generating unit, and the result is sent to the main unit. An electronic device, wherein the electronic device transmits a control program of a peripheral device corresponding to the type code in which the coincidence is detected in the main device to be operable.
JP12042689A 1989-05-16 1989-05-16 Electronics Expired - Fee Related JP2778109B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12042689A JP2778109B2 (en) 1989-05-16 1989-05-16 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12042689A JP2778109B2 (en) 1989-05-16 1989-05-16 Electronics

Publications (2)

Publication Number Publication Date
JPH02300839A JPH02300839A (en) 1990-12-13
JP2778109B2 true JP2778109B2 (en) 1998-07-23

Family

ID=14785930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12042689A Expired - Fee Related JP2778109B2 (en) 1989-05-16 1989-05-16 Electronics

Country Status (1)

Country Link
JP (1) JP2778109B2 (en)

Also Published As

Publication number Publication date
JPH02300839A (en) 1990-12-13

Similar Documents

Publication Publication Date Title
US5835791A (en) Versatile connection of a first keyboard/mouse interface and a second keyboard/mouse interface to a host computer
US4964038A (en) Data processing system having automatic address allocation arrangements for addressing interface cards
US6308227B1 (en) System for detecting a wireless peripheral device by a host computer transmitting a hail message including a persistent host identifier and a host address generated
JP2876004B2 (en) User interface device and method for PC system
US4885770A (en) Boot system for distributed digital data processing system
JPH02267634A (en) Interrupt system
US6581119B1 (en) Interrupt controller and a microcomputer incorporating this controller
CN114138333A (en) Program loading method and related device
JP2778109B2 (en) Electronics
US5355507A (en) Computer system for arbitrating the operation of a built-in modem and external SIO circuit
CN111176738B (en) Display card display method and system of UEFI mode and related components thereof
JP5010065B2 (en) Microcomputer
JPH02304611A (en) Wireless keyboard
JP4793798B2 (en) Microcomputer
US6789138B1 (en) Computer peripheral apparatus and a computer readable medium having a program for controlling the computer peripheral apparatus
JPS5913769B2 (en) channel control device
JP2588514Y2 (en) Communication control device
JPS6111801Y2 (en)
KR100360472B1 (en) Device for extending interrupt of computer system
JPH1091544A (en) Bus control circuit
JPS5819968A (en) Address designating system
JPH09205467A (en) Application program execution system in data communication terminal equipment
KR19990010541A (en) Computers and Peripherals with Automatic Program Loading Functions
JPH06119285A (en) Method and device for discriminating circuit substrate
KR20020071375A (en) Device and method for connection of asic emulator board

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees