mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 16:08:06 +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
545 B
Plaintext
17 lines
545 B
Plaintext
C<?* is a pointer to a word being called by C<?. If 0 or 1,
|
|
will return that value as-is.
|
|
|
|
WORDBUF is the buffer used by WORD
|
|
|
|
BOOT C< PTR is used when Forth boots from in-memory
|
|
source. See "Initialization sequence" below.
|
|
|
|
INTJUMP All RST offsets (well, not *all* at this moment, I
|
|
still have to free those slots...) in boot binaries are made to
|
|
jump to this address. If you use one of those slots for an
|
|
interrupt, write a jump to the appropriate offset in that RAM
|
|
location.
|
|
|
|
|
|
(cont.)
|