Discard Page Contents


This function discards the entire contents of a given
linear memory range. It is used after a memory object
that occupied a given piece of memory has been
discarded.

The contents of the region will be undefined the next
time the memory is accessed. All values previously
stored in this memory will be lost.

To Call

AX = 0703h
BX:CX = Starting linear address of pages to discard
SI:DI = Number of bytes to discard

Returns

If function was successful:
Carry flag is clear.

If function was not successful:
Carry flag is set.

Programmer's Notes

o Partial pages will not be discarded.