INT 31H 0506H: Query Page Attributes
Compatibility: DPMI 1.0+
Expects: AX 0506H
ESI memory block handle (as obtained via INT 31H 0504H)
EBX base offset of page(s) of interest
ECX number of pages
ES:EDX address of buffer to receive returned information
──────────────────────────────────────────────────────────────────
Returns: CF NC (clear) if successful; else AX = DPMI Error Code
ES:EDX buffer contained returned info
──────────────────────────────────────────────────────────────────
Info: This obtains the information about one or more pages of linear
memory allocated via INT 31H 0504H.
ES:EDX on return, this buffer will be filled with ECX 16-bit values
formatted as follows:
1
┌5┬ - ┬7┬6┬5┬4┬3┬2┬1┬0┐
│0 ... 0│m│a│f│w│ type│
└─┴ - ┴─┴╥┴╥┴╥┴╥┴─┴─┴─┘ bit mask
║ ║ ║ ║ ╚═══╩═►0-2: 0007H 0=uncommitted; 1=committed
║ ║ ║ ║ 2=mapped;3=unmapped;4-7 (res)
║ ║ ║ ╚═══════► 3: 0008H 1=read/write; 0=read-only
║ ║ ╚═════════► 4: 0010H 1=access flags are in 6-6
║ ╚═══════════► 5: 0020H 1=page has been accessed
╚═════════════► 6: 0040H 1=page has been modified
See Also: DPMI API
INT 2fH: Multiplex Interrupt
DOS Functions
-♦-