JPH04259958A - Disk-shaped storage device - Google Patents

Disk-shaped storage device

Info

Publication number
JPH04259958A
JPH04259958A JP3042845A JP4284591A JPH04259958A JP H04259958 A JPH04259958 A JP H04259958A JP 3042845 A JP3042845 A JP 3042845A JP 4284591 A JP4284591 A JP 4284591A JP H04259958 A JPH04259958 A JP H04259958A
Authority
JP
Japan
Prior art keywords
read
disk
key code
storage device
rotational position
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.)
Withdrawn
Application number
JP3042845A
Other languages
Japanese (ja)
Inventor
Akiyoshi Horikawa
堀川 明美
Isamu Mochizuki
勇 望月
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.)
Hitachi Microcomputer System Ltd
Renesas Technology America Inc
Original Assignee
Hitachi Microcomputer System Ltd
Hitachi Micro Systems 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 Hitachi Microcomputer System Ltd, Hitachi Micro Systems Inc filed Critical Hitachi Microcomputer System Ltd
Priority to JP3042845A priority Critical patent/JPH04259958A/en
Publication of JPH04259958A publication Critical patent/JPH04259958A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To prevent a program from being illegally copied or used by comparing a key code written in a gap area with a code set in advance and inhibiting access to data in a valid data area when those codes are not coincident. CONSTITUTION:An interruption processing is started by generating interruption at a microcomputer CPU with the fall of an index pulse from a light receiving device SNS. First of all, a read circuit RDC is activated, an invalid area is read, and the read code is compared with the key code set in advance. Next, when the codes are coincident, 'normality' is set and when they are not coincident, 'abnormality' is set. Afterwards, a key code read flag is turned on, and a main program processing is executed. In the case of normality, the main body of the program in the valid data area is read by turning off the above- mentioned flag and in the case of abnormality, an error processing is executed and finished.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、磁気記録技術さらには
フロッピーディスクのアクセス制御方式に適用して特に
有効な技術に関し、例えばフロッピーディスクのデータ
プロテクト方式に利用して有効な技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique that is particularly effective when applied to magnetic recording technology and an access control system for floppy disks, for example, a technique that is effective when applied to a data protection system for floppy disks.

【0002】0002

【従来の技術】フロッピーディスクには回転位置を検出
するためのインデックスホールが形成されており、この
インデックスホールを光電検出器で検出してトラックの
開始点を示す信号としてのインデックスパルスを発生し
てフロッピーディスクのアクセス制御を行うようになっ
ている。従来、フロッピーディスクでは図7に示すよう
にインデックスホールの前後にそれぞれギャップと呼ば
れる領域Gap1,Gap2が設けられていた。このう
ちギャップGap1はインデックスホールの検出誤差に
対処するため設けられているもので、同期パターンが1
6バイト程度記録されている。一方、ギャップGap2
はトラック全周に渡るディスクの回転速度偏差に対処す
るため設けられている。従って、フロッピーディスクに
記憶されるデータは図8に示すようにギャップGap1
からギャップGap2までの実効エリアDTEに格納さ
れる(ティアック社1986年10月発行、「SD54
0固定磁気ディスク記憶装置仕様書/取扱説明書」第3
6頁〜第39頁参照)。
2. Description of the Related Art A floppy disk has an index hole formed therein for detecting the rotational position, and this index hole is detected by a photoelectric detector to generate an index pulse as a signal indicating the starting point of a track. It controls access to floppy disks. Conventionally, in a floppy disk, areas Gap1 and Gap2, called gaps, were provided before and after an index hole, respectively, as shown in FIG. Among these, the gap Gap1 is provided to deal with the detection error of the index hole, and the synchronization pattern is 1.
Approximately 6 bytes are recorded. On the other hand, the gap Gap2
is provided to deal with deviations in the rotational speed of the disk over the entire circumference of the track. Therefore, the data stored on the floppy disk is stored in the gap Gap1 as shown in FIG.
is stored in the effective area DTE from Gap2 to the gap
0 Fixed magnetic disk storage device specifications/instruction manual” No. 3
(See pages 6 to 39).

【0003】0003

【発明が解決しようとする課題】従来のフロッピーディ
スク装置にあっては、実効データエリアDTEに記憶さ
れたデータを容易に読み取ることができるため、開発さ
れたプログラムの不正な複製を阻止することができない
というという問題点があった。
[Problem to be Solved by the Invention] In conventional floppy disk devices, data stored in the effective data area DTE can be easily read, so it is difficult to prevent illegal copying of developed programs. The problem was that it couldn't be done.

【0004】本発明の目的は、プログラムの不正な複製
および不正な使用を防止することができるようなフロッ
ピーディスクのアクセス制御方式を提供することにある
。この発明の前記ならびにそのほかの目的と新規な特徴
については、本明細書の記述および添附図面から明らか
になるであろう。
An object of the present invention is to provide a floppy disk access control system that can prevent unauthorized copying and unauthorized use of programs. The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

【0005】[0005]

【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を説明すれば、下記のと
おりである。すなわち、インデックスホールの検出パル
スのエッジによりリード回路もしくはリード/ライト回
路を有効にするように制御系を構成して、従来データエ
リアとして使用されていないインデックスホール前後の
無効エリア(ギャップ)に予めキーコードを記憶してお
いて読取り可能とするかもしくは使用回数やバックアッ
プ回数等のアクセスに関する情報を記憶させるようにし
たものである。
[Means for Solving the Problems] Representative inventions disclosed in this application will be summarized as follows. In other words, the control system is configured so that the read circuit or read/write circuit is enabled by the edge of the index hole detection pulse, and a key is placed in advance in the invalid area (gap) before and after the index hole, which is not conventionally used as a data area. A code is stored and made readable, or information regarding access such as the number of times of use and number of backups is stored.

【0006】[0006]

【作用】従来、インデックスホール前後のギャップは十
数バイト程度の長さに設定されているが、ハードウェア
の発達に伴ってインデックスパルスの検出誤差や回転速
度偏差に対処するために必要なギャップの長さは数バイ
ト程度で済むようになってきている。従って、上記した
手段により、インデックスホール前後のギャップに数バ
イトのキーコードやアクセス情報を記憶させることでき
るとともに、制御系に汎用のディスクコントローラLS
Iを使用した通常のディスク装置では上記インデックス
ホール前後のギャップのコードの読取りは行なわないた
め、ギャップに記憶されたコードまでは複写されない。 そのため、プログラム起動時にギャップのコードをチェ
ックして正しいキーコードがないときはプログラムの実
行を停止させることが可能となり、プログラムの不正な
複写や使用を防止するという上記目的を達成することが
できる。
[Function] Conventionally, the length of the gap before and after the index hole has been set to about 10-odd bytes, but with the development of hardware, the length of the gap required to deal with index pulse detection errors and rotation speed deviations has increased. The length is now only a few bytes. Therefore, by the means described above, it is possible to store several bytes of key code and access information in the gaps before and after the index hole, and also to use a general-purpose disk controller LS in the control system.
A normal disk device using I does not read the code in the gap before and after the index hole, so the code stored in the gap is not copied. Therefore, when the program is started, it is possible to check the gap code and, if there is no correct key code, to stop the execution of the program, thereby achieving the above-mentioned purpose of preventing unauthorized copying or use of the program.

【0007】[0007]

【実施例】図1には、本発明に係るフロッピーディスク
装置の一実施例の概略が示されている。図1において、
符号FDで示されているのがフロッピーディスク、CP
Uはマイクロコンピュータ、またCNTは磁気ヘッドH
Dをディスクの径方向に移動させるためのステッピング
モータSTMやディスク回転用モータ(図示省略)を駆
動したりヘッドの昇降を制御するヘッド制御回路、RD
CおよびWTCはリードヘッドおよびライトヘッドを駆
動してディスク上の磁気データの読出し書込みを行なう
リード回路およびライト回路である。また、上記フロッ
ピーディスクFDの上下にはインデックスホールIHL
の位置に対応して回転位置検出手段を構成する一対の発
光器LEDと受光器SNSとが対向するように配設され
、上記受光器SNSの検出信号が波形整形されてインデ
ックスパルスIDXとして上記ヘッド制御回路CNTお
よびマイクロコンピュータCPUに供給されている。 この実施例では、上記インデックスパルスIDXが割込
み信号としてマイクロコンピュータCPUに入力され、
マイクロコンピュータCPUがその割込み信号に基づい
てリード回路RDCおよびライト回路WTCを制御する
ように構成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 schematically shows an embodiment of a floppy disk device according to the present invention. In Figure 1,
The symbol FD indicates a floppy disk, CP
U is a microcomputer, and CNT is a magnetic head H
A head control circuit RD that drives a stepping motor STM for moving D in the radial direction of the disk, a disk rotation motor (not shown), and controls the elevation and descent of the head.
C and WTC are read and write circuits that drive read and write heads to read and write magnetic data on the disk. In addition, there are index holes IHL on the top and bottom of the floppy disk FD.
A pair of light emitters LED and a light receiver SNS constituting the rotational position detecting means are arranged to face each other in correspondence with the position of the head. It is supplied to the control circuit CNT and the microcomputer CPU. In this embodiment, the index pulse IDX is input to the microcomputer CPU as an interrupt signal,
A microcomputer CPU is configured to control a read circuit RDC and a write circuit WTC based on the interrupt signal.

【0008】図2および図3には、上記マイクロコンピ
ュータCPUによる割込み制御の手順の一例が示されて
いる。また、図4および図5には上記実施例のフロッピ
ーディスク装置によりディスクへデータを記憶する場合
の記憶エリアの構成が示されている。この実施例に従う
と、インデックスホールIHLの直後すなわちギャップ
Gap2と実効データエリアDTEの始端との間にキー
コードが格納される記憶領域KEYとギャップGap1
が連続して設けられる。上記記憶領域KEYには予めキ
ーコードが、またギャップGap1とGap2には同期
パターンが記憶される。上記キーコードはディスク上の
任意のトラックもしくはすべてのトラックに格納してお
くことができる。
FIGS. 2 and 3 show an example of the interrupt control procedure by the microcomputer CPU. Further, FIGS. 4 and 5 show the structure of a storage area when data is stored on a disk by the floppy disk device of the above embodiment. According to this embodiment, the storage area KEY where the key code is stored immediately after the index hole IHL, that is, between the gap Gap2 and the starting end of the effective data area DTE, and the gap Gap1.
are provided consecutively. A key code is stored in advance in the storage area KEY, and a synchronization pattern is stored in gaps Gap1 and Gap2. The above key code can be stored in any or all tracks on the disc.

【0009】次に、上記マイクロコンピュータCPUの
動作を図2および図3を用いて説明する。システムが起
動されると、ディスク制御回路CNTはディスク回転用
モータを起動しかつ磁気ヘッドをディスクに接触させて
同期パターンを読み取って回転速度が一定になるように
制御する。一方、マイクロコンピュータCPUは、シス
テムが起動されると図2の主プログラム処理を開始する
。そして、先ず割込みイネーブルフラグをセットして割
込み処理を有効に(ステップS1)してから、キーコー
ド読込みフラグをチェックしてフラグがオンになるまで
待つことで、図3の割込み処理の結果待ちを行なう(ス
テップS2)。図3の割込み処理は、受光器SNSから
のインデックスパルスIDXの立下りによってマイクロ
コンピュータCPUに割込みが発生することによって開
始され、まずリード回路RDCを起動して無効エリア(
ギャップGap1)の読込みを行なう(ステップS11
)。次に、読み込まれたコードと予め設定されているキ
ーコードとを比較して一致したか否か判定する(ステッ
プS12)。そして、コードが一致したときは比較結果
に「正常」を、また一致しなかったときは比較結果に「
異常」を設定してから、キーコード読込みフラグをオン
させて主プログラム処理へ戻る(ステップS13,S1
4,S15)。割込み処理でキーコード読込みフラグが
オンされると、主プログラム処理はステップS3へ移行
して、上記ステップS13,14で設定した比較結果が
正常か異常か判定し、正常ならキーコード読込みフラグ
をオフした後、実効データエリアDTEのプログラム本
体の読込みを行なう(ステップS4,S5)。一方、比
較結果が異常であったときはエラー処理を実行し、終了
する(ステップS6)。これにより、不正にコピーされ
たプログラムの実行が禁止されるとともに、プログラム
の不正なコピーも防止することができる。
Next, the operation of the microcomputer CPU will be explained using FIGS. 2 and 3. When the system is started, the disk control circuit CNT starts the disk rotation motor, brings the magnetic head into contact with the disk, reads the synchronization pattern, and controls the rotation speed to be constant. On the other hand, the microcomputer CPU starts the main program processing shown in FIG. 2 when the system is started. Then, by first setting the interrupt enable flag to enable interrupt processing (step S1), and then checking the key code read flag and waiting until the flag turns on, you can wait for the result of the interrupt processing in Figure 3. (Step S2). The interrupt process in FIG. 3 is started by an interrupt occurring in the microcomputer CPU due to the fall of the index pulse IDX from the photoreceiver SNS.First, the read circuit RDC is activated and the invalid area (
Gap1) is read (step S11).
). Next, the read code is compared with a preset key code to determine whether they match (step S12). Then, if the codes match, the comparison result will be marked "normal", and if they do not match, the comparison result will be marked "normal".
After setting "Abnormal", turn on the key code reading flag and return to the main program processing (steps S13, S1
4, S15). When the key code reading flag is turned on in the interrupt processing, the main program processing moves to step S3, and determines whether the comparison results set in steps S13 and 14 above are normal or abnormal, and if normal, the key code reading flag is turned off. After that, the main body of the program in the effective data area DTE is read (steps S4 and S5). On the other hand, if the comparison result is abnormal, error handling is executed and the process ends (step S6). This prohibits the execution of illegally copied programs and also prevents illegal copying of programs.

【0010】図6には、上記プログラムの不正読込みの
防止をハードウェアによって実現する場合の実施例が示
されている。この実施例では、マイクロコンピュータC
PUの外付け回路として、ディスクのギャップ内の記憶
領域KEYのキーコードと同一のコードが設定されるR
OM(リードオンリメモリ)のような設定手段KSTと
、リード回路RDCにより読み取られたデータをパラレ
ルデータに変換するシリアル−パラレル変換器および変
換されたデータを保持するレジスタとからなるリードデ
ータ保持手段DTHと、このリードデータ保持手段DT
Hに保持されたデータと上記設定手段KSTに設定され
たコードとを比較するコンパレータCMPとが設けられ
ている。リードデータ保持手段DTHには、インデック
スホールIHLを検出する受光器SNSからの検出パル
スIDXが供給されており、このパルスの立下りに同期
してリード回路RDCからのリードデータを取り込んで
保持するようになっている。そして、リードデータ保持
手段DTHにリードデータが取り込まれると、そのデー
タと設定手段KSTに設定されたコードとがコンパレー
タCMPで比較される。その結果、不一致と判定される
と、マイクロコンピュータCPUに割込み信号IRQが
入力される。マイクロコンピュータCPUは割込み信号
が入るとエラー処理を実行して、例えばリード回路RD
Cを無効にしてディスクの実効データエリアの読込みを
停止させるように構成されている。
FIG. 6 shows an embodiment in which prevention of unauthorized reading of the program is realized by hardware. In this embodiment, the microcomputer C
As the external circuit of the PU, the same code as the key code of the storage area KEY in the gap of the disk is set.
A read data holding means DTH consisting of a setting means KST such as an OM (read only memory), a serial-parallel converter that converts the data read by the read circuit RDC into parallel data, and a register that holds the converted data. And this read data holding means DT
A comparator CMP is provided which compares the data held in H with the code set in the setting means KST. The read data holding means DTH is supplied with a detection pulse IDX from the light receiver SNS that detects the index hole IHL, and is configured to take in and hold read data from the read circuit RDC in synchronization with the falling edge of this pulse. It has become. Then, when the read data is taken into the read data holding means DTH, the data and the code set in the setting means KST are compared by the comparator CMP. As a result, if it is determined that they do not match, an interrupt signal IRQ is input to the microcomputer CPU. When the microcomputer CPU receives an interrupt signal, it executes error processing and, for example, reads the read circuit RD.
It is configured to disable C and stop reading the effective data area of the disk.

【0011】また、この実施例では、特に制限されない
が、上記ライト回路WTCを制御して設定手段KSTに
設定されたキーコードを受光器SNSからの検出パルス
IDXの立下りに同期してディスクのギャップ内の記憶
領域KEYに書き込む機能がマイクロコンピュータCP
Uに設けられている。上記実施例では設定手段KSTを
ROMによって構成すると説明したが、RAM(ランダ
ム・アクセス・メモリ)あるいはレジスタによって構成
することによりキーコードをプログラマブルに設定でき
るようにしてもよい。
In this embodiment, although not particularly limited, the write circuit WTC is controlled to set the key code set in the setting means KST on the disc in synchronization with the fall of the detection pulse IDX from the light receiver SNS. The function of writing to the storage area KEY in the gap is the microcomputer CP.
It is located in U. In the above embodiment, it has been explained that the setting means KST is constituted by a ROM, but it may be constituted by a RAM (random access memory) or a register so that the key code can be set programmably.

【0012】また、上記実施例ではディスクのギャップ
内の記憶領域KEYにプロテクト用のキーコードを格納
するようにした実施例について説明したが、マイクロコ
ンピュータCPUのソフトウェアによって、システム起
動時にのみ上記記憶領域KEYのデータを読み出して「
1」を加えてもとの位置に書き込んでやることにより、
上記記憶領域KEYをカウンタとして使用するようにす
ることも可能である。これによって、プログラムのロー
ド回数等をディスクに記憶させ、所定回数に達したら読
込みを禁止することにより不正な使用を防止することが
できるようになる。
Further, in the above embodiment, a protection key code is stored in the storage area KEY in the gap of the disk, but the software of the microcomputer CPU allows the storage area Read the KEY data and select “
By adding ``1'' and writing it in the original position,
It is also possible to use the storage area KEY as a counter. This makes it possible to prevent unauthorized use by storing the number of times a program has been loaded on the disk and prohibiting reading when a predetermined number of times has been reached.

【0013】以上説明したように上記実施例は、インデ
ックスホールの検出パルスのエッジによりリード回路も
しくはリード/ライト回路を有効にするように制御系を
構成して、従来データエリアとして使用されていないイ
ンデックスホール前後の無効エリア(ギャップ)に予め
キーコードを記憶しておいて読取り可能とするかもしく
は使用回数やバックアップ回数等のアクセスに関する情
報を記憶させるようにしたので、ホール前後のギャップ
に数バイトのキーコードやアクセス情報を記憶させるこ
とできるとともに、制御系に汎用のディスクコントロー
ラLSIを使用した通常のディスク装置では上記インデ
ックスホール前後のギャップのコードの読取りは行なわ
ないため、ギャップに記憶されたコードまでは複写され
ない。そのため、プログラム起動時にギャップのコード
をチェックして正しいキーコードがないときはプログラ
ムの実行を停止させることが可能となり、プログラムの
不正な複写や使用を防止することができるという効果が
ある
As explained above, in the above embodiment, the control system is configured so that the read circuit or the read/write circuit is enabled by the edge of the index hole detection pulse. A key code is stored in advance in the invalid area (gap) before and after the hole to make it readable, or information regarding access such as the number of uses and backup times is stored, so a few bytes are stored in the gap before and after the hole. In addition to being able to store key codes and access information, ordinary disk drives that use a general-purpose disk controller LSI for the control system do not read the codes in the gaps before and after the index hole, so the codes stored in the gaps can also be stored. is not copied. Therefore, it is possible to check the gap code when starting the program and stop the program execution if the correct key code is not found, which has the effect of preventing unauthorized copying or use of the program.

【0014】以上本発明者によってなされた発明を実施
例に基づき具体的に説明したが、本発明は上記実施例に
限定されるものではなく、その要旨を逸脱しない範囲で
種々変更可能であることはいうまでもない。例えば、上
記実施例では、マイクロコンピュータによって直接リー
ド回路RDCやライト回路WTCを制御するように構成
しているが、リード回路やライト回路の制御は制御回路
CNTに委ね、マイクロコンピュータは制御回路CNT
によるリード回路やライト回路の制御を有効にするか無
効にするかの指令のみを与えるように構成することも可
能である。以上の説明では主として本発明者によってな
された発明をその背景となった利用分野であるフロッピ
ーディスク装置に適用した場合について説明したが、こ
の発明はそれに限定されるものでなく、ハードディスク
や光ディスクその他ディスク型記憶装置一般に利用する
ことができる。
[0014] The invention made by the present inventor has been specifically explained based on examples, but the present invention is not limited to the above-mentioned examples, and can be modified in various ways without departing from the gist thereof. Needless to say. For example, in the above embodiment, the read circuit RDC and the write circuit WTC are directly controlled by the microcomputer, but the control of the read circuit and the write circuit is left to the control circuit CNT, and the microcomputer controls the control circuit CNT.
It is also possible to provide a configuration in which only a command to enable or disable the control of the read circuit and write circuit by the controller is given. In the above explanation, the invention made by the present inventor was mainly applied to a floppy disk device, which is the background field of application. Type storage devices can be used in general.

【0015】[0015]

【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば下記
のとおりである。すなわち、ディスク型記憶装置におい
てプログラムの不正な複写や使用を防止することができ
る。
Effects of the Invention The effects obtained by typical inventions disclosed in this application are briefly explained below. That is, it is possible to prevent unauthorized copying or use of programs in the disk storage device.

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

【図1】本発明を適用したフロッピーディスク装置の一
実施例の概略構成図である。
FIG. 1 is a schematic configuration diagram of an embodiment of a floppy disk device to which the present invention is applied.

【図2】実施例のフロッピーディスク装置の主プログラ
ム処理の一例を示すフローチャートである。
FIG. 2 is a flowchart showing an example of main program processing of the floppy disk device of the embodiment.

【図3】実施例のフロッピーディスク装置の割込み処理
プログラムの一例を示すフローチャートである。
FIG. 3 is a flowchart showing an example of an interrupt processing program of the floppy disk device according to the embodiment.

【図4】実施例のフロッピーディスク装置で使用するフ
ロッピーディスクの記憶領域の構成例を示す説明図であ
る。
FIG. 4 is an explanatory diagram showing an example of the configuration of a storage area of a floppy disk used in the floppy disk device of the embodiment.

【図5】実施例のフロッピーディスク装置で使用するフ
ロッピーディスクのトラックフォーマット例を示す説明
図である。
FIG. 5 is an explanatory diagram showing an example of a track format of a floppy disk used in the floppy disk device of the embodiment.

【図6】本発明の第2の実施例のフロッピーディスク装
置の概略構成図である。
FIG. 6 is a schematic configuration diagram of a floppy disk device according to a second embodiment of the present invention.

【図7】従来のフロッピーディスク装置で使用するフロ
ッピーディスクの記憶領域の構成例を示す説明図である
FIG. 7 is an explanatory diagram showing an example of a configuration of a storage area of a floppy disk used in a conventional floppy disk device.

【図8】従来のフロッピーディスク装置で使用するフロ
ッピーディスクのトラックフォーマット例を示す説明図
である。
FIG. 8 is an explanatory diagram showing an example of a track format of a floppy disk used in a conventional floppy disk device.

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

FD  フロッピーディスク IHL  インデックスホール CPU  マイクロコンピュータ CNT  ヘッド制御回路 STM  ヘッド駆動用モータ LED  発光器 SNS  受光器 CMP  コンパレータ FD floppy disk IHL index hole CPU Microcomputer CNT head control circuit STM head drive motor LED light emitter SNS Photoreceiver CMP comparator

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】  磁気ディスクを回転させる駆動手段と
、磁気ディスクに設けられているインデックスホールを
検出する回転位置検出手段と、この回転位置検出手段か
らの検出パルスに基づいて磁気ヘッドの位置を制御する
制御手段と、上記磁気ヘッドを駆動する読出し書込み手
段とを備えたディスク型記憶装置において、上記検出パ
ルスをマイクロコンピュータの割込み端子に入力させて
、そのパルスのエッジにて割込み処理を開始して上記読
出し書込み手段を有効にし磁気ディスク上の、ギャップ
領域に書き込まれたキーコードを読み取って予め設定さ
れたコードと比較し、一致しない場合には実効データ領
域のデータのアクセスを禁止するように構成したことを
特徴とするディスク型記憶装置。
1. A drive means for rotating a magnetic disk, a rotational position detection means for detecting an index hole provided in the magnetic disk, and a position of the magnetic head is controlled based on a detection pulse from the rotational position detection means. In a disk type storage device, the detection pulse is inputted to an interrupt terminal of a microcomputer, and interrupt processing is started at the edge of the pulse. It is configured to enable the read/write means, read the key code written in the gap area on the magnetic disk, compare it with a preset code, and prohibit access to data in the effective data area if it does not match. A disk-type storage device characterized by:
【請求項2】  磁気ディスクを回転させる駆動手段と
、磁気ディスクに設けられているインデックスホールを
検出する回転位置検出手段と、この回転位置検出手段か
らの検出パルスに基づいて磁気ヘッドの位置を制御する
制御手段と、上記磁気ヘッドを駆動する読出し書込み手
段とを備えたディスク型記憶装置において、上記検出パ
ルスをマイクロコンピュータの割込み端子に入力させて
、そのパルスのエッジにて割込み処理を開始してギャッ
プ領域にアクセスに関する情報を書き込むように構成し
たことを特徴とするディスク型記憶装置。
2. A drive means for rotating a magnetic disk, a rotational position detection means for detecting an index hole provided in the magnetic disk, and a position of the magnetic head is controlled based on a detection pulse from the rotational position detection means. In a disk type storage device, the detection pulse is inputted to an interrupt terminal of a microcomputer, and interrupt processing is started at the edge of the pulse. A disk type storage device characterized by being configured to write information regarding access in a gap area.
【請求項3】  磁気ディスクを回転させる駆動手段と
、磁気ディスクに設けられているインデックスホールを
検出する回転位置検出手段と、この回転位置検出手段か
らの検出パルスに基づいて磁気ヘッドの位置を制御する
制御手段と、上記磁気ヘッドを駆動する読出し書込み手
段とを備えたディスク型記憶装置において、上記検出パ
ルスのエッジにて上記読出し書込み手段からの読出しデ
ータを取り込んで保持するリードデータ保持手段と予め
設定されたキーコードを記憶するキーコード記憶手段と
上記リードデータとキーコードとを比較する比較手段と
を設け、この比較手段の一致検出信号をマイクロコンピ
ュータの割込み端子に入力させて、その一致検出信号に
よって割込み処理を開始して実効データ領域のデータの
アクセスを禁止するようにことを特徴とするディスク型
記憶装置。
3. Drive means for rotating a magnetic disk, rotational position detection means for detecting an index hole provided in the magnetic disk, and control of the position of the magnetic head based on detection pulses from the rotational position detection means. A disk type storage device comprising: a control means for controlling the magnetic head; and a read/write means for driving the magnetic head; A key code storage means for storing the set key code and a comparison means for comparing the read data and the key code are provided, and a coincidence detection signal from the comparison means is inputted to an interrupt terminal of the microcomputer to detect the coincidence. A disk type storage device characterized in that an interrupt process is started in response to a signal to prohibit access to data in an effective data area.
JP3042845A 1991-02-14 1991-02-14 Disk-shaped storage device Withdrawn JPH04259958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3042845A JPH04259958A (en) 1991-02-14 1991-02-14 Disk-shaped storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3042845A JPH04259958A (en) 1991-02-14 1991-02-14 Disk-shaped storage device

Publications (1)

Publication Number Publication Date
JPH04259958A true JPH04259958A (en) 1992-09-16

Family

ID=12647338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3042845A Withdrawn JPH04259958A (en) 1991-02-14 1991-02-14 Disk-shaped storage device

Country Status (1)

Country Link
JP (1) JPH04259958A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995014993A1 (en) * 1993-11-29 1995-06-01 Sega Enterprises, Ltd. Electronic apparatus using information memory medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995014993A1 (en) * 1993-11-29 1995-06-01 Sega Enterprises, Ltd. Electronic apparatus using information memory medium
US5627895A (en) * 1993-11-29 1997-05-06 Sega Enterprises, Ltd. Electronic device for detecting selected visually perceptible indication information on an information storage medium for security comparison
CN1072382C (en) * 1993-11-29 2001-10-03 世嘉企业股份有限公司 Electronic apparatus using informtion memory medium

Similar Documents

Publication Publication Date Title
US6289484B1 (en) Disk drive employing off-line scan to collect selection-control data for subsequently deciding whether to verify after write
US4785361A (en) Method and apparatus for frustrating the unauthorized copying of recorded data
US5799145A (en) Disk drive apparatus having security function using password
US5650882A (en) Disk unit performing control using sector pulses
JPH04259958A (en) Disk-shaped storage device
JPH08255465A (en) Recording/reproducing device and its address-recognizing method
JP2002014778A (en) Disk controller, disk storage device equipped with the controller, and processing method for hang-up occurrence applied to the device
JPS6378211A (en) Power failure handling device for disk recording and reproducing device in microcomputer
US4860131A (en) Method for recorrecting head position in a disk drive
JP4293648B2 (en) Data protection method in disk device, disk device, and computer-readable recording medium recording program
JPH05198078A (en) Disk storage device
JP3264528B2 (en) Information replacement processing method for write-protected information recording medium
JP2713317B2 (en) Write data protection method for momentary power interruption in disk drive
JPH04310671A (en) Disk controller
JPH0271458A (en) Data writing controller for magnetic recording and reproducing device and method for protecting servo information
KR0160111B1 (en) Apparatus and method preventing run-away of sequencer by using timer interrupt
JP2894388B2 (en) Search circuit
JP2001357619A (en) Optical disk drive device
JPH04309144A (en) System file fault detecting system
JP2001034539A (en) Floppy disk, system and method for illegal use prevention, and medium
JPH0358346A (en) Head retreating system of disk device
JPS5840271B2 (en) memory device
JPS5972543A (en) Processing system of medium format
JPS6032165A (en) Control method for read-out of disk
JPH0775098B2 (en) Rotation abnormality detection method and rotation type storage device using the same

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514