Jump to content

DOSBox

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Smiles Aloud (talk | contribs) at 23:50, 10 January 2011. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

DOSBox
Original author(s)Peter Veenstra
Developer(s)DOSBox Team
Initial release22 July 2002[1]
Stable release
0.74 / 12 May 2010; 14 years ago (2010-05-12)
Repository
Written inC, C++
Operating systemCross-platform
TypeEmulator
LicenseGNU General Public License
Websitewww.dosbox.com

DOSBox is emulator software that emulates an IBM PC compatible computer running MS-DOS. It is intended especially for use with old PC games. DOSBox is free software.

DOSBox can be used to run old MS-DOS software, especially games that would otherwise not work on modern computers.

Features

DOSBox is a command-line program, configured either by a set of command-line arguments or by editing a plain text configuration file. For ease of use, several graphical front-ends have been developed by the user community.[2]

DOSBox is a full CPU emulator, capable of running DOS programs that require the CPU to be in either real mode or protected mode.[3] Other similar programs, such as dosemu or VDMs for Windows and OS/2, provide compatibility layers and rely on virtualization capabilities of the 386 family processors. Since DOSBox can emulate its CPU by interpretation, it is independent of its host CPU.[3] However, on systems which provide the i386 instruction set, the option to use dynamic instruction translation is available in DOSBox. Though this setting is less accurate and reliable, it is faster than interpretive CPU emulation.

It is capable of emulating many types of graphics and sound hardware. Graphics emulation includes text mode, Hercules, CGA (including composite and 160x100x16 tweaked modes), Tandy, EGA, VGA (including Mode X and other tweaks), VESA, and full S3 Trio 64 emulation.[3] Sound hardware that can be emulated includes the PC speaker, AdLib, Gravis Ultrasound, Tandy, Creative Music System/GameBlaster, Sound Blaster 1.x/2.0/Pro/16, MPU-401, and Disney Sound Source. (MT-32/CM-32L emulation is included in unofficial builds, but not in the official source code repository due to need for copyrighted ROM images.) Storage is handled by mapping (either through the configuration file or through a command within the emulator) a drive letter in the emulator to a directory, image file or CDROM drive on the host. A permanently mapped Z: drives stores dosbox commands and startup scripts.

A popular feature of DOSBox is its ability to capture screenshots and record gameplay footage. The video is compressed using the Zip Motion Block Video codec.[4] In its uncompressed state the footage is almost an exact replica of the actual program. The video recording feature was added in version 0.65. In earlier versions, one had to rely on custom modifications and a third-party screen recorder to record video, but the quality and emulator performance was generally very poor.[5]

A component that differentiates DOSBox from other emulators is its ability to simulate peer-to-peer or Internet/Intranet networking. This includes modem simulation over TCP/IP, allowing for DOS modem games to be played over modern LANs or the Internet, and IPX network tunneling, which allows for old IPX DOS multiplayer games to be played as UDP/IP over modern LANs or the Internet. Win32 and Linux specific builds support direct serial port access. Certain third-party patches also allow DOSBox to emulate an NE2000-class network interface card as a passthrough to the host computer's own network card, essentially allowing full internet connectivity (for example, using Windows 3.1 and Trumpet Winsock) and web browsing using programs such as Netscape Navigator, albeit with little real world utility other than as a curiosity.

DOSBox contains its own internal DOS-like shell, rather than being a fully virtual PC emulator like Bochs. This means that it can be used without owning a license to any real DOS operating system. Most commands that are typically used in installer batch files are supported, but many of the more advanced commands of later MS-DOS versions (e.g. post-Windows 98 DOS shells) are not. In addition to its internal shell, it also supports running image files of games and software originally intended to start without any operating system.

DOSBox is capable of timing-compatible implementation of the serial ports, and can run older hardware and software dependent on such; however, some USB devices that are supported by the host OS can act as a replacement for older serial port devices when using the emulator.

File:DOSBOX Windows 3.1.png
Microsoft Windows 3.1 running in DOSBox, on Windows XP.

It can also be used to run many non-game DOS programs, including Windows 3.1 and Windows 95 in BOOT mode. However, the project has a policy of not adding features that are of no use for DOS games though Windows 3.1 assists emulation of classic Win16 games such as the ones bundled with Windows Entertainment Pack.

Ports

DOSBox uses the Simple DirectMedia Layer and has been ported to many operating systems including Microsoft Windows, Mac OS X v10.3 or later (for example, Boxer), Linux, KolibriOS, and eComStation. Using the HX DOS Extender, it can even run in DOS.[6] The source code has also been forked to provide compatibility on a number of non-x86 PC computer platforms, including the Palm OS, PlayStation Portable, Symbian, Maemo, Wii, and the GP2X, on various computing architectures including PowerPC, SPARC, MIPS and ARM. DOSBox is included in the software repositories for many Linux distributions such as Fedora, Debian, and Ubuntu.

Commercial deployment

id Software has used DOSBox to re-release vintage games such as Wolfenstein 3D and Commander Keen on Valve's Steam. In the process, it was reported they violated the program's license, the GNU GPL; the issue, which was reported as an oversight, was promptly resolved.[7][8] Activision Blizzard has also used it to re-release Sierra Entertainment's DOS games. LucasArts used it to re-release Star Wars: Dark Forces for modern machines on Steam. 2K Games producer Jason Bergman stated the company used DOSBox for Steam re-releases of certain parts of the X-Com series.[9] GOG.com uses DOSBox for some of their releases.[10] Bethesda Softworks recommends DOSBox and provides a link to the DOSBox website on the downloads page for The Elder Scrolls: Arena and The Elder Scrolls II: Daggerfall.[11] 3D Realms also recommends DOSBox and like Bethesda Softworks, provides a link to the DOSBox website on their downloads page.[12]

See also

References

  1. ^ "Project of the Month, May 2009". SourceForge. Retrieved 2009-09-29.
  2. ^ "DOSBox Frontends". DOSBox. 2008-12-15. Retrieved 2009-01-03.
  3. ^ a b c Qbix (2008-04-30). "Interview with Qbix" (Interview). Interviewed by Classic Dos Games. Retrieved 2009-01-03.
  4. ^ "DosBox Capture Codec". 2008-03-09. Retrieved 2009-01-03.
  5. ^ bakkelun (2008-03-07). "Recording video from DosBox". Retrieved 2009-01-03.
  6. ^ japheth. "HX DOS Extender". Retrieved 2009-01-02.[dead link]
  7. ^ "Are id Software and Valve Thieves?". Softpedia. 2007-08-06. Retrieved 2009-01-03.
  8. ^ Purchese, Rob (2007-08-07). "id sorts GPL Steam issue". Eurogamer. Retrieved 2009-01-03.
  9. ^ Bergman, Jason (2008-09-04). "Comments-morning discussion". Shacknews. Retrieved 2009-01-03.
  10. ^ "Our Thanks". GOG.com. Retrieved 2009-01-03.
  11. ^ "The Elder Scrolls Downloads". Bethesda Softworks. Retrieved 2009-07-12.
  12. ^ "3D Realms Site: Master Download Page". 3D Realms. Retrieved 2009-11-05.