Statistics
| Branch: | Revision:

root / prex-0.9.0 / bsp / hal / arm / gba / font.h @ 03e9c04a

History | View | Annotate | Download (8.1 KB)

1
/*-
2
 * Copyright (c) 2005, Kohsuke Ohtani
3
 * All rights reserved.
4
 *
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions
7
 * are met:
8
 * 1. Redistributions of source code must retain the above copyright
9
 *    notice, this list of conditions and the following disclaimer.
10
 * 2. Redistributions in binary form must reproduce the above copyright
11
 *    notice, this list of conditions and the following disclaimer in the
12
 *    documentation and/or other materials provided with the distribution.
13
 * 3. Neither the name of the author nor the names of any co-contributors
14
 *    may be used to endorse or promote products derived from this software
15
 *    without specific prior written permission.
16
 *
17
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27
 * SUCH DAMAGE.
28
 */
29

    
30
/*
31
 * font.h - minimum font for GBA
32
 */
33

    
34
const unsigned char font_bitmap[][8] = {
35
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
36
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
37
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
38
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
39
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
40
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
41
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
42
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
43
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
44
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
45
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
46
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
47
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
48
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
49
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
50
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
51
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
52
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
53
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
54
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
55
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
56
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
57
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
58
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
59
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
60
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
61
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
62
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
63
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
64
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
65
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
66
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
67
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
68
        {0x18, 0x18, 0x18, 0x18, 0x00, 0x18, 0x18, 0x00,},
69
        {0x6C, 0x6C, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00,},
70
        {0x6C, 0x6C, 0xFE, 0x6C, 0xFE, 0x6C, 0x6C, 0x00,},
71
        {0x10, 0x7C, 0xD0, 0x7C, 0x16, 0x7C, 0x10, 0x00,},
72
        {0x62, 0x66, 0x0C, 0x18, 0x30, 0x66, 0x46, 0x00,},
73
        {0x38, 0x6C, 0x68, 0x76, 0xDC, 0xCC, 0x76, 0x00,},
74
        {0x18, 0x18, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00,},
75
        {0x0C, 0x18, 0x30, 0x30, 0x30, 0x18, 0x0C, 0x00,},
76
        {0x30, 0x18, 0x0C, 0x0C, 0x0C, 0x18, 0x30, 0x00,},
77
        {0x00, 0x6C, 0x38, 0xFE, 0x38, 0x6C, 0x00, 0x00,},
78
        {0x00, 0x18, 0x18, 0x7E, 0x18, 0x18, 0x00, 0x00,},
79
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x10,},
80
        {0x00, 0x00, 0x00, 0x7E, 0x00, 0x00, 0x00, 0x00,},
81
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x00,},
82
        {0x02, 0x06, 0x0C, 0x18, 0x30, 0x60, 0x40, 0x00,},
83
        {0x3C, 0x66, 0x6E, 0x76, 0x66, 0x66, 0x3C, 0x00,},
84
        {0x18, 0x18, 0x38, 0x18, 0x18, 0x18, 0x3C, 0x00,},
85
        {0x7C, 0x06, 0x06, 0x3C, 0x60, 0x60, 0x7E, 0x00,},
86
        {0x7C, 0x06, 0x06, 0x1C, 0x06, 0x06, 0x7C, 0x00,},
87
        {0x66, 0x66, 0x66, 0x7E, 0x06, 0x06, 0x06, 0x00,},
88
        {0x7E, 0x60, 0x60, 0x7C, 0x06, 0x06, 0x7C, 0x00,},
89
        {0x3E, 0x60, 0x60, 0x7C, 0x66, 0x66, 0x3C, 0x00,},
90
        {0x7E, 0x06, 0x0C, 0x18, 0x18, 0x18, 0x18, 0x00,},
91
        {0x3C, 0x66, 0x66, 0x3C, 0x66, 0x66, 0x3C, 0x00,},
92
        {0x3C, 0x66, 0x66, 0x3E, 0x06, 0x06, 0x7C, 0x00,},
93
        {0x00, 0x18, 0x18, 0x00, 0x18, 0x18, 0x00, 0x00,},
94
        {0x00, 0x00, 0x18, 0x18, 0x00, 0x18, 0x18, 0x10,},
95
        {0x0C, 0x18, 0x30, 0x60, 0x30, 0x18, 0x0C, 0x00,},
96
        {0x00, 0x00, 0x7E, 0x00, 0x7E, 0x00, 0x00, 0x00,},
97
        {0x30, 0x18, 0x0C, 0x06, 0x0C, 0x18, 0x30, 0x00,},
98
        {0x3C, 0x66, 0x06, 0x1C, 0x18, 0x00, 0x18, 0x00,},
99
        {0x3C, 0x66, 0x6E, 0x6E, 0x6E, 0x60, 0x3E, 0x00,},
100
        {0x3C, 0x66, 0x66, 0x7E, 0x66, 0x66, 0x66, 0x00,},
101
        {0x7C, 0x66, 0x66, 0x7C, 0x66, 0x66, 0x7C, 0x00,},
102
        {0x3C, 0x66, 0x60, 0x60, 0x60, 0x66, 0x3C, 0x00,},
103
        {0x7C, 0x66, 0x66, 0x66, 0x66, 0x66, 0x7C, 0x00,},
104
        {0x7E, 0x60, 0x60, 0x78, 0x60, 0x60, 0x7E, 0x00,},
105
        {0x7E, 0x60, 0x60, 0x78, 0x60, 0x60, 0x60, 0x00,},
106
        {0x3C, 0x66, 0x60, 0x6E, 0x66, 0x66, 0x3C, 0x00,},
107
        {0x66, 0x66, 0x66, 0x7E, 0x66, 0x66, 0x66, 0x00,},
108
        {0x7E, 0x18, 0x18, 0x18, 0x18, 0x18, 0x7E, 0x00,},
109
        {0x0E, 0x06, 0x06, 0x06, 0x06, 0x66, 0x3C, 0x00,},
110
        {0x66, 0x6C, 0x78, 0x70, 0x78, 0x6C, 0x66, 0x00,},
111
        {0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x7E, 0x00,},
112
        {0xC6, 0xEE, 0xFE, 0xD6, 0xC6, 0xC6, 0xC6, 0x00,},
113
        {0x66, 0x76, 0x7E, 0x6E, 0x66, 0x66, 0x66, 0x00,},
114
        {0x3C, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00,},
115
        {0x7C, 0x66, 0x66, 0x7C, 0x60, 0x60, 0x60, 0x00,},
116
        {0x3C, 0x66, 0x66, 0x66, 0x6E, 0x6E, 0x3E, 0x00,},
117
        {0x7C, 0x66, 0x66, 0x7C, 0x66, 0x66, 0x66, 0x00,},
118
        {0x3E, 0x60, 0x60, 0x3C, 0x06, 0x06, 0x7C, 0x00,},
119
        {0x7E, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00,},
120
        {0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00,},
121
        {0x66, 0x66, 0x66, 0x66, 0x3C, 0x3C, 0x18, 0x00,},
122
        {0xC6, 0xC6, 0xC6, 0xD6, 0xFE, 0xEE, 0xC6, 0x00,},
123
        {0x66, 0x66, 0x3C, 0x18, 0x3C, 0x66, 0x66, 0x00,},
124
        {0x66, 0x66, 0x66, 0x3C, 0x18, 0x18, 0x18, 0x00,},
125
        {0x7E, 0x06, 0x0C, 0x18, 0x30, 0x60, 0x7E, 0x00,},
126
        {0x3C, 0x30, 0x30, 0x30, 0x30, 0x30, 0x3C, 0x00,},
127
        {0x40, 0x60, 0x30, 0x18, 0x0C, 0x06, 0x02, 0x00,},
128
        {0x3C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x3C, 0x00,},
129
        {0x10, 0x38, 0x6C, 0x00, 0x00, 0x00, 0x00, 0x00,},
130
        {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF,},
131
        {0x18, 0x18, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00,},
132
        {0x00, 0x00, 0x3C, 0x06, 0x3E, 0x66, 0x3E, 0x00,},
133
        {0x60, 0x60, 0x7C, 0x66, 0x66, 0x66, 0x7C, 0x00,},
134
        {0x00, 0x00, 0x3C, 0x66, 0x60, 0x66, 0x3C, 0x00,},
135
        {0x06, 0x06, 0x3E, 0x66, 0x66, 0x66, 0x3E, 0x00,},
136
        {0x00, 0x00, 0x3C, 0x66, 0x7C, 0x60, 0x3E, 0x00,},
137
        {0x0E, 0x18, 0x18, 0x3C, 0x18, 0x18, 0x3C, 0x00,},
138
        {0x00, 0x00, 0x3E, 0x66, 0x66, 0x3E, 0x06, 0x7C,},
139
        {0x60, 0x60, 0x7C, 0x66, 0x66, 0x66, 0x66, 0x00,},
140
        {0x18, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00,},
141
        {0x18, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x70,},
142
        {0x60, 0x60, 0x66, 0x6C, 0x78, 0x6C, 0x66, 0x00,},
143
        {0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x1C, 0x00,},
144
        {0x00, 0x00, 0xCC, 0xFE, 0xD6, 0xC6, 0xC6, 0x00,},
145
        {0x00, 0x00, 0x7C, 0x66, 0x66, 0x66, 0x66, 0x00,},
146
        {0x00, 0x00, 0x3C, 0x66, 0x66, 0x66, 0x3C, 0x00,},
147
        {0x00, 0x00, 0x7C, 0x66, 0x66, 0x7C, 0x60, 0x60,},
148
        {0x00, 0x00, 0x3E, 0x66, 0x66, 0x3E, 0x06, 0x06,},
149
        {0x00, 0x00, 0x36, 0x38, 0x30, 0x30, 0x30, 0x00,},
150
        {0x00, 0x00, 0x3E, 0x60, 0x3C, 0x06, 0x7C, 0x00,},
151
        {0x18, 0x18, 0x18, 0x3C, 0x18, 0x18, 0x0C, 0x00,},
152
        {0x00, 0x00, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00,},
153
        {0x00, 0x00, 0x66, 0x66, 0x3C, 0x3C, 0x18, 0x00,},
154
        {0x00, 0x00, 0xC6, 0xC6, 0xD6, 0xFE, 0xEC, 0x00,},
155
        {0x00, 0x00, 0x66, 0x3C, 0x18, 0x3C, 0x66, 0x00,},
156
        {0x00, 0x00, 0x66, 0x66, 0x66, 0x3E, 0x06, 0x7C,},
157
        {0x00, 0x00, 0x7E, 0x0C, 0x18, 0x30, 0x7E, 0x00,},
158
        {0x1C, 0x30, 0x30, 0x60, 0x30, 0x30, 0x1C, 0x00,},
159
        {0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00,},
160
        {0x38, 0x0C, 0x0C, 0x06, 0x0C, 0x0C, 0x38, 0x00,},
161
        {0x32, 0x4C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,},
162
        {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,},
163
};