Open WORLD file
Jump to navigation
Jump to search
00045268: 27bdffe0 addiu r29,r29,0xffe0 0004526c: 00801021 addu r2,r4,r0 LBA sector 00045270: 00a01821 addu r3,r5,r0 Num sectors 00045274: 00c04021 addu r8,r6,r0 Dest Ptr 00045278: afb00018 sw r16,0x0018(r29) 0004527c: 3c108005 lui r16,0x8005 00045280: 2610eaf4 addiu r16,r16,0xeaf4 File open data 00045284: 02002021 addu r4,r16,r0 file open data as p1 00045288: 00402821 addu r5,r2,r0 p1 as p2 (LBA sector) 0004528c: 00603021 addu r6,r3,r0 p2 as p3 (Num Sectors) 00045290: afa70010 sw r7,0x0010(r29) p4 as p5 (if to Display Now Loading) 00045294: afbf001c sw r31,0x001c(r29) 00045298: 0c0046fd jal 0x00011bf4 Load Data From Disc (0x11bf4) 0004529c: 01003821 addu r7,r8,r0 p3 as p4 (Destination Pointer) 000452a0: 3c028005 lui r2,0x8005 000452a4: 8c42eaf8 lw r2,-0x1508(r2) 000452a8: 00000000 nop 000452ac: 1040000a beq r2,r0,0x000452d8 branch if failed 000452b0: 00000000 nop 000452b4: 0c00478e jal 0x00011e38 00011e38 - 0001201c loop until file open in RAM 000452b8: 02002021 addu r4,r16,r0 000452bc: 0c0076ea jal 0x0001dba8 VSync call 000452c0: 00002021 addu r4,r0,r0 000452c4: 3c028005 lui r2,0x8005 000452c8: 8c42eaf8 lw r2,-0x1508(r2) 000452cc: 00000000 nop 000452d0: 1440fff8 bne r2,r0,0x000452b4 loop if file not done opening 000452d4: 00000000 nop 000452d8: 8fbf001c lw r31,0x001c(r29) 000452dc: 8fb00018 lw r16,0x0018(r29) 000452e0: 27bd0020 addiu r29,r29,0x0020 000452e4: 03e00008 jr r31 000452e8: 00000000 nop