Page 1 of 1

I've started... but what now?

Posted: Sun Jan 29, 2006 12:00 am
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?

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

Posted: Sun Jan 29, 2006 12:00 am
by Da_Maestro
A command line interface :-D

Every OS needs one of those hehe

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

Posted: Fri Feb 10, 2006 12:00 am
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 "

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

Posted: Fri Feb 10, 2006 12:00 am
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

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

Posted: Mon Feb 13, 2006 12:00 am
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.