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:
parent
9f15e02db9
commit
9d651b53e4
@ -59,9 +59,9 @@ _kbdType db 0 ; 00 for 84key, 10h for 102key
|
|||||||
|
|
||||||
global ConInit
|
global ConInit
|
||||||
ConInit:
|
ConInit:
|
||||||
mov ax,40h
|
xor ax,ax
|
||||||
mov ds,ax
|
mov ds,ax
|
||||||
mov al,[96h]
|
mov al,[496h]
|
||||||
and al,10h
|
and al,10h
|
||||||
mov byte[cs:_kbdType],al ; enhanced keyboard if bit 4 set
|
mov byte[cs:_kbdType],al ; enhanced keyboard if bit 4 set
|
||||||
jmp _IOExit
|
jmp _IOExit
|
||||||
|
Loading…
Reference in New Issue
Block a user