Changes

Jump to: navigation, search

How to access the PSG via PPI

37 bytes removed, 23:48, 10 February 2021
/* Reading to the selected PSG register */ section title was missing (format)
PSG Stands for '''Programmable Sound Generator''' The [[Amstrad CPC]], CPC+ and [[KC Compact]] use a AY-3-8912 Programmable sound generator (referred to as [[PSG ]] in this document), operating at 1Mhz. This document will describe it's role in these systems. To understand the full functions please read the [[Datasheet AY-8913|datasheet]].
== Role of the AY-3-8912 ==
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 ===
[[Category:Stub]]
[[Category:HardwareProgramming]]
[[Category:Music and sound| ]]
[[Category:Video contents]][[Category:CPC Internal Components]]
1
edit