Welcome, Guest. Please login or register.

Author Topic: Partial UAE for integration in MOS or other Amiga-ish solutions?  (Read 3000 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show only replies by redrumloa
Partial UAE for integration in MOS or other Amiga-ish solutions?
« 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:-)
Someone has to state the obvious and that someone is me!
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show only replies by KennyR
    • http://wrongpla.net
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #1 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.
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #2 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.
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline Jose

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show only replies by Jose
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #3 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...
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline Rodney

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1386
    • Show only replies by Rodney
    • http://donthaveone.com/
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #4 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?
We are not Humans having a spirital experiance
We are Spirits having a Human experiance.
 

Offline NicoPPC

  • Jr. Member
  • **
  • Join Date: May 2003
  • Posts: 68
    • Show only replies by NicoPPC
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #5 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
 

Offline Elwood

Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #6 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
Philippe "Elwood" Ferrucci
AmigaOS 4.x betatester
Amiga Translator Organisation
My Homepage......
 

Offline KennyR

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 8081
    • Show only replies by KennyR
    • http://wrongpla.net
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #7 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).
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #8 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.
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline Emufreak

  • Jr. Member
  • **
  • Join Date: May 2003
  • Posts: 64
    • Show only replies by Emufreak
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #9 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. It hasn't much support at the Moment. But this could change when the more urgent bounties are finished.
 

Offline falemagn

  • Sr. Member
  • ****
  • Join Date: May 2002
  • Posts: 269
    • Show only replies by falemagn
    • http://www.aros.org/
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #10 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.
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #11 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 :-)
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline u_jakobsen

  • Newbie
  • *
  • Join Date: Dec 2003
  • Posts: 8
    • Show only replies by u_jakobsen
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #12 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...
Keep the spirit alive.......
 

Offline redrumloaTopic starter

  • Original Omega User
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 10126
    • Show only replies by redrumloa
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #13 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..
Someone has to state the obvious and that someone is me!
 

Offline Amiga1200PPC

  • Newbie
  • *
  • Join Date: Sep 2002
  • Posts: 25
    • Show only replies by Amiga1200PPC
Re: Partial UAE for integration in MOS or other Amiga-ish solutions?
« Reply #14 on: December 21, 2003, 06:51:52 PM »
Beat the Payback author James Daniels if you meet him!