I have the impression from various places that it should be possible to directly connect a PS/2 keyboard to the z80 SIO and read the characters the keyboard sends.
However, I'm having trouble getting it to work, and I wondered whether anyone has suggestions (especially about how the serial port is configured).
I'm during port B, connecting the PS/2 clock to the clock2 line on the rc2014 backplane, and the PS/2 data line to the Port B rx line.
I'm aware that some PS/2 keyboards require reseting before they begin transmitting keypresses. I am using this circuit to achieve this, though I intend to devise a better method (one that will allow commands to be sent to the keyboard):
I've connected up a scope and confirmed that the reset circuit works.
I'm also aware that the codes from the keyboard need to be decoded into ASCII characters. I will do this in software.