After a lot of trouble, i managed to learn all the memory addressing techniques...however now I have yet another question Do we have to implement both? or just paging or just segmentation. Well here's what I think, segmentation is too hardware dependent, so its not a good idea for portable OSs. on the other hand paging is implemented through hardware that is more commonly found i.e a linear -> physical address convertor. so anyone have any ideas, on which one to implement? which one is easier might be a factor too?
Shawn
better -- segmentation or paging?
Re: better -- segmentation or paging?
you can implement both, either or none really. personally, if your going to implement one of them, paging. segmentation is difficult in the sense common compilers (aka gcc) dont like (and might not) produce segmented code. gcc likes flat binaries.
-- Stu --