Hello,
Could someone give me links to tutorials or manuals about PHYSICAL AND LINEAR MEMORY DIFFERNCES AND TRANSLATING.
About pmode segmentation and similar stuff
Bye. Thanks
Info about physical and linear memory
Re:Info about physical and linear memory
im not 100% sure but...........
physical memory is all the addressable memory.
its not "linear memory", its "linear addressing"
a linear address contains a segment and offset like:
take the address 0x50:0x00
a linear address that would point to 0x50:0x00 is 0x500.
lin address = (segment * 10) + offset
physical memory is all the addressable memory.
its not "linear memory", its "linear addressing"
a linear address contains a segment and offset like:
take the address 0x50:0x00
a linear address that would point to 0x50:0x00 is 0x500.
lin address = (segment * 10) + offset
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Info about physical and linear memory
one usually uses the term of "linear address" to refer the input of the paging process, and "physical address" to refer to the output of the paging process.
If the paging is disabled, the linear address (which is also the output of the segmentation translation) is used directly as physical address ...
For the sake of completeness, the segment:offset address used in ASM programming is called "logical address" or sometimes "effective address" when one want to refer to the fact the CPU has already performed a few calculation to produce an offset out of [eax+ebx*4+12], for instance.
If the paging is disabled, the linear address (which is also the output of the segmentation translation) is used directly as physical address ...
For the sake of completeness, the segment:offset address used in ASM programming is called "logical address" or sometimes "effective address" when one want to refer to the fact the CPU has already performed a few calculation to produce an offset out of [eax+ebx*4+12], for instance.