diff options
author | ISSOtm <eldredhabert0@gmail.com> | 2018-05-27 01:04:28 +0200 |
---|---|---|
committer | ISSOtm <eldredhabert0@gmail.com> | 2018-05-27 01:04:28 +0200 |
commit | c48cf5565c9ece114d41abc913e7649e118ca4e6 (patch) | |
tree | 67572fcaaaa0727b999f4503aea1a292321858b0 | |
parent | 775d9f7ef0f8436039567e9071cd39c405e998b5 (diff) |
Move home to its own file
-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 - |