JPH02190922A - Input/output controller - Google Patents

Input/output controller

Info

Publication number
JPH02190922A
JPH02190922A JP1088189A JP1088189A JPH02190922A JP H02190922 A JPH02190922 A JP H02190922A JP 1088189 A JP1088189 A JP 1088189A JP 1088189 A JP1088189 A JP 1088189A JP H02190922 A JPH02190922 A JP H02190922A
Authority
JP
Japan
Prior art keywords
register
data transfer
optical disk
sector
input
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
JP1088189A
Other languages
Japanese (ja)
Inventor
Katsumi Tsukahara
克美 塚原
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1088189A priority Critical patent/JPH02190922A/en
Publication of JPH02190922A publication Critical patent/JPH02190922A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the capacity of a microprogram and to shorten data transfer time by comparing the specific information of a sector to be an object for previously held data transfer with that of a sector read out from a disk device by a comparator. CONSTITUTION:In the case of transferring data between a master equipment and an optical disk equipment, an input mode for inputting the ID of a sector inputted from the optical disk device in an ID register 6 is set up in a mode register 4 to allow the optical disk device to start data transfer. On the other hand, an expected ID is previously set up in a comparing ID register 5. When the ID read out from the optical disk equipment is inputted to the ID register 6, the contents of the register 5 are compared with that of the register 6 by the comparator 7. When both the contents coincide with each other, an internal bus control part 1 is started and data transfer is executed between the optical disk equipment and the master equipment. Consequently, the capacity of the microprogram can be reduced and the data transfer time can be shortened.

Description

【発明の詳細な説明】 挾JυL立 本発明は入出力制御装置に関し、特に光デイスク装置を
制御する光デイスク制御回路と、上位装置との間のデー
タ転送等を制御するプロセッサとを有する入出力制御装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an input/output control device, and more particularly to an input/output control device having an optical disk control circuit that controls an optical disk device and a processor that controls data transfer between a host device and the like. Regarding a control device.

従来技術 従来、この種の入出力制御装置においては、代替セクタ
処理が行われたセクタに対するデータ転送を行うときに
は、マイクロプログラムによりセクタに設定されたID
の一致チェックを行い、そのIDが一致していなければ
異常終了とし、そのIDが一致していればデータ転送を
行っていた。
Prior Art Conventionally, in this type of input/output control device, when data is transferred to a sector where alternative sector processing has been performed, the ID set for the sector by a microprogram is used.
If the IDs do not match, the process ends abnormally, and if the IDs match, data transfer is performed.

このような従来の入出力制御装置では、マイクロプログ
ラムによりセクタに設定されたIDの一致チェックを行
う処理と、そのIDが一致しているときにデータ転送を
行う処理との二回の処理を実行しなければならないため
、マイクロプログラムの容量が増大し、データ転送に時
間がかかるという問題点があった。
Such conventional input/output control devices perform two processes: one to check the match between the IDs set in the sector by the microprogram, and the other to transfer data when the IDs match. As a result, the capacity of the microprogram increases and data transfer takes time.

九肌立旦煎 本発明は上記のような従来のものの問題点を除去すべく
なされたもので、マイクロプログラムの容量を削減する
ことができ、データ転送の時間を短縮することができる
入出力制御装置の提供を目的とする。
The present invention was made in order to eliminate the problems of the conventional ones as described above, and provides input/output control that can reduce the capacity of microprograms and shorten data transfer time. The purpose is to provide equipment.

北jし11威 本発明による入出力制御装置は、複数のセクタ各々を特
定する特定情報が前記複数のセクタ各々に設定されたデ
ィスク装置と上位装置との間のデータ転送を制御する入
出力制御装置であって、前記データ転送の対象となるセ
クタの特定情報を予め保持する保持手段と、前記ディス
ク装置から読込まれたセクタの特定情報と、前記保持手
段に保持された特定情報とを比較する比較手段とを有し
、前記比較手段により一致が検出されたとき、前記デー
タ転送の実行を指示するようにしたことを特徴とする。
An input/output control device according to the present invention is an input/output control device for controlling data transfer between a disk device and a host device in which specific information specifying each of a plurality of sectors is set in each of the plurality of sectors. Comparing the device with a holding means that holds in advance specific information of the sector to be the target of data transfer, the sector specific information read from the disk device, and the specific information held in the holding device. and comparing means, and when a match is detected by the comparing means, an instruction is given to execute the data transfer.

火腹贋 次に、本発明の一実施例について図面を参照して説明す
る。
Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の構成を示すブロック図であ
る6図において、本発明の一実施例による入出力制御装
置内には内部バス100があり、内部バス100に接続
された内部バス制御部1の制御により図示せぬ上位装置
とのやりとりが実行される。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In FIG. 6, there is an internal bus 100 in the input/output control device according to the embodiment of the present invention, and Communication with a host device (not shown) is executed under the control of the bus control unit 1.

また、内部バス100にはプロセッサ(μp)2と、光
デイスク制御部3と、モードレジスタ4と、比較IDレ
ジスタ5とが夫々接続される。
Further, a processor (μp) 2, an optical disk control unit 3, a mode register 4, and a comparison ID register 5 are connected to the internal bus 100, respectively.

コンパレータ回路7は比較IDレジスタ5の内容とID
レジスタ6の内容とを比較し、その比較結果によりID
の一致が検出され、かつ光デイスク制御部3からのデー
タ転送指示信号が入力されたときに出力信号が有効とな
る回路である。
Comparator circuit 7 compares the contents of ID register 5 and ID
The contents of register 6 are compared, and the ID is determined based on the comparison result.
This is a circuit whose output signal becomes valid when a match is detected and a data transfer instruction signal from the optical disk controller 3 is input.

次に、第1図を用いて本発明の一実施例の動作について
説明する。
Next, the operation of one embodiment of the present invention will be explained using FIG.

上位装置と光デイスク装置(図示せず)とのデータ転送
を行うときには、モードレジスタ4に光デイスク装置か
らのセクタのIDをIDレジスタ6に入力する入力モー
ドをセットし、光デイスク装置にデータ転送の起動をか
ける。
When transferring data between a host device and an optical disk device (not shown), an input mode is set in the mode register 4 to input the sector ID from the optical disk device into the ID register 6, and the data is transferred to the optical disk device. Activate.

また、予め比較IDレジスタ5に期待するID(データ
転送の対象となるセクタのID)をセットしておく、こ
れにより、IDレジスタ6に光デイスク装置から読取ら
れたIDが入力されると、比111Dレジスタ5の内容
とIDレジスタ6の内容とがコンパレータ回路7によっ
て比較され、その結果それらのIDが一致していれば、
コンパレータ回路7の出力信号によって内部バス制御部
1に起動がかかり、光デイスク装置と上位装置との間で
データ転送が行われる。
In addition, the expected ID (ID of the sector to be data transferred) is set in the comparison ID register 5 in advance, so that when the ID read from the optical disk device is input to the ID register 6, the comparison ID is set in advance. The contents of the 111D register 5 and the contents of the ID register 6 are compared by the comparator circuit 7, and if the IDs match,
The output signal of the comparator circuit 7 activates the internal bus control section 1, and data transfer is performed between the optical disk device and the host device.

上述したように、比較IDレジスタ5に期待するIDを
セットし、モードレジスタ4に入力モードを設定してお
くことにより、代替セクタのデータ転送がマイクロプロ
グラムによるIDの一致チェックを行うことなく実行さ
れる。
As mentioned above, by setting the expected ID in the comparison ID register 5 and setting the input mode in the mode register 4, the data transfer of the alternative sector can be executed without checking the ID match by the microprogram. Ru.

このように、予め比較IDレジスタ5にセットされた期
待するIDと、IDレジスタ6に入力された光デイスク
装置からのIDとをコンパレータ回路7により比較する
ようにすることによって、データ転送の対象となるセク
タのIDと光デイスク装置から読込まれた代替セクタの
IDとの一致チェックをマイクロプログラムによって行
わなくともよいため、マイクロプログラムのステップ数
を減少させることができる。
In this way, by comparing the expected ID set in the comparison ID register 5 in advance with the ID from the optical disk device input to the ID register 6 by the comparator circuit 7, it is possible to determine whether the data is to be transferred. Since it is not necessary for the microprogram to check the match between the ID of the new sector and the ID of the alternative sector read from the optical disk device, the number of steps of the microprogram can be reduced.

よって、その分マイクロプログラムの容量を削減するこ
とができ、マイクロ10グラムの構成を簡単化すること
ができる。
Therefore, the capacity of the micro program can be reduced accordingly, and the configuration of the micro 10 gram can be simplified.

また、マイクロプログラムのステップ数が減少すること
により、データ転送の時間を短縮することができる。
Furthermore, by reducing the number of microprogram steps, data transfer time can be shortened.

尚、本発明の一実施例では光デイスク装置との間のデー
タ転送について述べたが、他のディスク装置とのデータ
転送においても適用できることは明白であり、これに限
定されない。
In one embodiment of the present invention, data transfer with an optical disk device has been described, but it is obvious that the present invention can also be applied to data transfer with other disk devices, and is not limited thereto.

1匪座夏逮 以上説明したように本発明によれば、予め保持されたデ
ータ転送の対象となるセクタの特定情報と、ディスク装
置から読込まれたセクタの特定情報とを比較回路により
比較するようにすることによって、マイクロプログラム
の容量を削減することができ、データ転送の時間を短縮
することができるという効果がある。
1. As explained above, according to the present invention, the comparison circuit compares the specific information of the sector that is the target of data transfer held in advance and the specific information of the sector read from the disk device. By doing so, the capacity of the microprogram can be reduced and the data transfer time can be reduced.

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

第1図は本発明の一実施例の構成を示すブロク図である
。 主要部分の符号の説明 ■・・・・・・内部バス制御部 3・・・・・・光デイスク制御部 4・・・・・・モードレジスタ 5・・・・・・比較IDレジスタ 6・・・・・・IDレジスタ 7・・・・・・コンパレータ回路
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. Explanation of symbols of main parts ■...Internal bus control unit 3...Optical disk control unit 4...Mode register 5...Comparison ID register 6... ...ID register 7...Comparator circuit

Claims (1)

【特許請求の範囲】[Claims] (1)複数のセクタ各々を特定する特定情報が前記複数
のセクタ各々に設定されたディスク装置と上位装置との
間のデータ転送を制御する入出力制御装置であって、前
記データ転送の対象となるセクタの特定情報を予め保持
する保持手段と、前記ディスク装置から読込まれたセク
タの特定情報と、前記保持手段に保持された特定情報と
を比較する比較手段とを有し、前記比較手段により一致
が検出されたとき、前記データ転送の実行を指示するよ
うにしたことを特徴とする入出力制御装置。
(1) An input/output control device that controls data transfer between a disk device and a host device, in which specific information that specifies each of a plurality of sectors is set in each of the plurality of sectors, and the target of the data transfer. and a comparison means for comparing the specific information of the sector read from the disk device with the specific information held in the holding means, and the comparing means An input/output control device characterized in that when a match is detected, an instruction is given to execute the data transfer.
JP1088189A 1989-01-19 1989-01-19 Input/output controller Pending JPH02190922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1088189A JPH02190922A (en) 1989-01-19 1989-01-19 Input/output controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1088189A JPH02190922A (en) 1989-01-19 1989-01-19 Input/output controller

Publications (1)

Publication Number Publication Date
JPH02190922A true JPH02190922A (en) 1990-07-26

Family

ID=11762664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1088189A Pending JPH02190922A (en) 1989-01-19 1989-01-19 Input/output controller

Country Status (1)

Country Link
JP (1) JPH02190922A (en)

Similar Documents

Publication Publication Date Title
JPH02190922A (en) Input/output controller
JPS59723A (en) Control system of input and output interface
JPH01258163A (en) Direct memory access controller
JPH10198524A (en) Hard disk controller
JP2802806B2 (en) I / O channel control device
JPS6389964A (en) Loading and confirming system for microprogram
JPS62204354A (en) Control system for input/output instruction
JPS6041766B2 (en) microprogram controller
JPH07295761A (en) Mirroring magnetic disk device
JPH0460858A (en) Interruption address setting controlling system
JPS58217035A (en) Input and output control system of computer system
JPH01142967A (en) Coprocessor control system
JPH10312354A (en) Interruption processing system
JPH08320842A (en) Data transfer control system
JPH0670768B2 (en) Power-on control method
JPH01144146A (en) Input/output processor
JPH07295806A (en) Timer reading controller
JPH01246625A (en) Data base device
JPH05189328A (en) Memory testing circuit
JPH04271472A (en) System for processing data base
JPS60245030A (en) Disk controller
JPH036614A (en) Magnetic disk controller
JPH02196306A (en) Sequencer
JPS63300346A (en) Dma control system
JPS6349935A (en) Central controller