joeylib2/scripts/dosbox-win16.conf
2026-10-19 15:46:47 -05:00

42 lines
1.6 KiB
Text

# DOSBox Staging config for the Win16 port: the PC that Windows for
# Workgroups 3.11 runs on, both when the installer's win311 component sets
# Windows up (installer/lib/win16.sh) and when joey-run and the win16 gates
# run a program on it (scripts/lib/win16Gate.sh).
#
# machine = svga_s3 an S3 Trio64, the card the S3 Trio64V+
# Windows driver the image is set up with
# drives (800x600, 256 colors)
# memsize = 16 16 MB, plenty for Windows 3.11; the image
# runs without a swap file
# cputype = 386 the port's floor is a 386: an instruction a
# 386 lacks faults here as it would there
# cpu_cycles = max as fast as the host goes. The CPU is
# emulated, never run natively: running Win16
# code natively (the 32-bit Wine's winevdm)
# crashed the host's kernel
# sbtype = sb16 Windows' own Sound Blaster 1.5 driver
# (sndblst2.drv, 8-bit, what the port plays)
# drives it at the defaults, port 220 IRQ 7
# DMA 1
#
# Launch with --noprimaryconf --nolocalconf (JOEY_DOSBOX_ISOLATE) so nothing
# from the user's own DOSBox configuration leaks into a run.
[sdl]
fullscreen = false
[dosbox]
machine = svga_s3
memsize = 16
[cpu]
core = auto
cputype = 386
cpu_cycles = max
cpu_cycles_protected = max
[sblaster]
sbtype = sb16
sbbase = 220
irq = 7
dma = 1