Amiga Disk File

Amiga Disk FileFilename extensions| `.adf, .adz, .hdf, .hdz`

|

Internet media type| `application/x-amiga-disk-format`
Magic number| DOS
Container for| disk data

Amiga Disk File (ADF) is a file format used by Amiga computers and emulators to store images of floppy disks, a single hard disk volumes (partitions) or complete, partitioned hard disks.

It has been around almost as long as the Amiga itself, although it was not initially called by any particular name. Before it was known as ADF, it was used in commercial game production, backup and disk virtualization. ADF is a track-by-track dump of the disk data as read by the Amiga operating system, and so the "format" is really fixed-width AmigaDOS data tracks appended one after another and held in a file. This file would, typically, be formatted, like the disk, in Amiga Old File System (OFS).

## Contents

* 1 ADF
* 2 HDF
* 3 ADZ and HDZ
* 4 Software support
* 4.1 Amiga
* 4.2 Amiga emulators
* 4.3 Unix and Unix-like systems
* 4.4 Microsoft Windows
* 4.5 MacOS
* 4.6 Multiplatform
* 5 Related formats
* 5.1 IPF
* 5.2 DMS
* 5.3 FDI
* 6 See also
* 7 References

## ADF

Most ADF files are plain images of the Amiga-formatted tracks held on cylinder 0 to 79 of a standard 3.5-inch (89 mm) double-density floppy disk, also called an 880 KiB disk in Amiga terms. The size of an ADF will vary depending on how many tracks have been imaged, but in practice it is unusual to find ADF files that are not 901,120 bytes in size (80 cylinders × 2 heads × 11 sectors × 512 bytes/sector).

Most Amiga programs were distributed on double-density floppy disks. There are also 3.5-inch high-density floppy disks, which hold up to 1.76 MB of data, but these are uncommon. The Amiga also had 5.25-inch double-density disks.

## HDF

HDF files have the same binary format (sector-by-sector copy) as ADF files, but are used to store images of devices other than standard floppy disks. Most often, they are used to store just single volume with a filesystem (so they are basically like floppy disks with non-standard sizes), but HDFs can also contain a copy of a complete, partitioned hard disk (with Rigid Disk Block)[1].

## ADZ and HDZ

ADZ and HDZ files are, respectively, an ADF and HDF files that have been compressed with gzip. The typical file extension is `.adz` or `.hdz`, derived from `.adf.gz` (or `.hdf.gz`).[2]

## Software support

### Amiga

ADF files can be downloaded and copied to Amiga disks with the EasyADF and various other applications freely available on the Internet.

### Amiga emulators

The WinUAE Amiga emulator supports ADF files with all floppy disk formats (3.5" DD and HD, 5.25" DD), as well as single and multiple volume HDF files.

### Unix and Unix-like systems

As ADF files are plain disk images, they can be handled by the Unix tool `dd`. On Linux and NetBSD, which support the most common Amiga filesystems, ADF files can be mounted directly, either using native system driver[3] or user space `fuseadf`.

### Microsoft Windows

There is a program called ADF Opus, which is a Microsoft Windows-based program that allows people to create their own ADF files. This program supports creating double density (880 KB ADF files, the most common) and high-density (1.76 MB) ADF files. ADF Opus also allows people to convert ADF files into ADZ files.

### MacOS

For MacOs, there are 2 applications dedicated for work with ADF files: ADF.inder with a graphical user interface and a command-line `send2adf`.

### Multiplatform

A free GPL-licensed software library ADFlib allows to programmatically create and use disk images in ADF format, providing block-level access and support for Amiga filesystems OFS and FFS. It also includes several command-line utilities, one of them is unADF, which allows to extract data from ADF files. The library is used by many applications, including mentioned earlier: ADF Opus, ADF.inder, `send2adf` and `fuseadf` and also others like ADF Explorer for R.

The part of utility pack amitools contains a set of programs named xdftool. It is under GPL and can read, write, format, and do other operations with ADF images. xdftool is also able to create high-density ADF files with the currently undocumented `create` parameter `type=adf_hd`.

## Related formats

### IPF

The ADF file format can only store disks that have legal AmigaDOS format tracks. Disks with non-standard tracks may be available in ADF format, albeit cracked in order to create a regular AmigaDOS volume. However, the Amiga itself was not limited to storing data in these standard tracks. The Amiga's floppy disk controller was very basic but transparent, and for that reason very flexible allowing disks of other and custom formats to be read and written as well. Disk handling is not locked down like the one in a modern PC, and so most of the work to read and write disks is done by the operating system itself.[4] However, because programmers did not have to use the operating system routines, it was quite normal for games developers to create their own disk formats [5] and also apply many different sorts of copy protection.[6] As it was, most full-price commercial Amiga games had some form of custom disk format and/or copy protection on them. For this reason, most commercial Amiga games cannot be stored in ADF files unaltered, but there is an alternative called Interchangeable Preservation Format (IPF) which was specifically designed for this purpose.

The Software Preservation Society Interchangeable Preservation Format (.IPF) is an open format for which the source code of the official library is available.[7]

### DMS

ADF files were sometimes compressed using the Disk Masher System, resulting in .dms files.

### FDI

FDI (from Formatted Disk Image) is a universal disk image file format specification originally published by Vincent Joguin in 2000. The FDI format is publicly documented,[8] and accompanied by open source access tools. Because the format can store raw low-level data, as is for example required to support copy protection schemes and other non-standard formats, FDI files can be larger than disk image files in other formats. The typical file extension is `.fdi`. Because of the universal design of the FDI format, files in other disk image formats, such as ADF, ADZ and DMS, can in theory be converted to FDI.

## See also

## References

1. ↑ "Amiga Forever Knowledge Base "Using Amiga Floppy Disk image files"". https://www.amigaforever.com/kb/13-112. 20250902 amigaforever.com
2. ↑ "Amiga Forever Knowledge Base "Using Amiga Floppy Disk image files"". https://www.amigaforever.com/kb/13-112. 20250902 amigaforever.com
3. ↑ "AFFS Linux Kernel driver documentation". https://docs.kernel.org/filesystems/affs.html.
4. ↑ "Software Preservation Society - Glossary". http://www.softpres.org/glossary:fdc. 070820 softpres.org
5. ↑ "Software Preservation Society - Glossary". http://www.softpres.org/glossary:custom_disk_format. 070820 softpres.org
6. ↑ "Software Preservation Society - Glossary". http://www.softpres.org/glossary:copy_protection. 070820 softpres.org
7. ↑ "IPF DECODER LIBRARY sourcecode released - KryoFlux Support Forums". http://forum.kryoflux.com/viewtopic.php?f=2&t=265.
8. ↑ "Formatted Disk Image (FDI) File Format Version 2.0 Description". http://www.oldskool.org/disk2fdi/files/FDISPEC.pdf. 20111011 oldskool.org

Notes

* The .ADF (Amiga Disk File) format FAQ
* The Amiga Guru Book, Chapter 15, Ralph Babel, 1993
* Rom Kernel Reference Manual : Hardware, pages 235-244, Addison Wesley
* Rom Kernel Reference Manual : Libraries and Devices, Appendix C, Addison Wesley
* La Bible de l'Amiga, Dittrich/Gelfand/Schemmel, Data Becker, 1988.

* v
* t
* e

AmigaOS

Amiga technologies|

* AmigaBASIC
* AmigaDOS
* AmigaGuide
* ARexx
* Blitter object
* Exec/WarpOS
* Guru Meditation
* Hunk
* Installer
* Intuition
* Kickstart
* RAM disk
* Workbench
* XAD

Amiga GUIs|

* Ambient
* MUI
* ReAction
* Scalos
* Workbench
* Zune

File systems|

* CrossDOS
* OFS
* FFS
* PFS
* SFS
* UDF
* FAT
* NTFS

OS versions|

* AmigaOS version history
* AmigaOS 4

Software packs|

* Amiga Forever
* AmiKit

Other software|

* Aminet
* Amiga Reflections
* Demos
* Games
* Hollywood
* ADF
* IFF
* LHA
* WHDLoad
* WinUAE
* YAM
* AmiZilla

Influenced|

* AROS
* AtheOS
* BeOS
* DragonFly BSD
* MorphOS
* Syllable

Category

* v
* t
* e

Disk image file formats

Comparison of disc image software

Optical discs|

* BIN+CUE
* CSO
* DAA
* IMG+CCD+SUB
* ISO
* ISZ
* MDF+MDS
* MDX
* NRG
* UIF

Hard disks|

* DMG
* FVD
* IMG
* ISO
* NDIF
* QCOW
* UDIF
* VDI
* VHD
* VMDK
* WIM

Floppy disks|

* ADF, ADZ
* DC42, DART
* DCF
* DMS
* IMG, IMA, IMZ
* VFD

CD-DA|

Disc Description Protocol

Convention: Any item in this table that has the form of "A+B" or "A+B+C" indicates a disk format that spans multiple files, where A contains the bulk of the data, and B and C are sidecar files.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Amiga Disk File. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Amiga_Disk_File&oldid=3954376"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template