Page 1 of 1

Executing Programs from a micro-kernel

Posted: Tue Jul 30, 2002 4:46 pm
by kaigoh
Hey all - I know this is most likely a newbie question for most, but it is the forst thing I have got stuck on so far :P What I need to know is: How can I run executables (Mainly just plain bin files) from my kernel? A simple(ish) set of instructions would be cool ;D Thanks,
Kaigoh

Re:Executing Programs from a micro-kernel

Posted: Sun Aug 18, 2002 1:09 pm
by FSQUID
Files? Then is a file system like FAT12 required.
The simplest way is to load raw sectors form disk (int 13h) then make a call to the location loaded to like a sub-procedure. The program can be terminated with 'ret' to return to the point called from.