Difference between revisions of "P03 DumpClut"
Jump to navigation
Jump to search
(Created page with "<font face='Courier New'> 00023b3c: 27bdffe8 addiu r29,r29,0xffe8 00023b40: 00803021 addu r6,r4,r0 00023b44: 30c5003f andi r5,r6,0x003f 00023b48: 30c6ffff andi r6,r6,0xf...") |
m (Talcall moved page 00023b3c - 00023b78 to P03 DumpClut) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
00023b3c: 27bdffe8 addiu r29,r29,0xffe8 | 00023b3c: 27bdffe8 addiu r29,r29,0xffe8 | ||
− | 00023b40: 00803021 addu r6,r4,r0 | + | 00023b40: 00803021 addu r6,r4,r0 Clut ID |
− | 00023b44: 30c5003f andi r5,r6,0x003f | + | 00023b44: 30c5003f andi r5,r6,0x003f x value + odd/even of y value? |
00023b48: 30c6ffff andi r6,r6,0xffff | 00023b48: 30c6ffff andi r6,r6,0xffff | ||
00023b4c: 3c048001 lui r4,0x8001 | 00023b4c: 3c048001 lui r4,0x8001 | ||
− | 00023b50: 2484060c addiu r4,r4,0x060c | + | 00023b50: 2484060c addiu r4,r4,0x060c 0x8001060c |
− | 00023b54: 00052900 sll r5,r5,0x04 | + | 00023b54: 00052900 sll r5,r5,0x04 Clut X * 0x10 |
00023b58: 3c028003 lui r2,0x8003 | 00023b58: 3c028003 lui r2,0x8003 | ||
− | 00023b5c: 8c422890 lw r2,0x2890(r2) | + | 00023b5c: 8c422890 lw r2,0x2890(r2) loads 0x8002232c always (print to console? kernal call r9 = 0x3f) |
00023b60: afbf0010 sw r31,0x0010(r29) | 00023b60: afbf0010 sw r31,0x0010(r29) | ||
00023b64: 0040f809 jalr r2,r31 | 00023b64: 0040f809 jalr r2,r31 | ||
− | 00023b68: 00063182 srl r6,r6,0x06 | + | 00023b68: 00063182 srl r6,r6,0x06 y value of CLUT to print |
00023b6c: 8fbf0010 lw r31,0x0010(r29) | 00023b6c: 8fbf0010 lw r31,0x0010(r29) | ||
00023b70: 27bd0018 addiu r29,r29,0x0018 | 00023b70: 27bd0018 addiu r29,r29,0x0018 |
Latest revision as of 09:01, 26 June 2023
00023b3c: 27bdffe8 addiu r29,r29,0xffe8 00023b40: 00803021 addu r6,r4,r0 Clut ID 00023b44: 30c5003f andi r5,r6,0x003f x value + odd/even of y value? 00023b48: 30c6ffff andi r6,r6,0xffff 00023b4c: 3c048001 lui r4,0x8001 00023b50: 2484060c addiu r4,r4,0x060c 0x8001060c 00023b54: 00052900 sll r5,r5,0x04 Clut X * 0x10 00023b58: 3c028003 lui r2,0x8003 00023b5c: 8c422890 lw r2,0x2890(r2) loads 0x8002232c always (print to console? kernal call r9 = 0x3f) 00023b60: afbf0010 sw r31,0x0010(r29) 00023b64: 0040f809 jalr r2,r31 00023b68: 00063182 srl r6,r6,0x06 y value of CLUT to print 00023b6c: 8fbf0010 lw r31,0x0010(r29) 00023b70: 27bd0018 addiu r29,r29,0x0018 00023b74: 03e00008 jr r31 00023b78: 00000000 nop