Linux MS DOS discussions
 help / color / mirror / Atom feed
From: Paul Crawford <psc@sat.dundee.ac.uk>
To: Xavier Tarifa <Xavier.Tarifa@adparts.com>
Cc: "linux-msdos@vger.kernel.org" <linux-msdos@vger.kernel.org>
Subject: Re: Weirdest thing ever
Date: Fri, 28 Jan 2011 00:49:06 +0000	[thread overview]
Message-ID: <4D421282.4050403@sat.dundee.ac.uk> (raw)
In-Reply-To: <C3F2A57885AE56449A4268E90F4AA4BD75FF0AA5@ADPARTS-EXC.adparts.com>

Dear Xavier,
My own limited experience of dosemu has focused on the 32-bit version, 
and I have generally found it to be more compatible than the v64-bit 
version. I have put this down to the native emulation of the vm86 
instruction under 32-bit mode.

You reasoning for wanting 64-bit, that of accessing files of >2GB might 
be flawed as most 32-bit programs, and most 16-bit DOS programs, have 
basic limits of 32-bits for file size & offset operations.

While it is conceivable that a DOS program could read beyond 2GB, it is 
very unlikely it could seek to those positions, and very certain it 
could not do so beyond 4GB.

You may get things working OK in 64-bit dosemu by some minor changes, as 
it seems the dos4g is rather sensitive to this, you may not really get 
what you want in file access.

Finally, have you tried contacting the author of dos4g in case they can 
help with compatibility? Though an old product, they might have some 
interest in helping with dosemu use as you (at the very least) have a 
business interest in porting DOS to a modern OS.

Regards,
Paul

On 27/01/11 14:41, Xavier Tarifa wrote:
> I'm using what gentoo calls dosemu-1.4.1_pre20091009 . And all other
> programs seem to work, but the one that needs to invoke dos4g (which
> is the main program, by the way) does not. Right now this machine is
> working with a 32-bits 1.4.0.0 version of dosemu, but the 32 bits
> version has  2 Gb max filesize which we will meet soon and it's gone
> with the 64 bits version. I tried the 64-bits 1.4.0.0 version but it
> seems to have problems with file locking.

-- 
Dr. Paul S. Crawford
Satellite Station
Dundee University
Small's Wynd, Dundee,
DD1 4HN, U.K.
Tel: +44 (0)1382 38 4687
Email: psc@sat.dundee.ac.uk
The University of Dundee is a Scottish Registered Charity, No. SC015096


  reply	other threads:[~2011-01-28  0:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-27 14:41 Weirdest thing ever Xavier Tarifa
2011-01-28  0:49 ` Paul Crawford [this message]
2011-01-28 13:13   ` Paul Crawford
2011-01-28 14:35     ` Xavier Tarifa
2011-01-28 14:47       ` solarflow99
  -- strict thread matches above, loose matches on Subject: below --
2011-01-27  9:43 Xavier Tarifa
2011-01-27 14:17 ` solarflow99

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D421282.4050403@sat.dundee.ac.uk \
    --to=psc@sat.dundee.ac.uk \
    --cc=Xavier.Tarifa@adparts.com \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox