Josip Retro Bits | Commodore 64 REM Statement Bugs and Riddles | Commodore Basic 2.0 @JosipRetroBits | Uploaded June 2022 | Updated October 2024, 6 hours ago.
This is a very interesting bug in commodore basic that can be used in several ways. In one case this bug causes the listing of a basic code to fail but
in another case, you can create some magical riddles using a REM Statement.
✔ Code that causes the listing of a basic code to fail
1 rem {shift}L
❅ List of some poke commands that effect listing of bacic code:
poke 775,167 - Enable List Command
poke 775,168 - Disable List Command
poke 775,200 - Disable List Command
poke 775,171 - Causes Computer to Crash If a LIST Command is Attempted
poke 22,35 - Hide Line Numbers
poke 774,0 - With List Command, Shows Only Line Numbers
poke 774,141 - With List Command, Vanishes Completely (Default Value 774,26)
poke 774,64 - List protection (also works on C128)
poke 774,255 - List protection
❅ Commodore 64 BASIC tokens: sta.c64.org/cbm64basins2.html
❤ Commodore 64 REM Statement Magic...Riddles (Bread Box Commodore Computer Museum)
youtube.com/watch?v=g2Zv4Di1PhI
☕ If You like this video you can buy me a coffee: ko-fi.com/josipretrobits ☕
CHECK OUT MY OTHER COMMODORE/ACORN VIDEOS:
🕹️ Commodore 64 Programming: youtube.com/playlist?list=PLT0ijfj8mLN7G_Et0DGaVxcVK3N2EpnYk
🕹️ Commodore 64 Hardware Videos: youtube.com/playlist?list=PLT0ijfj8mLN6JTkWianAanzEgLCaA0zFE
🕹️ Commodore 64 Plus/4 Videos: youtube.com/playlist?list=PLT0ijfj8mLN7ioE3wBPYsu32V6Vs9goib
🕹️ Acorn Electron Videos: youtube.com/playlist?list=PLT0ijfj8mLN5n1GNlJPZn3CW7o3hRf7Jv
🕹️ Commodore 64 Games: youtube.com/playlist?list=PLT0ijfj8mLN6yuzbYo6MnQifgUEM08t83
This is a very interesting bug in commodore basic that can be used in several ways. In one case this bug causes the listing of a basic code to fail but
in another case, you can create some magical riddles using a REM Statement.
✔ Code that causes the listing of a basic code to fail
1 rem {shift}L
❅ List of some poke commands that effect listing of bacic code:
poke 775,167 - Enable List Command
poke 775,168 - Disable List Command
poke 775,200 - Disable List Command
poke 775,171 - Causes Computer to Crash If a LIST Command is Attempted
poke 22,35 - Hide Line Numbers
poke 774,0 - With List Command, Shows Only Line Numbers
poke 774,141 - With List Command, Vanishes Completely (Default Value 774,26)
poke 774,64 - List protection (also works on C128)
poke 774,255 - List protection
❅ Commodore 64 BASIC tokens: sta.c64.org/cbm64basins2.html
❤ Commodore 64 REM Statement Magic...Riddles (Bread Box Commodore Computer Museum)
youtube.com/watch?v=g2Zv4Di1PhI
☕ If You like this video you can buy me a coffee: ko-fi.com/josipretrobits ☕
CHECK OUT MY OTHER COMMODORE/ACORN VIDEOS:
🕹️ Commodore 64 Programming: youtube.com/playlist?list=PLT0ijfj8mLN7G_Et0DGaVxcVK3N2EpnYk
🕹️ Commodore 64 Hardware Videos: youtube.com/playlist?list=PLT0ijfj8mLN6JTkWianAanzEgLCaA0zFE
🕹️ Commodore 64 Plus/4 Videos: youtube.com/playlist?list=PLT0ijfj8mLN7ioE3wBPYsu32V6Vs9goib
🕹️ Acorn Electron Videos: youtube.com/playlist?list=PLT0ijfj8mLN5n1GNlJPZn3CW7o3hRf7Jv
🕹️ Commodore 64 Games: youtube.com/playlist?list=PLT0ijfj8mLN6yuzbYo6MnQifgUEM08t83