From: | Oliver Roberts |
Date: | 08 Aug 2000 at 00:42:02 |
Subject: | Re: MorphOS ;-) |
On 07-Aug-00 22:56:32 BST, Frank Wille wrote:
> Steffen Haeuser wrote:
>> ow> BTW, MorphOS team doesn't discard the possibility of WarpOS support,
>> ow> but they're *expressly* counting on third parties for this to ow>
>> happen. Let's hope some WarpOS Gurus out there will accept the ow>
>> challenge...
>>
>> The problem is I am not sure if a Emulation of PowerOpen on top of
>> System V is even possible (or efficient).
> Sure it is possible. They would be nearly as fast as real MorphOS
> programs, like programs running under ppclibemu are nearly as
> fast as native WarpOS ones.
Wouldn't gpr2 be a problem? i.e. WarpOS uses this as a toc register,
whereas it's reserved for system use in System V.4, which is what MorphOS
conforms to, of course. IIRC, MorphOS uses gpr2 for something to do with
68k emulation (or was it PowerUp emulation) - so if an app changes r2, it
crashes MorphOS.
At least, this was the case with the old distributed.net RC5 clients, as
Ralph reported this problem. It didn't affect PowerUp, but messing with
gpr2 apparently affects MorphOS. Unfortunately, I suspect if this is true,
the latest PowerUp RC5 clients won't run under MorphOS, since the PPC RC5
core still uses gpr2 extensively, and would most likely require a complete
rewrite (it's written in assembler) to get it working. Anyway, I'm
getting a bit OT here :)