core1/code_1D00.c done
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# banjo (93.9446%)
|
# banjo (93.9723%)
|
||||||
|
|
||||||
<img src="./progress/progress_total.svg">
|
<img src="./progress/progress_total.svg">
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
</mask>
|
</mask>
|
||||||
<g mask="url(#anybadge_1)">
|
<g mask="url(#anybadge_1)">
|
||||||
<path fill="#555" d="M0 0h44v20H0z"/>
|
<path fill="#555" d="M0 0h44v20H0z"/>
|
||||||
<path fill="#35e000" d="M44 0h67v20H44z"/>
|
<path fill="#34e000" d="M44 0h67v20H44z"/>
|
||||||
<path fill="url(#b)" d="M0 0h111v20H0z"/>
|
<path fill="url(#b)" d="M0 0h111v20H0z"/>
|
||||||
</g>
|
</g>
|
||||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
<text x="22.0" y="14">core1</text>
|
<text x="22.0" y="14">core1</text>
|
||||||
</g>
|
</g>
|
||||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||||
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">88.2069%</text>
|
<text x="78.5" y="15" fill="#010101" fill-opacity=".3">88.3978%</text>
|
||||||
<text x="77.5" y="14">88.2069%</text>
|
<text x="77.5" y="14">88.3978%</text>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@@ -17,7 +17,7 @@
|
|||||||
<text x="75.0" y="14">Banjo-Kazooie (us.v10)</text>
|
<text x="75.0" y="14">Banjo-Kazooie (us.v10)</text>
|
||||||
</g>
|
</g>
|
||||||
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
|
||||||
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">93.9446%</text>
|
<text x="184.5" y="15" fill="#010101" fill-opacity=".3">93.9723%</text>
|
||||||
<text x="183.5" y="14">93.9446%</text>
|
<text x="183.5" y="14">93.9723%</text>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -424,72 +424,59 @@ void amgrHandleDoneMsg(AudioInfo *info)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NONMATCHING
|
|
||||||
s32 func_80240204(s32 addr, s32 len, void *state);
|
|
||||||
#pragma GLOBAL_ASM("asm/nonmatchings/core1/code_1D00/func_80240204.s")
|
|
||||||
#else
|
|
||||||
s32 func_80240204(s32 addr, s32 len, void *state){
|
s32 func_80240204(s32 addr, s32 len, void *state){
|
||||||
void *sp44;
|
void *sp44;
|
||||||
s32 sp40;
|
s32 sp40;
|
||||||
Struct_1D00_3 *sp30;
|
|
||||||
Struct_1D00_3 *temp_s0;
|
|
||||||
ALLink *temp_s0_2;
|
|
||||||
Struct_1D00_3 *temp_s0_3;
|
|
||||||
Struct_1D00_3 *temp_v0_2;
|
|
||||||
s32 temp_t4;
|
|
||||||
s32 temp_v0_3;
|
|
||||||
s32 temp_v1;
|
|
||||||
u32 temp_a3;
|
|
||||||
u32 temp_v0;
|
|
||||||
void *temp_t0;
|
|
||||||
Struct_1D00_3 *phi_s0;
|
Struct_1D00_3 *phi_s0;
|
||||||
Struct_1D00_3 *phi_a2;
|
Struct_1D00_3 *phi_v0;
|
||||||
|
s32 new_var;
|
||||||
|
Struct_1D00_3 *sp30;
|
||||||
|
|
||||||
phi_s0 = D_8027D5B0.unk4;
|
phi_s0 = D_8027D5B0.unk4;
|
||||||
sp30 = NULL;
|
sp30 = NULL;
|
||||||
while (temp_s0 != NULL) {
|
while (phi_s0 != NULL ) {
|
||||||
temp_v0 = phi_s0->unk8;
|
new_var = (phi_s0->unk8 + 0x200);
|
||||||
if (addr >= temp_v0) {
|
if ((phi_s0->unk8 > addr)) break;
|
||||||
|
|
||||||
sp30 = phi_s0;
|
sp30 = phi_s0;
|
||||||
if ((temp_v0 + 0x200) >= (addr + len)) {
|
if ((addr + len) <= new_var) {
|
||||||
phi_s0->unkC = (s32) D_8027DCC8;
|
phi_s0->unkC = (s32) D_8027DCC8;
|
||||||
return osVirtualToPhysical((phi_s0->unk10 + addr) - temp_v0);
|
return osVirtualToPhysical(phi_s0->unk10 + (addr - phi_s0->unk8));
|
||||||
}
|
}
|
||||||
phi_s0 = phi_s0->unk0.next;
|
phi_s0 = phi_s0->unk0.next;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
phi_s0 = D_8027D5B0.unk8;
|
||||||
temp_s0_3 = D_8027D5B0.unk8;
|
if (phi_s0 == NULL) {
|
||||||
if (temp_s0_3 == NULL) {
|
|
||||||
func_80247F24(2, 0x7D1);
|
func_80247F24(2, 0x7D1);
|
||||||
func_802483D8();
|
func_802483D8();
|
||||||
return osVirtualToPhysical(D_8027D5B0.unk4);
|
return osVirtualToPhysical(D_8027D5B0.unk4);
|
||||||
}
|
}
|
||||||
D_8027D5B0.unk8 = temp_s0_3->unk0.next;
|
D_8027D5B0.unk8 = phi_s0->unk0.next;
|
||||||
alUnlink(temp_s0_3);
|
alUnlink(phi_s0);
|
||||||
if (sp30 != NULL) {
|
if (sp30 != NULL) {
|
||||||
alLink(temp_s0_3, sp30);
|
alLink(phi_s0, sp30);
|
||||||
} else {
|
} else {
|
||||||
temp_v0_2 = D_8027D5B0.unk4;
|
phi_v0 = D_8027D5B0.unk4;
|
||||||
if (temp_v0_2 != NULL) {
|
if (phi_v0 != NULL) {
|
||||||
D_8027D5B0.unk4 = temp_s0_3;
|
D_8027D5B0.unk4 = phi_s0;
|
||||||
temp_s0_3->unk0.next = (ALLink *)temp_v0_2;
|
phi_s0->unk0.next = (ALLink *)phi_v0;
|
||||||
temp_s0_3->unk0.prev = NULL;
|
phi_s0->unk0.prev = NULL;
|
||||||
temp_v0_2->unk0.prev = (ALLink *)temp_s0_3;
|
phi_v0->unk0.prev = (ALLink *)phi_s0;
|
||||||
} else {
|
} else {
|
||||||
D_8027D5B0.unk4 = temp_s0_3;
|
D_8027D5B0.unk4 = phi_s0;
|
||||||
temp_s0_3->unk0.next = NULL;
|
phi_s0->unk0.next = NULL;
|
||||||
temp_s0_3->unk0.prev = NULL;
|
phi_s0->unk0.prev = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
sp44 = phi_s0->unk10;
|
||||||
sp40 = addr & 1;
|
sp40 = addr & 1;
|
||||||
sp44 = temp_s0_3->unk10;
|
addr -= sp40;
|
||||||
sp40 = temp_v0_3;
|
phi_s0->unk8 = addr;
|
||||||
temp_s0_3->unk8 = addr - sp40;
|
phi_s0->unkC = (s32) D_8027DCC8;
|
||||||
temp_s0_3->unkC = (s32) D_8027DCC8;
|
osPiStartDma(&D_8027D100[D_8027DCCC++], 1, 0, addr, sp44, 0x200U, &D_8027D008);
|
||||||
osPiStartDma(&D_8027D100[D_8027DCCC++], 1, 0, temp_a3, sp44, 0x200U, &D_8027D008);
|
|
||||||
return osVirtualToPhysical(sp44) + sp40;
|
return osVirtualToPhysical(sp44) + sp40;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
void *func_802403B8(void *state) {
|
void *func_802403B8(void *state) {
|
||||||
if (D_8027D5B0.unk0 == 0) {
|
if (D_8027D5B0.unk0 == 0) {
|
||||||
|
@@ -106,7 +106,6 @@ void func_802FDEE0(s32 arg0, struct8s *arg1, Gfx **arg2, Mtx **arg3, Vtx **arg4)
|
|||||||
s32 var_v1;
|
s32 var_v1;
|
||||||
u32 sp118;
|
u32 sp118;
|
||||||
f32 pad;
|
f32 pad;
|
||||||
|
|
||||||
f32 sp110;
|
f32 sp110;
|
||||||
|
|
||||||
sp118 = D_803815C0 == 2;
|
sp118 = D_803815C0 == 2;
|
||||||
|
@@ -32,7 +32,7 @@ segments:
|
|||||||
- [0x00000000, c, code_0]
|
- [0x00000000, c, code_0]
|
||||||
- [0x0660, c, code_660] #DONE
|
- [0x0660, c, code_660] #DONE
|
||||||
- [0x07C0, c, inflate] #DONE
|
- [0x07C0, c, inflate] #DONE
|
||||||
- [0x1D00, c, code_1D00]
|
- [0x1D00, c, code_1D00] #DONE
|
||||||
- [0x2BD0, c, code_2BD0]
|
- [0x2BD0, c, code_2BD0]
|
||||||
- [0x2DA0, c, code_2DA0] #DONE
|
- [0x2DA0, c, code_2DA0] #DONE
|
||||||
- [0x2FA0, c, code_2FA0] #DONE
|
- [0x2FA0, c, code_2FA0] #DONE
|
||||||
|
Reference in New Issue
Block a user