PSG Register R10
The envelope shape/cycle control is contained in the lower 4 bits of register R10. Each of these 4 bits controls a function in the PSG Envelope Generator:
- b3: Continue
- b2: Attack
- b1: Alternate
- b0: Hold
Note: The envelope is reseted each time R10 is overwritten (even if it's with the same value).
Below are the different possible shapes, according to R10 bits:
R10 bits | Envelope generator output |
---|---|
00xx | ![]() |
01xx | ![]() |
1000 | ![]() |
1001 | ![]() |
1010 | ![]() |
1011 | ![]() |
1100 | ![]() |
1101 | ![]() |
1110 | ![]() |
1111 | ![]() |