# HG changeset patch # User Paul Boddie # Date 1541342773 -3600 # Node ID 9d30c6982e8d975ae4a35da8f59c67745f7ae084 # Parent ac56affd799c8b77c66051fc056449a5e2898578 Fixed erroneous frame size definitions. diff -r ac56affd799c -r 9d30c6982e8d examples/vga-cpu/vga.h --- a/examples/vga-cpu/vga.h Sun Nov 04 01:04:06 2018 +0100 +++ b/examples/vga-cpu/vga.h Sun Nov 04 15:46:13 2018 +0100 @@ -41,7 +41,7 @@ since a horizontal scroll offset causes the final transfer line to exceed the screen limit. */ -#define FRAME_SIZE (SCREEN_SIZE + LINE_COUNT) +#define FRAME_SIZE (SCREEN_SIZE + LINE_LENGTH) /* Transfer and pixel allocation properties. */ diff -r ac56affd799c -r 9d30c6982e8d examples/vga-dual/vga.h --- a/examples/vga-dual/vga.h Sun Nov 04 01:04:06 2018 +0100 +++ b/examples/vga-dual/vga.h Sun Nov 04 15:46:13 2018 +0100 @@ -41,7 +41,7 @@ since a horizontal scroll offset causes the final transfer line to exceed the screen limit. */ -#define FRAME_SIZE (SCREEN_SIZE + LINE_COUNT) +#define FRAME_SIZE (SCREEN_SIZE + LINE_LENGTH) /* Transfer and pixel allocation properties. */ diff -r ac56affd799c -r 9d30c6982e8d examples/vga-pmp/vga.h --- a/examples/vga-pmp/vga.h Sun Nov 04 01:04:06 2018 +0100 +++ b/examples/vga-pmp/vga.h Sun Nov 04 15:46:13 2018 +0100 @@ -41,7 +41,7 @@ since a horizontal scroll offset causes the final transfer line to exceed the screen limit. */ -#define FRAME_SIZE (SCREEN_SIZE + LINE_COUNT) +#define FRAME_SIZE (SCREEN_SIZE + LINE_LENGTH) /* Transfer and pixel allocation properties. */ diff -r ac56affd799c -r 9d30c6982e8d examples/vga-timer/vga.h --- a/examples/vga-timer/vga.h Sun Nov 04 01:04:06 2018 +0100 +++ b/examples/vga-timer/vga.h Sun Nov 04 15:46:13 2018 +0100 @@ -23,7 +23,7 @@ #include "vga_common.h" #define LINE_LENGTH 92 /* pixels */ -#define LINE_COUNT 128 /* distinct display lines */ +#define LINE_COUNT 128 /* display lines per frame */ #define FRAME_COUNT 1 /* double-buffered display */ /* 24MHz cycle measurements. */ @@ -41,7 +41,7 @@ since a horizontal scroll offset causes the final transfer line to exceed the screen limit. */ -#define FRAME_SIZE (SCREEN_SIZE + LINE_COUNT) +#define FRAME_SIZE (SCREEN_SIZE + LINE_LENGTH) /* Transfer and pixel allocation properties. */ diff -r ac56affd799c -r 9d30c6982e8d examples/vga/vga.h --- a/examples/vga/vga.h Sun Nov 04 01:04:06 2018 +0100 +++ b/examples/vga/vga.h Sun Nov 04 15:46:13 2018 +0100 @@ -41,7 +41,7 @@ since a horizontal scroll offset causes the final transfer line to exceed the screen limit. */ -#define FRAME_SIZE (SCREEN_SIZE + LINE_COUNT) +#define FRAME_SIZE (SCREEN_SIZE + LINE_LENGTH) /* Transfer and pixel allocation properties. */