scene.org File Archive

File download

<root>­/­parties­/­2025­/­vccc25­/­christmas_challenge/mephisztoe_commodorec64_basicv2_335b_vc3-2025.zip

File size:
274 249 bytes (267.82K)
File date:
2025-12-30 23:34:07
Download count:
all-time: 2

Preview

  • Compo_VCCC2025_Mephisztoe-Snowflake.png 263.00K
  • Compo_VCCC2025_Mephisztoe-Snowflake_Code.png 27.60K
  • file_id.diz 815B
  • main.bas 386B
  • slowflak.prg 335B

file_id.diz

Slowflake V1.0

Author: Mephisztoe
Category: Christmas Challenge
System:   C64
Language: BASIC
Len source code: 386
Len prg file:    355

Instructions:
Just drag and drop the .prg file into VICE for instance, but any C64 emulator should do the trick.

Description:
Because the snowflake is axisymmetric, the code stores only the upper left quadrant as inverted bytes
that contain bit patterns with 1 representing a star. The rest of the code is simply iterating over
the data and poking the characters directly to the screen - with some "mirroring" involved which 
basically transforms the slow BASIC program execution into a somewhat nice experience.

Comments:
"Nice experience", haha. I wasn't able to do it in assembly, so I made it so as if it was meant to be slow, lol. 

Merry Christmas!