Difference between revisions of "00012ab0 - 00012b68"
Jump to navigation
Jump to search
(Created page with "<font face='Courier New'> 00012ab0: 27bdffe0 addiu r29,r29,0xffe0 00012ab4: afb10014 sw r17,0x0014(r29) 00012ab8: 00808821 addu r17,r4,r0 00012abc: 3c048003 lui r4,0x800...") |
m |
||
Line 1: | Line 1: | ||
− | |||
− | |||
00012ab0: 27bdffe0 addiu r29,r29,0xffe0 | 00012ab0: 27bdffe0 addiu r29,r29,0xffe0 | ||
00012ab4: afb10014 sw r17,0x0014(r29) | 00012ab4: afb10014 sw r17,0x0014(r29) | ||
− | 00012ab8: 00808821 addu r17,r4,r0 | + | 00012ab8: 00808821 addu r17,r4,r0 current MUS |
00012abc: 3c048003 lui r4,0x8003 | 00012abc: 3c048003 lui r4,0x8003 | ||
− | 00012ac0: 8c842a5c lw r4,0x2a5c(r4) | + | 00012ac0: 8c842a5c lw r4,0x2a5c(r4) root counter 2 event |
00012ac4: afb20018 sw r18,0x0018(r29) | 00012ac4: afb20018 sw r18,0x0018(r29) | ||
− | 00012ac8: 00c09021 addu r18,r6,r0 | + | 00012ac8: 00c09021 addu r18,r6,r0 0x34 of all accumulated valid channels |
00012acc: afb00010 sw r16,0x0010(r29) | 00012acc: afb00010 sw r16,0x0010(r29) | ||
00012ad0: afbf001c sw r31,0x001c(r29) | 00012ad0: afbf001c sw r31,0x001c(r29) | ||
− | 00012ad4: 0c0087f1 jal 0x00021fc4 | + | 00012ad4: 0c0087f1 jal 0x00021fc4 [[DisableEvent]] |
− | 00012ad8: 00058027 nor r16,r0,r5 | + | 00012ad8: 00058027 nor r16,r0,r5 bitmask for every valid channel |
− | 00012adc: 00122827 nor r5,r0,r18 | + | 00012adc: 00122827 nor r5,r0,r18 nor'd accumulator valid |
− | 00012ae0: 8e220058 lw r2,0x0058(r17) | + | 00012ae0: 8e220058 lw r2,0x0058(r17) header information channel flags? |
00012ae4: 3c048003 lui r4,0x8003 | 00012ae4: 3c048003 lui r4,0x8003 | ||
− | 00012ae8: 8c842a5c lw r4,0x2a5c(r4) | + | 00012ae8: 8c842a5c lw r4,0x2a5c(r4) root counter 2 event |
00012aec: 3c038003 lui r3,0x8003 | 00012aec: 3c038003 lui r3,0x8003 | ||
− | 00012af0: 8c632a20 lw r3,0x2a20(r3) | + | 00012af0: 8c632a20 lw r3,0x2a20(r3) 0x34 of channels turned off by sound effects? |
− | 00012af4: 02028024 and r16,r16,r2 | + | 00012af4: 02028024 and r16,r16,r2 check which channels belong to this MUS? |
− | 00012af8: 02439025 or r18,r18,r3 | + | 00012af8: 02439025 or r18,r18,r3 accumulate |
− | 00012afc: 8e220060 lw r2,0x0060(r17) | + | 00012afc: 8e220060 lw r2,0x0060(r17) |
00012b00: 8e230068 lw r3,0x0068(r17) | 00012b00: 8e230068 lw r3,0x0068(r17) | ||
− | 00012b04: ae300058 sw r16,0x0058(r17) | + | 00012b04: ae300058 sw r16,0x0058(r17) store leftover channel flags to header |
00012b08: 3c018003 lui r1,0x8003 | 00012b08: 3c018003 lui r1,0x8003 | ||
− | 00012b0c: ac322a20 sw r18,0x2a20(r1) | + | 00012b0c: ac322a20 sw r18,0x2a20(r1) accumulated value of input MUS's valid channel's 0x34 and 0x34 of channels turned off by sfx |
− | 00012b10: 00a21024 and r2,r5,r2 | + | 00012b10: 00a21024 and r2,r5,r2 bitmask NOR'd accumulator flags? |
− | 00012b14: ae220060 sw r2,0x0060(r17) | + | 00012b14: ae220060 sw r2,0x0060(r17) restore |
00012b18: 3c028003 lui r2,0x8003 | 00012b18: 3c028003 lui r2,0x8003 | ||
00012b1c: 8c422a0c lw r2,0x2a0c(r2) | 00012b1c: 8c422a0c lw r2,0x2a0c(r2) | ||
00012b20: 00a31824 and r3,r5,r3 | 00012b20: 00a31824 and r3,r5,r3 | ||
− | 00012b24: ae230068 sw r3,0x0068(r17) | + | 00012b24: ae230068 sw r3,0x0068(r17) store LFOVoiceBits |
00012b28: 00a21024 and r2,r5,r2 | 00012b28: 00a21024 and r2,r5,r2 | ||
00012b2c: 3c018003 lui r1,0x8003 | 00012b2c: 3c018003 lui r1,0x8003 | ||
00012b30: ac222a0c sw r2,0x2a0c(r1) | 00012b30: ac222a0c sw r2,0x2a0c(r1) | ||
− | 00012b34: 8e22006c lw r2,0x006c(r17) | + | 00012b34: 8e22006c lw r2,0x006c(r17) store LNoiseVoiceBits |
00012b38: 8e230070 lw r3,0x0070(r17) | 00012b38: 8e230070 lw r3,0x0070(r17) | ||
00012b3c: 00a21024 and r2,r5,r2 | 00012b3c: 00a21024 and r2,r5,r2 | ||
00012b40: 00a32824 and r5,r5,r3 | 00012b40: 00a32824 and r5,r5,r3 | ||
00012b44: ae22006c sw r2,0x006c(r17) | 00012b44: ae22006c sw r2,0x006c(r17) | ||
− | 00012b48: 0c0087ed jal 0x00021fb4 | + | 00012b48: 0c0087ed jal 0x00021fb4 [[EnableEvent]] |
− | 00012b4c: ae250070 sw r5,0x0070(r17) | + | 00012b4c: ae250070 sw r5,0x0070(r17) store ReverbVoiceBits |
00012b50: 8fbf001c lw r31,0x001c(r29) | 00012b50: 8fbf001c lw r31,0x001c(r29) | ||
00012b54: 8fb20018 lw r18,0x0018(r29) | 00012b54: 8fb20018 lw r18,0x0018(r29) | ||
Line 48: | Line 46: | ||
00012b64: 03e00008 jr r31 | 00012b64: 03e00008 jr r31 | ||
00012b68: 00000000 nop | 00012b68: 00000000 nop | ||
− |
Latest revision as of 12:07, 31 May 2025
00012ab0: 27bdffe0 addiu r29,r29,0xffe0 00012ab4: afb10014 sw r17,0x0014(r29) 00012ab8: 00808821 addu r17,r4,r0 current MUS 00012abc: 3c048003 lui r4,0x8003 00012ac0: 8c842a5c lw r4,0x2a5c(r4) root counter 2 event 00012ac4: afb20018 sw r18,0x0018(r29) 00012ac8: 00c09021 addu r18,r6,r0 0x34 of all accumulated valid channels 00012acc: afb00010 sw r16,0x0010(r29) 00012ad0: afbf001c sw r31,0x001c(r29) 00012ad4: 0c0087f1 jal 0x00021fc4 DisableEvent 00012ad8: 00058027 nor r16,r0,r5 bitmask for every valid channel 00012adc: 00122827 nor r5,r0,r18 nor'd accumulator valid 00012ae0: 8e220058 lw r2,0x0058(r17) header information channel flags? 00012ae4: 3c048003 lui r4,0x8003 00012ae8: 8c842a5c lw r4,0x2a5c(r4) root counter 2 event 00012aec: 3c038003 lui r3,0x8003 00012af0: 8c632a20 lw r3,0x2a20(r3) 0x34 of channels turned off by sound effects? 00012af4: 02028024 and r16,r16,r2 check which channels belong to this MUS? 00012af8: 02439025 or r18,r18,r3 accumulate 00012afc: 8e220060 lw r2,0x0060(r17) 00012b00: 8e230068 lw r3,0x0068(r17) 00012b04: ae300058 sw r16,0x0058(r17) store leftover channel flags to header 00012b08: 3c018003 lui r1,0x8003 00012b0c: ac322a20 sw r18,0x2a20(r1) accumulated value of input MUS's valid channel's 0x34 and 0x34 of channels turned off by sfx 00012b10: 00a21024 and r2,r5,r2 bitmask NOR'd accumulator flags? 00012b14: ae220060 sw r2,0x0060(r17) restore 00012b18: 3c028003 lui r2,0x8003 00012b1c: 8c422a0c lw r2,0x2a0c(r2) 00012b20: 00a31824 and r3,r5,r3 00012b24: ae230068 sw r3,0x0068(r17) store LFOVoiceBits 00012b28: 00a21024 and r2,r5,r2 00012b2c: 3c018003 lui r1,0x8003 00012b30: ac222a0c sw r2,0x2a0c(r1) 00012b34: 8e22006c lw r2,0x006c(r17) store LNoiseVoiceBits 00012b38: 8e230070 lw r3,0x0070(r17) 00012b3c: 00a21024 and r2,r5,r2 00012b40: 00a32824 and r5,r5,r3 00012b44: ae22006c sw r2,0x006c(r17) 00012b48: 0c0087ed jal 0x00021fb4 EnableEvent 00012b4c: ae250070 sw r5,0x0070(r17) store ReverbVoiceBits 00012b50: 8fbf001c lw r31,0x001c(r29) 00012b54: 8fb20018 lw r18,0x0018(r29) 00012b58: 8fb10014 lw r17,0x0014(r29) 00012b5c: 8fb00010 lw r16,0x0010(r29) 00012b60: 27bd0020 addiu r29,r29,0x0020 00012b64: 03e00008 jr r31 00012b68: 00000000 nop