Armadillo
& Bratwurst
Home
DE / EN
← Kestrel
Under the hood

One game, nine versions.

Kestrel runs on current computers as well as on the Amiga, Atari Falcon and DOS PCs of the 90s. Every version is built from the same C++ code base – programmed by Claude (Claude Code by Anthropic), built and tested on a single Mac.

9
versions from one code base
4
CPU architectures: x86-64, ARM64, i386, Motorola 68k
256
colours on Amiga, Falcon and DOS
1
Mac on which everything is built

Architecture.

Three layers, only the bottom one is new for each system.

Game logic C++17 · all versions

Rules, levels, texts (DE/EN), computer player, level editor, high scores

Rendering two paths

Mac, Windows, Linux: olcPixelGameEngine in true colour · Amiga, Falcon, DOS: own 256-colour renderer with layers that only redraws what changed

Platform layer per system

Screen, keyboard, joystick, sound, files – the only part written anew for each system

The versions.

System, language, libraries, graphics and sound.

macOS

Desktop
Target system
macOS 11+, Apple Silicon and Intel (universal binary)
Language & compiler
C++17, Apple clang
Libraries
olcPixelGameEngine (GLUT/OpenGL), miniaudio (CoreAudio), stb_image
Graphics
640 × 400, true colour, OpenGL, full screen or window
Sound
MP3 music, sound effects generated in code (miniaudio)

Windows

Desktop
Target system
Windows 10/11, 64-bit
Language & compiler
C++17, MinGW-w64 (GCC) as cross-compiler on the Mac, statically linked
Libraries
olcPixelGameEngine (Win32/OpenGL/GDI+), miniaudio (WASAPI), stb_image
Graphics
as macOS
Sound
as macOS

Linux

x86_64 & ARM64
Target system
PC, Steam Deck, Raspberry Pi 4/5 (64-bit); glibc 2.35 or newer
Language & compiler
C++17, GCC 11 in Docker (Ubuntu 22.04), C++ runtime linked statically
Libraries
olcPixelGameEngine (X11/OpenGL), miniaudio (PipeWire/PulseAudio/ALSA), stb_image
Graphics
as macOS, under X11 or XWayland
Sound
as macOS

Amiga

AGA & OCS/ECS
Target system
AGA: A1200/A4000/CD32 with 68020+, 2 MB chip RAM · OCS/ECS: A500/A600/A2000 with 68020+ and 4 MB fast RAM
Language & compiler
C++17 and 68k assembler; amiga-gcc (bebbo), vasm; libnix
Libraries
own runtime and soft-float, ptplayer (ProTracker player)
Graphics
320 × 256; AGA 256 colours (8 bitplanes, C2P in assembler, hardware sprites), OCS 64 colours (Extra Half-Brite)
Sound
Paula: MOD music and samples

Amiga WHDLoad

Hard disk
Target system
Amiga with 68020+ and fast RAM, WHDLoad 17+, Kickstart 3.1 image
Language & compiler
slave in 68k assembler (vasm), plus the Amiga program
Libraries
WHDLoad (kick31 emulation)
Graphics
as Amiga
Sound
as Amiga

Atari Falcon 030

68030 · 16 MHz
Target system
Falcon 030, 4 MB RAM, TOS 4.0x or EmuTOS, VGA or RGB
Language & compiler
C++17 and 68030 assembler; m68k-atari-mintelf-gcc (GCC 15), mintlib
Libraries
own soft-float, own mixer and MOD player
Graphics
VIDEL 320 × 240 (RGB 384 × 240), 256 colours, C2P in assembler
Sound
DMA sound, 8-bit mono 12.3 kHz: music streamed from disk, effects mixed in the VBL

MS-DOS

386 · 486
Target system
386DX/33 with 387 (486DX2/66 recommended), 4 MB RAM, VGA, Sound Blaster optional
Language & compiler
C++17; DJGPP (GCC 12, 32-bit protected mode), CWSDPMI embedded, EMU387 for machines without FPU
Libraries
mixer from the Falcon version
Graphics
Mode X 320 × 240, 256 colours, two video pages
Sound
Sound Blaster 2.0/Pro/16: auto-init DMA, 8-bit mono ~12.3 kHz, effects mixed in the interrupt

Tools.

Data

Graphics (PNG) and music (MP3) from the PC version. Python tools convert them for the retro versions: images with palette (.kim), sound effects (sfx.dat), MODs for the Amiga, RAW samples via ffmpeg.

Building

Make and cross-compilers on the Mac. One command (make dist-all) builds every package: Mac, Windows, Linux, ADF, WHDLoad, Falcon as ZIP and on floppy disks, DOS.

Testing

FS-UAE (Amiga), Hatari (Falcon), DOSBox-X (DOS), Docker with a virtual display (Linux) and a simulator of the Amiga renderer on the Mac.

Website

PHP and MySQL without a framework, HTML/CSS/JS without a build step; self-hosted fonts, YouTube only after a click, payment via PayPal.

Try Kestrel – on any of these systems.

Get it free