VCCC 2025 - ASM Snowflake on Apple II
Author: Colin Leroy-Mira <colin@colino.net>
Category: Christmas Challenge
System: Apple II
Len source code: 1890
Len exe file: 74
Len code only: 73
Instructions:
Run the prebuilt .po disk image with your Apple II emulator
of choice, ie:
mame apple2e vccc.po
Description:
The binary is installed on the .po floppy image as a boot sector.
The easiest way to test it is to point your emulator of choice
to the vccc.po file.
The source code will be available at:
https://github.com/colinleroy/vccc2025
One quarter of the snowflake is encoded as bits in a nine-byte
array.
The array is parsed once and the stars output as pairs of
pairs, to apply horizontal and vertical symmetry around line
9 and column 9. The two stars at 9,0 and 9,18 are special-cased
to avoid having to use more than one byte per line.
Comments:
Thanks, it was a fun challenge. I can't wait to see how much
less bytes can perform the same task!