JPS59168558A - Converting system of address mode - Google Patents
Converting system of address modeInfo
- Publication number
- JPS59168558A JPS59168558A JP4275183A JP4275183A JPS59168558A JP S59168558 A JPS59168558 A JP S59168558A JP 4275183 A JP4275183 A JP 4275183A JP 4275183 A JP4275183 A JP 4275183A JP S59168558 A JPS59168558 A JP S59168558A
- Authority
- JP
- Japan
- Prior art keywords
- address
- binary
- magnetic disk
- cylinder head
- conversion
- 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
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明はアドレスモード変換方式に係り、特に磁気ディ
スク装置のようにシリンダ、ヘッド及びセクタで表わさ
れるアドレスをメモリのアドレスのような連続的なバイ
ナリ方式のアドレスに変換したりするいはこの逆にバイ
ナリ方式のアドレスをシリンダ、ヘッド及びセクタで表
わされるアドレスに変換するものに関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an address mode conversion method, and in particular converts addresses represented by cylinders, heads, and sectors as in magnetic disk drives into continuous binary addresses such as memory addresses. The present invention relates to converting a binary system address into a binary system address, or conversely, converting a binary system address into an address expressed in cylinders, heads, and sectors.
例えば第1図に示す如く、複数の磁気ディスクDとヘッ
ドHo〜Hイを具備する磁気ディスク装置をアクセスす
るとき、シリンダの指定と、ヘッドの指定と、セクタの
指定が必要であり、この3つのデータが用意されてはじ
めて磁気ディスク装置の特定領域をアクセスすることが
できる。ここでシリンダQは磁気ディスクD上の何番目
の円周であるのかを示し、ヘッドHは磁気ディスクのど
の面をアクセスするかを示し、セクタSは円周上の区分
領域を示している。For example, as shown in FIG. 1, when accessing a magnetic disk device equipped with a plurality of magnetic disks D and heads Ho to H I, it is necessary to specify a cylinder, a head, and a sector. A specific area of the magnetic disk device can only be accessed after one piece of data is prepared. Here, the cylinder Q indicates the number of the circumference on the magnetic disk D, the head H indicates which surface of the magnetic disk is accessed, and the sector S indicates a divided area on the circumference.
ところで処理装置(以下ホスト装置という)でデータを
取扱う場合に龜、メモリのアドレスは連続的なバイナリ
−・アドレスで表現した方が取扱いやすいので5.ホス
ト装置ではバイナリー−アドレスを使用して演算を遂行
する方が効ホ的である。By the way, when handling data in a processing device (hereinafter referred to as a host device), it is easier to represent memory addresses as continuous binary addresses, so 5. It is more efficient for the host device to perform operations using binary addresses.
しかし磁気ディスク装置をアクセスする場合には。However, when accessing a magnetic disk device.
バイナリ−・アドレスよりも上記の如くシリンダ・ヘッ
ド・セクタ・アドレス方式が必要で尾る。Rather than binary addressing, the cylinder head sector addressing system is needed as described above.
それ故、従来ではホスト装置においてバイナソー・アド
レス方式とシリンダーヘッド・セクタ・アドレス方式と
の変換用のプログラムを用意してホスト装置?;7.
fアドレス演算等を行う場合にはバイナリ−・アドレス
方式で行うとともに、磁気ディスク装置に対してアクセ
スするとき、または磁気ディスク装置行からアトビスが
送出されたとき等ではこの変換用プログラムにより必要
とするアドレスを換算しなけれ捕′ならなかったので、
これらのアドレス変換用のためにホストの負担が大きく
なり、データ処理がおくれるという欠点があった。Therefore, in the past, a program for converting between the binary addressing method and the cylinder head sector addressing method was prepared in the host device. ;7.
When performing f-address calculations, etc., the binary address method is used, and when accessing the magnetic disk device or when ATOBIS is sent from the magnetic disk device line, this conversion program is required. I had to convert the address to get it, so
This has the drawback of increasing the burden on the host due to these address translations and slowing down data processing.
またこのようなアドレス変換方式を採用しないデーータ
処理システムではバイナリ−・アドレス方式を使用でき
ないためにシリンダ・ヘッド・セクタ・アドレス方式に
よりアドレス演算を行わなければならず、演算速度がお
そくなる、という問題が存在する。In addition, in data processing systems that do not employ such address conversion methods, the binary addressing method cannot be used, so address calculations must be performed using the cylinder head sector addressing method, which slows down the calculation speed. exists.
本発明の目的は上記の如き問題点を改善するために、ホ
スト装置と磁気ディスク装置間のインタフェース上にこ
のバイナリ−嘩アドレスとシリンダ・ヘッド・セクタ・
アドレスとの変換を行う変換部を設置するこ七を目的と
する。The purpose of the present invention is to improve the above-mentioned problems by providing binary addresses and cylinder head sectors on the interface between the host device and the magnetic disk device.
The purpose is to install a conversion unit that converts addresses.
この目的を達成するために本発明のアドレスモード変換
方式では、処理装置と磁気ディスク装置を具備する計算
機ンステムでおって、磁気ディスク装置をシリンダ、ヘ
ッド、セクタで示すアドレスでアクセスするとともに処
理装置と磁気ディスク装置との間のインタフェース上に
アドレスモード変換部を設け、このアドレスモード変換
部に。In order to achieve this object, the address mode conversion method of the present invention allows a computer system equipped with a processing unit and a magnetic disk device to access the magnetic disk device using addresses indicated by cylinders, heads, and sectors, and to An address mode converter is provided on the interface between the magnetic disk device and the address mode converter.
シリンダーヘッド−セクタ・アドレス方式とバイナリφ
アドレス方式を相互変換するアドレス変換手段と、切換
手段、検U」手段を設け、この検出手段により切換手段
を制御してアドレス変換制御を行うようにしたことを特
徴とする3゜
〔発明の実施例〕
本発明の一実施例を第2図〜第5図にもとづき説明する
。Cylinder head - sector addressing system and binary φ
3. [Practice of the invention] characterized in that an address conversion means for mutually converting address systems, a switching means, and a detection means are provided, and the switching means is controlled by the detection means to perform address conversion control. Example] An embodiment of the present invention will be described based on FIGS. 2 to 5.
第2図は本発明におけるアドレスモード変換部の一例、
第6図はアドレス変換説明図、第4図は本発明のアドレ
スモード変換部の配置説明図、第5図はコマンド実行タ
イムチャートである。゛図中、1はアドレスモード変換
部、2は変換回路、3はバッファ、4は切換回路、5は
検出回路。FIG. 2 shows an example of the address mode converter in the present invention.
FIG. 6 is an explanatory diagram of address conversion, FIG. 4 is an explanatory diagram of the arrangement of the address mode conversion section of the present invention, and FIG. 5 is a command execution time chart. In the figure, 1 is an address mode converter, 2 is a conversion circuit, 3 is a buffer, 4 is a switching circuit, and 5 is a detection circuit.
10は磁気ディスク制御装置、11はポスト装置。10 is a magnetic disk control device, and 11 is a post device.
12〜14は磁気ディスク装置である。12 to 14 are magnetic disk devices.
アドレスモード変換部1は本発明の特徴的な部分であり
、第2図に示されるように変換回路2゜バッファ3.切
換回路4.検出回路5等により構成されている。そして
変換回路2はバイナリ・アドレスが伝達されたときこれ
を磁気ディスク用のシリンダ・ヘッド・セクタ・アドレ
スに変換して出力し、逆にシリンダ・ヘッド・セクタ・
アドレスが入力されたときこれをバイナリ・アドレスに
変換して出力するものである。切換回路4は、ホスト装
置から入力されたバイナリ・アドレスをバッファ3を経
由して変換回路2に入力しアドレス、変換したものを磁
気ディスク装置に出力したり。The address mode converter 1 is a characteristic part of the present invention, and as shown in FIG. Switching circuit 4. It is composed of a detection circuit 5 and the like. When the binary address is transmitted, the conversion circuit 2 converts it into a cylinder head sector address for the magnetic disk and outputs it, and vice versa.
When an address is input, it is converted into a binary address and output. The switching circuit 4 inputs the binary address input from the host device to the conversion circuit 2 via the buffer 3, and outputs the address and the converted address to the magnetic disk device.
逆に磁気ディスク装置から入力されたシリンダ・ヘッド
・セクタ・アドレスをバッファ6を経由して変換回路2
に入力してバイナリ−アドレスに変換したものをホスト
装置に出力するものである。Conversely, the cylinder head sector address input from the magnetic disk device is sent to the conversion circuit 2 via the buffer 6.
The address is input to the host device, converted into a binary address, and output to the host device.
々お磁気ディスク装置から入力されるデータは。The data input from each magnetic disk device.
第3図に示す如く、シリンダC,ヘッドH,セクタSの
情報の外に転送バイト数やフラグがある。As shown in FIG. 3, in addition to information on cylinder C, head H, and sector S, there are the number of transferred bytes and a flag.
このフラグは磁気ディスク装置が複数台あるとき磁気デ
ィスク装置を識別する機番コード等が含まれている。そ
してこのうちシリンダCアヘッドH。This flag includes a machine number code, etc. for identifying a magnetic disk device when there are a plurality of magnetic disk devices. And among these, cylinder C ahead H.
セクタSの各情報にもとづきバイナリ・アドレスが作成
される。勿論、必要に応じてフラグ部分も変更される。A binary address is created based on each piece of information in sector S. Of course, the flag portion may also be changed as necessary.
検出回路5けバイナリ・モードで制御するときであって
(バイナリ・モード信号オン)。This is when the five detection circuits are controlled in binary mode (binary mode signal on).
データ転送時ではなく (TXオフ)、コマンド実行中
で(BUSYオン)、最終終了報告ではなく(JNT
オフ)、かつコマンド・ステータス・モードではない
(Aoオフ)ことを検出して切換制御信号を送出し、切
換回路4をホスト装置べあるいは磁気ディスク装置斤か
ら出力されたバイナリ・アドレスあるいはシリンダ・ヘ
ッド・セクタ・アドレスを上記の如く変換するように変
換回路2に伝達して所期の変換が行われたのちに出力す
るように制御するものである。なお上記バイナリ・モー
ド信号は9例えば切替スイッチ等で指定するものである
。Not during data transfer (TX off), during command execution (BUSY on), and not during final completion report (JNT
off) and not in the command status mode (Ao off), it sends a switching control signal, and switches the switching circuit 4 to the binary address or cylinder head output from the host device or magnetic disk device. - It transmits the sector address to the conversion circuit 2 so as to convert it as described above, and controls the output after the desired conversion has been performed. The binary mode signal mentioned above is specified by, for example, a changeover switch.
第2図に示すアドレスモード変換部1は1例えば第4図
に示す如く、磁気ディスク制御装置10のインタフェー
ス部分に設置される。The address mode converter 1 shown in FIG. 2 is installed, for example, in an interface portion of the magnetic disk control device 10, as shown in FIG.
したがって第4図に示すシステムがバイナリ・モードで
動作する場合、上記の如く切換スイッチ等により、第2
図の検出回M5に印加1.されるバイナリ・モード信号
をオンにする。この状態において例オーは磁気ディスク
制御装r4X1’0よりホスト装置11に対してシリン
ダ・ヘッド・セクタ・アドレスが出力されるとき、アド
レスモード変換部1では検出回路5が終了スティタス転
送の条件、つまりTXオフ、BU8Yオン、INTオン
、へ〇オフ状態を検出したとき「1」を出力し、このア
ドレスを変換回路2でバイナリ・アドレスに変換してホ
スト装置11に出)する。また逆にホスト装置11から
バイナリ・アドレスが伝達されたとき(パラメータ転送
)、アドレスモード変換部1の変換回路2ではこれを前
記の如くシリンダ・ヘッド・セクタ・アドレスに変換し
てこれを磁気ディスク制御装置10に出力するっ
しかし第4図に示すシステムが、バイナリ・アドレスを
使用しないシステムの場合には、第2図の検出回路5に
印加されるバイナリ・モード信号がオフになるように切
換スイッチ等で制御する。Therefore, when the system shown in Fig. 4 operates in binary mode, the second
Application to detection time M5 in the figure 1. Turn on the binary mode signal. In this state, when the cylinder head sector address is output from the magnetic disk controller r4X1'0 to the host device 11, the detection circuit 5 in the address mode converter 1 detects the conditions for completion status transfer, that is, TX OFF, BU8Y ON, INT ON, 〇When the off state is detected, it outputs "1", and the conversion circuit 2 converts this address into a binary address and outputs it to the host device 11). Conversely, when a binary address is transmitted from the host device 11 (parameter transfer), the conversion circuit 2 of the address mode conversion unit 1 converts it into a cylinder head sector address as described above and transfers it to the magnetic disk. However, if the system shown in FIG. 4 does not use binary addresses, the binary mode signal applied to the detection circuit 5 of FIG. 2 is switched off. Controlled by a switch, etc.
この状態のときに磁気ディスク制御装置10からシリン
ダ・ヘッド・セクタ9アドレスが出力されて切換回路4
に伝達されても検出回路5は「0」を出力しているので
切換回路4はスルー動作を行うので、このシリンダeヘ
ッド拳セクタ・アドレスは変換回路2で変換されること
なくそのままホスト装置11に伝達されることになる。In this state, the cylinder head sector 9 address is output from the magnetic disk controller 10 and the switching circuit 4
Since the detection circuit 5 outputs "0" even when the data is transmitted to the host device 11, the switching circuit 4 performs a through operation. It will be transmitted to
それ故、このアドレスモード変換部1をイノタフエース
部に設けた磁気ディスク制御装置10を使用して、シリ
ンダーヘッド・セクタ9アドレスで制御することも、捷
たバイナリ・アドレスで制御することもいずれも選択す
ることができる。Therefore, using the magnetic disk control device 10 in which this address mode converter 1 is installed in the Innotaface part, it is possible to select either control using the cylinder head sector 9 address or control using a truncated binary address. can do.
ところで、第4図のシステムでは、コマンド実行タイム
チャートは第5図(イ)〜蛯)の状態で示される。すな
わちコマンドセットが最初にあり、ついでパラメータ(
シリンダ、ヘッド、セクタ等)転送があり、それからリ
ード/ライトデータの転送が行われ、このデータ転送が
正常に終了したか否かを示す終了スティタス転送が行わ
れる。そしてコマンドセットとともに、第5図(利に示
す如く。By the way, in the system shown in FIG. 4, the command execution time chart is shown in the states shown in FIGS. That is, the command set comes first, then the parameters (
There is a transfer (cylinder, head, sector, etc.), then a read/write data transfer, and an end status transfer indicating whether or not this data transfer has been completed normally. Then, along with the command set, as shown in FIG.
コマンド実行中を示すBUSY信号が出力され、データ
転送に先立ちアテンションATNが出力され。A BUSY signal indicating that a command is being executed is output, and an attention ATN is output before data transfer.
データ転送時にはデータ転送中であることを示すTXが
出力される。そして終了ステ・イタス報告時には、最終
終了報告信号INTが出力される。またパラメータ転送
時からコマンド・ステータス・モードを示すんが出力さ
れる。勿論ライトの場合には、第5図(ヌ)に示す如く
、ライトパルスが出力され、リードの場合には、第5図
内)に示す如くリードパルスが出力される。そしてデー
タ転送要求時には、第5図(オ)で示す如(DREQが
出力される。During data transfer, TX indicating that data is being transferred is output. When reporting the completion status, a final completion report signal INT is output. Also, from the time of parameter transfer, the command, status, and mode are output. Of course, in the case of a write, a write pulse is output as shown in FIG. 5 (N), and in the case of a read, a read pulse is output as shown in FIG. When a data transfer request is made, DREQ is output as shown in FIG. 5(E).
この第5図に示さ)しるコマンド実行のタイムチャート
のように、パラメータや終了スティタス転送はあらかじ
め決められているので、このタイムチャートとバイト・
カウンタを使用することにより変換用タイミング回路を
簡単に得ることができる。As shown in the command execution time chart (shown in Figure 5), parameters and end status transfer are predetermined, so this time chart and byte
By using a counter, a conversion timing circuit can be easily obtained.
勿論パラメータや、終了スティタスの転送の際には、一
旦、第2図に示すバッファ3にセットされてからバイナ
リ・アドレスに変換されることになる。Of course, when transferring parameters or end status, they are first set in the buffer 3 shown in FIG. 2 and then converted into binary addresses.
本発明では、バイナリアドレス−シリンダ・ヘッド・セ
クタ・アドレスの変換をホスト装置内ではなくインタフ
ェース上に行うことができるので。In the present invention, the conversion between binary address and cylinder head sector address can be performed on the interface rather than within the host device.
ホスト装置の負担を非常に軽減し、データ処理を・スピ
ード会アップすることができるのみならず。Not only can it greatly reduce the burden on the host device and speed up data processing.
旧機種で変換回路を持たない装置に対してもバイナリア
ドレス方式を提供することができる。The binary addressing method can also be provided to devices that are older models and do not have a conversion circuit.
第1図は磁気ディスクの説明図、第2図は本発明におけ
るアドレスモード変換部の一例、第3図はアドレス変換
説明図、第4図は本発明のアドレスモード変換部の配置
説明図、第5図はコマンド実行タイムチャートである。
図中、1はアドレスモード変換部、2は変換回路、3は
バッファ、4は切換回路、5は検出回路。
10は磁気ディスク制御装置、11はホスト装置。
12−14は磁気ディスク装置である。
特許出願人 富士通株式会社
代理人弁理士 山 谷 晧 榮FIG. 1 is an explanatory diagram of a magnetic disk, FIG. 2 is an example of an address mode conversion section in the present invention, FIG. 3 is an explanatory diagram of address conversion, and FIG. 4 is an explanatory diagram of the arrangement of the address mode conversion section of the present invention. Figure 5 is a command execution time chart. In the figure, 1 is an address mode converter, 2 is a conversion circuit, 3 is a buffer, 4 is a switching circuit, and 5 is a detection circuit. 10 is a magnetic disk control device, and 11 is a host device. 12-14 is a magnetic disk device. Patent applicant Fujitsu Ltd. Representative Patent Attorney Akira Yamatani
Claims (1)
であって、磁気ディスク装置をシリンダ。 ヘッド、セクタで示すテドレスーでアクセスするととも
に処理装置と磁気ディスク装置との間のインタフェース
上にアドレスモード変換部を設け、このアドレスモード
変換部に、シリンダ・ヘッド・セクターアドレス方式と
バイナリ拳アドレス方式を相互変換するアドレス変換手
段と、切換手段。 検出手段を設け、この検出手段により切換手段を制御し
てアドレス変換制御を行うようにしたことを特徴とする
アドレスモード変換方式。[Claims] A computer system comprising a processing unit and a magnetic disk device, the magnetic disk device being a cylinder. In addition to accessing by the address indicated by head and sector, an address mode converter is provided on the interface between the processing unit and the magnetic disk drive, and this address mode converter has a cylinder head sector address method and a binary fist address method. Address conversion means for mutual conversion and switching means. 1. An address mode conversion system characterized in that a detection means is provided, and the detection means controls a switching means to perform address conversion control.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4275183A JPS59168558A (en) | 1983-03-15 | 1983-03-15 | Converting system of address mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4275183A JPS59168558A (en) | 1983-03-15 | 1983-03-15 | Converting system of address mode |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS59168558A true JPS59168558A (en) | 1984-09-22 |
Family
ID=12644703
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4275183A Pending JPS59168558A (en) | 1983-03-15 | 1983-03-15 | Converting system of address mode |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS59168558A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05119927A (en) * | 1991-10-25 | 1993-05-18 | Fujitsu Ltd | Duplexed volume processing system |
-
1983
- 1983-03-15 JP JP4275183A patent/JPS59168558A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05119927A (en) * | 1991-10-25 | 1993-05-18 | Fujitsu Ltd | Duplexed volume processing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5038275A (en) | Status transfer structure within a data processing system with status read indication | |
GB2106675A (en) | Data transfer apparatus | |
JPH0316660B2 (en) | ||
US5268884A (en) | Seek control method and apparatus for disk apparatus | |
JPS59168558A (en) | Converting system of address mode | |
JP3183912B2 (en) | SCSI device self-diagnosis method | |
JPH05233513A (en) | Interface circuit for controlling data transfer | |
KR920007949B1 (en) | Peripheral controller | |
JP3147575B2 (en) | Data writing device and data block writing method | |
JP2560609B2 (en) | Magnetic disk drive | |
JP2840536B2 (en) | Bus connection control device | |
JP3243656B2 (en) | Disk array device | |
JP2721440B2 (en) | Data copy method for auxiliary storage device | |
JPH11282632A (en) | Interface device, controlling method and recording/ reproducing device | |
JPH0376059A (en) | Magnetic disk device | |
JPH05257609A (en) | Method for continuous writing process of disk device | |
JPS623455B2 (en) | ||
KR100465106B1 (en) | How to Process Digital Signals from Hard Disk Drives | |
EP0363087A2 (en) | Status transfer within a data processing system | |
JPS63159960A (en) | Interruption timing control system | |
JPH02280221A (en) | System for controlling disk | |
JPS58171724A (en) | Copy controller of magnetic disc tape | |
JPH0353361A (en) | Io control system | |
JPH0536197A (en) | Double write magnetic disk sub system | |
JPH05217286A (en) | Magnetic disk controller |