JPS584467A - Write control system for error data - Google Patents

Write control system for error data

Info

Publication number
JPS584467A
JPS584467A JP56102990A JP10299081A JPS584467A JP S584467 A JPS584467 A JP S584467A JP 56102990 A JP56102990 A JP 56102990A JP 10299081 A JP10299081 A JP 10299081A JP S584467 A JPS584467 A JP S584467A
Authority
JP
Japan
Prior art keywords
floppy disk
write
diagnostic
floppy
data
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
JP56102990A
Other languages
Japanese (ja)
Other versions
JPS6360411B2 (en
Inventor
Katsuyuki Takigawa
滝川 克幸
Naomichi Nakamura
中村 直道
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.)
Uchida Yoko Co Ltd
Usac Electronic Ind Co Ltd
Original Assignee
Uchida Yoko Co Ltd
Usac Electronic Ind 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 Uchida Yoko Co Ltd, Usac Electronic Ind Co Ltd filed Critical Uchida Yoko Co Ltd
Priority to JP56102990A priority Critical patent/JPS584467A/en
Publication of JPS584467A publication Critical patent/JPS584467A/en
Publication of JPS6360411B2 publication Critical patent/JPS6360411B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To efficiently make debugging of eror processing program of a system with simple restoration, by providing a diagnostic flip-flop for a floppy disc and generating an error to a sector. CONSTITUTION:A floppy control block 7 makes the entire control for a floppy disc device 6. A byte count register 8 is subtracted by -1 every time when one- byte data is processed in making read/write of data to the device 6. When the count value of the register 8 reaches zero, the command of the end of input and output operation is informed to a floppy control block 7. A diagnostic flip-flop 9 is set/reset with the control information of a CPU1. When the flip-flop 9 is set and the content of the register 8 is zero, a write gate signal is reset and the write of data to a floppy disc can be stopped.

Description

【発明の詳細な説明】 本発明は、7ctツピイーデイスクに欠陥のめるデータ
管意識的に書込み得るようにしたエラーφデータ書込み
制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an error φ data write control system that allows data to be intentionally written to correct for defects in a 7ct disk.

第1図は本発明が適用されるシステムの概要を示すもの
でTo−)て、lは中央処理装置、2は主記憶装置、3
はフロッピィ・ディスク制御装置、4は主記憶装置とフ
ロッピィ・ディスク制御装置との間のバス、5は中央処
理装置と70ツピイ・ディスク制御装置との間のバス、
6は7aツピイ・ディスク装置をそれぞれ示している。
FIG. 1 shows an overview of a system to which the present invention is applied, where l is a central processing unit, 2 is a main storage device, and 3 is a main storage device.
is a floppy disk controller; 4 is a bus between the main storage and the floppy disk controller; 5 is a bus between the central processing unit and the 70-ply disk controller;
6 indicates a 7a disk device, respectively.

中央地理装置IFiフロッピィ・ディスク制御装置3に
対してバスsを経由して制御情報を送出し、フロッピィ
・ディスク制御装置3はオペレージ嘗ン忙必要な全ての
制御情報を受取った後、パス4を経由して主記憶装置2
とフロッピィ・ディスク装置6との間のデータ転送を開
始する。フロッピィ−ディスク装置6は、リード・デー
タやステータス情報’170ッピイ・ディスク制御装置
3に送出したLライト・データ中制御信号を受取る。
The central geographical unit IFi sends control information via bus s to the floppy disk controller 3, and after receiving all the control information necessary for operation, the floppy disk controller 3 sends the control information via path 4. Main storage device 2 via
Data transfer between the floppy disk device 6 and the floppy disk device 6 is started. The floppy disk device 6 receives read data and status information '170, and the L write data control signal sent to the floppy disk controller 3.

入出力オベレーシ曹ンが終了するとフロッピィ・ディス
ク制御装置3は終了ステータスを主記憶装置に書込み、
そして中央処理装置lに対して割込み要求音送出する〇 中央処理装置IKはエラー処理用の種々のプログ2ムが
準備されている。エラー処理グafツムが正常に動作す
るか否かtlIべるためには、実際にエラーのあるデー
タを発生させる必要がある。
When the input/output overwriting process is completed, the floppy disk controller 3 writes the completion status to the main memory, and
Then, an interrupt request sound is sent to the central processing unit I. The central processing unit IK is equipped with various programs for error processing. In order to determine whether or not the error handling program operates normally, it is necessary to actually generate data with an error.

従来方式においては、エラー・ブータラ発生されるため
、7誼ツビイ・ディスクに物理的に傷をつける方法が採
用されていたが、不確定要素が多くtエラー処理プログ
ラムの機能確i[を完全に行い得なか−)た。
In the conventional method, a method of physically scratching the disc was adopted to prevent errors from occurring, but there were many uncertainties and it was difficult to completely ensure the functionality of the error handling program. I couldn't do it.

本発明は、上記の考察に基づくものであって。The present invention is based on the above considerations.

フロッピィ・ディスク上の所望のセクタを強制的に不実
とすることが出来るようにしたエラー〇データ書込み制
御方式を提供することを目的としている0そしてそのた
め、本発明のエラー〇データ書込み制御方式Fi、本体
装置と、フロッピィ。ディスク装置と、上記本体系装置
からの指示に基づいて上記フロッピィ・ディスク装置を
制御するフロッピィ−ディスク制御装置とを有するデー
タ処理システムにおいて、上記フ筒ツビイ・ディスク制
御装置に上記本体系装置によって所望の値とされる診断
用フ、リップ・70ツブ管設けると共に上記診断用7リ
ツグ・7!2クプが所定の値Aを有する場合にバイト・
カウンタ・レジスタの内容が零になった時は直ちにライ
ト・ゲート信号をオフするように上記フロッピィ・ディ
スク制御装置を構成し、上記本体系装置に1診断用コマ
ンドが発行されたと′!、上記バイト・カウント−レジ
スタに1セクタ未満の値をセットし、上記診断用クリッ
プ・フロップを所定の値Aとし、Wr定の制御情報を上
記フロッピィ・ディスク制御装置のレジスタにセットし
、ライト・オペレージ嘗ンの開始tS示する!イクロプ
σグラムを用意したことを特徴とするものでめる0以下
1本発明を図面を参照しつつ説明する。
It is an object of the present invention to provide an error data write control method that makes it possible to forcibly make a desired sector on a floppy disk invalid. Main unit and floppy. In a data processing system having a disk device and a floppy disk control device that controls the floppy disk device based on instructions from the main body system, In addition to providing a diagnostic pipe with a lip of 70 and a diameter of 7!2, if the above-mentioned diagnostic pipe has a predetermined value A, a bite
The floppy disk controller is configured to turn off the write gate signal immediately when the contents of the counter register become zero, and a diagnostic command is issued to the main body system. , set the byte count register to a value less than 1 sector, set the diagnostic clip-flop to a predetermined value A, set Wr constant control information to the register of the floppy disk controller, and write. Indicates the start of the operation! DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention, which is characterized in that an Eclop σ-gram is prepared, will be described with reference to the drawings.

第2図は本発明によるフロッピィ・ディスク制御装置の
一実施例のブロック図、第3図は本発明を実施するため
に中央処理装置側に新たに設けられたフpツビイ制御用
ファームウェア管説明する図、#I4図は本発明の詳細
な説明するタイムチャ、−Fである。
FIG. 2 is a block diagram of an embodiment of a floppy disk control device according to the present invention, and FIG. 3 illustrates a firmware tube for controlling a floppy disk newly provided on the central processing unit side in order to implement the present invention. Figure #I4 is a time chart -F for detailed explanation of the present invention.

第2図において、7はフロッピィ制御ブロック、8はバ
イト・カウント・レジスタ、9は診断用7リツプ・フロ
ップ、lOはタグ・デコード回路、11とnはNAND
回路をそれぞれ示している。
In Figure 2, 7 is a floppy control block, 8 is a byte count register, 9 is a diagnostic 7-lip-flop, lO is a tag decode circuit, 11 and n are NAND
Each circuit is shown.

フロッピィ制御ブロック7は7aツピイ・ディスク装置
6に対する全ての制御管行うものでToh。
The floppy control block 7 performs all the controls for the 7a disk drive 6.

バイト−カウント・レジスタ8は、フロッピィ・ディス
ク装置6に対してデータのリード/ライトを行−う場合
、何バイトのデータを処理するかを指定するものでろ9
.1バイトのデータを処理する毎に−1される。バイト
・カウント−レジスタ8の計数値が零になると入出力オ
ペレーシ璽ンの終了指示が70ツピイ制御ブロツク7に
通知される0診断用クリップ・フayプ9は、中央処理
装置1から送出される制御情報によりてセット/リセッ
トされるものである0診断用フリツプーフ薗ツブ9がセ
ットされていると、バイト・カウント・レジスタ8の内
容が零になりた時、ライト・ゲート信号がオフされ、フ
ロッピィ・ディスクへのデータの書込みが停止される0 第3図は本発明を実施するために中央処理装置側に新た
に設けられたフロッピィ制御用ファームウェア管説明す
るための図である0 中央処理装[1から8IO(スター)10命令)を発行
すると、主記憶装置2内の所定のアドレスからCCW(
チャネル・コマンド語)が読出される。このCCWが診
断コiンドの場合には、中央処理装置1は下記のような
制御を行うO←) フロッピィ・ディスク制御装置30
ノ(イト・カウント・レジスタ8に1セクタ未満の値を
セクトする。
The byte count register 8 specifies how many bytes of data to process when reading/writing data to the floppy disk device 6.
.. It is decremented by 1 every time 1 byte of data is processed. When the count value of the byte count register 8 becomes zero, an instruction to end the input/output operation is notified to the 70-pin control block 7. The diagnostic clip file 9 is sent from the central processing unit 1. If the zero diagnostic flippuff switch 9, which is set/reset by control information, is set, when the content of the byte count register 8 becomes zero, the write gate signal is turned off and the floppy・Writing of data to the disk is stopped0 FIG. 3 is a diagram for explaining the floppy control firmware tube newly installed on the central processing unit side in order to implement the present invention0 Central processing unit [ 1 to 8 IO (star) 10 instructions), CCW (
channel command word) is read. If this CCW is a diagnostic command, the central processing unit 1 performs the following control (O←) Floppy disk control device 30
(sects a value less than one sector into the item count register 8.

(ロ) 診断用7リツプー70ツブ9tセツトする。(b) Set 70 tubes and 9 tons for diagnosis.

(ハ) 7aツビイ・ディスク制御装置3内のレジスタ
に制御情報tセットスル。
(c) 7a Set the control information to the register in the disk controller 3.

に) フロッピィ拳ディスク制御装置3に対して入出力
オベレーシ璽ンの開始を指示する。
) Instructs the floppy disk controller 3 to start input/output overwriting.

第4図は本発明のライト動作を説明するタイムチャート
である。第4図において、ID1t竜タタ番号%CRC
はサイクリック・リダンダンシー・チェック・コード、
GAPはギャップ、DATAはデータをそれぞれ示して
bる。
FIG. 4 is a time chart explaining the write operation of the present invention. In Figure 4, ID1t Ryu Tata number %CRC
is the cyclic redundancy check code,
GAP indicates a gap, and DATA indicates data.

通常のライト時は診断用7リツプ・70ツグ9はリセッ
トされている■フロッピィ−ディスク制御装置3は、オ
ペレージ曹ンを指示されると、セクタをサーチし、所望
のセクタが見付かると、ライト・ゲート信号tオンとす
る。ライト−ゲート信号がオンされると%70ツビイ・
ディスクにデータが書込まれる0診断用7リツプ・フロ
ッグ9がリセットされている場合には、バイト・カウン
ト・レジスタ8が零になっても、ライト−ゲート信号が
オフされず、残りのデータ部にオールrOJが書込まれ
、続いてCRCが書込まれ、シを為る後にライト畳ゲー
ト信号がオフされるO 診断用フリップ・フロップ9がセットされている場合に
は、バイト・カウント・レジスタ8の内容が零になりた
場合には、直ちにライト−ゲート信号がオフされる。し
たがって残りのデータ部およびこれに絖<CRCは以前
の状態を保ち、正しいCRCが書込まれない。この後、
このセクタをリードすれは、確実にリード・エラーとな
るOまた、不良としたセクタを元の正常セクタに戻すた
めには1通常のライト動作を行えば喪い0以上の説明か
ら明らかなように1本発明によれば、目的とするセクタ
に確実にエラー管発生させることが出来、また、そのセ
クタの回復も簡単に行うことが出来る。このような機能
を利用すれば。
During normal writing, the diagnostic 7lip and 70g 9 are reset. When the floppy disk controller 3 is instructed to perform an operation, it searches for a sector, and when the desired sector is found, it starts writing. The gate signal t is turned on. When the write-gate signal is turned on, the %70
If the diagnostic 7-lip frog 9, in which data is written to the disk, has been reset, the write-gate signal will not be turned off even if the byte count register 8 becomes zero, and the remaining data will be All rOJs are written to OJ, followed by a CRC, and the write flag gate signal is turned off after the OJ is set. If the content of 8 becomes zero, the write-gate signal is immediately turned off. Therefore, the remaining data section and its CRC remain in their previous state, and the correct CRC is not written. After this,
Reading this sector will definitely result in a read error.In addition, in order to return the defective sector to its original normal state, it is necessary to perform a normal write operation. According to the present invention, an error pipe can be reliably generated in a target sector, and the sector can be easily recovered. If you use a function like this.

システムのエラー処現プログラムのデノ(ツクを効率的
に行うことが出来るO
An O that can efficiently decode system error handling programs.

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

第1図は本発明が適用されるシステムの概1!會説明す
る図、第2図は本発明によ基70ツビイ・ディスク制御
装置の一実施例のブロック図、第3図は本実明管実施す
るために中央処理装置側に新たに設けられた)μツビイ
制御用ファームウェアを説明する図、落4図は本発明の
動作tI!明するタイムチャートでTohO 1・・・中央処理装置、2・・・主記憶装置%3・・・
フロッピィ・ディスク制御装置、4・・・主記憶装置と
フロッピィ・ディスク制御装置との間のノ(ス、5・・
・中央処理装置とフロッピィeディスク制御装置との間
のパス、6・・・70ツビイ・ディスク装置−7・・・
フロッピィ制御ブロック、8・・・)くイト・カウント
・レジスタ、9・・・診断用フリップ・フロップ11O
・・・タグ・デコード回路、 11と■・・・NAND
回4特許出顧人  ユーザツク電子工業株式会社ガ1兄
代理人弁理士 京 谷 四 部外1名
Figure 1 shows an overview of a system to which the present invention is applied! 2 is a block diagram of an embodiment of the 70-tube disk control device according to the present invention, and FIG. 3 is a block diagram of an embodiment of the 70-tube disk control device according to the present invention. ) The figure explaining the μTubi control firmware, Figure 4 is the operation of the present invention! TohO 1...Central processing unit, 2...Main memory %3...
Floppy disk control device, 4... A node between the main storage device and the floppy disk control device, 5...
・Path between the central processing unit and the floppy e-disk control device, 6...70 tubi disk device-7...
Floppy control block, 8...) write count register, 9... diagnostic flip-flop 11O
...Tag decoding circuit, 11 and ■...NAND
4th Patent Consultant: Usatsuk Electronics Industry Co., Ltd. Representative Patent Attorney: 4th Kyotani 1 outsider

Claims (1)

【特許請求の範囲】 本体系装置と、フロッピィ1デイスク装置と。 上記本体系装置からの指示は基づいて上記フロッピィ令
ディスク装置を制御するフロッピィのディスク制御装置
とを有するデータ処理システムにおいて、上記フロッピ
ィ・ディスク制御装置に上記本体系装置によりて所望の
値とされる診断用7リツプ・70ツブを設けると共に上
記診断用7リツプ・7aツブが所定の値At−有する場
合にバイト中カウント・レジスタの内容が零になりた時
は直ちにライト・ゲート信号をオフするように上記フロ
ッピィ・ディスク制御装置を構成し、上記本体系装置に
1診断用コマンドが発行され友とき、上記バイト・カウ
ント−レジスタに1セクタ未満の値をセットし、上記診
断用7リツプ・フロップ會所定の値Aとし、所定の制御
情報を上記フロッピィ中ディスク制御装置のレジスタに
セットし、ライト・オペレージ冒ンの開始を指示するマ
イクロブ四グラムを用意したこと1−特徴とするエラー
・データ書込み制御方式。
[Claims] A main body system device and a floppy disk device. In a data processing system having a floppy disk control device that controls the floppy disk device based on instructions from the main body system device, a desired value is set in the floppy disk control device by the main body system device. In addition to providing the diagnostic 7-lip and 70-tub, when the diagnostic 7-lip and 7a-tub have a predetermined value At-, the write gate signal is immediately turned off when the contents of the byte count register become zero. When a diagnostic command is issued to the main unit, the byte count register is set to a value less than 1 sector, and the 7-lip-flop circuit for diagnosis is configured. Setting a predetermined value A, predetermined control information in the register of the floppy disk control device, and preparing a micro-gram for instructing the start of a write operation 1-Characteristic error data write control method.
JP56102990A 1981-06-30 1981-06-30 Write control system for error data Granted JPS584467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56102990A JPS584467A (en) 1981-06-30 1981-06-30 Write control system for error data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56102990A JPS584467A (en) 1981-06-30 1981-06-30 Write control system for error data

Publications (2)

Publication Number Publication Date
JPS584467A true JPS584467A (en) 1983-01-11
JPS6360411B2 JPS6360411B2 (en) 1988-11-24

Family

ID=14342135

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56102990A Granted JPS584467A (en) 1981-06-30 1981-06-30 Write control system for error data

Country Status (1)

Country Link
JP (1) JPS584467A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4926217A (en) * 1986-08-11 1990-05-15 Xerox Corporation Particle transport

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4926217A (en) * 1986-08-11 1990-05-15 Xerox Corporation Particle transport

Also Published As

Publication number Publication date
JPS6360411B2 (en) 1988-11-24

Similar Documents

Publication Publication Date Title
US5038275A (en) Status transfer structure within a data processing system with status read indication
US5072368A (en) Immediate duplication of I/O requests on a record by record basis by a computer operating system
JPS584467A (en) Write control system for error data
CA1114517A (en) Data processing system with read operation splitting
JPS5856165A (en) Record update system
EP0503092A1 (en) System for controlling issue of input/output instruction in data processing system
JPS61156340A (en) Trouble recorder
JPS6349246B2 (en)
JPH0793101A (en) Data backup device
JP3130798B2 (en) Bus transfer device
JPS62250563A (en) Magnetic disk storage device
JPS5935455B2 (en) Seigiyo Souchi
JPS6125259A (en) Rewriting control system of memory
JP2524620B2 (en) Input / output control method
JPS6050672A (en) Read control system of rotary memory
JPS6029843A (en) Microprogram controller
JPH039433A (en) Information processor
EP0363087A2 (en) Status transfer within a data processing system
JPS6043549B2 (en) Data transfer control method
JPS59206963A (en) Input-output controlling system
JPS6024658A (en) Initializing method of buffer memory
JPS5873009A (en) Magnetic tape controlling system
JPS6159696A (en) System for repairing control memory
JPS5880757A (en) Data transfer controlling method
JPS6218068B2 (en)