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.

DS development > Resetting phase of a NDS PSG channel?

#176755 - Dwedit - Tue Oct 04, 2011 5:15 pm

How do I reset the phase of a NDS PSG channel?

This is where you restart the 'wave', but the wave is really short because it's in PSG mode.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#176765 - sverx - Wed Oct 05, 2011 1:23 pm

I think you can only restart it by setting to 0 and to 1 again the SOUNDxCNT msb... so stopping/restarting the replay.

#176766 - Dwedit - Wed Oct 05, 2011 4:32 pm

I tried that, and it didn't work on NO$GBA or DeSmuME, I didn't test it on hardware though.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."