<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/apps/plugins/sdl/src, branch quake5</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>sdl: gut OS/2, win32 code from SDL.c</title>
<updated>2019-07-28T18:27:49+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>franklin@rockbox.org</email>
</author>
<published>2019-07-28T18:27:49+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=d8330c9c18ac227800ed7dc9c6ae72946e92e4fb'/>
<id>d8330c9c18ac227800ed7dc9c6ae72946e92e4fb</id>
<content type='text'>
This should help with compiling win32 simulators.

Change-Id: Icfbf78f7d0a8b0ddebffa8daac3adf55ac21f139
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should help with compiling win32 simulators.

Change-Id: Icfbf78f7d0a8b0ddebffa8daac3adf55ac21f139
</pre>
</div>
</content>
</entry>
<entry>
<title>sdl: fix video regression introduced by 5d05b9d</title>
<updated>2019-07-25T18:27:17+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2019-07-25T18:26:45+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=cdfb7d44f2c698a6c3dcfcbd4bdccf066ccfaf8a'/>
<id>cdfb7d44f2c698a6c3dcfcbd4bdccf066ccfaf8a</id>
<content type='text'>
The quake commit tried to optimize lcd updates but inadvertently broke
wolf3d (which always uses a 320x200 screen size). This fixes that and also
lets direct mode truly exit early to hopefully save some cycles.

Change-Id: I41d96cd584257fe25e791c7f615812849f348e4f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The quake commit tried to optimize lcd updates but inadvertently broke
wolf3d (which always uses a 320x200 screen size). This fixes that and also
lets direct mode truly exit early to hopefully save some cycles.

Change-Id: I41d96cd584257fe25e791c7f615812849f348e4f
</pre>
</div>
</content>
</entry>
<entry>
<title>Quake!</title>
<updated>2019-07-20T02:37:40+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2018-02-11T20:34:30+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=5d05b9d3e920a6aa5fcb553758e98ed0da8c91e4'/>
<id>5d05b9d3e920a6aa5fcb553758e98ed0da8c91e4</id>
<content type='text'>
This ports id Software's Quake to run on the SDL plugin runtime. The
source code originated from id under the GPLv2 license. I used
https://github.com/ahefner/sdlquake as the base of my port.

Performance is, unsurprisingly, not on par with what you're probably
used to on PC. I average about 10FPS on ipod6g, but it's still
playable.

Sound works well enough, but in-game music is not supported. I've
written ARM assembly routines for the inner sound loop. Make sure you
turn the "brightness" all the way down, or colors will look funky.

To run, extract Quake's data files to /.rockbox/quake. Have fun!

Change-Id: I4285036e967d7f0722802d43cf2096c808ca5799
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This ports id Software's Quake to run on the SDL plugin runtime. The
source code originated from id under the GPLv2 license. I used
https://github.com/ahefner/sdlquake as the base of my port.

Performance is, unsurprisingly, not on par with what you're probably
used to on PC. I average about 10FPS on ipod6g, but it's still
playable.

Sound works well enough, but in-game music is not supported. I've
written ARM assembly routines for the inner sound loop. Make sure you
turn the "brightness" all the way down, or colors will look funky.

To run, extract Quake's data files to /.rockbox/quake. Have fun!

Change-Id: I4285036e967d7f0722802d43cf2096c808ca5799
</pre>
</div>
</content>
</entry>
<entry>
<title>sdl: silence audio driver debug output</title>
<updated>2019-07-09T15:20:55+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2019-07-08T02:01:36+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=c2411f785cd391134f5acdd59caf9c4941ca1ec9'/>
<id>c2411f785cd391134f5acdd59caf9c4941ca1ec9</id>
<content type='text'>
Change-Id: I7aae3419f56f9cf952d9383f2a6cf9e9950e9a6d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7aae3419f56f9cf952d9383f2a6cf9e9950e9a6d
</pre>
</div>
</content>
</entry>
<entry>
<title>sdl: a couple minor fixes</title>
<updated>2019-07-09T15:20:55+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2019-07-08T01:51:41+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=71922db6cf64fde49deb0ce12fc2828ca0129b53'/>
<id>71922db6cf64fde49deb0ce12fc2828ca0129b53</id>
<content type='text'>
Prevents system SDL from interfering with thread driver selection. Also
adds test code for alignment faults.

Change-Id: I8bc181922c4a9e764429897dbbaa1ffaabd01126
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevents system SDL from interfering with thread driver selection. Also
adds test code for alignment faults.

Change-Id: I8bc181922c4a9e764429897dbbaa1ffaabd01126
</pre>
</div>
</content>
</entry>
<entry>
<title>sdl: prevent simulator build from using pthreads</title>
<updated>2019-06-16T18:28:56+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2019-06-16T18:22:02+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=b04f267ec39dadbfb922b477b8178ad15581db07'/>
<id>b04f267ec39dadbfb922b477b8178ad15581db07</id>
<content type='text'>
The simulator build will pull in the host SDL headers, which we can't
filter out easily. A simple workaround is to simply remove the pthread
include from our SDL.

Change-Id: I09de0f2e85b891aa88958e21426ab450af516e76
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The simulator build will pull in the host SDL headers, which we can't
filter out easily. A simple workaround is to simply remove the pthread
include from our SDL.

Change-Id: I09de0f2e85b891aa88958e21426ab450af516e76
</pre>
</div>
</content>
</entry>
<entry>
<title>sdl: remove non-rockbox drivers</title>
<updated>2018-03-13T00:52:01+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2018-02-08T01:04:46+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=6039eb05ba6d82ef56f2868c96654c552d117bf9'/>
<id>6039eb05ba6d82ef56f2868c96654c552d117bf9</id>
<content type='text'>
We never use any of these other drivers, so having them around just takes
up space.

Change-Id: Iced812162df1fef3fd55522b7e700acb6c3bcd41
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We never use any of these other drivers, so having them around just takes
up space.

Change-Id: Iced812162df1fef3fd55522b7e700acb6c3bcd41
</pre>
</div>
</content>
</entry>
<entry>
<title>sdl: clean up audio driver</title>
<updated>2018-01-16T00:47:49+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2018-01-05T22:30:09+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=ef373c03b96b0be08babca581d9f10bccfd4931f'/>
<id>ef373c03b96b0be08babca581d9f10bccfd4931f</id>
<content type='text'>
This prevents a (highly improbable) race condition when exiting, and uses
pcm_set_frequency() instead of mixer_set_frequency(), since that seems like
the Right Thing to Do (TM).

Change-Id: Icb6a4597843215f08b3835490ac63f67c9a04736
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This prevents a (highly improbable) race condition when exiting, and uses
pcm_set_frequency() instead of mixer_set_frequency(), since that seems like
the Right Thing to Do (TM).

Change-Id: Icb6a4597843215f08b3835490ac63f67c9a04736
</pre>
</div>
</content>
</entry>
<entry>
<title>sdl: correct misleading comments</title>
<updated>2018-01-15T00:32:13+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2018-01-15T00:31:27+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=69ff35ac497abddd0559412f82682d717888eb03'/>
<id>69ff35ac497abddd0559412f82682d717888eb03</id>
<content type='text'>
Change-Id: Ieb33d3fec1e0d834c5e294b79f280959497acb6a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ieb33d3fec1e0d834c5e294b79f280959497acb6a
</pre>
</div>
</content>
</entry>
<entry>
<title>Use sleep(0) instead of yield() in SDL_WaitAudio</title>
<updated>2018-01-15T00:32:13+00:00</updated>
<author>
<name>Michael Sevakis</name>
<email>jethead71@rockbox.org</email>
</author>
<published>2018-01-13T22:46:47+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=769d73d734938eb192794b4104986a527ac70dd5'/>
<id>769d73d734938eb192794b4104986a527ac70dd5</id>
<content type='text'>
This allows CPU load to drop below 100%, which is good for anything
that scales frequency and voltage based on CPU load. Also conserves
some energy by letting the core go idle if there aren't any available
buffers.

Change-Id: I9385ac9e030f97010b12eb825875a900463ab0ac
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows CPU load to drop below 100%, which is good for anything
that scales frequency and voltage based on CPU load. Also conserves
some energy by letting the core go idle if there aren't any available
buffers.

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