blabla
vga640x400.h@8:6e362b7be26b, 2019-06-13 (annotated)
- Committer:
- yokoland95
- Date:
- Thu Jun 13 15:54:58 2019 +0000
- Revision:
- 8:6e362b7be26b
- Parent:
- 0:78fa88bb24cb
projet
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Ivop | 0:78fa88bb24cb | 1 | #ifndef VGA640X400_H |
Ivop | 0:78fa88bb24cb | 2 | #define VGA640X400_H |
Ivop | 0:78fa88bb24cb | 3 | |
Ivop | 0:78fa88bb24cb | 4 | extern unsigned char text_buffer[80*25]; |
Ivop | 0:78fa88bb24cb | 5 | extern unsigned char *font; |
Ivop | 0:78fa88bb24cb | 6 | |
Ivop | 0:78fa88bb24cb | 7 | // Always call this as the very first thing in your application |
Ivop | 0:78fa88bb24cb | 8 | // as it resets the CPU clock to 100MHz. It also resets UART0 |
Ivop | 0:78fa88bb24cb | 9 | // to 9600 baud with the new clock. All other peripherals are off |
Ivop | 0:78fa88bb24cb | 10 | // after a call to init_vga() |
Ivop | 0:78fa88bb24cb | 11 | |
Ivop | 0:78fa88bb24cb | 12 | void init_vga(void); |
yokoland95 | 8:6e362b7be26b | 13 | //static void state_after_vsync(void); |
yokoland95 | 8:6e362b7be26b | 14 | |
yokoland95 | 8:6e362b7be26b | 15 | void clear_buffer(void); |
Ivop | 0:78fa88bb24cb | 16 | |
Ivop | 0:78fa88bb24cb | 17 | #endif |