1.1 --- a/include/display_config.h Sat Nov 03 16:42:17 2018 +0100
1.2 +++ b/include/display_config.h Sat Nov 03 21:47:40 2018 +0100
1.3 @@ -24,30 +24,13 @@
1.4 #include "display.h"
1.5 #include "vga.h"
1.6
1.7 -/* Reserve enough space for a screen, plus one line to allow horizontal
1.8 - scrolling, since a horizontal scroll offset causes the final transfer line to
1.9 - exceed the screen limit. */
1.10 -
1.11 -uint8_t framebuffer[SCREEN_SIZE + LINE_LENGTH];
1.12 -
1.13 -
1.14 -
1.15 /* Define a structure containing the display parameters. */
1.16
1.17 display_config_t display_config = {
1.18
1.19 - /* Set the reserved memory as the framebuffer. */
1.20 -
1.21 - .framebuffer = framebuffer,
1.22 - .screen_start = framebuffer,
1.23 - .screen_limit = framebuffer + SCREEN_SIZE,
1.24 + /* Define display properties. */
1.25
1.26 - /* Define screen dimensions and properties. */
1.27 -
1.28 - .screen_size = SCREEN_SIZE,
1.29 - .line_length = LINE_LENGTH,
1.30 - .line_count = LINE_COUNT,
1.31 - .line_multiplier = LINE_MULTIPLIER,
1.32 + .scanlines = SCANLINES,
1.33 .cell_size = CELL_SIZE,
1.34 .transfer_cell_size = TRANSFER_CELL_SIZE,
1.35