en:docs:macrolib:modblok

Note: This library for DOS/Win16 personality only. Use Family API for portability.

Note: osFree Macro Library provides macros for most of functions

2022/04/10 09:34 · prokushev

@ModBlok

Version

2.0+

Brief

Modify memory block

DOS Interrupt

Family API

Syntax

INCLUDE DOS.INC
 
@ModBlok PAR, SEGM

Parameters

  • PAR WORD New size in paragraphs
  • SEGM WORD (optional) segment to change. IF not passed then ES used

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
2018/09/04 20:23 · prokushev

en/docs/macrolib/modblok.txt · Last modified: 2022/10/09 05:54 by prokushev