We take a look at the useful debugging commands built into Commodore 128 BASIC, such as TRAP, HELP, and TRON.
TRON animations by Darren Foulds, creator of C64 game 1NVADER: https://darrenfoulds.itch.io/1nvader
Watch “Bit Pair” - TRON song video: https://www.youtube.com/watch?v=Appmg64tZB0
Index:
0:00 Intro
0:24 HELP - shows where error is
1:04 EL = error line, ER = error number
1:35 All the C128 errors: ERR$()
2:33 TRAP - similar to TRY/CATCH in modern programming languages
5:35 Custom error responses
6:45 TRON, TROFF - Trace On/Off
8:25 DS$ = Disk Status
It’s fun to program your 8-bit computer with code!
52 Comments