Tag: ram

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