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: Difference between revisions

From SnesLab
Jump to: navigation, search
m (Jeffythedragonslayer moved page Echo Counter to S-DSP/Echo Counter: it's on the DSP)
(→‎References: added ares example)
Line 1: Line 1:
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.
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.
=== External Links ===
* The echo counter is implemented by echo._offset in ares, and it is incremented/reset in DSP::echo29()


=== References ===
=== References ===

Revision as of 06:20, 22 June 2023

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.

External Links

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

References