gbdk-n icon indicating copy to clipboard operation
gbdk-n copied to clipboard

Investigate alternative linker

Open andreasjhkarlsson opened this issue 9 years ago • 3 comments

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

andreasjhkarlsson avatar Aug 16 '16 10:08 andreasjhkarlsson

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?

pepijndevos avatar Aug 16 '16 16:08 pepijndevos

@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

tommai78101 avatar Apr 26 '19 16:04 tommai78101

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

basxto avatar Jul 23 '20 11:07 basxto