Commit 62c1df93f6085b2f5ab38d653d62cbe177db6c95
1 parent
e5b39b1e
Changes by L. Starzak from 2020.05.21
Showing
1 changed file
with
4 additions
and
4 deletions
hw/at91_pio.c
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | #define DPRINTF(fmt, ...) do { } while (0) | 30 | #define DPRINTF(fmt, ...) do { } while (0) |
| 31 | 31 | ||
| 32 | /* Segment Display */ | 32 | /* Segment Display */ |
| 33 | -#define SEGTOP // displayed at the top of the terminal window | 33 | +//#define SEGTOP // displayed at the top of the terminal window |
| 34 | #define SEGPUTCHAR(com, pin, offset, symb) \ | 34 | #define SEGPUTCHAR(com, pin, offset, symb) \ |
| 35 | if (!(s->odsr & (1 << com)) && (s->odsr & (1 << pin))) segline[offset] = symb | 35 | if (!(s->odsr & (1 << com)) && (s->odsr & (1 << pin))) segline[offset] = symb |
| 36 | #ifdef SEGTOP | 36 | #ifdef SEGTOP |
| @@ -350,7 +350,7 @@ static void at91_pio_mem_write(void *opaque, target_phys_addr_t offset, | @@ -350,7 +350,7 @@ static void at91_pio_mem_write(void *opaque, target_phys_addr_t offset, | ||
| 350 | } | 350 | } |
| 351 | if (segdisp_refresh) | 351 | if (segdisp_refresh) |
| 352 | { | 352 | { |
| 353 | - // printf("Segment display changed\n"); | 353 | + //printf("Segment display changed \n"); |
| 354 | char segline[12]; | 354 | char segline[12]; |
| 355 | int ln; | 355 | int ln; |
| 356 | 356 | ||
| @@ -359,7 +359,7 @@ static void at91_pio_mem_write(void *opaque, target_phys_addr_t offset, | @@ -359,7 +359,7 @@ static void at91_pio_mem_write(void *opaque, target_phys_addr_t offset, | ||
| 359 | #else | 359 | #else |
| 360 | printf("\n"); | 360 | printf("\n"); |
| 361 | #endif | 361 | #endif |
| 362 | - printf("\x1B[91m"); | 362 | + // printf("\x1B[91m"); |
| 363 | 363 | ||
| 364 | strcpy(segline, " "); | 364 | strcpy(segline, " "); |
| 365 | ln = 1; | 365 | ln = 1; |
| @@ -416,7 +416,7 @@ static void at91_pio_mem_write(void *opaque, target_phys_addr_t offset, | @@ -416,7 +416,7 @@ static void at91_pio_mem_write(void *opaque, target_phys_addr_t offset, | ||
| 416 | #else | 416 | #else |
| 417 | printf("\x1B[8A"); | 417 | printf("\x1B[8A"); |
| 418 | #endif | 418 | #endif |
| 419 | - printf("\x1B[0m"); | 419 | + // printf("\x1B[0m"); |
| 420 | fflush(stdout); | 420 | fflush(stdout); |
| 421 | } | 421 | } |
| 422 | } | 422 | } |