1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2025-04-21 12:27:27 +03:00

ubb-vga: test image now shows detailed horizontal and vertical timing

- ubb-vga.c (CYCLES), ubb-vga.h: corrected conversion and moved to
  ubb-vga.h
- tstimg.c (printc): added characters '=' and '+'
- tstimg.c (tstimg): print detailed horizontal and vertical timing
This commit is contained in:
Werner Almesberger
2011-05-01 21:50:20 -03:00
parent 4b59dbf062
commit 9412c9debe
3 changed files with 25 additions and 4 deletions

View File

@@ -452,8 +452,6 @@ int main(int argc, char *const *argv)
}
#if 0
#define CYCLES(cy) ((cy)/112.0+0.5)
printf("V: %d+%d+%d+%d\n", mode->vsync_lines, mode->vfront_lines,
mode->yres, mode->vback_lines);
printf("H: %4.1f+?+?+%4.1f (%4.1f)\n", CYCLES(mode->hsync_cycles),