registered = false Your 24/7 Source For Loonix!

Loonix.technigga.net

  Reinvent the wheel - make it rounder!   ::   /osdev.php  ::  last change: 20.01.07

OS development for beginners


By beginner I mean beginner on OS programming. You should know some assembly, theory of segmentation, usage of int's and other basic stuff, and you probably know a HLL (pascal, c, c++ etc..)

I recently started developing my own OS. The purpose is to learn only, at least for now. This place contains links to stuff, and various docs that I write while working. That means that this is not for making a usefull OS.

Docs by other people

-Creating a PM OS - Requires more knowledge than at least I have..
-Protected mode tutorial - Includes code for a modeswitcher. Quite basic and good
-Protected and real modes - Much info on them, also requires much knowledge
-PM programming tutorial - Basics on PM programming
-Debug.com tutorial - Seems good to me, havent read it yet.
-Assembly tutorial - Think this is a good one
-Assembly tutorial - Think this is good too :)

Links

-www.osdever.net - very good site about osdev (i also recommend their irc chat)
-Chris Lattner's OS page - Alot of OS resources. very good
-www.menuetos.org - MenuetOS is a 32bit gfx OS, opensource, written in asm. Fits on a floppy!
-www.osfaq.com - I haven't checked this out to much
-www.osdev.org - same as above

Programs

-Old norton utilities - Has sectorwrite, hexedit etc.. but does NOT work well with fat32, big hd's etc.. but can work with floopies. I used it.. in lack of something better.
-sector.zip - Tool to read/write your code to sectors on the diskette (and only diskette). For help about it, check the source.. made by me
-rawrite.exe - Writes image files to diskettes. Better than sector.zip .. but you can't write directly to any sector except the bootsector

note; I had to remove tasm as it's not freeware ;) I use tasm 2.01 and tlink 7.0 .. Search the net, or use a fileshare prog. Oh, and even better: use nasm! It's free. But unfortunately, I have used tasm so far, so some of the things you find here is meant for tasm.

Plans

I have just made a bootsector that switches to PM, and jumps to a kernel written in c, turns on interrupts and presents a very simple shell. That is all, and I will probably never get any further on this little project. It's quite dead :) The plans I had included making a kernel in FreePascal, somehow.

Docs I wrote

-mindebugtut.txt - Very short, very usefull info about debug
-osstart.txt - Teaches you to make a hello-world OS and a bit more
-combase.asm - Shows how to compile a .com file in tasm 2.01
-bootsect.asm - My first bootsector! [note; FIRST .. don't laugh to much] Loads sector 2 as kernel
-proctut.asm - Very commented code showing stack-keeping on procedure calls, in assembly
-pmwithc.zip - boot into protected mode, and jump to a kernel written in c

Finally

NixOS, my realmode OS project, is no more... I started a new OS in protected mode. Quite honestly, I miss realmode a bit, since its so simple. But hey, thats life.. or something. I'm writing this on 6th october 03.. on the 13th I'm going back to school, so I have about one week to code on this. That's it, before christmas... Which means that I wont get very far on this, unfortunately.





Comment on this page?


Enter "856" here:
By Hello on 3.08.15 @ 20:01:42

How Are You Doing ? Im Createing An Operating System, Can You Help Me ? Email : definitelysuccess2025@gmail.com Please Help Me ☺


By Hello on 3.08.15 @ 19:59:17

Hello


By sd on 28.02.11 @ 08:58:44

Nice Working Dude..... <u>vandan


By >vandan< on 28.02.11 @ 08:58:13

Nice Working Dude..... <u7gt;vandan


By This Is Nice. on 28.02.11 @ 08:57:14

Nice Working Dude..... <u>vandan