qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 21H Function 58H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Get or Set Allocation Strategy     DOS 3 Only
 
  Obtains or changes the code indicating the current MS-DOS strategy for
  allocating memory blocks.
 
  Input                               Output
  ════════════════════════            ══════════════════════════════
  If getting strategy code            If function successful
  AH=58H                              Carry flag=clear
  AL=00H                              and, if called with AL=00H
  If setting strategy code            AX=error code
  AH=58H                              If function unsuccessful
  AL=01H                              Carry flag=set
  BX=desired strategy code            AX=error code
     00H=first fit
     01H=best fit
     02H=last fit
                                    -♦-