|
|
(4 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| All [[APU|NES APU]] channels have some form of frequency control. The term '''frequency''' is used where larger register value(s) correspond with higher frequencies, and the term '''period''' is used where smaller register value(s) correspond with higher frequencies.
| | #REDIRECT [[APU#Glossary]] |
| | |
| In the block diagrams, a '''gate''' takes the input on the left and outputs it on the right, unless the control input on top tells the gate to ignore the input and always output 0.
| |
| | |
| Some [[APU|NES APU]] units use one or more of the following building blocks:
| |
| | |
| A '''divider''' outputs a clock every n input clocks, where n is the divider's period. It contains a counter which is decremented on the arrival of each clock. When the counter reaches 0, it is reloaded with the period and an output clock is generated. A divider can also be forced to reload its counter immediately, but this ''does not'' output a clock. When a divider's period is changed, the current count ''is not'' affected.
| |
| | |
| A '''sequencer''' continuously loops over a sequence of values or events. When clocked, the next item in the sequence is generated.
| |
| | |
| A '''timer''' is used in each of the five channels to control the sound frequency. It contains a divider which is clocked by the [[NES CPU|CPU clock]]. The timer's period is simply the period of the divider.
| |