Int 15/AX=1001h

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

TopView - GETMEM - ALLOCATE SYSTEM MEMORY

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

Category: DESQview/TopView and Quarterdeck Programs - Int 15h - T

rbline.gif

lup.gif ldown.gif Interrups Categories Contents