We've just updated MediaWiki and its underlying software. If anything doesn't look or work quite right, please mention it to us. --RanAS

S-DSP/Echo Counter

From SnesLab
Jump to: navigation, search

The Echo Counter is a 15-bit unsigned integer. Its value is added to ESA x 100h, yielding the effective address calculation for echo writes. The counter's maximum value is determined by EDL. When the echo counter reaches ESA x 80h, it is reset to zero, but it is the value of ESA at the time of the previous echo counter reset that determines the reset threshold, not the current ESA value. This is to prevent the echo counter from incrementing all the way up to its max if a small ESA is set.

See Also

External Links

  • The echo counter is implemented by echo._offset in ares, and it is incremented/reset in DSP::echo29()

References

  • caution #3 (echo operations) in the official Super Nintendo development manual: page 3-9-2 of Book I