2020-05-15 22:44:49 -04:00
|
|
|
: LOAD+ BLK> @ + LOAD ;
|
|
|
|
( b1 b2 -- )
|
|
|
|
: LOADR 1+ SWAP DO I DUP . NL LOAD LOOP ;
|
|
|
|
: LOADR+ BLK> @ + SWAP BLK> @ + SWAP LOADR ;
|
2020-05-22 14:50:34 -04:00
|
|
|
( Now, adev stuff )
|
2020-10-28 15:47:49 -04:00
|
|
|
SYSVARS 0x3e + :** A@
|
|
|
|
SYSVARS 0x40 + :** A!
|
2020-10-28 15:02:06 -04:00
|
|
|
|
2020-05-22 14:50:34 -04:00
|
|
|
( src dst u -- )
|
|
|
|
: AMOVE
|
|
|
|
( u ) 0 DO
|
|
|
|
SWAP DUP I + A@ ( dst src x )
|
|
|
|
ROT TUCK I + ( src dst x dst )
|
|
|
|
A! ( src dst )
|
|
|
|
LOOP 2DROP ;
|