Difference between revisions of "PSG Register R10"

From Intellivision Wiki
Jump to: navigation, search
 
Line 1: Line 1:
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 envelope generator:
+
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|PSG Envelope Generator]]:
  
 
*<b>b3</b>: Continue
 
*<b>b3</b>: Continue
Line 6: Line 6:
 
*<b>b0</b>: Hold
 
*<b>b0</b>: Hold
  
<br\>
+
<b>Note</b>: 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:
  
 
<table border>
 
<table border>
 
<tr><th>R10 bits</th><th>Envelope generator output</th></tr>
 
<tr><th>R10 bits</th><th>Envelope generator output</th></tr>
<tr><th>00xx</th><th>[[Image:EnvShape00xx.png]]</th></tr>
+
<tr><td align=center>00xx</td><td>[[Image:EnvShape00xx.png]]</td></tr>
<tr><th>01xx</th><th>[[Image:EnvShape01xx.png]]</th></tr>
+
<tr><td align=center>01xx</td><td>[[Image:EnvShape01xx.png]]</td></tr>
<tr><th>1000</th><th>[[Image:EnvShape1000.png]]</th></tr>
+
<tr><td align=center>1000</td><td>[[Image:EnvShape1000.png]]</td></tr>
<tr><th>1001</th><th>[[Image:EnvShape1001.png]]</th></tr>
+
<tr><td align=center>1001</td><td>[[Image:EnvShape1001.png]]</td></tr>
<tr><th>1010</th><th>[[Image:EnvShape1010.png]]</th></tr>
+
<tr><td align=center>1010</td><td>[[Image:EnvShape1010.png]]</td></tr>
<tr><th>1011</th><th>[[Image:EnvShape1011.png]]</th></tr>
+
<tr><td align=center>1011</td><td>[[Image:EnvShape1011.png]]</td></tr>
<tr><th>1100</th><th>[[Image:EnvShape1100.png]]</th></tr>
+
<tr><td align=center>1100</td><td>[[Image:EnvShape1100.png]]</td></tr>
<tr><th>1101</th><th>[[Image:EnvShape1101.png]]</th></tr>
+
<tr><td align=center>1101</td><td>[[Image:EnvShape1101.png]]</td></tr>
<tr><th>1110</th><th>[[Image:EnvShape1110.png]]</th></tr>
+
<tr><td align=center>1110</td><td>[[Image:EnvShape1110.png]]</td></tr>
<tr><th>1111</th><th>[[Image:EnvShape1111.png]]</th></tr>
+
<tr><td align=center>1111</td><td>[[Image:EnvShape1111.png]]</td></tr>
 
</table>
 
</table>

Revision as of 18:49, 31 January 2005

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
00xxEnvShape00xx.png
01xxEnvShape01xx.png
1000EnvShape1000.png
1001EnvShape1001.png
1010EnvShape1010.png
1011EnvShape1011.png
1100EnvShape1100.png
1101EnvShape1101.png
1110EnvShape1110.png
1111EnvShape1111.png