DOS OS Loader

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
J. Weeks

DOS OS Loader

Post 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.
Alexei Frounze

RE:DOS OS Loader

Post 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
Post Reply