mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-25 18:38:07 +11:00
816563e2e3
This is done by adding a "C<* override" layer that is reset to 0 on ABORT. The problem was that when ABORT happened during a LOAD, we had a resetted RSP and started from a clean INTERPRET, but LOAD didn't have the opportunity to restore C<*, which caused it to continue interpreting from the faulty BLK. With a C<* override, we don't need to *restore* C<*, we just need to clear the override. |
||
---|---|---|
.. | ||
adev.fs | ||
blk.fs | ||
cmp.fs | ||
core.fs | ||
fmt.fs | ||
link.fs | ||
parse.fs | ||
print.fs | ||
readln.fs | ||
README.md |
Forth
WIP A Forth interpreter. Far from complete, but you can do stuff like
KEY EMIT KEY EMIT
See dictionary.txt for a word reference.