* 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