delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/02/02:17:39

From: "Damian Yerrick" <NOSP AT Musenet@pineight.8m.com>
Newsgroups: comp.os.msdos.djgpp
References: <00de01bf3c6e$0f6f8860$2ef838ca AT home-computer>
Subject: Re: Setting a variable's selector?
Lines: 15
Organization: Pin Eight Software <http://pineight.8m.com/>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <ztn14.1507$US6.45372@dfiatx1-snr1.gtei.net>
X-Trace: /w/U281ukh/9xiG+rU0L9RnQZDTa7xERcynthM0zRlkMq3b+u1anxNH5yrv5OfaUt4ILi+7XTyS4!ttSXJLlld9u0xOqJCY5iaphOTsf4zDI31J69YEm2JROA9ynM6NyrVY1pZyB4b3aRpxnqaYyGYQ==
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Thu, 02 Dec 1999 05:30:07 GMT
Distribution: world
Date: Thu, 02 Dec 1999 05:30:08 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Prashant TR" <prashant_news AT yahoo DOT com> wrote:
> Gareth wrote:
> > Is there way
> >with DJGPP to specify the segment or selector of a variable or structure
> >when you are allocating memory for it?
>
> Don't think so. But you're mixing up segments and selectors. The
> name "selector" is when you're refering to prot. mode and "segment"
> when you're using real mode.

Didn't Eli and I discuss segments vs. selectors? IIRC
selectors are the numbers you place in a ?S register to
gain access to a segment, or a block of memory.


- Raw text -


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