Setting AT Scancode ....
Posted: Tue Sep 23, 2003 11:00 pm
hello all,
i'm writing the keyboard interrupt. i've heard that scan code set 2 (AT) should be chosen, because it is the mostly supported scancode set. but, when i print the make code and break code of my keyboard when i press a key, i receive only the scan code set 1 (XT). i've tried to set the scan code to 2 by the following code :
xor ax, ax
waitt:
in al, 60h
bt ax, 1
jc wait
mov al, 0F0h
out 60h, al
mov al, 03h
out 60h, al
but, still the interrupt prints only the scancode set 1(XT). any help will be appreciated.
thank you,
i'm writing the keyboard interrupt. i've heard that scan code set 2 (AT) should be chosen, because it is the mostly supported scancode set. but, when i print the make code and break code of my keyboard when i press a key, i receive only the scan code set 1 (XT). i've tried to set the scan code to 2 by the following code :
xor ax, ax
waitt:
in al, 60h
bt ax, 1
jc wait
mov al, 0F0h
out 60h, al
mov al, 03h
out 60h, al
but, still the interrupt prints only the scancode set 1(XT). any help will be appreciated.
thank you,