Load & Run Programs

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
User avatar
ehenkes
Member
Member
Posts: 124
Joined: Mon Mar 23, 2009 3:15 am
Location: Germany
Contact:

Load & Run Programs

Post by ehenkes »

I searched the wiki and the internet for "Load & Run Programs" regarding OS development and found no tutorial/script on this topic. I can manage multitasking and start routines in the memory, but that's not enough to run external programs. Please link me to a very good overview article.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Load & Run Programs

Post by Troy Martin »

First, you implement filesystem and disk drivers. Then you use your FS driver to load the file off of the disk. Then you relocate certain file formats and jump to the code.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
Post Reply