* TRK full match
* remove trk asm
* ar done
* cleanup some dolphin headers
* more dolphin cleanup
* cleanup / GD fully matched
* almost all of GX fully matched
* GX / Mtx full matched
* most of OS done
* pad done
* most of VI
* remove asm
* forgot couple vec funcs
* couple JUtility matches
* cleanup SSystem files
* MSL_C fully matched
* fix build
* remove asm
* reorganize MSL_C/Runtime libs into more accurate setup
* little more cleanup
* cleanup some MSL headers
* obj_rgate OK
* remove asm
* some rgate documentation
* Almost match JASBasicInst
* JASDrumSet OK
* Some JAudio2 struct adjustment
* Match JKRHeap::callAllDisposer
* JAISe OK
* Fix setAutoDelete
* JAISound OK
* Match a few functions in linklist
* Few matches in d_a_e_ym
* JUTTexture OK
* Work on JUTGamePad
* Import JUTResource
* Work on JUTResFont::getFontCode
* Maybe improve JMAEulerToQuat
* JKRFileLoader OK
* JUTCacheFont work
* Match J3DModel::prepareShapePackets
* JUTDirectFile OK
* JUTDirectPrint OK
* Work on JUTProcBar
* Work on JUTResFont
* Work on d_resorce
* Work on d_a_tag_TWgate
* Work on d_meter_map
* d_tresure OK
* Work on d_vibration
* Work on d_a_npc
* Work on d_a_npc
* Work on d_a_npc
* add "global.h" to files that use it
* add MSL_C includes to files that use them
* remove dolphin includes from headers that don't need them
* remove JSupport includes from headers that don't need them
* remove JKernel includes from headers that don't need them
* remove JUtility includes from headers that don't need them
* remove J3D includes from headers that don't need them
* remove J2D includes from headers that don't need them
* remove JAudio2 includes from headers that don't need them
* remove Z2AudioLib includes from headers that don't need them
* remove JMessage includes from headers that don't need them
* remove JParticle includes from headers that don't need them
* remove SComponent includes from headers that don't need them
* remove dol includes from headers that don't need them
* sort includes
* d_a_alink pass1 wip
* more d_a_alink work
* remove asm
* more daalink work
* 20% dol code decompiled
* fixed some nonmatchings for building
* a few daalink functions and labeling some HIO data
* d_a_alldie / d_a_tboxSw / d_a_tag_gstart / d_a_tag_hstop
* dolphin OS work / cleanup
* dolphin GX work / cleanup
* finish changing dolphin files to C
* more files into C
* match rest of MSL_C math functions
* more dolphin files converted to C
* remove asm
* d_bg_w work
* remove asm
* d_a_alink work / kytag14
* 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
* 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
* 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
* JUTException inherit JKRThread
* OK __ct__12JUTExceptionFP14JUTDirectPrint
* OK create__12JUTExceptionFP14JUTDirectPrint
* OK setFPException__12JUTExceptionFUl
* OK showFloatSub__12JUTExceptionFif
* OK showFloat__12JUTExceptionFP9OSContext
* OK searchPartialModule__12JUTExceptionFUlPUlPUlPUlPUl
* OK search_name_part__FPUcPUci
* OK showStack__12JUTExceptionFP9OSContext
* OK showMainInfo__12JUTExceptionFUsP9OSContextUlUl
* OK showGPR__12JUTExceptionFP9OSContext
* OK __sinit_JUTException_cpp
* OK showMapInfo_subroutine__12JUTExceptionFUlb
* OK showGPRMap__12JUTExceptionFP9OSContext
* OK showSRR0Map__12JUTExceptionFP9OSContext
* OK printDebugInfo__12JUTExceptionFQ212JUTException9EInfoPageUsP9OSContextUlUl
* OK isEnablePad__12JUTExceptionCFv
* OK readPad__12JUTExceptionFPUlPUl
* NONMATCHING printContext__12JUTExceptionFUsP9OSContextUlUl
* OK printContext__12JUTExceptionFUsP9OSContextUlUl
* OK __dt__12JUTExceptionFv
* OK waitTime__12JUTExceptionFl
* OK createFB__12JUTExceptionFv
* OK setPreUserCallback__12JUTExceptionFPFUsP9OSContextUlUl_v
* OK __ct__13JUTExternalFBFP16_GXRenderModeObj8_GXGammaPvUl
* OK createConsole__12JUTExceptionFPvUl
* NONMATCHING queryMapAddress_single__12JUTExceptionFPcUllPUlPUlPcUlbb
* OK queryMapAddress__12JUTExceptionFPcUllPUlPUlPcUlbb
* OK appendMapFile__12JUTExceptionFPCc
* clean up
* OK panic_f__12JUTExceptionFPCciPCce
* OK panic_f_va__12JUTExceptionFPCciPCcP16__va_list_struct
* OK errorHandler__12JUTExceptionFUsP9OSContextUlUl
* format
* format
* fixed requested changes
* merged with master and removed *.s files
Co-authored-by: Julgodis <>
* OK __ct__15JKRThreadSwitchFP7JKRHeap
* OK createManager__15JKRThreadSwitchFP7JKRHeap
* OK enter__15JKRThreadSwitchFP9JKRThreadi
* OK callback__15JKRThreadSwitchFP8OSThreadP8OSThread
* OK draw__15JKRThreadSwitchFP14JKRThreadName_P10JUTConsole
* OK draw__15JKRThreadSwitchFP14JKRThreadName_
* OK __dt__15JKRThreadSwitchFv
* JKRThread.cpp cleanup
* Fixed tp.py and libelf, changed JUT_ASSERT macro and removed unused .s files.
* Changed JKRThread access specifiers
Co-authored-by: Julgodis <>
* d_resource / some d_stage
* setup dDlst_list_c / d_select_icon OK
* JUTXfb / some JUTVideo + various
* some J2D classes / JUTVideo/Fader attempts
* bunch of m_Do cleanup + matches / f_ap_game OK
* mDoLib_clipper::setup OK
* most of d_meter_HIO OK
* pane_class / kantera_icon_meter
* some d_save matches / fixes
* more d_save cleanup
* fopAc_ac_c changes
* move a bunch of d_save / d_com_inf_game stuff
* format + remove asm
* move bit labels to correct header
* format
* move d_item
* fix check_itemno doc
* move
* fixes
* getLayerNo_common_common almost matching
just regalloc issues
* small fixes
* few more matches
* fix
* clean up d_a_player
* move some of daalink
* more daalink / daplayer
* setup some daalink members
* rest of daalink members setup
* remove comment
* few more matches
* remove asm
* more matches
* more matches + move e_wb_class
* fix some d_save classes
Co-authored-by: lepelog <lepelog@users.noreply.github.com>
* Makefile: Fix issues with iconv causing it to break under devkitPro / msys
The version of iconv included in devkitPro does not have a -o option,
so replace it with normal shell redirection. Also, SHIFT-JIS does not
have a mapping for ~, so output the Windows CP932 variant instead,
which does. See:
https://en.wikipedia.org/wiki/Tilde#Unicode_and_Shift_JIS_encoding_of_wave_dashhttps://en.wikipedia.org/wiki/Code_page_932_(Microsoft_Windows)#Single-byte_character_differences
* Update diff configuration
-Bbinary doesn't seem to work with my copy of
bjdump (it says it can't decode unknown architecture)
Cheese things by using expected/ instead of having
the user place things manually.
* JUTNameTab
* J3DPacket / J3DDrawBuffer
* format
Co-authored-by: lepelog <lepelog@users.noreply.github.com>
* data for c_angle
* data c_sxyz
* partially migrated c_xyz data
* c_xyz data
* c_xyz data decomp
* c_math data
* c_math data
* c_lib data, some cleanup
* rename some unnamed functions and create header for them
* header for string functions
* format and fix fabsf
* cleanup
* remove more unneded function prototypes
* move fpclassify to math.h
i previously had a bad habit of using double underscores in include
guard macro names, which are implementation-reserved per
the C++98 standard (see 17.4.3.1.2 Global names).
Co-authored-by: Pheenoh <pheenoh@gmail.com>