


User Commands                                           DOSBOX(1)



NNNNAAAAMMMMEEEE
     dosbox - an x86/DOS emulator with sound/graphics

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
     ddddoooossssbbbbooooxxxx [[[[-ffffuuuullllllllssssccccrrrreeeeeeeennnn]]]] [[[[-ssssttttaaaarrrrttttmmmmaaaappppppppeeeerrrr]]]]  [[[[-nnnnooooaaaauuuuttttooooeeeexxxxeeeecccc]]]]  [[[[-ssssccccaaaalllleeeerrrr
     _s_c_a_l_e_r]]]]  [[[[-ffffoooorrrrcccceeeessssccccaaaalllleeeerrrr  _s_c_a_l_e_r]]]]  [[[[-ccccoooonnnnffff  _c_o_n_f_i_g_f_i_l_e]]]]  [[[[-llllaaaannnngggg
     _l_a_n_g_f_i_l_e]]]] [[[[ffffiiiilllleeee]]]] [[[[-cccc _c_o_m_m_a_n_d]]]] [[[[-eeeexxxxiiiitttt]]]] [[[[-mmmmaaaacccchhhhiiiinnnneeee _m_a_c_h_i_n_e_t_y_p_e]]]]

     ddddoooossssbbbbooooxxxx ----vvvveeeerrrrssssiiiioooonnnn

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     This manual page briefly documents ddddoooossssbbbbooooxxxx, an x86/DOS emula-
     tor.

     The optional ffffiiiilllleeee argument should be a DOS executable  or  a
     directory.  If  it  is a dos executable (.com .exe .bat) the
     program will run automatically. If it is a directory, a  DOS
     session will run with the directory mounted as C:\.

     For an introduction type _I_N_T_R_O inside ddddoooossssbbbbooooxxxx.

OOOOPPPPTTTTIIIIOOOONNNNSSSS
     A summary of options is included below.

     -ffffuuuullllllllssssccccrrrreeeeeeeennnn
          Start ddddoooossssbbbbooooxxxx in fullscreen mode.

     -ssssttttaaaarrrrttttmmmmaaaappppppppeeeerrrr
          Start the internal keymapper on startup of ddddoooossssbbbbooooxxxx.  You
          can use it to change the keys ddddoooossssbbbbooooxxxx uses.

     -nnnnooooaaaauuuuttttooooeeeexxxxeeeecccc
          Skips the [autoexec] section of the  loaded  configura-
          tion file.

     -ssssccccaaaalllleeeerrrr _s_c_a_l_e_r
          Uses the graphical scaler specified by _s_c_a_l_e_r. See  the
          configuration file for the available scalers

     -ffffoooorrrrcccceeeessssccccaaaalllleeeerrrr _s_c_a_l_e_r
          Similar to the -ssssccccaaaalllleeeerrrr parameter, but  tries  to  force
          usage of the specified scaler even if it might not fit.

     -cccc _c_o_m_m_a_n_d
          Runs the specified _c_o_m_m_a_n_d before running ffffiiiilllleeee.  Multi-
          ple  commands  can  be  specified.  Each _c_o_m_m_a_n_d should
          start with -cccc though. A command can  be:   an  Internal
          Program,  a  DOS  command or an executable on a mounted
          drive.

     -ccccoooonnnnffff _c_o_n_f_i_g_f_i_l_e
          Start ddddoooossssbbbbooooxxxx with the options specified in  _c_o_n_f_i_g_f_i_l_e.



SunOS 5.10          Last change: Jul 01, 2007                   1






User Commands                                           DOSBOX(1)



          This  file  has a section in which you can put commands
          you wish to execute on  startup.  Multiple  _c_o_n_f_i_g_f_i_l_e_s
          can be present at the commandline.

     -llllaaaannnngggg _l_a_n_g_f_i_l_e
          Start ddddoooossssbbbbooooxxxx with the language specified in _l_a_n_g_f_i_l_e.

     -eeeexxxxiiiitttt
          ddddoooossssbbbbooooxxxx will close itself when the DOS program specified
          by ffffiiiilllleeeeends.

     -mmmmaaaacccchhhhiiiinnnneeee _m_a_c_h_i_n_e_t_y_p_e
          Setup ddddoooossssbbbbooooxxxx to emulate a  specific  type  of  machine.
          Valid   choices   are:   _h_e_r_c_u_l_e_s,  _c_g_a,  _p_c_j_r,  _t_a_n_d_y,
          _v_g_a(_d_e_f_a_u_l_t).  The machinetype has  influence  on  both
          the videocard and the available soundcards.

     -vvvveeeerrrrssssiiiioooonnnn
          Output version information and exit. Useful  for  fron-
          tends.

IIIINNNNTTTTEEEERRRRNNNNAAAALLLL CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS
     ddddoooossssbbbbooooxxxx  supports  most  of  the  DOS   commands   found   in
     command.com.  In  addition, the following extra commands are
     available:

     MMMMOOOOUUUUNNNNTTTT [[[[-tttt _t_y_p_e]]]]  [[[[-ssssiiiizzzzeeee  _s_i_z_e]]]]  _d_r_i_v_e_l_e_t_t_e_r  _s_o_u_r_c_e_d_i_r_e_c_t_o_r_y
          [[[[-iiiiooooccccttttllll]]]] [[[[-uuuusssseeeeccccdddd _n_u_m_b_e_r]]]] [[[[-llllaaaabbbbeeeellll _d_r_i_v_e_l_a_b_e_l]]]] [[[[-ffffrrrreeeeeeeessssiiiizzzzeeee
          _f_r_e_e_s_i_z_e

     MMMMOOOOUUUUNNNNTTTT -ccccdddd

     MMMMOOOOUUUUNNNNTTTT -uuuu ddddrrrriiiivvvveeeelllleeeetttttttteeeerrrr

     Program to mount local directories as drives inside ddddoooossssbbbbooooxxxx.

          _d_r_i_v_e_l_e_t_t_e_r
               The driveletter inside dosbox (eg. C).

          _s_o_u_r_c_e_d_i_r_e_c_t_o_r_y
               The local directory you want to have  inside  dos-
               box.

          -tttt _t_y_p_e
               Type of the mounted directory. Supported are:  dir
               (standard), floppy, cdrom.

          -ssssiiiizzzzeeee _d_r_i_v_e_s_i_z_e
               Sets the size of the drive. See  the  examples  in
               the README for details.

          -ffffrrrreeeeeeeessssiiiizzzzeeee _s_i_z_e__i_n__m_b



SunOS 5.10          Last change: Jul 01, 2007                   2






User Commands                                           DOSBOX(1)



               Sets the amount of free space available on a drive
               in MB's. This is a more simple version of -ssssiiiizzzzeeee.

          -llllaaaabbbbeeeellll _d_r_i_v_e_l_a_b_e_l
               Sets the name of the drive to  _d_r_i_v_e_l_a_b_e_l.  Needed
               on  some  systems  if  the  cd  label  isn't  read
               correctly. Useful when a program  can't  find  its
               cdrom.  If  you  don't  specify  a  label  and  no
               lowlevel support  is  selected  (-uuuusssseeeeccccdddd  ####  and/or
               -iiiiooooccccttttllll////aaaassssppppiiii):

               For win32: label is extracted from "Real Drive".

               For Linux: label is set to NO_LABEL.

                    long as the drive
               If you do specify a label this label will  be  kept  as
                    is mounted. It will not be updated !!

          -iiiiooooccccttttllll
               Forces to use ioctl commands.

          -uuuusssseeeeccccdddd _n_u_m_b_e_r
               Forces to use SDL cdrom support for drive  number.
               _N_u_m_b_e_r can be found by -ccccdddd.

          -ccccdddd  Displays  all  detected  cdrom  drives  and  their
               numbers. Use with -uuuusssseeeeccccdddd.

          -uuuu   Unmounts a mounted drive. Doesn't work on  virtual
               Drives (like Z:\)

     EEEExxxxaaaammmmpppplllleeee::::

     To mount your /home/dos/dosgames directory as C drive in ddddoooossssbbbbooooxxxx:
          mount c /home/dos/dosgames

     MMMMEEEEMMMM

     Display the amount of free memory

     CCCCOOOONNNNFFFFIIIIGGGG [[[[-wwwwrrrriiiitttteeeeccccoooonnnnffff]]]] [[[[-wwwwrrrriiiitttteeeellllaaaannnngggg]]]] ffffiiiilllleeee

     Write the current  configuration  or  language  settings  to
     ffffiiiilllleeee,  which  is  located  on  the  local  filesystem. Not a
     mounted drive in ddddoooossssbbbbooooxxxx.

     The configuration file controls various settings of  ddddoooossssbbbbooooxxxx:
     The  amount  of emulated memory, the emulated soundcards and
     many more things. It futher allows acces to _A_U_T_O_E_X_E_C._B_A_T.





SunOS 5.10          Last change: Jul 01, 2007                   3






User Commands                                           DOSBOX(1)



     The language file controls all visible ouput of the internal
     commands  and  the  internal  dos. See the section FFFFIIIILLLLEEEESSSS for
     more information.

     LLLLOOOOAAAADDDDFFFFIIIIXXXX [[[[-ssssiiiizzzzeeee]]]] [[[[pppprrrrooooggggrrrraaaammmmnnnnaaaammmmeeee]]]] [[[[ppppaaaarrrraaaammmmeeeetttteeeerrrrssss]]]]

     LLLLOOOOAAAADDDDFFFFIIIIXXXX -ffff

     Program to reduce the amount of   memory  available.  Useful
     for old programs which don't expect much memory to be free.

          [[[[pppprrrrooooggggrrrraaaammmmnnnnaaaammmmeeee]]]]
               The name of the program which  is  executed  after
               loadfix eats up its memory.

          [[[[ppppaaaarrrraaaammmmeeeetttteeeerrrrssss]]]]
               Parameters given to the pppprrrrooooggggrrrraaaammmmnnnnaaaammmmeeee executable.

          -ssssiiiizzzzeeee
               The amount of memory to eat up  (in  kb).  Example
               -32, -64 or -128

          -ffff   Frees all memory eaten up by loadfix.

     RRRREEEESSSSCCCCAAAANNNN

     Make ddddoooossssbbbbooooxxxx reread the directory structure.  Useful  if  you
     changed something on a mounted drive outside ddddoooossssbbbbooooxxxx.(CTRL-F4
     does this as well!)

     IIIIMMMMGGGGMMMMOOOOUUUUNNNNTTTT

     A utility to mount disk images and CD-ROM images in ddddoooossssbbbbooooxxxx.

     Read the RRRREEEEAAAADDDDMMMMEEEE of ddddoooossssbbbbooooxxxx for the full and correct syntax.

     BBBBOOOOOOOOTTTT

     Boot will start floppy images or hard disk  images  indepen-
     dent  of  the  operating system emulation offered by ddddoooossssbbbbooooxxxx.
     This will allow you to play booter floppies or boot to other
     operating systems inside ddddoooossssbbbbooooxxxx.

     Read the RRRREEEEAAAADDDDMMMMEEEE of ddddoooossssbbbbooooxxxx for the full and correct syntax.

     KKKKEEEEYYYYBBBB

     Keyb can change the keyboardlayout  and  the  codepage  used
     inside dosbox.

     Read the RRRREEEEAAAADDDDMMMMEEEE of ddddoooossssbbbbooooxxxx for the full and correct syntax.




SunOS 5.10          Last change: Jul 01, 2007                   4






User Commands                                           DOSBOX(1)



FFFFIIIILLLLEEEESSSS
     Configuration and language files use  a  format  similar  to
     Windows  .ini files. First ~/.dosboxrc (if present)  will be
     loaded. If no configfile is specified at the commandline,  a
     file named ddddoooossssbbbbooooxxxx....ccccoooonnnnffff (if present in the current directory)
     will be loaded automatically afterwards. If a configfile  is
     specified at the commandline that one will be used instead.

SSSSPPPPEEEECCCCIIIIAAAALLLL KKKKEEEEYYYYSSSS
     Fast machine. My guess would be pentium-2 400+ to get decent
     emulation  of  games  written  for an 286 machine.  For pro-
     tected mode games a 1 Ghz machine is recommended  and  don't
     expect  them  to  run fast though!! Be sure to read the next
     section on how to speed it up somewhat.

  TTTToooo rrrruuuunnnn rrrreeeessssoooouuuurrrrcccceeee-ddddeeeemmmmaaaannnnddddiiiinnnngggg ggggaaaammmmeeeessss
     ddddoooossssbbbbooooxxxx emulates the CPU, the sound and  graphic  cards,  and
     some  other   stuff, all at the same time. You can overclock
     ddddoooossssbbbbooooxxxx by using CTRL-F12, but you'll be limited by the power
     of your actual CPU. You can see how much free time your true
     CPU has by various utils (top).  Once 100% of your real  CPU
     time  is  used  there  is  no further way to speed up ddddoooossssbbbbooooxxxx
     unless you reduce the load generated by the non-CPU parts of
     ddddoooossssbbbbooooxxxx.

     So:

     Close every program but ddddoooossssbbbbooooxxxx.

     Overclock  ddddoooossssbbbbooooxxxx until 100% of your CPU is used.(CTRL-F12)

     Since VGA emulation is the most demanding part of ddddoooossssbbbbooooxxxx  in
     terms  of  actual  CPU usage, we'll start here. Increase the
     number of frames skipped (in increments of one) by  pressing
     CTRL-F8.  Your  CPU usage should decrease.  Go back one step
     and repeat this until the game runs  fast  enough  for  you.
     Please  note  that this is a trade off: you lose in fluidity
     of video what you gain in speed.

NNNNOOOOTTTTEEEESSSS
     While we hope that, one day, ddddoooossssbbbbooooxxxx will run  virtually  all
     programs  ever  made for the PC...  we are not there yet. At
     present, ddddoooossssbbbbooooxxxx run on a 1.7 Gigahertz  PC  is  roughly  the
     equivalent  of  a  25MHz 386 PC.  While the 0.60 release has
     added support for "protected mode" allowing for more complex
     and  recent programs, but note that this support is early in
     development and nowhere near as complete as the support  for
     386  real-mode games (or earlier). Also note that "protected
     mode"  games  need  substantially  more  resources  and  may
     require  a  much faster processor for you to run it properly
     in ddddoooossssbbbbooooxxxx.




SunOS 5.10          Last change: Jul 01, 2007                   5






User Commands                                           DOSBOX(1)



BBBBUUUUGGGGSSSS
     Not all  DOS  programs  work  properly.   ddddoooossssbbbbooooxxxx  will  exit
     without warning if an error occurred.

SSSSEEEEEEEE AAAALLLLSSSSOOOO
     The README in /usr/share/doc/dosbox

AAAAUUUUTTTTHHHHOOOORRRR
     This   manual   page   was   written   by   Peter   Veenstra
     <H.P.Veenstra@student.rug.nl>      and      James     Oakley
     <jfunk@funktronics.ca>, for the Debian system  (but  may  be
     used by others).

AAAATTTTTTTTRRRRIIIIBBBBUUUUTTTTEEEESSSS
     See aaaattttttttrrrriiiibbbbuuuutttteeeessss(5) for descriptions of the  following  attri-
     butes:

     box; cbp-1 | cbp-1 l | l .  ATTRIBUTE TYPE ATTRIBUTE VALUE =
     Availability   SUNWdosbox = Interface Stability Volatile

NNNNOOOOTTTTEEEESSSS
     Source for dosbox is available on http://opensolaris.org.

































SunOS 5.10          Last change: Jul 01, 2007                   6



