JPH0227570A - Magnetic disk controller - Google Patents
Magnetic disk controllerInfo
- Publication number
- JPH0227570A JPH0227570A JP17739488A JP17739488A JPH0227570A JP H0227570 A JPH0227570 A JP H0227570A JP 17739488 A JP17739488 A JP 17739488A JP 17739488 A JP17739488 A JP 17739488A JP H0227570 A JPH0227570 A JP H0227570A
- Authority
- JP
- Japan
- Prior art keywords
- sector
- magnetic disk
- overrun error
- internal memory
- 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
Links
- 238000001514 detection method Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、情報処理装置に使用する磁気ディスク制御装
置に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a magnetic disk control device used in an information processing device.
従来の技術
従来、磁気ディスク制御装置において、リード時のオー
バーランエラー発生に対する磁気ディスク制御装置での
リトライ方法としては、オーバーランエラー発生セクタ
より、再度リード動作を実行する方法が一般的であった
。Conventional technology Conventionally, in a magnetic disk control device, when an overrun error occurs during a read, the general retry method in a magnetic disk control device is to re-execute the read operation from the sector where the overrun error occurred. .
発明が解決しようとする課題
しかしながら、L述した従来の磁気ティスフ制御装置の
オーバーランエラー発生時の磁気ディスク制御装置での
リトライ実行方法においては、オーバーランエラー発生
セクタの再リード動作をするために、−回転待ちが発生
し、−回転待ちに必要な時間だけ、リード動作の終了が
遅れるという欠点があった。Problems to be Solved by the Invention However, in the retry execution method in the magnetic disk control device when an overrun error occurs in the conventional magnetic disk control device described above, in order to re-read the sector where the overrun error has occurred, , - A rotation wait occurs, and - the end of the read operation is delayed by the time required for the rotation wait.
本発明は従来の技術に内在する上記欠点を解消する為に
なされたものであり、従って本発明の目的は、オーバー
ランエラー発生時における磁気ディスク制御装置でのリ
トライ動作の実行時間を短縮することを可能とした新規
な磁気ディスク制御装置を提供することにある。The present invention has been made in order to eliminate the above-mentioned drawbacks inherent in the conventional technology, and therefore, an object of the present invention is to shorten the execution time of a retry operation in a magnetic disk control device when an overrun error occurs. The object of the present invention is to provide a new magnetic disk control device that enables the following.
課題を解決するための手段
」―記目的を達成する為に1本発明に係る磁気ディスク
制御装置は、磁気ディスク装置より読出したリードデー
タを主記憶装置へ転送する手段と、上記リードデータを
上記主記憶装置へ転送するのと同時に内部メモリへ書込
む手段と、リード時のオーバーランエラーを検出する手
段と、オーバーランエラーを発生したセクタを記憶する
手段と。1. A magnetic disk control device according to the present invention includes means for transferring read data read from a magnetic disk device to a main storage device, and a means for transferring read data read from a magnetic disk device to a main storage device. means for writing into the internal memory at the same time as transferring to the main memory; means for detecting an overrun error during reading; and means for storing the sector in which the overrun error has occurred.
上記オーバーランエラーを発生したセクタを記憶する手
段により記憶したオーバーランエラー発生セクタよりオ
ーバーランエラーの発生したセクタのデータを記憶した
内部メモリのメモリアドレスを計算する手段と、オーバ
ーランエラー発生時のリトライ実行によるデータ転送動
作を上記メモリアドレスを計算する手段により計算され
た上記内部メモリのアドレスより読出したデータのデー
タ転送により実行する手段とを備えて構成される。means for calculating a memory address of an internal memory storing data of a sector in which an overrun error has occurred from the sector in which an overrun error has occurred, which is stored by the means for storing the sector in which an overrun error has occurred; and means for executing a data transfer operation by executing a retry by transferring data read from the address of the internal memory calculated by the means for calculating the memory address.
実施例
次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。Embodiment Next, a preferred embodiment of the present invention will be specifically explained with reference to the drawings.
第1図は本発明の一実施例を示す概念的ブロック構成図
である。FIG. 1 is a conceptual block diagram showing an embodiment of the present invention.
第1図において、磁気ディスク制御装置1()0は、バ
ス制御回路10.マイクロプロセッサ回路20、磁気デ
ィスク制御回路30、RAM/lo、内部メモリ50、
アドレスレジスタ60、及びアンダーラン検出回路70
より構成されている。又、磁気ディスク制御装置100
は、磁気ディスク装置200に接続されるとともに、バ
ス300を介して中央処理装置400及び主記憶装置5
00に接続されている。In FIG. 1, a magnetic disk control device 1()0 includes a bus control circuit 10. Microprocessor circuit 20, magnetic disk control circuit 30, RAM/lo, internal memory 50,
Address register 60 and underrun detection circuit 70
It is composed of Moreover, the magnetic disk control device 100
is connected to the magnetic disk device 200, and also connected to the central processing unit 400 and the main storage device 5 via the bus 300.
Connected to 00.
この様に構成された磁気ディスク制御装置100の動作
は次の通りである。中央処理装置400より磁気ディス
ク装置200に対するリード命令がバス300を介して
磁気ディスク制御装置100に入力されたとすると、マ
イクロプロセッサ回路20は磁気ディスク制御回路30
を介して磁気ディスク装置200に対してシーク動作を
実行させる。The operation of the magnetic disk control device 100 configured in this manner is as follows. Assuming that a read command for the magnetic disk device 200 is input from the central processing unit 400 to the magnetic disk control device 100 via the bus 300, the microprocessor circuit 20 reads the read command from the magnetic disk control circuit 30.
The magnetic disk device 200 is caused to perform a seek operation via the .
シーク動作の完了を磁気ディスク制御回路30を介し゛
〔マイクロプロセッサ回路20が認識すると。When the microprocessor circuit 20 recognizes the completion of the seek operation via the magnetic disk control circuit 30.
マイクロプロセッサ回路20は、アドレスレジスタ60
及びRAM40の内容をクリアするとともに、磁気ディ
スク制御回路30に対しリード命令を出力する。The microprocessor circuit 20 has an address register 60
and clears the contents of the RAM 40, and outputs a read command to the magnetic disk control circuit 30.
磁気ディスク制御回路30は、磁気ディスク装置200
からのリードデータを読出し、目的のセクタを検出する
と、読出したデータをバス制御回路10、バス300を
介して主記憶装置500へ書込むとともに読出したデー
タを内部メモリ50へ書込む、この場合、アドレスレジ
スタ60は1バイトのデータを1込むごとにインクリメ
ントされる。又、磁気ディスク制御回路30は、バス制
御回路IOへ出力するデータ量より磁気ディスク装随2
00から読出すデータ量の方が多い場合には、アンダー
ランエラーとし、アンダーラン検出回路70のフラグを
セットする。The magnetic disk control circuit 30 is a magnetic disk device 200
When the target sector is detected, the read data is written to the main storage device 500 via the bus control circuit 10 and the bus 300, and the read data is also written to the internal memory 50. In this case, The address register 60 is incremented each time one byte of data is loaded. Furthermore, the magnetic disk control circuit 30 determines whether the magnetic disk drive 2
If the amount of data read from 00 is larger, an underrun error is determined and a flag in the underrun detection circuit 70 is set.
マイクロプロセッサ回路20は、1セクタの読出し動作
が終了すると、アンダーラン検出回路70の状態をチエ
ツクし、アンダーランエラーが検出されている場合には
アンダーランエラーが発生したセクタ値をRAM40に
書込む(但しすでにセクタ値が書込まれている場合、書
込動作を実行しない)動作を実行後、アンダーランエラ
ーが検出されていない場合と同様に、リードセクタのチ
エツクを実施する。続けてリード動作を実行する場合に
は、マイクロプロセッサ回路20は磁気ディスク制御回
路30に対してリード動作継続命令を出力する。又、リ
ードセクタのチエツクを実施し、リード動作の終了を認
識すると、マイクロプロセッサ回路20は、flAM4
0の内容を読出し、セクタの値がセットされていない場
合には、リード動作の終了割込をバス制御回路lO,バ
ス300を介して中央処理装置400へ出力する。又、
RAM40の内容を読出し、セクタの値がセットされ
ている場合には、マイクロプロセッサ回路20は、 R
AM40より読出したセクタ値より。When the read operation for one sector is completed, the microprocessor circuit 20 checks the state of the underrun detection circuit 70, and if an underrun error is detected, writes the value of the sector in which the underrun error has occurred to the RAM 40. (However, if a sector value has already been written, the write operation is not executed.) After executing the operation, the read sector is checked in the same way as when no underrun error is detected. When continuing to perform a read operation, the microprocessor circuit 20 outputs a read operation continuation command to the magnetic disk control circuit 30. Furthermore, when the microprocessor circuit 20 checks the read sector and recognizes that the read operation has ended, the microprocessor circuit 20 checks the flAM4.
0 is read, and if the value of the sector is not set, a read operation end interrupt is output to the central processing unit 400 via the bus control circuit IO and the bus 300. or,
When the contents of the RAM 40 are read and the value of the sector is set, the microprocessor circuit 20 performs R
From the sector value read from AM40.
オーバーランエラーが検出されたセクタのデータが内部
メモリ50上で記憶されている先頭アドレスを計ti
L、その値をアドレスレジスタ60にセットし、内部メ
モリ50のデータをバス制御回路10、バス300を介
して主記憶装置500へ転送する。全てのデータが主記
憶装置500へ転送されると、マイクロプロセッサ回路
20は終了割込をバス制御回路10、バス300を介し
て中央処理装置400へ出力し、リード動作を終了する
。Calculate the starting address where the data of the sector where the overrun error was detected is stored on the internal memory 50.
L, the value is set in the address register 60, and the data in the internal memory 50 is transferred to the main storage device 500 via the bus control circuit 10 and the bus 300. When all the data has been transferred to the main memory device 500, the microprocessor circuit 20 outputs a termination interrupt to the central processing unit 400 via the bus control circuit 10 and the bus 300, and ends the read operation.
発明の詳細
な説明したように、本発明の磁気ディスク制、御装置を
採用することにより、オーバーランエラー発生時の磁気
ディスク制御装置でのリトライ動作の実行時間を短く出
来るという効果が得られる。As described in detail, by employing the magnetic disk control device of the present invention, it is possible to shorten the execution time of the retry operation in the magnetic disk control device when an overrun error occurs.
第1図は本発明の一実施例を示すブロック構成図である
。
10、、、バス制御回路、 20.、、マイクロプロセ
ッサ回路、 30.、、磁気ディスク制御回路、40.
、、RAM。
50、、、内部メモリ、 60.、、アドレスレジスタ
、70.、。FIG. 1 is a block diagram showing one embodiment of the present invention. 10., bus control circuit, 20. ,,microprocessor circuit, 30. , , magnetic disk control circuit, 40.
,,RAM. 50. Internal memory 60. , ,address register, 70. ,.
Claims (1)
置へ転送する手段と、上記リードデータを上記主記憶装
置へ転送するのと同時に内部メモリへ書込む手段と、リ
ード時のオーバーランエラーを検出する手段と、オーバ
ーランエラーを発生したセクタを記憶する手段と、上記
オーバーランエラーを発生したセクタを記憶する手段に
より記憶したオーバーランエラー発生セクタよりオーバ
ーランエラーの発生したセクタのデータを記憶した内部
メモリのメモリアドレスを計算する手段と、オーバーラ
ンエラー発生時のリトライ実行によるデータ転送動作を
上記メモリアドレスを計算する手段により計算された上
記内部メモリのアドレスより読出したデータのデータ転
送により実行する手段、とを有することを特徴とした磁
気ディスク制御装置。A means for transferring read data read from a magnetic disk device to a main storage device, a means for writing the read data to an internal memory at the same time as transferring it to the main storage device, and a means for detecting an overrun error during reading. a means for storing a sector in which an overrun error has occurred; and an internal memory storing data of a sector in which an overrun error has occurred from the sector in which an overrun error has occurred, which is stored by the means for storing a sector in which an overrun error has occurred. means for calculating a memory address of the internal memory, and means for executing a data transfer operation by retrying when an overrun error occurs by transferring data read from the address of the internal memory calculated by the means for calculating the memory address; A magnetic disk control device comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17739488A JPH0227570A (en) | 1988-07-15 | 1988-07-15 | Magnetic disk controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP17739488A JPH0227570A (en) | 1988-07-15 | 1988-07-15 | Magnetic disk controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0227570A true JPH0227570A (en) | 1990-01-30 |
Family
ID=16030165
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP17739488A Pending JPH0227570A (en) | 1988-07-15 | 1988-07-15 | Magnetic disk controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0227570A (en) |
-
1988
- 1988-07-15 JP JP17739488A patent/JPH0227570A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH05224833A (en) | Data guaranteeing method of external storage device | |
| JPH0227570A (en) | Magnetic disk controller | |
| JP3244203B2 (en) | Information processing device | |
| JPS58109954A (en) | Magnetic disc controller | |
| JPS62250563A (en) | Magnetic disk storage device | |
| JP2913873B2 (en) | Data processing system | |
| JPS61127026A (en) | Optical disk controller | |
| JPS6347937Y2 (en) | ||
| JPH04351764A (en) | Magnetic disk device | |
| JPH0431129B2 (en) | ||
| JPH0440794B2 (en) | ||
| JPH01251375A (en) | Magnetic disk controller | |
| JP2854438B2 (en) | Access control method for optical disk device | |
| JPS5816212B2 (en) | Error retry control method | |
| JPS6050672A (en) | Read control system of rotary memory | |
| JPH0528667A (en) | Magnetic disk control part | |
| JPS6113259B2 (en) | ||
| JP2876488B2 (en) | Semiconductor file memory device | |
| JPS58171724A (en) | Copy controller of magnetic disc tape | |
| JPS6247735A (en) | Controller for external memory device | |
| JPS5954091A (en) | Electronic computer | |
| JPH06124173A (en) | Disk controller | |
| JPS63228322A (en) | Floppy disk controller | |
| JPH04128917A (en) | Read retrying circuit | |
| JPS61127025A (en) | Optical disk controller |