-
Notifications
You must be signed in to change notification settings - Fork 0
/
mipslabdata.c
161 lines (157 loc) · 4.51 KB
/
mipslabdata.c
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/* mipslabdata.c
This file compiled 2015 by F Lundevall
from original code written by Axel Isaksson
For copyright and licensing, see file COPYING
*/
#include <stdint.h> /* Declarations of uint_32 and the like */
#include <pic32mx.h> /* Declarations of system-specific addresses etc */
#include "mipslab.h" /* Declatations for these labs */
char textbuffer[4][16];
const uint8_t const font[] = {
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0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 34, 20, 8, 0, 0,
0, 2, 1, 81, 9, 6, 0, 0,
0, 28, 34, 89, 89, 82, 12, 0,
0, 0, 126, 9, 9, 126, 0, 0,
0, 0, 127, 73, 73, 54, 0, 0,
0, 0, 62, 65, 65, 34, 0, 0,
0, 0, 127, 65, 65, 62, 0, 0,
0, 0, 127, 73, 73, 65, 0, 0,
0, 0, 127, 9, 9, 1, 0, 0,
0, 0, 62, 65, 81, 50, 0, 0,
0, 0, 127, 8, 8, 127, 0, 0,
0, 0, 65, 127, 65, 0, 0, 0,
0, 0, 32, 64, 64, 63, 0, 0,
0, 0, 127, 8, 20, 99, 0, 0,
0, 0, 127, 64, 64, 64, 0, 0,
0, 127, 2, 4, 2, 127, 0, 0,
0, 127, 6, 8, 48, 127, 0, 0,
0, 0, 62, 65, 65, 62, 0, 0,
0, 0, 127, 9, 9, 6, 0, 0,
0, 0, 62, 65, 97, 126, 64, 0,
0, 0, 127, 9, 9, 118, 0, 0,
0, 0, 38, 73, 73, 50, 0, 0,
0, 1, 1, 127, 1, 1, 0, 0,
0, 0, 63, 64, 64, 63, 0, 0,
0, 31, 32, 64, 32, 31, 0, 0,
0, 63, 64, 48, 64, 63, 0, 0,
0, 0, 119, 8, 8, 119, 0, 0,
0, 3, 4, 120, 4, 3, 0, 0,
0, 0, 113, 73, 73, 71, 0, 0,
0, 0, 127, 65, 65, 0, 0, 0,
0, 2, 4, 8, 16, 32, 64, 0,
0, 0, 0, 65, 65, 127, 0, 0,
0, 4, 2, 1, 2, 4, 0, 0,
0, 64, 64, 64, 64, 64, 64, 0,
0, 0, 1, 2, 4, 0, 0, 0,
0, 0, 48, 72, 40, 120, 0, 0,
0, 0, 127, 72, 72, 48, 0, 0,
0, 0, 48, 72, 72, 0, 0, 0,
0, 0, 48, 72, 72, 127, 0, 0,
0, 0, 48, 88, 88, 16, 0, 0,
0, 0, 126, 9, 1, 2, 0, 0,
0, 0, 80, 152, 152, 112, 0, 0,
0, 0, 127, 8, 8, 112, 0, 0,
0, 0, 0, 122, 0, 0, 0, 0,
0, 0, 64, 128, 128, 122, 0, 0,
0, 0, 127, 16, 40, 72, 0, 0,
0, 0, 0, 127, 0, 0, 0, 0,
0, 120, 8, 16, 8, 112, 0, 0,
0, 0, 120, 8, 8, 112, 0, 0,
0, 0, 48, 72, 72, 48, 0, 0,
0, 0, 248, 40, 40, 16, 0, 0,
0, 0, 16, 40, 40, 248, 0, 0,
0, 0, 112, 8, 8, 16, 0, 0,
0, 0, 72, 84, 84, 36, 0, 0,
0, 0, 8, 60, 72, 32, 0, 0,
0, 0, 56, 64, 32, 120, 0, 0,
0, 0, 56, 64, 56, 0, 0, 0,
0, 56, 64, 32, 64, 56, 0, 0,
0, 0, 72, 48, 48, 72, 0, 0,
0, 0, 24, 160, 160, 120, 0, 0,
0, 0, 100, 84, 84, 76, 0, 0,
0, 0, 8, 28, 34, 65, 0, 0,
0, 0, 0, 126, 0, 0, 0, 0,
0, 0, 65, 34, 28, 8, 0, 0,
0, 0, 4, 2, 4, 2, 0, 0,
0, 120, 68, 66, 68, 120, 0, 0,
};
const uint8_t const icon[] = {
255, 255, 255, 255, 255, 255, 127, 187,
68, 95, 170, 93, 163, 215, 175, 95,
175, 95, 175, 95, 223, 111, 175, 247,
59, 237, 242, 254, 171, 254, 1, 255,
255, 255, 15, 211, 109, 58, 253, 8,
178, 77, 58, 199, 122, 197, 242, 173,
242, 237, 186, 215, 40, 215, 41, 214,
35, 175, 91, 212, 63, 234, 149, 111,
171, 84, 253, 252, 254, 253, 126, 184,
195, 52, 201, 22, 225, 27, 196, 19,
165, 74, 36, 146, 72, 162, 85, 8,
226, 25, 166, 80, 167, 216, 167, 88,
106, 149, 161, 95, 135, 91, 175, 87,
142, 123, 134, 127, 134, 121, 134, 121,
132, 59, 192, 27, 164, 74, 177, 70,
184, 69, 186, 69, 254, 80, 175, 217,
};