Add a subdirectory for RAM files

This commit is contained in:
Rangi 2022-06-17 22:54:47 -04:00
parent edb55e00f8
commit ba15b4b44e
6 changed files with 10 additions and 14 deletions

View file

@ -11,8 +11,8 @@ rom_obj := \
home.o \
main.o \
maps.o \
ram.o \
text.o \
wram.o \
gfx/pics.o \
gfx/sprites.o \
gfx/tilesets.o

9
ram.asm Normal file
View file

@ -0,0 +1,9 @@
INCLUDE "constants.asm"
INCLUDE "macros/wram.asm"
INCLUDE "ram/vram.asm"
INCLUDE "ram/wram.asm"
INCLUDE "ram/sram.asm"
INCLUDE "ram/hram.asm"

View file

@ -1,11 +1,3 @@
INCLUDE "constants.asm"
INCLUDE "macros/wram.asm"
INCLUDE "vram.asm"
SECTION "Audio RAM", WRAM0
wUnusedC000:: db
@ -2337,8 +2329,3 @@ SECTION "Stack", WRAM0
; the stack grows downward
ds $100 - 1
wStack:: db
INCLUDE "sram.asm"
INCLUDE "hram.asm"