On 17/07/16 23:09, Programmingkid wrote:
On Jul 17, 2016, at 5:31 PM, Mark Cave-Ayland wrote:
This patchset fixes up the r-stack in interpret mode and the evaluate word so OpenBIOS can boot OS 9 without r-stack corruption or introducing any regressions.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
v2:
- Move r-stack commands to a separate rstack.fs file
- Minor tweaks suggested by Segher
Cormac O'Brien (1): interpreter.fs: allow evaluate to split words on CR as well as LF
Mark Cave-Ayland (2): rstack.fs: add pseudo r-stack implementation for interpret mode interpreter.fs: don't clobber stack across evaluate strings split on newlines
forth/bootstrap/interpreter.fs | 4 +++- forth/lib/build.xml | 1 + forth/lib/rstack.fs | 21 +++++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 forth/lib/rstack.fs
-- 1.7.10.4
These patches work. They boot Debian Linux, Mac OS 10.4.0, and Mac OS 9.0.4. Excellent job!
Thanks for the test. I've done a very comprehensive boot test across all architectures and I don't see any regressions, so I've pushed this to the main repository.
ATB,
Mark.