begin to write kernel

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
firas981

begin to write kernel

Post by firas981 »

I have finished my bootsector which can enable A20 Gate , Enable Protected mode , set simple GDT
I want to write the kernel , however i don't know how to start .

thanks
asmboozer

Re:begin to write kernel

Post by asmboozer »

read some book on os developing first
srg

Re:begin to write kernel

Post by srg »

As well as that please, please read this:

http://www.catb.org/~esr/faqs/smart-questions.html

It seems the bulk of your questions can be answered RTFM or STFW. Also here's a new one (I just thought of :)) RTFFAQ. The osdev faq is at:

www.mega-tokyo.com/osfaq2

Another place I'd recommend you going to is the Operating System Resource Center, lots of info there.

Also get some good books, osdev is about 50% reading IMHO.

Hope this helps
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:begin to write kernel

Post by Pype.Clicker »

start by a very simple kernel, compile it and load it in your bootsector :)
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:begin to write kernel

Post by bubach »

as saied above.. start with a very simple kernel, like writing hello on the screen. after that u could expand that into a text mode driver by writing functions for string output, moving the cursor and setting colors..
then a suppose that user input via the keyboard would be a nice idea..

(may sound like a shell, but in the beginging it?s just to test future drivers/ints..)

after that.. well...

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

Re:begin to write kernel

Post by skrubg »

there are cells without one, you know
Schol-R-LEA

Re:begin to write kernel

Post by Schol-R-LEA »

Erythrocytix? The mind boggles.
Post Reply