New common 5x8 font for t6963, sed1520, mdm166a and i2500vfd. It resembles

the original font of the HD44780 with European character set, but includes
only characters from ISO 8859-1 and has been extended with bar graph and icons.

The t6963 driver now has its size to be configured in pixels! The size in
characters is automatically calculated based on the cell size. This makes
internal calculations more easy.
This commit is contained in:
mmdolze
2011-04-03 18:07:15 +00:00
parent 788ef58b99
commit 3bb27d1611
15 changed files with 1695 additions and 3950 deletions
+11 -5
View File
@@ -16,14 +16,20 @@
#define DEFAULT_CELL_WIDTH 6
#define DEFAULT_CELL_HEIGHT 8
#define DEFAULT_SIZE "20x6"
#define DEFAULT_SIZE "128x64"
#define DEFAULT_PORT 0x378
#define T6963_MAX_WIDTH 40 /* These value are for 240x128 */
#define T6963_MAX_HEIGHT 16
/*
* These are the maximum values the controller supports in single-scan
* setting (note that heigth of 128 is possible with dual-scan setting, too.
* This will not work with this driver, but there is no possibility to check
* this in software.
*/
#define T6963_MAX_WIDTH 80 * DEFAULT_CELL_WIDTH
#define T6963_MAX_HEIGHT 128
/* RAM layout base addresses (for 8 KB RAM) */
#define TEXT_BASE 0x0000 /* 1K, fine for 40x16 */
/* RAM layout base addresses (suitable for 8 KB RAM) */
#define TEXT_BASE 0x0000 /* 1K, fine for 40x16 or 80x8 */
#define GRAPHIC_BASE 0x0400 /* 5K, fine for 240x128 */
#define CHARGEN_BASE 0x1800 /* 2K, required for 256 CC */