www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/08/16/08:33:47

Date: Wed, 16 Aug 1995 06:32:23 -0400
From: dj (DJ Delorie)
To: enrico AT max DOT tiac DOT net
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: DPMI stuff

> What I'm doing to get these addresses is adding &myvar to the selector 
> base for _my_cs(), but that ends me up with something absurd for my 
> selector base (for _my_cs()) ranging from 0x1000000 to 0xda62bc02 or 
> something huge like that depending on which DPMI server I use.  (The 
> weird number is with Windows.  I get 0x80003000 under QDPMI.)  It seems 
> to me that these values are quite obviously not right (I don't have 2 GIG 
> of ram, even WITH Swapping!)

No, they're quite right.  Memory is sparsely shuffled about, hence the
name "virtual" memory.

- Raw text -


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