Welcome, Guest. Please login or register.

Author Topic: OS3.x PPC?  (Read 1675 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: OS3.x PPC?
« on: November 01, 2007, 09:10:46 PM »
MorphOS is API and binary (ABI) compatible with AOS 3.x (barring couple of things, such as BCPL).

MorphOS started as a tight microkernel + static (no just-in-time compilation back then) 68k emulator for PowerUP cards. Only couple of core components were PPC native back then (exec, expansion and couple of other things). The KS ROM components were replaced one by one with PPC native versions, but the 68k APIs were kept. This way any OS legal 68k app will continue to run as it has no idea how the actual underlying OS function is implemented.

The obvious benefit of using the 68k emulation is that you don't need to worry about the caches. With dual 68k and PPC you must manually keep track of caches and flush when needed. This results in severe penalties as typically both 68k and PPC caches are fully flushed when switching the processor.

Also, once you throw in JIT compilation, the emulated 68k runs circles around 68060, not to mention 68040@25.


W00T, this was my 4000th post.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: OS3.x PPC?
« Reply #1 on: November 01, 2007, 10:44:22 PM »
@motorollin
Quote
Would it even run hardware bashing software

HW bashing stuff never was target for MorphOS, but some things do work. It has been a while I ran MorphOS on amiga so my memory is a bit hazy here... I remember running some demos and intros on it though.
Quote
like WHDLoad? (on Classic)

I really don't know. If I'd have to guess I'd say no (the emulated 68060 has no MMU for example).
Quote
Quote
Piru wrote:
Also, once you throw in JIT compilation, the emulated 68k runs circles around 68060, not to mention 68040@25.
Even on BPPC/CSPPC?

Easily.