Mail Archives: djgpp/1998/03/15/08:31:34
In comp.os.msdos.djgpp F.X.Gruber-Museum-Arnsdorf <f DOT x DOT gruber-museum-arnsdorf AT magnet DOT at> wrote:
> i used a ASM-DOS 32bit-extender myself, which had all segment regs
> (cs,ds,ss...) set to the same address, so you needn't worry about them.
> Perhaps DOS32 does the same, but DJGPP does not, when addressing memoty you
> must know what's in the seg-regs.
NO NO NO! This is destroying the whole idea of a virtual machine.
You should never want to know these registers, much better to get given
a pmode address and then go and use that address as if it were hardware.
Let the underlying memory management worry about where the real hardware
is and how the data is going to get there.
- Tel
- Raw text -