en:docs:macrolib:modblok

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:docs:macrolib:modblok [2022/10/02 12:38] – created prokusheven:docs:macrolib:modblok [2022/10/09 02:54] (current) prokushev
Line 1: Line 1:
 {{page>en:templates:macroint}} {{page>en:templates:macroint}}
  
-======  ======+====== @ModBlok ======
  
 ===== Version ===== ===== Version =====
  
 +2.0+
  
 ===== Brief ===== ===== Brief =====
  
 +Modify memory block
  
 ===== DOS Interrupt ===== ===== DOS Interrupt =====
  
-[[en:docs:dos:api:int|INTH]]: [[en:docs:dos:api:int:|H]]+[[en:docs:dos:api:int21|INT21H]]: [[en:docs:dos:api:int21:4A|4AH]]
  
 ===== Family API ===== ===== Family API =====
Line 22: Line 22:
  
 <code asm> <code asm>
 +INCLUDE DOS.INC
 +
 +@ModBlok PAR, SEGM
 </code> </code>
  
 ===== 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,08h,09h) (see #01680 at AH=59h/BX=0000h)
 +    * BX = maximum paragraphs available for specified memory block
  
-{{page>en:templates:biosapi}}+{{page>en:templates:int}}