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 +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]