Re:How to Make a Computer Operating System in C/C++
by nwg on Monday December 02, 2013 @04:39AM
(#6832710)
My hobby OS is x86_64 only, straight C. It's GPLv3. I wrote it with the intention of writing a tutorial, partly because of this void, but still have not written the tutorial :)
x86_64 bootup / structures
https://github.com/nwg/nanos/blob/master/src/boot.asm
https://github.com/nwg/nanos/blob/master/src/kernel_init.asm
I haven't really looked at the code, but I guess the following at least contains a bit of example code:
http://www.returninfinity.com/baremetal.html
Menuetos also looks rather interesting, unfortunately, as I recall the license for the 64bit version puts the code in a bit of a limbo as far how it's actually useful. There's a fork, but not for amd64 afaik..
http://menuetos.net/
http://kolibrios.org/en/