Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:docs:dos:api:int21:48 [2021/08/14 07:04] – prokushev | en:docs:dos:api:int21:48 [2021/08/14 08:46] (current) – prokushev | ||
---|---|---|---|
Line 13: | Line 13: | ||
===== Family API ===== | ===== Family API ===== | ||
- | [[en: | + | [[en: |
===== Input ===== | ===== Input ===== | ||
- | AH = 48h | + | |
- | BX = number of paragraphs to allocate | + | BX = number of paragraphs to allocate |
===== Return ===== | ===== Return ===== | ||
CF clear if successful | CF clear if successful | ||
- | | + | |
- | CF set on error | + | CF set on error |
- | | + | AX = error code (07h,08h) (see #01680 at AH=59h/ |
- | | + | BX = size of largest available block |
+ | |||
+ | ===== Macro ===== | ||
+ | |||
+ | <code asm> | ||
+ | INCLUDE DOS.INC | ||
+ | |||
+ | ALLOCATE_MEMORY bytes | ||
+ | </ | ||
===== Notes ===== | ===== Notes ===== | ||
Line 38: | Line 47: | ||
===== See also ===== | ===== See also ===== | ||
- | AH=49h,AH=4Ah,AH=58h, | + | **[[en: |
===== Note ===== | ===== Note ===== |