On Sat Mar 8 2014, Mark Cave-Ayland wrote:
I think the best solution is going to be to move the default device name from forth/device/tree.fs into the individual per-architecture arch/*/tree.fs files and then customise the PPC one as appropriate.
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?
Regards, BALATON Zoltan