Ghidra Processor support for Nintendo Game Boy.
Based on Z80 processor Sleigh that comes with Ghidra, modified to Game Boy CPU according to this table of differences.
For your convenience, the .sla
has been prebuilt. Simply copy GameBoy
directory to Ghidra\Processors\
and reopen Ghidra.
If you make modifications to the .slaspec
, you need to rebuild the .sla
. This can be done as follows from your Ghidra directory:
cd support
sleigh.bat -a ../Ghidra/Processors/GameBoy/data/languages
When importing your Game Boy ROM, set Language
to GameBoy
, then click Options
, set Block Name
to CART
, and set Length
to 0x4000
. This will import the first bank of the Game Boy ROM.