mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-08 16:28:05 +11:00
532bcc7e78
I wanted to make CVM's forth use the Grid subsystem, but doing so would break the stage binary. Hence, this split.
16 lines
257 B
Forth
16 lines
257 B
Forth
: (emit) 0 PC! ;
|
|
: COLS 80 ; : LINES 32 ;
|
|
: AT-XY 6 PC! ( y ) 5 PC! ( x ) ;
|
|
|
|
390 LOAD ( xcomp core high )
|
|
(entry) _
|
|
( Update LATEST )
|
|
PC ORG @ 8 + !
|
|
," BLK$ "
|
|
," ' EFS@ BLK@* ! "
|
|
," ' EFS! BLK!* ! "
|
|
EOT,
|
|
ORG @ 256 /MOD 2 PC! 2 PC!
|
|
H@ 256 /MOD 2 PC! 2 PC!
|
|
|