4 ms·
I got a quick reply from Mitch Bradley! Yes I wrote a paper but I probably can't find it. The easiest place to look would be in the Open Firmware source. htt
by DonHopkins 8y ago
I got a quick reply from Mitch Bradley!
Yes I wrote a paper but I probably can't find it. The easiest place to
look would be in the Open Firmware source.
https://github.com/MitchBradley/openfirmware/blob/master/forth/kernel/kernel.fth#L771 https://github.com/MitchBradley/openfirmware/blob/master/for...
The magic is all in +level and -level. Search for those in kernel.fth
to see other places they are used to achieve a similar effect, e.g. in
abort"
For an alternative but effectively equivalent formulation, see:
https://github.com/MitchBradley/cforth/blob/master/src/cforth/forth.c#L652 https://github.com/MitchBradley/cforth/blob/master/src/cfort...
and
https://github.com/MitchBradley/cforth/blob/master/src/cforth/control.fth https://github.com/MitchBradley/cforth/blob/master/src/cfort...