mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 17:58:06 +11:00
f6ded7712e
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
478 B
Plaintext
17 lines
478 B
Plaintext
( Current Y position on the LCD, that is, where we're going to
|
|
spit our next glyph. )
|
|
: LCD_CURY 0 _mem+ ;
|
|
: LCD_CURX 1 _mem+ ;
|
|
( two pixel buffers that are 8 pixels wide (1b) by FNTH
|
|
pixels high. This is where we compose our resulting pixels
|
|
blocks when spitting a glyph. )
|
|
: LCD_BUF 2 _mem+ ;
|
|
: _cmd 0x10 ( CMD ) PC! _wait ;
|
|
: _data! 0x11 ( DATA ) PC! _wait ;
|
|
: _data@ 0x11 ( DATA ) PC@ _wait ;
|
|
: LCDOFF 0x02 ( CMD_DISABLE ) _cmd ;
|
|
: LCDON 0x03 ( CMD_ENABLE ) _cmd ;
|
|
|
|
|
|
|