Page 1 of 1

DOS OS Loader

Posted: Thu Apr 12, 2001 11:00 pm
by J. Weeks
Hey everybody,

Just curious if anybody out there's got the source
to a dos-based kernel loader... or perhaps instructions
on how I could alter loadlin for my purpose.

I'm kinda tired of constantly rebooting :) and I'm
not sure how to write a program like this that'll
work in vm86.

RE:DOSĀ OSĀ Loader

Posted: Thu Apr 12, 2001 11:00 pm
by Alexei Frounze
>On 2001-04-13 17:35:01, J. Weeks wrote:
>Hey everybody,
>
>Just curious if anybody out there's got the source
>to a dos-based kernel loader... or perhaps instructions
>on how I could alter loadlin for my purpose.
>
>I'm kinda tired of constantly rebooting :) and I'm
>not sure how to write a program like this that'll
>work in vm86.

if that thing is supposed to load & run something under DOS,
don't chop the branch you're sitting on... e.g. don't
mess up the DOS code/data that may get called/used at some
point. perhaps you may want to make a real-mode kinda
OS and make it as a regular DOS program never damaging
DOS. or you may want to get the original interrupt
vector table of your computer upon bootstrap (make a
special boot sector that would save the table into
several other sector on the disk) and then you may
restore the table to the original one and forget
about what DOS loaded, set up, etc.

Good Luck