www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/16/23:39:23

From: lnwdt AT form-net DOT com
Date: Fri, 15 Nov 1996 18:57:08 -0500
Message-ID: <TCPSMTP.16.11.15.-14.57.8.3180191682.497647@formnet-svr.form-net.com>
Subject: __dpmi_allocate_dos_memory(...)
To: djgpp AT delorie DOT com

I am working on a sound blaster library, and I just want to make
something sure:

int segment, selector;

segment = __dpmi_allocate_dos_memory(size, selector);

Which variable must I put in the ES register, which in EDI?
What confuses me, is that selectors usually come in ES, or DS
register (but then again, I am very new to this DPMI stuff)
My guess is that `segment' must come in ES, but just to be
on the safe side....

Thanks
Leon Nieuwoudt


- Raw text -


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