mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 04:28:05 +11:00
af39b37dd1
This is more than cosmetic, it's also highly usable. The presence or absence of the "ok" message allows us to know whether the command aborted. Previously, the "> " prompt appeared when the system expected a prompt in the INTERPRET context, whether the previous command aborted or not. Also, this allows us to get rid of that ugly FLAGS global variable.
17 lines
358 B
Plaintext
17 lines
358 B
Plaintext
INITIAL_SP holds the initial Stack Pointer value so
|
|
that we know where to reset it on ABORT
|
|
|
|
CURRENT points to the last dict entry.
|
|
|
|
HERE points to current write offset.
|
|
|
|
IP is the Interpreter Pointer
|
|
|
|
PARSEPTR holds routine address called on (parse)
|
|
|
|
C<* holds routine address called on C<
|
|
|
|
|
|
|
|
(cont.)
|