At least since Windows x64, there is no support for 16 bit (DOS) applications any more. They simply cannot run any more. For those applications and games (like Warlords 1)a DOS emulator is required. DOSBox is such an emulator. It emulates a complete MS-DOS environment. You can get it at http://www.dosbox.com/ (expecially for Windows), or possibly directly via the package managing system of your Linux distribution.
The possibilities of configuration are rather extensive (e. g. network configuration). As there is a complete Wiki on that alone, it should be sufficient to give a short introduction to its configuration.
It is of course a good place to start, to get or be acquainted with the configuration of native DOS itself.
config.sys are replaced by the config file
C:\Users\<username>\AppData\Local\DOSBox\dosbox-0.74.conf. Under Linux the file can be found in folder
~/.dosbox/dosbox-0.74.conf. Depending on the version
0.74 may have changed. For a more frequent use, the most important aspect is mounting physically existing folders as drive letters into DOSBox. the command
mount <driveletter> <hostfolder> mounts the provided folder as the root folder of the provided drive.
mount -u <driveletter> undoes that. To have this happen automatically at startup, the command has to be entered into the config file at the proper location, below
[autoexec], e. g.:
mount c C:\Users\username\Desktop c:
This mounts the folder
C:\Users\username\Desktop as drive
C: and DOSBox switches to that drive as well during startup. The user ends up at the proper location in the provided folder. You can do anything you would do with the
autoexec.bat file as well, by placing the commands below the
[autoexec] section, e. g. variable settings or custom start menus. You might as well create a configuration, that automatically starts your favorite game right after opening DOSBox.
All that's going on inside DOSBox can be recorded as video or a screenshot be made of it.
F5 takes a screenshot while
F5 starts and stops video recording.
F6 starts and stops audio recording. The resulting files are placed in folder