From: wmcgugan AT netcomuk DOT co DOT uk (William McGugan) Newsgroups: comp.os.msdos.djgpp,comp.lang.asm.x86,alt.msdos.programmer Subject: Making a selector - dmpi stuff Date: Sun, 25 May 1997 23:34:22 GMT Organization: None. (via NETCOM Internet Ltd. USENET service). Lines: 22 Message-ID: <3389c924.198828@nntp.netcomuk.co.uk> NNTP-Posting-Host: dialup-18-28.netcomuk.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk How can I create a segment/selector that points to a specific area of memory using dpmi? I want to be able to do this so I can refer to memory like so: mov al, [fs:ebx] rather than : mov al, [esi+ebx] So I can free esi (and edi) for other tasks. I've not been coding in protected mode for long so I haven't quite grasped the complexities of dpmi. I almost miss real mode. Thanks people. William McGugan http://www.netcomuk.co.uk/~wmcgugan