943,929 Members | Top Members by Rank

Ad:
  • Assembly Discussion Thread
  • Unsolved
  • Views: 711
  • Assembly RSS
Nov 21st, 2008
0

something about resident program ?

Expand Post »
I'm writing a program that can lock the keyboard. I patch into ISR 9(the keyboard interrupt) and manipulate the head and tai pointers. It work fine , but there're something I don't understand:
-It seems that I cannot use int 21h when patching into an interrupt
-When I run my program from Command Prompt , it works so the CMD window doesn't receive any keystrokes , but anything outside the cmd window respond to my keypress normally (I mean the keyboard is only locked inside the cmd window). Is there anyway to make it affect all of the computer ?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
asmNewbie is offline Offline
2 posts
since Jun 2008
Nov 23rd, 2008
0

Re: something about resident program ?

If you are running it under Windows XP CMD than it will only affect that window, because XP just simulates command prompt, doesn't load real one.
So, answer to your question, if you are running XP, is NO
Reputation Points: 110
Solved Threads: 43
Posting Whiz in Training
Sci@phy is offline Offline
279 posts
since Sep 2008
Nov 23rd, 2008
0

Re: something about resident program ?

You cant do it on NT based systems because they are secure.
Moderator
Featured Poster
Reputation Points: 1784
Solved Threads: 574
Moderator
jbennet is offline Offline
16,520 posts
since Apr 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Assembly Forum Timeline: something better than debug.exe in cmd
Next Thread in Assembly Forum Timeline: Converting Decimal Value to Binary (MIPS)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC