Int 67H [EMS 4.0] Function 58H (88) Subfunction 00H Get addresses of mappable pages

Returns the segment base address and physical page number for each mappable page in the system.

Call with:

AH = 58H

AL = 00H

ES:DI = segment:offset of buffer (see Notes)

Returns:

If function successful

AH = 00H

CX = number of entries in mappable physical page array

and page number/address information in buffer (see Notes)

If function unsuccessful

AH = error code

Notes:

Upon return from the function, the buffer contains a series of double-word entries, one per mappable page. The first word of an entry contains the page's segment base address, and the second contains its physical page number. The entries are sorted in order of ascending segment addresses.

The size of the buffer required can be calculated with the information returned by Int 67H Function 58H Subfunction 01H.