1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 04:18:06 +11:00
collapseos/blk/556

15 lines
440 B
Plaintext
Raw Normal View History

2020-05-08 20:50:34 +10:00
( Required config: TI_MEM )
: TI_MEM+ [ TI_MEM LITN ] @ + ;
: LCD_PORT_CMD 0x10 ;
: LCD_PORT_DATA 0x11 ;
: FNTW 3 ;
: FNTH 5 ;
( Current Y position on the LCD, that is, where we're going to
spit our next glyph. )
: LCD_CURY 0 TI_MEM+ ;
: LCD_CURX 1 TI_MEM+ ;
( two pixel buffers that are 8 pixels wide (1b) by FNT_HEIGHT
pixels high. This is where we compose our resulting pixels
blocks when spitting a glyph. )
: LCD_BUF 2 TI_MEM+ ;