Message-ID: <000301bd80d7$d79daa00$f54d08c3@arthur> From: "Arthur" To: "DJGPP Mailing List" Subject: DPMI Date: Sat, 16 May 1998 15:34:56 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Precedence: bulk I cannot find a good description of DPMI anywhere - I've looked in the faqs, the website, everywhere. I have not really had to hack into the protected mode memory before (apps programming) so I am a little lost. I have had experience of memory hacking on my old Atari ST and I assume that DPMI is a little like User mode on the ST. You started off in User mode, then you would initialise the program, then initialise Supervisor mode which would then allow you free access to the memory. You had to switch back to User mode before you exited to make sure that the stacks were aligned properly. The problem is that there are all these far pointers and such: is there not a way in which you can access any part of the memory directly? I can do stuff like switch to mode 13h, but I am using other people's routines and I don't understand them. Any help would be appreciated. James Arthur jaa AT arfa DOT clara DOT net PS: Only one person noticed in my last posting that I had used the wrong sized array. Some of you are professional programmers too... : )