Small asm optimization

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@615 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2003-06-17 15:17:51 +00:00
parent 9f15e02db9
commit 9d651b53e4

View File

@ -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