<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Abort, Retry, Hack? &#187; sunplus</title>
	<atom:link href="http://marcansoft.com/blog/tag/sunplus/feed/" rel="self" type="application/rss+xml" />
	<link>http://marcansoft.com/blog</link>
	<description>[ marcan&#039;s blog ]</description>
	<lastBuildDate>Tue, 22 Dec 2009 16:26:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>More SPMP goodness: now with pseudo-3D</title>
		<link>http://marcansoft.com/blog/2009/06/more-spmp-goodness-now-with-pseudo-3d/</link>
		<comments>http://marcansoft.com/blog/2009/06/more-spmp-goodness-now-with-pseudo-3d/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 01:06:28 +0000</pubDate>
		<dc:creator>marcan</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[3d]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[reveng]]></category>
		<category><![CDATA[spmp]]></category>
		<category><![CDATA[sunplus]]></category>

		<guid isPermaLink="false">http://marcansoft.com/blog/?p=52</guid>
		<description><![CDATA[After a few days of reading very, very weird disassembled code and poking registers, the odd 2D hardware finally works (for the most part). It can draw lines, so I threw in a software 3D transform. Here&#8217;s the Stanford Bunny in a glorious 448 vertices and 1416 lines of jaggy wireframe awesomeness. The chip has [...]]]></description>
			<content:encoded><![CDATA[<p>After a few days of reading very, very weird disassembled code and poking registers, the odd 2D hardware finally works (for the most part). It can draw lines, so I threw in a software 3D transform. Here&#8217;s the <a href="http://en.wikipedia.org/wiki/Stanford_Bunny">Stanford Bunny</a> in a glorious 448 vertices and 1416 lines of jaggy wireframe awesomeness.</p>
<p><object type="application/x-shockwave-flash" style="width:425px; height:350px;" data="http://www.youtube.com/v/3tg7KSSUl8Q&#038;hl=es&#038;fs=1&#038;"><param name="movie" value="http://www.youtube.com/v/3tg7KSSUl8Q&#038;hl=es&#038;fs=1&#038;" /><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param>
<span id="more-52"></span><br />
The chip has hardware line styling (stippling), and you can see 4 different settings (solid, &#8220;10&#8243; dashed, &#8220;100&#8243; dashed, &#8220;1000&#8243; dashed) in sequence. At the higher setting it starts to look more like a point cloud with many more points than it has real vertices.</p>
<p>Also of note: I&#8217;m working inside a framework that drives operation of the SPMP from the PC. While the entire bunny transformation and rendering is happening inside the SPMP, the PC sends it the rotation matrix and tells it to go each frame (and also when to switch stippling and whatnot). So it&#8217;s slower than it would be in pure standalone hardware, because there&#8217;s still at least two serial port ping-pong commands each frame (one memory download for the matrix and one command to tell it to render the bunny with it).</p>
<p>You can grab the (ugly as hell) code in the <a href="http://git.marcansoft.com/?p=spmp.git;a=summary">Git repo</a>.</p>
<p>Fun stuff: the projection is orthographic, so there&#8217;s no depth information rendered. This makes the rotation ambiguous. Do you see it rotating clockwise or anticlockwise (looking at it from above)? Can you make your brain switch between them?</p>
]]></content:encoded>
			<wfw:commentRss>http://marcansoft.com/blog/2009/06/more-spmp-goodness-now-with-pseudo-3d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sunplus SPMP305x media player hacking</title>
		<link>http://marcansoft.com/blog/2009/06/sunplus-spmp305x-media-player-hacking/</link>
		<comments>http://marcansoft.com/blog/2009/06/sunplus-spmp305x-media-player-hacking/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 03:23:59 +0000</pubDate>
		<dc:creator>marcan</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[reveng]]></category>
		<category><![CDATA[spmp]]></category>
		<category><![CDATA[sunplus]]></category>

		<guid isPermaLink="false">http://marcansoft.com/blog/2009/06/sunplus-spmp305x-media-player-hacking/</guid>
		<description><![CDATA[I&#8217;ve joined a bunch of friends in a quest to reverse engineer and write custom software for Sunplus SPMP305x chips. These chips are inside all sorts of chinese media players, particularly the fairly powerful kind with a camera, video playback, etc. The chip is based around an ARM926EJ-S core, but the peripherals around it are [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve joined a bunch of friends in a quest to reverse engineer and write custom software for Sunplus SPMP305x chips. These chips are inside <a href="http://spmp305x.spritesserver.nl/wiki/index.php/List_of_units">all sorts of chinese media players</a>, particularly the fairly powerful kind with a camera, video playback, etc. The chip is based around an ARM926EJ-S core, but the peripherals around it are completely custom &#8211; check out the <a href="http://www.sunplusmm.com/products/dsc/spmp.asp">marketing blurb</a>. Most current work is on reverse engineering the hardware interface so we can completely replace the default firmware.</p>
<p>If you&#8217;re interested and you have one of these or don&#8217;t mind spending <a href="http://www.dealextreme.com/details.dx/sku.21968">$33</a> to get an interesting ARM machine, check out the <a href="http://spmp305x.spritesserver.nl/wiki/index.php">wiki</a>, <a href="http://code.google.com/p/libspmp3050/">Google Code project</a> for the Prex port and other stuff, and my <a href="http://git.marcansoft.com/?p=spmp.git;a=summary">Git repository</a> with a port of MINI and a bunch of client utilities for reverse engineering and testing the hardware stuff. Most importantly, however, come visit us at #spmpdev on the EFNet network! Most of the work and chitchat happens in the IRC channel.</p>
<p><img src="http://marcansoft.com/uploads/spmp/spmp_lcd.jpg" alt="sunplus test image" /></p>
]]></content:encoded>
			<wfw:commentRss>http://marcansoft.com/blog/2009/06/sunplus-spmp305x-media-player-hacking/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
