I am sure this is a simple question...
BUT, it is one that I don't know...
I want to use ASM to read the Keyboard device scan codes...
In Qbasic, if anyone is familiar with it, you use INP(96)
this will return several different things...
when you press a key, it returns the scancode for that key...
when you release a key it returns the scancode + 128
-except-
if the key released was the last key pressed, it returns 170
What is the command you can use in ASM? and where is the returned byte assigned... (AX?)
Thnx N Advnc
Have Fun, Be Young... Code BASIC
-Josh Stribling
BUT, it is one that I don't know...
I want to use ASM to read the Keyboard device scan codes...
In Qbasic, if anyone is familiar with it, you use INP(96)
this will return several different things...
when you press a key, it returns the scancode for that key...
when you release a key it returns the scancode + 128
-except-
if the key released was the last key pressed, it returns 170
What is the command you can use in ASM? and where is the returned byte assigned... (AX?)
Thnx N Advnc
Have Fun, Be Young... Code BASIC
-Josh Stribling