Well first you learn assembly. Then you look at other operating systems. Then you turn your asm code into C++ and you're all done. There are plenty of resources, do some research before you ask, and don't try to take on an OS right of the bat, it is about the most difficult sort of program to write, write simple shells and the like first, then set aside a great deal of time for an OS.
: Well first you learn assembly. Then you look at other operating systems. Then you turn your asm code into C++ and you're all done. There are plenty of resources, do some research before you ask, and don't try to take on an OS right of the bat, it is about the most difficult sort of program to write, write simple shells and the like first, then set aside a great deal of time for an OS. [blue] You need assembly language for the bootstrap program. Afterwords, ANSI/ISO all the way! Of course, you have to interface between your bootstrap and C/C++ code, but thats about it.
Comments
[blue]
You need assembly language for the bootstrap program.
Afterwords, ANSI/ISO all the way! Of course, you have
to interface between your bootstrap and C/C++ code,
but thats about it.
Heres a very good tutorial about creating a simple OS:
http://www.cse.unl.edu/~jgompert/OS/TableOfContents.htm
Note that 'Assembly is required'.[/blue]