2020-06-28 18:49:30 -04:00
|
|
|
: RAM+ [ SYSVARS 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-09-19 18:51:29 -04:00
|
|
|
LIT" (main)" FIND DROP EXECUTE
|
2020-05-15 22:44:49 -04:00
|
|
|
;
|
2020-10-28 18:06:58 -04:00
|
|
|
1 33 LOADR+
|