bdc77320040e722c651d24436393c8cffe2ad77e
Playfield
This is a conversion of a piece of code from the Amiga Hardware Reference Manual - Second Printing - July 1986 (page 55) - under the heading "examples of forming basic playfields"
Essentially it is a translation of Motorola 68000 assembly to C language code, utilising SDL2 obviously instead of banging the metal directly to display the output.
Compilation
cc playfield.c -lSDL2 -lm
Author
Jason Bou-Samra
For Fun, Not Status
Languages
C
59.4%
Assembly
40.6%