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 ?
asmNewbie 0 Newbie Poster
Sci@phy 97 Posting Whiz in Training
jbennet 1,618 Most Valuable Poster Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.