Open WLDFACE.BIN and move to frame buffer
Jump to navigation
Jump to search
00106138: 03e00008 jr r31 0010613c: 00000000 nop 00106140: 27bdffe8 addiu r29,r29,0xffe8 00106144: 3c028004 lui r2,0x8004 00106148: 24424990 addiu r2,r2,0x4990 0010614c: 340418ba ori r4,r0,0x18ba WLDFACE.BIN LBA 00106150: afbf0014 sw r31,0x0014(r29) 00106154: afb00010 sw r16,0x0010(r29) 00106158: 3c01801d lui r1,0x801d 0010615c: ac22d78c sw r2,-0x2874(r1) 00106160: 0c0400e1 jal 0x00100384 Call Inner Subroutine (WORLD.BIN) --> Get BIN as TIM 00106164: 3c050002 lui r5,0x0002 WLDFACE filesize 00106168: 3c048019 lui r4,0x8019 0010616c: 24849c4c addiu r4,r4,0x9c4c 00106170: 00408021 addu r16,r2,r0 00106174: 0c00923f jal 0x000248fc SYS LoadImage <-- move WLDFACE to frame buffer 00106178: 02002821 addu r5,r16,r0 0010617c: 3c048019 lui r4,0x8019 00106180: 24849c54 addiu r4,r4,0x9c54 00106184: 34058000 ori r5,r0,0x8000 00106188: 0c00923f jal 0x000248fc SYS LoadImage <-- move more WLDFACE to frame buffer 0010618c: 02052821 addu r5,r16,r5 00106190: 3c048019 lui r4,0x8019 00106194: 24849c5c addiu r4,r4,0x9c5c 00106198: 3c050001 lui r5,0x0001 0010619c: 0c00923f jal 0x000248fc SYS LoadImage <-- move more WLDFACE to frame buffer 001061a0: 02052821 addu r5,r16,r5 001061a4: 3c050001 lui r5,0x0001 001061a8: 34a58000 ori r5,r5,0x8000 001061ac: 3c048019 lui r4,0x8019 001061b0: 24849c64 addiu r4,r4,0x9c64 001061b4: 0c00923f jal 0x000248fc SYS LoadImage <-- move palettes to frame buffer 001061b8: 02052821 addu r5,r16,r5 001061bc: 0c0091b5 jal 0x000246d4 SYS DrawSync 001061c0: 00002021 addu r4,r0,r0 001061c4: 0c011273 jal 0x000449cc C52 Free but with extra steps 001061c8: 02002021 addu r4,r16,r0 001061cc: 8fbf0014 lw r31,0x0014(r29) 001061d0: 8fb00010 lw r16,0x0010(r29) 001061d4: 27bd0018 addiu r29,r29,0x0018 001061d8: 03e00008 jr r31 001061dc: 00000000 nop