Quantcast
Channel: x86 Assembly - Programmers Heaven
Viewing all articles
Browse latest Browse all 152

Keyboard Interrupt to detect Space, right and left arrow keys

$
0
0
Hello. I have a homework. My development environment: Turbo C++ 3.0
and programming Language Assembly, ANSI C. I have to detect when the user press Space or right or left arrow keys. It is forbidden that using "dos.h" and "int 21H"
I have found this information but I could not understand how to implement it :

When a key is pressed on keyboard, an interrupt along with a scan code named

Viewing all articles
Browse latest Browse all 152

Trending Articles