Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 4D50
- Disk 0x785C8 (LBA25)
- LBA 25: 1DC000-1E0D17 (Size: 0x4D18)
- Copy
- 1DD060-1DD177 (Offset 0x1060 of LBA 25)
- to
- 1D9C30-1D9D47 (Size: 0x118)
- Var0x0 - Var0x4
- Var0x8 - Var0xC
- 801C6F30 - Copy 64DD LBA Block?
- Args:
- A0 = Destination
- S0/A1 = Offset
- S1/A2 = Size
- 801C7E80 - Read whatever 64DD stuff?
- A2 = Var0x0 - Var0x4
- T1 = Var0x0 + A2
- T0 = Var0x8 - Var0xC
- SP 8011F0C8
- $SP + 0x20 = T0
- $SP + 0x18 = T1
- $SP + 0x24 = A2
- Data:
- -LBA 25 Offset 0x1060- Memory Patch
- 0x0 - Source Start (Base Offset 0x1DC000)
- 0x4 - Source End
- 0x8 - Destination Start (Memory Address)
- 0xC - Destination End (Memory Address)
- 0x10 - Pointer to Pointer to routine
- 800FB4E0 - VROM Replacement Disk (part of "code" file)
- 9 entries by default (thx Zoinkity)
- 0x0 - VROM1 Start
- 0x4 - VROM1 End
- 0x8 - VROM2 Start
- 0xC - VROM2 End
- 0x10 - unknown
- 0x11 - unknown
- 0x12 - >0 = load from disk
- 0x13 - written, 0 = loaded from cart, 1 = loaded from disk
- 80121220 - Pointer to Disk function pointers (Zoinkity)
- +0 in 800AD4C0
- after calling, sets 80121220 = p->table of these function pointers
- +4 in 800AD51C
- if 64dd hooked, call this function and set detection byte to 0
- +C ???; called later in 8009CEEC
- +10 ???; called in 8009A750, near start
- +14 ???; called at end of 8009A5C0
- +18 ???; called at start of 8006C340
- accepts: A0=[8011BF10, which is p->800F72D8]
- +1C ???; called in 8006C2CC, second, before setting 8011BF10 = 0
- accepts: A0=[8011BF10]
- +20 ???; called at end of 8006C340
- +24 ???; called in 8006C2CC, first
- +28 at 8006C0D0; replacement for 0x976000 (map_i_static)
- accepts: A0, ???
- +2C ???; called at end of 80066DF0
- +30 ???; called in 80066EC0 with A0 = 8011BF00 before setting 8011BF00 = 0
- accepts: A0=[8011BF00]
- +3C ???; called at end of 8005BACC
- +40 ???; sole purpose of 8005BC44
- +44
- +48 in 8009CEEC
- V0 = p->entry replacing entry A0 in table A1
- accepts: A0=index, A1=p->table [800FB4E0]
- incoming entries are 0x14 long; if entry[12] > 0, appears to replace
- +54 ???; called in 8009A750, and if V0 skips calling 80056C70(S1)
- accepts: A0
- +58 ???; called in 800E162C
- accepts: A0=[80112E34 = 8010A94C], A1=[80112E38 = 8010EA8C], A2=[80112E3C = 80112CAC]
- +60 called in 800DC838; if V0, replaces cart load from 0x966000 (staff_message_data_static)
- accepts: A0, ???
- +64 called in 800DC838; if V0, replaces cart load from 0x8EB000 (jpn_message_data_static)
- accepts: A0, ???
- +68 called in 800DC838; if V0, replaces cart load from 0x92D000 (nes_message_data_static)
- accepts: A0, ???
- +6C ???; called in 80082790
- accepts: A0, A1=[800FBD18, a table of function pointers]
- +70 ???; called in 80000D28
- accepts: A0=, A1, A2, A3, SP+10, SP+14, SP+18
- +74 ???; called in 800A0BD0
- accepts: A0
- +78 V0 = p->data in bank+offset A1 in table A2
- accepts: A0=p->struct, A1=entry, A2=p->table [800EFE14]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement