The first floppy disk drive controller (FDC) like the first floppy disk drive (the IBM 23FD) shipped in 1971 as a component in the IBM 2385 Storage Control Unit for the IBM 2305 fixed head disk drive,1 and of the System 370 Models 155 and 165. The IBM 3830 Storage Control Unit, a contemporaneous and quite similar controller, uses its internal processor to control a 23FD.2 The resultant FDC is a simple implementation in IBMs' MST hybrid circuits on a few printed circuit cards.3 The drive, FDC and media were proprietary to IBM and although other manufacturers provided early FDDs prior to 1973 there were no standards for FDCs, drives or media.
IBM's 1973 introduction of the 3740 Data Entry System created the basic media standard for the 8-inch single sided floppy disk, IBM's "Type 1" diskette, which coupled with rapidly increasing requirements for inexpensive, removable direct access storage for many small applications caused a dramatic growth in drive and controller shipments.4
Prior to the introduction of special purpose integrated circuit versions, most FDCs consisted of at least one printed circuit implemented with 40 or more ICs.5 Examples of such FDCs include:
The first FDC implemented as a special purpose integrated circuit is the Western Digital FD177116 announced on 19 July 1976.17 The initial design supported a single format and required additional circuitry but over time, as a family, the design became multi-sourced and evolved to support many formats and minimize external circuitry.
The NEC μPD765 was announced in 197818 and in 1979 NEC introduced the μPD72068, which was software compatible with the μPD765, incorporating a Digital PLL.19 The μPD765 became a quasi-industry standard when it was adopted in the original IBM PC (1981); the FDC was physically located on its own adapter card along with support circuitry. Other vendors such as Intel produced compatible parts. This design evolved over time into a family offering an almost complete FDC on a chip.20
As of March 1986, Sharp had commercialized the FDC LH0110.21
In early 1987, Intel introduced the 82072 CHMOS High Integrated Floppy Disk Controller for use in industry standard PC computers.2223
Ultimately in most computer systems the FDC became a part of a Super I/O chip or a Southbridge chip.242526 However, in later motherboards, as floppy disks were phased out by personal computer users, this interface was eliminated. Some manufacturers developed USB-based floppy disk controllers.27
A floppy disk stores binary data not as a series of values, but a series of changes in value. Each of these changes, recorded in the polarity of the magnetic recording media, causes a voltage to be induced in the drive head as the disk surface rotates past it. It is the timing of these polarization changes and the resulting spikes of voltage that encode the ones and zeros of the original data. One of the functions of the controller is to turn the original data into the proper pattern of polarizations during writing, and then recreate it during reads.
As the storage is based on timing, and that timing is easily affected by mechanical and electrical disturbances, accurately reading the data requires some sort of reference signal, the clock. As the on-disk timing is constantly changing, the clock signal has to be provided by the disk itself. To do this, the original data is modified with extra transitions to allow the clock signal to be encoded in the data and then use clock recovery during reads to recreate the original signal. Some controllers require this encoding to be performed externally, but most designs provide standard encodings like FM and MFM.
The controller also provides a number of other services to control the drive mechanism itself. These typically include the movement of the drive head to center over the separate tracks on the disk, tracking the location of the head and returning it to zero, and sometimes functionally to format a disk based on simple inputs like the number of tracks, sectors per track and number of bytes per sector.
To produce a complete system, the controller has to be combined with additional circuitry or software that acts as a bridge between the controller and the host system. In some systems, like the Apple II and IBM PC, this is controlled by software running on the computer's host microprocessor and the drive interface is connected directly to the processor using an expansion card. On other systems, like the Commodore 64 and Atari 8-bit computers, there is no direct path from the controller to the host CPU and a second processor like the MOS 6507 or Zilog Z80 is used inside the drive for this purpose.
The original Apple II controller was in the form of a plug-in card on the host computer. It could support two drives, and the drives eliminated most of the normal onboard circuitry. This allowed Apple to arrange a deal with Shugart Associates for a simplified drive that lacked most of its normal circuitry.28 This meant that the combined cost of a single drive and controller card was roughly the same as on other systems, but a second drive could be connected for a smaller additional cost.
The IBM PC took a more conventional approach, their adaptor card could support up to four drives; on the PC direct memory access (DMA) to the drives was performed using DMA channel 2 and IRQ 6. The diagram below shows a conventional floppy disk controller which communicates with the CPU via an Industry Standard Architecture (ISA) bus or similar bus and communicates with the floppy disk drive with a 34 pin ribbon cable. An alternative arrangement that is more usual in recent designs has the FDC included in a super I/O chip which communicates via a Low Pin Count (LPC) bus.
Most of the floppy disk controller (FDC) functions are performed by the integrated circuit but some are performed by external hardware circuits. The list of functions performed by each is given below.
The FDC has three I/O ports. These are:
The first two reside inside the FDC IC while the Control port is in the external hardware. The addresses of these three ports are as follows.
This port is used by the software for three different purposes:
This port is used by the software to read the overall status information regarding the FDC IC and the FDD's. Before initiating a floppy disk operation the software reads this port to confirm the readiness condition of the FDC and the disk drives to verify the status of the previously initiated command. The different bits of this register represent :
This port is used by the software to control certain FDD and FDC IC functions. The bit assignments of this port are:
Further information: Floppy disk drive interface
A controller connects to one or more drives using a flat ribbon cable, 50 wires for 8" drives and 34 wires for 3.5" & 5.25" drives. A "universal cable" has four drive connectors, two each for 3.5" & 5.25" drives.29 In the IBM PC family and compatibles, a twist in the cable is used to distinguish disk drives by the socket to which they are connected. All drives are installed with the same drive select address set, and the twist in the cable interchanges the drive select lines at the socket. The drive that is at the far end of the cable would also have a terminating resistor installed to maintain signal quality.30
When the controller and disk drive are assembled as one device, as it is the case with some external floppy disk drives, e.g., Commodore 1540 and USB floppy disk drives,31 the internal floppy disk drive and its interface are unchanged, while the assembled device presents a different interface such as IEEE-488, parallel port or USB.
Main article: List of floppy disk formats
Many mutually incompatible floppy disk formats are possible; aside from the physical format on the disk, incompatible file systems are also possible.
50
Sides:
Density:
Main article: ja:3モードフロッピーディスクドライブ
Primarily in Japan there are 3.5" high-density floppy drives that support three modes of disk formats instead of the normal two – 1440 KB (2 MB unformatted), 1.2 MB (1.6 MB unformatted) and 720 KB (1 MB unformatted). Originally, the high-density modes for 3.5" floppy drives in Japan only supported a capacity of 1.2 MB instead of the 1440 KB capacity that was used elsewhere.51 While the more common 1440 KB format spun at 300 rpm, the 1.2 MB formats instead spun at 360 rpm, thereby closely resembling the geometries of either the 1.2 MB format with 80 tracks, 15 sectors per track, and 512 bytes per sector previously found on 5.25" high-density floppy disks or the 1.2 MB format with 77 tracks, 8 sectors per track, and 1,024 bytes per sector previously found on 8" double-density floppy disks. Later Japanese floppy drives incorporated support for both high-density formats (as well as the double-density format), hence the name 3-mode. Some BIOSes have a configuration setting to enable this mode for floppy drives supporting it.52
"IBM 2835 Storage Control and IBM 2305 Fixed Head Storage Module Reference Manual" (PDF). October 1983. Retrieved 22 July 2022. The control unit contains a miniature direct access device which provides read-only storage for control logic backup and storage of nonresident microdiagnostics. The recording medium is an inexpensive Mylar-coated disk cartridge. http://www.bitsavers.org/pdf/ibm/2835/GA26-1589-5_2835_2305_Reference_Oct83.pdf ↩
"IBM Maintenance Library – Storage Control, Model 2, Volume 2" (PDF). 4 June 1973. pp. MPL 25A, MPL 200, MPL 245, MPL 260. Retrieved 29 July 2022. Hardware has already added 64 words (Track 0, Sector 0) and this microprogram will load the remainder of control storage. http://www.bitsavers.org/pdf/ibm/3830/3830-2_MLM_Vol_R02_Mar1976.pdf ↩
Porter, James N. (August 1977). 1977 DISK/TREND REPORT – FLEXIBLE DISK DRIVES (Report). p. 26. ↩
Gregg, Williams; Moore, Rob, eds. (1984). "THE APPLE STORY, PART 2, An interview with Steve Wozniak". Byte. Retrieved 6 August 2022. At the time, all the existing floppy-disk controllers were 40 or 50 chips … https://www.apple2history.org/museum-a-l/articles/byte8501/#diskdrive ↩
3741 Data Station, Theory-Maintenance. IBM. 15 May 1974. pp. 14–2.14–15 (488/599). Retrieved 9 August 2022. https://usermanual.wiki/Document/3741MaintenanceLibraryMay75.1020345001/view ↩
"First floppy disc peripheral made for microcomputers". Electronic Design. 27 September 1974. p. 138. Retrieved 11 August 2022. http://www.retrotechnology.com/dri/xicom_sep74.jpg ↩
"CF 360 FLOPPY DISK CONTROLLER" (PDF). iCOM Microperipherals. Retrieved 19 August 2022. the controller is fully IBM 3740 and 3540 compatible with all formatting and deformatting accomplished automatically within the controller. http://www.bitsavers.org/pdf/icom/brochures/iCOM_CF360_Floppy_Disk_Controller_Brochure.pdf ↩
SCHEMATIC AND LOGIC DIAGRAMS MODEL FD360 (PDF) (Report). iCOM Microperipherals. March 1976. pp. 8, 34. Retrieved 11 August 2022. http://bitsavers.trailing-edge.com/pdf/icom/FD360_Schematics_197603.pdf ↩
"Discs". INTERFACE AGE. November 1976. pp. 65–66. Retrieved 24 July 2022. https://archive.org/details/ia-1976-11/page/66/mode/2up ↩
"FD0300 FLOPPY DISK CONTROLLER" (PDF). 1976. Retrieved 24 July 2022. A General Purpose Host Interface is also provided for easy interface to host systems such as minicomputer, microprocessor I/O busses, CRT terminals, instruments, TTL/MSI microprocessors, industrial controllers and other byte oriented systems. http://www.bitsavers.org/pdf/sms/brochures/SMS_FD0300_Brochure_Sep76.pdf ↩
"State of the Art Disk Technology" (PDF). Byte. December 1976. Retrieved 1 September 2022. https://vintageapple.org/byte/pdf/197612_Byte_Magazine_Vol_00-16_Machine_Readable_Print.pdf ↩
"SA4400 ministreaker FloppyDisk Drive Controller" (PDF). 1977. Retrieved 1 September 2022. http://www.bitsavers.org/pdf/shugart/70293-2_SA4400_Ministreaker_Floppy_Controller_Jul1977.pdf ↩
Craig, David T (April 1978). "Apple II Computer Family Information, Schematic: Disk 2 Interface Card" (PDF). Retrieved 6 August 2022. https://www.apple.asimov.net/documentation/hardware/schematics/disk_2_card_050-0005-01_schematic.pdf ↩
Joe, Jaworski (1985). "Floppy Disk Controllers". 1985 Controller Concepts – Volume 1 (PDF) (Technical report). p. SEMI-1 (67/160). Retrieved 9 September 2022. Pioneering this field was Western Digital Corporation who, in 1976, began sampling the first LSI floppy disk controller, the FD1771. http://www.bitsavers.org/pdf/peripheralConcepts/1985_Controller_Concepts_1.pdf ↩
"Recent IC Announcements". Computer. IEEE. 1976. Retrieved 6 August 2022. https://ieeexplore.ieee.org/document/1647192 ↩
"μPD765 SINGLE/DOUBLE DENSITY FLOPPY DISK CONTROLLER" (PDF). NEC. December 1978. Retrieved 9 September 2022. http://www.bitsavers.org/components/nec/_dataSheets/uPD765_Data_Sheet_Dec78.pdf ↩
"NEC Electronics Inc. μPD72068 Floppy-Disk Controller" (PDF). Retrieved 24 January 2024. https://pdf.datasheetcatalog.com/datasheets/2300/500255_DS.pdf ↩
Necasek, Michal (26 May 2011). "The floppy controller evolution". Retrieved 2 September 2022. http://www.os2museum.com/wp/the-floppy-controller-evolution/ ↩
"Sharp 1986 Semiconductor Data Book" (PDF). pp. 279–295. Retrieved 14 January 2024. http://www.bitsavers.org/components/sharp/_dataBooks/1986_Sharp_MOS_Semiconductor_Data_Book.pdf#page=286 ↩
Intel Corporation, "New Product Focus Components: Single-Chip Disk Controller Squeeze More into Less", Solutions, January/February 1987, page 14 ↩
Kearns, Patrick, Begur, Sridhar, and Fischer, Steve, "High Integration/High Performance Floppy Disk Controller Subsystem with the 82072", Intel Corporation, Microcomputer Solutions, November/December 1987, page 20 ↩
Mueller, Scott (2005). "Motherboard Components". Scott Muellers Upgrading and Repairing Laptops, Second Edition. Retrieved 5 September 2022. https://flylib.com/books/en/4.52.1.37/1/ ↩
"FDC37C78 Floppy Disk Controller" (PDF). SMSC. 2007. Archived from the original (PDF) on 13 December 2007. Retrieved 9 September 2022. Licensed CMOS 765B Floppy Disk Controller https://web.archive.org/web/20071213095828/http://www.smsc.com/main/datasheets/37c78.pdf ↩
"USB Floppy Disk Controller USB97CFDC2-01" (PDF). keil.com. 13 December 2001. https://www.keil.com/dd/docs/datashts/smsc/usb97cfdc2.pdf ↩
Davis, Larry (13 June 2015). "Floppy Drive Pinout, Signal names, Pin out Description and Cable twist wiring". interfacebus.com. Retrieved 29 January 2019. http://www.interfacebus.com/PC_Floppy_Drive_PinOut.html ↩
Scott Mueller, Upgrading and Repairing PCs, Second Edition, Que, 1992, ISBN 0-88022-856-3, page 487 /wiki/ISBN_(identifier) ↩
Fisher, Tim (18 January 2022). "What Is a Floppy Disk Drive?". Retrieved 20 September 2022. https://www.lifewire.com/what-is-a-floppy-drive-2618151#:~:text=USB%20floppy%20disk%20drives%20interface,hard%20drives%20and%20flash%20drives. ↩
Ableman, Genna (2005). Elert, Glenn (ed.). "Angular speed of a floppy disk". The Physics Factbook. Retrieved 25 January 2022. https://hypertextbook.com/facts/2005/GennaAbleman.shtml ↩
"C 64 Workshop / C= 8 Bit & Peripherals". 19 May 1998. Retrieved 18 April 2016. https://ist.uwaterloo.ca/~schepers/MJK/1541__.html ↩
"unifr.ch – sys/src/kernel/floppy.c". Archived from the original on 19 July 2011. Retrieved 5 May 2011. https://web.archive.org/web/20110719150025/http://diuf.unifr.ch/pai/education/2005_2006/courses/os/minix/idx/S/sys%20src%20kernel%20floppy.c.html ↩
"Product specification TM100-4 flexible disk drive 96, tpi" (PDF). Retrieved 8 January 2022. http://www.bitsavers.org/pdf/tandon/TM100-4_Product_Specifications_Dec79.pdf ↩
iesleonardo.info – This diskette tutorial provides technical information concerning diskettes http://www.iesleonardo.info/ele/tra/VARIOS/t-diskettes/ ↩
oldskool.org – Let HD 5,25" FDDs operate at 300 rpm instead of 360 rpm http://www.oldskool.org/disk2fdi/525HDMOD.htm ↩
intel.com – Intel 82077SL for Super Dense Floppies Archived 8 October 2012 at the Wayback Machine http://download.intel.com/design/archives/periphrl/docs/29209302.pdf ↩
Johnson, Herbert R. (22 December 2016). "Floppy Drive Tech Info". Retrieved 14 January 2017. http://www.retrotechnology.com/herbs_stuff/drive.html#data ↩
yi.org – High Density Floppy Disks Mf2hd Disk 3 5 1 Pk[permanent dead link] http://capacitors-0425.yi.org/high-density-floppy-disks-mf2hd-disk-3-5-1-pk.htm ↩
mcamafia.de – IBM Personal system/2, 3,5"-inch Diskette Drives, Technical Reference http://www.mcamafia.de/pdf/ps2_fdd_trm_s42g2194_00.pdf ↩
"Linux-2.6.17/drivers/block/floppy.c". Archived from the original on 23 August 2008. 090504 gelato.unsw.edu.au https://web.archive.org/web/20080823162850/http://www.gelato.unsw.edu.au/lxr/source/drivers/block/floppy.c ↩
books.google.com – Fix Your Own PC by Corey Sandler https://books.google.com/books?id=BIplH6DHz6UC&pg=PA509&lpg=PA509 ↩
rojakpot.com – 3mode floppy support https://web.archive.org/web/20041028094210/http://www.rojakpot.com/default.aspx?location=8&var1=0&var2=89 ↩