From 12518ecbdaf304cd7c1303d232d353a394b125e0 Mon Sep 17 00:00:00 2001 From: "K.Ohta" Date: Mon, 18 Jan 2016 01:49:51 +0900 Subject: [PATCH] [VM][Draw][Qt] Add 4:3 screen to MZ80K/C/1200/1500 , PC8801, X1. --- source/src/vm/mz80k/mz80k.h | 1 + source/src/vm/pc8801/pc8801.h | 1 + source/src/vm/tk80bs/display.cpp | 2 +- source/src/vm/x1/x1.h | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/source/src/vm/mz80k/mz80k.h b/source/src/vm/mz80k/mz80k.h index 5e9f93a80..1a59d3040 100644 --- a/source/src/vm/mz80k/mz80k.h +++ b/source/src/vm/mz80k/mz80k.h @@ -70,6 +70,7 @@ #if defined(_MZ80K) #define USE_MONITOR_TYPE 2 #endif +#define USE_CRT_MONITOR_4_3 1 #include "../../common.h" #include "../../fileio.h" diff --git a/source/src/vm/pc8801/pc8801.h b/source/src/vm/pc8801/pc8801.h index bddb20e56..1c0cc64cc 100644 --- a/source/src/vm/pc8801/pc8801.h +++ b/source/src/vm/pc8801/pc8801.h @@ -111,6 +111,7 @@ #define USE_STATE #define USE_MOUSE #define USE_JOYSTICK +#define USE_CRT_MONITOR_4_3 1 #include "../../common.h" #include "../../fileio.h" diff --git a/source/src/vm/tk80bs/display.cpp b/source/src/vm/tk80bs/display.cpp index 0819f8c97..d4a3e2070 100644 --- a/source/src/vm/tk80bs/display.cpp +++ b/source/src/vm/tk80bs/display.cpp @@ -89,7 +89,7 @@ void DISPLAY::draw_screen() // scrntype color_w = (mode & 2) ? RGB_COLOR(255, 255, 255) : 0; // scrntype color_b = (mode & 2) ? 0 : RGB_COLOR(255, 255, 255); scrntype color_w = (mode & 2) ? RGB_COLOR(255, 255, 255) : RGB_COLOR(0, 0, 0); - scrntype color_b = (mode & 2) ? RGB_COLOR(0, 0, 0) : RGB_COLOR(255, 255, 255); + scrntype color_b = (mode & 2) ? RGB_COLOR(1, 1, 1) : RGB_COLOR(255, 255, 255); int code_ofs = (mode & 1) << 8; int ptr = 0; diff --git a/source/src/vm/x1/x1.h b/source/src/vm/x1/x1.h index 5ec6aaa7f..593fd2b82 100644 --- a/source/src/vm/x1/x1.h +++ b/source/src/vm/x1/x1.h @@ -114,6 +114,8 @@ #define USE_MOUSE #define USE_KEYBOARD #define USE_JOYSTICK +#define USE_CRT_MONITOR_4_3 1 + #include "../../common.h" #include "../../fileio.h" -- 2.11.0