pokegold-spaceworld/sram.asm
luckytyphlosion e1659ecd41 Introduce linkerscript.
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.
2018-07-03 17:07:05 -04:00

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