Hi guys,
I have rudimentary sound working, but still have a few glitches since my envelope and sweep apparently are not working (one or both, I can't really make out now), so in SMB for example, Marios jump sounds etc. are very off.
So, right now I'm trying to get envelope and sweep working for SC1. I used my GB APU knowledge, or what is left of it, to create the NES APU up to this point. Right now, I reload everything on writes to 0x4003.
But now in the Wiki, I see the notes "Side effects" in every table for sweep, length counter, envelope etc. But I don't really know when these sideeffects are supposed to appear? E.g. https://wiki.nesdev.com/w/index.php/APU_Envelope there are multiple registers listed. So, is the envelope reloaded every time I have writes to 0x4000 and 0x4003? I tried it like that, but it sounded horrible.
I hope you guys can help me out, so I can finally get the APU finished.
Thanks!
I have rudimentary sound working, but still have a few glitches since my envelope and sweep apparently are not working (one or both, I can't really make out now), so in SMB for example, Marios jump sounds etc. are very off.
So, right now I'm trying to get envelope and sweep working for SC1. I used my GB APU knowledge, or what is left of it, to create the NES APU up to this point. Right now, I reload everything on writes to 0x4003.
But now in the Wiki, I see the notes "Side effects" in every table for sweep, length counter, envelope etc. But I don't really know when these sideeffects are supposed to appear? E.g. https://wiki.nesdev.com/w/index.php/APU_Envelope there are multiple registers listed. So, is the envelope reloaded every time I have writes to 0x4000 and 0x4003? I tried it like that, but it sounded horrible.
I hope you guys can help me out, so I can finally get the APU finished.
Thanks!