~thestr4ng3r/rz-commodore

Commodore-related plugins for Rizin including VICE remote debugging, BASIC Disassembly and sprite viewing
Add C=v command for VIC II state inspection
Fix req_id confusion in VICE Monitor write error
Update for changes in rizin

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~thestr4ng3r/rz-commodore
read/write
git@git.sr.ht:~thestr4ng3r/rz-commodore

You can also use your local clone with git send-email.

rz-commodore logo

#rz-commodore

rz-commodore is a collection of plugins for Rizin related to classic Commodore 8-bit computers such as the C64.

Notable features include:

  • VICE emulator remote debugging through its binary monitor protocol
  • Commodore BASIC Disassembly
  • Sprite rendering on the command line

#Building

Install Rizin, then do:

cmake -Bbuild -DCMAKE_INSTALL_PREFIX=~/.local
make -Cbuild
make -Cbuild install

#Usage

#Commands

[0x00000000]> C=?
Usage: C=<s?>   # Commodore stuff :-)
| C=s [<mode>]     # Display 64-byte VIC-II Sprite
| C=Vll <filename> # Load VICE labels as flags (like ll/load_labels in VICE monitor)

#Commodore BASIC Disassembly

e asm.arch=cbm-basic

#VICE Remote Debugging

Start e.g. x64sc and enable the binary monitor. Then attach like this:

rz -a 6502 -d vice://127.0.0.1:6502

For convenience, 127.0.0.1:6502 is used by default if no address is given:

rz -a 6502 -d vice://

Then use Rizin's regular debugging features.

#About

Copyright (C) 2020-2021 Florian Märkl

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.