Various fixes/matches

- Matched all remaining functions in `__osMalloc.c`, 2 functions in `code_8007BF90.c`, 1 in `code_800A9F30.c`, 2 in `fault.c`, 1 in `fault_drawer.c`, 1 in `gfxprint.c`, 2 in `z_camera.c`
-  Improved most other remaining non matchings to ensure they are actually equivalent and to get them closer to matching
- Added a `alloc.h` header file in the process of working on `fault.c` non matchings
- Decompiled `padmgr.c` data/bss in order to improve padmgr non matchings
- Removed unused `z_en_wallmas.c` data files
- Moved functions confirmed to be in `z_cheap_proc.c` to their own file with that name
This commit is contained in:
Roman971
2020-03-18 01:09:21 +01:00
parent 2c7a339a81
commit 76eb52ab52
37 changed files with 549 additions and 2829 deletions
-26
View File
@@ -1,26 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .data
glabel En_Wallmas_InitVars
.word 0x00110500, 0x00000015, 0x000B0000, 0x00000314
.word EnWallmas_Init
.word EnWallmas_Destroy
.word EnWallmas_Update
.word EnWallmas_Draw
glabel D_80B30D10
.word 0x00000939, 0x10010000, 0x00000000, 0x00000000, 0x00000000, 0xFFCFFFFF, 0x00000000, 0x00010100, 0x001E0028, 0x00000000, 0x00000000
glabel D_80B30D3C
.word 0x0400001E, 0x00289600
glabel D_80B30D44
.word 0x10020102, 0x10020210, 0x01020424, 0x02440402, 0x02240044, 0x00000104, 0x02020804, 0x00000400
glabel D_80B30D64
.word 0x89170030, 0xB04C157C, 0x386CFA24
glabel D_80B30D70
.word 0x00000000, 0x00000000, 0x00000000, 0x00000000
-11
View File
@@ -1,11 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .rodata
glabel D_80B30E10
.incbin "baserom/ovl_En_Wallmas", 0x18F0, 0x00000210
@@ -1,41 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .rodata
glabel D_80B30D80
.asciz "../z_en_wallmas.c"
.balign 4
glabel D_80B30D94
.asciz "../z_en_wallmas.c"
.balign 4
glabel D_80B30DA8
.asciz "../z_en_wallmas.c"
.balign 4
glabel D_80B30DBC
.asciz "../z_en_wallmas.c"
.balign 4
glabel D_80B30DD0
.asciz "../z_en_wallmas.c"
.balign 4
glabel D_80B30DE4
.asciz "../z_en_wallmas.c"
.balign 4
glabel D_80B30DF8
.word 0x3BCCCCCD
glabel D_80B30DFC
.word 0x3F860A92
glabel D_80B30E00
.word 0x3E860A92, 0x00000000, 0x00000000, 0x00000000
-11
View File
@@ -1,11 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .bss
glabel D_8016A4F0
.space 0x10
-15
View File
@@ -1,15 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purposee registers
.section .data
glabel D_8012D280
.incbin "baserom.z64", 0xBA4420, 0x4
#errcnt
glabel D_8012D284
.incbin "baserom.z64", 0xBA4424, 0xC