1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-23 19:18:08 +11:00
collapseos/cvm/forth.fs

16 lines
363 B
Forth
Raw Normal View History

: COLS 80 ; : LINES 32 ;
: CURSOR! ( new old -- )
DROP COLS /MOD 6 PC! ( y ) 5 PC! ( x ) ;
: CELL! ( c pos -- ) 0 CURSOR! 0 PC! ;
SYSVARS 0xa0 + CONSTANT GRID_MEM
402 403 LOADR ( Grid )
390 LOAD ( xcomp core high )
(entry) _
( Update LATEST )
PC ORG @ 8 + !
2021-01-03 07:51:12 +11:00
," BLK$ ' EFS@ ' BLK@* **! ' EFS! ' BLK!* **! GRID$ " EOT,
ORG @ |M 2 PC! 2 PC!
H@ |M 2 PC! 2 PC!