Just a newbie question... sorry
-
- Posts: 6
- Joined: Fri May 15, 2009 6:36 pm
Just a newbie question... sorry
Hey guys my name is squirrelos. i have 2-3 years of C++ experience, 1 month of C experience and know a little bit of many other programming languages (ActionScript 2.0, PHP, HTML, Java, etc.).
I've got a newbie question that i wanted to ask all of you:
Tell me everything i need to learn, have, etc. to make an OS.
I've already been to the wiki i searched all the threads there and everything but seemed that when i got to a thread that seemed helpful it would then point me to threadXYZ and threadXYZ would point me to threadABc and threadABc would point me to thread.... and so on and nothing told me really how to get started
So please, please you guys tell me how to get started.
Thanks in advance.
squirrelos
I've got a newbie question that i wanted to ask all of you:
Tell me everything i need to learn, have, etc. to make an OS.
I've already been to the wiki i searched all the threads there and everything but seemed that when i got to a thread that seemed helpful it would then point me to threadXYZ and threadXYZ would point me to threadABc and threadABc would point me to thread.... and so on and nothing told me really how to get started
So please, please you guys tell me how to get started.
Thanks in advance.
squirrelos
Re: Just a newbie question... sorry
Can I attempt to save this one, please? Before the bombs start falling, let me point him to here: http://wiki.osdev.org/Getting_Started
Next, some tutorials: http://www.osdever.net/bkerndev/Docs/title.htm
Good luck.
Next, some tutorials: http://www.osdever.net/bkerndev/Docs/title.htm
Good luck.
-
- Posts: 6
- Joined: Fri May 15, 2009 6:36 pm
Re: Just a newbie question... sorry
Hi purage thanks for the help but i've already been to both tutorials/threads.
Re: Just a newbie question... sorry
What's the problem then?
Re: Just a newbie question... sorry
*poof*, everything you need to get started on a small tutorial-based OS.
Really, if you can't learn from those pages already posted, then you will have really big problems later on when documentation is scarce.
Really, if you can't learn from those pages already posted, then you will have really big problems later on when documentation is scarce.
Website: https://joscor.com
-
- Posts: 6
- Joined: Fri May 15, 2009 6:36 pm
Re: Just a newbie question... sorry
thanks for all the help guys but i don't think you understand what i need:
i just want someone to tell me the languages to learn and the programs to download/have.
sorry if i'm being rude or sound like a total idiot.
[edit] so basically: how did YOU get started? [/edit]
i just want someone to tell me the languages to learn and the programs to download/have.
sorry if i'm being rude or sound like a total idiot.
[edit] so basically: how did YOU get started? [/edit]
Re: Just a newbie question... sorry
The language is your choice. Almost every language is possible to make an OS, but the most recommended is C (C++ is nearly the same). Assembly is mandatory, because you will need at least few line of asm to start your kernel.
Tools for developing is your choice too.
- Compiler, linker:
In case of C/C++:
If you are running on Linux/Mac OS X then GCC is the only option. If you're using Win, you may consider getting Cygwin GCC or DJGPP or MinGW.
In case of Pascal:
Free Pascal is good.
Others: I don't know.
Also NASM for asm compiling.
- Others tools like disk image, pc emulator... Google them and find what suit you the most.
Tools for developing is your choice too.
- Compiler, linker:
In case of C/C++:
If you are running on Linux/Mac OS X then GCC is the only option. If you're using Win, you may consider getting Cygwin GCC or DJGPP or MinGW.
In case of Pascal:
Free Pascal is good.
Others: I don't know.
Also NASM for asm compiling.
- Others tools like disk image, pc emulator... Google them and find what suit you the most.
"Programmers are tools for converting caffeine into code."
-
- Posts: 6
- Joined: Fri May 15, 2009 6:36 pm
Re: Just a newbie question... sorry
thank you very much quanganht.
also is it possible to compile the c++/c code in dev-c++?
and how did you get started?
also is it possible to compile the c++/c code in dev-c++?
and how did you get started?
Re: Just a newbie question... sorry
better use the de-facto successor: code::blocks or just make/makefiledev-cpp
I read Bran's (good) and JM's tutorial (forget the multitasking chapter, better look at http://www.henkessoft.de/OS_Dev/OS_Dev2 ... ocId114565), but decided to build my own bootloader for RM and PM (really fun, and educational reasons), now I am member of forum.osdev.org (often not very helpful, sometimes rude/arrogant: look here: http://forum.osdev.org/viewtopic.php?f=2&t=17134) and lowlevel.brainsware.org/forum (very helpful, really experienced people there, e.g. PortChicken), writing my own tutorial and searching for an open-minded OS community on a long-term basis.how did YOU get started?
http://www.henkessoft.de/OS_Dev/OS_Dev3.htm (OSDEV)
http://www.c-plusplus.de/forum/viewforu ... is-62.html
irc.euirc.net #PrettyOS
http://www.c-plusplus.de/forum/viewforu ... is-62.html
irc.euirc.net #PrettyOS
Re: Just a newbie question... sorry
How I got started. Was bored one evening and came across this site. Read the wiki. Read some of the tutorials. Downloaded the intel manuals. Built gcc cross compiler (in linux running in a virtual machine). Installed BOCHS. Created a grub image (following wiki instructions). Finally using a tutorial (thanks whoever wrote that) I got a "hello world" message on the screen. Awesome site when it worked on a real PC! wow, that was my OS 1.0
After that you have to scale the mount everest of OS development. I got as far as virtual memory, multiple tasks, simple IPC, but didn't get to user mode. I now seem to have run out of time.
All the best.
Mark
P.S remember everybody on this forum is busy coding their own OS's and are usually more than happy to answers questions that can't be found on the wiki. But read the wiki first. If the wiki isn't clear then maybe you could add to it.
After that you have to scale the mount everest of OS development. I got as far as virtual memory, multiple tasks, simple IPC, but didn't get to user mode. I now seem to have run out of time.
All the best.
Mark
P.S remember everybody on this forum is busy coding their own OS's and are usually more than happy to answers questions that can't be found on the wiki. But read the wiki first. If the wiki isn't clear then maybe you could add to it.
Re: Just a newbie question... sorry
For me, the idea of a new OS start when I was about 12 ( 5 years ago). That time I knew nothing about computer. Then I start with Pascal and quickly forget about the OS ( you know, kids can't remember anything for a long time ). After 4 years, the idea came back to me, so I join this forum and start looking around. But until now, I'm still beginner.
Edit: Well, after more than ten times rewriting the kernel, I'm a little better than beginners
Edit: Well, after more than ten times rewriting the kernel, I'm a little better than beginners
Last edited by quanganht on Sat May 16, 2009 9:08 am, edited 1 time in total.
"Programmers are tools for converting caffeine into code."
Re: Just a newbie question... sorry
-A general programming language (C, C++, Pascal, FreeBASIC)Tell me everything i need to learn, have, etc. to make an OS.
-How that language works inside-out
-Data structures/Software Engineering
-System Architecture
-Processor Architecture
-A low level assembly language
Everything else that you need to learn depends on your OS.
Look at the switches for the compiler and linker and determine the answer to that yourself. Known tested solutions are c::b, DJGPP, GCC, and MSVC.also is it possible to compile the c++/c code in dev-c++?
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
Re: Just a newbie question... sorry
Hi, my idea of a new os started too when I was 12.quanganht wrote:For me, the idea of a new OS start when I was about 12 ( 5 years ago). That time I knew nothing about computer. Then I start with Pascal and quickly forget about the OS ( you know, kids can't remember anything for a long time ). After 4 years, the idea came back to me, so I join this forum and start looking around. But until now, I'm still beginner.
Edit: Well, after more than ten times rewriting the kernel, I'm a little better than beginners
The difference is: I knew (and know) verry, verry (realy verry) much about computers.
Now, after 1 year, I'm tierd to hear I'm to young.
Becouse it looks like nobody can help me, I started a study at the OU (Open University).
So... Can someone ever be to young to learn making a os?
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Just a newbie question... sorry
Not as long as you act mature and try to grasp as much as you can. I'm only 13, fourteen in one month and five days.
Re: Just a newbie question... sorry
Oh really? So you are some kind of genius huh?Troy Martin wrote:Not as long as you act mature and try to grasp as much as you can. I'm only 13, fourteen in one month and five days.
"Programmers are tools for converting caffeine into code."