On 04/02/16 18:41, Programmingkid wrote:
I was wondering why you think there is a problem with r-stack commands. I haven't found anything that indicates they are a problem. Mac OS 9 does use R> and >R a lot, but they don't seem to cause any problems. The problem seems to be with the missing CR-LF patch. I tested this patch with Fedora and Debian. They both boot. There is an exception message that is printed, but that doesn't appear to stop any of the OS's from booting. It could be something else that is causing problems.
This is the Debian error message:
method:interpret: exception -13 caught ^mem isn’t unique. ^mmu isn’t unique.
Here is the Fedora error message:
milliseconds:interpret: exception -13 caught ^mem isn’t unique. ^mmu isn’t unique.
Exception -13 is an undefined word.
^mem and ^mmu are both defined in the yaboot file in Fedora. I assume the "isn't unique" message is because something already defined both words. I don't know if they are being defined twice or more, but they aren't already defined in OpenBIOS.
Now I think I know what is wrong with Fedora. It is with the milliseconds word. The function is surrounded by NULL characters on either side. Maybe they are interfering with the interpret word.
OpenBIOS does appear to have the milliseconds word defined in methods.c.
From memory the r-stack commands were being executed but the only reason
this worked was because of the OpenBIOS trampoline between calling each word which just about allowed execution to continue.
ATB,
Mark.