TurboVega / 106x60

106-column by 60-row alphanumeric display demo for X16

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

106x60 Character Display for Commander X16

This demo program shows a 106x60 character text image, where each character is contained within a 6x8 pixel cell. Most characters fit within a 5x7 pixel portion of a cell, but some characters, especially block (drawing) characters, take up more of the cell.

Features:

  • 106 text columns
  • 60 text rows
  • 96 ASCII characters, including blank and empty (transparent)
  • 73 block characters
  • 7 different line styles
  • most line styles can be joined (intersected)
  • supports using color palettes (color indexes 0, 1, 2, and 3, only)
  • character tiles support using color indexes 1 (background) and 2 (foreground), or 2 (background) and 3 (foreground)
  • in a particular palette offset, if color 1 equals color 3, then that palette offset can be used to display inverse characters using the same 2 colors as the normal (non-inverse) characters
  • supports defining "windows", which are boxes that hold text
  • windows automatically scroll if the lower right character cell is written using the write_to_window routine (it is possible to write without scrolling by using other functions)
  • characters can be written anywhere on the screen, even whether windows are defined or not
  • the window fill character can be any character, not just a blank character


Caviats:
* does not support reverse scrolling or sideways scrolling (not impossible, just not coded)
* does not support saving and restoring screen areas (e.g., for popup windows)
* uses both VERA layers (L0 and L1), because characters are 6 pixels wide, and text tiles cannot be smaller than 8 pixels wide


Line Styles:
* single-pixel vertical and single-pixel horizontal
* single-pixel vertical and double-pixel horizontal
* single-pixel vertical and triple-pixel horizontal
* double-pixel vertical and single-pixel horizontal
* double-pixel vertical and double-pixel horizontal
* triple-pixel vertical and single-pixel horizontal
* triple-pixel vertical and triple-pixel horizontal

About

106-column by 60-row alphanumeric display demo for X16

License:MIT License


Languages

Language:Assembly 95.5%Language:C++ 4.1%Language:Shell 0.4%