scene.org File Archive

File download

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

File size:
362 072 bytes (353.59K)
File date:
2024-01-03 14:15:18
Download count:
all-time: 1

Preview

  • file_id.diz 778B
  • rauten.prg 112B
  • result.png 130.92K
  • source.png 226.50K
  • source.txt 140B

file_id.diz

Lazy Rhombus

Author: Gregor Schillinger / Miyagi1980 / RetroArts
Category: Christmas Challenge
System:   C64
Language: BASICV2
Len source code: 112 bytes
Len exe file:    <# bytes>
Len code only:   <# bytes>
Instructions:
Install vice, drag and drop the prg file into it
Description:
The inner loop pokes the character 42 at start position 1225 and increments the distance "A" (READ from DATA) to the next position "P" of each symbol of one rhombus. 
The outer loop repeats this three times for each rhombus while correcting the position by -237 and another loop for the three rows by correcting position +222 to get the output at the right place.
Comments:
Aside of a short code, my goal was to avoid a more complex mathematical algorithm for the drawing. :-)