diff options
author | hpa <hpa> | 2004-12-01 03:09:42 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-12-01 03:09:42 +0000 |
commit | 3437b6918aca1110881506863a5f476d5c0abc24 (patch) | |
tree | e06c62928f36f6685daaa45bd8a1d087dce31f9f | |
parent | f74fc98b4739054fa8e9077acfab204f357f2dcd (diff) | |
download | syslinux-3437b6918aca1110881506863a5f476d5c0abc24.tar.gz syslinux-3437b6918aca1110881506863a5f476d5c0abc24.tar.xz syslinux-3437b6918aca1110881506863a5f476d5c0abc24.zip |
Use extended keyboard interface, properly this timesyslinux-2.12-pre5
-rw-r--r-- | com32/libutil/include/getkey.h | 4 | ||||
-rw-r--r-- | conio.inc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/com32/libutil/include/getkey.h b/com32/libutil/include/getkey.h index 9b09ab4e..ac5fd2bf 100644 --- a/com32/libutil/include/getkey.h +++ b/com32/libutil/include/getkey.h @@ -47,8 +47,8 @@ #define KEY_F8 0x0107 #define KEY_F9 0x0108 #define KEY_F10 0x0109 -#define KEY_F11 0x010A /* NOT SUPPORTED BY MOST BIOSES!!! */ -#define KEY_F12 0x010B /* NOT SUPPORTED BY MOST BIOSES!!! */ +#define KEY_F11 0x010A +#define KEY_F12 0x010B #define KEY_UP 0x0120 #define KEY_DOWN 0x0121 @@ -296,7 +296,7 @@ write_serial_str: ; pollchar: pushad - mov ah,1 ; Poll keyboard + mov ah,11h ; Poll keyboard int 16h jnz .done ; Keyboard response mov dx,[SerialPort] @@ -346,7 +346,7 @@ getchar: .kbd: mov ah,10h ; Get keyboard input int 16h cmp al,0E0h - jz .not_ext + jnz .not_ext xor al,al .not_ext: and al,al |