Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: _stet_ on February 04, 2009, 07:00:37 PM

Title: Why no AmigaOne/Pegasos emulators?
Post by: _stet_ on February 04, 2009, 07:00:37 PM
Perhaps this is a stupid question, but it's bugging me so I'll just ask:

Why isn't there a full-speed AmigaOne or Pegasos emulator (or virtual machine, whatever) that can be run on fast PowerPC-based computers (i.e. PPC Macs)?

It seems (to a novice like myself) that a fast PPC system with plenty of RAM should be capable of emulating a slower PPC system pretty effectively.

I've read there are issues with drivers, etc. that make it unlikely OS 4 will ever run natively on Apple hardware, but wouldn't a virtual-machine type solution get around that problem?

Is there some technical barrier? Legal barrier? Lack of interest? Or what?
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: cv643d on February 04, 2009, 07:08:25 PM
Great idea!

Someone should inform Hyperion about this idea!
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: A1260 on February 04, 2009, 07:22:23 PM
the same reason why there is no window xp/vista emulator....  :roll:
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: mongo on February 04, 2009, 07:59:24 PM
Quote

A1260 wrote:
the same reason why there is no window xp/vista emulator....  :roll:


AmigaOne and Pegasos are hardware, Windows XP and Vista are software.
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: brianb on February 04, 2009, 08:10:18 PM
I think you need a law degree to understand the rift between Hyperion and Amiga...  But here's my uneducated $0.02...

I think legal is the barrier, as there isn't anything too terribly technical that would prevent it.  

Hyperion is on record that they don't want to compete with windows, and they see locking OS 4 to hardware (specifically proprietary and not x86) their only option.  

Hyperion has also stated they believe Aros, and other Amiga "clone" OS's to be illegal.  (at least as far as they are concerned)

Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: Methuselas on February 04, 2009, 08:10:49 PM
Open Firmware is the biggest problem. There was a G4 emulator that was being used to run MacOS on X86, under emulation, but last I heard, it wasn't robust enough to even attempt to run OS4. Same problem with the RISC emu.

My thoughts were you would need at least a core duo at 3.0ghz to make it even bearable to run at a decent speed. I'm not sure if that's entirely accurate, however.

Someone out there, with more technical experience could elaborate more (waiting patiently for Piru or Bloodline). Me, I'd much rather go back to my reading on Quantum Mechanics.  ;-)
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: _stet_ on February 04, 2009, 08:43:19 PM
Remember, I'm asking about emulation on PowerPC hardware not x86 hardware... I'd think emulating a PPC system on a PPC system would be drastically faster than emulating a PPC system on an x86 system.
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: Piru on February 04, 2009, 08:50:18 PM
http://bigfoot.morphos-team.net/test/qemu.png
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: Tempest on February 04, 2009, 09:20:38 PM
Quote

Piru wrote:
http://bigfoot.morphos-team.net/test/qemu.png


[ot]

Very cool, WindowMaker! I've used that for years, nowadays it's Awesome and Fluxbox.

[/ot]
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: bloodline on February 05, 2009, 12:45:08 PM
@ _stet_

I would say lack of interest is the biggest hurdle. In terms of emulating the PPC it makes little difference if the host is an x86 or a PPC... I used MacOS 10.3 in PearPC (an x86 PPC emulator, google it) for a good few months before buying a Mac... OSX was slugish, but usable on my old Athlon64 @2Ghz... The slowest part of PPC emulation is the MMU... Apparently...

Of course, much faster would be a PPC VM on a real PPC chip... But I've not seen or used one...

If someone wrote a suitable BIOS for PearPC, it should boot OS4.1... The same applies to MOS... Driver issues aside.  

The question remains, where does the motivation come from... If you are so desparate to run these systems, just buy the hardware for them, it will be faster, better supported and money will flow back to the devs and help keep the project alive :-)


Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: spirantho on February 05, 2009, 01:57:22 PM
There is only one reason why there is no A1/Peg emulator:

Nobody's written one.

It's a lot of work, and 99.9999% of the people who have the capability don't need to.
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: mongo on February 05, 2009, 02:05:22 PM
Quote

bloodline wrote:
If someone wrote a suitable BIOS for PearPC, it should boot OS4.1...


No need to write a BIOS, U-Boot is open source. Porting it for use with QEMU would be far better than with PearPC though.

Still have driver issues to deal with though.
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: persia on February 05, 2009, 02:17:33 PM
PearPC is basically abandonware, the principle programmer died and Apple abandoned IBM PowerPC chips.  The project hasn't had an update in 3 years.  The big issue wold be replacing the pseudo OpenFirmware with uBoot and dealing with the video driver issues.  The OpenFirmware code that is in place is ugly but the video poses a bit of programming issues.

All this could be overcome of course, but the only people interested in an Amiga OS4 emulator are Amiga folks, probably numbered in the hundreds, most of whom are not programmers.  We don't have the resources.  The people capable of doing it are not interested, at least not for free...
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: bloodline on February 05, 2009, 02:18:40 PM
Quote

mongo wrote:
Quote

bloodline wrote:
If someone wrote a suitable BIOS for PearPC, it should boot OS4.1...


No need to write a BIOS, U-Boot is open source. Porting it for use with QEMU would be far better than with PearPC though.

Still have driver issues to deal with though.


PearPC provides an emulation of a basic PPC Mac... So any OS than can boot a PPC Mac (i.e. MorphOS) can boot it... Then you are half way there :-)
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: Piru on February 05, 2009, 03:57:13 PM
@spirantho
Quote
Nobody's written one.

Lets try again:

http://bigfoot.morphos-team.net/test/qemu.png
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: billt on February 05, 2009, 04:03:03 PM
Quote
the same reason why there is no window xp/vista emulator....


He's asking for an AmigaOne virtual machine similar to Shapeshifter allowed 68K Mac on Amiga. PearPC or QEMU could probably be adapted, or OS4 could be ported to it directly if they wanted to.
http://pearpc.sourceforge.net/
http://bellard.org/qemu/

There's lots of virtual machines for Windows.
http://en.wikipedia.org/wiki/Comparison_of_platform_virtual_machines
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: AndrewBell on February 05, 2009, 04:46:43 PM
Quote
by Piru on 2009/2/5 15:57:13    @spirantho  Quote:  Nobody's written one.    Lets try again:    http://bigfoot.morphos-team.net/test/qemu.png


Perhaps you should try using text to explain your point, because that image shows qemu running on some flavour of Unix/Linux, but does not make it clear that Morphos is running in qemu.

When they say a picture is worth a thousand words, they may be talking bollocks.
________
Honda cr480 (http://www.cyclechaos.com/wiki/Honda_CR480)
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: bloodline on February 06, 2009, 08:42:45 AM
Quote

Piru wrote:
@spirantho
Quote
Nobody's written one.

Lets try again:

http://bigfoot.morphos-team.net/test/qemu.png


Hey Piru, am I able to get the "demo" MOS to run in QEmu?
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: Piru on February 06, 2009, 09:01:55 AM
@bloodline
Quote
Hey Piru, am I able to get the "demo" MOS to run in QEmu?

In short: No

(The public qemu doesn't include the pegasos2 hardware and openfirmware emulation)
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: bloodline on February 06, 2009, 09:17:20 AM
Quote

Piru wrote:
@bloodline
Quote
Hey Piru, am I able to get the "demo" MOS to run in QEmu?

In short: No

(The public qemu doesn't include the pegasos2 hardware and openfirmware emulation)


I guessed as much, but it was worth a go :-) I don't have any devices capable of displaying the video output of any of my Amiga's any more... so I doubt I'll ever run MOS on my BlizzPPC :-(
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: mschulz on February 06, 2009, 10:05:52 AM
@Piru

I would be happy with at least the radeon emu code added to the qemu repository...

PS. Yes, I do realise that bigfoot does not really have to.
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: Hammer on February 06, 2009, 12:58:35 PM
Quote

_stet_ wrote:
Remember, I'm asking about emulation on PowerPC hardware not x86 hardware... I'd think emulating a PPC system on a PPC system would be drastically faster than emulating a PPC system on an x86 system.

Depends on the host's X86/X64 and PPC processors. The other PPC emulator for X86/X64 is Dolphin GC/Wii emulator.

For example;
Zelda Twilight Princess for Wii on Dolphin Emulator
http://www.youtube.com/watch?v=TX31YpzT7Zs
Intel Core 2 Duo E6850 @ 3.2Ghz (it's not even Intel Core i7)
Geforce 8800GT (overclocked).

IBM PowerPC G3 class "Broadway" @729Mhz + ATI Hollywood GPU (reportly clocked @243 MHz) being emulated at playable speeds.

The example's PC config rivals a real SAM440 or PowerMac G3 @700Mhz hardware.

Atm, there’s a lack of interest to emulate AOS4/MOS2.x from the X86 side. Secondly, there's the native X86 AROS.

For income and development, X86 side prefers to emulate ARM based machines.
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: persia on February 06, 2009, 06:38:10 PM
No change in accidentally allowing the modified QEMU out to say TPB?

(http://ui17.gamespot.com/880/pirate2_4.gif)(http://www.scubaboard.com/forums/images/smilies/TLAPD-pirate2.gif)
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: bloodline on February 06, 2009, 06:39:04 PM
Quote

persia wrote:
No change in accidentally allowing the modified QEMU out to say TPB?

(http://ui17.gamespot.com/880/pirate2_4.gif)


Not sure if that would be beneficial to Piru :-D ;-)
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: trekiej on February 06, 2009, 08:20:32 PM
What is Hyperion using to develop OS4? I assume Classic for OS4, A1 for OS4.1,Peg2 for its version etc.
An obvious answer, it is. :-D
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: kolla on February 07, 2009, 12:43:18 AM
Quote

Piru wrote:
@spirantho
Quote
Nobody's written one.

Lets try again:

http://bigfoot.morphos-team.net/test/qemu.png


Surely it would be easier to simply add support for MorphOS in Q-OS.
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: warpdesign on February 07, 2009, 02:59:36 AM
Quote

(The public qemu doesn't include the pegasos2 hardware and openfirmware emulation)

Then why showing it ? Any plan to release the so called pegasos2 hardware & openfirmware emulation ?
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: Piru on February 07, 2009, 08:25:35 AM
@warpdesign
Quote
Then why showing it?

To point out that it is not impossible and that it has been done at least once already (and hey it is pretty much on topic in this thread don't you agree?). You just need skilled (and motivated) enough developer to do it.

Why shouldn't I show it?
Quote
Any plan to release the so called pegasos2 hardware & openfirmware emulation ?

Not that I am aware of. Perhaps some day.
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: warpdesign on February 07, 2009, 04:00:10 PM
Quote

To point out that it is not impossible and that it has been done at least once already (and hey it is pretty much on topic in this thread don't you agree?). You just need skilled (and motivated) enough developer to do it.

I do agree. But is this all about: "you're wrong, I did it, so shut up" ?

What's the use ?

Would be more constructive to actually release it...
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: Piru on February 07, 2009, 08:24:26 PM
@warpdesign
Quote
But is this all about : "you're wrong, I did it, so shut up" ?

I'm sorry you see it that way.

And for the record I didn't do it, Mark Olsen did.
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: bloodline on February 07, 2009, 10:03:40 PM
Quote

Piru wrote:
@warpdesign
Quote
But is this all about : "you're wrong, I did it, so shut up" ?

I'm sorry you see it that way.

And for the record I didn't do it, Mark Olsen did.


Academic anyway... what features of the quark microkernel are required to run MorphOS? Any chance you guys will swap it out and then recompile MOS for use on top of... maybe Linux/etc... and run it on an nice x86-64 machine? :-D
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: zylesea on February 08, 2009, 12:43:06 AM
Quote

bloodline wrote:

Academic anyway... what features of the quark microkernel are required to run MorphOS? Any chance you guys will swap it out and then recompile MOS for use on top of... maybe Linux/etc... and run it on an nice x86-64 machine? :-D


I doubt it is Quark holding back MorpOS from x86 but the endianess-problem of ABox. W/o same endianess no legacy compatibility (except you swap everything that is). Or do you have a plan how a lille endian process can share structs with a big endian process? And I really mean *share with* not pass to.
I am not good in informatics, but actually I do see the main prob here.
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: Seiya on February 17, 2009, 10:22:52 AM
i d like to remember at all, that there is a PowerPC emulator for Windows that emulate very well MacOS pre X.
this emulator run MacOS and some application very whell and some games, like Tomb Raider

But, an emulator for AmigaPPC is tabu
maybe there are some interests that contrast this way...
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: Crumb on February 17, 2009, 10:45:21 AM
@mschulz

MorphOS 1.4.5 could run using m68k drivers like S3 Trio64, S3 Virge and *Cirrus Logic GD5446* so don't assume they have a Radeon emulation for qemu, BigFoot could have simply updated a little the old MorphOS1.4.5 driver for PicassoIV and get MorphOS working.
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: jorkany on February 17, 2009, 01:54:33 PM
Quote
Why isn't there a full-speed AmigaOne or Pegasos emulator (or virtual machine, whatever) that can be run on fast PowerPC-based computers (i.e. PPC Macs)?

I don't know about Pegasos but as far as the AmigaOne goes why would anyone want to emulate broken hardware?
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: persia on February 17, 2009, 02:09:02 PM
PearPC hasn't beentouched in almost 3 years.  It suffered two devastating blows, first the death of it's principle programmer and then Apple's switch from IBM to Intel chips...

There's probably some way to get it to work with OS4, but it's not a task I want to undertake.
Title: Re: Why no AmigaOne/Pegasos emulators?
Post by: Seiya on February 17, 2009, 04:27:15 PM
the way could be to adapt SheepShaver to run OS4 or MOS or to include in WinUAE a PowerPC emulation.