JPH0410276A - Storage device - Google Patents

Storage device

Info

Publication number
JPH0410276A
JPH0410276A JP11049690A JP11049690A JPH0410276A JP H0410276 A JPH0410276 A JP H0410276A JP 11049690 A JP11049690 A JP 11049690A JP 11049690 A JP11049690 A JP 11049690A JP H0410276 A JPH0410276 A JP H0410276A
Authority
JP
Japan
Prior art keywords
signal
motor
level
storing medium
floppy disk
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
JP11049690A
Other languages
Japanese (ja)
Other versions
JP2675650B2 (en
Inventor
Kazunori Arima
和範 有馬
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2110496A priority Critical patent/JP2675650B2/en
Publication of JPH0410276A publication Critical patent/JPH0410276A/en
Application granted granted Critical
Publication of JP2675650B2 publication Critical patent/JP2675650B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To read/write a desired data at high speed by controlling the active/ inactive state of a ready signal corresponding to the state of attaching/detaching a storing medium to be inserted freely attachably and detachably. CONSTITUTION:In the storage device to access the storing medium based on access permission information while having a driving means for the attachable/ detachable storing medium and a permitting means to output the access permission information to the storing medium, a detecting means 1c monitors the operation of attaching/detaching the storing medium and a drive control part 1a holds an access permitted state while loading the storing medium even when the operation of a driving means 1b is stopped. Thus, the access of confirming the storing medium to be executed when the driving means 1b is driven again can be avoided, and the desired data can be read/written at high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野1 この発明は、記憶媒体の着脱が可能な記憶装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application 1] The present invention relates to a storage device in which a storage medium is removable.

[従来の技術] 従来この種の装置では、記憶媒体となる、例えばフロッ
ピーディスク(FD)を着脱自在なフロッピーディスク
ドライブ装置(FDD)が実用化されている。
[Prior Art] Conventionally, in this type of device, a floppy disk drive device (FDD) in which a floppy disk (FD) serving as a storage medium, for example, can be freely attached and detached has been put into practical use.

このFDDにおいては、記憶媒体であるフロッピーディ
スク(FD)が挿入された状態で、FDを回転させるモ
ータがある一定回転になると、フロッピーディスクの読
み書きが可能であることを示す「レディ信号」をアクテ
ィブにしていた。そのため、FDDのモータをオンする
信号がインアクティブになると、つまり、モータをオフ
すると「レディ信号」もインアクティブになっていた。
In this FDD, when a floppy disk (FD), which is a storage medium, is inserted and the motor that rotates the FD reaches a certain speed, it activates a "ready signal" indicating that the floppy disk can be read and written. I was doing it. Therefore, when the signal that turns on the FDD motor becomes inactive, that is, when the motor is turned off, the "ready signal" also becomes inactive.

しかし、電池等の電源で駆動する装置においては、消費
電力が問題となるので、FDDを動作させる必要がない
時は、消費電力を下げるために「モータオン信号」をイ
ンアクティブにしていた。そうすると、再びFDをアク
セスするためにモータをオンしたときまで「レディ信号
」がインアクティブなので、その間にFDの着脱が操作
者によって行われたかどうかが装置には分からない。そ
のため、モータオンした時に、挿入されているFDが何
か調べる必要があった。また、FDアクセスの速度向上
のためFDのファイルの目録を装置のメモリに書込むタ
イプの装置においては、モータオンした時に、FDに記
゛1されているファイルの目録を、再び装置内部のメモ
リに書込みをする必要がある。
However, power consumption is a problem in devices powered by batteries or other power sources, so when there is no need to operate the FDD, the "motor on signal" is made inactive to reduce power consumption. In this case, since the "ready signal" is inactive until the motor is turned on to access the FD again, the device does not know whether the FD has been attached or detached by the operator during that time. Therefore, when the motor was turned on, it was necessary to check which FD was inserted. In addition, in a type of device that writes the FD file list to the device's memory in order to speed up FD access, when the motor is turned on, the file list recorded on the FD is written back to the device's internal memory. I need to write.

[発明が解決しようとする課題] このため、モータオンの度にFDの種類調査処理と、フ
ァイル目録を参照する処理が必要となるので、FDアク
セスの速度が遅くなり、さらにその処理動作分消費電流
が増加してしまう等の問題点があった。
[Problems to be Solved by the Invention] For this reason, each time the motor is turned on, it is necessary to check the FD type and refer to the file list, which slows down the FD access speed and further reduces the current consumption due to the processing operation. There were problems such as an increase in

この発明は、上記の問題点を解決するためになされたも
ので、記憶装置が着脱自在に挿入される記録媒体の着脱
状態に応じてレディ信号のアクティブ/インアクティブ
を制御することにより、最初のFDアクセス後のFDア
クセス毎のFDの種類、ファイル目録参照処理を排除し
て、所望とするデータを高速に読み書きできるとともに
、低消費電力でデータアクセスできる記録装置を得るこ
とを目的とする。
The present invention has been made to solve the above problems, and by controlling the active/inactive state of a ready signal according to the attachment/detachment state of a recording medium into which a storage device is removably inserted, To provide a recording device capable of reading and writing desired data at high speed and accessing data with low power consumption by eliminating FD type and file list reference processing for each FD access after FD access.

[課題を解決するための手段1 この発明に係る記録装置は、記憶媒体の着脱動作を検知
する検知手段と、駆動手段の停止中に、検知手段の検知
結果に基づいて許可手段の出力を制御する制御手段とを
設けたものである。
[Means for Solving the Problems 1] The recording device according to the present invention includes a detection means for detecting the attachment/detachment operation of a storage medium, and controls the output of the permission means based on the detection result of the detection means while the drive means is stopped. The system is equipped with a control means for controlling.

また、記憶媒体は、フロッピーディスクで構成したもの
である。
Further, the storage medium is a floppy disk.

[作用] この発明においては、検知手段により記憶媒体の着脱動
作が監視されており、駆動手段の停止中に、検知手段に
よって記憶媒体の着脱が検知されていないければ、駆動
の再開時に、許可手段がアクセス許可情報を直ちに出力
するように制御手段が制御する。
[Operation] In the present invention, the detection means monitors the storage medium attachment/detachment operation, and if the detection means does not detect the storage medium attachment/detachment while the drive means is stopped, permission is granted when the drive is restarted. The control means controls the means to immediately output the access permission information.

また、記憶媒体をフロッピーディスクで構成して、この
フロッピーディスクの着脱状態を検知手段が監視する。
Further, the storage medium is constituted by a floppy disk, and the detection means monitors the attachment/detachment state of the floppy disk.

[実施例] 第1図はこの発明の一実施例を示す記憶装置の構成を説
明するブロック図であり、1aはドライブ制御部(FD
IC)で、システムからのモータオン信号(MON)l
d、レディ信号(RED)le、システム信号1f等を
処理するとともに、図示しないフロッピーディスクを回
転するモータ1bに駆動信号を出力する。1cはFDゼ
イン出部で、フロッピーディスクが挿入されていること
を検出し、その状態信号をドライブ制御部1aに出力す
る。1gはモータ回転検出部で、モータ1bの回転が一
定回転になったことを検出し、その状態信号をドライブ
制御部1aに出方する。上記各1a〜1gによりフロッ
ピーディスク駆動装置(FDD)1が構成されている。
[Embodiment] FIG. 1 is a block diagram illustrating the configuration of a storage device showing an embodiment of the present invention, and 1a is a drive control unit (FD
IC), motor on signal (MON) from the system
d, a ready signal (RED) le, a system signal 1f, etc., and outputs a drive signal to a motor 1b that rotates a floppy disk (not shown). 1c is an FD output section that detects that a floppy disk is inserted and outputs a status signal to the drive control section 1a. Reference numeral 1g denotes a motor rotation detection section that detects that the rotation of the motor 1b has reached a constant rotation, and outputs a status signal thereof to the drive control section 1a. A floppy disk drive (FDD) 1 is constituted by each of the above 1a to 1g.

なお、レディ信号1eは、モータオン信号1dがインア
クティブの時は、フロッピーディスクが挿入されている
時、アクティブとなり、モータオン信号1dがアクティ
ブの時は、FDD 1が読み書き可能ということを示す
。すなわち、モータ1bが一定回転になり、さらにフロ
ッピーディスクが挿入されている時に、アクティブとな
る。
The ready signal 1e becomes active when a floppy disk is inserted when the motor-on signal 1d is inactive, and indicates that the FDD 1 can be read and written when the motor-on signal 1d is active. That is, it becomes active when the motor 1b rotates at a constant speed and a floppy disk is inserted.

また、モータオン信号1dはフロッピーディスクの回転
を指示する信号で、このモータオン信号1dがアクティ
ブの時にモータ1bが回転し、インアクティブの時にモ
ータ1bの回転を停止させる。
Further, the motor-on signal 1d is a signal instructing the rotation of the floppy disk, and when the motor-on signal 1d is active, the motor 1b rotates, and when it is inactive, the rotation of the motor 1b is stopped.

このように構成された記憶装置において、検知手段(こ
の実施例ではFDゼイン出部1c)により記憶媒体(フ
ロッピーディスク)の着脱状態が監視されており、駆動
手段(この実施例ではフロッピーディスクを一定速度で
回転駆動させるモータ1bを想定する)に対して指令さ
れる駆動停止命令出力中(モータオン信号1dが「Lレ
ベル」)は、決定手段を構成するドライブ制御部(IC
)  1aがFDゼイン出部1cがら出方される検知信
号の真偽結果に基づいてフロッピーディスクに対するア
クセス開始制御指令(この実施例ではレディ信号1e)
の真偽(0/1)を決定し、駆動停止命令出力中(モー
タオン信号1dが「Lレベル」)であってもフロッピー
ディスクが装着中は、アクセス開始制御指令(レディ信
号1e)を真(rlJ)とし続ける。
In the storage device configured as described above, the detection means (in this embodiment, the FD zein exit part 1c) monitors the attachment/detachment state of the storage medium (floppy disk), and the drive means (in this embodiment, the floppy disk is rotated at a constant speed). While the drive stop command is being output (motor on signal 1d is "L level") to the motor 1b (assuming a motor 1b that is driven to rotate at a high speed), the drive control unit (IC
) 1a is a control command for starting access to the floppy disk (ready signal 1e in this embodiment) based on the authenticity of the detection signal output from the FD output section 1c.
The access start control command (ready signal 1e) is set to true (0/1) even if the drive stop command is being output (motor on signal 1d is "L level") while the floppy disk is inserted. rlJ).

また、記憶媒体をフロッピーディスクで構成して、この
フロッピーディスクの着脱状態を検知手段が監視する。
Further, the storage medium is constituted by a floppy disk, and the detection means monitors the attachment/detachment state of the floppy disk.

更に、駆動手段(モータ1b)に対して指令される駆動
停止命令出力中(モータオン信号1dが「Lレベル」)
であって、FDゼイン出部1Cから出力される検知信号
の真偽結果が真である場合に、フロッピーディスクが装
着中であることを識別する。
Furthermore, a drive stop command is being output to the drive means (motor 1b) (motor on signal 1d is "L level")
If the truth result of the detection signal output from the FD zein output section 1C is true, it is determined that the floppy disk is being loaded.

第2図は、第1図に示したドライブ制御部1aの内部の
要部構成を説明するブロック図であり、2aは定速回転
信号で、モータ回転検出部1gより出力され、NOT回
路2dに入力される。2bはモータオン信号で、NAN
D回路2eに入力され、NOT回路2dの出力2gとの
ナンド処理を行う。
FIG. 2 is a block diagram illustrating the main internal configuration of the drive control section 1a shown in FIG. is input. 2b is the motor on signal, NAN
The signal is input to the D circuit 2e, and is subjected to NAND processing with the output 2g of the NOT circuit 2d.

2cはFDIN信号で、図示しないフロッピーディスク
(FD)が挿入されている場合にアクティブとなる信号
で、AND回路2fに出力され、NAND回路2eのナ
ンド出力2hとのアンド処理を行い、最終的なレディ信
号21を図示しないシステムに出力される。
2c is the FDIN signal, which becomes active when a floppy disk (FD) (not shown) is inserted. It is output to the AND circuit 2f, performs AND processing with the NAND output 2h of the NAND circuit 2e, and then receives the final signal. A ready signal 21 is output to a system (not shown).

これにより、定速回転信号2aが「Hレベル」の時、N
OT回路2dの出力2gは「Lレベル」となり、定速回
転信号2aが「Lレベル」の時、NOT回路2dの出力
2gは「Hレベル」となる。
As a result, when the constant speed rotation signal 2a is at "H level", N
The output 2g of the OT circuit 2d becomes "L level", and when the constant speed rotation signal 2a is "L level", the output 2g of the NOT circuit 2d becomes "H level".

また、ナンド出力2hはモータオン信号2bと出力2g
のうち、何れかが「Lレベル」の時に「Hレベル」とな
る。
In addition, NAND output 2h is motor on signal 2b and output 2g
When any one of them is at "L level", it becomes "H level".

さらに、レディ信号21は、ナンド出力2hとFDIN
信号2cとの両方が「Hレベル」でないと、「Hレベル
」とはならない。すなわち、レディ信号21が「Hレベ
ル」となるのは、FDIN信号2cが「Hレベル」で、
モータオン信号2bが「Lレベル」か定速回転信号2a
が「Hレベル」のときである。
Furthermore, the ready signal 21 is connected to the NAND output 2h and the FDIN
Unless both the signal 2c and the signal 2c are at the "H level", the "H level" will not be achieved. That is, the ready signal 21 becomes "H level" when the FDIN signal 2c is "H level".
Motor on signal 2b is "L level" or constant speed rotation signal 2a
is at "H level".

次に、第3図に示すタイミングチャートを参照しながら
第2図の動作について説明する。
Next, the operation shown in FIG. 2 will be explained with reference to the timing chart shown in FIG.

第3図は、第2図の動作を説明するタイミングチャート
である。
FIG. 3 is a timing chart explaining the operation of FIG. 2.

タイミングTaでモータオン信号2bが「Hレベル」と
なって、その後、タイミングTbになって定速回転信号
2aが「Hレベル」なる。そのときは、未だFDが挿入
されてな(て、FDIN信号2eが「Lレベル」のまま
であるが、タイミングTcのときFDが挿入され、FD
IN信号2Cが「Hレベル」になると、定速回転信号2
a、モータオン信号2bのいずれもが「Hレベル」なの
で、レディ信号21が「Hレベル」になる。タイミング
Tdでモータオン信号2bが「Lレベル」になると、し
ばらくしてタイミングTeで、定速回転信号2aが「L
レベル」になるが、FDが挿入されたままなので、レデ
ィ信号21は「Hレベル」のままである。タイミングT
fになって、再度モータオン信号2bが「Hレベル」に
なると、タイミングTfの段階では、未だ定速回転信号
2aが「Hレベル」でないので、レディ信号21は「L
レベル」になる。しかし、タイミングTgになって定速
回転信号2aが「Hレベル」になると、レディ信号21
も「Hレベル」になる。タイミングThからタイミング
Tiまでの間、すなわち定速回転信号2aとモータオン
信号2bが「Hレベル」であるが、FDIN信号2cが
「Lレベル」の時、すなわちフロッピーディスクが取り
出されたときは、レディ信号21は「Lレベル」になる
。もちろんタイミングTiで、再びフロッピーディスク
が挿入されると、レディ信号21は「Hレベル」になる
。また、定速回転信号2aとモタオン信号2bが「Lレ
ベル」で、FDIN信号2cが「Hレベル」のタイミン
グTkからタイミングT1の状態で、フロッピーディス
クが取り出され、FDIN信号2cが「Lレベル」とな
ると、レディ信号21は「Lレベル」となる。
At timing Ta, the motor-on signal 2b goes high, and then at timing Tb, the constant speed rotation signal 2a goes high. At that time, the FD has not been inserted yet (and the FDIN signal 2e remains at "L level"), but at timing Tc, the FD is inserted and the FD
When IN signal 2C becomes "H level", constant speed rotation signal 2
Since both the motor-on signal a and the motor-on signal 2b are at "H level", the ready signal 21 is at "H level". When the motor-on signal 2b goes to "L level" at timing Td, the constant speed rotation signal 2a goes to "L level" at timing Te.
However, since the FD remains inserted, the ready signal 21 remains at the "H level". timing T
When the motor-on signal 2b becomes "H level" again at timing Tf, the ready signal 21 becomes "L" since the constant speed rotation signal 2a is not yet "H level" at timing Tf.
level.” However, when the constant speed rotation signal 2a becomes "H level" at timing Tg, the ready signal 21
It also becomes "H level". From timing Th to timing Ti, that is, when the constant speed rotation signal 2a and motor-on signal 2b are at "H level", but when the FDIN signal 2c is at "L level", that is, when the floppy disk is ejected, the ready state is reached. The signal 21 becomes "L level". Of course, at timing Ti, when the floppy disk is inserted again, the ready signal 21 becomes "H level". Further, the floppy disk is taken out from timing Tk to timing T1 when the constant speed rotation signal 2a and the motor-on signal 2b are at "L level" and the FDIN signal 2c is at "H level", and the FDIN signal 2c is at "L level". Then, the ready signal 21 becomes "L level".

第4図は、第1図に示した第1図に示したドライブ制御
部1aを含むシステム構成を説明するブロック図であり
、第2図と同一のものには同じ符号を付しである。
FIG. 4 is a block diagram illustrating a system configuration including the drive control section 1a shown in FIG. 1, and the same components as in FIG. 2 are given the same reference numerals.

図において、4はCPUて、本システムを総括的に制御
する。5は記憶装置で、本システムを制御するうえで必
要なワーク5a、モータオン信号1dが「Hレベル」か
どうかを示すモータ状態レジスタ(MR)5b 、FD
DIからのレディ信号1eが「Hレベル」のままであっ
たかを記憶するレディレジスタ(RDY)5c 、タイ
マ(T)5d、FDの目録部分を記憶する目録バッファ
5e等からなる。
In the figure, a CPU 4 controls the system in general. Reference numeral 5 denotes a storage device, which includes a workpiece 5a necessary for controlling this system, a motor status register (MR) 5b indicating whether the motor-on signal 1d is at "H level", and an FD.
It consists of a ready register (RDY) 5c that stores whether the ready signal 1e from the DI remains at "H level", a timer (T) 5d, a list buffer 5e that stores the list portion of the FD, and the like.

なお、モータ状態レジスタ(MR)5bの内容は、モー
タオン信号1dが「Hレベル」の時、「1」となり、モ
ータオン信号1dが「Lレベル」の時、「0」となる。
The contents of the motor status register (MR) 5b are "1" when the motor-on signal 1d is "H level", and are "0" when the motor-on signal 1d is "L level".

また、レディレジスタ(RDY)5cの内容は、定速回
転信号2aがrHJレベルの時、FDIN信号2Cがr
HJレベルならば「1」、rLJレベルならばrOJと
なり、定速回転信号2aがrLJレベルの時、レディ信
号1eが「H」レベルのままのとき「1」となり、レデ
ィ信号1eがrLJレベルとなった以降は「O」となる
。ただし、モータ1bが回転し始めの時間は除かれる。
Also, the contents of the ready register (RDY) 5c are such that when the constant speed rotation signal 2a is at the rHJ level, the FDIN signal 2C is at the rHJ level.
If it is HJ level, it will be "1", if it is rLJ level, it will be rOJ, and when constant speed rotation signal 2a is at rLJ level, if ready signal 1e remains at "H" level, it will be "1", and if ready signal 1e is at rLJ level, it will be "1". After that, it becomes "O". However, the time when the motor 1b starts rotating is excluded.

6はFDコントローラで、FDDIをコントロールする
6 is an FD controller that controls FDDI.

7はタイマ回路で、ある任意の周期でCPU4に割込み
ライン7aを介してCPtJ4に割込みをかける。
7 is a timer circuit which interrupts the CPU 4 via the interrupt line 7a at a certain arbitrary period to the CPtJ4.

次に、第5図〜第7図を参照しながら第4図に示したシ
ステムの動作について説明する。
Next, the operation of the system shown in FIG. 4 will be explained with reference to FIGS. 5 to 7.

第5図は、第4図に示したFDDIのモータオフ処理手
順の一例を説明するフローチャートである。なお、(1
)はステップを示す。
FIG. 5 is a flowchart illustrating an example of the FDDI motor-off processing procedure shown in FIG. 4. In addition, (1
) indicates a step.

CPU4はFDコントローラ6によりモータオン信号1
dを「Lレベル」にし、記憶装置5のモータ状態レジス
タ(MR)5bにrOJをセットしく1)、処理を終了
する。
The CPU 4 receives the motor-on signal 1 by the FD controller 6.
d to "L level", set rOJ in the motor status register (MR) 5b of the storage device 51), and end the process.

第6図は、第4図に示したタイマ回路7によるタイマ処
理手順の一例を説明するフローチャートである。なお、
(1)〜(4)は各ステップを示す。
FIG. 6 is a flowchart illustrating an example of a timer processing procedure by the timer circuit 7 shown in FIG. In addition,
(1) to (4) indicate each step.

タイマ(T)5dがあらかじめ決められたモータオンか
ら定速回転に達する間での時間TW以内かどうかを判断
しく1)  YES (TWu内)の場合にはステップ
(3)に進み、No(タイマ(T)5dが時間TWを越
えている時)の場合には、ステップ(2)に処理は進む
。これは第3図におけるタイミングTfからタイミング
Tgまでのレディが「Lレベル」になる時間でレディレ
ジスタ(RDY)5cが「0」になることを避けるため
である。
It is necessary to judge whether the timer (T) 5d is within the predetermined time TW from turning on the motor to reaching constant speed rotation.1) If YES (within TWu), proceed to step (3); T) When 5d exceeds time TW), the process proceeds to step (2). This is to prevent the ready register (RDY) 5c from becoming "0" during the time when ready becomes "L level" from timing Tf to timing Tg in FIG.

次いで、レディ信号1eを読み込み、その値とレディレ
ジスタ(RDY)5cの内容とのアンド処理を行い、再
びレディレジスタ(RDY)5cにその値をセットする
(2)。すなわち、レディ信号1eが「Hレベル」から
「Lレベル」になると、レディレジスタ(RDY)5c
は「0」となる。次いで、タイマ(T)5dを「1」加
算(インクリメント)L(31その他の処理を実行しく
4)、処理を終了する。
Next, the ready signal 1e is read, its value is ANDed with the contents of the ready register (RDY) 5c, and the value is set in the ready register (RDY) 5c again (2). That is, when the ready signal 1e changes from "H level" to "L level", ready register (RDY) 5c
becomes "0". Next, the timer (T) 5d is incremented by "1" L (31 execute other processes 4), and the process ends.

第7図は、第4図に示したCPU4による目録表示処理
手順の一例を説明するフローチャートである。なお、(
1)〜(9)は各ステップを示す。
FIG. 7 is a flowchart illustrating an example of a catalog display processing procedure by the CPU 4 shown in FIG. In addition,(
1) to (9) indicate each step.

先ず、レディ信号1eが「Lレベル」になったかどうか
を示すレディレジスタ(RDY)5cの内容が「1」か
どうかを判断しく1)  YES(RDY= 1)の場
合は、モータ1bのオン/オフにかかわらず、目録バッ
ファ5eの内容を表示する目録表示処理を実行しく9)
、処理を終了する。
First, determine whether the content of the ready register (RDY) 5c, which indicates whether the ready signal 1e has become "L level", is "1"1) If YES (RDY = 1), turn on/off the motor 1b. Execute the catalog display process to display the contents of the catalog buffer 5e regardless of whether it is off9)
, ends the process.

一方、ステップ(2)の判断でNo(RDY=O)の場
合は、モータ1bがオン状態かどうかを示すモータ状態
レジスタ(MR)5bの内容が「1」かどうかを判断し
く2)、YESならばステップ(4)以降に進み、No
ならばモータ1bをONし、モータ状態レジスタ(MR
)5bを「1」にしく3)   タイマ(T)5dを「
0」にし、レディ信号1eが「Hレベル」かどうかを判
断しく5)NOの場合はタイマ(T)5dの内容が上記
時間TW以下かどうかを判断しく6)  Noならばス
テップ(5)に戻り、YESならばFDがFDDIに挿
入されていないと判定し、エラー処理、例えばFDが挿
入されていない旨の表示を実行しく7)処理を終了する
On the other hand, if the determination in step (2) is No (RDY=O), it is determined whether the content of the motor status register (MR) 5b indicating whether the motor 1b is in the on state is "1" (2), YES. If so, proceed to step (4) and onwards.
If so, turn on the motor 1b and set the motor status register (MR).
) 5b to "1" 3) Set timer (T) 5d to "
0" and determine whether the ready signal 1e is at "H level" 5) If NO, determine whether the content of the timer (T) 5d is less than the above time TW 6) If No, proceed to step (5) If the answer is YES, it is determined that the FD has not been inserted into the FDDI, and error processing, for example, a display indicating that the FD has not been inserted, is executed. 7) The process ends.

一方、ステップ(5)の判断でYESの場合は、レディ
レジスタ(RDY)5cを「1」にセットし、目録バッ
ファ5eにフロッピーディスクの目録を読み込む処理を
行い(8)  ステップ(9)に進み、目録バッファ5
eの内容を表示し、この目録表示処理を終了する。
On the other hand, if the determination in step (5) is YES, the ready register (RDY) 5c is set to "1", the floppy disk inventory is read into the inventory buffer 5e (8), and the process proceeds to step (9). , inventory buffer 5
The contents of e are displayed, and this catalog display process is ended.

これにより、レディ信号1eが「Lレベル」になった後
のステップ(3)〜(8)間での処理を不実行となる。
As a result, the processing between steps (3) to (8) after the ready signal 1e becomes "L level" is not executed.

なお、上記実施例ではレディ信号21を第2図に示すよ
うな論理回路素子で構成されるドライブ制御部1aで制
御する場合について説明したが、この実施例に限らず、
ドライブ制御部1aを図示しないROMチップに内蔵(
ソフトウェアが内蔵される)したCPU4に機能させる
ことも容易である。
In the above embodiment, a case has been described in which the ready signal 21 is controlled by the drive control section 1a composed of logic circuit elements as shown in FIG. 2, but the present invention is not limited to this embodiment.
The drive control unit 1a is built into a ROM chip (not shown) (
It is also easy to make the CPU 4 (with built-in software) function.

また、第6図に示しただタイマ処理内でレディレジスタ
(RDY)5cの内容を変化させる場合について説明し
たが、レディ信号1eを割込みとして使用し、これによ
り、レディレジスタ(RDY)5cを変化させる構成と
することにより、タイマ処理においての処理時間を節約
することができる。
In addition, although we have explained the case where the contents of the ready register (RDY) 5c are changed within the timer processing shown in FIG. 6, the ready signal 1e is used as an interrupt, and thereby the ready register (RDY) 5c is changed. With this configuration, processing time in timer processing can be saved.

更に、上記実施例では記憶媒体としてフロッピーディス
クの場合について説明したが、光ディスク、光磁気ディ
スク、ハードディスクを記憶媒体するものでもこの発明
を適用することができる。
Further, in the above embodiments, a floppy disk is used as the storage medium, but the present invention can also be applied to optical disks, magneto-optical disks, and hard disks.

[発明の効果] 以上説明したように、この発明は記憶媒体の着脱動作を
検知する検知手段と、駆動手段の停止中に、検知手段の
検知結果に基づいて許可手段の出力を制御する制御手段
とを設けたので、駆動手段の動作が停止しても、記憶媒
体が装着されている間は、アクセス許可状態を保持する
ことができる。従って、駆動手段が再駆動された際に行
う従来の所定の記憶媒体確認アクセスを回避することが
でき、即座にデータアクセス処理に移行できる。
[Effects of the Invention] As described above, the present invention includes a detection means for detecting the attachment/detachment operation of a storage medium, and a control means for controlling the output of the permission means based on the detection result of the detection means while the drive means is stopped. As a result, even if the drive means stops operating, the access permission state can be maintained as long as the storage medium is attached. Therefore, it is possible to avoid the conventional predetermined storage medium confirmation access performed when the driving means is re-driven, and it is possible to immediately proceed to data access processing.

また、記憶媒体は、フロッピーディスクで構成したので
、フロッピーディスクを記憶媒体として構成されるシス
テムにおいて、フロッピーディスクへの消費電力を抑え
ることができる等の効果を奏する。
Further, since the storage medium is configured with a floppy disk, it is possible to suppress power consumption of the floppy disk in a system configured using a floppy disk as a storage medium.

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

第1図はこの発明の一実施例を示す記憶装置の構成を説
明するブロック図、第2図は、第1図に示したドライブ
制御部の内部の要部構成を説明するブロック図、第3図
は、第2図の動作を説明するタイミングチャート、第4
図は、第1図に示したドライブ制御部を含むシステム構
成を説明するブロック図、第5図は、第4図に示したF
DDのモータオフ処理手順の一例を説明するフローチャ
ート、第6図は、第4図に示したタイマ回路によるタイ
マ処理手順の一例を説明するフローチャト、第7図は、
第4図に示したCPUによる目録表示処理手順の一例を
説明するフローチャートである。 図中、1はFDD、1aはドライブ制御部、1bはモー
タ、1cはFDイン検出部、1dはモータオン信号、1
eはレディ信号、1gはモータ回転検出部である。 力 図 第 図 第 図 弗 図 果 図 り) 図 働 図
FIG. 1 is a block diagram illustrating the configuration of a storage device showing an embodiment of the present invention, FIG. The figure shows a timing chart explaining the operation in figure 2, and a timing chart for explaining the operation in figure 4.
The figure is a block diagram illustrating the system configuration including the drive control section shown in FIG. 1, and FIG.
FIG. 6 is a flowchart illustrating an example of a DD motor-off processing procedure, and FIG. 7 is a flowchart illustrating an example of a timer processing procedure by the timer circuit shown in FIG. 4.
5 is a flowchart illustrating an example of a catalog display processing procedure performed by the CPU shown in FIG. 4. FIG. In the figure, 1 is the FDD, 1a is the drive control section, 1b is the motor, 1c is the FD-in detection section, 1d is the motor on signal, 1
e is a ready signal, and 1g is a motor rotation detection section. power diagram diagram diagram diagram figura diagram) diagram of action diagram

Claims (2)

【特許請求の範囲】[Claims] (1)着脱可能な記憶媒体を駆動する駆動手段と、前記
記憶媒体へのアクセス許可情報を出力する許可手段とを
有し、前記アクセス許可情報に基づいて前記記憶媒体に
対してアクセスを行う記憶装置において、前記記憶媒体
の着脱動作を検知する検知手段と、前記駆動手段の停止
中に、前記検知手段の検知結果に基づいて前記許可手段
の出力を制御する制御手段とを具備したことを特徴とす
る記憶装置。
(1) A memory that has a drive means that drives a removable storage medium and a permission means that outputs access permission information to the storage medium, and that accesses the storage medium based on the access permission information. The apparatus is characterized in that it comprises a detection means for detecting the attachment/detachment operation of the storage medium, and a control means for controlling the output of the permission means based on the detection result of the detection means while the drive means is stopped. storage device.
(2)記憶媒体は、フロッピーディスクで構成すること
を特徴とする請求項(1)記載の記憶装置。
(2) The storage device according to claim (1), wherein the storage medium is a floppy disk.
JP2110496A 1990-04-27 1990-04-27 Information processing device Expired - Fee Related JP2675650B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2110496A JP2675650B2 (en) 1990-04-27 1990-04-27 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2110496A JP2675650B2 (en) 1990-04-27 1990-04-27 Information processing device

Publications (2)

Publication Number Publication Date
JPH0410276A true JPH0410276A (en) 1992-01-14
JP2675650B2 JP2675650B2 (en) 1997-11-12

Family

ID=14537233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2110496A Expired - Fee Related JP2675650B2 (en) 1990-04-27 1990-04-27 Information processing device

Country Status (1)

Country Link
JP (1) JP2675650B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5392269A (en) * 1992-08-19 1995-02-21 Olympus Optical Co., Ltd. Medium replaceable recording and reproducing apparatus in which full initialization is not needed depending on the inserted state of the medium
US6744465B1 (en) * 1999-03-26 2004-06-01 Sanyo Electric Co., Ltd. Digital camera with nonvolatile memory for storing image management data
JP2012079373A (en) * 2010-09-30 2012-04-19 Sharp Corp Optical disk drive, program, and recording medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6113356U (en) * 1984-06-25 1986-01-25 三洋電機株式会社 Electronics
JPH01211268A (en) * 1988-02-19 1989-08-24 Ricoh Co Ltd Computer system with function to decide exchange of disk

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6113356U (en) * 1984-06-25 1986-01-25 三洋電機株式会社 Electronics
JPH01211268A (en) * 1988-02-19 1989-08-24 Ricoh Co Ltd Computer system with function to decide exchange of disk

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5392269A (en) * 1992-08-19 1995-02-21 Olympus Optical Co., Ltd. Medium replaceable recording and reproducing apparatus in which full initialization is not needed depending on the inserted state of the medium
US6744465B1 (en) * 1999-03-26 2004-06-01 Sanyo Electric Co., Ltd. Digital camera with nonvolatile memory for storing image management data
JP2012079373A (en) * 2010-09-30 2012-04-19 Sharp Corp Optical disk drive, program, and recording medium

Also Published As

Publication number Publication date
JP2675650B2 (en) 1997-11-12

Similar Documents

Publication Publication Date Title
US4635145A (en) Floppy disk drive with stand-by mode
US5198942A (en) Disc drive control device with accessing and power control
JPH06215515A (en) Preventive maintenance system for magnetic disk device
JPH0410276A (en) Storage device
EP0597512B1 (en) Interface circuit for controlling data transfers
US6043950A (en) Apparatus of controlling disk drive during initial stages of wake-up mode and method thereof
JPH0731410Y2 (en) Disk device
JPH0562329A (en) Data processor
US20190310575A1 (en) Image forming apparatus including storage device and method for controlling the same
JPS6310511B2 (en)
JP2002189572A (en) Disk storage device, information processing equipment provided with the same and processing method when failing in write
JP3150242B2 (en) Disk unit
JPH0793101A (en) Data backup device
KR930003192B1 (en) Disk driving device and its control method
JPH04316115A (en) Data processor
JP2001184170A (en) Data converter
JPH06267175A (en) Storage device and method for controlling the same
JPS60193165A (en) Disc device
JPS62243159A (en) Information storage device
JP3183782B2 (en) Library device and library system
JPH02214060A (en) Information processor
JPS59178552A (en) Self diagnosis controlling system
JPS6343831B2 (en)
JPH0619827A (en) Peripheral controller
JP2001312856A (en) Data recorder and data recording method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080718

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080718

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090718

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees