Compatibility: DPMI 0.9+ Expects: AX 050bH ES:DI (or ES:EDI) sel:off of 128-byte buffer to receive info ────────────────────────────────────────────────────────────────── Returns: CF NC (this fn always succeeds) ES:DI buffer contains returned info ────────────────────────────────────────────────────────────────── Info: This obtains information about available physical and virtual memory, etc. ES:(E)DI on entry, must point to a 128-byte buffer. On return, it contains: Offset Size Contents ▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ +0 4 lAlcPhys allocated bytes of physical memory +4 4 lAlcVirt allocated bytes of virtual memory +8 4 lAvlVirt available bytes of virtual memory +0cH 4 lAlcVirtTask allocd virtual mem for this virt mach +10H 4 lAvlVirtTask available virt mem for this virt mach +14H 4 lAlcVirtClnt allocated virtual mem for this client +18H 4 lAvlVirtClnt available virtual mem for this client +1cH 4 lTotLokdClnt total locked bytes for this client +20H 4 lMaxLokdClnt maximum locked bytes for this client +24H 4 lMaxLinAddr highest linear addr avail to client +28H 4 lLargestFree size of largest free block (bytes) +2cH 4 lMinAlloc minimum allocation unit (bytes) +30H 4 lAlignment allocation unit size (bytes) +34H 76 res (reserved) 128 size of this structure Notes: ■ In multi-tasking environments, these values may change at any time, so they should be considered as "advisory." ■ Use INT 31H 0604H to learn the size of the virtual-memory pages used by the host. See Also: DPMI API INT 2fH: Multiplex Interrupt DOS Functions -♦-