mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 19:48:06 +11:00
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.
|
||||
LOAD n -- Interprets Forth code from block n
|
||||
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. )
|
||||
: AT28! ( n a -- )
|
||||
2DUP C!
|
||||
( as long as writing operation is running, IO/6 will toggle at each
|
||||
read attempt. We know that write is finished when we read the same
|
||||
value twice. )
|
||||
( as long as writing operation is running, IO/6 will toggle
|
||||
at each read attempt. We know that write is finished when
|
||||
we read the same value twice. )
|
||||
BEGIN ( n1 a )
|
||||
DUP C@ ( n1 a n2 )
|
||||
OVER C@ ( n1 a n2 n3 )
|
||||
|
Loading…
Reference in New Issue
Block a user