[Feature proposal] Weak sections #985
Labels
enhancement
Typically new features; lesser priority than bugs
rgbasm
This affects RGBASM
rgblink
This affects RGBLINK
[Note: proposal taken from the debate in gbdev's #asm on 2022-03-02.]
Fixing some data across many banks is easy. For instance, consider placing the current bank number at the end of each ROMX bank:
However, this has the side effect of extending the ROM to add banks that contain nothing but this fixed data, which will most likely be irrelevant for those otherwise unused banks.
Therefore, a new section type could be created (like
SECTION UNION
andSECTION FRAGMENT
), which for this proposal I'll callSECTION WEAK
:Semantics:
WEAK
is a kind of section, it doesn't combine withUNION
andFRAGMENT
. This is intentional. (If this combination would be desirable,WEAK
could be made an attribute, likeBANK
orALIGN
.)The text was updated successfully, but these errors were encountered: