Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Platform:Amiga

From ReverseEngineering.wiki
Platform
CPU Motorola 68000 (later 68020 to 68060)
On this wiki Facts · Code · Notes · Topics

Commodore's 68000-based home computer family (1985 on); floppy software circulates as ADF sector images (880 KiB) or IPF/flux images for copy-protected disks.

Overview

The Amiga boots from a 1024-byte bootblock on sectors 0-1 whose first four bytes are "DOS" plus a flags byte. See Format:Amiga ADF disk image for the image layout and how IPF and flux images relate.

Files

Related

Platform:Atari ST, Platform:Commodore 64.

Executables and libraries

Programs and libraries are Hunk files: see Format:AmigaOS Hunk executable (load file magic 00 00 03 F3, object file 00 00 03 E7). Shared libraries are called through A6 and a jump table at negative offsets; the function names for those offsets come from .fd files: Format:Amiga FD file (first function at -30, 6 bytes per slot, struct Library 34 bytes). Unverified: dos.library/exec.library LoadSeg behaviour beyond the format (memory allocation per hunk).

Code & repositories

  • https://github.com/AmigaPorts/binutils-gdb @ e9ab8a4a62fc6fc6b486ff77040cafe00229c847 · license: GPL-3.0-or-later (declared by the contributor; GitHub's detector did not recognize COPYING)
    Amiga port of GNU binutils (branch amiga, commit e9ab8a4): bfd/amigaos.c reads and writes Hunk load and object files, bfd/libamiga.h holds the HUNK_* and EXT_* numbers and memory flag bits.
    Tested on: source read, not run: source reading only · checked 2026-10-19
  • https://github.com/cnvogelg/amitools @ 3b57f2052ee76c28bbc5e4256227f62dca7b1c9f · license: unknown
    amitools (Python): amitools/binfmt/hunk parses every Hunk block type, amitools/data/fd holds the NDK .fd files, amitools/vamos/libstructs the exec structures.
    Tested on: source read, not run: source reading only · checked 2026-10-19