JPS6086622A - Input and output controller of disc device - Google Patents

Input and output controller of disc device

Info

Publication number
JPS6086622A
JPS6086622A JP19542683A JP19542683A JPS6086622A JP S6086622 A JPS6086622 A JP S6086622A JP 19542683 A JP19542683 A JP 19542683A JP 19542683 A JP19542683 A JP 19542683A JP S6086622 A JPS6086622 A JP S6086622A
Authority
JP
Japan
Prior art keywords
alternative
control
record
area
data
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
JP19542683A
Other languages
Japanese (ja)
Inventor
Akira Tamaki
玉木 晃
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
Nippon 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP19542683A priority Critical patent/JPS6086622A/en
Publication of JPS6086622A publication Critical patent/JPS6086622A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform automatically an alternative processing in a high speed and reduce the memory capacity by providing an extension read/write instruction and an instruction, which indicates alternative cylinder address information, as instructions of a CPU. CONSTITUTION:The extension read/write instruction and configuration control word C and D instructions which indicate alternative cylinder address information are added to instructions executed for an I/O by the CPU. A control information storage part of an I/O controller is provided with a storage area of instructions, an area where information of a cylinder address where an operation is executed is stored, and a control byte area where a control byte which controls operations is stored. Bits indicating verification, alternative record processing, and alternative cylinder processing are set to the control byte. The write operation, the verifying operation, date erase for error, and the alternative processing are performed continuously with one task word. Thus, configuration control words C and D instructions are provided not only to perform the alternative processing automatically in a high speed but also reduce the memory capacity.

Description

【発明の詳細な説明】 この発明は、装置を制御するマイクロプログラム制御方
式の入出力制御装置に関するもので、特に、光デイスク
装置のリード、ライト、ベリファイ、データの取消し、
及び代替処理動作の制御の制御部分に係わるものである
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microprogram control type input/output control device for controlling a device, and in particular, for reading, writing, verifying, canceling data, etc. of an optical disk device.
and the control portion of control of alternative processing operations.

〈従来技術〉 第1図に従来の光デイスク装置を制御する中央処理装置
の命令を示す。シークは構成制御語Aで示すシリンダに
ヘッドを移すこと、リードは構成制御語Bで示すレコー
ドのデータを読出すこと、ライトは構成制御語Bで示す
レコードにデータを書込むことである。第2図は一般的
な入出力制御装置2の構成と中央処理装置lと光rイヌ
ク装置3との接続例を示す。第3図は光デイスク板1’
Lのシリンダの領域を示す。第4図CA)は従来のライ
ト動作の流れの一例を示し、(B) 1l−1’、 4
t’fl来のリード動作の流れの一例を示す。第2図に
おいて入出力制御装置2はアドレスレノスタ100.デ
ータヵウンタ101、データレジスタ102、マイクロ
プロセッサ103、制御部104、マイクロ70ログラ
ム記憶部105、制御バイト記憶部106から構成され
ている。
<Prior Art> FIG. 1 shows the instructions of a central processing unit that controls a conventional optical disk device. Seek is to move the head to the cylinder indicated by configuration control word A, read is to read data from the record indicated by configuration control word B, and write is to write data to the record indicated by configuration control word B. FIG. 2 shows the configuration of a general input/output control device 2 and an example of the connection between the central processing unit 1 and the optical r-inuk device 3. Figure 3 shows optical disk plate 1'
The area of the L cylinder is shown. FIG. 4 CA) shows an example of the flow of a conventional write operation, and (B) 1l-1', 4
An example of the flow of a read operation after t'fl is shown. In FIG. 2, the input/output control device 2 includes an address register 100. It is composed of a data counter 101, a data register 102, a microprocessor 103, a control section 104, a micro 70 program storage section 105, and a control byte storage section 106.

従来、この種の入出力制御装置は、第1図、第2図、第
4図A、Bに示す様に、光デイスク装置を制御するため
に中央処理装置からライト動作を意味するタスク語を受
取ると、構成制御語Bで指定する該当装置を選択し、装
置が選択されると構成制御語A及びBで指定されるレコ
ードをサーチし、目的のレコードが検出されるとデータ
を書込む。ライト動作が終了すると光デイスク装置を切
離し、中央処理装置に対して割込みを発生する。
Conventionally, this type of input/output control device receives a task word meaning a write operation from a central processing unit in order to control an optical disk device, as shown in FIGS. 1, 2, and 4A and B. When received, the corresponding device specified by the configuration control word B is selected, and when the device is selected, the record specified by the configuration control words A and B is searched, and when the target record is detected, the data is written. When the write operation is completed, the optical disk device is disconnected and an interrupt is generated to the central processing unit.

中央処理装置はこの割込みを受取るとライト動作を終了
する。光デイスク装置に使用される光デイスク板は一度
書込んだ箇所に再書込みが不可能の為、中央処理装置は
ライト動作が正常に行われたかどうかを調べる為に書込
んだデータをリードする必要がある。その為、中央処理
装置をまリード動作を意味するタスク語を入出力装置に
対して実行する。入出力制御装置はリード動作を意味す
るタスク語を受取ると装置を選択し、構成制御語A及び
Bで指定されるレコードをサーチし、目的のレコードが
検出されるとデータを読出ず。リード動作が終了すると
装置を切離し、中央処理装置に対して割込みを発生する
。中央処理装置はこの割込みを受取るとエラーの有無を
チェックする。エラーが無ければ正常終了し、エラーが
有れば、中央処理装置はソフトウェア内の管理テーブル
に先にライトしたレコードは無効の登録を行い、管理テ
ーブルより代替可能なレコードを取出し、新に、別のレ
コードに再度ライト動作を実行する。ライトした後は前
述のように又、リード命令を実行してデータの正常性を
確認する必要がある。
When the central processing unit receives this interrupt, it ends the write operation. Since the optical disk board used in optical disk devices cannot rewrite data once it has been written, the central processing unit must read the written data to check whether the write operation was performed normally. There is. Therefore, the central processing unit executes a task word meaning a read operation on the input/output device. When the input/output control device receives a task word indicating a read operation, it selects the device, searches for the record specified by the configuration control words A and B, and when the target record is detected, does not read the data. When the read operation is completed, the device is disconnected and an interrupt is generated to the central processing unit. When the central processing unit receives this interrupt, it checks for errors. If there is no error, the process ends normally; if there is an error, the central processing unit registers the previously written record as invalid in the management table in the software, extracts a record that can be replaced from the management table, and writes a new, separate record. Execute the write operation on the record again. After writing, as described above, it is necessary to execute a read command to confirm the normality of the data.

以上の様に、従来は、ライト、ベリファイの為のリード
動作毎に割込みが発生し、割込み処理の為に中央処理装
置(CPU)の処理速度が遅くなることと、レコードの
取消し、代替処理が複雑でその管理テーブルの構成の為
に多くのメモリ容量を必要とする欠点があった。
As mentioned above, conventionally, an interrupt occurs for each read operation for writing or verifying, and the processing speed of the central processing unit (CPU) slows down due to interrupt processing, and record cancellation and alternative processing are It has the drawback of requiring a large amount of memory capacity due to its complicated management table structure.

〈発明の概要〉 この発明は従来の上記欠点を除去する為になされたもの
であシ、この発明の目的は、中央処理装置の命令に拡張
リード/ライト命−令と代替シリンダアドレス情報を指
示する命令を新設し、入出力制御部の制御情報が格納さ
れる記憶部に、前記命令の格納領域と動作を実行中のシ
リンダアドレス情報を記憶する領域と動作を制御する制
御バイト領域とを設け、且つ制御バイトにはベリファイ
東代替レコード処理中、代替シリンダ処理中を表示する
ビットを設定することによシ、ライト動作、ベリファイ
動作、データの取消し、代替処理等の独立した動作を、 (代替レコードなし)→代替シリンダヘシーク→の流れ
に従って自動的に行うことにより、中央処理装置に対す
る割込み回数を減らして中央処理装置の処理速度を速く
し、又、データの取消し、代替処理を中央処理装置がき
め細かく管理する必要性を無くして多くのメモリ容量を
不必要とし、中央処理装置が意識することなくデータの
取消し、代替処理を自動的に行って、同一のプログラム
で光デイスク装置を制御できる入出力制御装置を提供す
ることにある。
<Summary of the Invention> The present invention has been made to eliminate the above-mentioned drawbacks of the conventional technology.The purpose of the present invention is to instruct the instructions of the central processing unit with extended read/write instructions and alternative cylinder address information. A new instruction is provided to control the input/output control unit, and a storage area for storing the instruction, an area for storing information on the cylinder address in which the operation is being executed, and a control byte area for controlling the operation are provided in the storage unit where control information of the input/output control unit is stored. By setting bits in the control byte to indicate that the verify east alternative record is being processed or the alternative cylinder is being processed, independent operations such as write operation, verify operation, data cancellation, and alternative processing can be performed. By automatically performing the following steps (no record) → seek to alternative cylinder →, the number of interrupts to the central processing unit is reduced and the processing speed of the central processing unit is increased, and data cancellation and alternative processing are performed automatically by the central processing unit This system eliminates the need for detailed management, eliminates the need for a large amount of memory capacity, automatically cancels data and performs alternative processing without the central processing unit being aware of it, and allows optical disk devices to be controlled with the same program. An object of the present invention is to provide an output control device.

即ち、この発明によれば、中央処理装置から入出力装置
に対して実行される命令に、拡張リード/ライト命令と
、代替シリンダアドレス情報を指示する構成制御語C,
D命令を新設し、入出力制御装置の制御情報格納記憶部
には、命令の格納領域と、動作を実行中のシリンダアド
レス情報を記憶する領域と、動作を制御する制御バイト
領域とを設け、且つその制御バイトにはベリノ了イ中、
代替レコード処理中、代替シリンダ処1!1!中を表示
するピントを設定することにより、1回のタスク語で、
ライト動作、ベリファイ動作、エラ一時のデータ取消し
、代替処理を連続して行うことができる入出力制御装置
が得られる。
That is, according to the present invention, an instruction executed from the central processing unit to the input/output device includes an extended read/write instruction and a configuration control word C that instructs alternative cylinder address information.
D command is newly established, and the control information storage storage section of the input/output control device is provided with a storage area for instructions, an area for storing information on the cylinder address in which the operation is being executed, and a control byte area for controlling the operation. In addition, the control byte contains
Alternative record processing, alternative cylinder 1!1! By setting the focus to display the inside, in one task word,
An input/output control device that can continuously perform write operation, verify operation, data cancellation in the event of an error, and alternative processing is obtained.

〈実施例〉 次に、この発明を一実施例について第5図、以下の図を
参照して具体的に説明する。
<Example> Next, one example of the present invention will be specifically described with reference to FIG. 5 and the following figures.

この発明の一実施例における命令フォーマット例および
記憶部割当て例をそれぞれ第5図および第6図に示す。
An example of an instruction format and an example of memory allocation in an embodiment of the present invention are shown in FIGS. 5 and 6, respectively.

第5図中の拡張リードは構成制御語Bで示−jレコード
のデータが無効の場合代替レコード処理を行い、代替レ
コードに該当するデータがなければ構成制御語C及びD
に基づく代替シリンダ処理を自動的に行うことであシ、
拡張ライトは構成制御語Bで示すレコードにデータを書
き込んだ後、ベリファイし、エラーがあれば代替レコー
ドにデータを書き込み、ベリファイする。代替レコード
でもエラーがあれば構成制御語C及びDに基づく代替シ
リンダ処理を自動的に行うことである。第10図、第1
1図はこの発明の動作例を示す。第7図Aは光デイスク
板上でのレコードの記録部分を示す図であシ、第7図B
は第7図Aのフラグ22の意味を説明した表である。こ
のフラグはそのレコードの属性を示す識別情報としての
意味を持つ。第8図Aは001シリンダのレコード02
にデータのエラーが有り、そのレコードが無効である識
別情報としてフラグ部22に“’FO”を書込んだこと
を示す図である。第8図Bは(1(11シリンダのレコ
ード02に書込むべきデータを001シリンダのレコー
ドn−3に代替処理したことを示す図である。
The extended read in Figure 5 is indicated by configuration control word B. If the data in the J record is invalid, alternative record processing is performed, and if there is no data corresponding to the alternative record, configuration control words C and D are used.
By automatically performing alternative cylinder processing based on
After the extended write writes data to the record indicated by the configuration control word B, it is verified, and if there is an error, the data is written to an alternative record and verified. If there is an error in the alternative record, alternative cylinder processing based on configuration control words C and D is automatically performed. Figure 10, 1st
FIG. 1 shows an example of the operation of the present invention. Figure 7A is a diagram showing the recording part of a record on an optical disk board, Figure 7B
is a table explaining the meaning of flag 22 in FIG. 7A. This flag has the meaning of identification information indicating the attribute of the record. Figure 8A is record 02 of cylinder 001
7 is a diagram showing that there is a data error in the record, and "'FO" is written in the flag section 22 as identification information indicating that the record is invalid. FIG. 8B is a diagram showing that the data to be written in record 02 of cylinder 11 has been replaced with record n-3 of cylinder 001.

第9図は第8図の拡張図であり、001シリンダのレコ
ード02にデータのエラーが有りフラグ部22 K: 
” F O”を書込み(第9図A)、001シリンダの
レコードn−3に代替処理したが、このレコードでもエ
ラーが有ったのでフラグ部22K ” F O’ 全書
込みl!9図’B)、F (10)IJ yダのレコー
ド01に代替処理したことを示す図である(第9図C)
。第10図は前記代替処理の動作の経過を示す図である
。第11図はジー1゛動作時の動作の経過を示す図であ
る。第7図に於て、参照番号21は5バイトのID部1
、参照番号22は1バイトのフラグ部、参照番号23は
5バイトのID部2、参照番号24はデータ領域、参照
番号25は同一円周上のレコード1〜n−4に不良が有
った時、代替用として確保しである代替レコード領域を
それぞれ示す。第7図のID部1は自分自身の論理アド
レス、Ip部2は後に続くデータ領域のデータが有効な
時は自分自身の論理アドレス、か又は、そのレコードが
代替レコード領域の場合、代替光の論理アドレスをそれ
ぞれ示す。
FIG. 9 is an expanded view of FIG. 8, in which there is a data error in record 02 of cylinder 001, and a flag section 22 K:
``F O'' was written (Figure 9A) and alternative processing was performed to record n-3 of cylinder 001, but since there was an error in this record as well, the flag section 22K ``FO'' All writes l!Figure 9'B ), F (10) This is a diagram showing that alternative processing has been performed on record 01 of IJ yda (Fig. 9C)
. FIG. 10 is a diagram showing the progress of the operation of the alternative processing. FIG. 11 is a diagram showing the progress of the operation during the G1 operation. In FIG. 7, reference number 21 is the 5-byte ID part 1.
, reference number 22 is a 1-byte flag section, reference number 23 is a 5-byte ID section 2, reference number 24 is a data area, and reference number 25 is a defect in records 1 to n-4 on the same circumference. Indicates an alternative record area reserved for alternative use. In FIG. 7, ID part 1 is its own logical address, and Ip part 2 is its own logical address when the data in the following data area is valid, or if the record is in an alternative record area, the alternative optical address. Each indicates a logical address.

中央処理装置から入出力制御装置に対して拡張ライト命
令を意味するタスク語が実行されると、入出力制御装置
は構成制御語Bで指定する装置を選択し、装置が選択さ
れると構成制御語A及びBより目的のレコードの情報を
得て、この情報とID部1の情報と一致するレコードを
サーチする。
When a task word meaning an extended write command is executed from the central processing unit to the input/output control unit, the input/output control unit selects the device specified by configuration control word B, and when the device is selected, configuration control is executed. Information on the target record is obtained from the words A and B, and a record that matches this information with the information in the ID section 1 is searched.

目的の、レコードが検出できたなら、そのレコードのデ
ータ部の先頭(I’D部2の部分)にそのレコードの論
理アドレス(構成制御語A、Bの内容と同一)を書込み
、引続いて中央処理装置より送られて来たデータを書込
む。書込み動作が終了すると制御バイトCのベリファイ
ピットをセットして同一レコードに対してデータ部のデ
ータを読出しベリファイを行う。ベリファイした結果が
正常であれば書込み動作は正常に終了したものと判断し
中央処理装置に割込む。ベリファイした結果にエラーが
有れば、エラーの発生したレコードのID情報(ID部
1の内容)を制御バイトclに記憶し、制御バイトC1
で示すレコードをサーチする。
If the target record is detected, write the logical address of that record (same as the contents of configuration control words A and B) at the beginning of the data section (I'D section 2 section) of that record, and then Writes data sent from the central processing unit. When the write operation is completed, the verify pit of the control byte C is set, and the data in the data section of the same record is read and verified. If the verified result is normal, it is determined that the write operation has been completed normally and an interrupt is made to the central processing unit. If there is an error in the verified result, the ID information (contents of ID section 1) of the record in which the error occurred is stored in the control byte cl, and the control byte C1
Search for the record indicated by .

検出できたなら、制御パイ)CIで示すレコードノフラ
ク部に°’FO”を書込みそのレコードのデータを無効
として取消しくこれにより、リード動作時、フラグ部を
リードすればそのレコードのデータが無効なのか有効な
のか識別用能となる。)だ後、同一円周上に確保されて
いる代替レコード領域に未使用の代替レコードが存在す
るがどうかを調べる為に代替レコード領域をサーチする
。サーチした結果、未使用の代替レコードがあれば、そ
のレコードのID部1の情報を制御パイ)C2に格納す
る。この時に制御パイ)COのベリファイピットはリセ
ットし、代替レコード処理ビットをセットする。
If it is detected, write ``FO'' to the record flag section indicated by CI) to invalidate and cancel the data of that record.As a result, if the flag section is read during a read operation, the data of that record will be invalidated. ) Then, the alternative record area is searched to see if there is an unused alternative record in the alternative record area secured on the same circumference.Search As a result, if there is an unused substitute record, the information in the ID section 1 of that record is stored in the control pie (C2).At this time, the verify pit of the control pie (CO) is reset and the substitute record processing bit is set.

制御バイトC2で示すレコードをサーチし、検出できた
なら、代替元論理アドレス(構成制御語A、Bの内容と
同一)をデータ部の先頭に(ID部2の部分)に書込み
、引続いてデータを書込む。
If the record indicated by control byte C2 is searched and detected, the substitution source logical address (same as the contents of configuration control words A and B) is written at the beginning of the data section (ID section 2 section), and then Write data.

書込んだ後、制御パイ)COのベリ7アイビツトをセッ
トし、制御バイトC2で示すレコードのデータ部のデー
タを読出しベリファイを行う。以下前述と同様の動作を
行う。以上の動作の説明は第8図、第10図を参照すれ
ば更に容易に理解可能である。
After writing, the verify 7 eye bit of the control byte C2 is set, and the data in the data section of the record indicated by the control byte C2 is read and verified. Thereafter, the same operations as described above are performed. The above operation can be more easily understood by referring to FIGS. 8 and 10.

代替レコード領域をサーチした結果、未使用の代替レコ
ードが無い場合、構成制御語Cで示すシリンダにシーク
動作を行う。シーク動作が完了すると制御バイトCOの
代替シリンダ処理ビットをセットし、構成制御語C,D
で示すレコードをサーチする。目的のレコードが検出で
きたなら、代替元論理アドレス(構成制御語A、Bの内
容と同一)をデータ部の先頭に(ID部2の部分)に書
込み、引続いてデータを書込む。書込んだ後ベリファを
行うのは前述と同様である。以上の動作は第9図。
As a result of searching the alternative record area, if there is no unused alternative record, a seek operation is performed to the cylinder indicated by the configuration control word C. When the seek operation is completed, the alternate cylinder processing bit in control byte CO is set and configuration control words C and D are set.
Search for the record indicated by . If the target record is detected, the replacement source logical address (same as the contents of configuration control words A and B) is written at the beginning of the data section (ID section 2 section), and then data is written. Verification is performed after writing in the same way as described above. The above operation is shown in Figure 9.

第10図を参照すれば更に容易に理解可能である。This can be more easily understood by referring to FIG.

以上の説明した動作は、第12図に示すように、MU−
i44シ、の流れを示すが、これらの動作は、入出力制
御部のマイクロプログラムによって制御され、特に制御
情報を格納する記憶部の情報(シリンダ情報、エラーの
発生したレコード、ベリファイビット、代替レコード処
理中ビット、代替/リンダ処理中ビット等)によって正
確に処理される。このことは第10図を参照すれば理解
できる。
The operation explained above is as shown in FIG.
These operations are controlled by the microprogram of the input/output control section, and in particular, the information in the storage section that stores control information (cylinder information, records in which errors occur, verification bits, alternative records, processing bit, alternate/linda processing bit, etc.). This can be understood by referring to FIG.

以上のことより、中央処理装置からの1回の命令により
、ライト、ベリファイ、データの取消し、代替処理を自
動的に行うことにより、中央処理装置への割込みは1回
で済み、且つ処理速度を速くし、又、データの取消し2
代替処理を中央処理装置がきめ細かく管理する必要性を
無くして多くのメモリ容量を不必要とすることが可能と
なる。
From the above, by automatically performing write, verify, data cancellation, and alternative processing with a single command from the central processing unit, only one interrupt to the central processing unit is required, and the processing speed can be increased. Speed up and cancel data 2
It becomes possible to eliminate the need for detailed management of alternative processing by the central processing unit, and to eliminate the need for a large amount of memory capacity.

次に、中央処理装置から入出力制御装置に対して拡張リ
ー ド命令を意味するタスク語が実行されると、入出力
制御装置は構成制御語Bで指定する装置を選択し、装置
が選択されると、構成制御語A及びBより目的のレコー
ドの情報を得て、この情報とID部1の情報と一致する
レコードをサーチする。目的のレコードが検出できたな
ら、そのレコードのフラグ部を読出す。読出した結果、
フラグ部が未書込み状態ならば引続くデータ部のデータ
を読出して中央処理装置に転送し、リード動作が終了す
ると中央処理装置に割込む。前記レコードのフラグ部を
読出した結果” F O”が書いてあればそのレコード
は代替処理されており、該レコードのデータは無効であ
ると判断して、制御/Sイ)CIに論理アドレス(構成
制御語A、Bで示す内容と同じ)を格納し、代替レコー
ド領域のデータ部の先頭(ID部2の部分)に制御バイ
トC1で示す論理アドレスが記録されている代替レコー
ドをサーチする。サーチした結果検出できたなら、その
レコードのID部1の内容を制御パイ)C2に記憶し、
制御パイ)C2で示すレコードのデータを読出し、中央
処理装置に転送する。代替レコード領域をサーチしても
検出できなかった場合には、構成制御語Cで示すシリン
ダにシークし、シーク動作が終了したならば、前記と同
様、ID部2の部分に制御バイトC1で示す論理アドレ
スが記録されている代替レコード(最初は構成制御語A
、Bで示すレコード)をサーチする。そのサーチした結
果検出できたなら、そのレコードのID部1の内容を制
御パイ)C2に記憶し、制御バイトC2で示すレコード
のデータを読出す。これらの動作は、入出力制御部のマ
イクロプログラムによって制御され、特に記憶部の制御
情報(シリンダ情報1伐替レコード処理中ビット、代替
シリンダ処理中ビット等)によって正確に処理される。
Next, when the central processing unit executes a task word meaning an extended read command to the input/output controller, the input/output controller selects the device specified by configuration control word B, and the device is selected. Then, information on the target record is obtained from the configuration control words A and B, and a record that matches this information with the information in the ID section 1 is searched. When the target record is detected, the flag section of that record is read. As a result of reading,
If the flag section is in an unwritten state, the data in the subsequent data section is read and transferred to the central processing unit, and when the read operation is completed, an interrupt is made to the central processing unit. As a result of reading the flag part of the record, if "F O" is written, that record has been substituted, and the data of the record is judged to be invalid, and the control/S2) CI is given a logical address ( A search is made for an alternative record in which the logical address indicated by control byte C1 is recorded at the beginning of the data section (ID section 2 part) of the alternative record area. If it is detected as a result of the search, store the contents of the ID section 1 of the record in the control pie) C2,
Control pie) Reads the data of the record indicated by C2 and transfers it to the central processing unit. If the alternative record area cannot be detected even after searching, seek to the cylinder indicated by the configuration control word C, and when the seek operation is completed, the same as above, the cylinder indicated by the control byte C1 is written in the ID section 2. Alternate record in which the logical address is recorded (initially configuration control word A
, B). If a result of the search is detected, the contents of the ID section 1 of the record are stored in the control pie C2, and the data of the record indicated by the control byte C2 is read out. These operations are controlled by the microprogram of the input/output control section, and are processed accurately by the control information of the storage section (cylinder information 1 cutting record processing bit, alternate cylinder processing bit, etc.).

このことは第11図を参照すれば理解できる。This can be understood by referring to FIG.

以上のことよシ、中央処理装置からの1回の命令により
代替処理を自動的に行うことにより中央処理装置への割
込みは1回で済み、且つ処理速度を速くシ、代替処理を
中央処理装置がきめ細かく管理する必要性を無くして多
くのメモリ容量を不必要とすることが可能となる。
From the above, by automatically performing alternative processing in response to a single command from the central processing unit, only one interrupt to the central processing unit is required, and the processing speed can be increased. This eliminates the need for detailed management and eliminates the need for a large amount of memory capacity.

〈効果〉 この発明は、以上説明したように、中央処理装置の命令
に拡張リード/ライト命令と構成制御語C,D命令を新
設し、入出力制御部の記憶部内に前記命令の格納領域と
動作実行中のシリンダアドレス情報を記憶する領域と、
制御バイト領域とを設け、且つ制御バイトにはベリファ
イ中、代替レコード処理中、代替シリンダ処理中を表示
するビットを設定することにより、ライト、ベリファイ
<Effects> As explained above, the present invention adds extended read/write instructions and configuration control words C and D instructions to the instructions of the central processing unit, and creates a storage area for the instructions in the storage section of the input/output control section. An area for storing cylinder address information during operation execution,
Write and verify operations are performed by providing a control byte area and setting bits in the control byte to indicate whether verification is in progress, alternative record processing is in progress, or alternative cylinder processing is in progress.

データの取消し2代替処理が自動的に且つ高速に行え、
中央処理装置は代替処理のきめ細かな管理が不用となシ
、メモリ容量が少なくて済み、割込み回数が少ない、処
理速度が向上する光デイスク装置の制御が行えるという
効果がある。
Data cancellation 2 Alternative processing can be performed automatically and quickly,
The central processing unit does not require detailed management of alternative processing, requires less memory capacity, reduces the number of interrupts, and can control optical disk devices with improved processing speed.

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

第1図は従来の命令フォーマットを示す図、第2図は一
般的な入出力制御の構成を示すブロック図、第3図は光
デイスク板のデータ7リンダと代替シリ)ンタシの関係
を、水、す図、第4図は従来の動作例を示す図、第5図
はこの発明の一実施例による命令フォーマットを示す図
、第6図はこの発明の一実施例による記憶部の割当例を
示す図、第7図。 第8図、第9図はそれぞれこの発明の動作説明に用いる
記録例を示す図、第10図はこの発明における書込み動
作の例を示す流れ図、第11図はこの発明における読出
し動作の例を示す流れ図、第12図はこの発明における
書込み動作を簡単に示イスク装置、100・・・アドレ
スレノスタ、101・・・データカウンタ、102・・
・データレノスタ、103・・・マイクロプロセッサ、
104・・・制御部、105・・・マイクロプログラム
記憶部、106・・・制御バイト記憶部、11・・・光
デイスク板、12・・代替シリンダ領域、13・・・デ
ータンリング領域、21.23・・・ID部、22・・
・フラグ部、24・データ領域、25・・・代替レコー
ド領域。 特許出願人 日本電気株式会゛社 代理人 草 野 卓 オ 1 図 オ 2 図 沖3聞 t’c、u ”、、、++;9’沖 5 図 +01000004広弓蚤リード +01000011tl張う件 4 口 賞ベラ オ 6 図 沖 7 図 1゜
Fig. 1 is a diagram showing the conventional command format, Fig. 2 is a block diagram showing the general input/output control configuration, and Fig. 3 shows the relationship between the data 7 cylinder of the optical disk board and the alternative cylinder. 4 shows a conventional operation example, FIG. 5 shows an instruction format according to an embodiment of the present invention, and FIG. 6 shows an example of memory allocation according to an embodiment of the present invention. Figure 7. 8 and 9 are diagrams each showing a recording example used to explain the operation of the present invention, FIG. 10 is a flowchart showing an example of a write operation in this invention, and FIG. 11 is a diagram showing an example of a read operation in this invention. The flowchart, FIG. 12, briefly shows the write operation in this invention.Isk device, 100...address recorder, 101...data counter, 102...
・Data reno star, 103... microprocessor,
104... Control unit, 105... Micro program storage unit, 106... Control byte storage unit, 11... Optical disk board, 12... Alternative cylinder area, 13... Datan ring area, 21 .23...ID department, 22...
- Flag section, 24 - Data area, 25... Alternative record area. Patent Applicant NEC Corporation Agent Takuo Kusano 1 Diagram 2 Diagram 3 t'c,u'',,,++;9'Oki 5 Diagram+01000004 Broadbow Flea Lead+01000011tl Issue 4 Mouth Prize Belao 6 Figure offing 7 Figure 1゜

Claims (1)

【特許請求の範囲】[Claims] 中央処理装置からの指令により光デイスク装置のリード
/ライト動作等を制御する入出力制御装置において、前
記光デイスク装置を制御する為の制御回路にマイクロプ
ログラムにより制御情報が格納される記憶部と、前記中
央処理装置より実行される命令に拡張リード/ライト命
令と代替シリンダアドレス情報を指示する命令が設けら
れ、前記記憶部には、前記命令によって受取った代替シ
リンダアドレス情報を記憶する領域と、現在動作を実行
中のシリンダアドレス情報を記憶する領域と、動作に必
要な制御バイトを記憶する仙域とが設けられ、且つ、前
記制御バイトには、代替レコード処理中、代替シリンダ
処理中、ベリファイ実行中を表示するビットが設定され
、これらの記憶部内の制御情報によシ前記光ディスク装
置の制御特に代替処理動作を自動的に行うことを特徴と
するディスク装置の入出力制御装置。
In an input/output control device that controls read/write operations, etc. of an optical disk device based on commands from a central processing unit, a storage section in which control information is stored by a microprogram in a control circuit for controlling the optical disk device; The instructions executed by the central processing unit include an extended read/write instruction and an instruction for instructing alternative cylinder address information, and the storage unit includes an area for storing alternative cylinder address information received by the instruction, and a current An area for storing cylinder address information during execution of an operation and a storage area for storing control bytes necessary for the operation are provided, and the control byte includes information during alternate record processing, alternate cylinder processing, and verification execution. 1. An input/output control device for a disk device, wherein a bit indicating the inside of the optical disk device is set, and control of the optical disk device, particularly alternative processing operations, is automatically performed based on control information in these storage sections.
JP19542683A 1983-10-19 1983-10-19 Input and output controller of disc device Pending JPS6086622A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19542683A JPS6086622A (en) 1983-10-19 1983-10-19 Input and output controller of disc device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19542683A JPS6086622A (en) 1983-10-19 1983-10-19 Input and output controller of disc device

Publications (1)

Publication Number Publication Date
JPS6086622A true JPS6086622A (en) 1985-05-16

Family

ID=16340872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19542683A Pending JPS6086622A (en) 1983-10-19 1983-10-19 Input and output controller of disc device

Country Status (1)

Country Link
JP (1) JPS6086622A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005124773A1 (en) * 2004-06-15 2005-12-29 Matsushita Electric Industrial Co., Ltd. Drive device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005124773A1 (en) * 2004-06-15 2005-12-29 Matsushita Electric Industrial Co., Ltd. Drive device
WO2005124774A1 (en) * 2004-06-15 2005-12-29 Matsushita Electric Industrial Co., Ltd. Drive device
WO2005124772A1 (en) * 2004-06-15 2005-12-29 Matsushita Electric Industrial Co., Ltd. Drive device
JPWO2005124773A1 (en) * 2004-06-15 2008-04-17 松下電器産業株式会社 Drive device
JP4495156B2 (en) * 2004-06-15 2010-06-30 パナソニック株式会社 Drive device
US7924666B2 (en) 2004-06-15 2011-04-12 Panasonic Corporation Drive device
US7940613B2 (en) 2004-06-15 2011-05-10 Panasonic Corporation Drive device
US7990825B2 (en) 2004-06-15 2011-08-02 Panasonic Corporation Drive device

Similar Documents

Publication Publication Date Title
US4598357A (en) Cache/disk subsystem with file number for recovery of cached data
JP2002278819A (en) Generation management method for snap shot image, storage medium and generation management system
JPH01128266A (en) Method for controlling drive device for writable disk
JPH06250906A (en) Backup/recovery system for data developed in main storage device
JPS6086622A (en) Input and output controller of disc device
JPS5856165A (en) Record update system
JP2584119B2 (en) Data recording method in memory card and memory card system
JPS59206963A (en) Input-output controlling system
JPS5938930A (en) Optical disk controller
JPH03222158A (en) Additionally writing method for data
JPH02278572A (en) Alternative block processing system
JP2637594B2 (en) Information recording / reproducing device
JPS58154043A (en) Information processor
JPS6117274A (en) Optical disk control device
JPH09330253A (en) Memory dump method and memory damp system applying the same
JPH0528651A (en) Information recorder and reproducer
JPH04111030A (en) Information recorder
JPH0191375A (en) Magnetic disk controller
JPH10124400A (en) Data processor and method for accessing data recording medium
JPS601672A (en) Processing method for defective block of magnetic disk device
JPH0335477A (en) Peripheral memory controller
JPS59197947A (en) System for updating information of doubled file
JP3594495B2 (en) Control device
JPH07271518A (en) Magnetic disk device
JPS61283074A (en) Optical system information device