28 July 2016, 10:02 | #281 |
Registered User
Join Date: Sep 2014
Location: italy
Posts: 189
|
Hi mike,
i will check it on X5000 and report |
10 August 2016, 15:28 | #282 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Okay, since I am on vacation now I have a bit more spare time to experiment.
I have found which part of FS-UAE is to blame because of empty menu text and missing drive sounds: it is the fs-uae.dat file in FS-UAE/Contents/MacOS in fact if I replace the one found in 2.7.14 with the fs-uae.dat from 2.5.20 (the last I know to work) everything works as expected again. If I remember well this issue has already occoured in the past and then was fixed but now has surfaced again. Last edited by SnakeCoils; 10 August 2016 at 15:33. |
12 September 2016, 20:42 | #283 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Latest FS-UAE 2.7.15dev for OSX PPC is up in The Zone! and ready for download.
This version is still missing the OSD menu and messages because the executable seems to dislike the fs-uae.dat file inside the App bundle. If replaced with the same from 2.5.20 everything start to work as expected :-) Maybe some later modifications to the fs-uae.dat packaging has broken the loading on OSX PPC side? |
12 September 2016, 23:16 | #284 | |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Quote:
You can add try adding -Z storeto the zip commands in Makefile.am to add the data files uncompressed to fs-uae.dat. EDIT: Yes, this is a very likely explanation. I can see in the source code that the check for compression method is not endian safe. The compression method field is 16 bit (2 bytes), and must be checked with byte swapping on PPC. There are other endian issues with the decompression as well. Easy to fix, though. |
|
14 September 2016, 22:23 | #285 | |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Quote:
I have simply modified the fs-uae-dat packaging lines in: Code:
cd $(s) && $(ZIP) -0 -r $(abs_builddir)/fs-uae.dat share cd $(b) && $(ZIP) -0 -r $(abs_builddir)/fs-uae.dat share |
|
16 September 2016, 02:54 | #286 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Latest FS-UAE 2.7.16dev for OSX PPC is up in The Zone! and ready for download.
This version has been fixed with the same method described for the 2.7.15 release to bring back drive sounds, OSD messages and options menu. |
13 December 2016, 22:32 | #287 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Latest FS-UAE 2.9.0dev for OSX PPC is up in The Zone! and ready for download.
This version has been fixed with the same method described for the 2.7.15 release to bring back drive sounds, OSD messages and options menu. Additionally I had to remove all these lines from src/cfgfile.cpp : Code:
p->cachesize = MAX_JIT_CACHE; Code:
src/cfgfile.cpp:6677:17: error: 'MAX_JIT_CACHE' was not declared in this scope |
13 December 2016, 22:40 | #288 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Not that strange.. Toni does not test building WinUAE with JIT (and neither does I for FS-UAE, really). Anyway, fixed in commit https://github.com/FrodeSolheim/fs-u...00ee2f97790d8d
|
13 December 2016, 22:46 | #289 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
@SnakeCoils Do you want to check if this patch fixes support for compression in fs-uae.dat?
Code:
diff --git a/fs-uae/libfsemu/src/data.c b/fs-uae/libfsemu/src/data.c index 2d597ad..0da1fc1 100644 --- a/fs-uae/libfsemu/src/data.c +++ b/fs-uae/libfsemu/src/data.c @@ -175,8 +175,9 @@ int fs_data_file_content(const char *name, char **data, int *size) /* no signature found, not a local file header */ return 8; } - if (lfh.compression_method != 0 && lfh.compression_method != 8) { - /* file is stored compressed, not supported right now */ + if (le16toh(lfh.compression_method) != 0 && + le16toh(lfh.compression_method) != 8) { + /* Unsupported compression type. */ return 9; } if (data == NULL) { @@ -200,10 +201,10 @@ int fs_data_file_content(const char *name, char **data, int *size) return 13; } - if (lfh.compression_method == 0) { + if (le16toh(lfh.compression_method) == 0) { // printf("STORE %s\n", name); /* Compression method "store" */ - if (lfh.compressed_size != lfh.uncompressed_size) { + if (le32toh(lfh.compressed_size) != le32toh(lfh.uncompressed_size)) { return 9; } if (fread(*data, *size, 1, g_dat_file) != 1) { @@ -211,7 +212,7 @@ int fs_data_file_content(const char *name, char **data, int *size) return 14; } #ifdef USE_ZLIB - } else if (lfh.compression_method == 8) { + } else if (le16toh(lfh.compression_method) == 8) { // printf("DEFLATE %s\n", name); /* Compression method "deflate". Borrowed some public domain code from * http://codeandlife.com/2014/01/01/unzip-library-for-c/ */ @@ -232,8 +233,8 @@ int fs_data_file_content(const char *name, char **data, int *size) } /* Inflate compressed data */ - int compressed_left = lfh.compressed_size; - int uncompressed_left = lfh.uncompressed_size; + int compressed_left = le32toh(lfh.compressed_size); + int uncompressed_left = le32toh(lfh.uncompressed_size); while (compressed_left && uncompressed_left && ret != Z_STREAM_END) { /* Read next chunk */ strm.avail_in = fread(buffer, 1, |
13 December 2016, 23:37 | #290 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Both patches applied, now let's wait the compiler to finish it's job...
EDIT1 : No more JIT CACHE errors, this part seems OK now EDIT2 : Drive sounds, menu texts and OSD warning messages everything works great! :-) Thank you very very much Frode, I will place the new binary in the Zone! Last edited by SnakeCoils; 14 December 2016 at 00:23. |
30 December 2016, 20:28 | #291 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Latest FS-UAE 2.9.1dev for OSX PPC Leopard is up in The Zone! and ready for download.
|
02 January 2017, 12:35 | #292 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Latest FS-UAE 2.9.2dev for OSX PPC Leopard is up in The Zone! and ready for download.
|
05 January 2017, 18:18 | #293 |
Registered User
Join Date: Nov 2014
Location: Vaasa
Posts: 23
|
Thanks @SnakeCoils for this release. I'm always testing every Amiga emulator on PPC with this demo: http://www.pouet.net/prod.php?which=12336
and on FS-UAE looks perfect compared to E-UAE even with JIT but sounds unfortunately same bad as on other emulators Could you test it on your configuration? One more thing, demo requires standard A1200 configuration to run. Last edited by eastone; 06 January 2017 at 00:18. |
05 January 2017, 19:42 | #294 |
Posts: n/a
|
Hey SnakeCoils, I haven't actually tested this or really read through the thread entirely yet, but does this port just do 68k stuff or can I also use PPC?
|
06 January 2017, 22:17 | #295 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
@eastone
On my configuration the performance of the A1200 demo you mentioned is not that bad , of course there are some slowdowns when the emulated AGA chipset is squeezed but not the worse case I've seen, let's try the "Nexus 7" demo for example and you will see the real limit of available CPU resources for a smooth emulation. Anyway this is the FS-UAE configuration (2.9.2dev binary) I used for running the demo: Code:
amiga_model = A1200 accuracy = -1 floppy_drive_volume = 0 video_sync = off fullscreen = 1 fullscreen_mode = fullscreen keep_aspect = 1 viewport = * * * * => 0 0 752 574 floppy_drive_0 = Digital-A1200.adf @esc At present my FS-UAE builds supports 68k code only, for Amiga PPC support on OSX PPC hosts some modifications to source are needed but the result, even on faster G5 machine is disappointing. I've heard that on Linux builds the performances are not so bad but I know very little about that world. |
06 January 2017, 22:39 | #296 |
Posts: n/a
|
Ah, bummer. Interesting, though, is there any reason we can't pass a lot of the emulated ppc calls to the actual ppc hardware? I suspect that's probably very complicated but at first glance it doesn't seem totally necessary to emulate CPU instructions which already exist in the hardware.
|
07 January 2017, 12:57 | #297 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
I think this question has been already answered in some part of this long thread (or elsewhere in the forum), If I remember well the host CPU and memory must be accessed as separate virtual machine (QEMU) and results are then shared between FS-UAE and the VM plugin, in this way is possible to allow direct calls to the host CPU from the emulated Amiga without interferences to other host resources since the two environment operates as two separate VMs. In the past some experiments have been done but again the CPU resources of PowerMacs are not enough for smoothly running a basic FS-UAE 68k environment so imagine a 68k+PPC emulation. Honestly I have to admit to be not very interested in the AmigaOS 4.x world because the heart of Amiga is in the 68k code apps and games, however I appriciate new developments of this platform but I remain convinced that if you want to do "modern" things you need "newer" machines.
|
07 January 2017, 17:51 | #298 |
Posts: n/a
|
Cool, thanks for the reply
Sent from my iPad using Tapatalk Pro |
10 January 2017, 21:27 | #299 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Latest FS-UAE 2.9.3dev for OSX PPC Leopard is up in The Zone! and ready for download.
|
11 January 2017, 15:31 | #300 | |
Registered User
Join Date: Nov 2014
Location: Vaasa
Posts: 23
|
Newest version does not work on my G5:
Quote:
OK, I put SDL2 manually into Framework folder and it works now. Last edited by eastone; 11 January 2017 at 17:28. Reason: update |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FS-UAE for G4 ppc OSX 10.5.8 | elowan | support.FS-UAE | 35 | 10 November 2014 19:22 |
[QUESTION] Will we see PPC support in FS-UAE too? | amigafreak68k | support.FS-UAE | 39 | 09 September 2014 22:28 |
JIT on E-UAE PPC? | _ThEcRoW | support.OtherUAE | 8 | 06 May 2011 23:55 |
PPC Emulation in UAE | Beakster | support.WinUAE | 9 | 15 March 2008 11:28 |
PPC UAE on os 3.9 | DDNI | request.UAE Wishlist | 7 | 26 October 2006 19:09 |
|
|