mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 12:48:05 +11:00
1b2c4b519e
This allows us to write LATEST at proper offset in emul/stage1.fs in cases where we set a nonzero BIN(.
17 lines
307 B
Plaintext
17 lines
307 B
Plaintext
: RAM+ [ RAMSTART LITN ] + ;
|
|
: BIN+ [ BIN( @ LITN ] + ;
|
|
: (parse*) 0x0a RAM+ ;
|
|
: HERE 0x04 RAM+ ;
|
|
: CURRENT* 0x51 RAM+ ;
|
|
: CURRENT CURRENT* @ ;
|
|
|
|
( w -- a f )
|
|
: (find) CURRENT @ SWAP _find ;
|
|
|
|
: QUIT
|
|
(resRS)
|
|
0 0x08 RAM+ ! ( 08 == C<* override )
|
|
LIT< INTERPRET (find) DROP EXECUTE
|
|
;
|
|
394 407 LOADR
|