Get Unallocated Page Count                          

Input

Output

AX

42h   Error Code   AX

BX

    Unallocated Pages currently Avail BX

CX

        CX

DX

    Total Number of Pages DX
     Obtain total number  of  logical expanded memory pages present in
     the system and the number of those pages not already allocated.

Note:   Upward and downward  compatible  with both EMS and EEMS 3.2.
        Note that EMS and EEMS 3.2 had no mechanism  to  return  the
        maximum number of handles that can be allocated by programs.
        This is handled by the EMS 4.0 new function 54h/02h.


Copyright © 1985 to 2003 Beta Systems                            Last modified: Wednesday April 30, 2003 .