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>free dos memory block</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
        Free DOS Memory Block


                 This function  frees memory  that was allocated through
                 the Allocate DOS Memory Block function.

            To Call

                 AX = 0101h
                 DX = Selector of block to free

            Returns

                 If function was successful:
                 Carry flag is clear.

                 If function was not successful:
                 Carry flag is set.
                 AX = DOS error code:
                      07h  memory control blocks damaged
                      09h  incorrect memory segment specified

            Programmer's Notes

                 o    All descriptors allocated for the memory block are
                      automatically freed  and therefore  should not  be
                      accessed once the block is freed by this function.

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