Int 31H Function 0509H

Map Conventional Memory in Memory Block [1.0]

Aliases linear addresses below the 1 MB boundary onto the linear addresses of a memory block previously allocated with Int 31H Function 0504H.

Call With

AX = 0509H
ESI = memory block handle
EBX = offset within memory block of page(s) to be mapped (must be page-aligned)
ECX = number of pages to map
EDX = linear address of conventional memory (must be page-aligned)


if function successful
Carry flag = clear

if function unsuccessful
Carry flag = set
AX = error code
8001Hunsupported function (Conventional Memory Mapping Capability not supported)
8003Hsystem integrity (invalid conventional memory address)
8023Hinvalid handle (in ESI)
8025Hinvalid linear address (specified range is not within specified block, or EBX/EDX is not page aligned)


  prev next   webmaster     delorie software   privacy  
  Copyright © 1996     Updated Apr 1996