2020-05-07 15:08:42 -04:00
|
|
|
: _glyph> ( a -- )
|
|
|
|
LCD_CURY C@ _row! LCD_CURX C@ 8 /MOD _col! ( a coff )
|
2020-05-08 06:50:34 -04:00
|
|
|
0x05 ( XINC ) _cmd _data@ DROP SWAP
|
|
|
|
FNTH 0 DO ( coff a )
|
|
|
|
C@+ 2 PICK 8 -^ LSHIFT
|
|
|
|
_data@ 8 LSHIFT OR
|
|
|
|
LCD_BUF I + 2DUP FNTH + C!
|
2020-05-08 09:07:44 -04:00
|
|
|
SWAP 8 RSHIFT SWAP C!
|
2020-05-08 06:50:34 -04:00
|
|
|
LOOP 2DROP
|
|
|
|
LCD_CURY C@ _row!
|
|
|
|
FNTH 0 DO LCD_BUF I + C@ _data! LOOP
|
|
|
|
LCD_CURY C@ _row! LCD_CURX C@ 8 / 1+ _col!
|
|
|
|
FNTH 0 DO LCD_BUF FNTH + I + C@ _data! LOOP
|
|
|
|
LCD_CURX C@ FNTW + 1+
|
|
|
|
DUP [ 96 FNTW - LITN ] > IF DROP 0 THEN
|
|
|
|
LCD_CURX C! ;
|