From 77e9ed795ff8e692711f5732cf283504a9bd02bd Mon Sep 17 00:00:00 2001 From: "K.Ohta" Date: Sun, 31 Jan 2021 23:26:23 +0900 Subject: [PATCH] [VM][PC8801] Merge Upstream 2020-12-31. --- source/history.txt | 5 +++++ source/src/vm/pc8801/pc88.cpp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/source/history.txt b/source/history.txt index b87622bed..93bdccce7 100644 --- a/source/history.txt +++ b/source/history.txt @@ -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 diff --git a/source/src/vm/pc8801/pc88.cpp b/source/src/vm/pc8801/pc88.cpp index 7fc810b51..1e451b423 100644 --- a/source/src/vm/pc8801/pc88.cpp +++ b/source/src/vm/pc8801/pc88.cpp @@ -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 -- 2.11.0