Xref: news-dnh.mv.net comp.os.msdos.djgpp:266 Path: news-dnh.mv.net!mv!news.sprintlink.net!howland.reston.ans.net!quagga.ru.ac.za!nntp.und.ac.za!shrike.und.ac.za!meyer From: meyer AT shrike DOT und DOT ac DOT za (Kevin Meyer) Newsgroups: comp.os.msdos.djgpp Subject: Re: Editing the GDT Date: 9 Jun 1995 12:16:40 GMT Organization: University of Natal (Durban), South Africa Lines: 28 References: <3qvfcu$173 AT owl DOT und DOT ac DOT za> <2fd45471 DOT sandmann AT praline DOT no DOT NeoSoft DOT com> Nntp-Posting-Host: shrike.und.ac.za To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp Charles Sandmann (sandmann AT praline DOT no DOT NeoSoft DOT com) wrote: : > I want to be able to access an arbitrary chunk of memory.. [grin, to those of : > you who know why] placed at 13meg, linear, 1 meg long. : > : > How can I (a) either find the selector which points to the GDT, or (b) go : > about defining a selector which points to the arb memory in question? : Get the DPMI spec, run under DPMI. It provides services to do this, and : this is the way it will need to be done under V2. If you don't have a : DPMI provider around, get CWSDPMI from ftp.neosoft.com:/pub/users/s/sandmann Actually, I'm glad someone told me about adding 0xe0000000 to the offset to be able to access any random address.. This works just fine! : Remember GO32 disappears very soon, it's a dead product, don't program for : it's quirks! Why? The version I'm using right now, 1.13m4, I think, does everything I need it to do.. So what if the later versions don't do what I'm doing now, I'll just stay with this one. Its only if this version doesn't support an important function that I'll consider moving to another one.. -- This is not mine, I had nothing to do with it.| #include Kevin Meyer, Plasma Physics Research Institute|Everyone knows the war is over University of Natal, Durban, South Africa | and the good guys lost - LC. http://flyer.ph.und.ac.za/users/kev/welcome.html