Re: z50 Bus CPU & Logic Card
Posted: Wed May 10, 2023 3:17 am
GARTHWILSON wrote:
(Note that bit directions don't have to all be the same for a port. You can have some pins be inputs while other ones are outputs, at the same time.)
Their equivalent of the classic PIA is the Intel 8255, for which all lines of 8-bit port A are the same direction, input or output, and the same is true of port B. The third port, port C, is split into upper and lower halves, but each half must have all lines in the same direction, at least in normal mode. (There are a couple of other modes for automatic handshaking, similar to the way you can configure the CA1/CA2/CB1/CB2 lines on a PIA, but I don't recall the details of how the 8255 does that.)