OSDN Git Service

[VM][PC8801] Merge Upstream 2020-12-31.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 31 Jan 2021 14:26:23 +0000 (23:26 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Sun, 31 Jan 2021 14:26:23 +0000 (23:26 +0900)
source/history.txt
source/src/vm/pc8801/pc88.cpp

index b87622b..93bdccc 100644 (file)
@@ -1,3 +1,8 @@
+12/31/2020
+
+[PC8801/PC88] improve crtc to refer reverse setting in start display command
+
+
 12/21/2020
 
 [VM/SCSI_CDROM] fix start frame of CD-DA playing when track number is specified
index 7fc810b..1e451b4 100644 (file)
@@ -3002,7 +3002,7 @@ void PC88::draw_text()
                                crtc.text.expand[cy][cx] = buffer[ofs + cx];
                        }
                }
-               crtc.attrib.data = 0xe0; // Misty Blue
+               crtc.attrib.data = 0xe0 | crtc.reverse; // Misty Blue
                
                if(crtc.mode & 4) {
                        // non transparent
@@ -3838,7 +3838,7 @@ void pc88_crtc_t::expand_buffer(bool hireso, bool line400)
 //                     goto underrun;
                }
        }
-       attrib.data = 0xe0; // Misty Blue
+       attrib.data = 0xe0 | reverse; // Misty Blue
        
        if(mode & 4) {
                // non transparent