Memory management
Posted: Mon Apr 02, 2012 1:07 pm
hey
so, I've finished my Bootloader and am moving on to my kernel the only thing is, i don't understand how to manage my memory.
i wish to load my two (custom file system) file tables right after the bootloader ( both tables are 512 bytes exactly ) and then load my kernel (currently 512 bytes but quickly getting bigger) right after that and then be able to use the memory after the kernel to load programs into ( its a single tasking OS so they'll only ever be one program loaded right after the kernel.)
i have tried reading the tutorials on memory management on the OSdev site but still don't quite understand how to go about implementing this into my OS.
two questions:
1: is how i want to manage my memory a good idea/will it work?
2:do you know any easy to understand memory management tutorials/information that can help me or can you explain in simple terms what i need to know?
additional info-
my OS is ALL in 16bit NASM real mode assembly.
thanks in advance.
Samathy
so, I've finished my Bootloader and am moving on to my kernel the only thing is, i don't understand how to manage my memory.
i wish to load my two (custom file system) file tables right after the bootloader ( both tables are 512 bytes exactly ) and then load my kernel (currently 512 bytes but quickly getting bigger) right after that and then be able to use the memory after the kernel to load programs into ( its a single tasking OS so they'll only ever be one program loaded right after the kernel.)
i have tried reading the tutorials on memory management on the OSdev site but still don't quite understand how to go about implementing this into my OS.
two questions:
1: is how i want to manage my memory a good idea/will it work?
2:do you know any easy to understand memory management tutorials/information that can help me or can you explain in simple terms what i need to know?
additional info-
my OS is ALL in 16bit NASM real mode assembly.
thanks in advance.
Samathy