FreeDOS will open fdconfig.sys instead of config.sys if
you provide both. If you only provide config.sys, no problem.

******* fdconfig.sys or config.sys follows *******

files=50
break=on

rem this could cause problems but normally does not!
stacks=0,0

rem needed for CD-ROM and RAMDISK to set this to some value:
lastdrive=Z

rem buffers will be auto-tuned anyway, but this is still not wrong to say:
buffers=20,0

rem will only trigger when UMB and/or HMA become active, so you can leave
rem it there all the time:
DOS=HIGH,UMB

rem this must be 4.01 if you need to run an unpatched dremm386,
rem or dremm386 will refuse to work due to "lack of memory"...
VERSION=6.20

rem I assume that all files are in c:\fdos\bin.
rem I assume that you have renamed all DR DOS stuff to be called DR*.*
rem syseecho can be found in my LBAcache package.

rem First, try which of those 3 works best. The "?" makes DOS
rem ask you whether it should load the driver.
DEVICE=C:\fdos\bin\syseecho.sys Select Y for at most one of the next 3 drivers
DEVICE?=C:\fdos\bin\FDXXMS.SYS BIOS NUMHANDLES=64
DEVICE?=C:\fdos\bin\HIMEM.EXE
DEVICE?=C:\fdos\bin\DRHIMEM.EXE
DEVICE?=C:\fdos\bin\FDXMS.SYS

rem UMBPCI will probably not work for your AMD Athlon chipset...
DEVICE=C:\fdos\bin\syseecho.sys Select at most one of the next 3 drivers
DEVICE=C:\fdos\bin\syseecho.sys WARNING: FD EMM386 only works with HIMEM
DEVICE?=C:\fdos\bin\UMBPCI.SYS
DEVICE?=C:\fdos\bin\EMM386.EXE
DEVICE?=C:\fdos\bin\DREMM386.EXE

DEVICE=C:\fdos\bin\syseecho.sys Select Y now if you want CD-ROM support
DEVICEHIGH?=OAKCDROM.SYS /D:CD001

DEVICE=C:\fdos\bin\syseecho.sys Select which RAMDISK you want - if any
DEVICEHIGH=C:\fdos\bin\RAMDRIVE.SYS /E 2048
DEVICEHIGH?=C:\fdos\bin\tdsk.exe 2048 512 144 1

rem install this to cache drive C only (can cache others, but for testing...)
DEVICE=C:\fdos\bin\syseecho.sys Please say N if you are using DREMM386 now.
DEVICEHIGH?=c:\fdos\bin\lbacache.sys buf 6 drv c stak

DEVICEHIGH?=c:\fdos\bin\NANSI.SYS
DEVICE=C:\fdos\bin\syseecho.sys $[0;1;33;44m I hope this activated colors :-)

DEVICE=C:\fdos\bin\syseecho.sys To activate DR emm386 DPMI now, you may not have activated any emm386 above!
DEVICE?=c:\bin\dremm386.exe DPMI=ON DMA=256 MULTITASKING=ON EXCLUDE=C000-C7FF EXCLUDE=F000-FFFF INT15=16384 VERBOSE

rem make sure that this is indeed the path to command.com before running this!
SHELL=c:\fdos\bin\command.com c:\fdos\bin /e:512 /p

******* autoexec.bat follows *******

@echo off
@echo off
prompt $p$g
rem you can also have a path like: C:\FREEDOS\BIN;C:\BIN;C:\BAT;.......
path C:\FDOS\BIN
set HELPPATH=C:\FDOS\HELP
set LANG=US
set NLSPATH=C:\FDOS\NLS

c:\fdos\bin\choice /c:yn Load PERUSE scrolling driver?
IF errorlevel 2 GOTO noperuse
lh c:\fdos\bin\peruse.exe
echo PERUSE loaded
:noperuse

c:\fdos\bin\choice /c:yn Load MOUSE driver?
IF errorlevel 2 GOTO nomouse
lh c:\fdos\bin\ctmouse.exe /3 /V
rem /3 for 3-button and /V for serial-before-ps2 search order
echo CuteMouse driver loaded
:nomouse

rem this will fail automatically if no OAKCDROM.SYS is loaded :-)
lh c:\fdos\bin\shsucdx.exe /D:CD001,N

c:\fdos\bin\choice /c:yn Load SHARE driver?
IF errorlevel 2 GOTO noshare
LH c:\fdos\bin\share.exe /L:20 /F:2048
echo SHARE.exe driver loaded
:noshare

echo Welcome at FreeDOS. Press enter to go on and see environment:
pause
set

echo FreeDOS is now at your service :-)
