In the web there is some solutions to make something-like megarom in SDCC. But they are not complete megaroms, they have a lot of limitations.
Now I have a real solution to make a megarom in SDCC and having the possiblity to call functions from one page to another efficiently (without a huge list of push and pops).
The solution is to make a custom linker to create the megarom. The linker it is not mine, I have found it searching in github (linker https://github.com/samsaga2/azombie/blob/master/util/k5link.cc)
I am developing a little roguelike game using that linker (the Makefile is linux only, sorry). There is no documentation, but you have my source code and I can answer any question about it.
Entrar ou registrar-se para comentar