mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-20 22:38:06 +11:00
f6ded7712e
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
433 B
Plaintext
17 lines
433 B
Plaintext
: _g ( given a top-left of dot-X in BLK(, spit 7 bin lines )
|
|
7 0 DO
|
|
0 7 0 DO ( a r )
|
|
1 LSHIFT
|
|
OVER J 64 * I + + C@ 'X' = IF 1+ THEN
|
|
LOOP 1 LSHIFT C, LOOP DROP ;
|
|
: _l ( a u -- a, spit a line of u glyphs )
|
|
( u ) 0 DO ( a )
|
|
DUP I 7 * + _g
|
|
LOOP ;
|
|
: CPFNT7x7
|
|
0 , 0 , 0 , 0 C, ( space char )
|
|
541 536 DO I BLK@ BLK( 9 _l 448 + 9 _l DROP LOOP ( 90 )
|
|
542 BLK@ BLK( 4 _l DROP ( 94! )
|
|
;
|
|
|