something about resident program ?

Reply

Join Date: Jun 2008
Posts: 2
Reputation: asmNewbie is an unknown quantity at this point 
Solved Threads: 0
asmNewbie asmNewbie is offline Offline
Newbie Poster

something about resident program ?

 
0
  #1
Nov 21st, 2008
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 ?
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 273
Reputation: Sci@phy will become famous soon enough Sci@phy will become famous soon enough 
Solved Threads: 42
Sci@phy's Avatar
Sci@phy Sci@phy is offline Offline
Posting Whiz in Training

Re: something about resident program ?

 
0
  #2
Nov 23rd, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,144
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 530
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: something about resident program ?

 
0
  #3
Nov 23rd, 2008
You cant do it on NT based systems because they are secure.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Assembly Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC