mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-08 22:48:06 +11:00
e0bcf3473e
Rename ROWS to LINES (it's what VE uses). Also, don't use COLS and LINES as immediates in the Grid subsystem: we expect those words to be available at runtime.
7 lines
171 B
Plaintext
7 lines
171 B
Plaintext
: (emit)
|
|
DUP 0x08 = IF DROP _bs EXIT THEN
|
|
DUP 0x0d = IF DROP _lf EXIT THEN
|
|
0x20 - DUP 0< IF DROP EXIT THEN
|
|
XYPOS @ CELL!
|
|
XYPOS @ 1+ _cl* MOD XYPOS ! ;
|