JP2927069B2 - Floppy disk controller - Google Patents

Floppy disk controller

Info

Publication number
JP2927069B2
JP2927069B2 JP3218245A JP21824591A JP2927069B2 JP 2927069 B2 JP2927069 B2 JP 2927069B2 JP 3218245 A JP3218245 A JP 3218245A JP 21824591 A JP21824591 A JP 21824591A JP 2927069 B2 JP2927069 B2 JP 2927069B2
Authority
JP
Japan
Prior art keywords
floppy disk
write
circuit
protected area
software
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 - Fee Related
Application number
JP3218245A
Other languages
Japanese (ja)
Other versions
JPH05198095A (en
Inventor
尊則 梅木
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
Nippon Electric Co Ltd
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP3218245A priority Critical patent/JP2927069B2/en
Publication of JPH05198095A publication Critical patent/JPH05198095A/en
Application granted granted Critical
Publication of JP2927069B2 publication Critical patent/JP2927069B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、フロッピィディスク媒
体へのデータの読み出し、書き込み制御に関し、特に書
き込みデータのプロテクト方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to read / write control of data on a floppy disk medium, and more particularly to a write data protection method.

【0002】[0002]

【従来の技術】従来のフロッピィディスク制御装置とフ
ロッピィディスク装置間のデータの書き込みに関するプ
ロテクト方式としては、図5に示すように、フロッピィ
ディスク媒体に用意された、ライトイネーブルノッチ又
は、プロテクトスイッチの切換えによる方式が採られて
いる。このライトイネーブルノッチを銀紙等で覆うこと
により、フロッピィディスク装置自身で、データの書き
込みを禁止するとともに、フロッピィディスク制御装置
に対して書き込み禁止信号を出力して、制御装置側が書
き込み禁止媒体が装着されていることを認識すること
で、ソフトウェアからの書き込み指示に対し、アラーム
を報告する等の運用がなされている。
2. Description of the Related Art As a conventional protection method for writing data between a floppy disk control device and a floppy disk device, as shown in FIG. 5, a write enable notch or a protection switch provided on a floppy disk medium is switched. Is adopted. By covering this write enable notch with silver paper or the like, the floppy disk device itself prohibits data writing, and outputs a write prohibition signal to the floppy disk control device. By recognizing that an error has occurred, an operation such as reporting an alarm is performed in response to a write instruction from software.

【0003】[0003]

【発明が解決しようとする課題】この従来の書き込みに
対するプロテクト方式は、フロッピィディスク媒体単位
に行なわれるため、書き込み禁止エリアを任意に選べ
ず、特にコンピュータシステムの障害時に必要とする、
メモリダンプ情報を採るために、ダンプ用媒体を別に用
意する必要があった。また、媒体のプロテクト処理を誤
まると、媒体を破壊させるという問題があった。
This conventional write protection method is performed for each floppy disk medium, so that a write-protected area cannot be selected arbitrarily and is required especially when a computer system fails.
In order to collect memory dump information, it was necessary to prepare a separate dump medium. Further, there is a problem that the medium is destroyed if the protection process of the medium is erroneously performed.

【0004】[0004]

【課題を解決するための手段】本発明によれば、フロッ
ピィディスク装置のフロッピィディスク媒体に対して、
データの書き込み及び読み出しを行なうフロッピィディ
スク制御装置において、 フロッピィディスク媒体に対
する書き込み禁止エリア情報を保持する手段と、 ソフ
トウェアからの指示により、該保持手段に対して、書き
込み禁止エリア情報を格納する手段と、ソフトウェアか
らの書き込み動作指示に対して前記書き込み禁止エリア
保持手段の内容と比較する手段と、比較結果によりフロ
ッピィディスク装置に対する書き込み信号の出力を制御
する手段とを備えることを特徴とするフロッピィディス
ク制御装置が得られる。
According to the present invention, a floppy disk medium of a floppy disk device is provided.
In a floppy disk control device for writing and reading data, means for holding write-inhibited area information for a floppy disk medium, means for storing write-inhibited area information for the holding means in response to an instruction from software, A floppy disk control device comprising: means for comparing a write operation instruction from software with the contents of the write protected area holding means; and means for controlling output of a write signal to the floppy disk device based on the comparison result. Is obtained.

【0005】また、本発明によれば、フロッピィディス
ク装置のフロッピィディスク媒体に対して、データの書
き込み及び読み出しを行なうフロッピィディスク制御装
置において、フロッピィディスク媒体に対する書き込み
禁止エリア情報を保持する手段と、あらかじめフロッピ
ィディスク媒体に書き込まれた書き込み禁止エリア情報
を読み出す手段と、該読み出し手段によって読み出した
情報を、前記保持手段に格納する手段と、ソフトウェア
からの書き込み動作指示に対して、前記書き込み禁止エ
リア保持手段の内容と比較する手段と、比較結果によ
り、フロッピィディスク装置に対する書き込み信号の出
力を制御する手段とを備えることを特徴とする、フロッ
ピィディスク制御装置が得られる。
According to the present invention, in a floppy disk control device for writing and reading data to and from a floppy disk medium of a floppy disk device, means for holding write-inhibited area information for the floppy disk medium, Means for reading the write-protected area information written on the floppy disk medium, means for storing the information read by the read means in the holding means, and means for holding the write-protected area in response to a write operation instruction from software. And a means for controlling the output of a write signal to the floppy disk device based on the result of the comparison, thereby obtaining a floppy disk control device.

【0006】また、本発明によれば、前記フロッピイデ
ィスク制御装置において、書き込み禁止エリア情報を、
ソフトウェアを介さずに、ハードウェアにより設定可能
とする手段を備えることを特徴とするフロッピィディス
ク制御装置が得られる。
According to the present invention, in the floppy disk control device, the write-protected area information is
A floppy disk control device characterized by comprising means for setting by hardware without software is provided.

【0007】また、本発明によれば、前記いずれかのフ
ロッピイディスク制御装置において、ソフトウェアから
の書き込み指示が、書き込み禁止エリアに対するもので
あれば、異常としてソフトウェアに通知する手段を備え
ることを特徴とする、フロッピィディスク制御装置が得
られる。
Further, according to the present invention, in any one of the floppy disk control devices, if the write instruction from the software is directed to a write-protected area, a means for notifying the software of an abnormality is provided. , A floppy disk controller is obtained.

【0008】すなわち、本発明のフロッピィディスク制
御装置は、フロッピィディスク媒体に対する書き込み禁
止エリア保持手段と、ソフトウェアからの指示により、
書き込み禁止エリア情報を格納する手段と、ソフトウェ
アからの書き込み動作指示に対して、前記書き込み禁止
エリア保持手段の内容と比較する手段と、比較結果によ
り、フロッピィディスク装置に対する書き込み信号の出
力を制御する手段とを備えている。 また、フロッピィ
ディスク媒体にあらかじめ書き込まれた、書き込み禁止
エリア情報を読み出す手段と読み出した内容を前記書き
込み禁止エリア保持手段に格納する手段を備えている。
That is, the floppy disk control device according to the present invention is provided with means for holding a write-protected area for a floppy disk medium and instructions from software.
Means for storing write-protected area information; means for comparing the contents of the write-protected area holding means in response to a write operation instruction from software; and means for controlling the output of a write signal to a floppy disk device based on the comparison result. And Further, there are provided means for reading the write-protected area information which has been written in advance on the floppy disk medium, and means for storing the read contents in the write-protected area holding means.

【0009】また、ハードウェアにより、書き込み禁止
エリアを設定可能とする手段を備えている。
Further, there is provided means for setting a write-protected area by hardware.

【0010】さらに、ソフトウェアからの書き込み指示
が、前記書き込み禁止エリアに対応するものであれば、
ソフトウェアに対して異常を通知する手段を備えてい
る。
Further, if the write instruction from the software corresponds to the write-protected area,
A means for notifying the software of an abnormality is provided.

【0011】[0011]

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

【0012】図1は、本発明の請求項1に対応する実施
例のブロック図である。
FIG. 1 is a block diagram of an embodiment according to claim 1 of the present invention.

【0013】フロッピィディスク制御装置1は、主制御
回路2、書き込み回路3、保持回路4、比較回路5、書
き込み信号ドライバ回路6より構成されている。またフ
ロッピィディスク装置11は制御回路12とフロッピィ
ディスク媒体13より成る。ソフトウェアからの書き込
み禁止エリア(トラック番号、シリンダ番号等)を指示
されると、主制御回路2は、その情報を保持回路4に格
納する。これは、複数個分を有することも可能である。
また、この格納された内容は、改めて指示があるまで保
持する。
The floppy disk control device 1 comprises a main control circuit 2, a write circuit 3, a holding circuit 4, a comparison circuit 5, and a write signal driver circuit 6. The floppy disk device 11 includes a control circuit 12 and a floppy disk medium 13. When a write-protected area (track number, cylinder number, etc.) is specified by software, the main control circuit 2 stores the information in the holding circuit 4. This can have a plurality.
Further, the stored contents are held until an instruction is given again.

【0014】主制御回路2は、ソフトウェアからの書き
込み指示を受けると、それに伴なって指定される書き込
みエリアと、保持回路4とを、比較回路5で比較し、そ
の結果一致しなければ書き込み可として書き込み回路3
が有効となり、ドライバ回路6を介してフロッピィディ
スク装置11にデータが出力されることになる。もし、
この比較回路5で比較した結果が一致すると、書き込み
不可として書き込み回路3が動作しないため、フロッピ
ィディスク装置11には、データが出力されないことに
なる。
When receiving a write instruction from software, the main control circuit 2 compares the write area designated thereby with the holding circuit 4 by the comparison circuit 5, and if no match is found, the write operation is enabled. Writing circuit 3
Is valid, and data is output to the floppy disk device 11 via the driver circuit 6. if,
If the result of comparison by the comparison circuit 5 matches, the writing circuit 3 is not operated because the writing is disabled, and no data is output to the floppy disk device 11.

【0015】図2は、請求項2に対応するの実施例のブ
ロック図である。
FIG. 2 is a block diagram of a second embodiment according to the present invention.

【0016】フロッピィディスク制御装置1は、主制御
回路2、書き込み回路3、保持回路4、比較回路5、ド
ライバ回路6、読み出し回路7より構成されている。フ
ロッピィディスク装置11は制御回路12とフロッピィ
ディスク媒体13より成る。主制御回路2は、フロッピ
ィディスク装置11のフロッピィディスク媒体13が装
着される毎に、フロッピィディスク媒体13のある定め
られた位置に書き込まれている、書き込み禁止エリア情
報を、読み出し回路7及びレシーバ回路8を介して読み
取り、保持回路4に格納する。以降の動作は図1の動作
と同様である。
The floppy disk controller 1 comprises a main control circuit 2, a write circuit 3, a holding circuit 4, a comparison circuit 5, a driver circuit 6, and a read circuit 7. The floppy disk device 11 includes a control circuit 12 and a floppy disk medium 13. Each time the floppy disk medium 13 of the floppy disk device 11 is mounted, the main control circuit 2 reads the write-inhibited area information written at a predetermined position on the floppy disk medium 13 by using the read circuit 7 and the receiver circuit. 8 and stored in the holding circuit 4. The subsequent operation is the same as the operation in FIG.

【0017】図3は、請求項3に対応する実施例のブロ
ック図である。
FIG. 3 is a block diagram of an embodiment according to the third aspect.

【0018】フロッピィディスク制御装置1は、主制御
回路2、書き込み回路3、保持回路4、比較回路5、ド
ライバ回路6、設定回路9より構成されている。主制御
回路2は、フロッピィディスク制御装置1の電源投入直
後や、ソフトウェアからの初期化指示を受けた際に、設
定回路9の内容を読み取って保持回路4に格納する。以
降の動作は図1の動作と同様である。これは、フロッピ
ィディスク媒体13のトラック0又はトラック1の片面
のみを書き込み禁止エリアとするような、単純な設定時
に有効である。
The floppy disk controller 1 comprises a main control circuit 2, a writing circuit 3, a holding circuit 4, a comparing circuit 5, a driver circuit 6, and a setting circuit 9. The main control circuit 2 reads the contents of the setting circuit 9 and stores it in the holding circuit 4 immediately after the power of the floppy disk control device 1 is turned on or when receiving an initialization instruction from software. The subsequent operation is the same as the operation in FIG. This is effective in a simple setting in which only one surface of the track 0 or the track 1 of the floppy disk medium 13 is set as the write-protected area.

【0019】図4は、請求項4に対応する実施例のブロ
ック図である。
FIG. 4 is a block diagram of an embodiment according to the fourth aspect.

【0020】フロッピィディスク制御装置1は、主制御
回路2、保持回路4、比較回路5より構成され、比較回
路5の比較結果による一致通知信号10が主制御回路2
に接続されている。ここで主制御回路2は、ソフトウェ
ア20より書き込み指示を受けると、保持回路4の内部
と比較回路5にて比較し、比較回路5より一致通知信号
10を受けると書き込み禁止エリアに対する書き込み指
示であると判断し、ソフトウェア20に対して書き込み
指示の異常を報告する。
The floppy disk controller 1 comprises a main control circuit 2, a holding circuit 4, and a comparison circuit 5, and a match notification signal 10 based on the comparison result of the comparison circuit 5 is sent to the main control circuit 2.
It is connected to the. Here, when the main control circuit 2 receives a write instruction from the software 20, the main control circuit 2 compares the write instruction with the inside of the holding circuit 4 by the comparison circuit 5. And reports an abnormality of the write instruction to the software 20.

【0021】[0021]

【発明の効果】以上説明したように、本発明はフロッピ
ィディスク制御装置がフロッピィディスク媒体に対する
書き込み禁止エリア情報を保持する手段を備えるように
したので、フロッピィディスク媒体に対する書き込み禁
止エリアを、任意に選択出来るという効果を有する。
As described above, according to the present invention, since the floppy disk control device is provided with means for holding the write-protected area information for the floppy disk medium, the write-protected area for the floppy disk medium can be arbitrarily selected. It has the effect of being able to do it.

【0022】また、フロッピィディスク媒体のプロテク
ト設定を忘れた場合でもフロッピィディスク制御装置側
でプロテクトするため、媒体の破壊を未然に防ぐという
効果を有する。
Further, even when the protection setting of the floppy disk medium is forgotten, the floppy disk control device protects the medium, so that the medium is prevented from being destroyed.

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

【図1】本発明の請求項1の一実施例のブロック図であ
る。
FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】請求項2の一実施例のブロック図である。FIG. 2 is a block diagram of one embodiment of the second embodiment.

【図3】請求項3の一実施例のブロック図である。FIG. 3 is a block diagram of one embodiment of the third embodiment.

【図4】請求項4の一実施例のブロック図である。FIG. 4 is a block diagram of a fourth embodiment of the present invention;

【図5】従来例に示すフロッピィディスク媒体の外観図
を示すものであり、aは5.25インチ媒体、bは3.
5インチ媒体を示す。
FIG. 5 is an external view of a conventional floppy disk medium, in which a is a 5.25 inch medium, and b is 3.
Shows 5 inch media.

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

1 フロッピィディスク制御装置 2 主制御回路 3 書き込み回路 4 保持回路 5 比較回路 6 ドライバ回路 7 読み出し回路 8 レシーバ回路 9 設定回路 10 一致通知信号 11 フロッピィディスク装置 12 制御回路 13 フロッピィディスク媒体 20 CPU(ソフトウェア) DESCRIPTION OF SYMBOLS 1 Floppy disk controller 2 Main control circuit 3 Writing circuit 4 Holding circuit 5 Comparison circuit 6 Driver circuit 7 Reading circuit 8 Receiver circuit 9 Setting circuit 10 Match notification signal 11 Floppy disk device 12 Control circuit 13 Floppy disk medium 20 CPU (software)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 フロッピィディスク装置のフロッピィデ
ィスク媒体に対して、データの書き込み及び読み出しを
行なうフロッピィディスク制御装置において、 フロッピィディスク媒体に対する書き込み禁止エリア情
報を保持する手段と、フロッピィディスク媒体がフロッピィディスク装置に装
着される毎に、 あらかじめフロッピィディスク媒体に書
き込まれた書き込み禁止エリア情報を読み出す手段と、 該読み出し手段によって読み出した情報を、前記保持手
段に格納する手段と、 ソフトウェアからの書き込み動作指示に対して、前記書
き込み禁止エリア保持手段の内容と比較する手段と、 比較結果により、フロッピィディスク装置に対する書き
込み信号の出力を制御する手段とを備えることを特徴と
する、フロッピィディスク制御装置。
1. A floppy disk control device for writing and reading data to and from a floppy disk medium of a floppy disk device , comprising: means for holding write-protected area information for the floppy disk medium; Dressed in
Means for reading the write-protected area information previously written on the floppy disk medium every time the disc is attached, means for storing the information read by the reading means in the holding means, and means for responding to a write operation instruction from software. A means for comparing the contents of the write-protected area holding means with the contents of the write-protected area holding means; and means for controlling output of a write signal to the floppy disk device based on the result of the comparison.
【請求項2】 ソフトウェアからの書き込み指示が、書
き込み禁止エリアに対するものであれば、異常としてソ
フトウェアに通知する手段を備えることを特徴とする
求項1記載のフロッピィディスク制御装置。
Write instruction from wherein software, as long as for the write-protected area, characterized in that it comprises means for notifying the software as an abnormal
The floppy disk control device according to claim 1.
JP3218245A 1991-08-29 1991-08-29 Floppy disk controller Expired - Fee Related JP2927069B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3218245A JP2927069B2 (en) 1991-08-29 1991-08-29 Floppy disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3218245A JP2927069B2 (en) 1991-08-29 1991-08-29 Floppy disk controller

Publications (2)

Publication Number Publication Date
JPH05198095A JPH05198095A (en) 1993-08-06
JP2927069B2 true JP2927069B2 (en) 1999-07-28

Family

ID=16716868

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3218245A Expired - Fee Related JP2927069B2 (en) 1991-08-29 1991-08-29 Floppy disk controller

Country Status (1)

Country Link
JP (1) JP2927069B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100601598B1 (en) 1998-06-15 2006-07-14 삼성전자주식회사 Recording medium storing write protection information and write protecting method
US6744713B1 (en) 1998-06-15 2004-06-01 Samsung Electronics Co., Ltd. Recording medium for storing write protection information and write protection method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63249975A (en) * 1987-04-06 1988-10-17 Nec Corp Magnetic disk controller
JPS63317975A (en) * 1987-06-22 1988-12-26 Hitachi Ltd Right protecting mechanism for magnetic disk device
JPH01151072A (en) * 1987-12-08 1989-06-13 Nec Corp Block attribute identifying system

Also Published As

Publication number Publication date
JPH05198095A (en) 1993-08-06

Similar Documents

Publication Publication Date Title
JP3219988B2 (en) Disk device having security function and password management method in the device
KR950009435A (en) Method and device for controlling operation of programmed device
EP0614553A1 (en) Computer memory protection
JP2927069B2 (en) Floppy disk controller
US4758914A (en) System for protecting newly installed disk units
JP3189274B2 (en) Disk controller
JPH08137622A (en) Disk device and write read method for same
JP2904991B2 (en) Numerical control unit
JPS63112861A (en) Magnetic disk control system
JPH02183461A (en) Data input/output device
JPH031220A (en) Magnetic disk controller
JP2737495B2 (en) I / O control unit
JP4009401B2 (en) Disk control apparatus and recording medium recording program
JP2640139B2 (en) Memory card
JPH03238663A (en) Magnetic disk control device
JPH05165658A (en) Information processing system
JPH05344184A (en) Line connecting part monitor circuit
JPH06103119A (en) Trace information holding controller
JPH02201562A (en) Magnetic disk controller
JPH05282209A (en) Data access controller
JPS61168060A (en) Data processor
JPS63217594A (en) Bubble memory device equipped with stand-by circuit
JPH052819A (en) Magnetic recording device
JPH0587640U (en) Hard disk drive
JPH02201563A (en) Magnetic disk controller

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980916

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990413

LAPS Cancellation because of no payment of annual fees