mouse driver:

* removed from /kernel/trunk/drivers/ because
           /drivers/mouse/ps2mouse4d/ is more recent
 * removed unnecessary delays

git-svn-id: svn://kolibrios.org@1036 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond)
2009-02-16 11:55:19 +00:00
parent 86ae39b381
commit 6dc97d69a6
4 changed files with 11 additions and 542 deletions

View File

@@ -4,7 +4,7 @@
proc irq_handler
call Wait8042BufferEmpty ;clear buffer
; call Wait8042BufferEmpty ;clear buffer
in al,0x60 ;get scan-code
cmp [mouse_byte],0
@@ -123,13 +123,13 @@ endp
;* ZF is set - good ending, *
;* ZF is cleared - time-out error. *
;***********************************************
Wait8042BufferEmpty:
push ecx
xor ecx,ecx
@@:
in al,64h
test al,00000010b
loopnz @b
pop ecx
ret
;Wait8042BufferEmpty:
; push ecx
; xor ecx,ecx
; @@:
; in al,64h
; test al,00000010b
; loopnz @b
; pop ecx
;
; ret