I created a website about OS programming. The first version was a Word document posted here in november, but now it has grown to contain
. compiling and linking
. using c++
. video output
. gdt
. idt
. keyboard
It is 40 printed pages and it is a work in progress.
I decided to post the link even if this version is not satisfactory. In particular, it has many typos and code excerpts and not always helpful (lack of comments, incomplete). Before adding more stuff, I will try to improve what's already written and also provide much more code (such as a complete kernel by chapter).
Warning: the PDF version was made hastily from the web version. Code inside textareas will therefore not be available.
Have fun and *please*, give me some feedback either here or by email.
Jonathan Mcdougall
[email protected]
http://k101.f2g.net
Kernel101 documentation
Re:Kernel101 documentation
I just took a quick look at your document and I must say it's very good, cheers for you! I really think that good "tutorials" like this, that get you from the ground up to a small working kernel, while explaining everything in between, is what is needed.
A suggestion though: maybe you could make a small section explaining the Multiboot Specification or at least provide a link to it in your document (http://www.gnu.org/software/grub/manual/multiboot/). Oh, and also a small task scheduler would be nice to have.
Keep up the good work!
A suggestion though: maybe you could make a small section explaining the Multiboot Specification or at least provide a link to it in your document (http://www.gnu.org/software/grub/manual/multiboot/). Oh, and also a small task scheduler would be nice to have.
Keep up the good work!
Re:Kernel101 documentation
>I just took a quick look at your document and I must say it's
> very good, cheers for you!
Thanks!
> I really think that
> good "tutorials" like this, that get you from the ground up to
> a small working kernel, while explaining everything in
> between, is what is needed.
That's the impression I got when I first started :)
>A suggestion though: maybe you could make a small section
>explaining the Multiboot Specification or at least provide a
>link to it in your document
>([url=http://www.gnu.org/software/grub/manual/multiboot/]
>http://www.gnu.org/software/grub/manual/multiboot/[/url]).
Oh, good idea. I don't think I'll dedicate more than a small section to it, since that's something (and I think you'll agree) you either don't understand or don't give a damn about, if you're reading that document :) I'll give it a few paragraphs and the link (and an acknowlegment if you give your name).
>Oh, and also a small task scheduler would be nice to have.
Yeah I know :), though the next things to add will be informations about a memory manager, C++ features (global static data, heap, perhaps exceptions and a bit more of the standard lib), the mouse and then tasks. I hope to do that as soon as I can.
Thanks for sharing your ideas!
Jonathan
> very good, cheers for you!
Thanks!
> I really think that
> good "tutorials" like this, that get you from the ground up to
> a small working kernel, while explaining everything in
> between, is what is needed.
That's the impression I got when I first started :)
>A suggestion though: maybe you could make a small section
>explaining the Multiboot Specification or at least provide a
>link to it in your document
>([url=http://www.gnu.org/software/grub/manual/multiboot/]
>http://www.gnu.org/software/grub/manual/multiboot/[/url]).
Oh, good idea. I don't think I'll dedicate more than a small section to it, since that's something (and I think you'll agree) you either don't understand or don't give a damn about, if you're reading that document :) I'll give it a few paragraphs and the link (and an acknowlegment if you give your name).
>Oh, and also a small task scheduler would be nice to have.
Yeah I know :), though the next things to add will be informations about a memory manager, C++ features (global static data, heap, perhaps exceptions and a bit more of the standard lib), the mouse and then tasks. I hope to do that as soon as I can.
Thanks for sharing your ideas!
Jonathan
Re:Kernel101 documentation
good but can someone make me a working makefile for chapter 3 i have tried 5 times and still cant get it working :'(
Re:Kernel101 documentation
Looks good.
Can i host a copy of it?
Or if you would like some space you could ask me.
/ Christoffer
Can i host a copy of it?
Or if you would like some space you could ask me.
/ Christoffer
Re:Kernel101 documentation
>Looks good.
>Can i host a copy of it?
>Or if you would like some space you could ask me. :)
You can host a copy of it, but I will update it frequently (or so I hope) so you'll have to check often. I would recommend a link to it.
As for the space, I am alright for the moment, thanks for asking.
Jonathan
>Can i host a copy of it?
>Or if you would like some space you could ask me. :)
You can host a copy of it, but I will update it frequently (or so I hope) so you'll have to check often. I would recommend a link to it.
As for the space, I am alright for the moment, thanks for asking.
Jonathan