1.1 --- a/include/display_config.h Tue Oct 30 23:59:17 2018 +0100
1.2 +++ b/include/display_config.h Tue Oct 30 23:59:47 2018 +0100
1.3 @@ -24,7 +24,15 @@
1.4 #include "display.h"
1.5 #include "vga.h"
1.6
1.7 -uint8_t framebuffer[SCREEN_SIZE];
1.8 +/* Reserve enough space for a screen, plus one line to allow horizontal
1.9 + scrolling, since a horizontal scroll offset causes the final transfer line to
1.10 + exceed the screen limit. */
1.11 +
1.12 +uint8_t framebuffer[SCREEN_SIZE + LINE_LENGTH];
1.13 +
1.14 +
1.15 +
1.16 +/* Define a structure containing the display parameters. */
1.17
1.18 display_config_t display_config = {
1.19