Int 67H [EMS 4.0] Function 50H (80) Subfunction 00H Map multiple pages by number

Maps one or more of the logical expanded memory pages assigned to a handle onto physical memory pages that can be accessed by the CPU. Physical pages are referenced by their numbers.

Call with:

AH = 50H

AL = 00H

CX = number of pages to map

DX = EMM handle

DS:SI = segment:offset of buffer (see Note)

Returns:

If function successful

AH = 00H

If function unsuccessful

AH = error code

Note:

The buffer contains a series of DWORD (32-bit) entries that control the pages to be mapped. The first word of each entry contains the logical expanded memory page number, and the second word contains the physical page number to which it should be mapped. If the logical page is -1, the physical page is unmapped (made inaccessible for reading or writing).