delorie.com/djgpp/doc/dpmi/api/310506.html | search |
Call With
AX = 0506H
ESI = memory block handle
EBX = base offset in memory block of page (or of first
page, if requesting attributes for multiple
pages)
ECX = number of pages
ES:EDX = selector:offset of a buffer to receive page
attributes, 1 word (16-bits) per page (see Note)
Returns
if function successful
Carry flag = clear
and buffer at ES:EDX filled in with page attributes (see
Note)
if function unsuccessful
Carry flag = set
AX = error code
8001H | unsupported function (16-bit host) |
8023H | invalid handle (in ESI) |
8025H | invalid linear address (Specified range is not within specified block) |
Bits | Significance | |
---|---|---|
0-2 | page type (0-7) | |
Value | Meaning | |
0 | uncommitted page | |
1 | committed page | |
2 | mapped page | |
3-7 | currently unused | |
3 | 0 = page is read-only | |
1 = page is read/write | ||
4 | 0 = accessed/dirty bits not available for this page | |
1 = accessed/dirty bits are supplied for this page in bits 5-6 | ||
5 | 0 = page has not been accessed (if bit 4=1) | |
1 = page has been accessed (if bit 4=1) | ||
6 | 0 = page has not been modified (if bit 4=1) | |
1 = page has been modified (if bit 4=1) | ||
7-15 | reserved, currently zero |
prev next webmaster | delorie software privacy |
Copyright © 1996 | Updated Apr 1996 |