File download
- File size:
- 123 027 bytes (120.14K)
Preview
- serato_C64_basic_77b_vc3-2024/box.basic.txt 107B
- serato_C64_basic_77b_vc3-2024/box.prg 79B
- serato_C64_basic_77b_vc3-2024/file_id.diz 689B
- serato_C64_basic_77b_vc3-2024/result.png 56.32K
- serato_C64_basic_77b_vc3-2024/source.png 69.62K
file_id.diz
77 byte Christmas Present in C64 Basic
Author: Serato / Finnish Gold
Category: Christmas Challenge
System: C64
Language: C64 Basic V2
Len source code: 107
Len exe file: 79
Len code only: 77
Instructions:
Load BOX.PRG into emulator
Description:
The first line is printed directly, using SPC() to indent.
The rest of the box is calculated implicitly by iterating X and Y from -9 to 9
and testing each for = 9 * SGN(). These boolean results are combined with
boolean and math operators to form a result from 1-4. This selects a character
using MID$("-+ !").
The original submission of this PRG had an extraneous $a on the end of the file
so the reported file size was incorrect.