Page 1 of 1

Help with first OS

Posted: Fri Nov 28, 2008 2:43 pm
by dayron
Hello,

I've always wanted to make my own operating system, however, I couldn't find any source which could teach me how to develop an operating system step by step. I master Pasca/Delphi, I know some C/C++, Python, Perl, etc... I'm currently trying to learn Assembly language and I have a general idea of registers, etc. Please tell me a link from which I can learn how to develop a very simple operating system and run it. It doesn't have to be a fancy OS with a colorful GUI or anything like that. Please respond as soon as possible.

Thank You.

Re: Help with first OS

Posted: Fri Nov 28, 2008 2:56 pm
by AJ
Hi,

The wiki would be a very good starting point.

Cheers,
Adam

Re: Help with first OS

Posted: Fri Nov 28, 2008 2:57 pm
by piranha
Hello and welcome. Hope your OS project works out.

http://wiki.osdev.org/Getting_Started
http://wiki.osdev.org/Category:Bare_bones_tutorials
And in general, the wiki is great.

Also check out http://jamesmolloy.co.uk/tutorial_html/index.html.

And http://osdever.net/ has a lot of things too.

-JL

Re: Help with first OS

Posted: Sat Nov 29, 2008 12:37 am
by leledumbo
Since you're a Pascal/Delphi master like me, I think this one would be more appropriate:

http://wiki.osdev.org/Pascal

Note that the tutorial uses Free Pascal and targets ELF, not PE as in Delphi. If you need ld compiled with cross-linking from i386-win32 to i386-linux enabled, you may get it here.

Re: Help with first OS

Posted: Sat Nov 29, 2008 3:57 am
by M-Saunders
dayron wrote:I'm currently trying to learn Assembly language and I have a general idea of registers, etc.
Another resource that might be useful is my MikeOS Handbook:

http://mikeos.berlios.de/handbook.html#makeintro

There's a section on learning basic assembly language, how the PC boots, and how to write a very simple 'kernel' in a boot block.

M

Re: Help with first OS

Posted: Sat Nov 29, 2008 7:51 pm
by SirStorm25
:D Hi and welcome!!!

I reccomend the one available on the wiki! May contain a few bugs (or were those removed???),
once you've created a base OS in pascal, you'll start to find it much easier to add newer things :D .

Regards

SirStorm25.

Re: Help with first OS

Posted: Sun Nov 30, 2008 2:10 am
by quanganht
Reading Intel's manuals will help a lot. Volume 1, 3a, 3b is essential, volume 2a, 2b is optimal.

Re: Help with first OS

Posted: Sun Nov 30, 2008 10:02 am
by negcit.K
i recommand one, too:
skelixos
GOOGLE it and you can easily find it..
Cheers :D

Re: Help with first OS

Posted: Thu Dec 04, 2008 8:17 am
by Ferrarius
http://www.nondot.org/sabre/os/articles This website has some very nice documents on various topics in both software an hardware.

Re: Help with first OS

Posted: Thu Dec 04, 2008 8:49 am
by System123
I assume you will be developing your kernel in Pascal. I am doing myt kernel in pascal and I have based it on a combination of

Brans OS:http://www.osdever.net/bkerndev/index.php
and JamesM OS: http://jamesmolloy.co.uk/tutorial_html/index.html

My code can be obtained from http://code.google.com/p/gizmicos/downloads/list
you can use my code to follow JamesM's tutorial as it is based strongly on it.

Good Luck