-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NES] Move aligned buffers to .aligned_buffers at 0x200
The NES typically has noinit buffers of high alignment; given its paucity of RAM, this risks wasting a ton of space. Typically these buffers are placed immediately after the hard stack at 0x200, so this change change creates an `.aligned_buffers` section there. OAM_BUF, VRAM_BUF, and PAL_BUF in the SDK are placed there, with alignments 256, 128, and 32, respectively. The linker already sorts by decreasing alignment, so no space is then ever wasted for these buffers. Fixes #219 Fixes #229
- Loading branch information
1 parent
e7ce558
commit b3c6a27
Showing
4 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters