View Full Version: firstapp

meos32 >>Kernel >>firstapp


trolly- 01-17-2007
firstapp
hello, i've tryed to change the firstapp in kernel.asm the new path was '/hd0/1/kolibri/bin/launcher',0 insteat '/rd/1/launcher but the problem is that the kernel load the launcher from in ramdisk else with the new path. is it normal? how can I change?

hidnplayr- 01-18-2007

as far as i remember, the function called to launch the app is a ramdisk-specific function, i think that that is the problem

trolly- 01-18-2007

since the revision 273 the called function is "fs_execute" (in taskman.inc), this functions call "fs_load", (in dll.inc) i'm not sure that it is really a ramdisk specifik function.

hidnplayr- 01-18-2007

hmm ok, what is the exact problem? the normal launcher app will open /rd/1/autorun.dat and load application according to that info, did you changed these also or are the files still there?

trolly- 01-18-2007

yes i do, i tried alos to change the path in the configfile, for example: /hd0/1/kolibri/bin/@panel wen i made so, launcher load @panel, but only when the system is started and ready to use. at the boot time it fail

trolly- 01-18-2007

Ok,problem is resolved: At first in the list, i shuld load /rd/setup and lass him enought delay (99) to initialize devices. than i can load the other programms from /hd0/1/ note: i've modified the other programs ; and they load now theyr's .dat files from /hd0/1/kolibri/etc/

hidnplayr- 01-19-2007

you might want to modify the programs like launcher so that they load their files from the same directory they are in (there is a pointer in the header to the address of program on rd/fd/hd)

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.