DOSBox reads its configuration from .dosboxrc in the user’s home directory. The following example is optimized for high emulation speed and also mounts a local game directory, an optical drive, and a CD image with audio tracks.

[sdl]
 fulldouble=false
 fullscreen=true
 fullresolution=original
 output=surface
 # games like Descent need a high sensitivity
 sensitivity=200
[render]
 aspect=false
 scaler=none
[dos]
 keyboardlayout=gr
[cpu]
 core=dynamic
 cycles=max
[autoexec]
 @echo off
 mount c /usr/local/games/dos
 mount d /media/cdrom -t cdrom -usecd 0 -ioctl
 imgmount e /usr/local/games/images/image.cue -t iso
 c: