Changes
/* Reading to the selected PSG register */ section title was missing (format)
== Role of the AY-3-8912 ==
The PSG function, defined by the BC1,BC2 and BDIR signals, is controlled by bit 7 and bit 6 of PPI Port C.
=== PSG function selection ===
{|{{Prettytable|width: 700px; font-size: 2em;}}
|colspan=2|''PPI Port C BitBits''||rowspan=2|''PSG Function''
|-
|7Bit7 BDIR||6Bit6 BC1
|-
|0||0||Inactive
The data will then be written into the register.
=== Reading from the selected PSG register===
To read data from the PSG, PPI Port A must be operating as input. (See the document on the 8255 to see how to do this)
set bit 7 to "0" and bit 6 to "1" of PPI Port C
read data from PPI Port A,
The register data is available at PPI Port A.
=== Notes ===
ret
</pre>
== Resources ==
* [[Media:Ay3-891x.pdf|AY-3-891x datasheet]]
== Links ==
[[Category:Stub]]
[[Category:HardwareProgramming]][[Category:Music and sound| ]][[Category:Video contents]][[Category:CPC Internal Components]]