Running Wine on Win64

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Gert van den Berg

Running Wine on Win64

Post by Gert van den Berg »

Hi all

I'm wondering if it would be possible to run Wine on Win64 ("x64") to
allow Win16 apps to be run? Preferably a native 64-bit binary, using
mostly native DLLs. (Services for Unix / Subsystem for Unix based
Applications might help for getting Wine compiled)

It might be a great way to get more users and developers for Wine.
Regular Windows releases of the DirectX 10 DLL's might significantly
increase testing and / or development as well...

Gert van den Berg
David Gerard

Running Wine on Win64

Post by David Gerard »

2008/7/19 Gert van den Berg <[email protected]>:
I'm wondering if it would be possible to run Wine on Win64 ("x64") to
allow Win16 apps to be run? Preferably a native 64-bit binary, using
mostly native DLLs. (Services for Unix / Subsystem for Unix based
Applications might help for getting Wine compiled)
It might be a great way to get more users and developers for Wine.
Regular Windows releases of the DirectX 10 DLL's might significantly
increase testing and / or development as well...
Wine on Windows is getting to be a FAQ by now :-)

Many people have tried running Wine under Cygwin. Mostly it's an
achievement just to get it to compile and run. (Then there's
interesting little gotchas like when it edits the registry of the host
Windows box rather than the Wine instance ...)

Possibly a detailed wiki page on this should be compiled (though not
by me) and kept updated.


- d.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Running Wine on Win64

Post by vitamin »

Gert van den Berg wrote:Hi all

I'm wondering if it would be possible to run Wine on Win64 ("x64") to
allow Win16 apps to be run?
No Wine does not emulate CPU nor the low-level system. If OS can not run such programs because it can't setup the proper environment (segments, descriptors, etc) then Wine won't help there.
Gert van den Berg wrote: Regular Windows releases of the DirectX 10 DLL's might significantly
increase testing and / or development as well...
I'm not sure what are you trying to say hare? That you want to run native DX on top of Wine? Or native DX10 in XP? Neither is possible.
Gert van den Berg

Running Wine on Win64

Post by Gert van den Berg »

On Sat, Jul 19, 2008 at 10:06 PM, vitamin <[email protected]> wrote:
Gert van den Berg wrote:
Hi all

I'm wondering if it would be possible to run Wine on Win64 ("x64") to
allow Win16 apps to be run?
No Wine does not emulate CPU nor the low-level system. If OS can not run such programs because it can't setup the proper environment (segments, descriptors, etc) then Wine won't help there.
I'm wondering if Wine supports Win16 under Linux x86-64 (even if Wine
is compiled 32-bit, if it works the basic infrastructure exists, at
least in the CPU)

Long mode (the 64-bit mode) has a "compatibility mode" that supports
32-bit and 16-bit code (I have no idea if it is real/protected mode
16-bit code...) which should be able to run the code. (See page 7
here: http://www.amd.com/us-en/assets/content ... /24592.pdf
) It seems that the only reason Win64 does not run Win16 / DOS program
is the lack of a updated version of NTVDM and WOW.
Gert van den Berg wrote:
Regular Windows releases of the DirectX 10 DLL's might significantly
increase testing and / or development as well...
I'm not sure what are you trying to say hare? That you want to run native DX on top of Wine? Or native DX10 in XP? Neither is possible.
OpenGL based DirectX 10 under XP, as under Wine. Even easy to get
OpenGL based DirectX 9 builds should be useful for people running
Windows under Virtualization.

As refered to here in the FAQ:
http://wiki.winehq.org/FAQ#head-530da6f ... e60d3c2c1c
Gert van den Berg

Running Wine on Win64

Post by Gert van den Berg »

On Sat, Jul 19, 2008 at 2:42 PM, David Gerard wrote:
2008/7/19 Gert van den Berg
Wine on Windows is getting to be a FAQ by now :-)

Many people have tried running Wine under Cygwin. Mostly it's an
achievement just to get it to compile and run. (Then there's
interesting little gotchas like when it edits the registry of the host
Windows box rather than the Wine instance ...)

Possibly a detailed wiki page on this should be compiled (though not
by me) and kept updated.
I am aware that is runnable under Windows using Cygwin (I would like
to try it under SFU sometime... Probably at least Debian-Interix to
get a decent GCC version...) I'm just wondering if it can be applied
for purposes useful to the end-user there... (It would probably
require a few relatively minor changes to allow WOW64 to handle
Win32...) If it can help speed up development it might benefit Wine as
a whole.
John Drescher

Running Wine on Win64

Post by John Drescher »

Long mode (the 64-bit mode) has a "compatibility mode" that supports
32-bit and 16-bit code (I have no idea if it is real/protected mode
16-bit code...) which should be able to run the code. (See page 7
here: http://www.amd.com/us-en/assets/content ... /24592.pdf
) It seems that the only reason Win64 does not run Win16 / DOS program
is the lack of a updated version of NTVDM and WOW.
Only 16-bit protected mode applications are supported. Which I believe
means 16 bit windows programs work but most dos applications will not
work unless they run under a dos extender.

John
Locked