[comp.sys.ibm.pc] MSC question

ed@qtc.UUCP (Ed Lisle) (04/16/87)

I am porting a large program to the pc using the huge-memory model.
This program references sbrk(), which is not supported with large/huge
models.

I could use realloc(), expect the code depends on the physical addressing
and realloc() may relocate the starting address somewhere else.
Micrsoft Support told me to write my own sbrk() function using the
BIOS memory management call to extend/decrease allocated memory and
keep track myself how memory is utilized.

Has someone already done this for large/huge memory models ?

        +------------------------------------------------------------+
        |  Ed Lisle                             |   ogcvax!          |
        |  Quantitative Technology Corporation  |   verdix!  qtc!ed  |
        |  Beaverton, OR        (503) 626-3081  |  sequent!          |
        +------------------------------------------------------------+