mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-29 00:18:04 +11:00
389b23fe1a
It's now a simple flag updated by the C< implementation. No more routine pointer. The goal is to avoid tons of "ok" during a LOAD operation.
17 lines
327 B
Plaintext
17 lines
327 B
Plaintext
( This is only the "early parser" in earlier stages. No need
|
|
for an abort message )
|
|
: (parse) (parsed) NOT IF ABORT THEN ;
|
|
|
|
: C<? 0x06 RAM+ @ ;
|
|
: C<
|
|
0x08 RAM+ @ ( 08 == C<* override )
|
|
DUP NOT IF DROP 0x0c RAM+ @ THEN ( 0c == C<* )
|
|
EXECUTE
|
|
;
|
|
|
|
: , HERE @ ! HERE @ 2+ HERE ! ;
|
|
|
|
: C, HERE @ C! HERE @ 1+ HERE ! ;
|
|
|
|
|