Floppy disk format
![]() | It has been suggested that this article be merged into list of floppy disk formats. (Discuss) Proposed since July 2011. |
![]() | It has been suggested that Floppy disk#Formats be merged into this article. (Discuss) Proposed since July 2011. |
Floppy disk format and density refer to the logical and physical layout of data stored on a floppy disk. Since their introduction, there have been many popular and rare floppy disk types, densities, and formats used in computing, leading to much confusion over their differences. In the early 2000s, most floppy disk types and formats became obsolete, leaving the 3½ inch disk, using an IBM PC compatible format of 1440 KB, as the only remaining popular format.
Different floppy disk types had different recording characteristics, with varying magnetic coercivity (measured in oersteds, or in modern SI units in amperes per meter), ferrite grain size, and tracks per inch (TPI). TPI was not a part of the physical manufacturing process; it was a certification of how closely tracks of data could be spaced on the medium safely.
The term density has a double meaning for floppy disks. Originally, single density and double density indicated a difference in logical encoding on the same type of physical media -- FM for single, and MFM for double. Future use of the term "density" referred to physical characteristics of the media, with MFM assumed to be the logical format used. GCR was also used on some platforms, but typically in a "double" density form.
8 and 5¼ inch floppy disks were available with both soft sectoring and hard sectoring. Because of the similarity in magnetic characteristics between some disk types, it was possible to use an incorrectly certified disk in a soft sectored drive. Quad density 5¼ inch disks were rare, so it was not uncommon to use higher quality double density disks, which were usually capable of sustaining the 96 TPI formatting of quad density, in drives such as the Commodore 8050.
Disks were available in both single and double sided forms, with double sided formats providing twice the storage capacity. Like TPI, "double sided" was mostly a certification indicator, as the magnetic media was usually recordable on both sides. Many (but not all) certified "double sided" 8 and 5¼ inch floppies had an index hole on both sides of the disk sleeve to make them usable as flippy disks.
A combination floppy disk and optical disc, known as a Floptical disk exists. The size of a 90 mm (3.5 in) disk, they are capable of holding close to 20.8 MB,[1] but need a special drive.
Sectoring
Usable disk capacity is always less than the "nominal" capacity specified by the disk's manufacturer, because some portion of each track is used for sector identification and for gaps (empty spaces) between sectors and at the end of the track.
In hard-sectored 8 inch and 5¼ inch formats, each track is divided into a particular number of sectors determined when the disk is manufactured. Holes are punched in the magnetic media to indicate where each sector should start (in an area closer to the center of the disk than is used for magnetic recording). An additional hole is punched near one of the sector holes to identify the start of the track. A sensor in the drive detects the holes in the magnetic media as they align with a hole in the disk jacket.
Data is generally written at a fixed number of bits per second, with only a very small percentage of variation due to component tolerances, so given the nominal speed that the disk rotates it is possible to calculate the number of degrees a given number of bytes will occupy when written. In practice the motor speed varies, especially from one drive to another, resulting in those bytes occupying more degrees of the track at high motor speeds or fewer degrees at low motor speeds.
When a soft-sectored disk is "formatted", each track is written with a number of bytes calculated to fit within 360 degrees at the highest expected motor speed; identification data showing where each sector should start is written at this time. The system of punched holes used by hard-sectored disks is not needed; a single hole is retained to indicate the start of the track (3½ inch disks use an alignment pin rather than a hole). If the motor is spinning any slower than the highest acceptable speed, which is usually the case, the data will fit in fewer than 360 degrees, resulting in a gap at the end of the track. Additionally, if a sector were to be rewritten on a drive running faster than the drive was running when the track was formatted, the new data would be larger (occupy more degrees of rotation) than the original sector. Therefore, during formatting a gap must be left between sectors to allow a rewritten sector to be larger without over-writing the following sector.
Commodore's Amiga used an unusual format which got closer to the disk's nominal (unformatted) capacity by eliminating the gaps between sectors and simplifying the identification data. This meant that individual sectors could not be rewritten; the Amiga would simply rewrite the entire track.
Single Sided, Double Density
Most floppy disks used by PC's use the FAT12 file system format, which requires 512-byte sectors, though sometimes disks may use a more exotic file system and/or be superformatted to accommodate slightly more data. Some floppy-based Linux distributions utilize such techniques.[citation needed] The capacity numbers given in this section assume FAT12 formatting unless otherwise noted.
SSDD originally referred to Single Sided, Double Density, a format of (usually 5¼") floppy disk which could typically hold 35-40 tracks of nine 512-byte (or 18 256-byte) sectors each. Only one side of the disc was used, although some users did discover that punching additional holes into the disc jacket would allow the creation of a "flippy" disc which could be manually turned over to store additional data on the reverse side.
Single-sided disks began to become "obsolete" after the introduction of IBM PC DOS 1.1 in 1982, which added support for double-side diskette drives with a boosting capacity of 320 KB to the IBM 5150 PC, which had been released the year before, but originally only with single-sided 160 KB drives. In 1983 PC DOS 2.0 pushed the formatting capacity to 180 KB respectively 360 KB by utilizing 9 instead of only 8 sectors per track. Ironically this same year,[citation needed] Commodore released a floppy disk system that could store 1 MB of data, but it was not well received in part because their users felt that it was overkill.
Known disk logical formats
Throughout the 1970s and 1980s, many different logical disk formats were used, depending on the hardware platform.
See also
Notes
References
- Floppy Controllers Jumper settings
- Floppy disk specifications at Disc Interchange
- Apple II Diskette FAQ and Apple II Drive FAQ at comp.sys.apple2 FAQ mirror
- "Anatomy of the 1541 Disk Drive" (1984) Abacus Software Inc ISBN 0-916439-01-1