<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oot/src/boot/logutils.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>libu64 (#2267)</title>
<updated>2024-11-01T22:47:12+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2024-11-01T22:47:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=5b27899b9fea7cc704cee9c0e740c00fbf24ddab'/>
<id>5b27899b9fea7cc704cee9c0e740c00fbf24ddab</id>
<content type='text'>
* libu64

* logutils.o -&gt; debug.o in spec

* stackcheck.c is part of libu64

* review

* add paragraph about Overlay_Load calling an external function

* audio code*</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* libu64

* logutils.o -&gt; debug.o in spec

* stackcheck.c is part of libu64

* review

* add paragraph about Overlay_Load calling an external function

* audio code*</pre>
</div>
</content>
</entry>
<entry>
<title>T() macro 7 (#2102)</title>
<updated>2024-08-28T18:01:41+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2024-08-28T18:01:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=16ec9b1e13abca7ef2a978bd1b99935f2dd3b2ab'/>
<id>16ec9b1e13abca7ef2a978bd1b99935f2dd3b2ab</id>
<content type='text'>
* T() macro in most of the rest of code (except z_message, z_actor, ucode_disas, gfxprint, game, fault, db_camera)

* remaining T() macro in boot

* format

* review</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* T() macro in most of the rest of code (except z_message, z_actor, ucode_disas, gfxprint, game, fault, db_camera)

* remaining T() macro in boot

* format

* review</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>[ntsc-1.2] Match boot_main.c, logutils.c, z_locale.c (text) (#2053)</title>
<updated>2024-08-19T20:17:41+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2024-08-19T20:17:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=6bc6cedaf8a26b4b73be748b635308fb059c61f1'/>
<id>6bc6cedaf8a26b4b73be748b635308fb059c61f1</id>
<content type='text'>
* Match boot_main.c, logutils.c, z_locale.c (text)

* review

* review 2</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Match boot_main.c, logutils.c, z_locale.c (text)

* review

* review 2</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 logutils.c and z_locale.c (#1699)</title>
<updated>2024-02-02T18:45:02+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-02-02T18:45:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=8c909c5d9884618afd023283d3e0154b48c1d7fe'/>
<id>8c909c5d9884618afd023283d3e0154b48c1d7fe</id>
<content type='text'>
* Match retail logutils.c and z_locale.c

* Update src/boot/logutils.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.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>
* Match retail logutils.c and z_locale.c

* Update src/boot/logutils.c

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;

---------

Co-authored-by: engineer124 &lt;47598039+engineer124@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Replace most osSyncPrintf calls with PRINTF macro (#1598)</title>
<updated>2024-01-12T15:38:13+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-01-12T15:38:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=324db1d57830dcb2a45720445ac5d7904a6f5c6a'/>
<id>324db1d57830dcb2a45720445ac5d7904a6f5c6a</id>
<content type='text'>
* Replace most osSyncPrintf calls with PRINTF macro

* DEBUG -&gt; OOT_DEBUG</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Replace most osSyncPrintf calls with PRINTF macro

* DEBUG -&gt; OOT_DEBUG</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>
<entry>
<title>Misc Cleanup 2 (#1007)</title>
<updated>2021-11-30T23:40:42+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2021-11-30T23:40:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=669732abbe78ad6dad6b5f7273f595befd630cba'/>
<id>669732abbe78ad6dad6b5f7273f595befd630cba</id>
<content type='text'>
* Cleanup `UNK_TYPE`, `UNK_PTR` usage

* Add some missing empty lines after declarations

* Remove some legacy comments from non-matching times

* Fix some grammar (mostly "it's"/"its")

* Use proper names for two symbols after ZAPD bugfix

* Cleanup `place_title_cards.xml`

* Use `NULL` to check against `D_8012D260` pointer

* Parentheses around some macro arguments

* wip proofread headers up to z64animation.h</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Cleanup `UNK_TYPE`, `UNK_PTR` usage

* Add some missing empty lines after declarations

* Remove some legacy comments from non-matching times

* Fix some grammar (mostly "it's"/"its")

* Use proper names for two symbols after ZAPD bugfix

* Cleanup `place_title_cards.xml`

* Use `NULL` to check against `D_8012D260` pointer

* Parentheses around some macro arguments

* wip proofread headers up to z64animation.h</pre>
</div>
</content>
</entry>
<entry>
<title>Fix/cleanup/rephrase miscellaneous stuff (#983)</title>
<updated>2021-10-03T03:17:09+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2021-10-03T03:17:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=f1d27bf6531fd6579d09dcf3078ee97c57b6fff1'/>
<id>f1d27bf6531fd6579d09dcf3078ee97c57b6fff1</id>
<content type='text'>
* Add parens around params usage in VEC_SET macro

* Remove unnecessary space character in a xml

* Use defines instead of magic values in head/tail magic comments

* Use `OS_USEC_TO_CYCLES` to make a time look better in `Graph_TaskSet00`

* `0x25800` -&gt; `sizeof(u16[SCREEN_HEIGHT][SCREEN_WIDTH])`

* `0x803DA800` -&gt; `0x80400000 - frame buffer size`

* Use `OS_VI_` defines instead of hex

* Add empty line after some variable declarations

* Remove unused `extern CutsceneData` in `z_bg_dy_yoseizo.c`

* `Matrix_MtxFToYXZRotS` does not use `MTXMODE_`

* Use `MTXMODE_` more

* Remove `ASCII_TO_U32`, use `'IS64'`

* Add explicit `!= NULL` in some ternaries

* Use `INV_CONTENT`, `AMMO` macros more

* Use `PLAYER_AP_` enum more to compare to `Player#heldItemActionParam`

* Get rid of lowercase hex (outside libultra)

* `gWindMill*` -&gt; `gWindmill*`

* Format and small fix enums in `z_boss_mo.h`

* Use `CHECK_BTN_ANY` more

* Fix xz/xy mistake in comment in tektite

* Rephrase comments mentioning "the devs" in a more neutral way

* Clean-up some objectively useless parens

* Fix some negative values written as u16 instead of s16 in ichains

* `SKJ_ACTON_` -&gt; `SKJ_ACTION_`

* Run formatter

* Fix unk_ offset of `TransformUpdateIndex#unk_10` -&gt; `unk_0E`

* Remove comments using in-game text

* Remove `U` suffix from integer literals

* Revert "Remove `ASCII_TO_U32`, use `'IS64'`"

This reverts commit c801337dde9fe5e8b7a7ecf85ad3629bf5b87aaf.

* Use `PLAYER_STR_*` to compare to `CUR_UPG_VALUE(UPG_STRENGTH)`

* Add empty line after decl x2

* Revert "Use `PLAYER_STR_*` to compare to `CUR_UPG_VALUE(UPG_STRENGTH)`"

This reverts commit d80bdb32da449edc74e02b8ab3f5a2c532e74bdb.

* Make `CUR_UPG_VALUE(UPG_STRENGTH)` compare to integers (eventually needs its own enum)

* Only use `PLAYER_SHIELD_` enum with `Player#currentShield`

* Only use `PLAYER_TUNIC_` enum with `Player#currentTunic`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add parens around params usage in VEC_SET macro

* Remove unnecessary space character in a xml

* Use defines instead of magic values in head/tail magic comments

* Use `OS_USEC_TO_CYCLES` to make a time look better in `Graph_TaskSet00`

* `0x25800` -&gt; `sizeof(u16[SCREEN_HEIGHT][SCREEN_WIDTH])`

* `0x803DA800` -&gt; `0x80400000 - frame buffer size`

* Use `OS_VI_` defines instead of hex

* Add empty line after some variable declarations

* Remove unused `extern CutsceneData` in `z_bg_dy_yoseizo.c`

* `Matrix_MtxFToYXZRotS` does not use `MTXMODE_`

* Use `MTXMODE_` more

* Remove `ASCII_TO_U32`, use `'IS64'`

* Add explicit `!= NULL` in some ternaries

* Use `INV_CONTENT`, `AMMO` macros more

* Use `PLAYER_AP_` enum more to compare to `Player#heldItemActionParam`

* Get rid of lowercase hex (outside libultra)

* `gWindMill*` -&gt; `gWindmill*`

* Format and small fix enums in `z_boss_mo.h`

* Use `CHECK_BTN_ANY` more

* Fix xz/xy mistake in comment in tektite

* Rephrase comments mentioning "the devs" in a more neutral way

* Clean-up some objectively useless parens

* Fix some negative values written as u16 instead of s16 in ichains

* `SKJ_ACTON_` -&gt; `SKJ_ACTION_`

* Run formatter

* Fix unk_ offset of `TransformUpdateIndex#unk_10` -&gt; `unk_0E`

* Remove comments using in-game text

* Remove `U` suffix from integer literals

* Revert "Remove `ASCII_TO_U32`, use `'IS64'`"

This reverts commit c801337dde9fe5e8b7a7ecf85ad3629bf5b87aaf.

* Use `PLAYER_STR_*` to compare to `CUR_UPG_VALUE(UPG_STRENGTH)`

* Add empty line after decl x2

* Revert "Use `PLAYER_STR_*` to compare to `CUR_UPG_VALUE(UPG_STRENGTH)`"

This reverts commit d80bdb32da449edc74e02b8ab3f5a2c532e74bdb.

* Make `CUR_UPG_VALUE(UPG_STRENGTH)` compare to integers (eventually needs its own enum)

* Only use `PLAYER_SHIELD_` enum with `Player#currentShield`

* Only use `PLAYER_TUNIC_` enum with `Player#currentTunic`</pre>
</div>
</content>
</entry>
</feed>
