" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#008000" VLINK="004000" ALINK="#00C000">

                     EXAMPLES OF CONFIGURATION FILE

     One may, in absence of compatibility with MS-Windows and other
programs, and by using non-documented DOS features, free more memory for
applications by modifying system configuration. For example, let us consider
the following configuration file:

  WINDOWS = NO            ; Enabling usage of non-standard system data
                          ; and code allocation strategy
  COMAREA = STANDARD      ; Usage of memory area starting from 50:00
  DOS     = HIGH          ; HMA enabling
  DEVICE  = HIMEM286.SYS  ; XMS driver loading
  FILES   = 40            ; Maximum number of open files
  BUFFERS = 20            ; Number of input/output buffers

     On starting-up System and running MEM, the following message will be
displayed on the screen:

        655,360 bytes total conventional memory
        650,368 bytes free conventional memory
        650,304 largest executable program size

      3,407,872 bytes total contiguous extended memory
              0 bytes available contiguous extended memory
      3,316,736 bytes total XMS memory available
      3,316,736 largest XMS memory block size

       PTS-DOS resident in High Memory Area

     In this case you have 650368 bytes of free memory available for
applications.

     Extended command set and improved syntax of the configuration file
allow a user to fine-tune the System according to own needs. For example, if
several system configurations are required, then the following configuration
file should be written:

[Common]                 ; The common section is always executed
 Device = himem386.Sys   ; Loading XMS driver

[C1@Maximum Memory]      ; Section C1 - maximum free memory configuration
 ComArea    = Standard   ; Usage of memory area starting from 50:00
 Windows    = No         ; Enabling usage of non-standard system data and
                         ; code allocation
 Force      = $DosStd    ; Linking content of the $DosStd section to
                         ; current one

[C2@Compatibility Mode]  ; Section C2 - compatibility mode configuration
 ComArea    = High       ; Disable usage of memory area from 50:00 to 70:00
 Windows    = Yes        ; Standard system data and code allocation
                         ; strategy
 Force      = $DosStd    ; Linking content of the $DosStd section to
                         ; current one

[$DosStd]                ; Section $DosStd - internal, used for linking to
                         ; other sections
 Files      = 40
 Buffers    = 20
 DosDir     =  C:\PTSDOS
 Shell      =  C:\PTSDOS\command.com C:\PTSDOS /p C:\AUTOPTS.BAT
 DOS        =  High Umb
 Clock      =  Real
 IDTChk     =  Off
 Abort      =  On
 ShiftState =  Off
 SoftReboot =  On
 LastDrive  =  k
 Country    =  RU,866, C:\PTSDOS\COUNTRY.SYS
 Keyboard   =  RU LoadOnCall ActBorder 56 DefBorder 0 HotKey 02 54
 Display    =  RU Text Preload High

[BootMgr]                ; Special section BootMgr. Description and system
                         ; of applicable commands may be found in section
                         ; "CONFIGURATION FILE PROCESSING"

 AutoCheck = Yes
 Color     = White on Black
 Storage   = File
 FileName  = AutoBoot.Sys

[C3@OldDOS]
 SysBoot   = C:\oldboot.sys  ; Indicates the boot sectors address of the
                             ; system installed before PTS-DOS on this
                             ; computer

;<< EOF >>

     Upon first System start-up (and subsequent start-ups, if the [Esc] key
is pressed during the first loading) the following prompt shall be
displayed:

 Select section number to be active
--------------------------------------
[F]1. C1           Maximum Memory
[F]2. C2           Compatibility Mode
[F]3. C3           ÄldDOS
--------------------------------------

     By pressing a corresponding numeric or function key, the System
configuration shall be changed accordingly.

     If a numeric key is pressed in combination with the [Alt] key, the
System will step-by-step process the commands of a corresponding section.
Therefore, pressing [Alt-1] in the previous example, will cause the
following System prompt:

        (Y/N)? >Device = himem386.Sys

     Pressing <Y> will install the himem386.sys driver, <N> - will cancel
the operation. TRACE command may be used for toggling the trace mode in
certain lines of configuration file.

     If HMA is available, the System partially allocates in it depending on
the mode which is set up by command as WINDOWS or BUFFERS.  Command SYSGEN
may be used for direct specifying the allocation area of a system part
(code, operative data, I/O buffers, file tables etc.).