Dosbox and or dosemu, where to start
I have a full working DOS partition besides Suse 9.0 and 9.1. Since 7.1 I always wanted to run some DOS programs under Linux but I never was able to understand the man and README pages and everything else I found as instruction. Could somebody give me in plain English how to begin. My DOS partition can be mounted under /drdos.
On Friday 25 February 2005 08:49 am, Constant Brouerius van Nidek wrote:
I have a full working DOS partition besides Suse 9.0 and 9.1. Since 7.1 I always wanted to run some DOS programs under Linux but I never was able to understand the man and README pages and everything else I found as instruction. Could somebody give me in plain English how to begin. My DOS partition can be mounted under /drdos.
I use dosemu and have for the past 5 years. It works (at least for me) very well. Some of the steps below are my conventions, which I think make things easier. You can do different if you wish. 1) Install dosemu 2) As a normal user, start dosemu. I use 'xdosemu' from a KDE console window. Starting it creates a '.dosemu' directory in your home dir. 3) Exit dosemu using 'exitemu' 4) Make a 'dos' directory such as '/home/dos' This will be a small set if files to make running and navigating in dosemu a bit easier. 5) Edit the /opt/dosemu/share/dosemu/freedos/autoexec.bat to include the following (at the bottom): lredir l: linux\fs/home/dos lredir e: linux\fs/drdos path c:\bin;c:\gnu;c:\dosemu;l: L: The above defines dos disks e: and l: and leaves you in the L: directory, where your navigation files are. Note that your dos programs and files DO NOT need to be on a dos partition and can ge in any normal linux filesystem, and located anywhere in your linux environment. I do not have any dos partition. An example of an autoexec.bat entry on my system for a normal linux directory. lredir f: linux\fs/home/DOS-F What's in the /home/dos directory? I have made an exx.bat file which will issue 'exitemu'. (because I can never remember how to exit) I run a FoxPro application and I start it using: @ECHO OFF SET PATH=%PATH%;E:\fp2 cd E:\fp2\<appname> E: FOXS L: From there, you're on your own... HTH
On Friday 25 February 2005 08:49 am, Constant Brouerius van Nidek wrote:
I have a full working DOS partition besides Suse 9.0 and 9.1. Since 7.1 I always wanted to run some DOS programs under Linux but I never was able to understand the man and README pages and everything else I found as instruction. Could somebody give me in plain English how to begin. My DOS partition can be mounted under /drdos.
I also have an old dos partition which does not boot. I use dosbox on SuSE 9.2. SuSE set the partition up as /windows/C. I just run dosbox and once running issue the command "mount C /window/C" then issue "C:" and I can run some really classic games like KEEN1, KEEN2, CRYSTAL, WOLF3D, and DUKE (Duke Nukem). Graphics and sound are just as I remember them many years ago. I don't recall doing anything special to get it running. Terry -- SuSE Linux 9.2 (i586) ---- 2.6.8-24.11-default --- Fri 02/25/05 20:20 8:20pm up 28 days 23:25, 4 users, load average: 1.57, 1.41, 1.30
On Saturday 26 February 2005 09:31, Terry Eck wrote:
On Friday 25 February 2005 08:49 am, Constant Brouerius van Nidek wrote:
I have a full working DOS partition besides Suse 9.0 and 9.1.
I also have an old dos partition which does not boot. I use dosbox on SuSE 9.2. SuSE set the partition up as /windows/C. I just run dosbox and once running issue the command "mount C /window/C" then issue "C:" and I can run some really classic games like KEEN1, KEEN2, CRYSTAL, WOLF3D, and DUKE (Duke Nukem). Graphics and sound are just as I remember them many years ago. I don't recall doing anything special to get it running.
Terry
Dear Terry, Dosbox works as far as I can see. What bothers me that there seems to be no dosbox.conf file. That should be the file in which you could your standard setup. Where could I find it?
Constant Brouerius van Nidek wrote:
Dosbox works as far as I can see. What bothers me that there seems to be no dosbox.conf file. That should be the file in which you could your standard setup. Where could I find it?
I just looked at the file /usr/share/doc/packages/dosbox/README. When you are running dosbox issue the command: "CONFIG -writeconf dosbox.conf" and dosbox.conf will be created in the local directory where dosbox was executed. I would guess that dosbox is configured internally and the above command writes out the configuration. I have not played with dosbox enough to learn what all the parameters mean. You can load a configuration file using the command "dosbox -conf dosbox.conf" where dosbox.conf was the file written in the CONFIG command above. -- SuSE Linux 9.2 (i586) ---- 2.6.8-24.11-default --- Sat 02/26/05 13:40 1:40pm up 29 days 16:45, 4 users, load average: 0.58, 0.38, 0.31
On Friday 25 February 2005 22:58, Bruce Marshall wrote:
On Friday 25 February 2005 08:49 am, Constant Brouerius van Nidek wrote:
I have a full working DOS partition besides Suse 9.0 and 9.1.
I use dosemu and have for the past 5 years. It works (at least for me) very well. Some of the steps below are my conventions, which I think make things easier. You can do different if you wish.
1) Install dosemu 2) As a normal user, start dosemu. I use 'xdosemu' from a KDE console window. Starting it creates a '.dosemu' directory in your home dir. Done. Using xdosemu in KDE 3) Exit dosemu using 'exitemu' 4) Make a 'dos' directory such as '/home/dos' This will be a small set if files to make running and navigating in dosemu a bit easier. Done 5) Edit the /opt/dosemu/share/dosemu/freedos/autoexec.bat to include the following (at the bottom):
lredir l: linux\fs/home/dos lredir e: linux\fs/drdos path c:\bin;c:\gnu;c:\dosemu;l: L:
Done. linux in above insert, is that perhaps the name of the machine? Mine is called big-one.
The above defines dos disks e: and l: and leaves you in the L: directory, where your navigation files are.
Leaves me in c: with no e and L directory.
Note that your dos programs and files DO NOT need to be on a dos partition and can ge in any normal linux filesystem, and located anywhere in your linux environment. I do not have any dos partition. An example of an autoexec.bat entry on my system for a normal linux directory.
lredir f: linux\fs/home/DOS-F
What's in the /home/dos directory? I have made an exx.bat file which will issue 'exitemu'. (because I can never remember how to exit)
I run a FoxPro application and I start it using:
@ECHO OFF SET PATH=%PATH%;E:\fp2 cd E:\fp2\<appname> E: FOXS L:
From there, you're on your own...
Did as instructed ;-). But I do not end up in the l drive and apart from the c: and d: there are no other directories. What did I do wrong? Here is my changed autoexec.bat @echo off set HELPPATH=c:\help set TEMP=c:\tmp prompt $P$G unix -s DOSDRIVE_D if "%DOSDRIVE_D%" == "" goto nodrived :nodrived unix -s DOSEMU_VERSION echo "Welcome to dosemu %DOSEMU_VERSION%!" unix -e lredir l: linux\fs/home/nidekvan/dos lredir e: linux\fs/drdos path c:\bin;c:\gnu;c:\dosemu;l: L:
On Saturday 26 February 2005 12:19 am, Constant Brouerius van Nidek wrote:
On Friday 25 February 2005 22:58, Bruce Marshall wrote:
On Friday 25 February 2005 08:49 am, Constant Brouerius van Nidek wrote:
I have a full working DOS partition besides Suse 9.0 and 9.1.
I use dosemu and have for the past 5 years. It works (at least for me) very well. Some of the steps below are my conventions, which I think make things easier. You can do different if you wish.
1) Install dosemu 2) As a normal user, start dosemu. I use 'xdosemu' from a KDE console window. Starting it creates a '.dosemu' directory in your home dir.
Done. Using xdosemu in KDE
3) Exit dosemu using 'exitemu' 4) Make a 'dos' directory such as '/home/dos' This will be a small set if files to make running and navigating in dosemu a bit easier.
Done
5) Edit the /opt/dosemu/share/dosemu/freedos/autoexec.bat to include the following (at the bottom):
lredir l: linux\fs/home/dos lredir e: linux\fs/drdos path c:\bin;c:\gnu;c:\dosemu;l: L:
Done. linux in above insert, is that perhaps the name of the machine? Mine is called big-one.
No, it defines those as linux directories using linux filesystems.
The above defines dos disks e: and l: and leaves you in the L: directory, where your navigation files are.
Leaves me in c: with no e and L directory.
Try to put in an echo or something to let you know that the proper autoexec is being executed. There may be more than one copy around.
Note that your dos programs and files DO NOT need to be on a dos partition and can ge in any normal linux filesystem, and located anywhere in your linux environment. I do not have any dos partition. An example of an autoexec.bat entry on my system for a normal linux directory.
lredir f: linux\fs/home/DOS-F
What's in the /home/dos directory? I have made an exx.bat file which will issue 'exitemu'. (because I can never remember how to exit)
I run a FoxPro application and I start it using:
@ECHO OFF SET PATH=%PATH%;E:\fp2 cd E:\fp2\<appname> E: FOXS L:
From there, you're on your own...
Did as instructed ;-). But I do not end up in the l drive and apart from the c: and d: there are no other directories. What did I do wrong? Here is my changed autoexec.bat
See above. There may be a copy of autoexec.bat in your home dir.
@echo off set HELPPATH=c:\help set TEMP=c:\tmp prompt $P$G unix -s DOSDRIVE_D if "%DOSDRIVE_D%" == "" goto nodrived
:nodrived
unix -s DOSEMU_VERSION echo "Welcome to dosemu %DOSEMU_VERSION%!" unix -e lredir l: linux\fs/home/nidekvan/dos lredir e: linux\fs/drdos path c:\bin;c:\gnu;c:\dosemu;l: L:
On Saturday 26 February 2005 12:19 am, Constant Brouerius van Nidek wrote: Look in: ~/dosemu/freedos/autoexec.bat and modify that autoexec.bat also... Should do the trick.
Note that your dos programs and files DO NOT need to be on a dos partition and can ge in any normal linux filesystem, and located anywhere in your linux environment. I do not have any dos partition. An example of an autoexec.bat entry on my system for a normal linux directory.
lredir f: linux\fs/home/DOS-F
What's in the /home/dos directory? I have made an exx.bat file which will issue 'exitemu'. (because I can never remember how to exit)
I run a FoxPro application and I start it using:
@ECHO OFF SET PATH=%PATH%;E:\fp2 cd E:\fp2\<appname> E: FOXS L:
From there, you're on your own...
Did as instructed ;-). But I do not end up in the l drive and apart from the c: and d: there are no other directories. What did I do wrong? Here is my changed autoexec.bat
See above. There may be a copy of autoexec.bat in your home dir.
@echo off set HELPPATH=c:\help set TEMP=c:\tmp prompt $P$G unix -s DOSDRIVE_D if "%DOSDRIVE_D%" == "" goto nodrived
:nodrived
unix -s DOSEMU_VERSION echo "Welcome to dosemu %DOSEMU_VERSION%!" unix -e lredir l: linux\fs/home/nidekvan/dos lredir e: linux\fs/drdos path c:\bin;c:\gnu;c:\dosemu;l: L:
participants (3)
-
Bruce Marshall
-
Constant Brouerius van Nidek
-
Terry Eck