Difference between revisions of "OPEN.BIN Open File"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " 00069a34: 27bdffe8 addiu r29,r29,0xffe8 00069a38: 3c048005 lui r4,0x8005 00069a3c: 2484eaf8 addiu r4,r4,0xeaf8 00069a40: afbf0014 sw r31,0x0014(r29) 00069a44: afb00010 sw...")
 
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
  00069a40: afbf0014 sw r31,0x0014(r29)
 
  00069a40: afbf0014 sw r31,0x0014(r29)
 
  00069a44: afb00010 sw r16,0x0010(r29)
 
  00069a44: afb00010 sw r16,0x0010(r29)
  00069a48: 8c820000 lw r2,0x0000(r4)
+
  00069a48: 8c820000 lw r2,0x0000(r4)                 file to be loaded check
 
  00069a4c: 00000000 nop
 
  00069a4c: 00000000 nop
  00069a50: 1040000a beq r2,r0,0x00069a7c
+
  00069a50: 1040000a beq r2,r0,0x00069a7c             skip opening file if no file to be opened
 
  00069a54: 2490fffc addiu r16,r4,0xfffc
 
  00069a54: 2490fffc addiu r16,r4,0xfffc
  00069a58: 0c00478e jal 0x00011e38
+
  00069a58: 0c00478e jal 0x00011e38                   [[Open File to RAM Centre]]
  00069a5c: 02002021 addu r4,r16,r0
+
  00069a5c: 02002021 addu r4,r16,r0  
  00069a60: 0c0076ea jal 0x0001dba8
+
  00069a60: 0c0076ea jal 0x0001dba8                   [[VSync call]] (0)
 
  00069a64: 00002021 addu r4,r0,r0
 
  00069a64: 00002021 addu r4,r0,r0
 
  00069a68: 3c028005 lui r2,0x8005
 
  00069a68: 3c028005 lui r2,0x8005
 
  00069a6c: 8c42eaf8 lw r2,-0x1508(r2)
 
  00069a6c: 8c42eaf8 lw r2,-0x1508(r2)
 
  00069a70: 00000000 nop
 
  00069a70: 00000000 nop
  00069a74: 1440fff8 bne r2,r0,0x00069a58
+
  00069a74: 1440fff8 bne r2,r0,0x00069a58             loop back if file still opening
 
  00069a78: 00000000 nop
 
  00069a78: 00000000 nop
 
  00069a7c: 8fbf0014 lw r31,0x0014(r29)
 
  00069a7c: 8fbf0014 lw r31,0x0014(r29)

Latest revision as of 11:23, 11 December 2024

00069a34: 27bdffe8 addiu r29,r29,0xffe8
00069a38: 3c048005 lui r4,0x8005
00069a3c: 2484eaf8 addiu r4,r4,0xeaf8
00069a40: afbf0014 sw r31,0x0014(r29)
00069a44: afb00010 sw r16,0x0010(r29)
00069a48: 8c820000 lw r2,0x0000(r4)                 file to be loaded check
00069a4c: 00000000 nop
00069a50: 1040000a beq r2,r0,0x00069a7c             skip opening file if no file to be opened
00069a54: 2490fffc addiu r16,r4,0xfffc
00069a58: 0c00478e jal 0x00011e38                   Open File to RAM Centre
00069a5c: 02002021 addu r4,r16,r0 
00069a60: 0c0076ea jal 0x0001dba8                   VSync call (0)
00069a64: 00002021 addu r4,r0,r0
00069a68: 3c028005 lui r2,0x8005
00069a6c: 8c42eaf8 lw r2,-0x1508(r2)
00069a70: 00000000 nop
00069a74: 1440fff8 bne r2,r0,0x00069a58             loop back if file still opening
00069a78: 00000000 nop
00069a7c: 8fbf0014 lw r31,0x0014(r29)
00069a80: 8fb00010 lw r16,0x0010(r29)
00069a84: 27bd0018 addiu r29,r29,0x0018
00069a88: 03e00008 jr r31
00069a8c: 00000000 nop