SHARE
TWEET

Attack Helicopter Disassembly

a guest Nov 13th, 2019 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. 0x000CC0 - 0x000CC7 (1)
  3.     Zelda AHE1.ips
  4. Unused space
  5. 3A 30 30 30 35 36 38 3A
  6.  
  7.  
  8. 0x000CD0 - 0x000CDF (1)
  9.     Zelda AHE1.ips
  10. Unused space
  11. 3F 37 37 37 39 3C 3D 3F A9 10 8D 0C 40 4C 25 98
  12.  
  13. A9 10      LDA #$10
  14. 8D 0C 40   STA $400C
  15. 4C 25 98   JMP $9825
  16.  
  17.  
  18. 0x000CF0 - 0x000CF7 (1)
  19.     Zelda AHE1.ips
  20. Unused space
  21. 0F 0F 0F 0F 0F 0D 0F 0D
  22.  
  23.  
  24. 0x000D10 - 0x000D49 (1)
  25.     Zelda AHE1.ips
  26. Unused space
  27. A5 E1 F0 03 4C C8 8C AD 28 06 D0 03 4C C8 8C CE 29 06 F0 03 4C 40 8D AD 6D 06 D0 13 AD 60 06 F0 06 CE 60 06 4C 2F 8D A9 00 8D 28 06 4C C8 8C CE 6D 06 A9 F0 8D 29 06 4C 40 8D
  28.  
  29. A5 E1      LDA $E1
  30. F0 03      BEQ $0007
  31. 4C C8 8C   JMP $8CC8
  32. AD 28 06   LDA $0628
  33. D0 03      BNE $000F
  34. 4C C8 8C   JMP $8CC8
  35. CE 29 06   DEC $0629
  36. F0 03      BEQ $0017
  37. 4C 40 8D   JMP $8D40
  38. AD 6D 06   LDA $066D
  39. D0 13      BNE $002F
  40. AD 60 06   LDA $0660
  41. F0 06      BEQ $0027
  42. CE 60 06   DEC $0660
  43. 4C 2F 8D   JMP $8D2F
  44. A9 00      LDA #$00
  45. 8D 28 06   STA $0628
  46. 4C C8 8C   JMP $8CC8
  47. CE 6D 06   DEC $066D
  48. A9 F0      LDA #$F0
  49. 8D 29 06   STA $0629
  50. 4C 40 8D   JMP $8D40
  51.  
  52.  
  53. 0x000D50 - 0x000D6F (1)
  54.     Zelda AHE1.ips
  55. Unused space (ASM)
  56.  
  57. AD 29 06   LDA $0629
  58. 29 07      AND #$07
  59. A8         TAY
  60. B9 C0 8C   LDA $8CC0,Y
  61. 8D 0C 40   STA $400C
  62. B9 E0 8C   LDA $8CE0,Y
  63. 8D 0E 40   STA $400E
  64. A9 00      LDA #$00
  65. 8D 0F 40   STA $400F
  66. 4C 25 98   JMP $9825
  67. FF         FF
  68. FF         FF
  69. FF         FF
  70. 20 00 8D   JSR $8D00
  71.  
  72.  
  73.  
  74. 0x0048F7 - 0x0048F9 (1)
  75.     Zelda AHE1.ips
  76. 48E7: AD 6D06   LDA $066D   ; Number of Rupees
  77.  
  78. 4C 52 B7
  79. JMP $B752
  80.  
  81.  
  82. 0x0049A2 - 0x0049A4 (1)
  83.     Zelda AHE1.ips
  84. 4992: AD 6D06   LDA $066D   ; Number of Rupees
  85.  
  86. 4C 70 B7
  87. JMP $B770
  88.  
  89. 0x004B9B (1)
  90.     Zelda AHE1.ips
  91. 64
  92. (Increases max amount of bombs to $64?)
  93.  
  94.  
  95. 0x00654B - 0x00654D (1)
  96.     Zelda AHE1.ips
  97. 653B: AD 6D06   LDA $066D   ; Number of Rupees
  98.  
  99. 4C 80 DC
  100. JMP $DC80
  101.  
  102. 0x007762 - 0x00776F (1)
  103.     Zelda AHE1.ips
  104. UNUSED SPACE
  105. AD 60 06   LDA $0660
  106. F0 03      BEQ $0008
  107. 4C EF 88   JMP $88EF
  108. AD 6D 06   LDA $066D
  109. 4C EA 88   JMP $88EA
  110.  
  111. AD 60 06 F0 03 4C EF 88 AD 6D 06 4C EA 88
  112.  
  113.  
  114. 0x007780 - 0x00778D (1)
  115.     Zelda AHE1.ips
  116. UNUSED SPACE
  117. AD 60 06   LDA $0660
  118. F0 03      BEQ $0008
  119. 4C 99 89   JMP $8999
  120. AD 6D 06   LDA $066D
  121. 4C 95 89   JMP $8995
  122.  
  123. AD 60 06 F0 03 4C 99 89 AD 6D 06 4C 95 89
  124.  
  125.  
  126. 0x009F5C (1)
  127.     Zelda AHE1.ips
  128. Related to save slots?
  129. 9F4B: A9 08 LDA #$08    ; A = 08
  130.  
  131. A9 37
  132. LDA #$37
  133.  
  134.  
  135.  
  136. 0x00AF94 (1)
  137.     Zelda AHE1.ips
  138. UNUSED SPACE?
  139. 37
  140.  
  141. 0x010F86 (1)
  142.     Zelda AHE1.ips
  143. UNKNOWN
  144. 60
  145.  
  146. 0x01146B (1)
  147.     Zelda AHE1.ips
  148. 1145A: A9 40    LDA #$40    ; A = 40
  149.  
  150. A9 20
  151. LDA #$20
  152.  
  153.  
  154. 0x01211D (1)
  155.     Zelda AHE1.ips
  156. UNUSED SPACE?
  157. 10
  158.  
  159. 0x015337 (1)
  160.     Zelda AHE1.ips
  161. UNKNOWN?
  162. 10
  163.  
  164.  
  165.  
  166. 0x01ACBD - 0x01ACBF (1)
  167.     Zelda AHE1.ips
  168. 1ACCA: Unused Space? (1286 bytes)
  169. 5A 5A 5A
  170.  
  171.  
  172.  
  173. 0x01D322 - 0x01E00F (1)
  174.     Zelda AHE1.ips
  175. CODE FOR >255 RUPEES!
  176. (Everything in between the code in this range is filled with FFs)
  177.  
  178. $D313:  1D323
  179. A4 12      LDY $12
  180. B9 C0 DF   LDA $DFC0,Y
  181. D0 03      BNE $D32D
  182. 20 80 DF   JSR $DF80
  183. 4C 84 E4   JMP $E484
  184.  
  185. $DC80:  1DC90
  186. AD 6D 06   LDA $066D
  187. F0 1A      BEQ $DC9F    (BEQ $1A)
  188. C9 FF      CMP #$FF
  189. D0 16      BNE $DC9F    (BNE $16)
  190. CD 60 06   CMP $0660
  191. D0 11      BNE $DC9F    (BNE $11)
  192. A9 00      LDA #$00
  193. 8D 7D 06   STA $067D
  194. F0 0A      BEQ $DC9F    (BNE $0A)
  195. AD 60 06   LDA $0660
  196. D0 05      BNE $DC9F    (BNE $05)
  197. A9 00      LDA #$00
  198. 8D 7E 06   STA $067E
  199. A5 15      LDA $15  <--- $DC9F
  200. 4A         LSR A
  201. 90 01      BCC $0025
  202. 60         RTS
  203. AD 7D 06   LDA $067D    <--- $DCA5
  204. F0 10      BEQ $DCBA    (BNE $10)
  205. CE 7D 06   DEC $067D
  206. EE 6D 06   INC $066D
  207. D0 03      BNE $DCB5    (BNE $03)
  208. EE 60 06   INC $0660
  209. A9 10      LDA #$10 <--- $DCB5
  210. 8D 04 06   STA $0604
  211. AD 7E 06   LDA $067E    <--- $DCBA
  212. F0 15      BEQ $DCD4    (BNE $15)
  213. CE 7E 06   DEC $067E
  214. CE 6D 06   DEC $066D
  215. A9 FF      LDA #$FF
  216. CD 6D 06   CMP $066D
  217. D0 03      BNE $DCCF    (BNE $03)
  218. CE 60 06   DEC $0660
  219. A9 10      LDA #$10 <--- $DCCF
  220. 8D 04 06   STA $0604
  221. 4C 00 6D   JMP $6D00    <--- $DCD4
  222.  
  223. $DF80:  1DF90
  224. AD 60 06   LDA $0660
  225. A8         TAY
  226. 29 F0      AND #$F0
  227. 4A         LSR A
  228. 4A         LSR A
  229. 4A         LSR A
  230. 4A         LSR A
  231. AA         TAX
  232. 98         TYA
  233. 29 0F      AND #$0F
  234. A8         TAY
  235. AD 02 20   LDA $2002
  236. A9 20      LDA #$20
  237. 8D 06 20   STA $2006
  238. A9 8D      LDA #$8D
  239. 8D 06 20   STA $2006
  240. 8E 07 20   STX $2007
  241. AD 02 20   LDA $2002
  242. A9 20      LDA #$20
  243. 8D 06 20   STA $2006
  244. A9 8E      LDA #$8E
  245. 8D 06 20   STA $2006
  246. 8C 07 20   STY $2007
  247. 60         RTS
  248.  
  249. $DFC0:  1DFD0
  250. 01 01 01 01 00 00 00 00 01 00 00 00 00 01 01 01 00 00 00 01
  251.  
  252. $DFE0:  1DFF0
  253. AD 6D 06   LDA $066D
  254. D0 0B      BNE $DFF0
  255. AD 60 06   LDA $0660
  256. D0 03      BNE $DFED
  257. 4C 45 FF   JMP $FF45
  258. CE 60 06   DEC $0660    <--- $DFED
  259. CE 6D 06   DEC $066D    <--- $DFF0
  260. A9 F0      LDA #$F0
  261. 8D 29 06   STA $0629
  262. A9 01      LDA #$01
  263. 60         RTS
  264.  
  265.  
  266.  
  267. 0x01E572 - 0x01E573 (1)
  268.     Zelda AHE1.ips
  269. NMI code:
  270. 1E561: 20 2598  JSR $9825
  271.  
  272. 20 00 8D
  273. JSR $8D00
  274.  
  275.  
  276. 0x01EC4C - 0x01EC51 (1)
  277.     Zelda AHE1.ips
  278. UNKNOWN?
  279.  
  280. AD 28 06   LDA $0628
  281. 20 43 FF   JSR $FF43
  282.  
  283. AD 28 06 20 43 FF
  284.  
  285.  
  286. 0x01ED67 - 0x01ED69 (1)
  287.     Zelda AHE1.ips
  288. 4C 62 ED
  289. JMP $ED62
  290.  
  291. 0x01F126 - 0x01F128 (1)
  292.     Zelda AHE1.ips
  293. 4C C0 FF
  294. JMP $FFC0
  295.  
  296.  
  297. 0x01F875 - 0x01F877 (1)
  298.     Zelda AHE1.ips
  299. 4C 7D F8
  300. JMP $F87D
  301.  
  302.  
  303. 0x01FF53 - 0x01FF5F (1)
  304.     Zelda AHE1.ips
  305. $FF43:
  306. 49 01      EOR #$01
  307. 8D 28 06   STA $0628
  308. D0 01      BNE $FF4B
  309. 60         RTS
  310. 4C E0 DF   JMP $DFE0 <--- $FF4B
  311. EA         NOP
  312. EA         NOP
  313.  
  314. 49 01 8D 28 06 D0 01 60 4C E0 DF EA EA
  315.  
  316.  
  317.  
  318. 0x01FFD0 - 0x01FFFA (1)
  319.     Zelda AHE1.ips
  320. $FFC0:
  321. 48         PHA
  322. AD 28 06   LDA $0628
  323. F0 04      BEQ $000A
  324. E0 00      CPX #$00
  325. F0 07      BEQ $FFD0
  326. 68         PLA
  327.  
  328. 48 AD 28 06 F0 04 E0 00 F0 07 68
  329.  
  330.  
  331. 0x02000A - 0x02000F (1)
  332.     Zelda AHE1.ips
  333. UNKNOWN?
  334. 13 D3 50 FF F0 FF
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