diff --git a/blk/353 b/blk/353 index 169a7a2..16a9781 100644 --- a/blk/353 +++ b/blk/353 @@ -1,13 +1,14 @@ -: RAM+ [ RAMSTART LITN ] + ; -: BIN+ [ BIN( @ LITN ] + ; +: RAM+ [ RAMSTART LITN ] + ; : BIN+ [ BIN( @ LITN ] + ; : HERE 0x04 RAM+ ; -: CURRENT* 0x51 RAM+ ; -: CURRENT CURRENT* @ ; +: CURRENT* 0x51 RAM+ ; : CURRENT CURRENT* @ ; : H@ HERE @ ; : FIND ( w -- a f ) CURRENT @ SWAP _find ; +: 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 ) : QUIT - (resRS) - 0 0x08 RAM+ ! ( 08 == C<* override ) + (resRS) 0 0x08 RAM+ ! ( C<* override ) (infl) LIT< (main) FIND DROP EXECUTE ; 1 25 LOADR+ ( xcomp core low ) diff --git a/blk/386 b/blk/386 deleted file mode 100644 index 286d6d6..0000000 --- a/blk/386 +++ /dev/null @@ -1,11 +0,0 @@ -( current position in INBUF ) -: IN> 0x30 RAM+ ; -( points to INBUF ) -: IN( 0x32 RAM+ @ ; -( points to INBUF's end ) -: IN) 0x40 ( buffer size ) IN( + ; - -( flush input buffer ) -( set IN> to IN( and set IN> @ to null ) -: (infl) 0 IN( DUP IN> ! ! ; - diff --git a/emul/forth.bin b/emul/forth.bin index 7f04214..13b327d 100644 Binary files a/emul/forth.bin and b/emul/forth.bin differ