fixing bug with keyboard and mouse in VmWare (from diamond).

git-svn-id: svn://kolibrios.org@56 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Andrey Halyavin (halyavin) 2006-03-07 09:52:43 +00:00
parent 960abf3792
commit f150fc890b

View File

@ -1,6 +1,8 @@
MouseSearch_PS2:
pusha
mov bl, 0xAD
call kb_cmd
mov bl,0xa8 ; enable mouse cmd
call kb_cmd
@ -18,7 +20,7 @@ MouseSearch_PS2:
call kb_read ; Acknowledge
call kb_read
mov [ps2_mouse_detected],0
test al,8
test al,18h
jz @f
mov [ps2_mouse_detected],1
@@:
@ -61,5 +63,7 @@ MouseSearch_PS2:
mov esi,boot_setmouse_type
call boot_log
@@:
mov bl, 0xAE
call kb_cmd
popa