2020-11-14 14:50:14 -05:00
|
|
|
: COLS 80 ; : LINES 32 ;
|
2020-11-16 10:05:48 -05:00
|
|
|
: CURSOR! ( new old -- )
|
|
|
|
DROP COLS /MOD 6 PC! ( y ) 5 PC! ( x ) ;
|
|
|
|
: CELL! ( c pos -- ) 0 CURSOR! 0 PC! ;
|
2020-11-14 20:08:18 -05:00
|
|
|
: NEWLN ( ln -- ) DROP 0xa 0 PC! ;
|
2020-11-14 14:50:14 -05:00
|
|
|
|
2020-11-14 20:08:18 -05:00
|
|
|
SYSVARS 0x70 + CONSTANT GRID_MEM
|
|
|
|
402 403 LOADR ( Grid )
|
2020-11-14 14:50:14 -05:00
|
|
|
390 LOAD ( xcomp core high )
|
|
|
|
(entry) _
|
|
|
|
( Update LATEST )
|
|
|
|
PC ORG @ 8 + !
|
2020-11-14 22:35:08 -05:00
|
|
|
," BLK$ ' EFS@ BLK@* ! ' EFS! BLK!* ! GRID$ " EOT,
|
2020-11-14 14:50:14 -05:00
|
|
|
ORG @ 256 /MOD 2 PC! 2 PC!
|
|
|
|
H@ 256 /MOD 2 PC! 2 PC!
|
|
|
|
|