SHARE
TWEET

64DD Zelda stuff

LuigiBlood Sep 2nd, 2016 141 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 4D50
  2.  
  3. Disk 0x785C8 (LBA25)
  4.  
  5. LBA 25: 1DC000-1E0D17 (Size: 0x4D18)
  6.  
  7.  
  8. Copy
  9. 1DD060-1DD177 (Offset 0x1060 of LBA 25)
  10. to
  11. 1D9C30-1D9D47 (Size: 0x118)
  12.  
  13. Var0x0 - Var0x4
  14. Var0x8 - Var0xC
  15.  
  16. 801C6F30 - Copy 64DD LBA Block?
  17. Args:
  18. A0 = Destination
  19. S0/A1 = Offset
  20. S1/A2 = Size
  21.  
  22. 801C7E80 - Read whatever 64DD stuff?
  23. A2 = Var0x0 - Var0x4
  24. T1 = Var0x0 + A2
  25. T0 = Var0x8 - Var0xC
  26.  
  27. SP 8011F0C8
  28. $SP + 0x20 = T0
  29. $SP + 0x18 = T1
  30. $SP + 0x24 = A2
  31.  
  32. Data:
  33. -LBA 25 Offset 0x1060- Memory Patch
  34. 0x0 - Source Start (Base Offset 0x1DC000)
  35. 0x4 - Source End
  36. 0x8 - Destination Start (Memory Address)
  37. 0xC - Destination End (Memory Address)
  38. 0x10 - Pointer to Pointer to routine
  39.  
  40.  
  41. 800FB4E0 - VROM Replacement Disk (part of "code" file)
  42. 9 entries by default (thx Zoinkity)
  43.  
  44. 0x0 - VROM1 Start
  45. 0x4 - VROM1 End
  46. 0x8 - VROM2 Start
  47. 0xC - VROM2 End
  48. 0x10 - unknown
  49. 0x11 - unknown
  50. 0x12 - >0 = load from disk
  51. 0x13 - written, 0 = loaded from cart, 1 = loaded from disk
  52.  
  53. 80121220 - Pointer to Disk function pointers (Zoinkity)
  54.  +0 in 800AD4C0
  55.     after calling, sets 80121220 = p->table of these function pointers
  56.  +4 in 800AD51C
  57.     if 64dd hooked, call this function and set detection byte to 0
  58.  +C ???; called later in 8009CEEC
  59.  +10    ???; called in 8009A750, near start
  60.  +14    ???; called at end of 8009A5C0
  61.  +18    ???; called at start of 8006C340
  62.     accepts: A0=[8011BF10, which is p->800F72D8]
  63.  +1C    ???; called in 8006C2CC, second, before setting 8011BF10 = 0
  64.     accepts: A0=[8011BF10]
  65.  +20    ???; called at end of 8006C340
  66.  +24    ???; called in 8006C2CC, first
  67.  +28    at 8006C0D0; replacement for 0x976000 (map_i_static)
  68.     accepts: A0, ???
  69.  +2C    ???; called at end of 80066DF0
  70.  +30    ???; called in 80066EC0 with A0 = 8011BF00 before setting 8011BF00 = 0
  71.     accepts: A0=[8011BF00]
  72.  +3C    ???; called at end of 8005BACC
  73.  +40    ???; sole purpose of 8005BC44
  74.  +44
  75.  +48    in 8009CEEC
  76.     V0 = p->entry replacing entry A0 in table A1
  77.     accepts: A0=index, A1=p->table [800FB4E0]
  78.     incoming entries are 0x14 long; if entry[12] > 0, appears to replace
  79.  +54    ???; called in 8009A750, and if V0 skips calling 80056C70(S1)
  80.     accepts: A0
  81.  +58    ???; called in 800E162C
  82.     accepts: A0=[80112E34 = 8010A94C], A1=[80112E38 = 8010EA8C], A2=[80112E3C = 80112CAC]
  83.  +60    called in 800DC838; if V0, replaces cart load from 0x966000 (staff_message_data_static)
  84.     accepts: A0, ???
  85.  +64    called in 800DC838; if V0, replaces cart load from 0x8EB000 (jpn_message_data_static)
  86.     accepts: A0, ???
  87.  +68    called in 800DC838; if V0, replaces cart load from 0x92D000 (nes_message_data_static)
  88.     accepts: A0, ???
  89.  +6C    ???; called in 80082790
  90.     accepts: A0, A1=[800FBD18, a table of function pointers]
  91.  +70    ???; called in 80000D28
  92.     accepts: A0=, A1, A2, A3, SP+10, SP+14, SP+18
  93.  +74    ???; called in 800A0BD0
  94.     accepts: A0
  95.  +78    V0 = p->data in bank+offset A1 in table A2
  96.     accepts: A0=p->struct, A1=entry, A2=p->table [800EFE14]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top