<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mm/src/boot_O2_g3/fault_drawer.c, branch main</title>
<subtitle>Decompilation of The Legend of Zelda: Majora’s Mask</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/'/>
<entry>
<title>Non libultra Boot Cleanup (#1370)</title>
<updated>2023-09-12T00:38:31+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2023-09-12T00:38:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=190b78549e0fa1a801786e73d914185e1fbca2a6'/>
<id>190b78549e0fa1a801786e73d914185e1fbca2a6</id>
<content type='text'>
* reorganize

* math64

* rcp_utils

* osSyncPrintfUnused

* comment spacing</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* reorganize

* math64

* rcp_utils

* osSyncPrintfUnused

* comment spacing</pre>
</div>
</content>
</entry>
<entry>
<title>Port OoT's docs for `fault.c` and `fault_drawer.c` (#1199)</title>
<updated>2023-07-08T18:41:25+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2023-07-08T18:41:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=b3eae0e5b7bcc2c5d3c8a1d562f0737d80c7e35c'/>
<id>b3eae0e5b7bcc2c5d3c8a1d562f0737d80c7e35c</id>
<content type='text'>
* fault.h

* some docs stealing

* fix building

* fault_internal.h

* pass

* finish stealing docs

* finish cleanup

* format

* warning

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* arggggg

* arggggg part 2

* STACK

* PHYS_TO_K0(0x400000)

* format

* fix

* Instance

* format

* Neutral reset

* variables.h cleanup

* bss

* frameBuffer

* format

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* bss

* bss

* bss

* callback cleanup

* fix function declarations

* fix again

* bss

* bss

* Update src/overlays/actors/ovl_En_Fishing/z_en_fishing.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* bss

* bss

* Update src/boot_O2_g3/fault.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* review

* import bss

* format

* minor cleanup

* bss

* review

* fix

* bss

* bss

* bss

* bss

* bss

* format

* a

* Z_PRIORITY_FAULT

* bss

* fix

* idle.c bss doesn't want to get fixed :c

* review

* bss

---------

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;
Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fault.h

* some docs stealing

* fix building

* fault_internal.h

* pass

* finish stealing docs

* finish cleanup

* format

* warning

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* arggggg

* arggggg part 2

* STACK

* PHYS_TO_K0(0x400000)

* format

* fix

* Instance

* format

* Neutral reset

* variables.h cleanup

* bss

* frameBuffer

* format

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

* bss

* bss

* bss

* callback cleanup

* fix function declarations

* fix again

* bss

* bss

* Update src/overlays/actors/ovl_En_Fishing/z_en_fishing.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* Update src/boot_O2_g3/fault.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* bss

* bss

* Update src/boot_O2_g3/fault.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

* review

* import bss

* format

* minor cleanup

* bss

* review

* fix

* bss

* bss

* bss

* bss

* bss

* format

* a

* Z_PRIORITY_FAULT

* bss

* fix

* idle.c bss doesn't want to get fixed :c

* review

* bss

---------

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;
Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Misc Cleanup 2 (#1260)</title>
<updated>2023-06-02T04:39:39+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2023-06-02T04:39:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=4b25b4d8e655c5280fd42e5c99f3971ae9b5326b'/>
<id>4b25b4d8e655c5280fd42e5c99f3971ae9b5326b</id>
<content type='text'>
* more misc cleanup

* PR suggestions

* more abs alt, csId

* more cleanup, can't help it

* fix incorrect sq

* more fixes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* more misc cleanup

* PR suggestions

* more abs alt, csId

* more cleanup, can't help it

* fix incorrect sq

* more fixes</pre>
</div>
</content>
</entry>
<entry>
<title>Gfxprint OK (#826)</title>
<updated>2022-06-19T01:56:10+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2022-06-19T01:56:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=271b7c78276f7488f4c75328d79364f3a1cd423d'/>
<id>271b7c78276f7488f4c75328d79364f3a1cd423d</id>
<content type='text'>
* Match last two functions as well as some cleanup

* One more small cleanup

* Reviews

* format

* Move internal GFXP_FLAG defines to c file

* Format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Match last two functions as well as some cleanup

* One more small cleanup

* Reviews

* format

* Move internal GFXP_FLAG defines to c file

* Format</pre>
</div>
</content>
</entry>
<entry>
<title>Fault and Fault_Drawer (3 MATCHING and 1 NON_MATCHING) (#434)</title>
<updated>2021-12-06T21:03:21+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2021-12-06T21:03:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=b5da6b9bf953e03e04c154b4d9bb049e25b547f8'/>
<id>b5da6b9bf953e03e04c154b4d9bb049e25b547f8</id>
<content type='text'>
* Matched last functions except Fault_FindNextStackCall

* Bss in drawer and cleanup

* Update define and format

* PR comments

* Formating PR suggestions

* Small format

* Fault_FindNextStackCall

* Change grays to dark gray and light gray</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Matched last functions except Fault_FindNextStackCall

* Bss in drawer and cleanup

* Update define and format

* PR comments

* Formating PR suggestions

* Small format

* Fault_FindNextStackCall

* Change grays to dark gray and light gray</pre>
</div>
</content>
</entry>
<entry>
<title>sys_initial_check OK, documented, error message files debinarised (#437)</title>
<updated>2021-11-15T22:57:16+00:00</updated>
<author>
<name>EllipticEllipsis</name>
<email>73679967+EllipticEllipsis@users.noreply.github.com</email>
</author>
<published>2021-11-15T22:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=7134e81898d548266b8c45b389cf6a17b12a5105'/>
<id>7134e81898d548266b8c45b389cf6a17b12a5105</id>
<content type='text'>
* OK

* Symbols and other documentation

* Remove externs

* spec

* More documentation, decompile the texture files,
some uintptr_t and size_t

* Top-of-file comment

* Move symbols back into right order

* Use some defines

* Missed an osTvType and a size_t

* Add missing header to os.h

* Use segment symbol macros

* Remove duplicate header

* Address review suggestions</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* OK

* Symbols and other documentation

* Remove externs

* spec

* More documentation, decompile the texture files,
some uintptr_t and size_t

* Top-of-file comment

* Move symbols back into right order

* Use some defines

* Missed an osTvType and a size_t

* Add missing header to os.h

* Use segment symbol macros

* Remove duplicate header

* Address review suggestions</pre>
</div>
</content>
</entry>
<entry>
<title>Animation system updated, some more boot files decompiled (+6%), z_fcurve_data_skelanime decompiled (1 non-matching), some asm files split, etc (#89)</title>
<updated>2021-10-24T14:59:14+00:00</updated>
<author>
<name>Lucas Shaw</name>
<email>49287729+shawlucas@users.noreply.github.com</email>
</author>
<published>2021-10-24T14:59:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=dcf44596d2c335c1ad82ea50f7e7d934e6bc1e52'/>
<id>dcf44596d2c335c1ad82ea50f7e7d934e6bc1e52</id>
<content type='text'>
* Progress on various files

* gfxprint stuff

* split some rodata, add iconv for rodata string parsing

* z_std_dma rodata

* 2 nonmatchings in gfxprint

* mtxuty-cvt ok

* more

* match a function in idle.c

* progress

* Cleanup

* Rename BgPolygon to CollisionPoly

* progress

* some effect stuff

* more effect progress

* updates

* made suggested changes

* z_effect_soft_sprite_old_init mostly ok

* remove old effects enum

* gamealloc.c OK

* added more files

* motor.c almost done

* motor.c OK

* updates

* migration of two files

* listalloc.c oK

* z_fcurve_data_skelanime split

* z_fcurve_data_skelanime.c decompiled

* more files split

* z_malloc.c OK

* contpfs.c OK

* fault.c rodata migrated

* migrated fault_drawer rodata

* update

* update preprocess.py

* renamed functions in z_skelanime

* started z_skelanime cleanup

* like halfway through fixing z_skelanime

* animation system updated to meet oot standards

* remove unused animation structs

* rename matrix structs to fit oot

* Add -woff 712

* fix diff_settings.py because i accidentally broke it before

* fixed merge conflict, doesn't match though

* It matches now

* Updates

* Fixed warnings...added gcc code syntax checking

* Remove gcc check, added in Tharo's PR

* warnings fixed (i think)

* fixed all warnings i think

* ok

* not sure what to do

* Fix all warnings i think (z_en_a_keep needs some file cleanup thouguh)

* it matches if i do this

* remove comment

* accidentally put osPfsFreeBlocks in epilinkhandle.c

* memcmp -&gt; bcmp

* change u32 size to size_t size, delete string.h because it caused unnecessary confusion with defining size_t twice

* format.sh

* MTXMODE_NEW and MTXMODE_APPLY to matrix functions

* Made suggested changes

* pragma sFaultDrawerFont instead of including in repo

* add some functions to functions.h

* Bss reordering fixed in z_collision_check...added hack to disasm.py

* Updated z_en_a_keep.c

* Missed suggestion in EnAObj_Destroy

* .

* update z_fcurve_Data_skelanime and z_skelanime with suggestions

* devmgr.c ok

* minor changes

* Addressed comments

* remove redundant file

* gfxp -&gt; dlist in game.c

* updated actorfixer.py

* fixed warnings in z_malloc

* Change void* back to Actor*

* format

* Add the soft_sprit comments back

* Rename SV-&gt;Flex

* remove .common

* run format

* Update src/code/z_skelanime.c

* u32 channel

Co-authored-by: Lucas Shaw &lt;lucas.shaw1123@gmail.com&gt;
Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;
Co-authored-by: Kenix3 &lt;kenixwhisperwind@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Progress on various files

* gfxprint stuff

* split some rodata, add iconv for rodata string parsing

* z_std_dma rodata

* 2 nonmatchings in gfxprint

* mtxuty-cvt ok

* more

* match a function in idle.c

* progress

* Cleanup

* Rename BgPolygon to CollisionPoly

* progress

* some effect stuff

* more effect progress

* updates

* made suggested changes

* z_effect_soft_sprite_old_init mostly ok

* remove old effects enum

* gamealloc.c OK

* added more files

* motor.c almost done

* motor.c OK

* updates

* migration of two files

* listalloc.c oK

* z_fcurve_data_skelanime split

* z_fcurve_data_skelanime.c decompiled

* more files split

* z_malloc.c OK

* contpfs.c OK

* fault.c rodata migrated

* migrated fault_drawer rodata

* update

* update preprocess.py

* renamed functions in z_skelanime

* started z_skelanime cleanup

* like halfway through fixing z_skelanime

* animation system updated to meet oot standards

* remove unused animation structs

* rename matrix structs to fit oot

* Add -woff 712

* fix diff_settings.py because i accidentally broke it before

* fixed merge conflict, doesn't match though

* It matches now

* Updates

* Fixed warnings...added gcc code syntax checking

* Remove gcc check, added in Tharo's PR

* warnings fixed (i think)

* fixed all warnings i think

* ok

* not sure what to do

* Fix all warnings i think (z_en_a_keep needs some file cleanup thouguh)

* it matches if i do this

* remove comment

* accidentally put osPfsFreeBlocks in epilinkhandle.c

* memcmp -&gt; bcmp

* change u32 size to size_t size, delete string.h because it caused unnecessary confusion with defining size_t twice

* format.sh

* MTXMODE_NEW and MTXMODE_APPLY to matrix functions

* Made suggested changes

* pragma sFaultDrawerFont instead of including in repo

* add some functions to functions.h

* Bss reordering fixed in z_collision_check...added hack to disasm.py

* Updated z_en_a_keep.c

* Missed suggestion in EnAObj_Destroy

* .

* update z_fcurve_Data_skelanime and z_skelanime with suggestions

* devmgr.c ok

* minor changes

* Addressed comments

* remove redundant file

* gfxp -&gt; dlist in game.c

* updated actorfixer.py

* fixed warnings in z_malloc

* Change void* back to Actor*

* format

* Add the soft_sprit comments back

* Rename SV-&gt;Flex

* remove .common

* run format

* Update src/code/z_skelanime.c

* u32 channel

Co-authored-by: Lucas Shaw &lt;lucas.shaw1123@gmail.com&gt;
Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;
Co-authored-by: Kenix3 &lt;kenixwhisperwind@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Decompile the GameStateOverlay table (#337)</title>
<updated>2021-10-12T13:25:20+00:00</updated>
<author>
<name>EllipticEllipsis</name>
<email>73679967+EllipticEllipsis@users.noreply.github.com</email>
</author>
<published>2021-10-12T13:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=4c43661cf34544a6ffc6817912021de5679e8f42'/>
<id>4c43661cf34544a6ffc6817912021de5679e8f42</id>
<content type='text'>
* Decomp GameStateOverlayTable

* spec

* Review

* gSchedContext

* Format

* Fix bss</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Decomp GameStateOverlayTable

* spec

* Review

* gSchedContext

* Format

* Fix bss</pre>
</div>
</content>
</entry>
<entry>
<title>printutils OK, add `va_end` to variadic functions (#294)</title>
<updated>2021-09-23T23:14:12+00:00</updated>
<author>
<name>EllipticEllipsis</name>
<email>73679967+EllipticEllipsis@users.noreply.github.com</email>
</author>
<published>2021-09-23T23:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=9e4d51fb9ffc676607f6eb793fb21ef47c891ce5'/>
<id>9e4d51fb9ffc676607f6eb793fb21ef47c891ce5</id>
<content type='text'>
* printutils OK

* Add va_end to every variadic function</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* printutils OK

* Add va_end to every variadic function</pre>
</div>
</content>
</entry>
<entry>
<title>Fix gcc warnings (#246)</title>
<updated>2021-08-04T12:14:38+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2021-08-04T12:14:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=51111676c48851a01ba92e8bf30a894b889a1d24'/>
<id>51111676c48851a01ba92e8bf30a894b889a1d24</id>
<content type='text'>
* fix a huge amount of warnings

* fix another big bunch

* fix remaining warnings

* Run formatter</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix a huge amount of warnings

* fix another big bunch

* fix remaining warnings

* Run formatter</pre>
</div>
</content>
</entry>
</feed>
