cj7hawk
Veteran Member
If you keep the chip selected, as per that schematic, and read and write are not gated via a select line as per your original design, you will end up with valid write signals while a RAM is selected, when it should not be, resulting in corrupting the RAM chip not only with other I/O writes, but with memory writes as well.I keep whittling away at reducing the circuitry down to the bare minimum. I read through the Z-80 manuals for the 1000th time and noticed how the address is stable for much longer than the /IORQ and the /Read lines, so I configured the address decode '138 to only look at address lines. The /IORQ and either the /Read or /Write controls lines run through an OR gate, and then to either the RAM chips of to the latch pins on the three '374 chips. I'm also going to get rid of the defensive circuitry before the '138 chip select decoder. I've also been looking at a few other things, that in retrospect I think a better design would have been to use an 8255 for the three address latches. oh well, there is always the S-100 version of this at some point.
Hence I/O request and an appropriate decode line really does need to feed into the enables on U10.
Regards
David