20 May 2019, 08:44 | #341 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Glad to see it worked well also on G5 machines, on my G4 I din't noticed a big speed up but all the previous programs works as usual, it also a good thing it can still be compiled for PPC hosts because some recent changes in source indicates the minimum OSX should be 10.9 so I think at a certain point the changes will became so deep that a build under 10.5 would not be more possible. Let's see what is going to happen with incoming updates :-)
|
20 May 2019, 12:34 | #342 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Configure with
--disable-x86as well (disables bridgeboard emulation) |
20 May 2019, 22:22 | #343 | |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Quote:
Code:
./configure --disable-jit --disable-x86 Code:
g++-mp-7 -DHAVE_CONFIG_H -I. -DMACOSX -DMACOS -DUAE -DFSUAE -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./manymouse -I./glad/include -I./libudis86/include -I./prowizard/include -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include -fno-strict-overflow -fno-strict-aliasing -Wmissing-declarations -Waddress -fvisibility=hidden -I/opt/local/include/mpeg2dec -fpermissive -O3 -maltivec -mabi=altivec -MT src/libuae_a-x86.o -MD -MP -MF src/.deps/libuae_a-x86.Tpo -c -o src/libuae_a-x86.o `test -f 'src/x86.cpp' || echo './'`src/x86.cpp In file included from src/x86.cpp:56:0: src/pcem/codegen.h:12:2: error: #error Dynamic recompiler not implemented on your platform #error Dynamic recompiler not implemented on your platform ^~~~~ src/pcem/codegen.h: In function 'void addbyte(uint8_t)': src/pcem/codegen.h:317:26: error: 'BLOCK_MAX' was not declared in this scope if (block_pos >= BLOCK_MAX) ^~~~~~~~~ src/pcem/codegen.h:317:26: note: suggested alternative: 'LONG_MAX' if (block_pos >= BLOCK_MAX) ^~~~~~~~~ LONG_MAX src/pcem/codegen.h: In function 'void addword(uint16_t)': src/pcem/codegen.h:327:26: error: 'BLOCK_MAX' was not declared in this scope if (block_pos >= BLOCK_MAX) ^~~~~~~~~ src/pcem/codegen.h:327:26: note: suggested alternative: 'LONG_MAX' if (block_pos >= BLOCK_MAX) ^~~~~~~~~ LONG_MAX src/pcem/codegen.h: In function 'void addlong(uint32_t)': src/pcem/codegen.h:337:26: error: 'BLOCK_MAX' was not declared in this scope if (block_pos >= BLOCK_MAX) ^~~~~~~~~ src/pcem/codegen.h:337:26: note: suggested alternative: 'LONG_MAX' if (block_pos >= BLOCK_MAX) ^~~~~~~~~ LONG_MAX src/pcem/codegen.h: In function 'void addquad(uint64_t)': src/pcem/codegen.h:347:26: error: 'BLOCK_MAX' was not declared in this scope if (block_pos >= BLOCK_MAX) ^~~~~~~~~ src/pcem/codegen.h:347:26: note: suggested alternative: 'LONG_MAX' if (block_pos >= BLOCK_MAX) ^~~~~~~~~ LONG_MAX Code:
#error Dynamic recompiler not implemented on your platform Code:
#define BLOCK_MAX 0 Code:
tar zcfv ../../$(dname).tar.xz FS-UAE.app |
|
20 May 2019, 23:58 | #344 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
A slighly better fix is to move the WITH_X86 ifdef in src/x86.cpp further up so that src/pcem/codegen.h is not included at all; it can be moved up to below #include "sysdeps.h" for example:
Code:
#include "sysconfig.h" #include "sysdeps.h" #ifdef WITH_X86 ... As for the tar command, using z instead of J, which is fine, produces a tar.gz file instead of tar.xz, so you want to change the archive extension as well ;-) : Code:
tar zcfv ../../$(dname).tar.gz FS-UAE.app |
21 May 2019, 07:44 | #345 | |
Registered User
|
Quote:
https://github.com/FFmpeg/FFmpeg/blo...bavcodec/iff.c They use quite large lookup tables, but are blazing fast. Even HAM decoding doesn't need conditional branches in the inner main decoding loop. However, it hasn't the HAM6-AGA fix (mul color 0x11 instead). Maybe worth a try! |
|
21 May 2019, 12:37 | #346 | |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Quote:
Yes, philologically is correct, I admit I didn't mind about the extension since it was working as it was. Before made further PPC builds I will wait for the next commits to 4210 branch. |
|
21 May 2019, 12:45 | #347 | |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Quote:
A good example of this can be seen in the Nexus 7 AGA demo in the part of the morphing face (pure HAM8 rendering) where everything chokes also on faster G5 machines. |
|
21 May 2019, 20:50 | #348 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
The very latest OSX PPC binary of 4210 branch is online and ready to download in The Zone. Picasso 96 works again and overall seems a bit faster than previous build.
Compile went smooth and without errors, a truly good job Frode, thank you VERY VERY much! :-) |
23 May 2019, 08:32 | #349 |
Registered User
Join Date: Nov 2014
Location: Vaasa
Posts: 23
|
|
23 May 2019, 12:34 | #350 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
This is the reason because I warned to not trash the previous FS-UAE binaries, at present the code (according to what Frode wrote some post above) still lack optimizations, maybe in the final version the emulator will run much smoother but do not expect a dramatic boost in performance: any advance in accuracy means more needed computation power.
|
23 May 2019, 12:41 | #351 |
Registered User
Join Date: Nov 2014
Location: Vaasa
Posts: 23
|
@SnakeCoils
No problem It was just info |
23 May 2019, 13:50 | #352 |
Retired Quartex Sysop
Join Date: Sep 2001
Location: Roman Verulamium
Age: 58
Posts: 1,873
|
With a 1.25 Ghz G4 Mini which version is gonna give me best features with 100% Amiga speed??
Sent from my Redmi Note 7 using Tapatalk |
23 May 2019, 22:49 | #353 | |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Quote:
FS-UAE has the accuracy and versatility as main goals, therefore the requirements for a nice experience are a bit high even for the old versions. The fastest and reasonabily complete version of FS-UAE for PowerMacs you can execute is the 2.4.1 and on a MacMini you can run the most part of games and demos without major slowdowns (declaring the parameter Accuracy=-1), what really could make the difference would be a Level 3 cache on the CPU but it was not present in the processors of MacMini product line. If you are going to accept some (many) compromises in accuracy but you absolutely want the fastest emulated Amiga possible on PowerMacs you have one only choice: E-UAE-JIT PPC from the developer Amos Rajnai. The development is almost stopped now but the binary is available both for G4 and G5 machines: of course forget the CD32 and Picasso96 emulation but for the rest it is quite usable. The hard work of Amos on the JIT recompiler for PPC is invaluable and so the efforts of Frode in mantain a project so "clean" and "open" to can be still compiled on PPC machines now, in 2019! From what I have seen using both emulators I have understood that the major slowdowns of FS-UAE (on PPC hosts) are not related to CPU tasks but chipset emulation, any improvement in this direction (also from other developers with their own FS-UAE-PPC branch) would really make a world of difference. In the meantime, if you are interested, I can re-upload the 2.4.1 OSX PPC binary in The Zone. |
|
28 May 2019, 01:00 | #354 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
The (unofficial) OSX PPC binary of 2.9.10dev FS-UAE source is online and ready to download in The Zone.
Noticeably faster, on par with previous dev releases before the recent WinUAE merge. Very nice! :-) |
30 May 2019, 19:27 | #355 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
The (unofficial) OSX PPC binary of 2.9.12dev FS-UAE source is online and ready to download in The Zone. Enjoy!
|
27 June 2019, 20:29 | #356 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
The (unofficial) OSX PPC binary of 3.0.0 stable FS-UAE source is online and ready to download in The Zone. Enjoy!
|
28 June 2019, 14:29 | #357 |
Registered User
Join Date: Oct 2007
Location: Athens , Greece
Posts: 1,840
|
Awesome, thx!
|
08 November 2019, 00:43 | #358 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Just tried to compile the 3.0.2 release but I have hit this error:
Code:
depbase=`echo src/fsemu/fsemu-sdlwindow.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc-mp-7 -DHAVE_CONFIG_H -I. -DMACOSX -DMACOS -DUAE -DFSUAE -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./manymouse -I./glad/include -I./libudis86/include -I./prowizard/include -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT src/fsemu/fsemu-sdlwindow.o -MD -MP -MF $depbase.Tpo -c -o src/fsemu/fsemu-sdlwindow.o src/fsemu/fsemu-sdlwindow.c &&\ mv -f $depbase.Tpo $depbase.Po src/fsemu/fsemu-sdlwindow.c:208:8: error: unknown type name 'SDL_HitTestResult' static SDL_HitTestResult fsemu_sdlwindow_hit_test_2(SDL_Window *window, ^~~~~~~~~~~~~~~~~ src/fsemu/fsemu-sdlwindow.c: In function 'fsemu_sdlwindow_hit_test_2': src/fsemu/fsemu-sdlwindow.c:218:16: error: 'SDL_HITTEST_NORMAL' undeclared (first use in this function); did you mean 'SDL_HINT_NORMAL'? return SDL_HITTEST_NORMAL; ^~~~~~~~~~~~~~~~~~ SDL_HINT_NORMAL src/fsemu/fsemu-sdlwindow.c:218:16: note: each undeclared identifier is reported only once for each function it appears in src/fsemu/fsemu-sdlwindow.c:229:20: error: 'SDL_HITTEST_DRAGGABLE' undeclared (first use in this function); did you mean 'SDL_HITTEST_NORMAL'? return SDL_HITTEST_DRAGGABLE; ^~~~~~~~~~~~~~~~~~~~~ SDL_HITTEST_NORMAL src/fsemu/fsemu-sdlwindow.c:233:20: error: 'SDL_HITTEST_RESIZE_BOTTOMLEFT' undeclared (first use in this function); did you mean 'SDL_HITTEST_DRAGGABLE'? return SDL_HITTEST_RESIZE_BOTTOMLEFT; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SDL_HITTEST_DRAGGABLE src/fsemu/fsemu-sdlwindow.c:235:16: error: 'SDL_HITTEST_RESIZE_LEFT' undeclared (first use in this function); did you mean 'SDL_HITTEST_RESIZE_BOTTOMLEFT'? return SDL_HITTEST_RESIZE_LEFT; ^~~~~~~~~~~~~~~~~~~~~~~ SDL_HITTEST_RESIZE_BOTTOMLEFT src/fsemu/fsemu-sdlwindow.c:238:20: error: 'SDL_HITTEST_RESIZE_BOTTOMRIGHT' undeclared (first use in this function); did you mean 'SDL_HITTEST_RESIZE_BOTTOMLEFT'? return SDL_HITTEST_RESIZE_BOTTOMRIGHT; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SDL_HITTEST_RESIZE_BOTTOMLEFT src/fsemu/fsemu-sdlwindow.c:240:16: error: 'SDL_HITTEST_RESIZE_RIGHT' undeclared (first use in this function); did you mean 'SDL_HITTEST_RESIZE_LEFT'? return SDL_HITTEST_RESIZE_RIGHT; ^~~~~~~~~~~~~~~~~~~~~~~~ SDL_HITTEST_RESIZE_LEFT src/fsemu/fsemu-sdlwindow.c:247:16: error: 'SDL_HITTEST_RESIZE_BOTTOM' undeclared (first use in this function); did you mean 'SDL_HITTEST_RESIZE_BOTTOMLEFT'? return SDL_HITTEST_RESIZE_BOTTOM; ^~~~~~~~~~~~~~~~~~~~~~~~~ SDL_HITTEST_RESIZE_BOTTOMLEFT src/fsemu/fsemu-sdlwindow.c: At top level: src/fsemu/fsemu-sdlwindow.c:252:8: error: unknown type name 'SDL_HitTestResult' static SDL_HitTestResult fsemu_sdlwindow_hit_test(SDL_Window *window, ^~~~~~~~~~~~~~~~~ src/fsemu/fsemu-sdlwindow.c: In function 'fsemu_sdlwindow_create': src/fsemu/fsemu-sdlwindow.c:334:9: warning: implicit declaration of function 'SDL_SetWindowHitTest'; did you mean 'SDL_SetWindowTitle'? [-Wimplicit-function-declaration] if (SDL_SetWindowHitTest(window, fsemu_sdlwindow_hit_test, NULL) == -1) { ^~~~~~~~~~~~~~~~~~~~ SDL_SetWindowTitle src/fsemu/fsemu-sdlwindow.c: In function 'fsemu_sdlwindow_handle_cursor': src/fsemu/fsemu-sdlwindow.c:545:5: error: unknown type name 'SDL_HitTestResult'; did you mean 'GTestResult'? SDL_HitTestResult hit_test = ^~~~~~~~~~~~~~~~~ GTestResult src/fsemu/fsemu-sdlwindow.c:547:21: error: 'SDL_HITTEST_RESIZE_LEFT' undeclared (first use in this function); did you mean 'SDL_WINDOW_RESIZABLE'? if (hit_test == SDL_HITTEST_RESIZE_LEFT || ^~~~~~~~~~~~~~~~~~~~~~~ SDL_WINDOW_RESIZABLE src/fsemu/fsemu-sdlwindow.c:548:21: error: 'SDL_HITTEST_RESIZE_RIGHT' undeclared (first use in this function); did you mean 'SDL_HITTEST_RESIZE_LEFT'? hit_test == SDL_HITTEST_RESIZE_RIGHT) { ^~~~~~~~~~~~~~~~~~~~~~~~ SDL_HITTEST_RESIZE_LEFT src/fsemu/fsemu-sdlwindow.c:550:28: error: 'SDL_HITTEST_RESIZE_BOTTOM' undeclared (first use in this function); did you mean 'SDL_HITTEST_RESIZE_LEFT'? } else if (hit_test == SDL_HITTEST_RESIZE_BOTTOM) { ^~~~~~~~~~~~~~~~~~~~~~~~~ SDL_HITTEST_RESIZE_LEFT src/fsemu/fsemu-sdlwindow.c:552:28: error: 'SDL_HITTEST_RESIZE_BOTTOMLEFT' undeclared (first use in this function); did you mean 'SDL_HITTEST_RESIZE_BOTTOM'? } else if (hit_test == SDL_HITTEST_RESIZE_BOTTOMLEFT) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SDL_HITTEST_RESIZE_BOTTOM src/fsemu/fsemu-sdlwindow.c:554:28: error: 'SDL_HITTEST_RESIZE_BOTTOMRIGHT' undeclared (first use in this function); did you mean 'SDL_HITTEST_RESIZE_BOTTOMLEFT'? } else if (hit_test == SDL_HITTEST_RESIZE_BOTTOMRIGHT) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SDL_HITTEST_RESIZE_BOTTOMLEFT make[3]: *** [src/fsemu/fsemu-sdlwindow.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [bundle] Error 2 |
08 November 2019, 08:16 | #359 |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
This looks like code from the git master branch, not 3.0.02 ;-)
(For reference, the errors are probably due to too old SDL2) |
08 November 2019, 12:21 | #360 |
Registered User
Join Date: Mar 2014
Location: Italy
Posts: 164
|
Yes, I'm gone back to the 3.0.2 source code archive and the compile went good: the new release is now available in The Zone for download.
If there will be no more updates of SDL2 libraries for OSX PPC from TigerPorts this likely will be the final FS-UAE release for PowerMacs because the new modification on the source code rely on new instructions preset from 2.0.4 I've seen in his GitHub repository a preliminary study for a 2.0.5 port but the project is on hold from some months, we can only hope... Anyway thank you very much for your support so far Frode, having this emulator running on our beloved G4/G5 machines wouldn't be possible without the attention you deserved to ALL the FS-UAE users including this little niche :-) |
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 |
|
|