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+ - allocate memory http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 21 - DOS 2+ - ALLOCATE MEMORY
        AH = 48h
        BX = number of 16-byte paragraphs desired
Return: CF set on error
            AX = error code (07h,08h) (see AH=59h)
            BX = size of largest available block
        CF clear if successful
            AX = segment of allocated memory block
Note:   DOS 3.30 coalesces free blocks while scanning for a block to allocate
SeeAlso: AH=49h,AH=4Ah,AH=58h

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