scene.org File Archive

File download

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

File size:
424 815 bytes (414.86K)
File date:
2025-12-30 23:34:07
Download count:
all-time: 2

Screenshot (by Demozoo)

Screenshot

Preview

  • file_id.diz 835B
  • result.png 7.44K
  • snowflake.bin 35B
  • snowflake.s 4.84K
  • snowflake.tap 118B
  • snowflake_no_comments.s 468B
  • source.png 408.86K

file_id.diz

Snowflake

Author:   neon / darklite
Category: Christmas Challenge
System:   ZX Spectrum
Language: Assembler
Len source code: 468
Len exe file:    118 (tape image)
Len code only:   35

Instructions:
Load the .tap file in any ZX Spectrum emulator or run on a real
machine using DivMMC or similar.

Description:
The code plots the snowflake from a bitmap. See the source for details.

Comments:
The tap file contains a pretty standard but unoptimized BASIC
launcher. If you just want to look at the compiled program, see the
bin file.

The assembler from SDCC is used to assemble the file. I use my own
linker, but to build manually with SDCC you can use this:

  $ sdasz80 -o snowflake.rel snowflake.s
  $ sdcc --code-loc 0xdc02 --no-std-crt0 snowflake.rel
  $ makebin -s 56357 -p snowflake.ihx - | dd bs=1 skip=0xdc02 of=snowflake.bin