Int 31/AX=0500h

Prev Next Ralf Interrups Categories Contents

------

DPMI 0.9+ - GET FREE MEMORY INFORMATION

AX = 0500h
ES:(E)DI -> buffer for memory information (see #03155)

Return:
CF clear

Notes: 16-bit programs use ES:DI, 32-bit programs use ES:EDI. This function must be considered advisory because other applications may affect the results at any time after the call. Fields not supported by the DPMI implementation are filled with FFFFFFFFh. DPMI 1.0+ supports this function solely for backward compatibility; use AX=050Bh instead. The limited DPMI host built into Phar Lap's 286|DOS-Extender v2.5 only returns the first field in the memory information record

See Also: AX=0501h - AX=050Bh - AX=0604h

Format of DPMI memory information: Offset Size Description (Table 03155) 00h DWORD largest available block in bytes 04h DWORD maximum unlocked page allocation 08h DWORD maximum locked page allocation 0Ch DWORD total linear address space in pages 10h DWORD total unlocked pages 14h DWORD free pages 18h DWORD total physical pages 1Ch DWORD free linear address space in pages 20h DWORD size of paging file/partition in pages 24h 12 BYTEs reserved

Category: DOS Extenders - Int 31h - D

------

Prev Next Ralf Interrups Categories Contents

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home

Search the web with Google
Google
Google
Google

------