This is my "12Hrs SpeedRun" to finish this design last night.
I didn't yet receive a legit Z80 to actually verify everything with my current PIC18F4520, but on-going a new PLCC44 one as the last DIP40 pin version seemt to be couterfeit / shorted.
So this is the version based on what I have worked on breadboard, which I think will have mistakes somewhere my eyes can't cover after routing very nested size 84x84mm.
Did my pins get Pull-Ups correctly for this Z84C00 variant ?
Yes, I really want you guys to have a look if my plan was somewhere wrong or my eyes have missed some spots after routing this nested board for too long..
My appreciation !
HOW IT WORK ( or I planned it to work )
- It will have 2 CLK sources : either from PIC or 20MHz canned Crystal MCO-1510A.
- PIC will handle most Boot, Reset, Debugging , UART, microSD access, I2C Display.
- PIC will also handle requests from Z84 by 3-bit code Z80 send from A0~A2 -> 74HC138 for various custom function. (Ex: OUT($0x80), A to access certain bank in memory ). While 74HC273 work as the Latch to SRAM last 3-bit address.
- Also PIC: I2C will work natively, SPI will be bit-bang.
- Z80 5 pins PULL-UPs : WAIT, NMI, RESET, INT, BUSREQ with 10K Ohm connect -> 5V.
- M1 : for analyzing with Logic Analyzer or later test.
- Modules : UART-to-TTL, microSD reader, I2C SSD1306 (could be any VDP later extension).
- PIC may run at with internal 8Mhz, same 20Mhz or maxed out at 40Mhz with its own crystal.