Autore Topic: AROS/MorphOS x86/x64/PowerPC considerazioni  (Letto 4891 volte)

Offline divina

  • Synthetic Voodoo
  • *****
  • Post: 2051
  • Karma: +1/-7
    • Mostra profilo
AROS/MorphOS x86/x64/PowerPC considerazioni
« il: 31 Marzo 2012, 12:09:43 »
interessanti considerazioni da amiga-news.de in merito all' esecuzione di applicazioni MorphOS in AROS e svariati elementi correlati a ciò, in merito ad AROS e MorphOS  x86/x64/PowerPC in prospettiva.

http://amiga-news.de/en/news/AN-2012-03-00089-EN.html
« Ultima modifica: 01 Gennaio 1970, 02:00:00 da Guest »
MorphOS 3.9-PowerMac G5 && PowerMac G4 FW800 && PowerBook G4 && Pegasos2 G4 //AmigaOS4.x //IcAROS x86 //- A4k 060- MacIntel/powerpc - x86/x64/powerpc servers -

Offline cdimauro

  • Human Debugger
  • *****
  • Post: 4291
  • Karma: +7/-95
    • Mostra profilo
Re: AROS/MorphOS x86/x64/PowerPC considerazioni
« Risposta #1 il: 01 Aprile 2012, 10:08:04 »
Anche con Google Translate, si capisce poco. :cry:

Offline raistlin77it

  • Tech Guru
  • *****
  • Post: 221
  • Karma: +2/-0
    • Mostra profilo
Re: AROS/MorphOS x86/x64/PowerPC considerazioni
« Risposta #2 il: 01 Aprile 2012, 12:01:45 »
Citazione da: "cdimauro"
Anche con Google Translate, si capisce poco. :cry:

no prob io sono iscritto alla ml, vi posto le varie mail condensate :D


Citazione
Is it an AROS project goal to run MorphOS applications under AROS-PPC?

I'm about to get involved in some PPC development, and I was wondering
that that comparability is desired.

If so, I will work on making that happen.

--
Jason McMullan

Citazione
Project goal not really.
There is a bounty for such a provision.
http://www.power2people.org/projects/profile/8

However I'm not sure if it's actually desirable.

Regards,
R.
Citazione
Previous discussions on the subject have concluded that it is
undesirable due to differences in how mos/os4 achieve the same things.
My personal opinion is we should be trying to atleast be a bit similar
to os4 (since it is the natural progression of the OS we implement) -
but again we might not agree with how some things are done there.

Citazione

Although I think current PPC ABI should also be kept I don't think
anybody can be stopped to make another 'arch' that is MOS compatible. I
would then call this arch ppcmos and keep the ppc arch with the current
ABI. I am sure this this will break some code that only checks for
__powerpc__ and not __amigaos4__ or __morphos__ in their code.

There at least two things that will be different. The packing of
structures. For structs defined by the API of OS3.x libraries MOS and
OS4 let these struct be packed in a m68k compatible way (e.g. mostly at
two byte boundaries) and other structs are packed in PPC native way (4
bytes for data of 4 bytes long etc.)
We even had  a solution to implement it in the AROS includes by using
#include to enable this packing e.g. something like this:

#include <aros/compat_packing_on.h>

/* Definition of structs with compat packing */

#include <aros/compat_packing_off.h>

The contents of these aros/compat_packing_on.h and
aros/compat_packing_off.h could then be dependent on arch and compiler.

Another thing to fix is the way LVO tables are set up and the stub code
to fake m68k entry of the library functions.

To summarize ppc arch would use native packing for all structs and a
pointer table for the LVOs without special stub code. ppcmos would apply
special packing to structs that need it and provide the MOS LVO table
convention for shared libraries.

In the end I would like to have then also a ppcos4 arch that would then
be targeted to be OS4 compatible with their interfaces for shared
libraries etc.
One open source OS to unite them all !!
I am not so sure this initiative will be welcomed by either the
mos-devteam for ppcmos or by Hyperion for ppcos4. They both try to earn
some cash by selling their respective closed source OS.

greets,
Staf.

Citazione
A root directory filled with unix-like sobj files that are not really
shared, without version numbers and confusing users doesn't sound like a
natural progression at all. Poor compatibility mixing m68k/PPC components
doesn't sound natural progression. Incompatibility with OS legal drivers
that did DMA doesn't sound like a natural progression to me. OS4 developers
have made a good deal of bad choices IMHO, a lot of hype and promises but
bad choices, poor code and bad performance.

For me the natural progression is MorphOS: they use the first 64bit
filesystem standard chosen by the community of developers, they made CGX
(cloned by both OS4&AROS), they use MUI (the defacto amiga gui standard
included as standard with os4), they did first 060 boards, they bringed PPC
to Amiga... MorphOS is much more amiga-like than os4 is (os4 now is more
unix than amigaos)

Citazione
IMHO we should not let this evolve into another MOS vs OS4 discussion.
With defining two different archs (ppcmos and ppcos4) there is IMO no
reason why they can't happily coexist.

greets,
Staf.

Citazione
>
> However I'm not sure if it's actually desirable.
>
> Imagine AROS m68k port without m68k comaptibility to see if it makes sense
or not. I think it's pretty obvious that development of m68k port has
improved AROS quite a lot and I think having MorphOS compatibility could
help to improve AROS stability and compatibility because more apps could be
tested. Not just that but it could be quite useful. And in the future
perhaps it could help to run m68k apps natively on PPC too.

Citazione
I'd personally much rather see PPC AROS hosted on both OS 4 and MorphOS so we could build a compatibility layer for them.  They've already gone to the point that they won't easily run each other's software.  Also OS4Emu for MorphOS is unmaintained last I checked.  We might even beat some of them to the punch if we get Mesa and its Gallium3D drivers working on both systems.  The MorphOS team has already said that they won't be porting Gallium3D to their OS.
Cheers,
Sam

Citazione
> However I'm not sure if it's actually desirable.

Being just the initiator of that bounty and having my money withdrawn meanwhile for other AROS stuff, I obviously can't speak for the other donors, but myself at least I do indeed not see that much benefit in it anymore. The bounty was started many, many years before Apple's change of architecture.

But maybe someone would like to ask at amigaworld.net if there's significant interest - given that the OS4 community seems to be basically the only one benefitting from such a possibility.

Best wishes,
Martin

Citazione
PS: On a bounty aiming at running MorphOS binaries under AROS/x86 or AROS/x64 instead, I'd definitely donate, though. Everything making it easier for MorphOS developers to switch to AROS once they run out of Apple hardware would be really appreciated by me.

Citazione
> PS: On a bounty aiming at running MorphOS binaries under AROS/x86 or AROS/x64 instead, I'd definitely donate, though. Everything making it easier for MorphOS developers to switch to AROS once they run out of Apple hardware would be really appreciated by me.
>

This is kinda my intent. OS4's API (interfaces, etc) is very
different, structurally, from AROS/MorphOS 4.

Many of our libraries already have the MorphOS function stubs for post 3.x APIs.

And we already share code with MorphOS.

I would like to see AROS as a 'source level' transition for MorphOS
developers, allowing them to run their pre-compiled PPC binaries on
AROS PPC (to ensure that AROS supports the services their Application
uses), then they can recompile for x86, knowing that they should only
need to fix the inevitable endianess issues.

Who knows - maybe MorphOS could contribute a 'Rosetta' style PPC->x86
interface, then they could use AROS x86 as a kernel for a 'MorphOS
x86' (with PPC compatability).

Citazione
Then you should look in to http://emumiga.org/ and Vamos,
http://lallafa.de/blog/category/amiga/vamos .

Both projects aimed at running Amiga m68k binaries on x86.
Emumiga specifically at running m68k Amiga binaries on AROS.
(Developed on AROS x86, but in theory it should run unchanged on AROS
x86/PPC/m68k, maybe even amd64.)


Anyway, the difficult part stems from the fact that m68k is bigendian. Emumiga
right now has a
68000 interpreter. But it could also have a PPC interpreter. Morphos is very
similar to OS 3.1
I guess? So probably most of the lessons and maybe even code from Emumiga
could be used here.
« Ultima modifica: 01 Gennaio 1970, 02:00:00 da Guest »

Offline cdimauro

  • Human Debugger
  • *****
  • Post: 4291
  • Karma: +7/-95
    • Mostra profilo
Re: AROS/MorphOS x86/x64/PowerPC considerazioni
« Risposta #3 il: 01 Aprile 2012, 12:48:14 »
Grazie per l'eccellente lavoro. Adesso è molto, molto più chiaro.

Sostanzialmente concordo con le considerazioni fatte, tranne sulla possibilità di far girare le applicazioni MorphOS / PPC su AROS / AMD64.

Con l'uso di un emulatore 68000 / PowerPC è possibile integrare l'esecuzione delle rispettive applicazioni su qualunque architettura a 32 bit, ma il passaggio a 64 bit necessariamente porterebbe a grossi problemi.

Offline divina

  • Synthetic Voodoo
  • *****
  • Post: 2051
  • Karma: +1/-7
    • Mostra profilo
Re: AROS/MorphOS x86/x64/PowerPC considerazioni
« Risposta #4 il: 01 Aprile 2012, 14:00:23 »
aggiornato il thread, in inglese
« Ultima modifica: 01 Gennaio 1970, 02:00:00 da Guest »
MorphOS 3.9-PowerMac G5 && PowerMac G4 FW800 && PowerBook G4 && Pegasos2 G4 //AmigaOS4.x //IcAROS x86 //- A4k 060- MacIntel/powerpc - x86/x64/powerpc servers -

Offline cdimauro

  • Human Debugger
  • *****
  • Post: 4291
  • Karma: +7/-95
    • Mostra profilo
Re: AROS/MorphOS x86/x64/PowerPC considerazioni
« Risposta #5 il: 01 Aprile 2012, 15:03:00 »
Adesso ci siamo. :D

Però, e spero non ti seccherai, ho gradito molto di più l'elenco delle mail che ha riportato raistlin77it, che mostrano tanti interessanti retroscena e dettagli che dalla sintesi come quella che hai riportato non poteva emergere.

P.S. Purtroppo http://emumiga.org/ sembra morto. :(

Offline Matteo90

  • Tech Guru
  • *****
  • Post: 185
  • Karma: +1/-0
    • Mostra profilo
Re: AROS/MorphOS x86/x64/PowerPC considerazioni
« Risposta #6 il: 01 Aprile 2012, 19:03:54 »
Citazione da: "cdimauro"
Adesso ci siamo. :D

Però, e spero non ti seccherai, ho gradito molto di più l'elenco delle mail che ha riportato raistlin77it, che mostrano tanti interessanti retroscena e dettagli che dalla sintesi come quella che hai riportato non poteva emergere.

P.S. Purtroppo http://emumiga.org/ sembra morto. :(

http://emumiga.com/
« Ultima modifica: 01 Gennaio 1970, 02:00:00 da Guest »
AMIGA community is nothing more then a bunch of smart-assing forum mongers which have provided nothing productive, but have big mouthes.
Its sad indeed.
 
Gunnar - Natami Team

Offline cdimauro

  • Human Debugger
  • *****
  • Post: 4291
  • Karma: +7/-95
    • Mostra profilo
Re: AROS/MorphOS x86/x64/PowerPC considerazioni
« Risposta #7 il: 01 Aprile 2012, 19:11:57 »
Grazie, questo funziona.

Appena aperto il link, e mi trovo "Hacking Python". Cominciamo benissimo! 8-)

Offline divina

  • Synthetic Voodoo
  • *****
  • Post: 2051
  • Karma: +1/-7
    • Mostra profilo
Re: AROS/MorphOS x86/x64/PowerPC considerazioni
« Risposta #8 il: 01 Aprile 2012, 21:20:16 »
Citazione da: "cdimauro"
Adesso ci siamo. :D

Però, e spero non ti seccherai, ho gradito molto di più l'elenco delle mail che ha riportato raistlin77it, che mostrano tanti interessanti retroscena e dettagli che dalla sintesi come quella che hai riportato non poteva emergere.

ci mancherebbe :) ; è una fortuna che vi sia chi riporta dettagli ed entra nel particolare, il bello è proprio questo
(in amiga-news.de il giorno successivo riportano la traduzione in inglese dei loro threads)
« Ultima modifica: 01 Gennaio 1970, 02:00:00 da Guest »
MorphOS 3.9-PowerMac G5 && PowerMac G4 FW800 && PowerBook G4 && Pegasos2 G4 //AmigaOS4.x //IcAROS x86 //- A4k 060- MacIntel/powerpc - x86/x64/powerpc servers -

Offline raistlin77it

  • Tech Guru
  • *****
  • Post: 221
  • Karma: +2/-0
    • Mostra profilo
Re: AROS/MorphOS x86/x64/PowerPC considerazioni
« Risposta #9 il: 02 Aprile 2012, 19:12:37 »
Citazione da: "divina"
Citazione da: "cdimauro"
Adesso ci siamo. :D

Però, e spero non ti seccherai, ho gradito molto di più l'elenco delle mail che ha riportato raistlin77it, che mostrano tanti interessanti retroscena e dettagli che dalla sintesi come quella che hai riportato non poteva emergere.

ci mancherebbe :) ; è una fortuna che vi sia chi riporta dettagli ed entra nel particolare, il bello è proprio questo
(in amiga-news.de il giorno successivo riportano la traduzione in inglese dei loro threads)

in effetti la news di amiga-news.de è molto stringata come deve essere, ma potendo leggere i "retroscena" è meglio :D
« Ultima modifica: 01 Gennaio 1970, 02:00:00 da Guest »

Tags: