scene.org File Archive

File download

<root>­/­parties­/­2023­/­vccc23­/­christmas-diamonds/issalig_cpc_basic_vc3-2023.zip

File size:
24 215 bytes (23.65K)
File date:
2024-01-03 14:15:18
Download count:
all-time: 7

Preview

  • ccc.bas 2.00K
  • ccc.dsk 199.75K
  • ccc.txt 137B
  • code.png 13.80K
  • file_id.diz 555B
  • result.png 12.49K

file_id.diz

Zigzag

Author: issalig
Category: The Main Challenge
System:   Amstrad CPC
Language: BASIC
Len source code: 137
Len exe file:   1024 (CPC minimum)
Len code only:   154
Instructions:
Install RetroVirtualMachine or WinAPE
Insert disk ccc.dsk
Then in BASIC type: RUN "CCC
Description:
3 zigzag lines and their reflections are drawn (aka 3 rectangles)
this is done 3 times resulting in a 3x3 grid
zigzag is done by ascending and descending changing direction when (x mod 3)==0

Comments:
I tried to make as small as possible but readable.