z_overlay and z_fbdemo_dlftbls (Transition overlay handling), clean up a lot of u32s used to store pointers (#1073)

* overlay matches

* prototypes

* fbdemo too

* virtual to physical

* names, cleanup, etc

* bss reordering

* uintptr stuff

* fixed now?

* one fix

* headers and such

* fixes'n'stuff

* XXX action

* docs of a sort

* useless error codes

* n

* format

* header? I barely know her!

Co-authored-by: petrie911 <petrie911@users.noreply.github.com>
This commit is contained in:
petrie911
2022-10-04 15:46:32 -05:00
committed by GitHub
parent 8cd48db087
commit 2006a65ba6
46 changed files with 321 additions and 151 deletions
+10 -10
View File
@@ -1368,8 +1368,8 @@ asm/non_matchings/code/z_lib/Math_Vec3f_StepTo.s,Math_Vec3f_StepTo,0x80100448,0x
asm/non_matchings/code/z_lib/Lib_Nop801004FC.s,Lib_Nop801004FC,0x801004FC,0x2
asm/non_matchings/code/z_lib/Lib_SegmentedToVirtual.s,Lib_SegmentedToVirtual,0x80100504,0xE
asm/non_matchings/code/z_lib/Lib_SegmentedToVirtualNull.s,Lib_SegmentedToVirtualNull,0x8010053C,0x12
asm/non_matchings/code/z_lib/Lib_PhysicalToVirtual.s,Lib_PhysicalToVirtual,0x80100584,0x7
asm/non_matchings/code/z_lib/Lib_PhysicalToVirtualNull.s,Lib_PhysicalToVirtualNull,0x801005A0,0x8
asm/non_matchings/code/z_lib/Lib_VirtualToPhysical.s,Lib_VirtualToPhysical,0x80100584,0x7
asm/non_matchings/code/z_lib/Lib_PhysicalToVirtual.s,Lib_PhysicalToVirtual,0x801005A0,0x8
asm/non_matchings/code/z_lifemeter/LifeMeter_Init.s,LifeMeter_Init,0x801005C0,0x37
asm/non_matchings/code/z_lifemeter/LifeMeter_UpdateColors.s,LifeMeter_UpdateColors,0x8010069C,0xF9
asm/non_matchings/code/z_lifemeter/func_80100A80.s,func_80100A80,0x80100A80,0x8
@@ -2450,8 +2450,8 @@ asm/non_matchings/code/z_kaleido_scope_call/func_801639EC.s,func_801639EC,0x8016
asm/non_matchings/code/z_kaleido_scope_call/func_80163A38.s,func_80163A38,0x80163A38,0x8
asm/non_matchings/code/z_kaleido_scope_call/func_80163A58.s,func_80163A58,0x80163A58,0x6D
asm/non_matchings/code/z_kaleido_scope_call/func_80163C0C.s,func_80163C0C,0x80163C0C,0x21
asm/non_matchings/code/z_fbdemo_dlftbls/func_80163C90.s,func_80163C90,0x80163C90,0x3C
asm/non_matchings/code/z_fbdemo_dlftbls/func_80163D80.s,func_80163D80,0x80163D80,0x10
asm/non_matchings/code/z_fbdemo_dlftbls/Transition_Init.s,Transition_Init,0x80163C90,0x3C
asm/non_matchings/code/z_fbdemo_dlftbls/Transition_Destroy.s,Transition_Destroy,0x80163D80,0x10
asm/non_matchings/code/z_fbdemo/func_80163DC0.s,func_80163DC0,0x80163DC0,0xF3
asm/non_matchings/code/z_fbdemo/func_8016418C.s,func_8016418C,0x8016418C,0x30
asm/non_matchings/code/z_fbdemo/func_8016424C.s,func_8016424C,0x8016424C,0x23
@@ -2478,12 +2478,12 @@ asm/non_matchings/code/z_fbdemo_circle/TransitionCircle_SetType.s,TransitionCirc
asm/non_matchings/code/z_fbdemo_circle/func_80164C14.s,func_80164C14,0x80164C14,0x10C
asm/non_matchings/code/z_fbdemo_circle/TransitionCircle_Draw.s,TransitionCircle_Draw,0x80165044,0x55
asm/non_matchings/code/z_fbdemo_circle/TransitionCircle_IsDone.s,TransitionCircle_IsDone,0x80165198,0x6
asm/non_matchings/code/z_overlay/func_801651B0.s,func_801651B0,0x801651B0,0x1D
asm/non_matchings/code/z_overlay/func_80165224.s,func_80165224,0x80165224,0x19
asm/non_matchings/code/z_overlay/func_80165288.s,func_80165288,0x80165288,0x3D
asm/non_matchings/code/z_overlay/func_8016537C.s,func_8016537C,0x8016537C,0x2F
asm/non_matchings/code/z_overlay/func_80165438.s,func_80165438,0x80165438,0x3
asm/non_matchings/code/z_overlay/func_80165444.s,func_80165444,0x80165444,0x7
asm/non_matchings/code/z_overlay/TransitionOverlay_VramToRam.s,TransitionOverlay_VramToRam,0x801651B0,0x1D
asm/non_matchings/code/z_overlay/TransitionOverlay_VramToRamArray.s,TransitionOverlay_VramToRamArray,0x80165224,0x19
asm/non_matchings/code/z_overlay/TransitionOverlay_Load.s,TransitionOverlay_Load,0x80165288,0x3D
asm/non_matchings/code/z_overlay/TransitionOverlay_Free.s,TransitionOverlay_Free,0x8016537C,0x2F
asm/non_matchings/code/z_overlay/TransitionOverlay_ClearLoadInfo.s,TransitionOverlay_ClearLoadInfo,0x80165438,0x3
asm/non_matchings/code/z_overlay/TransitionOverlay_SetSegment.s,TransitionOverlay_SetSegment,0x80165444,0x7
asm/non_matchings/code/z_play/func_80165460.s,func_80165460,0x80165460,0x6A
asm/non_matchings/code/z_play/func_80165608.s,func_80165608,0x80165608,0xA
asm/non_matchings/code/z_play/func_80165630.s,func_80165630,0x80165630,0xA
1 asm/non_matchings/code/z_en_a_keep/EnAObj_Init.s EnAObj_Init 0x800A5AC0 0x2B
1368 asm/non_matchings/code/z_lib/Lib_Nop801004FC.s Lib_Nop801004FC 0x801004FC 0x2
1369 asm/non_matchings/code/z_lib/Lib_SegmentedToVirtual.s Lib_SegmentedToVirtual 0x80100504 0xE
1370 asm/non_matchings/code/z_lib/Lib_SegmentedToVirtualNull.s Lib_SegmentedToVirtualNull 0x8010053C 0x12
1371 asm/non_matchings/code/z_lib/Lib_PhysicalToVirtual.s asm/non_matchings/code/z_lib/Lib_VirtualToPhysical.s Lib_PhysicalToVirtual Lib_VirtualToPhysical 0x80100584 0x7
1372 asm/non_matchings/code/z_lib/Lib_PhysicalToVirtualNull.s asm/non_matchings/code/z_lib/Lib_PhysicalToVirtual.s Lib_PhysicalToVirtualNull Lib_PhysicalToVirtual 0x801005A0 0x8
1373 asm/non_matchings/code/z_lifemeter/LifeMeter_Init.s LifeMeter_Init 0x801005C0 0x37
1374 asm/non_matchings/code/z_lifemeter/LifeMeter_UpdateColors.s LifeMeter_UpdateColors 0x8010069C 0xF9
1375 asm/non_matchings/code/z_lifemeter/func_80100A80.s func_80100A80 0x80100A80 0x8
2450 asm/non_matchings/code/z_kaleido_scope_call/func_80163A38.s func_80163A38 0x80163A38 0x8
2451 asm/non_matchings/code/z_kaleido_scope_call/func_80163A58.s func_80163A58 0x80163A58 0x6D
2452 asm/non_matchings/code/z_kaleido_scope_call/func_80163C0C.s func_80163C0C 0x80163C0C 0x21
2453 asm/non_matchings/code/z_fbdemo_dlftbls/func_80163C90.s asm/non_matchings/code/z_fbdemo_dlftbls/Transition_Init.s func_80163C90 Transition_Init 0x80163C90 0x3C
2454 asm/non_matchings/code/z_fbdemo_dlftbls/func_80163D80.s asm/non_matchings/code/z_fbdemo_dlftbls/Transition_Destroy.s func_80163D80 Transition_Destroy 0x80163D80 0x10
2455 asm/non_matchings/code/z_fbdemo/func_80163DC0.s func_80163DC0 0x80163DC0 0xF3
2456 asm/non_matchings/code/z_fbdemo/func_8016418C.s func_8016418C 0x8016418C 0x30
2457 asm/non_matchings/code/z_fbdemo/func_8016424C.s func_8016424C 0x8016424C 0x23
2478 asm/non_matchings/code/z_fbdemo_circle/func_80164C14.s func_80164C14 0x80164C14 0x10C
2479 asm/non_matchings/code/z_fbdemo_circle/TransitionCircle_Draw.s TransitionCircle_Draw 0x80165044 0x55
2480 asm/non_matchings/code/z_fbdemo_circle/TransitionCircle_IsDone.s TransitionCircle_IsDone 0x80165198 0x6
2481 asm/non_matchings/code/z_overlay/func_801651B0.s asm/non_matchings/code/z_overlay/TransitionOverlay_VramToRam.s func_801651B0 TransitionOverlay_VramToRam 0x801651B0 0x1D
2482 asm/non_matchings/code/z_overlay/func_80165224.s asm/non_matchings/code/z_overlay/TransitionOverlay_VramToRamArray.s func_80165224 TransitionOverlay_VramToRamArray 0x80165224 0x19
2483 asm/non_matchings/code/z_overlay/func_80165288.s asm/non_matchings/code/z_overlay/TransitionOverlay_Load.s func_80165288 TransitionOverlay_Load 0x80165288 0x3D
2484 asm/non_matchings/code/z_overlay/func_8016537C.s asm/non_matchings/code/z_overlay/TransitionOverlay_Free.s func_8016537C TransitionOverlay_Free 0x8016537C 0x2F
2485 asm/non_matchings/code/z_overlay/func_80165438.s asm/non_matchings/code/z_overlay/TransitionOverlay_ClearLoadInfo.s func_80165438 TransitionOverlay_ClearLoadInfo 0x80165438 0x3
2486 asm/non_matchings/code/z_overlay/func_80165444.s asm/non_matchings/code/z_overlay/TransitionOverlay_SetSegment.s func_80165444 TransitionOverlay_SetSegment 0x80165444 0x7
2487 asm/non_matchings/code/z_play/func_80165460.s func_80165460 0x80165460 0x6A
2488 asm/non_matchings/code/z_play/func_80165608.s func_80165608 0x80165608 0xA
2489 asm/non_matchings/code/z_play/func_80165630.s func_80165630 0x80165630 0xA