<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>GBAgame</title>
	<atom:link href="http://gbagame.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://gbagame.wordpress.com</link>
	<description>GBA development for newbie</description>
	<lastBuildDate>Mon, 28 Sep 2009 10:25:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='gbagame.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>GBAgame</title>
		<link>http://gbagame.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gbagame.wordpress.com/osd.xml" title="GBAgame" />
	<atom:link rel='hub' href='http://gbagame.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Setting up programming environment, part 2</title>
		<link>http://gbagame.wordpress.com/2009/08/15/setting-up-programming-environment-part-2/</link>
		<comments>http://gbagame.wordpress.com/2009/08/15/setting-up-programming-environment-part-2/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 19:57:40 +0000</pubDate>
		<dc:creator>session13</dc:creator>
				<category><![CDATA[GBAgame]]></category>

		<guid isPermaLink="false">http://gbagame.wordpress.com/?p=19</guid>
		<description><![CDATA[In order to get quickly to template folder you can make an alias. $ cd ~/ $ vi .bashrc - go to end of file - press &#8220;a&#8221; - add following lines: alias gotemp=&#8217;cd /devkitpro/examples/gba/template&#8217; alias gosrc=&#8217;cd /devkitpro/examples/gba/template/source&#8217; alias rungba=&#8217;/usr/bin/VisualBoyAdvance /devkitpro/examples/gba/template/template_mb.gba&#8217; alias vb=&#8217;/usr/bin/VisualBoyAdvance&#8217; - press &#8220;Esc&#8221; and &#8220;ZZ&#8221; to save and quick file If during [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gbagame.wordpress.com&amp;blog=8974834&amp;post=19&amp;subd=gbagame&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In order to get quickly to template folder you can make an alias.</p>
<p><em><code>$ cd ~/<br />
$ vi .bashrc</em></code></p>
<p>- go to end of file<br />
- press &#8220;a&#8221;<br />
- add following lines: <em> </em></p>
<p><em>alias gotemp=&#8217;cd /devkitpro/examples/gba/template&#8217;<br />
alias gosrc=&#8217;cd /devkitpro/examples/gba/template/source&#8217;<br />
alias rungba=&#8217;/</em><em>usr/bin/VisualBoyAdvance /devkitpro/examples/gba/template/template_mb.gba&#8217;</em><br />
<em>alias vb=&#8217;/usr/bin/VisualBoyAdvance&#8217; </em></p>
<p>- press &#8220;Esc&#8221; and &#8220;ZZ&#8221; to save and quick file</p>
<p>If during editing file something goes wrong, press &#8220;Esc&#8221; and &#8220;:quit&#8221; to quit without saving.<br />
&#8220;gotemp&#8221;, &#8220;gosrc&#8221; and &#8220;rungba&#8221; are names of yours aliases and can be replace by anything else.</p>
<p>Now<em> $</em><em> exit</em> and run termina again.<em> $</em> <em>gosrc</em> to take yourself to source folder where file <em>template.c</em> is located.</p>
<p><em>$ gedit template.c</em></p>
<p>This is the file where you&#8217;ll put your program code.</p>
<p>Now, you&#8217;ll make a script that automatic does <em>make clean, make, rungba </em>in this order.</p>
<ol>
<li><em>$ cd ~/Documents</em></li>
<li><em>$ mkdir scripts</em></li>
<li><em>$ gedit gbscr</em></li>
</ol>
<p>Write these and save the file:</p>
<p><em><code>cd /devkitpro/examples/gba/template<br />
echo "Deleting template_mb.gba and template_mb.elf"<br />
make clean<br />
echo "Compiling code ..."<br />
make<br />
echo "Running template_mb.gba in emulator"<br />
/usr/bin/VisualBoyAdvance /devkitpro/examples/gba/template/template_mb.gba</code></em></p>
<p>Now, add <em>scripts </em>folder to <em>$PATH </em>environmental variable</p>
<ol>
<li><em>$ cd ~/</em></li>
<li><em>gedit .bashrc</em></li>
</ol>
<p>Add<em> <code><br />
export PATH=$PATH:$HOME/scripts<br />
</code></em><code>to the end of the file.</code></p>
<ol>
<li><em>$ exit</em></li>
<li>Run terminal again</li>
<li><em>$ gbscr</em></li>
</ol>
<p>Last command should compile your template project and open it in emulator.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gbagame.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gbagame.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gbagame.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gbagame.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gbagame.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gbagame.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gbagame.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gbagame.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gbagame.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gbagame.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gbagame.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gbagame.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gbagame.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gbagame.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gbagame.wordpress.com&amp;blog=8974834&amp;post=19&amp;subd=gbagame&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gbagame.wordpress.com/2009/08/15/setting-up-programming-environment-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ebb6c75d1aaf3ccc9b747f931b297749?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">session13</media:title>
		</media:content>
	</item>
		<item>
		<title>Running GBA emulator</title>
		<link>http://gbagame.wordpress.com/2009/08/14/running-gba-emulator/</link>
		<comments>http://gbagame.wordpress.com/2009/08/14/running-gba-emulator/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 09:00:17 +0000</pubDate>
		<dc:creator>session13</dc:creator>
				<category><![CDATA[GBAgame]]></category>

		<guid isPermaLink="false">http://gbagame.wordpress.com/?p=11</guid>
		<description><![CDATA[In your terminal type sudo synaptic Synaptic Package Manager will open. In Quick search type “visual boy advance”. In the middle field should be two packages: visualboyadvance and visualboyadvance-gtk (if there isn&#8217;t choose Edit → Reload Package Information or just press Ctrl + R and try again). Check the two squares to the left choosing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gbagame.wordpress.com&amp;blog=8974834&amp;post=11&amp;subd=gbagame&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In your terminal type<em> sudo synaptic</em></p>
<p>Synaptic Package Manager will open. In Quick search type “visual boy advance”. In the middle field should be two packages: visualboyadvance and visualboyadvance-gtk (if there isn&#8217;t choose Edit → Reload Package Information or just press Ctrl + R and try again). Check the two squares to the left choosing Mark for Installation. Press Apply and wait until all packages are downloaded and installed. Type (in terminal)</p>
<p><em>/usr/bin/VisualBoyAdvance</em> to start application. Syntax is<em> /usr/bin/VisualBoyAdvance [parameters] file</em> so if I have .gba file in Desktop folder I could type<em> /usr/bin/VisualBoyAdvance /home/special/Desktop/template_mb.gba</em> to emulate it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gbagame.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gbagame.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gbagame.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gbagame.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gbagame.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gbagame.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gbagame.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gbagame.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gbagame.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gbagame.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gbagame.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gbagame.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gbagame.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gbagame.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gbagame.wordpress.com&amp;blog=8974834&amp;post=11&amp;subd=gbagame&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gbagame.wordpress.com/2009/08/14/running-gba-emulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ebb6c75d1aaf3ccc9b747f931b297749?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">session13</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting up programming environment</title>
		<link>http://gbagame.wordpress.com/2009/08/14/setting-up-programming-environment/</link>
		<comments>http://gbagame.wordpress.com/2009/08/14/setting-up-programming-environment/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 07:40:20 +0000</pubDate>
		<dc:creator>session13</dc:creator>
				<category><![CDATA[GBAgame]]></category>

		<guid isPermaLink="false">http://gbagame.wordpress.com/?p=5</guid>
		<description><![CDATA[If you successfully installed Linux you can start setting up programming environment. Download these files: 1.devkitARM_r26-i686-linux.tar.bz2 2.gba-examples-20090222.tar.bz2 3.libgba-20090222.tar.bz2 If you are using Firefox, the default download folder is in /home/&#60;user&#62;/Desktop e.g. /home/special/Desktop. Now unpack them to folder /devkitpro. And becouse that folder don&#8217;t exist, create it with: $ cd / $ sudo mkdir devkitpro Every [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gbagame.wordpress.com&amp;blog=8974834&amp;post=5&amp;subd=gbagame&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you successfully installed Linux you can start setting up programming environment. Download these files:</p>
<p>1.<a title="devkitARM" href="http://sourceforge.net/projects/devkitpro/files/devkitARM/devkitARM release 26/devkitARM_r26-i686-linux.tar.bz2/download" target="_blank">devkitARM_r26-i686-linux.tar.bz2</a><br />
2.<a title="gba-examples" href="http://sourceforge.net/projects/devkitpro/files/examples_ gba/gba examples 20090222/gba-examples-20090222.tar.bz2/download" target="_blank">gba-examples-20090222.tar.bz2</a><br />
3.<a title="libgba" href="http://sourceforge.net/projects/devkitpro/files/libgba/libgba 20090222/libgba-20090222.tar.bz2/download" target="_blank">libgba-20090222.tar.bz2</a></p>
<p>If you are using Firefox, the default download folder is in <em>/home/&lt;user&gt;/Desktop e.g. /home/special/Desktop</em>. Now unpack them to folder <em>/devkitpro</em>. And becouse that folder don&#8217;t exist, create it with:</p>
<p><em>$ cd /<br />
$ sudo mkdir devkitpro</em></p>
<p>Every time you use <em>sudo</em> command you have to also type your user password, the same used for login into the system. Command<em> sudo</em> gives you administrative privileges. Now go into <em>/devkitpro</em> and create folders libgba and examples. In terminal go to libgba folder and execute</p>
<p><em>$ tar -jxvf &lt;filename&gt;</em></p>
<p>eg. tar – jxvf ~/Desktop/libgba-20090222.tar.bz2</p>
<p>This will unpack all files into current folder. ~/ means home directory. Next do the same with gba-examples-20090222.tar.bz2 and devkitARM_r26-i686-linux.tar.bz2. Last one can be unpack direct to devkitpro folder.</p>
<h3>Setting up system variables</h3>
<p><em>$ vi ~/.bashrc</em><br />
go to end of file<br />
press key &#8220;a&#8221;<br />
type this:</p>
<p><em>export DEVKITPRO=/devkitpro<br />
export DEVKITARM=$DEVKITPRO/devkitARM</em></p>
<p>press Esc<br />
type “ZZ” to save  and press Enter</p>
<h3>Compiling template</h3>
<p>Go to /devkitpro/examples/template and type<em> $ make</em><br />
You will see these lines:</p>
<p>built &#8230; template_mb.gba<br />
ROM fixed!</p>
<p>Now you have template_mb.gba file that can be run in emulator or GBA console.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gbagame.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gbagame.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gbagame.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gbagame.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gbagame.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gbagame.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gbagame.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gbagame.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gbagame.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gbagame.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gbagame.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gbagame.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gbagame.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gbagame.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gbagame.wordpress.com&amp;blog=8974834&amp;post=5&amp;subd=gbagame&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gbagame.wordpress.com/2009/08/14/setting-up-programming-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ebb6c75d1aaf3ccc9b747f931b297749?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">session13</media:title>
		</media:content>
	</item>
		<item>
		<title>Introduction</title>
		<link>http://gbagame.wordpress.com/2009/08/13/introduction/</link>
		<comments>http://gbagame.wordpress.com/2009/08/13/introduction/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 20:00:17 +0000</pubDate>
		<dc:creator>session13</dc:creator>
				<category><![CDATA[GBAgame]]></category>

		<guid isPermaLink="false">http://gbagame.wordpress.com/?p=3</guid>
		<description><![CDATA[Everyone interested in Gameboy Advance programming under Linux are welcome to learn and comment. I have Ubuntu 9.04 and no Linux or programming experience. I want to learn both and share whatever I know. My GBA knowledge is based on TONC&#8216;s manual.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gbagame.wordpress.com&amp;blog=8974834&amp;post=3&amp;subd=gbagame&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom:0;">Everyone interested in Gameboy Advance programming under Linux are welcome to learn and comment. I have Ubuntu 9.04 and no Linux or programming experience. I want to learn both and share whatever I know. My GBA knowledge is based on <a href="http://www.coranac.com/tonc/text/toc.htm" target="_blank">TONC</a>&#8216;s manual.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gbagame.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gbagame.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gbagame.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gbagame.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/gbagame.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/gbagame.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/gbagame.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/gbagame.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gbagame.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gbagame.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gbagame.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gbagame.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gbagame.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gbagame.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gbagame.wordpress.com&amp;blog=8974834&amp;post=3&amp;subd=gbagame&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://gbagame.wordpress.com/2009/08/13/introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ebb6c75d1aaf3ccc9b747f931b297749?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">session13</media:title>
		</media:content>
	</item>
	</channel>
</rss>
