sca-flake: VC³ 2025 snowflake in 94 bytes on the Amiga
Author: Saturnus the Invincible [STI\SCA]
Category: Christmas Challenge
System: Amiga
Language: Assembler
Len source code: 2179 bytes
Len exe file: 132 bytes
Len code only: 94 bytes
Instructions:
Run sca-flake from CLI on your Amiga 500 or use UAE.
Description:
Lazy as I am I didn't bother analyzing the symmetries of the snowflake beyond the obvious X and Y flip.
I used the same algo as on the C64, storing the data of one quadrant in a bit field and drawing four
mirrored versions. Since the Amiga has no character mode, I draw into a buffer and use the beloved BCPL
writeoutput ($e8) function to print the buffer to the CLI.
Comments:
I need to work on TC and Commodore went bankrupt in '94, so I didn't try to optimize any further.
See sca-flake.asm for documented source code.