Yeah, my code's clean... *hastily cleans code, adds comments*
About the sound, I could always use Blargg's Blip Buffer (which uses SDL) but I really want to understand how sound and sound programming work myself, on every level. I have some code demonstrating how to generate sound from raw data using SDL (which is poorly documented in SDL, which is quite odd given the rest of its stellar documentation). I just need to figure out how to manually create different waveforms (saw, square, etc) at different frequencies and volumes. The GB's Audio Processing Unit (APU) is actually well documented by Blargg himself.
About the sound, I could always use Blargg's Blip Buffer (which uses SDL) but I really want to understand how sound and sound programming work myself, on every level. I have some code demonstrating how to generate sound from raw data using SDL (which is poorly documented in SDL, which is quite odd given the rest of its stellar documentation). I just need to figure out how to manually create different waveforms (saw, square, etc) at different frequencies and volumes. The GB's Audio Processing Unit (APU) is actually well documented by Blargg himself.
