Another one of these.
The description of the triangle channel on the wiki confuses the heck out of me. For example:
Does this mean that if C ("length counter disable/linear counter control") is clear, then both the length counter and the linear counter will be counting down, while C being set means they're both halted? (In that case, calling it something like "length counter halt/linear counter halt" might be clearer.)
Also, http://wiki.nesdev.com/w/index.php/APU_Triangle mentions a "halt" flag (which I assume is different from the length counter halt flag). Is the only purpose of this (possibly abstract) flag to determine when the linear counter gets reloaded, or does it affect output as well? If it's the former, then "halt" seems like a confusing name.
(I guess internally it might be some set-to-0-then-wrap-around-to-reload-value thing instead of a "halt" flag...)
The description of the triangle channel on the wiki confuses the heck out of me. For example:
Quote:
The linear counter control will silence the channel after a specified time with a resolution of 240Hz in NTSC (see frame counter below). It shares a control bit with the length counter in $4008, which means that they are always enabled at the same time, and whichever is longer is redundant. See APU Triangle for more linear counter details.
Does this mean that if C ("length counter disable/linear counter control") is clear, then both the length counter and the linear counter will be counting down, while C being set means they're both halted? (In that case, calling it something like "length counter halt/linear counter halt" might be clearer.)
Also, http://wiki.nesdev.com/w/index.php/APU_Triangle mentions a "halt" flag (which I assume is different from the length counter halt flag). Is the only purpose of this (possibly abstract) flag to determine when the linear counter gets reloaded, or does it affect output as well? If it's the former, then "halt" seems like a confusing name.
(I guess internally it might be some set-to-0-then-wrap-around-to-reload-value thing instead of a "halt" flag...)