Kernel101 documentation

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Jonathan Mcdougall

Kernel101 documentation

Post by Jonathan Mcdougall »

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
anonymous

Re:Kernel101 documentation

Post by anonymous »

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! :)
jonathanmcdougall

Re:Kernel101 documentation

Post by jonathanmcdougall »

>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
thomas

Re:Kernel101 documentation

Post by thomas »

good but can someone make me a working makefile for chapter 3 i have tried 5 times and still cant get it working :'(
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:Kernel101 documentation

Post by bubach »

Looks good.
Can i host a copy of it?
Or if you would like some space you could ask me. :)

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
jonathanmcdougall

Re:Kernel101 documentation

Post by jonathanmcdougall »

>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
Post Reply