1.1 --- a/include/vga_display.h Sat Nov 03 14:05:05 2018 +0100
1.2 +++ b/include/vga_display.h Sat Nov 03 16:42:17 2018 +0100
1.3 @@ -50,9 +50,13 @@
1.4
1.5 uint32_t line;
1.6
1.7 - /* Pointers to pixel lines. */
1.8 + /* Screen start address, frame limit, current pixel line. */
1.9 +
1.10 + uint8_t *screen_start, *screen_limit, *linedata;
1.11
1.12 - uint8_t *linedata;
1.13 + /* Screen size, used to wrap the current line pointer. */
1.14 +
1.15 + uint32_t screen_size;
1.16
1.17 /* General display configuration. */
1.18
1.19 @@ -84,6 +88,10 @@
1.20 void vga_configure_zero_channel(int channel, int int_num, int initiating,
1.21 uint32_t output);
1.22
1.23 +/* Frame selection. */
1.24 +
1.25 +void vga_set_frame(display_config_t *display_config);
1.26 +
1.27 /* Interrupt handlers. */
1.28
1.29 void vga_interrupt_handler(void);