have you got the SMB board ? you could then set a breakpoint at the address corresponding to the INP of the keyboard port to check the character received. If not, since the output seems to work, you may insert some code to display the received byte byte in HEX using the routines included in the monitor
good luck