Open ijacquez opened 4 years ago
Hi,
The symbol file support in mgbdis is based on a combination of the output of RGBDS, some custom magic/reserved labels, and Nocash's documentation here:
Ah, I wouldn't have thought was from no$gba
. It's rather limited, unfortunately...
I have a few "hacks" that I can help integrate better into mgbdis
.
For example, in the .sym
file, I have:
00:C501 C501_SomeConstant
I pass --include-file constants.asm
to mgbdis
and in game.asm
, the constants.asm
file is included. In constants.asm
, I define C501_SomeConstant
:
C501_SomeConstant EQU $C501
This is to avoid breaking compatibility with no$gba
and BGB.
See gbdev/rgbds#483.
I can't seem to find more documentation on the
.sym
file format.Does
mgbdis
implement a subset of it?