Tag: commodore

  • 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…