2020-05-24 09:23:19 -04:00
|
|
|
: RAM+ [ RAMSTART LITN ] + ; : BIN+ [ BIN( @ LITN ] + ;
|
2020-05-15 22:44:49 -04:00
|
|
|
: HERE 0x04 RAM+ ;
|
2020-05-24 09:23:19 -04:00
|
|
|
: CURRENT* 0x51 RAM+ ; : CURRENT CURRENT* @ ;
|
2020-05-15 22:59:38 -04:00
|
|
|
: H@ HERE @ ;
|
|
|
|
: FIND ( w -- a f ) CURRENT @ SWAP _find ;
|
2020-05-24 09:23:19 -04:00
|
|
|
: IN> 0x30 RAM+ ; ( current position in INBUF )
|
|
|
|
: IN( 0x32 RAM+ @ ; ( points to INBUF )
|
|
|
|
: IN) 0x40 ( buffer size ) IN( + ; ( INBUF's end )
|
|
|
|
: (infl) 0 IN( DUP IN> ! ! ; ( flush input buffer )
|
2020-05-15 22:44:49 -04:00
|
|
|
: QUIT
|
2020-05-24 09:23:19 -04:00
|
|
|
(resRS) 0 0x08 RAM+ ! ( C<* override ) (infl)
|
2020-05-15 22:44:49 -04:00
|
|
|
LIT< (main) FIND DROP EXECUTE
|
|
|
|
;
|
|
|
|
1 25 LOADR+ ( xcomp core low )
|
2020-06-11 18:12:01 -04:00
|
|
|
|
|
|
|
|