mirror of
https://github.com/jscrane/r65emu.git
synced 2024-12-22 03:30:02 +00:00
configure VGA resolution
This commit is contained in:
parent
a3bf065d6e
commit
2273388b06
@ -92,7 +92,7 @@ void Display::begin(colour_t bg, colour_t fg, orientation_t orient) {
|
|||||||
vga.end();
|
vga.end();
|
||||||
init = true;
|
init = true;
|
||||||
vga.begin();
|
vga.begin();
|
||||||
vga.setResolution(VGA_480x300_75Hz);
|
vga.setResolution(VGA_RESOLUTION);
|
||||||
|
|
||||||
canvas.setBrushColor(rgb(_bg));
|
canvas.setBrushColor(rgb(_bg));
|
||||||
canvas.clear();
|
canvas.clear();
|
||||||
|
@ -3,6 +3,10 @@
|
|||||||
|
|
||||||
// Display
|
// Display
|
||||||
#define USE_VGA
|
#define USE_VGA
|
||||||
|
#if !defined(VGA_RESOLUTION)
|
||||||
|
#define VGA_RESOLUTION VGA_480x300_75Hz
|
||||||
|
//#define VGA_RESOLUTION VGA_320x200_75HzRetro
|
||||||
|
#endif
|
||||||
|
|
||||||
// PS/2 Keyboard
|
// PS/2 Keyboard
|
||||||
#define USE_KBD
|
#define USE_KBD
|
||||||
|
Loading…
Reference in New Issue
Block a user