Command: himem

  HIMEM is the High Memory Manager.
  HIMEM has to be loaded in CONFIG.SYS / FDCONFIG.SYS.
  HIMEM is out of date. You should use HIMEMX or JEMMEX instead.

Syntax:

  HIMEM [/MAX=####] [/METHOD:xxx] [/HMAMIN=n] [/NUMHANDLES=m]
        [/TESTMEM:ON|OFF] [/VERBOSE] [/NOABOVE16] [/X] [/LOG]

Options:

  /MAX=#####       Limit memory controlled by HIMEM to #####K.
  /METHOD:xxx      Specifies the method to be used for A20 handling.
                   Possible values for xxx:
                   ALWAYSON    Assume that A20 line is permanently ON
                   BIOS        Use BIOS to toggle the A20 line
                   FAST        Use port 92h, bypass INT 15h test
                   PS2         Use port 92h, bypass PS/2 test
                   KBC         Use the keyboard controller
                   PORT92      Use port 92h always
  /HMAMIN=n        Specifies minimum number of Kbs of HMA that a program
                   must request to gain access to the HMA (default: 0Kb).
  /NOX2MAX32       Do not limit XMS 2.0 free/avail. memory report
                   to 32M-1K
  /NUMHANDLES=m    Specifies number of XMS handles available (def: 72).
  /TESTMEM:ON|OFF  Performs or skips an extended memory test (def: OFF).
  /VERBOSE         Gives extra information during installation.
  /NOABOVE16       Do not use INT 15h function E801h to detect >64M.
  /X               Do not use INT 15h function E820h to detect >64M.
  /X2MAX32         Limit XMS 2.0 free/available memory report to 32M-1K
                   (default).
  /LOG             Logs the driver activity to a log file.
  /?               Shows the help.

Comments:

  HIMEM requires a 80386+ CPU. EMM386 can be loaded after this 
  driver. Load HIMEM as DEVICE=HIMEM.EXE in CONFIG.SYS (although
  it is an ".exe"-file!
  HIMEM has to be loaded in CONFIG.SYS / FDCONFIG.SYS.

Examples:

  IN CONFIG.SYS / FDCONFIG.SYS:
    device=c:\fdos\bin\himem.exe
    device=c:\fdos\bin\emm386.exe

See also:

  config.sys
  devload
 (emm386)
  fdconfig.sys
 (fdxms)
 (fdxms286)
  himemx
  jemm386
  jemmex
  xmgr

  Copyright © 2004 Robert Platt, updated 2011 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.