scene.org File Archive

File download

<root>­/­parties­/­2022­/­vccc22­/­christmas_star_challenge/ruguevara_zx_basic_vc3-2022.zip

File size:
8 369 bytes (8.17K)
File date:
2022-12-30 11:32:13
Download count:
all-time: 8

Preview

  • __MACOSX/._file_id.diz.nfo 176B
  • __MACOSX/._snowstar.png 120B
  • __MACOSX/._source.png 120B
  • __MACOSX/._source.txt 176B
  • file_id.diz.nfo 797B
  • snowstar.bas 379B
  • snowstar.png 3.01K
  • snowstar.tap 104B
  • source.png 3.31K
  • source.txt 152B

file_id.diz

Snowstar

Author: Ruguevara
Category: Christmas Challenge
System:   ZX Spectrum 48
Language: BASIC
Len source code: 104 bytes (including tap format header)
Len exe file:  79 bytes (excluding tap format header)
Len code only: 79 bytes
Instructions:
Just load the tap file by means of an any ZX Spectrum 48 emulator or by the command LOAD ""
Description:
Code works like a modern GPU shader: for every character it transforms its X, Y coordinates to boolean value and based on it it prints either space or asterisk. So the program consists of constants assigments, two nested loops on coordinates (from -8 to 8 both), and one print operator with the formula doing aforementioned tranformation. Code was optimized for BASIC binary size, so it is written in one line.
Comments:
Have a Happy New Year!
Mac OS X        	2~°ATTR°  com.apple.lastuseddate#PSj&¨c;Æ|$