Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:docs:macrolib:modblok [2022/10/02 12:38] – created prokushev | en:docs:macrolib:modblok [2022/10/09 02:54] (current) – prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{page> | {{page> | ||
- | ====== | + | ====== |
===== Version ===== | ===== Version ===== | ||
+ | 2.0+ | ||
===== Brief ===== | ===== Brief ===== | ||
+ | Modify memory block | ||
===== DOS Interrupt ===== | ===== DOS Interrupt ===== | ||
- | [[en: | + | [[en: |
===== Family API ===== | ===== Family API ===== | ||
Line 22: | Line 22: | ||
<code asm> | <code asm> | ||
+ | INCLUDE DOS.INC | ||
+ | |||
+ | @ModBlok PAR, SEGM | ||
</ | </ | ||
===== Parameters ===== | ===== Parameters ===== | ||
+ | * PAR WORD New size in paragraphs | ||
+ | * SEGM WORD (optional) segment to change. IF not passed then ES used | ||
===== Return ===== | ===== Return ===== | ||
+ | * CF clear if successful | ||
+ | * CF set on error | ||
+ | * AX = error code (07h, | ||
+ | * BX = maximum paragraphs available for specified memory block | ||
- | {{page> | + | {{page> |