Page 1 of 1
How do you write a operating system in C
Posted: Mon Jan 21, 2008 3:04 pm
by nosmaker
I am writing a operating system called NOS, it is written in Assembly, in emu8086. I was wondering how to write a operating system in C, to speed up coding.
And if possible actually even writing a boot loader in C.
-nosmaker
thanks!
Posted: Mon Jan 21, 2008 3:09 pm
by lukem95
most people use ASM for the bootloader/bootstrap and then C (or another language... or continue using ASM) for the kernel.
using GRUB (GRand Unified Bootloader) will allow you to start with the C coding very quickly.
Posted: Mon Jan 21, 2008 3:11 pm
by Combuster
I was wondering how to write a operating system in C
Use an text editor.
Serious reply: Your question strongly suggests that you couldn't be bothered to look for an answer on your own. Everything you need can be found with a google search.
Posted: Mon Jan 21, 2008 3:26 pm
by nosmaker
No, i searched and i could not find a decent tutorial.
And instead of trying to act like an @$$ to feel good about yourself, why dont you tell me how to do it so i stop bothering you.
Posted: Mon Jan 21, 2008 3:38 pm
by Wave
You could take a look under "Tutorials" in the wiki or here:
http://www.osdever.net/.
If keep
people you will get
by the way.
Posted: Mon Jan 21, 2008 3:56 pm
by JamesM
nosmaker wrote:No, i searched and i could not find a decent tutorial.
And instead of trying to act like an @$$ to feel good about yourself, why dont you tell me how to do it so i stop bothering you.
Wtf?! where did you search? No, seriously, I'm really interested. Google?
Google 1
Google 2
The wiki?
Wiki 1
Wiki 2
Wiki 3
Forum?
Forum 1
So, in conclusion
Think before you post, and when someone tells you to
STFW, it means that you just made a complete fool of yourself. So instead of flaming back (which, if he doesn't know what he's talking about, is something only a noob does),
get up off your fat arse and do some work yourself, you lazy boneheaded noob.
Posted: Mon Jan 21, 2008 4:02 pm
by Wave
I don't think it's a good idea to insult fat people like that. They don't have to be like him.... although I don't know any exceptions personally.
Posted: Mon Jan 21, 2008 6:11 pm
by piranha
No, i searched and i could not find a decent tutorial.
And instead of trying to act like an @$$ to feel good about yourself, why dont you tell me how to do it so i stop bothering you.
Don't come into a (this) forum and ask a question that can be answered by using something called a 'search engine'. Then, when people don't want to answer such a simple question, don't call them an @$$. You show a lack of care and respect by not doing the proper research. Google. All you questions can be answered by looking.
"How can I code an OS in C?": *Sigh*. Typing?
-JL