I've started... but what now?

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
ua
Posts: 17
Joined: Mon Jul 25, 2005 11:00 pm

I've started... but what now?

Post by ua »

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?
Da_Maestro
Member
Member
Posts: 144
Joined: Tue Oct 26, 2004 11:00 pm
Location: Australia

Re: I've started... but what now?

Post by Da_Maestro »

A command line interface :-D

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
digo_rp
Member
Member
Posts: 233
Joined: Sun Jun 05, 2005 11:00 pm

Re: I've started... but what now?

Post by digo_rp »

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 "
User avatar
carbonBased
Member
Member
Posts: 382
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

Re: I've started... but what now?

Post by carbonBased »

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
ua
Posts: 17
Joined: Mon Jul 25, 2005 11:00 pm

Re: I've started... but what now?

Post by ua »

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.
Last edited by ua on Mon Feb 13, 2006 12:00 am, edited 1 time in total.
Post Reply