-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2048_img.c
358 lines (343 loc) · 14.7 KB
/
2048_img.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
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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
/* 2048_bmp.c
A clon of the game 2048 for the Amstrad PCW.
Copyright (c) 2016 Miguel Garcia / FloppySoftware
This program 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, or (at your option) any
later version.
This program 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 this program; if not, write to the Free Software
Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
Author's contact:
www.floppysoftware.es
cpm-connections.blogspot.com
Revisions:
19 Oct 2016 : Images isolated in this file.
*/
#asm
font
DEFB 000, 063, 063, 063, 063, 063, 063, 063
DEFB 000, 255, 255, 255, 255, 255, 255, 255
DEFB 000, 252, 252, 252, 252, 252, 252, 252
DEFB 063, 063, 063, 063, 063, 063, 063, 063
DEFB 255, 255, 255, 255, 255, 255, 255, 255
DEFB 252, 252, 252, 252, 252, 252, 252, 252
DEFB 063, 063, 063, 063, 063, 063, 063, 000
DEFB 255, 255, 255, 255, 255, 255, 255, 000
DEFB 252, 252, 252, 252, 252, 252, 252, 000
DEFB 000, 021, 042, 021, 042, 021, 042, 021
DEFB 000, 085, 170, 085, 170, 085, 170, 085
DEFB 168, 084, 168, 084, 168, 084, 168, 000
DEFB 042, 021, 042, 021, 042, 021, 042, 021
DEFB 170, 085, 170, 085, 170, 085, 170, 085
DEFB 168, 084, 168, 084, 168, 084, 168, 084
DEFB 042, 021, 042, 021, 042, 021, 042, 000
DEFB 170, 085, 170, 085, 170, 085, 170, 000
DEFB 168, 084, 168, 084, 168, 084, 168, 000
DEFB 000, 000, 001, 003, 007, 015, 000, 000
DEFB 000, 000, 128, 192, 224, 240, 000, 000
DEFB 000, 000, 015, 007, 003, 001, 000, 000
DEFB 000, 000, 240, 224, 192, 128, 000, 000
DEFB 252, 240, 192, 192, 192, 192, 240, 252
DEFB 063, 015, 003, 003, 003, 003, 015, 063
DEFB 255, 255, 255, 000, 255, 255, 255, 255
DEFB 124, 016, 016, 016, 016, 016, 016, 124
DEFB 001, 059, 109, 253, 093, 027, 001, 000
DEFB 129, 227, 247, 255, 247, 227, 129, 000
DEFB 000, 000, 001, 007, 001, 000, 000, 000
DEFB 000, 096, 224, 224, 224, 096, 000, 000
DEFB 000, 006, 007, 007, 007, 006, 000, 000
DEFB 000, 000, 128, 224, 128, 000, 000, 000
DEFB 000, 000, 000, 000, 000, 000, 000, 000
DEFB 024, 060, 060, 024, 024, 000, 024, 000
DEFB 068, 102, 000, 000, 000, 000, 000, 000
DEFB 108, 254, 108, 108, 108, 254, 108, 000
DEFB 024, 060, 102, 048, 012, 102, 060, 024
DEFB 000, 198, 204, 024, 048, 102, 198, 000
DEFB 056, 108, 056, 112, 218, 204, 118, 000
DEFB 024, 008, 000, 000, 000, 000, 000, 000
DEFB 014, 056, 096, 096, 096, 056, 014, 000
DEFB 112, 028, 006, 006, 006, 028, 112, 000
DEFB 000, 198, 056, 254, 056, 198, 000, 000
DEFB 000, 024, 024, 126, 024, 024, 000, 000
DEFB 000, 000, 000, 000, 000, 024, 008, 016
DEFB 000, 000, 000, 126, 000, 000, 000, 000
DEFB 000, 000, 000, 000, 000, 000, 024, 000
DEFB 000, 006, 012, 024, 048, 096, 192, 000
DEFB 060, 066, 078, 090, 114, 066, 060, 000
DEFB 008, 024, 056, 008, 008, 008, 008, 000
DEFB 060, 066, 002, 060, 064, 066, 126, 000
DEFB 060, 066, 002, 028, 002, 066, 060, 000
DEFB 028, 036, 068, 132, 254, 004, 004, 000
DEFB 126, 064, 124, 002, 066, 066, 060, 000
DEFB 060, 066, 064, 124, 066, 066, 060, 000
DEFB 126, 002, 004, 008, 008, 008, 008, 000
DEFB 060, 066, 066, 060, 066, 066, 060, 000
DEFB 060, 066, 066, 062, 002, 002, 002, 000
DEFB 000, 000, 000, 000, 024, 000, 024, 000
DEFB 000, 000, 000, 024, 000, 024, 008, 016
DEFB 012, 024, 048, 096, 048, 024, 012, 000
DEFB 000, 000, 126, 000, 126, 000, 000, 000
DEFB 048, 024, 012, 006, 012, 024, 048, 000
DEFB 060, 102, 102, 012, 024, 000, 024, 000
DEFB 060, 066, 090, 090, 076, 064, 062, 000
DEFB 060, 066, 066, 126, 066, 066, 066, 000
DEFB 124, 066, 066, 124, 066, 066, 124, 000
DEFB 060, 070, 064, 064, 064, 070, 060, 000
DEFB 124, 066, 066, 066, 066, 066, 124, 000
DEFB 126, 064, 064, 120, 064, 064, 126, 000
DEFB 126, 064, 064, 120, 064, 064, 064, 000
DEFB 060, 066, 064, 078, 066, 066, 060, 000
DEFB 066, 066, 066, 126, 066, 066, 066, 000
DEFB 124, 016, 016, 016, 016, 016, 124, 000
DEFB 002, 002, 002, 002, 066, 066, 060, 000
DEFB 066, 068, 072, 112, 072, 068, 066, 000
DEFB 064, 064, 064, 064, 064, 064, 126, 000
DEFB 066, 102, 090, 066, 066, 066, 066, 000
DEFB 066, 098, 082, 074, 070, 066, 066, 000
DEFB 060, 066, 066, 066, 066, 066, 060, 000
DEFB 124, 066, 066, 066, 124, 064, 064, 000
DEFB 060, 066, 066, 066, 066, 108, 054, 000
DEFB 124, 066, 066, 124, 066, 066, 066, 000
DEFB 060, 066, 064, 060, 002, 066, 060, 000
DEFB 124, 016, 016, 016, 016, 016, 016, 000
DEFB 066, 066, 066, 066, 066, 066, 060, 000
DEFB 066, 066, 066, 066, 066, 036, 024, 000
DEFB 130, 130, 130, 130, 146, 170, 198, 000
DEFB 066, 066, 036, 024, 036, 066, 066, 000
DEFB 068, 068, 068, 040, 016, 016, 016, 000
DEFB 124, 004, 008, 016, 032, 064, 124, 000
DEFB 060, 048, 048, 048, 048, 048, 060, 000
DEFB 000, 192, 096, 048, 024, 012, 006, 000
DEFB 060, 012, 012, 012, 012, 012, 060, 000
DEFB 000, 024, 060, 126, 024, 024, 024, 024
DEFB 000, 000, 000, 000, 000, 000, 000, 255
DEFB 048, 024, 000, 000, 000, 000, 000, 000
DEFB 000, 000, 062, 066, 066, 078, 050, 000
DEFB 064, 064, 124, 066, 066, 066, 124, 000
DEFB 000, 000, 060, 066, 064, 066, 060, 000
DEFB 006, 006, 062, 066, 066, 066, 062, 000
DEFB 000, 000, 060, 066, 124, 064, 062, 000
DEFB 028, 034, 032, 120, 032, 032, 032, 032
DEFB 000, 000, 060, 066, 066, 062, 002, 124
DEFB 064, 064, 124, 066, 066, 066, 066, 000
DEFB 000, 016, 000, 112, 016, 016, 124, 000
DEFB 000, 002, 000, 002, 002, 002, 066, 060
DEFB 000, 000, 066, 068, 120, 068, 066, 000
DEFB 048, 016, 016, 016, 016, 016, 056, 000
DEFB 000, 000, 068, 170, 146, 130, 130, 000
DEFB 000, 000, 076, 082, 098, 066, 066, 000
DEFB 000, 000, 060, 066, 066, 066, 060, 000
DEFB 000, 000, 124, 066, 066, 124, 064, 064
DEFB 000, 000, 062, 066, 066, 062, 002, 002
DEFB 000, 000, 124, 066, 064, 064, 064, 000
DEFB 000, 000, 062, 064, 060, 002, 124, 000
DEFB 032, 032, 112, 032, 032, 034, 028, 000
DEFB 000, 000, 066, 066, 070, 074, 050, 000
DEFB 000, 000, 066, 066, 066, 036, 024, 000
DEFB 000, 000, 130, 130, 146, 170, 068, 000
DEFB 000, 000, 066, 036, 024, 036, 066, 000
DEFB 000, 000, 066, 066, 062, 002, 002, 124
DEFB 000, 000, 124, 008, 016, 032, 124, 000
DEFB 014, 024, 024, 112, 024, 024, 014, 000
DEFB 000, 024, 024, 024, 024, 024, 024, 000
DEFB 112, 024, 024, 014, 024, 024, 112, 000
DEFB 118, 220, 000, 000, 000, 000, 000, 000
DEFB 060, 102, 102, 102, 102, 102, 060, 000
DEFB 060, 098, 248, 096, 248, 098, 060, 000
DEFB 000, 000, 000, 255, 000, 000, 000, 000
DEFB 000, 124, 254, 254, 124, 000, 000, 000
DEFB 000, 124, 198, 198, 124, 000, 000, 000
DEFB 000, 000, 124, 124, 124, 000, 000, 000
DEFB 000, 096, 120, 126, 120, 096, 000, 000
DEFB 000, 063, 063, 060, 063, 063, 000, 255
DEFB 003, 243, 243, 243, 243, 243, 003, 255
DEFB 000, 063, 051, 060, 051, 063, 000, 255
DEFB 003, 243, 051, 243, 051, 243, 003, 255
DEFB 192, 031, 063, 060, 063, 031, 192, 255
DEFB 007, 227, 243, 243, 243, 227, 015, 255
DEFB 192, 031, 056, 048, 056, 031, 192, 255
DEFB 007, 227, 115, 051, 115, 227, 015, 255
DEFB 000, 000, 255, 000, 231, 102, 102, 102
DEFB 102, 102, 231, 000, 231, 102, 102, 102
DEFB 000, 000, 000, 024, 000, 000, 000, 000
DEFB 024, 024, 024, 024, 000, 000, 000, 000
DEFB 000, 000, 000, 031, 000, 000, 000, 000
DEFB 024, 024, 024, 015, 000, 000, 000, 000
DEFB 000, 000, 000, 024, 024, 024, 024, 024
DEFB 024, 024, 024, 024, 024, 024, 024, 024
DEFB 000, 000, 000, 015, 024, 024, 024, 024
DEFB 024, 024, 024, 031, 024, 024, 024, 024
DEFB 000, 000, 000, 248, 000, 000, 000, 000
DEFB 024, 024, 024, 240, 000, 000, 000, 000
DEFB 000, 000, 000, 255, 000, 000, 000, 000
DEFB 024, 024, 024, 255, 000, 000, 000, 000
DEFB 000, 000, 024, 060, 126, 255, 000, 000
DEFB 000, 000, 255, 126, 060, 024, 000, 000
DEFB 000, 006, 030, 126, 030, 006, 000, 000
DEFB 000, 096, 120, 126, 120, 096, 000, 000
DEFB 062, 102, 110, 054, 000, 126, 000, 000
DEFB 060, 102, 102, 060, 000, 126, 000, 000
DEFB 060, 102, 102, 060, 000, 000, 000, 000
DEFB 060, 102, 096, 240, 096, 102, 252, 000
DEFB 124, 130, 186, 162, 186, 130, 124, 000
DEFB 126, 244, 244, 116, 020, 020, 062, 000
DEFB 028, 048, 060, 102, 060, 012, 056, 000
DEFB 195, 060, 102, 102, 060, 195, 000, 000
DEFB 064, 192, 068, 076, 020, 030, 004, 000
DEFB 064, 192, 076, 082, 004, 008, 030, 000
DEFB 192, 064, 196, 076, 212, 030, 004, 000
DEFB 000, 000, 102, 204, 102, 000, 000, 000
DEFB 000, 000, 204, 102, 204, 000, 000, 000
DEFB 000, 000, 000, 126, 006, 000, 000, 000
DEFB 024, 000, 024, 048, 102, 102, 060, 000
DEFB 024, 000, 024, 024, 060, 060, 024, 000
DEFB 024, 024, 024, 000, 024, 024, 024, 000
DEFB 024, 060, 102, 096, 102, 060, 024, 000
DEFB 102, 000, 000, 000, 000, 000, 000, 000
DEFB 012, 024, 000, 000, 000, 000, 000, 000
DEFB 000, 126, 000, 000, 000, 000, 000, 000
DEFB 000, 024, 126, 024, 000, 126, 000, 000
DEFB 060, 102, 024, 096, 126, 000, 000, 000
DEFB 060, 102, 012, 102, 060, 000, 000, 000
DEFB 000, 000, 102, 102, 102, 124, 096, 096
DEFB 000, 000, 000, 024, 000, 000, 000, 000
DEFB 060, 102, 108, 102, 102, 124, 096, 000
DEFB 000, 000, 000, 000, 000, 000, 024, 048
DEFB 012, 028, 060, 012, 012, 000, 000, 000
DEFB 102, 102, 060, 024, 060, 024, 024, 000
DEFB 124, 130, 178, 178, 170, 130, 124, 000
DEFB 234, 078, 074, 074, 074, 000, 000, 000
DEFB 012, 024, 060, 102, 126, 102, 102, 000
DEFB 012, 024, 126, 096, 120, 096, 126, 000
DEFB 012, 024, 126, 024, 024, 024, 126, 000
DEFB 012, 024, 060, 102, 102, 102, 060, 000
DEFB 012, 024, 102, 102, 102, 102, 060, 000
DEFB 024, 036, 060, 102, 126, 102, 102, 000
DEFB 024, 036, 126, 096, 120, 096, 126, 000
DEFB 024, 036, 126, 024, 024, 024, 126, 000
DEFB 024, 036, 060, 102, 102, 102, 060, 000
DEFB 024, 036, 102, 102, 102, 102, 060, 000
DEFB 048, 024, 060, 102, 126, 102, 102, 000
DEFB 048, 024, 126, 096, 120, 096, 126, 000
DEFB 048, 024, 126, 024, 024, 024, 126, 000
DEFB 048, 024, 060, 102, 102, 102, 060, 000
DEFB 048, 024, 102, 102, 102, 102, 060, 000
DEFB 124, 102, 102, 246, 102, 102, 124, 000
DEFB 102, 000, 060, 102, 126, 102, 102, 000
DEFB 102, 000, 126, 096, 120, 096, 126, 000
DEFB 102, 000, 126, 024, 024, 024, 126, 000
DEFB 102, 000, 060, 102, 102, 102, 060, 000
DEFB 102, 000, 102, 102, 102, 102, 060, 000
DEFB 060, 102, 096, 096, 096, 102, 060, 024
DEFB 238, 168, 168, 238, 168, 168, 174, 000
DEFB 024, 000, 060, 102, 126, 102, 102, 000
DEFB 002, 052, 074, 082, 034, 092, 128, 000
DEFB 126, 000, 102, 118, 110, 102, 102, 000
DEFB 054, 108, 060, 102, 126, 102, 102, 000
DEFB 054, 108, 060, 102, 102, 102, 060, 000
DEFB 000, 000, 102, 024, 102, 000, 000, 000
DEFB 006, 024, 102, 102, 060, 024, 024, 000
DEFB 120, 096, 124, 102, 124, 096, 120, 000
DEFB 054, 108, 006, 060, 102, 102, 060, 000
DEFB 012, 024, 060, 102, 102, 110, 054, 000
DEFB 012, 024, 060, 102, 126, 096, 062, 000
DEFB 012, 024, 120, 024, 024, 024, 126, 000
DEFB 012, 024, 060, 102, 102, 102, 060, 000
DEFB 012, 024, 102, 102, 102, 110, 054, 000
DEFB 024, 036, 060, 102, 102, 110, 054, 000
DEFB 024, 036, 060, 102, 126, 096, 062, 000
DEFB 024, 036, 120, 024, 024, 024, 126, 000
DEFB 024, 036, 060, 102, 102, 102, 060, 000
DEFB 024, 036, 102, 102, 102, 110, 054, 000
DEFB 048, 024, 060, 102, 102, 110, 054, 000
DEFB 048, 024, 060, 102, 126, 096, 062, 000
DEFB 048, 024, 120, 024, 024, 024, 126, 000
DEFB 048, 024, 060, 102, 102, 102, 060, 000
DEFB 048, 024, 102, 102, 102, 110, 054, 000
DEFB 102, 000, 102, 102, 062, 006, 006, 124
DEFB 102, 000, 060, 102, 102, 110, 054, 000
DEFB 102, 000, 060, 102, 126, 096, 062, 000
DEFB 102, 000, 120, 024, 024, 024, 126, 000
DEFB 102, 000, 060, 102, 102, 102, 060, 000
DEFB 102, 000, 102, 102, 102, 110, 054, 000
DEFB 000, 000, 060, 102, 096, 102, 060, 024
DEFB 000, 000, 238, 170, 174, 232, 046, 000
DEFB 024, 000, 060, 102, 102, 110, 054, 000
DEFB 002, 004, 052, 074, 082, 044, 064, 000
DEFB 126, 000, 108, 118, 102, 102, 102, 000
DEFB 054, 108, 060, 102, 102, 110, 054, 000
DEFB 054, 108, 060, 102, 102, 102, 060, 000
DEFB 000, 024, 000, 126, 000, 024, 000, 000
DEFB 012, 024, 102, 102, 062, 006, 006, 124
DEFB 096, 096, 124, 102, 124, 096, 120, 000
DEFB 000, 000, 000, 000, 000, 000, 000, 000
img_2048
DEFB 000, 000, 003, 015
DEFB 014, 000, 000, 000, 000, 000, 255, 255
DEFB 007, 003, 007, 015, 000, 000, 128, 192
DEFB 225, 227, 195, 131, 000, 000, 127, 255
DEFB 240, 224, 224, 224, 000, 000, 240, 248
DEFB 124, 062, 062, 062, 000, 000, 001, 003
DEFB 007, 015, 030, 060, 000, 000, 254, 254
DEFB 190, 062, 062, 062, 000, 000, 001, 007
DEFB 015, 015, 007, 000, 000, 000, 255, 255
DEFB 193, 128, 227, 127, 000, 000, 192, 240
DEFB 248, 248, 240, 128, 000, 000, 003, 015
DEFB 015, 000, 000, 000, 062, 248, 224, 255
DEFB 255, 000, 000, 000, 003, 003, 001, 240
DEFB 240, 000, 000, 000, 224, 224, 240, 255
DEFB 127, 000, 000, 000, 062, 062, 124, 248
DEFB 240, 000, 000, 000, 120, 127, 127, 000
DEFB 000, 000, 000, 000, 062, 255, 255, 062
DEFB 062, 000, 000, 000, 007, 207, 207, 007
DEFB 001, 000, 000, 000, 227, 128, 193, 255
DEFB 255, 000, 000, 000, 240, 248, 248, 240
DEFB 192, 000, 000, 000
img_empty
DEFB 192, 010, 021, 042
DEFB 021, 042, 021, 042, 000, 170, 085, 170
DEFB 085, 170, 085, 170, 000, 170, 085, 170
DEFB 085, 170, 085, 170, 000, 170, 085, 170
DEFB 085, 170, 085, 170, 000, 170, 085, 170
DEFB 085, 170, 085, 170, 015, 131, 083, 163
DEFB 083, 163, 083, 163, 021, 042, 021, 042
DEFB 021, 042, 021, 042, 085, 170, 085, 170
DEFB 085, 170, 085, 170, 085, 170, 085, 170
DEFB 085, 170, 085, 170, 085, 170, 085, 170
DEFB 085, 170, 085, 170, 085, 170, 085, 170
DEFB 085, 170, 085, 170, 083, 163, 083, 163
DEFB 083, 163, 083, 163, 021, 042, 021, 042
DEFB 021, 010, 192, 255, 085, 170, 085, 170
DEFB 085, 170, 000, 255, 085, 170, 085, 170
DEFB 085, 170, 000, 255, 085, 170, 085, 170
DEFB 085, 170, 000, 255, 085, 170, 085, 170
DEFB 085, 170, 000, 255, 083, 163, 083, 163
DEFB 083, 131, 015, 255
img_number
DEFB 192, 015, 048, 051
DEFB 051, 051, 051, 051, 000, 255, 000, 255
DEFB 255, 255, 255, 255, 000, 255, 000, 255
DEFB 255, 255, 255, 255, 000, 255, 000, 255
DEFB 255, 255, 255, 255, 000, 255, 000, 255
DEFB 255, 255, 255, 255, 015, 195, 019, 035
DEFB 019, 035, 019, 035, 051, 051, 051, 051
DEFB 051, 051, 051, 051, 255, 255, 255, 255
DEFB 255, 255, 255, 255, 255, 255, 255, 255
DEFB 255, 255, 255, 255, 255, 255, 255, 255
DEFB 255, 255, 255, 255, 255, 255, 255, 255
DEFB 255, 255, 255, 255, 019, 035, 019, 035
DEFB 019, 035, 019, 035, 051, 051, 051, 051
DEFB 048, 010, 192, 255, 255, 255, 255, 255
DEFB 000, 170, 000, 255, 255, 255, 255, 255
DEFB 000, 170, 000, 255, 255, 255, 255, 255
DEFB 000, 170, 000, 255, 255, 255, 255, 255
DEFB 000, 170, 000, 255, 019, 035, 019, 035
DEFB 019, 131, 015, 255
#endasm