| | |
Creating an OS
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
A C/C++ book will NOT show you how to write an operating system, and for a good reason: it's far beyond the scope of the book. Creating an operating system takes a whole team of skilled programmers just to create a simple kernel. Linux took years before a GUI was even released with it.
It's usually easier to start writing an operating system with some sort of core already prewritten to make it easier. Here's a website you might find useful:
http://www.powerdb.org/study/OS/os-faq.html
But I would say don't try something like this until you're confident you're capable of completing it. If you bite off more than you can chew, you'll usually end up getting frustrated and quit (I know from experience).
It's usually easier to start writing an operating system with some sort of core already prewritten to make it easier. Here's a website you might find useful:
http://www.powerdb.org/study/OS/os-faq.html
But I would say don't try something like this until you're confident you're capable of completing it. If you bite off more than you can chew, you'll usually end up getting frustrated and quit (I know from experience).
"Technological progress is like an axe in the hands of a pathological criminal."
You write the kernel. This is the base of your operating system, will be the largest part of your operating system, and will take the longest to write and be the most difficult to maintain.
Once you have written the kernel, you compile it into an image as described in the FAQ link I provided. This image can then be loaded, either manually or with a bootloader (GRUB/LILO) when the PC is booted.
Look, seriously, if you don't know how to program, why are you even worrying about how to write one? Learn C++ inside and out, THEN try to attempt it.
[edit]
>Also can u find me a book on it at amazon or barnes and nobles Thank you
I don't know that much about writing operating systems, I just know that they're hard to write.
[/edit]
Once you have written the kernel, you compile it into an image as described in the FAQ link I provided. This image can then be loaded, either manually or with a bootloader (GRUB/LILO) when the PC is booted.
Look, seriously, if you don't know how to program, why are you even worrying about how to write one? Learn C++ inside and out, THEN try to attempt it.
[edit]
>Also can u find me a book on it at amazon or barnes and nobles Thank you
I don't know that much about writing operating systems, I just know that they're hard to write.
[/edit]
Last edited by John A; Oct 29th, 2006 at 11:36 pm.
"Technological progress is like an axe in the hands of a pathological criminal."
Of course if you are curious enough you could ask google your question and study the links it gives you. I found at least a half-dozen articles in just a few seconds.
Most universities officer course in operating systems. You might take one of those courses, but you will need to meed the prerequisits first.
Most universities officer course in operating systems. You might take one of those courses, but you will need to meed the prerequisits first.
•
•
•
•
Also can u find me a book on it at amazon or barnes and nobles Thank you
バルサミコ酢やっぱいらへんで
![]() |
Similar Threads
- Help in Creating a Forum (Web Hosting Deals)
- Creating a Boot Disk for an NTFS or FAT Partition (Windows tips 'n' tweaks)
- Creating an OS in visual basic 6.0 (Visual Basic 4 / 5 / 6)
- Creating a disk image (OS X)
- Error message when creating PDF (OS X)
- Creating a Address Book using Random Access Files (Visual Basic 4 / 5 / 6)
- Creating and destroying objects (C++)
Other Threads in the C++ Forum
- Previous Thread: Function Back to Main
- Next Thread: help for building a USB driver for windows?
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib linkedlist linker list loop looping loops map math memory multiple news node number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference rpg sorting string strings temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






