I'm debugging a 32bits operating system, and to do it I'm using QEMU+GDB.
I'm trying to discover in which moment the code makes an INT 16 to get the keyboard buffer.
I isolated the function that does this, but I can not understant how it does it.
There is a moment that executes a CALL DWORD PTR[EAX] while EAX is pointing to 0x98FA2 (and it jumps to this address).
The think here is that this is not a memory corresponding to the operating system, I don't know why is this code in this point of memory.
I have put a watchpoint to 0x98FA2 to discover who is writting code here. For my surprise, is the QEMU bios, from 0x5b the BIOS is writting this bytes.
Anyone can orient me?