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:
Evgeny Grechnikov (Diamond) 2009-06-05 19:56:49 +00:00
parent 3745ae0ad7
commit 89da5cd137
4 changed files with 29 additions and 2 deletions

View File

@ -90,7 +90,7 @@ AMD_str db "AuthenticAMD",0
;szInfinity db 'INFINITY',0
szHwMouse db 'ATI2D',0
szPS2MDriver db 'PS2MOUSE',0
szCOM_MDriver db 'COM_MOUSE',0
;szCOM_MDriver db 'COM_MOUSE',0
szUSB db 'USB',0
szAtiHW db '/rd/1/drivers/ati2d.drv',0

View File

@ -763,7 +763,7 @@ no_lib_load:
;call detect_devices
stdcall load_driver, szPS2MDriver
stdcall load_driver, szCOM_MDriver
; stdcall load_driver, szCOM_MDriver
mov esi,boot_setmouse
call boot_log

View File

@ -58,6 +58,7 @@ echo Building system
echo *
fasm system\calendar\trunk\calendar.asm %BIN%\calendar
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\cpuid\trunk\cpuid.asm %BIN%\cpuid
fasm system\desktop\trunk\desktop.asm %BIN%\desktop

View 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: