X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: vivekian Newsgroups: comp.os.msdos.djgpp Subject: Re: Different values for __djgpp_base_address Date: Mon, 15 Jun 2009 15:00:42 -0700 (PDT) Organization: http://groups.google.com Lines: 18 Message-ID: References: <200906152138 DOT n5FLcHoY008867 AT envy DOT delorie DOT com> NNTP-Posting-Host: 216.228.112.21 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1245103243 462 127.0.0.1 (15 Jun 2009 22:00:43 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Mon, 15 Jun 2009 22:00:43 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: i28g2000prd.googlegroups.com; posting-host=216.228.112.21; posting-account=NuDGggkAAABxXNmP359BcUUuu6Cz2ymy User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.31 Safari/530.5,gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Jun 15, 2:38=A0pm, DJ Delorie wrote: > > For some reason __djgpp_base_address reads as 0x1_0000_0000 which does > > not look right, > > Or even possible, since that's a 33 bit value. > > > since dereferencing virtual addresses is throwing segmentation > > faults. > > Are you setting up a selector to go with it? > > > Can the value of =A0__djgpp_base_address change on the same system ? > > Sure. =A0Actually, one would assume that any two djgpp programs running > on the same system would likely have different values, depending on > how that system did virtual memory. How is the selector to be setup ?