1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-06-18 14:29:32 +00:00

configure VGA resolution

This commit is contained in:
steve 2023-08-30 09:59:31 +01:00
parent a3bf065d6e
commit 2273388b06
2 changed files with 5 additions and 1 deletions

View File

@ -92,7 +92,7 @@ void Display::begin(colour_t bg, colour_t fg, orientation_t orient) {
vga.end();
init = true;
vga.begin();
vga.setResolution(VGA_480x300_75Hz);
vga.setResolution(VGA_RESOLUTION);
canvas.setBrushColor(rgb(_bg));
canvas.clear();

View File

@ -3,6 +3,10 @@
// Display
#define USE_VGA
#if !defined(VGA_RESOLUTION)
#define VGA_RESOLUTION VGA_480x300_75Hz
//#define VGA_RESOLUTION VGA_320x200_75HzRetro
#endif
// PS/2 Keyboard
#define USE_KBD