scene.org File Archive

File download

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

File size:
99 697 bytes (97.36K)
File date:
2024-01-03 14:15:17
Download count:
all-time: 2

Preview

  • dRpRodiGy_C64_BasicV2_vc3-2023/ dir
  • dRpRodiGy_C64_BasicV2_vc3-2023/dRpRodiGy_C64_BasicV2_vc3-2023-code.png 49.31K
  • dRpRodiGy_C64_BasicV2_vc3-2023/dRpRodiGy_C64_BasicV2_vc3-2023-code.txt 110B
  • dRpRodiGy_C64_BasicV2_vc3-2023/dRpRodiGy_C64_BasicV2_vc3-2023-result.png 46.22K
  • dRpRodiGy_C64_BasicV2_vc3-2023/dRpRodiGy_C64_BasicV2_vc3-2023.prg 101B
  • dRpRodiGy_C64_BasicV2_vc3-2023/file_id.diz 1.25K

file_id.diz

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!