English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 25 April 2018, 13:47   #461
fl@sh
Registered User
 
Join Date: Mar 2018
Location: italy
Posts: 30
Seems cpu is well recognized by QEMU, but under AmigaOS it's still a ppc 604e
Attached Files
File Type: txt winuaelog.txt (71.9 KB, 171 views)
File Type: txt winuaebootlog.txt (57.5 KB, 191 views)
fl@sh is offline  
Old 25 April 2018, 21:09   #462
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by fl@sh View Post
Seems cpu is well recognized by QEMU, but under AmigaOS it's still a ppc 604e
Does the program actually query the CPU or just read some info from OS structures? OS4 for classic seem to assume CPU type from used PPC board.
Toni Wilen is offline  
Old 25 April 2018, 22:37   #463
fl@sh
Registered User
 
Join Date: Mar 2018
Location: italy
Posts: 30
Both ppccpuinfo and showconfig utilities reads os structures, so maybe you are betting the right one choice

Anyway I tried to run a program I'm developing, compiling it under GCC first with altivec and later with non altivec support.

The first produce a greamreaper, the last runs well.
So even if altivec extension it's not recognized by os, it should run, ..or not?!?

..Is there anyone else who can test the 7400 cpu flag under WinUAE?
fl@sh is offline  
Old 25 April 2018, 23:08   #464
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
Hi fl@sh,
I use 7410
I do not know if this is useful, if you have programs to do tests, I'm available.

Hi Toni
Choosing 7445 WinUAE hangs with a blue screen, can it be a conflict with the emulated graphics card?
This may be out of place but I noticed:
that choosing in WINUAE MORE COMPATIBLE and DATA CACHE EMULATION
68k RunInUAE programs have increased by twice.
Also I do not know the reasons but UAE-X1000 works better than UAE-SDL
even if I modified the configuration files and other things.
Now the sound is perfect with UAE-X1000.


I hope it's useful, if it's out of place I'm sorry.

Last edited by White; 25 April 2018 at 23:11. Reason: error
White is offline  
Old 26 April 2018, 08:55   #465
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by White View Post
Hi fl@sh,
I use 7410
I do not know if this is useful, if you have programs to do tests, I'm available.

Hi Toni
Choosing 7445 WinUAE hangs with a blue screen, can it be a conflict with the emulated graphics card?
This may be out of place but I noticed:
that choosing in WINUAE MORE COMPATIBLE and DATA CACHE EMULATION
68k RunInUAE programs have increased by twice.
Also I do not know the reasons but UAE-X1000 works better than UAE-SDL
even if I modified the configuration files and other things.
Now the sound is perfect with UAE-X1000.

I hope it's useful, if it's out of place I'm sorry.
Not really, you are just trying to do random things and then trying to guess some results, badly (because it would be impossible to get correct answer without much more tests).. For example: both CPU options are 680x0 only and 680x0 is disabled in OS4 emulation!

Quote:
Originally Posted by fl@sh View Post
Both ppccpuinfo and showconfig utilities reads os structures, so maybe you are betting the right one choice

Anyway I tried to run a program I'm developing, compiling it under GCC first with altivec and later with non altivec support.

The first produce a greamreaper, the last runs well.
So even if altivec extension it's not recognized by os, it should run, ..or not?!?

..Is there anyone else who can test the 7400 cpu flag under WinUAE?
I don't think anyone can help any more. You are in unsupported territory, trying to emulate hardware that does not exist with emulation that may or may not do that..

Try something simple first, just trying to execute single instruction that does not do anything too complex (so that OS can't mess it up, if instruction causes aligment exceptions etc..).
Toni Wilen is offline  
Old 26 April 2018, 13:15   #466
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
Hi Toni,
Thank you for your answer,
as always you're right, the options above do not affect RunInUae
I simply configured the UAE-X1000 to work well.
But I have seen that the UAE-X1000 version does not crash using the JIT
while the UAE-SDL version very often crashes with the JIT activated.
I'd like to understand where I can talk about RunInUAE on EAB without disturbing this section of WinUAE
Also if I can I would like to upload my RunInUae package to better understand how it works and understand why the X1000 version works
Because at the moment it works very well.
I do a lot of testing is part of my way of testing things on computers

Thanks again for your patience and your answers are always useful for learning.
White is offline  
Old 26 April 2018, 16:39   #467
fl@sh
Registered User
 
Join Date: Mar 2018
Location: italy
Posts: 30
Quote:
Originally Posted by White View Post
Hi fl@sh,
I use 7410
I do not know if this is useful, if you have programs to do tests, I'm available.
Tested also 7410 option, still same result: ppc 604e
As suggestet by Toni I'll write and compile something really simple using Altivec vectors, stay tuned for result..

@White
If you have a cpu with altivec support I could gave you an exe to test..
I'll send you a PM, tnx!
fl@sh is offline  
Old 26 April 2018, 17:39   #468
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
Hi fl@sh,
sorry but you're talking about Qemu PPC with powerpc as a processor?
I do not have a powerppc to use Qemu kvm
I probably did not understand what you were talking about, sorry.
Or I'm not understanding the altivec support
sorry again.
White is offline  
Old 26 April 2018, 18:38   #469
Saghalie
Registered User
 
Saghalie's Avatar
 
Join Date: Nov 2014
Location: FT Lewis, WA
Posts: 374
Quote:
Originally Posted by Toni Wilen View Post
- QEMU built as a library: http://www.winuae.net/files/b/qemu-uae.zip
- QEMU dependencies: download and unpack to <winuae dir>\plugins\qemu http://www.winuae.net/files/stuff/qemu_dependencies.zip
- QEMU built as a library: http://www.winuae.net/files/b/qemu-uae.zip
None of the links work for me. Is it my Internet or is there something going
on with winuae.net?

Thanks for any assistance
Saghalie is offline  
Old 27 April 2018, 09:35   #470
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
Hi,
I attach RunInUae used by me, I hope it's right.
The UAE1 version included in the package and UAE-SDL
The UAE version included in the package and UAE-X1000
If I was wrong to do the upload I apologize
Thanks again.
I hope it can be useful.
If it is not right, delete the post.
I apologize in advance.
It's just a simple passion for amiga :-)

here the link:
https://tinyurl.com/yakwe3c8

Last edited by White; 27 April 2018 at 09:42. Reason: error
White is offline  
Old 28 April 2018, 23:21   #471
fl@sh
Registered User
 
Join Date: Mar 2018
Location: italy
Posts: 30
Quote:
Originally Posted by fl@sh View Post
Tested also 7410 option, still same result: ppc 604e
As suggestet by Toni I'll write and compile something really simple using Altivec vectors, stay tuned for result..

@White
If you have a cpu with altivec support I could gave you an exe to test..
I'll send you a PM, tnx!
Well so I compiled a very simple test with GCC -maltivec -mabi=altivec -o vecadd vecadd.c

#include <stdio.h>
#include <altivec.h>

int main ()
{
vector signed int v1 = {1,1,1,1};
vector signed int v2 = {1,1,1,1};
vector signed int v3;

v3 = vec_add (v1,v2);

printf ("Numbers v1: %9.8vld\n", v1);
printf ("Numbers v2: %9.8vld\n", v2);
printf ("Sum v1+v2: %9.8vld\n", v3);

return 0;
}

the result is a guru 80000003

Even if Qemu seems to initialize correctly a 7400 ppc cpu (g4), altivec extensions aren't supported and amiga os still identifies it ad a ppc 604e

Maybe as Toni said the limit could be the csppc emulated platform and AOS4.1 or (less probably) could be something wrong in QUEMU
fl@sh is offline  
Old 29 April 2018, 12:47   #472
fl@sh
Registered User
 
Join Date: Mar 2018
Location: italy
Posts: 30
@Toni

Hi Toni,
I'd like ask you if a fork of WinUAE, targeted on: new AmigaOS4, PowerPC Cpu and RTG graphics, PCI audio/storage will ever be possible.
It could be a sort of "AmigaOne emulator" :-)
All old 68k, OCS/AGA legacy emulation could still be done in RunInUAE.

What do you think about it?

I'd like to know if something other is interested is a such development or I'm alone..
fl@sh is offline  
Old 29 April 2018, 13:36   #473
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by fl@sh View Post
@Toni

Hi Toni,
I'd like ask you if a fork of WinUAE, targeted on: new AmigaOS4, PowerPC Cpu and RTG graphics, PCI audio/storage will ever be possible.
It could be a sort of "AmigaOne emulator" :-)
All old 68k, OCS/AGA legacy emulation could still be done in RunInUAE.

What do you think about it?

I'd like to know if something other is interested is a such development or I'm alone..
No because it would not make any sense at all. There is nothing emulation core related in UAE that would be usable in NG hardware emulation, it would be complete rewrite from scratch.

Correct way is to take QEMU and add required missing parts. QEMU is designed to emulate PC-like hardware. But don't ask me, I am not interested.
Toni Wilen is offline  
Old 30 April 2018, 12:45   #474
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Quote:
Originally Posted by fl@sh View Post
the result is a guru 80000003

Even if Qemu seems to initialize correctly a 7400 ppc cpu (g4), altivec extensions aren't supported and amiga os still identifies it ad a ppc 604e

Maybe as Toni said the limit could be the csppc emulated platform and AOS4.1 or (less probably) could be something wrong in QUEMU
Try inline assembly

But nothing won't change until someone ports UAE QEMU PPC module patch to latest QEMU version.
Toni Wilen is offline  
Old 08 May 2018, 12:39   #475
bernd roesch
Registered User
 
Join Date: Apr 2012
Location: germany
Posts: 139
Quote:
Originally Posted by AMIGASYSTEM View Post
Ciao bernd, i noticed that if i use in the Startup-sequence of AfA-OS "C:LoadModule LIBS:layers.library" i get an error on the RAM (see screenshot), there is some solution ?
then there is something wrong in the layer library you want add. old aos do no sanity check if ram trash or not. what layer.library you use ?. as an alternate to get it working you can use memtrailer 8. this add 8 bytes every mem alloc. it help also to get working bad written programs mybe it is usefull have this program allways in a ppc config.
bernd roesch is offline  
Old 08 May 2018, 15:22   #476
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by bernd roesch View Post
what layer.library you use ?
THIS

Quote:
as an alternate to get it working you can use memtrailer 8. this add 8 bytes every mem alloc.
Thanks I did not know this utility, will test this interesting application on AFA OS
AMIGASYSTEM is offline  
Old 08 May 2018, 17:33   #477
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Quote:
Originally Posted by bernd roesch View Post
... as an alternate to get it working you can use memtrailer 8. this add 8 bytes every mem alloc. it help also to get working bad written programs mybe it is usefull have this program allways in a ppc config.
No, if you have WarpOS or something similar installed, memory allocations always have to be a multiple of 32 bytes. Thus, you can only use MemTrailer with 32, 64 or 96 as a trailer size.
PeterK is offline  
Old 23 June 2018, 06:32   #478
fl@sh
Registered User
 
Join Date: Mar 2018
Location: italy
Posts: 30
Is there any setting I can check to speedup ppc emulation? Does all old chipset related stuff go to definitively sleep when the ppc starts?
I'm waiting for qemu compatibility but meantime I'm using winuae for OS4.
I hope, one day maybe, Toni will be major focused on this 'new' branch of Amiga emulation.
fl@sh is offline  
Old 23 June 2018, 08:43   #479
White
Registered User
 
White's Avatar
 
Join Date: Sep 2016
Location: italy
Posts: 1,480
@ Fl@sh
Hi,
which version do you use to emulate the sam460ex?
Do you use "linux"? or windows?
I'd like to do some tests, could you suggest me the executable you use?
qemu-system-ppc is this the executable you use?

From what I understood at the time the problem lies in the emulation of the graphics card but I did not quite understand if it can work with an ati 9200 pci

What processor do you use for emulation?

Thank you have a nice day.
White is offline  
Old 24 June 2018, 22:04   #480
fl@sh
Registered User
 
Join Date: Mar 2018
Location: italy
Posts: 30
Qemu still doesn't support OS4, due unsupported emulated gfx boards.
For emulations I use an Intel i5 6600 under windows 10, I have also a powermac g5 quad 2.0GHz ready for emulating amigaos 4 under qemu with kvm switch enabled.

Greetings!
fl@sh 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
QEMU TCG as JIT replacement? KillaByte request.UAE Wishlist 21 30 January 2018 16:05
PPC emulation for winuae marauder request.UAE Wishlist 25 04 November 2014 06:13
WinUAE PPC thread B14ck W01f support.WinUAE 301 10 September 2014 16:34
WinUAE ppc support? blasterreal support.WinUAE 8 29 September 2010 00:51
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 05:23.

Top

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