[OpenBIOS] [PATCH 0/4] Changes for MorphOS

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Sat Mar 8 22:29:03 CET 2014


On 08/03/14 18:58, BALATON Zoltan wrote:

> Is it possible to set/override the value in forth/device/tree.fs in the
> ppc/qemu/init.c file somehow? If so then it would be easier and we
> already have an is_apple() function there so this can be done only for
> Apple emulation. Is the init code run when the tree is already set up?
> What should it do to replace the name property? A assume it would call
> some forth code to do this but I don't know how to do this properly. Any
> ideas?

It is possible by simply recreating a property with the same name but a 
different value; however from painful experience I've spent days 
debugging something that was caused by a property in the default tree 
unexpectedly appearing in an architecture tree. If the property hadn't 
been present then the client would simply have faulted at that point 
making the culprit obvious.

So I'd be all for reducing the cross-architecture tree down to the bare 
minimum to avoid unexpected surprises like this.


ATB,

Mark.



More information about the OpenBIOS mailing list