2020-06-04 22:54:27 -04:00
|
|
|
: bufp ( buf -- )
|
|
|
|
DUP 64 + SWAP DO
|
|
|
|
i C@ DUP 0x20 < IF DROP 0x20 THEN EMIT
|
|
|
|
LOOP ;
|
|
|
|
: bufs
|
|
|
|
1 aty ." I: " IBUF bufp
|
|
|
|
2 aty ." F: " FBUF bufp ;
|
|
|
|
: c<over KEY DUP EMIT DUP 0x0a = IF DROP 0x0d THEN ;
|
|
|
|
: VE ['] c<over 0x08 ( C< override ) RAM+ !
|
2020-06-05 11:01:26 -04:00
|
|
|
clrscr 0acc 0 EDPOS ! contents
|
|
|
|
BEGIN status bufs setpos KEY handle UNTIL
|
2020-06-04 22:54:27 -04:00
|
|
|
0 0x08 RAM+ ! 19 aty ;
|
2020-06-04 20:07:02 -04:00
|
|
|
|