Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Colin Blackburn From: Nate Eldredge Subject: Re: memory allocation Cc: djgpp AT delorie DOT com Date: Mon, 18 May 1998 19:16:23 -0700 Message-ID: <19980519021611.AAF21806@ppp104.cartsys.com> Precedence: bulk At 05:26 5/18/1998 +0300, Eli Zaretskii wrote: > >On Mon, 18 May 1998, Colin Blackburn wrote: > >> I need to malloc a chunk of memory < 64K, I also need to be sure that >> this memory does not cross a 64K page boundary. > >The usual way to do this is to allocate 128K and use the part that's >64K-aligned. Also note that you'll have to use `__dpmi_allocate_dos_memory' and use farptr functions to access it; standard malloc memory will not work. Nate Eldredge nate AT cartsys DOT com