* SOUND: channel 3 read dependent on current wave index
* SOUND: maintain wave_trigger high for longer, passes blargg sound test 9 for gbc, added is_gbc input to gbc_snd
* SOUND: added wave table access timewindow in DMG mode, outside of it the read returns 0xFF when the sound is playing
* gbc_snd.vhd whitespaces cleanup
* SOUND: refactored write process to handle reset and specific DMG behaviour (length counter writable when APU is off)
SOUND: initialized wavetable with known values, fixes aladdin and R-type now behaves the same as real hardware
* SOUND: refactored sound processing vhdl process
SOUND: sq1 and sq2 duty cycles are not accessible when the APU is off in DMG mode(only the length counters)
-Writing to $FE00-FEFF would overwrite IRAM (Megaman Xtreme)
-HDMA should remember last source and target (Harry potter)
-Stopping a HDMA transfer with CPU at single speed would stop and
then start a new transfer (Pokemon Crystal)
-Give IRAM time to provide valid data at the start and end of HDMA
transfer (Donkey Kong Country fishing, Pokemon Crystal)