bill8n95 wrote:
About that interaction of PS2 keyboard and address/data, do you have any working CPLD design files ?
I have a front panel program for Z80 version of the trainer. Its description is on this thread and posted on
Apr 20, 2022. I believe I've implemented all the functions described in that post. The CPLD design file is attached. On a later front panel board for RC2014, I've added a 'x' command that allows any address to be entered while in the data entry mode, but I'm not sure the trainer has the extra resource for that command because it does extra Z80 functions such as address decode. I don't think the lack of 'x' command to access any arbitrary address is too big of an issue because most manually entered program starts from 0x0 and you can only manually entered limited size program even with PS2 keyboard method of data entry. 50-100 opcodes seem to be the limit of my patience, so using carriage return and backspace to move forward/backward of the code space is not too limiting, IMO.
For the front panel to work, the flash memory is removed, so only Z80 and RAM are populated on the trainer.
Regarding the 4th processor, I think 68008 may be interesting. The routing around the group of processors may be exciting, so possibly 4-layer PC board is needed. Signal integrity is not really an issue so I'll just let the autorouter does its magic.
Looking at your schematic, I believe it can accommodate both W65C02 and W65C816.
Bill
Edit, I mentioned in the Apr 20, 2022 post that I'll describe the front panel functions in detail later. I thought about it, but it was too complex to explain, so I never did explain, at least not in a generic, systematic manner. The design is in schematic so I'm happy to explaina specific circuitry if you want.