[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 15 Fn 1001  - Topview - "getmem" - Allocate "system" Memory            [Q]

   AX = 1001h
   BX = number of bytes to allocate

Return: ES:DI -> block of memory or 0000h:0000h (DV v2.26+)
   AX = status (DV v2.42)
       0000h successful
       0001h failed

Note:  use SETERROR (AX=DE15h) to avoid a user prompt if there is insufficient
     common memory.  Under DV v2.42, this call never generates a user
     prompt regardless of the SETERROR value; instead, it always returns
     AX=0001h and ES:DI=0000h:0000h if out of memory

See Also: AX=1002h,AX=102Eh,AX=DE0Ch,AX=DE15h

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson