Developer preview v1.1.2 — installation, packaging, and some platform support are still in progress. Read the status
Skip to content

Amiga profiles ​

The target profile decides the compiler, runtime, CPU default, and module surface. The source language does not name a chip or an address.

hosted-amiga ​

FactValue
Compilerm68k-amigaos-gcc
Runtimelibnix -mcrt=nix20
TargetAmigaOS 2.0+, big-endian, 32-bit
Default CPU68000 (-m68020 opt-in)
Float ABISoft-float (-m68881 opt-in)
PackageHunk executable

This is the profile for Workbench 2.x/3.x and the optional services. It includes std.amiga.workbench, std.amiga.icon, std.amiga.expansion, and the 2.0+ optional modules.

hosted-amiga-13 ​

FactValue
Compilerm68k-amigaos-gcc
Runtimelibnix -mcrt=nix13
TargetA500: 68000, OCS, 512 KB chip, Kickstart 1.3
Default CPU68000
Float ABISoft-float
PackageHunk executable

The 1.3 profile provides a Kickstart 1.3-safe subset:

std.io, std.mem, std.text, std.fmt, std.amiga.custom, std.amiga.dos, std.amiga.graphics, std.amiga.intuition, std.amiga.interrupt, and std.amiga.exec.

The 2.0+ modules are rejected with E11200. That is deliberate: a program that uses Workbench 2.0 APIs should not silently produce an A500 binary that fails at runtime.

freestanding ​

freestanding is implemented with a provisional ABI: 32-bit, big-endian, no libc, console-only standard library. It has no heap, so String and Box<T> are rejected, and the std.mem allocator surface is unavailable.

LorraineOS can adopt or replace the ABI. It is not yet a stability promise.

Building ​

sh
clorraine build program.clo -p hosted-amiga
clorraine build program.clo -p hosted-amiga-13
clorraine build program.clo -p freestanding

Inside the repository, use the SDK and emulator wrappers:

sh
make run FILE=program.clo PROFILE=hosted-amiga
make run FILE=program.clo PROFILE=hosted-amiga-13 EMULATOR=1

Module boundary ​

Module1.32.0+
std.io, std.mem, std.text, std.fmtYesYes
std.amiga.custom, dos, graphics, intuition, interrupt, execYesYes
std.amiga.video, sprite, audio, input, timer, text, layersYesYes
std.amiga.workbench, icon, expansionNo (E11200)Yes
std.amiga.asl, commodities, locale, arexx, clipboard, datatypes, bsdsocket, picasso96, and other optional servicesSelectivelyYes, where the tracked gate proves the surface

The SDK coverage page records the exact tracked surface.

Learn more ​

Clorraine is an independent project. Amiga, AmigaOS, Kickstart, and Workbench are trademarks of Amiga Corporation. Not affiliated with or endorsed by Amiga Corporation or Hyperion Entertainment.