forked from KolibriOS/kolibrios
The delays enlarged at call to PS2, for definition of the mouse on fast CPU
The author of change - Serge. git-svn-id: svn://kolibrios.org@98 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
400f8f145d
commit
251420e666
@ -4017,7 +4017,7 @@ kb_read:
|
|||||||
|
|
||||||
push ecx edx
|
push ecx edx
|
||||||
|
|
||||||
mov ecx,0xffff
|
mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's
|
||||||
kr_loop:
|
kr_loop:
|
||||||
in al,0x64
|
in al,0x64
|
||||||
test al,1
|
test al,1
|
||||||
@ -4045,7 +4045,7 @@ kb_write:
|
|||||||
push ecx edx
|
push ecx edx
|
||||||
|
|
||||||
mov dl,al
|
mov dl,al
|
||||||
mov ecx,0xffff
|
mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's
|
||||||
kw_loop1:
|
kw_loop1:
|
||||||
in al,0x64
|
in al,0x64
|
||||||
test al,0x20
|
test al,0x20
|
||||||
@ -4055,7 +4055,7 @@ kb_write:
|
|||||||
jmp kw_exit
|
jmp kw_exit
|
||||||
kw_ok1:
|
kw_ok1:
|
||||||
in al,0x60
|
in al,0x60
|
||||||
mov ecx,0xffff
|
mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's
|
||||||
kw_loop:
|
kw_loop:
|
||||||
in al,0x64
|
in al,0x64
|
||||||
test al,2
|
test al,2
|
||||||
@ -4066,7 +4066,7 @@ kb_write:
|
|||||||
kw_ok:
|
kw_ok:
|
||||||
mov al,dl
|
mov al,dl
|
||||||
out 0x60,al
|
out 0x60,al
|
||||||
mov ecx,0xffff
|
mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's
|
||||||
kw_loop3:
|
kw_loop3:
|
||||||
in al,0x64
|
in al,0x64
|
||||||
test al,2
|
test al,2
|
||||||
@ -4077,7 +4077,7 @@ kb_write:
|
|||||||
kw_ok3:
|
kw_ok3:
|
||||||
mov ah,8
|
mov ah,8
|
||||||
kw_loop4:
|
kw_loop4:
|
||||||
mov ecx,0xffff
|
mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's
|
||||||
kw_loop5:
|
kw_loop5:
|
||||||
in al,0x64
|
in al,0x64
|
||||||
test al,1
|
test al,1
|
||||||
@ -4096,7 +4096,7 @@ kb_write:
|
|||||||
|
|
||||||
kb_cmd:
|
kb_cmd:
|
||||||
|
|
||||||
mov ecx,0xffff
|
mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's
|
||||||
c_wait:
|
c_wait:
|
||||||
in al,0x64
|
in al,0x64
|
||||||
test al,2
|
test al,2
|
||||||
@ -4106,7 +4106,7 @@ kb_cmd:
|
|||||||
c_send:
|
c_send:
|
||||||
mov al,bl
|
mov al,bl
|
||||||
out 0x64,al
|
out 0x64,al
|
||||||
mov ecx,0xffff
|
mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's
|
||||||
c_accept:
|
c_accept:
|
||||||
in al,0x64
|
in al,0x64
|
||||||
test al,2
|
test al,2
|
||||||
|
Loading…
Reference in New Issue
Block a user