JPH0516099B2 - - Google Patents

Info

Publication number
JPH0516099B2
JPH0516099B2 JP2069401A JP6940190A JPH0516099B2 JP H0516099 B2 JPH0516099 B2 JP H0516099B2 JP 2069401 A JP2069401 A JP 2069401A JP 6940190 A JP6940190 A JP 6940190A JP H0516099 B2 JPH0516099 B2 JP H0516099B2
Authority
JP
Japan
Prior art keywords
recording medium
read
write
reading
recording
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 - Lifetime
Application number
JP2069401A
Other languages
Japanese (ja)
Other versions
JPH0395764A (en
Inventor
Masami Ishikura
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP6940190A priority Critical patent/JPH0395764A/en
Publication of JPH0395764A publication Critical patent/JPH0395764A/en
Publication of JPH0516099B2 publication Critical patent/JPH0516099B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Recording Or Reproducing By Magnetic Means (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、フロツピーデイスク(以下、シー
トとも言う)等の記録媒体の読み書きをコントロ
ールする記録媒体読み書き制御方法に関し、特
に、複数種類のフロツピーデイスクデバイスある
いは複数種類の記録媒体が共通の記録媒体読み書
き制御手段で読み書きされる場合の効果的制御に
関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a recording medium read/write control method for controlling reading and writing of a recording medium such as a floppy disk (hereinafter also referred to as a sheet), and in particular, relates to a recording medium read/write control method for controlling reading and writing of a recording medium such as a floppy disk (hereinafter also referred to as a sheet), and in particular, The present invention relates to effective control when a TSP disk device or a plurality of types of recording media are read and written by a common recording medium read/write control means.

[従来の技術] 従来、フロツピーデイスクコントローラ1は、
第1図に示したようにホストシステム2とフロツ
ピーデイスクデバイス3の中間に位置し、ホスト
システムからのコマンドに従つてフロツピーデイ
スクデバイス3を制御していた。
[Prior Art] Conventionally, the floppy disk controller 1 is
As shown in FIG. 1, it was located between the host system 2 and the floppy disk device 3, and controlled the floppy disk device 3 according to commands from the host system.

また、近年のめざましい磁気記録技術の進歩に
より、フロツピーデイスクデバイス用記録媒体な
どの記録密度が増大した。その結果、以前
48TPI、転送レート250KBit/secondで記録して
いた記録媒体(以下、Aタイプシートという)と
比較して、4倍もの記録容量をもつ96TPI、転送
レート500KBit/secondの記録媒体(以下、Bタ
イプシートという)が出現した。
Furthermore, with the remarkable progress in magnetic recording technology in recent years, the recording density of recording media for floppy disk devices and the like has increased. As a result, previously
Compared to a recording medium that recorded at 48 TPI and a transfer rate of 250 KBit/second (hereinafter referred to as A type sheet), a recording medium with a recording capacity of 96 TPI and a transfer rate of 500 KBit/second (hereinafter referred to as B type sheet) has four times the recording capacity. ) appeared.

また、以前のAタイプシートを読み書きできる
フロツピーデイスクデバイス(以下、Aタイプデ
バイスという)に加えて、AタイプシートとBタ
イプシートの両方を読み書きできるフロツピーデ
イスクデバイス(以下、Bタイプデバイスとい
う)が開発された。
In addition to the previous floppy disk device that can read and write A type sheets (hereinafter referred to as A type device), there is also a floppy disk device that can read and write both A type sheets and B type sheets (hereinafter referred to as B type device). was developed.

[発明が解決しようとする課題] しかし、前者のAタイプデバイスと後者のBタ
イプデバイスでは基本仕様が異なり、フロツピー
デイスクコントローラで実際に制御する場合は、
第2図のように2つのコントローラ1A,1Bが
必要であつた。よつてBタイプデバイス3Bを制
御したいと思つたならば、そのためコントローラ
ーボードを用意して設置しなければならず、他の
コントローラボードの収納スペースが小さくなつ
たり、コストが上がる等の欠点があつた。
[Problem to be solved by the invention] However, the basic specifications of the former A type device and the latter B type device are different, and when actually controlled with a floppy disk controller,
As shown in FIG. 2, two controllers 1A and 1B were required. Therefore, if you want to control the B type device 3B, you have to prepare and install a controller board for that purpose, which has disadvantages such as reducing the storage space for other controller boards and increasing costs. .

また、Bタイプドライブのように記録タイプの
異なる記録媒体を読み書きできるドライブにおい
ては、記録媒体が外され取り換えられると、どの
タイプの記録媒体がセツトされているか分からな
くなる等の問題があつた。
Further, in a drive such as a B-type drive that can read and write recording media of different recording types, there is a problem in that when a recording medium is removed and replaced, it becomes difficult to know which type of recording medium is set.

特に、フロツピーデイスクドライブの様に任意
の時点で容易にフロツピーデイスクが取り換えら
れる装置においては、セツトされている記録媒体
の記録タイプを正しく認識しなければ、
READ/WRITE ERRORを頻繁に起こし、最悪
の場合は、記録された記録内容を失う危険があつ
た。
Particularly in devices such as floppy disk drives where the floppy disk can be easily replaced at any time, if the recording type of the installed recording medium is not correctly recognized,
READ/WRITE ERROR frequently occurred, and in the worst case, there was a risk of losing the recorded contents.

この発明は上述したものの欠点を解消するため
になされたもので、共通のコントローラで基本仕
様の異なる複数のデバイス制御を可能とし、ある
いは、異なる種類の記録媒体を効率よく正しく制
御できる記録媒体読み書き制御方法を得ることを
目的としたものである。
This invention was made in order to eliminate the above-mentioned drawbacks, and allows a common controller to control multiple devices with different basic specifications, or a recording medium read/write control that can efficiently and correctly control different types of recording media. The purpose is to obtain a method.

[課題を解決するための手段] (1) この発明に係る記録媒体読み出し制御方法
は、記録媒体への読み書き動作を制御する記録
媒体制御手段と記録媒体を読み書きする記録媒
体読み書き装置を用いて、記録タイプが異なる
記録媒体に対して、データの読み書きを行なう
記録媒体読み書き制御方法であつて、以下の工
程を有するものである。
[Means for Solving the Problems] (1) A recording medium reading control method according to the present invention uses a recording medium control means for controlling read/write operations on a recording medium and a recording medium reading/writing device for reading/writing from a recording medium. This is a recording medium read/write control method for reading and writing data on recording media of different recording types, and includes the following steps.

(a) 記録媒体の記録タイプを識別するための識
別情報を保持する識別情報保持工程、 (b) 記録媒体読み書き装置にある記録媒体が、
取り換えられた可能性があるかを感知して記
憶する取り換え感知工程、 (c) 記録媒体読み書き装置にある記録媒体が、
その記録媒体読み書き装置に対する以前の読
み書き動作以後、取り換えられた可能性があ
るかを、上記取り換え感知工程の記憶の結果
により判定するチエンジステータス判定工
程、 (d) チエンジステータス判定工程により記録媒
体が取り換えられた可能性があると判定され
た場合、識別情報保持工程で保持された識別
情報を用いて、記録媒体読み書き装置にある
記録媒体を読み書きできるように記録媒体制
御手段をイニシヤライズするイニシヤライズ
工程、 (e) 上記イニシヤライズ工程でイニシヤライズ
された記録媒体制御手段を用いて記録媒体読
み書き装置にある記録媒体にデータの読み書
き動作を実行する実行工程。
(a) an identification information retention step for retaining identification information for identifying the recording type of the recording medium; (b) a recording medium in the recording medium read/write device;
(c) a replacement sensing step for sensing and storing whether the storage medium in the storage medium read/write device has been replaced;
a change status determination step of determining whether there is a possibility that the recording medium has been replaced since the previous read/write operation for the recording medium read/write device, based on the memorization result of the replacement sensing step; (d) the recording medium has been replaced by the change status determination step; an initializing step of initializing a recording medium control means so that the recording medium in the recording medium read/write device can be read and written using the identification information held in the identification information holding step; e) An execution step of executing a data read/write operation on a recording medium in the recording medium read/write device using the recording medium control means initialized in the initialization step.

(2) また、記録媒体への読み書き動作を制御する
記録媒体制御手段と記録媒体を読み書きする1
以上の記録媒体読み書き装置を用いて、記録タ
イプが異なる記録媒体に対して、データの読み
書きを行なう記録媒体読み書き制御方法であつ
て、以下の工程を有するものである。
(2) Also includes a recording medium control means for controlling reading and writing operations on the recording medium and a means for reading and writing from the recording medium.
This is a recording medium read/write control method for reading and writing data on recording media of different recording types using the above recording medium read/write device, and includes the following steps.

(a) 記録媒体の記録タイプを識別するための識
別情報を保持する識別情報保持工程、 (b) 記録媒体読み書き装置が2以上ある場合、
これから読み書きする記録媒体読み書き装置
が、直前に読み書きされた記録媒体読み書き
装置と同一かを判定するデバイスチエンジ判
定工程、 (c) 記録媒体読み書き装置にある記録媒体が、
取り換えられた可能性があるかを感知して記
憶する取り換え感知工程、 (d) 記録媒体読み書き装置にある記録媒体が、
その記録媒体読み書き装置に対する直前の読
み書き動作以後、取り換えられた可能性があ
るかを、上記取り換え感知工程の記憶の結果
により判定するチエンジステータ判定工程、 (e) デバイスチエンジ判定工程により記録媒体
読み書き装置が異なると判定された場合、あ
るいは、チエンジステータス判定工程により
記録媒体が取り換えられた可能性があると判
定された場合、識別情報保持工程で保持され
た識別情報を用いて、記録媒体読み書き装置
にある記録媒体を読み書きできるように記録
媒体制御手段をイニシヤライズするイニシヤ
ライズ工程、 (f) 上記イニシヤライズ工程でイニシヤライズ
された記録媒体制御手段を用いて記録媒体読
み書き装置にある記録媒体にデータの読み書
き動作を実行する実行工程。
(a) an identification information holding step for holding identification information for identifying the recording type of the recording medium; (b) when there are two or more recording medium read/write devices;
(c) a device change determination step of determining whether the recording medium read/write device that is about to read/write data is the same as the recording medium read/write device that read/write data immediately before; (c) the recording medium in the recording medium read/write device is
(d) a replacement sensing step for sensing and storing whether the storage medium in the storage medium read/write device has been replaced;
a change stator determination step of determining whether or not the recording medium read/write device may have been replaced since the last read/write operation on the recording medium based on the memorized result of the replacement sensing step; (e) a device change determination step of the recording medium read/write device; If it is determined that the recording medium is different, or if it is determined in the change status determination step that the recording medium may have been replaced, the identification information held in the identification information retention step is used to update the recording medium read/write device. an initializing step of initializing a recording medium control means so that it can read and write data from a certain recording medium; (f) executing a data read/write operation on a recording medium in a recording medium read/write device using the recording medium control means initialized in the initialization step; execution process.

[作用] この発明において、識別情報はドライブタイ
プ、シートタイプ、転送レート等を表わす情報で
あり、識別情報保持工程がこの識別情報を保持す
る。
[Operation] In the present invention, the identification information is information representing the drive type, sheet type, transfer rate, etc., and the identification information holding step holds this identification information.

取り換え感知工程は、記録媒体が差し換えられ
た可能性があるかを感知し、状態変更を記憶す
る。
The replacement sensing step detects whether the recording medium may have been replaced and stores the state change.

チエンジステータ判定工程あるいはデバイスチ
エンジ判定工程の判定工程は、記録媒体の読み書
きに先立ち、記録媒体の状態変更あるいは記録媒
体読み書き装置の変更を判定する。
In the change stator determination step or device change determination step, a change in the state of the recording medium or a change in the recording medium read/write device is determined prior to reading or writing from the recording medium.

その結果、状態や装置に変更がなければ、直前
に読み書きした記録媒体と同一の記録媒体への読
み書きであると判断し、そのまま、読み書きを実
行する。
As a result, if there is no change in the status or device, it is determined that the reading/writing is to the same recording medium as the one read/written immediately before, and the reading/writing is performed as is.

もし、状態に変更があれば、直前に読み書きし
た記録媒体とは異なる記録媒体への読み書きであ
ると判断し、イニシヤライズ工程により、識別情
報保持工程で保持した識別情報に基づいて記録媒
体読み書き制御手段をイニシヤライズする。
If there is a change in the status, it is determined that the reading/writing is to a recording medium different from the recording medium that was read/written immediately before, and the recording medium read/write control means performs an initialization process based on the identification information held in the identification information holding process. Initialize.

このようにして、イニシヤライズするときは、
必要最小限になり、共通の記録媒体読み書き制御
手段で複数の記録媒体読み書き装置や複数種類の
記録媒体を制御する場合でも効率よい制御ができ
る。
When initializing in this way,
This is reduced to the necessary minimum, and efficient control can be achieved even when a common recording medium read/write control means controls a plurality of recording medium read/write devices or a plurality of types of recording media.

[実施例] 以下、この発明の一実施例を図面に示し説明す
る。第3図はこの発明の記録媒体読み書き制御方
法の一例となるブロツク図である。
[Example] Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 3 is a block diagram illustrating an example of the recording medium read/write control method of the present invention.

30は、記録媒体読み書き制御手段の一例とな
るフロツピーデイスクコントローラである。この
例では、デバイス識別機能を、デバイス識別スイ
ツチSWを設けることで達成している。第3図に
於て、31はそのSWである。32はD型フリツ
プフロツプD−F/Fで構成されたイニシヤライ
ズセツトレジスタで、それぞれのデバイス制御用
にフロツピーデイスクコントローラFDCとタイ
ミング信号発生器VFOをイニシヤライズするイ
ニシヤライズセツトレジスタである。33はフロ
ツピーデイスクコントローラFDCで、以下に説
明するLSIで構成されたものである。34はタイ
ミング信号発生器VFOで、読み込み及び書き込
みのためのウインドウ(WINDOW)信号を発生
し、以下に説明するLSIで構成されたものであ
る。35はコントローラ30に接続されたフロツ
ピーデイスク(FD)デバイスを選択するD−
F/Fで構成されたレジスタである。
30 is a floppy disk controller which is an example of a recording medium read/write control means. In this example, the device identification function is achieved by providing a device identification switch SW. In FIG. 3, 31 is the SW. 32 is an initialization set register composed of a D-type flip-flop D-F/F, and is an initialization set register for initializing the floppy disk controller FDC and the timing signal generator VFO for controlling each device. 33 is a floppy disk controller FDC, which is composed of an LSI described below. 34 is a timing signal generator VFO, which generates a window (WINDOW) signal for reading and writing, and is composed of an LSI described below. 35 is D- for selecting a floppy disk (FD) device connected to the controller 30;
This is a register composed of F/F.

なお、36はデコーダ、37は書き込みデータ
(WRITE DATA)タイミング補正回路、38は
バツフア、39は16MHzで発振する発振器OSC
であり、ある一つのタイプにイニシヤライズされ
た状態では従来のフロツピーデイスクコントロー
ラと同様な動作構成となるものである。
In addition, 36 is a decoder, 37 is a write data (WRITE DATA) timing correction circuit, 38 is a buffer, and 39 is an oscillator OSC that oscillates at 16MHz.
When initialized to one type, the controller has an operating configuration similar to that of a conventional floppy disk controller.

この発明の実施例による制御方法の概要として
は、まず読み書き要求システムの一例であるホス
トシステム2が実際にデバイスFD1〜4を制御
するコマンドを発する前に、デバイス識別スイツ
チSW31の内容をセンスする。ホストシステム
2はその識別信号の内容と制御しようとするデバ
イス番号を比較し、そのデバイスが48TPIのAタ
イプデバイスか96TPIのBタイプデバイスのどち
らであるか知る。そして適した状態にFDC33
とVFO34をイニシヤライズするために、イニ
シヤルセツトレジスタ32にコマンドを送る。
FDC33、VFO34の各LSIがイニシヤライズ
されたなら、ホストシステム2は通常のREAD、
WRITEを実行する。識別信号のロードとFDC3
3、VFO34のイニシヤライズは、以下説明す
るようにデバイスがチエンジされたとき行なわれ
るので、フロツピーデイスクデバイスのアクセス
タイムへの影響は最小限ですむことになる。
As an overview of the control method according to the embodiment of the present invention, first, before the host system 2, which is an example of a read/write request system, issues a command to actually control the devices FD1 to FD4, it senses the contents of the device identification switch SW31. The host system 2 compares the contents of the identification signal with the number of the device to be controlled, and learns whether the device is a 48TPI A type device or a 96TPI B type device. and FDC33 in suitable condition
and sends a command to the initial set register 32 to initialize the VFO 34.
Once the FDC33 and VFO34 LSIs have been initialized, the host system 2 can perform normal READ,
Execute WRITE. Loading identification signal and FDC3
3. Since the VFO 34 is initialized when the device is changed as explained below, the effect on the access time of the floppy disk device is minimal.

ここで、上述したシステム構成の詳細を以下説
明する。
Here, the details of the above-mentioned system configuration will be explained below.

デバイス識別スイツチ31は、第4図に示すよ
うにDIP型のメカニカルスイツチで構成されてお
り、その4個のスイツチSW1〜SW4はフロツ
ピーデイスクコントローラ30に接続される4個
のフロツピーデイスクデバイスFD1〜FD4に対
応して設けられており、例えばFD1が48TPIの
Aタイプである場合はスイツチSW1を予めOFF
にセツトし、逆にFD1が96TPIのBタイプであ
る場合はスイツチSW1を予めONにセツトする
こととなる。また、FD2〜4も同様に、Aタイ
プであるかBタイプであるかによつて、それぞれ
のスイツチSW2〜4をOFF又はONにセツトさ
れることになる(識別情報保持工程)。311〜
312はシユミツトトリガ機能を有するNAND
ゲート回路で、三菱電機(株)製の品名LS240型の半
導体ICであつて、ホストシステム2がアドレス
をデコードした時に生ずるストロープ信号315
により、各スイツチSW1〜4の状態情報ガ出力
線316〜319を介してホストシステム2へ転
送され、ロードされるものである。
The device identification switch 31 is composed of a DIP type mechanical switch as shown in FIG. ~It is provided corresponding to FD4. For example, if FD1 is A type with 48 TPI, switch SW1 should be turned OFF in advance.
Conversely, if FD1 is a B type with 96 TPI, switch SW1 must be set to ON in advance. Similarly, the switches SW2 to SW4 of the FDs 2 to 4 are set to OFF or ON depending on whether they are of type A or type B (identification information holding step). 311~
312 is NAND with Schmitt trigger function
The gate circuit is a semiconductor IC manufactured by Mitsubishi Electric Corporation with the product name LS240, and the strobe signal 315 is generated when the host system 2 decodes the address.
Accordingly, the status information of each switch SW1-SW4 is transferred to the host system 2 via output lines 316-319 and loaded.

次に、イニシヤルセツトレジスタ32の構成に
ついて説明する。イニシヤルセツトレジスタ32
は第5図に示すようなD−F/Fであつて、例え
ば三菱電機(株)製の品名LS74型の半導体ICが使用
可能なものである。
Next, the configuration of the initial set register 32 will be explained. Initial set register 32
is a D-F/F as shown in FIG. 5, and for example, a semiconductor IC manufactured by Mitsubishi Electric Corporation under the product name LS74 can be used.

そのイニシヤルセツト動作は、ホストシステム
2よりその端子DOに“0”を与えることにより
イニシヤルセツトレジスタ32の端子Qを“0”
とし、Aタイプを示す状態としている。また、ホ
ストシステム2よりその端子DOに“1”を与え
ることによりイニシヤルセツトレジスタ32の端
子Qを“1”とし、Bタイプを示す状態としてい
る。このように端子QのAタイプを示す“0”信
号とBタイプを示す“1”信号とはそのいずれか
一方がVFO34に与えられ、“0”の場合は
VFO34の読み込み、書き込み等の各種タイミ
ングをAタイプの信号にセツトし、これらの各種
タイミング信号で動作するFDC33をもつAタ
イプのものにセツトすることになる。一方“1”
の場合は同様にVFO34、FDC33をBタイプ
用にセツトされることになる。
The initial set operation is performed by setting the terminal Q of the initial set register 32 to "0" by giving "0" to the terminal DO from the host system 2.
The condition indicates type A. Further, by applying "1" to the terminal DO from the host system 2, the terminal Q of the initial set register 32 is set to "1", and the state is set to indicate the B type. In this way, either the "0" signal indicating the A type of the terminal Q or the "1" signal indicating the B type is given to the VFO 34, and if it is "0", then
Various timings for reading, writing, etc. of the VFO 34 are set to A-type signals, and the FDC 33 is set to be an A-type signal having an FDC 33 that operates based on these various timing signals. On the other hand “1”
In this case, VFO 34 and FDC 33 are similarly set for B type.

次に、フロツピーデイスクコントローラFDC
33について説明する。FDC33は、VFO34
からの各種タイミングを変更することによりAタ
イプのものの制御とBタイプのものの制御とをと
もに制御可能なものであつて、例えば公知の日本
電気(株)製の品名uPD765ACの半導体LSIが使用可
能なものであり、その詳細構成並びに説明は省略
する。
Next, the floppy disk controller FDC
33 will be explained. FDC33 is VFO34
It is possible to control both type A and type B by changing various timings from Therefore, its detailed configuration and explanation will be omitted.

次に、タイミング信号発生器VFO34につい
て説明する。VFO34は、フロツピーデイスク
ドライブFD1〜4からのデイスクの回転変更あ
るいはピークシフトに起因するビツト位相変化を
有するリードデータを入力し、これをフロツピー
デイスクコントローラFDC33が読み取れるよ
うなウインドウ信号と再生リードデータ信号とに
変換して出力するものである。さらにVFO34
はイニシヤルセツトレジスタ32の出力信号
“0”又は“1”に従つてAタイプ又はBタイプ
のいずれか一方のフオームへ切換え可能なもので
あつて、例えば公知の諏訪精工舎(株)製の品名
SED9420C型の半導体LSIが使用可能なものであ
り、その詳細構成並びに説明は省略する。
Next, the timing signal generator VFO 34 will be explained. The VFO 34 inputs read data from the floppy disk drives FD1 to FD4 having bit phase changes caused by changes in disk rotation or peak shifts, and converts it into a window signal and reproduced read data that can be read by the floppy disk controller FDC33. It converts into a signal and outputs it. Furthermore, VFO34
The form can be switched to either type A or type B according to the output signal "0" or "1" of the initial set register 32, and for example, the well-known form manufactured by Suwa Seikosha Co., Ltd. Product name
A SED9420C type semiconductor LSI can be used, and its detailed configuration and explanation will be omitted.

次に、デバイスセレクトレジスタ35について
説明する。レジスタ35は第5図に示されたよう
なD型のフリツプフロツプD−F/Fを8個集め
た第6図の如きレジスタであつて、例えば三菱電
機(株)製の品名LS273型の半導体ICが使用可能なも
のである。セレクトレジスタ35の各レジスタに
関し、その入力端子D0,D1はフロツピーデイ
スクデバイスFD1〜4の選択信号が入力するも
のであつて、“00”でデバイスFD1が、“01”で
デバイスFD2が、“10”でデバイスFD3が“11”
でデバイスFD4がそれぞれ選択されるものであ
り、これに対応した出力はデコーダ36へ転送さ
れる。また、その入力端子D4〜D7はデバイス
FD1〜4の各モータを回転させるための信号が
入力するものであつて、例えば端子D4へ“1”
が入力された場合デコーダ36を介してデバイス
FD1のモータが回転するように制御されること
となる。このように、セレクトレジスタ35の入
力端子D0,D1,D4〜D7に対応する信号
は、デコーダ36へ転送されデバイスFD1〜4
の制御に使用され、残りの入力端子D2,D3へ
入力する信号は読み書き、書き込みのための状態
情報として使用されるものである。
Next, the device select register 35 will be explained. The register 35 is a register as shown in FIG. 6, which is a collection of eight D-type flip-flops D-F/F as shown in FIG. is available. Regarding each register of the select register 35, the input terminals D0 and D1 are input with the selection signals of the floppy disk devices FD1 to FD4. 10” and device FD3 is “11”
The device FD4 is selected respectively, and the corresponding output is transferred to the decoder 36. In addition, the input terminals D4 to D7 are device
A signal to rotate each motor of FD1 to FD4 is input, for example, "1" to terminal D4.
is input to the device via the decoder 36.
The motor of FD1 will be controlled to rotate. In this way, the signals corresponding to the input terminals D0, D1, D4 to D7 of the select register 35 are transferred to the decoder 36 and sent to the devices FD1 to FD4.
The signals input to the remaining input terminals D2 and D3 are used as status information for reading, writing, and writing.

次にこの発明の実施例により動作の詳細を、第
7図に示すフローチヤートにより説明する。な
お、ホストシステム2としては、オフイスコンピ
ユータ本体、又はパーソナルコンピユータ本体等
である。
Next, details of the operation according to an embodiment of the present invention will be explained with reference to a flowchart shown in FIG. Note that the host system 2 is an office computer main body, a personal computer main body, or the like.

まず、ここで、この発明の実施例で使用される
シートを以下説明する。タイプの異なるシートと
しては、シート2QDと呼ぶBタイプ(96TPI、
転送レート500KBit/Second)の両面高密度倍
トラツクフロツピーシートと、シート1Dと呼ぶ
Aタイプ(48TPI、転送レート250KBit/
second)の片面倍密度フロツピーシートと、シ
ート2Dと呼ぶAタイプの両面倍密度フロツピー
シートとがあるものとする。
First, a sheet used in an embodiment of the present invention will be described below. The different types of sheets are B type (96TPI,
Double-sided high-density double-track floppy sheet with a transfer rate of 500KBit/Second) and A type called sheet 1D (48TPI, transfer rate of 250KBit/Second)
Assume that there is a type A single-sided double-density floppy sheet called sheet 2D, and a double-sided double-density floppy sheet of type A called sheet 2D.

また、フロツピーデイスクデバイスとして、A
タイプシートのみを読み書きできるフロツピーデ
イスクデバイス(Aタイプデバイス)とAタイプ
シートとBタイプシートの両方を読み書きできる
フロツピーデイスクデバイス(Bタイプデバイ
ス)が接続されているものとする。
Also, as a floppy disk device, A
It is assumed that a floppy disk device (type A device) that can read and write only type sheets and a floppy disk device (type B device) that can read and write both type A and type B sheets are connected.

さて、ホストシステム2の操作者の要求によ
り、フロツピーデイスク制御コマンドがホストシ
ステム2により発生した時点で第7図フローチヤ
ートが開始される。まずスタートすると、ステツ
プ(70)でデバイスチエンジ判定工が実行され、
ホストシステム2が最後に制御したフロツピーデ
イスクデバイスFD1〜4と同じであつたか否か
を判断する(デバイスチエンジ判定工程)。
Now, at the request of the operator of the host system 2, the flowchart shown in FIG. 7 is started when a floppy disk control command is generated by the host system 2. When you first start, the device change judgment process is executed in step (70).
It is determined whether or not the floppy disk devices FD1 to FD4 that were last controlled by the host system 2 are the same (device change determination step).

その具体的例は、第8図に示すようなホストシ
ステム2のメモリ上に各デバイスFD1〜4に対
応した4bitのデバイスチエンジテーブルを設け、
ホストシステム2は制御しようとするデバイス
FD1〜4に対応するビツトをチエツクし、“0”
であれば変化がなかつたと判断して次のステツプ
(71)へ進む。
A specific example is to provide a 4-bit device change table corresponding to each device FD1 to FD4 on the memory of the host system 2 as shown in FIG.
Host system 2 is the device to be controlled
Check the bits corresponding to FD1~4 and set them to “0”
If so, it is determined that there has been no change and the process proceeds to the next step (71).

ステツプ(71)は制御デバイスFD1〜4の選
択されたデバイスについて、そのフロツピーデイ
スク(記録媒体)が差し換えられた可能性がある
か否かをチエツクするチエンジステータス判定ス
テツプである。このステツプ(71)の判定方法の
一例は、記録媒体が差し換えられた場合、ホスト
システム2のメモリにINTフラグ“1”が状態
信号としてコントローラ30より転送されるの
で、このフラグが“0”であるか“1”であるか
により判断されることになる(チエンジステータ
ス判定工程)。
Step (71) is a change status determination step for checking whether or not the floppy disk (recording medium) of the selected control device FD1 to FD4 has been replaced. An example of the determination method in step (71) is that when the recording medium is replaced, the INT flag "1" is transferred from the controller 30 as a status signal to the memory of the host system 2, so this flag is "0". The determination is made based on whether it is present or "1" (change status determination step).

このフラグが“1”である場合次のステツプ
(72)へ進む。このステツプ(72)は、ステツプ
(70)の判断がYESの場合にも指定されるステツ
プであつて、デバイスチエンジがある場合、ある
いは、フロツピーデイスク記録媒体が差し換えら
れている場合、第8図に示すドライブチエンジヤ
ブルテーブルの全ドライブビツトを“1”にし、
次のステツプ(73)へ進む。
If this flag is "1", the process advances to the next step (72). This step (72) is specified even if the judgment in step (70) is YES, and if there is a device change or if the floppy disk recording medium is replaced, the step shown in FIG. Set all drive bits of the drive changeable table shown in the figure to “1”,
Proceed to the next step (73).

このステツプ(73)は、デバイス識別スイツチ
31の内容をホストシステム2のIN命令によつ
てメモリ上にロードし、制御すべきデバイスFD
1〜4がAタイプはBタイプかのデバイス判断を
行なうものである。その結果、Aタイプであれば
ステツプ(74)に進み第3図のFDC33、VFO
34をAタイプにイニシヤライズするために、イ
ニシヤルセツトレジスタ32にビツト“0”をセ
ツトする(イニシヤライズ工程)。また、イニシ
ヤライズと同時に制御すべき選択されたフロツピ
ーデイスクデバイスFD1〜4に対応する第8図
のデバイスチエンジヤブルデーブルのビツトを
“0”にセツトする。
In this step (73), the contents of the device identification switch 31 are loaded onto the memory by the IN command of the host system 2, and the device FD to be controlled is loaded.
1 to 4 are for determining whether the device is type A or type B. As a result, if it is type A, proceed to step (74) and FDC33 and VFO shown in Figure 3.
34 to type A, a bit "0" is set in the initial set register 32 (initialization step). Further, the bits in the device changeable table shown in FIG. 8 corresponding to the selected floppy disk devices FD1 to FD4 to be controlled at the same time as initialization are set to "0".

一方、Bタイプであれば、ステツプ(75)に進
み、同様に第3図のFDC33、VFO34をBタ
イプにイニシヤライズするために、セツトレジス
タ32にビツト“1”をセツトする(イニシヤラ
イズ工程)。また、同時にデバイスFD1〜4に対
応する第8図のテーブルのビツトを“0”にセツ
トする。
On the other hand, if it is the B type, the program proceeds to step (75) and similarly sets the bit "1" in the set register 32 to initialize the FDC 33 and VFO 34 shown in FIG. 3 to the B type (initialization step). At the same time, the bits in the table of FIG. 8 corresponding to devices FD1 to FD4 are set to "0".

このように、第8図のテーブルのビツトを
“0”にセツトすることにより、次回のデバイス
FD1〜4の選択時に同じデバイスが選択された
場合にステツプ(72)〜(75)を省略することが
できるものである。
In this way, by setting the bit in the table in Figure 8 to "0", the next device
This allows steps (72) to (75) to be omitted if the same device is selected when selecting FDs 1 to 4.

次のステツプ(76)は、ステツプ(71)でNO
の場合、又はステツプ(74)又は(75)が終了し
た時点で実行されるステツプであり、イニシヤラ
イズ済のFDC33にホストシステム2よりコマ
ンドを送り、ステツプ(77)でコマンドを実行
し、ステツプ(78)でエラーチエツクを行なつて
終了する(実行工程)。
Next step (76) is NO in step (71)
In this case, or when step (74) or (75) is completed, the host system 2 sends a command to the initialized FDC 33, the command is executed in step (77), and step (78) is executed. ) performs an error check and ends (execution step).

以上説明したようにこの発明の実施例によれ
ば、A、B二つのタイプのフロツピーデイスクデ
バイス制御が共通のコントローラで行なうことが
でき、また、異なるタイイプの変更はデイバイス
FD1〜4がチエンジされたときあるいは記録媒
体が取り換えられたとき行なわれるので、フロツ
ピーデイスクデバイスのアクセスタイムへの影響
を少なくすることができる。
As explained above, according to the embodiment of the present invention, two types of floppy disk devices, A and B, can be controlled by a common controller, and changes between different types can be performed by changing the device type.
Since this is performed when FDs 1 to 4 are changed or the recording medium is replaced, the influence on the access time of the floppy disk device can be reduced.

次にこの発明の他の実施例を第9図に示し説明
する。第9図に於て、第3図と同一符号は同一又
は相当部分を示し、前述した実施例との相異点
は、デバイス識別スイツチSW31にかえて使用
するフロツピーデイスク(記録媒体)に所定のデ
ータを予め記録しておき(識別情報保持工程)、
このデータを読み出すことにより同様な動作を行
なわせるようにしたものである。
Next, another embodiment of the present invention is shown in FIG. 9 and will be described. In FIG. 9, the same reference numerals as in FIG. 3 indicate the same or equivalent parts, and the difference from the above-described embodiment is that a floppy disk (recording medium) used instead of the device identification switch SW31 is used. data is recorded in advance (identification information retention step),
By reading this data, a similar operation can be performed.

即ち、この発明の他の実施例は、記録媒体の一
部に識別情報を保持させるものであり、具体例と
しては、Aタイプ Bタイプ両シートの上面の
SIDE0、トラツクTRACK0にシート特有のデ
ータを書き込んだものである。
That is, in another embodiment of the present invention, identification information is held in a part of the recording medium, and as a specific example, on the top surface of both type A and type B sheets.
Sheet-specific data is written to SIDE0 and track TRACK0.

ホストシステム2がそのデータをロードしてシ
ートの判別を行ない、おのおのの適した状態に
FDC33、VFO34をイニシヤライズして、両
タイプシートのREAD、WRITEを可能としたも
のである。
The host system 2 loads the data, identifies the sheets, and puts them in the appropriate state.
By initializing FDC33 and VFO34, it is possible to read and write both types of sheets.

またSIDE0、TRACK0に書き込むデータは、
両シートともに転送レート250KBit/secondとし
て、FDC33,34がAタイプシート制御用に
イニシヤライズされていれば、イニシヤル変更な
しにシートの判定ができることを利用したもので
ある。
Also, the data written to SIDE0 and TRACK0 is
This takes advantage of the fact that if the transfer rate for both sheets is 250 KBit/second and the FDCs 33 and 34 are initialized for A type sheet control, the sheet can be determined without changing the initials.

ここで、この発明の他の実施例で使用されるシ
ートのデータ記録状態を以下説明する。タイプの
異なるシートとしては、シート2QDと呼ぶBタ
イプ(96TPI、転送レート500KBit/Second)の
両面高密度倍トラツクフロツピーシートと、シー
ト1Dと呼ぶAタイプ(48TPI、転送レート
250KBit/second)の片面倍密度フロツピーシー
トと、シート2Dと呼ぶAタイプの両面倍密度フ
ロツピーシートとがある。
Here, the data recording state of the sheet used in another embodiment of the present invention will be described below. The different types of sheets are the B type (96TPI, transfer rate 500KBit/Second) double-sided high density double track floppy sheet called Sheet 2QD, and the A type (48TPI, transfer rate 500KBit/Second) called Sheet 1D.
There are single-sided double-density floppy sheets (250KBit/second) and A-type double-sided double-density floppy sheets called Sheet 2D.

シート2QDは第10図に示すようなデータ型
式となつており、図に於て、SIDE0はフロツピ
ーシートの表面を、SIDE1はシートの裏面を示
すものである。BOOTとはBoot Strapの略であ
つて、フロツピーシートからオペレーシヨヨンシ
ステムをメモリーにロードするプログラムが記録
されたものである。F8FFFFはこの発明の他の実
施例の特徴をなす識別データであつて、シート2
QDを示すものである。リザーブ(15セクタ)は
空白のエリアであつて、BOOT、F8FFFF及びリ
ザーブからなるTRACK0はこのエリアのみAタ
イプで記録されており、その他の記録エリアは2
QDシート用のBタイプで記録されたものであ
る。なお、FATはFILE TABLEの略であつてオ
ペレーシヨンシステムが1セクタ単位にフアイル
を管理するために使用し、この情報からフアイル
のレコード長が求められるものである。DIRは
DIRECTORYの略であつて、そのシートに記録
されたフアイル登録簿に相当するものである。
Sheet 2QD has a data format as shown in FIG. 10, where SIDE0 indicates the front side of the floppy sheet and SIDE1 indicates the back side of the sheet. BOOT is an abbreviation for Boot Strap, which contains a program that loads an operating system into memory from a floppy disk. F8FFFF is identification data that characterizes another embodiment of this invention, and is sheet 2
This indicates QD. The reserve (15 sectors) is a blank area, and TRACK 0, which consists of BOOT, F8FFFF, and reserve, is recorded only in this area in A type, and the other recording areas are 2
It was recorded in type B for QD sheets. Note that FAT is an abbreviation for FILE TABLE, and is used by the operating system to manage files in units of sectors, and the record length of the file can be determined from this information. D.I.R.
It is an abbreviation for DIRECTORY and corresponds to the file registry recorded on that sheet.

また、シート1Dは第11図Aに示すようなデ
ータ型式であつて、全ての記録エリアはAタイプ
で記録されたものであり、識別データFEFFFF
がBOOTエリアの後に記憶された点を除き、第
10図と同様なものである。さらに、シート2D
は第11図Bに示すようなデータ型式であつて、
シート1Dと同様にAタイプで記録されたもので
あり、識別データFFFFFFがBOOTエリアの後
に記録されたものである。このように、この発明
の他の実施例で使用されるシートは、シート2
QDのSIDE0、TRACK0で指定されるエリアを
共通のAタイプで記録するとともに、以下に示す
識別データを各シートに設けた点を除き、従来の
シートと同様な構成であり、その詳細説明を省略
する。
Further, the sheet 1D has the data format as shown in FIG. 11A, all recording areas are recorded in the A type, and the identification data FEFFFF
It is similar to FIG. 10, except that is stored after the BOOT area. Furthermore, sheet 2D
is a data format as shown in FIG. 11B, and
Like sheet 1D, it is recorded in type A, and identification data FFFFFF is recorded after the BOOT area. Thus, the sheets used in other embodiments of this invention are sheet 2
It has the same configuration as the conventional sheet, except that the areas specified by SIDE0 and TRACK0 of the QD are recorded in a common A type, and the identification data shown below is provided on each sheet, so detailed explanations are omitted. do.

Aタイプシート1D…FEFFFF シート2D…FFFFFF Bタイプ シート2QD…F8FFFF なお、上記の各識別データのコードはこれに限
定されるものでない。
A type sheet 1D...FEFFFF Sheet 2D...FFFFFF B type sheet 2QD...F8FFFF Note that the codes of each of the above identification data are not limited to these.

次にこの発明の他の実施例の動作を第12図、
第13図のフローチヤートにより説明する。まず
システムの電源を投入すると第12図のフローチ
ヤートに従つ初期セツトを行なう。即ち、ステツ
プ(90)で第9図のイニシヤルセツトレジスタ3
2へビツト“0”がホストシステム2より転送さ
れ、ステツプ(91)(92)がVFO34、FDC33
がレジスタ32の出力ビツト“0”によりイニシ
ヤライズされ、Aタイプ用制御に初期セツトが完
了する。
Next, FIG. 12 shows the operation of another embodiment of the present invention.
This will be explained using the flowchart shown in FIG. First, when the system is powered on, initial settings are performed according to the flowchart shown in FIG. That is, in step (90), the initial set register 3 of FIG.
Bit “0” is transferred from host system 2 to step 2, and steps (91) and (92) are transferred to VFO 34 and FDC 33.
is initialized by the output bit "0" of the register 32, and the initial setting for A type control is completed.

次に、通常の使用状態における動作について第
13図により説明する。この例においても、Bタ
イプデバイスはAタイプシートとBタイプシート
の両方を読み書きできるものとする。
Next, the operation in normal use will be explained with reference to FIG. 13. In this example as well, it is assumed that the B type device can read and write both the A type sheet and the B type sheet.

まず、フロツピーシートの差し換えがおこなわ
れると、第9図に示すフロツピーデイスクデイバ
イスFD1〜4は一時的にNOT READY状態と
なるので、この状態信号を利用してFDC33は
この状態変化を感知してホストシステム2へ知ら
せ、これを受けたホストシステム2では先の実施
例と同様にメモリ上にINTフラグ“1”をセツ
トする。このINTフラグを利用して、ステツプ
(93)でホストシステム2はこのフラグが“1”
であるか否かを判断し(チエンジステータス判定
工程)、“1”であれば少なくともシートが差し換
えられたと判断してステツプ(94)へ進む。一
方、“0”であれば前回と同様なタイプ(A又は
B)であると判断されるので、先に説明した第7
図のフローチヤートと同様にステツプ(76)(77)
を通り終了する。
First, when the floppy sheet is replaced, the floppy disk devices FD1 to FD4 shown in FIG. 9 temporarily enter the NOT READY state, so the FDC 33 senses this state change using this state signal. The host system 2 receives this and sets the INT flag "1" in the memory as in the previous embodiment. Using this INT flag, host system 2 sets this flag to “1” in step (93).
If it is "1", it is determined that at least the sheet has been replaced, and the process proceeds to step (94). On the other hand, if it is "0", it is determined that it is the same type as last time (A or B), so the seventh
Steps (76) (77) as shown in the flowchart
and exit.

ステツプ(94)はフロツピーシート2QD,1
D,2Dの識別コードが共通のAタイプで記録さ
れているので、前述したステツプ(90)(91)
(92)と同様なステツプにより第9図のFDC3
3、FO34をAタイプシート用にイニシヤライ
ズする。次に、差し換えが行なわれたシートア何
タイプであるか否かを判別するステツプ(95)へ
進む。ステツプ(95)では、差し換えられたシー
ト(1D、又は2D、又は2QD)のSIDE0、
TRACK0で且つSECTOR2の識別データを読
み書き、FEFFFF又はFFFFFFであればAタイ
プであると判断してステツプ(76)(77)へ進み
終了する。一方F8FFFFであればBタイプと判断
してステツプ(96)へ進む。ステツプ(97)では
第9図のFDC33、VFO34をBタイプにセツ
トするため、ホストシステム2より第9図のイニ
シヤルセツトレジスタ32へビツト“1”を転送
し、FDC33、VFO34がBタイプ用にセツト
される(イニシヤライズ工程)。
Step (94) is floppy sheet 2QD, 1
Since the identification codes of D and 2D are recorded in the common A type, the above-mentioned steps (90) and (91)
By steps similar to (92), FDC3 in Fig. 9 is
3. Initialize FO34 for A type sheet. Next, the process proceeds to step (95) in which it is determined what type of seat the replaced one is. In step (95), SIDE0 of the replaced sheet (1D, 2D, or 2QD)
If it is TRACK 0 and the identification data of SECTOR 2 is read and written, and if it is FEFFFF or FFFFFF, it is determined that it is type A, and the process proceeds to steps (76) and (77) and ends. On the other hand, if it is F8FFFF, it is determined to be type B and the process proceeds to step (96). In step (97), in order to set the FDC 33 and VFO 34 in FIG. 9 to type B, the host system 2 transfers bit "1" to the initial set register 32 in FIG. is set (initialization process).

以下ステツプ(76)(77)を通りその動作を終
了することになる(実行工程)。
The operation is then completed through steps (76) and (77) (execution step).

以上説明したようにデバイスコントローラ90
を共通化することができ、さらにAタイプ又はB
タイプの判定は、フロツピーデイバイスFD1〜
4のシートが差し換えられたとき自動的に行なわ
れるので、デバイスFD1〜4のアクセスタイム
への影響を少なくすることができる。
As explained above, the device controller 90
can be made common, and further A type or B type
Type determination is floppy device FD1~
Since this is automatically performed when the sheet No. 4 is replaced, the influence on the access time of devices FD1 to FD4 can be reduced.

なお、上記二つの実施例ではイニシヤライズ手
段の例としてFDC33、VFO34をイニシヤラ
イズする場合を述べたが、ここで言うイニシヤラ
イズとは、FDC33、VFO34などのハードウ
エア回路をイニシヤライズする場合だけでなく、
ハードウエアとソフトウエアの両方、あるいは、
ソフトウエアのみのイニシヤライズであつてもよ
い。また、ここで言うイニシヤライズとは、記録
媒体を正しく読み書きできる様に記録媒体読み書
き制御手段をモード変更あるいはパラメータの変
更等により設定し直すことを言う。
In addition, in the above two embodiments, the case where the FDC 33 and VFO 34 are initialized is described as an example of the initialization means, but the initialization mentioned here refers not only to the case where hardware circuits such as the FDC 33 and VFO 34 are initialized;
Both hardware and software, or
It may be initialization of only software. Further, the term "initialization" as used herein refers to resetting the recording medium read/write control means by changing the mode or changing the parameters so that the recording medium can be read and written correctly.

また、上記実施例では、識別情報の保持は、ス
イツチである場合と、記録媒体に記録された場合
を示したが、メモリ、RAM、ROM、ハードウ
エアロジツク、プログラム内の定数等その他の情
報不保持手段でもよい。また、識別情報の保持位
置はシステム内のどこでもよい。
In addition, in the above embodiment, identification information is stored in a switch or recorded in a recording medium, but other information such as memory, RAM, ROM, hardware logic, constants in a program, etc. It may also be a holding means. Further, the identification information may be held at any location within the system.

また、上記二つの実施例では、記録媒体読み書
き制御手段は、フロツピーデイスクコントローラ
である場合を示したが、実施例のようにホストシ
ステムと分離して存在する必要はなく、ホストシ
ステムの一部にまたがつても良い。あるいは、ホ
ストシステムに内蔵されていても良い。
Further, in the above two embodiments, the recording medium read/write control means is a floppy disk controller, but it does not need to exist separately from the host system as in the embodiments, but is a part of the host system. You can also straddle it. Alternatively, it may be built into the host system.

[発明の効果] 以上説明したようにこの発明によれば、共通の
記録媒体読み書き制御手段を利用して、異なるタ
イプで記録された記録媒体を効率よく正しく制御
することができる。
[Effects of the Invention] As described above, according to the present invention, recording media recorded with different types can be efficiently and correctly controlled by using a common recording medium read/write control means.

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

第1図は、一般的なホストシステム、フロツピ
ーデイスクコントローラ、フロツピーデイスクデ
バイスの接続状態を示すブロツク図、第2図は従
来のフロツピーデイスクコントローラで、48TPI
用フロツピーデイスクデバイスと、96TPI用フロ
ツピーデイスクデバイスを制御する場合のブロツ
ク図、第3図はこの発明の一実施例による記録媒
体読み書き制御方法を示すブロツク図、第4図は
第3図のデイバイス識別スイツチ31の詳細構成
図、第5図は第3図のイニシヤルセツトレジスタ
32の詳細構成図、第6図は第3図のデイバイス
セレクトレジスタ35の詳細構成図、第7図は第
3図に示したものの動作説明フローチヤート図、
第8図はホストシステムのメモリ上に設けられた
テーブルを示す図、第9図はこの発明の他の実施
例を示す記録媒体読み書き制御方法を示すブロツ
ク図、第10図及び第11図はフロツピーデイス
クのデータフオーマツトを示す図、第12図及び
第13図は第9図に示したものの動作説明フロー
チヤート図である。 図に於て、1はフロツピーデイスクコントロー
ラ、2はホストシステム、3はフロツピーデイス
クデバイス、31はデバイス識別スイツチ、32
はイニシヤルセツトレジスタ、33はフロツピー
デイスクコントローラFDC、34は信号生成器
としてのタイミング信号発生器VFO。なお、図
中、同一符号は、同一又は相当部分を示す。
Figure 1 is a block diagram showing the connection status of a general host system, floppy disk controller, and floppy disk device. Figure 2 is a conventional floppy disk controller with 48TPI.
FIG. 3 is a block diagram showing a recording medium read/write control method according to an embodiment of the present invention, and FIG. 5 is a detailed diagram of the initial set register 32 in FIG. 3, FIG. 6 is a detailed diagram of the device select register 35 in FIG. 3, and FIG. 7 is a detailed diagram of the device select register 35 in FIG. A flowchart diagram explaining the operation of what is shown in the figure,
FIG. 8 is a diagram showing a table provided on the memory of the host system, FIG. 9 is a block diagram showing a recording medium read/write control method showing another embodiment of the present invention, and FIGS. 10 and 11 are flowcharts. FIGS. 12 and 13 are flowcharts illustrating the operation of the data format shown in FIG. 9. In the figure, 1 is a floppy disk controller, 2 is a host system, 3 is a floppy disk device, 31 is a device identification switch, and 32 is a floppy disk controller.
3 is an initial set register, 33 is a floppy disk controller FDC, and 34 is a timing signal generator VFO as a signal generator. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】 1 以下の工程を有し、記録媒体への読み書き動
作を制御する記録媒体制御手段と記録媒体を読み
書きする記録媒体読み書き装置を用いて、記録タ
イプが異なる記録媒体に対して、データの読み書
きを行なう記録媒体読み書き制御方法。 (a) 記録媒体の記録タイプを識別するための識別
情報を保持する識別情報保持工程、 (b) 記録媒体読み書き装置にある記録媒体が、取
り換えられた可能性があるかを感知して記憶す
る取り換え感知工程、 (c) 記録媒体読み書き装置にある記録媒体が、そ
の記録媒体読み書き装置に対する以前の読み書
き動作以後、取り換えられた可能性があるか
を、上記取り換え感知工程の記憶の結果により
判定するチエンジステータス判定工程、 (d) チエンジステータス判定工程により記録媒体
が取り換えられた可能性があると判定された場
合、識別情報保持工程で保持された識別情報を
用いて、記録媒体読み書き装置にある記録媒体
を読み書きできるように記録媒体制御手段をイ
ニシヤライズするイニシヤライズ工程、 (e) 上記イニシヤライズ工程でイニシヤライズさ
れた記録媒体制御手段を用いて記録媒体読み書
き装置にある記録媒体にデータの読み書き動作
を実行する実行工程。 2 以下の工程を有し、記録媒体への読み書き動
作を制御する記録媒体制御手段と記録媒体を読み
書きする1以上の記録媒体読み書き装置を用い
て、記録タイプが異なる記録媒体に対して、デー
タの読み書きを行なう記録媒体読み書き制御方
法。 (a) 記録媒体の記録タイプを識別するための識別
情報を保持する識別情報保持工程、 (b) 記録媒体読み書き装置が2以上ある場合、こ
れから読み書きする記録媒体読み書き装置が、
直前に読み書きされた記録媒体読み書き装置と
同一かを判定するデバイスチエンジ判定工程、 (c) 記録媒体読み書き装置にある記録媒体が、取
り換えられた可能性があるかを感知して記憶す
る取り換え感知工程、 (d) 記録媒体読み書き装置にある記録媒体が、そ
の記録媒体読み書き装置に対する直前の読み書
き動作以後、取り換えられた可能性があるか
を、上記取り換え感知工程の記憶の結果により
判定するチエンジステータス判定工程、 (e) デバイスチエンジ判定工程により記録媒体読
み書き装置が異なると判定された場合、あるい
は、チエンジステータス判定工程により記録媒
体が取り換えられた可能性があると判定された
場合、識別情報保持工程で保持された識別情報
を用いて、記録媒体読み書き装置にある記録媒
体を読み書きできるように記録媒体制御手段を
イニシヤライズするイニシヤライズ工程、 (f) 上記イニシヤライズ工程でイニシヤライズさ
れた記録媒体制御手段を用いて記録媒体読み書
き装置にある記録媒体にデータの読み書き動作
を実行する実行工程。
[Claims] 1. A method for recording media of different recording types by using a recording medium control means that controls reading and writing operations on the recording medium and a recording medium reading and writing device that reads and writes from the recording medium, which has the following steps. , a recording medium read/write control method for reading and writing data. (a) an identification information retention step for retaining identification information for identifying the recording type of the recording medium; (b) sensing and storing whether the recording medium in the recording medium reading/writing device may have been replaced; Replacement sensing step, (c) determining whether there is a possibility that the recording medium in the recording medium reading/writing device has been replaced since a previous read/write operation for the recording medium reading/writing device, based on the memorization result of the replacement sensing step; (d) If it is determined in the change status determination step that there is a possibility that the recording medium has been replaced, the identification information held in the identification information retention step is used to update the record in the recording medium read/write device. an initializing step of initializing the recording medium control means so that the medium can be read and written; (e) executing a data read/write operation on the recording medium in the recording medium read/write device using the recording medium control means initialized in the initialization step; Process. 2 It has the following steps, and uses a recording medium control means that controls read/write operations on the recording medium and one or more recording medium read/write devices that read and write the recording medium, to write data to recording media of different recording types. A recording medium read/write control method for reading and writing. (a) An identification information holding step that holds identification information for identifying the recording type of the recording medium; (b) If there are two or more recording medium reading/writing devices, the recording medium reading/writing device that will read/write from now on,
(c) A device change detection step of determining whether the recording medium in the recording medium reading/writing device is the same as the one that read/write data immediately before, and (c) a replacement sensing step of sensing and storing whether the recording medium in the recording medium reading/writing device may have been replaced. (d) change status determination for determining whether there is a possibility that the recording medium in the recording medium read/write device has been replaced since the last read/write operation for the recording medium read/write device, based on the memorized result of the replacement sensing step; (e) If the device change determination step determines that the recording medium read/write device is different, or if the change status determination step determines that the recording medium may have been replaced, the identification information retention step an initialization step of initializing a recording medium control means so that the recording medium in the recording medium reading/writing device can be read and written using the held identification information; (f) recording using the recording medium control means initialized in the initialization step; an execution step of performing data read/write operations on a recording medium in a media read/write device;
JP6940190A 1990-03-19 1990-03-19 Recording medium read / write control method Granted JPH0395764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6940190A JPH0395764A (en) 1990-03-19 1990-03-19 Recording medium read / write control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6940190A JPH0395764A (en) 1990-03-19 1990-03-19 Recording medium read / write control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP58058906A Division JPS59185069A (en) 1983-04-04 1983-04-04 Recording medium read control system

Publications (2)

Publication Number Publication Date
JPH0395764A JPH0395764A (en) 1991-04-22
JPH0516099B2 true JPH0516099B2 (en) 1993-03-03

Family

ID=13401545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6940190A Granted JPH0395764A (en) 1990-03-19 1990-03-19 Recording medium read / write control method

Country Status (1)

Country Link
JP (1) JPH0395764A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05100794A (en) * 1991-10-03 1993-04-23 Alps Electric Co Ltd Controller of external memory

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0514351A (en) * 1991-07-01 1993-01-22 Matsushita Electric Ind Co Ltd Connector between lans

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0514351A (en) * 1991-07-01 1993-01-22 Matsushita Electric Ind Co Ltd Connector between lans

Also Published As

Publication number Publication date
JPH0395764A (en) 1991-04-22

Similar Documents

Publication Publication Date Title
US6000023A (en) Method for partitioning storage regions on hard disk and computer system adapted to the same
US4525801A (en) Disk storage controller
JPH0514351B2 (en)
KR100268461B1 (en) Selective disk partitioning/duplicating method for duplication a hard disk
US7478195B2 (en) Disk device with degree of multiplexing based on a received logical block address
JPH0667805A (en) Method and device for controlling asynchronous dasd
JPS607649A (en) Floppy disc control system
KR100274742B1 (en) Initiating method for copying hard-disk drive and copying apparatus thereof
JPH08249218A (en) File controller and data write method
JPH0516099B2 (en)
JPH04500575A (en) Configuration and reading method of magnetic media, and magnetic media to which the method is applied
US6603621B1 (en) System and method for storing disk sector information
JPS6126971A (en) Disc drive discriminator
JP2616738B2 (en) Servo track writer
JPH0793101A (en) Data backup device
KR100505575B1 (en) Servo pattern generating device and method of hard disk drive
JPS6117274A (en) Optical disk control device
JPH04354029A (en) System software multiplex computer system
JPH05181613A (en) Information processor
JPS59221810A (en) Alternate sector device in magnetic storage device
JPH0991147A (en) Storage device
JPH1049312A (en) Magnetic disk drive
JPS60150270A (en) Automatic changing system of data format
JPH09114674A (en) Hard disk device
JPH02270163A (en) Magnetic disk device