Just trying to understand how the NES pulse generator works.
Does the NES APU actually have two square wave generators in hardware or just one handling two channels on opposing clock cycles?
The reason I ask is because in documentation and source I have found the timer period is multiplied by two whereas to me it would make more sense to just have one and output on opposing clock cycles therefore eliminating the need to multiply by 2.
for example:
cycle 0: Square 0
cycle 1: Square 1
cycle 2: Square 0
cycle 3: Square 1
Does the NES APU actually have two square wave generators in hardware or just one handling two channels on opposing clock cycles?
The reason I ask is because in documentation and source I have found the timer period is multiplied by two whereas to me it would make more sense to just have one and output on opposing clock cycles therefore eliminating the need to multiply by 2.
for example:
cycle 0: Square 0
cycle 1: Square 1
cycle 2: Square 0
cycle 3: Square 1