Slashdot Mirror


PowerPC Architecture Emulator Unleashed

Sebastian Biallas writes "We have finally released version 0.1 of our PowerPC architecture emulator: PearPC. The emulator itself is (prepared to be) architecture independent but only tested on x86s (here you go porters...). It also features a must faster just-in-time compilation unit for x86 hosts. This means that you can now run your favourite PowerPC-OS on x86: Mandrake Linux (9.1), Darwin (6 + 7) and Mac OS X (10.3)! And the best things is: it's GPL'd. But be warned: it's experimental.."

21 of 124 comments (clear)

  1. Why not use it natively? by GregChant · · Score: 4, Insightful

    This means that you can now run your favourite PowerPC-OS on x86: Mandrake Linux (9.1),

    Why not just run it natively on the x86 architecture?

    1. Re:Why not use it natively? by Anonymous Coward · · Score: 4, Funny

      Uhm because apparently powerPC's are much better architecture than x86 so it's nicer to run PowerPC in emulation on x86 rather than raw x86 because then it's more like running a mac. It will also run faster if you put blue bits on your case and call it "blueberry".

    2. Re:Why not use it natively? by johnnliu · · Score: 5, Funny

      Because it won't be nerd enough.

      You've got to have:

      Mandrake running
      on PowerPC
      on PearPC simulator .. throwing several flavours of linux distros
      on Virtual PC
      on VMWare
      on XBox
      on ...

      To get be reported on /.

      The trick then, is to withstand the /. effect on your machine.

      And take a screenshot of the smoking machine.

      Then you get the "Immortal" rating.

      Then, just may be, you can get rooted.

    3. Re:Why not use it natively? by node+3 · · Score: 4, Funny

      Why not just run it natively on the x86 architecture?

      You must be new here.

    4. Re:Why not use it natively? by jweatherley · · Score: 3, Informative
      But, what I want to know is how well and how fast does Mac OS X run on it.


      From the PearPC site:

      Due to the nature of emulation, PearPC is quite slow (the client will run about 500 times slower than the host).

      Not too quick then!
      --

      --
      Reverse outsourcing: it's the future
  2. Re:Panther on x86? by Anonymous Coward · · Score: 5, Insightful

    They won't have to. It's going to be dog slow, to the point of uselessness, especially if you actually try to run OSX on it.

    The x86 is just really poorly suited to emulate PPC, the PPC has more registers and they're all general purpose, as opposed to x86's small groups of purpose specific registers. You can try to minimize the drawbacks from this with a JITC, but it's still going to crawl compared to the real thing.

  3. Re:I call total and complete bullshit on OSX... by gmaestro · · Score: 5, Informative

    If you read the website this guy is not claiming to have a working OSX environment. He clearly states the the emulated PPC rus 500 times slower than the host. This is just a cool program in very early beta. Besides, he has screenshots of the initial stages of and OSX install, which is pretty nice for version 0.1.

  4. Re:Panther on x86? by DiSKiLLeR · · Score: 4, Interesting

    Yes, i was getting really excited too.

    But i just read the website. Its 500 times slower than the real thing :(

    Oh well. Guess the previous posters are correct. Apple won't go after this project as
    its next to useless. Infact, it might be a good thing. It lets people try out and play
    with MacOS X before they commit to buying all that expensive hardware. (Nevermind the
    legal issues of course.)

    When I was first trying to make the decision to buy a mac, spending 5 minutes or 30
    minutes "playing" with it at the store wasn't enough. I wanted to spend several days
    on it, using it to do all the things i do now, but in a different enviornment. You
    can't do that in the shop.

    So i ended up borrowing a friends crappy old imac (which only ran OS9) and chucked a
    priated copy of OSX 10.1 i downloaded of the net.

    Loved it to bits, and promptly bought my PowerBook G4. (And then that cube of ebay ;).

    So, i spose, this emulator will give people the ability to try out MacOSX and run it
    to do day to day stuff, albiet very very slowly. Its a well known fact Microsoft never
    went after software pirates in the old days so that their software become so
    widespread it became the standard. Perhaps this might work for Apple, too.

    D.

    --
    You can tell how powerful someone is by the magnitude of the crime they can commit and be able to get away with.
  5. screenshots by hassr · · Score: 5, Informative
    the project page has screen shots of os-x installing.
    • http://pearpc.sourceforge.net/screenshots.html
  6. Not the first by RzUpAnmsCwrds · · Score: 4, Informative

    This is actually not the first PowerPC Mac emulator for x86. SheepShaver has been able to run PowerPC Mac OS (only up to Mac OS 8.6, not OS X) for some time now. It's from the developer of the excellent Basilisk II emulator.

    Hopefully, the two projects will collaborate and help improve the performance of the emulator until it is usable. 1/20th of actual CPU speed would be acceptable.

  7. Re:Panther on x86? by bobthemonkey13 · · Score: 3, Interesting

    The "500 times slower" figure quoted was for the generic CPU emulator, too. The x86 just-in-time recompiler should be much faster, and if there's enough demand it might get ported to other host architectures (x86_64 perhaps?).

  8. Re:Panther on x86? by boredMDer · · Score: 3, Informative

    In one of the screenshots, the one of Drake, there is a cat /proc/cpuinfo.

    It's running at 10 MHz.

  9. Re:Work with OS X? by DiSKiLLeR · · Score: 3, Insightful

    No, it does not gaurantee a working OSX installation.

    But the fact that the darwin kernel boots, and Aqua can start up (no quartz extreme in the installer i am guessing) and the installer runs, he's doing _very_ well.

    Infact, if he concentrates on just getting darwin working reliably (he said theres a few quirks) you can bet that OSX will run just as reliably. Its just the Aqua GUI (and carbon, cocao, apps, and all that other crap) running on Darwin. Darwin is the OS though, and as long as Darwin runs, and runs well, OSX should be a no brainer.

    Getting some good hardware support in OSX for video, sound, and what not might be another story tho.

    Some speed would also be nice. OSX isn't gonna run if it takes 3 weeks to install on a 10mhz emulated PowerPC chip ;)

    D.

    --
    You can tell how powerful someone is by the magnitude of the crime they can commit and be able to get away with.
  10. QEmu? by pkhuong · · Score: 5, Informative

    Does anyone know how it compares to QEmu (http://fabrice.bellard.free.fr/qemu/)?

    "QEMU is a FAST! processor emulator using dynamic translation to achieve good emulation speed. "

    "News
    (May 8, 2004) QEMU version 0.5.5 is out. (Changelog). Much improved Windows 98 support. VGA support in PowerPC PREP target.

    (Apr 26, 2004) QEMU version 0.5.4 is out. (Changelog). This is the first version which is able to install and run Windows XP (experimental). This is also the first version which is able to boot a PowerPC PREP Linux kernel on a PC."

    --
    Try Corewar @ www.koth.org - rec.games.corewar
  11. major bug by austad · · Score: 5, Funny

    From their docs: PearPC currently only supports two-button mice (i.e. middle-button click and the scrollwheel will be ignored).

    They are going to have to figure out how to disable that second mouse button if they want to truly emulate OSX. :)

    --
    Need Free Juniper/NetScreen Support? JuniperForum
  12. Why not run Darwin native and emulate apps by tigersha · · Score: 3, Insightful

    A modern computer spends most of its time in system calls (Ok, depends on the program, but generally this is true). So Darwin runs on x86.

    Would it be possible to get this thing to run on Darwin in such a way that the system calls run natively but the apps run in the emulator?

    So only the non-kernel pats of a program are emulated? That might bring down that 500x a bit.

    It would involve having some translation at the boundary between the apps and the kernel but is this not the way Apple emulated old 68000 programs when they did their transition to PowerPC?

    --
    The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
  13. Re:Panther on x86? by dmayle · · Score: 4, Interesting

    The x86 is just really poorly suited to emulate PPC, the PPC has more registers and they're all general purpose, as opposed to x86's small groups of purpose specific registers.

    While that may be true, modern emulation techniques take this into account with things like JIT compilation. While an instruction-for-instruction emulation scheme will have performance problems, the same program compiled in C on respective platforms will run with equivalent speed. The program just needs some time to mature for speed.

    Me, I plan to try and get onto the list of developers to port to x86-64. Simple emulation should be much easier thanks to the larger register file on AMD's chips...

  14. Re:Panther on x86? by Seahawk · · Score: 3, Funny

    But i just read the website. Its 500 times slower than the real thing :(

    When I was first trying to make the decision to buy a mac, spending 5 minutes or 30
    minutes "playing" with it at the store wasn't enough. I wanted to spend several days
    on it, using it to do all the things i do now, but in a different enviornment. You
    can't do that in the shop.


    Hmm - But you could play a total of 45 hours of "testing" in this emulator - and still havent done as much as 3½ minut on the real deal? ;)

  15. Neat and all, but useful? by nine-times · · Score: 3, Insightful

    I'm seeing a lot of people saying "Great, now I can run OSX on my cheap x86 processor!" Yeah? Any idea how fast your x86 processor would need to be to actually have OSX be remotely usable? To build that little supercomputer won't be "cheap". But further, why bother? If you want a Mac, buy it. They're good. They're worth it. You'll be happy. But if you're looking for the hard way of doing things, you don't really want OSX anyway.

  16. Performance information by Stonent1 · · Score: 3, Interesting

    Here is a screenshot of me running an OpenSSL benchmark on the emulated Macintosh:
    Open SSL benchmark

    And a screen shot of the PCI information:
    PCI info

    These tests were run on a Pentium III 500 under XP Pro. You can recrate the test on your system by running openssl speed rsa dsa md5 and compare the results to a real pc or mac running linux.