000257c8 - 00025820
Jump to navigation
Jump to search
000257c8: 3c028003 lui r2,0x8003 000257cc: 24422894 addiu r2,r2,0x2894 0x80032894 000257d0: 90420000 lbu r2,0x0000(r2) load byte there (ODE? graphics debug level?) 000257d4: 00000000 nop 000257d8: 2442ffff addiu r2,r2,0xffff 000257dc: 2c420002 sltiu r2,r2,0x0002 set if less than 2 000257e0: 10400008 beq r2,r0,0x00025804 branch always (fft's x32894 value is always 3) 000257e4: 00000000 nop 000257e8: 10a00002 beq r5,r0,0x000257f4 branch if value 2 = 0 (don't add 0x0800) 000257ec: 3c03e100 lui r3,0xe100 r3 = 0xe1000000 000257f0: 34630800 ori r3,r3,0x0800 r3 = 0xe1000800 000257f4: 10800009 beq r4,r0,0x0002581c branch if value 1 = 0 (don't add 0x1000) 000257f8: 30c227ff andi r2,r6,0x27ff r2 = value 3 0x27ff bitmasked 000257fc: 08009607 j 0x0002581c 00025800: 34421000 ori r2,r2,0x1000 r2 = value 3 0x27ff bitmasked OR 0x1000
For FFT:
00025804: 10a00002 beq r5,r0,0x00025810 branch if dithering = 0 00025808: 3c03e100 lui r3,0xe100 disable dithering if not 0002580c: 34630200 ori r3,r3,0x0200 enable dithering if so 00025810: 10800002 beq r4,r0,0x0002581c branch if not able to draw on screen 00025814: 30c209ff andi r2,r6,0x09ff disable drawmode perms. 00025818: 34420400 ori r2,r2,0x0400 enable drawmode perm 0002581c: 03e00008 jr r31 00025820: 00621025 or r2,r3,r2 returns drawmode