I did a bit more troubleshooting on the keyboard.
And I am getting really annoyed by these spikes on the data bus. They only happen at the data bus. If I look at address or control bus... no spikes. Clean signals.
First I thought they would be ghost signals, something wrong with my setup. But no, the spikes are actually there and they seem to be scrambling the data.
What is the best way to troubleshoot this type of issue? The data bus has no connection to ground or positive rail that I could blame for example a leaky cap. Instead it is basically driven by digital I/O of ICs. And as being the data bus, ALL logic ICs from ROM, RAM, MPU, 74logic is connected to it.
Not even sure from where to start to pin point what is causing these spikes.