From: "Gareth Williams" Newsgroups: comp.os.msdos.djgpp Subject: Re: Setting a variable's selector? Lines: 12 X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Message-ID: <3845a29a.0@samba> Date: Wed, 1 Dec 1999 16:34:54 -0600 NNTP-Posting-Host: 199.86.0.206 X-Complaints-To: abuse AT visi DOT com X-Trace: ptah.visi.com 944087712 199.86.0.206 (Wed, 01 Dec 1999 16:35:12 CST) NNTP-Posting-Date: Wed, 01 Dec 1999 16:35:12 CST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In order to get information from the PnP BIOS I need the data structure to reside in the same selector/segment as the BIOS entry point. Is there way with DJGPP to specify the segment or selector of a variable or structure when you are allocating memory for it? Also, is it possible to read %%eip with gas? Thanks, Gareth.