delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/2003/05/05/20:18:35

Message-ID: <01FD6EC775C6D4119CDF0090273F74A4FD6ACE@emwatent02.meters.com.au>
From: "da Silva, Joe" <Joe DOT daSilva AT emailmetering DOT com>
To: "'opendos AT delorie DOT com'" <opendos AT delorie DOT com>
Subject: RE: drdos with dosemu
Date: Tue, 6 May 2003 09:55:48 +1000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Reply-To: opendos AT delorie DOT com

Well, 'dosemu' has been on my "to do" list since installing Linux!
Over the weekend, I finally downloaded and installed it.      <G>

I chose to extract it's TGZ file to directory '/usr/local/dosemu'.
I also put the "hdimage" file I had downloaded a few months ago
from www.drdos.com into the same directory. Rather than rename
this to 'dr-dos-7.03' (for convenience), I instead created a symbolic
link to it under that name, in the same directory. Then I did as Rob
suggested, editing '/usr/local/dosemu/conf/dosemu.conf', so that
the "hdimage" line became : $_hdimage = "dr-dos-7.03". Finally,
I created an alias for 'cd /usr/local/dosemu;dosemu', called 'dos'.

That done, I was able to start a DR-DOS "shell" from the Linux
command prompt, by simply typing 'dos'. I was within a "virtual"
C: drive, which included the rudimentary DR-DOS files (although
they forgot COUNTRY.SYS), some DOSEMU goodies (including
LREDIR.EXE!) and about 7MB of free space. I had access to the
Linux stuff, including the mounted DOS partitions and CD-ROM,
via the redirected L: drive, which I used to "copy in" the missing
COUNTRY.SYS file and a few other "essentials", including XDIR,
XCOPY and an editor.

I then copied all this stuff into a '/usr/local/dosemu/test' test directory
(via the L: drive), retaining the same sub-directory structure. Rob
implied that the "virtual" DOS drive could be just a sub-directory
from the 'dosemu' directory, so I wanted to try this out. I edited the
'/usr/local/dosemu/conf/dosemu.conf' file so that the "hdimage" line
was now : $_hdimage = "test", and invoked 'dosemu' via the 'dos'
alias. It worked.

So, it seems that 'dosemu' is happy to use either a "hdimage" file
or a directory structure, for it's "virtual" DOS drive. The differences
I noticed, were that the file attributes worked differently in these
two situations, and the amount of free space was quite different.

I was disappointed that the DR-DOS 7.03 command processor
was unable to use/see long file names, either within the "virtual"
DOS drive, or the Linux drive (L:). The truncated file names are
horrible, retaining only five of the original characters in the base
file name (eg. 'DOSEM~Z3.CON' for 'dosemu.conf').

I also tried replacing DR-DOS 6.0 for DR-DOS 7.03 in the 'dosemu'
test directory, but this didn't behave properly. File changes made
within the "virtual" DOS machine disappeared after exiting 'dosemu'.
So DR-DOS 6.0 seems unsuited.

Well, I hope this helps. Now I can use the much nicer DOS tools
within Linux, by invoking 'dosemu' and accessing the L: drive!     :-)

Joe.

> -----Original Message-----
> From:	Rob McGee [SMTP:i812 AT softhome DOT net]
> Sent:	Tuesday, April 01, 2003 2:29 PM
> To:	opendos AT delorie DOT com
> Subject:	Re: drdos with dosemu
> 
> On Sun, Mar 09, 2003 at 10:04:01PM -0800, prakash modak wrote:
> >   can anybody tell me how to install drdos with dosemu.
> 
> Sorry, I don't get in here very often, so I didn't see this until just
> now.
> 
> Installing DR-DOS with dosemu is just like installing any other DOS with
> dosemu. I haven't installed DR-DOS yet (will do it tomorrow) but I did
> install Win98's DOS.
> 
> With dosemu 1.0.2 you just copy an entire bootable DOS into a
> subdirectory of $HOME/dosemu/. I'll be putting DR-DOS in one called
> "dr-dos". Then edit $HOME/dosemu/conf/dosemu.conf and change the hdimage
> line from "freedos" to "dr-dos". Edit config.sys and autoexec.bat to
> suit; I think you'll have to "rem" the lines for any DPMI driver or memory
> manager, because I think dosemu provides the DPMI.
> 
> Of course when editing a DOS batch file or config.sys, you have to
> ensure that it has DOS line endings. There are numerous ways to do this.
> A simple way is to edit them in DOS. :)
> 
> What did you try? Did you have trouble with something? The included
> FreeDOS, and the Win98 I installed, both seem to do pretty well.
> 
> Anyone else using DR-DOS in dosemu?
> 
>     Rob - /dev/rob0

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019