Open Frame.BIN and move to frame buffer
Jump to navigation
Jump to search
00045154: 27bdffe8 addiu r29,r29,0xffe8 00045158: 34040e68 ori r4,r0,0x0e68 # LBA address 3688 0004515c: 34059800 ori r5,r0,0x9800 # filesize 38912 bytes 00045160: afbf0014 sw r31,0x0014(r29) 00045164: 0c011264 jal 0x00044990 # Get BIN as TIM FRAME.BIN 00045168: afb00010 sw r16,0x0010(r29) 0004516c: 3c048004 lui r4,0x8004 00045170: 24847598 addiu r4,r4,0x7598 # frame.bin RECT *tw (image) 00045174: 00408021 addu r16,r2,r0 00045178: 0c00923f jal 0x000248fc # SYS LoadImage move file to framebuffer of size frame.bin RECT 0004517c: 26051000 addiu r5,r16,0x1000 # from file dest + 0x1000 00045180: 3c048004 lui r4,0x8004 00045184: 248475a0 addiu r4,r4,0x75a0 # more texture window (palettes. these fill in the space marked with crosses) 00045188: 34059000 ori r5,r0,0x9000 0004518c: 0c00923f jal 0x000248fc # SYS LoadImage more frame.bin RECT? 00045190: 02052821 addu r5,r16,r5 # from file dest + 0x9000 00045194: 3c048004 lui r4,0x8004 00045198: 248475a8 addiu r4,r4,0x75a8 # more texture window (yet more palettes) 0004519c: 34059200 ori r5,r0,0x9200 000451a0: 0c00923f jal 0x000248fc # SYS LoadImage more frame.bin RECT? 000451a4: 02052821 addu r5,r16,r5 # from file dest + 0x9200 000451a8: 0c0091b5 jal 0x000246d4 # SYS DrawSync 000451ac: 00002021 addu r4,r0,r0 # wait for drawing to finish 000451b0: 0c011273 jal 0x000449cc # C52 Free but with extra steps 000451b4: 02002021 addu r4,r16,r0 000451b8: 8fbf0014 lw r31,0x0014(r29) 000451bc: 8fb00010 lw r16,0x0010(r29) 000451c0: 27bd0018 addiu r29,r29,0x0018 000451c4: 03e00008 jr r31 000451c8: 00000000 nop