mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-29 00:18:04 +11:00
4e98ef11bd
I need RSHIFT and LSHIFT first...
17 lines
461 B
Plaintext
17 lines
461 B
Plaintext
( Required config: TI_MEM )
|
|
: TI_MEM+ [ TI_MEM LITN ] + ;
|
|
: LCD_PORT_CMD 0x10 ;
|
|
: LCD_PORT_DATA 0x11 ;
|
|
: FNT_WIDTH 3 ;
|
|
: FNT_HEIGHT 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+ ;
|
|
|
|
1 2 LOADR+
|