Mirror of CollapseOS
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

14 行
475B

  1. ( Current Y position on the LCD, that is, where we're going to
  2. spit our next glyph. )
  3. : LCD_CURY 0 _mem+ ;
  4. : LCD_CURX 1 _mem+ ;
  5. ( two pixel buffers that are 8 pixels wide (1b) by FNTH
  6. pixels high. This is where we compose our resulting pixels
  7. blocks when spitting a glyph. )
  8. : LCD_BUF 2 _mem+ ;
  9. : _cmd 0x10 ( CMD ) PC! _wait ;
  10. : _data! 0x11 ( DATA ) PC! _wait ;
  11. : _data@ 0x11 ( DATA ) PC@ _wait ;
  12. : LCDOFF 0x02 ( CMD_DISABLE ) _cmd ;
  13. : LCDON 0x03 ( CMD_ENABLE ) _cmd ;