mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 01:40:56 +11:00
2d9a07d215
This was becoming heavy to manage.
16 lines
441 B
Plaintext
16 lines
441 B
Plaintext
: _g ( given a top-left of dot-X in BLK(, spit 5 bin lines )
|
|
5 0 DO
|
|
0 3 0 DO ( a r )
|
|
1 LSHIFT
|
|
OVER J 64 * I + + C@ 'X' = IF 1+ THEN
|
|
LOOP 5 LSHIFT C, LOOP DROP ;
|
|
: _l ( a u -- a, spit a line of u glyphs )
|
|
( u ) 0 DO ( a )
|
|
DUP I 3 * + _g
|
|
LOOP ;
|
|
: CPFNT3x5
|
|
0 , 0 , 0 C, ( space char )
|
|
530 BLK@ BLK( 21 _l 320 + 21 _l 320 + 21 _l DROP ( 63 )
|
|
531 BLK@ BLK( 21 _l 320 + 10 _l DROP ( 94! )
|
|
;
|