1.1 --- a/examples/vga/vga.h Tue Oct 23 00:36:31 2018 +0200
1.2 +++ b/examples/vga/vga.h Tue Oct 23 00:38:01 2018 +0200
1.3 @@ -45,11 +45,9 @@
1.4
1.5 #define VSYNC_END 622
1.6
1.7 -#define SCREEN_BASE 256
1.8 -#define SCREEN_SIZE (40 * 1024)
1.9 -#define SCREEN_LIMIT (SCREEN_BASE + SCREEN_SIZE)
1.10 +/* Framebuffer properties. */
1.11
1.12 -#define SCREEN_BASE_KSEG0 (KSEG0_BASE + SCREEN_BASE)
1.13 -#define SCREEN_LIMIT_KSEG0 (KSEG0_BASE + SCREEN_LIMIT)
1.14 +#define SCREEN_SIZE (LINE_LENGTH * LINE_COUNT)
1.15 +#define LINE_MULTIPLIER 2
1.16
1.17 #endif /* __VGA_H__ */