RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » A simple CP/M Z80 SBC without glue logic
Re: A simple CP/M Z80 SBC without glue logic [message #6142 is a reply to message #6137] Fri, 15 March 2019 05:21 Go to previous messageGo to previous message
etchedpixels is currently offline  etchedpixels
Messages: 333
Registered: October 2015
Senior Member
If I remember rightly the Z80 PIO ports are deliberately set up to power on as inputs so you don't risk damage during power up and configuration. I guess therefore you can use that to do the ROM/RAM select at boot time if you pull it the right way and still have plenty of spare PIO bits.

You could also save logic by tying the chip select of the KIO to something like A15 low. Quite a few home micros actually avoided lots of glue by using A15 / A14 / A13 / ... as selects for the I/O device and wired the low bits to the register select - taking the small software hit of doing ld bc,#0x7ffx out (c),a etc for the different devices.

If you are trying to be minimal you could also bitbang an SD card with some of the PIO bits and 5v/3.3v shifting (or just one of the cheap off the shelf adapters). If you pick the right PIO bits a Z80 at 7.3MHz can do about 18-19Kbyte/second so floppy like and good enough for CP/M. If you mix the Ax low trick with the PIO bits you have to unroll one of the loops 8 ways but it's still works nicely.

What to do with the spare space - I guess support bigger RAM as an option, and maybe have flash with a jtag programming header not ROM, oh and rc2014 connector ?

Possibly more important if it's meant to be a 'first build' would be some status LEDs and test points ?

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SDC_68k
Next Topic: Question ISA BUS clock


Current Time: Sat Sep 27 13:48:44 PDT 2025

Total time taken to generate the page: 0.29532 seconds