ref: 0ce5c4fe9327180aed48275d61c56e21eee473f7
parent: 013c6fc368ecedc8ea00e031503ed56ef6427772
author: yenatch <[email protected]>
date: Sun Sep 15 14:56:25 EDT 2013
split the mobile adapter library into lib/mobile/
--- /dev/null
+++ b/lib/mobile/main.asm
@@ -1,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
+
--- a/main.asm
+++ b/main.asm
@@ -79682,20 +79682,8 @@
SECTION "bank44",ROMX,BANK[$44]
-INCBIN "baserom.gbc", $110000, $110fad - $110000
+INCLUDE "lib/mobile/main.asm"
-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
SECTION "bank45",ROMX,BANK[$45]