joeylib2/scripts/dosbox-386sx16.conf

32 lines
1.5 KiB
Text

# DOSBox Staging config: simulate an Intel 386SX-16 (1988), the slowest
# 386 desktop CPU JoeyLib could realistically be run on. Use this floor
# to verify the DOS port still hits its frame budget on the bottom of
# the 386 stack rather than coasting on host CPU.
#
# The 386SX is identical to the 386DX in instruction set; the only
# difference is the 16-bit external bus (vs 32-bit on DX), which slows
# memory-bound code. DOSBox does not model the bus split directly --
# the cycles count below approximates the combined 386SX-16 throughput.
#
# Notes:
# core = normal accurate per-instruction cycles, not
# recompiled-to-host (auto / dynamic would
# defeat slow-CPU simulation).
# cputype = 386 386 instruction set (no 486 BSWAP /
# CMPXCHG, no Pentium MMX).
# cpu_cycles, cpu_cycles_protected = 2200
# community-standard approximation for
# 386SX-16 throughput. Staging splits real
# and protected mode; JoeyLib's DJGPP
# programs run in protected mode, so both
# are pinned. The window title shows the
# rate in force ("<PROG> - 2200 cycles/ms").
#
# Launch with --noprimaryconf --nolocalconf so nothing from the user's
# own DOSBox configuration leaks into a run.
[cpu]
core = normal
cputype = 386
cpu_cycles = 2200
cpu_cycles_protected = 2200