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.
What Now?
Re:What Now?
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
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
Re:What Now?
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.