mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-04-13 13:25:56 -05:00
Addresses of sections will now be added to the linkerscript via `org`, and the section name will be the path/to/file. If there is more than one section in the file, then add a @SectionName after the path/to/file to describe the section.
15 lines
354 B
NASM
15 lines
354 B
NASM
INCLUDE "constants.asm"
|
|
|
|
SECTION "Sprite Buffers", SRAM
|
|
|
|
sSpriteBuffer0:: ds SPRITEBUFFERSIZE ; a000
|
|
sSpriteBuffer1:: ds SPRITEBUFFERSIZE ; a188
|
|
sSpriteBuffer2:: ds SPRITEBUFFERSIZE ; a310
|
|
|
|
SECTION "Unknown, bank 0", SRAM
|
|
|
|
s0_a600:: ; TODO: properly label this
|
|
ds 7 ; TODO: figure out exact size
|
|
|
|
SECTION "Window Stack Top", SRAM
|
|
sWindowStackTop:: dw |