diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | home.asm | 20 | ||||
-rw-r--r-- | main.asm | 4 |
3 files changed, 21 insertions, 5 deletions
@@ -6,7 +6,7 @@ ROMS := pokegold-spaceworld.gb BASEROM := baserom.gb -OBJS := main.o wram.o +OBJS := home.o main.o wram.o # Link objects together to build a rom. all: $(ROMS) compare diff --git a/home.asm b/home.asm new file mode 100644 index 0000000..e737f78 --- /dev/null +++ b/home.asm @@ -0,0 +1,20 @@ + +SECTION "Entry point", ROM0[$100] + nop + jp Init + +SECTION "Global check value", ROM0[$14E] +; The ROM has an incorrect global check, so set it here +; It is not corrected by RGBFIX + db $21, $C6 + + +SECTION "VBlank handler", ROM0[$150] + ; TODO + + +SECTION "Init", ROM0[$52F] + +Init: + di + xor a
\ No newline at end of file @@ -1,4 +0,0 @@ -SECTION "Init", ROM0[$100] - nop - jp $52f - |