From 251420e6662f678c8d5e89bfab77252bc01e15c6 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Tue, 11 Jul 2006 17:09:09 +0000 Subject: [PATCH] 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 --- kernel/trunk/kernel.asm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index 0f9236c299..0e8da3cc84 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -4017,7 +4017,7 @@ kb_read: push ecx edx - mov ecx,0xffff + mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's kr_loop: in al,0x64 test al,1 @@ -4045,7 +4045,7 @@ kb_write: push ecx edx mov dl,al - mov ecx,0xffff + mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's kw_loop1: in al,0x64 test al,0x20 @@ -4055,7 +4055,7 @@ kb_write: jmp kw_exit kw_ok1: in al,0x60 - mov ecx,0xffff + mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's kw_loop: in al,0x64 test al,2 @@ -4066,7 +4066,7 @@ kb_write: kw_ok: mov al,dl out 0x60,al - mov ecx,0xffff + mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's kw_loop3: in al,0x64 test al,2 @@ -4077,7 +4077,7 @@ kb_write: kw_ok3: mov ah,8 kw_loop4: - mov ecx,0xffff + mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's kw_loop5: in al,0x64 test al,1 @@ -4096,7 +4096,7 @@ kb_write: kb_cmd: - mov ecx,0xffff + mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's c_wait: in al,0x64 test al,2 @@ -4106,7 +4106,7 @@ kb_cmd: c_send: mov al,bl out 0x64,al - mov ecx,0xffff + mov ecx,0x1ffff ; last 0xffff, new value in view of fast CPU's c_accept: in al,0x64 test al,2