I am working on designing a Z80 computer and I would like to use a PS/2 Keyboard for input. I would like to use a PIO to communicate with it, but I am having trouble finding any documentation online on how to do so (outside of people saying you can).
I would like to avoid using any additional chips if possible (so no using shift registers) and I don't want to use any microcontrollers.
I believe that to start it would have to have the clock pin of the keyboard trigger an interrupt, outside of that I am not sure. If someone can write a detailed way to accomplish this, I would greatly appreciate it. Or if someone could write a code that works in my system, I would be willing to give a $10 reward via an Amazon Gift Code or something (unless you want to do it out of the generosity of your heart).
Feel free to ask questions. If you want schematics, let me know and I can email them to you. Thank you for your help in advance! I am new to all of this, so please forgive any ignorance on this project or using this forum :)