This HOWTO: will guide you through the process of getting your old MSDOS programs
running in Debian (6.0) under DOSBox.
1. Install DOSBox from the repo's via Synaptics Package Manager or apt-get.
REF:
http://www.dosbox.com
http://dosbox.sourceforge.net/wiki
2. DOSBox - Command Summary
The following commands can be used in DOSBox:
intro
intro mount
intro cdrom
intro special
help
help /all
3. Testing DOSBox commands and methods.
Let's use the following example as a guide for the commands we will need to
use to mount and unmount a directory.
I had several recipes that were saved in C:\pw\2_LDK\Cookin on an
old Dos machine. I copied the complete C:\pw folder to /home/larry/C:/.
This folder will be mounted as C: Drive in DOSBox so the EXE, COM, or BAT
files can be executed. To mount your C: drive, you will use the mount
command to mount the Linux folder as c and then change to Drive C:\> and
execute your old MSDOS Program.
I executed DOSBox from the Debian menu.
Start DOSBox via:
APPLICATIONS -> GAMES -> DOSBox
When the DOSBox window opened I typed the following to mount a SUBDIRECTORY as Drive C.
So, when I change to Drive C, I am really pointing at /home/larry/pw
DOSBox positions you at Drive z:
Code: Select all
mount c: ~/path/to/dir/to/mount/
C:
dir/p
cd pw
pw
Before you can unmount the drive you must change back to drive z:
then you can issue the unmount command.
To UNMOUNT C: and exit DOSBOX use the following commands:
Code: Select all
z:
mount -u c:
exit
need to copy the DOS subdirectory Sourcer_305 to the Linux folder C:.
This will copy all the files needed to run Sourcer version 3.05.
When the copy is complete, start DOSBox. Mount the folder as C: with the following commands:
Code: Select all
mount c: ~/C:
C:
cd source~1
sr
To UNMOUNT C: use the following command:
Code: Select all
mount -u c:
exit
Thanks.
Larry