Antenna data file
application/x-amiga-disk-format
Magic Bytes
Offset: 0
44 4F 53
Amiga Disk File (ADF) is a disk image format developed by Commodore International for the Amiga personal computer platform. It is primarily utilized for the preservation and emulation of legacy software by storing raw, sector-by-sector replicas of physical floppy disks. Although this format is technically obsolete, it remains the industry standard for archiving Amiga software libraries and is generally considered safe due to its simple, non-executable structure on modern host systems.
Validation Code
How to validate .adf files in Python
Python
def is_adf(file_path: str) -> bool:
"""Check if file is a valid ADF by magic bytes."""
signature = bytes([0x44, 0x4F, 0x53])
with open(file_path, "rb") as f:
return f.read(3) == signature
How to validate .adf files in Node.js
Node.js
function isADF(buffer: Buffer): boolean {
const signature = Buffer.from([0x44, 0x4F, 0x53]);
return buffer.subarray(0, 3).equals(signature);
}
Go
func IsADF(data []byte) bool {
signature := []byte{0x44, 0x4F, 0x53}
if len(data) < 3 {
return false
}
return bytes.Equal(data[:3], signature)
}
API Endpoint
GET
/api/v1/adf
curl https://filesignature.org/api/v1/adf