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

17 行
696B

  1. # Z-Offset
  2. This LCD has a "Z-Offset" parameter, allowing to offset rows on
  3. the screen however we wish. This is handy because it allows us
  4. to scroll more efficiently. Instead of having to copy the LCD
  5. ram around at each linefeed (or instead of having to maintain
  6. an in-memory buffer), we can use this feature.
  7. The Z-Offset goes upwards, with wrapping. For example, if we
  8. have an 8 pixels high line at row 0 and if our offset is 8,
  9. that line will go up 8 pixels, wrapping itself to the bottom of
  10. the screen.
  11. The principle is this: The active line is always the bottom
  12. one. Therefore, when active row is 0, Z is FNTH+1, when row is
  13. 1, Z is (FNTH+1)*2, When row is 8, Z is 0. (cont.)