Am 15.05.2012 11:56, schrieb Sven Barth:
Am 14.05.2012 17:56, schrieb Andrew Faulds:
Hmm, apparently, Wine does NTVDM using DOSBox. I
tried to run a DOS
app recently and it spawned WINE's NTVDM (I'm on Ubuntu), which spawns
DOSBox.
So I guess we could just copy in Wine's NTVDM?
It might not be that trivial. While it's true that it uses DOSBox (and
mounts all Wine drives besides Z) there is also some stuff going on
which is currently hidden behind an external function
"__wine_load_dos_exe" which I yet need to find and which is the one
responsible of loading the binary into DOSBox somehow (and this is the
interesting part!). Also one might need to test whether Win 3.11
applications work in Wine. If so then it might indeed be interesting to
investigate this further.
I've looked a bit more into this and it is so that Wine supports two
approaches:
* run 16-Bit executable natively (basically the same that Windows does)
* if that fails (e.g. on 64-bit Linux) run the application in DOSBox
So in the first case the application might correctly interact (and
display) like other non-16-bit applications, but in the second case the
application will be emulated and thus the application will not integrate
as nicely as in the first case (especially if it is a graphical Win3.11
application which also might require that you set up your DOSBox correctly).
Regards,
Sven