www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/15/08:31:34

From: <telford AT xenon DOT triode DOT net DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP/NASM HELP!!
Date: 15 Mar 1998 13:14:04 GMT
Organization: Triode Internet
Lines: 15
Message-ID: <6egk6s$ad6$2@hyperion.triode.net.au>
References: <MPG DOT f7125beb06f9eb7989688 AT news DOT flash DOT net> <6e9alg$fag$1 AT orudios DOT magnet DOT at>
NNTP-Posting-Host: xenon.triode.net.au
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019