Tutorial For A Starter

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.
Locked
User avatar
Nathan
Member
Member
Posts: 201
Joined: Sun Jul 19, 2009 1:48 pm
Location: Brazil
Contact:

Tutorial For A Starter

Post by Nathan »

Hello,
I'm new in the C++ development world, i've choose this language because it's so much flexible, then i've buyed this book: C++ How to Program, 5/e form Deitel, then i'm learning C++, but i was thinking in develop an OS, then i've asked in Stack Overflow in this question: Develop An OS, then they post a link to here, but i what i want is a good tutorial for a beginner, remember that i'm using Windows Vista.

Thanks,
Nathan Paulino Campos
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Tutorial For A Starter

Post by neon »

Hm, How much experience do you have in C++? If you are still new to the language, then continue learning it as well as software engineering. Alot of members (myself included) also recommend having some experience with assembly language before getting into system level programming.

Even beginning level OS development tutorials require alot of prior experience in the programming field.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
Nathan
Member
Member
Posts: 201
Joined: Sun Jul 19, 2009 1:48 pm
Location: Brazil
Contact:

Re: Tutorial For A Starter

Post by Nathan »

Hello neon,
I have the basic and a very good experience in File I/O, but the only thing that i want is to build a simple OS, then if it function perfectly i will go to buy some nice books for improve it.

Thanks,
Nathan Paulino Campos
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Tutorial For A Starter

Post by neon »

Nathan wrote:I have the basic and a very good experience in File I/O.
Hello,

That is fine. You must know however that anything related to the standard library (like File i/o) is nonexistent in the beginning stages of OS's.

In any case, if you are willing to go into it, either start with an existing bootloader (GRUB is most common) or write one (requires assembly language experience.)

C Bare Bones (Uses GRUB)
JamesM's kernel development tutorials (Uses GRUB)

If you have experience in assembly language and want to write the bootloader as well, you can also look into my OS development series (link in signature).

Remember that alot of things can be found in the Wiki. Also, get the Intel processor manuals - you -will- need them. (Search Google - they are free to download or order).

Good luck :D
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
Nathan
Member
Member
Posts: 201
Joined: Sun Jul 19, 2009 1:48 pm
Location: Brazil
Contact:

Re: Tutorial For A Starter

Post by Nathan »

Thanks for the very nice base my friend!
User avatar
Nathan
Member
Member
Posts: 201
Joined: Sun Jul 19, 2009 1:48 pm
Location: Brazil
Contact:

Re: Tutorial For A Starter

Post by Nathan »

neon, i have developed the Neptune's OS, because i was seeing some screenshots, and in my opinion it's a very good OS.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Tutorial For A Starter

Post by Combuster »

Offtopic alert
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Locked