Veldrin
A side-scrolling game for the Amiga 500, written on the bare metal with the operating system switched off. It boots from its own floppy, on a real A500 or in an emulator, with no Kickstart ROM needed.
From Amiga Assembly

From the Motorola 68000 to the Amiga Hardware
Programming the Amiga, instruction by instruction
On Amazon
The Amazon link for this book is coming soon.
Amiga Assembly is a complete course in programming the Commodore Amiga the way the machine was actually programmed: in 68000 assembly language, on the bare metal, with the operating system switched off and the custom chips answering directly.
It begins at the first byte — what a register is, how hexadecimal and two’s complement work, how to set up vasm, vlink and an emulator on Windows, macOS or Linux — and it ends with two finished disks that boot on a real A500: Veldrin, a side-scrolling game, and Two Hundred and Twenty-Seven, a demo with copper bars, a scroller, bobs and music.
In between: the whole 68000 instruction set with measured cycle counts; bitplanes, the display window, and the constants that differ between PAL and NTSC; four thousand and ninety-six colours, Extra Half-Brite and HAM; the Copper, a coprocessor that waits for the beam; the Blitter, its four channels and its 256 functions; eight hardware sprites and where they really land; scrolling, dual playfield, and who wins each colour clock on a bus you share with the chips. Then interrupts and the vertical blank, the CIA timers, Paula, collision detection and chip RAM discipline. Then AGA, real hardware, floppy disks, and releasing your work.
What makes this book different is that it measures. The numbers here are not copied from a data sheet. Where a figure had to be simplified, the book prints what was left out.
For anyone who can already program a little and wants to understand a machine completely rather than approximately — whether that means writing a game, joining the demoscene, or finding out what a computer looks like when there is nothing between you and the hardware.
What makes this book different
All 244 figures were photographed from a running machine. If a figure shows a screen, the program that drew it is in the repository.
Cycle counts are timed, colour tables are generated and photographed, and the DMA slot table is built from what the machine actually does.
Every chapter ends with workshops, and every one of them is answered in full: 37 pages of worked solutions.
Everything boots under AROS, so no Kickstart image is required, redistributed or included.
Built in this book
A side-scrolling game for the Amiga 500, written on the bare metal with the operating system switched off. It boots from its own floppy, on a real A500 or in an emulator, with no Kickstart ROM needed.
From Amiga Assembly
A demo for the Amiga 500 in the old tradition of the scene — copper bars, a scroller, bobs and music, with its whole source printed and commented.
From Amiga Assembly
Contents
Errata
No errors have been reported for this edition yet.
Found a mistake? Open an issue on GitHub or write to info@codeandbooksweb.com, with the page number and what it should say.