Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: redrumloa on December 20, 2003, 08:13:18 PM

Title: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: redrumloa on December 20, 2003, 08:13:18 PM
As stated, ity would be really nice for backwards compatability if UAE or parts of it could be integrated into MOS or even other Amiga-Ish solutions. What immediately comes to mind is a game like PayBack which basically doesn't run because of lack of Paula audio:-( Then again playing the old A500 era psuedo natively on Ambient would be real cool:-)
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: KennyR on December 20, 2003, 08:20:41 PM
The problem is that you'd need to 'catch' accesses to memory locations where the software assumes the Amiga hardware to be. Not only is this slow, they'd have to hack the quark kernel to allow it. Not only would this suck, but it would also break future compatibility.
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: Kronos on December 20, 2003, 08:30:30 PM
The main prob is that such a system would eat performance even
while not used.

A solution that would have to be speciffly turned on would pretty much
contradict the base idea.

Also don't forget that there would be licence-problems since UAE is GPL
while MOS is not.
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: Jose on December 20, 2003, 08:36:00 PM
If I understood it correctly it can be done in OS4 because it uses virstual addressing. Actually I even remember one of the Frieden brothers stating that it could be done but it would require too much work or something...
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: Rodney on December 21, 2003, 04:08:03 AM
Is that what AROS is trying to do? WinUAE is in the contributions package and i thought i read somewhere that they plan to integrate it further on down the track?
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: NicoPPC on December 21, 2003, 08:46:38 AM
>if I understood it correctly it can be done in OS4 because it uses
>virstual addressing. Actually I even remember one of the Frieden
>brothers stating that it could be done but it would require too much
>work or something...

MorphOS uses virtual addressing too.
I do think it's pointless to include some kind of hardware emulation
in MorphOS. It's wasting time. In my opinion, a good UAE port is  far
better choice.

Bye
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: Elwood on December 21, 2003, 09:07:29 AM
@redrumloa

Payback uses AHI (and RTG for graphics) so it already runs, at least in OS4...

bye
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: KennyR on December 21, 2003, 09:14:09 AM
Payback doesn't use AHI. Unless OS4 includes paula emulation, Payback won't work on it (at least, not on an AmigaONE).
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: Kronos on December 21, 2003, 09:55:46 AM
@Jose
Virtual addressing would only be the 1st building block for a skyscraper  ;-)

A chipset-emulation would need to get all the timings right, and that would
probraly demand lots of adaption work inside Petunia, work that won't boost
it's performance ...

This would offcourse still be completly useless for all the selfbooting games
that bypass the OS, and you could offcourse not use a single line of UAE sources
due to the lcence-incompability.

@Rodney
There is a reason why WinUAE is named WinUAE :-o
AROS can use UAE (intregrated) as it is also open-source, but I doubt
they will everget much more to than the 68k-emu, atleast not until the are
prepared to drag their kernel down with this stuff.
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: Emufreak on December 21, 2003, 10:57:33 AM
Quote

Rodney wrote:
Is that what AROS is trying to do? WinUAE is in the contributions package and i thought i read somewhere that they plan to integrate it further on down the track?


There is a bounty handling this on the Teamarossite (http://www.thenostromo.com/teamaros). It hasn't much support at the Moment. But this could change when the more urgent bounties are finished.
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: falemagn on December 21, 2003, 11:14:53 AM
Quote
AROS can use UAE (intregrated) as it is also open-source, but I doubt
they will everget much more to than the 68k-emu, atleast not until the are
prepared to drag their kernel down with this stuff.


The (very) long term plan is to make a 68k version of AROS specially adapted to UAE, with many function calls which just redirect to the native AROS function call. It won't be possible to share memory between the emulated environment and the native one, but it could be possible to share screens, windows, the clipboard, the filesystem, the audio, and so on.

Ideally, you should be able to run 68k programs seamlessy that way, and they will work as long as they do not attempt at directly communicate, via message passing, with native programs.
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: Kronos on December 21, 2003, 12:00:21 PM
@falemagn

So it would be just a special version of UAE capable of useing AROS-specifics
instead of trying to run old SW on new OSes ...

Something like that would be very much more welcomed than what Red
proprosed in the orginal post :-)
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: u_jakobsen on December 21, 2003, 03:17:24 PM
A possible method could be to change the "magic number" (the first four bytesin the file) identifying an executable. An executable with an old "magic number" would be entirely emulated while a new "magic number" would execute as normal. It would only have a penalty in the initializing of process. It would still require some serious hacking, but then again nothing comes for free...
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: redrumloa on December 21, 2003, 05:00:05 PM
> Payback uses AHI (and RTG for graphics) so it already runs, at least in OS4...

No Paypack hits Paula directly. Shame..
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: Amiga1200PPC on December 21, 2003, 06:51:52 PM
Beat the Payback author James Daniels if you meet him!
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: Crumb on December 21, 2003, 11:50:43 PM
It would be interesting to have something like nallehpuh for MOS, OS4 and AROS.
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: zacman on December 21, 2003, 11:57:13 PM
>Beat the Payback author James Daniels if you
>meet him!

Obligement42 (http://obligement.free.fr/down/obligement42.zip), Alchimie report:

"Il y avait aussi quelques développements de jeux
et logiciels comme Earth 2140 (version AHI 68k mais
compatible MorphOS) et Payback (adaptation
complète apparemment) qui seront enfin jouables
sur un Pegasos"

 :-D
 
Title: Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
Post by: Trezzer on December 22, 2003, 12:50:16 AM
Interesting.