Mirror of CollapseOS
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

17 satır
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.)