Gameboy Development Forum

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.

Ads

#1 2015-11-12 16:24:08

rebb
New member
Registered: 2015-11-12
Posts: 4

Compiling Carillon player example not working

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

 

#2 2015-11-13 14:00:46

a cat
Member
Registered: 2014-07-27
Posts: 98

Re: Compiling Carillon player example not working

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)


a cat in need of knowledge!!

Offline

 

#3 2015-11-13 16:15:55

rebb
New member
Registered: 2015-11-12
Posts: 4

Re: Compiling Carillon player example not working

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

 

#4 2015-11-14 19:25:14

a cat
Member
Registered: 2014-07-27
Posts: 98

Re: Compiling Carillon player example not working

what is the Carillon editor?


a cat in need of knowledge!!

Offline

 

#5 2015-11-14 23:33:30

MrElephant
Member
Registered: 2014-01-29
Posts: 40

Re: Compiling Carillon player example not working

It is a music player,  you type in the code/rhythms and such.  And it plays it.


Working in Gameboy BASIC.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson