Revision 240
weird things
proj.c | ||
---|---|---|
54 | 54 |
int r; |
55 | 55 |
|
56 | 56 |
#ifdef DIOGO |
57 |
/* |
|
58 | 57 |
uint8_t conf; |
59 |
if((r = util_sys_inb(0x3F8+3, &conf))) return 1; //printf("0x%02X\n", conf);
|
|
58 |
if((r = util_sys_inb(0x3F8+3, &conf))) return 1; printf("0x%02X\n", conf); |
|
60 | 59 |
conf = 0x19; //00011001 |
61 |
//printf("0x%02X\n", conf);
|
|
60 |
printf("0x%02X\n", conf); |
|
62 | 61 |
if((r = sys_outb(0x3F8+3, conf))) return 1; |
63 |
if((r = util_sys_inb(0x3F8+3, &conf))) return 1; //printf("0x%02X\n", conf); |
|
64 |
*/ |
|
62 |
uint8_t s; |
|
63 |
if((r = util_sys_inb(0x3F8+3, &s))) return 1; printf("S: 0x%02X\n", s); |
|
64 |
return 0; |
|
65 |
|
|
65 | 66 |
#endif |
66 | 67 |
|
67 | 68 |
font_t *consolas = font_ctor("/home/lcom/labs/proj/media/font/Consolas/xpm2"); |
... | ... | |
231 | 232 |
#ifdef TELMO |
232 | 233 |
if (i == 0) { |
233 | 234 |
if (no_interrupts % refresh_count_value == 0) { |
234 |
//update_movement(map1, shooter_list);
|
|
235 |
update_movement(map1, shooter1, shooter2);
|
|
235 | 236 |
//bullet_update_movement(bullet); |
236 | 237 |
|
237 | 238 |
if (no_interrupts % 180 == 0) gunner_set_pos(shooter2, 775, 75); |
Also available in: Unified diff