English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 06 September 2014, 01:02   #281
JimDrew
Registered User
 
Join Date: Dec 2013
Location: Lake Havasu City, AZ
Posts: 741
Quote:
Originally Posted by themamboman View Post
What was the version of mac OS supported by Fusion-PPC?
I don't recall... we tested whatever was running on the PowerMacs during the same time period.
JimDrew is offline  
Old 06 September 2014, 04:34   #282
B14ck W01f
m68k all the way
 
Join Date: Aug 2011
Location: Koalaland
Posts: 523
I like what Toni initially said about PPC emulation, and I thought I'd share this with you.

Quote:
PPC "Amigas" should have never existed. Amiga is dead and it should rest in peace (and kept as a nice hobby system like any other 80-90s computer) but no, it is kept in life support instead when its soul has been long gone/brain has been totally damaged and mutated (you can make your choice between brain/soul)
I share Toni's view, but how and why PPC emulation made its way into WinUAE (other than everybody wanted it) still amazes me.
B14ck W01f is offline  
Old 06 September 2014, 10:26   #283
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 6,047
Send a message via MSN to FOL
Quote:
Originally Posted by B14ck W01f View Post
I like what Toni initially said about PPC emulation, and I thought I'd share this with you.



I share Toni's view, but how and why PPC emulation made its way into WinUAE (other than everybody wanted it) still amazes me.
Why?

So you would never buy an X360, PS3 or Wii? all the same thing with a mashed up version of linux as the OS.
FOL is offline  
Old 06 September 2014, 11:04   #284
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
I think this thread is again in danger of getting off topic. This is not topic about "why PPC/why not". Not in support.WinUAE!
Toni Wilen is offline  
Old 06 September 2014, 12:32   #285
FOL
PSPUAE DEV
 
FOL's Avatar
 
Join Date: Nov 2006
Location: Wales / UK
Age: 45
Posts: 6,047
Send a message via MSN to FOL
Quote:
Originally Posted by Toni Wilen View Post
I think this thread is again in danger of getting off topic. This is not topic about "why PPC/why not". Not in support.WinUAE!
Sorry, noted.
FOL is offline  
Old 06 September 2014, 18:23   #286
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
Quote:
Originally Posted by B14ck W01f View Post
WinUAE has a problem with my hardfile, which I already mentioned in that thread. I'm still waiting for a response.
- KS ROM v3.1 (A1200) rev 40.68 with Beta 14 does not see HardFile

- KS ROM v3.1 (A4000) rev 40.68 OK
- KS ROM v3.1 (A4000T) rev 40.70 OK
AMIGASYSTEM is offline  
Old 06 September 2014, 18:40   #287
Mequa
Registered User
 
Join Date: Nov 2009
Location: UK
Posts: 497
Quote:
Originally Posted by Toni Wilen View Post
QEMU currently runs in separate thread even when m68k is stopped = io serialiation probably is big bottleneck when non-m68k OS is actually running.
I was wondering: why not include an option to force m68k and PPC emulation to always run on the same thread (not just when running non-m68k OS) to avoid such bottlenecking?
Using separate threads has both pros and cons, so in short, why not make multi-threaded emulation optional when emulating both m68k and PPC?
Mequa is offline  
Old 06 September 2014, 20:08   #288
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
Quote:
Originally Posted by AMIGASYSTEM View Post
- KS ROM v3.1 (A1200) rev 40.68 with Beta 14 does not see HardFile

- KS ROM v3.1 (A4000) rev 40.68 OK
- KS ROM v3.1 (A4000T) rev 40.70 OK
A600/A1200 vs A4000 IDE hardware is different. KS ROM _must_ match hardware!

Quote:
Originally Posted by Mequa View Post
I was wondering: why not include an option to force m68k and PPC emulation to always run on the same thread
"Problem" is QEMU. Single JIT execution call should not take more than about 1/4 or so of single frame time or Amiga-side timing will get badly messed up. I don't know how (at least not yet) to guarantee QEMU JIT call returning quickly enough.

It is easy with non-JIT emulation, just emulate 10 or so instructions and then do Amiga side emulation and then 10 instructions again and so on..
Toni Wilen is offline  
Old 08 September 2014, 09:19   #289
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
Status report:

Inter-thread messaging bottle-neck is now mostly gone.
cybppc.device (CSPPC built-in SCSI) works under OS4
Media Toolbox works.
Installing works.
Installing still takes forever (about 1 hour). See below. (But as I mentioned previously, boot image fade is now really fast)

Need to be fixed before public version:

All timers seem to run really fast (20x+), key repeat is instant, floppy clicks really fast. Probably (and hopefully) explains remaining performance problems. (It is possible huge number of timer interrupts takes most of remaining CPU time..)

QEMU seems to have multiple timer emulation modes but they are all quite difficult to understand..

"Unfortunately" PPC CPU has built-in counter + interrupt when it underflows, count rate is bus clock / 4, apparently this counter is used for OS4 timer.device. Possibly detection of bus clock is also wrong.
Toni Wilen is offline  
Old 08 September 2014, 10:34   #290
MickJT
Registered User
 
Join Date: Jul 2007
Location: Australia
Posts: 189
Thanks for the status update Toni.
MickJT is offline  
Old 08 September 2014, 10:56   #291
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
+1
amigafreak68k is offline  
Old 08 September 2014, 16:53   #292
Nickman1200
Registered User
 
Join Date: Jul 2014
Location: Östersund
Posts: 27
Quote:
Originally Posted by Toni Wilen View Post
Status report:

Inter-thread messaging bottle-neck is now mostly gone.
cybppc.device (CSPPC built-in SCSI) works under OS4
Media Toolbox works.
Installing works.
Installing still takes forever (about 1 hour). See below. (But as I mentioned previously, boot image fade is now really fast)

Need to be fixed before public version:

All timers seem to run really fast (20x+), key repeat is instant, floppy clicks really fast. Probably (and hopefully) explains remaining performance problems. (It is possible huge number of timer interrupts takes most of remaining CPU time..)

QEMU seems to have multiple timer emulation modes but they are all quite difficult to understand..

"Unfortunately" PPC CPU has built-in counter + interrupt when it underflows, count rate is bus clock / 4, apparently this counter is used for OS4 timer.device. Possibly detection of bus clock is also wrong.
Thanks for the nice update. Will donate right now to get you through to the finish line
Nickman1200 is offline  
Old 08 September 2014, 19:30   #293
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
About "UAE" devices and directory filesystem running under OS4:

Even if OS4 supports them (it should, at least in theory) but there are two technical problems:

m68k to host switching is done using m68k TRAP instructions, when UAE m68k emulator notices trap instruction executed by UAE boot rom, it calls host side code and trap instruction is not emulated. This can't work if m68k is not UAE m68k, PPC emulated m68k just executes trap instruction and bad things happen. Traps needs to be replaced with IO accesses to some reserved space (like UAE boot ROM). Quite easy update.

Much more complex problem: host side code takes parameters from UAE m68k emulator's registers which won't work when UAE m68k is idle and "m68k" is PPC emulated.. Each trap call needs to save parameters to memory and return code also needs to be memory based, not D0 register. This requires lots of really boring updates..

Only after everything else works. Maybe.
Toni Wilen is offline  
Old 08 September 2014, 20:05   #294
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
It's very cool that you think about it!
amigafreak68k is offline  
Old 09 September 2014, 00:51   #295
B14ck W01f
m68k all the way
 
Join Date: Aug 2011
Location: Koalaland
Posts: 523
Quote:
Originally Posted by Toni Wilen View Post
"Unfortunately" PPC CPU has built-in counter + interrupt when it underflows, count rate is bus clock / 4, apparently this counter is used for OS4 timer.device. Possibly detection of bus clock is also wrong.
We have complete faith in you, Toni
B14ck W01f is offline  
Old 09 September 2014, 11:08   #296
zipper
Registered User
 
Join Date: Mar 2004
Location: finland
Posts: 1,841
iFusion

Quote:
Originally Posted by JimDrew View Post
I don't recall... we tested whatever was running on the PowerMacs during the same time period.
MacOS 8.6 to 9.1; 9.04 found the best by many users.
zipper is offline  
Old 09 September 2014, 19:59   #297
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
Quote:
Originally Posted by Toni Wilen View Post
All timers seem to run really fast (20x+), key repeat is instant, floppy clicks really fast. Probably (and hopefully) explains remaining performance problems.
Timing issues seem to be largely resolved with a partial rewrite of the "qemu-uae CPU" (https://github.com/FrodeSolheim/qemu-uae) At least the AmigaOS 4.1 keyboard rate is sane in FS-UAE with the latest updates -More testing is needed to confirm, but it looks much better now
FrodeSolheim is offline  
Old 09 September 2014, 20:35   #298
amigafreak68k
Registered User
 
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468


I think, I didn't must tell you both how strong some people wait for the first test versions...

amigafreak68k is offline  
Old 09 September 2014, 20:57   #299
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
I confirm, timing is now correct and speed has increased noticeably. Previous OS4 boot time has been halved.

Boot image is now slower and stays visible longer but I guess it is timer timed, not CPU timed and works as designed.

TODO before public release: RTG mode switching hangs very regularly, some PPC/M68K locking related bug to debug.. EDIT: bug found, public release should not be too far anymore..

Last edited by Toni Wilen; 09 September 2014 at 21:21.
Toni Wilen is offline  
Old 09 September 2014, 23:54   #300
spotUP
Registered User
 
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
Cool! Appreciate it!
spotUP is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
PPC emulation for winuae marauder request.UAE Wishlist 25 04 November 2014 06:13
WinUAE appreciation thread Bloodwych Retrogaming General Discussion 34 26 August 2011 20:29
WinUAE ppc support? blasterreal support.WinUAE 8 29 September 2010 00:51
WinUAE: PPC Amiga Classic future emulation? DaNi support.WinUAE 24 12 January 2008 22:24
PPC on WinUAE ? glue request.UAE Wishlist 4 28 January 2007 12:04

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:05.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10247 seconds with 14 queries