scene.org File Archive

File download

<root>­/­parties­/­2021­/­vintagecomputingchristmaschallenge21­/­challenge/keyj_spectrum_vc3-2021.zip

File size:
5 366 bytes (5.24K)
File date:
2021-12-25 12:55:53
Download count:
all-time: 18

Preview

  • tree2.bas 118B
  • tree2.png 1.33K
  • tree2.tap 138B
  • tree2_readme.txt 784B
  • tree2_src.png 1.58K

file_id.diz

A simple VCCC2021 entry.

Author:   KeyJ <keyj@emphy.de>
Platform: Sinclair ZX Spectrum (any version)
Language: Sinclair BASIC
Length:   It's complicated!
          -  76 bytes (pure BASIC tokens)
          - 118 bytes (BASIC source in ASCII)
          - 113 bytes (BASIC program image in memory)
          - 138 bytes (.tap file with header)
Run with: fuse tree2.tap

This is an almost trivial implementation; the only noteworthy thing
about it is the misuse of a string variable as data storage, because
Sinclair BASIC stores both the floating-point and text representation
of numerical constants in program memory, which makes the .tap file
larger than it would need to be when using e.g. a DATA statement.

                                                                 -- KeyJ