Try Dosbox-Staging
https://www.dosbox-staging.org/
pkg install dosbox-staging
From my cheat file:
= DOSBox-Staging
-
Warnings: DOSBox-Staging seems to change FreeBSD's keyboard layout while running.
Keys: Fullscreen: Alt + Enter
Commands inside Dosbox-Staging:
- On Z:\ prompt, write: intro for Help.
== CONFIG FILES: GLOBAL AND LOCAL.
- The idea is to use 2 config files. One is global and general, the other is specific for each game or app.
- Change or create the files using vim editor or any text editor.
== GLOBAL CONF
- Use general configs for the PC. The software and specifics for each game or app are configed in a local file.
- Default configuration for DOSBox-Staging is found on
$HOME/.config/dosbox/dosbox-staging.conf
* To mount a directory by default at startup, find [autoexec] entry and write.
[autoexec]
# Each line in this section will be executed at startup as a DOS command.
MOUNT c /home/user101/Emulators/myDOSBOX/myC_directory
C:
CLS
# You can also set this up on a local config file (Recommended to use different directories as C: mounts if you have enough storage).
== LOCAL CONF
- Put this config files in a local directory where you will store games and applications installers.
- Run local conf files with a script on the same directory as the conf file. The script must be simply:
dosbos-staging -conf doom.conf.
- For example: doom.bash and doom.conf will be located on the GAMES directory. MASTER_DISK will be mounted as C when you run doom.bash. Install CD-ROM will be disk E:
mount c /home/user101/Emulators/DOSBOX/GAMES/MASTER_DISK
mount e /home/user101/Emulators/DOSBOX/GAMES/CD-ROM_ISO
[AUTOEXEC.BAT]
SOUNDBLASTER=ETC ETC
PATH=ETC/ETC
CLS
C:
== LOCAL CONF SAMPLE
# I use this conf file inside a directory with subdirectories named "A", "C", "E" for floppy, main and CD-ROM.
# This goes in a file for example mydos.conf
# Then you use it with command: dosbox-staging -conf mydos.conf
[autoexec]
# Each line in this section is executed at startup as a DOS command.
IMGMOUNT a ./A/floppy.img -t floppy
IMGMOUNT e ./E/SIMTDOS.ISO -t cdrom
MOUNT c ./C
SET PATH=%PATH%
C:
CLS
== MAKE A FLOPPY DISK IMAGE FILE
# Make a MS-DOS floppy image file that can be read by Virtualbox or DosBox-Staging
* These steps will provide an empty floppy img file, and you could add files to it.
* As root:
mdconfig -s 1440kb # Create a temp filesystem with floppy capacity
newfs_msdos -f 1440 md0 # Give MS-DOS format to temp filesystem
dd if=/dev/md0 of=/home/usuario/floppy.img count=1440 bs=1024 status=progress
chown usuario:usuario /home/usuario/floppy.img
mdconfig -du md0 # Destroy temp filesystem
== SOME IMPORTANT POINTS
- Install Windows 3.11 for Workgroups is not that hard using DOSBox-Staging.
- Follow these guides:
https://github-wiki-see.page/m/dosbox-staging/dosbox-staging/wiki/Getting-started
https://github-wiki-see.page/m/dosbox-staging/dosbox-staging/wiki/Windows-3.1x
- DOSBox-Staging Soundblaster IRQ Default is 7 (Microsoft uses default IRQ 5 for SOUNDBLASTER)
- For gaming:
https://github-wiki-see.page/m/dosbox-staging/dosbox-staging/wiki/Config-file-examples