DOSBox-X
DOSBox-X emulates MS-DOS, IBM PC, IBM PCjr and 2 more systems. It reads 32 files, none of them required: it starts games without them.
The app reads its files from this folder:
%LOCALAPPDATA%/DOSBox-X/
Source: src/misc/cross.cpp:102-126, src/misc/cross.cpp:197-230
~/Library/Preferences/
Source: src/misc/cross.cpp:197-230
$XDG_CONFIG_HOME/dosbox-x/
~/.config/dosbox-x when XDG_CONFIG_HOME is unset or not absolute.
Source: src/misc/cross.cpp:197-230
About this profile
Install this emulator's files
With Batocera or KNULLI: the installer finds Batocera or KNULLI and its BIOS folder, then downloads only the files DOSBox-X reads there and checks each one.
Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator dosbox-xTechnical notes
Fork of DOSBox SVN with its own DOS kernel. The machine setting picks the
emulated hardware: mda, cga and its composite variants, hercules,
hercules_plus, hercules_incolor, hercules_color, tandy, pcjr, amstrad,
olivetti/m24/att6300, pc3270, ega, ega200, jega, mcga, vgaonly, the S3,
Tseng, Paradise and ATI SVGA cards, the vesa variants, and pc98/pc9801/pc9821.
fm_towns is marked STUB in the same list.
ref: src/dosbox.cpp:1537-1577
No system BIOS: the PC BIOS, VGA BIOS, video fonts, keyboard layouts, codepage
tables, the Z: drive utilities including GLIDE2X.OVL, and the TTF text font are
compiled in.
ref: int10_memory.cpp, dos_keyboard_layout_data.h, dos_codepages.h,
src/builtin/glide2x.cpp:2861, src/output/output_ttf.cpp:664
Files named without a directory are searched in the working directory, the
program directory, the user configuration directory and the resource
directory. On Linux the configuration directory is $XDG_CONFIG_HOME/dosbox-x
or ~/.config/dosbox-x, and the resource directory is $APPDIR/usr/share/dosbox-x
inside an AppImage, otherwise $XDG_DATA_HOME/dosbox-x, then
/usr/local/share/dosbox-x, then /usr/share/dosbox-x. The Windows resource
directory is C:\DOSBox-X.
ref: src/ints/int10.cpp:1442-1485, src/misc/cross.cpp:129-194, 197-230
Configuration: -conf and -userconf name the files to read. Otherwise
dosbox-x.conf then dosbox.conf is tried in the working directory, then in the
program directory, then in the configuration directory, which is last tried
for dosbox-x-<version>.conf. That file is written with the defaults when it
does not exist.
ref: src/gui/sdlmain.cpp:8671-8747, src/misc/cross.cpp:233-249
MT-32: libmt32emu is built from src/libs/mt32. Only four file names are ever
opened, and each candidate is identified by exact file size then SHA1, so the
name says nothing about the contents. addROMFile matches against the full
image list only, which rejects the interleaved chip dumps.
ref: src/gui/midi_mt32.h:74-109, src/, src/
mt32.model = auto opens CM32L_CONTROL.ROM then MT32_CONTROL.ROM, and
CM32L_PCM.ROM then MT32_PCM.ROM. cm32l keeps only the CM32L names, mt32 only
the MT32 names. The directory is mt32.romdir, then the working directory, then
the resource directory, then the configuration directory. A missing pair logs
the accepted file names and disables the device.
ref: src/gui/midi_mt32.h:246-275, src/dosbox.cpp:3605-3615
FluidSynth reads fluid.soundfont, and fluid_synth_sfload is the only check.
Find_SoundFont tries default.sf2, FluidR3_GM.sf2, GeneralUser_GS.sf2 and
GeneralUser-GS.sf2, after the name fluid.soundfont gives when it has no
directory, in the working directory, the resource directory, the program
directory, then C:\soundfonts and C:\DOSBox-X on Windows, /usr/share/soundfonts
and /usr/share/sounds/sf2 elsewhere, and /Library/Audio/Sounds/Banks and
~/Library/Audio/Sounds/Banks on macOS. The first name found in a directory
is kept, and a later directory holding one replaces it. The synth device
searches the same way.
ref: src/gui/midi_synth.h:82-134, 228-242, 383-399, 478-496
PC-98 character generator, tried in order: FONT.ROM as generated by T98Tools,
then the FONTX2 files named by pc-98 fontx sbcs and pc-98 fontx dbcs, then the
file named by pc-98 anex86 font or ANEX86.BMP followed by FREECG98.BMP, then
the built-in FREECG single-byte font and the built-in Japanese double-byte
font. Each stage fills only what the previous one left empty.
ref: src/ints/int10.cpp:1882-1893, 1652-1675
PC-98 sound board BIOS: with pc-98 sound bios set, SOUND.ROM is read from the
working directory into CC000h. Without it a callback Sound BIOS is installed
at CEE0:0000 answering INT D2h.
ref: src/, 416-434
DOS/V and CJK text: fontxsbcs, fontxsbcs16, fontxsbcs24, fontxdbcs,
fontxdbcs14 and fontxdbcs24 name font files. LoadFontxFile reads a FONTX2
header, otherwise tries BDF and PCF, otherwise accepts a raw bitmap font
identified by its size, which covers ASC16 and ASCFONT.15 from UCDOS and ETen
Chinese DOS, ASC24, HZK14, HZK16, HZK24 and STDFONT.15 and STDFONT.24.
Unset settings fall back to the built-in font data.
ref: src/ints/int_dosv.cpp:654-749, 1631-1710, src/dosbox.cpp:2554-2587
BOOT -bios loads a BIOS image at the top of the first megabyte, truncated to
128 KB, or 96 KB on PC-98 where it also looks for <image>.itf.rom, <image>.ITF.ROM,
itf.rom and ITF.ROM to serve the bank switched Initial Firmware Test region
through port 43Dh.
ref: src/, 2261-2350
BIOSTEST.COM loads an image of up to 64 KB at F000:0 and restarts the CPU at
the reset vector. It is compiled only when the debugger is enabled. The
settings call binary on reset and call binary on boot load blobs of up to
128 KB into the ROM BIOS area for CPU testing.
ref: src/, src/ints/bios.cpp:13311-13387
A build configured with --enable-dosbox_agent reads the key=value file named
by -agent-config to start the RPC debugger agent. The file names the
transport and endpoint, nothing else is read from disk.
ref: configure.ac:1479-1486, src/gui/sdlmain.cpp:8494-8500, src/
Glide passthrough loads glide2x.dll, libglide2x.so or libglide2x.dylib.
ref: src/hardware/glide.cpp:353-359, src/dosbox.cpp:3505-3507
ttf.font, ttf.fontbold, ttf.fontital and ttf.fontboit name a TTF, OTF, FON or
TTC font resolved through the same search order plus the system font
directories. Unset, the TTF output uses the built-in font, except on PC-98 or
a double-byte code page where SarasaGothicFixed.ttf is tried first.
ref: src/, 653-668
Shipped in the resource directory: FREECG98.BMP, wqy_11pt.bdf, wqy_12pt.bdf,
Nouveau_IBM.ttf, SarasaGothicFixed.ttf and the two reference configuration
files.
ref: src/Makefile.am:14-22
Overrides for data that is compiled in: the boot logo PNG, the mapper file,
the customcodepage translation table, .kl layout files and the KEYBOARD.SYS
to KEYBRD4.SYS libraries read from a mounted drive, the glshaders directory
and the .lng translations.
ref: src/ints/bios.cpp:11479-11488, src/gui/sdlmain.cpp:972-974, 7016-7024,
src/, src/dos/dos.cpp:4414-4449,
src/, src/gui/render.cpp:1556-1563,
src/misc/messages.cpp:300-326
22 files (32 accepted versions): 0 required, 22 optional. 3 have an HLE fallback. 5 more files come with the app.
In this collection: 20 in repo, 0 missing and 2 unsourceable.
Optional
Section titled “Optional”| File | Status | Hash |
|---|---|---|
MT32_CONTROL.ROMMT-32 Control v1.04
Hashes, validation and source
| in repo | SHA1 5a5cb5a77d7d |
MT32_CONTROL.ROMMT-32 Control v1.05
Hashes, validation and source
| in repo | SHA1 e17a3a6d265b |
MT32_CONTROL.ROMMT-32 Control v1.06
Hashes, validation and source
| in repo | SHA1 a553481f4e27 |
MT32_CONTROL.ROMMT-32 Control v1.07
Hashes, validation and source
| in repo | SHA1 b083518fffb7 |
MT32_CONTROL.ROMMT-32 Control BlueRidge
Hashes, validation and source
| in repo | SHA1 7b8c2a5ddb42 |
MT32_CONTROL.ROMMT-32 Control v2.03
Hashes, validation and source
| in repo | SHA1 5837064c9df4 |
MT32_CONTROL.ROMMT-32 Control v2.04
Hashes, validation and source
| in repo | SHA1 2c16432b6c73 |
MT32_CONTROL.ROMMT-32 Control v2.06
Hashes, validation and source
| in repo | SHA1 2869cf4c235d |
MT32_CONTROL.ROMMT-32 Control v2.07
Hashes, validation and source
| in repo | SHA1 47b52adefeda |
CM32L_CONTROL.ROMCM-32L/LAPC-I Control v1.00
Hashes, validation and source
| in repo | SHA1 73683d585cd6 |
CM32L_CONTROL.ROMCM-32L/LAPC-I Control v1.02
Hashes, validation and source
| in repo | SHA1 a439fbb390da |
CM32L_CONTROL.ROMCM-32LN/CM-500/LAPC-N Control v1.00
Hashes, validation and source
| in repo | SHA1 dc1c5b1b90a4 |
MT32_PCM.ROMMT-32 PCM ROM
Hashes, validation and source
| in repo | SHA1 f6b1eebc4b2d |
CM32L_PCM.ROMCM-32L/CM-64/LAPC-I PCM ROM
Hashes, validation and source
| in repo | SHA1 289cc298ad53 |
default.sf2SoundFont the operating system installs as FluidSynth default
| unsourceable | - |
FluidR3_GM.sf2Fluid R3 GM SoundFont by Frank Wen
| in repo | - |
GeneralUser_GS.sf2GeneralUser GS SoundFont by S. Christian Collins
| in repo | - |
FONT.ROMPC-98 character generator ROM, T98Tools layout
Validation and source
| in repo HLE fallback | - |
ANEX86.BMPPC-98 character generator, Anex86 bitmap
Source | in repo HLE fallback | - |
roman.ttfPrinter Roman typeface
| in repo | - |
sansserif.ttfPrinter Sans Serif typeface
Source | in repo | - |
courier.ttfPrinter Courier typeface
Source | in repo | - |
script.ttfPrinter Script typeface
Source | in repo | - |
ocra.ttfPrinter OCR-A typeface
Source | in repo | - |
SOUND.ROMPC-9801-26K/86 FM board BIOS
Validation and source
| in repo HLE fallback | - |
et4000.binTseng ET4000 video BIOS
Validation and source
| in repo | - |
TRIO64 (Ver. 1.5-07) [VGA] (S3 Incorporated).binS3 Trio64 video BIOS
Hashes, validation and source
| in repo | SHA1 a308b15f93da |
ibm-vga.binIBM VGA option ROM of 10/27/86, laid out as mapped at C000:0
Hashes, validation and source
| in repo | SHA1 dce6491424f1 |
IBMROMBASIC-F6000h-1982-10-27.ROMIBM 5150 Cassette BASIC ROM
Hashes, validation and source
| in repo | SHA1 07449ebca18f |
system.romIBM PCjr system ROM
Hashes, validation and source
| in repo | SHA1 1f5f7013f18c |
System BIOS imagePC/AT or PC-98 BIOS ROM image booted by BOOT -bios
Source | unsourceable | - |
ITF.ROMPC-98 Initial Firmware Test BIOS
Validation and source
| in repo | - |
Comes with the app
Section titled “Comes with the app”| File | Status | Hash |
|---|---|---|
FREECG98.BMPPC-98 character generator, free generated bitmap
Hashes and source
| HLE fallback | MD5 268affbc64ed |
wqy_12pt.bdfWenQuanYi 16-pixel bitmap font
Hashes and source
| - | MD5 77b5b2d0c1c3 |
wqy_11pt.bdfWenQuanYi 14-pixel bitmap font
Hashes and source
| - | MD5 4e10a27e6b3c |
SarasaGothicFixed.ttfCJK fixed-width TrueType font
Hashes and source
| HLE fallback | MD5 5b5dd2bc6876 |
Nouveau_IBM.ttfIBM VGA style TrueType font
Hashes and source
| HLE fallback | MD5 af3bd30eb752 |
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start