Get Handle and Allocate Memory                        

Input

Output

AX

43h   Error Code   AX

BX

Number of Pages Required (0 OK)     BX

CX

        CX

DX

    Unique EMM Handle DX
     Notifies  the  EMM  that a program will be using extended memory,
     obtains a handle, and allocates a certain number of logical pages
     of extended memory to be controlled by that handle

     Notes:

     *  Upward compatible with both EMS and EEMS 3.2;  EMS  and EEMS
        3.2 do not allow the allocation of zero pages (returns error
        status 89h). EMS 4.0 does allow zero pages  to  be requested
        for a handle, allocating pages later using function 51h

     *  Your program must use this EMM handle as a parameter  in any
        function  that  requires  it. You can use up to 255 handles.
        The uppermost byte of the handle will be zero and  cannot be
        used by the application. 


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .