What Now?

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
suman

What Now?

Post by suman »

Ok Guys i've booted using Grub. My kernel is at 1mb memeory mark. i've setup My idt with a default handler and my gdt with a kernel code and a kernel data selector am about to setup paging. then i'm at a DEAD END.
i want to write a posix compliant OS like Linux 0.0.1 but i get mad when i look at the code, cause i dont know where to go next and how to get there. i mean should i do the memory management part or the PIC part or filesystem part....? could anyone tell me a good way to do things from here to the finished Posix compliant OS.
whyme_t

Re:What Now?

Post by whyme_t »

you need to remap your the PICs before you can use interrupts.

BIOS programs the PICs so IRQs 0-7 are mapped to interrupts 8-15, and 8-15 are reserved for the CPU.
You should map IRQs 0-7 out of the way.

http://my.execpc.com/~geezer/osd/intr/index.htm
Tim

Re:What Now?

Post by Tim »

What now? Do what you should have done before you started: learn what you need to put in an operating system. That means a lot of reading -- see the Book Recommendations thread.
Post Reply