gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Audio > Problem setting up Krawall

#101423 - IPerezG - Tue Sep 05, 2006 11:34 am

Hi all, I've just compiled the example that comes with Krawall, but although I dont get a single error or warning, it refuses to work; when I load the bin file on VisualBoyAdvance I just hear a few clicks at the start, and then nothing.
I'm using DevKitAdv, and here are the contents of my make.bat file I'm using to compile it:

set path=C:\gba\devkitadv\bin
gcc -mthumb -mthumb-interwork -o example.elf main.c samples.s secondpm.s krawall.lib
objcopy -O binary example.elf example.bin

Can anyone see if I'm doing something wrong when compiling?
Thanks a lot!

Ignacio.

#102216 - thegamefreak0134 - Mon Sep 11, 2006 9:29 pm

I had this problem, and the issue was not the makefile, but the fact that my s3m file was using 16-bit samples. Krawall only supports 8-bit samples, so double check that. Also, it would help to see your code as well, as sometimes the issue (if it\'s not that) is more apparent there. The fact that it compiled and appears to produce sound of some kind is a good indicator that the makefile works right, as long as it\'s recieving the right file.

-gamefreak
_________________
What if the hokey-pokey really is what it's all about?

[url=http:/www.darknovagames.com/index.php?action=recruit&clanid=1]Support Zeta on DarkNova![/url]

#102262 - IPerezG - Tue Sep 12, 2006 11:38 am

Hi, it's Krawall's example, with no changes at all, what I'm trying to get working, so I assume both the samples and the code are right :(
Any more ideas?
Thanks a lot!

#102263 - IPerezG - Tue Sep 12, 2006 11:56 am

BTW, I'm using Devkitadv-r5-beta-3, just in case this makes any difference...

#102307 - DiscoStew - Tue Sep 12, 2006 9:33 pm

I suggest moving to DevkitARM, as DevkitAdv is a bit outdated. DevkitARM continues to get updated too.
_________________
DS - It's all about DiscoStew