Add word WIPE
This commit is contained in:
parent
2b2ccad96c
commit
b8ea515612
2
blk/064
2
blk/064
@ -5,7 +5,7 @@ LIST n -- Prints the contents of the block n on screen
|
|||||||
in the form of 16 lines of 64 columns.
|
in the form of 16 lines of 64 columns.
|
||||||
LOAD n -- Interprets Forth code from block n
|
LOAD n -- Interprets Forth code from block n
|
||||||
LOADR n1 n2 -- Load block range between n1 and n2, inclusive.
|
LOADR n1 n2 -- Load block range between n1 and n2, inclusive.
|
||||||
|
WIPE -- Empties current block
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
6
blk/151
6
blk/151
@ -3,9 +3,9 @@
|
|||||||
and ABORT on mismatch. )
|
and ABORT on mismatch. )
|
||||||
: AT28! ( n a -- )
|
: AT28! ( n a -- )
|
||||||
2DUP C!
|
2DUP C!
|
||||||
( as long as writing operation is running, IO/6 will toggle at each
|
( as long as writing operation is running, IO/6 will toggle
|
||||||
read attempt. We know that write is finished when we read the same
|
at each read attempt. We know that write is finished when
|
||||||
value twice. )
|
we read the same value twice. )
|
||||||
BEGIN ( n1 a )
|
BEGIN ( n1 a )
|
||||||
DUP C@ ( n1 a n2 )
|
DUP C@ ( n1 a n2 )
|
||||||
OVER C@ ( n1 a n2 n3 )
|
OVER C@ ( n1 a n2 n3 )
|
||||||
|
Loading…
Reference in New Issue
Block a user