andreasjhkarlsson / gbdk-n

gbdk libraries updated for newer versions of sdcc
174 stars 25 forks source link

Investigate alternative linker #8

Open andreasjhkarlsson opened 8 years ago

andreasjhkarlsson commented 8 years ago

There exists an alternative linker for sdcc that could maybe be used to overcome banked code problems.

http://www.tensi.eu/thomas/programming/asxxx-linker/asxxxlinker.html

pepijndevos commented 8 years ago

Looks good, but it seems more of a code dump than a maintained project. It seems to be a refactor of the SDCC linker, but I wonder why it's not upstreamed?

tommai78101 commented 5 years ago

@andreasjhkarlsson

Hi, is it okay if you can explain a bit more about the banked code problems in detail? If the issues were made in more detail, it may be possible to get GBDK-n integrated into GB Studio:

https://github.com/chrismaltby/gb-studio

basxto commented 4 years ago

Revision 11763 of SDCC adds support for banking with #pragma bank 1, RAM banking is still broken.

@tommai78101: makebin did not allows ROMs >32KiB and all banks had address 0x0000