2020-05-09 08:50:55 -04:00
|
|
|
( Required config: LCD_MEM )
|
|
|
|
: _mem+ [ LCD_MEM LITN ] @ + ;
|
2020-05-08 07:56:34 -04:00
|
|
|
: FNTW 3 ; : FNTH 5 ;
|
|
|
|
( Wait until the lcd is ready to receive a command. It's a bit
|
|
|
|
weird to implement a waiting routine in asm, but the forth
|
|
|
|
version is a bit heavy and we don't want to wait longer than
|
|
|
|
we have to. )
|
2020-05-09 08:50:55 -04:00
|
|
|
CODE _wait
|
2020-05-08 07:56:34 -04:00
|
|
|
BEGIN,
|
2020-05-09 08:50:55 -04:00
|
|
|
0x10 ( CMD ) INAn,
|
2020-05-08 07:56:34 -04:00
|
|
|
RLA, ( When 7th bit is clr, we can send a new cmd )
|
|
|
|
JRC, AGAIN,
|
|
|
|
;CODE
|