Skip to content

Commit 9dcf9ca

Browse files
Flashing star
1 parent 4fa77c1 commit 9dcf9ca

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

demos/generic_multiplexer/many_flakes2_test.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ unsigned cycle = 1;
229229
#define XTREE_LIGHT_4 (COLOR+TREE_LEVEL(1)+1)
230230
#define XTREE_LIGHT_5 (COLOR+TREE_LEVEL(1)+2)
231231

232+
#define MULTICOLOR_1 0xD025
233+
#define MULTICOLOR_2 0xD026
234+
232235
// $D018 = 53272
233236
// -----------------
234237
void init_udg(void)
@@ -284,7 +287,7 @@ void color_change(void)
284287
POKE(XTREE_LIGHT_3,MULTI_COLOR_BIT+RED+((j+2)&3));
285288
POKE(XTREE_LIGHT_4,MULTI_COLOR_BIT+RED+((j+3)&3));
286289
POKE(XTREE_LIGHT_5,MULTI_COLOR_BIT+RED+((j)&3));
287-
290+
POKE(MULTI_CHAR_COLOR_1,MULTI_COLOR_BIT+6+(j&1));
288291
}
289292

290293

@@ -334,8 +337,6 @@ void restore_text_row(void)
334337

335338
#define REINDEER (- 'A' + 1 + 'Z' + 8)
336339

337-
#define MULTICOLOR_1 0xD025
338-
#define MULTICOLOR_2 0xD026
339340

340341
// Characters for flashing stars
341342
#define BIG_FLASHING_STAR 0

0 commit comments

Comments
 (0)