www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/09/16:41:06

Date: Wed, 9 Sep 1998 19:50:38 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Nick Bull <nick AT imat DOT demon DOT co DOT uk>
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: <Pine.SUN.3.91.980909194845.2901R-100000@is>
MIME-Version: 1.0

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.

- Raw text -


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