From 9d651b53e4848273f1bcdcd2827e093d525b2bd0 Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Tue, 17 Jun 2003 15:17:51 +0000 Subject: [PATCH] Small asm optimization git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@615 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/console.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/console.asm b/kernel/console.asm index c36a874..5425a79 100644 --- a/kernel/console.asm +++ b/kernel/console.asm @@ -59,9 +59,9 @@ _kbdType db 0 ; 00 for 84key, 10h for 102key global ConInit ConInit: - mov ax,40h + xor ax,ax mov ds,ax - mov al,[96h] + mov al,[496h] and al,10h mov byte[cs:_kbdType],al ; enhanced keyboard if bit 4 set jmp _IOExit