OSDN Git Service

[VM][Draw][Qt] Add 4:3 screen to MZ80K/C/1200/1500 , PC8801, X1.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 17 Jan 2016 16:49:51 +0000 (01:49 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 17 Jan 2016 16:49:51 +0000 (01:49 +0900)
source/src/vm/mz80k/mz80k.h
source/src/vm/pc8801/pc8801.h
source/src/vm/tk80bs/display.cpp
source/src/vm/x1/x1.h

index 5e9f93a..1a59d30 100644 (file)
@@ -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"
index bddb20e..1c0cc64 100644 (file)
 #define USE_STATE
 #define USE_MOUSE
 #define USE_JOYSTICK
+#define USE_CRT_MONITOR_4_3 1
 
 #include "../../common.h"
 #include "../../fileio.h"
index 0819f8c..d4a3e20 100644 (file)
@@ -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;
        
index 5ec6aaa..593fd2b 100644 (file)
 #define USE_MOUSE
 #define USE_KEYBOARD
 #define USE_JOYSTICK
+#define USE_CRT_MONITOR_4_3 1
+
 
 #include "../../common.h"
 #include "../../fileio.h"