JPS6359618A - Semiconductor ram control system - Google Patents

Semiconductor ram control system

Info

Publication number
JPS6359618A
JPS6359618A JP61180801A JP18080186A JPS6359618A JP S6359618 A JPS6359618 A JP S6359618A JP 61180801 A JP61180801 A JP 61180801A JP 18080186 A JP18080186 A JP 18080186A JP S6359618 A JPS6359618 A JP S6359618A
Authority
JP
Japan
Prior art keywords
sector
management table
processing
semiconductor ram
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
JP61180801A
Other languages
Japanese (ja)
Other versions
JPH054697B2 (en
Inventor
Yasumasa Nishijima
西島 靖昌
Yoko Sanada
真田 葉子
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP61180801A priority Critical patent/JPS6359618A/en
Publication of JPS6359618A publication Critical patent/JPS6359618A/en
Publication of JPH054697B2 publication Critical patent/JPH054697B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0662Virtualisation aspects
    • G06F3/0664Virtualisation aspects at device level, e.g. emulation of a storage device or system

Abstract

PURPOSE:To simulate the SDT processing on a floppy disk device by providing a sector management table part where the processing state is managed in sector units. CONSTITUTION:A semiconductor RAM 7 has a data storage area part and the sector management table part. The data storage area part is divided into plural sectors, and continuous sectors are assigned to each track of a floppy disk. A bit train corresponding to the track is stored in the sector management table part, and each bit has a value indicating whether the corresponding sector is subjected to the SDT processing or not. for example, if the (n+2)th sector of a track 1 is subjected to the SDT processing, the value of the (n+2)th bit of the bit train corresponding to the track 1 in the sector management table part is one. Thus, floppy disk data is quickly processed as it is.

Description

【発明の詳細な説明】 〔概要〕 半導体RAMを記憶媒体とする外部記憶装置において、
セクタ単位に処理状態を管理するセクタ管理テーブル部
を持つことにより、フロッピィ・ディスク’271上の
SDT処理をエミュレーション可能としたものである。
[Detailed Description of the Invention] [Summary] In an external storage device using a semiconductor RAM as a storage medium,
By having a sector management table section that manages processing status on a sector-by-sector basis, it is possible to emulate SDT processing on a floppy disk '271.

〔産業上の利用分野〕[Industrial application field]

本発明は、外部記憶装置として使用される半導体RAM
を、応用プログラムがフロッピィ・ディスク装置をアク
セスするのと同じ手順でアクセスできるようにした半導
体RAM制御方式に関するものである。
The present invention relates to a semiconductor RAM used as an external storage device.
This invention relates to a semiconductor RAM control method that allows an application program to access a floppy disk device using the same procedure.

〔従来の技術〕[Conventional technology]

第4図は計算機システムの1例を示す図である。 FIG. 4 is a diagram showing an example of a computer system.

第4図において、1はディスプレイ、2は中央処理装置
、3は主メモリ、4は磁気ディスク装置、5はフロッピ
ィ・ディスク装置、6はプリンタ、7は半導体RAMを
それぞれ示している。主メモリ3の中には、応用プログ
ラムやモニタ、デバイス・ハンドラ等が格納されている
。半導体RAM7は、外部記憶装置として使用されるも
のである。
In FIG. 4, 1 is a display, 2 is a central processing unit, 3 is a main memory, 4 is a magnetic disk device, 5 is a floppy disk device, 6 is a printer, and 7 is a semiconductor RAM. The main memory 3 stores application programs, monitors, device handlers, and the like. The semiconductor RAM 7 is used as an external storage device.

応用プログラムが入出力デバイスをアクセスしたいと言
う要求を発行すると、この要求はモニタを介してデバイ
ス・ハンドラに伝えられ、デバイス・ハンドラが入出力
デバイスをアクセスする。
When an application program issues a request to access an input/output device, this request is transmitted via the monitor to a device handler, which accesses the input/output device.

所で、半導体RAM7をフロッピィ・ディスク装置5と
同様の手順でアクセスしたいと言う要求がある。フロッ
ピィ・ディスクは、第5図に示すように、複数のトラッ
クを有しており、トラックは複数のセクタに分割されて
いる。セクタの前後にはギヤ・ノブが存在し、SDT処
理(使用不可又は未使用)されたセクタの前のギャップ
にはAM3と言う信号が書き込まれている。SDT処理
されていないセクタの前のキャンプにはAM2と言う信
号が書き込まれている。セクタの大きさは例えば256
バイトであり、1個または複数のセクタでルコードを構
成する。記憶媒体に傷があるようにな場合には、それを
含むセクタはSDT処理される。また、例えば使用され
ないファイル・ラベルを含むセクタはSDT処理される
。図示のような場合、論理的にはセクタ1の次のセクタ
は、セクタ3となる。
By the way, there is a request to access the semiconductor RAM 7 using the same procedure as the floppy disk device 5. As shown in FIG. 5, a floppy disk has a plurality of tracks, and the tracks are divided into a plurality of sectors. There are gear knobs before and after the sector, and a signal called AM3 is written in the gap before the SDT processed (unusable or unused) sector. A signal called AM2 is written in the camp in front of the sector that has not been subjected to SDT processing. For example, the sector size is 256
A sector is a byte, and one or more sectors constitute a code. If the storage medium is damaged, the sector containing it is subjected to SDT processing. Also, for example, sectors containing unused file labels are subjected to SDT processing. In the illustrated case, logically the next sector after sector 1 is sector 3.

フロッピィ・ディスク装置5をアクセスする場合、応用
プログラムは、最初に0PEN命令を発行し、次にGE
T/PUT命令を発行し、最後にCLO3E命令を発行
している。例えばファイルDを指定する0PEN命令が
発行されると、フロッピィ・ディスクのファイル・ラベ
ルが調べられ、ファイルDが格納されている領域のアド
レスが求められる。次に、このアドレスを基にしてファ
イルDがアクセスされる。
When accessing the floppy disk device 5, the application program first issues a 0PEN command, then a GE
A T/PUT command is issued, and finally a CLO3E command is issued. For example, when an 0PEN command specifying file D is issued, the file label of the floppy disk is checked to determine the address of the area where file D is stored. Next, file D is accessed based on this address.

応用プログラムが半導体RAM7をフロッピィ・ディス
ク装置5と同じような手順でアクセスできるようにする
ためには、半導体RA M 7をセクタ単位に区画して
管理する方法と、フロッピィ・ディスクと同様にセクタ
(セクタ・データが複写された区画を意味する)間に処
理情報を持つ方法とが考えられる。
In order to enable the application program to access the semiconductor RAM 7 using the same procedure as the floppy disk device 5, there is a method to manage the semiconductor RAM 7 by partitioning it into sectors, and a method to manage the semiconductor RAM 7 by partitioning it into sectors (similar to the floppy disk). One possible method is to have processing information between the sectors (meaning the partitions where the sector data is copied).

〔解決しようとする問題点〕[Problem to be solved]

前者の半導体RAM7をセクタ単位に区画して管理する
方法は、フロッピィ・ディスク上でSDT処理された媒
体をボリューム複写を行うと、後で複写された半導体R
AM7のデータを参照しても、どこがSDT処理されて
いるのか判別できなくなる。また、後者のセクタ間に処
理情報を持つ方法では、複数のセクタに跨がる1個のレ
コードを処理しようとすると、セクタ間で不用情報を読
み飛ばす処理を毎回行う必要が生じ、このため高速な処
理ができないと言う欠点がある。
The former method of partitioning the semiconductor RAM 7 into sectors and managing it is such that when volume copying is performed on a medium that has been subjected to SDT processing on a floppy disk, the semiconductor RAM 7 that is later copied is
Even if you refer to the data of AM7, it will not be possible to determine which part has been subjected to SDT processing. In addition, with the latter method of storing processing information between sectors, when attempting to process a single record that spans multiple sectors, it is necessary to skip unnecessary information between sectors each time. It has the disadvantage that it cannot be processed in many ways.

本発明は、この点に鑑みて創作されたものであって、半
導体RAMにおいて、フロッピィ・ディスク・データを
そのまま高速処理可能とする半導体RAM制御方式を提
供することを目的としている。
The present invention was created in view of this point, and it is an object of the present invention to provide a semiconductor RAM control method that enables high-speed processing of floppy disk data as it is in a semiconductor RAM.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理図である。半導体RAM7は、デ
ータ格納域部とセクタ管理テーブル部を有している。デ
ータ格納域部は、複数のセクタに分割されており、フロ
ッピィ・ディスクの各トラックに対して連続したセクタ
が割当られている。
FIG. 1 is a diagram showing the principle of the present invention. The semiconductor RAM 7 has a data storage area section and a sector management table section. The data storage area is divided into a plurality of sectors, and consecutive sectors are allocated to each track of the floppy disk.

セクタ管理テーブル部には、トラックに対応するビット
列が格納されている。各ビットは対応するセクタがSD
T処理さたいるか否かを示す値を有している。例えば、
トラックlの第n+2番目のセクタがSDT処理されて
いるとすると、セクタ管理テーブル部におけるトラック
1に対応するビット列の第n+2番目のビットの値は1
とされる。
The sector management table section stores bit strings corresponding to tracks. Each bit has a corresponding sector in SD
It has a value indicating whether T processing is to be performed or not. for example,
Assuming that the n+2nd sector of track l has been subjected to SDT processing, the value of the n+2nd bit of the bit string corresponding to track 1 in the sector management table section is 1.
It is said that

〔実施例〕〔Example〕

第2図は半導体RAMをアクセスするときの処理フロー
である。半導体RAMをアクセスする際、先ずセクタ管
理テーブルを読み込む。複数のセクタに跨がるレコード
を読み込む場合、先頭のセクタから最後のセクタまでの
間にSDT処理されているセクタがあるか否かを調べ、
ある場合には、先頭のセクタからSDT処理されている
セクタの前のセクタまでを連続して一気に読み込む。そ
して、そのSDT処理されているセクタの次のセクタを
先頭セクタとして同様な処理を行う。なお、書込みの場
合も同様な処理が行われる。
FIG. 2 is a processing flow when accessing the semiconductor RAM. When accessing the semiconductor RAM, first the sector management table is read. When reading a record that spans multiple sectors, check whether there is a sector that has been subjected to SDT processing from the first sector to the last sector,
In some cases, the sectors from the first sector to the sector before the sector undergoing SDT processing are read continuously at once. Then, similar processing is performed using the sector next to the sector that has been subjected to the SDT processing as the first sector. Note that similar processing is performed in the case of writing as well.

第3図はRAMディスク(半導体RAMと同義)へのボ
リューム・コピー処理を示す図である。
FIG. 3 is a diagram showing volume copy processing to a RAM disk (synonymous with semiconductor RAM).

■ ボリューム・ラベルを読み込む。■ Read volume label.

■ ボリューム・ラベルを書き込む。■ Write the volume label.

■ 1トラツクのデータをリードする。■ Read one track of data.

■ SDT処理されたセクタがありか否かを調べ、Ye
 sのときは■の処理を行い、NOのときは■の処理を
行う。
■ Check whether there is a sector that has undergone SDT processing and
If s, process ``■'' is performed, and if NO, process ``■'' is performed.

■ 1トラツクのデータをライトシ、RA Mディスク
のセクタ管理テーブルの対応ビットをずべて0にする。
■ Write one track of data and set all corresponding bits in the sector management table of the RAM disk to 0.

■ 最終トラックか否かを調べる。Yesのときはエン
ドとし、Noのときは■の処理に戻る。
■ Check whether it is the last track. If Yes, the process ends, and if No, the process returns to ■.

■ 1セクタをリードする。■ Read one sector.

■ lセクタをライトする ■ RAMディスクのセクタ管理テーブルの対応するビ
ットをOにする。
■ Write l sector ■ Set the corresponding bit in the sector management table of the RAM disk to O.

[相] そのセクタがSDT処理されているか否かを8
.1べろ。Yesのときは■の処理を行い、Noのとき
は@の処理を行う。
[Phase] Indicates whether the sector is SDT processed or not.
.. 1 tongue. When Yes, process ■ is performed, and when No, process @ is performed.

■ セクタ管理テーブルの対応するビットを1にする。■ Set the corresponding bit in the sector management table to 1.

@ 最終セクタか否かを調べる。Yesのときはエンド
とし、Noのときは■の処理に戻る。
@ Check whether it is the last sector. If Yes, the process ends, and if No, the process returns to ■.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明によれば、半導
体RAM上のセクタを元のフロッピィ・ディスク上のデ
ータ・ファイルと全く同一に扱うことが可能となり、フ
ロッピィ・ディスク上のキー・ファイルを再構成するこ
となく、そのまま半導体RAMに使用することが出来る
。これによりソフトウェアの変更を行わなくても高速デ
ータ処理が可能となる。また、セクタ管理テーブルがデ
ータ格納域部と分離されているため、セクタ情報をまと
めて複数個同時に連続処理することが可能である。更に
、セクタ区画(セクタ長)の変更などに対しても、セク
タ管理テーブル長を再設定するだけで容易に対処するこ
とが出来る。
As is clear from the above description, according to the present invention, sectors on a semiconductor RAM can be treated exactly the same as data files on the original floppy disk, and key files on the floppy disk can be It can be used as is as a semiconductor RAM without being reconfigured. This allows high-speed data processing without changing the software. Furthermore, since the sector management table is separated from the data storage area, it is possible to collectively process a plurality of sector information simultaneously and continuously. Furthermore, changes in sector partitions (sector lengths) can be easily handled by simply resetting the sector management table length.

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

第1図は本発明の原理図、第2図は半導体RAMをアク
セスする場合の処理フローを示す図、第3図はRAMデ
ィスクへのボリューム・コピー処理を示す図、第4図は
計算機システムの1例を示−j図、第5図はフロッピィ
・ディスクのトラック構成を示す図である。 1・・・ディスプレイ、2・・・中央処理装置、3・・
・主メモリ、4・・・磁気ディスク装置、5・・・フロ
ッピィ・ディスク装置、6・・・プリンタ、7・・・半
導体RAM。
Figure 1 is a diagram showing the principle of the present invention, Figure 2 is a diagram showing the processing flow when accessing semiconductor RAM, Figure 3 is a diagram showing volume copy processing to a RAM disk, and Figure 4 is a diagram of the computer system. An example is shown in FIG. 5, and FIG. 5 is a diagram showing the track structure of a floppy disk. 1...Display, 2...Central processing unit, 3...
- Main memory, 4... Magnetic disk device, 5... Floppy disk device, 6... Printer, 7... Semiconductor RAM.

Claims (1)

【特許請求の範囲】[Claims] 半導体RAMを記憶媒体とする外部記憶装置において、
半導体RAMをデータ格納域部とセクタ管理テーブル部
に分け、上記データ格納域部を複数のセクタに分割し、
上記セクタ管理テーブル部に、各セクタに対応する状態
記憶ビットを設け、状態記憶ビットの値によって対応す
るセクタが使用不可(又は未使用)であるか否かを表示
するようにしたことを特徴とする半導体RAM制御方式
In an external storage device using semiconductor RAM as a storage medium,
Divide the semiconductor RAM into a data storage area and a sector management table, divide the data storage area into a plurality of sectors,
A state memory bit corresponding to each sector is provided in the sector management table section, and whether or not the corresponding sector is unusable (or unused) is displayed based on the value of the state memory bit. Semiconductor RAM control method.
JP61180801A 1986-07-31 1986-07-31 Semiconductor ram control system Granted JPS6359618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61180801A JPS6359618A (en) 1986-07-31 1986-07-31 Semiconductor ram control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61180801A JPS6359618A (en) 1986-07-31 1986-07-31 Semiconductor ram control system

Publications (2)

Publication Number Publication Date
JPS6359618A true JPS6359618A (en) 1988-03-15
JPH054697B2 JPH054697B2 (en) 1993-01-20

Family

ID=16089581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61180801A Granted JPS6359618A (en) 1986-07-31 1986-07-31 Semiconductor ram control system

Country Status (1)

Country Link
JP (1) JPS6359618A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01292421A (en) * 1988-05-19 1989-11-24 Mitsubishi Electric Corp Method for copying data in memory card
JPH06202821A (en) * 1992-10-30 1994-07-22 Intel Corp Solid memory disk and method and equipment for controlling it
US6460111B1 (en) 1998-03-09 2002-10-01 Mitsubishi Denki Kabushiki Kaisha Semiconductor disk drive and method of creating an address conversion table based on address information about defective sectors stored in at least one sector indicated by a management code
JP4985781B2 (en) * 2007-11-05 2012-07-25 富士通株式会社 Semiconductor memory device and control method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01292421A (en) * 1988-05-19 1989-11-24 Mitsubishi Electric Corp Method for copying data in memory card
JPH06202821A (en) * 1992-10-30 1994-07-22 Intel Corp Solid memory disk and method and equipment for controlling it
US6460111B1 (en) 1998-03-09 2002-10-01 Mitsubishi Denki Kabushiki Kaisha Semiconductor disk drive and method of creating an address conversion table based on address information about defective sectors stored in at least one sector indicated by a management code
JP4985781B2 (en) * 2007-11-05 2012-07-25 富士通株式会社 Semiconductor memory device and control method thereof
US8924671B2 (en) 2007-11-05 2014-12-30 Fujitsu Limited Semiconductor storage device and control method thereof

Also Published As

Publication number Publication date
JPH054697B2 (en) 1993-01-20

Similar Documents

Publication Publication Date Title
JP4374348B2 (en) How to store file data on disk
JPS61112255A (en) Computer system
JPS6258479A (en) Label writing method for file data
JPH05313980A (en) Information recording method
JPH04141867A (en) File managing method
JPH08195093A (en) File controller for nonvolatile memory
KR100224524B1 (en) Method for incrementally archiving primary storage to archive storage by utlizing both a partition archive status array and a partition map
JPS62239226A (en) Partial alteration of data record for direct access memory
JPS6359618A (en) Semiconductor ram control system
JPH0330034A (en) Optical disk file managing method
JPH0277949A (en) File producing method
JP2581003B2 (en) Recording disk controller
US20050044331A1 (en) Data management
JPH1063436A (en) Method and device for storing data
JPH0895835A (en) Method for reserving file space
JP2005122252A (en) Reproducing device, reproducing and recording device, and video-editing device
JPH01255028A (en) Method for making access to external storage device
JPS58219658A (en) Magnetic disk controller
JP3614886B2 (en) File system
JPS62177642A (en) File management system for postscript filing device
JPS6359619A (en) System for initializing ram disk
JPS63251965A (en) Disk managing system
JPH0273436A (en) File control system
JPH11220693A (en) Moving image recording device
Chun Access and organization of secondary memory devices