# Command: himem

      HIMEM is the High Memory Manager.
      HIMEM has to be loaded in CONFIG.SYS / FDCONFIG.SYS.

## Syntax:

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

#### [Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

## 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.

#### [Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

## 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. HIMEM is
      out of date. You should use HIMEMX or JEMMEX instead.

#### [Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

## Examples:

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

#### [Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

## See also:

      config.sys
      devload
      emm386
      fdconfig.sys
      fdxms
      fdxms286
      himemx
      jemm386
      jemmex

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

## File:

      Please read this command's lsm file also.
      You will find the updated version (internet) here and
      the version described in this manual page here.
      The lsm file contains information about the name of the programmer,
      the download site, and some other command related information.

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)

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

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