Xref: news-dnh.mv.net comp.os.msdos.djgpp:2038 Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!lamarck.sura.net!news.mountain.net!usenet From: Sherm.Pendley (grinch AT access DOT mountain DOT net) Newsgroups: comp.os.msdos.djgpp Subject: Re: DPMI question Date: 12 Sep 1995 23:43:42 GMT Organization: MountainNet, Inc. Morgantown WV 800.444.1458 Lines: 20 References: Nntp-Posting-Host: slip-3.mountain.net To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp > mat AT ardi DOT com (Mat Hostetter) writes: > >>>>> "Steve" == Steve Larsen writes: > Steve> P.S. Another quick one. Today while trying to get this > Steve> working, I was hitting an interesting problem. I was > Steve> getting a protection fault while loading a segment register > Steve> (es). Are the segment registers somehow protected while in > Steve> protected mode? > > Yes. Only load legitimate selector values into segment registers. This deserves some elaboration. Loading an invalid value into a segment selector shouldn't cause a GP fault. Attempting to access a segment through a selector which contains an invalid value does cause a fault. At least, according to the documentation I have on hand... Grinch