From: lnwdt AT form-net DOT com Date: Fri, 15 Nov 1996 18:57:08 -0500 Message-ID: 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