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 06:34 · prokushev · 0 Comments

@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 17:23 · prokushev · 0 Comments