English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.WinUAE (http://eab.abime.net/forumdisplay.php?f=5)
-   -   64-bit WinUAE doesn't work on 64-bit Windows XP (http://eab.abime.net/showthread.php?t=87176)

mark_k 16 May 2017 23:00

64-bit WinUAE doesn't work on 64-bit Windows XP
 
The 64-bit WinUAE 3.4.0 executable fails to run on Windows XP x64. A dialog box appears saying "C:\Program Files\WinUAE\winuae64.exe is not a valid Win32 application."

For more information see http://www.tripleboot.org/?p=423

By modifying four bytes in the PE header as explained there I got 64-bit WinUAE to run on XP x64. Bytes to change:
Code:

Offset        From        To
0x1C0        06        05
0x1C2        00        02
0x1C8        06        05
0x1CA        00        02

Extracts from dumpbin /headers output for the 32-bit then 64-bit WinUAE executables:
Code:

dumpbin /headers winuae.exe
            5.01 operating system version
            5.01 subsystem version

dumpbin /headers winuae64.exe
            6.00 operating system version
            6.00 subsystem version

The real fix seems to be to set Minimum Required Version in Visual Studio Linker->System properties for the x64 build to 5.2, not leave it blank. [I'd be happy to test a build with that change of course.]


I tested the patched winuae64.exe by loading a DOC demo and it ran fine, except with no sound (there was sound with 32-bit WinUAE). But that may just be a bug/problem/issue with the VirtualBox sound driver?

winuae64.exe (fixed):
DS: DirectSoundCreate8() failure: 8878000A S=1 F=0878 C=000A (10)

winuae.exe (32 bit):
DS: 00140004 1:00000000 2:00000000 4:00000033 4:00000603 4:00000107 6:0000003F 6:0000060F
DS: 00000000,CH=2,FREQ=44100 'Primary Sound Driver' buffer 16384, dist 4096
DS: 2205 = (3969 - 1764)
DS: bs=128 w=10240 max=16384 tof=21845 tuf=29127

ma693541 17 May 2017 08:34

Buy a better PC with a better version of Windows. ;)

Toni Wilen 17 May 2017 08:39

It is by design. 64-bit XP is not supported. I am not even sure if Vista 64-bit is supported but officially it is Windows 7 64-bit or later only.

mark_k 22 December 2017 20:10

Starting with 3.6.0b9, after patching the header as described above 64-bit WinUAE seems to work perfectly on Windows XP x64. Sound works fine.

Maybe this item in the 3.6.0b9 changelog fixed the no-sound problem???
- 64-bit only bad stack linker setting corrected, caused random crashes and caused file dialogs to crash if certain shell extensions were installed. (Thanks mutetus!)

Toni Wilen 23 December 2017 09:03

Irrelevant. 64-bit XP or Vista is still not supported even if it appears to work.

EDIT: I especially don't want any reports/comments from XP 64-bit or Vista 64-bit users. No normal user uses those..

Foebane 24 December 2017 11:49

Who still uses Windows XP these days?? Support for it disappeared years ago!
Heck, I've only just recently moved off of Windows 7 after, well, seven years!

Toni Wilen 24 December 2017 21:17

Quote:

Originally Posted by Foebane (Post 1207644)
Who still uses Windows XP these days?? Support for it disappeared years ago!
Heck, I've only just recently moved off of Windows 7 after, well, seven years!

Yes (but XP 64-bit was different very special thing). But again, support.WinUAE is not for this topic.


All times are GMT +2. The time now is 00:08.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.

Page generated in 0.03954 seconds with 11 queries