scene.org File Archive

File download

<root>­/­parties­/­2024­/­vccc24­/­christmas_challenge/club77_c64_basicv2_87b_vc3-2024.zip

File size:
98 508 bytes (96.20K)
File date:
2024-12-29 14:13:04
Download count:
all-time: 0

Preview

  • file_id.diz 774B
  • giftbox64.prg 89B
  • result.png 28.79K
  • source.png 69.73K
  • source.txt 91B

file_id.diz

GiftBox64

Author: Carlo Luciano Bianco (CLuB77)
Category: Christmas Challenge
System:   C64
Language: CBM BASIC v2
Len source code: 91 bytes
Len exe file:    89 bytes
Len code only:   87 bytes

Instructions:
Install vice, run x64sc, drag and drop the prg file into it.

Description:
First the bow is plotted separately. Then cycle X runs over the different columns of the image and the cycle Y runs over the different lines. The CHR$ code of the character to be printed is computed checking for X and Y the condition of being either 0, 9, 18 or not. At the end of each line an extra print produces the needed carriage return.


Comments:
I did not find a way to squeeze it in a single line, printing the bow takes too many characters for itself... :-(