-
Bach 2-part invention number 1 for Commodore 128 BASIC
Background A while ago I transcribed Bach’s 2-part Number 1 for Commodore 128 BASIC. It was a lot slower process than I remember, but reminded me why I didn’t do much of it back when I had my Commodore 128. But the Bach 2 and 3 part inventions are pretty much the perfect pieces for…
-
Running a Commodore VICE emulator on a remote Ubuntu Linux machine with Xfvb
The Challenge I want to have a Commodore 128 VICE emulator start up, run some arbitrary BASIC code, and get a snapshot of the output. There are a few settings configurable from the command line to accomplish this: +sound (without this option you will get and error “pa_simple_new(): Connection refused” because you’re *probably* not going…
-
Self-Modifying Code on a Commodore VIC-20
Note: All code listings are in lower case so that they are pastable into the VICE emulator. Otherwise, you will get graphics/uppercase PETSCII characters on paste. Examining the structure of how the BASIC code is stored User program RAM is in locations 4096 to 7680 (decimal) on a VIC 20. The storage format of the…