== PSG Registers ==
The PSG has 16 read/writeable data registers, and a write-only index register. Both the index and data registers are accessed through [[8255|PPI Port A]], depending on the current setting of the BC1 and BDIR bits in [[8255|PPI]] Port C]]. The four possible combinations are:
{| class="wikitable"
|-