System and method for using a floppy disk controller for various types of floppy disk drives

Abstract: A magnetic recording/reproduction includes a first floppy disk drive (FDD) (50) of a preerase head type, which includes a first read/write (R/W) section (32, 34), and a second FDD (52) of a tunnel erase head type, which includes a second R/W section (32, 34). A selec­ tion signal generating section (19) selectively outputs first and second selection signals generated in accord­ ance with a write command for said first and second FDD (50, 52). A mode signal supplying section outputs a mode signal generated in accordance with the write com­ mand to a write gate (WG) signal generating section. A sync signal generating section generates a sync signal from a read data (RD) signal from the first or second R/W section (32, 34) and sends it to the R/W signal generating section (12 to 18). In response to the sync signal, the WG signal generating section (12 to 18) generates a first WG signal for the first FDD (50) and a second WG signal for the second FDD (52) and selectively outputs one of the first and second WG signals to the first and second FDDs (50, 52) in accordance with the mode signal received from the mode signal supplying sec­ tion (2). In accordance with the received WG signal and the first and second selection signals, the first and second FDDs (50, 52) records record data corresponding to an incoming write data (WD) signal on a disk, reads out the recorded data from the disk and generates first and second RD signals corresponding to the read record data as the RD signal.

Description: The present invention relates to a method of sharing various types of medium drives and a recording/reproduction apparatus including a medium controller for realizing the method. For example, in a magnetic recording/reproduction apparatus including a floppy disk drive (FDD), the same recording medium must be able to be used in different floppy disk drives, and, an accurate data-access must be achieved. A plurality of concentric tracks for recording data are formed on a recording medium. Fig. 1 illustrates the format of each track; each sector has an identification (ID) field and a data field. For example, in the MFM recording, the ID field is separated from the data field by GAP2 field in which 22 bytes of data (4E) H are written. The ID field includes a SYNC subfield in which data (00) H is written and an ID subfield in which an identification code is written. The data field includes a SYNC subfield in which data (00) H is written and a data subfield in which recording data is written. The adjacent sectors are separated from each other by GAP3 field. Assume that data are recorded on a each track of the medium, fully across the track. If the recording medium is set slightly eccentrically to the drive, or the recording medium is warping, the head of the drive would be a little off the track. In this case, portion of the head is located above the adjacent track, and the head will inevitably read the recorded data from not only the target track but also the adjacent track. In order to avoid that the disk drive reads the recorded data from the tracks adjacent to the target track, a gap is provided between tracks to make the track width narrower than the track pitch. To provide the gap, the conventional floppy disk drive is provided with a tunnel erase head or a straddle head. The head records data on each track, and, at the same time, erases the recorded data from either side of the target track by a predetermine width. The typical straddle head comprises a read/write (R/W) core having a R/W gap and erase cores each located on either side of the R/W gap, having an erase gap being provided between the R/W core and erase core. At the same time a data signal is supplied to a R/W coil wound around the R/W core for data writing, an erase signal is supplied to an erase coil wound around each erase core to, thereby erase the data signals recorded on both side portions of the target track by a predetermined width. However, since the R/W gap and erase gap are located very close to each other, the output of the straddle head has a low S/N ratio. Because of the low S/N ratio, the straddle head is not usually in a floppy disk drive; rather, the tunnel erase head type drive is typically used in the conventional floppy disk drive. As shown in Fig. 2, a tunnel erase head comprises R/W head 106 having a R/W core having a R/W gap 116 and a coil wound around the core, and an erase head 108 disposed backward regarding to R/W head 106. Erase head 108 has two gaps 118 aligned with the ends of R/W gap 116. A data signal is supplied to the R/W coil wound round the R/W core, while an erase signal is supplied to the erase coil wound around the erase core. Therefore, following the recording of data signals on the recording medium, the data signals recorded on both side portions of the target track are erased. According to the tunnel erase head type FDD, erase gaps 118 is located backword regording to R/W gap 116 by distance X T . Hence, in order to accurately erase the data signals recorded on both sides of the target track from the position where the signal recording on the track has started to the position where the signal recording is ended, the supply of the erase signal to the erase coil must be delayed by time Δ T TON from the start of the data recording and stopping the supply of the erase signal must be delayed by time Δ T TOFF from the end of the recording thereof. The following relationship is given Δ T TON = Δ T TOFF = X T /V T = Δ T T where V T is the linear velocity at which the recording medium moves relative to the tunnel erase head. In recording data on a recording medium, a host computer supplies the floppy disk controller (FDC) with a timing signal representing the record-starting time and the record-ending time. The timing signal is supplied to a control circuit provided within the FDC. The control circuit outputs write gate signal WG and erase gate signal EG to the FDD. In the FDD, signal WG will be used to supply a write data signal WD to the R/W coil. Signal EG is delayed by time Δ T T from the signal WG. In this case, the recording medium is rotated at a constant speed, and hence, linear velocity V T of the recording medium relating to the magnetic head varies depending on the tracks. Therefore, it is desired that time Δ T T be changed whenever the head moves from one track to another. Generally, however, time Δ T TON is determined such that the tunnel erase head can entirely erase the data recorded on the track on both sides from a start position where recording of the data is started even when the head is positioned at the outermost track where linear velocity V T is the maximum. The time Δ T TOFF is determined such that the tunnel erase head can assuredly erase the data recorded on the track on both sides to a end position where recording of the data is ended even when the head is positioned at the innermost track of the recording medium where the linear velocity V T is the minimum. More specifically, these times are set as follows: Δ T TON ≦ X T /Vin Δ T TOFF ≦ X T /Vout where Vout is the relative linear velocity of the head positioned at the outermost track and Vin is the relative linear velocity of the head positioned at the innermost track. In this case, the closer to the innermost track the head position is, the more over-erased areas exist on both sides at the beginning portion. On the other hand, the closer to the outermost track the head position is, the more over-erased areas exist on both sides at the end portion. Each track is divided into sectors each including so-called "gap regions" preceding and following the data filed as shown in Fig. 1. Gap regions are provided for protecting the data against a fluctuation of the data field, which may happen due to a dimensional error of the floppy disk drive or change in rotational speed of the recording medium. Hexadecimal data FF in FM recording or data 4e in MFM recording is written in these gap field. Since the over-erased areas produced preceding and following the data field fall within these gap fields, there will be no problems. It is demanded that a floppy disk drive should record data on a recording medium in a high density. As is disclosed in, for example, Toshiba Review, No. 154, Winter 1985, 18-22 pp, a perpendicular recording floppy disk has been developed, which comprises barium ferrite layer, as a magnetic material, coated on a base film, and has a 4MB receding capacity. The more data is recorded on a track, or the higher the recording density is, the shorter wavelength the data signals must have. To accurately read signals of short wavelengths, the width of the read gap must have a narrower. In most floppy disk drives, the read gap is used also as the write gap so that the write gap inevitably becomes narrower. The narrower the write gap, the smaller the magnetization region defined by the magnetic flux generated in the gap. The depth of the magnetization region can be magnetized is said to be about the same as the length of the write gap. Therefore, in order to erase signals completely from a track by overwriting new data on the same track, it is required that the thickness of the magnetic layer be about a quarter of the wavelength of a data signal. This is explained in "The Reproduction Of Magnetically Recorded Signals" written by Wallace, Jr, Bell System Technology Journal, Vol. 30, No. 4, 1951. For instance, with the recording density, of 35 KBPI, the read/write gap length must be set at about 0.5 um in consideration of gap loss, and thus the magnetic layer must have a thickness of about 0.5 um or less. It is difficult, however, to uniformly coat the magnetic material on the base film of the recording medium. Consequently, signal recording is effected only on the surface portion of the magnetic layer, and even after new data have been overwritten on the previously recorded data, the previously written data are left unerased. This undesired phenomenon also takes place when the magnetic layer is made of a magnetic material having a high coercive force. In order to prevent this phenomenon, a preerase head has been developed as already shown in Toshiba Review cited above. As illustrated in Fig. 2, the preerase head comprises a R/W Read 104 having a R/W gap 114 and a preerase head 102 provided upstream of the R/W head 104 with respect to the direction of movement of a recording medium. Preerase head 102 has an erase gap 112, which faces read/write gap 114 and is longer and wider than R/W gap 114. According to the preerase type FDD, data signals are recorded on the target track in the following manner. First, an erase signal is supplied to an erase coil wound around an erase core, and the track area is widely erased to the deep area of the magnetic layer of the recording medium by erase gap 112 reaching the recording position on the recording medium, preceding R/W gap 114. As a result, new data are recorded in the data field from which the previously-recorded data have been completely erased, by R/W gap 114 which reaches this data field following the erase gap 112. Even with a disk having a high recording density in use, therefore, the overwrite characteristic is not be deteriorated. An example of a magnetic recording/reproduction apparatus utilizing the wide preerase type FDD is disclosed in US-A-4 806 046. In this example, a write gate signal (WG), an erase gate signal (EG) and a write data signal (WD) are sent to the preerase head type FDD from a FDC. According to the aforementioned tunnel erase type FDD, by comparison, only the write gate signal and write data signal are sent to the FDD from the FDC; an erase signal corresponding to the erase gate signal is produced in this FDD in accordance with the received write gate signal. The phase relationship between the write gate signal and the erase gate signal in the preerase type FDD is opposite to the phase relationship involved in the tunnel erase type FDD. Naturally, the erase gate signal cannot be produced from the write gate signal in the preerase type FDD. If data recording in the wide preerase type FDD is done using the same write gate signal as used in the tunnel erase type, the following problem would occur. There would be an unerased area produced in the SYNC subfield of the data field, which continues for time Δ Tp(=Xp/Vp), where Vp is the relative speed of the head with respect to the disk and Xp is the distance between R/W gap 114 and erase gap 112. In addition, the gap field GAP3 in Fig. 1 will have an unerased area. Particularly, since the content of the SYNC subfield is used as a sync signal in data reproduction, if the SYNC subfield has a deteriorated overwrite characteristic due to having the unerased area, the S/N ratio of a reproduction signal from the unerased area in the data reproduction as well as the tracking characteristic of a PLL circuit on the basis of the reproduction signal from the magnetic head are deteriorated. Because of the above problems, a FDC for the tunnel erase type FDD could not be used for the preerase type FDD. In this respect, therefore, it was necessary to provide two separate FDCs to commonly use the tunnel erase type FDD and the preerase type FDD. Although Toshiba Review cited above mentions the use of different disks in combination with a same floppy disk controller it does not refer to these erasure problems. It is therefore an object of this invention to provide a magnetic recording/reproduction apparatus which can use various types of floppy disk drives. A system and a method according to the invention are defined in claim 1 and claim 8. As described above, according to this invention, it is possible to produce a write gate signal with the proper timing for each of a mode for using a tunnel erase type magnetic head and a mode for using a wide preerase type magnetic head. In recording data on a high recording density disk using the wide preerase type magnetic head, therefore, it is possible to prevent the overwrite characteristic, particularly, of a sync field of the disk from being deteriorated. This can ensure that the wide preerase type magnetic head performs an assured recording operation on the high recording density disk. Consequently, a single FDC can be shared by the tunnel erase type FDD and the wide preerase type FDD to assuredly initiate in the data read/write operation. This invention can be more fully understood from the following detailed description when taken in conjunction with the accompanying drawings, in which: Fig. 1 is a diagram illustrating the data recording format on a track; Fig. 2 is a diagram illustrating the positional relationship between the recording format and a preerase head and a tunnel erase head; Fig. 3 is a block diagram illustrating the structure of a magnetic recording/reproduction apparatus according to a first embodiment of this invention; Figs. 4A to 4C are timing charts for using a tunnel erase head type FDD; Figs. 5A to 5C are timing charts for using a preerase head type FDD; Fig. 5D is a timing chart illustrating an erase signal used in a magnetic recording/reproduction apparatus according to a second embodiment of this invention; Figs. 6A and 6B and Figs. 7A and 7B are diagrams for explaining the operation of the magnetic recording/reproduction apparatuses according to the first and second embodiments; Fig. 8 is a diagram illustrating an arrangement for sharing a single FDC for the preerase head type FDD and the tunnel erase head type FDD; Fig. 9 is a block diagram illustrating the structure of the magnetic recording/reproduction apparatus according to the second embodiment; and Fig. 10 is a flowchart for explaining the operation of the first embodiment. Preferred embodiments of a recording/reproduction apparatus of this invention will now be explained in detail in conjunction with the accompanying drawings. To begin with, referring to Figs. 3 and 8, the structure of the first embodiment according to the recording/reproduction apparatus of the present invention will be explained below. The recording/reproduction apparatus, for example, a magnetic recording/reproduction apparatus comprises CPU 2, floppy disk controller (FDC) 4, and floppy disk drive 50 or 52. CPU 2 controls the operation of FDC 4 and outputs mode signal M, and drive select signal SEL, and write data to FDC 4 in accordance with a write command to be executed. FDC 4 has controller 11 which detects the ID code in the ID subfield shown in Fig. 1 from input read data and generates signal S in accordance with a detecting result. Controller 11 also outputs the read data to CPU 2 and inputs write data from CPU 2. Timer 12 generates trigger pulses TR1 and TR2 in accordance with signal S from controller 11 and clock CLK. Pulse TR2 is generated when a floppy disk rotates by an amount corresponding to 22 bytes after signal S is input from controller 11, while pulse TR1 is generated when the disk rotates by an amount corresponding to 3 bytes. Signal generators 14 and 16 respectively generate write gate signals WG2 and WG1 in accordance with trigger pulses TR2 and TR1 from timer 12 and send the write gate signals to selector 18. Selector 18 selectively outputs one of received signals WG1 and WG2 as a write gate signal WG to FDD 50/52 in accordance with signal M from CPU 2. Timing controller 20 generates data output instruction signal OI1 in accordance with signal WG1, signal M, and clock CLK. Controller 20 is preset with a time value corresponding to 19 bytes for 1/2 M bytes mode and 38 bytes for 4 M bytes mode, and the time value is decremented each time signal OI1 is generated. When signal WG1 is selected by selector 18 in accordance with signal M, controller 20 generates signal OI1 in response to clock CLK if the decremented time value is not "0." Data shift register 26 is preset in advance with data "4E" H and outputs the data "4E" H bit by bit as write data signal WD to FDD 50/52 in accordance with signal OI1 from controller 20. After outputting signal OI1 to shift register 26 so that the register 26 outputs 19 bytes of write data in succession, controller 20 outputs an output enable signal OE1 to timing controller 22 and is then reset. Timing controller 22 generates data output instruction signal OI2 in accordance with signal M, signal WG2, clock CLK, and output enable signal OE1. When selector 18 selects signal WG2 in response to signal M, controller 22 is controlled by the signal WG2. When selector 18 selects signal WG1 in response to signal M, on the other hand, controller 22 is controlled by signal OE1. This controller 22 is preset with a time value corresponding to 12 bytes, generates signal OI2 upon reception of each clock CLK, and the time value is decremented in response to each clock CLK. Data shift register 28 is preset in advance with data "00" H , and sends the data "00" bit by bit as write data signal WD to FDD 50/52 in accordance with signal OI2 from controller 22. After outputting signal OI2 to cause shift register 28 to output write data for 12 bytes, controller 22 sends output enable signal OE2 to data converter 24 and is then reset. Data converter 24 outputs the write data from CPU 2 bit by bit, as signal WD, to FDD 50/52 in accordance with clock CLK and output enable signal OE2 output from controller 22. Decoder 19 decodes signal SEL from CPU 2 and generates signal DS1 or DS2 to designate either FDD 50 or 52 to be accessed. Discriminator 30 produces read data from read data signal RD output from FDD 50 or 52 and sends read data RD to controller 11. Fig. 3 illustrates two FDDs, namely, preerase head type FDD 50 and tunnel erase head type FDD 52 for diagrammatical simplicity. The tunnel erase head type FDD 52 comprises driver 32, read/write (R/W) head 34, timer/driver 36 and erase head 38, while the preerase head type FDD 50 comprises driver 32, R/W head 34, a driver 40 and erase head 38. In preerase head type FDD 50, driver 32 outputs signal WD to head 34 in accordance with signal WG upon reception of signal DS1 to cause the head to write data on the disk. At this time, timer/driver 36 is also supplied with signal DS2 and signal WG, and generates erase signal E having a phase delay of Δ T T from signal WG and outputs it to head 38. The operation of the above embodiment will now be explained referring to Figs. 4A to 7B, and Fig. 10. FDDs currently coupled to CPU 2 are registered in CPU 2. With reference to one of such FDDs at a time, the execution of a write command by CPU 2 for write access will now be explained. To begin with, accessing to preerase head type FDD will be explained below. When CPU 2 executes a write command is step S2 of Fig. 10, mode signal M is supplied to selector 18 and controller 22 and signal SEL is supplied to decoder 19 is step S4. Decoder 19 generates signal DS1 and sends it to FDD 50, rendering FDD 50 to be accessible. Then, head 34 reads out an ID code from the ID subfield as shown in Fig. 1 and sends the readout ID code to controller 11 through discriminator 30 in step S6. When controller 11 acknowledges the reading of the ID code from the ID subfield, it outputs signal S to timer 12 in step S8. In response to signal S, timer 12 counts clock CLK and sends trigger pulse TR1 to signal generator 16 after counting the clocks for 3 bytes. In response to pulse TR1, generator 16 generates write gate signal WG1 and sends it to selector 18 and controller 20. Selector 18 selects signal WG1 in accordance with signal M and sends it to FDD 50 as signal WG at timing E as shown in Fig. 5A. At this time, gap 60 of erase head 38 is positioned at the beginning of the SYNC subfield of the data field as shown in Fig. 6A, while gap 62 of R/W head 34 is positioned downstream of the beginning of the SYNC subfield. In FDD 50, driver 40 generates erase signal E in accordance with signal WG at the same timing as the signal WG, as shown in Fig. 5B, so that already-recorded data is erased from the SYNC subfield. At the same time, upon reception of signal WG1, controller 20 sends signal OI1 to register 26 in response to clock CLK. Register 26 sequentially outputs bit data corresponding to "4E" H as signal WD to FDD 50 at the timing E as shown in Fig. 5C, in response to signal OI1. As a result, write data is written on the disk through driver 32 and head 34. That is, since gap 62 of R/W head 34 lies on GAP2 field at the timing when signal WG becomes active, 19-byte data "4E" H needs to be written on GAP2. When the beginning of the SYNC subfield reaches gap 62 of R/W head 34, i.e., at the timing F when writing of 19 bytes of data "4E" H is completed, controller 20 sends signal OE1 to controller 22. At this time, timer 12 outputs trigger pulse TR2 to generator 14 when counting the clocks for 22 bytes. In response to pulse TR2, generator 14 generates write gate signal WG2 and sends it to selector 18. However, selector 18 does not select signal WG2. When signal WG1 is selected in accordance with signal M, controller 22 outputs signal OI2 to register 28 upon reception of clock CLK in response to signal OE1. Register 28 sequentially outputs bit data corresponding to data "00" H for 12 bytes as signal WD to FDD 50 in response to signal OI2, as shown in Fig. 5C. Consequently, write data is written on the disk as bit data of the SYNC subfield through driver 32 and head 34. When gap 62 of R/W head 34 reaches the data subfield, i.e., at the timing G when writing of 1 byte of data "00" H is completed as shown in Fig. 5C, controller 22 sends signal OE2 to converter 24. Upon reception of this signal OE2, converter 24 outputs the write data from CPU 2 via controller 11 as bit data signal WD to FDD 50 in response to clock CLK. Consequently, the write data is written on the disk as data of the data subfield through driver 32 and head 34. When the write data is thereafter written and gap 62 of head 38 reaches GAP3 at the timing I, signal WG becomes inactive. This also renders signal E inactive, thus completing the erase operation. Since gap 60 of erase head 38 is in GAP3 field at this time, however, an area simply erased remains in GAP3. This completes the write operation for one sector with respect to preerase head type FDD 50. The access operation to tunnel erase head type FDD 52 will now be explained. When CPU 2 executes a write command in step S2 of Fig. 10, mode signal M is supplied to selector 18 and controller 22 and signal SEL is supplied to decoder 19 in step S4. Decoder 19 generates signal DS2 and sends it to FDD 52, rendering the FDD 52 to be accessible. Then, head 34 reads ID Code from the ID subfield as shown in Fig. 1 and sends the data to controller 11 through discriminator 30. When controller 11 acknowledges the reading of the ID Code from the ID subfield, it outputs signal S to timer 12. In response to signal S, timer 12 counts clock CLK and sends trigger pulse TR1 to signal generator 16 after counting the clocks for 3 bytes. In response to pulse TR1, generator 16 generates write gate signal WG1 and sends it to selector 18 and controller 20. However, selector 18 does not select signal WG1 in accordance with signal M, nor does controller 20 generate signal 0I1 in accordance with signal M even upon reception of signal WG1. After counting the clocks for 22 bytes, timer 12 sends trigger pulse TR2 to generator 14. In response to pulse TR2, generator 14 generates write gate signal WG2 and sends it to selector 18. Selector 18 selects signal WG2 in accordance with signal M and sends it to FDD 52 as signal WG at timing A as shown in Fig. 4A. At this time, gap 64 of R/W head 34 is positioned at the beginning of the SYNC subfield of the data field as shown in Fig. 7A, while gaps 66 of erase head 38 are positioned in GAP2 field. In FDD 52, timer/driver 36 generates erase signal E in accordance with signal WG with a time delay of Δ T T from signal WG as shown in Fig. 4B, so that currently-recorded data is erased at the both sides from the SYNC subfield of the disk. As signal WG2 is selected by selector 18 in accordance with signal M, controller 22 outputs signal OI2 to register 28 in response to signal WG2 each time clock CLK is received. Register 28 sequentially outputs bit data corresponding to data "00" H for 12 bytes as signal WD to FDD 52 in response to signal OI2 at timing A, as shown in Fig. 4C. Consequently, write data is written on the disk through driver 32 and head 34. That is, gap 64 of R/W head 34 starts writing data in the data field at timing A when signal WG becomes active. When gap 64 of head 34 reaches the data subfield, i.e., at the timing B where writing of 12 bytes of data "00" H is completed as shown in Fig. 4C, controller 22 sends signal OE2 to converter 24. Upon reception of this signal OE2, converter 24 outputs the write data from CPU 2 via controller 11 as bit data signal WD to FDD 52 in response to clock CLK. Consequently, the write data is written on the disk as data of the data subfield through driver 32 and head 34. When the write data is thereafter written and gap 64 of head 34 reaches GAP3 field the timing C, signal WG becomes inactive, thus completing the writing operation of the write data. When the beginning of the SYNC subfield reaches erase gaps 66, erasing of both side portions of the data field starts by signal E. When signal WG becomes inactive, signal E also becomes inactive with a time delay of Δ T T , thus completing the erase operation. At this time, gaps 66 of head 38 are at the beginning of GAP3 filed, which means that the erasing operation for the data field is completely executed. This completes the write operation for one sector with respect to tunnel erase head type FDD 52. In the first embodiment, signals M and SEL is directly output from CPU 2 to selector 18 and decoder 19, respectively. However, these signals may be output via controller 11. Referring now to Fig. 9, the structure of the second embodiment will be explained. As the second embodiment slightly differs from the first embodiment, only the differences will be explained below. Unlike the first embodiment, when executing a write command, CPU 2 does not output signal M, but outputs drive select signal SEL and write data to FDC 4. In FDC 4, timer 12 receives signal S from controller 11 via discriminator 30 and selector 18 receives one of mode signals M1 or M2 from mode setter 42 of FDDs 50' or 52 as signal M. Timing controller 20' does not receive signal M and generates data output instruction signal OI1 in accordance with signal WG1 and clock CLK. Data shift register 26' is supplied with signal M from mode setter 42, which signal is used to determine whether or not shift register 26' should output data "4E" bit by bit as write data signal WD in accordance with signal OI1. Timing controller 22' does not also receive signal M, and therefore generates signal OI2 in accordance with signal OE1 sent from controller 20'. Discriminator 30 produces read data from a read data signal read by head 34 and sends the data to controller 11. When controller 11 detects the end of data of the ID subfield, it outputs signal S to timer 12. In FDD 50', timer/driver 40' is used for driver 40. Driver 40' generates signal E as shown in Fig. 5D in accordance with signal WG; signal E becomes inactive Δ T T earlier than signal WG. Each FDD 50' or 52 has mode setter 42, which is set in advance depending on the type of a FDD to be used and outputs signals M1 and M2 to FDC 4 in accordance with signals DS1 and DS2. The following will explain the operation of the second embodiment. Since the basic operation is the same as that of the first embodiment, only the differences will be explained. To begin with, the explanation is given with regard to preerase head type FDD 50'. When CPU 2 executes a write command, signal SEL is output to decoder 19 and selector 25. As a result, signal M1 from FDD 50' is selected and sent as signal M to selector 18 and register 26'. Then, head 34 reads data from the ID field as shown in Fig. 1, and controller 11 outputs signal S to timer 12 when it discriminates that the data is the ID code. Upon reception of signal OI1 generated from controller 20' in accordance with signal WG1, register 26' outputs bit data of "4E" H as signal WD in response to clock CLK because FDD 50' is selected. The subsequent operation is the same as is done in the first embodiment. Although signal E becomes active in accordance with signal WG at the same time as the signal WG, the signal E is rendered inactive by a timer provided in timer/driver 40' prior to time Δ Tp at which signal WG becomes inactive. Accordingly, it is the entire data field which is to be erased by erase gap 60, leaving GAP3 field unerased. This completes the write operation for one sector with respect to preerase head type FDD 50'. The accessing to tunnel erase head type FDD 52 will now be explained. When CPU 2 executes a write command, signal M2 from FDD 52 is selected as signal M in accordance with signal SEL and is output to selector 18 and register 26'. Then, head 34 reads data from the ID field and sends it through discriminator 30 to controller 11. When controller 11 acknowledges that the data is the ID code written in the ID subfield, it sends signal S to timer 12. When timer 12 counts the clocks for 3 bytes, controller 20' generates signal OI1 in response to signal WG1 from generator 16. Since signal WG2 has been selected by selector 18 in accordance with signal M, however, register 26' does not output data "4E" as signal WD. When R/W gap 64 reaches the SYNC subfield, controller 20′ sends signal OE1 to controller 22′. Controller 22′ generates signal OI2 in accordance with signal WG2 and sends it to register 28. The subsequent operation is the same as is done in the first embodiment. In this manner, the write operation for one sector with respect to tunnel erase head type FDD 52 is completed.

Claims: A system comprising a floppy disk controller connecting a processor with a first type of floppy disk drive (50) comprising a preerasure head provided upstream of a read/write head (60) and at least across the whole track, and with a second type of floppy disk drive (52) comprising a tunnel erasing head (66) provided downstream of a read/write head and erasing recorded data from either side of the track, characterized in that said controller comprises: means for receiving a mode signal M, means (19) for outputting a first (DS1) or second (DS2) selection signal to the floppy disks drives (50, 52) in response to a selection signal SEL being input by the processor when a write command is to be executed by a respective floppy disk drive, write gate signal generating means (12-18) for generating a first (WG1) and second (WG2) write gate signal having different phases in response to a same sync signal S, means (18) for outputting a write gate signal WG selected from said write gate signals WG1, WG2 to the floppy disk drives in accordance with said mode signal M, means (20-28) for preparing control data and data received from the processor in synchronism with a respective write gate signal WG1, WG2 and in accordance with said mode signal M and outputting a write data signal WD to be written, and means for generating an erase signal (E), in the floppy disk drive of the first type, the start being coincident with the start of the write gate signal and the end being coincident with the end of the write gate signal or earlier (Fig. 5B and D), and in the floppy disk drive of the second type both the start and the end being delayed with regard to the start and the end of the write gate signal (Fig. 4B). The apparatus according to claim 1, characterized in that said write gate signal generating means (12 to 18) comprises: timer means (12) for generating first and second trigger signals in response to a sync signal (S); first WG signal generating means (16) for generating said write gate signal WG1 in accordance with said first trigger signal from said timer means (12); second WG signal generating means (14) for generating said write gate signal WG2 in accordance with said second trigger signal from said timer means (12); and selection means (18) for selectively outputting one of said write gate signal WG1 from said first WG signal generating means and said write gate signal WG2 from said second WG signal generating means to said floppy disk drives (50, 52) in accordance with said mode signal. The apparatus according to claim 1 or 2, characterized by further comprising: write data signal generating means (20 to 28; 20' to 28) responsive to said write gate signals WG1 and WG2 from said write gate signal generating means and said mode signal, for selectively generating a first write data signal to output said generated first write data to said floppy disk drive (50) of the first type, for selectively generating a second write data signal to output said generated write data signal to said floppy disk drives (50, 52), and for selectively generating a third write data signal from write data input thereto to output said generated third write data signal to said floppy disk drives (50, 52), said second write data signal being generated following generation of said first write data signal when said first write data signal is generated, and said third write data signal being generated following generation of said second write data signal. The apparatus according to claim 3, characterized in that said write data signal generating means (20 to 28) comprises: first register means (26) for holding first data, and for selectively generating said first write data signal corresponding to said first data in response to a first output instruction input thereto to output said generated first write data signal to said floppy disk drive (50) of the first type; second register means (28) for holding second data, and for selectively generating said second write data signal corresponding to said second data in response to a second output instruction input thereto to output said generated second write data signal to one of said floppy disk drives (50, 52); first control means (20) for selectively generating said first output instruction in response to said write gate signal WG1 and said mode signal to output said generated first output instruction to said first register means (26), and for generating a first output enable signal upon completion of said first write data signal; second control means (22) for selectively generating said second output instruction in response to said write gate signal WG2, said mode signal, and said first output enable signal from said first control means (20) to output said generated second output instruction to said second register means (28), and for generating a second output enable signal upon completion of said second write data signal; and data converter means (24) for generating said third write data signal from said write data in response to said second output enable signal from said second control means (22) to output said generated third write data signal to one of said floppy disk drives (50, 52). The apparatus according to claim 3, characterized in that said write data signal generating means (20' to 28) comprises: first register means (26') for holding first data, and for selectively generating said first write data signal corresponding to said first data in response to a first output instruction input thereto and said mode signal to output said generated first write data signal to said floppy disk drive (50) of the first type; second register means (28) for holding second data, and for generating said second write data signal corresponding to said second data in response to a second output instruction input thereto to output said generated second write data signal to said floppy disk drives (50, 52); first control means (20') for selectively generating said first output instruction in response to said write gate signal WG1 to output said generated first output instruction to said first register means (26'), and for generating a first output enable signal upon completion of said first write data signal; second control means (22') for selectively generating said second output instruction in response to said write gate signal WG2 and said first output enable signal from said first control means (20') to output said generated second output instruction to said second register means (28), and for generating a second output enable signal upon completion of said second write data signal; and data converter means (24) for generating said third write data signal from said write data in response to said second output enable signal from said second control means (22') and for outputting said generated third write data signal to one of said floppy disk drives (50, 52). The apparatus according to any one of claims 2 to 5, characterized by further comprising mode signal supplying means (2, 42) for generating and outputting said mode signal to said write gate signal generating means (12 to 18) in accordance with the write command. The apparatus according to claim 6, characterized in that said floppy disk drive (50) of the first type further comprises means (42) for selectively generating a first mode signal in accordance with a first preset mode to output said first mode signal as said mode signal in accordance with said first selection signal; and wherein said floppy disk drive (52) of the second type further comprises means (42) for selectively generating a second mode signal in accordance with a second present mode to output said second mode signal as said mode signal in accordance with said second selection signal. A method to a floppy disk controller for sharing a floppy disk drive (50, 52) in a system comprising the floppy disk controller connecting a processor with a first type of floppy disk drive (50) comprising a preerasure head provided upstream of a read/write head (60) and at least across the whole track, and with a second type of floppy disk drive (52) comprising a tunnel erasing head (66) provided downstream of a read/write head and erasing recorded data from either side of the track, characterized in that said method comprises the steps of: receiving a mode signal M; outputting a first (DS1) or second (DS2) selection signal to the floppy disk drives (50, 52) in response to a selection signal SEL being input by the processor when a write command is to be executed by a respective floppy disk drive; generating a first (WG1) and second (WG2) write gate signal having different phases in response to a same sync signal S; outputting a write gate signal WG selected from said write gate signals WG1, WG2 to the floppy disk drives in accordance with said mode signal M; preparing control data and data received from the processor in synchronism with a respective write gate signal WG1, WG2 and in accordance with said mode signal M and outputting a write data signal WD to be written; and generating an erase signal (E), in the floppy disk drive of the first type, the start being coincident with the start of the write gate signal and the end being coincident with the end of the write gate signal or earlier (Fig. 5B and D), and in the floppy disk drive of the second type both the start and the end being delayed with regard to the start and the end of the write gate signal (Fig. 4B).

Inventors: OKAMURA HIROSHI C O PATENT DIV, OKAMURA, HIROSHI C/O PATENT DIVISION
Applicants: TOSHIBA KK, KABUSHIKI KAISHA TOSHIBA
Application year: 1988
Main classification: G11B5
IPC codes: G11B5, G06F3