Offline
SLC, UT

Just saw this, and I'm very excited by it. It looks so simple. Anyways, here's the link:

https://github.com/remore/burn

Offline

This looks interesting.  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'm not sure how much actual Ruby code you can use inside the domain-specific language.

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'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't see any sprites. It looks like a bunch of code from main.rb isn't even ending up in the C.

Nonetheless this looks promising. It would be great to have some lower-level access to NES audio in the domain-specific language.

This article, linked from the Burn Readme, might be interesting for those that haven't already seen it:
http://shiru.untergrund.net/articles/pr … s_in_c.htm

Last edited by rvan (Apr 5, 2014 8:21 am)

Offline

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'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.