I'm trying to disassemble some Sega Master System roms.
In order to do so, I've checked for the extra 512 bytes from old roms and once I was sure they weren't there, I proceeded to run radare2 on one of them, like so:
r2 -A somerom.sms
Radare2 correctly detects the file signature and loads it as z80 code, however when I go into visual mode, it shows the instructions as byte wide offsets (adding a lot of garbage instructions at each invalid address) but the z80 pc has 2 bytes wide steps/instructions.
My question would be: Is there a way to filter those extra addresses so the code can be displayed correctly?
I've tried using:
r2 -A -b 16 somerom.sms
but it doesn't change anything.