delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/25/20:33:50

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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019