I attend to modify the keyboard interrupt, and i think i know how to do it in real mode. Now, i'm currently working in 32-bit protected mode, and when i try to modify the interrupt, it terminates itself. Anyone got a sollution for this? Pleas reply or email me: email@example.com
In protected mode, you need to install your ISR handler(s) using the DPMI functions. Int 0x31, function 0x201 sets the real-mode ISR, funcion 0x205 sets the protected mode ISR. Generally you only need to install the protected mode ISR.
There are also about a billion stumbling blocks depending on which compiler you're using, so try to find some examples.