<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - Burn - Develop NES with Ruby]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/13985/"/>
	<updated>2014-04-07T22:42:56Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/13985/burn-develop-nes-with-ruby/</id>
		<entry>
			<title type="html"><![CDATA[Re: Burn - Develop NES with Ruby]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/205543/#p205543"/>
			<content type="html"><![CDATA[<p>Im really excited to try this out. I started writing a few really basic programs for the NES but I got lost in the syntax and haven&#039;t had a chance to get back to it. This has a lot of promise to make the homebrew NES scene more accessible to people like me.</p>]]></content>
			<author>
				<name><![CDATA[Adil Soubki]]></name>
				<uri>https://chipmusic.org/Adil+Soubki</uri>
			</author>
			<updated>2014-04-07T22:42:56Z</updated>
			<id>https://chipmusic.org/forums/post/205543/#p205543</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Burn - Develop NES with Ruby]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/205369/#p205369"/>
			<content type="html"><![CDATA[<p>This looks interesting.&nbsp; It seems that you write your code in a domain-specific language which is implemented in Ruby and gets translated to C and then compiled for the NES with cc65. I&#039;m not sure how much actual Ruby code you can use inside the domain-specific language.</p><p>I managed to install Burn without trouble (after installing Ruby 1.9.1 alongside Ruby 1.8.7), and had a go at compiling the examples. Both hello_world and shooting compile and run fine, play_with_music compiles but does nothing. Burn produces C with syntax errors for sprite_sample. I&#039;ll let you know if I can get the C to compile. Edit: Fixing the syntax errors gets the C to compile. It shows the start screen and plays the music when run, but I don&#039;t see any sprites. It looks like a bunch of code from main.rb isn&#039;t even ending up in the C.</p><p>Nonetheless this looks promising. It would be great to have some lower-level access to NES audio in the domain-specific language.</p><p>This article, linked from the Burn Readme, might be interesting for those that haven&#039;t already seen it:<br /><a href="http://shiru.untergrund.net/articles/programming_nes_games_in_c.htm" target="_blank">http://shiru.untergrund.net/articles/pr &#133; s_in_c.htm</a></p>]]></content>
			<author>
				<name><![CDATA[rvan]]></name>
				<uri>https://chipmusic.org/rvan</uri>
			</author>
			<updated>2014-04-05T07:56:31Z</updated>
			<id>https://chipmusic.org/forums/post/205369/#p205369</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Burn - Develop NES with Ruby]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/205350/#p205350"/>
			<content type="html"><![CDATA[<p>Just saw this, and I&#039;m very excited by it. It looks so simple. Anyways, here&#039;s the link:</p><p><a href="https://github.com/remore/burn" target="_blank">https://github.com/remore/burn</a></p>]]></content>
			<author>
				<name><![CDATA[stargazer]]></name>
				<uri>https://chipmusic.org/stargazer</uri>
			</author>
			<updated>2014-04-05T00:44:18Z</updated>
			<id>https://chipmusic.org/forums/post/205350/#p205350</id>
		</entry>
</feed>
