Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)
You are not logged in.
Hello folks, I am really newbie to Gameboy development so probably stupid questions.
Trying to compile example1.asm from Carillon Editor to play tune on gb. I setted up RGBDS on osx and after adding missing EQU's to source it compiles just fine. But no sound from rom file it produces.
I compile/link/fix with following:
rgbasm -o example1.o example1.asm
rgblink -o baz.gb example1.o
rgbfix -v baz.gb
As test tune i used fruitless from Carillon package, which i first splitted with carillon.exe tool. Any obvious mistakes i am making here?
Code:
http://pastebin.com/qww9mzrq
Offline
i am not too knowlageable about this but dont you have to write to NR50, NR51 etc to make the gameboy play sound
see at the very bottom of this page here:
http://92.19.232.58:82/files/tutorial_d … ce%5D.html
i would assume that you do this in your Player_MusicStart function but i cant find it in your source
sorry i cant be more help
Last edited by a cat (2015-11-13 14:02:02)
Offline
It includes music and it's player starting at $4000 with incbin at bottom of source and then calls the needed routines like Player_MusicStart (which points to $4003). So actual player source is not shown here as it's just loaded as blackbox, which just should work.
That's why i'm little puzzled what i am doing wrong as Carillon editor, at least used to be quite popular in Game boy scene and should work 'out of the box' quite easily.
Offline
what is the Carillon editor?
Offline
It is a music player, you type in the code/rhythms and such. And it plays it.
Offline