mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 12:18:07 +11:00
Use SYSVARS instead of RAM+ in core switches defs
RAM+ is the host's setup! Use SYSVARS instead, which is the guest's value.
This commit is contained in:
parent
adea75e50a
commit
d3ec0e3a6c
2
blk/381
2
blk/381
@ -4,7 +4,7 @@
|
|||||||
: (print) C@+ ( a len ) 0 DO C@+ EMIT LOOP DROP ;
|
: (print) C@+ ( a len ) 0 DO C@+ EMIT LOOP DROP ;
|
||||||
: BS 8 EMIT ; : LF 10 EMIT ; : CR 13 EMIT ;
|
: BS 8 EMIT ; : LF 10 EMIT ; : CR 13 EMIT ;
|
||||||
: CRLF CR LF ; : SPC 32 EMIT ;
|
: CRLF CR LF ; : SPC 32 EMIT ;
|
||||||
0x0a RAM+ :** NL
|
SYSVARS 0x0a + :** NL
|
||||||
: (uflw) LIT" stack underflow" ERR ;
|
: (uflw) LIT" stack underflow" ERR ;
|
||||||
XCURRENT @ _xapply ORG @ 0x06 ( stable ABI uflw ) + !
|
XCURRENT @ _xapply ORG @ 0x06 ( stable ABI uflw ) + !
|
||||||
: (oflw) LIT" stack overflow" ERR ;
|
: (oflw) LIT" stack overflow" ERR ;
|
||||||
|
4
blk/394
4
blk/394
@ -3,8 +3,8 @@
|
|||||||
: LOADR 1+ SWAP DO I DUP . NL LOAD LOOP ;
|
: LOADR 1+ SWAP DO I DUP . NL LOAD LOOP ;
|
||||||
: LOADR+ BLK> @ + SWAP BLK> @ + SWAP LOADR ;
|
: LOADR+ BLK> @ + SWAP BLK> @ + SWAP LOADR ;
|
||||||
( Now, adev stuff )
|
( Now, adev stuff )
|
||||||
0x3e RAM+ :** A@
|
SYSVARS 0x3e + :** A@
|
||||||
0x40 RAM+ :** A!
|
SYSVARS 0x40 + :** A!
|
||||||
|
|
||||||
( src dst u -- )
|
( src dst u -- )
|
||||||
: AMOVE
|
: AMOVE
|
||||||
|
Loading…
Reference in New Issue
Block a user