Changes

Jump to: navigation, search

8255

202 bytes added, 11:55, 26 January 2010
/* The 8255 in the CPC */
== The 8255 in the CPC ==
The [[8255 PPI chip]] is a general purpose input/output IC. This document will describe it's role in the Amstrad CPC,CPC+ and KC compact systems. To understand it's full functions please read the datasheet.
In these systems it is connected to the AY-3-8912 Programmable Sound Generator (PSG), keyboard, cassette recorder, the VSYNC of the 6845 CRTC and the "busy" signal from the parallel port.
The PPI is selected when bit 11 A11 of the I/O port address is set to "0", bits 9 A9 and 8 A8 then define the PPI function access as shown below:
{|{{Prettytable|width: 700px; font-size: 2em;}}
|''Bit 9I/O address''||''Bit 8A9''||''A8''||''Description''||''Read/Write status''||''Used Direction''||''Used for''
|-
|&F4xx||0||0||Port A Data||Read/Write||In/Out||[[PSG]] (Sound/Keyboard/Joystick)
|-
|&F5xx||0||1||Port B Data||Read/Write||In||Vsync/Jumpers/PrinterBusy/CasIn/Exp
|-
|&F6xx||1||0||Port C Data||Read/Write||Out||KeybRow/CasOut/PSG
|-
|&F7xx||1||1||Control||Write Only||Out||Control
|-
|}
6,388
edits