Difference between revisions of "0013c130 - 0013c230"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 0013c130: 27bdffe8 addiu r29,r29,0xffe8 0013c134: afb00010 sw r16,0x0010(r29) 0013c138: 00008021 addu r16,r0,r0 0013c13c: afbf0014 sw r31,0x001...")
 
m
 
Line 7: Line 7:
 
  0013c140: 3c018016 lui r1,0x8016
 
  0013c140: 3c018016 lui r1,0x8016
 
  0013c144: ac30603c sw r16,0x603c(r1)
 
  0013c144: ac30603c sw r16,0x603c(r1)
  0013c148: 0c0532a0 jal 0x0014ca80
+
  0013c148: 0c0532a0 jal 0x0014ca80                 [[Switch To Next Thread]]
 
  0013c14c: 26100010 addiu r16,r16,0x0010
 
  0013c14c: 26100010 addiu r16,r16,0x0010
 
  0013c150: 2a020100 slti r2,r16,0x0100
 
  0013c150: 2a020100 slti r2,r16,0x0100
Line 20: Line 20:
 
  0013c174: 3c018016 lui r1,0x8016
 
  0013c174: 3c018016 lui r1,0x8016
 
  0013c178: a4226048 sh r2,0x6048(r1)
 
  0013c178: a4226048 sh r2,0x6048(r1)
  0013c17c: 0c05328e jal 0x0014ca38
+
  0013c17c: 0c05328e jal 0x0014ca38                 [[Store Thread Function Parameters]] thread(ID == 8, 0, 0, 1)
 
  0013c180: 34070001 ori r7,r0,0x0001
 
  0013c180: 34070001 ori r7,r0,0x0001
 
  0013c184: 3404000a ori r4,r0,0x000a
 
  0013c184: 3404000a ori r4,r0,0x000a
 
  0013c188: 00002821 addu r5,r0,r0
 
  0013c188: 00002821 addu r5,r0,r0
 
  0013c18c: 00003021 addu r6,r0,r0
 
  0013c18c: 00003021 addu r6,r0,r0
  0013c190: 0c05328e jal 0x0014ca38
+
  0013c190: 0c05328e jal 0x0014ca38                 [[Store Thread Function Parameters]] thread(ID == a, 0, 0, 1)
 
  0013c194: 34070001 ori r7,r0,0x0001
 
  0013c194: 34070001 ori r7,r0,0x0001
 
  0013c198: 3404000b ori r4,r0,0x000b
 
  0013c198: 3404000b ori r4,r0,0x000b
 
  0013c19c: 00002821 addu r5,r0,r0
 
  0013c19c: 00002821 addu r5,r0,r0
 
  0013c1a0: 00003021 addu r6,r0,r0
 
  0013c1a0: 00003021 addu r6,r0,r0
  0013c1a4: 0c05328e jal 0x0014ca38
+
  0013c1a4: 0c05328e jal 0x0014ca38                 [[Store Thread Function Parameters]] thread(ID == b, 0, 0, 1)
 
  0013c1a8: 34070001 ori r7,r0,0x0001
 
  0013c1a8: 34070001 ori r7,r0,0x0001
 
  0013c1ac: 3404000c ori r4,r0,0x000c
 
  0013c1ac: 3404000c ori r4,r0,0x000c
 
  0013c1b0: 00002821 addu r5,r0,r0
 
  0013c1b0: 00002821 addu r5,r0,r0
 
  0013c1b4: 00003021 addu r6,r0,r0
 
  0013c1b4: 00003021 addu r6,r0,r0
  0013c1b8: 0c05328e jal 0x0014ca38
+
  0013c1b8: 0c05328e jal 0x0014ca38                 [[Store Thread Function Parameters]] thread(ID == c, 0, 0, 1)
 
  0013c1bc: 34070001 ori r7,r0,0x0001
 
  0013c1bc: 34070001 ori r7,r0,0x0001
 
  0013c1c0: 3404000d ori r4,r0,0x000d
 
  0013c1c0: 3404000d ori r4,r0,0x000d
 
  0013c1c4: 00002821 addu r5,r0,r0
 
  0013c1c4: 00002821 addu r5,r0,r0
 
  0013c1c8: 00003021 addu r6,r0,r0
 
  0013c1c8: 00003021 addu r6,r0,r0
  0013c1cc: 0c05328e jal 0x0014ca38
+
  0013c1cc: 0c05328e jal 0x0014ca38                 [[Store Thread Function Parameters]] thread(ID == d, 0, 0, 1)
 
  0013c1d0: 34070001 ori r7,r0,0x0001
 
  0013c1d0: 34070001 ori r7,r0,0x0001
  0013c1d4: 0c04f68a jal 0x0013da28
+
  0013c1d4: 0c04f68a jal 0x0013da28                 [[0013da28 - 0013da5c]] wait for threads d, c, b, a
 
  0013c1d8: 00000000 nop
 
  0013c1d8: 00000000 nop
  0013c1dc: 0c04ef05 jal 0x0013bc14
+
  0013c1dc: 0c04ef05 jal 0x0013bc14                 [[Load File (0x13bc14)]]
  0013c1e0: 34040002 ori r4,r0,0x0002
+
  0013c1e0: 34040002 ori r4,r0,0x0002               open file 2?
  0013c1e4: 0c04eedc jal 0x0013bb70
+
  0013c1e4: 0c04eedc jal 0x0013bb70                 [[? 0x13bb70]]
  0013c1e8: 3c040002 lui r4,0x0002
+
  0013c1e8: 3c040002 lui r4,0x0002                   0x00020000
  0013c1ec: 0c04ef05 jal 0x0013bc14
+
  0013c1ec: 0c04ef05 jal 0x0013bc14                 [[Load File (0x13bc14)]]
  0013c1f0: 3404000f ori r4,r0,0x000f
+
  0013c1f0: 3404000f ori r4,r0,0x000f               open file f?
  0013c1f4: 0c053216 jal 0x0014c858
+
  0013c1f4: 0c053216 jal 0x0014c858                 [[Switch To Next Thread Multiple Times]]
  0013c1f8: 34040002 ori r4,r0,0x0002
+
  0013c1f8: 34040002 ori r4,r0,0x0002               twice
 
  0013c1fc: 3c058014 lui r5,0x8014
 
  0013c1fc: 3c058014 lui r5,0x8014
  0013c200: 24a5c028 addiu r5,r5,0xc028
+
  0013c200: 24a5c028 addiu r5,r5,0xc028             8013c028
 
  0013c204: 34020001 ori r2,r0,0x0001
 
  0013c204: 34020001 ori r2,r0,0x0001
 
  0013c208: 3c018016 lui r1,0x8016
 
  0013c208: 3c018016 lui r1,0x8016
 
  0013c20c: ac22602c sw r2,0x602c(r1)
 
  0013c20c: ac22602c sw r2,0x602c(r1)
  0013c210: 0c053228 jal 0x0014c8a0
+
  0013c210: 0c053228 jal 0x0014c8a0                 [[Initialize Thread]] <-- [[0013c028 - 0013c12c]]
  0013c214: 3404000d ori r4,r0,0x000d
+
  0013c214: 3404000d ori r4,r0,0x000d               into thread ID d
  0013c218: 0c053256 jal 0x0014c958
+
  0013c218: 0c053256 jal 0x0014c958                 [[Stop Current Thread]]
 
  0013c21c: 00000000 nop
 
  0013c21c: 00000000 nop
 
  0013c220: 8fbf0014 lw r31,0x0014(r29)
 
  0013c220: 8fbf0014 lw r31,0x0014(r29)

Latest revision as of 06:01, 28 April 2024

0013c130: 27bdffe8 addiu r29,r29,0xffe8
0013c134: afb00010 sw r16,0x0010(r29)
0013c138: 00008021 addu r16,r0,r0
0013c13c: afbf0014 sw r31,0x0014(r29)
0013c140: 3c018016 lui r1,0x8016
0013c144: ac30603c sw r16,0x603c(r1)
0013c148: 0c0532a0 jal 0x0014ca80                  Switch To Next Thread
0013c14c: 26100010 addiu r16,r16,0x0010
0013c150: 2a020100 slti r2,r16,0x0100
0013c154: 1440fffa bne r2,r0,0x0013c140
0013c158: 34040008 ori r4,r0,0x0008
0013c15c: 00002821 addu r5,r0,r0
0013c160: 00003021 addu r6,r0,r0
0013c164: 340200ff ori r2,r0,0x00ff
0013c168: 3c018016 lui r1,0x8016
0013c16c: ac22603c sw r2,0x603c(r1)
0013c170: 34020001 ori r2,r0,0x0001
0013c174: 3c018016 lui r1,0x8016
0013c178: a4226048 sh r2,0x6048(r1)
0013c17c: 0c05328e jal 0x0014ca38                  Store Thread Function Parameters thread(ID == 8, 0, 0, 1)
0013c180: 34070001 ori r7,r0,0x0001
0013c184: 3404000a ori r4,r0,0x000a
0013c188: 00002821 addu r5,r0,r0
0013c18c: 00003021 addu r6,r0,r0
0013c190: 0c05328e jal 0x0014ca38                  Store Thread Function Parameters thread(ID == a, 0, 0, 1)
0013c194: 34070001 ori r7,r0,0x0001
0013c198: 3404000b ori r4,r0,0x000b
0013c19c: 00002821 addu r5,r0,r0
0013c1a0: 00003021 addu r6,r0,r0
0013c1a4: 0c05328e jal 0x0014ca38                  Store Thread Function Parameters thread(ID == b, 0, 0, 1)
0013c1a8: 34070001 ori r7,r0,0x0001
0013c1ac: 3404000c ori r4,r0,0x000c
0013c1b0: 00002821 addu r5,r0,r0
0013c1b4: 00003021 addu r6,r0,r0
0013c1b8: 0c05328e jal 0x0014ca38                  Store Thread Function Parameters thread(ID == c, 0, 0, 1)
0013c1bc: 34070001 ori r7,r0,0x0001
0013c1c0: 3404000d ori r4,r0,0x000d
0013c1c4: 00002821 addu r5,r0,r0
0013c1c8: 00003021 addu r6,r0,r0
0013c1cc: 0c05328e jal 0x0014ca38                  Store Thread Function Parameters thread(ID == d, 0, 0, 1)
0013c1d0: 34070001 ori r7,r0,0x0001
0013c1d4: 0c04f68a jal 0x0013da28                  0013da28 - 0013da5c wait for threads d, c, b, a
0013c1d8: 00000000 nop
0013c1dc: 0c04ef05 jal 0x0013bc14                  Load File (0x13bc14)
0013c1e0: 34040002 ori r4,r0,0x0002                open file 2?
0013c1e4: 0c04eedc jal 0x0013bb70                  ? 0x13bb70
0013c1e8: 3c040002 lui r4,0x0002                   0x00020000
0013c1ec: 0c04ef05 jal 0x0013bc14                  Load File (0x13bc14)
0013c1f0: 3404000f ori r4,r0,0x000f                open file f?
0013c1f4: 0c053216 jal 0x0014c858                  Switch To Next Thread Multiple Times
0013c1f8: 34040002 ori r4,r0,0x0002                twice
0013c1fc: 3c058014 lui r5,0x8014
0013c200: 24a5c028 addiu r5,r5,0xc028              8013c028
0013c204: 34020001 ori r2,r0,0x0001
0013c208: 3c018016 lui r1,0x8016
0013c20c: ac22602c sw r2,0x602c(r1)
0013c210: 0c053228 jal 0x0014c8a0                  Initialize Thread <-- 0013c028 - 0013c12c
0013c214: 3404000d ori r4,r0,0x000d                into thread ID d
0013c218: 0c053256 jal 0x0014c958                  Stop Current Thread
0013c21c: 00000000 nop
0013c220: 8fbf0014 lw r31,0x0014(r29)
0013c224: 8fb00010 lw r16,0x0010(r29)
0013c228: 27bd0018 addiu r29,r29,0x0018
0013c22c: 03e00008 jr r31
0013c230: 00000000 nop