1245 Commits

Author SHA1 Message Date
cadmic
2b9b7a40b0 [iQue] Match z_end_title, z_construct, z_common_data, z_parameter, z_title, z_opening (#2424)
* [iQue] Match z_end_title

* [iQue] Match z_construct

* [iQue] Match z_common_data

* [iQue] Match z_parameter

* [iQue] Match z_title, z_opening

* Actually match z_parameter

* Give up on stack issues

* this->exit = true
2025-01-14 11:55:47 -05:00
cadmic
e2ed5568e5 [iQue] Match ovl_kaleido_scope (#2421)
* [iQue] Match ovl_kaleido_scope

* Add bug comment for OOB reads

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Preemptively fix merge conflicts

---------

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2025-01-14 08:32:00 -05:00
cadmic
bdc6b50153 [iQue] Define EGCS macro instead of relying on __GNUC__ (#2423)
* [iQue] Define EGCS macro instead of relying on __GNUC__

* Revert longlong.h
2025-01-13 08:32:25 -05:00
cadmic
7aa9808b7e [iQue] Use CPP includes in spec and update for iQue (#2399)
* Update spec for iQue

* Use CPP includes for spec overlays, scenes, and libultra

* Fix iQue + DEBUG_FEATURES

* Define BBPLAYER, merge function definitions

* Add Makefile dependency on spec_includes

* Fix libc order for iQue

* Match src/libultra/bb/sa/common.c to fix linker errors

* Use C versions of getcount/setcompare for iQue

* Format

* Small fixes to line up boot segment

* Remove zlib.c
2025-01-11 22:44:14 -05:00
Tharo
8d213e61cf [iQue] Match PI-related files in libultra/io (#2408)
* [iQue] Match PI-related files in libultra/io, set correct thread ID for vimgr

* Create a define for the hardcoded address in devmgr.c

* Fix BSS
2025-01-10 21:15:43 -05:00
Tharo
b19b06a531 [iQue] Match remaining libultra/os files (#2414)
* Match remaining libultra/os files

* Align box id macros

* Fix bss, format

* Fix BSS

* Clarify some comments

* More bug comment

* Comment

* Fix BSS
2025-01-10 18:54:02 -05:00
cadmic
e4ad4e5eee [iQue] Match remaining src/boot files (#2417)
* [iQue] Match remaining src/boot files

* Fix debug ROM

* Use -funsigned-char

* Sort ique before gc in LNx macros
2025-01-10 18:47:55 +01:00
cadmic
26f91bd3bb [iQue] Match gzip/zlib decompression (#2416)
* [iQue] Match gzip/zlib decompression

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>

* Update missed renames in disassembly

* Fix some formatting

---------

Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
2025-01-10 14:31:20 +01:00
Tharo
94971a61b4 [iQue] Match handwritten asm files in libultra/os, match C replacements of osGetCount and __osSetCompare (#2413)
* [iQue] Match handwritten asm files in libultra/os, match C replacements of osGetCount and __osSetCompare

* Format

* Adjust some label names in dcache functions
2025-01-10 06:16:19 -05:00
Tharo
eed11e3fb5 [iQue] Import vimodes from ultralib (#2403)
* [iQue] Import vimodes from ultralib

* Account for pixel_advance change on iQue

* Actually do the fix properly
2025-01-10 05:55:31 -05:00
Tharo
a57d449196 [iQue] Match remaining libultra/io files (#2411)
* [iQue] Match remaining libultra/io files

* Match osSpTaskYielded

* Fix bss, remove double space in controller.h

* Fix BSS
2025-01-09 19:31:11 -05:00
cadmic
f329507f97 [iQue] Create/update macros for printing debug strings (#2398) 2025-01-08 10:33:49 -05:00
Tharo
a3c3c38fea [iQue] Match libultra/libc (#2407) 2025-01-07 04:19:18 -05:00
Tharo
aaf9c939a4 [iQue] Match osViSetMode (#2404) 2025-01-07 00:21:25 -05:00
Yanis002
7bf2f88695 Merge remote-tracking branch 'upstream/main' into decomp_merge 2025-01-06 12:42:03 +01:00
Yanis
a449ef23bf Actor Cutscene system from Majora's Mask (#161)
* animated materials

* fix build errors with CI

* tests

* fix issues

* renamed cs halt state flag

* format

* remove test scene from spec

* remove test code from z_play.c

* forgot to reset the boot entrance

* fixed issues

* format

* update safeguards

* cleanup and fixes
2025-01-06 12:40:41 +01:00
Yanis002
aa3503b540 Merge remote-tracking branch 'decomp/main' into decomp_merge 2025-01-06 12:34:01 +01:00
Tharo
9a60c941fe [iQue] Match exceptasm.s and parameters.s (#2401) 2025-01-06 02:23:23 -05:00
Yanis002
62057cf071 fix issues with the profiler (thanks to tharo) 2025-01-06 03:26:12 +01:00
Yanis002
ad3e555faa fix build issues (not the profiler because idk) 2025-01-06 02:44:08 +01:00
Yanis002
ced7d36d06 Merge remote-tracking branch 'decomp/main' into decomp_merge 2025-01-06 02:32:45 +01:00
Yanis
3f156f32df Animated Materials from Majora's Mask (#160)
* animated materials

* fix build errors with CI

* fix issues in scene when disabled
2025-01-06 00:17:24 +01:00
Tharo
bd606ba038 [iQue] Match skapi.s, create bbskapi.h documenting the syscalls (#2400) 2025-01-03 22:58:26 -05:00
Trueffel
64bd859db4 Debug Boot (DebugOpeningState) (#136)
* First pass of debug boot port

* mostly done

* general changes, test this comma in commit now

* Makefile update: The "," works now

* quotes also working now inside a string

* get rid of emulator path

* format

* review

* improvements (add skybox and improve print logic)

* cleanup and fix build issues

* format

---------

Co-authored-by: Yanis002 <35189056+Yanis002@users.noreply.github.com>
2025-01-02 18:14:50 +01:00
cadmic
9dafc2f2e4 [iQue] Build some C files with EGCS (#2396) 2025-01-02 03:35:22 -05:00