Hi! I'm writing a keylogger for all OSes(include windows) my code works fine when press a key the key is logged but the keyboard seems locked. Why it happens? I think that the problem is at the value at input status byte. This is part of my code:
You're stealing the scancode from the driver. Driver sad. Driver dies from starvation. RIP windows.
But seriously, start with explaining why you're even doing this.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
No! I'm NOT joking and do NOT provoke me because I am going to have a hysterical attack.
The question is that this code don't works because the value at port 64h that I think is 21h is NOT 21h then what is the value of input status byte(64h) for I can read scancode of port 60h?
Hercules wrote:The question is that this code don't works because the value at port 64h that I think is 21h is NOT 21h then what is the value of input status byte(64h) for I can read scancode of port 60h?
Have you tried searching the Wiki? The article about the 8042 PS/2 controller might have the information you need.
Those who understand Unix are doomed to copy it, poorly.
do NOT provoke me because I am going to have a hysterical attack.
Have we met before? Or was it some relative?
If you can't control yourself, that's your problem. Your actions are your responsibility.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
do NOT provoke me because I am going to have a hysterical attack.
I guess someone once said that you need to be emotionally strong before doing something that requires intellectual strength like programming.
......without INT
Troll? Why are you doing this? It isn't a good challenge I guess.
When you say, "I wrote a program that crashed Windows," people just stare at you blankly and say, "Hey, I got those with the system, for free." - Linus Torvalds
64 bit Kernel in early development http://github.com/nerdguy12/core64
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]