Hi
I'm new to assembly so do forgive me if I have overlooked something.
I am writing a program that waits for the ctrl + alt + a keys to be pressed at the same time.
I’m using int 16h function 00h to get the key and cmp that it is a ‘a’
I then want to use int 16h function 2h to see if the ctrl + alt keys where pressed.
These two functions work fine separately but when put together they don’t work.
The problem is when you are holding ctrl + alt, ‘a’ doesn’t = ‘a’ anymore.
How can I get around this? Should I be using the a scan code?
If so what is the scan code for ctrl + alt + a?
Thanks for any help you can offer
Spec
I'm new to assembly so do forgive me if I have overlooked something.
I am writing a program that waits for the ctrl + alt + a keys to be pressed at the same time.
I’m using int 16h function 00h to get the key and cmp that it is a ‘a’
I then want to use int 16h function 2h to see if the ctrl + alt keys where pressed.
These two functions work fine separately but when put together they don’t work.
The problem is when you are holding ctrl + alt, ‘a’ doesn’t = ‘a’ anymore.
How can I get around this? Should I be using the a scan code?
If so what is the scan code for ctrl + alt + a?
Thanks for any help you can offer
Spec