Page 1 of 1

OS development tutorials

Posted: Sat May 18, 2002 2:20 pm
by Corey Mendell
Where can I find a tutorial, in english, on developing my own operating system? (not FAQ.) 8)


If anyone has an answer to my question, please email me promptly.

Re:OS development tutorials

Posted: Sat May 18, 2002 4:42 pm
by f2
I'm writing my own as I write my own OS. But, I can't imagine that the documenation will be done soon...

Re:OS development tutorials

Posted: Sat May 18, 2002 8:16 pm
by crazybuddha
These aren't necessarily tutorials, but they are essential resources.

http://www.nondot.org/sabre/os/articles
http://www.ctyme.com/rbrown.htm
http://nasm.2y.net
http://webster.cs.ucr.edu/
http://www.500mhz.net/ndx.html
http://www.osdev.org/cgi-bin/projects.cgi
http://www.execpc.com/~geezer/os/

Mostly you have to become familiar (i.e. struggle) with specific topics, then go research those in greater depth.

Re:OS development tutorials

Posted: Sun May 19, 2002 6:14 am
by Tim

Re:OS development tutorials

Posted: Sat May 25, 2002 8:36 am
by Corey M.
OK, but i've seen those resources and i'm still clueless. I need some kind of reading that will walk me through making an OS. (basically a tutorial).

Thanks Anyway,
If you have any other suggestions, reply to this

FROM: Corey Mendell. ???

Re:OS development tutorials

Posted: Sat May 25, 2002 10:02 am
by DynatOS
It isn't Cake... it is an OS... no definite recipe, only foundations. This explaination is about as easy as it gets (assuming you will be using 32-bit protected mode)...
-The protected mode GDT (Global Descriptor Table) dictates access to memory
-The protected mode IDT (Interrupt Descriptor Table) provides the location of "routines" that help maintain the system (external hardware signals, other interrupts, excpetions... etc...)
-Any major fowl-up in protected mode will result in a tripple-fault of the CPU and the computer resets
-I/O (Input/Output) Ports provide access to things like the HD and floppy drive
-The video card can be directly manipulated through memory writes
-Just about the rest depends on your tastes

That just about sums (and I mean sums) up what is needed for a base in a protected mode Kernel/OS. The links that were suggested to you are the easiest reading/understanding combonation available. Considering the time between your 2 posts, I suggest you slow down a bit and read those documents over and over until they "click". People understand things differently, some people can zip through these docs like they are looking at a picture book, others spend months figuring things out... the common bond for anyone to be successful in OS programming (and most everything) is patience.

Re:OS development tutorials

Posted: Mon Jul 15, 2002 11:52 am
by Tom
There are some books you could buy that help you make an OS. I don't know of any that are like tutorials, but a good book to buy is "Operating Systems: Design and Implementation". I'm using this book to make my OS, the book ( in it's 1stEd ) has a complete source code listing of MINUX - a UNIX compatible opeating system.

If you want a tutorial on making a bootable floppy, look at this posting:

http://www.mega-tokyo.com/forum/index.php?board=1;action=display;threadid=38

and click on the attatchment called nasmBoot.txt at the bottom.