Skip to content

c1570/cbmbasicVariableDumper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Commodore Basic V2 Variable Dumper

This tool dumps the current run-time variables of a basic program. It uses a memory dump for this purpose or it can connect to the vice monitor via a socket.

https://github.com/c1570/cbmbasicVariableDumper is a fork of https://github.com/pararaum/cbmbasicVariableDumper .

New features:

  • print strings in arrays
  • mark strings located in string stack with "*"
  • list string stack garbage (will be collected by Garbage Collection)
  • handle PRG memory dumps, too

Usage

Reading a memory dump

A memory dump of a C64 should contain at least the addresses $0000 to $9fff. For example:

cbmbasicvardump.py memory.dump

This will try to read all the variables which where defined at the momemt the dump was created.

Connect to vice

Vice (x64) must be running and the option "Enable remote monitor server" must be enabled. Then issueing a

cbmbasicvardump.py --connect localhost:6510

will create a dump in the temporary directory for your convenience called "c64.XXXXXXX.dump" and immediately dump all variables.

About

This tool dumps the current run-time variables of a basic program. It uses a memory dump for this purpose.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%