Five Dimensions, One Print - Diagonal Pattern
Author: Francesco Sblendorio / BBS Retrocampus
Category: <Christmas Challenge>
System: <C64, C16, Plus4, VIC20, C128>
Language: <Commodore BASIC>
Len source code: 181
Len exe file: 134
Len code only: 132
Instructions:
Run x64sc from VICE, drag and drop stars.prg into it.
It will work also on other 8-bit commodore but the starting address is different, so in those cases do copy-and-past source code from editor into emulator.
Description:
Basically manages a single "diagonal line" of 3 or 4 asterisks (depending on the case), repeting it in various conditions depending on one of the five nested cycles.
Comments:
Pure BASIC, it works only on 8-bit Commodores just because of CHR$(147) and CHR$(19) control characters (clear screen and go to (0,0) screen coordinates).