Date: Wed, 9 Sep 1998 19:50:38 +0300 (IDT) From: Eli Zaretskii To: Nick Bull cc: djgpp AT delorie DOT com Subject: Re: Calling Software interrupts In-Reply-To: <905350731.8524.0.nnrp-06.d4e48d0d@news.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 9 Sep 1998, Nick Bull wrote: > I've allocated the memory with __dpmi_allocate_dos_memory. I've now got a > pointer to the segment (I assume that's what is returned). No, you've got the segment itself, not the pointer to it. > So now I'm > trying to put this into an element of the structure that is expecting a char > far *. I'm really confused about this. DJGPP doesn't support a char far *. Please post the code fragment where you need to use the DOS memory, and explain what are you trying to achieve.