(Please delete the other thread not this one). I prefer to keep it in gen elec.
Hi there friends,
I am an electronics engineer and I am designing and building a 16bit CPU and Minicomputer from scratch using 74 series logic.
I have a question about the implementation of virtual memory. Basically right now the CPU has memory segmentation. The virtual address is Segment:Offset where the segment is then shifted left by 8 bits and the offset added to that to form the physical addr. So I have a 24bit physical space.
However I also want to support paging. My question is, is it OK to add paging on top of this segmented model? What I mean is, the programmer would see the Segment:Offset virtual memory, and the CPU would take the 24 bit address formed by that and compute a paged address from it.
Please note the important fact that my segmentation is 8086 style - non protected. It's just an arithmetic operation of shifting the segment register and adding the offset. It has no GDT or LDT.
Is it normal to do this? I think the pentium does this but not sure.
So would it be ok to have segment + paging in the same system?
Please help.
Hi there friends,
I am an electronics engineer and I am designing and building a 16bit CPU and Minicomputer from scratch using 74 series logic.
I have a question about the implementation of virtual memory. Basically right now the CPU has memory segmentation. The virtual address is Segment:Offset where the segment is then shifted left by 8 bits and the offset added to that to form the physical addr. So I have a 24bit physical space.
However I also want to support paging. My question is, is it OK to add paging on top of this segmented model? What I mean is, the programmer would see the Segment:Offset virtual memory, and the CPU would take the 24 bit address formed by that and compute a paged address from it.
Please note the important fact that my segmentation is 8086 style - non protected. It's just an arithmetic operation of shifting the segment register and adding the offset. It has no GDT or LDT.
Is it normal to do this? I think the pentium does this but not sure.
So would it be ok to have segment + paging in the same system?
Please help.