JPS59136860A - Disk controller - Google Patents

Disk controller

Info

Publication number
JPS59136860A
JPS59136860A JP1060883A JP1060883A JPS59136860A JP S59136860 A JPS59136860 A JP S59136860A JP 1060883 A JP1060883 A JP 1060883A JP 1060883 A JP1060883 A JP 1060883A JP S59136860 A JPS59136860 A JP S59136860A
Authority
JP
Japan
Prior art keywords
disk
control program
attribute
programs
program
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.)
Pending
Application number
JP1060883A
Other languages
Japanese (ja)
Inventor
Ikuyuki Fujiwara
郁志 藤原
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1060883A priority Critical patent/JPS59136860A/en
Publication of JPS59136860A publication Critical patent/JPS59136860A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To increase an address space which can be used to other programs by putting many secondary control programs on the same address and then selecting these programs in accordance with the disk attribute. CONSTITUTION:An attribute memory part 2 reads and stores the attribute of a disk. Based on the stored disk attribute, a control program selecting part 13 selects a secondary control program 4 in response to each disk. Then the writing and reading are carried out to the disk based on the selected program 4. Here the programs 4 corresponding to each disk attribute are put on the same address. In such a way, an address space which can be used to other programs is increased.

Description

【発明の詳細な説明】 (産業上の利用分野9 されるフロッピーディスクの制御装置に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Field of Application 9) This invention relates to a control device for a floppy disk.

(従来例の構成とその問題点〕 従来、フロッピーディスク装置は単密度記録方式(FM
 )で、1セクタ当シの記録バイト数が128バイトの
記録形式が中心であったが、近年ではFMのみでなく倍
密度記録方式(MFM )も盛んに使用されておシ、ま
た1セクタあたシの記録長も128バイト、256バイ
ト、512バイト、1024バーイトとさまざまな形式
のものが利用されている。そのため、前記の各形式に対
応したディスク制御装置で記録密度および記録長が異な
る2種類以上のディスクをアクセスする場合、アクセス
を行なうディスクがどのような形式で記録されているか
をあらかじめ知シ、その属性にあわせたアクセスを行な
う必要がある。
(Conventional structure and its problems) Conventionally, floppy disk drives have a single-density recording method (FM
), the number of recording bytes per sector was mainly 128 bytes, but in recent years not only FM but also double density recording (MFM) has been widely used, and Various recording length formats are used, including 128 bytes, 256 bytes, 512 bytes, and 1024 bytes. Therefore, when accessing two or more types of disks with different recording densities and recording lengths using a disk control device that supports each of the above formats, it is necessary to know in advance what format the disks to be accessed are recorded in, and to do so. It is necessary to perform access according to attributes.

従来のディスク制御装置について、第1図、第2図によ
シ説明する。
A conventional disk control device will be explained with reference to FIGS. 1 and 2.

第1図は従来のディスク制御装置であシ、1はスフの属
性を記憶する属性記憶部、7はアクセス制御プログラム
部、3は各属性に共通のアクセス制御プログラム(主制
御プログラム)、4は各属性にそれぞれ対応したアクセ
ス制御プログラム(副制御プログラム〕、5はディスク
へのアクセス時の記録密度を選択する記録密度選択部、
6は各ディスクドライブ(以下、FDDと略す〕である
FIG. 1 shows a conventional disk control device, where 1 is an attribute storage section that stores the attributes of a file, 7 is an access control program section, 3 is an access control program (main control program) common to each attribute, and 4 is an access control program section common to each attribute. an access control program (sub-control program) corresponding to each attribute, 5 a recording density selection unit that selects the recording density when accessing the disk;
6 is each disk drive (hereinafter abbreviated as FDD).

以上のように構成された従来のディスク制御装置につい
てその動作を説明する。
The operation of the conventional disk control device configured as described above will be explained.

ディスクはインデックストラックを持っておシ、インデ
ックストラックの記録形式はFMで1セクタあたシ12
8バイトと一律に規定されている。またインデックスト
ラックには、そのディスクの記録密度、記録長等の属性
が書かれており1、そこを読み出すことによってそのデ
ィスクの属性を知ることができる。ディスクをアクセス
する場合、まず記録密度選択部5をFMにセットし、1
セクタあたシ128バイトの形式でインデックストラッ
クからディスクの属性を読み出し、属性記憶部2に記憶
する。以降のディスクへのアクセスにおいては、記憶し
たディスクの属性に応じて、それぞれのディスクに対応
した副制御プログラム4で書き込み、読み出し等のアク
セスを行なう。各副制御プログラムは、FM、1セクタ
あたシ128バイト用、FM、1セクタあだシ、256
バイト用、MFM 。
The disc has an index track, and the recording format of the index track is FM with 1 sector per sector.
It is uniformly specified as 8 bytes. Further, attributes such as the recording density and recording length of the disc are written on the index track 1, and by reading it, the attributes of the disc can be known. When accessing a disc, first set the recording density selection unit 5 to FM, and
The attributes of the disk are read from the index track in the format of 128 bytes per sector and stored in the attribute storage section 2. In subsequent accesses to the disks, accesses such as writing and reading are performed by the sub-control program 4 corresponding to each disk, depending on the stored disk attributes. Each sub-control program is FM, 1 sector for 128 bytes, FM, 1 sector for 256 bytes,
MFM for part-time work.

1セクタあだシ256バイト用、MFM、1セクタあた
シ512バイト用・・等、各ディスクの形式に対応して
作られて因る。アクセス制御プログラム部7の従来例を
第2図に示す。アクセス制御プログラム部7はディスク
の記録形式が変化しても、共通で使用できる主制御プロ
グラム3と各ディスクの記録形式にそれぞれ対応した副
制御プログラム4からなる。副制御プログラム4は2種
類以上ある場合が多い。副制御プログラム4の中には書
き込みプログラム8、読み出しプログラム9、比較プロ
グラム10、初期化ゾログラム11等のディスクに対す
る基本のアクセス制御プログラム3が含まれている。従
来の場合各側制御プログラム4はそれぞれ異なったアド
レス上に置かれておシ、よって副制御プログラム4の数
が増せば増すほど、ツマシ、多くの形式のディスクへの
アクセスに対応させようとすればするほど多くのアドレ
ス空間を必要とすることになシ、それによって他のプロ
グラムに使えるアドレス空間が少なくなるという問題点
を有していた。また主制御プログラム3から副制御プロ
グラム4へ移る場合、たとえ同じ書き込みグログラムに
移る場合においても各ディスクの属性によって移るアド
レスが異なってしまう。
They are made to correspond to each disk format, such as 256 bytes per sector, MFM, 512 bytes per sector, etc. A conventional example of the access control program section 7 is shown in FIG. The access control program unit 7 consists of a main control program 3 that can be used in common even if the recording format of the disc changes, and a sub-control program 4 that corresponds to the recording format of each disc. There are often two or more types of sub-control programs 4. The sub-control program 4 includes a basic access control program 3 for the disk, such as a write program 8, a read program 9, a comparison program 10, and an initialization zologram 11. In the past, each side control program 4 was placed on a different address, so as the number of sub-control programs 4 increased, it became more difficult to accommodate more types of disk access. The problem is that the longer the program runs, the more address space is required, which reduces the address space available for other programs. Furthermore, when moving from the main control program 3 to the sub-control program 4, the address to be moved to differs depending on the attributes of each disk even when moving to the same writing program.

読み出しグログラム9、比較グログラム10等の他のプ
ログラムに主制御ノログラム3よシ移る場合においても
同様であシ1.このことによって、主制御プログラム3
から副制御プログラム4へ移る場合の処理が複雑になる
という別の問題点をも有していた。
The same applies when moving from the main control program 3 to other programs such as the read program 9 and the comparison program 10.1. By this, the main control program 3
Another problem is that the processing when moving from the program to the sub-control program 4 becomes complicated.

(発明の目的) 本発明は、前記のディスク制御装置が有する問題点を解
消するもので、同一・アドレス上に多数の副制御プログ
ラムを位置させることによシ、他のプログラムに使用で
きるアドレス空間を拡大させると共に、主制御プログラ
ムから副制御プログラムへの移動の処理を簡単に行なう
ことを可能としたディスク制御装置を提供することを目
的とする。
(Object of the Invention) The present invention solves the problems of the disk control device described above, and by locating a large number of sub-control programs on the same address, the address space can be used for other programs. It is an object of the present invention to provide a disk control device that allows for the expansion of the main control program and the easy processing of moving from a main control program to a sub-control program.

(発明の構成) 本発明はディスクの記録情報の属性を読み出し記憶する
属性記憶部と、各ディスクの属性に応じたアクセス制御
プログラムを2種類以上有するアクセス制御プログラム
部と、前記属性記憶部に記憶された各ディスクの属性に
基づき、それぞ些の属性に応じたアクセス制御プログラ
ムを前記アクセス制御プログラム部から選択する制御グ
ログラム選択部と、ディスクへのアクセス時の記録密度
、をそれぞれの属性に応゛じて選択する記録密度選択部
を備えたディスク制御装置であシ、アクセス制御プログ
ラムを同一アドレス上に位置させることによシ、他のプ
ログラムに使用できるアドレス空間を拡大させると共に
、主制御プログラムから副制御プログラムへの移動の処
理を簡単に行なうことのできるものである。
(Structure of the Invention) The present invention includes an attribute storage unit that reads and stores attributes of recorded information on a disc, an access control program unit that has two or more types of access control programs according to the attributes of each disc, and an access control program unit that stores information in the attribute storage unit. a control program selection section that selects an access control program from the access control program section based on the attributes of each disk; and a control program selection section that selects an access control program corresponding to each small attribute from the access control program section; By locating the access control program at the same address, the address space available for other programs is expanded, and the main control program This allows the process of moving from the program to the sub-control program to be easily performed.

(実施例の説明〕 第3図は本発明の一実施例であシ、1は上位処理装置、
2は属性記憶部、3は各属性に共通の主制御プログラム
、4は同一アドレス上に位置する各属性にそれぞれ対応
した副制御プログラム、5は記録密度選択部、6はFD
Dである。7は主制御プログラム3と二種類以上の副制
御プログラム4を含むアクセス制御プログラム部であシ
、13は属性記憶部2に記憶されたディスクの各属性に
基づき、それぞれのディスクに対応した副制御グログラ
ム4を選択する制御プログラム選択部である。
(Description of Embodiment) FIG. 3 shows an embodiment of the present invention, in which 1 is a host processing device;
2 is an attribute storage unit, 3 is a main control program common to each attribute, 4 is a sub-control program corresponding to each attribute located on the same address, 5 is a recording density selection unit, and 6 is an FD
It is D. 7 is an access control program section including a main control program 3 and two or more types of sub-control programs 4; 13 is a sub-control program section corresponding to each disk based on each attribute of the disk stored in the attribute storage section 2; This is a control program selection section that selects the program 4.

以上のように構成された、本実施例のディスク制御装置
についてその動作を説明する。属性記憶部2にディスク
の属性を読み込み記憶するまでは、従来のディスク制御
装置と同じである。記憶した以降はディスクへのアクセ
スにおいて、記憶したディスクの属性に基づき、それぞ
れのディスクに応じた副制御プログラム4を制御プログ
ラム選択部13が選択し、選択された副制御プログラム
によっては、ディスクへの書き込み、読み出しを行なう
。本実施例のように、各ディスクの属性にそれぞれ対応
した副制御プログラム4を同一アドレス上に設け、さら
に書き込みプログラム8、読み出しプログラム9、比較
プログラム10、初期イしプログラム11等の個々の制
御プログラムについても同一アドレス上に設けることに
よシ、主制御プログラム3から副制御プログラム4への
移動の処理が、すべての属性で共通に行なえるため、主
制御プログラム3の作成が容易になる。またプログラム
の長さを短かくすることも可能である。、さらに従来の
ディスク制御装置のように副制御プログラムをそれぞれ
異なるアドレス空間にとっておらず、すべて同一アドレ
ス上に位置させ、制御プログラム選択3部13で選択し
て使用するようにしているため、如伺に副制御プログラ
ム4の数を多くしても、他のプログラムに使用するアド
レス空間を減らすことなく、従って従来のディスクfl
i制御装置に比べて、多くのアドレス空間を他のプログ
ラムに使用できるものである。
The operation of the disk control device of this embodiment configured as described above will be explained. The process up to reading and storing the disk attributes in the attribute storage section 2 is the same as a conventional disk control device. After the storage, when accessing the disk, the control program selection unit 13 selects the sub-control program 4 corresponding to each disk based on the stored disk attributes, and depending on the selected sub-control program, the control program selection unit 13 selects the sub-control program 4 for each disk. Write and read. As in this embodiment, sub-control programs 4 corresponding to the attributes of each disk are provided at the same address, and individual control programs such as a write program 8, a read program 9, a comparison program 10, an initial read program 11, etc. By providing these on the same address, the process of moving from the main control program 3 to the sub control program 4 can be performed in common for all attributes, making it easier to create the main control program 3. It is also possible to shorten the length of the program. Furthermore, unlike conventional disk control devices, the sub-control programs are not located in different address spaces, but are all located at the same address and are selected and used in the control program selection section 3 13. Even if the number of sub-control programs 4 is increased, the address space used for other programs will not be reduced.
Compared to the i-control device, more address space can be used for other programs.

(発明の効果) 本発明は、ディスク制御装置の副制御ゾロク゛ラムを同
一アドレス上に位置させ、属性記憶部に言己憶されたデ
ィスクの属性によって、制御プログラム選択部で副制御
プログラムを選択して使用することによシ、少ないアド
レス空間で多くの種類のディスクの属性に対応すること
ができ、さらに主制御プログラムから副制御プログラム
への移動も各属性に関係なく、同じ動作のプログラムで
あればすべて同じアドレスへ移動すれば良いので主制御
プログラムの作成も容易かつ短かくでき、よって他のプ
ログラムに使用するアドレス空間を多くとれるという効
果を得ることができる優れたディスク制御装置を実現で
きるものである。
(Effects of the Invention) The present invention positions the sub-control programs of the disk control device at the same address, and selects the sub-control program in the control program selection section according to the disk attributes stored in the attribute storage section. By using this, it is possible to handle many types of disk attributes with a small address space, and furthermore, moving from a main control program to a sub-control program is possible regardless of each attribute, as long as the program operates in the same way. Since all the data needs to be moved to the same address, the creation of the main control program is easy and short, making it possible to create an excellent disk control device that has the effect of freeing up a large amount of address space for use by other programs. be.

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

第1図は従来のディスク制御装置のブロック図、ロック
図、第4図は本実施例によるアクセス制御プログラム部
の一構成例を示す図である。 1・・・上位処理装置、2・・・属性記憶部、3・・・
主制御プログラム、4・・・副制御プログラム、5・・
・記録密度選択部、6・・・ディスクドライブ(FDD
) 、7・・・アクセス制御プログラム部、8・・・書
き込みプログラム、9・・・読み出しプログラム、10
・・・比較プログラム、11・・・初期化プログラム、
12・・・フロッピーディスク装置、13・・・制御プ
ログラム選択部。
FIG. 1 is a block diagram and lock diagram of a conventional disk control device, and FIG. 4 is a diagram showing an example of the configuration of an access control program section according to the present embodiment. 1... Upper processing device, 2... Attribute storage unit, 3...
Main control program, 4... Sub-control program, 5...
・Recording density selection section, 6... Disk drive (FDD
), 7... access control program section, 8... writing program, 9... reading program, 10
...Comparison program, 11...Initialization program,
12... Floppy disk device, 13... Control program selection section.

Claims (1)

【特許請求の範囲】[Claims] 上位処理装置のディスクに対する情報の書き込み、読み
出し等のアクセスを制御するディスク制御装置において
、前記ディスクから記録情報の属性を読み出し記憶する
属性記憶部と、各ディスクの属性に応じたアクセス制御
プログラムを同一アドレス上に2種類以上有するアクセ
ス制御プログラム部と、前記属性記憶部に記憶された各
ディスクの属性に基づきそれぞれの属性に応じたアクセ
ス制御プログラムを前記アクセス制御プログラム部よシ
選択する制御プログラム選択部と、ディヌクへのアクセ
ス時の記録密度をそれぞれの属性に応じて選択する記録
密度選択部を具備することを特徴とするディスク制御装
置。
In a disk control device that controls access such as writing and reading information to a disk by a host processing device, an attribute storage unit that reads and stores attributes of recorded information from the disk and an access control program corresponding to the attributes of each disk are the same. an access control program section having two or more types of addresses; and a control program selection section for selecting an access control program according to each attribute based on the attributes of each disk stored in the attribute storage section. and a recording density selection unit that selects a recording density when accessing a Dinuku according to each attribute.
JP1060883A 1983-01-27 1983-01-27 Disk controller Pending JPS59136860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1060883A JPS59136860A (en) 1983-01-27 1983-01-27 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1060883A JPS59136860A (en) 1983-01-27 1983-01-27 Disk controller

Publications (1)

Publication Number Publication Date
JPS59136860A true JPS59136860A (en) 1984-08-06

Family

ID=11754950

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1060883A Pending JPS59136860A (en) 1983-01-27 1983-01-27 Disk controller

Country Status (1)

Country Link
JP (1) JPS59136860A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61204865A (en) * 1985-03-07 1986-09-10 Oki Electric Ind Co Ltd Control system of auxiliary storage device
JPS62192012A (en) * 1986-02-18 1987-08-22 Sony Corp Disk device
JPS63149867A (en) * 1986-12-12 1988-06-22 Sony Corp Sound reproducing device
WO1988004803A1 (en) * 1986-12-18 1988-06-30 Mitsubishi Denki Kabushiki Kaisha Disk cartridge and semiconductor cartridge memory

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5473533A (en) * 1977-11-24 1979-06-12 Casio Comput Co Ltd Extending system for system program
JPS5692665A (en) * 1979-12-26 1981-07-27 Toshiba Corp Data processing system
JPS5730050A (en) * 1980-07-30 1982-02-18 Fujitsu Ltd Interruption control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5473533A (en) * 1977-11-24 1979-06-12 Casio Comput Co Ltd Extending system for system program
JPS5692665A (en) * 1979-12-26 1981-07-27 Toshiba Corp Data processing system
JPS5730050A (en) * 1980-07-30 1982-02-18 Fujitsu Ltd Interruption control system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61204865A (en) * 1985-03-07 1986-09-10 Oki Electric Ind Co Ltd Control system of auxiliary storage device
JPS62192012A (en) * 1986-02-18 1987-08-22 Sony Corp Disk device
JPS63149867A (en) * 1986-12-12 1988-06-22 Sony Corp Sound reproducing device
WO1988004803A1 (en) * 1986-12-18 1988-06-30 Mitsubishi Denki Kabushiki Kaisha Disk cartridge and semiconductor cartridge memory
US4891727A (en) * 1986-12-18 1990-01-02 Mitsubishi Denki K.K. Memory device

Similar Documents

Publication Publication Date Title
JPS60250449A (en) Data recording
JPH05313980A (en) Information recording method
JPH04141867A (en) File managing method
JPS59136860A (en) Disk controller
JPS63104284A (en) Disk file access system
JPH07182232A (en) Information processor
JPS58219658A (en) Magnetic disk controller
JP2701372B2 (en) Magneto-optical disk drive
JPH0628779A (en) Method for recording and controlling data in disk device
JPH1049312A (en) Magnetic disk drive
JP2671298B2 (en) File management method
JPH02299036A (en) Information recording and reproducing method
JPS6149229A (en) Information processor
JP2784650B2 (en) Optical disk storage management method
JPH09293007A (en) Program install device
JPH05289942A (en) Cache memory circuit
JPS619721A (en) Sector control system of magnetic disk device
JP2005115696A (en) File access method and information processor
JPH06124218A (en) Disk content destruction factor estimation supporting method and information processing system with disk content destruction factor estimation supporting function
JPH01320601A (en) Magnetic disk device
JPS61273625A (en) Disk control system
JPH0963175A (en) Magnetic disk control device
JPH1021653A (en) Magnetic disk device
JPS61236002A (en) Automatic track method for substitution of magnetic disk storage device
KR19990074199A (en) Sector Allocation Method