Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 21 - dos 2+ - free memory http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 21 - DOS 2+ - FREE MEMORY
        AH = 49h
        ES = segment address of area to be freed
Return: CF set on error
            AX = error code (07h,09h) (see AH=59h)
        CF clear if successful
Notes:  apparently never returns an error 07h, despite official docs; DOS 3.30
          code contains only an error 09h exit
        DOS 3.30 does not coalesce adjacent free blocks when a block is freed,
          only when a block is allocated or resized
SeeAlso: AH=48h,AH=4Ah

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