dRpRodiGy_C64_BasicV2_vc3-2023 Author: dR.pRodiGy Category: Christmas Challenge System: Commodore 64 Language: BASIC v2 (+ Kernal calls) Len source code: 99 bytes (as reported by C64 `?FRE(0)+65536`) Len exe file: - Len code only: - Instructions: Method 1 - Copy code (dRpRodiGy_C64_BasicV2_vc3-2023-code.txt) to clipboard - Run VICE (C64) - Paste code to Vice (menu Edit -> Paste) - Press [Shift]+[Clr/Home] (*) - type RUN[Return] Method 2 - Run VICE (C64) - Load program (menu File -> Smart attach... -> choose dRpRodiGy_C64_BasicV2_vc3-2023.prg) - Press [Shift]+[Clr/Home] (*) - type RUN[Return] (*) = this is optional, but suggested for the code doesn't clear the screen Description: Through a number of nested loops, the code prints a triangular wave and then its inverse for 3 times, moving down 6 rows each time. To do so, PLOT Kernal routine ($FFF0) is used to position the cursor before printing asterisks. At the end of the job, it restarts doing it from the beginning (gO = GOTO 0), over and over, so [Run/Stop] ([Esc] on PC+Vice) is required to end it. The code uses BASIC v2 abbreviations, but even expanded it suits into 80 columns, so can still be easily edited. Comments: Always love your old computers.. I do! Thank you, Merry XMas to you and everyone!