loading driver in program
Posted: Sun Aug 17, 2008 5:47 pm
Hi. I read this article http://diamondz.land.ru/writedrv.htm and try to do the same.
The first problem was that program didn't see console:
i replace with
and now i have console with "can't load driver" message. How can i fix it? i use http://diamondz.land.ru/distr/kolibri_1 ... az_eng.htm . I copy compiled driver to /rd/1/drivers/myfd.obj .
Some options with which i compile myfd.obj:
For compilation i use fasm for Linux. Also i attach archive with all files i experiment.
The first problem was that program didn't see console:
i replace
Code: Select all
dll_name db '/rd/1/console.obj',0
Code: Select all
dll_name db '/rd/1/lib/console.obj',0
Some options with which i compile myfd.obj:
Code: Select all
...
OS_BASE equ 0x80000000
new_app_base equ 0x0
...
version dd 0x00040004
my_service db 'fmondrv',0