/kernel/trunk/drivers/com_mouse.asm |
---|
3,6 → 3,8 |
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
;; Distributed under terms of the GNU General Public License ;; |
;; ;; |
;; Includes source code by Kulakov Vladimir Gennadievich. ;; |
;; Modified by Mario79 and Rus. ;; |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
;driver sceletone |
66,7 → 68,7 |
mov al, 1 |
out dx, al |
stdcall AttachIntHandler, 4, irq4_handler |
stdcall AttachIntHandler, 4, irq4_handler, dword 0 |
if DEBUG |
cmp eax, 0 |
jne .label1 |
99,7 → 101,7 |
;mov [com2_mouse_detected],1 |
;mov [irq_owner+3*4], 1 ; IRQ3 owner is System |
stdcall AttachIntHandler, 3, irq3_handler |
stdcall AttachIntHandler, 3, irq3_handler, dword 0 |
mov eax, 0 |
mov ebx, 0x2F8 |
358,7 → 360,7 |
version dd (5 shl 16) or (API_VERSION and 0xFFFF) |
my_service db 'MY_SERVICE',0 ;max 16 chars include zero |
my_service db 'COM_Mouse',0 ;max 16 chars include zero |
if DEBUG |
msgInit db 'Preved bugoga!',13,10,0 |
/kernel/trunk/drivers/ensoniq.asm |
---|
329,7 → 329,7 |
bt eax, ebx |
jnc .fail |
stdcall AttachIntHandler, ebx, ac97_irq |
stdcall AttachIntHandler, ebx, ac97_irq, dword 0 |
stdcall RegService, sz_sound_srv, service_proc |
ret |
.fail: |
/kernel/trunk/drivers/ps2mouse.asm |
---|
82,7 → 82,7 |
mov bl, 0xAE ; enable keyboard interface |
call kbd_cmd |
stdcall AttachIntHandler, 12, irq_handler |
stdcall AttachIntHandler, 12, irq_handler, dword 0 |
stdcall RegService, my_service, service_proc |
ret |
/kernel/trunk/drivers/sis.asm |
---|
349,7 → 349,7 |
bt eax, ebx |
jnc .fail_msg |
stdcall AttachIntHandler, ebx, ac97_irq |
stdcall AttachIntHandler, ebx, ac97_irq, dword 0 |
.reg: |
stdcall RegService, sz_sound_srv, service_proc |
ret |
/kernel/trunk/drivers/sound.asm |
---|
372,7 → 372,7 |
bt eax, ebx |
jnc .fail_msg |
stdcall AttachIntHandler, ebx, ac97_irq |
stdcall AttachIntHandler, ebx, ac97_irq, dword 0 |
.reg: |
stdcall RegService, sz_sound_srv, service_proc |
ret |
/kernel/trunk/drivers/uart.asm |
---|
278,7 → 278,7 |
mov eax, edi |
call uart_reset.internal ;eax= uart |
stdcall AttachIntHandler, COM_1_IRQ, com_1_isr |
stdcall AttachIntHandler, COM_1_IRQ, com_1_isr, dword 0 |
stdcall RegService, sz_uart_srv, service_proc |
ret |
.fail: |