<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mm/src/libultra/gu, branch gha</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>Handwritten asm: OS functions, libm_vals (#1821)</title>
<updated>2025-08-19T18:46:43+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2025-08-19T18:46:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=1d97f2ea08527a9f2f716add03322656b625e7bb'/>
<id>1d97f2ea08527a9f2f716add03322656b625e7bb</id>
<content type='text'>
* Handwritten asm: OS functions, libm_vals

* rm hardware_regs.ld

* andi -&gt; and, addiu -&gt; addu

* CACHE macro</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Handwritten asm: OS functions, libm_vals

* rm hardware_regs.ld

* andi -&gt; and, addiu -&gt; addu

* CACHE macro</pre>
</div>
</content>
</entry>
<entry>
<title>Handwritten asm: gu and mgu (#1816)</title>
<updated>2025-08-16T13:01:46+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2025-08-16T13:01:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=086fc5635e1680c4ad89828bfd01e05dce21d975'/>
<id>086fc5635e1680c4ad89828bfd01e05dce21d975</id>
<content type='text'>
* Handwritten asm: gu and mgu

* Remove some unnecessary pad_texts

* Consistent add/and instructions</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Handwritten asm: gu and mgu

* Remove some unnecessary pad_texts

* Consistent add/and instructions</pre>
</div>
</content>
</entry>
<entry>
<title>Misc fixes (#1800)</title>
<updated>2025-03-24T13:52:10+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2025-03-24T13:52:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=9ca02c79b531f39b2adc92581ea9c846d8f6936a'/>
<id>9ca02c79b531f39b2adc92581ea9c846d8f6936a</id>
<content type='text'>
* disasm_fix

* dtor

* Fault_LogThreadContext

* rearrange microcode

* sGfxPrintFont size of 0x800

* Move (null) to stackcheck

* vimgr bss

* sfx

* Remove code_801D1E80

* z_en_hy_code

* Fix assembler messages with endlabels and dlabels

* xlitob data

* Move skin unused bss pad to rumble</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* disasm_fix

* dtor

* Fault_LogThreadContext

* rearrange microcode

* sGfxPrintFont size of 0x800

* Move (null) to stackcheck

* vimgr bss

* sfx

* Remove code_801D1E80

* z_en_hy_code

* Fix assembler messages with endlabels and dlabels

* xlitob data

* Move skin unused bss pad to rumble</pre>
</div>
</content>
</entry>
<entry>
<title>Animation Cleanup: En_Z* (#1727)</title>
<updated>2024-11-07T04:43:28+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2024-11-07T04:43:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=318e39127243263b93da5e3b02cbfbb4152ae743'/>
<id>318e39127243263b93da5e3b02cbfbb4152ae743</id>
<content type='text'>
* cleanup

* more progress

* finish off z

* one more thing

* one more animIndex

* fix spacing</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* cleanup

* more progress

* finish off z

* one more thing

* one more animIndex

* fix spacing</pre>
</div>
</content>
</entry>
<entry>
<title>`sys_math3d.c` Decompiled and Mostly Documented (#1450)</title>
<updated>2024-06-15T05:39:31+00:00</updated>
<author>
<name>engineer124</name>
<email>47598039+engineer124@users.noreply.github.com</email>
</author>
<published>2024-06-15T05:39:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=b55f8ffe6e60ed2335acbe7d428049ea1056f4b5'/>
<id>b55f8ffe6e60ed2335acbe7d428049ea1056f4b5</id>
<content type='text'>
* Use matched sys_math3d functions by Tharo

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* kinda match some unattempted functions

* move sys_math3d function declarations to z64math.h

* Rename some simple functions

* Take matched Math3D_LineVsLineClosestTwoPoints from OoT

* minor fixes to make stuff actually equivalent

* func_8017FB1C

* format

* minor cleanup

* Math3D_PointOnDirectedLine

* func_8017FB1C documentation

Co-authored-by: EllipticEllipsis &lt;73679967+EllipticEllipsis@users.noreply.github.com&gt;

* Remove actorfixer

* fix merge

* Apply renames

* more cleanup

* bss cleanup

* match Math3D_CylVsLineSeg

* WIP

* OK

* small cleanup

* Remove macros.h from sys_math3d

* Small cleanup

* Some more small clean up

* cleanup and docs

* cleanup

* PR Review

* cleanup

* fix merge

* fix merge

* merge main

* fix bss

* bss

* fix

* PR Review

* bss fix

* Merge main

* Fix bss

* Fix merge

* Add zero vecs to sys_math3d

* Format

* namefixer run

---------

Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;
Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;
Co-authored-by: EllipticEllipsis &lt;73679967+EllipticEllipsis@users.noreply.github.com&gt;
Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use matched sys_math3d functions by Tharo

Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;

* kinda match some unattempted functions

* move sys_math3d function declarations to z64math.h

* Rename some simple functions

* Take matched Math3D_LineVsLineClosestTwoPoints from OoT

* minor fixes to make stuff actually equivalent

* func_8017FB1C

* format

* minor cleanup

* Math3D_PointOnDirectedLine

* func_8017FB1C documentation

Co-authored-by: EllipticEllipsis &lt;73679967+EllipticEllipsis@users.noreply.github.com&gt;

* Remove actorfixer

* fix merge

* Apply renames

* more cleanup

* bss cleanup

* match Math3D_CylVsLineSeg

* WIP

* OK

* small cleanup

* Remove macros.h from sys_math3d

* Small cleanup

* Some more small clean up

* cleanup and docs

* cleanup

* PR Review

* cleanup

* fix merge

* fix merge

* merge main

* fix bss

* bss

* fix

* PR Review

* bss fix

* Merge main

* Fix bss

* Fix merge

* Add zero vecs to sys_math3d

* Format

* namefixer run

---------

Co-authored-by: angie &lt;angheloalf95@gmail.com&gt;
Co-authored-by: Tharo &lt;17233964+Thar0@users.noreply.github.com&gt;
Co-authored-by: EllipticEllipsis &lt;73679967+EllipticEllipsis@users.noreply.github.com&gt;
Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>More General Cleanup (#1638)</title>
<updated>2024-06-03T18:33:03+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2024-06-03T18:33:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=f26e77ba4088f20e72e13409f9ad535039abd291'/>
<id>f26e77ba4088f20e72e13409f9ad535039abd291</id>
<content type='text'>
* LINKER_FILES in makefile

* COLPOLY_GET_NORMAL

* math header

* libc

* M_PI for cosf and sinf files

* MAXFLOAT

* Revert "MAXFLOAT"

This reverts commit 96b75ffaa89b1a4ca1c08278b28bc3c70224701a.

* Remove SHT_MINV

* SHRT_MAX

* Add M_PI

* Angle macros

* f suffix

* Format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* LINKER_FILES in makefile

* COLPOLY_GET_NORMAL

* math header

* libc

* M_PI for cosf and sinf files

* MAXFLOAT

* Revert "MAXFLOAT"

This reverts commit 96b75ffaa89b1a4ca1c08278b28bc3c70224701a.

* Remove SHT_MINV

* SHRT_MAX

* Add M_PI

* Angle macros

* f suffix

* Format</pre>
</div>
</content>
</entry>
<entry>
<title>General Cleanup (#1529)</title>
<updated>2024-01-14T23:03:13+00:00</updated>
<author>
<name>Derek Hensley</name>
<email>hensley.derek58@gmail.com</email>
</author>
<published>2024-01-14T23:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=6412ddad50c687b007127f67e92382ec54611270'/>
<id>6412ddad50c687b007127f67e92382ec54611270</id>
<content type='text'>
* Cleanup

* vi define cleanup

* kdebugserver

* osmotor

* Remove sqrtf.c

* Move osFlash out of libultra

* PadUtils_Destroy

* BOOT_ADDRESS_ULTRA

* Fault

* Format

* viconfig.h

* More small cleanups

* gfx cleanup

* Format

* Forgot to save

* variables.h

* dListTable -&gt; dListSides

* Fix header includes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Cleanup

* vi define cleanup

* kdebugserver

* osmotor

* Remove sqrtf.c

* Move osFlash out of libultra

* PadUtils_Destroy

* BOOT_ADDRESS_ULTRA

* Fault

* Format

* viconfig.h

* More small cleanups

* gfx cleanup

* Format

* Forgot to save

* variables.h

* dListTable -&gt; dListSides

* Fix header includes</pre>
</div>
</content>
</entry>
<entry>
<title>Organize `libc64` files (#1492)</title>
<updated>2023-11-27T01:01:42+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2023-11-27T01:01:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=6dd16009361b2561f77b7933981611a9b975fa21'/>
<id>6dd16009361b2561f77b7933981611a9b975fa21</id>
<content type='text'>
* Move qrand to libc64

* use an union to avoid type punning

* __osMalloc

* math64.c

* fixed_point.h

* sleep

* aprintf.h

* sprintf

* malloc

* use original names on aprintf.c and malloc.c

* qrand cleanup pass

* use original names of sleep.c

* og names for sprintf

* more cleanup

* format

* fixes

* whoops

* use ARRAY_COUNT again

* comment

* Use `fu`

* forgot this one

* review

* fix

* sneak a tiny cleanup</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Move qrand to libc64

* use an union to avoid type punning

* __osMalloc

* math64.c

* fixed_point.h

* sleep

* aprintf.h

* sprintf

* malloc

* use original names on aprintf.c and malloc.c

* qrand cleanup pass

* use original names of sleep.c

* og names for sprintf

* more cleanup

* format

* fixes

* whoops

* use ARRAY_COUNT again

* comment

* Use `fu`

* forgot this one

* review

* fix

* sneak a tiny cleanup</pre>
</div>
</content>
</entry>
<entry>
<title>Yet another header cleanup (#1508)</title>
<updated>2023-11-23T02:55:05+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2023-11-23T02:55:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=506e2155474b1914fe93f070c55debdeaf6df0a6'/>
<id>506e2155474b1914fe93f070c55debdeaf6df0a6</id>
<content type='text'>
* lights.c

* z64skin_matrix.h

* Move out some stuff from macros.h

* gamealloc.h

* move most transition functions to z64transition.h

* z64lib.h

* `include` cleanup on transition files

* z_overlay cleanup

* z64malloc.h

* format

* forgot to remove those

* forgot this

* fix borken includes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lights.c

* z64skin_matrix.h

* Move out some stuff from macros.h

* gamealloc.h

* move most transition functions to z64transition.h

* z64lib.h

* `include` cleanup on transition files

* z_overlay cleanup

* z64malloc.h

* format

* forgot to remove those

* forgot this

* fix borken includes</pre>
</div>
</content>
</entry>
<entry>
<title>Yet another libultra cleanup (#1384)</title>
<updated>2023-10-26T13:44:27+00:00</updated>
<author>
<name>Anghelo Carvajal</name>
<email>angheloalf95@gmail.com</email>
</author>
<published>2023-10-26T13:44:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/mm/commit/?id=6475196f0fd24b1697241e3662bc732cdd81d212'/>
<id>6475196f0fd24b1697241e3662bc732cdd81d212</id>
<content type='text'>
* os symbols

* various variables

* more variables

* more cleanup

* yeet HW_REG

* OS_PHYSICAL_TO_K0 and other cleanups

* Rename r4300.h

* migrate pimgr data and cleanup on initialize.c

* rename osFlash symbols

* cleanup gu

* vimodes

* yeet rmon, do libc files

* some os files

* hardwareinterrupt

* cleanup a lot of os files

* cleanup osVirtualToPhysical

* various io files

* another io chunk

* final io chunk

* yeet hardware.h

* yeet PHYSICAL_TO_VIRTUAL and VIRTUAL_TO_PHYSICAL

* fix typo

* fix merge

* remove global.h from libultra files

* fixes and format

* brief explanation

* review

* review

* review

* review

* SEGMENTED_TO_K0

* Revert "SEGMENTED_TO_K0"

This reverts commit f8d62d670f91af401feb56489e1cbc45a1260049.

* take two

* bss

* bss</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* os symbols

* various variables

* more variables

* more cleanup

* yeet HW_REG

* OS_PHYSICAL_TO_K0 and other cleanups

* Rename r4300.h

* migrate pimgr data and cleanup on initialize.c

* rename osFlash symbols

* cleanup gu

* vimodes

* yeet rmon, do libc files

* some os files

* hardwareinterrupt

* cleanup a lot of os files

* cleanup osVirtualToPhysical

* various io files

* another io chunk

* final io chunk

* yeet hardware.h

* yeet PHYSICAL_TO_VIRTUAL and VIRTUAL_TO_PHYSICAL

* fix typo

* fix merge

* remove global.h from libultra files

* fixes and format

* brief explanation

* review

* review

* review

* review

* SEGMENTED_TO_K0

* Revert "SEGMENTED_TO_K0"

This reverts commit f8d62d670f91af401feb56489e1cbc45a1260049.

* take two

* bss

* bss</pre>
</div>
</content>
</entry>
</feed>
