[x] Bring up an initial crt0/linkscript - based on LunarLambda's design.
[x] Port -MJ file.cc.json from Wonderful's gcc-ia16 fork to GCC 13, for compile_commands.json handling.
[x] Write a tool to adjust and configure the .gba file header.
[ ] Write an initial libgba (do not confuse with the other libgba - following convention here), covering low-level hardware access. For this initial bringup, code can be reused from the friendly-licensed gba-hpp, as well as agbabi.
[x] Write a linker wrapper (like we used to have for the wswan target) which can handle generating a linkscript dynamically as well as calling the ROM fixer.
This will allow implementing IWRAM overlays in a later stage without breaking Makefiles.
-MJ file.cc.json
from Wonderful'sgcc-ia16
fork to GCC 13, forcompile_commands.json
handling..gba
file header.libgba
(do not confuse with the otherlibgba
- following convention here), covering low-level hardware access. For this initial bringup, code can be reused from the friendly-licensedgba-hpp
, as well asagbabi
.wswan
target) which can handle generating a linkscript dynamically as well as calling the ROM fixer.