Doc setup_game_memory, label syms, add osSyncPrintf support, match funcs (#444)

* Doc setup_game_memory and label syms

* match func_800132F4

* match func label defines

* fix some fake ptrs

* match more code

* Matches

* Add osSyncPrintf support and matches

* Add func equiv to draw_square and add comment to is_debug
This commit is contained in:
MegaMech
2023-10-06 00:19:09 -06:00
committed by GitHub
parent 274fc21ffa
commit 2b74bbbcef
50 changed files with 971 additions and 3667 deletions
+25
View File
@@ -0,0 +1,25 @@
#ifndef HARDCODED_SEGMENTS_H
#define HARDCODED_SEGMENTS_H
/**
* Only used in the linker.
**/
#define SEG_START 0x80000000
#define SEG_MAIN 0x80000400
#ifdef AVOID_UB
// addr need to be manually updated when game is shifted
#define SEG_ENDING_SEQUENCES 0x80280000
#define SEG_RACING 0x8028DF00
#define SEG_802BA370 0x802BA370
#else
#define SEG_ENDING_SEQUENCES 0x80280000
#define SEG_RACING 0x8028DF00
#define SEG_FRAMEBUFFERS 0x802BA290
#define SEG_802BA370 0x802BA370 // 0x802BA370
#define SEG_AUDIO 0x803AF780
#endif // AVOID_UB
#endif /* HARDCODED_SEGMENTS_H */