ref: c7938cc7d368a68f73fe5cbb3a750172db70cf7a
parent: da88588636e2a296668e509ce8e614f51727a254
author: yenatch <[email protected]>
date: Tue Apr 29 13:43:24 EDT 2014
Split the mobile adapter library into another object file.
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,7 @@
CRYSTAL_OBJS := \
wram.o \
main.o \
+lib/mobile/main.o \
home.o \
audio.o \
maps_crystal.o \
--- a/lib/mobile/main.asm
+++ b/lib/mobile/main.asm
@@ -1,5 +1,10 @@
; A library included as part of the Mobile Adapter GB SDK.
+INCLUDE "gbhw.asm"
+
+
+SECTION "Main", ROMX
+
; known jump sources: 110004 (44:4004), 111bdd (44:5bdd), 111bfd (44:5bfd), 111c0e (44:5c0e), 111c7d (44:5c7d), 111cbd (44:5cbd), 111cf4 (44:5cf4), 111d30 (44:5d30)
Function110000: ; 110000 (44:4000)
ld a, [hli]
--- a/main.asm
+++ b/main.asm
@@ -104690,10 +104690,6 @@
INCLUDE "engine/title.asm"
-SECTION "bank44", ROMX, BANK[$44]
-
-INCLUDE "lib/mobile/main.asm"
-
SECTION "bank45", ROMX, BANK[$45]