Mirror of CollapseOS
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

17 líneas
803B

  1. # 6/8 bit columns and smaller fonts
  2. If your glyphs, including padding, are 6 or 8 pixels wide,
  3. you're in luck because pushing them to the LCD can be done in a
  4. very efficient manner. Unfortunately, this makes the LCD
  5. unsuitable for a Collapse OS shell: 6 pixels per glyph gives us
  6. only 16 characters per line, which is hardly usable.
  7. This is why we have this buffering system. How it works is that
  8. we're always in 8-bit mode and we hold the whole area (8 pixels
  9. wide by FNTH high) in memory. When we want to put a glyph to
  10. screen, we first read the contents of that area, then add our
  11. new glyph, offsetted and masked, to that buffer, then push the
  12. buffer back to the LCD. If the glyph is split, move to the next
  13. area and finish the job.
  14. (cont.)