* 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 <>
calculate_progress() would attempt to print a rel completion percentage
even when no rels were found. the total size of the rels would thus be
zero, resulting in a ZeroDivisionError. instead, we simply print
em-dashes in the summary columns if no rels were found.
* mass mng header
* d_cc_d start
* c_cc_d ok
* tmp commit
* almost, reordering of vtable functions
* progress
* more progress
* cleanup, still non matching
* mark all of d_cc_d as nonmatching to OK
* c_cc_s
* c_cc_s OK
* d_cc_mass_s OK
* cleanup
* gameinfo __sinit, not OK
* a bit of cleanup
* format
* remove asm
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>
* change split.py to output extern vars/functions into generate CPP
also change demangling to use short type names
* don't take files for extern funcs/vars anymore
Co-authored-by: Pheenoh <pheenoh@gmail.com>
* before __register_global_object
* JKRThread::sThreadList, JKRHeap::sSystemHeap, etc.
* cleanup and started on JKRDvdArchive
* before changing JKRCompression
* more JKRDvdArchive, abs, and memset
* fixed JKRArchive::setExpandSize split
* JKRArchive::sCurrentDirID, JKRDvdFile::sDvdList, and matching JKRDvdFile constructors
* problems
* merge fixes and formatting
* updated clang version in clang-format-all to version 10
* Added OSPhysicalToCached and struct for global memory
* remove useless __attribute__
* changed from defines and macros to const variable and function
* changed FLAG_HAS to FLAG_ON
* JKRAram, linking problems
* fix JKRAram
* remove nonmatching stuff
* renamed static data
* more static class members
* JKRAramStream OK
* formatting
Co-authored-by: Julgodis <>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
* splitter: v0.1
* basic demangle stuff
* splitter: v0.2
- add from, to options to select line range in .s to process
- infer referred labels from both loads and stores
- dump our own function labels in addition to externs into functions.h,
to provide forward declarations for labels that other functions might
use.
- fix off-by-one which was eating the last instruction of some functions
* splitter: v0.3
merged a bunch of work lepelog did, including:
- demangling support
- better function identification
- automatic FORCEACTIVE
and did a little bit of cleanup
* splitter: improve sda hack and format
* splitter: fix comment_out(), patch GQR references
* splitter: some speed optimizations
* remove debug print
* splitter: forceactive options
* refactor demangler, add support for more operators and more mangling symbols
* array and member (still one non working case)
* fix some operands in demangler
* make parents for funcs_out
* splitter: fix off-by-one in last line of last function in some .s files
Co-authored-by: lepelog <lepelog@users.noreply.github.com>
Co-authored-by: Pheenoh <pheenoh@gmail.com>
* m_Do_controller_pad split
* Attempt to match and match mDoCPd_c::recalibrate
* Fix Merge Errors
* clang-format
Co-authored-by: Pheenoh <pheenoh@gmail.com>
* new system for handling vtables
* commented out non-matching JKRDisposer::~JKDisposer()
* removed artificial vtables and matched simple virtual-call functions
* better text on nonmatching functions
* reverted asmdiff.sh
* attempt 2
* Spelling
* banner and .gitignore for vtable artifacts
* move virtual function to the correct class
* remove unnecessary casts