I've started my OS. I've got an ASM bootloader, which then runs main() in my main kernel. I've also got GDT, IDT, PIT, and everything here:
(http://osdever.net/bkerndev/index.php?the_id=90)
But how would I go about making a program that runs and does something, even something simple, like the classic:
What's your name?
Bob
Hello Bob
... program?
I've started... but what now?
-
- Member
- Posts: 144
- Joined: Tue Oct 26, 2004 11:00 pm
- Location: Australia
Re: I've started... but what now?
A command line interface
Every OS needs one of those hehe
Every OS needs one of those hehe
Two things are infinite: The universe and human stupidity. But I'm not quite sure about the universe.
--- Albert Einstein
--- Albert Einstein
Re: I've started... but what now?
You can implement taskswitching, protection
ring0-ring3 memory management.
fat12 read/write support
could you accept an advice? if you ...
please try implementing the basic core of an OS.
example: multitasking, protection memory management, etc. forget for now the graphics. don?t do that mistake, cuz if you take care of graphics for now you should never learn well as you can.
please, don?t get angry, cuz I did that mistake. and don?t forget " is only an advice "
ring0-ring3 memory management.
fat12 read/write support
could you accept an advice? if you ...
please try implementing the basic core of an OS.
example: multitasking, protection memory management, etc. forget for now the graphics. don?t do that mistake, cuz if you take care of graphics for now you should never learn well as you can.
please, don?t get angry, cuz I did that mistake. and don?t forget " is only an advice "
- carbonBased
- Member
- Posts: 382
- Joined: Sat Nov 20, 2004 12:00 am
- Location: Wellesley, Ontario, Canada
- Contact:
Re: I've started... but what now?
digo_rp is entirely correct. Even something as simple as a command line shell is actually not that simple, and relies on several things to be put in place first.
Do not expect immediate visual gratification when written an OS. Before you get your 'simple app' up and running, you're going to need multitasking, memory management/protection, an application loading mechanism, OS system call architecture, etc.
All of the above, of course, also rely on simple concepts that most people forget; mutexes, semaphores, message queues, lines, trees, etc.
Cheers,
Jeff
Do not expect immediate visual gratification when written an OS. Before you get your 'simple app' up and running, you're going to need multitasking, memory management/protection, an application loading mechanism, OS system call architecture, etc.
All of the above, of course, also rely on simple concepts that most people forget; mutexes, semaphores, message queues, lines, trees, etc.
Cheers,
Jeff
Re: I've started... but what now?
I've decided that this really isn't for me - I'm making a GUI thingy in FreeBasic for FreeDOS now.
digo_rp: I never really intended for graphics in my OS.
digo_rp: I never really intended for graphics in my OS.
Last edited by ua on Mon Feb 13, 2006 12:00 am, edited 1 time in total.