j2d / map_path work, d_drawlist / d_attention cleanup (#208)

* work on fop actor / actor mng, daalink, d_a_obj_item

* d_a_title mostly decompiled

* daalink / d_event / JMessage / dmsg_out_font work

* msg_scrn_base / msg_scrn_boss

* some work on mDo machine, d_menu_save, d_tresure, and various

* remove asm

* progress

* finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data

* rename more data

* remove asm / progress

* match all of d_pane_class

* fixes / some dKankyo doc

* bunch of j2d work. d_drawlist / d_attention cleanup

* progress / asm

* cleanup wip

* decompile JStage

* setup some more JStudio structs

* set up d_demo classes

* some d_demo work

* cleanup dolphin os stuff

* some initial dEvent documentation

* some At collision documentation

* match JUTConsole::doDraw

* dbgs work / split up some of d_a_alink into .inc files

* d_a_alink_spinner work
This commit is contained in:
TakaRikka
2022-08-30 14:22:17 -07:00
committed by GitHub
parent bc30d007e1
commit f8979749e3
613 changed files with 30182 additions and 40087 deletions
+5 -19
View File
@@ -7,20 +7,6 @@
#include "dol2asm.h"
#include "dolphin/types.h"
//
// Forward References:
//
extern "C" static void DLInsert();
extern "C" void OSFreeToHeap();
extern "C" void OSSetCurrentHeap();
extern "C" void OSInitAlloc();
extern "C" void OSCreateHeap();
//
// External References:
//
//
// Declarations:
//
@@ -29,7 +15,7 @@ extern "C" void OSCreateHeap();
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
static asm void DLInsert() {
static asm void* DLInsert(void* param_0, void* param_1) {
nofralloc
#include "asm/dolphin/os/OSAlloc/DLInsert.s"
}
@@ -43,7 +29,7 @@ static u8 HeapArray[4];
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void OSFreeToHeap() {
asm void OSFreeToHeap(OSHeapHandle heap, void* ptr) {
nofralloc
#include "asm/dolphin/os/OSAlloc/OSFreeToHeap.s"
}
@@ -61,7 +47,7 @@ SECTION_SDATA extern u32 __OSCurrHeap[1 + 1 /* padding */] = {
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void OSSetCurrentHeap() {
asm void OSSetCurrentHeap(OSHeapHandle heap) {
nofralloc
#include "asm/dolphin/os/OSAlloc/OSSetCurrentHeap.s"
}
@@ -81,7 +67,7 @@ static u8 ArenaEnd[4];
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void OSInitAlloc() {
asm void* OSInitAlloc(void* lo, void* hi, s32 maxHeaps) {
nofralloc
#include "asm/dolphin/os/OSAlloc/OSInitAlloc.s"
}
@@ -91,7 +77,7 @@ asm void OSInitAlloc() {
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void OSCreateHeap() {
asm OSHeapHandle OSCreateHeap(void* start, void* end) {
nofralloc
#include "asm/dolphin/os/OSAlloc/OSCreateHeap.s"
}