summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/conio.inc8
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