my os design, just getting started, help please
Posted: Thu Mar 15, 2007 2:40 pm
I am just getting started w/ os development, and i have a clear idea of what i want to accomplish: a minimal self hosting os, to perform basic tasks (text editing etc.) and MAYBE a small gui in userspace later if it makes it that far. I think i sufficient programming experience; its more of a fun project, not functional.
So, getting the the point. I've started trying to write a small bootsector that will load my kernel, however, i cannot get into protected mode correctly, or jump to the loaded sector
I was wondering if there was some REALLY SIMPLE code, that compiles, and runs that i could take a look at as a starting point. Just a small kernel and bootsector, w/o any features.
Is protected mode needed for something as simple as i am doing? I would like to have some sort of multitasking, and im not sure if this is plausible in real mode. Real mode would let me use BIOS, which would make my job easier, however, im afraid that migrating the code to protected mode when i need to use it for features like multitasking will difficult, and would require a full rewrite.
What are your thoughts?
So, getting the the point. I've started trying to write a small bootsector that will load my kernel, however, i cannot get into protected mode correctly, or jump to the loaded sector
I was wondering if there was some REALLY SIMPLE code, that compiles, and runs that i could take a look at as a starting point. Just a small kernel and bootsector, w/o any features.
Is protected mode needed for something as simple as i am doing? I would like to have some sort of multitasking, and im not sure if this is plausible in real mode. Real mode would let me use BIOS, which would make my job easier, however, im afraid that migrating the code to protected mode when i need to use it for features like multitasking will difficult, and would require a full rewrite.
What are your thoughts?