I am revisting these tutorials for some reasons: 6 years has passed, new compilers may break old code, there are bugs have been found, and I am a better programmer. Hopefully, the refactored tutorial will be uploaded in a few month....
I am a person who always wants to dig deep into internals, so when I started a course about complier principles at college, I wrote a compiler, well, actually it's more like an assembler. When I started to use FreeBSD, I wanted to know how it works in the rawest way, so I tried to read the kernel source. Then as you can imagine, I soon realized that it was an impossible mission to be accomplished. I was swamped with millions of lines of code. All I want is an insect killer, but H-Bomb is the only thing they could provide.
So I thought why can't I do it by myself, implement a simple OS kernel to show how it works from bootstrap to shell, finally I got Skelix. Skelix is a "skeleton" of an operation system kernel, it works in 32-bit protected mode, it demonstrates some basic concepts of how an os kernel works: bootstrap, task switching, paging, virtual memory, file system etc. in an i386 computer.
This tutorial is about how to implement Skelix step by step to show the basic idea of how a simple os kernel works. However, Skelix is still nothing but a toy kernel so far. I keep it as simple as I can to make it look clear.
Thanks for your interest in Skelix. Any bugs in Skelix, any problems with my English or any advices will be very helpful. Just drop me a mail.
|Pádraig Brady||He has help me to correct my terrible English. There are some really useful tips about Linux on his website http://www.pixelbeat.org.|
|Song Jiang||He has pointed out several bugs in my tutorial|
|Arshad Hussain||A calculation error has been found by him in Tutorial 02|
|Shen Feng||Several comments in Tutorial 04, |
Feel free to use my code. Please contact me if you have any questions.