Save Mapping Context                             

Input

Output

AX

47h   Error Code   AX

BX

        BX

CX

        CX

DX

 Callers EMM Handle (not current)     DX
     Save the contents of the expanded  memory  page-mapping registers
     on the  expanded memory boards, associating those contents with a
     specific EMM handle.

     Notes:

     *  Upward and downward compatible with both EMS and EEMS 3.2.

     *  This only  saves the context saved in EMS 3.2 specification;
        if  a driver, interrupt routine or TSR  needs  to  do  more,
        functions 4Eh  (Page Map functions) or 4Fh (Partial Page Map
        functions) should be used.

     *  No  mention is made about the number  of  save  contexts  to
        provide. AST  recommends in their Rampage AT manual one save
        context  for  each handle  plus one  per possible  interrupt
        (5+<handles>).

     *  This function saves the state  of the map registers for only
        the 64K page frame defined in versions 3.x of the LIM. Since
        all applications written to LIM versions 3.x  require saving
        the map register state of only this 64K  page  frame, saving
        the  entire mapping state for a  large  number  of  mappable
        pages would be inefficient use of memory.  Applications that
        use a mappable memory region  outside the LIM 3.x page frame
        should use functions 15 or 16 to save and restore  the state
        of the map registers.


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