JPH03225674A - Floppy disk control system - Google Patents

Floppy disk control system

Info

Publication number
JPH03225674A
JPH03225674A JP2155990A JP2155990A JPH03225674A JP H03225674 A JPH03225674 A JP H03225674A JP 2155990 A JP2155990 A JP 2155990A JP 2155990 A JP2155990 A JP 2155990A JP H03225674 A JPH03225674 A JP H03225674A
Authority
JP
Japan
Prior art keywords
input
output port
floppy disk
transfer rate
floppy
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
JP2155990A
Other languages
Japanese (ja)
Inventor
Shuzo Nakajima
中島 修三
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2155990A priority Critical patent/JPH03225674A/en
Publication of JPH03225674A publication Critical patent/JPH03225674A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To cancel the non-operation of a program by providing plural input/ output ports, preventing the set value of a transfer rate from being changed on one hand, and changing a rotating speed according to set contents on the other hand. CONSTITUTION:The transfer rate value is set in the first input/output port and recording density is set in the second input/output port. When a power source is turned on, the program stored in a ROM 2 is activated and the initial diagnosis of a system is executed under the control of a CPU 1. Then, DMA controllers 4 and 5 to control direct memory access, interruption controllers 6 and 7 to control interruption, and timer 8 are initially set. The transfer rate value set in the first input/output port is fixed and the recording density set in the second input/output port is changed while varying the rotating speed according to the applied contents. Thus, the compatibility of a software can be maintained and the non-operation of the program is canceled.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明はパーソナルコンピュータに用いて好適なフロ
ッピーディスク制御方式に係り、特に転送レートか同一
仕様であって記録密度が異なる記録媒体をリード/ライ
ト可能としたフロッピーディスク装置に用いて好適なフ
ロッピーディスク制御方式に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a floppy disk control method suitable for use in personal computers, and particularly relates to a floppy disk control method suitable for use in personal computers, and in particular, it relates to a floppy disk control method suitable for use in personal computers, and in particular, it relates to a floppy disk control method suitable for use in personal computers. The present invention relates to a floppy disk control method suitable for use in a floppy disk device capable of reading/writing media.

(従来の技術) パーソナルコンピュータの外部記憶媒体としてフロッピ
ーディスクが標準的に使用される。この種コンピュータ
の流通ソフトウェアは通常5インチ(又は3.5インチ
)フロッピーと称される媒体に記録され販売される。現
在は2HD (高密度)フロッピーが主流となってきて
いる。この2HDフロツピーは国内では、1.2MBが
主流で、海外では1.44MBが主流である。この2H
Dフロツピーの転送レートは両方とも同じで500KB
PSである、しかしながらフロッピーディスクドライブ
(FDD)の回転数は1.2MBが36Orpm、1.
44MBが30Orpmとなっており互いに異なる。
(Prior Art) A floppy disk is normally used as an external storage medium for personal computers. Distribution software for this type of computer is usually recorded and sold on a medium called a 5-inch (or 3.5-inch) floppy disk. Currently, 2HD (high density) floppies are becoming mainstream. In Japan, 1.2MB is the mainstream for this 2HD floppy disk, and 1.44MB is the mainstream overseas. This 2H
The transfer rate of both D floppies is the same, 500KB.
PS, however, the rotational speed of the floppy disk drive (FDD) is 36 Orpm for 1.2MB, 1.
44MB is 30Orpm and they are different from each other.

ところで、この1.2MBフロッピーと1.44MBフ
ロッピーの両方をサポートするフロッピーディスクドラ
イブがあり、1.44MBフロッピーを使用した場合、
回転数を360rpmから300rpmに変更すること
により対応している。通常、フロッピーディスクをフロ
ッピーディスクドライブに挿入すると、コンピュータは
このフロッピーディスクの種類を判定するために転送レ
ートを変更してリードできるか否がを調べる。
By the way, there is a floppy disk drive that supports both 1.2MB floppy and 1.44MB floppy, and if you use 1.44MB floppy,
This is handled by changing the rotation speed from 360 rpm to 300 rpm. Normally, when a floppy disk is inserted into a floppy disk drive, the computer determines the type of floppy disk by changing the transfer rate and checking whether it can be read.

(発明が解決しようとする課題) 上記したように1.44MBフロッピーと1.2MBフ
ロッピーは転送レートが共に同一であるため、ある入出
力ポートに1.44MBと1.2MBを設定し、その値
に従って制御すればよい。しかしながらパーソナルコン
ピュータの分野では入出力ポートの値が公表され、プロ
グラマはこの仕様にしたがって流通ソフトウェアを開発
しているため、この値を変更費るとアプリケーションプ
ログラムが動作しなくなるといった互換上の問題が生じ
ることがある。
(Problem to be Solved by the Invention) As mentioned above, since the transfer rate of 1.44MB floppy and 1.2MB floppy is the same, set 1.44MB and 1.2MB to a certain input/output port, and It can be controlled according to the following. However, in the field of personal computers, input/output port values are published and programmers develop distributed software according to these specifications, so changing these values can cause compatibility problems such as application programs not working. Sometimes.

この発明は上記事情に鑑みてなされたものであり、1.
44MBフロッピー 1.2MBフロッピーの両方を読
み書き可能なフロッピーディスク装置であって、入出力
ポートへ設定される転送レートの内容を変更せずに、1
.44MB、と1.2MBの各フロッピーの読み書きを
可能にしてソフトウェアに対する影響をなくしたフロッ
ピーディスク制御方式を提供することを目的とする。
This invention was made in view of the above circumstances, and includes: 1.
A floppy disk device that can read and write both 44MB floppy and 1.2MB floppy, without changing the transfer rate set to the input/output port.
.. The object of the present invention is to provide a floppy disk control method that enables reading and writing of 44 MB and 1.2 MB floppies and eliminates the influence on software.

[発明の構成] (課題を解決するための手段) 本発明は、転送レートが同一仕様であって記録密度が異
なる記録媒体をリードライト可能なディスクドライブを
備えたパーソナルコンピュータに於いて、上記転送レー
ト値が設定される第1の入出力ポートと、記録密度の違
いが設定される第2の入出力ポートを備えて、第2の入
出力ポートに設定された内容に従い第1の入出力ポート
に設定された値を変更することなくデータのり−ド/ラ
イトを行うことを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) The present invention provides a personal computer equipped with a disk drive capable of reading and writing recording media having the same transfer rate and different recording densities. The first input/output port has a first input/output port to which a rate value is set, and a second input/output port to which a difference in recording density is set. The feature is that data can be read/written without changing the value set in .

(作 用) 本発明は、1.44MBの記録密度を持つ2HDフロツ
ピーデイスクと1.2MBの記録密度を持つフロッピー
ディスクの両方を読み書き可能なフロッピーディスクド
ライブを外部記憶として持つパーソナルコンピュータで
あって、2HD1.44MBと2HD1.2MBフロッ
ピーが同一の転送レートを持つ仕様であった場合に、そ
の転送レートの指定を変更することなく両方のフロッピ
ーを読み書きする。このため、転送レート値が設定され
る入出力ポートの他に、フロッピーディスクの回転数を
変更する入出力ポートを設け、転送レートを指定する入
出力ポートの内容を変更することなく、フロッピーディ
スクの回転数を変更する入出力ポートを変更することに
よって2HD1.44MBフロッピーと2HD1.2M
Bフロッピーとをサポートすることを実現する。
(Function) The present invention is a personal computer having a floppy disk drive as external storage that can read and write both a 2HD floppy disk with a recording density of 1.44 MB and a floppy disk with a recording density of 1.2 MB. , when a 2HD 1.44 MB floppy and a 2HD 1.2 MB floppy have specifications having the same transfer rate, read and write from and to both floppies without changing the transfer rate designation. Therefore, in addition to the input/output port where the transfer rate value is set, there is also an input/output port that changes the rotation speed of the floppy disk. 2HD1.44MB floppy and 2HD1.2M by changing the input/output port by changing the rotation speed
B floppies are supported.

これにより、アプリケーション互換が維持される。This maintains application compatibility.

(実施例) 以下、図面を使用して本発明実施例について説明する。(Example) Embodiments of the present invention will be described below using the drawings.

第1図は本発明が採用されるパーソナルコンピュータの
構成例を示すブロック図である。図において、符号1は
システムの制御中枢となるCPUである。符号2はRO
Mであり、システムを制御するプログラムが格納される
メモリである。符号3はRAMであり、オペレーティン
グシステム(O8)、アプリケーションプログラム等が
格納されるメモリである。符号4,5はそれぞれDMA
コントローラ(D M A C)であり、ダイレクトメ
モリアクセスを制御するLSIである。符号6.7はそ
れぞれ割込みコントローラ(P I C)であり、割り
込みを制御するLSIである。
FIG. 1 is a block diagram showing an example of the configuration of a personal computer to which the present invention is applied. In the figure, reference numeral 1 is a CPU that serves as the control center of the system. Code 2 is RO
M, which is a memory in which programs that control the system are stored. Reference numeral 3 is a RAM, which is a memory in which an operating system (O8), application programs, etc. are stored. Codes 4 and 5 are DMA
It is a controller (DMAC) and is an LSI that controls direct memory access. Reference numerals 6 and 7 indicate interrupt controllers (PICs), which are LSIs that control interrupts.

符号8はプログマブルインターバルタイマ(P I T
)であり、タイマLSIである。符号9はリアルタイム
クロック(RTC)であり、日付、時刻等を制御するL
SIである。符号1oはCPUIの制御の下にハードデ
ィスクドライブ(HDD)1gを制御するハードディク
コントローラ(IDC)である。符号11はCPUIの
制御の下にフロッピーディスクドライブ(FDD)19
をリード/ライト制御するフロッピーディスクコントロ
ーラ(F D C)である。符号12はCPUIの制御
の下にプリンタを駆動制御するプリンタコントローラ(
PRTC)である。符号13はシリアル入出力インター
フェイス(510)であり、R5232Cを制御する回
路である。符号14はキーボードコントローラ(KBC
)でありキーボード20を制御する回路である。符号1
5はデイスプレィコントローラ(CRTC)でありプラ
ズマデイスプレィ21を表示ドライブ制御する。符号1
6はビデオRAM(VRAM)であり、プラズマデイス
プレィ21に表示する文字等が格納される表示用のメモ
リである。符号17は漢字フォントが格納されているメ
モリ(ROM)である。符号18はハードディクドライ
ブ(HDD)であり、アプリケーションプログラム、デ
ータ等が格納される外部記憶装置である。符号19はフ
ロッピーディスクドライブ(FDD)であり、アプリケ
ーションプログラム、データ等が格納される外部記憶装
置である。符号20はキーボード、符号21はプラズマ
デイスプレィでありパネルタイプの表示装置である。
The code 8 is a programmable interval timer (PIT
) and is a timer LSI. Reference numeral 9 is a real-time clock (RTC), which controls the date, time, etc.
It is SI. Reference numeral 1o denotes a hard disk controller (IDC) that controls a hard disk drive (HDD) 1g under the control of the CPUI. Reference numeral 11 indicates a floppy disk drive (FDD) 19 under the control of the CPUI.
This is a floppy disk controller (FDC) that controls read/write operations. Reference numeral 12 denotes a printer controller (which controls the printer under the control of the CPUI).
PRTC). Reference numeral 13 is a serial input/output interface (510), which is a circuit that controls R5232C. Code 14 is a keyboard controller (KBC
) and is a circuit that controls the keyboard 20. code 1
A display controller (CRTC) 5 controls the display drive of the plasma display 21. code 1
A video RAM (VRAM) 6 is a display memory in which characters and the like to be displayed on the plasma display 21 are stored. Reference numeral 17 is a memory (ROM) in which Kanji fonts are stored. Reference numeral 18 is a hard disk drive (HDD), which is an external storage device in which application programs, data, and the like are stored. Reference numeral 19 is a floppy disk drive (FDD), which is an external storage device in which application programs, data, etc. are stored. Reference numeral 20 is a keyboard, and reference numeral 21 is a plasma display, which is a panel type display device.

第2図は本発明の実施例に於ける動作を示すフローチャ
ートである。
FIG. 2 is a flowchart showing the operation in the embodiment of the present invention.

以下、本発明の実施例による動作について第2図を参照
しながら説明する。先ず、電源が投入されるとROM2
内に格納されているプログラムが起動され、CPUIの
制御の下にシステムの初期診断、各LSIの初期設定等
が行われる。この初期化処理が終了すると、2HDメデ
イアを1.2MBに設定する処理が行われる(第2図ス
テップS2)。この処理は特定の入出力ボートに信号を
出力してフロッピーディスク装置の回転を36Orpm
に設定する。
Hereinafter, the operation according to the embodiment of the present invention will be explained with reference to FIG. First, when the power is turned on, ROM2
A program stored in the CPU is started, and initial diagnosis of the system, initial setting of each LSI, etc. are performed under the control of the CPU. When this initialization process is completed, a process is performed to set the 2HD media to 1.2MB (step S2 in FIG. 2). This process outputs a signal to a specific input/output port to rotate the floppy disk device at 36 rpm.
Set to .

この後、フロッピーディスク装置にフロッピーディスク
が挿入されるとフロッピーディスクが2DDのメディア
か否かをチエツクするために転送レート指定を300K
BPSに設定しく第2図ステップS2)、フロッピーデ
ィスクをリードする(第2図ステップS3)。
After this, when a floppy disk is inserted into the floppy disk device, the transfer rate is set to 300K to check whether the floppy disk is a 2DD media.
BPS is set (step S2 in FIG. 2), and the floppy disk is read (step S3 in FIG. 2).

このリードでエラーが発生しなければフロッピーディス
クは2DDメデイアであることが確定される(第2図ス
テップS4.S5)。
If no error occurs during this read, it is determined that the floppy disk is a 2DD medium (steps S4 and S5 in FIG. 2).

又、上記リードでエラーが発生すれば転送レートを50
0KBPSに設定してフロッピーディスクをリードする
(第2図ステップS6.S7)。
Also, if an error occurs in the above read, the transfer rate will be reduced to 50.
0KBPS is set and the floppy disk is read (steps S6 and S7 in FIG. 2).

このリードでエラーが発生しなければフロッピーディス
クは2HD1.2MBのメディアであることが確定され
る(第2図ステップS8.S9)。
If no error occurs during this read, it is determined that the floppy disk is a 2HD 1.2MB medium (steps S8 and S9 in FIG. 2).

又、ここでエラーが発生したとき、2HDメデイアの設
定が1.44MBであるか否かを判断し、2HDメディ
ア1.44MBの設定であれば特定の入出力ボートの信
号を出力して再度転送レートを500KBPSとしてフ
ロッピーディスクをリードする(第2図ステップSIO
,S6.・・・)。又、2HDメディア1.44MBの
設定でチエツクを行っていればこのメディアはサポート
できないメディアと判断する(第2図ステップ512)
。
Also, if an error occurs here, it is determined whether the 2HD media setting is 1.44MB or not, and if the 2HD media setting is 1.44MB, a signal of a specific input/output port is output and the data is transferred again. Read the floppy disk at a rate of 500KBPS (Figure 2 Step SIO
, S6. ...). Also, if the check is performed with the setting of 2HD media 1.44MB, this media is determined to be unsupportable (step 512 in Figure 2).
.

このようにして、入出力ポートへ設定される転送レート
の内容を変更せずに、1.44MBフロッピーと1.2
MBフロッピーの読み書きを可能にすることができ、こ
れによりアプリケーション互換を維持できる。
In this way, 1.44MB floppy and 1.2MB floppy disks can be transferred without changing the transfer rate set to the input/output port.
It is possible to read and write MB floppies, thereby maintaining application compatibility.

[発明の効果] 以上説明のように本発明によれば、転送レートを指定す
る入出力ボートの他に回転数が設定される入出力ボート
を付加し、転送レートが設定される入出力ポートの意味
合いを変更することなく上記付加した回転数設定入出力
ボートの内容に従って回転数を変更することにより、ソ
フトウェア互換を維持でき、アプリケーションプログラ
ムが動作しなくなるといった問題を解消できる。
[Effects of the Invention] As described above, according to the present invention, an input/output boat for which the rotation speed is set is added in addition to the input/output boat for specifying the transfer rate, and the input/output port for which the transfer rate is set is By changing the rotation speed according to the contents of the added rotation speed setting input/output board without changing the meaning, software compatibility can be maintained and the problem of application programs not working can be solved.

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

第1図は本発明が採用されるパーソナルコンピュータの
構成例を示すブロック図、第2図は本発明の実施例に於
ける処理フローを示すフローチャートである。 1・・・CPU、2・・・ROM、11・・・フロッピ
ーディスクコントローラ(FDC)、19・・・フロッ
ピーディスクドライブ(FDD)。
FIG. 1 is a block diagram showing a configuration example of a personal computer to which the present invention is applied, and FIG. 2 is a flowchart showing a processing flow in an embodiment of the present invention. 1... CPU, 2... ROM, 11... Floppy disk controller (FDC), 19... Floppy disk drive (FDD).

Claims (1)

【特許請求の範囲】[Claims] 転送レートが同一仕様であって記録密度が異なる記録媒
体をリード/ライト可能なディスクドライブを備えたパ
ーソナルコンピュータに於いて、転送レート値が設定さ
れる第1の入出力ポートと、記録密度が設定される第2
の入出力ポートを具備し、上記第1の入出力ポートの設
定値を変更せず、上記第2の入出力ポートの設定内容に
従うドライブ制御でデータをリード/ライトすることを
特徴としたフロッピーディスク制御方式。
In a personal computer equipped with a disk drive that can read/write recording media with the same transfer rate but different recording densities, there is a first input/output port where the transfer rate value is set, and the recording density is set. second to be done
A floppy disk characterized in that the data is read/written by drive control according to the settings of the second input/output port without changing the settings of the first input/output port. control method.
JP2155990A 1990-01-31 1990-01-31 Floppy disk control system Pending JPH03225674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2155990A JPH03225674A (en) 1990-01-31 1990-01-31 Floppy disk control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2155990A JPH03225674A (en) 1990-01-31 1990-01-31 Floppy disk control system

Publications (1)

Publication Number Publication Date
JPH03225674A true JPH03225674A (en) 1991-10-04

Family

ID=12058371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2155990A Pending JPH03225674A (en) 1990-01-31 1990-01-31 Floppy disk control system

Country Status (1)

Country Link
JP (1) JPH03225674A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06208467A (en) * 1992-11-09 1994-07-26 Internatl Business Mach Corp <Ibm> Computer system and backup storage method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06208467A (en) * 1992-11-09 1994-07-26 Internatl Business Mach Corp <Ibm> Computer system and backup storage method

Similar Documents

Publication Publication Date Title
KR0174711B1 (en) Hard disk cache control method
US5996027A (en) Transmitting specific command during initial configuration step for configuring disk drive controller
JP2507227B2 (en) Data Flow Controller
US5555437A (en) Read-write state machine in a host interface for controlling read and write operations in a disk drive
JPH06214934A (en) Programmable external-storage control device
JP2525122B2 (en) Computer system backup recording method, restoration method and system
US5968139A (en) Method of redirecting I/O operations to memory
US5687389A (en) System for controlling an automatic read operation of read cache control circuit in a disk drive controller utilizing a start counter, a working counter, and a sector counter
US5548784A (en) Automatic disk change detection without causing head movement by step pulses
US5761519A (en) Portable computer having a removable medium drive and a resume setting function
US5455954A (en) Host interrupt signal generation circuit for controlling an auto read operation in a disk drive controller
JP2744104B2 (en) Floppy disk controller
JP3432897B2 (en) Method for rewriting system ROM program and computer system using this method
JP3432649B2 (en) Storage device
US5754889A (en) Auto write counter for controlling a multi-sector write operation in a disk drive controller
JP2675650B2 (en) Information processing device
JP2839729B2 (en) FDD control method
JPS6354631A (en) Control device
JPS62269231A (en) Computer with a copy prevention mechanism for program recording media
JPH0635622A (en) External storage device
JP2861777B2 (en) Disk device and disk control microcomputer
JP2630932B2 (en) Program recording method for disk-shaped recording medium
JPH05324205A (en) Floppy disk control system
JPS63276777A (en) Information processor
JPH03291721A (en) Data transfer controller for floppy disk