Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Dos Protected Mode Interface - <b>discard page contents</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
        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.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson