Difference between revisions of "00018140 - 0001823c"
Jump to navigation
Jump to search
(Created page with "<font face='Courier New'> 00018140: 27bdffc0 addiu r29,r29,0xffc0 00018144: afb00028 sw r16,0x0028(r29) 00018148: 00808021 addu r16,r4,r0 0001814c: 27a40010 addiu r4,r29...") |
m |
||
Line 3: | Line 3: | ||
00018140: 27bdffc0 addiu r29,r29,0xffc0 | 00018140: 27bdffc0 addiu r29,r29,0xffc0 | ||
00018144: afb00028 sw r16,0x0028(r29) | 00018144: afb00028 sw r16,0x0028(r29) | ||
− | 00018148: 00808021 addu r16,r4,r0 | + | 00018148: 00808021 addu r16,r4,r0 |
− | 0001814c: 27a40010 addiu r4,r29,0x0010 | + | 0001814c: 27a40010 addiu r4,r29,0x0010 point to stack 0x10 |
00018150: afb20030 sw r18,0x0030(r29) | 00018150: afb20030 sw r18,0x0030(r29) | ||
− | 00018154: 00c09021 addu r18,r6,r0 | + | 00018154: 00c09021 addu r18,r6,r0 reverb delay |
00018158: afb30034 sw r19,0x0034(r29) | 00018158: afb30034 sw r19,0x0034(r29) | ||
− | 0001815c: 00e09821 addu r19,r7,r0 | + | 0001815c: 00e09821 addu r19,r7,r0 reverb feedback |
00018160: afb1002c sw r17,0x002c(r29) | 00018160: afb1002c sw r17,0x002c(r29) | ||
00018164: afbf0038 sw r31,0x0038(r29) | 00018164: afbf0038 sw r31,0x0038(r29) | ||
− | 00018168: 0c006a7d jal 0x0001a9f4 | + | 00018168: 0c006a7d jal 0x0001a9f4 [[SpuGetReverbModeParam]] get current reverb settings and put them in stack |
− | 0001816c: 00a08821 addu r17,r5,r0 | + | 0001816c: 00a08821 addu r17,r5,r0 |
− | 00018170: 06010007 bgez r16,0x00018190 | + | 00018170: 06010007 bgez r16,0x00018190 branch if p1=0 |
00018174: 00000000 nop | 00018174: 00000000 nop | ||
− | 00018178: 8fa20014 lw r2,0x0014(r29) | + | 00018178: 8fa20014 lw r2,0x0014(r29) get SPU's reverb mode setting |
0001817c: 3c048003 lui r4,0x8003 | 0001817c: 3c048003 lui r4,0x8003 | ||
− | 00018180: 8c84700c lw r4,0x700c(r4) | + | 00018180: 8c84700c lw r4,0x700c(r4) ram reverb mode |
00018184: 00000000 nop | 00018184: 00000000 nop | ||
− | 00018188: 10440025 beq r2,r4,0x00018220 | + | 00018188: 10440025 beq r2,r4,0x00018220 end if the more of the two match |
− | 0001818c: 00808021 addu r16,r4,r0 | + | 0001818c: 00808021 addu r16,r4,r0 |
00018190: 3c018003 lui r1,0x8003 | 00018190: 3c018003 lui r1,0x8003 | ||
− | 00018194: a431704c sh r17,0x704c(r1) | + | 00018194: a431704c sh r17,0x704c(r1) |
00018198: 3c118003 lui r17,0x8003 | 00018198: 3c118003 lui r17,0x8003 | ||
− | 0001819c: 26317014 addiu r17,r17,0x7014 | + | 0001819c: 26317014 addiu r17,r17,0x7014 reverb parameter delay pointer |
000181a0: 2a02000a slti r2,r16,0x000a | 000181a0: 2a02000a slti r2,r16,0x000a | ||
− | 000181a4: ae320000 sw r18,0x0000(r17) | + | 000181a4: ae320000 sw r18,0x0000(r17) store reverb delay |
000181a8: 3c018003 lui r1,0x8003 | 000181a8: 3c018003 lui r1,0x8003 | ||
− | 000181ac: ac337018 sw r19,0x7018(r1) | + | 000181ac: ac337018 sw r19,0x7018(r1) store reverb feedback |
000181b0: 1040001b beq r2,r0,0x00018220 | 000181b0: 1040001b beq r2,r0,0x00018220 | ||
000181b4: 00000000 nop | 000181b4: 00000000 nop | ||
Line 37: | Line 37: | ||
000181c8: 1600000e bne r16,r0,0x00018204 | 000181c8: 1600000e bne r16,r0,0x00018204 | ||
000181cc: 00000000 nop | 000181cc: 00000000 nop | ||
− | 000181d0: 0c00678e jal 0x00019e38 | + | 000181d0: 0c00678e jal 0x00019e38 [[SpuSetReverb]] |
− | 000181d4: 00002021 addu r4,r0,r0 | + | 000181d4: 00002021 addu r4,r0,r0 turn reverb off? |
− | 000181d8: 2624fff4 addiu r4,r17,0xfff4 | + | 000181d8: 2624fff4 addiu r4,r17,0xfff4 reverb parameters |
− | 000181dc: 8e22fff4 lw r2,-0x000c(r17) | + | 000181dc: 8e22fff4 lw r2,-0x000c(r17) load reverb mask |
000181e0: 36030100 ori r3,r16,0x0100 | 000181e0: 36030100 ori r3,r16,0x0100 | ||
000181e4: 3c018003 lui r1,0x8003 | 000181e4: 3c018003 lui r1,0x8003 | ||
000181e8: ac23700c sw r3,0x700c(r1) | 000181e8: ac23700c sw r3,0x700c(r1) | ||
− | 000181ec: 34420001 ori r2,r2,0x0001 | + | 000181ec: 34420001 ori r2,r2,0x0001 set flag 1 |
− | 000181f0: 0c006805 jal 0x0001a014 | + | 000181f0: 0c006805 jal 0x0001a014 [[SpuSetReverbModeParam]] |
− | 000181f4: ae22fff4 sw r2,-0x000c(r17) | + | 000181f4: ae22fff4 sw r2,-0x000c(r17) restore reverb mask |
000181f8: 34040001 ori r4,r0,0x0001 | 000181f8: 34040001 ori r4,r0,0x0001 | ||
− | 000181fc: 0c00678e jal 0x00019e38 | + | 000181fc: 0c00678e jal 0x00019e38 [[SpuSetReverb]] |
− | 00018200: ae20fff4 sw r0,-0x000c(r17) | + | 00018200: ae20fff4 sw r0,-0x000c(r17) set reverb mask to 0 |
− | 00018204: 0c006100 jal 0x00018400 | + | 00018204: 0c006100 jal 0x00018400 [[00018400 - 00018488]] |
00018208: 00000000 nop | 00018208: 00000000 nop | ||
0001820c: 3c108003 lui r16,0x8003 | 0001820c: 3c108003 lui r16,0x8003 | ||
00018210: 26107008 addiu r16,r16,0x7008 | 00018210: 26107008 addiu r16,r16,0x7008 | ||
− | 00018214: 0c006a91 jal 0x0001aa44 | + | 00018214: 0c006a91 jal 0x0001aa44 [[SpuSetReverbDepth]] |
− | 00018218: 02002021 addu r4,r16,r0 | + | 00018218: 02002021 addu r4,r16,r0 pointer to reverb attributes |
0001821c: ae000000 sw r0,0x0000(r16) | 0001821c: ae000000 sw r0,0x0000(r16) | ||
00018220: 8fbf0038 lw r31,0x0038(r29) | 00018220: 8fbf0038 lw r31,0x0038(r29) |
Latest revision as of 09:26, 15 June 2024
00018140: 27bdffc0 addiu r29,r29,0xffc0 00018144: afb00028 sw r16,0x0028(r29) 00018148: 00808021 addu r16,r4,r0 0001814c: 27a40010 addiu r4,r29,0x0010 point to stack 0x10 00018150: afb20030 sw r18,0x0030(r29) 00018154: 00c09021 addu r18,r6,r0 reverb delay 00018158: afb30034 sw r19,0x0034(r29) 0001815c: 00e09821 addu r19,r7,r0 reverb feedback 00018160: afb1002c sw r17,0x002c(r29) 00018164: afbf0038 sw r31,0x0038(r29) 00018168: 0c006a7d jal 0x0001a9f4 SpuGetReverbModeParam get current reverb settings and put them in stack 0001816c: 00a08821 addu r17,r5,r0 00018170: 06010007 bgez r16,0x00018190 branch if p1=0 00018174: 00000000 nop 00018178: 8fa20014 lw r2,0x0014(r29) get SPU's reverb mode setting 0001817c: 3c048003 lui r4,0x8003 00018180: 8c84700c lw r4,0x700c(r4) ram reverb mode 00018184: 00000000 nop 00018188: 10440025 beq r2,r4,0x00018220 end if the more of the two match 0001818c: 00808021 addu r16,r4,r0 00018190: 3c018003 lui r1,0x8003 00018194: a431704c sh r17,0x704c(r1) 00018198: 3c118003 lui r17,0x8003 0001819c: 26317014 addiu r17,r17,0x7014 reverb parameter delay pointer 000181a0: 2a02000a slti r2,r16,0x000a 000181a4: ae320000 sw r18,0x0000(r17) store reverb delay 000181a8: 3c018003 lui r1,0x8003 000181ac: ac337018 sw r19,0x7018(r1) store reverb feedback 000181b0: 1040001b beq r2,r0,0x00018220 000181b4: 00000000 nop 000181b8: 8fa20014 lw r2,0x0014(r29) 000181bc: 00000000 nop 000181c0: 14500003 bne r2,r16,0x000181d0 000181c4: 00000000 nop 000181c8: 1600000e bne r16,r0,0x00018204 000181cc: 00000000 nop 000181d0: 0c00678e jal 0x00019e38 SpuSetReverb 000181d4: 00002021 addu r4,r0,r0 turn reverb off? 000181d8: 2624fff4 addiu r4,r17,0xfff4 reverb parameters 000181dc: 8e22fff4 lw r2,-0x000c(r17) load reverb mask 000181e0: 36030100 ori r3,r16,0x0100 000181e4: 3c018003 lui r1,0x8003 000181e8: ac23700c sw r3,0x700c(r1) 000181ec: 34420001 ori r2,r2,0x0001 set flag 1 000181f0: 0c006805 jal 0x0001a014 SpuSetReverbModeParam 000181f4: ae22fff4 sw r2,-0x000c(r17) restore reverb mask 000181f8: 34040001 ori r4,r0,0x0001 000181fc: 0c00678e jal 0x00019e38 SpuSetReverb 00018200: ae20fff4 sw r0,-0x000c(r17) set reverb mask to 0 00018204: 0c006100 jal 0x00018400 00018400 - 00018488 00018208: 00000000 nop 0001820c: 3c108003 lui r16,0x8003 00018210: 26107008 addiu r16,r16,0x7008 00018214: 0c006a91 jal 0x0001aa44 SpuSetReverbDepth 00018218: 02002021 addu r4,r16,r0 pointer to reverb attributes 0001821c: ae000000 sw r0,0x0000(r16) 00018220: 8fbf0038 lw r31,0x0038(r29) 00018224: 8fb30034 lw r19,0x0034(r29) 00018228: 8fb20030 lw r18,0x0030(r29) 0001822c: 8fb1002c lw r17,0x002c(r29) 00018230: 8fb00028 lw r16,0x0028(r29) 00018234: 27bd0040 addiu r29,r29,0x0040 00018238: 03e00008 jr r31 0001823c: 00000000 nop