89a90,106 > const int stardots[8] = { > -60, 10, > 71, 50, > 57, -69, > -66,-61, > }; > > int rotated[8]; > > static inline void scale(unsigned int scalefac) {/*VIA_t1_cnt_lo*/ *(volatile unsigned int *)0xD004 = scalefac;} > static inline void rotate(unsigned int angle, unsigned int points, const int *original, int *rotated) > { > *(volatile unsigned int *)0xC836 = angle; > *(volatile unsigned int *)0xC823 = points-1; > Rot_VL((int *)original, rotated); > } > 324c341,342 < unsigned8 i, star; --- > unsigned8 star; > int i; 328,331c346,347 < for (i = 0U; i < speed; i++) { < for (star = 0U; star < 16U; star++) { < move_star(star); < } --- > for (star = 0U; star < 16U; star++) { > for (i = 0U; i < speed; i++) move_star(star); 345a362,394 > > { > int angle=63, sc = (int)0xFF; > for (;;) { > for (i = 0; i < 0x30; i++) { > Wait_Recal(); > *(volatile char *)0xC823 = 3; > Intensity_a(((unsigned int)sc-(unsigned int)0xBF)/2U); > scale((unsigned int)sc-(unsigned int)0xBF); > Dot_List((void *)stardots); Reset0Ref(); > > rotate((unsigned int)((angle+11)&63), (unsigned int)4, stardots, rotated); > *(volatile char *)0xC823 = 3; > Intensity_a(((unsigned int)sc-(unsigned int)0x7F)/2U); > scale((unsigned int)sc-(unsigned int)0x7F); > Dot_List((void *)rotated); Reset0Ref(); > > rotate((unsigned int)((angle+14)&63), (unsigned int)4, stardots, rotated); > *(volatile char *)0xC823 = 3; > Intensity_a(((unsigned int)sc-(unsigned int)0x3F)/2U); > scale((unsigned int)sc-(unsigned int)0x3F); > Dot_List((void *)rotated); Reset0Ref(); > > rotate((unsigned int)((angle+4)&63), (unsigned int)4, stardots, rotated); > *(volatile char *)0xC823 = 3; > scale((unsigned int)sc); > Intensity_a(((unsigned int)sc)/2U); > Dot_List((void *)rotated); > sc -= 4; > }; > } > } >