<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.2" -->
<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/"
	>

<channel>
	<title>Laceys Investimigations</title>
	<link>http://blog.dev-scene.com/lacey</link>
	<description>Just another Dev-Scene Community Blogs weblog</description>
	<pubDate>Wed, 11 Jun 2008 03:22:41 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
	<language>en</language>
			<item>
		<title>Animanatee</title>
		<link>http://blog.dev-scene.com/lacey/2008/06/10/animanatee/</link>
		<comments>http://blog.dev-scene.com/lacey/2008/06/10/animanatee/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 02:49:37 +0000</pubDate>
		<dc:creator>lacey</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.dev-scene.com/lacey/2008/06/10/animanatee/</guid>
		<description><![CDATA[I&#8217;ve just come across a great homebrew app by the name of Animanatee - for making up animations on your DS! Includes some basic onion skinning and two layers to use. This is my first animation done with it, though I only used one layer: Skate Dude
I would embed that video but can&#8217;t make it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just come across a great homebrew app by the name of Animanatee - for making up animations on your DS! Includes some basic onion skinning and two layers to use. This is my first animation done with it, though I only used one layer: <a href="http://www.youtube.com/watch?v=yak0AXK_rCw">Skate Dude</a></p>
<p>I would embed that video but can&#8217;t make it work. At least not in under 60 seconds. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dev-scene.com/lacey/2008/06/10/animanatee/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Still Here&#8230;</title>
		<link>http://blog.dev-scene.com/lacey/2008/05/30/still-here/</link>
		<comments>http://blog.dev-scene.com/lacey/2008/05/30/still-here/#comments</comments>
		<pubDate>Fri, 30 May 2008 14:41:29 +0000</pubDate>
		<dc:creator>lacey</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.dev-scene.com/lacey/2008/05/30/still-here/</guid>
		<description><![CDATA[Been quiet for a while, not that anyone ever reads any of this I suspect. The point of it is really just to jot down some notes that might come in handy when somebody googles homebrew DS stuff. Meh.
In other, more imortant news, Eris has updated her NitroFS stuff, so if you&#8217;re using it I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>Been quiet for a while, not that anyone ever reads any of this I suspect. The point of it is really just to jot down some notes that might come in handy when somebody googles homebrew DS stuff. Meh.</p>
<p>In other, more imortant news, Eris has updated her NitroFS stuff, so if you&#8217;re using it I&#8217;d suggest <a href="http://blea.ch/wiki/index.php/Nitrofs">grabbing</a> the latest version for a couple of minor fixes and improvements.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dev-scene.com/lacey/2008/05/30/still-here/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Screen Shot</title>
		<link>http://blog.dev-scene.com/lacey/2008/03/11/screen-shot/</link>
		<comments>http://blog.dev-scene.com/lacey/2008/03/11/screen-shot/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 04:11:45 +0000</pubDate>
		<dc:creator>lacey</dc:creator>
		
		<category><![CDATA[DS]]></category>

		<category><![CDATA[Sprites]]></category>

		<category><![CDATA[Tiles]]></category>

		<guid isPermaLink="false">http://blog.dev-scene.com/lacey/2008/03/11/screen-shot/</guid>
		<description><![CDATA[Not that much fun but thought I&#8217;d stick it up anyway - I&#8217;m in the process of replacing the lovely Zelda artwork with my own crappy tiles.
The little dude is mine though!

]]></description>
			<content:encoded><![CDATA[<p>Not that much fun but thought I&#8217;d stick it up anyway - I&#8217;m in the process of replacing the lovely Zelda artwork with my own crappy tiles.</p>
<p>The little dude is mine though!</p>
<p><img src="http://www.mattlacey.com/screenie.jpg" alt="Sprites!" border="2" height="384" width="256" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dev-scene.com/lacey/2008/03/11/screen-shot/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Quick Update</title>
		<link>http://blog.dev-scene.com/lacey/2008/03/10/quick-update/</link>
		<comments>http://blog.dev-scene.com/lacey/2008/03/10/quick-update/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 06:41:03 +0000</pubDate>
		<dc:creator>lacey</dc:creator>
		
		<category><![CDATA[DS]]></category>

		<guid isPermaLink="false">http://blog.dev-scene.com/lacey/2008/03/10/quick-update/</guid>
		<description><![CDATA[Finally able to log in - would appear I forgot my password a bit!
Anyway, tech is coming along nicely, got sprites on the screen now too, will get a screen shot up shortly. Coming next is support for maps &#62; 64&#215;64 tiles.
Hit a bit of a &#8216;gotcha&#8217; whilst using my own structs to represent data [...]]]></description>
			<content:encoded><![CDATA[<p>Finally able to log in - would appear I forgot my password a bit!</p>
<p>Anyway, tech is coming along nicely, got sprites on the screen now too, will get a screen shot up shortly. Coming next is support for maps &gt; 64&#215;64 tiles.</p>
<p>Hit a bit of a &#8216;gotcha&#8217; whilst using my own structs to represent data layout in OAM, apparently having a union start after a 9-bit variable results in padding being inserted before the union - meant my values were being written 7 bits further on in memory than they should have been. Of course, if you just use the structs provided in libnds you won&#8217;t encounter such an issue :)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dev-scene.com/lacey/2008/03/10/quick-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>M3 Simply &#8230;</title>
		<link>http://blog.dev-scene.com/lacey/2008/02/20/m3-simply/</link>
		<comments>http://blog.dev-scene.com/lacey/2008/02/20/m3-simply/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 12:53:06 +0000</pubDate>
		<dc:creator>lacey</dc:creator>
		
		<category><![CDATA[DS]]></category>

		<category><![CDATA[M3]]></category>

		<guid isPermaLink="false">http://blog.dev-scene.com/lacey/2008/02/20/m3-simply/</guid>
		<description><![CDATA[Simply broke. I went to insert the micro SD card as normal and it just wouldn&#8217;t stay in. Catch wasn&#8217;t clicking and the spring was just pushing the card back at me - quick search on the net shows this isn&#8217;t rare either, which is a shame because apart from that the card is great.
For [...]]]></description>
			<content:encoded><![CDATA[<p>Simply broke. I went to insert the micro SD card as normal and it just wouldn&#8217;t stay in. Catch wasn&#8217;t clicking and the spring was just pushing the card back at me - quick search on the net shows this isn&#8217;t rare either, which is a shame because apart from that the card is great.</p>
<p>For those of you who have endured this pain and don&#8217;t want to use tape to hold the card in, I&#8217;ll share what I discovered. While poking around trying to get the catch to work, I pushed the card in backwards&#8230; and it clicked. Eagerly I pushed again to release the catch and try it normally but alas it still didn&#8217;t work - what I did find after more fiddling though was that by pushing it in backwards so it clicks, you can then pull the card out and put it in normally. It won&#8217;t click into place, but the spring won&#8217;t push it and fair bit of shaking the console upside down hasn&#8217;t dislodged it either - so if you don&#8217;t want to send it back and get a new one this may be the solution you need!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dev-scene.com/lacey/2008/02/20/m3-simply/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Zelda on the Speccy?</title>
		<link>http://blog.dev-scene.com/lacey/2008/02/20/zelda-on-the-speccy/</link>
		<comments>http://blog.dev-scene.com/lacey/2008/02/20/zelda-on-the-speccy/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 11:29:59 +0000</pubDate>
		<dc:creator>lacey</dc:creator>
		
		<category><![CDATA[DS]]></category>

		<category><![CDATA[Tiles]]></category>

		<guid isPermaLink="false">http://blog.dev-scene.com/lacey/2008/02/20/zelda-on-the-speccy/</guid>
		<description><![CDATA[Not quite - I was testing my VRAM stuff, wanted to load a map and some tiles - rather than drawing some I figured I&#8217;d just use a scene from one of my fave games: A Link To the Past. Because I haven&#8217;t bothered to write the function to load the palette yet it&#8217;s being [...]]]></description>
			<content:encoded><![CDATA[<p>Not quite - I was testing my VRAM stuff, wanted to load a map and some tiles - rather than drawing some I figured I&#8217;d just use a scene from one of my fave games: A Link To the Past. Because I haven&#8217;t bothered to write the function to load the palette yet it&#8217;s being drawn with my debug palette, and the result is a glorious image which looks like it&#8217;s straight from the good old Spectrum. Thought I&#8217;d share it!</p>
<p><img src="http://www.mattlacey.com/zelda_speccy.PNG" alt="A Link To the Past. Not on Spectrum." border="2" height="384" width="256" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dev-scene.com/lacey/2008/02/20/zelda-on-the-speccy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More Filesystems&#8230;</title>
		<link>http://blog.dev-scene.com/lacey/2008/02/19/more-filesystems/</link>
		<comments>http://blog.dev-scene.com/lacey/2008/02/19/more-filesystems/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 15:03:59 +0000</pubDate>
		<dc:creator>lacey</dc:creator>
		
		<category><![CDATA[DS]]></category>

		<category><![CDATA[DS File System]]></category>

		<guid isPermaLink="false">http://blog.dev-scene.com/lacey/2008/02/19/more-filesystems/</guid>
		<description><![CDATA[Having played around a bit, and with the advice of others I decided to drop efslib, and am now using the  NitroFS system created by Eris
It&#8217;s a similar set up, i.e. lets you keep everything in a single file w/o statically linking in your data, but it&#8217;s got a nicer interface (you can just [...]]]></description>
			<content:encoded><![CDATA[<p>Having played around a bit, and with the advice of others I decided to drop efslib, and am now using the <a href="http://blea.ch/wiki/index.php/Nitrofs"> NitroFS system created by Eris</a></p>
<p>It&#8217;s a similar set up, i.e. lets you keep everything in a single file w/o statically linking in your data, but it&#8217;s got a nicer interface (you can just use fopen/fread etc.) and I&#8217;ve got it working nicely on both my DS and on No$GBA.</p>
<p>Hopefully now I can finally get some real graphics on screen - I&#8217;ve written half a VRAM manager for dealing with tile sets and maps, just need to give it some more testing now I can load in proper data.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dev-scene.com/lacey/2008/02/19/more-filesystems/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Filesystem Choices</title>
		<link>http://blog.dev-scene.com/lacey/2008/02/07/filesystem-choices/</link>
		<comments>http://blog.dev-scene.com/lacey/2008/02/07/filesystem-choices/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 23:35:16 +0000</pubDate>
		<dc:creator>lacey</dc:creator>
		
		<category><![CDATA[DS]]></category>

		<category><![CDATA[DS File System]]></category>

		<guid isPermaLink="false">http://blog.dev-scene.com/lacey/2008/02/07/filesystem-choices/</guid>
		<description><![CDATA[Just thought I&#8217;d share my choice for file system for the time being, rather than using something like libfat directly I wanted a solution more similar to the official way of doing things, partly because it means I can have all my files in one place without having my data compiled statically in the application.
The [...]]]></description>
			<content:encoded><![CDATA[<p>Just thought I&#8217;d share my choice for file system for the time being, rather than using something like libfat directly I wanted a solution more similar to the official way of doing things, partly because it means I can have all my files in one place without having my data compiled statically in the application.</p>
<p>The advantage of not having the data static is that you don&#8217;t waste valuable RAM storing it all permanently, and the advantages of having it all in one are pretty obvious with regards to distribution.</p>
<p>So for now I&#8217;m using efs lib which is built on top of libfat, and even comes with a switch (#define) so you can turn it into simply a light weight wrapper for libfat should you have trouble using it on certain devices or with certain emulators.</p>
<p>I&#8217;ve built a further wrapper around this myself so in my code file references are purely integers, though whether I&#8217;ll keep this I&#8217;ve not decided - it&#8217;s extra overhead for not much benefit, but then I don&#8217;t forsee a need for super fast file access either just yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dev-scene.com/lacey/2008/02/07/filesystem-choices/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Forgotten Findings</title>
		<link>http://blog.dev-scene.com/lacey/2008/02/03/forgotten-findings/</link>
		<comments>http://blog.dev-scene.com/lacey/2008/02/03/forgotten-findings/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 07:01:38 +0000</pubDate>
		<dc:creator>lacey</dc:creator>
		
		<category><![CDATA[DS]]></category>

		<category><![CDATA[Tiles]]></category>

		<category><![CDATA[tiles]]></category>

		<category><![CDATA[vram]]></category>

		<guid isPermaLink="false">http://blog.dev-scene.com/lacey/2008/02/03/forgotten-findings/</guid>
		<description><![CDATA[While writing a quick and dirty function to get some debug tiles on the screen, I forgot (it&#8217;s been over a year since I last did any DS code) that you can&#8217;t write to VRAM 8 bits at a time. I think this might be true for all RAM, though in other cases it&#8217;s likely [...]]]></description>
			<content:encoded><![CDATA[<p>While writing a quick and dirty function to get some debug tiles on the screen, I forgot (it&#8217;s been over a year since I last did any DS code) that you can&#8217;t write to VRAM 8 bits at a time. I think this might be true for all RAM, though in other cases it&#8217;s likely the hardware does a 32 bit read then write. Either way, if you want to write some debug tiles to the screen make sure you write either 32 or 16 bits at a time.</p>
<p>The following code simply &#8216;makes&#8217; two tiles in VRAM, i.e. two blocks of 64 (8&#215;8) pixels, filling the first with 0 (for the first palette entry) and the second with 1 (for the second palette entry).</p>
<pre>u16 *pTiles = (u16 *) BG_TILE_RAM(1);</pre>
<pre>for (i = 0; i &lt; 64; i++)</pre>
<pre>{</pre>
<pre>	if (i &gt; 31)
		pTiles[i] = (1 &lt;&lt; 8) | 1;
	else
		pTiles[i] = (0);
}</pre>
<p>Obviously this isn&#8217;t the most flexible or attractive code around, but it illustrates the point!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dev-scene.com/lacey/2008/02/03/forgotten-findings/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wow</title>
		<link>http://blog.dev-scene.com/lacey/2008/01/31/wow/</link>
		<comments>http://blog.dev-scene.com/lacey/2008/01/31/wow/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 15:24:17 +0000</pubDate>
		<dc:creator>lacey</dc:creator>
		
		<category><![CDATA[DS]]></category>

		<guid isPermaLink="false">http://blog.dev-scene.com/lacey/2008/01/31/wow/</guid>
		<description><![CDATA[Last time I looked at home brew it was nothing to shout about, however that was a long time ago and the libraries knocking about now are nothing short of awesome.
I&#8217;ve been coding for a few hours tonight and already  seem to be making good progres&#8230; though I&#8217;m not sure what on just yet. [...]]]></description>
			<content:encoded><![CDATA[<p>Last time I looked at home brew it was nothing to shout about, however that was a long time ago and the libraries knocking about now are nothing short of awesome.</p>
<p>I&#8217;ve been coding for a few hours tonight and already  seem to be making good progres&#8230; though I&#8217;m not sure what on just yet. Probably some kind of top down rally thing just to get my tech together.<br />
I&#8217;ll shut up for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dev-scene.com/lacey/2008/01/31/wow/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
