Aura

DPMI Memory Interface (dpmi_mem.asm)

_AllocMem

Calls DPMI to allocate memory block and manages all handles, etc, needed to correctly access it.

_FreeMem

_LockMem

Calls DPMI to lock memory block.

_UnlockMem

Calls DPMI to unlock memory block. Note: invalidates selector returned by _LockMem!

_GetPhysicalMapping

Maps a physical memory location into a linear address and then allocates a selector to access it. This is used by the VESA routines to get a pointer to graphics RAM.

_FreePhysicalMapping

Frees the resources allocated by _GetPhysicalMapping.