Mail Archives: djgpp/1998/05/18/22:58:48
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
- Raw text -