-
Notifications
You must be signed in to change notification settings - Fork 22
/
cc2font.h
142 lines (134 loc) · 7.84 KB
/
cc2font.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
#ifndef __CC2FONT_H__
#define __CC2FONT_H__
/*
Copyright 2015 by Joseph Forgione
This file is part of VCC (Virtual Color Computer).
VCC (Virtual Color Computer) is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
VCC (Virtual Color Computer) is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with VCC (Virtual Color Computer). If not, see <http://www.gnu.org/licenses/>.
*/
static unsigned char ntsc_round_fontdata8x12[] =
{
0x00,0x00,0x38,0x44,0x04,0x34,0x4C,0x4C,0x38,0x00,0x00,0x00,
0x00,0x00,0x10,0x28,0x44,0x44,0x7C,0x44,0x44,0x00,0x00,0x00,
0x00,0x00,0x78,0x24,0x24,0x38,0x24,0x24,0x78,0x00,0x00,0x00,
0x00,0x00,0x38,0x44,0x40,0x40,0x40,0x44,0x38,0x00,0x00,0x00,
0x00,0x00,0x78,0x24,0x24,0x24,0x24,0x24,0x78,0x00,0x00,0x00,
0x00,0x00,0x7C,0x40,0x40,0x70,0x40,0x40,0x7C,0x00,0x00,0x00,
0x00,0x00,0x7C,0x40,0x40,0x70,0x40,0x40,0x40,0x00,0x00,0x00,
0x00,0x00,0x38,0x44,0x40,0x40,0x4C,0x44,0x38,0x00,0x00,0x00,
0x00,0x00,0x44,0x44,0x44,0x7C,0x44,0x44,0x44,0x00,0x00,0x00,
0x00,0x00,0x38,0x10,0x10,0x10,0x10,0x10,0x38,0x00,0x00,0x00,
0x00,0x00,0x04,0x04,0x04,0x04,0x04,0x44,0x38,0x00,0x00,0x00,
0x00,0x00,0x44,0x48,0x50,0x60,0x50,0x48,0x44,0x00,0x00,0x00,
0x00,0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x7C,0x00,0x00,0x00,
0x00,0x00,0x44,0x6C,0x54,0x54,0x44,0x44,0x44,0x00,0x00,0x00,
0x00,0x00,0x44,0x44,0x64,0x54,0x4C,0x44,0x44,0x00,0x00,0x00,
0x00,0x00,0x38,0x44,0x44,0x44,0x44,0x44,0x38,0x00,0x00,0x00,
0x00,0x00,0x78,0x44,0x44,0x78,0x40,0x40,0x40,0x00,0x00,0x00,
0x00,0x00,0x38,0x44,0x44,0x44,0x54,0x48,0x34,0x00,0x00,0x00,
0x00,0x00,0x78,0x44,0x44,0x78,0x50,0x48,0x44,0x00,0x00,0x00,
0x00,0x00,0x38,0x44,0x40,0x38,0x04,0x44,0x38,0x00,0x00,0x00,
0x00,0x00,0x7C,0x10,0x10,0x10,0x10,0x10,0x10,0x00,0x00,0x00,
0x00,0x00,0x44,0x44,0x44,0x44,0x44,0x44,0x38,0x00,0x00,0x00,
0x00,0x00,0x44,0x44,0x44,0x28,0x28,0x10,0x10,0x00,0x00,0x00,
0x00,0x00,0x44,0x44,0x44,0x44,0x54,0x6C,0x44,0x00,0x00,0x00,
0x00,0x00,0x44,0x44,0x28,0x10,0x28,0x44,0x44,0x00,0x00,0x00,
0x00,0x00,0x44,0x44,0x28,0x10,0x10,0x10,0x10,0x00,0x00,0x00,
0x00,0x00,0x7C,0x04,0x08,0x10,0x20,0x40,0x7C,0x00,0x00,0x00,
0x00,0x00,0x38,0x20,0x20,0x20,0x20,0x20,0x38,0x00,0x00,0x00,
0x00,0x00,0x00,0x40,0x20,0x10,0x08,0x04,0x00,0x00,0x00,0x00,
0x00,0x00,0x38,0x08,0x08,0x08,0x08,0x08,0x38,0x00,0x00,0x00,
0x00,0x00,0x10,0x38,0x54,0x10,0x10,0x10,0x10,0x00,0x00,0x00,
0x00,0x00,0x00,0x10,0x20,0x7C,0x20,0x10,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x10,0x10,0x10,0x10,0x10,0x00,0x10,0x00,0x00,0x00,
0x00,0x00,0x28,0x28,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x28,0x28,0x7C,0x28,0x7C,0x28,0x28,0x00,0x00,0x00,
0x00,0x00,0x10,0x3C,0x50,0x38,0x14,0x78,0x10,0x00,0x00,0x00,
0x00,0x00,0x60,0x64,0x08,0x10,0x20,0x4C,0x0C,0x00,0x00,0x00,
0x00,0x00,0x20,0x50,0x50,0x20,0x54,0x48,0x34,0x00,0x00,0x00,
0x00,0x00,0x10,0x10,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x08,0x10,0x20,0x20,0x20,0x10,0x08,0x00,0x00,0x00,
0x00,0x00,0x20,0x10,0x08,0x08,0x08,0x10,0x20,0x00,0x00,0x00,
0x00,0x00,0x00,0x10,0x54,0x38,0x38,0x54,0x10,0x00,0x00,0x00,
0x00,0x00,0x00,0x10,0x10,0x7C,0x10,0x10,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x40,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x7C,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,
0x00,0x00,0x00,0x04,0x08,0x10,0x20,0x40,0x00,0x00,0x00,0x00,
0x00,0x00,0x38,0x44,0x4C,0x54,0x64,0x44,0x38,0x00,0x00,0x00,
0x00,0x00,0x10,0x30,0x10,0x10,0x10,0x10,0x38,0x00,0x00,0x00,
0x00,0x00,0x38,0x44,0x04,0x38,0x40,0x40,0x7C,0x00,0x00,0x00,
0x00,0x00,0x38,0x44,0x04,0x08,0x04,0x44,0x38,0x00,0x00,0x00,
0x00,0x00,0x08,0x18,0x28,0x48,0x7C,0x08,0x08,0x00,0x00,0x00,
0x00,0x00,0x7C,0x40,0x78,0x04,0x04,0x44,0x38,0x00,0x00,0x00,
0x00,0x00,0x38,0x40,0x40,0x78,0x44,0x44,0x38,0x00,0x00,0x00,
0x00,0x00,0x7C,0x04,0x08,0x10,0x20,0x40,0x40,0x00,0x00,0x00,
0x00,0x00,0x38,0x44,0x44,0x38,0x44,0x44,0x38,0x00,0x00,0x00,
0x00,0x00,0x38,0x44,0x44,0x3C,0x04,0x04,0x38,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x10,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x10,0x10,0x20,0x00,0x00,
0x00,0x00,0x08,0x10,0x20,0x40,0x20,0x10,0x08,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x7C,0x00,0x7C,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x20,0x10,0x08,0x04,0x08,0x10,0x20,0x00,0x00,0x00,
0x00,0x00,0x38,0x44,0x04,0x08,0x10,0x00,0x10,0x00,0x00,0x00,
/* Block Graphics (Semigraphics 4 Graphics ) */
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,
0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0xF0,0xF0,0xF0,0xF0,0xF0,
0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0x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x00,0x08,0x14,0x10,0x38,0x10,0x10,0x10,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x34,0x4C,0x44,0x4C,0x34,0x04,0x38,0x00,
0x00,0x00,0x40,0x40,0x58,0x64,0x44,0x44,0x44,0x00,0x00,0x00,
0x00,0x00,0x10,0x00,0x30,0x10,0x10,0x10,0x38,0x00,0x00,0x00,
0x00,0x00,0x04,0x00,0x04,0x04,0x04,0x04,0x44,0x38,0x00,0x00,
0x00,0x00,0x40,0x40,0x48,0x50,0x60,0x50,0x48,0x00,0x00,0x00,
0x00,0x00,0x30,0x10,0x10,0x10,0x10,0x10,0x38,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x78,0x54,0x54,0x54,0x54,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x58,0x64,0x44,0x44,0x44,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x38,0x44,0x44,0x44,0x38,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x78,0x44,0x44,0x44,0x78,0x40,0x40,0x00,
0x00,0x00,0x00,0x00,0x3C,0x44,0x44,0x44,0x3C,0x04,0x04,0x00,
0x00,0x00,0x00,0x00,0x58,0x64,0x40,0x40,0x40,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x3C,0x40,0x38,0x04,0x78,0x00,0x00,0x00,
0x00,0x00,0x20,0x20,0x70,0x20,0x20,0x24,0x18,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x44,0x44,0x44,0x4C,0x34,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x44,0x44,0x44,0x28,0x10,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x44,0x54,0x54,0x28,0x28,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x44,0x28,0x10,0x28,0x44,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x44,0x44,0x44,0x3C,0x04,0x38,0x00,0x00,
0x00,0x00,0x00,0x00,0x7C,0x08,0x10,0x20,0x7C,0x00,0x00,0x00,
0x00,0x00,0x08,0x10,0x10,0x20,0x10,0x10,0x08,0x00,0x00,0x00,
0x00,0x00,0x10,0x10,0x10,0x00,0x10,0x10,0x10,0x00,0x00,0x00,
0x00,0x00,0x20,0x10,0x10,0x08,0x10,0x10,0x20,0x00,0x00,0x00,
0x00,0x00,0x20,0x54,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7C,0x00,0x00,0x00,
};
#endif