forked from KolibriOS/kolibrios
Loading COM mouse driver is moved from the kernel to application
git-svn-id: svn://kolibrios.org@1106 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
3745ae0ad7
commit
89da5cd137
@ -90,7 +90,7 @@ AMD_str db "AuthenticAMD",0
|
|||||||
;szInfinity db 'INFINITY',0
|
;szInfinity db 'INFINITY',0
|
||||||
szHwMouse db 'ATI2D',0
|
szHwMouse db 'ATI2D',0
|
||||||
szPS2MDriver db 'PS2MOUSE',0
|
szPS2MDriver db 'PS2MOUSE',0
|
||||||
szCOM_MDriver db 'COM_MOUSE',0
|
;szCOM_MDriver db 'COM_MOUSE',0
|
||||||
szUSB db 'USB',0
|
szUSB db 'USB',0
|
||||||
szAtiHW db '/rd/1/drivers/ati2d.drv',0
|
szAtiHW db '/rd/1/drivers/ati2d.drv',0
|
||||||
|
|
||||||
|
@ -763,7 +763,7 @@ no_lib_load:
|
|||||||
|
|
||||||
;call detect_devices
|
;call detect_devices
|
||||||
stdcall load_driver, szPS2MDriver
|
stdcall load_driver, szPS2MDriver
|
||||||
stdcall load_driver, szCOM_MDriver
|
; stdcall load_driver, szCOM_MDriver
|
||||||
|
|
||||||
mov esi,boot_setmouse
|
mov esi,boot_setmouse
|
||||||
call boot_log
|
call boot_log
|
||||||
|
@ -58,6 +58,7 @@ echo Building system
|
|||||||
echo *
|
echo *
|
||||||
fasm system\calendar\trunk\calendar.asm %BIN%\calendar
|
fasm system\calendar\trunk\calendar.asm %BIN%\calendar
|
||||||
fasm system\board\trunk\board.asm %BIN%\develop\board
|
fasm system\board\trunk\board.asm %BIN%\develop\board
|
||||||
|
fasm system\commouse\trunk\commouse.asm %BIN%\commouse
|
||||||
fasm system\cpu\trunk\cpu.asm %BIN%\cpu
|
fasm system\cpu\trunk\cpu.asm %BIN%\cpu
|
||||||
fasm system\cpuid\trunk\cpuid.asm %BIN%\cpuid
|
fasm system\cpuid\trunk\cpuid.asm %BIN%\cpuid
|
||||||
fasm system\desktop\trunk\desktop.asm %BIN%\desktop
|
fasm system\desktop\trunk\desktop.asm %BIN%\desktop
|
||||||
|
26
programs/system/commouse/trunk/commouse.asm
Normal file
26
programs/system/commouse/trunk/commouse.asm
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
use32
|
||||||
|
db 'MENUET01'
|
||||||
|
dd 1
|
||||||
|
dd start
|
||||||
|
dd i_end
|
||||||
|
dd mem
|
||||||
|
dd mem
|
||||||
|
dd 0, 0
|
||||||
|
|
||||||
|
start:
|
||||||
|
push 68
|
||||||
|
pop eax
|
||||||
|
push 16
|
||||||
|
pop ebx
|
||||||
|
push drvname
|
||||||
|
pop ecx
|
||||||
|
int 0x40
|
||||||
|
push -1
|
||||||
|
pop eax
|
||||||
|
int 0x40
|
||||||
|
|
||||||
|
drvname db 'COM_MOUSE',0
|
||||||
|
i_end:
|
||||||
|
align 16
|
||||||
|
rb 16
|
||||||
|
mem:
|
Loading…
Reference in New Issue
Block a user