PSG Register R10

From IntelliWiki

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 bitsEnvelope generator output
00xxImage:EnvShape00xx.png
01xxImage:EnvShape01xx.png
1000Image:EnvShape1000.png
1001Image:EnvShape1001.png
1010Image:EnvShape1010.png
1011Image:EnvShape1011.png
1100Image:EnvShape1100.png
1101Image:EnvShape1101.png
1110Image:EnvShape1110.png
1111Image:EnvShape1111.png