DOSBOX-X(1)
πΈ DOSBOX-X(1) β dosbox-x πΈ
okay bestie, sit DOWN, because we're about to read the manual for dosbox-x from the dosbox-x manual section, and it's a whole β¨journeyβ¨. no cap.
β¨ NAME β¨
dosbox-x β an x86/DOS and PC98 emulator π (yes, that's the whole vibe. emulator. iconic.)
β¨ SYNOPSIS β¨
dosbox-x [OPTIONS] [FILE]
that's it. that's the whole thing. look at her go π
β¨ DESCRIPTION β¨
okay so this manual page briefly documents DOSBox-X, which is an x86/DOS and PC98 emulator. briefly!! they said briefly!! π
the options are all listed below, and depending on which option you're looking at, you might be able to specify one of them, or honestly several of them. mix and match, it's giving build-your-own-adventure.
now. the optional FILE argument. listen closely because this part is lowkey important:
- it should be a DOS executable or a directory.
- if it's a DOS executable (think
.com,.exe,.bat), the program just runs automatically. no extra steps, she's self-sufficient π - if it's a directory, then that directory gets mounted as the
C:\drive. cute, right? - and if your DOS executable needs parameters? enclose the command and its parameters in quotes. the original says "it's parameters" and honestly we're keeping the typo's spirit alive, but the takeaway is: quotes around the whole thing.
and for an introduction, type INTRO inside dosbox-x. that's your tutorial era. go get it π¦
β¨ OPTIONS β¨
a summary of the available options. here we go, this is the long part, stay with me π«Ά
-?,-hor-helpβ shows you the help screen and then exits. the classic "hi, bye" π-v,-veror-versionβ displays the version information and exits.-fullscreen,-fsβ starts dosbox-x in fullscreen mode. immersive. main character energy π-machine machinetypeβ starts dosbox-x with a specific machine type. valid choices are, and buckle up because this list is long:mdaβ IBM Monochrome Display Adapter, and it's text only, bestie.herculesβ Hercules Graphics Card, and she's monochrome.cgaβ IBM Color Graphics Adapter, with automatic RGB/Composite switching. fancy.cga_monoβ IBM CGA attached to a monochrome display.cga_rgbβ IBM CGA attached to an RGB monitor.cga_compositeβ IBM CGA (early revision) attached to an NTSC TV.cga_composite2β IBM CGA (late revision) attached to an NTSC TV.pcjrβ IBM PCjr.pcjr_compositeβ IBM PCjr (late revision) attached to NTSC TV.pcjr_composite2β IBM PCjr (late revision) attached to NTSC TV.tandyβ Tandy 1000 Graphics Adapter.amstradβ Amstrad PC1512 graphics mode.egaβ IBM Enhanced Graphics Adapter.jegaβ Japanese Enhanced Graphics Adapter (Microsoft AX).mcgaβ IBM Multi-Color Graphics Array.vgaonlyβ IBM Video Graphics Array (see below β yes there's a whole thing about this one, keep reading).svga_paradiseβ SVGA - Paradise Systems PVGA1A.svga_et3000β SVGA - Tseng Labs ET3000.svga_et4000β SVGA - Tseng Labs ET4000.svga_s3β VESA SVGA - S3 Trio64 - VBE 2.0.svga_s386c928β VESA SVGA - S3 86c928 - VBE 2.0 (experimental π§ͺ).svga_s3vision864β VESA SVGA - S3 Vision 864 - VBE 2.0.svga_s3vision868β VESA SVGA - S3 Vision 868 - VBE 2.0.svga_s3vision964β VESA SVGA - S3 Vision 964 - VBE 2.0.svga_s3vision968β VESA SVGA - S3 Vision 968 - VBE 2.0.svga_s3trio32β VESA SVGA - S3 Trio32 - VBE 2.0.svga_s3trio64β VESA SVGA - S3 Trio64 - VBE 2.0 (same assvga_s3).svga_s3trio64v+β VESA SVGA - S3 Trio64V+ - VBE 2.0.svga_s3virgeβ VESA SVGA - S3 ViRGE - VBE 2.0 (experimental π§ͺ).svga_s3virgevxβ VESA SVGA - S3 ViRGE VX - VBE 2.0 (experimental π§ͺ).vesa_oldvbeβ VESA SVGA - S3 Trio64 with VESA BIOS Extensions (VBE) 1.2.vesa_oldvbe10β VESA SVGA - S3 Trio64 with VESA BIOS Extensions (VBE) 1.0.vesa_nolfbβ VESA SVGA - S3 Trio64 with VBE 2.0 with Linear Frame Buffer disabled.pc98β Japanese NEC PC-98 emulation.pc9801β same aspc98.pc9821β same aspc98.fm_townsβ Japanese Fujitsu FM Towns (not implemented π don't get your hopes up).
the default is svga_s3. periodt.
for some special VGA effects you can use the machinetype vgaonly. but bestie, heads up: note that this disables SVGA capabilities and it might be slower because of the higher emulation accuracy. tradeoffs!! we love an accurate queen who takes her time π
Note β the machinetype doesn't just affect the emulated video card. it may also affect the available sound cards. so like, choose wisely, iykyk.
-conf configfileβ starts dosbox-x with the options specified inconfigfile. this file can also have a section called[autoexec]where you put commands you want executed on startup. and here's the cute part: you can specify multiple-confoptions with configfiles, and they'll be overlaid on each other. layer cake π-editconf [editor]β opens the default configuration file in a text editor. if you don't give an editor name, it uses the program from theEDITORenvironment variable. let the environment decide, she's independent.-userconfβ loads the configuration file located in~/.config/dosbox-x. can be combined with the-confoption. they're friends π«Ά-printconfβ prints the location of the default configuration file and exits.-eraseconf,-resetconfβ removes the default configuration file and exits. gone. deleted. ποΈ-erasemapper,-resetmapperβ removes the mapperfile configured in the clean default configuration file and exits.-opencaptures programβ callsprogramwith, as its first parameter, the location of the captures folder, and exits.-opensaves programβ callsprogramwith, as its first parameter, the location of the saves folder, and exits.-startui,-startguior-starttoolβ starts DOSBox-X with the GUI configuration tool. point and click era β¨-startmapperβ starts the internal keymapper on startup of dosbox-x. you can use it to change the keys dosbox-x uses. remap your whole life.-promptfolderβ prompts for the working directory when DOSBox-X starts.-nopromptfolderβ does not prompt for the working directory when DOSBox-X starts. the opposite of the one above, and honestly? iconic duo.-noguior-nomenuβ don't show the GUI menu bar when in windowed mode. minimalism π-showcyclesβ shows the cycles count (FPS) in the title.-showrtβ shows the emulation speed relative to realtime in the title.-socket socketnumberβ passes the TCP socket numbersocketnumberfor the nullmodem emulation. see the WIKI for details.-savedir pathβ setspathfor the save slots.-defaultdir pathβ setspathas the default working path for DOSBox-X.-defaultconfβ uses the default config settings for DOSBox-X.-defaultmapperβ uses the default key mappings for DOSBox-X.-data-host-forcedβ forces synchronization of date and time with the host. your clock, but make it their clock π-display2 [color]β enables both standard & monochrome dual-screen mode. the monochrome display defaults to white, but you can optionally set it to green or amber. two screens, one queen.-lang message_fileβ starts dosbox-x with the language specified inmessage_file. multilingual slay π-nodpiawareβ ignores (does not signal) Windows DPI awareness.-securemodeβ enables secure mode, which is meant to prevent a DOS program potentially gaining access to files outside directories mounted in the[autoexec]section of the config file. it does this by runningZ:\SYSTEM\CONFIG.COM -securemodeafter completing the[autoexec]section (which in turn disables any changes to how the drives are mounted "inside" dosbox-x). it also disables various otherCONFIG.COMoptions that could be exploited. safety first, bestie π-prerunβ ifFILEis given, runs it before theAUTOEXEC.BATconfig section.-hostrunβ enables theSTARTcommand, theCLIP$device, and long filename (LFN) support.-noconfigβ skips the[config]section of the loaded configuration file. this is equivalent to skippingCONFIG.SYSin DOS.-noautoexecβ skips the[autoexec]section of the loaded configuration file. this is equivalent to skippingAUTOEXEC.BATin DOS.-exitβ dosbox-x will close itself when the DOS program specified byFILEends. she leaves when the party's over π-silentβ runs DOSBox-X silently and exits after executing the[autoexec]section of the loaded config file. ninja mode π₯·-o option(s)β provides command-line option(s) for[FILE]if specified.-c commandβ runs the specified command before running[FILE]. multiple commands can be specified, but each command should start with-cthough. a command can be an Internal Program, a DOS command, or an executable on a mounted drive. if the command requires parameters, enclose the command and its parameters in quotes. stack 'em up π₯-set section property=valueβ sets the config option (and overrides any config file). if the property contains spaces, make sure to enclose the string in quotes. thesectionis the name of a dosbox-x config section such as[video]without the brackets. multiple-setcommands may be specified. and if a property is unique, the section can be omitted β like,-set sdl output=ttfis equivalent to-set output=ttf. so efficient. so her π-time-limit secondsβ kills the emulator afterseconds. dramatic but punctual β°-fastlaunchβ fast launch mode. it skips the BIOS logo and the welcome banner. no small talk, straight to business.-helpdebugβ shows debug-related options and exits. for the tech girlies π§
β¨ INTERNAL INTERPRETER COMMANDS β¨
okay so dosbox-x supports most of the internal DOS commands you'd find in COMMAND.COM. help text is integrated for these commands in DOSBox-X, and it will not be duplicated here. an explanation of these commands can also be found on the DOSBox-X wiki, on the Supported Commands page.
here's the whole roster, alphabetically iconic:
ALIAS, ATTRIB, BREAK, CALL, CD/CDDIR, CHCP, CHOICE, CLS, COPY, COUNTRY, CTTY, DATE, DEL/ERASE, DELTREE, ECHO, EXIT, DIR, FOR, GOTO, HELP, IF, LFNFOR, LH/LOADHIGH, MD/MKDIR, MORE, PATH, PAUSE, PROMPT, RD/RMDIR, REM, REN/RENAME, SET, SHIFT, SUBST, TIME, TRUENAME, TYPE, VER, VERIFY, VOL
β¨ OTHER PROVIDED COMMANDS β¨
and there's MORE, because in addition, the following extra commands are available on the emulated Z: drive:
Note β some commands (like NE2000) are only present in case the corresponding feature is enabled. so if it's missing, check your features, bestie π«Ά
Z:\4DOSβ4DOS,4HELP,OPTION,BATCOMPZ:\BINβEVAL,SHUTDOWN,DSXMENU,CWSDPMI,EMSMAGIC,UNZIP,ZIP,MPXPLAY,DOSMID,CDPLAY,DOS4GW,DOS32A,DOSIDLE,UTF16,UTF8,AUTOTYPE,ADDKEY,LS,TITLE,COLOR,SETCOLORZ:\DOSβMEM,EDIT,PRINT,DISKCOPY,DEFRAG,FORMAT,FDISK,SYS,FC,COMP,CHKDSK,BUFFERS,DEVICE,APPEND,XCOPY,SORT,REPLACE,LASTDRIV,FILES,FCBS,FIND,MOVE,DEBUG,EDLIN,CHOICE,DELTREE,TREE,LABEL,LOADFIX,MOUSE,MODE,KEYBZ:\DEBUGβHEXMEM32,HEXMEM16,A20GATE,BIOSTEST,INT2FDBG,NMITEST,LOADROM,VESAMOED,VFRCRATEZ:\SYSTEMβPARALLEL,SERIAL,MIXER,CAPMOUSE,FLAGSAVE,CFGTOOL,RESCAN,RE-DOS,COUNTRY,CONFIG,BOOT,MOUNT,IMGSWAP,IMGMAKE,IMGMOUNT,INTRO,HELP,NE2000Z:\TEXTUTILβCGA,CLR,EGA,VGA,DCGA,132X25,132X43,132X50,132X60,80X25,80X50,80X60
and that's where part 1 wraps, because there is so much more coming and we are nowhere near done yet πβ¨
β¨ SPECIAL KEYS β¨
okay bestie, these are the default keyboard combos and they are lowkey iconic π some of them only do stuff depending on which emulation you've got running, so read the lil labels, fr fr.
CTRL-F7β CGA emulation only β flip between early model and late model IBM CGA emulation πCTRL-F8β CGA emulation only β cycle between Auto, RGBI and Composite monitor output emulation β¨CTRL-SHIFT-F7β CGA emulation only β decrease Hue πCTRL-SHIFT-F8β CGA emulation only β increase Hue πCTRL-F7β CGA Mono and Hercules emulation only β cycle between Green, Amber, White and Grey πCTRL-F8β CGA Mono and Hercules emulation only β cycle between low and high brightness π‘F12-Fβ switch between fullscreen and window mode π₯οΈF12-Rβ Reset the virtual machine inside DOSBox-X πF12-Bβ Reboot the emulated DOS (integrated DOS or guest DOS) inside DOSBox-X πF12-Cβ Start DOSBox-X's graphical configuration tool βοΈF12-Mβ Start DOSBox-X's mapper editor πΊοΈF12-Escβ Show/hide DOSBox-X's drop-down menu bar πF12-Delβ Send the selected special key combination (Ctrl+Alt+Delby default) to the guest system πF12-{+}β Increase the sound volume of DOSBox-X's emulated DOS πF12-{-}β Decrease the sound volume of DOSBox-X's emulated DOS πF12-]β Increase the emulated DOS's current speed relative to real-time β©F12-[β Decrease the emulated DOS's current speed relative to real-time βͺF12-{=}β Increase DOSBox-X's emulation CPU cycles π₯F12-{-}β Decrease DOSBox-X's emulation CPU cycles π₯F12-Upβ Increase the font size for the TrueType font (TTF) output πF12-Downβ Decrease the font size for the TrueType font (TTF) output πF12-Leftβ Reset the emulated DOS's current CPU speed to the normal speed β±οΈF12-Rightβ Toggle DOSBox-X's speed lock πF12-Dβ Swap between mounted CD images πΏF12-Oβ Swap between mounted floppy images πΎF12-Pβ Take a screenshot of the current screen in PNG format πΈF12-Iβ Start/Stop capturing an AVI video of the current session π₯F12-Wβ Start/Stop recording a WAV audio of the current session ποΈAlt+Pauseβ Start DOSBox-X's Debugger πF12-[,]β Select the previous save slot to save to or load from β¬ οΈF12-[.]β Select the next save slot to save to or load from β‘οΈF12-Sβ Save current state to the selected save slot πΎF12-Lβ Load the state from the selected save slot πF12-Pauseβ Pause emulation (press again to continue) βΈοΈCtrl+F5β Copy all text on the DOS screen to the host clipboard πCtrl+F6β Paste the text in the host clipboard to the DOS screen π₯Ctrl+F9β Exit DOSBox-X πͺCtrl+F10β Capture the mouse for use with the emulated DOS π±οΈ
These are the default keybindings. They can be changed in the keymapper. β¨
Saved/recorded files can be found in current_directory/capture (can be changed in the configfile). The directory has to exist prior to starting dosbox-x else nothing gets saved or recorded! π no cap, it will just silently not save and you'll be sad.
Note Once you increase your dosbox-x cycles beyond your computer's maximum capacity, it will produce the same effect as slowing down the emulation. This maximum will vary from computer to computer, there is no standard. π
π± ENVIRONMENT π±
Any configuration option can be overridden using an environment variable. Environment variables starting with prefix DOSBOX are processed and interpreted as follows:
DOSBOX_SECTIONNAME_PROPERTYNAME=value
For example, you can override the render aspect this way:
$ DOSBOX_RENDER_ASPECT=false dosbox-x
π BUGS π
To report a bug, please visit https://github.com/joncampbell123/dosbox-x/issues π«Ά the maintainers do read them, bestie.
π RESOURCES π
- project web site: https://dosbox-x.com π
- Project Wiki: https://dosbox-x.com/wiki π
π AUTHOR π
DOSBox-X is maintained by the DOSBox-X Team π
and that's the whole page, bestie!! π this was DOSBOX-X(1), dated 2022-04-26 β go forth and emulate, you absolute icon πβ¨π¦
π¦ where this page comes from
- debian trixie: dosbox-x 2025.02.01+dfsg-3 Β· GPL-2.0-or-later
- nixos 26.05: dosbox-x 2026.05.02
- nixpkgs unstable: dosbox-x 2026.10.01
- ubuntu noble: dosbox-x 2024.03.01+dfsg-1build2 Β· GPL-2.0-or-later
- ubuntu questing: dosbox-x 2025.02.01+dfsg-3
- ubuntu resolute: dosbox-x 2026.01.02+dfsg-2 Β· GPL-2.0-or-later
- ubuntu stonking: dosbox-x 2026.08.02+dfsg-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms