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/Global Counter: Difference between revisions
From SnesLab
(link to sample generation loop) |
(timing category) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* is initialized to zero on reset | * is initialized to zero on reset | ||
* counts from 0x77FF to zero, decrementing by one on cycle 29 of the [[S-DSP/Sample Generation Loop|Sample Generation Loop]] | * counts from 0x77FF to zero, decrementing by one on cycle 29 of the [[S-DSP/Sample Generation Loop|Sample Generation Loop]] | ||
* is examined by the noise sample generator and the volume envelope adjustments | * is examined by the [[S-DSP/Noise|noise sample generator]] and the volume envelope adjustments | ||
=== See Also === | === See Also === | ||
* [[Pitch Counter]] | * [[Pitch Counter]] | ||
* [[Echo Counter]] | |||
=== External Links === | |||
* ares source code for global counter: https://github.com/ares-emulator/ares/blob/master/ares/sfc/dsp/counter.cpp | |||
=== References === | === References === | ||
Line 13: | Line 17: | ||
[[Category:SNES Hardware]] | [[Category:SNES Hardware]] | ||
[[Category:Audio]] | [[Category:Audio]] | ||
[[Category:Timing]] |
Latest revision as of 03:12, 17 July 2023
The S-DSP's Global Counter:
- is initialized to zero on reset
- counts from 0x77FF to zero, decrementing by one on cycle 29 of the Sample Generation Loop
- is examined by the noise sample generator and the volume envelope adjustments
See Also
External Links
- ares source code for global counter: https://github.com/ares-emulator/ares/blob/master/ares/sfc/dsp/counter.cpp
References
- anomie's APU DSP doc