<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/firmware/common, branch wolf3d</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>Fix vuprintf fix possible %s buffer over-read</title>
<updated>2018-11-10T01:47:19+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2018-11-06T17:33:38+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=de6618a2713ef26f888762cbe6539cc65a393c7c'/>
<id>de6618a2713ef26f888762cbe6539cc65a393c7c</id>
<content type='text'>
when precision is not specified memchr recieved -1 for count
count is unsigned so it looks in a potentially very large area
for a terminator and returns this whole area if \0 is not found

Instead we should use memchr when precision is specified
and if precision is not specified use strlen

Fixes 60+Mb Config.cfg files

Change-Id: Ic4d1439334588f999c9071235430c42df2af5cc4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
when precision is not specified memchr recieved -1 for count
count is unsigned so it looks in a potentially very large area
for a terminator and returns this whole area if \0 is not found

Instead we should use memchr when precision is specified
and if precision is not specified use strlen

Fixes 60+Mb Config.cfg files

Change-Id: Ic4d1439334588f999c9071235430c42df2af5cc4
</pre>
</div>
</content>
</entry>
<entry>
<title>Diacritic.c add newline to EOF</title>
<updated>2018-10-18T12:03:20+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2018-10-18T12:03:20+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=7c2295ea46c496ea19f053126300b7a393bae028'/>
<id>7c2295ea46c496ea19f053126300b7a393bae028</id>
<content type='text'>
Change-Id: Ide8934fa267bfb745fc397cdb7450f3ac0453174
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ide8934fa267bfb745fc397cdb7450f3ac0453174
</pre>
</div>
</content>
</entry>
<entry>
<title>Optimize is_diacritic</title>
<updated>2018-10-18T11:29:32+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2017-11-09T17:03:33+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=b977b77fb7ea75895ac65d64d99b056d95435bfc'/>
<id>b977b77fb7ea75895ac65d64d99b056d95435bfc</id>
<content type='text'>
is_diacritic is used for pretty much all of the text display sizing
Timing here matters, so important it uses a
priority buffer in order to cut down on searching the database.

This patch is verified functionally equlivalent but
saves 80 bytes and is ~20% faster for the clip+ I tested it on

Several things were done:

Optimizing the copy loop for the priority buffer

Globbing some operations together

but the main one has to do with the database structure its self
--
Rather than a bit packed struct it combines the lower 8 bytes into
one value [info] and uses flags to access the values instead

Change-Id: I475073419b647639ef1eeaa3b9213e4e1067c0db
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
is_diacritic is used for pretty much all of the text display sizing
Timing here matters, so important it uses a
priority buffer in order to cut down on searching the database.

This patch is verified functionally equlivalent but
saves 80 bytes and is ~20% faster for the clip+ I tested it on

Several things were done:

Optimizing the copy loop for the priority buffer

Globbing some operations together

but the main one has to do with the database structure its self
--
Rather than a bit packed struct it combines the lower 8 bytes into
one value [info] and uses flags to access the values instead

Change-Id: I475073419b647639ef1eeaa3b9213e4e1067c0db
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't enable full vuprintf file in bootloader.  Saves ~2KB packed space when patching clip+ OF.</title>
<updated>2018-05-22T23:07:57+00:00</updated>
<author>
<name>Michael Giacomelli</name>
<email>giac2000@hotmail.com</email>
</author>
<published>2018-05-22T23:07:57+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=0b2f5187a3e607c3c3981359d4b8b0c726d1accb'/>
<id>0b2f5187a3e607c3c3981359d4b8b0c726d1accb</id>
<content type='text'>
Change-Id: Ie03714778918bfb4a1087f60534d60ff349a8330
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ie03714778918bfb4a1087f60534d60ff349a8330
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Support floating-point formatting"</title>
<updated>2017-12-25T00:22:17+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2017-12-25T00:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=6a843ca2b2008310f4b27070a2ea8fd7d0490fe5'/>
<id>6a843ca2b2008310f4b27070a2ea8fd7d0490fe5</id>
<content type='text'>
This reverts commit 01c6dcf6c7b9bb1ad2fa0450f99bacc5f3d3e04b.

The hack isn't used in duke, so having it is redundant.

Change-Id: Ieb36d75718e0c2d1305440d08021744625117886
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 01c6dcf6c7b9bb1ad2fa0450f99bacc5f3d3e04b.

The hack isn't used in duke, so having it is redundant.

Change-Id: Ieb36d75718e0c2d1305440d08021744625117886
</pre>
</div>
</content>
</entry>
<entry>
<title>fix red</title>
<updated>2017-12-24T02:28:20+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2017-12-24T02:23:06+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=6416d96fbc6946a0eee8ba29bb881fbf4dcbe607'/>
<id>6416d96fbc6946a0eee8ba29bb881fbf4dcbe607</id>
<content type='text'>
Change-Id: I20f1bd6f0208f6108d68fb59206b09dd9da4f1af
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I20f1bd6f0208f6108d68fb59206b09dd9da4f1af
</pre>
</div>
</content>
</entry>
<entry>
<title>Port of Duke Nukem 3D</title>
<updated>2017-12-24T02:01:26+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2017-01-21T20:18:31+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=a855d6202536ff28e5aae4f22a0f31d8f5b325d0'/>
<id>a855d6202536ff28e5aae4f22a0f31d8f5b325d0</id>
<content type='text'>
This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL
for Rockbox.

Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL
for Rockbox.

Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9
</pre>
</div>
</content>
</entry>
<entry>
<title>Support floating-point formatting</title>
<updated>2017-12-24T01:55:02+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2017-09-29T20:54:31+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=01c6dcf6c7b9bb1ad2fa0450f99bacc5f3d3e04b'/>
<id>01c6dcf6c7b9bb1ad2fa0450f99bacc5f3d3e04b</id>
<content type='text'>
This is just a quick and dirty way to get %f formatting to work for
some games. It works.

Change-Id: I75585e0c6a0f9d6db41a87b71ca405b067d8b85d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is just a quick and dirty way to get %f formatting to work for
some games. It works.

Change-Id: I75585e0c6a0f9d6db41a87b71ca405b067d8b85d
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a small 32-byte write buffer to fdprintf.</title>
<updated>2017-11-28T14:01:17+00:00</updated>
<author>
<name>Michael Sevakis</name>
<email>jethead71@rockbox.org</email>
</author>
<published>2017-11-28T13:06:30+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=055e2115de90893b01c8214cee805ae5fd669a7c'/>
<id>055e2115de90893b01c8214cee805ae5fd669a7c</id>
<content type='text'>
Avoids a call to write() for every output character. It doesn't
need to be very large to have a great effect on speed and realize
most of the potential.

Change-Id: I11820c1968ed7b20aa00e106a022c1b864b03d21
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoids a call to write() for every output character. It doesn't
need to be very large to have a great effect on speed and realize
most of the potential.

Change-Id: I11820c1968ed7b20aa00e106a022c1b864b03d21
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert i.MX31 and AMS target to use RTC interrupt</title>
<updated>2017-11-21T12:52:02+00:00</updated>
<author>
<name>Michael Sevakis</name>
<email>jethead71@rockbox.org</email>
</author>
<published>2017-01-27T02:08:55+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=f4c42213062170ddfcc706b3c5ed19f47517c253'/>
<id>f4c42213062170ddfcc706b3c5ed19f47517c253</id>
<content type='text'>
Instead of checking ticks, set a sticky dirty flag that indicates
that the RTC needs to be read. This gives a timely update and more
accurate readout without actually reading the RTC until it changes.
The implementation should atomically read the flag and clear it.
Setting the flag would typically happen in an RTC tick ISR.

Change-Id: I6fd325f22845029a485c502c884812d3676026ea
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of checking ticks, set a sticky dirty flag that indicates
that the RTC needs to be read. This gives a timely update and more
accurate readout without actually reading the RTC until it changes.
The implementation should atomically read the flag and clear it.
Setting the flag would typically happen in an RTC tick ISR.

Change-Id: I6fd325f22845029a485c502c884812d3676026ea
</pre>
</div>
</content>
</entry>
</feed>
