Ghidra Processor for disassembling/"decompiling" Dreamcast VMU (Sanyo LC8670 "Potato") binaries
Currently this only works with raw .vms
binaries.
Copy the LC8670
folder into the $(GHIDRA_ROOT)/Ghidra/Processors/
directory; where $(GHIDRA_ROOT)
is the location of your Ghidra installation. You will probably need to restart Ghidra to have the LC8670
option appear when selecting the language option when importing a binary.
From the root of the repository, after modifying LC8670/data/languages/vmu.slaspec
; to regenerate the vmu.sla
file run:
${PATH_TO_GHIDRA}/support/sleigh LC8670/data/languages/vmu.slaspec
Where ${PATH_TO_GHIDRA}
is replaced with the path to the root of the Ghidra installation.
- Marcus Comstedt - Dreamcast Programming
- Dmitry Grinberg - VMU Hackery 2017
- Matthijs Poppe - Implementing a Brain F**k CPU in Ghidra
- Ghidra Project - https://github.com/NationalSecurityAgency/ghidra