20.10.2016 05:36, Mouse пишет:
[...] the way dosemu emulates DOS in much the same sense that wine
emulates Windows, instead of emulating hardware proper [...]
dosemu does emulate the HW and uses freedos (or any other dos you ask
it to boot).
To a point, sure. But, for example, it takes file I/O traps and
provides its own implementation, backed by the host filesystem, rather
than letting the FreeDOS implementation talk to (presumably emulated)
disk hardware.
No, it does nothing of that kind.
freedos redirects the filesystem accesses via the network
redirector API. If not for freedos (or any other DOS) doing this,
you'll end up using a hdimage - dosemu supports hdimages too.
[...] it involves a legacy application, running under DOS, which
depends on a particular (relatively rare and expensive) piece of
hardware.
If you want the DOS driver to communicate to that hardware, [...].
If you want to emulate the "very expensive hw" without actually using
the real hw, then I wonder what's the point.
The point is to get the application running without the fancy hardware
(which is now EOLed) without having to rewrite the portions of the
application that talk to it. The company has done an EOL buy of that
hardware, but that gives them only enough to last about half the time
we expect it to take to do the complete port/rewrite.
OK, maybe this is your case.
Its just that usually when you have some expensive HW, emulating
it in software is not enough because the HW is usually doing something
useful, not just makes some program to work. :) If you don't need
any functionality of that HW other than to make some DOS prog happy,
then I am afraid dosemu is not prepared for that, and you'll need to
implement the PCI emulator (in which case you can try qemu).
--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html