Electronics -> The Z80 project -> Supervisor PIC
Last modified on Wed, 16th Apr 2008 at 13:45 UTC by zipplet================================================
Supervisor PIC details of operation (PIC16F877A)
================================================
Signal lines
------------
The Parallel Slave Port is used in microprocessor bus mode to interface
directly to the Z80 bus.
RD0-7: Data bus -> Z80 data bus
RE0: /Read -> Z80 /RD
RE1: /Write -> Z80 /WR
RE2: /select -> I/O address decoder pin 2 ($20-$2F)
RA0: /IRQ line -> Z80 /IRQ
=============
Packet format
=============
---------------------------------------------------------------------------------
| Byte | Length | Description |
---------------------------------------------------------------------------------
| 0 | 1 | Command word |
| 1 | 1 | Length of data (0-255) |
| 2 | n/a | Data / parameters |
---------------------------------------------------------------------------------
===================
CPU -> PIC commands
===================
$00 - RESET ALL
---------------
Causes the supervisor to reset to the power on state. The supervisor will respond with a $00 - RESET ACK packet.
=================================
PIC -> CPU responses and commands
=================================
$00 - RESET ACK
---------------
Sent to the CPU as a response to $00 - RESET ALL.
The data bytes contain a human readable chip ID/version string.
<<< Back to The Z80 project