1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 05:58:06 +11:00
collapseos/blk/557

10 lines
247 B
Plaintext
Raw Normal View History

: _yinc 0x07 _cmd ; : _xinc 0x05 _cmd ;
2020-05-09 03:24:55 +10:00
: _zoff! ( off -- ) 0x40 + _cmd ;
: _col! ( col -- ) 0x20 + _cmd ;
: _row! ( row -- ) 0x80 + _cmd ;
: LCD$
H@ [ LCD_MEM LITN ] ! FNTH 2 * 2+ ALLOT
LCDON 0x01 ( 8-bit mode ) _cmd
2020-05-09 03:24:55 +10:00
FNTH 1+ _zoff!
;