The work with a PS/2 keyboard was a quick thing to do. I browsed the web to find some kind of example and found one here: https://www.digikey.com/eewiki/pages/viewpage.action?pageId=28278929. After I implemented this code in my project I got some really boring warnings about a new clock - I had been kind of lazy and hadn't review the code as I should have, just thinking "well, I'll test if it works... can't go straight to the warm place, can it?". To make a long story a bit shorter - no, I didn't destroy any hardware, but eventually I did it my way and my code worked at the first try. Not so often it does so I was kind of happy with get a keyboard working in just one day. The code is ok, but the keyboard doesn't look nice now - to get all the keys from the C64 layout I had to use some tape and write new keys. But it works.