Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1306 → Rev 1305

/kernel/trunk/drivers/com_mouse.asm
5,7 → 5,6
;; ;;
;; Includes source code by Kulakov Vladimir Gennadievich. ;;
;; Modified by Mario79 and Rus. ;;
;; 02.12.2009 <Lrz> ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
;driver sceletone
68,7 → 67,7
 
stdcall AttachIntHandler, 4, irq4_handler, dword 0
if DEBUG
test eax, eax
cmp eax, 0
jne .label1
 
mov esi, msg_error_attach_int_handler
75,12 → 74,9
call Boot_Log
end if
.label1:
; mov eax, 0
; mov ebx, 0x3F8
; mov ecx, 0x3FF
xor ebx,ebx
mov ecx, 0x3F8
mov edx, 0x3FF
mov eax, 0
mov ebx, 0x3F8
mov ecx, 0x3FF
call ReservePortArea
 
if DEBUG
104,13 → 100,9
 
stdcall AttachIntHandler, 3, irq3_handler, dword 0
 
; mov eax, 0
; mov ebx, 0x2F8
; mov ecx, 0x3F8
xor ebx,ebx
mov ecx, 0x2F8
mov edx, 0x3F8
 
mov eax, 0
mov ebx, 0x2F8
mov ecx, 0x3F8
call ReservePortArea
if DEBUG
cmp eax, 1
127,7 → 119,7
 
stdcall RegService, my_service, service_proc
if DEBUG
test eax, eax
cmp eax, 0
jne @f
 
mov esi, msg_exit
227,8 → 219,8
WaitData:
; Îæèäàòü åùå 10 "òèêîâ"
dec ecx
; cmp ecx,0
jz NoMouse
cmp ecx,0
je NoMouse
; Ïðîâåðèòü íàëè÷èå èäåíòèôèêàöèîííîãî áàéòà
mov DX, bx
add DX,5