PS2 keyboard emulator

I'm working on a keyboard emulator with 8051 derivative. How do I know what information (bytes) the PC sends on start-up? And how should the emulator respond to acknowledge initialization?

More questions in this forum