mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-29 00:38:05 +11:00
7cad9ffe40
There wasn't much of a reason to leave a loop early on 0x0d or null. The idea was that once you have a CR or null, the rest is garbage and you shouldn't see it. However, it brought a problem: In VE, you couldn't insert characters past that limit. It would be written, but never displayed. So let's get rid of this logic and simply always display a 64x16 grid.
13 lines
184 B
Plaintext
13 lines
184 B
Plaintext
: .2 DUP 10 < IF SPC THEN . ;
|
|
: LIST
|
|
BLK@
|
|
16 0 DO
|
|
I 1+ .2 SPC
|
|
64 I * BLK( + DUP 64 + SWAP DO
|
|
I C@ 0x20 MAX EMIT
|
|
LOOP
|
|
NL
|
|
LOOP
|
|
;
|
|
|