diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-07-13 16:08:44 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-07-13 16:08:44 -0700 |
commit | d01d70fe1d4faed186bec854893549a5d6fd5994 (patch) | |
tree | e87a7a3b07d43f6e246c7f58325f5a0f80f3eec2 | |
parent | 8957c49612075da4b1460843fd86b7d8cacf79ce (diff) | |
download | syslinux-d01d70fe1d4faed186bec854893549a5d6fd5994.tar.gz |
Fix residual use of DX:AX in the KEYMAP command
The KEYMAP command still expected length in DX:AX, and so got broken.
-rw-r--r-- | core/conio.inc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/core/conio.inc b/core/conio.inc index ddd8ccf9..47154cda 100644 --- a/core/conio.inc +++ b/core/conio.inc @@ -20,16 +20,12 @@ ;; ; -; loadkeys: Load a LILO-style keymap; SI and DX:AX set by searchdir +; loadkeys: Load a LILO-style keymap; SI and EAX set by searchdir ; section .text loadkeys: - and dx,dx ; Should be 256 bytes exactly - jne loadkeys_ret - cmp ax,256 - jne loadkeys_ret - + cmp eax,256 ; Should be 256 bytes exactly mov bx,trackbuf mov cx,1 ; 1 cluster should be >= 256 bytes call getfssec |