<feed xmlns='http://www.w3.org/2005/Atom'>
<title>oot/src/libultra/libc, 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>[iQue] Match libultra/libc (#2407)</title>
<updated>2025-01-07T09:19:18+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2025-01-07T09:19:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=a3c3c38fead604508fef7626fa8ae494d67df52c'/>
<id>a3c3c38fead604508fef7626fa8ae494d67df52c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use IDO for assembling handwritten asm files in src (#2390)</title>
<updated>2024-12-28T20:18:45+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2024-12-28T20:18:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=7e082f0c4f6b34820b4dbf6285d05adf423c091b'/>
<id>7e082f0c4f6b34820b4dbf6285d05adf423c091b</id>
<content type='text'>
* as0

* Fix ASOPTFLAGS for src/libc, remove unnecessary noreorder region in kanread

* Suggested changes

* Use %half to load the boot bss size for matching

Co-authored-by: cadmic &lt;cadmic24@gmail.com&gt;

* Wrap all of __osProbeTLB in noreorder

---------

Co-authored-by: cadmic &lt;cadmic24@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* as0

* Fix ASOPTFLAGS for src/libc, remove unnecessary noreorder region in kanread

* Suggested changes

* Use %half to load the boot bss size for matching

Co-authored-by: cadmic &lt;cadmic24@gmail.com&gt;

* Wrap all of __osProbeTLB in noreorder

---------

Co-authored-by: cadmic &lt;cadmic24@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Move driverominit and sprintf to src/boot/ (#2105)</title>
<updated>2024-08-29T20:34:18+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-08-29T20:34:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=a63f0a63b5e812784f8908371ab1756b2bc07bf4'/>
<id>a63f0a63b5e812784f8908371ab1756b2bc07bf4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ntsc-1.2] Match N64 libultra (#2081)</title>
<updated>2024-08-29T01:30:36+00:00</updated>
<author>
<name>cadmic</name>
<email>cadmic24@gmail.com</email>
</author>
<published>2024-08-29T01:30:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=7079005c83218e2a0e071dd3b2a7a9e0e8254fd2'/>
<id>7079005c83218e2a0e071dd3b2a7a9e0e8254fd2</id>
<content type='text'>
* Match N64 libultra

* INITIALIZE_FUNC -&gt; OSINITIALIZE_FUNC

* Document osGetIntMask

* Refer readers of osGetIntMask to osSetIntMask comment

* Whitelist new static functions in disasm unksyms check</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Match N64 libultra

* INITIALIZE_FUNC -&gt; OSINITIALIZE_FUNC

* Document osGetIntMask

* Refer readers of osGetIntMask to osSetIntMask comment

* Whitelist new static functions in disasm unksyms check</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>Fix misc 21 (#1573)</title>
<updated>2023-11-12T21:59:52+00:00</updated>
<author>
<name>Dragorn421</name>
<email>Dragorn421@users.noreply.github.com</email>
</author>
<published>2023-11-12T21:59:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=4c75260097135edb171501942e451474fce66c50'/>
<id>4c75260097135edb171501942e451474fce66c50</id>
<content type='text'>
* Make `sNew` in (unused) `code_800FC620.c` a string

It is passed as a filename to `__osMallocDebug` so should be a nul-terminated string, not a char[3] missing an explicit \0

* Fix gcc warning in `JpegDecoder_ParseNextSymbol` about SLL on negative value

-1U is an unsigned value, aka 0xFFFFFFFF
I keep -1 because it seems that's what a jpeg standard has too

References:
https://stackoverflow.com/questions/40508958/shifting-a-negative-signed-value-is-undefined
https://www.w3.org/Graphics/JPEG/itu-t81.pdf (page 105, figure F.12)

* Small cleanup

* Fix few mistakes (thanks gcc warnings)

* Add `@bug` in file select settings draw code, using the wrong array

* format

* format main

* rename arg for a happy formatter

* Move important function call out of a printf</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Make `sNew` in (unused) `code_800FC620.c` a string

It is passed as a filename to `__osMallocDebug` so should be a nul-terminated string, not a char[3] missing an explicit \0

* Fix gcc warning in `JpegDecoder_ParseNextSymbol` about SLL on negative value

-1U is an unsigned value, aka 0xFFFFFFFF
I keep -1 because it seems that's what a jpeg standard has too

References:
https://stackoverflow.com/questions/40508958/shifting-a-negative-signed-value-is-undefined
https://www.w3.org/Graphics/JPEG/itu-t81.pdf (page 105, figure F.12)

* Small cleanup

* Fix few mistakes (thanks gcc warnings)

* Add `@bug` in file select settings draw code, using the wrong array

* format

* format main

* rename arg for a happy formatter

* Move important function call out of a printf</pre>
</div>
</content>
</entry>
<entry>
<title>libc cleanup (#1568)</title>
<updated>2023-10-27T14:06:44+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2023-10-27T14:06:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=3475651701f991b636a74e0254ef1b9682fa1126'/>
<id>3475651701f991b636a74e0254ef1b9682fa1126</id>
<content type='text'>
* libc cleanup

* Suggested changes, small alloca tweak

* Remove printf include</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* libc cleanup

* Suggested changes, small alloca tweak

* Remove printf include</pre>
</div>
</content>
</entry>
<entry>
<title>Rename and move handwritten asm files (#1254)</title>
<updated>2022-06-03T20:33:18+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2022-06-03T20:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=4775fd4a7ea8077f603900def093124f8aa7cec6'/>
<id>4775fd4a7ea8077f603900def093124f8aa7cec6</id>
<content type='text'>
* Rename handwritten asm files and move them to src

* Fix progress.py

* Remove handling for asm dir from Makefile</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename handwritten asm files and move them to src

* Fix progress.py

* Remove handling for asm dir from Makefile</pre>
</div>
</content>
</entry>
<entry>
<title>Memstuff (#1164)</title>
<updated>2022-05-01T22:06:35+00:00</updated>
<author>
<name>EllipticEllipsis</name>
<email>elliptic.ellipsis@gmail.com</email>
</author>
<published>2022-05-01T22:06:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=e84f5ab3878b30bdddd2ee5a0dbddc10e00d219d'/>
<id>e84f5ab3878b30bdddd2ee5a0dbddc10e00d219d</id>
<content type='text'>
* Un-fake a couple of matches in memory manip functions

* Document fmodf

* Un-fake a couple of matches in memory manip functions

* Document fmodf

* Rename functions and files

* Document memmove, memsets, memcpys

* Format

* Sort out some missing sizeofs

* Name fmodf

* Rename local variables

* size_t

* Use COBRA_SHADOW_TEX_SIZE

* Review

* Tweak the Doxyfile to remove @brief requirement

* Roman's review

* Fix a bug comment

* Change fmodf</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Un-fake a couple of matches in memory manip functions

* Document fmodf

* Un-fake a couple of matches in memory manip functions

* Document fmodf

* Rename functions and files

* Document memmove, memsets, memcpys

* Format

* Sort out some missing sizeofs

* Name fmodf

* Rename local variables

* size_t

* Use COBRA_SHADOW_TEX_SIZE

* Review

* Tweak the Doxyfile to remove @brief requirement

* Roman's review

* Fix a bug comment

* Change fmodf</pre>
</div>
</content>
</entry>
<entry>
<title>libultra files and directories restructure (#1038)</title>
<updated>2021-12-01T00:08:57+00:00</updated>
<author>
<name>Tharo</name>
<email>17233964+Thar0@users.noreply.github.com</email>
</author>
<published>2021-12-01T00:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/oot/commit/?id=f1d183d6feac23275306bfa2dee939d123702765'/>
<id>f1d183d6feac23275306bfa2dee939d123702765</id>
<content type='text'>
* Restructure files, begin header restructure

* Format

* us2dex

* Fix parallel spelling

Co-authored-by: JoshDuMan &lt;40190173+JoshDuMan@users.noreply.github.com&gt;

* Use OS_K0_TO_PHYSICAL in place of VIRTUAL_TO_PHYSICAL in osAiSetNextBuffer

* Uppercase hex, exception vector address defines

* Interrupt flags 1

Co-authored-by: Dragorn421 &lt;Dragorn421@users.noreply.github.com&gt;

* Interrupt flags 2

Co-authored-by: Dragorn421 &lt;Dragorn421@users.noreply.github.com&gt;

Co-authored-by: JoshDuMan &lt;40190173+JoshDuMan@users.noreply.github.com&gt;
Co-authored-by: Dragorn421 &lt;Dragorn421@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Restructure files, begin header restructure

* Format

* us2dex

* Fix parallel spelling

Co-authored-by: JoshDuMan &lt;40190173+JoshDuMan@users.noreply.github.com&gt;

* Use OS_K0_TO_PHYSICAL in place of VIRTUAL_TO_PHYSICAL in osAiSetNextBuffer

* Uppercase hex, exception vector address defines

* Interrupt flags 1

Co-authored-by: Dragorn421 &lt;Dragorn421@users.noreply.github.com&gt;

* Interrupt flags 2

Co-authored-by: Dragorn421 &lt;Dragorn421@users.noreply.github.com&gt;

Co-authored-by: JoshDuMan &lt;40190173+JoshDuMan@users.noreply.github.com&gt;
Co-authored-by: Dragorn421 &lt;Dragorn421@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
</feed>
