Hi.
I'm attempting to write a NES emulator and have recently been looking at the APU.
Unfortunately, i'm having some trouble understanding how certain aspects work.
Taking the Pulse channel for instance.
As far as I understand it, it has a timer which determines the frequency that the waveform plays at. Is the frequency used just the binary value of the 12 bit timers period?
The pulse channel uses an 8 step sequence yet only 4 duty cycles seem to exist?
Also, how would you go about representing the pulse channels waveform sequences programatically?
The chances are that i'm missing the point quite a lot here.
Any help would be greatly appreciated.
I'm attempting to write a NES emulator and have recently been looking at the APU.
Unfortunately, i'm having some trouble understanding how certain aspects work.
Taking the Pulse channel for instance.
As far as I understand it, it has a timer which determines the frequency that the waveform plays at. Is the frequency used just the binary value of the 12 bit timers period?
The pulse channel uses an 8 step sequence yet only 4 duty cycles seem to exist?
Also, how would you go about representing the pulse channels waveform sequences programatically?
The chances are that i'm missing the point quite a lot here.
Any help would be greatly appreciated.