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.
I've been reading the source code of midspace22 which I found here:
http://gbdev.gg8.se/forums/viewtopic.php?id=507
and I noticed the use of unsigned char for the notes for the game music. There is this table I found here:
http://www.devrs.com/gb/files/sndtab.html
which seems to have 16-bit values for the sound. I also noticed that in piano.c that the values where 16-bit for the audio.
Does anyone have a working copy of piano.c because mine doesn't work on real hardware or on bgb.
I'm interested in getting sound and music working using gbdk and want 16-bit values.
Anyone got source code in C that can do this?
Offline