Ok, perhaps I should explain the reason for my keyboard switcher/cutoff.
I have a wierd motherboard which won't boot with my keyboard encoder. It's by no means the fault of the encoder, but the industrial spec motherboard I picked up on the cheap.
Anyway, as soon as I unplug the PS/2 cable from the computer, it boots fine, so I though of putting a toggle on the machine to switch the keyboard on and off.
After some playing about yesterday, I found that breaking the data line (thanks to _Iz-) allowed the computer to boot, and then reconnecting allowed the keyboard to function, so a simple toggle switch on the front of the machine ("boot mode" v "game mode") will fix the problem.
Perhaps I'm electronically naive, but I'm always very pleased with myself when I get stuff to work!
Thanks to all who replied.