1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 09:18:05 +11:00
collapseos/blk/558

15 lines
409 B
Plaintext
Raw Normal View History

: _clrrows ( n u -- Clears u rows starting at n )
SWAP _row!
( u ) 0 DO
_yinc 0 _col!
11 0 DO 0 _data! LOOP
_xinc 0 _data!
LOOP ;
: _clrln ( n ) FNTH 1+ _clrrows ;
: LCDCLR 0 64 _clrrows ;
( Changes the current line and go back to leftmost column )
: _lf
LCD_CURY C@ FNTH 1+ + DUP 63 > IF DROP 0 THEN
2020-05-10 05:31:41 +10:00
DUP _clrln DUP FNTH 1+ + _zoff!
2020-05-09 03:24:55 +10:00
LCD_CURY C! 0 LCD_CURX C! ;