From: "Damian Yerrick" 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 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: 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" 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.