* Metrowerks overhaul
-Make MSL_C match under inline deferred
-Overhaul metrowerks header files
* repair file-end newlines
* formatting
clang format is happy now. some questionable formatting choices, especially strtoul.h
* fix two ending newlines with extensionless files
* More formatting
* Match alloc.c
* Match mem_funcs.c
* Fix makefile
* Make Runtime and TRK match under deferred
* hopefully fix the configure script
---------
Co-authored-by: EpochFlame <jupiterror@gmail.com>
* static library test (will fail to build)
missing operator nonsense
* try
* try 2
* fix copypaste mistake
Co-Authored-By: Luke Street <549122+encounter@users.noreply.github.com>
* static libs real
booyah baybee
* make gamecode into static libraries
* organize Dolphin files
dolphin sorted
* declutter build folder
* generate Dolphin.a
Dolphin.a is real now. Truly, a library of libraries.
* libraries build with -j
need to fix singlethreading and calcprogress
* repair singlethreaded make
ensure directories exist as a step within static library recipes
* consistent buildlog capitalization
linking to Linking for static library recipes
* remove bss hack from calcprogress
no longer necessary
* mute compiler warnings by default
they cluttered the build logs
* tiptoe around wibo's failure
wibo cannnot handle multiple linker instances generating libraries in the same folder
* repair calcprogress
ty @encounter for regex help
---------
Co-authored-by: Luke Street <luke.street@encounterpc.com>
Co-authored-by: Luke Street <549122+encounter@users.noreply.github.com>
* Padclamp progress
* FILE_POS progress
* FILE_POS progress
* init_cpp_exceptions progress
* Repair match, fix formatting
* dvdqueue and file_io progress
* Update AmcExi2Stubs.c
* Link OSSync.c
courtesy of Open_RVL
* Match + link OSMessage.c
Also fix JKRAramStream.cpp to be compatible with adjusted definitions of OSMessage functions
* link dvdqueue.c
* fix amc exi stubs
* Match + link ddh/main.c and main.c
both require a dumb static function to fix bss ordering, maybe it's a compiler flag instead? unsure
* fix main and ddh/main BSS naming
* match FILE_POS.C
finally 🆗 after suffering through compiler errors and mismatches
* Update FILE_POS.C
* the byte of- 87 dolphin files remain
* Update progress.csv
Co-authored-by: EpochFlame <82550703+EpochFlame@users.noreply.github.com>
gameConfig.cpp recently became unmatched because a slight difference in the code went unaccounted for during the transition to a c++ file. This commit passes the VERNUM makefile variable to the compiler, and converts it into buildflags that can be used to implement version specific differences in a function.
fully split BSS.s
also clean up quite a few assembly files
note that J3DPacket.s and ogLifeGauge.s have had their BSS moved to J3DSys.s and ogScreen.s respectively for the sake of alignment
also, BSS inflates data% significantly due to how lcomm and comm show in the linkmap
trk debugger main loop decompiled
todo: figure out if the switch case is using the defines in Dolphin/trk.h
Co-Authored-By: SodiumChlorideLogic <19625889+SodiumChlorideLogic@users.noreply.github.com>
* match ClearArena
Co-Authored-By: Revo <projectrevotpp@hotmail.com>
* InquiryCallback
* decompile OSInit
need to cleanup OS.c after it's fully matched
Co-Authored-By: kiwi <49212064+kiwi515@users.noreply.github.com>
Co-Authored-By: HeartPiece <107153442+HeartPiece44@users.noreply.github.com>
* more OS.c progress
Co-Authored-By: HeartPiece <107153442+HeartPiece44@users.noreply.github.com>
* finish OS.c aside from linking
thanks, riidefi, for helping with __OSGetDIConfig
need rostr to not be applied
* simplify no-read-only
* OS.c matches but cannot link
due to BSS ordering memery. DriveInfo and DriveBlock need to be static, but that messes with BSS order. Making them extern changes code generation.
Co-authored-by: Revo <projectrevotpp@hotmail.com>
Co-authored-by: kiwi <49212064+kiwi515@users.noreply.github.com>
Co-authored-by: HeartPiece <107153442+HeartPiece44@users.noreply.github.com>
build/pikmin2.usa/main.dol: OK
Progress:
Code sections: 80860 / 4652352 bytes in src (1.738046%)
Data sections: 36249 / 712856 bytes in src (5.085038%)
You have 173 out of 10000 Pokos and collected 10 out of 201 treasures.