Help with first OS

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
dayron
Posts: 7
Joined: Fri Nov 28, 2008 2:38 pm

Help with first OS

Post 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.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: Help with first OS

Post by AJ »

Hi,

The wiki would be a very good starting point.

Cheers,
Adam
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Re: Help with first OS

Post 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
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
leledumbo
Member
Member
Posts: 103
Joined: Wed Apr 23, 2008 8:46 pm

Re: Help with first OS

Post 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.
M-Saunders
Member
Member
Posts: 155
Joined: Fri Oct 27, 2006 5:11 am
Location: Oberbayern
Contact:

Re: Help with first OS

Post 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
MikeOS -- simple, well-documented x86 real-mode OS written in assembly language
http://mikeos.sourceforge.net
SirStorm25
Posts: 11
Joined: Sun Jul 20, 2008 4:06 pm

Re: Help with first OS

Post 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.
010010000110100100100000010101000110100001100101011100100110010100100001
Can you read binary???

Currently Project I'm involved in:

The Free Pascal Operating System Project :D
User avatar
quanganht
Member
Member
Posts: 301
Joined: Fri May 16, 2008 7:13 pm
Location: Hanoi, Vietnam

Re: Help with first OS

Post by quanganht »

Reading Intel's manuals will help a lot. Volume 1, 3a, 3b is essential, volume 2a, 2b is optimal.
"Programmers are tools for converting caffeine into code."
User avatar
negcit.K
Member
Member
Posts: 34
Joined: Fri Dec 07, 2007 9:57 am

Re: Help with first OS

Post by negcit.K »

i recommand one, too:
skelixos
GOOGLE it and you can easily find it..
Cheers :D
Ferrarius
Member
Member
Posts: 69
Joined: Sun Oct 28, 2007 4:10 pm

Re: Help with first OS

Post by Ferrarius »

http://www.nondot.org/sabre/os/articles This website has some very nice documents on various topics in both software an hardware.
Modular Interface Kernel With a lot of bugs ;)
System123
Member
Member
Posts: 196
Joined: Mon Jul 07, 2008 1:25 am

Re: Help with first OS

Post 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
Gizmic OS
Currently - Busy with FAT12 driver and VFS
Post Reply