flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Real Mode Paging |
Author |
|
xorboy 29 May 2006, 10:27
There is probably only way to do that:
Virtual real mode Goto pmode, enable paging, set up the virtual realmode things, and then jump to it (through a special gate i think?) and you are done. The next question is why you would like to do that You can at a maximum just access 1MByte RAM anyways Perhaps unreal mode is more interesting for what you had in mind. (goto pmode, set up a global descriptor table, set the segment registers accordingly, return back to realmode without ever changing the segregisters and suddenly you've got yourself a flat address-space in realmode, aka flat realmode, unreal mode. i think there is a piece of code that does this in the exaple's collection at fasm.) You can find the specs on how to do that in intels 80386-manual. use google |
|||
29 May 2006, 10:27 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.