# Command: keybuf

      KEYBUF relocates the keyboard buffer from the default location at
      0x40:0x1e-0x3e to 0x40:n-m.
      KEYBUF is a CONFIG.SYS / FDCONFIG.SYS command.

## Syntax:

      keybuf=n[,m]
        where n is in 0xac-0xde or 0x106-0x1de range and m is <= 0x200

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

## Options:

      - none -

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

## Comments:

      KEYBUF relocates the keyboard buffer from the default location at
      0x40:0x1e-0x3e to 0x40:n-m. The buffer must be more than 32 bytes and
      must not touch offsets 0x100-0x105.
      Default for m is "next multiple of 0x100 after n".
      Note: Some BIOSes store data in the 0xac-0xff area. BASICA will use the
      0x106-0x120 area. Other hardware, drivers or apps can collide with
      KEYBUF, too, so use it at your own risk.
      A reasonably safe choice should be "keybuf=0x140,0x1c0".
      KEYBUF is a command internal to kernel.sys and needs no other file
      in order to work.

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

## Examples:

      IN CONFIG.SYS / FDCONFIG.SYS:
        keybuf=0x140,0x1c0

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

## See also:

      config.sys
      fdconfig.sys

#### [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 © 2003 Robert Platt, updated 2008 by W. Spiegl.

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