C Library for Far Memory Management (Announcement)

Peter Davidson naga at wet.UUCP
Thu Dec 13 19:36:29 AEST 1990


A C function library is now available (presently for use only with
Microsoft C, 5.10 and 6.00, and thus MS-DOS).  This library
contains functions (based on the DOS memory functions) for reliable
allocation of far memory (the memory beyond the 64K blocks normally
allocated for a program's code and data).  These functions are
usable in any memory model, and the library is supplied in small,
medium and large models. There are functions to allocate, set to a
byte value, resize, increase, decrease and free memory blocks, and
functions for allocation and freeing of huge 1-, 2-, 3-, 4- and
5-dimensional arrays in far memory.  There is extensive error
checking.  A memory log optionally logs all memory operations.
There are two detailed reports, based on this log, that can be sent
to screen, printer or disk file under programmer control. A switch
can be set to cause one or more reports to be sent automatically
upon detection of a critical memory error.  The memory allocation
functions in this library are recommended as a substitute for
_fmalloc(), which has problems (illustrated in one of the demo
programs that accompany the library).  For further information and
a demo disk send a mailing address to naga at wet.uucp or write to
Dolphin Software, 48 Shattuck Sq. #147, Berkeley, CA 94704.



More information about the Comp.lang.c mailing list