summaryrefslogtreecommitdiff
path: root/linker_scripts/final/extra.ld
blob: 74a533edd950d99ce3e5fd07e1287228ec2ce8f3 (plain)
1
2
3
4
5
6
7
ENTRY(entrypoint);

ASSERT ((_bootSegmentRomEnd <= 0x101000), "Error: _bootSegmentRomEnd is larger than 1 MB");

// TODO: This should be checking for an address a lot earlier than this one.
ASSERT ((_buffersSegmentEnd < 0x80780000), "Error: The game is overflowing the RAM limit for non-overlay segments.");
ASSERT ((_framebuffer_hiSegmentStart == 0x80780000), "Error: framebuffer_hi shifted?");