d3ec0e3a6c
RAM+ is the host's setup! Use SYSVARS instead, which is the guest's value.
16 lines
368 B
Plaintext
16 lines
368 B
Plaintext
: LOAD+ BLK> @ + LOAD ;
|
|
( b1 b2 -- )
|
|
: LOADR 1+ SWAP DO I DUP . NL LOAD LOOP ;
|
|
: LOADR+ BLK> @ + SWAP BLK> @ + SWAP LOADR ;
|
|
( Now, adev stuff )
|
|
SYSVARS 0x3e + :** A@
|
|
SYSVARS 0x40 + :** A!
|
|
|
|
( 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 ;
|