diff options
author | mid-kid <esteve.varela@gmail.com> | 2019-10-21 00:27:34 +0200 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2019-10-21 00:42:36 +0200 |
commit | 86061d37d2aff18530d4340796c0799bb316e7f0 (patch) | |
tree | 2aeb40fb1c53f682cf722de345d1a50524440e21 /wram.asm | |
parent | f4907040c9f757960dd1e37c3c02a3c01824b1e1 (diff) |
More mobile SDK documentation
Labelled WRAM addresses, added constants for mobile commands, fixed some
mobile lib function names, documented most of the functions for specific
commands.
Diffstat (limited to 'wram.asm')
-rw-r--r-- | wram.asm | 21 |
1 files changed, 16 insertions, 5 deletions
@@ -731,6 +731,9 @@ wPuzzlePieces:: ds 6 * 6 wUnownPuzzleEnd:: NEXTU ; c608 +wMobileTransferData:: ds $1e0 + +NEXTU ; c608 ; This union spans 200 bytes from c608 to c6d0. UNION ; c608 @@ -759,7 +762,6 @@ wOddEggName:: ds MON_NAME_LENGTH wOddEggOTName:: ds NAME_LENGTH NEXTU ; c608 -; mobile data wc608:: ds 53 wc63d:: ds 5 wc642:: ds 5 @@ -1052,14 +1054,15 @@ wc80e:: ds 1 wc80f:: ds 1 wc810:: ds 1 wc811:: ds 1 -wc812:: ds 1 -wc813:: ds 1 +wMobileSDK_PacketChecksum:: dw ; c812 wc814:: ds 4 -wc818:: ds 6 +wMobileSDK_AdapterType:: db ; c818 + ds 5 wMobileSDK_SendCommandID:: db ; c81e ds 1 wc820:: ds 1 -wc821:: ds 47 +wc821:: ds 1 +wc822:: ds 46 UNION ; c850 wMysteryGiftTrainerData:: ds (1 + 1 + NUM_MOVES) * PARTY_LENGTH + 2 @@ -1126,6 +1129,13 @@ NEXTU ; ca00 ; link data ds 191 wcabf:: ds 1 + +NEXTU ; ca00 + ds $2f +wMobileSDK_ReceivePacketBufferAlt:: ds 11 ; ca2f +wMobileSDK_ReceivedBytes:: dw ; ca3a +wMobileSDK_ReceivePacketBuffer:: ; ca3c + ENDU ; cb00 ds 14 @@ -3066,6 +3076,7 @@ NEXTU ; dd68 w3_de00:: ds $200 ENDU ; e000 + SECTION "GBC Video", WRAMX, ALIGN[8] ; LCD expects wLYOverrides to have an alignment of $100 |