scene.org File Archive

File download

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

File size:
59 559 bytes (58.16K)
File date:
2025-12-30 23:34:07
Download count:
all-time: 3

Preview

  • file_id.diz 843B
  • sca-flake 132B
  • sca-flake-out.png 1.55K
  • sca-flake-src.png 56.08K
  • sca-flake.asm 2.13K
  • sca-flake.dis 1.24K

file_id.diz

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.