Snowflake (MEGA65/4510 Assembler) Author: Geir Straume Category: Christmas Challenge System: MEGA65 Language: Assembler (ACME) Len source code: 2358 bytes (source with comments) Len exe file: 86 bytes Len code only: 68 bytes (excl. load address and BASIC stub) Instructions: Install the Xemu emulator (https://github.lgb.hu/xemu/) with a recent MEGA65 ROM version. Drag and drop "snowflake.prg" into the emulator window. Description: The program contains ten bytes of bit patterns which are used to display the rows of the snowflake on screen. Each byte is rotated left for the left part of a row, and then right for the right part. Self-modifying code is used to change the rotate instruction. The bit patterns are first used to display the upper rows, and then the lower rows. See commented source code for further implementation details.