DOSBox v0.70
: Arik (www.gh.gameslife.ru)

==========
: 
==========

   ,   ,   DOSBox    
, -   PC...   .   , 
DOSBox        
 486 PC. DOSBox        
DOS ,   CGA/Tandy/PCjr    Quake.


===========
:
===========
1.  
2. FAQ
3. 
4.  
5.  
6.  
7.  
8.      
9.    
10. 
11. 
12. 
13.   DOSBox
14. 
15.


==================
1.  :
==================

 INTRO  DOSBox.  . 


=========
2. FAQ:
=========

   :

:   Z ,  C   .
:     ?
:  CD-ROM  .
:   .
:  .
:     /.
:     \  :  DOSBox.
: /    CD-ROM.
: /   !
:  DOSBox    ?
:     / CPU/ems/soundblaster IRQ.
:     DOSBox?
: DOSBox   
:  README,       .





:    Z,  C   .
:          DOSBox,    
   "mount"  (). ,  Windows "mount C D:\GAMES"  
    C  DOSBox      D:\GAMES  Windows.  Linux,
   "mount c /home/username"  C  DOSBox    /home/username  Linux.
      , ,   ,  "C:".  
    , DOSBox   "C:\>".

:     ?
:  alt-enter. :    DOSBox, 
    fullscreen=false  fullscreen=true.  " "    
    ,   fullresolution   
   DOSBox.      :
     alt-enter.


:  CD-ROM  .
:   CD-ROM  DOSBox     
     .
        CD-ROM:
   - mount d f:\ -t cdrom
       SDL:
   - mount d f:\ -t cdrom -usecd 0
      ioctl-(win2k/xp/linux):
   - mount d f:\ -t cdrom -usecd 0 -ioctl
      aspi- (win98   aspi-layer):
   - mount d f:\ -t cdrom -usecd 0 -aspi
   
    : - d     ,    DOSBox
               - f:\   cdrom   PC
               - 0     cdrom ,   mount -cd
     : /    CD-ROM.


:   .
:  DOSBox ,     .   
     ,   (     DosBox)   
   .    DOSBox'     . 
          ,  ctrl-F10.


:  .
: ,      .       
           setup/setsound,   . 
    ,    autodetection ().   
   ,   soundblaster  soundblaster16   
   "address=220 irq=7 dma=1"  DosBox  -.   
    midi  address 330   .
             DosBox.
      ,  core ()  normal    
    cycles (),   cycles=2000.  ,   
        .


:     /.
:      ,     
   .    :  ,    
      .      (prebuffer) 
     .
      cycles=max  =auto,      
    ! (      )


:     \  :  DOSBox.
:   .  ,      US 
   .  :
   1.      .
   2.  /  \.
   3.  dosbox.conf   usescancodes=false  usescancodes=true.
   4.  ,     "config ".
   5.    dos' (  7  ).
   5.    (CTRL-F1   -startmapper  
     DOSBox)
   6.  ALT-58  :  ALT-92  \.
   7.  \     "enter".  ":"  shift   
    "enter"  "l" (US ).
   8.  keyb.com  FreeDOS (http://projects.freedos.net/keyb/).
       keyb2.0 pre4,          .


: /    CD-ROM.
: ,   CD-ROM  -t cdrom ,   
    MSCDEX,  DOS     CD-ROM'.
        (-label ).   
    CD-ROM        
    (mount): -usecd #,  #   CD-ROM   
   mount -cd.    Win32,    -ioctl  -aspi. 
           .
    Windows    -ioctl  -aspi.     
       .


: /   !
:   "   "   .


Q:  DOSBox    ?
A: DOSBox      , ,   
    .  
    cycles ()     CPU.
     cycles       ,
     DOSBox.


:     / CPU/ems/soundblaster IRQ ().
:  !    : config -writeconf 
   _.
            
   .   DOSBox    : dosbox -conf 
   _.


:     DOSBox?
: DOSBox     :
   -  PC speaker
                             
         .
   - Creative CMS/Gameblaster
       ,  Creative Labs(R).    
        0x220.  ,     Adlib 
        .
   - Tandy 3 voice
            noise channel. 
     Noise channel     ,  ,   
         .
   - Tandy DAC
      Tandy DAC   soundblaster,   ,
      soundblaster   (disabled)    DOSBox. Tandy DAC
         BIOS.
   - Adlib
       MAME,       
     Adlib's    .
   - SoundBlaster 16/ SoundBlaster Pro I & II /SoundBlaster I & II
     - DOSBox  Soundblaster 16
     16-bit'  .      SoundBlaster
        DOSBox (  : CONFIG).
   - Disney Soundsource
       .       
     .
   - Gravis Ultrasound
         ,  MIDI   
        ,  MPU-401   .
   - MPU-401
     MIDI passthrough interface  .     
           General Midi  MT-32 
     .

: DOSBox   
:       DOSBox,   -   
    SDL_AUDIODRIVER alsa  oss.

:  README,       .
:  " DOSBox  "    
   http://vogons.zetafleet.com/viewforum.php?f=39  .
       the wiki of dosbox:
   http://dosbox.sourceforge.net/wiki/


       README /  
/:
http://dosbox.sourceforge.net




=================
3. :
=================

 ,      DOSBox.
 Windows     cmd.exe  command.com  
   DOSBox.exe.
     ,       
:

dosbox [name] [-exit] [-c command] [-fullscreen] [-conf congfigfile] 
       [-lang languagefile] [-machine machinetype] [-noconsole]
       [-startmapper] [-noautoexec]
       
dosbox -version

  name   
         "name"       C:.
          "name"  ,     "name"  
 C:     .
    
  -exit  
        DOSBox  ,  DOS  "name" .

  -c command
             "name".    
         .       "-c". 
          :  , DOS    
           .

  -fullscreen
         DOSBox   .

  -conf configfile
         DOSBox  ,     (configfile).
           -conf .
          10  .

  -lang languagefile
         DOSBox,  ,     
        (languagefile).

  -noconsole (Windows Only)
         DOSBox   .     
        stdout.txt  stderr.txt
	
  -machine machinetype
         DOSBox    .  
        : hercules, cga, pcjr, tandy, vga (-).    
               .

  -startmapper
               .   
        ,     .

  -noautoexec
          [autoexec]   .

  -version
             .   .

:  // /    
      ,   // /   
      ("   ").       
      (   -c  ):
       Windows  OS/2      . 
       -    (\)   .
      win -c "mount c 'c:\program files\'" 
      linux -c "mount c \"/tmp/name with space\""

 :

  dosbox c:\atlantis\atlantis.exe -c "MOUNT D C:\SAVES"
    c:\atlantis  c:\   atlantis.exe.
       C:\SAVES   D.

 Windows     /    dosbox.
 


=======================
4.  :
=======================

DOSBox    DOS   command.com. 
      "HELP"   .

  ,   : 

MOUNT "  " "    " 
      [-t type] [-aspi] [-ioctl] [-usecd number] [-size drivesize] 
      [-label drivelabel] [-freesize size_in_mb]
MOUNT -cd
MOUNT -u "  "

          DOSBox.

  "  "
           dosbox (. C).

  "   ( CD-ROMs  Windows)  "
         ,      dosbox.
        ( Win32    ,   "  ".
	  : mount c c:\)

  -t type
          . : dir (-),
        floppy, cdrom.

  -size drivesize
          .

  -freesize size_in_mb
                . 
           -size.	

  -label drivelabel
            "drivelabel".   , 
          cd   . ,        
        cdrom.            (-usecd # 
        and/or -ioctl/aspi):  win32:    " ".  Linux:  
          NO_LABEL.

           ,    ,   . 
           !!

  -aspi
          aspi layer.     
        cdrom  Windows  ASPI-Layer.

  -ioctl   
          ioctl .     
        cdrom  Windows,    (Win2000/XP/NT).

  -usecd number
          SDL  cdrom    .
              -cd.    .

  -cd
           cdrom    .   -
        usecd.

  -u
          .    Z:\.

:    ,  cdrom.  
             .

   MOUNT        DOSBox' 
   PC.  MOUNT C C:\GAMES  DOSBox   C:\GAMES 
    C:  DOSBox.         
  ,     . 
  
   : Touche: Adventures of The Fifth Musketeer     
   C:.  DOSBox     (mount),   
   ,  ,     C,        
  ,   . ,     D:\OLDGAMES\TOUCHE,   
    MOUNT C D:\OLDGAMES     Touche 
    D.

     C MOUNT C C:\  !       
  ,  CD-ROMs (   " ").   
      DOSBox,      .
      /     .
    

     (MOUNT):
  1.   c:\DirX  floppy (): 
       mount a c:\DirX -t floppy
  2.    cdrom  E  cdrom  D  DOSBox:
       mount d e:\ -t cdrom
  3.    cdrom  /media/cdrom  cdrom  D  
     dosbox:
       mount d /media/cdrom -t cdrom -usecd 0
  4.     870 mb   ( ):
       mount c d:\ -freesize 870
  5.     870 mb   (  
     ,  ):
       mount c d:\ -size 4025,127,16513,1700
  6.   /home/user/dirY   C  DOSBox:
       mount c /home/user/dirY


MEM
       .

CONFIG [-writeconf] [-writelang] localfile
CONFIG -set "="
CONFIG -get ""

  CONFIG   ,        
DOSBox   .          
.            
 11 ( ).

  -writeconf localfile
            . "localfile" 
         ,       DOSBox. 
            DOSBox: 
         ,      .
            AUTOEXEC.BAT.
         11 ( )   .

  -writelang localfile
           . "localfile" 
         ,       DOSBox.
              
         dos.

  -set " ="
       CONFIG     .   
       CONFIG   ,      .

  -get " "
                
       %CONFIG%.          (bat).

   "-set"  "-get"         
        .
  
  :
  1.        :
      config -writeconf dosbox.conf
  2.     CPU  10000:
      config -set "cpu cycles=10000"
  3.    ems :
      config -set "dos ems=off"
  4.  ,   cpu .
      config -get "cpu core"


LOADFIX [-size] [program] [program-parameters]
LOADFIX -f
       .    
  ,       . 

  -size	        
         ,   "", - = 64kb
  
  -f
            
  

:
  1.   mm2.exe   64kb  
     (mm2    64 kb ) :
     loadfix mm2
  2.   mm2.exe   32kb  :
     loadfix -32 mm2
  3.     :
     loadfix -f


RESCAN
   DOSBox   . ,   - 
       DOSBox. (CTRL - F4    
  !)
  

MIXER
     . 
       :
  
  mixer channel left:right [/NOSHOW]
  
  channel
          : MASTER, DISNEY, SPKR, GUS, SB, FM.
  
  left:right
         .    D  ,    
       ( mixer gus d-10).
  
  /NOSHOW
      DOSBox    ,       
      .

  /LISTMIDI
        midi    pc (Windows).   
          - Windows midi-mapper,
       
      'config=id'   [midi]   , 
      'id'  ,    LISTMIDI.
  
  
IMGMOUNT
         CD-ROM  DOSBox.
  
  IMGMOUNT DRIVE [imagefile] -t [image_type] -fs [image_format] 
            -size [sectorsbytesize, sectorsperhead, heads, cylinders]

  imagefile
            DOSBox.   
         DOSBox   .  
          CD-ROM (ISO  CUE/BIN),   
         CD,      
      . 
      CD        CTRL-F4. 


CD-ROM     
      .        .
   
  -t 
         :
        floppy:   floppy ()   .  DOSBox 
                    
                ( 360K, 1.2MB, 720K, 1.44MB, ).
        iso:      CD-ROM iso .    
                    .    iso  cue/bin.
        hdd:        .     
                  CHS .

  -fs 
         :
        iso:    ISO 9660 CD-ROM .
        fat:    ,      FAT. DOSBox 
                     DOSBox   
                DOSBox.
        none: DOSBox        .  
                     , 
               BOOT .
                "none"       
              (2  3,  2 = master, 3 = slave)   .  , 
                  70MB  slave ,  :
                "imgmount 3 d:\test.img -size 512,63,16,142 -fs none" 
                ( )         
                 DOSBox,    : 
                "imgmount e: d:\test.img -size 512,63,16,142"

  -size 
     ,    .
          .
     
  ,    CD-ROM:
    1a. mount c /tmp
    1b. imgmount d c:\myiso.iso -t iso
   (  ):
    2. imgmount d /tmp/myiso.iso -t iso


BOOT
  Boot  floppy         
     DOSBox.      
          DOSBox.
     PCjr (machine=pcjr),    
      PCjr (.jrc). 

  BOOT [diskimg1.img diskimg2.img .. diskimgN.img] [-l driveletter]
  BOOT [cart.jrc]  ( PCjr)

  diskimgN.img 
         floppy ,     
      ,  DOSBox    .    
       CTRL+F4.       . 
         ,    .

  [-l driveletter]
         ,    . 
     -   A, floppy .        
          "-l C"  ,   slave 
      "-l D"

  cart.jrc ( PCjr)
        PCjr,     BOOT. 
       .


IPX

     IPX     DOSBox.

      IPX      DOSBox 
  IPXNET.    IPX   DOSBox  "IPXNET HELP" ( 
  )        . 

      ,     .   , 
    "IPXNET STARTSERVER" ( ).  
  DOSBox         IPX.   
         IPX   
    "IPXNET CONNECT <     IP>". 
   ,     bob.dosbox.com,    "IPXNET 
  CONNECT bob.dosbox.com"   ,    . 

   ,   Netbios,     NETBIOS.EXE  Novell.
    IPX,   ,   "netbios.exe".
  
     IPXNET : 

  IPXNET CONNECT 

     IPXNET CONNECT    IPX tunnelling server   
       DOSBox.  "address"  IP     
      .       UDP. -
      IPXNET   213,  IANA   IPX tunnelling,  
       . 

      IPXNET CONNECT: 
     IPXNET CONNECT address <> 

         , UDP  <port>   
       ,   .

        Linux/Unix   1023     
      root.    1023   .

  IPXNET DISCONNECT 

     IPXNET DISCONNECT    IPX tunnelling server. 

     IPXNET DISCONNECT: 
     IPXNET DISCONNECT 

  IPXNET STARTSERVER 

     IPXNET STARTSERVER  IPX tunneling server    DOSBox. -
     ,       UPD 213,    
      .   , DOSBox    
       IPX tunnelling server. 

      IPXNET STARTSERVER: 
     IPXNET STARTSERVER <> 

  IPXNET STOPSERVER 

     IPXNET STOPSERVER  IPX tunnelling server    
      DOSBox. ,      , 
            ,   
      IPX tunnelling server. 

      IPXNET STOPSERVER: 
     IPXNET STOPSERVER 

  IPXNET PING 

     IPXNET PING     IPX tunnelled network. 
                
     ,        . 

      IPXNET PING: 
     IPXNET PING 

  IPXNET STATUS 

     IPXNET STATUS      IPX tunnelling 
     network  DOSBox.   ,     
      IPXNET PING. 

   IPXNET STATUS : 
  IPXNET STATUS 


KEYB [languagecode [codepage [codepagefile]]]
    .       
    7.

  [languagecode]  ,    (    )
     ,  GK ()  IT ().  ,  
      .

  [codepage]       (codepage),  
      . 
            ,
         .
         ,     
        .

  [codepagefile]       , 
         DOSBox.    DOSBox    .


  :
  1)     (   
      858):
       keyb gr
  2)        866:
       keyb ru 866
          ALT+RIGHT-SHIFT.
  3)        850 (  
         EGACPI.DAT):
       keyb fr 850 EGACPI.DAT
  4)     858 (  ):
       keyb none 858
       ,      freedos keyb2 .


    /?     .



=======================
5.  :
=======================

ALT-ENTER          .
ALT-PAUSE      .
CTRL-F1         .
CTRL-F4          .     
 !
CTRL-ALT-F5   /    . (     avi)
CTRL-F5        . (png)
CTRL-F6       /    wave .
CTRL-ALT-F7   /  OPL .
CTRL-ALT-F8   /  MIDI .
CTRL-F7         .
CTRL-F8         .
CTRL-F9        DosBox.
CTRL-F10      / .
CTRL-F11        ( DOSBox ).
CTRL-F12        ( DOSBox ).
ALT-F12          ( ).

  -.       .

/      _/capture 
(    config ). 
     DOSBox    
/!

:    DOSBox     
 ,      .  
     .



=========================
6.  :
=========================

      DOSBox (  ,   
CTRL-F1   -startmapper    DOSBox),     
    .

 ,    DOSBox,    
DOS .      ,      , 
     (EVENT)      .

Event: 
BIND: 
                        Add   Del
mod1  hold                    Next
mod2
mod3


EVENT
      // ,  DOSBox    
    .
BIND
          //  
      (  SDL),    
      (EVENT).
    mod1,2,3 
    .  ,       
      (BIND). mod1 = CTRL  mod2 = ALT.    
          DOSBox.
Add 
          (EVENT).   
            ( , 
     /) ,      DOSBox.
Del 
        .      
    ,     (    
       ).
Next
      ,    .


:
1.     X    Z  DOSBox.
    .   Z   .  "Add".  
     X   . 

2.    "Next"    ,  Z    
    "" Z   DOSBox.
    .  Z    "Next",     Z   BIND. 
      "Del".

3.      DOSBox  ,   X  
     ZX.
    . X       X!  X   
       "Next"    X   BIND.  "Del".


   :
     ,     DOSBox,   
          (,   
   ):
    1)  mapper ( ),      
          (   Mod1/Mod2).
        EVENT   key_left.    Add    
         ,      BIND.
    2)        ,  
             (/).
    3)   Save,   Exit    - .

     -y ,     
     ,    ,     
   :
    1)  mapper ( )    Y-    
         (   ,   )   
          (  ,    , 
         ).
       EVENT   jaxis_0_1- ( jaxis_1_1-).
    2)   Del,    ,   Add 
         .    .
    3)   Y+,      - .


    -,       
"Save". DOSBox    ,    
(mapperfile=mapper.txt).   DOSBox   ,  
    .


=========================
7.  :
=========================

         
"keyboardlayout"  [dos]-  dosbox.conf    DOSBox
keyb.com.        dos ( ),
    keyb.com    .

 
  DOSBox      -,
          (,
  keyboardlayout=sv    DOSBox,   "keyb sv"   
  ).
  
    :
  BG (Bulgaria), CZ243 (Czech Republic), FR (France), GK (Greece),
  GR (Germany), HR (Croatia), HU (Hungary), IT (Italy), NL (Netherlands),
  NO (Norway), PL (Poland), RU (Russian Federation), SK (Slovakia), SP (Spain),
  SU (Finland), SV (Sweden)

    ,    ""  
    (US),  CTRL+ALT+F2.
     (  GK codepage 869  RU
  codepage 808)   ,     
   LEFT-ALT+RIGHT-SHIFT     LEFT-ALT+LEFT-SHIFT.

  
    freedos .kl (freedos keyb2  )  
  freedos keyboard.sys/keybrd2.sys/keybrd3.sys ,    
    .kl.
   http://projects.freedos.net/keyb/   
  .

   .CPI (MSDOS/   )  .CPX (freedos UPX-compressed
    )   .      
  DOSBox,          .  
      ,     
   DOSBox,      DOSBox.

         
  .kl-file   dosbox.conf       
   .
  :   UZ.KL (   ) 
          "keyboardlayout=uz"  dosbox.conf.


 ,        ,
      .      
  DOSBox      ,   
   DOSBox.



====================================================
8.      :
====================================================
 
DOSBox      (nullmodem)   
  .       [serialports]  
  DOSBox.

  nullmodem ,     ,   -
.

       DOSBox  :
   serial1=nullmodem

:
   serial1=nullmodem server:<IP   >

     nullmodem / serial cable / already connected
  multiplayer   COM1.     (baudrate) 
  .

 ,       
 nullmodem.   :

 * port:         -   TCP. -: 23
 * rxdelay:      -   ( )   ,  
                     .   ,    
                         DOSBox. 
                   -: 100
 * txdelay:      -       . -: 12
                   (   )
 * server:       -  nullmodem  ,    .
                   (  server:  .)
 * transparent:1 -    ,  RTS/DTR 
                    .  ,    - 
                    nullmodem.
 * telnet:1      -   Telnet   . 
                     transparent.
 * usedtr:1      -    ,  DTR     
                   on DOS .    .
                     transparent.
 * inhsocket:1   -  ,  DOSBox  .  
                     transparent.
                   ( :      DOS  
                   (  door games)    BBS.)

:  ,  TCP  5000.
   serial1=nullmodem port:5000 rxdelay:1000



======================================
9.    : 
======================================

DOSBox  CPU,    ,    PC  
   .    DOS   ,  
   ,     
( ).

 CPU
  - (cycles=auto) DOSBox  ,    
       .    
    ,  cycles=max    DOSBox.
   DOSBox     "Cpu Cyles: max".      
         ( CTRL-F11) 
      (CTRL-F12).
  
          , 
       DOSBox   cycles=30000.   
   DOS        CTRL-F12  , 
         CPU.     
       CPU,      
  Windows 2000/XP     Windows 95/98/ME.     CPU 
    100% -  DOSBox    ,     
  ,  ,  CPU,  DOSBox. 

 CPU
   x86        
    ( core=dynamic    DOSBox).
      ,    (core=auto)  .
       cycles=max.  ,    , 
       ,      !

 
  VGA     DOSBox     CPU. 
      (  )  CRTL+F8. 
    CPU  ,      
   .        ,    
    . , ,   :   
    ,   . 

 
         setup ,    
     CPU.  nosound=true     , 
      .

      DOSBox,      
  DOSBox.


   :
 cycles=auto  cycles=max   ,    
  .
:
  cycles=auto ["-  realmode"] ["-  protected mode"%] 
              [limit " "]
  cycles=max ["-  protected mode"%] [limit " "]
:
  cycles=auto 1000 80% limit 20000
    cycles=1000  real mode ,   80% cpu  
  protected mode      20000


====================
10.  :
====================

DOSBox    :
  -      output=    DOSBox
  -       DirectX

      DOSBox,     
 :
  -     DOSBox
    (  )
  -     (  ,    
    ,      sbtype=none  gus=false)
  -       DOSBox,   
    :
      core=normal
         (  cycles=10000)
      ems=false
      xms=false
       
  -  loadfix   

     DOSBox     :
  -        
  -     
  -   ,     ,
    ,     "mount d d:\oldgames\game" 
    "mount c d:\oldgames\game"  "mount c d:\oldgames"
  -     cdrom, ,    "-t cdrom", 
     ,     
  -      (  " ",   
      .)
  -     dosbox


====================
11.  :
====================

     CONFIG.COM,      
  Z: DosBox.    " " readme 
     CONFIG.COM.
      config   DOSBox.

     (   []). 
   ,    .
#  %  . 
     .     
  DOSBox  -conf ,       
.

  DOSBox     ~/.dosboxrc (Linux),
~\dosbox.conf (Win32)  "~/Library/Preferences/DOSBox Preferences"
(MACOSX).  DOSBox     ,  
 -conf.       -conf , 
DOSBox       dosbox.conf.



==================
12.  :
==================

       CONFIG.COM. 
   ,  ,    . 
 DOSBox   -lang      
           (config)  
[dosbox] .
language=    .



=========================================
13.    DOSBox:
=========================================

 .
 INSTALL    .



=========================
14.  :
=========================
Vlad R.  VDMSound       SoundBlaster.
Tatsuyuki Satoh  Mame Team    FM .
The Bochs  DOSemu ,     .
Freedos      .
Pierre-Yves Grardy    Beta Board.
Colin Snover    .
Jantien   .
Shawn  Johannes    MAC OS X PPC.
Ido Beeri  .
.



==========
15. :
==========

 : 
http://dosbox.sourceforge.net
 email    (The Crew-page).
