JPS59105160A - Floppy disk controller - Google Patents

Floppy disk controller

Info

Publication number
JPS59105160A
JPS59105160A JP57213311A JP21331182A JPS59105160A JP S59105160 A JPS59105160 A JP S59105160A JP 57213311 A JP57213311 A JP 57213311A JP 21331182 A JP21331182 A JP 21331182A JP S59105160 A JPS59105160 A JP S59105160A
Authority
JP
Japan
Prior art keywords
floppy disk
status
disk device
signal
circuit
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
JP57213311A
Other languages
Japanese (ja)
Inventor
Shuji Naraoka
修治 奈良岡
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 JP57213311A priority Critical patent/JPS59105160A/en
Publication of JPS59105160A publication Critical patent/JPS59105160A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To improve the reliability and efficiency of a system by storing the status change of a ready signal indicating the operation ready status of a floppy disk device and the status signal indicating no selection of the floppy disk device. CONSTITUTION:Signals 36 are successively selected periodically and sent to respective floppy disk devices 25-28 as floppy disk selecting information through a floppy disk interface 18 and a control line 23. Status signals 37 successively sent from the respective floppy disk devices 25-28 are stored in a status storing circuit 21. An abnormal status detecting signal 36 to be outputted during the period of no selection of the floppy disk device is outputted from a decoder circuit 19 to detect the abnormal status. In order to detect the disk displacing operation, the status change of a ready signal indicating the operation ready status is stored in the status storing circuit 21.

Description

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

〔発明の技術分野〕 本発明はフロッピーディスクコントローラに係す、特に
ホストシステム(マイクロコンピュータ内蔵機器)から
の制御情報に基ずきフロッピーディス装置の制御及びフ
ロッピーディスクとの情報交換を行うフロッピーディス
クコントローラーに関1−るものである。 〔発明の技術的背騎並びに問題点〕 フロッピーディスクコントローラは1〜数台のフロッピ
ーディスク装置を多重動作信号により各々制御する方式
が常であど)。従来のフロッピーディスクコントローラ
では各フロッピーディスク装置の状態情報は、ホストシ
ステムからのコマンドに依り、フロンピーディスクコン
トローラかラフロンピーディスク装置選択侶号乞出力し
、該当するフロッピーディスク装置より状態情報を得る
作業を行っている。従ってポストシステムではコマンド
送出時点の状態[y報しか得る事が出来ない。 その為ディスク交換の際に発生するフロッピーディスク
装置の状態変化を検出するには、定期的に011記コマ
ンドをホストシステムより送出し状態監視’t:: ’
rjう心電があった。また、状態’rr’+7視をイj
なわず、各ディスク(″−ディスク謡、別データを記録
して置き、ディスクと情報交換する毎に、ディスク識別
データを?Jα′請する等の処理を行い対応していた3
、この様な従来のフロッピーディスクコントローラでは
、ボストンスデム側のフロロピーディスクに対するソフ
トウェア処理が繁雑である]六フロッピーディスクとの
情〜υ交換時間も長くなると云う問題がある。 また、第1図に示す様にフロッピーディスクコ〉′トロ
ーラ】からのフロッピーディスク÷旨
[Technical Field of the Invention] The present invention relates to a floppy disk controller, and particularly to a floppy disk controller that controls a floppy disk device and exchanges information with a floppy disk based on control information from a host system (equipment with a built-in microcomputer). This is related to 1-. [Technical aspects and problems of the invention] Floppy disk controllers usually control one to several floppy disk devices using multiple operation signals. With conventional floppy disk controllers, the status information of each floppy disk device is output from the floppy disk controller or the floppy disk device selector according to a command from the host system, and the status information is obtained from the corresponding floppy disk device. It is carried out. Therefore, the post system can only obtain information about the state [y] at the time the command is sent. Therefore, in order to detect changes in the state of the floppy disk device that occur when replacing disks, periodically send command 011 from the host system to monitor the status 't:: '
There was an electrocardiogram. Also, if the state 'rr' + 7 vision is
Instead, each disc recorded songs and other data, and each time information was exchanged with the disc, processing was performed such as requesting disc identification data.
In such conventional floppy disk controllers, the software processing for the floppy disks on the Boston Sdem side is complicated, and there is a problem in that the time required for exchanging information with the floppy disks becomes long. In addition, as shown in Figure 1, the floppy disk ÷ the floppy disk from the floppy disk controller

【、、) 24 
H<イ言舅2Ai二よりフロッピーディスク−人i西、
3かズ、く択されアントゲ−1・4八〜4Dにより状態
lt+j 報が、1冗み出され、オープンコレクタの出
力回路5A〜51)な介して出力される。、この出力回
路5A〜5D(ま他のフロッピーディスク装置とワイヤ
ードオア回路?横1戊し、多111動作1,4号として
フロッピーディスクコントローラ1に/(力される。こ
の為、いずれかのフロッピーディスク装置の出力回路が
不良となった場合他に接わ′1.されている全てのフロ
ッピーディスク装置の出力信号にf;、g jH:、:
; イぐ与えディスクからの読み出し誤りを起す欠「b
、がある1、〔発明の目的〕 本発明は「)[」記I↓由に111.□みてなされたも
のであり、その1」自rオポストシステム刊(1jの〕
「コンビ−ディスクに関するソフトウェア処理のit口
酪化と共にフロンビーディスク装置の異常出力(、−3
号によるディスクへの不良汀込み及び不[込読み出しの
防止を可能とし、こフロッピーディスクコントローラを
提供することである。 〔力1[1月しく〕 +a <、−レ )木゛宅明はポ
ストシステム(マイクロフンピユータを内1機したし器
)からの111リイJli情報(二よりフロッピーディ
スク装置の化1]伽j)シひ・I−t’r +lj交・
亨さをイjなうフロッピーディスクコント(コーラに於
て、前記ホストシステムからの命令悦ち状、・′悲の時
前記フロッピーディスク装置を内地的に順ト1、選択す
る選択伝号を定めるカウンタと、前記フロッピーディス
ク装置の・・■転t4M (+ii+完了を示すレディ
(1−1号の状態変化をS己1、C・、する椅31のi
己[、・ふ[匝1it&と、ljl’f ;、ピフロッ
ピーデイスク゛シ装置の状態イ1.′:Zjを記憶する
第2の記憶回路と、前記選択伝号がいずれのフロッピー
ディスク装置も選択していないときの前記状態イ菖号を
記憶する第3の記憶回路を設けたことを特徴とするフロ
ンて°あ3 −へと一ノ ビーディスクコントローフ。 〔発明の実1j’ff1e!l) 第2図は本発明のフロッピーディスクコントローラの一
実施例を示すブロック構成図である。第2図に於て、ホ
ストシステム13より、いずれかのフロッピーディスク
装置25〜28に対する4冗み出し又は111キ込み要
求命令が発生した場合、命令情+lI!!i、データ、
アドレスライン14を介してフロッピーディヌクコント
ローラ12に入力され、Cr’ tJインターフェース
16を1中じて、フロッピーディスク制御回路17に入
る。フロッピーディスク1trl a11回路17では
、ホストシステム13よりのコマンド情報を納“釈し、
コマンド情報に、1、(すいて、フロッピーディスク選
択信号29を出力する。出力さ1またフロッピーディス
ク選択信号29 (、−1、デコード回路19にて信号
36にデコードされ、フロッピーディスクインターフェ
ース18フロツピーデイスク制御線23を1Iljl、
てフロッピーディスク接置25〜28へ入力する。フロ
ッピーディスク選択イへ号29に対応したフロッピーデ
ィスク装置には、フロッピーディスク制(lki1回路
17よりフロンビーディiり制?dll信号32をフロ
ッピーディスクインタフェース18フロツピーデイスク
制御線23を通して入力し’li’]rt+−114菖
弓32に八すいた動作を1.−1’冶させフロッピーデ
ィスク状態信号及びデータ伯−号を続出す。読出された
イに号(まフロッピー1ディスク出力伯−号線24、フ
ロッピーディスクイン〃−フェース18を通し、フロッ
ピーディスク状)馬イハ号37及びデータL−; ):
 33と1ノでフロッピーディスク制御回路17へ人力
され、フロッピーディスク出力情報としてフロッピーデ
ィスク制?iM]回路17よりCPTJインターフェー
ス]6、出力データライン]5をノ1りじてホストシス
テム13へ出力される。 次にフロッピーディスクコントローラ12がホストシス
テムからの命令禎ち状態の11)、制御回路】7からフ
ロッピーディスクZ択化分切換え信号30を出力しデコ
ード回路19の出力信号36をカウンタ20のフロッピ
ーディスク選択信号31に切換える。 第3図はデコード回路19及び状態記憶回路21の周辺
の詳細回路図で、第4図はその動作を説明するためのタ
イムチャートである。 カウンタ20の信号31は3ビツトで構IJkシ第4図
(二示す様に周期的に変化する信号としてデコード回路
19に入力する。デコード回路19の中には弔3図に示
す様に44号切換回路19Aをイ〕し、前述の株にりj
防え信号30により切j負えられてデコードされフロッ
ピ−ディスク選択信号36として出力される。この(A
号36は4ビツトの4a号36八〜36J)で構成し第
4図に示す様に周期的に1llli次選択されフロッピ
ーディスク選択情報としてフロッピーディスクインター
フェース18及び((,1]御線23を介して各フロッ
ピーディスク装置25〜28(二送出される。上記フロ
ッピーディスク選択48号36A〜361N、:tパル
ス幅Tの期間だけ順次LOWの信号を出力し、各フロッ
ピーディスク装置jt25〜28から順次送出された状
態(Th“号37を状態記憶回路21に記憶する。 状態記憶回路21では、各フロッピーディスク装置から
送出された各状態信号37を、フロッピーディスク選択
信号36A〜36Dのタイミングでそれぞれ対応する。 ぐ状態記憶回路39A〜39Dに記憶する。 また、デコード回路19かしはいずれのフロッピーディ
スク装:dも選択しない期間に(、−i号を出力する異
常状態検出信号36Eが出力され、この10号により異
′h;′状態が16ミ出される。即ち状81B号37の
1當状態を川、異7に状態な八12とし7.11句刻t
2に於て異常状態になったと仮定すると、第4図に示す
様に信号36Eのタイミングにより時刻t3に異′請状
態M2が状態記憶回路38に記憶内容38Yとして記憶
される。 また、ディスク交換操作中等を検出するために運転桑(
iiii完了を示すレディ信号の状態変化を状態記憶回
路21に次の様にして記・:aする。即ち、第4図はフ
ロッピーディスク選択信号36Aで選択されたフロッピ
ーディスク装置がディスク交1(p、 4’i44作中
の場合を示したもので、状態信号37の中のレディ信号
37AがしOWの状態に変化するとオアゲート4.2A
の人力条件が成立し時刻t、のタイミングでレディ信号
の状態変化検出信号43AとしてD形フリップフロップ
41Aに記憶する。この状態変化検出(n ’S 43
Aはホストシステム13からのdB令で切換え信号30
か出力されるまで自己保持される。 以上の説明のわく(二、状態記憶回路21にはI:!:
J 4tjJ的に発生する信号36A〜36Eにより常
に;”X′:新の状7g (H”q号°37が1;己ゴ
意さ才t1ポストシステム13(iアドレス信号34の
指令により状態記憶回路38゜39A〜39Dの記憶内
容を信号線22を介して−・7に出すことができる。 〔発明の効果〕 本発明のフロッピーディスクコントローラによれはフロ
ッピーディスク装置の状態情報、レディ信号の状態変化
情報、及び異γi+X状態情報なm1単に得る一JIが
出来、ボストンスム側のフロンピーディスクのソフトウ
ェア−処理の簡略化及びフロッピーディスクとの情報交
換時間の短縮化が可能となると共にフロッピーディスク
装置の異常信号の発生による不良書込み、不良読み出し
の防止が可能となり、信頼性の向上したフロッピーディ
スクコントローラを得ることができる。
[,,) 24
Floppy disk from H
One state lt+j information is outputted from three selected circuits 1.48 to 4D and outputted through open collector output circuits 5A to 51). , these output circuits 5A to 5D (or wired OR circuits with other floppy disk devices? If the output circuit of a disk device becomes defective, the output signals of all connected floppy disk devices will be f;, g jH:,:
; Missing “b” that causes reading errors from the input disk.
1. [Object of the Invention] The present invention is based on 111. □It was done by looking at it, Part 1” Published by Opost System (1j)
``The software processing related to the Combi Disk became obsolete, and the Fronbie Disc device outputted abnormally (-3
It is an object of the present invention to provide a floppy disk controller that can prevent defective data from being stuck to the disk and improper reading caused by the problem. [Force 1 [January] +a <, -re) Thursday Takuaki received 111 ri Jli information from the post system (one of which was equipped with a microcomputer) j) Shihi・I-t'r +lj interchange・
A floppy disk control to increase the level of control (in the Coke, the command from the host system is received, and when the floppy disk device is ordered locally, a selection message is determined. counter and the floppy disk device... t4M (+ii+ready indicating completion)
Status of the floppy disk device 1. ′:Zj, and a third memory circuit that stores the state I code when the selection signal does not select any floppy disk device. One knobby disc controller to the front end 3-. [Fruit of invention 1j'ff1e! l) FIG. 2 is a block diagram showing an embodiment of the floppy disk controller of the present invention. In FIG. 2, when the host system 13 issues a 4-redundant or 111-key request command to any of the floppy disk drives 25 to 28, the instruction information +lI! ! i, data,
The signal is input to the floppy disk controller 12 via the address line 14 and enters the floppy disk control circuit 17 through the Cr'tJ interface 16. The floppy disk 1trl a11 circuit 17 receives command information from the host system 13,
The command information is 1, (, and the floppy disk selection signal 29 is output. The floppy disk selection signal 29 (, -1, is decoded by the decoding circuit 19 to the signal 36, and the floppy disk interface 18 is output. Connect the disk control line 23 to 1Iljl,
and input to the floppy disks 25-28. For the floppy disk device compatible with floppy disk selection number 29, input the floppy disk system (lki1 circuit 17 to the floppy disk system ?dll signal 32 through the floppy disk interface 18 floppy disk control line 23). ] rt+-114 The iris 32 is made to perform the eight-point operation 1.-1', and the floppy disk status signal and data number are successively output. Floppy disk input (through the face 18, floppy disk type) Ma Iha No. 37 and data L-; ):
33 and 1 are input manually to the floppy disk control circuit 17, and the floppy disk output information is output to the floppy disk system? The signal is output from the iM circuit 17 to the host system 13 via the CPTJ interface 6 and the output data line 5. Next, when the floppy disk controller 12 is in a state of receiving commands from the host system (11), the control circuit 7 outputs a floppy disk Z selection switching signal 30, and the output signal 36 of the decoding circuit 19 is used as the floppy disk selection signal 36 of the counter 20. Switch to signal 31. FIG. 3 is a detailed circuit diagram of the periphery of the decoding circuit 19 and the state storage circuit 21, and FIG. 4 is a time chart for explaining the operation thereof. The signal 31 of the counter 20 consists of 3 bits and is input to the decoding circuit 19 as a periodically changing signal as shown in FIG. Turn on the switching circuit 19A and connect the stock as described above.
The signal 30 is overridden by the protection signal 30, decoded, and output as a floppy disk selection signal 36. This (A
No. 36 consists of 4-bit 4a No. 368 to 36J), and as shown in FIG. The floppy disk selection No. 48 36A to 361N, :t sequentially outputs a LOW signal for a period of pulse width T, and sequentially sends out from each floppy disk device jt25 to 28. 37 is stored in the state storage circuit 21. The state storage circuit 21 stores each state signal 37 sent from each floppy disk device at the timing of the floppy disk selection signals 36A to 36D. In addition, the decoding circuit 19 outputs an abnormal state detection signal 36E that outputs (, -i) during a period in which none of the floppy disk drives (d) is selected. No. 10 produces 16 different states.In other words, the 1st state of state 81B No. 37 is river, and the state 812 of state 7 is 7.11.
Assuming that an abnormal state occurs at step 2, the abnormal state M2 is stored in the state storage circuit 38 as the memory content 38Y at time t3 according to the timing of the signal 36E, as shown in FIG. In addition, the operation mulberry (
The state change of the ready signal indicating completion of iii is recorded in the state storage circuit 21 as follows. That is, FIG. 4 shows a case where the floppy disk device selected by the floppy disk selection signal 36A is in the process of disk switching 1 (p, 4'i44), and the ready signal 37A in the status signal 37 is OW. OR gate 4.2A when the state changes to
When the human power condition is satisfied, the state change detection signal 43A of the ready signal is stored in the D-type flip-flop 41A at the timing t. This state change detection (n'S 43
A is the switching signal 30 in dB order from the host system 13.
It is self-retained until it is output. The reason for the above explanation (2. The state memory circuit 21 is I:!:
J 4tjJ Always by the signals 36A to 36E generated; "X': New state 7g (H" The stored contents of the circuits 38, 39A to 39D can be output to -7 through the signal line 22. [Effects of the Invention] The floppy disk controller of the present invention can output the state information of the floppy disk device and the state of the ready signal. Change information and different γi + It becomes possible to prevent defective writing and defective reading due to the generation of abnormal signals, and it is possible to obtain a floppy disk controller with improved reliability.

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

第1図は一般のフロッピーディスクコントローラとフロ
ッピーディスク装置の状態信号に関する入出力回路図、
第2図は本発明のフロッピーディスクコントローラの一
実施例を示すブロック構成図、第3図は状態記憶回路及
び周辺の詳細回路図、第4図はその動作説明のためのタ
イムチャートである。 12・・・フロッピーディスクコントローラ13・・・
ホストシステム 16・・・CPUインターフェース 17・・・フロッピーディスク制御回路18・・・フロ
ンビーディスクインターフェース19・・・デコード回
路  20−・・カウンタ21.38.3’JA〜39
I)・・・状態記′1,6回[烙z5〜28・ フロッ
ピーデ・イスク装苦li ] 7’1〜4 ]、 f−
)・・D形フリップフロップ42A〜421)・・・(
負論理入力)オアゲート(7:H7’)  代理人 弁
理士 則 近 :I・!  佑(はか]8名 ζ’:53図 70 第4図
Figure 1 is an input/output circuit diagram regarding status signals of a general floppy disk controller and a floppy disk device.
FIG. 2 is a block diagram showing an embodiment of the floppy disk controller of the present invention, FIG. 3 is a detailed circuit diagram of the state storage circuit and its surroundings, and FIG. 4 is a time chart for explaining its operation. 12... Floppy disk controller 13...
Host system 16...CPU interface 17...Floppy disk control circuit 18...Frombie disk interface 19...Decoding circuit 20-...Counter 21.38.3'JA~39
I)...Status record '1, 6 times [烙z5~28・Floppyde Isk Soukuri] 7'1~4], f-
)...D flip-flop 42A~421)...(
Negative logic input) OR gate (7:H7') Agent Patent attorney Rule Chika: I・! Haka 8 people ζ': 53 Figure 70 Figure 4

Claims (1)

【特許請求の範囲】[Claims] ホストシステム(マイクロコンピュータを内蔵した機器
)からの制御情報によりフロッピーディスク装置の制御
及び情報交換を行なうフロッピーディスクコントローラ
に於て、前記ポストシステムからの命令待ち状態の時前
記フロッピーディスク装置を周期的に順次選択する選択
48号を定めるカウンタと、前記フロッピーディスク装
置の運転準備完了を示すレディ信号の状態変化を記・1
へする第】の記憶回路と、前記フロッピーディスク装置
の状態信号を記憶する第2の記憶回路と、前記選択信号
がいずれのフロッピーディスク装置も選択していないと
きの前記状態信号を記憶する第3の記憶回路を設けたこ
とを特徴とするフロッピーディスクコントローラ。
In a floppy disk controller that controls a floppy disk device and exchanges information using control information from a host system (equipment with a built-in microcomputer), the floppy disk device is periodically activated while waiting for an instruction from the post system. A counter that determines selection number 48 to be selected sequentially and a state change of a ready signal indicating that the floppy disk device is ready for operation are described.
a second storage circuit that stores the status signal of the floppy disk device; and a third storage circuit that stores the status signal when the selection signal does not select any floppy disk device. A floppy disk controller characterized by being provided with a memory circuit.
JP57213311A 1982-12-07 1982-12-07 Floppy disk controller Pending JPS59105160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57213311A JPS59105160A (en) 1982-12-07 1982-12-07 Floppy disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57213311A JPS59105160A (en) 1982-12-07 1982-12-07 Floppy disk controller

Publications (1)

Publication Number Publication Date
JPS59105160A true JPS59105160A (en) 1984-06-18

Family

ID=16637030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57213311A Pending JPS59105160A (en) 1982-12-07 1982-12-07 Floppy disk controller

Country Status (1)

Country Link
JP (1) JPS59105160A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6189942U (en) * 1984-11-19 1986-06-11
JPH04148416A (en) * 1990-10-12 1992-05-21 Fujitsu Ltd Control system for operation state of disk device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6189942U (en) * 1984-11-19 1986-06-11
JPH04148416A (en) * 1990-10-12 1992-05-21 Fujitsu Ltd Control system for operation state of disk device

Similar Documents

Publication Publication Date Title
JPS605023B2 (en) memory system
JPS5833575B2 (en) How to recover data automatically
US20050229020A1 (en) Error handling in an embedded system
US5657301A (en) Automatic changer system capable of rewriting a control program for controlling the system
JPS59105160A (en) Floppy disk controller
JPS63279318A (en) Magnetic disk device
JPH0756694A (en) Disk array device
JPS6126971A (en) Disc drive discriminator
JP3031559B2 (en) Method and apparatus for observing execution of a program loaded in information processing system
JP2562473B2 (en) Data writing control method for magnetic tape subsystem
JPS59735A (en) Program maintenance processing system
JPS5822465A (en) Magnetic disk device system
JP2001189060A (en) Magnetic disk device
JPS58203685A (en) Magnetic disk controller
JPS59180811A (en) Ecc control system
JPH0256020A (en) Magnetic disk controller
JPH02173849A (en) Semiconductor memory
JPS60160070A (en) Magnetic disk device
JPH054691B2 (en)
JPH07334312A (en) Disk storage device
JPS61133433A (en) Defective sector alternate processing system in unrewritable data recording medium
JPS60132256A (en) Data securing system of nonvolatile memory
JPS6041126A (en) Apparatus for guaranteeing reception of at least several data from track sector with controller regarded as valid in disc drive system
JPS61269727A (en) Disk type data memory device
JPH04285766A (en) Magnetic tape storage device