I'm trying to alter my interrupt table to take over the keyboard interrupt. My end goal is to write my new interrupt routine, copy myself into RAM and make the real-mode interrupt table point to me.
I have found random sample code online but it is missing explanations on how to get the address of the original interrupt. They simply have variables in their place, and how to put itself into memory.
So my question is how do I figure out or print to my screen the real mode interrupt table?
And/OR if someone has any good code examples of doing this to either disable certain keys or beep on certain keys I'd really appreciate it.
Thanks!