mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 22:30:54 +11:00
f6ded7712e
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
403 B
Plaintext
17 lines
403 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 )
|
|
: A@* 0x3e RAM+ ; : A@ A@* @ EXECUTE ;
|
|
: A!* 0x40 RAM+ ; : A! A!* @ EXECUTE ;
|
|
( 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 ;
|
|
|
|
|