00125cfc - 00125e3c
Jump to navigation
Jump to search
00125cfc: 3c02801d lui r2,0x801d 00125d00: 8c42d528 lw r2,-0x2ad8(r2) 00125d04: 27bdff80 addiu r29,r29,0xff80 00125d08: afb10074 sw r17,0x0074(r29) 00125d0c: 00808821 addu r17,r4,r0 00125d10: afb00070 sw r16,0x0070(r29) 00125d14: afbf007c sw r31,0x007c(r29) 00125d18: afb20078 sw r18,0x0078(r29) 00125d1c: 8c520000 lw r18,0x0000(r2) 00125d20: 0c01127b jal 0x000449ec jr r31 00125d24: 00a08021 addu r16,r5,r0 00125d28: 27a40010 addiu r4,r29,0x0010 put current draw environment in the stack 00125d2c: 3c01801d lui r1,0x801d 00125d30: a420d1cc sh r0,-0x2e34(r1) 00125d34: 3c01801d lui r1,0x801d 00125d38: a420d864 sh r0,-0x279c(r1) 00125d3c: 3c01801d lui r1,0x801d 00125d40: a420d1d0 sh r0,-0x2e30(r1) 00125d44: 3c01801d lui r1,0x801d 00125d48: a420d198 sh r0,-0x2e68(r1) 00125d4c: 3c01801d lui r1,0x801d 00125d50: a420d1a8 sh r0,-0x2e58(r1) 00125d54: 3c01801d lui r1,0x801d 00125d58: a420d514 sh r0,-0x2aec(r1) 00125d5c: 3c01801d lui r1,0x801d 00125d60: a420d520 sh r0,-0x2ae0(r1) 00125d64: 3c01801d lui r1,0x801d 00125d68: a420d430 sh r0,-0x2bd0(r1) 00125d6c: 3c01801d lui r1,0x801d 00125d70: a420d504 sh r0,-0x2afc(r1) 00125d74: 0c009393 jal 0x00024e4c SYS GetDrawEnv 00125d78: 00000000 nop 00125d7c: 97a20012 lhu r2,0x0012(r29) 00125d80: 3c01801d lui r1,0x801d 00125d84: a422d1d8 sh r2,-0x2e28(r1) 00125d88: 0c0091b5 jal 0x000246d4 while(SYS DrawSync(1)); 00125d8c: 34040001 ori r4,r0,0x0001 return number of postions in current queue 00125d90: 1440fffd bne r2,r0,0x00125d88 just do that for god knows how long. 00125d94: 00000000 nop 00125d98: 3c048019 lui r4,0x8019 00125d9c: 8084df7c lb r4,-0x2084(r4) stores mode of vsync to wait for? 00125da0: 0c0076ea jal 0x0001dba8 VSync call 00125da4: 00000000 nop 00125da8: 3c03801d lui r3,0x801d 00125dac: 8c63d664 lw r3,-0x299c(r3) 00125db0: 3c02801d lui r2,0x801d 00125db4: 8c42d528 lw r2,-0x2ad8(r2) 00125db8: 00000000 nop 00125dbc: 14430002 bne r2,r3,0x00125dc8 00125dc0: 00000000 nop 00125dc4: 246300ec addiu r3,r3,0x00ec 00125dc8: 3c01801d lui r1,0x801d 00125dcc: ac23d528 sw r3,-0x2ad8(r1) 00125dd0: 0c0093a1 jal 0x00024e84 SYS PutDispEnv 00125dd4: 246400c0 addiu r4,r3,0x00c0 00125dd8: 3c04801d lui r4,0x801d 00125ddc: 8c84d528 lw r4,-0x2ad8(r4) 00125de0: 0c00932b jal 0x00024cac SYS PutDrawEnv 00125de4: 24840064 addiu r4,r4,0x0064 00125de8: 2402ffff addiu r2,r0,0xffff 00125dec: 12020005 beq r16,r2,0x00125e04 00125df0: 00111880 sll r3,r17,0x02 00125df4: 00102080 sll r4,r16,0x02 00125df8: 0c00930e jal 0x00024c38 SYS DrawOtag 00125dfc: 02442021 addu r4,r18,r4 r18 is an Otag list then? 00125e00: 00111880 sll r3,r17,0x02 00125e04: 3c02801d lui r2,0x801d 00125e08: 8c42d528 lw r2,-0x2ad8(r2) 00125e0c: 3c05801d lui r5,0x801d 00125e10: 94a5d224 lhu r5,-0x2ddc(r5) 00125e14: 8c440000 lw r4,0x0000(r2) 00125e18: 00b12823 subu r5,r5,r17 00125e1c: 0c0092a2 jal 0x00024a88 SYS ClearOtag 00125e20: 00642021 addu r4,r3,r4 00125e24: 8fbf007c lw r31,0x007c(r29) 00125e28: 8fb20078 lw r18,0x0078(r29) 00125e2c: 8fb10074 lw r17,0x0074(r29) 00125e30: 8fb00070 lw r16,0x0070(r29) 00125e34: 27bd0080 addiu r29,r29,0x0080 00125e38: 03e00008 jr r31 00125e3c: 00000000 nop