JPH08129821A - Floppy disk device - Google Patents

Floppy disk device

Info

Publication number
JPH08129821A
JPH08129821A JP26557594A JP26557594A JPH08129821A JP H08129821 A JPH08129821 A JP H08129821A JP 26557594 A JP26557594 A JP 26557594A JP 26557594 A JP26557594 A JP 26557594A JP H08129821 A JPH08129821 A JP H08129821A
Authority
JP
Japan
Prior art keywords
floppy disk
signal
disk drive
controller
ready
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.)
Granted
Application number
JP26557594A
Other languages
Japanese (ja)
Other versions
JP2658911B2 (en
Inventor
Kenichi Suzuki
健一 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP26557594A priority Critical patent/JP2658911B2/en
Publication of JPH08129821A publication Critical patent/JPH08129821A/en
Application granted granted Critical
Publication of JP2658911B2 publication Critical patent/JP2658911B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE: To exactly detect a changeover of floppy disk media in a floppy disk drive and to inform a host system of the state of the floppy disk drive. CONSTITUTION: The device is equipped with a floppy disk controller 1 for performing a control operation upon receipt of a command from the host system and the floppy disk drive 2 for performing a write/read operation on a floppy disk medium upon receipt of a control action of the floppy disk controller 1. A signal selecting circuit consisting of an OR circuit 4, a NAND circuit 5 and an AND circuit 6 to correspond to inputs of input/output signals including a motor control signal 12 and a control signal 11, etc., a ready signal 13 and a disk change signal 14 is included in the device as an interface between the floppy disk controller 1 and the floppy disk drive 2.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はフロッピィ・ディスク装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a floppy disk device.

【0002】[0002]

【従来の技術】従来のフロッピィ・ディスク装置は、図
3および図4に示されるような構成となっている。図3
に示される第1の従来例のフロッピィ・ディスク装置
は、ホスト・システム(図示されない)に連結されるフ
ロッピィ・ディスク・コントローラ1と、フロッピィ・
ディスク・ドライブ2とを備えて構成されており、これ
らのフロッピィ・ディスク・コントローラ1と、フロッ
ピィ・ディスク・ドライブ2と間のインタフェースとし
ては、フロッピィ・ディスク・コントローラ1からフロ
ッピィ・ディスク・ドライブ2に出力される、フロッピ
ィ・ディスク・ドライブ2に設けられているモータのO
N/OFFを制御するモータ制御信号12と、フロッピ
ィ・ディスク・ドライブ2からフロッピィ・ディスク・
コントローラ1に出力される、書き込み/読み出し動作
が可能であることを示すレディ信号13と、その他の書
き込み/読み出しのための制御信号11等である。
2. Description of the Related Art A conventional floppy disk drive has a structure as shown in FIGS. FIG.
A first conventional example of a floppy disk drive includes a floppy disk controller 1 connected to a host system (not shown) and a floppy disk controller 1.
An interface between the floppy disk controller 1 and the floppy disk drive 2 is provided from the floppy disk controller 1 to the floppy disk drive 2. The O of the motor provided in the floppy disk drive 2 is output.
The motor control signal 12 for controlling N / OFF and the floppy disk drive 2 to the floppy disk drive 2
A ready signal 13 that is output to the controller 1 and indicates that a write / read operation is possible, and a control signal 11 for other write / read operations.

【0003】また、図4に第2の従来例のフロッピィ・
ディスク装置は、上述の第1の従来例の場合と同様に、
ホスト・システム(図示されない)に連結されるフロッ
ピィ・ディスク・コントローラ1と、フロッピィ・ディ
スク・ドライブ2とを備えて構成されており、これらの
フロッピィ・ディスク・コントローラ1と、フロッピィ
・ディスク・ドライブ2と間のインタフェースとして
は、フロッピィ・ディスク・コントローラ1からフロッ
ピィ・ディスク・ドライブ2に出力される、フロッピィ
・ディスク・ドライブ2に設けられているモータのON
/OFFを制御するモータ制御信号12と、フロッピィ
・ディスク・ドライブ2からフロッピィ・ディスク・コ
ントローラ1に出力される、メディアが排出されたこと
を示すディスク・チェンジ(Disc Change )信号14
と、その他の書き込み/読み出しのための制御信号11
等である。なお、前記ディスク・チェンジ信号14は、
フロッピィ・ディスク・ドライブ2からメディアが排出
された時にアクティブになり、その後再度メディアが挿
入された場合においてもアクティブな状態が保持されて
いる信号であり、書き込み/読み出しの制御信号11に
含まれる一つの信号であるステップ・パルス信号が入力
された時には、インアクティブの状態に戻る。但し、デ
ィスク・チェンジ信号14の状態が変化しても、フロッ
ピィ・ディスク・コントローラ1においては、連結され
ているホスト・システムに対する割り込みが発生するこ
とがなく、フロッピィ・ディスク・コントローラ1にお
いては、当該ホスト・システムに対してディスク・チェ
ンジ信号14の状態が、ホスト・インタフェ−ス・レジ
スタに出力されるだけである。更に、フロッピィ・ディ
スク・コントローラ1においては、フロッピィ・ディス
ク・ドライブ2から入力されるレディ信号13を受け
て、常にフロッピィ・ディスク・ドライブ2がレディ信
号であるものと見做して動作しているのが実態である。
Further, FIG. 4 shows a second conventional floppy disk.
The disk device is similar to the above-described first conventional example,
A floppy disk controller 1 connected to a host system (not shown) and a floppy disk drive 2 are provided, and the floppy disk controller 1 and the floppy disk drive 2 are provided. As an interface between the floppy disk controller 1 and the floppy disk drive 2, the motor provided in the floppy disk drive 2 is turned on.
/ OFF control, and a disc change (Disc Change) signal 14 output from the floppy disk drive 2 to the floppy disk controller 1 and indicating that the medium has been ejected.
And other control signals 11 for writing / reading
Etc. The disc change signal 14 is
This signal is active when the medium is ejected from the floppy disk drive 2 and is kept active even when the medium is reinserted after that. When a step pulse signal, which is one of the two signals, is input, it returns to the inactive state. However, even if the state of the disk change signal 14 changes, the floppy disk controller 1 does not generate an interrupt to the connected host system, and the floppy disk controller 1 Only the status of the disk change signal 14 to the host system is output to the host interface register. Further, in the floppy disk controller 1, the ready signal 13 input from the floppy disk drive 2 is received, and the floppy disk drive 2 is always regarded as a ready signal and operates. Is the reality.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のフロッ
ピィ・ディスク装置においては、第1の従来例のフロッ
ピィ・ディスク装置の場合には、フロッピィ・ディスク
・コントローラ1より出力されるモータ制御信号12が
インアクティブとなって、フロッピィ・ディスク・ドラ
イブ2におけるモータが停止している間においては、メ
ディアが排出されて再び挿入された場合には、フロッピ
ィ・ディスク・ドライブ2からのレディ信号13のレベ
ル状態が変化しないために、メディアが交換されたこと
がフロッピィ・ディスク・コントローラ1において検出
することができず、ホスト・システムに対する割り込み
を発生することができないという欠点がある。
In the above-mentioned conventional floppy disk drive, in the case of the first conventional floppy disk drive, the motor control signal 12 output from the floppy disk controller 1 is output. While the motor in the floppy disk drive 2 is inactive and the motor in the floppy disk drive 2 is stopped, if the medium is ejected and inserted again, the level state of the ready signal 13 from the floppy disk drive 2 is changed. Is not changed, the exchange of the media cannot be detected in the floppy disk controller 1, and an interrupt to the host system cannot be generated.

【0005】更に、上記の欠点に応じて、ホスト・シス
テムにおいても、フロッピィ・ディスク・ドライブ2に
おいてメディアの交換を検出することができないため
に、交換されたメディアに対して間違えたデータの書き
込み/読み出しが実行されてしまうという状態が発生
し、特に書き込み動作時においてはメディアに書き込ま
れているデータが破壊されてしまうという欠点がある。
Further, according to the above-mentioned drawbacks, even in the host system, the floppy disk drive 2 cannot detect the exchange of the medium, so that the wrong data is written / written on the exchanged medium. There is a drawback in that the state in which the reading is executed occurs and the data written in the medium is destroyed especially in the writing operation.

【0006】また、第2の従来例のフロッピィ・ディス
ク装置の場合には、フロッピィ・ディスク・コントロー
ラ1内に、フロッピィ・ディスク・ドライブ2のレディ
状態を検出する手段が設けられていないために、フロッ
ピィ・ディスク・ドライブ2が、常にレディ状態にある
ものと仮定して動作が行われる状態となり、これによ
り、モータ制御信号12がアクティブの状態になって
も、フロッピィ・ディスク・ドライブ2におけるモータ
が正常に回転をしていない場合に異常を検出することが
できないという欠点がある。
In the case of the floppy disk device of the second conventional example, the means for detecting the ready state of the floppy disk drive 2 is not provided in the floppy disk controller 1. The operation is performed assuming that the floppy disk drive 2 is always in the ready state, so that even if the motor control signal 12 becomes active, the motor in the floppy disk drive 2 becomes active. There is a disadvantage that an abnormality cannot be detected when the rotation is not performed normally.

【0007】更に、メディアが交換されたことにより割
り込みが発生しないために、ホスト・システムにおいて
は、フロッピィ・ディスク・コントローラ1に対してメ
ディアの交換の有無を確認する手続きが必要となり、こ
れにより、ホスト・システムによるフロッピィ・ディス
ク・コントローラ1に対する制御作用が複雑化するとい
う欠点がある。
Further, since the interruption does not occur due to the exchange of the medium, the host system needs a procedure for confirming whether or not the medium has been exchanged with the floppy disk controller 1. There is a drawback in that the control operation for the floppy disk controller 1 by the host system becomes complicated.

【0008】[0008]

【課題を解決するための手段】第1の発明のフロッピィ
・ディスク装置は、フロッピィ・ディスク・メディアに
対して書き込み/読み出しを行うフロッピィ・ディスク
・ドライブと、所定のホスト・システムに接続されて当
該フロッピィ・ディスク・ドライブを制御するフロッピ
ィ・ディスク・コントローラから成るフロッピィ・ディ
スク装置において、前記フロッピィ・ディスク・ドライ
ブから出力されるレディ信号ならびにディスク・チェン
ジ信号を入力して、前記フロッピィ・ディスク・コント
ローラから出力されて前記フロッピィ・ディスク・ドラ
イブに入力されるモータ制御信号により制御され、前記
レディ信号および前記ディスク・チェンジ信号の何れか
一方の信号を選択して、前記フロッピィ・ディスク・コ
ントローラに入力する信号選択手段を、少なくとも前記
フロッピィ・ディスク・コントローラとフロッピィ・デ
ィスク・ドライブ間のインタフェ−ス手段として備える
ことを特徴としている。
A floppy disk device of the first invention is connected to a floppy disk drive for writing / reading to / from a floppy disk medium, and is connected to a predetermined host system. In a floppy disk device comprising a floppy disk controller for controlling a floppy disk drive, a ready signal and a disk change signal output from the floppy disk drive are input to the floppy disk controller. The floppy disk controller is controlled by a motor control signal that is output and input to the floppy disk drive, selects one of the ready signal and the disk change signal, and inputs the signal to the floppy disk controller. That the signal selecting means, Intafe between at least said floppy disk controller and a floppy disk drive - is characterized by comprising a scan unit.

【0009】また、第2の発明のフロッピィ・ディスク
装置は、フロッピィ・ディスク・メディアに対して書き
込み/読み出しを行うフロッピィ・ディスク・ドライブ
と、所定のホスト・システムに接続されて当該フロッピ
ィ・ディスク・ドライブを制御するフロッピィ・ディス
ク・コントローラから成るフロッピィ・ディスク装置に
おいて、前記フロッピィ・ディスク・コントローラが、
所定のホスト・システムに接続されて当該フロッピィ・
ディスク・ドライブを制御するフロッピィ・ディスク・
コントローラ内部回路と、前記フロッピィ・ディスク・
ドライブから出力されるレディ信号ならびにディスク・
チェンジ信号を入力して、前記フロッピィ・ディスク・
コントローラ内部回路から出力されて前記フロッピィ・
ディスク・ドライブに入力されるモータ制御信号により
制御され、前記レディ信号および前記ディスク・チェン
ジ信号の何れか一方の信号を選択して、前記フロッピィ
・ディスク・コントローラ内部回路に入力する信号選択
手段とを少なくとも備えて構成される。
A floppy disk drive according to a second aspect of the present invention is a floppy disk drive for writing / reading to / from a floppy disk medium, and the floppy disk drive connected to a predetermined host system. A floppy disk device comprising a floppy disk controller for controlling a drive, wherein the floppy disk controller comprises:
Connected to a given host system
Floppy disk drive that controls the disk drive
The controller internal circuit and the floppy disk
Ready signal output from the drive and disc
Input the change signal to the floppy disk
Output from the controller internal circuit
And a signal selection means for selecting one of the ready signal and the disk change signal and inputting it to the floppy disk controller internal circuit under the control of a motor control signal input to the disk drive. It is configured to include at least.

【0010】更に、第3の発明のフロッピィ・ディスク
装置は、ディスク・メディアに対して書き込み/読み出
しを行うフロッピィ・ディスク・ドライブと、所定のホ
スト・システムに接続されて当該フロッピィ・ディスク
・ドライブを制御するフロッピィ・ディスク・コントロ
ーラから成るフロッピィ・ディスク装置において、前記
フロッピィ・ディスク・ドライブが、フロッピィ・ディ
スク・メディアに対して書き込み/読み出しを行うフロ
ッピィ・ディスク・ドライブ内部回路と、前記フロッピ
ィ・ディスク・コントローラ内部回路から出力されるレ
ディ信号ならびにディスク・チェンジ信号を入力して、
前記フロッピィ・ディスク・コントローラから出力され
て前記フロッピィ・ディスク・ドライブ内部回路に入力
されるモータ制御信号により制御され、前記レディ信号
および前記ディスク・チェンジ信号の何れか一方の信号
を選択して、前記フロッピィ・ディスク・コントローラ
に出力する信号選択手段とを少なくとも備えて構成され
る。
Further, the floppy disk device of the third invention is a floppy disk drive for writing / reading to / from a disk medium, and the floppy disk drive connected to a predetermined host system. In a floppy disk device including a floppy disk controller for controlling, the floppy disk drive includes a floppy disk drive internal circuit for writing / reading to / from a floppy disk medium, and the floppy disk drive. Input the ready signal and disk change signal output from the controller internal circuit,
Controlled by a motor control signal output from the floppy disk controller and input to the internal circuit of the floppy disk drive, selecting either one of the ready signal and the disk change signal, And a signal selecting means for outputting to the floppy disk controller.

【0011】なお、前記第1、第2および第3の発明の
プロッピィ・ディスク装置において、前記信号選択手段
としては、前記レディ信号と前記モータ制御信号の論理
和をとって出力するOR回路と、前記ディスク・チェン
ジ信号と前記モータ制御信号の論理積をとって出力する
NAND回路と、前記OR回路の出力と前記NAND回
路の出力の論理積をとって出力するAND回路とを備え
て構成してもよい。
In the above-mentioned first, second and third aspects of the present invention, the signal selecting means may include an OR circuit for calculating a logical sum of the ready signal and the motor control signal and outputting the logical sum. A NAND circuit that takes the logical product of the disk change signal and the motor control signal and outputs the result; and an AND circuit that takes the logical product of the output of the OR circuit and the output of the NAND circuit and outputs the result. Is also good.

【0012】[0012]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0013】図1は本発明の第1の実施例を示すブロッ
ク図である。図1に示されるように、本実施例は、ホス
ト・システム(図示されない)からの命令を受けて制御
動作を行うフロッピィ・ディスク・コントローラ1と、
フロッピィ・ディスク・コントローラ1の制御作用を受
けて、フロッピィ・ディスク・メディアに対する書き込
み/読み出し動作を行うフロッピィ・ディスク・ドライ
ブ2とを備えて構成されている。これらのフロッピィ・
ディスク・コントローラ1と、フロッピィ・ディスク・
ドライブ2と間のインタフェースとしては、フロッピィ
・ディスク・コントローラ1からフロッピィ・ディスク
・ドライブ2に出力される、フロッピィ・ディスク・ド
ライブ2に設けられているモータのON/OFFを制御
するモータ制御信号12と、フロッピィ・ディスク・ド
ライブ2から出力される、書き込み/読み出し動作が可
能であることを示すレディ信号13およびモータ制御信
号12を入力とするOR回路4、フロッピィ・ディスク
・ドライブ2から出力される、メディアが排出されたこ
とを示すディスク・チェンジ信号14およびモータ制御
信号12を入力とするNAND回路5、これらのOR回
路4の出力およびNAND回路5の出力を入力とするA
ND回路6を含む信号選択回路と、書き込み/読み出し
のための制御信号11等である。なお、上記の信号選択
回路は、フロッピィ・ディスク・ドライブ2から出力さ
れるレディ信号13またはディスク・チェンジ信号14
の何れか一方を選択して、フロッピ・ディスク・コント
ローラ1に入力する回路であり、モータ制御信号12が
アクティブ“LOW”レベルの時にはレディ信号13が
選択され、モータ制御信号12がインアクティブ“HI
GH”レベルの時にはディスク・チェンジ信号11が選
択されて、それぞれフロッピ・ディスク・コントローラ
1に入力される。なお図1においては、AND回路6の
出力信号はレディ/ディスク・チェンジ信号15として
示されているが、このレディ/ディスク・チェンジ信号
15による信号入力の機能は、従来例におけるフロッピ
ィ・ディスク・コントローラ1に対するレディ信号入力
の場合と同様であり、当該信号の状態変化により、ホス
ト・システムに対してフロッピィ・ディスク・ドライブ
2の状態遷移の割り込みが発生し、或はまたフロッピィ
・ディスク・ドライブ2に対する書き込み/読み出し動
作の開始時においては、当該レディ/ディスク・チェン
ジ信号15がチェックされて、フロッピィ・ディスク・
ドライブ2がレディ状態にあるか否かの判断を行うため
の信号として使用される。
FIG. 1 is a block diagram showing a first embodiment of the present invention. As shown in FIG. 1, this embodiment includes a floppy disk controller 1 which performs a control operation in response to a command from a host system (not shown);
A floppy disk drive 2 that performs a write / read operation on a floppy disk medium under the control of the floppy disk controller 1 is provided. These floppies
Disk controller 1 and floppy disk drive
An interface with the drive 2 includes a motor control signal 12 output from the floppy disk controller 1 to the floppy disk drive 2 for controlling ON / OFF of a motor provided in the floppy disk drive 2. And the OR circuit 4 which receives the ready signal 13 and the motor control signal 12 which are output from the floppy disk drive 2 and indicate that the write / read operation is possible, and which are output from the floppy disk drive 2. A NAND circuit 5 to which a disk change signal 14 and a motor control signal 12 indicating that the medium has been ejected are input, and an A to which the output of the OR circuit 4 and the output of the NAND circuit 5 are input.
A signal selection circuit including the ND circuit 6, a control signal 11 for writing / reading, and the like. The above-mentioned signal selection circuit is used for the ready signal 13 or the disk change signal 14 output from the floppy disk drive 2.
One of the two is selected and input to the floppy disk controller 1. When the motor control signal 12 is at the active "LOW" level, the ready signal 13 is selected and the motor control signal 12 is at the inactive "HI" level.
At the time of "GH" level, the disk change signal 11 is selected and input to the floppy disk controller 1. The output signal of the AND circuit 6 is shown as a ready / disk change signal 15 in FIG. However, the function of the signal input by the ready / disk change signal 15 is the same as that of the ready signal input to the floppy disk controller 1 in the conventional example. On the other hand, when the state transition interrupt of the floppy disk drive 2 occurs, or at the start of the write / read operation to the floppy disk drive 2, the ready / disk change signal 15 is checked. Floppy disk
It is used as a signal for determining whether or not the drive 2 is in a ready state.

【0014】上述した構成の本実施例のフロッピイ・デ
ィスク装置においては、フロッピィ・ディスク・ドライ
ブ2のモータが停止している場合、即ちモータ制御信号
12がインアクティブ“HIGH”レベルの時には、レ
ディ/ディスク・チェンジ信号15としてディスク・チ
ェンジ信号14の反転信号が選択されて、フロッピィ・
ディスク・コントローラ1に入力される。この状態にお
いて、フロッピィ・ディスク・ドライブ2にメディアが
挿入されている場合には、ディスク・チェンジ信号14
が“HIGH”レベルの状態にあるため、フロッピィ・
ディスク・コントローラ1に入力されるレディ/ディス
ク・チェンジ信号15は“LOW”レベルの状態になっ
ている。この状態において、フロッピィ・ディスク・ド
ライブ2からメディアが取り出されると、ディスク・チ
ェンジ信号15は“HIGH”レベルから“LOW”レ
ベルに変化し、この変化に対応してレディ/ディスク・
チェンジ信号15は“LOW”レベルから“HIGH”
レベルに変化する。これにより、フロッピィ・ディスク
・コントローラ1においては、レディ/ディスク・チェ
ンジ信号15のレベル変化が検出されて、ホスト・シス
テムに対する割り込み要求が発生される。従って、フロ
ッピィ・ディスク・ドライブ2のモータが停止している
状態においても、メディアが排出されたことを検出する
ことが可能となる。
In the floppy disk drive of this embodiment having the above-described configuration, when the motor of the floppy disk drive 2 is stopped, that is, when the motor control signal 12 is at the inactive "HIGH" level, An inverted signal of the disc change signal 14 is selected as the disc change signal 15, and the floppy
Input to the disk controller 1. In this state, if a medium is inserted in the floppy disk drive 2, the disk change signal 14
Is at the “HIGH” level, so that the floppy
The ready / disk change signal 15 input to the disk controller 1 is at the "LOW" level. In this state, when the medium is taken out from the floppy disk drive 2, the disk change signal 15 changes from "HIGH" level to "LOW" level.
Change signal 15 changes from "LOW" level to "HIGH"
Change to a level. As a result, the floppy disk controller 1 detects a change in the level of the ready / disk change signal 15 and generates an interrupt request to the host system. Therefore, even when the motor of the floppy disk drive 2 is stopped, it is possible to detect that the medium has been ejected.

【0015】一方、フロッピィ・ディスク・ドライブ2
のモータが正常に回転動作している場合、即ちモータ制
御信号12がアクティブ“HIGH”レベルの状態にあ
る場合には、レディ/ディスク・チェンジ信号15とし
てレディ信号13が選択されて、フロッピィ・ディスク
・コントローラ1に入力される。この状態において、フ
ロッピィ・ディスク・ドライブ2にメディアが挿入され
ている場合には、モータが回転してメディアが挿入され
ているので、レディ信号13が“LOW”レベルの状態
にあるため、フロッピィ・ディスク・コントローラ1に
入力されるレディ/ディスク・チェンジ信号15も“L
OW”レベルの状態で出力される。この状態において、
フロッピィ・ディスク・ドライブ2からメディアが取り
出されると、フロッピィ・ディスク・ドライブ2は非レ
ディ状態となり、レディ信号13は“LOW”レベルか
ら“HIGH”レベルに変化し、このレベル変化に対応
してレディ/ディスク・チェンジ信号15も“LOW”
レベルから“HIGH”レベルに変化する。これによ
り、フロッピィ・ディスク・コントローラ1において
は、レディ/ディスク・チェンジ信号15のレベル変化
が検出されて、ホスト・システムに対する割り込み要求
が発生される。従って、フロッピィ・ディスク・ドライ
ブ2のモータが回転している状態においても、メディア
が排出されたことを検出することができる。
On the other hand, the floppy disk drive 2
If the motor is rotating normally, that is, if the motor control signal 12 is in the active "HIGH" level state, the ready signal 13 is selected as the ready / disk change signal 15, and the floppy disk is selected. -It is input to the controller 1. In this state, when the medium is inserted in the floppy disk drive 2, since the motor is rotating and the medium is inserted, the ready signal 13 is at the "LOW" level. The ready / disk change signal 15 input to the disk controller 1 is also "L".
It is output in the OW "level state. In this state,
When the medium is taken out from the floppy disk drive 2, the floppy disk drive 2 becomes a non-ready state, the ready signal 13 changes from "LOW" level to "HIGH" level, and in response to this level change, it becomes ready. / Disk change signal 15 is also "LOW"
The level changes from "HIGH" level. As a result, the floppy disk controller 1 detects a change in the level of the ready / disk change signal 15 and generates an interrupt request to the host system. Therefore, even when the motor of the floppy disk drive 2 is rotating, it is possible to detect that the medium has been ejected.

【0016】また、モータ制御信号12がアクティブ
“LOW”レベルでありながら、モータが正常に回転し
ないという理由により、フロッピィ・ディスク・ドライ
ブ2がレディ状態にならない場合においても、レディ/
ディスク・チェンジ信号15としては、フロッピィ・デ
ィスク・ドライブ2から出力されるレディ信号13が選
択されて、フロッピィ・ディスク・コントローラ1に入
力されるために、フロッピィ・ディスク・コントローラ
1においては、従来どうりにレディ/非レディを検出す
ることが可能である。
Further, even if the floppy disk drive 2 does not enter the ready state because the motor does not rotate normally while the motor control signal 12 is at the active “LOW” level,
As the disk change signal 15, the ready signal 13 output from the floppy disk drive 2 is selected and input to the floppy disk controller 1, so that the floppy disk controller 1 Ready / non-ready can be detected.

【0017】次に、図2は本発明の第2の実施例を示す
ブロック図である。図2に示されるように、本実施例
は、フロッピィ・ディスク・コントローラ1と、フロッ
ピィ・ディスク・コントローラ1の制御作用を受けて、
フロッピィ・ディスク・メディアに対する書き込み/読
み出し動作を行うフロッピィ・ディスク・ドライブ2と
を備えて構成されており、フロッピィ・ディスク・コン
トローラ1の内部には、ホスト・システム(図示されな
い)からの命令を受けて制御動作を行うフロッピィ・デ
ィスク・コントローラ内部回路3と、OR回路4、NA
ND回路5およびAND回路6を含む信号選択回路が設
けられている。これらのフロッピィ・ディスク・コント
ローラ1と、フロッピィ・ディスク・ドライブ2との間
のインタフェースとしては、フロッピィ・ディスク・コ
ントローラ内部回路3からフロッピィ・ディスク・ドラ
イブ2に出力される、フロッピィ・ディスク・ドライブ
2に設けられているモータのON/OFFを制御するモ
ータ制御信号12と、フロッピィ・ディスク・ドライブ
2からフロッピィ・ディスク・コントローラ1に出力さ
れるおよび書き込み/読み出し動作が可能であることを
示すレディ信号13と、メディアが排出されたことを示
すディスク・チェンジ信号14および書き込み/読み出
しのための制御信号11等がある。なお、上記の信号選
択回路は、フロッピィ・ディスク・ドライブ2から出力
されるレディ信号13またはディスク・チェンジ信号1
4の何れか一方を選択して、フロッピィ・ディスク・コ
ントローラ内部回路3に入力する回路であり、モータ制
御信号12がアクティブ“LOW”レベルの時にはレデ
ィ信号13が選択され、モータ制御信号12がインアク
ティブ“HIGH”レベルの時にはディスク・チェンジ
信号14が選択されて、それぞれフロッピィ・ディスク
・コントローラ1に入力される。なお図2においては、
AND回路8の出力信号はレディ/ディスク・チェンジ
信号15として示されているが、このレディ/ディスク
・チェンジ信号15による信号入力の機能は、従来例に
おけるフロッピィ・ディスク・コントローラ1に対する
レディ信号入力の場合と同様であり、当該レディ/ディ
スク・チェンジ信号15の状態変化により、ホスト・シ
ステムに対してフロッピィ・ディスク・ドライブ2の状
態遷移の割り込みが発生し、またフロッピィ・ディスク
・ドライブ2に対する書き込み/読み出し動作の開始時
においては、当該信号がチェックされて、フロッピィ・
ディスク・ドライブ2がレディ状態にあるか否かの判断
を行うための信号として使用される。
FIG. 2 is a block diagram showing a second embodiment of the present invention. As shown in FIG. 2, the present embodiment is controlled by the floppy disk controller 1 and the floppy disk controller 1,
A floppy disk drive 2 for writing / reading to / from a floppy disk medium. A command from a host system (not shown) is received inside the floppy disk controller 1. , A floppy disk controller internal circuit 3 for performing a control operation, an OR circuit 4, an NA
A signal selection circuit including an ND circuit 5 and an AND circuit 6 is provided. As an interface between the floppy disk controller 1 and the floppy disk drive 2, a floppy disk drive 2 output from the floppy disk controller internal circuit 3 to the floppy disk drive 2 is provided. And a ready signal output from the floppy disk drive 2 to the floppy disk controller 1 and indicating that a write / read operation is possible. 13, a disc change signal 14 indicating that the medium has been ejected, a control signal 11 for writing / reading, and the like. The above-mentioned signal selection circuit is used for the ready signal 13 or the disk change signal 1 output from the floppy disk drive 2.
4 is a circuit which selects one of the signals and inputs the selected signal to the floppy disk controller internal circuit 3. When the motor control signal 12 is at the active "LOW" level, the ready signal 13 is selected and the motor control signal 12 is turned on. At the time of the active "HIGH" level, the disk change signal 14 is selected and inputted to the floppy disk controller 1, respectively. In FIG. 2,
The output signal of the AND circuit 8 is shown as the ready / disk change signal 15. The function of the signal input by the ready / disk change signal 15 is that of the ready signal input to the floppy disk controller 1 in the conventional example. Similar to the case, the state change of the ready / disk change signal 15 causes an interrupt of the state transition of the floppy disk drive 2 to the host system, and writing / writing to the floppy disk drive 2. At the start of the read operation, the signal is checked and the floppy
It is used as a signal for determining whether the disk drive 2 is in the ready state.

【0018】上述した構成の第2の実施例は、第1の実
施例におけるOR回路4、NAND回路5およびAND
回路6を含み、フロッピィ・ディスク・コントローラ内
部回路3より出力されるモータ制御信号12のレベルに
応じて、フロッピィ・ディスク・ドライブ2から出力さ
れるレディ信号13およびディスク・チェンジ信号14
の何れかを選択して出力する前記信号選択回路を、フロ
ッピィ・ディスク・コントローラ1の内部に組み入れて
内蔵したことに特徴があり、総合動作については、第1
の実施例の場合と同様であり、その説明は省略する。な
お、本実施例においては、図1に示される第1の実施例
に対比して、フロッピィ・ディスク装置を構成するため
の部品点数を削減することが可能になるという利点があ
る。また同様に、図2におけるフロッピィ・ディスク・
コントローラ1に内蔵されている信号選択回路を、フロ
ッピイ・ディスク・ドライブ2の内部に内蔵することも
実現可能である。
The second embodiment having the above-mentioned configuration is an OR circuit 4, a NAND circuit 5 and an AND circuit in the first embodiment.
A ready signal 13 and a disk change signal 14 output from the floppy disk drive 2 in accordance with the level of the motor control signal 12 output from the floppy disk controller internal circuit 3;
It is characterized in that the signal selection circuit for selecting and outputting any one of the above is incorporated in the floppy disk controller 1 and incorporated therein.
This is the same as the embodiment, and the description thereof is omitted. It should be noted that the present embodiment has an advantage that the number of components for constituting the floppy disk device can be reduced as compared with the first embodiment shown in FIG. Similarly, the floppy disk shown in FIG.
It is also possible to realize that the signal selection circuit built in the controller 1 is built in the floppy disk drive 2.

【0019】[0019]

【発明の効果】以上説明したように、本発明は、フロッ
ピィ・ディスク・コントローラより出力されて、フロッ
ピイ・ディスク・ドライブに入力されるモータ制御信号
のレベル状態に対応して、フロッピィ・ディスク・ドラ
イブより出力されるレディ信号およびディスク・チェン
ジ信号を切替えてフロッピィ・ディスク・コントローラ
に入力することにより、フロッピィ・ディスク・コント
ローラにおいてフロッピイ・ディスク・ドライブの状態
を的確に検出し、該当する状態変化に対応するホスト・
システムに対する割り込み動作を有効に行うことによ
り、フロッピィ・ディスク・ドライブのモータの回転の
如何を問わず、メディアが排出されて再び挿入された場
合においても、ホスト・システムに対する割り込みを正
常に行うことができるという効果がある。
As described above, according to the present invention, the floppy disk drive is controlled according to the level of the motor control signal output from the floppy disk controller and input to the floppy disk drive. By switching the ready signal and disk change signal output from the controller and inputting them to the floppy disk controller, the floppy disk controller accurately detects the state of the floppy disk drive and responds to the corresponding state change Host
By effectively performing the interrupt operation for the system, regardless of the rotation of the floppy disk drive motor, even if the medium is ejected and reinserted, the interrupt to the host system can be performed normally. There is an effect that can be.

【0020】また、ホスト・システムにおいても、フロ
ッピィ・ディスク・ドライブにおいてメディアの交換を
検出することができるために、交換されたメディアに対
して適正にデータの書き込み/読み出しが行われ、メデ
ィアに書き込まれているデータが破壊されるという問題
が解消されるという効果がある。
Also, in the host system, since the exchange of the medium can be detected in the floppy disk drive, data is properly written / read to / from the exchanged medium, and the data is written to the medium. This has the effect of eliminating the problem of destroying stored data.

【0021】更にまた、フロッピィ・ディスク・ドライ
ブが、レディ状態にあるものと仮定して動作するという
状態が排除されるために、モータ制御信号がアクティブ
となってもモータが正常に回転をしないという異常状態
を検出することができるという効果がある。
Furthermore, since the state in which the floppy disk drive operates assuming that it is in the ready state is eliminated, the motor does not rotate normally even if the motor control signal becomes active. There is an effect that an abnormal state can be detected.

【0022】そして、更にホスト・システムにおいて、
フロッピィ・ディスク・コントローラに対してメディア
の交換の有無を確認する手続きが不要となり、これによ
り、ホスト・システムによるフロッピィ・ディスク・コ
ントローラに対する余分の制御作用が排除されるという
効果がある。
Further, in the host system,
This eliminates the need for the floppy disk controller to confirm whether or not the medium has been exchanged. This has the effect of eliminating extra control of the floppy disk controller by the host system.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施例の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of a first exemplary embodiment of the present invention.

【図2】本発明の第2の実施例の構成を示すブロック図
である。
FIG. 2 is a block diagram showing a configuration of a second exemplary embodiment of the present invention.

【図3】従来例の構成を示すブロック図である。FIG. 3 is a block diagram showing a configuration of a conventional example.

【図4】他の従来例の構成を示すブロック図である。FIG. 4 is a block diagram showing a configuration of another conventional example.

【符号の説明】[Explanation of symbols]

1 フロッピィ・ディスク・コントローラ 2 フロッピィ・ディスク・ドライブ 3 フロッピィ・ディスク・コントローラ内部回路 4 OR回路 5 NAND回路 6 AND回路 11 リード/ライト制御信号 12 モータ制御信号 13 レディ信号 14 ディスク・チェンジ信号 15 レディ/ディスク・チェンジ信号 1 Floppy Disk Controller 2 Floppy Disk Drive 3 Floppy Disk Controller Internal Circuit 4 OR Circuit 5 NAND Circuit 6 AND Circuit 11 Read / Write Control Signal 12 Motor Control Signal 13 Ready Signal 14 Disk Change Signal 15 Ready / Disk change signal

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 フロッピィ・ディスク・メディアに対し
て書き込み/読み出しを行うフロッピィ・ディスク・ド
ライブと、所定のホスト・システムに接続されて当該フ
ロッピィ・ディスク・ドライブを制御するフロッピィ・
ディスク・コントローラから成るフロッピィ・ディスク
装置において、 前記フロッピィ・ディスク・ドライブから出力されるレ
ディ信号ならびにディスク・チェンジ信号を入力して、
前記フロッピィ・ディスク・コントローラから出力され
て前記フロッピィ・ディスク・ドライブに入力されるモ
ータ制御信号により制御され、前記レディ信号および前
記ディスク・チェンジ信号の何れか一方の信号を選択し
て、前記フロッピィ・ディスク・コントローラに入力す
る信号選択手段を、少なくとも前記フロッピィ・ディス
ク・コントローラとフロッピィ・ディスク・ドライブ間
のインタフェ−ス手段として備えることを特徴とするフ
ロッピィ・ディスク装置。
1. A floppy disk drive for writing / reading to / from a floppy disk medium, and a floppy disk drive connected to a predetermined host system for controlling the floppy disk drive.
In a floppy disk device including a disk controller, a ready signal and a disk change signal output from the floppy disk drive are input,
The floppy disk controller is controlled by a motor control signal output from the floppy disk controller and input to the floppy disk drive, and the floppy disk is selected by selecting one of the ready signal and the disk change signal. A floppy disk device comprising a signal selecting means for inputting to a disk controller as at least an interface means between the floppy disk controller and the floppy disk drive.
【請求項2】 フロッピィ・ディスク・メディアに対し
て書き込み/読み出しを行うフロッピィ・ディスク・ド
ライブと、所定のホスト・システムに接続されて当該フ
ロッピィ・ディスク・ドライブを制御するフロッピィ・
ディスク・コントローラから成るフロッピィ・ディスク
装置において、 前記フロッピィ・ディスク・コントローラが、所定のホ
スト・システムに接続されて当該フロッピィ・ディスク
・ドライブを制御するフロッピィ・ディスク・コントロ
ーラ内部回路と、 前記フロッピィ・ディスク・ドライブから出力されるレ
ディ信号ならびにディスク・チェンジ信号を入力して、
前記フロッピィ・ディスク・コントローラ内部回路から
出力されて前記フロッピィ・ディスク・ドライブに入力
されるモータ制御信号により制御され、前記レディ信号
および前記ディスク・チェンジ信号の何れか一方の信号
を選択して、前記フロッピィ・ディスク・コントローラ
内部回路に出力する信号選択手段と、 を少なくとも備えて構成されることを特徴とするフロッ
ピィ・ディスク装置。
2. A floppy disk drive for writing / reading to / from a floppy disk medium, and a floppy disk drive connected to a predetermined host system for controlling the floppy disk drive.
A floppy disk device comprising a disk controller, wherein the floppy disk controller is connected to a predetermined host system to control the floppy disk drive, and the floppy disk controller internal circuit.・ Input the ready signal and disk change signal output from the drive,
Controlled by a motor control signal output from the internal circuit of the floppy disk controller and input to the floppy disk drive, selecting either one of the ready signal and the disk change signal, A floppy disk device comprising at least a signal selecting means for outputting to a floppy disk controller internal circuit.
【請求項3】 フロッピィ・ディスク・メディアに対し
て書き込み/読み出しを行うフロッピィ・ディスク・ド
ライブと、所定のホスト・システムに接続されて当該フ
ロッピィ・ディスク・ドライブを制御するフロッピィ・
ディスク・コントローラから成るフロッピィ・ディスク
装置において、 前記フロッピィ・ディスク・ドライブが、フロッピィ・
ディスク・メディアに対して書き込み/読み出しを行う
フロッピィ・ディスク・ドライブ内部回路と、 前記フロッピィ・ディスク・コントローラ内部回路から
出力されるレディ信号ならびにディスク・チェンジ信号
を入力して、前記フロッピィ・ディスク・コントローラ
から出力されて前記フロッピィ・ディスク・ドライブ内
部回路に入力されるモータ制御信号により制御され、前
記レディ信号および前記ディスク・チェンジ信号の何れ
か一方の信号を選択して、前記フロッピィ・ディスク・
コントローラに出力する信号選択手段と、 を少なくとも備えて構成されることを特徴とするフロッ
ピィ・ディスク装置。
3. A floppy disk drive for writing / reading to / from a floppy disk medium, and a floppy disk drive connected to a predetermined host system for controlling the floppy disk drive.
In a floppy disk device including a disk controller, the floppy disk drive is a floppy disk drive.
The floppy disk drive internal circuit for writing / reading to / from a disk medium, and the floppy disk controller by inputting a ready signal and a disk change signal output from the internal circuit of the floppy disk controller The floppy disk drive is controlled by a motor control signal that is output from the floppy disk drive internal circuit and is selected from the ready signal and the disk change signal.
A floppy disk device comprising at least a signal selecting means for outputting to a controller.
【請求項4】 前記信号選択手段が、前記レディ信号と
前記モータ制御信号の論理和をとって出力するOR回路
と、前記ディスク・チェンジ信号と前記モータ制御信号
の論理積をとって出力するNAND回路と、前記OR回
路の出力と前記NAND回路の出力の論理積をとって出
力するAND回路とを備えて構成される請求項1、2お
よび3記載のフロッピィ・ディスク装置。
4. A NAND circuit in which the signal selecting means calculates a logical sum of the ready signal and the motor control signal and outputs the logical product, and a logical product of the disk change signal and the motor control signal and outputs the logical product. 4. The floppy disk device according to claim 1, wherein the floppy disk device comprises a circuit and an AND circuit that outputs a logical product of the output of the OR circuit and the output of the NAND circuit.
JP26557594A 1994-10-28 1994-10-28 Floppy disk unit Expired - Lifetime JP2658911B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26557594A JP2658911B2 (en) 1994-10-28 1994-10-28 Floppy disk unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26557594A JP2658911B2 (en) 1994-10-28 1994-10-28 Floppy disk unit

Publications (2)

Publication Number Publication Date
JPH08129821A true JPH08129821A (en) 1996-05-21
JP2658911B2 JP2658911B2 (en) 1997-09-30

Family

ID=17419028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26557594A Expired - Lifetime JP2658911B2 (en) 1994-10-28 1994-10-28 Floppy disk unit

Country Status (1)

Country Link
JP (1) JP2658911B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6282045B1 (en) 1997-09-15 2001-08-28 Texas Instruments Incorporated Server hard disk drive integrated circuit and method of operation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6282045B1 (en) 1997-09-15 2001-08-28 Texas Instruments Incorporated Server hard disk drive integrated circuit and method of operation

Also Published As

Publication number Publication date
JP2658911B2 (en) 1997-09-30

Similar Documents

Publication Publication Date Title
EP0241868B1 (en) Disk apparatus
US6209046B1 (en) DMA transfer from a storage unit to a host using at least two transfer rates and cyclic error detection
US6446199B1 (en) Disk drive incompatible firmware recovery
JPH0514351B2 (en)
JP2658911B2 (en) Floppy disk unit
JP3150242B2 (en) Disk unit
JP2001184170A (en) Data converter
JPH06309118A (en) Information processor
JP2570137B2 (en) Programmable array logic
JP2817608B2 (en) Information processing device
JPH10143293A (en) Information processor with power source misoperation preventing function
JPH09114674A (en) Hard disk device
JPH01178188A (en) Magnetic disk device
JPH07122956B2 (en) Disk drive system
JPS63193388A (en) Disk driving system
JPH0516099B2 (en)
JPH05151510A (en) Magnetic disk device
JPS61259333A (en) Action diagnosing system for floppy disk control device
JPH0528660A (en) Information storage device with self-diagnostic function
JPH04167120A (en) Magnetic disk subsystem
JPH03291721A (en) Data transfer controller for floppy disk
JPH02253323A (en) Magnetic disk controller
JPS62121528A (en) Disk device
JPH05128008A (en) Memory control circuit
JP2000112671A (en) Disk device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970506