I'm working on a music engine for the NES. I've recently run into an issue where low-pitched square channel notes will not play at all in the emulator. It seems that any note with a period greater than 1023 will not sound. I've looked at it in GNSF, and it's definitely writing the expected values to the registers.
My only guess is that there's some problem when you use all 11 bits for the period. Any periods 1023 and below work just fine, and those fit within 10 bits. I doubt it's a problem with the emulator, because it shows up in several NSF players. It affects either square wave channel.
Anyone happen to have any ideas? Thanks.
My only guess is that there's some problem when you use all 11 bits for the period. Any periods 1023 and below work just fine, and those fit within 10 bits. I doubt it's a problem with the emulator, because it shows up in several NSF players. It affects either square wave channel.
Anyone happen to have any ideas? Thanks.