2020-10-28 18:06:58 -04:00
|
|
|
: INTERPRET
|
2020-05-13 09:02:44 -04:00
|
|
|
BEGIN
|
2020-10-28 18:06:58 -04:00
|
|
|
WORD DUP @ 0x0401 = ( EOT ) IF DROP EXIT THEN
|
|
|
|
FIND NOT IF (parse) ELSE EXECUTE THEN
|
|
|
|
C<? NOT IF SPC LIT" ok" (print) NL THEN
|
2020-05-13 09:02:44 -04:00
|
|
|
AGAIN ;
|
2020-10-28 18:06:58 -04:00
|
|
|
( Read from BOOT C< PTR and inc it. )
|
|
|
|
: (boot<)
|
|
|
|
( 2e == BOOT C< PTR )
|
|
|
|
0x2e ( BOOT C< PTR ) RAM+ @ DUP C@ ( a c )
|
|
|
|
SWAP 1 + 0x2e RAM+ ! ( c ) ;
|
|
|
|
( pre-comment for tight LOAD: The 0x08==I check after INTERPRET
|
|
|
|
is to check whether we're restoring to "_", the word above.
|
|
|
|
if yes, then we're in a nested load. Also, the 1 in 0x06 is
|
|
|
|
to avoid tons of "ok" displays. )
|