summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-11-16 17:56:48 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2014-02-11 02:07:50 (GMT)
commita3a30f6056ba77ede96ea98eae8b31ff816ec2bb (patch)
treea32ab58cf6abcd4c8ab42207bc7f8e98c9ba9e90
parentbd4a7c482f67fc7ae35d72b494abc394e7041d5f (diff)
downloadabc8000-a3a30f6056ba77ede96ea98eae8b31ff816ec2bb.zip
abc8000-a3a30f6056ba77ede96ea98eae8b31ff816ec2bb.tar.gz
abc8000-a3a30f6056ba77ede96ea98eae8b31ff816ec2bb.tar.bz2
abc8000-a3a30f6056ba77ede96ea98eae8b31ff816ec2bb.tar.xz
sysrom: a few more ASCII to 7-seg values...
-rw-r--r--data/sysrom/sysstart.c43
1 files changed, 35 insertions, 8 deletions
diff --git a/data/sysrom/sysstart.c b/data/sysrom/sysstart.c
index 4ee1caf..9151360 100644
--- a/data/sysrom/sysstart.c
+++ b/data/sysrom/sysstart.c
@@ -53,6 +53,13 @@ static void __attribute__((interrupt)) vsync_irq(void)
static const uint8_t ascii2led[] = {
[' '] = 0b00000000,
+ ['\"']= 0b00010001,
+ ['\'']= 0b00000001,
+ ['('] = 0b00111001,
+ [')'] = 0b00001111,
+ [','] = 0b00000010,
+ ['-'] = 0b01000000,
+ ['/'] = 0b01001001,
['0'] = 0b00111111,
['1'] = 0b00000110,
['2'] = 0b01011011,
@@ -63,29 +70,49 @@ static const uint8_t ascii2led[] = {
['7'] = 0b00000111,
['8'] = 0b01111111,
['9'] = 0b01101111,
+ ['='] = 0b01000100,
['A'] = 0b01110111,
+ ['C'] = 0b00111001,
+ ['E'] = 0b01111001,
+ ['F'] = 0b01110001,
+ ['G'] = 0b01111101,
+ ['H'] = 0b01110110,
+ ['I'] = 0b00110000,
+ ['J'] = 0b00011110,
+ ['L'] = 0b00111000,
+ ['O'] = 0b00111111,
+ ['P'] = 0b01110011,
+ ['S'] = 0b01101101,
+ ['U'] = 0b00111110,
+ ['V'] = 0b00111110,
+ ['X'] = 0b01110110,
+ ['Z'] = 0b01011011,
+ ['\\']= 0b01010010,
+ ['^'] = 0b00110001,
+ ['_'] = 0b00000100,
+ ['`'] = 0b00100000,
['a'] = 0b01011111,
['b'] = 0b01111100,
- ['C'] = 0b00111001,
['c'] = 0b01011000,
['d'] = 0b01011110,
- ['E'] = 0b01111001,
['e'] = 0b01111011,
- ['F'] = 0b01110001,
- ['H'] = 0b01110110,
+ ['f'] = 0b01110001,
+ ['g'] = 0b01101111,
['h'] = 0b01110100,
['i'] = 0b00000100,
- ['J'] = 0b00011110,
- ['L'] = 0b00111000,
+ ['j'] = 0b00001110,
+ ['l'] = 0b00110000,
['n'] = 0b01010100,
['o'] = 0b01011100,
- ['P'] = 0b01110011,
+ ['p'] = 0b01110011,
['q'] = 0b01100111,
['r'] = 0b01010000,
+ ['s'] = 0b01101101,
['t'] = 0b01111000,
- ['U'] = 0b00111110,
['u'] = 0b00011100,
['y'] = 0b01101110,
+ ['z'] = 0b01011011,
+ ['|'] = 0b00110000,
};
static void __attribute__((interrupt)) timer_irq(void)