summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-09-15 18:56:25 -0400
committeryenatch <yenatch@gmail.com>2013-09-15 18:58:37 -0400
commit0ce5c4fe9327180aed48275d61c56e21eee473f7 (patch)
treed4b7490fa0cce150a269798d4cc38d7c38673114
parent013c6fc368ecedc8ea00e031503ed56ef6427772 (diff)
split the mobile adapter library into lib/mobile/
-rw-r--r--lib/mobile/main.asm17
-rw-r--r--main.asm16
2 files changed, 19 insertions, 14 deletions
diff --git a/lib/mobile/main.asm b/lib/mobile/main.asm
new file mode 100644
index 000000000..584f5bd37
--- /dev/null
+++ b/lib/mobile/main.asm
@@ -0,0 +1,17 @@
+; A library included as part of the Mobile Adapter GB SDK.
+
+INCBIN "baserom.gbc", $110000, $110fad - $110000
+
+URIPrefix: ; 0x110fad
+ ascii "http://"
+HTTPDownloadURL: ; 0x110fb4
+ ascii "gameboy.datacenter.ne.jp/cgb/download"
+HTTPUploadURL: ; 0x110fd9
+ ascii "gameboy.datacenter.ne.jp/cgb/upload"
+HTTPUtilityURL: ; 0x110ffc
+ ascii "gameboy.datacenter.ne.jp/cgb/utility"
+HTTPRankingURL: ; 0x111020
+ ascii "gameboy.datacenter.ne.jp/cgb/ranking"
+
+INCBIN "baserom.gbc", $111044, $113f84 - $111044
+
diff --git a/main.asm b/main.asm
index 245ca6553..6624fc044 100644
--- a/main.asm
+++ b/main.asm
@@ -79682,20 +79682,8 @@ TitleScreenPalettes:
SECTION "bank44",ROMX,BANK[$44]
-INCBIN "baserom.gbc", $110000, $110fad - $110000
-
-URIPrefix: ; 0x110fad
- ascii "http://"
-HTTPDownloadURL: ; 0x110fb4
- ascii "gameboy.datacenter.ne.jp/cgb/download"
-HTTPUploadURL: ; 0x110fd9
- ascii "gameboy.datacenter.ne.jp/cgb/upload"
-HTTPUtilityURL: ; 0x110ffc
- ascii "gameboy.datacenter.ne.jp/cgb/utility"
-HTTPRankingURL: ; 0x111020
- ascii "gameboy.datacenter.ne.jp/cgb/ranking"
-
-INCBIN "baserom.gbc", $111044, $113f84 - $111044
+INCLUDE "lib/mobile/main.asm"
+
SECTION "bank45",ROMX,BANK[$45]