mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-03-22 01:54: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.
64 lines
703 B
NASM
64 lines
703 B
NASM
INCLUDE "constants.asm"
|
|
|
|
SECTION "VRAM", VRAM
|
|
|
|
UNION
|
|
|
|
vChars0:: ; 8000
|
|
ds $80 tiles
|
|
|
|
vChars1:: ; 8800
|
|
ds $80 tiles
|
|
|
|
vChars2:: ; 9000
|
|
ds $80 tiles
|
|
|
|
NEXTU
|
|
|
|
; Battle/menu
|
|
vSprites:: ; 8000
|
|
ds $80 tiles
|
|
|
|
vFont:: ; 8800
|
|
ds $80 tiles
|
|
|
|
vFrontPic:: ; 9000
|
|
ds 7 * 7 tiles
|
|
|
|
NEXTU
|
|
|
|
vNPCSprites:: ; 8000
|
|
ds $80 tiles
|
|
|
|
vNPCSprites2:: ; 8800
|
|
ds $80 tiles
|
|
|
|
vTileset:: ; 9000
|
|
; ds $60 tiles
|
|
ds $20 tiles
|
|
|
|
vExteriorTileset:: ; 9200
|
|
ds $40 tiles
|
|
vTilesetEnd:: ; 9600
|
|
|
|
NEXTU
|
|
|
|
ds $80 tiles
|
|
|
|
vTitleLogo:: ; 8800
|
|
ds $80 tiles
|
|
|
|
;vFrontPic:: ; 9000
|
|
ds 7 * 7 tiles
|
|
|
|
vTitleLogo2:: ; 9310
|
|
; TODO: what size?
|
|
|
|
ENDU
|
|
|
|
|
|
vBGMap0:: ; 9800
|
|
ds BG_MAP_WIDTH * BG_MAP_HEIGHT
|
|
|
|
vBGMap1:: ; 9c00
|
|
ds BG_MAP_WIDTH * BG_MAP_HEIGHT |