Date: Tue, 16 Sep 1997 13:25:54 +0300 (EET DST) From: Esa A E Peuha Message-Id: <199709161025.NAA26440@kruuna.Helsinki.FI> To: Eli Zaretskii Cc: djgpp AT delorie DOT com Subject: Re: Curious about selectors Newsgroups: comp.os.msdos.djgpp In-Reply-To: Organization: University of Helsinki Precedence: bulk On Wed, 10 Sep 1997 16:27:58 GMT, in , Eli Zaretskii wrote: > You get different values with different DPMI hosts. The value itself is > not special in any way, AFIK, it's just an offset into the descriptor > table. Not exactly. Bits 3 to 15 are the offset to the descriptor table, bit 2 indicates global/local descriptor table (zero for GDT, one for LDT), and bits 0 to 1 are the requested privilege level (three for application programs). -- Esa Peuha student of mathematics at the University of Helsinki http://www.helsinki.fi/~peuha/