Advertisement
LuigiBlood

Force 64DD detection, ignore some disk details

Jan 4th, 2015
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.90 KB | None | 0 0
  1. Force 64DD detection, and ignore a few disk details
  2.  
  3. 0000000000000000 <LeoCJCreateLeoManager>:
  4. 0: 27bdff78 addiu $sp,$sp,-136
  5. 4: 3c0e0000 lui $t6,0x0
  6. 8: 8dce0000 lw $t6,0($t6)
  7. c: afbf0014 sw $ra,20($sp)
  8. 10: afa40088 sw $a0,136($sp)
  9. 14: afa5008c sw $a1,140($sp)
  10. 18: afa60090 sw $a2,144($sp)
  11. 1c: 11c00003 beqz $t6,2c <LeoCJCreateLeoManager+0x2c>
  12. 20: afa70094 sw $a3,148($sp)
  13. 24: 1000007f b 224 <LeoCJCreateLeoManager+0x224>
  14. 28: 00001025 move $v0,$zero
  15. 2c: 0c000000 jal 0 <LeoCJCreateLeoManager>
  16. 30: 00000000 nop
  17. 34: 14400003 bnez $v0,44 <LeoCJCreateLeoManager+0x44>
  18. 38: 00000000 nop
  19. 3c: 10000079 b 224 <LeoCJCreateLeoManager+0x224>
  20. 40: 24020029 li $v0,41
  21. 44: 0c000000 jal 0 <LeoCJCreateLeoManager>
  22. 48: 00000000 nop
  23. 4c: 0c000000 jal 0 <LeoCJCreateLeoManager>
  24. 50: 00000000 nop
  25. 54: 240f0001 li $t7,1
  26. 58: 3c010000 lui $at,0x0
  27. 5c: 3c050000 lui $a1,0x0
  28. 60: 3c060000 lui $a2,0x0
  29. 64: afa20084 sw $v0,132($sp)
  30. 68: ac2f0000 sw $t7,0($at)
  31. 6c: 24c60ff0 addiu $a2,$a2,4080
  32. 70: 24a50000 addiu $a1,$a1,0
  33. 74: 0c000000 jal 0 <LeoCJCreateLeoManager>
  34. 78: 24040001 li $a0,1
  35. 7c: 8fa40088 lw $a0,136($sp)
  36. 80: 8fa5008c lw $a1,140($sp)
  37. 84: 8fa60090 lw $a2,144($sp)
  38. 88: 0c000000 jal 0 <LeoCJCreateLeoManager>
  39. 8c: 8fa70094 lw $a3,148($sp)
  40. 90: 3c180000 lui $t8,0x0
  41. 94: 8f180000 lw $t8,0($t8)
  42. 98: 24010001 li $at,1
  43. 9c: 57010004 bnel $t8,$at,b0 <LeoCJCreateLeoManager+0xb0>
  44. a0: 24190002 li $t9,2
  45. a4: 0c000000 jal 0 <LeoCJCreateLeoManager>
  46. a8: 00000000 nop
  47. ac: 24190002 li $t9,2
  48. b0: a3b9006c sb $t9,108($sp)
  49. b4: a3a0006d sb $zero,109($sp)
  50. b8: a3a0006e sb $zero,110($sp)
  51. bc: a3a0006f sb $zero,111($sp)
  52. c0: 0c000000 jal 0 <LeoCJCreateLeoManager>
  53. c4: 27a4006c addiu $a0,$sp,108
  54. c8: 3c0100ff lui $at,0xff
  55. cc: 3421ffff ori $at,$at,0xffff
  56. d0: 27a7006c addiu $a3,$sp,108
  57. d4: 00e14024 and $t0,$a3,$at
  58. d8: afa80024 sw $t0,36($sp)
  59. dc: 8fa90024 lw $t1,36($sp)
  60. e0: 3c020000 lui $v0,0x0
  61. e4: 24420000 addiu $v0,$v0,0
  62. e8: 1920000c blez $t1,11c <LeoCJCreateLeoManager+0x11c>
  63. ec: 3c0100ff lui $at,0xff
  64. f0: 3421ffff ori $at,$at,0xffff
  65. f4: 00415024 and $t2,$v0,$at
  66. f8: 3c010040 lui $at,0x40
  67. fc: 34213df4 ori $at,$at,0x3df4
  68. 100: 01411025 or $v0,$t2,$at
  69. 104: 8fac0024 lw $t4,36($sp)
  70. 108: 01826823 subu $t5,$t4,$v0
  71. 10c: afad0024 sw $t5,36($sp)
  72. 110: 8fae0024 lw $t6,36($sp)
  73. 114: 5dc0fffc bgtzl $t6,108 <LeoCJCreateLeoManager+0x108>
  74. 118: 8fac0024 lw $t4,36($sp)
  75. 11c: 93af0070 lbu $t7,112($sp)
  76. 120: 24020008 li $v0,8
  77. 124: 24090006 li $t1,6
  78. 128: 144f0004 bne $v0,$t7,13c <LeoCJCreateLeoManager+0x13c>
  79. 12c: 24010004 li $at,4
  80. 130: 93b80070 lbu $t8,112($sp)
  81. 134: 5058ffff beql $v0,$t8,134 <LeoCJCreateLeoManager+0x134>
  82. 138: 93b80070 lbu $t8,112($sp)
  83. 13c: 93b90070 lbu $t9,112($sp)
  84. 140: 3c020000 lui $v0,0x0
  85. 144: 24420000 addiu $v0,$v0,0
  86. 148: 53200004 beqzl $t9,15c <LeoCJCreateLeoManager+0x15c>
  87. 14c: 93a80079 lbu $t0,121($sp)
  88. 150: 10000034 b 224 <LeoCJCreateLeoManager+0x224>
  89. 154: 93a20071 lbu $v0,113($sp)
  90. 158: 93a80079 lbu $t0,121($sp)
  91. 15c: 93aa0078 lbu $t2,120($sp)
  92. 160: 93ab007a lbu $t3,122($sp)
  93. 164: a0480000 sb $t0,0($v0)
  94. 168: 90430000 lbu $v1,0($v0)
  95. 16c: a0490001 sb $t1,1($v0)
  96. 170: a04a0002 sb $t2,2($v0)
  97. 174: 306c000f andi $t4,$v1,0xf
  98. 178: 01801825 move $v1,$t4
  99. 17c: 15810004 bne $t4,$at,190 <LeoCJCreateLeoManager+0x190>
  100. 180: a04b0003 sb $t3,3($v0)
  101. 184: 3c010000 lui $at,0x0
  102. 188: 10000025 b 220 <LeoCJCreateLeoManager+0x220>
  103. 18c: ac200000 sw $zero,0($at)
  104. 190: 24010003 li $at,3
  105. 194: 10610003 beq $v1,$at,1a4 <LeoCJCreateLeoManager+0x1a4>
  106. 198: 8fa40084 lw $a0,132($sp)
  107. 19c: 24010001 li $at,1
  108. 1a0: 1461001d bne $v1,$at,218 <LeoCJCreateLeoManager+0x218>
  109. 1a4: 3c050009 lui $a1,0x9
  110. 1a8: 34a5ff00 ori $a1,$a1,0xff00
  111. 1ac: 27a60028 addiu $a2,$sp,40
  112. 1b0: 0c000000 jal 0 <LeoCJCreateLeoManager>
  113. 1b4: afa7001c sw $a3,28($sp)
  114. 1b8: 8fa30028 lw $v1,40($sp)
  115. 1bc: 3c01ff00 lui $at,0xff00
  116. 1c0: 3c0f3ed9 lui $t7,0x3ed9
  117. 1c4: 00616824 and $t5,$v1,$at
  118. 1c8: 000d1e02 srl $v1,$t5,0x18
  119. 1cc: 35ef8f23 ori $t7,$t7,0x8f23
  120. 1d0: 240100c3 li $at,195
  121. 1d4: 8fa7001c lw $a3,28($sp)
  122. 1d8: 10610003 beq $v1,$at,1e8 <LeoCJCreateLeoManager+0x1e8>
  123. 1dc: afaf0020 sw $t7,32($sp)
  124. 1e0: 1000ffff b 1e0 <LeoCJCreateLeoManager+0x1e0>
  125. 1e4: 00000000 nop
  126. 1e8: 8fb80020 lw $t8,32($sp)
  127. 1ec: 3c0ae848 lui $t2,0xe848
  128. 1f0: 354ad316 ori $t2,$t2,0xd316
  129. 1f4: 03030019 multu $t8,$v1
  130. 1f8: 3c010000 lui $at,0x0
  131. 1fc: ac2a0000 sw $t2,0($at)
  132. 200: 0000c812 mflo $t9
  133. 204: afb90020 sw $t9,32($sp)
  134. 208: 8fa80020 lw $t0,32($sp)
  135. 20c: 01074823 subu $t1,$t0,$a3
  136. 210: 10000003 b 220 <LeoCJCreateLeoManager+0x220>
  137. 214: afa90020 sw $t1,32($sp)
  138. 218: 1000ffff b 218 <LeoCJCreateLeoManager+0x218>
  139. 21c: 00000000 nop
  140. 220: 00001025 move $v0,$zero
  141. 224: 8fbf0014 lw $ra,20($sp)
  142. 228: 27bd0088 addiu $sp,$sp,136
  143. 22c: 03e00008 jr $ra
  144.  
  145.  
  146. Change
  147. 34: 14400003 bnez $v0,44 <LeoCJCreateLeoManager+0x44> //detect
  148. 1a0: 1461001d bne $v1,$at,218 <LeoCJCreateLeoManager+0x218>
  149. 1e0: 1000ffff b 1e0 <LeoCJCreateLeoManager+0x1e0> //region
  150. 1f4: 03030019 multu $t8,$v1
  151. to
  152. 34: 10000003 b 44 <LeoCJCreateLeoManager+0x44>
  153. 1a0: 14610000 bne $v1,$at,1a4 <LeoCJCreateLeoManager+0x1a4>
  154. 1e0: 10000000 b 1e4 <LeoCJCreateLeoManager+0x1e4>
  155. 1f4: 03240019 multu $t8,$at
  156.  
  157. '<bh:bd><bh:ff>x\<<bh:0e>
  158.  
  159. [16:57] <Zoinkity> Actually, if it hits LEO_SENSE_TRACK_FOLLOWING_ERROR when reading 0xE then it reads 0xF
  160. [16:58] <@Seru-kun> Well, I can put 0xD instead there
  161. [16:58] <@Seru-kun> Since Disk ID is at 0xD & 0xE
  162. [16:58] <@Seru-kun> on a blue disk
  163.  
  164. 0000000000000000 <leomain>:
  165. 0: 27bdffb8 addiu $sp,$sp,-72
  166. 4: afbf0024 sw $ra,36($sp)
  167. 8: afb30020 sw $s3,32($sp)
  168. c: afb2001c sw $s2,28($sp)
  169. 10: afb10018 sw $s1,24($sp)
  170. 14: afb00014 sw $s0,20($sp)
  171. 18: afa40048 sw $a0,72($sp)
  172. 1c: 3c0ea000 lui $t6,0xa000
  173. 20: 91cf0010 lbu $t7,16($t6)
  174. 24: 3c020000 lui $v0,0x0
  175. 28: 24420000 addiu $v0,$v0,0
  176. 2c: 3c18a000 lui $t8,0xa000
  177. 30: a04f0000 sb $t7,0($v0)
  178. 34: 93190090 lbu $t9,144($t8)
  179. 38: 3c08a000 lui $t0,0xa000
  180. 3c: 3c0aa000 lui $t2,0xa000
  181. 40: a0590001 sb $t9,1($v0)
  182. 44: 91090110 lbu $t1,272($t0)
  183. 48: 3c010000 lui $at,0x0
  184. 4c: 3c0c0000 lui $t4,0x0
  185. 50: a0490002 sb $t1,2($v0)
  186. 54: 914b0190 lbu $t3,400($t2)
  187. 58: 258c0000 addiu $t4,$t4,0
  188. 5c: a04b0003 sb $t3,3($v0)
  189. 60: ac200000 sw $zero,0($at)
  190. 64: 3c010000 lui $at,0x0
  191. 68: ac200000 sw $zero,0($at)
  192. 6c: 3c010000 lui $at,0x0
  193. 70: a0200000 sb $zero,0($at)
  194. 74: 0c000000 jal 0 <leomain>
  195. 78: a1800000 sb $zero,0($t4)
  196. 7c: 0c000000 jal 0 <leomain>
  197. 80: 00000000 nop
  198. 84: 3c030000 lui $v1,0x0
  199. 88: 3c070000 lui $a3,0x0
  200. 8c: 3c0e0000 lui $t6,0x0
  201. 90: 24e70000 addiu $a3,$a3,0
  202. 94: 24630000 addiu $v1,$v1,0
  203. 98: 240d0001 li $t5,1
  204. 9c: 25ce0000 addiu $t6,$t6,0
  205. a0: 3c050500 lui $a1,0x500
  206. a4: ace20000 sw $v0,0($a3)
  207. a8: a06d0002 sb $t5,2($v1)
  208. ac: ac6e0004 sw $t6,4($v1)
  209. b0: 34a50508 ori $a1,$a1,0x508
  210. b4: 00402025 move $a0,$v0
  211. b8: 0c000000 jal 0 <leomain>
  212. bc: 27a60044 addiu $a2,$sp,68
  213. c0: 8fa30044 lw $v1,68($sp)
  214. c4: 3c010680 lui $at,0x680
  215. c8: 00037a40 sll $t7,$v1,0x9
  216. cc: 05e00005 bltz $t7,e4 <leomain+0xe4>
  217. d0: 0061c024 and $t8,$v1,$at
  218. d4: 13000003 beqz $t8,e4 <leomain+0xe4>
  219. d8: 00000000 nop
  220. dc: 0c000000 jal 0 <leomain>
  221. e0: 00000000 nop
  222. e4: 3c110000 lui $s1,0x0
  223. e8: 26310000 addiu $s1,$s1,0
  224. ec: 2413002b li $s3,43
  225. f0: 24120002 li $s2,2
  226. f4: 3c040000 lui $a0,0x0
  227. f8: 24840000 addiu $a0,$a0,0
  228. fc: 02202825 move $a1,$s1
  229. 100: 0c000000 jal 0 <leomain>
  230. 104: 24060001 li $a2,1
  231. 108: 8e230000 lw $v1,0($s1)
  232. 10c: 3c010000 lui $at,0x0
  233. 110: 3c040001 lui $a0,0x1
  234. 114: 90790000 lbu $t9,0($v1)
  235. 118: ac390000 sw $t9,0($at)
  236. 11c: 90680000 lbu $t0,0($v1)
  237. 120: 1500000a bnez $t0,14c <leomain+0x14c>
  238. 124: 00000000 nop
  239. 128: 0c000000 jal 0 <leomain>
  240. 12c: 00000000 nop
  241. 130: 3c040000 lui $a0,0x0
  242. 134: 24840000 addiu $a0,$a0,0
  243. 138: 00002825 move $a1,$zero
  244. 13c: 0c000000 jal 0 <leomain>
  245. 140: 00003025 move $a2,$zero
  246. 144: 1000ffeb b f4 <leomain+0xf4>
  247. 148: 00000000 nop
  248. 14c: 0c000000 jal 0 <leomain>
  249. 150: 34840001 ori $a0,$a0,0x1
  250. 154: 0c000000 jal 0 <leomain>
  251. 158: 00408025 move $s0,$v0
  252. 15c: 00401825 move $v1,$v0
  253. 160: 14400005 bnez $v0,178 <leomain+0x178>
  254. 164: afa20044 sw $v0,68($sp)
  255. 168: 16000017 bnez $s0,1c8 <leomain+0x1c8>
  256. 16c: 00000000 nop
  257. 170: 10000043 b 280 <leomain+0x280>
  258. 174: 00000000 nop
  259. 178: 24010003 li $at,3
  260. 17c: 12010012 beq $s0,$at,1c8 <leomain+0x1c8>
  261. 180: 24010025 li $at,37
  262. 184: 12010010 beq $s0,$at,1c8 <leomain+0x1c8>
  263. 188: 24010029 li $at,41
  264. 18c: 1201000e beq $s0,$at,1c8 <leomain+0x1c8>
  265. 190: 00000000 nop
  266. 194: 1213000c beq $s0,$s3,1c8 <leomain+0x1c8>
  267. 198: 24010031 li $at,49
  268. 19c: 16010007 bne $s0,$at,1bc <leomain+0x1bc>
  269. 1a0: 00000000 nop
  270. 1a4: 0c000000 jal 0 <leomain>
  271. 1a8: 00000000 nop
  272. 1ac: 14530006 bne $v0,$s3,1c8 <leomain+0x1c8>
  273. 1b0: 00000000 nop
  274. 1b4: 10000004 b 1c8 <leomain+0x1c8>
  275. 1b8: 02608025 move $s0,$s3
  276. 1bc: 0c000000 jal 0 <leomain>
  277. 1c0: 00000000 nop
  278. 1c4: 00408025 move $s0,$v0
  279. 1c8: 1213001f beq $s0,$s3,248 <leomain+0x248>
  280. 1cc: 2401002f li $at,47
  281. 1d0: 12010005 beq $s0,$at,1e8 <leomain+0x1e8>
  282. 1d4: 24010031 li $at,49
  283. 1d8: 5201000f beql $s0,$at,218 <leomain+0x218>
  284. 1dc: 8e230000 lw $v1,0($s1)
  285. 1e0: 10000037 b 2c0 <leomain+0x2c0>
  286. 1e4: 8e230000 lw $v1,0($s1)
  287. 1e8: 8e230000 lw $v1,0($s1)
  288. 1ec: 90640000 lbu $a0,0($v1)
  289. 1f0: 2489fffe addiu $t1,$a0,-2
  290. 1f4: 2d21000e sltiu $at,$t1,14
  291. 1f8: 10200032 beqz $at,2c4 <leomain+0x2c4>
  292. 1fc: 00094880 sll $t1,$t1,0x2
  293. 200: 3c010000 lui $at,0x0
  294. 204: 00290821 addu $at,$at,$t1
  295. 208: 8c290008 lw $t1,8($at)
  296. 20c: 01200008 jr $t1
  297. 210: 00000000 nop
  298. 214: 8e230000 lw $v1,0($s1)
  299. 218: 90640000 lbu $a0,0($v1)
  300. 21c: 248afffe addiu $t2,$a0,-2
  301. 220: 2d41000e sltiu $at,$t2,14
  302. 224: 10200006 beqz $at,240 <leomain+0x240>
  303. 228: 000a5080 sll $t2,$t2,0x2
  304. 22c: 3c010000 lui $at,0x0
  305. 230: 002a0821 addu $at,$at,$t2
  306. 234: 8c2a0040 lw $t2,64($at)
  307. 238: 01400008 jr $t2
  308. 23c: 00000000 nop
  309. 240: 10000020 b 2c4 <leomain+0x2c4>
  310. 244: 2410002a li $s0,42
  311. 248: 8e230000 lw $v1,0($s1)
  312. 24c: 24010002 li $at,2
  313. 250: 90640000 lbu $a0,0($v1)
  314. 254: 1081000a beq $a0,$at,280 <leomain+0x280>
  315. 258: 00801025 move $v0,$a0
  316. 25c: 2401000d li $at,13
  317. 260: 10410007 beq $v0,$at,280 <leomain+0x280>
  318. 264: 2401000e li $at,14
  319. 268: 10410005 beq $v0,$at,280 <leomain+0x280>
  320. 26c: 2401000f li $at,15
  321. 270: 54410015 bnel $v0,$at,2c8 <leomain+0x2c8>
  322. 274: 24010003 li $at,3
  323. 278: 0c000000 jal 0 <leomain>
  324. 27c: 00000000 nop
  325. 280: 3c0b0000 lui $t3,0x0
  326. 284: 916b0000 lbu $t3,0($t3)
  327. 288: 55600055 bnezl $t3,3e0 <leomain+0x3e0>
  328. 28c: 8e2a0000 lw $t2,0($s1)
  329. 290: 8e2c0000 lw $t4,0($s1)
  330. 294: 918d0000 lbu $t5,0($t4)
  331. 298: 25aefffe addiu $t6,$t5,-2
  332. 29c: 2dc1000e sltiu $at,$t6,14
  333. 2a0: 10200014 beqz $at,2f4 <leomain+0x2f4>
  334. 2a4: 000e7080 sll $t6,$t6,0x2
  335. 2a8: 3c010000 lui $at,0x0
  336. 2ac: 002e0821 addu $at,$at,$t6
  337. 2b0: 8c2e0078 lw $t6,120($at)
  338. 2b4: 01c00008 jr $t6
  339. 2b8: 00000000 nop
  340. 2bc: 8e230000 lw $v1,0($s1)
  341. 2c0: 90640000 lbu $a0,0($v1)
  342. 2c4: 24010003 li $at,3
  343. 2c8: 54810007 bnel $a0,$at,2e8 <leomain+0x2e8>
  344. 2cc: a0700005 sb $s0,5($v1)
  345. 2d0: 0c000000 jal 0 <leomain>
  346. 2d4: 00000000 nop
  347. 2d8: 8e2f0000 lw $t7,0($s1)
  348. 2dc: a1e2000c sb $v0,12($t7)
  349. 2e0: 8e230000 lw $v1,0($s1)
  350. 2e4: a0700005 sb $s0,5($v1)
  351. 2e8: 8e380000 lw $t8,0($s1)
  352. 2ec: 10000043 b 3fc <leomain+0x3fc>
  353. 2f0: a3120004 sb $s2,4($t8)
  354. 2f4: 3c190000 lui $t9,0x0
  355. 2f8: 8f390000 lw $t9,0($t9)
  356. 2fc: 3c050500 lui $a1,0x500
  357. 300: 34a50540 ori $a1,$a1,0x540
  358. 304: 1720000c bnez $t9,338 <leomain+0x338>
  359. 308: 3c040000 lui $a0,0x0
  360. 30c: 8c840000 lw $a0,0($a0)
  361. 310: 0c000000 jal 0 <leomain>
  362. 314: 27a60044 addiu $a2,$sp,68
  363. 318: 8fa30044 lw $v1,68($sp)
  364. 31c: 3c010007 lui $at,0x7
  365. 320: 00614024 and $t0,$v1,$at
  366. 324: 3c010004 lui $at,0x4
  367. 328: 11010003 beq $t0,$at,338 <leomain+0x338>
  368. 32c: 00000000 nop
  369. 330: 1000ffff b 330 <leomain+0x330>
  370. 334: 00000000 nop
  371. 338: 0c000000 jal 0 <leomain>
  372. 33c: 00000000 nop
  373. 340: 10400004 beqz $v0,354 <leomain+0x354>
  374. 344: 3c050000 lui $a1,0x0
  375. 348: 8e290000 lw $t1,0($s1)
  376. 34c: 1000002b b 3fc <leomain+0x3fc>
  377. 350: a1320004 sb $s2,4($t1)
  378. 354: 90a50005 lbu $a1,5($a1)
  379. 358: 3c04000b lui $a0,0xb
  380. 35c: 34840001 ori $a0,$a0,0x1
  381. 360: 00055400 sll $t2,$a1,0x10
  382. 364: 0c000000 jal 0 <leomain>
  383. 368: 01402825 move $a1,$t2
  384. 36c: 8e2b0000 lw $t3,0($s1)
  385. 370: 10400004 beqz $v0,384 <leomain+0x384>
  386. 374: a1620005 sb $v0,5($t3)
  387. 378: 8e2c0000 lw $t4,0($s1)
  388. 37c: 1000001f b 3fc <leomain+0x3fc>
  389. 380: a1920004 sb $s2,4($t4)
  390. 384: 3c020000 lui $v0,0x0
  391. 388: 90420005 lbu $v0,5($v0)
  392. 38c: 24010010 li $at,16
  393. 390: 3c0f0000 lui $t7,0x0
  394. 394: 304d00f0 andi $t5,$v0,0xf0
  395. 398: 15a10008 bne $t5,$at,3bc <leomain+0x3bc>
  396. 39c: 304e000f andi $t6,$v0,0xf
  397. 3a0: 3c010000 lui $at,0x0
  398. 3a4: a02e0000 sb $t6,0($at)
  399. 3a8: 91ef0000 lbu $t7,0($t7)
  400. 3ac: 240900ff li $t1,255
  401. 3b0: 29e10007 slti $at,$t7,7
  402. 3b4: 14200007 bnez $at,3d4 <leomain+0x3d4>
  403. 3b8: 00000000 nop
  404. 3bc: 8e390000 lw $t9,0($s1)
  405. 3c0: 2418000b li $t8,11
  406. 3c4: a3380005 sb $t8,5($t9)
  407. 3c8: 8e280000 lw $t0,0($s1)
  408. 3cc: 1000000b b 3fc <leomain+0x3fc>
  409. 3d0: a1120004 sb $s2,4($t0)
  410. 3d4: 3c010000 lui $at,0x0
  411. 3d8: a0290000 sb $t1,0($at)
  412. 3dc: 8e2a0000 lw $t2,0($s1)
  413. 3e0: 3c190000 lui $t9,0x0
  414. 3e4: 914b0000 lbu $t3,0($t2)
  415. 3e8: 000b6080 sll $t4,$t3,0x2
  416. 3ec: 032cc821 addu $t9,$t9,$t4
  417. 3f0: 8f390000 lw $t9,0($t9)
  418. 3f4: 0320f809 jalr $t9
  419. 3f8: 00000000 nop
  420. 3fc: 8e230000 lw $v1,0($s1)
  421. 400: 24060001 li $a2,1
  422. 404: 906d0002 lbu $t5,2($v1)
  423. 408: 31ae0080 andi $t6,$t5,0x80
  424. 40c: 11c00004 beqz $t6,420 <leomain+0x420>
  425. 410: 00000000 nop
  426. 414: 8c640008 lw $a0,8($v1)
  427. 418: 0c000000 jal 0 <leomain>
  428. 41c: 90650005 lbu $a1,5($v1)
  429. 420: 3c0f0000 lui $t7,0x0
  430. 424: 25ef0000 addiu $t7,$t7,0
  431. 428: 91f80000 lbu $t8,0($t7)
  432. 42c: 1300ff31 beqz $t8,f4 <leomain+0xf4>
  433. 430: 00000000 nop
  434. 434: 0c000000 jal 0 <leomain>
  435. 438: 00000000 nop
  436. 43c: 1000ff2d b f4 <leomain+0xf4>
  437. ...
  438. 460: 8fbf0024 lw $ra,36($sp)
  439. 464: 8fb00014 lw $s0,20($sp)
  440. 468: 8fb10018 lw $s1,24($sp)
  441. 46c: 8fb2001c lw $s2,28($sp)
  442. 470: 8fb30020 lw $s3,32($sp)
  443. 474: 03e00008 jr $ra
  444. 478: 27bd0048 addiu $sp,$sp,72
  445.  
  446. Change
  447. 330: 1000ffff b 330 <leomain+0x330>
  448. 398: 15a10008 bne $t5,$at,3bc <leomain+0x3bc>
  449. to
  450. 330: 10000000 b 334 <leomain+0x334> //Not care about development drive
  451. 398: 00000000 nop //Not care about upper nibble of disk type
  452.  
  453. [19:12] <@Zoinkity> warning! Some games test for "4" at other times as well!
  454. [19:13] <@Zoinkity> Bootup is important though. All have that one
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement