Joined: 09 May 2003 Posts: 25807 Location: The netherlands
Posted: Tue Jun 16, 2020 8:19 am Post subject:
Virtual memory is a custom layout of physical memory split into blocks of 4096 bytes
Virtual memory points to a physical address, or it points to nowhere
example: (VA=Virtual Address, PA=Physical Address)
VA 0 points to PA 0x12345000
VA 0x1000 points to PA 0x03213000
VA 0x2000 points to nowhere
VA 0x3000 points to PA 0x03213000
If you access virtual address 0, you actually access the memory at physical address 0x123450000
if you write to the virtual address 0x1000 and then read the virtual address 0x3000 you will read what you wrote at 0x1000 as the virtual memory points to the same physical memory
if you try to access 0x2000 you will get a pagefault error _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
Virtual memory is a custom layout of physical memory split into blocks of 4096 bytes
Virtual memory points to a physical address, or it points to nowhere
example: (VA=Virtual Address, PA=Physical Address)
VA 0 points to PA 0x12345000
VA 0x1000 points to PA 0x03213000
VA 0x2000 points to nowhere
VA 0x3000 points to PA 0x03213000
If you access virtual address 0, you actually access the memory at physical address 0x123450000
if you write to the virtual address 0x1000 and then read the virtual address 0x3000 you will read what you wrote at 0x1000 as the virtual memory points to the same physical memory
if you try to access 0x2000 you will get a pagefault error
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum