Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- XMS Specification (version 3.0) - <b>reallocate any extended memory (function 8fh)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Reallocate Any Extended Memory (Function 8Fh)

        ARGS:   AH = 8Fh
                EBX = New size for extended memory block, in Kb.
                DX = Unlocked handle for memory block to be resized.

        RETS:   AX = 1 if the block is reallocated, 0 if not

        ERRS:   BL = 80h if the function is not implemented.
                BL = 81h if a VDISK device is detected.
                BL = A0h if all available extended memory is allocated.
                BL = A1h if all available extended memory handles are in use.
                BL = A2h if the handle is invalid.
                BL = ABh if the block is locked.

This function is similar to the existing Reallocate Extended Memory,
except that it uses a 32-bit instead of a 16-bit value to specify the
amount of memory requested.  It allocates from the same memory and
handle pool as the current function.  Since it requires a 32-bit
register, this function can be supported only on 80386 and higher
processors, and XMS drivers on 80286 machines should return error code
80h.

Note: This function is new to version 3.0

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson