delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/25/22:41:36

From: gclind01 AT starbase DOT spd DOT louisville DOT edu (George C. Lindauer)
Newsgroups: comp.os.msdos.djgpp,comp.lang.asm.x86,alt.msdos.programmer
Subject: Re: Making a selector - dmpi stuff
Followup-To: comp.os.msdos.djgpp,comp.lang.asm.x86,alt.msdos.programmer
Date: 26 May 1997 01:08:01 GMT
Organization: University of Louisville
Lines: 30
Message-ID: <5manph$6hv$1@hermes.louisville.edu>
References: <3389c924 DOT 198828 AT nntp DOT netcomuk DOT co DOT uk>
NNTP-Posting-Host: starbase.spd.louisville.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

William McGugan (wmcgugan AT netcomuk DOT co DOT uk) wrote:

Get a document about DPMI (for example off x2ftp.oulu.fi).
You will also need to know GDT entry layouts... but I think there are
DPMI functions early in the list that will create data segment selectors
for you.

David
: 
: 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