-
Notifications
You must be signed in to change notification settings - Fork 0
/
rom.h
230 lines (227 loc) · 17.1 KB
/
rom.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
/*
* rom.h
*
* Created on: 11 de out de 2020
* Author: Jew
*/
#ifndef ROM_H_
#define ROM_H_
const unsigned int invaders_size = 1301;
const unsigned char invaders_hex[1301] = { 0x12, 0x25, 0x53, 0x50, 0x41, 0x43,
0x45, 0x20, 0x49, 0x4E, 0x56, 0x41,
0x44, 0x45, 0x52, 0x53, 0x20, 0x30,
0x2E, 0x39, 0x31, 0x20, 0x42, 0x79,
0x20, 0x44, 0x61, 0x76, 0x69, 0x64,
0x20, 0x57, 0x49, 0x4E, 0x54, 0x45,
0x52, 0x60, 0x00, 0x61, 0x00, 0x62,
0x08, 0xA3, 0xDD, 0xD0, 0x18, 0x71,
0x08, 0xF2, 0x1E, 0x31, 0x20, 0x12,
0x2D, 0x70, 0x08, 0x61, 0x00, 0x30,
0x40, 0x12, 0x2D, 0x69, 0x05, 0x6C,
0x15, 0x6E, 0x00, 0x23, 0x91, 0x60,
0x0A, 0xF0, 0x15, 0xF0, 0x07, 0x30,
0x00, 0x12, 0x4B, 0x23, 0x91, 0x7E,
0x01, 0x12, 0x45, 0x66, 0x00, 0x68,
0x1C, 0x69, 0x00, 0x6A, 0x04, 0x6B,
0x0A, 0x6C, 0x04, 0x6D, 0x3C, 0x6E,
0x0F, 0x00, 0xE0, 0x23, 0x75, 0x23,
0x51, 0xFD, 0x15, 0x60, 0x04, 0xE0,
0x9E, 0x12, 0x7D, 0x23, 0x75, 0x38,
0x00, 0x78, 0xFF, 0x23, 0x75, 0x60,
0x06, 0xE0, 0x9E, 0x12, 0x8B, 0x23,
0x75, 0x38, 0x39, 0x78, 0x01, 0x23,
0x75, 0x36, 0x00, 0x12, 0x9F, 0x60,
0x05, 0xE0, 0x9E, 0x12, 0xE9, 0x66,
0x01, 0x65, 0x1B, 0x84, 0x80, 0xA3,
0xD9, 0xD4, 0x51, 0xA3, 0xD9, 0xD4,
0x51, 0x75, 0xFF, 0x35, 0xFF, 0x12,
0xAD, 0x66, 0x00, 0x12, 0xE9, 0xD4,
0x51, 0x3F, 0x01, 0x12, 0xE9, 0xD4,
0x51, 0x66, 0x00, 0x83, 0x40, 0x73,
0x03, 0x83, 0xB5, 0x62, 0xF8, 0x83,
0x22, 0x62, 0x08, 0x33, 0x00, 0x12,
0xC9, 0x23, 0x7D, 0x82, 0x06, 0x43,
0x08, 0x12, 0xD3, 0x33, 0x10, 0x12,
0xD5, 0x23, 0x7D, 0x82, 0x06, 0x33,
0x18, 0x12, 0xDD, 0x23, 0x7D, 0x82,
0x06, 0x43, 0x20, 0x12, 0xE7, 0x33,
0x28, 0x12, 0xE9, 0x23, 0x7D, 0x3E,
0x00, 0x13, 0x07, 0x79, 0x06, 0x49,
0x18, 0x69, 0x00, 0x6A, 0x04, 0x6B,
0x0A, 0x6C, 0x04, 0x7D, 0xF4, 0x6E,
0x0F, 0x00, 0xE0, 0x23, 0x51, 0x23,
0x75, 0xFD, 0x15, 0x12, 0x6F, 0xF7,
0x07, 0x37, 0x00, 0x12, 0x6F, 0xFD,
0x15,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x24, 0x24, 0xE7, 0x7E,
0xFF, 0x3C, 0x3C, 0x7E, 0xDB, 0x81,
0x42, 0x3C, 0x7E, 0xFF, 0xDB, 0x10,
0x38, 0x7C, 0xFE, 0x00, 0x00, 0x7F,
0x00, 0x3F, 0x00, 0x7F, 0x00, 0x00,
0x00, 0x01, 0x01, 0x01, 0x03, 0x03,
0x03, 0x03, 0x00, 0x00, 0x3F, 0x20,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x20, 0x3F, 0x08, 0x08, 0xFF, 0x00,
0x00, 0xFE, 0x00, 0xFC, 0x00, 0xFE,
0x00, 0x00, 0x00, 0x7E, 0x42, 0x42,
0x62, 0x62, 0x62, 0x62, 0x00, 0x00,
0xFF, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xFF, 0x00, 0x00,
0xFF, 0x00, 0x7D, 0x00, 0x41, 0x7D,
0x05, 0x7D, 0x7D, 0x00, 0x00, 0xC2,
0xC2, 0xC6, 0x44, 0x6C, 0x28, 0x38,
0x00, 0x00, 0xFF, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0xFF,
0x00, 0x00, 0xFF, 0x00, 0xF7, 0x10,
0x14, 0xF7, 0xF7, 0x04, 0x04, 0x00,
0x00, 0x7C, 0x44, 0xFE, 0xC2, 0xC2,
0xC2, 0xC2, 0x00, 0x00, 0xFF, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0xFF, 0x00, 0x00, 0xFF, 0x00,
0xEF, 0x20, 0x28, 0xE8, 0xE8, 0x2F,
0x2F, 0x00, 0x00, 0xF9, 0x85, 0xC5,
0xC5, 0xC5, 0xC5, 0xF9, 0x00, 0x00,
0xFF, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0xFF, 0x00, 0x00,
0xFF, 0x00, 0xBE, 0x00, 0x20, 0x30,
0x20, 0xBE, 0xBE, 0x00, 0x00, 0xF7,
0x04, 0xE7, 0x85, 0x85, 0x84, 0xF4,
0x00, 0x00, 0xFF, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0xFF,
0x00, 0x00, 0xFF, 0x00, 0x00, 0x7F,
0x00, 0x3F, 0x00, 0x7F, 0x00, 0x00,
0x00, 0xEF, 0x28, 0xEF, 0x00, 0xE0,
0x60, 0x6F, 0x00, 0x00, 0xFF, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0xFF, 0x00, 0x00, 0xFF, 0x00,
0x00, 0xFE, 0x00, 0xFC, 0x00, 0xFE,
0x00, 0x00, 0x00, 0xC0, 0x00, 0xC0,
0xC0, 0xC0, 0xC0, 0xC0, 0x00, 0x00,
0xFC, 0x04, 0x04, 0x04, 0x04, 0x04,
0x04, 0x04, 0x04, 0xFC, 0x10, 0x10,
0xFF, 0xF9, 0x81, 0xB9, 0x8B, 0x9A,
0x9A, 0xFA, 0x00, 0xFA, 0x8A, 0x9A,
0x9A, 0x9B, 0x99, 0xF8, 0xE6, 0x25,
0x25, 0xF4, 0x34, 0x34, 0x34, 0x00,
0x17, 0x14, 0x34, 0x37, 0x36, 0x26,
0xC7, 0xDF, 0x50, 0x50, 0x5C, 0xD8,
0xD8, 0xDF, 0x00, 0xDF, 0x11, 0x1F,
0x12, 0x1B, 0x19, 0xD9, 0x7C, 0x44,
0xFE, 0x86, 0x86, 0x86, 0xFC, 0x84,
0xFE, 0x82, 0x82, 0xFE, 0xFE, 0x80,
0xC0, 0xC0, 0xC0, 0xFE, 0xFC, 0x82,
0xC2, 0xC2, 0xC2, 0xFC, 0xFE, 0x80,
0xF8, 0xC0, 0xC0, 0xFE, 0xFE, 0x80,
0xF0, 0xC0, 0xC0, 0xC0, 0xFE, 0x80,
0xBE, 0x86, 0x86, 0xFE, 0x86, 0x86,
0xFE, 0x86, 0x86, 0x86, 0x10, 0x10,
0x10, 0x10, 0x10, 0x10, 0x18, 0x18,
0x18, 0x48, 0x48, 0x78, 0x9C, 0x90,
0xB0, 0xC0, 0xB0, 0x9C, 0x80, 0x80,
0xC0, 0xC0, 0xC0, 0xFE, 0xEE, 0x92,
0x92, 0x86, 0x86, 0x86, 0xFE, 0x82,
0x86, 0x86, 0x86, 0x86, 0x7C, 0x82,
0x86, 0x86, 0x86, 0x7C, 0xFE, 0x82,
0xFE, 0xC0, 0xC0, 0xC0, 0x7C, 0x82,
0xC2, 0xCA, 0xC4, 0x7A, 0xFE, 0x86,
0xFE, 0x90, 0x9C, 0x84, 0xFE, 0xC0,
0xFE, 0x02, 0x02, 0xFE, 0xFE, 0x10,
0x30, 0x30, 0x30, 0x30, 0x82, 0x82,
0xC2, 0xC2, 0xC2, 0xFE, 0x82, 0x82,
0x82, 0xEE, 0x38, 0x10, 0x86, 0x86,
0x96, 0x92, 0x92, 0xEE, 0x82, 0x44,
0x38, 0x38, 0x44, 0x82, 0x82, 0x82,
0xFE, 0x30, 0x30, 0x30, 0xFE, 0x02,
0x1E, 0xF0, 0x80, 0xFE, 0x00, 0x00,
0x00, 0x00, 0x06, 0x06, 0x00, 0x00,
0x00, 0x60, 0x60, 0xC0, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x18, 0x18,
0x18, 0x18, 0x00, 0x18, 0x7C, 0xC6,
0x0C, 0x18, 0x00, 0x18, 0x00, 0x00,
0xFE, 0xFE, 0x00, 0x00, 0xFE, 0x82,
0x86, 0x86, 0x86, 0xFE, 0x08, 0x08,
0x08, 0x18, 0x18, 0x18, 0xFE, 0x02,
0xFE, 0xC0, 0xC0, 0xFE, 0xFE, 0x02,
0x1E, 0x06, 0x06, 0xFE, 0x84, 0xC4,
0xC4, 0xFE, 0x04, 0x04, 0xFE, 0x80,
0xFE, 0x06, 0x06, 0xFE, 0xC0, 0xC0,
0xC0, 0xFE, 0x82, 0xFE, 0xFE, 0x02,
0x02, 0x06, 0x06, 0x06, 0x7C, 0x44,
0xFE, 0x86, 0x86, 0xFE, 0xFE, 0x82,
0xFE, 0x06, 0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0x5A, 0x54, 0x66,
0x72, 0x6C, 0xA8, 0x72, 0x2A, 0x00,
0x72, 0xA8, 0x72, 0x2A, 0x18, 0xA8,
0x30, 0x4E, 0x7E, 0x00, 0x12, 0x18,
0x66, 0x6C, 0xA8, 0x00, 0x66, 0x18,
0xA8, 0x30, 0x4E, 0x0C, 0x66, 0x18,
0x00, 0x6C, 0x30, 0x4E, 0x24, 0xA8,
0x72, 0x2A, 0x18, 0x30, 0x66, 0xA8,
0x1E, 0x54, 0x66, 0x0C, 0x18, 0x9C,
0xA8, 0x24, 0x54, 0x54, 0x12, 0xA8,
0x42, 0x78, 0x0C, 0x3C, 0xA8, 0xAE,
0xA8, 0xA8, 0xA8, 0xA8, 0xA8, 0xA8,
0xA8, 0xFF, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00 };
#endif /* ROM_H_ */