Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5044 → Rev 5042

/drivers/disk/tmpdisk_work.inc
File deleted
Property changes:
Deleted: svn:eol-style
-native
\ No newline at end of property
/drivers/disk/tmpdisk.asm
File deleted
Property changes:
Deleted: svn:eol-style
-native
\ No newline at end of property
/drivers/disk/tmpdisk_fat.inc
File deleted
Property changes:
Deleted: svn:eol-style
-native
\ No newline at end of property
/drivers/video/vidintel.asm
13,8 → 13,8
predefined_width = 0;1366
predefined_height = 0;768
 
; standard driver stuff; version of driver model = 5
format PE DLL native 0.05
; standard driver stuff; target OS version = 0.80
format PE DLL native 0.80
entry START
__DEBUG__ equ 1
__DEBUG_LEVEL__ equ 1
/drivers/mouse/ps2mouse4d/trunk/ps2m_iofuncs.inc
94,7 → 94,7
cmp ah, 1
jne .fin
mov esi, 10
invoke Sleep
call Sleep
dec [mouse_nr_tries]
jnz .repeat
 
/drivers/mouse/ps2mouse4d/trunk/ps2mouse.asm
1,8 → 1,29
; standard driver stuff; version of driver model = 5
format PE DLL native 0.05
format MS COFF
 
DEBUG equ 1
 
include '../../../proc32.inc'
include '../../../imports.inc'
 
struc IOCTL
{ .handle dd ?
.io_code dd ?
.input dd ?
.inp_size dd ?
.output dd ?
.out_size dd ?
}
 
virtual at 0
IOCTL IOCTL
end virtual
 
public START
public version
 
DRV_ENTRY equ 1
DRV_EXIT equ -1
 
MT_3B equ 0
MT_3BScroll equ 3
MT_5BScroll equ 4
9,17 → 30,10
 
PS2_DRV_VER equ 1
 
section '.flat' code readable writable executable
data fixups
end data
include '../../../struct.inc'
include '../../../macros.inc'
include '../../../proc32.inc'
include '../../../peimport.inc'
section '.flat' code readable align 16
 
 
entry START
proc START c, state:dword, cmdline:dword
proc START stdcall, state:dword
 
cmp [state], DRV_ENTRY
jne .nothing
77,13 → 91,13
pop eax
call kbd_write
 
invoke AttachIntHandler, 12, irq_handler, 0
invoke RegService, my_service, service_proc
stdcall AttachIntHandler, 12, irq_handler, 0
stdcall RegService, my_service, service_proc
ret
 
.fin:
popf
;invoke DetachIntHandler, 12, irq_handler
;stdcall DetachIntHandler, 12, irq_handler
mov bl, 0xA7 ; disable mouse interface
call kbd_cmd
.nothing:
244,6 → 258,9
include 'ps2m_iofuncs.inc'
include 'ps2m_irqh.inc'
 
section '.data' data readable writable align 16
 
version dd 0x00050005
my_service db 'ps2mouse',0
 
;iofuncs data
/drivers/mouse/ps2mouse4d/trunk/ps2m_irqh.inc
105,7 → 105,7
@@:
 
invoke SetMouseData, [ButtonState], [XMoving], [YMoving]
stdcall SetMouseData, [ButtonState], [XMoving], [YMoving]
jmp .exit