scene.org File Archive

File download

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

File size:
17 529 bytes (17.12K)
File date:
2025-12-30 23:34:07
Download count:
all-time: 1

Preview

  • code.png 9.08K
  • file_id.diz 665B
  • result.png 11.94K
  • vc3.bas 169B
  • vc3.dsk 199.75K

file_id.diz

Oneliner symmetries

Author: issalig
Category: Christmas Challenge
System:   Amstrad CPC
Language: Locomotive BASIC
Len source code: 169
Len exe file:    187
Len code only:   168
Instructions:
Install RetroVirtualMachine or WinAPE
Insert disk vc3.dsk
Then in BASIC type: RUN "VC3
Description:
It draws a snowflake. It makes use of quadrant symmetries (ABS) and pattern in defined in an array (DATA).
Then, it uses a function to get the character * (ascii 42) or space (ascii 32). Central row is always stars.
In particular, the function is 
    (42+10*(((A*B=0)OR(D(A)AND 2^(B-1)))=0)) 
Comments:
For otaining Len exe code iDSK vc3.dsk -b vc3.bas