06 September 2014, 01:02 | #281 |
Registered User
Join Date: Dec 2013
Location: Lake Havasu City, AZ
Posts: 741
|
|
06 September 2014, 04:34 | #282 | |
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:
|
|
06 September 2014, 10:26 | #283 | |
PSPUAE DEV
|
Quote:
So you would never buy an X360, PS3 or Wii? all the same thing with a mashed up version of linux as the OS. |
|
06 September 2014, 11:04 | #284 |
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!
|
06 September 2014, 12:32 | #285 |
PSPUAE DEV
|
|
06 September 2014, 18:23 | #286 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,262
|
|
06 September 2014, 18:40 | #287 | |
Registered User
Join Date: Nov 2009
Location: UK
Posts: 497
|
Quote:
Using separate threads has both pros and cons, so in short, why not make multi-threaded emulation optional when emulating both m68k and PPC? |
|
06 September 2014, 20:08 | #288 | ||
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
|
Quote:
Quote:
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.. |
||
08 September 2014, 09:19 | #289 |
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. |
08 September 2014, 10:34 | #290 |
Registered User
Join Date: Jul 2007
Location: Australia
Posts: 189
|
Thanks for the status update Toni.
|
08 September 2014, 10:56 | #291 |
Registered User
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
|
+1
|
08 September 2014, 16:53 | #292 | |
Registered User
Join Date: Jul 2014
Location: Östersund
Posts: 27
|
Quote:
|
|
08 September 2014, 19:30 | #293 |
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. |
08 September 2014, 20:05 | #294 |
Registered User
Join Date: Apr 2013
Location: Engelsdorf / Germany
Posts: 468
|
It's very cool that you think about it!
|
09 September 2014, 00:51 | #295 |
m68k all the way
Join Date: Aug 2011
Location: Koalaland
Posts: 523
|
|
09 September 2014, 11:08 | #296 |
Registered User
Join Date: Mar 2004
Location: finland
Posts: 1,841
|
iFusion
|
09 September 2014, 19:59 | #297 | |
FS-UAE Developer
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
|
Quote:
|
|
09 September 2014, 20:35 | #298 |
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... |
09 September 2014, 20:57 | #299 |
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. |
09 September 2014, 23:54 | #300 |
Registered User
Join Date: Dec 2002
Location: sweden
Age: 46
Posts: 430
|
Cool! Appreciate it!
|
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 |
|
|