From: 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: <6e9alg$fag$1 AT orudios DOT magnet DOT at> NNTP-Posting-Host: xenon.triode.net.au Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In comp.os.msdos.djgpp F.X.Gruber-Museum-Arnsdorf 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