Search This Blog

Saturday, August 7, 2010

DOS Box Emulator

Basic Concepts

DOSBox is an emulator that recreates a MS-DOS compatible environment (complete with Sound, Input, Graphics and even basic networking). This environment is complete enough to run many classic MS-DOS games completely unmodified. In order to utilize all of DOSBox's features you need to first understand some basic concepts about the MS-DOS environment.

Installation

The first step is to install DOSBox. This guide will use the 0.72 Windows 32 version which is available for download. Download the release for your operating system. If you are a Windows user, get the Win32 installer.

After downloading, install DOSBox to any directory. Also, make a folder to put all your old games in. I put DOSBox in C:\DOSBox, and my old games directory is C:\OLDGAMES. I put a game in my OLDGAMES directory, TESTDRIV, which is Test Drive, an old racing game. Your directories should look like this:

Image:DOSBox-Folders.jpg

Running a game

Now, the hardest part, getting games to run. First, run dosbox.exe in your DOSBox folder. Remember that OLDGAMES directory you created in Step 1? You have to basically set that as new directory just for DOSBox. Essentially, it's going to become the C:\> drive of DOSBox. So, type:

Z:\>MOUNT C C:\OLDGAMES
Drive C mounted as local directory C:\OLDGAMES\

To dissect the above:

  • MOUNT: Tells the program to mount a directory
  • C: Tells the program what you want your new drive to be called (leaving it as C: is fine)
  • C:\OLDGAMES: This is the directory I want to set as the new drive for DOSBox, because all my games are in it. If you created a different directory, write in the directory you created.

(Note: If you want to mount a CD-ROM instead of a folder, type this:

Z:\>MOUNT D D:\ -t cdrom
MSCDEX installed.
Drive D is mounted as CDRom D:\

(Note: "cdrom" is case sensitive and must be lowercase!)

In this example, D:\ -T cdrom tells DOSBox that my D:\ drive is a CD-ROM drive, and the first D, tells DOSBox what my new drive name should be called. If you are running your game off a CD-ROM then make sure to use D: in place of C: in the following examples. You can find instructions on how to mount other devices, such as floppy drives, in the mount section).

After you've done this, you will be prompted with a Z:\>. Now, just write what you wanted to call your new DOSBox drive, which as I said above, we called C. To navigate to that newly mounted drive just type in:

Z:\>C:

C:\>

Hopefully, you're all set! Now, it's time to run the game. Previously I had mentioned a game called TESTDRIV in my OLDGAMES folder. I now want DOSBox to go to that folder. So type in:

C:\>CD TESTDRIV

C:\TESTDRIV>

That's it! CD stands for "Change Directory", so you've changed the directory to TESTDRIV. You can find instructions on how to use the Change Directory command, in the CD section of the Commands article.

One more step, running the game! Most games have an EXE file in their directory that you can run. However, some might require a BAT file, or COM file (common in demos and really old games). Most of the time, the file is in the root folder. Please consult the documentation of your game for which file is needed to start the game. In the case of Test Drive, it's TDCGA.EXE. So now, I just type this:

C:\TESTDRIV>TDCGA.EXE

That's it! Here's a picture of all of the commands I've written about in Step 2:

Image:Dosbox2.jpg

Alternate methods for running a game

The steps described above are closely aligned with how DOS Based operating systems behave natively. However modern operating system allow for more user friendly (although less authentic) ways of playing your favorite games. If the steps above seem tedious or confusing you can try some of these other guides. In most cases these guides will still require you to setup a working DOSBox environment.

NOTE: If you have problems with launching the game, unrecognizable errors being spit out, saving settings, or having the game drop out while running it, one thing to try is to make sure all the files are not set to Read Only. In Windows, select the folder of the game, right click and hit properties, uncheck Read Only if it is checked, and apply to all sub folders.

Programming with DOS

Programming

  • HX DOS Extender free DOS extender which contains a Win32 API emulation which allows Win32 console apps to be run in DOS
  • MoonRock v0.50 BASIC-like language with several extensions. Produces code for 8086+
  • Borland Community Museum Download Turbo C v2.01, Turbo Pascal v5.5, Turbo C++ v1.01 for free (requires login)
  • Regina v3.2 a REXX interpreter that has been ported to DOS and other OSes
  • Perl v5 Interpreted language for scanning and extracting info from text files.
  • PythonD 2.4.2 r1.0 DOS port of Python v2.2.1. Python is an interpreted, interactive, object-oriented programming language.
  • Pbats v3.2 Powerful archive of tiny batch tools from the author of GPAGE and WBAT, Horst Schaeffer.
  • WBAT v2.50 Use dialog boxes (with menus, buttons, input fields, checkboxes) in your batch files.
  • Clay's Utilities for DOS v1.3 Set of small utilities for batch files.
  • Batfiles Good website on DOS batch file programming.
  • TSBAT75.ZIP A collection of useful batch files and tricks from Prof. Timo Salmi.
  • Ozone Graphical environment, support Truetype fonts, and includes several programs
  • Seal 2.00.11 Free graphical desktop environment for DOS and for DJGPP programs.
  • OpenGEM v5 GUI (once commercial, now open source) geared for low resource PCs, distro includes several apps.
  • Allegro 4.2.1 multi-platform game programming library for DJGPP in a mixture of C and assembly.
  • OpenGUI v3.7.0 multi-platform 32-bit graphics library/GUI for DOS (DJGPP), QNX and LINUX
  • Watt-32 v2.2 dev-rel 10 library for making networked TCP/IP C/C++ 16 and 32 bit programs.
  • eRTOSdevelop embedded Intel 8086 (and compatible) Internet-accessible applications. Now freeware
  • ISRemote for DOS v2.53 remotely control DOS apps with a IR remote and a DIY circuit
  • DOSGir v0.12 control DOS apps by infrared remote control and a DIY circuit
  • Full Moon Software Many QuickBasic/PDS routines ; also has the text to PC Mag's 'BASIC Techniques and Utilities'
  • NeoBasic provides GUI components to extend the DOS authoring NeoBook software
  • Guenther Klaming's Homepage Low-level hardware programming in Watcom C/C++, Pascal and Assembly.

DOS Applications

Applications

  • Infopal v6.1 Program where you can design and browse databases and generate reports
  • Dirtel v3.28 Address book manager; contents can be exported to HTML,RTF and ASCII delimited text.
  • InfoZIP Create ZIP files, extract files from ZIP files created with PKWARE's Pkzip/Pkunzip v2.04g.
  • Pkzip/Pkunzip v2.50 An update to the "classic" Pkzip/Pkunzip v2.04g. Supports LFN under LFNDOS or Win9x
  • UPX v3.03 powerful GPL'ed executable packer (meaning the compressed executable files can still be run directly)
  • VIEW v17.2 Allows you to view WordPerfect, Word 97 docs and other word processor formats. Now freeware
  • xlHtml v0.4.0 commandline converter of MS Excel XLS files to HTML
  • AntiWord v0.37 converts MS Word DOC files to plain text or PostScript
  • Catdoc v0.94.2 convert MS Word DOC files to plain text
  • Xpdf v3.02pl2 Extract text and images from Adobe's Acrobat's PDF files
  • PSVIEW v17.1 user friendly shell program for viewing Postscript and PDF files ; requires Pictview, PDFTOPs and Ghostscript
  • CAMWORK DOS program that downloads images from Agfa, Olympus and Epson digital cameras.
  • PhotoPC software Software for DOS and other OSes to control Epson, Agfa, Nikon digital cameras
  • Daqarta v2.21 Does Data AcQuisition And Real-Time Analysis using popular sound cards ; Has many other features. Free for non-commercial use
  • DESI-III v5.80 Free, yet professional 2D CAD program.
  • FigDOS-GUI v2.22 GUI for DOS FIGlet (the latter creates large ASCII characters from ordinary ASCII characters)
  • DATES v2002.08 Non-TSR program to keep track (and remind you in advance) of important dates
To Download visit: DOS Programs

Monday, August 2, 2010

DOS Utility programs

Here is the list of DOS utility programs.

Utilities

  • Cute Mouse Driver v2.1 beta 4 Mouse driver with wheel support for both AT and PS/2 mice; uses only 3K (!) of memory
  • BenQ (Acer) CDROM driver v2.14 Uses only 5K and works with many IDE CDROM drives
  • SHSUCDX v3.03E MSCDEX replacement ; uses only 11K resident ; can be unloaded. Now part of SHSUCD, a suite of programs dealing with the CD-ROM. Older versions here
  • UMBPCI V3.80 Free hardware UMB driver (only 240 bytes) for DOS/Win9x - replaces EMM386.EXE
  • Srdisk v2.09c dynamically ReSizeable RAMDisk for FreeDOS (and other DOSes) able to use over 32M of XMS and EMS memory. GPL
  • XMSDSK.EXE v1.9i Freeware resizable ramdisk;can be installed/uninstalled from the command line.
  • Partition Resizer v1.34 Resize your FAT16/FAT32 partitions safely. Freeware
  • Free FDISK v1.3.1 GNU hard disk partitioning utility. Supports FAT16/FAT32 and non DOS partitions
  • Active @ KillDisk Destroy all data on hard and removable drives without possibility of future recovery
  • XOSL 1.1.5 Free graphical boot manager to select what OS to run on startup
  • TestDisk v6.11.3 Tool to check and undelete hard disk partitions. Supports FAT16/FAT32, ext2FS, NTFS and more
  • PhotoRec v6.11.3 file data recovery software designed to recover lost files from Hard Disks and CDRom
  • Savepart v3.80 save entire or occupied portion of a hard drive partition (FAT16/32,ext2,ext3,NTFS) into a file for easy backup and restoration
  • Image v2.41 Disk image backup and restore program. Supports FAT, FAT32, NTFS partitions and most writable USB, IEE1394 drives, ATAPI CD/DVD drives without special drivers. Shareware
  • Ranish Partition Manager v2.44 powerful hard disk partitioning tool and can create, copy, and resize primary and extended partitions.
  • NTFS Reader for DOS freeware tool to read NTFS partitions from DOS
  • Palmsys v1.21 3K Driver for parallel port Iomega ZIP drive; works on XTs and on 286 CPUs as well
  • SDWRGMPD v1.1 DOS driver for MS "Win9x only" SideWinder digital GamePad
  • Duse v4.9 From Pocketec, are USB DOS drivers for USB hard disks, CDROM drives and other USB storage devices like Zip drives
  • SPEEDZTER 2.5 From DAT Optic, are Firewire/IEEE 1394 DOS drivers for their external Speedzter 2.5" Firewire hard drives
  • LFN Tools v1.79 DOS commands that can handle long filenames in plain DOS. Supports FAT32
  • DOSLFN 0.40e TSR to provide long filename API in plain DOS. Only 12K resident. Older versions here
  • LTOOLS v6.12 set of DOS command line tools to read and write to Linux ext2/3 and ReiserFS filesystems (the DOS opposite of Linux MTOOLS)
  • PC-CONFIG 9.33 Detailed system information/benchmark tool. Freeware, but no further development
  • NSSI v0.60.32 freeware system information tool
  • HWiNFO v5.30 system information utility designed for detection of hardware. shareware
  • ClamAV 0.95.2 Port of ClamAV for DOS, antivirus software (look for clamavx.zip and clamavs (source))
  • ATXOff v1.3 Turn off your ATX computer system (similar to Win9x shutdown).
  • Shutdown v1.2 From Blacklight, a small utility to either reboot your computer, or turn off the power (ATX systems only)
  • 4DOS v8.00 updated opensource version of the powerful command line interpreter (COMMAND.COM replacement) for DOS by JP Software
  • DOSED v5.2 Freeware DOSKEY-like program but with filename completion like Linux's Bash shell
  • FileC v2.0 Autocompletes filenames at command prompt ; support Win9x LFN in DOS box
  • ACD v3.05 Change to another directory on any drive quickly. Has Win9x LFN support
  • TDel v2.68 Powerful freeware replacement for the DEL (delete) command
  • XXCOPY 2.93.1 powerful replacement XCOPY with many features. Free for personal use
  • Powercopy v1.3 Shareware parallel-port transfer program between two PCs with either DOS,Win3.x,Win9x or WinNT/2000/XP installed
  • TextTools R6 Freeware programs for processing text tables and general text filtering
  • TSFLTC R2.2 A set of additional text file filters from Prof. Timo Salmi.
  • Slowdown v3.1 Slows down a fast computer so you can run older programs, or as a troubleshooting aid.
For more information: DOS Programs

DOS sound Programs

Now you can download some interesting sound programs.

Sound Programs (includes audio CD players)

  • Mpxplay v1.56 MP3,OGG,WAV,AAC,FLAC, WMA, MPC,AC3 player with integrated file browser, spectrum analyser and other features.
  • OpenCP v2.60pre6 DOS music player (MP3, MIDI, MOD, WAV, CD-audio) with spectrum analyser and other features. GPL
  • DAMP v0.97 WIP 8 Free MP3 Player. Displays synchronised graphics when playing MP3 files. Source code available
  • XTCPlay v0.97c Graphical audio player of MP3, WAV, S3M, MOD and more from the demo group Sanction.
  • DOSAMP v0.8 DOSAMP is a freeware command-line MP3 player.
  • MPR 07/14/09 Small, minimalist DOS MP3 player (33K exe)
  • JukeMp3 beta Mp3/Mp2/Xm/Mod/S3m/CD-DA DOS player that tries to emulate a turntable.
  • DSS v3.-1 MP3/WAV player/recorder with several display modes during playback. Also supports PC speaker!
  • BladeEnc v0.941 DOS port of BladeEnc command line MP3 encoder; create MP3 files from WAV files.
  • LAME 3.97 DOS port of LAME, a GPL'd WAV to MP3 encoder
  • LAME v3.92 DOS port of LAME, a GPL'd WAV to MP3 encoder. Encodes faster than real time on a PII 266.
  • AudioCVD v1.20 WAV to OGG (open-source replacement for MP3) converter
  • CD2WAV v1.0i Read audio CD tracks directly to WAV files
  • ID3TOOLS edit ID Tags of MP3s and list files with ID Tag info. Source code available.
  • MIDIer 2.50 DOS based MIDI and RMI player that works with all versions of the Sound Blaster card. Source code available
  • Megamid v1.66 Graphical MIDI Player for DOS. Also supports playing of Karaoke MIDI files
  • GSPLAY v1.1 A freeware MIDI player. Can also play Karaoke MIDI files.
  • Midget v2.03 DOS-based MIDI composer ; works with wavetable sound cards or internal speaker.
  • CDPlayer v2.25e Audio CD player which looks like the Win95 CD Player. Source code included.
  • SJGPlay v1.29 Easy to use freeware Audio CD Player with Lyrics and playlist for each CD.
  • CDPTSR v0.12 CDPTSR is a memory resident CD Player; uses only 3.5K resident
For more visit: DOS Programs

Interesting DOS Programs

Here are some interesting graphics programs made in DOS.

Graphics_Programs/Screensavers
  • QuickView Pro v2.57 Plays DivX, AVI, MPG, MOV (Quicktime), MP3, WAV and view other graphic formats.
  • PictureViewer 1.94 PictureViewer can view and convert many graphic formats. Freeware
  • SEA v1.3 This shareware viewer/converter/image manipulator has an easy to use GUI
  • LXPIC v7.3 Small (size of exe :20K!) yet powerful viewer of JPG, GIF, PCX, CAM and others
  • MPEGone v1.10 DOS MPEG and VideoCD player
  • DVD4DOS Beta 1 non-realtime playback of DVD movies
  • Acidwarp Fractal generator which can be used as a screensaver.
  • Sanction 4K demos Several impressive 4K demos (one is a Descent type engine) by the demo group Sanction
  • Christmas Card 1998 Very good multimedia xmas card. Add your text and send it to friends.
You can download it from here: DOS Programs

Monday, July 26, 2010

Pocket DOS

PocketDOS is a powerful virtual PC software environment for your pocket computer that allows you to run a DOS operating system and have instant access to many DOS applications* on your pocket computer, whilst simultaneously allowing the use of the pocket computer's native applications. PocketDOS also allows DOS applications to access serial ports, built-in modems, infrared ports, bluetooth devices, removable storage disks, touchscreens and shared network resources, and allows file sharing between the pocket computer's native applications and DOS applications.

Thursday, July 22, 2010

Classic DOS Games


Ever wanted to play your favorite computer games again? Download the best MS-DOS games for free from this site. Over 500 DOS freeware/shareware games, with download-able games, reviews, screen-shots, links, free email, and much more!

To Download visit:



Monday, July 19, 2010

ROM-DOS

Fully compatible DOS, runs from disk or ROM.
ROM-DOS was originally developed to run from ROMs in handheld computers and other embedded systems, but it also runs from a floppy or fixed disk. The main download package contains versions 6.22 and 7.1. Both are compatible with other DOSes that have similar version numbers, but with added features: Full support for FAT32/LBA hard disks and Long File Names (up to 260 chars), ZModem file transfer, TCP/IP stack, and much more. Free for personal use.
Runs on Intel 80186+, NEC V-series, and other compatible CPUs. ROM-DOS can be used as the base for Win3.x/9x, and as the secondary command processor under any Windows.

Tuesday, July 13, 2010

Directory Management

1.) Creating Directories
c:\>MD apple

2.) Changing Directories
c:\>CD apple

3.) Deleting a directory
c:\>RD apple

4.) Delete directory with all its contents
c:\>Deltree Images

5.) Displaying the directories
c:\>DIR
c:\>DIR c:\WS
c:\>DIR A:

6.) Viewing directory widthwise
c:\>DIR/w

7.) Viewing the list of selected items using switches

Switch Functions
/on ---> a......z order

/o-n ---> z.....a order

/oe ---> extension in z....a order

/od ---> according to date oldest first, latest last

/o-d ---> latest first, oldest last

/os ---> small files first according to file size

/o-s ---> Decreasing files size order

/ad ---> See only sub-directories

9.) Copying the directories
c:\>XCOPY \WS\Letters\Personal A:
c:\>XCOPY A: B:
c:\>XCOPY A:\C:\New

10.) Copying sub-directories
c:\>XCOPY c:\Back A:\ /s/e

11.) Changing directory name
c:\>XCOPY\ACCT New\ACCT= old
c:\>DEL\ACCT/New\*.*
c:\>RD\ACCT/New



Friday, July 9, 2010

DOS File Management

1.) Creating a file
c:\>copy con filename
type here the content of the file
e.g
c:\> copy con telephonedir
this is a text file.
it contains all telephone numbers.
Then press F6 to exit.

2.) Deleting a file
c:\>DEL a:\employee\myfile.bak
c:\WS>DEL assignment.doc

3.) Deleting a group of files
c:\>DEL *.jpg

4.) Displaying the file (using TYPE or PRINT)
c:\>TYPE assignment.doc
c:\>PRINT c:\WS\FINANCE.doc

5.) See list of files inside any directory
c:\>DIR c:\LOTUS
c:\>DIR
/P- Page wise sorted
/W- width wise
/AD- see sub-directories
c:\>DIR/P

6.) Copy files to floppy disk
c:\>copy c:\Lotus\123.exe
c:\>copy auto.bat A:

7.) Copying a group of files
c:\>copy A: A *.bak

8.) Changing file name & then copy
c:\>copy fast.dbf c:\quick.dbf

9.) Combining text files
c:\>copy News1.txt+News2.txt+News3.txt News.txt

10.) Copying and printing the file
c:\>copy A: office.Prn LPT1

11.) Moving the files
c:\>Move c:\surbhi\*.* c:\kapil

12.) Undelete file
c:\>undelete c:\ws\apple.doc

Thursday, July 8, 2010

DOS Commands

1.) Version
C:\>ver

2.) Help
C:\>topic name/?

3.) To pause command in-between
press ctrl+s or pause

4.) To stop any command
ctrl+c or ctrl+pause

5.) Change drive
c:\>a:
output- a:\>

6.) Tree structure
c:\Back>tree

7.) Change directory
c:\>cd\ws\doc
output- c:\ws\doc>

8.) To get out from one directory
c:\ws\doc>cd..

9.) To reach root directory
c:\ws\doc>cd\

10.) To get date & time
c:\>Time
c:\>date

11.) Clear screen
c:\>cls

DOS Basic Concepts

DOS- Software that operates the computer system.

  • Purpose- File management, Disk management

  • When we switch ON the system, DOS automatically loads on RAM if it is working as operating system.

  • It is saved in the file named "COMMAND.COM" .

  • Its supporting programs are saved in some hidden file i.e. IO.SYS & MSDOS.SYS. The group of these programs are known as bootable program. When it loads on memory. That process is known as 'booting'.


Functions of DOS

  • operates computer hardware

  • Configuration setting- setting of all the hardware components, after that microprocessor able to establish connection

  • Directory management- make directory on disk

  • File management- make, read, write, copy, print, rename, delete file

  • Disk management- manage free space on disk, format disk etc.


Working of DOS :
a.) Boot Record- The record read by ROM first in booting process.
b.) IO.SYS- It simply resets all devices and disk.
c.) MSDOS.SYS- It links all the application programs with io.sys.
d.) COMMAND.COM- Also known as command processor. It reads the commands and do work according to that.

If error occurs in booting process :
Error- Bad or missing command interpreter
It means there is no bootable program present in disk.

Priority :
1. Floppy
2. Hard disk
3. USB drive

File naming :
" firstname.extension"
e.g. sun.text (text file)
Rules for naming a file:
1.) Can use
a) A,B,C,.........,Z & a,b,c,.........,z
b) 0,1,2,........,9
c) @, #, $, %, (, )
2.) Can't use
a) Blank space, "," (comma), Backspace, "."
b) Reserve words- AUX, COM1, COM2, COM3, COM4, LPT1, LPT2, LPT3, NUL, PRN
c) Punctuation marks- ^, *, =, +, [, ], :, ", \,, /, ?, <, >

File extension :
.exe- executable file
.com- command file
.sys- sytem file
.bat- batch file
.bak- backup file
.doc- document file
.dbf- database file
.wk3- worksheet file