<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oot/src/code/__osMalloc.c, branch main</title>
<subtitle>Decompilation of The Legend of Zelda: Ocarina of Time</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/'/>
<entry>
<title>[ntsc-1.2] Match __osMalloc.c and code_800FC620.c (new/delete) (#2106)</title>
<updated>2024-09-04T09:10:14+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-09-04T09:10:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=c6d7cc7697c67989b1f018ae2bc934f6677c09b7'/>
<id>c6d7cc7697c67989b1f018ae2bc934f6677c09b7</id>
<content type='text'>
* Match __osMalloc

* Match src/code/code_800FC620.c (new/delete)

* Wrap versions-specific files in ifdefs to fix compilation

* Fix bss

* Remove {FAULT,RAND,OSMALLOC}_VERSION in favor of PLATFORM_N64

* Fix __osMalloc data splits, add unused strings

* __osMalloc.h -&gt; osMalloc.h

* Fix merge</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Match __osMalloc

* Match src/code/code_800FC620.c (new/delete)

* Wrap versions-specific files in ifdefs to fix compilation

* Fix bss

* Remove {FAULT,RAND,OSMALLOC}_VERSION in favor of PLATFORM_N64

* Fix __osMalloc data splits, add unused strings

* __osMalloc.h -&gt; osMalloc.h

* Fix merge</pre>
</div>
</content>
</entry>
<entry>
<title>Rename FaultDrawer_ functions to Fault_ (#2113)</title>
<updated>2024-09-04T03:43:06+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-09-04T03:43:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=c8cafdc93ed49b1dd77ac5494acb1da00ec834bf'/>
<id>c8cafdc93ed49b1dd77ac5494acb1da00ec834bf</id>
<content type='text'>
* Rename FaultDrawer_ functions to Fault_

* Rename FaultDrawer_Init to Fault_InitDrawer</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename FaultDrawer_ functions to Fault_

* Rename FaultDrawer_Init to Fault_InitDrawer</pre>
</div>
</content>
</entry>
<entry>
<title>[ntsc-1.2] Decompile fault.c (#2046)</title>
<updated>2024-08-28T07:38:42+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2024-08-28T07:38:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=68818044db4f6c644ca8be80f0ad4b54a7587f44'/>
<id>68818044db4f6c644ca8be80f0ad4b54a7587f44</id>
<content type='text'>
* wip decomp ntsc-1.2 fault.c

* more ntsc-1.2 fault.c

* decompiled fault_v1.c

* name fault_v1 functions, wip

* try to clean up build system (two versions of the fault system coexisting)

* cleanup

* cleanup2

* fix build gc-eu-mq-dbg

* match 2 more, ty anon

* matched

* review

* more review

* fixup spec

* `(uintptr_t)ptr op int` instead of `ptr op (type*)int`

* move fault.h out of global headers, properly include fault.h and versions.h

* compile all fault_*.c files regardless of version by overriding FAULT_VERSION

* n64 FaultMgr.framebuffer s32 -&gt; u16*

* FaultMgr.framebuffer -&gt; FaultMgr.fb

* make gc FaultMgr.fb u16* (yes, thats everything)

* bss

* fix Fault_Printf return type

* noop FaultDrawer_SetFontColor, FaultDrawer_SetCharPad in fault_n64

* fault_color_ stuff is only for fault_gc

* rm empty line in makefile

* I guess `D_80105A90_unknown` is `[sg]TotalAllocFailures`

* bss

* `Fault_WaitInput` -&gt; `Fault_WaitForInput`

* use named fault funcs in pointers array

* FAULT_OOT{N64,GC} -&gt; FAULT_{N64,GC}

* Apply suggestions from code review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;
Co-authored-by: Anghelo Carvajal &lt;angheloalf95@gmail.com&gt;

* review, sync fault_{gc,n64}

* Apply `FPCSR_CE` suggestions from code review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

---------

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;
Co-authored-by: Anghelo Carvajal &lt;angheloalf95@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* wip decomp ntsc-1.2 fault.c

* more ntsc-1.2 fault.c

* decompiled fault_v1.c

* name fault_v1 functions, wip

* try to clean up build system (two versions of the fault system coexisting)

* cleanup

* cleanup2

* fix build gc-eu-mq-dbg

* match 2 more, ty anon

* matched

* review

* more review

* fixup spec

* `(uintptr_t)ptr op int` instead of `ptr op (type*)int`

* move fault.h out of global headers, properly include fault.h and versions.h

* compile all fault_*.c files regardless of version by overriding FAULT_VERSION

* n64 FaultMgr.framebuffer s32 -&gt; u16*

* FaultMgr.framebuffer -&gt; FaultMgr.fb

* make gc FaultMgr.fb u16* (yes, thats everything)

* bss

* fix Fault_Printf return type

* noop FaultDrawer_SetFontColor, FaultDrawer_SetCharPad in fault_n64

* fault_color_ stuff is only for fault_gc

* rm empty line in makefile

* I guess `D_80105A90_unknown` is `[sg]TotalAllocFailures`

* bss

* `Fault_WaitInput` -&gt; `Fault_WaitForInput`

* use named fault funcs in pointers array

* FAULT_OOT{N64,GC} -&gt; FAULT_{N64,GC}

* Apply suggestions from code review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;
Co-authored-by: Anghelo Carvajal &lt;angheloalf95@gmail.com&gt;

* review, sync fault_{gc,n64}

* Apply `FPCSR_CE` suggestions from code review

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;

---------

Co-authored-by: Derek Hensley &lt;hensley.derek58@gmail.com&gt;
Co-authored-by: Anghelo Carvajal &lt;angheloalf95@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>T() macro 5 (#2089)</title>
<updated>2024-08-27T12:32:33+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2024-08-27T12:32:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=fd14ddcbf1577bcaeac1e51b5e452819c243df73'/>
<id>fd14ddcbf1577bcaeac1e51b5e452819c243df73</id>
<content type='text'>
* T() in __osMalloc.c

* T() in code_80097A00.c

* T() in debug_malloc.c

* T() in code/load.c

* T() in sys_math3d.c

* T() in z_collision_btltbls.c, z_fbdemo_fade.c, z_fcurve_data_skelanime.c, z_view.c

* T() in z_collision_check.c

* remaining T() in __osMalloc.c

* __osMalloc consistency

* format</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* T() in __osMalloc.c

* T() in code_80097A00.c

* T() in debug_malloc.c

* T() in code/load.c

* T() in sys_math3d.c

* T() in z_collision_btltbls.c, z_fbdemo_fade.c, z_fcurve_data_skelanime.c, z_view.c

* T() in z_collision_check.c

* remaining T() in __osMalloc.c

* __osMalloc consistency

* format</pre>
</div>
</content>
</entry>
<entry>
<title>Add T macro for translated debug strings (#2064)</title>
<updated>2024-08-22T20:33:50+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2024-08-22T20:33:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=98ba7ad2ab05be017722c9dc46b0929e5c911f55'/>
<id>98ba7ad2ab05be017722c9dc46b0929e5c911f55</id>
<content type='text'>
* Add T macro for translated debug strings

* Hyral -&gt; Hyrule

* put some more care into z_std_dma</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add T macro for translated debug strings

* Hyral -&gt; Hyrule

* put some more care into z_std_dma</pre>
</div>
</content>
</entry>
<entry>
<title>Move non-libultra libc functions to src/libc/ (#2055)</title>
<updated>2024-08-20T05:15:24+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-08-20T05:15:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=ec70295357c198c48660e2ab5670c15ef6a661cf'/>
<id>ec70295357c198c48660e2ab5670c15ef6a661cf</id>
<content type='text'>
* Move non-libultra libc functions to src/libc/

* Add explicit nops in delay slots

* Don't rely on CPP expanding undefined macros to 0

* Delete old Makefile rules

* Fix type of memset()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Move non-libultra libc functions to src/libc/

* Add explicit nops in delay slots

* Don't rely on CPP expanding undefined macros to 0

* Delete old Makefile rules

* Fix type of memset()</pre>
</div>
</content>
</entry>
<entry>
<title>Restore terminal colors in retail, except in __osMalloc.c (#1899)</title>
<updated>2024-02-27T19:08:20+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-02-27T19:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=350b82c6755bc317fea184e4d769c8884f98c8aa'/>
<id>350b82c6755bc317fea184e4d769c8884f98c8aa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Filename &amp; line number args cleanup (#1891)</title>
<updated>2024-02-27T07:37:33+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2024-02-27T07:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=dcf61174e90725bea9aeeae9176fd377e0358188'/>
<id>dcf61174e90725bea9aeeae9176fd377e0358188</id>
<content type='text'>
* Filename &amp; line number args cleanup

* Use int for line number args over s32/u32

* Add missing const qualifiers from filename args

* Fix gcc warning in game.c

* Add comment to weird assignments in GameState_Init</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Filename &amp; line number args cleanup

* Use int for line number args over s32/u32

* Add missing const qualifiers from filename args

* Fix gcc warning in game.c

* Add comment to weird assignments in GameState_Init</pre>
</div>
</content>
</entry>
<entry>
<title>Match retail __osMalloc.c (#1684)</title>
<updated>2024-02-02T22:37:32+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-02-02T22:37:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=d9a1148d13d1b0b32ea89e8dbafb58aae8cc8919'/>
<id>d9a1148d13d1b0b32ea89e8dbafb58aae8cc8919</id>
<content type='text'>
* Match retail __osMalloc.c

* Add TODO about N64 ArenaNode debug info

* FLAG prefix -&gt; FLAG suffix</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Match retail __osMalloc.c

* Add TODO about N64 ArenaNode debug info

* FLAG prefix -&gt; FLAG suffix</pre>
</div>
</content>
</entry>
<entry>
<title>Rename `vt.h` to `terminal.h` (#1339)</title>
<updated>2022-11-01T23:17:11+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2022-11-01T23:17:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=ab9030006220d756753b3d8eb914777872c586b2'/>
<id>ab9030006220d756753b3d8eb914777872c586b2</id>
<content type='text'>
* `vt.h` -&gt; `terminal.h`

* `VT_` -&gt; `T_` (as in Terminal)

* `vt.h` -&gt; `terminal.h` in includes too Pepega

* Sort out tiny terminal.h include inconsistencies

* Format

* -&gt; `TE_`

* format

* `TE_` -&gt; back to `VT_` (parkour!)

* explicit VT</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* `vt.h` -&gt; `terminal.h`

* `VT_` -&gt; `T_` (as in Terminal)

* `vt.h` -&gt; `terminal.h` in includes too Pepega

* Sort out tiny terminal.h include inconsistencies

* Format

* -&gt; `TE_`

* format

* `TE_` -&gt; back to `VT_` (parkour!)

* explicit VT</pre>
</div>
</content>
</entry>
</feed>
